![]() |
The Gaudi Framework
v26r0
|
#include <GaudiKernel/AllocatorPool.h>

Classes | |
| class | PoolChunk |
| struct | PoolLink |
Public Member Functions | |
| AllocatorPool (unsigned int n=0) | |
| Create a pool of elements of size n. More... | |
| ~AllocatorPool () | |
| Destructor. Return storage to the free store. More... | |
| AllocatorPool (const AllocatorPool &right) | |
| Copy constructor. More... | |
| void * | Alloc () |
| Allocate one element. More... | |
| void | Free (void *b) |
| Return an element back to the pool. More... | |
| unsigned int | Size () const |
| Return storage size. More... | |
| void | Reset () |
| Return storage to the free store. More... | |
Private Member Functions | |
| AllocatorPool & | operator= (const AllocatorPool &right) |
| Private equality operator. More... | |
| void | Grow () |
| Make pool larger. More... | |
Private Attributes | |
| const unsigned int | esize |
| const unsigned int | csize |
| PoolChunk * | chunks |
| PoolLink * | head |
| int | nchunks |
Allocator pool.
Class is imported from Geant4 project
Definition at line 65 of file AllocatorPool.h.
|
explicit |
| GaudiUtils::AllocatorPool::~AllocatorPool | ( | ) |
Destructor. Return storage to the free store.
Definition at line 88 of file AllocatorPool.cpp.
| GaudiUtils::AllocatorPool::AllocatorPool | ( | const AllocatorPool & | right | ) |
|
inline |
|
inline |
|
private |
|
private |
| void GaudiUtils::AllocatorPool::Reset | ( | ) |
|
inline |
|
private |
Definition at line 113 of file AllocatorPool.h.
|
private |
Definition at line 112 of file AllocatorPool.h.
|
private |
Definition at line 111 of file AllocatorPool.h.
|
private |
Definition at line 114 of file AllocatorPool.h.
|
private |
Definition at line 115 of file AllocatorPool.h.