LDK::Details::Pool Class Reference

Collaboration diagram for LDK::Details::Pool:

Collaboration graph
[legend]

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

HeapmCurrentHeap
HeapmSpareHeap
size_t mChunkSize
MetaPoolmParent
const size_t mDefaultHeapSize
HeapVector mHeaps

Friends

class LDK_API Heap

Detailed Description

Definition at line 308 of file Memory.h.


The documentation for this class was generated from the following file:
Generated on Fri Aug 17 18:32:28 2007 for LDK by  doxygen 1.5.1