LBCommData Class Reference
[Charm++ Load Balancing Framework]

#include <LBComm.h>

Collaboration diagram for LBCommData:

Collaboration graph
[legend]

Public Member Functions

 LBCommData (int _src_proc, LDOMid _destOM, LDObjid _destObj, int _destObjProc)
 LBCommData (LDObjHandle _srcObj, LDOMid _destOM, LDObjid _destObj, int _destObjProc)
 LBCommData (LDObjHandle _srcObj, LDOMid _destOM, LDObjid *_destObjs, int _nobjs)
 LBCommData (const LBCommData &d)
 ~LBCommData ()
LBCommDataoperator= (const LBCommData &d)
void addMessage (int bytes, int nMsgs=1)
int key () const
CmiBool equal (const LBCommData &_d2) const
int from_proc () const

Private Member Functions

 LBCommData ()
int compute_key ()
int hash (const int i, const int m) const

Private Attributes

int mykey
int src_proc
LDObjHandle srcObj
LDCommDesc destObj
int n_messages
int n_bytes

Friends

class LBCommTable

Detailed Description

Definition at line 20 of file LBComm.h.


Constructor & Destructor Documentation

LBCommData::LBCommData ( int  _src_proc,
LDOMid  _destOM,
LDObjid  _destObj,
int  _destObjProc 
) [inline]

Definition at line 25 of file LBComm.h.

References compute_key(), destObj, _LDCommDesc::init_objmsg(), mykey, n_bytes, n_messages, and src_proc.

LBCommData::LBCommData ( LDObjHandle  _srcObj,
LDOMid  _destOM,
LDObjid  _destObj,
int  _destObjProc 
) [inline]

Definition at line 33 of file LBComm.h.

References compute_key(), destObj, _LDCommDesc::init_objmsg(), mykey, n_bytes, n_messages, src_proc, and srcObj.

LBCommData::LBCommData ( LDObjHandle  _srcObj,
LDOMid  _destOM,
LDObjid _destObjs,
int  _nobjs 
) [inline]

Definition at line 43 of file LBComm.h.

References compute_key(), destObj, _LDCommDesc::init_mcastmsg(), mykey, n_bytes, n_messages, src_proc, and srcObj.

LBCommData::LBCommData ( const LBCommData d  )  [inline]

Definition at line 52 of file LBComm.h.

References destObj, from_proc(), mykey, n_bytes, n_messages, src_proc, and srcObj.

LBCommData::~LBCommData (  )  [inline]

Definition at line 64 of file LBComm.h.

LBCommData::LBCommData (  )  [inline, private]

Definition at line 89 of file LBComm.h.


Member Function Documentation

LBCommData& LBCommData::operator= ( const LBCommData d  )  [inline]

Definition at line 66 of file LBComm.h.

References destObj, from_proc(), mykey, n_bytes, n_messages, src_proc, and srcObj.

void LBCommData::addMessage ( int  bytes,
int  nMsgs = 1 
) [inline]

Definition at line 79 of file LBComm.h.

References bytes, n_bytes, and n_messages.

Referenced by LBDB::MulticastSend(), and LBDB::Send().

int LBCommData::key (  )  const [inline]

Definition at line 84 of file LBComm.h.

References mykey.

Referenced by hash().

int LBCommData::from_proc (  )  const [inline]

Definition at line 87 of file LBComm.h.

References src_proc.

Referenced by compute_key(), equal(), LBCommData(), and operator=().


Friends And Related Function Documentation

friend class LBCommTable [friend]

Definition at line 22 of file LBComm.h.


Field Documentation

int LBCommData::mykey [private]

Definition at line 94 of file LBComm.h.

Referenced by key(), LBCommData(), and operator=().

int LBCommData::src_proc [private]

Definition at line 95 of file LBComm.h.

Referenced by compute_key(), equal(), from_proc(), LBCommData(), and operator=().

LDObjHandle LBCommData::srcObj [private]

Definition at line 96 of file LBComm.h.

Referenced by compute_key(), equal(), LBCommData(), and operator=().

LDCommDesc LBCommData::destObj [private]

Definition at line 97 of file LBComm.h.

Referenced by compute_key(), equal(), LBCommData(), and operator=().

int LBCommData::n_messages [private]

Definition at line 98 of file LBComm.h.

Referenced by addMessage(), LBCommData(), and operator=().

int LBCommData::n_bytes [private]

Definition at line 99 of file LBComm.h.

Referenced by addMessage(), LBCommData(), and operator=().


The documentation for this class was generated from the following files:
Generated on Sun Jun 29 13:33:49 2008 for Charm++ by  doxygen 1.5.1