Docs

You are here:
RCMMessageBuffer Struct Reference

Descriptor of a message buffer. More...

#include <rcm_message_buffer.h>

Detailed Description

Descriptor of a message buffer.

Data Fields

RCMBufferedMessagepool
 pointer to a pool of messages or NULL if the message buffer uses HEAP module for memory allocation/deallocation
 
size_t poolSize
 size of message pool or 0 if the message buffer uses HEAP module for memory allocation/deallocation
 
RCMBufferedMessagefirstInQueue
 pointer to a message that is first in queue (internal message queue)
 
RCMBufferedMessagelastInQueue
 pointer to a message that is last in queue (internal message queue)
 
size_t messageCount
 number of messages currently stored in the message buffer
 
OSMutex msgbufMux
 Mutex guarding access to the message buffer.
 
Go to Top