EventRouter Class Reference
 
 
 
EventRouter Class Reference

#include <evrouter.h>

Inheritance diagram for EventRouter:
MaxHeapOperators

Class Description

See also:
Class EventUser.

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

Public Member Functions

  EventRouter (BOOL multiple=FALSE)
CoreExport void  Register (EventUser *user)
CoreExport void  UnRegister (EventUser *user)
CoreExport BOOL  Process ()

Constructor & Destructor Documentation

EventRouter ( BOOL  multiple = FALSE ) [inline]
{ notifyMultiple = multiple; }

Member Function Documentation

CoreExport void Register ( EventUser user )
Remarks:
Register and activate an event user.
Parameters:
EventUser *user

The EventUser to activate.
CoreExport 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.
CoreExport BOOL Process ( )
Remarks:
Process the event.
Returns:
TRUE if the event was handed off to a user.