MADNESS  version 0.9
Public Member Functions | Friends | List of all members
madness::FutureImpl< T > Class Template Reference

Implements the functionality of Futures. More...

#include <worldfut.h>

Inheritance diagram for madness::FutureImpl< T >:
Inheritance graph
[legend]
Collaboration diagram for madness::FutureImpl< T >:
Collaboration graph
[legend]

Public Member Functions

 FutureImpl ()
 
 FutureImpl (const RemoteReference< FutureImpl< T > > &remote_ref)
 
bool probe () const
 
void register_callback (CallbackInterface *callback)
 
template<typename U >
void set (const U &value)
 
void set (const archive::BufferInputArchive &input_arch)
 
T & get ()
 
const T & get () const
 
bool is_local () const
 
bool replace_with (FutureImpl< T > *f)
 
virtual ~FutureImpl ()
 

Friends

class Future< T >
 
std::ostream & operator (std::ostream &out, const Future< T > &f)
 

Detailed Description

template<typename T>
class madness::FutureImpl< T >

Implements the functionality of Futures.

Constructor & Destructor Documentation

template<typename T>
madness::FutureImpl< T >::FutureImpl ( )
inline
template<typename T>
madness::FutureImpl< T >::FutureImpl ( const RemoteReference< FutureImpl< T > > &  remote_ref)
inline
template<typename T>
virtual madness::FutureImpl< T >::~FutureImpl ( )
inlinevirtual

Member Function Documentation

template<typename T>
T& madness::FutureImpl< T >::get ( )
inline
template<typename T>
const T& madness::FutureImpl< T >::get ( ) const
inline
template<typename T>
bool madness::FutureImpl< T >::is_local ( ) const
inline
template<typename T>
bool madness::FutureImpl< T >::probe ( ) const
inline
template<typename T>
void madness::FutureImpl< T >::register_callback ( CallbackInterface callback)
inline
template<typename T>
bool madness::FutureImpl< T >::replace_with ( FutureImpl< T > *  f)
inline
template<typename T>
template<typename U >
void madness::FutureImpl< T >::set ( const U &  value)
inline
template<typename T>
void madness::FutureImpl< T >::set ( const archive::BufferInputArchive input_arch)
inline

Friends And Related Function Documentation

template<typename T>
friend class Future< T >
friend
template<typename T>
std::ostream& operator ( std::ostream &  out,
const Future< T > &  f 
)
friend

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