31 void push(T newElement);
61 #define DtLocklessQueue_INL_
63 #undef DtLocklessQueue_INL_
~DtLocklessQueue()
DTOR.
Definition: locklessQueue.inl:27
DtLocklessQueue()
Default CTOR (unimplemented)
DtLocklessQueue is a thread safe queue for single reader/single writer.
Definition: locklessQueue.h:20
DtLocklessQueue & operator=(const DtLocklessQueue &rhs)
Assignment operator (unimplemented)
int myWriteHead
Definition: locklessQueue.h:57
std::vector< T > myElements
Definition: locklessQueue.h:55
int count()
Get the current element count.
Definition: locklessQueue.inl:96
int myReadHead
Definition: locklessQueue.h:56
void push(T newElement)
Add an element on the queue.
Definition: locklessQueue.inl:43
bool okToPush()
Check to see if there is room in the queue.
Definition: locklessQueue.inl:33
T pop()
Remove an element from the queue.
Definition: locklessQueue.inl:71