arduino-audio-tools
Loading...
Searching...
No Matches
ListLockFree< T >::Iterator Class Reference

#include <ListLockFree.h>

Public Member Functions

 Iterator (Node *node)
Node * get_node ()
 operator bool () const
bool operator!= (const Iterator &it) const
T & operator* ()
Iterator operator+ (int offset)
Iterator operator++ ()
Iterator operator++ (int)
Iterator operator- (int offset)
Iterator operator-- ()
Iterator operator-- (int)
T * operator-> ()
bool operator== (const Iterator &it) const
void set_owner (ListLockFree *owner_ptr)

Protected Member Functions

Iterator getIteratorAtOffset (int offset)

Protected Attributes

bool is_eof = false
Node * node = nullptr
ListLockFree * owner = nullptr

Constructor & Destructor Documentation

◆ Iterator()

template<class T>
Iterator ( Node * node)
inline

Member Function Documentation

◆ get_node()

template<class T>
Node * get_node ( )
inline

◆ getIteratorAtOffset()

template<class T>
Iterator getIteratorAtOffset ( int offset)
inlineprotected

◆ operator bool()

template<class T>
operator bool ( ) const
inline

◆ operator!=()

template<class T>
bool operator!= ( const Iterator & it) const
inline

◆ operator*()

template<class T>
T & operator* ( )
inline

◆ operator+()

template<class T>
Iterator operator+ ( int offset)
inline

◆ operator++() [1/2]

template<class T>
Iterator operator++ ( )
inline

◆ operator++() [2/2]

template<class T>
Iterator operator++ ( int )
inline

◆ operator-()

template<class T>
Iterator operator- ( int offset)
inline

◆ operator--() [1/2]

template<class T>
Iterator operator-- ( )
inline

◆ operator--() [2/2]

template<class T>
Iterator operator-- ( int )
inline

◆ operator->()

template<class T>
T * operator-> ( )
inline

◆ operator==()

template<class T>
bool operator== ( const Iterator & it) const
inline

◆ set_owner()

template<class T>
void set_owner ( ListLockFree * owner_ptr)
inline

Member Data Documentation

◆ is_eof

template<class T>
bool is_eof = false
protected

◆ node

template<class T>
Node* node = nullptr
protected

◆ owner

template<class T>
ListLockFree* owner = nullptr
protected

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