26 #include <osg/Referenced> 59 explicit SmrtClass(
bool threadSafeRefUnref) :
osg::Referenced(threadSafeRefUnref)
79 virtual bool GetThreadSafeRefUnref();
88 OpenThreads::Mutex* GetRefMutex()
const;
98 static OpenThreads::Mutex* GetGlobalReferencedMutex();
108 inline int Ref()
const;
119 inline int Unref()
const;
132 int UnRefNoDelete()
const;
141 inline int ReferenceCount()
const;
150 virtual const std::string& GetType()
const = 0;
SmrtClass(const SmrtClass &inst)
Copy constructor.
This class is part of the internal garbage collection system.
SmrtClass()
Adds an easy and swappable access to the base class.
osg::Referenced BaseClass
SmrtClass(bool threadSafeRefUnref)
Constructor.