gatb.core-API-0.0.0
|
Implementation of IMemoryAllocator interface using standard system functions. More...
#include <MemoryCommon.hpp>
Public Member Functions | |
void * | malloc (BlockSize_t size) |
void * | calloc (size_t nmemb, BlockSize_t size) |
void * | realloc (void *ptr, BlockSize_t size) |
void | free (void *ptr) |
Public Member Functions inherited from IMemoryAllocator | |
virtual | ~IMemoryAllocator () |
Static Public Member Functions | |
static IMemoryAllocator & | singleton () |
Additional Inherited Members | |
Public Types inherited from IMemoryAllocator | |
typedef u_int64_t | BlockSize_t |
typedef u_int64_t | TotalSize_t |
Implementation of IMemoryAllocator interface using standard system functions.
This implementation provides a few methods common to all operating systems. It uses functions from stdlib.h
|
inlinevirtual |
See calloc documentation.
Implements IMemoryAllocator.
|
inlinevirtual |
See free documentation.
Implements IMemoryAllocator.
|
inlinevirtual |
See malloc documentation.
Implements IMemoryAllocator.
|
inlinevirtual |
See realloc documentation.
Implements IMemoryAllocator.
|
inlinestatic |
Singleton.