Roc Toolkit internal modules
Roc Toolkit: real-time audio streaming
|
Allocation policy for objects allocated using IArena. More...
#include <allocation_policy.h>
Public Member Functions | |
ArenaAllocation (IArena &arena) | |
Initialize. More... | |
template<class T > | |
void | destroy (T &object) |
Destroy object and return memory to arena. More... | |
Protected Member Functions | |
IArena & | arena () const |
Get arena. More... | |
Allocation policy for objects allocated using IArena.
Definition at line 23 of file allocation_policy.h.
|
inline |
Initialize.
Definition at line 26 of file allocation_policy.h.
|
inlineprotected |
Get arena.
Definition at line 37 of file allocation_policy.h.
|
inline |
Destroy object and return memory to arena.
Definition at line 31 of file allocation_policy.h.