23 #ifndef __ccxx_StaticObjectPool_hxx 24 #define __ccxx_StaticObjectPool_hxx 85 struct Link { Link* next; };
91 #include <commonc++/StaticObjectPoolImpl.h++> 95 #endif // __ccxx_StaticObjectPool_hxx A base class for object pools.
Definition: ObjectPool.h++:56
unsigned int uint_t
An alias for unsigned int.
Definition: Integers.h++:74
~StaticObjectPool()
Destructor.
An object pool that allocates (presumably fixed-size) objects in a contiguous memory buffer...
Definition: StaticObjectPool.h++:45
T * reserve()
Reserve an object from the pool.
StaticObjectPool(uint_t size)
Construct a new StaticObjectPool of the given size.
void release(T *elem)
Release an object back to the pool.
Definition: AllocationMap.c++:25
unsigned char byte_t
An unsigned 8-bit value.
Definition: Integers.h++:68