#include <RT_Endpoint_Selector_Factory.h>
Inheritance diagram for RT_Endpoint_Selector_Factory:
Public Member Functions | |
RT_Endpoint_Selector_Factory (void) | |
Constructor. | |
virtual | ~RT_Endpoint_Selector_Factory (void) |
Destructor. | |
virtual TAO_Invocation_Endpoint_Selector * | get_selector (void) |
Private Attributes | |
TAO_RT_Invocation_Endpoint_Selector * | rt_invocation_endpoint_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.
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 }
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 }
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().