
#include <charm++.h>


Public Member Functions | |
| Chare (CkMigrateMessage *m) | |
| Chare () | |
| virtual | ~Chare () |
| virtual void | pup (PUP::er &p) |
| const CkChareID & | ckGetChareID (void) const |
| void | CkGetChareID (CkChareID *dest) const |
| void | CkEnableObjQ () |
| CkObjectMsgQ & | CkGetObjQueue () |
| virtual CHARM_INPLACE_NEW int | ckGetChareType () const |
| Return the type of this chare, as present in _chareTable. | |
| virtual char * | ckDebugChareName (void) |
| Return a strdup'd array containing this object's string name. | |
| virtual int | ckDebugChareID (char *str, int limit) |
| Place into str a copy of the id of this object up to limit bytes, return the number of bytes used for the id. | |
| virtual void | ckDebugPup (PUP::er &p) |
| virtual void | CkAddThreadListeners (CthThread tid, void *msg) |
| Called when a [threaded] charm entry method is created:. | |
| void | sanitycheck () |
Data Fields | |
| int | magic |
| int | chareIdx |
| ChareMlogData * | mlogData |
Protected Attributes | |
| CkChareID | thishandle |
| CkObjectMsgQ | objQ |
Definition at line 257 of file charm++.h.
| Chare::Chare | ( | CkMigrateMessage * | m | ) |
Definition at line 83 of file ck.C.
References CkEnableObjQ(), Converse::CkMyPe(), magic, mlogData, CkChareID::objPtr, CkChareID::onPE, and thishandle.
| Chare::Chare | ( | void | ) |
Definition at line 60 of file ck.C.
References _ObjectID::chare, chareIdx, CkEnableObjQ(), Converse::CkMyPe(), CkObjID::data, _ObjectID::id, magic, mlogData, ChareMlogData::objID, CkChareID::objPtr, CkChareID::onPE, thishandle, CkObjID::type, and TypeChare.
| Chare::~Chare | ( | ) | [virtual] |
Definition at line 106 of file ck.C.
References _allocMsg(), _charmHandlerIdx, chareIdx, Converse::CkMyPe(), Converse::CmiSyncSendAndFree(), DeleteVidMsg, envelope::getTotalsize(), envelope::setSrcPe(), envelope::setVidPtr(), and UsrToEnv().
| void Chare::pup | ( | PUP::er & | p | ) | [virtual] |
Reimplemented in IrrGroup, ArrayElement, CkArray, CkArrayReductionMgr, DefaultArrayMap, FastArrayMap, ReadFileMap, PropMap, CkMigratable, CkLocMgr, CkNodeReductionMgr, NodeGroup, CkGroupInitCallback, CkReductionMgr, Group, TempoArray, LBDatabase, Cell, Cell2D, Cell1D, Cell3D, ArmciVirtualProcessor, threadCollide, CkMulticastMgr, PVT, GVT, TimePool, MemoryPool, pose, and TCharmClient1D.
Definition at line 133 of file ck.C.
References chareIdx, PUP::er::isUnpacking(), magic, mlogData, CkChareID::objPtr, CkChareID::onPE, p, ChareMlogData::pup(), ChareMlogData::teamRecoveryFlag, and thishandle.
Referenced by ckDebugPup(), CkPupChareData(), CkPupMainChareData(), CkMigratable::pup(), and IrrGroup::pup().
| const CkChareID& Chare::ckGetChareID | ( | void | ) | const [inline] |
Definition at line 277 of file charm++.h.
References thishandle.
Referenced by CkCallback::CkCallback(), and PUPmarshall().
| void Chare::CkGetChareID | ( | CkChareID * | dest | ) | const [inline] |
| void Chare::CkEnableObjQ | ( | ) |
Definition at line 99 of file ck.C.
References CkObjectMsgQ::create(), and objQ.
Referenced by Chare().
| CkObjectMsgQ& Chare::CkGetObjQueue | ( | ) | [inline] |
Definition at line 282 of file charm++.h.
References objQ.
Referenced by _enqObjQueue(), _ObjectQHandler(), _skipCldEnqueue(), and _TokenHandler().
| int Chare::ckGetChareType | ( | void | ) | const [virtual] |
Return the type of this chare, as present in _chareTable.
Reimplemented in IrrGroup, and CkMigratable.
| char * Chare::ckDebugChareName | ( | void | ) | [virtual] |
Return a strdup'd array containing this object's string name.
Reimplemented in IrrGroup, and ArrayElement.
Definition at line 156 of file ck.C.
References Converse::CkMyPe().
Place into str a copy of the id of this object up to limit bytes, return the number of bytes used for the id.
Reimplemented in IrrGroup, and ArrayElement.
| void Chare::ckDebugPup | ( | PUP::er & | p | ) | [virtual] |
| void Chare::CkAddThreadListeners | ( | CthThread | tid, | |
| void * | msg | |||
| ) | [virtual] |
Called when a [threaded] charm entry method is created:.
This method is called before starting a [threaded] entry method.
Reimplemented in IrrGroup, CkMigratable, and Group.
Definition at line 171 of file ck.C.
References CthSetThreadID(), CkChareID::objPtr, CkChareID::onPE, thishandle, traceAddThreadListeners(), and UsrToEnv().
Referenced by CkMigratable::CkAddThreadListeners(), and Group::CkAddThreadListeners().
| void Chare::sanitycheck | ( | ) | [inline] |
Reimplemented in CkReductionMgr.
Definition at line 296 of file charm++.h.
References CmiAbort(), and magic.
Referenced by CkLocMgr::pupElementsFor().
CkChareID Chare::thishandle [protected] |
Definition at line 259 of file charm++.h.
Referenced by AmrCoordinator::AmrCoordinator(), Chare(), CkAddThreadListeners(), CkGetChareID(), ckGetChareID(), CkReductionMgr::ckSetReductionClient(), pup(), waitqd_QDChare::waitQD(), and waitqd_QDChare::waitqd_QDChare().
CkObjectMsgQ Chare::objQ [protected] |
Definition at line 271 of file charm++.h.
Referenced by _processTicketRequest(), _receivedTNDataHandler(), _recvCheckpointHandler(), _recvRestartCheckpointHandler(), _ticketHandler(), ElementCaller::addLocation(), CkMigratable::AtSync(), Chare(), CkPupGroupData(), CkReductionMgr::contribute(), forAllCharesDo(), generateCommonTicketRequest(), ArrayElement::initBasics(), IrrGroup::IrrGroup(), NodeGroup::NodeGroup(), postProcessReceivedMessage(), preProcessReceivedMessage(), processReceivedTN(), pup(), sendTicketRequest(), CkMigratable::staticResumeFromSync(), and ticketLogLocalMessage().
1.5.5