My Project
|
#include <pipeline.hpp>
Public Member Functions | |
Stage ()=default | |
virtual | ~Stage ()=default |
virtual Output | Run (const Input &input)=0 |
void | DoAction () override |
Input & | GetResource () |
Output *& | GetProduct () |
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::LOSTVectorGenerationAlgorithm, found::FeatureDetectionVectorGenerationAlgorithm, found::SimpleEdgeDetectionAlgorithm, found::LoCEdgeDetectionAlgorithm, found::Pipeline< Input, Output >, found::EulerianKinematicProfilingAlgorithm, found::KeplerKinematicProfilingAlgorithm, found::SphericalDistanceDeterminationAlgorithm, found::EllipticDistanceDeterminationAlgorithm, found::EllipticalOrbitDerminationAlgorithm, and found::PrecessionOrbitDeterminationAlgorithm.