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

Base class for List element. More...

#include <list_node.h>

Inheritance diagram for roc::core::ListNode< Tag >:
Collaboration diagram for roc::core::ListNode< Tag >:

Public Member Functions

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

Static Public Member Functions

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

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.

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: