Class LinkedListAllocator#

Class Documentation#

class LinkedListAllocator#

Public Functions

void Destroy()#
void *Alloc(size_t i_size)#
void *Alloc(size_t i_size, size_t i_align)#
bool Free(void *i_pMemory)#
void Collect()#
bool Contains(void *i_pMemory) const#
bool IsAllocated(void *i_pMemory) const#
size_t GetLargestFreeBlock() const#
size_t GetTotalFreeMemory() const#
void ShowFreeBlocks() const#
void ShowOutstandingAllocations() const#

Public Static Functions

static LinkedListAllocator *Get()#
static LinkedListAllocator *Create(void *i_pMemoryAddress, size_t i_bytes, unsigned int i_numDescriptors)#
static LinkedListAllocator *Create(size_t i_bytes, unsigned int i_numDescriptors)#