ACE 8.0.1
Loading...
Searching...
No Matches
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 ()=default
 Destructor.
 
long increment ()
 Increment refcount.
 
long decrement ()
 Decrement refcount.
 
long refcount () const
 Returns the current refcount.
 

Protected Member Functions

 ACE_Refcountable_T (long refcount)
 Protected constructor.
 

Protected Attributes

ACE_Atomic_Op< ACE_LOCK, longrefcount_
 Current refcount.
 

Constructor & Destructor Documentation

◆ ~ACE_Refcountable_T()

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

Destructor.

◆ ACE_Refcountable_T()

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

Protected constructor.

Member Function Documentation

◆ decrement()

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

Decrement refcount.

◆ increment()

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

Increment refcount.

◆ refcount()

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

Returns the current refcount.

Member Data Documentation

◆ refcount_

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: