OpenNI 1.3.2
|
#include <XnThreadSafeQueue.h>
Public Member Functions | |
XnThreadSafeQueue () | |
~XnThreadSafeQueue () | |
XnStatus | Init () |
XnStatus | Push (XnValue const &value) |
XnStatus | Pop (XnValue &value) |
XnUInt32 | Size () const |
A thread safe queue.
XnThreadSafeQueue::XnThreadSafeQueue | ( | ) | [inline] |
XnThreadSafeQueue::~XnThreadSafeQueue | ( | ) | [inline] |
XnStatus XnThreadSafeQueue::Init | ( | ) | [inline, virtual] |
Initialized the queue. This method should be called before calling any other method.
Reimplemented from XnQueue.
XnStatus XnThreadSafeQueue::Pop | ( | XnValue & | value | ) | [inline, virtual] |
Pop the value at the top of the queue
value | [out] The value that was at the top of the queue |
Reimplemented from XnQueue.
XnStatus XnThreadSafeQueue::Push | ( | XnValue const & | value | ) | [inline, virtual] |
Push a new value to the queue
value | [in] The value to add to the queue |
Reimplemented from XnQueue.
XnUInt32 XnThreadSafeQueue::Size | ( | ) | const [inline, virtual] |
Get current size of queue
Reimplemented from XnQueue.