Detailed Description
MemoryBlockPool. This class is not thread safe.
- Parameters
-
| block_size | the size of blocks to use. |
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 |
The documentation for this class was generated from the following file: