Go to the documentation of this file.
14 #ifndef DATAGRAMQUEUE_H
15 #define DATAGRAMQUEUE_H
35 bool insert(
const NetDatagram &data,
bool block =
false);
38 void set_max_queue_size(
int max_size);
39 int get_max_queue_size()
const;
40 int get_current_queue_size()
const;
PANDA 3D SOFTWARE Copyright (c) Carnegie Mellon University.
PANDA 3D SOFTWARE Copyright (c) Carnegie Mellon University.
PANDA 3D SOFTWARE Copyright (c) Carnegie Mellon University.
This class implements a condition variable; see ConditionVar for a brief introduction to this class.
A standard mutex, or mutual exclusion lock.
PANDA 3D SOFTWARE Copyright (c) Carnegie Mellon University.
A specific kind of Datagram, especially for sending across or receiving from a network.
A thread-safe, FIFO queue of NetDatagrams.
PANDA 3D SOFTWARE Copyright (c) Carnegie Mellon University.