#include <Refcountable.h>
Public Member Functions | |
virtual | ~ACE_Refcountable (void) |
Destructor. | |
int | increment (void) |
int | decrement (void) |
int | refcount (void) const |
Returns the current refcount. | |
Protected Member Functions | |
ACE_Refcountable (int refcount) | |
Protected constructor. | |
Protected Attributes | |
int | refcount_ |
Current refcount. |
virtual ACE_Refcountable::~ACE_Refcountable | ( | void | ) | [virtual] |
Destructor.
ACE_BEGIN_VERSIONED_NAMESPACE_DECL ACE_INLINE ACE_Refcountable::ACE_Refcountable | ( | int | refcount | ) | [protected] |
Protected constructor.
ACE_INLINE int ACE_Refcountable::increment | ( | void | ) |
ACE_INLINE int ACE_Refcountable::decrement | ( | void | ) |
ACE_INLINE int ACE_Refcountable::refcount | ( | void | ) | const |
Returns the current refcount.
int ACE_Refcountable::refcount_ [protected] |
Current refcount.