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

view_flow is a flow defined over a view in STAPL. It is used later on (upon the invocation of spawn_element) to retrieve an element from the enclosed view. More...

Public Member Functions

 view_flow (View &v)
 
template<typename Index , typename Filter = skeletons::no_filter, typename Mapper = skeletons::no_mapper>
producer_type< Mapper > consume_from (Index const &index, Filter const &=Filter(), Mapper const &=Mapper()) const
 
template<typename Coord >
std::size_t consumer_count (Coord const &producer_coord) const
 
domain_type domain (void) const
 

Public Types

using flow_value_type = typename View::reference
 
using domain_type = typename View::domain_type
 
template<typename Filter = skeletons::no_filter>
using producer_type = view_element_producer< View & >
 

Detailed Description

template<typename View>
class stapl::skeletons::flows::view_flow< View >

view_flow is a flow defined over a view in STAPL. It is used later on (upon the invocation of spawn_element) to retrieve an element from the enclosed view.

Template Parameters
Viewthe type of the view that this flow is going to read/write to/from
Skeletonthe type of the skeleton that consumes from this flow
MappingFthe translator that should be used on the requests before passing it to the view

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