Roc Toolkit internal modules
Roc Toolkit: real-time audio streaming
|
Allocation policy for objects allocated using IPool. More...
#include <allocation_policy.h>
Public Member Functions | |
PoolAllocation (IPool &pool) | |
Initialize. More... | |
template<class T > | |
void | destroy (T &object) |
Destroy object and return memory to pool. More... | |
Protected Member Functions | |
IPool & | pool () const |
Get pool. More... | |
Allocation policy for objects allocated using IPool.
Definition at line 46 of file allocation_policy.h.
|
inline |
Initialize.
Definition at line 49 of file allocation_policy.h.
|
inline |
Destroy object and return memory to pool.
Definition at line 54 of file allocation_policy.h.
|
inlineprotected |
Get pool.
Definition at line 60 of file allocation_policy.h.