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

Lightweight view class created by consume and passed to add_task to facilitate setup of inter paragraph, port-based dataflow. More...

Public Member Functions

template<typename ... OptionalPassedParams>
 nested_pg_view (rmi_handle::reference parent_pg_handle, OptionalPassedParams &&... params)
 Constructor to initialize the object with the provided optional parameters. Constructs on index sequence whose size is the number of undefined (i.e., not provided) optional parameters and delegates to private constructor to properly initialize m_params.
 
rmi_handle::reference nested_locality (size_t) const
 
reference transporter_reference (index_type idx) const
 
reference operator[] (index_type idx) const
 

Public Types

using reference = nested_pg_view_subview< T, OptionalParams... >
 
using index_type = std::size_t
 
using task_placement_dontcare = std::true_type
 

Detailed Description

template<typename T, typename ... OptionalParams>
class stapl::nested_pg_view< T, OptionalParams >

Lightweight view class created by consume and passed to add_task to facilitate setup of inter paragraph, port-based dataflow.

Template Parameters
TThe elementary value type that will be flowed.
OptionalParamsOptional parameters to control dataflow. Currently: (1) PortFilter - boolean functor queried to see if pin should be flowed. (2) ValueFilter - functor applied to produced value prior to dataflow. (3) PinLocationMapper - maps producer pin to location in this consumer where it should be flowed.

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