Open Lighting Architecture
|
MemoryBlockPool. This class is not thread safe.
Public Member Functions | |
MemoryBlockPool (unsigned int block_size=DEFAULT_BLOCK_SIZE) | |
MemoryBlock * | Allocate () |
void | Release (MemoryBlock *block) |
unsigned int | FreeBlocks () const |
void | Purge () |
void | Purge (unsigned int remaining) |
unsigned int | BlocksAllocated () const |
Static Public Attributes | |
static const unsigned int | DEFAULT_BLOCK_SIZE = 1024 |