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

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

Collaboration diagram for Sequential stream iteration pattern:

Functions

template<typename Generator , typename Transformer , typename Predicate , typename Consumer >
void grppi::repeat_until (sequential_execution, Generator generate_op, Transformer &&transform_op, Predicate predicate_op, Consumer consume_op)
 Invoke Stream iteration pattern on a data stream with sequential execution with a generator, a transformer, a predicate, and a consumer. More...
 
template<typename Generator , typename Transformer , typename Predicate , typename Consumer >
void grppi::repeat_until (sequential_execution &ex, Generator &&generate_op, farm_info< sequential_execution, Transformer > &farm_obj, Predicate &&predicate_op, Consumer &&consume_op)
 Invoke Stream iteration pattern on a data stream with sequential execution with a generator, a farm as transformer, a predicate, and a consumer. More...
 
template<typename Generator , typename Transformer , typename Predicate , typename Consumer >
void grppi::repeat_until (sequential_execution &ex, Generator generate_op, farm_info< sequential_execution, Transformer > &&farm_obj, Predicate predicate_op, Consumer consume_op)
 Invoke Stream iteration pattern on a data stream with sequential execution with a generator, a farm as transformer, a predicate, and a consumer. More...
 
template<typename Generator , typename Predicate , typename Consumer , typename... Transformers>
void grppi::repeat_until (sequential_execution &ex, Generator &&generate_op, pipeline_info< sequential_execution, Transformers... > &pipe_obj, Predicate &&predicate_op, Consumer &&consume_op)
 Invoke Stream iteration pattern on a data stream with sequential execution with a generator, a pipeline as transformer, a predicate, and a consumer. More...
 
template<typename Generator , typename Predicate , typename Consumer , typename... Transformers>
void grppi::repeat_until (sequential_execution &ex, Generator generate_op, pipeline_info< sequential_execution, Transformers... > &&pipe, Predicate predicate_op, Consumer consume_op)
 Invoke Stream iteration pattern on a data stream with sequential execution with a generator, a pipeline as transformer, a predicate, and a consumer. More...
 

Detailed Description

Sequential implementation of the Stream iteration pattern.

Function Documentation

template<typename Generator , typename Transformer , typename Predicate , typename Consumer >
void grppi::repeat_until ( sequential_execution  ,
Generator  generate_op,
Transformer &&  transform_op,
Predicate  predicate_op,
Consumer  consume_op 
)

Invoke Stream iteration pattern on a data stream with sequential execution with a generator, a transformer, a predicate, and a consumer.

Template Parameters
GeneratorCallable type for the generation operation.
TransformerCallable type for the transformer operations.
PredicateCallable type for the predicate operation.
ConsumerCallable type for the consume operation.
Parameters
generate_opGenerator operation.
predicate_opPredicate operation.
consume_opConsumer operation.
transform_opTransformer operation.
template<typename Generator , typename Transformer , typename Predicate , typename Consumer >
void grppi::repeat_until ( sequential_execution ex,
Generator &&  generate_op,
farm_info< sequential_execution, Transformer > &  farm_obj,
Predicate &&  predicate_op,
Consumer &&  consume_op 
)

Invoke Stream iteration pattern on a data stream with sequential execution with a generator, a farm as transformer, a predicate, and a consumer.

Template Parameters
GeneratorCallable type for the generation operation.
TransformerCallable type for the transformer operations.
PredicateCallable type for the predicate operation.
ConsumerCallable type for the consume operation.
Parameters
exSequential execution policy object.
generate_opGenerator operation.
farm_objComposed farm object.
predicate_opPredicate operation.
consume_opConsumer operation.
Note
This version takes the far by l-value reference.
template<typename Generator , typename Transformer , typename Predicate , typename Consumer >
void grppi::repeat_until ( sequential_execution ex,
Generator  generate_op,
farm_info< sequential_execution, Transformer > &&  farm_obj,
Predicate  predicate_op,
Consumer  consume_op 
)

Invoke Stream iteration pattern on a data stream with sequential execution with a generator, a farm as transformer, a predicate, and a consumer.

Template Parameters
GeneratorCallable type for the generation operation.
TransformerCallable type for the transformer operations.
PredicateCallable type for the predicate operation.
ConsumerCallable type for the consume operation.
Parameters
generate_opGenerator operation.
farm_objComposed farm object.
predicate_opPredicate operation.
consume_opConsumer operation.
Note
This version takes the far by r-value reference.
template<typename Generator , typename Predicate , typename Consumer , typename... Transformers>
void grppi::repeat_until ( sequential_execution ex,
Generator &&  generate_op,
pipeline_info< sequential_execution, Transformers... > &  pipe_obj,
Predicate &&  predicate_op,
Consumer &&  consume_op 
)

Invoke Stream iteration pattern on a data stream with sequential execution with a generator, a pipeline as transformer, a predicate, and a consumer.

Template Parameters
GeneratorCallable type for the generation operation.
TransformerCallable type for the transformer operations.
PredicateCallable type for the predicate operation.
ConsumerCallable type for the consume operation.
Parameters
generate_opGenerator operation.
pipe_objComposed pipe object.
predicate_opPredicate operation.
consume_opConsumer operation.
Note
This version takes the far by l-value reference.
template<typename Generator , typename Predicate , typename Consumer , typename... Transformers>
void grppi::repeat_until ( sequential_execution ex,
Generator  generate_op,
pipeline_info< sequential_execution, Transformers... > &&  pipe,
Predicate  predicate_op,
Consumer  consume_op 
)

Invoke Stream iteration pattern on a data stream with sequential execution with a generator, a pipeline as transformer, a predicate, and a consumer.

Template Parameters
GeneratorCallable type for the generation operation.
PredicateCallable type for the predicate operation.
ConsumerCallable type for the consume operation.
TransformersCallable types for the transformers operations.
Parameters
generate_opGenerator operation.
pipe_objComposed pipeline object.
predicate_opPredicate operation.
consume_opConsumer operation.
Note
This version takes the far by r-value reference.