TAO  Snapshot(2023/04/28-19:34)
Namespaces | Classes | Typedefs | Enumerations | Functions | Variables
CORBA Namespace Reference

FUZZ: disable check_for_include/. More...

Namespaces

 IDLv4
 

Classes

interface  Current
 
class  Environment
 Environment. More...
 
class  Exception
 Exception. More...
 
exception  InvalidPolicies
 
class  LocalObject
 
struct  NamedValue
 
class  Object
 Implementation of a CORBA object reference. More...
 
class  ORB
 ORB pseudo-object. More...
 
interface  Policy
 
interface  PolicyCurrent
 
exception  PolicyError
 
interface  PolicyManager
 
class  Principal
 A "Principal" identifies an authenticated entity in the network administration framework. More...
 
struct  ServiceDetail
 
struct  ServiceInformation
 
class  SystemException
 SystemException. More...
 
class  UserException
 Application- or OMG- defined CORBA exception sub-class. More...
 
class  WrongTransaction
 UserException for DII requests. More...
 

Typedefs

typedef InterfaceDef * InterfaceDef_ptr
 
typedef ObjectObject_ptr
 
typedef TAO_Pseudo_Var_T< ObjectObject_var
 
typedef TAO_Pseudo_Out_T< ObjectObject_out
 
typedef TypeCode * TypeCode_ptr
 
typedef PolicyPolicy_ptr
 
typedef TAO::String_var< CORBA::CharString_var
 
typedef TAO::String_out< CORBA::CharString_out
 
typedef TAO::String_var< CORBA::WCharWString_var
 
typedef TAO::String_out< CORBA::WCharWString_out
 
typedef sequence< boolean > BooleanSeq
 
typedef sequence< char > CharSeq
 
typedef ORBORB_ptr
 
typedef sequence< double > DoubleSeq
 
typedef NVList * NVList_ptr
 
typedef NamedValueNamedValue_ptr
 
typedef ExceptionList * ExceptionList_ptr
 
typedef Request * Request_ptr
 
typedef Context * Context_ptr
 
typedef ServerRequest * ServerRequest_ptr
 
typedef ULong Flags
 
typedef EnvironmentEnvironment_ptr
 
typedef TAO_Pseudo_Var_T< EnvironmentEnvironment_var
 
typedef TAO_Pseudo_Out_T< EnvironmentEnvironment_out
 
typedef Any * Any_ptr
 
typedef sequence< float > FloatSeq
 
typedef OperationDef * OperationDef_ptr
 
typedef sequence< int8 > Int8Seq
 
typedef LocalObjectLocalObject_ptr
 
typedef TAO_Pseudo_Var_T< LocalObjectLocalObject_var
 
typedef TAO_Pseudo_Out_T< LocalObjectLocalObject_out
 
typedef sequence< long double > LongDoubleSeq
 
typedef sequence< long long > LongLongSeq
 
typedef sequence< long > LongSeq
 
typedef ContextList * ContextList_ptr
 
typedef string ORB_ObjectId
 
typedef sequence< ORB_ObjectIdORB_ObjectIdList
 
typedef sequence< octet > OctetSeq
 
typedef CORBA::ULong PolicyType
 
typedef TAO_VarSeq_Var_T< ORB_ObjectIdListORB_ObjectIdList_var
 
typedef TAO_Seq_Out_T< ORB_ObjectIdListORB_ObjectIdList_out
 
typedef ValueFactoryBase * ValueFactory
 
typedef UShort ServiceType
 
typedef TAO_Pseudo_Var_T< Request > Request_var
 
typedef TAO_Pseudo_Out_T< Request > Request_out
 
typedef TAO_Pseudo_Var_T< ORBORB_var
 
typedef TAO_Pseudo_Out_T< ORBORB_out
 
typedef CORBA::Short ValueModifier
 
typedef TAO::unbounded_object_reference_sequence< CORBA::Request, CORBA::Request_varRequestSeq
 
typedef TAO_VarSeq_Var_T< RequestSeqRequestSeq_var
 
typedef TAO_Seq_Out_T< RequestSeqRequestSeq_out
 
typedef string ORBid
 
typedef string Identifier
 
typedef string RepositoryId
 
typedef short PolicyErrorCode
 
typedef sequence< PolicyPolicyList
 
typedef sequence< PolicyTypePolicyTypeSeq
 
typedef PrincipalPrincipal_ptr
 
typedef TAO_Pseudo_Var_T< PrincipalPrincipal_var
 
typedef TAO_Pseudo_Out_T< PrincipalPrincipal_out
 
typedef unsigned long ServiceOption
 
typedef unsigned long ServiceDetailType
 
typedef OctetSeq ServiceDetailData
 
typedef sequence< ServiceOptionServiceOptionSeq
 
typedef sequence< ServiceDetailServiceDetailSeq
 
typedef sequence< short > ShortSeq
 
typedef sequence< string > StringSeq
 
typedef TCKindTCKind_out
 
typedef TAO_Pseudo_Var_T< TypeCode > TypeCode_var
 
typedef TAO_Pseudo_Out_T< TypeCode > TypeCode_out
 
typedef sequence< uint8 > UInt8Seq
 
typedef sequence< unsigned long long > ULongLongSeq
 
typedef sequence< unsigned long > ULongSeq
 
typedef sequence< unsigned short > UShortSeq
 
typedef AbstractBase * AbstractBase_ptr
 
typedef sequence< wchar > WCharSeq
 
typedef sequence< wstring > WStringSeq
 
CORBA Primitive Types

Declarations of all CORBA primitive types.

typedef ACE_CDR::Boolean Boolean
 
typedef BooleanBoolean_out
 
typedef ACE_CDR::Octet Octet
 
typedef OctetOctet_out
 
typedef ACE_CDR::Short Short
 
typedef ShortShort_out
 
typedef ACE_CDR::UShort UShort
 
typedef UShortUShort_out
 
typedef ACE_CDR::Long Long
 
typedef LongLong_out
 
typedef ACE_CDR::ULong ULong
 
typedef ULongULong_out
 
typedef ACE_CDR::LongLong LongLong
 
typedef LongLongLongLong_out
 
typedef ACE_CDR::ULongLong ULongLong
 
typedef ULongLongULongLong_out
 
typedef ACE_CDR::Float Float
 
typedef FloatFloat_out
 
typedef ACE_CDR::Double Double
 
typedef DoubleDouble_out
 
typedef ACE_CDR::LongDouble LongDouble
 
typedef LongDoubleLongDouble_out
 
typedef ACE_CDR::Char Char
 
typedef CharChar_out
 
typedef ACE_CDR::WChar WChar
 
typedef WCharWChar_out
 
typedef ACE_CDR::Int16 Int16
 
typedef Int16Int16_out
 
typedef ACE_CDR::UInt16 UInt16
 
typedef UInt16UInt16_out
 
typedef ACE_CDR::Int32 Int32
 
typedef Int32Int32_out
 
typedef ACE_CDR::UInt32 UInt32
 
typedef UInt32UInt32_out
 
typedef ACE_CDR::Int64 Int64
 
typedef Int64Int64_out
 
typedef ACE_CDR::UInt64 UInt64
 
typedef UInt64UInt64_out
 

Enumerations

enum  exception_type {
  NO_EXCEPTION, USER_EXCEPTION, SYSTEM_EXCEPTION, NO_EXCEPTION,
  USER_EXCEPTION, SYSTEM_EXCEPTION
}
 Enumeration used to identify the type of CORBA exception. More...
 
enum  exception_type {
  NO_EXCEPTION, USER_EXCEPTION, SYSTEM_EXCEPTION, NO_EXCEPTION,
  USER_EXCEPTION, SYSTEM_EXCEPTION
}
 
enum  ParameterMode { PARAM_IN, PARAM_OUT, PARAM_INOUT }
 
enum  SetOverrideType { SET_OVERRIDE, ADD_OVERRIDE }
 
enum  CompletionStatus { COMPLETED_YES, COMPLETED_NO, COMPLETED_MAYBE }
 Completion status for CORBA system exceptions. More...
 
enum  TCKind {
  tk_null, tk_void, tk_short, tk_long,
  tk_ushort, tk_ulong, tk_float, tk_double,
  tk_boolean, tk_char, tk_octet, tk_any,
  tk_TypeCode, tk_Principal, tk_objref, tk_struct,
  tk_union, tk_enum, tk_string, tk_sequence,
  tk_array, tk_alias, tk_except, tk_longlong,
  tk_ulonglong, tk_longdouble, tk_wchar, tk_wstring,
  tk_fixed, tk_value, tk_value_box, tk_native,
  tk_abstract_interface, tk_local_interface, tk_component, tk_home,
  tk_event, tk_null, tk_void, tk_short,
  tk_long, tk_ushort, tk_ulong, tk_float,
  tk_double, tk_boolean, tk_char, tk_octet,
  tk_any, tk_TypeCode, tk_Principal, tk_objref,
  tk_struct, tk_union, tk_enum, tk_string,
  tk_sequence, tk_array, tk_alias, tk_except,
  tk_longlong, tk_ulonglong, tk_longdouble, tk_wchar,
  tk_wstring, tk_fixed, tk_value, tk_value_box,
  tk_native, tk_abstract_interface, tk_local_interface, tk_component,
  tk_home, tk_event, TAO_TC_KIND_COUNT
}
 
enum  TCKind {
  tk_null, tk_void, tk_short, tk_long,
  tk_ushort, tk_ulong, tk_float, tk_double,
  tk_boolean, tk_char, tk_octet, tk_any,
  tk_TypeCode, tk_Principal, tk_objref, tk_struct,
  tk_union, tk_enum, tk_string, tk_sequence,
  tk_array, tk_alias, tk_except, tk_longlong,
  tk_ulonglong, tk_longdouble, tk_wchar, tk_wstring,
  tk_fixed, tk_value, tk_value_box, tk_native,
  tk_abstract_interface, tk_local_interface, tk_component, tk_home,
  tk_event, tk_null, tk_void, tk_short,
  tk_long, tk_ushort, tk_ulong, tk_float,
  tk_double, tk_boolean, tk_char, tk_octet,
  tk_any, tk_TypeCode, tk_Principal, tk_objref,
  tk_struct, tk_union, tk_enum, tk_string,
  tk_sequence, tk_array, tk_alias, tk_except,
  tk_longlong, tk_ulonglong, tk_longdouble, tk_wchar,
  tk_wstring, tk_fixed, tk_value, tk_value_box,
  tk_native, tk_abstract_interface, tk_local_interface, tk_component,
  tk_home, tk_event, TAO_TC_KIND_COUNT
}
 

Functions

ORB_ptr ORB_init (int &argc, char *argv[], const char *orb_name=0)
 
template<typename T >
Boolean is_nil (T x)
 
template<typename T >
void release (T x)
 
template<>
void release (Environment_ptr env)
 
ACE_OSTREAM_TYPE & operator<< (ACE_OSTREAM_TYPE &os, const CORBA::Exception &e)
 
ACE_OSTREAM_TYPE & operator<< (ACE_OSTREAM_TYPE &os, const CORBA::Exception *e)
 
template<>
Boolean is_nil (Object_ptr)
 
CORBA String Memory Management

CORBA string memory management functions.

char * string_alloc (ULong len)
 
char * string_dup (const char *)
 
void string_free (char *)
 
CORBA Wide String Memory Management

CORBA wide string memory management functions.

WCharwstring_alloc (ULong len)
 
WCharwstring_dup (const WChar *const)
 
void wstring_free (WChar *const)
 

Variables

const ULong OMGVMCID = 0x4f4d0000U
 The OMG Vendor Minor Codeset ID (VMCID). More...
 
const PolicyErrorCode BAD_POLICY = 0
 
const PolicyErrorCode UNSUPPORTED_POLICY = 1
 
const PolicyErrorCode BAD_POLICY_TYPE = 2
 
const PolicyErrorCode BAD_POLICY_VALUE = 3
 
const PolicyErrorCode UNSUPPORTED_POLICY_VALUE = 4
 
const ServiceType Security = 1
 

Detailed Description

FUZZ: disable check_for_include/.

Typedef Documentation

◆ AbstractBase_ptr

typedef AbstractBase* CORBA::AbstractBase_ptr

Definition at line 31 of file Valuetype_Adapter.h.

◆ Any_ptr

typedef Any* CORBA::Any_ptr

Definition at line 57 of file Exception.h.

◆ Boolean

Definition at line 40 of file Basic_Types.h.

◆ Boolean_out

Definition at line 41 of file Basic_Types.h.

◆ BooleanSeq

typedef sequence<boolean> CORBA::BooleanSeq

Definition at line 13 of file BooleanSeq.pidl.

◆ Char

Definition at line 73 of file Basic_Types.h.

◆ Char_out

Definition at line 74 of file Basic_Types.h.

◆ CharSeq

typedef sequence<char> CORBA::CharSeq

Definition at line 14 of file CharSeq.pidl.

◆ Context_ptr

typedef Context * CORBA::Context_ptr

Definition at line 46 of file Dynamic_Adapter.h.

◆ ContextList_ptr

typedef ContextList * CORBA::ContextList_ptr

Definition at line 79 of file Object.h.

◆ Double

Definition at line 67 of file Basic_Types.h.

◆ Double_out

Definition at line 68 of file Basic_Types.h.

◆ DoubleSeq

typedef sequence<double> CORBA::DoubleSeq

Definition at line 9 of file DoubleSeq.pidl.

◆ Environment_out

Definition at line 45 of file Environment.h.

◆ Environment_ptr

Definition at line 42 of file Environment.h.

◆ Environment_var

Definition at line 44 of file Environment.h.

◆ ExceptionList_ptr

typedef ExceptionList * CORBA::ExceptionList_ptr

Definition at line 40 of file Dynamic_Adapter.h.

◆ Flags

typedef unsigned long CORBA::Flags

Definition at line 52 of file Dynamic_Adapter.h.

◆ Float

Definition at line 64 of file Basic_Types.h.

◆ Float_out

Definition at line 65 of file Basic_Types.h.

◆ FloatSeq

typedef sequence<float> CORBA::FloatSeq

Definition at line 9 of file FloatSeq.pidl.

◆ Identifier

typedef string CORBA::Identifier

Definition at line 18 of file orb_types.pidl.

◆ Int16

Definition at line 79 of file Basic_Types.h.

◆ Int16_out

Definition at line 80 of file Basic_Types.h.

◆ Int32

Definition at line 85 of file Basic_Types.h.

◆ Int32_out

Definition at line 86 of file Basic_Types.h.

◆ Int64

Definition at line 91 of file Basic_Types.h.

◆ Int64_out

Definition at line 92 of file Basic_Types.h.

◆ Int8Seq

typedef sequence<int8> CORBA::Int8Seq

Definition at line 8 of file Int8Seq.pidl.

◆ InterfaceDef_ptr

typedef InterfaceDef * CORBA::InterfaceDef_ptr

Definition at line 41 of file Abstract_Servant_Base.h.

◆ LocalObject_out

Definition at line 39 of file LocalObject.h.

◆ LocalObject_ptr

Definition at line 36 of file LocalObject.h.

◆ LocalObject_var

Definition at line 38 of file LocalObject.h.

◆ Long

Definition at line 52 of file Basic_Types.h.

◆ Long_out

Definition at line 53 of file Basic_Types.h.

◆ LongDouble

Definition at line 70 of file Basic_Types.h.

◆ LongDouble_out

Definition at line 71 of file Basic_Types.h.

◆ LongDoubleSeq

typedef sequence<long double> CORBA::LongDoubleSeq

Definition at line 9 of file LongDoubleSeq.pidl.

◆ LongLong

Definition at line 58 of file Basic_Types.h.

◆ LongLong_out

Definition at line 59 of file Basic_Types.h.

◆ LongLongSeq

typedef sequence<long long> CORBA::LongLongSeq

Definition at line 9 of file LongLongSeq.pidl.

◆ LongSeq

typedef sequence<long> CORBA::LongSeq

Definition at line 9 of file LongSeq.pidl.

◆ NamedValue_ptr

Definition at line 37 of file Dynamic_Adapter.h.

◆ NVList_ptr

typedef NVList * CORBA::NVList_ptr

Definition at line 34 of file Dynamic_Adapter.h.

◆ Object_out

Definition at line 47 of file Abstract_Servant_Base.h.

◆ Object_ptr

Definition at line 44 of file Abstract_Servant_Base.h.

◆ Object_var

Definition at line 46 of file Abstract_Servant_Base.h.

◆ Octet

Definition at line 43 of file Basic_Types.h.

◆ Octet_out

Definition at line 44 of file Basic_Types.h.

◆ OctetSeq

typedef sequence<octet> CORBA::OctetSeq

Definition at line 9 of file OctetSeq.pidl.

◆ OperationDef_ptr

typedef OperationDef * CORBA::OperationDef_ptr

Definition at line 41 of file IFR_Client_Adapter.h.

◆ ORB_ObjectId

typedef string CORBA::ORB_ObjectId

Definition at line 15 of file ObjectIdList.pidl.

◆ ORB_ObjectIdList

Definition at line 16 of file ObjectIdList.pidl.

◆ ORB_ObjectIdList_out

Definition at line 114 of file ORB.h.

◆ ORB_ObjectIdList_var

Definition at line 108 of file ORB.h.

◆ ORB_out

Definition at line 129 of file ORB.h.

◆ ORB_ptr

typedef ORB * CORBA::ORB_ptr

Definition at line 30 of file CORBA_methods.h.

◆ ORB_var

Definition at line 128 of file ORB.h.

◆ ORBid

typedef string CORBA::ORBid

Definition at line 16 of file orb_types.pidl.

◆ Policy_ptr

Definition at line 38 of file AnyTypeCode_Adapter.h.

◆ PolicyErrorCode

typedef short CORBA::PolicyErrorCode

Definition at line 19 of file Policy.pidl.

◆ PolicyList

typedef sequence<Policy> CORBA::PolicyList

Definition at line 19 of file Policy_Forward.pidl.

◆ PolicyType

Definition at line 100 of file ORB.h.

◆ PolicyTypeSeq

typedef sequence<PolicyType> CORBA::PolicyTypeSeq

Definition at line 23 of file Policy_Forward.pidl.

◆ Principal_out

Definition at line 42 of file Principal.h.

◆ Principal_ptr

Definition at line 38 of file Principal.h.

◆ Principal_var

Definition at line 41 of file Principal.h.

◆ RepositoryId

typedef string CORBA::RepositoryId

Definition at line 19 of file orb_types.pidl.

◆ Request_out

Definition at line 124 of file ORB.h.

◆ Request_ptr

typedef Request * CORBA::Request_ptr

Definition at line 43 of file Dynamic_Adapter.h.

◆ Request_var

Definition at line 123 of file ORB.h.

◆ RequestSeq

Definition at line 141 of file ORB.h.

◆ RequestSeq_out

Definition at line 153 of file ORB.h.

◆ RequestSeq_var

Definition at line 147 of file ORB.h.

◆ ServerRequest_ptr

typedef ServerRequest* CORBA::ServerRequest_ptr

Definition at line 49 of file Dynamic_Adapter.h.

◆ ServiceDetailData

Definition at line 14 of file Services.pidl.

◆ ServiceDetailSeq

Definition at line 25 of file Services.pidl.

◆ ServiceDetailType

typedef unsigned long CORBA::ServiceDetailType

Definition at line 13 of file Services.pidl.

◆ ServiceOption

typedef unsigned long CORBA::ServiceOption

Definition at line 12 of file Services.pidl.

◆ ServiceOptionSeq

Definition at line 15 of file Services.pidl.

◆ ServiceType

typedef unsigned short CORBA::ServiceType

Definition at line 119 of file ORB.h.

◆ Short

Definition at line 46 of file Basic_Types.h.

◆ Short_out

Definition at line 47 of file Basic_Types.h.

◆ ShortSeq

typedef sequence<short> CORBA::ShortSeq

Definition at line 9 of file ShortSeq.pidl.

◆ String_out

Definition at line 99 of file Basic_Types.h.

◆ String_var

Definition at line 98 of file Basic_Types.h.

◆ StringSeq

typedef sequence<string> CORBA::StringSeq

Definition at line 9 of file StringSeq.pidl.

◆ TCKind_out

Definition at line 107 of file Typecode_typesC.h.

◆ TypeCode_out

Definition at line 39 of file TypeCodeFactory_Adapter.h.

◆ TypeCode_ptr

typedef TypeCode * CORBA::TypeCode_ptr

Definition at line 33 of file AnyTypeCode_Adapter.h.

◆ TypeCode_var

Definition at line 36 of file TypeCodeFactory_Adapter.h.

◆ UInt16

Definition at line 82 of file Basic_Types.h.

◆ UInt16_out

Definition at line 83 of file Basic_Types.h.

◆ UInt32

Definition at line 88 of file Basic_Types.h.

◆ UInt32_out

Definition at line 89 of file Basic_Types.h.

◆ UInt64

Definition at line 94 of file Basic_Types.h.

◆ UInt64_out

Definition at line 95 of file Basic_Types.h.

◆ UInt8Seq

typedef sequence<uint8> CORBA::UInt8Seq

Definition at line 8 of file UInt8Seq.pidl.

◆ ULong

Definition at line 55 of file Basic_Types.h.

◆ ULong_out

Definition at line 56 of file Basic_Types.h.

◆ ULongLong

Definition at line 61 of file Basic_Types.h.

◆ ULongLong_out

Definition at line 62 of file Basic_Types.h.

◆ ULongLongSeq

typedef sequence<unsigned long long> CORBA::ULongLongSeq

Definition at line 9 of file ULongLongSeq.pidl.

◆ ULongSeq

typedef sequence<unsigned long> CORBA::ULongSeq

Definition at line 9 of file ULongSeq.pidl.

◆ UShort

Definition at line 49 of file Basic_Types.h.

◆ UShort_out

Definition at line 50 of file Basic_Types.h.

◆ UShortSeq

typedef sequence<unsigned short> CORBA::UShortSeq

Definition at line 9 of file UShortSeq.pidl.

◆ ValueFactory

typedef ValueFactoryBase * CORBA::ValueFactory

Definition at line 116 of file ORB.h.

◆ ValueModifier

Definition at line 131 of file ORB.h.

◆ WChar

Definition at line 76 of file Basic_Types.h.

◆ WChar_out

Definition at line 77 of file Basic_Types.h.

◆ WCharSeq

typedef sequence<wchar> CORBA::WCharSeq

Definition at line 9 of file WCharSeq.pidl.

◆ WString_out

Definition at line 101 of file Basic_Types.h.

◆ WString_var

Definition at line 100 of file Basic_Types.h.

◆ WStringSeq

typedef sequence<wstring> CORBA::WStringSeq

Definition at line 9 of file WStringSeq.pidl.

Enumeration Type Documentation

◆ CompletionStatus

Completion status for CORBA system exceptions.

Enumerations that denote how an operation was (not) completed when a CORBA::SystemException is thrown.

Enumerator
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 65 of file SystemException.h.

66  {
67  COMPLETED_YES, ///< Successful or exceptional completion.
68  COMPLETED_NO, ///< Didn't change any state; retry is OK.
69  COMPLETED_MAYBE ///< Can't say what happened; retry unsafe.
70  };
Can&#39;t say what happened; retry unsafe.
Didn&#39;t change any state; retry is OK.
Successful or exceptional completion.

◆ exception_type [1/2]

Enumerator
NO_EXCEPTION 
USER_EXCEPTION 
SYSTEM_EXCEPTION 
NO_EXCEPTION 
USER_EXCEPTION 
SYSTEM_EXCEPTION 

Definition at line 46 of file orb.idl.

◆ exception_type [2/2]

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.

Enumerator
NO_EXCEPTION 
USER_EXCEPTION 
SYSTEM_EXCEPTION 
NO_EXCEPTION 
USER_EXCEPTION 
SYSTEM_EXCEPTION 

Definition at line 71 of file Exception.h.

◆ ParameterMode

Enumerator
PARAM_IN 
PARAM_OUT 
PARAM_INOUT 

Definition at line 14 of file ParameterMode.pidl.

◆ SetOverrideType

Enumerator
SET_OVERRIDE 
ADD_OVERRIDE 

Definition at line 27 of file Policy_Forward.pidl.

◆ TCKind [1/2]

Enumerator
tk_null 
tk_void 
tk_short 
tk_long 
tk_ushort 
tk_ulong 
tk_float 
tk_double 
tk_boolean 
tk_char 
tk_octet 
tk_any 
tk_TypeCode 
tk_Principal 
tk_objref 
tk_struct 
tk_union 
tk_enum 
tk_string 
tk_sequence 
tk_array 
tk_alias 
tk_except 
tk_longlong 
tk_ulonglong 
tk_longdouble 
tk_wchar 
tk_wstring 
tk_fixed 
tk_value 
tk_value_box 
tk_native 
tk_abstract_interface 
tk_local_interface 
tk_component 
tk_home 
tk_event 
tk_null 
tk_void 
tk_short 
tk_long 
tk_ushort 
tk_ulong 
tk_float 
tk_double 
tk_boolean 
tk_char 
tk_octet 
tk_any 
tk_TypeCode 
tk_Principal 
tk_objref 
tk_struct 
tk_union 
tk_enum 
tk_string 
tk_sequence 
tk_array 
tk_alias 
tk_except 
tk_longlong 
tk_ulonglong 
tk_longdouble 
tk_wchar 
tk_wstring 
tk_fixed 
tk_value 
tk_value_box 
tk_native 
tk_abstract_interface 
tk_local_interface 
tk_component 
tk_home 
tk_event 
TAO_TC_KIND_COUNT 

Definition at line 13 of file Typecode_types.pidl.

14  {
15  tk_null,
16  tk_void,
17  tk_short,
18  tk_long,
19  tk_ushort,
20  tk_ulong,
21  tk_float,
22  tk_double,
23  tk_boolean,
24  tk_char,
25  tk_octet,
26  tk_any,
29  tk_objref,
30  tk_struct,
31  tk_union,
32  tk_enum,
33  tk_string,
35  tk_array,
36  tk_alias,
37  tk_except,
41  tk_wchar,
42  tk_wstring,
43  tk_fixed,
44  tk_value,
46  tk_native,
50  tk_home,
51  tk_event
52  };

◆ TCKind [2/2]

Enumerator
tk_null 
tk_void 
tk_short 
tk_long 
tk_ushort 
tk_ulong 
tk_float 
tk_double 
tk_boolean 
tk_char 
tk_octet 
tk_any 
tk_TypeCode 
tk_Principal 
tk_objref 
tk_struct 
tk_union 
tk_enum 
tk_string 
tk_sequence 
tk_array 
tk_alias 
tk_except 
tk_longlong 
tk_ulonglong 
tk_longdouble 
tk_wchar 
tk_wstring 
tk_fixed 
tk_value 
tk_value_box 
tk_native 
tk_abstract_interface 
tk_local_interface 
tk_component 
tk_home 
tk_event 
tk_null 
tk_void 
tk_short 
tk_long 
tk_ushort 
tk_ulong 
tk_float 
tk_double 
tk_boolean 
tk_char 
tk_octet 
tk_any 
tk_TypeCode 
tk_Principal 
tk_objref 
tk_struct 
tk_union 
tk_enum 
tk_string 
tk_sequence 
tk_array 
tk_alias 
tk_except 
tk_longlong 
tk_ulonglong 
tk_longdouble 
tk_wchar 
tk_wstring 
tk_fixed 
tk_value 
tk_value_box 
tk_native 
tk_abstract_interface 
tk_local_interface 
tk_component 
tk_home 
tk_event 
TAO_TC_KIND_COUNT 

Definition at line 61 of file Typecode_typesC.h.

62  {
63  tk_null,
64  tk_void,
65  tk_short,
66  tk_long,
67  tk_ushort,
68  tk_ulong,
69  tk_float,
70  tk_double,
71  tk_boolean,
72  tk_char,
73  tk_octet,
74  tk_any,
77  tk_objref,
78  tk_struct,
79  tk_union,
80  tk_enum,
81  tk_string,
83  tk_array,
84  tk_alias,
85  tk_except,
89  tk_wchar,
90  tk_wstring,
91  tk_fixed,
92  tk_value,
94  tk_native,
98  tk_home,
99  tk_event
100 
101  // This symbol is not defined by CORBA 3.0. It's used to speed up
102  // dispatch based on TCKind values, and lets many important ones
103  // just be table lookups. It must always be the last enum value!!
105  };

Function Documentation

◆ is_nil() [1/2]

template<typename T >
Boolean CORBA::is_nil ( x)
inline

Definition at line 49 of file CORBA_methods.h.

50  {
51  return x == 0;
52  }

◆ is_nil() [2/2]

template<>
Boolean CORBA::is_nil ( Object_ptr  )

◆ operator<<() [1/2]

ACE_OSTREAM_TYPE & CORBA::operator<< ( ACE_OSTREAM_TYPE &  os,
const CORBA::Exception e 
)

Definition at line 116 of file Exception.cpp.

118  {
119  os << e._name () << " (" << e._rep_id () << ')';
120 
121  return os;
122  }
virtual const char * _rep_id(void) const
Return the repository ID of the Exception.
Definition: Exception.cpp:71
virtual const char * _name(void) const
Return the name of the Exception.
Definition: Exception.cpp:77

◆ operator<<() [2/2]

ACE_OSTREAM_TYPE & CORBA::operator<< ( ACE_OSTREAM_TYPE &  os,
const CORBA::Exception e 
)

Definition at line 124 of file Exception.cpp.

126  {
127  os << e->_name () << " (" << e->_rep_id () << ')';
128 
129  return os;
130  }
virtual const char * _rep_id(void) const
Return the repository ID of the Exception.
Definition: Exception.cpp:71
virtual const char * _name(void) const
Return the name of the Exception.
Definition: Exception.cpp:77

◆ ORB_init()

CORBA::ORB_ptr CORBA::ORB_init ( int &  argc,
char *  argv[],
const char *  orb_name = 0 
)

ORB Initialization

Definition at line 1229 of file ORB.cpp.

1230 {
1231  // It doesn't make sense for argc to be zero and argv to be
1232  // non-empty/zero, or for argc to be greater than zero and argv be
1233  // zero.
1234  size_t const argv0_len = (argv ? (*argv
1235  ? ACE_OS::strlen (*argv)
1236  : 0)
1237  : 0);
1238 
1239  if ((argc == 0 && argv0_len != 0)
1240  || (argc != 0 && (argv == 0 || argv[0] == 0)))
1241  {
1242  throw ::CORBA::BAD_PARAM (
1244  0,
1245  EINVAL),
1247  }
1248 
1249  // Scan the parameters to find any we could interpret to
1250  // use for initializing the global context. Note that if
1251  // the global context has been initialized already, the
1252  // parameters may either be ignored, or later used to initialize
1253  // a local configuration context. The chosen action depends on
1254  // weather we want the ORB to share the global context or
1255  // have its own, private (or local) context.
1256  if (TAO::ORB::open_global_services (argc, argv) == -1)
1257  {
1258  return CORBA::ORB::_nil ();
1259  }
1260 
1261  // Copy command line parameter not to corrupt the original.
1262  ACE_Argv_Type_Converter command_line (argc, argv);
1263 
1264  // Make sure the following is done after the global ORB
1265  // initialization since we need to have exceptions initialized.
1266 
1267  // Use this string variable to hold the orbid
1268  ACE_TString orbid_string (ACE_TEXT_CHAR_TO_TCHAR(orbid));
1269  TAO::parse_orb_opt (command_line, ACE_TEXT("-ORBid"), orbid_string);
1270 
1271  // Get ORB Core
1273  ACE_TEXT_ALWAYS_CHAR(orbid_string.c_str ())));
1274 
1275  // The ORB was already initialized. Just return that one.
1276  if (oc.get () != 0)
1277  {
1278  return CORBA::ORB::_duplicate (oc->orb ());
1279  }
1280 
1281  // Determine the service object registry this ORB will use. The choices
1282  // are: (a) the legacy (global); (b) its own, local, or (c) share somebody
1283  // else's configuration. By default use the process-wide (global) context
1284  // Use this string variable to hold the configuration identity key
1285  ACE_TString orbconfig_string;
1286  TAO::parse_orb_opt (command_line, ACE_TEXT("-ORBGestalt"), orbconfig_string);
1288 
1289  // An ORB corresponding to the desired ORBid doesn't exist so create
1290  // a new one.
1291  TAO_ORB_Core * tmp = 0;
1292  ACE_NEW_THROW_EX (tmp,
1293  TAO_ORB_Core (ACE_TEXT_ALWAYS_CHAR(orbid_string.c_str ()),
1294  gestalt),
1295  CORBA::NO_MEMORY (
1297  ENOMEM),
1299 
1300  // The ORB table increases the reference count on the ORB Core
1301  // so do not release it here. Allow the TAO_ORB_Core_Auto_Ptr
1302  // to decrease the reference count on the ORB Core when it goes
1303  // out of scope.
1304  oc.reset (tmp);
1305 
1306  // Having the ORB's default static services be shared among all ORBs
1307  // is tempting from the point of view of reducing the dynamic
1308  // footprint. However, if the ORB in a DLL and the rest of that
1309  // application most likely neither cares, nor wishes to know about
1310  // them. Furthermore, if the ORB DLL gets unloaded, the static
1311  // services it had registered globally will no longer be accessible,
1312  // which will have disastrous consequences at the process
1313  // shutdown. Hence, the ACE_Service_Config_Guard ensures that for
1314  // the current thread, any references to the global
1315  // ACE_Service_Config will be re-routed to this ORB's service gestalt.
1316 
1317  ACE_Service_Config_Guard scg (oc->configuration ());
1318 
1319  // Initialize the Service Configurator. This must occur before the
1320  // ORBInitializer::pre_init() method is invoked on each registered
1321  // ORB initializer.
1322  int result = TAO::ORB::open_services (oc->configuration (),
1323  command_line.get_argc (),
1324  command_line.get_TCHAR_argv ());
1325 
1326  // Check for errors returned from <TAO_Internal::open_services>.
1327  if (result != 0 && errno != ENOENT)
1328  {
1329  TAOLIB_ERROR ((LM_ERROR,
1330  ACE_TEXT ("TAO (%P|%t) %p\n"),
1331  ACE_TEXT ("Unable to initialize the ")
1332  ACE_TEXT ("Service Configurator")));
1333  throw ::CORBA::INITIALIZE (
1336  0),
1338  }
1339 
1340  TAO::ORBInitializer_Registry_Adapter * orbinitializer_registry =
1341  oc.get ()->orbinitializer_registry ();
1342 
1343  PortableInterceptor::SlotId slotid = 0;
1344  size_t pre_init_count = 0;
1345 
1346  if (orbinitializer_registry != 0)
1347  {
1348  pre_init_count =
1349  orbinitializer_registry->pre_init (oc.get (),
1350  command_line.get_argc(),
1351  command_line.get_ASCII_argv(),
1352  slotid);
1353  }
1354 
1355  // Initialize the ORB Core instance.
1356  result = oc->init (command_line.get_argc(),
1357  command_line.get_ASCII_argv());
1358 
1359  if (orbinitializer_registry != 0)
1360  {
1361  orbinitializer_registry->post_init (pre_init_count,
1362  oc.get (),
1363  command_line.get_argc(),
1364  command_line.get_ASCII_argv(),
1365  slotid);
1366  }
1367 
1368  if (TAO_debug_level > 2)
1369  {
1370  TAOLIB_DEBUG ((LM_DEBUG,
1371  ACE_TEXT("TAO (%P|%t) - Created new ORB <%s>\n"),
1372  orbid_string.c_str ()));
1373  }
1374 
1375  // Before returning remember to store the ORB into the table...
1376  if (TAO::ORB_Table::instance ()->bind (ACE_TEXT_ALWAYS_CHAR(orbid_string.c_str ()),
1377  oc.get ()) != 0)
1378  throw ::CORBA::INTERNAL (0, CORBA::COMPLETED_NO);
1379 
1380  // Return a duplicate since the ORB_Core should release the last
1381  // reference to the ORB.
1382  return CORBA::ORB::_duplicate (oc->orb ());
1383 }
Encapsulates the state of an ORB.
Definition: ORB_Core.h:162
int open_global_services(int argc, ACE_TCHAR **argv)
Note that the argument vector will be corrupted upon return.
#define TAOLIB_DEBUG(X)
Definition: debug.h:90
Define a TAO_ORB_Core auto_ptr class.
#define TAOLIB_ERROR(X)
Definition: debug.h:80
int open_services(ACE_Intrusive_Auto_Ptr< ACE_Service_Gestalt > cfg, int &argc, ACE_TCHAR **argv)
#define ACE_TEXT_ALWAYS_CHAR(STRING)
static CORBA::ULong _tao_minor_code(u_int location, int errno_value)
Helper to create a minor status value.
size_t strlen(const char *s)
ACE_Intrusive_Auto_Ptr< ACE_Service_Gestalt > find_orb_context(const ACE_TString &orbconfig_string)
Definition: ORB.cpp:1129
static ORB_Table * instance(void)
Return a unique instance.
Definition: ORB_Table.cpp:165
#define ACE_NEW_THROW_EX(POINTER, CONSTRUCTOR, EXCEPTION)
#define ACE_TEXT(STRING)
virtual size_t pre_init(TAO_ORB_Core *orb_core, int argc, char *argv[], PortableInterceptor::SlotId &slotid)=0
#define ACE_TEXT_CHAR_TO_TCHAR(STRING)
static CORBA::ORB_ptr _duplicate(CORBA::ORB_ptr orb)
Return a duplicate of orb.
Definition: ORB.inl:51
Didn&#39;t change any state; retry is OK.
bool parse_orb_opt(ACE_Argv_Type_Converter &command_line, const ACE_TCHAR *orb_opt, ACE_TString &opt_arg)
Definition: ORB.cpp:1082
const CORBA::ULong TAO_ORB_CORE_INIT_LOCATION_CODE
static CORBA::ORB_ptr _nil(void)
Definition: ORB.inl:64
unsigned int TAO_debug_level
Definition: debug.cpp:12
virtual void post_init(size_t pre_init_count, TAO_ORB_Core *orb_core, int argc, char *argv[], PortableInterceptor::SlotId slotid)=0

◆ release() [1/2]

template<typename T >
void CORBA::release ( x)
inline

Definition at line 54 of file CORBA_methods.h.

55  {
56  if (x != 0)
57  {
58  x->_decr_refcount ();
59  }
60  }

◆ release() [2/2]

template<>
void CORBA::release ( Environment_ptr  env)
inline

Definition at line 152 of file Environment.h.

153  {
154  delete env;
155  }

◆ string_alloc()

char * CORBA::string_alloc ( CORBA::ULong  len)

Definition at line 47 of file String_Alloc.cpp.

48 {
49  // Allocate 1 + strlen to accomodate the null terminating character.
50  char *s = 0;
51  ACE_NEW_RETURN (s,
52  char[size_t (len + 1)],
53  0);
54  s[0]= '\0';
55 
56  return s;
57 }
#define ACE_NEW_RETURN(POINTER, CONSTRUCTOR, RET_VAL)

◆ string_dup()

char * CORBA::string_dup ( const char *  str)

Definition at line 20 of file String_Alloc.cpp.

21 {
22  if (!str)
23  {
24  errno = EINVAL;
25  return 0;
26  }
27 
28 #ifndef TAO_NO_SHARED_NULL_CORBA_STRING
29  if (!*str)
30  return null_char;
31 #endif /* TAO_NO_SHARED_NULL_CORBA_STRING */
32 
33  size_t const len = ACE_OS::strlen (str);
34 
35  // This allocates an extra byte for the '\0';
36  char * copy = CORBA::string_alloc (static_cast<CORBA::ULong> (len));
37  if (copy)
38  {
39  // The memcpy() assumes that the destination is a valid buffer.
40  ACE_OS::memcpy (copy, str, len + 1);
41  }
42 
43  return copy;
44 }
static char null_char[]
Definition: String_Alloc.cpp:8
char * string_alloc(ULong len)
void * memcpy(void *t, const void *s, size_t len)
size_t strlen(const char *s)

◆ string_free()

void CORBA::string_free ( char *  str)

Definition at line 60 of file String_Alloc.cpp.

61 {
62 #ifndef TAO_NO_SHARED_NULL_CORBA_STRING
63  if (null_char != str)
64 #endif /* TAO_NO_SHARED_NULL_CORBA_STRING */
65  delete [] str;
66 }
static char null_char[]
Definition: String_Alloc.cpp:8

◆ wstring_alloc()

CORBA::WChar * CORBA::wstring_alloc ( CORBA::ULong  len)

Definition at line 96 of file String_Alloc.cpp.

97 {
98  CORBA::WChar *s = 0;
99  ACE_NEW_RETURN (s,
100  CORBA::WChar [(size_t) (len + 1)],
101  0);
102  return s;
103 }
#define ACE_NEW_RETURN(POINTER, CONSTRUCTOR, RET_VAL)
ACE_CDR::WChar WChar
Definition: Basic_Types.h:76

◆ wstring_dup()

CORBA::WChar * CORBA::wstring_dup ( const WChar * const  str)

Definition at line 71 of file String_Alloc.cpp.

72 {
73  if (!str)
74  {
75  errno = EINVAL;
76  return 0;
77  }
78 
79 #ifndef TAO_NO_SHARED_NULL_CORBA_STRING
80  if (!*str)
81  return null_wchar;
82 #endif /* TAO_NO_SHARED_NULL_CORBA_STRING */
83 
84  CORBA::WChar* retval =
85  CORBA::wstring_alloc (static_cast <CORBA::ULong> (ACE_OS::strlen (str)));
86  if (retval == 0)
87  {
88  // The wscpy() below assumes that the destination is a valid buffer.
89  return 0;
90  }
91 
92  return ACE_OS::wscpy (retval, str);
93 }
static CORBA::WChar null_wchar[]
Definition: String_Alloc.cpp:9
size_t strlen(const char *s)
WChar * wstring_alloc(ULong len)
ACE_CDR::WChar WChar
Definition: Basic_Types.h:76
WChar * wscpy(WChar *, const WChar *)

◆ wstring_free()

void CORBA::wstring_free ( WChar * const  str)

Definition at line 106 of file String_Alloc.cpp.

107 {
108 #ifndef TAO_NO_SHARED_NULL_CORBA_STRING
109  if (null_wchar != str)
110 #endif /* TAO_NO_SHARED_NULL_CORBA_STRING */
111  delete [] str;
112 }
static CORBA::WChar null_wchar[]
Definition: String_Alloc.cpp:9

Variable Documentation

◆ BAD_POLICY

const PolicyErrorCode CORBA::BAD_POLICY = 0

Definition at line 20 of file Policy.pidl.

◆ BAD_POLICY_TYPE

const PolicyErrorCode CORBA::BAD_POLICY_TYPE = 2

Definition at line 22 of file Policy.pidl.

◆ BAD_POLICY_VALUE

const PolicyErrorCode CORBA::BAD_POLICY_VALUE = 3

Definition at line 23 of file Policy.pidl.

◆ OMGVMCID

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 54 of file ORB_Constants.h.

◆ Security

const ServiceType CORBA::Security = 1

Definition at line 17 of file Services.pidl.

◆ UNSUPPORTED_POLICY

const PolicyErrorCode CORBA::UNSUPPORTED_POLICY = 1

Definition at line 21 of file Policy.pidl.

◆ UNSUPPORTED_POLICY_VALUE

const PolicyErrorCode CORBA::UNSUPPORTED_POLICY_VALUE = 4

Definition at line 24 of file Policy.pidl.