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

Attach sink to endpoint at given URI. More...

#include <control_loop.h>

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

Public Member Functions

 AttachSink (EndpointHandle endpoint, const address::EndpointUri &uri, pipeline::SenderLoop &sink)
 Set task parameters. 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

Attach sink to endpoint at given URI.

Definition at line 106 of file control_loop.h.

Constructor & Destructor Documentation

◆ AttachSink()

roc::ctl::ControlLoop::Tasks::AttachSink::AttachSink ( EndpointHandle  endpoint,
const address::EndpointUri uri,
pipeline::SenderLoop sink 
)

Set task parameters.


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