TAO 4.0.0
Loading...
Searching...
No Matches
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 ()
 Constructor.
 
 Cache_ExtId_T (transport_descriptor_type *prop)
 Constructor.
 
 Cache_ExtId_T (const Cache_ExtId_T &rhs)
 Copy constructor.
 
 ~Cache_ExtId_T ()
 Destructor.
 
Cache_ExtId_Toperator= (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 () const
 
void duplicate ()
 Make a deep copy of the underlying pointer.
 
CORBA::ULong index () const
 Return the index value.
 
void index (CORBA::ULong index)
 
void incr_index ()
 Increment the index value.
 
transport_descriptor_typeproperty () const
 Get the underlying the property pointer.
 

Private Attributes

transport_descriptor_typetransport_property_
 A property object that we represent.
 
bool is_delete_
 Do we need to delete transport_property?
 
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

◆ transport_descriptor_type

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

Constructor & Destructor Documentation

◆ Cache_ExtId_T() [1/3]

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

Constructor.

◆ Cache_ExtId_T() [2/3]

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

Constructor.

◆ Cache_ExtId_T() [3/3]

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

Copy constructor.

◆ ~Cache_ExtId_T()

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

Destructor.

Member Function Documentation

◆ duplicate()

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

Make a deep copy of the underlying pointer.

◆ hash()

template<typename TRANSPORT_DESCRIPTOR_TYPE >
u_long TAO::Cache_ExtId_T< TRANSPORT_DESCRIPTOR_TYPE >::hash ( ) const

hash function is required in order for this class to be usable by ACE_Hash_Map_Manager_Ex.

◆ incr_index()

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

Increment the index value.

◆ index() [1/2]

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

Return the index value.

◆ index() [2/2]

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

◆ operator!=()

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

Inequality comparison operator.

◆ operator=()

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

◆ operator==()

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

◆ property()

template<typename TRANSPORT_DESCRIPTOR_TYPE >
Cache_ExtId_T< TRANSPORT_DESCRIPTOR_TYPE >::transport_descriptor_type * TAO::Cache_ExtId_T< TRANSPORT_DESCRIPTOR_TYPE >::property ( ) const

Get the underlying the property pointer.

Member Data Documentation

◆ index_

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.

◆ is_delete_

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

Do we need to delete transport_property?

◆ 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: