![]() |
Public API Reference |
#include <csevcord.h>
Inheritance diagram for csEventCord:
Public Methods | |
csEventCord (int category, int subcategory) | |
Create an event cord for a given category/subcategory. More... | |
virtual int | Insert (iEventHandler *, int priority) |
Insert an event handler into the event cord. More... | |
virtual void | Remove (iEventHandler *) |
Remove an event handler from the event cord. More... | |
virtual bool | GetPass () const |
Get whether events are passed to the system event queue. More... | |
virtual void | SetPass (bool flag) |
Set whether events are passed to the system event queue. More... | |
virtual int | GetCategory () const |
Get the category of this cord. More... | |
virtual int | GetSubcategory () const |
Get the subcategory of this cord. More... | |
Protected Methods | |
void | Lock () |
Lock the queue for modifications: NESTED CALLS TO LOCK/UNLOCK NOT ALLOWED! More... | |
void | Unlock () |
Unlock the queue. More... | |
Protected Attributes | |
volatile bool | pass |
Pass events to the system queue? More... | |
int | category |
The category and subcategory of this events on this cord. More... | |
int | subcategory |
The category and subcategory of this events on this cord. More... | |
PluginData * | plugins |
The cord itself. More... | |
volatile int | SpinLock |
Protection against multiple threads accessing the same cord. More... | |
Friends | |
class | csEventOutlet |
iEventOutlet places events into cords. More... |
Definition at line 31 of file csevcord.h.
|
Create an event cord for a given category/subcategory.
|
|
Get the category of this cord.
Implements iEventCord. Definition at line 83 of file csevcord.h. References subcategory. |
|
Get whether events are passed to the system event queue.
Implements iEventCord. Definition at line 77 of file csevcord.h. References pass. |
|
Get the subcategory of this cord.
Implements iEventCord. Definition at line 86 of file csevcord.h. |
|
Insert an event handler into the event cord.
Implements iEventCord. |
|
Lock the queue for modifications: NESTED CALLS TO LOCK/UNLOCK NOT ALLOWED!
Definition at line 56 of file csevcord.h. |
|
Remove an event handler from the event cord.
Implements iEventCord. |
|
Set whether events are passed to the system event queue.
Implements iEventCord. Definition at line 80 of file csevcord.h. References category. |
|
Unlock the queue.
Definition at line 58 of file csevcord.h. |
|
iEventOutlet places events into cords.
Definition at line 61 of file csevcord.h. |
|
The category and subcategory of this events on this cord.
Definition at line 38 of file csevcord.h. Referenced by SetPass. |
|
Pass events to the system queue?
Definition at line 35 of file csevcord.h. Referenced by GetPass. |
|
The cord itself.
Definition at line 50 of file csevcord.h. |
|
Protection against multiple threads accessing the same cord.
Definition at line 53 of file csevcord.h. |
|
The category and subcategory of this events on this cord.
Definition at line 38 of file csevcord.h. Referenced by GetCategory. |