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

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

Collaboration diagram for Polymorphic stream iteration pattern:

Functions

template<typename Generator , typename Predicate , typename Consumer , typename Transformer >
void grppi::repeat_until (polymorphic_execution &ex, Generator &&generate_op, farm_info< polymorphic_execution, Transformer > &&farm_obj, Predicate &&predicate_op, Consumer &&consume_op)
 Invoke Stream iteration pattern on a data stream with polymorphic execution with a generator, a predicate, a consumer and a farm as a transformer. More...
 
template<typename Generator , typename Predicate , typename Consumer , typename... Transformers>
void grppi::repeat_until (polymorphic_execution &ex, Generator &&generate_op, pipeline_info< polymorphic_execution, Transformers... > &&pipe_info, Predicate &&predicate_op, Consumer &&consume_op)
 Invoke Stream iteration pattern on a data stream with polymorphic 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 (polymorphic_execution &ex, Generator &&generate_op, Transformer &&transform_op, Predicate &&predicate_op, Consumer &&consume_op)
 Invoke Stream iteration pattern on a data stream with polymorphic 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 Transformer >
void grppi::repeat_until ( polymorphic_execution ex,
Generator &&  generate_op,
farm_info< polymorphic_execution, Transformer > &&  farm_obj,
Predicate &&  predicate_op,
Consumer &&  consume_op 
)

Invoke Stream iteration pattern on a data stream with polymorphic 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
exPolymorphic execution policy object.
generate_opGenerator operation.
farm_objComposed farm object.
predicate_opPredicate operation.
consume_opConsumer operation.
template<typename Generator , typename Predicate , typename Consumer , typename... Transformers>
void grppi::repeat_until ( polymorphic_execution ex,
Generator &&  generate_op,
pipeline_info< polymorphic_execution, Transformers... > &&  pipe_info,
Predicate &&  predicate_op,
Consumer &&  consume_op 
)

Invoke Stream iteration pattern on a data stream with polymorphic 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
exPolymorphic execution policy object.
generate_opGenerator operation.
pipe_objComposed pipeline object.
predicate_opPredicate operation.
consume_opConsumer operation.
template<typename Generator , typename Transformer , typename Predicate , typename Consumer >
void grppi::repeat_until ( polymorphic_execution ex,
Generator &&  generate_op,
Transformer &&  transform_op,
Predicate &&  predicate_op,
Consumer &&  consume_op 
)

Invoke Stream iteration pattern on a data stream with polymorphic 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.
tranformer_opTranformer operation.
predicate_opPredicate operation.
consume_opConsumer operation.