VAPoR
0.1
|
#include <DataMgr.h>
Public Member Functions | |
PipeLine (string name, vector< string > inputs, vector< pair< string, DataMgr::VarType_T > > outputs) | |
virtual | ~PipeLine () |
virtual int | Calculate (vector< const RegularGrid * > input_grids, vector< RegularGrid * > output_grids, size_t ts, int reflevel, int lod)=0 |
const string & | GetName () const |
Returns the PipeLine stages name. More... | |
const vector< string > & | GetInputs () const |
Returns the PipeLine inputs. More... | |
const vector< pair< string, DataMgr::VarType_T > > & | GetOutputs () const |
Returns the PipeLine outputs. More... | |
The PipeLine abstract class declares pure virtual methods that may be defined to allow the construction of a data transformation pipeline.
|
inline |
PipeLine stage constructor
[in] | name | an identifier |
[in] | inputs | A list of variable names required as inputs |
[out] | outputs | A list of variable names and variable type pairs that will be output by the Calculate() method. |
|
pure virtual |
Execute the pipeline stage
This pure virtual method is called from the DataMgr whenever a variable is requested whose name matches one of the output variable names. All output variables computed - including the requested one - will be stored in the cache for subsequent retrieval
|
inline |
|
inline |
|
inline |