15 #include "copyOnWriteObject.h"
16 #include "mutexHolder.h"
43 #endif // COW_THREADED
A lightweight C++ object whose constructor calls acquire() and whose destructor calls release() on a ...
int get_cache_ref_count() const
Returns the current reference count.
virtual bool unref() const
Explicitly decrements the reference count.
This base class provides basic reference counting, but also can be used with a CopyOnWritePointer to ...
TypeHandle is the identifier used to differentiate C++ class types.
int get_ref_count() const
Returns the current reference count.