GrPPI  0.2
Generic and Reusable Parallel Pattern Interface
Namespaces | Functions
tbb/stream_filter.h File Reference
#include "parallel_execution_tbb.h"
#include <tbb/tbb.h>
Include dependency graph for tbb/stream_filter.h:
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Namespaces

 grppi
 

Functions

template<typename Generator , typename Predicate , typename Consumer >
void grppi::keep (parallel_execution_tbb &ex, Generator generate_op, Predicate predicate_op, Consumer consume_op)
 Invoke Filter pattern on a data sequence with sequential execution policy. This function keeps in the stream only those items that satisfy the predicate. More...
 
template<typename Generator , typename Predicate , typename Consumer >
void grppi::discard (parallel_execution_tbb &ex, Generator generate_op, Predicate predicate_op, Consumer consume_op)
 Invoke Filter pattern pattern on a data sequence with sequential execution policy. This function discards from the stream those items that satisfy the predicate. More...