EventQueue
-
class EventQueue
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.Inheritance diagram
-
EventQueue(void)
-
void clear(void)
Empties all events on the queue, throwing them on the floor.
-
CPT_Event dequeue_event(void)
-
EventQueue *get_global_event_queue(void)
Returns a pointer to the one global
EventQueue
object. If the global object has not yet been created, this will create it.
-
bool is_queue_empty(void) const
-
bool is_queue_full(void) const
Deprecated: Always returns false; the queue can never be full.
-
void queue_event(CPT_Event event)
-
EventQueue(void)