Public Member Functions | |
CkArrayReducer (CkGroupID mgrID_) | |
Attach this array to this CkReductionMgr. | |
CkArrayReducer (CkMigrateMessage *m) | |
virtual void | pup (PUP::er &p) |
virtual | ~CkArrayReducer () |
PUPable_decl (CkArrayReducer) | |
void | ckBeginInserting (void) |
Elements may be being created. | |
void | ckEndInserting (void) |
No more elements will be created (for now). | |
void | ckElementStamp (int *eltInfo) |
Element creation message is about to be sent. | |
void | ckElementCreating (ArrayElement *elt) |
Element is about to be created on this processor. | |
void | ckElementDied (ArrayElement *elt) |
Element is about to be destroyed. | |
void | ckElementLeaving (ArrayElement *elt) |
Element is about to leave this processor (so about to call pup). | |
bool | ckElementArriving (ArrayElement *elt) |
Element just arrived on this processor (so just called pup) Return false if the element migrated away or deleted itself. | |
Private Types | |
typedef contributorInfo * | I |
Private Member Functions | |
contributorInfo * | getData (ArrayElement *el) |
Private Attributes | |
CkGroupID | mgrID |
CkReductionMgr * | mgr |
Definition at line 132 of file ckarray.C.
typedef contributorInfo* CkArrayReducer::I [private] |
CkArrayReducer::CkArrayReducer | ( | CkGroupID | mgrID_ | ) |
CkArrayReducer::CkArrayReducer | ( | CkMigrateMessage * | m | ) |
contributorInfo* CkArrayReducer::getData | ( | ArrayElement * | el | ) | [inline, private] |
Definition at line 136 of file ckarray.C.
References CkArrayListener::ckGetData().
Referenced by ckElementArriving(), ckElementCreating(), ckElementDied(), and ckElementLeaving().
void CkArrayReducer::pup | ( | PUP::er & | p | ) | [virtual] |
Reimplemented from CkArrayListener.
Definition at line 1278 of file ckarray.C.
References PUP::er::isUnpacking(), mgr, mgrID, and CkArrayListener::pup().
CkArrayReducer::PUPable_decl | ( | CkArrayReducer | ) |
void CkArrayReducer::ckBeginInserting | ( | void | ) | [inline, virtual] |
Elements may be being created.
Reimplemented from CkArrayListener.
Definition at line 146 of file ckarray.C.
References CkReductionMgr::creatingContributors(), and mgr.
void CkArrayReducer::ckEndInserting | ( | void | ) | [inline, virtual] |
No more elements will be created (for now).
Reimplemented from CkArrayListener.
Definition at line 147 of file ckarray.C.
References CkReductionMgr::doneCreatingContributors(), and mgr.
void CkArrayReducer::ckElementStamp | ( | int * | eltInfo | ) | [inline, virtual] |
Element creation message is about to be sent.
Reimplemented from CkArrayListener.
Definition at line 149 of file ckarray.C.
References CkReductionMgr::contributorStamped(), and mgr.
void CkArrayReducer::ckElementCreating | ( | ArrayElement * | elt | ) | [inline, virtual] |
Element is about to be created on this processor.
Reimplemented from CkArrayListener.
Definition at line 151 of file ckarray.C.
References CkReductionMgr::contributorCreated(), getData(), and mgr.
void CkArrayReducer::ckElementDied | ( | ArrayElement * | elt | ) | [inline, virtual] |
Element is about to be destroyed.
Reimplemented from CkArrayListener.
Definition at line 153 of file ckarray.C.
References CkReductionMgr::contributorDied(), getData(), and mgr.
void CkArrayReducer::ckElementLeaving | ( | ArrayElement * | elt | ) | [inline, virtual] |
Element is about to leave this processor (so about to call pup).
Reimplemented from CkArrayListener.
Definition at line 156 of file ckarray.C.
References CkReductionMgr::contributorLeaving(), getData(), and mgr.
bool CkArrayReducer::ckElementArriving | ( | ArrayElement * | elt | ) | [inline, virtual] |
Element just arrived on this processor (so just called pup) Return false if the element migrated away or deleted itself.
Reimplemented from CkArrayListener.
Definition at line 158 of file ckarray.C.
References CkReductionMgr::contributorArriving(), getData(), and mgr.
CkGroupID CkArrayReducer::mgrID [private] |
CkReductionMgr* CkArrayReducer::mgr [private] |
Definition at line 134 of file ckarray.C.
Referenced by CkArrayReducer(), ckBeginInserting(), ckElementArriving(), ckElementCreating(), ckElementDied(), ckElementLeaving(), ckElementStamp(), ckEndInserting(), and pup().