| soma-io
    5.1.2
    | 
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.
| 
 | pure virtual | 
Implemented in soma::MappingRWAllocator, soma::MappingROAllocator, soma::MappingCopyAllocator, soma::NullAllocator, and soma::MemoryAllocator.
Referenced by soma::AllocatorContext::allocate().
| 
 | inlinevirtual | 
Reimplemented in soma::MappingRWAllocator.
Definition at line 71 of file allocator.h.
| 
 | pure virtual | 
Implemented in soma::MappingRWAllocator, soma::MappingROAllocator, soma::MappingCopyAllocator, soma::NullAllocator, and soma::MemoryAllocator.
Referenced by soma::AllocatorContext::deallocate().