Public Member Functions

EventRouter Class Reference

Search for all occurrences

Detailed Description

See also:
Class EventUser.

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

#include <evrouter.h>

Inheritance diagram for EventRouter:
Inheritance graph
[legend]

List of all members.

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.

EventRouter EventRouter EventRouter EventRouter EventRouter EventRouter EventRouter EventRouter EventRouter EventRouter
EventRouter EventRouter EventRouter EventRouter EventRouter EventRouter EventRouter EventRouter EventRouter EventRouter