Panda3D
panda
src
event
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
////////////////////////////////////////////////////////////////////
23
INLINE
EventQueue
*
EventQueue::
24
get_global_event_queue
() {
25
if
(_global_event_queue == NULL) {
26
make_global_event_queue();
27
}
28
return
_global_event_queue;
29
}
EventQueue::get_global_event_queue
static EventQueue * get_global_event_queue()
Returns a pointer to the one global EventQueue object.
Definition:
eventQueue.I:24
EventQueue
A queue of pending events.
Definition:
eventQueue.h:32
Generated on Wed May 17 2017 23:41:58 for Panda3D by
1.8.13