#include <charm++.h>
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 |
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.
void CkDelegateData::reset | ( | ) | [inline] |
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().
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().
int CkDelegateData::refcount [private] |