GrPPI  0.2
Generic and Reusable Parallel Pattern Interface
Functions
Native parallel stream iteration pattern

Sequential implementation of the Stream iteration pattern. More...

Collaboration diagram for Native parallel stream iteration pattern:

Functions

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...
 

Detailed Description

Sequential implementation of the Stream iteration pattern.

Function Documentation

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.

Template Parameters
GeneratorCallable type for the generation operation.
PredicateCallable type for the predicate operation.
ConsumerCallable type for the consume operation.
MoreTransformersCallable type for the transformer operations.
Parameters
exParallel native execution policy object.
generate_opGenerator operation.
predicate_opPredicate operation.
consume_opConsumer operation.
pipeComposed pipeline object.
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.

Template Parameters
GeneratorCallable type for the generation operation.
PredicateCallable type for the predicate operation.
ConsumerCallable type for the consume operation.
TransformerCallable type for the transformer operations.
Parameters
exParallel native execution policy object.
generate_opGenerator operation.
predicate_opPredicate operation.
consume_opConsumer operation.
farmComposed 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
GeneratorCallable type for the generation operation.
PredicateCallable type for the predicate operation.
ConsumerCallable type for the consume operation.
TransformerCallable type for the transformer operation.
Parameters
exParallel native execution policy object.
generate_opGenerator operation.
predicate_opPredicate operation.
consume_opConsumer operation.
tranformer_opTranformer operation.