TAO_RTCORBA 4.0.1
Loading...
Searching...
No Matches
Public Types | Public Member Functions | Private Member Functions | Private Attributes | List of all members
TAO_RT_ORBInitializer Class Reference

RTCORBA ORB initializer. More...

#include <RT_ORBInitializer.h>

Inheritance diagram for TAO_RT_ORBInitializer:
Inheritance graph
[legend]
Collaboration diagram for TAO_RT_ORBInitializer:
Collaboration graph
[legend]

Public Types

enum  { TAO_PRIORITY_MAPPING_CONTINUOUS , TAO_PRIORITY_MAPPING_LINEAR , TAO_PRIORITY_MAPPING_DIRECT }
 Priority mapping types. More...
 
enum  { TAO_NETWORK_PRIORITY_MAPPING_LINEAR }
 
enum  TAO_RTCORBA_DT_LifeSpan { TAO_RTCORBA_DT_INFINITIVE , TAO_RTCORBA_DT_IDLE , TAO_RTCORBA_DT_FIXED }
 
- Public Types inherited from CORBA::LocalObject
typedef LocalObject_ptr _ptr_type
 
typedef LocalObject_var _var_type
 
typedef LocalObject_out _out_type
 
- Public Types inherited from CORBA::Object
typedef Object_ptr _ptr_type
 
typedef Object_var _var_type
 
typedef Object_out _out_type
 

Public Member Functions

 TAO_RT_ORBInitializer (int priority_mapping_type, int network_priority_mapping_type, int ace_sched_policy, long sched_policy, long scope_policy, TAO_RT_ORBInitializer::TAO_RTCORBA_DT_LifeSpan lifespan, ACE_Time_Value const &dynamic_thread_time)
 
virtual void pre_init (PortableInterceptor::ORBInitInfo_ptr info)
 
virtual void post_init (PortableInterceptor::ORBInitInfo_ptr info)
 
- Public Member Functions inherited from CORBA::LocalObject
virtual ~LocalObject ()
 
virtual CORBA::Boolean _non_existent ()
 
virtual char * _repository_id ()
 
virtual CORBA::InterfaceDef_ptr _get_interface ()
 
virtual CORBA::Object_ptr _get_component ()
 
virtual void _create_request (CORBA::Context_ptr ctx, const char *operation, CORBA::NVList_ptr arg_list, CORBA::NamedValue_ptr result, CORBA::Request_ptr &request, CORBA::Flags req_flags)
 
virtual void _create_request (CORBA::Context_ptr ctx, const char *operation, CORBA::NVList_ptr arg_list, CORBA::NamedValue_ptr result, CORBA::ExceptionList_ptr exclist, CORBA::ContextList_ptr ctxtlist, CORBA::Request_ptr &request, CORBA::Flags req_flags)
 
virtual CORBA::Request_ptr _request (const char *operation)
 
virtual CORBA::ULong _hash (CORBA::ULong maximum)
 
virtual CORBA::Boolean _is_equivalent (CORBA::Object_ptr other_obj)
 
virtual CORBA::ORB_ptr _get_orb ()
 
virtual TAO::ObjectKey_key ()
 
- Public Member Functions inherited from CORBA::Object
virtual ~Object ()
 
virtual void _add_ref ()
 
virtual void _remove_ref ()
 
virtual CORBA::ULong _refcount_value () const
 
virtual TAO_Abstract_ServantBase_servant () const
 
virtual CORBA::Boolean _is_collocated () const
 
virtual CORBA::Boolean _is_local () const
 
 Object (TAO_Stub *p, CORBA::Boolean collocated=false, TAO_Abstract_ServantBase *servant=0, TAO_ORB_Core *orb_core=0)
 
 Object (IOP::IOR *ior, TAO_ORB_Core *orb_core)
 
virtual TAO_Stub_stubobj () const
 
virtual TAO_Stub_stubobj ()
 
virtual void _proxy_broker (TAO::Object_Proxy_Broker *proxy_broker)
 
virtual CORBA::Boolean marshal (TAO_OutputCDR &cdr)
 
CORBA::Boolean is_evaluated () const
 
TAO_ORB_Coreorb_core () const
 
IOP::IORsteal_ior ()
 
const IOP::IORior () const
 
virtual bool can_convert_to_ior () const
 
virtual char * convert_to_ior (bool use_omg_ior_format, const char *ior_prefix) const
 
void _decr_refcount ()
 
virtual CORBA::Boolean _is_a (const char *logical_type_id)
 
virtual const char * _interface_repository_id () const
 

Private Member Functions

void register_policy_factories (PortableInterceptor::ORBInitInfo_ptr info)
 Register RTCORBA policy factories.
 

Private Attributes

PortableInterceptor::PolicyFactory_var policy_factory_
 Instance of the RTCorba policy factory.
 
int const priority_mapping_type_
 Priority mapping type.
 
int const network_priority_mapping_type_
 Network Priority mapping type.
 
int const ace_sched_policy_
 Scheduling policy.
 
long const sched_policy_
 Scheduling policy flag.
 
long const scope_policy_
 Scheduling scope flag.
 
TAO_RT_ORBInitializer::TAO_RTCORBA_DT_LifeSpan lifespan_
 Dynamic thread lifespan policy.
 
ACE_Time_Value const dynamic_thread_time_
 Dynamic thread time.
 

Additional Inherited Members

- Static Public Member Functions inherited from CORBA::LocalObject
static LocalObject_ptr _duplicate (LocalObject_ptr obj)
 
static LocalObject_ptr _nil ()
 
static LocalObject_ptr _narrow (CORBA::Object_ptr obj)
 
- Static Public Member Functions inherited from CORBA::Object
static CORBA::Boolean marshal (const Object_ptr x, TAO_OutputCDR &cdr)
 
static void _tao_any_destructor (void *)
 
static CORBA::Boolean is_nil_i (CORBA::Object_ptr obj)
 
static void tao_object_initialize (Object *)
 
static CORBA::Object_ptr _duplicate (CORBA::Object_ptr obj)
 
static CORBA::Object_ptr _nil ()
 
static CORBA::Object_ptr _narrow (CORBA::Object_ptr obj)
 
- Protected Member Functions inherited from CORBA::LocalObject
 LocalObject ()
 
- Protected Member Functions inherited from CORBA::Object
 Object (int dummy=0)
 
TAO::Object_Proxy_Brokerproxy_broker () const
 
- Protected Attributes inherited from CORBA::Object
std::atomic< uint32_t > refcount_
 

Detailed Description

RTCORBA ORB initializer.

Member Enumeration Documentation

◆ anonymous enum

anonymous enum

Priority mapping types.

Enumerator
TAO_PRIORITY_MAPPING_CONTINUOUS 
TAO_PRIORITY_MAPPING_LINEAR 
TAO_PRIORITY_MAPPING_DIRECT 

◆ anonymous enum

anonymous enum
Enumerator
TAO_NETWORK_PRIORITY_MAPPING_LINEAR 

◆ TAO_RTCORBA_DT_LifeSpan

Lifespan of the dynamic threads TAO_RTCORBA_DT_INFINITIVE When the Dynamic Thread is created it will run forever TAO_RTCORBA_DT_IDLE When the Dynamic Thread is created it will run until it has been idle for the specified amount of time TAO_RTCORBA_DT_FIXED When the Dynamic Thread is created it will run for the specified fix amount of time

Enumerator
TAO_RTCORBA_DT_INFINITIVE 
TAO_RTCORBA_DT_IDLE 
TAO_RTCORBA_DT_FIXED 

Constructor & Destructor Documentation

◆ TAO_RT_ORBInitializer()

TAO_RT_ORBInitializer::TAO_RT_ORBInitializer ( int priority_mapping_type,
int network_priority_mapping_type,
int ace_sched_policy,
long sched_policy,
long scope_policy,
TAO_RT_ORBInitializer::TAO_RTCORBA_DT_LifeSpan lifespan,
ACE_Time_Value const & dynamic_thread_time )

Member Function Documentation

◆ post_init()

void TAO_RT_ORBInitializer::post_init ( PortableInterceptor::ORBInitInfo_ptr info)
virtual

◆ pre_init()

void TAO_RT_ORBInitializer::pre_init ( PortableInterceptor::ORBInitInfo_ptr info)
virtual

◆ register_policy_factories()

void TAO_RT_ORBInitializer::register_policy_factories ( PortableInterceptor::ORBInitInfo_ptr info)
private

Register RTCORBA policy factories.

Member Data Documentation

◆ ace_sched_policy_

int const TAO_RT_ORBInitializer::ace_sched_policy_
private

Scheduling policy.

Scheduling policy specified by the user through the -ORBSchedPolicy option. This value is typically used by functions like ACE_OS::thr_setprio() and ACE_Sched_Params::priority_min(). Legal values are ACE_SCHED_RR, ACE_SCHED_FIFO, and ACE_SCHED_OTHER.

◆ dynamic_thread_time_

ACE_Time_Value const TAO_RT_ORBInitializer::dynamic_thread_time_
private

Dynamic thread time.

When using thread pool a certain number of dynamic threads can be created. By default these threads are created when needed but never end. Optionally a time can be specified

◆ lifespan_

TAO_RT_ORBInitializer::TAO_RTCORBA_DT_LifeSpan TAO_RT_ORBInitializer::lifespan_
private

Dynamic thread lifespan policy.

◆ network_priority_mapping_type_

int const TAO_RT_ORBInitializer::network_priority_mapping_type_
private

Network Priority mapping type.

◆ policy_factory_

PortableInterceptor::PolicyFactory_var TAO_RT_ORBInitializer::policy_factory_
private

Instance of the RTCorba policy factory.

The RTCorba policy factory is stateless and reentrant, so share a single instance between all ORBs.

◆ priority_mapping_type_

int const TAO_RT_ORBInitializer::priority_mapping_type_
private

Priority mapping type.

◆ sched_policy_

long const TAO_RT_ORBInitializer::sched_policy_
private

Scheduling policy flag.

Scheduling policy specified by the user through the -ORBSchedPolicy option. This value is typically used by ACE thread creation functions. Legal values are THR_SCHED_RR, THR_SCHED_FIFO, and THR_SCHED_DEFAULT.

◆ scope_policy_

long const TAO_RT_ORBInitializer::scope_policy_
private

Scheduling scope flag.

Scheduling policy specified by the user through the -ORBScopePolicy option. This value is typically used by ACE thread creation functions. Legal values are THR_SCOPE_SYSTEM and THR_SCOPE_PROCESS.


The documentation for this class was generated from the following files: