|
CFx SDK Documentation 2026 SP0
|
#include <RxObjectImpl.h>
Public Member Functions | |
| template<typename... Args> | |
| OdRxObjectImpl (Args &&... args) | |
| void | addRef () |
| void | release () ODRX_NOEXCEPT |
| long | numRefs () const |
Static Public Member Functions | |
| template<typename... Args> | |
| static OdSmartPtr< TInterface > | createObject (Args &&... args) |
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 |
Perfect forwarding constructor of T. Constructor sets the reference counter to one.
Definition at line 80 of file RxObjectImpl.h.
|
inline |
Increments the reference counter.
Definition at line 89 of file RxObjectImpl.h.
|
inlinestatic |
Perfect forwarding pseudo-constructor that creates an instance of this class and returns the typified smart pointer to it.
Definition at line 116 of file RxObjectImpl.h.
|
inline |
Returns the number of references to an instance of this class.
Definition at line 110 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 98 of file RxObjectImpl.h.