![]() |
Public API Reference |
#include <event.h>
Inheritance diagram for iEventCord:
Public Methods | |
virtual int | Insert (iEventHandler *, int priority)=0 |
Insert an event handler into the cord. More... | |
virtual void | Remove (iEventHandler *)=0 |
Remove an event handler from the cord. More... | |
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(). More... | |
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(). More... | |
virtual int | GetCategory () const=0 |
Get the category of this cord. More... |
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 398 of file event.h.
|
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. |