GrPPI  0.2
Generic and Reusable Parallel Pattern Interface
Functions
Sequential pipeline pattern

Sequential implementation of the Pipeline pattern. More...

Collaboration diagram for Sequential pipeline pattern:

Functions

template<typename Generator , typename... Transformers, typename = typename std::result_of<Generator()>::type>
void grppi::pipeline (sequential_execution &ex, Generator &&generator_op, Transformers &&...transform_ops)
 Invoke Pipeline pattern on a data stream with sequential execution. More...
 

Detailed Description

Sequential implementation of the Pipeline pattern.

Function Documentation

template<typename Generator , typename... Transformers, typename = typename std::result_of<Generator()>::type>
void grppi::pipeline ( sequential_execution ex,
Generator &&  generator_op,
Transformers &&...  transform_ops 
)

Invoke Pipeline pattern on a data stream with sequential execution.

Template Parameters
GeneratorCallable type for the stream generator.
TransformersCallable type for each transformation stage.
Parameters
exSequential execution policy object.
generate_opGenerator operation.
trasnform_opsTransformation operations for each stage.