PPL Logo

CProxy_ArrayBase Class Reference
[CkArray]

This class is a wrapper around a CkArrayIndex and ArrayID, used by array element proxies. More...

#include <ckarray.h>

Inheritance diagram for CProxy_ArrayBase:

Inheritance graph
[legend]
Collaboration diagram for CProxy_ArrayBase:

Collaboration graph
[legend]

Public Member Functions

 CProxy_ArrayBase ()
 CProxy_ArrayBase (const CkArrayID &aid, CK_DELCTOR_PARAM)
 CProxy_ArrayBase (const CkArrayID &aid)
 CProxy_ArrayBase (const ArrayElement *e)
 CProxy_ArrayBase (const CProxy_ArrayBase &cs)
bool operator== (const CProxy_ArrayBase &other)
void ckCheck (void) const
void ckCheck (void) const
void ckInsertIdx (CkArrayMessage *m, int ctor, int onPe, const CkArrayIndex &idx)
void ckBroadcast (CkArrayMessage *m, int ep, int opts=0) const
CkArrayID ckGetArrayID (void) const
CkArrayckLocalBranch (void) const
CkLocMgrckLocMgr (void) const
 operator CkArrayID () const
unsigned int numLocalElements () const
void doneInserting (void)
void beginInserting (void)
CK_REDUCTION_CLIENT_DECL void pup (PUP::er &p)
 Pup the data for this proxy. Only needed for delegated proxies.

Static Public Member Functions

static CkArrayID ckCreateEmptyArray (CkArrayOptions opts)
static void ckCreateEmptyArrayAsync (CkCallback cb, CkArrayOptions opts)
static CkArrayID ckCreateArray (CkArrayMessage *m, int ctor, const CkArrayOptions &opts)

Private Attributes

CkArrayID _aid

Detailed Description

This class is a wrapper around a CkArrayIndex and ArrayID, used by array element proxies.

This makes the translator's job simpler, and the translated code smaller.

Definition at line 105 of file ckarray.h.


Constructor & Destructor Documentation

CProxy_ArrayBase::CProxy_ArrayBase (  )  [inline]

Definition at line 109 of file ckarray.h.

References _aid, and CkArrayID::setZero().

Referenced by PUPmarshall().

Here is the call graph for this function:

Here is the caller graph for this function:

CProxy_ArrayBase::CProxy_ArrayBase ( const CkArrayID aid,
CK_DELCTOR_PARAM   
) [inline]

Definition at line 114 of file ckarray.h.

CProxy_ArrayBase::CProxy_ArrayBase ( const CkArrayID aid  )  [inline]

Definition at line 116 of file ckarray.h.

CProxy_ArrayBase::CProxy_ArrayBase ( const ArrayElement e  ) 

Definition at line 553 of file ckarray.C.

CProxy_ArrayBase::CProxy_ArrayBase ( const CProxy_ArrayBase cs  )  [inline]

Definition at line 119 of file ckarray.h.


Member Function Documentation

bool CProxy_ArrayBase::operator== ( const CProxy_ArrayBase other  )  [inline]

Definition at line 121 of file ckarray.h.

References ckGetArrayID().

Here is the call graph for this function:

void CProxy_ArrayBase::ckCheck ( void   )  const [inline]

Definition at line 126 of file ckarray.h.

References _aid, and CkArrayID::isZero().

Here is the call graph for this function:

void CProxy_ArrayBase::ckCheck ( void   )  const [inline]

Definition at line 131 of file ckarray.h.

CkArrayID CProxy_ArrayBase::ckCreateEmptyArray ( CkArrayOptions  opts  )  [static]

Definition at line 672 of file ckarray.C.

References CkAllocSysMsg(), and ckCreateArray().

Here is the call graph for this function:

void CProxy_ArrayBase::ckCreateEmptyArrayAsync ( CkCallback  cb,
CkArrayOptions  opts 
) [static]

Definition at line 677 of file ckarray.C.

References CkAllocSysMsg(), and CkSendAsyncCreateArray().

Here is the call graph for this function:

CkArrayID CProxy_ArrayBase::ckCreateArray ( CkArrayMessage m,
int  ctor,
const CkArrayOptions opts 
) [static]

Definition at line 666 of file ckarray.C.

Referenced by ckCreateEmptyArray().

Here is the caller graph for this function:

void CProxy_ArrayBase::ckInsertIdx ( CkArrayMessage m,
int  ctor,
int  onPe,
const CkArrayIndex &  idx 
)

void CProxy_ArrayBase::ckBroadcast ( CkArrayMessage m,
int  ep,
int  opts = 0 
) const

Definition at line 1414 of file ckarray.C.

References CkArrayMessage::array_ep_bcast(), CkDelegateMgr::ArrayBroadcast(), CProxy::ckDelegatedPtr(), CProxy::ckDelegatedTo(), CProxy::ckIsDelegated(), Converse::CkMyPe(), ForBocMsg, envelope::setMsgtype(), and UsrToEnv().

Referenced by CkDelegateMgr::ArrayBroadcast(), and CkBroadcastMsgArray().

Here is the call graph for this function:

Here is the caller graph for this function:

CkArrayID CProxy_ArrayBase::ckGetArrayID ( void   )  const [inline]

Definition at line 140 of file ckarray.h.

References _aid.

Referenced by ControlPoint::ControlPointAssociatedArray::ControlPointAssociatedArray(), operator CkArrayID(), and operator==().

Here is the caller graph for this function:

CkArray* CProxy_ArrayBase::ckLocalBranch ( void   )  const [inline]

Definition at line 141 of file ckarray.h.

References _aid, and CkArrayID::ckLocalBranch().

Referenced by ckInsertIdx(), and ckLocMgr().

Here is the call graph for this function:

Here is the caller graph for this function:

CkLocMgr * CProxy_ArrayBase::ckLocMgr ( void   )  const

Definition at line 621 of file ckarray.C.

References ckLocalBranch(), and CkArray::getLocMgr().

Referenced by numLocalElements().

Here is the call graph for this function:

Here is the caller graph for this function:

CProxy_ArrayBase::operator CkArrayID (  )  const [inline]

Definition at line 143 of file ckarray.h.

References ckGetArrayID().

Here is the call graph for this function:

unsigned int CProxy_ArrayBase::numLocalElements (  )  const [inline]

Definition at line 144 of file ckarray.h.

References ckLocMgr(), and CkLocMgr::numLocalElements().

Here is the call graph for this function:

void CProxy_ArrayBase::doneInserting ( void   ) 

Definition at line 1065 of file ckarray.C.

void CProxy_ArrayBase::beginInserting ( void   ) 

Definition at line 1072 of file ckarray.C.

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

Pup the data for this proxy. Only needed for delegated proxies.

Reimplemented from CProxy.

Definition at line 746 of file ckarray.C.

References CkArrayID::pup(), and CProxy::pup().

Referenced by PUPmarshall().

Here is the call graph for this function:

Here is the caller graph for this function:


Field Documentation

Definition at line 107 of file ckarray.h.

Referenced by ckCheck(), ckGetArrayID(), ckLocalBranch(), and CProxy_ArrayBase().


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

Generated on Mon Sep 21 08:22:23 2020 for Charm++ by  doxygen 1.5.5