
Definition at line 198 of file mtsQueue.h.
| void mtsQueueGeneric::SetSize | ( | size_type | size, | |
| const_reference | value | |||
| ) | [inline] |
Sets the size of the queue (destructive, i.e. won't preserve previously queued elements).
Definition at line 280 of file mtsQueue.h.
References Allocate(), ClassServices, CMN_LOG_INIT_WARNING, Free(), cmnClassServicesBase::GetName(), and cmnGenericObject::Services().
| size_type mtsQueueGeneric::GetSize | ( | void | ) | const [inline] |
| size_type mtsQueueGeneric::GetAvailable | ( | void | ) | const [inline] |
Returns number of elements available in queue, i.e. the number of slots used.
Definition at line 306 of file mtsQueue.h.
| bool mtsQueueGeneric::IsFull | ( | void | ) | const [inline] |
Returns true if queue is full.
Definition at line 317 of file mtsQueue.h.
| bool mtsQueueGeneric::IsEmpty | ( | void | ) | const [inline] |
Returns true if queue is empty.
Definition at line 327 of file mtsQueue.h.
| const_pointer mtsQueueGeneric::Put | ( | const_reference | newObject | ) | [inline] |
Copy an object to the queue.
| in | reference to the object to be copied |
Definition at line 336 of file mtsQueue.h.
References CMN_LOG_RUN_ERROR, Data, cmnClassServicesBase::GetName(), Head, and cmnGenericObject::Services().
| 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.
Definition at line 362 of file mtsQueue.h.
References Tail.
| pointer mtsQueueGeneric::Get | ( | void | ) | [inline] |
Pop the next object to be read from the queue.
Definition at line 373 of file mtsQueue.h.