PPL Logo

CkDelegateData Class Reference

Per-proxy data storage for delegation. More...

#include <charm++.h>

Inheritance diagram for CkDelegateData:

Inheritance graph
[legend]
Collaboration diagram for CkDelegateData:

Collaboration graph
[legend]

Public Member Functions

 CkDelegateData ()
virtual ~CkDelegateData ()
void reset ()
void ref (void)
 Add a reference to this delegation data.
void unref (void)
 Remove our reference from this data.

Private Attributes

int refcount

Detailed Description

Per-proxy data storage for delegation.

A CkDelegateMgr inherits from this class and adds his per-proxy data. This class is reference counted.

Definition at line 612 of file charm++.h.


Constructor & Destructor Documentation

CkDelegateData::CkDelegateData (  )  [inline]

Definition at line 615 of file charm++.h.

CkDelegateData::~CkDelegateData (  )  [virtual]

Definition at line 292 of file ck.C.


Member Function Documentation

void CkDelegateData::reset (  )  [inline]

Definition at line 619 of file charm++.h.

References refcount.

void CkDelegateData::ref ( void   )  [inline]

Add a reference to this delegation data.

Just increments the refcount. Only CProxy should ever have to call this routine. Actually now the delegate manager calls it.

Definition at line 626 of file charm++.h.

References refcount.

Referenced by CkDelegateMgr::ckCopyDelegateData(), CProxy::ckDelegate(), and CProxy::pup().

Here is the caller graph for this function:

void CkDelegateData::unref ( void   )  [inline]

Remove our reference from this data.

If the refcount reaches 0, deletes the delegateData. Only CProxy should ever have to call this routine. Actually now the delegate manager calls it.

Definition at line 632 of file charm++.h.

References refcount.

Referenced by CProxy::ckUndelegate(), CProxy::operator=(), and CProxy::~CProxy().

Here is the caller graph for this function:


Field Documentation

Definition at line 613 of file charm++.h.

Referenced by ref(), reset(), and unref().


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

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