STAPL API Reference          
Overview   Containers   Algorithms   Views   Skeletons   Run-Time System
Modules     Classes    
List of all members | Public Member Functions | Public Types
stapl::detail::edge_notifier_wrapper< void, Notifier > Struct Template Reference

Specialization for signal (i.e., void) consumption. Avoid move and sharing related logic. More...

Public Member Functions

 edge_notifier_wrapper (Notifier const &notifier)
 
void operator() (edge_container &edge_ct, size_t loc, std::size_t tid, edge_version_storage< int > const &, bool b_migrate=false, bool b_move=false) const
 Based on b_migrate parameter, either call edge_container::add_remote_notifier to move notifier to producer task's new, post-migration execution location. Otherwise, treat as an edge fire, and invoke the notifier, forwarding the appropriate parameters. More...
 

Public Types

typedef edge_container::index_type index_type
 
typedef df_stored_type< void >::type stored_value_t
 
typedef void value_type
 

Detailed Description

template<typename Notifier>
struct stapl::detail::edge_notifier_wrapper< void, Notifier >

Specialization for signal (i.e., void) consumption. Avoid move and sharing related logic.

Member Function Documentation

◆ operator()()

template<typename Notifier >
void stapl::detail::edge_notifier_wrapper< void, Notifier >::operator() ( edge_container edge_ct,
size_t  loc,
std::size_t  tid,
edge_version_storage< int > const &  ,
bool  b_migrate = false,
bool  b_move = false 
) const

Based on b_migrate parameter, either call edge_container::add_remote_notifier to move notifier to producer task's new, post-migration execution location. Otherwise, treat as an edge fire, and invoke the notifier, forwarding the appropriate parameters.

Parameters
edge_ctThe edge container which holds the entry this notifier is associated with.
locThe location that the remote notifier held by wrapper is meant to notify.
tidThe task identifier of the producer task the edge notifier is associated with.
valueThe value to be flowed along this PARAGRAPH edge(s) this notifier represents.
b_migrateBoolean representing whether migration is requested by the caller.

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