Also use Objects as part of an operation but as a result don't generate Any operation...
[ACE_TAO.git] / ACE / ace / Refcountable_T.inl
blob7a901476d9a8ea37d7cfd7c02a1d9403daa069c4
1 // -*- C++ -*-
2 //
3 ACE_BEGIN_VERSIONED_NAMESPACE_DECL
5 template <class ACE_LOCK>
6 ACE_INLINE
7 ACE_Refcountable_T<ACE_LOCK>::ACE_Refcountable_T (long refcount)
8   : refcount_ (refcount)
12 template <class ACE_LOCK>
13 ACE_INLINE long
14 ACE_Refcountable_T<ACE_LOCK>::increment (void)
16   return ++this->refcount_;
19 template <class ACE_LOCK>
20 ACE_INLINE long
21 ACE_Refcountable_T<ACE_LOCK>::decrement (void)
23   return --this->refcount_;
26 template <class ACE_LOCK>
27 ACE_INLINE long
28 ACE_Refcountable_T<ACE_LOCK>::refcount (void) const
30   return this->refcount_.value ();
33 ACE_END_VERSIONED_NAMESPACE_DECL