iEventCord Struct Reference
[Event handling]
The iEventCord is an interface provided by an event queue to any event handlers wanting to receive some subclasses of events ASAP in a specified priority, bypassing the queue itself.
More...
#include <event.h>
Inheritance diagram for iEventCord:

Public Methods | |
virtual int | Insert (iEventHandler *, int priority)=0 |
Insert an event handler into the cord. | |
virtual void | Remove (iEventHandler *)=0 |
Remove an event handler from the cord. | |
virtual bool | GetPass () const=0 |
Returns true if events are passed on to the owning event queue if all plugins in the cord return false from HandleEvent(). | |
virtual void | SetPass (bool)=0 |
Sets whether events are passed along to the owning event queue if all plugins in the cord return false from HandleEvent(). | |
virtual int | GetCategory () const=0 |
Get the category of this cord. |
Detailed Description
The iEventCord is an interface provided by an event queue to any event handlers wanting to receive some subclasses of events ASAP in a specified priority, bypassing the queue itself.Events may also optionally be sent to the normal event queue itself if none of the event handlers in the cord handle the event.
Definition at line 461 of file event.h.
Member Function Documentation
|
Get the category of this cord.
Implemented in csEventCord. |
|
Returns true if events are passed on to the owning event queue if all plugins in the cord return false from HandleEvent().
Implemented in csEventCord. |
|
Insert an event handler into the cord. The priority defines when it will receive the event with respect to other registered event handlers. Event handlers with the same priority are handled in a first-come first-served fashion. This is significant since returning true from HandleEvent() will stop further event processing. Implemented in csEventCord. |
|
Remove an event handler from the cord.
Implemented in csEventCord. |
|
Sets whether events are passed along to the owning event queue if all plugins in the cord return false from HandleEvent().
Implemented in csEventCord. |
The documentation for this struct was generated from the following file:
- iutil/event.h
Generated for Crystal Space by doxygen 1.2.18