1#ifndef MXNOTIFICATIONMANAGER_H
2#define MXNOTIFICATIONMANAGER_H
149 void FlushPending(
MxCore* p_listener);
[AI] Base virtual class for all Mindscape engine (Mx) objects.
[AI] Provides a critical section object for mutual exclusion with optional use of OS mutex.
[AI] List of object IDs used to track registered notification listeners.
[AI] Central registry and dispatcher of asynchronous notifications between MxCore objects.
MxNotificationManager()
[AI] Constructs a new NotificationManager, initializing all state to defaults.
MxResult Tickle() override
[AI] Processes and dispatches all queued notifications to their targets.
~MxNotificationManager() override
[AI] Destroys the NotificationManager.
void Unregister(MxCore *p_listener)
[AI] Removes a previously registered listener and flushes any pending notifications for it.
MxNotificationPtrList * GetQueue()
[AI] Returns a pointer to the current notification queue (for debug/inspection).
void Register(MxCore *p_listener)
[AI] Registers a listener object to receive notifications.
void SetActive(MxBool p_active)
[AI] Sets the notification manager active or inactive.
MxBool IsEmpty() const
[AI] Returns whether the notification queue is empty.
MxResult Send(MxCore *p_listener, const MxNotificationParam &p_param)
[AI] Queues a notification to be sent to a specific registered listener.
virtual MxResult Create(MxU32 p_frequencyMS, MxBool p_createThread)
[AI] Initializes the notification manager, setting up queues and optionally registering with the tick...
[AI] Parameter object representing a single notification or event, carrying an identifier and sender ...
[AI] List of notification pointers used to queue notifications for delivery.
[AI] Carries a notification to be sent to a target MxCore object.
MxCore * GetTarget()
[AI] Returns the target of this notification.
~MxNotification()
[AI] Destructor for MxNotification.
MxNotificationParam * GetParam()
[AI] Returns the notification parameter (cloned by the notification).
#define list
[AI] Macro alias for List<T>, replacing std::list<T>.
[AI] STL compatibility layer header to provide consistent STL (Standard Template Library) types and a...