const Bidirectional iterator for laser data More...
#include <GpuLaserDataIterator.hh>
Public Member Functions | |
~GpuLaserDataIterator () | |
Destructor. | |
bool | operator!= (const GpuLaserDataIterator &_rvalue) const |
Operator !=. | |
const GpuLaserData | operator* () const |
Dereference operator *iter. | |
GpuLaserDataIterator< F > & | operator++ () |
Advance iterator to next reading (prefix: ++it) | |
GpuLaserDataIterator< F > | operator++ (int _dummy) |
Advance this iterator (postfix: it++) | |
GpuLaserDataIterator< F > & | operator-- () |
Move itereator to previous (prefix: –it) | |
GpuLaserDataIterator< F > | operator-- (int _dummy) |
Move itereator to previous (postfix: it–) | |
const std::unique_ptr< const GpuLaserData > | operator-> () const |
Dereference operator iter-> | |
bool | operator== (const GpuLaserDataIterator &_rvalue) const |
Operator ==. | |
Public Attributes | |
friend | F |
Protected Member Functions | |
GpuLaserDataIterator (const unsigned int _index, const float *_data, const unsigned int _skip, const unsigned int _rangeOffset, const unsigned int _intensityOffset, const unsigned int _horizontalResolution) | |
contstruct an iterator to a specified index | |
const Bidirectional iterator for laser data
This class contains the information needed to access Laser Data It implements a Bidirectional Input iterator http://www.cplusplus.com/reference/iterator/BidirectionalIterator/ The compiler should optimize out calls to this class
~GpuLaserDataIterator | ( | ) |
Destructor.
|
protected |
contstruct an iterator to a specified index
Referenced by operator!=(), operator++(), operator++(), operator--(), and operator==().
bool operator!= | ( | const GpuLaserDataIterator< F > & | _rvalue | ) | const |
Operator !=.
[in] | _rvalue | The iterator on the right of the != |
References GpuLaserDataIterator().
const GpuLaserData operator* | ( | ) | const |
Dereference operator *iter.
GpuLaserDataIterator< F > & operator++ | ( | ) |
Advance iterator to next reading (prefix: ++it)
References GpuLaserDataIterator().
GpuLaserDataIterator< F > operator++ | ( | int | _dummy | ) |
Advance this iterator (postfix: it++)
[in] | _dummy | does nothing, required for postfix overload |
References GpuLaserDataIterator().
GpuLaserDataIterator< F > & operator-- | ( | ) |
Move itereator to previous (prefix: –it)
GpuLaserDataIterator< F > operator-- | ( | int | _dummy | ) |
Move itereator to previous (postfix: it–)
[in] | _dummy | does nothing, required for postfix overload |
References GpuLaserDataIterator().
const std::unique_ptr< const GpuLaserData > operator-> | ( | ) | const |
Dereference operator iter->
bool operator== | ( | const GpuLaserDataIterator< F > & | _rvalue | ) | const |
Operator ==.
[in] | _rvalue | The iterator on the right of the == |
References GpuLaserDataIterator().
friend F |