|
Embedded Template Library 1.0
|
A pool for allocating reference counted messages. More...
#include <reference_counted_message_pool.h>
Classes |
Public Member Functions | |
| reference_counted_message_pool (etl::imemory_block_allocator &memory_block_allocator_) | |
| Constructor. | |
| template<typename TMessage> | |
| etl::reference_counted_message< TMessage, TCounter > * | allocate (const TMessage &message) |
| Allocate a reference counted message from the pool. | |
| template<typename TMessage> | |
| etl::reference_counted_message< TMessage, TCounter > * | allocate () |
| Allocate a reference counted message from the pool. | |
| void | release (const etl::ireference_counted_message &rcmessage) |
| Destruct a message and send it back to the allocator. | |
Additional Inherited Members |
A pool for allocating reference counted messages.
|
inlinevirtual |
Destruct a message and send it back to the allocator.
Implements etl::ireference_counted_message_pool.