ComlibInstanceHandle Class Reference
[Charm++ Communication Optimization Framework]

An Instance of the communication library. More...

#include <ComlibManager.h>

Inheritance diagram for ComlibInstanceHandle:

Inheritance graph
[legend]
Collaboration diagram for ComlibInstanceHandle:

Collaboration graph
[legend]

Public Member Functions

 ComlibInstanceHandle ()
 ComlibInstanceHandle (const ComlibInstanceHandle &h)
 ComlibInstanceHandle (int instid, CkGroupID dmid)
ComlibInstanceHandleoperator= (const ComlibInstanceHandle &h)
void setForwardingOnMigration ()
void beginIteration ()
void endIteration ()
CkGroupID getComlibManagerID ()
void setStrategy (CharmStrategy *)
CharmStrategygetStrategy ()
int getSourcePe ()
void setSourcePe ()
void pup (PUP::er &p)

Private Attributes

int _instid
CkGroupID _dmid
int _srcPe
int toForward

Friends

class ComlibManager

Detailed Description

An Instance of the communication library.

It can be seen as the proxy given by ComlibManager upon registration of a strategy to the framework.

Definition at line 84 of file ComlibManager.h.


Member Function Documentation

void ComlibInstanceHandle::setForwardingOnMigration (  )  [inline]

Definition at line 98 of file ComlibManager.h.

References toForward.

int ComlibInstanceHandle::getSourcePe (  )  [inline]

Definition at line 105 of file ComlibManager.h.

References _srcPe.

void ComlibInstanceHandle::setSourcePe (  )  [inline]

Definition at line 107 of file ComlibManager.h.

References _srcPe, and Converse::CkMyPe().

Referenced by ampi::ampi(), ComlibResetProxy(), and ampi::pup().

void ComlibInstanceHandle::pup ( PUP::er p  )  [inline]

Definition at line 110 of file ComlibManager.h.

References _dmid, _instid, _srcPe, p, CkDelegateData::reset(), and toForward.

Referenced by ComlibManager::DelegatePointerPup().


Friends And Related Function Documentation

friend class ComlibManager [friend]

Definition at line 109 of file ComlibManager.h.


Field Documentation

int ComlibInstanceHandle::_instid [private]

Definition at line 86 of file ComlibManager.h.

Referenced by ComlibManager::ArrayBroadcast(), ComlibManager::ArraySectionSend(), ComlibManager::ArraySend(), beginIteration(), ComlibInstanceHandle(), getStrategy(), ComlibManager::GroupBroadcast(), ComlibManager::GroupSend(), operator=(), pup(), and setStrategy().

CkGroupID ComlibInstanceHandle::_dmid [private]

Definition at line 87 of file ComlibManager.h.

Referenced by beginIteration(), ComlibInstanceHandle(), endIteration(), getComlibManagerID(), getStrategy(), operator=(), pup(), and setStrategy().

int ComlibInstanceHandle::_srcPe [private]

Definition at line 88 of file ComlibManager.h.

Referenced by beginIteration(), ComlibInstanceHandle(), getSourcePe(), operator=(), pup(), and setSourcePe().

int ComlibInstanceHandle::toForward [private]

Definition at line 89 of file ComlibManager.h.

Referenced by beginIteration(), ComlibInstanceHandle(), operator=(), pup(), setForwardingOnMigration(), and setStrategy().


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