Central controller for messaging between subsystems and subsystems of different clients.
More...
#include <D:/Projekte/i6engine/libs/i6engine-core/include/i6engine/core/messaging/MessagingController.h>
Central controller for messaging between subsystems and subsystems of different clients.
Definition at line 85 of file MessagingController.h.
i6e::core::MessagingController::MessagingController |
( |
| ) |
|
i6e::core::MessagingController::~MessagingController |
( |
| ) |
|
void i6e::core::MessagingController::clear |
( |
| ) |
|
removes all messages in buffer
void i6e::core::MessagingController::deliverMessage |
( |
const Message::Ptr & |
msg | ) |
|
This method sends a message.
- Parameters
-
void i6e::core::MessagingController::registerMessageType |
( |
uint16_t |
messageType, |
|
|
MessageSubscriber * |
objMessageSubscriber |
|
) |
| |
This method registers a message type with the given message subscriber and the given Method. It is normally called via the macro ISIXE_REGISTERMESSAGETYPE.
- Parameters
-
strMessageType | Name of the new message type. |
objMessageSubscriber | The new receiver of messages of the given type (should be the caller by itself). |
bolNetworking | Flag if the message type should sent over the network. |
void i6e::core::MessagingController::unregisterMessageType |
( |
uint16_t |
messageType, |
|
|
MessageSubscriber * |
objMessageSubscriber |
|
) |
| |
This method unregisters a message type of the given message subscriber.
- Parameters
-
strMessageType | Name of the new message type. |
objMessageSubscriber | Receiver to be deleted from the subscriber list. |
The documentation for this class was generated from the following file: