CORBA Namespace Reference

FUZZ: disable check_for_include/. More...


Classes

interface  Current
class  Environment
 Environment. More...

class  Exception
 Exception. More...

interface  ORB
 ORB pseudo-object. More...

exception  ORB::InvalidName
 UserException for resolve_initial_references(). More...

class  LocalObject
class  Object
 Implementation of a CORBA object reference. More...

struct  NamedValue
exception  PolicyError
exception  InvalidPolicies
interface  Policy
interface  PolicyCurrent
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...

exception  WrongTransaction
 UserException for DII requests. More...


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

CORBA String Memory Management

CORBA string memory management functions.

TAO_Export char * string_alloc (ULong len)
TAO_Export char * string_dup (const char *)
TAO_Export void string_free (char *)

CORBA Wide String Memory Management

CORBA wide string memory management functions.

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

Typedefs

typedef InterfaceDef * InterfaceDef_ptr
typedef ObjectObject_ptr
typedef TAO_Pseudo_Var_T<
Object
Object_var
typedef TAO_Pseudo_Out_T<
Object
Object_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 EnvironmentEnvironment_ptr
typedef PrincipalPrincipal_ptr
typedef OperationDef * OperationDef_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 TAO_Pseudo_Var_T<
Environment
Environment_var
typedef TAO_Pseudo_Out_T<
Environment
Environment_out
typedef Any * Any_ptr
typedef sequence< float > FloatSeq
typedef LocalObjectLocalObject_ptr
typedef TAO_Pseudo_Var_T<
LocalObject
LocalObject_var
typedef TAO_Pseudo_Out_T<
LocalObject
LocalObject_out
typedef sequence< long double > LongDoubleSeq
typedef sequence< long long > LongLongSeq
typedef sequence< long > LongSeq
typedef ImplementationDef * ImplementationDef_ptr
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_ObjectIdList
ORB_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<
ORB
ORB_var
typedef TAO_Pseudo_Out_T<
ORB
ORB_out
typedef CORBA::Short ValueModifier
typedef TAO::unbounded_object_reference_sequence<
CORBA::Request, CORBA::Request_var
RequestSeq
typedef TAO_VarSeq_Var_T<
RequestSeq
RequestSeq_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 TAO_Objref_Var_T<
Policy
Policy_var
typedef TAO_Objref_Out_T<
Policy
Policy_out
typedef CORBA::Short_out PolicyErrorCode_out
typedef TAO_Pseudo_Var_T<
Principal
Principal_var
typedef TAO_Pseudo_Out_T<
Principal
Principal_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< 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

Enumerations

enum  exception_type { 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 }
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
}
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, TAO_TC_KIND_COUNT
}

Functions

TAO_Export ORB_ptr ORB_init (int &argc, char *argv[], const char *orb_name=0)
TAO_NAMESPACE_INLINE_FUNCTION
Boolean 
is_nil (Environment_ptr)
TAO_NAMESPACE_INLINE_FUNCTION
void 
release (Environment_ptr)
TAO_NAMESPACE_INLINE_FUNCTION
Boolean 
is_nil (ORB_ptr)
TAO_NAMESPACE_INLINE_FUNCTION
void 
release (ORB_ptr)
TAO_NAMESPACE_INLINE_FUNCTION
Boolean 
is_nil (Object_ptr)
TAO_NAMESPACE_INLINE_FUNCTION
void 
release (Object_ptr)
TAO_NAMESPACE_INLINE_FUNCTION
Boolean 
is_nil (Principal_ptr)
TAO_NAMESPACE_INLINE_FUNCTION
void 
release (Principal_ptr)
ACE_OSTREAM_TYPE & operator<< (ACE_OSTREAM_TYPE &os, const CORBA::Exception &e)
ACE_OSTREAM_TYPE & operator<< (ACE_OSTREAM_TYPE &os, const CORBA::Exception *e)

Variables

const ULong OMGVMCID = 0x4f4d0000U
 The OMG Vendor Minor Codeset ID (VMCID).

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
local interface PolicyCurrent
const ServiceType Security = 1


Detailed Description

FUZZ: disable check_for_include/.

This file was used to generate the code in DoubleSeqC.* The command used to generate code is:

tao_idl -oA AnyTypeCode -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 -Wb,versioning_begin=TAO_BEGIN_VERSIONED_NAMESPACE_DECL -Wb,versioning_end=TAO_END_VERSIONED_NAMESPACE_DECL DoubleSeq.pidl


Typedef Documentation

typedef AbstractBase* CORBA::AbstractBase_ptr
 

Definition at line 34 of file Valuetype_Adapter.h.

typedef Any* CORBA::Any_ptr
 

Definition at line 60 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 sequence<boolean> CORBA::BooleanSeq
 

Definition at line 20 of file BooleanSeq.pidl.

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 sequence<char> CORBA::CharSeq
 

Definition at line 18 of file CharSeq.pidl.

typedef Context * CORBA::Context_ptr
 

Definition at line 49 of file Dynamic_Adapter.h.

Referenced by CORBA::Object::_create_request(), CORBA::LocalObject::_create_request(), and CORBA::ORB::get_default_context().

typedef ContextList * CORBA::ContextList_ptr
 

Definition at line 85 of file Object.h.

Referenced by CORBA::Object::_create_request(), CORBA::LocalObject::_create_request(), and CORBA::ORB::create_context_list().

typedef ACE_CDR::Double CORBA::Double
 

Definition at line 69 of file Basic_Types.h.

Referenced by operator<<(), and operator>>().

typedef Double& CORBA::Double_out
 

Definition at line 70 of file Basic_Types.h.

typedef sequence<double> CORBA::DoubleSeq
 

Definition at line 30 of file DoubleSeq.pidl.

typedef TAO_Pseudo_Out_T<Environment> CORBA::Environment_out
 

Definition at line 46 of file Environment.h.

typedef Environment * CORBA::Environment_ptr
 

Definition at line 41 of file CORBA_methods.h.

Referenced by CORBA::ORB::create_environment(), is_nil(), and release().

typedef TAO_Pseudo_Var_T<Environment> CORBA::Environment_var
 

Definition at line 45 of file Environment.h.

typedef ExceptionList * CORBA::ExceptionList_ptr
 

Definition at line 43 of file Dynamic_Adapter.h.

Referenced by CORBA::Object::_create_request(), CORBA::LocalObject::_create_request(), and CORBA::ORB::create_exception_list().

typedef unsigned long CORBA::Flags
 

Definition at line 54 of file Dynamic_Adapter.h.

Referenced by CORBA::Object::_create_request(), and CORBA::LocalObject::_create_request().

typedef ACE_CDR::Float CORBA::Float
 

Definition at line 66 of file Basic_Types.h.

Referenced by operator<<(), and operator>>().

typedef Float& CORBA::Float_out
 

Definition at line 67 of file Basic_Types.h.

typedef sequence<float> CORBA::FloatSeq
 

Definition at line 31 of file FloatSeq.pidl.

typedef string CORBA::Identifier
 

Definition at line 34 of file orb_types.pidl.

typedef ImplementationDef* CORBA::ImplementationDef_ptr
 

Definition at line 65 of file Object.h.

typedef InterfaceDef * CORBA::InterfaceDef_ptr
 

Definition at line 43 of file Abstract_Servant_Base.h.

Referenced by TAO::In_Object_Argument_Cloner_T< CORBA::InterfaceDef_ptr >::duplicate(), and TAO::In_Object_Argument_Cloner_T< CORBA::InterfaceDef_ptr >::release().

typedef TAO_Pseudo_Out_T<LocalObject> CORBA::LocalObject_out
 

Definition at line 41 of file LocalObject.h.

typedef LocalObject* CORBA::LocalObject_ptr
 

Definition at line 39 of file LocalObject.h.

Referenced by CORBA::LocalObject::_duplicate().

typedef TAO_Pseudo_Var_T<LocalObject> CORBA::LocalObject_var
 

Definition at line 40 of file LocalObject.h.

typedef ACE_CDR::Long CORBA::Long
 

Definition at line 54 of file Basic_Types.h.

Referenced by TAO_InputCDR::TAO_InputCDR().

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.

Referenced by operator<<(), and operator>>().

typedef LongDouble& CORBA::LongDouble_out
 

Definition at line 73 of file Basic_Types.h.

typedef sequence<long double> CORBA::LongDoubleSeq
 

Definition at line 28 of file LongDoubleSeq.pidl.

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 sequence<long long> CORBA::LongLongSeq
 

Definition at line 28 of file LongLongSeq.pidl.

typedef sequence<long> CORBA::LongSeq
 

Definition at line 28 of file LongSeq.pidl.

typedef NamedValue * CORBA::NamedValue_ptr
 

Definition at line 40 of file Dynamic_Adapter.h.

Referenced by CORBA::Object::_create_request(), CORBA::LocalObject::_create_request(), and CORBA::ORB::create_named_value().

typedef NVList * CORBA::NVList_ptr
 

Definition at line 37 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().

typedef TAO_Pseudo_Out_T< Object > CORBA::Object_out
 

Definition at line 48 of file Abstract_Servant_Base.h.

Referenced by TAO_Request_Dispatcher::dispatch(), and TAO_Adapter_Registry::dispatch().

typedef Object * CORBA::Object_ptr
 

Definition at line 46 of file Abstract_Servant_Base.h.

Referenced by CORBA::Object::_duplicate(), TAO::Remote_Object_Proxy_Broker::_get_component(), TAO::Remote_Object_Proxy_Broker::_get_interface(), TAO::Remote_Object_Proxy_Broker::_is_a(), CORBA::Object::_is_equivalent(), CORBA::LocalObject::_is_equivalent(), CORBA::Policy::_narrow(), CORBA::Object::_narrow(), CORBA::LocalObject::_narrow(), TAO::Remote_Object_Proxy_Broker::_non_existent(), TAO::Remote_Object_Proxy_Broker::_repository_id(), CORBA::Object::_set_policy_overrides(), CORBA::Object::_tao_any_destructor(), CORBA::Policy::_unchecked_narrow(), TAO_Object_Ref_Table::bind(), TAO::Collocated_Invocation::Collocated_Invocation(), TAO_ORB_Core::collocation_strategy(), TAO_Adapter_Registry::create_collocated_object(), TAO_ORB_Core::create_object(), TAO_ServerRequest::forward_location(), TAO::Invocation_Base::forwarded_reference(), TAO_ORB_Core::implrepo_service(), TAO_ServerRequest::init_reply(), TAO_ORB_Core::initialize_object(), CORBA::ORB::ior_string_to_object(), TAO_Default_Collocation_Resolver::is_collocated(), TAO_Stub::is_equivalent(), is_nil(), CORBA::Object::is_nil_i(), TAO_Service_Callbacks::is_permanent_forward_condition(), TAO_ORB_Core::is_permanent_forward_condition(), TAO::Narrow_Utils< T >::lazy_evaluation(), TAO::LocateRequest_Invocation::LocateRequest_Invocation(), TAO::LocateRequest_Invocation_Adapter::LocateRequest_Invocation_Adapter(), CORBA::Object::marshal(), TAO::Narrow_Utils< T >::narrow(), TAO_Service_Callbacks::object_is_nil(), TAO_ORB_Core::object_is_nil(), CORBA::ORB::object_to_string(), TAO::Objref_Traits< CORBA::Object >::duplicate(), TAO::Objref_Traits< CORBA::Object >::marshal(), TAO::Objref_Traits< CORBA::Object >::release(), operator<<(), TAO_FILE_Parser::parse_string(), TAO_CORBANAME_Parser::parse_string(), TAO_CORBANAME_Parser::parse_string_dynamic_request_helper(), TAO_ORB_Core::pi_current(), CORBA::ORB::register_initial_reference(), TAO_Object_Ref_Table::register_initial_reference(), release(), TAO::Remote_Invocation::Remote_Invocation(), TAO_ORB_Core::resolve_picurrent_i(), TAO::Synch_Oneway_Invocation::Synch_Oneway_Invocation(), TAO::Synch_Twoway_Invocation::Synch_Twoway_Invocation(), TAO_ServerRequest::TAO_ServerRequest(), TAO::Narrow_Utils< T >::unchecked_narrow(), CORBA::ORB::url_ior_string_to_object(), TAO_GIOP_Message_Generator_Parser_12::write_locate_reply_mesg(), and TAO_GIOP_Message_Generator_Parser_10::write_locate_reply_mesg().

typedef TAO_Pseudo_Var_T< Object > CORBA::Object_var
 

Definition at line 47 of file Abstract_Servant_Base.h.

Referenced by TAO_Object_Ref_Table::bind(), TAO_ORB_Core::implrepo_service(), TAO::LocateRequest_Invocation_Adapter::invoke(), TAO::Invocation_Adapter::invoke_collocated_i(), TAO::Invocation_Adapter::invoke_i(), TAO::Invocation_Adapter::invoke_oneway(), TAO::Invocation_Adapter::invoke_remote_i(), TAO::Invocation_Adapter::invoke_twoway(), TAO::Synch_Twoway_Invocation::location_forward(), TAO_CORBALOC_Parser::make_stub_from_mprofile(), TAO_MCAST_Parser::multicast_to_service(), TAO::LocateRequest_Invocation_Adapter::object_forwarded(), TAO::Invocation_Adapter::object_forwarded(), operator>>(), TAO_CORBANAME_Parser::parse_string(), TAO_CORBALOC_Parser::parse_string_rir_helper(), TAO_GIOP_Message_Base::process_locate_request(), TAO_GIOP_Message_Base::process_request(), CORBA::ORB::resolve_initial_references(), and TAO_ORB_Core::resolve_ior_table_i().

typedef ACE_CDR::Octet CORBA::Octet
 

Definition at line 45 of file Basic_Types.h.

Referenced by TAO_IIOP_Acceptor::object_key(), TAO_GIOP_Message_Generator_Parser_12::parse_request_header(), TAO_GIOP_Message_Generator_Parser_10::parse_request_header(), TAO::Synch_Oneway_Invocation::remote_oneway(), TAO_InputCDR::TAO_InputCDR(), TAO_OutputCDR::TAO_OutputCDR(), TAO_GIOP_Message_Base::write_protocol_header(), and TAO_GIOP_Message_Generator_Parser_12::write_request_header().

typedef Octet& CORBA::Octet_out
 

Definition at line 46 of file Basic_Types.h.

typedef sequence<octet> CORBA::OctetSeq
 

Definition at line 30 of file OctetSeq.pidl.

Referenced by TAO_GIOP_Message_Generator_Parser_10::parse_request_header(), TAO_ServerRequest::requesting_principal(), TAO_ServerRequest::send_cached_reply(), and TAO_GIOP_Message_Generator_Parser_10::write_request_header().

typedef OperationDef * CORBA::OperationDef_ptr
 

Definition at line 50 of file CORBA_methods.h.

Referenced by CORBA::ORB::create_operation_list().

typedef string CORBA::ORB_ObjectId
 

Definition at line 39 of file ObjectIdList.pidl.

typedef sequence<ORB_ObjectId> CORBA::ORB_ObjectIdList
 

Definition at line 40 of file ObjectIdList.pidl.

typedef TAO_Seq_Out_T< ORB_ObjectIdList > CORBA::ORB_ObjectIdList_out
 

Definition at line 107 of file ORB.h.

typedef TAO_VarSeq_Var_T< ORB_ObjectIdList > CORBA::ORB_ObjectIdList_var
 

Definition at line 101 of file ORB.h.

typedef TAO_Pseudo_Out_T<ORB> CORBA::ORB_out
 

Definition at line 122 of file ORB.h.

typedef ORB * CORBA::ORB_ptr
 

Definition at line 38 of file CORBA_methods.h.

Referenced by CORBA::ORB::_duplicate(), CORBA::ORB::_tao_make_ORB(), is_nil(), TAO_CORBALOC_Parser::make_stub_from_mprofile(), TAO_MCAST_Parser::multicast_query(), TAO_MCAST_Parser::multicast_to_service(), TAO_MCAST_Parser::parse_string(), TAO_HTTP_Parser::parse_string(), TAO_FILE_Parser::parse_string(), TAO_DLL_Parser::parse_string(), TAO_CORBANAME_Parser::parse_string(), TAO_CORBALOC_Parser::parse_string(), TAO_CORBALOC_Parser::parse_string_rir_helper(), release(), and TAO_Stub::servant_orb().

typedef TAO_Pseudo_Var_T<ORB> CORBA::ORB_var
 

Definition at line 121 of file ORB.h.

Referenced by TAO::Collocated_Invocation::invoke(), and TAO_ORB_Core_instance().

typedef string CORBA::ORBid
 

Definition at line 32 of file orb_types.pidl.

typedef TAO_Objref_Out_T< Policy > CORBA::Policy_out
 

Definition at line 57 of file PolicyC.cpp.

typedef Policy * CORBA::Policy_ptr
 

Definition at line 40 of file AnyTypeCode_Adapter.h.

Referenced by CORBA::Policy::_duplicate(), CORBA::Policy::_nil(), CORBA::Policy::_tao_release(), TAO_Policy_Set::copy_from(), operator<<(), operator>>(), TAO_Policy_Set::set_policy(), TAO_Policy_Set::set_policy_overrides(), TAO_Policy_Set::TAO_Policy_Set(), and TAO_MProfile::~TAO_MProfile().

typedef TAO_Objref_Var_T< Policy > CORBA::Policy_var
 

Definition at line 56 of file PolicyC.cpp.

Referenced by TAO_Policy_Set::copy_from(), TAO_Stub::get_cached_policy(), TAO_ORB_Core::get_cached_policy(), TAO_ORB_Core::get_cached_policy_including_current(), TAO_Profile::get_policies(), TAO_Stub::get_policy(), TAO_ORB_Core::get_policy(), TAO_ORB_Core::get_policy_including_current(), TAO_Policy_Set::set_policy(), and TAO_Policy_Set::TAO_Policy_Set().

typedef CORBA::Short CORBA::PolicyErrorCode
 

Definition at line 55 of file Policy.pidl.

Referenced by CORBA::PolicyError::PolicyError().

typedef CORBA::Short_out CORBA::PolicyErrorCode_out
 

Definition at line 88 of file PolicyC.h.

typedef sequence<Policy> CORBA::PolicyList
 

Definition at line 38 of file Policy_Forward.pidl.

Referenced by CORBA::Object::_set_policy_overrides(), CORBA::LocalObject::_set_policy_overrides(), TAO_ORB_Core::add_interceptor(), TAO_MProfile::create_policy_list(), TAO_ORB_Core::create_stub_object(), TAO_Profile::get_policies(), TAO_Stub::get_policy_overrides(), TAO_Policy_Set::get_policy_overrides(), TAO::Profile_Transport_Resolver::init_inconsistent_policies(), TAO_Profile::policies(), TAO_MProfile::policy_list(), TAO_Stub::set_policy_overrides(), TAO_Policy_Set::set_policy_overrides(), TAO_Policy_Manager::set_policy_overrides(), TAO_Policy_Current_Impl::set_policy_overrides(), TAO_Policy_Current::set_policy_overrides(), and TAO::Profile_Transport_Resolver::steal_inconsistent_policies().

typedef ULong CORBA::PolicyType
 

Definition at line 93 of file ORB.h.

Referenced by CORBA::ORB::_create_policy(), CORBA::Object::_get_policy(), CORBA::LocalObject::_get_policy(), CORBA::ORB::create_policy(), TAO_Stub::get_policy(), TAO_Policy_Set::get_policy(), TAO_Policy_Manager::get_policy(), TAO_Policy_Current_Impl::get_policy(), TAO_Policy_Current::get_policy(), TAO_ORB_Core::get_policy(), TAO_ORB_Core::get_policy_including_current(), TAO_Policy_Validator::legal_policy(), TAO_Policy_Set::set_policy(), and TAO_Policy_Set::set_policy_overrides().

typedef sequence<PolicyType> CORBA::PolicyTypeSeq
 

Definition at line 40 of file Policy_Forward.pidl.

Referenced by CORBA::Object::_get_policy_overrides(), CORBA::LocalObject::_get_policy_overrides(), TAO_Stub::get_policy_overrides(), TAO_Policy_Set::get_policy_overrides(), TAO_Policy_Manager::get_policy_overrides(), TAO_Policy_Current_Impl::get_policy_overrides(), and TAO_Policy_Current::get_policy_overrides().

typedef TAO_Pseudo_Out_T<Principal> CORBA::Principal_out
 

Definition at line 42 of file Principal.h.

typedef Principal * CORBA::Principal_ptr
 

Definition at line 47 of file CORBA_methods.h.

Referenced by is_nil(), and release().

typedef TAO_Pseudo_Var_T<Principal> CORBA::Principal_var
 

Definition at line 41 of file Principal.h.

typedef string CORBA::RepositoryId
 

Definition at line 35 of file orb_types.pidl.

typedef TAO_Pseudo_Out_T<Request> CORBA::Request_out
 

Definition at line 117 of file ORB.h.

typedef Request * CORBA::Request_ptr
 

Definition at line 46 of file Dynamic_Adapter.h.

Referenced by CORBA::Object::_create_request(), CORBA::LocalObject::_create_request(), and CORBA::ORB::get_next_response().

typedef TAO_Pseudo_Var_T<Request> CORBA::Request_var
 

Definition at line 116 of file ORB.h.

typedef TAO::unbounded_object_reference_sequence< CORBA::Request, CORBA::Request_var > CORBA::RequestSeq
 

Definition at line 135 of file ORB.h.

Referenced by CORBA::ORB::send_multiple_requests_deferred(), and CORBA::ORB::send_multiple_requests_oneway().

typedef TAO_Seq_Out_T< RequestSeq > CORBA::RequestSeq_out
 

Definition at line 147 of file ORB.h.

typedef TAO_VarSeq_Var_T< RequestSeq > CORBA::RequestSeq_var
 

Definition at line 141 of file ORB.h.

typedef ServerRequest* CORBA::ServerRequest_ptr
 

Definition at line 52 of file Dynamic_Adapter.h.

typedef OctetSeq CORBA::ServiceDetailData
 

Definition at line 34 of file Services.pidl.

typedef sequence<ServiceDetail> CORBA::ServiceDetailSeq
 

Definition at line 45 of file Services.pidl.

typedef unsigned long CORBA::ServiceDetailType
 

Definition at line 33 of file Services.pidl.

typedef unsigned long CORBA::ServiceOption
 

Definition at line 32 of file Services.pidl.

typedef sequence<ServiceOption> CORBA::ServiceOptionSeq
 

Definition at line 35 of file Services.pidl.

typedef unsigned short CORBA::ServiceType
 

Definition at line 112 of file ORB.h.

Referenced by CORBA::ORB::get_service_information().

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 sequence<short> CORBA::ShortSeq
 

Definition at line 29 of file ShortSeq.pidl.

typedef TAO::String_out< char > CORBA::String_out
 

Definition at line 83 of file Basic_Types.h.

Referenced by operator<<(), and operator>>().

typedef TAO::String_var< char > CORBA::String_var
 

Definition at line 82 of file Basic_Types.h.

Referenced by TAO_Object_Ref_Table::bind(), TAO::LocateRequest_Invocation::check_reply(), TAO_IIOP_Profile::decode_endpoints(), TAO_IIOP_Profile::decode_profile(), TAO_Object_Ref_Table::find(), TAO_IIOP_Transport::get_listen_point(), TAO::Synch_Twoway_Invocation::handle_system_exception(), TAO::Synch_Twoway_Invocation::handle_user_exception(), TAO_MCAST_Parser::multicast_to_service(), TAO_IIOP_Acceptor::object_key(), CORBA::ORB::object_to_string(), TAO::String_Var_Equal_To::operator()(), operator<<(), operator>>(), TAO_IIOP_Profile::parse_string_i(), CORBA::ORB::resolve_initial_references(), TAO_ORB_Core::resolve_rir(), CORBA::ORB::resolve_service(), TAO_IIOP_Profile::to_string(), and TAO_Object_Ref_Table::unbind().

typedef sequence<string> CORBA::StringSeq
 

Definition at line 27 of file StringSeq.pidl.

Referenced by TAO::ORB::open_services(), TAO_END_VERSIONED_NAMESPACE_DECL::parse_global_args_i(), TAO_END_VERSIONED_NAMESPACE_DECL::parse_private_args_i(), and TAO_END_VERSIONED_NAMESPACE_DECL::parse_svcconf_args_i().

typedef TCKind& CORBA::TCKind_out
 

Definition at line 119 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 35 of file AnyTypeCode_Adapter.h.

Referenced by CORBA::WrongTransaction::_tao_type(), CORBA::InvalidPolicies::_tao_type(), CORBA::PolicyError::_tao_type(), CORBA::ORB::create_alias_tc(), CORBA::ORB::create_array_tc(), CORBA::ORB::create_event_tc(), CORBA::ORB::create_sequence_tc(), CORBA::ORB::create_union_tc(), CORBA::ORB::create_value_box_tc(), and CORBA::ORB::create_value_tc().

typedef TAO_Pseudo_Var_T<TypeCode> CORBA::TypeCode_var
 

Definition at line 40 of file TypeCodeFactory_Adapter.h.

typedef ACE_CDR::ULong CORBA::ULong
 

Definition at line 57 of file Basic_Types.h.

Referenced by TAO_Profile::encode(), TAO_On_Demand_Fragmentation_Strategy::fragment(), TAO_Null_Fragmentation_Strategy::fragment(), TAO_OutputCDR::fragment_stream(), TAO_ORB_Parameters::max_message_size(), TAO_GIOP_Message_Base::write_protocol_header(), and TAO_GIOP_Message_Generator_Parser_10::write_reply_header().

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 sequence<unsigned long long> CORBA::ULongLongSeq
 

Definition at line 16 of file ULongLongSeq.pidl.

typedef sequence<unsigned long> CORBA::ULongSeq
 

Definition at line 20 of file ULongSeq.pidl.

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 sequence<unsigned short> CORBA::UShortSeq
 

Definition at line 27 of file UShortSeq.pidl.

typedef ValueFactoryBase * CORBA::ValueFactory
 

Definition at line 110 of file ORB.h.

Referenced by CORBA::ORB::register_value_factory().

typedef CORBA::Short CORBA::ValueModifier
 

Definition at line 124 of file ORB.h.

Referenced by CORBA::ORB::create_event_tc(), and CORBA::ORB::create_value_tc().

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 sequence<wchar> CORBA::WCharSeq
 

Definition at line 28 of file WCharSeq.pidl.

typedef TAO::String_out< CORBA::WChar > CORBA::WString_out
 

Definition at line 85 of file Basic_Types.h.

Referenced by operator<<(), and operator>>().

typedef TAO::String_var< CORBA::WChar > CORBA::WString_var
 

Definition at line 84 of file Basic_Types.h.

Referenced by TAO::String_Var_Equal_To::operator()(), operator<<(), and operator>>().

typedef sequence<wstring> CORBA::WStringSeq
 

Definition at line 28 of file WStringSeq.pidl.


Enumeration Type Documentation

enum CORBA::CompletionStatus
 

Completion status for CORBA system exceptions.

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

Enumeration values:
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.

Referenced by CORBA::SystemException::_tao_decode().

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   };

enum CORBA::exception_type
 

Enumeration values:
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   };

enum CORBA::exception_type
 

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.

Enumeration values:
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::ParameterMode
 

Enumeration values:
PARAM_IN 
PARAM_OUT 
PARAM_INOUT 

Definition at line 29 of file ParameterMode.pidl.

00030   {
00031     PARAM_IN,
00032     PARAM_OUT,
00033     PARAM_INOUT
00034   };

enum CORBA::SetOverrideType
 

Enumeration values:
SET_OVERRIDE 
ADD_OVERRIDE 

Definition at line 44 of file Policy_Forward.pidl.

00045   {
00046     SET_OVERRIDE,
00047     ADD_OVERRIDE
00048   };

enum CORBA::TCKind
 

Enumeration values:
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 73 of file Typecode_typesC.h.

00074   {
00075     tk_null,
00076     tk_void,
00077     tk_short,
00078     tk_long,
00079     tk_ushort,
00080     tk_ulong,
00081     tk_float,
00082     tk_double,
00083     tk_boolean,
00084     tk_char,
00085     tk_octet,
00086     tk_any,
00087     tk_TypeCode,
00088     tk_Principal,
00089     tk_objref,
00090     tk_struct,
00091     tk_union,
00092     tk_enum,
00093     tk_string,
00094     tk_sequence,
00095     tk_array,
00096     tk_alias,
00097     tk_except,
00098     tk_longlong,
00099     tk_ulonglong,
00100     tk_longdouble,
00101     tk_wchar,
00102     tk_wstring,
00103     tk_fixed,
00104     tk_value,
00105     tk_value_box,
00106     tk_native,
00107     tk_abstract_interface,
00108     tk_local_interface,
00109     tk_component,
00110     tk_home,
00111     tk_event
00112 
00113     // This symbol is not defined by CORBA 3.0.  It's used to speed up
00114     // dispatch based on TCKind values, and lets many important ones
00115     // just be table lookups.  It must always be the last enum value!!
00116     , TAO_TC_KIND_COUNT
00117   };

enum CORBA::TCKind
 

Enumeration values:
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 

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   };


Function Documentation

TAO_BEGIN_VERSIONED_NAMESPACE_DECL ACE_INLINE CORBA::Boolean CORBA::is_nil Principal_ptr   ) 
 

Definition at line 9 of file Principal.inl.

References Principal_ptr.

00010 {
00011   return principal == 0;
00012 }

ACE_INLINE CORBA::Boolean CORBA::is_nil Object_ptr   ) 
 

Definition at line 46 of file Object.inl.

References CORBA::Object::is_nil_i(), and Object_ptr.

00047 {
00048   if (obj == 0)
00049     {
00050       return true;
00051     }
00052 
00053   return CORBA::Object::is_nil_i (obj);
00054 }

ACE_INLINE CORBA::Boolean CORBA::is_nil ORB_ptr   ) 
 

Definition at line 85 of file ORB.inl.

References CORBA::ORB::_nil(), and ORB_ptr.

00086 {
00087   return obj == CORBA::ORB::_nil ();
00088 }

TAO_BEGIN_VERSIONED_NAMESPACE_DECL ACE_INLINE CORBA::Boolean CORBA::is_nil Environment_ptr   ) 
 

Definition at line 12 of file Environment.inl.

References Environment_ptr.

Referenced by TAO_ORB_Core::collocation_strategy(), TAO_Policy_Set::copy_from(), TAO_Adapter_Registry::dispatch(), TAO_Stub::get_cached_policy(), TAO_ORB_Core::get_cached_policy(), TAO_ORB_Core::get_cached_policy_including_current(), TAO_Profile::get_policies(), TAO_Stub::get_policy(), TAO_ORB_Core::get_policy(), TAO_ORB_Core::get_policy_including_current(), TAO_ORB_Core::implrepo_service(), TAO_ServerRequest::init_reply(), TAO_Stub::is_equivalent(), TAO_CORBALOC_Parser::make_stub_from_mprofile(), TAO::Narrow_Utils< T >::narrow(), CORBA::ORB::object_to_string(), TAO_CORBANAME_Parser::parse_string(), TAO_GIOP_Message_Base::process_locate_request(), TAO_GIOP_Message_Base::process_request(), CORBA::ORB::register_initial_reference(), release(), TAO_ORB_Core::resolve_codecfactory(), TAO_ORB_Core::resolve_compression_manager(), TAO_ORB_Core::resolve_dynanyfactory(), CORBA::ORB::resolve_initial_references(), TAO_ORB_Core::resolve_ior_manipulation(), TAO_ORB_Core::resolve_ior_table(), TAO_ORB_Core::resolve_picurrent(), TAO_ORB_Core::resolve_poa_current(), TAO_ORB_Core::resolve_rt_orb(), TAO_ORB_Core::resolve_typecodefactory(), TAO_ORB_Core::root_poa(), TAO_Policy_Set::set_policy_overrides(), TAO_Policy_Set::TAO_Policy_Set(), TAO::Narrow_Utils< T >::unchecked_narrow(), and CORBA::ORB::url_ior_string_to_object().

00013 {
00014   return env == 0;
00015 }

TAO_Export ACE_OSTREAM_TYPE & CORBA::operator<< ACE_OSTREAM_TYPE &  os,
const CORBA::Exception e
 

Definition at line 132 of file Exception.cpp.

References CORBA::Exception::_name(), and CORBA::Exception::_rep_id().

00134   {
00135     os << e->_name () << " (" << e->_rep_id () << ')';
00136 
00137     return os;
00138   }

TAO_Export ACE_OSTREAM_TYPE & CORBA::operator<< ACE_OSTREAM_TYPE &  os,
const CORBA::Exception e
 

Definition at line 124 of file Exception.cpp.

References CORBA::Exception::_name(), and CORBA::Exception::_rep_id().

00126   {
00127     os << e._name () << " (" << e._rep_id () << ')';
00128 
00129     return os;
00130   }

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

ORB Initialization

Definition at line 1143 of file ORB.cpp.

References CORBA::ORB::_duplicate(), CORBA::ORB::_nil(), ACE_CString, ACE_DEBUG, ACE_ERROR, ACE_GUARD_RETURN, ACE_NEW_THROW_EX, ACE_TCHAR, ACE_TEXT, ACE_TEXT_CHAR_TO_TCHAR, ACE_Service_Config::current(), ENOTSUP, 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::parse_orb_opt(), TAO::ORBInitializer_Registry_Adapter::post_init(), TAO::ORBInitializer_Registry_Adapter::pre_init(), ACE_Auto_Basic_Ptr< X >::release(), TAO_ORB_Core_Auto_Ptr::reset(), ACE_Auto_Basic_Ptr< X >::reset(), PortableInterceptor::SlotId, ACE_OS::strcasecmp(), ACE_OS::strlen(), ACE_OS::strncmp(), TAO_debug_level, TAO_ORB_CORE_INIT_LOCATION_CODE, and TAO_SYNCH_RECURSIVE_MUTEX.

Referenced by TAO_ORB_Core_instance().

01144 {
01145   // Use this string variable to hold the orbid
01146   ACE_CString orbid_string (orbid);
01147 
01148   // Copy command line parameter not to use original.
01149   ACE_Argv_Type_Converter command_line(argc, argv);
01150 
01151   {
01152     // Using ACE_Static_Object_Lock::instance() precludes ORB_init()
01153     // from being called within a static object CTOR.
01154     ACE_MT (ACE_GUARD_RETURN (TAO_SYNCH_RECURSIVE_MUTEX,
01155                               guard,
01156                               *ACE_Static_Object_Lock::instance (),
01157                               CORBA::ORB::_nil ()));
01158 
01159     // Make sure TAO's singleton manager is initialized.
01160     // We need to initialize before TAO_default_environment() is called
01161     // since that call instantiates a TAO_TSS_Singleton.
01162     if (TAO_Singleton_Manager::instance ()->init () == -1)
01163       {
01164         return CORBA::ORB::_nil ();
01165       }
01166 
01167     TAO::ORB::init_orb_globals ();
01168   }
01169 
01170   // Make sure the following is done after the global ORB
01171   // initialization since we need to have exceptions initialized.
01172 
01173   // It doesn't make sense for argc to be zero and argv to be
01174   // non-empty/zero, or for argc to be greater than zero and argv be
01175   // zero.
01176   size_t const argv0_len =
01177     (command_line.get_TCHAR_argv ()
01178      ? (*command_line.get_TCHAR_argv ()
01179         ? ACE_OS::strlen (*command_line.get_TCHAR_argv ())
01180         : 0)
01181      : 0);
01182 
01183   if ((command_line.get_argc () == 0 && argv0_len != 0)
01184       || (command_line.get_argc () != 0
01185           && (command_line.get_TCHAR_argv () == 0
01186               || command_line.get_TCHAR_argv ()[0] == 0)))
01187     {
01188       throw ::CORBA::BAD_PARAM (
01189         CORBA::SystemException::_tao_minor_code (
01190           0,
01191           EINVAL),
01192         CORBA::COMPLETED_NO);
01193     }
01194 
01195   TAO::parse_orb_opt (command_line, ACE_TEXT("-ORBid"), orbid_string);
01196 
01197   // Get ORB Core
01198   TAO_ORB_Core_Auto_Ptr oc (
01199     TAO::ORB_Table::instance ()->find (orbid_string.c_str ()));
01200 
01201     // The ORB was already initialized.  Just return that one.
01202   if (oc.get () != 0)
01203     {
01204       return CORBA::ORB::_duplicate (oc->orb ());
01205     }
01206 
01207 
01208   // Determine the service object registry this ORB will use. The choises
01209   // are: (a) the legacy (global); (b) its own, local, or (c) share somebody
01210   // else's configuration
01211 
01212   // By default use the process (application?) global configuration context
01213   ACE_Service_Gestalt* gestalt = ACE_Service_Config::current ();
01214 
01215   // Use this string variable to hold the config identity
01216   ACE_CString orbconfig_string;
01217   ACE_Auto_Ptr<ACE_Service_Gestalt> guard_gestalt(0);
01218 
01219   if (TAO::parse_orb_opt (command_line,
01220                          ACE_TEXT("-ORBGestalt"),
01221                          orbconfig_string))
01222     {
01223       const ACE_TCHAR *arg = ACE_TEXT_CHAR_TO_TCHAR(orbconfig_string.c_str ());
01224       const ACE_TCHAR *local = ACE_TEXT("LOCAL");
01225       const ACE_TCHAR *shared = ACE_TEXT("ORB:");
01226       // Need a local repo? Make one which typically should not be as
01227       // big as the default repository
01228       if  (ACE_OS::strcasecmp (arg,local) == 0)
01229         {
01230           ACE_NEW_THROW_EX (gestalt,
01231                             ACE_Service_Gestalt
01232                             (ACE_Service_Gestalt::MAX_SERVICES / 4, true),
01233                             CORBA::NO_MEMORY
01234                             (CORBA::SystemException::_tao_minor_code (0,
01235                                                                       ENOMEM),
01236                              CORBA::COMPLETED_NO));
01237           guard_gestalt.reset(gestalt);
01238         }
01239       else if (ACE_OS::strncmp (arg, shared, sizeof (shared) - 1) == 0)
01240         {
01241           // @TODO: At some point, we need to implement a lookup of an
01242           // existing configuration context based on the orbid
01243           // following the "ORB:" It may be the case that contexts may
01244           // be initialized separate from the ORB of the same ID, in
01245           // which case we would need some sort of table of contexts
01246           // at which point we would either find this one or make a
01247           // new one. And making a new one would require assigning it
01248           // to the guard_gestalt just like the local.
01249           if (TAO_debug_level > 0)
01250             {
01251               ACE_ERROR ((LM_ERROR,
01252                           ACE_TEXT ("ERROR: Sharing ORB configuration ")
01253                           ACE_TEXT ("contexts is not yet supported\n")));
01254             }
01255 
01256           throw ::CORBA::BAD_PARAM
01257             (CORBA::SystemException::_tao_minor_code
01258              ( TAO_ORB_CORE_INIT_LOCATION_CODE,
01259                ENOTSUP),
01260              CORBA::COMPLETED_NO);
01261         }
01262       else
01263         {
01264           if (TAO_debug_level > 0)
01265             {
01266               ACE_ERROR ((LM_ERROR,
01267                           ACE_TEXT ("ERROR: -ORBGestalt unknown value <%s>\n"),
01268                           orbconfig_string.c_str()));
01269             }
01270 
01271           throw ::CORBA::BAD_PARAM
01272             (CORBA::SystemException::_tao_minor_code
01273              ( TAO_ORB_CORE_INIT_LOCATION_CODE,
01274                EINVAL),
01275              CORBA::COMPLETED_NO);
01276         }
01277     }
01278 
01279   // An ORB corresponding to the desired ORBid doesn't exist so create
01280   // a new one.
01281   TAO_ORB_Core * tmp = 0;
01282   ACE_NEW_THROW_EX (tmp,
01283                     TAO_ORB_Core (orbid_string.c_str (), gestalt),
01284                     CORBA::NO_MEMORY (
01285                       CORBA::SystemException::_tao_minor_code (0,
01286                                                                ENOMEM),
01287                       CORBA::COMPLETED_NO));
01288 
01289   // The ORB table increases the reference count on the ORB Core
01290   // so do not release it here.  Allow the TAO_ORB_Core_Auto_Ptr
01291   // to decrease the reference count on the ORB Core when it goes
01292   // out of scope.
01293   oc.reset (tmp);
01294 
01295   // The ORB now owns its configuration and the auto pointer is not
01296   // necessary anymore.
01297   guard_gestalt.release ();
01298 
01299   // Having the ORB's default static services be shared among all ORBs
01300   // is tempting from the point of view of reducing the dynamic
01301   // footprint. However, if the ORB in a DLL and the rest of that
01302   // application most likely neither cares, nor wishes to know about
01303   // them. Furthermore, if the ORB DLL gets unloaded, the static
01304   // services it had registered globaly will no longer be accesible,
01305   // which will have disastrous consequences at the process
01306   // shutdown. Hence, the ACE_Service_Config_Guard ensures that for
01307   // the current thread, any references to the global
01308   // ACE_Service_Config will be re-routed to this ORB's service gestalt.
01309 
01310   ACE_Service_Config_Guard scg (oc->configuration ());
01311 
01312   // Initialize the Service Configurator.  This must occur before the
01313   // ORBInitializer::pre_init() method is invoked on each registered
01314   // ORB initializer.
01315   int result = TAO::ORB::open_services (oc->configuration (),
01316                                         command_line.get_argc (),
01317                                         command_line.get_TCHAR_argv ());
01318 
01319   // Check for errors returned from <TAO_Internal::open_services>.
01320   if (result != 0 && errno != ENOENT)
01321     {
01322       ACE_ERROR ((LM_ERROR,
01323                   ACE_TEXT ("(%P|%t) %p\n"),
01324                   ACE_TEXT ("Unable to initialize the ")
01325                   ACE_TEXT ("Service Configurator")));
01326       throw ::CORBA::INITIALIZE (
01327         CORBA::SystemException::_tao_minor_code (
01328           TAO_ORB_CORE_INIT_LOCATION_CODE,
01329           0),
01330         CORBA::COMPLETED_NO);
01331     }
01332 
01333   TAO::ORBInitializer_Registry_Adapter * orbinitializer_registry =
01334     oc.get ()->orbinitializer_registry ();
01335 
01336   PortableInterceptor::SlotId slotid = 0;
01337   size_t pre_init_count = 0;
01338 
01339   if (orbinitializer_registry != 0)
01340     {
01341       pre_init_count =
01342         orbinitializer_registry->pre_init (oc.get (),
01343                                            command_line.get_argc(),
01344                                            command_line.get_ASCII_argv(),
01345                                            slotid);
01346     }
01347 
01348   // Initialize the ORB Core instance.
01349   result = oc->init (command_line.get_argc(),
01350                      command_line.get_ASCII_argv());
01351 
01352   if (orbinitializer_registry != 0)
01353     {
01354       orbinitializer_registry->post_init (pre_init_count,
01355                                           oc.get (),
01356                                           command_line.get_argc(),
01357                                           command_line.get_ASCII_argv(),
01358                                           slotid);
01359     }
01360 
01361   if (TAO_debug_level > 2)
01362     {
01363       ACE_DEBUG ((LM_DEBUG,
01364                   ACE_TEXT("TAO (%P|%t) created new ORB <%s>\n"),
01365                   ACE_TEXT_CHAR_TO_TCHAR (orbid_string.c_str ())));
01366     }
01367 
01368   // Before returning remember to store the ORB into the table...
01369   if (TAO::ORB_Table::instance ()->bind (orbid_string.c_str (),
01370                                          oc.get ()) != 0)
01371     throw ::CORBA::INTERNAL (0, CORBA::COMPLETED_NO);
01372 
01373   // Return a duplicate since the ORB_Core should release the last
01374   // reference to the ORB.
01375   return CORBA::ORB::_duplicate (oc->orb ());
01376 }

ACE_INLINE void CORBA::release Principal_ptr   ) 
 

Definition at line 28 of file Principal.inl.

References CORBA::Principal::_decr_refcnt(), and Principal_ptr.

00029 {
00030   if (principal)
00031     {
00032       principal->_decr_refcnt ();
00033     }
00034 }

ACE_INLINE void CORBA::release Object_ptr   ) 
 

Definition at line 36 of file Object.inl.

References CORBA::Object::_remove_ref(), and Object_ptr.

00037 {
00038   if (obj)
00039     {
00040       obj->_remove_ref ();
00041     }
00042 }

ACE_INLINE void CORBA::release ORB_ptr   ) 
 

Definition at line 91 of file ORB.inl.

References CORBA::ORB::_decr_refcnt(), is_nil(), and ORB_ptr.

00092 {
00093   if (!CORBA::is_nil (obj))
00094     obj->_decr_refcnt ();
00095 }

ACE_INLINE void CORBA::release Environment_ptr   ) 
 

Definition at line 19 of file Environment.inl.

References Environment_ptr.

Referenced by TAO_ORB_Core::shutdown().

00020 {
00021   delete env;
00022 }

char * CORBA::string_alloc ULong  len  ) 
 

Definition at line 40 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().

00041 {
00042   // Allocate 1 + strlen to accomodate the null terminating character.
00043   char *s = 0;
00044   ACE_NEW_RETURN (s,
00045                   char[size_t (len + 1)],
00046                   0);
00047 
00048   s[0]= '\0';
00049 
00050   return s;
00051 }

TAO_BEGIN_VERSIONED_NAMESPACE_DECL char * CORBA::string_dup const char *   ) 
 

Definition at line 17 of file String_Alloc.cpp.

References ACE_OS::memcpy(), string_alloc(), and ACE_OS::strlen().

Referenced by TAO_IIOP_Endpoint::add_local_endpoint(), TAO_Default_Resource_Factory::add_to_ior_parser_names(), TAO_ORB_Parameters::default_init_ref(), TAO::details::string_traits_base< char >::default_initializer(), TAO_IIOP_Acceptor::dotted_decimal_address(), TAO::details::string_traits_base< char >::duplicate(), CORBA::Exception::Exception(), TAO_IIOP_Transport::get_listen_point(), TAO_Default_Resource_Factory::get_parser_names(), TAO_IIOP_Acceptor::hostname(), CORBA::ORB::id(), TAO_ORB_Core::list_initial_references(), TAO_ORB_Parameters::mcast_discovery_endpoint(), CORBA::Exception::operator=(), TAO_END_VERSIONED_NAMESPACE_DECL::parse_global_args_i(), TAO_END_VERSIONED_NAMESPACE_DECL::parse_private_args_i(), TAO_IIOP_Profile::parse_string_i(), TAO_END_VERSIONED_NAMESPACE_DECL::parse_svcconf_args_i(), TAO_IIOP_Endpoint::preferred_interfaces(), and TAO_IIOP_Endpoint::set().

00018 {
00019   if (!str)
00020     {
00021       errno = EINVAL;
00022       return 0;
00023     }
00024 
00025   size_t const len = ACE_OS::strlen (str);
00026 
00027   // This allocates an extra byte for the '\0';
00028   char * copy = CORBA::string_alloc (static_cast<CORBA::ULong> (len));
00029 
00030   if (copy != 0)
00031     {
00032       // The memcpy() assumes that the destination is a valid buffer.
00033       ACE_OS::memcpy (copy, str, len + 1);
00034     }
00035 
00036   return copy;
00037 }

void CORBA::string_free char *   ) 
 

Definition at line 54 of file String_Alloc.cpp.

Referenced by TAO_ServerRequest::operation(), TAO::details::string_traits_base< char >::release(), TAO_Default_Resource_Factory::~TAO_Default_Resource_Factory(), TAO_IIOP_Acceptor::~TAO_IIOP_Acceptor(), and TAO_ServerRequest::~TAO_ServerRequest().

00055 {
00056   delete [] str;
00057 }

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

Definition at line 83 of file String_Alloc.cpp.

References ACE_NEW_RETURN.

Referenced by TAO::details::string_traits_base< CORBA::WChar >::allocate(), and operator>>().

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 }

TAO_Export WChar* wstring_dup const WChar *  const  ) 
 

Referenced by TAO::details::string_traits_base< CORBA::WChar >::default_initializer(), and TAO::details::string_traits_base< CORBA::WChar >::duplicate().

void CORBA::wstring_free WChar *  const  ) 
 

Definition at line 94 of file String_Alloc.cpp.

Referenced by TAO::details::string_traits_base< CORBA::WChar >::release().

00095 {
00096   delete [] str;
00097 }


Variable Documentation

const CORBA::PolicyErrorCode CORBA::BAD_POLICY = 0
 

Definition at line 93 of file PolicyC.h.

const CORBA::PolicyErrorCode CORBA::BAD_POLICY_TYPE = 2
 

Definition at line 103 of file PolicyC.h.

const CORBA::PolicyErrorCode CORBA::BAD_POLICY_VALUE = 3
 

Definition at line 108 of file PolicyC.h.

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.

local interface CORBA::PolicyCurrent
 

Definition at line 42 of file Policy_Forward.pidl.

const ServiceType CORBA::Security = 1
 

Definition at line 37 of file Services.pidl.

const CORBA::PolicyErrorCode CORBA::UNSUPPORTED_POLICY = 1
 

Definition at line 98 of file PolicyC.h.

const CORBA::PolicyErrorCode CORBA::UNSUPPORTED_POLICY_VALUE = 4
 

Definition at line 113 of file PolicyC.h.


Generated on Sun Jan 27 13:17:09 2008 for TAO by doxygen 1.3.6