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 >:
Collaboration diagram for roc::core::MpscQueueNode< Tag >:

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: