class
RMessageSystemA message system class that handles message posting and adding.
Contents
Public static variables
- static RMessageBus m_MessageBus
- The message bus, common to all message systems.
Public static functions
- static void addMessage(RMasterComponent* receiver, std::string command, var data = NULL)
- Adds a message to the message queue.
Public functions
- void evaluateMessages()
- Pops messages from the message queue and sends them to their respective destinations.
Function documentation
static void Rubeus:: RMessageSystem:: addMessage(RMasterComponent* receiver,
std::string command,
var data = NULL)
Adds a message to the message queue.
Parameters | |
---|---|
receiver | Pointer to the receiver. |
command | Type of message command. |
data | The data object to be sent. See 'var' typedef for transmittable data |
void Rubeus:: RMessageSystem:: evaluateMessages()
Pops messages from the message queue and sends them to their respective destinations.