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

Polymorphic implementation of the Pipeline pattern. More...

Collaboration diagram for Polymorphic pipeline pattern:

Functions

template<typename Generator , typename... Transformers, requires_no_arguments< Generator > = 0>
void grppi::pipeline (polymorphic_execution &ex, Generator &&generate_op, Transformers &&...transform_ops)
 Invoke Pipeline pattern on a data stream with polymorphic execution. More...
 

Detailed Description

Polymorphic implementation of the Pipeline pattern.

Function Documentation

template<typename Generator , typename... Transformers, requires_no_arguments< Generator > = 0>
void grppi::pipeline ( polymorphic_execution ex,
Generator &&  generate_op,
Transformers &&...  transform_ops 
)

Invoke Pipeline pattern on a data stream with polymorphic execution.

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