#include <Refcountable.h>
Inheritance diagram for ACE_Refcountable:

Public Methods | |
| virtual | ~ACE_Refcountable (void) |
| Destructor. More... | |
| int | increment (void) |
| int | decrement (void) |
| int | refcount (void) const |
| Returns the current refcount. More... | |
Protected Methods | |
| ACE_Refcountable (int refcount) | |
| Protected constructor. More... | |
Protected Attributes | |
| int | refcount_ |
| Current refcount. More... | |
Definition at line 30 of file Refcountable.h.
|
|
Destructor.
Definition at line 10 of file Refcountable.inl.
00011 {
00012 }
|
|
|
Protected constructor.
Definition at line 4 of file Refcountable.inl.
|
|
|
Definition at line 21 of file Refcountable.inl. References refcount_. Referenced by ACE_Cached_Connect_Strategy< SVC_HANDLER, ACE_PEER_CONNECTOR_2, MUTEX >::check_hint_i, and ACE_Cached_Connect_Strategy< SVC_HANDLER, ACE_PEER_CONNECTOR_2, MUTEX >::cleanup_hint_i.
00022 {
00023 return --this->refcount_;
00024 }
|
|
|
Definition at line 15 of file Refcountable.inl. References refcount_. Referenced by ACE_Cached_Connect_Strategy< SVC_HANDLER, ACE_PEER_CONNECTOR_2, MUTEX >::connect_svc_handler_i.
00016 {
00017 return ++this->refcount_;
00018 }
|
|
|
Returns the current refcount.
Definition at line 27 of file Refcountable.inl. References refcount_.
00028 {
00029 return this->refcount_;
00030 }
|
|
|
Current refcount.
Definition at line 48 of file Refcountable.h. |
1.2.14 written by Dimitri van Heesch,
© 1997-2002