MrSID Decode SDK for Raster Reference Manual
9.5.4.4709
|
LTIReferenceCountedObject is a base class for implementing reference counting. More...
#include <lti_referenceCountedObject.h>
Public Member Functions | |
virtual void | retain (void) const |
increment reference counter More... | |
virtual void | release (void) const |
decrement the reference counter and delete the object when the counter is zero More... | |
Protected Member Functions | |
LTIReferenceCountedObject (void) | |
virtual | ~LTIReferenceCountedObject (void) |
Call retain() when keeping a pointer to the object and call release() when the object is no longer needed.
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.
|
protected |
|
protectedvirtual |
|
virtual |
|
virtual |
LizardTech |