Roc Toolkit internal modules
Roc Toolkit: real-time audio streaming
roc::packet::PacketPool Class Reference

Packet pool. More...

#include <packet_pool.h>

Inheritance diagram for roc::packet::PacketPool:
Collaboration diagram for roc::packet::PacketPool:

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...
 

Detailed Description

Packet pool.

Definition at line 22 of file packet_pool.h.

Constructor & Destructor Documentation

roc::packet::PacketPool::PacketPool ( core::IAllocator allocator,
bool  poison 
)
inline

Constructor.

Definition at line 25 of file packet_pool.h.


The documentation for this class was generated from the following file: