A queue of pending events. More...
Public Member Functions | |
EventQueue () | |
clear () | |
Empties all events on the queue, throwing them on the floor. | |
Event const | dequeueEvent () |
bool | isQueueEmpty () |
bool | isQueueFull () |
This function is deprecated--the queue is never full these days. | |
queueEvent (Event const event) | |
Static Public Member Functions | |
static EventQueue | getGlobalEventQueue () |
Returns a pointer to the one global EventQueue object. |
A queue of pending events.
As events are thrown, they are added to this queue; eventually, they will be extracted out again by an EventHandler and processed.
EventQueue | ( | ) |
clear | ( | ) |
Empties all events on the queue, throwing them on the floor.
Event const dequeueEvent | ( | ) |
static EventQueue getGlobalEventQueue | ( | ) | [static] |
Returns a pointer to the one global EventQueue object.
If the global object has not yet been created, this will create it.
bool isQueueEmpty | ( | ) |
bool isQueueFull | ( | ) |
This function is deprecated--the queue is never full these days.
queueEvent | ( | Event const | event | ) |