DUNE-DAQ
DUNE Trigger and Data Acquisition software
Loading...
Searching...
No Matches
dunedaq::datahandlinglibs::SkipListLatencyBufferModel< T >::Iterator Struct Reference

#include <SkipListLatencyBufferModel.hpp>

Public Types

using iterator_category = std::forward_iterator_tag
 
using difference_type = std::ptrdiff_t
 
using value_type = T
 
using pointer = T*
 
using reference = T&
 

Public Member Functions

 Iterator (SkipListTAcc &&acc, SkipListTIter iter)
 
reference operator* () const
 
pointer operator-> ()
 
Iteratoroperator++ ()
 
bool good ()
 

Private Attributes

SkipListTAcc m_acc
 
SkipListTIter m_iter
 

Friends

bool operator== (const Iterator &a, const Iterator &b)
 
bool operator!= (const Iterator &a, const Iterator &b)
 

Detailed Description

template<class T>
struct dunedaq::datahandlinglibs::SkipListLatencyBufferModel< T >::Iterator

Definition at line 46 of file SkipListLatencyBufferModel.hpp.

Member Typedef Documentation

◆ difference_type

template<class T >
using dunedaq::datahandlinglibs::SkipListLatencyBufferModel< T >::Iterator::difference_type = std::ptrdiff_t

Definition at line 49 of file SkipListLatencyBufferModel.hpp.

◆ iterator_category

template<class T >
using dunedaq::datahandlinglibs::SkipListLatencyBufferModel< T >::Iterator::iterator_category = std::forward_iterator_tag

Definition at line 48 of file SkipListLatencyBufferModel.hpp.

◆ pointer

template<class T >
using dunedaq::datahandlinglibs::SkipListLatencyBufferModel< T >::Iterator::pointer = T*

Definition at line 51 of file SkipListLatencyBufferModel.hpp.

◆ reference

template<class T >
using dunedaq::datahandlinglibs::SkipListLatencyBufferModel< T >::Iterator::reference = T&

Definition at line 52 of file SkipListLatencyBufferModel.hpp.

◆ value_type

template<class T >
using dunedaq::datahandlinglibs::SkipListLatencyBufferModel< T >::Iterator::value_type = T

Definition at line 50 of file SkipListLatencyBufferModel.hpp.

Constructor & Destructor Documentation

◆ Iterator()

Member Function Documentation

◆ good()

template<class T >
bool dunedaq::datahandlinglibs::SkipListLatencyBufferModel< T >::Iterator::good ( )
inline

Definition at line 70 of file SkipListLatencyBufferModel.hpp.

70{ return m_iter.good(); }

◆ operator*()

template<class T >
reference dunedaq::datahandlinglibs::SkipListLatencyBufferModel< T >::Iterator::operator* ( ) const
inline

Definition at line 59 of file SkipListLatencyBufferModel.hpp.

59{ return *m_iter; }

◆ operator++()

template<class T >
Iterator & dunedaq::datahandlinglibs::SkipListLatencyBufferModel< T >::Iterator::operator++ ( )
inline

Definition at line 61 of file SkipListLatencyBufferModel.hpp.

62 {
63 m_iter++;
64 return *this;
65 }

◆ operator->()

template<class T >
pointer dunedaq::datahandlinglibs::SkipListLatencyBufferModel< T >::Iterator::operator-> ( )
inline

Definition at line 60 of file SkipListLatencyBufferModel.hpp.

60{ return &(*m_iter); }

Friends And Related Symbol Documentation

◆ operator!=

template<class T >
bool operator!= ( const Iterator & a,
const Iterator & b )
friend

Definition at line 68 of file SkipListLatencyBufferModel.hpp.

68{ return a.m_iter != b.m_iter; }

◆ operator==

template<class T >
bool operator== ( const Iterator & a,
const Iterator & b )
friend

Definition at line 67 of file SkipListLatencyBufferModel.hpp.

67{ return a.m_iter == b.m_iter; }

Member Data Documentation

◆ m_acc

template<class T >
SkipListTAcc dunedaq::datahandlinglibs::SkipListLatencyBufferModel< T >::Iterator::m_acc
private

Definition at line 74 of file SkipListLatencyBufferModel.hpp.

◆ m_iter

template<class T >
SkipListTIter dunedaq::datahandlinglibs::SkipListLatencyBufferModel< T >::Iterator::m_iter
private

Definition at line 75 of file SkipListLatencyBufferModel.hpp.


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