![]() |
Roc Toolkit internal modules
Roc Toolkit: real-time audio streaming
|
Allocation policy for objects allocated using IPool. More...
#include <roc_core/allocation_policy.h>

Public Member Functions | |
| PoolAllocation (IPool &pool) | |
| Initialize. | |
| template<class T > | |
| void | destroy (T &object) |
| Destroy object and return memory to pool. | |
Protected Member Functions | |
| IPool & | pool () const |
| Get pool. | |
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.
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.