Interface for applyinng the Pipeline pattern.
More...
|
template<typename Execution , typename Generator , typename ... Transformers, requires_execution_supported< std::decay_t< Execution >> = 0> |
void | grppi::pipeline (const Execution &ex, Generator &&generate_op, Transformers &&... transform_ops) |
| Invoke Pipeline pattern on a data stream. More...
|
|
template<typename Transformer , typename ... Transformers, requires_execution_not_supported< std::decay_t< Transformer >> = 0> |
auto | grppi::pipeline (Transformer &&transform_op, Transformers &&... transform_ops) |
| Build a composable Pipeline pattern representation that can be composed in other streaming patterns. More...
|
|
Interface for applyinng the Pipeline pattern.
◆ pipeline() [1/2]
template<typename Execution , typename Generator , typename ... Transformers, requires_execution_supported< std::decay_t< 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. |
◆ pipeline() [2/2]
template<typename Transformer , typename ... Transformers, requires_execution_not_supported< std::decay_t< Transformer >> = 0>
auto grppi::pipeline |
( |
Transformer && |
transform_op, |
|
|
Transformers &&... |
transform_ops |
|
) |
| |
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. |