diff options
Diffstat (limited to 'TAO/tao/Object.h')
-rw-r--r-- | TAO/tao/Object.h | 15 |
1 files changed, 11 insertions, 4 deletions
diff --git a/TAO/tao/Object.h b/TAO/tao/Object.h index 0bf684025b0..575d3e6d075 100644 --- a/TAO/tao/Object.h +++ b/TAO/tao/Object.h @@ -197,15 +197,15 @@ public: #endif /* __GNUC__ */ // Useful for template programming. - // = TAO extensions - // = Reference count managment. - CORBA::ULong _incr_refcnt (void); + virtual void _add_ref (void); // Increment the reference count. - CORBA::ULong _decr_refcnt (void); + virtual void _remove_ref (void); // Decrement the reference count. + // = TAO extensions + CORBA_Object (TAO_Stub *p = 0, TAO_ServantBase *servant = 0, CORBA::Boolean collocated = 0); @@ -219,6 +219,13 @@ public: // the object protected: + // = Internal Reference count managment. + CORBA::ULong _incr_refcnt (void); + // Increment the reference count. + + CORBA::ULong _decr_refcnt (void); + // Decrement the reference count. + TAO_ServantBase *servant_; // Servant pointer. It is 0 except for collocated objects. |