ACE  6.2.8
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Pages
Public Member Functions | Protected Member Functions | Protected Attributes | List of all members
ACE_Refcountable_T< ACE_LOCK > Class Template Reference

#include <Refcountable_T.h>

Collaboration diagram for ACE_Refcountable_T< ACE_LOCK >:
Collaboration graph
[legend]

Public Member Functions

virtual ~ACE_Refcountable_T (void)
 Destructor. More...
 
long increment (void)
 Increment refcount. More...
 
long decrement (void)
 Decrement refcount. More...
 
long refcount (void) const
 Returns the current refcount. More...
 

Protected Member Functions

 ACE_Refcountable_T (long refcount)
 Protected constructor. More...
 

Protected Attributes

ACE_Atomic_Op< ACE_LOCK, long > refcount_
 Current refcount. More...
 

Constructor & Destructor Documentation

template<class ACE_LOCK >
ACE_Refcountable_T< ACE_LOCK >::~ACE_Refcountable_T ( void  )
virtual

Destructor.

template<class ACE_LOCK >
ACE_Refcountable_T< ACE_LOCK >::ACE_Refcountable_T ( long  refcount)
inlineprotected

Protected constructor.

Member Function Documentation

template<class ACE_LOCK >
long ACE_Refcountable_T< ACE_LOCK >::decrement ( void  )
inline

Decrement refcount.

template<class ACE_LOCK >
long ACE_Refcountable_T< ACE_LOCK >::increment ( void  )
inline

Increment refcount.

template<class ACE_LOCK >
long ACE_Refcountable_T< ACE_LOCK >::refcount ( void  ) const
inline

Returns the current refcount.

Member Data Documentation

template<class ACE_LOCK>
ACE_Atomic_Op<ACE_LOCK, long> ACE_Refcountable_T< ACE_LOCK >::refcount_
protected

Current refcount.


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