doom3-gpl
Doom 3 GPL source release
|
#include <Heap.h>
Public Member Functions | |
idDynamicAlloc (void) | |
~idDynamicAlloc (void) | |
void | Init (void) |
void | Shutdown (void) |
void | SetFixedBlocks (int numBlocks) |
void | SetLockMemory (bool lock) |
void | FreeEmptyBaseBlocks (void) |
type * | Alloc (const int num) |
type * | Resize (type *ptr, const int num) |
void | Free (type *ptr) |
const char * | CheckMemory (const type *ptr) const |
int | GetNumBaseBlocks (void) const |
int | GetBaseBlockMemory (void) const |
int | GetNumUsedBlocks (void) const |
int | GetUsedBlockMemory (void) const |
int | GetNumFreeBlocks (void) const |
int | GetFreeBlockMemory (void) const |
int | GetNumEmptyBaseBlocks (void) const |
Private Member Functions | |
void | Clear (void) |
Private Attributes | |
int | numUsedBlocks |
int | usedBlockMemory |
int | numAllocs |
int | numResizes |
int | numFrees |
idDynamicAlloc< type, baseBlockSize, minBlockSize >::idDynamicAlloc | ( | void | ) |
idDynamicAlloc< type, baseBlockSize, minBlockSize >::~idDynamicAlloc | ( | void | ) |
type * idDynamicAlloc< type, baseBlockSize, minBlockSize >::Alloc | ( | const int | num | ) |
const char * idDynamicAlloc< type, baseBlockSize, minBlockSize >::CheckMemory | ( | const type * | ptr | ) | const |
|
private |
void idDynamicAlloc< type, baseBlockSize, minBlockSize >::Free | ( | type * | ptr | ) |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
void idDynamicAlloc< type, baseBlockSize, minBlockSize >::Init | ( | void | ) |
|
inline |
|
inline |
void idDynamicAlloc< type, baseBlockSize, minBlockSize >::Shutdown | ( | void | ) |
|
private |
|
private |
|
private |
|
private |
|
private |