Roc Toolkit internal modules
Roc Toolkit: real-time audio streaming
roc::core::MpscQueueNode< Tag > Class Template Reference

Base class for MpscQueue element. More...

#include <mpsc_queue_node.h>

Inheritance diagram for roc::core::MpscQueueNode< Tag >:
roc::core::NonCopyable< MpscQueueNode< void > > roc::ctl::ControlTask roc::netio::NetworkTask roc::packet::Packet roc::pipeline::PipelineTask roc::ctl::ControlLoop::Tasks::AttachSink roc::ctl::ControlLoop::Tasks::AttachSource roc::ctl::ControlLoop::Tasks::BindEndpoint roc::ctl::ControlLoop::Tasks::ConnectEndpoint roc::ctl::ControlLoop::Tasks::CreateEndpoint roc::ctl::ControlLoop::Tasks::DeleteEndpoint roc::ctl::ControlLoop::Tasks::DetachSink roc::ctl::ControlLoop::Tasks::DetachSource roc::ctl::ControlLoop::Tasks::PipelineProcessing roc::netio::NetworkLoop::Tasks::AddTcpClientPort roc::netio::NetworkLoop::Tasks::AddTcpServerPort roc::netio::NetworkLoop::Tasks::AddUdpPort roc::netio::NetworkLoop::Tasks::RemovePort roc::netio::NetworkLoop::Tasks::ResolveEndpointAddress roc::netio::NetworkLoop::Tasks::StartUdpRecv roc::netio::NetworkLoop::Tasks::StartUdpSend roc::pipeline::ReceiverLoop::Task roc::pipeline::SenderLoop::Task

Public Member Functions

MpscQueueDatampsc_queue_data () const
 Get pointer to internal data. More...
 

Static Public Member Functions

static MpscQueueNodempsc_queue_node (MpscQueueData *data)
 Get pointer to parent node from pointer to internal data. More...
 

Detailed Description

template<class Tag = void>
class roc::core::MpscQueueNode< Tag >

Base class for MpscQueue element.

Remarks
Object should inherit this class to be able to be a member of MpscQueue. Tag allows to inherit multiple copies of ListNode and include same object into multiple lists.

Definition at line 43 of file mpsc_queue_node.h.

Member Function Documentation

◆ mpsc_queue_data()

template<class Tag = void>
MpscQueueData* roc::core::MpscQueueNode< Tag >::mpsc_queue_data ( ) const
inline

Get pointer to internal data.

Definition at line 57 of file mpsc_queue_node.h.

◆ mpsc_queue_node()

template<class Tag = void>
static MpscQueueNode* roc::core::MpscQueueNode< Tag >::mpsc_queue_node ( MpscQueueData data)
inlinestatic

Get pointer to parent node from pointer to internal data.

Definition at line 52 of file mpsc_queue_node.h.


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