#include <mtsQueue.h>
mtsQueueGeneric::mtsQueueGeneric |
( |
void |
| ) |
|
|
inline |
mtsQueueGeneric::~mtsQueueGeneric |
( |
| ) |
|
|
inline |
void mtsQueueGeneric::Free |
( |
void |
| ) |
|
|
inlineprotected |
pointer mtsQueueGeneric::Get |
( |
void |
| ) |
|
|
inline |
Pop the next object to be read from the queue.
- Returns
- Pointer to element just popped (use iterator instead?)
size_type mtsQueueGeneric::GetAvailable |
( |
void |
| ) |
const |
|
inline |
Returns number of elements available in queue, i.e. the number of slots used.
size_type mtsQueueGeneric::GetSize |
( |
void |
| ) |
const |
|
inline |
bool mtsQueueGeneric::IsEmpty |
( |
void |
| ) |
const |
|
inline |
Returns true if queue is empty.
bool mtsQueueGeneric::IsFull |
( |
void |
| ) |
const |
|
inline |
Returns true if queue is full.
pointer mtsQueueGeneric::Peek |
( |
void |
| ) |
const |
|
inline |
Get a pointer to the next object to be read, but do not remove the item from the queue.
- Returns
- Pointer to top element in queue (use iterator instead?)
Copy an object to the queue.
- Parameters
-
in | reference to the object to be copied |
- Returns
- Pointer to element in queue (use iterator instead?)
Sets the size of the queue (destructive, i.e. won't preserve previously queued elements).
The documentation for this class was generated from the following file:
- /home/adeguet1/catkin_ws/src/cisst-saw/cisst/cisstMultiTask/mtsQueue.h