#include <Strategies_T.h>
Inheritance diagram for ACE_Refcounted_Hash_Recyclable< T >:


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 () |
Protected Member Functions | |
| u_long | hash_i (void) const |
| Computes and returns hash value. | |
Protected Attributes | |
| T | t_ |
Definition at line 788 of file Strategies_T.h.
| ACE_INLINE ACE_Refcounted_Hash_Recyclable< T >::ACE_Refcounted_Hash_Recyclable | ( | void | ) |
Default constructor.
Definition at line 185 of file Strategies_T.inl.
00186 : ACE_Refcountable (0), 00187 ACE_Hashable (), 00188 ACE_Recyclable (ACE_RECYCLABLE_UNKNOWN), 00189 t_ () 00190 { 00191 }
| ACE_INLINE ACE_Refcounted_Hash_Recyclable< T >::ACE_Refcounted_Hash_Recyclable | ( | const T & | t, | |
| long | refcount = 0, |
|||
| ACE_Recyclable_State | state = ACE_RECYCLABLE_UNKNOWN | |||
| ) |
Constructor.
Definition at line 194 of file Strategies_T.inl.
00197 : ACE_Refcountable (refcount), 00198 ACE_Hashable (), 00199 ACE_Recyclable (state), 00200 t_ (t) 00201 { 00202 }
| ACE_Refcounted_Hash_Recyclable< T >::~ACE_Refcounted_Hash_Recyclable | ( | void | ) | [virtual] |
| ACE_INLINE u_long ACE_Refcounted_Hash_Recyclable< T >::hash_i | ( | void | ) | const [protected, virtual] |
Computes and returns hash value.
Implements ACE_Hashable.
Definition at line 205 of file Strategies_T.inl.
References ACE_Refcounted_Hash_Recyclable< T >::t_.
00206 { 00207 return this->t_.hash (); 00208 }
| ACE_INLINE bool ACE_Refcounted_Hash_Recyclable< T >::operator!= | ( | const ACE_Refcounted_Hash_Recyclable< T > & | rhs | ) | const |
Definition at line 225 of file Strategies_T.inl.
References ACE_Refcounted_Hash_Recyclable< T >::operator==().
00226 { 00227 return !this->operator== (rhs); 00228 }
| ACE_INLINE bool ACE_Refcounted_Hash_Recyclable< T >::operator== | ( | const ACE_Refcounted_Hash_Recyclable< T > & | rhs | ) | const |
Compares two instances.
Definition at line 217 of file Strategies_T.inl.
References ACE_Recyclable::recycle_state(), and ACE_Refcounted_Hash_Recyclable< T >::t_.
Referenced by ACE_Refcounted_Hash_Recyclable< T >::operator!=().
00218 { 00219 return 00220 this->recycle_state () == rhs.recycle_state () 00221 && this->t_ == rhs.t_; 00222 }
| ACE_INLINE T & ACE_Refcounted_Hash_Recyclable< T >::subject | ( | ) |
Definition at line 211 of file Strategies_T.inl.
References ACE_Refcounted_Hash_Recyclable< T >::t_.
Referenced by ACE_Cached_Connect_Strategy< SVC_HANDLER, ACE_PEER_CONNECTOR_2, MUTEX >::find().
00212 { 00213 return this->t_; 00214 }
T ACE_Refcounted_Hash_Recyclable< T >::t_ [protected] |
Definition at line 814 of file Strategies_T.h.
Referenced by ACE_Refcounted_Hash_Recyclable< T >::hash_i(), ACE_Refcounted_Hash_Recyclable< T >::operator==(), and ACE_Refcounted_Hash_Recyclable< T >::subject().
1.4.7