CFx SDK Documentation
2023 SP0
|
#include <RefCountImpl.h>
Public Member Functions | |
void | addRef () |
void | release () |
long | numRefs () const |
Static Public Member Functions | |
static OdSmartPtr< TInterface > | createObject () |
Template class that provides the reference counting functionality needed to instantiate objects that are descended from OdRxObject.
<group OdRx_Classes>
Definition at line 41 of file RefCountImpl.h.
|
inline |
Increments the reference count.
Definition at line 67 of file RefCountImpl.h.
|
inlinestatic |
Creates an instance of OdRefCountImpl<T, TInterface> and returns SmartPointer to it.
Definition at line 92 of file RefCountImpl.h.
|
inline |
Definition at line 86 of file RefCountImpl.h.
|
inline |
Decrements the reference count, and deletes this object if the reference count reaches zero.
Definition at line 76 of file RefCountImpl.h.