STAPL API Reference          
Overview   Containers   Algorithms   Views   Skeletons   Run-Time System
Modules     Classes    
List of all members | Public Member Functions
stapl::paragraph_impl::transporter_notifier Class Reference

Notifier used for tasks created using transporter, allowing them to wait on predecessor data flow. More...

Public Member Functions

 transporter_notifier (tg_callback cb)
 
void add_predecessor (void)
 Called during task setup phase to have notifier wait for an additional predecessor data flow.
 
void notify_predecessor_available (void)
 Called each time a promise is fulfilled for predecessor data flow. If all flow received, execute the task.
 
void set_task_ptr (task_base *task_ptr)
 Called at end of task initialization. If all data flow has been received during initialization, execute the task. More...
 

Detailed Description

Notifier used for tasks created using transporter, allowing them to wait on predecessor data flow.

Member Function Documentation

◆ set_task_ptr()

void stapl::paragraph_impl::transporter_notifier::set_task_ptr ( task_base task_ptr)

Called at end of task initialization. If all data flow has been received during initialization, execute the task.

Returns
True if task was immediately invoked, false if it deferred.

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