tao_idl -oA AnyTypeCode -Ge 1 -GA -SS -Sci -Wb,pre_include=ace/pre.h -Wb,post_include=ace/post.h -Wb,export_macro=TAO_Export -Wb,export_include=tao/TAO_Export.h -Wb,anyop_export_macro=TAO_AnyTypeCode_Export -Wb,anyop_export_include=tao/AnyTypeCode/TAO_AnyTypeCode_Export.h BooleanSeq.pidl
|
Definition at line 34 of file Valuetype_Adapter.h. |
|
Definition at line 70 of file Exception.h. |
|
Definition at line 42 of file Basic_Types.h. |
|
Definition at line 43 of file Basic_Types.h. |
|
Definition at line 28 of file BooleanSeq.pidl. |
|
Definition at line 81 of file BooleanSeqC.h. |
|
Definition at line 75 of file BooleanSeqC.h. |
|
Definition at line 75 of file Basic_Types.h. |
|
Definition at line 76 of file Basic_Types.h. |
|
Definition at line 30 of file CharSeq.pidl. |
|
Definition at line 81 of file CharSeqC.h. |
|
Definition at line 75 of file CharSeqC.h. |
|
|
|
Definition at line 214 of file DomainC.h. Referenced by CORBA::ConstructionPolicy::_duplicate(), CORBA::ConstructionPolicy::_nil(), CORBA::ConstructionPolicy::_tao_release(), operator<<(), and operator>>(). |
|
|
|
Definition at line 52 of file Dynamic_Adapter.h. Referenced by CORBA::Object::_create_request(), CORBA::LocalObject::_create_request(), and CORBA::ORB::get_default_context(). |
|
Definition at line 84 of file Object.h. Referenced by CORBA::Object::_create_request(), CORBA::LocalObject::_create_request(), and CORBA::ORB::create_context_list(). |
|
Definition at line 86 of file CurrentC.h. |
|
Definition at line 74 of file CurrentC.h. Referenced by CORBA::Current::_duplicate(), CORBA::Current::_nil(), and CORBA::Current::_tao_release(). |
|
Definition at line 80 of file CurrentC.h. |
|
|
|
Definition at line 93 of file DomainC.h. Referenced by CORBA::DomainManager::_duplicate(), CORBA::DomainManager::_nil(), CORBA::DomainManager::_tao_release(), CORBA::DomainManagerList::DomainManagerList(), operator<<(), and operator>>(). |
|
Definition at line 99 of file DomainC.h. Referenced by CORBA::DomainManagerList::DomainManagerList(). |
|
Definition at line 74 of file Domain.pidl. |
|
|
|
|
|
Definition at line 69 of file Basic_Types.h. Referenced by CORBA::DoubleSeq::DoubleSeq(), operator<<(), and operator>>(). |
|
Definition at line 70 of file Basic_Types.h. |
|
Definition at line 30 of file DoubleSeq.pidl. |
|
Definition at line 81 of file DoubleSeqC.h. |
|
Definition at line 75 of file DoubleSeqC.h. |
|
Definition at line 46 of file Environment.h. |
|
Definition at line 41 of file CORBA_methods.h. Referenced by CORBA::ORB::create_environment(), is_nil(), and release(). |
|
Definition at line 45 of file Environment.h. |
|
Definition at line 46 of file Dynamic_Adapter.h. Referenced by CORBA::Object::_create_request(), CORBA::LocalObject::_create_request(), and CORBA::ORB::create_exception_list(). |
|
Definition at line 57 of file Dynamic_Adapter.h. Referenced by CORBA::Object::_create_request(), and CORBA::LocalObject::_create_request(). |
|
Definition at line 76 of file orb_typesC.h. |
|
Definition at line 66 of file Basic_Types.h. Referenced by CORBA::FloatSeq::FloatSeq(), operator<<(), and operator>>(). |
|
Definition at line 67 of file Basic_Types.h. |
|
Definition at line 31 of file FloatSeq.pidl. |
|
Definition at line 81 of file FloatSeqC.h. |
|
Definition at line 75 of file FloatSeqC.h. |
|
Definition at line 34 of file orb_types.pidl. |
|
Definition at line 83 of file orb_typesC.h. |
|
Definition at line 82 of file orb_typesC.h. |
|
|
|
Definition at line 65 of file DomainC.cpp. |
|
Definition at line 44 of file Abstract_Servant_Base.h. Referenced by CORBA::ConstructionPolicy::make_domain_manager(). |
|
Definition at line 64 of file DomainC.cpp. |
|
Definition at line 41 of file LocalObject.h. |
|
Definition at line 39 of file LocalObject.h. Referenced by CORBA::LocalObject::_duplicate(). |
|
Definition at line 40 of file LocalObject.h. |
|
Definition at line 54 of file Basic_Types.h. Referenced by TAO_InputCDR::TAO_InputCDR(). |
|
Definition at line 55 of file Basic_Types.h. |
|
Definition at line 72 of file Basic_Types.h. Referenced by CORBA::LongDoubleSeq::LongDoubleSeq(), operator<<(), and operator>>(). |
|
Definition at line 73 of file Basic_Types.h. |
|
Definition at line 28 of file LongDoubleSeq.pidl. |
|
Definition at line 90 of file LongDoubleSeqC.h. |
|
Definition at line 84 of file LongDoubleSeqC.h. |
|
Definition at line 60 of file Basic_Types.h. |
|
Definition at line 61 of file Basic_Types.h. |
|
Definition at line 28 of file LongLongSeq.pidl. |
|
Definition at line 90 of file LongLongSeqC.h. |
|
Definition at line 84 of file LongLongSeqC.h. |
|
Definition at line 28 of file LongSeq.pidl. |
|
Definition at line 90 of file LongSeqC.h. |
|
Definition at line 84 of file LongSeqC.h. |
|
Definition at line 43 of file Dynamic_Adapter.h. Referenced by CORBA::Object::_create_request(), CORBA::LocalObject::_create_request(), and CORBA::ORB::create_named_value(). |
|
Definition at line 40 of file Dynamic_Adapter.h. Referenced by CORBA::Object::_create_request(), CORBA::LocalObject::_create_request(), CORBA::ORB::create_list(), and CORBA::ORB::create_operation_list(). |
|
Definition at line 51 of file Abstract_Servant_Base.h. Referenced by TAO_Request_Dispatcher::dispatch(), and TAO_Adapter_Registry::dispatch(). |
|
|
|
|
Definition at line 46 of file Basic_Types.h. |
|
Definition at line 33 of file OctetSeq.pidl. |
|
Definition at line 85 of file OctetSeqC.h. |
|
Definition at line 79 of file OctetSeqC.h. |
|
Definition at line 50 of file CORBA_methods.h. Referenced by CORBA::ORB::create_operation_list(). |
|
Definition at line 39 of file ObjectIdList.pidl. |
|
Definition at line 77 of file ObjectIdListC.h. |
|
Definition at line 76 of file ObjectIdListC.h. |
|
Definition at line 40 of file ObjectIdList.pidl. |
|
Definition at line 97 of file ObjectIdListC.h. |
|
Definition at line 91 of file ObjectIdListC.h. |
|
|
|
|
Definition at line 118 of file ORB.h. Referenced by TAO::Collocated_Invocation::invoke(), and TAO_ORB_Core_instance(). |
|
Definition at line 32 of file orb_types.pidl. |
|
Definition at line 70 of file orb_typesC.h. |
|
Definition at line 69 of file orb_typesC.h. |
|
Definition at line 80 of file ParameterModeC.h. |
|
Definition at line 88 of file Policy_ForwardC.h. |
|
|
|
Definition at line 204 of file Policy_ForwardC.h. |
|
Definition at line 192 of file Policy_ForwardC.h. Referenced by CORBA::PolicyCurrent::_duplicate(), CORBA::PolicyCurrent::_nil(), and CORBA::PolicyCurrent::_tao_release(). |
|
Definition at line 198 of file Policy_ForwardC.h. |
|
Definition at line 55 of file Policy.pidl. Referenced by CORBA::PolicyError::PolicyError(). |
|
|
|
Definition at line 38 of file Policy_Forward.pidl. |
|
Definition at line 110 of file Policy_ForwardC.h. Referenced by CORBA::Object::_validate_connection(), and CORBA::LocalObject::_validate_connection(). |
|
Definition at line 104 of file Policy_ForwardC.h. Referenced by TAO_Policy_Set::get_policy_overrides(). |
|
|
|
Definition at line 374 of file PolicyC.h. Referenced by CORBA::PolicyManager::_duplicate(), CORBA::PolicyManager::_nil(), and CORBA::PolicyManager::_tao_release(). |
|
|
|
|
Definition at line 67 of file Policy_ForwardC.h. |
|
Definition at line 40 of file Policy_Forward.pidl. |
|
Definition at line 157 of file Policy_ForwardC.h. |
|
Definition at line 151 of file Policy_ForwardC.h. |
|
Definition at line 42 of file Principal.h. |
|
Definition at line 47 of file CORBA_methods.h. |
|
Definition at line 41 of file Principal.h. |
|
Definition at line 35 of file orb_types.pidl. |
|
Definition at line 90 of file orb_typesC.h. |
|
Definition at line 89 of file orb_typesC.h. |
|
|
|
Definition at line 49 of file Dynamic_Adapter.h. Referenced by CORBA::Object::_create_request(), CORBA::LocalObject::_create_request(), and CORBA::ORB::get_next_response(). |
|
|
|
Definition at line 132 of file ORB.h. Referenced by CORBA::ORB::send_multiple_requests_deferred(), and CORBA::ORB::send_multiple_requests_oneway(). |
|
|
|
|
|
Definition at line 55 of file Dynamic_Adapter.h. |
|
Definition at line 160 of file ServicesC.h. |
|
Definition at line 154 of file ServicesC.h. |
|
Definition at line 34 of file Services.pidl. |
|
Definition at line 93 of file ServicesC.h. |
|
Definition at line 92 of file ServicesC.h. |
|
Definition at line 45 of file Services.pidl. |
|
Definition at line 192 of file ServicesC.h. |
|
Definition at line 186 of file ServicesC.h. |
|
Definition at line 33 of file Services.pidl. |
|
Definition at line 86 of file ServicesC.h. |
|
Definition at line 234 of file ServicesC.h. Referenced by CORBA::ORB::get_service_information(). |
|
Definition at line 228 of file ServicesC.h. |
|
Definition at line 32 of file Services.pidl. Referenced by CORBA::ServiceOptionSeq::ServiceOptionSeq(). |
|
Definition at line 80 of file ServicesC.h. |
|
Definition at line 35 of file Services.pidl. |
|
Definition at line 113 of file ServicesC.h. |
|
Definition at line 107 of file ServicesC.h. |
|
Definition at line 109 of file ORB.h. Referenced by CORBA::ORB::get_service_information(). |
|
Definition at line 74 of file ServicesC.h. |
|
Definition at line 217 of file Policy_ForwardC.h. |
|
Definition at line 48 of file Basic_Types.h. |
|
Definition at line 49 of file Basic_Types.h. |
|
Definition at line 29 of file ShortSeq.pidl. |
|
Definition at line 81 of file ShortSeqC.h. |
|
Definition at line 75 of file ShortSeqC.h. |
|
Definition at line 83 of file Basic_Types.h. Referenced by operator<<(), and operator>>(). |
|
|
Definition at line 27 of file StringSeq.pidl. |
|
Definition at line 81 of file StringSeqC.h. |
|
Definition at line 75 of file StringSeqC.h. |
|
Definition at line 118 of file Typecode_typesC.h. |
|
Definition at line 41 of file TypeCodeFactory_Adapter.h. |
|
|
Definition at line 40 of file TypeCodeFactory_Adapter.h. |
|
|
Definition at line 58 of file Basic_Types.h. |
|
Definition at line 63 of file Basic_Types.h. |
|
Definition at line 64 of file Basic_Types.h. |
|
Definition at line 28 of file ULongLongSeq.pidl. |
|
Definition at line 81 of file ULongLongSeqC.h. |
|
Definition at line 75 of file ULongLongSeqC.h. |
|
Definition at line 30 of file ULongSeq.pidl. |
|
Definition at line 86 of file ULongSeqC.h. |
|
Definition at line 80 of file ULongSeqC.h. |
|
Definition at line 51 of file Basic_Types.h. |
|
Definition at line 52 of file Basic_Types.h. |
|
Definition at line 30 of file UShortSeq.pidl. |
|
Definition at line 90 of file UShortSeqC.h. |
|
Definition at line 84 of file UShortSeqC.h. |
|
Definition at line 107 of file ORB.h. Referenced by CORBA::ORB::register_value_factory(). |
|
Definition at line 121 of file ORB.h. Referenced by CORBA::ORB::create_event_tc(), and CORBA::ORB::create_value_tc(). |
|
Definition at line 78 of file Basic_Types.h. |
|
Definition at line 79 of file Basic_Types.h. |
|
Definition at line 28 of file WCharSeq.pidl. |
|
Definition at line 82 of file WCharSeqC.h. |
|
Definition at line 76 of file WCharSeqC.h. |
|
Definition at line 85 of file Basic_Types.h. Referenced by operator<<(), and operator>>(). |
|
Definition at line 84 of file Basic_Types.h. Referenced by TAO::String_Var_Equal_To::operator()(), operator<<(), and operator>>(). |
|
Definition at line 28 of file WStringSeq.pidl. |
|
Definition at line 81 of file WStringSeqC.h. |
|
Definition at line 75 of file WStringSeqC.h. |
|
Completion status for CORBA system exceptions.
Enumerations that denote how an operation was (not) completed when a
Definition at line 70 of file SystemException.h. Referenced by CORBA::SystemException::_tao_decode().
00071 { 00072 COMPLETED_YES, ///< Successful or exceptional completion. 00073 COMPLETED_NO, ///< Didn't change any state; retry is OK. 00074 COMPLETED_MAYBE ///< Can't say what happened; retry unsafe. 00075 }; |
|
Enumeration used to identify the type of CORBA exception. CORBA exceptions generally fall into two categories, user exceptions and system exceptions. This enumeration is used when identifying the type of CORBA exception. Definition at line 83 of file Exception.h.
00084 { 00085 NO_EXCEPTION, 00086 USER_EXCEPTION, 00087 SYSTEM_EXCEPTION 00088 }; |
|
Definition at line 73 of file ParameterModeC.h.
00074 { 00075 PARAM_IN, 00076 PARAM_OUT, 00077 PARAM_INOUT 00078 }; |
|
Definition at line 29 of file ParameterMode.pidl.
00030 { 00031 PARAM_IN, 00032 PARAM_OUT, 00033 PARAM_INOUT 00034 }; |
|
Definition at line 211 of file Policy_ForwardC.h.
00212 { 00213 SET_OVERRIDE, 00214 ADD_OVERRIDE 00215 }; |
|
Definition at line 44 of file Policy_Forward.pidl.
00045 { 00046 SET_OVERRIDE, 00047 ADD_OVERRIDE 00048 }; |
|
Definition at line 72 of file Typecode_typesC.h.
00073 { 00074 tk_null, 00075 tk_void, 00076 tk_short, 00077 tk_long, 00078 tk_ushort, 00079 tk_ulong, 00080 tk_float, 00081 tk_double, 00082 tk_boolean, 00083 tk_char, 00084 tk_octet, 00085 tk_any, 00086 tk_TypeCode, 00087 tk_Principal, 00088 tk_objref, 00089 tk_struct, 00090 tk_union, 00091 tk_enum, 00092 tk_string, 00093 tk_sequence, 00094 tk_array, 00095 tk_alias, 00096 tk_except, 00097 tk_longlong, 00098 tk_ulonglong, 00099 tk_longdouble, 00100 tk_wchar, 00101 tk_wstring, 00102 tk_fixed, 00103 tk_value, 00104 tk_value_box, 00105 tk_native, 00106 tk_abstract_interface, 00107 tk_local_interface, 00108 tk_component, 00109 tk_home, 00110 tk_event 00111 00112 // This symbol is not defined by CORBA 3.0. It's used to speed up 00113 // dispatch based on TCKind values, and lets many important ones 00114 // just be table lookups. It must always be the last enum value!! 00115 , TAO_TC_KIND_COUNT 00116 }; |
|
Definition at line 16 of file Typecode_types.pidl.
00017 { 00018 tk_null, 00019 tk_void, 00020 tk_short, 00021 tk_long, 00022 tk_ushort, 00023 tk_ulong, 00024 tk_float, 00025 tk_double, 00026 tk_boolean, 00027 tk_char, 00028 tk_octet, 00029 tk_any, 00030 tk_TypeCode, 00031 tk_Principal, 00032 tk_objref, 00033 tk_struct, 00034 tk_union, 00035 tk_enum, 00036 tk_string, 00037 tk_sequence, 00038 tk_array, 00039 tk_alias, 00040 tk_except, 00041 tk_longlong, 00042 tk_ulonglong, 00043 tk_longdouble, 00044 tk_wchar, 00045 tk_wstring, 00046 tk_fixed, 00047 tk_value, 00048 tk_value_box, 00049 tk_native, 00050 tk_abstract_interface, 00051 tk_local_interface, 00052 tk_component, 00053 tk_home, 00054 tk_event 00055 }; |
|
Definition at line 9 of file Principal.i. References Principal_ptr.
00010 {
00011 return principal == 0;
00012 }
|
|
Definition at line 47 of file Object.i. References CORBA::Object::is_nil_i(), and Object_ptr.
00048 { 00049 if (obj == 0) 00050 { 00051 return true; 00052 } 00053 00054 return CORBA::Object::is_nil_i (obj); 00055 } |
|
Definition at line 80 of file ORB.i. References CORBA::ORB::_nil(), and ORB_ptr.
00081 { 00082 return obj == CORBA::ORB::_nil (); 00083 } |
|
|
Definition at line 132 of file Exception.cpp. References CORBA::Exception::_name(), and CORBA::Exception::_rep_id().
|
|
Definition at line 124 of file Exception.cpp. References CORBA::Exception::_name(), and CORBA::Exception::_rep_id().
|
|
Definition at line 1346 of file ORB.cpp. References CORBA::ORB::_duplicate(), CORBA::ORB::_nil(), ACE_Arg_Shifter, ACE_CHECK_RETURN, ACE_CString, ACE_DEBUG, ACE_ENV_ARG_PARAMETER, ACE_ENV_SINGLE_ARG_PARAMETER, ACE_ERROR, ACE_GUARD_RETURN, ACE_NEW_THROW_EX, ACE_TCHAR, ACE_TEXT, ACE_TEXT_ALWAYS_CHAR, ACE_TEXT_CHAR_TO_TCHAR, ACE_THROW_RETURN, ACE_TRY_ENV, TAO_ORB_Core_Auto_Ptr::get(), ACE_Argv_Type_Converter::get_argc(), ACE_Argv_Type_Converter::get_ASCII_argv(), ACE_Argv_Type_Converter::get_TCHAR_argv(), TAO_Singleton_Manager::init(), TAO::ORB::init_orb_globals(), TAO::ORB_Table::instance(), TAO_Singleton_Manager::instance(), LM_DEBUG, LM_ERROR, TAO::ORB::open_services(), TAO_ORB_Core::orbinitializer_registry(), TAO::ORBInitializer_Registry_Adapter::post_init(), TAO::ORBInitializer_Registry_Adapter::pre_init(), TAO_ORB_Core_Auto_Ptr::reset(), PortableInterceptor::SlotId, ACE_OS::strcasecmp(), ACE_OS::strlen(), ACE_OS::strncasecmp(), TAO_debug_level, TAO_ORB_CORE_INIT_LOCATION_CODE, and TAO_SYNCH_RECURSIVE_MUTEX.
01350 { 01351 // This ugly macro will go away once we've merged the two ORB_init's. 01352 ACE_UNUSED_ARG(ACE_TRY_ENV); // FUZZ: ignore check_for_ace_check 01353 01354 // Use this string variable to hold the orbid 01355 ACE_CString orbid_string (orbid); 01356 01357 // Copy command line parameter not to use original. 01358 ACE_Argv_Type_Converter command_line(argc, argv); 01359 01360 { 01361 // Using ACE_Static_Object_Lock::instance() precludes ORB_init() 01362 // from being called within a static object CTOR. 01363 ACE_MT (ACE_GUARD_RETURN (TAO_SYNCH_RECURSIVE_MUTEX, 01364 guard, 01365 *ACE_Static_Object_Lock::instance (), 01366 CORBA::ORB::_nil ())); 01367 01368 // Make sure TAO's singleton manager is initialized. 01369 // We need to initialize before TAO_default_environment() is called 01370 // since that call instantiates a TAO_TSS_Singleton. 01371 if (TAO_Singleton_Manager::instance ()->init () == -1) 01372 { 01373 return CORBA::ORB::_nil (); 01374 } 01375 01376 TAO::ORB::init_orb_globals (ACE_ENV_SINGLE_ARG_PARAMETER); 01377 ACE_CHECK_RETURN (CORBA::ORB::_nil ()); 01378 } 01379 01380 // Make sure the following is done after the global ORB 01381 // initialization since we need to have exceptions initialized. 01382 01383 // It doesn't make sense for argc to be zero and argv to be 01384 // non-empty/zero, or for argc to be greater than zero and argv be 01385 // zero. 01386 const size_t argv0_len = 01387 (command_line.get_TCHAR_argv () 01388 ? (*command_line.get_TCHAR_argv () 01389 ? ACE_OS::strlen (*command_line.get_TCHAR_argv ()) 01390 : 0) 01391 : 0); 01392 01393 if ((command_line.get_argc () == 0 && argv0_len != 0) 01394 || (command_line.get_argc () != 0 01395 && (command_line.get_TCHAR_argv () == 0 01396 || command_line.get_TCHAR_argv ()[0] == 0))) 01397 { 01398 ACE_THROW_RETURN (CORBA::BAD_PARAM ( 01399 CORBA::SystemException::_tao_minor_code ( 01400 0, 01401 EINVAL), 01402 CORBA::COMPLETED_NO), 01403 CORBA::ORB::_nil ()); 01404 } 01405 01406 01407 01408 if (orbid_string.length () == 0) 01409 { 01410 ACE_Arg_Shifter arg_shifter (command_line.get_argc (), 01411 command_line.get_TCHAR_argv ()); 01412 01413 while (arg_shifter.is_anything_left ()) 01414 { 01415 const ACE_TCHAR *current_arg = arg_shifter.get_current (); 01416 01417 static const ACE_TCHAR orbid_opt[] = ACE_TEXT ("-ORBid"); 01418 size_t orbid_len = ACE_OS::strlen (orbid_opt); 01419 if (ACE_OS::strcasecmp (current_arg, 01420 orbid_opt) == 0) 01421 { 01422 arg_shifter.consume_arg (); 01423 if (arg_shifter.is_parameter_next ()) 01424 { 01425 orbid_string = 01426 ACE_TEXT_ALWAYS_CHAR (arg_shifter.get_current ()); 01427 arg_shifter.consume_arg (); 01428 } 01429 } 01430 else if (ACE_OS::strncasecmp (current_arg, orbid_opt, 01431 orbid_len) == 0) 01432 { 01433 arg_shifter.consume_arg (); 01434 // The rest of the argument is the ORB id... 01435 // but we should skip an optional space... 01436 if (current_arg[orbid_len] == ' ') 01437 orbid_string = 01438 ACE_TEXT_ALWAYS_CHAR (current_arg + orbid_len + 1); 01439 else 01440 orbid_string = ACE_TEXT_ALWAYS_CHAR (current_arg + orbid_len); 01441 } 01442 else 01443 arg_shifter.ignore_arg (); 01444 } 01445 } 01446 01447 // Get ORB Core 01448 TAO_ORB_Core_Auto_Ptr oc ( 01449 TAO::ORB_Table::instance ()->find (orbid_string.c_str ())); 01450 01451 // The ORB was already initialized. Just return that one. 01452 if (oc.get () != 0) 01453 { 01454 return CORBA::ORB::_duplicate (oc->orb ()); 01455 } 01456 else 01457 { 01458 // An ORB corresponding to the desired ORBid doesn't exist so create 01459 // a new one. 01460 TAO_ORB_Core * tmp = 0; 01461 ACE_NEW_THROW_EX (tmp, 01462 TAO_ORB_Core (orbid_string.c_str ()), 01463 CORBA::NO_MEMORY ( 01464 CORBA::SystemException::_tao_minor_code (0, 01465 ENOMEM), 01466 CORBA::COMPLETED_NO)); 01467 ACE_CHECK_RETURN (CORBA::ORB::_nil ()); 01468 01469 // The ORB table increases the reference count on the ORB Core 01470 // so do not release it here. Allow the TAO_ORB_Core_Auto_Ptr 01471 // to decrease the reference count on the ORB Core when it goes 01472 // out of scope. 01473 oc.reset (tmp); 01474 } 01475 01476 01477 // Having the ORB's default static services be shared among all ORBs 01478 // is tempting from the point of view of reducing the dynamic 01479 // footprint. However, if the ORB in a DLL and the rest of that 01480 // application most likely neither cares, nor wishes to know about 01481 // them. Furthermore, if the ORB DLL gets unloaded, the static 01482 // services it had registered globaly will no longer be accesible, 01483 // which will have disastrous consequences at the process 01484 // shutdown. Hence, the ACE_Service_Config_Guard ensures that for 01485 // the current thread, any references to the global 01486 // ACE_Service_Config will be forwarded to the ORB's. 01487 01488 // Making sure the initialization process in the current thread uses 01489 // the correct service repository (ours), instead of the global one. 01490 ACE_Service_Config_Guard scg (oc->configuration ()); 01491 01492 /* 01493 * Currently I choose to make the ORB an owner of its configuration, 01494 * which in general is not quite correct because it is very common ORBs to 01495 * need to share the same configuration. 01496 */ 01497 01498 // Initialize the Service Configurator. This must occur before the 01499 // ORBInitializer::pre_init() method is invoked on each registered 01500 // ORB initializer. 01501 int result = TAO::ORB::open_services (oc->configuration (), 01502 command_line.get_argc (), 01503 command_line.get_TCHAR_argv ()); 01504 01505 // Check for errors returned from <TAO_Internal::open_services>. 01506 if (result != 0 && errno != ENOENT) 01507 { 01508 ACE_ERROR ((LM_ERROR, 01509 ACE_TEXT ("(%P|%t) %p\n"), 01510 ACE_TEXT ("Unable to initialize the ") 01511 ACE_TEXT ("Service Configurator"))); 01512 ACE_THROW_RETURN (CORBA::INITIALIZE ( 01513 CORBA::SystemException::_tao_minor_code ( 01514 TAO_ORB_CORE_INIT_LOCATION_CODE, 01515 0), 01516 CORBA::COMPLETED_NO), 01517 CORBA::ORB::_nil ()); 01518 } 01519 01520 TAO::ORBInitializer_Registry_Adapter * orbinitializer_registry = 01521 oc.get ()->orbinitializer_registry (); 01522 01523 PortableInterceptor::SlotId slotid = 0; 01524 size_t pre_init_count = 0; 01525 01526 if (orbinitializer_registry != 0) 01527 { 01528 pre_init_count = 01529 orbinitializer_registry->pre_init (oc.get (), 01530 command_line.get_argc(), 01531 command_line.get_ASCII_argv(), 01532 slotid 01533 ACE_ENV_ARG_PARAMETER); 01534 ACE_CHECK_RETURN (CORBA::ORB::_nil ()); 01535 } 01536 01537 // Initialize the ORB Core instance. 01538 result = oc->init (command_line.get_argc(), 01539 command_line.get_ASCII_argv() 01540 ACE_ENV_ARG_PARAMETER); 01541 ACE_CHECK_RETURN (CORBA::ORB::_nil ()); 01542 01543 if (orbinitializer_registry != 0) 01544 { 01545 01546 orbinitializer_registry->post_init (pre_init_count, 01547 oc.get (), 01548 command_line.get_argc(), 01549 command_line.get_ASCII_argv(), 01550 slotid 01551 ACE_ENV_ARG_PARAMETER); 01552 ACE_CHECK_RETURN (CORBA::ORB::_nil ()); 01553 } 01554 01555 if (TAO_debug_level > 2) 01556 { 01557 ACE_DEBUG ((LM_DEBUG, 01558 ACE_TEXT("TAO (%P|%t) created new ORB <%s>\n"), 01559 ACE_TEXT_CHAR_TO_TCHAR (orbid_string.c_str ()))); 01560 } 01561 01562 // Before returning remember to store the ORB into the table... 01563 if (TAO::ORB_Table::instance ()->bind (orbid_string.c_str (), 01564 oc.get ()) != 0) 01565 ACE_THROW_RETURN (CORBA::INTERNAL (0, 01566 CORBA::COMPLETED_NO), 01567 CORBA::ORB::_nil ()); 01568 01569 // Return a duplicate since the ORB_Core should release the last 01570 // reference to the ORB. 01571 return CORBA::ORB::_duplicate (oc->orb ()); 01572 } |
|
Definition at line 1335 of file ORB.cpp. References TAO_default_environment(). Referenced by TAO_ORB_Core_instance().
01338 { 01339 return CORBA::ORB_init (argc, 01340 argv, 01341 orb_name, 01342 TAO_default_environment ()); 01343 } |
|
Definition at line 28 of file Principal.i. References CORBA::Principal::_decr_refcnt(), and Principal_ptr.
00029 { 00030 if (principal) 00031 { 00032 principal->_decr_refcnt (); 00033 } 00034 } |
|
Definition at line 37 of file Object.i. References CORBA::Object::_remove_ref(), and Object_ptr.
00038 { 00039 if (obj) 00040 { 00041 obj->_remove_ref (); 00042 } 00043 } |
|
Definition at line 86 of file ORB.i. References CORBA::ORB::_decr_refcnt(), is_nil(), and ORB_ptr.
00087 { 00088 if (!CORBA::is_nil (obj)) 00089 obj->_decr_refcnt (); 00090 } |
|
Definition at line 17 of file Environment.i. References Environment_ptr. Referenced by TAO_ORB_Core::shutdown().
00018 {
00019 delete env;
00020 }
|
|
Definition at line 42 of file String_Alloc.cpp. References ACE_NEW_RETURN. Referenced by TAO::details::string_traits_base< char >::allocate(), TAO::ObjectKey::encode_sequence_to_string(), TAO_MCAST_Parser::multicast_query(), operator>>(), TAO_IIOP_Profile::parse_string_i(), CORBA::ORB::resolve_initial_references(), string_dup(), and TAO_IIOP_Profile::to_string().
00043 { 00044 // Allocate 1 + strlen to accomodate the null terminating character. 00045 char *s = 0; 00046 ACE_NEW_RETURN (s, 00047 char[size_t (len + 1)], 00048 0); 00049 00050 s[0]= '\0'; 00051 00052 return s; 00053 } |
|
|
Definition at line 56 of file String_Alloc.cpp. Referenced by TAO::details::string_traits_base< char >::release(), TAO_Default_Resource_Factory::~TAO_Default_Resource_Factory(), and TAO_IIOP_Acceptor::~TAO_IIOP_Acceptor().
00057 {
00058 delete [] str;
00059 }
|
|
Definition at line 86 of file String_Alloc.cpp. References ACE_NEW_RETURN. Referenced by TAO::details::string_traits_base< CORBA::WChar >::allocate(), and operator>>().
00087 { 00088 CORBA::WChar *s = 0; 00089 ACE_NEW_RETURN (s, 00090 CORBA::WChar [(size_t) (len + 1)], 00091 0); 00092 00093 return s; 00094 } |
|
Referenced by TAO::details::string_traits_base< CORBA::WChar >::default_initializer(), and TAO::details::string_traits_base< CORBA::WChar >::duplicate(). |
|
Definition at line 97 of file String_Alloc.cpp. Referenced by TAO::details::string_traits_base< CORBA::WChar >::release().
00098 {
00099 delete [] str;
00100 }
|
|
|
|
|
|
|
|
The OMG Vendor Minor Codeset ID (VMCID). This number is reserved by the OMG as a prefix to all the standard system exception minor codes. Check the CORBA/IIOP specification for details.
OMG defined system exception minor codes should be logically OR-ed with this constant when passing such minor codes to a
*NOT* as:
Definition at line 56 of file ORB_Constants.h. |
|
Definition at line 42 of file Policy_Forward.pidl. |
|
|
|
Definition at line 143 of file ServicesC.h. |
|
|
|
|