CommonLibSSE (Parapets fork)
RE::GMemory Class Reference

#include <GMemory.h>

Static Public Member Functions

static void SetGlobalHeap (GMemoryHeap *a_heap)
 
static GMemoryHeapGetGlobalHeap ()
 
static void CreateArena (UPInt a_arena, GSysAllocPaged *a_sysAlloc)
 
static void DestroyArena (UPInt a_arena)
 
static bool ArenaIsEmpty (UPInt a_arena)
 
static void * Alloc (UPInt a_count)
 
static void * Alloc (UPInt a_count, UPInt a_al)
 
static void * AllocAutoHeap (const void *a_ptr, UPInt a_count)
 
static void * AllocAutoHeap (const void *a_ptr, UPInt a_count, UPInt a_al)
 
static void * AllocInHeap (GMemoryHeap *a_heap, UPInt a_count)
 
static void * AllocInHeap (GMemoryHeap *a_heap, UPInt a_count, UPInt a_al)
 
static void * Realloc (void *a_ptr, UPInt a_newCount)
 
static void Free (void *a_ptr)
 
static void FreeInHeap (GMemoryHeap *a_heap, void *a_ptr)
 
static GMemoryHeapGetHeapByAddress (const void *a_ptr)
 
static bool DetectMemoryLeaks ()
 

Static Protected Member Functions

static GMemoryHeap *& GetGlobalHeapRef ()
 

Member Function Documentation

◆ Alloc() [1/2]

static void* RE::GMemory::Alloc ( UPInt  a_count)
static

◆ Alloc() [2/2]

static void* RE::GMemory::Alloc ( UPInt  a_count,
UPInt  a_al 
)
static

◆ AllocAutoHeap() [1/2]

static void* RE::GMemory::AllocAutoHeap ( const void *  a_ptr,
UPInt  a_count 
)
static

◆ AllocAutoHeap() [2/2]

static void* RE::GMemory::AllocAutoHeap ( const void *  a_ptr,
UPInt  a_count,
UPInt  a_al 
)
static

◆ AllocInHeap() [1/2]

static void* RE::GMemory::AllocInHeap ( GMemoryHeap a_heap,
UPInt  a_count 
)
static

◆ AllocInHeap() [2/2]

static void* RE::GMemory::AllocInHeap ( GMemoryHeap a_heap,
UPInt  a_count,
UPInt  a_al 
)
static

◆ ArenaIsEmpty()

static bool RE::GMemory::ArenaIsEmpty ( UPInt  a_arena)
static

◆ CreateArena()

static void RE::GMemory::CreateArena ( UPInt  a_arena,
GSysAllocPaged a_sysAlloc 
)
static

◆ DestroyArena()

static void RE::GMemory::DestroyArena ( UPInt  a_arena)
static

◆ DetectMemoryLeaks()

static bool RE::GMemory::DetectMemoryLeaks ( )
static

◆ Free()

static void RE::GMemory::Free ( void *  a_ptr)
static

◆ FreeInHeap()

static void RE::GMemory::FreeInHeap ( GMemoryHeap a_heap,
void *  a_ptr 
)
static

◆ GetGlobalHeap()

static GMemoryHeap* RE::GMemory::GetGlobalHeap ( )
static

◆ GetGlobalHeapRef()

static GMemoryHeap*& RE::GMemory::GetGlobalHeapRef ( )
staticprotected

◆ GetHeapByAddress()

static GMemoryHeap* RE::GMemory::GetHeapByAddress ( const void *  a_ptr)
static

◆ Realloc()

static void* RE::GMemory::Realloc ( void *  a_ptr,
UPInt  a_newCount 
)
static

◆ SetGlobalHeap()

static void RE::GMemory::SetGlobalHeap ( GMemoryHeap a_heap)
static

The documentation for this class was generated from the following file: