#include <ckobjid.h>
Public Member Functions | |
CkObjID () | |
operator CkHashCode () const | |
bool | operator== (const CkObjID &t) const |
void * | getObject () |
The method for returning the actual object pointed to by an id If the object doesnot exist on the processor it returns NULL. | |
int | guessPE () |
char * | toString (char *buf) const |
void | updatePosition (int PE) |
Data Fields | |
ChareType | type |
_ObjectID | data |
Definition at line 20 of file ckobjid.h.
CkObjID::CkObjID | ( | ) | [inline] |
CkObjID::operator CkHashCode | ( | ) | const [inline] |
Definition at line 28 of file ckobjid.h.
References _ObjectID::array, CkArrayIndexBase::asChild(), _ObjectID::chare, circleShift(), data, _ObjectID::group, _ObjectID::id, _ObjectID::s_array::idx, CkChareID::objPtr, _ObjectID::onPE, CkChareID::onPE, type, TypeArray, TypeChare, TypeGroup, TypeInvalid, TypeMainChare, and TypeNodeGroup.
Definition at line 53 of file ckobjid.h.
References _ObjectID::array, CkArrayIndexBase::asChild(), _ObjectID::chare, data, _ObjectID::group, _ObjectID::s_array::id, _ObjectID::id, _ObjectID::s_array::idx, CkChareID::objPtr, _ObjectID::onPE, CkChareID::onPE, type, TypeArray, TypeChare, TypeGroup, TypeInvalid, TypeMainChare, and TypeNodeGroup.
void * CkObjID::getObject | ( | ) |
The method for returning the actual object pointed to by an id If the object doesnot exist on the processor it returns NULL.
Definition at line 10 of file ckobjid.C.
References _ObjectID::array, CkArrayIndexBase::asChild(), _ObjectID::chare, CkArrayID::ckLocalBranch(), CkLocalBranch(), CkLocalChare(), BGConverse::CkMyNode(), Converse::CkMyPe(), data, _ObjectID::group, _ObjectID::s_array::id, _ObjectID::id, _ObjectID::s_array::idx, _ObjectID::onPE, type, TypeArray, TypeChare, TypeGroup, TypeMainChare, and TypeNodeGroup.
Referenced by _getTicket(), _receivedDetDataHandler(), _receivedTNDataHandler(), preProcessReceivedMessage(), and sendCommonMsg().
int CkObjID::guessPE | ( | ) |
Definition at line 50 of file ckobjid.C.
References _ObjectID::array, CkArrayIndexBase::asChild(), _ObjectID::chare, CkArrayID::ckLocalBranch(), data, _ObjectID::group, _ObjectID::s_array::id, _ObjectID::id, _ObjectID::s_array::idx, CkArray::lastKnown(), _ObjectID::onPE, CkChareID::onPE, type, TypeArray, TypeChare, TypeGroup, TypeMainChare, and TypeNodeGroup.
Referenced by _receivedDetDataHandler(), _receivedTNDataHandler(), postProcessReceivedMessage(), preProcessReceivedMessage(), and updatePosition().
char * CkObjID::toString | ( | char * | buf | ) | const |
Definition at line 72 of file ckobjid.C.
References _ObjectID::array, CkArrayIndexBase::asChild(), _ObjectID::chare, data, _ObjectID::group, _ObjectID::s_array::id, _ObjectID::id, _ckGroupID::idx, _ObjectID::s_array::idx, idx, CkChareID::objPtr, _ObjectID::onPE, CkChareID::onPE, type, TypeArray, TypeChare, TypeGroup, TypeMainChare, and TypeNodeGroup.
Referenced by _getTicket(), _receivedDetDataHandler(), _receivedTNDataHandler(), ChareMlogData::addLogEntry(), buildProcessedTicketLog(), createObjIDList(), ChareMlogData::next_ticket(), preProcessReceivedMessage(), printDet(), printLog(), processReceivedTN(), ChareMlogData::pup(), removeProcessedLogs(), resendMessageForChare(), ChareMlogData::searchRestoredLocalQ(), sendArrayMsg(), sendChareMsg(), and sendCommonMsg().
void CkObjID::updatePosition | ( | int | PE | ) | [inline] |
Definition at line 101 of file ckobjid.C.
References _ObjectID::chare, data, _ObjectID::group, guessPE(), _ObjectID::id, _ObjectID::onPE, CkChareID::onPE, type, TypeChare, TypeGroup, TypeMainChare, and TypeNodeGroup.
Definition at line 22 of file ckobjid.h.
Referenced by Chare::Chare(), CkObjID(), fault_aware(), getObject(), guessPE(), ArrayElement::initBasics(), IrrGroup::IrrGroup(), NodeGroup::NodeGroup(), operator CkHashCode(), operator==(), sendArrayMsg(), sendChareMsg(), sendGroupMsg(), sendNodeGroupMsg(), toString(), updateHomePE(), and updatePosition().
Definition at line 23 of file ckobjid.h.
Referenced by _distributedLocationHandler(), _sendBackLocationHandler(), ElementDistributor::addLocation(), Chare::Chare(), getObject(), guessPE(), ArrayElement::initBasics(), IrrGroup::IrrGroup(), NodeGroup::NodeGroup(), operator CkHashCode(), operator==(), sendArrayMsg(), sendBackImmigrantRecObjs(), sendChareMsg(), sendGroupMsg(), sendNodeGroupMsg(), toString(), updateHomePE(), and updatePosition().