#include <PhxPtrInterface.h>
Public Types | |
| typedef uint32_t | ReferenceCount |
Public Member Functions | |
| void | newReference (void) const |
| Adds a reference to this object. | |
| void | deleteReference (void) const |
| Deletes a reference to this object. | |
| ReferenceCount | referenceCount () const |
| Returns the number of references to this object. | |
All objects that just want to be deleted when all references to them have been destroyed can use this as their base class.
|
||||||||||
|
Deletes a reference to this object. Called by the Ptr class when a reference is dropped. |
|
||||||||||
|
Adds a reference to this object. Called by the Ptr class when a new reference is created. |
|
|||||||||
|
Returns the number of references to this object.
|
1.4.2