Abstract objects feeder. More...
#include <AbstractFeeder.h>
Public Member Functions | |
| AbstractFeeder () | |
| virtual ObjType * | getCurrentObj () const =0 |
| Return the current sequence object. More... | |
| virtual unsigned int | getCurrentOffset () const =0 |
| Return the index of the current object. More... | |
| virtual unsigned int | getObjsCount () const =0 |
| Return the total number of feeder objects. More... | |
| virtual bool | moveNext ()=0 |
| Advances to the next sequence obeject. More... | |
| virtual bool | moveTo (const unsigned int index)=0 |
| Jump to the given object index. More... | |
| virtual void | reset ()=0 |
| Reset the feeder to the first position (subsequent accesses will start from the first sequence obejct). More... | |
| virtual | ~AbstractFeeder () |
Abstract objects feeder.
Sequential objects feeder to image processing algorithms.
Definition at line 42 of file AbstractFeeder.h.
|
inline |
Definition at line 46 of file AbstractFeeder.h.
|
inlinevirtual |
Definition at line 48 of file AbstractFeeder.h.
|
pure virtual |
Return the current sequence object.
Implemented in te::rp::FeederConstRasterDirectory, te::rp::FeederConstRasterInfoAndVector, te::rp::FeederConstRasterInfo, te::rp::FeederConstRasterVector, and te::rp::FeederConstRaster.
|
pure virtual |
Return the index of the current object.
Implemented in te::rp::FeederConstRasterDirectory, te::rp::FeederConstRasterInfoAndVector, te::rp::FeederConstRasterInfo, te::rp::FeederConstRasterVector, and te::rp::FeederConstRaster.
|
pure virtual |
Return the total number of feeder objects.
Implemented in te::rp::FeederConstRasterDirectory, te::rp::FeederConstRasterInfoAndVector, te::rp::FeederConstRasterInfo, te::rp::FeederConstRasterVector, and te::rp::FeederConstRaster.
|
pure virtual |
Advances to the next sequence obeject.
Implemented in te::rp::FeederConstRasterDirectory, te::rp::FeederConstRasterInfoAndVector, te::rp::FeederConstRasterInfo, te::rp::FeederConstRasterVector, and te::rp::FeederConstRaster.
|
pure virtual |
Jump to the given object index.
Implemented in te::rp::FeederConstRasterDirectory, te::rp::FeederConstRasterInfoAndVector, te::rp::FeederConstRasterInfo, te::rp::FeederConstRasterVector, and te::rp::FeederConstRaster.
|
pure virtual |
Reset the feeder to the first position (subsequent accesses will start from the first sequence obejct).
Implemented in te::rp::FeederConstRasterDirectory, te::rp::FeederConstRasterInfoAndVector, te::rp::FeederConstRasterInfo, te::rp::FeederConstRasterVector, and te::rp::FeederConstRaster.