#include <template_queue.h>
Public Member Functions | |
int | getNumberOfEntriesInQueue () |
get number of entries in queue | |
bool | isQueueEmpty () |
T | pop () |
void | pop (T &item) |
void | push (const T &item) |
void | push (T &item) |
bool | waitForIncomingObject (int timeOutInMs) |
Private Attributes | |
boost::condition_variable | cond_ |
boost::mutex | mutex_ |
std::queue< T > | queue_ |
Definition at line 10 of file template_queue.h.
int Queue< T >::getNumberOfEntriesInQueue | ( | ) | [inline] |
get number of entries in queue
Definition at line 19 of file template_queue.h.
bool Queue< T >::isQueueEmpty | ( | ) | [inline] |
Definition at line 29 of file template_queue.h.
Definition at line 61 of file template_queue.h.
Definition at line 72 of file template_queue.h.
Definition at line 80 of file template_queue.h.
bool Queue< T >::waitForIncomingObject | ( | int | timeOutInMs | ) | [inline] |
Definition at line 37 of file template_queue.h.
Definition at line 91 of file template_queue.h.
Definition at line 90 of file template_queue.h.
Definition at line 89 of file template_queue.h.