ACE
6.2.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 () |
Public Member Functions inherited from ACE_Refcountable_T< ACE_Null_Mutex > | |
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... | |
Public Member Functions inherited from ACE_Hashable | |
virtual | ~ACE_Hashable (void) |
Destructor. More... | |
virtual unsigned long | hash (void) const |
Public Member Functions inherited from ACE_Recyclable | |
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... | |
Protected Member Functions inherited from ACE_Refcountable_T< ACE_Null_Mutex > | |
ACE_Refcountable_T (long refcount) | |
Protected constructor. More... | |
Protected Member Functions inherited from ACE_Hashable | |
ACE_Hashable (void) | |
Protected constructor. More... | |
Protected Member Functions inherited from ACE_Recyclable | |
ACE_Recyclable (ACE_Recyclable_State initial_state) | |
Constructor. More... | |
Protected Attributes | |
T | t_ |
Protected Attributes inherited from ACE_Refcountable_T< ACE_Null_Mutex > | |
ACE_Atomic_Op< ACE_Null_Mutex, long > | refcount_ |
Current refcount. More... | |
Protected Attributes inherited from ACE_Hashable | |
unsigned long | hash_value_ |
Pre-computed hash-value. More... | |
Protected Attributes inherited from ACE_Recyclable | |
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 |