...one of the most highly
regarded and expertly designed C++ library projects in the
world.
— Herb Sutter and Andrei
Alexandrescu, C++
Coding Standards
boost::mpi::skeleton_proxy — A proxy that requests that the skeleton of an object be transmitted.
// In header: <boost/mpi/skeleton_and_content.hpp> template<typename T> struct skeleton_proxy { // construct/copy/destruct skeleton_proxy(T &); // public data members T & object; };
The skeleton_proxy
is a lightweight proxy object used to indicate that the skeleton of an object, not the object itself, should be transmitted. It can be used with the send
and recv
operations of communicators or the broadcast
collective. When a skeleton_proxy
is sent, Boost.MPI generates a description containing the structure of the stored object. When that skeleton is received, the receiving object is reshaped to match the structure. Once the skeleton of an object as been transmitted, its content
can be transmitted separately (often several times) without changing the structure of the object.
skeleton_proxy
public
construct/copy/destructskeleton_proxy(T & x);
Constructs a
that references object skeleton_proxy
x
.
Parameters: |
|