TAO  2.3.3
Public Types | Public Member Functions | Private Attributes | List of all members
TAO::Cache_ExtId_T< TRANSPORT_DESCRIPTOR_TYPE > Class Template Reference

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_Toperator= (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_typeproperty (void) const
 Get the underlying the property pointer. More...
 

Private Attributes

transport_descriptor_typetransport_property_
 A property object that we represent. More...
 
bool is_delete_
 Do we need to delete transport_property? More...
 
CORBA::ULong index_
 

Detailed Description

template<typename TRANSPORT_DESCRIPTOR_TYPE>
class TAO::Cache_ExtId_T< TRANSPORT_DESCRIPTOR_TYPE >

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.

Member Typedef Documentation

template<typename TRANSPORT_DESCRIPTOR_TYPE >
typedef TRANSPORT_DESCRIPTOR_TYPE TAO::Cache_ExtId_T< TRANSPORT_DESCRIPTOR_TYPE >::transport_descriptor_type

Constructor & Destructor Documentation

template<typename TRANSPORT_DESCRIPTOR_TYPE >
ACE_INLINE TAO::Cache_ExtId_T< TRANSPORT_DESCRIPTOR_TYPE >::Cache_ExtId_T ( void  )

Constructor.

template<typename TRANSPORT_DESCRIPTOR_TYPE >
TAO::Cache_ExtId_T< TRANSPORT_DESCRIPTOR_TYPE >::Cache_ExtId_T ( transport_descriptor_type prop)
explicit

Constructor.

template<typename TRANSPORT_DESCRIPTOR_TYPE >
ACE_INLINE TAO::Cache_ExtId_T< TRANSPORT_DESCRIPTOR_TYPE >::Cache_ExtId_T ( const Cache_ExtId_T< TRANSPORT_DESCRIPTOR_TYPE > &  rhs)

Copy constructor.

template<typename TRANSPORT_DESCRIPTOR_TYPE >
ACE_INLINE TAO::Cache_ExtId_T< TRANSPORT_DESCRIPTOR_TYPE >::~Cache_ExtId_T ( void  )

Destructor.

Member Function Documentation

template<typename TRANSPORT_DESCRIPTOR_TYPE >
ACE_INLINE void TAO::Cache_ExtId_T< TRANSPORT_DESCRIPTOR_TYPE >::duplicate ( void  )

Make a deep copy of the underlying pointer.

template<typename TRANSPORT_DESCRIPTOR_TYPE >
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.

template<typename TRANSPORT_DESCRIPTOR_TYPE >
ACE_INLINE void TAO::Cache_ExtId_T< TRANSPORT_DESCRIPTOR_TYPE >::incr_index ( void  )

Increment the index value.

template<typename TRANSPORT_DESCRIPTOR_TYPE >
ACE_INLINE CORBA::ULong TAO::Cache_ExtId_T< TRANSPORT_DESCRIPTOR_TYPE >::index ( void  ) const

Return the index value.

template<typename TRANSPORT_DESCRIPTOR_TYPE >
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.

template<typename TRANSPORT_DESCRIPTOR_TYPE >
ACE_INLINE bool TAO::Cache_ExtId_T< TRANSPORT_DESCRIPTOR_TYPE >::operator!= ( const Cache_ExtId_T< TRANSPORT_DESCRIPTOR_TYPE > &  rhs) const

Inequality comparison operator.

template<typename TRANSPORT_DESCRIPTOR_TYPE >
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).

template<typename TRANSPORT_DESCRIPTOR_TYPE >
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_).

template<typename TRANSPORT_DESCRIPTOR_TYPE >
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.

Member Data Documentation

template<typename TRANSPORT_DESCRIPTOR_TYPE >
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.

template<typename TRANSPORT_DESCRIPTOR_TYPE >
bool TAO::Cache_ExtId_T< TRANSPORT_DESCRIPTOR_TYPE >::is_delete_
private

Do we need to delete transport_property?

template<typename TRANSPORT_DESCRIPTOR_TYPE >
transport_descriptor_type* TAO::Cache_ExtId_T< TRANSPORT_DESCRIPTOR_TYPE >::transport_property_
private

A property object that we represent.


The documentation for this class was generated from the following files: