Roc Toolkit internal modules
Roc Toolkit: real-time audio streaming
roc::pipeline::ReceiverPort Class Reference

Receiver port pipeline. More...

#include <receiver_port.h>

Inheritance diagram for roc::pipeline::ReceiverPort:
Collaboration diagram for roc::pipeline::ReceiverPort:

Public Member Functions

 ReceiverPort (const PortConfig &config, const rtp::FormatMap &format_map, core::IAllocator &allocator)
 Initialize. More...
bool valid () const
 Check if the port pipeline was succefully constructed. More...
const PortConfigconfig () const
 Get port config. More...
bool handle (packet::Packet &packet)
 Try to handle packet on this port. More...
- Public Member Functions inherited from roc::core::RefCnt< ReceiverPort >
long getref () const
 Get reference counter. More...
void incref () const
 Increment reference counter. More...
void decref () const
 Decrement reference counter. More...
- Public Member Functions inherited from roc::core::ListNode
ListNodeDatalist_node_data () const
 Get list node data. More...


class core::RefCnt< ReceiverPort >

Detailed Description

Receiver port pipeline.

Created at the receiver side for every listened port.

Definition at line 30 of file receiver_port.h.

Constructor & Destructor Documentation

roc::pipeline::ReceiverPort::ReceiverPort ( const PortConfig config,
const rtp::FormatMap format_map,
core::IAllocator allocator 


Member Function Documentation

const PortConfig& roc::pipeline::ReceiverPort::config ( ) const

Get port config.

bool roc::pipeline::ReceiverPort::handle ( packet::Packet packet)

Try to handle packet on this port.

true if the packet is dedicated for this port
bool roc::pipeline::ReceiverPort::valid ( ) const

Check if the port pipeline was succefully constructed.

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