Raster Processing algorithm base interface. More...
#include <Algorithm.h>
Public Member Functions | |
virtual bool | execute (AlgorithmOutputParameters &outputParams) _NOEXCEPT_OP(false)=0 |
Executes the algorithm using the supplied parameters. More... | |
const std::string & | getErrorMessage () const |
Return the current error message if there is any. More... | |
virtual bool | initialize (const AlgorithmInputParameters &inputParams) _NOEXCEPT_OP(false)=0 |
Initialize the algorithm instance making it ready for execution. More... | |
virtual bool | isInitialized () const =0 |
Returns true if the algorithm instance is initialized and ready for execution. More... | |
virtual void | reset () _NOEXCEPT_OP(false) |
Clear all internal allocated objects and reset the algorithm to its initial state. More... | |
virtual | ~Algorithm () |
Protected Member Functions | |
Algorithm () | |
void | setErrorMessage (const std::string &newErrorMessage) |
Set the current error message. More... | |
Private Member Functions | |
Algorithm (const Algorithm &) | |
Algorithm & | operator= (const Algorithm &) |
Private Attributes | |
std::string | m_errorMessage |
Current error message. More... | |
Raster Processing algorithm base interface.
Definition at line 41 of file Algorithm.h.
|
virtual |
|
protected |
|
private |
|
pure virtual |
Executes the algorithm using the supplied parameters.
outputParams | Output parameters. |
Implemented in te::rp::Classifier, te::rp::Contrast, te::rp::IHSFusion, te::rp::MixtureModel, te::rp::PCAFusion, te::rp::Register, te::rp::Segmenter, te::rp::SequenceMosaic, te::rp::TiePointsLocator, te::rp::TiePointsMosaic, te::rp::WisperFusion, te::rp::ArithmeticOperations, te::rp::Composition, te::rp::Filter, te::rp::GeoMosaic, te::rp::MajorityFilter, te::rp::PostClassification, te::rp::RasterAttributes, te::rp::Restoration, te::rp::Skeleton, and te::rp::radar::MultiSourceClassifier.
const std::string & te::rp::Algorithm::getErrorMessage | ( | ) | const |
Return the current error message if there is any.
|
pure virtual |
Initialize the algorithm instance making it ready for execution.
inputParams | Input parameters. |
Implemented in te::rp::Classifier, te::rp::Contrast, te::rp::IHSFusion, te::rp::MixtureModel, te::rp::PCAFusion, te::rp::Register, te::rp::Segmenter, te::rp::SequenceMosaic, te::rp::TiePointsLocator, te::rp::TiePointsMosaic, te::rp::WisperFusion, te::rp::ArithmeticOperations, te::rp::Composition, te::rp::Filter, te::rp::GeoMosaic, te::rp::MajorityFilter, te::rp::PostClassification, te::rp::RasterAttributes, te::rp::Restoration, te::rp::Skeleton, and te::rp::radar::MultiSourceClassifier.
|
pure virtual |
Returns true if the algorithm instance is initialized and ready for execution.
Implemented in te::rp::ArithmeticOperations, te::rp::Classifier, te::rp::Composition, te::rp::Contrast, te::rp::Filter, te::rp::GeoMosaic, te::rp::IHSFusion, te::rp::MajorityFilter, te::rp::MixtureModel, te::rp::PCAFusion, te::rp::PostClassification, te::rp::radar::MultiSourceClassifier, te::rp::RasterAttributes, te::rp::Register, te::rp::Restoration, te::rp::Segmenter, te::rp::SequenceMosaic, te::rp::Skeleton, te::rp::TiePointsLocator, te::rp::TiePointsMosaic, and te::rp::WisperFusion.
|
virtual |
Clear all internal allocated objects and reset the algorithm to its initial state.
Reimplemented in te::rp::Classifier, te::rp::Contrast, te::rp::IHSFusion, te::rp::MixtureModel, te::rp::PCAFusion, te::rp::radar::MultiSourceClassifier, te::rp::Register, te::rp::Segmenter, te::rp::SequenceMosaic, te::rp::TiePointsLocator, te::rp::TiePointsMosaic, te::rp::WisperFusion, te::rp::ArithmeticOperations, te::rp::Composition, te::rp::Filter, te::rp::GeoMosaic, te::rp::MajorityFilter, te::rp::PostClassification, te::rp::RasterAttributes, te::rp::Restoration, and te::rp::Skeleton.
|
protected |
Set the current error message.
newErrorMessage | New error message; |
|
private |
Current error message.
Definition at line 104 of file Algorithm.h.