diff options
Diffstat (limited to 'TAO/tao/Refcounted_ObjectKey.h')
-rw-r--r-- | TAO/tao/Refcounted_ObjectKey.h | 17 |
1 files changed, 12 insertions, 5 deletions
diff --git a/TAO/tao/Refcounted_ObjectKey.h b/TAO/tao/Refcounted_ObjectKey.h index 297ec6fd654..5c0ae02629d 100644 --- a/TAO/tao/Refcounted_ObjectKey.h +++ b/TAO/tao/Refcounted_ObjectKey.h @@ -23,6 +23,8 @@ #include "tao/Object_KeyC.h" +TAO_BEGIN_VERSIONED_NAMESPACE_DECL + namespace TAO { /** @@ -50,21 +52,26 @@ namespace TAO /// Protected destructor ~Refcounted_ObjectKey (void); - /// Methods for incrementing and decrementing refcounts. - long incr_refcount (void); - long decr_refcount (void); + /// Methods for incrementing refcount. + void incr_refcount (void); + + /// Methods for decrementing refcount. Return the refcount, used by the + /// ObjectKey table. + CORBA::ULong decr_refcount (void); private: /// The object key ObjectKey object_key_; /// The refcount on the object key.. - long ref_count_; + CORBA::ULong ref_count_; }; } +TAO_END_VERSIONED_NAMESPACE_DECL + #if defined (__ACE_INLINE__) -#include "Refcounted_ObjectKey.inl" +#include "tao/Refcounted_ObjectKey.inl" #endif /* defined INLINE */ #include /**/ "ace/post.h" |