DABC (Data Acquisition Backbone Core)  2.9.9
Public Member Functions | Private Member Functions | Private Attributes | Friends
dabc::Queue< T, canexpand >::Iterator Class Reference

#include <dabc/Queue.h>

Public Member Functions

 Iterator ()=default
 
 Iterator (const Iterator &src)
 
bool operator!= (const Iterator &src) const
 
T * operator() () const
 
Iteratoroperator++ ()
 
void operator++ (int)
 
Iteratoroperator= (const Iterator &src)
 
bool operator== (const Iterator &src) const
 

Private Member Functions

 Iterator (Queue< T, canexpand > *_prnt, T *_item, unsigned _loop)
 

Private Attributes

T * item {nullptr}
 
unsigned loop {0}
 
Queue< T, canexpand > * prnt {nullptr}
 

Friends

class Queue< T, canexpand >
 

Detailed Description

template<class T, bool canexpand = false>
class dabc::Queue< T, canexpand >::Iterator

Definition at line 44 of file Queue.h.

Constructor & Destructor Documentation

◆ Iterator() [1/3]

template<class T , bool canexpand = false>
dabc::Queue< T, canexpand >::Iterator::Iterator ( Queue< T, canexpand > *  _prnt,
T *  _item,
unsigned  _loop 
)
inlineprivate

Definition at line 52 of file Queue.h.

◆ Iterator() [2/3]

template<class T , bool canexpand = false>
dabc::Queue< T, canexpand >::Iterator::Iterator ( )
default

◆ Iterator() [3/3]

template<class T , bool canexpand = false>
dabc::Queue< T, canexpand >::Iterator::Iterator ( const Iterator src)
inline

Definition at line 57 of file Queue.h.

Member Function Documentation

◆ operator()()

template<class T , bool canexpand = false>
T* dabc::Queue< T, canexpand >::Iterator::operator() ( ) const
inline

Definition at line 59 of file Queue.h.

◆ operator==()

template<class T , bool canexpand = false>
bool dabc::Queue< T, canexpand >::Iterator::operator== ( const Iterator src) const
inline

Definition at line 61 of file Queue.h.

◆ operator!=()

template<class T , bool canexpand = false>
bool dabc::Queue< T, canexpand >::Iterator::operator!= ( const Iterator src) const
inline

Definition at line 62 of file Queue.h.

◆ operator=()

template<class T , bool canexpand = false>
Iterator& dabc::Queue< T, canexpand >::Iterator::operator= ( const Iterator src)
inline

Definition at line 64 of file Queue.h.

◆ operator++() [1/2]

template<class T , bool canexpand = false>
Iterator& dabc::Queue< T, canexpand >::Iterator::operator++ ( )
inline

Definition at line 67 of file Queue.h.

◆ operator++() [2/2]

template<class T , bool canexpand = false>
void dabc::Queue< T, canexpand >::Iterator::operator++ ( int  )
inline

Definition at line 74 of file Queue.h.

Friends And Related Function Documentation

◆ Queue< T, canexpand >

template<class T , bool canexpand = false>
friend class Queue< T, canexpand >
friend

Definition at line 328 of file Queue.h.

Field Documentation

◆ prnt

template<class T , bool canexpand = false>
Queue<T,canexpand>* dabc::Queue< T, canexpand >::Iterator::prnt {nullptr}
private

Definition at line 48 of file Queue.h.

◆ item

template<class T , bool canexpand = false>
T* dabc::Queue< T, canexpand >::Iterator::item {nullptr}
private

Definition at line 49 of file Queue.h.

◆ loop

template<class T , bool canexpand = false>
unsigned dabc::Queue< T, canexpand >::Iterator::loop {0}
private

Definition at line 50 of file Queue.h.


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