Roc Toolkit internal modules
Roc Toolkit: real-time audio streaming
roc::pipeline::SenderLoop::Tasks::AddEndpoint Class Reference

Create endpoint on given interface of the slot. More...

#include <sender_loop.h>

Inheritance diagram for roc::pipeline::SenderLoop::Tasks::AddEndpoint:
Collaboration diagram for roc::pipeline::SenderLoop::Tasks::AddEndpoint:

Public Member Functions

 AddEndpoint (SlotHandle slot, address::Interface iface, address::Protocol proto, const address::SocketAddr &dest_address, packet::IWriter &dest_writer)
 Set task parameters. More...
 
EndpointHandle get_handle () const
 Get created endpoint handle. More...
 
- Public Member Functions inherited from roc::pipeline::PipelineTask
bool success () const
 Check that the task finished and succeeded. More...
 
- Public Member Functions inherited from roc::core::MpscQueueNode
MpscQueueDatampsc_queue_data () const
 Get list node data. More...
 

Additional Inherited Members

- Protected Attributes inherited from roc::pipeline::SenderLoop::Task
bool(SenderLoop::* func_ )(Task &)
 Task implementation method. More...
 
SenderSlotslot_
 Slot. More...
 
SenderEndpointendpoint_
 Endpoint. More...
 
address::Interface iface_
 Interface. More...
 
address::Protocol proto_
 Protocol. More...
 
address::SocketAddr address_
 Destination address. More...
 
packet::IWriterwriter_
 Destination writer. More...
 
SenderSlotMetricsslot_metrics_
 Output for slot metrics. More...
 
SenderSessionMetricssess_metrics_
 Output for session metrics. More...
 

Detailed Description

Create endpoint on given interface of the slot.

Definition at line 103 of file sender_loop.h.

Constructor & Destructor Documentation

◆ AddEndpoint()

roc::pipeline::SenderLoop::Tasks::AddEndpoint::AddEndpoint ( SlotHandle  slot,
address::Interface  iface,
address::Protocol  proto,
const address::SocketAddr dest_address,
packet::IWriter dest_writer 
)

Set task parameters.

Remarks
Each slot can have one source and zero or one repair endpoint. The protocols of endpoints in one slot should be compatible.

Member Function Documentation

◆ get_handle()

EndpointHandle roc::pipeline::SenderLoop::Tasks::AddEndpoint::get_handle ( ) const

Get created endpoint handle.


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