TAO
2.3.3
|
Helper class for TAO_Transport_Cache_Manager: unifies several data items, so they can be stored together as a value
for a key
in a hash table holding the state of the Transport Cache.
More...
#include <Cache_Entries_T.h>
Public Types | |
typedef TRANSPORT_DESCRIPTOR_TYPE | transport_descriptor_type |
Public Member Functions | |
Cache_ExtId_T (void) | |
Constructor. More... | |
Cache_ExtId_T (transport_descriptor_type *prop) | |
Constructor. More... | |
Cache_ExtId_T (const Cache_ExtId_T &rhs) | |
Copy constructor. More... | |
~Cache_ExtId_T (void) | |
Destructor. More... | |
Cache_ExtId_T & | operator= (const Cache_ExtId_T &rhs) |
Assignment operator (does copy memory). More... | |
bool | operator== (const Cache_ExtId_T &rhs) const |
Equality comparison operator (must match both id_ and kind_). More... | |
bool | operator!= (const Cache_ExtId_T &rhs) const |
Inequality comparison operator. More... | |
u_long | hash (void) const |
void | duplicate (void) |
Make a deep copy of the underlying pointer. More... | |
CORBA::ULong | index (void) const |
Return the index value. More... | |
void | index (CORBA::ULong index) |
void | incr_index (void) |
Increment the index value. More... | |
transport_descriptor_type * | property (void) const |
Get the underlying the property pointer. More... | |
Private Attributes | |
transport_descriptor_type * | transport_property_ |
A property object that we represent. More... | |
bool | is_delete_ |
Do we need to delete transport_property? More... | |
CORBA::ULong | index_ |
Helper class for TAO_Transport_Cache_Manager: unifies several data items, so they can be stored together as a value
for a key
in a hash table holding the state of the Transport Cache.
typedef TRANSPORT_DESCRIPTOR_TYPE TAO::Cache_ExtId_T< TRANSPORT_DESCRIPTOR_TYPE >::transport_descriptor_type |
ACE_INLINE TAO::Cache_ExtId_T< TRANSPORT_DESCRIPTOR_TYPE >::Cache_ExtId_T | ( | void | ) |
Constructor.
|
explicit |
Constructor.
ACE_INLINE TAO::Cache_ExtId_T< TRANSPORT_DESCRIPTOR_TYPE >::Cache_ExtId_T | ( | const Cache_ExtId_T< TRANSPORT_DESCRIPTOR_TYPE > & | rhs | ) |
Copy constructor.
ACE_INLINE TAO::Cache_ExtId_T< TRANSPORT_DESCRIPTOR_TYPE >::~Cache_ExtId_T | ( | void | ) |
Destructor.
ACE_INLINE void TAO::Cache_ExtId_T< TRANSPORT_DESCRIPTOR_TYPE >::duplicate | ( | void | ) |
Make a deep copy of the underlying pointer.
ACE_INLINE u_long TAO::Cache_ExtId_T< TRANSPORT_DESCRIPTOR_TYPE >::hash | ( | void | ) | const |
hash function is required in order for this class to be usable by ACE_Hash_Map_Manager_Ex.
ACE_INLINE void TAO::Cache_ExtId_T< TRANSPORT_DESCRIPTOR_TYPE >::incr_index | ( | void | ) |
Increment the index value.
ACE_INLINE CORBA::ULong TAO::Cache_ExtId_T< TRANSPORT_DESCRIPTOR_TYPE >::index | ( | void | ) | const |
Return the index value.
ACE_INLINE void TAO::Cache_ExtId_T< TRANSPORT_DESCRIPTOR_TYPE >::index | ( | CORBA::ULong | index | ) |
Set the index value. This calls should not be used by any users but for the TAO_Transport_Cache_Manager class.
ACE_INLINE bool TAO::Cache_ExtId_T< TRANSPORT_DESCRIPTOR_TYPE >::operator!= | ( | const Cache_ExtId_T< TRANSPORT_DESCRIPTOR_TYPE > & | rhs | ) | const |
Inequality comparison operator.
ACE_INLINE Cache_ExtId_T< TRANSPORT_DESCRIPTOR_TYPE > & TAO::Cache_ExtId_T< TRANSPORT_DESCRIPTOR_TYPE >::operator= | ( | const Cache_ExtId_T< TRANSPORT_DESCRIPTOR_TYPE > & | rhs | ) |
Assignment operator (does copy memory).
ACE_INLINE bool TAO::Cache_ExtId_T< TRANSPORT_DESCRIPTOR_TYPE >::operator== | ( | const Cache_ExtId_T< TRANSPORT_DESCRIPTOR_TYPE > & | rhs | ) | const |
Equality comparison operator (must match both id_ and kind_).
ACE_INLINE Cache_ExtId_T< TRANSPORT_DESCRIPTOR_TYPE >::transport_descriptor_type * TAO::Cache_ExtId_T< TRANSPORT_DESCRIPTOR_TYPE >::property | ( | void | ) | const |
Get the underlying the property pointer.
|
private |
This is a supplementary index. Would be set to zero by default. Would be altered by the Transport_Cache of TAO. Please see the documentation of TAO_Transport_Cache_Manager for details.
|
private |
Do we need to delete transport_property?
|
private |
A property object that we represent.