![]() |
Roc Toolkit internal modules
Roc Toolkit: real-time audio streaming
|
Receiver endpoint sub-pipeline. More...
#include <receiver_endpoint.h>
Public Member Functions | |
ReceiverEndpoint (address::Protocol proto, ReceiverState &receiver_state, ReceiverSessionGroup &session_group, const rtp::FormatMap &format_map, core::IAllocator &allocator) | |
Initialize. | |
bool | valid () const |
Check if the port pipeline was succefully constructed. | |
address::Protocol | proto () const |
Get protocol. | |
packet::IWriter & | writer () |
Get endpoint writer. | |
void | pull_packets () |
Pull packets writter to endpoint writer. | |
![]() | |
RefCounted () | |
Initialization with default allocation policy. | |
RefCounted (const core::StandardAllocation &policy) | |
Initialization with arbitrary allocation policy. | |
long | getref () const |
Get reference counter. | |
void | incref () const |
Increment reference counter. | |
void | decref () const |
Decrement reference counter. | |
![]() | |
ListNodeData * | list_node_data () const |
Get list node data. | |
Additional Inherited Members | |
![]() | |
IAllocator & | allocator () const |
Get allocator. | |
StandardAllocation () | |
Initialize in invalid state. Such instance wont be usable. | |
StandardAllocation (IAllocator &allocator) | |
Initialize with given allocator. Such instance will use allocator to destroy objects. | |
template<class T > | |
void | destroy (T &object) |
Destroy object and deallocate its memory. | |
Receiver endpoint sub-pipeline.
Contains:
Definition at line 39 of file receiver_endpoint.h.
roc::pipeline::ReceiverEndpoint::ReceiverEndpoint | ( | address::Protocol | proto, |
ReceiverState & | receiver_state, | ||
ReceiverSessionGroup & | session_group, | ||
const rtp::FormatMap & | format_map, | ||
core::IAllocator & | allocator | ||
) |
Initialize.
address::Protocol roc::pipeline::ReceiverEndpoint::proto | ( | ) | const |
Get protocol.
void roc::pipeline::ReceiverEndpoint::pull_packets | ( | ) |
Pull packets writter to endpoint writer.
bool roc::pipeline::ReceiverEndpoint::valid | ( | ) | const |
Check if the port pipeline was succefully constructed.
packet::IWriter & roc::pipeline::ReceiverEndpoint::writer | ( | ) |
Get endpoint writer.