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 481 of file charm++.h.


Constructor & Destructor Documentation

CkDelegateData::CkDelegateData (  )  [inline]

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

CkDelegateData::~CkDelegateData (  )  [virtual]

Definition at line 284 of file ck.C.


Member Function Documentation

void CkDelegateData::reset (  )  [inline]

Definition at line 488 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 495 of file charm++.h.

References refcount.

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

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 501 of file charm++.h.

References refcount.

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


Field Documentation

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

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


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

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