#include <CustomAllocator.h>
Definition at line 15 of file CustomAllocator.h.
◆ CustomAllocator() [1/2]
| samurai::memory::CustomAllocator::CustomAllocator |
( |
| ) |
|
|
default |
◆ CustomAllocator() [2/2]
| samurai::memory::CustomAllocator::CustomAllocator |
( |
void * | baseMemory, |
|
|
size_t | memorySize ) |
|
inline |
◆ allocate()
| void * samurai::memory::CustomAllocator::allocate |
( |
size_t | size | ) |
|
◆ calculateMemoryMetrics()
| void samurai::memory::CustomAllocator::calculateMemoryMetrics |
( |
size_t & | availableMemory, |
|
|
size_t & | biggestBlock, |
|
|
int & | freeBlocks ) |
◆ free()
| void samurai::memory::CustomAllocator::free |
( |
void * | mem | ) |
|
◆ getEnd()
| size_t samurai::memory::CustomAllocator::getEnd |
( |
| ) |
|
|
inlineprivate |
◆ init()
| void samurai::memory::CustomAllocator::init |
( |
void * | baseMemory, |
|
|
size_t | memorySize ) |
◆ baseMemory
| char* samurai::memory::CustomAllocator::baseMemory = 0 |
◆ end
| void* samurai::memory::CustomAllocator::end = 0 |
|
private |
◆ heapSize
| size_t samurai::memory::CustomAllocator::heapSize = 0 |
◆ originalBaseMemory
| void* samurai::memory::CustomAllocator::originalBaseMemory = 0 |
◆ returnZeroIfNoMoreMemory
| bool samurai::memory::CustomAllocator::returnZeroIfNoMoreMemory = false |
The documentation for this struct was generated from the following files: