#include <smartptr.h>
Inheritance diagram for PSmartObject:
Public Member Functions | |
PSmartObject () | |
Protected Attributes | |
PAtomicInteger | referenceCount |
Friends | |
class | PSmartPointer |
A PSmartObject# carries the reference count that the PSmartPointer# requires to determine if the pointer is needed any more and should be deleted.
PSmartObject::PSmartObject | ( | ) | [inline] |
Construct a new smart object, subject to a PSmartPointer# instance referencing it.
friend class PSmartPointer [friend] |
PAtomicInteger PSmartObject::referenceCount [protected] |
Count of number of instances of PSmartPointer# that currently reference the object instance.