|
| | QListProtectedWait () |
| | Default Constructor.
|
| |
| | ~QListProtectedWait () |
| | Default destructor.
|
| |
| void | insert (QMember *item, unsigned index) |
| | Add an item to the back of the queue.
|
| |
| Result | next () |
| | Get an item from the front of the queue.
|
| |
| Result | wait () |
| | Wait for an item from the front of the queue.
|
| |
| void | wakeup () |
| | Wakeup anyone waiting on the wait queue.
|
| |
| | QList () |
| | Default Constructor.
|
| |
| | ~QList () |
| | Destructor.
|
| |
| Atomic * | lock () |
| |
| void | insert (QMember *item, unsigned index) |
| | Add an item to the back of the queue.
|
| |
| void | insert_locked (QMember *item, unsigned index) |
| | Add an item to the back of the queue.
|
| |
| QMember * | next (unsigned index) |
| | Get an item from the front of the queue.
|
| |
| Result | next () |
| | Get an item from the front of the queue queue in priority order.
|
| |
| Result | next_locked () |
| |
| size_t | pending (unsigned index) |
| | Get the number of pending items in the queue.
|
| |
| size_t | pending () |
| | Get the total number of pending items in all queues in the list.
|
| |
| size_t | size () |
| |
| bool | empty (unsigned index) |
| | Test if the queue is empty.
|
| |
| bool | empty () |
| | Test if all the queues are empty.
|
| |
| | OSSem (unsigned int value=0) |
| | Initialize a Semaphore.
|
| |
| void | post () |
| | Post (increment) a semaphore.
|
| |
| void | wait () |
| | Wait on (decrement) a semaphore.
|
| |
template<unsigned items>
class QListProtectedWait< items >
A BufferQueue that adds the ability to wait on the next buffer.
Yes this uses multiple inheritance. The priority of pulling items out of of the list is fixed to look at index 0 first and the highest index last.
Definition at line 809 of file Queue.hxx.