|
| fixed_sized_memory_block_allocator () |
| Default constructor.
|
|
| imemory_block_allocator () |
| Default constructor.
|
|
void * | allocate (size_t required_size, size_t required_alignment) |
|
bool | release (const void *const p) |
|
bool | is_owner_of (const void *const p) const |
|
| successor () |
| Default constructor.
|
|
| successor (successor_type &s) |
| Construct from a successor type.
|
|
void | set_successor (successor_type &s) |
| Set the successor.
|
|
void | append_successor (TSuccessor &s) |
| Append a successor.
|
|
void | clear_successor () |
| Clear the successor.
|
|
void | clear_successor_chain () |
| Clear the successor chain.
|
|
successor_type & | get_successor () const |
|
bool | has_successor () const |
| Does this have a successor?
|
|
|
virtual void * | allocate_block (size_t required_size, size_t required_alignment) ETL_OVERRIDE |
| The overridden virtual function to allocate a block. More...
|
|
virtual bool | release_block (const void *const pblock) ETL_OVERRIDE |
| The overridden virtual function to release a block. More...
|
|
virtual bool | is_owner_of_block (const void *const pblock) const ETL_OVERRIDE |
| Returns true if the allocator is the owner of the block. More...
|
|
virtual void * | allocate_block (size_t required_size, size_t required_alignment)=0 |
|
virtual bool | release_block (const void *const)=0 |
|
virtual bool | is_owner_of_block (const void *const) const =0 |
|
template<size_t VBlock_Size, size_t VAlignment, size_t VSize>
class etl::fixed_sized_memory_block_allocator< VBlock_Size, VAlignment, VSize >
The fixed sized memory block pool. The allocated memory blocks are all the same size.