Interface for applyinng the Pipeline pattern.
More...
|
template<typename Execution , typename Generator , typename... Transformers, requires_execution_supported< Execution > = 0> |
void | grppi::pipeline (const Execution &ex, Generator &&generate_op, Transformers &&...transform_ops) |
| Invoke Pipeline pattern on a data stream. More...
|
|
template<typename Generator , typename... Transformers, typename Consumer > |
auto | grppi::pipeline (Generator &&generate_op, Transformers &&...transform_ops, Consumer &&consume_op) |
| Build a composable Pipeline pattern representation that can be composed in other streaming patterns. More...
|
|
Interface for applyinng the Pipeline pattern.
template<typename Execution , typename Generator , typename... Transformers, requires_execution_supported< Execution > = 0>
void grppi::pipeline |
( |
const Execution & |
ex, |
|
|
Generator && |
generate_op, |
|
|
Transformers &&... |
transform_ops |
|
) |
| |
Invoke Pipeline pattern on a data stream.
- Template Parameters
-
Execution | Execution type. |
Generator | Callable type for the stream generator. |
Transformers | Callable type for each transformation stage. |
- Parameters
-
ex | Execution policy object. |
generate_op | Generator operation. |
trasnform_ops | Transformation operations for each stage. |
template<typename Generator , typename... Transformers, typename Consumer >
auto grppi::pipeline |
( |
Generator && |
generate_op, |
|
|
Transformers &&... |
transform_ops, |
|
|
Consumer && |
consume_op |
|
) |
| |
Build a composable Pipeline pattern representation that can be composed in other streaming patterns.
- Template Parameters
-
Execution | Execution policy type. |
Transformer | Callable type for first transformation stage. |
MoreTransformers | Callable type for each additional transformation stage. |
- Parameters
-
ex | Execution policy object. |
tranform_op | First stage transformation operation |
more_trasnform_ops | Transformation operations for each additional stage. |