|
MADNESS 0.10.1
|
World active message that extends an RMI message. More...
#include <worldam.h>
Public Member Functions | |
| AmArg () | |
| unsigned char * | buf () const |
| Returns a pointer to the user's payload (aligned in same way as AmArg) | |
| ProcessID | get_src () const |
| For incoming AM gives the source process. | |
| World * | get_world () const |
| For incoming AM gives the associated world. | |
| std::uint64_t | get_worldid () const |
| Return the world id. | |
| template<typename T > | |
| archive::BufferOutputArchive | operator& (const T &t) const |
| Used to serialize arguments into outgoing message. | |
| template<typename T > | |
| archive::BufferInputArchive | operator& (T &t) const |
| Used to deserialize arguments from incoming message. | |
| std::size_t | size () const |
| Returns the size of the user's payload. | |
Private Member Functions | |
| AmArg (const AmArg &) | |
| void | clear_flags () |
| am_handlerT | get_func () const |
| bool | is_pending () const |
| archive::BufferInputArchive | make_input_arch () const |
| archive::BufferOutputArchive | make_output_arch () const |
| AmArg & | operator= (const AmArg &) |
| void | set_func (am_handlerT handler) |
| void | set_pending () |
| void | set_size (std::size_t numbyte) |
| void | set_src (ProcessID source) |
| void | set_worldid (unsigned long id) |
Private Attributes | |
| unsigned int | flags |
| std::ptrdiff_t | func |
| unsigned char | header [RMI::HEADER_LEN] |
| std::size_t | nbyte |
| ProcessID | src |
| std::uint64_t | worldid |
Friends | |
| AmArg * | alloc_am_arg (std::size_t nbyte) |
| Allocates a new AmArg with nbytes of user data ... delete with free_am_arg. | |
| class | WorldAmInterface |
| template<class Derived > | |
| class | WorldObject |
|
private |
|
inline |
|
inline |
Returns a pointer to the user's payload (aligned in same way as AmArg)
Referenced by make_input_arch(), and make_output_arch().
|
inlineprivate |
References flags.
Referenced by madness::WorldAmInterface::send().
|
inlineprivate |
References func.
Referenced by madness::WorldAmInterface::handler().
|
inline |
For incoming AM gives the source process.
References src.
|
inline |
For incoming AM gives the associated world.
References madness::World::world_from_id(), and worldid.
|
inline |
Return the world id.
References worldid.
|
inlineprivate |
References flags.
|
inlineprivate |
Referenced by operator&().
|
inlineprivate |
Referenced by operator&().
|
inline |
Used to serialize arguments into outgoing message.
References make_output_arch().
|
inline |
Used to deserialize arguments from incoming message.
References make_input_arch().
|
inlineprivate |
References func, MADNESS_ASSERT, and madness::archive::to_rel_fn_ptr().
Referenced by madness::WorldAmInterface::send().
|
inlineprivate |
References flags.
|
inlineprivate |
References nbyte.
|
inlineprivate |
Referenced by madness::WorldAmInterface::send().
|
inlineprivate |
References worldid.
Referenced by madness::WorldAmInterface::send().
|
inline |
Returns the size of the user's payload.
References nbyte.
Referenced by make_input_arch(), and make_output_arch().
|
friend |
Allocates a new AmArg with nbytes of user data ... delete with free_am_arg.
|
friend |
|
friend |
|
private |
Referenced by clear_flags(), is_pending(), and set_pending().
|
private |
Referenced by get_func(), and set_func().
|
private |
|
private |
Referenced by set_size(), and size().
|
private |
Referenced by get_world(), get_worldid(), and set_worldid().