mi::nservices::IEvent_handler Class Reference
[Events]
Description
An Event handler. These are implemented by the user.
Public Member Functions
- virtual const char* get_name() const =0
- The name of the event handler. More...
- virtual Sint32 handle( IEvent_handler_context* context, IEvent* event) =0
- Handles the event. More...
Member Functions
- virtual const char* mi::nservices::IEvent_handler::get_name() const [pure virtual]
-
The name of the event handler.
Returns
the name
- virtual Sint32 mi::nservices::IEvent_handler::handle( IEvent_handler_context* context, IEvent* event) [pure virtual]
-
Parameters
- context
- the context for this event.
- event
- the event object which triggered the handler.
Returns
event dependent.