PPL Logo

CkArrayReducer Class Reference

This arrayListener is in charge of performing reductions on the array. More...

Inheritance diagram for CkArrayReducer:

Inheritance graph
[legend]
Collaboration diagram for CkArrayReducer:

Collaboration graph
[legend]

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).
CmiBool 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 contributorInfoI

Private Member Functions

contributorInfogetData (ArrayElement *el)

Private Attributes

CkGroupID mgrID
CkReductionMgrmgr

Detailed Description

This arrayListener is in charge of performing reductions on the array.

Definition at line 136 of file ckarray.C.


Member Typedef Documentation

typedef contributorInfo* CkArrayReducer::I [private]

Definition at line 139 of file ckarray.C.


Constructor & Destructor Documentation

CkArrayReducer::CkArrayReducer ( CkGroupID  mgrID_  ) 

Attach this array to this CkReductionMgr.

Definition at line 1127 of file ckarray.C.

References mgr, and mgrID.

CkArrayReducer::CkArrayReducer ( CkMigrateMessage m  ) 

Definition at line 1133 of file ckarray.C.

References mgr.

CkArrayReducer::~CkArrayReducer (  )  [virtual]

Definition at line 1144 of file ckarray.C.


Member Function Documentation

contributorInfo* CkArrayReducer::getData ( ArrayElement el  )  [inline, private]

void CkArrayReducer::pup ( PUP::er p  )  [virtual]

Reimplemented from CkArrayListener.

Definition at line 1138 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 150 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 151 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 153 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 155 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 157 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 160 of file ckarray.C.

References CkReductionMgr::contributorLeaving(), getData(), and mgr.

CmiBool 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 162 of file ckarray.C.

References CmiTrue, CkReductionMgr::contributorArriving(), getData(), and mgr.


Field Documentation

Definition at line 137 of file ckarray.C.

Referenced by CkArrayReducer(), and pup().


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

Generated on Thu May 24 07:56:59 2012 for Charm++ by  doxygen 1.5.5