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

Sender port pipeline. More...

#include <sender_port.h>

Inheritance diagram for roc::pipeline::SenderPort:
Collaboration diagram for roc::pipeline::SenderPort:

Public Member Functions

 SenderPort (const PortConfig &config, packet::IWriter &writer, core::IAllocator &allocator)
 Initialize. More...
bool valid () const
 Check if the port pipeline was succefully constructed. More...
packet::IComposercomposer ()
 Get packet composer. More...
void write (const packet::PacketPtr &packet)
 Write packet. More...

Detailed Description

Sender port pipeline.

Created at the sender side for every sending port.

Definition at line 29 of file sender_port.h.

Constructor & Destructor Documentation

roc::pipeline::SenderPort::SenderPort ( const PortConfig config,
packet::IWriter writer,
core::IAllocator allocator 


Member Function Documentation

packet::IComposer& roc::pipeline::SenderPort::composer ( )

Get packet composer.

bool roc::pipeline::SenderPort::valid ( ) const

Check if the port pipeline was succefully constructed.

void roc::pipeline::SenderPort::write ( const packet::PacketPtr packet)

Write packet.

Implements roc::packet::IWriter.

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