101#define DtLocklessQueue_INL_
102#include "locklessQueue.inl"
103#undef DtLocklessQueue_INL_
int myWriteHead
Index where the next element will be written.
Definition locklessQueue.h:97
DtLocklessQueue(int size)
Constructor with specified queue capacity.
DtLocklessQueue & operator=(const DtLocklessQueue &rhs)
Assignment operator.
std::vector< T > myElements
Storage for queue elements.
Definition locklessQueue.h:90
T pop()
Removes and returns an element from the queue.
DtLocklessQueue()
Default constructor.
int myReadHead
Index of the next element to read Value of -1 indicates the queue is empty.
Definition locklessQueue.h:94
bool okToPush()
Checks if there is room to add an element without blocking.
int count()
Gets the current number of elements in the queue.
DtLocklessQueue(const DtLocklessQueue &orig)
Copy constructor.
~DtLocklessQueue()
Destructor.
void push(T newElement)
Adds an element to the queue.
Definition radarFxConnectorDriver.h:21