Roc Toolkit internal modules
Roc Toolkit: real-time audio streaming
roc::ctl::ControlLoop::Tasks::CreateEndpoint Class Reference

Create endpoint on given interface. More...

#include <control_loop.h>

Inheritance diagram for roc::ctl::ControlLoop::Tasks::CreateEndpoint:
Collaboration diagram for roc::ctl::ControlLoop::Tasks::CreateEndpoint:

Public Member Functions

 CreateEndpoint (address::Interface iface, address::Protocol proto)
 Set task parameters. More...
 
EndpointHandle get_handle () const
 Get handle of the created endpoint. More...
 
- Public Member Functions inherited from roc::ctl::ControlTask
bool completed () const
 True if the task succeeded, failed, or cancelled. More...
 
bool succeeded () const
 True if the task succeeded. More...
 
bool cancelled () const
 True if the task cancelled. More...
 
- Public Member Functions inherited from roc::core::MpscQueueNode
MpscQueueDatampsc_queue_data () const
 Get list node data. More...
 
- Public Member Functions inherited from roc::core::ListNode
ListNodeDatalist_node_data () const
 Get list node data. More...
 

Friends

class ControlLoop
 

Additional Inherited Members

- Protected Member Functions inherited from roc::ctl::ControlTask
template<class E >
 ControlTask (ControlTaskResult(E::*task_func)(ControlTask &))
 Initialize task. More...
 

Detailed Description

Create endpoint on given interface.

Definition at line 42 of file control_loop.h.

Constructor & Destructor Documentation

◆ CreateEndpoint()

roc::ctl::ControlLoop::Tasks::CreateEndpoint::CreateEndpoint ( address::Interface  iface,
address::Protocol  proto 
)

Set task parameters.

Member Function Documentation

◆ get_handle()

EndpointHandle roc::ctl::ControlLoop::Tasks::CreateEndpoint::get_handle ( ) const

Get handle of the created endpoint.


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