FOUND
|
A Stage is a data structure that wraps a function, and taking in parameter Input and returning Output. More...
#include <pipeline.hpp>
Public Member Functions | |
Stage ()=default | |
Constructs a new Stage. | |
virtual | ~Stage ()=default |
Destroys this. | |
virtual Output | Run (const Input &input)=0 |
Runs this stage. | |
void | DoAction () override |
Executes Run (with a stored input and storing the output) | |
Input & | GetResource () |
Returns the stored input of this. | |
Output *& | GetProduct () |
Returns the stored output of this. | |
Protected Attributes | |
Input | resource |
The stored input for this. | |
Output * | product |
The pointer to the stored output for this. | |
A Stage is a data structure that wraps a function, and taking in parameter Input and returning Output.
Input | The parameter to accept to the Run function |
Output | The parameter to return from the Run function |
|
default |
Constructs a new Stage.
|
virtualdefault |
Destroys this.
|
inlineoverridevirtual |
Executes Run (with a stored input and storing the output)
Implements found::Action.
|
inline |
Returns the stored output of this.
|
inline |
Returns the stored input of this.
|
pure virtual |
Runs this stage.
input | The input to the stage |
Implemented in found::SimpleEdgeDetectionAlgorithm, found::LoCEdgeDetectionAlgorithm, found::Pipeline< Input, Output >, found::ApproximateOrbitPropagationAlgorithm, found::SphericalDistanceDeterminationAlgorithm, found::IterativeSphericalDistanceDeterminationAlgorithm, found::EllipticDistanceDeterminationAlgorithm, found::LOSTVectorGenerationAlgorithm, found::FeatureDetectionVectorGenerationAlgorithm, and found::LOSTCalibrationAlgorithm.
|
protected |
The pointer to the stored output for this.
|
protected |
The stored input for this.