Public Member Functions | |
Pool (MetaPool *parent, size_t chunkSize, size_t defaultHeapSize) | |
void | findHeap () |
void * | allocChunk (size_t allocSize) |
size_t | chunkSize () const |
size_t | noOfHeaps () const |
size_t | defaultHeapSize () const |
Protected Types | |
typedef std::vector< Heap *, MallocAllocator< Heap * > > | HeapVector |
Protected Member Functions | |
void | cleanup (Heap *h) |
Protected Attributes | |
Heap * | mCurrentHeap |
Heap * | mSpareHeap |
size_t | mChunkSize |
MetaPool * | mParent |
const size_t | mDefaultHeapSize |
HeapVector | mHeaps |
Friends | |
class LDK_API | Heap |
Definition at line 308 of file Memory.h.