Roc Toolkit internal modules
Roc Toolkit: real-time audio streaming
Loading...
Searching...
No Matches
roc::core::ListNode< Tag > Class Template Reference

Base class for List element. More...

#include <list_node.h>

Inheritance diagram for roc::core::ListNode< Tag >:
roc::core::NonCopyable< Tag > roc::audio::IFrameReader roc::audio::IFrameWriter roc::ctl::BasicControlEndpoint roc::ctl::ControlTask roc::netio::BasicPort roc::packet::Packet roc::pipeline::ReceiverEndpoint roc::pipeline::ReceiverSession roc::pipeline::ReceiverSlot roc::pipeline::SenderSlot roc::sdp::MediaDescription

Public Member Functions

ListDatalist_data () const
 Get pointer to internal data.
 

Static Public Member Functions

static ListNodelist_node (ListData *data)
 Get pointer to parent node from pointer to internal data.
 

Detailed Description

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

Base class for List element.

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

Definition at line 48 of file list_node.h.

Constructor & Destructor Documentation

◆ ~ListNode()

template<class Tag = void>
roc::core::ListNode< Tag >::~ListNode ( )
inline

Definition at line 50 of file list_node.h.

Member Function Documentation

◆ list_data()

template<class Tag = void>
ListData * roc::core::ListNode< Tag >::list_data ( ) const
inline

Get pointer to internal data.

Definition at line 62 of file list_node.h.

◆ list_node()

template<class Tag = void>
static ListNode * roc::core::ListNode< Tag >::list_node ( ListData * data)
inlinestatic

Get pointer to parent node from pointer to internal data.

Definition at line 57 of file list_node.h.


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