Allocator of blocks which are tracked in a list. More...
#include <b2TrackedBlock.h>
Public Member Functions | |
b2TrackedBlockAllocator () | |
Initialize. | |
~b2TrackedBlockAllocator () | |
Free all allocated blocks. | |
void * | Allocate (uint32 size) |
Allocate a block of size bytes using b2TrackedBlock::Allocate(). | |
void | Free (void *memory) |
Free a block returned by Allocate(). | |
void | FreeAll () |
Free all allocated blocks. | |
const b2TypedIntrusiveListNode < b2TrackedBlock > & | GetList () const |
Allocator of blocks which are tracked in a list.