|
Roc Toolkit internal modules
Roc Toolkit: real-time audio streaming
|
#include <packet_pool.h>
Public Member Functions | |
| PacketPool (core::IAllocator &allocator, bool poison) | |
| Constructor. More... | |
Public Member Functions inherited from roc::core::Pool< Packet > | |
| Pool (IAllocator &allocator, size_t object_size, bool poison) | |
| Initialization. More... | |
| void * | allocate () |
| Allocate new object. More... | |
| void | deallocate (void *memory) |
| Free previously allocated memory. More... | |
| void | destroy (Packet &object) |
| Destroy object and deallocate its memory. More... | |
Packet pool.
Definition at line 22 of file packet_pool.h.
|
inline |
Constructor.
Definition at line 25 of file packet_pool.h.