Thrill  0.1
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Groups Pages
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

Definition at line 129 of file action_node.hpp.

Constructor & Destructor Documentation

Future ( const ActionNodePtr node)
inlineexplicit

Definition at line 131 of file action_node.hpp.

Member Function Documentation

void operator() ( )
inline

Return the value of the ActionFuture.

Definition at line 146 of file action_node.hpp.

References Future< ValueType >::wait().

bool valid ( ) const
inline

true if already executed/valid

Definition at line 141 of file action_node.hpp.

References thrill::api::EXECUTED, Future< ValueType >::node_, and DIABase::state().

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, Future< ValueType >::node_, DIABase::RunScope(), and DIABase::state().

Member Data Documentation

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: