Sequential implementation of the Stream iteration pattern.
More...
|
template<typename Generator , typename Predicate , typename Consumer , typename... MoreTransformers> |
void | grppi::repeat_until (parallel_execution_native &ex, Generator &&generate_op, pipeline_info< parallel_execution_native, MoreTransformers... > &&pipe, Predicate predicate_op, Consumer consume_op) |
| Invoke Stream iteration pattern on a data stream with native parallel execution with a generator, a predicate, a consumer and a pipeline as a transformer. More...
|
|
template<typename Generator , typename Transformer , typename Predicate , typename Consumer > |
void | grppi::repeat_until (parallel_execution_native &ex, Generator generate_op, farm_info< parallel_execution_native, Transformer > &&farm, Predicate predicate_op, Consumer consume_op) |
| Invoke Stream iteration pattern on a data stream with native parallel execution with a generator, a predicate, a consumer and a farm as a transformer. More...
|
|
template<typename Generator , typename Transformer , typename Predicate , typename Consumer > |
void | grppi::repeat_until (parallel_execution_native &ex, Generator generate_op, Transformer transform_op, Predicate predicate_op, Consumer consume_op) |
| Invoke Stream iteration pattern on a data stream with native parallel execution with a generator, a predicate, a transformer and a consumer. More...
|
|
Sequential implementation of the Stream iteration pattern.
template<typename Generator , typename Predicate , typename Consumer , typename... MoreTransformers>
Invoke Stream iteration pattern on a data stream with native parallel execution with a generator, a predicate, a consumer and a pipeline as a transformer.
- Template Parameters
-
Generator | Callable type for the generation operation. |
Predicate | Callable type for the predicate operation. |
Consumer | Callable type for the consume operation. |
MoreTransformers | Callable type for the transformer operations. |
- Parameters
-
ex | Parallel native execution policy object. |
generate_op | Generator operation. |
predicate_op | Predicate operation. |
consume_op | Consumer operation. |
pipe | Composed pipeline object. |
template<typename Generator , typename Transformer , typename Predicate , typename Consumer >
Invoke Stream iteration pattern on a data stream with native parallel execution with a generator, a predicate, a consumer and a farm as a transformer.
- Template Parameters
-
Generator | Callable type for the generation operation. |
Predicate | Callable type for the predicate operation. |
Consumer | Callable type for the consume operation. |
Transformer | Callable type for the transformer operations. |
- Parameters
-
ex | Parallel native execution policy object. |
generate_op | Generator operation. |
predicate_op | Predicate operation. |
consume_op | Consumer operation. |
farm | Composed farm object. |
template<typename Generator , typename Transformer , typename Predicate , typename Consumer >
void grppi::repeat_until |
( |
parallel_execution_native & |
ex, |
|
|
Generator |
generate_op, |
|
|
Transformer |
transform_op, |
|
|
Predicate |
predicate_op, |
|
|
Consumer |
consume_op |
|
) |
| |
Invoke Stream iteration pattern on a data stream with native parallel execution with a generator, a predicate, a transformer and a consumer.
- Template Parameters
-
Generator | Callable type for the generation operation. |
Predicate | Callable type for the predicate operation. |
Consumer | Callable type for the consume operation. |
Transformer | Callable type for the transformer operation. |
- Parameters
-
ex | Parallel native execution policy object. |
generate_op | Generator operation. |
predicate_op | Predicate operation. |
consume_op | Consumer operation. |
tranformer_op | Tranformer operation. |