TAO
2.0.8
|
Template base class to provide intrusive reference-counting to subclasses. This makes the subclass capable of using a TAO_Intrusive_Ref_Count_Handle<X> class as a smart-pointer to an X object. In this case, X is a sub-class of this class, TAO_Intrusive_Ref_Count_Base<ACE_LOCK>. The ACE_LOCK type is used to protect the atomic reference count data member. More...
#include <Intrusive_Ref_Count_Base_T.h>
Public Member Functions | |
virtual | ~TAO_Intrusive_Ref_Count_Base (void) |
void | _add_ref (void) |
void | _remove_ref (void) |
Protected Member Functions | |
TAO_Intrusive_Ref_Count_Base (void) | |
Private Member Functions | |
TAO_Intrusive_Ref_Count_Base (const TAO_Intrusive_Ref_Count_Base &) | |
TAO_Intrusive_Ref_Count_Base & | operator= (const TAO_Intrusive_Ref_Count_Base &) |
Private Attributes | |
ACE_Atomic_Op< ACE_LOCK, long > | ref_count_ |
Template base class to provide intrusive reference-counting to subclasses. This makes the subclass capable of using a TAO_Intrusive_Ref_Count_Handle<X> class as a smart-pointer to an X object. In this case, X is a sub-class of this class, TAO_Intrusive_Ref_Count_Base<ACE_LOCK>. The ACE_LOCK type is used to protect the atomic reference count data member.
TAO_Intrusive_Ref_Count_Base< T >::~TAO_Intrusive_Ref_Count_Base | ( | void | ) | [virtual] |
TAO_Intrusive_Ref_Count_Base< T >::TAO_Intrusive_Ref_Count_Base | ( | void | ) | [protected] |
TAO_Intrusive_Ref_Count_Base< ACE_LOCK >::TAO_Intrusive_Ref_Count_Base | ( | const TAO_Intrusive_Ref_Count_Base< ACE_LOCK > & | ) | [private] |
void TAO_Intrusive_Ref_Count_Base< T >::_add_ref | ( | void | ) |
void TAO_Intrusive_Ref_Count_Base< T >::_remove_ref | ( | void | ) |
TAO_Intrusive_Ref_Count_Base& TAO_Intrusive_Ref_Count_Base< ACE_LOCK >::operator= | ( | const TAO_Intrusive_Ref_Count_Base< ACE_LOCK > & | ) | [private] |
ACE_Atomic_Op<ACE_LOCK, long> TAO_Intrusive_Ref_Count_Base< ACE_LOCK >::ref_count_ [private] |