#include <mtQueue.h>

Public Member Functions | |
| MTQueue () | |
| Construct a new queue. | |
| MTQueue (const MTQueue< T > &from) | |
| Construct a copy of a queue. | |
| ~MTQueue () | |
| Destruct this Queue. | |
| MTQueue< T > & | operator= (const MTQueue< T > &from) |
| Assign the values of another queue. | |
| bool | isEmpty () const |
| size_t | getSize () const |
| T | pop () |
| Retrieve and pop the front element from the queue, may block. | |
| T | tryPop () |
| T | back () const |
| void | push (const T &element) |
| Push a new element to the back of the queue. | |
| void | pushFront (const T &element) |
| Push a new element to the front of the queue. | |
Static Public Attributes | |
| static const T | NONE |
| None element, returned by tryPop() and back(). | |
Definition at line 37 of file mtQueue.h.
| eq::base::MTQueue< T >::MTQueue | ( | ) |
Construct a new queue.
| eq::base::MTQueue< T >::MTQueue | ( | const MTQueue< T > & | from | ) |
Construct a copy of a queue.
| eq::base::MTQueue< T >::~MTQueue | ( | ) |
Destruct this Queue.
| bool eq::base::MTQueue< T >::isEmpty | ( | ) | const [inline] |
Definition at line 53 of file mtQueue.h.
Referenced by eq::net::CommandQueue::isEmpty().

| size_t eq::base::MTQueue< T >::getSize | ( | ) | const [inline] |
Definition at line 56 of file mtQueue.h.
Referenced by eq::net::CommandQueue::getSize().

| T eq::base::MTQueue< T >::pop | ( | ) |
Retrieve and pop the front element from the queue, may block.
Referenced by eq::net::CommandQueue::pop(), and eq::net::FullSlaveCM::sync().

| T eq::base::MTQueue< T >::tryPop | ( | ) |
Referenced by eq::net::CommandQueue::flush(), and eq::net::CommandQueue::tryPop().

| T eq::base::MTQueue< T >::back | ( | ) | const |
Referenced by eq::net::CommandQueue::back(), and eq::net::FullSlaveCM::getHeadVersion().

| void eq::base::MTQueue< T >::push | ( | const T & | element | ) |
Push a new element to the back of the queue.
Referenced by eq::net::CommandQueue::push(), and eq::net::CommandQueue::wakeup().

| void eq::base::MTQueue< T >::pushFront | ( | const T & | element | ) |
Push a new element to the front of the queue.
Referenced by eq::net::CommandQueue::pushFront().

const T eq::base::MTQueue< T >::NONE [static] |
0.9 by
1.5.8