29 #include "InterfaceID.h" 40 using CounterValueType = long;
Graphics engine namespace.
Definition: AdaptiveFixedBlockAllocator.h:30
virtual CounterValueType AddWeakRef()=0
Increments the number of weak references by 1.
virtual CounterValueType GetNumStrongRefs() const =0
Returns the number of outstanding strong references.
virtual CounterValueType ReleaseWeakRef()=0
Decrements the number of weak references by 1. If there are no more strong and weak references...
virtual void GetObject(class IObject **ppObject)=0
Gets the pointer to the IUnknown interface of the referenced object.
Base interface for a reference counter object that stores the number of strong and weak references an...
Definition: ReferenceCounters.h:37
Base interface for all dynamic objects in the engine.
Definition: Object.h:36
virtual CounterValueType AddStrongRef()=0
Increments the number of strong references by 1.
virtual CounterValueType ReleaseStrongRef()=0
Decrements the number of strong references by 1 and destroys the referenced object when the counter r...
virtual CounterValueType GetNumWeakRefs() const =0
Returns the number of outstanding weak references.