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


Public Methods | |
| ACE_Refcounted_Hash_Recyclable (void) | |
| Default constructor. More... | |
| ACE_Refcounted_Hash_Recyclable (const T &t, int refcount=0, ACE_Recyclable_State state=ACE_RECYCLABLE_UNKNOWN) | |
| Constructor. More... | |
| virtual | ~ACE_Refcounted_Hash_Recyclable (void) |
| Destructor. More... | |
| int | operator== (const ACE_Refcounted_Hash_Recyclable< T > &rhs) const |
| Compares two instances. More... | |
| int | operator!= (const ACE_Refcounted_Hash_Recyclable< T > &rhs) const |
| T & | subject () |
Protected Methods | |
| u_long | hash_i (void) const |
| Computes and returns hash value. More... | |
Protected Attributes | |
| T | t_ |
|
||||||||||
|
Default constructor.
Definition at line 349 of file Strategies_T.i. References ACE_RECYCLABLE_UNKNOWN.
00350 : ACE_Refcountable (0), 00351 ACE_Hashable (), 00352 ACE_Recyclable (ACE_RECYCLABLE_UNKNOWN), 00353 t_ () 00354 { 00355 } |
|
||||||||||||||||||||
|
Constructor.
Definition at line 358 of file Strategies_T.i. References ACE_Recyclable_State.
00361 : ACE_Refcountable (refcount), 00362 ACE_Hashable (), 00363 ACE_Recyclable (state), 00364 t_ (t) 00365 { 00366 } |
|
||||||||||
|
Destructor.
Definition at line 369 of file Strategies_T.i.
00370 {
00371 }
|
|
||||||||||
|
Computes and returns hash value.
Implements ACE_Hashable. Definition at line 374 of file Strategies_T.i. References t_.
00375 {
00376 return this->t_.hash ();
00377 }
|
|
||||||||||
|
Definition at line 393 of file Strategies_T.i. References operator==.
00394 {
00395 return !this->operator== (rhs);
00396 }
|
|
||||||||||
|
Compares two instances.
Definition at line 386 of file Strategies_T.i. References ACE_Recyclable::recycle_state, and t_. Referenced by operator!=.
00387 {
00388 return this->recycle_state () == rhs.recycle_state () &&
00389 this->t_ == rhs.t_;
00390 }
|
|
|||||||||
|
Definition at line 380 of file Strategies_T.i. References t_. 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 >::find.
00381 {
00382 return this->t_;
00383 }
|
|
|||||
|
Definition at line 810 of file Strategies_T.h. Referenced by hash_i, operator==, and subject. |
1.2.14 written by Dimitri van Heesch,
© 1997-2002