STAPL API Reference          
Overview   Containers   Algorithms   Views   Skeletons   Run-Time System
Modules     Classes    
List of all members | Public Member Functions | Public Types
stapl::skeletons::combined_env< Envs > Class Template Reference

A combined_env is a collection of different environments. When a skeleton is spawned in a combined_env, the spawn_element or set_num_succs requests are passed down to each environment. More...

Public Member Functions

 combined_env (Envs const &... envs)
 
std::size_t get_num_PEs () const
 
std::size_t get_PE_id () const
 
template<typename... Args>
void init_location_info (Args &&... args)
 
template<bool isResult, typename... Args>
void spawn_element (Args &&... args)
 
template<typename... Args>
void pre_spawn (Args &&... args)
 
template<typename... Args>
void post_spawn (Args &&... args)
 
template<typename... Args>
void set_num_succs (Args &&... args)
 

Public Types

using envs_type = stapl::tuple< Envs... >
 
using num_envs_type = std::integral_constant< int, sizeof...(Envs)>
 

Detailed Description

template<typename... Envs>
class stapl::skeletons::combined_env< Envs >

A combined_env is a collection of different environments. When a skeleton is spawned in a combined_env, the spawn_element or set_num_succs requests are passed down to each environment.

A typical usage of a combined_env is to create tasks in a taskgraph_env and create GraphViz graphs using graphviz_env.

Template Parameters
Envsthe list of enclosed environments

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