30 #if !defined ONLY_LOCAL_PROXY || defined INCLUDE_MIDDLE_MIX
144 #ifdef QUEUE_SIZE_LOG
145 void logIfSizeGreaterThen(
UINT32 size)
161 #ifdef QUEUE_SIZE_LOG
SINT32 signal()
Signals this object.
This is a simple FIFO-Queue.
CAConditionVariable * m_pconvarSize
SINT32 add(const void *buff, UINT32 size)
Adds data to the Queue.
static SINT32 test()
Method to test the Queue.
SINT32 clean()
Removes any stored data from the Queue.
volatile UINT32 m_nQueueSize
SINT32 getOrWait(UINT8 *pbuff, UINT32 *psize)
Gets data from the Queue or waits until some data is available, if the Queue is empty.
SINT32 get(UINT8 *pbuff, UINT32 *psize)
Gets up to psize number of bytes from the Queue.
SINT32 peek(UINT8 *pbuff, UINT32 *psize)
Peeks data from the Queue.
CAQueue(UINT32 expectedElementSize=0)
Give the size of the amount of data what you will add in one step.
SINT32 close()
Closes the Queue (for writing).
SINT32 remove(UINT32 *psize)
Removes data from the Queue.
UINT32 getSize()
Returns the size of stored data in byte.
~CAQueue()
Deletes this Queue and all stored data.
bool isClosed()
Returns true, if the Queue is closed.
volatile QUEUE * m_lastElem
bool isEmpty()
Returns true, if the Queue is empty.
UINT32 m_nExpectedElementSize
UINT32 getSizeLookFree()
Returns the size of stored data in byte.