MADNESS
version 0.9
|
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) More... | |
std::size_t | size () const |
Returns the size of the user's payload. More... | |
template<typename T > | |
archive::BufferInputArchive | operator& (T &t) const |
Used to deserialize arguments from incoming message. More... | |
template<typename T > | |
archive::BufferOutputArchive | operator& (const T &t) const |
Used to serialize arguments into outgoing message. More... | |
ProcessID | get_src () const |
For incoming AM gives the source process. More... | |
World * | get_world () const |
For incoming AM gives the associated world. More... | |
unsigned long | get_worldid () const |
Return the world id. More... | |
Friends | |
class | WorldAmInterface |
template<class Derived > | |
class | WorldObject |
AmArg * | alloc_am_arg (std::size_t nbyte) |
Allocates a new AmArg with nbytes of user data ... delete with free_am_arg. More... | |
|
inline |
|
inline |
Returns a pointer to the user's payload (aligned in same way as AmArg)
|
inline |
For incoming AM gives the source process.
|
inline |
For incoming AM gives the associated world.
References madness::World::world_from_id().
|
inline |
Return the world id.
|
inline |
Used to deserialize arguments from incoming message.
|
inline |
Used to serialize arguments into outgoing message.
|
inline |
Returns the size of the user's payload.
Referenced by madness::copy_am_arg().
|
friend |
Allocates a new AmArg with nbytes of user data ... delete with free_am_arg.
|
friend |
|
friend |