FUZZ: disable check_for_include/. More...
FUZZ: disable check_for_include/.
| typedef AbstractBase* CORBA::AbstractBase_ptr |
Definition at line 33 of file Valuetype_Adapter.h.
| typedef Any* CORBA::Any_ptr |
Definition at line 59 of file Exception.h.
| typedef ACE_CDR::Boolean CORBA::Boolean |
Definition at line 42 of file Basic_Types.h.
| typedef Boolean& CORBA::Boolean_out |
Definition at line 43 of file Basic_Types.h.
| typedef ACE_CDR::Char CORBA::Char |
Definition at line 75 of file Basic_Types.h.
| typedef Char& CORBA::Char_out |
Definition at line 76 of file Basic_Types.h.
| typedef Context * CORBA::Context_ptr |
Definition at line 48 of file Dynamic_Adapter.h.
| typedef ContextList * CORBA::ContextList_ptr |
| typedef ACE_CDR::Double CORBA::Double |
Definition at line 69 of file Basic_Types.h.
| typedef Double& CORBA::Double_out |
Definition at line 70 of file Basic_Types.h.
Definition at line 46 of file Environment.h.
| typedef Environment * CORBA::Environment_ptr |
Definition at line 40 of file CORBA_methods.h.
Definition at line 45 of file Environment.h.
| typedef ExceptionList * CORBA::ExceptionList_ptr |
Definition at line 42 of file Dynamic_Adapter.h.
| typedef ULong CORBA::Flags |
Definition at line 54 of file Dynamic_Adapter.h.
| typedef ACE_CDR::Float CORBA::Float |
Definition at line 66 of file Basic_Types.h.
| typedef Float& CORBA::Float_out |
Definition at line 67 of file Basic_Types.h.
| typedef InterfaceDef * CORBA::InterfaceDef_ptr |
Definition at line 42 of file Abstract_Servant_Base.h.
Definition at line 41 of file LocalObject.h.
| typedef LocalObject* CORBA::LocalObject_ptr |
Definition at line 38 of file LocalObject.h.
Definition at line 40 of file LocalObject.h.
| typedef ACE_CDR::Long CORBA::Long |
Definition at line 54 of file Basic_Types.h.
| typedef Long& CORBA::Long_out |
Definition at line 55 of file Basic_Types.h.
| typedef ACE_CDR::LongDouble CORBA::LongDouble |
Definition at line 72 of file Basic_Types.h.
| typedef LongDouble& CORBA::LongDouble_out |
Definition at line 73 of file Basic_Types.h.
| typedef ACE_CDR::LongLong CORBA::LongLong |
Definition at line 60 of file Basic_Types.h.
| typedef LongLong& CORBA::LongLong_out |
Definition at line 61 of file Basic_Types.h.
| typedef NamedValue * CORBA::NamedValue_ptr |
Definition at line 39 of file Dynamic_Adapter.h.
| typedef NVList * CORBA::NVList_ptr |
Definition at line 36 of file Dynamic_Adapter.h.
| typedef TAO_Pseudo_Out_T< Object > CORBA::Object_out |
Definition at line 48 of file Abstract_Servant_Base.h.
| typedef Object * CORBA::Object_ptr |
Definition at line 45 of file Abstract_Servant_Base.h.
| typedef TAO_Pseudo_Var_T< Object > CORBA::Object_var |
Definition at line 47 of file Abstract_Servant_Base.h.
| typedef ACE_CDR::Octet CORBA::Octet |
Definition at line 45 of file Basic_Types.h.
| typedef Octet& CORBA::Octet_out |
Definition at line 46 of file Basic_Types.h.
| typedef OperationDef * CORBA::OperationDef_ptr |
Definition at line 49 of file CORBA_methods.h.
| typedef TAO_Seq_Out_T< ORB_ObjectIdList > CORBA::ORB_ObjectIdList_out |
| typedef TAO_VarSeq_Var_T< ORB_ObjectIdList > CORBA::ORB_ObjectIdList_var |
| typedef TAO_Pseudo_Out_T<ORB> CORBA::ORB_out |
| typedef ORB * CORBA::ORB_ptr |
Definition at line 37 of file CORBA_methods.h.
| typedef TAO_Pseudo_Var_T<ORB> CORBA::ORB_var |
| typedef TAO_Objref_Out_T< Policy > CORBA::Policy_out |
Definition at line 58 of file PolicyC.cpp.
| typedef Policy * CORBA::Policy_ptr |
Definition at line 39 of file AnyTypeCode_Adapter.h.
| typedef TAO_Objref_Var_T< Policy > CORBA::Policy_var |
Definition at line 57 of file PolicyC.cpp.
| typedef CORBA::Short CORBA::PolicyErrorCode |
| typedef ULong CORBA::PolicyType |
Definition at line 42 of file Principal.h.
| typedef Principal * CORBA::Principal_ptr |
Definition at line 46 of file CORBA_methods.h.
Definition at line 41 of file Principal.h.
| typedef TAO_Pseudo_Out_T<Request> CORBA::Request_out |
| typedef Request * CORBA::Request_ptr |
Definition at line 45 of file Dynamic_Adapter.h.
| typedef TAO_Pseudo_Var_T<Request> CORBA::Request_var |
| typedef TAO::unbounded_object_reference_sequence< CORBA::Request, CORBA::Request_var > CORBA::RequestSeq |
| typedef TAO_Seq_Out_T< RequestSeq > CORBA::RequestSeq_out |
| typedef TAO_VarSeq_Var_T< RequestSeq > CORBA::RequestSeq_var |
| typedef ServerRequest* CORBA::ServerRequest_ptr |
Definition at line 51 of file Dynamic_Adapter.h.
| typedef UShort CORBA::ServiceType |
| typedef ACE_CDR::Short CORBA::Short |
Definition at line 48 of file Basic_Types.h.
| typedef Short& CORBA::Short_out |
Definition at line 49 of file Basic_Types.h.
| typedef TAO::String_out< char > CORBA::String_out |
Definition at line 83 of file Basic_Types.h.
| typedef TAO::String_var< char > CORBA::String_var |
Definition at line 82 of file Basic_Types.h.
| typedef TCKind& CORBA::TCKind_out |
Definition at line 115 of file Typecode_typesC.h.
| typedef TAO_Pseudo_Out_T<TypeCode> CORBA::TypeCode_out |
Definition at line 41 of file TypeCodeFactory_Adapter.h.
| typedef TypeCode * CORBA::TypeCode_ptr |
Definition at line 34 of file AnyTypeCode_Adapter.h.
| typedef TAO_Pseudo_Var_T<TypeCode> CORBA::TypeCode_var |
Definition at line 38 of file TypeCodeFactory_Adapter.h.
| typedef ACE_CDR::ULong CORBA::ULong |
Definition at line 57 of file Basic_Types.h.
| typedef ULong& CORBA::ULong_out |
Definition at line 58 of file Basic_Types.h.
| typedef ACE_CDR::ULongLong CORBA::ULongLong |
Definition at line 63 of file Basic_Types.h.
| typedef ULongLong& CORBA::ULongLong_out |
Definition at line 64 of file Basic_Types.h.
| typedef ACE_CDR::UShort CORBA::UShort |
Definition at line 51 of file Basic_Types.h.
| typedef UShort& CORBA::UShort_out |
Definition at line 52 of file Basic_Types.h.
| typedef ValueFactoryBase * CORBA::ValueFactory |
| typedef CORBA::Short CORBA::ValueModifier |
| typedef ACE_CDR::WChar CORBA::WChar |
Definition at line 78 of file Basic_Types.h.
| typedef WChar& CORBA::WChar_out |
Definition at line 79 of file Basic_Types.h.
| typedef TAO::String_out< CORBA::WChar > CORBA::WString_out |
Definition at line 85 of file Basic_Types.h.
| typedef TAO::String_var< CORBA::WChar > CORBA::WString_var |
Definition at line 84 of file Basic_Types.h.
Completion status for CORBA system exceptions.
Enumerations that denote how an operation was (not) completed when a CORBA::SystemException is thrown.
| COMPLETED_YES |
Successful or exceptional completion. |
| COMPLETED_NO |
Didn't change any state; retry is OK. |
| COMPLETED_MAYBE |
Can't say what happened; retry unsafe. |
Definition at line 77 of file SystemException.h.
00078 { 00079 COMPLETED_YES, ///< Successful or exceptional completion. 00080 COMPLETED_NO, ///< Didn't change any state; retry is OK. 00081 COMPLETED_MAYBE ///< Can't say what happened; retry unsafe. 00082 };
| NO_EXCEPTION | |
| USER_EXCEPTION | |
| SYSTEM_EXCEPTION | |
| NO_EXCEPTION | |
| USER_EXCEPTION | |
| SYSTEM_EXCEPTION |
Definition at line 54 of file orb.idl.
00055 { 00056 NO_EXCEPTION, 00057 USER_EXCEPTION, 00058 SYSTEM_EXCEPTION 00059 };
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.
| NO_EXCEPTION | |
| USER_EXCEPTION | |
| SYSTEM_EXCEPTION | |
| NO_EXCEPTION | |
| USER_EXCEPTION | |
| SYSTEM_EXCEPTION |
Definition at line 73 of file Exception.h.
00074 { 00075 NO_EXCEPTION, 00076 USER_EXCEPTION, 00077 SYSTEM_EXCEPTION 00078 };
| enum CORBA::TCKind |
Definition at line 69 of file Typecode_typesC.h.
00070 { 00071 tk_null, 00072 tk_void, 00073 tk_short, 00074 tk_long, 00075 tk_ushort, 00076 tk_ulong, 00077 tk_float, 00078 tk_double, 00079 tk_boolean, 00080 tk_char, 00081 tk_octet, 00082 tk_any, 00083 tk_TypeCode, 00084 tk_Principal, 00085 tk_objref, 00086 tk_struct, 00087 tk_union, 00088 tk_enum, 00089 tk_string, 00090 tk_sequence, 00091 tk_array, 00092 tk_alias, 00093 tk_except, 00094 tk_longlong, 00095 tk_ulonglong, 00096 tk_longdouble, 00097 tk_wchar, 00098 tk_wstring, 00099 tk_fixed, 00100 tk_value, 00101 tk_value_box, 00102 tk_native, 00103 tk_abstract_interface, 00104 tk_local_interface, 00105 tk_component, 00106 tk_home, 00107 tk_event 00108 00109 // This symbol is not defined by CORBA 3.0. It's used to speed up 00110 // dispatch based on TCKind values, and lets many important ones 00111 // just be table lookups. It must always be the last enum value!! 00112 , TAO_TC_KIND_COUNT 00113 };
| CORBA::Boolean CORBA::is_nil | ( | CORBA::Principal_ptr | principal | ) |
Definition at line 9 of file Principal.inl.
| CORBA::Boolean CORBA::is_nil | ( | CORBA::Object_ptr | obj | ) |
Definition at line 46 of file Object.inl.
00047 { 00048 if (obj == 0) 00049 { 00050 return true; 00051 } 00052 00053 return CORBA::Object::is_nil_i (obj); 00054 }
| CORBA::Boolean CORBA::is_nil | ( | CORBA::ORB_ptr | obj | ) |
Definition at line 91 of file ORB.inl.
00092 { 00093 return obj == CORBA::ORB::_nil (); 00094 }
| CORBA::Boolean CORBA::is_nil | ( | CORBA::Environment_ptr | env | ) |
Definition at line 12 of file Environment.inl.
| TAO_Export ACE_OSTREAM_TYPE & CORBA::operator<< | ( | ACE_OSTREAM_TYPE & | os, | |
| const CORBA::Exception * | e | |||
| ) |
| TAO_Export ACE_OSTREAM_TYPE & CORBA::operator<< | ( | ACE_OSTREAM_TYPE & | os, | |
| const CORBA::Exception & | e | |||
| ) |
| TAO_Export ORB_ptr CORBA::ORB_init | ( | int & | argc, | |
| wchar_t * | argv[], | |||
| const wchar_t * | orb_name | |||
| ) |
| TAO_Export ORB_ptr CORBA::ORB_init | ( | int & | argc, | |
| wchar_t * | argv[], | |||
| const char * | orb_name = 0 | |||
| ) |
| CORBA::ORB_ptr CORBA::ORB_init | ( | int & | argc, | |
| char * | argv[], | |||
| const char * | orb_name = 0 | |||
| ) |
ORB Initialization
Definition at line 1232 of file ORB.cpp.
01233 { 01234 // It doesn't make sense for argc to be zero and argv to be 01235 // non-empty/zero, or for argc to be greater than zero and argv be 01236 // zero. 01237 size_t const argv0_len = (argv ? (*argv 01238 ? ACE_OS::strlen (*argv) 01239 : 0) 01240 : 0); 01241 01242 if ((argc == 0 && argv0_len != 0) 01243 || (argc != 0 && (argv == 0 || argv[0] == 0))) 01244 { 01245 throw ::CORBA::BAD_PARAM ( 01246 CORBA::SystemException::_tao_minor_code ( 01247 0, 01248 EINVAL), 01249 CORBA::COMPLETED_NO); 01250 } 01251 01252 // Scan the parameters to find any we could interpret to 01253 // use for initializing the global context. Note that if 01254 // the global context has been initialized already, the 01255 // parameters may either be ignored, or later used to initialize 01256 // a local configuration context. The chosen action depends on 01257 // weather we want the ORB to share the global context or 01258 // have its own, private (or local) context. 01259 if (TAO::ORB::open_global_services (argc, argv) == -1) 01260 { 01261 return CORBA::ORB::_nil (); 01262 } 01263 01264 // Copy command line parameter not to corrupt the original. 01265 ACE_Argv_Type_Converter command_line (argc, argv); 01266 01267 // Make sure the following is done after the global ORB 01268 // initialization since we need to have exceptions initialized. 01269 01270 // Use this string variable to hold the orbid 01271 ACE_TString orbid_string (ACE_TEXT_CHAR_TO_TCHAR(orbid)); 01272 TAO::parse_orb_opt (command_line, ACE_TEXT("-ORBid"), orbid_string); 01273 01274 // Get ORB Core 01275 TAO_ORB_Core_Auto_Ptr oc (TAO::ORB_Table::instance ()->find ( 01276 ACE_TEXT_ALWAYS_CHAR(orbid_string.c_str ()))); 01277 01278 // The ORB was already initialized. Just return that one. 01279 if (oc.get () != 0) 01280 { 01281 return CORBA::ORB::_duplicate (oc->orb ()); 01282 } 01283 01284 // Determine the service object registry this ORB will use. The choises 01285 // are: (a) the legacy (global); (b) its own, local, or (c) share somebody 01286 // else's configuration. By default use the process-wide (global) context 01287 // Use this string variable to hold the configuration identity key 01288 ACE_TString orbconfig_string; 01289 TAO::parse_orb_opt (command_line, ACE_TEXT("-ORBGestalt"), orbconfig_string); 01290 ACE_Intrusive_Auto_Ptr<ACE_Service_Gestalt> gestalt = TAO::find_orb_context (orbconfig_string); 01291 01292 // An ORB corresponding to the desired ORBid doesn't exist so create 01293 // a new one. 01294 TAO_ORB_Core * tmp = 0; 01295 ACE_NEW_THROW_EX (tmp, 01296 TAO_ORB_Core (ACE_TEXT_ALWAYS_CHAR(orbid_string.c_str ()), 01297 gestalt), 01298 CORBA::NO_MEMORY ( 01299 CORBA::SystemException::_tao_minor_code (0, 01300 ENOMEM), 01301 CORBA::COMPLETED_NO)); 01302 01303 // The ORB table increases the reference count on the ORB Core 01304 // so do not release it here. Allow the TAO_ORB_Core_Auto_Ptr 01305 // to decrease the reference count on the ORB Core when it goes 01306 // out of scope. 01307 oc.reset (tmp); 01308 01309 // Having the ORB's default static services be shared among all ORBs 01310 // is tempting from the point of view of reducing the dynamic 01311 // footprint. However, if the ORB in a DLL and the rest of that 01312 // application most likely neither cares, nor wishes to know about 01313 // them. Furthermore, if the ORB DLL gets unloaded, the static 01314 // services it had registered globaly will no longer be accesible, 01315 // which will have disastrous consequences at the process 01316 // shutdown. Hence, the ACE_Service_Config_Guard ensures that for 01317 // the current thread, any references to the global 01318 // ACE_Service_Config will be re-routed to this ORB's service gestalt. 01319 01320 ACE_Service_Config_Guard scg (oc->configuration ()); 01321 01322 // Initialize the Service Configurator. This must occur before the 01323 // ORBInitializer::pre_init() method is invoked on each registered 01324 // ORB initializer. 01325 int result = TAO::ORB::open_services (oc->configuration (), 01326 command_line.get_argc (), 01327 command_line.get_TCHAR_argv ()); 01328 01329 // Check for errors returned from <TAO_Internal::open_services>. 01330 if (result != 0 && errno != ENOENT) 01331 { 01332 ACE_ERROR ((LM_ERROR, 01333 ACE_TEXT ("TAO (%P|%t) %p\n"), 01334 ACE_TEXT ("Unable to initialize the ") 01335 ACE_TEXT ("Service Configurator"))); 01336 throw ::CORBA::INITIALIZE ( 01337 CORBA::SystemException::_tao_minor_code ( 01338 TAO_ORB_CORE_INIT_LOCATION_CODE, 01339 0), 01340 CORBA::COMPLETED_NO); 01341 } 01342 01343 TAO::ORBInitializer_Registry_Adapter * orbinitializer_registry = 01344 oc.get ()->orbinitializer_registry (); 01345 01346 PortableInterceptor::SlotId slotid = 0; 01347 size_t pre_init_count = 0; 01348 01349 if (orbinitializer_registry != 0) 01350 { 01351 pre_init_count = 01352 orbinitializer_registry->pre_init (oc.get (), 01353 command_line.get_argc(), 01354 command_line.get_ASCII_argv(), 01355 slotid); 01356 } 01357 01358 // Initialize the ORB Core instance. 01359 result = oc->init (command_line.get_argc(), 01360 command_line.get_ASCII_argv()); 01361 01362 if (orbinitializer_registry != 0) 01363 { 01364 orbinitializer_registry->post_init (pre_init_count, 01365 oc.get (), 01366 command_line.get_argc(), 01367 command_line.get_ASCII_argv(), 01368 slotid); 01369 } 01370 01371 if (TAO_debug_level > 2) 01372 { 01373 ACE_DEBUG ((LM_DEBUG, 01374 ACE_TEXT("TAO (%P|%t) - Created new ORB <%s>\n"), 01375 orbid_string.c_str ())); 01376 } 01377 01378 // Before returning remember to store the ORB into the table... 01379 if (TAO::ORB_Table::instance ()->bind (ACE_TEXT_ALWAYS_CHAR(orbid_string.c_str ()), 01380 oc.get ()) != 0) 01381 throw ::CORBA::INTERNAL (0, CORBA::COMPLETED_NO); 01382 01383 // Return a duplicate since the ORB_Core should release the last 01384 // reference to the ORB. 01385 return CORBA::ORB::_duplicate (oc->orb ()); 01386 }
| void CORBA::release | ( | CORBA::Principal_ptr | principal | ) |
Definition at line 28 of file Principal.inl.
00029 { 00030 if (principal) 00031 { 00032 principal->_decr_refcnt (); 00033 } 00034 }
| void CORBA::release | ( | CORBA::Object_ptr | obj | ) |
Definition at line 36 of file Object.inl.
00037 { 00038 if (obj) 00039 { 00040 obj->_remove_ref (); 00041 } 00042 }
| void CORBA::release | ( | CORBA::ORB_ptr | obj | ) |
Definition at line 97 of file ORB.inl.
00098 { 00099 if (!CORBA::is_nil (obj)) 00100 obj->_decr_refcnt (); 00101 }
| void CORBA::release | ( | CORBA::Environment_ptr | env | ) |
Definition at line 19 of file Environment.inl.
| char * CORBA::string_alloc | ( | CORBA::ULong | len | ) |
Definition at line 40 of file String_Alloc.cpp.
| TAO_Export char* CORBA::string_dup | ( | const char * | ) |
| void CORBA::string_free | ( | char * | str | ) |
Definition at line 54 of file String_Alloc.cpp.
| CORBA::WChar * CORBA::wstring_alloc | ( | CORBA::ULong | len | ) |
Definition at line 83 of file String_Alloc.cpp.
00084 { 00085 CORBA::WChar *s = 0; 00086 ACE_NEW_RETURN (s, 00087 CORBA::WChar [(size_t) (len + 1)], 00088 0); 00089 00090 return s; 00091 }
| CORBA::WChar * CORBA::wstring_dup | ( | const WChar * const | str | ) |
Definition at line 62 of file String_Alloc.cpp.
00063 { 00064 if (!str) 00065 { 00066 errno = EINVAL; 00067 return 0; 00068 } 00069 00070 CORBA::WChar* retval = 00071 CORBA::wstring_alloc (static_cast <CORBA::ULong> (ACE_OS::strlen (str))); 00072 00073 // The wscpy() below assumes that the destination is a valid buffer. 00074 if (retval == 0) 00075 { 00076 return 0; 00077 } 00078 00079 return ACE_OS::wscpy (retval, str); 00080 }
| void CORBA::wstring_free | ( | WChar * const | str | ) |
Definition at line 94 of file String_Alloc.cpp.
| const CORBA::PolicyErrorCode CORBA::BAD_POLICY = 0 |
| const CORBA::PolicyErrorCode CORBA::BAD_POLICY_TYPE = 2 |
| const ULong CORBA::OMGVMCID = 0x4f4d0000U |
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 CORBA::SystemException constructor. For example, throwing a CORBA::BAD_PARAM exception with an OMG defined minor code of 2 is done as follows:
* throw ::CORBA::BAD_PARAM (CORBA::OMGVMCID | 2, CORBA::COMPLETED_NO); *
*NOT* as:
* throw ::CORBA::BAD_PARAM (2, CORBA::COMPLETED_NO); *
Definition at line 56 of file ORB_Constants.h.
1.6.1