A feeder from a input rasters vector;. More...
#include <FeedersRaster.h>
Public Member Functions | |
| FeederConstRasterVector (const std::vector< const te::rst::Raster * > rasters) | |
| Constructor from a vector of input rasters pointers;. More... | |
| te::rst::Raster const * | getCurrentObj () const |
| Return the current sequence object. More... | |
| unsigned int | getCurrentOffset () const |
| Return the index of the current object. More... | |
| unsigned int | getObjsCount () const |
| Return the total number of feeder objects. More... | |
| bool | moveNext () |
| Advances to the next sequence obeject. More... | |
| bool | moveTo (const unsigned int index) |
| Jump to the given object index. More... | |
| void | reset () |
| Reset the feeder to the first position (subsequent accesses will start from the first sequence obejct). More... | |
| ~FeederConstRasterVector () | |
Protected Member Functions | |
| FeederConstRasterVector () | |
Protected Attributes | |
| std::vector< const te::rst::Raster * >::size_type | m_currentOffset |
| std::vector< const te::rst::Raster * > | m_rasters |
A feeder from a input rasters vector;.
Definition at line 69 of file FeedersRaster.h.
| te::rp::FeederConstRasterVector::FeederConstRasterVector | ( | const std::vector< const te::rst::Raster * > | rasters | ) |
Constructor from a vector of input rasters pointers;.
| rasters | Input vector of rasters pointers. |
Definition at line 40 of file FeedersRaster.cpp.
| te::rp::FeederConstRasterVector::~FeederConstRasterVector | ( | ) |
Definition at line 51 of file FeedersRaster.cpp.
|
protected |
Definition at line 46 of file FeedersRaster.cpp.
|
virtual |
Return the current sequence object.
Implements te::rp::FeederConstRaster.
Definition at line 55 of file FeedersRaster.cpp.
References m_currentOffset, and m_rasters.
|
virtual |
Return the index of the current object.
Implements te::rp::FeederConstRaster.
Definition at line 97 of file FeedersRaster.cpp.
References m_currentOffset.
|
virtual |
Return the total number of feeder objects.
Implements te::rp::FeederConstRaster.
Definition at line 92 of file FeedersRaster.cpp.
References m_rasters.
|
virtual |
Advances to the next sequence obeject.
Implements te::rp::FeederConstRaster.
Definition at line 61 of file FeedersRaster.cpp.
References m_currentOffset, and m_rasters.
|
virtual |
Jump to the given object index.
Implements te::rp::FeederConstRaster.
Definition at line 74 of file FeedersRaster.cpp.
References m_currentOffset, and m_rasters.
|
virtual |
Reset the feeder to the first position (subsequent accesses will start from the first sequence obejct).
Implements te::rp::FeederConstRaster.
Definition at line 87 of file FeedersRaster.cpp.
References m_currentOffset.
|
protected |
Definition at line 93 of file FeedersRaster.h.
Referenced by getCurrentObj(), getCurrentOffset(), moveNext(), moveTo(), and reset().
|
protected |
Definition at line 94 of file FeedersRaster.h.
Referenced by getCurrentObj(), getObjsCount(), moveNext(), and moveTo().