# 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:

clear
dequeueEvent
getGlobalEventQueue
isQueueEmpty
isQueueFull
queueEvent

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); Filename: eventQueue.I Created by: drose (05May00) PANDA 3D SOFTWARE Copyright (c) 2001 - 2004, Disney Enterprises, Inc. All rights reserved All use of this software is subject to the terms of the Panda 3d Software license. You should have received a copy of this license along with this source code; you will also find a current copy of the license at http://etc.cmu.edu/panda3d/docs/license/ . To contact the maintainers of this program write to panda3d-general@lists.sourceforge.net . 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: