Roc Toolkit internal modules
Roc Toolkit: real-time audio streaming
|
#include <context.h>
Public Member Functions | |
Context (const ContextConfig &config, core::IArena &arena) | |
Initialize. More... | |
~Context () | |
Deinitialize. More... | |
bool | is_valid () |
Check if successfully constructed. More... | |
core::IArena & | arena () |
Get arena. More... | |
core::IPool & | packet_pool () |
Get packet pool. More... | |
core::IPool & | packet_buffer_pool () |
Get packet buffer pool. More... | |
core::IPool & | frame_buffer_pool () |
Get frame buffer pool. More... | |
rtp::EncodingMap & | encoding_map () |
Get encoding map. More... | |
netio::NetworkLoop & | network_loop () |
Get network event loop. More... | |
ctl::ControlLoop & | control_loop () |
Get control event loop. More... | |
Public Member Functions inherited from roc::core::RefCounted< Context, core::ManualAllocation > | |
RefCounted () | |
Initialize. More... | |
RefCounted (const core::ManualAllocation &policy) | |
Initialize. More... | |
int | getref () const |
Get reference counter. More... | |
void | incref () const |
Increment reference counter. More... | |
void | decref () const |
Decrement reference counter. More... | |
Additional Inherited Members | |
Protected Member Functions inherited from roc::core::ManualAllocation | |
template<class T > | |
void | destroy (T &) |
No-op. When SharedPtr or ScopedPtr "destroys" object, nothing happens. The user is responsible for destroying it manually. More... | |
|
explicit |
Initialize.
roc::node::Context::~Context | ( | ) |
Deinitialize.
core::IArena& roc::node::Context::arena | ( | ) |
Get arena.
ctl::ControlLoop& roc::node::Context::control_loop | ( | ) |
Get control event loop.
rtp::EncodingMap& roc::node::Context::encoding_map | ( | ) |
Get encoding map.
core::IPool& roc::node::Context::frame_buffer_pool | ( | ) |
Get frame buffer pool.
bool roc::node::Context::is_valid | ( | ) |
Check if successfully constructed.
netio::NetworkLoop& roc::node::Context::network_loop | ( | ) |
Get network event loop.
core::IPool& roc::node::Context::packet_buffer_pool | ( | ) |
Get packet buffer pool.
core::IPool& roc::node::Context::packet_pool | ( | ) |
Get packet pool.