#include <Refcountable.h>
Inheritance diagram for ACE_Refcountable:
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. |
|
Destructor.
Definition at line 16 of file Refcountable.cpp.
00017 { 00018 } |
|
Protected constructor.
Definition at line 8 of file Refcountable.inl.
00009 : refcount_ (refcount) 00010 { 00011 } |
|
Definition at line 20 of file Refcountable.inl.
00021 { 00022 return --this->refcount_; 00023 } |
|
Definition at line 14 of file Refcountable.inl.
00015 { 00016 return ++this->refcount_; 00017 } |
|
Returns the current refcount.
Definition at line 26 of file Refcountable.inl.
00027 { 00028 return this->refcount_; 00029 } |
|
Current refcount.
Definition at line 47 of file Refcountable.h. |