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