class PSmartObject

This is the base class for objects that use the smart pointer system.

Inheritance:


Public Methods

[more] PSmartObject ()
Construct a new smart object, subject to a PSmartPointer instance referencing it

Protected Fields

[more]unsigned referenceCount
Count of number of instances of PSmartPointer that currently reference the object instance


Inherited from PObject:

Public Methods

Run Time Type functions

I/O functions

Miscellaneous functions

Public Members

Comparison functions


Documentation

This is the base class for objects that use the smart pointer system. In conjunction with the PSmartPointer class, this class creates objects that can have the automatic deletion of the object instance when there are no more smart pointer instances pointing to it.

A PSmartObject carries the reference count that the PSmartPointer requires to determine if the pointer is needed any more and should be deleted.

o PSmartObject()
Construct a new smart object, subject to a PSmartPointer instance referencing it

ounsigned referenceCount
Count of number of instances of PSmartPointer that currently reference the object instance


Direct child classes:
PNotifierFunction
Friends:
class PSmartPointer

Alphabetic index HTML hierarchy of classes or Java



This page was generated with the help of DOC++.