| 
    FOUND
    
   | 
 
A FunctionStage is a data structure that wraps a function, and taking in parameter Input and returning Output. More...
#include <stages.hpp>


Public Member Functions | |
| FunctionStage ()=default | |
| Constructs a new Stage.  | |
| virtual | ~FunctionStage ()=default | 
| Destroys this.  | |
| 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.   | |
  Public Member Functions inherited from found::Stage< const raw_type< Input > &, raw_type< Output > > | |
| virtual raw_type< Output > | Run (const raw_type< Input > & input)=0 | 
| Runs this stage.   | |
Protected Attributes | |
| Input | resource | 
| The stored input for this.  | |
| Output * | product = nullptr | 
| The pointer to the stored output for this.  | |
A FunctionStage 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 | 
      
  | 
  inlineoverridevirtual | 
Executes Run (with a stored input and storing the output)
Implements found::Action.
Reimplemented in found::Pipeline< Input, Output, N >, found::Pipeline< Image, PositionVector, N >, found::Pipeline< Input, Output, DEFAULT_NUM_STAGES >, found::Pipeline< LocationRecords, LocationRecords, N >, found::Pipeline< std::pair< EulerAngles, EulerAngles >, Quaternion, N >, and found::Pipeline< T, T, DEFAULT_NUM_STAGES >.
      
  | 
  inline | 
Returns the stored output of this.
      
  | 
  inline | 
Returns the stored input of this.