32 void push(T newElement);
62 #define DtLocklessQueue_INL_
63 #include <vrvUtil/DtLocklessQueue.inl>
64 #undef DtLocklessQueue_INL_
std::vector< T > myElements
Definition: DtLocklessQueue.h:56
bool okToPush()
Check to see if there is room in the queue.
voidpf void uLong size
Definition: ioapi.h:39
int myWriteHead
Definition: DtLocklessQueue.h:58
T pop()
Remove an element from the queue.
DtLocklessQueue is a thread safe queue for single reader/single writer.
Definition: DtLocklessQueue.h:21
int myReadHead
Definition: DtLocklessQueue.h:57
DtLocklessQueue & operator=(const DtLocklessQueue &rhs)
Assignment operator (unimplemented)
DtLocklessQueue()
Default CTOR (unimplemented)
int count()
Get the current element count.
void push(T newElement)
Add an element fo the queue.