
#include <ckarray.h>


Public Member Functions | |
| CkArrayListener (int nInts_) | |
| CkArrayListener (CkMigrateMessage *m) | |
| virtual void | pup (PUP::er &p) |
| PUPable_abstract (CkArrayListener) virtual void ckRegister(CkArray *arrMgr | |
| Register this array type. Our data is stored in the element at dataOffset. | |
| int | ckGetLen (void) const |
| Return the number of ints of data to store per element. | |
| int | ckGetOffset (void) const |
| Return the offset of our data into the element. | |
| int * | ckGetData (ArrayElement *el) const |
| Return our data associated with this array element. | |
| virtual void | ckBeginInserting (void) |
| Elements may be being created. | |
| virtual void | ckEndInserting (void) |
| No more elements will be created (for now). | |
| virtual void | ckElementStamp (int *eltInfo) |
| Element creation message is about to be sent. | |
| virtual void | ckElementCreating (ArrayElement *elt) |
| Element is about to be created on this processor. | |
| virtual CmiBool | ckElementCreated (ArrayElement *elt) |
| Element was just created on this processor Return false if the element migrated away or deleted itself. | |
| virtual void | ckElementDied (ArrayElement *elt) |
| Element is about to be destroyed. | |
| virtual void | ckElementLeaving (ArrayElement *elt) |
| Element is about to leave this processor (so about to call pup). | |
| virtual CmiBool | ckElementArriving (ArrayElement *elt) |
| Element just arrived on this processor (so just called pup) Return false if the element migrated away or deleted itself. | |
| virtual void | flushState () |
| used by checkpointing to reset the states | |
Data Fields | |
| int | dataOffset_ |
Private Attributes | |
| int | nInts |
| int | dataOffset |
Definition at line 140 of file ckarray.h.
| CkArrayListener::CkArrayListener | ( | int | nInts_ | ) |
| CkArrayListener::CkArrayListener | ( | CkMigrateMessage * | m | ) |
| void CkArrayListener::pup | ( | PUP::er & | p | ) | [virtual] |
Reimplemented from PUP::able.
Reimplemented in CkArrayBroadcaster, and CkArrayReducer.
Definition at line 602 of file ckarray.C.
References dataOffset, and nInts.
Referenced by CkArrayBroadcaster::pup(), and CkArrayReducer::pup().
| CkArrayListener::PUPable_abstract | ( | CkArrayListener | ) |
Register this array type. Our data is stored in the element at dataOffset.
| int CkArrayListener::ckGetLen | ( | void | ) | const [inline] |
Return the number of ints of data to store per element.
Definition at line 153 of file ckarray.h.
References nInts.
Referenced by CkArray::addListener().
| int CkArrayListener::ckGetOffset | ( | void | ) | const [inline] |
Return the offset of our data into the element.
Definition at line 155 of file ckarray.h.
References dataOffset.
Referenced by ArrayElement::contribute2().
| virtual void CkArrayListener::ckBeginInserting | ( | void | ) | [inline, virtual] |
| virtual void CkArrayListener::ckEndInserting | ( | void | ) | [inline, virtual] |
| virtual void CkArrayListener::ckElementStamp | ( | int * | eltInfo | ) | [inline, virtual] |
Element creation message is about to be sent.
Reimplemented in CkArrayBroadcaster, CkArrayReducer, and CkVerboseListener.
| virtual void CkArrayListener::ckElementCreating | ( | ArrayElement * | elt | ) | [inline, virtual] |
Element is about to be created on this processor.
Reimplemented in CkArrayReducer, and CkVerboseListener.
| virtual CmiBool CkArrayListener::ckElementCreated | ( | ArrayElement * | elt | ) | [inline, virtual] |
Element was just created on this processor Return false if the element migrated away or deleted itself.
Reimplemented in CkArrayBroadcaster, and CkVerboseListener.
Definition at line 172 of file ckarray.h.
References CmiTrue.
| virtual void CkArrayListener::ckElementDied | ( | ArrayElement * | elt | ) | [inline, virtual] |
| virtual void CkArrayListener::ckElementLeaving | ( | ArrayElement * | elt | ) | [inline, virtual] |
Element is about to leave this processor (so about to call pup).
Reimplemented in CkArrayReducer, and CkVerboseListener.
| virtual CmiBool CkArrayListener::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 in CkArrayBroadcaster, CkArrayReducer, and CkVerboseListener.
Definition at line 184 of file ckarray.h.
References CmiTrue.
| virtual void CkArrayListener::flushState | ( | ) | [inline, virtual] |
int CkArrayListener::nInts [private] |
int CkArrayListener::dataOffset [private] |
Definition at line 142 of file ckarray.h.
Referenced by CkArrayListener(), ckGetData(), ckGetOffset(), and pup().
1.5.5