#include <oscl_error_allocator.h>
Public Methods | |
OsclErrorAllocator (Oscl_DefAlloc *allocator) | |
constructor method | |
void * | operator new (uint32 size, OsclAny *aPtr) |
placement new operator that allocates memory using the user defined methods | |
void | operator delete (OsclAny *aPtr, OsclAny *aPtr2) |
delete operator that doesn't do anything, user has to deallocate manually | |
Static Public Methods | |
OsclAny * | allocate (uint32 aSize) |
static method to allocate a block of memory on heap | |
OsclAny | deallocate (OsclAny *aPointer) |
static method to deallocate a block of memory on heap |
This class must be instantiated before the static methods are called, else asserts will happen
|
constructor method
|
|
static method to allocate a block of memory on heap
|
|
static method to deallocate a block of memory on heap
|
|
delete operator that doesn't do anything, user has to deallocate manually
|
|
placement new operator that allocates memory using the user defined methods
|