#include <mtQueue.h>
Definition at line 24 of file mtQueue.h.
Public Member Functions | |
| MTQueue () | |
| Constructs a new queue. | |
| ~MTQueue () | |
| Destructs the Queue. | |
| bool | empty () const |
| size_t | size () const |
| T | pop () |
| Retrieve and pop the front element from the queue, may block. | |
| T | tryPop () |
| Try to get the front element from the queue, returns 0 if empty. | |
| T | back () const |
| void | push (const T &element) |
| void | pushFront (const T &element) |
Static Public Attributes | |
| static const T | NONE |
| eq::base::MTQueue< T >::~MTQueue | ( | ) |
Destructs the Queue.
| bool eq::base::MTQueue< T >::empty | ( | ) | const [inline] |
| size_t eq::base::MTQueue< T >::size | ( | ) | const [inline] |
| T eq::base::MTQueue< T >::pop | ( | ) |
Retrieve and pop the front element from the queue, may block.
| T eq::base::MTQueue< T >::tryPop | ( | ) |
Try to get the front element from the queue, returns 0 if empty.
0.6 by
1.5.5