Telegram Class Reference
#include <Telegram.h>
![](../class_telegram.png)
# Public Member Functions | |
void | constructor (void *sender, void *receiver, int32 message, void *extraInfo) |
void * | getSender () |
void * | getReceiver () |
int32 | getMessage () |
void * | getExtraInfo () |
# Protected Attributes | |
int32 | message |
The message's code. | |
void * | extraInfo |
Additional information that may accompany the message. | |
void * | sender |
The object that sends the message. | |
void * | receiver |
The object that receives the message. |
# Additional Inherited Members | |
![]() | |
void | constructor () |
Class' constructor. | |
const void * | getVTable () |
bool | mutateTo (const void *targetClass) |
![]() | |
static Object | getCast (void *object, ClassPointer targetClassGetClassMethod, ClassPointer baseClassGetClassMethod) |
![]() | |
void * | vTable |
Pointer to the class's virtual table. |
# Detailed Description
Class Telegram
Inherits from Object
Wraps a message to be sent to an Object.
Definition at line 28 of file Telegram.h.
# Member Function Documentation
# constructor()
void Telegram::constructor | ( | void * | sender, |
void * | receiver, | ||
int32 | message, | ||
void * | extraInfo ) |
Class' constructor
- Parameters
-
sender The object that sends the message receiver The object that sends the message message The message's code extraInfo Additional information that may accompany the message
Definition at line 22 of file Telegram.c.
# getExtraInfo()
void * Telegram::getExtraInfo | ( | ) |
Retrieve the Telegram's sender.
- Returns
- Additional information that may accompany the message
Definition at line 71 of file Telegram.c.
# getMessage()
int32 Telegram::getMessage | ( | ) |
Retrieve the Telegram's message code.
- Returns
- The message's code
Definition at line 64 of file Telegram.c.
# getReceiver()
void * Telegram::getReceiver | ( | ) |
Retrieve the Telegram's receiver.
- Returns
- Pointer to the object that receives the message
Definition at line 57 of file Telegram.c.
# getSender()
void * Telegram::getSender | ( | ) |
Retrieve the Telegram's sender.
- Returns
- Pointer to the object that sent the message
Definition at line 50 of file Telegram.c.
# Member Data Documentation
# extraInfo
|
protected |
Additional information that may accompany the message.
Definition at line 36 of file Telegram.h.
# message
|
protected |
The message's code.
Definition at line 33 of file Telegram.h.
# receiver
|
protected |
The object that receives the message.
Definition at line 42 of file Telegram.h.
# sender
|
protected |
The object that sends the message.
Definition at line 39 of file Telegram.h.
The documentation for this class was generated from the following files:
- VUEngine-Core/source/Misc/Messaging/Telegram.h
- VUEngine-Core/source/Misc/Messaging/Telegram.c