Isle
|
[AI] Carries a notification to be sent to a target MxCore object. More...
#include <mxnotificationmanager.h>
Public Member Functions | |
MxNotification (MxCore *p_target, const MxNotificationParam &p_param) | |
[AI] Constructor for MxNotification. More... | |
~MxNotification () | |
[AI] Destructor for MxNotification. More... | |
MxCore * | GetTarget () |
[AI] Returns the target of this notification. More... | |
MxNotificationParam * | GetParam () |
[AI] Returns the notification parameter (cloned by the notification). More... | |
[AI] Carries a notification to be sent to a target MxCore object.
This encapsulates a notification target and a notification parameter instance.
[AI] Used internally by the notification manager to represent a single pending notification for asynchronous delivery to a game object.
Definition at line 15 of file mxnotificationmanager.h.
MxNotification::MxNotification | ( | MxCore * | p_target, |
const MxNotificationParam & | p_param | ||
) |
[AI] Constructor for MxNotification.
p_target | The MxCore object to which this notification is addressed. [AI] |
p_param | Reference to the notification parameter object (the manager will clone this parameter). [AI] |
[AI] The notification takes ownership of a cloned copy of the parameter to ensure thread safety.
Definition at line 16 of file mxnotificationmanager.cpp.
MxNotification::~MxNotification | ( | ) |
[AI] Destructor for MxNotification.
Destroys the internally cloned parameter. [AI]
Definition at line 23 of file mxnotificationmanager.cpp.
|
inline |
[AI] Returns the notification parameter (cloned by the notification).
Definition at line 40 of file mxnotificationmanager.h.
|
inline |
[AI] Returns the target of this notification.
Definition at line 34 of file mxnotificationmanager.h.