MADNESS
0.10.1
|
Delayed send callback object. More...
Public Member Functions | |
DelayedSend (World &world, const ProcessID dest, const keyT &key, const Future< valueT > &value) | |
Constructor. More... | |
virtual | ~DelayedSend () |
virtual void | notify () |
Notify this object that the future has been set. More... | |
Public Member Functions inherited from madness::CallbackInterface | |
virtual | ~CallbackInterface () |
virtual void | notify_debug (const char *caller) |
Same as notify(), but tracks how many times called from each caller . More... | |
Private Member Functions | |
DelayedSend (const DelayedSend< keyT, valueT > &) | |
DelayedSend< keyT, valueT > & | operator= (const DelayedSend< keyT, valueT > &) |
Private Attributes | |
const ProcessID | dest_ |
The destination process id. More... | |
const keyT | key_ |
The distributed id associated with value_ . More... | |
Future< valueT > | value_ |
The data to be sent. More... | |
World & | world_ |
The communication world. More... | |
Additional Inherited Members | |
Protected Member Functions inherited from madness::CallbackInterface | |
virtual void | notify_debug_impl (const char *caller) |
Delayed send callback object.
This callback object is used to send local data to a remove process once it has been set.
keyT | The data key |
valueT | The type of data to be sent |
|
private |
|
inline |
Constructor.
|
inlinevirtual |
|
inlinevirtual |
Notify this object that the future has been set.
This will set the value of the future on the remote node and delete this callback object.
Implements madness::CallbackInterface.
References madness::WorldGopInterface::DelayedSend< keyT, valueT >::dest_, madness::Future< T >::get(), madness::World::gop, madness::WorldGopInterface::DelayedSend< keyT, valueT >::key_, MADNESS_ASSERT, madness::Future< T >::probe(), madness::WorldGopInterface::send_internal(), madness::WorldGopInterface::DelayedSend< keyT, valueT >::value_, and madness::WorldGopInterface::DelayedSend< keyT, valueT >::world_.
|
private |
|
private |
The destination process id.
Referenced by madness::WorldGopInterface::DelayedSend< keyT, valueT >::notify().
|
private |
The distributed id associated with value_
.
Referenced by madness::WorldGopInterface::DelayedSend< keyT, valueT >::notify().
|
private |
The data to be sent.
Referenced by madness::WorldGopInterface::DelayedSend< keyT, valueT >::notify().
|
private |
The communication world.
Referenced by madness::WorldGopInterface::DelayedSend< keyT, valueT >::notify().