3ds Max C++ API Reference
INotificationCallback Class Referenceabstract

The notification callback used to process all events from the notification API. More...

#include <NotificationAPI_Subscription.h>

+ Inheritance diagram for INotificationCallback:

Public Member Functions

virtual void NotificationCallback_NotifyEvent (const IGenericEvent &genericEvent, void *userData)=0
 Called to process an event. More...
 

Protected Member Functions

virtual ~INotificationCallback ()
 

Detailed Description

The notification callback used to process all events from the notification API.

Constructor & Destructor Documentation

◆ ~INotificationCallback()

virtual ~INotificationCallback ( )
inlineprotectedvirtual
128 {}

Member Function Documentation

◆ NotificationCallback_NotifyEvent()

virtual void NotificationCallback_NotifyEvent ( const IGenericEvent genericEvent,
void userData 
)
pure virtual

Called to process an event.

Note that it is possible to monitor and stop monitoring events from within this notification callback. The notification system is specifically built to handle that.

Parameters
genericEventthe event in question
userDatathe user data passed to the Monitor*() call on notification client.

Implemented in BaseTranslator_INode, BaseTranslator_Texmap, BaseTranslator_ReferenceTarget, and BaseTranslator_Mtl.