# EventQueue

from pandac.PandaModules import EventQueue

Class : EventQueue
Description : 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:

EventQueue:

## Methods of EventQueue:

EventQueue (Constructor)
clear
dequeueEvent
getGlobalEventQueue
isQueueEmpty
isQueueFull
queueEvent

EventQueue EventQueue::EventQueue(void); Description:

clear void EventQueue::clear(void); Description: Empties all events on the queue, throwing them on the floor.

dequeueEvent ConstPointerTo< Event > EventQueue::dequeue_event(void); Description:

getGlobalEventQueue static EventQueue *EventQueue::get_global_event_queue(void); Description: Returns a pointer to the one global EventQueue object. If the global object has not yet been created, this will create it.

isQueueEmpty bool EventQueue::is_queue_empty(void) const; Description:

isQueueFull bool EventQueue::is_queue_full(void) const; Description: This function is deprecated--the queue is never full these days.

queueEvent void EventQueue::queue_event(ConstPointerTo< Event > event); Description: