Pool Class Reference

#include <Pool.h>

List of all members.

Public Member Functions

 Pool ()
 Pool (size_t)
 ~Pool ()
void * alloc ()
void free (void *b)

Static Public Member Functions

static size_t log2_align ()
static size_t align ()
static size_t align_mask ()
static size_t round_to_align (size_t s)


Detailed Description

Definition at line 26 of file Pool.h.


Constructor & Destructor Documentation

Pool::Pool  ) 
 

Definition at line 34 of file Pool.cpp.

Pool::Pool size_t   ) 
 

Definition at line 43 of file Pool.cpp.

Pool::~Pool  ) 
 

Definition at line 52 of file Pool.cpp.

References PInsist.


Member Function Documentation

static size_t Pool::align  )  [inline, static]
 

Definition at line 39 of file Pool.h.

References log2_align().

Referenced by align_mask(), and round_to_align().

Here is the call graph for this function:

static size_t Pool::align_mask  )  [inline, static]
 

Definition at line 40 of file Pool.h.

References align().

Referenced by round_to_align().

Here is the call graph for this function:

void* Pool::alloc  )  [inline]
 

Definition at line 62 of file Pool.h.

Referenced by Pooled< LField< T, Dim > >::operator new().

void Pool::free void *  b  )  [inline]
 

Definition at line 80 of file Pool.h.

Referenced by Pooled< LField< T, Dim > >::operator delete().

static size_t Pool::log2_align  )  [inline, static]
 

Definition at line 38 of file Pool.h.

Referenced by align().

static size_t Pool::round_to_align size_t  s  )  [inline, static]
 

Definition at line 42 of file Pool.h.

References align(), and align_mask().

Here is the call graph for this function:


The documentation for this class was generated from the following files:
Generated on Mon Jan 16 14:45:31 2006 for IPPL by  doxygen 1.4.6