PPL Logo

CkObjID Class Reference

#include <ckobjid.h>

Collaboration diagram for CkObjID:

Collaboration graph
[legend]

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

Detailed Description

Definition at line 20 of file ckobjid.h.


Constructor & Destructor Documentation

CkObjID::CkObjID (  )  [inline]

Definition at line 24 of file ckobjid.h.

References type, and TypeInvalid.


Member Function Documentation

CkObjID::operator CkHashCode (  )  const [inline]

bool CkObjID::operator== ( const CkObjID t  )  const [inline]

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().

Here is the call graph for this function:

Here is the caller graph for this function:

int CkObjID::guessPE (  ) 

char * CkObjID::toString ( char *  buf  )  const

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.

Here is the call graph for this function:


Field Documentation


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

Generated on Mon Sep 21 08:21:09 2020 for Charm++ by  doxygen 1.5.5