Torque3D Documentation / _generateds / FreeListChunker

FreeListChunker

Engine/source/core/dataChunker.h

More...

Public Functions

T *
free(T * elem)
freeBlocks(bool keepOne)

Allow people to free all their memory if they want.

Detailed Description

Private Attributes

DataChunker * mChunker 
S32 mElementSize 
T * mFreeListHead 
bool mOwnChunker 

Public Functions

FreeListChunker(DataChunker * inChunker)

FreeListChunker(S32 size)

~FreeListChunker()

alloc()

free(T * elem)

freeBlocks(bool keepOne)

Allow people to free all their memory if they want.