API Reference > OdRx Classes > OdStaticRxObject Template
OdStaticRxObject Template
OdStaticRxObjectOdStaticRxObjectOdStaticRxObjectOdStaticRxObjectOdStaticRxObjectOdStaticRxObject
Syntax
C++
template <class T> class OdStaticRxObject : public T;

StaticRxObject.h

 

This template class provides the empty implementation of counting references for instances of classes derived from the OdRxObject class.

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.

TD_Db 

Example of Counting References 

Overview of Smart Pointer Classes 

The OdRxObjectImpl class

 
Name 
Description 
 
Simulates the incrementing of the reference counter non-changing it. 
 
Simulates the decrementing of the reference counter non-changing it. 
Copyright © 2002–2020. Open Design Alliance. All rights reserved.