STAPL API Reference          
Overview   Containers   Algorithms   Views   Skeletons   Run-Time System
Modules     Classes    
List of all members | Public Member Functions
stapl::detail::result_container_base Struct Referenceabstract

Base class used to allow PARAGRAPH class hierarchy to provide access to result_container where the result type is erased. More...

Public Member Functions

virtual ~result_container_base ()=default
 
virtual void request_parent_flow (boost::function< size_t(size_t)> mapper, boost::function< bool(size_t)> port_filter)=0
 Called by parent PARAGRAPH to request flow from this output port to some set of output ports on the parent. More...
 

Detailed Description

Base class used to allow PARAGRAPH class hierarchy to provide access to result_container where the result type is erased.

Constructor & Destructor Documentation

◆ ~result_container_base()

virtual stapl::detail::result_container_base::~result_container_base ( )
virtualdefault

Member Function Documentation

◆ request_parent_flow()

virtual void stapl::detail::result_container_base::request_parent_flow ( boost::function< size_t(size_t)>  mapper,
boost::function< bool(size_t)>  port_filter 
)
pure virtual

Called by parent PARAGRAPH to request flow from this output port to some set of output ports on the parent.

Parameters
mapperApplied to the index of the output port to map to a possibly different index in the parent.
port_filterFunctor called on each output value to determine whether or not it should be flowed to the consumer.

Implemented in stapl::detail::result_container< T >.


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