Boost  v1.57.0
doxygen for www.boost.org
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Modules Pages
boost::mpi::skeleton_proxy< T > Struct Template Reference

A proxy that requests that the skeleton of an object be transmitted. More...

#include <skeleton_and_content_fwd.hpp>

Public Member Functions

 skeleton_proxy (T &x)
 Constructs a skeleton_proxy that references object x. More...
 

Public Attributes

Tobject
 

Detailed Description

template<class T>
struct boost::mpi::skeleton_proxy< T >

A proxy that requests that the skeleton of an object be transmitted.

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.

Constructor & Destructor Documentation

template<class T>
boost::mpi::skeleton_proxy< T >::skeleton_proxy ( T x)
inline

Constructs a skeleton_proxy that references object x.

Parameters
xthe object whose structure will be transmitted or altered.

Member Data Documentation

template<class T>
T& boost::mpi::skeleton_proxy< T >::object

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