Panda3D
 All Classes Functions Variables Enumerations
eventQueue.I
1 // Filename: eventQueue.I
2 // Created by: drose (05May00)
3 //
4 ////////////////////////////////////////////////////////////////////
5 //
6 // PANDA 3D SOFTWARE
7 // Copyright (c) Carnegie Mellon University. All rights reserved.
8 //
9 // All use of this software is subject to the terms of the revised BSD
10 // license. You should have received a copy of this license along
11 // with this source code in a file named "LICENSE."
12 //
13 ////////////////////////////////////////////////////////////////////
14 
15 
16 ////////////////////////////////////////////////////////////////////
17 // Function: EventQueue::get_global_event_queue
18 // Access: Public
19 // Description: Returns a pointer to the one global EventQueue
20 // object. If the global object has not yet been
21 // created, this will create it.
22 ////////////////////////////////////////////////////////////////////
25  if (_global_event_queue == NULL) {
26  make_global_event_queue();
27  }
28  return _global_event_queue;
29 }
static EventQueue * get_global_event_queue()
Returns a pointer to the one global EventQueue object.
Definition: eventQueue.I:24
A queue of pending events.
Definition: eventQueue.h:32