Lunchbox
1.11.0
|
An object allocation pool. More...
#include <pool.h>
Public Member Functions | |
Pool () | |
Construct a new pool. More... | |
virtual | ~Pool () |
Destruct this pool. More... | |
T * | alloc () |
void | release (T *item) |
Release an item for reuse. More... | |
void | flush () |
Delete all cached items. More... | |
An object allocation pool.
|
inline |
|
inlinevirtual |
Destruct this pool.
Definition at line 36 of file pool.h.
References lunchbox::Pool< T, locked >::flush().
|
inline |
|
inline |
Delete all cached items.
Definition at line 60 of file pool.h.
Referenced by lunchbox::Pool< T, locked >::~Pool().
|
inline |