const Bidirectional iterator for laser data
More...
#include <GpuLaserDataIterator.hh>
|
| 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 More...
|
|
template<typename F>
class gazebo::rendering::GpuLaserDataIterator< F >
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 |
( |
const unsigned int |
_index, |
|
|
const float * |
_data, |
|
|
const unsigned int |
_skip, |
|
|
const unsigned int |
_rangeOffset, |
|
|
const unsigned int |
_intensityOffset, |
|
|
const unsigned int |
_horizontalResolution |
|
) |
| |
|
protected |
contstruct an iterator to a specified index
Operator !=.
- Parameters
-
[in] | _rvalue | The iterator on the right of the != |
- Returns
- true iff the iterators point to different readings
Dereference operator *iter.
- Returns
- A struct of laser data
Advance iterator to next reading (prefix: ++it)
- Returns
- reference to this pointer after advancing
Advance this iterator (postfix: it++)
- Parameters
-
[in] | _dummy | does nothing, required for postfix overload |
- Returns
- a copy of this iterator prior to advancing
Move itereator to previous (prefix: –it)
- Returns
- reference to this pointer after moving
Move itereator to previous (postfix: it–)
- Parameters
-
[in] | _dummy | does nothing, required for postfix overload |
- Returns
- a copy of this iterator prior to moving
const std::unique_ptr< const GpuLaserData > operator-> |
( |
| ) |
const |
Dereference operator iter->
- Returns
- a shared pointer object at the iterator's index
Operator ==.
- Parameters
-
[in] | _rvalue | The iterator on the right of the == |
- Returns
- true iff the iterators point to the same reading
The documentation for this class was generated from the following files: