LTIReferenceCountedObject Class Reference
LTIReferenceCountedObject is a base class for implementing reference counting.
More...
#include <lti_referenceCountedObject.h>
List of all members.
Detailed Description
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.
Constructor & Destructor Documentation
LTIReferenceCountedObject::LTIReferenceCountedObject |
( |
void |
|
) |
[protected] |
virtual LTIReferenceCountedObject::~LTIReferenceCountedObject |
( |
void |
|
) |
[protected, virtual] |
Member Function Documentation
virtual void LTIReferenceCountedObject::release |
( |
void |
|
) |
const [virtual] |
- Examples:
- DecodeJP2ToBBB.cpp, DecodeJP2ToJPG.cpp, DecodeJP2ToMemory.cpp, DecodeMrSIDToRaw.cpp, DecodeMrSIDToTIFF.cpp, DerivedImageFilter.cpp, DerivedImageWriter.cpp, ErrorHandling.cpp, GeoScene.cpp, ImageInfo.cpp, InterruptDelegate.cpp, MetadataDump.cpp, Pipeline.cpp, ProgressDelegate.cpp, and SceneBuffer.cpp.
virtual void LTIReferenceCountedObject::retain |
( |
void |
|
) |
const [virtual] |
The documentation for this class was generated from the following file: