CFx SDK Documentation
2020SP3
|
#include <RxObjectImpl.h>
Public Member Functions | |
OdRxObjectImpl () | |
void | addRef () |
void | release () |
long | numRefs () const |
Static Public Member Functions | |
static OdSmartPtr< TInterface > | createObject () |
Protected Member Functions | |
ODRX_HEAP_OPERATORS () | |
<group OdRx_Classes>
The template class provides the <link smart_pointers_definition_standard.html, standard implementation of the counting references> for instances of objects derived from the OdRxObject class.
The OdStaticRxObject class
Definition at line 54 of file RxObjectImpl.h.
|
inline |
Constructor sets the reference counter to one.
Definition at line 73 of file RxObjectImpl.h.
|
inline |
Increments the reference counter.
Definition at line 81 of file RxObjectImpl.h.
|
inlinestatic |
It is the pseudo-constructor that creates an instance of this class and returns the typified smart pointer to it.
Definition at line 107 of file RxObjectImpl.h.
|
inline |
Returns the number of references to an instance of this class.
Definition at line 102 of file RxObjectImpl.h.
|
protected |
|
inline |
Decrements the reference counter, checks the reference counter, and destroys the instance when the reference counter reaches zero.
Definition at line 90 of file RxObjectImpl.h.