ACE
6.1.7
|
#include <Strategies_T.h>
Public Member Functions | |
ACE_Refcounted_Hash_Recyclable (void) | |
Default constructor. | |
ACE_Refcounted_Hash_Recyclable (const T &t, long refcount=0, ACE_Recyclable_State state=ACE_RECYCLABLE_UNKNOWN) | |
Constructor. | |
virtual | ~ACE_Refcounted_Hash_Recyclable (void) |
Destructor. | |
bool | operator== (const ACE_Refcounted_Hash_Recyclable< T > &rhs) const |
Compares two instances. | |
bool | operator!= (const ACE_Refcounted_Hash_Recyclable< T > &rhs) const |
T & | subject () |
![]() | |
virtual | ~ACE_Refcountable_T (void) |
Destructor. | |
long | increment (void) |
Increment refcount. | |
long | decrement (void) |
Decrement refcount. | |
long | refcount (void) const |
Returns the current refcount. | |
![]() | |
virtual | ~ACE_Hashable (void) |
Destructor. | |
virtual unsigned long | hash (void) const |
![]() | |
virtual | ~ACE_Recyclable (void) |
Destructor. | |
ACE_Recyclable_State | recycle_state (void) const |
Get the recyclable bit. | |
void | recycle_state (ACE_Recyclable_State new_state) |
Set the recyclable bit. |
Protected Member Functions | |
u_long | hash_i (void) const |
Computes and returns hash value. | |
![]() | |
ACE_Refcountable_T (long refcount) | |
Protected constructor. | |
![]() | |
ACE_Hashable (void) | |
Protected constructor. | |
![]() | |
ACE_Recyclable (ACE_Recyclable_State initial_state) | |
Constructor. |
Protected Attributes | |
T | t_ |
![]() | |
ACE_Atomic_Op< ACE_Null_Mutex, long > | refcount_ |
Current refcount. | |
![]() | |
unsigned long | hash_value_ |
Pre-computed hash-value. | |
![]() | |
ACE_Recyclable_State | recycle_state_ |
Our state. |
|
inline |
Default constructor.
|
inline |
Constructor.
|
virtual |
Destructor.
|
inlineprotectedvirtual |
Computes and returns hash value.
Implements ACE_Hashable.
|
inline |
|
inline |
Compares two instances.
|
inline |
|
protected |