![]() |
OpenNI 1.5.2
|
#include <XnQueue.h>

Public Member Functions | |
| XnQueue () | |
| virtual | ~XnQueue () |
| virtual XnStatus | Init () |
| virtual XnStatus | Push (XnValue const &value) |
| virtual XnStatus | Pop (XnValue &value) |
| XnValue const & | Top () const |
| XnValue & | Top () |
| XnBool | IsEmpty () const |
| virtual XnUInt32 | Size () const |
The queue
| XnQueue::XnQueue | ( | ) | [inline] |
Constructor. Initialize internal representations
| virtual XnQueue::~XnQueue | ( | ) | [inline, virtual] |
Destructor. Destroy internal representations
| virtual XnStatus XnQueue::Init | ( | ) | [inline, virtual] |
Initialized the queue. This method should be called before calling any other method.
Reimplemented in XnThreadSafeQueue.
| XnBool XnQueue::IsEmpty | ( | ) | const [inline] |
Check if queue is empty
| virtual XnStatus XnQueue::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 in XnThreadSafeQueue.
| virtual XnStatus XnQueue::Push | ( | XnValue const & | value | ) | [inline, virtual] |
Push a new value to the queue
| value | [in] The value to add to the queue |
Reimplemented in XnThreadSafeQueue.
| virtual XnUInt32 XnQueue::Size | ( | ) | const [inline, virtual] |
Get current size of queue
Reimplemented in XnThreadSafeQueue.
| XnValue const& XnQueue::Top | ( | ) | const [inline] |
Get the value at the top of the queue (it is user responsibility to check queue is not empty)
| XnValue& XnQueue::Top | ( | ) | [inline] |
Get the value at the top of the queue (it is user responsibility to check queue is not empty)
1.7.6.1