48 INLINE
bool thing_available()
const;
49 bool get_thing(Thing &thing);
51 bool enqueue_thing(
const Thing &thing);
52 bool enqueue_unique_thing(
const Thing &thing);
This is a standard, non-reentrant mutex, similar to the Mutex class.
This is the implementation of a family of things that queue up their return values for later retrieva...
int get_max_queue_size() const
Returns the maximum size the queue is allowed to grow to.
void reset_overflow_flag()
Resets the overflow flag so that get_overflow_flag() will return false until a new overflow occurs.
void set_max_queue_size(int max_size)
Sets the maximum size the queue is allowed to grow to.
bool get_overflow_flag() const
Returns true if the queue has overflowed since the last call to reset_overflow_flag() (implying that ...
int get_current_queue_size() const
Returns the current number of things in the queue.
This is our own Panda specialization on the default STL deque.
PANDA 3D SOFTWARE Copyright (c) Carnegie Mellon University.
PANDA 3D SOFTWARE Copyright (c) Carnegie Mellon University.
PANDA 3D SOFTWARE Copyright (c) Carnegie Mellon University.
PANDA 3D SOFTWARE Copyright (c) Carnegie Mellon University.
PANDA 3D SOFTWARE Copyright (c) Carnegie Mellon University.
PANDA 3D SOFTWARE Copyright (c) Carnegie Mellon University.
PANDA 3D SOFTWARE Copyright (c) Carnegie Mellon University.
PANDA 3D SOFTWARE Copyright (c) Carnegie Mellon University.
PANDA 3D SOFTWARE Copyright (c) Carnegie Mellon University.