#include <at_lifetime.h>
Public Methods | |
| virtual | ~PtrTarget () |
| virtual int | AddRef () const=0 |
| virtual int | Release () const=0 |
It is not required to use this interface. A substitute PtrTraits class can allow the use of any reference counting class.
|
|
|
|
|
The AddRef() method adds 1 to the reference count to this object.
|
|
|
The Release() method decrements by 1 the reference count to this object. Once all references have been released (the reference count is zero), the PtrTarget implementation is expected to delete itself. The act of "deleting itself" may be determinted to be different for each kind of implementation.
|
Generated for Austria by
and
MakeXS at Sun Oct 24 17:35:34 PDT 2004