CFx SDK Documentation  2022 SP0
Public Member Functions | List of all members
OdStaticRxObject< T > Class Template Reference

#include <StaticRxObject.h>

Inheritance diagram for OdStaticRxObject< T >:
OdGiDummyViewport< OdStaticRxObject< OdGiViewport > > OdGiSubEntityTraitsToDataWrapper< OdStaticRxObject< OdGiSubEntityTraits >, OdGiSubEntityTraitsData > OdGiSubEntityTraitsToData

Public Member Functions

void addRef ()
 
void release ()
 

Detailed Description

template<class T>
class OdStaticRxObject< T >

<group OdRx_Classes>

This template class provides the <link smart_pointers_definition_empty.html, empty implementation of counting references>
for instances of classes derived from the OdRxObject class.

See also
TD_Db
Remarks
When you use this template class, the numRefs method is inherited from the OdRxObject class in the default definition. The numRefs method returns 1 by default.
See also
<link smart_pointers_example_count_empty.html, Example of Counting References>
<link smart_pointers_overview.html, Overview of Smart Pointer Classes>

The OdRxObjectImpl class

Definition at line 56 of file StaticRxObject.h.

Member Function Documentation

◆ addRef()

template<class T >
void OdStaticRxObject< T >::addRef ( )
inline

Simulates the incrementing of the reference counter non-changing it.

Definition at line 62 of file StaticRxObject.h.

◆ release()

template<class T >
void OdStaticRxObject< T >::release ( )
inline

Simulates the decrementing of the reference counter non-changing it.

Definition at line 66 of file StaticRxObject.h.


The documentation for this class was generated from the following file: