INotificationManager class is the entry point of the Notification API, you can create or remove a Notification Client.
More...
#include <NotificationAPI_Subscription.h>
INotificationManager class is the entry point of the Notification API, you can create or remove a Notification Client.
◆ ~INotificationManager()
◆ GetManager()
◆ RegisterNewImmediateClient()
Use this function to create a client which is the way to monitor notifications on nodes, materials, texmaps etc.
and get notified immediately as soon as a change happens
- Parameters
-
version | : may pass the version of notification client you want to use, -1 = latest. |
- Returns
- a pointer on INotificationClient <
◆ RegisterNewOnDemandClient()
Use this function to create a client which is the way to monitor notifications on nodes, materials, texmaps etc with on demand mode changes.
- Parameters
-
version | : may pass the version of notification client you want to use, -1 = latest. |
- Returns
- a pointer on INotificationClient <
◆ RemoveClient()
RemoveClient function, to stop monitoring.
Cleaning is done by the manager.
- Parameters
-
client | : the notification client you want to unregister. |
- Returns
- true if succeeded, false if the client was not found <
◆ NumClients()
virtual size_t NumClients |
( |
| ) |
const |
|
pure virtual |
NumNotificationClients function.
- Returns
- the number of notification clients connected <
◆ GetClient()
GetNotificationClient function.
- Parameters
-
index | : the index of the Notification clients to retrieve |
- Returns
- a pointer on a INotificationClient or NULL if index is out of range <
◆ DebugPrintToFile()
virtual void DebugPrintToFile |
( |
FILE * |
file | ) |
const |
|
pure virtual |
DebugPrintToFile function.
- Parameters
-
file | : a valid FILE pointer to print debug information to : all the notifiers, listeners and what they monitor < |
◆ NotifyRenderSettingsEvent()
Notifies the system of a render settings event.
This method is used internally by the the application to broadcast a change in the scene's render settings. The notification system relies on this method to catch such events because there are no other, pre-existing methods (such as through BroadcastNotification()) for broadcasting such events.
- Parameters
-
eventType | The type of event to be broadcast. |
◆ NotifyEnvironmentEvent()
Notifies the system of a render environment event.
This method is used internally by the the application to broadcast a change in the scene's render environment. The notification system relies on this method to catch such events because there are no other, pre-existing methods (such as through BroadcastNotification()) for broadcasting such events.
- Parameters
-
eventType | The type of event to be broadcast. |