RT_Endpoint_Selector_Factory Class Reference

Factory for obtaining appropriate <Invocation_Selector>. More...

#include <RT_Endpoint_Selector_Factory.h>

Inheritance diagram for RT_Endpoint_Selector_Factory:

Inheritance graph
[legend]
Collaboration diagram for RT_Endpoint_Selector_Factory:

Collaboration graph
[legend]
List of all members.

Public Member Functions

 RT_Endpoint_Selector_Factory (void)
 Constructor.
virtual ~RT_Endpoint_Selector_Factory (void)
 Destructor.
virtual TAO_Invocation_Endpoint_Selectorget_selector (void)

Private Attributes

TAO_RT_Invocation_Endpoint_Selectorrt_invocation_endpoint_selector_

Detailed Description

Factory for obtaining appropriate <Invocation_Selector>.

Used by Invocation classes to intialize its endpoint selection strategy and state based on the effective policies. Endpoint selection strategies are stateless objects - all the state they need is contained by Invocation. Thus, rather than allocating an endpoint selection strategy object for each Invocation, the factory simply returns the appropriate one from the set preallocated in the ORB_Core. One endpoint selection strategy object can be used by many invocations concurrently.

Definition at line 52 of file RT_Endpoint_Selector_Factory.h.


Constructor & Destructor Documentation

TAO_BEGIN_VERSIONED_NAMESPACE_DECL RT_Endpoint_Selector_Factory::RT_Endpoint_Selector_Factory ( void   ) 

Constructor.

Definition at line 23 of file RT_Endpoint_Selector_Factory.cpp.

References ACE_NEW.

00024 {
00025   ACE_NEW (this->rt_invocation_endpoint_selector_,
00026            TAO_RT_Invocation_Endpoint_Selector);
00027 }

RT_Endpoint_Selector_Factory::~RT_Endpoint_Selector_Factory ( void   )  [virtual]

Destructor.

Definition at line 29 of file RT_Endpoint_Selector_Factory.cpp.

References rt_invocation_endpoint_selector_.

00030 {
00031   delete this->rt_invocation_endpoint_selector_;
00032 }


Member Function Documentation

TAO_Invocation_Endpoint_Selector * RT_Endpoint_Selector_Factory::get_selector ( void   )  [virtual]

Implements TAO_Endpoint_Selector_Factory.

Definition at line 35 of file RT_Endpoint_Selector_Factory.cpp.

References rt_invocation_endpoint_selector_.

00036 {
00037   return this->rt_invocation_endpoint_selector_;
00038 }


Member Data Documentation

TAO_RT_Invocation_Endpoint_Selector* RT_Endpoint_Selector_Factory::rt_invocation_endpoint_selector_ [private]

Definition at line 65 of file RT_Endpoint_Selector_Factory.h.

Referenced by get_selector(), and ~RT_Endpoint_Selector_Factory().


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