Back to index

salome-kernel  6.5.0
SALOME::GenericObj_i Class Reference

Implementation of the base servant for SALOME objects with reference counter. More...

Inheritance diagram for SALOME::GenericObj_i:
Inheritance graph
[legend]

Detailed Description

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).


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