ACE_Refcountable Class Reference

#include <Refcountable.h>

Inheritance diagram for ACE_Refcountable:

Inheritance graph
[legend]
List of all members.

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.


Constructor & Destructor Documentation

ACE_BEGIN_VERSIONED_NAMESPACE_DECL ACE_Refcountable::~ACE_Refcountable void   )  [virtual]
 

Destructor.

Definition at line 16 of file Refcountable.cpp.

00017 {
00018 }

ACE_BEGIN_VERSIONED_NAMESPACE_DECL ACE_INLINE ACE_Refcountable::ACE_Refcountable int  refcount  )  [protected]
 

Protected constructor.

Definition at line 8 of file Refcountable.inl.

00009   : refcount_ (refcount)
00010 {
00011 }


Member Function Documentation

ACE_INLINE int ACE_Refcountable::decrement void   ) 
 

Definition at line 20 of file Refcountable.inl.

00021 {
00022   return --this->refcount_;
00023 }

ACE_INLINE int ACE_Refcountable::increment void   ) 
 

Definition at line 14 of file Refcountable.inl.

00015 {
00016   return ++this->refcount_;
00017 }

ACE_INLINE int ACE_Refcountable::refcount void   )  const
 

Returns the current refcount.

Definition at line 26 of file Refcountable.inl.

00027 {
00028   return this->refcount_;
00029 }


Member Data Documentation

int ACE_Refcountable::refcount_ [protected]
 

Current refcount.

Definition at line 47 of file Refcountable.h.


The documentation for this class was generated from the following files:
Generated on Thu Nov 9 11:27:52 2006 for ACE by doxygen 1.3.6