ACE  6.0.6
Public Member Functions | Protected Member Functions | Protected Attributes
ACE_Refcountable_T Class Reference

#include <Refcountable_T.h>

Collaboration diagram for ACE_Refcountable_T:
Collaboration graph

List of all members.

Public Member Functions

virtual ~ACE_Refcountable_T (void)
long increment (void)
 Increment refcount.
long decrement (void)
 Decrement refcount.
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.

Constructor & Destructor Documentation

ACE_Refcountable_T::~ACE_Refcountable_T ( void  ) [virtual]


ACE_Refcountable_T::ACE_Refcountable_T ( long  refcount) [inline, protected]

Protected constructor.

Member Function Documentation

long ACE_Refcountable_T::decrement ( void  ) [inline]

Decrement refcount.

long ACE_Refcountable_T::increment ( void  ) [inline]

Increment refcount.

long ACE_Refcountable_T::refcount ( void  ) const [inline]

Returns the current refcount.

Member Data Documentation

ACE_Atomic_Op<ACE_LOCK, long> ACE_Refcountable_T::refcount_ [protected]

Current refcount.

The documentation for this class was generated from the following files:
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Defines