PPL Logo

CkLocation Class Reference
[CkArrayImpl]

The "data" class passed to a CkLocIterator, which refers to a bound glob of array elements. More...

#include <cklocation.h>

Collaboration diagram for CkLocation:

Collaboration graph
[legend]

Public Member Functions

 CkLocation (CkLocMgr *mgr_, CkLocRec_local *rec_)
CkLocMgrgetManager (void) const
 Find our location manager.
CkLocRec_localgetLocalRecord (void) const
 Find the local record that refers to this element.
const CkArrayIndexgetIndex (void) const
 Look up and return the array index of this location.
void destroyAll ()
void pup (PUP::er &p)
 Pup all the array elements at this location.

Private Attributes

CkLocMgrmgr
CkLocRec_localrec

Detailed Description

The "data" class passed to a CkLocIterator, which refers to a bound glob of array elements.

This is a transient class-- do not attempt to store it or send it across processors.

Definition at line 448 of file cklocation.h.


Constructor & Destructor Documentation

CkLocation::CkLocation ( CkLocMgr mgr_,
CkLocRec_local rec_ 
)

Definition at line 2432 of file cklocation.C.


Member Function Documentation

CkLocMgr* CkLocation::getManager ( void   )  const [inline]

Find our location manager.

Definition at line 455 of file cklocation.h.

Referenced by CkElementInformHome::addLocation(), CkElementEvacuate::addLocation(), and ElementDistributor::addLocation().

CkLocRec_local* CkLocation::getLocalRecord ( void   )  const [inline]

Find the local record that refers to this element.

Definition at line 458 of file cklocation.h.

Referenced by CkElementEvacuate::addLocation(), ElementCaller::addLocation(), and ElementDistributor::addLocation().

const CkArrayIndex & CkLocation::getIndex ( void   )  const

void CkLocation::destroyAll (  ) 

Definition at line 2439 of file cklocation.C.

References CkLocMgr::callMethod(), CkMigratable::ckDestroy(), mgr, and rec.

Referenced by ElementDestroyer::addLocation().

void CkLocation::pup ( PUP::er p  ) 

Pup all the array elements at this location.

Definition at line 2443 of file cklocation.C.

References CkElementCreation_migrate, mgr, CkLocMgr::pupElementsFor(), and rec.


Field Documentation

Definition at line 449 of file cklocation.h.

Referenced by destroyAll(), and pup().

Definition at line 450 of file cklocation.h.

Referenced by destroyAll(), getIndex(), and pup().


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

Generated on Thu May 24 07:57:15 2012 for Charm++ by  doxygen 1.5.5