#include <XnQueue.h>
List of all members.
Detailed Description
The queue
Definition at line 40 of file XnQueue.h.
Constructor & Destructor Documentation
Constructor. Initialize internal representations
Definition at line 46 of file XnQueue.h.
Destructor. Destroy internal representations
Definition at line 50 of file XnQueue.h.
Member Function Documentation
Initialized the queue. This method should be called before calling any other method.
Reimplemented in XnThreadSafeQueue.
Definition at line 55 of file XnQueue.h.
Check if queue is empty
Definition at line 117 of file XnQueue.h.
Pop the value at the top of the queue
- Parameters:
-
value | [out] The value that was at the top of the queue |
- Returns:
- XN_STATUS_IS_EMPTY The queue is empty
Reimplemented in XnThreadSafeQueue.
Definition at line 83 of file XnQueue.h.
Push a new value to the queue
- Parameters:
-
value | [in] The value to add to the queue |
- Returns:
- XN_STATUS_ALLOC_FAILED Failed to add to the queue because no nodes are available.
Reimplemented in XnThreadSafeQueue.
Definition at line 67 of file XnQueue.h.
Get the value at the top of the queue (it is user responsibility to check queue is not empty)
- Returns:
- a reference to the object at head of the queue.
Definition at line 99 of file XnQueue.h.
Get the value at the top of the queue (it is user responsibility to check queue is not empty)
- Returns:
- a reference to the object at head of the queue.
Definition at line 109 of file XnQueue.h.
Member Data Documentation
The internal XnList with which the queue is implemented.
Definition at line 132 of file XnQueue.h.
The documentation for this class was generated from the following file: