PPL Logo

CkArrayListener Class Reference

#include <ckarrayoptions.h>

Inheritance diagram for CkArrayListener:

Inheritance graph
[legend]
Collaboration diagram for CkArrayListener:

Collaboration graph
[legend]

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.
intckGetData (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 bool 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 bool 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

Detailed Description

Definition at line 12 of file ckarrayoptions.h.


Constructor & Destructor Documentation

CkArrayListener::CkArrayListener ( int  nInts_  ) 

Definition at line 200 of file ckarrayoptions.C.

References dataOffset.

CkArrayListener::CkArrayListener ( CkMigrateMessage m  ) 

Definition at line 201 of file ckarrayoptions.C.

References dataOffset, and nInts.


Member Function Documentation

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

Reimplemented from PUP::able.

Reimplemented in CkArrayBroadcaster, and CkArrayReducer.

Definition at line 205 of file ckarrayoptions.C.

References dataOffset, and nInts.

Referenced by CkArrayBroadcaster::pup(), and CkArrayReducer::pup().

Here is the caller graph for this function:

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 25 of file ckarrayoptions.h.

References nInts.

Referenced by CkArray::addListener().

Here is the caller graph for this function:

int CkArrayListener::ckGetOffset ( void   )  const [inline]

Return the offset of our data into the element.

Definition at line 27 of file ckarrayoptions.h.

References dataOffset.

Referenced by ArrayElement::contribute2(), and ArrayElement::getRedNo().

Here is the caller graph for this function:

virtual void CkArrayListener::ckBeginInserting ( void   )  [inline, virtual]

Elements may be being created.

Reimplemented in CkArrayReducer, and CkVerboseListener.

Definition at line 32 of file ckarrayoptions.h.

virtual void CkArrayListener::ckEndInserting ( void   )  [inline, virtual]

No more elements will be created (for now).

Reimplemented in CkArrayReducer, and CkVerboseListener.

Definition at line 34 of file ckarrayoptions.h.

virtual void CkArrayListener::ckElementStamp ( int eltInfo  )  [inline, virtual]

Element creation message is about to be sent.

Reimplemented in CkArrayBroadcaster, CkArrayReducer, and CkVerboseListener.

Definition at line 39 of file ckarrayoptions.h.

virtual void CkArrayListener::ckElementCreating ( ArrayElement elt  )  [inline, virtual]

Element is about to be created on this processor.

Reimplemented in CkArrayReducer, and CkVerboseListener.

Definition at line 41 of file ckarrayoptions.h.

virtual bool 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 44 of file ckarrayoptions.h.

virtual void CkArrayListener::ckElementDied ( ArrayElement elt  )  [inline, virtual]

Element is about to be destroyed.

Reimplemented in CkArrayReducer, and CkVerboseListener.

Definition at line 50 of file ckarrayoptions.h.

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.

Definition at line 54 of file ckarrayoptions.h.

virtual bool 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 58 of file ckarrayoptions.h.

virtual void CkArrayListener::flushState (  )  [inline, virtual]

used by checkpointing to reset the states

Reimplemented in CkArrayBroadcaster.

Definition at line 64 of file ckarrayoptions.h.


Field Documentation

Definition at line 13 of file ckarrayoptions.h.

Referenced by CkArrayListener(), ckGetLen(), and pup().

Definition at line 14 of file ckarrayoptions.h.

Referenced by CkArrayListener(), ckGetData(), ckGetOffset(), and pup().

Definition at line 22 of file ckarrayoptions.h.


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

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