CMSDK  2.0.1
Public Member Functions | Protected Attributes | List of all members
cmlabs::utils::WaitQueue< T > Class Template Reference
Inheritance diagram for cmlabs::utils::WaitQueue< T >:
cmlabs::utils::WaitQueuePointer< T >

Public Member Functions

bool add (T entry)
uint32 getCount ()
bool peekFirst (T &first)
bool takeFirst (T &first)
bool waitForAndPeekFirst (T &first, uint32 timeoutMS)
bool waitForAndTakeFirst (T &first, uint32 timeoutMS)
virtual bool clear ()

Protected Attributes

Mutex mutex
Semaphore semaphore
std::queue< T > internalQueue

The documentation for this class was generated from the following file: