MADNESS  version 0.9
Files | Classes | Macros | Functions
Collaboration diagram for Futures:

Files

file  worldfut.h
 Implements Future.
 

Classes

struct  madness::is_future< T >
 Boost-type-trait-like testing of if a type is a future. More...
 
struct  madness::is_future< Future< T > >
 Boost-type-trait-like testing of if a type is a future. More...
 
struct  madness::remove_future< T >
 Boost-type-trait-like mapping of Future<T> to T. More...
 
struct  madness::remove_future< Future< T > >
 Boost-type-trait-like mapping of Future<T> to T. More...
 
class  madness::FutureImpl< T >
 Implements the functionality of Futures. More...
 
class  madness::Future< T >
 A future is a possibly yet unevaluated value. More...
 
class  madness::Future< Future< T > >
 A future of a future is forbidden (by private constructor) More...
 
class  madness::FutureImpl< void >
 Specialization of FutureImpl<void> for internal convenience ... does nothing useful! More...
 
class  madness::Future< void >
 Specialization of Future<void> for internal convenience ... does nothing useful! More...
 
class  madness::FutureImpl< Void >
 Specialization of FutureImpl<Void> for internal convenience ... does nothing useful! More...
 
class  madness::Future< Void >
 Specialization of Future<Void> for internal convenience ... does nothing useful! More...
 
class  madness::Future< std::vector< Future< T > > >
 Specialization of Future for vector of Futures. More...
 
struct  madness::archive::ArchiveStoreImpl< Archive, Future< T > >
 Serialize an assigned future. More...
 
struct  madness::archive::ArchiveLoadImpl< Archive, Future< T > >
 Deserialize a future into an unassigned future. More...
 
struct  madness::archive::ArchiveStoreImpl< Archive, Future< void > >
 Serialize an assigned future. More...
 
struct  madness::archive::ArchiveLoadImpl< Archive, Future< void > >
 Deserialize a future into an unassigned future. More...
 
struct  madness::archive::ArchiveStoreImpl< Archive, Future< Void > >
 Serialize an assigned future. More...
 
struct  madness::archive::ArchiveLoadImpl< Archive, Future< Void > >
 Deserialize a future into an unassigned future. More...
 
struct  madness::archive::ArchiveStoreImpl< Archive, std::vector< Future< T > > >
 
struct  madness::archive::ArchiveLoadImpl< Archive, std::vector< Future< T > > >
 Deserialize a future into an unassigned future. More...
 

Macros

#define REMFUTURE(T)   typename remove_future< T >::type
 Macro to determine type of future (by removing wrapping future template) More...
 

Functions

template<typename T >
std::ostream & madness::operator<< (std::ostream &out, const Future< T > &f)
 Human readable printing of future to stream. More...
 
template<typename T >
std::vector< Future< T > > madness::future_vector_factory (std::size_t n)
 Factory for vectors of futures (see section Gotchas on the mainpage) More...
 

Detailed Description

Macro Definition Documentation

#define REMFUTURE (   T)    typename remove_future< T >::type

Macro to determine type of future (by removing wrapping future template)

Referenced by madness::WorldContainer< keyT, nodeT >::task().

Function Documentation

template<typename T >
std::vector< Future<T> > madness::future_vector_factory ( std::size_t  n)

Factory for vectors of futures (see section Gotchas on the mainpage)

References madness::Future< T >::default_initializer().

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

Human readable printing of future to stream.

Friendly I/O to streams for futures.