|
Roc Toolkit internal modules
Roc Toolkit: real-time audio streaming
|
#include <context.h>
Public Member Functions | |
| Context (const ContextConfig &config, core::IArena &arena) | |
| Initialize. | |
| ~Context () | |
| Deinitialize. | |
| bool | is_valid () |
| Check if successfully constructed. | |
| core::IArena & | arena () |
| Get arena. | |
| packet::PacketFactory & | packet_factory () |
| Get packet factory. | |
| core::BufferFactory< uint8_t > & | byte_buffer_factory () |
| Get byte buffer factory. | |
| core::BufferFactory< audio::sample_t > & | sample_buffer_factory () |
| Get sample buffer factory. | |
| rtp::FormatMap & | format_map () |
| Get format map. | |
| netio::NetworkLoop & | network_loop () |
| Get network event loop. | |
| ctl::ControlLoop & | control_loop () |
| Get control event loop. | |
Public Member Functions inherited from roc::core::RefCounted< Context, core::ManualAllocation > | |
| RefCounted () | |
| Initialize. | |
| RefCounted (const core::ManualAllocation &policy) | |
| Initialize. | |
| int | getref () const |
| Get reference counter. | |
| void | incref () const |
| Increment reference counter. | |
| void | decref () const |
| Decrement reference counter. | |
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 reponsible for destroying it manually. | |
|
explicit |
Initialize.
| roc::node::Context::~Context | ( | ) |
Deinitialize.
| core::IArena & roc::node::Context::arena | ( | ) |
Get arena.
| core::BufferFactory< uint8_t > & roc::node::Context::byte_buffer_factory | ( | ) |
Get byte buffer factory.
| ctl::ControlLoop & roc::node::Context::control_loop | ( | ) |
Get control event loop.
| rtp::FormatMap & roc::node::Context::format_map | ( | ) |
Get format map.
| bool roc::node::Context::is_valid | ( | ) |
Check if successfully constructed.
| netio::NetworkLoop & roc::node::Context::network_loop | ( | ) |
Get network event loop.
| packet::PacketFactory & roc::node::Context::packet_factory | ( | ) |
Get packet factory.
| core::BufferFactory< audio::sample_t > & roc::node::Context::sample_buffer_factory | ( | ) |
Get sample buffer factory.