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< Tag >
MpscQueueDatampsc_queue_data () const
 Get pointer to internal data. More...
 
- Public Member Functions inherited from roc::core::ListNode< Tag >
ListDatalist_data () const
 Get pointer to internal data. More...
 

Friends

class ControlLoop
 

Additional Inherited Members

- Static Public Member Functions inherited from roc::core::MpscQueueNode< Tag >
static MpscQueueNodempsc_queue_node (MpscQueueData *data)
 Get pointer to parent node from pointer to internal data. More...
 
- Static Public Member Functions inherited from roc::core::ListNode< Tag >
static ListNodelist_node (ListData *data)
 Get pointer to parent node from pointer to internal data. More...
 
- 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: