csEventCord Class Reference
Event cord. More...
#include <csevcord.h>
Inheritance diagram for csEventCord:

Public Methods | |
csEventCord (int category, int subcategory) | |
Create an event cord for a given category/subcategory. | |
virtual | ~csEventCord () |
Destructor. | |
virtual int | Insert (iEventHandler *, int priority) |
Insert an event handler into the event cord. | |
virtual void | Remove (iEventHandler *) |
Remove an event handler from the event cord. | |
virtual bool | GetPass () const |
Get whether events are passed to the system event queue. | |
virtual void | SetPass (bool flag) |
Set whether events are passed to the system event queue. | |
virtual int | GetCategory () const |
Get the category of this cord. | |
virtual int | GetSubcategory () const |
Get the subcategory of this cord. | |
Protected Methods | |
void | Lock () |
Lock the queue for modifications: NESTED CALLS TO LOCK/UNLOCK NOT ALLOWED! | |
void | Unlock () |
Unlock the queue. | |
Protected Attributes | |
volatile bool | pass |
Pass events to the system queue? | |
int | category |
The category and subcategory of this events on this cord. | |
int | subcategory |
The category and subcategory of this events on this cord. | |
PluginData * | plugins |
The cord itself. | |
volatile int | SpinLock |
Protection against multiple threads accessing the same cord. | |
Friends | |
class | csEventOutlet |
iEventOutlet places events into cords. |
Detailed Description
Event cord.
Definition at line 32 of file csevcord.h.
Constructor & Destructor Documentation
|
Create an event cord for a given category/subcategory.
|
|
Destructor.
|
Member Function Documentation
|
Get the category of this cord.
Implements iEventCord. Definition at line 87 of file csevcord.h. |
|
Get whether events are passed to the system event queue.
Implements iEventCord. Definition at line 81 of file csevcord.h. |
|
Get the subcategory of this cord.
Implements iEventCord. Definition at line 90 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 57 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 84 of file csevcord.h. |
|
Unlock the queue.
Definition at line 59 of file csevcord.h. |
Friends And Related Function Documentation
|
iEventOutlet places events into cords.
Definition at line 62 of file csevcord.h. |
Member Data Documentation
|
The category and subcategory of this events on this cord.
Definition at line 39 of file csevcord.h. |
|
Pass events to the system queue?
Definition at line 36 of file csevcord.h. |
|
The cord itself.
Definition at line 51 of file csevcord.h. |
|
Protection against multiple threads accessing the same cord.
Definition at line 54 of file csevcord.h. |
|
The category and subcategory of this events on this cord.
Definition at line 39 of file csevcord.h. |
The documentation for this class was generated from the following file:
- csutil/csevcord.h
Generated for Crystal Space by doxygen 1.2.18