MADNESS  version 0.9
Public Member Functions | List of all members
madness::Future< std::vector< Future< T > > > Class Template Reference

Specialization of Future for vector of Futures. More...

#include <worldfut.h>

Inheritance diagram for madness::Future< std::vector< Future< T > > >:
Inheritance graph
[legend]
Collaboration diagram for madness::Future< std::vector< Future< T > > >:
Collaboration graph
[legend]

Public Member Functions

 Future ()
 
 Future (const vectorT &v)
 
 Future (const archive::BufferInputArchive &input_arch)
 Not implemented. More...
 
vectorT & get ()
 
const vectorT & get () const
 
 operator vectorT & ()
 
 operator const vectorT & () const
 
bool probe () const
 
- Public Member Functions inherited from madness::DependencyInterface
 DependencyInterface (int ndep=0)
 
int ndep () const
 Returns the number of unsatisfied dependencies. More...
 
bool probe () const
 Returns true if ndepend == 0. More...
 
void notify ()
 Invoked by callbacks to notifiy of dependencies being satisfied. More...
 
void register_callback (CallbackInterface *callback)
 Registers a callback for when ndepend==0 , immediately invoked if ndepend==0. More...
 
void inc ()
 Increment the number of dependencies. More...
 
void dec ()
 Decrement the number of dependencies and invoke callback if ndepend=0. More...
 
virtual ~DependencyInterface ()
 
- Public Member Functions inherited from madness::CallbackInterface
virtual ~CallbackInterface ()
 

Detailed Description

template<typename T>
class madness::Future< std::vector< Future< T > > >

Specialization of Future for vector of Futures.

Enables passing a vector of futures into a task and having the dependencies correctly tracked. Does not directly support most operations that other futures do ... that is the responsiblility of the individual futures in the vector.

Constructor & Destructor Documentation

template<typename T >
madness::Future< std::vector< Future< T > > >::Future ( )
inline
template<typename T >
madness::Future< std::vector< Future< T > > >::Future ( const vectorT &  v)
inline
template<typename T >
madness::Future< std::vector< Future< T > > >::Future ( const archive::BufferInputArchive input_arch)
inlineexplicit

Not implemented.

Member Function Documentation

template<typename T >
vectorT& madness::Future< std::vector< Future< T > > >::get ( )
inline
template<typename T >
const vectorT& madness::Future< std::vector< Future< T > > >::get ( ) const
inline
template<typename T >
madness::Future< std::vector< Future< T > > >::operator const vectorT & ( ) const
inline
template<typename T >
madness::Future< std::vector< Future< T > > >::operator vectorT & ( )
inline
template<typename T >
bool madness::Future< std::vector< Future< T > > >::probe ( ) const
inline

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