#include <Refcountable_T.h>
Public Member Functions | |
virtual | ~ACE_Refcountable_T (void) |
Destructor. | |
long | increment (void) |
long | decrement (void) |
long | refcount (void) const |
Returns the current refcount. | |
Protected Member Functions | |
ACE_Refcountable_T (long refcount) | |
Protected constructor. | |
Protected Attributes | |
ACE_Atomic_Op< ACE_LOCK, long > | refcount_ |
Current refcount. |
ACE_Refcountable_T< ACE_LOCK >::~ACE_Refcountable_T | ( | void | ) | [inline, virtual] |
Destructor.
ACE_Refcountable_T< ACE_LOCK >::ACE_Refcountable_T | ( | long | refcount | ) | [inline, protected] |
Protected constructor.
long ACE_Refcountable_T< ACE_LOCK >::decrement | ( | void | ) | [inline] |
long ACE_Refcountable_T< ACE_LOCK >::increment | ( | void | ) | [inline] |
long ACE_Refcountable_T< ACE_LOCK >::refcount | ( | void | ) | const [inline] |
Returns the current refcount.
ACE_Atomic_Op<ACE_LOCK, long> ACE_Refcountable_T< ACE_LOCK >::refcount_ [protected] |
Current refcount.