MADNESS  0.10.1
Public Types | Public Member Functions | Static Public Member Functions | Static Public Attributes | List of all members
madness::Future< void > Class Reference

Specialization of Future<void> for internal convenience. This does nothing useful! More...

#include <future.h>

Collaboration diagram for madness::Future< void >:
Collaboration graph
[legend]

Public Types

typedef RemoteReference< FutureImpl< void > > remote_refT
 

Public Member Functions

 Future ()
 
 Future (const archive::BufferInputArchive &input_arch)
 Construct from an input archive. More...
 
 Future (const RemoteReference< FutureImpl< void > > &remote_ref)
 
Future< void > & operator= (const Future< void > &other)
 Assignment operator. More...
 

Static Public Member Functions

static bool probe ()
 Check if this future has been assigned. More...
 
static remote_refT remote_ref (World &world)
 
static void set ()
 Set the future. More...
 
static void set (const Future< void > &f)
 Set the future from another void future. More...
 

Static Public Attributes

static const Future< void > value = Future<void>()
 

Detailed Description

Specialization of Future<void> for internal convenience. This does nothing useful!

Member Typedef Documentation

◆ remote_refT

Todo:
Brief description needed.

Constructor & Destructor Documentation

◆ Future() [1/3]

madness::Future< void >::Future ( )
inline

◆ Future() [2/3]

madness::Future< void >::Future ( const RemoteReference< FutureImpl< void > > &  remote_ref)
inline
Todo:
Brief description needed.
Todo:
Description needed.
Parameters
[in]remote_refDescription needed.

◆ Future() [3/3]

madness::Future< void >::Future ( const archive::BufferInputArchive input_arch)
inline

Construct from an input archive.

Parameters
[in]input_archThe input archive.

Member Function Documentation

◆ operator=()

Future<void>& madness::Future< void >::operator= ( const Future< void > &  other)
inline

Assignment operator.

Parameters
[in]otherThe future to copy.
Returns
This.

◆ probe()

static bool madness::Future< void >::probe ( )
inlinestatic

Check if this future has been assigned.

Returns
True (in this specialization).

◆ remote_ref()

static remote_refT madness::Future< void >::remote_ref ( World world)
inlinestatic
Todo:
Brief description needed.
Todo:
Descriptions needed.
Parameters
[in,out]worldDescription needed.
Returns
Description needed.

◆ set() [1/2]

static void madness::Future< void >::set ( )
inlinestatic

Set the future.

In this specialization, do nothing.

◆ set() [2/2]

static void madness::Future< void >::set ( const Future< void > &  f)
inlinestatic

Set the future from another void future.

In this specialization, do nothing.

Parameters
[in]fThe other future.

Referenced by madness::detail::run_function().

Member Data Documentation

◆ value

const Future< void > madness::Future< void >::value = Future<void>()
static

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