eRPC API Reference
Rev. 1.12.0
NXP Semiconductors
|
Static Message buffer factory. More...
Public Member Functions | |
StaticMessageBufferFactory (void) | |
Constructor. | |
virtual | ~StaticMessageBufferFactory (void) |
CodecFactory destructor. | |
virtual MessageBuffer | create (void) |
This function creates new message buffer. More... | |
virtual void | dispose (MessageBuffer *buf) |
This function disposes message buffer. More... | |
Protected Attributes | |
uint8_t | m_freeBufferBitmap [(ERPC_DEFAULT_BUFFERS_COUNT >> 3U)+(ERPC_DEFAULT_BUFFERS_COUNT%8?1U:0U)] |
uint64_t | m_buffers [ERPC_DEFAULT_BUFFERS_COUNT][ERPC_BUFFER_SIZE_UINT64] |
Static buffers. | |
Semaphore | m_semaphore |
Static Message buffer factory.
|
inlinevirtual |
This function creates new message buffer.
Implements erpc::MessageBufferFactory.
|
inlinevirtual |
This function disposes message buffer.
[in] | buf | MessageBuffer to dispose. |
Implements erpc::MessageBufferFactory.
|
protected |
Bitmap representing which buffers are in use. A bit value of 1 means free and 0 means in use.
|
protected |
Semaphore.