GrPPI  0.3.1
Generic and Reusable Parallel Pattern Interface
Public Member Functions | List of all members
grppi::detail_ff::filter_worker< Item, Predicate > Class Template Reference

Worker that passes a value to next stage if the predicate is satisfied or the filtered_value constant otherwise. More...

#include <filter_nodes.h>

Inheritance diagram for grppi::detail_ff::filter_worker< Item, Predicate >:
Inheritance graph
[legend]
Collaboration diagram for grppi::detail_ff::filter_worker< Item, Predicate >:
Collaboration graph
[legend]

Public Member Functions

 filter_worker (Predicate &&predicate)
 
Item * svc (Item *p_item)
 

Detailed Description

template<typename Item, typename Predicate>
class grppi::detail_ff::filter_worker< Item, Predicate >

Worker that passes a value to next stage if the predicate is satisfied or the filtered_value constant otherwise.

Constructor & Destructor Documentation

template<typename Item , typename Predicate >
grppi::detail_ff::filter_worker< Item, Predicate >::filter_worker ( Predicate &&  predicate)
inline

Member Function Documentation

template<typename Item , typename Predicate >
Item* grppi::detail_ff::filter_worker< Item, Predicate >::svc ( Item *  p_item)
inline

The documentation for this class was generated from the following file: