#include <lti_referenceCountedObject.h>
Public Member Functions | |
virtual void | retain (void) const |
increment reference counter | |
virtual void | release (void) const |
decrement the reference counter and delete the object when the counter is zero | |
Protected Member Functions | |
LTIReferenceCountedObject (void) | |
virtual | ~LTIReferenceCountedObject (void) |
Derived classes will need to supply a static create() function to allocates a new object. The newly created object will have a reference count of 1. Constructors and destructors should be protected so users must go through the create/retain/release functions.
Definition at line 33 of file lti_referenceCountedObject.h.
LTIReferenceCountedObject::LTIReferenceCountedObject | ( | void | ) | [protected] |
virtual LTIReferenceCountedObject::~LTIReferenceCountedObject | ( | void | ) | [protected, virtual] |
virtual void LTIReferenceCountedObject::retain | ( | void | ) | const [virtual] |
virtual void LTIReferenceCountedObject::release | ( | void | ) | const [virtual] |
LizardTech |