Roc Toolkit internal modules
Roc Toolkit: real-time audio streaming
Loading...
Searching...
No Matches
roc::pipeline::SenderLoop::Tasks::CreateEndpoint Class Reference

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

#include <sender_loop.h>

Inheritance diagram for roc::pipeline::SenderLoop::Tasks::CreateEndpoint:
roc::pipeline::SenderLoop::Task roc::pipeline::PipelineTask roc::core::MpscQueueNode roc::core::NonCopyable< MpscQueueNode >

Public Member Functions

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

Additional Inherited Members

- Protected Attributes inherited from roc::pipeline::SenderLoop::Task
bool(SenderLoop::* func_ )(Task &)
 Task implementation method.
 
SenderSlotslot_
 Slot.
 
SenderEndpointendpoint_
 Endpoint.
 
address::Interface iface_
 Interface.
 
address::Protocol proto_
 Protocol.
 
packet::IWriterwriter_
 Packet writer.
 
address::SocketAddr addr_
 Endpoint address.
 

Detailed Description

Create endpoint on given interface of the slot.

Definition at line 82 of file sender_loop.h.

Constructor & Destructor Documentation

◆ CreateEndpoint()

roc::pipeline::SenderLoop::Tasks::CreateEndpoint::CreateEndpoint ( SlotHandle  slot,
address::Interface  iface,
address::Protocol  proto 
)

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::CreateEndpoint::get_handle ( ) const

Get created endpoint handle.


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