A feeder from a input rasters vector;.
More...
#include <FeedersRaster.h>
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;.
- Parameters
-
rasters | Input vector of rasters pointers. |
- Note
- The given rasters must always be avaliable.
-
The feeder WILL NOT ACQUIRE the pointers.
te::rp::FeederConstRasterVector::~FeederConstRasterVector |
( |
| ) |
|
te::rp::FeederConstRasterVector::FeederConstRasterVector |
( |
| ) |
|
|
protected |
te::rst::Raster const* te::rp::FeederConstRasterVector::getCurrentObj |
( |
| ) |
const |
|
virtual |
Return the current sequence object.
- Returns
- A pointer to the current object or a null pointer if there are no object to return.
Implements te::rp::FeederConstRaster.
unsigned int te::rp::FeederConstRasterVector::getCurrentOffset |
( |
| ) |
const |
|
virtual |
unsigned int te::rp::FeederConstRasterVector::getObjsCount |
( |
| ) |
const |
|
virtual |
bool te::rp::FeederConstRasterVector::moveNext |
( |
| ) |
|
|
virtual |
Advances to the next sequence obeject.
- Returns
- true if the advance was completed or false if the objects sequence end was reached.
- Note
- This method can invalidate any pointer returned by getCurrentObj.
Implements te::rp::FeederConstRaster.
bool te::rp::FeederConstRasterVector::moveTo |
( |
const unsigned int |
index | ) |
|
|
virtual |
Jump to the given object index.
- Returns
- true if the jump was completed or false on errors.
- Note
- This method can invalidate any pointer returned by getCurrentObj.
Implements te::rp::FeederConstRaster.
void te::rp::FeederConstRasterVector::reset |
( |
| ) |
|
|
virtual |
Reset the feeder to the first position (subsequent accesses will start from the first sequence obejct).
- Note
- This method can invalidate any pointer returned by getCurrentObj.
Implements te::rp::FeederConstRaster.
std::vector< const te::rst::Raster* >::size_type te::rp::FeederConstRasterVector::m_currentOffset |
|
protected |
std::vector< const te::rst::Raster* > te::rp::FeederConstRasterVector::m_rasters |
|
protected |
The documentation for this class was generated from the following file:
- /home/castejon/castejon_files/develop/terralib5/git_master/terralib5/src/terralib/rp/FeedersRaster.h