Back to index
Implementation of the base servant for SALOME objects with reference counter.
This class can be used to implement data entities with life-cycle management based on the reference counting.
The object is initially created with the reference counter equal to 1. The function Register() can be used to incrfement the reference counter. Function UnRegister() should be used to decrement reference counter. As soon as reference counter goes to zero, the object is automatically deactivated in POA (and, eventually its destructor is automatically called).