GrPPI  0.3.1
Generic and Reusable Parallel Pattern Interface
Classes | Namespaces | Typedefs | Variables
patterns.h File Reference
#include <tuple>
#include <type_traits>
#include "callable_traits.h"
#include "farm_pattern.h"
#include "filter_pattern.h"
#include "pipeline_pattern.h"
#include "reduce_pattern.h"
#include "iteration_pattern.h"
#include "context.h"
Include dependency graph for patterns.h:
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Classes

class  grppi::pipeline_info< E, Stage, Stages >
 
class  grppi::reduction_info< E, Combiner, Identity >
 
class  grppi::farm_info< E, Operation >
 
class  grppi::filter_info< E, Operation >
 
struct  grppi::stage_return_type< return_type, Ts >
 Determines the return type after appliying a list of transformers (stages) on a input type. More...
 
struct  grppi::stage_return_type< Input, Transformer >
 Determines the return type of appliying a function on a input type. More...
 
struct  grppi::stage_return_type< Input, Transformer, Other... >
 Determines the return type of consecutively appliying a set of transformer functions on a input type. More...
 

Namespaces

 grppi
 

Typedefs

template<typename T >
using grppi::requires_no_pattern = std::enable_if_t< is_no_pattern< T >, int >
 
template<typename T >
using grppi::requires_pattern = std::enable_if_t< is_pattern< T >, int >
 
template<typename Input , typename Transformer >
using grppi::result_type = typename std::result_of< Transformer(Input)>::type
 Determines the return type of appliying a function on a input type. More...
 

Variables

template<typename T >
constexpr bool grppi::is_no_pattern
 
template<typename T >
constexpr bool grppi::is_pattern = !is_no_pattern<T>