|
TAO 2.0.5
|
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. | |
| Cache_ExtId_T (transport_descriptor_type *prop) | |
| Constructor. | |
| Cache_ExtId_T (const Cache_ExtId_T &rhs) | |
| Copy constructor. | |
| ~Cache_ExtId_T (void) | |
| Destructor. | |
| Cache_ExtId_T & | operator= (const Cache_ExtId_T &rhs) |
| Assignment operator (does copy memory). | |
| bool | operator== (const Cache_ExtId_T &rhs) const |
| Equality comparison operator (must match both id_ and kind_). | |
| bool | operator!= (const Cache_ExtId_T &rhs) const |
| Inequality comparison operator. | |
| u_long | hash (void) const |
| void | duplicate (void) |
| Make a deep copy of the underlying pointer. | |
| CORBA::ULong | index (void) const |
| Return the index value. | |
| void | index (CORBA::ULong index) |
| void | incr_index (void) |
| Increment the index value. | |
| transport_descriptor_type * | property (void) const |
| Get the underlying the property pointer. | |
Private Attributes | |
| transport_descriptor_type * | transport_property_ |
| A property object that we represent. | |
| CORBA::Boolean | is_delete_ |
| Do we need to delete transport_property? | |
| 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 |
| TAO::Cache_ExtId_T< TRANSPORT_DESCRIPTOR_TYPE >::Cache_ExtId_T | ( | void | ) |
Constructor.
| TAO::Cache_ExtId_T< TRANSPORT_DESCRIPTOR_TYPE >::Cache_ExtId_T | ( | transport_descriptor_type * | prop | ) | [explicit] |
Constructor.
| TAO::Cache_ExtId_T< TRANSPORT_DESCRIPTOR_TYPE >::Cache_ExtId_T | ( | const Cache_ExtId_T< TRANSPORT_DESCRIPTOR_TYPE > & | rhs | ) |
Copy constructor.
| TAO::Cache_ExtId_T< TRANSPORT_DESCRIPTOR_TYPE >::~Cache_ExtId_T | ( | void | ) |
Destructor.
| void TAO::Cache_ExtId_T< TRANSPORT_DESCRIPTOR_TYPE >::duplicate | ( | void | ) |
Make a deep copy of the underlying pointer.
| 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.
| void TAO::Cache_ExtId_T< TRANSPORT_DESCRIPTOR_TYPE >::incr_index | ( | void | ) |
Increment the index value.
| 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.
| CORBA::ULong TAO::Cache_ExtId_T< TRANSPORT_DESCRIPTOR_TYPE >::index | ( | void | ) | const |
Return the index value.
| bool TAO::Cache_ExtId_T< TRANSPORT_DESCRIPTOR_TYPE >::operator!= | ( | const Cache_ExtId_T< TRANSPORT_DESCRIPTOR_TYPE > & | rhs | ) | const |
Inequality comparison operator.
| 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).
| 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_).
| 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.
CORBA::ULong TAO::Cache_ExtId_T< TRANSPORT_DESCRIPTOR_TYPE >::index_ [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.
CORBA::Boolean TAO::Cache_ExtId_T< TRANSPORT_DESCRIPTOR_TYPE >::is_delete_ [private] |
Do we need to delete transport_property?
transport_descriptor_type* TAO::Cache_ExtId_T< TRANSPORT_DESCRIPTOR_TYPE >::transport_property_ [private] |
A property object that we represent.
1.7.4