A queue of pending events. More...
#include "eventQueue.h"
Public Member Functions | |
void | clear () |
Empties all events on the queue, throwing them on the floor. More... | |
CPT_Event | dequeue_event () |
bool | is_queue_empty () const |
bool | is_queue_full () const |
This function is deprecated–the queue is never full these days. More... | |
void | queue_event (CPT_Event event) |
Static Public Member Functions | |
static EventQueue * | get_global_event_queue () |
Returns a pointer to the one global EventQueue object. More... | |
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.
Definition at line 29 of file eventQueue.h.
void EventQueue::clear | ( | ) |
Empties all events on the queue, throwing them on the floor.
Definition at line 65 of file eventQueue.cxx.
|
inlinestatic |
Returns a pointer to the one global EventQueue object.
If the global object has not yet been created, this will create it.
Definition at line 19 of file eventQueue.I.
bool EventQueue::is_queue_full | ( | ) | const |
This function is deprecated–the queue is never full these days.
Definition at line 85 of file eventQueue.cxx.