Class EventRouter

3DS Max Plug-In SDK

Class EventRouter

See Also: Class EventUser.

class EventRouter

Description:

Event router functionality. All methods of this class are implemented by the system.

Methods:

Prototype:

void Register(EventUser *user);

Remarks:

Register and activate an event user.

Parameters:

EventUser *user

The EventUser to activate.

Prototype:

void UnRegister(EventUser *user);

Remarks:

Remove an event user from the list (automatically re-activates the previous user).

Parameters:

EventUser *user

The EventUser to remove.

Prototype:

BOOL Process();

Remarks:

Process the event.

Return Value:

TRUE if the event was handed off to a user.