#include <Pool.H>
Collaboration diagram for Pool:
Public Methods | |
Pool (int ptrSize, const char *name="unnamed", int poolSize=100, int alignment=sizeof(int)) | |
~Pool () | |
void * | getPtr () |
void | returnPtr (void *ptr) |
long | memUsage () const |
void | clear () |
Public Attributes | |
char | name_ [64] |
Static Public Attributes | |
PoolList * | poolList_ |
Private Methods | |
void * | getMoreMemory () |
Pool (const Pool &rhs) | |
const Pool & | operator= (const Pool &rhs) |
Not implemented. | |
Private Attributes | |
Vector< char * > | pool_ |
int | ptrSize_ |
int | poolSize_ |
int | alignment_ |
void * | next_ |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
Not implemented.
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|