ScummVM API documentation
dgMemoryAllocator Class Reference

Classes

class  dgMemDirectory
 
class  dgMemoryBin
 
class  dgMemoryCacheEntry
 
class  dgMemoryInfo
 

Public Member Functions

void * operator new (size_t size)
 
void operator delete (void *const ptr)
 
dgInt32 GetMemoryUsed () const
 
void SetAllocatorsCallback (dgMemAlloc memAlloc, dgMemFree memFree)
 
void * MallocLow (dgInt32 size, dgInt32 alignment=memoryGranularity)
 
void FreeLow (void *const retPtr)
 
void * Malloc (dgInt32 memsize)
 
void Free (void *const retPtr)
 

Protected Member Functions

 dgMemoryAllocator (dgMemAlloc memAlloc, dgMemFree memFree)
 

Protected Attributes

dgInt32 m_emumerator
 
dgInt32 m_memoryUsed
 
dgMemFree m_free
 
dgMemAlloc m_malloc
 
dgMemDirectory m_memoryDirectory [memoryBinEntries+1]
 

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