pelican/examples/reference/src/PipelineExample.cpp
// Defines a single iteration of the pipeline.
// This performs the operation on the two vectors x and y such that
// the output is given by x * (x + y)
Defines a single iteration of the pipeline.
This performs the operation on the two vectors x and y such that
the output is given by x * (x + y)
Defines a single iteration of the pipeline . This performs the operation on the two vectors x and y such that the output is given by x * ( x + y )
void PipelineExample::run(QHash<QString, DataBlob*>& remoteData)
{
    DataBlobExample1* x = (DataBlobExample1*) remoteData["DataBlobExample1"];
    DataBlobExample2* y = (DataBlobExample2*) remoteData["DataBlobExample2"];
    adder->run(x, y, outputData);
    multiplier->run(x, outputData, outputData);
}
void PipelineExample :: run ( QHash < QString , DataBlob * > & remoteData ) { DataBlobExample1 * x = ( DataBlobExample1 * ) remoteData [ " " ] ; DataBlobExample2 * y = ( DataBlobExample2 * ) remoteData [ " " ] ; adder -> run ( x , y , outputData ) ; multiplier -> run ( x , outputData , outputData ) ; }
Defines a single iteration of the pipeline.
Defines a single iteration of the pipeline .
// Get pointers to the remote data blobs from the supplied hash. // Run each module as required.