NAMD
Public Member Functions | Static Public Member Functions | Public Attributes | List of all members
MovePatchesMsg Class Reference

#include <PatchMgr.h>

Inheritance diagram for MovePatchesMsg:

Public Member Functions

 MovePatchesMsg (void)
 
 MovePatchesMsg (PatchID n, FullAtomList &a)
 

Static Public Member Functions

static voidpack (MovePatchesMsg *msg)
 
static MovePatchesMsgunpack (void *ptr)
 

Public Attributes

NodeID fromNodeID
 
PatchID pid
 
FullAtomList atom
 

Detailed Description

Definition at line 34 of file PatchMgr.h.

Constructor & Destructor Documentation

MovePatchesMsg::MovePatchesMsg ( void  )
inline

Definition at line 40 of file PatchMgr.h.

40 { ; }
MovePatchesMsg::MovePatchesMsg ( PatchID  n,
FullAtomList a 
)
inline

Definition at line 42 of file PatchMgr.h.

References atom, fromNodeID, and ResizeArray< T >::swap().

42  : pid(n)
43  {
44  atom.swap(a);
45  fromNodeID = CkMyPe();
46  }
FullAtomList atom
Definition: PatchMgr.h:38
PatchID pid
Definition: PatchMgr.h:37
NodeID fromNodeID
Definition: PatchMgr.h:36
void swap(ResizeArray< Elem > &ra)
Definition: ResizeArray.h:64

Member Function Documentation

static void* MovePatchesMsg::pack ( MovePatchesMsg msg)
static
static MovePatchesMsg* MovePatchesMsg::unpack ( void ptr)
static

Member Data Documentation

FullAtomList MovePatchesMsg::atom
NodeID MovePatchesMsg::fromNodeID

Definition at line 36 of file PatchMgr.h.

Referenced by MovePatchesMsg().

PatchID MovePatchesMsg::pid

Definition at line 37 of file PatchMgr.h.

Referenced by PatchMgr::recvAtoms(), and PatchMgr::recvMovePatches().


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