MADNESS 0.10.1
TestFutureForwarding Class Reference
Inheritance diagram for TestFutureForwarding:
Collaboration diagram for TestFutureForwarding:

Public Member Functions

 TestFutureForwarding (World &world)
virtual ~TestFutureForwarding ()
Future< int > test (int state)
Public Member Functions inherited from madness::WorldObject< TestFutureForwarding >
 WorldObject (const WorldObject &other)
virtual ~WorldObject ()
WorldObject & operator= (const WorldObject &)=delete
detail::task_result_type< memfnT >::futureT send (ProcessID dest, memfnT memfn) const
detail::task_result_type< memfnT >::futureT task (ProcessID dest, memfnT memfn, const TaskAttributes &attr=TaskAttributes()) const
 Sends task to derived class method returnT (this->*memfn)().
Public Member Functions inherited from madness::WorldObjectBase
virtual ~WorldObjectBase ()
World & get_world () const
World & get_world_noexcept () const noexcept
 Get the world to which this object belongs, without risking a throw.
const uniqueidT & id () const
 Returns the globally unique object ID.
bool world_is_alive () const noexcept
 Reports whether the world to which this object belongs still exists.

Additional Inherited Members

Public Types inherited from madness::WorldObject< TestFutureForwarding >
typedef WorldObject< TestFutureForwarding > objT
Protected Member Functions inherited from madness::WorldObject< TestFutureForwarding >
void process_pending ()
 To be called from derived constructor to process pending messages.
Protected Member Functions inherited from madness::WorldObjectBase
 WorldObjectBase (const WorldObjectBase &other)
 Copy constructor; produces an unregistered object.
 WorldObjectBase (World &w)
 Construct a new WorldObjectBase.
World & get_world_unchecked () const noexcept
 Unchecked access to the memoized world reference.
template<typename DerivedT>
void register_self (DerivedT *this_ptr)
 Registers this object with its world, making it globally addressable.

Constructor & Destructor Documentation

◆ TestFutureForwarding()

◆ ~TestFutureForwarding()

virtual TestFutureForwarding::~TestFutureForwarding ( )
inlinevirtual

Member Function Documentation

◆ test()

Future< int > TestFutureForwarding::test ( int state)
inline

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