Thrill  0.1
Future< void > Class Template Reference

Detailed Description

template<>
class thrill::api::Future< void >

Specialized template class for ActionFuture which return void.

This class does not have a get() method.

Definition at line 126 of file action_node.hpp.

+ Collaboration diagram for Future< void >:

#include <action_node.hpp>

Public Types

using ActionNodePtr = tlx::CountingPtr< ActionNode >
 

Public Member Functions

 Future (const ActionNodePtr &node)
 
void operator() ()
 Return the value of the ActionFuture. More...
 
bool valid () const
 true if already executed/valid More...
 
void wait ()
 Evaluate the DIA data-flow graph for this ActionFuture. More...
 

Private Attributes

ActionNodePtr node_
 shared pointer to the action node, which may not be executed yet. More...
 

Member Typedef Documentation

◆ ActionNodePtr

Definition at line 129 of file action_node.hpp.

Constructor & Destructor Documentation

◆ Future()

Future ( const ActionNodePtr node)
inlineexplicit

Definition at line 131 of file action_node.hpp.

Member Function Documentation

◆ operator()()

void operator() ( )
inline

Return the value of the ActionFuture.

Definition at line 146 of file action_node.hpp.

◆ valid()

bool valid ( ) const
inline

true if already executed/valid

Definition at line 141 of file action_node.hpp.

References thrill::api::EXECUTED.

◆ wait()

void wait ( )
inline

Evaluate the DIA data-flow graph for this ActionFuture.

Definition at line 135 of file action_node.hpp.

References thrill::api::NEW.

Member Data Documentation

◆ node_

ActionNodePtr node_
private

shared pointer to the action node, which may not be executed yet.

Definition at line 152 of file action_node.hpp.


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