#include <RT_Builder.h>
Inheritance diagram for TAO_Notify_RT_Builder:
Public Member Functions | |
TAO_Notify_RT_Builder (void) | |
Constructor. | |
virtual | ~TAO_Notify_RT_Builder () |
Destructor. | |
virtual void | apply_thread_pool_concurrency (TAO_Notify_Object &object, const NotifyExt::ThreadPoolParams &tp_params) |
Apply Thread Pools. | |
virtual void | apply_lane_concurrency (TAO_Notify_Object &object, const NotifyExt::ThreadPoolLanesParams &tpl_params) |
Apply Thread Pools with Lanes. |
Definition at line 31 of file RT_Builder.h.
TAO_BEGIN_VERSIONED_NAMESPACE_DECL TAO_Notify_RT_Builder::TAO_Notify_RT_Builder | ( | void | ) |
TAO_Notify_RT_Builder::~TAO_Notify_RT_Builder | ( | ) | [virtual] |
void TAO_Notify_RT_Builder::apply_lane_concurrency | ( | TAO_Notify_Object & | object, | |
const NotifyExt::ThreadPoolLanesParams & | tpl_params | |||
) | [virtual] |
Apply Thread Pools with Lanes.
Reimplemented from TAO_Notify_Builder.
Definition at line 49 of file RT_Builder.cpp.
References ACE_NEW_THROW_EX, TAO_Notify_Properties::default_poa(), TAO_Objref_Var_T< T >::in(), TAO_Notify_RT_POA_Helper::init(), TAO_Notify_Properties::instance(), ACE_Auto_Basic_Ptr< X >::release(), and TAO_Notify_Object::set_proxy_poa().
00051 { 00052 TAO_Notify_RT_POA_Helper* proxy_poa = 0; 00053 00054 // Bootstrap EC Proxy POA 00055 ACE_NEW_THROW_EX (proxy_poa, 00056 TAO_Notify_RT_POA_Helper (), 00057 CORBA::NO_MEMORY ()); 00058 00059 ACE_Auto_Ptr<TAO_Notify_POA_Helper> auto_proxy_poa (proxy_poa); 00060 00061 PortableServer::POA_var default_poa = TAO_Notify_PROPERTIES::instance ()->default_poa (); 00062 00063 proxy_poa->init (default_poa.in (), tpl_params); 00064 00065 // Give ownership of proxy_poa 00066 object.set_proxy_poa (auto_proxy_poa.release ()); 00067 }
void TAO_Notify_RT_Builder::apply_thread_pool_concurrency | ( | TAO_Notify_Object & | object, | |
const NotifyExt::ThreadPoolParams & | tp_params | |||
) | [virtual] |
Apply Thread Pools.
Reimplemented from TAO_Notify_Builder.
Definition at line 28 of file RT_Builder.cpp.
References ACE_NEW_THROW_EX, TAO_Notify_Properties::default_poa(), TAO_Objref_Var_T< T >::in(), TAO_Notify_RT_POA_Helper::init(), TAO_Notify_Properties::instance(), ACE_Auto_Basic_Ptr< X >::release(), and TAO_Notify_Object::set_proxy_poa().
00030 { 00031 TAO_Notify_RT_POA_Helper* proxy_poa = 0; 00032 00033 // Bootstrap EC Proxy POA 00034 ACE_NEW_THROW_EX (proxy_poa, 00035 TAO_Notify_RT_POA_Helper (), 00036 CORBA::NO_MEMORY ()); 00037 00038 ACE_Auto_Ptr<TAO_Notify_POA_Helper> auto_proxy_poa (proxy_poa); 00039 00040 PortableServer::POA_var default_poa = TAO_Notify_PROPERTIES::instance ()->default_poa (); 00041 00042 proxy_poa->init (default_poa.in (), tp_params); 00043 00044 // Give ownership of proxy_poa 00045 object.set_proxy_poa (auto_proxy_poa.release ()); 00046 }