TAO_RT_Transport_Descriptor_Banded_Connection_Property Class Reference

Descriptor Property for Banded Connections. More...

#include <RT_Transport_Descriptor_Property.h>

Inheritance diagram for TAO_RT_Transport_Descriptor_Banded_Connection_Property:

Inheritance graph
[legend]
Collaboration diagram for TAO_RT_Transport_Descriptor_Banded_Connection_Property:

Collaboration graph
[legend]
List of all members.

Public Member Functions

 TAO_RT_Transport_Descriptor_Banded_Connection_Property (void)
 Constructor.
 TAO_RT_Transport_Descriptor_Banded_Connection_Property (CORBA::Short low_priority, CORBA::Short high_priority)
 ~TAO_RT_Transport_Descriptor_Banded_Connection_Property (void)
 Destructor.
void init (CORBA::Short low_priority, CORBA::Short high_priority)
 Init.
virtual TAO_RT_Transport_Descriptor_Propertyduplicate (void)
virtual CORBA::Boolean is_equivalent (const TAO_RT_Transport_Descriptor_Property *other_prop)

Protected Attributes

CORBA::Short low_priority_
 The low priority of the Band.
CORBA::Short high_priority_
 The high priority of the Band.

Detailed Description

Descriptor Property for Banded Connections.

This property holds the Band information necessary to identify a banded connection.

Definition at line 107 of file RT_Transport_Descriptor_Property.h.


Constructor & Destructor Documentation

ACE_INLINE TAO_RT_Transport_Descriptor_Banded_Connection_Property::TAO_RT_Transport_Descriptor_Banded_Connection_Property ( void   ) 

Constructor.

Definition at line 35 of file RT_Transport_Descriptor_Property.inl.

00036   : low_priority_ (-1)
00037   , high_priority_ (-1)
00038 {
00039 }

ACE_INLINE TAO_RT_Transport_Descriptor_Banded_Connection_Property::TAO_RT_Transport_Descriptor_Banded_Connection_Property ( CORBA::Short  low_priority,
CORBA::Short  high_priority 
)

Definition at line 42 of file RT_Transport_Descriptor_Property.inl.

00044   : low_priority_ (low_priority)
00045   , high_priority_ (high_priority)
00046 {
00047 }

TAO_RT_Transport_Descriptor_Banded_Connection_Property::~TAO_RT_Transport_Descriptor_Banded_Connection_Property ( void   ) 

Destructor.

Definition at line 51 of file RT_Transport_Descriptor_Property.cpp.

00052 {
00053 }


Member Function Documentation

TAO_RT_Transport_Descriptor_Property * TAO_RT_Transport_Descriptor_Banded_Connection_Property::duplicate ( void   )  [virtual]

Implements TAO_RT_Transport_Descriptor_Property.

Definition at line 56 of file RT_Transport_Descriptor_Property.cpp.

References ACE_NEW_RETURN.

00057 {
00058   // Construct a copy of our class
00059   TAO_RT_Transport_Descriptor_Banded_Connection_Property *desc_prop = 0;
00060 
00061   ACE_NEW_RETURN (desc_prop,
00062                   TAO_RT_Transport_Descriptor_Banded_Connection_Property (this->low_priority_,
00063                                   this->high_priority_),
00064                   0);
00065 
00066   return desc_prop;
00067 }

ACE_INLINE void TAO_RT_Transport_Descriptor_Banded_Connection_Property::init ( CORBA::Short  low_priority,
CORBA::Short  high_priority 
)

Init.

Definition at line 50 of file RT_Transport_Descriptor_Property.inl.

References high_priority_, and low_priority_.

Referenced by TAO_RT_Invocation_Endpoint_Selector::endpoint_from_profile().

00052 {
00053   this->low_priority_ = low_priority;
00054   this->high_priority_ = high_priority;
00055 }

CORBA::Boolean TAO_RT_Transport_Descriptor_Banded_Connection_Property::is_equivalent ( const TAO_RT_Transport_Descriptor_Property other_prop  )  [virtual]

Implements TAO_RT_Transport_Descriptor_Property.

Definition at line 70 of file RT_Transport_Descriptor_Property.cpp.

References high_priority_, and low_priority_.

00071 {
00072   const TAO_RT_Transport_Descriptor_Banded_Connection_Property *rhs =
00073     dynamic_cast<const TAO_RT_Transport_Descriptor_Banded_Connection_Property*> (other_prop);
00074 
00075   return (rhs != 0 &&
00076           this->low_priority_ == rhs->low_priority_ &&
00077           this->high_priority_ == rhs->high_priority_);
00078 }


Member Data Documentation

CORBA::Short TAO_RT_Transport_Descriptor_Banded_Connection_Property::high_priority_ [protected]

The high priority of the Band.

Definition at line 131 of file RT_Transport_Descriptor_Property.h.

Referenced by init(), and is_equivalent().

CORBA::Short TAO_RT_Transport_Descriptor_Banded_Connection_Property::low_priority_ [protected]

The low priority of the Band.

Definition at line 128 of file RT_Transport_Descriptor_Property.h.

Referenced by init(), and is_equivalent().


The documentation for this class was generated from the following files:
Generated on Tue Feb 2 17:43:02 2010 for TAO_RTCORBA by  doxygen 1.4.7