soma-io
5.0.5
|
Normal allocation mode: allocation in main memory. More...
#include <soma-io/allocator/allocator.h>
Public Member Functions | |
virtual | ~MemoryAllocator () |
virtual char * | allocate (size_t n, size_t elemsize, DataSource *datasource) const |
virtual void | deallocate (char *ptr, size_t n, size_t sz) const |
![]() | |
virtual | ~LowLevelAllocator () |
virtual bool | canDuplicate () const |
Static Public Member Functions | |
static const MemoryAllocator & | singleton () |
Additional Inherited Members | |
![]() | |
LowLevelAllocator () | |
Normal allocation mode: allocation in main memory.
Definition at line 82 of file allocator.h.
|
virtual |
|
virtual |
Implements soma::LowLevelAllocator.
|
virtual |
Implements soma::LowLevelAllocator.
|
static |
Referenced by soma::AllocatorContext::allocate(), and soma::AllocatorContext::deallocate().