soma-io
5.0.5
|
Abstract base class for actual allocators types. More...
#include <soma-io/allocator/allocator.h>
Public Member Functions | |
virtual | ~LowLevelAllocator () |
virtual char * | allocate (size_t n, size_t elemsize, DataSource *datasource) const =0 |
virtual void | deallocate (char *ptr, size_t n, size_t elemsize) const =0 |
virtual bool | canDuplicate () const |
Protected Member Functions | |
LowLevelAllocator () | |
Abstract base class for actual allocators types.
All subclasses of LowLevelAllocator are singletons, which each provide a singleton() static method to access their unique instance.
Definition at line 62 of file allocator.h.
|
virtual |
|
inlineprotected |
Definition at line 74 of file allocator.h.
Referenced by soma::MappingRWAllocator::canDuplicate().
|
pure virtual |
|
inlinevirtual |
Reimplemented in soma::MappingRWAllocator.
Definition at line 71 of file allocator.h.
|
pure virtual |