summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--TAO/TAO_IDL/be/be_codegen.cpp2
-rw-r--r--TAO/TAO_IDL/be/be_interface.cpp6
-rw-r--r--TAO/TAO_IDL/be/be_visitor_interface/interface_sh.cpp10
-rw-r--r--TAO/TAO_IDL/be/be_visitor_interface/interface_ss.cpp56
-rw-r--r--TAO/orbsvcs/IFR_Service/AbstractInterfaceDef_i.cpp30
-rw-r--r--TAO/orbsvcs/IFR_Service/AbstractInterfaceDef_i.h66
-rw-r--r--TAO/orbsvcs/IFR_Service/AliasDef_i.cpp22
-rw-r--r--TAO/orbsvcs/IFR_Service/AliasDef_i.h12
-rw-r--r--TAO/orbsvcs/IFR_Service/ArrayDef_i.cpp36
-rw-r--r--TAO/orbsvcs/IFR_Service/ArrayDef_i.h12
-rw-r--r--TAO/orbsvcs/IFR_Service/AttributeDef_i.cpp86
-rw-r--r--TAO/orbsvcs/IFR_Service/AttributeDef_i.h30
-rw-r--r--TAO/orbsvcs/IFR_Service/ComponentDef_i.cpp92
-rw-r--r--TAO/orbsvcs/IFR_Service/ComponentDef_i.h82
-rw-r--r--TAO/orbsvcs/IFR_Service/ComponentRepository_i.cpp32
-rw-r--r--TAO/orbsvcs/IFR_Service/ComponentRepository_i.h32
-rw-r--r--TAO/orbsvcs/IFR_Service/ConstantDef_i.cpp34
-rw-r--r--TAO/orbsvcs/IFR_Service/ConstantDef_i.h16
-rw-r--r--TAO/orbsvcs/IFR_Service/ConsumesDef_i.cpp8
-rw-r--r--TAO/orbsvcs/IFR_Service/ConsumesDef_i.h8
-rw-r--r--TAO/orbsvcs/IFR_Service/Contained_i.cpp185
-rw-r--r--TAO/orbsvcs/IFR_Service/Contained_i.h24
-rw-r--r--TAO/orbsvcs/IFR_Service/Container_i.cpp1022
-rw-r--r--TAO/orbsvcs/IFR_Service/Container_i.h183
-rw-r--r--TAO/orbsvcs/IFR_Service/EmitsDef_i.cpp8
-rw-r--r--TAO/orbsvcs/IFR_Service/EmitsDef_i.h8
-rw-r--r--TAO/orbsvcs/IFR_Service/EnumDef_i.cpp18
-rw-r--r--TAO/orbsvcs/IFR_Service/EnumDef_i.h12
-rw-r--r--TAO/orbsvcs/IFR_Service/EventDef_i.cpp8
-rw-r--r--TAO/orbsvcs/IFR_Service/EventDef_i.h10
-rw-r--r--TAO/orbsvcs/IFR_Service/ExceptionDef_i.cpp42
-rw-r--r--TAO/orbsvcs/IFR_Service/ExceptionDef_i.h17
-rw-r--r--TAO/orbsvcs/IFR_Service/FactoryDef_i.cpp8
-rw-r--r--TAO/orbsvcs/IFR_Service/FactoryDef_i.h8
-rw-r--r--TAO/orbsvcs/IFR_Service/FinderDef_i.cpp8
-rw-r--r--TAO/orbsvcs/IFR_Service/FinderDef_i.h8
-rw-r--r--TAO/orbsvcs/IFR_Service/FixedDef_i.cpp4
-rw-r--r--TAO/orbsvcs/IFR_Service/FixedDef_i.h4
-rw-r--r--TAO/orbsvcs/IFR_Service/HomeDef_i.cpp92
-rw-r--r--TAO/orbsvcs/IFR_Service/HomeDef_i.h62
-rw-r--r--TAO/orbsvcs/IFR_Service/IDLType_i.h2
-rw-r--r--TAO/orbsvcs/IFR_Service/IFR.dsw12
-rw-r--r--TAO/orbsvcs/IFR_Service/IFR_BaseS.cpp8646
-rw-r--r--TAO/orbsvcs/IFR_Service/IFR_BaseS.h4188
-rw-r--r--TAO/orbsvcs/IFR_Service/IFR_BaseS.i321
-rw-r--r--TAO/orbsvcs/IFR_Service/IFR_BaseS_T.cpp32
-rw-r--r--TAO/orbsvcs/IFR_Service/IFR_BaseS_T.h53
-rw-r--r--TAO/orbsvcs/IFR_Service/IFR_BaseS_T.i1244
-rw-r--r--TAO/orbsvcs/IFR_Service/IFR_BasicS.cpp19809
-rw-r--r--TAO/orbsvcs/IFR_Service/IFR_BasicS.h15064
-rw-r--r--TAO/orbsvcs/IFR_Service/IFR_BasicS.i5151
-rw-r--r--TAO/orbsvcs/IFR_Service/IFR_BasicS_T.cpp32
-rw-r--r--TAO/orbsvcs/IFR_Service/IFR_BasicS_T.h53
-rw-r--r--TAO/orbsvcs/IFR_Service/IFR_BasicS_T.i8217
-rw-r--r--TAO/orbsvcs/IFR_Service/IFR_ComponentsS.cpp11544
-rw-r--r--TAO/orbsvcs/IFR_Service/IFR_ComponentsS.h9368
-rw-r--r--TAO/orbsvcs/IFR_Service/IFR_ComponentsS.i3711
-rw-r--r--TAO/orbsvcs/IFR_Service/IFR_ComponentsS_T.cpp32
-rw-r--r--TAO/orbsvcs/IFR_Service/IFR_ComponentsS_T.h53
-rw-r--r--TAO/orbsvcs/IFR_Service/IFR_ComponentsS_T.i5341
-rw-r--r--TAO/orbsvcs/IFR_Service/IFR_ExtendedS.cpp7452
-rw-r--r--TAO/orbsvcs/IFR_Service/IFR_ExtendedS.h4424
-rw-r--r--TAO/orbsvcs/IFR_Service/IFR_ExtendedS.i936
-rw-r--r--TAO/orbsvcs/IFR_Service/IFR_ExtendedS_T.cpp32
-rw-r--r--TAO/orbsvcs/IFR_Service/IFR_ExtendedS_T.h53
-rw-r--r--TAO/orbsvcs/IFR_Service/IFR_ExtendedS_T.i1758
-rw-r--r--TAO/orbsvcs/IFR_Service/IFR_Service.bor5
-rw-r--r--TAO/orbsvcs/IFR_Service/IFR_Service.cpp3
-rw-r--r--TAO/orbsvcs/IFR_Service/IFR_Service.dsp98
-rw-r--r--TAO/orbsvcs/IFR_Service/IFR_Service.h3
-rw-r--r--TAO/orbsvcs/IFR_Service/IRObject_i.cpp1
-rw-r--r--TAO/orbsvcs/IFR_Service/IRObject_i.h8
-rw-r--r--TAO/orbsvcs/IFR_Service/InterfaceDef_i.cpp526
-rw-r--r--TAO/orbsvcs/IFR_Service/InterfaceDef_i.h117
-rw-r--r--TAO/orbsvcs/IFR_Service/InterfaceS.cpp46153
-rw-r--r--TAO/orbsvcs/IFR_Service/InterfaceS.h30903
-rw-r--r--TAO/orbsvcs/IFR_Service/InterfaceS.i8725
-rw-r--r--TAO/orbsvcs/IFR_Service/InterfaceS_T.cpp23
-rw-r--r--TAO/orbsvcs/IFR_Service/InterfaceS_T.h40
-rw-r--r--TAO/orbsvcs/IFR_Service/InterfaceS_T.i14617
-rw-r--r--TAO/orbsvcs/IFR_Service/LocalInterfaceDef_i.cpp30
-rw-r--r--TAO/orbsvcs/IFR_Service/LocalInterfaceDef_i.h66
-rw-r--r--TAO/orbsvcs/IFR_Service/Makefile2
-rw-r--r--TAO/orbsvcs/IFR_Service/Makefile.IFR_Service10
-rw-r--r--TAO/orbsvcs/IFR_Service/Makefile.TypeCodeFactory966
-rw-r--r--TAO/orbsvcs/IFR_Service/Makefile.am10
-rw-r--r--TAO/orbsvcs/IFR_Service/Makefile.bor1
-rw-r--r--TAO/orbsvcs/IFR_Service/ModuleDef_i.cpp16
-rw-r--r--TAO/orbsvcs/IFR_Service/ModuleDef_i.h9
-rw-r--r--TAO/orbsvcs/IFR_Service/NativeDef_i.cpp4
-rw-r--r--TAO/orbsvcs/IFR_Service/NativeDef_i.h4
-rw-r--r--TAO/orbsvcs/IFR_Service/OperationDef_i.cpp110
-rw-r--r--TAO/orbsvcs/IFR_Service/OperationDef_i.h50
-rw-r--r--TAO/orbsvcs/IFR_Service/PrimaryKeyDef_i.cpp12
-rw-r--r--TAO/orbsvcs/IFR_Service/PrimaryKeyDef_i.h12
-rw-r--r--TAO/orbsvcs/IFR_Service/PrimitiveDef_i.cpp58
-rw-r--r--TAO/orbsvcs/IFR_Service/PrimitiveDef_i.h8
-rw-r--r--TAO/orbsvcs/IFR_Service/ProvidesDef_i.cpp14
-rw-r--r--TAO/orbsvcs/IFR_Service/ProvidesDef_i.h12
-rw-r--r--TAO/orbsvcs/IFR_Service/PublishesDef_i.cpp8
-rw-r--r--TAO/orbsvcs/IFR_Service/PublishesDef_i.h8
-rw-r--r--TAO/orbsvcs/IFR_Service/README42
-rw-r--r--TAO/orbsvcs/IFR_Service/Repository_i.cpp121
-rw-r--r--TAO/orbsvcs/IFR_Service/Repository_i.h54
-rw-r--r--TAO/orbsvcs/IFR_Service/SequenceDef_i.cpp38
-rw-r--r--TAO/orbsvcs/IFR_Service/SequenceDef_i.h12
-rw-r--r--TAO/orbsvcs/IFR_Service/Servant_Factory.cpp511
-rw-r--r--TAO/orbsvcs/IFR_Service/Servant_Factory.h3
-rw-r--r--TAO/orbsvcs/IFR_Service/Servant_Locator.cpp1
-rw-r--r--TAO/orbsvcs/IFR_Service/Servant_Locator.h4
-rw-r--r--TAO/orbsvcs/IFR_Service/StringDef_i.cpp4
-rw-r--r--TAO/orbsvcs/IFR_Service/StringDef_i.h4
-rw-r--r--TAO/orbsvcs/IFR_Service/StructDef_i.cpp32
-rw-r--r--TAO/orbsvcs/IFR_Service/StructDef_i.h12
-rw-r--r--TAO/orbsvcs/IFR_Service/TCF_Export.h40
-rw-r--r--TAO/orbsvcs/IFR_Service/TCF_Loader.cpp55
-rw-r--r--TAO/orbsvcs/IFR_Service/TCF_Loader.h77
-rw-r--r--TAO/orbsvcs/IFR_Service/TypeCodeFactoryC.cpp81
-rw-r--r--TAO/orbsvcs/IFR_Service/TypeCodeFactoryC.h319
-rw-r--r--TAO/orbsvcs/IFR_Service/TypeCodeFactoryC.inl177
-rw-r--r--TAO/orbsvcs/IFR_Service/TypeCodeFactory_DLL.bor34
-rw-r--r--TAO/orbsvcs/IFR_Service/TypeCodeFactory_DLL.dsp137
-rw-r--r--TAO/orbsvcs/IFR_Service/TypeCodeFactory_i.cpp811
-rw-r--r--TAO/orbsvcs/IFR_Service/TypeCodeFactory_i.h226
-rw-r--r--TAO/orbsvcs/IFR_Service/TypedefDef_i.cpp12
-rw-r--r--TAO/orbsvcs/IFR_Service/TypedefDef_i.h6
-rw-r--r--TAO/orbsvcs/IFR_Service/UnionDef_i.cpp48
-rw-r--r--TAO/orbsvcs/IFR_Service/UnionDef_i.h22
-rw-r--r--TAO/orbsvcs/IFR_Service/UsesDef_i.cpp14
-rw-r--r--TAO/orbsvcs/IFR_Service/UsesDef_i.h12
-rw-r--r--TAO/orbsvcs/IFR_Service/ValueBoxDef_i.cpp24
-rw-r--r--TAO/orbsvcs/IFR_Service/ValueBoxDef_i.h12
-rw-r--r--TAO/orbsvcs/IFR_Service/ValueDef_i.cpp115
-rw-r--r--TAO/orbsvcs/IFR_Service/ValueDef_i.h100
-rw-r--r--TAO/orbsvcs/IFR_Service/ValueMemberDef_i.cpp18
-rw-r--r--TAO/orbsvcs/IFR_Service/ValueMemberDef_i.h16
-rw-r--r--TAO/orbsvcs/IFR_Service/WstringDef_i.cpp4
-rw-r--r--TAO/orbsvcs/IFR_Service/WstringDef_i.h4
-rw-r--r--TAO/orbsvcs/IFR_Service/be_global.cpp14
-rw-r--r--TAO/orbsvcs/IFR_Service/be_global.h12
-rw-r--r--TAO/orbsvcs/IFR_Service/concrete_classes.h2
-rw-r--r--TAO/orbsvcs/IFR_Service/ifr_adding_visitor.cpp316
-rw-r--r--TAO/orbsvcs/IFR_Service/ifr_adding_visitor.h6
-rw-r--r--TAO/orbsvcs/IFR_Service/ifr_adding_visitor_exception.cpp62
-rw-r--r--TAO/orbsvcs/IFR_Service/ifr_adding_visitor_exception.h6
-rw-r--r--TAO/orbsvcs/IFR_Service/ifr_adding_visitor_operation.cpp36
-rw-r--r--TAO/orbsvcs/IFR_Service/ifr_adding_visitor_operation.h2
-rw-r--r--TAO/orbsvcs/IFR_Service/ifr_adding_visitor_structure.cpp46
-rw-r--r--TAO/orbsvcs/IFR_Service/ifr_adding_visitor_structure.h6
-rw-r--r--TAO/orbsvcs/IFR_Service/ifr_adding_visitor_union.cpp52
-rw-r--r--TAO/orbsvcs/IFR_Service/ifr_adding_visitor_union.h6
-rw-r--r--TAO/orbsvcs/IFR_Service/ifr_removing_visitor.cpp2
-rw-r--r--TAO/orbsvcs/IFR_Service/ifr_visitor.cpp4
-rw-r--r--TAO/orbsvcs/IFR_Service/tmplinst.cpp108
-rw-r--r--TAO/tao/Domain/DomainS.cpp18
-rw-r--r--TAO/tao/Domain/DomainS.h2
-rw-r--r--TAO/tao/PortableServer/Direct_Object_Proxy_Impl.cpp25
-rw-r--r--TAO/tao/PortableServer/Direct_Object_Proxy_Impl.h8
-rw-r--r--TAO/tao/PortableServer/Servant_Base.cpp22
-rw-r--r--TAO/tao/PortableServer/Servant_Base.h5
-rw-r--r--TAO/tao/PortableServer/ThruPOA_Object_Proxy_Impl.cpp42
-rw-r--r--TAO/tao/PortableServer/ThruPOA_Object_Proxy_Impl.h5
162 files changed, 110741 insertions, 105831 deletions
diff --git a/TAO/TAO_IDL/be/be_codegen.cpp b/TAO/TAO_IDL/be/be_codegen.cpp
index cdd8a0e76d6..d6740061f40 100644
--- a/TAO/TAO_IDL/be/be_codegen.cpp
+++ b/TAO/TAO_IDL/be/be_codegen.cpp
@@ -783,6 +783,8 @@ TAO_CodeGen::start_server_skeletons (const char *fname)
<< "#include \"tao/TAO_Server_Request.h\"\n"
<< "#include \"tao/ORB_Core.h\"\n"
<< "#include \"tao/Stub.h\"\n"
+ << "#include \"tao/IFR_Client_Adapter.h\"\n"
+ << "#include \"ace/Dynamic_Service.h\"\n"
<< "\n";
// Include the RequestInfo_Util utility header. Used by the
diff --git a/TAO/TAO_IDL/be/be_interface.cpp b/TAO/TAO_IDL/be/be_interface.cpp
index 983c84d0aad..a1d7ee8e49b 100644
--- a/TAO/TAO_IDL/be/be_interface.cpp
+++ b/TAO/TAO_IDL/be/be_interface.cpp
@@ -1152,6 +1152,12 @@ be_interface::gen_operation_table (void)
<< "::_non_existent_skel\n";
this->skel_count_++;
+ os->indent ();
+ *os << "_interface, &"
+ << this->full_skel_name ()
+ << "::_interface_skel\n";
+ this->skel_count_++;
+
// Input to the gperf is ready. Run gperf and get things
// done. This method also unlinks the temp file that we used
// for the gperf.
diff --git a/TAO/TAO_IDL/be/be_visitor_interface/interface_sh.cpp b/TAO/TAO_IDL/be/be_visitor_interface/interface_sh.cpp
index 669f86cf5d7..d60caac05e2 100644
--- a/TAO/TAO_IDL/be/be_visitor_interface/interface_sh.cpp
+++ b/TAO/TAO_IDL/be/be_visitor_interface/interface_sh.cpp
@@ -153,6 +153,16 @@ be_visitor_interface_sh::visit_interface (be_interface *node)
<< be_uidt << be_uidt_nl
<< ");\n" << be_uidt_nl;
+ // add a skeleton for our _interface method
+ *os << "static void _interface_skel (" << be_idt << be_idt_nl
+ << "TAO_ServerRequest &req," << be_nl
+ << "void *obj," << be_nl
+ << "void *context," << be_nl
+ << "CORBA::Environment &ACE_TRY_ENV = " << be_idt_nl
+ << "TAO_default_environment ()"
+ << be_uidt << be_uidt_nl
+ << ");\n" << be_uidt_nl;
+
// add the dispatch method
*os << "virtual void _dispatch (" << be_idt << be_idt_nl
<< "TAO_ServerRequest &_tao_req," << be_nl
diff --git a/TAO/TAO_IDL/be/be_visitor_interface/interface_ss.cpp b/TAO/TAO_IDL/be/be_visitor_interface/interface_ss.cpp
index 45bfad444a4..821d32adf01 100644
--- a/TAO/TAO_IDL/be/be_visitor_interface/interface_ss.cpp
+++ b/TAO/TAO_IDL/be/be_visitor_interface/interface_ss.cpp
@@ -243,7 +243,7 @@ be_visitor_interface_ss::visit_interface (be_interface *node)
-1);
}
- // generate code for the _is_a skeleton
+ // Generate code for the _is_a skeleton.
os->indent ();
*os << "void " << node->full_skel_name ()
<< "::_is_a_skel (" << be_idt << be_idt_nl
@@ -275,7 +275,7 @@ be_visitor_interface_ss::visit_interface (be_interface *node)
*os << "}" << be_nl << be_nl;
- // generate code for the _non_existent skeleton
+ // Generate code for the _non_existent skeleton.
*os << "void " << node->full_skel_name ()
<< "::_non_existent_skel (" << be_idt << be_idt_nl
<< "TAO_ServerRequest &_tao_server_request, " << be_nl
@@ -297,6 +297,53 @@ be_visitor_interface_ss::visit_interface (be_interface *node)
*os << "ACE_THROW (CORBA::MARSHAL ());" << be_uidt << be_uidt_nl;
*os << "}\n\n";
+ // Generate code for the _interface skeleton.
+ *os << "void " << node->full_skel_name ()
+ << "::_interface_skel (" << be_idt << be_idt_nl
+ << "TAO_ServerRequest &_tao_server_request, " << be_nl
+ << "void * _tao_object_reference," << be_nl
+ << "void * /* context */," << be_nl
+ << "CORBA::Environment &ACE_TRY_ENV" << be_uidt_nl
+ << ")" << be_uidt_nl;
+ *os << "{" << be_idt_nl;
+ *os << node->full_skel_name () << " *_tao_impl = ("
+ << node->full_skel_name () << " *) _tao_object_reference;" << be_nl
+ << "CORBA_InterfaceDef_ptr _tao_retval = 0;" << be_nl
+ << "CORBA::Boolean _tao_result = 0;" << be_nl << be_nl;
+ *os << "TAO_IFR_Client_Adapter *_tao_adapter =" << be_idt_nl
+ << "ACE_Dynamic_Service<TAO_IFR_Client_Adapter>::instance ("
+ << be_idt << be_idt_nl
+ << "TAO_ORB_Core::ifr_client_adapter_name ()" << be_uidt_nl
+ << ");" << be_uidt_nl << be_uidt_nl;
+ *os << "if (_tao_adapter == 0)" << be_idt_nl
+ << "{" << be_idt_nl
+ << "ACE_THROW (CORBA::INTF_REPOS ());" << be_uidt_nl
+ << "}" << be_uidt_nl << be_nl;
+ *os << "ACE_TRY" << be_idt_nl
+ << "{" << be_idt_nl
+ << "_tao_retval = _tao_impl->_get_interface (ACE_TRY_ENV);" << be_nl
+ << "ACE_TRY_CHECK;" << be_nl << be_nl
+ << "_tao_server_request.init_reply ();" << be_nl << be_nl
+ << "TAO_OutputCDR &_tao_out = _tao_server_request.outgoing ();"
+ << be_nl << be_nl
+ << "_tao_result =" << be_idt_nl
+ << "_tao_adapter->interfacedef_cdr_insert (" << be_idt << be_idt_nl
+ << "_tao_out," << be_nl
+ << "_tao_retval" << be_uidt_nl
+ << ");" << be_uidt << be_uidt << be_uidt_nl
+ << "}" << be_uidt_nl
+ << "ACE_CATCHALL" << be_idt_nl
+ << "{" << be_idt_nl
+ << "_tao_adapter->dispose (_tao_retval);" << be_uidt_nl
+ << "}" << be_uidt_nl
+ << "ACE_ENDTRY;" << be_nl << be_nl;
+ *os << "if (_tao_result == 0)" << be_idt_nl
+ << "{" << be_idt_nl
+ << "ACE_THROW (CORBA::MARSHAL ());" << be_uidt_nl
+ << "}" << be_uidt << be_uidt_nl;
+ *os << "}\n\n";
+
+ // Generate code for the _is_a override.
os->indent ();
*os << "CORBA::Boolean " << node->full_skel_name ()
<< "::_is_a (" << be_idt << be_idt_nl
@@ -304,6 +351,8 @@ be_visitor_interface_ss::visit_interface (be_interface *node)
<< "CORBA::Environment &ACE_TRY_ENV" << be_uidt_nl
<< ")" << be_uidt_nl
<< "{" << be_idt_nl
+ << "const char *base_id = CORBA::_tc_Object->id (ACE_TRY_ENV);" << be_nl
+ << "ACE_CHECK_RETURN (0);" << be_nl << be_nl
<< "if (\n" << be_idt;
if (node->traverse_inheritance_graph (be_interface::is_a_helper, os) == -1)
{
@@ -315,8 +364,7 @@ be_visitor_interface_ss::visit_interface (be_interface *node)
}
os->indent ();
- *os << "(!ACE_OS::strcmp ((char *)value, "
- << "CORBA::_tc_Object->id (ACE_TRY_ENV))))"
+ *os << "(!ACE_OS::strcmp ((char *)value, base_id)))"
<< be_idt_nl << "return 1;" << be_uidt_nl
<< "else" << be_idt_nl
<< "return 0;" << be_uidt << be_uidt << be_uidt_nl
diff --git a/TAO/orbsvcs/IFR_Service/AbstractInterfaceDef_i.cpp b/TAO/orbsvcs/IFR_Service/AbstractInterfaceDef_i.cpp
new file mode 100644
index 00000000000..af9c50b2244
--- /dev/null
+++ b/TAO/orbsvcs/IFR_Service/AbstractInterfaceDef_i.cpp
@@ -0,0 +1,30 @@
+/* -*- C++ -*- */
+// $Id$
+
+#include "AbstractInterfaceDef_i.h"
+
+ACE_RCSID(IFR_Service, AbstractInterfaceDef_i, "$Id$")
+
+TAO_AbstractInterfaceDef_i::TAO_AbstractInterfaceDef_i (
+ TAO_Repository_i *repo,
+ ACE_Configuration_Section_Key section_key
+ )
+ : TAO_IRObject_i (repo, section_key),
+ TAO_Container_i (repo, section_key),
+ TAO_Contained_i (repo, section_key),
+ TAO_IDLType_i (repo, section_key),
+ TAO_InterfaceDef_i (repo, section_key)
+{
+}
+
+TAO_AbstractInterfaceDef_i::~TAO_AbstractInterfaceDef_i (void)
+{
+}
+
+CORBA::DefinitionKind
+TAO_AbstractInterfaceDef_i::def_kind (CORBA::Environment &)
+ ACE_THROW_SPEC ((CORBA::SystemException))
+{
+ return CORBA::dk_AbstractInterface;
+}
+
diff --git a/TAO/orbsvcs/IFR_Service/AbstractInterfaceDef_i.h b/TAO/orbsvcs/IFR_Service/AbstractInterfaceDef_i.h
new file mode 100644
index 00000000000..78860eb9a7d
--- /dev/null
+++ b/TAO/orbsvcs/IFR_Service/AbstractInterfaceDef_i.h
@@ -0,0 +1,66 @@
+/* -*- C++ -*- */
+// $Id$
+
+// ============================================================================
+//
+// = LIBRARY
+// TAO/orbsvcs/IFR_Service
+//
+// = FILENAME
+// AbstractInterfaceDef_i.h
+//
+// = DESCRIPTION
+// AbstractInterfaceDef servant class.
+//
+// = AUTHOR
+// Jeff Parsons <parsons@cs.wustl.edu>
+//
+// ============================================================================
+
+#ifndef TAO_ABSTRACTINTERFACEDEF_I_H
+#define TAO_ABSTRACTINTERFACEDEF_I_H
+
+#include "InterfaceDef_i.h"
+
+#if !defined (ACE_LACKS_PRAGMA_ONCE)
+# pragma once
+#endif /* ACE_LACKS_PRAGMA_ONCE */
+
+#if defined(_MSC_VER)
+#if (_MSC_VER >= 1200)
+#pragma warning(push)
+#endif /* _MSC_VER >= 1200 */
+#pragma warning(disable:4250)
+#endif /* _MSC_VER */
+
+class TAO_AbstractInterfaceDef_i : public virtual TAO_InterfaceDef_i
+{
+ // = TITLE
+ // TAO_AbstractInterfaceDef_i
+ //
+ // = DESCRIPTION
+ // Represents an abstract interface definition.
+ //
+public:
+ TAO_AbstractInterfaceDef_i (TAO_Repository_i *repo,
+ ACE_Configuration_Section_Key section_key);
+ // Constructor
+
+ virtual ~TAO_AbstractInterfaceDef_i (void);
+ // Destructor
+
+ virtual CORBA::DefinitionKind def_kind (
+ CORBA::Environment &ACE_TRY_ENV =
+ TAO_default_environment ()
+ )
+ ACE_THROW_SPEC ((CORBA::SystemException));
+ // Return our definition kind.
+};
+
+#if defined(_MSC_VER) && (_MSC_VER >= 1200)
+#pragma warning(pop)
+#endif /* _MSC_VER */
+
+#endif /* TAO_ABSTRACTINTERFACEDEF_I_H */
+
+
diff --git a/TAO/orbsvcs/IFR_Service/AliasDef_i.cpp b/TAO/orbsvcs/IFR_Service/AliasDef_i.cpp
index 41a44964288..da20896cb24 100644
--- a/TAO/orbsvcs/IFR_Service/AliasDef_i.cpp
+++ b/TAO/orbsvcs/IFR_Service/AliasDef_i.cpp
@@ -21,11 +21,11 @@ TAO_AliasDef_i::~TAO_AliasDef_i (void)
{
}
-IR_DefinitionKind
+CORBA::DefinitionKind
TAO_AliasDef_i::def_kind (CORBA::Environment &)
ACE_THROW_SPEC ((CORBA::SystemException))
{
- return dk_Alias;
+ return CORBA::dk_Alias;
}
CORBA::TypeCode_ptr
@@ -78,16 +78,16 @@ TAO_AliasDef_i::type_i (CORBA::Environment &ACE_TRY_ENV)
ACE_TRY_ENV);
}
-IR_IDLType_ptr
+CORBA_IDLType_ptr
TAO_AliasDef_i::original_type_def (CORBA::Environment &ACE_TRY_ENV)
ACE_THROW_SPEC ((CORBA::SystemException))
{
- TAO_IFR_READ_GUARD_RETURN (IR_IDLType::_nil ());
+ TAO_IFR_READ_GUARD_RETURN (CORBA_IDLType::_nil ());
return this->original_type_def_i (ACE_TRY_ENV);
}
-IR_IDLType_ptr
+CORBA_IDLType_ptr
TAO_AliasDef_i::original_type_def_i (CORBA::Environment &ACE_TRY_ENV)
ACE_THROW_SPEC ((CORBA::SystemException))
{
@@ -107,8 +107,8 @@ TAO_AliasDef_i::original_type_def_i (CORBA::Environment &ACE_TRY_ENV)
"def_kind",
kind);
- IR_DefinitionKind def_kind =
- ACE_static_cast (IR_DefinitionKind, kind);
+ CORBA::DefinitionKind def_kind =
+ ACE_static_cast (CORBA::DefinitionKind, kind);
CORBA::Object_var obj =
this->repo_->servant_factory ()->create_objref (def_kind,
@@ -116,12 +116,12 @@ TAO_AliasDef_i::original_type_def_i (CORBA::Environment &ACE_TRY_ENV)
ACE_TRY_ENV);
ACE_CHECK_RETURN (IR_IDLType::_nil ());
- return IR_IDLType::_narrow (obj.in (),
- ACE_TRY_ENV);
+ return CORBA_IDLType::_narrow (obj.in (),
+ ACE_TRY_ENV);
}
void
-TAO_AliasDef_i::original_type_def (IR_IDLType_ptr original_type_def,
+TAO_AliasDef_i::original_type_def (CORBA_IDLType_ptr original_type_def,
CORBA::Environment &ACE_TRY_ENV)
ACE_THROW_SPEC ((CORBA::SystemException))
{
@@ -132,7 +132,7 @@ TAO_AliasDef_i::original_type_def (IR_IDLType_ptr original_type_def,
}
void
-TAO_AliasDef_i::original_type_def_i (IR_IDLType_ptr original_type_def,
+TAO_AliasDef_i::original_type_def_i (CORBA_IDLType_ptr original_type_def,
CORBA::Environment &ACE_TRY_ENV)
ACE_THROW_SPEC ((CORBA::SystemException))
{
diff --git a/TAO/orbsvcs/IFR_Service/AliasDef_i.h b/TAO/orbsvcs/IFR_Service/AliasDef_i.h
index d5d3bb0b576..f9d52134765 100644
--- a/TAO/orbsvcs/IFR_Service/AliasDef_i.h
+++ b/TAO/orbsvcs/IFR_Service/AliasDef_i.h
@@ -10,7 +10,7 @@
// AliasDef_i.h
//
// = DESCRIPTION
-// IR_AliasDef servant class.
+// AliasDef servant class.
//
// = AUTHOR
// Jeff Parsons <parsons@cs.wustl.edu>
@@ -50,7 +50,7 @@ public:
virtual ~TAO_AliasDef_i (void);
// Destructor
- virtual IR_DefinitionKind def_kind (
+ virtual CORBA::DefinitionKind def_kind (
CORBA::Environment &ACE_TRY_ENV =
TAO_default_environment ()
)
@@ -71,27 +71,27 @@ public:
ACE_THROW_SPEC ((CORBA::SystemException));
// From IDLType_i's pure virtual function.
- virtual IR_IDLType_ptr original_type_def (
+ virtual CORBA_IDLType_ptr original_type_def (
CORBA::Environment &ACE_TRY_ENV =
TAO_default_environment ()
)
ACE_THROW_SPEC ((CORBA::SystemException));
- IR_IDLType_ptr original_type_def_i (
+ CORBA_IDLType_ptr original_type_def_i (
CORBA::Environment &ACE_TRY_ENV =
TAO_default_environment ()
)
ACE_THROW_SPEC ((CORBA::SystemException));
virtual void original_type_def (
- IR_IDLType_ptr original_type_def,
+ CORBA_IDLType_ptr original_type_def,
CORBA::Environment &ACE_TRY_ENV =
TAO_default_environment ()
)
ACE_THROW_SPEC ((CORBA::SystemException));
void original_type_def_i (
- IR_IDLType_ptr original_type_def,
+ CORBA_IDLType_ptr original_type_def,
CORBA::Environment &ACE_TRY_ENV =
TAO_default_environment ()
)
diff --git a/TAO/orbsvcs/IFR_Service/ArrayDef_i.cpp b/TAO/orbsvcs/IFR_Service/ArrayDef_i.cpp
index 9642b1d0a3d..1c82094feae 100644
--- a/TAO/orbsvcs/IFR_Service/ArrayDef_i.cpp
+++ b/TAO/orbsvcs/IFR_Service/ArrayDef_i.cpp
@@ -19,11 +19,11 @@ TAO_ArrayDef_i::~TAO_ArrayDef_i (void)
{
}
-IR_DefinitionKind
+CORBA::DefinitionKind
TAO_ArrayDef_i::def_kind (CORBA::Environment &)
ACE_THROW_SPEC ((CORBA::SystemException))
{
- return dk_Array;
+ return CORBA::dk_Array;
}
void
@@ -156,16 +156,16 @@ TAO_ArrayDef_i::element_type_i (CORBA::Environment &ACE_TRY_ENV)
return impl->type_i (ACE_TRY_ENV);
}
-IR_IDLType_ptr
+CORBA_IDLType_ptr
TAO_ArrayDef_i::element_type_def (CORBA::Environment &ACE_TRY_ENV)
ACE_THROW_SPEC ((CORBA::SystemException))
{
- TAO_IFR_READ_GUARD_RETURN (IR_IDLType::_nil ());
+ TAO_IFR_READ_GUARD_RETURN (CORBA_IDLType::_nil ());
return this->element_type_def_i (ACE_TRY_ENV);
}
-IR_IDLType_ptr
+CORBA_IDLType_ptr
TAO_ArrayDef_i::element_type_def_i (CORBA::Environment &ACE_TRY_ENV)
ACE_THROW_SPEC ((CORBA::SystemException))
{
@@ -185,8 +185,8 @@ TAO_ArrayDef_i::element_type_def_i (CORBA::Environment &ACE_TRY_ENV)
"def_kind",
kind);
- IR_DefinitionKind def_kind =
- ACE_static_cast (IR_DefinitionKind, kind);
+ CORBA::DefinitionKind def_kind =
+ ACE_static_cast (CORBA::DefinitionKind, kind);
CORBA::Object_var obj =
this->repo_->servant_factory ()->create_objref (def_kind,
@@ -194,12 +194,12 @@ TAO_ArrayDef_i::element_type_def_i (CORBA::Environment &ACE_TRY_ENV)
ACE_TRY_ENV);
ACE_CHECK_RETURN (IR_IDLType::_nil ());
- return IR_IDLType::_narrow (obj.in (),
- ACE_TRY_ENV);
+ return CORBA_IDLType::_narrow (obj.in (),
+ ACE_TRY_ENV);
}
void
-TAO_ArrayDef_i::element_type_def (IR_IDLType_ptr element_type_def,
+TAO_ArrayDef_i::element_type_def (CORBA_IDLType_ptr element_type_def,
CORBA::Environment &ACE_TRY_ENV)
ACE_THROW_SPEC ((CORBA::SystemException))
{
@@ -210,7 +210,7 @@ TAO_ArrayDef_i::element_type_def (IR_IDLType_ptr element_type_def,
}
void
-TAO_ArrayDef_i::element_type_def_i (IR_IDLType_ptr element_type_def,
+TAO_ArrayDef_i::element_type_def_i (CORBA_IDLType_ptr element_type_def,
CORBA::Environment &ACE_TRY_ENV)
ACE_THROW_SPEC ((CORBA::SystemException))
{
@@ -251,19 +251,19 @@ TAO_ArrayDef_i::destroy_element_type (
"def_kind",
kind);
- IR_DefinitionKind def_kind =
- ACE_static_cast (IR_DefinitionKind, kind);
+ CORBA::DefinitionKind def_kind =
+ ACE_static_cast (CORBA::DefinitionKind, kind);
switch (def_kind)
{
// These exist only as our elements, so the type should
// be destroyed when we are destroyed or our element type
// is mutated.
- case dk_String:
- case dk_Wstring:
- case dk_Fixed:
- case dk_Array:
- case dk_Sequence:
+ case CORBA::dk_String:
+ case CORBA::dk_Wstring:
+ case CORBA::dk_Fixed:
+ case CORBA::dk_Array:
+ case CORBA::dk_Sequence:
{
TAO_IDLType_i *impl =
this->repo_->servant_factory ()->create_idltype (element_key,
diff --git a/TAO/orbsvcs/IFR_Service/ArrayDef_i.h b/TAO/orbsvcs/IFR_Service/ArrayDef_i.h
index c240f19306f..0aa8dbbb355 100644
--- a/TAO/orbsvcs/IFR_Service/ArrayDef_i.h
+++ b/TAO/orbsvcs/IFR_Service/ArrayDef_i.h
@@ -10,7 +10,7 @@
// ArrayDef_i.h
//
// = DESCRIPTION
-// IR_ArrayDef servant class.
+// ArrayDef servant class.
//
// = AUTHOR
// Jeff Parsons <parsons@cs.wustl.edu>
@@ -49,7 +49,7 @@ public:
virtual ~TAO_ArrayDef_i (void);
// Destructor
- virtual IR_DefinitionKind def_kind (
+ virtual CORBA::DefinitionKind def_kind (
CORBA::Environment &ACE_TRY_ENV =
TAO_default_environment ()
)
@@ -119,27 +119,27 @@ public:
)
ACE_THROW_SPEC ((CORBA::SystemException));
- virtual IR_IDLType_ptr element_type_def (
+ virtual CORBA_IDLType_ptr element_type_def (
CORBA::Environment &ACE_TRY_ENV =
TAO_default_environment ()
)
ACE_THROW_SPEC ((CORBA::SystemException));
- IR_IDLType_ptr element_type_def_i (
+ CORBA_IDLType_ptr element_type_def_i (
CORBA::Environment &ACE_TRY_ENV =
TAO_default_environment ()
)
ACE_THROW_SPEC ((CORBA::SystemException));
virtual void element_type_def (
- IR_IDLType_ptr element_type_def,
+ CORBA_IDLType_ptr element_type_def,
CORBA::Environment &ACE_TRY_ENV =
TAO_default_environment ()
)
ACE_THROW_SPEC ((CORBA::SystemException));
void element_type_def_i (
- IR_IDLType_ptr element_type_def,
+ CORBA_IDLType_ptr element_type_def,
CORBA::Environment &ACE_TRY_ENV =
TAO_default_environment ()
)
diff --git a/TAO/orbsvcs/IFR_Service/AttributeDef_i.cpp b/TAO/orbsvcs/IFR_Service/AttributeDef_i.cpp
index 33937b71464..c7d4f41c91e 100644
--- a/TAO/orbsvcs/IFR_Service/AttributeDef_i.cpp
+++ b/TAO/orbsvcs/IFR_Service/AttributeDef_i.cpp
@@ -23,14 +23,14 @@ TAO_AttributeDef_i::~TAO_AttributeDef_i (void)
{
}
-IR_DefinitionKind
+CORBA::DefinitionKind
TAO_AttributeDef_i::def_kind (CORBA::Environment &)
ACE_THROW_SPEC ((CORBA::SystemException))
{
- return dk_Attribute;
+ return CORBA::dk_Attribute;
}
-IR_Contained::Description *
+CORBA_Contained::Description *
TAO_AttributeDef_i::describe (CORBA::Environment &ACE_TRY_ENV)
ACE_THROW_SPEC ((CORBA::SystemException))
{
@@ -39,17 +39,17 @@ TAO_AttributeDef_i::describe (CORBA::Environment &ACE_TRY_ENV)
return this->describe_i (ACE_TRY_ENV);
}
-IR_Contained::Description *
+CORBA_Contained::Description *
TAO_AttributeDef_i::describe_i (CORBA::Environment &ACE_TRY_ENV)
ACE_THROW_SPEC ((CORBA::SystemException))
{
- IR_Contained::Description *desc_ptr = 0;
+ CORBA_Contained::Description *desc_ptr = 0;
ACE_NEW_THROW_EX (desc_ptr,
- IR_Contained::Description,
+ CORBA_Contained::Description,
CORBA::NO_MEMORY ());
ACE_CHECK_RETURN (0);
- IR_Contained::Description_var retval = desc_ptr;
+ CORBA_Contained::Description_var retval = desc_ptr;
retval->kind = this->def_kind (ACE_TRY_ENV);
ACE_CHECK_RETURN (0);
@@ -94,16 +94,16 @@ TAO_AttributeDef_i::type_i (CORBA::Environment &ACE_TRY_ENV)
return impl->type_i (ACE_TRY_ENV);
}
-IR_IDLType_ptr
+CORBA_IDLType_ptr
TAO_AttributeDef_i::type_def (CORBA::Environment &ACE_TRY_ENV)
ACE_THROW_SPEC ((CORBA::SystemException))
{
- TAO_IFR_READ_GUARD_RETURN (IR_IDLType::_nil ());
+ TAO_IFR_READ_GUARD_RETURN (CORBA_IDLType::_nil ());
return this->type_def_i (ACE_TRY_ENV);
}
-IR_IDLType_ptr
+CORBA_IDLType_ptr
TAO_AttributeDef_i::type_def_i (CORBA::Environment &ACE_TRY_ENV)
ACE_THROW_SPEC ((CORBA::SystemException))
{
@@ -123,24 +123,24 @@ TAO_AttributeDef_i::type_def_i (CORBA::Environment &ACE_TRY_ENV)
"def_kind",
kind);
- IR_DefinitionKind def_kind =
- ACE_static_cast (IR_DefinitionKind, kind);
+ CORBA::DefinitionKind def_kind =
+ ACE_static_cast (CORBA::DefinitionKind, kind);
CORBA::Object_var obj =
this->repo_->servant_factory ()->create_objref (def_kind,
type_path.c_str (),
ACE_TRY_ENV);
- ACE_CHECK_RETURN (IR_IDLType::_nil ());
+ ACE_CHECK_RETURN (CORBA_IDLType::_nil ());
- IR_IDLType_var retval = IR_IDLType::_narrow (obj.in (),
+ CORBA_IDLType_var retval = CORBA_IDLType::_narrow (obj.in (),
ACE_TRY_ENV);
- ACE_CHECK_RETURN (IR_IDLType::_nil ());
+ ACE_CHECK_RETURN (CORBA_IDLType::_nil ());
return retval._retn ();
}
void
-TAO_AttributeDef_i::type_def (IR_IDLType_ptr type_def,
+TAO_AttributeDef_i::type_def (CORBA_IDLType_ptr type_def,
CORBA::Environment &ACE_TRY_ENV)
ACE_THROW_SPEC ((CORBA::SystemException))
{
@@ -151,7 +151,7 @@ TAO_AttributeDef_i::type_def (IR_IDLType_ptr type_def,
}
void
-TAO_AttributeDef_i::type_def_i (IR_IDLType_ptr type_def,
+TAO_AttributeDef_i::type_def_i (CORBA_IDLType_ptr type_def,
CORBA::Environment &ACE_TRY_ENV)
ACE_THROW_SPEC ((CORBA::SystemException))
{
@@ -168,16 +168,16 @@ TAO_AttributeDef_i::type_def_i (IR_IDLType_ptr type_def,
type_path.in ());
}
-IR_AttributeMode
+CORBA::AttributeMode
TAO_AttributeDef_i::mode (CORBA::Environment &ACE_TRY_ENV)
ACE_THROW_SPEC ((CORBA::SystemException))
{
- TAO_IFR_READ_GUARD_RETURN (ATTR_NORMAL);
+ TAO_IFR_READ_GUARD_RETURN (CORBA::ATTR_NORMAL);
return this->mode_i (ACE_TRY_ENV);
}
-IR_AttributeMode
+CORBA::AttributeMode
TAO_AttributeDef_i::mode_i (CORBA::Environment &)
ACE_THROW_SPEC ((CORBA::SystemException))
{
@@ -186,11 +186,11 @@ TAO_AttributeDef_i::mode_i (CORBA::Environment &)
"mode",
mode);
- return ACE_static_cast (IR_AttributeMode, mode);
+ return ACE_static_cast (CORBA::AttributeMode, mode);
}
void
-TAO_AttributeDef_i::mode (IR_AttributeMode mode,
+TAO_AttributeDef_i::mode (CORBA::AttributeMode mode,
CORBA::Environment &ACE_TRY_ENV)
ACE_THROW_SPEC ((CORBA::SystemException))
{
@@ -201,7 +201,7 @@ TAO_AttributeDef_i::mode (IR_AttributeMode mode,
}
void
-TAO_AttributeDef_i::mode_i (IR_AttributeMode mode,
+TAO_AttributeDef_i::mode_i (CORBA::AttributeMode mode,
CORBA::Environment &)
ACE_THROW_SPEC ((CORBA::SystemException))
{
@@ -210,11 +210,11 @@ TAO_AttributeDef_i::mode_i (IR_AttributeMode mode,
mode);
}
-IR_AttributeDescription
+CORBA_AttributeDescription
TAO_AttributeDef_i::make_description (CORBA::Environment &ACE_TRY_ENV)
ACE_THROW_SPEC ((CORBA::SystemException))
{
- IR_AttributeDescription ad;
+ CORBA_AttributeDescription ad;
ad.name = this->name_i (ACE_TRY_ENV);
ACE_CHECK_RETURN (ad);
@@ -238,7 +238,7 @@ TAO_AttributeDef_i::make_description (CORBA::Environment &ACE_TRY_ENV)
ad.mode = this->mode_i (ACE_TRY_ENV);
ACE_CHECK_RETURN (ad);
-
+/*
ACE_Unbounded_Queue<ACE_Configuration_Section_Key> key_queue;
int index = 0;
int status;
@@ -280,7 +280,7 @@ TAO_AttributeDef_i::make_description (CORBA::Environment &ACE_TRY_ENV)
}
}
- IR_ExcDescriptionSeq get_ed_seq (index);
+ CORBA_ExcDescriptionSeq get_ed_seq (index);
get_ed_seq.length (index);
for (i = 0; i < (CORBA::ULong) index; ++i)
@@ -288,7 +288,7 @@ TAO_AttributeDef_i::make_description (CORBA::Environment &ACE_TRY_ENV)
ACE_Configuration_Section_Key key;
key_queue.dequeue_head (key);
- IR_ExceptionDescription get_ed;
+ CORBA_ExceptionDescription get_ed;
ACE_TString name;
this->repo_->config ()->get_string_value (key,
@@ -364,7 +364,7 @@ TAO_AttributeDef_i::make_description (CORBA::Environment &ACE_TRY_ENV)
}
}
- IR_ExcDescriptionSeq put_ed_seq (index);
+ CORBA_ExcDescriptionSeq put_ed_seq (index);
put_ed_seq.length (index);
for (i = 0; i < (CORBA::ULong) index; ++i)
@@ -372,7 +372,7 @@ TAO_AttributeDef_i::make_description (CORBA::Environment &ACE_TRY_ENV)
ACE_Configuration_Section_Key key;
key_queue.dequeue_head (key);
- IR_ExceptionDescription put_ed;
+ CORBA_ExceptionDescription put_ed;
ACE_TString name;
this->repo_->config ()->get_string_value (key,
@@ -412,11 +412,11 @@ TAO_AttributeDef_i::make_description (CORBA::Environment &ACE_TRY_ENV)
}
ad.put_exceptions = put_ed_seq;
-
+*/
return ad;
}
-IR_ExceptionDefSeq *
+CORBA_ExceptionDefSeq *
TAO_AttributeDef_i::get_exceptions (CORBA::Environment &ACE_TRY_ENV)
ACE_THROW_SPEC ((CORBA::SystemException))
{
@@ -464,15 +464,15 @@ TAO_AttributeDef_i::get_exceptions (CORBA::Environment &ACE_TRY_ENV)
size_t size = path_queue.size ();
- IR_ExceptionDefSeq *get_ed_seq = 0;
+ CORBA_ExceptionDefSeq *get_ed_seq = 0;
ACE_NEW_THROW_EX (get_ed_seq,
- IR_ExceptionDefSeq (size),
+ CORBA_ExceptionDefSeq (size),
CORBA::NO_MEMORY ());
ACE_CHECK_RETURN (0);
get_ed_seq->length (size);
- IR_ExceptionDefSeq_var retval = get_ed_seq;
+ CORBA_ExceptionDefSeq_var retval = get_ed_seq;
for (CORBA::ULong i = 0; i < size; ++i)
{
@@ -480,12 +480,12 @@ TAO_AttributeDef_i::get_exceptions (CORBA::Environment &ACE_TRY_ENV)
path_queue.dequeue_head (path);
CORBA::Object_var obj =
- this->repo_->servant_factory ()->create_objref (dk_Exception,
+ this->repo_->servant_factory ()->create_objref (CORBA::dk_Exception,
path.c_str (),
ACE_TRY_ENV);
ACE_CHECK_RETURN (0);
- retval[i] = IR_ExceptionDef::_narrow (obj.in (),
+ retval[i] = CORBA_ExceptionDef::_narrow (obj.in (),
ACE_TRY_ENV);
ACE_CHECK_RETURN (0);
}
@@ -493,7 +493,7 @@ TAO_AttributeDef_i::get_exceptions (CORBA::Environment &ACE_TRY_ENV)
return retval._retn ();
}
-IR_ExceptionDefSeq *
+CORBA_ExceptionDefSeq *
TAO_AttributeDef_i::put_exceptions (CORBA::Environment &ACE_TRY_ENV)
ACE_THROW_SPEC ((CORBA::SystemException))
{
@@ -541,15 +541,15 @@ TAO_AttributeDef_i::put_exceptions (CORBA::Environment &ACE_TRY_ENV)
size_t size = path_queue.size ();
- IR_ExceptionDefSeq *put_ed_seq = 0;
+ CORBA_ExceptionDefSeq *put_ed_seq = 0;
ACE_NEW_THROW_EX (put_ed_seq,
- IR_ExceptionDefSeq (size),
+ CORBA_ExceptionDefSeq (size),
CORBA::NO_MEMORY ());
ACE_CHECK_RETURN (0);
put_ed_seq->length (size);
- IR_ExceptionDefSeq_var retval = put_ed_seq;
+ CORBA_ExceptionDefSeq_var retval = put_ed_seq;
for (CORBA::ULong i = 0; i < size; ++i)
{
@@ -557,12 +557,12 @@ TAO_AttributeDef_i::put_exceptions (CORBA::Environment &ACE_TRY_ENV)
path_queue.dequeue_head (path);
CORBA::Object_var obj =
- this->repo_->servant_factory ()->create_objref (dk_Exception,
+ this->repo_->servant_factory ()->create_objref (CORBA::dk_Exception,
path.c_str (),
ACE_TRY_ENV);
ACE_CHECK_RETURN (0);
- retval[i] = IR_ExceptionDef::_narrow (obj.in (),
+ retval[i] = CORBA_ExceptionDef::_narrow (obj.in (),
ACE_TRY_ENV);
ACE_CHECK_RETURN (0);
}
diff --git a/TAO/orbsvcs/IFR_Service/AttributeDef_i.h b/TAO/orbsvcs/IFR_Service/AttributeDef_i.h
index ee5c3537f96..f34ec5f7a98 100644
--- a/TAO/orbsvcs/IFR_Service/AttributeDef_i.h
+++ b/TAO/orbsvcs/IFR_Service/AttributeDef_i.h
@@ -10,7 +10,7 @@
// AttributeDef_i.h
//
// = DESCRIPTION
-// IR_AttributeDef servant class.
+// AttributeDef servant class.
//
// = AUTHOR
// Jeff Parsons <parsons@cs.wustl.edu>
@@ -50,21 +50,21 @@ public:
virtual ~TAO_AttributeDef_i (void);
// Destructor
- virtual IR_DefinitionKind def_kind (
+ virtual CORBA::DefinitionKind def_kind (
CORBA::Environment &ACE_TRY_ENV =
TAO_default_environment ()
)
ACE_THROW_SPEC ((CORBA::SystemException));
// Return our definition kind.
- virtual IR_Contained::Description *describe (
+ virtual CORBA_Contained::Description *describe (
CORBA::Environment &ACE_TRY_ENV =
TAO_default_environment ()
)
ACE_THROW_SPEC ((CORBA::SystemException));
// From Contained_i's pure virtual function.
- virtual IR_Contained::Description *describe_i (
+ virtual CORBA_Contained::Description *describe_i (
CORBA::Environment &ACE_TRY_ENV =
TAO_default_environment ()
)
@@ -83,59 +83,59 @@ public:
)
ACE_THROW_SPEC ((CORBA::SystemException));
- virtual IR_IDLType_ptr type_def (
+ virtual CORBA_IDLType_ptr type_def (
CORBA::Environment &ACE_TRY_ENV =
TAO_default_environment ()
)
ACE_THROW_SPEC ((CORBA::SystemException));
- IR_IDLType_ptr type_def_i (
+ CORBA_IDLType_ptr type_def_i (
CORBA::Environment &ACE_TRY_ENV =
TAO_default_environment ()
)
ACE_THROW_SPEC ((CORBA::SystemException));
virtual void type_def (
- IR_IDLType_ptr type_def,
+ CORBA_IDLType_ptr type_def,
CORBA::Environment &ACE_TRY_ENV =
TAO_default_environment ()
)
ACE_THROW_SPEC ((CORBA::SystemException));
void type_def_i (
- IR_IDLType_ptr type_def,
+ CORBA_IDLType_ptr type_def,
CORBA::Environment &ACE_TRY_ENV =
TAO_default_environment ()
)
ACE_THROW_SPEC ((CORBA::SystemException));
- virtual IR_AttributeMode mode (
+ virtual CORBA::AttributeMode mode (
CORBA::Environment &ACE_TRY_ENV =
TAO_default_environment ()
)
ACE_THROW_SPEC ((CORBA::SystemException));
- IR_AttributeMode mode_i (
+ CORBA::AttributeMode mode_i (
CORBA::Environment &ACE_TRY_ENV =
TAO_default_environment ()
)
ACE_THROW_SPEC ((CORBA::SystemException));
virtual void mode (
- IR_AttributeMode mode,
+ CORBA::AttributeMode mode,
CORBA::Environment &ACE_TRY_ENV =
TAO_default_environment ()
)
ACE_THROW_SPEC ((CORBA::SystemException));
void mode_i (
- IR_AttributeMode mode,
+ CORBA::AttributeMode mode,
CORBA::Environment &ACE_TRY_ENV =
TAO_default_environment ()
)
ACE_THROW_SPEC ((CORBA::SystemException));
- IR_AttributeDescription make_description (
+ CORBA_AttributeDescription make_description (
CORBA::Environment &ACE_TRY_ENV =
TAO_default_environment ()
)
@@ -144,13 +144,13 @@ public:
// making its own description.
// These two are called by Contained::move().
- IR_ExceptionDefSeq *get_exceptions (
+ CORBA_ExceptionDefSeq *get_exceptions (
CORBA::Environment &ACE_TRY_ENV =
TAO_default_environment ()
)
ACE_THROW_SPEC ((CORBA::SystemException));
- IR_ExceptionDefSeq *put_exceptions (
+ CORBA_ExceptionDefSeq *put_exceptions (
CORBA::Environment &ACE_TRY_ENV =
TAO_default_environment ()
)
diff --git a/TAO/orbsvcs/IFR_Service/ComponentDef_i.cpp b/TAO/orbsvcs/IFR_Service/ComponentDef_i.cpp
index b0ab4ce1083..b328317476d 100644
--- a/TAO/orbsvcs/IFR_Service/ComponentDef_i.cpp
+++ b/TAO/orbsvcs/IFR_Service/ComponentDef_i.cpp
@@ -22,11 +22,11 @@ TAO_ComponentDef_i::~TAO_ComponentDef_i (void)
{
}
-IR_DefinitionKind
+CORBA::DefinitionKind
TAO_ComponentDef_i::def_kind (CORBA::Environment &)
ACE_THROW_SPEC ((CORBA::SystemException))
{
- return dk_Component;
+ return CORBA::dk_Component;
}
void
@@ -45,7 +45,7 @@ TAO_ComponentDef_i::destroy_i (CORBA::Environment & /* ACE_TRY_ENV */)
// TODO
}
-IR_Contained::Description *
+CORBA_Contained::Description *
TAO_ComponentDef_i::describe (CORBA::Environment &ACE_TRY_ENV)
ACE_THROW_SPEC ((CORBA::SystemException))
{
@@ -54,7 +54,7 @@ TAO_ComponentDef_i::describe (CORBA::Environment &ACE_TRY_ENV)
return this->describe_i (ACE_TRY_ENV);
}
-IR_Contained::Description *
+CORBA_Contained::Description *
TAO_ComponentDef_i::describe_i (CORBA::Environment & /* ACE_TRY_ENV */)
ACE_THROW_SPEC ((CORBA::SystemException))
{
@@ -79,7 +79,7 @@ TAO_ComponentDef_i::type_i (CORBA::Environment & /* ACE_TRY_ENV */)
return 0;
}
-IR_InterfaceDefSeq *
+CORBA_InterfaceDefSeq *
TAO_ComponentDef_i::supported_interfaces (CORBA::Environment &ACE_TRY_ENV)
ACE_THROW_SPEC ((CORBA::SystemException))
{
@@ -88,7 +88,7 @@ TAO_ComponentDef_i::supported_interfaces (CORBA::Environment &ACE_TRY_ENV)
return this->supported_interfaces_i (ACE_TRY_ENV);
}
-IR_InterfaceDefSeq *
+CORBA_InterfaceDefSeq *
TAO_ComponentDef_i::supported_interfaces_i (CORBA::Environment & /* ACE_TRY_ENV */)
ACE_THROW_SPEC ((CORBA::SystemException))
{
@@ -98,7 +98,7 @@ TAO_ComponentDef_i::supported_interfaces_i (CORBA::Environment & /* ACE_TRY_ENV
void
TAO_ComponentDef_i::supported_interfaces (
- const IR_InterfaceDefSeq &supported_interfaces,
+ const CORBA_InterfaceDefSeq &supported_interfaces,
CORBA::Environment &ACE_TRY_ENV
)
ACE_THROW_SPEC ((CORBA::SystemException))
@@ -111,7 +111,7 @@ TAO_ComponentDef_i::supported_interfaces (
void
TAO_ComponentDef_i::supported_interfaces_i (
- const IR_InterfaceDefSeq & /* supported_interfaces */,
+ const CORBA_InterfaceDefSeq & /* supported_interfaces */,
CORBA::Environment & /* ACE_TRY_ENV */
)
ACE_THROW_SPEC ((CORBA::SystemException))
@@ -119,16 +119,16 @@ TAO_ComponentDef_i::supported_interfaces_i (
// TODO
}
-IR_ComponentDef_ptr
+IR::ComponentDef_ptr
TAO_ComponentDef_i::base_component (CORBA::Environment &ACE_TRY_ENV)
ACE_THROW_SPEC ((CORBA::SystemException))
{
- TAO_IFR_READ_GUARD_RETURN (IR_ComponentDef::_nil ());
+ TAO_IFR_READ_GUARD_RETURN (CORBA_ComponentDef::_nil ());
return this->base_component_i (ACE_TRY_ENV);
}
-IR_ComponentDef_ptr
+IR::ComponentDef_ptr
TAO_ComponentDef_i::base_component_i (CORBA::Environment & /* ACE_TRY_ENV */)
ACE_THROW_SPEC ((CORBA::SystemException))
{
@@ -136,7 +136,7 @@ TAO_ComponentDef_i::base_component_i (CORBA::Environment & /* ACE_TRY_ENV */)
return 0;
}
-IR_ProvidesDefSeq *
+IR::ProvidesDefSeq *
TAO_ComponentDef_i::provides_interfaces (CORBA::Environment &ACE_TRY_ENV)
ACE_THROW_SPEC ((CORBA::SystemException))
{
@@ -145,7 +145,7 @@ TAO_ComponentDef_i::provides_interfaces (CORBA::Environment &ACE_TRY_ENV)
return this->provides_interfaces_i (ACE_TRY_ENV);
}
-IR_ProvidesDefSeq *
+IR::ProvidesDefSeq *
TAO_ComponentDef_i::provides_interfaces_i (CORBA::Environment & /* ACE_TRY_ENV */)
ACE_THROW_SPEC ((CORBA::SystemException))
{
@@ -153,7 +153,7 @@ TAO_ComponentDef_i::provides_interfaces_i (CORBA::Environment & /* ACE_TRY_ENV *
return 0;
}
-IR_UsesDefSeq *
+IR::UsesDefSeq *
TAO_ComponentDef_i::uses_interfaces (CORBA::Environment &ACE_TRY_ENV)
ACE_THROW_SPEC ((CORBA::SystemException))
{
@@ -162,7 +162,7 @@ TAO_ComponentDef_i::uses_interfaces (CORBA::Environment &ACE_TRY_ENV)
return this->uses_interfaces_i (ACE_TRY_ENV);
}
-IR_UsesDefSeq *
+IR::UsesDefSeq *
TAO_ComponentDef_i::uses_interfaces_i (CORBA::Environment & /* ACE_TRY_ENV */)
ACE_THROW_SPEC ((CORBA::SystemException))
{
@@ -170,7 +170,7 @@ TAO_ComponentDef_i::uses_interfaces_i (CORBA::Environment & /* ACE_TRY_ENV */)
return 0;
}
-IR_EmitsDefSeq *
+IR::EmitsDefSeq *
TAO_ComponentDef_i::emits_events (CORBA::Environment &ACE_TRY_ENV)
ACE_THROW_SPEC ((CORBA::SystemException))
{
@@ -179,7 +179,7 @@ TAO_ComponentDef_i::emits_events (CORBA::Environment &ACE_TRY_ENV)
return this->emits_events_i (ACE_TRY_ENV);
}
-IR_EmitsDefSeq *
+IR::EmitsDefSeq *
TAO_ComponentDef_i::emits_events_i (CORBA::Environment & /* ACE_TRY_ENV */)
ACE_THROW_SPEC ((CORBA::SystemException))
{
@@ -187,7 +187,7 @@ TAO_ComponentDef_i::emits_events_i (CORBA::Environment & /* ACE_TRY_ENV */)
return 0;
}
-IR_PublishesDefSeq *
+IR::PublishesDefSeq *
TAO_ComponentDef_i::publishes_events (CORBA::Environment &ACE_TRY_ENV)
ACE_THROW_SPEC ((CORBA::SystemException))
{
@@ -196,7 +196,7 @@ TAO_ComponentDef_i::publishes_events (CORBA::Environment &ACE_TRY_ENV)
return this->publishes_events_i (ACE_TRY_ENV);
}
-IR_PublishesDefSeq *
+IR::PublishesDefSeq *
TAO_ComponentDef_i::publishes_events_i (CORBA::Environment & /* ACE_TRY_ENV */)
ACE_THROW_SPEC ((CORBA::SystemException))
{
@@ -204,7 +204,7 @@ TAO_ComponentDef_i::publishes_events_i (CORBA::Environment & /* ACE_TRY_ENV */)
return 0;
}
-IR_ConsumesDefSeq *
+IR::ConsumesDefSeq *
TAO_ComponentDef_i::consumes_events (CORBA::Environment &ACE_TRY_ENV)
ACE_THROW_SPEC ((CORBA::SystemException))
{
@@ -213,7 +213,7 @@ TAO_ComponentDef_i::consumes_events (CORBA::Environment &ACE_TRY_ENV)
return this->consumes_events_i (ACE_TRY_ENV);
}
-IR_ConsumesDefSeq *
+IR::ConsumesDefSeq *
TAO_ComponentDef_i::consumes_events_i (CORBA::Environment & /* ACE_TRY_ENV */)
ACE_THROW_SPEC ((CORBA::SystemException))
{
@@ -229,17 +229,17 @@ TAO_ComponentDef_i::is_basic (CORBA::Environment & /* ACE_TRY_ENV */)
return 0;
}
-IR_ProvidesDef_ptr
+IR::ProvidesDef_ptr
TAO_ComponentDef_i::create_provides (
const char *id,
const char *name,
const char *version,
- IR_InterfaceDef_ptr interface_type,
+ CORBA_InterfaceDef_ptr interface_type,
CORBA::Environment &ACE_TRY_ENV
)
ACE_THROW_SPEC ((CORBA::SystemException))
{
- TAO_IFR_WRITE_GUARD_RETURN (IR_ProvidesDef::_nil ());
+ TAO_IFR_WRITE_GUARD_RETURN (CORBA_ProvidesDef::_nil ());
return this->create_provides_i (id,
name,
@@ -248,12 +248,12 @@ TAO_ComponentDef_i::create_provides (
ACE_TRY_ENV);
}
-IR_ProvidesDef_ptr
+IR::ProvidesDef_ptr
TAO_ComponentDef_i::create_provides_i (
const char * /* id */,
const char * /* name */,
const char * /* version */,
- IR_InterfaceDef_ptr /* interface_type */,
+ CORBA_InterfaceDef_ptr /* interface_type */,
CORBA::Environment & /* ACE_TRY_ENV */
)
ACE_THROW_SPEC ((CORBA::SystemException))
@@ -262,16 +262,16 @@ TAO_ComponentDef_i::create_provides_i (
return 0;
}
-IR_UsesDef_ptr
+IR::UsesDef_ptr
TAO_ComponentDef_i::create_uses (const char *id,
const char *name,
const char *version,
- IR_InterfaceDef_ptr interface_type,
+ CORBA_InterfaceDef_ptr interface_type,
CORBA::Boolean is_multiple,
CORBA::Environment &ACE_TRY_ENV)
ACE_THROW_SPEC ((CORBA::SystemException))
{
- TAO_IFR_WRITE_GUARD_RETURN (IR_UsesDef::_nil ());
+ TAO_IFR_WRITE_GUARD_RETURN (CORBA_UsesDef::_nil ());
return this->create_uses_i (id,
name,
@@ -281,11 +281,11 @@ TAO_ComponentDef_i::create_uses (const char *id,
ACE_TRY_ENV);
}
-IR_UsesDef_ptr
+IR::UsesDef_ptr
TAO_ComponentDef_i::create_uses_i (const char * /* id */,
const char * /* name */,
const char * /* version */,
- IR_InterfaceDef_ptr /* interface_type */,
+ CORBA_InterfaceDef_ptr /* interface_type */,
CORBA::Boolean /* is_multiple */,
CORBA::Environment & /* ACE_TRY_ENV */ )
ACE_THROW_SPEC ((CORBA::SystemException))
@@ -294,15 +294,15 @@ TAO_ComponentDef_i::create_uses_i (const char * /* id */,
return 0;
}
-IR_EmitsDef_ptr
+IR::EmitsDef_ptr
TAO_ComponentDef_i::create_emits (const char *id,
const char *name,
const char *version,
- IR_ValueDef_ptr value,
+ CORBA_ValueDef_ptr value,
CORBA::Environment &ACE_TRY_ENV)
ACE_THROW_SPEC ((CORBA::SystemException))
{
- TAO_IFR_WRITE_GUARD_RETURN (IR_EmitsDef::_nil ());
+ TAO_IFR_WRITE_GUARD_RETURN (CORBA_EmitsDef::_nil ());
return this->create_emits_i (id,
name,
@@ -311,11 +311,11 @@ TAO_ComponentDef_i::create_emits (const char *id,
ACE_TRY_ENV);
}
-IR_EmitsDef_ptr
+IR::EmitsDef_ptr
TAO_ComponentDef_i::create_emits_i (const char * /* id */,
const char * /* name */,
const char * /* version */,
- IR_ValueDef_ptr /* value */,
+ CORBA_ValueDef_ptr /* value */,
CORBA::Environment & /* ACE_TRY_ENV */)
ACE_THROW_SPEC ((CORBA::SystemException))
{
@@ -323,15 +323,15 @@ TAO_ComponentDef_i::create_emits_i (const char * /* id */,
return 0;
}
-IR_PublishesDef_ptr
+IR::PublishesDef_ptr
TAO_ComponentDef_i::create_publishes (const char *id,
const char *name,
const char *version,
- IR_ValueDef_ptr value,
+ CORBA_ValueDef_ptr value,
CORBA::Environment &ACE_TRY_ENV)
ACE_THROW_SPEC ((CORBA::SystemException))
{
- TAO_IFR_WRITE_GUARD_RETURN (IR_PublishesDef::_nil ());
+ TAO_IFR_WRITE_GUARD_RETURN (CORBA_PublishesDef::_nil ());
return this->create_publishes_i (id,
name,
@@ -340,11 +340,11 @@ TAO_ComponentDef_i::create_publishes (const char *id,
ACE_TRY_ENV);
}
-IR_PublishesDef_ptr
+IR::PublishesDef_ptr
TAO_ComponentDef_i::create_publishes_i (const char * /* id */,
const char * /* name */,
const char * /* version */,
- IR_ValueDef_ptr /* value */,
+ CORBA_ValueDef_ptr /* value */,
CORBA::Environment & /* ACE_TRY_ENV */)
ACE_THROW_SPEC ((CORBA::SystemException))
{
@@ -352,15 +352,15 @@ TAO_ComponentDef_i::create_publishes_i (const char * /* id */,
return 0;
}
-IR_ConsumesDef_ptr
+IR::ConsumesDef_ptr
TAO_ComponentDef_i::create_consumes (const char *id,
const char *name,
const char *version,
- IR_ValueDef_ptr value,
+ CORBA_ValueDef_ptr value,
CORBA::Environment &ACE_TRY_ENV)
ACE_THROW_SPEC ((CORBA::SystemException))
{
- TAO_IFR_WRITE_GUARD_RETURN (IR_ConsumesDef::_nil ());
+ TAO_IFR_WRITE_GUARD_RETURN (CORBA_ConsumesDef::_nil ());
return this->create_consumes_i (id,
name,
@@ -369,11 +369,11 @@ TAO_ComponentDef_i::create_consumes (const char *id,
ACE_TRY_ENV);
}
-IR_ConsumesDef_ptr
+IR::ConsumesDef_ptr
TAO_ComponentDef_i::create_consumes_i (const char * /* id */,
const char * /* name */,
const char * /* version */,
- IR_ValueDef_ptr /* value */,
+ CORBA_ValueDef_ptr /* value */,
CORBA::Environment & /* ACE_TRY_ENV */)
ACE_THROW_SPEC ((CORBA::SystemException))
{
diff --git a/TAO/orbsvcs/IFR_Service/ComponentDef_i.h b/TAO/orbsvcs/IFR_Service/ComponentDef_i.h
index 6c47b5c2960..a76d5b4a33d 100644
--- a/TAO/orbsvcs/IFR_Service/ComponentDef_i.h
+++ b/TAO/orbsvcs/IFR_Service/ComponentDef_i.h
@@ -10,7 +10,7 @@
// ComponentDef_i.h
//
// = DESCRIPTION
-// IR_ComponentDef servant class.
+// ComponentDef servant class.
//
// = AUTHOR
// Jeff Parsons <parsons@cs.wustl.edu>
@@ -26,6 +26,8 @@
# pragma once
#endif /* ACE_LACKS_PRAGMA_ONCE */
+#include "IFR_ComponentsS.h"
+
#if defined(_MSC_VER)
#if (_MSC_VER >= 1200)
#pragma warning(push)
@@ -49,7 +51,7 @@ public:
virtual ~TAO_ComponentDef_i (void);
// Destructor
- virtual IR_DefinitionKind def_kind (
+ virtual CORBA::DefinitionKind def_kind (
CORBA::Environment &ACE_TRY_ENV =
TAO_default_environment ()
)
@@ -70,14 +72,14 @@ public:
ACE_THROW_SPEC ((CORBA::SystemException));
// Remove the repository entry.
- virtual IR_Contained::Description *describe (
+ virtual CORBA_Contained::Description *describe (
CORBA::Environment &ACE_TRY_ENV =
TAO_default_environment ()
)
ACE_THROW_SPEC ((CORBA::SystemException));
// From Contained_i's pure virtual function.
- virtual IR_Contained::Description *describe_i (
+ virtual CORBA_Contained::Description *describe_i (
CORBA::Environment &ACE_TRY_ENV =
TAO_default_environment ()
)
@@ -98,99 +100,99 @@ public:
ACE_THROW_SPEC ((CORBA::SystemException));
// From IDLType_i's pure virtual function.
- virtual IR_InterfaceDefSeq *supported_interfaces (
+ virtual CORBA_InterfaceDefSeq *supported_interfaces (
CORBA::Environment &ACE_TRY_ENV =
TAO_default_environment ()
)
ACE_THROW_SPEC ((CORBA::SystemException));
- IR_InterfaceDefSeq *supported_interfaces_i (
+ CORBA_InterfaceDefSeq *supported_interfaces_i (
CORBA::Environment &ACE_TRY_ENV =
TAO_default_environment ()
)
ACE_THROW_SPEC ((CORBA::SystemException));
virtual void supported_interfaces (
- const IR_InterfaceDefSeq &supported_interfaces,
+ const CORBA_InterfaceDefSeq &supported_interfaces,
CORBA::Environment &ACE_TRY_ENV =
TAO_default_environment ()
)
ACE_THROW_SPEC ((CORBA::SystemException));
void supported_interfaces_i (
- const IR_InterfaceDefSeq &supported_interfaces,
+ const CORBA_InterfaceDefSeq &supported_interfaces,
CORBA::Environment &ACE_TRY_ENV =
TAO_default_environment ()
)
ACE_THROW_SPEC ((CORBA::SystemException));
- virtual IR_ComponentDef_ptr base_component (
+ virtual IR::ComponentDef_ptr base_component (
CORBA::Environment &ACE_TRY_ENV =
TAO_default_environment ()
)
ACE_THROW_SPEC ((CORBA::SystemException));
- IR_ComponentDef_ptr base_component_i (
+ IR::ComponentDef_ptr base_component_i (
CORBA::Environment &ACE_TRY_ENV =
TAO_default_environment ()
)
ACE_THROW_SPEC ((CORBA::SystemException));
- virtual IR_ProvidesDefSeq *provides_interfaces (
+ virtual IR::ProvidesDefSeq *provides_interfaces (
CORBA::Environment &ACE_TRY_ENV =
TAO_default_environment ()
)
ACE_THROW_SPEC ((CORBA::SystemException));
- IR_ProvidesDefSeq *provides_interfaces_i (
+ IR::ProvidesDefSeq *provides_interfaces_i (
CORBA::Environment &ACE_TRY_ENV =
TAO_default_environment ()
)
ACE_THROW_SPEC ((CORBA::SystemException));
- virtual IR_UsesDefSeq *uses_interfaces (
+ virtual IR::UsesDefSeq *uses_interfaces (
CORBA::Environment &ACE_TRY_ENV =
TAO_default_environment ()
)
ACE_THROW_SPEC ((CORBA::SystemException));
- IR_UsesDefSeq *uses_interfaces_i (
+ IR::UsesDefSeq *uses_interfaces_i (
CORBA::Environment &ACE_TRY_ENV =
TAO_default_environment ()
)
ACE_THROW_SPEC ((CORBA::SystemException));
- virtual IR_EmitsDefSeq *emits_events (
+ virtual IR::EmitsDefSeq *emits_events (
CORBA::Environment &ACE_TRY_ENV =
TAO_default_environment ()
)
ACE_THROW_SPEC ((CORBA::SystemException));
- IR_EmitsDefSeq *emits_events_i (
+ IR::EmitsDefSeq *emits_events_i (
CORBA::Environment &ACE_TRY_ENV =
TAO_default_environment ()
)
ACE_THROW_SPEC ((CORBA::SystemException));
- virtual IR_PublishesDefSeq *publishes_events (
+ virtual IR::PublishesDefSeq *publishes_events (
CORBA::Environment &ACE_TRY_ENV =
TAO_default_environment ()
)
ACE_THROW_SPEC ((CORBA::SystemException));
- IR_PublishesDefSeq *publishes_events_i (
+ IR::PublishesDefSeq *publishes_events_i (
CORBA::Environment &ACE_TRY_ENV =
TAO_default_environment ()
)
ACE_THROW_SPEC ((CORBA::SystemException));
- virtual IR_ConsumesDefSeq *consumes_events (
+ virtual IR::ConsumesDefSeq *consumes_events (
CORBA::Environment &ACE_TRY_ENV =
TAO_default_environment ()
)
ACE_THROW_SPEC ((CORBA::SystemException));
- IR_ConsumesDefSeq *consumes_events_i (
+ IR::ConsumesDefSeq *consumes_events_i (
CORBA::Environment &ACE_TRY_ENV =
TAO_default_environment ()
)
@@ -208,103 +210,103 @@ public:
)
ACE_THROW_SPEC ((CORBA::SystemException));
- virtual IR_ProvidesDef_ptr create_provides (
+ virtual IR::ProvidesDef_ptr create_provides (
const char *id,
const char *name,
const char *version,
- IR_InterfaceDef_ptr interface_type,
+ CORBA_InterfaceDef_ptr interface_type,
CORBA::Environment &ACE_TRY_ENV =
TAO_default_environment ()
)
ACE_THROW_SPEC ((CORBA::SystemException));
- IR_ProvidesDef_ptr create_provides_i (
+ IR::ProvidesDef_ptr create_provides_i (
const char *id,
const char *name,
const char *version,
- IR_InterfaceDef_ptr interface_type,
+ CORBA_InterfaceDef_ptr interface_type,
CORBA::Environment &ACE_TRY_ENV =
TAO_default_environment ()
)
ACE_THROW_SPEC ((CORBA::SystemException));
- virtual IR_UsesDef_ptr create_uses (
+ virtual IR::UsesDef_ptr create_uses (
const char *id,
const char *name,
const char *version,
- IR_InterfaceDef_ptr interface_type,
+ CORBA_InterfaceDef_ptr interface_type,
CORBA::Boolean is_multiple,
CORBA::Environment &ACE_TRY_ENV =
TAO_default_environment ()
)
ACE_THROW_SPEC ((CORBA::SystemException));
- IR_UsesDef_ptr create_uses_i (
+ IR::UsesDef_ptr create_uses_i (
const char *id,
const char *name,
const char *version,
- IR_InterfaceDef_ptr interface_type,
+ CORBA_InterfaceDef_ptr interface_type,
CORBA::Boolean is_multiple,
CORBA::Environment &ACE_TRY_ENV =
TAO_default_environment ()
)
ACE_THROW_SPEC ((CORBA::SystemException));
- virtual IR_EmitsDef_ptr create_emits (
+ virtual IR::EmitsDef_ptr create_emits (
const char *id,
const char *name,
const char *version,
- IR_ValueDef_ptr value,
+ CORBA_ValueDef_ptr value,
CORBA::Environment &ACE_TRY_ENV =
TAO_default_environment ()
)
ACE_THROW_SPEC ((CORBA::SystemException));
- IR_EmitsDef_ptr create_emits_i (
+ IR::EmitsDef_ptr create_emits_i (
const char *id,
const char *name,
const char *version,
- IR_ValueDef_ptr value,
+ CORBA_ValueDef_ptr value,
CORBA::Environment &ACE_TRY_ENV =
TAO_default_environment ()
)
ACE_THROW_SPEC ((CORBA::SystemException));
- virtual IR_PublishesDef_ptr create_publishes (
+ virtual IR::PublishesDef_ptr create_publishes (
const char *id,
const char *name,
const char *version,
- IR_ValueDef_ptr value,
+ CORBA_ValueDef_ptr value,
CORBA::Environment &ACE_TRY_ENV =
TAO_default_environment ()
)
ACE_THROW_SPEC ((CORBA::SystemException));
- IR_PublishesDef_ptr create_publishes_i (
+ IR::PublishesDef_ptr create_publishes_i (
const char *id,
const char *name,
const char *version,
- IR_ValueDef_ptr value,
+ CORBA_ValueDef_ptr value,
CORBA::Environment &ACE_TRY_ENV =
TAO_default_environment ()
)
ACE_THROW_SPEC ((CORBA::SystemException));
- virtual IR_ConsumesDef_ptr create_consumes (
+ virtual IR::ConsumesDef_ptr create_consumes (
const char *id,
const char *name,
const char *version,
- IR_ValueDef_ptr value,
+ CORBA_ValueDef_ptr value,
CORBA::Environment &ACE_TRY_ENV =
TAO_default_environment ()
)
ACE_THROW_SPEC ((CORBA::SystemException));
- IR_ConsumesDef_ptr create_consumes_i (
+ IR::ConsumesDef_ptr create_consumes_i (
const char *id,
const char *name,
const char *version,
- IR_ValueDef_ptr value,
+ CORBA_ValueDef_ptr value,
CORBA::Environment &ACE_TRY_ENV =
TAO_default_environment ()
)
diff --git a/TAO/orbsvcs/IFR_Service/ComponentRepository_i.cpp b/TAO/orbsvcs/IFR_Service/ComponentRepository_i.cpp
index ec8cf9b6003..046cef29dd0 100644
--- a/TAO/orbsvcs/IFR_Service/ComponentRepository_i.cpp
+++ b/TAO/orbsvcs/IFR_Service/ComponentRepository_i.cpp
@@ -20,18 +20,18 @@ TAO_ComponentRepository_i::~TAO_ComponentRepository_i (void)
{
}
-IR_ComponentDef_ptr
+IR::ComponentDef_ptr
TAO_ComponentRepository_i::create_component (
const char *id,
const char *name,
const char *version,
- IR_ComponentDef_ptr base_component,
- const IR_InterfaceDefSeq & supports_interfaces,
+ IR::ComponentDef_ptr base_component,
+ const CORBA_InterfaceDefSeq & supports_interfaces,
CORBA::Environment &ACE_TRY_ENV
)
ACE_THROW_SPEC ((CORBA::SystemException))
{
- TAO_IFR_WRITE_GUARD_RETURN (IR_ComponentDef::_nil ());
+ TAO_IFR_WRITE_GUARD_RETURN (IR::ComponentDef::_nil ());
return this->create_component_i (id,
name,
@@ -41,13 +41,13 @@ TAO_ComponentRepository_i::create_component (
ACE_TRY_ENV);
}
-IR_ComponentDef_ptr
+IR::ComponentDef_ptr
TAO_ComponentRepository_i::create_component_i (
const char * /* id */,
const char * /* name */,
const char * /* version */,
- IR_ComponentDef_ptr /* base_component */,
- const IR_InterfaceDefSeq & /* supports_interfaces */,
+ IR::ComponentDef_ptr /* base_component */,
+ const CORBA_InterfaceDefSeq & /* supports_interfaces */,
CORBA::Environment & /* ACE_TRY_ENV */
)
ACE_THROW_SPEC ((CORBA::SystemException))
@@ -56,19 +56,19 @@ TAO_ComponentRepository_i::create_component_i (
return 0;
}
-IR_HomeDef_ptr
+IR::HomeDef_ptr
TAO_ComponentRepository_i::create_home (
const char *id,
const char *name,
const char *version,
- IR_HomeDef_ptr base_component,
- IR_ComponentDef_ptr managed_component,
- IR_ValueDef_ptr primary_key,
+ IR::HomeDef_ptr base_component,
+ IR::ComponentDef_ptr managed_component,
+ CORBA_ValueDef_ptr primary_key,
CORBA::Environment &ACE_TRY_ENV
)
ACE_THROW_SPEC ((CORBA::SystemException))
{
- TAO_IFR_WRITE_GUARD_RETURN (IR_HomeDef::_nil ());
+ TAO_IFR_WRITE_GUARD_RETURN (IR::HomeDef::_nil ());
return this->create_home_i (id,
name,
@@ -79,14 +79,14 @@ TAO_ComponentRepository_i::create_home (
ACE_TRY_ENV);
}
-IR_HomeDef_ptr
+IR::HomeDef_ptr
TAO_ComponentRepository_i::create_home_i (
const char * /* id */,
const char * /* name */,
const char * /* version */,
- IR_HomeDef_ptr /* base_component */,
- IR_ComponentDef_ptr /* managed_component */,
- IR_ValueDef_ptr /* primary_key */,
+ IR::HomeDef_ptr /* base_component */,
+ IR::ComponentDef_ptr /* managed_component */,
+ CORBA_ValueDef_ptr /* primary_key */,
CORBA::Environment & /* ACE_TRY_ENV */
)
ACE_THROW_SPEC ((CORBA::SystemException))
diff --git a/TAO/orbsvcs/IFR_Service/ComponentRepository_i.h b/TAO/orbsvcs/IFR_Service/ComponentRepository_i.h
index 2dc2d8bc455..b8a46f2f3e1 100644
--- a/TAO/orbsvcs/IFR_Service/ComponentRepository_i.h
+++ b/TAO/orbsvcs/IFR_Service/ComponentRepository_i.h
@@ -10,7 +10,7 @@
// ComponentRepository_i.h
//
// = DESCRIPTION
-// IR_ComponentRepository servant class.
+// ComponentRepository servant class.
//
// = AUTHOR
// Jeff Parsons <parsons@cs.wustl.edu>
@@ -26,6 +26,8 @@
# pragma once
#endif /* ACE_LACKS_PRAGMA_ONCE */
+#include "IFR_ComponentsS.h"
+
#if defined(_MSC_VER)
#if (_MSC_VER >= 1200)
#pragma warning(push)
@@ -52,47 +54,47 @@ public:
virtual ~TAO_ComponentRepository_i (void);
// Destructor.
- virtual IR_ComponentDef_ptr create_component (
+ virtual IR::ComponentDef_ptr create_component (
const char *id,
const char *name,
const char *version,
- IR_ComponentDef_ptr base_component,
- const IR_InterfaceDefSeq & supports_interfaces,
+ IR::ComponentDef_ptr base_component,
+ const CORBA_InterfaceDefSeq & supports_interfaces,
CORBA::Environment &ACE_TRY_ENV =
TAO_default_environment ()
)
ACE_THROW_SPEC ((CORBA::SystemException));
- IR_ComponentDef_ptr create_component_i (
+ IR::ComponentDef_ptr create_component_i (
const char *id,
const char *name,
const char *version,
- IR_ComponentDef_ptr base_component,
- const IR_InterfaceDefSeq & supports_interfaces,
+ IR::ComponentDef_ptr base_component,
+ const CORBA_InterfaceDefSeq & supports_interfaces,
CORBA::Environment &ACE_TRY_ENV =
TAO_default_environment ()
)
ACE_THROW_SPEC ((CORBA::SystemException));
- virtual IR_HomeDef_ptr create_home (
+ virtual IR::HomeDef_ptr create_home (
const char *id,
const char *name,
const char *version,
- IR_HomeDef_ptr base_home,
- IR_ComponentDef_ptr managed_component,
- IR_ValueDef_ptr primary_key,
+ IR::HomeDef_ptr base_home,
+ IR::ComponentDef_ptr managed_component,
+ CORBA_ValueDef_ptr primary_key,
CORBA::Environment &ACE_TRY_ENV =
TAO_default_environment ()
)
ACE_THROW_SPEC ((CORBA::SystemException));
- IR_HomeDef_ptr create_home_i (
+ IR::HomeDef_ptr create_home_i (
const char *id,
const char *name,
const char *version,
- IR_HomeDef_ptr base_home,
- IR_ComponentDef_ptr managed_component,
- IR_ValueDef_ptr primary_key,
+ IR::HomeDef_ptr base_home,
+ IR::ComponentDef_ptr managed_component,
+ CORBA_ValueDef_ptr primary_key,
CORBA::Environment &ACE_TRY_ENV =
TAO_default_environment ()
)
diff --git a/TAO/orbsvcs/IFR_Service/ConstantDef_i.cpp b/TAO/orbsvcs/IFR_Service/ConstantDef_i.cpp
index 9ac919c0a6f..8aa673eadd7 100644
--- a/TAO/orbsvcs/IFR_Service/ConstantDef_i.cpp
+++ b/TAO/orbsvcs/IFR_Service/ConstantDef_i.cpp
@@ -22,14 +22,14 @@ TAO_ConstantDef_i::~TAO_ConstantDef_i (void)
{
}
-IR_DefinitionKind
+CORBA::DefinitionKind
TAO_ConstantDef_i::def_kind (CORBA::Environment &)
ACE_THROW_SPEC ((CORBA::SystemException))
{
- return dk_Constant;
+ return CORBA::dk_Constant;
}
-IR_Contained::Description *
+CORBA_Contained::Description *
TAO_ConstantDef_i::describe (CORBA::Environment &ACE_TRY_ENV)
ACE_THROW_SPEC ((CORBA::SystemException))
{
@@ -38,22 +38,22 @@ TAO_ConstantDef_i::describe (CORBA::Environment &ACE_TRY_ENV)
return this->describe_i (ACE_TRY_ENV);
}
-IR_Contained::Description *
+CORBA_Contained::Description *
TAO_ConstantDef_i::describe_i (CORBA::Environment &ACE_TRY_ENV)
ACE_THROW_SPEC ((CORBA::SystemException))
{
- IR_Contained::Description *desc_ptr = 0;
+ CORBA_Contained::Description *desc_ptr = 0;
ACE_NEW_THROW_EX (desc_ptr,
- IR_Contained::Description,
+ CORBA_Contained::Description,
CORBA::NO_MEMORY ());
ACE_CHECK_RETURN (0);
- IR_Contained::Description_var retval = desc_ptr;
+ CORBA_Contained::Description_var retval = desc_ptr;
retval->kind = this->def_kind (ACE_TRY_ENV);
ACE_CHECK_RETURN (0);
- IR_ConstantDescription cd;
+ CORBA_ConstantDescription cd;
cd.name = this->name_i (ACE_TRY_ENV);
ACE_CHECK_RETURN (0);
@@ -119,16 +119,16 @@ TAO_ConstantDef_i::type_i (CORBA::Environment &ACE_TRY_ENV)
return impl->type_i (ACE_TRY_ENV);
}
-IR_IDLType_ptr
+CORBA_IDLType_ptr
TAO_ConstantDef_i::type_def (CORBA::Environment &ACE_TRY_ENV)
ACE_THROW_SPEC ((CORBA::SystemException))
{
- TAO_IFR_READ_GUARD_RETURN (IR_IDLType::_nil ());
+ TAO_IFR_READ_GUARD_RETURN (CORBA_IDLType::_nil ());
return this->type_def_i (ACE_TRY_ENV);
}
-IR_IDLType_ptr
+CORBA_IDLType_ptr
TAO_ConstantDef_i::type_def_i (CORBA::Environment &ACE_TRY_ENV)
ACE_THROW_SPEC ((CORBA::SystemException))
{
@@ -148,21 +148,21 @@ TAO_ConstantDef_i::type_def_i (CORBA::Environment &ACE_TRY_ENV)
"def_kind",
kind);
- IR_DefinitionKind def_kind =
- ACE_static_cast (IR_DefinitionKind, kind);
+ CORBA::DefinitionKind def_kind =
+ ACE_static_cast (CORBA::DefinitionKind, kind);
CORBA::Object_var obj =
this->repo_->servant_factory ()->create_objref (def_kind,
type_path.c_str (),
ACE_TRY_ENV);
- ACE_CHECK_RETURN (IR_IDLType::_nil ());
+ ACE_CHECK_RETURN (CORBA_IDLType::_nil ());
- return IR_IDLType::_narrow (obj.in (),
+ return CORBA_IDLType::_narrow (obj.in (),
ACE_TRY_ENV);
}
void
-TAO_ConstantDef_i::type_def (IR_IDLType_ptr type_def,
+TAO_ConstantDef_i::type_def (CORBA_IDLType_ptr type_def,
CORBA::Environment &ACE_TRY_ENV)
ACE_THROW_SPEC ((CORBA::SystemException))
{
@@ -173,7 +173,7 @@ TAO_ConstantDef_i::type_def (IR_IDLType_ptr type_def,
}
void
-TAO_ConstantDef_i::type_def_i (IR_IDLType_ptr type_def,
+TAO_ConstantDef_i::type_def_i (CORBA_IDLType_ptr type_def,
CORBA::Environment &ACE_TRY_ENV)
ACE_THROW_SPEC ((CORBA::SystemException))
{
diff --git a/TAO/orbsvcs/IFR_Service/ConstantDef_i.h b/TAO/orbsvcs/IFR_Service/ConstantDef_i.h
index 25c8898f2f1..5bb2e3b4672 100644
--- a/TAO/orbsvcs/IFR_Service/ConstantDef_i.h
+++ b/TAO/orbsvcs/IFR_Service/ConstantDef_i.h
@@ -10,7 +10,7 @@
// ConstantDef_i.h
//
// = DESCRIPTION
-// IR_ConstantDef servant class.
+// ConstantDef servant class.
//
// = AUTHOR
// Jeff Parsons <parsons@cs.wustl.edu>
@@ -49,21 +49,21 @@ public:
virtual ~TAO_ConstantDef_i (void);
// Destructor
- virtual IR_DefinitionKind def_kind (
+ virtual CORBA::DefinitionKind def_kind (
CORBA::Environment &ACE_TRY_ENV =
TAO_default_environment ()
)
ACE_THROW_SPEC ((CORBA::SystemException));
// Return our definition kind.
- virtual IR_Contained::Description *describe (
+ virtual CORBA_Contained::Description *describe (
CORBA::Environment &ACE_TRY_ENV =
TAO_default_environment ()
)
ACE_THROW_SPEC ((CORBA::SystemException));
// From Contained_i's pure virtual function.
- virtual IR_Contained::Description *describe_i (
+ virtual CORBA_Contained::Description *describe_i (
CORBA::Environment &ACE_TRY_ENV =
TAO_default_environment ()
)
@@ -82,27 +82,27 @@ public:
)
ACE_THROW_SPEC ((CORBA::SystemException));
- virtual IR_IDLType_ptr type_def (
+ virtual CORBA_IDLType_ptr type_def (
CORBA::Environment &ACE_TRY_ENV =
TAO_default_environment ()
)
ACE_THROW_SPEC ((CORBA::SystemException));
- IR_IDLType_ptr type_def_i (
+ CORBA_IDLType_ptr type_def_i (
CORBA::Environment &ACE_TRY_ENV =
TAO_default_environment ()
)
ACE_THROW_SPEC ((CORBA::SystemException));
virtual void type_def (
- IR_IDLType_ptr type_def,
+ CORBA_IDLType_ptr type_def,
CORBA::Environment &ACE_TRY_ENV =
TAO_default_environment ()
)
ACE_THROW_SPEC ((CORBA::SystemException));
void type_def_i (
- IR_IDLType_ptr type_def,
+ CORBA_IDLType_ptr type_def,
CORBA::Environment &ACE_TRY_ENV =
TAO_default_environment ()
)
diff --git a/TAO/orbsvcs/IFR_Service/ConsumesDef_i.cpp b/TAO/orbsvcs/IFR_Service/ConsumesDef_i.cpp
index 363adca6a53..872a882823f 100644
--- a/TAO/orbsvcs/IFR_Service/ConsumesDef_i.cpp
+++ b/TAO/orbsvcs/IFR_Service/ConsumesDef_i.cpp
@@ -20,11 +20,11 @@ TAO_ConsumesDef_i::~TAO_ConsumesDef_i (void)
{
}
-IR_DefinitionKind
+CORBA::DefinitionKind
TAO_ConsumesDef_i::def_kind (CORBA::Environment &)
ACE_THROW_SPEC ((CORBA::SystemException))
{
- return dk_Consumes;
+ return CORBA::dk_Consumes;
}
void
@@ -43,7 +43,7 @@ TAO_ConsumesDef_i::destroy_i (CORBA::Environment & /* ACE_TRY_ENV */)
// TODO
}
-IR_Contained::Description *
+CORBA_Contained::Description *
TAO_ConsumesDef_i::describe (CORBA::Environment &ACE_TRY_ENV)
ACE_THROW_SPEC ((CORBA::SystemException))
{
@@ -52,7 +52,7 @@ TAO_ConsumesDef_i::describe (CORBA::Environment &ACE_TRY_ENV)
return this->describe_i (ACE_TRY_ENV);
}
-IR_Contained::Description *
+CORBA_Contained::Description *
TAO_ConsumesDef_i::describe_i (CORBA::Environment & /* ACE_TRY_ENV */)
ACE_THROW_SPEC ((CORBA::SystemException))
{
diff --git a/TAO/orbsvcs/IFR_Service/ConsumesDef_i.h b/TAO/orbsvcs/IFR_Service/ConsumesDef_i.h
index 6ec24bc1fc5..94383537afd 100644
--- a/TAO/orbsvcs/IFR_Service/ConsumesDef_i.h
+++ b/TAO/orbsvcs/IFR_Service/ConsumesDef_i.h
@@ -10,7 +10,7 @@
// ConsumesDef_i.h
//
// = DESCRIPTION
-// IR_ConsumesDef servant class.
+// ConsumesDef servant class.
//
// = AUTHOR
// Jeff Parsons <parsons@cs.wustl.edu>
@@ -50,7 +50,7 @@ public:
virtual ~TAO_ConsumesDef_i (void);
// Destructor
- virtual IR_DefinitionKind def_kind (
+ virtual CORBA::DefinitionKind def_kind (
CORBA::Environment &ACE_TRY_ENV =
TAO_default_environment ()
)
@@ -70,14 +70,14 @@ public:
)
ACE_THROW_SPEC ((CORBA::SystemException));
- virtual IR_Contained::Description *describe (
+ virtual CORBA_Contained::Description *describe (
CORBA::Environment &ACE_TRY_ENV =
TAO_default_environment ()
)
ACE_THROW_SPEC ((CORBA::SystemException));
// From Contained_i's pure virtual function.
- virtual IR_Contained::Description *describe_i (
+ virtual CORBA_Contained::Description *describe_i (
CORBA::Environment &ACE_TRY_ENV =
TAO_default_environment ()
)
diff --git a/TAO/orbsvcs/IFR_Service/Contained_i.cpp b/TAO/orbsvcs/IFR_Service/Contained_i.cpp
index d7ac497f8ed..f60be2f5df2 100644
--- a/TAO/orbsvcs/IFR_Service/Contained_i.cpp
+++ b/TAO/orbsvcs/IFR_Service/Contained_i.cpp
@@ -1,7 +1,6 @@
/* -*- C++ -*- */
// $Id$
-#include "Contained_i.h"
#include "concrete_classes.h"
#include "Servant_Factory.h"
#include "ace/Auto_Ptr.h"
@@ -273,16 +272,16 @@ TAO_Contained_i::version_i (const char *version,
version);
}
-IR_Container_ptr
+CORBA_Container_ptr
TAO_Contained_i::defined_in (CORBA::Environment &ACE_TRY_ENV)
ACE_THROW_SPEC ((CORBA::SystemException))
{
- TAO_IFR_READ_GUARD_RETURN (IR_Container::_nil ());
+ TAO_IFR_READ_GUARD_RETURN (CORBA_Container::_nil ());
return this->defined_in_i (ACE_TRY_ENV);
}
-IR_Container_ptr
+CORBA_Container_ptr
TAO_Contained_i::defined_in_i (CORBA::Environment &ACE_TRY_ENV)
ACE_THROW_SPEC ((CORBA::SystemException))
{
@@ -310,18 +309,18 @@ TAO_Contained_i::defined_in_i (CORBA::Environment &ACE_TRY_ENV)
"def_kind",
kind);
- IR_DefinitionKind def_kind =
- ACE_static_cast (IR_DefinitionKind, kind);
+ CORBA::DefinitionKind def_kind =
+ ACE_static_cast (CORBA::DefinitionKind, kind);
CORBA::Object_var obj =
this->repo_->servant_factory ()->create_objref (def_kind,
container_path.c_str (),
ACE_TRY_ENV);
- ACE_CHECK_RETURN (IR_Container::_nil ());
+ ACE_CHECK_RETURN (CORBA_Container::_nil ());
- IR_Container_var retval = IR_Container::_narrow (obj.in (),
+ CORBA_Container_var retval = CORBA_Container::_narrow (obj.in (),
ACE_TRY_ENV);
- ACE_CHECK_RETURN (IR_Container::_nil ());
+ ACE_CHECK_RETURN (CORBA_Container::_nil ());
return retval._retn ();
}
@@ -347,16 +346,16 @@ TAO_Contained_i::absolute_name_i (CORBA::Environment &)
return CORBA::string_dup (absolute_name.c_str ());
}
-IR_Repository_ptr
+CORBA_Repository_ptr
TAO_Contained_i::containing_repository (CORBA::Environment &ACE_TRY_ENV)
ACE_THROW_SPEC ((CORBA::SystemException))
{
- TAO_IFR_READ_GUARD_RETURN (IR_Repository::_nil ());
+ TAO_IFR_READ_GUARD_RETURN (CORBA_Repository::_nil ());
return this->containing_repository_i (ACE_TRY_ENV);
}
-IR_Repository_ptr
+CORBA_Repository_ptr
TAO_Contained_i::containing_repository_i (CORBA::Environment &)
ACE_THROW_SPEC ((CORBA::SystemException))
{
@@ -364,7 +363,7 @@ TAO_Contained_i::containing_repository_i (CORBA::Environment &)
}
void
-TAO_Contained_i::move (IR_Container_ptr new_container,
+TAO_Contained_i::move (CORBA_Container_ptr new_container,
const char *new_name,
const char *new_version,
CORBA::Environment &ACE_TRY_ENV)
@@ -482,18 +481,18 @@ TAO_Contained_i::contents_name_update (ACE_TString stem,
}
void
-TAO_Contained_i::move_i (IR_Container_ptr new_container,
+TAO_Contained_i::move_i (CORBA_Container_ptr new_container,
const char *new_name,
const char *new_version,
CORBA::Boolean cleanup,
CORBA::Environment &ACE_TRY_ENV)
ACE_THROW_SPEC ((CORBA::SystemException))
{
- IR_Repository_var my_repo =
+ CORBA_Repository_var my_repo =
this->containing_repository_i (ACE_TRY_ENV);
ACE_CHECK;
- IR_DefinitionKind container_dk =
+ CORBA::DefinitionKind container_dk =
new_container->def_kind (ACE_TRY_ENV);
ACE_CHECK;
@@ -502,7 +501,7 @@ TAO_Contained_i::move_i (IR_Container_ptr new_container,
// Check that we're not trying to move to a different repository,
// and set the container impl, used in each switch case below.
- if (container_dk == dk_Repository)
+ if (container_dk == CORBA::dk_Repository)
{
if (my_repo.in () != new_container)
{
@@ -535,7 +534,7 @@ TAO_Contained_i::move_i (IR_Container_ptr new_container,
auto_ptr<TAO_Contained_i> safety (impl);
- IR_Repository_var your_repo =
+ CORBA_Repository_var your_repo =
impl->containing_repository_i (ACE_TRY_ENV);
ACE_CHECK;
@@ -550,7 +549,7 @@ TAO_Contained_i::move_i (IR_Container_ptr new_container,
ACE_CHECK;
}
- IR_DefinitionKind my_dk = this->def_kind (ACE_TRY_ENV);
+ CORBA::DefinitionKind my_dk = this->def_kind (ACE_TRY_ENV);
ACE_CHECK;
CORBA::String_var id = this->id_i (ACE_TRY_ENV);
@@ -572,17 +571,17 @@ TAO_Contained_i::move_i (IR_Container_ptr new_container,
// Call the appropriate create function.
switch (my_dk)
{
- case dk_Enum:
+ case CORBA::dk_Enum:
{
TAO_EnumDef_i impl (this->repo_,
this->section_key_);
- IR_EnumMemberSeq_var members = impl.members_i (ACE_TRY_ENV);
+ CORBA_EnumMemberSeq_var members = impl.members_i (ACE_TRY_ENV);
ACE_TRY_CHECK;
- if (container_dk == dk_Struct
- || container_dk == dk_Union
- || container_dk == dk_Exception)
+ if (container_dk == CORBA::dk_Struct
+ || container_dk == CORBA::dk_Union
+ || container_dk == CORBA::dk_Exception)
{
this->move_pre_process (new_container,
my_path.c_str (),
@@ -591,7 +590,7 @@ TAO_Contained_i::move_i (IR_Container_ptr new_container,
ACE_TRY_CHECK;
}
- IR_EnumDef_var new_defn =
+ CORBA_EnumDef_var new_defn =
container_impl->create_enum_i (id.in (),
new_name,
new_version,
@@ -600,12 +599,12 @@ TAO_Contained_i::move_i (IR_Container_ptr new_container,
ACE_TRY_CHECK;
break;
}
- case dk_Alias:
+ case CORBA::dk_Alias:
{
TAO_AliasDef_i impl (this->repo_,
this->section_key_);
- IR_IDLType_var otype = impl.original_type_def_i (ACE_TRY_ENV);
+ CORBA_IDLType_var otype = impl.original_type_def_i (ACE_TRY_ENV);
ACE_TRY_CHECK;
container_impl->create_alias_i (id.in (),
@@ -616,7 +615,7 @@ TAO_Contained_i::move_i (IR_Container_ptr new_container,
ACE_TRY_CHECK;
break;
}
- case dk_Native:
+ case CORBA::dk_Native:
{
container_impl->create_native_i (id.in (),
new_name,
@@ -625,12 +624,12 @@ TAO_Contained_i::move_i (IR_Container_ptr new_container,
ACE_TRY_CHECK;
break;
}
- case dk_ValueBox:
+ case CORBA::dk_ValueBox:
{
TAO_ValueBoxDef_i impl (this->repo_,
this->section_key_);
- IR_IDLType_var otype = impl.original_type_def_i (ACE_TRY_ENV);
+ CORBA_IDLType_var otype = impl.original_type_def_i (ACE_TRY_ENV);
ACE_TRY_CHECK;
container_impl->create_value_box_i (id.in (),
@@ -641,17 +640,17 @@ TAO_Contained_i::move_i (IR_Container_ptr new_container,
ACE_TRY_CHECK;
break;
}
- case dk_Struct:
+ case CORBA::dk_Struct:
{
TAO_StructDef_i impl (this->repo_,
this->section_key_);
- IR_StructMemberSeq_var members = impl.members_i (ACE_TRY_ENV);
+ CORBA_StructMemberSeq_var members = impl.members_i (ACE_TRY_ENV);
ACE_TRY_CHECK;
- if (container_dk == dk_Struct
- || container_dk == dk_Union
- || container_dk == dk_Exception)
+ if (container_dk == CORBA::dk_Struct
+ || container_dk == CORBA::dk_Union
+ || container_dk == CORBA::dk_Exception)
{
this->move_pre_process (new_container,
my_path.c_str (),
@@ -660,7 +659,7 @@ TAO_Contained_i::move_i (IR_Container_ptr new_container,
ACE_TRY_CHECK;
}
- IR_StructDef_var new_defn =
+ CORBA_StructDef_var new_defn =
container_impl->create_struct_i (id.in (),
new_name,
new_version,
@@ -673,21 +672,21 @@ TAO_Contained_i::move_i (IR_Container_ptr new_container,
break;
}
- case dk_Union:
+ case CORBA::dk_Union:
{
TAO_UnionDef_i impl (this->repo_,
this->section_key_);
- IR_IDLType_var disc_type =
+ CORBA_IDLType_var disc_type =
impl.discriminator_type_def_i (ACE_TRY_ENV);
ACE_TRY_CHECK;
- IR_UnionMemberSeq_var members = impl.members_i (ACE_TRY_ENV);
+ CORBA_UnionMemberSeq_var members = impl.members_i (ACE_TRY_ENV);
ACE_TRY_CHECK;
- if (container_dk == dk_Struct
- || container_dk == dk_Union
- || container_dk == dk_Exception)
+ if (container_dk == CORBA::dk_Struct
+ || container_dk == CORBA::dk_Union
+ || container_dk == CORBA::dk_Exception)
{
this->move_pre_process (new_container,
my_path.c_str (),
@@ -696,7 +695,7 @@ TAO_Contained_i::move_i (IR_Container_ptr new_container,
ACE_TRY_CHECK;
}
- IR_UnionDef_var new_defn =
+ CORBA_UnionDef_var new_defn =
container_impl->create_union_i (id.in (),
new_name,
new_version,
@@ -710,9 +709,9 @@ TAO_Contained_i::move_i (IR_Container_ptr new_container,
break;
}
- case dk_Module:
+ case CORBA::dk_Module:
{
- IR_ModuleDef_var new_defn =
+ CORBA_ModuleDef_var new_defn =
container_impl->create_module_i (id.in (),
new_name,
new_version,
@@ -724,15 +723,15 @@ TAO_Contained_i::move_i (IR_Container_ptr new_container,
break;
}
- case dk_Exception:
+ case CORBA::dk_Exception:
{
TAO_ExceptionDef_i impl (this->repo_,
this->section_key_);
- IR_StructMemberSeq_var members = impl.members_i (ACE_TRY_ENV);
+ CORBA_StructMemberSeq_var members = impl.members_i (ACE_TRY_ENV);
ACE_TRY_CHECK;
- IR_ExceptionDef_var new_defn =
+ CORBA_ExceptionDef_var new_defn =
container_impl->create_exception_i (id.in (),
new_name,
new_version,
@@ -745,28 +744,20 @@ TAO_Contained_i::move_i (IR_Container_ptr new_container,
break;
}
- case dk_Interface:
+ case CORBA::dk_Interface:
{
TAO_InterfaceDef_i impl (this->repo_,
this->section_key_);
- IR_InterfaceDefSeq_var bases =
+ CORBA_InterfaceDefSeq_var bases =
impl.base_interfaces_i (ACE_TRY_ENV);
ACE_TRY_CHECK;
- CORBA::Boolean is_abstract = impl.is_abstract_i (ACE_TRY_ENV);
- ACE_TRY_CHECK;
-
- CORBA::Boolean is_local = impl.is_local_i (ACE_TRY_ENV);
- ACE_TRY_CHECK;
-
- IR_InterfaceDef_var new_defn =
+ CORBA_InterfaceDef_var new_defn =
container_impl->create_interface_i (id.in (),
new_name,
new_version,
bases.in (),
- is_abstract,
- is_local,
ACE_TRY_ENV);
ACE_TRY_CHECK;
@@ -775,12 +766,12 @@ TAO_Contained_i::move_i (IR_Container_ptr new_container,
break;
}
- case dk_Constant:
+ case CORBA::dk_Constant:
{
TAO_ConstantDef_i impl (this->repo_,
this->section_key_);
- IR_IDLType_var type_def = impl.type_def_i (ACE_TRY_ENV);
+ CORBA_IDLType_var type_def = impl.type_def_i (ACE_TRY_ENV);
ACE_TRY_CHECK;
CORBA::Any_var value = impl.value_i (ACE_TRY_ENV);
@@ -795,26 +786,18 @@ TAO_Contained_i::move_i (IR_Container_ptr new_container,
ACE_TRY_CHECK;
break;
}
- case dk_Attribute:
+ case CORBA::dk_Attribute:
{
TAO_AttributeDef_i impl (this->repo_,
this->section_key_);
- IR_IDLType_var type_def = impl.type_def_i (ACE_TRY_ENV);
- ACE_TRY_CHECK;
-
- IR_AttributeMode mode = impl.mode_i (ACE_TRY_ENV);
- ACE_TRY_CHECK;
-
- IR_ExceptionDefSeq_var get_excepts =
- impl.get_exceptions (ACE_TRY_ENV);
+ CORBA_IDLType_var type_def = impl.type_def_i (ACE_TRY_ENV);
ACE_TRY_CHECK;
- IR_ExceptionDefSeq_var put_excepts =
- impl.put_exceptions (ACE_TRY_ENV);
+ CORBA::AttributeMode mode = impl.mode_i (ACE_TRY_ENV);
ACE_TRY_CHECK;
- if (container_dk == dk_Interface)
+ if (container_dk == CORBA::dk_Interface)
{
TAO_InterfaceDef_i idef (this->repo_,
container_key);
@@ -824,13 +807,11 @@ TAO_Contained_i::move_i (IR_Container_ptr new_container,
new_version,
type_def.in (),
mode,
- get_excepts.in (),
- put_excepts.in (),
ACE_TRY_ENV);
ACE_TRY_CHECK;
break;
}
- else if (container_dk == dk_Value)
+ else if (container_dk == CORBA::dk_Value)
{
TAO_ValueDef_i vdef (this->repo_,
container_key);
@@ -840,8 +821,6 @@ TAO_Contained_i::move_i (IR_Container_ptr new_container,
new_version,
type_def.in (),
mode,
- get_excepts.in (),
- put_excepts.in (),
ACE_TRY_ENV);
ACE_TRY_CHECK;
break;
@@ -851,28 +830,28 @@ TAO_Contained_i::move_i (IR_Container_ptr new_container,
ACE_THROW (CORBA::BAD_PARAM (4, CORBA::COMPLETED_NO));
}
}
- case dk_Operation:
+ case CORBA::dk_Operation:
{
TAO_OperationDef_i impl (this->repo_,
this->section_key_);
- IR_IDLType_var result = impl.result_def_i (ACE_TRY_ENV);
+ CORBA_IDLType_var result = impl.result_def_i (ACE_TRY_ENV);
ACE_TRY_CHECK;
- IR_OperationMode mode = impl.mode_i (ACE_TRY_ENV);
+ CORBA::OperationMode mode = impl.mode_i (ACE_TRY_ENV);
ACE_TRY_CHECK;
- IR_ParDescriptionSeq_var params = impl.params_i (ACE_TRY_ENV);
+ CORBA_ParDescriptionSeq_var params = impl.params_i (ACE_TRY_ENV);
ACE_TRY_CHECK;
- IR_ExceptionDefSeq_var exceptions =
+ CORBA_ExceptionDefSeq_var exceptions =
impl.exceptions_i (ACE_TRY_ENV);
ACE_TRY_CHECK;
- IR_ContextIdSeq_var contexts = impl.contexts_i (ACE_TRY_ENV);
+ CORBA_ContextIdSeq_var contexts = impl.contexts_i (ACE_TRY_ENV);
ACE_TRY_CHECK;
- if (container_dk == dk_Interface)
+ if (container_dk == CORBA::dk_Interface)
{
TAO_InterfaceDef_i idef (this->repo_,
container_key);
@@ -889,7 +868,7 @@ TAO_Contained_i::move_i (IR_Container_ptr new_container,
ACE_TRY_CHECK;
break;
}
- else if (container_dk == dk_Value)
+ else if (container_dk == CORBA::dk_Value)
{
TAO_ValueDef_i vdef (this->repo_,
container_key);
@@ -911,18 +890,18 @@ TAO_Contained_i::move_i (IR_Container_ptr new_container,
ACE_THROW (CORBA::BAD_PARAM (4, CORBA::COMPLETED_NO));
}
}
- case dk_Value:
- case dk_Home:
- case dk_Component:
- case dk_Factory:
- case dk_Finder:
- case dk_PrimaryKey:
- case dk_Provides:
- case dk_Uses:
- case dk_Emits:
- case dk_Publishes:
- case dk_Consumes:
- case dk_ValueMember:
+ case CORBA::dk_Value:
+ case CORBA::dk_Home:
+ case CORBA::dk_Component:
+ case CORBA::dk_Factory:
+ case CORBA::dk_Finder:
+ case CORBA::dk_PrimaryKey:
+ case CORBA::dk_Provides:
+ case CORBA::dk_Uses:
+ case CORBA::dk_Emits:
+ case CORBA::dk_Publishes:
+ case CORBA::dk_Consumes:
+ case CORBA::dk_ValueMember:
// TODO
default:
break;
@@ -980,12 +959,12 @@ TAO_Contained_i::move_i (IR_Container_ptr new_container,
1);
}
- if (container_dk != dk_Repository)
+ if (container_dk != CORBA::dk_Repository)
delete container_impl;
}
void
-TAO_Contained_i::move_pre_process (IR_Container_ptr container,
+TAO_Contained_i::move_pre_process (CORBA_Container_ptr container,
const char *contained_path,
const char *name,
CORBA::Environment &ACE_TRY_ENV)
@@ -1047,7 +1026,7 @@ TAO_Contained_i::move_pre_process (IR_Container_ptr container,
}
void
-TAO_Contained_i::move_contents (IR_Container_ptr new_container,
+TAO_Contained_i::move_contents (CORBA_Container_ptr new_container,
CORBA::Environment &ACE_TRY_ENV)
ACE_THROW_SPEC ((CORBA::SystemException))
{
@@ -1107,11 +1086,11 @@ TAO_Contained_i::move_contents (IR_Container_ptr new_container,
}
}
- IR_DefinitionKind kind = this->def_kind (ACE_TRY_ENV);
+ CORBA::DefinitionKind kind = this->def_kind (ACE_TRY_ENV);
ACE_CHECK;
// Specific to InterfaceDef_i and ValueDef_i
- if (kind == dk_Interface || kind == dk_Value)
+ if (kind == CORBA::dk_Interface || kind == CORBA::dk_Value)
{
int index = 0;
ACE_TString section_name;
diff --git a/TAO/orbsvcs/IFR_Service/Contained_i.h b/TAO/orbsvcs/IFR_Service/Contained_i.h
index 97e34e671fd..5b1422c0bc9 100644
--- a/TAO/orbsvcs/IFR_Service/Contained_i.h
+++ b/TAO/orbsvcs/IFR_Service/Contained_i.h
@@ -10,7 +10,7 @@
// Contained_i.h
//
// = DESCRIPTION
-// IR_Contained servant class.
+// Contained servant class.
//
// = AUTHOR
// Jeff Parsons <parsons@cs.wustl.edu>
@@ -20,7 +20,7 @@
#ifndef TAO_CONTAINED_I_H
#define TAO_CONTAINED_I_H
-#include "Container_i.h"
+#include "IRObject_i.h"
#if !defined (ACE_LACKS_PRAGMA_ONCE)
# pragma once
@@ -141,13 +141,13 @@ public:
)
ACE_THROW_SPEC ((CORBA::SystemException));
- virtual IR_Container_ptr defined_in (
+ virtual CORBA_Container_ptr defined_in (
CORBA::Environment &ACE_TRY_ENV =
TAO_default_environment ()
)
ACE_THROW_SPEC ((CORBA::SystemException));
- IR_Container_ptr defined_in_i (
+ CORBA_Container_ptr defined_in_i (
CORBA::Environment &ACE_TRY_ENV =
TAO_default_environment ()
)
@@ -165,26 +165,26 @@ public:
)
ACE_THROW_SPEC ((CORBA::SystemException));
- virtual IR_Repository_ptr containing_repository (
+ virtual CORBA_Repository_ptr containing_repository (
CORBA::Environment &ACE_TRY_ENV =
TAO_default_environment ()
)
ACE_THROW_SPEC ((CORBA::SystemException));
- IR_Repository_ptr containing_repository_i (
+ CORBA_Repository_ptr containing_repository_i (
CORBA::Environment &ACE_TRY_ENV =
TAO_default_environment ()
)
ACE_THROW_SPEC ((CORBA::SystemException));
- virtual IR_Contained::Description *describe (
+ virtual CORBA_Contained::Description *describe (
CORBA::Environment &ACE_TRY_ENV =
TAO_default_environment ()
)
ACE_THROW_SPEC ((CORBA::SystemException)) = 0;
// Pure virtual.
- virtual IR_Contained::Description *describe_i (
+ virtual CORBA_Contained::Description *describe_i (
CORBA::Environment &ACE_TRY_ENV =
TAO_default_environment ()
)
@@ -192,7 +192,7 @@ public:
// Pure virtual.
virtual void move (
- IR_Container_ptr new_container,
+ CORBA_Container_ptr new_container,
const char *new_name,
const char *new_version,
CORBA::Environment &ACE_TRY_ENV =
@@ -202,7 +202,7 @@ public:
protected:
void move_i (
- IR_Container_ptr new_container,
+ CORBA_Container_ptr new_container,
const char *new_name,
const char *new_version,
CORBA::Boolean cleanup,
@@ -231,7 +231,7 @@ private:
// Recursively update the scoped name of our contents.
void move_pre_process (
- IR_Container_ptr container,
+ CORBA_Container_ptr container,
const char *contained_path,
const char *name,
CORBA::Environment &ACE_TRY_ENV =
@@ -244,7 +244,7 @@ private:
// unmangles the names.
void move_contents (
- IR_Container_ptr new_container,
+ CORBA_Container_ptr new_container,
CORBA::Environment &ACE_TRY_ENV =
TAO_default_environment ()
)
diff --git a/TAO/orbsvcs/IFR_Service/Container_i.cpp b/TAO/orbsvcs/IFR_Service/Container_i.cpp
index 766fc466bea..0d72676fb29 100644
--- a/TAO/orbsvcs/IFR_Service/Container_i.cpp
+++ b/TAO/orbsvcs/IFR_Service/Container_i.cpp
@@ -2,7 +2,6 @@
// $Id$
#include "Repository_i.h"
-#include "IDLType_i.h"
#include "InterfaceDef_i.h"
#include "Servant_Factory.h"
#include "ace/Auto_Ptr.h"
@@ -83,7 +82,7 @@ TAO_Container_i::destroy_i (CORBA::Environment &ACE_TRY_ENV)
auto_ptr<TAO_IDLType_i> safety (impl);
- IR_DefinitionKind def_kind = impl->def_kind (ACE_TRY_ENV);
+ CORBA::DefinitionKind def_kind = impl->def_kind (ACE_TRY_ENV);
ACE_CHECK;
switch (def_kind)
@@ -91,11 +90,11 @@ TAO_Container_i::destroy_i (CORBA::Environment &ACE_TRY_ENV)
// These anonymous types were defined in IDL inside this
// struct and have no 'contained-in' info of their own,
// so they must be destroyed here.
- case dk_String:
- case dk_Wstring:
- case dk_Fixed:
- case dk_Array:
- case dk_Sequence:
+ case CORBA::dk_String:
+ case CORBA::dk_Wstring:
+ case CORBA::dk_Fixed:
+ case CORBA::dk_Array:
+ case CORBA::dk_Sequence:
impl->destroy_i (ACE_TRY_ENV);
ACE_CHECK;
break;
@@ -162,7 +161,7 @@ TAO_Container_i::destroy_i (CORBA::Environment &ACE_TRY_ENV)
}
}
-IR_Contained_ptr
+CORBA_Contained_ptr
TAO_Container_i::lookup (const char *search_name,
CORBA::Environment &ACE_TRY_ENV)
ACE_THROW_SPEC ((CORBA::SystemException))
@@ -173,7 +172,7 @@ TAO_Container_i::lookup (const char *search_name,
ACE_TRY_ENV);
}
-IR_Contained_ptr
+CORBA_Contained_ptr
TAO_Container_i::lookup_i (const char *search_name,
CORBA::Environment &ACE_TRY_ENV)
ACE_THROW_SPEC ((CORBA::SystemException))
@@ -187,7 +186,7 @@ TAO_Container_i::lookup_i (const char *search_name,
int pos = 0;
int so_far_so_good = 0;
u_int kind = 0;
- IR_DefinitionKind def_kind = dk_none;
+ CORBA::DefinitionKind def_kind = CORBA::dk_none;
if (ACE_OS::strncmp (search_name, "::", 2) == 0)
@@ -261,10 +260,10 @@ TAO_Container_i::lookup_i (const char *search_name,
"def_kind",
kind);
- def_kind = ACE_static_cast (IR_DefinitionKind, kind);
+ def_kind = ACE_static_cast (CORBA::DefinitionKind, kind);
- if (def_kind == dk_Interface
- || def_kind == dk_Value)
+ if (def_kind == CORBA::dk_Interface
+ || def_kind == CORBA::dk_Value)
{
ACE_Configuration_Section_Key attrs_key;
status =
@@ -357,7 +356,7 @@ TAO_Container_i::lookup_i (const char *search_name,
}
}
- return IR_Contained::_nil ();
+ return CORBA_Contained::_nil ();
}
this->repo_->config ()->get_integer_value (work_key,
@@ -374,20 +373,20 @@ TAO_Container_i::lookup_i (const char *search_name,
id.c_str (),
path);
- def_kind = ACE_static_cast (IR_DefinitionKind, kind);
+ def_kind = ACE_static_cast (CORBA::DefinitionKind, kind);
CORBA::Object_var obj =
this->repo_->servant_factory ()->create_objref (def_kind,
path.c_str (),
ACE_TRY_ENV);
- ACE_CHECK_RETURN (IR_Contained::_nil ());
+ ACE_CHECK_RETURN (CORBA_Contained::_nil ());
- return IR_Contained::_narrow (obj.in (),
+ return CORBA_Contained::_narrow (obj.in (),
ACE_TRY_ENV);
}
-IR_ContainedSeq *
-TAO_Container_i::contents (IR_DefinitionKind limit_type,
+CORBA_ContainedSeq *
+TAO_Container_i::contents (CORBA::DefinitionKind limit_type,
CORBA::Boolean exclude_inherited,
CORBA::Environment &ACE_TRY_ENV)
ACE_THROW_SPEC ((CORBA::SystemException))
@@ -399,16 +398,16 @@ TAO_Container_i::contents (IR_DefinitionKind limit_type,
ACE_TRY_ENV);
}
-IR_ContainedSeq *
-TAO_Container_i::contents_i (IR_DefinitionKind limit_type,
+CORBA_ContainedSeq *
+TAO_Container_i::contents_i (CORBA::DefinitionKind limit_type,
CORBA::Boolean exclude_inherited,
CORBA::Environment &ACE_TRY_ENV)
ACE_THROW_SPEC ((CORBA::SystemException))
{
- if (limit_type == dk_none)
+ if (limit_type == CORBA::dk_none)
return 0;
- ACE_Unbounded_Queue<IR_DefinitionKind> kind_queue;
+ ACE_Unbounded_Queue<CORBA::DefinitionKind> kind_queue;
ACE_Unbounded_Queue<ACE_TString> path_queue;
// Definitions
@@ -441,10 +440,10 @@ TAO_Container_i::contents_i (IR_DefinitionKind limit_type,
"def_kind",
kind);
- IR_DefinitionKind def_kind =
- ACE_static_cast (IR_DefinitionKind, kind);
+ CORBA::DefinitionKind def_kind =
+ ACE_static_cast (CORBA::DefinitionKind, kind);
- if (limit_type == dk_all
+ if (limit_type == CORBA::dk_all
|| limit_type == def_kind)
{
kind_queue.enqueue_tail (def_kind);
@@ -468,14 +467,14 @@ TAO_Container_i::contents_i (IR_DefinitionKind limit_type,
// Base interfaces
- IR_DefinitionKind def_kind = this->def_kind (ACE_TRY_ENV);
+ CORBA::DefinitionKind def_kind = this->def_kind (ACE_TRY_ENV);
ACE_CHECK_RETURN (0);
- if (def_kind == dk_Interface)
+ if (def_kind == CORBA::dk_Interface)
{
- if (limit_type == dk_Operation
- || limit_type == dk_Attribute
- || limit_type == dk_all)
+ if (limit_type == CORBA::dk_Operation
+ || limit_type == CORBA::dk_Attribute
+ || limit_type == CORBA::dk_all)
{
TAO_InterfaceDef_i iface (this->repo_,
this->section_key_);
@@ -491,19 +490,19 @@ TAO_Container_i::contents_i (IR_DefinitionKind limit_type,
size_t size = kind_queue.size ();
- IR_ContainedSeq *contents = 0;
+ CORBA_ContainedSeq *contents = 0;
ACE_NEW_THROW_EX (contents,
- IR_ContainedSeq (size),
+ CORBA_ContainedSeq (size),
CORBA::NO_MEMORY ());
ACE_CHECK_RETURN (0);
- IR_ContainedSeq_var retval = contents;
+ CORBA_ContainedSeq_var retval = contents;
retval->length (size);
for (size_t j = 0; j < size; j++)
{
- IR_DefinitionKind next_kind;
+ CORBA::DefinitionKind next_kind;
kind_queue.dequeue_head (next_kind);
ACE_TString next_path;
@@ -515,8 +514,8 @@ TAO_Container_i::contents_i (IR_DefinitionKind limit_type,
ACE_TRY_ENV);
ACE_CHECK_RETURN (0);
- IR_Contained_var next_cont =
- IR_Contained::_narrow (obj.in (),
+ CORBA_Contained_var next_cont =
+ CORBA_Contained::_narrow (obj.in (),
ACE_TRY_ENV);
ACE_CHECK_RETURN (0);
@@ -526,10 +525,10 @@ TAO_Container_i::contents_i (IR_DefinitionKind limit_type,
return retval._retn ();
}
-IR_ContainedSeq *
+CORBA_ContainedSeq *
TAO_Container_i::lookup_name (const char *search_name,
CORBA::Long levels_to_search,
- IR_DefinitionKind limit_type,
+ CORBA::DefinitionKind limit_type,
CORBA::Boolean exclude_inherited,
CORBA::Environment &ACE_TRY_ENV)
ACE_THROW_SPEC ((CORBA::SystemException))
@@ -543,15 +542,15 @@ TAO_Container_i::lookup_name (const char *search_name,
ACE_TRY_ENV);
}
-IR_ContainedSeq *
+CORBA_ContainedSeq *
TAO_Container_i::lookup_name_i (const char *search_name,
CORBA::Long levels_to_search,
- IR_DefinitionKind limit_type,
+ CORBA::DefinitionKind limit_type,
CORBA::Boolean exclude_inherited,
CORBA::Environment &ACE_TRY_ENV)
ACE_THROW_SPEC ((CORBA::SystemException))
{
- ACE_Unbounded_Queue<IR_DefinitionKind> kind_queue;
+ ACE_Unbounded_Queue<CORBA::DefinitionKind> kind_queue;
ACE_Unbounded_Queue<ACE_TString> path_queue;
this->lookup_name_recursive (kind_queue,
@@ -564,18 +563,18 @@ TAO_Container_i::lookup_name_i (const char *search_name,
size_t size = kind_queue.size ();
- IR_ContainedSeq *holder;
+ CORBA_ContainedSeq *holder;
ACE_NEW_THROW_EX (holder,
- IR_ContainedSeq (size),
+ CORBA_ContainedSeq (size),
CORBA::NO_MEMORY ());
ACE_CHECK_RETURN (0);
- IR_ContainedSeq_var retval = holder;
+ CORBA_ContainedSeq_var retval = holder;
retval->length (size);
for (size_t i = 0; i < size; i++)
{
- IR_DefinitionKind next_kind;
+ CORBA::DefinitionKind next_kind;
kind_queue.dequeue_head (next_kind);
ACE_TString next_path;
@@ -587,8 +586,8 @@ TAO_Container_i::lookup_name_i (const char *search_name,
ACE_TRY_ENV);
ACE_CHECK_RETURN (0);
- IR_Contained_var next_cont =
- IR_Contained::_narrow (obj.in (),
+ CORBA_Contained_var next_cont =
+ CORBA_Contained::_narrow (obj.in (),
ACE_TRY_ENV);
ACE_CHECK_RETURN (0);
@@ -598,8 +597,8 @@ TAO_Container_i::lookup_name_i (const char *search_name,
return retval._retn ();
}
-IR_Container::DescriptionSeq *
-TAO_Container_i::describe_contents (IR_DefinitionKind limit_type,
+CORBA_Container::DescriptionSeq *
+TAO_Container_i::describe_contents (CORBA::DefinitionKind limit_type,
CORBA::Boolean exclude_inherited,
CORBA::Long max_returned_objs,
CORBA::Environment &ACE_TRY_ENV)
@@ -613,14 +612,14 @@ TAO_Container_i::describe_contents (IR_DefinitionKind limit_type,
ACE_TRY_ENV);
}
-IR_Container::DescriptionSeq *
-TAO_Container_i::describe_contents_i (IR_DefinitionKind limit_type,
+CORBA_Container::DescriptionSeq *
+TAO_Container_i::describe_contents_i (CORBA::DefinitionKind limit_type,
CORBA::Boolean exclude_inherited,
CORBA::Long max_returned_objs,
CORBA::Environment &ACE_TRY_ENV)
ACE_THROW_SPEC ((CORBA::SystemException))
{
- IR_ContainedSeq_var contents = this->contents_i (limit_type,
+ CORBA_ContainedSeq_var contents = this->contents_i (limit_type,
exclude_inherited,
ACE_TRY_ENV);
ACE_CHECK_RETURN (0);
@@ -635,17 +634,17 @@ TAO_Container_i::describe_contents_i (IR_DefinitionKind limit_type,
? length
: max_returned_objs;
- IR_Container::DescriptionSeq *desc_seq;
+ CORBA_Container::DescriptionSeq *desc_seq;
ACE_NEW_THROW_EX (desc_seq,
- IR_Container::DescriptionSeq (ret_len),
+ CORBA_Container::DescriptionSeq (ret_len),
CORBA::NO_MEMORY ());
ACE_CHECK_RETURN (0);
desc_seq->length (ret_len);
- IR_Container::DescriptionSeq_var retval = desc_seq;
+ CORBA_Container::DescriptionSeq_var retval = desc_seq;
- IR_Contained::Description_var desc;
+ CORBA_Contained::Description_var desc;
ACE_Configuration_Section_Key contained_key;
PortableServer::ObjectId_var oid;
@@ -677,7 +676,7 @@ TAO_Container_i::describe_contents_i (IR_DefinitionKind limit_type,
ACE_CHECK_RETURN (0);
retval[i].contained_object =
- IR_Contained::_duplicate (contents[i]);
+ CORBA_Contained::_duplicate (contents[i]);
retval[i].kind = desc->kind;
@@ -687,14 +686,14 @@ TAO_Container_i::describe_contents_i (IR_DefinitionKind limit_type,
return retval._retn ();
}
-IR_ModuleDef_ptr
+CORBA_ModuleDef_ptr
TAO_Container_i::create_module (const char *id,
const char *name,
const char *version,
CORBA::Environment &ACE_TRY_ENV)
ACE_THROW_SPEC ((CORBA::SystemException))
{
- TAO_IFR_WRITE_GUARD_RETURN (IR_ModuleDef::_nil ());
+ TAO_IFR_WRITE_GUARD_RETURN (CORBA_ModuleDef::_nil ());
return this->create_module_i (id,
name,
@@ -702,27 +701,27 @@ TAO_Container_i::create_module (const char *id,
ACE_TRY_ENV);
}
-IR_ModuleDef_ptr
+CORBA_ModuleDef_ptr
TAO_Container_i::create_module_i (const char *id,
const char *name,
const char *version,
CORBA::Environment &ACE_TRY_ENV)
ACE_THROW_SPEC ((CORBA::SystemException))
{
- CORBA::Boolean legal_op = this->valid_container (dk_Module,
+ CORBA::Boolean legal_op = this->valid_container (CORBA::dk_Module,
ACE_TRY_ENV);
- ACE_CHECK_RETURN (IR_ModuleDef::_nil ());
+ ACE_CHECK_RETURN (CORBA_ModuleDef::_nil ());
if (!legal_op)
- return IR_ModuleDef::_nil ();
+ return CORBA_ModuleDef::_nil ();
CORBA::Boolean bad_params = this->pre_exist (id,
name,
ACE_TRY_ENV);
- ACE_CHECK_RETURN (IR_ModuleDef::_nil ());
+ ACE_CHECK_RETURN (CORBA_ModuleDef::_nil ());
if (bad_params)
- return IR_ModuleDef::_nil ();
+ return CORBA_ModuleDef::_nil ();
ACE_Configuration_Section_Key defns_key;
@@ -732,7 +731,7 @@ TAO_Container_i::create_module_i (const char *id,
1,
defns_key);
- // Common to all IR objects created in IR_Container.
+ // Common to all IR objects created in CORBA_Container.
ACE_Configuration_Section_Key new_key;
ACE_TString path = this->create_common (defns_key,
new_key,
@@ -740,7 +739,7 @@ TAO_Container_i::create_module_i (const char *id,
name,
version,
"defns\\",
- dk_Module);
+ CORBA::dk_Module);
// For anonymous members.
ACE_Configuration_Section_Key refs_key;
@@ -751,25 +750,25 @@ TAO_Container_i::create_module_i (const char *id,
// Create the object reference.
CORBA::Object_var obj =
- this->repo_->servant_factory ()->create_objref (dk_Module,
+ this->repo_->servant_factory ()->create_objref (CORBA::dk_Module,
path.c_str (),
ACE_TRY_ENV);
- ACE_CHECK_RETURN (IR_ModuleDef::_nil ());
+ ACE_CHECK_RETURN (CORBA_ModuleDef::_nil ());
- return IR_ModuleDef::_narrow (obj.in (),
+ return CORBA_ModuleDef::_narrow (obj.in (),
ACE_TRY_ENV);
}
-IR_ConstantDef_ptr
+CORBA_ConstantDef_ptr
TAO_Container_i::create_constant (const char *id,
const char *name,
const char *version,
- IR_IDLType_ptr type,
+ CORBA_IDLType_ptr type,
const CORBA::Any &value,
CORBA::Environment &ACE_TRY_ENV)
ACE_THROW_SPEC ((CORBA::SystemException))
{
- TAO_IFR_WRITE_GUARD_RETURN (IR_ConstantDef::_nil ());
+ TAO_IFR_WRITE_GUARD_RETURN (CORBA_ConstantDef::_nil ());
return this->create_constant_i (id,
name,
@@ -779,29 +778,29 @@ TAO_Container_i::create_constant (const char *id,
ACE_TRY_ENV);
}
-IR_ConstantDef_ptr
+CORBA_ConstantDef_ptr
TAO_Container_i::create_constant_i (const char *id,
const char *name,
const char *version,
- IR_IDLType_ptr type,
+ CORBA_IDLType_ptr type,
const CORBA::Any &value,
CORBA::Environment &ACE_TRY_ENV)
ACE_THROW_SPEC ((CORBA::SystemException))
{
- CORBA::Boolean legal_op = this->valid_container (dk_Constant,
+ CORBA::Boolean legal_op = this->valid_container (CORBA::dk_Constant,
ACE_TRY_ENV);
- ACE_CHECK_RETURN (IR_ConstantDef::_nil ());
+ ACE_CHECK_RETURN (CORBA_ConstantDef::_nil ());
if (!legal_op)
- return IR_ConstantDef::_nil ();
+ return CORBA_ConstantDef::_nil ();
CORBA::Boolean bad_params = this->pre_exist (id,
name,
ACE_TRY_ENV);
- ACE_CHECK_RETURN (IR_ConstantDef::_nil ());
+ ACE_CHECK_RETURN (CORBA_ConstantDef::_nil ());
if (bad_params)
- return IR_ConstantDef::_nil ();
+ return CORBA_ConstantDef::_nil ();
// Create/open section for members defined in this scope.
ACE_Configuration_Section_Key defns_key;
@@ -810,7 +809,7 @@ TAO_Container_i::create_constant_i (const char *id,
1,
defns_key);
- // Common to all IR objects created in IR_Container.
+ // Common to all IR objects created in CORBA_Container.
ACE_Configuration_Section_Key new_key;
ACE_TString path = this->create_common (defns_key,
new_key,
@@ -818,14 +817,14 @@ TAO_Container_i::create_constant_i (const char *id,
name,
version,
"defns\\",
- dk_Constant);
+ CORBA::dk_Constant);
// Get the path to our type and store it.
PortableServer::ObjectId_var oid =
this->repo_->ir_poa ()->reference_to_id (type,
ACE_TRY_ENV);
- ACE_CHECK_RETURN (IR_ConstantDef::_nil ());
+ ACE_CHECK_RETURN (CORBA_ConstantDef::_nil ());
CORBA::String_var type_path =
PortableServer::ObjectId_to_string (oid.in ());
@@ -840,7 +839,7 @@ TAO_Container_i::create_constant_i (const char *id,
CORBA::TypeCode_var val_tc = value.type ();
CORBA::TCKind kind = val_tc->kind (ACE_TRY_ENV);
- ACE_CHECK_RETURN (IR_ConstantDef::_nil ());
+ ACE_CHECK_RETURN (CORBA_ConstantDef::_nil ());
switch (kind)
{
@@ -868,24 +867,24 @@ TAO_Container_i::create_constant_i (const char *id,
// Create the object reference.
CORBA::Object_var obj =
- this->repo_->servant_factory ()->create_objref (dk_Constant,
+ this->repo_->servant_factory ()->create_objref (CORBA::dk_Constant,
path.c_str (),
ACE_TRY_ENV);
- ACE_CHECK_RETURN (IR_ConstantDef::_nil ());
+ ACE_CHECK_RETURN (CORBA_ConstantDef::_nil ());
- return IR_ConstantDef::_narrow (obj.in (),
+ return CORBA_ConstantDef::_narrow (obj.in (),
ACE_TRY_ENV);
}
-IR_StructDef_ptr
+CORBA_StructDef_ptr
TAO_Container_i::create_struct (const char *id,
const char *name,
const char *version,
- const IR_StructMemberSeq &members,
+ const CORBA_StructMemberSeq &members,
CORBA::Environment &ACE_TRY_ENV)
ACE_THROW_SPEC ((CORBA::SystemException))
{
- TAO_IFR_WRITE_GUARD_RETURN (IR_StructDef::_nil ());
+ TAO_IFR_WRITE_GUARD_RETURN (CORBA_StructDef::_nil ());
return this->create_struct_i (id,
name,
@@ -894,28 +893,28 @@ TAO_Container_i::create_struct (const char *id,
ACE_TRY_ENV);
}
-IR_StructDef_ptr
+CORBA_StructDef_ptr
TAO_Container_i::create_struct_i (const char *id,
const char *name,
const char *version,
- const IR_StructMemberSeq &members,
+ const CORBA_StructMemberSeq &members,
CORBA::Environment &ACE_TRY_ENV)
ACE_THROW_SPEC ((CORBA::SystemException))
{
- CORBA::Boolean legal_op = this->valid_container (dk_Struct,
+ CORBA::Boolean legal_op = this->valid_container (CORBA::dk_Struct,
ACE_TRY_ENV);
- ACE_CHECK_RETURN (IR_StructDef::_nil ());
+ ACE_CHECK_RETURN (CORBA_StructDef::_nil ());
if (!legal_op)
- return IR_StructDef::_nil ();
+ return CORBA_StructDef::_nil ();
CORBA::Boolean bad_params = this->pre_exist (id,
name,
ACE_TRY_ENV);
- ACE_CHECK_RETURN (IR_StructDef::_nil ());
+ ACE_CHECK_RETURN (CORBA_StructDef::_nil ());
if (bad_params)
- return IR_StructDef::_nil ();
+ return CORBA_StructDef::_nil ();
// Create/open section for members defined in this scope.
ACE_Configuration_Section_Key defns_key;
@@ -924,7 +923,7 @@ TAO_Container_i::create_struct_i (const char *id,
1,
defns_key);
- // Common to all IR objects created in IR_Container.
+ // Common to all IR objects created in CORBA_Container.
ACE_Configuration_Section_Key new_key;
ACE_TString path = this->create_common (defns_key,
new_key,
@@ -932,7 +931,7 @@ TAO_Container_i::create_struct_i (const char *id,
name,
version,
"defns\\",
- dk_Struct);
+ CORBA::dk_Struct);
// Open a section for the struct's members.
ACE_Configuration_Section_Key refs_key;
@@ -965,7 +964,7 @@ TAO_Container_i::create_struct_i (const char *id,
PortableServer::ObjectId_var oid =
this->repo_->ir_poa ()->reference_to_id (members[i].type_def.in (),
ACE_TRY_ENV);
- ACE_CHECK_RETURN (IR_StructDef::_nil ());
+ ACE_CHECK_RETURN (CORBA_StructDef::_nil ());
CORBA::String_var member_path =
PortableServer::ObjectId_to_string (oid.in ());
@@ -975,12 +974,12 @@ TAO_Container_i::create_struct_i (const char *id,
member_path.in ());
}
- IR_DefinitionKind def_kind = this->def_kind (ACE_TRY_ENV);
- ACE_CHECK_RETURN (IR_StructDef::_nil ());
+ CORBA::DefinitionKind def_kind = this->def_kind (ACE_TRY_ENV);
+ ACE_CHECK_RETURN (CORBA_StructDef::_nil ());
- if (def_kind == dk_Struct
- || def_kind == dk_Union
- || def_kind == dk_Exception)
+ if (def_kind == CORBA::dk_Struct
+ || def_kind == CORBA::dk_Union
+ || def_kind == CORBA::dk_Exception)
{
this->update_refs (path.c_str (),
name);
@@ -988,25 +987,25 @@ TAO_Container_i::create_struct_i (const char *id,
// Create the object reference.
CORBA::Object_var obj =
- this->repo_->servant_factory ()->create_objref (dk_Struct,
+ this->repo_->servant_factory ()->create_objref (CORBA::dk_Struct,
path.c_str (),
ACE_TRY_ENV);
- ACE_CHECK_RETURN (IR_StructDef::_nil ());
+ ACE_CHECK_RETURN (CORBA_StructDef::_nil ());
- return IR_StructDef::_narrow (obj.in (),
+ return CORBA_StructDef::_narrow (obj.in (),
ACE_TRY_ENV);
}
-IR_UnionDef_ptr
+CORBA_UnionDef_ptr
TAO_Container_i::create_union (const char *id,
const char *name,
const char *version,
- IR_IDLType_ptr discriminator_type,
- const IR_UnionMemberSeq &members,
+ CORBA_IDLType_ptr discriminator_type,
+ const CORBA_UnionMemberSeq &members,
CORBA::Environment &ACE_TRY_ENV)
ACE_THROW_SPEC ((CORBA::SystemException))
{
- TAO_IFR_WRITE_GUARD_RETURN (IR_UnionDef::_nil ());
+ TAO_IFR_WRITE_GUARD_RETURN (CORBA_UnionDef::_nil ());
return this->create_union_i (id,
name,
@@ -1016,29 +1015,29 @@ TAO_Container_i::create_union (const char *id,
ACE_TRY_ENV);
}
-IR_UnionDef_ptr
+CORBA_UnionDef_ptr
TAO_Container_i::create_union_i (const char *id,
const char *name,
const char *version,
- IR_IDLType_ptr discriminator_type,
- const IR_UnionMemberSeq &members,
+ CORBA_IDLType_ptr discriminator_type,
+ const CORBA_UnionMemberSeq &members,
CORBA::Environment &ACE_TRY_ENV)
ACE_THROW_SPEC ((CORBA::SystemException))
{
- CORBA::Boolean legal_op = this->valid_container (dk_Union,
+ CORBA::Boolean legal_op = this->valid_container (CORBA::dk_Union,
ACE_TRY_ENV);
- ACE_CHECK_RETURN (IR_UnionDef::_nil ());
+ ACE_CHECK_RETURN (CORBA_UnionDef::_nil ());
if (!legal_op)
- return IR_UnionDef::_nil ();
+ return CORBA_UnionDef::_nil ();
CORBA::Boolean bad_params = this->pre_exist (id,
name,
ACE_TRY_ENV);
- ACE_CHECK_RETURN (IR_UnionDef::_nil ());
+ ACE_CHECK_RETURN (CORBA_UnionDef::_nil ());
if (bad_params)
- return IR_UnionDef::_nil ();
+ return CORBA_UnionDef::_nil ();
// Create new section, or open if it already exists.
ACE_Configuration_Section_Key defns_key;
@@ -1047,7 +1046,7 @@ TAO_Container_i::create_union_i (const char *id,
1,
defns_key);
- // Common to all IR objects created in IR_Container.
+ // Common to all IR objects created in CORBA_Container.
ACE_Configuration_Section_Key new_key;
ACE_TString path = this->create_common (defns_key,
new_key,
@@ -1055,13 +1054,13 @@ TAO_Container_i::create_union_i (const char *id,
name,
version,
"defns\\",
- dk_Union);
+ CORBA::dk_Union);
// Add a field to hold the path to the discriminator type.
PortableServer::ObjectId_var oid =
this->repo_->ir_poa ()->reference_to_id (discriminator_type,
ACE_TRY_ENV);
- ACE_CHECK_RETURN (IR_UnionDef::_nil ());
+ ACE_CHECK_RETURN (CORBA_UnionDef::_nil ());
CORBA::String_var disc_path =
PortableServer::ObjectId_to_string (oid.in ());
@@ -1101,7 +1100,7 @@ TAO_Container_i::create_union_i (const char *id,
PortableServer::ObjectId_var oid =
this->repo_->ir_poa ()->reference_to_id (members[i].type_def.in (),
ACE_TRY_ENV);
- ACE_CHECK_RETURN (IR_UnionDef::_nil ());
+ ACE_CHECK_RETURN (CORBA_UnionDef::_nil ());
CORBA::String_var member_path =
PortableServer::ObjectId_to_string (oid.in ());
@@ -1115,12 +1114,12 @@ TAO_Container_i::create_union_i (const char *id,
ACE_TRY_ENV);
}
- IR_DefinitionKind def_kind = this->def_kind (ACE_TRY_ENV);
- ACE_CHECK_RETURN (IR_UnionDef::_nil ());
+ CORBA::DefinitionKind def_kind = this->def_kind (ACE_TRY_ENV);
+ ACE_CHECK_RETURN (CORBA_UnionDef::_nil ());
- if (def_kind == dk_Struct
- || def_kind == dk_Union
- || def_kind == dk_Exception)
+ if (def_kind == CORBA::dk_Struct
+ || def_kind == CORBA::dk_Union
+ || def_kind == CORBA::dk_Exception)
{
this->update_refs (path.c_str (),
name);
@@ -1128,24 +1127,24 @@ TAO_Container_i::create_union_i (const char *id,
// Create the object reference.
CORBA::Object_var obj =
- this->repo_->servant_factory ()->create_objref (dk_Union,
+ this->repo_->servant_factory ()->create_objref (CORBA::dk_Union,
path.c_str (),
ACE_TRY_ENV);
- ACE_CHECK_RETURN (IR_UnionDef::_nil ());
+ ACE_CHECK_RETURN (CORBA_UnionDef::_nil ());
- return IR_UnionDef::_narrow (obj.in (),
+ return CORBA_UnionDef::_narrow (obj.in (),
ACE_TRY_ENV);
}
-IR_EnumDef_ptr
+CORBA_EnumDef_ptr
TAO_Container_i::create_enum (const char *id,
const char *name,
const char *version,
- const IR_EnumMemberSeq &members,
+ const CORBA_EnumMemberSeq &members,
CORBA::Environment &ACE_TRY_ENV)
ACE_THROW_SPEC ((CORBA::SystemException))
{
- TAO_IFR_WRITE_GUARD_RETURN (IR_EnumDef::_nil ());
+ TAO_IFR_WRITE_GUARD_RETURN (CORBA_EnumDef::_nil ());
return this->create_enum_i (id,
name,
@@ -1154,28 +1153,28 @@ TAO_Container_i::create_enum (const char *id,
ACE_TRY_ENV);
}
-IR_EnumDef_ptr
+CORBA_EnumDef_ptr
TAO_Container_i::create_enum_i (const char *id,
const char *name,
const char *version,
- const IR_EnumMemberSeq &members,
+ const CORBA_EnumMemberSeq &members,
CORBA::Environment &ACE_TRY_ENV)
ACE_THROW_SPEC ((CORBA::SystemException))
{
- CORBA::Boolean legal_op = this->valid_container (dk_Enum,
+ CORBA::Boolean legal_op = this->valid_container (CORBA::dk_Enum,
ACE_TRY_ENV);
- ACE_CHECK_RETURN (IR_EnumDef::_nil ());
+ ACE_CHECK_RETURN (CORBA_EnumDef::_nil ());
if (!legal_op)
- return IR_EnumDef::_nil ();
+ return CORBA_EnumDef::_nil ();
CORBA::Boolean bad_params = this->pre_exist (id,
name,
ACE_TRY_ENV);
- ACE_CHECK_RETURN (IR_EnumDef::_nil ());
+ ACE_CHECK_RETURN (CORBA_EnumDef::_nil ());
if (bad_params)
- return IR_EnumDef::_nil ();
+ return CORBA_EnumDef::_nil ();
// Create new section, or open if it already exists.
ACE_Configuration_Section_Key defns_key;
@@ -1184,7 +1183,7 @@ TAO_Container_i::create_enum_i (const char *id,
1,
defns_key);
- // Common to all IR objects created in IR_Container.
+ // Common to all IR objects created in CORBA_Container.
ACE_Configuration_Section_Key new_key;
ACE_TString path = this->create_common (defns_key,
new_key,
@@ -1192,7 +1191,7 @@ TAO_Container_i::create_enum_i (const char *id,
name,
version,
"defns\\",
- dk_Enum);
+ CORBA::dk_Enum);
// Store the member count of the enum.
CORBA::ULong count = members.length ();
@@ -1216,12 +1215,12 @@ TAO_Container_i::create_enum_i (const char *id,
members[i].in ());
}
- IR_DefinitionKind def_kind = this->def_kind (ACE_TRY_ENV);
- ACE_CHECK_RETURN (IR_EnumDef::_nil ());
+ CORBA::DefinitionKind def_kind = this->def_kind (ACE_TRY_ENV);
+ ACE_CHECK_RETURN (CORBA_EnumDef::_nil ());
- if (def_kind == dk_Struct
- || def_kind == dk_Union
- || def_kind == dk_Exception)
+ if (def_kind == CORBA::dk_Struct
+ || def_kind == CORBA::dk_Union
+ || def_kind == CORBA::dk_Exception)
{
this->update_refs (path.c_str (),
name);
@@ -1229,24 +1228,24 @@ TAO_Container_i::create_enum_i (const char *id,
// Create the object reference.
CORBA::Object_var obj =
- this->repo_->servant_factory ()->create_objref (dk_Enum,
+ this->repo_->servant_factory ()->create_objref (CORBA::dk_Enum,
path.c_str (),
ACE_TRY_ENV);
- ACE_CHECK_RETURN (IR_EnumDef::_nil ());
+ ACE_CHECK_RETURN (CORBA_EnumDef::_nil ());
- return IR_EnumDef::_narrow (obj.in (),
+ return CORBA_EnumDef::_narrow (obj.in (),
ACE_TRY_ENV);
}
-IR_AliasDef_ptr
+CORBA_AliasDef_ptr
TAO_Container_i::create_alias (const char *id,
const char *name,
const char *version,
- IR_IDLType_ptr original_type,
+ CORBA_IDLType_ptr original_type,
CORBA::Environment &ACE_TRY_ENV)
ACE_THROW_SPEC ((CORBA::SystemException))
{
- TAO_IFR_WRITE_GUARD_RETURN (IR_AliasDef::_nil ());
+ TAO_IFR_WRITE_GUARD_RETURN (CORBA_AliasDef::_nil ());
return this->create_alias_i (id,
name,
@@ -1255,28 +1254,28 @@ TAO_Container_i::create_alias (const char *id,
ACE_TRY_ENV);
}
-IR_AliasDef_ptr
+CORBA_AliasDef_ptr
TAO_Container_i::create_alias_i (const char *id,
const char *name,
const char *version,
- IR_IDLType_ptr original_type,
+ CORBA_IDLType_ptr original_type,
CORBA::Environment &ACE_TRY_ENV)
ACE_THROW_SPEC ((CORBA::SystemException))
{
- CORBA::Boolean legal_op = this->valid_container (dk_Alias,
+ CORBA::Boolean legal_op = this->valid_container (CORBA::dk_Alias,
ACE_TRY_ENV);
- ACE_CHECK_RETURN (IR_AliasDef::_nil ());
+ ACE_CHECK_RETURN (CORBA_AliasDef::_nil ());
if (!legal_op)
- return IR_AliasDef::_nil ();
+ return CORBA_AliasDef::_nil ();
CORBA::Boolean bad_params = this->pre_exist (id,
name,
ACE_TRY_ENV);
- ACE_CHECK_RETURN (IR_AliasDef::_nil ());
+ ACE_CHECK_RETURN (CORBA_AliasDef::_nil ());
if (bad_params)
- return IR_AliasDef::_nil ();
+ return CORBA_AliasDef::_nil ();
// Create new section.
ACE_Configuration_Section_Key defns_key;
@@ -1285,7 +1284,7 @@ TAO_Container_i::create_alias_i (const char *id,
1,
defns_key);
- // Common to all IR objects created in IR_Container.
+ // Common to all IR objects created in CORBA_Container.
ACE_Configuration_Section_Key new_key;
ACE_TString path = this->create_common (defns_key,
new_key,
@@ -1293,13 +1292,13 @@ TAO_Container_i::create_alias_i (const char *id,
name,
version,
"defns\\",
- dk_Alias);
+ CORBA::dk_Alias);
// Get the path to our original type and store it.
PortableServer::ObjectId_var oid =
this->repo_->ir_poa ()->reference_to_id (original_type,
ACE_TRY_ENV);
- ACE_CHECK_RETURN (IR_AliasDef::_nil ());
+ ACE_CHECK_RETURN (CORBA_AliasDef::_nil ());
CORBA::String_var unalias_path =
PortableServer::ObjectId_to_string (oid.in ());
@@ -1310,60 +1309,54 @@ TAO_Container_i::create_alias_i (const char *id,
// Create the object reference.
CORBA::Object_var obj =
- this->repo_->servant_factory ()->create_objref (dk_Alias,
+ this->repo_->servant_factory ()->create_objref (CORBA::dk_Alias,
path.c_str (),
ACE_TRY_ENV);
- ACE_CHECK_RETURN (IR_AliasDef::_nil ());
+ ACE_CHECK_RETURN (CORBA_AliasDef::_nil ());
- return IR_AliasDef::_narrow (obj.in (),
+ return CORBA_AliasDef::_narrow (obj.in (),
ACE_TRY_ENV);
}
-IR_InterfaceDef_ptr
+CORBA_InterfaceDef_ptr
TAO_Container_i::create_interface (const char *id,
const char *name,
const char *version,
- const IR_InterfaceDefSeq &base_interfaces,
- CORBA::Boolean is_abstract,
- CORBA::Boolean is_local,
+ const CORBA_InterfaceDefSeq &base_interfaces,
CORBA::Environment &ACE_TRY_ENV)
ACE_THROW_SPEC ((CORBA::SystemException))
{
- TAO_IFR_WRITE_GUARD_RETURN (IR_InterfaceDef::_nil ());
+ TAO_IFR_WRITE_GUARD_RETURN (CORBA_InterfaceDef::_nil ());
return this->create_interface_i (id,
name,
version,
base_interfaces,
- is_abstract,
- is_local,
ACE_TRY_ENV);
}
-IR_InterfaceDef_ptr
+CORBA_InterfaceDef_ptr
TAO_Container_i::create_interface_i (const char *id,
const char *name,
const char *version,
- const IR_InterfaceDefSeq &base_interfaces,
- CORBA::Boolean is_abstract,
- CORBA::Boolean is_local,
+ const CORBA_InterfaceDefSeq &base_interfaces,
CORBA::Environment &ACE_TRY_ENV)
ACE_THROW_SPEC ((CORBA::SystemException))
{
- CORBA::Boolean legal_op = this->valid_container (dk_Interface,
+ CORBA::Boolean legal_op = this->valid_container (CORBA::dk_Interface,
ACE_TRY_ENV);
- ACE_CHECK_RETURN (IR_InterfaceDef::_nil ());
+ ACE_CHECK_RETURN (CORBA_InterfaceDef::_nil ());
if (!legal_op)
- return IR_InterfaceDef::_nil ();
+ return CORBA_InterfaceDef::_nil ();
CORBA::Boolean bad_params = this->pre_exist (id,
name,
ACE_TRY_ENV);
- ACE_CHECK_RETURN (IR_InterfaceDef::_nil ());
+ ACE_CHECK_RETURN (CORBA_InterfaceDef::_nil ());
if (bad_params)
- return IR_InterfaceDef::_nil ();
+ return CORBA_InterfaceDef::_nil ();
// Create new section.
ACE_Configuration_Section_Key defns_key;
@@ -1372,7 +1365,7 @@ TAO_Container_i::create_interface_i (const char *id,
1,
defns_key);
- // Common to all IR objects created in IR_Container.
+ // Common to all IR objects created in CORBA_Container.
ACE_Configuration_Section_Key new_key;
ACE_TString path = this->create_common (defns_key,
new_key,
@@ -1380,16 +1373,7 @@ TAO_Container_i::create_interface_i (const char *id,
name,
version,
"defns\\",
- dk_Interface);
-
- // Store the boolean attributes.
- this->repo_->config ()->set_integer_value (new_key,
- "is_abstract",
- is_abstract);
-
- this->repo_->config ()->set_integer_value (new_key,
- "is_local",
- is_local);
+ CORBA::dk_Interface);
CORBA::ULong length = base_interfaces.length ();
@@ -1409,7 +1393,7 @@ TAO_Container_i::create_interface_i (const char *id,
PortableServer::ObjectId_var oid =
this->repo_->ir_poa ()->reference_to_id (base_interfaces[i],
ACE_TRY_ENV);
- ACE_CHECK_RETURN (IR_InterfaceDef::_nil ());
+ ACE_CHECK_RETURN (CORBA_InterfaceDef::_nil ());
CORBA::String_var inherited_path =
PortableServer::ObjectId_to_string (oid.in ());
@@ -1424,30 +1408,30 @@ TAO_Container_i::create_interface_i (const char *id,
// Create the object reference.
CORBA::Object_var obj =
- this->repo_->servant_factory ()->create_objref (dk_Interface,
+ this->repo_->servant_factory ()->create_objref (CORBA::dk_Interface,
path.c_str (),
ACE_TRY_ENV);
- ACE_CHECK_RETURN (IR_InterfaceDef::_nil ());
+ ACE_CHECK_RETURN (CORBA_InterfaceDef::_nil ());
- return IR_InterfaceDef::_narrow (obj.in (),
+ return CORBA_InterfaceDef::_narrow (obj.in (),
ACE_TRY_ENV);
}
-IR_ValueDef_ptr
+CORBA_ValueDef_ptr
TAO_Container_i::create_value (const char *id,
const char *name,
const char *version,
CORBA::Boolean is_custom,
CORBA::Boolean is_abstract,
- IR_ValueDef_ptr base_value,
+ CORBA_ValueDef_ptr base_value,
CORBA::Boolean is_truncatable,
- const IR_ValueDefSeq &abstract_base_values,
- const IR_InterfaceDefSeq &supported_interfaces,
- const IR_InitializerSeq &initializers,
+ const CORBA_ValueDefSeq &abstract_base_values,
+ const CORBA_InterfaceDefSeq &supported_interfaces,
+ const CORBA_InitializerSeq &initializers,
CORBA::Environment &ACE_TRY_ENV)
ACE_THROW_SPEC ((CORBA::SystemException))
{
- TAO_IFR_WRITE_GUARD_RETURN (IR_ValueDef::_nil ());
+ TAO_IFR_WRITE_GUARD_RETURN (CORBA_ValueDef::_nil ());
return this->create_value_i (id,
name,
@@ -1462,17 +1446,17 @@ TAO_Container_i::create_value (const char *id,
ACE_TRY_ENV);
}
-IR_ValueDef_ptr
+CORBA_ValueDef_ptr
TAO_Container_i::create_value_i (const char * /* id */,
const char * /* name */,
const char * /* version */,
CORBA::Boolean /* is_custom */,
CORBA::Boolean /* is_abstract */,
- IR_ValueDef_ptr /* base_value */,
+ CORBA_ValueDef_ptr /* base_value */,
CORBA::Boolean /* is_truncatable */,
- const IR_ValueDefSeq & /* abstract_base_values */,
- const IR_InterfaceDefSeq & /* supported_interfaces */,
- const IR_InitializerSeq & /* initializers */,
+ const CORBA_ValueDefSeq & /* abstract_base_values */,
+ const CORBA_InterfaceDefSeq & /* supported_interfaces */,
+ const CORBA_InitializerSeq & /* initializers */,
CORBA::Environment & /* ACE_TRY_ENV */)
ACE_THROW_SPEC ((CORBA::SystemException))
{
@@ -1480,15 +1464,15 @@ TAO_Container_i::create_value_i (const char * /* id */,
return 0;
}
-IR_ValueBoxDef_ptr
+CORBA_ValueBoxDef_ptr
TAO_Container_i::create_value_box (const char *id,
const char *name,
const char *version,
- IR_IDLType_ptr original_type_def,
+ CORBA_IDLType_ptr original_type_def,
CORBA::Environment &ACE_TRY_ENV)
ACE_THROW_SPEC ((CORBA::SystemException))
{
- TAO_IFR_WRITE_GUARD_RETURN (IR_ValueBoxDef::_nil ());
+ TAO_IFR_WRITE_GUARD_RETURN (CORBA_ValueBoxDef::_nil ());
return this->create_value_box_i (id,
name,
@@ -1497,28 +1481,28 @@ TAO_Container_i::create_value_box (const char *id,
ACE_TRY_ENV);
}
-IR_ValueBoxDef_ptr
+CORBA_ValueBoxDef_ptr
TAO_Container_i::create_value_box_i (const char *id,
const char *name,
const char *version,
- IR_IDLType_ptr original_type_def,
+ CORBA_IDLType_ptr original_type_def,
CORBA::Environment &ACE_TRY_ENV )
ACE_THROW_SPEC ((CORBA::SystemException))
{
- CORBA::Boolean legal_op = this->valid_container (dk_ValueBox,
+ CORBA::Boolean legal_op = this->valid_container (CORBA::dk_ValueBox,
ACE_TRY_ENV);
- ACE_CHECK_RETURN (IR_ValueBoxDef::_nil ());
+ ACE_CHECK_RETURN (CORBA_ValueBoxDef::_nil ());
if (!legal_op)
- return IR_ValueBoxDef::_nil ();
+ return CORBA_ValueBoxDef::_nil ();
CORBA::Boolean bad_params = this->pre_exist (id,
name,
ACE_TRY_ENV);
- ACE_CHECK_RETURN (IR_ValueBoxDef::_nil ());
+ ACE_CHECK_RETURN (CORBA_ValueBoxDef::_nil ());
if (bad_params)
- return IR_ValueBoxDef::_nil ();
+ return CORBA_ValueBoxDef::_nil ();
// Create new section.
ACE_Configuration_Section_Key defns_key;
@@ -1527,7 +1511,7 @@ TAO_Container_i::create_value_box_i (const char *id,
1,
defns_key);
- // Common to all IR objects created in IR_Container.
+ // Common to all IR objects created in CORBA_Container.
ACE_Configuration_Section_Key new_key;
ACE_TString path = this->create_common (defns_key,
new_key,
@@ -1535,13 +1519,13 @@ TAO_Container_i::create_value_box_i (const char *id,
name,
version,
"defns\\",
- dk_ValueBox);
+ CORBA::dk_ValueBox);
// Get the path to our original type and store it.
PortableServer::ObjectId_var oid =
this->repo_->ir_poa ()->reference_to_id (original_type_def,
ACE_TRY_ENV);
- ACE_CHECK_RETURN (IR_ValueBoxDef::_nil ());
+ ACE_CHECK_RETURN (CORBA_ValueBoxDef::_nil ());
CORBA::String_var boxed_path =
PortableServer::ObjectId_to_string (oid.in ());
@@ -1552,24 +1536,24 @@ TAO_Container_i::create_value_box_i (const char *id,
// Create the object reference.
CORBA::Object_var obj =
- this->repo_->servant_factory ()->create_objref (dk_ValueBox,
+ this->repo_->servant_factory ()->create_objref (CORBA::dk_ValueBox,
path.c_str (),
ACE_TRY_ENV);
- ACE_CHECK_RETURN (IR_ValueBoxDef::_nil ());
+ ACE_CHECK_RETURN (CORBA_ValueBoxDef::_nil ());
- return IR_ValueBoxDef::_narrow (obj.in (),
+ return CORBA_ValueBoxDef::_narrow (obj.in (),
ACE_TRY_ENV);
}
-IR_ExceptionDef_ptr
+CORBA_ExceptionDef_ptr
TAO_Container_i::create_exception (const char *id,
const char *name,
const char *version,
- const IR_StructMemberSeq &members,
+ const CORBA_StructMemberSeq &members,
CORBA::Environment &ACE_TRY_ENV)
ACE_THROW_SPEC ((CORBA::SystemException))
{
- TAO_IFR_WRITE_GUARD_RETURN (IR_ExceptionDef::_nil ());
+ TAO_IFR_WRITE_GUARD_RETURN (CORBA_ExceptionDef::_nil ());
return this->create_exception_i (id,
name,
@@ -1578,28 +1562,28 @@ TAO_Container_i::create_exception (const char *id,
ACE_TRY_ENV);
}
-IR_ExceptionDef_ptr
+CORBA_ExceptionDef_ptr
TAO_Container_i::create_exception_i (const char *id,
const char *name,
const char *version,
- const IR_StructMemberSeq &members,
+ const CORBA_StructMemberSeq &members,
CORBA::Environment &ACE_TRY_ENV)
ACE_THROW_SPEC ((CORBA::SystemException))
{
- CORBA::Boolean legal_op = this->valid_container (dk_Exception,
+ CORBA::Boolean legal_op = this->valid_container (CORBA::dk_Exception,
ACE_TRY_ENV);
- ACE_CHECK_RETURN (IR_ExceptionDef::_nil ());
+ ACE_CHECK_RETURN (CORBA_ExceptionDef::_nil ());
if (!legal_op)
- return IR_ExceptionDef::_nil ();
+ return CORBA_ExceptionDef::_nil ();
CORBA::Boolean bad_params = this->pre_exist (id,
name,
ACE_TRY_ENV);
- ACE_CHECK_RETURN (IR_ExceptionDef::_nil ());
+ ACE_CHECK_RETURN (CORBA_ExceptionDef::_nil ());
if (bad_params)
- return IR_ExceptionDef::_nil ();
+ return CORBA_ExceptionDef::_nil ();
// Create/open section for members defined in this scope.
ACE_Configuration_Section_Key defns_key;
@@ -1608,7 +1592,7 @@ TAO_Container_i::create_exception_i (const char *id,
1,
defns_key);
- // Common to all IR objects created in IR_Container.
+ // Common to all IR objects created in CORBA_Container.
ACE_Configuration_Section_Key new_key;
ACE_TString path = this->create_common (defns_key,
new_key,
@@ -1616,7 +1600,7 @@ TAO_Container_i::create_exception_i (const char *id,
name,
version,
"defns\\",
- dk_Exception);
+ CORBA::dk_Exception);
ACE_Configuration_Section_Key refs_key;
this->repo_->config ()->open_section (new_key,
@@ -1647,7 +1631,7 @@ TAO_Container_i::create_exception_i (const char *id,
PortableServer::ObjectId_var oid =
this->repo_->ir_poa ()->reference_to_id (members[i].type_def.in (),
ACE_TRY_ENV);
- ACE_CHECK_RETURN (IR_ExceptionDef::_nil ());
+ ACE_CHECK_RETURN (CORBA_ExceptionDef::_nil ());
CORBA::String_var member_path =
PortableServer::ObjectId_to_string (oid.in ());
@@ -1659,23 +1643,23 @@ TAO_Container_i::create_exception_i (const char *id,
// Create the object reference.
CORBA::Object_var obj =
- this->repo_->servant_factory ()->create_objref (dk_Exception,
+ this->repo_->servant_factory ()->create_objref (CORBA::dk_Exception,
path.c_str (),
ACE_TRY_ENV);
- ACE_CHECK_RETURN (IR_ExceptionDef::_nil ());
+ ACE_CHECK_RETURN (CORBA_ExceptionDef::_nil ());
- return IR_ExceptionDef::_narrow (obj.in (),
+ return CORBA_ExceptionDef::_narrow (obj.in (),
ACE_TRY_ENV);
}
-IR_NativeDef_ptr
+CORBA_NativeDef_ptr
TAO_Container_i::create_native (const char *id,
const char *name,
const char *version,
CORBA::Environment &ACE_TRY_ENV)
ACE_THROW_SPEC ((CORBA::SystemException))
{
- TAO_IFR_WRITE_GUARD_RETURN (IR_NativeDef::_nil ());
+ TAO_IFR_WRITE_GUARD_RETURN (CORBA_NativeDef::_nil ());
return this->create_native_i (id,
name,
@@ -1683,27 +1667,27 @@ TAO_Container_i::create_native (const char *id,
ACE_TRY_ENV);
}
-IR_NativeDef_ptr
+CORBA_NativeDef_ptr
TAO_Container_i::create_native_i (const char *id,
const char *name,
const char *version,
CORBA::Environment &ACE_TRY_ENV)
ACE_THROW_SPEC ((CORBA::SystemException))
{
- CORBA::Boolean legal_op = this->valid_container (dk_Native,
+ CORBA::Boolean legal_op = this->valid_container (CORBA::dk_Native,
ACE_TRY_ENV);
- ACE_CHECK_RETURN (IR_NativeDef::_nil ());
+ ACE_CHECK_RETURN (CORBA_NativeDef::_nil ());
if (!legal_op)
- return IR_NativeDef::_nil ();
+ return CORBA_NativeDef::_nil ();
CORBA::Boolean bad_params = this->pre_exist (id,
name,
ACE_TRY_ENV);
- ACE_CHECK_RETURN (IR_NativeDef::_nil ());
+ ACE_CHECK_RETURN (CORBA_NativeDef::_nil ());
if (bad_params)
- return IR_NativeDef::_nil ();
+ return CORBA_NativeDef::_nil ();
// Create new section.
ACE_Configuration_Section_Key defns_key;
@@ -1712,7 +1696,7 @@ TAO_Container_i::create_native_i (const char *id,
1,
defns_key);
- // Common to all IR objects created in IR_Container.
+ // Common to all IR objects created in CORBA_Container.
ACE_Configuration_Section_Key new_key;
ACE_TString path = this->create_common (defns_key,
new_key,
@@ -1720,26 +1704,361 @@ TAO_Container_i::create_native_i (const char *id,
name,
version,
"defns\\",
- dk_Native);
+ CORBA::dk_Native);
// Create the object reference.
CORBA::Object_var obj =
- this->repo_->servant_factory ()->create_objref (dk_Native,
+ this->repo_->servant_factory ()->create_objref (CORBA::dk_Native,
path.c_str (),
ACE_TRY_ENV);
- ACE_CHECK_RETURN (IR_NativeDef::_nil ());
+ ACE_CHECK_RETURN (CORBA_NativeDef::_nil ());
- return IR_NativeDef::_narrow (obj.in (),
+ return CORBA_NativeDef::_narrow (obj.in (),
ACE_TRY_ENV);
}
+CORBA_AbstractInterfaceDef_ptr
+TAO_Container_i::create_abstract_interface (
+ const char *id,
+ const char *name,
+ const char *version,
+ const CORBA_AbstractInterfaceDefSeq &base_interfaces,
+ CORBA::Environment &ACE_TRY_ENV
+ )
+ ACE_THROW_SPEC ((CORBA::SystemException))
+{
+ TAO_IFR_WRITE_GUARD_RETURN (CORBA_AbstractInterfaceDef::_nil ());
+
+ return this->create_abstract_interface_i (id,
+ name,
+ version,
+ base_interfaces,
+ ACE_TRY_ENV);
+}
+
+CORBA_AbstractInterfaceDef_ptr
+TAO_Container_i::create_abstract_interface_i (
+ const char *id,
+ const char *name,
+ const char *version,
+ const CORBA_AbstractInterfaceDefSeq &base_interfaces,
+ CORBA::Environment &ACE_TRY_ENV
+ )
+ ACE_THROW_SPEC ((CORBA::SystemException))
+{
+ CORBA::Boolean legal_op = this->valid_container (
+ CORBA::dk_AbstractInterface,
+ ACE_TRY_ENV
+ );
+ ACE_CHECK_RETURN (CORBA_AbstractInterfaceDef::_nil ());
+
+ if (!legal_op)
+ return CORBA_AbstractInterfaceDef::_nil ();
+
+ CORBA::Boolean bad_params = this->pre_exist (id,
+ name,
+ ACE_TRY_ENV);
+ ACE_CHECK_RETURN (CORBA_AbstractInterfaceDef::_nil ());
+
+ if (bad_params)
+ return CORBA_AbstractInterfaceDef::_nil ();
+
+ // Create new section.
+ ACE_Configuration_Section_Key defns_key;
+ this->repo_->config ()->open_section (this->section_key_,
+ "defns",
+ 1,
+ defns_key);
+
+ // Common to all IR objects created in CORBA_Container.
+ ACE_Configuration_Section_Key new_key;
+ ACE_TString path = this->create_common (defns_key,
+ new_key,
+ id,
+ name,
+ version,
+ "defns\\",
+ CORBA::dk_AbstractInterface);
+
+ CORBA::ULong length = base_interfaces.length ();
+
+ if (length > 0)
+ {
+ // Open a section for the base interfaces.
+ ACE_Configuration_Section_Key inherited_key;
+
+ this->repo_->config ()->open_section (new_key,
+ "inherited",
+ 1,
+ inherited_key);
+
+ // Store the path to each base interface.
+ for (CORBA::ULong i = 0; i < length; i++)
+ {
+ PortableServer::ObjectId_var oid =
+ this->repo_->ir_poa ()->reference_to_id (base_interfaces[i],
+ ACE_TRY_ENV);
+ ACE_CHECK_RETURN (CORBA_AbstractInterfaceDef::_nil ());
+
+ CORBA::String_var inherited_path =
+ PortableServer::ObjectId_to_string (oid.in ());
+
+ CORBA::String_var section_name = this->int_to_string (i);
+
+ this->repo_->config ()->set_string_value (inherited_key,
+ section_name.in (),
+ inherited_path.in ());
+ }
+ }
+
+ // Create the object reference.
+ CORBA::Object_var obj =
+ this->repo_->servant_factory ()->create_objref (CORBA::dk_AbstractInterface,
+ path.c_str (),
+ ACE_TRY_ENV);
+ ACE_CHECK_RETURN (CORBA_AbstractInterfaceDef::_nil ());
+
+ return CORBA_AbstractInterfaceDef::_narrow (obj.in (),
+ ACE_TRY_ENV);
+}
+
+CORBA_LocalInterfaceDef_ptr
+TAO_Container_i::create_local_interface (
+ const char *id,
+ const char *name,
+ const char *version,
+ const CORBA_InterfaceDefSeq &base_interfaces,
+ CORBA::Environment &ACE_TRY_ENV
+ )
+ ACE_THROW_SPEC ((CORBA::SystemException))
+{
+ TAO_IFR_WRITE_GUARD_RETURN (CORBA_LocalInterfaceDef::_nil ());
+
+ return this->create_local_interface_i (id,
+ name,
+ version,
+ base_interfaces,
+ ACE_TRY_ENV);
+}
+
+CORBA_LocalInterfaceDef_ptr
+TAO_Container_i::create_local_interface_i (
+ const char *id,
+ const char *name,
+ const char *version,
+ const CORBA_InterfaceDefSeq &base_interfaces,
+ CORBA::Environment &ACE_TRY_ENV
+ )
+ ACE_THROW_SPEC ((CORBA::SystemException))
+{
+ CORBA::Boolean legal_op = this->valid_container (CORBA::dk_LocalInterface,
+ ACE_TRY_ENV);
+ ACE_CHECK_RETURN (CORBA_LocalInterfaceDef::_nil ());
+
+ if (!legal_op)
+ return CORBA_LocalInterfaceDef::_nil ();
+
+ CORBA::Boolean bad_params = this->pre_exist (id,
+ name,
+ ACE_TRY_ENV);
+ ACE_CHECK_RETURN (CORBA_LocalInterfaceDef::_nil ());
+
+ if (bad_params)
+ return CORBA_LocalInterfaceDef::_nil ();
+
+ // Create new section.
+ ACE_Configuration_Section_Key defns_key;
+ this->repo_->config ()->open_section (this->section_key_,
+ "defns",
+ 1,
+ defns_key);
+
+ // Common to all IR objects created in CORBA_Container.
+ ACE_Configuration_Section_Key new_key;
+ ACE_TString path = this->create_common (defns_key,
+ new_key,
+ id,
+ name,
+ version,
+ "defns\\",
+ CORBA::dk_LocalInterface);
+
+ CORBA::ULong length = base_interfaces.length ();
+
+ if (length > 0)
+ {
+ // Open a section for the base interfaces.
+ ACE_Configuration_Section_Key inherited_key;
+
+ this->repo_->config ()->open_section (new_key,
+ "inherited",
+ 1,
+ inherited_key);
+
+ // Store the path to each base interface.
+ for (CORBA::ULong i = 0; i < length; i++)
+ {
+ PortableServer::ObjectId_var oid =
+ this->repo_->ir_poa ()->reference_to_id (base_interfaces[i],
+ ACE_TRY_ENV);
+ ACE_CHECK_RETURN (CORBA_LocalInterfaceDef::_nil ());
+
+ CORBA::String_var inherited_path =
+ PortableServer::ObjectId_to_string (oid.in ());
+
+ CORBA::String_var section_name = this->int_to_string (i);
+
+ this->repo_->config ()->set_string_value (inherited_key,
+ section_name.in (),
+ inherited_path.in ());
+ }
+ }
+
+ // Create the object reference.
+ CORBA::Object_var obj =
+ this->repo_->servant_factory ()->create_objref (CORBA::dk_LocalInterface,
+ path.c_str (),
+ ACE_TRY_ENV);
+ ACE_CHECK_RETURN (CORBA_LocalInterfaceDef::_nil ());
+
+ return CORBA_LocalInterfaceDef::_narrow (obj.in (),
+ ACE_TRY_ENV);
+}
+
+CORBA::Boolean
+TAO_Container_i::name_exists (const char *name,
+ CORBA::Environment &ACE_TRY_ENV)
+ ACE_THROW_SPEC ((CORBA::SystemException))
+{
+ int index = 0;
+ ACE_TString section_name;
+
+ // Check the members defined elsewhere.
+ ACE_Configuration_Section_Key refs_key;
+
+ if (this->repo_->config ()->open_section (this->section_key_,
+ "refs",
+ 0,
+ refs_key)
+ == 0)
+ {
+ while (this->repo_->config ()->enumerate_sections (refs_key,
+ index++,
+ section_name)
+ == 0)
+ {
+ ACE_Configuration_Section_Key member_key;
+ this->repo_->config ()->open_section (refs_key,
+ section_name.c_str (),
+ 0,
+ member_key);
+
+ ACE_TString member_name;
+ this->repo_->config ()->get_string_value (member_key,
+ "name",
+ member_name);
+
+ if (member_name == name)
+ {
+ ACE_THROW_RETURN (CORBA::BAD_PARAM (3,
+ CORBA::COMPLETED_NO),
+ 1);
+ }
+ }
+ }
+
+ // Check the members defined in this scope.
+ ACE_Configuration_Section_Key defns_key;
+ if (this->repo_->config ()->open_section (this->section_key_,
+ "defns",
+ 0,
+ defns_key)
+ == 0)
+ {
+ index = 0;
+
+ while (this->repo_->config ()->enumerate_sections (defns_key,
+ index++,
+ section_name)
+ == 0)
+ {
+ ACE_Configuration_Section_Key defn_key;
+ this->repo_->config ()->open_section (defns_key,
+ section_name.c_str (),
+ 0,
+ defn_key);
+
+ ACE_TString defn_name;
+ this->repo_->config ()->get_string_value (defn_key,
+ "name",
+ defn_name);
+
+ if (defn_name == name)
+ {
+ ACE_THROW_RETURN (CORBA::BAD_PARAM (3,
+ CORBA::COMPLETED_NO),
+ 1);
+ }
+ }
+ }
+
+ // If we are an interface, check the inherited members.
+ CORBA::DefinitionKind def_kind = this->def_kind (ACE_TRY_ENV);
+ ACE_CHECK_RETURN (1);
+
+ if (def_kind == CORBA::dk_Interface)
+ {
+ ACE_Configuration_Section_Key inherited_key;
+ int status =
+ this->repo_->config ()->open_section (this->section_key_,
+ "inherited",
+ 0,
+ inherited_key);
+
+ // This section may not have been created.
+ if (status == 0)
+ {
+ int index = 0;
+ ACE_TString path;
+ ACE_Configuration::VALUETYPE type;
+
+ while (this->repo_->config ()->enumerate_values (inherited_key,
+ index++,
+ path,
+ type)
+ == 0)
+ {
+ ACE_Configuration_Section_Key base_key;
+ this->repo_->config ()->expand_path (this->repo_->root_key (),
+ path,
+ base_key,
+ 0);
+
+ ACE_TString base_name;
+ this->repo_->config ()->get_string_value (base_key,
+ "name",
+ base_name);
+
+ if (base_name == name)
+ {
+ ACE_THROW_RETURN (CORBA::BAD_PARAM (5,
+ CORBA::COMPLETED_NO),
+ 1);
+ }
+ }
+ }
+ }
+
+ return 0;
+}
+
void
TAO_Container_i::lookup_name_recursive (
- ACE_Unbounded_Queue<IR_DefinitionKind> &kind_queue,
+ ACE_Unbounded_Queue<CORBA::DefinitionKind> &kind_queue,
ACE_Unbounded_Queue<ACE_TString> &path_queue,
const char *search_name,
CORBA::Long levels_to_search,
- IR_DefinitionKind limit_type,
+ CORBA::DefinitionKind limit_type,
CORBA::Boolean exclude_inherited,
CORBA::Environment &ACE_TRY_ENV
)
@@ -1771,10 +2090,10 @@ TAO_Container_i::lookup_name_recursive (
"def_kind",
kind);
- IR_DefinitionKind def_kind =
- ACE_static_cast (IR_DefinitionKind, kind);
+ CORBA::DefinitionKind def_kind =
+ ACE_static_cast (CORBA::DefinitionKind, kind);
- if (limit_type == dk_all || limit_type == def_kind)
+ if (limit_type == CORBA::dk_all || limit_type == def_kind)
{
ACE_TString name;
this->repo_->config ()->get_string_value (defn_key,
@@ -1830,12 +2149,12 @@ TAO_Container_i::lookup_name_recursive (
}
}
- IR_DefinitionKind kind = this->def_kind (ACE_TRY_ENV);
+ CORBA::DefinitionKind kind = this->def_kind (ACE_TRY_ENV);
ACE_CHECK;
- if (kind == dk_Interface || kind == dk_Value)
+ if (kind == CORBA::dk_Interface || kind == CORBA::dk_Value)
{
- if (limit_type == dk_all || limit_type == dk_Attribute)
+ if (limit_type == CORBA::dk_all || limit_type == CORBA::dk_Attribute)
{
this->lookup_attr (kind_queue,
path_queue,
@@ -1843,7 +2162,7 @@ TAO_Container_i::lookup_name_recursive (
exclude_inherited);
}
- if (limit_type == dk_all || limit_type == dk_Operation)
+ if (limit_type == CORBA::dk_all || limit_type == CORBA::dk_Operation)
{
this->lookup_op (kind_queue,
path_queue,
@@ -1855,7 +2174,7 @@ TAO_Container_i::lookup_name_recursive (
void
TAO_Container_i:: lookup_attr (
- ACE_Unbounded_Queue<IR_DefinitionKind> &kind_queue,
+ ACE_Unbounded_Queue<CORBA::DefinitionKind> &kind_queue,
ACE_Unbounded_Queue<ACE_TString> &path_queue,
const char *search_name,
CORBA::Boolean exclude_inherited
@@ -1891,7 +2210,7 @@ TAO_Container_i:: lookup_attr (
if (name == search_name)
{
- kind_queue.enqueue_tail (dk_Attribute);
+ kind_queue.enqueue_tail (CORBA::dk_Attribute);
ACE_TString id;
this->repo_->config ()->get_string_value (member_key,
@@ -1957,7 +2276,7 @@ TAO_Container_i:: lookup_attr (
void
TAO_Container_i::lookup_op (
- ACE_Unbounded_Queue<IR_DefinitionKind> &kind_queue,
+ ACE_Unbounded_Queue<CORBA::DefinitionKind> &kind_queue,
ACE_Unbounded_Queue<ACE_TString> &path_queue,
const char *search_name,
CORBA::Boolean exclude_inherited
@@ -1993,7 +2312,7 @@ TAO_Container_i::lookup_op (
if (name == search_name)
{
- kind_queue.enqueue_tail (dk_Operation);
+ kind_queue.enqueue_tail (CORBA::dk_Operation);
ACE_TString id;
this->repo_->config ()->get_string_value (member_key,
@@ -2058,133 +2377,6 @@ TAO_Container_i::lookup_op (
}
CORBA::Boolean
-TAO_Container_i::name_exists (const char *name,
- CORBA::Environment &ACE_TRY_ENV)
- ACE_THROW_SPEC ((CORBA::SystemException))
-{
- int index = 0;
- ACE_TString section_name;
-
- // Check the members defined elsewhere.
- ACE_Configuration_Section_Key refs_key;
-
- if (this->repo_->config ()->open_section (this->section_key_,
- "refs",
- 0,
- refs_key)
- == 0)
- {
- while (this->repo_->config ()->enumerate_sections (refs_key,
- index++,
- section_name)
- == 0)
- {
- ACE_Configuration_Section_Key member_key;
- this->repo_->config ()->open_section (refs_key,
- section_name.c_str (),
- 0,
- member_key);
-
- ACE_TString member_name;
- this->repo_->config ()->get_string_value (member_key,
- "name",
- member_name);
-
- if (member_name == name)
- {
- ACE_THROW_RETURN (CORBA::BAD_PARAM (3,
- CORBA::COMPLETED_NO),
- 1);
- }
- }
- }
-
- // Check the members defined in this scope.
- ACE_Configuration_Section_Key defns_key;
- if (this->repo_->config ()->open_section (this->section_key_,
- "defns",
- 0,
- defns_key)
- == 0)
- {
- index = 0;
-
- while (this->repo_->config ()->enumerate_sections (defns_key,
- index++,
- section_name)
- == 0)
- {
- ACE_Configuration_Section_Key defn_key;
- this->repo_->config ()->open_section (defns_key,
- section_name.c_str (),
- 0,
- defn_key);
-
- ACE_TString defn_name;
- this->repo_->config ()->get_string_value (defn_key,
- "name",
- defn_name);
-
- if (defn_name == name)
- {
- ACE_THROW_RETURN (CORBA::BAD_PARAM (3,
- CORBA::COMPLETED_NO),
- 1);
- }
- }
- }
-
- // If we are an interface, check the inherited members.
- IR_DefinitionKind def_kind = this->def_kind (ACE_TRY_ENV);
- ACE_CHECK_RETURN (1);
-
- if (def_kind == dk_Interface)
- {
- ACE_Configuration_Section_Key inherited_key;
- int status =
- this->repo_->config ()->open_section (this->section_key_,
- "inherited",
- 0,
- inherited_key);
-
- // This section may not have been created.
- if (status == 0)
- {
- int index = 0;
- ACE_TString path;
- ACE_Configuration::VALUETYPE type;
-
- while (this->repo_->config ()->enumerate_values (inherited_key,
- index++,
- path,
- type)
- == 0)
- {
- ACE_Configuration_Section_Key base_key;
- this->repo_->config ()->expand_path (this->repo_->root_key (),
- path,
- base_key,
- 0);
-
- ACE_TString base_name;
- this->repo_->config ()->get_string_value (base_key,
- "name",
- base_name);
-
- if (base_name == name)
- {
- ACE_THROW_RETURN (CORBA::BAD_PARAM (5,
- CORBA::COMPLETED_NO),
- 1);
- }
- }
- }
- }
-
- return 0;
-}
-
-CORBA::Boolean
TAO_Container_i::id_exists (const char *id,
CORBA::Environment &ACE_TRY_ENV)
ACE_THROW_SPEC ((CORBA::SystemException))
@@ -2228,7 +2420,7 @@ TAO_Container_i::create_common (
const char *name,
const char *version,
const char *sub_section,
- IR_DefinitionKind def_kind
+ CORBA::DefinitionKind def_kind
)
{
u_int defn_count = 0;
@@ -2323,49 +2515,51 @@ TAO_Container_i::create_common (
}
CORBA::Boolean
-TAO_Container_i::valid_container (const IR_DefinitionKind op_kind,
+TAO_Container_i::valid_container (const CORBA::DefinitionKind op_kind,
CORBA::Environment &ACE_TRY_ENV)
ACE_THROW_SPEC ((CORBA::SystemException))
{
- IR_DefinitionKind my_kind = this->def_kind (ACE_TRY_ENV);
+ CORBA::DefinitionKind my_kind = this->def_kind (ACE_TRY_ENV);
ACE_CHECK_RETURN (0);
int error_flag = 0;
switch (my_kind)
{
- case dk_Repository:
- case dk_Module:
+ case CORBA::dk_Repository:
+ case CORBA::dk_Module:
break;
- case dk_Exception:
- case dk_Struct:
- case dk_Union:
+ case CORBA::dk_Exception:
+ case CORBA::dk_Struct:
+ case CORBA::dk_Union:
switch (op_kind)
{
- case dk_Struct:
- case dk_Union:
- case dk_Enum:
+ case CORBA::dk_Struct:
+ case CORBA::dk_Union:
+ case CORBA::dk_Enum:
break;
default:
error_flag = 1;
break;
}
break;
- case dk_Value:
- case dk_Interface:
- case dk_Home:
+ case CORBA::dk_Value:
+ case CORBA::dk_Interface:
+ case CORBA::dk_AbstractInterface:
+ case CORBA::dk_LocalInterface:
+ case CORBA::dk_Home:
switch (op_kind)
{
- case dk_Module:
- case dk_Interface:
- case dk_Value:
+ case CORBA::dk_Module:
+ case CORBA::dk_Interface:
+ case CORBA::dk_Value:
error_flag = 1;
break;
default:
break;
}
break;
- case dk_Component:
+ case CORBA::dk_Component:
error_flag = 1;
break;
default:
diff --git a/TAO/orbsvcs/IFR_Service/Container_i.h b/TAO/orbsvcs/IFR_Service/Container_i.h
index e258aa1e346..a23a0fb3526 100644
--- a/TAO/orbsvcs/IFR_Service/Container_i.h
+++ b/TAO/orbsvcs/IFR_Service/Container_i.h
@@ -10,7 +10,7 @@
// Container_i.h
//
// = DESCRIPTION
-// IR_Container servant class.
+// Container servant class.
//
// = AUTHOR
// Jeff Parsons <parsons@cs.wustl.edu>
@@ -66,58 +66,58 @@ public:
)
ACE_THROW_SPEC ((CORBA::SystemException));
- virtual IR_Contained_ptr lookup (
+ virtual CORBA_Contained_ptr lookup (
const char *search_name,
CORBA::Environment &ACE_TRY_ENV =
TAO_default_environment ()
)
ACE_THROW_SPEC ((CORBA::SystemException));
- IR_Contained_ptr lookup_i (
+ CORBA_Contained_ptr lookup_i (
const char *search_name,
CORBA::Environment &ACE_TRY_ENV =
TAO_default_environment ()
)
ACE_THROW_SPEC ((CORBA::SystemException));
- virtual IR_ContainedSeq *contents (
- IR_DefinitionKind limit_type,
+ virtual CORBA_ContainedSeq *contents (
+ CORBA::DefinitionKind limit_type,
CORBA::Boolean exclude_inherited,
CORBA::Environment &ACE_TRY_ENV =
TAO_default_environment ()
)
ACE_THROW_SPEC ((CORBA::SystemException));
- IR_ContainedSeq *contents_i (
- IR_DefinitionKind limit_type,
+ CORBA_ContainedSeq *contents_i (
+ CORBA::DefinitionKind limit_type,
CORBA::Boolean exclude_inherited,
CORBA::Environment &ACE_TRY_ENV =
TAO_default_environment ()
)
ACE_THROW_SPEC ((CORBA::SystemException));
- virtual IR_ContainedSeq *lookup_name (
+ virtual CORBA_ContainedSeq *lookup_name (
const char *search_name,
CORBA::Long levels_to_search,
- IR_DefinitionKind limit_type,
+ CORBA::DefinitionKind limit_type,
CORBA::Boolean exclude_inherited,
CORBA::Environment &ACE_TRY_ENV =
TAO_default_environment ()
)
ACE_THROW_SPEC ((CORBA::SystemException));
- IR_ContainedSeq *lookup_name_i (
+ CORBA_ContainedSeq *lookup_name_i (
const char *search_name,
CORBA::Long levels_to_search,
- IR_DefinitionKind limit_type,
+ CORBA::DefinitionKind limit_type,
CORBA::Boolean exclude_inherited,
CORBA::Environment &ACE_TRY_ENV =
TAO_default_environment ()
)
ACE_THROW_SPEC ((CORBA::SystemException));
- virtual IR_Container::DescriptionSeq *describe_contents (
- IR_DefinitionKind limit_type,
+ virtual CORBA_Container::DescriptionSeq *describe_contents (
+ CORBA::DefinitionKind limit_type,
CORBA::Boolean exclude_inherited,
CORBA::Long max_returned_objs,
CORBA::Environment &ACE_TRY_ENV =
@@ -125,8 +125,8 @@ public:
)
ACE_THROW_SPEC ((CORBA::SystemException));
- IR_Container::DescriptionSeq *describe_contents_i (
- IR_DefinitionKind limit_type,
+ CORBA_Container::DescriptionSeq *describe_contents_i (
+ CORBA::DefinitionKind limit_type,
CORBA::Boolean exclude_inherited,
CORBA::Long max_returned_objs,
CORBA::Environment &ACE_TRY_ENV =
@@ -134,7 +134,7 @@ public:
)
ACE_THROW_SPEC ((CORBA::SystemException));
- virtual IR_ModuleDef_ptr create_module (
+ virtual CORBA_ModuleDef_ptr create_module (
const char *id,
const char *name,
const char *version,
@@ -143,7 +143,7 @@ public:
)
ACE_THROW_SPEC ((CORBA::SystemException));
- IR_ModuleDef_ptr create_module_i (
+ CORBA_ModuleDef_ptr create_module_i (
const char *id,
const char *name,
const char *version,
@@ -152,219 +152,255 @@ public:
)
ACE_THROW_SPEC ((CORBA::SystemException));
- virtual IR_ConstantDef_ptr create_constant (
+ virtual CORBA_ConstantDef_ptr create_constant (
const char *id,
const char *name,
const char *version,
- IR_IDLType_ptr type,
+ CORBA_IDLType_ptr type,
const CORBA::Any & value,
CORBA::Environment &ACE_TRY_ENV =
TAO_default_environment ()
)
ACE_THROW_SPEC ((CORBA::SystemException));
- IR_ConstantDef_ptr create_constant_i (
+ CORBA_ConstantDef_ptr create_constant_i (
const char *id,
const char *name,
const char *version,
- IR_IDLType_ptr type,
+ CORBA_IDLType_ptr type,
const CORBA::Any & value,
CORBA::Environment &ACE_TRY_ENV =
TAO_default_environment ()
)
ACE_THROW_SPEC ((CORBA::SystemException));
- virtual IR_StructDef_ptr create_struct (
+ virtual CORBA_StructDef_ptr create_struct (
const char *id,
const char *name,
const char *version,
- const IR_StructMemberSeq &members,
+ const CORBA_StructMemberSeq &members,
CORBA::Environment &ACE_TRY_ENV =
TAO_default_environment ()
)
ACE_THROW_SPEC ((CORBA::SystemException));
- IR_StructDef_ptr create_struct_i (
+ CORBA_StructDef_ptr create_struct_i (
const char *id,
const char *name,
const char *version,
- const IR_StructMemberSeq &members,
+ const CORBA_StructMemberSeq &members,
CORBA::Environment &ACE_TRY_ENV =
TAO_default_environment ()
)
ACE_THROW_SPEC ((CORBA::SystemException));
- virtual IR_UnionDef_ptr create_union (
+ virtual CORBA_UnionDef_ptr create_union (
const char *id,
const char *name,
const char *version,
- IR_IDLType_ptr discriminator_type,
- const IR_UnionMemberSeq &members,
+ CORBA_IDLType_ptr discriminator_type,
+ const CORBA_UnionMemberSeq &members,
CORBA::Environment &ACE_TRY_ENV =
TAO_default_environment ()
)
ACE_THROW_SPEC ((CORBA::SystemException));
- IR_UnionDef_ptr create_union_i (
+ CORBA_UnionDef_ptr create_union_i (
const char *id,
const char *name,
const char *version,
- IR_IDLType_ptr discriminator_type,
- const IR_UnionMemberSeq &members,
+ CORBA_IDLType_ptr discriminator_type,
+ const CORBA_UnionMemberSeq &members,
CORBA::Environment &ACE_TRY_ENV =
TAO_default_environment ()
)
ACE_THROW_SPEC ((CORBA::SystemException));
- virtual IR_EnumDef_ptr create_enum (
+ virtual CORBA_EnumDef_ptr create_enum (
const char *id,
const char *name,
const char *version,
- const IR_EnumMemberSeq &members,
+ const CORBA_EnumMemberSeq &members,
CORBA::Environment &ACE_TRY_ENV =
TAO_default_environment ()
)
ACE_THROW_SPEC ((CORBA::SystemException));
- IR_EnumDef_ptr create_enum_i (
+ CORBA_EnumDef_ptr create_enum_i (
const char *id,
const char *name,
const char *version,
- const IR_EnumMemberSeq &members,
+ const CORBA_EnumMemberSeq &members,
CORBA::Environment &ACE_TRY_ENV =
TAO_default_environment ()
)
ACE_THROW_SPEC ((CORBA::SystemException));
- virtual IR_AliasDef_ptr create_alias (
+ virtual CORBA_AliasDef_ptr create_alias (
const char *id,
const char *name,
const char *version,
- IR_IDLType_ptr original_type,
+ CORBA_IDLType_ptr original_type,
CORBA::Environment &ACE_TRY_ENV =
TAO_default_environment ()
)
ACE_THROW_SPEC ((CORBA::SystemException));
- IR_AliasDef_ptr create_alias_i (
+ CORBA_AliasDef_ptr create_alias_i (
const char *id,
const char *name,
const char *version,
- IR_IDLType_ptr original_type,
+ CORBA_IDLType_ptr original_type,
CORBA::Environment &ACE_TRY_ENV =
TAO_default_environment ()
)
ACE_THROW_SPEC ((CORBA::SystemException));
- virtual IR_InterfaceDef_ptr create_interface (
+ virtual CORBA_InterfaceDef_ptr create_interface (
const char *id,
const char *name,
const char *version,
- const IR_InterfaceDefSeq &base_interfaces,
- CORBA::Boolean is_abstract,
- CORBA::Boolean is_local,
+ const CORBA_InterfaceDefSeq &base_interfaces,
CORBA::Environment &ACE_TRY_ENV =
TAO_default_environment ()
)
ACE_THROW_SPEC ((CORBA::SystemException));
- IR_InterfaceDef_ptr create_interface_i (
+ CORBA_InterfaceDef_ptr create_interface_i (
const char *id,
const char *name,
const char *version,
- const IR_InterfaceDefSeq &base_interfaces,
- CORBA::Boolean is_abstract,
- CORBA::Boolean is_local,
+ const CORBA_InterfaceDefSeq &base_interfaces,
CORBA::Environment &ACE_TRY_ENV =
TAO_default_environment ()
)
ACE_THROW_SPEC ((CORBA::SystemException));
- virtual IR_ValueDef_ptr create_value (
+ virtual CORBA_ValueDef_ptr create_value (
const char *id,
const char *name,
const char *version,
CORBA::Boolean is_custom,
CORBA::Boolean is_abstract,
- IR_ValueDef_ptr base_value,
+ CORBA_ValueDef_ptr base_value,
CORBA::Boolean is_truncatable,
- const IR_ValueDefSeq &abstract_base_values,
- const IR_InterfaceDefSeq & supported_interfaces,
- const IR_InitializerSeq &initializers,
+ const CORBA_ValueDefSeq &abstract_base_values,
+ const CORBA_InterfaceDefSeq & supported_interfaces,
+ const CORBA_InitializerSeq &initializers,
CORBA::Environment &ACE_TRY_ENV =
TAO_default_environment ()
)
ACE_THROW_SPEC ((CORBA::SystemException));
- IR_ValueDef_ptr create_value_i (
+ CORBA_ValueDef_ptr create_value_i (
const char *id,
const char *name,
const char *version,
CORBA::Boolean is_custom,
CORBA::Boolean is_abstract,
- IR_ValueDef_ptr base_value,
+ CORBA_ValueDef_ptr base_value,
CORBA::Boolean is_truncatable,
- const IR_ValueDefSeq &abstract_base_values,
- const IR_InterfaceDefSeq & supported_interfaces,
- const IR_InitializerSeq &initializers,
+ const CORBA_ValueDefSeq &abstract_base_values,
+ const CORBA_InterfaceDefSeq & supported_interfaces,
+ const CORBA_InitializerSeq &initializers,
+ CORBA::Environment &ACE_TRY_ENV =
+ TAO_default_environment ()
+ )
+ ACE_THROW_SPEC ((CORBA::SystemException));
+
+ virtual CORBA_ValueBoxDef_ptr create_value_box (
+ const char *id,
+ const char *name,
+ const char *version,
+ CORBA_IDLType_ptr original_type_def,
+ CORBA::Environment &ACE_TRY_ENV =
+ TAO_default_environment ()
+ )
+ ACE_THROW_SPEC ((CORBA::SystemException));
+
+ CORBA_ValueBoxDef_ptr create_value_box_i (
+ const char *id,
+ const char *name,
+ const char *version,
+ CORBA_IDLType_ptr original_type_def,
CORBA::Environment &ACE_TRY_ENV =
TAO_default_environment ()
)
ACE_THROW_SPEC ((CORBA::SystemException));
- virtual IR_ValueBoxDef_ptr create_value_box (
+ virtual CORBA_ExceptionDef_ptr create_exception (
const char *id,
const char *name,
const char *version,
- IR_IDLType_ptr original_type_def,
+ const CORBA_StructMemberSeq &members,
CORBA::Environment &ACE_TRY_ENV =
TAO_default_environment ()
)
ACE_THROW_SPEC ((CORBA::SystemException));
- IR_ValueBoxDef_ptr create_value_box_i (
+ CORBA_ExceptionDef_ptr create_exception_i (
const char *id,
const char *name,
const char *version,
- IR_IDLType_ptr original_type_def,
+ const CORBA_StructMemberSeq &members,
CORBA::Environment &ACE_TRY_ENV =
TAO_default_environment ()
)
ACE_THROW_SPEC ((CORBA::SystemException));
- virtual IR_ExceptionDef_ptr create_exception (
+ virtual CORBA_NativeDef_ptr create_native (
const char *id,
const char *name,
const char *version,
- const IR_StructMemberSeq &members,
CORBA::Environment &ACE_TRY_ENV =
TAO_default_environment ()
)
ACE_THROW_SPEC ((CORBA::SystemException));
- IR_ExceptionDef_ptr create_exception_i (
+ CORBA_NativeDef_ptr create_native_i (
const char *id,
const char *name,
const char *version,
- const IR_StructMemberSeq &members,
CORBA::Environment &ACE_TRY_ENV =
TAO_default_environment ()
)
ACE_THROW_SPEC ((CORBA::SystemException));
- virtual IR_NativeDef_ptr create_native (
+ virtual CORBA_AbstractInterfaceDef_ptr create_abstract_interface (
const char *id,
const char *name,
const char *version,
+ const CORBA_AbstractInterfaceDefSeq &base_interfaces,
CORBA::Environment &ACE_TRY_ENV =
TAO_default_environment ()
)
ACE_THROW_SPEC ((CORBA::SystemException));
- IR_NativeDef_ptr create_native_i (
+ CORBA_AbstractInterfaceDef_ptr create_abstract_interface_i (
const char *id,
const char *name,
const char *version,
+ const CORBA_AbstractInterfaceDefSeq &base_interfaces,
+ CORBA::Environment &ACE_TRY_ENV =
+ TAO_default_environment ()
+ )
+ ACE_THROW_SPEC ((CORBA::SystemException));
+
+ virtual CORBA_LocalInterfaceDef_ptr create_local_interface (
+ const char *id,
+ const char *name,
+ const char *version,
+ const CORBA_InterfaceDefSeq &base_interfaces,
+ CORBA::Environment &ACE_TRY_ENV =
+ TAO_default_environment ()
+ )
+ ACE_THROW_SPEC ((CORBA::SystemException));
+
+ CORBA_LocalInterfaceDef_ptr create_local_interface_i (
+ const char *id,
+ const char *name,
+ const char *version,
+ const CORBA_InterfaceDefSeq &base_interfaces,
CORBA::Environment &ACE_TRY_ENV =
TAO_default_environment ()
)
@@ -404,20 +440,19 @@ protected:
const char *name,
const char *version,
const char *sub_section,
- IR_DefinitionKind def_kind
+ CORBA::DefinitionKind def_kind
);
// Code common to all the create_* methods.
-protected:
void lookup_attr (
- ACE_Unbounded_Queue<IR_DefinitionKind> &kind_queue,
+ ACE_Unbounded_Queue<CORBA::DefinitionKind> &kind_queue,
ACE_Unbounded_Queue<ACE_TString> &path_queue,
const char *search_name,
CORBA::Boolean exclude_inherited
);
void lookup_op (
- ACE_Unbounded_Queue<IR_DefinitionKind> &kind_queue,
+ ACE_Unbounded_Queue<CORBA::DefinitionKind> &kind_queue,
ACE_Unbounded_Queue<ACE_TString> &path_queue,
const char *search_name,
CORBA::Boolean exclude_inherited
@@ -425,11 +460,11 @@ protected:
private:
void lookup_name_recursive (
- ACE_Unbounded_Queue<IR_DefinitionKind> &kind_queue,
+ ACE_Unbounded_Queue<CORBA::DefinitionKind> &kind_queue,
ACE_Unbounded_Queue<ACE_TString> &path_queue,
const char *search_name,
CORBA::Long levels_to_search,
- IR_DefinitionKind limit_type,
+ CORBA::DefinitionKind limit_type,
CORBA::Boolean exclude_inherited,
CORBA::Environment &ACE_TRY_ENV =
TAO_default_environment ()
@@ -444,7 +479,7 @@ private:
// Checks for global existence of the repo id.
CORBA::Boolean valid_container (
- const IR_DefinitionKind op_kind,
+ const CORBA::DefinitionKind op_kind,
CORBA::Environment &ACE_TRY_ENV =
TAO_default_environment ()
)
diff --git a/TAO/orbsvcs/IFR_Service/EmitsDef_i.cpp b/TAO/orbsvcs/IFR_Service/EmitsDef_i.cpp
index 5cd7101cb9d..bdcd681fa01 100644
--- a/TAO/orbsvcs/IFR_Service/EmitsDef_i.cpp
+++ b/TAO/orbsvcs/IFR_Service/EmitsDef_i.cpp
@@ -18,11 +18,11 @@ TAO_EmitsDef_i::~TAO_EmitsDef_i (void)
{
}
-IR_DefinitionKind
+CORBA::DefinitionKind
TAO_EmitsDef_i::def_kind (CORBA::Environment &)
ACE_THROW_SPEC ((CORBA::SystemException))
{
- return dk_Emits;
+ return CORBA::dk_Emits;
}
void
@@ -41,7 +41,7 @@ TAO_EmitsDef_i::destroy_i (CORBA::Environment & /* ACE_TRY_ENV */)
// TODO
}
-IR_Contained::Description *
+CORBA_Contained::Description *
TAO_EmitsDef_i::describe (CORBA::Environment &ACE_TRY_ENV)
ACE_THROW_SPEC ((CORBA::SystemException))
{
@@ -50,7 +50,7 @@ TAO_EmitsDef_i::describe (CORBA::Environment &ACE_TRY_ENV)
return this->describe_i (ACE_TRY_ENV);
}
-IR_Contained::Description *
+CORBA_Contained::Description *
TAO_EmitsDef_i::describe_i (CORBA::Environment & /* ACE_TRY_ENV */)
ACE_THROW_SPEC ((CORBA::SystemException))
{
diff --git a/TAO/orbsvcs/IFR_Service/EmitsDef_i.h b/TAO/orbsvcs/IFR_Service/EmitsDef_i.h
index e870009e72f..e58f8327ffc 100644
--- a/TAO/orbsvcs/IFR_Service/EmitsDef_i.h
+++ b/TAO/orbsvcs/IFR_Service/EmitsDef_i.h
@@ -10,7 +10,7 @@
// EmitsDef_i.h
//
// = DESCRIPTION
-// IR_EmitsDef servant class.
+// EmitsDef servant class.
//
// = AUTHOR
// Jeff Parsons <parsons@cs.wustl.edu>
@@ -50,7 +50,7 @@ public:
virtual ~TAO_EmitsDef_i (void);
// Destructor
- virtual IR_DefinitionKind def_kind (
+ virtual CORBA::DefinitionKind def_kind (
CORBA::Environment &ACE_TRY_ENV =
TAO_default_environment ()
)
@@ -70,14 +70,14 @@ public:
)
ACE_THROW_SPEC ((CORBA::SystemException));
- virtual IR_Contained::Description *describe (
+ virtual CORBA_Contained::Description *describe (
CORBA::Environment &ACE_TRY_ENV =
TAO_default_environment ()
)
ACE_THROW_SPEC ((CORBA::SystemException));
// From Contained_i's pure virtual function.
- virtual IR_Contained::Description *describe_i (
+ virtual CORBA_Contained::Description *describe_i (
CORBA::Environment &ACE_TRY_ENV =
TAO_default_environment ()
)
diff --git a/TAO/orbsvcs/IFR_Service/EnumDef_i.cpp b/TAO/orbsvcs/IFR_Service/EnumDef_i.cpp
index 2219826b036..901c4f331fe 100644
--- a/TAO/orbsvcs/IFR_Service/EnumDef_i.cpp
+++ b/TAO/orbsvcs/IFR_Service/EnumDef_i.cpp
@@ -20,11 +20,11 @@ TAO_EnumDef_i::~TAO_EnumDef_i (void)
{
}
-IR_DefinitionKind
+CORBA::DefinitionKind
TAO_EnumDef_i::def_kind (CORBA::Environment &)
ACE_THROW_SPEC ((CORBA::SystemException))
{
- return dk_Enum;
+ return CORBA::dk_Enum;
}
CORBA::TypeCode_ptr
@@ -50,7 +50,7 @@ TAO_EnumDef_i::type_i (CORBA::Environment &ACE_TRY_ENV)
"name",
name);
- IR_EnumMemberSeq_var members = this->members_i (ACE_TRY_ENV);
+ CORBA_EnumMemberSeq_var members = this->members_i (ACE_TRY_ENV);
ACE_CHECK_RETURN (CORBA::TypeCode::_nil ());
return this->repo_->tc_factory ()->create_enum_tc (id.c_str (),
@@ -59,7 +59,7 @@ TAO_EnumDef_i::type_i (CORBA::Environment &ACE_TRY_ENV)
ACE_TRY_ENV);
}
-IR_EnumMemberSeq *
+CORBA_EnumMemberSeq *
TAO_EnumDef_i::members (CORBA::Environment &ACE_TRY_ENV)
ACE_THROW_SPEC ((CORBA::SystemException))
{
@@ -68,7 +68,7 @@ TAO_EnumDef_i::members (CORBA::Environment &ACE_TRY_ENV)
return this->members_i (ACE_TRY_ENV);
}
-IR_EnumMemberSeq *
+CORBA_EnumMemberSeq *
TAO_EnumDef_i::members_i (CORBA::Environment &ACE_TRY_ENV)
ACE_THROW_SPEC ((CORBA::SystemException))
{
@@ -77,9 +77,9 @@ TAO_EnumDef_i::members_i (CORBA::Environment &ACE_TRY_ENV)
"count",
count);
- IR_EnumMemberSeq *retval = 0;
+ CORBA_EnumMemberSeq *retval = 0;
ACE_NEW_THROW_EX (retval,
- IR_EnumMemberSeq (count),
+ CORBA_EnumMemberSeq (count),
CORBA::NO_MEMORY ());
ACE_CHECK_RETURN (0);
@@ -106,7 +106,7 @@ TAO_EnumDef_i::members_i (CORBA::Environment &ACE_TRY_ENV)
}
void
-TAO_EnumDef_i::members (const IR_EnumMemberSeq &members,
+TAO_EnumDef_i::members (const CORBA_EnumMemberSeq &members,
CORBA::Environment &ACE_TRY_ENV)
ACE_THROW_SPEC ((CORBA::SystemException))
{
@@ -117,7 +117,7 @@ TAO_EnumDef_i::members (const IR_EnumMemberSeq &members,
}
void
-TAO_EnumDef_i::members_i (const IR_EnumMemberSeq &members,
+TAO_EnumDef_i::members_i (const CORBA_EnumMemberSeq &members,
CORBA::Environment &)
ACE_THROW_SPEC ((CORBA::SystemException))
{
diff --git a/TAO/orbsvcs/IFR_Service/EnumDef_i.h b/TAO/orbsvcs/IFR_Service/EnumDef_i.h
index 98451bd53e7..1ff7447416c 100644
--- a/TAO/orbsvcs/IFR_Service/EnumDef_i.h
+++ b/TAO/orbsvcs/IFR_Service/EnumDef_i.h
@@ -10,7 +10,7 @@
// EnumDef_i.h
//
// = DESCRIPTION
-// IR_EnumDef servant class.
+// EnumDef servant class.
//
// = AUTHOR
// Jeff Parsons <parsons@cs.wustl.edu>
@@ -50,7 +50,7 @@ public:
virtual ~TAO_EnumDef_i (void);
// Destructor
- virtual IR_DefinitionKind def_kind (
+ virtual CORBA::DefinitionKind def_kind (
CORBA::Environment &ACE_TRY_ENV =
TAO_default_environment ()
)
@@ -71,27 +71,27 @@ public:
ACE_THROW_SPEC ((CORBA::SystemException));
// From IDLType_i's pure virtual function.
- virtual IR_EnumMemberSeq *members (
+ virtual CORBA_EnumMemberSeq *members (
CORBA::Environment &ACE_TRY_ENV =
TAO_default_environment ()
)
ACE_THROW_SPEC ((CORBA::SystemException));
- IR_EnumMemberSeq *members_i (
+ CORBA_EnumMemberSeq *members_i (
CORBA::Environment &ACE_TRY_ENV =
TAO_default_environment ()
)
ACE_THROW_SPEC ((CORBA::SystemException));
virtual void members (
- const IR_EnumMemberSeq &members,
+ const CORBA_EnumMemberSeq &members,
CORBA::Environment &ACE_TRY_ENV =
TAO_default_environment ()
)
ACE_THROW_SPEC ((CORBA::SystemException));
void members_i (
- const IR_EnumMemberSeq &members,
+ const CORBA_EnumMemberSeq &members,
CORBA::Environment &ACE_TRY_ENV =
TAO_default_environment ()
)
diff --git a/TAO/orbsvcs/IFR_Service/EventDef_i.cpp b/TAO/orbsvcs/IFR_Service/EventDef_i.cpp
index 66e955415e6..6f30d49d6c9 100644
--- a/TAO/orbsvcs/IFR_Service/EventDef_i.cpp
+++ b/TAO/orbsvcs/IFR_Service/EventDef_i.cpp
@@ -33,7 +33,7 @@ TAO_EventDef_i::destroy_i (CORBA::Environment & /* ACE_TRY_ENV */)
// TODO
}
-IR_Contained::Description *
+CORBA_Contained::Description *
TAO_EventDef_i::describe (CORBA::Environment &ACE_TRY_ENV)
ACE_THROW_SPEC ((CORBA::SystemException))
{
@@ -42,7 +42,7 @@ TAO_EventDef_i::describe (CORBA::Environment &ACE_TRY_ENV)
return this->describe_i (ACE_TRY_ENV);
}
-IR_Contained::Description *
+CORBA_Contained::Description *
TAO_EventDef_i::describe_i (CORBA::Environment & /* ACE_TRY_ENV */)
ACE_THROW_SPEC ((CORBA::SystemException))
{
@@ -70,7 +70,7 @@ TAO_EventDef_i::is_a_i (const char * /* event_id */,
return 0;
}
-IR_ValueDef_ptr
+CORBA_ValueDef_ptr
TAO_EventDef_i::event (CORBA::Environment &ACE_TRY_ENV)
ACE_THROW_SPEC ((CORBA::SystemException))
{
@@ -79,7 +79,7 @@ TAO_EventDef_i::event (CORBA::Environment &ACE_TRY_ENV)
return this->event_i (ACE_TRY_ENV);
}
-IR_ValueDef_ptr
+CORBA_ValueDef_ptr
TAO_EventDef_i::event_i (CORBA::Environment & /* ACE_TRY_ENV */)
ACE_THROW_SPEC ((CORBA::SystemException))
{
diff --git a/TAO/orbsvcs/IFR_Service/EventDef_i.h b/TAO/orbsvcs/IFR_Service/EventDef_i.h
index 7605dfea815..091f5fb5afe 100644
--- a/TAO/orbsvcs/IFR_Service/EventDef_i.h
+++ b/TAO/orbsvcs/IFR_Service/EventDef_i.h
@@ -10,7 +10,7 @@
// EventDef_i.h
//
// = DESCRIPTION
-// IR_EventDef servant class.
+// EventDef servant class.
//
// = AUTHOR
// Jeff Parsons <parsons@cs.wustl.edu>
@@ -63,14 +63,14 @@ public:
)
ACE_THROW_SPEC ((CORBA::SystemException));
- virtual IR_Contained::Description *describe (
+ virtual CORBA_Contained::Description *describe (
CORBA::Environment &ACE_TRY_ENV =
TAO_default_environment ()
)
ACE_THROW_SPEC ((CORBA::SystemException));
// From Contained_i's pure virtual function.
- virtual IR_Contained::Description *describe_i (
+ virtual CORBA_Contained::Description *describe_i (
CORBA::Environment &ACE_TRY_ENV =
TAO_default_environment ()
)
@@ -91,13 +91,13 @@ public:
)
ACE_THROW_SPEC ((CORBA::SystemException));
- virtual IR_ValueDef_ptr event (
+ virtual CORBA_ValueDef_ptr event (
CORBA::Environment &ACE_TRY_ENV =
TAO_default_environment ()
)
ACE_THROW_SPEC ((CORBA::SystemException));
- IR_ValueDef_ptr event_i (
+ CORBA_ValueDef_ptr event_i (
CORBA::Environment &ACE_TRY_ENV =
TAO_default_environment ()
)
diff --git a/TAO/orbsvcs/IFR_Service/ExceptionDef_i.cpp b/TAO/orbsvcs/IFR_Service/ExceptionDef_i.cpp
index 03ebb0ac524..2f79e6f6d83 100644
--- a/TAO/orbsvcs/IFR_Service/ExceptionDef_i.cpp
+++ b/TAO/orbsvcs/IFR_Service/ExceptionDef_i.cpp
@@ -23,11 +23,11 @@ TAO_ExceptionDef_i::~TAO_ExceptionDef_i (void)
{
}
-IR_DefinitionKind
+CORBA::DefinitionKind
TAO_ExceptionDef_i::def_kind (CORBA::Environment &)
ACE_THROW_SPEC ((CORBA::SystemException))
{
- return dk_Exception;
+ return CORBA::dk_Exception;
}
void
@@ -52,7 +52,7 @@ TAO_ExceptionDef_i::destroy_i (CORBA::Environment &ACE_TRY_ENV)
ACE_CHECK;
}
-IR_Contained::Description *
+CORBA_Contained::Description *
TAO_ExceptionDef_i::describe (CORBA::Environment &ACE_TRY_ENV)
ACE_THROW_SPEC ((CORBA::SystemException))
{
@@ -61,22 +61,22 @@ TAO_ExceptionDef_i::describe (CORBA::Environment &ACE_TRY_ENV)
return this->describe_i (ACE_TRY_ENV);
}
-IR_Contained::Description *
+CORBA_Contained::Description *
TAO_ExceptionDef_i::describe_i (CORBA::Environment &ACE_TRY_ENV)
ACE_THROW_SPEC ((CORBA::SystemException))
{
- IR_Contained::Description *desc_ptr = 0;
+ CORBA_Contained::Description *desc_ptr = 0;
ACE_NEW_THROW_EX (desc_ptr,
- IR_Contained::Description,
+ CORBA_Contained::Description,
CORBA::NO_MEMORY ());
ACE_CHECK_RETURN (0);
- IR_Contained::Description_var retval = desc_ptr;
+ CORBA_Contained::Description_var retval = desc_ptr;
retval->kind = this->def_kind (ACE_TRY_ENV);
ACE_CHECK_RETURN (0);
- IR_ExceptionDescription ed;
+ CORBA_ExceptionDescription ed;
ed.name = this->name_i (ACE_TRY_ENV);
ACE_CHECK_RETURN (0);
@@ -126,7 +126,7 @@ TAO_ExceptionDef_i::type_i (CORBA::Environment &ACE_TRY_ENV)
"name",
name);
- IR_StructMemberSeq_var members = this->members_i (ACE_TRY_ENV);
+ CORBA_StructMemberSeq_var members = this->members_i (ACE_TRY_ENV);
ACE_CHECK_RETURN (CORBA::TypeCode::_nil ());
return this->repo_->tc_factory ()->create_exception_tc (id.c_str (),
@@ -135,7 +135,7 @@ TAO_ExceptionDef_i::type_i (CORBA::Environment &ACE_TRY_ENV)
ACE_TRY_ENV);
}
-IR_StructMemberSeq *
+CORBA_StructMemberSeq *
TAO_ExceptionDef_i::members (CORBA::Environment &ACE_TRY_ENV)
ACE_THROW_SPEC ((CORBA::SystemException))
{
@@ -144,11 +144,11 @@ TAO_ExceptionDef_i::members (CORBA::Environment &ACE_TRY_ENV)
return this->members_i (ACE_TRY_ENV);
}
-IR_StructMemberSeq *
+CORBA_StructMemberSeq *
TAO_ExceptionDef_i::members_i (CORBA::Environment &ACE_TRY_ENV)
ACE_THROW_SPEC ((CORBA::SystemException))
{
- ACE_Unbounded_Queue<IR_DefinitionKind> kind_queue;
+ ACE_Unbounded_Queue<CORBA::DefinitionKind> kind_queue;
ACE_Unbounded_Queue<ACE_TString> path_queue;
ACE_Unbounded_Queue<ACE_TString> name_queue;
@@ -201,8 +201,8 @@ TAO_ExceptionDef_i::members_i (CORBA::Environment &ACE_TRY_ENV)
"def_kind",
kind);
- IR_DefinitionKind def_kind =
- ACE_static_cast (IR_DefinitionKind, kind);
+ CORBA::DefinitionKind def_kind =
+ ACE_static_cast (CORBA::DefinitionKind, kind);
kind_queue.enqueue_tail (def_kind);
}
@@ -210,19 +210,19 @@ TAO_ExceptionDef_i::members_i (CORBA::Environment &ACE_TRY_ENV)
size_t size = kind_queue.size ();
- IR_StructMemberSeq *members = 0;
+ CORBA_StructMemberSeq *members = 0;
ACE_NEW_THROW_EX (members,
- IR_StructMemberSeq (size),
+ CORBA_StructMemberSeq (size),
CORBA::NO_MEMORY ());
ACE_CHECK_RETURN (0);
members->length (size);
- IR_StructMemberSeq_var retval = members;
+ CORBA_StructMemberSeq_var retval = members;
ACE_TString name;
ACE_TString path;
- IR_DefinitionKind kind = dk_none;
+ CORBA::DefinitionKind kind = CORBA::dk_none;
CORBA::Object_var obj;
ACE_Configuration_Section_Key member_key;
TAO_IDLType_i *impl = 0;
@@ -243,7 +243,7 @@ TAO_ExceptionDef_i::members_i (CORBA::Environment &ACE_TRY_ENV)
ACE_TRY_ENV);
ACE_CHECK_RETURN (0);
- retval[k].type_def = IR_IDLType::_narrow (obj.in (),
+ retval[k].type_def = CORBA_IDLType::_narrow (obj.in (),
ACE_TRY_ENV);
ACE_CHECK_RETURN (0);
@@ -267,7 +267,7 @@ TAO_ExceptionDef_i::members_i (CORBA::Environment &ACE_TRY_ENV)
}
void
-TAO_ExceptionDef_i::members (const IR_StructMemberSeq &members,
+TAO_ExceptionDef_i::members (const CORBA_StructMemberSeq &members,
CORBA::Environment &ACE_TRY_ENV)
ACE_THROW_SPEC ((CORBA::SystemException))
{
@@ -278,7 +278,7 @@ TAO_ExceptionDef_i::members (const IR_StructMemberSeq &members,
}
void
-TAO_ExceptionDef_i::members_i (const IR_StructMemberSeq &members,
+TAO_ExceptionDef_i::members_i (const CORBA_StructMemberSeq &members,
CORBA::Environment &ACE_TRY_ENV)
ACE_THROW_SPEC ((CORBA::SystemException))
{
diff --git a/TAO/orbsvcs/IFR_Service/ExceptionDef_i.h b/TAO/orbsvcs/IFR_Service/ExceptionDef_i.h
index 6e064928d1a..bade27d5c42 100644
--- a/TAO/orbsvcs/IFR_Service/ExceptionDef_i.h
+++ b/TAO/orbsvcs/IFR_Service/ExceptionDef_i.h
@@ -10,7 +10,7 @@
// ExceptionDef_i.h
//
// = DESCRIPTION
-// IR_ExceptionDef servant class.
+// ExceptionDef servant class.
//
// = AUTHOR
// Jeff Parsons <parsons@cs.wustl.edu>
@@ -21,6 +21,7 @@
#define TAO_EXCEPTIONDEF_I_H
#include "Contained_i.h"
+#include "Container_i.h"
#if !defined (ACE_LACKS_PRAGMA_ONCE)
# pragma once
@@ -50,7 +51,7 @@ public:
virtual ~TAO_ExceptionDef_i (void);
// Destructor
- virtual IR_DefinitionKind def_kind (
+ virtual CORBA::DefinitionKind def_kind (
CORBA::Environment &ACE_TRY_ENV =
TAO_default_environment ()
)
@@ -71,14 +72,14 @@ public:
ACE_THROW_SPEC ((CORBA::SystemException));
// Remove the repository entry.
- virtual IR_Contained::Description *describe (
+ virtual CORBA_Contained::Description *describe (
CORBA::Environment &ACE_TRY_ENV =
TAO_default_environment ()
)
ACE_THROW_SPEC ((CORBA::SystemException));
// From Contained_i's pure virtual function.
- virtual IR_Contained::Description *describe_i (
+ virtual CORBA_Contained::Description *describe_i (
CORBA::Environment &ACE_TRY_ENV =
TAO_default_environment ()
)
@@ -97,27 +98,27 @@ public:
)
ACE_THROW_SPEC ((CORBA::SystemException));
- virtual IR_StructMemberSeq *members (
+ virtual CORBA_StructMemberSeq *members (
CORBA::Environment &ACE_TRY_ENV =
TAO_default_environment ()
)
ACE_THROW_SPEC ((CORBA::SystemException));
- IR_StructMemberSeq *members_i (
+ CORBA_StructMemberSeq *members_i (
CORBA::Environment &ACE_TRY_ENV =
TAO_default_environment ()
)
ACE_THROW_SPEC ((CORBA::SystemException));
virtual void members (
- const IR_StructMemberSeq & members,
+ const CORBA_StructMemberSeq & members,
CORBA::Environment &ACE_TRY_ENV =
TAO_default_environment ()
)
ACE_THROW_SPEC ((CORBA::SystemException));
void members_i (
- const IR_StructMemberSeq & members,
+ const CORBA_StructMemberSeq & members,
CORBA::Environment &ACE_TRY_ENV =
TAO_default_environment ()
)
diff --git a/TAO/orbsvcs/IFR_Service/FactoryDef_i.cpp b/TAO/orbsvcs/IFR_Service/FactoryDef_i.cpp
index 39a9268d0b6..9f967d089eb 100644
--- a/TAO/orbsvcs/IFR_Service/FactoryDef_i.cpp
+++ b/TAO/orbsvcs/IFR_Service/FactoryDef_i.cpp
@@ -20,11 +20,11 @@ TAO_FactoryDef_i::~TAO_FactoryDef_i (void)
{
}
-IR_DefinitionKind
+CORBA::DefinitionKind
TAO_FactoryDef_i::def_kind (CORBA::Environment &)
ACE_THROW_SPEC ((CORBA::SystemException))
{
- return dk_Factory;
+ return CORBA::dk_Factory;
}
void
@@ -43,7 +43,7 @@ TAO_FactoryDef_i::destroy_i (CORBA::Environment & /* ACE_TRY_ENV */)
// TODO
}
-IR_Contained::Description *
+CORBA_Contained::Description *
TAO_FactoryDef_i::describe (CORBA::Environment &ACE_TRY_ENV)
ACE_THROW_SPEC ((CORBA::SystemException))
{
@@ -52,7 +52,7 @@ TAO_FactoryDef_i::describe (CORBA::Environment &ACE_TRY_ENV)
return this->describe_i (ACE_TRY_ENV);
}
-IR_Contained::Description *
+CORBA_Contained::Description *
TAO_FactoryDef_i::describe_i (CORBA::Environment & /* ACE_TRY_ENV */ )
ACE_THROW_SPEC ((CORBA::SystemException))
{
diff --git a/TAO/orbsvcs/IFR_Service/FactoryDef_i.h b/TAO/orbsvcs/IFR_Service/FactoryDef_i.h
index 8cba17d416c..12cdb254fbc 100644
--- a/TAO/orbsvcs/IFR_Service/FactoryDef_i.h
+++ b/TAO/orbsvcs/IFR_Service/FactoryDef_i.h
@@ -10,7 +10,7 @@
// FactoryDef_i.h
//
// = DESCRIPTION
-// IR_FactoryDef servant class.
+// FactoryDef servant class.
//
// = AUTHOR
// Jeff Parsons <parsons@cs.wustl.edu>
@@ -49,7 +49,7 @@ public:
virtual ~TAO_FactoryDef_i (void);
// Destructor
- virtual IR_DefinitionKind def_kind (
+ virtual CORBA::DefinitionKind def_kind (
CORBA::Environment &ACE_TRY_ENV =
TAO_default_environment ()
)
@@ -69,14 +69,14 @@ public:
)
ACE_THROW_SPEC ((CORBA::SystemException));
- virtual IR_Contained::Description *describe (
+ virtual CORBA_Contained::Description *describe (
CORBA::Environment &ACE_TRY_ENV =
TAO_default_environment ()
)
ACE_THROW_SPEC ((CORBA::SystemException));
// From Contained_i's pure virtual function.
- virtual IR_Contained::Description *describe_i (
+ virtual CORBA_Contained::Description *describe_i (
CORBA::Environment &ACE_TRY_ENV =
TAO_default_environment ()
)
diff --git a/TAO/orbsvcs/IFR_Service/FinderDef_i.cpp b/TAO/orbsvcs/IFR_Service/FinderDef_i.cpp
index 7176f75f6e1..88e363a16f5 100644
--- a/TAO/orbsvcs/IFR_Service/FinderDef_i.cpp
+++ b/TAO/orbsvcs/IFR_Service/FinderDef_i.cpp
@@ -18,11 +18,11 @@ TAO_FinderDef_i::~TAO_FinderDef_i (void)
{
}
-IR_DefinitionKind
+CORBA::DefinitionKind
TAO_FinderDef_i::def_kind (CORBA::Environment &)
ACE_THROW_SPEC ((CORBA::SystemException))
{
- return dk_Finder;
+ return CORBA::dk_Finder;
}
void
@@ -41,7 +41,7 @@ TAO_FinderDef_i::destroy_i (CORBA::Environment & /* ACE_TRY_ENV */)
// TODO
}
-IR_Contained::Description *
+CORBA_Contained::Description *
TAO_FinderDef_i::describe (CORBA::Environment &ACE_TRY_ENV)
ACE_THROW_SPEC ((CORBA::SystemException))
{
@@ -50,7 +50,7 @@ TAO_FinderDef_i::describe (CORBA::Environment &ACE_TRY_ENV)
return this->describe_i (ACE_TRY_ENV);
}
-IR_Contained::Description *
+CORBA_Contained::Description *
TAO_FinderDef_i::describe_i (CORBA::Environment & /* ACE_TRY_ENV */ )
ACE_THROW_SPEC ((CORBA::SystemException))
{
diff --git a/TAO/orbsvcs/IFR_Service/FinderDef_i.h b/TAO/orbsvcs/IFR_Service/FinderDef_i.h
index 7da9d7ee3db..34b1cc78c93 100644
--- a/TAO/orbsvcs/IFR_Service/FinderDef_i.h
+++ b/TAO/orbsvcs/IFR_Service/FinderDef_i.h
@@ -10,7 +10,7 @@
// FinderDef_i.h
//
// = DESCRIPTION
-// IR_FinderDef servant class.
+// FinderDef servant class.
//
// = AUTHOR
// Jeff Parsons <parsons@cs.wustl.edu>
@@ -49,7 +49,7 @@ public:
virtual ~TAO_FinderDef_i (void);
// Destructor
- virtual IR_DefinitionKind def_kind (
+ virtual CORBA::DefinitionKind def_kind (
CORBA::Environment &ACE_TRY_ENV =
TAO_default_environment ()
)
@@ -69,14 +69,14 @@ public:
)
ACE_THROW_SPEC ((CORBA::SystemException));
- virtual IR_Contained::Description *describe (
+ virtual CORBA_Contained::Description *describe (
CORBA::Environment &ACE_TRY_ENV =
TAO_default_environment ()
)
ACE_THROW_SPEC ((CORBA::SystemException));
// From Contained_i's pure virtual function.
- virtual IR_Contained::Description *describe_i (
+ virtual CORBA_Contained::Description *describe_i (
CORBA::Environment &ACE_TRY_ENV =
TAO_default_environment ()
)
diff --git a/TAO/orbsvcs/IFR_Service/FixedDef_i.cpp b/TAO/orbsvcs/IFR_Service/FixedDef_i.cpp
index 37917f02486..af5b9736b21 100644
--- a/TAO/orbsvcs/IFR_Service/FixedDef_i.cpp
+++ b/TAO/orbsvcs/IFR_Service/FixedDef_i.cpp
@@ -17,11 +17,11 @@ TAO_FixedDef_i::~TAO_FixedDef_i (void)
{
}
-IR_DefinitionKind
+CORBA::DefinitionKind
TAO_FixedDef_i::def_kind (CORBA::Environment &)
ACE_THROW_SPEC ((CORBA::SystemException))
{
- return dk_Fixed;
+ return CORBA::dk_Fixed;
}
void
diff --git a/TAO/orbsvcs/IFR_Service/FixedDef_i.h b/TAO/orbsvcs/IFR_Service/FixedDef_i.h
index 6d9f3adfc51..4f2537801eb 100644
--- a/TAO/orbsvcs/IFR_Service/FixedDef_i.h
+++ b/TAO/orbsvcs/IFR_Service/FixedDef_i.h
@@ -10,7 +10,7 @@
// FixedDef_i.h
//
// = DESCRIPTION
-// IR_FixedDef servant class.
+// FixedDef servant class.
//
// = AUTHOR
// Jeff Parsons <parsons@cs.wustl.edu>
@@ -49,7 +49,7 @@ public:
virtual ~TAO_FixedDef_i (void);
// Destructor
- virtual IR_DefinitionKind def_kind (
+ virtual CORBA::DefinitionKind def_kind (
CORBA::Environment &ACE_TRY_ENV =
TAO_default_environment ()
)
diff --git a/TAO/orbsvcs/IFR_Service/HomeDef_i.cpp b/TAO/orbsvcs/IFR_Service/HomeDef_i.cpp
index 6f76461af09..e10c8cc69da 100644
--- a/TAO/orbsvcs/IFR_Service/HomeDef_i.cpp
+++ b/TAO/orbsvcs/IFR_Service/HomeDef_i.cpp
@@ -20,11 +20,11 @@ TAO_HomeDef_i::~TAO_HomeDef_i (void)
{
}
-IR_DefinitionKind
+CORBA::DefinitionKind
TAO_HomeDef_i::def_kind (CORBA::Environment &)
ACE_THROW_SPEC ((CORBA::SystemException))
{
- return dk_Home;
+ return CORBA::dk_Home;
}
void
@@ -43,7 +43,7 @@ TAO_HomeDef_i::destroy_i (CORBA::Environment & /* ACE_TRY_ENV */)
// TODO
}
-IR_Contained::Description *
+CORBA_Contained::Description *
TAO_HomeDef_i::describe (CORBA::Environment &ACE_TRY_ENV)
ACE_THROW_SPEC ((CORBA::SystemException))
{
@@ -52,7 +52,7 @@ TAO_HomeDef_i::describe (CORBA::Environment &ACE_TRY_ENV)
return this->describe_i (ACE_TRY_ENV);
}
-IR_Contained::Description *
+CORBA_Contained::Description *
TAO_HomeDef_i::describe_i (CORBA::Environment & /* ACE_TRY_ENV */)
ACE_THROW_SPEC ((CORBA::SystemException))
{
@@ -77,16 +77,16 @@ TAO_HomeDef_i::type_i (CORBA::Environment & /* ACE_TRY_ENV */)
return 0;
}
-IR_HomeDef_ptr
+IR::HomeDef_ptr
TAO_HomeDef_i::base_home (CORBA::Environment &ACE_TRY_ENV)
ACE_THROW_SPEC ((CORBA::SystemException))
{
- TAO_IFR_READ_GUARD_RETURN (IR_HomeDef::_nil ());
+ TAO_IFR_READ_GUARD_RETURN (IR::HomeDef::_nil ());
return this->base_home_i (ACE_TRY_ENV);
}
-IR_HomeDef_ptr
+IR::HomeDef_ptr
TAO_HomeDef_i::base_home_i (CORBA::Environment & /* ACE_TRY_ENV */)
ACE_THROW_SPEC ((CORBA::SystemException))
{
@@ -94,16 +94,16 @@ TAO_HomeDef_i::base_home_i (CORBA::Environment & /* ACE_TRY_ENV */)
return 0;
}
-IR_ComponentDef_ptr
+IR::ComponentDef_ptr
TAO_HomeDef_i::managed_component (CORBA::Environment &ACE_TRY_ENV)
ACE_THROW_SPEC ((CORBA::SystemException))
{
- TAO_IFR_READ_GUARD_RETURN (IR_ComponentDef::_nil ());
+ TAO_IFR_READ_GUARD_RETURN (IR::ComponentDef::_nil ());
return this->managed_component_i (ACE_TRY_ENV);
}
-IR_ComponentDef_ptr
+IR::ComponentDef_ptr
TAO_HomeDef_i::managed_component_i (CORBA::Environment & /* ACE_TRY_ENV */)
ACE_THROW_SPEC ((CORBA::SystemException))
{
@@ -111,16 +111,16 @@ TAO_HomeDef_i::managed_component_i (CORBA::Environment & /* ACE_TRY_ENV */)
return 0;
}
-IR_PrimaryKeyDef_ptr
+IR::PrimaryKeyDef_ptr
TAO_HomeDef_i::primary_key (CORBA::Environment &ACE_TRY_ENV)
ACE_THROW_SPEC ((CORBA::SystemException))
{
- TAO_IFR_READ_GUARD_RETURN (IR_PrimaryKeyDef::_nil ());
+ TAO_IFR_READ_GUARD_RETURN (IR::PrimaryKeyDef::_nil ());
return this->primary_key_i (ACE_TRY_ENV);
}
-IR_PrimaryKeyDef_ptr
+IR::PrimaryKeyDef_ptr
TAO_HomeDef_i::primary_key_i (CORBA::Environment & /* ACE_TRY_ENV */)
ACE_THROW_SPEC ((CORBA::SystemException))
{
@@ -128,7 +128,7 @@ TAO_HomeDef_i::primary_key_i (CORBA::Environment & /* ACE_TRY_ENV */)
return 0;
}
-IR_FactoryDefSeq *
+IR::FactoryDefSeq *
TAO_HomeDef_i::factories (CORBA::Environment &ACE_TRY_ENV)
ACE_THROW_SPEC ((CORBA::SystemException))
{
@@ -137,7 +137,7 @@ TAO_HomeDef_i::factories (CORBA::Environment &ACE_TRY_ENV)
return this->factories_i (ACE_TRY_ENV);
}
-IR_FactoryDefSeq *
+IR::FactoryDefSeq *
TAO_HomeDef_i::factories_i (CORBA::Environment & /* ACE_TRY_ENV */)
ACE_THROW_SPEC ((CORBA::SystemException))
{
@@ -145,7 +145,7 @@ TAO_HomeDef_i::factories_i (CORBA::Environment & /* ACE_TRY_ENV */)
return 0;
}
-IR_FinderDefSeq *
+IR::FinderDefSeq *
TAO_HomeDef_i::finders (CORBA::Environment &ACE_TRY_ENV)
ACE_THROW_SPEC ((CORBA::SystemException))
{
@@ -154,7 +154,7 @@ TAO_HomeDef_i::finders (CORBA::Environment &ACE_TRY_ENV)
return this->finders_i (ACE_TRY_ENV);
}
-IR_FinderDefSeq *
+IR::FinderDefSeq *
TAO_HomeDef_i::finders_i (CORBA::Environment & /* ACE_TRY_ENV */)
ACE_THROW_SPEC ((CORBA::SystemException))
{
@@ -179,15 +179,15 @@ TAO_HomeDef_i::is_basic_i (CORBA::Environment & /* ACE_TRY_ENV */)
return 0;
}
-IR_PrimaryKeyDef_ptr
+IR::PrimaryKeyDef_ptr
TAO_HomeDef_i::create_primary_key (const char *id,
const char *name,
const char *version,
- IR_ValueDef_ptr primary_key,
+ CORBA_ValueDef_ptr primary_key,
CORBA::Environment &ACE_TRY_ENV)
ACE_THROW_SPEC ((CORBA::SystemException))
{
- TAO_IFR_WRITE_GUARD_RETURN (IR_PrimaryKeyDef::_nil ());
+ TAO_IFR_WRITE_GUARD_RETURN (IR::PrimaryKeyDef::_nil ());
return this->create_primary_key_i (id,
name,
@@ -196,11 +196,11 @@ TAO_HomeDef_i::create_primary_key (const char *id,
ACE_TRY_ENV);
}
-IR_PrimaryKeyDef_ptr
+IR::PrimaryKeyDef_ptr
TAO_HomeDef_i::create_primary_key_i (const char * /* id */,
const char * /* name */,
const char * /* version */,
- IR_ValueDef_ptr /* primary_key */,
+ CORBA_ValueDef_ptr /* primary_key */,
CORBA::Environment & /* ACE_TRY_ENV */)
ACE_THROW_SPEC ((CORBA::SystemException))
{
@@ -208,16 +208,16 @@ TAO_HomeDef_i::create_primary_key_i (const char * /* id */,
return 0;
}
-IR_FactoryDef_ptr
+IR::FactoryDef_ptr
TAO_HomeDef_i::create_factory (const char *id,
const char *name,
const char *version,
- const IR_ParDescriptionSeq &params,
- const IR_ExceptionDefSeq &exceptions,
+ const CORBA_ParDescriptionSeq &params,
+ const CORBA_ExceptionDefSeq &exceptions,
CORBA::Environment &ACE_TRY_ENV)
ACE_THROW_SPEC ((CORBA::SystemException))
{
- TAO_IFR_WRITE_GUARD_RETURN (IR_FactoryDef::_nil ());
+ TAO_IFR_WRITE_GUARD_RETURN (I:FactoryDef::_nil ());
return this->create_factory_i (id,
name,
@@ -227,29 +227,31 @@ TAO_HomeDef_i::create_factory (const char *id,
ACE_TRY_ENV);
}
-IR_FactoryDef_ptr
-TAO_HomeDef_i::create_factory_i (const char * /* id */,
- const char * /* name */,
- const char * /* version */,
- const IR_ParDescriptionSeq & /* params */,
- const IR_ExceptionDefSeq & /* exceptions */,
- CORBA::Environment & /* ACE_TRY_ENV */)
+IR::FactoryDef_ptr
+TAO_HomeDef_i::create_factory_i (
+ const char * /* id */,
+ const char * /* name */,
+ const char * /* version */,
+ const CORBA_ParDescriptionSeq & /* params */,
+ const CORBA_ExceptionDefSeq & /* exceptions */,
+ CORBA::Environment & /* ACE_TRY_ENV */
+ )
ACE_THROW_SPEC ((CORBA::SystemException))
{
// TODO
return 0;
}
-IR_FinderDef_ptr
+IR::FinderDef_ptr
TAO_HomeDef_i::create_finder (const char *id,
const char *name,
const char *version,
- const IR_ParDescriptionSeq &params,
- const IR_ExceptionDefSeq &exceptions,
+ const CORBA_ParDescriptionSeq &params,
+ const CORBA_ExceptionDefSeq &exceptions,
CORBA::Environment &ACE_TRY_ENV)
ACE_THROW_SPEC ((CORBA::SystemException))
{
- TAO_IFR_WRITE_GUARD_RETURN (IR_FinderDef::_nil ());
+ TAO_IFR_WRITE_GUARD_RETURN (IR::FinderDef::_nil ());
return this->create_finder_i (id,
name,
@@ -259,13 +261,15 @@ TAO_HomeDef_i::create_finder (const char *id,
ACE_TRY_ENV);
}
-IR_FinderDef_ptr
-TAO_HomeDef_i::create_finder_i (const char * /* id */,
- const char * /* name */,
- const char * /* version */,
- const IR_ParDescriptionSeq & /* params */,
- const IR_ExceptionDefSeq & /* exceptions */,
- CORBA::Environment & /* ACE_TRY_ENV */)
+IR::FinderDef_ptr
+TAO_HomeDef_i::create_finder_i (
+ const char * /* id */,
+ const char * /* name */,
+ const char * /* version */,
+ const CORBA_ParDescriptionSeq & /* params */,
+ const CORBA_ExceptionDefSeq & /* exceptions */,
+ CORBA::Environment & /* ACE_TRY_ENV */
+ )
ACE_THROW_SPEC ((CORBA::SystemException))
{
// TODO
diff --git a/TAO/orbsvcs/IFR_Service/HomeDef_i.h b/TAO/orbsvcs/IFR_Service/HomeDef_i.h
index 01e496581ca..ad2f96d4b10 100644
--- a/TAO/orbsvcs/IFR_Service/HomeDef_i.h
+++ b/TAO/orbsvcs/IFR_Service/HomeDef_i.h
@@ -10,7 +10,7 @@
// HomeDef_i.h
//
// = DESCRIPTION
-// IR_HomeDef servant class.
+// HomeDef servant class.
//
// = AUTHOR
// Jeff Parsons <parsons@cs.wustl.edu>
@@ -26,6 +26,8 @@
# pragma once
#endif /* ACE_LACKS_PRAGMA_ONCE */
+#include "IFR_ComponentsS.h"
+
#if defined(_MSC_VER)
#if (_MSC_VER >= 1200)
#pragma warning(push)
@@ -49,7 +51,7 @@ public:
virtual ~TAO_HomeDef_i (void);
// Destructor
- virtual IR_DefinitionKind def_kind (
+ virtual CORBA::DefinitionKind def_kind (
CORBA::Environment &ACE_TRY_ENV =
TAO_default_environment ()
)
@@ -69,14 +71,14 @@ public:
)
ACE_THROW_SPEC ((CORBA::SystemException));
- virtual IR_Contained::Description *describe (
+ virtual CORBA_Contained::Description *describe (
CORBA::Environment &ACE_TRY_ENV =
TAO_default_environment ()
)
ACE_THROW_SPEC ((CORBA::SystemException));
// From Contained_i's pure virtual function.
- virtual IR_Contained::Description *describe_i (
+ virtual CORBA_Contained::Description *describe_i (
CORBA::Environment &ACE_TRY_ENV =
TAO_default_environment ()
)
@@ -97,61 +99,61 @@ public:
ACE_THROW_SPEC ((CORBA::SystemException));
// From IDLType_i's pure virtual function.
- virtual IR_HomeDef_ptr base_home (
+ virtual IR::HomeDef_ptr base_home (
CORBA::Environment &ACE_TRY_ENV =
TAO_default_environment ()
)
ACE_THROW_SPEC ((CORBA::SystemException));
- IR_HomeDef_ptr base_home_i (
+ IR::HomeDef_ptr base_home_i (
CORBA::Environment &ACE_TRY_ENV =
TAO_default_environment ()
)
ACE_THROW_SPEC ((CORBA::SystemException));
- virtual IR_ComponentDef_ptr managed_component (
+ virtual IR::ComponentDef_ptr managed_component (
CORBA::Environment &ACE_TRY_ENV =
TAO_default_environment ()
)
ACE_THROW_SPEC ((CORBA::SystemException));
- IR_ComponentDef_ptr managed_component_i (
+ IR::ComponentDef_ptr managed_component_i (
CORBA::Environment &ACE_TRY_ENV =
TAO_default_environment ()
)
ACE_THROW_SPEC ((CORBA::SystemException));
- virtual IR_PrimaryKeyDef_ptr primary_key (
+ virtual IR::PrimaryKeyDef_ptr primary_key (
CORBA::Environment &ACE_TRY_ENV =
TAO_default_environment ()
)
ACE_THROW_SPEC ((CORBA::SystemException));
- IR_PrimaryKeyDef_ptr primary_key_i (
+ IR::PrimaryKeyDef_ptr primary_key_i (
CORBA::Environment &ACE_TRY_ENV =
TAO_default_environment ()
)
ACE_THROW_SPEC ((CORBA::SystemException));
- virtual IR_FactoryDefSeq *factories (
+ virtual IR::FactoryDefSeq *factories (
CORBA::Environment &ACE_TRY_ENV =
TAO_default_environment ()
)
ACE_THROW_SPEC ((CORBA::SystemException));
- IR_FactoryDefSeq *factories_i (
+ IR::FactoryDefSeq *factories_i (
CORBA::Environment &ACE_TRY_ENV =
TAO_default_environment ()
)
ACE_THROW_SPEC ((CORBA::SystemException));
- virtual IR_FinderDefSeq *finders (
+ virtual IR::FinderDefSeq *finders (
CORBA::Environment &ACE_TRY_ENV =
TAO_default_environment ()
)
ACE_THROW_SPEC ((CORBA::SystemException));
- IR_FinderDefSeq *finders_i (
+ IR::FinderDefSeq *finders_i (
CORBA::Environment &ACE_TRY_ENV =
TAO_default_environment ()
)
@@ -169,65 +171,65 @@ public:
)
ACE_THROW_SPEC ((CORBA::SystemException));
- virtual IR_PrimaryKeyDef_ptr create_primary_key (
+ virtual IR::PrimaryKeyDef_ptr create_primary_key (
const char *id,
const char *name,
const char *version,
- IR_ValueDef_ptr primary_key,
+ CORBA_ValueDef_ptr primary_key,
CORBA::Environment &ACE_TRY_ENV =
TAO_default_environment ()
)
ACE_THROW_SPEC ((CORBA::SystemException));
- IR_PrimaryKeyDef_ptr create_primary_key_i (
+ IR::PrimaryKeyDef_ptr create_primary_key_i (
const char *id,
const char *name,
const char *version,
- IR_ValueDef_ptr primary_key,
+ CORBA_ValueDef_ptr primary_key,
CORBA::Environment &ACE_TRY_ENV =
TAO_default_environment ()
)
ACE_THROW_SPEC ((CORBA::SystemException));
- virtual IR_FactoryDef_ptr create_factory (
+ virtual IR::FactoryDef_ptr create_factory (
const char *id,
const char *name,
const char *version,
- const IR_ParDescriptionSeq &params,
- const IR_ExceptionDefSeq &exceptions,
+ const CORBA_ParDescriptionSeq &params,
+ const CORBA_ExceptionDefSeq &exceptions,
CORBA::Environment &ACE_TRY_ENV =
TAO_default_environment ()
)
ACE_THROW_SPEC ((CORBA::SystemException));
- IR_FactoryDef_ptr create_factory_i (
+ IR::FactoryDef_ptr create_factory_i (
const char *id,
const char *name,
const char *version,
- const IR_ParDescriptionSeq &params,
- const IR_ExceptionDefSeq &exceptions,
+ const CORBA_ParDescriptionSeq &params,
+ const CORBA_ExceptionDefSeq &exceptions,
CORBA::Environment &ACE_TRY_ENV =
TAO_default_environment ()
)
ACE_THROW_SPEC ((CORBA::SystemException));
- virtual IR_FinderDef_ptr create_finder (
+ virtual IR::FinderDef_ptr create_finder (
const char *id,
const char *name,
const char *version,
- const IR_ParDescriptionSeq &params,
- const IR_ExceptionDefSeq &exceptions,
+ const CORBA_ParDescriptionSeq &params,
+ const CORBA_ExceptionDefSeq &exceptions,
CORBA::Environment &ACE_TRY_ENV =
TAO_default_environment ()
)
ACE_THROW_SPEC ((CORBA::SystemException));
- IR_FinderDef_ptr create_finder_i (
+ IR::FinderDef_ptr create_finder_i (
const char *id,
const char *name,
const char *version,
- const IR_ParDescriptionSeq &params,
- const IR_ExceptionDefSeq &exceptions,
+ const CORBA_ParDescriptionSeq &params,
+ const CORBA_ExceptionDefSeq &exceptions,
CORBA::Environment &ACE_TRY_ENV =
TAO_default_environment ()
)
diff --git a/TAO/orbsvcs/IFR_Service/IDLType_i.h b/TAO/orbsvcs/IFR_Service/IDLType_i.h
index 3384cfbd782..521fdcef356 100644
--- a/TAO/orbsvcs/IFR_Service/IDLType_i.h
+++ b/TAO/orbsvcs/IFR_Service/IDLType_i.h
@@ -10,7 +10,7 @@
// IDLType_i.h
//
// = DESCRIPTION
-// IR_IDLType servant class.
+// IDLType servant class.
//
// = AUTHOR
// Jeff Parsons <parsons@cs.wustl.edu>
diff --git a/TAO/orbsvcs/IFR_Service/IFR.dsw b/TAO/orbsvcs/IFR_Service/IFR.dsw
index d054687c391..93c9bd868b9 100644
--- a/TAO/orbsvcs/IFR_Service/IFR.dsw
+++ b/TAO/orbsvcs/IFR_Service/IFR.dsw
@@ -45,18 +45,6 @@ Package=<4>
###############################################################################
-Project: "TypeCodeFactory_DLL"=.\TypeCodeFactory_DLL.dsp - Package Owner=<4>
-
-Package=<5>
-{{{
-}}}
-
-Package=<4>
-{{{
-}}}
-
-###############################################################################
-
Project: "tao_ifr"=.\tao_ifr.dsp - Package Owner=<4>
Package=<5>
diff --git a/TAO/orbsvcs/IFR_Service/IFR_BaseS.cpp b/TAO/orbsvcs/IFR_Service/IFR_BaseS.cpp
new file mode 100644
index 00000000000..f7ec3a68468
--- /dev/null
+++ b/TAO/orbsvcs/IFR_Service/IFR_BaseS.cpp
@@ -0,0 +1,8646 @@
+// -*- C++ -*-
+//
+// $Id$
+
+// **** Code generated by the The ACE ORB (TAO) IDL Compiler ****
+// TAO and the TAO IDL Compiler have been developed by:
+// Center for Distributed Object Computing
+// Washington University
+// St. Louis, MO
+// USA
+// http://www.cs.wustl.edu/~schmidt/doc-center.html
+// and
+// Distributed Object Computing Laboratory
+// University of California at Irvine
+// Irvine, CA
+// USA
+// http://doc.ece.uci.edu/
+//
+// Information about TAO is available at:
+// http://www.cs.wustl.edu/~schmidt/TAO.html
+
+#ifndef TAO_IDL_IFR_BASES_CPP
+#define TAO_IDL_IFR_BASES_CPP
+
+#include "IFR_BaseS.h"
+
+#if TAO_HAS_INTERCEPTORS == 1
+#include "tao/RequestInfo_Util.h"
+#endif /* TAO_HAS_INTERCEPTORS == 1 */
+
+#if defined (__BORLANDC__)
+#pragma option -w-rvl -w-rch -w-ccc -w-aus
+#endif /* __BORLANDC__ */
+
+#if !defined (__ACE_INLINE__)
+#include "IFR_BaseS.i"
+#endif /* !defined INLINE */
+
+class TAO_CORBA_IRObject_Perfect_Hash_OpTable : public TAO_Perfect_Hash_OpTable
+{
+private:
+ unsigned int hash (const char *str, unsigned int len);
+public:
+ const TAO_operation_db_entry * lookup (const char *str, unsigned int len);
+};
+/* starting time is 10:43:18 */
+/* C++ code produced by gperf version 2.8 (ACE version) */
+/* Command-line: gperf -m -M -J -c -C -D -E -T -f 0 -F 0 -a -o -t -p -K opname_ -L C++ -Z TAO_CORBA_IRObject_Perfect_Hash_OpTable -N lookup */
+unsigned int
+TAO_CORBA_IRObject_Perfect_Hash_OpTable::hash (const char *str, unsigned int len)
+{
+ static const unsigned char asso_values[] =
+ {
+#if defined (ACE_MVS)
+ 15, 15, 15, 15, 15, 15, 15, 15, 15, 15,
+ 15, 15, 15, 15, 15, 15, 15, 15, 15, 15,
+ 15, 15, 15, 15, 15, 15, 15, 15, 15, 15,
+ 15, 15, 15, 15, 15, 15, 15, 15, 15, 15,
+ 15, 15, 15, 15, 15, 15, 15, 15, 15, 15,
+ 15, 15, 15, 15, 15, 15, 15, 15, 15, 15,
+ 15, 15, 15, 15, 15, 15, 15, 15, 15, 15,
+ 15, 15, 15, 15, 15, 15, 15, 15, 15, 15,
+ 15, 15, 15, 15, 15, 15, 15, 15, 15, 15,
+ 15, 15, 15, 15, 15, 15, 15, 15, 15, 15,
+ 15, 15, 15, 15, 15, 15, 15, 15, 15, 0,
+ 15, 15, 15, 15, 15, 15, 15, 15, 15, 15,
+ 15, 15, 15, 15, 15, 15, 15, 15, 15, 0,
+ 15, 15, 0, 15, 15, 15, 15, 15, 15, 15,
+ 15, 15, 15, 15, 15, 15, 15, 15, 15, 15,
+ 15, 15, 15, 15, 15, 15, 15, 15, 15, 15,
+ 15, 15, 15, 1, 15, 15, 15, 15, 0, 15,
+ 15, 15, 15, 15, 15, 15, 15, 15, 15, 15,
+ 15, 15, 15, 15, 15, 15, 15, 15, 15, 15,
+ 15, 15, 15, 15, 15, 15, 15, 15, 15, 15,
+ 15, 15, 15, 15, 15, 15, 15, 15, 15, 15,
+ 15, 15, 15, 15, 15, 15, 15, 15, 15, 15,
+ 15, 15, 15, 15, 15, 15, 15, 15, 15, 15,
+ 15, 15, 15, 15, 15, 15, 15, 15, 15, 15,
+ 15, 15, 15, 15, 15, 15, 15, 15, 15, 15,
+ 15, 15, 15, 15, 15, 15,
+#else
+ 15, 15, 15, 15, 15, 15, 15, 15, 15, 15,
+ 15, 15, 15, 15, 15, 15, 15, 15, 15, 15,
+ 15, 15, 15, 15, 15, 15, 15, 15, 15, 15,
+ 15, 15, 15, 15, 15, 15, 15, 15, 15, 15,
+ 15, 15, 15, 15, 15, 15, 15, 15, 15, 15,
+ 15, 15, 15, 15, 15, 15, 15, 15, 15, 15,
+ 15, 15, 15, 15, 15, 15, 15, 15, 15, 15,
+ 15, 15, 15, 15, 15, 15, 15, 15, 15, 15,
+ 15, 15, 15, 15, 15, 15, 15, 15, 15, 15,
+ 15, 15, 15, 15, 15, 0, 15, 0, 15, 15,
+ 0, 15, 15, 15, 15, 15, 15, 15, 15, 15,
+ 15, 15, 15, 15, 15, 15, 1, 15, 15, 15,
+ 15, 0, 15, 15, 15, 15, 15, 15,
+#endif /* ACE_MVS */
+ };
+ return len + asso_values[str[len - 1]] + asso_values[str[0]];
+}
+
+const class TAO_operation_db_entry *
+TAO_CORBA_IRObject_Perfect_Hash_OpTable::lookup (const char *str, unsigned int len)
+{
+ enum
+ {
+ TOTAL_KEYWORDS = 4,
+ MIN_WORD_LENGTH = 5,
+ MAX_WORD_LENGTH = 13,
+ MIN_HASH_VALUE = 5,
+ MAX_HASH_VALUE = 14,
+ HASH_VALUE_RANGE = 10,
+ DUPLICATES = 0
+ };
+
+ static const class TAO_operation_db_entry wordlist[] =
+ {
+ {"",0},{"",0},{"",0},{"",0},{"",0},
+ {"_is_a", &POA_CORBA::IRObject::_is_a_skel},
+ {"",0},
+ {"destroy", &POA_CORBA::IRObject::destroy_skel},
+ {"",0},{"",0},{"",0},{"",0},{"",0},
+ {"_get_def_kind", &POA_CORBA::IRObject::_get_def_kind_skel},
+ {"_non_existent", &POA_CORBA::IRObject::_non_existent_skel},
+ };
+
+ if (len <= MAX_WORD_LENGTH && len >= MIN_WORD_LENGTH)
+ {
+ unsigned int key = hash (str, len);
+
+ if (key <= MAX_HASH_VALUE && key >= MIN_HASH_VALUE)
+ {
+ const char *s = wordlist[key].opname_;
+
+ if (*str == *s && !strncmp (str + 1, s + 1, len - 1))
+ return &wordlist[key];
+ }
+ }
+ return 0;
+}
+/* ending time is 10:43:18 */
+static TAO_CORBA_IRObject_Perfect_Hash_OpTable tao_CORBA_IRObject_optable;
+
+
+///////////////////////////////////////////////////////////////////////
+// Strategized Proxy Broker Implementation
+//
+
+// Factory function Implementation.
+POA_CORBA::_TAO_IRObject_Strategized_Proxy_Broker *POA_CORBA::_TAO_IRObject_Strategized_Proxy_Broker::the_TAO_IRObject_Strategized_Proxy_Broker (void)
+{
+ static POA_CORBA::_TAO_IRObject_Strategized_Proxy_Broker strategized_proxy_broker;
+ return &strategized_proxy_broker;
+}
+
+POA_CORBA::_TAO_IRObject_Strategized_Proxy_Broker::_TAO_IRObject_Strategized_Proxy_Broker (void)
+{
+ for (int i = 0; i < TAO_Collocation_Strategies::CS_LAST; ++i)
+ this->proxy_cache_[i] = 0;
+
+}
+
+POA_CORBA::_TAO_IRObject_Strategized_Proxy_Broker::~_TAO_IRObject_Strategized_Proxy_Broker (void)
+{
+ for (int i = 0; i < TAO_Collocation_Strategies::CS_LAST; ++i)
+ delete this->proxy_cache_[i];
+
+}
+
+_TAO_IRObject_Proxy_Impl&
+POA_CORBA::_TAO_IRObject_Strategized_Proxy_Broker::select_proxy (
+ ::CORBA::IRObject *object,
+ CORBA::Environment &ACE_TRY_ENV
+ )
+{
+ int strategy =
+ TAO_ORB_Core::collocation_strategy (object);
+
+ if (this->proxy_cache_[strategy] != 0)
+ return *this->proxy_cache_[strategy];
+
+ this->create_proxy (strategy, ACE_TRY_ENV);
+ ACE_CHECK_RETURN (*this->proxy_cache_[strategy]);
+
+ return *this->proxy_cache_[strategy];
+
+}
+
+void
+POA_CORBA::_TAO_IRObject_Strategized_Proxy_Broker::create_proxy (
+ int strategy,
+ CORBA::Environment &ACE_TRY_ENV
+ )
+{
+ ACE_GUARD (TAO_SYNCH_MUTEX, guard, this->mutex_);
+
+ if (this->proxy_cache_[strategy] == 0)
+ {
+ switch (strategy)
+ {
+ case TAO_Collocation_Strategies::CS_THRU_POA_STRATEGY:
+ ACE_NEW_THROW_EX (
+ this->proxy_cache_[strategy],
+ _TAO_IRObject_ThruPOA_Proxy_Impl,
+ CORBA::NO_MEMORY ()
+ );
+ ACE_CHECK;
+ break;
+
+ case TAO_Collocation_Strategies::CS_REMOTE_STRATEGY:
+ default:
+ ACE_NEW_THROW_EX (
+ this->proxy_cache_[strategy],
+ ::_TAO_IRObject_Remote_Proxy_Impl,
+ CORBA::NO_MEMORY ()
+ );
+ ACE_CHECK;
+ break;
+
+ }
+
+ }
+}
+
+
+//
+// End Strategized Proxy Broker Implementation
+///////////////////////////////////////////////////////////////////////
+
+
+_TAO_IRObject_Proxy_Broker *
+CORBA__TAO_IRObject_Proxy_Broker_Factory_function (CORBA::Object_ptr obj)
+{
+ ACE_UNUSED_ARG (obj);
+ return ::POA_CORBA::_TAO_IRObject_Strategized_Proxy_Broker::the_TAO_IRObject_Strategized_Proxy_Broker();
+}
+
+int
+CORBA__TAO_IRObject_Proxy_Broker_Factory_Initializer (long _dummy_)
+{
+ ACE_UNUSED_ARG (_dummy_);
+
+ CORBA__TAO_IRObject_Proxy_Broker_Factory_function_pointer =
+ CORBA__TAO_IRObject_Proxy_Broker_Factory_function;
+
+ return 0;
+}
+
+static int CORBA__TAO_IRObject_Proxy_Broker_Stub_Factory_Initializer_Scarecrow =
+ CORBA__TAO_IRObject_Proxy_Broker_Factory_Initializer (ACE_reinterpret_cast (long, CORBA__TAO_IRObject_Proxy_Broker_Factory_Initializer));
+
+
+///////////////////////////////////////////////////////////////////////
+// ThruPOA Proxy Implementation
+//
+
+POA_CORBA::_TAO_IRObject_ThruPOA_Proxy_Impl::_TAO_IRObject_ThruPOA_Proxy_Impl (void)
+{}
+
+// ThruPOA Implementation of the IDL interface methods
+
+CORBA::DefinitionKind POA_CORBA::_TAO_IRObject_ThruPOA_Proxy_Impl::def_kind (
+ CORBA_Object *_collocated_tao_target_,
+ CORBA::Environment &ACE_TRY_ENV
+ )
+ ACE_THROW_SPEC ((
+ CORBA::SystemException
+ ))
+{
+ CORBA::DefinitionKind _tao_retval;
+ ACE_UNUSED_ARG (_tao_retval);
+ TAO_Object_Adapter::Servant_Upcall servant_upcall (
+ _collocated_tao_target_->_stubobj ()->servant_orb_var ()->orb_core ()
+ );
+ CORBA::Object_var forward_to;
+ servant_upcall.prepare_for_upcall (
+ _collocated_tao_target_->_object_key (),
+ "def_kind",
+ forward_to.out (),
+ ACE_TRY_ENV
+ );
+ ACE_CHECK_RETURN (_tao_retval);
+ return ACE_reinterpret_cast (
+ POA_CORBA::IRObject_ptr,
+ servant_upcall.servant ()->_downcast (
+ "IDL:omg.org/CORBA/IRObject:1.0"
+ )
+ )->def_kind (
+ ACE_TRY_ENV
+ );
+}
+
+void POA_CORBA::_TAO_IRObject_ThruPOA_Proxy_Impl::destroy (
+ CORBA_Object *_collocated_tao_target_,
+ CORBA::Environment &ACE_TRY_ENV
+ )
+ ACE_THROW_SPEC ((
+ CORBA::SystemException
+ ))
+{
+ TAO_Object_Adapter::Servant_Upcall servant_upcall (
+ _collocated_tao_target_->_stubobj ()->servant_orb_var ()->orb_core ()
+ );
+ CORBA::Object_var forward_to;
+ servant_upcall.prepare_for_upcall (
+ _collocated_tao_target_->_object_key (),
+ "destroy",
+ forward_to.out (),
+ ACE_TRY_ENV
+ );
+ ACE_CHECK;
+ ACE_reinterpret_cast (
+ POA_CORBA::IRObject_ptr,
+ servant_upcall.servant ()->_downcast (
+ "IDL:omg.org/CORBA/IRObject:1.0"
+ )
+ )->destroy (
+ ACE_TRY_ENV
+ );
+ return;
+}
+
+//
+// End ThruPOA Proxy Implementation
+///////////////////////////////////////////////////////////////////////
+
+// skeleton constructor
+POA_CORBA::IRObject::IRObject (void)
+{
+ this->optable_ = &tao_CORBA_IRObject_optable;
+}
+
+// copy ctor
+POA_CORBA::IRObject::IRObject (const IRObject& rhs)
+ : TAO_ServantBase (rhs)
+{}
+
+// skeleton destructor
+POA_CORBA::IRObject::~IRObject (void)
+{
+}
+
+void POA_CORBA::IRObject::_get_def_kind_skel (
+ TAO_ServerRequest &_tao_server_request,
+ void *_tao_object_reference,
+ void * /* context */,
+ CORBA::Environment &ACE_TRY_ENV
+ )
+{
+ POA_CORBA::IRObject *_tao_impl = (POA_CORBA::IRObject *)_tao_object_reference;
+
+ CORBA::DefinitionKind _tao_retval;
+
+#if (TAO_HAS_INTERCEPTORS == 1)
+ TAO_ServerRequestInterceptor_Adapter _tao_vfr (
+ _tao_server_request.orb_core ()->server_request_interceptors (),
+ _tao_server_request.interceptor_count ()
+ );
+
+ POA_CORBA::IRObject::TAO_ServerRequestInfo_CORBA_IRObject_def_kind_get ri (
+ _tao_server_request,
+ _tao_impl,
+ ACE_TRY_ENV
+ );
+
+ ACE_TRY
+ {
+ _tao_vfr.receive_request (&ri, ACE_TRY_ENV);
+ ACE_TRY_CHECK;
+
+#endif /* TAO_HAS_INTERCEPTORS */
+ _tao_retval =
+ _tao_impl->def_kind (
+ ACE_TRY_ENV
+ );
+ TAO_INTERCEPTOR_CHECK;
+
+#if (TAO_HAS_INTERCEPTORS == 1)
+ CORBA::DefinitionKind _tao_retval_info = _tao_retval;
+ ri.result (_tao_retval_info);
+ ri.reply_status (PortableInterceptor::SUCCESSFUL);
+ _tao_vfr.send_reply (&ri, ACE_TRY_ENV);
+ ACE_TRY_CHECK;
+ }
+ ACE_CATCH (PortableInterceptor::ForwardRequest, exc)
+ {
+ ri.forward_reference (exc);
+ _tao_vfr.send_other (
+ &ri,
+ ACE_TRY_ENV
+ );
+ ACE_TRY_CHECK;
+ _tao_server_request.forward_location (exc.forward.in ());
+ }
+ ACE_CATCHANY
+ {
+ ri.exception (&ACE_ANY_EXCEPTION);
+ _tao_vfr.send_exception (
+ &ri,
+ ACE_TRY_ENV
+ );
+ ACE_TRY_CHECK;
+ ACE_RE_THROW;
+ }
+ ACE_ENDTRY;
+ ACE_CHECK;
+#endif /* TAO_HAS_INTERCEPTORS */
+
+ _tao_server_request.init_reply ();
+
+ TAO_OutputCDR &_tao_out = _tao_server_request.outgoing ();
+
+ if (!(
+ (_tao_out << _tao_retval)
+ ))
+ ACE_THROW (CORBA::MARSHAL());
+
+ // In case ACE_TRY_ENV is not used in this function
+ ACE_UNUSED_ARG (ACE_TRY_ENV);
+}
+
+void POA_CORBA::IRObject::destroy_skel (
+ TAO_ServerRequest &_tao_server_request,
+ void *_tao_object_reference,
+ void * /* context */,
+ CORBA::Environment &ACE_TRY_ENV
+ )
+{
+ POA_CORBA::IRObject *_tao_impl = (POA_CORBA::IRObject *)_tao_object_reference;
+
+ _tao_server_request.argument_flag (0);
+
+#if (TAO_HAS_INTERCEPTORS == 1)
+ TAO_ServerRequestInterceptor_Adapter _tao_vfr (
+ _tao_server_request.orb_core ()->server_request_interceptors (),
+ _tao_server_request.interceptor_count ()
+ );
+
+ POA_CORBA::IRObject::TAO_ServerRequestInfo_CORBA_IRObject_destroy ri (
+ _tao_server_request,
+ _tao_impl,
+ ACE_TRY_ENV
+ );
+
+ ACE_TRY
+ {
+ _tao_vfr.receive_request (&ri, ACE_TRY_ENV);
+ ACE_TRY_CHECK;
+
+#endif /* TAO_HAS_INTERCEPTORS */
+
+ _tao_impl->destroy (
+ ACE_TRY_ENV
+ );
+ TAO_INTERCEPTOR_CHECK;
+
+#if (TAO_HAS_INTERCEPTORS == 1)
+ ri.reply_status (PortableInterceptor::SUCCESSFUL);
+ _tao_vfr.send_reply (&ri, ACE_TRY_ENV);
+ ACE_TRY_CHECK;
+ }
+ ACE_CATCH (PortableInterceptor::ForwardRequest, exc)
+ {
+ ri.forward_reference (exc);
+ _tao_vfr.send_other (
+ &ri,
+ ACE_TRY_ENV
+ );
+ ACE_TRY_CHECK;
+ _tao_server_request.forward_location (exc.forward.in ());
+ }
+ ACE_CATCHANY
+ {
+ ri.exception (&ACE_ANY_EXCEPTION);
+ _tao_vfr.send_exception (
+ &ri,
+ ACE_TRY_ENV
+ );
+ ACE_TRY_CHECK;
+ ACE_RE_THROW;
+ }
+ ACE_ENDTRY;
+ ACE_CHECK;
+#endif /* TAO_HAS_INTERCEPTORS */
+
+ _tao_server_request.init_reply ();
+
+ // In case ACE_TRY_ENV is not used in this function
+ ACE_UNUSED_ARG (ACE_TRY_ENV);
+}
+
+void POA_CORBA::IRObject::_is_a_skel (
+ TAO_ServerRequest &_tao_server_request,
+ void * _tao_object_reference,
+ void * /* context */,
+ CORBA::Environment &ACE_TRY_ENV
+ )
+{
+ TAO_InputCDR &_tao_in = _tao_server_request.incoming ();
+ POA_CORBA::IRObject *_tao_impl = (POA_CORBA::IRObject *) _tao_object_reference;
+ CORBA::Boolean _tao_retval = 0;
+ CORBA::String_var value;
+ if (!(_tao_in >> value.out ()))
+ ACE_THROW (CORBA::MARSHAL ());
+
+ _tao_retval = _tao_impl->_is_a (value.in (), ACE_TRY_ENV);
+ ACE_CHECK;
+
+ _tao_server_request.init_reply ();
+ TAO_OutputCDR &_tao_out = _tao_server_request.outgoing ();
+ if (!(_tao_out << CORBA::Any::from_boolean (_tao_retval)))
+ ACE_THROW (CORBA::MARSHAL ());
+}
+
+void POA_CORBA::IRObject::_non_existent_skel (
+ TAO_ServerRequest &_tao_server_request,
+ void * _tao_object_reference,
+ void * /* context */,
+ CORBA::Environment &ACE_TRY_ENV
+ )
+{
+ POA_CORBA::IRObject *_tao_impl = (POA_CORBA::IRObject *) _tao_object_reference;
+ CORBA::Boolean _tao_retval = _tao_impl->_non_existent (ACE_TRY_ENV);
+ ACE_CHECK;
+
+ _tao_server_request.init_reply ();
+ TAO_OutputCDR &_tao_out = _tao_server_request.outgoing ();
+ if (!(_tao_out << CORBA::Any::from_boolean (_tao_retval)))
+ ACE_THROW (CORBA::MARSHAL ());
+}
+
+CORBA::Boolean POA_CORBA::IRObject::_is_a (
+ const char* value,
+ CORBA::Environment &ACE_TRY_ENV
+ )
+{
+ const char *base_id = CORBA::_tc_Object->id (ACE_TRY_ENV);
+ ACE_CHECK_RETURN (0);
+
+ if (
+ (!ACE_OS::strcmp ((char *)value, "IDL:omg.org/CORBA/IRObject:1.0")) ||
+ (!ACE_OS::strcmp ((char *)value, base_id)))
+ return 1;
+ else
+ return 0;
+}
+
+void* POA_CORBA::IRObject::_downcast (
+ const char* logical_type_id
+ )
+{
+ if (ACE_OS::strcmp (logical_type_id, "IDL:omg.org/CORBA/IRObject:1.0") == 0)
+ return ACE_static_cast (POA_CORBA::IRObject_ptr, this);
+ if (ACE_OS::strcmp (logical_type_id, "IDL:omg.org/CORBA/Object:1.0") == 0)
+ return ACE_static_cast(PortableServer::Servant, this);
+ return 0;
+}
+
+void POA_CORBA::IRObject::_dispatch (TAO_ServerRequest &req, void *context, CORBA::Environment &ACE_TRY_ENV)
+{
+ this->synchronous_upcall_dispatch(req, context, this, ACE_TRY_ENV);
+}
+
+const char* POA_CORBA::IRObject::_interface_repository_id (void) const
+{
+ return "IDL:omg.org/CORBA/IRObject:1.0";
+}
+
+CORBA::IRObject*
+POA_CORBA::IRObject::_this (CORBA_Environment &ACE_TRY_ENV)
+{
+ TAO_Stub *stub = this->_create_stub (ACE_TRY_ENV);
+ ACE_CHECK_RETURN (0);
+
+ CORBA::Object_ptr tmp = CORBA::Object::_nil ();
+
+ if (stub->servant_orb_var ()->orb_core ()->optimize_collocation_objects ())
+ ACE_NEW_RETURN (tmp, CORBA::Object (stub, 1, this), 0);
+ else
+ ACE_NEW_RETURN (tmp, CORBA::Object (stub, 0, this), 0);
+
+ CORBA::Object_var obj = tmp;
+ return ::CORBA::IRObject::_unchecked_narrow (obj.in ());
+}
+
+
+#if (TAO_HAS_INTERCEPTORS == 1)
+POA_CORBA::IRObject::TAO_ServerRequestInfo_CORBA_IRObject_def_kind_get::TAO_ServerRequestInfo_CORBA_IRObject_def_kind_get (
+ TAO_ServerRequest &_tao_server_request,
+ POA_CORBA::IRObject *tao_impl,
+ CORBA::Environment &
+ )
+ : TAO_ServerRequestInfo (_tao_server_request),
+ _tao_impl (tao_impl)
+{}
+
+Dynamic::ParameterList *
+POA_CORBA::IRObject::TAO_ServerRequestInfo_CORBA_IRObject_def_kind_get::arguments (CORBA::Environment &ACE_TRY_ENV)
+ ACE_THROW_SPEC ((CORBA::SystemException))
+{
+ // Generate the argument list on demand.
+ Dynamic::ParameterList *parameter_list =
+ TAO_RequestInfo_Util::make_parameter_list (ACE_TRY_ENV);
+ ACE_CHECK_RETURN (0);
+
+ return parameter_list;
+}
+
+Dynamic::ExceptionList *
+POA_CORBA::IRObject::TAO_ServerRequestInfo_CORBA_IRObject_def_kind_get::exceptions (CORBA::Environment &ACE_TRY_ENV)
+ ACE_THROW_SPEC ((CORBA::SystemException))
+{
+ // Generate the exception list on demand.
+ Dynamic::ExceptionList *exception_list =
+ TAO_RequestInfo_Util::make_exception_list (ACE_TRY_ENV);
+ ACE_CHECK_RETURN (0);
+
+ return exception_list;
+}
+
+CORBA::Any *
+POA_CORBA::IRObject::TAO_ServerRequestInfo_CORBA_IRObject_def_kind_get::result (CORBA::Environment &ACE_TRY_ENV)
+ ACE_THROW_SPEC ((CORBA::SystemException))
+{
+ // Generate the result on demand.
+ CORBA::Boolean tk_void_any = 0;
+ CORBA::Any *result_any =
+ TAO_RequestInfo_Util::make_any (tk_void_any, ACE_TRY_ENV);
+ ACE_CHECK_RETURN (0);
+
+ CORBA::Any_var safe_result_any = result_any;
+
+ (*result_any) <<= this->_result;
+
+ return safe_result_any._retn ();
+}
+
+char *
+POA_CORBA::IRObject::TAO_ServerRequestInfo_CORBA_IRObject_def_kind_get::target_most_derived_interface (
+ CORBA::Environment &)
+ ACE_THROW_SPEC ((CORBA::SystemException))
+{
+ return
+ CORBA::string_dup (this->_tao_impl->_interface_repository_id ());
+}
+
+CORBA::Boolean
+POA_CORBA::IRObject::TAO_ServerRequestInfo_CORBA_IRObject_def_kind_get::target_is_a (
+ const char * id,
+ CORBA::Environment &ACE_TRY_ENV)
+ ACE_THROW_SPEC ((CORBA::SystemException))
+{
+ return this->_tao_impl->_is_a (id, ACE_TRY_ENV);
+}
+
+void
+POA_CORBA::IRObject::TAO_ServerRequestInfo_CORBA_IRObject_def_kind_get::result (CORBA::DefinitionKind result)
+{
+ // Update the result.
+ this->_result = result;
+}
+
+POA_CORBA::IRObject::TAO_ServerRequestInfo_CORBA_IRObject_destroy::TAO_ServerRequestInfo_CORBA_IRObject_destroy (
+ TAO_ServerRequest &_tao_server_request,
+ POA_CORBA::IRObject *tao_impl,
+ CORBA::Environment &
+ )
+ : TAO_ServerRequestInfo (_tao_server_request),
+ _tao_impl (tao_impl)
+{}
+
+Dynamic::ParameterList *
+POA_CORBA::IRObject::TAO_ServerRequestInfo_CORBA_IRObject_destroy::arguments (CORBA::Environment &ACE_TRY_ENV)
+ ACE_THROW_SPEC ((CORBA::SystemException))
+{
+ // Generate the argument list on demand.
+ Dynamic::ParameterList *parameter_list =
+ TAO_RequestInfo_Util::make_parameter_list (ACE_TRY_ENV);
+ ACE_CHECK_RETURN (0);
+
+ return parameter_list;
+}
+
+Dynamic::ExceptionList *
+POA_CORBA::IRObject::TAO_ServerRequestInfo_CORBA_IRObject_destroy::exceptions (CORBA::Environment &ACE_TRY_ENV)
+ ACE_THROW_SPEC ((CORBA::SystemException))
+{
+ // Generate the exception list on demand.
+ Dynamic::ExceptionList *exception_list =
+ TAO_RequestInfo_Util::make_exception_list (ACE_TRY_ENV);
+ ACE_CHECK_RETURN (0);
+
+ return exception_list;
+}
+
+CORBA::Any *
+POA_CORBA::IRObject::TAO_ServerRequestInfo_CORBA_IRObject_destroy::result (CORBA::Environment &ACE_TRY_ENV)
+ ACE_THROW_SPEC ((CORBA::SystemException))
+{
+ // Generate the result on demand.
+ CORBA::Boolean tk_void_any = 1;
+ CORBA::Any *result_any =
+ TAO_RequestInfo_Util::make_any (tk_void_any, ACE_TRY_ENV);
+ ACE_CHECK_RETURN (0);
+
+ return result_any;
+}
+
+char *
+POA_CORBA::IRObject::TAO_ServerRequestInfo_CORBA_IRObject_destroy::target_most_derived_interface (
+ CORBA::Environment &)
+ ACE_THROW_SPEC ((CORBA::SystemException))
+{
+ return
+ CORBA::string_dup (this->_tao_impl->_interface_repository_id ());
+}
+
+CORBA::Boolean
+POA_CORBA::IRObject::TAO_ServerRequestInfo_CORBA_IRObject_destroy::target_is_a (
+ const char * id,
+ CORBA::Environment &ACE_TRY_ENV)
+ ACE_THROW_SPEC ((CORBA::SystemException))
+{
+ return this->_tao_impl->_is_a (id, ACE_TRY_ENV);
+}
+
+#endif /* TAO_HAS_INTERCEPTORS */
+class TAO_CORBA_Contained_Perfect_Hash_OpTable : public TAO_Perfect_Hash_OpTable
+{
+private:
+ unsigned int hash (const char *str, unsigned int len);
+public:
+ const TAO_operation_db_entry * lookup (const char *str, unsigned int len);
+};
+/* starting time is 10:43:18 */
+/* C++ code produced by gperf version 2.8 (ACE version) */
+/* Command-line: gperf -m -M -J -c -C -D -E -T -f 0 -F 0 -a -o -t -p -K opname_ -L C++ -Z TAO_CORBA_Contained_Perfect_Hash_OpTable -N lookup */
+unsigned int
+TAO_CORBA_Contained_Perfect_Hash_OpTable::hash (const char *str, unsigned int len)
+{
+ static const unsigned char asso_values[] =
+ {
+#if defined (ACE_MVS)
+ 37, 37, 37, 37, 37, 37, 37, 37, 37, 37,
+ 37, 37, 37, 37, 37, 37, 37, 37, 37, 37,
+ 37, 37, 37, 37, 37, 37, 37, 37, 37, 37,
+ 37, 37, 37, 37, 37, 37, 37, 37, 37, 37,
+ 37, 37, 37, 37, 37, 37, 37, 37, 37, 37,
+ 37, 37, 37, 37, 37, 37, 37, 37, 37, 37,
+ 37, 37, 37, 37, 37, 37, 37, 37, 37, 37,
+ 37, 37, 37, 37, 37, 37, 37, 37, 37, 37,
+ 37, 37, 37, 37, 37, 37, 37, 37, 37, 37,
+ 37, 37, 37, 37, 37, 37, 37, 37, 37, 37,
+ 37, 37, 37, 37, 37, 37, 37, 37, 37, 0,
+ 37, 37, 37, 37, 37, 37, 37, 37, 37, 37,
+ 37, 37, 37, 37, 37, 37, 37, 37, 37, 0,
+ 37, 37, 0, 0, 37, 37, 37, 37, 37, 37,
+ 37, 37, 37, 37, 37, 37, 37, 37, 0, 0,
+ 37, 37, 37, 37, 37, 37, 37, 37, 37, 37,
+ 37, 37, 37, 10, 37, 37, 37, 37, 10, 37,
+ 37, 37, 37, 37, 37, 37, 37, 37, 37, 37,
+ 37, 37, 37, 37, 37, 37, 37, 37, 37, 37,
+ 37, 37, 37, 37, 37, 37, 37, 37, 37, 37,
+ 37, 37, 37, 37, 37, 37, 37, 37, 37, 37,
+ 37, 37, 37, 37, 37, 37, 37, 37, 37, 37,
+ 37, 37, 37, 37, 37, 37, 37, 37, 37, 37,
+ 37, 37, 37, 37, 37, 37, 37, 37, 37, 37,
+ 37, 37, 37, 37, 37, 37, 37, 37, 37, 37,
+ 37, 37, 37, 37, 37, 37,
+#else
+ 37, 37, 37, 37, 37, 37, 37, 37, 37, 37,
+ 37, 37, 37, 37, 37, 37, 37, 37, 37, 37,
+ 37, 37, 37, 37, 37, 37, 37, 37, 37, 37,
+ 37, 37, 37, 37, 37, 37, 37, 37, 37, 37,
+ 37, 37, 37, 37, 37, 37, 37, 37, 37, 37,
+ 37, 37, 37, 37, 37, 37, 37, 37, 37, 37,
+ 37, 37, 37, 37, 37, 37, 37, 37, 37, 37,
+ 37, 37, 37, 37, 37, 37, 37, 37, 37, 37,
+ 37, 37, 37, 37, 37, 37, 37, 37, 37, 37,
+ 37, 37, 37, 37, 37, 0, 37, 0, 37, 37,
+ 0, 0, 37, 37, 37, 37, 37, 37, 37, 0,
+ 0, 37, 37, 37, 37, 37, 10, 37, 37, 37,
+ 37, 10, 37, 37, 37, 37, 37, 37,
+#endif /* ACE_MVS */
+ };
+ return len + asso_values[str[len - 1]] + asso_values[str[0]];
+}
+
+const class TAO_operation_db_entry *
+TAO_CORBA_Contained_Perfect_Hash_OpTable::lookup (const char *str, unsigned int len)
+{
+ enum
+ {
+ TOTAL_KEYWORDS = 15,
+ MIN_WORD_LENGTH = 4,
+ MAX_WORD_LENGTH = 26,
+ MIN_HASH_VALUE = 4,
+ MAX_HASH_VALUE = 36,
+ HASH_VALUE_RANGE = 33,
+ DUPLICATES = 4
+ };
+
+ static const class TAO_operation_db_entry wordlist[] =
+ {
+ {"",0},{"",0},{"",0},{"",0},
+ {"move", &POA_CORBA::Contained::move_skel},
+ {"_is_a", &POA_CORBA::Contained::_is_a_skel},
+ {"_get_id", &POA_CORBA::Contained::_get_id_skel},
+ {"_set_id", &POA_CORBA::Contained::_set_id_skel},
+ {"describe", &POA_CORBA::Contained::describe_skel},
+ {"_get_name", &POA_CORBA::Contained::_get_name_skel},
+ {"_set_name", &POA_CORBA::Contained::_set_name_skel},
+ {"_get_version", &POA_CORBA::Contained::_get_version_skel},
+ {"_set_version", &POA_CORBA::Contained::_set_version_skel},
+ {"_get_def_kind", &POA_CORBA::Contained::_get_def_kind_skel},
+ {"_get_defined_in", &POA_CORBA::Contained::_get_defined_in_skel},
+ {"destroy", &POA_CORBA::Contained::destroy_skel},
+ {"_get_absolute_name", &POA_CORBA::Contained::_get_absolute_name_skel},
+ {"_non_existent", &POA_CORBA::Contained::_non_existent_skel},
+ {"_get_containing_repository", &POA_CORBA::Contained::_get_containing_repository_skel},
+ };
+
+ static const signed char lookup[] =
+ {
+ -6, -2, -9, -2, 4, 5, -1, -43, 8, -43, -11, -2, -38, 13,
+ -1, 14, -1, 15, 16, -1, -1, -1, -1, 17, -1, -1, -1, -1,
+ -1, -1, -1, -1, -1, -1, -1, -1, 18,
+ };
+
+ if (len <= MAX_WORD_LENGTH && len >= MIN_WORD_LENGTH)
+ {
+ unsigned int key = hash (str, len);
+
+ if (key <= MAX_HASH_VALUE && key >= MIN_HASH_VALUE)
+ {
+ int slot = lookup[key];
+
+ if (slot >= 0 && slot < MAX_HASH_VALUE)
+ {
+ const char *s = wordlist[slot].opname_;
+
+ if (*str == *s && !strncmp (str + 1, s + 1, len - 1))
+ return &wordlist[slot];
+ }
+ else if (slot < 0 && slot >= -MAX_HASH_VALUE)
+ return 0;
+ else
+ {
+ unsigned int offset = key + slot + (slot > 0 ? -MAX_HASH_VALUE : MAX_HASH_VALUE);
+ const class TAO_operation_db_entry *base = &wordlist[-lookup[offset]];
+ const class TAO_operation_db_entry *ptr = base + -lookup[offset + 1];
+
+ while (--ptr >= base)
+ if (*str == *ptr->opname_ && !strncmp (str + 1, ptr->opname_ + 1, len - 1))
+ return ptr;
+ }
+ }
+ }
+ return 0;
+}
+/* ending time is 10:43:18 */
+static TAO_CORBA_Contained_Perfect_Hash_OpTable tao_CORBA_Contained_optable;
+
+
+///////////////////////////////////////////////////////////////////////
+// Strategized Proxy Broker Implementation
+//
+
+// Factory function Implementation.
+POA_CORBA::_TAO_Contained_Strategized_Proxy_Broker *POA_CORBA::_TAO_Contained_Strategized_Proxy_Broker::the_TAO_Contained_Strategized_Proxy_Broker (void)
+{
+ static POA_CORBA::_TAO_Contained_Strategized_Proxy_Broker strategized_proxy_broker;
+ return &strategized_proxy_broker;
+}
+
+POA_CORBA::_TAO_Contained_Strategized_Proxy_Broker::_TAO_Contained_Strategized_Proxy_Broker (void)
+{
+ for (int i = 0; i < TAO_Collocation_Strategies::CS_LAST; ++i)
+ this->proxy_cache_[i] = 0;
+
+}
+
+POA_CORBA::_TAO_Contained_Strategized_Proxy_Broker::~_TAO_Contained_Strategized_Proxy_Broker (void)
+{
+ for (int i = 0; i < TAO_Collocation_Strategies::CS_LAST; ++i)
+ delete this->proxy_cache_[i];
+
+}
+
+_TAO_Contained_Proxy_Impl&
+POA_CORBA::_TAO_Contained_Strategized_Proxy_Broker::select_proxy (
+ ::CORBA::Contained *object,
+ CORBA::Environment &ACE_TRY_ENV
+ )
+{
+ int strategy =
+ TAO_ORB_Core::collocation_strategy (object);
+
+ if (this->proxy_cache_[strategy] != 0)
+ return *this->proxy_cache_[strategy];
+
+ this->create_proxy (strategy, ACE_TRY_ENV);
+ ACE_CHECK_RETURN (*this->proxy_cache_[strategy]);
+
+ return *this->proxy_cache_[strategy];
+
+}
+
+void
+POA_CORBA::_TAO_Contained_Strategized_Proxy_Broker::create_proxy (
+ int strategy,
+ CORBA::Environment &ACE_TRY_ENV
+ )
+{
+ ACE_GUARD (TAO_SYNCH_MUTEX, guard, this->mutex_);
+
+ if (this->proxy_cache_[strategy] == 0)
+ {
+ switch (strategy)
+ {
+ case TAO_Collocation_Strategies::CS_THRU_POA_STRATEGY:
+ ACE_NEW_THROW_EX (
+ this->proxy_cache_[strategy],
+ _TAO_Contained_ThruPOA_Proxy_Impl,
+ CORBA::NO_MEMORY ()
+ );
+ ACE_CHECK;
+ break;
+
+ case TAO_Collocation_Strategies::CS_REMOTE_STRATEGY:
+ default:
+ ACE_NEW_THROW_EX (
+ this->proxy_cache_[strategy],
+ ::_TAO_Contained_Remote_Proxy_Impl,
+ CORBA::NO_MEMORY ()
+ );
+ ACE_CHECK;
+ break;
+
+ }
+
+ }
+}
+
+
+//
+// End Strategized Proxy Broker Implementation
+///////////////////////////////////////////////////////////////////////
+
+
+_TAO_Contained_Proxy_Broker *
+CORBA__TAO_Contained_Proxy_Broker_Factory_function (CORBA::Object_ptr obj)
+{
+ ACE_UNUSED_ARG (obj);
+ return ::POA_CORBA::_TAO_Contained_Strategized_Proxy_Broker::the_TAO_Contained_Strategized_Proxy_Broker();
+}
+
+int
+CORBA__TAO_Contained_Proxy_Broker_Factory_Initializer (long _dummy_)
+{
+ ACE_UNUSED_ARG (_dummy_);
+
+ CORBA__TAO_Contained_Proxy_Broker_Factory_function_pointer =
+ CORBA__TAO_Contained_Proxy_Broker_Factory_function;
+
+ return 0;
+}
+
+static int CORBA__TAO_Contained_Proxy_Broker_Stub_Factory_Initializer_Scarecrow =
+ CORBA__TAO_Contained_Proxy_Broker_Factory_Initializer (ACE_reinterpret_cast (long, CORBA__TAO_Contained_Proxy_Broker_Factory_Initializer));
+
+
+///////////////////////////////////////////////////////////////////////
+// ThruPOA Proxy Implementation
+//
+
+POA_CORBA::_TAO_Contained_ThruPOA_Proxy_Impl::_TAO_Contained_ThruPOA_Proxy_Impl (void)
+{}
+
+// ThruPOA Implementation of the IDL interface methods
+
+char * POA_CORBA::_TAO_Contained_ThruPOA_Proxy_Impl::id (
+ CORBA_Object *_collocated_tao_target_,
+ CORBA::Environment &ACE_TRY_ENV
+ )
+ ACE_THROW_SPEC ((
+ CORBA::SystemException
+ ))
+{
+ CORBA::String_var _tao_retval;
+ ACE_UNUSED_ARG (_tao_retval);
+ TAO_Object_Adapter::Servant_Upcall servant_upcall (
+ _collocated_tao_target_->_stubobj ()->servant_orb_var ()->orb_core ()
+ );
+ CORBA::Object_var forward_to;
+ servant_upcall.prepare_for_upcall (
+ _collocated_tao_target_->_object_key (),
+ "id",
+ forward_to.out (),
+ ACE_TRY_ENV
+ );
+ ACE_CHECK_RETURN (0);
+ return ACE_reinterpret_cast (
+ POA_CORBA::Contained_ptr,
+ servant_upcall.servant ()->_downcast (
+ "IDL:omg.org/CORBA/Contained:1.0"
+ )
+ )->id (
+ ACE_TRY_ENV
+ );
+}
+
+void POA_CORBA::_TAO_Contained_ThruPOA_Proxy_Impl::id (
+ CORBA_Object *_collocated_tao_target_,
+ const char * id,
+ CORBA::Environment &ACE_TRY_ENV
+ )
+ ACE_THROW_SPEC ((
+ CORBA::SystemException
+ ))
+{
+ TAO_Object_Adapter::Servant_Upcall servant_upcall (
+ _collocated_tao_target_->_stubobj ()->servant_orb_var ()->orb_core ()
+ );
+ CORBA::Object_var forward_to;
+ servant_upcall.prepare_for_upcall (
+ _collocated_tao_target_->_object_key (),
+ "id",
+ forward_to.out (),
+ ACE_TRY_ENV
+ );
+ ACE_CHECK;
+ ACE_reinterpret_cast (
+ POA_CORBA::Contained_ptr,
+ servant_upcall.servant ()->_downcast (
+ "IDL:omg.org/CORBA/Contained:1.0"
+ )
+ )->id (
+ id,
+ ACE_TRY_ENV
+ );
+ return;
+}
+
+char * POA_CORBA::_TAO_Contained_ThruPOA_Proxy_Impl::name (
+ CORBA_Object *_collocated_tao_target_,
+ CORBA::Environment &ACE_TRY_ENV
+ )
+ ACE_THROW_SPEC ((
+ CORBA::SystemException
+ ))
+{
+ CORBA::String_var _tao_retval;
+ ACE_UNUSED_ARG (_tao_retval);
+ TAO_Object_Adapter::Servant_Upcall servant_upcall (
+ _collocated_tao_target_->_stubobj ()->servant_orb_var ()->orb_core ()
+ );
+ CORBA::Object_var forward_to;
+ servant_upcall.prepare_for_upcall (
+ _collocated_tao_target_->_object_key (),
+ "name",
+ forward_to.out (),
+ ACE_TRY_ENV
+ );
+ ACE_CHECK_RETURN (0);
+ return ACE_reinterpret_cast (
+ POA_CORBA::Contained_ptr,
+ servant_upcall.servant ()->_downcast (
+ "IDL:omg.org/CORBA/Contained:1.0"
+ )
+ )->name (
+ ACE_TRY_ENV
+ );
+}
+
+void POA_CORBA::_TAO_Contained_ThruPOA_Proxy_Impl::name (
+ CORBA_Object *_collocated_tao_target_,
+ const char * name,
+ CORBA::Environment &ACE_TRY_ENV
+ )
+ ACE_THROW_SPEC ((
+ CORBA::SystemException
+ ))
+{
+ TAO_Object_Adapter::Servant_Upcall servant_upcall (
+ _collocated_tao_target_->_stubobj ()->servant_orb_var ()->orb_core ()
+ );
+ CORBA::Object_var forward_to;
+ servant_upcall.prepare_for_upcall (
+ _collocated_tao_target_->_object_key (),
+ "name",
+ forward_to.out (),
+ ACE_TRY_ENV
+ );
+ ACE_CHECK;
+ ACE_reinterpret_cast (
+ POA_CORBA::Contained_ptr,
+ servant_upcall.servant ()->_downcast (
+ "IDL:omg.org/CORBA/Contained:1.0"
+ )
+ )->name (
+ name,
+ ACE_TRY_ENV
+ );
+ return;
+}
+
+char * POA_CORBA::_TAO_Contained_ThruPOA_Proxy_Impl::version (
+ CORBA_Object *_collocated_tao_target_,
+ CORBA::Environment &ACE_TRY_ENV
+ )
+ ACE_THROW_SPEC ((
+ CORBA::SystemException
+ ))
+{
+ CORBA::String_var _tao_retval;
+ ACE_UNUSED_ARG (_tao_retval);
+ TAO_Object_Adapter::Servant_Upcall servant_upcall (
+ _collocated_tao_target_->_stubobj ()->servant_orb_var ()->orb_core ()
+ );
+ CORBA::Object_var forward_to;
+ servant_upcall.prepare_for_upcall (
+ _collocated_tao_target_->_object_key (),
+ "version",
+ forward_to.out (),
+ ACE_TRY_ENV
+ );
+ ACE_CHECK_RETURN (0);
+ return ACE_reinterpret_cast (
+ POA_CORBA::Contained_ptr,
+ servant_upcall.servant ()->_downcast (
+ "IDL:omg.org/CORBA/Contained:1.0"
+ )
+ )->version (
+ ACE_TRY_ENV
+ );
+}
+
+void POA_CORBA::_TAO_Contained_ThruPOA_Proxy_Impl::version (
+ CORBA_Object *_collocated_tao_target_,
+ const char * version,
+ CORBA::Environment &ACE_TRY_ENV
+ )
+ ACE_THROW_SPEC ((
+ CORBA::SystemException
+ ))
+{
+ TAO_Object_Adapter::Servant_Upcall servant_upcall (
+ _collocated_tao_target_->_stubobj ()->servant_orb_var ()->orb_core ()
+ );
+ CORBA::Object_var forward_to;
+ servant_upcall.prepare_for_upcall (
+ _collocated_tao_target_->_object_key (),
+ "version",
+ forward_to.out (),
+ ACE_TRY_ENV
+ );
+ ACE_CHECK;
+ ACE_reinterpret_cast (
+ POA_CORBA::Contained_ptr,
+ servant_upcall.servant ()->_downcast (
+ "IDL:omg.org/CORBA/Contained:1.0"
+ )
+ )->version (
+ version,
+ ACE_TRY_ENV
+ );
+ return;
+}
+
+CORBA::Container_ptr POA_CORBA::_TAO_Contained_ThruPOA_Proxy_Impl::defined_in (
+ CORBA_Object *_collocated_tao_target_,
+ CORBA::Environment &ACE_TRY_ENV
+ )
+ ACE_THROW_SPEC ((
+ CORBA::SystemException
+ ))
+{
+ CORBA::Container_var _tao_retval;
+ ACE_UNUSED_ARG (_tao_retval);
+ TAO_Object_Adapter::Servant_Upcall servant_upcall (
+ _collocated_tao_target_->_stubobj ()->servant_orb_var ()->orb_core ()
+ );
+ CORBA::Object_var forward_to;
+ servant_upcall.prepare_for_upcall (
+ _collocated_tao_target_->_object_key (),
+ "defined_in",
+ forward_to.out (),
+ ACE_TRY_ENV
+ );
+ ACE_CHECK_RETURN (0);
+ return ACE_reinterpret_cast (
+ POA_CORBA::Contained_ptr,
+ servant_upcall.servant ()->_downcast (
+ "IDL:omg.org/CORBA/Contained:1.0"
+ )
+ )->defined_in (
+ ACE_TRY_ENV
+ );
+}
+
+char * POA_CORBA::_TAO_Contained_ThruPOA_Proxy_Impl::absolute_name (
+ CORBA_Object *_collocated_tao_target_,
+ CORBA::Environment &ACE_TRY_ENV
+ )
+ ACE_THROW_SPEC ((
+ CORBA::SystemException
+ ))
+{
+ CORBA::String_var _tao_retval;
+ ACE_UNUSED_ARG (_tao_retval);
+ TAO_Object_Adapter::Servant_Upcall servant_upcall (
+ _collocated_tao_target_->_stubobj ()->servant_orb_var ()->orb_core ()
+ );
+ CORBA::Object_var forward_to;
+ servant_upcall.prepare_for_upcall (
+ _collocated_tao_target_->_object_key (),
+ "absolute_name",
+ forward_to.out (),
+ ACE_TRY_ENV
+ );
+ ACE_CHECK_RETURN (0);
+ return ACE_reinterpret_cast (
+ POA_CORBA::Contained_ptr,
+ servant_upcall.servant ()->_downcast (
+ "IDL:omg.org/CORBA/Contained:1.0"
+ )
+ )->absolute_name (
+ ACE_TRY_ENV
+ );
+}
+
+CORBA::Repository_ptr POA_CORBA::_TAO_Contained_ThruPOA_Proxy_Impl::containing_repository (
+ CORBA_Object *_collocated_tao_target_,
+ CORBA::Environment &ACE_TRY_ENV
+ )
+ ACE_THROW_SPEC ((
+ CORBA::SystemException
+ ))
+{
+ CORBA::Repository_var _tao_retval;
+ ACE_UNUSED_ARG (_tao_retval);
+ TAO_Object_Adapter::Servant_Upcall servant_upcall (
+ _collocated_tao_target_->_stubobj ()->servant_orb_var ()->orb_core ()
+ );
+ CORBA::Object_var forward_to;
+ servant_upcall.prepare_for_upcall (
+ _collocated_tao_target_->_object_key (),
+ "containing_repository",
+ forward_to.out (),
+ ACE_TRY_ENV
+ );
+ ACE_CHECK_RETURN (0);
+ return ACE_reinterpret_cast (
+ POA_CORBA::Contained_ptr,
+ servant_upcall.servant ()->_downcast (
+ "IDL:omg.org/CORBA/Contained:1.0"
+ )
+ )->containing_repository (
+ ACE_TRY_ENV
+ );
+}
+
+CORBA::Contained::Description * POA_CORBA::_TAO_Contained_ThruPOA_Proxy_Impl::describe (
+ CORBA_Object *_collocated_tao_target_,
+ CORBA::Environment &ACE_TRY_ENV
+ )
+ ACE_THROW_SPEC ((
+ CORBA::SystemException
+ ))
+{
+ CORBA::Contained::Description_var _tao_retval;
+ ACE_UNUSED_ARG (_tao_retval);
+ TAO_Object_Adapter::Servant_Upcall servant_upcall (
+ _collocated_tao_target_->_stubobj ()->servant_orb_var ()->orb_core ()
+ );
+ CORBA::Object_var forward_to;
+ servant_upcall.prepare_for_upcall (
+ _collocated_tao_target_->_object_key (),
+ "describe",
+ forward_to.out (),
+ ACE_TRY_ENV
+ );
+ ACE_CHECK_RETURN (0);
+ return ACE_reinterpret_cast (
+ POA_CORBA::Contained_ptr,
+ servant_upcall.servant ()->_downcast (
+ "IDL:omg.org/CORBA/Contained:1.0"
+ )
+ )->describe (
+ ACE_TRY_ENV
+ );
+}
+
+void POA_CORBA::_TAO_Contained_ThruPOA_Proxy_Impl::move (
+ CORBA_Object *_collocated_tao_target_,
+ CORBA::Container_ptr new_container,
+ const char * new_name,
+ const char * new_version,
+ CORBA::Environment &ACE_TRY_ENV
+ )
+ ACE_THROW_SPEC ((
+ CORBA::SystemException
+ ))
+{
+ TAO_Object_Adapter::Servant_Upcall servant_upcall (
+ _collocated_tao_target_->_stubobj ()->servant_orb_var ()->orb_core ()
+ );
+ CORBA::Object_var forward_to;
+ servant_upcall.prepare_for_upcall (
+ _collocated_tao_target_->_object_key (),
+ "move",
+ forward_to.out (),
+ ACE_TRY_ENV
+ );
+ ACE_CHECK;
+ ACE_reinterpret_cast (
+ POA_CORBA::Contained_ptr,
+ servant_upcall.servant ()->_downcast (
+ "IDL:omg.org/CORBA/Contained:1.0"
+ )
+ )->move (
+ new_container,
+ new_name,
+ new_version,
+ ACE_TRY_ENV
+ );
+ return;
+}
+
+//
+// End ThruPOA Proxy Implementation
+///////////////////////////////////////////////////////////////////////
+
+// skeleton constructor
+POA_CORBA::Contained::Contained (void)
+{
+ this->optable_ = &tao_CORBA_Contained_optable;
+}
+
+// copy ctor
+POA_CORBA::Contained::Contained (const Contained& rhs)
+ : ACE_NESTED_CLASS (POA_CORBA,IRObject) (rhs),
+ TAO_ServantBase (rhs)
+{}
+
+// skeleton destructor
+POA_CORBA::Contained::~Contained (void)
+{
+}
+
+void POA_CORBA::Contained::_get_id_skel (
+ TAO_ServerRequest &_tao_server_request,
+ void *_tao_object_reference,
+ void * /* context */,
+ CORBA::Environment &ACE_TRY_ENV
+ )
+{
+ POA_CORBA::Contained *_tao_impl = (POA_CORBA::Contained *)_tao_object_reference;
+
+ CORBA::String_var _tao_retval;
+
+#if (TAO_HAS_INTERCEPTORS == 1)
+ TAO_ServerRequestInterceptor_Adapter _tao_vfr (
+ _tao_server_request.orb_core ()->server_request_interceptors (),
+ _tao_server_request.interceptor_count ()
+ );
+
+ POA_CORBA::Contained::TAO_ServerRequestInfo_CORBA_Contained_id_get ri (
+ _tao_server_request,
+ _tao_impl,
+ ACE_TRY_ENV
+ );
+
+ ACE_TRY
+ {
+ _tao_vfr.receive_request (&ri, ACE_TRY_ENV);
+ ACE_TRY_CHECK;
+
+#endif /* TAO_HAS_INTERCEPTORS */
+ _tao_retval =
+ _tao_impl->id (
+ ACE_TRY_ENV
+ );
+ TAO_INTERCEPTOR_CHECK;
+
+#if (TAO_HAS_INTERCEPTORS == 1)
+ char * _tao_retval_info = _tao_retval._retn ();
+ ri.result (_tao_retval_info);
+ _tao_retval = _tao_retval_info;
+ ri.reply_status (PortableInterceptor::SUCCESSFUL);
+ _tao_vfr.send_reply (&ri, ACE_TRY_ENV);
+ ACE_TRY_CHECK;
+ }
+ ACE_CATCH (PortableInterceptor::ForwardRequest, exc)
+ {
+ ri.forward_reference (exc);
+ _tao_vfr.send_other (
+ &ri,
+ ACE_TRY_ENV
+ );
+ ACE_TRY_CHECK;
+ _tao_server_request.forward_location (exc.forward.in ());
+ }
+ ACE_CATCHANY
+ {
+ ri.exception (&ACE_ANY_EXCEPTION);
+ _tao_vfr.send_exception (
+ &ri,
+ ACE_TRY_ENV
+ );
+ ACE_TRY_CHECK;
+ ACE_RE_THROW;
+ }
+ ACE_ENDTRY;
+ ACE_CHECK;
+#endif /* TAO_HAS_INTERCEPTORS */
+
+ _tao_server_request.init_reply ();
+
+ TAO_OutputCDR &_tao_out = _tao_server_request.outgoing ();
+
+ if (!(
+ (_tao_out << _tao_retval.in ())
+ ))
+ ACE_THROW (CORBA::MARSHAL());
+
+ // In case ACE_TRY_ENV is not used in this function
+ ACE_UNUSED_ARG (ACE_TRY_ENV);
+}
+
+void POA_CORBA::Contained::_set_id_skel (
+ TAO_ServerRequest &_tao_server_request,
+ void *_tao_object_reference,
+ void * /* context */,
+ CORBA::Environment &ACE_TRY_ENV
+ )
+{
+ TAO_InputCDR &_tao_in = _tao_server_request.incoming ();
+ POA_CORBA::Contained *_tao_impl = (POA_CORBA::Contained *)_tao_object_reference;
+
+ _tao_server_request.argument_flag (0);
+ CORBA::String_var id;
+ if (!(
+ (_tao_in >> id.out ())
+ ))
+ ACE_THROW (CORBA::MARSHAL());
+
+
+#if (TAO_HAS_INTERCEPTORS == 1)
+ TAO_ServerRequestInterceptor_Adapter _tao_vfr (
+ _tao_server_request.orb_core ()->server_request_interceptors (),
+ _tao_server_request.interceptor_count ()
+ );
+
+ POA_CORBA::Contained::TAO_ServerRequestInfo_CORBA_Contained_id_set ri (
+ _tao_server_request,
+ _tao_impl,
+ id.in (),
+ ACE_TRY_ENV
+ );
+
+ ACE_TRY
+ {
+ _tao_vfr.receive_request (&ri, ACE_TRY_ENV);
+ ACE_TRY_CHECK;
+
+#endif /* TAO_HAS_INTERCEPTORS */
+
+ _tao_impl->id (
+ id.in (),
+ ACE_TRY_ENV
+ );
+ TAO_INTERCEPTOR_CHECK;
+
+#if (TAO_HAS_INTERCEPTORS == 1)
+ ri.reply_status (PortableInterceptor::SUCCESSFUL);
+ _tao_vfr.send_reply (&ri, ACE_TRY_ENV);
+ ACE_TRY_CHECK;
+ }
+ ACE_CATCH (PortableInterceptor::ForwardRequest, exc)
+ {
+ ri.forward_reference (exc);
+ _tao_vfr.send_other (
+ &ri,
+ ACE_TRY_ENV
+ );
+ ACE_TRY_CHECK;
+ _tao_server_request.forward_location (exc.forward.in ());
+ }
+ ACE_CATCHANY
+ {
+ ri.exception (&ACE_ANY_EXCEPTION);
+ _tao_vfr.send_exception (
+ &ri,
+ ACE_TRY_ENV
+ );
+ ACE_TRY_CHECK;
+ ACE_RE_THROW;
+ }
+ ACE_ENDTRY;
+ ACE_CHECK;
+#endif /* TAO_HAS_INTERCEPTORS */
+
+ _tao_server_request.init_reply ();
+
+ // In case ACE_TRY_ENV is not used in this function
+ ACE_UNUSED_ARG (ACE_TRY_ENV);
+}
+
+void POA_CORBA::Contained::_get_name_skel (
+ TAO_ServerRequest &_tao_server_request,
+ void *_tao_object_reference,
+ void * /* context */,
+ CORBA::Environment &ACE_TRY_ENV
+ )
+{
+ POA_CORBA::Contained *_tao_impl = (POA_CORBA::Contained *)_tao_object_reference;
+
+ CORBA::String_var _tao_retval;
+
+#if (TAO_HAS_INTERCEPTORS == 1)
+ TAO_ServerRequestInterceptor_Adapter _tao_vfr (
+ _tao_server_request.orb_core ()->server_request_interceptors (),
+ _tao_server_request.interceptor_count ()
+ );
+
+ POA_CORBA::Contained::TAO_ServerRequestInfo_CORBA_Contained_name_get ri (
+ _tao_server_request,
+ _tao_impl,
+ ACE_TRY_ENV
+ );
+
+ ACE_TRY
+ {
+ _tao_vfr.receive_request (&ri, ACE_TRY_ENV);
+ ACE_TRY_CHECK;
+
+#endif /* TAO_HAS_INTERCEPTORS */
+ _tao_retval =
+ _tao_impl->name (
+ ACE_TRY_ENV
+ );
+ TAO_INTERCEPTOR_CHECK;
+
+#if (TAO_HAS_INTERCEPTORS == 1)
+ char * _tao_retval_info = _tao_retval._retn ();
+ ri.result (_tao_retval_info);
+ _tao_retval = _tao_retval_info;
+ ri.reply_status (PortableInterceptor::SUCCESSFUL);
+ _tao_vfr.send_reply (&ri, ACE_TRY_ENV);
+ ACE_TRY_CHECK;
+ }
+ ACE_CATCH (PortableInterceptor::ForwardRequest, exc)
+ {
+ ri.forward_reference (exc);
+ _tao_vfr.send_other (
+ &ri,
+ ACE_TRY_ENV
+ );
+ ACE_TRY_CHECK;
+ _tao_server_request.forward_location (exc.forward.in ());
+ }
+ ACE_CATCHANY
+ {
+ ri.exception (&ACE_ANY_EXCEPTION);
+ _tao_vfr.send_exception (
+ &ri,
+ ACE_TRY_ENV
+ );
+ ACE_TRY_CHECK;
+ ACE_RE_THROW;
+ }
+ ACE_ENDTRY;
+ ACE_CHECK;
+#endif /* TAO_HAS_INTERCEPTORS */
+
+ _tao_server_request.init_reply ();
+
+ TAO_OutputCDR &_tao_out = _tao_server_request.outgoing ();
+
+ if (!(
+ (_tao_out << _tao_retval.in ())
+ ))
+ ACE_THROW (CORBA::MARSHAL());
+
+ // In case ACE_TRY_ENV is not used in this function
+ ACE_UNUSED_ARG (ACE_TRY_ENV);
+}
+
+void POA_CORBA::Contained::_set_name_skel (
+ TAO_ServerRequest &_tao_server_request,
+ void *_tao_object_reference,
+ void * /* context */,
+ CORBA::Environment &ACE_TRY_ENV
+ )
+{
+ TAO_InputCDR &_tao_in = _tao_server_request.incoming ();
+ POA_CORBA::Contained *_tao_impl = (POA_CORBA::Contained *)_tao_object_reference;
+
+ _tao_server_request.argument_flag (0);
+ CORBA::String_var name;
+ if (!(
+ (_tao_in >> name.out ())
+ ))
+ ACE_THROW (CORBA::MARSHAL());
+
+
+#if (TAO_HAS_INTERCEPTORS == 1)
+ TAO_ServerRequestInterceptor_Adapter _tao_vfr (
+ _tao_server_request.orb_core ()->server_request_interceptors (),
+ _tao_server_request.interceptor_count ()
+ );
+
+ POA_CORBA::Contained::TAO_ServerRequestInfo_CORBA_Contained_name_set ri (
+ _tao_server_request,
+ _tao_impl,
+ name.in (),
+ ACE_TRY_ENV
+ );
+
+ ACE_TRY
+ {
+ _tao_vfr.receive_request (&ri, ACE_TRY_ENV);
+ ACE_TRY_CHECK;
+
+#endif /* TAO_HAS_INTERCEPTORS */
+
+ _tao_impl->name (
+ name.in (),
+ ACE_TRY_ENV
+ );
+ TAO_INTERCEPTOR_CHECK;
+
+#if (TAO_HAS_INTERCEPTORS == 1)
+ ri.reply_status (PortableInterceptor::SUCCESSFUL);
+ _tao_vfr.send_reply (&ri, ACE_TRY_ENV);
+ ACE_TRY_CHECK;
+ }
+ ACE_CATCH (PortableInterceptor::ForwardRequest, exc)
+ {
+ ri.forward_reference (exc);
+ _tao_vfr.send_other (
+ &ri,
+ ACE_TRY_ENV
+ );
+ ACE_TRY_CHECK;
+ _tao_server_request.forward_location (exc.forward.in ());
+ }
+ ACE_CATCHANY
+ {
+ ri.exception (&ACE_ANY_EXCEPTION);
+ _tao_vfr.send_exception (
+ &ri,
+ ACE_TRY_ENV
+ );
+ ACE_TRY_CHECK;
+ ACE_RE_THROW;
+ }
+ ACE_ENDTRY;
+ ACE_CHECK;
+#endif /* TAO_HAS_INTERCEPTORS */
+
+ _tao_server_request.init_reply ();
+
+ // In case ACE_TRY_ENV is not used in this function
+ ACE_UNUSED_ARG (ACE_TRY_ENV);
+}
+
+void POA_CORBA::Contained::_get_version_skel (
+ TAO_ServerRequest &_tao_server_request,
+ void *_tao_object_reference,
+ void * /* context */,
+ CORBA::Environment &ACE_TRY_ENV
+ )
+{
+ POA_CORBA::Contained *_tao_impl = (POA_CORBA::Contained *)_tao_object_reference;
+
+ CORBA::String_var _tao_retval;
+
+#if (TAO_HAS_INTERCEPTORS == 1)
+ TAO_ServerRequestInterceptor_Adapter _tao_vfr (
+ _tao_server_request.orb_core ()->server_request_interceptors (),
+ _tao_server_request.interceptor_count ()
+ );
+
+ POA_CORBA::Contained::TAO_ServerRequestInfo_CORBA_Contained_version_get ri (
+ _tao_server_request,
+ _tao_impl,
+ ACE_TRY_ENV
+ );
+
+ ACE_TRY
+ {
+ _tao_vfr.receive_request (&ri, ACE_TRY_ENV);
+ ACE_TRY_CHECK;
+
+#endif /* TAO_HAS_INTERCEPTORS */
+ _tao_retval =
+ _tao_impl->version (
+ ACE_TRY_ENV
+ );
+ TAO_INTERCEPTOR_CHECK;
+
+#if (TAO_HAS_INTERCEPTORS == 1)
+ char * _tao_retval_info = _tao_retval._retn ();
+ ri.result (_tao_retval_info);
+ _tao_retval = _tao_retval_info;
+ ri.reply_status (PortableInterceptor::SUCCESSFUL);
+ _tao_vfr.send_reply (&ri, ACE_TRY_ENV);
+ ACE_TRY_CHECK;
+ }
+ ACE_CATCH (PortableInterceptor::ForwardRequest, exc)
+ {
+ ri.forward_reference (exc);
+ _tao_vfr.send_other (
+ &ri,
+ ACE_TRY_ENV
+ );
+ ACE_TRY_CHECK;
+ _tao_server_request.forward_location (exc.forward.in ());
+ }
+ ACE_CATCHANY
+ {
+ ri.exception (&ACE_ANY_EXCEPTION);
+ _tao_vfr.send_exception (
+ &ri,
+ ACE_TRY_ENV
+ );
+ ACE_TRY_CHECK;
+ ACE_RE_THROW;
+ }
+ ACE_ENDTRY;
+ ACE_CHECK;
+#endif /* TAO_HAS_INTERCEPTORS */
+
+ _tao_server_request.init_reply ();
+
+ TAO_OutputCDR &_tao_out = _tao_server_request.outgoing ();
+
+ if (!(
+ (_tao_out << _tao_retval.in ())
+ ))
+ ACE_THROW (CORBA::MARSHAL());
+
+ // In case ACE_TRY_ENV is not used in this function
+ ACE_UNUSED_ARG (ACE_TRY_ENV);
+}
+
+void POA_CORBA::Contained::_set_version_skel (
+ TAO_ServerRequest &_tao_server_request,
+ void *_tao_object_reference,
+ void * /* context */,
+ CORBA::Environment &ACE_TRY_ENV
+ )
+{
+ TAO_InputCDR &_tao_in = _tao_server_request.incoming ();
+ POA_CORBA::Contained *_tao_impl = (POA_CORBA::Contained *)_tao_object_reference;
+
+ _tao_server_request.argument_flag (0);
+ CORBA::String_var version;
+ if (!(
+ (_tao_in >> version.out ())
+ ))
+ ACE_THROW (CORBA::MARSHAL());
+
+
+#if (TAO_HAS_INTERCEPTORS == 1)
+ TAO_ServerRequestInterceptor_Adapter _tao_vfr (
+ _tao_server_request.orb_core ()->server_request_interceptors (),
+ _tao_server_request.interceptor_count ()
+ );
+
+ POA_CORBA::Contained::TAO_ServerRequestInfo_CORBA_Contained_version_set ri (
+ _tao_server_request,
+ _tao_impl,
+ version.in (),
+ ACE_TRY_ENV
+ );
+
+ ACE_TRY
+ {
+ _tao_vfr.receive_request (&ri, ACE_TRY_ENV);
+ ACE_TRY_CHECK;
+
+#endif /* TAO_HAS_INTERCEPTORS */
+
+ _tao_impl->version (
+ version.in (),
+ ACE_TRY_ENV
+ );
+ TAO_INTERCEPTOR_CHECK;
+
+#if (TAO_HAS_INTERCEPTORS == 1)
+ ri.reply_status (PortableInterceptor::SUCCESSFUL);
+ _tao_vfr.send_reply (&ri, ACE_TRY_ENV);
+ ACE_TRY_CHECK;
+ }
+ ACE_CATCH (PortableInterceptor::ForwardRequest, exc)
+ {
+ ri.forward_reference (exc);
+ _tao_vfr.send_other (
+ &ri,
+ ACE_TRY_ENV
+ );
+ ACE_TRY_CHECK;
+ _tao_server_request.forward_location (exc.forward.in ());
+ }
+ ACE_CATCHANY
+ {
+ ri.exception (&ACE_ANY_EXCEPTION);
+ _tao_vfr.send_exception (
+ &ri,
+ ACE_TRY_ENV
+ );
+ ACE_TRY_CHECK;
+ ACE_RE_THROW;
+ }
+ ACE_ENDTRY;
+ ACE_CHECK;
+#endif /* TAO_HAS_INTERCEPTORS */
+
+ _tao_server_request.init_reply ();
+
+ // In case ACE_TRY_ENV is not used in this function
+ ACE_UNUSED_ARG (ACE_TRY_ENV);
+}
+
+void POA_CORBA::Contained::_get_defined_in_skel (
+ TAO_ServerRequest &_tao_server_request,
+ void *_tao_object_reference,
+ void * /* context */,
+ CORBA::Environment &ACE_TRY_ENV
+ )
+{
+ POA_CORBA::Contained *_tao_impl = (POA_CORBA::Contained *)_tao_object_reference;
+
+ CORBA::Container_var _tao_retval;
+
+#if (TAO_HAS_INTERCEPTORS == 1)
+ TAO_ServerRequestInterceptor_Adapter _tao_vfr (
+ _tao_server_request.orb_core ()->server_request_interceptors (),
+ _tao_server_request.interceptor_count ()
+ );
+
+ POA_CORBA::Contained::TAO_ServerRequestInfo_CORBA_Contained_defined_in_get ri (
+ _tao_server_request,
+ _tao_impl,
+ ACE_TRY_ENV
+ );
+
+ ACE_TRY
+ {
+ _tao_vfr.receive_request (&ri, ACE_TRY_ENV);
+ ACE_TRY_CHECK;
+
+#endif /* TAO_HAS_INTERCEPTORS */
+ _tao_retval =
+ _tao_impl->defined_in (
+ ACE_TRY_ENV
+ );
+ TAO_INTERCEPTOR_CHECK;
+
+#if (TAO_HAS_INTERCEPTORS == 1)
+ CORBA::Container_ptr _tao_retval_info = _tao_retval._retn ();
+ ri.result (_tao_retval_info);
+ _tao_retval = _tao_retval_info;
+ ri.reply_status (PortableInterceptor::SUCCESSFUL);
+ _tao_vfr.send_reply (&ri, ACE_TRY_ENV);
+ ACE_TRY_CHECK;
+ }
+ ACE_CATCH (PortableInterceptor::ForwardRequest, exc)
+ {
+ ri.forward_reference (exc);
+ _tao_vfr.send_other (
+ &ri,
+ ACE_TRY_ENV
+ );
+ ACE_TRY_CHECK;
+ _tao_server_request.forward_location (exc.forward.in ());
+ }
+ ACE_CATCHANY
+ {
+ ri.exception (&ACE_ANY_EXCEPTION);
+ _tao_vfr.send_exception (
+ &ri,
+ ACE_TRY_ENV
+ );
+ ACE_TRY_CHECK;
+ ACE_RE_THROW;
+ }
+ ACE_ENDTRY;
+ ACE_CHECK;
+#endif /* TAO_HAS_INTERCEPTORS */
+
+ _tao_server_request.init_reply ();
+
+ TAO_OutputCDR &_tao_out = _tao_server_request.outgoing ();
+
+ if (!(
+ (_tao_out << _tao_retval.in ())
+ ))
+ ACE_THROW (CORBA::MARSHAL());
+
+ // In case ACE_TRY_ENV is not used in this function
+ ACE_UNUSED_ARG (ACE_TRY_ENV);
+}
+
+void POA_CORBA::Contained::_get_absolute_name_skel (
+ TAO_ServerRequest &_tao_server_request,
+ void *_tao_object_reference,
+ void * /* context */,
+ CORBA::Environment &ACE_TRY_ENV
+ )
+{
+ POA_CORBA::Contained *_tao_impl = (POA_CORBA::Contained *)_tao_object_reference;
+
+ CORBA::String_var _tao_retval;
+
+#if (TAO_HAS_INTERCEPTORS == 1)
+ TAO_ServerRequestInterceptor_Adapter _tao_vfr (
+ _tao_server_request.orb_core ()->server_request_interceptors (),
+ _tao_server_request.interceptor_count ()
+ );
+
+ POA_CORBA::Contained::TAO_ServerRequestInfo_CORBA_Contained_absolute_name_get ri (
+ _tao_server_request,
+ _tao_impl,
+ ACE_TRY_ENV
+ );
+
+ ACE_TRY
+ {
+ _tao_vfr.receive_request (&ri, ACE_TRY_ENV);
+ ACE_TRY_CHECK;
+
+#endif /* TAO_HAS_INTERCEPTORS */
+ _tao_retval =
+ _tao_impl->absolute_name (
+ ACE_TRY_ENV
+ );
+ TAO_INTERCEPTOR_CHECK;
+
+#if (TAO_HAS_INTERCEPTORS == 1)
+ char * _tao_retval_info = _tao_retval._retn ();
+ ri.result (_tao_retval_info);
+ _tao_retval = _tao_retval_info;
+ ri.reply_status (PortableInterceptor::SUCCESSFUL);
+ _tao_vfr.send_reply (&ri, ACE_TRY_ENV);
+ ACE_TRY_CHECK;
+ }
+ ACE_CATCH (PortableInterceptor::ForwardRequest, exc)
+ {
+ ri.forward_reference (exc);
+ _tao_vfr.send_other (
+ &ri,
+ ACE_TRY_ENV
+ );
+ ACE_TRY_CHECK;
+ _tao_server_request.forward_location (exc.forward.in ());
+ }
+ ACE_CATCHANY
+ {
+ ri.exception (&ACE_ANY_EXCEPTION);
+ _tao_vfr.send_exception (
+ &ri,
+ ACE_TRY_ENV
+ );
+ ACE_TRY_CHECK;
+ ACE_RE_THROW;
+ }
+ ACE_ENDTRY;
+ ACE_CHECK;
+#endif /* TAO_HAS_INTERCEPTORS */
+
+ _tao_server_request.init_reply ();
+
+ TAO_OutputCDR &_tao_out = _tao_server_request.outgoing ();
+
+ if (!(
+ (_tao_out << _tao_retval.in ())
+ ))
+ ACE_THROW (CORBA::MARSHAL());
+
+ // In case ACE_TRY_ENV is not used in this function
+ ACE_UNUSED_ARG (ACE_TRY_ENV);
+}
+
+void POA_CORBA::Contained::_get_containing_repository_skel (
+ TAO_ServerRequest &_tao_server_request,
+ void *_tao_object_reference,
+ void * /* context */,
+ CORBA::Environment &ACE_TRY_ENV
+ )
+{
+ POA_CORBA::Contained *_tao_impl = (POA_CORBA::Contained *)_tao_object_reference;
+
+ CORBA::Repository_var _tao_retval;
+
+#if (TAO_HAS_INTERCEPTORS == 1)
+ TAO_ServerRequestInterceptor_Adapter _tao_vfr (
+ _tao_server_request.orb_core ()->server_request_interceptors (),
+ _tao_server_request.interceptor_count ()
+ );
+
+ POA_CORBA::Contained::TAO_ServerRequestInfo_CORBA_Contained_containing_repository_get ri (
+ _tao_server_request,
+ _tao_impl,
+ ACE_TRY_ENV
+ );
+
+ ACE_TRY
+ {
+ _tao_vfr.receive_request (&ri, ACE_TRY_ENV);
+ ACE_TRY_CHECK;
+
+#endif /* TAO_HAS_INTERCEPTORS */
+ _tao_retval =
+ _tao_impl->containing_repository (
+ ACE_TRY_ENV
+ );
+ TAO_INTERCEPTOR_CHECK;
+
+#if (TAO_HAS_INTERCEPTORS == 1)
+ CORBA::Repository_ptr _tao_retval_info = _tao_retval._retn ();
+ ri.result (_tao_retval_info);
+ _tao_retval = _tao_retval_info;
+ ri.reply_status (PortableInterceptor::SUCCESSFUL);
+ _tao_vfr.send_reply (&ri, ACE_TRY_ENV);
+ ACE_TRY_CHECK;
+ }
+ ACE_CATCH (PortableInterceptor::ForwardRequest, exc)
+ {
+ ri.forward_reference (exc);
+ _tao_vfr.send_other (
+ &ri,
+ ACE_TRY_ENV
+ );
+ ACE_TRY_CHECK;
+ _tao_server_request.forward_location (exc.forward.in ());
+ }
+ ACE_CATCHANY
+ {
+ ri.exception (&ACE_ANY_EXCEPTION);
+ _tao_vfr.send_exception (
+ &ri,
+ ACE_TRY_ENV
+ );
+ ACE_TRY_CHECK;
+ ACE_RE_THROW;
+ }
+ ACE_ENDTRY;
+ ACE_CHECK;
+#endif /* TAO_HAS_INTERCEPTORS */
+
+ _tao_server_request.init_reply ();
+
+ TAO_OutputCDR &_tao_out = _tao_server_request.outgoing ();
+
+ if (!(
+ (_tao_out << _tao_retval.in ())
+ ))
+ ACE_THROW (CORBA::MARSHAL());
+
+ // In case ACE_TRY_ENV is not used in this function
+ ACE_UNUSED_ARG (ACE_TRY_ENV);
+}
+
+void POA_CORBA::Contained::describe_skel (
+ TAO_ServerRequest &_tao_server_request,
+ void *_tao_object_reference,
+ void * /* context */,
+ CORBA::Environment &ACE_TRY_ENV
+ )
+{
+ POA_CORBA::Contained *_tao_impl = (POA_CORBA::Contained *)_tao_object_reference;
+
+ CORBA::Contained::Description_var _tao_retval;
+
+#if (TAO_HAS_INTERCEPTORS == 1)
+ TAO_ServerRequestInterceptor_Adapter _tao_vfr (
+ _tao_server_request.orb_core ()->server_request_interceptors (),
+ _tao_server_request.interceptor_count ()
+ );
+
+ POA_CORBA::Contained::TAO_ServerRequestInfo_CORBA_Contained_describe ri (
+ _tao_server_request,
+ _tao_impl,
+ ACE_TRY_ENV
+ );
+
+ ACE_TRY
+ {
+ _tao_vfr.receive_request (&ri, ACE_TRY_ENV);
+ ACE_TRY_CHECK;
+
+#endif /* TAO_HAS_INTERCEPTORS */
+ _tao_retval =
+ _tao_impl->describe (
+ ACE_TRY_ENV
+ );
+ TAO_INTERCEPTOR_CHECK;
+
+#if (TAO_HAS_INTERCEPTORS == 1)
+ CORBA::Contained::Description * _tao_retval_info = _tao_retval._retn ();
+ ri.result (_tao_retval_info);
+ _tao_retval = _tao_retval_info;
+ ri.reply_status (PortableInterceptor::SUCCESSFUL);
+ _tao_vfr.send_reply (&ri, ACE_TRY_ENV);
+ ACE_TRY_CHECK;
+ }
+ ACE_CATCH (PortableInterceptor::ForwardRequest, exc)
+ {
+ ri.forward_reference (exc);
+ _tao_vfr.send_other (
+ &ri,
+ ACE_TRY_ENV
+ );
+ ACE_TRY_CHECK;
+ _tao_server_request.forward_location (exc.forward.in ());
+ }
+ ACE_CATCHANY
+ {
+ ri.exception (&ACE_ANY_EXCEPTION);
+ _tao_vfr.send_exception (
+ &ri,
+ ACE_TRY_ENV
+ );
+ ACE_TRY_CHECK;
+ ACE_RE_THROW;
+ }
+ ACE_ENDTRY;
+ ACE_CHECK;
+#endif /* TAO_HAS_INTERCEPTORS */
+
+ _tao_server_request.init_reply ();
+
+ TAO_OutputCDR &_tao_out = _tao_server_request.outgoing ();
+
+ if (!(
+ (_tao_out << _tao_retval.in ())
+ ))
+ ACE_THROW (CORBA::MARSHAL());
+
+ // In case ACE_TRY_ENV is not used in this function
+ ACE_UNUSED_ARG (ACE_TRY_ENV);
+}
+
+void POA_CORBA::Contained::move_skel (
+ TAO_ServerRequest &_tao_server_request,
+ void *_tao_object_reference,
+ void * /* context */,
+ CORBA::Environment &ACE_TRY_ENV
+ )
+{
+ TAO_InputCDR &_tao_in = _tao_server_request.incoming ();
+ POA_CORBA::Contained *_tao_impl = (POA_CORBA::Contained *)_tao_object_reference;
+
+ _tao_server_request.argument_flag (0);
+ CORBA::Container_var new_container;
+ CORBA::String_var new_name;
+ CORBA::String_var new_version;
+ if (!(
+ (_tao_in >> new_container.out ()) &&
+ (_tao_in >> new_name.out ()) &&
+ (_tao_in >> new_version.out ())
+ ))
+ ACE_THROW (CORBA::MARSHAL());
+
+
+#if (TAO_HAS_INTERCEPTORS == 1)
+ TAO_ServerRequestInterceptor_Adapter _tao_vfr (
+ _tao_server_request.orb_core ()->server_request_interceptors (),
+ _tao_server_request.interceptor_count ()
+ );
+
+ POA_CORBA::Contained::TAO_ServerRequestInfo_CORBA_Contained_move ri (
+ _tao_server_request,
+ _tao_impl,
+ new_container.in (),
+ new_name.in (),
+ new_version.in (),
+ ACE_TRY_ENV
+ );
+
+ ACE_TRY
+ {
+ _tao_vfr.receive_request (&ri, ACE_TRY_ENV);
+ ACE_TRY_CHECK;
+
+#endif /* TAO_HAS_INTERCEPTORS */
+
+ _tao_impl->move (
+ new_container.in (),
+ new_name.in (),
+ new_version.in (),
+ ACE_TRY_ENV
+ );
+ TAO_INTERCEPTOR_CHECK;
+
+#if (TAO_HAS_INTERCEPTORS == 1)
+ ri.reply_status (PortableInterceptor::SUCCESSFUL);
+ _tao_vfr.send_reply (&ri, ACE_TRY_ENV);
+ ACE_TRY_CHECK;
+ }
+ ACE_CATCH (PortableInterceptor::ForwardRequest, exc)
+ {
+ ri.forward_reference (exc);
+ _tao_vfr.send_other (
+ &ri,
+ ACE_TRY_ENV
+ );
+ ACE_TRY_CHECK;
+ _tao_server_request.forward_location (exc.forward.in ());
+ }
+ ACE_CATCHANY
+ {
+ ri.exception (&ACE_ANY_EXCEPTION);
+ _tao_vfr.send_exception (
+ &ri,
+ ACE_TRY_ENV
+ );
+ ACE_TRY_CHECK;
+ ACE_RE_THROW;
+ }
+ ACE_ENDTRY;
+ ACE_CHECK;
+#endif /* TAO_HAS_INTERCEPTORS */
+
+ _tao_server_request.init_reply ();
+
+ // In case ACE_TRY_ENV is not used in this function
+ ACE_UNUSED_ARG (ACE_TRY_ENV);
+}
+
+void POA_CORBA::Contained::_is_a_skel (
+ TAO_ServerRequest &_tao_server_request,
+ void * _tao_object_reference,
+ void * /* context */,
+ CORBA::Environment &ACE_TRY_ENV
+ )
+{
+ TAO_InputCDR &_tao_in = _tao_server_request.incoming ();
+ POA_CORBA::Contained *_tao_impl = (POA_CORBA::Contained *) _tao_object_reference;
+ CORBA::Boolean _tao_retval = 0;
+ CORBA::String_var value;
+ if (!(_tao_in >> value.out ()))
+ ACE_THROW (CORBA::MARSHAL ());
+
+ _tao_retval = _tao_impl->_is_a (value.in (), ACE_TRY_ENV);
+ ACE_CHECK;
+
+ _tao_server_request.init_reply ();
+ TAO_OutputCDR &_tao_out = _tao_server_request.outgoing ();
+ if (!(_tao_out << CORBA::Any::from_boolean (_tao_retval)))
+ ACE_THROW (CORBA::MARSHAL ());
+}
+
+void POA_CORBA::Contained::_non_existent_skel (
+ TAO_ServerRequest &_tao_server_request,
+ void * _tao_object_reference,
+ void * /* context */,
+ CORBA::Environment &ACE_TRY_ENV
+ )
+{
+ POA_CORBA::Contained *_tao_impl = (POA_CORBA::Contained *) _tao_object_reference;
+ CORBA::Boolean _tao_retval = _tao_impl->_non_existent (ACE_TRY_ENV);
+ ACE_CHECK;
+
+ _tao_server_request.init_reply ();
+ TAO_OutputCDR &_tao_out = _tao_server_request.outgoing ();
+ if (!(_tao_out << CORBA::Any::from_boolean (_tao_retval)))
+ ACE_THROW (CORBA::MARSHAL ());
+}
+
+CORBA::Boolean POA_CORBA::Contained::_is_a (
+ const char* value,
+ CORBA::Environment &ACE_TRY_ENV
+ )
+{
+ const char *base_id = CORBA::_tc_Object->id (ACE_TRY_ENV);
+ ACE_CHECK_RETURN (0);
+
+ if (
+ (!ACE_OS::strcmp ((char *)value, "IDL:omg.org/CORBA/Contained:1.0")) ||
+ (!ACE_OS::strcmp ((char *)value, "IDL:omg.org/CORBA/IRObject:1.0")) ||
+ (!ACE_OS::strcmp ((char *)value, base_id)))
+ return 1;
+ else
+ return 0;
+}
+
+void* POA_CORBA::Contained::_downcast (
+ const char* logical_type_id
+ )
+{
+ if (ACE_OS::strcmp (logical_type_id, "IDL:omg.org/CORBA/Contained:1.0") == 0)
+ return ACE_static_cast (POA_CORBA::Contained_ptr, this);
+ if (ACE_OS::strcmp (logical_type_id, "IDL:omg.org/CORBA/IRObject:1.0") == 0)
+ return ACE_static_cast (POA_CORBA::IRObject_ptr, this);
+ if (ACE_OS::strcmp (logical_type_id, "IDL:omg.org/CORBA/Object:1.0") == 0)
+ return ACE_static_cast(PortableServer::Servant, this);
+ return 0;
+}
+
+void POA_CORBA::Contained::_dispatch (TAO_ServerRequest &req, void *context, CORBA::Environment &ACE_TRY_ENV)
+{
+ this->synchronous_upcall_dispatch(req, context, this, ACE_TRY_ENV);
+}
+
+const char* POA_CORBA::Contained::_interface_repository_id (void) const
+{
+ return "IDL:omg.org/CORBA/Contained:1.0";
+}
+
+CORBA::Contained*
+POA_CORBA::Contained::_this (CORBA_Environment &ACE_TRY_ENV)
+{
+ TAO_Stub *stub = this->_create_stub (ACE_TRY_ENV);
+ ACE_CHECK_RETURN (0);
+
+ CORBA::Object_ptr tmp = CORBA::Object::_nil ();
+
+ if (stub->servant_orb_var ()->orb_core ()->optimize_collocation_objects ())
+ ACE_NEW_RETURN (tmp, CORBA::Object (stub, 1, this), 0);
+ else
+ ACE_NEW_RETURN (tmp, CORBA::Object (stub, 0, this), 0);
+
+ CORBA::Object_var obj = tmp;
+ return ::CORBA::Contained::_unchecked_narrow (obj.in ());
+}
+
+
+#if (TAO_HAS_INTERCEPTORS == 1)
+POA_CORBA::Contained::TAO_ServerRequestInfo_CORBA_Contained_id_get::TAO_ServerRequestInfo_CORBA_Contained_id_get (
+ TAO_ServerRequest &_tao_server_request,
+ POA_CORBA::Contained *tao_impl,
+ CORBA::Environment &
+ )
+ : TAO_ServerRequestInfo (_tao_server_request),
+ _tao_impl (tao_impl)
+{}
+
+Dynamic::ParameterList *
+POA_CORBA::Contained::TAO_ServerRequestInfo_CORBA_Contained_id_get::arguments (CORBA::Environment &ACE_TRY_ENV)
+ ACE_THROW_SPEC ((CORBA::SystemException))
+{
+ // Generate the argument list on demand.
+ Dynamic::ParameterList *parameter_list =
+ TAO_RequestInfo_Util::make_parameter_list (ACE_TRY_ENV);
+ ACE_CHECK_RETURN (0);
+
+ return parameter_list;
+}
+
+Dynamic::ExceptionList *
+POA_CORBA::Contained::TAO_ServerRequestInfo_CORBA_Contained_id_get::exceptions (CORBA::Environment &ACE_TRY_ENV)
+ ACE_THROW_SPEC ((CORBA::SystemException))
+{
+ // Generate the exception list on demand.
+ Dynamic::ExceptionList *exception_list =
+ TAO_RequestInfo_Util::make_exception_list (ACE_TRY_ENV);
+ ACE_CHECK_RETURN (0);
+
+ return exception_list;
+}
+
+CORBA::Any *
+POA_CORBA::Contained::TAO_ServerRequestInfo_CORBA_Contained_id_get::result (CORBA::Environment &ACE_TRY_ENV)
+ ACE_THROW_SPEC ((CORBA::SystemException))
+{
+ // Generate the result on demand.
+ CORBA::Boolean tk_void_any = 0;
+ CORBA::Any *result_any =
+ TAO_RequestInfo_Util::make_any (tk_void_any, ACE_TRY_ENV);
+ ACE_CHECK_RETURN (0);
+
+ CORBA::Any_var safe_result_any = result_any;
+
+ (*result_any) <<= this->_result;
+
+ return safe_result_any._retn ();
+}
+
+char *
+POA_CORBA::Contained::TAO_ServerRequestInfo_CORBA_Contained_id_get::target_most_derived_interface (
+ CORBA::Environment &)
+ ACE_THROW_SPEC ((CORBA::SystemException))
+{
+ return
+ CORBA::string_dup (this->_tao_impl->_interface_repository_id ());
+}
+
+CORBA::Boolean
+POA_CORBA::Contained::TAO_ServerRequestInfo_CORBA_Contained_id_get::target_is_a (
+ const char * id,
+ CORBA::Environment &ACE_TRY_ENV)
+ ACE_THROW_SPEC ((CORBA::SystemException))
+{
+ return this->_tao_impl->_is_a (id, ACE_TRY_ENV);
+}
+
+void
+POA_CORBA::Contained::TAO_ServerRequestInfo_CORBA_Contained_id_get::result (char * result)
+{
+ // Update the result.
+ this->_result = result;
+}
+
+POA_CORBA::Contained::TAO_ServerRequestInfo_CORBA_Contained_id_set::TAO_ServerRequestInfo_CORBA_Contained_id_set (
+ TAO_ServerRequest &_tao_server_request,
+ POA_CORBA::Contained *tao_impl,
+ const char * id,
+ CORBA::Environment &
+ )
+ : TAO_ServerRequestInfo (_tao_server_request),
+ _tao_impl (tao_impl),
+ id_ (id)
+{}
+
+Dynamic::ParameterList *
+POA_CORBA::Contained::TAO_ServerRequestInfo_CORBA_Contained_id_set::arguments (CORBA::Environment &ACE_TRY_ENV)
+ ACE_THROW_SPEC ((CORBA::SystemException))
+{
+ // Generate the argument list on demand.
+ Dynamic::ParameterList *parameter_list =
+ TAO_RequestInfo_Util::make_parameter_list (ACE_TRY_ENV);
+ ACE_CHECK_RETURN (0);
+
+ Dynamic::ParameterList_var safe_parameter_list = parameter_list;
+
+ CORBA::ULong length_id = parameter_list->length ();
+ parameter_list->length (length_id + 1);
+ (*parameter_list)[length_id].argument <<= id_;
+ (*parameter_list)[length_id].mode = Dynamic::PARAM_IN;
+
+ return safe_parameter_list._retn ();
+}
+
+Dynamic::ExceptionList *
+POA_CORBA::Contained::TAO_ServerRequestInfo_CORBA_Contained_id_set::exceptions (CORBA::Environment &ACE_TRY_ENV)
+ ACE_THROW_SPEC ((CORBA::SystemException))
+{
+ // Generate the exception list on demand.
+ Dynamic::ExceptionList *exception_list =
+ TAO_RequestInfo_Util::make_exception_list (ACE_TRY_ENV);
+ ACE_CHECK_RETURN (0);
+
+ return exception_list;
+}
+
+CORBA::Any *
+POA_CORBA::Contained::TAO_ServerRequestInfo_CORBA_Contained_id_set::result (CORBA::Environment &ACE_TRY_ENV)
+ ACE_THROW_SPEC ((CORBA::SystemException))
+{
+ // Generate the result on demand.
+ CORBA::Boolean tk_void_any = 1;
+ CORBA::Any *result_any =
+ TAO_RequestInfo_Util::make_any (tk_void_any, ACE_TRY_ENV);
+ ACE_CHECK_RETURN (0);
+
+ return result_any;
+}
+
+char *
+POA_CORBA::Contained::TAO_ServerRequestInfo_CORBA_Contained_id_set::target_most_derived_interface (
+ CORBA::Environment &)
+ ACE_THROW_SPEC ((CORBA::SystemException))
+{
+ return
+ CORBA::string_dup (this->_tao_impl->_interface_repository_id ());
+}
+
+CORBA::Boolean
+POA_CORBA::Contained::TAO_ServerRequestInfo_CORBA_Contained_id_set::target_is_a (
+ const char * id,
+ CORBA::Environment &ACE_TRY_ENV)
+ ACE_THROW_SPEC ((CORBA::SystemException))
+{
+ return this->_tao_impl->_is_a (id, ACE_TRY_ENV);
+}
+
+POA_CORBA::Contained::TAO_ServerRequestInfo_CORBA_Contained_name_get::TAO_ServerRequestInfo_CORBA_Contained_name_get (
+ TAO_ServerRequest &_tao_server_request,
+ POA_CORBA::Contained *tao_impl,
+ CORBA::Environment &
+ )
+ : TAO_ServerRequestInfo (_tao_server_request),
+ _tao_impl (tao_impl)
+{}
+
+Dynamic::ParameterList *
+POA_CORBA::Contained::TAO_ServerRequestInfo_CORBA_Contained_name_get::arguments (CORBA::Environment &ACE_TRY_ENV)
+ ACE_THROW_SPEC ((CORBA::SystemException))
+{
+ // Generate the argument list on demand.
+ Dynamic::ParameterList *parameter_list =
+ TAO_RequestInfo_Util::make_parameter_list (ACE_TRY_ENV);
+ ACE_CHECK_RETURN (0);
+
+ return parameter_list;
+}
+
+Dynamic::ExceptionList *
+POA_CORBA::Contained::TAO_ServerRequestInfo_CORBA_Contained_name_get::exceptions (CORBA::Environment &ACE_TRY_ENV)
+ ACE_THROW_SPEC ((CORBA::SystemException))
+{
+ // Generate the exception list on demand.
+ Dynamic::ExceptionList *exception_list =
+ TAO_RequestInfo_Util::make_exception_list (ACE_TRY_ENV);
+ ACE_CHECK_RETURN (0);
+
+ return exception_list;
+}
+
+CORBA::Any *
+POA_CORBA::Contained::TAO_ServerRequestInfo_CORBA_Contained_name_get::result (CORBA::Environment &ACE_TRY_ENV)
+ ACE_THROW_SPEC ((CORBA::SystemException))
+{
+ // Generate the result on demand.
+ CORBA::Boolean tk_void_any = 0;
+ CORBA::Any *result_any =
+ TAO_RequestInfo_Util::make_any (tk_void_any, ACE_TRY_ENV);
+ ACE_CHECK_RETURN (0);
+
+ CORBA::Any_var safe_result_any = result_any;
+
+ (*result_any) <<= this->_result;
+
+ return safe_result_any._retn ();
+}
+
+char *
+POA_CORBA::Contained::TAO_ServerRequestInfo_CORBA_Contained_name_get::target_most_derived_interface (
+ CORBA::Environment &)
+ ACE_THROW_SPEC ((CORBA::SystemException))
+{
+ return
+ CORBA::string_dup (this->_tao_impl->_interface_repository_id ());
+}
+
+CORBA::Boolean
+POA_CORBA::Contained::TAO_ServerRequestInfo_CORBA_Contained_name_get::target_is_a (
+ const char * id,
+ CORBA::Environment &ACE_TRY_ENV)
+ ACE_THROW_SPEC ((CORBA::SystemException))
+{
+ return this->_tao_impl->_is_a (id, ACE_TRY_ENV);
+}
+
+void
+POA_CORBA::Contained::TAO_ServerRequestInfo_CORBA_Contained_name_get::result (char * result)
+{
+ // Update the result.
+ this->_result = result;
+}
+
+POA_CORBA::Contained::TAO_ServerRequestInfo_CORBA_Contained_name_set::TAO_ServerRequestInfo_CORBA_Contained_name_set (
+ TAO_ServerRequest &_tao_server_request,
+ POA_CORBA::Contained *tao_impl,
+ const char * name,
+ CORBA::Environment &
+ )
+ : TAO_ServerRequestInfo (_tao_server_request),
+ _tao_impl (tao_impl),
+ name_ (name)
+{}
+
+Dynamic::ParameterList *
+POA_CORBA::Contained::TAO_ServerRequestInfo_CORBA_Contained_name_set::arguments (CORBA::Environment &ACE_TRY_ENV)
+ ACE_THROW_SPEC ((CORBA::SystemException))
+{
+ // Generate the argument list on demand.
+ Dynamic::ParameterList *parameter_list =
+ TAO_RequestInfo_Util::make_parameter_list (ACE_TRY_ENV);
+ ACE_CHECK_RETURN (0);
+
+ Dynamic::ParameterList_var safe_parameter_list = parameter_list;
+
+ CORBA::ULong length_name = parameter_list->length ();
+ parameter_list->length (length_name + 1);
+ (*parameter_list)[length_name].argument <<= name_;
+ (*parameter_list)[length_name].mode = Dynamic::PARAM_IN;
+
+ return safe_parameter_list._retn ();
+}
+
+Dynamic::ExceptionList *
+POA_CORBA::Contained::TAO_ServerRequestInfo_CORBA_Contained_name_set::exceptions (CORBA::Environment &ACE_TRY_ENV)
+ ACE_THROW_SPEC ((CORBA::SystemException))
+{
+ // Generate the exception list on demand.
+ Dynamic::ExceptionList *exception_list =
+ TAO_RequestInfo_Util::make_exception_list (ACE_TRY_ENV);
+ ACE_CHECK_RETURN (0);
+
+ return exception_list;
+}
+
+CORBA::Any *
+POA_CORBA::Contained::TAO_ServerRequestInfo_CORBA_Contained_name_set::result (CORBA::Environment &ACE_TRY_ENV)
+ ACE_THROW_SPEC ((CORBA::SystemException))
+{
+ // Generate the result on demand.
+ CORBA::Boolean tk_void_any = 1;
+ CORBA::Any *result_any =
+ TAO_RequestInfo_Util::make_any (tk_void_any, ACE_TRY_ENV);
+ ACE_CHECK_RETURN (0);
+
+ return result_any;
+}
+
+char *
+POA_CORBA::Contained::TAO_ServerRequestInfo_CORBA_Contained_name_set::target_most_derived_interface (
+ CORBA::Environment &)
+ ACE_THROW_SPEC ((CORBA::SystemException))
+{
+ return
+ CORBA::string_dup (this->_tao_impl->_interface_repository_id ());
+}
+
+CORBA::Boolean
+POA_CORBA::Contained::TAO_ServerRequestInfo_CORBA_Contained_name_set::target_is_a (
+ const char * id,
+ CORBA::Environment &ACE_TRY_ENV)
+ ACE_THROW_SPEC ((CORBA::SystemException))
+{
+ return this->_tao_impl->_is_a (id, ACE_TRY_ENV);
+}
+
+POA_CORBA::Contained::TAO_ServerRequestInfo_CORBA_Contained_version_get::TAO_ServerRequestInfo_CORBA_Contained_version_get (
+ TAO_ServerRequest &_tao_server_request,
+ POA_CORBA::Contained *tao_impl,
+ CORBA::Environment &
+ )
+ : TAO_ServerRequestInfo (_tao_server_request),
+ _tao_impl (tao_impl)
+{}
+
+Dynamic::ParameterList *
+POA_CORBA::Contained::TAO_ServerRequestInfo_CORBA_Contained_version_get::arguments (CORBA::Environment &ACE_TRY_ENV)
+ ACE_THROW_SPEC ((CORBA::SystemException))
+{
+ // Generate the argument list on demand.
+ Dynamic::ParameterList *parameter_list =
+ TAO_RequestInfo_Util::make_parameter_list (ACE_TRY_ENV);
+ ACE_CHECK_RETURN (0);
+
+ return parameter_list;
+}
+
+Dynamic::ExceptionList *
+POA_CORBA::Contained::TAO_ServerRequestInfo_CORBA_Contained_version_get::exceptions (CORBA::Environment &ACE_TRY_ENV)
+ ACE_THROW_SPEC ((CORBA::SystemException))
+{
+ // Generate the exception list on demand.
+ Dynamic::ExceptionList *exception_list =
+ TAO_RequestInfo_Util::make_exception_list (ACE_TRY_ENV);
+ ACE_CHECK_RETURN (0);
+
+ return exception_list;
+}
+
+CORBA::Any *
+POA_CORBA::Contained::TAO_ServerRequestInfo_CORBA_Contained_version_get::result (CORBA::Environment &ACE_TRY_ENV)
+ ACE_THROW_SPEC ((CORBA::SystemException))
+{
+ // Generate the result on demand.
+ CORBA::Boolean tk_void_any = 0;
+ CORBA::Any *result_any =
+ TAO_RequestInfo_Util::make_any (tk_void_any, ACE_TRY_ENV);
+ ACE_CHECK_RETURN (0);
+
+ CORBA::Any_var safe_result_any = result_any;
+
+ (*result_any) <<= this->_result;
+
+ return safe_result_any._retn ();
+}
+
+char *
+POA_CORBA::Contained::TAO_ServerRequestInfo_CORBA_Contained_version_get::target_most_derived_interface (
+ CORBA::Environment &)
+ ACE_THROW_SPEC ((CORBA::SystemException))
+{
+ return
+ CORBA::string_dup (this->_tao_impl->_interface_repository_id ());
+}
+
+CORBA::Boolean
+POA_CORBA::Contained::TAO_ServerRequestInfo_CORBA_Contained_version_get::target_is_a (
+ const char * id,
+ CORBA::Environment &ACE_TRY_ENV)
+ ACE_THROW_SPEC ((CORBA::SystemException))
+{
+ return this->_tao_impl->_is_a (id, ACE_TRY_ENV);
+}
+
+void
+POA_CORBA::Contained::TAO_ServerRequestInfo_CORBA_Contained_version_get::result (char * result)
+{
+ // Update the result.
+ this->_result = result;
+}
+
+POA_CORBA::Contained::TAO_ServerRequestInfo_CORBA_Contained_version_set::TAO_ServerRequestInfo_CORBA_Contained_version_set (
+ TAO_ServerRequest &_tao_server_request,
+ POA_CORBA::Contained *tao_impl,
+ const char * version,
+ CORBA::Environment &
+ )
+ : TAO_ServerRequestInfo (_tao_server_request),
+ _tao_impl (tao_impl),
+ version_ (version)
+{}
+
+Dynamic::ParameterList *
+POA_CORBA::Contained::TAO_ServerRequestInfo_CORBA_Contained_version_set::arguments (CORBA::Environment &ACE_TRY_ENV)
+ ACE_THROW_SPEC ((CORBA::SystemException))
+{
+ // Generate the argument list on demand.
+ Dynamic::ParameterList *parameter_list =
+ TAO_RequestInfo_Util::make_parameter_list (ACE_TRY_ENV);
+ ACE_CHECK_RETURN (0);
+
+ Dynamic::ParameterList_var safe_parameter_list = parameter_list;
+
+ CORBA::ULong length_version = parameter_list->length ();
+ parameter_list->length (length_version + 1);
+ (*parameter_list)[length_version].argument <<= version_;
+ (*parameter_list)[length_version].mode = Dynamic::PARAM_IN;
+
+ return safe_parameter_list._retn ();
+}
+
+Dynamic::ExceptionList *
+POA_CORBA::Contained::TAO_ServerRequestInfo_CORBA_Contained_version_set::exceptions (CORBA::Environment &ACE_TRY_ENV)
+ ACE_THROW_SPEC ((CORBA::SystemException))
+{
+ // Generate the exception list on demand.
+ Dynamic::ExceptionList *exception_list =
+ TAO_RequestInfo_Util::make_exception_list (ACE_TRY_ENV);
+ ACE_CHECK_RETURN (0);
+
+ return exception_list;
+}
+
+CORBA::Any *
+POA_CORBA::Contained::TAO_ServerRequestInfo_CORBA_Contained_version_set::result (CORBA::Environment &ACE_TRY_ENV)
+ ACE_THROW_SPEC ((CORBA::SystemException))
+{
+ // Generate the result on demand.
+ CORBA::Boolean tk_void_any = 1;
+ CORBA::Any *result_any =
+ TAO_RequestInfo_Util::make_any (tk_void_any, ACE_TRY_ENV);
+ ACE_CHECK_RETURN (0);
+
+ return result_any;
+}
+
+char *
+POA_CORBA::Contained::TAO_ServerRequestInfo_CORBA_Contained_version_set::target_most_derived_interface (
+ CORBA::Environment &)
+ ACE_THROW_SPEC ((CORBA::SystemException))
+{
+ return
+ CORBA::string_dup (this->_tao_impl->_interface_repository_id ());
+}
+
+CORBA::Boolean
+POA_CORBA::Contained::TAO_ServerRequestInfo_CORBA_Contained_version_set::target_is_a (
+ const char * id,
+ CORBA::Environment &ACE_TRY_ENV)
+ ACE_THROW_SPEC ((CORBA::SystemException))
+{
+ return this->_tao_impl->_is_a (id, ACE_TRY_ENV);
+}
+
+POA_CORBA::Contained::TAO_ServerRequestInfo_CORBA_Contained_defined_in_get::TAO_ServerRequestInfo_CORBA_Contained_defined_in_get (
+ TAO_ServerRequest &_tao_server_request,
+ POA_CORBA::Contained *tao_impl,
+ CORBA::Environment &
+ )
+ : TAO_ServerRequestInfo (_tao_server_request),
+ _tao_impl (tao_impl)
+{}
+
+Dynamic::ParameterList *
+POA_CORBA::Contained::TAO_ServerRequestInfo_CORBA_Contained_defined_in_get::arguments (CORBA::Environment &ACE_TRY_ENV)
+ ACE_THROW_SPEC ((CORBA::SystemException))
+{
+ // Generate the argument list on demand.
+ Dynamic::ParameterList *parameter_list =
+ TAO_RequestInfo_Util::make_parameter_list (ACE_TRY_ENV);
+ ACE_CHECK_RETURN (0);
+
+ return parameter_list;
+}
+
+Dynamic::ExceptionList *
+POA_CORBA::Contained::TAO_ServerRequestInfo_CORBA_Contained_defined_in_get::exceptions (CORBA::Environment &ACE_TRY_ENV)
+ ACE_THROW_SPEC ((CORBA::SystemException))
+{
+ // Generate the exception list on demand.
+ Dynamic::ExceptionList *exception_list =
+ TAO_RequestInfo_Util::make_exception_list (ACE_TRY_ENV);
+ ACE_CHECK_RETURN (0);
+
+ return exception_list;
+}
+
+CORBA::Any *
+POA_CORBA::Contained::TAO_ServerRequestInfo_CORBA_Contained_defined_in_get::result (CORBA::Environment &ACE_TRY_ENV)
+ ACE_THROW_SPEC ((CORBA::SystemException))
+{
+ // Generate the result on demand.
+ CORBA::Boolean tk_void_any = 0;
+ CORBA::Any *result_any =
+ TAO_RequestInfo_Util::make_any (tk_void_any, ACE_TRY_ENV);
+ ACE_CHECK_RETURN (0);
+
+ CORBA::Any_var safe_result_any = result_any;
+
+ (*result_any) <<= this->_result;
+
+ return safe_result_any._retn ();
+}
+
+char *
+POA_CORBA::Contained::TAO_ServerRequestInfo_CORBA_Contained_defined_in_get::target_most_derived_interface (
+ CORBA::Environment &)
+ ACE_THROW_SPEC ((CORBA::SystemException))
+{
+ return
+ CORBA::string_dup (this->_tao_impl->_interface_repository_id ());
+}
+
+CORBA::Boolean
+POA_CORBA::Contained::TAO_ServerRequestInfo_CORBA_Contained_defined_in_get::target_is_a (
+ const char * id,
+ CORBA::Environment &ACE_TRY_ENV)
+ ACE_THROW_SPEC ((CORBA::SystemException))
+{
+ return this->_tao_impl->_is_a (id, ACE_TRY_ENV);
+}
+
+void
+POA_CORBA::Contained::TAO_ServerRequestInfo_CORBA_Contained_defined_in_get::result (CORBA::Container_ptr result)
+{
+ // Update the result.
+ this->_result = result;
+}
+
+POA_CORBA::Contained::TAO_ServerRequestInfo_CORBA_Contained_absolute_name_get::TAO_ServerRequestInfo_CORBA_Contained_absolute_name_get (
+ TAO_ServerRequest &_tao_server_request,
+ POA_CORBA::Contained *tao_impl,
+ CORBA::Environment &
+ )
+ : TAO_ServerRequestInfo (_tao_server_request),
+ _tao_impl (tao_impl)
+{}
+
+Dynamic::ParameterList *
+POA_CORBA::Contained::TAO_ServerRequestInfo_CORBA_Contained_absolute_name_get::arguments (CORBA::Environment &ACE_TRY_ENV)
+ ACE_THROW_SPEC ((CORBA::SystemException))
+{
+ // Generate the argument list on demand.
+ Dynamic::ParameterList *parameter_list =
+ TAO_RequestInfo_Util::make_parameter_list (ACE_TRY_ENV);
+ ACE_CHECK_RETURN (0);
+
+ return parameter_list;
+}
+
+Dynamic::ExceptionList *
+POA_CORBA::Contained::TAO_ServerRequestInfo_CORBA_Contained_absolute_name_get::exceptions (CORBA::Environment &ACE_TRY_ENV)
+ ACE_THROW_SPEC ((CORBA::SystemException))
+{
+ // Generate the exception list on demand.
+ Dynamic::ExceptionList *exception_list =
+ TAO_RequestInfo_Util::make_exception_list (ACE_TRY_ENV);
+ ACE_CHECK_RETURN (0);
+
+ return exception_list;
+}
+
+CORBA::Any *
+POA_CORBA::Contained::TAO_ServerRequestInfo_CORBA_Contained_absolute_name_get::result (CORBA::Environment &ACE_TRY_ENV)
+ ACE_THROW_SPEC ((CORBA::SystemException))
+{
+ // Generate the result on demand.
+ CORBA::Boolean tk_void_any = 0;
+ CORBA::Any *result_any =
+ TAO_RequestInfo_Util::make_any (tk_void_any, ACE_TRY_ENV);
+ ACE_CHECK_RETURN (0);
+
+ CORBA::Any_var safe_result_any = result_any;
+
+ (*result_any) <<= this->_result;
+
+ return safe_result_any._retn ();
+}
+
+char *
+POA_CORBA::Contained::TAO_ServerRequestInfo_CORBA_Contained_absolute_name_get::target_most_derived_interface (
+ CORBA::Environment &)
+ ACE_THROW_SPEC ((CORBA::SystemException))
+{
+ return
+ CORBA::string_dup (this->_tao_impl->_interface_repository_id ());
+}
+
+CORBA::Boolean
+POA_CORBA::Contained::TAO_ServerRequestInfo_CORBA_Contained_absolute_name_get::target_is_a (
+ const char * id,
+ CORBA::Environment &ACE_TRY_ENV)
+ ACE_THROW_SPEC ((CORBA::SystemException))
+{
+ return this->_tao_impl->_is_a (id, ACE_TRY_ENV);
+}
+
+void
+POA_CORBA::Contained::TAO_ServerRequestInfo_CORBA_Contained_absolute_name_get::result (char * result)
+{
+ // Update the result.
+ this->_result = result;
+}
+
+POA_CORBA::Contained::TAO_ServerRequestInfo_CORBA_Contained_containing_repository_get::TAO_ServerRequestInfo_CORBA_Contained_containing_repository_get (
+ TAO_ServerRequest &_tao_server_request,
+ POA_CORBA::Contained *tao_impl,
+ CORBA::Environment &
+ )
+ : TAO_ServerRequestInfo (_tao_server_request),
+ _tao_impl (tao_impl)
+{}
+
+Dynamic::ParameterList *
+POA_CORBA::Contained::TAO_ServerRequestInfo_CORBA_Contained_containing_repository_get::arguments (CORBA::Environment &ACE_TRY_ENV)
+ ACE_THROW_SPEC ((CORBA::SystemException))
+{
+ // Generate the argument list on demand.
+ Dynamic::ParameterList *parameter_list =
+ TAO_RequestInfo_Util::make_parameter_list (ACE_TRY_ENV);
+ ACE_CHECK_RETURN (0);
+
+ return parameter_list;
+}
+
+Dynamic::ExceptionList *
+POA_CORBA::Contained::TAO_ServerRequestInfo_CORBA_Contained_containing_repository_get::exceptions (CORBA::Environment &ACE_TRY_ENV)
+ ACE_THROW_SPEC ((CORBA::SystemException))
+{
+ // Generate the exception list on demand.
+ Dynamic::ExceptionList *exception_list =
+ TAO_RequestInfo_Util::make_exception_list (ACE_TRY_ENV);
+ ACE_CHECK_RETURN (0);
+
+ return exception_list;
+}
+
+CORBA::Any *
+POA_CORBA::Contained::TAO_ServerRequestInfo_CORBA_Contained_containing_repository_get::result (CORBA::Environment &ACE_TRY_ENV)
+ ACE_THROW_SPEC ((CORBA::SystemException))
+{
+ // Generate the result on demand.
+ CORBA::Boolean tk_void_any = 0;
+ CORBA::Any *result_any =
+ TAO_RequestInfo_Util::make_any (tk_void_any, ACE_TRY_ENV);
+ ACE_CHECK_RETURN (0);
+
+ CORBA::Any_var safe_result_any = result_any;
+
+ (*result_any) <<= this->_result;
+
+ return safe_result_any._retn ();
+}
+
+char *
+POA_CORBA::Contained::TAO_ServerRequestInfo_CORBA_Contained_containing_repository_get::target_most_derived_interface (
+ CORBA::Environment &)
+ ACE_THROW_SPEC ((CORBA::SystemException))
+{
+ return
+ CORBA::string_dup (this->_tao_impl->_interface_repository_id ());
+}
+
+CORBA::Boolean
+POA_CORBA::Contained::TAO_ServerRequestInfo_CORBA_Contained_containing_repository_get::target_is_a (
+ const char * id,
+ CORBA::Environment &ACE_TRY_ENV)
+ ACE_THROW_SPEC ((CORBA::SystemException))
+{
+ return this->_tao_impl->_is_a (id, ACE_TRY_ENV);
+}
+
+void
+POA_CORBA::Contained::TAO_ServerRequestInfo_CORBA_Contained_containing_repository_get::result (CORBA::Repository_ptr result)
+{
+ // Update the result.
+ this->_result = result;
+}
+
+POA_CORBA::Contained::TAO_ServerRequestInfo_CORBA_Contained_describe::TAO_ServerRequestInfo_CORBA_Contained_describe (
+ TAO_ServerRequest &_tao_server_request,
+ POA_CORBA::Contained *tao_impl,
+ CORBA::Environment &
+ )
+ : TAO_ServerRequestInfo (_tao_server_request),
+ _tao_impl (tao_impl)
+{}
+
+Dynamic::ParameterList *
+POA_CORBA::Contained::TAO_ServerRequestInfo_CORBA_Contained_describe::arguments (CORBA::Environment &ACE_TRY_ENV)
+ ACE_THROW_SPEC ((CORBA::SystemException))
+{
+ // Generate the argument list on demand.
+ Dynamic::ParameterList *parameter_list =
+ TAO_RequestInfo_Util::make_parameter_list (ACE_TRY_ENV);
+ ACE_CHECK_RETURN (0);
+
+ return parameter_list;
+}
+
+Dynamic::ExceptionList *
+POA_CORBA::Contained::TAO_ServerRequestInfo_CORBA_Contained_describe::exceptions (CORBA::Environment &ACE_TRY_ENV)
+ ACE_THROW_SPEC ((CORBA::SystemException))
+{
+ // Generate the exception list on demand.
+ Dynamic::ExceptionList *exception_list =
+ TAO_RequestInfo_Util::make_exception_list (ACE_TRY_ENV);
+ ACE_CHECK_RETURN (0);
+
+ return exception_list;
+}
+
+CORBA::Any *
+POA_CORBA::Contained::TAO_ServerRequestInfo_CORBA_Contained_describe::result (CORBA::Environment &ACE_TRY_ENV)
+ ACE_THROW_SPEC ((CORBA::SystemException))
+{
+ // Generate the result on demand.
+ CORBA::Boolean tk_void_any = 0;
+ CORBA::Any *result_any =
+ TAO_RequestInfo_Util::make_any (tk_void_any, ACE_TRY_ENV);
+ ACE_CHECK_RETURN (0);
+
+ CORBA::Any_var safe_result_any = result_any;
+
+ (*result_any) <<= this->_result;
+
+ return safe_result_any._retn ();
+}
+
+char *
+POA_CORBA::Contained::TAO_ServerRequestInfo_CORBA_Contained_describe::target_most_derived_interface (
+ CORBA::Environment &)
+ ACE_THROW_SPEC ((CORBA::SystemException))
+{
+ return
+ CORBA::string_dup (this->_tao_impl->_interface_repository_id ());
+}
+
+CORBA::Boolean
+POA_CORBA::Contained::TAO_ServerRequestInfo_CORBA_Contained_describe::target_is_a (
+ const char * id,
+ CORBA::Environment &ACE_TRY_ENV)
+ ACE_THROW_SPEC ((CORBA::SystemException))
+{
+ return this->_tao_impl->_is_a (id, ACE_TRY_ENV);
+}
+
+void
+POA_CORBA::Contained::TAO_ServerRequestInfo_CORBA_Contained_describe::result (CORBA::Contained::Description * result)
+{
+ // Update the result.
+ this->_result = result;
+}
+
+POA_CORBA::Contained::TAO_ServerRequestInfo_CORBA_Contained_move::TAO_ServerRequestInfo_CORBA_Contained_move (
+ TAO_ServerRequest &_tao_server_request,
+ POA_CORBA::Contained *tao_impl,
+ CORBA::Container_ptr new_container,
+ const char * new_name,
+ const char * new_version,
+ CORBA::Environment &
+ )
+ : TAO_ServerRequestInfo (_tao_server_request),
+ _tao_impl (tao_impl),
+ new_container_ (new_container),
+ new_name_ (new_name),
+ new_version_ (new_version)
+{}
+
+Dynamic::ParameterList *
+POA_CORBA::Contained::TAO_ServerRequestInfo_CORBA_Contained_move::arguments (CORBA::Environment &ACE_TRY_ENV)
+ ACE_THROW_SPEC ((CORBA::SystemException))
+{
+ // Generate the argument list on demand.
+ Dynamic::ParameterList *parameter_list =
+ TAO_RequestInfo_Util::make_parameter_list (ACE_TRY_ENV);
+ ACE_CHECK_RETURN (0);
+
+ Dynamic::ParameterList_var safe_parameter_list = parameter_list;
+
+ CORBA::ULong length_new_container = parameter_list->length ();
+ parameter_list->length (length_new_container + 1);
+ (*parameter_list)[length_new_container].argument <<= this->new_container_;
+
+ (*parameter_list)[length_new_container].mode = Dynamic::PARAM_IN;
+
+ CORBA::ULong length_new_name = parameter_list->length ();
+ parameter_list->length (length_new_name + 1);
+ (*parameter_list)[length_new_name].argument <<= new_name_;
+ (*parameter_list)[length_new_name].mode = Dynamic::PARAM_IN;
+
+ CORBA::ULong length_new_version = parameter_list->length ();
+ parameter_list->length (length_new_version + 1);
+ (*parameter_list)[length_new_version].argument <<= new_version_;
+ (*parameter_list)[length_new_version].mode = Dynamic::PARAM_IN;
+
+ return safe_parameter_list._retn ();
+}
+
+Dynamic::ExceptionList *
+POA_CORBA::Contained::TAO_ServerRequestInfo_CORBA_Contained_move::exceptions (CORBA::Environment &ACE_TRY_ENV)
+ ACE_THROW_SPEC ((CORBA::SystemException))
+{
+ // Generate the exception list on demand.
+ Dynamic::ExceptionList *exception_list =
+ TAO_RequestInfo_Util::make_exception_list (ACE_TRY_ENV);
+ ACE_CHECK_RETURN (0);
+
+ return exception_list;
+}
+
+CORBA::Any *
+POA_CORBA::Contained::TAO_ServerRequestInfo_CORBA_Contained_move::result (CORBA::Environment &ACE_TRY_ENV)
+ ACE_THROW_SPEC ((CORBA::SystemException))
+{
+ // Generate the result on demand.
+ CORBA::Boolean tk_void_any = 1;
+ CORBA::Any *result_any =
+ TAO_RequestInfo_Util::make_any (tk_void_any, ACE_TRY_ENV);
+ ACE_CHECK_RETURN (0);
+
+ return result_any;
+}
+
+char *
+POA_CORBA::Contained::TAO_ServerRequestInfo_CORBA_Contained_move::target_most_derived_interface (
+ CORBA::Environment &)
+ ACE_THROW_SPEC ((CORBA::SystemException))
+{
+ return
+ CORBA::string_dup (this->_tao_impl->_interface_repository_id ());
+}
+
+CORBA::Boolean
+POA_CORBA::Contained::TAO_ServerRequestInfo_CORBA_Contained_move::target_is_a (
+ const char * id,
+ CORBA::Environment &ACE_TRY_ENV)
+ ACE_THROW_SPEC ((CORBA::SystemException))
+{
+ return this->_tao_impl->_is_a (id, ACE_TRY_ENV);
+}
+
+#endif /* TAO_HAS_INTERCEPTORS */
+class TAO_CORBA_Container_Perfect_Hash_OpTable : public TAO_Perfect_Hash_OpTable
+{
+private:
+ unsigned int hash (const char *str, unsigned int len);
+public:
+ const TAO_operation_db_entry * lookup (const char *str, unsigned int len);
+};
+/* starting time is 10:43:18 */
+/* C++ code produced by gperf version 2.8 (ACE version) */
+/* Command-line: gperf -m -M -J -c -C -D -E -T -f 0 -F 0 -a -o -t -p -K opname_ -L C++ -Z TAO_CORBA_Container_Perfect_Hash_OpTable -N lookup */
+unsigned int
+TAO_CORBA_Container_Perfect_Hash_OpTable::hash (const char *str, unsigned int len)
+{
+ static const unsigned char asso_values[] =
+ {
+#if defined (ACE_MVS)
+ 34, 34, 34, 34, 34, 34, 34, 34, 34, 34,
+ 34, 34, 34, 34, 34, 34, 34, 34, 34, 34,
+ 34, 34, 34, 34, 34, 34, 34, 34, 34, 34,
+ 34, 34, 34, 34, 34, 34, 34, 34, 34, 34,
+ 34, 34, 34, 34, 34, 34, 34, 34, 34, 34,
+ 34, 34, 34, 34, 34, 34, 34, 34, 34, 34,
+ 34, 34, 34, 34, 34, 34, 34, 34, 34, 34,
+ 34, 34, 34, 34, 34, 34, 34, 34, 34, 34,
+ 34, 34, 34, 34, 34, 34, 34, 34, 34, 34,
+ 34, 34, 34, 34, 34, 34, 34, 34, 34, 34,
+ 34, 34, 34, 34, 34, 34, 34, 34, 34, 15,
+ 34, 34, 34, 34, 34, 34, 34, 34, 34, 34,
+ 34, 34, 34, 34, 34, 34, 34, 34, 34, 10,
+ 34, 0, 0, 0, 34, 34, 34, 34, 34, 34,
+ 34, 34, 34, 34, 34, 34, 34, 0, 20, 5,
+ 34, 0, 34, 34, 34, 34, 34, 34, 34, 34,
+ 34, 34, 15, 5, 34, 34, 34, 10, 0, 34,
+ 34, 34, 34, 34, 34, 34, 34, 34, 34, 34,
+ 34, 34, 34, 34, 34, 34, 34, 34, 34, 34,
+ 34, 34, 34, 34, 34, 34, 34, 34, 34, 34,
+ 34, 34, 34, 34, 34, 34, 34, 34, 34, 34,
+ 34, 34, 34, 34, 34, 34, 34, 34, 34, 34,
+ 34, 34, 34, 34, 34, 34, 34, 34, 34, 34,
+ 34, 34, 34, 34, 34, 34, 34, 34, 34, 34,
+ 34, 34, 34, 34, 34, 34, 34, 34, 34, 34,
+ 34, 34, 34, 34, 34, 34,
+#else
+ 34, 34, 34, 34, 34, 34, 34, 34, 34, 34,
+ 34, 34, 34, 34, 34, 34, 34, 34, 34, 34,
+ 34, 34, 34, 34, 34, 34, 34, 34, 34, 34,
+ 34, 34, 34, 34, 34, 34, 34, 34, 34, 34,
+ 34, 34, 34, 34, 34, 34, 34, 34, 34, 34,
+ 34, 34, 34, 34, 34, 34, 34, 34, 34, 34,
+ 34, 34, 34, 34, 34, 34, 34, 34, 34, 34,
+ 34, 34, 34, 34, 34, 34, 34, 34, 34, 34,
+ 34, 34, 34, 34, 34, 34, 34, 34, 34, 34,
+ 34, 34, 34, 34, 34, 15, 34, 10, 34, 0,
+ 0, 0, 34, 34, 34, 34, 34, 34, 0, 20,
+ 5, 34, 0, 34, 34, 15, 5, 34, 34, 34,
+ 10, 0, 34, 34, 34, 34, 34, 34,
+#endif /* ACE_MVS */
+ };
+ return len + asso_values[str[len - 1]] + asso_values[str[0]];
+}
+
+const class TAO_operation_db_entry *
+TAO_CORBA_Container_Perfect_Hash_OpTable::lookup (const char *str, unsigned int len)
+{
+ enum
+ {
+ TOTAL_KEYWORDS = 21,
+ MIN_WORD_LENGTH = 5,
+ MAX_WORD_LENGTH = 25,
+ MIN_HASH_VALUE = 6,
+ MAX_HASH_VALUE = 33,
+ HASH_VALUE_RANGE = 28,
+ DUPLICATES = 2
+ };
+
+ static const class TAO_operation_db_entry wordlist[] =
+ {
+ {"",0},{"",0},{"",0},{"",0},{"",0},{"",0},
+ {"lookup", &POA_CORBA::Container::lookup_skel},
+ {"destroy", &POA_CORBA::Container::destroy_skel},
+ {"lookup_name", &POA_CORBA::Container::lookup_name_skel},
+ {"create_value", &POA_CORBA::Container::create_value_skel},
+ {"create_module", &POA_CORBA::Container::create_module_skel},
+ {"create_native", &POA_CORBA::Container::create_native_skel},
+ {"create_interface", &POA_CORBA::Container::create_interface_skel},
+ {"create_union", &POA_CORBA::Container::create_union_skel},
+ {"create_struct", &POA_CORBA::Container::create_struct_skel},
+ {"create_constant", &POA_CORBA::Container::create_constant_skel},
+ {"create_exception", &POA_CORBA::Container::create_exception_skel},
+ {"create_local_interface", &POA_CORBA::Container::create_local_interface_skel},
+ {"contents", &POA_CORBA::Container::contents_skel},
+ {"create_abstract_interface", &POA_CORBA::Container::create_abstract_interface_skel},
+ {"create_value_box", &POA_CORBA::Container::create_value_box_skel},
+ {"create_alias", &POA_CORBA::Container::create_alias_skel},
+ {"_get_def_kind", &POA_CORBA::Container::_get_def_kind_skel},
+ {"_is_a", &POA_CORBA::Container::_is_a_skel},
+ {"create_enum", &POA_CORBA::Container::create_enum_skel},
+ {"describe_contents", &POA_CORBA::Container::describe_contents_skel},
+ {"_non_existent", &POA_CORBA::Container::_non_existent_skel},
+ };
+
+ static const signed char lookup[] =
+ {
+ -1, -1, -1, -1, -1, -1, 6, 7, -1, -10, -2, 8, 9, -37,
+ -1, -1, 12, 13, 14, -1, 15, 16, 17, 18, -1, 19, 20, 21,
+ 22, -1, 23, 24, 25, 26,
+ };
+
+ if (len <= MAX_WORD_LENGTH && len >= MIN_WORD_LENGTH)
+ {
+ unsigned int key = hash (str, len);
+
+ if (key <= MAX_HASH_VALUE && key >= MIN_HASH_VALUE)
+ {
+ int slot = lookup[key];
+
+ if (slot >= 0 && slot < MAX_HASH_VALUE)
+ {
+ const char *s = wordlist[slot].opname_;
+
+ if (*str == *s && !strncmp (str + 1, s + 1, len - 1))
+ return &wordlist[slot];
+ }
+ else if (slot < 0 && slot >= -MAX_HASH_VALUE)
+ return 0;
+ else
+ {
+ unsigned int offset = key + slot + (slot > 0 ? -MAX_HASH_VALUE : MAX_HASH_VALUE);
+ const class TAO_operation_db_entry *base = &wordlist[-lookup[offset]];
+ const class TAO_operation_db_entry *ptr = base + -lookup[offset + 1];
+
+ while (--ptr >= base)
+ if (*str == *ptr->opname_ && !strncmp (str + 1, ptr->opname_ + 1, len - 1))
+ return ptr;
+ }
+ }
+ }
+ return 0;
+}
+/* ending time is 10:43:18 */
+static TAO_CORBA_Container_Perfect_Hash_OpTable tao_CORBA_Container_optable;
+
+
+///////////////////////////////////////////////////////////////////////
+// Strategized Proxy Broker Implementation
+//
+
+// Factory function Implementation.
+POA_CORBA::_TAO_Container_Strategized_Proxy_Broker *POA_CORBA::_TAO_Container_Strategized_Proxy_Broker::the_TAO_Container_Strategized_Proxy_Broker (void)
+{
+ static POA_CORBA::_TAO_Container_Strategized_Proxy_Broker strategized_proxy_broker;
+ return &strategized_proxy_broker;
+}
+
+POA_CORBA::_TAO_Container_Strategized_Proxy_Broker::_TAO_Container_Strategized_Proxy_Broker (void)
+{
+ for (int i = 0; i < TAO_Collocation_Strategies::CS_LAST; ++i)
+ this->proxy_cache_[i] = 0;
+
+}
+
+POA_CORBA::_TAO_Container_Strategized_Proxy_Broker::~_TAO_Container_Strategized_Proxy_Broker (void)
+{
+ for (int i = 0; i < TAO_Collocation_Strategies::CS_LAST; ++i)
+ delete this->proxy_cache_[i];
+
+}
+
+_TAO_Container_Proxy_Impl&
+POA_CORBA::_TAO_Container_Strategized_Proxy_Broker::select_proxy (
+ ::CORBA::Container *object,
+ CORBA::Environment &ACE_TRY_ENV
+ )
+{
+ int strategy =
+ TAO_ORB_Core::collocation_strategy (object);
+
+ if (this->proxy_cache_[strategy] != 0)
+ return *this->proxy_cache_[strategy];
+
+ this->create_proxy (strategy, ACE_TRY_ENV);
+ ACE_CHECK_RETURN (*this->proxy_cache_[strategy]);
+
+ return *this->proxy_cache_[strategy];
+
+}
+
+void
+POA_CORBA::_TAO_Container_Strategized_Proxy_Broker::create_proxy (
+ int strategy,
+ CORBA::Environment &ACE_TRY_ENV
+ )
+{
+ ACE_GUARD (TAO_SYNCH_MUTEX, guard, this->mutex_);
+
+ if (this->proxy_cache_[strategy] == 0)
+ {
+ switch (strategy)
+ {
+ case TAO_Collocation_Strategies::CS_THRU_POA_STRATEGY:
+ ACE_NEW_THROW_EX (
+ this->proxy_cache_[strategy],
+ _TAO_Container_ThruPOA_Proxy_Impl,
+ CORBA::NO_MEMORY ()
+ );
+ ACE_CHECK;
+ break;
+
+ case TAO_Collocation_Strategies::CS_REMOTE_STRATEGY:
+ default:
+ ACE_NEW_THROW_EX (
+ this->proxy_cache_[strategy],
+ ::_TAO_Container_Remote_Proxy_Impl,
+ CORBA::NO_MEMORY ()
+ );
+ ACE_CHECK;
+ break;
+
+ }
+
+ }
+}
+
+
+//
+// End Strategized Proxy Broker Implementation
+///////////////////////////////////////////////////////////////////////
+
+
+_TAO_Container_Proxy_Broker *
+CORBA__TAO_Container_Proxy_Broker_Factory_function (CORBA::Object_ptr obj)
+{
+ ACE_UNUSED_ARG (obj);
+ return ::POA_CORBA::_TAO_Container_Strategized_Proxy_Broker::the_TAO_Container_Strategized_Proxy_Broker();
+}
+
+int
+CORBA__TAO_Container_Proxy_Broker_Factory_Initializer (long _dummy_)
+{
+ ACE_UNUSED_ARG (_dummy_);
+
+ CORBA__TAO_Container_Proxy_Broker_Factory_function_pointer =
+ CORBA__TAO_Container_Proxy_Broker_Factory_function;
+
+ return 0;
+}
+
+static int CORBA__TAO_Container_Proxy_Broker_Stub_Factory_Initializer_Scarecrow =
+ CORBA__TAO_Container_Proxy_Broker_Factory_Initializer (ACE_reinterpret_cast (long, CORBA__TAO_Container_Proxy_Broker_Factory_Initializer));
+
+
+///////////////////////////////////////////////////////////////////////
+// ThruPOA Proxy Implementation
+//
+
+POA_CORBA::_TAO_Container_ThruPOA_Proxy_Impl::_TAO_Container_ThruPOA_Proxy_Impl (void)
+{}
+
+// ThruPOA Implementation of the IDL interface methods
+
+CORBA::Contained_ptr POA_CORBA::_TAO_Container_ThruPOA_Proxy_Impl::lookup (
+ CORBA_Object *_collocated_tao_target_,
+ const char * search_name,
+ CORBA::Environment &ACE_TRY_ENV
+ )
+ ACE_THROW_SPEC ((
+ CORBA::SystemException
+ ))
+{
+ CORBA::Contained_var _tao_retval;
+ ACE_UNUSED_ARG (_tao_retval);
+ TAO_Object_Adapter::Servant_Upcall servant_upcall (
+ _collocated_tao_target_->_stubobj ()->servant_orb_var ()->orb_core ()
+ );
+ CORBA::Object_var forward_to;
+ servant_upcall.prepare_for_upcall (
+ _collocated_tao_target_->_object_key (),
+ "lookup",
+ forward_to.out (),
+ ACE_TRY_ENV
+ );
+ ACE_CHECK_RETURN (0);
+ return ACE_reinterpret_cast (
+ POA_CORBA::Container_ptr,
+ servant_upcall.servant ()->_downcast (
+ "IDL:omg.org/CORBA/Container:1.0"
+ )
+ )->lookup (
+ search_name,
+ ACE_TRY_ENV
+ );
+}
+
+CORBA::ContainedSeq * POA_CORBA::_TAO_Container_ThruPOA_Proxy_Impl::contents (
+ CORBA_Object *_collocated_tao_target_,
+ CORBA::DefinitionKind limit_type,
+ CORBA::Boolean exclude_inherited,
+ CORBA::Environment &ACE_TRY_ENV
+ )
+ ACE_THROW_SPEC ((
+ CORBA::SystemException
+ ))
+{
+ CORBA::ContainedSeq_var _tao_retval;
+ ACE_UNUSED_ARG (_tao_retval);
+ TAO_Object_Adapter::Servant_Upcall servant_upcall (
+ _collocated_tao_target_->_stubobj ()->servant_orb_var ()->orb_core ()
+ );
+ CORBA::Object_var forward_to;
+ servant_upcall.prepare_for_upcall (
+ _collocated_tao_target_->_object_key (),
+ "contents",
+ forward_to.out (),
+ ACE_TRY_ENV
+ );
+ ACE_CHECK_RETURN (0);
+ return ACE_reinterpret_cast (
+ POA_CORBA::Container_ptr,
+ servant_upcall.servant ()->_downcast (
+ "IDL:omg.org/CORBA/Container:1.0"
+ )
+ )->contents (
+ limit_type,
+ exclude_inherited,
+ ACE_TRY_ENV
+ );
+}
+
+CORBA::ContainedSeq * POA_CORBA::_TAO_Container_ThruPOA_Proxy_Impl::lookup_name (
+ CORBA_Object *_collocated_tao_target_,
+ const char * search_name,
+ CORBA::Long levels_to_search,
+ CORBA::DefinitionKind limit_type,
+ CORBA::Boolean exclude_inherited,
+ CORBA::Environment &ACE_TRY_ENV
+ )
+ ACE_THROW_SPEC ((
+ CORBA::SystemException
+ ))
+{
+ CORBA::ContainedSeq_var _tao_retval;
+ ACE_UNUSED_ARG (_tao_retval);
+ TAO_Object_Adapter::Servant_Upcall servant_upcall (
+ _collocated_tao_target_->_stubobj ()->servant_orb_var ()->orb_core ()
+ );
+ CORBA::Object_var forward_to;
+ servant_upcall.prepare_for_upcall (
+ _collocated_tao_target_->_object_key (),
+ "lookup_name",
+ forward_to.out (),
+ ACE_TRY_ENV
+ );
+ ACE_CHECK_RETURN (0);
+ return ACE_reinterpret_cast (
+ POA_CORBA::Container_ptr,
+ servant_upcall.servant ()->_downcast (
+ "IDL:omg.org/CORBA/Container:1.0"
+ )
+ )->lookup_name (
+ search_name,
+ levels_to_search,
+ limit_type,
+ exclude_inherited,
+ ACE_TRY_ENV
+ );
+}
+
+CORBA::Container::DescriptionSeq * POA_CORBA::_TAO_Container_ThruPOA_Proxy_Impl::describe_contents (
+ CORBA_Object *_collocated_tao_target_,
+ CORBA::DefinitionKind limit_type,
+ CORBA::Boolean exclude_inherited,
+ CORBA::Long max_returned_objs,
+ CORBA::Environment &ACE_TRY_ENV
+ )
+ ACE_THROW_SPEC ((
+ CORBA::SystemException
+ ))
+{
+ CORBA::Container::DescriptionSeq_var _tao_retval;
+ ACE_UNUSED_ARG (_tao_retval);
+ TAO_Object_Adapter::Servant_Upcall servant_upcall (
+ _collocated_tao_target_->_stubobj ()->servant_orb_var ()->orb_core ()
+ );
+ CORBA::Object_var forward_to;
+ servant_upcall.prepare_for_upcall (
+ _collocated_tao_target_->_object_key (),
+ "describe_contents",
+ forward_to.out (),
+ ACE_TRY_ENV
+ );
+ ACE_CHECK_RETURN (0);
+ return ACE_reinterpret_cast (
+ POA_CORBA::Container_ptr,
+ servant_upcall.servant ()->_downcast (
+ "IDL:omg.org/CORBA/Container:1.0"
+ )
+ )->describe_contents (
+ limit_type,
+ exclude_inherited,
+ max_returned_objs,
+ ACE_TRY_ENV
+ );
+}
+
+CORBA::ModuleDef_ptr POA_CORBA::_TAO_Container_ThruPOA_Proxy_Impl::create_module (
+ CORBA_Object *_collocated_tao_target_,
+ const char * id,
+ const char * name,
+ const char * version,
+ CORBA::Environment &ACE_TRY_ENV
+ )
+ ACE_THROW_SPEC ((
+ CORBA::SystemException
+ ))
+{
+ CORBA::ModuleDef_var _tao_retval;
+ ACE_UNUSED_ARG (_tao_retval);
+ TAO_Object_Adapter::Servant_Upcall servant_upcall (
+ _collocated_tao_target_->_stubobj ()->servant_orb_var ()->orb_core ()
+ );
+ CORBA::Object_var forward_to;
+ servant_upcall.prepare_for_upcall (
+ _collocated_tao_target_->_object_key (),
+ "create_module",
+ forward_to.out (),
+ ACE_TRY_ENV
+ );
+ ACE_CHECK_RETURN (0);
+ return ACE_reinterpret_cast (
+ POA_CORBA::Container_ptr,
+ servant_upcall.servant ()->_downcast (
+ "IDL:omg.org/CORBA/Container:1.0"
+ )
+ )->create_module (
+ id,
+ name,
+ version,
+ ACE_TRY_ENV
+ );
+}
+
+CORBA::ConstantDef_ptr POA_CORBA::_TAO_Container_ThruPOA_Proxy_Impl::create_constant (
+ CORBA_Object *_collocated_tao_target_,
+ const char * id,
+ const char * name,
+ const char * version,
+ CORBA::IDLType_ptr type,
+ const CORBA::Any & value,
+ CORBA::Environment &ACE_TRY_ENV
+ )
+ ACE_THROW_SPEC ((
+ CORBA::SystemException
+ ))
+{
+ CORBA::ConstantDef_var _tao_retval;
+ ACE_UNUSED_ARG (_tao_retval);
+ TAO_Object_Adapter::Servant_Upcall servant_upcall (
+ _collocated_tao_target_->_stubobj ()->servant_orb_var ()->orb_core ()
+ );
+ CORBA::Object_var forward_to;
+ servant_upcall.prepare_for_upcall (
+ _collocated_tao_target_->_object_key (),
+ "create_constant",
+ forward_to.out (),
+ ACE_TRY_ENV
+ );
+ ACE_CHECK_RETURN (0);
+ return ACE_reinterpret_cast (
+ POA_CORBA::Container_ptr,
+ servant_upcall.servant ()->_downcast (
+ "IDL:omg.org/CORBA/Container:1.0"
+ )
+ )->create_constant (
+ id,
+ name,
+ version,
+ type,
+ value,
+ ACE_TRY_ENV
+ );
+}
+
+CORBA::StructDef_ptr POA_CORBA::_TAO_Container_ThruPOA_Proxy_Impl::create_struct (
+ CORBA_Object *_collocated_tao_target_,
+ const char * id,
+ const char * name,
+ const char * version,
+ const CORBA::StructMemberSeq & members,
+ CORBA::Environment &ACE_TRY_ENV
+ )
+ ACE_THROW_SPEC ((
+ CORBA::SystemException
+ ))
+{
+ CORBA::StructDef_var _tao_retval;
+ ACE_UNUSED_ARG (_tao_retval);
+ TAO_Object_Adapter::Servant_Upcall servant_upcall (
+ _collocated_tao_target_->_stubobj ()->servant_orb_var ()->orb_core ()
+ );
+ CORBA::Object_var forward_to;
+ servant_upcall.prepare_for_upcall (
+ _collocated_tao_target_->_object_key (),
+ "create_struct",
+ forward_to.out (),
+ ACE_TRY_ENV
+ );
+ ACE_CHECK_RETURN (0);
+ return ACE_reinterpret_cast (
+ POA_CORBA::Container_ptr,
+ servant_upcall.servant ()->_downcast (
+ "IDL:omg.org/CORBA/Container:1.0"
+ )
+ )->create_struct (
+ id,
+ name,
+ version,
+ members,
+ ACE_TRY_ENV
+ );
+}
+
+CORBA::UnionDef_ptr POA_CORBA::_TAO_Container_ThruPOA_Proxy_Impl::create_union (
+ CORBA_Object *_collocated_tao_target_,
+ const char * id,
+ const char * name,
+ const char * version,
+ CORBA::IDLType_ptr discriminator_type,
+ const CORBA::UnionMemberSeq & members,
+ CORBA::Environment &ACE_TRY_ENV
+ )
+ ACE_THROW_SPEC ((
+ CORBA::SystemException
+ ))
+{
+ CORBA::UnionDef_var _tao_retval;
+ ACE_UNUSED_ARG (_tao_retval);
+ TAO_Object_Adapter::Servant_Upcall servant_upcall (
+ _collocated_tao_target_->_stubobj ()->servant_orb_var ()->orb_core ()
+ );
+ CORBA::Object_var forward_to;
+ servant_upcall.prepare_for_upcall (
+ _collocated_tao_target_->_object_key (),
+ "create_union",
+ forward_to.out (),
+ ACE_TRY_ENV
+ );
+ ACE_CHECK_RETURN (0);
+ return ACE_reinterpret_cast (
+ POA_CORBA::Container_ptr,
+ servant_upcall.servant ()->_downcast (
+ "IDL:omg.org/CORBA/Container:1.0"
+ )
+ )->create_union (
+ id,
+ name,
+ version,
+ discriminator_type,
+ members,
+ ACE_TRY_ENV
+ );
+}
+
+CORBA::EnumDef_ptr POA_CORBA::_TAO_Container_ThruPOA_Proxy_Impl::create_enum (
+ CORBA_Object *_collocated_tao_target_,
+ const char * id,
+ const char * name,
+ const char * version,
+ const CORBA::EnumMemberSeq & members,
+ CORBA::Environment &ACE_TRY_ENV
+ )
+ ACE_THROW_SPEC ((
+ CORBA::SystemException
+ ))
+{
+ CORBA::EnumDef_var _tao_retval;
+ ACE_UNUSED_ARG (_tao_retval);
+ TAO_Object_Adapter::Servant_Upcall servant_upcall (
+ _collocated_tao_target_->_stubobj ()->servant_orb_var ()->orb_core ()
+ );
+ CORBA::Object_var forward_to;
+ servant_upcall.prepare_for_upcall (
+ _collocated_tao_target_->_object_key (),
+ "create_enum",
+ forward_to.out (),
+ ACE_TRY_ENV
+ );
+ ACE_CHECK_RETURN (0);
+ return ACE_reinterpret_cast (
+ POA_CORBA::Container_ptr,
+ servant_upcall.servant ()->_downcast (
+ "IDL:omg.org/CORBA/Container:1.0"
+ )
+ )->create_enum (
+ id,
+ name,
+ version,
+ members,
+ ACE_TRY_ENV
+ );
+}
+
+CORBA::AliasDef_ptr POA_CORBA::_TAO_Container_ThruPOA_Proxy_Impl::create_alias (
+ CORBA_Object *_collocated_tao_target_,
+ const char * id,
+ const char * name,
+ const char * version,
+ CORBA::IDLType_ptr original_type,
+ CORBA::Environment &ACE_TRY_ENV
+ )
+ ACE_THROW_SPEC ((
+ CORBA::SystemException
+ ))
+{
+ CORBA::AliasDef_var _tao_retval;
+ ACE_UNUSED_ARG (_tao_retval);
+ TAO_Object_Adapter::Servant_Upcall servant_upcall (
+ _collocated_tao_target_->_stubobj ()->servant_orb_var ()->orb_core ()
+ );
+ CORBA::Object_var forward_to;
+ servant_upcall.prepare_for_upcall (
+ _collocated_tao_target_->_object_key (),
+ "create_alias",
+ forward_to.out (),
+ ACE_TRY_ENV
+ );
+ ACE_CHECK_RETURN (0);
+ return ACE_reinterpret_cast (
+ POA_CORBA::Container_ptr,
+ servant_upcall.servant ()->_downcast (
+ "IDL:omg.org/CORBA/Container:1.0"
+ )
+ )->create_alias (
+ id,
+ name,
+ version,
+ original_type,
+ ACE_TRY_ENV
+ );
+}
+
+CORBA::InterfaceDef_ptr POA_CORBA::_TAO_Container_ThruPOA_Proxy_Impl::create_interface (
+ CORBA_Object *_collocated_tao_target_,
+ const char * id,
+ const char * name,
+ const char * version,
+ const CORBA::InterfaceDefSeq & base_interfaces,
+ CORBA::Environment &ACE_TRY_ENV
+ )
+ ACE_THROW_SPEC ((
+ CORBA::SystemException
+ ))
+{
+ CORBA::InterfaceDef_var _tao_retval;
+ ACE_UNUSED_ARG (_tao_retval);
+ TAO_Object_Adapter::Servant_Upcall servant_upcall (
+ _collocated_tao_target_->_stubobj ()->servant_orb_var ()->orb_core ()
+ );
+ CORBA::Object_var forward_to;
+ servant_upcall.prepare_for_upcall (
+ _collocated_tao_target_->_object_key (),
+ "create_interface",
+ forward_to.out (),
+ ACE_TRY_ENV
+ );
+ ACE_CHECK_RETURN (0);
+ return ACE_reinterpret_cast (
+ POA_CORBA::Container_ptr,
+ servant_upcall.servant ()->_downcast (
+ "IDL:omg.org/CORBA/Container:1.0"
+ )
+ )->create_interface (
+ id,
+ name,
+ version,
+ base_interfaces,
+ ACE_TRY_ENV
+ );
+}
+
+CORBA::ValueDef_ptr POA_CORBA::_TAO_Container_ThruPOA_Proxy_Impl::create_value (
+ CORBA_Object *_collocated_tao_target_,
+ const char * id,
+ const char * name,
+ const char * version,
+ CORBA::Boolean is_custom,
+ CORBA::Boolean is_abstract,
+ CORBA::ValueDef_ptr base_value,
+ CORBA::Boolean is_truncatable,
+ const CORBA::ValueDefSeq & abstract_base_values,
+ const CORBA::InterfaceDefSeq & supported_interfaces,
+ const CORBA::InitializerSeq & initializers,
+ CORBA::Environment &ACE_TRY_ENV
+ )
+ ACE_THROW_SPEC ((
+ CORBA::SystemException
+ ))
+{
+ CORBA::ValueDef_var _tao_retval;
+ ACE_UNUSED_ARG (_tao_retval);
+ TAO_Object_Adapter::Servant_Upcall servant_upcall (
+ _collocated_tao_target_->_stubobj ()->servant_orb_var ()->orb_core ()
+ );
+ CORBA::Object_var forward_to;
+ servant_upcall.prepare_for_upcall (
+ _collocated_tao_target_->_object_key (),
+ "create_value",
+ forward_to.out (),
+ ACE_TRY_ENV
+ );
+ ACE_CHECK_RETURN (0);
+ return ACE_reinterpret_cast (
+ POA_CORBA::Container_ptr,
+ servant_upcall.servant ()->_downcast (
+ "IDL:omg.org/CORBA/Container:1.0"
+ )
+ )->create_value (
+ id,
+ name,
+ version,
+ is_custom,
+ is_abstract,
+ base_value,
+ is_truncatable,
+ abstract_base_values,
+ supported_interfaces,
+ initializers,
+ ACE_TRY_ENV
+ );
+}
+
+CORBA::ValueBoxDef_ptr POA_CORBA::_TAO_Container_ThruPOA_Proxy_Impl::create_value_box (
+ CORBA_Object *_collocated_tao_target_,
+ const char * id,
+ const char * name,
+ const char * version,
+ CORBA::IDLType_ptr original_type_def,
+ CORBA::Environment &ACE_TRY_ENV
+ )
+ ACE_THROW_SPEC ((
+ CORBA::SystemException
+ ))
+{
+ CORBA::ValueBoxDef_var _tao_retval;
+ ACE_UNUSED_ARG (_tao_retval);
+ TAO_Object_Adapter::Servant_Upcall servant_upcall (
+ _collocated_tao_target_->_stubobj ()->servant_orb_var ()->orb_core ()
+ );
+ CORBA::Object_var forward_to;
+ servant_upcall.prepare_for_upcall (
+ _collocated_tao_target_->_object_key (),
+ "create_value_box",
+ forward_to.out (),
+ ACE_TRY_ENV
+ );
+ ACE_CHECK_RETURN (0);
+ return ACE_reinterpret_cast (
+ POA_CORBA::Container_ptr,
+ servant_upcall.servant ()->_downcast (
+ "IDL:omg.org/CORBA/Container:1.0"
+ )
+ )->create_value_box (
+ id,
+ name,
+ version,
+ original_type_def,
+ ACE_TRY_ENV
+ );
+}
+
+CORBA::ExceptionDef_ptr POA_CORBA::_TAO_Container_ThruPOA_Proxy_Impl::create_exception (
+ CORBA_Object *_collocated_tao_target_,
+ const char * id,
+ const char * name,
+ const char * version,
+ const CORBA::StructMemberSeq & members,
+ CORBA::Environment &ACE_TRY_ENV
+ )
+ ACE_THROW_SPEC ((
+ CORBA::SystemException
+ ))
+{
+ CORBA::ExceptionDef_var _tao_retval;
+ ACE_UNUSED_ARG (_tao_retval);
+ TAO_Object_Adapter::Servant_Upcall servant_upcall (
+ _collocated_tao_target_->_stubobj ()->servant_orb_var ()->orb_core ()
+ );
+ CORBA::Object_var forward_to;
+ servant_upcall.prepare_for_upcall (
+ _collocated_tao_target_->_object_key (),
+ "create_exception",
+ forward_to.out (),
+ ACE_TRY_ENV
+ );
+ ACE_CHECK_RETURN (0);
+ return ACE_reinterpret_cast (
+ POA_CORBA::Container_ptr,
+ servant_upcall.servant ()->_downcast (
+ "IDL:omg.org/CORBA/Container:1.0"
+ )
+ )->create_exception (
+ id,
+ name,
+ version,
+ members,
+ ACE_TRY_ENV
+ );
+}
+
+CORBA::NativeDef_ptr POA_CORBA::_TAO_Container_ThruPOA_Proxy_Impl::create_native (
+ CORBA_Object *_collocated_tao_target_,
+ const char * id,
+ const char * name,
+ const char * version,
+ CORBA::Environment &ACE_TRY_ENV
+ )
+ ACE_THROW_SPEC ((
+ CORBA::SystemException
+ ))
+{
+ CORBA::NativeDef_var _tao_retval;
+ ACE_UNUSED_ARG (_tao_retval);
+ TAO_Object_Adapter::Servant_Upcall servant_upcall (
+ _collocated_tao_target_->_stubobj ()->servant_orb_var ()->orb_core ()
+ );
+ CORBA::Object_var forward_to;
+ servant_upcall.prepare_for_upcall (
+ _collocated_tao_target_->_object_key (),
+ "create_native",
+ forward_to.out (),
+ ACE_TRY_ENV
+ );
+ ACE_CHECK_RETURN (0);
+ return ACE_reinterpret_cast (
+ POA_CORBA::Container_ptr,
+ servant_upcall.servant ()->_downcast (
+ "IDL:omg.org/CORBA/Container:1.0"
+ )
+ )->create_native (
+ id,
+ name,
+ version,
+ ACE_TRY_ENV
+ );
+}
+
+CORBA::AbstractInterfaceDef_ptr POA_CORBA::_TAO_Container_ThruPOA_Proxy_Impl::create_abstract_interface (
+ CORBA_Object *_collocated_tao_target_,
+ const char * id,
+ const char * name,
+ const char * version,
+ const CORBA::AbstractInterfaceDefSeq & base_interfaces,
+ CORBA::Environment &ACE_TRY_ENV
+ )
+ ACE_THROW_SPEC ((
+ CORBA::SystemException
+ ))
+{
+ CORBA::AbstractInterfaceDef_var _tao_retval;
+ ACE_UNUSED_ARG (_tao_retval);
+ TAO_Object_Adapter::Servant_Upcall servant_upcall (
+ _collocated_tao_target_->_stubobj ()->servant_orb_var ()->orb_core ()
+ );
+ CORBA::Object_var forward_to;
+ servant_upcall.prepare_for_upcall (
+ _collocated_tao_target_->_object_key (),
+ "create_abstract_interface",
+ forward_to.out (),
+ ACE_TRY_ENV
+ );
+ ACE_CHECK_RETURN (0);
+ return ACE_reinterpret_cast (
+ POA_CORBA::Container_ptr,
+ servant_upcall.servant ()->_downcast (
+ "IDL:omg.org/CORBA/Container:1.0"
+ )
+ )->create_abstract_interface (
+ id,
+ name,
+ version,
+ base_interfaces,
+ ACE_TRY_ENV
+ );
+}
+
+CORBA::LocalInterfaceDef_ptr POA_CORBA::_TAO_Container_ThruPOA_Proxy_Impl::create_local_interface (
+ CORBA_Object *_collocated_tao_target_,
+ const char * id,
+ const char * name,
+ const char * version,
+ const CORBA::InterfaceDefSeq & base_interfaces,
+ CORBA::Environment &ACE_TRY_ENV
+ )
+ ACE_THROW_SPEC ((
+ CORBA::SystemException
+ ))
+{
+ CORBA::LocalInterfaceDef_var _tao_retval;
+ ACE_UNUSED_ARG (_tao_retval);
+ TAO_Object_Adapter::Servant_Upcall servant_upcall (
+ _collocated_tao_target_->_stubobj ()->servant_orb_var ()->orb_core ()
+ );
+ CORBA::Object_var forward_to;
+ servant_upcall.prepare_for_upcall (
+ _collocated_tao_target_->_object_key (),
+ "create_local_interface",
+ forward_to.out (),
+ ACE_TRY_ENV
+ );
+ ACE_CHECK_RETURN (0);
+ return ACE_reinterpret_cast (
+ POA_CORBA::Container_ptr,
+ servant_upcall.servant ()->_downcast (
+ "IDL:omg.org/CORBA/Container:1.0"
+ )
+ )->create_local_interface (
+ id,
+ name,
+ version,
+ base_interfaces,
+ ACE_TRY_ENV
+ );
+}
+
+//
+// End ThruPOA Proxy Implementation
+///////////////////////////////////////////////////////////////////////
+
+// skeleton constructor
+POA_CORBA::Container::Container (void)
+{
+ this->optable_ = &tao_CORBA_Container_optable;
+}
+
+// copy ctor
+POA_CORBA::Container::Container (const Container& rhs)
+ : ACE_NESTED_CLASS (POA_CORBA,IRObject) (rhs),
+ TAO_ServantBase (rhs)
+{}
+
+// skeleton destructor
+POA_CORBA::Container::~Container (void)
+{
+}
+
+void POA_CORBA::Container::lookup_skel (
+ TAO_ServerRequest &_tao_server_request,
+ void *_tao_object_reference,
+ void * /* context */,
+ CORBA::Environment &ACE_TRY_ENV
+ )
+{
+ TAO_InputCDR &_tao_in = _tao_server_request.incoming ();
+ POA_CORBA::Container *_tao_impl = (POA_CORBA::Container *)_tao_object_reference;
+
+ CORBA::Contained_var _tao_retval;
+ CORBA::String_var search_name;
+ if (!(
+ (_tao_in >> search_name.out ())
+ ))
+ ACE_THROW (CORBA::MARSHAL());
+
+
+#if (TAO_HAS_INTERCEPTORS == 1)
+ TAO_ServerRequestInterceptor_Adapter _tao_vfr (
+ _tao_server_request.orb_core ()->server_request_interceptors (),
+ _tao_server_request.interceptor_count ()
+ );
+
+ POA_CORBA::Container::TAO_ServerRequestInfo_CORBA_Container_lookup ri (
+ _tao_server_request,
+ _tao_impl,
+ search_name.in (),
+ ACE_TRY_ENV
+ );
+
+ ACE_TRY
+ {
+ _tao_vfr.receive_request (&ri, ACE_TRY_ENV);
+ ACE_TRY_CHECK;
+
+#endif /* TAO_HAS_INTERCEPTORS */
+ _tao_retval =
+ _tao_impl->lookup (
+ search_name.in (),
+ ACE_TRY_ENV
+ );
+ TAO_INTERCEPTOR_CHECK;
+
+#if (TAO_HAS_INTERCEPTORS == 1)
+ CORBA::Contained_ptr _tao_retval_info = _tao_retval._retn ();
+ ri.result (_tao_retval_info);
+ _tao_retval = _tao_retval_info;
+ ri.reply_status (PortableInterceptor::SUCCESSFUL);
+ _tao_vfr.send_reply (&ri, ACE_TRY_ENV);
+ ACE_TRY_CHECK;
+ }
+ ACE_CATCH (PortableInterceptor::ForwardRequest, exc)
+ {
+ ri.forward_reference (exc);
+ _tao_vfr.send_other (
+ &ri,
+ ACE_TRY_ENV
+ );
+ ACE_TRY_CHECK;
+ _tao_server_request.forward_location (exc.forward.in ());
+ }
+ ACE_CATCHANY
+ {
+ ri.exception (&ACE_ANY_EXCEPTION);
+ _tao_vfr.send_exception (
+ &ri,
+ ACE_TRY_ENV
+ );
+ ACE_TRY_CHECK;
+ ACE_RE_THROW;
+ }
+ ACE_ENDTRY;
+ ACE_CHECK;
+#endif /* TAO_HAS_INTERCEPTORS */
+
+ _tao_server_request.init_reply ();
+
+ TAO_OutputCDR &_tao_out = _tao_server_request.outgoing ();
+
+ if (!(
+ (_tao_out << _tao_retval.in ())
+ ))
+ ACE_THROW (CORBA::MARSHAL());
+
+ // In case ACE_TRY_ENV is not used in this function
+ ACE_UNUSED_ARG (ACE_TRY_ENV);
+}
+
+void POA_CORBA::Container::contents_skel (
+ TAO_ServerRequest &_tao_server_request,
+ void *_tao_object_reference,
+ void * /* context */,
+ CORBA::Environment &ACE_TRY_ENV
+ )
+{
+ TAO_InputCDR &_tao_in = _tao_server_request.incoming ();
+ POA_CORBA::Container *_tao_impl = (POA_CORBA::Container *)_tao_object_reference;
+
+ CORBA::ContainedSeq_var _tao_retval;
+ CORBA::DefinitionKind limit_type;
+ CORBA::Boolean exclude_inherited;
+ if (!(
+ (_tao_in >> limit_type) &&
+ (_tao_in >> CORBA::Any::to_boolean (exclude_inherited))
+ ))
+ ACE_THROW (CORBA::MARSHAL());
+
+
+#if (TAO_HAS_INTERCEPTORS == 1)
+ TAO_ServerRequestInterceptor_Adapter _tao_vfr (
+ _tao_server_request.orb_core ()->server_request_interceptors (),
+ _tao_server_request.interceptor_count ()
+ );
+
+ POA_CORBA::Container::TAO_ServerRequestInfo_CORBA_Container_contents ri (
+ _tao_server_request,
+ _tao_impl,
+ limit_type,
+ exclude_inherited,
+ ACE_TRY_ENV
+ );
+
+ ACE_TRY
+ {
+ _tao_vfr.receive_request (&ri, ACE_TRY_ENV);
+ ACE_TRY_CHECK;
+
+#endif /* TAO_HAS_INTERCEPTORS */
+ _tao_retval =
+ _tao_impl->contents (
+ limit_type,
+ exclude_inherited,
+ ACE_TRY_ENV
+ );
+ TAO_INTERCEPTOR_CHECK;
+
+#if (TAO_HAS_INTERCEPTORS == 1)
+ CORBA::ContainedSeq * _tao_retval_info = _tao_retval._retn ();
+ ri.result (_tao_retval_info);
+ _tao_retval = _tao_retval_info;
+ ri.reply_status (PortableInterceptor::SUCCESSFUL);
+ _tao_vfr.send_reply (&ri, ACE_TRY_ENV);
+ ACE_TRY_CHECK;
+ }
+ ACE_CATCH (PortableInterceptor::ForwardRequest, exc)
+ {
+ ri.forward_reference (exc);
+ _tao_vfr.send_other (
+ &ri,
+ ACE_TRY_ENV
+ );
+ ACE_TRY_CHECK;
+ _tao_server_request.forward_location (exc.forward.in ());
+ }
+ ACE_CATCHANY
+ {
+ ri.exception (&ACE_ANY_EXCEPTION);
+ _tao_vfr.send_exception (
+ &ri,
+ ACE_TRY_ENV
+ );
+ ACE_TRY_CHECK;
+ ACE_RE_THROW;
+ }
+ ACE_ENDTRY;
+ ACE_CHECK;
+#endif /* TAO_HAS_INTERCEPTORS */
+
+ _tao_server_request.init_reply ();
+
+ TAO_OutputCDR &_tao_out = _tao_server_request.outgoing ();
+
+ if (!(
+ (_tao_out << _tao_retval.in ())
+ ))
+ ACE_THROW (CORBA::MARSHAL());
+
+ // In case ACE_TRY_ENV is not used in this function
+ ACE_UNUSED_ARG (ACE_TRY_ENV);
+}
+
+void POA_CORBA::Container::lookup_name_skel (
+ TAO_ServerRequest &_tao_server_request,
+ void *_tao_object_reference,
+ void * /* context */,
+ CORBA::Environment &ACE_TRY_ENV
+ )
+{
+ TAO_InputCDR &_tao_in = _tao_server_request.incoming ();
+ POA_CORBA::Container *_tao_impl = (POA_CORBA::Container *)_tao_object_reference;
+
+ CORBA::ContainedSeq_var _tao_retval;
+ CORBA::String_var search_name;
+ CORBA::Long levels_to_search;
+ CORBA::DefinitionKind limit_type;
+ CORBA::Boolean exclude_inherited;
+ if (!(
+ (_tao_in >> search_name.out ()) &&
+ (_tao_in >> levels_to_search) &&
+ (_tao_in >> limit_type) &&
+ (_tao_in >> CORBA::Any::to_boolean (exclude_inherited))
+ ))
+ ACE_THROW (CORBA::MARSHAL());
+
+
+#if (TAO_HAS_INTERCEPTORS == 1)
+ TAO_ServerRequestInterceptor_Adapter _tao_vfr (
+ _tao_server_request.orb_core ()->server_request_interceptors (),
+ _tao_server_request.interceptor_count ()
+ );
+
+ POA_CORBA::Container::TAO_ServerRequestInfo_CORBA_Container_lookup_name ri (
+ _tao_server_request,
+ _tao_impl,
+ search_name.in (),
+ levels_to_search,
+ limit_type,
+ exclude_inherited,
+ ACE_TRY_ENV
+ );
+
+ ACE_TRY
+ {
+ _tao_vfr.receive_request (&ri, ACE_TRY_ENV);
+ ACE_TRY_CHECK;
+
+#endif /* TAO_HAS_INTERCEPTORS */
+ _tao_retval =
+ _tao_impl->lookup_name (
+ search_name.in (),
+ levels_to_search,
+ limit_type,
+ exclude_inherited,
+ ACE_TRY_ENV
+ );
+ TAO_INTERCEPTOR_CHECK;
+
+#if (TAO_HAS_INTERCEPTORS == 1)
+ CORBA::ContainedSeq * _tao_retval_info = _tao_retval._retn ();
+ ri.result (_tao_retval_info);
+ _tao_retval = _tao_retval_info;
+ ri.reply_status (PortableInterceptor::SUCCESSFUL);
+ _tao_vfr.send_reply (&ri, ACE_TRY_ENV);
+ ACE_TRY_CHECK;
+ }
+ ACE_CATCH (PortableInterceptor::ForwardRequest, exc)
+ {
+ ri.forward_reference (exc);
+ _tao_vfr.send_other (
+ &ri,
+ ACE_TRY_ENV
+ );
+ ACE_TRY_CHECK;
+ _tao_server_request.forward_location (exc.forward.in ());
+ }
+ ACE_CATCHANY
+ {
+ ri.exception (&ACE_ANY_EXCEPTION);
+ _tao_vfr.send_exception (
+ &ri,
+ ACE_TRY_ENV
+ );
+ ACE_TRY_CHECK;
+ ACE_RE_THROW;
+ }
+ ACE_ENDTRY;
+ ACE_CHECK;
+#endif /* TAO_HAS_INTERCEPTORS */
+
+ _tao_server_request.init_reply ();
+
+ TAO_OutputCDR &_tao_out = _tao_server_request.outgoing ();
+
+ if (!(
+ (_tao_out << _tao_retval.in ())
+ ))
+ ACE_THROW (CORBA::MARSHAL());
+
+ // In case ACE_TRY_ENV is not used in this function
+ ACE_UNUSED_ARG (ACE_TRY_ENV);
+}
+
+void POA_CORBA::Container::describe_contents_skel (
+ TAO_ServerRequest &_tao_server_request,
+ void *_tao_object_reference,
+ void * /* context */,
+ CORBA::Environment &ACE_TRY_ENV
+ )
+{
+ TAO_InputCDR &_tao_in = _tao_server_request.incoming ();
+ POA_CORBA::Container *_tao_impl = (POA_CORBA::Container *)_tao_object_reference;
+
+ CORBA::Container::DescriptionSeq_var _tao_retval;
+ CORBA::DefinitionKind limit_type;
+ CORBA::Boolean exclude_inherited;
+ CORBA::Long max_returned_objs;
+ if (!(
+ (_tao_in >> limit_type) &&
+ (_tao_in >> CORBA::Any::to_boolean (exclude_inherited)) &&
+ (_tao_in >> max_returned_objs)
+ ))
+ ACE_THROW (CORBA::MARSHAL());
+
+
+#if (TAO_HAS_INTERCEPTORS == 1)
+ TAO_ServerRequestInterceptor_Adapter _tao_vfr (
+ _tao_server_request.orb_core ()->server_request_interceptors (),
+ _tao_server_request.interceptor_count ()
+ );
+
+ POA_CORBA::Container::TAO_ServerRequestInfo_CORBA_Container_describe_contents ri (
+ _tao_server_request,
+ _tao_impl,
+ limit_type,
+ exclude_inherited,
+ max_returned_objs,
+ ACE_TRY_ENV
+ );
+
+ ACE_TRY
+ {
+ _tao_vfr.receive_request (&ri, ACE_TRY_ENV);
+ ACE_TRY_CHECK;
+
+#endif /* TAO_HAS_INTERCEPTORS */
+ _tao_retval =
+ _tao_impl->describe_contents (
+ limit_type,
+ exclude_inherited,
+ max_returned_objs,
+ ACE_TRY_ENV
+ );
+ TAO_INTERCEPTOR_CHECK;
+
+#if (TAO_HAS_INTERCEPTORS == 1)
+ CORBA::Container::DescriptionSeq * _tao_retval_info = _tao_retval._retn ();
+ ri.result (_tao_retval_info);
+ _tao_retval = _tao_retval_info;
+ ri.reply_status (PortableInterceptor::SUCCESSFUL);
+ _tao_vfr.send_reply (&ri, ACE_TRY_ENV);
+ ACE_TRY_CHECK;
+ }
+ ACE_CATCH (PortableInterceptor::ForwardRequest, exc)
+ {
+ ri.forward_reference (exc);
+ _tao_vfr.send_other (
+ &ri,
+ ACE_TRY_ENV
+ );
+ ACE_TRY_CHECK;
+ _tao_server_request.forward_location (exc.forward.in ());
+ }
+ ACE_CATCHANY
+ {
+ ri.exception (&ACE_ANY_EXCEPTION);
+ _tao_vfr.send_exception (
+ &ri,
+ ACE_TRY_ENV
+ );
+ ACE_TRY_CHECK;
+ ACE_RE_THROW;
+ }
+ ACE_ENDTRY;
+ ACE_CHECK;
+#endif /* TAO_HAS_INTERCEPTORS */
+
+ _tao_server_request.init_reply ();
+
+ TAO_OutputCDR &_tao_out = _tao_server_request.outgoing ();
+
+ if (!(
+ (_tao_out << _tao_retval.in ())
+ ))
+ ACE_THROW (CORBA::MARSHAL());
+
+ // In case ACE_TRY_ENV is not used in this function
+ ACE_UNUSED_ARG (ACE_TRY_ENV);
+}
+
+void POA_CORBA::Container::create_module_skel (
+ TAO_ServerRequest &_tao_server_request,
+ void *_tao_object_reference,
+ void * /* context */,
+ CORBA::Environment &ACE_TRY_ENV
+ )
+{
+ TAO_InputCDR &_tao_in = _tao_server_request.incoming ();
+ POA_CORBA::Container *_tao_impl = (POA_CORBA::Container *)_tao_object_reference;
+
+ CORBA::ModuleDef_var _tao_retval;
+ CORBA::String_var id;
+ CORBA::String_var name;
+ CORBA::String_var version;
+ if (!(
+ (_tao_in >> id.out ()) &&
+ (_tao_in >> name.out ()) &&
+ (_tao_in >> version.out ())
+ ))
+ ACE_THROW (CORBA::MARSHAL());
+
+
+#if (TAO_HAS_INTERCEPTORS == 1)
+ TAO_ServerRequestInterceptor_Adapter _tao_vfr (
+ _tao_server_request.orb_core ()->server_request_interceptors (),
+ _tao_server_request.interceptor_count ()
+ );
+
+ POA_CORBA::Container::TAO_ServerRequestInfo_CORBA_Container_create_module ri (
+ _tao_server_request,
+ _tao_impl,
+ id.in (),
+ name.in (),
+ version.in (),
+ ACE_TRY_ENV
+ );
+
+ ACE_TRY
+ {
+ _tao_vfr.receive_request (&ri, ACE_TRY_ENV);
+ ACE_TRY_CHECK;
+
+#endif /* TAO_HAS_INTERCEPTORS */
+ _tao_retval =
+ _tao_impl->create_module (
+ id.in (),
+ name.in (),
+ version.in (),
+ ACE_TRY_ENV
+ );
+ TAO_INTERCEPTOR_CHECK;
+
+#if (TAO_HAS_INTERCEPTORS == 1)
+ CORBA::ModuleDef_ptr _tao_retval_info = _tao_retval._retn ();
+ ri.result (_tao_retval_info);
+ _tao_retval = _tao_retval_info;
+ ri.reply_status (PortableInterceptor::SUCCESSFUL);
+ _tao_vfr.send_reply (&ri, ACE_TRY_ENV);
+ ACE_TRY_CHECK;
+ }
+ ACE_CATCH (PortableInterceptor::ForwardRequest, exc)
+ {
+ ri.forward_reference (exc);
+ _tao_vfr.send_other (
+ &ri,
+ ACE_TRY_ENV
+ );
+ ACE_TRY_CHECK;
+ _tao_server_request.forward_location (exc.forward.in ());
+ }
+ ACE_CATCHANY
+ {
+ ri.exception (&ACE_ANY_EXCEPTION);
+ _tao_vfr.send_exception (
+ &ri,
+ ACE_TRY_ENV
+ );
+ ACE_TRY_CHECK;
+ ACE_RE_THROW;
+ }
+ ACE_ENDTRY;
+ ACE_CHECK;
+#endif /* TAO_HAS_INTERCEPTORS */
+
+ _tao_server_request.init_reply ();
+
+ TAO_OutputCDR &_tao_out = _tao_server_request.outgoing ();
+
+ if (!(
+ (_tao_out << _tao_retval.in ())
+ ))
+ ACE_THROW (CORBA::MARSHAL());
+
+ // In case ACE_TRY_ENV is not used in this function
+ ACE_UNUSED_ARG (ACE_TRY_ENV);
+}
+
+void POA_CORBA::Container::create_constant_skel (
+ TAO_ServerRequest &_tao_server_request,
+ void *_tao_object_reference,
+ void * /* context */,
+ CORBA::Environment &ACE_TRY_ENV
+ )
+{
+ TAO_InputCDR &_tao_in = _tao_server_request.incoming ();
+ POA_CORBA::Container *_tao_impl = (POA_CORBA::Container *)_tao_object_reference;
+
+ CORBA::ConstantDef_var _tao_retval;
+ CORBA::String_var id;
+ CORBA::String_var name;
+ CORBA::String_var version;
+ CORBA::IDLType_var type;
+ CORBA::Any value;
+ if (!(
+ (_tao_in >> id.out ()) &&
+ (_tao_in >> name.out ()) &&
+ (_tao_in >> version.out ()) &&
+ (_tao_in >> type.out ()) &&
+ (_tao_in >> value)
+ ))
+ ACE_THROW (CORBA::MARSHAL());
+
+
+#if (TAO_HAS_INTERCEPTORS == 1)
+ TAO_ServerRequestInterceptor_Adapter _tao_vfr (
+ _tao_server_request.orb_core ()->server_request_interceptors (),
+ _tao_server_request.interceptor_count ()
+ );
+
+ POA_CORBA::Container::TAO_ServerRequestInfo_CORBA_Container_create_constant ri (
+ _tao_server_request,
+ _tao_impl,
+ id.in (),
+ name.in (),
+ version.in (),
+ type.in (),
+ value,
+ ACE_TRY_ENV
+ );
+
+ ACE_TRY
+ {
+ _tao_vfr.receive_request (&ri, ACE_TRY_ENV);
+ ACE_TRY_CHECK;
+
+#endif /* TAO_HAS_INTERCEPTORS */
+ _tao_retval =
+ _tao_impl->create_constant (
+ id.in (),
+ name.in (),
+ version.in (),
+ type.in (),
+ value,
+ ACE_TRY_ENV
+ );
+ TAO_INTERCEPTOR_CHECK;
+
+#if (TAO_HAS_INTERCEPTORS == 1)
+ CORBA::ConstantDef_ptr _tao_retval_info = _tao_retval._retn ();
+ ri.result (_tao_retval_info);
+ _tao_retval = _tao_retval_info;
+ ri.reply_status (PortableInterceptor::SUCCESSFUL);
+ _tao_vfr.send_reply (&ri, ACE_TRY_ENV);
+ ACE_TRY_CHECK;
+ }
+ ACE_CATCH (PortableInterceptor::ForwardRequest, exc)
+ {
+ ri.forward_reference (exc);
+ _tao_vfr.send_other (
+ &ri,
+ ACE_TRY_ENV
+ );
+ ACE_TRY_CHECK;
+ _tao_server_request.forward_location (exc.forward.in ());
+ }
+ ACE_CATCHANY
+ {
+ ri.exception (&ACE_ANY_EXCEPTION);
+ _tao_vfr.send_exception (
+ &ri,
+ ACE_TRY_ENV
+ );
+ ACE_TRY_CHECK;
+ ACE_RE_THROW;
+ }
+ ACE_ENDTRY;
+ ACE_CHECK;
+#endif /* TAO_HAS_INTERCEPTORS */
+
+ _tao_server_request.init_reply ();
+
+ TAO_OutputCDR &_tao_out = _tao_server_request.outgoing ();
+
+ if (!(
+ (_tao_out << _tao_retval.in ())
+ ))
+ ACE_THROW (CORBA::MARSHAL());
+
+ // In case ACE_TRY_ENV is not used in this function
+ ACE_UNUSED_ARG (ACE_TRY_ENV);
+}
+
+void POA_CORBA::Container::create_struct_skel (
+ TAO_ServerRequest &_tao_server_request,
+ void *_tao_object_reference,
+ void * /* context */,
+ CORBA::Environment &ACE_TRY_ENV
+ )
+{
+ TAO_InputCDR &_tao_in = _tao_server_request.incoming ();
+ POA_CORBA::Container *_tao_impl = (POA_CORBA::Container *)_tao_object_reference;
+
+ CORBA::StructDef_var _tao_retval;
+ CORBA::String_var id;
+ CORBA::String_var name;
+ CORBA::String_var version;
+ CORBA::StructMemberSeq members;
+ if (!(
+ (_tao_in >> id.out ()) &&
+ (_tao_in >> name.out ()) &&
+ (_tao_in >> version.out ()) &&
+ (_tao_in >> members)
+ ))
+ ACE_THROW (CORBA::MARSHAL());
+
+
+#if (TAO_HAS_INTERCEPTORS == 1)
+ TAO_ServerRequestInterceptor_Adapter _tao_vfr (
+ _tao_server_request.orb_core ()->server_request_interceptors (),
+ _tao_server_request.interceptor_count ()
+ );
+
+ POA_CORBA::Container::TAO_ServerRequestInfo_CORBA_Container_create_struct ri (
+ _tao_server_request,
+ _tao_impl,
+ id.in (),
+ name.in (),
+ version.in (),
+ members,
+ ACE_TRY_ENV
+ );
+
+ ACE_TRY
+ {
+ _tao_vfr.receive_request (&ri, ACE_TRY_ENV);
+ ACE_TRY_CHECK;
+
+#endif /* TAO_HAS_INTERCEPTORS */
+ _tao_retval =
+ _tao_impl->create_struct (
+ id.in (),
+ name.in (),
+ version.in (),
+ members,
+ ACE_TRY_ENV
+ );
+ TAO_INTERCEPTOR_CHECK;
+
+#if (TAO_HAS_INTERCEPTORS == 1)
+ CORBA::StructDef_ptr _tao_retval_info = _tao_retval._retn ();
+ ri.result (_tao_retval_info);
+ _tao_retval = _tao_retval_info;
+ ri.reply_status (PortableInterceptor::SUCCESSFUL);
+ _tao_vfr.send_reply (&ri, ACE_TRY_ENV);
+ ACE_TRY_CHECK;
+ }
+ ACE_CATCH (PortableInterceptor::ForwardRequest, exc)
+ {
+ ri.forward_reference (exc);
+ _tao_vfr.send_other (
+ &ri,
+ ACE_TRY_ENV
+ );
+ ACE_TRY_CHECK;
+ _tao_server_request.forward_location (exc.forward.in ());
+ }
+ ACE_CATCHANY
+ {
+ ri.exception (&ACE_ANY_EXCEPTION);
+ _tao_vfr.send_exception (
+ &ri,
+ ACE_TRY_ENV
+ );
+ ACE_TRY_CHECK;
+ ACE_RE_THROW;
+ }
+ ACE_ENDTRY;
+ ACE_CHECK;
+#endif /* TAO_HAS_INTERCEPTORS */
+
+ _tao_server_request.init_reply ();
+
+ TAO_OutputCDR &_tao_out = _tao_server_request.outgoing ();
+
+ if (!(
+ (_tao_out << _tao_retval.in ())
+ ))
+ ACE_THROW (CORBA::MARSHAL());
+
+ // In case ACE_TRY_ENV is not used in this function
+ ACE_UNUSED_ARG (ACE_TRY_ENV);
+}
+
+void POA_CORBA::Container::create_union_skel (
+ TAO_ServerRequest &_tao_server_request,
+ void *_tao_object_reference,
+ void * /* context */,
+ CORBA::Environment &ACE_TRY_ENV
+ )
+{
+ TAO_InputCDR &_tao_in = _tao_server_request.incoming ();
+ POA_CORBA::Container *_tao_impl = (POA_CORBA::Container *)_tao_object_reference;
+
+ CORBA::UnionDef_var _tao_retval;
+ CORBA::String_var id;
+ CORBA::String_var name;
+ CORBA::String_var version;
+ CORBA::IDLType_var discriminator_type;
+ CORBA::UnionMemberSeq members;
+ if (!(
+ (_tao_in >> id.out ()) &&
+ (_tao_in >> name.out ()) &&
+ (_tao_in >> version.out ()) &&
+ (_tao_in >> discriminator_type.out ()) &&
+ (_tao_in >> members)
+ ))
+ ACE_THROW (CORBA::MARSHAL());
+
+
+#if (TAO_HAS_INTERCEPTORS == 1)
+ TAO_ServerRequestInterceptor_Adapter _tao_vfr (
+ _tao_server_request.orb_core ()->server_request_interceptors (),
+ _tao_server_request.interceptor_count ()
+ );
+
+ POA_CORBA::Container::TAO_ServerRequestInfo_CORBA_Container_create_union ri (
+ _tao_server_request,
+ _tao_impl,
+ id.in (),
+ name.in (),
+ version.in (),
+ discriminator_type.in (),
+ members,
+ ACE_TRY_ENV
+ );
+
+ ACE_TRY
+ {
+ _tao_vfr.receive_request (&ri, ACE_TRY_ENV);
+ ACE_TRY_CHECK;
+
+#endif /* TAO_HAS_INTERCEPTORS */
+ _tao_retval =
+ _tao_impl->create_union (
+ id.in (),
+ name.in (),
+ version.in (),
+ discriminator_type.in (),
+ members,
+ ACE_TRY_ENV
+ );
+ TAO_INTERCEPTOR_CHECK;
+
+#if (TAO_HAS_INTERCEPTORS == 1)
+ CORBA::UnionDef_ptr _tao_retval_info = _tao_retval._retn ();
+ ri.result (_tao_retval_info);
+ _tao_retval = _tao_retval_info;
+ ri.reply_status (PortableInterceptor::SUCCESSFUL);
+ _tao_vfr.send_reply (&ri, ACE_TRY_ENV);
+ ACE_TRY_CHECK;
+ }
+ ACE_CATCH (PortableInterceptor::ForwardRequest, exc)
+ {
+ ri.forward_reference (exc);
+ _tao_vfr.send_other (
+ &ri,
+ ACE_TRY_ENV
+ );
+ ACE_TRY_CHECK;
+ _tao_server_request.forward_location (exc.forward.in ());
+ }
+ ACE_CATCHANY
+ {
+ ri.exception (&ACE_ANY_EXCEPTION);
+ _tao_vfr.send_exception (
+ &ri,
+ ACE_TRY_ENV
+ );
+ ACE_TRY_CHECK;
+ ACE_RE_THROW;
+ }
+ ACE_ENDTRY;
+ ACE_CHECK;
+#endif /* TAO_HAS_INTERCEPTORS */
+
+ _tao_server_request.init_reply ();
+
+ TAO_OutputCDR &_tao_out = _tao_server_request.outgoing ();
+
+ if (!(
+ (_tao_out << _tao_retval.in ())
+ ))
+ ACE_THROW (CORBA::MARSHAL());
+
+ // In case ACE_TRY_ENV is not used in this function
+ ACE_UNUSED_ARG (ACE_TRY_ENV);
+}
+
+void POA_CORBA::Container::create_enum_skel (
+ TAO_ServerRequest &_tao_server_request,
+ void *_tao_object_reference,
+ void * /* context */,
+ CORBA::Environment &ACE_TRY_ENV
+ )
+{
+ TAO_InputCDR &_tao_in = _tao_server_request.incoming ();
+ POA_CORBA::Container *_tao_impl = (POA_CORBA::Container *)_tao_object_reference;
+
+ CORBA::EnumDef_var _tao_retval;
+ CORBA::String_var id;
+ CORBA::String_var name;
+ CORBA::String_var version;
+ CORBA::EnumMemberSeq members;
+ if (!(
+ (_tao_in >> id.out ()) &&
+ (_tao_in >> name.out ()) &&
+ (_tao_in >> version.out ()) &&
+ (_tao_in >> members)
+ ))
+ ACE_THROW (CORBA::MARSHAL());
+
+
+#if (TAO_HAS_INTERCEPTORS == 1)
+ TAO_ServerRequestInterceptor_Adapter _tao_vfr (
+ _tao_server_request.orb_core ()->server_request_interceptors (),
+ _tao_server_request.interceptor_count ()
+ );
+
+ POA_CORBA::Container::TAO_ServerRequestInfo_CORBA_Container_create_enum ri (
+ _tao_server_request,
+ _tao_impl,
+ id.in (),
+ name.in (),
+ version.in (),
+ members,
+ ACE_TRY_ENV
+ );
+
+ ACE_TRY
+ {
+ _tao_vfr.receive_request (&ri, ACE_TRY_ENV);
+ ACE_TRY_CHECK;
+
+#endif /* TAO_HAS_INTERCEPTORS */
+ _tao_retval =
+ _tao_impl->create_enum (
+ id.in (),
+ name.in (),
+ version.in (),
+ members,
+ ACE_TRY_ENV
+ );
+ TAO_INTERCEPTOR_CHECK;
+
+#if (TAO_HAS_INTERCEPTORS == 1)
+ CORBA::EnumDef_ptr _tao_retval_info = _tao_retval._retn ();
+ ri.result (_tao_retval_info);
+ _tao_retval = _tao_retval_info;
+ ri.reply_status (PortableInterceptor::SUCCESSFUL);
+ _tao_vfr.send_reply (&ri, ACE_TRY_ENV);
+ ACE_TRY_CHECK;
+ }
+ ACE_CATCH (PortableInterceptor::ForwardRequest, exc)
+ {
+ ri.forward_reference (exc);
+ _tao_vfr.send_other (
+ &ri,
+ ACE_TRY_ENV
+ );
+ ACE_TRY_CHECK;
+ _tao_server_request.forward_location (exc.forward.in ());
+ }
+ ACE_CATCHANY
+ {
+ ri.exception (&ACE_ANY_EXCEPTION);
+ _tao_vfr.send_exception (
+ &ri,
+ ACE_TRY_ENV
+ );
+ ACE_TRY_CHECK;
+ ACE_RE_THROW;
+ }
+ ACE_ENDTRY;
+ ACE_CHECK;
+#endif /* TAO_HAS_INTERCEPTORS */
+
+ _tao_server_request.init_reply ();
+
+ TAO_OutputCDR &_tao_out = _tao_server_request.outgoing ();
+
+ if (!(
+ (_tao_out << _tao_retval.in ())
+ ))
+ ACE_THROW (CORBA::MARSHAL());
+
+ // In case ACE_TRY_ENV is not used in this function
+ ACE_UNUSED_ARG (ACE_TRY_ENV);
+}
+
+void POA_CORBA::Container::create_alias_skel (
+ TAO_ServerRequest &_tao_server_request,
+ void *_tao_object_reference,
+ void * /* context */,
+ CORBA::Environment &ACE_TRY_ENV
+ )
+{
+ TAO_InputCDR &_tao_in = _tao_server_request.incoming ();
+ POA_CORBA::Container *_tao_impl = (POA_CORBA::Container *)_tao_object_reference;
+
+ CORBA::AliasDef_var _tao_retval;
+ CORBA::String_var id;
+ CORBA::String_var name;
+ CORBA::String_var version;
+ CORBA::IDLType_var original_type;
+ if (!(
+ (_tao_in >> id.out ()) &&
+ (_tao_in >> name.out ()) &&
+ (_tao_in >> version.out ()) &&
+ (_tao_in >> original_type.out ())
+ ))
+ ACE_THROW (CORBA::MARSHAL());
+
+
+#if (TAO_HAS_INTERCEPTORS == 1)
+ TAO_ServerRequestInterceptor_Adapter _tao_vfr (
+ _tao_server_request.orb_core ()->server_request_interceptors (),
+ _tao_server_request.interceptor_count ()
+ );
+
+ POA_CORBA::Container::TAO_ServerRequestInfo_CORBA_Container_create_alias ri (
+ _tao_server_request,
+ _tao_impl,
+ id.in (),
+ name.in (),
+ version.in (),
+ original_type.in (),
+ ACE_TRY_ENV
+ );
+
+ ACE_TRY
+ {
+ _tao_vfr.receive_request (&ri, ACE_TRY_ENV);
+ ACE_TRY_CHECK;
+
+#endif /* TAO_HAS_INTERCEPTORS */
+ _tao_retval =
+ _tao_impl->create_alias (
+ id.in (),
+ name.in (),
+ version.in (),
+ original_type.in (),
+ ACE_TRY_ENV
+ );
+ TAO_INTERCEPTOR_CHECK;
+
+#if (TAO_HAS_INTERCEPTORS == 1)
+ CORBA::AliasDef_ptr _tao_retval_info = _tao_retval._retn ();
+ ri.result (_tao_retval_info);
+ _tao_retval = _tao_retval_info;
+ ri.reply_status (PortableInterceptor::SUCCESSFUL);
+ _tao_vfr.send_reply (&ri, ACE_TRY_ENV);
+ ACE_TRY_CHECK;
+ }
+ ACE_CATCH (PortableInterceptor::ForwardRequest, exc)
+ {
+ ri.forward_reference (exc);
+ _tao_vfr.send_other (
+ &ri,
+ ACE_TRY_ENV
+ );
+ ACE_TRY_CHECK;
+ _tao_server_request.forward_location (exc.forward.in ());
+ }
+ ACE_CATCHANY
+ {
+ ri.exception (&ACE_ANY_EXCEPTION);
+ _tao_vfr.send_exception (
+ &ri,
+ ACE_TRY_ENV
+ );
+ ACE_TRY_CHECK;
+ ACE_RE_THROW;
+ }
+ ACE_ENDTRY;
+ ACE_CHECK;
+#endif /* TAO_HAS_INTERCEPTORS */
+
+ _tao_server_request.init_reply ();
+
+ TAO_OutputCDR &_tao_out = _tao_server_request.outgoing ();
+
+ if (!(
+ (_tao_out << _tao_retval.in ())
+ ))
+ ACE_THROW (CORBA::MARSHAL());
+
+ // In case ACE_TRY_ENV is not used in this function
+ ACE_UNUSED_ARG (ACE_TRY_ENV);
+}
+
+void POA_CORBA::Container::create_interface_skel (
+ TAO_ServerRequest &_tao_server_request,
+ void *_tao_object_reference,
+ void * /* context */,
+ CORBA::Environment &ACE_TRY_ENV
+ )
+{
+ TAO_InputCDR &_tao_in = _tao_server_request.incoming ();
+ POA_CORBA::Container *_tao_impl = (POA_CORBA::Container *)_tao_object_reference;
+
+ CORBA::InterfaceDef_var _tao_retval;
+ CORBA::String_var id;
+ CORBA::String_var name;
+ CORBA::String_var version;
+ CORBA::InterfaceDefSeq base_interfaces;
+ if (!(
+ (_tao_in >> id.out ()) &&
+ (_tao_in >> name.out ()) &&
+ (_tao_in >> version.out ()) &&
+ (_tao_in >> base_interfaces)
+ ))
+ ACE_THROW (CORBA::MARSHAL());
+
+
+#if (TAO_HAS_INTERCEPTORS == 1)
+ TAO_ServerRequestInterceptor_Adapter _tao_vfr (
+ _tao_server_request.orb_core ()->server_request_interceptors (),
+ _tao_server_request.interceptor_count ()
+ );
+
+ POA_CORBA::Container::TAO_ServerRequestInfo_CORBA_Container_create_interface ri (
+ _tao_server_request,
+ _tao_impl,
+ id.in (),
+ name.in (),
+ version.in (),
+ base_interfaces,
+ ACE_TRY_ENV
+ );
+
+ ACE_TRY
+ {
+ _tao_vfr.receive_request (&ri, ACE_TRY_ENV);
+ ACE_TRY_CHECK;
+
+#endif /* TAO_HAS_INTERCEPTORS */
+ _tao_retval =
+ _tao_impl->create_interface (
+ id.in (),
+ name.in (),
+ version.in (),
+ base_interfaces,
+ ACE_TRY_ENV
+ );
+ TAO_INTERCEPTOR_CHECK;
+
+#if (TAO_HAS_INTERCEPTORS == 1)
+ CORBA::InterfaceDef_ptr _tao_retval_info = _tao_retval._retn ();
+ ri.result (_tao_retval_info);
+ _tao_retval = _tao_retval_info;
+ ri.reply_status (PortableInterceptor::SUCCESSFUL);
+ _tao_vfr.send_reply (&ri, ACE_TRY_ENV);
+ ACE_TRY_CHECK;
+ }
+ ACE_CATCH (PortableInterceptor::ForwardRequest, exc)
+ {
+ ri.forward_reference (exc);
+ _tao_vfr.send_other (
+ &ri,
+ ACE_TRY_ENV
+ );
+ ACE_TRY_CHECK;
+ _tao_server_request.forward_location (exc.forward.in ());
+ }
+ ACE_CATCHANY
+ {
+ ri.exception (&ACE_ANY_EXCEPTION);
+ _tao_vfr.send_exception (
+ &ri,
+ ACE_TRY_ENV
+ );
+ ACE_TRY_CHECK;
+ ACE_RE_THROW;
+ }
+ ACE_ENDTRY;
+ ACE_CHECK;
+#endif /* TAO_HAS_INTERCEPTORS */
+
+ _tao_server_request.init_reply ();
+
+ TAO_OutputCDR &_tao_out = _tao_server_request.outgoing ();
+
+ if (!(
+ (_tao_out << _tao_retval.in ())
+ ))
+ ACE_THROW (CORBA::MARSHAL());
+
+ // In case ACE_TRY_ENV is not used in this function
+ ACE_UNUSED_ARG (ACE_TRY_ENV);
+}
+
+void POA_CORBA::Container::create_value_skel (
+ TAO_ServerRequest &_tao_server_request,
+ void *_tao_object_reference,
+ void * /* context */,
+ CORBA::Environment &ACE_TRY_ENV
+ )
+{
+ TAO_InputCDR &_tao_in = _tao_server_request.incoming ();
+ POA_CORBA::Container *_tao_impl = (POA_CORBA::Container *)_tao_object_reference;
+
+ CORBA::ValueDef_var _tao_retval;
+ CORBA::String_var id;
+ CORBA::String_var name;
+ CORBA::String_var version;
+ CORBA::Boolean is_custom;
+ CORBA::Boolean is_abstract;
+ CORBA::ValueDef_var base_value;
+ CORBA::Boolean is_truncatable;
+ CORBA::ValueDefSeq abstract_base_values;
+ CORBA::InterfaceDefSeq supported_interfaces;
+ CORBA::InitializerSeq initializers;
+ if (!(
+ (_tao_in >> id.out ()) &&
+ (_tao_in >> name.out ()) &&
+ (_tao_in >> version.out ()) &&
+ (_tao_in >> CORBA::Any::to_boolean (is_custom)) &&
+ (_tao_in >> CORBA::Any::to_boolean (is_abstract)) &&
+ (_tao_in >> base_value.out ()) &&
+ (_tao_in >> CORBA::Any::to_boolean (is_truncatable)) &&
+ (_tao_in >> abstract_base_values) &&
+ (_tao_in >> supported_interfaces) &&
+ (_tao_in >> initializers)
+ ))
+ ACE_THROW (CORBA::MARSHAL());
+
+
+#if (TAO_HAS_INTERCEPTORS == 1)
+ TAO_ServerRequestInterceptor_Adapter _tao_vfr (
+ _tao_server_request.orb_core ()->server_request_interceptors (),
+ _tao_server_request.interceptor_count ()
+ );
+
+ POA_CORBA::Container::TAO_ServerRequestInfo_CORBA_Container_create_value ri (
+ _tao_server_request,
+ _tao_impl,
+ id.in (),
+ name.in (),
+ version.in (),
+ is_custom,
+ is_abstract,
+ base_value.in (),
+ is_truncatable,
+ abstract_base_values,
+ supported_interfaces,
+ initializers,
+ ACE_TRY_ENV
+ );
+
+ ACE_TRY
+ {
+ _tao_vfr.receive_request (&ri, ACE_TRY_ENV);
+ ACE_TRY_CHECK;
+
+#endif /* TAO_HAS_INTERCEPTORS */
+ _tao_retval =
+ _tao_impl->create_value (
+ id.in (),
+ name.in (),
+ version.in (),
+ is_custom,
+ is_abstract,
+ base_value.in (),
+ is_truncatable,
+ abstract_base_values,
+ supported_interfaces,
+ initializers,
+ ACE_TRY_ENV
+ );
+ TAO_INTERCEPTOR_CHECK;
+
+#if (TAO_HAS_INTERCEPTORS == 1)
+ CORBA::ValueDef_ptr _tao_retval_info = _tao_retval._retn ();
+ ri.result (_tao_retval_info);
+ _tao_retval = _tao_retval_info;
+ ri.reply_status (PortableInterceptor::SUCCESSFUL);
+ _tao_vfr.send_reply (&ri, ACE_TRY_ENV);
+ ACE_TRY_CHECK;
+ }
+ ACE_CATCH (PortableInterceptor::ForwardRequest, exc)
+ {
+ ri.forward_reference (exc);
+ _tao_vfr.send_other (
+ &ri,
+ ACE_TRY_ENV
+ );
+ ACE_TRY_CHECK;
+ _tao_server_request.forward_location (exc.forward.in ());
+ }
+ ACE_CATCHANY
+ {
+ ri.exception (&ACE_ANY_EXCEPTION);
+ _tao_vfr.send_exception (
+ &ri,
+ ACE_TRY_ENV
+ );
+ ACE_TRY_CHECK;
+ ACE_RE_THROW;
+ }
+ ACE_ENDTRY;
+ ACE_CHECK;
+#endif /* TAO_HAS_INTERCEPTORS */
+
+ _tao_server_request.init_reply ();
+
+ TAO_OutputCDR &_tao_out = _tao_server_request.outgoing ();
+
+ if (!(
+ (_tao_out << _tao_retval.in ())
+ ))
+ ACE_THROW (CORBA::MARSHAL());
+
+ // In case ACE_TRY_ENV is not used in this function
+ ACE_UNUSED_ARG (ACE_TRY_ENV);
+}
+
+void POA_CORBA::Container::create_value_box_skel (
+ TAO_ServerRequest &_tao_server_request,
+ void *_tao_object_reference,
+ void * /* context */,
+ CORBA::Environment &ACE_TRY_ENV
+ )
+{
+ TAO_InputCDR &_tao_in = _tao_server_request.incoming ();
+ POA_CORBA::Container *_tao_impl = (POA_CORBA::Container *)_tao_object_reference;
+
+ CORBA::ValueBoxDef_var _tao_retval;
+ CORBA::String_var id;
+ CORBA::String_var name;
+ CORBA::String_var version;
+ CORBA::IDLType_var original_type_def;
+ if (!(
+ (_tao_in >> id.out ()) &&
+ (_tao_in >> name.out ()) &&
+ (_tao_in >> version.out ()) &&
+ (_tao_in >> original_type_def.out ())
+ ))
+ ACE_THROW (CORBA::MARSHAL());
+
+
+#if (TAO_HAS_INTERCEPTORS == 1)
+ TAO_ServerRequestInterceptor_Adapter _tao_vfr (
+ _tao_server_request.orb_core ()->server_request_interceptors (),
+ _tao_server_request.interceptor_count ()
+ );
+
+ POA_CORBA::Container::TAO_ServerRequestInfo_CORBA_Container_create_value_box ri (
+ _tao_server_request,
+ _tao_impl,
+ id.in (),
+ name.in (),
+ version.in (),
+ original_type_def.in (),
+ ACE_TRY_ENV
+ );
+
+ ACE_TRY
+ {
+ _tao_vfr.receive_request (&ri, ACE_TRY_ENV);
+ ACE_TRY_CHECK;
+
+#endif /* TAO_HAS_INTERCEPTORS */
+ _tao_retval =
+ _tao_impl->create_value_box (
+ id.in (),
+ name.in (),
+ version.in (),
+ original_type_def.in (),
+ ACE_TRY_ENV
+ );
+ TAO_INTERCEPTOR_CHECK;
+
+#if (TAO_HAS_INTERCEPTORS == 1)
+ CORBA::ValueBoxDef_ptr _tao_retval_info = _tao_retval._retn ();
+ ri.result (_tao_retval_info);
+ _tao_retval = _tao_retval_info;
+ ri.reply_status (PortableInterceptor::SUCCESSFUL);
+ _tao_vfr.send_reply (&ri, ACE_TRY_ENV);
+ ACE_TRY_CHECK;
+ }
+ ACE_CATCH (PortableInterceptor::ForwardRequest, exc)
+ {
+ ri.forward_reference (exc);
+ _tao_vfr.send_other (
+ &ri,
+ ACE_TRY_ENV
+ );
+ ACE_TRY_CHECK;
+ _tao_server_request.forward_location (exc.forward.in ());
+ }
+ ACE_CATCHANY
+ {
+ ri.exception (&ACE_ANY_EXCEPTION);
+ _tao_vfr.send_exception (
+ &ri,
+ ACE_TRY_ENV
+ );
+ ACE_TRY_CHECK;
+ ACE_RE_THROW;
+ }
+ ACE_ENDTRY;
+ ACE_CHECK;
+#endif /* TAO_HAS_INTERCEPTORS */
+
+ _tao_server_request.init_reply ();
+
+ TAO_OutputCDR &_tao_out = _tao_server_request.outgoing ();
+
+ if (!(
+ (_tao_out << _tao_retval.in ())
+ ))
+ ACE_THROW (CORBA::MARSHAL());
+
+ // In case ACE_TRY_ENV is not used in this function
+ ACE_UNUSED_ARG (ACE_TRY_ENV);
+}
+
+void POA_CORBA::Container::create_exception_skel (
+ TAO_ServerRequest &_tao_server_request,
+ void *_tao_object_reference,
+ void * /* context */,
+ CORBA::Environment &ACE_TRY_ENV
+ )
+{
+ TAO_InputCDR &_tao_in = _tao_server_request.incoming ();
+ POA_CORBA::Container *_tao_impl = (POA_CORBA::Container *)_tao_object_reference;
+
+ CORBA::ExceptionDef_var _tao_retval;
+ CORBA::String_var id;
+ CORBA::String_var name;
+ CORBA::String_var version;
+ CORBA::StructMemberSeq members;
+ if (!(
+ (_tao_in >> id.out ()) &&
+ (_tao_in >> name.out ()) &&
+ (_tao_in >> version.out ()) &&
+ (_tao_in >> members)
+ ))
+ ACE_THROW (CORBA::MARSHAL());
+
+
+#if (TAO_HAS_INTERCEPTORS == 1)
+ TAO_ServerRequestInterceptor_Adapter _tao_vfr (
+ _tao_server_request.orb_core ()->server_request_interceptors (),
+ _tao_server_request.interceptor_count ()
+ );
+
+ POA_CORBA::Container::TAO_ServerRequestInfo_CORBA_Container_create_exception ri (
+ _tao_server_request,
+ _tao_impl,
+ id.in (),
+ name.in (),
+ version.in (),
+ members,
+ ACE_TRY_ENV
+ );
+
+ ACE_TRY
+ {
+ _tao_vfr.receive_request (&ri, ACE_TRY_ENV);
+ ACE_TRY_CHECK;
+
+#endif /* TAO_HAS_INTERCEPTORS */
+ _tao_retval =
+ _tao_impl->create_exception (
+ id.in (),
+ name.in (),
+ version.in (),
+ members,
+ ACE_TRY_ENV
+ );
+ TAO_INTERCEPTOR_CHECK;
+
+#if (TAO_HAS_INTERCEPTORS == 1)
+ CORBA::ExceptionDef_ptr _tao_retval_info = _tao_retval._retn ();
+ ri.result (_tao_retval_info);
+ _tao_retval = _tao_retval_info;
+ ri.reply_status (PortableInterceptor::SUCCESSFUL);
+ _tao_vfr.send_reply (&ri, ACE_TRY_ENV);
+ ACE_TRY_CHECK;
+ }
+ ACE_CATCH (PortableInterceptor::ForwardRequest, exc)
+ {
+ ri.forward_reference (exc);
+ _tao_vfr.send_other (
+ &ri,
+ ACE_TRY_ENV
+ );
+ ACE_TRY_CHECK;
+ _tao_server_request.forward_location (exc.forward.in ());
+ }
+ ACE_CATCHANY
+ {
+ ri.exception (&ACE_ANY_EXCEPTION);
+ _tao_vfr.send_exception (
+ &ri,
+ ACE_TRY_ENV
+ );
+ ACE_TRY_CHECK;
+ ACE_RE_THROW;
+ }
+ ACE_ENDTRY;
+ ACE_CHECK;
+#endif /* TAO_HAS_INTERCEPTORS */
+
+ _tao_server_request.init_reply ();
+
+ TAO_OutputCDR &_tao_out = _tao_server_request.outgoing ();
+
+ if (!(
+ (_tao_out << _tao_retval.in ())
+ ))
+ ACE_THROW (CORBA::MARSHAL());
+
+ // In case ACE_TRY_ENV is not used in this function
+ ACE_UNUSED_ARG (ACE_TRY_ENV);
+}
+
+void POA_CORBA::Container::create_native_skel (
+ TAO_ServerRequest &_tao_server_request,
+ void *_tao_object_reference,
+ void * /* context */,
+ CORBA::Environment &ACE_TRY_ENV
+ )
+{
+ TAO_InputCDR &_tao_in = _tao_server_request.incoming ();
+ POA_CORBA::Container *_tao_impl = (POA_CORBA::Container *)_tao_object_reference;
+
+ CORBA::NativeDef_var _tao_retval;
+ CORBA::String_var id;
+ CORBA::String_var name;
+ CORBA::String_var version;
+ if (!(
+ (_tao_in >> id.out ()) &&
+ (_tao_in >> name.out ()) &&
+ (_tao_in >> version.out ())
+ ))
+ ACE_THROW (CORBA::MARSHAL());
+
+
+#if (TAO_HAS_INTERCEPTORS == 1)
+ TAO_ServerRequestInterceptor_Adapter _tao_vfr (
+ _tao_server_request.orb_core ()->server_request_interceptors (),
+ _tao_server_request.interceptor_count ()
+ );
+
+ POA_CORBA::Container::TAO_ServerRequestInfo_CORBA_Container_create_native ri (
+ _tao_server_request,
+ _tao_impl,
+ id.in (),
+ name.in (),
+ version.in (),
+ ACE_TRY_ENV
+ );
+
+ ACE_TRY
+ {
+ _tao_vfr.receive_request (&ri, ACE_TRY_ENV);
+ ACE_TRY_CHECK;
+
+#endif /* TAO_HAS_INTERCEPTORS */
+ _tao_retval =
+ _tao_impl->create_native (
+ id.in (),
+ name.in (),
+ version.in (),
+ ACE_TRY_ENV
+ );
+ TAO_INTERCEPTOR_CHECK;
+
+#if (TAO_HAS_INTERCEPTORS == 1)
+ CORBA::NativeDef_ptr _tao_retval_info = _tao_retval._retn ();
+ ri.result (_tao_retval_info);
+ _tao_retval = _tao_retval_info;
+ ri.reply_status (PortableInterceptor::SUCCESSFUL);
+ _tao_vfr.send_reply (&ri, ACE_TRY_ENV);
+ ACE_TRY_CHECK;
+ }
+ ACE_CATCH (PortableInterceptor::ForwardRequest, exc)
+ {
+ ri.forward_reference (exc);
+ _tao_vfr.send_other (
+ &ri,
+ ACE_TRY_ENV
+ );
+ ACE_TRY_CHECK;
+ _tao_server_request.forward_location (exc.forward.in ());
+ }
+ ACE_CATCHANY
+ {
+ ri.exception (&ACE_ANY_EXCEPTION);
+ _tao_vfr.send_exception (
+ &ri,
+ ACE_TRY_ENV
+ );
+ ACE_TRY_CHECK;
+ ACE_RE_THROW;
+ }
+ ACE_ENDTRY;
+ ACE_CHECK;
+#endif /* TAO_HAS_INTERCEPTORS */
+
+ _tao_server_request.init_reply ();
+
+ TAO_OutputCDR &_tao_out = _tao_server_request.outgoing ();
+
+ if (!(
+ (_tao_out << _tao_retval.in ())
+ ))
+ ACE_THROW (CORBA::MARSHAL());
+
+ // In case ACE_TRY_ENV is not used in this function
+ ACE_UNUSED_ARG (ACE_TRY_ENV);
+}
+
+void POA_CORBA::Container::create_abstract_interface_skel (
+ TAO_ServerRequest &_tao_server_request,
+ void *_tao_object_reference,
+ void * /* context */,
+ CORBA::Environment &ACE_TRY_ENV
+ )
+{
+ TAO_InputCDR &_tao_in = _tao_server_request.incoming ();
+ POA_CORBA::Container *_tao_impl = (POA_CORBA::Container *)_tao_object_reference;
+
+ CORBA::AbstractInterfaceDef_var _tao_retval;
+ CORBA::String_var id;
+ CORBA::String_var name;
+ CORBA::String_var version;
+ CORBA::AbstractInterfaceDefSeq base_interfaces;
+ if (!(
+ (_tao_in >> id.out ()) &&
+ (_tao_in >> name.out ()) &&
+ (_tao_in >> version.out ()) &&
+ (_tao_in >> base_interfaces)
+ ))
+ ACE_THROW (CORBA::MARSHAL());
+
+
+#if (TAO_HAS_INTERCEPTORS == 1)
+ TAO_ServerRequestInterceptor_Adapter _tao_vfr (
+ _tao_server_request.orb_core ()->server_request_interceptors (),
+ _tao_server_request.interceptor_count ()
+ );
+
+ POA_CORBA::Container::TAO_ServerRequestInfo_CORBA_Container_create_abstract_interface ri (
+ _tao_server_request,
+ _tao_impl,
+ id.in (),
+ name.in (),
+ version.in (),
+ base_interfaces,
+ ACE_TRY_ENV
+ );
+
+ ACE_TRY
+ {
+ _tao_vfr.receive_request (&ri, ACE_TRY_ENV);
+ ACE_TRY_CHECK;
+
+#endif /* TAO_HAS_INTERCEPTORS */
+ _tao_retval =
+ _tao_impl->create_abstract_interface (
+ id.in (),
+ name.in (),
+ version.in (),
+ base_interfaces,
+ ACE_TRY_ENV
+ );
+ TAO_INTERCEPTOR_CHECK;
+
+#if (TAO_HAS_INTERCEPTORS == 1)
+ CORBA::AbstractInterfaceDef_ptr _tao_retval_info = _tao_retval._retn ();
+ ri.result (_tao_retval_info);
+ _tao_retval = _tao_retval_info;
+ ri.reply_status (PortableInterceptor::SUCCESSFUL);
+ _tao_vfr.send_reply (&ri, ACE_TRY_ENV);
+ ACE_TRY_CHECK;
+ }
+ ACE_CATCH (PortableInterceptor::ForwardRequest, exc)
+ {
+ ri.forward_reference (exc);
+ _tao_vfr.send_other (
+ &ri,
+ ACE_TRY_ENV
+ );
+ ACE_TRY_CHECK;
+ _tao_server_request.forward_location (exc.forward.in ());
+ }
+ ACE_CATCHANY
+ {
+ ri.exception (&ACE_ANY_EXCEPTION);
+ _tao_vfr.send_exception (
+ &ri,
+ ACE_TRY_ENV
+ );
+ ACE_TRY_CHECK;
+ ACE_RE_THROW;
+ }
+ ACE_ENDTRY;
+ ACE_CHECK;
+#endif /* TAO_HAS_INTERCEPTORS */
+
+ _tao_server_request.init_reply ();
+
+ TAO_OutputCDR &_tao_out = _tao_server_request.outgoing ();
+
+ if (!(
+ (_tao_out << _tao_retval.in ())
+ ))
+ ACE_THROW (CORBA::MARSHAL());
+
+ // In case ACE_TRY_ENV is not used in this function
+ ACE_UNUSED_ARG (ACE_TRY_ENV);
+}
+
+void POA_CORBA::Container::create_local_interface_skel (
+ TAO_ServerRequest &_tao_server_request,
+ void *_tao_object_reference,
+ void * /* context */,
+ CORBA::Environment &ACE_TRY_ENV
+ )
+{
+ TAO_InputCDR &_tao_in = _tao_server_request.incoming ();
+ POA_CORBA::Container *_tao_impl = (POA_CORBA::Container *)_tao_object_reference;
+
+ CORBA::LocalInterfaceDef_var _tao_retval;
+ CORBA::String_var id;
+ CORBA::String_var name;
+ CORBA::String_var version;
+ CORBA::InterfaceDefSeq base_interfaces;
+ if (!(
+ (_tao_in >> id.out ()) &&
+ (_tao_in >> name.out ()) &&
+ (_tao_in >> version.out ()) &&
+ (_tao_in >> base_interfaces)
+ ))
+ ACE_THROW (CORBA::MARSHAL());
+
+
+#if (TAO_HAS_INTERCEPTORS == 1)
+ TAO_ServerRequestInterceptor_Adapter _tao_vfr (
+ _tao_server_request.orb_core ()->server_request_interceptors (),
+ _tao_server_request.interceptor_count ()
+ );
+
+ POA_CORBA::Container::TAO_ServerRequestInfo_CORBA_Container_create_local_interface ri (
+ _tao_server_request,
+ _tao_impl,
+ id.in (),
+ name.in (),
+ version.in (),
+ base_interfaces,
+ ACE_TRY_ENV
+ );
+
+ ACE_TRY
+ {
+ _tao_vfr.receive_request (&ri, ACE_TRY_ENV);
+ ACE_TRY_CHECK;
+
+#endif /* TAO_HAS_INTERCEPTORS */
+ _tao_retval =
+ _tao_impl->create_local_interface (
+ id.in (),
+ name.in (),
+ version.in (),
+ base_interfaces,
+ ACE_TRY_ENV
+ );
+ TAO_INTERCEPTOR_CHECK;
+
+#if (TAO_HAS_INTERCEPTORS == 1)
+ CORBA::LocalInterfaceDef_ptr _tao_retval_info = _tao_retval._retn ();
+ ri.result (_tao_retval_info);
+ _tao_retval = _tao_retval_info;
+ ri.reply_status (PortableInterceptor::SUCCESSFUL);
+ _tao_vfr.send_reply (&ri, ACE_TRY_ENV);
+ ACE_TRY_CHECK;
+ }
+ ACE_CATCH (PortableInterceptor::ForwardRequest, exc)
+ {
+ ri.forward_reference (exc);
+ _tao_vfr.send_other (
+ &ri,
+ ACE_TRY_ENV
+ );
+ ACE_TRY_CHECK;
+ _tao_server_request.forward_location (exc.forward.in ());
+ }
+ ACE_CATCHANY
+ {
+ ri.exception (&ACE_ANY_EXCEPTION);
+ _tao_vfr.send_exception (
+ &ri,
+ ACE_TRY_ENV
+ );
+ ACE_TRY_CHECK;
+ ACE_RE_THROW;
+ }
+ ACE_ENDTRY;
+ ACE_CHECK;
+#endif /* TAO_HAS_INTERCEPTORS */
+
+ _tao_server_request.init_reply ();
+
+ TAO_OutputCDR &_tao_out = _tao_server_request.outgoing ();
+
+ if (!(
+ (_tao_out << _tao_retval.in ())
+ ))
+ ACE_THROW (CORBA::MARSHAL());
+
+ // In case ACE_TRY_ENV is not used in this function
+ ACE_UNUSED_ARG (ACE_TRY_ENV);
+}
+
+void POA_CORBA::Container::_is_a_skel (
+ TAO_ServerRequest &_tao_server_request,
+ void * _tao_object_reference,
+ void * /* context */,
+ CORBA::Environment &ACE_TRY_ENV
+ )
+{
+ TAO_InputCDR &_tao_in = _tao_server_request.incoming ();
+ POA_CORBA::Container *_tao_impl = (POA_CORBA::Container *) _tao_object_reference;
+ CORBA::Boolean _tao_retval = 0;
+ CORBA::String_var value;
+ if (!(_tao_in >> value.out ()))
+ ACE_THROW (CORBA::MARSHAL ());
+
+ _tao_retval = _tao_impl->_is_a (value.in (), ACE_TRY_ENV);
+ ACE_CHECK;
+
+ _tao_server_request.init_reply ();
+ TAO_OutputCDR &_tao_out = _tao_server_request.outgoing ();
+ if (!(_tao_out << CORBA::Any::from_boolean (_tao_retval)))
+ ACE_THROW (CORBA::MARSHAL ());
+}
+
+void POA_CORBA::Container::_non_existent_skel (
+ TAO_ServerRequest &_tao_server_request,
+ void * _tao_object_reference,
+ void * /* context */,
+ CORBA::Environment &ACE_TRY_ENV
+ )
+{
+ POA_CORBA::Container *_tao_impl = (POA_CORBA::Container *) _tao_object_reference;
+ CORBA::Boolean _tao_retval = _tao_impl->_non_existent (ACE_TRY_ENV);
+ ACE_CHECK;
+
+ _tao_server_request.init_reply ();
+ TAO_OutputCDR &_tao_out = _tao_server_request.outgoing ();
+ if (!(_tao_out << CORBA::Any::from_boolean (_tao_retval)))
+ ACE_THROW (CORBA::MARSHAL ());
+}
+
+CORBA::Boolean POA_CORBA::Container::_is_a (
+ const char* value,
+ CORBA::Environment &ACE_TRY_ENV
+ )
+{
+ const char *base_id = CORBA::_tc_Object->id (ACE_TRY_ENV);
+ ACE_CHECK_RETURN (0);
+
+ if (
+ (!ACE_OS::strcmp ((char *)value, "IDL:omg.org/CORBA/Container:1.0")) ||
+ (!ACE_OS::strcmp ((char *)value, "IDL:omg.org/CORBA/IRObject:1.0")) ||
+ (!ACE_OS::strcmp ((char *)value, base_id)))
+ return 1;
+ else
+ return 0;
+}
+
+void* POA_CORBA::Container::_downcast (
+ const char* logical_type_id
+ )
+{
+ if (ACE_OS::strcmp (logical_type_id, "IDL:omg.org/CORBA/Container:1.0") == 0)
+ return ACE_static_cast (POA_CORBA::Container_ptr, this);
+ if (ACE_OS::strcmp (logical_type_id, "IDL:omg.org/CORBA/IRObject:1.0") == 0)
+ return ACE_static_cast (POA_CORBA::IRObject_ptr, this);
+ if (ACE_OS::strcmp (logical_type_id, "IDL:omg.org/CORBA/Object:1.0") == 0)
+ return ACE_static_cast(PortableServer::Servant, this);
+ return 0;
+}
+
+void POA_CORBA::Container::_dispatch (TAO_ServerRequest &req, void *context, CORBA::Environment &ACE_TRY_ENV)
+{
+ this->synchronous_upcall_dispatch(req, context, this, ACE_TRY_ENV);
+}
+
+const char* POA_CORBA::Container::_interface_repository_id (void) const
+{
+ return "IDL:omg.org/CORBA/Container:1.0";
+}
+
+CORBA::Container*
+POA_CORBA::Container::_this (CORBA_Environment &ACE_TRY_ENV)
+{
+ TAO_Stub *stub = this->_create_stub (ACE_TRY_ENV);
+ ACE_CHECK_RETURN (0);
+
+ CORBA::Object_ptr tmp = CORBA::Object::_nil ();
+
+ if (stub->servant_orb_var ()->orb_core ()->optimize_collocation_objects ())
+ ACE_NEW_RETURN (tmp, CORBA::Object (stub, 1, this), 0);
+ else
+ ACE_NEW_RETURN (tmp, CORBA::Object (stub, 0, this), 0);
+
+ CORBA::Object_var obj = tmp;
+ return ::CORBA::Container::_unchecked_narrow (obj.in ());
+}
+
+
+#if (TAO_HAS_INTERCEPTORS == 1)
+POA_CORBA::Container::TAO_ServerRequestInfo_CORBA_Container_lookup::TAO_ServerRequestInfo_CORBA_Container_lookup (
+ TAO_ServerRequest &_tao_server_request,
+ POA_CORBA::Container *tao_impl,
+ const char * search_name,
+ CORBA::Environment &
+ )
+ : TAO_ServerRequestInfo (_tao_server_request),
+ _tao_impl (tao_impl),
+ search_name_ (search_name)
+{}
+
+Dynamic::ParameterList *
+POA_CORBA::Container::TAO_ServerRequestInfo_CORBA_Container_lookup::arguments (CORBA::Environment &ACE_TRY_ENV)
+ ACE_THROW_SPEC ((CORBA::SystemException))
+{
+ // Generate the argument list on demand.
+ Dynamic::ParameterList *parameter_list =
+ TAO_RequestInfo_Util::make_parameter_list (ACE_TRY_ENV);
+ ACE_CHECK_RETURN (0);
+
+ Dynamic::ParameterList_var safe_parameter_list = parameter_list;
+
+ CORBA::ULong length_search_name = parameter_list->length ();
+ parameter_list->length (length_search_name + 1);
+ (*parameter_list)[length_search_name].argument <<= search_name_;
+ (*parameter_list)[length_search_name].mode = Dynamic::PARAM_IN;
+
+ return safe_parameter_list._retn ();
+}
+
+Dynamic::ExceptionList *
+POA_CORBA::Container::TAO_ServerRequestInfo_CORBA_Container_lookup::exceptions (CORBA::Environment &ACE_TRY_ENV)
+ ACE_THROW_SPEC ((CORBA::SystemException))
+{
+ // Generate the exception list on demand.
+ Dynamic::ExceptionList *exception_list =
+ TAO_RequestInfo_Util::make_exception_list (ACE_TRY_ENV);
+ ACE_CHECK_RETURN (0);
+
+ return exception_list;
+}
+
+CORBA::Any *
+POA_CORBA::Container::TAO_ServerRequestInfo_CORBA_Container_lookup::result (CORBA::Environment &ACE_TRY_ENV)
+ ACE_THROW_SPEC ((CORBA::SystemException))
+{
+ // Generate the result on demand.
+ CORBA::Boolean tk_void_any = 0;
+ CORBA::Any *result_any =
+ TAO_RequestInfo_Util::make_any (tk_void_any, ACE_TRY_ENV);
+ ACE_CHECK_RETURN (0);
+
+ CORBA::Any_var safe_result_any = result_any;
+
+ (*result_any) <<= this->_result;
+
+ return safe_result_any._retn ();
+}
+
+char *
+POA_CORBA::Container::TAO_ServerRequestInfo_CORBA_Container_lookup::target_most_derived_interface (
+ CORBA::Environment &)
+ ACE_THROW_SPEC ((CORBA::SystemException))
+{
+ return
+ CORBA::string_dup (this->_tao_impl->_interface_repository_id ());
+}
+
+CORBA::Boolean
+POA_CORBA::Container::TAO_ServerRequestInfo_CORBA_Container_lookup::target_is_a (
+ const char * id,
+ CORBA::Environment &ACE_TRY_ENV)
+ ACE_THROW_SPEC ((CORBA::SystemException))
+{
+ return this->_tao_impl->_is_a (id, ACE_TRY_ENV);
+}
+
+void
+POA_CORBA::Container::TAO_ServerRequestInfo_CORBA_Container_lookup::result (CORBA::Contained_ptr result)
+{
+ // Update the result.
+ this->_result = result;
+}
+
+POA_CORBA::Container::TAO_ServerRequestInfo_CORBA_Container_contents::TAO_ServerRequestInfo_CORBA_Container_contents (
+ TAO_ServerRequest &_tao_server_request,
+ POA_CORBA::Container *tao_impl,
+ CORBA::DefinitionKind & limit_type,
+ const CORBA::Boolean & exclude_inherited,
+ CORBA::Environment &
+ )
+ : TAO_ServerRequestInfo (_tao_server_request),
+ _tao_impl (tao_impl),
+ limit_type_ (limit_type),
+ exclude_inherited_ (exclude_inherited)
+{}
+
+Dynamic::ParameterList *
+POA_CORBA::Container::TAO_ServerRequestInfo_CORBA_Container_contents::arguments (CORBA::Environment &ACE_TRY_ENV)
+ ACE_THROW_SPEC ((CORBA::SystemException))
+{
+ // Generate the argument list on demand.
+ Dynamic::ParameterList *parameter_list =
+ TAO_RequestInfo_Util::make_parameter_list (ACE_TRY_ENV);
+ ACE_CHECK_RETURN (0);
+
+ Dynamic::ParameterList_var safe_parameter_list = parameter_list;
+
+ CORBA::ULong length_limit_type = parameter_list->length ();
+ parameter_list->length (length_limit_type + 1);
+ (*parameter_list)[length_limit_type].argument <<= this->limit_type_;
+
+ (*parameter_list)[length_limit_type].mode = Dynamic::PARAM_IN;
+
+ CORBA::ULong length_exclude_inherited = parameter_list->length ();
+ parameter_list->length (length_exclude_inherited + 1);
+ (*parameter_list)[length_exclude_inherited].argument <<= CORBA::Any::from_boolean (this->exclude_inherited_);
+ (*parameter_list)[length_exclude_inherited].mode = Dynamic::PARAM_IN;
+
+ return safe_parameter_list._retn ();
+}
+
+Dynamic::ExceptionList *
+POA_CORBA::Container::TAO_ServerRequestInfo_CORBA_Container_contents::exceptions (CORBA::Environment &ACE_TRY_ENV)
+ ACE_THROW_SPEC ((CORBA::SystemException))
+{
+ // Generate the exception list on demand.
+ Dynamic::ExceptionList *exception_list =
+ TAO_RequestInfo_Util::make_exception_list (ACE_TRY_ENV);
+ ACE_CHECK_RETURN (0);
+
+ return exception_list;
+}
+
+CORBA::Any *
+POA_CORBA::Container::TAO_ServerRequestInfo_CORBA_Container_contents::result (CORBA::Environment &ACE_TRY_ENV)
+ ACE_THROW_SPEC ((CORBA::SystemException))
+{
+ // Generate the result on demand.
+ CORBA::Boolean tk_void_any = 0;
+ CORBA::Any *result_any =
+ TAO_RequestInfo_Util::make_any (tk_void_any, ACE_TRY_ENV);
+ ACE_CHECK_RETURN (0);
+
+ CORBA::Any_var safe_result_any = result_any;
+
+ (*result_any) <<= this->_result;
+
+ return safe_result_any._retn ();
+}
+
+char *
+POA_CORBA::Container::TAO_ServerRequestInfo_CORBA_Container_contents::target_most_derived_interface (
+ CORBA::Environment &)
+ ACE_THROW_SPEC ((CORBA::SystemException))
+{
+ return
+ CORBA::string_dup (this->_tao_impl->_interface_repository_id ());
+}
+
+CORBA::Boolean
+POA_CORBA::Container::TAO_ServerRequestInfo_CORBA_Container_contents::target_is_a (
+ const char * id,
+ CORBA::Environment &ACE_TRY_ENV)
+ ACE_THROW_SPEC ((CORBA::SystemException))
+{
+ return this->_tao_impl->_is_a (id, ACE_TRY_ENV);
+}
+
+void
+POA_CORBA::Container::TAO_ServerRequestInfo_CORBA_Container_contents::result (CORBA::ContainedSeq * result)
+{
+ // Update the result.
+ this->_result = result;
+}
+
+POA_CORBA::Container::TAO_ServerRequestInfo_CORBA_Container_lookup_name::TAO_ServerRequestInfo_CORBA_Container_lookup_name (
+ TAO_ServerRequest &_tao_server_request,
+ POA_CORBA::Container *tao_impl,
+ const char * search_name,
+ const CORBA::Long & levels_to_search,
+ CORBA::DefinitionKind & limit_type,
+ const CORBA::Boolean & exclude_inherited,
+ CORBA::Environment &
+ )
+ : TAO_ServerRequestInfo (_tao_server_request),
+ _tao_impl (tao_impl),
+ search_name_ (search_name),
+ levels_to_search_ (levels_to_search),
+ limit_type_ (limit_type),
+ exclude_inherited_ (exclude_inherited)
+{}
+
+Dynamic::ParameterList *
+POA_CORBA::Container::TAO_ServerRequestInfo_CORBA_Container_lookup_name::arguments (CORBA::Environment &ACE_TRY_ENV)
+ ACE_THROW_SPEC ((CORBA::SystemException))
+{
+ // Generate the argument list on demand.
+ Dynamic::ParameterList *parameter_list =
+ TAO_RequestInfo_Util::make_parameter_list (ACE_TRY_ENV);
+ ACE_CHECK_RETURN (0);
+
+ Dynamic::ParameterList_var safe_parameter_list = parameter_list;
+
+ CORBA::ULong length_search_name = parameter_list->length ();
+ parameter_list->length (length_search_name + 1);
+ (*parameter_list)[length_search_name].argument <<= search_name_;
+ (*parameter_list)[length_search_name].mode = Dynamic::PARAM_IN;
+
+ CORBA::ULong length_levels_to_search = parameter_list->length ();
+ parameter_list->length (length_levels_to_search + 1);
+ (*parameter_list)[length_levels_to_search].argument <<= levels_to_search_;
+ (*parameter_list)[length_levels_to_search].mode = Dynamic::PARAM_IN;
+
+ CORBA::ULong length_limit_type = parameter_list->length ();
+ parameter_list->length (length_limit_type + 1);
+ (*parameter_list)[length_limit_type].argument <<= this->limit_type_;
+
+ (*parameter_list)[length_limit_type].mode = Dynamic::PARAM_IN;
+
+ CORBA::ULong length_exclude_inherited = parameter_list->length ();
+ parameter_list->length (length_exclude_inherited + 1);
+ (*parameter_list)[length_exclude_inherited].argument <<= CORBA::Any::from_boolean (this->exclude_inherited_);
+ (*parameter_list)[length_exclude_inherited].mode = Dynamic::PARAM_IN;
+
+ return safe_parameter_list._retn ();
+}
+
+Dynamic::ExceptionList *
+POA_CORBA::Container::TAO_ServerRequestInfo_CORBA_Container_lookup_name::exceptions (CORBA::Environment &ACE_TRY_ENV)
+ ACE_THROW_SPEC ((CORBA::SystemException))
+{
+ // Generate the exception list on demand.
+ Dynamic::ExceptionList *exception_list =
+ TAO_RequestInfo_Util::make_exception_list (ACE_TRY_ENV);
+ ACE_CHECK_RETURN (0);
+
+ return exception_list;
+}
+
+CORBA::Any *
+POA_CORBA::Container::TAO_ServerRequestInfo_CORBA_Container_lookup_name::result (CORBA::Environment &ACE_TRY_ENV)
+ ACE_THROW_SPEC ((CORBA::SystemException))
+{
+ // Generate the result on demand.
+ CORBA::Boolean tk_void_any = 0;
+ CORBA::Any *result_any =
+ TAO_RequestInfo_Util::make_any (tk_void_any, ACE_TRY_ENV);
+ ACE_CHECK_RETURN (0);
+
+ CORBA::Any_var safe_result_any = result_any;
+
+ (*result_any) <<= this->_result;
+
+ return safe_result_any._retn ();
+}
+
+char *
+POA_CORBA::Container::TAO_ServerRequestInfo_CORBA_Container_lookup_name::target_most_derived_interface (
+ CORBA::Environment &)
+ ACE_THROW_SPEC ((CORBA::SystemException))
+{
+ return
+ CORBA::string_dup (this->_tao_impl->_interface_repository_id ());
+}
+
+CORBA::Boolean
+POA_CORBA::Container::TAO_ServerRequestInfo_CORBA_Container_lookup_name::target_is_a (
+ const char * id,
+ CORBA::Environment &ACE_TRY_ENV)
+ ACE_THROW_SPEC ((CORBA::SystemException))
+{
+ return this->_tao_impl->_is_a (id, ACE_TRY_ENV);
+}
+
+void
+POA_CORBA::Container::TAO_ServerRequestInfo_CORBA_Container_lookup_name::result (CORBA::ContainedSeq * result)
+{
+ // Update the result.
+ this->_result = result;
+}
+
+POA_CORBA::Container::TAO_ServerRequestInfo_CORBA_Container_describe_contents::TAO_ServerRequestInfo_CORBA_Container_describe_contents (
+ TAO_ServerRequest &_tao_server_request,
+ POA_CORBA::Container *tao_impl,
+ CORBA::DefinitionKind & limit_type,
+ const CORBA::Boolean & exclude_inherited,
+ const CORBA::Long & max_returned_objs,
+ CORBA::Environment &
+ )
+ : TAO_ServerRequestInfo (_tao_server_request),
+ _tao_impl (tao_impl),
+ limit_type_ (limit_type),
+ exclude_inherited_ (exclude_inherited),
+ max_returned_objs_ (max_returned_objs)
+{}
+
+Dynamic::ParameterList *
+POA_CORBA::Container::TAO_ServerRequestInfo_CORBA_Container_describe_contents::arguments (CORBA::Environment &ACE_TRY_ENV)
+ ACE_THROW_SPEC ((CORBA::SystemException))
+{
+ // Generate the argument list on demand.
+ Dynamic::ParameterList *parameter_list =
+ TAO_RequestInfo_Util::make_parameter_list (ACE_TRY_ENV);
+ ACE_CHECK_RETURN (0);
+
+ Dynamic::ParameterList_var safe_parameter_list = parameter_list;
+
+ CORBA::ULong length_limit_type = parameter_list->length ();
+ parameter_list->length (length_limit_type + 1);
+ (*parameter_list)[length_limit_type].argument <<= this->limit_type_;
+
+ (*parameter_list)[length_limit_type].mode = Dynamic::PARAM_IN;
+
+ CORBA::ULong length_exclude_inherited = parameter_list->length ();
+ parameter_list->length (length_exclude_inherited + 1);
+ (*parameter_list)[length_exclude_inherited].argument <<= CORBA::Any::from_boolean (this->exclude_inherited_);
+ (*parameter_list)[length_exclude_inherited].mode = Dynamic::PARAM_IN;
+
+ CORBA::ULong length_max_returned_objs = parameter_list->length ();
+ parameter_list->length (length_max_returned_objs + 1);
+ (*parameter_list)[length_max_returned_objs].argument <<= max_returned_objs_;
+ (*parameter_list)[length_max_returned_objs].mode = Dynamic::PARAM_IN;
+
+ return safe_parameter_list._retn ();
+}
+
+Dynamic::ExceptionList *
+POA_CORBA::Container::TAO_ServerRequestInfo_CORBA_Container_describe_contents::exceptions (CORBA::Environment &ACE_TRY_ENV)
+ ACE_THROW_SPEC ((CORBA::SystemException))
+{
+ // Generate the exception list on demand.
+ Dynamic::ExceptionList *exception_list =
+ TAO_RequestInfo_Util::make_exception_list (ACE_TRY_ENV);
+ ACE_CHECK_RETURN (0);
+
+ return exception_list;
+}
+
+CORBA::Any *
+POA_CORBA::Container::TAO_ServerRequestInfo_CORBA_Container_describe_contents::result (CORBA::Environment &ACE_TRY_ENV)
+ ACE_THROW_SPEC ((CORBA::SystemException))
+{
+ // Generate the result on demand.
+ CORBA::Boolean tk_void_any = 0;
+ CORBA::Any *result_any =
+ TAO_RequestInfo_Util::make_any (tk_void_any, ACE_TRY_ENV);
+ ACE_CHECK_RETURN (0);
+
+ CORBA::Any_var safe_result_any = result_any;
+
+ (*result_any) <<= this->_result;
+
+ return safe_result_any._retn ();
+}
+
+char *
+POA_CORBA::Container::TAO_ServerRequestInfo_CORBA_Container_describe_contents::target_most_derived_interface (
+ CORBA::Environment &)
+ ACE_THROW_SPEC ((CORBA::SystemException))
+{
+ return
+ CORBA::string_dup (this->_tao_impl->_interface_repository_id ());
+}
+
+CORBA::Boolean
+POA_CORBA::Container::TAO_ServerRequestInfo_CORBA_Container_describe_contents::target_is_a (
+ const char * id,
+ CORBA::Environment &ACE_TRY_ENV)
+ ACE_THROW_SPEC ((CORBA::SystemException))
+{
+ return this->_tao_impl->_is_a (id, ACE_TRY_ENV);
+}
+
+void
+POA_CORBA::Container::TAO_ServerRequestInfo_CORBA_Container_describe_contents::result (CORBA::Container::DescriptionSeq * result)
+{
+ // Update the result.
+ this->_result = result;
+}
+
+POA_CORBA::Container::TAO_ServerRequestInfo_CORBA_Container_create_module::TAO_ServerRequestInfo_CORBA_Container_create_module (
+ TAO_ServerRequest &_tao_server_request,
+ POA_CORBA::Container *tao_impl,
+ const char * id,
+ const char * name,
+ const char * version,
+ CORBA::Environment &
+ )
+ : TAO_ServerRequestInfo (_tao_server_request),
+ _tao_impl (tao_impl),
+ id_ (id),
+ name_ (name),
+ version_ (version)
+{}
+
+Dynamic::ParameterList *
+POA_CORBA::Container::TAO_ServerRequestInfo_CORBA_Container_create_module::arguments (CORBA::Environment &ACE_TRY_ENV)
+ ACE_THROW_SPEC ((CORBA::SystemException))
+{
+ // Generate the argument list on demand.
+ Dynamic::ParameterList *parameter_list =
+ TAO_RequestInfo_Util::make_parameter_list (ACE_TRY_ENV);
+ ACE_CHECK_RETURN (0);
+
+ Dynamic::ParameterList_var safe_parameter_list = parameter_list;
+
+ CORBA::ULong length_id = parameter_list->length ();
+ parameter_list->length (length_id + 1);
+ (*parameter_list)[length_id].argument <<= id_;
+ (*parameter_list)[length_id].mode = Dynamic::PARAM_IN;
+
+ CORBA::ULong length_name = parameter_list->length ();
+ parameter_list->length (length_name + 1);
+ (*parameter_list)[length_name].argument <<= name_;
+ (*parameter_list)[length_name].mode = Dynamic::PARAM_IN;
+
+ CORBA::ULong length_version = parameter_list->length ();
+ parameter_list->length (length_version + 1);
+ (*parameter_list)[length_version].argument <<= version_;
+ (*parameter_list)[length_version].mode = Dynamic::PARAM_IN;
+
+ return safe_parameter_list._retn ();
+}
+
+Dynamic::ExceptionList *
+POA_CORBA::Container::TAO_ServerRequestInfo_CORBA_Container_create_module::exceptions (CORBA::Environment &ACE_TRY_ENV)
+ ACE_THROW_SPEC ((CORBA::SystemException))
+{
+ // Generate the exception list on demand.
+ Dynamic::ExceptionList *exception_list =
+ TAO_RequestInfo_Util::make_exception_list (ACE_TRY_ENV);
+ ACE_CHECK_RETURN (0);
+
+ return exception_list;
+}
+
+CORBA::Any *
+POA_CORBA::Container::TAO_ServerRequestInfo_CORBA_Container_create_module::result (CORBA::Environment &ACE_TRY_ENV)
+ ACE_THROW_SPEC ((CORBA::SystemException))
+{
+ // Generate the result on demand.
+ CORBA::Boolean tk_void_any = 0;
+ CORBA::Any *result_any =
+ TAO_RequestInfo_Util::make_any (tk_void_any, ACE_TRY_ENV);
+ ACE_CHECK_RETURN (0);
+
+ CORBA::Any_var safe_result_any = result_any;
+
+ (*result_any) <<= this->_result;
+
+ return safe_result_any._retn ();
+}
+
+char *
+POA_CORBA::Container::TAO_ServerRequestInfo_CORBA_Container_create_module::target_most_derived_interface (
+ CORBA::Environment &)
+ ACE_THROW_SPEC ((CORBA::SystemException))
+{
+ return
+ CORBA::string_dup (this->_tao_impl->_interface_repository_id ());
+}
+
+CORBA::Boolean
+POA_CORBA::Container::TAO_ServerRequestInfo_CORBA_Container_create_module::target_is_a (
+ const char * id,
+ CORBA::Environment &ACE_TRY_ENV)
+ ACE_THROW_SPEC ((CORBA::SystemException))
+{
+ return this->_tao_impl->_is_a (id, ACE_TRY_ENV);
+}
+
+void
+POA_CORBA::Container::TAO_ServerRequestInfo_CORBA_Container_create_module::result (CORBA::ModuleDef_ptr result)
+{
+ // Update the result.
+ this->_result = result;
+}
+
+POA_CORBA::Container::TAO_ServerRequestInfo_CORBA_Container_create_constant::TAO_ServerRequestInfo_CORBA_Container_create_constant (
+ TAO_ServerRequest &_tao_server_request,
+ POA_CORBA::Container *tao_impl,
+ const char * id,
+ const char * name,
+ const char * version,
+ CORBA::IDLType_ptr type,
+ const CORBA::Any & value,
+ CORBA::Environment &
+ )
+ : TAO_ServerRequestInfo (_tao_server_request),
+ _tao_impl (tao_impl),
+ id_ (id),
+ name_ (name),
+ version_ (version),
+ type_ (type),
+ value_ (value)
+{}
+
+Dynamic::ParameterList *
+POA_CORBA::Container::TAO_ServerRequestInfo_CORBA_Container_create_constant::arguments (CORBA::Environment &ACE_TRY_ENV)
+ ACE_THROW_SPEC ((CORBA::SystemException))
+{
+ // Generate the argument list on demand.
+ Dynamic::ParameterList *parameter_list =
+ TAO_RequestInfo_Util::make_parameter_list (ACE_TRY_ENV);
+ ACE_CHECK_RETURN (0);
+
+ Dynamic::ParameterList_var safe_parameter_list = parameter_list;
+
+ CORBA::ULong length_id = parameter_list->length ();
+ parameter_list->length (length_id + 1);
+ (*parameter_list)[length_id].argument <<= id_;
+ (*parameter_list)[length_id].mode = Dynamic::PARAM_IN;
+
+ CORBA::ULong length_name = parameter_list->length ();
+ parameter_list->length (length_name + 1);
+ (*parameter_list)[length_name].argument <<= name_;
+ (*parameter_list)[length_name].mode = Dynamic::PARAM_IN;
+
+ CORBA::ULong length_version = parameter_list->length ();
+ parameter_list->length (length_version + 1);
+ (*parameter_list)[length_version].argument <<= version_;
+ (*parameter_list)[length_version].mode = Dynamic::PARAM_IN;
+
+ CORBA::ULong length_type = parameter_list->length ();
+ parameter_list->length (length_type + 1);
+ (*parameter_list)[length_type].argument <<= this->type_;
+
+ (*parameter_list)[length_type].mode = Dynamic::PARAM_IN;
+
+ CORBA::ULong length_value = parameter_list->length ();
+ parameter_list->length (length_value + 1);
+ (*parameter_list)[length_value].argument <<= value_;
+ (*parameter_list)[length_value].mode = Dynamic::PARAM_IN;
+
+ return safe_parameter_list._retn ();
+}
+
+Dynamic::ExceptionList *
+POA_CORBA::Container::TAO_ServerRequestInfo_CORBA_Container_create_constant::exceptions (CORBA::Environment &ACE_TRY_ENV)
+ ACE_THROW_SPEC ((CORBA::SystemException))
+{
+ // Generate the exception list on demand.
+ Dynamic::ExceptionList *exception_list =
+ TAO_RequestInfo_Util::make_exception_list (ACE_TRY_ENV);
+ ACE_CHECK_RETURN (0);
+
+ return exception_list;
+}
+
+CORBA::Any *
+POA_CORBA::Container::TAO_ServerRequestInfo_CORBA_Container_create_constant::result (CORBA::Environment &ACE_TRY_ENV)
+ ACE_THROW_SPEC ((CORBA::SystemException))
+{
+ // Generate the result on demand.
+ CORBA::Boolean tk_void_any = 0;
+ CORBA::Any *result_any =
+ TAO_RequestInfo_Util::make_any (tk_void_any, ACE_TRY_ENV);
+ ACE_CHECK_RETURN (0);
+
+ CORBA::Any_var safe_result_any = result_any;
+
+ (*result_any) <<= this->_result;
+
+ return safe_result_any._retn ();
+}
+
+char *
+POA_CORBA::Container::TAO_ServerRequestInfo_CORBA_Container_create_constant::target_most_derived_interface (
+ CORBA::Environment &)
+ ACE_THROW_SPEC ((CORBA::SystemException))
+{
+ return
+ CORBA::string_dup (this->_tao_impl->_interface_repository_id ());
+}
+
+CORBA::Boolean
+POA_CORBA::Container::TAO_ServerRequestInfo_CORBA_Container_create_constant::target_is_a (
+ const char * id,
+ CORBA::Environment &ACE_TRY_ENV)
+ ACE_THROW_SPEC ((CORBA::SystemException))
+{
+ return this->_tao_impl->_is_a (id, ACE_TRY_ENV);
+}
+
+void
+POA_CORBA::Container::TAO_ServerRequestInfo_CORBA_Container_create_constant::result (CORBA::ConstantDef_ptr result)
+{
+ // Update the result.
+ this->_result = result;
+}
+
+POA_CORBA::Container::TAO_ServerRequestInfo_CORBA_Container_create_struct::TAO_ServerRequestInfo_CORBA_Container_create_struct (
+ TAO_ServerRequest &_tao_server_request,
+ POA_CORBA::Container *tao_impl,
+ const char * id,
+ const char * name,
+ const char * version,
+ const CORBA::StructMemberSeq & members,
+ CORBA::Environment &
+ )
+ : TAO_ServerRequestInfo (_tao_server_request),
+ _tao_impl (tao_impl),
+ id_ (id),
+ name_ (name),
+ version_ (version),
+ members_ (members)
+{}
+
+Dynamic::ParameterList *
+POA_CORBA::Container::TAO_ServerRequestInfo_CORBA_Container_create_struct::arguments (CORBA::Environment &ACE_TRY_ENV)
+ ACE_THROW_SPEC ((CORBA::SystemException))
+{
+ // Generate the argument list on demand.
+ Dynamic::ParameterList *parameter_list =
+ TAO_RequestInfo_Util::make_parameter_list (ACE_TRY_ENV);
+ ACE_CHECK_RETURN (0);
+
+ Dynamic::ParameterList_var safe_parameter_list = parameter_list;
+
+ CORBA::ULong length_id = parameter_list->length ();
+ parameter_list->length (length_id + 1);
+ (*parameter_list)[length_id].argument <<= id_;
+ (*parameter_list)[length_id].mode = Dynamic::PARAM_IN;
+
+ CORBA::ULong length_name = parameter_list->length ();
+ parameter_list->length (length_name + 1);
+ (*parameter_list)[length_name].argument <<= name_;
+ (*parameter_list)[length_name].mode = Dynamic::PARAM_IN;
+
+ CORBA::ULong length_version = parameter_list->length ();
+ parameter_list->length (length_version + 1);
+ (*parameter_list)[length_version].argument <<= version_;
+ (*parameter_list)[length_version].mode = Dynamic::PARAM_IN;
+
+ CORBA::ULong length_members = parameter_list->length ();
+ parameter_list->length (length_members + 1);
+ (*parameter_list)[length_members].argument <<= this->members_;
+
+ (*parameter_list)[length_members].mode = Dynamic::PARAM_IN;
+
+ return safe_parameter_list._retn ();
+}
+
+Dynamic::ExceptionList *
+POA_CORBA::Container::TAO_ServerRequestInfo_CORBA_Container_create_struct::exceptions (CORBA::Environment &ACE_TRY_ENV)
+ ACE_THROW_SPEC ((CORBA::SystemException))
+{
+ // Generate the exception list on demand.
+ Dynamic::ExceptionList *exception_list =
+ TAO_RequestInfo_Util::make_exception_list (ACE_TRY_ENV);
+ ACE_CHECK_RETURN (0);
+
+ return exception_list;
+}
+
+CORBA::Any *
+POA_CORBA::Container::TAO_ServerRequestInfo_CORBA_Container_create_struct::result (CORBA::Environment &ACE_TRY_ENV)
+ ACE_THROW_SPEC ((CORBA::SystemException))
+{
+ // Generate the result on demand.
+ CORBA::Boolean tk_void_any = 0;
+ CORBA::Any *result_any =
+ TAO_RequestInfo_Util::make_any (tk_void_any, ACE_TRY_ENV);
+ ACE_CHECK_RETURN (0);
+
+ CORBA::Any_var safe_result_any = result_any;
+
+ (*result_any) <<= this->_result;
+
+ return safe_result_any._retn ();
+}
+
+char *
+POA_CORBA::Container::TAO_ServerRequestInfo_CORBA_Container_create_struct::target_most_derived_interface (
+ CORBA::Environment &)
+ ACE_THROW_SPEC ((CORBA::SystemException))
+{
+ return
+ CORBA::string_dup (this->_tao_impl->_interface_repository_id ());
+}
+
+CORBA::Boolean
+POA_CORBA::Container::TAO_ServerRequestInfo_CORBA_Container_create_struct::target_is_a (
+ const char * id,
+ CORBA::Environment &ACE_TRY_ENV)
+ ACE_THROW_SPEC ((CORBA::SystemException))
+{
+ return this->_tao_impl->_is_a (id, ACE_TRY_ENV);
+}
+
+void
+POA_CORBA::Container::TAO_ServerRequestInfo_CORBA_Container_create_struct::result (CORBA::StructDef_ptr result)
+{
+ // Update the result.
+ this->_result = result;
+}
+
+POA_CORBA::Container::TAO_ServerRequestInfo_CORBA_Container_create_union::TAO_ServerRequestInfo_CORBA_Container_create_union (
+ TAO_ServerRequest &_tao_server_request,
+ POA_CORBA::Container *tao_impl,
+ const char * id,
+ const char * name,
+ const char * version,
+ CORBA::IDLType_ptr discriminator_type,
+ const CORBA::UnionMemberSeq & members,
+ CORBA::Environment &
+ )
+ : TAO_ServerRequestInfo (_tao_server_request),
+ _tao_impl (tao_impl),
+ id_ (id),
+ name_ (name),
+ version_ (version),
+ discriminator_type_ (discriminator_type),
+ members_ (members)
+{}
+
+Dynamic::ParameterList *
+POA_CORBA::Container::TAO_ServerRequestInfo_CORBA_Container_create_union::arguments (CORBA::Environment &ACE_TRY_ENV)
+ ACE_THROW_SPEC ((CORBA::SystemException))
+{
+ // Generate the argument list on demand.
+ Dynamic::ParameterList *parameter_list =
+ TAO_RequestInfo_Util::make_parameter_list (ACE_TRY_ENV);
+ ACE_CHECK_RETURN (0);
+
+ Dynamic::ParameterList_var safe_parameter_list = parameter_list;
+
+ CORBA::ULong length_id = parameter_list->length ();
+ parameter_list->length (length_id + 1);
+ (*parameter_list)[length_id].argument <<= id_;
+ (*parameter_list)[length_id].mode = Dynamic::PARAM_IN;
+
+ CORBA::ULong length_name = parameter_list->length ();
+ parameter_list->length (length_name + 1);
+ (*parameter_list)[length_name].argument <<= name_;
+ (*parameter_list)[length_name].mode = Dynamic::PARAM_IN;
+
+ CORBA::ULong length_version = parameter_list->length ();
+ parameter_list->length (length_version + 1);
+ (*parameter_list)[length_version].argument <<= version_;
+ (*parameter_list)[length_version].mode = Dynamic::PARAM_IN;
+
+ CORBA::ULong length_discriminator_type = parameter_list->length ();
+ parameter_list->length (length_discriminator_type + 1);
+ (*parameter_list)[length_discriminator_type].argument <<= this->discriminator_type_;
+
+ (*parameter_list)[length_discriminator_type].mode = Dynamic::PARAM_IN;
+
+ CORBA::ULong length_members = parameter_list->length ();
+ parameter_list->length (length_members + 1);
+ (*parameter_list)[length_members].argument <<= this->members_;
+
+ (*parameter_list)[length_members].mode = Dynamic::PARAM_IN;
+
+ return safe_parameter_list._retn ();
+}
+
+Dynamic::ExceptionList *
+POA_CORBA::Container::TAO_ServerRequestInfo_CORBA_Container_create_union::exceptions (CORBA::Environment &ACE_TRY_ENV)
+ ACE_THROW_SPEC ((CORBA::SystemException))
+{
+ // Generate the exception list on demand.
+ Dynamic::ExceptionList *exception_list =
+ TAO_RequestInfo_Util::make_exception_list (ACE_TRY_ENV);
+ ACE_CHECK_RETURN (0);
+
+ return exception_list;
+}
+
+CORBA::Any *
+POA_CORBA::Container::TAO_ServerRequestInfo_CORBA_Container_create_union::result (CORBA::Environment &ACE_TRY_ENV)
+ ACE_THROW_SPEC ((CORBA::SystemException))
+{
+ // Generate the result on demand.
+ CORBA::Boolean tk_void_any = 0;
+ CORBA::Any *result_any =
+ TAO_RequestInfo_Util::make_any (tk_void_any, ACE_TRY_ENV);
+ ACE_CHECK_RETURN (0);
+
+ CORBA::Any_var safe_result_any = result_any;
+
+ (*result_any) <<= this->_result;
+
+ return safe_result_any._retn ();
+}
+
+char *
+POA_CORBA::Container::TAO_ServerRequestInfo_CORBA_Container_create_union::target_most_derived_interface (
+ CORBA::Environment &)
+ ACE_THROW_SPEC ((CORBA::SystemException))
+{
+ return
+ CORBA::string_dup (this->_tao_impl->_interface_repository_id ());
+}
+
+CORBA::Boolean
+POA_CORBA::Container::TAO_ServerRequestInfo_CORBA_Container_create_union::target_is_a (
+ const char * id,
+ CORBA::Environment &ACE_TRY_ENV)
+ ACE_THROW_SPEC ((CORBA::SystemException))
+{
+ return this->_tao_impl->_is_a (id, ACE_TRY_ENV);
+}
+
+void
+POA_CORBA::Container::TAO_ServerRequestInfo_CORBA_Container_create_union::result (CORBA::UnionDef_ptr result)
+{
+ // Update the result.
+ this->_result = result;
+}
+
+POA_CORBA::Container::TAO_ServerRequestInfo_CORBA_Container_create_enum::TAO_ServerRequestInfo_CORBA_Container_create_enum (
+ TAO_ServerRequest &_tao_server_request,
+ POA_CORBA::Container *tao_impl,
+ const char * id,
+ const char * name,
+ const char * version,
+ const CORBA::EnumMemberSeq & members,
+ CORBA::Environment &
+ )
+ : TAO_ServerRequestInfo (_tao_server_request),
+ _tao_impl (tao_impl),
+ id_ (id),
+ name_ (name),
+ version_ (version),
+ members_ (members)
+{}
+
+Dynamic::ParameterList *
+POA_CORBA::Container::TAO_ServerRequestInfo_CORBA_Container_create_enum::arguments (CORBA::Environment &ACE_TRY_ENV)
+ ACE_THROW_SPEC ((CORBA::SystemException))
+{
+ // Generate the argument list on demand.
+ Dynamic::ParameterList *parameter_list =
+ TAO_RequestInfo_Util::make_parameter_list (ACE_TRY_ENV);
+ ACE_CHECK_RETURN (0);
+
+ Dynamic::ParameterList_var safe_parameter_list = parameter_list;
+
+ CORBA::ULong length_id = parameter_list->length ();
+ parameter_list->length (length_id + 1);
+ (*parameter_list)[length_id].argument <<= id_;
+ (*parameter_list)[length_id].mode = Dynamic::PARAM_IN;
+
+ CORBA::ULong length_name = parameter_list->length ();
+ parameter_list->length (length_name + 1);
+ (*parameter_list)[length_name].argument <<= name_;
+ (*parameter_list)[length_name].mode = Dynamic::PARAM_IN;
+
+ CORBA::ULong length_version = parameter_list->length ();
+ parameter_list->length (length_version + 1);
+ (*parameter_list)[length_version].argument <<= version_;
+ (*parameter_list)[length_version].mode = Dynamic::PARAM_IN;
+
+ CORBA::ULong length_members = parameter_list->length ();
+ parameter_list->length (length_members + 1);
+ (*parameter_list)[length_members].argument <<= this->members_;
+
+ (*parameter_list)[length_members].mode = Dynamic::PARAM_IN;
+
+ return safe_parameter_list._retn ();
+}
+
+Dynamic::ExceptionList *
+POA_CORBA::Container::TAO_ServerRequestInfo_CORBA_Container_create_enum::exceptions (CORBA::Environment &ACE_TRY_ENV)
+ ACE_THROW_SPEC ((CORBA::SystemException))
+{
+ // Generate the exception list on demand.
+ Dynamic::ExceptionList *exception_list =
+ TAO_RequestInfo_Util::make_exception_list (ACE_TRY_ENV);
+ ACE_CHECK_RETURN (0);
+
+ return exception_list;
+}
+
+CORBA::Any *
+POA_CORBA::Container::TAO_ServerRequestInfo_CORBA_Container_create_enum::result (CORBA::Environment &ACE_TRY_ENV)
+ ACE_THROW_SPEC ((CORBA::SystemException))
+{
+ // Generate the result on demand.
+ CORBA::Boolean tk_void_any = 0;
+ CORBA::Any *result_any =
+ TAO_RequestInfo_Util::make_any (tk_void_any, ACE_TRY_ENV);
+ ACE_CHECK_RETURN (0);
+
+ CORBA::Any_var safe_result_any = result_any;
+
+ (*result_any) <<= this->_result;
+
+ return safe_result_any._retn ();
+}
+
+char *
+POA_CORBA::Container::TAO_ServerRequestInfo_CORBA_Container_create_enum::target_most_derived_interface (
+ CORBA::Environment &)
+ ACE_THROW_SPEC ((CORBA::SystemException))
+{
+ return
+ CORBA::string_dup (this->_tao_impl->_interface_repository_id ());
+}
+
+CORBA::Boolean
+POA_CORBA::Container::TAO_ServerRequestInfo_CORBA_Container_create_enum::target_is_a (
+ const char * id,
+ CORBA::Environment &ACE_TRY_ENV)
+ ACE_THROW_SPEC ((CORBA::SystemException))
+{
+ return this->_tao_impl->_is_a (id, ACE_TRY_ENV);
+}
+
+void
+POA_CORBA::Container::TAO_ServerRequestInfo_CORBA_Container_create_enum::result (CORBA::EnumDef_ptr result)
+{
+ // Update the result.
+ this->_result = result;
+}
+
+POA_CORBA::Container::TAO_ServerRequestInfo_CORBA_Container_create_alias::TAO_ServerRequestInfo_CORBA_Container_create_alias (
+ TAO_ServerRequest &_tao_server_request,
+ POA_CORBA::Container *tao_impl,
+ const char * id,
+ const char * name,
+ const char * version,
+ CORBA::IDLType_ptr original_type,
+ CORBA::Environment &
+ )
+ : TAO_ServerRequestInfo (_tao_server_request),
+ _tao_impl (tao_impl),
+ id_ (id),
+ name_ (name),
+ version_ (version),
+ original_type_ (original_type)
+{}
+
+Dynamic::ParameterList *
+POA_CORBA::Container::TAO_ServerRequestInfo_CORBA_Container_create_alias::arguments (CORBA::Environment &ACE_TRY_ENV)
+ ACE_THROW_SPEC ((CORBA::SystemException))
+{
+ // Generate the argument list on demand.
+ Dynamic::ParameterList *parameter_list =
+ TAO_RequestInfo_Util::make_parameter_list (ACE_TRY_ENV);
+ ACE_CHECK_RETURN (0);
+
+ Dynamic::ParameterList_var safe_parameter_list = parameter_list;
+
+ CORBA::ULong length_id = parameter_list->length ();
+ parameter_list->length (length_id + 1);
+ (*parameter_list)[length_id].argument <<= id_;
+ (*parameter_list)[length_id].mode = Dynamic::PARAM_IN;
+
+ CORBA::ULong length_name = parameter_list->length ();
+ parameter_list->length (length_name + 1);
+ (*parameter_list)[length_name].argument <<= name_;
+ (*parameter_list)[length_name].mode = Dynamic::PARAM_IN;
+
+ CORBA::ULong length_version = parameter_list->length ();
+ parameter_list->length (length_version + 1);
+ (*parameter_list)[length_version].argument <<= version_;
+ (*parameter_list)[length_version].mode = Dynamic::PARAM_IN;
+
+ CORBA::ULong length_original_type = parameter_list->length ();
+ parameter_list->length (length_original_type + 1);
+ (*parameter_list)[length_original_type].argument <<= this->original_type_;
+
+ (*parameter_list)[length_original_type].mode = Dynamic::PARAM_IN;
+
+ return safe_parameter_list._retn ();
+}
+
+Dynamic::ExceptionList *
+POA_CORBA::Container::TAO_ServerRequestInfo_CORBA_Container_create_alias::exceptions (CORBA::Environment &ACE_TRY_ENV)
+ ACE_THROW_SPEC ((CORBA::SystemException))
+{
+ // Generate the exception list on demand.
+ Dynamic::ExceptionList *exception_list =
+ TAO_RequestInfo_Util::make_exception_list (ACE_TRY_ENV);
+ ACE_CHECK_RETURN (0);
+
+ return exception_list;
+}
+
+CORBA::Any *
+POA_CORBA::Container::TAO_ServerRequestInfo_CORBA_Container_create_alias::result (CORBA::Environment &ACE_TRY_ENV)
+ ACE_THROW_SPEC ((CORBA::SystemException))
+{
+ // Generate the result on demand.
+ CORBA::Boolean tk_void_any = 0;
+ CORBA::Any *result_any =
+ TAO_RequestInfo_Util::make_any (tk_void_any, ACE_TRY_ENV);
+ ACE_CHECK_RETURN (0);
+
+ CORBA::Any_var safe_result_any = result_any;
+
+ (*result_any) <<= this->_result;
+
+ return safe_result_any._retn ();
+}
+
+char *
+POA_CORBA::Container::TAO_ServerRequestInfo_CORBA_Container_create_alias::target_most_derived_interface (
+ CORBA::Environment &)
+ ACE_THROW_SPEC ((CORBA::SystemException))
+{
+ return
+ CORBA::string_dup (this->_tao_impl->_interface_repository_id ());
+}
+
+CORBA::Boolean
+POA_CORBA::Container::TAO_ServerRequestInfo_CORBA_Container_create_alias::target_is_a (
+ const char * id,
+ CORBA::Environment &ACE_TRY_ENV)
+ ACE_THROW_SPEC ((CORBA::SystemException))
+{
+ return this->_tao_impl->_is_a (id, ACE_TRY_ENV);
+}
+
+void
+POA_CORBA::Container::TAO_ServerRequestInfo_CORBA_Container_create_alias::result (CORBA::AliasDef_ptr result)
+{
+ // Update the result.
+ this->_result = result;
+}
+
+POA_CORBA::Container::TAO_ServerRequestInfo_CORBA_Container_create_interface::TAO_ServerRequestInfo_CORBA_Container_create_interface (
+ TAO_ServerRequest &_tao_server_request,
+ POA_CORBA::Container *tao_impl,
+ const char * id,
+ const char * name,
+ const char * version,
+ const CORBA::InterfaceDefSeq & base_interfaces,
+ CORBA::Environment &
+ )
+ : TAO_ServerRequestInfo (_tao_server_request),
+ _tao_impl (tao_impl),
+ id_ (id),
+ name_ (name),
+ version_ (version),
+ base_interfaces_ (base_interfaces)
+{}
+
+Dynamic::ParameterList *
+POA_CORBA::Container::TAO_ServerRequestInfo_CORBA_Container_create_interface::arguments (CORBA::Environment &ACE_TRY_ENV)
+ ACE_THROW_SPEC ((CORBA::SystemException))
+{
+ // Generate the argument list on demand.
+ Dynamic::ParameterList *parameter_list =
+ TAO_RequestInfo_Util::make_parameter_list (ACE_TRY_ENV);
+ ACE_CHECK_RETURN (0);
+
+ Dynamic::ParameterList_var safe_parameter_list = parameter_list;
+
+ CORBA::ULong length_id = parameter_list->length ();
+ parameter_list->length (length_id + 1);
+ (*parameter_list)[length_id].argument <<= id_;
+ (*parameter_list)[length_id].mode = Dynamic::PARAM_IN;
+
+ CORBA::ULong length_name = parameter_list->length ();
+ parameter_list->length (length_name + 1);
+ (*parameter_list)[length_name].argument <<= name_;
+ (*parameter_list)[length_name].mode = Dynamic::PARAM_IN;
+
+ CORBA::ULong length_version = parameter_list->length ();
+ parameter_list->length (length_version + 1);
+ (*parameter_list)[length_version].argument <<= version_;
+ (*parameter_list)[length_version].mode = Dynamic::PARAM_IN;
+
+ CORBA::ULong length_base_interfaces = parameter_list->length ();
+ parameter_list->length (length_base_interfaces + 1);
+ (*parameter_list)[length_base_interfaces].argument <<= this->base_interfaces_;
+
+ (*parameter_list)[length_base_interfaces].mode = Dynamic::PARAM_IN;
+
+ return safe_parameter_list._retn ();
+}
+
+Dynamic::ExceptionList *
+POA_CORBA::Container::TAO_ServerRequestInfo_CORBA_Container_create_interface::exceptions (CORBA::Environment &ACE_TRY_ENV)
+ ACE_THROW_SPEC ((CORBA::SystemException))
+{
+ // Generate the exception list on demand.
+ Dynamic::ExceptionList *exception_list =
+ TAO_RequestInfo_Util::make_exception_list (ACE_TRY_ENV);
+ ACE_CHECK_RETURN (0);
+
+ return exception_list;
+}
+
+CORBA::Any *
+POA_CORBA::Container::TAO_ServerRequestInfo_CORBA_Container_create_interface::result (CORBA::Environment &ACE_TRY_ENV)
+ ACE_THROW_SPEC ((CORBA::SystemException))
+{
+ // Generate the result on demand.
+ CORBA::Boolean tk_void_any = 0;
+ CORBA::Any *result_any =
+ TAO_RequestInfo_Util::make_any (tk_void_any, ACE_TRY_ENV);
+ ACE_CHECK_RETURN (0);
+
+ CORBA::Any_var safe_result_any = result_any;
+
+ (*result_any) <<= this->_result;
+
+ return safe_result_any._retn ();
+}
+
+char *
+POA_CORBA::Container::TAO_ServerRequestInfo_CORBA_Container_create_interface::target_most_derived_interface (
+ CORBA::Environment &)
+ ACE_THROW_SPEC ((CORBA::SystemException))
+{
+ return
+ CORBA::string_dup (this->_tao_impl->_interface_repository_id ());
+}
+
+CORBA::Boolean
+POA_CORBA::Container::TAO_ServerRequestInfo_CORBA_Container_create_interface::target_is_a (
+ const char * id,
+ CORBA::Environment &ACE_TRY_ENV)
+ ACE_THROW_SPEC ((CORBA::SystemException))
+{
+ return this->_tao_impl->_is_a (id, ACE_TRY_ENV);
+}
+
+void
+POA_CORBA::Container::TAO_ServerRequestInfo_CORBA_Container_create_interface::result (CORBA::InterfaceDef_ptr result)
+{
+ // Update the result.
+ this->_result = result;
+}
+
+POA_CORBA::Container::TAO_ServerRequestInfo_CORBA_Container_create_value::TAO_ServerRequestInfo_CORBA_Container_create_value (
+ TAO_ServerRequest &_tao_server_request,
+ POA_CORBA::Container *tao_impl,
+ const char * id,
+ const char * name,
+ const char * version,
+ const CORBA::Boolean & is_custom,
+ const CORBA::Boolean & is_abstract,
+ CORBA::ValueDef_ptr base_value,
+ const CORBA::Boolean & is_truncatable,
+ const CORBA::ValueDefSeq & abstract_base_values,
+ const CORBA::InterfaceDefSeq & supported_interfaces,
+ const CORBA::InitializerSeq & initializers,
+ CORBA::Environment &
+ )
+ : TAO_ServerRequestInfo (_tao_server_request),
+ _tao_impl (tao_impl),
+ id_ (id),
+ name_ (name),
+ version_ (version),
+ is_custom_ (is_custom),
+ is_abstract_ (is_abstract),
+ base_value_ (base_value),
+ is_truncatable_ (is_truncatable),
+ abstract_base_values_ (abstract_base_values),
+ supported_interfaces_ (supported_interfaces),
+ initializers_ (initializers)
+{}
+
+Dynamic::ParameterList *
+POA_CORBA::Container::TAO_ServerRequestInfo_CORBA_Container_create_value::arguments (CORBA::Environment &ACE_TRY_ENV)
+ ACE_THROW_SPEC ((CORBA::SystemException))
+{
+ // Generate the argument list on demand.
+ Dynamic::ParameterList *parameter_list =
+ TAO_RequestInfo_Util::make_parameter_list (ACE_TRY_ENV);
+ ACE_CHECK_RETURN (0);
+
+ Dynamic::ParameterList_var safe_parameter_list = parameter_list;
+
+ CORBA::ULong length_id = parameter_list->length ();
+ parameter_list->length (length_id + 1);
+ (*parameter_list)[length_id].argument <<= id_;
+ (*parameter_list)[length_id].mode = Dynamic::PARAM_IN;
+
+ CORBA::ULong length_name = parameter_list->length ();
+ parameter_list->length (length_name + 1);
+ (*parameter_list)[length_name].argument <<= name_;
+ (*parameter_list)[length_name].mode = Dynamic::PARAM_IN;
+
+ CORBA::ULong length_version = parameter_list->length ();
+ parameter_list->length (length_version + 1);
+ (*parameter_list)[length_version].argument <<= version_;
+ (*parameter_list)[length_version].mode = Dynamic::PARAM_IN;
+
+ CORBA::ULong length_is_custom = parameter_list->length ();
+ parameter_list->length (length_is_custom + 1);
+ (*parameter_list)[length_is_custom].argument <<= CORBA::Any::from_boolean (this->is_custom_);
+ (*parameter_list)[length_is_custom].mode = Dynamic::PARAM_IN;
+
+ CORBA::ULong length_is_abstract = parameter_list->length ();
+ parameter_list->length (length_is_abstract + 1);
+ (*parameter_list)[length_is_abstract].argument <<= CORBA::Any::from_boolean (this->is_abstract_);
+ (*parameter_list)[length_is_abstract].mode = Dynamic::PARAM_IN;
+
+ CORBA::ULong length_base_value = parameter_list->length ();
+ parameter_list->length (length_base_value + 1);
+ (*parameter_list)[length_base_value].argument <<= this->base_value_;
+
+ (*parameter_list)[length_base_value].mode = Dynamic::PARAM_IN;
+
+ CORBA::ULong length_is_truncatable = parameter_list->length ();
+ parameter_list->length (length_is_truncatable + 1);
+ (*parameter_list)[length_is_truncatable].argument <<= CORBA::Any::from_boolean (this->is_truncatable_);
+ (*parameter_list)[length_is_truncatable].mode = Dynamic::PARAM_IN;
+
+ CORBA::ULong length_abstract_base_values = parameter_list->length ();
+ parameter_list->length (length_abstract_base_values + 1);
+ (*parameter_list)[length_abstract_base_values].argument <<= this->abstract_base_values_;
+
+ (*parameter_list)[length_abstract_base_values].mode = Dynamic::PARAM_IN;
+
+ CORBA::ULong length_supported_interfaces = parameter_list->length ();
+ parameter_list->length (length_supported_interfaces + 1);
+ (*parameter_list)[length_supported_interfaces].argument <<= this->supported_interfaces_;
+
+ (*parameter_list)[length_supported_interfaces].mode = Dynamic::PARAM_IN;
+
+ CORBA::ULong length_initializers = parameter_list->length ();
+ parameter_list->length (length_initializers + 1);
+ (*parameter_list)[length_initializers].argument <<= this->initializers_;
+
+ (*parameter_list)[length_initializers].mode = Dynamic::PARAM_IN;
+
+ return safe_parameter_list._retn ();
+}
+
+Dynamic::ExceptionList *
+POA_CORBA::Container::TAO_ServerRequestInfo_CORBA_Container_create_value::exceptions (CORBA::Environment &ACE_TRY_ENV)
+ ACE_THROW_SPEC ((CORBA::SystemException))
+{
+ // Generate the exception list on demand.
+ Dynamic::ExceptionList *exception_list =
+ TAO_RequestInfo_Util::make_exception_list (ACE_TRY_ENV);
+ ACE_CHECK_RETURN (0);
+
+ return exception_list;
+}
+
+CORBA::Any *
+POA_CORBA::Container::TAO_ServerRequestInfo_CORBA_Container_create_value::result (CORBA::Environment &ACE_TRY_ENV)
+ ACE_THROW_SPEC ((CORBA::SystemException))
+{
+ // Generate the result on demand.
+ CORBA::Boolean tk_void_any = 0;
+ CORBA::Any *result_any =
+ TAO_RequestInfo_Util::make_any (tk_void_any, ACE_TRY_ENV);
+ ACE_CHECK_RETURN (0);
+
+ CORBA::Any_var safe_result_any = result_any;
+
+ (*result_any) <<= this->_result;
+
+ return safe_result_any._retn ();
+}
+
+char *
+POA_CORBA::Container::TAO_ServerRequestInfo_CORBA_Container_create_value::target_most_derived_interface (
+ CORBA::Environment &)
+ ACE_THROW_SPEC ((CORBA::SystemException))
+{
+ return
+ CORBA::string_dup (this->_tao_impl->_interface_repository_id ());
+}
+
+CORBA::Boolean
+POA_CORBA::Container::TAO_ServerRequestInfo_CORBA_Container_create_value::target_is_a (
+ const char * id,
+ CORBA::Environment &ACE_TRY_ENV)
+ ACE_THROW_SPEC ((CORBA::SystemException))
+{
+ return this->_tao_impl->_is_a (id, ACE_TRY_ENV);
+}
+
+void
+POA_CORBA::Container::TAO_ServerRequestInfo_CORBA_Container_create_value::result (CORBA::ValueDef_ptr result)
+{
+ // Update the result.
+ this->_result = result;
+}
+
+POA_CORBA::Container::TAO_ServerRequestInfo_CORBA_Container_create_value_box::TAO_ServerRequestInfo_CORBA_Container_create_value_box (
+ TAO_ServerRequest &_tao_server_request,
+ POA_CORBA::Container *tao_impl,
+ const char * id,
+ const char * name,
+ const char * version,
+ CORBA::IDLType_ptr original_type_def,
+ CORBA::Environment &
+ )
+ : TAO_ServerRequestInfo (_tao_server_request),
+ _tao_impl (tao_impl),
+ id_ (id),
+ name_ (name),
+ version_ (version),
+ original_type_def_ (original_type_def)
+{}
+
+Dynamic::ParameterList *
+POA_CORBA::Container::TAO_ServerRequestInfo_CORBA_Container_create_value_box::arguments (CORBA::Environment &ACE_TRY_ENV)
+ ACE_THROW_SPEC ((CORBA::SystemException))
+{
+ // Generate the argument list on demand.
+ Dynamic::ParameterList *parameter_list =
+ TAO_RequestInfo_Util::make_parameter_list (ACE_TRY_ENV);
+ ACE_CHECK_RETURN (0);
+
+ Dynamic::ParameterList_var safe_parameter_list = parameter_list;
+
+ CORBA::ULong length_id = parameter_list->length ();
+ parameter_list->length (length_id + 1);
+ (*parameter_list)[length_id].argument <<= id_;
+ (*parameter_list)[length_id].mode = Dynamic::PARAM_IN;
+
+ CORBA::ULong length_name = parameter_list->length ();
+ parameter_list->length (length_name + 1);
+ (*parameter_list)[length_name].argument <<= name_;
+ (*parameter_list)[length_name].mode = Dynamic::PARAM_IN;
+
+ CORBA::ULong length_version = parameter_list->length ();
+ parameter_list->length (length_version + 1);
+ (*parameter_list)[length_version].argument <<= version_;
+ (*parameter_list)[length_version].mode = Dynamic::PARAM_IN;
+
+ CORBA::ULong length_original_type_def = parameter_list->length ();
+ parameter_list->length (length_original_type_def + 1);
+ (*parameter_list)[length_original_type_def].argument <<= this->original_type_def_;
+
+ (*parameter_list)[length_original_type_def].mode = Dynamic::PARAM_IN;
+
+ return safe_parameter_list._retn ();
+}
+
+Dynamic::ExceptionList *
+POA_CORBA::Container::TAO_ServerRequestInfo_CORBA_Container_create_value_box::exceptions (CORBA::Environment &ACE_TRY_ENV)
+ ACE_THROW_SPEC ((CORBA::SystemException))
+{
+ // Generate the exception list on demand.
+ Dynamic::ExceptionList *exception_list =
+ TAO_RequestInfo_Util::make_exception_list (ACE_TRY_ENV);
+ ACE_CHECK_RETURN (0);
+
+ return exception_list;
+}
+
+CORBA::Any *
+POA_CORBA::Container::TAO_ServerRequestInfo_CORBA_Container_create_value_box::result (CORBA::Environment &ACE_TRY_ENV)
+ ACE_THROW_SPEC ((CORBA::SystemException))
+{
+ // Generate the result on demand.
+ CORBA::Boolean tk_void_any = 0;
+ CORBA::Any *result_any =
+ TAO_RequestInfo_Util::make_any (tk_void_any, ACE_TRY_ENV);
+ ACE_CHECK_RETURN (0);
+
+ CORBA::Any_var safe_result_any = result_any;
+
+ (*result_any) <<= this->_result;
+
+ return safe_result_any._retn ();
+}
+
+char *
+POA_CORBA::Container::TAO_ServerRequestInfo_CORBA_Container_create_value_box::target_most_derived_interface (
+ CORBA::Environment &)
+ ACE_THROW_SPEC ((CORBA::SystemException))
+{
+ return
+ CORBA::string_dup (this->_tao_impl->_interface_repository_id ());
+}
+
+CORBA::Boolean
+POA_CORBA::Container::TAO_ServerRequestInfo_CORBA_Container_create_value_box::target_is_a (
+ const char * id,
+ CORBA::Environment &ACE_TRY_ENV)
+ ACE_THROW_SPEC ((CORBA::SystemException))
+{
+ return this->_tao_impl->_is_a (id, ACE_TRY_ENV);
+}
+
+void
+POA_CORBA::Container::TAO_ServerRequestInfo_CORBA_Container_create_value_box::result (CORBA::ValueBoxDef_ptr result)
+{
+ // Update the result.
+ this->_result = result;
+}
+
+POA_CORBA::Container::TAO_ServerRequestInfo_CORBA_Container_create_exception::TAO_ServerRequestInfo_CORBA_Container_create_exception (
+ TAO_ServerRequest &_tao_server_request,
+ POA_CORBA::Container *tao_impl,
+ const char * id,
+ const char * name,
+ const char * version,
+ const CORBA::StructMemberSeq & members,
+ CORBA::Environment &
+ )
+ : TAO_ServerRequestInfo (_tao_server_request),
+ _tao_impl (tao_impl),
+ id_ (id),
+ name_ (name),
+ version_ (version),
+ members_ (members)
+{}
+
+Dynamic::ParameterList *
+POA_CORBA::Container::TAO_ServerRequestInfo_CORBA_Container_create_exception::arguments (CORBA::Environment &ACE_TRY_ENV)
+ ACE_THROW_SPEC ((CORBA::SystemException))
+{
+ // Generate the argument list on demand.
+ Dynamic::ParameterList *parameter_list =
+ TAO_RequestInfo_Util::make_parameter_list (ACE_TRY_ENV);
+ ACE_CHECK_RETURN (0);
+
+ Dynamic::ParameterList_var safe_parameter_list = parameter_list;
+
+ CORBA::ULong length_id = parameter_list->length ();
+ parameter_list->length (length_id + 1);
+ (*parameter_list)[length_id].argument <<= id_;
+ (*parameter_list)[length_id].mode = Dynamic::PARAM_IN;
+
+ CORBA::ULong length_name = parameter_list->length ();
+ parameter_list->length (length_name + 1);
+ (*parameter_list)[length_name].argument <<= name_;
+ (*parameter_list)[length_name].mode = Dynamic::PARAM_IN;
+
+ CORBA::ULong length_version = parameter_list->length ();
+ parameter_list->length (length_version + 1);
+ (*parameter_list)[length_version].argument <<= version_;
+ (*parameter_list)[length_version].mode = Dynamic::PARAM_IN;
+
+ CORBA::ULong length_members = parameter_list->length ();
+ parameter_list->length (length_members + 1);
+ (*parameter_list)[length_members].argument <<= this->members_;
+
+ (*parameter_list)[length_members].mode = Dynamic::PARAM_IN;
+
+ return safe_parameter_list._retn ();
+}
+
+Dynamic::ExceptionList *
+POA_CORBA::Container::TAO_ServerRequestInfo_CORBA_Container_create_exception::exceptions (CORBA::Environment &ACE_TRY_ENV)
+ ACE_THROW_SPEC ((CORBA::SystemException))
+{
+ // Generate the exception list on demand.
+ Dynamic::ExceptionList *exception_list =
+ TAO_RequestInfo_Util::make_exception_list (ACE_TRY_ENV);
+ ACE_CHECK_RETURN (0);
+
+ return exception_list;
+}
+
+CORBA::Any *
+POA_CORBA::Container::TAO_ServerRequestInfo_CORBA_Container_create_exception::result (CORBA::Environment &ACE_TRY_ENV)
+ ACE_THROW_SPEC ((CORBA::SystemException))
+{
+ // Generate the result on demand.
+ CORBA::Boolean tk_void_any = 0;
+ CORBA::Any *result_any =
+ TAO_RequestInfo_Util::make_any (tk_void_any, ACE_TRY_ENV);
+ ACE_CHECK_RETURN (0);
+
+ CORBA::Any_var safe_result_any = result_any;
+
+ (*result_any) <<= this->_result;
+
+ return safe_result_any._retn ();
+}
+
+char *
+POA_CORBA::Container::TAO_ServerRequestInfo_CORBA_Container_create_exception::target_most_derived_interface (
+ CORBA::Environment &)
+ ACE_THROW_SPEC ((CORBA::SystemException))
+{
+ return
+ CORBA::string_dup (this->_tao_impl->_interface_repository_id ());
+}
+
+CORBA::Boolean
+POA_CORBA::Container::TAO_ServerRequestInfo_CORBA_Container_create_exception::target_is_a (
+ const char * id,
+ CORBA::Environment &ACE_TRY_ENV)
+ ACE_THROW_SPEC ((CORBA::SystemException))
+{
+ return this->_tao_impl->_is_a (id, ACE_TRY_ENV);
+}
+
+void
+POA_CORBA::Container::TAO_ServerRequestInfo_CORBA_Container_create_exception::result (CORBA::ExceptionDef_ptr result)
+{
+ // Update the result.
+ this->_result = result;
+}
+
+POA_CORBA::Container::TAO_ServerRequestInfo_CORBA_Container_create_native::TAO_ServerRequestInfo_CORBA_Container_create_native (
+ TAO_ServerRequest &_tao_server_request,
+ POA_CORBA::Container *tao_impl,
+ const char * id,
+ const char * name,
+ const char * version,
+ CORBA::Environment &
+ )
+ : TAO_ServerRequestInfo (_tao_server_request),
+ _tao_impl (tao_impl),
+ id_ (id),
+ name_ (name),
+ version_ (version)
+{}
+
+Dynamic::ParameterList *
+POA_CORBA::Container::TAO_ServerRequestInfo_CORBA_Container_create_native::arguments (CORBA::Environment &ACE_TRY_ENV)
+ ACE_THROW_SPEC ((CORBA::SystemException))
+{
+ // Generate the argument list on demand.
+ Dynamic::ParameterList *parameter_list =
+ TAO_RequestInfo_Util::make_parameter_list (ACE_TRY_ENV);
+ ACE_CHECK_RETURN (0);
+
+ Dynamic::ParameterList_var safe_parameter_list = parameter_list;
+
+ CORBA::ULong length_id = parameter_list->length ();
+ parameter_list->length (length_id + 1);
+ (*parameter_list)[length_id].argument <<= id_;
+ (*parameter_list)[length_id].mode = Dynamic::PARAM_IN;
+
+ CORBA::ULong length_name = parameter_list->length ();
+ parameter_list->length (length_name + 1);
+ (*parameter_list)[length_name].argument <<= name_;
+ (*parameter_list)[length_name].mode = Dynamic::PARAM_IN;
+
+ CORBA::ULong length_version = parameter_list->length ();
+ parameter_list->length (length_version + 1);
+ (*parameter_list)[length_version].argument <<= version_;
+ (*parameter_list)[length_version].mode = Dynamic::PARAM_IN;
+
+ return safe_parameter_list._retn ();
+}
+
+Dynamic::ExceptionList *
+POA_CORBA::Container::TAO_ServerRequestInfo_CORBA_Container_create_native::exceptions (CORBA::Environment &ACE_TRY_ENV)
+ ACE_THROW_SPEC ((CORBA::SystemException))
+{
+ // Generate the exception list on demand.
+ Dynamic::ExceptionList *exception_list =
+ TAO_RequestInfo_Util::make_exception_list (ACE_TRY_ENV);
+ ACE_CHECK_RETURN (0);
+
+ return exception_list;
+}
+
+CORBA::Any *
+POA_CORBA::Container::TAO_ServerRequestInfo_CORBA_Container_create_native::result (CORBA::Environment &ACE_TRY_ENV)
+ ACE_THROW_SPEC ((CORBA::SystemException))
+{
+ // Generate the result on demand.
+ CORBA::Boolean tk_void_any = 0;
+ CORBA::Any *result_any =
+ TAO_RequestInfo_Util::make_any (tk_void_any, ACE_TRY_ENV);
+ ACE_CHECK_RETURN (0);
+
+ CORBA::Any_var safe_result_any = result_any;
+
+ (*result_any) <<= this->_result;
+
+ return safe_result_any._retn ();
+}
+
+char *
+POA_CORBA::Container::TAO_ServerRequestInfo_CORBA_Container_create_native::target_most_derived_interface (
+ CORBA::Environment &)
+ ACE_THROW_SPEC ((CORBA::SystemException))
+{
+ return
+ CORBA::string_dup (this->_tao_impl->_interface_repository_id ());
+}
+
+CORBA::Boolean
+POA_CORBA::Container::TAO_ServerRequestInfo_CORBA_Container_create_native::target_is_a (
+ const char * id,
+ CORBA::Environment &ACE_TRY_ENV)
+ ACE_THROW_SPEC ((CORBA::SystemException))
+{
+ return this->_tao_impl->_is_a (id, ACE_TRY_ENV);
+}
+
+void
+POA_CORBA::Container::TAO_ServerRequestInfo_CORBA_Container_create_native::result (CORBA::NativeDef_ptr result)
+{
+ // Update the result.
+ this->_result = result;
+}
+
+POA_CORBA::Container::TAO_ServerRequestInfo_CORBA_Container_create_abstract_interface::TAO_ServerRequestInfo_CORBA_Container_create_abstract_interface (
+ TAO_ServerRequest &_tao_server_request,
+ POA_CORBA::Container *tao_impl,
+ const char * id,
+ const char * name,
+ const char * version,
+ const CORBA::AbstractInterfaceDefSeq & base_interfaces,
+ CORBA::Environment &
+ )
+ : TAO_ServerRequestInfo (_tao_server_request),
+ _tao_impl (tao_impl),
+ id_ (id),
+ name_ (name),
+ version_ (version),
+ base_interfaces_ (base_interfaces)
+{}
+
+Dynamic::ParameterList *
+POA_CORBA::Container::TAO_ServerRequestInfo_CORBA_Container_create_abstract_interface::arguments (CORBA::Environment &ACE_TRY_ENV)
+ ACE_THROW_SPEC ((CORBA::SystemException))
+{
+ // Generate the argument list on demand.
+ Dynamic::ParameterList *parameter_list =
+ TAO_RequestInfo_Util::make_parameter_list (ACE_TRY_ENV);
+ ACE_CHECK_RETURN (0);
+
+ Dynamic::ParameterList_var safe_parameter_list = parameter_list;
+
+ CORBA::ULong length_id = parameter_list->length ();
+ parameter_list->length (length_id + 1);
+ (*parameter_list)[length_id].argument <<= id_;
+ (*parameter_list)[length_id].mode = Dynamic::PARAM_IN;
+
+ CORBA::ULong length_name = parameter_list->length ();
+ parameter_list->length (length_name + 1);
+ (*parameter_list)[length_name].argument <<= name_;
+ (*parameter_list)[length_name].mode = Dynamic::PARAM_IN;
+
+ CORBA::ULong length_version = parameter_list->length ();
+ parameter_list->length (length_version + 1);
+ (*parameter_list)[length_version].argument <<= version_;
+ (*parameter_list)[length_version].mode = Dynamic::PARAM_IN;
+
+ CORBA::ULong length_base_interfaces = parameter_list->length ();
+ parameter_list->length (length_base_interfaces + 1);
+ (*parameter_list)[length_base_interfaces].argument <<= this->base_interfaces_;
+
+ (*parameter_list)[length_base_interfaces].mode = Dynamic::PARAM_IN;
+
+ return safe_parameter_list._retn ();
+}
+
+Dynamic::ExceptionList *
+POA_CORBA::Container::TAO_ServerRequestInfo_CORBA_Container_create_abstract_interface::exceptions (CORBA::Environment &ACE_TRY_ENV)
+ ACE_THROW_SPEC ((CORBA::SystemException))
+{
+ // Generate the exception list on demand.
+ Dynamic::ExceptionList *exception_list =
+ TAO_RequestInfo_Util::make_exception_list (ACE_TRY_ENV);
+ ACE_CHECK_RETURN (0);
+
+ return exception_list;
+}
+
+CORBA::Any *
+POA_CORBA::Container::TAO_ServerRequestInfo_CORBA_Container_create_abstract_interface::result (CORBA::Environment &ACE_TRY_ENV)
+ ACE_THROW_SPEC ((CORBA::SystemException))
+{
+ // Generate the result on demand.
+ CORBA::Boolean tk_void_any = 0;
+ CORBA::Any *result_any =
+ TAO_RequestInfo_Util::make_any (tk_void_any, ACE_TRY_ENV);
+ ACE_CHECK_RETURN (0);
+
+ CORBA::Any_var safe_result_any = result_any;
+
+ (*result_any) <<= this->_result;
+
+ return safe_result_any._retn ();
+}
+
+char *
+POA_CORBA::Container::TAO_ServerRequestInfo_CORBA_Container_create_abstract_interface::target_most_derived_interface (
+ CORBA::Environment &)
+ ACE_THROW_SPEC ((CORBA::SystemException))
+{
+ return
+ CORBA::string_dup (this->_tao_impl->_interface_repository_id ());
+}
+
+CORBA::Boolean
+POA_CORBA::Container::TAO_ServerRequestInfo_CORBA_Container_create_abstract_interface::target_is_a (
+ const char * id,
+ CORBA::Environment &ACE_TRY_ENV)
+ ACE_THROW_SPEC ((CORBA::SystemException))
+{
+ return this->_tao_impl->_is_a (id, ACE_TRY_ENV);
+}
+
+void
+POA_CORBA::Container::TAO_ServerRequestInfo_CORBA_Container_create_abstract_interface::result (CORBA::AbstractInterfaceDef_ptr result)
+{
+ // Update the result.
+ this->_result = result;
+}
+
+POA_CORBA::Container::TAO_ServerRequestInfo_CORBA_Container_create_local_interface::TAO_ServerRequestInfo_CORBA_Container_create_local_interface (
+ TAO_ServerRequest &_tao_server_request,
+ POA_CORBA::Container *tao_impl,
+ const char * id,
+ const char * name,
+ const char * version,
+ const CORBA::InterfaceDefSeq & base_interfaces,
+ CORBA::Environment &
+ )
+ : TAO_ServerRequestInfo (_tao_server_request),
+ _tao_impl (tao_impl),
+ id_ (id),
+ name_ (name),
+ version_ (version),
+ base_interfaces_ (base_interfaces)
+{}
+
+Dynamic::ParameterList *
+POA_CORBA::Container::TAO_ServerRequestInfo_CORBA_Container_create_local_interface::arguments (CORBA::Environment &ACE_TRY_ENV)
+ ACE_THROW_SPEC ((CORBA::SystemException))
+{
+ // Generate the argument list on demand.
+ Dynamic::ParameterList *parameter_list =
+ TAO_RequestInfo_Util::make_parameter_list (ACE_TRY_ENV);
+ ACE_CHECK_RETURN (0);
+
+ Dynamic::ParameterList_var safe_parameter_list = parameter_list;
+
+ CORBA::ULong length_id = parameter_list->length ();
+ parameter_list->length (length_id + 1);
+ (*parameter_list)[length_id].argument <<= id_;
+ (*parameter_list)[length_id].mode = Dynamic::PARAM_IN;
+
+ CORBA::ULong length_name = parameter_list->length ();
+ parameter_list->length (length_name + 1);
+ (*parameter_list)[length_name].argument <<= name_;
+ (*parameter_list)[length_name].mode = Dynamic::PARAM_IN;
+
+ CORBA::ULong length_version = parameter_list->length ();
+ parameter_list->length (length_version + 1);
+ (*parameter_list)[length_version].argument <<= version_;
+ (*parameter_list)[length_version].mode = Dynamic::PARAM_IN;
+
+ CORBA::ULong length_base_interfaces = parameter_list->length ();
+ parameter_list->length (length_base_interfaces + 1);
+ (*parameter_list)[length_base_interfaces].argument <<= this->base_interfaces_;
+
+ (*parameter_list)[length_base_interfaces].mode = Dynamic::PARAM_IN;
+
+ return safe_parameter_list._retn ();
+}
+
+Dynamic::ExceptionList *
+POA_CORBA::Container::TAO_ServerRequestInfo_CORBA_Container_create_local_interface::exceptions (CORBA::Environment &ACE_TRY_ENV)
+ ACE_THROW_SPEC ((CORBA::SystemException))
+{
+ // Generate the exception list on demand.
+ Dynamic::ExceptionList *exception_list =
+ TAO_RequestInfo_Util::make_exception_list (ACE_TRY_ENV);
+ ACE_CHECK_RETURN (0);
+
+ return exception_list;
+}
+
+CORBA::Any *
+POA_CORBA::Container::TAO_ServerRequestInfo_CORBA_Container_create_local_interface::result (CORBA::Environment &ACE_TRY_ENV)
+ ACE_THROW_SPEC ((CORBA::SystemException))
+{
+ // Generate the result on demand.
+ CORBA::Boolean tk_void_any = 0;
+ CORBA::Any *result_any =
+ TAO_RequestInfo_Util::make_any (tk_void_any, ACE_TRY_ENV);
+ ACE_CHECK_RETURN (0);
+
+ CORBA::Any_var safe_result_any = result_any;
+
+ (*result_any) <<= this->_result;
+
+ return safe_result_any._retn ();
+}
+
+char *
+POA_CORBA::Container::TAO_ServerRequestInfo_CORBA_Container_create_local_interface::target_most_derived_interface (
+ CORBA::Environment &)
+ ACE_THROW_SPEC ((CORBA::SystemException))
+{
+ return
+ CORBA::string_dup (this->_tao_impl->_interface_repository_id ());
+}
+
+CORBA::Boolean
+POA_CORBA::Container::TAO_ServerRequestInfo_CORBA_Container_create_local_interface::target_is_a (
+ const char * id,
+ CORBA::Environment &ACE_TRY_ENV)
+ ACE_THROW_SPEC ((CORBA::SystemException))
+{
+ return this->_tao_impl->_is_a (id, ACE_TRY_ENV);
+}
+
+void
+POA_CORBA::Container::TAO_ServerRequestInfo_CORBA_Container_create_local_interface::result (CORBA::LocalInterfaceDef_ptr result)
+{
+ // Update the result.
+ this->_result = result;
+}
+
+#endif /* TAO_HAS_INTERCEPTORS */
+class TAO_CORBA_IDLType_Perfect_Hash_OpTable : public TAO_Perfect_Hash_OpTable
+{
+private:
+ unsigned int hash (const char *str, unsigned int len);
+public:
+ const TAO_operation_db_entry * lookup (const char *str, unsigned int len);
+};
+/* starting time is 10:43:19 */
+/* C++ code produced by gperf version 2.8 (ACE version) */
+/* Command-line: gperf -m -M -J -c -C -D -E -T -f 0 -F 0 -a -o -t -p -K opname_ -L C++ -Z TAO_CORBA_IDLType_Perfect_Hash_OpTable -N lookup */
+unsigned int
+TAO_CORBA_IDLType_Perfect_Hash_OpTable::hash (const char *str, unsigned int len)
+{
+ static const unsigned char asso_values[] =
+ {
+#if defined (ACE_MVS)
+ 19, 19, 19, 19, 19, 19, 19, 19, 19, 19,
+ 19, 19, 19, 19, 19, 19, 19, 19, 19, 19,
+ 19, 19, 19, 19, 19, 19, 19, 19, 19, 19,
+ 19, 19, 19, 19, 19, 19, 19, 19, 19, 19,
+ 19, 19, 19, 19, 19, 19, 19, 19, 19, 19,
+ 19, 19, 19, 19, 19, 19, 19, 19, 19, 19,
+ 19, 19, 19, 19, 19, 19, 19, 19, 19, 19,
+ 19, 19, 19, 19, 19, 19, 19, 19, 19, 19,
+ 19, 19, 19, 19, 19, 19, 19, 19, 19, 19,
+ 19, 19, 19, 19, 19, 19, 19, 19, 19, 19,
+ 19, 19, 19, 19, 19, 19, 19, 19, 19, 0,
+ 19, 19, 19, 19, 19, 19, 19, 19, 19, 19,
+ 19, 19, 19, 19, 19, 19, 19, 19, 19, 0,
+ 19, 19, 0, 0, 19, 19, 19, 19, 19, 19,
+ 19, 19, 19, 19, 19, 19, 19, 19, 19, 19,
+ 19, 19, 19, 19, 19, 19, 19, 19, 19, 19,
+ 19, 19, 19, 5, 19, 19, 19, 19, 0, 19,
+ 19, 19, 19, 19, 19, 19, 19, 19, 19, 19,
+ 19, 19, 19, 19, 19, 19, 19, 19, 19, 19,
+ 19, 19, 19, 19, 19, 19, 19, 19, 19, 19,
+ 19, 19, 19, 19, 19, 19, 19, 19, 19, 19,
+ 19, 19, 19, 19, 19, 19, 19, 19, 19, 19,
+ 19, 19, 19, 19, 19, 19, 19, 19, 19, 19,
+ 19, 19, 19, 19, 19, 19, 19, 19, 19, 19,
+ 19, 19, 19, 19, 19, 19, 19, 19, 19, 19,
+ 19, 19, 19, 19, 19, 19,
+#else
+ 19, 19, 19, 19, 19, 19, 19, 19, 19, 19,
+ 19, 19, 19, 19, 19, 19, 19, 19, 19, 19,
+ 19, 19, 19, 19, 19, 19, 19, 19, 19, 19,
+ 19, 19, 19, 19, 19, 19, 19, 19, 19, 19,
+ 19, 19, 19, 19, 19, 19, 19, 19, 19, 19,
+ 19, 19, 19, 19, 19, 19, 19, 19, 19, 19,
+ 19, 19, 19, 19, 19, 19, 19, 19, 19, 19,
+ 19, 19, 19, 19, 19, 19, 19, 19, 19, 19,
+ 19, 19, 19, 19, 19, 19, 19, 19, 19, 19,
+ 19, 19, 19, 19, 19, 0, 19, 0, 19, 19,
+ 0, 0, 19, 19, 19, 19, 19, 19, 19, 19,
+ 19, 19, 19, 19, 19, 19, 5, 19, 19, 19,
+ 19, 0, 19, 19, 19, 19, 19, 19,
+#endif /* ACE_MVS */
+ };
+ return len + asso_values[str[len - 1]] + asso_values[str[0]];
+}
+
+const class TAO_operation_db_entry *
+TAO_CORBA_IDLType_Perfect_Hash_OpTable::lookup (const char *str, unsigned int len)
+{
+ enum
+ {
+ TOTAL_KEYWORDS = 5,
+ MIN_WORD_LENGTH = 5,
+ MAX_WORD_LENGTH = 13,
+ MIN_HASH_VALUE = 5,
+ MAX_HASH_VALUE = 18,
+ HASH_VALUE_RANGE = 14,
+ DUPLICATES = 0
+ };
+
+ static const class TAO_operation_db_entry wordlist[] =
+ {
+ {"",0},{"",0},{"",0},{"",0},{"",0},
+ {"_is_a", &POA_CORBA::IDLType::_is_a_skel},
+ {"",0},
+ {"destroy", &POA_CORBA::IDLType::destroy_skel},
+ {"",0},
+ {"_get_type", &POA_CORBA::IDLType::_get_type_skel},
+ {"",0},{"",0},{"",0},
+ {"_get_def_kind", &POA_CORBA::IDLType::_get_def_kind_skel},
+ {"",0},{"",0},{"",0},{"",0},
+ {"_non_existent", &POA_CORBA::IDLType::_non_existent_skel},
+ };
+
+ if (len <= MAX_WORD_LENGTH && len >= MIN_WORD_LENGTH)
+ {
+ unsigned int key = hash (str, len);
+
+ if (key <= MAX_HASH_VALUE && key >= MIN_HASH_VALUE)
+ {
+ const char *s = wordlist[key].opname_;
+
+ if (*str == *s && !strncmp (str + 1, s + 1, len - 1))
+ return &wordlist[key];
+ }
+ }
+ return 0;
+}
+/* ending time is 10:43:19 */
+static TAO_CORBA_IDLType_Perfect_Hash_OpTable tao_CORBA_IDLType_optable;
+
+
+///////////////////////////////////////////////////////////////////////
+// Strategized Proxy Broker Implementation
+//
+
+// Factory function Implementation.
+POA_CORBA::_TAO_IDLType_Strategized_Proxy_Broker *POA_CORBA::_TAO_IDLType_Strategized_Proxy_Broker::the_TAO_IDLType_Strategized_Proxy_Broker (void)
+{
+ static POA_CORBA::_TAO_IDLType_Strategized_Proxy_Broker strategized_proxy_broker;
+ return &strategized_proxy_broker;
+}
+
+POA_CORBA::_TAO_IDLType_Strategized_Proxy_Broker::_TAO_IDLType_Strategized_Proxy_Broker (void)
+{
+ for (int i = 0; i < TAO_Collocation_Strategies::CS_LAST; ++i)
+ this->proxy_cache_[i] = 0;
+
+}
+
+POA_CORBA::_TAO_IDLType_Strategized_Proxy_Broker::~_TAO_IDLType_Strategized_Proxy_Broker (void)
+{
+ for (int i = 0; i < TAO_Collocation_Strategies::CS_LAST; ++i)
+ delete this->proxy_cache_[i];
+
+}
+
+_TAO_IDLType_Proxy_Impl&
+POA_CORBA::_TAO_IDLType_Strategized_Proxy_Broker::select_proxy (
+ ::CORBA::IDLType *object,
+ CORBA::Environment &ACE_TRY_ENV
+ )
+{
+ int strategy =
+ TAO_ORB_Core::collocation_strategy (object);
+
+ if (this->proxy_cache_[strategy] != 0)
+ return *this->proxy_cache_[strategy];
+
+ this->create_proxy (strategy, ACE_TRY_ENV);
+ ACE_CHECK_RETURN (*this->proxy_cache_[strategy]);
+
+ return *this->proxy_cache_[strategy];
+
+}
+
+void
+POA_CORBA::_TAO_IDLType_Strategized_Proxy_Broker::create_proxy (
+ int strategy,
+ CORBA::Environment &ACE_TRY_ENV
+ )
+{
+ ACE_GUARD (TAO_SYNCH_MUTEX, guard, this->mutex_);
+
+ if (this->proxy_cache_[strategy] == 0)
+ {
+ switch (strategy)
+ {
+ case TAO_Collocation_Strategies::CS_THRU_POA_STRATEGY:
+ ACE_NEW_THROW_EX (
+ this->proxy_cache_[strategy],
+ _TAO_IDLType_ThruPOA_Proxy_Impl,
+ CORBA::NO_MEMORY ()
+ );
+ ACE_CHECK;
+ break;
+
+ case TAO_Collocation_Strategies::CS_REMOTE_STRATEGY:
+ default:
+ ACE_NEW_THROW_EX (
+ this->proxy_cache_[strategy],
+ ::_TAO_IDLType_Remote_Proxy_Impl,
+ CORBA::NO_MEMORY ()
+ );
+ ACE_CHECK;
+ break;
+
+ }
+
+ }
+}
+
+
+//
+// End Strategized Proxy Broker Implementation
+///////////////////////////////////////////////////////////////////////
+
+
+_TAO_IDLType_Proxy_Broker *
+CORBA__TAO_IDLType_Proxy_Broker_Factory_function (CORBA::Object_ptr obj)
+{
+ ACE_UNUSED_ARG (obj);
+ return ::POA_CORBA::_TAO_IDLType_Strategized_Proxy_Broker::the_TAO_IDLType_Strategized_Proxy_Broker();
+}
+
+int
+CORBA__TAO_IDLType_Proxy_Broker_Factory_Initializer (long _dummy_)
+{
+ ACE_UNUSED_ARG (_dummy_);
+
+ CORBA__TAO_IDLType_Proxy_Broker_Factory_function_pointer =
+ CORBA__TAO_IDLType_Proxy_Broker_Factory_function;
+
+ return 0;
+}
+
+static int CORBA__TAO_IDLType_Proxy_Broker_Stub_Factory_Initializer_Scarecrow =
+ CORBA__TAO_IDLType_Proxy_Broker_Factory_Initializer (ACE_reinterpret_cast (long, CORBA__TAO_IDLType_Proxy_Broker_Factory_Initializer));
+
+
+///////////////////////////////////////////////////////////////////////
+// ThruPOA Proxy Implementation
+//
+
+POA_CORBA::_TAO_IDLType_ThruPOA_Proxy_Impl::_TAO_IDLType_ThruPOA_Proxy_Impl (void)
+{}
+
+// ThruPOA Implementation of the IDL interface methods
+
+CORBA::TypeCode_ptr POA_CORBA::_TAO_IDLType_ThruPOA_Proxy_Impl::type (
+ CORBA_Object *_collocated_tao_target_,
+ CORBA::Environment &ACE_TRY_ENV
+ )
+ ACE_THROW_SPEC ((
+ CORBA::SystemException
+ ))
+{
+ CORBA::TypeCode_var _tao_retval;
+ ACE_UNUSED_ARG (_tao_retval);
+ TAO_Object_Adapter::Servant_Upcall servant_upcall (
+ _collocated_tao_target_->_stubobj ()->servant_orb_var ()->orb_core ()
+ );
+ CORBA::Object_var forward_to;
+ servant_upcall.prepare_for_upcall (
+ _collocated_tao_target_->_object_key (),
+ "type",
+ forward_to.out (),
+ ACE_TRY_ENV
+ );
+ ACE_CHECK_RETURN (0);
+ return ACE_reinterpret_cast (
+ POA_CORBA::IDLType_ptr,
+ servant_upcall.servant ()->_downcast (
+ "IDL:omg.org/CORBA/IDLType:1.0"
+ )
+ )->type (
+ ACE_TRY_ENV
+ );
+}
+
+//
+// End ThruPOA Proxy Implementation
+///////////////////////////////////////////////////////////////////////
+
+// skeleton constructor
+POA_CORBA::IDLType::IDLType (void)
+{
+ this->optable_ = &tao_CORBA_IDLType_optable;
+}
+
+// copy ctor
+POA_CORBA::IDLType::IDLType (const IDLType& rhs)
+ : ACE_NESTED_CLASS (POA_CORBA,IRObject) (rhs),
+ TAO_ServantBase (rhs)
+{}
+
+// skeleton destructor
+POA_CORBA::IDLType::~IDLType (void)
+{
+}
+
+void POA_CORBA::IDLType::_get_type_skel (
+ TAO_ServerRequest &_tao_server_request,
+ void *_tao_object_reference,
+ void * /* context */,
+ CORBA::Environment &ACE_TRY_ENV
+ )
+{
+ POA_CORBA::IDLType *_tao_impl = (POA_CORBA::IDLType *)_tao_object_reference;
+
+ CORBA::TypeCode_var _tao_retval;
+
+#if (TAO_HAS_INTERCEPTORS == 1)
+ TAO_ServerRequestInterceptor_Adapter _tao_vfr (
+ _tao_server_request.orb_core ()->server_request_interceptors (),
+ _tao_server_request.interceptor_count ()
+ );
+
+ POA_CORBA::IDLType::TAO_ServerRequestInfo_CORBA_IDLType_type_get ri (
+ _tao_server_request,
+ _tao_impl,
+ ACE_TRY_ENV
+ );
+
+ ACE_TRY
+ {
+ _tao_vfr.receive_request (&ri, ACE_TRY_ENV);
+ ACE_TRY_CHECK;
+
+#endif /* TAO_HAS_INTERCEPTORS */
+ _tao_retval =
+ _tao_impl->type (
+ ACE_TRY_ENV
+ );
+ TAO_INTERCEPTOR_CHECK;
+
+#if (TAO_HAS_INTERCEPTORS == 1)
+ CORBA::TypeCode_ptr _tao_retval_info = _tao_retval._retn ();
+ ri.result (_tao_retval_info);
+ _tao_retval = _tao_retval_info;
+ ri.reply_status (PortableInterceptor::SUCCESSFUL);
+ _tao_vfr.send_reply (&ri, ACE_TRY_ENV);
+ ACE_TRY_CHECK;
+ }
+ ACE_CATCH (PortableInterceptor::ForwardRequest, exc)
+ {
+ ri.forward_reference (exc);
+ _tao_vfr.send_other (
+ &ri,
+ ACE_TRY_ENV
+ );
+ ACE_TRY_CHECK;
+ _tao_server_request.forward_location (exc.forward.in ());
+ }
+ ACE_CATCHANY
+ {
+ ri.exception (&ACE_ANY_EXCEPTION);
+ _tao_vfr.send_exception (
+ &ri,
+ ACE_TRY_ENV
+ );
+ ACE_TRY_CHECK;
+ ACE_RE_THROW;
+ }
+ ACE_ENDTRY;
+ ACE_CHECK;
+#endif /* TAO_HAS_INTERCEPTORS */
+
+ _tao_server_request.init_reply ();
+
+ TAO_OutputCDR &_tao_out = _tao_server_request.outgoing ();
+
+ if (!(
+ (_tao_out << _tao_retval.in ())
+ ))
+ ACE_THROW (CORBA::MARSHAL());
+
+ // In case ACE_TRY_ENV is not used in this function
+ ACE_UNUSED_ARG (ACE_TRY_ENV);
+}
+
+void POA_CORBA::IDLType::_is_a_skel (
+ TAO_ServerRequest &_tao_server_request,
+ void * _tao_object_reference,
+ void * /* context */,
+ CORBA::Environment &ACE_TRY_ENV
+ )
+{
+ TAO_InputCDR &_tao_in = _tao_server_request.incoming ();
+ POA_CORBA::IDLType *_tao_impl = (POA_CORBA::IDLType *) _tao_object_reference;
+ CORBA::Boolean _tao_retval = 0;
+ CORBA::String_var value;
+ if (!(_tao_in >> value.out ()))
+ ACE_THROW (CORBA::MARSHAL ());
+
+ _tao_retval = _tao_impl->_is_a (value.in (), ACE_TRY_ENV);
+ ACE_CHECK;
+
+ _tao_server_request.init_reply ();
+ TAO_OutputCDR &_tao_out = _tao_server_request.outgoing ();
+ if (!(_tao_out << CORBA::Any::from_boolean (_tao_retval)))
+ ACE_THROW (CORBA::MARSHAL ());
+}
+
+void POA_CORBA::IDLType::_non_existent_skel (
+ TAO_ServerRequest &_tao_server_request,
+ void * _tao_object_reference,
+ void * /* context */,
+ CORBA::Environment &ACE_TRY_ENV
+ )
+{
+ POA_CORBA::IDLType *_tao_impl = (POA_CORBA::IDLType *) _tao_object_reference;
+ CORBA::Boolean _tao_retval = _tao_impl->_non_existent (ACE_TRY_ENV);
+ ACE_CHECK;
+
+ _tao_server_request.init_reply ();
+ TAO_OutputCDR &_tao_out = _tao_server_request.outgoing ();
+ if (!(_tao_out << CORBA::Any::from_boolean (_tao_retval)))
+ ACE_THROW (CORBA::MARSHAL ());
+}
+
+CORBA::Boolean POA_CORBA::IDLType::_is_a (
+ const char* value,
+ CORBA::Environment &ACE_TRY_ENV
+ )
+{
+ const char *base_id = CORBA::_tc_Object->id (ACE_TRY_ENV);
+ ACE_CHECK_RETURN (0);
+
+ if (
+ (!ACE_OS::strcmp ((char *)value, "IDL:omg.org/CORBA/IDLType:1.0")) ||
+ (!ACE_OS::strcmp ((char *)value, "IDL:omg.org/CORBA/IRObject:1.0")) ||
+ (!ACE_OS::strcmp ((char *)value, base_id)))
+ return 1;
+ else
+ return 0;
+}
+
+void* POA_CORBA::IDLType::_downcast (
+ const char* logical_type_id
+ )
+{
+ if (ACE_OS::strcmp (logical_type_id, "IDL:omg.org/CORBA/IDLType:1.0") == 0)
+ return ACE_static_cast (POA_CORBA::IDLType_ptr, this);
+ if (ACE_OS::strcmp (logical_type_id, "IDL:omg.org/CORBA/IRObject:1.0") == 0)
+ return ACE_static_cast (POA_CORBA::IRObject_ptr, this);
+ if (ACE_OS::strcmp (logical_type_id, "IDL:omg.org/CORBA/Object:1.0") == 0)
+ return ACE_static_cast(PortableServer::Servant, this);
+ return 0;
+}
+
+void POA_CORBA::IDLType::_dispatch (TAO_ServerRequest &req, void *context, CORBA::Environment &ACE_TRY_ENV)
+{
+ this->synchronous_upcall_dispatch(req, context, this, ACE_TRY_ENV);
+}
+
+const char* POA_CORBA::IDLType::_interface_repository_id (void) const
+{
+ return "IDL:omg.org/CORBA/IDLType:1.0";
+}
+
+CORBA::IDLType*
+POA_CORBA::IDLType::_this (CORBA_Environment &ACE_TRY_ENV)
+{
+ TAO_Stub *stub = this->_create_stub (ACE_TRY_ENV);
+ ACE_CHECK_RETURN (0);
+
+ CORBA::Object_ptr tmp = CORBA::Object::_nil ();
+
+ if (stub->servant_orb_var ()->orb_core ()->optimize_collocation_objects ())
+ ACE_NEW_RETURN (tmp, CORBA::Object (stub, 1, this), 0);
+ else
+ ACE_NEW_RETURN (tmp, CORBA::Object (stub, 0, this), 0);
+
+ CORBA::Object_var obj = tmp;
+ return ::CORBA::IDLType::_unchecked_narrow (obj.in ());
+}
+
+
+#if (TAO_HAS_INTERCEPTORS == 1)
+POA_CORBA::IDLType::TAO_ServerRequestInfo_CORBA_IDLType_type_get::TAO_ServerRequestInfo_CORBA_IDLType_type_get (
+ TAO_ServerRequest &_tao_server_request,
+ POA_CORBA::IDLType *tao_impl,
+ CORBA::Environment &
+ )
+ : TAO_ServerRequestInfo (_tao_server_request),
+ _tao_impl (tao_impl)
+{}
+
+Dynamic::ParameterList *
+POA_CORBA::IDLType::TAO_ServerRequestInfo_CORBA_IDLType_type_get::arguments (CORBA::Environment &ACE_TRY_ENV)
+ ACE_THROW_SPEC ((CORBA::SystemException))
+{
+ // Generate the argument list on demand.
+ Dynamic::ParameterList *parameter_list =
+ TAO_RequestInfo_Util::make_parameter_list (ACE_TRY_ENV);
+ ACE_CHECK_RETURN (0);
+
+ return parameter_list;
+}
+
+Dynamic::ExceptionList *
+POA_CORBA::IDLType::TAO_ServerRequestInfo_CORBA_IDLType_type_get::exceptions (CORBA::Environment &ACE_TRY_ENV)
+ ACE_THROW_SPEC ((CORBA::SystemException))
+{
+ // Generate the exception list on demand.
+ Dynamic::ExceptionList *exception_list =
+ TAO_RequestInfo_Util::make_exception_list (ACE_TRY_ENV);
+ ACE_CHECK_RETURN (0);
+
+ return exception_list;
+}
+
+CORBA::Any *
+POA_CORBA::IDLType::TAO_ServerRequestInfo_CORBA_IDLType_type_get::result (CORBA::Environment &ACE_TRY_ENV)
+ ACE_THROW_SPEC ((CORBA::SystemException))
+{
+ // Generate the result on demand.
+ CORBA::Boolean tk_void_any = 0;
+ CORBA::Any *result_any =
+ TAO_RequestInfo_Util::make_any (tk_void_any, ACE_TRY_ENV);
+ ACE_CHECK_RETURN (0);
+
+ CORBA::Any_var safe_result_any = result_any;
+
+ (*result_any) <<= this->_result;
+
+ return safe_result_any._retn ();
+}
+
+char *
+POA_CORBA::IDLType::TAO_ServerRequestInfo_CORBA_IDLType_type_get::target_most_derived_interface (
+ CORBA::Environment &)
+ ACE_THROW_SPEC ((CORBA::SystemException))
+{
+ return
+ CORBA::string_dup (this->_tao_impl->_interface_repository_id ());
+}
+
+CORBA::Boolean
+POA_CORBA::IDLType::TAO_ServerRequestInfo_CORBA_IDLType_type_get::target_is_a (
+ const char * id,
+ CORBA::Environment &ACE_TRY_ENV)
+ ACE_THROW_SPEC ((CORBA::SystemException))
+{
+ return this->_tao_impl->_is_a (id, ACE_TRY_ENV);
+}
+
+void
+POA_CORBA::IDLType::TAO_ServerRequestInfo_CORBA_IDLType_type_get::result (CORBA::TypeCode_ptr result)
+{
+ // Update the result.
+ this->_result = result;
+}
+
+#endif /* TAO_HAS_INTERCEPTORS */
+class TAO_CORBA_TypedefDef_Perfect_Hash_OpTable : public TAO_Perfect_Hash_OpTable
+{
+private:
+ unsigned int hash (const char *str, unsigned int len);
+public:
+ const TAO_operation_db_entry * lookup (const char *str, unsigned int len);
+};
+/* starting time is 10:43:19 */
+/* C++ code produced by gperf version 2.8 (ACE version) */
+/* Command-line: gperf -m -M -J -c -C -D -E -T -f 0 -F 0 -a -o -t -p -K opname_ -L C++ -Z TAO_CORBA_TypedefDef_Perfect_Hash_OpTable -N lookup */
+unsigned int
+TAO_CORBA_TypedefDef_Perfect_Hash_OpTable::hash (const char *str, unsigned int len)
+{
+ static const unsigned char asso_values[] =
+ {
+#if defined (ACE_MVS)
+ 37, 37, 37, 37, 37, 37, 37, 37, 37, 37,
+ 37, 37, 37, 37, 37, 37, 37, 37, 37, 37,
+ 37, 37, 37, 37, 37, 37, 37, 37, 37, 37,
+ 37, 37, 37, 37, 37, 37, 37, 37, 37, 37,
+ 37, 37, 37, 37, 37, 37, 37, 37, 37, 37,
+ 37, 37, 37, 37, 37, 37, 37, 37, 37, 37,
+ 37, 37, 37, 37, 37, 37, 37, 37, 37, 37,
+ 37, 37, 37, 37, 37, 37, 37, 37, 37, 37,
+ 37, 37, 37, 37, 37, 37, 37, 37, 37, 37,
+ 37, 37, 37, 37, 37, 37, 37, 37, 37, 37,
+ 37, 37, 37, 37, 37, 37, 37, 37, 37, 0,
+ 37, 37, 37, 37, 37, 37, 37, 37, 37, 37,
+ 37, 37, 37, 37, 37, 37, 37, 37, 37, 0,
+ 37, 37, 0, 0, 37, 37, 37, 37, 37, 37,
+ 37, 37, 37, 37, 37, 37, 37, 37, 0, 0,
+ 37, 37, 37, 37, 37, 37, 37, 37, 37, 37,
+ 37, 37, 37, 10, 37, 37, 37, 37, 10, 37,
+ 37, 37, 37, 37, 37, 37, 37, 37, 37, 37,
+ 37, 37, 37, 37, 37, 37, 37, 37, 37, 37,
+ 37, 37, 37, 37, 37, 37, 37, 37, 37, 37,
+ 37, 37, 37, 37, 37, 37, 37, 37, 37, 37,
+ 37, 37, 37, 37, 37, 37, 37, 37, 37, 37,
+ 37, 37, 37, 37, 37, 37, 37, 37, 37, 37,
+ 37, 37, 37, 37, 37, 37, 37, 37, 37, 37,
+ 37, 37, 37, 37, 37, 37, 37, 37, 37, 37,
+ 37, 37, 37, 37, 37, 37,
+#else
+ 37, 37, 37, 37, 37, 37, 37, 37, 37, 37,
+ 37, 37, 37, 37, 37, 37, 37, 37, 37, 37,
+ 37, 37, 37, 37, 37, 37, 37, 37, 37, 37,
+ 37, 37, 37, 37, 37, 37, 37, 37, 37, 37,
+ 37, 37, 37, 37, 37, 37, 37, 37, 37, 37,
+ 37, 37, 37, 37, 37, 37, 37, 37, 37, 37,
+ 37, 37, 37, 37, 37, 37, 37, 37, 37, 37,
+ 37, 37, 37, 37, 37, 37, 37, 37, 37, 37,
+ 37, 37, 37, 37, 37, 37, 37, 37, 37, 37,
+ 37, 37, 37, 37, 37, 0, 37, 0, 37, 37,
+ 0, 0, 37, 37, 37, 37, 37, 37, 37, 0,
+ 0, 37, 37, 37, 37, 37, 10, 37, 37, 37,
+ 37, 10, 37, 37, 37, 37, 37, 37,
+#endif /* ACE_MVS */
+ };
+ return len + asso_values[str[len - 1]] + asso_values[str[0]];
+}
+
+const class TAO_operation_db_entry *
+TAO_CORBA_TypedefDef_Perfect_Hash_OpTable::lookup (const char *str, unsigned int len)
+{
+ enum
+ {
+ TOTAL_KEYWORDS = 16,
+ MIN_WORD_LENGTH = 4,
+ MAX_WORD_LENGTH = 26,
+ MIN_HASH_VALUE = 4,
+ MAX_HASH_VALUE = 36,
+ HASH_VALUE_RANGE = 33,
+ DUPLICATES = 5
+ };
+
+ static const class TAO_operation_db_entry wordlist[] =
+ {
+ {"",0},{"",0},{"",0},{"",0},
+ {"move", &POA_CORBA::TypedefDef::move_skel},
+ {"_is_a", &POA_CORBA::TypedefDef::_is_a_skel},
+ {"_get_id", &POA_CORBA::TypedefDef::_get_id_skel},
+ {"_set_id", &POA_CORBA::TypedefDef::_set_id_skel},
+ {"describe", &POA_CORBA::TypedefDef::describe_skel},
+ {"_get_name", &POA_CORBA::TypedefDef::_get_name_skel},
+ {"_get_type", &POA_CORBA::TypedefDef::_get_type_skel},
+ {"_set_name", &POA_CORBA::TypedefDef::_set_name_skel},
+ {"_get_version", &POA_CORBA::TypedefDef::_get_version_skel},
+ {"_set_version", &POA_CORBA::TypedefDef::_set_version_skel},
+ {"_get_def_kind", &POA_CORBA::TypedefDef::_get_def_kind_skel},
+ {"_get_defined_in", &POA_CORBA::TypedefDef::_get_defined_in_skel},
+ {"destroy", &POA_CORBA::TypedefDef::destroy_skel},
+ {"_get_absolute_name", &POA_CORBA::TypedefDef::_get_absolute_name_skel},
+ {"_non_existent", &POA_CORBA::TypedefDef::_non_existent_skel},
+ {"_get_containing_repository", &POA_CORBA::TypedefDef::_get_containing_repository_skel},
+ };
+
+ static const signed char lookup[] =
+ {
+ -6, -2, -9, -3, 4, 5, -1, -43, 8, -43, -12, -2, -38, 14,
+ -1, 15, -1, 16, 17, -1, -1, -1, -1, 18, -1, -1, -1, -1,
+ -1, -1, -1, -1, -1, -1, -1, -1, 19,
+ };
+
+ if (len <= MAX_WORD_LENGTH && len >= MIN_WORD_LENGTH)
+ {
+ unsigned int key = hash (str, len);
+
+ if (key <= MAX_HASH_VALUE && key >= MIN_HASH_VALUE)
+ {
+ int slot = lookup[key];
+
+ if (slot >= 0 && slot < MAX_HASH_VALUE)
+ {
+ const char *s = wordlist[slot].opname_;
+
+ if (*str == *s && !strncmp (str + 1, s + 1, len - 1))
+ return &wordlist[slot];
+ }
+ else if (slot < 0 && slot >= -MAX_HASH_VALUE)
+ return 0;
+ else
+ {
+ unsigned int offset = key + slot + (slot > 0 ? -MAX_HASH_VALUE : MAX_HASH_VALUE);
+ const class TAO_operation_db_entry *base = &wordlist[-lookup[offset]];
+ const class TAO_operation_db_entry *ptr = base + -lookup[offset + 1];
+
+ while (--ptr >= base)
+ if (*str == *ptr->opname_ && !strncmp (str + 1, ptr->opname_ + 1, len - 1))
+ return ptr;
+ }
+ }
+ }
+ return 0;
+}
+/* ending time is 10:43:19 */
+static TAO_CORBA_TypedefDef_Perfect_Hash_OpTable tao_CORBA_TypedefDef_optable;
+
+
+///////////////////////////////////////////////////////////////////////
+// Strategized Proxy Broker Implementation
+//
+
+// Factory function Implementation.
+POA_CORBA::_TAO_TypedefDef_Strategized_Proxy_Broker *POA_CORBA::_TAO_TypedefDef_Strategized_Proxy_Broker::the_TAO_TypedefDef_Strategized_Proxy_Broker (void)
+{
+ static POA_CORBA::_TAO_TypedefDef_Strategized_Proxy_Broker strategized_proxy_broker;
+ return &strategized_proxy_broker;
+}
+
+POA_CORBA::_TAO_TypedefDef_Strategized_Proxy_Broker::_TAO_TypedefDef_Strategized_Proxy_Broker (void)
+{
+ for (int i = 0; i < TAO_Collocation_Strategies::CS_LAST; ++i)
+ this->proxy_cache_[i] = 0;
+
+}
+
+POA_CORBA::_TAO_TypedefDef_Strategized_Proxy_Broker::~_TAO_TypedefDef_Strategized_Proxy_Broker (void)
+{
+ for (int i = 0; i < TAO_Collocation_Strategies::CS_LAST; ++i)
+ delete this->proxy_cache_[i];
+
+}
+
+_TAO_TypedefDef_Proxy_Impl&
+POA_CORBA::_TAO_TypedefDef_Strategized_Proxy_Broker::select_proxy (
+ ::CORBA::TypedefDef *object,
+ CORBA::Environment &ACE_TRY_ENV
+ )
+{
+ int strategy =
+ TAO_ORB_Core::collocation_strategy (object);
+
+ if (this->proxy_cache_[strategy] != 0)
+ return *this->proxy_cache_[strategy];
+
+ this->create_proxy (strategy, ACE_TRY_ENV);
+ ACE_CHECK_RETURN (*this->proxy_cache_[strategy]);
+
+ return *this->proxy_cache_[strategy];
+
+}
+
+void
+POA_CORBA::_TAO_TypedefDef_Strategized_Proxy_Broker::create_proxy (
+ int strategy,
+ CORBA::Environment &ACE_TRY_ENV
+ )
+{
+ ACE_GUARD (TAO_SYNCH_MUTEX, guard, this->mutex_);
+
+ if (this->proxy_cache_[strategy] == 0)
+ {
+ switch (strategy)
+ {
+ case TAO_Collocation_Strategies::CS_THRU_POA_STRATEGY:
+ ACE_NEW_THROW_EX (
+ this->proxy_cache_[strategy],
+ _TAO_TypedefDef_ThruPOA_Proxy_Impl,
+ CORBA::NO_MEMORY ()
+ );
+ ACE_CHECK;
+ break;
+
+ case TAO_Collocation_Strategies::CS_REMOTE_STRATEGY:
+ default:
+ ACE_NEW_THROW_EX (
+ this->proxy_cache_[strategy],
+ ::_TAO_TypedefDef_Remote_Proxy_Impl,
+ CORBA::NO_MEMORY ()
+ );
+ ACE_CHECK;
+ break;
+
+ }
+
+ }
+}
+
+
+//
+// End Strategized Proxy Broker Implementation
+///////////////////////////////////////////////////////////////////////
+
+
+_TAO_TypedefDef_Proxy_Broker *
+CORBA__TAO_TypedefDef_Proxy_Broker_Factory_function (CORBA::Object_ptr obj)
+{
+ ACE_UNUSED_ARG (obj);
+ return ::POA_CORBA::_TAO_TypedefDef_Strategized_Proxy_Broker::the_TAO_TypedefDef_Strategized_Proxy_Broker();
+}
+
+int
+CORBA__TAO_TypedefDef_Proxy_Broker_Factory_Initializer (long _dummy_)
+{
+ ACE_UNUSED_ARG (_dummy_);
+
+ CORBA__TAO_TypedefDef_Proxy_Broker_Factory_function_pointer =
+ CORBA__TAO_TypedefDef_Proxy_Broker_Factory_function;
+
+ return 0;
+}
+
+static int CORBA__TAO_TypedefDef_Proxy_Broker_Stub_Factory_Initializer_Scarecrow =
+ CORBA__TAO_TypedefDef_Proxy_Broker_Factory_Initializer (ACE_reinterpret_cast (long, CORBA__TAO_TypedefDef_Proxy_Broker_Factory_Initializer));
+
+
+///////////////////////////////////////////////////////////////////////
+// ThruPOA Proxy Implementation
+//
+
+POA_CORBA::_TAO_TypedefDef_ThruPOA_Proxy_Impl::_TAO_TypedefDef_ThruPOA_Proxy_Impl (void)
+{}
+
+// ThruPOA Implementation of the IDL interface methods
+
+//
+// End ThruPOA Proxy Implementation
+///////////////////////////////////////////////////////////////////////
+
+// skeleton constructor
+POA_CORBA::TypedefDef::TypedefDef (void)
+{
+ this->optable_ = &tao_CORBA_TypedefDef_optable;
+}
+
+// copy ctor
+POA_CORBA::TypedefDef::TypedefDef (const TypedefDef& rhs)
+ : ACE_NESTED_CLASS (POA_CORBA,Contained) (rhs),
+ ACE_NESTED_CLASS (POA_CORBA,IDLType) (rhs),
+ ACE_NESTED_CLASS (POA_CORBA,IRObject) (rhs),
+ TAO_ServantBase (rhs)
+{}
+
+// skeleton destructor
+POA_CORBA::TypedefDef::~TypedefDef (void)
+{
+}
+
+void POA_CORBA::TypedefDef::_is_a_skel (
+ TAO_ServerRequest &_tao_server_request,
+ void * _tao_object_reference,
+ void * /* context */,
+ CORBA::Environment &ACE_TRY_ENV
+ )
+{
+ TAO_InputCDR &_tao_in = _tao_server_request.incoming ();
+ POA_CORBA::TypedefDef *_tao_impl = (POA_CORBA::TypedefDef *) _tao_object_reference;
+ CORBA::Boolean _tao_retval = 0;
+ CORBA::String_var value;
+ if (!(_tao_in >> value.out ()))
+ ACE_THROW (CORBA::MARSHAL ());
+
+ _tao_retval = _tao_impl->_is_a (value.in (), ACE_TRY_ENV);
+ ACE_CHECK;
+
+ _tao_server_request.init_reply ();
+ TAO_OutputCDR &_tao_out = _tao_server_request.outgoing ();
+ if (!(_tao_out << CORBA::Any::from_boolean (_tao_retval)))
+ ACE_THROW (CORBA::MARSHAL ());
+}
+
+void POA_CORBA::TypedefDef::_non_existent_skel (
+ TAO_ServerRequest &_tao_server_request,
+ void * _tao_object_reference,
+ void * /* context */,
+ CORBA::Environment &ACE_TRY_ENV
+ )
+{
+ POA_CORBA::TypedefDef *_tao_impl = (POA_CORBA::TypedefDef *) _tao_object_reference;
+ CORBA::Boolean _tao_retval = _tao_impl->_non_existent (ACE_TRY_ENV);
+ ACE_CHECK;
+
+ _tao_server_request.init_reply ();
+ TAO_OutputCDR &_tao_out = _tao_server_request.outgoing ();
+ if (!(_tao_out << CORBA::Any::from_boolean (_tao_retval)))
+ ACE_THROW (CORBA::MARSHAL ());
+}
+
+CORBA::Boolean POA_CORBA::TypedefDef::_is_a (
+ const char* value,
+ CORBA::Environment &ACE_TRY_ENV
+ )
+{
+ const char *base_id = CORBA::_tc_Object->id (ACE_TRY_ENV);
+ ACE_CHECK_RETURN (0);
+
+ if (
+ (!ACE_OS::strcmp ((char *)value, "IDL:omg.org/CORBA/TypedefDef:1.0")) ||
+ (!ACE_OS::strcmp ((char *)value, "IDL:omg.org/CORBA/Contained:1.0")) ||
+ (!ACE_OS::strcmp ((char *)value, "IDL:omg.org/CORBA/IDLType:1.0")) ||
+ (!ACE_OS::strcmp ((char *)value, "IDL:omg.org/CORBA/IRObject:1.0")) ||
+ (!ACE_OS::strcmp ((char *)value, base_id)))
+ return 1;
+ else
+ return 0;
+}
+
+void* POA_CORBA::TypedefDef::_downcast (
+ const char* logical_type_id
+ )
+{
+ if (ACE_OS::strcmp (logical_type_id, "IDL:omg.org/CORBA/TypedefDef:1.0") == 0)
+ return ACE_static_cast (POA_CORBA::TypedefDef_ptr, this);
+ if (ACE_OS::strcmp (logical_type_id, "IDL:omg.org/CORBA/Contained:1.0") == 0)
+ return ACE_static_cast (POA_CORBA::Contained_ptr, this);
+ if (ACE_OS::strcmp (logical_type_id, "IDL:omg.org/CORBA/IDLType:1.0") == 0)
+ return ACE_static_cast (POA_CORBA::IDLType_ptr, this);
+ if (ACE_OS::strcmp (logical_type_id, "IDL:omg.org/CORBA/IRObject:1.0") == 0)
+ return ACE_static_cast (POA_CORBA::IRObject_ptr, this);
+ if (ACE_OS::strcmp (logical_type_id, "IDL:omg.org/CORBA/Object:1.0") == 0)
+ return ACE_static_cast(PortableServer::Servant, this);
+ return 0;
+}
+
+void POA_CORBA::TypedefDef::_dispatch (TAO_ServerRequest &req, void *context, CORBA::Environment &ACE_TRY_ENV)
+{
+ this->synchronous_upcall_dispatch(req, context, this, ACE_TRY_ENV);
+}
+
+const char* POA_CORBA::TypedefDef::_interface_repository_id (void) const
+{
+ return "IDL:omg.org/CORBA/TypedefDef:1.0";
+}
+
+CORBA::TypedefDef*
+POA_CORBA::TypedefDef::_this (CORBA_Environment &ACE_TRY_ENV)
+{
+ TAO_Stub *stub = this->_create_stub (ACE_TRY_ENV);
+ ACE_CHECK_RETURN (0);
+
+ CORBA::Object_ptr tmp = CORBA::Object::_nil ();
+
+ if (stub->servant_orb_var ()->orb_core ()->optimize_collocation_objects ())
+ ACE_NEW_RETURN (tmp, CORBA::Object (stub, 1, this), 0);
+ else
+ ACE_NEW_RETURN (tmp, CORBA::Object (stub, 0, this), 0);
+
+ CORBA::Object_var obj = tmp;
+ return ::CORBA::TypedefDef::_unchecked_narrow (obj.in ());
+}
+
+
+#if (TAO_HAS_INTERCEPTORS == 1)
+#endif /* TAO_HAS_INTERCEPTORS */
+
+#endif /* ifndef */
diff --git a/TAO/orbsvcs/IFR_Service/IFR_BaseS.h b/TAO/orbsvcs/IFR_Service/IFR_BaseS.h
new file mode 100644
index 00000000000..53df7d15549
--- /dev/null
+++ b/TAO/orbsvcs/IFR_Service/IFR_BaseS.h
@@ -0,0 +1,4188 @@
+// -*- C++ -*-
+//
+// $Id$
+
+// **** Code generated by the The ACE ORB (TAO) IDL Compiler ****
+// TAO and the TAO IDL Compiler have been developed by:
+// Center for Distributed Object Computing
+// Washington University
+// St. Louis, MO
+// USA
+// http://www.cs.wustl.edu/~schmidt/doc-center.html
+// and
+// Distributed Object Computing Laboratory
+// University of California at Irvine
+// Irvine, CA
+// USA
+// http://doc.ece.uci.edu/
+//
+// Information about TAO is available at:
+// http://www.cs.wustl.edu/~schmidt/TAO.html
+
+#ifndef TAO_ID_IFR_BASES_H
+#define TAO_ID_IFR_BASES_H
+
+#include "ace/pre.h"
+#include "tao/IFR_Client/IFR_ExtendedC.h"
+
+#if !defined (ACE_LACKS_PRAGMA_ONCE)
+# pragma once
+#endif /* ACE_LACKS_PRAGMA_ONCE */
+
+#include "tao/PortableServer/Servant_Base.h"
+#include "tao/PortableServer/ThruPOA_Object_Proxy_Impl.h"
+#include "tao/PortableServer/Direct_Object_Proxy_Impl.h"
+#include "tao/PortableServer/ServerRequestInfo.h"
+#include "tao/PortableServer/Object_Adapter.h"
+#include "tao/PortableServer/Operation_Table.h"
+#include "tao/PortableInterceptor.h"
+#include "tao/TAO_Server_Request.h"
+
+#if defined(_MSC_VER)
+#if (_MSC_VER >= 1200)
+#pragma warning(push)
+#endif /* _MSC_VER >= 1200 */
+#pragma warning(disable:4250)
+#endif /* _MSC_VER */
+
+#if defined (__BORLANDC__)
+#pragma option push -w-rvl -w-rch -w-ccc -w-inl
+#endif /* __BORLANDC__ */
+
+TAO_NAMESPACE POA_CORBA
+{
+ class IRObject;
+ typedef IRObject *IRObject_ptr;
+ // Forward Classes Declaration
+ class _TAO_IRObject_ThruPOA_Proxy_Impl;
+ class _TAO_IRObject_Strategized_Proxy_Broker;
+
+ class IRObject : public virtual PortableServer::ServantBase
+ {
+ protected:
+ IRObject (void);
+
+ public:
+ IRObject (const IRObject& rhs);
+ virtual ~IRObject (void);
+
+
+ virtual CORBA::Boolean _is_a (
+ const char* logical_type_id,
+ CORBA::Environment &ACE_TRY_ENV =
+ TAO_default_environment ()
+ );
+
+ virtual void* _downcast (
+ const char* logical_type_id
+ );
+
+ static void _is_a_skel (
+ TAO_ServerRequest &req,
+ void *obj,
+ void *context,
+ CORBA::Environment &ACE_TRY_ENV =
+ TAO_default_environment ()
+ );
+
+ static void _non_existent_skel (
+ TAO_ServerRequest &req,
+ void *obj,
+ void *context,
+ CORBA::Environment &ACE_TRY_ENV =
+ TAO_default_environment ()
+ );
+
+ virtual void _dispatch (
+ TAO_ServerRequest &_tao_req,
+ void *_tao_context,
+ CORBA::Environment &ACE_TRY_ENV =
+ TAO_default_environment ()
+ );
+
+ ::CORBA::IRObject *_this (
+ CORBA::Environment &ACE_TRY_ENV =
+ TAO_default_environment ()
+ );
+
+ virtual const char* _interface_repository_id (void) const;
+
+ virtual CORBA::DefinitionKind def_kind (
+ CORBA::Environment &ACE_TRY_ENV =
+ TAO_default_environment ()
+ )
+ ACE_THROW_SPEC ((
+ CORBA::SystemException
+ )) = 0;
+
+ static void _get_def_kind_skel (
+ TAO_ServerRequest &_tao_req,
+ void *_tao_obj,
+ void *_tao_context,
+ CORBA::Environment &ACE_TRY_ENV =
+ TAO_default_environment ()
+ );
+
+ virtual void destroy (
+ CORBA::Environment &ACE_TRY_ENV =
+ TAO_default_environment ()
+ )
+ ACE_THROW_SPEC ((
+ CORBA::SystemException
+ )) = 0;
+
+ static void destroy_skel (
+ TAO_ServerRequest &_tao_req,
+ void *_tao_obj,
+ void *_tao_context,
+ CORBA::Environment &ACE_TRY_ENV =
+ TAO_default_environment ()
+ );
+
+
+#if (TAO_HAS_INTERCEPTORS == 1)
+ // Generation of interceptors related RequestInfo classes per operation.
+ // This needed to be able to store the arguments, exceptions, contexts
+ // and build the lists dynamically on demand so that unnecessary time overhead
+ // of building these lists when they arent used is avoided.
+ class TAO_ServerRequestInfo_CORBA_IRObject_def_kind_get : public TAO_ServerRequestInfo
+ {
+ public:
+ friend class POA_CORBA::IRObject;
+ TAO_ServerRequestInfo_CORBA_IRObject_def_kind_get (
+ TAO_ServerRequest &_tao_server_request,
+ POA_CORBA::IRObject *tao_impl,
+ CORBA::Environment &ACE_TRY_ENV =
+ TAO_default_environment ()
+ );
+
+ virtual Dynamic::ParameterList * arguments (
+ CORBA::Environment &ACE_TRY_ENV =
+ TAO_default_environment ()
+ )
+ ACE_THROW_SPEC ((CORBA::SystemException));
+
+ virtual Dynamic::ExceptionList * exceptions (
+ CORBA::Environment &ACE_TRY_ENV =
+ TAO_default_environment ()
+ )
+ ACE_THROW_SPEC ((CORBA::SystemException));
+
+ virtual CORBA::Any * result (
+ CORBA::Environment &ACE_TRY_ENV =
+ TAO_default_environment ()
+ )
+ ACE_THROW_SPEC ((CORBA::SystemException));
+
+ virtual char * target_most_derived_interface (
+ CORBA::Environment &ACE_TRY_ENV = TAO_default_environment ())
+ ACE_THROW_SPEC ((CORBA::SystemException));
+
+ virtual CORBA::Boolean target_is_a (
+ const char * id,
+ CORBA::Environment &ACE_TRY_ENV = TAO_default_environment ())
+ ACE_THROW_SPEC ((CORBA::SystemException));
+
+ private:
+ TAO_ServerRequestInfo_CORBA_IRObject_def_kind_get (const TAO_ServerRequestInfo_CORBA_IRObject_def_kind_get &);
+ void operator= (const TAO_ServerRequestInfo_CORBA_IRObject_def_kind_get &);
+
+ private:
+ POA_CORBA::IRObject *_tao_impl;
+ void result (CORBA::DefinitionKind result);
+ // update the result
+ CORBA::DefinitionKind _result;
+ };
+
+ class TAO_ServerRequestInfo_CORBA_IRObject_destroy : public TAO_ServerRequestInfo
+ {
+ public:
+ friend class POA_CORBA::IRObject;
+ TAO_ServerRequestInfo_CORBA_IRObject_destroy (
+ TAO_ServerRequest &_tao_server_request,
+ POA_CORBA::IRObject *tao_impl,
+ CORBA::Environment &ACE_TRY_ENV =
+ TAO_default_environment ()
+ );
+
+ virtual Dynamic::ParameterList * arguments (
+ CORBA::Environment &ACE_TRY_ENV =
+ TAO_default_environment ()
+ )
+ ACE_THROW_SPEC ((CORBA::SystemException));
+
+ virtual Dynamic::ExceptionList * exceptions (
+ CORBA::Environment &ACE_TRY_ENV =
+ TAO_default_environment ()
+ )
+ ACE_THROW_SPEC ((CORBA::SystemException));
+
+ virtual CORBA::Any * result (
+ CORBA::Environment &ACE_TRY_ENV =
+ TAO_default_environment ()
+ )
+ ACE_THROW_SPEC ((CORBA::SystemException));
+
+ virtual char * target_most_derived_interface (
+ CORBA::Environment &ACE_TRY_ENV = TAO_default_environment ())
+ ACE_THROW_SPEC ((CORBA::SystemException));
+
+ virtual CORBA::Boolean target_is_a (
+ const char * id,
+ CORBA::Environment &ACE_TRY_ENV = TAO_default_environment ())
+ ACE_THROW_SPEC ((CORBA::SystemException));
+
+ private:
+ TAO_ServerRequestInfo_CORBA_IRObject_destroy (const TAO_ServerRequestInfo_CORBA_IRObject_destroy &);
+ void operator= (const TAO_ServerRequestInfo_CORBA_IRObject_destroy &);
+
+ private:
+ POA_CORBA::IRObject *_tao_impl;
+
+ };
+
+ #endif /* TAO_HAS_INTERCEPTORS */
+
+ };
+
+
+ ///////////////////////////////////////////////////////////////////////
+ // Strategized Proxy Broker Declaration
+ //
+
+ class _TAO_IRObject_Strategized_Proxy_Broker : public virtual ::_TAO_IRObject_Proxy_Broker
+ {
+ public:
+ _TAO_IRObject_Strategized_Proxy_Broker (void);
+
+ virtual ~_TAO_IRObject_Strategized_Proxy_Broker (void);
+
+ virtual ::_TAO_IRObject_Proxy_Impl &select_proxy (
+ ::CORBA::IRObject *object,
+ CORBA_Environment &ACE_TRY_ENV = TAO_default_environment ()
+ );
+
+ private:
+
+ // Helper methods that takes care to create the proxy
+ // as soon as their use is necessary.
+ void create_proxy (
+ int strategy,
+ CORBA::Environment &ACE_TRY_ENV
+ );
+
+ private:
+
+ // Caches the proxy implementations. The proxy implementation
+ // are totally stateless, and those can be shared by all the
+ // instances of a given IDL interface type.
+ ::_TAO_IRObject_Proxy_Impl
+ *proxy_cache_[TAO_Collocation_Strategies::CS_LAST];
+
+ TAO_SYNCH_MUTEX mutex_;
+ // This funxtion is used to get an handle to the unique instance
+ // of the Strategized Proxy Broker that is available for a given
+ // interface.
+
+ public:
+ static _TAO_IRObject_Strategized_Proxy_Broker *the_TAO_IRObject_Strategized_Proxy_Broker (void);
+ };
+
+
+ //
+ // End Strategized Proxy Broker Declaration
+ ///////////////////////////////////////////////////////////////////////
+
+
+///////////////////////////////////////////////////////////////////////
+// ThruPOA Impl. Declaration
+//
+
+class _TAO_IRObject_ThruPOA_Proxy_Impl :
+ public virtual ::_TAO_IRObject_Proxy_Impl,
+ public virtual TAO_ThruPOA_Object_Proxy_Impl
+{
+public:
+ _TAO_IRObject_ThruPOA_Proxy_Impl (void);
+
+ virtual ~_TAO_IRObject_ThruPOA_Proxy_Impl (void) { }
+
+ virtual CORBA::DefinitionKind def_kind (
+ CORBA_Object *_collocated_tao_target_,
+ CORBA::Environment &ACE_TRY_ENV
+ )
+ ACE_THROW_SPEC ((
+ CORBA::SystemException
+ ));
+
+ virtual void destroy (
+ CORBA_Object *_collocated_tao_target_,
+ CORBA::Environment &ACE_TRY_ENV
+ )
+ ACE_THROW_SPEC ((
+ CORBA::SystemException
+ ));
+
+};
+
+
+//
+// ThruPOA Proxy Impl. Declaration
+///////////////////////////////////////////////////////////////////////
+
+
+#if defined (ACE_HAS_USING_KEYWORD)
+// TIE class: Refer to CORBA v2.2, Section 20.34.4
+template <class T>
+class IRObject_tie : public IRObject
+{
+public:
+ IRObject_tie (T &t);
+ // the T& ctor
+ IRObject_tie (T &t, PortableServer::POA_ptr poa);
+ // ctor taking a POA
+ IRObject_tie (T *tp, CORBA::Boolean release=1);
+ // ctor taking pointer and an ownership flag
+ IRObject_tie (T *tp, PortableServer::POA_ptr poa, CORBA::Boolean release=1);
+ // ctor with T*, ownership flag and a POA
+ ~IRObject_tie (void);
+ // dtor
+
+ // TIE specific functions
+ T *_tied_object (void);
+ // return the underlying object
+ void _tied_object (T &obj);
+ // set the underlying object
+ void _tied_object (T *obj, CORBA::Boolean release=1);
+ // set the underlying object and the ownership flag
+ CORBA::Boolean _is_owner (void);
+ // do we own it
+ void _is_owner (CORBA::Boolean b);
+ // set the ownership
+
+ // overridden ServantBase operations
+ PortableServer::POA_ptr _default_POA (
+ CORBA::Environment &ACE_TRY_ENV =
+ TAO_default_environment ()
+ );
+ CORBA::DefinitionKind def_kind (
+ CORBA::Environment &ACE_TRY_ENV =
+ TAO_default_environment ()
+ )
+ ACE_THROW_SPEC ((
+ CORBA::SystemException
+ ));
+
+ void destroy (
+ CORBA::Environment &ACE_TRY_ENV =
+ TAO_default_environment ()
+ )
+ ACE_THROW_SPEC ((
+ CORBA::SystemException
+ ));
+
+private:
+ T *ptr_;
+ PortableServer::POA_var poa_;
+ CORBA::Boolean rel_;
+
+ // copy and assignment are not allowed
+ IRObject_tie (const IRObject_tie &);
+ void operator= (const IRObject_tie &);
+};
+
+#endif /* ACE_HAS_USING_KEYWORD */
+
+class Contained;
+typedef Contained *Contained_ptr;
+// Forward Classes Declaration
+class _TAO_Contained_ThruPOA_Proxy_Impl;
+class _TAO_Contained_Strategized_Proxy_Broker;
+
+class Contained : public virtual IRObject
+{
+protected:
+ Contained (void);
+
+public:
+ Contained (const Contained& rhs);
+ virtual ~Contained (void);
+
+
+ virtual CORBA::Boolean _is_a (
+ const char* logical_type_id,
+ CORBA::Environment &ACE_TRY_ENV =
+ TAO_default_environment ()
+ );
+
+ virtual void* _downcast (
+ const char* logical_type_id
+ );
+
+ static void _is_a_skel (
+ TAO_ServerRequest &req,
+ void *obj,
+ void *context,
+ CORBA::Environment &ACE_TRY_ENV =
+ TAO_default_environment ()
+ );
+
+ static void _non_existent_skel (
+ TAO_ServerRequest &req,
+ void *obj,
+ void *context,
+ CORBA::Environment &ACE_TRY_ENV =
+ TAO_default_environment ()
+ );
+
+ virtual void _dispatch (
+ TAO_ServerRequest &_tao_req,
+ void *_tao_context,
+ CORBA::Environment &ACE_TRY_ENV =
+ TAO_default_environment ()
+ );
+
+ ::CORBA::Contained *_this (
+ CORBA::Environment &ACE_TRY_ENV =
+ TAO_default_environment ()
+ );
+
+ virtual const char* _interface_repository_id (void) const;
+
+ virtual char * id (
+ CORBA::Environment &ACE_TRY_ENV =
+ TAO_default_environment ()
+ )
+ ACE_THROW_SPEC ((
+ CORBA::SystemException
+ )) = 0;
+
+ static void _get_id_skel (
+ TAO_ServerRequest &_tao_req,
+ void *_tao_obj,
+ void *_tao_context,
+ CORBA::Environment &ACE_TRY_ENV =
+ TAO_default_environment ()
+ );
+
+ virtual void id (
+ const char * id,
+ CORBA::Environment &ACE_TRY_ENV =
+ TAO_default_environment ()
+ )
+ ACE_THROW_SPEC ((
+ CORBA::SystemException
+ )) = 0;
+
+ static void _set_id_skel (
+ TAO_ServerRequest &_tao_req,
+ void *_tao_obj,
+ void *_tao_context,
+ CORBA::Environment &ACE_TRY_ENV =
+ TAO_default_environment ()
+ );
+
+ virtual char * name (
+ CORBA::Environment &ACE_TRY_ENV =
+ TAO_default_environment ()
+ )
+ ACE_THROW_SPEC ((
+ CORBA::SystemException
+ )) = 0;
+
+ static void _get_name_skel (
+ TAO_ServerRequest &_tao_req,
+ void *_tao_obj,
+ void *_tao_context,
+ CORBA::Environment &ACE_TRY_ENV =
+ TAO_default_environment ()
+ );
+
+ virtual void name (
+ const char * name,
+ CORBA::Environment &ACE_TRY_ENV =
+ TAO_default_environment ()
+ )
+ ACE_THROW_SPEC ((
+ CORBA::SystemException
+ )) = 0;
+
+ static void _set_name_skel (
+ TAO_ServerRequest &_tao_req,
+ void *_tao_obj,
+ void *_tao_context,
+ CORBA::Environment &ACE_TRY_ENV =
+ TAO_default_environment ()
+ );
+
+ virtual char * version (
+ CORBA::Environment &ACE_TRY_ENV =
+ TAO_default_environment ()
+ )
+ ACE_THROW_SPEC ((
+ CORBA::SystemException
+ )) = 0;
+
+ static void _get_version_skel (
+ TAO_ServerRequest &_tao_req,
+ void *_tao_obj,
+ void *_tao_context,
+ CORBA::Environment &ACE_TRY_ENV =
+ TAO_default_environment ()
+ );
+
+ virtual void version (
+ const char * version,
+ CORBA::Environment &ACE_TRY_ENV =
+ TAO_default_environment ()
+ )
+ ACE_THROW_SPEC ((
+ CORBA::SystemException
+ )) = 0;
+
+ static void _set_version_skel (
+ TAO_ServerRequest &_tao_req,
+ void *_tao_obj,
+ void *_tao_context,
+ CORBA::Environment &ACE_TRY_ENV =
+ TAO_default_environment ()
+ );
+
+ virtual CORBA::Container_ptr defined_in (
+ CORBA::Environment &ACE_TRY_ENV =
+ TAO_default_environment ()
+ )
+ ACE_THROW_SPEC ((
+ CORBA::SystemException
+ )) = 0;
+
+ static void _get_defined_in_skel (
+ TAO_ServerRequest &_tao_req,
+ void *_tao_obj,
+ void *_tao_context,
+ CORBA::Environment &ACE_TRY_ENV =
+ TAO_default_environment ()
+ );
+
+ virtual char * absolute_name (
+ CORBA::Environment &ACE_TRY_ENV =
+ TAO_default_environment ()
+ )
+ ACE_THROW_SPEC ((
+ CORBA::SystemException
+ )) = 0;
+
+ static void _get_absolute_name_skel (
+ TAO_ServerRequest &_tao_req,
+ void *_tao_obj,
+ void *_tao_context,
+ CORBA::Environment &ACE_TRY_ENV =
+ TAO_default_environment ()
+ );
+
+ virtual CORBA::Repository_ptr containing_repository (
+ CORBA::Environment &ACE_TRY_ENV =
+ TAO_default_environment ()
+ )
+ ACE_THROW_SPEC ((
+ CORBA::SystemException
+ )) = 0;
+
+ static void _get_containing_repository_skel (
+ TAO_ServerRequest &_tao_req,
+ void *_tao_obj,
+ void *_tao_context,
+ CORBA::Environment &ACE_TRY_ENV =
+ TAO_default_environment ()
+ );
+
+ virtual CORBA::Contained::Description * describe (
+ CORBA::Environment &ACE_TRY_ENV =
+ TAO_default_environment ()
+ )
+ ACE_THROW_SPEC ((
+ CORBA::SystemException
+ )) = 0;
+
+ static void describe_skel (
+ TAO_ServerRequest &_tao_req,
+ void *_tao_obj,
+ void *_tao_context,
+ CORBA::Environment &ACE_TRY_ENV =
+ TAO_default_environment ()
+ );
+
+ virtual void move (
+ CORBA::Container_ptr new_container,
+ const char * new_name,
+ const char * new_version,
+ CORBA::Environment &ACE_TRY_ENV =
+ TAO_default_environment ()
+ )
+ ACE_THROW_SPEC ((
+ CORBA::SystemException
+ )) = 0;
+
+ static void move_skel (
+ TAO_ServerRequest &_tao_req,
+ void *_tao_obj,
+ void *_tao_context,
+ CORBA::Environment &ACE_TRY_ENV =
+ TAO_default_environment ()
+ );
+
+ static void _get_def_kind_skel (
+ TAO_ServerRequest &req,
+ void *obj,
+ void *context,
+ CORBA::Environment &ACE_TRY_ENV =
+ TAO_default_environment ()
+ );
+
+ static void destroy_skel (
+ TAO_ServerRequest &req,
+ void *obj,
+ void *context,
+ CORBA::Environment &ACE_TRY_ENV =
+ TAO_default_environment ()
+ );
+
+
+#if (TAO_HAS_INTERCEPTORS == 1)
+ // Generation of interceptors related RequestInfo classes per operation.
+ // This needed to be able to store the arguments, exceptions, contexts
+ // and build the lists dynamically on demand so that unnecessary time overhead
+ // of building these lists when they arent used is avoided.
+ class TAO_ServerRequestInfo_CORBA_Contained_id_get : public TAO_ServerRequestInfo
+ {
+ public:
+ friend class POA_CORBA::Contained;
+ TAO_ServerRequestInfo_CORBA_Contained_id_get (
+ TAO_ServerRequest &_tao_server_request,
+ POA_CORBA::Contained *tao_impl,
+ CORBA::Environment &ACE_TRY_ENV =
+ TAO_default_environment ()
+ );
+
+ virtual Dynamic::ParameterList * arguments (
+ CORBA::Environment &ACE_TRY_ENV =
+ TAO_default_environment ()
+ )
+ ACE_THROW_SPEC ((CORBA::SystemException));
+
+ virtual Dynamic::ExceptionList * exceptions (
+ CORBA::Environment &ACE_TRY_ENV =
+ TAO_default_environment ()
+ )
+ ACE_THROW_SPEC ((CORBA::SystemException));
+
+ virtual CORBA::Any * result (
+ CORBA::Environment &ACE_TRY_ENV =
+ TAO_default_environment ()
+ )
+ ACE_THROW_SPEC ((CORBA::SystemException));
+
+ virtual char * target_most_derived_interface (
+ CORBA::Environment &ACE_TRY_ENV = TAO_default_environment ())
+ ACE_THROW_SPEC ((CORBA::SystemException));
+
+ virtual CORBA::Boolean target_is_a (
+ const char * id,
+ CORBA::Environment &ACE_TRY_ENV = TAO_default_environment ())
+ ACE_THROW_SPEC ((CORBA::SystemException));
+
+ private:
+ TAO_ServerRequestInfo_CORBA_Contained_id_get (const TAO_ServerRequestInfo_CORBA_Contained_id_get &);
+ void operator= (const TAO_ServerRequestInfo_CORBA_Contained_id_get &);
+
+ private:
+ POA_CORBA::Contained *_tao_impl;
+ void result (char * result);
+ // update the result
+ char * _result;
+ };
+
+ class TAO_ServerRequestInfo_CORBA_Contained_id_set : public TAO_ServerRequestInfo
+ {
+ public:
+ friend class POA_CORBA::Contained;
+ TAO_ServerRequestInfo_CORBA_Contained_id_set (
+ TAO_ServerRequest &_tao_server_request,
+ POA_CORBA::Contained *tao_impl,
+ const char * id,
+ CORBA::Environment &ACE_TRY_ENV =
+ TAO_default_environment ()
+ );
+
+ virtual Dynamic::ParameterList * arguments (
+ CORBA::Environment &ACE_TRY_ENV =
+ TAO_default_environment ()
+ )
+ ACE_THROW_SPEC ((CORBA::SystemException));
+
+ virtual Dynamic::ExceptionList * exceptions (
+ CORBA::Environment &ACE_TRY_ENV =
+ TAO_default_environment ()
+ )
+ ACE_THROW_SPEC ((CORBA::SystemException));
+
+ virtual CORBA::Any * result (
+ CORBA::Environment &ACE_TRY_ENV =
+ TAO_default_environment ()
+ )
+ ACE_THROW_SPEC ((CORBA::SystemException));
+
+ virtual char * target_most_derived_interface (
+ CORBA::Environment &ACE_TRY_ENV = TAO_default_environment ())
+ ACE_THROW_SPEC ((CORBA::SystemException));
+
+ virtual CORBA::Boolean target_is_a (
+ const char * id,
+ CORBA::Environment &ACE_TRY_ENV = TAO_default_environment ())
+ ACE_THROW_SPEC ((CORBA::SystemException));
+
+ private:
+ TAO_ServerRequestInfo_CORBA_Contained_id_set (const TAO_ServerRequestInfo_CORBA_Contained_id_set &);
+ void operator= (const TAO_ServerRequestInfo_CORBA_Contained_id_set &);
+
+ private:
+ POA_CORBA::Contained *_tao_impl;
+ const char * id_;
+
+ };
+
+ class TAO_ServerRequestInfo_CORBA_Contained_name_get : public TAO_ServerRequestInfo
+ {
+ public:
+ friend class POA_CORBA::Contained;
+ TAO_ServerRequestInfo_CORBA_Contained_name_get (
+ TAO_ServerRequest &_tao_server_request,
+ POA_CORBA::Contained *tao_impl,
+ CORBA::Environment &ACE_TRY_ENV =
+ TAO_default_environment ()
+ );
+
+ virtual Dynamic::ParameterList * arguments (
+ CORBA::Environment &ACE_TRY_ENV =
+ TAO_default_environment ()
+ )
+ ACE_THROW_SPEC ((CORBA::SystemException));
+
+ virtual Dynamic::ExceptionList * exceptions (
+ CORBA::Environment &ACE_TRY_ENV =
+ TAO_default_environment ()
+ )
+ ACE_THROW_SPEC ((CORBA::SystemException));
+
+ virtual CORBA::Any * result (
+ CORBA::Environment &ACE_TRY_ENV =
+ TAO_default_environment ()
+ )
+ ACE_THROW_SPEC ((CORBA::SystemException));
+
+ virtual char * target_most_derived_interface (
+ CORBA::Environment &ACE_TRY_ENV = TAO_default_environment ())
+ ACE_THROW_SPEC ((CORBA::SystemException));
+
+ virtual CORBA::Boolean target_is_a (
+ const char * id,
+ CORBA::Environment &ACE_TRY_ENV = TAO_default_environment ())
+ ACE_THROW_SPEC ((CORBA::SystemException));
+
+ private:
+ TAO_ServerRequestInfo_CORBA_Contained_name_get (const TAO_ServerRequestInfo_CORBA_Contained_name_get &);
+ void operator= (const TAO_ServerRequestInfo_CORBA_Contained_name_get &);
+
+ private:
+ POA_CORBA::Contained *_tao_impl;
+ void result (char * result);
+ // update the result
+ char * _result;
+ };
+
+ class TAO_ServerRequestInfo_CORBA_Contained_name_set : public TAO_ServerRequestInfo
+ {
+ public:
+ friend class POA_CORBA::Contained;
+ TAO_ServerRequestInfo_CORBA_Contained_name_set (
+ TAO_ServerRequest &_tao_server_request,
+ POA_CORBA::Contained *tao_impl,
+ const char * name,
+ CORBA::Environment &ACE_TRY_ENV =
+ TAO_default_environment ()
+ );
+
+ virtual Dynamic::ParameterList * arguments (
+ CORBA::Environment &ACE_TRY_ENV =
+ TAO_default_environment ()
+ )
+ ACE_THROW_SPEC ((CORBA::SystemException));
+
+ virtual Dynamic::ExceptionList * exceptions (
+ CORBA::Environment &ACE_TRY_ENV =
+ TAO_default_environment ()
+ )
+ ACE_THROW_SPEC ((CORBA::SystemException));
+
+ virtual CORBA::Any * result (
+ CORBA::Environment &ACE_TRY_ENV =
+ TAO_default_environment ()
+ )
+ ACE_THROW_SPEC ((CORBA::SystemException));
+
+ virtual char * target_most_derived_interface (
+ CORBA::Environment &ACE_TRY_ENV = TAO_default_environment ())
+ ACE_THROW_SPEC ((CORBA::SystemException));
+
+ virtual CORBA::Boolean target_is_a (
+ const char * id,
+ CORBA::Environment &ACE_TRY_ENV = TAO_default_environment ())
+ ACE_THROW_SPEC ((CORBA::SystemException));
+
+ private:
+ TAO_ServerRequestInfo_CORBA_Contained_name_set (const TAO_ServerRequestInfo_CORBA_Contained_name_set &);
+ void operator= (const TAO_ServerRequestInfo_CORBA_Contained_name_set &);
+
+ private:
+ POA_CORBA::Contained *_tao_impl;
+ const char * name_;
+
+ };
+
+ class TAO_ServerRequestInfo_CORBA_Contained_version_get : public TAO_ServerRequestInfo
+ {
+ public:
+ friend class POA_CORBA::Contained;
+ TAO_ServerRequestInfo_CORBA_Contained_version_get (
+ TAO_ServerRequest &_tao_server_request,
+ POA_CORBA::Contained *tao_impl,
+ CORBA::Environment &ACE_TRY_ENV =
+ TAO_default_environment ()
+ );
+
+ virtual Dynamic::ParameterList * arguments (
+ CORBA::Environment &ACE_TRY_ENV =
+ TAO_default_environment ()
+ )
+ ACE_THROW_SPEC ((CORBA::SystemException));
+
+ virtual Dynamic::ExceptionList * exceptions (
+ CORBA::Environment &ACE_TRY_ENV =
+ TAO_default_environment ()
+ )
+ ACE_THROW_SPEC ((CORBA::SystemException));
+
+ virtual CORBA::Any * result (
+ CORBA::Environment &ACE_TRY_ENV =
+ TAO_default_environment ()
+ )
+ ACE_THROW_SPEC ((CORBA::SystemException));
+
+ virtual char * target_most_derived_interface (
+ CORBA::Environment &ACE_TRY_ENV = TAO_default_environment ())
+ ACE_THROW_SPEC ((CORBA::SystemException));
+
+ virtual CORBA::Boolean target_is_a (
+ const char * id,
+ CORBA::Environment &ACE_TRY_ENV = TAO_default_environment ())
+ ACE_THROW_SPEC ((CORBA::SystemException));
+
+ private:
+ TAO_ServerRequestInfo_CORBA_Contained_version_get (const TAO_ServerRequestInfo_CORBA_Contained_version_get &);
+ void operator= (const TAO_ServerRequestInfo_CORBA_Contained_version_get &);
+
+ private:
+ POA_CORBA::Contained *_tao_impl;
+ void result (char * result);
+ // update the result
+ char * _result;
+ };
+
+ class TAO_ServerRequestInfo_CORBA_Contained_version_set : public TAO_ServerRequestInfo
+ {
+ public:
+ friend class POA_CORBA::Contained;
+ TAO_ServerRequestInfo_CORBA_Contained_version_set (
+ TAO_ServerRequest &_tao_server_request,
+ POA_CORBA::Contained *tao_impl,
+ const char * version,
+ CORBA::Environment &ACE_TRY_ENV =
+ TAO_default_environment ()
+ );
+
+ virtual Dynamic::ParameterList * arguments (
+ CORBA::Environment &ACE_TRY_ENV =
+ TAO_default_environment ()
+ )
+ ACE_THROW_SPEC ((CORBA::SystemException));
+
+ virtual Dynamic::ExceptionList * exceptions (
+ CORBA::Environment &ACE_TRY_ENV =
+ TAO_default_environment ()
+ )
+ ACE_THROW_SPEC ((CORBA::SystemException));
+
+ virtual CORBA::Any * result (
+ CORBA::Environment &ACE_TRY_ENV =
+ TAO_default_environment ()
+ )
+ ACE_THROW_SPEC ((CORBA::SystemException));
+
+ virtual char * target_most_derived_interface (
+ CORBA::Environment &ACE_TRY_ENV = TAO_default_environment ())
+ ACE_THROW_SPEC ((CORBA::SystemException));
+
+ virtual CORBA::Boolean target_is_a (
+ const char * id,
+ CORBA::Environment &ACE_TRY_ENV = TAO_default_environment ())
+ ACE_THROW_SPEC ((CORBA::SystemException));
+
+ private:
+ TAO_ServerRequestInfo_CORBA_Contained_version_set (const TAO_ServerRequestInfo_CORBA_Contained_version_set &);
+ void operator= (const TAO_ServerRequestInfo_CORBA_Contained_version_set &);
+
+ private:
+ POA_CORBA::Contained *_tao_impl;
+ const char * version_;
+
+ };
+
+ class TAO_ServerRequestInfo_CORBA_Contained_defined_in_get : public TAO_ServerRequestInfo
+ {
+ public:
+ friend class POA_CORBA::Contained;
+ TAO_ServerRequestInfo_CORBA_Contained_defined_in_get (
+ TAO_ServerRequest &_tao_server_request,
+ POA_CORBA::Contained *tao_impl,
+ CORBA::Environment &ACE_TRY_ENV =
+ TAO_default_environment ()
+ );
+
+ virtual Dynamic::ParameterList * arguments (
+ CORBA::Environment &ACE_TRY_ENV =
+ TAO_default_environment ()
+ )
+ ACE_THROW_SPEC ((CORBA::SystemException));
+
+ virtual Dynamic::ExceptionList * exceptions (
+ CORBA::Environment &ACE_TRY_ENV =
+ TAO_default_environment ()
+ )
+ ACE_THROW_SPEC ((CORBA::SystemException));
+
+ virtual CORBA::Any * result (
+ CORBA::Environment &ACE_TRY_ENV =
+ TAO_default_environment ()
+ )
+ ACE_THROW_SPEC ((CORBA::SystemException));
+
+ virtual char * target_most_derived_interface (
+ CORBA::Environment &ACE_TRY_ENV = TAO_default_environment ())
+ ACE_THROW_SPEC ((CORBA::SystemException));
+
+ virtual CORBA::Boolean target_is_a (
+ const char * id,
+ CORBA::Environment &ACE_TRY_ENV = TAO_default_environment ())
+ ACE_THROW_SPEC ((CORBA::SystemException));
+
+ private:
+ TAO_ServerRequestInfo_CORBA_Contained_defined_in_get (const TAO_ServerRequestInfo_CORBA_Contained_defined_in_get &);
+ void operator= (const TAO_ServerRequestInfo_CORBA_Contained_defined_in_get &);
+
+ private:
+ POA_CORBA::Contained *_tao_impl;
+ void result (CORBA::Container_ptr result);
+ // update the result
+ CORBA::Container_ptr _result;
+ };
+
+ class TAO_ServerRequestInfo_CORBA_Contained_absolute_name_get : public TAO_ServerRequestInfo
+ {
+ public:
+ friend class POA_CORBA::Contained;
+ TAO_ServerRequestInfo_CORBA_Contained_absolute_name_get (
+ TAO_ServerRequest &_tao_server_request,
+ POA_CORBA::Contained *tao_impl,
+ CORBA::Environment &ACE_TRY_ENV =
+ TAO_default_environment ()
+ );
+
+ virtual Dynamic::ParameterList * arguments (
+ CORBA::Environment &ACE_TRY_ENV =
+ TAO_default_environment ()
+ )
+ ACE_THROW_SPEC ((CORBA::SystemException));
+
+ virtual Dynamic::ExceptionList * exceptions (
+ CORBA::Environment &ACE_TRY_ENV =
+ TAO_default_environment ()
+ )
+ ACE_THROW_SPEC ((CORBA::SystemException));
+
+ virtual CORBA::Any * result (
+ CORBA::Environment &ACE_TRY_ENV =
+ TAO_default_environment ()
+ )
+ ACE_THROW_SPEC ((CORBA::SystemException));
+
+ virtual char * target_most_derived_interface (
+ CORBA::Environment &ACE_TRY_ENV = TAO_default_environment ())
+ ACE_THROW_SPEC ((CORBA::SystemException));
+
+ virtual CORBA::Boolean target_is_a (
+ const char * id,
+ CORBA::Environment &ACE_TRY_ENV = TAO_default_environment ())
+ ACE_THROW_SPEC ((CORBA::SystemException));
+
+ private:
+ TAO_ServerRequestInfo_CORBA_Contained_absolute_name_get (const TAO_ServerRequestInfo_CORBA_Contained_absolute_name_get &);
+ void operator= (const TAO_ServerRequestInfo_CORBA_Contained_absolute_name_get &);
+
+ private:
+ POA_CORBA::Contained *_tao_impl;
+ void result (char * result);
+ // update the result
+ char * _result;
+ };
+
+ class TAO_ServerRequestInfo_CORBA_Contained_containing_repository_get : public TAO_ServerRequestInfo
+ {
+ public:
+ friend class POA_CORBA::Contained;
+ TAO_ServerRequestInfo_CORBA_Contained_containing_repository_get (
+ TAO_ServerRequest &_tao_server_request,
+ POA_CORBA::Contained *tao_impl,
+ CORBA::Environment &ACE_TRY_ENV =
+ TAO_default_environment ()
+ );
+
+ virtual Dynamic::ParameterList * arguments (
+ CORBA::Environment &ACE_TRY_ENV =
+ TAO_default_environment ()
+ )
+ ACE_THROW_SPEC ((CORBA::SystemException));
+
+ virtual Dynamic::ExceptionList * exceptions (
+ CORBA::Environment &ACE_TRY_ENV =
+ TAO_default_environment ()
+ )
+ ACE_THROW_SPEC ((CORBA::SystemException));
+
+ virtual CORBA::Any * result (
+ CORBA::Environment &ACE_TRY_ENV =
+ TAO_default_environment ()
+ )
+ ACE_THROW_SPEC ((CORBA::SystemException));
+
+ virtual char * target_most_derived_interface (
+ CORBA::Environment &ACE_TRY_ENV = TAO_default_environment ())
+ ACE_THROW_SPEC ((CORBA::SystemException));
+
+ virtual CORBA::Boolean target_is_a (
+ const char * id,
+ CORBA::Environment &ACE_TRY_ENV = TAO_default_environment ())
+ ACE_THROW_SPEC ((CORBA::SystemException));
+
+ private:
+ TAO_ServerRequestInfo_CORBA_Contained_containing_repository_get (const TAO_ServerRequestInfo_CORBA_Contained_containing_repository_get &);
+ void operator= (const TAO_ServerRequestInfo_CORBA_Contained_containing_repository_get &);
+
+ private:
+ POA_CORBA::Contained *_tao_impl;
+ void result (CORBA::Repository_ptr result);
+ // update the result
+ CORBA::Repository_ptr _result;
+ };
+
+ class TAO_ServerRequestInfo_CORBA_Contained_describe : public TAO_ServerRequestInfo
+ {
+ public:
+ friend class POA_CORBA::Contained;
+ TAO_ServerRequestInfo_CORBA_Contained_describe (
+ TAO_ServerRequest &_tao_server_request,
+ POA_CORBA::Contained *tao_impl,
+ CORBA::Environment &ACE_TRY_ENV =
+ TAO_default_environment ()
+ );
+
+ virtual Dynamic::ParameterList * arguments (
+ CORBA::Environment &ACE_TRY_ENV =
+ TAO_default_environment ()
+ )
+ ACE_THROW_SPEC ((CORBA::SystemException));
+
+ virtual Dynamic::ExceptionList * exceptions (
+ CORBA::Environment &ACE_TRY_ENV =
+ TAO_default_environment ()
+ )
+ ACE_THROW_SPEC ((CORBA::SystemException));
+
+ virtual CORBA::Any * result (
+ CORBA::Environment &ACE_TRY_ENV =
+ TAO_default_environment ()
+ )
+ ACE_THROW_SPEC ((CORBA::SystemException));
+
+ virtual char * target_most_derived_interface (
+ CORBA::Environment &ACE_TRY_ENV = TAO_default_environment ())
+ ACE_THROW_SPEC ((CORBA::SystemException));
+
+ virtual CORBA::Boolean target_is_a (
+ const char * id,
+ CORBA::Environment &ACE_TRY_ENV = TAO_default_environment ())
+ ACE_THROW_SPEC ((CORBA::SystemException));
+
+ private:
+ TAO_ServerRequestInfo_CORBA_Contained_describe (const TAO_ServerRequestInfo_CORBA_Contained_describe &);
+ void operator= (const TAO_ServerRequestInfo_CORBA_Contained_describe &);
+
+ private:
+ POA_CORBA::Contained *_tao_impl;
+ void result (CORBA::Contained::Description * result);
+ // update the result
+ CORBA::Contained::Description * _result;
+ };
+
+ class TAO_ServerRequestInfo_CORBA_Contained_move : public TAO_ServerRequestInfo
+ {
+ public:
+ friend class POA_CORBA::Contained;
+ TAO_ServerRequestInfo_CORBA_Contained_move (
+ TAO_ServerRequest &_tao_server_request,
+ POA_CORBA::Contained *tao_impl,
+ CORBA::Container_ptr new_container,
+ const char * new_name,
+ const char * new_version,
+ CORBA::Environment &ACE_TRY_ENV =
+ TAO_default_environment ()
+ );
+
+ virtual Dynamic::ParameterList * arguments (
+ CORBA::Environment &ACE_TRY_ENV =
+ TAO_default_environment ()
+ )
+ ACE_THROW_SPEC ((CORBA::SystemException));
+
+ virtual Dynamic::ExceptionList * exceptions (
+ CORBA::Environment &ACE_TRY_ENV =
+ TAO_default_environment ()
+ )
+ ACE_THROW_SPEC ((CORBA::SystemException));
+
+ virtual CORBA::Any * result (
+ CORBA::Environment &ACE_TRY_ENV =
+ TAO_default_environment ()
+ )
+ ACE_THROW_SPEC ((CORBA::SystemException));
+
+ virtual char * target_most_derived_interface (
+ CORBA::Environment &ACE_TRY_ENV = TAO_default_environment ())
+ ACE_THROW_SPEC ((CORBA::SystemException));
+
+ virtual CORBA::Boolean target_is_a (
+ const char * id,
+ CORBA::Environment &ACE_TRY_ENV = TAO_default_environment ())
+ ACE_THROW_SPEC ((CORBA::SystemException));
+
+ private:
+ TAO_ServerRequestInfo_CORBA_Contained_move (const TAO_ServerRequestInfo_CORBA_Contained_move &);
+ void operator= (const TAO_ServerRequestInfo_CORBA_Contained_move &);
+
+ private:
+ POA_CORBA::Contained *_tao_impl;
+ CORBA::Container_ptr new_container_;
+ const char * new_name_;
+ const char * new_version_;
+
+ };
+
+ #endif /* TAO_HAS_INTERCEPTORS */
+
+};
+
+
+///////////////////////////////////////////////////////////////////////
+// Strategized Proxy Broker Declaration
+//
+
+class _TAO_Contained_Strategized_Proxy_Broker : public virtual ::_TAO_Contained_Proxy_Broker
+{
+public:
+ _TAO_Contained_Strategized_Proxy_Broker (void);
+
+ virtual ~_TAO_Contained_Strategized_Proxy_Broker (void);
+
+ virtual ::_TAO_Contained_Proxy_Impl &select_proxy (
+ ::CORBA::Contained *object,
+ CORBA_Environment &ACE_TRY_ENV = TAO_default_environment ()
+ );
+
+private:
+
+// Helper methods that takes care to create the proxy
+// as soon as their use is necessary.
+ void create_proxy (
+ int strategy,
+ CORBA::Environment &ACE_TRY_ENV
+ );
+
+private:
+
+ // Caches the proxy implementations. The proxy implementation
+ // are totally stateless, and those can be shared by all the
+ // instances of a given IDL interface type.
+ ::_TAO_Contained_Proxy_Impl
+ *proxy_cache_[TAO_Collocation_Strategies::CS_LAST];
+
+ TAO_SYNCH_MUTEX mutex_;
+// This funxtion is used to get an handle to the unique instance
+// of the Strategized Proxy Broker that is available for a given
+// interface.
+
+public:
+ static _TAO_Contained_Strategized_Proxy_Broker *the_TAO_Contained_Strategized_Proxy_Broker (void);
+};
+
+
+//
+// End Strategized Proxy Broker Declaration
+///////////////////////////////////////////////////////////////////////
+
+
+///////////////////////////////////////////////////////////////////////
+// ThruPOA Impl. Declaration
+//
+
+class _TAO_Contained_ThruPOA_Proxy_Impl :
+ public virtual ::_TAO_Contained_Proxy_Impl,
+ public virtual TAO_ThruPOA_Object_Proxy_Impl,
+ public virtual ::POA_CORBA::_TAO_IRObject_ThruPOA_Proxy_Impl
+
+{
+public:
+ _TAO_Contained_ThruPOA_Proxy_Impl (void);
+
+ virtual ~_TAO_Contained_ThruPOA_Proxy_Impl (void) { }
+
+ virtual char * id (
+ CORBA_Object *_collocated_tao_target_,
+ CORBA::Environment &ACE_TRY_ENV
+ )
+ ACE_THROW_SPEC ((
+ CORBA::SystemException
+ ));
+
+ virtual void id (
+ CORBA_Object *_collocated_tao_target_,
+ const char * id,
+ CORBA::Environment &ACE_TRY_ENV
+ )
+ ACE_THROW_SPEC ((
+ CORBA::SystemException
+ ));
+
+ virtual char * name (
+ CORBA_Object *_collocated_tao_target_,
+ CORBA::Environment &ACE_TRY_ENV
+ )
+ ACE_THROW_SPEC ((
+ CORBA::SystemException
+ ));
+
+ virtual void name (
+ CORBA_Object *_collocated_tao_target_,
+ const char * name,
+ CORBA::Environment &ACE_TRY_ENV
+ )
+ ACE_THROW_SPEC ((
+ CORBA::SystemException
+ ));
+
+ virtual char * version (
+ CORBA_Object *_collocated_tao_target_,
+ CORBA::Environment &ACE_TRY_ENV
+ )
+ ACE_THROW_SPEC ((
+ CORBA::SystemException
+ ));
+
+ virtual void version (
+ CORBA_Object *_collocated_tao_target_,
+ const char * version,
+ CORBA::Environment &ACE_TRY_ENV
+ )
+ ACE_THROW_SPEC ((
+ CORBA::SystemException
+ ));
+
+ virtual CORBA::Container_ptr defined_in (
+ CORBA_Object *_collocated_tao_target_,
+ CORBA::Environment &ACE_TRY_ENV
+ )
+ ACE_THROW_SPEC ((
+ CORBA::SystemException
+ ));
+
+ virtual char * absolute_name (
+ CORBA_Object *_collocated_tao_target_,
+ CORBA::Environment &ACE_TRY_ENV
+ )
+ ACE_THROW_SPEC ((
+ CORBA::SystemException
+ ));
+
+ virtual CORBA::Repository_ptr containing_repository (
+ CORBA_Object *_collocated_tao_target_,
+ CORBA::Environment &ACE_TRY_ENV
+ )
+ ACE_THROW_SPEC ((
+ CORBA::SystemException
+ ));
+
+ virtual CORBA::Contained::Description * describe (
+ CORBA_Object *_collocated_tao_target_,
+ CORBA::Environment &ACE_TRY_ENV
+ )
+ ACE_THROW_SPEC ((
+ CORBA::SystemException
+ ));
+
+ virtual void move (
+ CORBA_Object *_collocated_tao_target_,
+ CORBA::Container_ptr new_container,
+ const char * new_name,
+ const char * new_version,
+ CORBA::Environment &ACE_TRY_ENV
+ )
+ ACE_THROW_SPEC ((
+ CORBA::SystemException
+ ));
+
+};
+
+
+//
+// ThruPOA Proxy Impl. Declaration
+///////////////////////////////////////////////////////////////////////
+
+
+#if defined (ACE_HAS_USING_KEYWORD)
+// TIE class: Refer to CORBA v2.2, Section 20.34.4
+template <class T>
+class Contained_tie : public Contained
+{
+public:
+ Contained_tie (T &t);
+ // the T& ctor
+ Contained_tie (T &t, PortableServer::POA_ptr poa);
+ // ctor taking a POA
+ Contained_tie (T *tp, CORBA::Boolean release=1);
+ // ctor taking pointer and an ownership flag
+ Contained_tie (T *tp, PortableServer::POA_ptr poa, CORBA::Boolean release=1);
+ // ctor with T*, ownership flag and a POA
+ ~Contained_tie (void);
+ // dtor
+
+ // TIE specific functions
+ T *_tied_object (void);
+ // return the underlying object
+ void _tied_object (T &obj);
+ // set the underlying object
+ void _tied_object (T *obj, CORBA::Boolean release=1);
+ // set the underlying object and the ownership flag
+ CORBA::Boolean _is_owner (void);
+ // do we own it
+ void _is_owner (CORBA::Boolean b);
+ // set the ownership
+
+ // overridden ServantBase operations
+ PortableServer::POA_ptr _default_POA (
+ CORBA::Environment &ACE_TRY_ENV =
+ TAO_default_environment ()
+ );
+ char * id (
+ CORBA::Environment &ACE_TRY_ENV =
+ TAO_default_environment ()
+ )
+ ACE_THROW_SPEC ((
+ CORBA::SystemException
+ ));
+
+ void id (
+ const char * id,
+ CORBA::Environment &ACE_TRY_ENV =
+ TAO_default_environment ()
+ )
+ ACE_THROW_SPEC ((
+ CORBA::SystemException
+ ));
+
+ char * name (
+ CORBA::Environment &ACE_TRY_ENV =
+ TAO_default_environment ()
+ )
+ ACE_THROW_SPEC ((
+ CORBA::SystemException
+ ));
+
+ void name (
+ const char * name,
+ CORBA::Environment &ACE_TRY_ENV =
+ TAO_default_environment ()
+ )
+ ACE_THROW_SPEC ((
+ CORBA::SystemException
+ ));
+
+ char * version (
+ CORBA::Environment &ACE_TRY_ENV =
+ TAO_default_environment ()
+ )
+ ACE_THROW_SPEC ((
+ CORBA::SystemException
+ ));
+
+ void version (
+ const char * version,
+ CORBA::Environment &ACE_TRY_ENV =
+ TAO_default_environment ()
+ )
+ ACE_THROW_SPEC ((
+ CORBA::SystemException
+ ));
+
+ CORBA::Container_ptr defined_in (
+ CORBA::Environment &ACE_TRY_ENV =
+ TAO_default_environment ()
+ )
+ ACE_THROW_SPEC ((
+ CORBA::SystemException
+ ));
+
+ char * absolute_name (
+ CORBA::Environment &ACE_TRY_ENV =
+ TAO_default_environment ()
+ )
+ ACE_THROW_SPEC ((
+ CORBA::SystemException
+ ));
+
+ CORBA::Repository_ptr containing_repository (
+ CORBA::Environment &ACE_TRY_ENV =
+ TAO_default_environment ()
+ )
+ ACE_THROW_SPEC ((
+ CORBA::SystemException
+ ));
+
+ CORBA::Contained::Description * describe (
+ CORBA::Environment &ACE_TRY_ENV =
+ TAO_default_environment ()
+ )
+ ACE_THROW_SPEC ((
+ CORBA::SystemException
+ ));
+
+ void move (
+ CORBA::Container_ptr new_container,
+ const char * new_name,
+ const char * new_version,
+ CORBA::Environment &ACE_TRY_ENV =
+ TAO_default_environment ()
+ )
+ ACE_THROW_SPEC ((
+ CORBA::SystemException
+ ));
+
+ CORBA::DefinitionKind def_kind (
+ CORBA::Environment &ACE_TRY_ENV =
+ TAO_default_environment ()
+ )
+ ACE_THROW_SPEC ((
+ CORBA::SystemException
+ ));
+
+ void destroy (
+ CORBA::Environment &ACE_TRY_ENV =
+ TAO_default_environment ()
+ )
+ ACE_THROW_SPEC ((
+ CORBA::SystemException
+ ));
+
+private:
+ T *ptr_;
+ PortableServer::POA_var poa_;
+ CORBA::Boolean rel_;
+
+ // copy and assignment are not allowed
+ Contained_tie (const Contained_tie &);
+ void operator= (const Contained_tie &);
+};
+
+#endif /* ACE_HAS_USING_KEYWORD */
+
+class Container;
+typedef Container *Container_ptr;
+// Forward Classes Declaration
+class _TAO_Container_ThruPOA_Proxy_Impl;
+class _TAO_Container_Strategized_Proxy_Broker;
+
+class Container : public virtual IRObject
+{
+protected:
+ Container (void);
+
+public:
+ Container (const Container& rhs);
+ virtual ~Container (void);
+
+
+ virtual CORBA::Boolean _is_a (
+ const char* logical_type_id,
+ CORBA::Environment &ACE_TRY_ENV =
+ TAO_default_environment ()
+ );
+
+ virtual void* _downcast (
+ const char* logical_type_id
+ );
+
+ static void _is_a_skel (
+ TAO_ServerRequest &req,
+ void *obj,
+ void *context,
+ CORBA::Environment &ACE_TRY_ENV =
+ TAO_default_environment ()
+ );
+
+ static void _non_existent_skel (
+ TAO_ServerRequest &req,
+ void *obj,
+ void *context,
+ CORBA::Environment &ACE_TRY_ENV =
+ TAO_default_environment ()
+ );
+
+ virtual void _dispatch (
+ TAO_ServerRequest &_tao_req,
+ void *_tao_context,
+ CORBA::Environment &ACE_TRY_ENV =
+ TAO_default_environment ()
+ );
+
+ ::CORBA::Container *_this (
+ CORBA::Environment &ACE_TRY_ENV =
+ TAO_default_environment ()
+ );
+
+ virtual const char* _interface_repository_id (void) const;
+
+ virtual CORBA::Contained_ptr lookup (
+ const char * search_name,
+ CORBA::Environment &ACE_TRY_ENV =
+ TAO_default_environment ()
+ )
+ ACE_THROW_SPEC ((
+ CORBA::SystemException
+ )) = 0;
+
+ static void lookup_skel (
+ TAO_ServerRequest &_tao_req,
+ void *_tao_obj,
+ void *_tao_context,
+ CORBA::Environment &ACE_TRY_ENV =
+ TAO_default_environment ()
+ );
+
+ virtual CORBA::ContainedSeq * contents (
+ CORBA::DefinitionKind limit_type,
+ CORBA::Boolean exclude_inherited,
+ CORBA::Environment &ACE_TRY_ENV =
+ TAO_default_environment ()
+ )
+ ACE_THROW_SPEC ((
+ CORBA::SystemException
+ )) = 0;
+
+ static void contents_skel (
+ TAO_ServerRequest &_tao_req,
+ void *_tao_obj,
+ void *_tao_context,
+ CORBA::Environment &ACE_TRY_ENV =
+ TAO_default_environment ()
+ );
+
+ virtual CORBA::ContainedSeq * lookup_name (
+ const char * search_name,
+ CORBA::Long levels_to_search,
+ CORBA::DefinitionKind limit_type,
+ CORBA::Boolean exclude_inherited,
+ CORBA::Environment &ACE_TRY_ENV =
+ TAO_default_environment ()
+ )
+ ACE_THROW_SPEC ((
+ CORBA::SystemException
+ )) = 0;
+
+ static void lookup_name_skel (
+ TAO_ServerRequest &_tao_req,
+ void *_tao_obj,
+ void *_tao_context,
+ CORBA::Environment &ACE_TRY_ENV =
+ TAO_default_environment ()
+ );
+
+ virtual CORBA::Container::DescriptionSeq * describe_contents (
+ CORBA::DefinitionKind limit_type,
+ CORBA::Boolean exclude_inherited,
+ CORBA::Long max_returned_objs,
+ CORBA::Environment &ACE_TRY_ENV =
+ TAO_default_environment ()
+ )
+ ACE_THROW_SPEC ((
+ CORBA::SystemException
+ )) = 0;
+
+ static void describe_contents_skel (
+ TAO_ServerRequest &_tao_req,
+ void *_tao_obj,
+ void *_tao_context,
+ CORBA::Environment &ACE_TRY_ENV =
+ TAO_default_environment ()
+ );
+
+ virtual CORBA::ModuleDef_ptr create_module (
+ const char * id,
+ const char * name,
+ const char * version,
+ CORBA::Environment &ACE_TRY_ENV =
+ TAO_default_environment ()
+ )
+ ACE_THROW_SPEC ((
+ CORBA::SystemException
+ )) = 0;
+
+ static void create_module_skel (
+ TAO_ServerRequest &_tao_req,
+ void *_tao_obj,
+ void *_tao_context,
+ CORBA::Environment &ACE_TRY_ENV =
+ TAO_default_environment ()
+ );
+
+ virtual CORBA::ConstantDef_ptr create_constant (
+ const char * id,
+ const char * name,
+ const char * version,
+ CORBA::IDLType_ptr type,
+ const CORBA::Any & value,
+ CORBA::Environment &ACE_TRY_ENV =
+ TAO_default_environment ()
+ )
+ ACE_THROW_SPEC ((
+ CORBA::SystemException
+ )) = 0;
+
+ static void create_constant_skel (
+ TAO_ServerRequest &_tao_req,
+ void *_tao_obj,
+ void *_tao_context,
+ CORBA::Environment &ACE_TRY_ENV =
+ TAO_default_environment ()
+ );
+
+ virtual CORBA::StructDef_ptr create_struct (
+ const char * id,
+ const char * name,
+ const char * version,
+ const CORBA::StructMemberSeq & members,
+ CORBA::Environment &ACE_TRY_ENV =
+ TAO_default_environment ()
+ )
+ ACE_THROW_SPEC ((
+ CORBA::SystemException
+ )) = 0;
+
+ static void create_struct_skel (
+ TAO_ServerRequest &_tao_req,
+ void *_tao_obj,
+ void *_tao_context,
+ CORBA::Environment &ACE_TRY_ENV =
+ TAO_default_environment ()
+ );
+
+ virtual CORBA::UnionDef_ptr create_union (
+ const char * id,
+ const char * name,
+ const char * version,
+ CORBA::IDLType_ptr discriminator_type,
+ const CORBA::UnionMemberSeq & members,
+ CORBA::Environment &ACE_TRY_ENV =
+ TAO_default_environment ()
+ )
+ ACE_THROW_SPEC ((
+ CORBA::SystemException
+ )) = 0;
+
+ static void create_union_skel (
+ TAO_ServerRequest &_tao_req,
+ void *_tao_obj,
+ void *_tao_context,
+ CORBA::Environment &ACE_TRY_ENV =
+ TAO_default_environment ()
+ );
+
+ virtual CORBA::EnumDef_ptr create_enum (
+ const char * id,
+ const char * name,
+ const char * version,
+ const CORBA::EnumMemberSeq & members,
+ CORBA::Environment &ACE_TRY_ENV =
+ TAO_default_environment ()
+ )
+ ACE_THROW_SPEC ((
+ CORBA::SystemException
+ )) = 0;
+
+ static void create_enum_skel (
+ TAO_ServerRequest &_tao_req,
+ void *_tao_obj,
+ void *_tao_context,
+ CORBA::Environment &ACE_TRY_ENV =
+ TAO_default_environment ()
+ );
+
+ virtual CORBA::AliasDef_ptr create_alias (
+ const char * id,
+ const char * name,
+ const char * version,
+ CORBA::IDLType_ptr original_type,
+ CORBA::Environment &ACE_TRY_ENV =
+ TAO_default_environment ()
+ )
+ ACE_THROW_SPEC ((
+ CORBA::SystemException
+ )) = 0;
+
+ static void create_alias_skel (
+ TAO_ServerRequest &_tao_req,
+ void *_tao_obj,
+ void *_tao_context,
+ CORBA::Environment &ACE_TRY_ENV =
+ TAO_default_environment ()
+ );
+
+ virtual CORBA::InterfaceDef_ptr create_interface (
+ const char * id,
+ const char * name,
+ const char * version,
+ const CORBA::InterfaceDefSeq & base_interfaces,
+ CORBA::Environment &ACE_TRY_ENV =
+ TAO_default_environment ()
+ )
+ ACE_THROW_SPEC ((
+ CORBA::SystemException
+ )) = 0;
+
+ static void create_interface_skel (
+ TAO_ServerRequest &_tao_req,
+ void *_tao_obj,
+ void *_tao_context,
+ CORBA::Environment &ACE_TRY_ENV =
+ TAO_default_environment ()
+ );
+
+ virtual CORBA::ValueDef_ptr create_value (
+ const char * id,
+ const char * name,
+ const char * version,
+ CORBA::Boolean is_custom,
+ CORBA::Boolean is_abstract,
+ CORBA::ValueDef_ptr base_value,
+ CORBA::Boolean is_truncatable,
+ const CORBA::ValueDefSeq & abstract_base_values,
+ const CORBA::InterfaceDefSeq & supported_interfaces,
+ const CORBA::InitializerSeq & initializers,
+ CORBA::Environment &ACE_TRY_ENV =
+ TAO_default_environment ()
+ )
+ ACE_THROW_SPEC ((
+ CORBA::SystemException
+ )) = 0;
+
+ static void create_value_skel (
+ TAO_ServerRequest &_tao_req,
+ void *_tao_obj,
+ void *_tao_context,
+ CORBA::Environment &ACE_TRY_ENV =
+ TAO_default_environment ()
+ );
+
+ virtual CORBA::ValueBoxDef_ptr create_value_box (
+ const char * id,
+ const char * name,
+ const char * version,
+ CORBA::IDLType_ptr original_type_def,
+ CORBA::Environment &ACE_TRY_ENV =
+ TAO_default_environment ()
+ )
+ ACE_THROW_SPEC ((
+ CORBA::SystemException
+ )) = 0;
+
+ static void create_value_box_skel (
+ TAO_ServerRequest &_tao_req,
+ void *_tao_obj,
+ void *_tao_context,
+ CORBA::Environment &ACE_TRY_ENV =
+ TAO_default_environment ()
+ );
+
+ virtual CORBA::ExceptionDef_ptr create_exception (
+ const char * id,
+ const char * name,
+ const char * version,
+ const CORBA::StructMemberSeq & members,
+ CORBA::Environment &ACE_TRY_ENV =
+ TAO_default_environment ()
+ )
+ ACE_THROW_SPEC ((
+ CORBA::SystemException
+ )) = 0;
+
+ static void create_exception_skel (
+ TAO_ServerRequest &_tao_req,
+ void *_tao_obj,
+ void *_tao_context,
+ CORBA::Environment &ACE_TRY_ENV =
+ TAO_default_environment ()
+ );
+
+ virtual CORBA::NativeDef_ptr create_native (
+ const char * id,
+ const char * name,
+ const char * version,
+ CORBA::Environment &ACE_TRY_ENV =
+ TAO_default_environment ()
+ )
+ ACE_THROW_SPEC ((
+ CORBA::SystemException
+ )) = 0;
+
+ static void create_native_skel (
+ TAO_ServerRequest &_tao_req,
+ void *_tao_obj,
+ void *_tao_context,
+ CORBA::Environment &ACE_TRY_ENV =
+ TAO_default_environment ()
+ );
+
+ virtual CORBA::AbstractInterfaceDef_ptr create_abstract_interface (
+ const char * id,
+ const char * name,
+ const char * version,
+ const CORBA::AbstractInterfaceDefSeq & base_interfaces,
+ CORBA::Environment &ACE_TRY_ENV =
+ TAO_default_environment ()
+ )
+ ACE_THROW_SPEC ((
+ CORBA::SystemException
+ )) = 0;
+
+ static void create_abstract_interface_skel (
+ TAO_ServerRequest &_tao_req,
+ void *_tao_obj,
+ void *_tao_context,
+ CORBA::Environment &ACE_TRY_ENV =
+ TAO_default_environment ()
+ );
+
+ virtual CORBA::LocalInterfaceDef_ptr create_local_interface (
+ const char * id,
+ const char * name,
+ const char * version,
+ const CORBA::InterfaceDefSeq & base_interfaces,
+ CORBA::Environment &ACE_TRY_ENV =
+ TAO_default_environment ()
+ )
+ ACE_THROW_SPEC ((
+ CORBA::SystemException
+ )) = 0;
+
+ static void create_local_interface_skel (
+ TAO_ServerRequest &_tao_req,
+ void *_tao_obj,
+ void *_tao_context,
+ CORBA::Environment &ACE_TRY_ENV =
+ TAO_default_environment ()
+ );
+
+ static void _get_def_kind_skel (
+ TAO_ServerRequest &req,
+ void *obj,
+ void *context,
+ CORBA::Environment &ACE_TRY_ENV =
+ TAO_default_environment ()
+ );
+
+ static void destroy_skel (
+ TAO_ServerRequest &req,
+ void *obj,
+ void *context,
+ CORBA::Environment &ACE_TRY_ENV =
+ TAO_default_environment ()
+ );
+
+
+#if (TAO_HAS_INTERCEPTORS == 1)
+ // Generation of interceptors related RequestInfo classes per operation.
+ // This needed to be able to store the arguments, exceptions, contexts
+ // and build the lists dynamically on demand so that unnecessary time overhead
+ // of building these lists when they arent used is avoided.
+ class TAO_ServerRequestInfo_CORBA_Container_lookup : public TAO_ServerRequestInfo
+ {
+ public:
+ friend class POA_CORBA::Container;
+ TAO_ServerRequestInfo_CORBA_Container_lookup (
+ TAO_ServerRequest &_tao_server_request,
+ POA_CORBA::Container *tao_impl,
+ const char * search_name,
+ CORBA::Environment &ACE_TRY_ENV =
+ TAO_default_environment ()
+ );
+
+ virtual Dynamic::ParameterList * arguments (
+ CORBA::Environment &ACE_TRY_ENV =
+ TAO_default_environment ()
+ )
+ ACE_THROW_SPEC ((CORBA::SystemException));
+
+ virtual Dynamic::ExceptionList * exceptions (
+ CORBA::Environment &ACE_TRY_ENV =
+ TAO_default_environment ()
+ )
+ ACE_THROW_SPEC ((CORBA::SystemException));
+
+ virtual CORBA::Any * result (
+ CORBA::Environment &ACE_TRY_ENV =
+ TAO_default_environment ()
+ )
+ ACE_THROW_SPEC ((CORBA::SystemException));
+
+ virtual char * target_most_derived_interface (
+ CORBA::Environment &ACE_TRY_ENV = TAO_default_environment ())
+ ACE_THROW_SPEC ((CORBA::SystemException));
+
+ virtual CORBA::Boolean target_is_a (
+ const char * id,
+ CORBA::Environment &ACE_TRY_ENV = TAO_default_environment ())
+ ACE_THROW_SPEC ((CORBA::SystemException));
+
+ private:
+ TAO_ServerRequestInfo_CORBA_Container_lookup (const TAO_ServerRequestInfo_CORBA_Container_lookup &);
+ void operator= (const TAO_ServerRequestInfo_CORBA_Container_lookup &);
+
+ private:
+ POA_CORBA::Container *_tao_impl;
+ const char * search_name_;
+ void result (CORBA::Contained_ptr result);
+ // update the result
+ CORBA::Contained_ptr _result;
+ };
+
+ class TAO_ServerRequestInfo_CORBA_Container_contents : public TAO_ServerRequestInfo
+ {
+ public:
+ friend class POA_CORBA::Container;
+ TAO_ServerRequestInfo_CORBA_Container_contents (
+ TAO_ServerRequest &_tao_server_request,
+ POA_CORBA::Container *tao_impl,
+ CORBA::DefinitionKind & limit_type,
+ const CORBA::Boolean & exclude_inherited,
+ CORBA::Environment &ACE_TRY_ENV =
+ TAO_default_environment ()
+ );
+
+ virtual Dynamic::ParameterList * arguments (
+ CORBA::Environment &ACE_TRY_ENV =
+ TAO_default_environment ()
+ )
+ ACE_THROW_SPEC ((CORBA::SystemException));
+
+ virtual Dynamic::ExceptionList * exceptions (
+ CORBA::Environment &ACE_TRY_ENV =
+ TAO_default_environment ()
+ )
+ ACE_THROW_SPEC ((CORBA::SystemException));
+
+ virtual CORBA::Any * result (
+ CORBA::Environment &ACE_TRY_ENV =
+ TAO_default_environment ()
+ )
+ ACE_THROW_SPEC ((CORBA::SystemException));
+
+ virtual char * target_most_derived_interface (
+ CORBA::Environment &ACE_TRY_ENV = TAO_default_environment ())
+ ACE_THROW_SPEC ((CORBA::SystemException));
+
+ virtual CORBA::Boolean target_is_a (
+ const char * id,
+ CORBA::Environment &ACE_TRY_ENV = TAO_default_environment ())
+ ACE_THROW_SPEC ((CORBA::SystemException));
+
+ private:
+ TAO_ServerRequestInfo_CORBA_Container_contents (const TAO_ServerRequestInfo_CORBA_Container_contents &);
+ void operator= (const TAO_ServerRequestInfo_CORBA_Container_contents &);
+
+ private:
+ POA_CORBA::Container *_tao_impl;
+ const CORBA::DefinitionKind & limit_type_;
+ const CORBA::Boolean & exclude_inherited_;
+ void result (CORBA::ContainedSeq * result);
+ // update the result
+ CORBA::ContainedSeq * _result;
+ };
+
+ class TAO_ServerRequestInfo_CORBA_Container_lookup_name : public TAO_ServerRequestInfo
+ {
+ public:
+ friend class POA_CORBA::Container;
+ TAO_ServerRequestInfo_CORBA_Container_lookup_name (
+ TAO_ServerRequest &_tao_server_request,
+ POA_CORBA::Container *tao_impl,
+ const char * search_name,
+ const CORBA::Long & levels_to_search,
+ CORBA::DefinitionKind & limit_type,
+ const CORBA::Boolean & exclude_inherited,
+ CORBA::Environment &ACE_TRY_ENV =
+ TAO_default_environment ()
+ );
+
+ virtual Dynamic::ParameterList * arguments (
+ CORBA::Environment &ACE_TRY_ENV =
+ TAO_default_environment ()
+ )
+ ACE_THROW_SPEC ((CORBA::SystemException));
+
+ virtual Dynamic::ExceptionList * exceptions (
+ CORBA::Environment &ACE_TRY_ENV =
+ TAO_default_environment ()
+ )
+ ACE_THROW_SPEC ((CORBA::SystemException));
+
+ virtual CORBA::Any * result (
+ CORBA::Environment &ACE_TRY_ENV =
+ TAO_default_environment ()
+ )
+ ACE_THROW_SPEC ((CORBA::SystemException));
+
+ virtual char * target_most_derived_interface (
+ CORBA::Environment &ACE_TRY_ENV = TAO_default_environment ())
+ ACE_THROW_SPEC ((CORBA::SystemException));
+
+ virtual CORBA::Boolean target_is_a (
+ const char * id,
+ CORBA::Environment &ACE_TRY_ENV = TAO_default_environment ())
+ ACE_THROW_SPEC ((CORBA::SystemException));
+
+ private:
+ TAO_ServerRequestInfo_CORBA_Container_lookup_name (const TAO_ServerRequestInfo_CORBA_Container_lookup_name &);
+ void operator= (const TAO_ServerRequestInfo_CORBA_Container_lookup_name &);
+
+ private:
+ POA_CORBA::Container *_tao_impl;
+ const char * search_name_;
+ const CORBA::Long & levels_to_search_;
+ const CORBA::DefinitionKind & limit_type_;
+ const CORBA::Boolean & exclude_inherited_;
+ void result (CORBA::ContainedSeq * result);
+ // update the result
+ CORBA::ContainedSeq * _result;
+ };
+
+ class TAO_ServerRequestInfo_CORBA_Container_describe_contents : public TAO_ServerRequestInfo
+ {
+ public:
+ friend class POA_CORBA::Container;
+ TAO_ServerRequestInfo_CORBA_Container_describe_contents (
+ TAO_ServerRequest &_tao_server_request,
+ POA_CORBA::Container *tao_impl,
+ CORBA::DefinitionKind & limit_type,
+ const CORBA::Boolean & exclude_inherited,
+ const CORBA::Long & max_returned_objs,
+ CORBA::Environment &ACE_TRY_ENV =
+ TAO_default_environment ()
+ );
+
+ virtual Dynamic::ParameterList * arguments (
+ CORBA::Environment &ACE_TRY_ENV =
+ TAO_default_environment ()
+ )
+ ACE_THROW_SPEC ((CORBA::SystemException));
+
+ virtual Dynamic::ExceptionList * exceptions (
+ CORBA::Environment &ACE_TRY_ENV =
+ TAO_default_environment ()
+ )
+ ACE_THROW_SPEC ((CORBA::SystemException));
+
+ virtual CORBA::Any * result (
+ CORBA::Environment &ACE_TRY_ENV =
+ TAO_default_environment ()
+ )
+ ACE_THROW_SPEC ((CORBA::SystemException));
+
+ virtual char * target_most_derived_interface (
+ CORBA::Environment &ACE_TRY_ENV = TAO_default_environment ())
+ ACE_THROW_SPEC ((CORBA::SystemException));
+
+ virtual CORBA::Boolean target_is_a (
+ const char * id,
+ CORBA::Environment &ACE_TRY_ENV = TAO_default_environment ())
+ ACE_THROW_SPEC ((CORBA::SystemException));
+
+ private:
+ TAO_ServerRequestInfo_CORBA_Container_describe_contents (const TAO_ServerRequestInfo_CORBA_Container_describe_contents &);
+ void operator= (const TAO_ServerRequestInfo_CORBA_Container_describe_contents &);
+
+ private:
+ POA_CORBA::Container *_tao_impl;
+ const CORBA::DefinitionKind & limit_type_;
+ const CORBA::Boolean & exclude_inherited_;
+ const CORBA::Long & max_returned_objs_;
+ void result (CORBA::Container::DescriptionSeq * result);
+ // update the result
+ CORBA::Container::DescriptionSeq * _result;
+ };
+
+ class TAO_ServerRequestInfo_CORBA_Container_create_module : public TAO_ServerRequestInfo
+ {
+ public:
+ friend class POA_CORBA::Container;
+ TAO_ServerRequestInfo_CORBA_Container_create_module (
+ TAO_ServerRequest &_tao_server_request,
+ POA_CORBA::Container *tao_impl,
+ const char * id,
+ const char * name,
+ const char * version,
+ CORBA::Environment &ACE_TRY_ENV =
+ TAO_default_environment ()
+ );
+
+ virtual Dynamic::ParameterList * arguments (
+ CORBA::Environment &ACE_TRY_ENV =
+ TAO_default_environment ()
+ )
+ ACE_THROW_SPEC ((CORBA::SystemException));
+
+ virtual Dynamic::ExceptionList * exceptions (
+ CORBA::Environment &ACE_TRY_ENV =
+ TAO_default_environment ()
+ )
+ ACE_THROW_SPEC ((CORBA::SystemException));
+
+ virtual CORBA::Any * result (
+ CORBA::Environment &ACE_TRY_ENV =
+ TAO_default_environment ()
+ )
+ ACE_THROW_SPEC ((CORBA::SystemException));
+
+ virtual char * target_most_derived_interface (
+ CORBA::Environment &ACE_TRY_ENV = TAO_default_environment ())
+ ACE_THROW_SPEC ((CORBA::SystemException));
+
+ virtual CORBA::Boolean target_is_a (
+ const char * id,
+ CORBA::Environment &ACE_TRY_ENV = TAO_default_environment ())
+ ACE_THROW_SPEC ((CORBA::SystemException));
+
+ private:
+ TAO_ServerRequestInfo_CORBA_Container_create_module (const TAO_ServerRequestInfo_CORBA_Container_create_module &);
+ void operator= (const TAO_ServerRequestInfo_CORBA_Container_create_module &);
+
+ private:
+ POA_CORBA::Container *_tao_impl;
+ const char * id_;
+ const char * name_;
+ const char * version_;
+ void result (CORBA::ModuleDef_ptr result);
+ // update the result
+ CORBA::ModuleDef_ptr _result;
+ };
+
+ class TAO_ServerRequestInfo_CORBA_Container_create_constant : public TAO_ServerRequestInfo
+ {
+ public:
+ friend class POA_CORBA::Container;
+ TAO_ServerRequestInfo_CORBA_Container_create_constant (
+ TAO_ServerRequest &_tao_server_request,
+ POA_CORBA::Container *tao_impl,
+ const char * id,
+ const char * name,
+ const char * version,
+ CORBA::IDLType_ptr type,
+ const CORBA::Any & value,
+ CORBA::Environment &ACE_TRY_ENV =
+ TAO_default_environment ()
+ );
+
+ virtual Dynamic::ParameterList * arguments (
+ CORBA::Environment &ACE_TRY_ENV =
+ TAO_default_environment ()
+ )
+ ACE_THROW_SPEC ((CORBA::SystemException));
+
+ virtual Dynamic::ExceptionList * exceptions (
+ CORBA::Environment &ACE_TRY_ENV =
+ TAO_default_environment ()
+ )
+ ACE_THROW_SPEC ((CORBA::SystemException));
+
+ virtual CORBA::Any * result (
+ CORBA::Environment &ACE_TRY_ENV =
+ TAO_default_environment ()
+ )
+ ACE_THROW_SPEC ((CORBA::SystemException));
+
+ virtual char * target_most_derived_interface (
+ CORBA::Environment &ACE_TRY_ENV = TAO_default_environment ())
+ ACE_THROW_SPEC ((CORBA::SystemException));
+
+ virtual CORBA::Boolean target_is_a (
+ const char * id,
+ CORBA::Environment &ACE_TRY_ENV = TAO_default_environment ())
+ ACE_THROW_SPEC ((CORBA::SystemException));
+
+ private:
+ TAO_ServerRequestInfo_CORBA_Container_create_constant (const TAO_ServerRequestInfo_CORBA_Container_create_constant &);
+ void operator= (const TAO_ServerRequestInfo_CORBA_Container_create_constant &);
+
+ private:
+ POA_CORBA::Container *_tao_impl;
+ const char * id_;
+ const char * name_;
+ const char * version_;
+ CORBA::IDLType_ptr type_;
+ const CORBA::Any & value_;
+ void result (CORBA::ConstantDef_ptr result);
+ // update the result
+ CORBA::ConstantDef_ptr _result;
+ };
+
+ class TAO_ServerRequestInfo_CORBA_Container_create_struct : public TAO_ServerRequestInfo
+ {
+ public:
+ friend class POA_CORBA::Container;
+ TAO_ServerRequestInfo_CORBA_Container_create_struct (
+ TAO_ServerRequest &_tao_server_request,
+ POA_CORBA::Container *tao_impl,
+ const char * id,
+ const char * name,
+ const char * version,
+ const CORBA::StructMemberSeq & members,
+ CORBA::Environment &ACE_TRY_ENV =
+ TAO_default_environment ()
+ );
+
+ virtual Dynamic::ParameterList * arguments (
+ CORBA::Environment &ACE_TRY_ENV =
+ TAO_default_environment ()
+ )
+ ACE_THROW_SPEC ((CORBA::SystemException));
+
+ virtual Dynamic::ExceptionList * exceptions (
+ CORBA::Environment &ACE_TRY_ENV =
+ TAO_default_environment ()
+ )
+ ACE_THROW_SPEC ((CORBA::SystemException));
+
+ virtual CORBA::Any * result (
+ CORBA::Environment &ACE_TRY_ENV =
+ TAO_default_environment ()
+ )
+ ACE_THROW_SPEC ((CORBA::SystemException));
+
+ virtual char * target_most_derived_interface (
+ CORBA::Environment &ACE_TRY_ENV = TAO_default_environment ())
+ ACE_THROW_SPEC ((CORBA::SystemException));
+
+ virtual CORBA::Boolean target_is_a (
+ const char * id,
+ CORBA::Environment &ACE_TRY_ENV = TAO_default_environment ())
+ ACE_THROW_SPEC ((CORBA::SystemException));
+
+ private:
+ TAO_ServerRequestInfo_CORBA_Container_create_struct (const TAO_ServerRequestInfo_CORBA_Container_create_struct &);
+ void operator= (const TAO_ServerRequestInfo_CORBA_Container_create_struct &);
+
+ private:
+ POA_CORBA::Container *_tao_impl;
+ const char * id_;
+ const char * name_;
+ const char * version_;
+ const CORBA::StructMemberSeq & members_;
+ void result (CORBA::StructDef_ptr result);
+ // update the result
+ CORBA::StructDef_ptr _result;
+ };
+
+ class TAO_ServerRequestInfo_CORBA_Container_create_union : public TAO_ServerRequestInfo
+ {
+ public:
+ friend class POA_CORBA::Container;
+ TAO_ServerRequestInfo_CORBA_Container_create_union (
+ TAO_ServerRequest &_tao_server_request,
+ POA_CORBA::Container *tao_impl,
+ const char * id,
+ const char * name,
+ const char * version,
+ CORBA::IDLType_ptr discriminator_type,
+ const CORBA::UnionMemberSeq & members,
+ CORBA::Environment &ACE_TRY_ENV =
+ TAO_default_environment ()
+ );
+
+ virtual Dynamic::ParameterList * arguments (
+ CORBA::Environment &ACE_TRY_ENV =
+ TAO_default_environment ()
+ )
+ ACE_THROW_SPEC ((CORBA::SystemException));
+
+ virtual Dynamic::ExceptionList * exceptions (
+ CORBA::Environment &ACE_TRY_ENV =
+ TAO_default_environment ()
+ )
+ ACE_THROW_SPEC ((CORBA::SystemException));
+
+ virtual CORBA::Any * result (
+ CORBA::Environment &ACE_TRY_ENV =
+ TAO_default_environment ()
+ )
+ ACE_THROW_SPEC ((CORBA::SystemException));
+
+ virtual char * target_most_derived_interface (
+ CORBA::Environment &ACE_TRY_ENV = TAO_default_environment ())
+ ACE_THROW_SPEC ((CORBA::SystemException));
+
+ virtual CORBA::Boolean target_is_a (
+ const char * id,
+ CORBA::Environment &ACE_TRY_ENV = TAO_default_environment ())
+ ACE_THROW_SPEC ((CORBA::SystemException));
+
+ private:
+ TAO_ServerRequestInfo_CORBA_Container_create_union (const TAO_ServerRequestInfo_CORBA_Container_create_union &);
+ void operator= (const TAO_ServerRequestInfo_CORBA_Container_create_union &);
+
+ private:
+ POA_CORBA::Container *_tao_impl;
+ const char * id_;
+ const char * name_;
+ const char * version_;
+ CORBA::IDLType_ptr discriminator_type_;
+ const CORBA::UnionMemberSeq & members_;
+ void result (CORBA::UnionDef_ptr result);
+ // update the result
+ CORBA::UnionDef_ptr _result;
+ };
+
+ class TAO_ServerRequestInfo_CORBA_Container_create_enum : public TAO_ServerRequestInfo
+ {
+ public:
+ friend class POA_CORBA::Container;
+ TAO_ServerRequestInfo_CORBA_Container_create_enum (
+ TAO_ServerRequest &_tao_server_request,
+ POA_CORBA::Container *tao_impl,
+ const char * id,
+ const char * name,
+ const char * version,
+ const CORBA::EnumMemberSeq & members,
+ CORBA::Environment &ACE_TRY_ENV =
+ TAO_default_environment ()
+ );
+
+ virtual Dynamic::ParameterList * arguments (
+ CORBA::Environment &ACE_TRY_ENV =
+ TAO_default_environment ()
+ )
+ ACE_THROW_SPEC ((CORBA::SystemException));
+
+ virtual Dynamic::ExceptionList * exceptions (
+ CORBA::Environment &ACE_TRY_ENV =
+ TAO_default_environment ()
+ )
+ ACE_THROW_SPEC ((CORBA::SystemException));
+
+ virtual CORBA::Any * result (
+ CORBA::Environment &ACE_TRY_ENV =
+ TAO_default_environment ()
+ )
+ ACE_THROW_SPEC ((CORBA::SystemException));
+
+ virtual char * target_most_derived_interface (
+ CORBA::Environment &ACE_TRY_ENV = TAO_default_environment ())
+ ACE_THROW_SPEC ((CORBA::SystemException));
+
+ virtual CORBA::Boolean target_is_a (
+ const char * id,
+ CORBA::Environment &ACE_TRY_ENV = TAO_default_environment ())
+ ACE_THROW_SPEC ((CORBA::SystemException));
+
+ private:
+ TAO_ServerRequestInfo_CORBA_Container_create_enum (const TAO_ServerRequestInfo_CORBA_Container_create_enum &);
+ void operator= (const TAO_ServerRequestInfo_CORBA_Container_create_enum &);
+
+ private:
+ POA_CORBA::Container *_tao_impl;
+ const char * id_;
+ const char * name_;
+ const char * version_;
+ const CORBA::EnumMemberSeq & members_;
+ void result (CORBA::EnumDef_ptr result);
+ // update the result
+ CORBA::EnumDef_ptr _result;
+ };
+
+ class TAO_ServerRequestInfo_CORBA_Container_create_alias : public TAO_ServerRequestInfo
+ {
+ public:
+ friend class POA_CORBA::Container;
+ TAO_ServerRequestInfo_CORBA_Container_create_alias (
+ TAO_ServerRequest &_tao_server_request,
+ POA_CORBA::Container *tao_impl,
+ const char * id,
+ const char * name,
+ const char * version,
+ CORBA::IDLType_ptr original_type,
+ CORBA::Environment &ACE_TRY_ENV =
+ TAO_default_environment ()
+ );
+
+ virtual Dynamic::ParameterList * arguments (
+ CORBA::Environment &ACE_TRY_ENV =
+ TAO_default_environment ()
+ )
+ ACE_THROW_SPEC ((CORBA::SystemException));
+
+ virtual Dynamic::ExceptionList * exceptions (
+ CORBA::Environment &ACE_TRY_ENV =
+ TAO_default_environment ()
+ )
+ ACE_THROW_SPEC ((CORBA::SystemException));
+
+ virtual CORBA::Any * result (
+ CORBA::Environment &ACE_TRY_ENV =
+ TAO_default_environment ()
+ )
+ ACE_THROW_SPEC ((CORBA::SystemException));
+
+ virtual char * target_most_derived_interface (
+ CORBA::Environment &ACE_TRY_ENV = TAO_default_environment ())
+ ACE_THROW_SPEC ((CORBA::SystemException));
+
+ virtual CORBA::Boolean target_is_a (
+ const char * id,
+ CORBA::Environment &ACE_TRY_ENV = TAO_default_environment ())
+ ACE_THROW_SPEC ((CORBA::SystemException));
+
+ private:
+ TAO_ServerRequestInfo_CORBA_Container_create_alias (const TAO_ServerRequestInfo_CORBA_Container_create_alias &);
+ void operator= (const TAO_ServerRequestInfo_CORBA_Container_create_alias &);
+
+ private:
+ POA_CORBA::Container *_tao_impl;
+ const char * id_;
+ const char * name_;
+ const char * version_;
+ CORBA::IDLType_ptr original_type_;
+ void result (CORBA::AliasDef_ptr result);
+ // update the result
+ CORBA::AliasDef_ptr _result;
+ };
+
+ class TAO_ServerRequestInfo_CORBA_Container_create_interface : public TAO_ServerRequestInfo
+ {
+ public:
+ friend class POA_CORBA::Container;
+ TAO_ServerRequestInfo_CORBA_Container_create_interface (
+ TAO_ServerRequest &_tao_server_request,
+ POA_CORBA::Container *tao_impl,
+ const char * id,
+ const char * name,
+ const char * version,
+ const CORBA::InterfaceDefSeq & base_interfaces,
+ CORBA::Environment &ACE_TRY_ENV =
+ TAO_default_environment ()
+ );
+
+ virtual Dynamic::ParameterList * arguments (
+ CORBA::Environment &ACE_TRY_ENV =
+ TAO_default_environment ()
+ )
+ ACE_THROW_SPEC ((CORBA::SystemException));
+
+ virtual Dynamic::ExceptionList * exceptions (
+ CORBA::Environment &ACE_TRY_ENV =
+ TAO_default_environment ()
+ )
+ ACE_THROW_SPEC ((CORBA::SystemException));
+
+ virtual CORBA::Any * result (
+ CORBA::Environment &ACE_TRY_ENV =
+ TAO_default_environment ()
+ )
+ ACE_THROW_SPEC ((CORBA::SystemException));
+
+ virtual char * target_most_derived_interface (
+ CORBA::Environment &ACE_TRY_ENV = TAO_default_environment ())
+ ACE_THROW_SPEC ((CORBA::SystemException));
+
+ virtual CORBA::Boolean target_is_a (
+ const char * id,
+ CORBA::Environment &ACE_TRY_ENV = TAO_default_environment ())
+ ACE_THROW_SPEC ((CORBA::SystemException));
+
+ private:
+ TAO_ServerRequestInfo_CORBA_Container_create_interface (const TAO_ServerRequestInfo_CORBA_Container_create_interface &);
+ void operator= (const TAO_ServerRequestInfo_CORBA_Container_create_interface &);
+
+ private:
+ POA_CORBA::Container *_tao_impl;
+ const char * id_;
+ const char * name_;
+ const char * version_;
+ const CORBA::InterfaceDefSeq & base_interfaces_;
+ void result (CORBA::InterfaceDef_ptr result);
+ // update the result
+ CORBA::InterfaceDef_ptr _result;
+ };
+
+ class TAO_ServerRequestInfo_CORBA_Container_create_value : public TAO_ServerRequestInfo
+ {
+ public:
+ friend class POA_CORBA::Container;
+ TAO_ServerRequestInfo_CORBA_Container_create_value (
+ TAO_ServerRequest &_tao_server_request,
+ POA_CORBA::Container *tao_impl,
+ const char * id,
+ const char * name,
+ const char * version,
+ const CORBA::Boolean & is_custom,
+ const CORBA::Boolean & is_abstract,
+ CORBA::ValueDef_ptr base_value,
+ const CORBA::Boolean & is_truncatable,
+ const CORBA::ValueDefSeq & abstract_base_values,
+ const CORBA::InterfaceDefSeq & supported_interfaces,
+ const CORBA::InitializerSeq & initializers,
+ CORBA::Environment &ACE_TRY_ENV =
+ TAO_default_environment ()
+ );
+
+ virtual Dynamic::ParameterList * arguments (
+ CORBA::Environment &ACE_TRY_ENV =
+ TAO_default_environment ()
+ )
+ ACE_THROW_SPEC ((CORBA::SystemException));
+
+ virtual Dynamic::ExceptionList * exceptions (
+ CORBA::Environment &ACE_TRY_ENV =
+ TAO_default_environment ()
+ )
+ ACE_THROW_SPEC ((CORBA::SystemException));
+
+ virtual CORBA::Any * result (
+ CORBA::Environment &ACE_TRY_ENV =
+ TAO_default_environment ()
+ )
+ ACE_THROW_SPEC ((CORBA::SystemException));
+
+ virtual char * target_most_derived_interface (
+ CORBA::Environment &ACE_TRY_ENV = TAO_default_environment ())
+ ACE_THROW_SPEC ((CORBA::SystemException));
+
+ virtual CORBA::Boolean target_is_a (
+ const char * id,
+ CORBA::Environment &ACE_TRY_ENV = TAO_default_environment ())
+ ACE_THROW_SPEC ((CORBA::SystemException));
+
+ private:
+ TAO_ServerRequestInfo_CORBA_Container_create_value (const TAO_ServerRequestInfo_CORBA_Container_create_value &);
+ void operator= (const TAO_ServerRequestInfo_CORBA_Container_create_value &);
+
+ private:
+ POA_CORBA::Container *_tao_impl;
+ const char * id_;
+ const char * name_;
+ const char * version_;
+ const CORBA::Boolean & is_custom_;
+ const CORBA::Boolean & is_abstract_;
+ CORBA::ValueDef_ptr base_value_;
+ const CORBA::Boolean & is_truncatable_;
+ const CORBA::ValueDefSeq & abstract_base_values_;
+ const CORBA::InterfaceDefSeq & supported_interfaces_;
+ const CORBA::InitializerSeq & initializers_;
+ void result (CORBA::ValueDef_ptr result);
+ // update the result
+ CORBA::ValueDef_ptr _result;
+ };
+
+ class TAO_ServerRequestInfo_CORBA_Container_create_value_box : public TAO_ServerRequestInfo
+ {
+ public:
+ friend class POA_CORBA::Container;
+ TAO_ServerRequestInfo_CORBA_Container_create_value_box (
+ TAO_ServerRequest &_tao_server_request,
+ POA_CORBA::Container *tao_impl,
+ const char * id,
+ const char * name,
+ const char * version,
+ CORBA::IDLType_ptr original_type_def,
+ CORBA::Environment &ACE_TRY_ENV =
+ TAO_default_environment ()
+ );
+
+ virtual Dynamic::ParameterList * arguments (
+ CORBA::Environment &ACE_TRY_ENV =
+ TAO_default_environment ()
+ )
+ ACE_THROW_SPEC ((CORBA::SystemException));
+
+ virtual Dynamic::ExceptionList * exceptions (
+ CORBA::Environment &ACE_TRY_ENV =
+ TAO_default_environment ()
+ )
+ ACE_THROW_SPEC ((CORBA::SystemException));
+
+ virtual CORBA::Any * result (
+ CORBA::Environment &ACE_TRY_ENV =
+ TAO_default_environment ()
+ )
+ ACE_THROW_SPEC ((CORBA::SystemException));
+
+ virtual char * target_most_derived_interface (
+ CORBA::Environment &ACE_TRY_ENV = TAO_default_environment ())
+ ACE_THROW_SPEC ((CORBA::SystemException));
+
+ virtual CORBA::Boolean target_is_a (
+ const char * id,
+ CORBA::Environment &ACE_TRY_ENV = TAO_default_environment ())
+ ACE_THROW_SPEC ((CORBA::SystemException));
+
+ private:
+ TAO_ServerRequestInfo_CORBA_Container_create_value_box (const TAO_ServerRequestInfo_CORBA_Container_create_value_box &);
+ void operator= (const TAO_ServerRequestInfo_CORBA_Container_create_value_box &);
+
+ private:
+ POA_CORBA::Container *_tao_impl;
+ const char * id_;
+ const char * name_;
+ const char * version_;
+ CORBA::IDLType_ptr original_type_def_;
+ void result (CORBA::ValueBoxDef_ptr result);
+ // update the result
+ CORBA::ValueBoxDef_ptr _result;
+ };
+
+ class TAO_ServerRequestInfo_CORBA_Container_create_exception : public TAO_ServerRequestInfo
+ {
+ public:
+ friend class POA_CORBA::Container;
+ TAO_ServerRequestInfo_CORBA_Container_create_exception (
+ TAO_ServerRequest &_tao_server_request,
+ POA_CORBA::Container *tao_impl,
+ const char * id,
+ const char * name,
+ const char * version,
+ const CORBA::StructMemberSeq & members,
+ CORBA::Environment &ACE_TRY_ENV =
+ TAO_default_environment ()
+ );
+
+ virtual Dynamic::ParameterList * arguments (
+ CORBA::Environment &ACE_TRY_ENV =
+ TAO_default_environment ()
+ )
+ ACE_THROW_SPEC ((CORBA::SystemException));
+
+ virtual Dynamic::ExceptionList * exceptions (
+ CORBA::Environment &ACE_TRY_ENV =
+ TAO_default_environment ()
+ )
+ ACE_THROW_SPEC ((CORBA::SystemException));
+
+ virtual CORBA::Any * result (
+ CORBA::Environment &ACE_TRY_ENV =
+ TAO_default_environment ()
+ )
+ ACE_THROW_SPEC ((CORBA::SystemException));
+
+ virtual char * target_most_derived_interface (
+ CORBA::Environment &ACE_TRY_ENV = TAO_default_environment ())
+ ACE_THROW_SPEC ((CORBA::SystemException));
+
+ virtual CORBA::Boolean target_is_a (
+ const char * id,
+ CORBA::Environment &ACE_TRY_ENV = TAO_default_environment ())
+ ACE_THROW_SPEC ((CORBA::SystemException));
+
+ private:
+ TAO_ServerRequestInfo_CORBA_Container_create_exception (const TAO_ServerRequestInfo_CORBA_Container_create_exception &);
+ void operator= (const TAO_ServerRequestInfo_CORBA_Container_create_exception &);
+
+ private:
+ POA_CORBA::Container *_tao_impl;
+ const char * id_;
+ const char * name_;
+ const char * version_;
+ const CORBA::StructMemberSeq & members_;
+ void result (CORBA::ExceptionDef_ptr result);
+ // update the result
+ CORBA::ExceptionDef_ptr _result;
+ };
+
+ class TAO_ServerRequestInfo_CORBA_Container_create_native : public TAO_ServerRequestInfo
+ {
+ public:
+ friend class POA_CORBA::Container;
+ TAO_ServerRequestInfo_CORBA_Container_create_native (
+ TAO_ServerRequest &_tao_server_request,
+ POA_CORBA::Container *tao_impl,
+ const char * id,
+ const char * name,
+ const char * version,
+ CORBA::Environment &ACE_TRY_ENV =
+ TAO_default_environment ()
+ );
+
+ virtual Dynamic::ParameterList * arguments (
+ CORBA::Environment &ACE_TRY_ENV =
+ TAO_default_environment ()
+ )
+ ACE_THROW_SPEC ((CORBA::SystemException));
+
+ virtual Dynamic::ExceptionList * exceptions (
+ CORBA::Environment &ACE_TRY_ENV =
+ TAO_default_environment ()
+ )
+ ACE_THROW_SPEC ((CORBA::SystemException));
+
+ virtual CORBA::Any * result (
+ CORBA::Environment &ACE_TRY_ENV =
+ TAO_default_environment ()
+ )
+ ACE_THROW_SPEC ((CORBA::SystemException));
+
+ virtual char * target_most_derived_interface (
+ CORBA::Environment &ACE_TRY_ENV = TAO_default_environment ())
+ ACE_THROW_SPEC ((CORBA::SystemException));
+
+ virtual CORBA::Boolean target_is_a (
+ const char * id,
+ CORBA::Environment &ACE_TRY_ENV = TAO_default_environment ())
+ ACE_THROW_SPEC ((CORBA::SystemException));
+
+ private:
+ TAO_ServerRequestInfo_CORBA_Container_create_native (const TAO_ServerRequestInfo_CORBA_Container_create_native &);
+ void operator= (const TAO_ServerRequestInfo_CORBA_Container_create_native &);
+
+ private:
+ POA_CORBA::Container *_tao_impl;
+ const char * id_;
+ const char * name_;
+ const char * version_;
+ void result (CORBA::NativeDef_ptr result);
+ // update the result
+ CORBA::NativeDef_ptr _result;
+ };
+
+ class TAO_ServerRequestInfo_CORBA_Container_create_abstract_interface : public TAO_ServerRequestInfo
+ {
+ public:
+ friend class POA_CORBA::Container;
+ TAO_ServerRequestInfo_CORBA_Container_create_abstract_interface (
+ TAO_ServerRequest &_tao_server_request,
+ POA_CORBA::Container *tao_impl,
+ const char * id,
+ const char * name,
+ const char * version,
+ const CORBA::AbstractInterfaceDefSeq & base_interfaces,
+ CORBA::Environment &ACE_TRY_ENV =
+ TAO_default_environment ()
+ );
+
+ virtual Dynamic::ParameterList * arguments (
+ CORBA::Environment &ACE_TRY_ENV =
+ TAO_default_environment ()
+ )
+ ACE_THROW_SPEC ((CORBA::SystemException));
+
+ virtual Dynamic::ExceptionList * exceptions (
+ CORBA::Environment &ACE_TRY_ENV =
+ TAO_default_environment ()
+ )
+ ACE_THROW_SPEC ((CORBA::SystemException));
+
+ virtual CORBA::Any * result (
+ CORBA::Environment &ACE_TRY_ENV =
+ TAO_default_environment ()
+ )
+ ACE_THROW_SPEC ((CORBA::SystemException));
+
+ virtual char * target_most_derived_interface (
+ CORBA::Environment &ACE_TRY_ENV = TAO_default_environment ())
+ ACE_THROW_SPEC ((CORBA::SystemException));
+
+ virtual CORBA::Boolean target_is_a (
+ const char * id,
+ CORBA::Environment &ACE_TRY_ENV = TAO_default_environment ())
+ ACE_THROW_SPEC ((CORBA::SystemException));
+
+ private:
+ TAO_ServerRequestInfo_CORBA_Container_create_abstract_interface (const TAO_ServerRequestInfo_CORBA_Container_create_abstract_interface &);
+ void operator= (const TAO_ServerRequestInfo_CORBA_Container_create_abstract_interface &);
+
+ private:
+ POA_CORBA::Container *_tao_impl;
+ const char * id_;
+ const char * name_;
+ const char * version_;
+ const CORBA::AbstractInterfaceDefSeq & base_interfaces_;
+ void result (CORBA::AbstractInterfaceDef_ptr result);
+ // update the result
+ CORBA::AbstractInterfaceDef_ptr _result;
+ };
+
+ class TAO_ServerRequestInfo_CORBA_Container_create_local_interface : public TAO_ServerRequestInfo
+ {
+ public:
+ friend class POA_CORBA::Container;
+ TAO_ServerRequestInfo_CORBA_Container_create_local_interface (
+ TAO_ServerRequest &_tao_server_request,
+ POA_CORBA::Container *tao_impl,
+ const char * id,
+ const char * name,
+ const char * version,
+ const CORBA::InterfaceDefSeq & base_interfaces,
+ CORBA::Environment &ACE_TRY_ENV =
+ TAO_default_environment ()
+ );
+
+ virtual Dynamic::ParameterList * arguments (
+ CORBA::Environment &ACE_TRY_ENV =
+ TAO_default_environment ()
+ )
+ ACE_THROW_SPEC ((CORBA::SystemException));
+
+ virtual Dynamic::ExceptionList * exceptions (
+ CORBA::Environment &ACE_TRY_ENV =
+ TAO_default_environment ()
+ )
+ ACE_THROW_SPEC ((CORBA::SystemException));
+
+ virtual CORBA::Any * result (
+ CORBA::Environment &ACE_TRY_ENV =
+ TAO_default_environment ()
+ )
+ ACE_THROW_SPEC ((CORBA::SystemException));
+
+ virtual char * target_most_derived_interface (
+ CORBA::Environment &ACE_TRY_ENV = TAO_default_environment ())
+ ACE_THROW_SPEC ((CORBA::SystemException));
+
+ virtual CORBA::Boolean target_is_a (
+ const char * id,
+ CORBA::Environment &ACE_TRY_ENV = TAO_default_environment ())
+ ACE_THROW_SPEC ((CORBA::SystemException));
+
+ private:
+ TAO_ServerRequestInfo_CORBA_Container_create_local_interface (const TAO_ServerRequestInfo_CORBA_Container_create_local_interface &);
+ void operator= (const TAO_ServerRequestInfo_CORBA_Container_create_local_interface &);
+
+ private:
+ POA_CORBA::Container *_tao_impl;
+ const char * id_;
+ const char * name_;
+ const char * version_;
+ const CORBA::InterfaceDefSeq & base_interfaces_;
+ void result (CORBA::LocalInterfaceDef_ptr result);
+ // update the result
+ CORBA::LocalInterfaceDef_ptr _result;
+ };
+
+ #endif /* TAO_HAS_INTERCEPTORS */
+
+};
+
+
+///////////////////////////////////////////////////////////////////////
+// Strategized Proxy Broker Declaration
+//
+
+class _TAO_Container_Strategized_Proxy_Broker : public virtual ::_TAO_Container_Proxy_Broker
+{
+public:
+ _TAO_Container_Strategized_Proxy_Broker (void);
+
+ virtual ~_TAO_Container_Strategized_Proxy_Broker (void);
+
+ virtual ::_TAO_Container_Proxy_Impl &select_proxy (
+ ::CORBA::Container *object,
+ CORBA_Environment &ACE_TRY_ENV = TAO_default_environment ()
+ );
+
+private:
+
+// Helper methods that takes care to create the proxy
+// as soon as their use is necessary.
+ void create_proxy (
+ int strategy,
+ CORBA::Environment &ACE_TRY_ENV
+ );
+
+private:
+
+ // Caches the proxy implementations. The proxy implementation
+ // are totally stateless, and those can be shared by all the
+ // instances of a given IDL interface type.
+ ::_TAO_Container_Proxy_Impl
+ *proxy_cache_[TAO_Collocation_Strategies::CS_LAST];
+
+ TAO_SYNCH_MUTEX mutex_;
+// This funxtion is used to get an handle to the unique instance
+// of the Strategized Proxy Broker that is available for a given
+// interface.
+
+public:
+ static _TAO_Container_Strategized_Proxy_Broker *the_TAO_Container_Strategized_Proxy_Broker (void);
+};
+
+
+//
+// End Strategized Proxy Broker Declaration
+///////////////////////////////////////////////////////////////////////
+
+
+///////////////////////////////////////////////////////////////////////
+// ThruPOA Impl. Declaration
+//
+
+class _TAO_Container_ThruPOA_Proxy_Impl :
+ public virtual ::_TAO_Container_Proxy_Impl,
+ public virtual TAO_ThruPOA_Object_Proxy_Impl,
+ public virtual ::POA_CORBA::_TAO_IRObject_ThruPOA_Proxy_Impl
+
+{
+public:
+ _TAO_Container_ThruPOA_Proxy_Impl (void);
+
+ virtual ~_TAO_Container_ThruPOA_Proxy_Impl (void) { }
+
+ virtual CORBA::Contained_ptr lookup (
+ CORBA_Object *_collocated_tao_target_,
+ const char * search_name,
+ CORBA::Environment &ACE_TRY_ENV
+ )
+ ACE_THROW_SPEC ((
+ CORBA::SystemException
+ ));
+
+ virtual CORBA::ContainedSeq * contents (
+ CORBA_Object *_collocated_tao_target_,
+ CORBA::DefinitionKind limit_type,
+ CORBA::Boolean exclude_inherited,
+ CORBA::Environment &ACE_TRY_ENV
+ )
+ ACE_THROW_SPEC ((
+ CORBA::SystemException
+ ));
+
+ virtual CORBA::ContainedSeq * lookup_name (
+ CORBA_Object *_collocated_tao_target_,
+ const char * search_name,
+ CORBA::Long levels_to_search,
+ CORBA::DefinitionKind limit_type,
+ CORBA::Boolean exclude_inherited,
+ CORBA::Environment &ACE_TRY_ENV
+ )
+ ACE_THROW_SPEC ((
+ CORBA::SystemException
+ ));
+
+ virtual CORBA::Container::DescriptionSeq * describe_contents (
+ CORBA_Object *_collocated_tao_target_,
+ CORBA::DefinitionKind limit_type,
+ CORBA::Boolean exclude_inherited,
+ CORBA::Long max_returned_objs,
+ CORBA::Environment &ACE_TRY_ENV
+ )
+ ACE_THROW_SPEC ((
+ CORBA::SystemException
+ ));
+
+ virtual CORBA::ModuleDef_ptr create_module (
+ CORBA_Object *_collocated_tao_target_,
+ const char * id,
+ const char * name,
+ const char * version,
+ CORBA::Environment &ACE_TRY_ENV
+ )
+ ACE_THROW_SPEC ((
+ CORBA::SystemException
+ ));
+
+ virtual CORBA::ConstantDef_ptr create_constant (
+ CORBA_Object *_collocated_tao_target_,
+ const char * id,
+ const char * name,
+ const char * version,
+ CORBA::IDLType_ptr type,
+ const CORBA::Any & value,
+ CORBA::Environment &ACE_TRY_ENV
+ )
+ ACE_THROW_SPEC ((
+ CORBA::SystemException
+ ));
+
+ virtual CORBA::StructDef_ptr create_struct (
+ CORBA_Object *_collocated_tao_target_,
+ const char * id,
+ const char * name,
+ const char * version,
+ const CORBA::StructMemberSeq & members,
+ CORBA::Environment &ACE_TRY_ENV
+ )
+ ACE_THROW_SPEC ((
+ CORBA::SystemException
+ ));
+
+ virtual CORBA::UnionDef_ptr create_union (
+ CORBA_Object *_collocated_tao_target_,
+ const char * id,
+ const char * name,
+ const char * version,
+ CORBA::IDLType_ptr discriminator_type,
+ const CORBA::UnionMemberSeq & members,
+ CORBA::Environment &ACE_TRY_ENV
+ )
+ ACE_THROW_SPEC ((
+ CORBA::SystemException
+ ));
+
+ virtual CORBA::EnumDef_ptr create_enum (
+ CORBA_Object *_collocated_tao_target_,
+ const char * id,
+ const char * name,
+ const char * version,
+ const CORBA::EnumMemberSeq & members,
+ CORBA::Environment &ACE_TRY_ENV
+ )
+ ACE_THROW_SPEC ((
+ CORBA::SystemException
+ ));
+
+ virtual CORBA::AliasDef_ptr create_alias (
+ CORBA_Object *_collocated_tao_target_,
+ const char * id,
+ const char * name,
+ const char * version,
+ CORBA::IDLType_ptr original_type,
+ CORBA::Environment &ACE_TRY_ENV
+ )
+ ACE_THROW_SPEC ((
+ CORBA::SystemException
+ ));
+
+ virtual CORBA::InterfaceDef_ptr create_interface (
+ CORBA_Object *_collocated_tao_target_,
+ const char * id,
+ const char * name,
+ const char * version,
+ const CORBA::InterfaceDefSeq & base_interfaces,
+ CORBA::Environment &ACE_TRY_ENV
+ )
+ ACE_THROW_SPEC ((
+ CORBA::SystemException
+ ));
+
+ virtual CORBA::ValueDef_ptr create_value (
+ CORBA_Object *_collocated_tao_target_,
+ const char * id,
+ const char * name,
+ const char * version,
+ CORBA::Boolean is_custom,
+ CORBA::Boolean is_abstract,
+ CORBA::ValueDef_ptr base_value,
+ CORBA::Boolean is_truncatable,
+ const CORBA::ValueDefSeq & abstract_base_values,
+ const CORBA::InterfaceDefSeq & supported_interfaces,
+ const CORBA::InitializerSeq & initializers,
+ CORBA::Environment &ACE_TRY_ENV
+ )
+ ACE_THROW_SPEC ((
+ CORBA::SystemException
+ ));
+
+ virtual CORBA::ValueBoxDef_ptr create_value_box (
+ CORBA_Object *_collocated_tao_target_,
+ const char * id,
+ const char * name,
+ const char * version,
+ CORBA::IDLType_ptr original_type_def,
+ CORBA::Environment &ACE_TRY_ENV
+ )
+ ACE_THROW_SPEC ((
+ CORBA::SystemException
+ ));
+
+ virtual CORBA::ExceptionDef_ptr create_exception (
+ CORBA_Object *_collocated_tao_target_,
+ const char * id,
+ const char * name,
+ const char * version,
+ const CORBA::StructMemberSeq & members,
+ CORBA::Environment &ACE_TRY_ENV
+ )
+ ACE_THROW_SPEC ((
+ CORBA::SystemException
+ ));
+
+ virtual CORBA::NativeDef_ptr create_native (
+ CORBA_Object *_collocated_tao_target_,
+ const char * id,
+ const char * name,
+ const char * version,
+ CORBA::Environment &ACE_TRY_ENV
+ )
+ ACE_THROW_SPEC ((
+ CORBA::SystemException
+ ));
+
+ virtual CORBA::AbstractInterfaceDef_ptr create_abstract_interface (
+ CORBA_Object *_collocated_tao_target_,
+ const char * id,
+ const char * name,
+ const char * version,
+ const CORBA::AbstractInterfaceDefSeq & base_interfaces,
+ CORBA::Environment &ACE_TRY_ENV
+ )
+ ACE_THROW_SPEC ((
+ CORBA::SystemException
+ ));
+
+ virtual CORBA::LocalInterfaceDef_ptr create_local_interface (
+ CORBA_Object *_collocated_tao_target_,
+ const char * id,
+ const char * name,
+ const char * version,
+ const CORBA::InterfaceDefSeq & base_interfaces,
+ CORBA::Environment &ACE_TRY_ENV
+ )
+ ACE_THROW_SPEC ((
+ CORBA::SystemException
+ ));
+
+};
+
+
+//
+// ThruPOA Proxy Impl. Declaration
+///////////////////////////////////////////////////////////////////////
+
+
+#if defined (ACE_HAS_USING_KEYWORD)
+// TIE class: Refer to CORBA v2.2, Section 20.34.4
+template <class T>
+class Container_tie : public Container
+{
+public:
+ Container_tie (T &t);
+ // the T& ctor
+ Container_tie (T &t, PortableServer::POA_ptr poa);
+ // ctor taking a POA
+ Container_tie (T *tp, CORBA::Boolean release=1);
+ // ctor taking pointer and an ownership flag
+ Container_tie (T *tp, PortableServer::POA_ptr poa, CORBA::Boolean release=1);
+ // ctor with T*, ownership flag and a POA
+ ~Container_tie (void);
+ // dtor
+
+ // TIE specific functions
+ T *_tied_object (void);
+ // return the underlying object
+ void _tied_object (T &obj);
+ // set the underlying object
+ void _tied_object (T *obj, CORBA::Boolean release=1);
+ // set the underlying object and the ownership flag
+ CORBA::Boolean _is_owner (void);
+ // do we own it
+ void _is_owner (CORBA::Boolean b);
+ // set the ownership
+
+ // overridden ServantBase operations
+ PortableServer::POA_ptr _default_POA (
+ CORBA::Environment &ACE_TRY_ENV =
+ TAO_default_environment ()
+ );
+ CORBA::Contained_ptr lookup (
+ const char * search_name,
+ CORBA::Environment &ACE_TRY_ENV =
+ TAO_default_environment ()
+ )
+ ACE_THROW_SPEC ((
+ CORBA::SystemException
+ ));
+
+ CORBA::ContainedSeq * contents (
+ CORBA::DefinitionKind limit_type,
+ CORBA::Boolean exclude_inherited,
+ CORBA::Environment &ACE_TRY_ENV =
+ TAO_default_environment ()
+ )
+ ACE_THROW_SPEC ((
+ CORBA::SystemException
+ ));
+
+ CORBA::ContainedSeq * lookup_name (
+ const char * search_name,
+ CORBA::Long levels_to_search,
+ CORBA::DefinitionKind limit_type,
+ CORBA::Boolean exclude_inherited,
+ CORBA::Environment &ACE_TRY_ENV =
+ TAO_default_environment ()
+ )
+ ACE_THROW_SPEC ((
+ CORBA::SystemException
+ ));
+
+ CORBA::Container::DescriptionSeq * describe_contents (
+ CORBA::DefinitionKind limit_type,
+ CORBA::Boolean exclude_inherited,
+ CORBA::Long max_returned_objs,
+ CORBA::Environment &ACE_TRY_ENV =
+ TAO_default_environment ()
+ )
+ ACE_THROW_SPEC ((
+ CORBA::SystemException
+ ));
+
+ CORBA::ModuleDef_ptr create_module (
+ const char * id,
+ const char * name,
+ const char * version,
+ CORBA::Environment &ACE_TRY_ENV =
+ TAO_default_environment ()
+ )
+ ACE_THROW_SPEC ((
+ CORBA::SystemException
+ ));
+
+ CORBA::ConstantDef_ptr create_constant (
+ const char * id,
+ const char * name,
+ const char * version,
+ CORBA::IDLType_ptr type,
+ const CORBA::Any & value,
+ CORBA::Environment &ACE_TRY_ENV =
+ TAO_default_environment ()
+ )
+ ACE_THROW_SPEC ((
+ CORBA::SystemException
+ ));
+
+ CORBA::StructDef_ptr create_struct (
+ const char * id,
+ const char * name,
+ const char * version,
+ const CORBA::StructMemberSeq & members,
+ CORBA::Environment &ACE_TRY_ENV =
+ TAO_default_environment ()
+ )
+ ACE_THROW_SPEC ((
+ CORBA::SystemException
+ ));
+
+ CORBA::UnionDef_ptr create_union (
+ const char * id,
+ const char * name,
+ const char * version,
+ CORBA::IDLType_ptr discriminator_type,
+ const CORBA::UnionMemberSeq & members,
+ CORBA::Environment &ACE_TRY_ENV =
+ TAO_default_environment ()
+ )
+ ACE_THROW_SPEC ((
+ CORBA::SystemException
+ ));
+
+ CORBA::EnumDef_ptr create_enum (
+ const char * id,
+ const char * name,
+ const char * version,
+ const CORBA::EnumMemberSeq & members,
+ CORBA::Environment &ACE_TRY_ENV =
+ TAO_default_environment ()
+ )
+ ACE_THROW_SPEC ((
+ CORBA::SystemException
+ ));
+
+ CORBA::AliasDef_ptr create_alias (
+ const char * id,
+ const char * name,
+ const char * version,
+ CORBA::IDLType_ptr original_type,
+ CORBA::Environment &ACE_TRY_ENV =
+ TAO_default_environment ()
+ )
+ ACE_THROW_SPEC ((
+ CORBA::SystemException
+ ));
+
+ CORBA::InterfaceDef_ptr create_interface (
+ const char * id,
+ const char * name,
+ const char * version,
+ const CORBA::InterfaceDefSeq & base_interfaces,
+ CORBA::Environment &ACE_TRY_ENV =
+ TAO_default_environment ()
+ )
+ ACE_THROW_SPEC ((
+ CORBA::SystemException
+ ));
+
+ CORBA::ValueDef_ptr create_value (
+ const char * id,
+ const char * name,
+ const char * version,
+ CORBA::Boolean is_custom,
+ CORBA::Boolean is_abstract,
+ CORBA::ValueDef_ptr base_value,
+ CORBA::Boolean is_truncatable,
+ const CORBA::ValueDefSeq & abstract_base_values,
+ const CORBA::InterfaceDefSeq & supported_interfaces,
+ const CORBA::InitializerSeq & initializers,
+ CORBA::Environment &ACE_TRY_ENV =
+ TAO_default_environment ()
+ )
+ ACE_THROW_SPEC ((
+ CORBA::SystemException
+ ));
+
+ CORBA::ValueBoxDef_ptr create_value_box (
+ const char * id,
+ const char * name,
+ const char * version,
+ CORBA::IDLType_ptr original_type_def,
+ CORBA::Environment &ACE_TRY_ENV =
+ TAO_default_environment ()
+ )
+ ACE_THROW_SPEC ((
+ CORBA::SystemException
+ ));
+
+ CORBA::ExceptionDef_ptr create_exception (
+ const char * id,
+ const char * name,
+ const char * version,
+ const CORBA::StructMemberSeq & members,
+ CORBA::Environment &ACE_TRY_ENV =
+ TAO_default_environment ()
+ )
+ ACE_THROW_SPEC ((
+ CORBA::SystemException
+ ));
+
+ CORBA::NativeDef_ptr create_native (
+ const char * id,
+ const char * name,
+ const char * version,
+ CORBA::Environment &ACE_TRY_ENV =
+ TAO_default_environment ()
+ )
+ ACE_THROW_SPEC ((
+ CORBA::SystemException
+ ));
+
+ CORBA::AbstractInterfaceDef_ptr create_abstract_interface (
+ const char * id,
+ const char * name,
+ const char * version,
+ const CORBA::AbstractInterfaceDefSeq & base_interfaces,
+ CORBA::Environment &ACE_TRY_ENV =
+ TAO_default_environment ()
+ )
+ ACE_THROW_SPEC ((
+ CORBA::SystemException
+ ));
+
+ CORBA::LocalInterfaceDef_ptr create_local_interface (
+ const char * id,
+ const char * name,
+ const char * version,
+ const CORBA::InterfaceDefSeq & base_interfaces,
+ CORBA::Environment &ACE_TRY_ENV =
+ TAO_default_environment ()
+ )
+ ACE_THROW_SPEC ((
+ CORBA::SystemException
+ ));
+
+ CORBA::DefinitionKind def_kind (
+ CORBA::Environment &ACE_TRY_ENV =
+ TAO_default_environment ()
+ )
+ ACE_THROW_SPEC ((
+ CORBA::SystemException
+ ));
+
+ void destroy (
+ CORBA::Environment &ACE_TRY_ENV =
+ TAO_default_environment ()
+ )
+ ACE_THROW_SPEC ((
+ CORBA::SystemException
+ ));
+
+private:
+ T *ptr_;
+ PortableServer::POA_var poa_;
+ CORBA::Boolean rel_;
+
+ // copy and assignment are not allowed
+ Container_tie (const Container_tie &);
+ void operator= (const Container_tie &);
+};
+
+#endif /* ACE_HAS_USING_KEYWORD */
+
+class IDLType;
+typedef IDLType *IDLType_ptr;
+// Forward Classes Declaration
+class _TAO_IDLType_ThruPOA_Proxy_Impl;
+class _TAO_IDLType_Strategized_Proxy_Broker;
+
+class IDLType : public virtual IRObject
+{
+protected:
+ IDLType (void);
+
+public:
+ IDLType (const IDLType& rhs);
+ virtual ~IDLType (void);
+
+
+ virtual CORBA::Boolean _is_a (
+ const char* logical_type_id,
+ CORBA::Environment &ACE_TRY_ENV =
+ TAO_default_environment ()
+ );
+
+ virtual void* _downcast (
+ const char* logical_type_id
+ );
+
+ static void _is_a_skel (
+ TAO_ServerRequest &req,
+ void *obj,
+ void *context,
+ CORBA::Environment &ACE_TRY_ENV =
+ TAO_default_environment ()
+ );
+
+ static void _non_existent_skel (
+ TAO_ServerRequest &req,
+ void *obj,
+ void *context,
+ CORBA::Environment &ACE_TRY_ENV =
+ TAO_default_environment ()
+ );
+
+ virtual void _dispatch (
+ TAO_ServerRequest &_tao_req,
+ void *_tao_context,
+ CORBA::Environment &ACE_TRY_ENV =
+ TAO_default_environment ()
+ );
+
+ ::CORBA::IDLType *_this (
+ CORBA::Environment &ACE_TRY_ENV =
+ TAO_default_environment ()
+ );
+
+ virtual const char* _interface_repository_id (void) const;
+
+ virtual CORBA::TypeCode_ptr type (
+ CORBA::Environment &ACE_TRY_ENV =
+ TAO_default_environment ()
+ )
+ ACE_THROW_SPEC ((
+ CORBA::SystemException
+ )) = 0;
+
+ static void _get_type_skel (
+ TAO_ServerRequest &_tao_req,
+ void *_tao_obj,
+ void *_tao_context,
+ CORBA::Environment &ACE_TRY_ENV =
+ TAO_default_environment ()
+ );
+
+ static void _get_def_kind_skel (
+ TAO_ServerRequest &req,
+ void *obj,
+ void *context,
+ CORBA::Environment &ACE_TRY_ENV =
+ TAO_default_environment ()
+ );
+
+ static void destroy_skel (
+ TAO_ServerRequest &req,
+ void *obj,
+ void *context,
+ CORBA::Environment &ACE_TRY_ENV =
+ TAO_default_environment ()
+ );
+
+
+#if (TAO_HAS_INTERCEPTORS == 1)
+ // Generation of interceptors related RequestInfo classes per operation.
+ // This needed to be able to store the arguments, exceptions, contexts
+ // and build the lists dynamically on demand so that unnecessary time overhead
+ // of building these lists when they arent used is avoided.
+ class TAO_ServerRequestInfo_CORBA_IDLType_type_get : public TAO_ServerRequestInfo
+ {
+ public:
+ friend class POA_CORBA::IDLType;
+ TAO_ServerRequestInfo_CORBA_IDLType_type_get (
+ TAO_ServerRequest &_tao_server_request,
+ POA_CORBA::IDLType *tao_impl,
+ CORBA::Environment &ACE_TRY_ENV =
+ TAO_default_environment ()
+ );
+
+ virtual Dynamic::ParameterList * arguments (
+ CORBA::Environment &ACE_TRY_ENV =
+ TAO_default_environment ()
+ )
+ ACE_THROW_SPEC ((CORBA::SystemException));
+
+ virtual Dynamic::ExceptionList * exceptions (
+ CORBA::Environment &ACE_TRY_ENV =
+ TAO_default_environment ()
+ )
+ ACE_THROW_SPEC ((CORBA::SystemException));
+
+ virtual CORBA::Any * result (
+ CORBA::Environment &ACE_TRY_ENV =
+ TAO_default_environment ()
+ )
+ ACE_THROW_SPEC ((CORBA::SystemException));
+
+ virtual char * target_most_derived_interface (
+ CORBA::Environment &ACE_TRY_ENV = TAO_default_environment ())
+ ACE_THROW_SPEC ((CORBA::SystemException));
+
+ virtual CORBA::Boolean target_is_a (
+ const char * id,
+ CORBA::Environment &ACE_TRY_ENV = TAO_default_environment ())
+ ACE_THROW_SPEC ((CORBA::SystemException));
+
+ private:
+ TAO_ServerRequestInfo_CORBA_IDLType_type_get (const TAO_ServerRequestInfo_CORBA_IDLType_type_get &);
+ void operator= (const TAO_ServerRequestInfo_CORBA_IDLType_type_get &);
+
+ private:
+ POA_CORBA::IDLType *_tao_impl;
+ void result (CORBA::TypeCode_ptr result);
+ // update the result
+ CORBA::TypeCode_ptr _result;
+ };
+
+ #endif /* TAO_HAS_INTERCEPTORS */
+
+};
+
+
+///////////////////////////////////////////////////////////////////////
+// Strategized Proxy Broker Declaration
+//
+
+class _TAO_IDLType_Strategized_Proxy_Broker : public virtual ::_TAO_IDLType_Proxy_Broker
+{
+public:
+ _TAO_IDLType_Strategized_Proxy_Broker (void);
+
+ virtual ~_TAO_IDLType_Strategized_Proxy_Broker (void);
+
+ virtual ::_TAO_IDLType_Proxy_Impl &select_proxy (
+ ::CORBA::IDLType *object,
+ CORBA_Environment &ACE_TRY_ENV = TAO_default_environment ()
+ );
+
+private:
+
+// Helper methods that takes care to create the proxy
+// as soon as their use is necessary.
+ void create_proxy (
+ int strategy,
+ CORBA::Environment &ACE_TRY_ENV
+ );
+
+private:
+
+ // Caches the proxy implementations. The proxy implementation
+ // are totally stateless, and those can be shared by all the
+ // instances of a given IDL interface type.
+ ::_TAO_IDLType_Proxy_Impl
+ *proxy_cache_[TAO_Collocation_Strategies::CS_LAST];
+
+ TAO_SYNCH_MUTEX mutex_;
+// This funxtion is used to get an handle to the unique instance
+// of the Strategized Proxy Broker that is available for a given
+// interface.
+
+public:
+ static _TAO_IDLType_Strategized_Proxy_Broker *the_TAO_IDLType_Strategized_Proxy_Broker (void);
+};
+
+
+//
+// End Strategized Proxy Broker Declaration
+///////////////////////////////////////////////////////////////////////
+
+
+///////////////////////////////////////////////////////////////////////
+// ThruPOA Impl. Declaration
+//
+
+class _TAO_IDLType_ThruPOA_Proxy_Impl :
+ public virtual ::_TAO_IDLType_Proxy_Impl,
+ public virtual TAO_ThruPOA_Object_Proxy_Impl,
+ public virtual ::POA_CORBA::_TAO_IRObject_ThruPOA_Proxy_Impl
+
+{
+public:
+ _TAO_IDLType_ThruPOA_Proxy_Impl (void);
+
+ virtual ~_TAO_IDLType_ThruPOA_Proxy_Impl (void) { }
+
+ virtual CORBA::TypeCode_ptr type (
+ CORBA_Object *_collocated_tao_target_,
+ CORBA::Environment &ACE_TRY_ENV
+ )
+ ACE_THROW_SPEC ((
+ CORBA::SystemException
+ ));
+
+};
+
+
+//
+// ThruPOA Proxy Impl. Declaration
+///////////////////////////////////////////////////////////////////////
+
+
+#if defined (ACE_HAS_USING_KEYWORD)
+// TIE class: Refer to CORBA v2.2, Section 20.34.4
+template <class T>
+class IDLType_tie : public IDLType
+{
+public:
+ IDLType_tie (T &t);
+ // the T& ctor
+ IDLType_tie (T &t, PortableServer::POA_ptr poa);
+ // ctor taking a POA
+ IDLType_tie (T *tp, CORBA::Boolean release=1);
+ // ctor taking pointer and an ownership flag
+ IDLType_tie (T *tp, PortableServer::POA_ptr poa, CORBA::Boolean release=1);
+ // ctor with T*, ownership flag and a POA
+ ~IDLType_tie (void);
+ // dtor
+
+ // TIE specific functions
+ T *_tied_object (void);
+ // return the underlying object
+ void _tied_object (T &obj);
+ // set the underlying object
+ void _tied_object (T *obj, CORBA::Boolean release=1);
+ // set the underlying object and the ownership flag
+ CORBA::Boolean _is_owner (void);
+ // do we own it
+ void _is_owner (CORBA::Boolean b);
+ // set the ownership
+
+ // overridden ServantBase operations
+ PortableServer::POA_ptr _default_POA (
+ CORBA::Environment &ACE_TRY_ENV =
+ TAO_default_environment ()
+ );
+ CORBA::TypeCode_ptr type (
+ CORBA::Environment &ACE_TRY_ENV =
+ TAO_default_environment ()
+ )
+ ACE_THROW_SPEC ((
+ CORBA::SystemException
+ ));
+
+ CORBA::DefinitionKind def_kind (
+ CORBA::Environment &ACE_TRY_ENV =
+ TAO_default_environment ()
+ )
+ ACE_THROW_SPEC ((
+ CORBA::SystemException
+ ));
+
+ void destroy (
+ CORBA::Environment &ACE_TRY_ENV =
+ TAO_default_environment ()
+ )
+ ACE_THROW_SPEC ((
+ CORBA::SystemException
+ ));
+
+private:
+ T *ptr_;
+ PortableServer::POA_var poa_;
+ CORBA::Boolean rel_;
+
+ // copy and assignment are not allowed
+ IDLType_tie (const IDLType_tie &);
+ void operator= (const IDLType_tie &);
+};
+
+#endif /* ACE_HAS_USING_KEYWORD */
+
+class TypedefDef;
+typedef TypedefDef *TypedefDef_ptr;
+// Forward Classes Declaration
+class _TAO_TypedefDef_ThruPOA_Proxy_Impl;
+class _TAO_TypedefDef_Strategized_Proxy_Broker;
+
+class TypedefDef : public virtual Contained, public virtual IDLType
+{
+protected:
+ TypedefDef (void);
+
+public:
+ TypedefDef (const TypedefDef& rhs);
+ virtual ~TypedefDef (void);
+
+
+ virtual CORBA::Boolean _is_a (
+ const char* logical_type_id,
+ CORBA::Environment &ACE_TRY_ENV =
+ TAO_default_environment ()
+ );
+
+ virtual void* _downcast (
+ const char* logical_type_id
+ );
+
+ static void _is_a_skel (
+ TAO_ServerRequest &req,
+ void *obj,
+ void *context,
+ CORBA::Environment &ACE_TRY_ENV =
+ TAO_default_environment ()
+ );
+
+ static void _non_existent_skel (
+ TAO_ServerRequest &req,
+ void *obj,
+ void *context,
+ CORBA::Environment &ACE_TRY_ENV =
+ TAO_default_environment ()
+ );
+
+ virtual void _dispatch (
+ TAO_ServerRequest &_tao_req,
+ void *_tao_context,
+ CORBA::Environment &ACE_TRY_ENV =
+ TAO_default_environment ()
+ );
+
+ ::CORBA::TypedefDef *_this (
+ CORBA::Environment &ACE_TRY_ENV =
+ TAO_default_environment ()
+ );
+
+ virtual const char* _interface_repository_id (void) const;
+
+ static void _get_id_skel (
+ TAO_ServerRequest &req,
+ void *obj,
+ void *context,
+ CORBA::Environment &ACE_TRY_ENV =
+ TAO_default_environment ()
+ );
+
+ static void _set_id_skel (
+ TAO_ServerRequest &req,
+ void *obj,
+ void *context,
+ CORBA::Environment &ACE_TRY_ENV =
+ TAO_default_environment ()
+ );
+
+ static void _get_name_skel (
+ TAO_ServerRequest &req,
+ void *obj,
+ void *context,
+ CORBA::Environment &ACE_TRY_ENV =
+ TAO_default_environment ()
+ );
+
+ static void _set_name_skel (
+ TAO_ServerRequest &req,
+ void *obj,
+ void *context,
+ CORBA::Environment &ACE_TRY_ENV =
+ TAO_default_environment ()
+ );
+
+ static void _get_version_skel (
+ TAO_ServerRequest &req,
+ void *obj,
+ void *context,
+ CORBA::Environment &ACE_TRY_ENV =
+ TAO_default_environment ()
+ );
+
+ static void _set_version_skel (
+ TAO_ServerRequest &req,
+ void *obj,
+ void *context,
+ CORBA::Environment &ACE_TRY_ENV =
+ TAO_default_environment ()
+ );
+
+ static void _get_defined_in_skel (
+ TAO_ServerRequest &req,
+ void *obj,
+ void *context,
+ CORBA::Environment &ACE_TRY_ENV =
+ TAO_default_environment ()
+ );
+
+ static void _get_absolute_name_skel (
+ TAO_ServerRequest &req,
+ void *obj,
+ void *context,
+ CORBA::Environment &ACE_TRY_ENV =
+ TAO_default_environment ()
+ );
+
+ static void _get_containing_repository_skel (
+ TAO_ServerRequest &req,
+ void *obj,
+ void *context,
+ CORBA::Environment &ACE_TRY_ENV =
+ TAO_default_environment ()
+ );
+
+ static void describe_skel (
+ TAO_ServerRequest &req,
+ void *obj,
+ void *context,
+ CORBA::Environment &ACE_TRY_ENV =
+ TAO_default_environment ()
+ );
+
+ static void move_skel (
+ TAO_ServerRequest &req,
+ void *obj,
+ void *context,
+ CORBA::Environment &ACE_TRY_ENV =
+ TAO_default_environment ()
+ );
+
+ static void _get_type_skel (
+ TAO_ServerRequest &req,
+ void *obj,
+ void *context,
+ CORBA::Environment &ACE_TRY_ENV =
+ TAO_default_environment ()
+ );
+
+ static void _get_def_kind_skel (
+ TAO_ServerRequest &req,
+ void *obj,
+ void *context,
+ CORBA::Environment &ACE_TRY_ENV =
+ TAO_default_environment ()
+ );
+
+ static void destroy_skel (
+ TAO_ServerRequest &req,
+ void *obj,
+ void *context,
+ CORBA::Environment &ACE_TRY_ENV =
+ TAO_default_environment ()
+ );
+
+
+#if (TAO_HAS_INTERCEPTORS == 1)
+ // Generation of interceptors related RequestInfo classes per operation.
+ // This needed to be able to store the arguments, exceptions, contexts
+ // and build the lists dynamically on demand so that unnecessary time overhead
+ // of building these lists when they arent used is avoided.
+ #endif /* TAO_HAS_INTERCEPTORS */
+
+};
+
+
+///////////////////////////////////////////////////////////////////////
+// Strategized Proxy Broker Declaration
+//
+
+class _TAO_TypedefDef_Strategized_Proxy_Broker : public virtual ::_TAO_TypedefDef_Proxy_Broker
+{
+public:
+ _TAO_TypedefDef_Strategized_Proxy_Broker (void);
+
+ virtual ~_TAO_TypedefDef_Strategized_Proxy_Broker (void);
+
+ virtual ::_TAO_TypedefDef_Proxy_Impl &select_proxy (
+ ::CORBA::TypedefDef *object,
+ CORBA_Environment &ACE_TRY_ENV = TAO_default_environment ()
+ );
+
+private:
+
+// Helper methods that takes care to create the proxy
+// as soon as their use is necessary.
+ void create_proxy (
+ int strategy,
+ CORBA::Environment &ACE_TRY_ENV
+ );
+
+private:
+
+ // Caches the proxy implementations. The proxy implementation
+ // are totally stateless, and those can be shared by all the
+ // instances of a given IDL interface type.
+ ::_TAO_TypedefDef_Proxy_Impl
+ *proxy_cache_[TAO_Collocation_Strategies::CS_LAST];
+
+ TAO_SYNCH_MUTEX mutex_;
+// This funxtion is used to get an handle to the unique instance
+// of the Strategized Proxy Broker that is available for a given
+// interface.
+
+public:
+ static _TAO_TypedefDef_Strategized_Proxy_Broker *the_TAO_TypedefDef_Strategized_Proxy_Broker (void);
+};
+
+
+//
+// End Strategized Proxy Broker Declaration
+///////////////////////////////////////////////////////////////////////
+
+
+///////////////////////////////////////////////////////////////////////
+// ThruPOA Impl. Declaration
+//
+
+class _TAO_TypedefDef_ThruPOA_Proxy_Impl :
+ public virtual ::_TAO_TypedefDef_Proxy_Impl,
+ public virtual TAO_ThruPOA_Object_Proxy_Impl,
+ public virtual ::POA_CORBA::_TAO_Contained_ThruPOA_Proxy_Impl,
+ public virtual ::POA_CORBA::_TAO_IDLType_ThruPOA_Proxy_Impl
+
+{
+public:
+ _TAO_TypedefDef_ThruPOA_Proxy_Impl (void);
+
+ virtual ~_TAO_TypedefDef_ThruPOA_Proxy_Impl (void) { }
+
+ };
+
+
+//
+// ThruPOA Proxy Impl. Declaration
+///////////////////////////////////////////////////////////////////////
+
+
+#if defined (ACE_HAS_USING_KEYWORD)
+// TIE class: Refer to CORBA v2.2, Section 20.34.4
+template <class T>
+class TypedefDef_tie : public TypedefDef
+{
+public:
+ TypedefDef_tie (T &t);
+ // the T& ctor
+ TypedefDef_tie (T &t, PortableServer::POA_ptr poa);
+ // ctor taking a POA
+ TypedefDef_tie (T *tp, CORBA::Boolean release=1);
+ // ctor taking pointer and an ownership flag
+ TypedefDef_tie (T *tp, PortableServer::POA_ptr poa, CORBA::Boolean release=1);
+ // ctor with T*, ownership flag and a POA
+ ~TypedefDef_tie (void);
+ // dtor
+
+ // TIE specific functions
+ T *_tied_object (void);
+ // return the underlying object
+ void _tied_object (T &obj);
+ // set the underlying object
+ void _tied_object (T *obj, CORBA::Boolean release=1);
+ // set the underlying object and the ownership flag
+ CORBA::Boolean _is_owner (void);
+ // do we own it
+ void _is_owner (CORBA::Boolean b);
+ // set the ownership
+
+ // overridden ServantBase operations
+ PortableServer::POA_ptr _default_POA (
+ CORBA::Environment &ACE_TRY_ENV =
+ TAO_default_environment ()
+ );
+ char * id (
+ CORBA::Environment &ACE_TRY_ENV =
+ TAO_default_environment ()
+ )
+ ACE_THROW_SPEC ((
+ CORBA::SystemException
+ ));
+
+ void id (
+ const char * id,
+ CORBA::Environment &ACE_TRY_ENV =
+ TAO_default_environment ()
+ )
+ ACE_THROW_SPEC ((
+ CORBA::SystemException
+ ));
+
+ char * name (
+ CORBA::Environment &ACE_TRY_ENV =
+ TAO_default_environment ()
+ )
+ ACE_THROW_SPEC ((
+ CORBA::SystemException
+ ));
+
+ void name (
+ const char * name,
+ CORBA::Environment &ACE_TRY_ENV =
+ TAO_default_environment ()
+ )
+ ACE_THROW_SPEC ((
+ CORBA::SystemException
+ ));
+
+ char * version (
+ CORBA::Environment &ACE_TRY_ENV =
+ TAO_default_environment ()
+ )
+ ACE_THROW_SPEC ((
+ CORBA::SystemException
+ ));
+
+ void version (
+ const char * version,
+ CORBA::Environment &ACE_TRY_ENV =
+ TAO_default_environment ()
+ )
+ ACE_THROW_SPEC ((
+ CORBA::SystemException
+ ));
+
+ CORBA::Container_ptr defined_in (
+ CORBA::Environment &ACE_TRY_ENV =
+ TAO_default_environment ()
+ )
+ ACE_THROW_SPEC ((
+ CORBA::SystemException
+ ));
+
+ char * absolute_name (
+ CORBA::Environment &ACE_TRY_ENV =
+ TAO_default_environment ()
+ )
+ ACE_THROW_SPEC ((
+ CORBA::SystemException
+ ));
+
+ CORBA::Repository_ptr containing_repository (
+ CORBA::Environment &ACE_TRY_ENV =
+ TAO_default_environment ()
+ )
+ ACE_THROW_SPEC ((
+ CORBA::SystemException
+ ));
+
+ CORBA::Contained::Description * describe (
+ CORBA::Environment &ACE_TRY_ENV =
+ TAO_default_environment ()
+ )
+ ACE_THROW_SPEC ((
+ CORBA::SystemException
+ ));
+
+ void move (
+ CORBA::Container_ptr new_container,
+ const char * new_name,
+ const char * new_version,
+ CORBA::Environment &ACE_TRY_ENV =
+ TAO_default_environment ()
+ )
+ ACE_THROW_SPEC ((
+ CORBA::SystemException
+ ));
+
+ CORBA::TypeCode_ptr type (
+ CORBA::Environment &ACE_TRY_ENV =
+ TAO_default_environment ()
+ )
+ ACE_THROW_SPEC ((
+ CORBA::SystemException
+ ));
+
+ CORBA::DefinitionKind def_kind (
+ CORBA::Environment &ACE_TRY_ENV =
+ TAO_default_environment ()
+ )
+ ACE_THROW_SPEC ((
+ CORBA::SystemException
+ ));
+
+ void destroy (
+ CORBA::Environment &ACE_TRY_ENV =
+ TAO_default_environment ()
+ )
+ ACE_THROW_SPEC ((
+ CORBA::SystemException
+ ));
+
+private:
+ T *ptr_;
+ PortableServer::POA_var poa_;
+ CORBA::Boolean rel_;
+
+ // copy and assignment are not allowed
+ TypedefDef_tie (const TypedefDef_tie &);
+ void operator= (const TypedefDef_tie &);
+};
+
+#endif /* ACE_HAS_USING_KEYWORD */
+
+}
+TAO_NAMESPACE_CLOSE
+
+#include "IFR_BaseS_T.h"
+
+#if defined (__ACE_INLINE__)
+#include "IFR_BaseS.i"
+#endif /* defined INLINE */
+
+#if defined(_MSC_VER) && (_MSC_VER >= 1200)
+#pragma warning(pop)
+#endif /* _MSC_VER */
+
+#if defined (__BORLANDC__)
+#pragma option pop
+#endif /* __BORLANDC__ */
+
+#include "ace/post.h"
+#endif /* ifndef */
diff --git a/TAO/orbsvcs/IFR_Service/IFR_BaseS.i b/TAO/orbsvcs/IFR_Service/IFR_BaseS.i
new file mode 100644
index 00000000000..2b807866b6a
--- /dev/null
+++ b/TAO/orbsvcs/IFR_Service/IFR_BaseS.i
@@ -0,0 +1,321 @@
+// -*- C++ -*-
+//
+// $Id$
+
+// **** Code generated by the The ACE ORB (TAO) IDL Compiler ****
+// TAO and the TAO IDL Compiler have been developed by:
+// Center for Distributed Object Computing
+// Washington University
+// St. Louis, MO
+// USA
+// http://www.cs.wustl.edu/~schmidt/doc-center.html
+// and
+// Distributed Object Computing Laboratory
+// University of California at Irvine
+// Irvine, CA
+// USA
+// http://doc.ece.uci.edu/
+//
+// Information about TAO is available at:
+// http://www.cs.wustl.edu/~schmidt/TAO.html
+
+ACE_INLINE void POA_CORBA::Contained::_get_def_kind_skel (
+ TAO_ServerRequest &req,
+ void *obj,
+ void *context,
+ CORBA::Environment &ACE_TRY_ENV
+ )
+{
+ POA_CORBA::IRObject_ptr impl = (POA_CORBA::Contained_ptr) obj;
+ POA_CORBA::IRObject::_get_def_kind_skel (
+ req,
+ (POA_CORBA::IRObject_ptr) impl,
+ context,
+ ACE_TRY_ENV
+ );
+}
+ACE_INLINE void POA_CORBA::Contained::destroy_skel (
+ TAO_ServerRequest &req,
+ void *obj,
+ void *context,
+ CORBA::Environment &ACE_TRY_ENV
+ )
+{
+ POA_CORBA::IRObject_ptr impl = (POA_CORBA::Contained_ptr) obj;
+ POA_CORBA::IRObject::destroy_skel (
+ req,
+ (POA_CORBA::IRObject_ptr) impl,
+ context,
+ ACE_TRY_ENV
+ );
+}
+ACE_INLINE void POA_CORBA::Container::_get_def_kind_skel (
+ TAO_ServerRequest &req,
+ void *obj,
+ void *context,
+ CORBA::Environment &ACE_TRY_ENV
+ )
+{
+ POA_CORBA::IRObject_ptr impl = (POA_CORBA::Container_ptr) obj;
+ POA_CORBA::IRObject::_get_def_kind_skel (
+ req,
+ (POA_CORBA::IRObject_ptr) impl,
+ context,
+ ACE_TRY_ENV
+ );
+}
+ACE_INLINE void POA_CORBA::Container::destroy_skel (
+ TAO_ServerRequest &req,
+ void *obj,
+ void *context,
+ CORBA::Environment &ACE_TRY_ENV
+ )
+{
+ POA_CORBA::IRObject_ptr impl = (POA_CORBA::Container_ptr) obj;
+ POA_CORBA::IRObject::destroy_skel (
+ req,
+ (POA_CORBA::IRObject_ptr) impl,
+ context,
+ ACE_TRY_ENV
+ );
+}
+ACE_INLINE void POA_CORBA::IDLType::_get_def_kind_skel (
+ TAO_ServerRequest &req,
+ void *obj,
+ void *context,
+ CORBA::Environment &ACE_TRY_ENV
+ )
+{
+ POA_CORBA::IRObject_ptr impl = (POA_CORBA::IDLType_ptr) obj;
+ POA_CORBA::IRObject::_get_def_kind_skel (
+ req,
+ (POA_CORBA::IRObject_ptr) impl,
+ context,
+ ACE_TRY_ENV
+ );
+}
+ACE_INLINE void POA_CORBA::IDLType::destroy_skel (
+ TAO_ServerRequest &req,
+ void *obj,
+ void *context,
+ CORBA::Environment &ACE_TRY_ENV
+ )
+{
+ POA_CORBA::IRObject_ptr impl = (POA_CORBA::IDLType_ptr) obj;
+ POA_CORBA::IRObject::destroy_skel (
+ req,
+ (POA_CORBA::IRObject_ptr) impl,
+ context,
+ ACE_TRY_ENV
+ );
+}
+ACE_INLINE void POA_CORBA::TypedefDef::_get_id_skel (
+ TAO_ServerRequest &req,
+ void *obj,
+ void *context,
+ CORBA::Environment &ACE_TRY_ENV
+ )
+{
+ POA_CORBA::Contained_ptr impl = (POA_CORBA::TypedefDef_ptr) obj;
+ POA_CORBA::Contained::_get_id_skel (
+ req,
+ (POA_CORBA::Contained_ptr) impl,
+ context,
+ ACE_TRY_ENV
+ );
+}
+ACE_INLINE void POA_CORBA::TypedefDef::_set_id_skel (
+ TAO_ServerRequest &req,
+ void *obj,
+ void *context,
+ CORBA::Environment &ACE_TRY_ENV
+ )
+{
+ POA_CORBA::Contained_ptr impl = (POA_CORBA::TypedefDef_ptr) obj;
+ POA_CORBA::Contained::_set_id_skel (
+ req,
+ (POA_CORBA::Contained_ptr) impl,
+ context,
+ ACE_TRY_ENV
+ );
+}
+ACE_INLINE void POA_CORBA::TypedefDef::_get_name_skel (
+ TAO_ServerRequest &req,
+ void *obj,
+ void *context,
+ CORBA::Environment &ACE_TRY_ENV
+ )
+{
+ POA_CORBA::Contained_ptr impl = (POA_CORBA::TypedefDef_ptr) obj;
+ POA_CORBA::Contained::_get_name_skel (
+ req,
+ (POA_CORBA::Contained_ptr) impl,
+ context,
+ ACE_TRY_ENV
+ );
+}
+ACE_INLINE void POA_CORBA::TypedefDef::_set_name_skel (
+ TAO_ServerRequest &req,
+ void *obj,
+ void *context,
+ CORBA::Environment &ACE_TRY_ENV
+ )
+{
+ POA_CORBA::Contained_ptr impl = (POA_CORBA::TypedefDef_ptr) obj;
+ POA_CORBA::Contained::_set_name_skel (
+ req,
+ (POA_CORBA::Contained_ptr) impl,
+ context,
+ ACE_TRY_ENV
+ );
+}
+ACE_INLINE void POA_CORBA::TypedefDef::_get_version_skel (
+ TAO_ServerRequest &req,
+ void *obj,
+ void *context,
+ CORBA::Environment &ACE_TRY_ENV
+ )
+{
+ POA_CORBA::Contained_ptr impl = (POA_CORBA::TypedefDef_ptr) obj;
+ POA_CORBA::Contained::_get_version_skel (
+ req,
+ (POA_CORBA::Contained_ptr) impl,
+ context,
+ ACE_TRY_ENV
+ );
+}
+ACE_INLINE void POA_CORBA::TypedefDef::_set_version_skel (
+ TAO_ServerRequest &req,
+ void *obj,
+ void *context,
+ CORBA::Environment &ACE_TRY_ENV
+ )
+{
+ POA_CORBA::Contained_ptr impl = (POA_CORBA::TypedefDef_ptr) obj;
+ POA_CORBA::Contained::_set_version_skel (
+ req,
+ (POA_CORBA::Contained_ptr) impl,
+ context,
+ ACE_TRY_ENV
+ );
+}
+ACE_INLINE void POA_CORBA::TypedefDef::_get_defined_in_skel (
+ TAO_ServerRequest &req,
+ void *obj,
+ void *context,
+ CORBA::Environment &ACE_TRY_ENV
+ )
+{
+ POA_CORBA::Contained_ptr impl = (POA_CORBA::TypedefDef_ptr) obj;
+ POA_CORBA::Contained::_get_defined_in_skel (
+ req,
+ (POA_CORBA::Contained_ptr) impl,
+ context,
+ ACE_TRY_ENV
+ );
+}
+ACE_INLINE void POA_CORBA::TypedefDef::_get_absolute_name_skel (
+ TAO_ServerRequest &req,
+ void *obj,
+ void *context,
+ CORBA::Environment &ACE_TRY_ENV
+ )
+{
+ POA_CORBA::Contained_ptr impl = (POA_CORBA::TypedefDef_ptr) obj;
+ POA_CORBA::Contained::_get_absolute_name_skel (
+ req,
+ (POA_CORBA::Contained_ptr) impl,
+ context,
+ ACE_TRY_ENV
+ );
+}
+ACE_INLINE void POA_CORBA::TypedefDef::_get_containing_repository_skel (
+ TAO_ServerRequest &req,
+ void *obj,
+ void *context,
+ CORBA::Environment &ACE_TRY_ENV
+ )
+{
+ POA_CORBA::Contained_ptr impl = (POA_CORBA::TypedefDef_ptr) obj;
+ POA_CORBA::Contained::_get_containing_repository_skel (
+ req,
+ (POA_CORBA::Contained_ptr) impl,
+ context,
+ ACE_TRY_ENV
+ );
+}
+ACE_INLINE void POA_CORBA::TypedefDef::describe_skel (
+ TAO_ServerRequest &req,
+ void *obj,
+ void *context,
+ CORBA::Environment &ACE_TRY_ENV
+ )
+{
+ POA_CORBA::Contained_ptr impl = (POA_CORBA::TypedefDef_ptr) obj;
+ POA_CORBA::Contained::describe_skel (
+ req,
+ (POA_CORBA::Contained_ptr) impl,
+ context,
+ ACE_TRY_ENV
+ );
+}
+ACE_INLINE void POA_CORBA::TypedefDef::move_skel (
+ TAO_ServerRequest &req,
+ void *obj,
+ void *context,
+ CORBA::Environment &ACE_TRY_ENV
+ )
+{
+ POA_CORBA::Contained_ptr impl = (POA_CORBA::TypedefDef_ptr) obj;
+ POA_CORBA::Contained::move_skel (
+ req,
+ (POA_CORBA::Contained_ptr) impl,
+ context,
+ ACE_TRY_ENV
+ );
+}
+ACE_INLINE void POA_CORBA::TypedefDef::_get_type_skel (
+ TAO_ServerRequest &req,
+ void *obj,
+ void *context,
+ CORBA::Environment &ACE_TRY_ENV
+ )
+{
+ POA_CORBA::IDLType_ptr impl = (POA_CORBA::TypedefDef_ptr) obj;
+ POA_CORBA::IDLType::_get_type_skel (
+ req,
+ (POA_CORBA::IDLType_ptr) impl,
+ context,
+ ACE_TRY_ENV
+ );
+}
+ACE_INLINE void POA_CORBA::TypedefDef::_get_def_kind_skel (
+ TAO_ServerRequest &req,
+ void *obj,
+ void *context,
+ CORBA::Environment &ACE_TRY_ENV
+ )
+{
+ POA_CORBA::IRObject_ptr impl = (POA_CORBA::TypedefDef_ptr) obj;
+ POA_CORBA::IRObject::_get_def_kind_skel (
+ req,
+ (POA_CORBA::IRObject_ptr) impl,
+ context,
+ ACE_TRY_ENV
+ );
+}
+ACE_INLINE void POA_CORBA::TypedefDef::destroy_skel (
+ TAO_ServerRequest &req,
+ void *obj,
+ void *context,
+ CORBA::Environment &ACE_TRY_ENV
+ )
+{
+ POA_CORBA::IRObject_ptr impl = (POA_CORBA::TypedefDef_ptr) obj;
+ POA_CORBA::IRObject::destroy_skel (
+ req,
+ (POA_CORBA::IRObject_ptr) impl,
+ context,
+ ACE_TRY_ENV
+ );
+}
diff --git a/TAO/orbsvcs/IFR_Service/IFR_BaseS_T.cpp b/TAO/orbsvcs/IFR_Service/IFR_BaseS_T.cpp
new file mode 100644
index 00000000000..b3defa3805b
--- /dev/null
+++ b/TAO/orbsvcs/IFR_Service/IFR_BaseS_T.cpp
@@ -0,0 +1,32 @@
+// -*- C++ -*-
+//
+// $Id$
+
+// **** Code generated by the The ACE ORB (TAO) IDL Compiler ****
+// TAO and the TAO IDL Compiler have been developed by:
+// Center for Distributed Object Computing
+// Washington University
+// St. Louis, MO
+// USA
+// http://www.cs.wustl.edu/~schmidt/doc-center.html
+// and
+// Distributed Object Computing Laboratory
+// University of California at Irvine
+// Irvine, CA
+// USA
+// http://doc.ece.uci.edu/
+//
+// Information about TAO is available at:
+// http://www.cs.wustl.edu/~schmidt/TAO.html
+
+#ifndef TAO_IDL_IFR_BASES_T_CPP
+#define TAO_IDL_IFR_BASES_T_CPP
+
+#include "IFR_BaseS_T.h"
+
+#if !defined (__ACE_INLINE__)
+#include "IFR_BaseS_T.i"
+#endif /* !defined INLINE */
+
+
+#endif /* ifndef */
diff --git a/TAO/orbsvcs/IFR_Service/IFR_BaseS_T.h b/TAO/orbsvcs/IFR_Service/IFR_BaseS_T.h
new file mode 100644
index 00000000000..87a3a17f2ac
--- /dev/null
+++ b/TAO/orbsvcs/IFR_Service/IFR_BaseS_T.h
@@ -0,0 +1,53 @@
+// -*- C++ -*-
+//
+// $Id$
+
+// **** Code generated by the The ACE ORB (TAO) IDL Compiler ****
+// TAO and the TAO IDL Compiler have been developed by:
+// Center for Distributed Object Computing
+// Washington University
+// St. Louis, MO
+// USA
+// http://www.cs.wustl.edu/~schmidt/doc-center.html
+// and
+// Distributed Object Computing Laboratory
+// University of California at Irvine
+// Irvine, CA
+// USA
+// http://doc.ece.uci.edu/
+//
+// Information about TAO is available at:
+// http://www.cs.wustl.edu/~schmidt/TAO.html
+
+#ifndef TAO_ID_IFR_BASES_T_H
+#define TAO_ID_IFR_BASES_T_H
+
+#include "ace/pre.h"
+#if defined(_MSC_VER)
+#if (_MSC_VER >= 1200)
+#pragma warning(push)
+#endif /* _MSC_VER >= 1200 */
+#pragma warning(disable:4250)
+#endif /* _MSC_VER */
+
+
+#if defined (__ACE_INLINE__)
+#include "IFR_BaseS_T.i"
+#endif /* defined INLINE */
+
+
+#if defined (ACE_TEMPLATES_REQUIRE_SOURCE)
+#include "IFR_BaseS_T.cpp"
+#endif /* defined REQUIRED SOURCE */
+
+
+#if defined (ACE_TEMPLATES_REQUIRE_PRAGMA)
+#pragma implementation ("IFR_BaseS_T.cpp")
+#endif /* defined REQUIRED PRAGMA */
+
+#if defined(_MSC_VER) && (_MSC_VER >= 1200)
+#pragma warning(pop)
+#endif /* _MSC_VER */
+
+#include "ace/post.h"
+#endif /* ifndef */
diff --git a/TAO/orbsvcs/IFR_Service/IFR_BaseS_T.i b/TAO/orbsvcs/IFR_Service/IFR_BaseS_T.i
new file mode 100644
index 00000000000..5e48aa4d140
--- /dev/null
+++ b/TAO/orbsvcs/IFR_Service/IFR_BaseS_T.i
@@ -0,0 +1,1244 @@
+// -*- C++ -*-
+//
+// $Id$
+
+// **** Code generated by the The ACE ORB (TAO) IDL Compiler ****
+// TAO and the TAO IDL Compiler have been developed by:
+// Center for Distributed Object Computing
+// Washington University
+// St. Louis, MO
+// USA
+// http://www.cs.wustl.edu/~schmidt/doc-center.html
+// and
+// Distributed Object Computing Laboratory
+// University of California at Irvine
+// Irvine, CA
+// USA
+// http://doc.ece.uci.edu/
+//
+// Information about TAO is available at:
+// http://www.cs.wustl.edu/~schmidt/TAO.html
+
+
+#if defined (ACE_HAS_USING_KEYWORD)
+template <class T> ACE_INLINE
+POA_CORBA::IRObject_tie<T>::IRObject_tie (T &t)
+ : ptr_ (&t),
+ poa_ (PortableServer::POA::_nil ()),
+ rel_ (0)
+{}
+
+template <class T> ACE_INLINE
+POA_CORBA::IRObject_tie<T>::IRObject_tie (T &t, PortableServer::POA_ptr poa)
+ : ptr_ (&t),
+ poa_ (PortableServer::POA::_duplicate (poa)),
+ rel_ (0)
+{}
+
+template <class T> ACE_INLINE
+POA_CORBA::IRObject_tie<T>::IRObject_tie (T *tp, CORBA::Boolean release)
+ : ptr_ (tp),
+ poa_ (PortableServer::POA::_nil ()),
+ rel_ (release)
+{}
+
+template <class T> ACE_INLINE
+POA_CORBA::IRObject_tie<T>::IRObject_tie (T *tp, PortableServer::POA_ptr poa, CORBA::Boolean release)
+ : ptr_ (tp),
+ poa_ (PortableServer::POA::_duplicate (poa)),
+ rel_ (release)
+{}
+
+template <class T> ACE_INLINE
+POA_CORBA::IRObject_tie<T>::~IRObject_tie (void)
+{
+ if (this->rel_) delete this->ptr_;
+}
+
+template <class T> ACE_INLINE T *
+POA_CORBA::IRObject_tie<T>::_tied_object (void)
+{
+ return this->ptr_;
+}
+
+template <class T> ACE_INLINE void
+POA_CORBA::IRObject_tie<T>::_tied_object (T &obj)
+{
+ if (this->rel_) delete this->ptr_;
+ this->ptr_ = &obj;
+ this->rel_ = 0;
+}
+
+template <class T> ACE_INLINE void
+POA_CORBA::IRObject_tie<T>::_tied_object (T *obj, CORBA::Boolean release)
+{
+ if (this->rel_) delete this->ptr_;
+ this->ptr_ = obj;
+ this->rel_ = release;
+}
+
+template <class T> ACE_INLINE CORBA::Boolean
+POA_CORBA::IRObject_tie<T>::_is_owner (void)
+{
+ return this->rel_;
+}
+
+template <class T> ACE_INLINE void
+POA_CORBA::IRObject_tie<T>::_is_owner (CORBA::Boolean b)
+{
+ this->rel_ = b;
+}
+
+template <class T> ACE_INLINE PortableServer::POA_ptr
+POA_CORBA::IRObject_tie<T>::_default_POA (CORBA::Environment &ACE_TRY_ENV)
+{
+ if (!CORBA::is_nil (this->poa_.in ()))
+ return PortableServer::POA::_duplicate (this->poa_.in ());
+
+ return this->IRObject::_default_POA (ACE_TRY_ENV);
+}
+
+template <class T> ACE_INLINE
+CORBA::DefinitionKind POA_CORBA::IRObject_tie<T>::def_kind (
+ CORBA::Environment &ACE_TRY_ENV
+ )
+ ACE_THROW_SPEC ((
+ CORBA::SystemException
+ ))
+{
+ return this->ptr_->def_kind (
+ACE_TRY_ENV
+ );
+}
+
+template <class T> ACE_INLINE
+void POA_CORBA::IRObject_tie<T>::destroy (
+ CORBA::Environment &ACE_TRY_ENV
+ )
+ ACE_THROW_SPEC ((
+ CORBA::SystemException
+ ))
+{
+ this->ptr_->destroy (
+ACE_TRY_ENV
+ );
+}
+
+#endif /* ACE_HAS_USING_KEYWORD */
+
+#if defined (ACE_HAS_USING_KEYWORD)
+template <class T> ACE_INLINE
+POA_CORBA::Contained_tie<T>::Contained_tie (T &t)
+ : ptr_ (&t),
+ poa_ (PortableServer::POA::_nil ()),
+ rel_ (0)
+{}
+
+template <class T> ACE_INLINE
+POA_CORBA::Contained_tie<T>::Contained_tie (T &t, PortableServer::POA_ptr poa)
+ : ptr_ (&t),
+ poa_ (PortableServer::POA::_duplicate (poa)),
+ rel_ (0)
+{}
+
+template <class T> ACE_INLINE
+POA_CORBA::Contained_tie<T>::Contained_tie (T *tp, CORBA::Boolean release)
+ : ptr_ (tp),
+ poa_ (PortableServer::POA::_nil ()),
+ rel_ (release)
+{}
+
+template <class T> ACE_INLINE
+POA_CORBA::Contained_tie<T>::Contained_tie (T *tp, PortableServer::POA_ptr poa, CORBA::Boolean release)
+ : ptr_ (tp),
+ poa_ (PortableServer::POA::_duplicate (poa)),
+ rel_ (release)
+{}
+
+template <class T> ACE_INLINE
+POA_CORBA::Contained_tie<T>::~Contained_tie (void)
+{
+ if (this->rel_) delete this->ptr_;
+}
+
+template <class T> ACE_INLINE T *
+POA_CORBA::Contained_tie<T>::_tied_object (void)
+{
+ return this->ptr_;
+}
+
+template <class T> ACE_INLINE void
+POA_CORBA::Contained_tie<T>::_tied_object (T &obj)
+{
+ if (this->rel_) delete this->ptr_;
+ this->ptr_ = &obj;
+ this->rel_ = 0;
+}
+
+template <class T> ACE_INLINE void
+POA_CORBA::Contained_tie<T>::_tied_object (T *obj, CORBA::Boolean release)
+{
+ if (this->rel_) delete this->ptr_;
+ this->ptr_ = obj;
+ this->rel_ = release;
+}
+
+template <class T> ACE_INLINE CORBA::Boolean
+POA_CORBA::Contained_tie<T>::_is_owner (void)
+{
+ return this->rel_;
+}
+
+template <class T> ACE_INLINE void
+POA_CORBA::Contained_tie<T>::_is_owner (CORBA::Boolean b)
+{
+ this->rel_ = b;
+}
+
+template <class T> ACE_INLINE PortableServer::POA_ptr
+POA_CORBA::Contained_tie<T>::_default_POA (CORBA::Environment &ACE_TRY_ENV)
+{
+ if (!CORBA::is_nil (this->poa_.in ()))
+ return PortableServer::POA::_duplicate (this->poa_.in ());
+
+ return this->Contained::_default_POA (ACE_TRY_ENV);
+}
+
+template <class T> ACE_INLINE
+char * POA_CORBA::Contained_tie<T>::id (
+ CORBA::Environment &ACE_TRY_ENV
+ )
+ ACE_THROW_SPEC ((
+ CORBA::SystemException
+ ))
+{
+ return this->ptr_->id (
+ACE_TRY_ENV
+ );
+}
+
+template <class T> ACE_INLINE
+void POA_CORBA::Contained_tie<T>::id (
+ const char * id,
+ CORBA::Environment &ACE_TRY_ENV
+ )
+ ACE_THROW_SPEC ((
+ CORBA::SystemException
+ ))
+{
+ this->ptr_->id (
+id,
+ ACE_TRY_ENV
+ );
+}
+
+template <class T> ACE_INLINE
+char * POA_CORBA::Contained_tie<T>::name (
+ CORBA::Environment &ACE_TRY_ENV
+ )
+ ACE_THROW_SPEC ((
+ CORBA::SystemException
+ ))
+{
+ return this->ptr_->name (
+ACE_TRY_ENV
+ );
+}
+
+template <class T> ACE_INLINE
+void POA_CORBA::Contained_tie<T>::name (
+ const char * name,
+ CORBA::Environment &ACE_TRY_ENV
+ )
+ ACE_THROW_SPEC ((
+ CORBA::SystemException
+ ))
+{
+ this->ptr_->name (
+name,
+ ACE_TRY_ENV
+ );
+}
+
+template <class T> ACE_INLINE
+char * POA_CORBA::Contained_tie<T>::version (
+ CORBA::Environment &ACE_TRY_ENV
+ )
+ ACE_THROW_SPEC ((
+ CORBA::SystemException
+ ))
+{
+ return this->ptr_->version (
+ACE_TRY_ENV
+ );
+}
+
+template <class T> ACE_INLINE
+void POA_CORBA::Contained_tie<T>::version (
+ const char * version,
+ CORBA::Environment &ACE_TRY_ENV
+ )
+ ACE_THROW_SPEC ((
+ CORBA::SystemException
+ ))
+{
+ this->ptr_->version (
+version,
+ ACE_TRY_ENV
+ );
+}
+
+template <class T> ACE_INLINE
+CORBA::Container_ptr POA_CORBA::Contained_tie<T>::defined_in (
+ CORBA::Environment &ACE_TRY_ENV
+ )
+ ACE_THROW_SPEC ((
+ CORBA::SystemException
+ ))
+{
+ return this->ptr_->defined_in (
+ACE_TRY_ENV
+ );
+}
+
+template <class T> ACE_INLINE
+char * POA_CORBA::Contained_tie<T>::absolute_name (
+ CORBA::Environment &ACE_TRY_ENV
+ )
+ ACE_THROW_SPEC ((
+ CORBA::SystemException
+ ))
+{
+ return this->ptr_->absolute_name (
+ACE_TRY_ENV
+ );
+}
+
+template <class T> ACE_INLINE
+CORBA::Repository_ptr POA_CORBA::Contained_tie<T>::containing_repository (
+ CORBA::Environment &ACE_TRY_ENV
+ )
+ ACE_THROW_SPEC ((
+ CORBA::SystemException
+ ))
+{
+ return this->ptr_->containing_repository (
+ACE_TRY_ENV
+ );
+}
+
+template <class T> ACE_INLINE
+CORBA::Contained::Description * POA_CORBA::Contained_tie<T>::describe (
+ CORBA::Environment &ACE_TRY_ENV
+ )
+ ACE_THROW_SPEC ((
+ CORBA::SystemException
+ ))
+{
+ return this->ptr_->describe (
+ACE_TRY_ENV
+ );
+}
+
+template <class T> ACE_INLINE
+void POA_CORBA::Contained_tie<T>::move (
+ CORBA::Container_ptr new_container,
+ const char * new_name,
+ const char * new_version,
+ CORBA::Environment &ACE_TRY_ENV
+ )
+ ACE_THROW_SPEC ((
+ CORBA::SystemException
+ ))
+{
+ this->ptr_->move (
+new_container,
+ new_name,
+ new_version,
+ ACE_TRY_ENV
+ );
+}
+
+template <class T> ACE_INLINE
+CORBA::DefinitionKind POA_CORBA::Contained_tie<T>::def_kind (
+ CORBA::Environment &ACE_TRY_ENV
+ )
+ ACE_THROW_SPEC ((
+ CORBA::SystemException
+ ))
+{
+ return this->ptr_->def_kind (
+ACE_TRY_ENV
+ );
+}
+
+template <class T> ACE_INLINE
+void POA_CORBA::Contained_tie<T>::destroy (
+ CORBA::Environment &ACE_TRY_ENV
+ )
+ ACE_THROW_SPEC ((
+ CORBA::SystemException
+ ))
+{
+ this->ptr_->destroy (
+ACE_TRY_ENV
+ );
+}
+
+#endif /* ACE_HAS_USING_KEYWORD */
+
+#if defined (ACE_HAS_USING_KEYWORD)
+template <class T> ACE_INLINE
+POA_CORBA::Container_tie<T>::Container_tie (T &t)
+ : ptr_ (&t),
+ poa_ (PortableServer::POA::_nil ()),
+ rel_ (0)
+{}
+
+template <class T> ACE_INLINE
+POA_CORBA::Container_tie<T>::Container_tie (T &t, PortableServer::POA_ptr poa)
+ : ptr_ (&t),
+ poa_ (PortableServer::POA::_duplicate (poa)),
+ rel_ (0)
+{}
+
+template <class T> ACE_INLINE
+POA_CORBA::Container_tie<T>::Container_tie (T *tp, CORBA::Boolean release)
+ : ptr_ (tp),
+ poa_ (PortableServer::POA::_nil ()),
+ rel_ (release)
+{}
+
+template <class T> ACE_INLINE
+POA_CORBA::Container_tie<T>::Container_tie (T *tp, PortableServer::POA_ptr poa, CORBA::Boolean release)
+ : ptr_ (tp),
+ poa_ (PortableServer::POA::_duplicate (poa)),
+ rel_ (release)
+{}
+
+template <class T> ACE_INLINE
+POA_CORBA::Container_tie<T>::~Container_tie (void)
+{
+ if (this->rel_) delete this->ptr_;
+}
+
+template <class T> ACE_INLINE T *
+POA_CORBA::Container_tie<T>::_tied_object (void)
+{
+ return this->ptr_;
+}
+
+template <class T> ACE_INLINE void
+POA_CORBA::Container_tie<T>::_tied_object (T &obj)
+{
+ if (this->rel_) delete this->ptr_;
+ this->ptr_ = &obj;
+ this->rel_ = 0;
+}
+
+template <class T> ACE_INLINE void
+POA_CORBA::Container_tie<T>::_tied_object (T *obj, CORBA::Boolean release)
+{
+ if (this->rel_) delete this->ptr_;
+ this->ptr_ = obj;
+ this->rel_ = release;
+}
+
+template <class T> ACE_INLINE CORBA::Boolean
+POA_CORBA::Container_tie<T>::_is_owner (void)
+{
+ return this->rel_;
+}
+
+template <class T> ACE_INLINE void
+POA_CORBA::Container_tie<T>::_is_owner (CORBA::Boolean b)
+{
+ this->rel_ = b;
+}
+
+template <class T> ACE_INLINE PortableServer::POA_ptr
+POA_CORBA::Container_tie<T>::_default_POA (CORBA::Environment &ACE_TRY_ENV)
+{
+ if (!CORBA::is_nil (this->poa_.in ()))
+ return PortableServer::POA::_duplicate (this->poa_.in ());
+
+ return this->Container::_default_POA (ACE_TRY_ENV);
+}
+
+template <class T> ACE_INLINE
+CORBA::Contained_ptr POA_CORBA::Container_tie<T>::lookup (
+ const char * search_name,
+ CORBA::Environment &ACE_TRY_ENV
+ )
+ ACE_THROW_SPEC ((
+ CORBA::SystemException
+ ))
+{
+ return this->ptr_->lookup (
+search_name,
+ ACE_TRY_ENV
+ );
+}
+
+template <class T> ACE_INLINE
+CORBA::ContainedSeq * POA_CORBA::Container_tie<T>::contents (
+ CORBA::DefinitionKind limit_type,
+ CORBA::Boolean exclude_inherited,
+ CORBA::Environment &ACE_TRY_ENV
+ )
+ ACE_THROW_SPEC ((
+ CORBA::SystemException
+ ))
+{
+ return this->ptr_->contents (
+limit_type,
+ exclude_inherited,
+ ACE_TRY_ENV
+ );
+}
+
+template <class T> ACE_INLINE
+CORBA::ContainedSeq * POA_CORBA::Container_tie<T>::lookup_name (
+ const char * search_name,
+ CORBA::Long levels_to_search,
+ CORBA::DefinitionKind limit_type,
+ CORBA::Boolean exclude_inherited,
+ CORBA::Environment &ACE_TRY_ENV
+ )
+ ACE_THROW_SPEC ((
+ CORBA::SystemException
+ ))
+{
+ return this->ptr_->lookup_name (
+search_name,
+ levels_to_search,
+ limit_type,
+ exclude_inherited,
+ ACE_TRY_ENV
+ );
+}
+
+template <class T> ACE_INLINE
+CORBA::Container::DescriptionSeq * POA_CORBA::Container_tie<T>::describe_contents (
+ CORBA::DefinitionKind limit_type,
+ CORBA::Boolean exclude_inherited,
+ CORBA::Long max_returned_objs,
+ CORBA::Environment &ACE_TRY_ENV
+ )
+ ACE_THROW_SPEC ((
+ CORBA::SystemException
+ ))
+{
+ return this->ptr_->describe_contents (
+limit_type,
+ exclude_inherited,
+ max_returned_objs,
+ ACE_TRY_ENV
+ );
+}
+
+template <class T> ACE_INLINE
+CORBA::ModuleDef_ptr POA_CORBA::Container_tie<T>::create_module (
+ const char * id,
+ const char * name,
+ const char * version,
+ CORBA::Environment &ACE_TRY_ENV
+ )
+ ACE_THROW_SPEC ((
+ CORBA::SystemException
+ ))
+{
+ return this->ptr_->create_module (
+id,
+ name,
+ version,
+ ACE_TRY_ENV
+ );
+}
+
+template <class T> ACE_INLINE
+CORBA::ConstantDef_ptr POA_CORBA::Container_tie<T>::create_constant (
+ const char * id,
+ const char * name,
+ const char * version,
+ CORBA::IDLType_ptr type,
+ const CORBA::Any & value,
+ CORBA::Environment &ACE_TRY_ENV
+ )
+ ACE_THROW_SPEC ((
+ CORBA::SystemException
+ ))
+{
+ return this->ptr_->create_constant (
+id,
+ name,
+ version,
+ type,
+ value,
+ ACE_TRY_ENV
+ );
+}
+
+template <class T> ACE_INLINE
+CORBA::StructDef_ptr POA_CORBA::Container_tie<T>::create_struct (
+ const char * id,
+ const char * name,
+ const char * version,
+ const CORBA::StructMemberSeq & members,
+ CORBA::Environment &ACE_TRY_ENV
+ )
+ ACE_THROW_SPEC ((
+ CORBA::SystemException
+ ))
+{
+ return this->ptr_->create_struct (
+id,
+ name,
+ version,
+ members,
+ ACE_TRY_ENV
+ );
+}
+
+template <class T> ACE_INLINE
+CORBA::UnionDef_ptr POA_CORBA::Container_tie<T>::create_union (
+ const char * id,
+ const char * name,
+ const char * version,
+ CORBA::IDLType_ptr discriminator_type,
+ const CORBA::UnionMemberSeq & members,
+ CORBA::Environment &ACE_TRY_ENV
+ )
+ ACE_THROW_SPEC ((
+ CORBA::SystemException
+ ))
+{
+ return this->ptr_->create_union (
+id,
+ name,
+ version,
+ discriminator_type,
+ members,
+ ACE_TRY_ENV
+ );
+}
+
+template <class T> ACE_INLINE
+CORBA::EnumDef_ptr POA_CORBA::Container_tie<T>::create_enum (
+ const char * id,
+ const char * name,
+ const char * version,
+ const CORBA::EnumMemberSeq & members,
+ CORBA::Environment &ACE_TRY_ENV
+ )
+ ACE_THROW_SPEC ((
+ CORBA::SystemException
+ ))
+{
+ return this->ptr_->create_enum (
+id,
+ name,
+ version,
+ members,
+ ACE_TRY_ENV
+ );
+}
+
+template <class T> ACE_INLINE
+CORBA::AliasDef_ptr POA_CORBA::Container_tie<T>::create_alias (
+ const char * id,
+ const char * name,
+ const char * version,
+ CORBA::IDLType_ptr original_type,
+ CORBA::Environment &ACE_TRY_ENV
+ )
+ ACE_THROW_SPEC ((
+ CORBA::SystemException
+ ))
+{
+ return this->ptr_->create_alias (
+id,
+ name,
+ version,
+ original_type,
+ ACE_TRY_ENV
+ );
+}
+
+template <class T> ACE_INLINE
+CORBA::InterfaceDef_ptr POA_CORBA::Container_tie<T>::create_interface (
+ const char * id,
+ const char * name,
+ const char * version,
+ const CORBA::InterfaceDefSeq & base_interfaces,
+ CORBA::Environment &ACE_TRY_ENV
+ )
+ ACE_THROW_SPEC ((
+ CORBA::SystemException
+ ))
+{
+ return this->ptr_->create_interface (
+id,
+ name,
+ version,
+ base_interfaces,
+ ACE_TRY_ENV
+ );
+}
+
+template <class T> ACE_INLINE
+CORBA::ValueDef_ptr POA_CORBA::Container_tie<T>::create_value (
+ const char * id,
+ const char * name,
+ const char * version,
+ CORBA::Boolean is_custom,
+ CORBA::Boolean is_abstract,
+ CORBA::ValueDef_ptr base_value,
+ CORBA::Boolean is_truncatable,
+ const CORBA::ValueDefSeq & abstract_base_values,
+ const CORBA::InterfaceDefSeq & supported_interfaces,
+ const CORBA::InitializerSeq & initializers,
+ CORBA::Environment &ACE_TRY_ENV
+ )
+ ACE_THROW_SPEC ((
+ CORBA::SystemException
+ ))
+{
+ return this->ptr_->create_value (
+id,
+ name,
+ version,
+ is_custom,
+ is_abstract,
+ base_value,
+ is_truncatable,
+ abstract_base_values,
+ supported_interfaces,
+ initializers,
+ ACE_TRY_ENV
+ );
+}
+
+template <class T> ACE_INLINE
+CORBA::ValueBoxDef_ptr POA_CORBA::Container_tie<T>::create_value_box (
+ const char * id,
+ const char * name,
+ const char * version,
+ CORBA::IDLType_ptr original_type_def,
+ CORBA::Environment &ACE_TRY_ENV
+ )
+ ACE_THROW_SPEC ((
+ CORBA::SystemException
+ ))
+{
+ return this->ptr_->create_value_box (
+id,
+ name,
+ version,
+ original_type_def,
+ ACE_TRY_ENV
+ );
+}
+
+template <class T> ACE_INLINE
+CORBA::ExceptionDef_ptr POA_CORBA::Container_tie<T>::create_exception (
+ const char * id,
+ const char * name,
+ const char * version,
+ const CORBA::StructMemberSeq & members,
+ CORBA::Environment &ACE_TRY_ENV
+ )
+ ACE_THROW_SPEC ((
+ CORBA::SystemException
+ ))
+{
+ return this->ptr_->create_exception (
+id,
+ name,
+ version,
+ members,
+ ACE_TRY_ENV
+ );
+}
+
+template <class T> ACE_INLINE
+CORBA::NativeDef_ptr POA_CORBA::Container_tie<T>::create_native (
+ const char * id,
+ const char * name,
+ const char * version,
+ CORBA::Environment &ACE_TRY_ENV
+ )
+ ACE_THROW_SPEC ((
+ CORBA::SystemException
+ ))
+{
+ return this->ptr_->create_native (
+id,
+ name,
+ version,
+ ACE_TRY_ENV
+ );
+}
+
+template <class T> ACE_INLINE
+CORBA::AbstractInterfaceDef_ptr POA_CORBA::Container_tie<T>::create_abstract_interface (
+ const char * id,
+ const char * name,
+ const char * version,
+ const CORBA::AbstractInterfaceDefSeq & base_interfaces,
+ CORBA::Environment &ACE_TRY_ENV
+ )
+ ACE_THROW_SPEC ((
+ CORBA::SystemException
+ ))
+{
+ return this->ptr_->create_abstract_interface (
+id,
+ name,
+ version,
+ base_interfaces,
+ ACE_TRY_ENV
+ );
+}
+
+template <class T> ACE_INLINE
+CORBA::LocalInterfaceDef_ptr POA_CORBA::Container_tie<T>::create_local_interface (
+ const char * id,
+ const char * name,
+ const char * version,
+ const CORBA::InterfaceDefSeq & base_interfaces,
+ CORBA::Environment &ACE_TRY_ENV
+ )
+ ACE_THROW_SPEC ((
+ CORBA::SystemException
+ ))
+{
+ return this->ptr_->create_local_interface (
+id,
+ name,
+ version,
+ base_interfaces,
+ ACE_TRY_ENV
+ );
+}
+
+template <class T> ACE_INLINE
+CORBA::DefinitionKind POA_CORBA::Container_tie<T>::def_kind (
+ CORBA::Environment &ACE_TRY_ENV
+ )
+ ACE_THROW_SPEC ((
+ CORBA::SystemException
+ ))
+{
+ return this->ptr_->def_kind (
+ACE_TRY_ENV
+ );
+}
+
+template <class T> ACE_INLINE
+void POA_CORBA::Container_tie<T>::destroy (
+ CORBA::Environment &ACE_TRY_ENV
+ )
+ ACE_THROW_SPEC ((
+ CORBA::SystemException
+ ))
+{
+ this->ptr_->destroy (
+ACE_TRY_ENV
+ );
+}
+
+#endif /* ACE_HAS_USING_KEYWORD */
+
+#if defined (ACE_HAS_USING_KEYWORD)
+template <class T> ACE_INLINE
+POA_CORBA::IDLType_tie<T>::IDLType_tie (T &t)
+ : ptr_ (&t),
+ poa_ (PortableServer::POA::_nil ()),
+ rel_ (0)
+{}
+
+template <class T> ACE_INLINE
+POA_CORBA::IDLType_tie<T>::IDLType_tie (T &t, PortableServer::POA_ptr poa)
+ : ptr_ (&t),
+ poa_ (PortableServer::POA::_duplicate (poa)),
+ rel_ (0)
+{}
+
+template <class T> ACE_INLINE
+POA_CORBA::IDLType_tie<T>::IDLType_tie (T *tp, CORBA::Boolean release)
+ : ptr_ (tp),
+ poa_ (PortableServer::POA::_nil ()),
+ rel_ (release)
+{}
+
+template <class T> ACE_INLINE
+POA_CORBA::IDLType_tie<T>::IDLType_tie (T *tp, PortableServer::POA_ptr poa, CORBA::Boolean release)
+ : ptr_ (tp),
+ poa_ (PortableServer::POA::_duplicate (poa)),
+ rel_ (release)
+{}
+
+template <class T> ACE_INLINE
+POA_CORBA::IDLType_tie<T>::~IDLType_tie (void)
+{
+ if (this->rel_) delete this->ptr_;
+}
+
+template <class T> ACE_INLINE T *
+POA_CORBA::IDLType_tie<T>::_tied_object (void)
+{
+ return this->ptr_;
+}
+
+template <class T> ACE_INLINE void
+POA_CORBA::IDLType_tie<T>::_tied_object (T &obj)
+{
+ if (this->rel_) delete this->ptr_;
+ this->ptr_ = &obj;
+ this->rel_ = 0;
+}
+
+template <class T> ACE_INLINE void
+POA_CORBA::IDLType_tie<T>::_tied_object (T *obj, CORBA::Boolean release)
+{
+ if (this->rel_) delete this->ptr_;
+ this->ptr_ = obj;
+ this->rel_ = release;
+}
+
+template <class T> ACE_INLINE CORBA::Boolean
+POA_CORBA::IDLType_tie<T>::_is_owner (void)
+{
+ return this->rel_;
+}
+
+template <class T> ACE_INLINE void
+POA_CORBA::IDLType_tie<T>::_is_owner (CORBA::Boolean b)
+{
+ this->rel_ = b;
+}
+
+template <class T> ACE_INLINE PortableServer::POA_ptr
+POA_CORBA::IDLType_tie<T>::_default_POA (CORBA::Environment &ACE_TRY_ENV)
+{
+ if (!CORBA::is_nil (this->poa_.in ()))
+ return PortableServer::POA::_duplicate (this->poa_.in ());
+
+ return this->IDLType::_default_POA (ACE_TRY_ENV);
+}
+
+template <class T> ACE_INLINE
+CORBA::TypeCode_ptr POA_CORBA::IDLType_tie<T>::type (
+ CORBA::Environment &ACE_TRY_ENV
+ )
+ ACE_THROW_SPEC ((
+ CORBA::SystemException
+ ))
+{
+ return this->ptr_->type (
+ACE_TRY_ENV
+ );
+}
+
+template <class T> ACE_INLINE
+CORBA::DefinitionKind POA_CORBA::IDLType_tie<T>::def_kind (
+ CORBA::Environment &ACE_TRY_ENV
+ )
+ ACE_THROW_SPEC ((
+ CORBA::SystemException
+ ))
+{
+ return this->ptr_->def_kind (
+ACE_TRY_ENV
+ );
+}
+
+template <class T> ACE_INLINE
+void POA_CORBA::IDLType_tie<T>::destroy (
+ CORBA::Environment &ACE_TRY_ENV
+ )
+ ACE_THROW_SPEC ((
+ CORBA::SystemException
+ ))
+{
+ this->ptr_->destroy (
+ACE_TRY_ENV
+ );
+}
+
+#endif /* ACE_HAS_USING_KEYWORD */
+
+#if defined (ACE_HAS_USING_KEYWORD)
+template <class T> ACE_INLINE
+POA_CORBA::TypedefDef_tie<T>::TypedefDef_tie (T &t)
+ : ptr_ (&t),
+ poa_ (PortableServer::POA::_nil ()),
+ rel_ (0)
+{}
+
+template <class T> ACE_INLINE
+POA_CORBA::TypedefDef_tie<T>::TypedefDef_tie (T &t, PortableServer::POA_ptr poa)
+ : ptr_ (&t),
+ poa_ (PortableServer::POA::_duplicate (poa)),
+ rel_ (0)
+{}
+
+template <class T> ACE_INLINE
+POA_CORBA::TypedefDef_tie<T>::TypedefDef_tie (T *tp, CORBA::Boolean release)
+ : ptr_ (tp),
+ poa_ (PortableServer::POA::_nil ()),
+ rel_ (release)
+{}
+
+template <class T> ACE_INLINE
+POA_CORBA::TypedefDef_tie<T>::TypedefDef_tie (T *tp, PortableServer::POA_ptr poa, CORBA::Boolean release)
+ : ptr_ (tp),
+ poa_ (PortableServer::POA::_duplicate (poa)),
+ rel_ (release)
+{}
+
+template <class T> ACE_INLINE
+POA_CORBA::TypedefDef_tie<T>::~TypedefDef_tie (void)
+{
+ if (this->rel_) delete this->ptr_;
+}
+
+template <class T> ACE_INLINE T *
+POA_CORBA::TypedefDef_tie<T>::_tied_object (void)
+{
+ return this->ptr_;
+}
+
+template <class T> ACE_INLINE void
+POA_CORBA::TypedefDef_tie<T>::_tied_object (T &obj)
+{
+ if (this->rel_) delete this->ptr_;
+ this->ptr_ = &obj;
+ this->rel_ = 0;
+}
+
+template <class T> ACE_INLINE void
+POA_CORBA::TypedefDef_tie<T>::_tied_object (T *obj, CORBA::Boolean release)
+{
+ if (this->rel_) delete this->ptr_;
+ this->ptr_ = obj;
+ this->rel_ = release;
+}
+
+template <class T> ACE_INLINE CORBA::Boolean
+POA_CORBA::TypedefDef_tie<T>::_is_owner (void)
+{
+ return this->rel_;
+}
+
+template <class T> ACE_INLINE void
+POA_CORBA::TypedefDef_tie<T>::_is_owner (CORBA::Boolean b)
+{
+ this->rel_ = b;
+}
+
+template <class T> ACE_INLINE PortableServer::POA_ptr
+POA_CORBA::TypedefDef_tie<T>::_default_POA (CORBA::Environment &ACE_TRY_ENV)
+{
+ if (!CORBA::is_nil (this->poa_.in ()))
+ return PortableServer::POA::_duplicate (this->poa_.in ());
+
+ return this->TypedefDef::_default_POA (ACE_TRY_ENV);
+}
+
+template <class T> ACE_INLINE
+char * POA_CORBA::TypedefDef_tie<T>::id (
+ CORBA::Environment &ACE_TRY_ENV
+ )
+ ACE_THROW_SPEC ((
+ CORBA::SystemException
+ ))
+{
+ return this->ptr_->id (
+ACE_TRY_ENV
+ );
+}
+
+template <class T> ACE_INLINE
+void POA_CORBA::TypedefDef_tie<T>::id (
+ const char * id,
+ CORBA::Environment &ACE_TRY_ENV
+ )
+ ACE_THROW_SPEC ((
+ CORBA::SystemException
+ ))
+{
+ this->ptr_->id (
+id,
+ ACE_TRY_ENV
+ );
+}
+
+template <class T> ACE_INLINE
+char * POA_CORBA::TypedefDef_tie<T>::name (
+ CORBA::Environment &ACE_TRY_ENV
+ )
+ ACE_THROW_SPEC ((
+ CORBA::SystemException
+ ))
+{
+ return this->ptr_->name (
+ACE_TRY_ENV
+ );
+}
+
+template <class T> ACE_INLINE
+void POA_CORBA::TypedefDef_tie<T>::name (
+ const char * name,
+ CORBA::Environment &ACE_TRY_ENV
+ )
+ ACE_THROW_SPEC ((
+ CORBA::SystemException
+ ))
+{
+ this->ptr_->name (
+name,
+ ACE_TRY_ENV
+ );
+}
+
+template <class T> ACE_INLINE
+char * POA_CORBA::TypedefDef_tie<T>::version (
+ CORBA::Environment &ACE_TRY_ENV
+ )
+ ACE_THROW_SPEC ((
+ CORBA::SystemException
+ ))
+{
+ return this->ptr_->version (
+ACE_TRY_ENV
+ );
+}
+
+template <class T> ACE_INLINE
+void POA_CORBA::TypedefDef_tie<T>::version (
+ const char * version,
+ CORBA::Environment &ACE_TRY_ENV
+ )
+ ACE_THROW_SPEC ((
+ CORBA::SystemException
+ ))
+{
+ this->ptr_->version (
+version,
+ ACE_TRY_ENV
+ );
+}
+
+template <class T> ACE_INLINE
+CORBA::Container_ptr POA_CORBA::TypedefDef_tie<T>::defined_in (
+ CORBA::Environment &ACE_TRY_ENV
+ )
+ ACE_THROW_SPEC ((
+ CORBA::SystemException
+ ))
+{
+ return this->ptr_->defined_in (
+ACE_TRY_ENV
+ );
+}
+
+template <class T> ACE_INLINE
+char * POA_CORBA::TypedefDef_tie<T>::absolute_name (
+ CORBA::Environment &ACE_TRY_ENV
+ )
+ ACE_THROW_SPEC ((
+ CORBA::SystemException
+ ))
+{
+ return this->ptr_->absolute_name (
+ACE_TRY_ENV
+ );
+}
+
+template <class T> ACE_INLINE
+CORBA::Repository_ptr POA_CORBA::TypedefDef_tie<T>::containing_repository (
+ CORBA::Environment &ACE_TRY_ENV
+ )
+ ACE_THROW_SPEC ((
+ CORBA::SystemException
+ ))
+{
+ return this->ptr_->containing_repository (
+ACE_TRY_ENV
+ );
+}
+
+template <class T> ACE_INLINE
+CORBA::Contained::Description * POA_CORBA::TypedefDef_tie<T>::describe (
+ CORBA::Environment &ACE_TRY_ENV
+ )
+ ACE_THROW_SPEC ((
+ CORBA::SystemException
+ ))
+{
+ return this->ptr_->describe (
+ACE_TRY_ENV
+ );
+}
+
+template <class T> ACE_INLINE
+void POA_CORBA::TypedefDef_tie<T>::move (
+ CORBA::Container_ptr new_container,
+ const char * new_name,
+ const char * new_version,
+ CORBA::Environment &ACE_TRY_ENV
+ )
+ ACE_THROW_SPEC ((
+ CORBA::SystemException
+ ))
+{
+ this->ptr_->move (
+new_container,
+ new_name,
+ new_version,
+ ACE_TRY_ENV
+ );
+}
+
+template <class T> ACE_INLINE
+CORBA::TypeCode_ptr POA_CORBA::TypedefDef_tie<T>::type (
+ CORBA::Environment &ACE_TRY_ENV
+ )
+ ACE_THROW_SPEC ((
+ CORBA::SystemException
+ ))
+{
+ return this->ptr_->type (
+ACE_TRY_ENV
+ );
+}
+
+template <class T> ACE_INLINE
+CORBA::DefinitionKind POA_CORBA::TypedefDef_tie<T>::def_kind (
+ CORBA::Environment &ACE_TRY_ENV
+ )
+ ACE_THROW_SPEC ((
+ CORBA::SystemException
+ ))
+{
+ return this->ptr_->def_kind (
+ACE_TRY_ENV
+ );
+}
+
+template <class T> ACE_INLINE
+void POA_CORBA::TypedefDef_tie<T>::destroy (
+ CORBA::Environment &ACE_TRY_ENV
+ )
+ ACE_THROW_SPEC ((
+ CORBA::SystemException
+ ))
+{
+ this->ptr_->destroy (
+ACE_TRY_ENV
+ );
+}
+
+#endif /* ACE_HAS_USING_KEYWORD */
diff --git a/TAO/orbsvcs/IFR_Service/IFR_BasicS.cpp b/TAO/orbsvcs/IFR_Service/IFR_BasicS.cpp
new file mode 100644
index 00000000000..a0a00fe93b1
--- /dev/null
+++ b/TAO/orbsvcs/IFR_Service/IFR_BasicS.cpp
@@ -0,0 +1,19809 @@
+// -*- C++ -*-
+//
+// $Id$
+
+// **** Code generated by the The ACE ORB (TAO) IDL Compiler ****
+// TAO and the TAO IDL Compiler have been developed by:
+// Center for Distributed Object Computing
+// Washington University
+// St. Louis, MO
+// USA
+// http://www.cs.wustl.edu/~schmidt/doc-center.html
+// and
+// Distributed Object Computing Laboratory
+// University of California at Irvine
+// Irvine, CA
+// USA
+// http://doc.ece.uci.edu/
+//
+// Information about TAO is available at:
+// http://www.cs.wustl.edu/~schmidt/TAO.html
+
+#ifndef TAO_IDL_IFR_BASICS_CPP
+#define TAO_IDL_IFR_BASICS_CPP
+
+#include "IFR_BasicS.h"
+
+#if TAO_HAS_INTERCEPTORS == 1
+#include "tao/RequestInfo_Util.h"
+#endif /* TAO_HAS_INTERCEPTORS == 1 */
+
+#if defined (__BORLANDC__)
+#pragma option -w-rvl -w-rch -w-ccc -w-aus
+#endif /* __BORLANDC__ */
+
+#if !defined (__ACE_INLINE__)
+#include "IFR_BasicS.i"
+#endif /* !defined INLINE */
+
+class TAO_CORBA_Repository_Perfect_Hash_OpTable : public TAO_Perfect_Hash_OpTable
+{
+private:
+ unsigned int hash (const char *str, unsigned int len);
+public:
+ const TAO_operation_db_entry * lookup (const char *str, unsigned int len);
+};
+/* starting time is 10:44:37 */
+/* C++ code produced by gperf version 2.8 (ACE version) */
+/* Command-line: gperf -m -M -J -c -C -D -E -T -f 0 -F 0 -a -o -t -p -K opname_ -L C++ -Z TAO_CORBA_Repository_Perfect_Hash_OpTable -N lookup */
+unsigned int
+TAO_CORBA_Repository_Perfect_Hash_OpTable::hash (const char *str, unsigned int len)
+{
+ static const unsigned char asso_values[] =
+ {
+#if defined (ACE_MVS)
+ 52, 52, 52, 52, 52, 52, 52, 52, 52, 52,
+ 52, 52, 52, 52, 52, 52, 52, 52, 52, 52,
+ 52, 52, 52, 52, 52, 52, 52, 52, 52, 52,
+ 52, 52, 52, 52, 52, 52, 52, 52, 52, 52,
+ 52, 52, 52, 52, 52, 52, 52, 52, 52, 52,
+ 52, 52, 52, 52, 52, 52, 52, 52, 52, 52,
+ 52, 52, 52, 52, 52, 52, 52, 52, 52, 52,
+ 52, 52, 52, 52, 52, 52, 52, 52, 52, 52,
+ 52, 52, 52, 52, 52, 52, 52, 52, 52, 52,
+ 52, 52, 52, 52, 52, 52, 52, 52, 52, 52,
+ 52, 52, 52, 52, 52, 52, 52, 52, 52, 30,
+ 52, 52, 52, 52, 52, 52, 52, 52, 52, 52,
+ 52, 52, 52, 52, 52, 52, 52, 52, 52, 5,
+ 52, 0, 4, 10, 52, 5, 52, 52, 52, 52,
+ 52, 52, 52, 52, 52, 52, 52, 8, 30, 15,
+ 52, 0, 52, 52, 52, 52, 52, 52, 52, 52,
+ 52, 52, 30, 0, 52, 52, 52, 20, 0, 52,
+ 52, 52, 52, 52, 52, 52, 52, 52, 52, 52,
+ 52, 52, 52, 52, 52, 52, 52, 52, 52, 52,
+ 52, 52, 52, 52, 52, 52, 52, 52, 52, 52,
+ 52, 52, 52, 52, 52, 52, 52, 52, 52, 52,
+ 52, 52, 52, 52, 52, 52, 52, 52, 52, 52,
+ 52, 52, 52, 52, 52, 52, 52, 52, 52, 52,
+ 52, 52, 52, 52, 52, 52, 52, 52, 52, 52,
+ 52, 52, 52, 52, 52, 52, 52, 52, 52, 52,
+ 52, 52, 52, 52, 52, 52,
+#else
+ 52, 52, 52, 52, 52, 52, 52, 52, 52, 52,
+ 52, 52, 52, 52, 52, 52, 52, 52, 52, 52,
+ 52, 52, 52, 52, 52, 52, 52, 52, 52, 52,
+ 52, 52, 52, 52, 52, 52, 52, 52, 52, 52,
+ 52, 52, 52, 52, 52, 52, 52, 52, 52, 52,
+ 52, 52, 52, 52, 52, 52, 52, 52, 52, 52,
+ 52, 52, 52, 52, 52, 52, 52, 52, 52, 52,
+ 52, 52, 52, 52, 52, 52, 52, 52, 52, 52,
+ 52, 52, 52, 52, 52, 52, 52, 52, 52, 52,
+ 52, 52, 52, 52, 52, 30, 52, 5, 52, 0,
+ 4, 10, 52, 5, 52, 52, 52, 52, 8, 30,
+ 15, 52, 0, 52, 52, 30, 0, 52, 52, 52,
+ 20, 0, 52, 52, 52, 52, 52, 52,
+#endif /* ACE_MVS */
+ };
+ return len + asso_values[str[len - 1]] + asso_values[str[0]];
+}
+
+const class TAO_operation_db_entry *
+TAO_CORBA_Repository_Perfect_Hash_OpTable::lookup (const char *str, unsigned int len)
+{
+ enum
+ {
+ TOTAL_KEYWORDS = 29,
+ MIN_WORD_LENGTH = 5,
+ MAX_WORD_LENGTH = 25,
+ MIN_HASH_VALUE = 11,
+ MAX_HASH_VALUE = 51,
+ HASH_VALUE_RANGE = 41,
+ DUPLICATES = 2
+ };
+
+ static const class TAO_operation_db_entry wordlist[] =
+ {
+ {"",0},{"",0},{"",0},{"",0},{"",0},{"",0},{"",0},{"",0},{"",0},
+ {"",0},{"",0},
+ {"destroy", &POA_CORBA::Repository::destroy_skel},
+ {"create_array", &POA_CORBA::Repository::create_array_skel},
+ {"create_struct", &POA_CORBA::Repository::create_struct_skel},
+ {"lookup", &POA_CORBA::Repository::lookup_skel},
+ {"create_constant", &POA_CORBA::Repository::create_constant_skel},
+ {"create_fixed", &POA_CORBA::Repository::create_fixed_skel},
+ {"create_string", &POA_CORBA::Repository::create_string_skel},
+ {"create_wstring", &POA_CORBA::Repository::create_wstring_skel},
+ {"lookup_id", &POA_CORBA::Repository::lookup_id_skel},
+ {"create_value", &POA_CORBA::Repository::create_value_skel},
+ {"create_module", &POA_CORBA::Repository::create_module_skel},
+ {"create_native", &POA_CORBA::Repository::create_native_skel},
+ {"create_sequence", &POA_CORBA::Repository::create_sequence_skel},
+ {"create_interface", &POA_CORBA::Repository::create_interface_skel},
+ {"create_union", &POA_CORBA::Repository::create_union_skel},
+ {"get_primitive", &POA_CORBA::Repository::get_primitive_skel},
+ {"lookup_name", &POA_CORBA::Repository::lookup_name_skel},
+ {"create_exception", &POA_CORBA::Repository::create_exception_skel},
+ {"create_local_interface", &POA_CORBA::Repository::create_local_interface_skel},
+ {"create_abstract_interface", &POA_CORBA::Repository::create_abstract_interface_skel},
+ {"create_value_box", &POA_CORBA::Repository::create_value_box_skel},
+ {"get_canonical_typecode", &POA_CORBA::Repository::get_canonical_typecode_skel},
+ {"contents", &POA_CORBA::Repository::contents_skel},
+ {"_is_a", &POA_CORBA::Repository::_is_a_skel},
+ {"create_enum", &POA_CORBA::Repository::create_enum_skel},
+ {"create_alias", &POA_CORBA::Repository::create_alias_skel},
+ {"_non_existent", &POA_CORBA::Repository::_non_existent_skel},
+ {"_get_def_kind", &POA_CORBA::Repository::_get_def_kind_skel},
+ {"describe_contents", &POA_CORBA::Repository::describe_contents_skel},
+ };
+
+ static const signed char lookup[] =
+ {
+ -1, -1, -1, -1, -1, -1, -1, -1, -1, -21, -2, 11, 12, 13,
+ 14, 15, 16, -1, 17, 18, -1, 19, 20, -65, -1, 23, 24, 25,
+ 26, 27, -1, 28, 29, -1, -1, 30, 31, 32, 33, -1, 34, 35,
+ 36, 37, -1, -1, -1, 38, -1, -1, -1, 39,
+ };
+
+ if (len <= MAX_WORD_LENGTH && len >= MIN_WORD_LENGTH)
+ {
+ unsigned int key = hash (str, len);
+
+ if (key <= MAX_HASH_VALUE && key >= MIN_HASH_VALUE)
+ {
+ int slot = lookup[key];
+
+ if (slot >= 0 && slot < MAX_HASH_VALUE)
+ {
+ const char *s = wordlist[slot].opname_;
+
+ if (*str == *s && !strncmp (str + 1, s + 1, len - 1))
+ return &wordlist[slot];
+ }
+ else if (slot < 0 && slot >= -MAX_HASH_VALUE)
+ return 0;
+ else
+ {
+ unsigned int offset = key + slot + (slot > 0 ? -MAX_HASH_VALUE : MAX_HASH_VALUE);
+ const class TAO_operation_db_entry *base = &wordlist[-lookup[offset]];
+ const class TAO_operation_db_entry *ptr = base + -lookup[offset + 1];
+
+ while (--ptr >= base)
+ if (*str == *ptr->opname_ && !strncmp (str + 1, ptr->opname_ + 1, len - 1))
+ return ptr;
+ }
+ }
+ }
+ return 0;
+}
+/* ending time is 10:44:37 */
+static TAO_CORBA_Repository_Perfect_Hash_OpTable tao_CORBA_Repository_optable;
+
+
+///////////////////////////////////////////////////////////////////////
+// Strategized Proxy Broker Implementation
+//
+
+// Factory function Implementation.
+POA_CORBA::_TAO_Repository_Strategized_Proxy_Broker *POA_CORBA::_TAO_Repository_Strategized_Proxy_Broker::the_TAO_Repository_Strategized_Proxy_Broker (void)
+{
+ static POA_CORBA::_TAO_Repository_Strategized_Proxy_Broker strategized_proxy_broker;
+ return &strategized_proxy_broker;
+}
+
+POA_CORBA::_TAO_Repository_Strategized_Proxy_Broker::_TAO_Repository_Strategized_Proxy_Broker (void)
+{
+ for (int i = 0; i < TAO_Collocation_Strategies::CS_LAST; ++i)
+ this->proxy_cache_[i] = 0;
+
+}
+
+POA_CORBA::_TAO_Repository_Strategized_Proxy_Broker::~_TAO_Repository_Strategized_Proxy_Broker (void)
+{
+ for (int i = 0; i < TAO_Collocation_Strategies::CS_LAST; ++i)
+ delete this->proxy_cache_[i];
+
+}
+
+_TAO_Repository_Proxy_Impl&
+POA_CORBA::_TAO_Repository_Strategized_Proxy_Broker::select_proxy (
+ ::CORBA::Repository *object,
+ CORBA::Environment &ACE_TRY_ENV
+ )
+{
+ int strategy =
+ TAO_ORB_Core::collocation_strategy (object);
+
+ if (this->proxy_cache_[strategy] != 0)
+ return *this->proxy_cache_[strategy];
+
+ this->create_proxy (strategy, ACE_TRY_ENV);
+ ACE_CHECK_RETURN (*this->proxy_cache_[strategy]);
+
+ return *this->proxy_cache_[strategy];
+
+}
+
+void
+POA_CORBA::_TAO_Repository_Strategized_Proxy_Broker::create_proxy (
+ int strategy,
+ CORBA::Environment &ACE_TRY_ENV
+ )
+{
+ ACE_GUARD (TAO_SYNCH_MUTEX, guard, this->mutex_);
+
+ if (this->proxy_cache_[strategy] == 0)
+ {
+ switch (strategy)
+ {
+ case TAO_Collocation_Strategies::CS_THRU_POA_STRATEGY:
+ ACE_NEW_THROW_EX (
+ this->proxy_cache_[strategy],
+ _TAO_Repository_ThruPOA_Proxy_Impl,
+ CORBA::NO_MEMORY ()
+ );
+ ACE_CHECK;
+ break;
+
+ case TAO_Collocation_Strategies::CS_REMOTE_STRATEGY:
+ default:
+ ACE_NEW_THROW_EX (
+ this->proxy_cache_[strategy],
+ ::_TAO_Repository_Remote_Proxy_Impl,
+ CORBA::NO_MEMORY ()
+ );
+ ACE_CHECK;
+ break;
+
+ }
+
+ }
+}
+
+
+//
+// End Strategized Proxy Broker Implementation
+///////////////////////////////////////////////////////////////////////
+
+
+_TAO_Repository_Proxy_Broker *
+CORBA__TAO_Repository_Proxy_Broker_Factory_function (CORBA::Object_ptr obj)
+{
+ ACE_UNUSED_ARG (obj);
+ return ::POA_CORBA::_TAO_Repository_Strategized_Proxy_Broker::the_TAO_Repository_Strategized_Proxy_Broker();
+}
+
+int
+CORBA__TAO_Repository_Proxy_Broker_Factory_Initializer (long _dummy_)
+{
+ ACE_UNUSED_ARG (_dummy_);
+
+ CORBA__TAO_Repository_Proxy_Broker_Factory_function_pointer =
+ CORBA__TAO_Repository_Proxy_Broker_Factory_function;
+
+ return 0;
+}
+
+static int CORBA__TAO_Repository_Proxy_Broker_Stub_Factory_Initializer_Scarecrow =
+ CORBA__TAO_Repository_Proxy_Broker_Factory_Initializer (ACE_reinterpret_cast (long, CORBA__TAO_Repository_Proxy_Broker_Factory_Initializer));
+
+
+///////////////////////////////////////////////////////////////////////
+// ThruPOA Proxy Implementation
+//
+
+POA_CORBA::_TAO_Repository_ThruPOA_Proxy_Impl::_TAO_Repository_ThruPOA_Proxy_Impl (void)
+{}
+
+// ThruPOA Implementation of the IDL interface methods
+
+CORBA::Contained_ptr POA_CORBA::_TAO_Repository_ThruPOA_Proxy_Impl::lookup_id (
+ CORBA_Object *_collocated_tao_target_,
+ const char * search_id,
+ CORBA::Environment &ACE_TRY_ENV
+ )
+ ACE_THROW_SPEC ((
+ CORBA::SystemException
+ ))
+{
+ CORBA::Contained_var _tao_retval;
+ ACE_UNUSED_ARG (_tao_retval);
+ TAO_Object_Adapter::Servant_Upcall servant_upcall (
+ _collocated_tao_target_->_stubobj ()->servant_orb_var ()->orb_core ()
+ );
+ CORBA::Object_var forward_to;
+ servant_upcall.prepare_for_upcall (
+ _collocated_tao_target_->_object_key (),
+ "lookup_id",
+ forward_to.out (),
+ ACE_TRY_ENV
+ );
+ ACE_CHECK_RETURN (0);
+ return ACE_reinterpret_cast (
+ POA_CORBA::Repository_ptr,
+ servant_upcall.servant ()->_downcast (
+ "IDL:omg.org/CORBA/Repository:1.0"
+ )
+ )->lookup_id (
+ search_id,
+ ACE_TRY_ENV
+ );
+}
+
+CORBA::TypeCode_ptr POA_CORBA::_TAO_Repository_ThruPOA_Proxy_Impl::get_canonical_typecode (
+ CORBA_Object *_collocated_tao_target_,
+ CORBA::TypeCode_ptr tc,
+ CORBA::Environment &ACE_TRY_ENV
+ )
+ ACE_THROW_SPEC ((
+ CORBA::SystemException
+ ))
+{
+ CORBA::TypeCode_var _tao_retval;
+ ACE_UNUSED_ARG (_tao_retval);
+ TAO_Object_Adapter::Servant_Upcall servant_upcall (
+ _collocated_tao_target_->_stubobj ()->servant_orb_var ()->orb_core ()
+ );
+ CORBA::Object_var forward_to;
+ servant_upcall.prepare_for_upcall (
+ _collocated_tao_target_->_object_key (),
+ "get_canonical_typecode",
+ forward_to.out (),
+ ACE_TRY_ENV
+ );
+ ACE_CHECK_RETURN (0);
+ return ACE_reinterpret_cast (
+ POA_CORBA::Repository_ptr,
+ servant_upcall.servant ()->_downcast (
+ "IDL:omg.org/CORBA/Repository:1.0"
+ )
+ )->get_canonical_typecode (
+ tc,
+ ACE_TRY_ENV
+ );
+}
+
+CORBA::PrimitiveDef_ptr POA_CORBA::_TAO_Repository_ThruPOA_Proxy_Impl::get_primitive (
+ CORBA_Object *_collocated_tao_target_,
+ CORBA::PrimitiveKind kind,
+ CORBA::Environment &ACE_TRY_ENV
+ )
+ ACE_THROW_SPEC ((
+ CORBA::SystemException
+ ))
+{
+ CORBA::PrimitiveDef_var _tao_retval;
+ ACE_UNUSED_ARG (_tao_retval);
+ TAO_Object_Adapter::Servant_Upcall servant_upcall (
+ _collocated_tao_target_->_stubobj ()->servant_orb_var ()->orb_core ()
+ );
+ CORBA::Object_var forward_to;
+ servant_upcall.prepare_for_upcall (
+ _collocated_tao_target_->_object_key (),
+ "get_primitive",
+ forward_to.out (),
+ ACE_TRY_ENV
+ );
+ ACE_CHECK_RETURN (0);
+ return ACE_reinterpret_cast (
+ POA_CORBA::Repository_ptr,
+ servant_upcall.servant ()->_downcast (
+ "IDL:omg.org/CORBA/Repository:1.0"
+ )
+ )->get_primitive (
+ kind,
+ ACE_TRY_ENV
+ );
+}
+
+CORBA::StringDef_ptr POA_CORBA::_TAO_Repository_ThruPOA_Proxy_Impl::create_string (
+ CORBA_Object *_collocated_tao_target_,
+ CORBA::ULong bound,
+ CORBA::Environment &ACE_TRY_ENV
+ )
+ ACE_THROW_SPEC ((
+ CORBA::SystemException
+ ))
+{
+ CORBA::StringDef_var _tao_retval;
+ ACE_UNUSED_ARG (_tao_retval);
+ TAO_Object_Adapter::Servant_Upcall servant_upcall (
+ _collocated_tao_target_->_stubobj ()->servant_orb_var ()->orb_core ()
+ );
+ CORBA::Object_var forward_to;
+ servant_upcall.prepare_for_upcall (
+ _collocated_tao_target_->_object_key (),
+ "create_string",
+ forward_to.out (),
+ ACE_TRY_ENV
+ );
+ ACE_CHECK_RETURN (0);
+ return ACE_reinterpret_cast (
+ POA_CORBA::Repository_ptr,
+ servant_upcall.servant ()->_downcast (
+ "IDL:omg.org/CORBA/Repository:1.0"
+ )
+ )->create_string (
+ bound,
+ ACE_TRY_ENV
+ );
+}
+
+CORBA::WstringDef_ptr POA_CORBA::_TAO_Repository_ThruPOA_Proxy_Impl::create_wstring (
+ CORBA_Object *_collocated_tao_target_,
+ CORBA::ULong bound,
+ CORBA::Environment &ACE_TRY_ENV
+ )
+ ACE_THROW_SPEC ((
+ CORBA::SystemException
+ ))
+{
+ CORBA::WstringDef_var _tao_retval;
+ ACE_UNUSED_ARG (_tao_retval);
+ TAO_Object_Adapter::Servant_Upcall servant_upcall (
+ _collocated_tao_target_->_stubobj ()->servant_orb_var ()->orb_core ()
+ );
+ CORBA::Object_var forward_to;
+ servant_upcall.prepare_for_upcall (
+ _collocated_tao_target_->_object_key (),
+ "create_wstring",
+ forward_to.out (),
+ ACE_TRY_ENV
+ );
+ ACE_CHECK_RETURN (0);
+ return ACE_reinterpret_cast (
+ POA_CORBA::Repository_ptr,
+ servant_upcall.servant ()->_downcast (
+ "IDL:omg.org/CORBA/Repository:1.0"
+ )
+ )->create_wstring (
+ bound,
+ ACE_TRY_ENV
+ );
+}
+
+CORBA::SequenceDef_ptr POA_CORBA::_TAO_Repository_ThruPOA_Proxy_Impl::create_sequence (
+ CORBA_Object *_collocated_tao_target_,
+ CORBA::ULong bound,
+ CORBA::IDLType_ptr element_type,
+ CORBA::Environment &ACE_TRY_ENV
+ )
+ ACE_THROW_SPEC ((
+ CORBA::SystemException
+ ))
+{
+ CORBA::SequenceDef_var _tao_retval;
+ ACE_UNUSED_ARG (_tao_retval);
+ TAO_Object_Adapter::Servant_Upcall servant_upcall (
+ _collocated_tao_target_->_stubobj ()->servant_orb_var ()->orb_core ()
+ );
+ CORBA::Object_var forward_to;
+ servant_upcall.prepare_for_upcall (
+ _collocated_tao_target_->_object_key (),
+ "create_sequence",
+ forward_to.out (),
+ ACE_TRY_ENV
+ );
+ ACE_CHECK_RETURN (0);
+ return ACE_reinterpret_cast (
+ POA_CORBA::Repository_ptr,
+ servant_upcall.servant ()->_downcast (
+ "IDL:omg.org/CORBA/Repository:1.0"
+ )
+ )->create_sequence (
+ bound,
+ element_type,
+ ACE_TRY_ENV
+ );
+}
+
+CORBA::ArrayDef_ptr POA_CORBA::_TAO_Repository_ThruPOA_Proxy_Impl::create_array (
+ CORBA_Object *_collocated_tao_target_,
+ CORBA::ULong length,
+ CORBA::IDLType_ptr element_type,
+ CORBA::Environment &ACE_TRY_ENV
+ )
+ ACE_THROW_SPEC ((
+ CORBA::SystemException
+ ))
+{
+ CORBA::ArrayDef_var _tao_retval;
+ ACE_UNUSED_ARG (_tao_retval);
+ TAO_Object_Adapter::Servant_Upcall servant_upcall (
+ _collocated_tao_target_->_stubobj ()->servant_orb_var ()->orb_core ()
+ );
+ CORBA::Object_var forward_to;
+ servant_upcall.prepare_for_upcall (
+ _collocated_tao_target_->_object_key (),
+ "create_array",
+ forward_to.out (),
+ ACE_TRY_ENV
+ );
+ ACE_CHECK_RETURN (0);
+ return ACE_reinterpret_cast (
+ POA_CORBA::Repository_ptr,
+ servant_upcall.servant ()->_downcast (
+ "IDL:omg.org/CORBA/Repository:1.0"
+ )
+ )->create_array (
+ length,
+ element_type,
+ ACE_TRY_ENV
+ );
+}
+
+CORBA::FixedDef_ptr POA_CORBA::_TAO_Repository_ThruPOA_Proxy_Impl::create_fixed (
+ CORBA_Object *_collocated_tao_target_,
+ CORBA::UShort digits,
+ CORBA::Short scale,
+ CORBA::Environment &ACE_TRY_ENV
+ )
+ ACE_THROW_SPEC ((
+ CORBA::SystemException
+ ))
+{
+ CORBA::FixedDef_var _tao_retval;
+ ACE_UNUSED_ARG (_tao_retval);
+ TAO_Object_Adapter::Servant_Upcall servant_upcall (
+ _collocated_tao_target_->_stubobj ()->servant_orb_var ()->orb_core ()
+ );
+ CORBA::Object_var forward_to;
+ servant_upcall.prepare_for_upcall (
+ _collocated_tao_target_->_object_key (),
+ "create_fixed",
+ forward_to.out (),
+ ACE_TRY_ENV
+ );
+ ACE_CHECK_RETURN (0);
+ return ACE_reinterpret_cast (
+ POA_CORBA::Repository_ptr,
+ servant_upcall.servant ()->_downcast (
+ "IDL:omg.org/CORBA/Repository:1.0"
+ )
+ )->create_fixed (
+ digits,
+ scale,
+ ACE_TRY_ENV
+ );
+}
+
+//
+// End ThruPOA Proxy Implementation
+///////////////////////////////////////////////////////////////////////
+
+// skeleton constructor
+POA_CORBA::Repository::Repository (void)
+{
+ this->optable_ = &tao_CORBA_Repository_optable;
+}
+
+// copy ctor
+POA_CORBA::Repository::Repository (const Repository& rhs)
+ : ACE_NESTED_CLASS (POA_CORBA,Container) (rhs),
+ ACE_NESTED_CLASS (POA_CORBA,IRObject) (rhs),
+ TAO_ServantBase (rhs)
+{}
+
+// skeleton destructor
+POA_CORBA::Repository::~Repository (void)
+{
+}
+
+void POA_CORBA::Repository::lookup_id_skel (
+ TAO_ServerRequest &_tao_server_request,
+ void *_tao_object_reference,
+ void * /* context */,
+ CORBA::Environment &ACE_TRY_ENV
+ )
+{
+ TAO_InputCDR &_tao_in = _tao_server_request.incoming ();
+ POA_CORBA::Repository *_tao_impl = (POA_CORBA::Repository *)_tao_object_reference;
+
+ CORBA::Contained_var _tao_retval;
+ CORBA::String_var search_id;
+ if (!(
+ (_tao_in >> search_id.out ())
+ ))
+ ACE_THROW (CORBA::MARSHAL());
+
+
+#if (TAO_HAS_INTERCEPTORS == 1)
+ TAO_ServerRequestInterceptor_Adapter _tao_vfr (
+ _tao_server_request.orb_core ()->server_request_interceptors (),
+ _tao_server_request.interceptor_count ()
+ );
+
+ POA_CORBA::Repository::TAO_ServerRequestInfo_CORBA_Repository_lookup_id ri (
+ _tao_server_request,
+ _tao_impl,
+ search_id.in (),
+ ACE_TRY_ENV
+ );
+
+ ACE_TRY
+ {
+ _tao_vfr.receive_request (&ri, ACE_TRY_ENV);
+ ACE_TRY_CHECK;
+
+#endif /* TAO_HAS_INTERCEPTORS */
+ _tao_retval =
+ _tao_impl->lookup_id (
+ search_id.in (),
+ ACE_TRY_ENV
+ );
+ TAO_INTERCEPTOR_CHECK;
+
+#if (TAO_HAS_INTERCEPTORS == 1)
+ CORBA::Contained_ptr _tao_retval_info = _tao_retval._retn ();
+ ri.result (_tao_retval_info);
+ _tao_retval = _tao_retval_info;
+ ri.reply_status (PortableInterceptor::SUCCESSFUL);
+ _tao_vfr.send_reply (&ri, ACE_TRY_ENV);
+ ACE_TRY_CHECK;
+ }
+ ACE_CATCH (PortableInterceptor::ForwardRequest, exc)
+ {
+ ri.forward_reference (exc);
+ _tao_vfr.send_other (
+ &ri,
+ ACE_TRY_ENV
+ );
+ ACE_TRY_CHECK;
+ _tao_server_request.forward_location (exc.forward.in ());
+ }
+ ACE_CATCHANY
+ {
+ ri.exception (&ACE_ANY_EXCEPTION);
+ _tao_vfr.send_exception (
+ &ri,
+ ACE_TRY_ENV
+ );
+ ACE_TRY_CHECK;
+ ACE_RE_THROW;
+ }
+ ACE_ENDTRY;
+ ACE_CHECK;
+#endif /* TAO_HAS_INTERCEPTORS */
+
+ _tao_server_request.init_reply ();
+
+ TAO_OutputCDR &_tao_out = _tao_server_request.outgoing ();
+
+ if (!(
+ (_tao_out << _tao_retval.in ())
+ ))
+ ACE_THROW (CORBA::MARSHAL());
+
+ // In case ACE_TRY_ENV is not used in this function
+ ACE_UNUSED_ARG (ACE_TRY_ENV);
+}
+
+void POA_CORBA::Repository::get_canonical_typecode_skel (
+ TAO_ServerRequest &_tao_server_request,
+ void *_tao_object_reference,
+ void * /* context */,
+ CORBA::Environment &ACE_TRY_ENV
+ )
+{
+ TAO_InputCDR &_tao_in = _tao_server_request.incoming ();
+ POA_CORBA::Repository *_tao_impl = (POA_CORBA::Repository *)_tao_object_reference;
+
+ CORBA::TypeCode_var _tao_retval;
+ CORBA::TypeCode_var tc;
+ if (!(
+ (_tao_in >> tc.out ())
+ ))
+ ACE_THROW (CORBA::MARSHAL());
+
+
+#if (TAO_HAS_INTERCEPTORS == 1)
+ TAO_ServerRequestInterceptor_Adapter _tao_vfr (
+ _tao_server_request.orb_core ()->server_request_interceptors (),
+ _tao_server_request.interceptor_count ()
+ );
+
+ POA_CORBA::Repository::TAO_ServerRequestInfo_CORBA_Repository_get_canonical_typecode ri (
+ _tao_server_request,
+ _tao_impl,
+ tc.in (),
+ ACE_TRY_ENV
+ );
+
+ ACE_TRY
+ {
+ _tao_vfr.receive_request (&ri, ACE_TRY_ENV);
+ ACE_TRY_CHECK;
+
+#endif /* TAO_HAS_INTERCEPTORS */
+ _tao_retval =
+ _tao_impl->get_canonical_typecode (
+ tc.in (),
+ ACE_TRY_ENV
+ );
+ TAO_INTERCEPTOR_CHECK;
+
+#if (TAO_HAS_INTERCEPTORS == 1)
+ CORBA::TypeCode_ptr _tao_retval_info = _tao_retval._retn ();
+ ri.result (_tao_retval_info);
+ _tao_retval = _tao_retval_info;
+ ri.reply_status (PortableInterceptor::SUCCESSFUL);
+ _tao_vfr.send_reply (&ri, ACE_TRY_ENV);
+ ACE_TRY_CHECK;
+ }
+ ACE_CATCH (PortableInterceptor::ForwardRequest, exc)
+ {
+ ri.forward_reference (exc);
+ _tao_vfr.send_other (
+ &ri,
+ ACE_TRY_ENV
+ );
+ ACE_TRY_CHECK;
+ _tao_server_request.forward_location (exc.forward.in ());
+ }
+ ACE_CATCHANY
+ {
+ ri.exception (&ACE_ANY_EXCEPTION);
+ _tao_vfr.send_exception (
+ &ri,
+ ACE_TRY_ENV
+ );
+ ACE_TRY_CHECK;
+ ACE_RE_THROW;
+ }
+ ACE_ENDTRY;
+ ACE_CHECK;
+#endif /* TAO_HAS_INTERCEPTORS */
+
+ _tao_server_request.init_reply ();
+
+ TAO_OutputCDR &_tao_out = _tao_server_request.outgoing ();
+
+ if (!(
+ (_tao_out << _tao_retval.in ())
+ ))
+ ACE_THROW (CORBA::MARSHAL());
+
+ // In case ACE_TRY_ENV is not used in this function
+ ACE_UNUSED_ARG (ACE_TRY_ENV);
+}
+
+void POA_CORBA::Repository::get_primitive_skel (
+ TAO_ServerRequest &_tao_server_request,
+ void *_tao_object_reference,
+ void * /* context */,
+ CORBA::Environment &ACE_TRY_ENV
+ )
+{
+ TAO_InputCDR &_tao_in = _tao_server_request.incoming ();
+ POA_CORBA::Repository *_tao_impl = (POA_CORBA::Repository *)_tao_object_reference;
+
+ CORBA::PrimitiveDef_var _tao_retval;
+ CORBA::PrimitiveKind kind;
+ if (!(
+ (_tao_in >> kind)
+ ))
+ ACE_THROW (CORBA::MARSHAL());
+
+
+#if (TAO_HAS_INTERCEPTORS == 1)
+ TAO_ServerRequestInterceptor_Adapter _tao_vfr (
+ _tao_server_request.orb_core ()->server_request_interceptors (),
+ _tao_server_request.interceptor_count ()
+ );
+
+ POA_CORBA::Repository::TAO_ServerRequestInfo_CORBA_Repository_get_primitive ri (
+ _tao_server_request,
+ _tao_impl,
+ kind,
+ ACE_TRY_ENV
+ );
+
+ ACE_TRY
+ {
+ _tao_vfr.receive_request (&ri, ACE_TRY_ENV);
+ ACE_TRY_CHECK;
+
+#endif /* TAO_HAS_INTERCEPTORS */
+ _tao_retval =
+ _tao_impl->get_primitive (
+ kind,
+ ACE_TRY_ENV
+ );
+ TAO_INTERCEPTOR_CHECK;
+
+#if (TAO_HAS_INTERCEPTORS == 1)
+ CORBA::PrimitiveDef_ptr _tao_retval_info = _tao_retval._retn ();
+ ri.result (_tao_retval_info);
+ _tao_retval = _tao_retval_info;
+ ri.reply_status (PortableInterceptor::SUCCESSFUL);
+ _tao_vfr.send_reply (&ri, ACE_TRY_ENV);
+ ACE_TRY_CHECK;
+ }
+ ACE_CATCH (PortableInterceptor::ForwardRequest, exc)
+ {
+ ri.forward_reference (exc);
+ _tao_vfr.send_other (
+ &ri,
+ ACE_TRY_ENV
+ );
+ ACE_TRY_CHECK;
+ _tao_server_request.forward_location (exc.forward.in ());
+ }
+ ACE_CATCHANY
+ {
+ ri.exception (&ACE_ANY_EXCEPTION);
+ _tao_vfr.send_exception (
+ &ri,
+ ACE_TRY_ENV
+ );
+ ACE_TRY_CHECK;
+ ACE_RE_THROW;
+ }
+ ACE_ENDTRY;
+ ACE_CHECK;
+#endif /* TAO_HAS_INTERCEPTORS */
+
+ _tao_server_request.init_reply ();
+
+ TAO_OutputCDR &_tao_out = _tao_server_request.outgoing ();
+
+ if (!(
+ (_tao_out << _tao_retval.in ())
+ ))
+ ACE_THROW (CORBA::MARSHAL());
+
+ // In case ACE_TRY_ENV is not used in this function
+ ACE_UNUSED_ARG (ACE_TRY_ENV);
+}
+
+void POA_CORBA::Repository::create_string_skel (
+ TAO_ServerRequest &_tao_server_request,
+ void *_tao_object_reference,
+ void * /* context */,
+ CORBA::Environment &ACE_TRY_ENV
+ )
+{
+ TAO_InputCDR &_tao_in = _tao_server_request.incoming ();
+ POA_CORBA::Repository *_tao_impl = (POA_CORBA::Repository *)_tao_object_reference;
+
+ CORBA::StringDef_var _tao_retval;
+ CORBA::ULong bound;
+ if (!(
+ (_tao_in >> bound)
+ ))
+ ACE_THROW (CORBA::MARSHAL());
+
+
+#if (TAO_HAS_INTERCEPTORS == 1)
+ TAO_ServerRequestInterceptor_Adapter _tao_vfr (
+ _tao_server_request.orb_core ()->server_request_interceptors (),
+ _tao_server_request.interceptor_count ()
+ );
+
+ POA_CORBA::Repository::TAO_ServerRequestInfo_CORBA_Repository_create_string ri (
+ _tao_server_request,
+ _tao_impl,
+ bound,
+ ACE_TRY_ENV
+ );
+
+ ACE_TRY
+ {
+ _tao_vfr.receive_request (&ri, ACE_TRY_ENV);
+ ACE_TRY_CHECK;
+
+#endif /* TAO_HAS_INTERCEPTORS */
+ _tao_retval =
+ _tao_impl->create_string (
+ bound,
+ ACE_TRY_ENV
+ );
+ TAO_INTERCEPTOR_CHECK;
+
+#if (TAO_HAS_INTERCEPTORS == 1)
+ CORBA::StringDef_ptr _tao_retval_info = _tao_retval._retn ();
+ ri.result (_tao_retval_info);
+ _tao_retval = _tao_retval_info;
+ ri.reply_status (PortableInterceptor::SUCCESSFUL);
+ _tao_vfr.send_reply (&ri, ACE_TRY_ENV);
+ ACE_TRY_CHECK;
+ }
+ ACE_CATCH (PortableInterceptor::ForwardRequest, exc)
+ {
+ ri.forward_reference (exc);
+ _tao_vfr.send_other (
+ &ri,
+ ACE_TRY_ENV
+ );
+ ACE_TRY_CHECK;
+ _tao_server_request.forward_location (exc.forward.in ());
+ }
+ ACE_CATCHANY
+ {
+ ri.exception (&ACE_ANY_EXCEPTION);
+ _tao_vfr.send_exception (
+ &ri,
+ ACE_TRY_ENV
+ );
+ ACE_TRY_CHECK;
+ ACE_RE_THROW;
+ }
+ ACE_ENDTRY;
+ ACE_CHECK;
+#endif /* TAO_HAS_INTERCEPTORS */
+
+ _tao_server_request.init_reply ();
+
+ TAO_OutputCDR &_tao_out = _tao_server_request.outgoing ();
+
+ if (!(
+ (_tao_out << _tao_retval.in ())
+ ))
+ ACE_THROW (CORBA::MARSHAL());
+
+ // In case ACE_TRY_ENV is not used in this function
+ ACE_UNUSED_ARG (ACE_TRY_ENV);
+}
+
+void POA_CORBA::Repository::create_wstring_skel (
+ TAO_ServerRequest &_tao_server_request,
+ void *_tao_object_reference,
+ void * /* context */,
+ CORBA::Environment &ACE_TRY_ENV
+ )
+{
+ TAO_InputCDR &_tao_in = _tao_server_request.incoming ();
+ POA_CORBA::Repository *_tao_impl = (POA_CORBA::Repository *)_tao_object_reference;
+
+ CORBA::WstringDef_var _tao_retval;
+ CORBA::ULong bound;
+ if (!(
+ (_tao_in >> bound)
+ ))
+ ACE_THROW (CORBA::MARSHAL());
+
+
+#if (TAO_HAS_INTERCEPTORS == 1)
+ TAO_ServerRequestInterceptor_Adapter _tao_vfr (
+ _tao_server_request.orb_core ()->server_request_interceptors (),
+ _tao_server_request.interceptor_count ()
+ );
+
+ POA_CORBA::Repository::TAO_ServerRequestInfo_CORBA_Repository_create_wstring ri (
+ _tao_server_request,
+ _tao_impl,
+ bound,
+ ACE_TRY_ENV
+ );
+
+ ACE_TRY
+ {
+ _tao_vfr.receive_request (&ri, ACE_TRY_ENV);
+ ACE_TRY_CHECK;
+
+#endif /* TAO_HAS_INTERCEPTORS */
+ _tao_retval =
+ _tao_impl->create_wstring (
+ bound,
+ ACE_TRY_ENV
+ );
+ TAO_INTERCEPTOR_CHECK;
+
+#if (TAO_HAS_INTERCEPTORS == 1)
+ CORBA::WstringDef_ptr _tao_retval_info = _tao_retval._retn ();
+ ri.result (_tao_retval_info);
+ _tao_retval = _tao_retval_info;
+ ri.reply_status (PortableInterceptor::SUCCESSFUL);
+ _tao_vfr.send_reply (&ri, ACE_TRY_ENV);
+ ACE_TRY_CHECK;
+ }
+ ACE_CATCH (PortableInterceptor::ForwardRequest, exc)
+ {
+ ri.forward_reference (exc);
+ _tao_vfr.send_other (
+ &ri,
+ ACE_TRY_ENV
+ );
+ ACE_TRY_CHECK;
+ _tao_server_request.forward_location (exc.forward.in ());
+ }
+ ACE_CATCHANY
+ {
+ ri.exception (&ACE_ANY_EXCEPTION);
+ _tao_vfr.send_exception (
+ &ri,
+ ACE_TRY_ENV
+ );
+ ACE_TRY_CHECK;
+ ACE_RE_THROW;
+ }
+ ACE_ENDTRY;
+ ACE_CHECK;
+#endif /* TAO_HAS_INTERCEPTORS */
+
+ _tao_server_request.init_reply ();
+
+ TAO_OutputCDR &_tao_out = _tao_server_request.outgoing ();
+
+ if (!(
+ (_tao_out << _tao_retval.in ())
+ ))
+ ACE_THROW (CORBA::MARSHAL());
+
+ // In case ACE_TRY_ENV is not used in this function
+ ACE_UNUSED_ARG (ACE_TRY_ENV);
+}
+
+void POA_CORBA::Repository::create_sequence_skel (
+ TAO_ServerRequest &_tao_server_request,
+ void *_tao_object_reference,
+ void * /* context */,
+ CORBA::Environment &ACE_TRY_ENV
+ )
+{
+ TAO_InputCDR &_tao_in = _tao_server_request.incoming ();
+ POA_CORBA::Repository *_tao_impl = (POA_CORBA::Repository *)_tao_object_reference;
+
+ CORBA::SequenceDef_var _tao_retval;
+ CORBA::ULong bound;
+ CORBA::IDLType_var element_type;
+ if (!(
+ (_tao_in >> bound) &&
+ (_tao_in >> element_type.out ())
+ ))
+ ACE_THROW (CORBA::MARSHAL());
+
+
+#if (TAO_HAS_INTERCEPTORS == 1)
+ TAO_ServerRequestInterceptor_Adapter _tao_vfr (
+ _tao_server_request.orb_core ()->server_request_interceptors (),
+ _tao_server_request.interceptor_count ()
+ );
+
+ POA_CORBA::Repository::TAO_ServerRequestInfo_CORBA_Repository_create_sequence ri (
+ _tao_server_request,
+ _tao_impl,
+ bound,
+ element_type.in (),
+ ACE_TRY_ENV
+ );
+
+ ACE_TRY
+ {
+ _tao_vfr.receive_request (&ri, ACE_TRY_ENV);
+ ACE_TRY_CHECK;
+
+#endif /* TAO_HAS_INTERCEPTORS */
+ _tao_retval =
+ _tao_impl->create_sequence (
+ bound,
+ element_type.in (),
+ ACE_TRY_ENV
+ );
+ TAO_INTERCEPTOR_CHECK;
+
+#if (TAO_HAS_INTERCEPTORS == 1)
+ CORBA::SequenceDef_ptr _tao_retval_info = _tao_retval._retn ();
+ ri.result (_tao_retval_info);
+ _tao_retval = _tao_retval_info;
+ ri.reply_status (PortableInterceptor::SUCCESSFUL);
+ _tao_vfr.send_reply (&ri, ACE_TRY_ENV);
+ ACE_TRY_CHECK;
+ }
+ ACE_CATCH (PortableInterceptor::ForwardRequest, exc)
+ {
+ ri.forward_reference (exc);
+ _tao_vfr.send_other (
+ &ri,
+ ACE_TRY_ENV
+ );
+ ACE_TRY_CHECK;
+ _tao_server_request.forward_location (exc.forward.in ());
+ }
+ ACE_CATCHANY
+ {
+ ri.exception (&ACE_ANY_EXCEPTION);
+ _tao_vfr.send_exception (
+ &ri,
+ ACE_TRY_ENV
+ );
+ ACE_TRY_CHECK;
+ ACE_RE_THROW;
+ }
+ ACE_ENDTRY;
+ ACE_CHECK;
+#endif /* TAO_HAS_INTERCEPTORS */
+
+ _tao_server_request.init_reply ();
+
+ TAO_OutputCDR &_tao_out = _tao_server_request.outgoing ();
+
+ if (!(
+ (_tao_out << _tao_retval.in ())
+ ))
+ ACE_THROW (CORBA::MARSHAL());
+
+ // In case ACE_TRY_ENV is not used in this function
+ ACE_UNUSED_ARG (ACE_TRY_ENV);
+}
+
+void POA_CORBA::Repository::create_array_skel (
+ TAO_ServerRequest &_tao_server_request,
+ void *_tao_object_reference,
+ void * /* context */,
+ CORBA::Environment &ACE_TRY_ENV
+ )
+{
+ TAO_InputCDR &_tao_in = _tao_server_request.incoming ();
+ POA_CORBA::Repository *_tao_impl = (POA_CORBA::Repository *)_tao_object_reference;
+
+ CORBA::ArrayDef_var _tao_retval;
+ CORBA::ULong length;
+ CORBA::IDLType_var element_type;
+ if (!(
+ (_tao_in >> length) &&
+ (_tao_in >> element_type.out ())
+ ))
+ ACE_THROW (CORBA::MARSHAL());
+
+
+#if (TAO_HAS_INTERCEPTORS == 1)
+ TAO_ServerRequestInterceptor_Adapter _tao_vfr (
+ _tao_server_request.orb_core ()->server_request_interceptors (),
+ _tao_server_request.interceptor_count ()
+ );
+
+ POA_CORBA::Repository::TAO_ServerRequestInfo_CORBA_Repository_create_array ri (
+ _tao_server_request,
+ _tao_impl,
+ length,
+ element_type.in (),
+ ACE_TRY_ENV
+ );
+
+ ACE_TRY
+ {
+ _tao_vfr.receive_request (&ri, ACE_TRY_ENV);
+ ACE_TRY_CHECK;
+
+#endif /* TAO_HAS_INTERCEPTORS */
+ _tao_retval =
+ _tao_impl->create_array (
+ length,
+ element_type.in (),
+ ACE_TRY_ENV
+ );
+ TAO_INTERCEPTOR_CHECK;
+
+#if (TAO_HAS_INTERCEPTORS == 1)
+ CORBA::ArrayDef_ptr _tao_retval_info = _tao_retval._retn ();
+ ri.result (_tao_retval_info);
+ _tao_retval = _tao_retval_info;
+ ri.reply_status (PortableInterceptor::SUCCESSFUL);
+ _tao_vfr.send_reply (&ri, ACE_TRY_ENV);
+ ACE_TRY_CHECK;
+ }
+ ACE_CATCH (PortableInterceptor::ForwardRequest, exc)
+ {
+ ri.forward_reference (exc);
+ _tao_vfr.send_other (
+ &ri,
+ ACE_TRY_ENV
+ );
+ ACE_TRY_CHECK;
+ _tao_server_request.forward_location (exc.forward.in ());
+ }
+ ACE_CATCHANY
+ {
+ ri.exception (&ACE_ANY_EXCEPTION);
+ _tao_vfr.send_exception (
+ &ri,
+ ACE_TRY_ENV
+ );
+ ACE_TRY_CHECK;
+ ACE_RE_THROW;
+ }
+ ACE_ENDTRY;
+ ACE_CHECK;
+#endif /* TAO_HAS_INTERCEPTORS */
+
+ _tao_server_request.init_reply ();
+
+ TAO_OutputCDR &_tao_out = _tao_server_request.outgoing ();
+
+ if (!(
+ (_tao_out << _tao_retval.in ())
+ ))
+ ACE_THROW (CORBA::MARSHAL());
+
+ // In case ACE_TRY_ENV is not used in this function
+ ACE_UNUSED_ARG (ACE_TRY_ENV);
+}
+
+void POA_CORBA::Repository::create_fixed_skel (
+ TAO_ServerRequest &_tao_server_request,
+ void *_tao_object_reference,
+ void * /* context */,
+ CORBA::Environment &ACE_TRY_ENV
+ )
+{
+ TAO_InputCDR &_tao_in = _tao_server_request.incoming ();
+ POA_CORBA::Repository *_tao_impl = (POA_CORBA::Repository *)_tao_object_reference;
+
+ CORBA::FixedDef_var _tao_retval;
+ CORBA::UShort digits;
+ CORBA::Short scale;
+ if (!(
+ (_tao_in >> digits) &&
+ (_tao_in >> scale)
+ ))
+ ACE_THROW (CORBA::MARSHAL());
+
+
+#if (TAO_HAS_INTERCEPTORS == 1)
+ TAO_ServerRequestInterceptor_Adapter _tao_vfr (
+ _tao_server_request.orb_core ()->server_request_interceptors (),
+ _tao_server_request.interceptor_count ()
+ );
+
+ POA_CORBA::Repository::TAO_ServerRequestInfo_CORBA_Repository_create_fixed ri (
+ _tao_server_request,
+ _tao_impl,
+ digits,
+ scale,
+ ACE_TRY_ENV
+ );
+
+ ACE_TRY
+ {
+ _tao_vfr.receive_request (&ri, ACE_TRY_ENV);
+ ACE_TRY_CHECK;
+
+#endif /* TAO_HAS_INTERCEPTORS */
+ _tao_retval =
+ _tao_impl->create_fixed (
+ digits,
+ scale,
+ ACE_TRY_ENV
+ );
+ TAO_INTERCEPTOR_CHECK;
+
+#if (TAO_HAS_INTERCEPTORS == 1)
+ CORBA::FixedDef_ptr _tao_retval_info = _tao_retval._retn ();
+ ri.result (_tao_retval_info);
+ _tao_retval = _tao_retval_info;
+ ri.reply_status (PortableInterceptor::SUCCESSFUL);
+ _tao_vfr.send_reply (&ri, ACE_TRY_ENV);
+ ACE_TRY_CHECK;
+ }
+ ACE_CATCH (PortableInterceptor::ForwardRequest, exc)
+ {
+ ri.forward_reference (exc);
+ _tao_vfr.send_other (
+ &ri,
+ ACE_TRY_ENV
+ );
+ ACE_TRY_CHECK;
+ _tao_server_request.forward_location (exc.forward.in ());
+ }
+ ACE_CATCHANY
+ {
+ ri.exception (&ACE_ANY_EXCEPTION);
+ _tao_vfr.send_exception (
+ &ri,
+ ACE_TRY_ENV
+ );
+ ACE_TRY_CHECK;
+ ACE_RE_THROW;
+ }
+ ACE_ENDTRY;
+ ACE_CHECK;
+#endif /* TAO_HAS_INTERCEPTORS */
+
+ _tao_server_request.init_reply ();
+
+ TAO_OutputCDR &_tao_out = _tao_server_request.outgoing ();
+
+ if (!(
+ (_tao_out << _tao_retval.in ())
+ ))
+ ACE_THROW (CORBA::MARSHAL());
+
+ // In case ACE_TRY_ENV is not used in this function
+ ACE_UNUSED_ARG (ACE_TRY_ENV);
+}
+
+void POA_CORBA::Repository::_is_a_skel (
+ TAO_ServerRequest &_tao_server_request,
+ void * _tao_object_reference,
+ void * /* context */,
+ CORBA::Environment &ACE_TRY_ENV
+ )
+{
+ TAO_InputCDR &_tao_in = _tao_server_request.incoming ();
+ POA_CORBA::Repository *_tao_impl = (POA_CORBA::Repository *) _tao_object_reference;
+ CORBA::Boolean _tao_retval = 0;
+ CORBA::String_var value;
+ if (!(_tao_in >> value.out ()))
+ ACE_THROW (CORBA::MARSHAL ());
+
+ _tao_retval = _tao_impl->_is_a (value.in (), ACE_TRY_ENV);
+ ACE_CHECK;
+
+ _tao_server_request.init_reply ();
+ TAO_OutputCDR &_tao_out = _tao_server_request.outgoing ();
+ if (!(_tao_out << CORBA::Any::from_boolean (_tao_retval)))
+ ACE_THROW (CORBA::MARSHAL ());
+}
+
+void POA_CORBA::Repository::_non_existent_skel (
+ TAO_ServerRequest &_tao_server_request,
+ void * _tao_object_reference,
+ void * /* context */,
+ CORBA::Environment &ACE_TRY_ENV
+ )
+{
+ POA_CORBA::Repository *_tao_impl = (POA_CORBA::Repository *) _tao_object_reference;
+ CORBA::Boolean _tao_retval = _tao_impl->_non_existent (ACE_TRY_ENV);
+ ACE_CHECK;
+
+ _tao_server_request.init_reply ();
+ TAO_OutputCDR &_tao_out = _tao_server_request.outgoing ();
+ if (!(_tao_out << CORBA::Any::from_boolean (_tao_retval)))
+ ACE_THROW (CORBA::MARSHAL ());
+}
+
+CORBA::Boolean POA_CORBA::Repository::_is_a (
+ const char* value,
+ CORBA::Environment &ACE_TRY_ENV
+ )
+{
+ const char *base_id = CORBA::_tc_Object->id (ACE_TRY_ENV);
+ ACE_CHECK_RETURN (0);
+
+ if (
+ (!ACE_OS::strcmp ((char *)value, "IDL:omg.org/CORBA/Repository:1.0")) ||
+ (!ACE_OS::strcmp ((char *)value, "IDL:omg.org/CORBA/Container:1.0")) ||
+ (!ACE_OS::strcmp ((char *)value, "IDL:omg.org/CORBA/IRObject:1.0")) ||
+ (!ACE_OS::strcmp ((char *)value, base_id)))
+ return 1;
+ else
+ return 0;
+}
+
+void* POA_CORBA::Repository::_downcast (
+ const char* logical_type_id
+ )
+{
+ if (ACE_OS::strcmp (logical_type_id, "IDL:omg.org/CORBA/Repository:1.0") == 0)
+ return ACE_static_cast (POA_CORBA::Repository_ptr, this);
+ if (ACE_OS::strcmp (logical_type_id, "IDL:omg.org/CORBA/Container:1.0") == 0)
+ return ACE_static_cast (POA_CORBA::Container_ptr, this);
+ if (ACE_OS::strcmp (logical_type_id, "IDL:omg.org/CORBA/IRObject:1.0") == 0)
+ return ACE_static_cast (POA_CORBA::IRObject_ptr, this);
+ if (ACE_OS::strcmp (logical_type_id, "IDL:omg.org/CORBA/Object:1.0") == 0)
+ return ACE_static_cast(PortableServer::Servant, this);
+ return 0;
+}
+
+void POA_CORBA::Repository::_dispatch (TAO_ServerRequest &req, void *context, CORBA::Environment &ACE_TRY_ENV)
+{
+ this->synchronous_upcall_dispatch(req, context, this, ACE_TRY_ENV);
+}
+
+const char* POA_CORBA::Repository::_interface_repository_id (void) const
+{
+ return "IDL:omg.org/CORBA/Repository:1.0";
+}
+
+CORBA::Repository*
+POA_CORBA::Repository::_this (CORBA_Environment &ACE_TRY_ENV)
+{
+ TAO_Stub *stub = this->_create_stub (ACE_TRY_ENV);
+ ACE_CHECK_RETURN (0);
+
+ CORBA::Object_ptr tmp = CORBA::Object::_nil ();
+
+ if (stub->servant_orb_var ()->orb_core ()->optimize_collocation_objects ())
+ ACE_NEW_RETURN (tmp, CORBA::Object (stub, 1, this), 0);
+ else
+ ACE_NEW_RETURN (tmp, CORBA::Object (stub, 0, this), 0);
+
+ CORBA::Object_var obj = tmp;
+ return ::CORBA::Repository::_unchecked_narrow (obj.in ());
+}
+
+
+#if (TAO_HAS_INTERCEPTORS == 1)
+POA_CORBA::Repository::TAO_ServerRequestInfo_CORBA_Repository_lookup_id::TAO_ServerRequestInfo_CORBA_Repository_lookup_id (
+ TAO_ServerRequest &_tao_server_request,
+ POA_CORBA::Repository *tao_impl,
+ const char * search_id,
+ CORBA::Environment &
+ )
+ : TAO_ServerRequestInfo (_tao_server_request),
+ _tao_impl (tao_impl),
+ search_id_ (search_id)
+{}
+
+Dynamic::ParameterList *
+POA_CORBA::Repository::TAO_ServerRequestInfo_CORBA_Repository_lookup_id::arguments (CORBA::Environment &ACE_TRY_ENV)
+ ACE_THROW_SPEC ((CORBA::SystemException))
+{
+ // Generate the argument list on demand.
+ Dynamic::ParameterList *parameter_list =
+ TAO_RequestInfo_Util::make_parameter_list (ACE_TRY_ENV);
+ ACE_CHECK_RETURN (0);
+
+ Dynamic::ParameterList_var safe_parameter_list = parameter_list;
+
+ CORBA::ULong length_search_id = parameter_list->length ();
+ parameter_list->length (length_search_id + 1);
+ (*parameter_list)[length_search_id].argument <<= search_id_;
+ (*parameter_list)[length_search_id].mode = Dynamic::PARAM_IN;
+
+ return safe_parameter_list._retn ();
+}
+
+Dynamic::ExceptionList *
+POA_CORBA::Repository::TAO_ServerRequestInfo_CORBA_Repository_lookup_id::exceptions (CORBA::Environment &ACE_TRY_ENV)
+ ACE_THROW_SPEC ((CORBA::SystemException))
+{
+ // Generate the exception list on demand.
+ Dynamic::ExceptionList *exception_list =
+ TAO_RequestInfo_Util::make_exception_list (ACE_TRY_ENV);
+ ACE_CHECK_RETURN (0);
+
+ return exception_list;
+}
+
+CORBA::Any *
+POA_CORBA::Repository::TAO_ServerRequestInfo_CORBA_Repository_lookup_id::result (CORBA::Environment &ACE_TRY_ENV)
+ ACE_THROW_SPEC ((CORBA::SystemException))
+{
+ // Generate the result on demand.
+ CORBA::Boolean tk_void_any = 0;
+ CORBA::Any *result_any =
+ TAO_RequestInfo_Util::make_any (tk_void_any, ACE_TRY_ENV);
+ ACE_CHECK_RETURN (0);
+
+ CORBA::Any_var safe_result_any = result_any;
+
+ (*result_any) <<= this->_result;
+
+ return safe_result_any._retn ();
+}
+
+char *
+POA_CORBA::Repository::TAO_ServerRequestInfo_CORBA_Repository_lookup_id::target_most_derived_interface (
+ CORBA::Environment &)
+ ACE_THROW_SPEC ((CORBA::SystemException))
+{
+ return
+ CORBA::string_dup (this->_tao_impl->_interface_repository_id ());
+}
+
+CORBA::Boolean
+POA_CORBA::Repository::TAO_ServerRequestInfo_CORBA_Repository_lookup_id::target_is_a (
+ const char * id,
+ CORBA::Environment &ACE_TRY_ENV)
+ ACE_THROW_SPEC ((CORBA::SystemException))
+{
+ return this->_tao_impl->_is_a (id, ACE_TRY_ENV);
+}
+
+void
+POA_CORBA::Repository::TAO_ServerRequestInfo_CORBA_Repository_lookup_id::result (CORBA::Contained_ptr result)
+{
+ // Update the result.
+ this->_result = result;
+}
+
+POA_CORBA::Repository::TAO_ServerRequestInfo_CORBA_Repository_get_canonical_typecode::TAO_ServerRequestInfo_CORBA_Repository_get_canonical_typecode (
+ TAO_ServerRequest &_tao_server_request,
+ POA_CORBA::Repository *tao_impl,
+ CORBA::TypeCode_ptr tc,
+ CORBA::Environment &
+ )
+ : TAO_ServerRequestInfo (_tao_server_request),
+ _tao_impl (tao_impl),
+ tc_ (tc)
+{}
+
+Dynamic::ParameterList *
+POA_CORBA::Repository::TAO_ServerRequestInfo_CORBA_Repository_get_canonical_typecode::arguments (CORBA::Environment &ACE_TRY_ENV)
+ ACE_THROW_SPEC ((CORBA::SystemException))
+{
+ // Generate the argument list on demand.
+ Dynamic::ParameterList *parameter_list =
+ TAO_RequestInfo_Util::make_parameter_list (ACE_TRY_ENV);
+ ACE_CHECK_RETURN (0);
+
+ Dynamic::ParameterList_var safe_parameter_list = parameter_list;
+
+ CORBA::ULong length_tc = parameter_list->length ();
+ parameter_list->length (length_tc + 1);
+ (*parameter_list)[length_tc].argument <<= tc_;
+ (*parameter_list)[length_tc].mode = Dynamic::PARAM_IN;
+
+ return safe_parameter_list._retn ();
+}
+
+Dynamic::ExceptionList *
+POA_CORBA::Repository::TAO_ServerRequestInfo_CORBA_Repository_get_canonical_typecode::exceptions (CORBA::Environment &ACE_TRY_ENV)
+ ACE_THROW_SPEC ((CORBA::SystemException))
+{
+ // Generate the exception list on demand.
+ Dynamic::ExceptionList *exception_list =
+ TAO_RequestInfo_Util::make_exception_list (ACE_TRY_ENV);
+ ACE_CHECK_RETURN (0);
+
+ return exception_list;
+}
+
+CORBA::Any *
+POA_CORBA::Repository::TAO_ServerRequestInfo_CORBA_Repository_get_canonical_typecode::result (CORBA::Environment &ACE_TRY_ENV)
+ ACE_THROW_SPEC ((CORBA::SystemException))
+{
+ // Generate the result on demand.
+ CORBA::Boolean tk_void_any = 0;
+ CORBA::Any *result_any =
+ TAO_RequestInfo_Util::make_any (tk_void_any, ACE_TRY_ENV);
+ ACE_CHECK_RETURN (0);
+
+ CORBA::Any_var safe_result_any = result_any;
+
+ (*result_any) <<= this->_result;
+
+ return safe_result_any._retn ();
+}
+
+char *
+POA_CORBA::Repository::TAO_ServerRequestInfo_CORBA_Repository_get_canonical_typecode::target_most_derived_interface (
+ CORBA::Environment &)
+ ACE_THROW_SPEC ((CORBA::SystemException))
+{
+ return
+ CORBA::string_dup (this->_tao_impl->_interface_repository_id ());
+}
+
+CORBA::Boolean
+POA_CORBA::Repository::TAO_ServerRequestInfo_CORBA_Repository_get_canonical_typecode::target_is_a (
+ const char * id,
+ CORBA::Environment &ACE_TRY_ENV)
+ ACE_THROW_SPEC ((CORBA::SystemException))
+{
+ return this->_tao_impl->_is_a (id, ACE_TRY_ENV);
+}
+
+void
+POA_CORBA::Repository::TAO_ServerRequestInfo_CORBA_Repository_get_canonical_typecode::result (CORBA::TypeCode_ptr result)
+{
+ // Update the result.
+ this->_result = result;
+}
+
+POA_CORBA::Repository::TAO_ServerRequestInfo_CORBA_Repository_get_primitive::TAO_ServerRequestInfo_CORBA_Repository_get_primitive (
+ TAO_ServerRequest &_tao_server_request,
+ POA_CORBA::Repository *tao_impl,
+ CORBA::PrimitiveKind & kind,
+ CORBA::Environment &
+ )
+ : TAO_ServerRequestInfo (_tao_server_request),
+ _tao_impl (tao_impl),
+ kind_ (kind)
+{}
+
+Dynamic::ParameterList *
+POA_CORBA::Repository::TAO_ServerRequestInfo_CORBA_Repository_get_primitive::arguments (CORBA::Environment &ACE_TRY_ENV)
+ ACE_THROW_SPEC ((CORBA::SystemException))
+{
+ // Generate the argument list on demand.
+ Dynamic::ParameterList *parameter_list =
+ TAO_RequestInfo_Util::make_parameter_list (ACE_TRY_ENV);
+ ACE_CHECK_RETURN (0);
+
+ Dynamic::ParameterList_var safe_parameter_list = parameter_list;
+
+ CORBA::ULong length_kind = parameter_list->length ();
+ parameter_list->length (length_kind + 1);
+ (*parameter_list)[length_kind].argument <<= this->kind_;
+
+ (*parameter_list)[length_kind].mode = Dynamic::PARAM_IN;
+
+ return safe_parameter_list._retn ();
+}
+
+Dynamic::ExceptionList *
+POA_CORBA::Repository::TAO_ServerRequestInfo_CORBA_Repository_get_primitive::exceptions (CORBA::Environment &ACE_TRY_ENV)
+ ACE_THROW_SPEC ((CORBA::SystemException))
+{
+ // Generate the exception list on demand.
+ Dynamic::ExceptionList *exception_list =
+ TAO_RequestInfo_Util::make_exception_list (ACE_TRY_ENV);
+ ACE_CHECK_RETURN (0);
+
+ return exception_list;
+}
+
+CORBA::Any *
+POA_CORBA::Repository::TAO_ServerRequestInfo_CORBA_Repository_get_primitive::result (CORBA::Environment &ACE_TRY_ENV)
+ ACE_THROW_SPEC ((CORBA::SystemException))
+{
+ // Generate the result on demand.
+ CORBA::Boolean tk_void_any = 0;
+ CORBA::Any *result_any =
+ TAO_RequestInfo_Util::make_any (tk_void_any, ACE_TRY_ENV);
+ ACE_CHECK_RETURN (0);
+
+ CORBA::Any_var safe_result_any = result_any;
+
+ (*result_any) <<= this->_result;
+
+ return safe_result_any._retn ();
+}
+
+char *
+POA_CORBA::Repository::TAO_ServerRequestInfo_CORBA_Repository_get_primitive::target_most_derived_interface (
+ CORBA::Environment &)
+ ACE_THROW_SPEC ((CORBA::SystemException))
+{
+ return
+ CORBA::string_dup (this->_tao_impl->_interface_repository_id ());
+}
+
+CORBA::Boolean
+POA_CORBA::Repository::TAO_ServerRequestInfo_CORBA_Repository_get_primitive::target_is_a (
+ const char * id,
+ CORBA::Environment &ACE_TRY_ENV)
+ ACE_THROW_SPEC ((CORBA::SystemException))
+{
+ return this->_tao_impl->_is_a (id, ACE_TRY_ENV);
+}
+
+void
+POA_CORBA::Repository::TAO_ServerRequestInfo_CORBA_Repository_get_primitive::result (CORBA::PrimitiveDef_ptr result)
+{
+ // Update the result.
+ this->_result = result;
+}
+
+POA_CORBA::Repository::TAO_ServerRequestInfo_CORBA_Repository_create_string::TAO_ServerRequestInfo_CORBA_Repository_create_string (
+ TAO_ServerRequest &_tao_server_request,
+ POA_CORBA::Repository *tao_impl,
+ const CORBA::ULong & bound,
+ CORBA::Environment &
+ )
+ : TAO_ServerRequestInfo (_tao_server_request),
+ _tao_impl (tao_impl),
+ bound_ (bound)
+{}
+
+Dynamic::ParameterList *
+POA_CORBA::Repository::TAO_ServerRequestInfo_CORBA_Repository_create_string::arguments (CORBA::Environment &ACE_TRY_ENV)
+ ACE_THROW_SPEC ((CORBA::SystemException))
+{
+ // Generate the argument list on demand.
+ Dynamic::ParameterList *parameter_list =
+ TAO_RequestInfo_Util::make_parameter_list (ACE_TRY_ENV);
+ ACE_CHECK_RETURN (0);
+
+ Dynamic::ParameterList_var safe_parameter_list = parameter_list;
+
+ CORBA::ULong length_bound = parameter_list->length ();
+ parameter_list->length (length_bound + 1);
+ (*parameter_list)[length_bound].argument <<= bound_;
+ (*parameter_list)[length_bound].mode = Dynamic::PARAM_IN;
+
+ return safe_parameter_list._retn ();
+}
+
+Dynamic::ExceptionList *
+POA_CORBA::Repository::TAO_ServerRequestInfo_CORBA_Repository_create_string::exceptions (CORBA::Environment &ACE_TRY_ENV)
+ ACE_THROW_SPEC ((CORBA::SystemException))
+{
+ // Generate the exception list on demand.
+ Dynamic::ExceptionList *exception_list =
+ TAO_RequestInfo_Util::make_exception_list (ACE_TRY_ENV);
+ ACE_CHECK_RETURN (0);
+
+ return exception_list;
+}
+
+CORBA::Any *
+POA_CORBA::Repository::TAO_ServerRequestInfo_CORBA_Repository_create_string::result (CORBA::Environment &ACE_TRY_ENV)
+ ACE_THROW_SPEC ((CORBA::SystemException))
+{
+ // Generate the result on demand.
+ CORBA::Boolean tk_void_any = 0;
+ CORBA::Any *result_any =
+ TAO_RequestInfo_Util::make_any (tk_void_any, ACE_TRY_ENV);
+ ACE_CHECK_RETURN (0);
+
+ CORBA::Any_var safe_result_any = result_any;
+
+ (*result_any) <<= this->_result;
+
+ return safe_result_any._retn ();
+}
+
+char *
+POA_CORBA::Repository::TAO_ServerRequestInfo_CORBA_Repository_create_string::target_most_derived_interface (
+ CORBA::Environment &)
+ ACE_THROW_SPEC ((CORBA::SystemException))
+{
+ return
+ CORBA::string_dup (this->_tao_impl->_interface_repository_id ());
+}
+
+CORBA::Boolean
+POA_CORBA::Repository::TAO_ServerRequestInfo_CORBA_Repository_create_string::target_is_a (
+ const char * id,
+ CORBA::Environment &ACE_TRY_ENV)
+ ACE_THROW_SPEC ((CORBA::SystemException))
+{
+ return this->_tao_impl->_is_a (id, ACE_TRY_ENV);
+}
+
+void
+POA_CORBA::Repository::TAO_ServerRequestInfo_CORBA_Repository_create_string::result (CORBA::StringDef_ptr result)
+{
+ // Update the result.
+ this->_result = result;
+}
+
+POA_CORBA::Repository::TAO_ServerRequestInfo_CORBA_Repository_create_wstring::TAO_ServerRequestInfo_CORBA_Repository_create_wstring (
+ TAO_ServerRequest &_tao_server_request,
+ POA_CORBA::Repository *tao_impl,
+ const CORBA::ULong & bound,
+ CORBA::Environment &
+ )
+ : TAO_ServerRequestInfo (_tao_server_request),
+ _tao_impl (tao_impl),
+ bound_ (bound)
+{}
+
+Dynamic::ParameterList *
+POA_CORBA::Repository::TAO_ServerRequestInfo_CORBA_Repository_create_wstring::arguments (CORBA::Environment &ACE_TRY_ENV)
+ ACE_THROW_SPEC ((CORBA::SystemException))
+{
+ // Generate the argument list on demand.
+ Dynamic::ParameterList *parameter_list =
+ TAO_RequestInfo_Util::make_parameter_list (ACE_TRY_ENV);
+ ACE_CHECK_RETURN (0);
+
+ Dynamic::ParameterList_var safe_parameter_list = parameter_list;
+
+ CORBA::ULong length_bound = parameter_list->length ();
+ parameter_list->length (length_bound + 1);
+ (*parameter_list)[length_bound].argument <<= bound_;
+ (*parameter_list)[length_bound].mode = Dynamic::PARAM_IN;
+
+ return safe_parameter_list._retn ();
+}
+
+Dynamic::ExceptionList *
+POA_CORBA::Repository::TAO_ServerRequestInfo_CORBA_Repository_create_wstring::exceptions (CORBA::Environment &ACE_TRY_ENV)
+ ACE_THROW_SPEC ((CORBA::SystemException))
+{
+ // Generate the exception list on demand.
+ Dynamic::ExceptionList *exception_list =
+ TAO_RequestInfo_Util::make_exception_list (ACE_TRY_ENV);
+ ACE_CHECK_RETURN (0);
+
+ return exception_list;
+}
+
+CORBA::Any *
+POA_CORBA::Repository::TAO_ServerRequestInfo_CORBA_Repository_create_wstring::result (CORBA::Environment &ACE_TRY_ENV)
+ ACE_THROW_SPEC ((CORBA::SystemException))
+{
+ // Generate the result on demand.
+ CORBA::Boolean tk_void_any = 0;
+ CORBA::Any *result_any =
+ TAO_RequestInfo_Util::make_any (tk_void_any, ACE_TRY_ENV);
+ ACE_CHECK_RETURN (0);
+
+ CORBA::Any_var safe_result_any = result_any;
+
+ (*result_any) <<= this->_result;
+
+ return safe_result_any._retn ();
+}
+
+char *
+POA_CORBA::Repository::TAO_ServerRequestInfo_CORBA_Repository_create_wstring::target_most_derived_interface (
+ CORBA::Environment &)
+ ACE_THROW_SPEC ((CORBA::SystemException))
+{
+ return
+ CORBA::string_dup (this->_tao_impl->_interface_repository_id ());
+}
+
+CORBA::Boolean
+POA_CORBA::Repository::TAO_ServerRequestInfo_CORBA_Repository_create_wstring::target_is_a (
+ const char * id,
+ CORBA::Environment &ACE_TRY_ENV)
+ ACE_THROW_SPEC ((CORBA::SystemException))
+{
+ return this->_tao_impl->_is_a (id, ACE_TRY_ENV);
+}
+
+void
+POA_CORBA::Repository::TAO_ServerRequestInfo_CORBA_Repository_create_wstring::result (CORBA::WstringDef_ptr result)
+{
+ // Update the result.
+ this->_result = result;
+}
+
+POA_CORBA::Repository::TAO_ServerRequestInfo_CORBA_Repository_create_sequence::TAO_ServerRequestInfo_CORBA_Repository_create_sequence (
+ TAO_ServerRequest &_tao_server_request,
+ POA_CORBA::Repository *tao_impl,
+ const CORBA::ULong & bound,
+ CORBA::IDLType_ptr element_type,
+ CORBA::Environment &
+ )
+ : TAO_ServerRequestInfo (_tao_server_request),
+ _tao_impl (tao_impl),
+ bound_ (bound),
+ element_type_ (element_type)
+{}
+
+Dynamic::ParameterList *
+POA_CORBA::Repository::TAO_ServerRequestInfo_CORBA_Repository_create_sequence::arguments (CORBA::Environment &ACE_TRY_ENV)
+ ACE_THROW_SPEC ((CORBA::SystemException))
+{
+ // Generate the argument list on demand.
+ Dynamic::ParameterList *parameter_list =
+ TAO_RequestInfo_Util::make_parameter_list (ACE_TRY_ENV);
+ ACE_CHECK_RETURN (0);
+
+ Dynamic::ParameterList_var safe_parameter_list = parameter_list;
+
+ CORBA::ULong length_bound = parameter_list->length ();
+ parameter_list->length (length_bound + 1);
+ (*parameter_list)[length_bound].argument <<= bound_;
+ (*parameter_list)[length_bound].mode = Dynamic::PARAM_IN;
+
+ CORBA::ULong length_element_type = parameter_list->length ();
+ parameter_list->length (length_element_type + 1);
+ (*parameter_list)[length_element_type].argument <<= this->element_type_;
+
+ (*parameter_list)[length_element_type].mode = Dynamic::PARAM_IN;
+
+ return safe_parameter_list._retn ();
+}
+
+Dynamic::ExceptionList *
+POA_CORBA::Repository::TAO_ServerRequestInfo_CORBA_Repository_create_sequence::exceptions (CORBA::Environment &ACE_TRY_ENV)
+ ACE_THROW_SPEC ((CORBA::SystemException))
+{
+ // Generate the exception list on demand.
+ Dynamic::ExceptionList *exception_list =
+ TAO_RequestInfo_Util::make_exception_list (ACE_TRY_ENV);
+ ACE_CHECK_RETURN (0);
+
+ return exception_list;
+}
+
+CORBA::Any *
+POA_CORBA::Repository::TAO_ServerRequestInfo_CORBA_Repository_create_sequence::result (CORBA::Environment &ACE_TRY_ENV)
+ ACE_THROW_SPEC ((CORBA::SystemException))
+{
+ // Generate the result on demand.
+ CORBA::Boolean tk_void_any = 0;
+ CORBA::Any *result_any =
+ TAO_RequestInfo_Util::make_any (tk_void_any, ACE_TRY_ENV);
+ ACE_CHECK_RETURN (0);
+
+ CORBA::Any_var safe_result_any = result_any;
+
+ (*result_any) <<= this->_result;
+
+ return safe_result_any._retn ();
+}
+
+char *
+POA_CORBA::Repository::TAO_ServerRequestInfo_CORBA_Repository_create_sequence::target_most_derived_interface (
+ CORBA::Environment &)
+ ACE_THROW_SPEC ((CORBA::SystemException))
+{
+ return
+ CORBA::string_dup (this->_tao_impl->_interface_repository_id ());
+}
+
+CORBA::Boolean
+POA_CORBA::Repository::TAO_ServerRequestInfo_CORBA_Repository_create_sequence::target_is_a (
+ const char * id,
+ CORBA::Environment &ACE_TRY_ENV)
+ ACE_THROW_SPEC ((CORBA::SystemException))
+{
+ return this->_tao_impl->_is_a (id, ACE_TRY_ENV);
+}
+
+void
+POA_CORBA::Repository::TAO_ServerRequestInfo_CORBA_Repository_create_sequence::result (CORBA::SequenceDef_ptr result)
+{
+ // Update the result.
+ this->_result = result;
+}
+
+POA_CORBA::Repository::TAO_ServerRequestInfo_CORBA_Repository_create_array::TAO_ServerRequestInfo_CORBA_Repository_create_array (
+ TAO_ServerRequest &_tao_server_request,
+ POA_CORBA::Repository *tao_impl,
+ const CORBA::ULong & length,
+ CORBA::IDLType_ptr element_type,
+ CORBA::Environment &
+ )
+ : TAO_ServerRequestInfo (_tao_server_request),
+ _tao_impl (tao_impl),
+ length_ (length),
+ element_type_ (element_type)
+{}
+
+Dynamic::ParameterList *
+POA_CORBA::Repository::TAO_ServerRequestInfo_CORBA_Repository_create_array::arguments (CORBA::Environment &ACE_TRY_ENV)
+ ACE_THROW_SPEC ((CORBA::SystemException))
+{
+ // Generate the argument list on demand.
+ Dynamic::ParameterList *parameter_list =
+ TAO_RequestInfo_Util::make_parameter_list (ACE_TRY_ENV);
+ ACE_CHECK_RETURN (0);
+
+ Dynamic::ParameterList_var safe_parameter_list = parameter_list;
+
+ CORBA::ULong length_length = parameter_list->length ();
+ parameter_list->length (length_length + 1);
+ (*parameter_list)[length_length].argument <<= length_;
+ (*parameter_list)[length_length].mode = Dynamic::PARAM_IN;
+
+ CORBA::ULong length_element_type = parameter_list->length ();
+ parameter_list->length (length_element_type + 1);
+ (*parameter_list)[length_element_type].argument <<= this->element_type_;
+
+ (*parameter_list)[length_element_type].mode = Dynamic::PARAM_IN;
+
+ return safe_parameter_list._retn ();
+}
+
+Dynamic::ExceptionList *
+POA_CORBA::Repository::TAO_ServerRequestInfo_CORBA_Repository_create_array::exceptions (CORBA::Environment &ACE_TRY_ENV)
+ ACE_THROW_SPEC ((CORBA::SystemException))
+{
+ // Generate the exception list on demand.
+ Dynamic::ExceptionList *exception_list =
+ TAO_RequestInfo_Util::make_exception_list (ACE_TRY_ENV);
+ ACE_CHECK_RETURN (0);
+
+ return exception_list;
+}
+
+CORBA::Any *
+POA_CORBA::Repository::TAO_ServerRequestInfo_CORBA_Repository_create_array::result (CORBA::Environment &ACE_TRY_ENV)
+ ACE_THROW_SPEC ((CORBA::SystemException))
+{
+ // Generate the result on demand.
+ CORBA::Boolean tk_void_any = 0;
+ CORBA::Any *result_any =
+ TAO_RequestInfo_Util::make_any (tk_void_any, ACE_TRY_ENV);
+ ACE_CHECK_RETURN (0);
+
+ CORBA::Any_var safe_result_any = result_any;
+
+ (*result_any) <<= this->_result;
+
+ return safe_result_any._retn ();
+}
+
+char *
+POA_CORBA::Repository::TAO_ServerRequestInfo_CORBA_Repository_create_array::target_most_derived_interface (
+ CORBA::Environment &)
+ ACE_THROW_SPEC ((CORBA::SystemException))
+{
+ return
+ CORBA::string_dup (this->_tao_impl->_interface_repository_id ());
+}
+
+CORBA::Boolean
+POA_CORBA::Repository::TAO_ServerRequestInfo_CORBA_Repository_create_array::target_is_a (
+ const char * id,
+ CORBA::Environment &ACE_TRY_ENV)
+ ACE_THROW_SPEC ((CORBA::SystemException))
+{
+ return this->_tao_impl->_is_a (id, ACE_TRY_ENV);
+}
+
+void
+POA_CORBA::Repository::TAO_ServerRequestInfo_CORBA_Repository_create_array::result (CORBA::ArrayDef_ptr result)
+{
+ // Update the result.
+ this->_result = result;
+}
+
+POA_CORBA::Repository::TAO_ServerRequestInfo_CORBA_Repository_create_fixed::TAO_ServerRequestInfo_CORBA_Repository_create_fixed (
+ TAO_ServerRequest &_tao_server_request,
+ POA_CORBA::Repository *tao_impl,
+ const CORBA::UShort & digits,
+ const CORBA::Short & scale,
+ CORBA::Environment &
+ )
+ : TAO_ServerRequestInfo (_tao_server_request),
+ _tao_impl (tao_impl),
+ digits_ (digits),
+ scale_ (scale)
+{}
+
+Dynamic::ParameterList *
+POA_CORBA::Repository::TAO_ServerRequestInfo_CORBA_Repository_create_fixed::arguments (CORBA::Environment &ACE_TRY_ENV)
+ ACE_THROW_SPEC ((CORBA::SystemException))
+{
+ // Generate the argument list on demand.
+ Dynamic::ParameterList *parameter_list =
+ TAO_RequestInfo_Util::make_parameter_list (ACE_TRY_ENV);
+ ACE_CHECK_RETURN (0);
+
+ Dynamic::ParameterList_var safe_parameter_list = parameter_list;
+
+ CORBA::ULong length_digits = parameter_list->length ();
+ parameter_list->length (length_digits + 1);
+ (*parameter_list)[length_digits].argument <<= digits_;
+ (*parameter_list)[length_digits].mode = Dynamic::PARAM_IN;
+
+ CORBA::ULong length_scale = parameter_list->length ();
+ parameter_list->length (length_scale + 1);
+ (*parameter_list)[length_scale].argument <<= scale_;
+ (*parameter_list)[length_scale].mode = Dynamic::PARAM_IN;
+
+ return safe_parameter_list._retn ();
+}
+
+Dynamic::ExceptionList *
+POA_CORBA::Repository::TAO_ServerRequestInfo_CORBA_Repository_create_fixed::exceptions (CORBA::Environment &ACE_TRY_ENV)
+ ACE_THROW_SPEC ((CORBA::SystemException))
+{
+ // Generate the exception list on demand.
+ Dynamic::ExceptionList *exception_list =
+ TAO_RequestInfo_Util::make_exception_list (ACE_TRY_ENV);
+ ACE_CHECK_RETURN (0);
+
+ return exception_list;
+}
+
+CORBA::Any *
+POA_CORBA::Repository::TAO_ServerRequestInfo_CORBA_Repository_create_fixed::result (CORBA::Environment &ACE_TRY_ENV)
+ ACE_THROW_SPEC ((CORBA::SystemException))
+{
+ // Generate the result on demand.
+ CORBA::Boolean tk_void_any = 0;
+ CORBA::Any *result_any =
+ TAO_RequestInfo_Util::make_any (tk_void_any, ACE_TRY_ENV);
+ ACE_CHECK_RETURN (0);
+
+ CORBA::Any_var safe_result_any = result_any;
+
+ (*result_any) <<= this->_result;
+
+ return safe_result_any._retn ();
+}
+
+char *
+POA_CORBA::Repository::TAO_ServerRequestInfo_CORBA_Repository_create_fixed::target_most_derived_interface (
+ CORBA::Environment &)
+ ACE_THROW_SPEC ((CORBA::SystemException))
+{
+ return
+ CORBA::string_dup (this->_tao_impl->_interface_repository_id ());
+}
+
+CORBA::Boolean
+POA_CORBA::Repository::TAO_ServerRequestInfo_CORBA_Repository_create_fixed::target_is_a (
+ const char * id,
+ CORBA::Environment &ACE_TRY_ENV)
+ ACE_THROW_SPEC ((CORBA::SystemException))
+{
+ return this->_tao_impl->_is_a (id, ACE_TRY_ENV);
+}
+
+void
+POA_CORBA::Repository::TAO_ServerRequestInfo_CORBA_Repository_create_fixed::result (CORBA::FixedDef_ptr result)
+{
+ // Update the result.
+ this->_result = result;
+}
+
+#endif /* TAO_HAS_INTERCEPTORS */
+class TAO_CORBA_ModuleDef_Perfect_Hash_OpTable : public TAO_Perfect_Hash_OpTable
+{
+private:
+ unsigned int hash (const char *str, unsigned int len);
+public:
+ const TAO_operation_db_entry * lookup (const char *str, unsigned int len);
+};
+/* starting time is 10:44:37 */
+/* C++ code produced by gperf version 2.8 (ACE version) */
+/* Command-line: gperf -m -M -J -c -C -D -E -T -f 0 -F 0 -a -o -t -p -K opname_ -L C++ -Z TAO_CORBA_ModuleDef_Perfect_Hash_OpTable -N lookup */
+unsigned int
+TAO_CORBA_ModuleDef_Perfect_Hash_OpTable::hash (const char *str, unsigned int len)
+{
+ static const unsigned char asso_values[] =
+ {
+#if defined (ACE_MVS)
+ 48, 48, 48, 48, 48, 48, 48, 48, 48, 48,
+ 48, 48, 48, 48, 48, 48, 48, 48, 48, 48,
+ 48, 48, 48, 48, 48, 48, 48, 48, 48, 48,
+ 48, 48, 48, 48, 48, 48, 48, 48, 48, 48,
+ 48, 48, 48, 48, 48, 48, 48, 48, 48, 48,
+ 48, 48, 48, 48, 48, 48, 48, 48, 48, 48,
+ 48, 48, 48, 48, 48, 48, 48, 48, 48, 48,
+ 48, 48, 48, 48, 48, 48, 48, 48, 48, 48,
+ 48, 48, 48, 48, 48, 48, 48, 48, 48, 48,
+ 48, 48, 48, 48, 48, 48, 48, 48, 48, 48,
+ 48, 48, 48, 48, 48, 48, 48, 48, 48, 10,
+ 48, 48, 48, 48, 48, 48, 48, 48, 48, 48,
+ 48, 48, 48, 48, 48, 48, 48, 48, 48, 0,
+ 48, 0, 0, 0, 48, 48, 48, 48, 48, 48,
+ 48, 48, 48, 48, 48, 48, 48, 15, 0, 15,
+ 48, 20, 48, 48, 48, 48, 48, 48, 48, 48,
+ 48, 48, 30, 20, 48, 48, 48, 5, 0, 48,
+ 48, 48, 48, 48, 48, 48, 48, 48, 48, 48,
+ 48, 48, 48, 48, 48, 48, 48, 48, 48, 48,
+ 48, 48, 48, 48, 48, 48, 48, 48, 48, 48,
+ 48, 48, 48, 48, 48, 48, 48, 48, 48, 48,
+ 48, 48, 48, 48, 48, 48, 48, 48, 48, 48,
+ 48, 48, 48, 48, 48, 48, 48, 48, 48, 48,
+ 48, 48, 48, 48, 48, 48, 48, 48, 48, 48,
+ 48, 48, 48, 48, 48, 48, 48, 48, 48, 48,
+ 48, 48, 48, 48, 48, 48,
+#else
+ 48, 48, 48, 48, 48, 48, 48, 48, 48, 48,
+ 48, 48, 48, 48, 48, 48, 48, 48, 48, 48,
+ 48, 48, 48, 48, 48, 48, 48, 48, 48, 48,
+ 48, 48, 48, 48, 48, 48, 48, 48, 48, 48,
+ 48, 48, 48, 48, 48, 48, 48, 48, 48, 48,
+ 48, 48, 48, 48, 48, 48, 48, 48, 48, 48,
+ 48, 48, 48, 48, 48, 48, 48, 48, 48, 48,
+ 48, 48, 48, 48, 48, 48, 48, 48, 48, 48,
+ 48, 48, 48, 48, 48, 48, 48, 48, 48, 48,
+ 48, 48, 48, 48, 48, 10, 48, 0, 48, 0,
+ 0, 0, 48, 48, 48, 48, 48, 48, 15, 0,
+ 15, 48, 20, 48, 48, 30, 20, 48, 48, 48,
+ 5, 0, 48, 48, 48, 48, 48, 48,
+#endif /* ACE_MVS */
+ };
+ return len + asso_values[str[len - 1]] + asso_values[str[0]];
+}
+
+const class TAO_operation_db_entry *
+TAO_CORBA_ModuleDef_Perfect_Hash_OpTable::lookup (const char *str, unsigned int len)
+{
+ enum
+ {
+ TOTAL_KEYWORDS = 32,
+ MIN_WORD_LENGTH = 4,
+ MAX_WORD_LENGTH = 26,
+ MIN_HASH_VALUE = 4,
+ MAX_HASH_VALUE = 47,
+ HASH_VALUE_RANGE = 44,
+ DUPLICATES = 5
+ };
+
+ static const class TAO_operation_db_entry wordlist[] =
+ {
+ {"",0},{"",0},{"",0},{"",0},
+ {"move", &POA_CORBA::ModuleDef::move_skel},
+ {"destroy", &POA_CORBA::ModuleDef::destroy_skel},
+ {"describe", &POA_CORBA::ModuleDef::describe_skel},
+ {"create_enum", &POA_CORBA::ModuleDef::create_enum_skel},
+ {"create_value", &POA_CORBA::ModuleDef::create_value_skel},
+ {"create_module", &POA_CORBA::ModuleDef::create_module_skel},
+ {"create_native", &POA_CORBA::ModuleDef::create_native_skel},
+ {"_is_a", &POA_CORBA::ModuleDef::_is_a_skel},
+ {"create_interface", &POA_CORBA::ModuleDef::create_interface_skel},
+ {"_get_id", &POA_CORBA::ModuleDef::_get_id_skel},
+ {"_set_id", &POA_CORBA::ModuleDef::_set_id_skel},
+ {"_get_name", &POA_CORBA::ModuleDef::_get_name_skel},
+ {"_set_name", &POA_CORBA::ModuleDef::_set_name_skel},
+ {"create_value_box", &POA_CORBA::ModuleDef::create_value_box_skel},
+ {"create_local_interface", &POA_CORBA::ModuleDef::create_local_interface_skel},
+ {"_get_def_kind", &POA_CORBA::ModuleDef::_get_def_kind_skel},
+ {"create_abstract_interface", &POA_CORBA::ModuleDef::create_abstract_interface_skel},
+ {"lookup_name", &POA_CORBA::ModuleDef::lookup_name_skel},
+ {"create_union", &POA_CORBA::ModuleDef::create_union_skel},
+ {"_get_absolute_name", &POA_CORBA::ModuleDef::_get_absolute_name_skel},
+ {"create_exception", &POA_CORBA::ModuleDef::create_exception_skel},
+ {"create_struct", &POA_CORBA::ModuleDef::create_struct_skel},
+ {"create_constant", &POA_CORBA::ModuleDef::create_constant_skel},
+ {"_get_containing_repository", &POA_CORBA::ModuleDef::_get_containing_repository_skel},
+ {"_get_version", &POA_CORBA::ModuleDef::_get_version_skel},
+ {"_set_version", &POA_CORBA::ModuleDef::_set_version_skel},
+ {"contents", &POA_CORBA::ModuleDef::contents_skel},
+ {"_get_defined_in", &POA_CORBA::ModuleDef::_get_defined_in_skel},
+ {"lookup", &POA_CORBA::ModuleDef::lookup_skel},
+ {"create_alias", &POA_CORBA::ModuleDef::create_alias_skel},
+ {"_non_existent", &POA_CORBA::ModuleDef::_non_existent_skel},
+ {"describe_contents", &POA_CORBA::ModuleDef::describe_contents_skel},
+ };
+
+ static const signed char lookup[] =
+ {
+ -1, -1, -9, -2, 4, -13, -2, 5, 6, -15, -2, 7, 8, -58,
+ -1, 11, 12, -59, -1, -57, -1, 17, 18, 19, -1, 20, 21, 22,
+ 23, -28, -2, 24, -1, 25, -1, 26, 27, -55, 30, -1, 31, 32,
+ 33, 34, -1, -1, -1, 35,
+ };
+
+ if (len <= MAX_WORD_LENGTH && len >= MIN_WORD_LENGTH)
+ {
+ unsigned int key = hash (str, len);
+
+ if (key <= MAX_HASH_VALUE && key >= MIN_HASH_VALUE)
+ {
+ int slot = lookup[key];
+
+ if (slot >= 0 && slot < MAX_HASH_VALUE)
+ {
+ const char *s = wordlist[slot].opname_;
+
+ if (*str == *s && !strncmp (str + 1, s + 1, len - 1))
+ return &wordlist[slot];
+ }
+ else if (slot < 0 && slot >= -MAX_HASH_VALUE)
+ return 0;
+ else
+ {
+ unsigned int offset = key + slot + (slot > 0 ? -MAX_HASH_VALUE : MAX_HASH_VALUE);
+ const class TAO_operation_db_entry *base = &wordlist[-lookup[offset]];
+ const class TAO_operation_db_entry *ptr = base + -lookup[offset + 1];
+
+ while (--ptr >= base)
+ if (*str == *ptr->opname_ && !strncmp (str + 1, ptr->opname_ + 1, len - 1))
+ return ptr;
+ }
+ }
+ }
+ return 0;
+}
+/* ending time is 10:44:37 */
+static TAO_CORBA_ModuleDef_Perfect_Hash_OpTable tao_CORBA_ModuleDef_optable;
+
+
+///////////////////////////////////////////////////////////////////////
+// Strategized Proxy Broker Implementation
+//
+
+// Factory function Implementation.
+POA_CORBA::_TAO_ModuleDef_Strategized_Proxy_Broker *POA_CORBA::_TAO_ModuleDef_Strategized_Proxy_Broker::the_TAO_ModuleDef_Strategized_Proxy_Broker (void)
+{
+ static POA_CORBA::_TAO_ModuleDef_Strategized_Proxy_Broker strategized_proxy_broker;
+ return &strategized_proxy_broker;
+}
+
+POA_CORBA::_TAO_ModuleDef_Strategized_Proxy_Broker::_TAO_ModuleDef_Strategized_Proxy_Broker (void)
+{
+ for (int i = 0; i < TAO_Collocation_Strategies::CS_LAST; ++i)
+ this->proxy_cache_[i] = 0;
+
+}
+
+POA_CORBA::_TAO_ModuleDef_Strategized_Proxy_Broker::~_TAO_ModuleDef_Strategized_Proxy_Broker (void)
+{
+ for (int i = 0; i < TAO_Collocation_Strategies::CS_LAST; ++i)
+ delete this->proxy_cache_[i];
+
+}
+
+_TAO_ModuleDef_Proxy_Impl&
+POA_CORBA::_TAO_ModuleDef_Strategized_Proxy_Broker::select_proxy (
+ ::CORBA::ModuleDef *object,
+ CORBA::Environment &ACE_TRY_ENV
+ )
+{
+ int strategy =
+ TAO_ORB_Core::collocation_strategy (object);
+
+ if (this->proxy_cache_[strategy] != 0)
+ return *this->proxy_cache_[strategy];
+
+ this->create_proxy (strategy, ACE_TRY_ENV);
+ ACE_CHECK_RETURN (*this->proxy_cache_[strategy]);
+
+ return *this->proxy_cache_[strategy];
+
+}
+
+void
+POA_CORBA::_TAO_ModuleDef_Strategized_Proxy_Broker::create_proxy (
+ int strategy,
+ CORBA::Environment &ACE_TRY_ENV
+ )
+{
+ ACE_GUARD (TAO_SYNCH_MUTEX, guard, this->mutex_);
+
+ if (this->proxy_cache_[strategy] == 0)
+ {
+ switch (strategy)
+ {
+ case TAO_Collocation_Strategies::CS_THRU_POA_STRATEGY:
+ ACE_NEW_THROW_EX (
+ this->proxy_cache_[strategy],
+ _TAO_ModuleDef_ThruPOA_Proxy_Impl,
+ CORBA::NO_MEMORY ()
+ );
+ ACE_CHECK;
+ break;
+
+ case TAO_Collocation_Strategies::CS_REMOTE_STRATEGY:
+ default:
+ ACE_NEW_THROW_EX (
+ this->proxy_cache_[strategy],
+ ::_TAO_ModuleDef_Remote_Proxy_Impl,
+ CORBA::NO_MEMORY ()
+ );
+ ACE_CHECK;
+ break;
+
+ }
+
+ }
+}
+
+
+//
+// End Strategized Proxy Broker Implementation
+///////////////////////////////////////////////////////////////////////
+
+
+_TAO_ModuleDef_Proxy_Broker *
+CORBA__TAO_ModuleDef_Proxy_Broker_Factory_function (CORBA::Object_ptr obj)
+{
+ ACE_UNUSED_ARG (obj);
+ return ::POA_CORBA::_TAO_ModuleDef_Strategized_Proxy_Broker::the_TAO_ModuleDef_Strategized_Proxy_Broker();
+}
+
+int
+CORBA__TAO_ModuleDef_Proxy_Broker_Factory_Initializer (long _dummy_)
+{
+ ACE_UNUSED_ARG (_dummy_);
+
+ CORBA__TAO_ModuleDef_Proxy_Broker_Factory_function_pointer =
+ CORBA__TAO_ModuleDef_Proxy_Broker_Factory_function;
+
+ return 0;
+}
+
+static int CORBA__TAO_ModuleDef_Proxy_Broker_Stub_Factory_Initializer_Scarecrow =
+ CORBA__TAO_ModuleDef_Proxy_Broker_Factory_Initializer (ACE_reinterpret_cast (long, CORBA__TAO_ModuleDef_Proxy_Broker_Factory_Initializer));
+
+
+///////////////////////////////////////////////////////////////////////
+// ThruPOA Proxy Implementation
+//
+
+POA_CORBA::_TAO_ModuleDef_ThruPOA_Proxy_Impl::_TAO_ModuleDef_ThruPOA_Proxy_Impl (void)
+{}
+
+// ThruPOA Implementation of the IDL interface methods
+
+//
+// End ThruPOA Proxy Implementation
+///////////////////////////////////////////////////////////////////////
+
+// skeleton constructor
+POA_CORBA::ModuleDef::ModuleDef (void)
+{
+ this->optable_ = &tao_CORBA_ModuleDef_optable;
+}
+
+// copy ctor
+POA_CORBA::ModuleDef::ModuleDef (const ModuleDef& rhs)
+ : ACE_NESTED_CLASS (POA_CORBA,Container) (rhs),
+ ACE_NESTED_CLASS (POA_CORBA,Contained) (rhs),
+ ACE_NESTED_CLASS (POA_CORBA,IRObject) (rhs),
+ TAO_ServantBase (rhs)
+{}
+
+// skeleton destructor
+POA_CORBA::ModuleDef::~ModuleDef (void)
+{
+}
+
+void POA_CORBA::ModuleDef::_is_a_skel (
+ TAO_ServerRequest &_tao_server_request,
+ void * _tao_object_reference,
+ void * /* context */,
+ CORBA::Environment &ACE_TRY_ENV
+ )
+{
+ TAO_InputCDR &_tao_in = _tao_server_request.incoming ();
+ POA_CORBA::ModuleDef *_tao_impl = (POA_CORBA::ModuleDef *) _tao_object_reference;
+ CORBA::Boolean _tao_retval = 0;
+ CORBA::String_var value;
+ if (!(_tao_in >> value.out ()))
+ ACE_THROW (CORBA::MARSHAL ());
+
+ _tao_retval = _tao_impl->_is_a (value.in (), ACE_TRY_ENV);
+ ACE_CHECK;
+
+ _tao_server_request.init_reply ();
+ TAO_OutputCDR &_tao_out = _tao_server_request.outgoing ();
+ if (!(_tao_out << CORBA::Any::from_boolean (_tao_retval)))
+ ACE_THROW (CORBA::MARSHAL ());
+}
+
+void POA_CORBA::ModuleDef::_non_existent_skel (
+ TAO_ServerRequest &_tao_server_request,
+ void * _tao_object_reference,
+ void * /* context */,
+ CORBA::Environment &ACE_TRY_ENV
+ )
+{
+ POA_CORBA::ModuleDef *_tao_impl = (POA_CORBA::ModuleDef *) _tao_object_reference;
+ CORBA::Boolean _tao_retval = _tao_impl->_non_existent (ACE_TRY_ENV);
+ ACE_CHECK;
+
+ _tao_server_request.init_reply ();
+ TAO_OutputCDR &_tao_out = _tao_server_request.outgoing ();
+ if (!(_tao_out << CORBA::Any::from_boolean (_tao_retval)))
+ ACE_THROW (CORBA::MARSHAL ());
+}
+
+CORBA::Boolean POA_CORBA::ModuleDef::_is_a (
+ const char* value,
+ CORBA::Environment &ACE_TRY_ENV
+ )
+{
+ const char *base_id = CORBA::_tc_Object->id (ACE_TRY_ENV);
+ ACE_CHECK_RETURN (0);
+
+ if (
+ (!ACE_OS::strcmp ((char *)value, "IDL:omg.org/CORBA/ModuleDef:1.0")) ||
+ (!ACE_OS::strcmp ((char *)value, "IDL:omg.org/CORBA/Container:1.0")) ||
+ (!ACE_OS::strcmp ((char *)value, "IDL:omg.org/CORBA/Contained:1.0")) ||
+ (!ACE_OS::strcmp ((char *)value, "IDL:omg.org/CORBA/IRObject:1.0")) ||
+ (!ACE_OS::strcmp ((char *)value, base_id)))
+ return 1;
+ else
+ return 0;
+}
+
+void* POA_CORBA::ModuleDef::_downcast (
+ const char* logical_type_id
+ )
+{
+ if (ACE_OS::strcmp (logical_type_id, "IDL:omg.org/CORBA/ModuleDef:1.0") == 0)
+ return ACE_static_cast (POA_CORBA::ModuleDef_ptr, this);
+ if (ACE_OS::strcmp (logical_type_id, "IDL:omg.org/CORBA/Container:1.0") == 0)
+ return ACE_static_cast (POA_CORBA::Container_ptr, this);
+ if (ACE_OS::strcmp (logical_type_id, "IDL:omg.org/CORBA/Contained:1.0") == 0)
+ return ACE_static_cast (POA_CORBA::Contained_ptr, this);
+ if (ACE_OS::strcmp (logical_type_id, "IDL:omg.org/CORBA/IRObject:1.0") == 0)
+ return ACE_static_cast (POA_CORBA::IRObject_ptr, this);
+ if (ACE_OS::strcmp (logical_type_id, "IDL:omg.org/CORBA/Object:1.0") == 0)
+ return ACE_static_cast(PortableServer::Servant, this);
+ return 0;
+}
+
+void POA_CORBA::ModuleDef::_dispatch (TAO_ServerRequest &req, void *context, CORBA::Environment &ACE_TRY_ENV)
+{
+ this->synchronous_upcall_dispatch(req, context, this, ACE_TRY_ENV);
+}
+
+const char* POA_CORBA::ModuleDef::_interface_repository_id (void) const
+{
+ return "IDL:omg.org/CORBA/ModuleDef:1.0";
+}
+
+CORBA::ModuleDef*
+POA_CORBA::ModuleDef::_this (CORBA_Environment &ACE_TRY_ENV)
+{
+ TAO_Stub *stub = this->_create_stub (ACE_TRY_ENV);
+ ACE_CHECK_RETURN (0);
+
+ CORBA::Object_ptr tmp = CORBA::Object::_nil ();
+
+ if (stub->servant_orb_var ()->orb_core ()->optimize_collocation_objects ())
+ ACE_NEW_RETURN (tmp, CORBA::Object (stub, 1, this), 0);
+ else
+ ACE_NEW_RETURN (tmp, CORBA::Object (stub, 0, this), 0);
+
+ CORBA::Object_var obj = tmp;
+ return ::CORBA::ModuleDef::_unchecked_narrow (obj.in ());
+}
+
+
+#if (TAO_HAS_INTERCEPTORS == 1)
+#endif /* TAO_HAS_INTERCEPTORS */
+class TAO_CORBA_ConstantDef_Perfect_Hash_OpTable : public TAO_Perfect_Hash_OpTable
+{
+private:
+ unsigned int hash (const char *str, unsigned int len);
+public:
+ const TAO_operation_db_entry * lookup (const char *str, unsigned int len);
+};
+/* starting time is 10:44:37 */
+/* C++ code produced by gperf version 2.8 (ACE version) */
+/* Command-line: gperf -m -M -J -c -C -D -E -T -f 0 -F 0 -a -o -t -p -K opname_ -L C++ -Z TAO_CORBA_ConstantDef_Perfect_Hash_OpTable -N lookup */
+unsigned int
+TAO_CORBA_ConstantDef_Perfect_Hash_OpTable::hash (const char *str, unsigned int len)
+{
+ static const unsigned char asso_values[] =
+ {
+#if defined (ACE_MVS)
+ 37, 37, 37, 37, 37, 37, 37, 37, 37, 37,
+ 37, 37, 37, 37, 37, 37, 37, 37, 37, 37,
+ 37, 37, 37, 37, 37, 37, 37, 37, 37, 37,
+ 37, 37, 37, 37, 37, 37, 37, 37, 37, 37,
+ 37, 37, 37, 37, 37, 37, 37, 37, 37, 37,
+ 37, 37, 37, 37, 37, 37, 37, 37, 37, 37,
+ 37, 37, 37, 37, 37, 37, 37, 37, 37, 37,
+ 37, 37, 37, 37, 37, 37, 37, 37, 37, 37,
+ 37, 37, 37, 37, 37, 37, 37, 37, 37, 37,
+ 37, 37, 37, 37, 37, 37, 37, 37, 37, 37,
+ 37, 37, 37, 37, 37, 37, 37, 37, 37, 0,
+ 37, 37, 37, 37, 37, 37, 37, 37, 37, 37,
+ 37, 37, 37, 37, 37, 37, 37, 37, 37, 0,
+ 37, 37, 0, 0, 10, 37, 37, 37, 37, 37,
+ 37, 37, 37, 37, 37, 37, 37, 37, 0, 0,
+ 37, 37, 37, 37, 37, 37, 37, 37, 37, 37,
+ 37, 37, 37, 15, 37, 37, 37, 37, 10, 37,
+ 37, 37, 37, 37, 37, 37, 37, 37, 37, 37,
+ 37, 37, 37, 37, 37, 37, 37, 37, 37, 37,
+ 37, 37, 37, 37, 37, 37, 37, 37, 37, 37,
+ 37, 37, 37, 37, 37, 37, 37, 37, 37, 37,
+ 37, 37, 37, 37, 37, 37, 37, 37, 37, 37,
+ 37, 37, 37, 37, 37, 37, 37, 37, 37, 37,
+ 37, 37, 37, 37, 37, 37, 37, 37, 37, 37,
+ 37, 37, 37, 37, 37, 37, 37, 37, 37, 37,
+ 37, 37, 37, 37, 37, 37,
+#else
+ 37, 37, 37, 37, 37, 37, 37, 37, 37, 37,
+ 37, 37, 37, 37, 37, 37, 37, 37, 37, 37,
+ 37, 37, 37, 37, 37, 37, 37, 37, 37, 37,
+ 37, 37, 37, 37, 37, 37, 37, 37, 37, 37,
+ 37, 37, 37, 37, 37, 37, 37, 37, 37, 37,
+ 37, 37, 37, 37, 37, 37, 37, 37, 37, 37,
+ 37, 37, 37, 37, 37, 37, 37, 37, 37, 37,
+ 37, 37, 37, 37, 37, 37, 37, 37, 37, 37,
+ 37, 37, 37, 37, 37, 37, 37, 37, 37, 37,
+ 37, 37, 37, 37, 37, 0, 37, 0, 37, 37,
+ 0, 0, 10, 37, 37, 37, 37, 37, 37, 0,
+ 0, 37, 37, 37, 37, 37, 15, 37, 37, 37,
+ 37, 10, 37, 37, 37, 37, 37, 37,
+#endif /* ACE_MVS */
+ };
+ return len + asso_values[str[len - 1]] + asso_values[str[0]];
+}
+
+const class TAO_operation_db_entry *
+TAO_CORBA_ConstantDef_Perfect_Hash_OpTable::lookup (const char *str, unsigned int len)
+{
+ enum
+ {
+ TOTAL_KEYWORDS = 20,
+ MIN_WORD_LENGTH = 4,
+ MAX_WORD_LENGTH = 26,
+ MIN_HASH_VALUE = 4,
+ MAX_HASH_VALUE = 36,
+ HASH_VALUE_RANGE = 33,
+ DUPLICATES = 7
+ };
+
+ static const class TAO_operation_db_entry wordlist[] =
+ {
+ {"",0},{"",0},{"",0},{"",0},
+ {"move", &POA_CORBA::ConstantDef::move_skel},
+ {"_is_a", &POA_CORBA::ConstantDef::_is_a_skel},
+ {"_get_id", &POA_CORBA::ConstantDef::_get_id_skel},
+ {"_set_id", &POA_CORBA::ConstantDef::_set_id_skel},
+ {"describe", &POA_CORBA::ConstantDef::describe_skel},
+ {"_get_type", &POA_CORBA::ConstantDef::_get_type_skel},
+ {"_set_name", &POA_CORBA::ConstantDef::_set_name_skel},
+ {"_get_name", &POA_CORBA::ConstantDef::_get_name_skel},
+ {"_get_value", &POA_CORBA::ConstantDef::_get_value_skel},
+ {"_set_value", &POA_CORBA::ConstantDef::_set_value_skel},
+ {"_get_version", &POA_CORBA::ConstantDef::_get_version_skel},
+ {"_set_version", &POA_CORBA::ConstantDef::_set_version_skel},
+ {"_get_def_kind", &POA_CORBA::ConstantDef::_get_def_kind_skel},
+ {"_get_defined_in", &POA_CORBA::ConstantDef::_get_defined_in_skel},
+ {"destroy", &POA_CORBA::ConstantDef::destroy_skel},
+ {"_get_absolute_name", &POA_CORBA::ConstantDef::_get_absolute_name_skel},
+ {"_get_type_def", &POA_CORBA::ConstantDef::_get_type_def_skel},
+ {"_set_type_def", &POA_CORBA::ConstantDef::_set_type_def_skel},
+ {"_non_existent", &POA_CORBA::ConstantDef::_non_existent_skel},
+ {"_get_containing_repository", &POA_CORBA::ConstantDef::_get_containing_repository_skel},
+ };
+
+ static const signed char lookup[] =
+ {
+ -12, -2, -14, -2, 4, 5, -1, 53, 8, 46, -46, -1, -46, 16,
+ -1, 17, -1, 18, 19, -9, -3, -20, -2, -38, -6, -2, -1, -1,
+ 22, -1, -1, -1, -1, -1, -1, -1, 23,
+ };
+
+ if (len <= MAX_WORD_LENGTH && len >= MIN_WORD_LENGTH)
+ {
+ unsigned int key = hash (str, len);
+
+ if (key <= MAX_HASH_VALUE && key >= MIN_HASH_VALUE)
+ {
+ int slot = lookup[key];
+
+ if (slot >= 0 && slot < MAX_HASH_VALUE)
+ {
+ const char *s = wordlist[slot].opname_;
+
+ if (*str == *s && !strncmp (str + 1, s + 1, len - 1))
+ return &wordlist[slot];
+ }
+ else if (slot < 0 && slot >= -MAX_HASH_VALUE)
+ return 0;
+ else
+ {
+ unsigned int offset = key + slot + (slot > 0 ? -MAX_HASH_VALUE : MAX_HASH_VALUE);
+ const class TAO_operation_db_entry *base = &wordlist[-lookup[offset]];
+ const class TAO_operation_db_entry *ptr = base + -lookup[offset + 1];
+
+ while (--ptr >= base)
+ if (*str == *ptr->opname_ && !strncmp (str + 1, ptr->opname_ + 1, len - 1))
+ return ptr;
+ }
+ }
+ }
+ return 0;
+}
+/* ending time is 10:44:37 */
+static TAO_CORBA_ConstantDef_Perfect_Hash_OpTable tao_CORBA_ConstantDef_optable;
+
+
+///////////////////////////////////////////////////////////////////////
+// Strategized Proxy Broker Implementation
+//
+
+// Factory function Implementation.
+POA_CORBA::_TAO_ConstantDef_Strategized_Proxy_Broker *POA_CORBA::_TAO_ConstantDef_Strategized_Proxy_Broker::the_TAO_ConstantDef_Strategized_Proxy_Broker (void)
+{
+ static POA_CORBA::_TAO_ConstantDef_Strategized_Proxy_Broker strategized_proxy_broker;
+ return &strategized_proxy_broker;
+}
+
+POA_CORBA::_TAO_ConstantDef_Strategized_Proxy_Broker::_TAO_ConstantDef_Strategized_Proxy_Broker (void)
+{
+ for (int i = 0; i < TAO_Collocation_Strategies::CS_LAST; ++i)
+ this->proxy_cache_[i] = 0;
+
+}
+
+POA_CORBA::_TAO_ConstantDef_Strategized_Proxy_Broker::~_TAO_ConstantDef_Strategized_Proxy_Broker (void)
+{
+ for (int i = 0; i < TAO_Collocation_Strategies::CS_LAST; ++i)
+ delete this->proxy_cache_[i];
+
+}
+
+_TAO_ConstantDef_Proxy_Impl&
+POA_CORBA::_TAO_ConstantDef_Strategized_Proxy_Broker::select_proxy (
+ ::CORBA::ConstantDef *object,
+ CORBA::Environment &ACE_TRY_ENV
+ )
+{
+ int strategy =
+ TAO_ORB_Core::collocation_strategy (object);
+
+ if (this->proxy_cache_[strategy] != 0)
+ return *this->proxy_cache_[strategy];
+
+ this->create_proxy (strategy, ACE_TRY_ENV);
+ ACE_CHECK_RETURN (*this->proxy_cache_[strategy]);
+
+ return *this->proxy_cache_[strategy];
+
+}
+
+void
+POA_CORBA::_TAO_ConstantDef_Strategized_Proxy_Broker::create_proxy (
+ int strategy,
+ CORBA::Environment &ACE_TRY_ENV
+ )
+{
+ ACE_GUARD (TAO_SYNCH_MUTEX, guard, this->mutex_);
+
+ if (this->proxy_cache_[strategy] == 0)
+ {
+ switch (strategy)
+ {
+ case TAO_Collocation_Strategies::CS_THRU_POA_STRATEGY:
+ ACE_NEW_THROW_EX (
+ this->proxy_cache_[strategy],
+ _TAO_ConstantDef_ThruPOA_Proxy_Impl,
+ CORBA::NO_MEMORY ()
+ );
+ ACE_CHECK;
+ break;
+
+ case TAO_Collocation_Strategies::CS_REMOTE_STRATEGY:
+ default:
+ ACE_NEW_THROW_EX (
+ this->proxy_cache_[strategy],
+ ::_TAO_ConstantDef_Remote_Proxy_Impl,
+ CORBA::NO_MEMORY ()
+ );
+ ACE_CHECK;
+ break;
+
+ }
+
+ }
+}
+
+
+//
+// End Strategized Proxy Broker Implementation
+///////////////////////////////////////////////////////////////////////
+
+
+_TAO_ConstantDef_Proxy_Broker *
+CORBA__TAO_ConstantDef_Proxy_Broker_Factory_function (CORBA::Object_ptr obj)
+{
+ ACE_UNUSED_ARG (obj);
+ return ::POA_CORBA::_TAO_ConstantDef_Strategized_Proxy_Broker::the_TAO_ConstantDef_Strategized_Proxy_Broker();
+}
+
+int
+CORBA__TAO_ConstantDef_Proxy_Broker_Factory_Initializer (long _dummy_)
+{
+ ACE_UNUSED_ARG (_dummy_);
+
+ CORBA__TAO_ConstantDef_Proxy_Broker_Factory_function_pointer =
+ CORBA__TAO_ConstantDef_Proxy_Broker_Factory_function;
+
+ return 0;
+}
+
+static int CORBA__TAO_ConstantDef_Proxy_Broker_Stub_Factory_Initializer_Scarecrow =
+ CORBA__TAO_ConstantDef_Proxy_Broker_Factory_Initializer (ACE_reinterpret_cast (long, CORBA__TAO_ConstantDef_Proxy_Broker_Factory_Initializer));
+
+
+///////////////////////////////////////////////////////////////////////
+// ThruPOA Proxy Implementation
+//
+
+POA_CORBA::_TAO_ConstantDef_ThruPOA_Proxy_Impl::_TAO_ConstantDef_ThruPOA_Proxy_Impl (void)
+{}
+
+// ThruPOA Implementation of the IDL interface methods
+
+CORBA::TypeCode_ptr POA_CORBA::_TAO_ConstantDef_ThruPOA_Proxy_Impl::type (
+ CORBA_Object *_collocated_tao_target_,
+ CORBA::Environment &ACE_TRY_ENV
+ )
+ ACE_THROW_SPEC ((
+ CORBA::SystemException
+ ))
+{
+ CORBA::TypeCode_var _tao_retval;
+ ACE_UNUSED_ARG (_tao_retval);
+ TAO_Object_Adapter::Servant_Upcall servant_upcall (
+ _collocated_tao_target_->_stubobj ()->servant_orb_var ()->orb_core ()
+ );
+ CORBA::Object_var forward_to;
+ servant_upcall.prepare_for_upcall (
+ _collocated_tao_target_->_object_key (),
+ "type",
+ forward_to.out (),
+ ACE_TRY_ENV
+ );
+ ACE_CHECK_RETURN (0);
+ return ACE_reinterpret_cast (
+ POA_CORBA::ConstantDef_ptr,
+ servant_upcall.servant ()->_downcast (
+ "IDL:omg.org/CORBA/ConstantDef:1.0"
+ )
+ )->type (
+ ACE_TRY_ENV
+ );
+}
+
+CORBA::IDLType_ptr POA_CORBA::_TAO_ConstantDef_ThruPOA_Proxy_Impl::type_def (
+ CORBA_Object *_collocated_tao_target_,
+ CORBA::Environment &ACE_TRY_ENV
+ )
+ ACE_THROW_SPEC ((
+ CORBA::SystemException
+ ))
+{
+ CORBA::IDLType_var _tao_retval;
+ ACE_UNUSED_ARG (_tao_retval);
+ TAO_Object_Adapter::Servant_Upcall servant_upcall (
+ _collocated_tao_target_->_stubobj ()->servant_orb_var ()->orb_core ()
+ );
+ CORBA::Object_var forward_to;
+ servant_upcall.prepare_for_upcall (
+ _collocated_tao_target_->_object_key (),
+ "type_def",
+ forward_to.out (),
+ ACE_TRY_ENV
+ );
+ ACE_CHECK_RETURN (0);
+ return ACE_reinterpret_cast (
+ POA_CORBA::ConstantDef_ptr,
+ servant_upcall.servant ()->_downcast (
+ "IDL:omg.org/CORBA/ConstantDef:1.0"
+ )
+ )->type_def (
+ ACE_TRY_ENV
+ );
+}
+
+void POA_CORBA::_TAO_ConstantDef_ThruPOA_Proxy_Impl::type_def (
+ CORBA_Object *_collocated_tao_target_,
+ CORBA::IDLType_ptr type_def,
+ CORBA::Environment &ACE_TRY_ENV
+ )
+ ACE_THROW_SPEC ((
+ CORBA::SystemException
+ ))
+{
+ TAO_Object_Adapter::Servant_Upcall servant_upcall (
+ _collocated_tao_target_->_stubobj ()->servant_orb_var ()->orb_core ()
+ );
+ CORBA::Object_var forward_to;
+ servant_upcall.prepare_for_upcall (
+ _collocated_tao_target_->_object_key (),
+ "type_def",
+ forward_to.out (),
+ ACE_TRY_ENV
+ );
+ ACE_CHECK;
+ ACE_reinterpret_cast (
+ POA_CORBA::ConstantDef_ptr,
+ servant_upcall.servant ()->_downcast (
+ "IDL:omg.org/CORBA/ConstantDef:1.0"
+ )
+ )->type_def (
+ type_def,
+ ACE_TRY_ENV
+ );
+ return;
+}
+
+CORBA::Any * POA_CORBA::_TAO_ConstantDef_ThruPOA_Proxy_Impl::value (
+ CORBA_Object *_collocated_tao_target_,
+ CORBA::Environment &ACE_TRY_ENV
+ )
+ ACE_THROW_SPEC ((
+ CORBA::SystemException
+ ))
+{
+ CORBA::Any_var _tao_retval;
+ ACE_UNUSED_ARG (_tao_retval);
+ TAO_Object_Adapter::Servant_Upcall servant_upcall (
+ _collocated_tao_target_->_stubobj ()->servant_orb_var ()->orb_core ()
+ );
+ CORBA::Object_var forward_to;
+ servant_upcall.prepare_for_upcall (
+ _collocated_tao_target_->_object_key (),
+ "value",
+ forward_to.out (),
+ ACE_TRY_ENV
+ );
+ ACE_CHECK_RETURN (0);
+ return ACE_reinterpret_cast (
+ POA_CORBA::ConstantDef_ptr,
+ servant_upcall.servant ()->_downcast (
+ "IDL:omg.org/CORBA/ConstantDef:1.0"
+ )
+ )->value (
+ ACE_TRY_ENV
+ );
+}
+
+void POA_CORBA::_TAO_ConstantDef_ThruPOA_Proxy_Impl::value (
+ CORBA_Object *_collocated_tao_target_,
+ const CORBA::Any & value,
+ CORBA::Environment &ACE_TRY_ENV
+ )
+ ACE_THROW_SPEC ((
+ CORBA::SystemException
+ ))
+{
+ TAO_Object_Adapter::Servant_Upcall servant_upcall (
+ _collocated_tao_target_->_stubobj ()->servant_orb_var ()->orb_core ()
+ );
+ CORBA::Object_var forward_to;
+ servant_upcall.prepare_for_upcall (
+ _collocated_tao_target_->_object_key (),
+ "value",
+ forward_to.out (),
+ ACE_TRY_ENV
+ );
+ ACE_CHECK;
+ ACE_reinterpret_cast (
+ POA_CORBA::ConstantDef_ptr,
+ servant_upcall.servant ()->_downcast (
+ "IDL:omg.org/CORBA/ConstantDef:1.0"
+ )
+ )->value (
+ value,
+ ACE_TRY_ENV
+ );
+ return;
+}
+
+//
+// End ThruPOA Proxy Implementation
+///////////////////////////////////////////////////////////////////////
+
+// skeleton constructor
+POA_CORBA::ConstantDef::ConstantDef (void)
+{
+ this->optable_ = &tao_CORBA_ConstantDef_optable;
+}
+
+// copy ctor
+POA_CORBA::ConstantDef::ConstantDef (const ConstantDef& rhs)
+ : ACE_NESTED_CLASS (POA_CORBA,Contained) (rhs),
+ ACE_NESTED_CLASS (POA_CORBA,IRObject) (rhs),
+ TAO_ServantBase (rhs)
+{}
+
+// skeleton destructor
+POA_CORBA::ConstantDef::~ConstantDef (void)
+{
+}
+
+void POA_CORBA::ConstantDef::_get_type_skel (
+ TAO_ServerRequest &_tao_server_request,
+ void *_tao_object_reference,
+ void * /* context */,
+ CORBA::Environment &ACE_TRY_ENV
+ )
+{
+ POA_CORBA::ConstantDef *_tao_impl = (POA_CORBA::ConstantDef *)_tao_object_reference;
+
+ CORBA::TypeCode_var _tao_retval;
+
+#if (TAO_HAS_INTERCEPTORS == 1)
+ TAO_ServerRequestInterceptor_Adapter _tao_vfr (
+ _tao_server_request.orb_core ()->server_request_interceptors (),
+ _tao_server_request.interceptor_count ()
+ );
+
+ POA_CORBA::ConstantDef::TAO_ServerRequestInfo_CORBA_ConstantDef_type_get ri (
+ _tao_server_request,
+ _tao_impl,
+ ACE_TRY_ENV
+ );
+
+ ACE_TRY
+ {
+ _tao_vfr.receive_request (&ri, ACE_TRY_ENV);
+ ACE_TRY_CHECK;
+
+#endif /* TAO_HAS_INTERCEPTORS */
+ _tao_retval =
+ _tao_impl->type (
+ ACE_TRY_ENV
+ );
+ TAO_INTERCEPTOR_CHECK;
+
+#if (TAO_HAS_INTERCEPTORS == 1)
+ CORBA::TypeCode_ptr _tao_retval_info = _tao_retval._retn ();
+ ri.result (_tao_retval_info);
+ _tao_retval = _tao_retval_info;
+ ri.reply_status (PortableInterceptor::SUCCESSFUL);
+ _tao_vfr.send_reply (&ri, ACE_TRY_ENV);
+ ACE_TRY_CHECK;
+ }
+ ACE_CATCH (PortableInterceptor::ForwardRequest, exc)
+ {
+ ri.forward_reference (exc);
+ _tao_vfr.send_other (
+ &ri,
+ ACE_TRY_ENV
+ );
+ ACE_TRY_CHECK;
+ _tao_server_request.forward_location (exc.forward.in ());
+ }
+ ACE_CATCHANY
+ {
+ ri.exception (&ACE_ANY_EXCEPTION);
+ _tao_vfr.send_exception (
+ &ri,
+ ACE_TRY_ENV
+ );
+ ACE_TRY_CHECK;
+ ACE_RE_THROW;
+ }
+ ACE_ENDTRY;
+ ACE_CHECK;
+#endif /* TAO_HAS_INTERCEPTORS */
+
+ _tao_server_request.init_reply ();
+
+ TAO_OutputCDR &_tao_out = _tao_server_request.outgoing ();
+
+ if (!(
+ (_tao_out << _tao_retval.in ())
+ ))
+ ACE_THROW (CORBA::MARSHAL());
+
+ // In case ACE_TRY_ENV is not used in this function
+ ACE_UNUSED_ARG (ACE_TRY_ENV);
+}
+
+void POA_CORBA::ConstantDef::_get_type_def_skel (
+ TAO_ServerRequest &_tao_server_request,
+ void *_tao_object_reference,
+ void * /* context */,
+ CORBA::Environment &ACE_TRY_ENV
+ )
+{
+ POA_CORBA::ConstantDef *_tao_impl = (POA_CORBA::ConstantDef *)_tao_object_reference;
+
+ CORBA::IDLType_var _tao_retval;
+
+#if (TAO_HAS_INTERCEPTORS == 1)
+ TAO_ServerRequestInterceptor_Adapter _tao_vfr (
+ _tao_server_request.orb_core ()->server_request_interceptors (),
+ _tao_server_request.interceptor_count ()
+ );
+
+ POA_CORBA::ConstantDef::TAO_ServerRequestInfo_CORBA_ConstantDef_type_def_get ri (
+ _tao_server_request,
+ _tao_impl,
+ ACE_TRY_ENV
+ );
+
+ ACE_TRY
+ {
+ _tao_vfr.receive_request (&ri, ACE_TRY_ENV);
+ ACE_TRY_CHECK;
+
+#endif /* TAO_HAS_INTERCEPTORS */
+ _tao_retval =
+ _tao_impl->type_def (
+ ACE_TRY_ENV
+ );
+ TAO_INTERCEPTOR_CHECK;
+
+#if (TAO_HAS_INTERCEPTORS == 1)
+ CORBA::IDLType_ptr _tao_retval_info = _tao_retval._retn ();
+ ri.result (_tao_retval_info);
+ _tao_retval = _tao_retval_info;
+ ri.reply_status (PortableInterceptor::SUCCESSFUL);
+ _tao_vfr.send_reply (&ri, ACE_TRY_ENV);
+ ACE_TRY_CHECK;
+ }
+ ACE_CATCH (PortableInterceptor::ForwardRequest, exc)
+ {
+ ri.forward_reference (exc);
+ _tao_vfr.send_other (
+ &ri,
+ ACE_TRY_ENV
+ );
+ ACE_TRY_CHECK;
+ _tao_server_request.forward_location (exc.forward.in ());
+ }
+ ACE_CATCHANY
+ {
+ ri.exception (&ACE_ANY_EXCEPTION);
+ _tao_vfr.send_exception (
+ &ri,
+ ACE_TRY_ENV
+ );
+ ACE_TRY_CHECK;
+ ACE_RE_THROW;
+ }
+ ACE_ENDTRY;
+ ACE_CHECK;
+#endif /* TAO_HAS_INTERCEPTORS */
+
+ _tao_server_request.init_reply ();
+
+ TAO_OutputCDR &_tao_out = _tao_server_request.outgoing ();
+
+ if (!(
+ (_tao_out << _tao_retval.in ())
+ ))
+ ACE_THROW (CORBA::MARSHAL());
+
+ // In case ACE_TRY_ENV is not used in this function
+ ACE_UNUSED_ARG (ACE_TRY_ENV);
+}
+
+void POA_CORBA::ConstantDef::_set_type_def_skel (
+ TAO_ServerRequest &_tao_server_request,
+ void *_tao_object_reference,
+ void * /* context */,
+ CORBA::Environment &ACE_TRY_ENV
+ )
+{
+ TAO_InputCDR &_tao_in = _tao_server_request.incoming ();
+ POA_CORBA::ConstantDef *_tao_impl = (POA_CORBA::ConstantDef *)_tao_object_reference;
+
+ _tao_server_request.argument_flag (0);
+ CORBA::IDLType_var type_def;
+ if (!(
+ (_tao_in >> type_def.out ())
+ ))
+ ACE_THROW (CORBA::MARSHAL());
+
+
+#if (TAO_HAS_INTERCEPTORS == 1)
+ TAO_ServerRequestInterceptor_Adapter _tao_vfr (
+ _tao_server_request.orb_core ()->server_request_interceptors (),
+ _tao_server_request.interceptor_count ()
+ );
+
+ POA_CORBA::ConstantDef::TAO_ServerRequestInfo_CORBA_ConstantDef_type_def_set ri (
+ _tao_server_request,
+ _tao_impl,
+ type_def.in (),
+ ACE_TRY_ENV
+ );
+
+ ACE_TRY
+ {
+ _tao_vfr.receive_request (&ri, ACE_TRY_ENV);
+ ACE_TRY_CHECK;
+
+#endif /* TAO_HAS_INTERCEPTORS */
+
+ _tao_impl->type_def (
+ type_def.in (),
+ ACE_TRY_ENV
+ );
+ TAO_INTERCEPTOR_CHECK;
+
+#if (TAO_HAS_INTERCEPTORS == 1)
+ ri.reply_status (PortableInterceptor::SUCCESSFUL);
+ _tao_vfr.send_reply (&ri, ACE_TRY_ENV);
+ ACE_TRY_CHECK;
+ }
+ ACE_CATCH (PortableInterceptor::ForwardRequest, exc)
+ {
+ ri.forward_reference (exc);
+ _tao_vfr.send_other (
+ &ri,
+ ACE_TRY_ENV
+ );
+ ACE_TRY_CHECK;
+ _tao_server_request.forward_location (exc.forward.in ());
+ }
+ ACE_CATCHANY
+ {
+ ri.exception (&ACE_ANY_EXCEPTION);
+ _tao_vfr.send_exception (
+ &ri,
+ ACE_TRY_ENV
+ );
+ ACE_TRY_CHECK;
+ ACE_RE_THROW;
+ }
+ ACE_ENDTRY;
+ ACE_CHECK;
+#endif /* TAO_HAS_INTERCEPTORS */
+
+ _tao_server_request.init_reply ();
+
+ // In case ACE_TRY_ENV is not used in this function
+ ACE_UNUSED_ARG (ACE_TRY_ENV);
+}
+
+void POA_CORBA::ConstantDef::_get_value_skel (
+ TAO_ServerRequest &_tao_server_request,
+ void *_tao_object_reference,
+ void * /* context */,
+ CORBA::Environment &ACE_TRY_ENV
+ )
+{
+ POA_CORBA::ConstantDef *_tao_impl = (POA_CORBA::ConstantDef *)_tao_object_reference;
+
+ CORBA::Any_var _tao_retval;
+
+#if (TAO_HAS_INTERCEPTORS == 1)
+ TAO_ServerRequestInterceptor_Adapter _tao_vfr (
+ _tao_server_request.orb_core ()->server_request_interceptors (),
+ _tao_server_request.interceptor_count ()
+ );
+
+ POA_CORBA::ConstantDef::TAO_ServerRequestInfo_CORBA_ConstantDef_value_get ri (
+ _tao_server_request,
+ _tao_impl,
+ ACE_TRY_ENV
+ );
+
+ ACE_TRY
+ {
+ _tao_vfr.receive_request (&ri, ACE_TRY_ENV);
+ ACE_TRY_CHECK;
+
+#endif /* TAO_HAS_INTERCEPTORS */
+ _tao_retval =
+ _tao_impl->value (
+ ACE_TRY_ENV
+ );
+ TAO_INTERCEPTOR_CHECK;
+
+#if (TAO_HAS_INTERCEPTORS == 1)
+ CORBA::Any * _tao_retval_info = _tao_retval._retn ();
+ ri.result (_tao_retval_info);
+ _tao_retval = _tao_retval_info;
+ ri.reply_status (PortableInterceptor::SUCCESSFUL);
+ _tao_vfr.send_reply (&ri, ACE_TRY_ENV);
+ ACE_TRY_CHECK;
+ }
+ ACE_CATCH (PortableInterceptor::ForwardRequest, exc)
+ {
+ ri.forward_reference (exc);
+ _tao_vfr.send_other (
+ &ri,
+ ACE_TRY_ENV
+ );
+ ACE_TRY_CHECK;
+ _tao_server_request.forward_location (exc.forward.in ());
+ }
+ ACE_CATCHANY
+ {
+ ri.exception (&ACE_ANY_EXCEPTION);
+ _tao_vfr.send_exception (
+ &ri,
+ ACE_TRY_ENV
+ );
+ ACE_TRY_CHECK;
+ ACE_RE_THROW;
+ }
+ ACE_ENDTRY;
+ ACE_CHECK;
+#endif /* TAO_HAS_INTERCEPTORS */
+
+ _tao_server_request.init_reply ();
+
+ TAO_OutputCDR &_tao_out = _tao_server_request.outgoing ();
+
+ if (!(
+ (_tao_out << _tao_retval.in ())
+ ))
+ ACE_THROW (CORBA::MARSHAL());
+
+ // In case ACE_TRY_ENV is not used in this function
+ ACE_UNUSED_ARG (ACE_TRY_ENV);
+}
+
+void POA_CORBA::ConstantDef::_set_value_skel (
+ TAO_ServerRequest &_tao_server_request,
+ void *_tao_object_reference,
+ void * /* context */,
+ CORBA::Environment &ACE_TRY_ENV
+ )
+{
+ TAO_InputCDR &_tao_in = _tao_server_request.incoming ();
+ POA_CORBA::ConstantDef *_tao_impl = (POA_CORBA::ConstantDef *)_tao_object_reference;
+
+ _tao_server_request.argument_flag (0);
+ CORBA::Any value;
+ if (!(
+ (_tao_in >> value)
+ ))
+ ACE_THROW (CORBA::MARSHAL());
+
+
+#if (TAO_HAS_INTERCEPTORS == 1)
+ TAO_ServerRequestInterceptor_Adapter _tao_vfr (
+ _tao_server_request.orb_core ()->server_request_interceptors (),
+ _tao_server_request.interceptor_count ()
+ );
+
+ POA_CORBA::ConstantDef::TAO_ServerRequestInfo_CORBA_ConstantDef_value_set ri (
+ _tao_server_request,
+ _tao_impl,
+ value,
+ ACE_TRY_ENV
+ );
+
+ ACE_TRY
+ {
+ _tao_vfr.receive_request (&ri, ACE_TRY_ENV);
+ ACE_TRY_CHECK;
+
+#endif /* TAO_HAS_INTERCEPTORS */
+
+ _tao_impl->value (
+ value,
+ ACE_TRY_ENV
+ );
+ TAO_INTERCEPTOR_CHECK;
+
+#if (TAO_HAS_INTERCEPTORS == 1)
+ ri.reply_status (PortableInterceptor::SUCCESSFUL);
+ _tao_vfr.send_reply (&ri, ACE_TRY_ENV);
+ ACE_TRY_CHECK;
+ }
+ ACE_CATCH (PortableInterceptor::ForwardRequest, exc)
+ {
+ ri.forward_reference (exc);
+ _tao_vfr.send_other (
+ &ri,
+ ACE_TRY_ENV
+ );
+ ACE_TRY_CHECK;
+ _tao_server_request.forward_location (exc.forward.in ());
+ }
+ ACE_CATCHANY
+ {
+ ri.exception (&ACE_ANY_EXCEPTION);
+ _tao_vfr.send_exception (
+ &ri,
+ ACE_TRY_ENV
+ );
+ ACE_TRY_CHECK;
+ ACE_RE_THROW;
+ }
+ ACE_ENDTRY;
+ ACE_CHECK;
+#endif /* TAO_HAS_INTERCEPTORS */
+
+ _tao_server_request.init_reply ();
+
+ // In case ACE_TRY_ENV is not used in this function
+ ACE_UNUSED_ARG (ACE_TRY_ENV);
+}
+
+void POA_CORBA::ConstantDef::_is_a_skel (
+ TAO_ServerRequest &_tao_server_request,
+ void * _tao_object_reference,
+ void * /* context */,
+ CORBA::Environment &ACE_TRY_ENV
+ )
+{
+ TAO_InputCDR &_tao_in = _tao_server_request.incoming ();
+ POA_CORBA::ConstantDef *_tao_impl = (POA_CORBA::ConstantDef *) _tao_object_reference;
+ CORBA::Boolean _tao_retval = 0;
+ CORBA::String_var value;
+ if (!(_tao_in >> value.out ()))
+ ACE_THROW (CORBA::MARSHAL ());
+
+ _tao_retval = _tao_impl->_is_a (value.in (), ACE_TRY_ENV);
+ ACE_CHECK;
+
+ _tao_server_request.init_reply ();
+ TAO_OutputCDR &_tao_out = _tao_server_request.outgoing ();
+ if (!(_tao_out << CORBA::Any::from_boolean (_tao_retval)))
+ ACE_THROW (CORBA::MARSHAL ());
+}
+
+void POA_CORBA::ConstantDef::_non_existent_skel (
+ TAO_ServerRequest &_tao_server_request,
+ void * _tao_object_reference,
+ void * /* context */,
+ CORBA::Environment &ACE_TRY_ENV
+ )
+{
+ POA_CORBA::ConstantDef *_tao_impl = (POA_CORBA::ConstantDef *) _tao_object_reference;
+ CORBA::Boolean _tao_retval = _tao_impl->_non_existent (ACE_TRY_ENV);
+ ACE_CHECK;
+
+ _tao_server_request.init_reply ();
+ TAO_OutputCDR &_tao_out = _tao_server_request.outgoing ();
+ if (!(_tao_out << CORBA::Any::from_boolean (_tao_retval)))
+ ACE_THROW (CORBA::MARSHAL ());
+}
+
+CORBA::Boolean POA_CORBA::ConstantDef::_is_a (
+ const char* value,
+ CORBA::Environment &ACE_TRY_ENV
+ )
+{
+ const char *base_id = CORBA::_tc_Object->id (ACE_TRY_ENV);
+ ACE_CHECK_RETURN (0);
+
+ if (
+ (!ACE_OS::strcmp ((char *)value, "IDL:omg.org/CORBA/ConstantDef:1.0")) ||
+ (!ACE_OS::strcmp ((char *)value, "IDL:omg.org/CORBA/Contained:1.0")) ||
+ (!ACE_OS::strcmp ((char *)value, "IDL:omg.org/CORBA/IRObject:1.0")) ||
+ (!ACE_OS::strcmp ((char *)value, base_id)))
+ return 1;
+ else
+ return 0;
+}
+
+void* POA_CORBA::ConstantDef::_downcast (
+ const char* logical_type_id
+ )
+{
+ if (ACE_OS::strcmp (logical_type_id, "IDL:omg.org/CORBA/ConstantDef:1.0") == 0)
+ return ACE_static_cast (POA_CORBA::ConstantDef_ptr, this);
+ if (ACE_OS::strcmp (logical_type_id, "IDL:omg.org/CORBA/Contained:1.0") == 0)
+ return ACE_static_cast (POA_CORBA::Contained_ptr, this);
+ if (ACE_OS::strcmp (logical_type_id, "IDL:omg.org/CORBA/IRObject:1.0") == 0)
+ return ACE_static_cast (POA_CORBA::IRObject_ptr, this);
+ if (ACE_OS::strcmp (logical_type_id, "IDL:omg.org/CORBA/Object:1.0") == 0)
+ return ACE_static_cast(PortableServer::Servant, this);
+ return 0;
+}
+
+void POA_CORBA::ConstantDef::_dispatch (TAO_ServerRequest &req, void *context, CORBA::Environment &ACE_TRY_ENV)
+{
+ this->synchronous_upcall_dispatch(req, context, this, ACE_TRY_ENV);
+}
+
+const char* POA_CORBA::ConstantDef::_interface_repository_id (void) const
+{
+ return "IDL:omg.org/CORBA/ConstantDef:1.0";
+}
+
+CORBA::ConstantDef*
+POA_CORBA::ConstantDef::_this (CORBA_Environment &ACE_TRY_ENV)
+{
+ TAO_Stub *stub = this->_create_stub (ACE_TRY_ENV);
+ ACE_CHECK_RETURN (0);
+
+ CORBA::Object_ptr tmp = CORBA::Object::_nil ();
+
+ if (stub->servant_orb_var ()->orb_core ()->optimize_collocation_objects ())
+ ACE_NEW_RETURN (tmp, CORBA::Object (stub, 1, this), 0);
+ else
+ ACE_NEW_RETURN (tmp, CORBA::Object (stub, 0, this), 0);
+
+ CORBA::Object_var obj = tmp;
+ return ::CORBA::ConstantDef::_unchecked_narrow (obj.in ());
+}
+
+
+#if (TAO_HAS_INTERCEPTORS == 1)
+POA_CORBA::ConstantDef::TAO_ServerRequestInfo_CORBA_ConstantDef_type_get::TAO_ServerRequestInfo_CORBA_ConstantDef_type_get (
+ TAO_ServerRequest &_tao_server_request,
+ POA_CORBA::ConstantDef *tao_impl,
+ CORBA::Environment &
+ )
+ : TAO_ServerRequestInfo (_tao_server_request),
+ _tao_impl (tao_impl)
+{}
+
+Dynamic::ParameterList *
+POA_CORBA::ConstantDef::TAO_ServerRequestInfo_CORBA_ConstantDef_type_get::arguments (CORBA::Environment &ACE_TRY_ENV)
+ ACE_THROW_SPEC ((CORBA::SystemException))
+{
+ // Generate the argument list on demand.
+ Dynamic::ParameterList *parameter_list =
+ TAO_RequestInfo_Util::make_parameter_list (ACE_TRY_ENV);
+ ACE_CHECK_RETURN (0);
+
+ return parameter_list;
+}
+
+Dynamic::ExceptionList *
+POA_CORBA::ConstantDef::TAO_ServerRequestInfo_CORBA_ConstantDef_type_get::exceptions (CORBA::Environment &ACE_TRY_ENV)
+ ACE_THROW_SPEC ((CORBA::SystemException))
+{
+ // Generate the exception list on demand.
+ Dynamic::ExceptionList *exception_list =
+ TAO_RequestInfo_Util::make_exception_list (ACE_TRY_ENV);
+ ACE_CHECK_RETURN (0);
+
+ return exception_list;
+}
+
+CORBA::Any *
+POA_CORBA::ConstantDef::TAO_ServerRequestInfo_CORBA_ConstantDef_type_get::result (CORBA::Environment &ACE_TRY_ENV)
+ ACE_THROW_SPEC ((CORBA::SystemException))
+{
+ // Generate the result on demand.
+ CORBA::Boolean tk_void_any = 0;
+ CORBA::Any *result_any =
+ TAO_RequestInfo_Util::make_any (tk_void_any, ACE_TRY_ENV);
+ ACE_CHECK_RETURN (0);
+
+ CORBA::Any_var safe_result_any = result_any;
+
+ (*result_any) <<= this->_result;
+
+ return safe_result_any._retn ();
+}
+
+char *
+POA_CORBA::ConstantDef::TAO_ServerRequestInfo_CORBA_ConstantDef_type_get::target_most_derived_interface (
+ CORBA::Environment &)
+ ACE_THROW_SPEC ((CORBA::SystemException))
+{
+ return
+ CORBA::string_dup (this->_tao_impl->_interface_repository_id ());
+}
+
+CORBA::Boolean
+POA_CORBA::ConstantDef::TAO_ServerRequestInfo_CORBA_ConstantDef_type_get::target_is_a (
+ const char * id,
+ CORBA::Environment &ACE_TRY_ENV)
+ ACE_THROW_SPEC ((CORBA::SystemException))
+{
+ return this->_tao_impl->_is_a (id, ACE_TRY_ENV);
+}
+
+void
+POA_CORBA::ConstantDef::TAO_ServerRequestInfo_CORBA_ConstantDef_type_get::result (CORBA::TypeCode_ptr result)
+{
+ // Update the result.
+ this->_result = result;
+}
+
+POA_CORBA::ConstantDef::TAO_ServerRequestInfo_CORBA_ConstantDef_type_def_get::TAO_ServerRequestInfo_CORBA_ConstantDef_type_def_get (
+ TAO_ServerRequest &_tao_server_request,
+ POA_CORBA::ConstantDef *tao_impl,
+ CORBA::Environment &
+ )
+ : TAO_ServerRequestInfo (_tao_server_request),
+ _tao_impl (tao_impl)
+{}
+
+Dynamic::ParameterList *
+POA_CORBA::ConstantDef::TAO_ServerRequestInfo_CORBA_ConstantDef_type_def_get::arguments (CORBA::Environment &ACE_TRY_ENV)
+ ACE_THROW_SPEC ((CORBA::SystemException))
+{
+ // Generate the argument list on demand.
+ Dynamic::ParameterList *parameter_list =
+ TAO_RequestInfo_Util::make_parameter_list (ACE_TRY_ENV);
+ ACE_CHECK_RETURN (0);
+
+ return parameter_list;
+}
+
+Dynamic::ExceptionList *
+POA_CORBA::ConstantDef::TAO_ServerRequestInfo_CORBA_ConstantDef_type_def_get::exceptions (CORBA::Environment &ACE_TRY_ENV)
+ ACE_THROW_SPEC ((CORBA::SystemException))
+{
+ // Generate the exception list on demand.
+ Dynamic::ExceptionList *exception_list =
+ TAO_RequestInfo_Util::make_exception_list (ACE_TRY_ENV);
+ ACE_CHECK_RETURN (0);
+
+ return exception_list;
+}
+
+CORBA::Any *
+POA_CORBA::ConstantDef::TAO_ServerRequestInfo_CORBA_ConstantDef_type_def_get::result (CORBA::Environment &ACE_TRY_ENV)
+ ACE_THROW_SPEC ((CORBA::SystemException))
+{
+ // Generate the result on demand.
+ CORBA::Boolean tk_void_any = 0;
+ CORBA::Any *result_any =
+ TAO_RequestInfo_Util::make_any (tk_void_any, ACE_TRY_ENV);
+ ACE_CHECK_RETURN (0);
+
+ CORBA::Any_var safe_result_any = result_any;
+
+ (*result_any) <<= this->_result;
+
+ return safe_result_any._retn ();
+}
+
+char *
+POA_CORBA::ConstantDef::TAO_ServerRequestInfo_CORBA_ConstantDef_type_def_get::target_most_derived_interface (
+ CORBA::Environment &)
+ ACE_THROW_SPEC ((CORBA::SystemException))
+{
+ return
+ CORBA::string_dup (this->_tao_impl->_interface_repository_id ());
+}
+
+CORBA::Boolean
+POA_CORBA::ConstantDef::TAO_ServerRequestInfo_CORBA_ConstantDef_type_def_get::target_is_a (
+ const char * id,
+ CORBA::Environment &ACE_TRY_ENV)
+ ACE_THROW_SPEC ((CORBA::SystemException))
+{
+ return this->_tao_impl->_is_a (id, ACE_TRY_ENV);
+}
+
+void
+POA_CORBA::ConstantDef::TAO_ServerRequestInfo_CORBA_ConstantDef_type_def_get::result (CORBA::IDLType_ptr result)
+{
+ // Update the result.
+ this->_result = result;
+}
+
+POA_CORBA::ConstantDef::TAO_ServerRequestInfo_CORBA_ConstantDef_type_def_set::TAO_ServerRequestInfo_CORBA_ConstantDef_type_def_set (
+ TAO_ServerRequest &_tao_server_request,
+ POA_CORBA::ConstantDef *tao_impl,
+ CORBA::IDLType_ptr type_def,
+ CORBA::Environment &
+ )
+ : TAO_ServerRequestInfo (_tao_server_request),
+ _tao_impl (tao_impl),
+ type_def_ (type_def)
+{}
+
+Dynamic::ParameterList *
+POA_CORBA::ConstantDef::TAO_ServerRequestInfo_CORBA_ConstantDef_type_def_set::arguments (CORBA::Environment &ACE_TRY_ENV)
+ ACE_THROW_SPEC ((CORBA::SystemException))
+{
+ // Generate the argument list on demand.
+ Dynamic::ParameterList *parameter_list =
+ TAO_RequestInfo_Util::make_parameter_list (ACE_TRY_ENV);
+ ACE_CHECK_RETURN (0);
+
+ Dynamic::ParameterList_var safe_parameter_list = parameter_list;
+
+ CORBA::ULong length_type_def = parameter_list->length ();
+ parameter_list->length (length_type_def + 1);
+ (*parameter_list)[length_type_def].argument <<= this->type_def_;
+
+ (*parameter_list)[length_type_def].mode = Dynamic::PARAM_IN;
+
+ return safe_parameter_list._retn ();
+}
+
+Dynamic::ExceptionList *
+POA_CORBA::ConstantDef::TAO_ServerRequestInfo_CORBA_ConstantDef_type_def_set::exceptions (CORBA::Environment &ACE_TRY_ENV)
+ ACE_THROW_SPEC ((CORBA::SystemException))
+{
+ // Generate the exception list on demand.
+ Dynamic::ExceptionList *exception_list =
+ TAO_RequestInfo_Util::make_exception_list (ACE_TRY_ENV);
+ ACE_CHECK_RETURN (0);
+
+ return exception_list;
+}
+
+CORBA::Any *
+POA_CORBA::ConstantDef::TAO_ServerRequestInfo_CORBA_ConstantDef_type_def_set::result (CORBA::Environment &ACE_TRY_ENV)
+ ACE_THROW_SPEC ((CORBA::SystemException))
+{
+ // Generate the result on demand.
+ CORBA::Boolean tk_void_any = 1;
+ CORBA::Any *result_any =
+ TAO_RequestInfo_Util::make_any (tk_void_any, ACE_TRY_ENV);
+ ACE_CHECK_RETURN (0);
+
+ return result_any;
+}
+
+char *
+POA_CORBA::ConstantDef::TAO_ServerRequestInfo_CORBA_ConstantDef_type_def_set::target_most_derived_interface (
+ CORBA::Environment &)
+ ACE_THROW_SPEC ((CORBA::SystemException))
+{
+ return
+ CORBA::string_dup (this->_tao_impl->_interface_repository_id ());
+}
+
+CORBA::Boolean
+POA_CORBA::ConstantDef::TAO_ServerRequestInfo_CORBA_ConstantDef_type_def_set::target_is_a (
+ const char * id,
+ CORBA::Environment &ACE_TRY_ENV)
+ ACE_THROW_SPEC ((CORBA::SystemException))
+{
+ return this->_tao_impl->_is_a (id, ACE_TRY_ENV);
+}
+
+POA_CORBA::ConstantDef::TAO_ServerRequestInfo_CORBA_ConstantDef_value_get::TAO_ServerRequestInfo_CORBA_ConstantDef_value_get (
+ TAO_ServerRequest &_tao_server_request,
+ POA_CORBA::ConstantDef *tao_impl,
+ CORBA::Environment &
+ )
+ : TAO_ServerRequestInfo (_tao_server_request),
+ _tao_impl (tao_impl)
+{}
+
+Dynamic::ParameterList *
+POA_CORBA::ConstantDef::TAO_ServerRequestInfo_CORBA_ConstantDef_value_get::arguments (CORBA::Environment &ACE_TRY_ENV)
+ ACE_THROW_SPEC ((CORBA::SystemException))
+{
+ // Generate the argument list on demand.
+ Dynamic::ParameterList *parameter_list =
+ TAO_RequestInfo_Util::make_parameter_list (ACE_TRY_ENV);
+ ACE_CHECK_RETURN (0);
+
+ return parameter_list;
+}
+
+Dynamic::ExceptionList *
+POA_CORBA::ConstantDef::TAO_ServerRequestInfo_CORBA_ConstantDef_value_get::exceptions (CORBA::Environment &ACE_TRY_ENV)
+ ACE_THROW_SPEC ((CORBA::SystemException))
+{
+ // Generate the exception list on demand.
+ Dynamic::ExceptionList *exception_list =
+ TAO_RequestInfo_Util::make_exception_list (ACE_TRY_ENV);
+ ACE_CHECK_RETURN (0);
+
+ return exception_list;
+}
+
+CORBA::Any *
+POA_CORBA::ConstantDef::TAO_ServerRequestInfo_CORBA_ConstantDef_value_get::result (CORBA::Environment &ACE_TRY_ENV)
+ ACE_THROW_SPEC ((CORBA::SystemException))
+{
+ // Generate the result on demand.
+ CORBA::Boolean tk_void_any = 0;
+ CORBA::Any *result_any =
+ TAO_RequestInfo_Util::make_any (tk_void_any, ACE_TRY_ENV);
+ ACE_CHECK_RETURN (0);
+
+ CORBA::Any_var safe_result_any = result_any;
+
+ (*result_any) <<= this->_result;
+
+ return safe_result_any._retn ();
+}
+
+char *
+POA_CORBA::ConstantDef::TAO_ServerRequestInfo_CORBA_ConstantDef_value_get::target_most_derived_interface (
+ CORBA::Environment &)
+ ACE_THROW_SPEC ((CORBA::SystemException))
+{
+ return
+ CORBA::string_dup (this->_tao_impl->_interface_repository_id ());
+}
+
+CORBA::Boolean
+POA_CORBA::ConstantDef::TAO_ServerRequestInfo_CORBA_ConstantDef_value_get::target_is_a (
+ const char * id,
+ CORBA::Environment &ACE_TRY_ENV)
+ ACE_THROW_SPEC ((CORBA::SystemException))
+{
+ return this->_tao_impl->_is_a (id, ACE_TRY_ENV);
+}
+
+void
+POA_CORBA::ConstantDef::TAO_ServerRequestInfo_CORBA_ConstantDef_value_get::result (CORBA::Any * result)
+{
+ // Update the result.
+ this->_result = result;
+}
+
+POA_CORBA::ConstantDef::TAO_ServerRequestInfo_CORBA_ConstantDef_value_set::TAO_ServerRequestInfo_CORBA_ConstantDef_value_set (
+ TAO_ServerRequest &_tao_server_request,
+ POA_CORBA::ConstantDef *tao_impl,
+ const CORBA::Any & value,
+ CORBA::Environment &
+ )
+ : TAO_ServerRequestInfo (_tao_server_request),
+ _tao_impl (tao_impl),
+ value_ (value)
+{}
+
+Dynamic::ParameterList *
+POA_CORBA::ConstantDef::TAO_ServerRequestInfo_CORBA_ConstantDef_value_set::arguments (CORBA::Environment &ACE_TRY_ENV)
+ ACE_THROW_SPEC ((CORBA::SystemException))
+{
+ // Generate the argument list on demand.
+ Dynamic::ParameterList *parameter_list =
+ TAO_RequestInfo_Util::make_parameter_list (ACE_TRY_ENV);
+ ACE_CHECK_RETURN (0);
+
+ Dynamic::ParameterList_var safe_parameter_list = parameter_list;
+
+ CORBA::ULong length_value = parameter_list->length ();
+ parameter_list->length (length_value + 1);
+ (*parameter_list)[length_value].argument <<= value_;
+ (*parameter_list)[length_value].mode = Dynamic::PARAM_IN;
+
+ return safe_parameter_list._retn ();
+}
+
+Dynamic::ExceptionList *
+POA_CORBA::ConstantDef::TAO_ServerRequestInfo_CORBA_ConstantDef_value_set::exceptions (CORBA::Environment &ACE_TRY_ENV)
+ ACE_THROW_SPEC ((CORBA::SystemException))
+{
+ // Generate the exception list on demand.
+ Dynamic::ExceptionList *exception_list =
+ TAO_RequestInfo_Util::make_exception_list (ACE_TRY_ENV);
+ ACE_CHECK_RETURN (0);
+
+ return exception_list;
+}
+
+CORBA::Any *
+POA_CORBA::ConstantDef::TAO_ServerRequestInfo_CORBA_ConstantDef_value_set::result (CORBA::Environment &ACE_TRY_ENV)
+ ACE_THROW_SPEC ((CORBA::SystemException))
+{
+ // Generate the result on demand.
+ CORBA::Boolean tk_void_any = 1;
+ CORBA::Any *result_any =
+ TAO_RequestInfo_Util::make_any (tk_void_any, ACE_TRY_ENV);
+ ACE_CHECK_RETURN (0);
+
+ return result_any;
+}
+
+char *
+POA_CORBA::ConstantDef::TAO_ServerRequestInfo_CORBA_ConstantDef_value_set::target_most_derived_interface (
+ CORBA::Environment &)
+ ACE_THROW_SPEC ((CORBA::SystemException))
+{
+ return
+ CORBA::string_dup (this->_tao_impl->_interface_repository_id ());
+}
+
+CORBA::Boolean
+POA_CORBA::ConstantDef::TAO_ServerRequestInfo_CORBA_ConstantDef_value_set::target_is_a (
+ const char * id,
+ CORBA::Environment &ACE_TRY_ENV)
+ ACE_THROW_SPEC ((CORBA::SystemException))
+{
+ return this->_tao_impl->_is_a (id, ACE_TRY_ENV);
+}
+
+#endif /* TAO_HAS_INTERCEPTORS */
+class TAO_CORBA_StructDef_Perfect_Hash_OpTable : public TAO_Perfect_Hash_OpTable
+{
+private:
+ unsigned int hash (const char *str, unsigned int len);
+public:
+ const TAO_operation_db_entry * lookup (const char *str, unsigned int len);
+};
+/* starting time is 10:44:37 */
+/* C++ code produced by gperf version 2.8 (ACE version) */
+/* Command-line: gperf -m -M -J -c -C -D -E -T -f 0 -F 0 -a -o -t -p -K opname_ -L C++ -Z TAO_CORBA_StructDef_Perfect_Hash_OpTable -N lookup */
+unsigned int
+TAO_CORBA_StructDef_Perfect_Hash_OpTable::hash (const char *str, unsigned int len)
+{
+ static const unsigned char asso_values[] =
+ {
+#if defined (ACE_MVS)
+ 61, 61, 61, 61, 61, 61, 61, 61, 61, 61,
+ 61, 61, 61, 61, 61, 61, 61, 61, 61, 61,
+ 61, 61, 61, 61, 61, 61, 61, 61, 61, 61,
+ 61, 61, 61, 61, 61, 61, 61, 61, 61, 61,
+ 61, 61, 61, 61, 61, 61, 61, 61, 61, 61,
+ 61, 61, 61, 61, 61, 61, 61, 61, 61, 61,
+ 61, 61, 61, 61, 61, 61, 61, 61, 61, 61,
+ 61, 61, 61, 61, 61, 61, 61, 61, 61, 61,
+ 61, 61, 61, 61, 61, 61, 61, 61, 61, 61,
+ 61, 61, 61, 61, 61, 61, 61, 61, 61, 61,
+ 61, 61, 61, 61, 61, 61, 61, 61, 61, 0,
+ 61, 61, 61, 61, 61, 61, 61, 61, 61, 61,
+ 61, 61, 61, 61, 61, 61, 61, 61, 61, 0,
+ 61, 25, 3, 0, 61, 61, 61, 61, 61, 61,
+ 61, 61, 61, 61, 61, 61, 61, 10, 0, 5,
+ 61, 10, 61, 61, 61, 61, 61, 61, 61, 61,
+ 61, 61, 20, 20, 61, 61, 61, 10, 5, 61,
+ 61, 61, 61, 61, 61, 61, 61, 61, 61, 61,
+ 61, 61, 61, 61, 61, 61, 61, 61, 61, 61,
+ 61, 61, 61, 61, 61, 61, 61, 61, 61, 61,
+ 61, 61, 61, 61, 61, 61, 61, 61, 61, 61,
+ 61, 61, 61, 61, 61, 61, 61, 61, 61, 61,
+ 61, 61, 61, 61, 61, 61, 61, 61, 61, 61,
+ 61, 61, 61, 61, 61, 61, 61, 61, 61, 61,
+ 61, 61, 61, 61, 61, 61, 61, 61, 61, 61,
+ 61, 61, 61, 61, 61, 61,
+#else
+ 61, 61, 61, 61, 61, 61, 61, 61, 61, 61,
+ 61, 61, 61, 61, 61, 61, 61, 61, 61, 61,
+ 61, 61, 61, 61, 61, 61, 61, 61, 61, 61,
+ 61, 61, 61, 61, 61, 61, 61, 61, 61, 61,
+ 61, 61, 61, 61, 61, 61, 61, 61, 61, 61,
+ 61, 61, 61, 61, 61, 61, 61, 61, 61, 61,
+ 61, 61, 61, 61, 61, 61, 61, 61, 61, 61,
+ 61, 61, 61, 61, 61, 61, 61, 61, 61, 61,
+ 61, 61, 61, 61, 61, 61, 61, 61, 61, 61,
+ 61, 61, 61, 61, 61, 0, 61, 0, 61, 25,
+ 3, 0, 61, 61, 61, 61, 61, 61, 10, 0,
+ 5, 61, 10, 61, 61, 20, 20, 61, 61, 61,
+ 10, 5, 61, 61, 61, 61, 61, 61,
+#endif /* ACE_MVS */
+ };
+ return len + asso_values[str[len - 1]] + asso_values[str[0]];
+}
+
+const class TAO_operation_db_entry *
+TAO_CORBA_StructDef_Perfect_Hash_OpTable::lookup (const char *str, unsigned int len)
+{
+ enum
+ {
+ TOTAL_KEYWORDS = 35,
+ MIN_WORD_LENGTH = 4,
+ MAX_WORD_LENGTH = 26,
+ MIN_HASH_VALUE = 4,
+ MAX_HASH_VALUE = 60,
+ HASH_VALUE_RANGE = 57,
+ DUPLICATES = 7
+ };
+
+ static const class TAO_operation_db_entry wordlist[] =
+ {
+ {"",0},{"",0},{"",0},{"",0},
+ {"move", &POA_CORBA::StructDef::move_skel},
+ {"_is_a", &POA_CORBA::StructDef::_is_a_skel},
+ {"_get_name", &POA_CORBA::StructDef::_get_name_skel},
+ {"_get_type", &POA_CORBA::StructDef::_get_type_skel},
+ {"_set_name", &POA_CORBA::StructDef::_set_name_skel},
+ {"_get_id", &POA_CORBA::StructDef::_get_id_skel},
+ {"_set_id", &POA_CORBA::StructDef::_set_id_skel},
+ {"describe", &POA_CORBA::StructDef::describe_skel},
+ {"destroy", &POA_CORBA::StructDef::destroy_skel},
+ {"_get_def_kind", &POA_CORBA::StructDef::_get_def_kind_skel},
+ {"_get_version", &POA_CORBA::StructDef::_get_version_skel},
+ {"_set_version", &POA_CORBA::StructDef::_set_version_skel},
+ {"_get_absolute_name", &POA_CORBA::StructDef::_get_absolute_name_skel},
+ {"_get_defined_in", &POA_CORBA::StructDef::_get_defined_in_skel},
+ {"lookup_name", &POA_CORBA::StructDef::lookup_name_skel},
+ {"lookup", &POA_CORBA::StructDef::lookup_skel},
+ {"_get_containing_repository", &POA_CORBA::StructDef::_get_containing_repository_skel},
+ {"_get_members", &POA_CORBA::StructDef::_get_members_skel},
+ {"_set_members", &POA_CORBA::StructDef::_set_members_skel},
+ {"_non_existent", &POA_CORBA::StructDef::_non_existent_skel},
+ {"create_enum", &POA_CORBA::StructDef::create_enum_skel},
+ {"create_value", &POA_CORBA::StructDef::create_value_skel},
+ {"create_module", &POA_CORBA::StructDef::create_module_skel},
+ {"create_native", &POA_CORBA::StructDef::create_native_skel},
+ {"describe_contents", &POA_CORBA::StructDef::describe_contents_skel},
+ {"create_interface", &POA_CORBA::StructDef::create_interface_skel},
+ {"create_union", &POA_CORBA::StructDef::create_union_skel},
+ {"create_exception", &POA_CORBA::StructDef::create_exception_skel},
+ {"create_local_interface", &POA_CORBA::StructDef::create_local_interface_skel},
+ {"create_abstract_interface", &POA_CORBA::StructDef::create_abstract_interface_skel},
+ {"create_value_box", &POA_CORBA::StructDef::create_value_box_skel},
+ {"contents", &POA_CORBA::StructDef::contents_skel},
+ {"create_alias", &POA_CORBA::StructDef::create_alias_skel},
+ {"create_struct", &POA_CORBA::StructDef::create_struct_skel},
+ {"create_constant", &POA_CORBA::StructDef::create_constant_skel},
+ };
+
+ static const signed char lookup[] =
+ {
+ -1, -1, -6, -3, 4, 5, -1, -9, -2, -67, -63, 11, -1, -14,
+ -2, 12, 13, -64, 16, -1, 17, 18, -1, -1, -1, -1, 19, -1,
+ -1, -21, -2, 20, -63, 23, -26, -2, 24, 25, -64, -1, 28, 29,
+ 30, -1, -1, -1, 31, 32, -1, -1, 33, 34, -1, 35, -1, -1,
+ -1, 36, 37, -1, 38,
+ };
+
+ if (len <= MAX_WORD_LENGTH && len >= MIN_WORD_LENGTH)
+ {
+ unsigned int key = hash (str, len);
+
+ if (key <= MAX_HASH_VALUE && key >= MIN_HASH_VALUE)
+ {
+ int slot = lookup[key];
+
+ if (slot >= 0 && slot < MAX_HASH_VALUE)
+ {
+ const char *s = wordlist[slot].opname_;
+
+ if (*str == *s && !strncmp (str + 1, s + 1, len - 1))
+ return &wordlist[slot];
+ }
+ else if (slot < 0 && slot >= -MAX_HASH_VALUE)
+ return 0;
+ else
+ {
+ unsigned int offset = key + slot + (slot > 0 ? -MAX_HASH_VALUE : MAX_HASH_VALUE);
+ const class TAO_operation_db_entry *base = &wordlist[-lookup[offset]];
+ const class TAO_operation_db_entry *ptr = base + -lookup[offset + 1];
+
+ while (--ptr >= base)
+ if (*str == *ptr->opname_ && !strncmp (str + 1, ptr->opname_ + 1, len - 1))
+ return ptr;
+ }
+ }
+ }
+ return 0;
+}
+/* ending time is 10:44:37 */
+static TAO_CORBA_StructDef_Perfect_Hash_OpTable tao_CORBA_StructDef_optable;
+
+
+///////////////////////////////////////////////////////////////////////
+// Strategized Proxy Broker Implementation
+//
+
+// Factory function Implementation.
+POA_CORBA::_TAO_StructDef_Strategized_Proxy_Broker *POA_CORBA::_TAO_StructDef_Strategized_Proxy_Broker::the_TAO_StructDef_Strategized_Proxy_Broker (void)
+{
+ static POA_CORBA::_TAO_StructDef_Strategized_Proxy_Broker strategized_proxy_broker;
+ return &strategized_proxy_broker;
+}
+
+POA_CORBA::_TAO_StructDef_Strategized_Proxy_Broker::_TAO_StructDef_Strategized_Proxy_Broker (void)
+{
+ for (int i = 0; i < TAO_Collocation_Strategies::CS_LAST; ++i)
+ this->proxy_cache_[i] = 0;
+
+}
+
+POA_CORBA::_TAO_StructDef_Strategized_Proxy_Broker::~_TAO_StructDef_Strategized_Proxy_Broker (void)
+{
+ for (int i = 0; i < TAO_Collocation_Strategies::CS_LAST; ++i)
+ delete this->proxy_cache_[i];
+
+}
+
+_TAO_StructDef_Proxy_Impl&
+POA_CORBA::_TAO_StructDef_Strategized_Proxy_Broker::select_proxy (
+ ::CORBA::StructDef *object,
+ CORBA::Environment &ACE_TRY_ENV
+ )
+{
+ int strategy =
+ TAO_ORB_Core::collocation_strategy (object);
+
+ if (this->proxy_cache_[strategy] != 0)
+ return *this->proxy_cache_[strategy];
+
+ this->create_proxy (strategy, ACE_TRY_ENV);
+ ACE_CHECK_RETURN (*this->proxy_cache_[strategy]);
+
+ return *this->proxy_cache_[strategy];
+
+}
+
+void
+POA_CORBA::_TAO_StructDef_Strategized_Proxy_Broker::create_proxy (
+ int strategy,
+ CORBA::Environment &ACE_TRY_ENV
+ )
+{
+ ACE_GUARD (TAO_SYNCH_MUTEX, guard, this->mutex_);
+
+ if (this->proxy_cache_[strategy] == 0)
+ {
+ switch (strategy)
+ {
+ case TAO_Collocation_Strategies::CS_THRU_POA_STRATEGY:
+ ACE_NEW_THROW_EX (
+ this->proxy_cache_[strategy],
+ _TAO_StructDef_ThruPOA_Proxy_Impl,
+ CORBA::NO_MEMORY ()
+ );
+ ACE_CHECK;
+ break;
+
+ case TAO_Collocation_Strategies::CS_REMOTE_STRATEGY:
+ default:
+ ACE_NEW_THROW_EX (
+ this->proxy_cache_[strategy],
+ ::_TAO_StructDef_Remote_Proxy_Impl,
+ CORBA::NO_MEMORY ()
+ );
+ ACE_CHECK;
+ break;
+
+ }
+
+ }
+}
+
+
+//
+// End Strategized Proxy Broker Implementation
+///////////////////////////////////////////////////////////////////////
+
+
+_TAO_StructDef_Proxy_Broker *
+CORBA__TAO_StructDef_Proxy_Broker_Factory_function (CORBA::Object_ptr obj)
+{
+ ACE_UNUSED_ARG (obj);
+ return ::POA_CORBA::_TAO_StructDef_Strategized_Proxy_Broker::the_TAO_StructDef_Strategized_Proxy_Broker();
+}
+
+int
+CORBA__TAO_StructDef_Proxy_Broker_Factory_Initializer (long _dummy_)
+{
+ ACE_UNUSED_ARG (_dummy_);
+
+ CORBA__TAO_StructDef_Proxy_Broker_Factory_function_pointer =
+ CORBA__TAO_StructDef_Proxy_Broker_Factory_function;
+
+ return 0;
+}
+
+static int CORBA__TAO_StructDef_Proxy_Broker_Stub_Factory_Initializer_Scarecrow =
+ CORBA__TAO_StructDef_Proxy_Broker_Factory_Initializer (ACE_reinterpret_cast (long, CORBA__TAO_StructDef_Proxy_Broker_Factory_Initializer));
+
+
+///////////////////////////////////////////////////////////////////////
+// ThruPOA Proxy Implementation
+//
+
+POA_CORBA::_TAO_StructDef_ThruPOA_Proxy_Impl::_TAO_StructDef_ThruPOA_Proxy_Impl (void)
+{}
+
+// ThruPOA Implementation of the IDL interface methods
+
+CORBA::StructMemberSeq * POA_CORBA::_TAO_StructDef_ThruPOA_Proxy_Impl::members (
+ CORBA_Object *_collocated_tao_target_,
+ CORBA::Environment &ACE_TRY_ENV
+ )
+ ACE_THROW_SPEC ((
+ CORBA::SystemException
+ ))
+{
+ CORBA::StructMemberSeq_var _tao_retval;
+ ACE_UNUSED_ARG (_tao_retval);
+ TAO_Object_Adapter::Servant_Upcall servant_upcall (
+ _collocated_tao_target_->_stubobj ()->servant_orb_var ()->orb_core ()
+ );
+ CORBA::Object_var forward_to;
+ servant_upcall.prepare_for_upcall (
+ _collocated_tao_target_->_object_key (),
+ "members",
+ forward_to.out (),
+ ACE_TRY_ENV
+ );
+ ACE_CHECK_RETURN (0);
+ return ACE_reinterpret_cast (
+ POA_CORBA::StructDef_ptr,
+ servant_upcall.servant ()->_downcast (
+ "IDL:omg.org/CORBA/StructDef:1.0"
+ )
+ )->members (
+ ACE_TRY_ENV
+ );
+}
+
+void POA_CORBA::_TAO_StructDef_ThruPOA_Proxy_Impl::members (
+ CORBA_Object *_collocated_tao_target_,
+ const CORBA::StructMemberSeq & members,
+ CORBA::Environment &ACE_TRY_ENV
+ )
+ ACE_THROW_SPEC ((
+ CORBA::SystemException
+ ))
+{
+ TAO_Object_Adapter::Servant_Upcall servant_upcall (
+ _collocated_tao_target_->_stubobj ()->servant_orb_var ()->orb_core ()
+ );
+ CORBA::Object_var forward_to;
+ servant_upcall.prepare_for_upcall (
+ _collocated_tao_target_->_object_key (),
+ "members",
+ forward_to.out (),
+ ACE_TRY_ENV
+ );
+ ACE_CHECK;
+ ACE_reinterpret_cast (
+ POA_CORBA::StructDef_ptr,
+ servant_upcall.servant ()->_downcast (
+ "IDL:omg.org/CORBA/StructDef:1.0"
+ )
+ )->members (
+ members,
+ ACE_TRY_ENV
+ );
+ return;
+}
+
+//
+// End ThruPOA Proxy Implementation
+///////////////////////////////////////////////////////////////////////
+
+// skeleton constructor
+POA_CORBA::StructDef::StructDef (void)
+{
+ this->optable_ = &tao_CORBA_StructDef_optable;
+}
+
+// copy ctor
+POA_CORBA::StructDef::StructDef (const StructDef& rhs)
+ : ACE_NESTED_CLASS (POA_CORBA,TypedefDef) (rhs),
+ ACE_NESTED_CLASS (POA_CORBA,Container) (rhs),
+ ACE_NESTED_CLASS (POA_CORBA,Contained) (rhs),
+ ACE_NESTED_CLASS (POA_CORBA,IDLType) (rhs),
+ ACE_NESTED_CLASS (POA_CORBA,IRObject) (rhs),
+ TAO_ServantBase (rhs)
+{}
+
+// skeleton destructor
+POA_CORBA::StructDef::~StructDef (void)
+{
+}
+
+void POA_CORBA::StructDef::_get_members_skel (
+ TAO_ServerRequest &_tao_server_request,
+ void *_tao_object_reference,
+ void * /* context */,
+ CORBA::Environment &ACE_TRY_ENV
+ )
+{
+ POA_CORBA::StructDef *_tao_impl = (POA_CORBA::StructDef *)_tao_object_reference;
+
+ CORBA::StructMemberSeq_var _tao_retval;
+
+#if (TAO_HAS_INTERCEPTORS == 1)
+ TAO_ServerRequestInterceptor_Adapter _tao_vfr (
+ _tao_server_request.orb_core ()->server_request_interceptors (),
+ _tao_server_request.interceptor_count ()
+ );
+
+ POA_CORBA::StructDef::TAO_ServerRequestInfo_CORBA_StructDef_members_get ri (
+ _tao_server_request,
+ _tao_impl,
+ ACE_TRY_ENV
+ );
+
+ ACE_TRY
+ {
+ _tao_vfr.receive_request (&ri, ACE_TRY_ENV);
+ ACE_TRY_CHECK;
+
+#endif /* TAO_HAS_INTERCEPTORS */
+ _tao_retval =
+ _tao_impl->members (
+ ACE_TRY_ENV
+ );
+ TAO_INTERCEPTOR_CHECK;
+
+#if (TAO_HAS_INTERCEPTORS == 1)
+ CORBA::StructMemberSeq * _tao_retval_info = _tao_retval._retn ();
+ ri.result (_tao_retval_info);
+ _tao_retval = _tao_retval_info;
+ ri.reply_status (PortableInterceptor::SUCCESSFUL);
+ _tao_vfr.send_reply (&ri, ACE_TRY_ENV);
+ ACE_TRY_CHECK;
+ }
+ ACE_CATCH (PortableInterceptor::ForwardRequest, exc)
+ {
+ ri.forward_reference (exc);
+ _tao_vfr.send_other (
+ &ri,
+ ACE_TRY_ENV
+ );
+ ACE_TRY_CHECK;
+ _tao_server_request.forward_location (exc.forward.in ());
+ }
+ ACE_CATCHANY
+ {
+ ri.exception (&ACE_ANY_EXCEPTION);
+ _tao_vfr.send_exception (
+ &ri,
+ ACE_TRY_ENV
+ );
+ ACE_TRY_CHECK;
+ ACE_RE_THROW;
+ }
+ ACE_ENDTRY;
+ ACE_CHECK;
+#endif /* TAO_HAS_INTERCEPTORS */
+
+ _tao_server_request.init_reply ();
+
+ TAO_OutputCDR &_tao_out = _tao_server_request.outgoing ();
+
+ if (!(
+ (_tao_out << _tao_retval.in ())
+ ))
+ ACE_THROW (CORBA::MARSHAL());
+
+ // In case ACE_TRY_ENV is not used in this function
+ ACE_UNUSED_ARG (ACE_TRY_ENV);
+}
+
+void POA_CORBA::StructDef::_set_members_skel (
+ TAO_ServerRequest &_tao_server_request,
+ void *_tao_object_reference,
+ void * /* context */,
+ CORBA::Environment &ACE_TRY_ENV
+ )
+{
+ TAO_InputCDR &_tao_in = _tao_server_request.incoming ();
+ POA_CORBA::StructDef *_tao_impl = (POA_CORBA::StructDef *)_tao_object_reference;
+
+ _tao_server_request.argument_flag (0);
+ CORBA::StructMemberSeq members;
+ if (!(
+ (_tao_in >> members)
+ ))
+ ACE_THROW (CORBA::MARSHAL());
+
+
+#if (TAO_HAS_INTERCEPTORS == 1)
+ TAO_ServerRequestInterceptor_Adapter _tao_vfr (
+ _tao_server_request.orb_core ()->server_request_interceptors (),
+ _tao_server_request.interceptor_count ()
+ );
+
+ POA_CORBA::StructDef::TAO_ServerRequestInfo_CORBA_StructDef_members_set ri (
+ _tao_server_request,
+ _tao_impl,
+ members,
+ ACE_TRY_ENV
+ );
+
+ ACE_TRY
+ {
+ _tao_vfr.receive_request (&ri, ACE_TRY_ENV);
+ ACE_TRY_CHECK;
+
+#endif /* TAO_HAS_INTERCEPTORS */
+
+ _tao_impl->members (
+ members,
+ ACE_TRY_ENV
+ );
+ TAO_INTERCEPTOR_CHECK;
+
+#if (TAO_HAS_INTERCEPTORS == 1)
+ ri.reply_status (PortableInterceptor::SUCCESSFUL);
+ _tao_vfr.send_reply (&ri, ACE_TRY_ENV);
+ ACE_TRY_CHECK;
+ }
+ ACE_CATCH (PortableInterceptor::ForwardRequest, exc)
+ {
+ ri.forward_reference (exc);
+ _tao_vfr.send_other (
+ &ri,
+ ACE_TRY_ENV
+ );
+ ACE_TRY_CHECK;
+ _tao_server_request.forward_location (exc.forward.in ());
+ }
+ ACE_CATCHANY
+ {
+ ri.exception (&ACE_ANY_EXCEPTION);
+ _tao_vfr.send_exception (
+ &ri,
+ ACE_TRY_ENV
+ );
+ ACE_TRY_CHECK;
+ ACE_RE_THROW;
+ }
+ ACE_ENDTRY;
+ ACE_CHECK;
+#endif /* TAO_HAS_INTERCEPTORS */
+
+ _tao_server_request.init_reply ();
+
+ // In case ACE_TRY_ENV is not used in this function
+ ACE_UNUSED_ARG (ACE_TRY_ENV);
+}
+
+void POA_CORBA::StructDef::_is_a_skel (
+ TAO_ServerRequest &_tao_server_request,
+ void * _tao_object_reference,
+ void * /* context */,
+ CORBA::Environment &ACE_TRY_ENV
+ )
+{
+ TAO_InputCDR &_tao_in = _tao_server_request.incoming ();
+ POA_CORBA::StructDef *_tao_impl = (POA_CORBA::StructDef *) _tao_object_reference;
+ CORBA::Boolean _tao_retval = 0;
+ CORBA::String_var value;
+ if (!(_tao_in >> value.out ()))
+ ACE_THROW (CORBA::MARSHAL ());
+
+ _tao_retval = _tao_impl->_is_a (value.in (), ACE_TRY_ENV);
+ ACE_CHECK;
+
+ _tao_server_request.init_reply ();
+ TAO_OutputCDR &_tao_out = _tao_server_request.outgoing ();
+ if (!(_tao_out << CORBA::Any::from_boolean (_tao_retval)))
+ ACE_THROW (CORBA::MARSHAL ());
+}
+
+void POA_CORBA::StructDef::_non_existent_skel (
+ TAO_ServerRequest &_tao_server_request,
+ void * _tao_object_reference,
+ void * /* context */,
+ CORBA::Environment &ACE_TRY_ENV
+ )
+{
+ POA_CORBA::StructDef *_tao_impl = (POA_CORBA::StructDef *) _tao_object_reference;
+ CORBA::Boolean _tao_retval = _tao_impl->_non_existent (ACE_TRY_ENV);
+ ACE_CHECK;
+
+ _tao_server_request.init_reply ();
+ TAO_OutputCDR &_tao_out = _tao_server_request.outgoing ();
+ if (!(_tao_out << CORBA::Any::from_boolean (_tao_retval)))
+ ACE_THROW (CORBA::MARSHAL ());
+}
+
+CORBA::Boolean POA_CORBA::StructDef::_is_a (
+ const char* value,
+ CORBA::Environment &ACE_TRY_ENV
+ )
+{
+ const char *base_id = CORBA::_tc_Object->id (ACE_TRY_ENV);
+ ACE_CHECK_RETURN (0);
+
+ if (
+ (!ACE_OS::strcmp ((char *)value, "IDL:omg.org/CORBA/StructDef:1.0")) ||
+ (!ACE_OS::strcmp ((char *)value, "IDL:omg.org/CORBA/TypedefDef:1.0")) ||
+ (!ACE_OS::strcmp ((char *)value, "IDL:omg.org/CORBA/Container:1.0")) ||
+ (!ACE_OS::strcmp ((char *)value, "IDL:omg.org/CORBA/Contained:1.0")) ||
+ (!ACE_OS::strcmp ((char *)value, "IDL:omg.org/CORBA/IDLType:1.0")) ||
+ (!ACE_OS::strcmp ((char *)value, "IDL:omg.org/CORBA/IRObject:1.0")) ||
+ (!ACE_OS::strcmp ((char *)value, base_id)))
+ return 1;
+ else
+ return 0;
+}
+
+void* POA_CORBA::StructDef::_downcast (
+ const char* logical_type_id
+ )
+{
+ if (ACE_OS::strcmp (logical_type_id, "IDL:omg.org/CORBA/StructDef:1.0") == 0)
+ return ACE_static_cast (POA_CORBA::StructDef_ptr, this);
+ if (ACE_OS::strcmp (logical_type_id, "IDL:omg.org/CORBA/TypedefDef:1.0") == 0)
+ return ACE_static_cast (POA_CORBA::TypedefDef_ptr, this);
+ if (ACE_OS::strcmp (logical_type_id, "IDL:omg.org/CORBA/Container:1.0") == 0)
+ return ACE_static_cast (POA_CORBA::Container_ptr, this);
+ if (ACE_OS::strcmp (logical_type_id, "IDL:omg.org/CORBA/Contained:1.0") == 0)
+ return ACE_static_cast (POA_CORBA::Contained_ptr, this);
+ if (ACE_OS::strcmp (logical_type_id, "IDL:omg.org/CORBA/IDLType:1.0") == 0)
+ return ACE_static_cast (POA_CORBA::IDLType_ptr, this);
+ if (ACE_OS::strcmp (logical_type_id, "IDL:omg.org/CORBA/IRObject:1.0") == 0)
+ return ACE_static_cast (POA_CORBA::IRObject_ptr, this);
+ if (ACE_OS::strcmp (logical_type_id, "IDL:omg.org/CORBA/Object:1.0") == 0)
+ return ACE_static_cast(PortableServer::Servant, this);
+ return 0;
+}
+
+void POA_CORBA::StructDef::_dispatch (TAO_ServerRequest &req, void *context, CORBA::Environment &ACE_TRY_ENV)
+{
+ this->synchronous_upcall_dispatch(req, context, this, ACE_TRY_ENV);
+}
+
+const char* POA_CORBA::StructDef::_interface_repository_id (void) const
+{
+ return "IDL:omg.org/CORBA/StructDef:1.0";
+}
+
+CORBA::StructDef*
+POA_CORBA::StructDef::_this (CORBA_Environment &ACE_TRY_ENV)
+{
+ TAO_Stub *stub = this->_create_stub (ACE_TRY_ENV);
+ ACE_CHECK_RETURN (0);
+
+ CORBA::Object_ptr tmp = CORBA::Object::_nil ();
+
+ if (stub->servant_orb_var ()->orb_core ()->optimize_collocation_objects ())
+ ACE_NEW_RETURN (tmp, CORBA::Object (stub, 1, this), 0);
+ else
+ ACE_NEW_RETURN (tmp, CORBA::Object (stub, 0, this), 0);
+
+ CORBA::Object_var obj = tmp;
+ return ::CORBA::StructDef::_unchecked_narrow (obj.in ());
+}
+
+
+#if (TAO_HAS_INTERCEPTORS == 1)
+POA_CORBA::StructDef::TAO_ServerRequestInfo_CORBA_StructDef_members_get::TAO_ServerRequestInfo_CORBA_StructDef_members_get (
+ TAO_ServerRequest &_tao_server_request,
+ POA_CORBA::StructDef *tao_impl,
+ CORBA::Environment &
+ )
+ : TAO_ServerRequestInfo (_tao_server_request),
+ _tao_impl (tao_impl)
+{}
+
+Dynamic::ParameterList *
+POA_CORBA::StructDef::TAO_ServerRequestInfo_CORBA_StructDef_members_get::arguments (CORBA::Environment &ACE_TRY_ENV)
+ ACE_THROW_SPEC ((CORBA::SystemException))
+{
+ // Generate the argument list on demand.
+ Dynamic::ParameterList *parameter_list =
+ TAO_RequestInfo_Util::make_parameter_list (ACE_TRY_ENV);
+ ACE_CHECK_RETURN (0);
+
+ return parameter_list;
+}
+
+Dynamic::ExceptionList *
+POA_CORBA::StructDef::TAO_ServerRequestInfo_CORBA_StructDef_members_get::exceptions (CORBA::Environment &ACE_TRY_ENV)
+ ACE_THROW_SPEC ((CORBA::SystemException))
+{
+ // Generate the exception list on demand.
+ Dynamic::ExceptionList *exception_list =
+ TAO_RequestInfo_Util::make_exception_list (ACE_TRY_ENV);
+ ACE_CHECK_RETURN (0);
+
+ return exception_list;
+}
+
+CORBA::Any *
+POA_CORBA::StructDef::TAO_ServerRequestInfo_CORBA_StructDef_members_get::result (CORBA::Environment &ACE_TRY_ENV)
+ ACE_THROW_SPEC ((CORBA::SystemException))
+{
+ // Generate the result on demand.
+ CORBA::Boolean tk_void_any = 0;
+ CORBA::Any *result_any =
+ TAO_RequestInfo_Util::make_any (tk_void_any, ACE_TRY_ENV);
+ ACE_CHECK_RETURN (0);
+
+ CORBA::Any_var safe_result_any = result_any;
+
+ (*result_any) <<= this->_result;
+
+ return safe_result_any._retn ();
+}
+
+char *
+POA_CORBA::StructDef::TAO_ServerRequestInfo_CORBA_StructDef_members_get::target_most_derived_interface (
+ CORBA::Environment &)
+ ACE_THROW_SPEC ((CORBA::SystemException))
+{
+ return
+ CORBA::string_dup (this->_tao_impl->_interface_repository_id ());
+}
+
+CORBA::Boolean
+POA_CORBA::StructDef::TAO_ServerRequestInfo_CORBA_StructDef_members_get::target_is_a (
+ const char * id,
+ CORBA::Environment &ACE_TRY_ENV)
+ ACE_THROW_SPEC ((CORBA::SystemException))
+{
+ return this->_tao_impl->_is_a (id, ACE_TRY_ENV);
+}
+
+void
+POA_CORBA::StructDef::TAO_ServerRequestInfo_CORBA_StructDef_members_get::result (CORBA::StructMemberSeq * result)
+{
+ // Update the result.
+ this->_result = result;
+}
+
+POA_CORBA::StructDef::TAO_ServerRequestInfo_CORBA_StructDef_members_set::TAO_ServerRequestInfo_CORBA_StructDef_members_set (
+ TAO_ServerRequest &_tao_server_request,
+ POA_CORBA::StructDef *tao_impl,
+ const CORBA::StructMemberSeq & members,
+ CORBA::Environment &
+ )
+ : TAO_ServerRequestInfo (_tao_server_request),
+ _tao_impl (tao_impl),
+ members_ (members)
+{}
+
+Dynamic::ParameterList *
+POA_CORBA::StructDef::TAO_ServerRequestInfo_CORBA_StructDef_members_set::arguments (CORBA::Environment &ACE_TRY_ENV)
+ ACE_THROW_SPEC ((CORBA::SystemException))
+{
+ // Generate the argument list on demand.
+ Dynamic::ParameterList *parameter_list =
+ TAO_RequestInfo_Util::make_parameter_list (ACE_TRY_ENV);
+ ACE_CHECK_RETURN (0);
+
+ Dynamic::ParameterList_var safe_parameter_list = parameter_list;
+
+ CORBA::ULong length_members = parameter_list->length ();
+ parameter_list->length (length_members + 1);
+ (*parameter_list)[length_members].argument <<= this->members_;
+
+ (*parameter_list)[length_members].mode = Dynamic::PARAM_IN;
+
+ return safe_parameter_list._retn ();
+}
+
+Dynamic::ExceptionList *
+POA_CORBA::StructDef::TAO_ServerRequestInfo_CORBA_StructDef_members_set::exceptions (CORBA::Environment &ACE_TRY_ENV)
+ ACE_THROW_SPEC ((CORBA::SystemException))
+{
+ // Generate the exception list on demand.
+ Dynamic::ExceptionList *exception_list =
+ TAO_RequestInfo_Util::make_exception_list (ACE_TRY_ENV);
+ ACE_CHECK_RETURN (0);
+
+ return exception_list;
+}
+
+CORBA::Any *
+POA_CORBA::StructDef::TAO_ServerRequestInfo_CORBA_StructDef_members_set::result (CORBA::Environment &ACE_TRY_ENV)
+ ACE_THROW_SPEC ((CORBA::SystemException))
+{
+ // Generate the result on demand.
+ CORBA::Boolean tk_void_any = 1;
+ CORBA::Any *result_any =
+ TAO_RequestInfo_Util::make_any (tk_void_any, ACE_TRY_ENV);
+ ACE_CHECK_RETURN (0);
+
+ return result_any;
+}
+
+char *
+POA_CORBA::StructDef::TAO_ServerRequestInfo_CORBA_StructDef_members_set::target_most_derived_interface (
+ CORBA::Environment &)
+ ACE_THROW_SPEC ((CORBA::SystemException))
+{
+ return
+ CORBA::string_dup (this->_tao_impl->_interface_repository_id ());
+}
+
+CORBA::Boolean
+POA_CORBA::StructDef::TAO_ServerRequestInfo_CORBA_StructDef_members_set::target_is_a (
+ const char * id,
+ CORBA::Environment &ACE_TRY_ENV)
+ ACE_THROW_SPEC ((CORBA::SystemException))
+{
+ return this->_tao_impl->_is_a (id, ACE_TRY_ENV);
+}
+
+#endif /* TAO_HAS_INTERCEPTORS */
+class TAO_CORBA_UnionDef_Perfect_Hash_OpTable : public TAO_Perfect_Hash_OpTable
+{
+private:
+ unsigned int hash (const char *str, unsigned int len);
+public:
+ const TAO_operation_db_entry * lookup (const char *str, unsigned int len);
+};
+/* starting time is 10:44:37 */
+/* C++ code produced by gperf version 2.8 (ACE version) */
+/* Command-line: gperf -m -M -J -c -C -D -E -T -f 0 -F 0 -a -o -t -p -K opname_ -L C++ -Z TAO_CORBA_UnionDef_Perfect_Hash_OpTable -N lookup */
+unsigned int
+TAO_CORBA_UnionDef_Perfect_Hash_OpTable::hash (const char *str, unsigned int len)
+{
+ static const unsigned char asso_values[] =
+ {
+#if defined (ACE_MVS)
+ 61, 61, 61, 61, 61, 61, 61, 61, 61, 61,
+ 61, 61, 61, 61, 61, 61, 61, 61, 61, 61,
+ 61, 61, 61, 61, 61, 61, 61, 61, 61, 61,
+ 61, 61, 61, 61, 61, 61, 61, 61, 61, 61,
+ 61, 61, 61, 61, 61, 61, 61, 61, 61, 61,
+ 61, 61, 61, 61, 61, 61, 61, 61, 61, 61,
+ 61, 61, 61, 61, 61, 61, 61, 61, 61, 61,
+ 61, 61, 61, 61, 61, 61, 61, 61, 61, 61,
+ 61, 61, 61, 61, 61, 61, 61, 61, 61, 61,
+ 61, 61, 61, 61, 61, 61, 61, 61, 61, 61,
+ 61, 61, 61, 61, 61, 61, 61, 61, 61, 0,
+ 61, 61, 61, 61, 61, 61, 61, 61, 61, 61,
+ 61, 61, 61, 61, 61, 61, 61, 61, 61, 0,
+ 61, 25, 3, 0, 0, 61, 61, 61, 61, 61,
+ 61, 61, 61, 61, 61, 61, 61, 10, 0, 5,
+ 61, 10, 61, 61, 61, 61, 61, 61, 61, 61,
+ 61, 61, 20, 20, 61, 61, 61, 10, 5, 61,
+ 61, 61, 61, 61, 61, 61, 61, 61, 61, 61,
+ 61, 61, 61, 61, 61, 61, 61, 61, 61, 61,
+ 61, 61, 61, 61, 61, 61, 61, 61, 61, 61,
+ 61, 61, 61, 61, 61, 61, 61, 61, 61, 61,
+ 61, 61, 61, 61, 61, 61, 61, 61, 61, 61,
+ 61, 61, 61, 61, 61, 61, 61, 61, 61, 61,
+ 61, 61, 61, 61, 61, 61, 61, 61, 61, 61,
+ 61, 61, 61, 61, 61, 61, 61, 61, 61, 61,
+ 61, 61, 61, 61, 61, 61,
+#else
+ 61, 61, 61, 61, 61, 61, 61, 61, 61, 61,
+ 61, 61, 61, 61, 61, 61, 61, 61, 61, 61,
+ 61, 61, 61, 61, 61, 61, 61, 61, 61, 61,
+ 61, 61, 61, 61, 61, 61, 61, 61, 61, 61,
+ 61, 61, 61, 61, 61, 61, 61, 61, 61, 61,
+ 61, 61, 61, 61, 61, 61, 61, 61, 61, 61,
+ 61, 61, 61, 61, 61, 61, 61, 61, 61, 61,
+ 61, 61, 61, 61, 61, 61, 61, 61, 61, 61,
+ 61, 61, 61, 61, 61, 61, 61, 61, 61, 61,
+ 61, 61, 61, 61, 61, 0, 61, 0, 61, 25,
+ 3, 0, 0, 61, 61, 61, 61, 61, 10, 0,
+ 5, 61, 10, 61, 61, 20, 20, 61, 61, 61,
+ 10, 5, 61, 61, 61, 61, 61, 61,
+#endif /* ACE_MVS */
+ };
+ return len + asso_values[str[len - 1]] + asso_values[str[0]];
+}
+
+const class TAO_operation_db_entry *
+TAO_CORBA_UnionDef_Perfect_Hash_OpTable::lookup (const char *str, unsigned int len)
+{
+ enum
+ {
+ TOTAL_KEYWORDS = 38,
+ MIN_WORD_LENGTH = 4,
+ MAX_WORD_LENGTH = 27,
+ MIN_HASH_VALUE = 4,
+ MAX_HASH_VALUE = 60,
+ HASH_VALUE_RANGE = 57,
+ DUPLICATES = 8
+ };
+
+ static const class TAO_operation_db_entry wordlist[] =
+ {
+ {"",0},{"",0},{"",0},{"",0},
+ {"move", &POA_CORBA::UnionDef::move_skel},
+ {"_is_a", &POA_CORBA::UnionDef::_is_a_skel},
+ {"_get_name", &POA_CORBA::UnionDef::_get_name_skel},
+ {"_get_type", &POA_CORBA::UnionDef::_get_type_skel},
+ {"_set_name", &POA_CORBA::UnionDef::_set_name_skel},
+ {"_get_id", &POA_CORBA::UnionDef::_get_id_skel},
+ {"_set_id", &POA_CORBA::UnionDef::_set_id_skel},
+ {"describe", &POA_CORBA::UnionDef::describe_skel},
+ {"destroy", &POA_CORBA::UnionDef::destroy_skel},
+ {"_get_def_kind", &POA_CORBA::UnionDef::_get_def_kind_skel},
+ {"_get_version", &POA_CORBA::UnionDef::_get_version_skel},
+ {"_set_version", &POA_CORBA::UnionDef::_set_version_skel},
+ {"_get_absolute_name", &POA_CORBA::UnionDef::_get_absolute_name_skel},
+ {"_get_defined_in", &POA_CORBA::UnionDef::_get_defined_in_skel},
+ {"lookup_name", &POA_CORBA::UnionDef::lookup_name_skel},
+ {"_get_discriminator_type", &POA_CORBA::UnionDef::_get_discriminator_type_skel},
+ {"lookup", &POA_CORBA::UnionDef::lookup_skel},
+ {"_get_discriminator_type_def", &POA_CORBA::UnionDef::_get_discriminator_type_def_skel},
+ {"_set_discriminator_type_def", &POA_CORBA::UnionDef::_set_discriminator_type_def_skel},
+ {"_get_containing_repository", &POA_CORBA::UnionDef::_get_containing_repository_skel},
+ {"_get_members", &POA_CORBA::UnionDef::_get_members_skel},
+ {"_set_members", &POA_CORBA::UnionDef::_set_members_skel},
+ {"_non_existent", &POA_CORBA::UnionDef::_non_existent_skel},
+ {"create_enum", &POA_CORBA::UnionDef::create_enum_skel},
+ {"create_value", &POA_CORBA::UnionDef::create_value_skel},
+ {"create_module", &POA_CORBA::UnionDef::create_module_skel},
+ {"create_native", &POA_CORBA::UnionDef::create_native_skel},
+ {"describe_contents", &POA_CORBA::UnionDef::describe_contents_skel},
+ {"create_interface", &POA_CORBA::UnionDef::create_interface_skel},
+ {"create_union", &POA_CORBA::UnionDef::create_union_skel},
+ {"create_exception", &POA_CORBA::UnionDef::create_exception_skel},
+ {"create_local_interface", &POA_CORBA::UnionDef::create_local_interface_skel},
+ {"create_abstract_interface", &POA_CORBA::UnionDef::create_abstract_interface_skel},
+ {"create_value_box", &POA_CORBA::UnionDef::create_value_box_skel},
+ {"contents", &POA_CORBA::UnionDef::contents_skel},
+ {"create_alias", &POA_CORBA::UnionDef::create_alias_skel},
+ {"create_struct", &POA_CORBA::UnionDef::create_struct_skel},
+ {"create_constant", &POA_CORBA::UnionDef::create_constant_skel},
+ };
+
+ static const signed char lookup[] =
+ {
+ -1, -1, -6, -3, 4, 5, -1, -9, -2, -67, -63, 11, -1, -14,
+ -2, 12, 13, -64, 16, -1, 17, 18, -1, 19, -21, -2, 20, -63,
+ -1, -24, -2, 23, -63, 26, -29, -2, 27, 28, -64, -1, 31, 32,
+ 33, -1, -1, -1, 34, 35, -1, -1, 36, 37, -1, 38, -1, -1,
+ -1, 39, 40, -1, 41,
+ };
+
+ if (len <= MAX_WORD_LENGTH && len >= MIN_WORD_LENGTH)
+ {
+ unsigned int key = hash (str, len);
+
+ if (key <= MAX_HASH_VALUE && key >= MIN_HASH_VALUE)
+ {
+ int slot = lookup[key];
+
+ if (slot >= 0 && slot < MAX_HASH_VALUE)
+ {
+ const char *s = wordlist[slot].opname_;
+
+ if (*str == *s && !strncmp (str + 1, s + 1, len - 1))
+ return &wordlist[slot];
+ }
+ else if (slot < 0 && slot >= -MAX_HASH_VALUE)
+ return 0;
+ else
+ {
+ unsigned int offset = key + slot + (slot > 0 ? -MAX_HASH_VALUE : MAX_HASH_VALUE);
+ const class TAO_operation_db_entry *base = &wordlist[-lookup[offset]];
+ const class TAO_operation_db_entry *ptr = base + -lookup[offset + 1];
+
+ while (--ptr >= base)
+ if (*str == *ptr->opname_ && !strncmp (str + 1, ptr->opname_ + 1, len - 1))
+ return ptr;
+ }
+ }
+ }
+ return 0;
+}
+/* ending time is 10:44:37 */
+static TAO_CORBA_UnionDef_Perfect_Hash_OpTable tao_CORBA_UnionDef_optable;
+
+
+///////////////////////////////////////////////////////////////////////
+// Strategized Proxy Broker Implementation
+//
+
+// Factory function Implementation.
+POA_CORBA::_TAO_UnionDef_Strategized_Proxy_Broker *POA_CORBA::_TAO_UnionDef_Strategized_Proxy_Broker::the_TAO_UnionDef_Strategized_Proxy_Broker (void)
+{
+ static POA_CORBA::_TAO_UnionDef_Strategized_Proxy_Broker strategized_proxy_broker;
+ return &strategized_proxy_broker;
+}
+
+POA_CORBA::_TAO_UnionDef_Strategized_Proxy_Broker::_TAO_UnionDef_Strategized_Proxy_Broker (void)
+{
+ for (int i = 0; i < TAO_Collocation_Strategies::CS_LAST; ++i)
+ this->proxy_cache_[i] = 0;
+
+}
+
+POA_CORBA::_TAO_UnionDef_Strategized_Proxy_Broker::~_TAO_UnionDef_Strategized_Proxy_Broker (void)
+{
+ for (int i = 0; i < TAO_Collocation_Strategies::CS_LAST; ++i)
+ delete this->proxy_cache_[i];
+
+}
+
+_TAO_UnionDef_Proxy_Impl&
+POA_CORBA::_TAO_UnionDef_Strategized_Proxy_Broker::select_proxy (
+ ::CORBA::UnionDef *object,
+ CORBA::Environment &ACE_TRY_ENV
+ )
+{
+ int strategy =
+ TAO_ORB_Core::collocation_strategy (object);
+
+ if (this->proxy_cache_[strategy] != 0)
+ return *this->proxy_cache_[strategy];
+
+ this->create_proxy (strategy, ACE_TRY_ENV);
+ ACE_CHECK_RETURN (*this->proxy_cache_[strategy]);
+
+ return *this->proxy_cache_[strategy];
+
+}
+
+void
+POA_CORBA::_TAO_UnionDef_Strategized_Proxy_Broker::create_proxy (
+ int strategy,
+ CORBA::Environment &ACE_TRY_ENV
+ )
+{
+ ACE_GUARD (TAO_SYNCH_MUTEX, guard, this->mutex_);
+
+ if (this->proxy_cache_[strategy] == 0)
+ {
+ switch (strategy)
+ {
+ case TAO_Collocation_Strategies::CS_THRU_POA_STRATEGY:
+ ACE_NEW_THROW_EX (
+ this->proxy_cache_[strategy],
+ _TAO_UnionDef_ThruPOA_Proxy_Impl,
+ CORBA::NO_MEMORY ()
+ );
+ ACE_CHECK;
+ break;
+
+ case TAO_Collocation_Strategies::CS_REMOTE_STRATEGY:
+ default:
+ ACE_NEW_THROW_EX (
+ this->proxy_cache_[strategy],
+ ::_TAO_UnionDef_Remote_Proxy_Impl,
+ CORBA::NO_MEMORY ()
+ );
+ ACE_CHECK;
+ break;
+
+ }
+
+ }
+}
+
+
+//
+// End Strategized Proxy Broker Implementation
+///////////////////////////////////////////////////////////////////////
+
+
+_TAO_UnionDef_Proxy_Broker *
+CORBA__TAO_UnionDef_Proxy_Broker_Factory_function (CORBA::Object_ptr obj)
+{
+ ACE_UNUSED_ARG (obj);
+ return ::POA_CORBA::_TAO_UnionDef_Strategized_Proxy_Broker::the_TAO_UnionDef_Strategized_Proxy_Broker();
+}
+
+int
+CORBA__TAO_UnionDef_Proxy_Broker_Factory_Initializer (long _dummy_)
+{
+ ACE_UNUSED_ARG (_dummy_);
+
+ CORBA__TAO_UnionDef_Proxy_Broker_Factory_function_pointer =
+ CORBA__TAO_UnionDef_Proxy_Broker_Factory_function;
+
+ return 0;
+}
+
+static int CORBA__TAO_UnionDef_Proxy_Broker_Stub_Factory_Initializer_Scarecrow =
+ CORBA__TAO_UnionDef_Proxy_Broker_Factory_Initializer (ACE_reinterpret_cast (long, CORBA__TAO_UnionDef_Proxy_Broker_Factory_Initializer));
+
+
+///////////////////////////////////////////////////////////////////////
+// ThruPOA Proxy Implementation
+//
+
+POA_CORBA::_TAO_UnionDef_ThruPOA_Proxy_Impl::_TAO_UnionDef_ThruPOA_Proxy_Impl (void)
+{}
+
+// ThruPOA Implementation of the IDL interface methods
+
+CORBA::TypeCode_ptr POA_CORBA::_TAO_UnionDef_ThruPOA_Proxy_Impl::discriminator_type (
+ CORBA_Object *_collocated_tao_target_,
+ CORBA::Environment &ACE_TRY_ENV
+ )
+ ACE_THROW_SPEC ((
+ CORBA::SystemException
+ ))
+{
+ CORBA::TypeCode_var _tao_retval;
+ ACE_UNUSED_ARG (_tao_retval);
+ TAO_Object_Adapter::Servant_Upcall servant_upcall (
+ _collocated_tao_target_->_stubobj ()->servant_orb_var ()->orb_core ()
+ );
+ CORBA::Object_var forward_to;
+ servant_upcall.prepare_for_upcall (
+ _collocated_tao_target_->_object_key (),
+ "discriminator_type",
+ forward_to.out (),
+ ACE_TRY_ENV
+ );
+ ACE_CHECK_RETURN (0);
+ return ACE_reinterpret_cast (
+ POA_CORBA::UnionDef_ptr,
+ servant_upcall.servant ()->_downcast (
+ "IDL:omg.org/CORBA/UnionDef:1.0"
+ )
+ )->discriminator_type (
+ ACE_TRY_ENV
+ );
+}
+
+CORBA::IDLType_ptr POA_CORBA::_TAO_UnionDef_ThruPOA_Proxy_Impl::discriminator_type_def (
+ CORBA_Object *_collocated_tao_target_,
+ CORBA::Environment &ACE_TRY_ENV
+ )
+ ACE_THROW_SPEC ((
+ CORBA::SystemException
+ ))
+{
+ CORBA::IDLType_var _tao_retval;
+ ACE_UNUSED_ARG (_tao_retval);
+ TAO_Object_Adapter::Servant_Upcall servant_upcall (
+ _collocated_tao_target_->_stubobj ()->servant_orb_var ()->orb_core ()
+ );
+ CORBA::Object_var forward_to;
+ servant_upcall.prepare_for_upcall (
+ _collocated_tao_target_->_object_key (),
+ "discriminator_type_def",
+ forward_to.out (),
+ ACE_TRY_ENV
+ );
+ ACE_CHECK_RETURN (0);
+ return ACE_reinterpret_cast (
+ POA_CORBA::UnionDef_ptr,
+ servant_upcall.servant ()->_downcast (
+ "IDL:omg.org/CORBA/UnionDef:1.0"
+ )
+ )->discriminator_type_def (
+ ACE_TRY_ENV
+ );
+}
+
+void POA_CORBA::_TAO_UnionDef_ThruPOA_Proxy_Impl::discriminator_type_def (
+ CORBA_Object *_collocated_tao_target_,
+ CORBA::IDLType_ptr discriminator_type_def,
+ CORBA::Environment &ACE_TRY_ENV
+ )
+ ACE_THROW_SPEC ((
+ CORBA::SystemException
+ ))
+{
+ TAO_Object_Adapter::Servant_Upcall servant_upcall (
+ _collocated_tao_target_->_stubobj ()->servant_orb_var ()->orb_core ()
+ );
+ CORBA::Object_var forward_to;
+ servant_upcall.prepare_for_upcall (
+ _collocated_tao_target_->_object_key (),
+ "discriminator_type_def",
+ forward_to.out (),
+ ACE_TRY_ENV
+ );
+ ACE_CHECK;
+ ACE_reinterpret_cast (
+ POA_CORBA::UnionDef_ptr,
+ servant_upcall.servant ()->_downcast (
+ "IDL:omg.org/CORBA/UnionDef:1.0"
+ )
+ )->discriminator_type_def (
+ discriminator_type_def,
+ ACE_TRY_ENV
+ );
+ return;
+}
+
+CORBA::UnionMemberSeq * POA_CORBA::_TAO_UnionDef_ThruPOA_Proxy_Impl::members (
+ CORBA_Object *_collocated_tao_target_,
+ CORBA::Environment &ACE_TRY_ENV
+ )
+ ACE_THROW_SPEC ((
+ CORBA::SystemException
+ ))
+{
+ CORBA::UnionMemberSeq_var _tao_retval;
+ ACE_UNUSED_ARG (_tao_retval);
+ TAO_Object_Adapter::Servant_Upcall servant_upcall (
+ _collocated_tao_target_->_stubobj ()->servant_orb_var ()->orb_core ()
+ );
+ CORBA::Object_var forward_to;
+ servant_upcall.prepare_for_upcall (
+ _collocated_tao_target_->_object_key (),
+ "members",
+ forward_to.out (),
+ ACE_TRY_ENV
+ );
+ ACE_CHECK_RETURN (0);
+ return ACE_reinterpret_cast (
+ POA_CORBA::UnionDef_ptr,
+ servant_upcall.servant ()->_downcast (
+ "IDL:omg.org/CORBA/UnionDef:1.0"
+ )
+ )->members (
+ ACE_TRY_ENV
+ );
+}
+
+void POA_CORBA::_TAO_UnionDef_ThruPOA_Proxy_Impl::members (
+ CORBA_Object *_collocated_tao_target_,
+ const CORBA::UnionMemberSeq & members,
+ CORBA::Environment &ACE_TRY_ENV
+ )
+ ACE_THROW_SPEC ((
+ CORBA::SystemException
+ ))
+{
+ TAO_Object_Adapter::Servant_Upcall servant_upcall (
+ _collocated_tao_target_->_stubobj ()->servant_orb_var ()->orb_core ()
+ );
+ CORBA::Object_var forward_to;
+ servant_upcall.prepare_for_upcall (
+ _collocated_tao_target_->_object_key (),
+ "members",
+ forward_to.out (),
+ ACE_TRY_ENV
+ );
+ ACE_CHECK;
+ ACE_reinterpret_cast (
+ POA_CORBA::UnionDef_ptr,
+ servant_upcall.servant ()->_downcast (
+ "IDL:omg.org/CORBA/UnionDef:1.0"
+ )
+ )->members (
+ members,
+ ACE_TRY_ENV
+ );
+ return;
+}
+
+//
+// End ThruPOA Proxy Implementation
+///////////////////////////////////////////////////////////////////////
+
+// skeleton constructor
+POA_CORBA::UnionDef::UnionDef (void)
+{
+ this->optable_ = &tao_CORBA_UnionDef_optable;
+}
+
+// copy ctor
+POA_CORBA::UnionDef::UnionDef (const UnionDef& rhs)
+ : ACE_NESTED_CLASS (POA_CORBA,TypedefDef) (rhs),
+ ACE_NESTED_CLASS (POA_CORBA,Container) (rhs),
+ ACE_NESTED_CLASS (POA_CORBA,Contained) (rhs),
+ ACE_NESTED_CLASS (POA_CORBA,IDLType) (rhs),
+ ACE_NESTED_CLASS (POA_CORBA,IRObject) (rhs),
+ TAO_ServantBase (rhs)
+{}
+
+// skeleton destructor
+POA_CORBA::UnionDef::~UnionDef (void)
+{
+}
+
+void POA_CORBA::UnionDef::_get_discriminator_type_skel (
+ TAO_ServerRequest &_tao_server_request,
+ void *_tao_object_reference,
+ void * /* context */,
+ CORBA::Environment &ACE_TRY_ENV
+ )
+{
+ POA_CORBA::UnionDef *_tao_impl = (POA_CORBA::UnionDef *)_tao_object_reference;
+
+ CORBA::TypeCode_var _tao_retval;
+
+#if (TAO_HAS_INTERCEPTORS == 1)
+ TAO_ServerRequestInterceptor_Adapter _tao_vfr (
+ _tao_server_request.orb_core ()->server_request_interceptors (),
+ _tao_server_request.interceptor_count ()
+ );
+
+ POA_CORBA::UnionDef::TAO_ServerRequestInfo_CORBA_UnionDef_discriminator_type_get ri (
+ _tao_server_request,
+ _tao_impl,
+ ACE_TRY_ENV
+ );
+
+ ACE_TRY
+ {
+ _tao_vfr.receive_request (&ri, ACE_TRY_ENV);
+ ACE_TRY_CHECK;
+
+#endif /* TAO_HAS_INTERCEPTORS */
+ _tao_retval =
+ _tao_impl->discriminator_type (
+ ACE_TRY_ENV
+ );
+ TAO_INTERCEPTOR_CHECK;
+
+#if (TAO_HAS_INTERCEPTORS == 1)
+ CORBA::TypeCode_ptr _tao_retval_info = _tao_retval._retn ();
+ ri.result (_tao_retval_info);
+ _tao_retval = _tao_retval_info;
+ ri.reply_status (PortableInterceptor::SUCCESSFUL);
+ _tao_vfr.send_reply (&ri, ACE_TRY_ENV);
+ ACE_TRY_CHECK;
+ }
+ ACE_CATCH (PortableInterceptor::ForwardRequest, exc)
+ {
+ ri.forward_reference (exc);
+ _tao_vfr.send_other (
+ &ri,
+ ACE_TRY_ENV
+ );
+ ACE_TRY_CHECK;
+ _tao_server_request.forward_location (exc.forward.in ());
+ }
+ ACE_CATCHANY
+ {
+ ri.exception (&ACE_ANY_EXCEPTION);
+ _tao_vfr.send_exception (
+ &ri,
+ ACE_TRY_ENV
+ );
+ ACE_TRY_CHECK;
+ ACE_RE_THROW;
+ }
+ ACE_ENDTRY;
+ ACE_CHECK;
+#endif /* TAO_HAS_INTERCEPTORS */
+
+ _tao_server_request.init_reply ();
+
+ TAO_OutputCDR &_tao_out = _tao_server_request.outgoing ();
+
+ if (!(
+ (_tao_out << _tao_retval.in ())
+ ))
+ ACE_THROW (CORBA::MARSHAL());
+
+ // In case ACE_TRY_ENV is not used in this function
+ ACE_UNUSED_ARG (ACE_TRY_ENV);
+}
+
+void POA_CORBA::UnionDef::_get_discriminator_type_def_skel (
+ TAO_ServerRequest &_tao_server_request,
+ void *_tao_object_reference,
+ void * /* context */,
+ CORBA::Environment &ACE_TRY_ENV
+ )
+{
+ POA_CORBA::UnionDef *_tao_impl = (POA_CORBA::UnionDef *)_tao_object_reference;
+
+ CORBA::IDLType_var _tao_retval;
+
+#if (TAO_HAS_INTERCEPTORS == 1)
+ TAO_ServerRequestInterceptor_Adapter _tao_vfr (
+ _tao_server_request.orb_core ()->server_request_interceptors (),
+ _tao_server_request.interceptor_count ()
+ );
+
+ POA_CORBA::UnionDef::TAO_ServerRequestInfo_CORBA_UnionDef_discriminator_type_def_get ri (
+ _tao_server_request,
+ _tao_impl,
+ ACE_TRY_ENV
+ );
+
+ ACE_TRY
+ {
+ _tao_vfr.receive_request (&ri, ACE_TRY_ENV);
+ ACE_TRY_CHECK;
+
+#endif /* TAO_HAS_INTERCEPTORS */
+ _tao_retval =
+ _tao_impl->discriminator_type_def (
+ ACE_TRY_ENV
+ );
+ TAO_INTERCEPTOR_CHECK;
+
+#if (TAO_HAS_INTERCEPTORS == 1)
+ CORBA::IDLType_ptr _tao_retval_info = _tao_retval._retn ();
+ ri.result (_tao_retval_info);
+ _tao_retval = _tao_retval_info;
+ ri.reply_status (PortableInterceptor::SUCCESSFUL);
+ _tao_vfr.send_reply (&ri, ACE_TRY_ENV);
+ ACE_TRY_CHECK;
+ }
+ ACE_CATCH (PortableInterceptor::ForwardRequest, exc)
+ {
+ ri.forward_reference (exc);
+ _tao_vfr.send_other (
+ &ri,
+ ACE_TRY_ENV
+ );
+ ACE_TRY_CHECK;
+ _tao_server_request.forward_location (exc.forward.in ());
+ }
+ ACE_CATCHANY
+ {
+ ri.exception (&ACE_ANY_EXCEPTION);
+ _tao_vfr.send_exception (
+ &ri,
+ ACE_TRY_ENV
+ );
+ ACE_TRY_CHECK;
+ ACE_RE_THROW;
+ }
+ ACE_ENDTRY;
+ ACE_CHECK;
+#endif /* TAO_HAS_INTERCEPTORS */
+
+ _tao_server_request.init_reply ();
+
+ TAO_OutputCDR &_tao_out = _tao_server_request.outgoing ();
+
+ if (!(
+ (_tao_out << _tao_retval.in ())
+ ))
+ ACE_THROW (CORBA::MARSHAL());
+
+ // In case ACE_TRY_ENV is not used in this function
+ ACE_UNUSED_ARG (ACE_TRY_ENV);
+}
+
+void POA_CORBA::UnionDef::_set_discriminator_type_def_skel (
+ TAO_ServerRequest &_tao_server_request,
+ void *_tao_object_reference,
+ void * /* context */,
+ CORBA::Environment &ACE_TRY_ENV
+ )
+{
+ TAO_InputCDR &_tao_in = _tao_server_request.incoming ();
+ POA_CORBA::UnionDef *_tao_impl = (POA_CORBA::UnionDef *)_tao_object_reference;
+
+ _tao_server_request.argument_flag (0);
+ CORBA::IDLType_var discriminator_type_def;
+ if (!(
+ (_tao_in >> discriminator_type_def.out ())
+ ))
+ ACE_THROW (CORBA::MARSHAL());
+
+
+#if (TAO_HAS_INTERCEPTORS == 1)
+ TAO_ServerRequestInterceptor_Adapter _tao_vfr (
+ _tao_server_request.orb_core ()->server_request_interceptors (),
+ _tao_server_request.interceptor_count ()
+ );
+
+ POA_CORBA::UnionDef::TAO_ServerRequestInfo_CORBA_UnionDef_discriminator_type_def_set ri (
+ _tao_server_request,
+ _tao_impl,
+ discriminator_type_def.in (),
+ ACE_TRY_ENV
+ );
+
+ ACE_TRY
+ {
+ _tao_vfr.receive_request (&ri, ACE_TRY_ENV);
+ ACE_TRY_CHECK;
+
+#endif /* TAO_HAS_INTERCEPTORS */
+
+ _tao_impl->discriminator_type_def (
+ discriminator_type_def.in (),
+ ACE_TRY_ENV
+ );
+ TAO_INTERCEPTOR_CHECK;
+
+#if (TAO_HAS_INTERCEPTORS == 1)
+ ri.reply_status (PortableInterceptor::SUCCESSFUL);
+ _tao_vfr.send_reply (&ri, ACE_TRY_ENV);
+ ACE_TRY_CHECK;
+ }
+ ACE_CATCH (PortableInterceptor::ForwardRequest, exc)
+ {
+ ri.forward_reference (exc);
+ _tao_vfr.send_other (
+ &ri,
+ ACE_TRY_ENV
+ );
+ ACE_TRY_CHECK;
+ _tao_server_request.forward_location (exc.forward.in ());
+ }
+ ACE_CATCHANY
+ {
+ ri.exception (&ACE_ANY_EXCEPTION);
+ _tao_vfr.send_exception (
+ &ri,
+ ACE_TRY_ENV
+ );
+ ACE_TRY_CHECK;
+ ACE_RE_THROW;
+ }
+ ACE_ENDTRY;
+ ACE_CHECK;
+#endif /* TAO_HAS_INTERCEPTORS */
+
+ _tao_server_request.init_reply ();
+
+ // In case ACE_TRY_ENV is not used in this function
+ ACE_UNUSED_ARG (ACE_TRY_ENV);
+}
+
+void POA_CORBA::UnionDef::_get_members_skel (
+ TAO_ServerRequest &_tao_server_request,
+ void *_tao_object_reference,
+ void * /* context */,
+ CORBA::Environment &ACE_TRY_ENV
+ )
+{
+ POA_CORBA::UnionDef *_tao_impl = (POA_CORBA::UnionDef *)_tao_object_reference;
+
+ CORBA::UnionMemberSeq_var _tao_retval;
+
+#if (TAO_HAS_INTERCEPTORS == 1)
+ TAO_ServerRequestInterceptor_Adapter _tao_vfr (
+ _tao_server_request.orb_core ()->server_request_interceptors (),
+ _tao_server_request.interceptor_count ()
+ );
+
+ POA_CORBA::UnionDef::TAO_ServerRequestInfo_CORBA_UnionDef_members_get ri (
+ _tao_server_request,
+ _tao_impl,
+ ACE_TRY_ENV
+ );
+
+ ACE_TRY
+ {
+ _tao_vfr.receive_request (&ri, ACE_TRY_ENV);
+ ACE_TRY_CHECK;
+
+#endif /* TAO_HAS_INTERCEPTORS */
+ _tao_retval =
+ _tao_impl->members (
+ ACE_TRY_ENV
+ );
+ TAO_INTERCEPTOR_CHECK;
+
+#if (TAO_HAS_INTERCEPTORS == 1)
+ CORBA::UnionMemberSeq * _tao_retval_info = _tao_retval._retn ();
+ ri.result (_tao_retval_info);
+ _tao_retval = _tao_retval_info;
+ ri.reply_status (PortableInterceptor::SUCCESSFUL);
+ _tao_vfr.send_reply (&ri, ACE_TRY_ENV);
+ ACE_TRY_CHECK;
+ }
+ ACE_CATCH (PortableInterceptor::ForwardRequest, exc)
+ {
+ ri.forward_reference (exc);
+ _tao_vfr.send_other (
+ &ri,
+ ACE_TRY_ENV
+ );
+ ACE_TRY_CHECK;
+ _tao_server_request.forward_location (exc.forward.in ());
+ }
+ ACE_CATCHANY
+ {
+ ri.exception (&ACE_ANY_EXCEPTION);
+ _tao_vfr.send_exception (
+ &ri,
+ ACE_TRY_ENV
+ );
+ ACE_TRY_CHECK;
+ ACE_RE_THROW;
+ }
+ ACE_ENDTRY;
+ ACE_CHECK;
+#endif /* TAO_HAS_INTERCEPTORS */
+
+ _tao_server_request.init_reply ();
+
+ TAO_OutputCDR &_tao_out = _tao_server_request.outgoing ();
+
+ if (!(
+ (_tao_out << _tao_retval.in ())
+ ))
+ ACE_THROW (CORBA::MARSHAL());
+
+ // In case ACE_TRY_ENV is not used in this function
+ ACE_UNUSED_ARG (ACE_TRY_ENV);
+}
+
+void POA_CORBA::UnionDef::_set_members_skel (
+ TAO_ServerRequest &_tao_server_request,
+ void *_tao_object_reference,
+ void * /* context */,
+ CORBA::Environment &ACE_TRY_ENV
+ )
+{
+ TAO_InputCDR &_tao_in = _tao_server_request.incoming ();
+ POA_CORBA::UnionDef *_tao_impl = (POA_CORBA::UnionDef *)_tao_object_reference;
+
+ _tao_server_request.argument_flag (0);
+ CORBA::UnionMemberSeq members;
+ if (!(
+ (_tao_in >> members)
+ ))
+ ACE_THROW (CORBA::MARSHAL());
+
+
+#if (TAO_HAS_INTERCEPTORS == 1)
+ TAO_ServerRequestInterceptor_Adapter _tao_vfr (
+ _tao_server_request.orb_core ()->server_request_interceptors (),
+ _tao_server_request.interceptor_count ()
+ );
+
+ POA_CORBA::UnionDef::TAO_ServerRequestInfo_CORBA_UnionDef_members_set ri (
+ _tao_server_request,
+ _tao_impl,
+ members,
+ ACE_TRY_ENV
+ );
+
+ ACE_TRY
+ {
+ _tao_vfr.receive_request (&ri, ACE_TRY_ENV);
+ ACE_TRY_CHECK;
+
+#endif /* TAO_HAS_INTERCEPTORS */
+
+ _tao_impl->members (
+ members,
+ ACE_TRY_ENV
+ );
+ TAO_INTERCEPTOR_CHECK;
+
+#if (TAO_HAS_INTERCEPTORS == 1)
+ ri.reply_status (PortableInterceptor::SUCCESSFUL);
+ _tao_vfr.send_reply (&ri, ACE_TRY_ENV);
+ ACE_TRY_CHECK;
+ }
+ ACE_CATCH (PortableInterceptor::ForwardRequest, exc)
+ {
+ ri.forward_reference (exc);
+ _tao_vfr.send_other (
+ &ri,
+ ACE_TRY_ENV
+ );
+ ACE_TRY_CHECK;
+ _tao_server_request.forward_location (exc.forward.in ());
+ }
+ ACE_CATCHANY
+ {
+ ri.exception (&ACE_ANY_EXCEPTION);
+ _tao_vfr.send_exception (
+ &ri,
+ ACE_TRY_ENV
+ );
+ ACE_TRY_CHECK;
+ ACE_RE_THROW;
+ }
+ ACE_ENDTRY;
+ ACE_CHECK;
+#endif /* TAO_HAS_INTERCEPTORS */
+
+ _tao_server_request.init_reply ();
+
+ // In case ACE_TRY_ENV is not used in this function
+ ACE_UNUSED_ARG (ACE_TRY_ENV);
+}
+
+void POA_CORBA::UnionDef::_is_a_skel (
+ TAO_ServerRequest &_tao_server_request,
+ void * _tao_object_reference,
+ void * /* context */,
+ CORBA::Environment &ACE_TRY_ENV
+ )
+{
+ TAO_InputCDR &_tao_in = _tao_server_request.incoming ();
+ POA_CORBA::UnionDef *_tao_impl = (POA_CORBA::UnionDef *) _tao_object_reference;
+ CORBA::Boolean _tao_retval = 0;
+ CORBA::String_var value;
+ if (!(_tao_in >> value.out ()))
+ ACE_THROW (CORBA::MARSHAL ());
+
+ _tao_retval = _tao_impl->_is_a (value.in (), ACE_TRY_ENV);
+ ACE_CHECK;
+
+ _tao_server_request.init_reply ();
+ TAO_OutputCDR &_tao_out = _tao_server_request.outgoing ();
+ if (!(_tao_out << CORBA::Any::from_boolean (_tao_retval)))
+ ACE_THROW (CORBA::MARSHAL ());
+}
+
+void POA_CORBA::UnionDef::_non_existent_skel (
+ TAO_ServerRequest &_tao_server_request,
+ void * _tao_object_reference,
+ void * /* context */,
+ CORBA::Environment &ACE_TRY_ENV
+ )
+{
+ POA_CORBA::UnionDef *_tao_impl = (POA_CORBA::UnionDef *) _tao_object_reference;
+ CORBA::Boolean _tao_retval = _tao_impl->_non_existent (ACE_TRY_ENV);
+ ACE_CHECK;
+
+ _tao_server_request.init_reply ();
+ TAO_OutputCDR &_tao_out = _tao_server_request.outgoing ();
+ if (!(_tao_out << CORBA::Any::from_boolean (_tao_retval)))
+ ACE_THROW (CORBA::MARSHAL ());
+}
+
+CORBA::Boolean POA_CORBA::UnionDef::_is_a (
+ const char* value,
+ CORBA::Environment &ACE_TRY_ENV
+ )
+{
+ const char *base_id = CORBA::_tc_Object->id (ACE_TRY_ENV);
+ ACE_CHECK_RETURN (0);
+
+ if (
+ (!ACE_OS::strcmp ((char *)value, "IDL:omg.org/CORBA/UnionDef:1.0")) ||
+ (!ACE_OS::strcmp ((char *)value, "IDL:omg.org/CORBA/TypedefDef:1.0")) ||
+ (!ACE_OS::strcmp ((char *)value, "IDL:omg.org/CORBA/Container:1.0")) ||
+ (!ACE_OS::strcmp ((char *)value, "IDL:omg.org/CORBA/Contained:1.0")) ||
+ (!ACE_OS::strcmp ((char *)value, "IDL:omg.org/CORBA/IDLType:1.0")) ||
+ (!ACE_OS::strcmp ((char *)value, "IDL:omg.org/CORBA/IRObject:1.0")) ||
+ (!ACE_OS::strcmp ((char *)value, base_id)))
+ return 1;
+ else
+ return 0;
+}
+
+void* POA_CORBA::UnionDef::_downcast (
+ const char* logical_type_id
+ )
+{
+ if (ACE_OS::strcmp (logical_type_id, "IDL:omg.org/CORBA/UnionDef:1.0") == 0)
+ return ACE_static_cast (POA_CORBA::UnionDef_ptr, this);
+ if (ACE_OS::strcmp (logical_type_id, "IDL:omg.org/CORBA/TypedefDef:1.0") == 0)
+ return ACE_static_cast (POA_CORBA::TypedefDef_ptr, this);
+ if (ACE_OS::strcmp (logical_type_id, "IDL:omg.org/CORBA/Container:1.0") == 0)
+ return ACE_static_cast (POA_CORBA::Container_ptr, this);
+ if (ACE_OS::strcmp (logical_type_id, "IDL:omg.org/CORBA/Contained:1.0") == 0)
+ return ACE_static_cast (POA_CORBA::Contained_ptr, this);
+ if (ACE_OS::strcmp (logical_type_id, "IDL:omg.org/CORBA/IDLType:1.0") == 0)
+ return ACE_static_cast (POA_CORBA::IDLType_ptr, this);
+ if (ACE_OS::strcmp (logical_type_id, "IDL:omg.org/CORBA/IRObject:1.0") == 0)
+ return ACE_static_cast (POA_CORBA::IRObject_ptr, this);
+ if (ACE_OS::strcmp (logical_type_id, "IDL:omg.org/CORBA/Object:1.0") == 0)
+ return ACE_static_cast(PortableServer::Servant, this);
+ return 0;
+}
+
+void POA_CORBA::UnionDef::_dispatch (TAO_ServerRequest &req, void *context, CORBA::Environment &ACE_TRY_ENV)
+{
+ this->synchronous_upcall_dispatch(req, context, this, ACE_TRY_ENV);
+}
+
+const char* POA_CORBA::UnionDef::_interface_repository_id (void) const
+{
+ return "IDL:omg.org/CORBA/UnionDef:1.0";
+}
+
+CORBA::UnionDef*
+POA_CORBA::UnionDef::_this (CORBA_Environment &ACE_TRY_ENV)
+{
+ TAO_Stub *stub = this->_create_stub (ACE_TRY_ENV);
+ ACE_CHECK_RETURN (0);
+
+ CORBA::Object_ptr tmp = CORBA::Object::_nil ();
+
+ if (stub->servant_orb_var ()->orb_core ()->optimize_collocation_objects ())
+ ACE_NEW_RETURN (tmp, CORBA::Object (stub, 1, this), 0);
+ else
+ ACE_NEW_RETURN (tmp, CORBA::Object (stub, 0, this), 0);
+
+ CORBA::Object_var obj = tmp;
+ return ::CORBA::UnionDef::_unchecked_narrow (obj.in ());
+}
+
+
+#if (TAO_HAS_INTERCEPTORS == 1)
+POA_CORBA::UnionDef::TAO_ServerRequestInfo_CORBA_UnionDef_discriminator_type_get::TAO_ServerRequestInfo_CORBA_UnionDef_discriminator_type_get (
+ TAO_ServerRequest &_tao_server_request,
+ POA_CORBA::UnionDef *tao_impl,
+ CORBA::Environment &
+ )
+ : TAO_ServerRequestInfo (_tao_server_request),
+ _tao_impl (tao_impl)
+{}
+
+Dynamic::ParameterList *
+POA_CORBA::UnionDef::TAO_ServerRequestInfo_CORBA_UnionDef_discriminator_type_get::arguments (CORBA::Environment &ACE_TRY_ENV)
+ ACE_THROW_SPEC ((CORBA::SystemException))
+{
+ // Generate the argument list on demand.
+ Dynamic::ParameterList *parameter_list =
+ TAO_RequestInfo_Util::make_parameter_list (ACE_TRY_ENV);
+ ACE_CHECK_RETURN (0);
+
+ return parameter_list;
+}
+
+Dynamic::ExceptionList *
+POA_CORBA::UnionDef::TAO_ServerRequestInfo_CORBA_UnionDef_discriminator_type_get::exceptions (CORBA::Environment &ACE_TRY_ENV)
+ ACE_THROW_SPEC ((CORBA::SystemException))
+{
+ // Generate the exception list on demand.
+ Dynamic::ExceptionList *exception_list =
+ TAO_RequestInfo_Util::make_exception_list (ACE_TRY_ENV);
+ ACE_CHECK_RETURN (0);
+
+ return exception_list;
+}
+
+CORBA::Any *
+POA_CORBA::UnionDef::TAO_ServerRequestInfo_CORBA_UnionDef_discriminator_type_get::result (CORBA::Environment &ACE_TRY_ENV)
+ ACE_THROW_SPEC ((CORBA::SystemException))
+{
+ // Generate the result on demand.
+ CORBA::Boolean tk_void_any = 0;
+ CORBA::Any *result_any =
+ TAO_RequestInfo_Util::make_any (tk_void_any, ACE_TRY_ENV);
+ ACE_CHECK_RETURN (0);
+
+ CORBA::Any_var safe_result_any = result_any;
+
+ (*result_any) <<= this->_result;
+
+ return safe_result_any._retn ();
+}
+
+char *
+POA_CORBA::UnionDef::TAO_ServerRequestInfo_CORBA_UnionDef_discriminator_type_get::target_most_derived_interface (
+ CORBA::Environment &)
+ ACE_THROW_SPEC ((CORBA::SystemException))
+{
+ return
+ CORBA::string_dup (this->_tao_impl->_interface_repository_id ());
+}
+
+CORBA::Boolean
+POA_CORBA::UnionDef::TAO_ServerRequestInfo_CORBA_UnionDef_discriminator_type_get::target_is_a (
+ const char * id,
+ CORBA::Environment &ACE_TRY_ENV)
+ ACE_THROW_SPEC ((CORBA::SystemException))
+{
+ return this->_tao_impl->_is_a (id, ACE_TRY_ENV);
+}
+
+void
+POA_CORBA::UnionDef::TAO_ServerRequestInfo_CORBA_UnionDef_discriminator_type_get::result (CORBA::TypeCode_ptr result)
+{
+ // Update the result.
+ this->_result = result;
+}
+
+POA_CORBA::UnionDef::TAO_ServerRequestInfo_CORBA_UnionDef_discriminator_type_def_get::TAO_ServerRequestInfo_CORBA_UnionDef_discriminator_type_def_get (
+ TAO_ServerRequest &_tao_server_request,
+ POA_CORBA::UnionDef *tao_impl,
+ CORBA::Environment &
+ )
+ : TAO_ServerRequestInfo (_tao_server_request),
+ _tao_impl (tao_impl)
+{}
+
+Dynamic::ParameterList *
+POA_CORBA::UnionDef::TAO_ServerRequestInfo_CORBA_UnionDef_discriminator_type_def_get::arguments (CORBA::Environment &ACE_TRY_ENV)
+ ACE_THROW_SPEC ((CORBA::SystemException))
+{
+ // Generate the argument list on demand.
+ Dynamic::ParameterList *parameter_list =
+ TAO_RequestInfo_Util::make_parameter_list (ACE_TRY_ENV);
+ ACE_CHECK_RETURN (0);
+
+ return parameter_list;
+}
+
+Dynamic::ExceptionList *
+POA_CORBA::UnionDef::TAO_ServerRequestInfo_CORBA_UnionDef_discriminator_type_def_get::exceptions (CORBA::Environment &ACE_TRY_ENV)
+ ACE_THROW_SPEC ((CORBA::SystemException))
+{
+ // Generate the exception list on demand.
+ Dynamic::ExceptionList *exception_list =
+ TAO_RequestInfo_Util::make_exception_list (ACE_TRY_ENV);
+ ACE_CHECK_RETURN (0);
+
+ return exception_list;
+}
+
+CORBA::Any *
+POA_CORBA::UnionDef::TAO_ServerRequestInfo_CORBA_UnionDef_discriminator_type_def_get::result (CORBA::Environment &ACE_TRY_ENV)
+ ACE_THROW_SPEC ((CORBA::SystemException))
+{
+ // Generate the result on demand.
+ CORBA::Boolean tk_void_any = 0;
+ CORBA::Any *result_any =
+ TAO_RequestInfo_Util::make_any (tk_void_any, ACE_TRY_ENV);
+ ACE_CHECK_RETURN (0);
+
+ CORBA::Any_var safe_result_any = result_any;
+
+ (*result_any) <<= this->_result;
+
+ return safe_result_any._retn ();
+}
+
+char *
+POA_CORBA::UnionDef::TAO_ServerRequestInfo_CORBA_UnionDef_discriminator_type_def_get::target_most_derived_interface (
+ CORBA::Environment &)
+ ACE_THROW_SPEC ((CORBA::SystemException))
+{
+ return
+ CORBA::string_dup (this->_tao_impl->_interface_repository_id ());
+}
+
+CORBA::Boolean
+POA_CORBA::UnionDef::TAO_ServerRequestInfo_CORBA_UnionDef_discriminator_type_def_get::target_is_a (
+ const char * id,
+ CORBA::Environment &ACE_TRY_ENV)
+ ACE_THROW_SPEC ((CORBA::SystemException))
+{
+ return this->_tao_impl->_is_a (id, ACE_TRY_ENV);
+}
+
+void
+POA_CORBA::UnionDef::TAO_ServerRequestInfo_CORBA_UnionDef_discriminator_type_def_get::result (CORBA::IDLType_ptr result)
+{
+ // Update the result.
+ this->_result = result;
+}
+
+POA_CORBA::UnionDef::TAO_ServerRequestInfo_CORBA_UnionDef_discriminator_type_def_set::TAO_ServerRequestInfo_CORBA_UnionDef_discriminator_type_def_set (
+ TAO_ServerRequest &_tao_server_request,
+ POA_CORBA::UnionDef *tao_impl,
+ CORBA::IDLType_ptr discriminator_type_def,
+ CORBA::Environment &
+ )
+ : TAO_ServerRequestInfo (_tao_server_request),
+ _tao_impl (tao_impl),
+ discriminator_type_def_ (discriminator_type_def)
+{}
+
+Dynamic::ParameterList *
+POA_CORBA::UnionDef::TAO_ServerRequestInfo_CORBA_UnionDef_discriminator_type_def_set::arguments (CORBA::Environment &ACE_TRY_ENV)
+ ACE_THROW_SPEC ((CORBA::SystemException))
+{
+ // Generate the argument list on demand.
+ Dynamic::ParameterList *parameter_list =
+ TAO_RequestInfo_Util::make_parameter_list (ACE_TRY_ENV);
+ ACE_CHECK_RETURN (0);
+
+ Dynamic::ParameterList_var safe_parameter_list = parameter_list;
+
+ CORBA::ULong length_discriminator_type_def = parameter_list->length ();
+ parameter_list->length (length_discriminator_type_def + 1);
+ (*parameter_list)[length_discriminator_type_def].argument <<= this->discriminator_type_def_;
+
+ (*parameter_list)[length_discriminator_type_def].mode = Dynamic::PARAM_IN;
+
+ return safe_parameter_list._retn ();
+}
+
+Dynamic::ExceptionList *
+POA_CORBA::UnionDef::TAO_ServerRequestInfo_CORBA_UnionDef_discriminator_type_def_set::exceptions (CORBA::Environment &ACE_TRY_ENV)
+ ACE_THROW_SPEC ((CORBA::SystemException))
+{
+ // Generate the exception list on demand.
+ Dynamic::ExceptionList *exception_list =
+ TAO_RequestInfo_Util::make_exception_list (ACE_TRY_ENV);
+ ACE_CHECK_RETURN (0);
+
+ return exception_list;
+}
+
+CORBA::Any *
+POA_CORBA::UnionDef::TAO_ServerRequestInfo_CORBA_UnionDef_discriminator_type_def_set::result (CORBA::Environment &ACE_TRY_ENV)
+ ACE_THROW_SPEC ((CORBA::SystemException))
+{
+ // Generate the result on demand.
+ CORBA::Boolean tk_void_any = 1;
+ CORBA::Any *result_any =
+ TAO_RequestInfo_Util::make_any (tk_void_any, ACE_TRY_ENV);
+ ACE_CHECK_RETURN (0);
+
+ return result_any;
+}
+
+char *
+POA_CORBA::UnionDef::TAO_ServerRequestInfo_CORBA_UnionDef_discriminator_type_def_set::target_most_derived_interface (
+ CORBA::Environment &)
+ ACE_THROW_SPEC ((CORBA::SystemException))
+{
+ return
+ CORBA::string_dup (this->_tao_impl->_interface_repository_id ());
+}
+
+CORBA::Boolean
+POA_CORBA::UnionDef::TAO_ServerRequestInfo_CORBA_UnionDef_discriminator_type_def_set::target_is_a (
+ const char * id,
+ CORBA::Environment &ACE_TRY_ENV)
+ ACE_THROW_SPEC ((CORBA::SystemException))
+{
+ return this->_tao_impl->_is_a (id, ACE_TRY_ENV);
+}
+
+POA_CORBA::UnionDef::TAO_ServerRequestInfo_CORBA_UnionDef_members_get::TAO_ServerRequestInfo_CORBA_UnionDef_members_get (
+ TAO_ServerRequest &_tao_server_request,
+ POA_CORBA::UnionDef *tao_impl,
+ CORBA::Environment &
+ )
+ : TAO_ServerRequestInfo (_tao_server_request),
+ _tao_impl (tao_impl)
+{}
+
+Dynamic::ParameterList *
+POA_CORBA::UnionDef::TAO_ServerRequestInfo_CORBA_UnionDef_members_get::arguments (CORBA::Environment &ACE_TRY_ENV)
+ ACE_THROW_SPEC ((CORBA::SystemException))
+{
+ // Generate the argument list on demand.
+ Dynamic::ParameterList *parameter_list =
+ TAO_RequestInfo_Util::make_parameter_list (ACE_TRY_ENV);
+ ACE_CHECK_RETURN (0);
+
+ return parameter_list;
+}
+
+Dynamic::ExceptionList *
+POA_CORBA::UnionDef::TAO_ServerRequestInfo_CORBA_UnionDef_members_get::exceptions (CORBA::Environment &ACE_TRY_ENV)
+ ACE_THROW_SPEC ((CORBA::SystemException))
+{
+ // Generate the exception list on demand.
+ Dynamic::ExceptionList *exception_list =
+ TAO_RequestInfo_Util::make_exception_list (ACE_TRY_ENV);
+ ACE_CHECK_RETURN (0);
+
+ return exception_list;
+}
+
+CORBA::Any *
+POA_CORBA::UnionDef::TAO_ServerRequestInfo_CORBA_UnionDef_members_get::result (CORBA::Environment &ACE_TRY_ENV)
+ ACE_THROW_SPEC ((CORBA::SystemException))
+{
+ // Generate the result on demand.
+ CORBA::Boolean tk_void_any = 0;
+ CORBA::Any *result_any =
+ TAO_RequestInfo_Util::make_any (tk_void_any, ACE_TRY_ENV);
+ ACE_CHECK_RETURN (0);
+
+ CORBA::Any_var safe_result_any = result_any;
+
+ (*result_any) <<= this->_result;
+
+ return safe_result_any._retn ();
+}
+
+char *
+POA_CORBA::UnionDef::TAO_ServerRequestInfo_CORBA_UnionDef_members_get::target_most_derived_interface (
+ CORBA::Environment &)
+ ACE_THROW_SPEC ((CORBA::SystemException))
+{
+ return
+ CORBA::string_dup (this->_tao_impl->_interface_repository_id ());
+}
+
+CORBA::Boolean
+POA_CORBA::UnionDef::TAO_ServerRequestInfo_CORBA_UnionDef_members_get::target_is_a (
+ const char * id,
+ CORBA::Environment &ACE_TRY_ENV)
+ ACE_THROW_SPEC ((CORBA::SystemException))
+{
+ return this->_tao_impl->_is_a (id, ACE_TRY_ENV);
+}
+
+void
+POA_CORBA::UnionDef::TAO_ServerRequestInfo_CORBA_UnionDef_members_get::result (CORBA::UnionMemberSeq * result)
+{
+ // Update the result.
+ this->_result = result;
+}
+
+POA_CORBA::UnionDef::TAO_ServerRequestInfo_CORBA_UnionDef_members_set::TAO_ServerRequestInfo_CORBA_UnionDef_members_set (
+ TAO_ServerRequest &_tao_server_request,
+ POA_CORBA::UnionDef *tao_impl,
+ const CORBA::UnionMemberSeq & members,
+ CORBA::Environment &
+ )
+ : TAO_ServerRequestInfo (_tao_server_request),
+ _tao_impl (tao_impl),
+ members_ (members)
+{}
+
+Dynamic::ParameterList *
+POA_CORBA::UnionDef::TAO_ServerRequestInfo_CORBA_UnionDef_members_set::arguments (CORBA::Environment &ACE_TRY_ENV)
+ ACE_THROW_SPEC ((CORBA::SystemException))
+{
+ // Generate the argument list on demand.
+ Dynamic::ParameterList *parameter_list =
+ TAO_RequestInfo_Util::make_parameter_list (ACE_TRY_ENV);
+ ACE_CHECK_RETURN (0);
+
+ Dynamic::ParameterList_var safe_parameter_list = parameter_list;
+
+ CORBA::ULong length_members = parameter_list->length ();
+ parameter_list->length (length_members + 1);
+ (*parameter_list)[length_members].argument <<= this->members_;
+
+ (*parameter_list)[length_members].mode = Dynamic::PARAM_IN;
+
+ return safe_parameter_list._retn ();
+}
+
+Dynamic::ExceptionList *
+POA_CORBA::UnionDef::TAO_ServerRequestInfo_CORBA_UnionDef_members_set::exceptions (CORBA::Environment &ACE_TRY_ENV)
+ ACE_THROW_SPEC ((CORBA::SystemException))
+{
+ // Generate the exception list on demand.
+ Dynamic::ExceptionList *exception_list =
+ TAO_RequestInfo_Util::make_exception_list (ACE_TRY_ENV);
+ ACE_CHECK_RETURN (0);
+
+ return exception_list;
+}
+
+CORBA::Any *
+POA_CORBA::UnionDef::TAO_ServerRequestInfo_CORBA_UnionDef_members_set::result (CORBA::Environment &ACE_TRY_ENV)
+ ACE_THROW_SPEC ((CORBA::SystemException))
+{
+ // Generate the result on demand.
+ CORBA::Boolean tk_void_any = 1;
+ CORBA::Any *result_any =
+ TAO_RequestInfo_Util::make_any (tk_void_any, ACE_TRY_ENV);
+ ACE_CHECK_RETURN (0);
+
+ return result_any;
+}
+
+char *
+POA_CORBA::UnionDef::TAO_ServerRequestInfo_CORBA_UnionDef_members_set::target_most_derived_interface (
+ CORBA::Environment &)
+ ACE_THROW_SPEC ((CORBA::SystemException))
+{
+ return
+ CORBA::string_dup (this->_tao_impl->_interface_repository_id ());
+}
+
+CORBA::Boolean
+POA_CORBA::UnionDef::TAO_ServerRequestInfo_CORBA_UnionDef_members_set::target_is_a (
+ const char * id,
+ CORBA::Environment &ACE_TRY_ENV)
+ ACE_THROW_SPEC ((CORBA::SystemException))
+{
+ return this->_tao_impl->_is_a (id, ACE_TRY_ENV);
+}
+
+#endif /* TAO_HAS_INTERCEPTORS */
+class TAO_CORBA_EnumDef_Perfect_Hash_OpTable : public TAO_Perfect_Hash_OpTable
+{
+private:
+ unsigned int hash (const char *str, unsigned int len);
+public:
+ const TAO_operation_db_entry * lookup (const char *str, unsigned int len);
+};
+/* starting time is 10:44:37 */
+/* C++ code produced by gperf version 2.8 (ACE version) */
+/* Command-line: gperf -m -M -J -c -C -D -E -T -f 0 -F 0 -a -o -t -p -K opname_ -L C++ -Z TAO_CORBA_EnumDef_Perfect_Hash_OpTable -N lookup */
+unsigned int
+TAO_CORBA_EnumDef_Perfect_Hash_OpTable::hash (const char *str, unsigned int len)
+{
+ static const unsigned char asso_values[] =
+ {
+#if defined (ACE_MVS)
+ 37, 37, 37, 37, 37, 37, 37, 37, 37, 37,
+ 37, 37, 37, 37, 37, 37, 37, 37, 37, 37,
+ 37, 37, 37, 37, 37, 37, 37, 37, 37, 37,
+ 37, 37, 37, 37, 37, 37, 37, 37, 37, 37,
+ 37, 37, 37, 37, 37, 37, 37, 37, 37, 37,
+ 37, 37, 37, 37, 37, 37, 37, 37, 37, 37,
+ 37, 37, 37, 37, 37, 37, 37, 37, 37, 37,
+ 37, 37, 37, 37, 37, 37, 37, 37, 37, 37,
+ 37, 37, 37, 37, 37, 37, 37, 37, 37, 37,
+ 37, 37, 37, 37, 37, 37, 37, 37, 37, 37,
+ 37, 37, 37, 37, 37, 37, 37, 37, 37, 0,
+ 37, 37, 37, 37, 37, 37, 37, 37, 37, 37,
+ 37, 37, 37, 37, 37, 37, 37, 37, 37, 0,
+ 37, 37, 0, 0, 37, 37, 37, 37, 37, 37,
+ 37, 37, 37, 37, 37, 37, 37, 37, 0, 0,
+ 37, 37, 37, 37, 37, 37, 37, 37, 37, 37,
+ 37, 37, 10, 10, 37, 37, 37, 37, 10, 37,
+ 37, 37, 37, 37, 37, 37, 37, 37, 37, 37,
+ 37, 37, 37, 37, 37, 37, 37, 37, 37, 37,
+ 37, 37, 37, 37, 37, 37, 37, 37, 37, 37,
+ 37, 37, 37, 37, 37, 37, 37, 37, 37, 37,
+ 37, 37, 37, 37, 37, 37, 37, 37, 37, 37,
+ 37, 37, 37, 37, 37, 37, 37, 37, 37, 37,
+ 37, 37, 37, 37, 37, 37, 37, 37, 37, 37,
+ 37, 37, 37, 37, 37, 37, 37, 37, 37, 37,
+ 37, 37, 37, 37, 37, 37,
+#else
+ 37, 37, 37, 37, 37, 37, 37, 37, 37, 37,
+ 37, 37, 37, 37, 37, 37, 37, 37, 37, 37,
+ 37, 37, 37, 37, 37, 37, 37, 37, 37, 37,
+ 37, 37, 37, 37, 37, 37, 37, 37, 37, 37,
+ 37, 37, 37, 37, 37, 37, 37, 37, 37, 37,
+ 37, 37, 37, 37, 37, 37, 37, 37, 37, 37,
+ 37, 37, 37, 37, 37, 37, 37, 37, 37, 37,
+ 37, 37, 37, 37, 37, 37, 37, 37, 37, 37,
+ 37, 37, 37, 37, 37, 37, 37, 37, 37, 37,
+ 37, 37, 37, 37, 37, 0, 37, 0, 37, 37,
+ 0, 0, 37, 37, 37, 37, 37, 37, 37, 0,
+ 0, 37, 37, 37, 37, 10, 10, 37, 37, 37,
+ 37, 10, 37, 37, 37, 37, 37, 37,
+#endif /* ACE_MVS */
+ };
+ return len + asso_values[str[len - 1]] + asso_values[str[0]];
+}
+
+const class TAO_operation_db_entry *
+TAO_CORBA_EnumDef_Perfect_Hash_OpTable::lookup (const char *str, unsigned int len)
+{
+ enum
+ {
+ TOTAL_KEYWORDS = 18,
+ MIN_WORD_LENGTH = 4,
+ MAX_WORD_LENGTH = 26,
+ MIN_HASH_VALUE = 4,
+ MAX_HASH_VALUE = 36,
+ HASH_VALUE_RANGE = 33,
+ DUPLICATES = 6
+ };
+
+ static const class TAO_operation_db_entry wordlist[] =
+ {
+ {"",0},{"",0},{"",0},{"",0},
+ {"move", &POA_CORBA::EnumDef::move_skel},
+ {"_is_a", &POA_CORBA::EnumDef::_is_a_skel},
+ {"_get_id", &POA_CORBA::EnumDef::_get_id_skel},
+ {"_set_id", &POA_CORBA::EnumDef::_set_id_skel},
+ {"describe", &POA_CORBA::EnumDef::describe_skel},
+ {"_get_name", &POA_CORBA::EnumDef::_get_name_skel},
+ {"_get_type", &POA_CORBA::EnumDef::_get_type_skel},
+ {"_set_name", &POA_CORBA::EnumDef::_set_name_skel},
+ {"_get_version", &POA_CORBA::EnumDef::_get_version_skel},
+ {"_set_version", &POA_CORBA::EnumDef::_set_version_skel},
+ {"_get_def_kind", &POA_CORBA::EnumDef::_get_def_kind_skel},
+ {"_get_defined_in", &POA_CORBA::EnumDef::_get_defined_in_skel},
+ {"destroy", &POA_CORBA::EnumDef::destroy_skel},
+ {"_get_absolute_name", &POA_CORBA::EnumDef::_get_absolute_name_skel},
+ {"_get_members", &POA_CORBA::EnumDef::_get_members_skel},
+ {"_set_members", &POA_CORBA::EnumDef::_set_members_skel},
+ {"_non_existent", &POA_CORBA::EnumDef::_non_existent_skel},
+ {"_get_containing_repository", &POA_CORBA::EnumDef::_get_containing_repository_skel},
+ };
+
+ static const signed char lookup[] =
+ {
+ -6, -2, -9, -3, 4, 5, -1, -43, 8, -43, -12, -2, -38, 14,
+ -1, 15, -1, 16, 17, -1, -18, -2, -38, 20, -1, -1, -1, -1,
+ -1, -1, -1, -1, -1, -1, -1, -1, 21,
+ };
+
+ if (len <= MAX_WORD_LENGTH && len >= MIN_WORD_LENGTH)
+ {
+ unsigned int key = hash (str, len);
+
+ if (key <= MAX_HASH_VALUE && key >= MIN_HASH_VALUE)
+ {
+ int slot = lookup[key];
+
+ if (slot >= 0 && slot < MAX_HASH_VALUE)
+ {
+ const char *s = wordlist[slot].opname_;
+
+ if (*str == *s && !strncmp (str + 1, s + 1, len - 1))
+ return &wordlist[slot];
+ }
+ else if (slot < 0 && slot >= -MAX_HASH_VALUE)
+ return 0;
+ else
+ {
+ unsigned int offset = key + slot + (slot > 0 ? -MAX_HASH_VALUE : MAX_HASH_VALUE);
+ const class TAO_operation_db_entry *base = &wordlist[-lookup[offset]];
+ const class TAO_operation_db_entry *ptr = base + -lookup[offset + 1];
+
+ while (--ptr >= base)
+ if (*str == *ptr->opname_ && !strncmp (str + 1, ptr->opname_ + 1, len - 1))
+ return ptr;
+ }
+ }
+ }
+ return 0;
+}
+/* ending time is 10:44:37 */
+static TAO_CORBA_EnumDef_Perfect_Hash_OpTable tao_CORBA_EnumDef_optable;
+
+
+///////////////////////////////////////////////////////////////////////
+// Strategized Proxy Broker Implementation
+//
+
+// Factory function Implementation.
+POA_CORBA::_TAO_EnumDef_Strategized_Proxy_Broker *POA_CORBA::_TAO_EnumDef_Strategized_Proxy_Broker::the_TAO_EnumDef_Strategized_Proxy_Broker (void)
+{
+ static POA_CORBA::_TAO_EnumDef_Strategized_Proxy_Broker strategized_proxy_broker;
+ return &strategized_proxy_broker;
+}
+
+POA_CORBA::_TAO_EnumDef_Strategized_Proxy_Broker::_TAO_EnumDef_Strategized_Proxy_Broker (void)
+{
+ for (int i = 0; i < TAO_Collocation_Strategies::CS_LAST; ++i)
+ this->proxy_cache_[i] = 0;
+
+}
+
+POA_CORBA::_TAO_EnumDef_Strategized_Proxy_Broker::~_TAO_EnumDef_Strategized_Proxy_Broker (void)
+{
+ for (int i = 0; i < TAO_Collocation_Strategies::CS_LAST; ++i)
+ delete this->proxy_cache_[i];
+
+}
+
+_TAO_EnumDef_Proxy_Impl&
+POA_CORBA::_TAO_EnumDef_Strategized_Proxy_Broker::select_proxy (
+ ::CORBA::EnumDef *object,
+ CORBA::Environment &ACE_TRY_ENV
+ )
+{
+ int strategy =
+ TAO_ORB_Core::collocation_strategy (object);
+
+ if (this->proxy_cache_[strategy] != 0)
+ return *this->proxy_cache_[strategy];
+
+ this->create_proxy (strategy, ACE_TRY_ENV);
+ ACE_CHECK_RETURN (*this->proxy_cache_[strategy]);
+
+ return *this->proxy_cache_[strategy];
+
+}
+
+void
+POA_CORBA::_TAO_EnumDef_Strategized_Proxy_Broker::create_proxy (
+ int strategy,
+ CORBA::Environment &ACE_TRY_ENV
+ )
+{
+ ACE_GUARD (TAO_SYNCH_MUTEX, guard, this->mutex_);
+
+ if (this->proxy_cache_[strategy] == 0)
+ {
+ switch (strategy)
+ {
+ case TAO_Collocation_Strategies::CS_THRU_POA_STRATEGY:
+ ACE_NEW_THROW_EX (
+ this->proxy_cache_[strategy],
+ _TAO_EnumDef_ThruPOA_Proxy_Impl,
+ CORBA::NO_MEMORY ()
+ );
+ ACE_CHECK;
+ break;
+
+ case TAO_Collocation_Strategies::CS_REMOTE_STRATEGY:
+ default:
+ ACE_NEW_THROW_EX (
+ this->proxy_cache_[strategy],
+ ::_TAO_EnumDef_Remote_Proxy_Impl,
+ CORBA::NO_MEMORY ()
+ );
+ ACE_CHECK;
+ break;
+
+ }
+
+ }
+}
+
+
+//
+// End Strategized Proxy Broker Implementation
+///////////////////////////////////////////////////////////////////////
+
+
+_TAO_EnumDef_Proxy_Broker *
+CORBA__TAO_EnumDef_Proxy_Broker_Factory_function (CORBA::Object_ptr obj)
+{
+ ACE_UNUSED_ARG (obj);
+ return ::POA_CORBA::_TAO_EnumDef_Strategized_Proxy_Broker::the_TAO_EnumDef_Strategized_Proxy_Broker();
+}
+
+int
+CORBA__TAO_EnumDef_Proxy_Broker_Factory_Initializer (long _dummy_)
+{
+ ACE_UNUSED_ARG (_dummy_);
+
+ CORBA__TAO_EnumDef_Proxy_Broker_Factory_function_pointer =
+ CORBA__TAO_EnumDef_Proxy_Broker_Factory_function;
+
+ return 0;
+}
+
+static int CORBA__TAO_EnumDef_Proxy_Broker_Stub_Factory_Initializer_Scarecrow =
+ CORBA__TAO_EnumDef_Proxy_Broker_Factory_Initializer (ACE_reinterpret_cast (long, CORBA__TAO_EnumDef_Proxy_Broker_Factory_Initializer));
+
+
+///////////////////////////////////////////////////////////////////////
+// ThruPOA Proxy Implementation
+//
+
+POA_CORBA::_TAO_EnumDef_ThruPOA_Proxy_Impl::_TAO_EnumDef_ThruPOA_Proxy_Impl (void)
+{}
+
+// ThruPOA Implementation of the IDL interface methods
+
+CORBA::EnumMemberSeq * POA_CORBA::_TAO_EnumDef_ThruPOA_Proxy_Impl::members (
+ CORBA_Object *_collocated_tao_target_,
+ CORBA::Environment &ACE_TRY_ENV
+ )
+ ACE_THROW_SPEC ((
+ CORBA::SystemException
+ ))
+{
+ CORBA::EnumMemberSeq_var _tao_retval;
+ ACE_UNUSED_ARG (_tao_retval);
+ TAO_Object_Adapter::Servant_Upcall servant_upcall (
+ _collocated_tao_target_->_stubobj ()->servant_orb_var ()->orb_core ()
+ );
+ CORBA::Object_var forward_to;
+ servant_upcall.prepare_for_upcall (
+ _collocated_tao_target_->_object_key (),
+ "members",
+ forward_to.out (),
+ ACE_TRY_ENV
+ );
+ ACE_CHECK_RETURN (0);
+ return ACE_reinterpret_cast (
+ POA_CORBA::EnumDef_ptr,
+ servant_upcall.servant ()->_downcast (
+ "IDL:omg.org/CORBA/EnumDef:1.0"
+ )
+ )->members (
+ ACE_TRY_ENV
+ );
+}
+
+void POA_CORBA::_TAO_EnumDef_ThruPOA_Proxy_Impl::members (
+ CORBA_Object *_collocated_tao_target_,
+ const CORBA::EnumMemberSeq & members,
+ CORBA::Environment &ACE_TRY_ENV
+ )
+ ACE_THROW_SPEC ((
+ CORBA::SystemException
+ ))
+{
+ TAO_Object_Adapter::Servant_Upcall servant_upcall (
+ _collocated_tao_target_->_stubobj ()->servant_orb_var ()->orb_core ()
+ );
+ CORBA::Object_var forward_to;
+ servant_upcall.prepare_for_upcall (
+ _collocated_tao_target_->_object_key (),
+ "members",
+ forward_to.out (),
+ ACE_TRY_ENV
+ );
+ ACE_CHECK;
+ ACE_reinterpret_cast (
+ POA_CORBA::EnumDef_ptr,
+ servant_upcall.servant ()->_downcast (
+ "IDL:omg.org/CORBA/EnumDef:1.0"
+ )
+ )->members (
+ members,
+ ACE_TRY_ENV
+ );
+ return;
+}
+
+//
+// End ThruPOA Proxy Implementation
+///////////////////////////////////////////////////////////////////////
+
+// skeleton constructor
+POA_CORBA::EnumDef::EnumDef (void)
+{
+ this->optable_ = &tao_CORBA_EnumDef_optable;
+}
+
+// copy ctor
+POA_CORBA::EnumDef::EnumDef (const EnumDef& rhs)
+ : ACE_NESTED_CLASS (POA_CORBA,TypedefDef) (rhs),
+ ACE_NESTED_CLASS (POA_CORBA,Contained) (rhs),
+ ACE_NESTED_CLASS (POA_CORBA,IDLType) (rhs),
+ ACE_NESTED_CLASS (POA_CORBA,IRObject) (rhs),
+ TAO_ServantBase (rhs)
+{}
+
+// skeleton destructor
+POA_CORBA::EnumDef::~EnumDef (void)
+{
+}
+
+void POA_CORBA::EnumDef::_get_members_skel (
+ TAO_ServerRequest &_tao_server_request,
+ void *_tao_object_reference,
+ void * /* context */,
+ CORBA::Environment &ACE_TRY_ENV
+ )
+{
+ POA_CORBA::EnumDef *_tao_impl = (POA_CORBA::EnumDef *)_tao_object_reference;
+
+ CORBA::EnumMemberSeq_var _tao_retval;
+
+#if (TAO_HAS_INTERCEPTORS == 1)
+ TAO_ServerRequestInterceptor_Adapter _tao_vfr (
+ _tao_server_request.orb_core ()->server_request_interceptors (),
+ _tao_server_request.interceptor_count ()
+ );
+
+ POA_CORBA::EnumDef::TAO_ServerRequestInfo_CORBA_EnumDef_members_get ri (
+ _tao_server_request,
+ _tao_impl,
+ ACE_TRY_ENV
+ );
+
+ ACE_TRY
+ {
+ _tao_vfr.receive_request (&ri, ACE_TRY_ENV);
+ ACE_TRY_CHECK;
+
+#endif /* TAO_HAS_INTERCEPTORS */
+ _tao_retval =
+ _tao_impl->members (
+ ACE_TRY_ENV
+ );
+ TAO_INTERCEPTOR_CHECK;
+
+#if (TAO_HAS_INTERCEPTORS == 1)
+ CORBA::EnumMemberSeq * _tao_retval_info = _tao_retval._retn ();
+ ri.result (_tao_retval_info);
+ _tao_retval = _tao_retval_info;
+ ri.reply_status (PortableInterceptor::SUCCESSFUL);
+ _tao_vfr.send_reply (&ri, ACE_TRY_ENV);
+ ACE_TRY_CHECK;
+ }
+ ACE_CATCH (PortableInterceptor::ForwardRequest, exc)
+ {
+ ri.forward_reference (exc);
+ _tao_vfr.send_other (
+ &ri,
+ ACE_TRY_ENV
+ );
+ ACE_TRY_CHECK;
+ _tao_server_request.forward_location (exc.forward.in ());
+ }
+ ACE_CATCHANY
+ {
+ ri.exception (&ACE_ANY_EXCEPTION);
+ _tao_vfr.send_exception (
+ &ri,
+ ACE_TRY_ENV
+ );
+ ACE_TRY_CHECK;
+ ACE_RE_THROW;
+ }
+ ACE_ENDTRY;
+ ACE_CHECK;
+#endif /* TAO_HAS_INTERCEPTORS */
+
+ _tao_server_request.init_reply ();
+
+ TAO_OutputCDR &_tao_out = _tao_server_request.outgoing ();
+
+ if (!(
+ (_tao_out << _tao_retval.in ())
+ ))
+ ACE_THROW (CORBA::MARSHAL());
+
+ // In case ACE_TRY_ENV is not used in this function
+ ACE_UNUSED_ARG (ACE_TRY_ENV);
+}
+
+void POA_CORBA::EnumDef::_set_members_skel (
+ TAO_ServerRequest &_tao_server_request,
+ void *_tao_object_reference,
+ void * /* context */,
+ CORBA::Environment &ACE_TRY_ENV
+ )
+{
+ TAO_InputCDR &_tao_in = _tao_server_request.incoming ();
+ POA_CORBA::EnumDef *_tao_impl = (POA_CORBA::EnumDef *)_tao_object_reference;
+
+ _tao_server_request.argument_flag (0);
+ CORBA::EnumMemberSeq members;
+ if (!(
+ (_tao_in >> members)
+ ))
+ ACE_THROW (CORBA::MARSHAL());
+
+
+#if (TAO_HAS_INTERCEPTORS == 1)
+ TAO_ServerRequestInterceptor_Adapter _tao_vfr (
+ _tao_server_request.orb_core ()->server_request_interceptors (),
+ _tao_server_request.interceptor_count ()
+ );
+
+ POA_CORBA::EnumDef::TAO_ServerRequestInfo_CORBA_EnumDef_members_set ri (
+ _tao_server_request,
+ _tao_impl,
+ members,
+ ACE_TRY_ENV
+ );
+
+ ACE_TRY
+ {
+ _tao_vfr.receive_request (&ri, ACE_TRY_ENV);
+ ACE_TRY_CHECK;
+
+#endif /* TAO_HAS_INTERCEPTORS */
+
+ _tao_impl->members (
+ members,
+ ACE_TRY_ENV
+ );
+ TAO_INTERCEPTOR_CHECK;
+
+#if (TAO_HAS_INTERCEPTORS == 1)
+ ri.reply_status (PortableInterceptor::SUCCESSFUL);
+ _tao_vfr.send_reply (&ri, ACE_TRY_ENV);
+ ACE_TRY_CHECK;
+ }
+ ACE_CATCH (PortableInterceptor::ForwardRequest, exc)
+ {
+ ri.forward_reference (exc);
+ _tao_vfr.send_other (
+ &ri,
+ ACE_TRY_ENV
+ );
+ ACE_TRY_CHECK;
+ _tao_server_request.forward_location (exc.forward.in ());
+ }
+ ACE_CATCHANY
+ {
+ ri.exception (&ACE_ANY_EXCEPTION);
+ _tao_vfr.send_exception (
+ &ri,
+ ACE_TRY_ENV
+ );
+ ACE_TRY_CHECK;
+ ACE_RE_THROW;
+ }
+ ACE_ENDTRY;
+ ACE_CHECK;
+#endif /* TAO_HAS_INTERCEPTORS */
+
+ _tao_server_request.init_reply ();
+
+ // In case ACE_TRY_ENV is not used in this function
+ ACE_UNUSED_ARG (ACE_TRY_ENV);
+}
+
+void POA_CORBA::EnumDef::_is_a_skel (
+ TAO_ServerRequest &_tao_server_request,
+ void * _tao_object_reference,
+ void * /* context */,
+ CORBA::Environment &ACE_TRY_ENV
+ )
+{
+ TAO_InputCDR &_tao_in = _tao_server_request.incoming ();
+ POA_CORBA::EnumDef *_tao_impl = (POA_CORBA::EnumDef *) _tao_object_reference;
+ CORBA::Boolean _tao_retval = 0;
+ CORBA::String_var value;
+ if (!(_tao_in >> value.out ()))
+ ACE_THROW (CORBA::MARSHAL ());
+
+ _tao_retval = _tao_impl->_is_a (value.in (), ACE_TRY_ENV);
+ ACE_CHECK;
+
+ _tao_server_request.init_reply ();
+ TAO_OutputCDR &_tao_out = _tao_server_request.outgoing ();
+ if (!(_tao_out << CORBA::Any::from_boolean (_tao_retval)))
+ ACE_THROW (CORBA::MARSHAL ());
+}
+
+void POA_CORBA::EnumDef::_non_existent_skel (
+ TAO_ServerRequest &_tao_server_request,
+ void * _tao_object_reference,
+ void * /* context */,
+ CORBA::Environment &ACE_TRY_ENV
+ )
+{
+ POA_CORBA::EnumDef *_tao_impl = (POA_CORBA::EnumDef *) _tao_object_reference;
+ CORBA::Boolean _tao_retval = _tao_impl->_non_existent (ACE_TRY_ENV);
+ ACE_CHECK;
+
+ _tao_server_request.init_reply ();
+ TAO_OutputCDR &_tao_out = _tao_server_request.outgoing ();
+ if (!(_tao_out << CORBA::Any::from_boolean (_tao_retval)))
+ ACE_THROW (CORBA::MARSHAL ());
+}
+
+CORBA::Boolean POA_CORBA::EnumDef::_is_a (
+ const char* value,
+ CORBA::Environment &ACE_TRY_ENV
+ )
+{
+ const char *base_id = CORBA::_tc_Object->id (ACE_TRY_ENV);
+ ACE_CHECK_RETURN (0);
+
+ if (
+ (!ACE_OS::strcmp ((char *)value, "IDL:omg.org/CORBA/EnumDef:1.0")) ||
+ (!ACE_OS::strcmp ((char *)value, "IDL:omg.org/CORBA/TypedefDef:1.0")) ||
+ (!ACE_OS::strcmp ((char *)value, "IDL:omg.org/CORBA/Contained:1.0")) ||
+ (!ACE_OS::strcmp ((char *)value, "IDL:omg.org/CORBA/IDLType:1.0")) ||
+ (!ACE_OS::strcmp ((char *)value, "IDL:omg.org/CORBA/IRObject:1.0")) ||
+ (!ACE_OS::strcmp ((char *)value, base_id)))
+ return 1;
+ else
+ return 0;
+}
+
+void* POA_CORBA::EnumDef::_downcast (
+ const char* logical_type_id
+ )
+{
+ if (ACE_OS::strcmp (logical_type_id, "IDL:omg.org/CORBA/EnumDef:1.0") == 0)
+ return ACE_static_cast (POA_CORBA::EnumDef_ptr, this);
+ if (ACE_OS::strcmp (logical_type_id, "IDL:omg.org/CORBA/TypedefDef:1.0") == 0)
+ return ACE_static_cast (POA_CORBA::TypedefDef_ptr, this);
+ if (ACE_OS::strcmp (logical_type_id, "IDL:omg.org/CORBA/Contained:1.0") == 0)
+ return ACE_static_cast (POA_CORBA::Contained_ptr, this);
+ if (ACE_OS::strcmp (logical_type_id, "IDL:omg.org/CORBA/IDLType:1.0") == 0)
+ return ACE_static_cast (POA_CORBA::IDLType_ptr, this);
+ if (ACE_OS::strcmp (logical_type_id, "IDL:omg.org/CORBA/IRObject:1.0") == 0)
+ return ACE_static_cast (POA_CORBA::IRObject_ptr, this);
+ if (ACE_OS::strcmp (logical_type_id, "IDL:omg.org/CORBA/Object:1.0") == 0)
+ return ACE_static_cast(PortableServer::Servant, this);
+ return 0;
+}
+
+void POA_CORBA::EnumDef::_dispatch (TAO_ServerRequest &req, void *context, CORBA::Environment &ACE_TRY_ENV)
+{
+ this->synchronous_upcall_dispatch(req, context, this, ACE_TRY_ENV);
+}
+
+const char* POA_CORBA::EnumDef::_interface_repository_id (void) const
+{
+ return "IDL:omg.org/CORBA/EnumDef:1.0";
+}
+
+CORBA::EnumDef*
+POA_CORBA::EnumDef::_this (CORBA_Environment &ACE_TRY_ENV)
+{
+ TAO_Stub *stub = this->_create_stub (ACE_TRY_ENV);
+ ACE_CHECK_RETURN (0);
+
+ CORBA::Object_ptr tmp = CORBA::Object::_nil ();
+
+ if (stub->servant_orb_var ()->orb_core ()->optimize_collocation_objects ())
+ ACE_NEW_RETURN (tmp, CORBA::Object (stub, 1, this), 0);
+ else
+ ACE_NEW_RETURN (tmp, CORBA::Object (stub, 0, this), 0);
+
+ CORBA::Object_var obj = tmp;
+ return ::CORBA::EnumDef::_unchecked_narrow (obj.in ());
+}
+
+
+#if (TAO_HAS_INTERCEPTORS == 1)
+POA_CORBA::EnumDef::TAO_ServerRequestInfo_CORBA_EnumDef_members_get::TAO_ServerRequestInfo_CORBA_EnumDef_members_get (
+ TAO_ServerRequest &_tao_server_request,
+ POA_CORBA::EnumDef *tao_impl,
+ CORBA::Environment &
+ )
+ : TAO_ServerRequestInfo (_tao_server_request),
+ _tao_impl (tao_impl)
+{}
+
+Dynamic::ParameterList *
+POA_CORBA::EnumDef::TAO_ServerRequestInfo_CORBA_EnumDef_members_get::arguments (CORBA::Environment &ACE_TRY_ENV)
+ ACE_THROW_SPEC ((CORBA::SystemException))
+{
+ // Generate the argument list on demand.
+ Dynamic::ParameterList *parameter_list =
+ TAO_RequestInfo_Util::make_parameter_list (ACE_TRY_ENV);
+ ACE_CHECK_RETURN (0);
+
+ return parameter_list;
+}
+
+Dynamic::ExceptionList *
+POA_CORBA::EnumDef::TAO_ServerRequestInfo_CORBA_EnumDef_members_get::exceptions (CORBA::Environment &ACE_TRY_ENV)
+ ACE_THROW_SPEC ((CORBA::SystemException))
+{
+ // Generate the exception list on demand.
+ Dynamic::ExceptionList *exception_list =
+ TAO_RequestInfo_Util::make_exception_list (ACE_TRY_ENV);
+ ACE_CHECK_RETURN (0);
+
+ return exception_list;
+}
+
+CORBA::Any *
+POA_CORBA::EnumDef::TAO_ServerRequestInfo_CORBA_EnumDef_members_get::result (CORBA::Environment &ACE_TRY_ENV)
+ ACE_THROW_SPEC ((CORBA::SystemException))
+{
+ // Generate the result on demand.
+ CORBA::Boolean tk_void_any = 0;
+ CORBA::Any *result_any =
+ TAO_RequestInfo_Util::make_any (tk_void_any, ACE_TRY_ENV);
+ ACE_CHECK_RETURN (0);
+
+ CORBA::Any_var safe_result_any = result_any;
+
+ (*result_any) <<= this->_result;
+
+ return safe_result_any._retn ();
+}
+
+char *
+POA_CORBA::EnumDef::TAO_ServerRequestInfo_CORBA_EnumDef_members_get::target_most_derived_interface (
+ CORBA::Environment &)
+ ACE_THROW_SPEC ((CORBA::SystemException))
+{
+ return
+ CORBA::string_dup (this->_tao_impl->_interface_repository_id ());
+}
+
+CORBA::Boolean
+POA_CORBA::EnumDef::TAO_ServerRequestInfo_CORBA_EnumDef_members_get::target_is_a (
+ const char * id,
+ CORBA::Environment &ACE_TRY_ENV)
+ ACE_THROW_SPEC ((CORBA::SystemException))
+{
+ return this->_tao_impl->_is_a (id, ACE_TRY_ENV);
+}
+
+void
+POA_CORBA::EnumDef::TAO_ServerRequestInfo_CORBA_EnumDef_members_get::result (CORBA::EnumMemberSeq * result)
+{
+ // Update the result.
+ this->_result = result;
+}
+
+POA_CORBA::EnumDef::TAO_ServerRequestInfo_CORBA_EnumDef_members_set::TAO_ServerRequestInfo_CORBA_EnumDef_members_set (
+ TAO_ServerRequest &_tao_server_request,
+ POA_CORBA::EnumDef *tao_impl,
+ const CORBA::EnumMemberSeq & members,
+ CORBA::Environment &
+ )
+ : TAO_ServerRequestInfo (_tao_server_request),
+ _tao_impl (tao_impl),
+ members_ (members)
+{}
+
+Dynamic::ParameterList *
+POA_CORBA::EnumDef::TAO_ServerRequestInfo_CORBA_EnumDef_members_set::arguments (CORBA::Environment &ACE_TRY_ENV)
+ ACE_THROW_SPEC ((CORBA::SystemException))
+{
+ // Generate the argument list on demand.
+ Dynamic::ParameterList *parameter_list =
+ TAO_RequestInfo_Util::make_parameter_list (ACE_TRY_ENV);
+ ACE_CHECK_RETURN (0);
+
+ Dynamic::ParameterList_var safe_parameter_list = parameter_list;
+
+ CORBA::ULong length_members = parameter_list->length ();
+ parameter_list->length (length_members + 1);
+ (*parameter_list)[length_members].argument <<= this->members_;
+
+ (*parameter_list)[length_members].mode = Dynamic::PARAM_IN;
+
+ return safe_parameter_list._retn ();
+}
+
+Dynamic::ExceptionList *
+POA_CORBA::EnumDef::TAO_ServerRequestInfo_CORBA_EnumDef_members_set::exceptions (CORBA::Environment &ACE_TRY_ENV)
+ ACE_THROW_SPEC ((CORBA::SystemException))
+{
+ // Generate the exception list on demand.
+ Dynamic::ExceptionList *exception_list =
+ TAO_RequestInfo_Util::make_exception_list (ACE_TRY_ENV);
+ ACE_CHECK_RETURN (0);
+
+ return exception_list;
+}
+
+CORBA::Any *
+POA_CORBA::EnumDef::TAO_ServerRequestInfo_CORBA_EnumDef_members_set::result (CORBA::Environment &ACE_TRY_ENV)
+ ACE_THROW_SPEC ((CORBA::SystemException))
+{
+ // Generate the result on demand.
+ CORBA::Boolean tk_void_any = 1;
+ CORBA::Any *result_any =
+ TAO_RequestInfo_Util::make_any (tk_void_any, ACE_TRY_ENV);
+ ACE_CHECK_RETURN (0);
+
+ return result_any;
+}
+
+char *
+POA_CORBA::EnumDef::TAO_ServerRequestInfo_CORBA_EnumDef_members_set::target_most_derived_interface (
+ CORBA::Environment &)
+ ACE_THROW_SPEC ((CORBA::SystemException))
+{
+ return
+ CORBA::string_dup (this->_tao_impl->_interface_repository_id ());
+}
+
+CORBA::Boolean
+POA_CORBA::EnumDef::TAO_ServerRequestInfo_CORBA_EnumDef_members_set::target_is_a (
+ const char * id,
+ CORBA::Environment &ACE_TRY_ENV)
+ ACE_THROW_SPEC ((CORBA::SystemException))
+{
+ return this->_tao_impl->_is_a (id, ACE_TRY_ENV);
+}
+
+#endif /* TAO_HAS_INTERCEPTORS */
+class TAO_CORBA_AliasDef_Perfect_Hash_OpTable : public TAO_Perfect_Hash_OpTable
+{
+private:
+ unsigned int hash (const char *str, unsigned int len);
+public:
+ const TAO_operation_db_entry * lookup (const char *str, unsigned int len);
+};
+/* starting time is 10:44:37 */
+/* C++ code produced by gperf version 2.8 (ACE version) */
+/* Command-line: gperf -m -M -J -c -C -D -E -T -f 0 -F 0 -a -o -t -p -K opname_ -L C++ -Z TAO_CORBA_AliasDef_Perfect_Hash_OpTable -N lookup */
+unsigned int
+TAO_CORBA_AliasDef_Perfect_Hash_OpTable::hash (const char *str, unsigned int len)
+{
+ static const unsigned char asso_values[] =
+ {
+#if defined (ACE_MVS)
+ 37, 37, 37, 37, 37, 37, 37, 37, 37, 37,
+ 37, 37, 37, 37, 37, 37, 37, 37, 37, 37,
+ 37, 37, 37, 37, 37, 37, 37, 37, 37, 37,
+ 37, 37, 37, 37, 37, 37, 37, 37, 37, 37,
+ 37, 37, 37, 37, 37, 37, 37, 37, 37, 37,
+ 37, 37, 37, 37, 37, 37, 37, 37, 37, 37,
+ 37, 37, 37, 37, 37, 37, 37, 37, 37, 37,
+ 37, 37, 37, 37, 37, 37, 37, 37, 37, 37,
+ 37, 37, 37, 37, 37, 37, 37, 37, 37, 37,
+ 37, 37, 37, 37, 37, 37, 37, 37, 37, 37,
+ 37, 37, 37, 37, 37, 37, 37, 37, 37, 0,
+ 37, 37, 37, 37, 37, 37, 37, 37, 37, 37,
+ 37, 37, 37, 37, 37, 37, 37, 37, 37, 0,
+ 37, 37, 0, 0, 0, 37, 37, 37, 37, 37,
+ 37, 37, 37, 37, 37, 37, 37, 37, 0, 0,
+ 37, 37, 37, 37, 37, 37, 37, 37, 37, 37,
+ 37, 37, 37, 10, 37, 37, 37, 37, 10, 37,
+ 37, 37, 37, 37, 37, 37, 37, 37, 37, 37,
+ 37, 37, 37, 37, 37, 37, 37, 37, 37, 37,
+ 37, 37, 37, 37, 37, 37, 37, 37, 37, 37,
+ 37, 37, 37, 37, 37, 37, 37, 37, 37, 37,
+ 37, 37, 37, 37, 37, 37, 37, 37, 37, 37,
+ 37, 37, 37, 37, 37, 37, 37, 37, 37, 37,
+ 37, 37, 37, 37, 37, 37, 37, 37, 37, 37,
+ 37, 37, 37, 37, 37, 37, 37, 37, 37, 37,
+ 37, 37, 37, 37, 37, 37,
+#else
+ 37, 37, 37, 37, 37, 37, 37, 37, 37, 37,
+ 37, 37, 37, 37, 37, 37, 37, 37, 37, 37,
+ 37, 37, 37, 37, 37, 37, 37, 37, 37, 37,
+ 37, 37, 37, 37, 37, 37, 37, 37, 37, 37,
+ 37, 37, 37, 37, 37, 37, 37, 37, 37, 37,
+ 37, 37, 37, 37, 37, 37, 37, 37, 37, 37,
+ 37, 37, 37, 37, 37, 37, 37, 37, 37, 37,
+ 37, 37, 37, 37, 37, 37, 37, 37, 37, 37,
+ 37, 37, 37, 37, 37, 37, 37, 37, 37, 37,
+ 37, 37, 37, 37, 37, 0, 37, 0, 37, 37,
+ 0, 0, 0, 37, 37, 37, 37, 37, 37, 0,
+ 0, 37, 37, 37, 37, 37, 10, 37, 37, 37,
+ 37, 10, 37, 37, 37, 37, 37, 37,
+#endif /* ACE_MVS */
+ };
+ return len + asso_values[str[len - 1]] + asso_values[str[0]];
+}
+
+const class TAO_operation_db_entry *
+TAO_CORBA_AliasDef_Perfect_Hash_OpTable::lookup (const char *str, unsigned int len)
+{
+ enum
+ {
+ TOTAL_KEYWORDS = 18,
+ MIN_WORD_LENGTH = 4,
+ MAX_WORD_LENGTH = 26,
+ MIN_HASH_VALUE = 4,
+ MAX_HASH_VALUE = 36,
+ HASH_VALUE_RANGE = 33,
+ DUPLICATES = 6
+ };
+
+ static const class TAO_operation_db_entry wordlist[] =
+ {
+ {"",0},{"",0},{"",0},{"",0},
+ {"move", &POA_CORBA::AliasDef::move_skel},
+ {"_is_a", &POA_CORBA::AliasDef::_is_a_skel},
+ {"_get_id", &POA_CORBA::AliasDef::_get_id_skel},
+ {"_set_id", &POA_CORBA::AliasDef::_set_id_skel},
+ {"describe", &POA_CORBA::AliasDef::describe_skel},
+ {"_get_name", &POA_CORBA::AliasDef::_get_name_skel},
+ {"_get_type", &POA_CORBA::AliasDef::_get_type_skel},
+ {"_set_name", &POA_CORBA::AliasDef::_set_name_skel},
+ {"_get_version", &POA_CORBA::AliasDef::_get_version_skel},
+ {"_set_version", &POA_CORBA::AliasDef::_set_version_skel},
+ {"_get_def_kind", &POA_CORBA::AliasDef::_get_def_kind_skel},
+ {"_get_defined_in", &POA_CORBA::AliasDef::_get_defined_in_skel},
+ {"destroy", &POA_CORBA::AliasDef::destroy_skel},
+ {"_get_absolute_name", &POA_CORBA::AliasDef::_get_absolute_name_skel},
+ {"_get_original_type_def", &POA_CORBA::AliasDef::_get_original_type_def_skel},
+ {"_set_original_type_def", &POA_CORBA::AliasDef::_set_original_type_def_skel},
+ {"_non_existent", &POA_CORBA::AliasDef::_non_existent_skel},
+ {"_get_containing_repository", &POA_CORBA::AliasDef::_get_containing_repository_skel},
+ };
+
+ static const signed char lookup[] =
+ {
+ -6, -2, -9, -3, 4, 5, -1, -43, 8, -43, -12, -2, -38, 14,
+ -1, 15, -1, 16, 17, -1, -18, -2, -38, 20, -1, -1, -1, -1,
+ -1, -1, -1, -1, -1, -1, -1, -1, 21,
+ };
+
+ if (len <= MAX_WORD_LENGTH && len >= MIN_WORD_LENGTH)
+ {
+ unsigned int key = hash (str, len);
+
+ if (key <= MAX_HASH_VALUE && key >= MIN_HASH_VALUE)
+ {
+ int slot = lookup[key];
+
+ if (slot >= 0 && slot < MAX_HASH_VALUE)
+ {
+ const char *s = wordlist[slot].opname_;
+
+ if (*str == *s && !strncmp (str + 1, s + 1, len - 1))
+ return &wordlist[slot];
+ }
+ else if (slot < 0 && slot >= -MAX_HASH_VALUE)
+ return 0;
+ else
+ {
+ unsigned int offset = key + slot + (slot > 0 ? -MAX_HASH_VALUE : MAX_HASH_VALUE);
+ const class TAO_operation_db_entry *base = &wordlist[-lookup[offset]];
+ const class TAO_operation_db_entry *ptr = base + -lookup[offset + 1];
+
+ while (--ptr >= base)
+ if (*str == *ptr->opname_ && !strncmp (str + 1, ptr->opname_ + 1, len - 1))
+ return ptr;
+ }
+ }
+ }
+ return 0;
+}
+/* ending time is 10:44:37 */
+static TAO_CORBA_AliasDef_Perfect_Hash_OpTable tao_CORBA_AliasDef_optable;
+
+
+///////////////////////////////////////////////////////////////////////
+// Strategized Proxy Broker Implementation
+//
+
+// Factory function Implementation.
+POA_CORBA::_TAO_AliasDef_Strategized_Proxy_Broker *POA_CORBA::_TAO_AliasDef_Strategized_Proxy_Broker::the_TAO_AliasDef_Strategized_Proxy_Broker (void)
+{
+ static POA_CORBA::_TAO_AliasDef_Strategized_Proxy_Broker strategized_proxy_broker;
+ return &strategized_proxy_broker;
+}
+
+POA_CORBA::_TAO_AliasDef_Strategized_Proxy_Broker::_TAO_AliasDef_Strategized_Proxy_Broker (void)
+{
+ for (int i = 0; i < TAO_Collocation_Strategies::CS_LAST; ++i)
+ this->proxy_cache_[i] = 0;
+
+}
+
+POA_CORBA::_TAO_AliasDef_Strategized_Proxy_Broker::~_TAO_AliasDef_Strategized_Proxy_Broker (void)
+{
+ for (int i = 0; i < TAO_Collocation_Strategies::CS_LAST; ++i)
+ delete this->proxy_cache_[i];
+
+}
+
+_TAO_AliasDef_Proxy_Impl&
+POA_CORBA::_TAO_AliasDef_Strategized_Proxy_Broker::select_proxy (
+ ::CORBA::AliasDef *object,
+ CORBA::Environment &ACE_TRY_ENV
+ )
+{
+ int strategy =
+ TAO_ORB_Core::collocation_strategy (object);
+
+ if (this->proxy_cache_[strategy] != 0)
+ return *this->proxy_cache_[strategy];
+
+ this->create_proxy (strategy, ACE_TRY_ENV);
+ ACE_CHECK_RETURN (*this->proxy_cache_[strategy]);
+
+ return *this->proxy_cache_[strategy];
+
+}
+
+void
+POA_CORBA::_TAO_AliasDef_Strategized_Proxy_Broker::create_proxy (
+ int strategy,
+ CORBA::Environment &ACE_TRY_ENV
+ )
+{
+ ACE_GUARD (TAO_SYNCH_MUTEX, guard, this->mutex_);
+
+ if (this->proxy_cache_[strategy] == 0)
+ {
+ switch (strategy)
+ {
+ case TAO_Collocation_Strategies::CS_THRU_POA_STRATEGY:
+ ACE_NEW_THROW_EX (
+ this->proxy_cache_[strategy],
+ _TAO_AliasDef_ThruPOA_Proxy_Impl,
+ CORBA::NO_MEMORY ()
+ );
+ ACE_CHECK;
+ break;
+
+ case TAO_Collocation_Strategies::CS_REMOTE_STRATEGY:
+ default:
+ ACE_NEW_THROW_EX (
+ this->proxy_cache_[strategy],
+ ::_TAO_AliasDef_Remote_Proxy_Impl,
+ CORBA::NO_MEMORY ()
+ );
+ ACE_CHECK;
+ break;
+
+ }
+
+ }
+}
+
+
+//
+// End Strategized Proxy Broker Implementation
+///////////////////////////////////////////////////////////////////////
+
+
+_TAO_AliasDef_Proxy_Broker *
+CORBA__TAO_AliasDef_Proxy_Broker_Factory_function (CORBA::Object_ptr obj)
+{
+ ACE_UNUSED_ARG (obj);
+ return ::POA_CORBA::_TAO_AliasDef_Strategized_Proxy_Broker::the_TAO_AliasDef_Strategized_Proxy_Broker();
+}
+
+int
+CORBA__TAO_AliasDef_Proxy_Broker_Factory_Initializer (long _dummy_)
+{
+ ACE_UNUSED_ARG (_dummy_);
+
+ CORBA__TAO_AliasDef_Proxy_Broker_Factory_function_pointer =
+ CORBA__TAO_AliasDef_Proxy_Broker_Factory_function;
+
+ return 0;
+}
+
+static int CORBA__TAO_AliasDef_Proxy_Broker_Stub_Factory_Initializer_Scarecrow =
+ CORBA__TAO_AliasDef_Proxy_Broker_Factory_Initializer (ACE_reinterpret_cast (long, CORBA__TAO_AliasDef_Proxy_Broker_Factory_Initializer));
+
+
+///////////////////////////////////////////////////////////////////////
+// ThruPOA Proxy Implementation
+//
+
+POA_CORBA::_TAO_AliasDef_ThruPOA_Proxy_Impl::_TAO_AliasDef_ThruPOA_Proxy_Impl (void)
+{}
+
+// ThruPOA Implementation of the IDL interface methods
+
+CORBA::IDLType_ptr POA_CORBA::_TAO_AliasDef_ThruPOA_Proxy_Impl::original_type_def (
+ CORBA_Object *_collocated_tao_target_,
+ CORBA::Environment &ACE_TRY_ENV
+ )
+ ACE_THROW_SPEC ((
+ CORBA::SystemException
+ ))
+{
+ CORBA::IDLType_var _tao_retval;
+ ACE_UNUSED_ARG (_tao_retval);
+ TAO_Object_Adapter::Servant_Upcall servant_upcall (
+ _collocated_tao_target_->_stubobj ()->servant_orb_var ()->orb_core ()
+ );
+ CORBA::Object_var forward_to;
+ servant_upcall.prepare_for_upcall (
+ _collocated_tao_target_->_object_key (),
+ "original_type_def",
+ forward_to.out (),
+ ACE_TRY_ENV
+ );
+ ACE_CHECK_RETURN (0);
+ return ACE_reinterpret_cast (
+ POA_CORBA::AliasDef_ptr,
+ servant_upcall.servant ()->_downcast (
+ "IDL:omg.org/CORBA/AliasDef:1.0"
+ )
+ )->original_type_def (
+ ACE_TRY_ENV
+ );
+}
+
+void POA_CORBA::_TAO_AliasDef_ThruPOA_Proxy_Impl::original_type_def (
+ CORBA_Object *_collocated_tao_target_,
+ CORBA::IDLType_ptr original_type_def,
+ CORBA::Environment &ACE_TRY_ENV
+ )
+ ACE_THROW_SPEC ((
+ CORBA::SystemException
+ ))
+{
+ TAO_Object_Adapter::Servant_Upcall servant_upcall (
+ _collocated_tao_target_->_stubobj ()->servant_orb_var ()->orb_core ()
+ );
+ CORBA::Object_var forward_to;
+ servant_upcall.prepare_for_upcall (
+ _collocated_tao_target_->_object_key (),
+ "original_type_def",
+ forward_to.out (),
+ ACE_TRY_ENV
+ );
+ ACE_CHECK;
+ ACE_reinterpret_cast (
+ POA_CORBA::AliasDef_ptr,
+ servant_upcall.servant ()->_downcast (
+ "IDL:omg.org/CORBA/AliasDef:1.0"
+ )
+ )->original_type_def (
+ original_type_def,
+ ACE_TRY_ENV
+ );
+ return;
+}
+
+//
+// End ThruPOA Proxy Implementation
+///////////////////////////////////////////////////////////////////////
+
+// skeleton constructor
+POA_CORBA::AliasDef::AliasDef (void)
+{
+ this->optable_ = &tao_CORBA_AliasDef_optable;
+}
+
+// copy ctor
+POA_CORBA::AliasDef::AliasDef (const AliasDef& rhs)
+ : ACE_NESTED_CLASS (POA_CORBA,TypedefDef) (rhs),
+ ACE_NESTED_CLASS (POA_CORBA,Contained) (rhs),
+ ACE_NESTED_CLASS (POA_CORBA,IDLType) (rhs),
+ ACE_NESTED_CLASS (POA_CORBA,IRObject) (rhs),
+ TAO_ServantBase (rhs)
+{}
+
+// skeleton destructor
+POA_CORBA::AliasDef::~AliasDef (void)
+{
+}
+
+void POA_CORBA::AliasDef::_get_original_type_def_skel (
+ TAO_ServerRequest &_tao_server_request,
+ void *_tao_object_reference,
+ void * /* context */,
+ CORBA::Environment &ACE_TRY_ENV
+ )
+{
+ POA_CORBA::AliasDef *_tao_impl = (POA_CORBA::AliasDef *)_tao_object_reference;
+
+ CORBA::IDLType_var _tao_retval;
+
+#if (TAO_HAS_INTERCEPTORS == 1)
+ TAO_ServerRequestInterceptor_Adapter _tao_vfr (
+ _tao_server_request.orb_core ()->server_request_interceptors (),
+ _tao_server_request.interceptor_count ()
+ );
+
+ POA_CORBA::AliasDef::TAO_ServerRequestInfo_CORBA_AliasDef_original_type_def_get ri (
+ _tao_server_request,
+ _tao_impl,
+ ACE_TRY_ENV
+ );
+
+ ACE_TRY
+ {
+ _tao_vfr.receive_request (&ri, ACE_TRY_ENV);
+ ACE_TRY_CHECK;
+
+#endif /* TAO_HAS_INTERCEPTORS */
+ _tao_retval =
+ _tao_impl->original_type_def (
+ ACE_TRY_ENV
+ );
+ TAO_INTERCEPTOR_CHECK;
+
+#if (TAO_HAS_INTERCEPTORS == 1)
+ CORBA::IDLType_ptr _tao_retval_info = _tao_retval._retn ();
+ ri.result (_tao_retval_info);
+ _tao_retval = _tao_retval_info;
+ ri.reply_status (PortableInterceptor::SUCCESSFUL);
+ _tao_vfr.send_reply (&ri, ACE_TRY_ENV);
+ ACE_TRY_CHECK;
+ }
+ ACE_CATCH (PortableInterceptor::ForwardRequest, exc)
+ {
+ ri.forward_reference (exc);
+ _tao_vfr.send_other (
+ &ri,
+ ACE_TRY_ENV
+ );
+ ACE_TRY_CHECK;
+ _tao_server_request.forward_location (exc.forward.in ());
+ }
+ ACE_CATCHANY
+ {
+ ri.exception (&ACE_ANY_EXCEPTION);
+ _tao_vfr.send_exception (
+ &ri,
+ ACE_TRY_ENV
+ );
+ ACE_TRY_CHECK;
+ ACE_RE_THROW;
+ }
+ ACE_ENDTRY;
+ ACE_CHECK;
+#endif /* TAO_HAS_INTERCEPTORS */
+
+ _tao_server_request.init_reply ();
+
+ TAO_OutputCDR &_tao_out = _tao_server_request.outgoing ();
+
+ if (!(
+ (_tao_out << _tao_retval.in ())
+ ))
+ ACE_THROW (CORBA::MARSHAL());
+
+ // In case ACE_TRY_ENV is not used in this function
+ ACE_UNUSED_ARG (ACE_TRY_ENV);
+}
+
+void POA_CORBA::AliasDef::_set_original_type_def_skel (
+ TAO_ServerRequest &_tao_server_request,
+ void *_tao_object_reference,
+ void * /* context */,
+ CORBA::Environment &ACE_TRY_ENV
+ )
+{
+ TAO_InputCDR &_tao_in = _tao_server_request.incoming ();
+ POA_CORBA::AliasDef *_tao_impl = (POA_CORBA::AliasDef *)_tao_object_reference;
+
+ _tao_server_request.argument_flag (0);
+ CORBA::IDLType_var original_type_def;
+ if (!(
+ (_tao_in >> original_type_def.out ())
+ ))
+ ACE_THROW (CORBA::MARSHAL());
+
+
+#if (TAO_HAS_INTERCEPTORS == 1)
+ TAO_ServerRequestInterceptor_Adapter _tao_vfr (
+ _tao_server_request.orb_core ()->server_request_interceptors (),
+ _tao_server_request.interceptor_count ()
+ );
+
+ POA_CORBA::AliasDef::TAO_ServerRequestInfo_CORBA_AliasDef_original_type_def_set ri (
+ _tao_server_request,
+ _tao_impl,
+ original_type_def.in (),
+ ACE_TRY_ENV
+ );
+
+ ACE_TRY
+ {
+ _tao_vfr.receive_request (&ri, ACE_TRY_ENV);
+ ACE_TRY_CHECK;
+
+#endif /* TAO_HAS_INTERCEPTORS */
+
+ _tao_impl->original_type_def (
+ original_type_def.in (),
+ ACE_TRY_ENV
+ );
+ TAO_INTERCEPTOR_CHECK;
+
+#if (TAO_HAS_INTERCEPTORS == 1)
+ ri.reply_status (PortableInterceptor::SUCCESSFUL);
+ _tao_vfr.send_reply (&ri, ACE_TRY_ENV);
+ ACE_TRY_CHECK;
+ }
+ ACE_CATCH (PortableInterceptor::ForwardRequest, exc)
+ {
+ ri.forward_reference (exc);
+ _tao_vfr.send_other (
+ &ri,
+ ACE_TRY_ENV
+ );
+ ACE_TRY_CHECK;
+ _tao_server_request.forward_location (exc.forward.in ());
+ }
+ ACE_CATCHANY
+ {
+ ri.exception (&ACE_ANY_EXCEPTION);
+ _tao_vfr.send_exception (
+ &ri,
+ ACE_TRY_ENV
+ );
+ ACE_TRY_CHECK;
+ ACE_RE_THROW;
+ }
+ ACE_ENDTRY;
+ ACE_CHECK;
+#endif /* TAO_HAS_INTERCEPTORS */
+
+ _tao_server_request.init_reply ();
+
+ // In case ACE_TRY_ENV is not used in this function
+ ACE_UNUSED_ARG (ACE_TRY_ENV);
+}
+
+void POA_CORBA::AliasDef::_is_a_skel (
+ TAO_ServerRequest &_tao_server_request,
+ void * _tao_object_reference,
+ void * /* context */,
+ CORBA::Environment &ACE_TRY_ENV
+ )
+{
+ TAO_InputCDR &_tao_in = _tao_server_request.incoming ();
+ POA_CORBA::AliasDef *_tao_impl = (POA_CORBA::AliasDef *) _tao_object_reference;
+ CORBA::Boolean _tao_retval = 0;
+ CORBA::String_var value;
+ if (!(_tao_in >> value.out ()))
+ ACE_THROW (CORBA::MARSHAL ());
+
+ _tao_retval = _tao_impl->_is_a (value.in (), ACE_TRY_ENV);
+ ACE_CHECK;
+
+ _tao_server_request.init_reply ();
+ TAO_OutputCDR &_tao_out = _tao_server_request.outgoing ();
+ if (!(_tao_out << CORBA::Any::from_boolean (_tao_retval)))
+ ACE_THROW (CORBA::MARSHAL ());
+}
+
+void POA_CORBA::AliasDef::_non_existent_skel (
+ TAO_ServerRequest &_tao_server_request,
+ void * _tao_object_reference,
+ void * /* context */,
+ CORBA::Environment &ACE_TRY_ENV
+ )
+{
+ POA_CORBA::AliasDef *_tao_impl = (POA_CORBA::AliasDef *) _tao_object_reference;
+ CORBA::Boolean _tao_retval = _tao_impl->_non_existent (ACE_TRY_ENV);
+ ACE_CHECK;
+
+ _tao_server_request.init_reply ();
+ TAO_OutputCDR &_tao_out = _tao_server_request.outgoing ();
+ if (!(_tao_out << CORBA::Any::from_boolean (_tao_retval)))
+ ACE_THROW (CORBA::MARSHAL ());
+}
+
+CORBA::Boolean POA_CORBA::AliasDef::_is_a (
+ const char* value,
+ CORBA::Environment &ACE_TRY_ENV
+ )
+{
+ const char *base_id = CORBA::_tc_Object->id (ACE_TRY_ENV);
+ ACE_CHECK_RETURN (0);
+
+ if (
+ (!ACE_OS::strcmp ((char *)value, "IDL:omg.org/CORBA/AliasDef:1.0")) ||
+ (!ACE_OS::strcmp ((char *)value, "IDL:omg.org/CORBA/TypedefDef:1.0")) ||
+ (!ACE_OS::strcmp ((char *)value, "IDL:omg.org/CORBA/Contained:1.0")) ||
+ (!ACE_OS::strcmp ((char *)value, "IDL:omg.org/CORBA/IDLType:1.0")) ||
+ (!ACE_OS::strcmp ((char *)value, "IDL:omg.org/CORBA/IRObject:1.0")) ||
+ (!ACE_OS::strcmp ((char *)value, base_id)))
+ return 1;
+ else
+ return 0;
+}
+
+void* POA_CORBA::AliasDef::_downcast (
+ const char* logical_type_id
+ )
+{
+ if (ACE_OS::strcmp (logical_type_id, "IDL:omg.org/CORBA/AliasDef:1.0") == 0)
+ return ACE_static_cast (POA_CORBA::AliasDef_ptr, this);
+ if (ACE_OS::strcmp (logical_type_id, "IDL:omg.org/CORBA/TypedefDef:1.0") == 0)
+ return ACE_static_cast (POA_CORBA::TypedefDef_ptr, this);
+ if (ACE_OS::strcmp (logical_type_id, "IDL:omg.org/CORBA/Contained:1.0") == 0)
+ return ACE_static_cast (POA_CORBA::Contained_ptr, this);
+ if (ACE_OS::strcmp (logical_type_id, "IDL:omg.org/CORBA/IDLType:1.0") == 0)
+ return ACE_static_cast (POA_CORBA::IDLType_ptr, this);
+ if (ACE_OS::strcmp (logical_type_id, "IDL:omg.org/CORBA/IRObject:1.0") == 0)
+ return ACE_static_cast (POA_CORBA::IRObject_ptr, this);
+ if (ACE_OS::strcmp (logical_type_id, "IDL:omg.org/CORBA/Object:1.0") == 0)
+ return ACE_static_cast(PortableServer::Servant, this);
+ return 0;
+}
+
+void POA_CORBA::AliasDef::_dispatch (TAO_ServerRequest &req, void *context, CORBA::Environment &ACE_TRY_ENV)
+{
+ this->synchronous_upcall_dispatch(req, context, this, ACE_TRY_ENV);
+}
+
+const char* POA_CORBA::AliasDef::_interface_repository_id (void) const
+{
+ return "IDL:omg.org/CORBA/AliasDef:1.0";
+}
+
+CORBA::AliasDef*
+POA_CORBA::AliasDef::_this (CORBA_Environment &ACE_TRY_ENV)
+{
+ TAO_Stub *stub = this->_create_stub (ACE_TRY_ENV);
+ ACE_CHECK_RETURN (0);
+
+ CORBA::Object_ptr tmp = CORBA::Object::_nil ();
+
+ if (stub->servant_orb_var ()->orb_core ()->optimize_collocation_objects ())
+ ACE_NEW_RETURN (tmp, CORBA::Object (stub, 1, this), 0);
+ else
+ ACE_NEW_RETURN (tmp, CORBA::Object (stub, 0, this), 0);
+
+ CORBA::Object_var obj = tmp;
+ return ::CORBA::AliasDef::_unchecked_narrow (obj.in ());
+}
+
+
+#if (TAO_HAS_INTERCEPTORS == 1)
+POA_CORBA::AliasDef::TAO_ServerRequestInfo_CORBA_AliasDef_original_type_def_get::TAO_ServerRequestInfo_CORBA_AliasDef_original_type_def_get (
+ TAO_ServerRequest &_tao_server_request,
+ POA_CORBA::AliasDef *tao_impl,
+ CORBA::Environment &
+ )
+ : TAO_ServerRequestInfo (_tao_server_request),
+ _tao_impl (tao_impl)
+{}
+
+Dynamic::ParameterList *
+POA_CORBA::AliasDef::TAO_ServerRequestInfo_CORBA_AliasDef_original_type_def_get::arguments (CORBA::Environment &ACE_TRY_ENV)
+ ACE_THROW_SPEC ((CORBA::SystemException))
+{
+ // Generate the argument list on demand.
+ Dynamic::ParameterList *parameter_list =
+ TAO_RequestInfo_Util::make_parameter_list (ACE_TRY_ENV);
+ ACE_CHECK_RETURN (0);
+
+ return parameter_list;
+}
+
+Dynamic::ExceptionList *
+POA_CORBA::AliasDef::TAO_ServerRequestInfo_CORBA_AliasDef_original_type_def_get::exceptions (CORBA::Environment &ACE_TRY_ENV)
+ ACE_THROW_SPEC ((CORBA::SystemException))
+{
+ // Generate the exception list on demand.
+ Dynamic::ExceptionList *exception_list =
+ TAO_RequestInfo_Util::make_exception_list (ACE_TRY_ENV);
+ ACE_CHECK_RETURN (0);
+
+ return exception_list;
+}
+
+CORBA::Any *
+POA_CORBA::AliasDef::TAO_ServerRequestInfo_CORBA_AliasDef_original_type_def_get::result (CORBA::Environment &ACE_TRY_ENV)
+ ACE_THROW_SPEC ((CORBA::SystemException))
+{
+ // Generate the result on demand.
+ CORBA::Boolean tk_void_any = 0;
+ CORBA::Any *result_any =
+ TAO_RequestInfo_Util::make_any (tk_void_any, ACE_TRY_ENV);
+ ACE_CHECK_RETURN (0);
+
+ CORBA::Any_var safe_result_any = result_any;
+
+ (*result_any) <<= this->_result;
+
+ return safe_result_any._retn ();
+}
+
+char *
+POA_CORBA::AliasDef::TAO_ServerRequestInfo_CORBA_AliasDef_original_type_def_get::target_most_derived_interface (
+ CORBA::Environment &)
+ ACE_THROW_SPEC ((CORBA::SystemException))
+{
+ return
+ CORBA::string_dup (this->_tao_impl->_interface_repository_id ());
+}
+
+CORBA::Boolean
+POA_CORBA::AliasDef::TAO_ServerRequestInfo_CORBA_AliasDef_original_type_def_get::target_is_a (
+ const char * id,
+ CORBA::Environment &ACE_TRY_ENV)
+ ACE_THROW_SPEC ((CORBA::SystemException))
+{
+ return this->_tao_impl->_is_a (id, ACE_TRY_ENV);
+}
+
+void
+POA_CORBA::AliasDef::TAO_ServerRequestInfo_CORBA_AliasDef_original_type_def_get::result (CORBA::IDLType_ptr result)
+{
+ // Update the result.
+ this->_result = result;
+}
+
+POA_CORBA::AliasDef::TAO_ServerRequestInfo_CORBA_AliasDef_original_type_def_set::TAO_ServerRequestInfo_CORBA_AliasDef_original_type_def_set (
+ TAO_ServerRequest &_tao_server_request,
+ POA_CORBA::AliasDef *tao_impl,
+ CORBA::IDLType_ptr original_type_def,
+ CORBA::Environment &
+ )
+ : TAO_ServerRequestInfo (_tao_server_request),
+ _tao_impl (tao_impl),
+ original_type_def_ (original_type_def)
+{}
+
+Dynamic::ParameterList *
+POA_CORBA::AliasDef::TAO_ServerRequestInfo_CORBA_AliasDef_original_type_def_set::arguments (CORBA::Environment &ACE_TRY_ENV)
+ ACE_THROW_SPEC ((CORBA::SystemException))
+{
+ // Generate the argument list on demand.
+ Dynamic::ParameterList *parameter_list =
+ TAO_RequestInfo_Util::make_parameter_list (ACE_TRY_ENV);
+ ACE_CHECK_RETURN (0);
+
+ Dynamic::ParameterList_var safe_parameter_list = parameter_list;
+
+ CORBA::ULong length_original_type_def = parameter_list->length ();
+ parameter_list->length (length_original_type_def + 1);
+ (*parameter_list)[length_original_type_def].argument <<= this->original_type_def_;
+
+ (*parameter_list)[length_original_type_def].mode = Dynamic::PARAM_IN;
+
+ return safe_parameter_list._retn ();
+}
+
+Dynamic::ExceptionList *
+POA_CORBA::AliasDef::TAO_ServerRequestInfo_CORBA_AliasDef_original_type_def_set::exceptions (CORBA::Environment &ACE_TRY_ENV)
+ ACE_THROW_SPEC ((CORBA::SystemException))
+{
+ // Generate the exception list on demand.
+ Dynamic::ExceptionList *exception_list =
+ TAO_RequestInfo_Util::make_exception_list (ACE_TRY_ENV);
+ ACE_CHECK_RETURN (0);
+
+ return exception_list;
+}
+
+CORBA::Any *
+POA_CORBA::AliasDef::TAO_ServerRequestInfo_CORBA_AliasDef_original_type_def_set::result (CORBA::Environment &ACE_TRY_ENV)
+ ACE_THROW_SPEC ((CORBA::SystemException))
+{
+ // Generate the result on demand.
+ CORBA::Boolean tk_void_any = 1;
+ CORBA::Any *result_any =
+ TAO_RequestInfo_Util::make_any (tk_void_any, ACE_TRY_ENV);
+ ACE_CHECK_RETURN (0);
+
+ return result_any;
+}
+
+char *
+POA_CORBA::AliasDef::TAO_ServerRequestInfo_CORBA_AliasDef_original_type_def_set::target_most_derived_interface (
+ CORBA::Environment &)
+ ACE_THROW_SPEC ((CORBA::SystemException))
+{
+ return
+ CORBA::string_dup (this->_tao_impl->_interface_repository_id ());
+}
+
+CORBA::Boolean
+POA_CORBA::AliasDef::TAO_ServerRequestInfo_CORBA_AliasDef_original_type_def_set::target_is_a (
+ const char * id,
+ CORBA::Environment &ACE_TRY_ENV)
+ ACE_THROW_SPEC ((CORBA::SystemException))
+{
+ return this->_tao_impl->_is_a (id, ACE_TRY_ENV);
+}
+
+#endif /* TAO_HAS_INTERCEPTORS */
+class TAO_CORBA_NativeDef_Perfect_Hash_OpTable : public TAO_Perfect_Hash_OpTable
+{
+private:
+ unsigned int hash (const char *str, unsigned int len);
+public:
+ const TAO_operation_db_entry * lookup (const char *str, unsigned int len);
+};
+/* starting time is 10:44:37 */
+/* C++ code produced by gperf version 2.8 (ACE version) */
+/* Command-line: gperf -m -M -J -c -C -D -E -T -f 0 -F 0 -a -o -t -p -K opname_ -L C++ -Z TAO_CORBA_NativeDef_Perfect_Hash_OpTable -N lookup */
+unsigned int
+TAO_CORBA_NativeDef_Perfect_Hash_OpTable::hash (const char *str, unsigned int len)
+{
+ static const unsigned char asso_values[] =
+ {
+#if defined (ACE_MVS)
+ 37, 37, 37, 37, 37, 37, 37, 37, 37, 37,
+ 37, 37, 37, 37, 37, 37, 37, 37, 37, 37,
+ 37, 37, 37, 37, 37, 37, 37, 37, 37, 37,
+ 37, 37, 37, 37, 37, 37, 37, 37, 37, 37,
+ 37, 37, 37, 37, 37, 37, 37, 37, 37, 37,
+ 37, 37, 37, 37, 37, 37, 37, 37, 37, 37,
+ 37, 37, 37, 37, 37, 37, 37, 37, 37, 37,
+ 37, 37, 37, 37, 37, 37, 37, 37, 37, 37,
+ 37, 37, 37, 37, 37, 37, 37, 37, 37, 37,
+ 37, 37, 37, 37, 37, 37, 37, 37, 37, 37,
+ 37, 37, 37, 37, 37, 37, 37, 37, 37, 0,
+ 37, 37, 37, 37, 37, 37, 37, 37, 37, 37,
+ 37, 37, 37, 37, 37, 37, 37, 37, 37, 0,
+ 37, 37, 0, 0, 37, 37, 37, 37, 37, 37,
+ 37, 37, 37, 37, 37, 37, 37, 37, 0, 0,
+ 37, 37, 37, 37, 37, 37, 37, 37, 37, 37,
+ 37, 37, 37, 10, 37, 37, 37, 37, 10, 37,
+ 37, 37, 37, 37, 37, 37, 37, 37, 37, 37,
+ 37, 37, 37, 37, 37, 37, 37, 37, 37, 37,
+ 37, 37, 37, 37, 37, 37, 37, 37, 37, 37,
+ 37, 37, 37, 37, 37, 37, 37, 37, 37, 37,
+ 37, 37, 37, 37, 37, 37, 37, 37, 37, 37,
+ 37, 37, 37, 37, 37, 37, 37, 37, 37, 37,
+ 37, 37, 37, 37, 37, 37, 37, 37, 37, 37,
+ 37, 37, 37, 37, 37, 37, 37, 37, 37, 37,
+ 37, 37, 37, 37, 37, 37,
+#else
+ 37, 37, 37, 37, 37, 37, 37, 37, 37, 37,
+ 37, 37, 37, 37, 37, 37, 37, 37, 37, 37,
+ 37, 37, 37, 37, 37, 37, 37, 37, 37, 37,
+ 37, 37, 37, 37, 37, 37, 37, 37, 37, 37,
+ 37, 37, 37, 37, 37, 37, 37, 37, 37, 37,
+ 37, 37, 37, 37, 37, 37, 37, 37, 37, 37,
+ 37, 37, 37, 37, 37, 37, 37, 37, 37, 37,
+ 37, 37, 37, 37, 37, 37, 37, 37, 37, 37,
+ 37, 37, 37, 37, 37, 37, 37, 37, 37, 37,
+ 37, 37, 37, 37, 37, 0, 37, 0, 37, 37,
+ 0, 0, 37, 37, 37, 37, 37, 37, 37, 0,
+ 0, 37, 37, 37, 37, 37, 10, 37, 37, 37,
+ 37, 10, 37, 37, 37, 37, 37, 37,
+#endif /* ACE_MVS */
+ };
+ return len + asso_values[str[len - 1]] + asso_values[str[0]];
+}
+
+const class TAO_operation_db_entry *
+TAO_CORBA_NativeDef_Perfect_Hash_OpTable::lookup (const char *str, unsigned int len)
+{
+ enum
+ {
+ TOTAL_KEYWORDS = 16,
+ MIN_WORD_LENGTH = 4,
+ MAX_WORD_LENGTH = 26,
+ MIN_HASH_VALUE = 4,
+ MAX_HASH_VALUE = 36,
+ HASH_VALUE_RANGE = 33,
+ DUPLICATES = 5
+ };
+
+ static const class TAO_operation_db_entry wordlist[] =
+ {
+ {"",0},{"",0},{"",0},{"",0},
+ {"move", &POA_CORBA::NativeDef::move_skel},
+ {"_is_a", &POA_CORBA::NativeDef::_is_a_skel},
+ {"_get_id", &POA_CORBA::NativeDef::_get_id_skel},
+ {"_set_id", &POA_CORBA::NativeDef::_set_id_skel},
+ {"describe", &POA_CORBA::NativeDef::describe_skel},
+ {"_get_name", &POA_CORBA::NativeDef::_get_name_skel},
+ {"_get_type", &POA_CORBA::NativeDef::_get_type_skel},
+ {"_set_name", &POA_CORBA::NativeDef::_set_name_skel},
+ {"_get_version", &POA_CORBA::NativeDef::_get_version_skel},
+ {"_set_version", &POA_CORBA::NativeDef::_set_version_skel},
+ {"_get_def_kind", &POA_CORBA::NativeDef::_get_def_kind_skel},
+ {"_get_defined_in", &POA_CORBA::NativeDef::_get_defined_in_skel},
+ {"destroy", &POA_CORBA::NativeDef::destroy_skel},
+ {"_get_absolute_name", &POA_CORBA::NativeDef::_get_absolute_name_skel},
+ {"_non_existent", &POA_CORBA::NativeDef::_non_existent_skel},
+ {"_get_containing_repository", &POA_CORBA::NativeDef::_get_containing_repository_skel},
+ };
+
+ static const signed char lookup[] =
+ {
+ -6, -2, -9, -3, 4, 5, -1, -43, 8, -43, -12, -2, -38, 14,
+ -1, 15, -1, 16, 17, -1, -1, -1, -1, 18, -1, -1, -1, -1,
+ -1, -1, -1, -1, -1, -1, -1, -1, 19,
+ };
+
+ if (len <= MAX_WORD_LENGTH && len >= MIN_WORD_LENGTH)
+ {
+ unsigned int key = hash (str, len);
+
+ if (key <= MAX_HASH_VALUE && key >= MIN_HASH_VALUE)
+ {
+ int slot = lookup[key];
+
+ if (slot >= 0 && slot < MAX_HASH_VALUE)
+ {
+ const char *s = wordlist[slot].opname_;
+
+ if (*str == *s && !strncmp (str + 1, s + 1, len - 1))
+ return &wordlist[slot];
+ }
+ else if (slot < 0 && slot >= -MAX_HASH_VALUE)
+ return 0;
+ else
+ {
+ unsigned int offset = key + slot + (slot > 0 ? -MAX_HASH_VALUE : MAX_HASH_VALUE);
+ const class TAO_operation_db_entry *base = &wordlist[-lookup[offset]];
+ const class TAO_operation_db_entry *ptr = base + -lookup[offset + 1];
+
+ while (--ptr >= base)
+ if (*str == *ptr->opname_ && !strncmp (str + 1, ptr->opname_ + 1, len - 1))
+ return ptr;
+ }
+ }
+ }
+ return 0;
+}
+/* ending time is 10:44:37 */
+static TAO_CORBA_NativeDef_Perfect_Hash_OpTable tao_CORBA_NativeDef_optable;
+
+
+///////////////////////////////////////////////////////////////////////
+// Strategized Proxy Broker Implementation
+//
+
+// Factory function Implementation.
+POA_CORBA::_TAO_NativeDef_Strategized_Proxy_Broker *POA_CORBA::_TAO_NativeDef_Strategized_Proxy_Broker::the_TAO_NativeDef_Strategized_Proxy_Broker (void)
+{
+ static POA_CORBA::_TAO_NativeDef_Strategized_Proxy_Broker strategized_proxy_broker;
+ return &strategized_proxy_broker;
+}
+
+POA_CORBA::_TAO_NativeDef_Strategized_Proxy_Broker::_TAO_NativeDef_Strategized_Proxy_Broker (void)
+{
+ for (int i = 0; i < TAO_Collocation_Strategies::CS_LAST; ++i)
+ this->proxy_cache_[i] = 0;
+
+}
+
+POA_CORBA::_TAO_NativeDef_Strategized_Proxy_Broker::~_TAO_NativeDef_Strategized_Proxy_Broker (void)
+{
+ for (int i = 0; i < TAO_Collocation_Strategies::CS_LAST; ++i)
+ delete this->proxy_cache_[i];
+
+}
+
+_TAO_NativeDef_Proxy_Impl&
+POA_CORBA::_TAO_NativeDef_Strategized_Proxy_Broker::select_proxy (
+ ::CORBA::NativeDef *object,
+ CORBA::Environment &ACE_TRY_ENV
+ )
+{
+ int strategy =
+ TAO_ORB_Core::collocation_strategy (object);
+
+ if (this->proxy_cache_[strategy] != 0)
+ return *this->proxy_cache_[strategy];
+
+ this->create_proxy (strategy, ACE_TRY_ENV);
+ ACE_CHECK_RETURN (*this->proxy_cache_[strategy]);
+
+ return *this->proxy_cache_[strategy];
+
+}
+
+void
+POA_CORBA::_TAO_NativeDef_Strategized_Proxy_Broker::create_proxy (
+ int strategy,
+ CORBA::Environment &ACE_TRY_ENV
+ )
+{
+ ACE_GUARD (TAO_SYNCH_MUTEX, guard, this->mutex_);
+
+ if (this->proxy_cache_[strategy] == 0)
+ {
+ switch (strategy)
+ {
+ case TAO_Collocation_Strategies::CS_THRU_POA_STRATEGY:
+ ACE_NEW_THROW_EX (
+ this->proxy_cache_[strategy],
+ _TAO_NativeDef_ThruPOA_Proxy_Impl,
+ CORBA::NO_MEMORY ()
+ );
+ ACE_CHECK;
+ break;
+
+ case TAO_Collocation_Strategies::CS_REMOTE_STRATEGY:
+ default:
+ ACE_NEW_THROW_EX (
+ this->proxy_cache_[strategy],
+ ::_TAO_NativeDef_Remote_Proxy_Impl,
+ CORBA::NO_MEMORY ()
+ );
+ ACE_CHECK;
+ break;
+
+ }
+
+ }
+}
+
+
+//
+// End Strategized Proxy Broker Implementation
+///////////////////////////////////////////////////////////////////////
+
+
+_TAO_NativeDef_Proxy_Broker *
+CORBA__TAO_NativeDef_Proxy_Broker_Factory_function (CORBA::Object_ptr obj)
+{
+ ACE_UNUSED_ARG (obj);
+ return ::POA_CORBA::_TAO_NativeDef_Strategized_Proxy_Broker::the_TAO_NativeDef_Strategized_Proxy_Broker();
+}
+
+int
+CORBA__TAO_NativeDef_Proxy_Broker_Factory_Initializer (long _dummy_)
+{
+ ACE_UNUSED_ARG (_dummy_);
+
+ CORBA__TAO_NativeDef_Proxy_Broker_Factory_function_pointer =
+ CORBA__TAO_NativeDef_Proxy_Broker_Factory_function;
+
+ return 0;
+}
+
+static int CORBA__TAO_NativeDef_Proxy_Broker_Stub_Factory_Initializer_Scarecrow =
+ CORBA__TAO_NativeDef_Proxy_Broker_Factory_Initializer (ACE_reinterpret_cast (long, CORBA__TAO_NativeDef_Proxy_Broker_Factory_Initializer));
+
+
+///////////////////////////////////////////////////////////////////////
+// ThruPOA Proxy Implementation
+//
+
+POA_CORBA::_TAO_NativeDef_ThruPOA_Proxy_Impl::_TAO_NativeDef_ThruPOA_Proxy_Impl (void)
+{}
+
+// ThruPOA Implementation of the IDL interface methods
+
+//
+// End ThruPOA Proxy Implementation
+///////////////////////////////////////////////////////////////////////
+
+// skeleton constructor
+POA_CORBA::NativeDef::NativeDef (void)
+{
+ this->optable_ = &tao_CORBA_NativeDef_optable;
+}
+
+// copy ctor
+POA_CORBA::NativeDef::NativeDef (const NativeDef& rhs)
+ : ACE_NESTED_CLASS (POA_CORBA,TypedefDef) (rhs),
+ ACE_NESTED_CLASS (POA_CORBA,Contained) (rhs),
+ ACE_NESTED_CLASS (POA_CORBA,IDLType) (rhs),
+ ACE_NESTED_CLASS (POA_CORBA,IRObject) (rhs),
+ TAO_ServantBase (rhs)
+{}
+
+// skeleton destructor
+POA_CORBA::NativeDef::~NativeDef (void)
+{
+}
+
+void POA_CORBA::NativeDef::_is_a_skel (
+ TAO_ServerRequest &_tao_server_request,
+ void * _tao_object_reference,
+ void * /* context */,
+ CORBA::Environment &ACE_TRY_ENV
+ )
+{
+ TAO_InputCDR &_tao_in = _tao_server_request.incoming ();
+ POA_CORBA::NativeDef *_tao_impl = (POA_CORBA::NativeDef *) _tao_object_reference;
+ CORBA::Boolean _tao_retval = 0;
+ CORBA::String_var value;
+ if (!(_tao_in >> value.out ()))
+ ACE_THROW (CORBA::MARSHAL ());
+
+ _tao_retval = _tao_impl->_is_a (value.in (), ACE_TRY_ENV);
+ ACE_CHECK;
+
+ _tao_server_request.init_reply ();
+ TAO_OutputCDR &_tao_out = _tao_server_request.outgoing ();
+ if (!(_tao_out << CORBA::Any::from_boolean (_tao_retval)))
+ ACE_THROW (CORBA::MARSHAL ());
+}
+
+void POA_CORBA::NativeDef::_non_existent_skel (
+ TAO_ServerRequest &_tao_server_request,
+ void * _tao_object_reference,
+ void * /* context */,
+ CORBA::Environment &ACE_TRY_ENV
+ )
+{
+ POA_CORBA::NativeDef *_tao_impl = (POA_CORBA::NativeDef *) _tao_object_reference;
+ CORBA::Boolean _tao_retval = _tao_impl->_non_existent (ACE_TRY_ENV);
+ ACE_CHECK;
+
+ _tao_server_request.init_reply ();
+ TAO_OutputCDR &_tao_out = _tao_server_request.outgoing ();
+ if (!(_tao_out << CORBA::Any::from_boolean (_tao_retval)))
+ ACE_THROW (CORBA::MARSHAL ());
+}
+
+CORBA::Boolean POA_CORBA::NativeDef::_is_a (
+ const char* value,
+ CORBA::Environment &ACE_TRY_ENV
+ )
+{
+ const char *base_id = CORBA::_tc_Object->id (ACE_TRY_ENV);
+ ACE_CHECK_RETURN (0);
+
+ if (
+ (!ACE_OS::strcmp ((char *)value, "IDL:omg.org/CORBA/NativeDef:1.0")) ||
+ (!ACE_OS::strcmp ((char *)value, "IDL:omg.org/CORBA/TypedefDef:1.0")) ||
+ (!ACE_OS::strcmp ((char *)value, "IDL:omg.org/CORBA/Contained:1.0")) ||
+ (!ACE_OS::strcmp ((char *)value, "IDL:omg.org/CORBA/IDLType:1.0")) ||
+ (!ACE_OS::strcmp ((char *)value, "IDL:omg.org/CORBA/IRObject:1.0")) ||
+ (!ACE_OS::strcmp ((char *)value, base_id)))
+ return 1;
+ else
+ return 0;
+}
+
+void* POA_CORBA::NativeDef::_downcast (
+ const char* logical_type_id
+ )
+{
+ if (ACE_OS::strcmp (logical_type_id, "IDL:omg.org/CORBA/NativeDef:1.0") == 0)
+ return ACE_static_cast (POA_CORBA::NativeDef_ptr, this);
+ if (ACE_OS::strcmp (logical_type_id, "IDL:omg.org/CORBA/TypedefDef:1.0") == 0)
+ return ACE_static_cast (POA_CORBA::TypedefDef_ptr, this);
+ if (ACE_OS::strcmp (logical_type_id, "IDL:omg.org/CORBA/Contained:1.0") == 0)
+ return ACE_static_cast (POA_CORBA::Contained_ptr, this);
+ if (ACE_OS::strcmp (logical_type_id, "IDL:omg.org/CORBA/IDLType:1.0") == 0)
+ return ACE_static_cast (POA_CORBA::IDLType_ptr, this);
+ if (ACE_OS::strcmp (logical_type_id, "IDL:omg.org/CORBA/IRObject:1.0") == 0)
+ return ACE_static_cast (POA_CORBA::IRObject_ptr, this);
+ if (ACE_OS::strcmp (logical_type_id, "IDL:omg.org/CORBA/Object:1.0") == 0)
+ return ACE_static_cast(PortableServer::Servant, this);
+ return 0;
+}
+
+void POA_CORBA::NativeDef::_dispatch (TAO_ServerRequest &req, void *context, CORBA::Environment &ACE_TRY_ENV)
+{
+ this->synchronous_upcall_dispatch(req, context, this, ACE_TRY_ENV);
+}
+
+const char* POA_CORBA::NativeDef::_interface_repository_id (void) const
+{
+ return "IDL:omg.org/CORBA/NativeDef:1.0";
+}
+
+CORBA::NativeDef*
+POA_CORBA::NativeDef::_this (CORBA_Environment &ACE_TRY_ENV)
+{
+ TAO_Stub *stub = this->_create_stub (ACE_TRY_ENV);
+ ACE_CHECK_RETURN (0);
+
+ CORBA::Object_ptr tmp = CORBA::Object::_nil ();
+
+ if (stub->servant_orb_var ()->orb_core ()->optimize_collocation_objects ())
+ ACE_NEW_RETURN (tmp, CORBA::Object (stub, 1, this), 0);
+ else
+ ACE_NEW_RETURN (tmp, CORBA::Object (stub, 0, this), 0);
+
+ CORBA::Object_var obj = tmp;
+ return ::CORBA::NativeDef::_unchecked_narrow (obj.in ());
+}
+
+
+#if (TAO_HAS_INTERCEPTORS == 1)
+#endif /* TAO_HAS_INTERCEPTORS */
+class TAO_CORBA_PrimitiveDef_Perfect_Hash_OpTable : public TAO_Perfect_Hash_OpTable
+{
+private:
+ unsigned int hash (const char *str, unsigned int len);
+public:
+ const TAO_operation_db_entry * lookup (const char *str, unsigned int len);
+};
+/* starting time is 10:44:37 */
+/* C++ code produced by gperf version 2.8 (ACE version) */
+/* Command-line: gperf -m -M -J -c -C -D -E -T -f 0 -F 0 -a -o -t -p -K opname_ -L C++ -Z TAO_CORBA_PrimitiveDef_Perfect_Hash_OpTable -N lookup */
+unsigned int
+TAO_CORBA_PrimitiveDef_Perfect_Hash_OpTable::hash (const char *str, unsigned int len)
+{
+ static const unsigned char asso_values[] =
+ {
+#if defined (ACE_MVS)
+ 19, 19, 19, 19, 19, 19, 19, 19, 19, 19,
+ 19, 19, 19, 19, 19, 19, 19, 19, 19, 19,
+ 19, 19, 19, 19, 19, 19, 19, 19, 19, 19,
+ 19, 19, 19, 19, 19, 19, 19, 19, 19, 19,
+ 19, 19, 19, 19, 19, 19, 19, 19, 19, 19,
+ 19, 19, 19, 19, 19, 19, 19, 19, 19, 19,
+ 19, 19, 19, 19, 19, 19, 19, 19, 19, 19,
+ 19, 19, 19, 19, 19, 19, 19, 19, 19, 19,
+ 19, 19, 19, 19, 19, 19, 19, 19, 19, 19,
+ 19, 19, 19, 19, 19, 19, 19, 19, 19, 19,
+ 19, 19, 19, 19, 19, 19, 19, 19, 19, 0,
+ 19, 19, 19, 19, 19, 19, 19, 19, 19, 19,
+ 19, 19, 19, 19, 19, 19, 19, 19, 19, 0,
+ 19, 19, 0, 5, 19, 19, 19, 19, 19, 19,
+ 19, 19, 19, 19, 19, 19, 19, 19, 19, 19,
+ 19, 19, 19, 19, 19, 19, 19, 19, 19, 19,
+ 19, 19, 19, 5, 19, 19, 19, 19, 0, 19,
+ 19, 19, 19, 19, 19, 19, 19, 19, 19, 19,
+ 19, 19, 19, 19, 19, 19, 19, 19, 19, 19,
+ 19, 19, 19, 19, 19, 19, 19, 19, 19, 19,
+ 19, 19, 19, 19, 19, 19, 19, 19, 19, 19,
+ 19, 19, 19, 19, 19, 19, 19, 19, 19, 19,
+ 19, 19, 19, 19, 19, 19, 19, 19, 19, 19,
+ 19, 19, 19, 19, 19, 19, 19, 19, 19, 19,
+ 19, 19, 19, 19, 19, 19, 19, 19, 19, 19,
+ 19, 19, 19, 19, 19, 19,
+#else
+ 19, 19, 19, 19, 19, 19, 19, 19, 19, 19,
+ 19, 19, 19, 19, 19, 19, 19, 19, 19, 19,
+ 19, 19, 19, 19, 19, 19, 19, 19, 19, 19,
+ 19, 19, 19, 19, 19, 19, 19, 19, 19, 19,
+ 19, 19, 19, 19, 19, 19, 19, 19, 19, 19,
+ 19, 19, 19, 19, 19, 19, 19, 19, 19, 19,
+ 19, 19, 19, 19, 19, 19, 19, 19, 19, 19,
+ 19, 19, 19, 19, 19, 19, 19, 19, 19, 19,
+ 19, 19, 19, 19, 19, 19, 19, 19, 19, 19,
+ 19, 19, 19, 19, 19, 0, 19, 0, 19, 19,
+ 0, 5, 19, 19, 19, 19, 19, 19, 19, 19,
+ 19, 19, 19, 19, 19, 19, 5, 19, 19, 19,
+ 19, 0, 19, 19, 19, 19, 19, 19,
+#endif /* ACE_MVS */
+ };
+ return len + asso_values[str[len - 1]] + asso_values[str[0]];
+}
+
+const class TAO_operation_db_entry *
+TAO_CORBA_PrimitiveDef_Perfect_Hash_OpTable::lookup (const char *str, unsigned int len)
+{
+ enum
+ {
+ TOTAL_KEYWORDS = 6,
+ MIN_WORD_LENGTH = 5,
+ MAX_WORD_LENGTH = 13,
+ MIN_HASH_VALUE = 5,
+ MAX_HASH_VALUE = 18,
+ HASH_VALUE_RANGE = 14,
+ DUPLICATES = 0
+ };
+
+ static const class TAO_operation_db_entry wordlist[] =
+ {
+ {"",0},{"",0},{"",0},{"",0},{"",0},
+ {"_is_a", &POA_CORBA::PrimitiveDef::_is_a_skel},
+ {"",0},
+ {"destroy", &POA_CORBA::PrimitiveDef::destroy_skel},
+ {"",0},
+ {"_get_kind", &POA_CORBA::PrimitiveDef::_get_kind_skel},
+ {"",0},{"",0},{"",0},
+ {"_get_def_kind", &POA_CORBA::PrimitiveDef::_get_def_kind_skel},
+ {"_get_type", &POA_CORBA::PrimitiveDef::_get_type_skel},
+ {"",0},{"",0},{"",0},
+ {"_non_existent", &POA_CORBA::PrimitiveDef::_non_existent_skel},
+ };
+
+ if (len <= MAX_WORD_LENGTH && len >= MIN_WORD_LENGTH)
+ {
+ unsigned int key = hash (str, len);
+
+ if (key <= MAX_HASH_VALUE && key >= MIN_HASH_VALUE)
+ {
+ const char *s = wordlist[key].opname_;
+
+ if (*str == *s && !strncmp (str + 1, s + 1, len - 1))
+ return &wordlist[key];
+ }
+ }
+ return 0;
+}
+/* ending time is 10:44:37 */
+static TAO_CORBA_PrimitiveDef_Perfect_Hash_OpTable tao_CORBA_PrimitiveDef_optable;
+
+
+///////////////////////////////////////////////////////////////////////
+// Strategized Proxy Broker Implementation
+//
+
+// Factory function Implementation.
+POA_CORBA::_TAO_PrimitiveDef_Strategized_Proxy_Broker *POA_CORBA::_TAO_PrimitiveDef_Strategized_Proxy_Broker::the_TAO_PrimitiveDef_Strategized_Proxy_Broker (void)
+{
+ static POA_CORBA::_TAO_PrimitiveDef_Strategized_Proxy_Broker strategized_proxy_broker;
+ return &strategized_proxy_broker;
+}
+
+POA_CORBA::_TAO_PrimitiveDef_Strategized_Proxy_Broker::_TAO_PrimitiveDef_Strategized_Proxy_Broker (void)
+{
+ for (int i = 0; i < TAO_Collocation_Strategies::CS_LAST; ++i)
+ this->proxy_cache_[i] = 0;
+
+}
+
+POA_CORBA::_TAO_PrimitiveDef_Strategized_Proxy_Broker::~_TAO_PrimitiveDef_Strategized_Proxy_Broker (void)
+{
+ for (int i = 0; i < TAO_Collocation_Strategies::CS_LAST; ++i)
+ delete this->proxy_cache_[i];
+
+}
+
+_TAO_PrimitiveDef_Proxy_Impl&
+POA_CORBA::_TAO_PrimitiveDef_Strategized_Proxy_Broker::select_proxy (
+ ::CORBA::PrimitiveDef *object,
+ CORBA::Environment &ACE_TRY_ENV
+ )
+{
+ int strategy =
+ TAO_ORB_Core::collocation_strategy (object);
+
+ if (this->proxy_cache_[strategy] != 0)
+ return *this->proxy_cache_[strategy];
+
+ this->create_proxy (strategy, ACE_TRY_ENV);
+ ACE_CHECK_RETURN (*this->proxy_cache_[strategy]);
+
+ return *this->proxy_cache_[strategy];
+
+}
+
+void
+POA_CORBA::_TAO_PrimitiveDef_Strategized_Proxy_Broker::create_proxy (
+ int strategy,
+ CORBA::Environment &ACE_TRY_ENV
+ )
+{
+ ACE_GUARD (TAO_SYNCH_MUTEX, guard, this->mutex_);
+
+ if (this->proxy_cache_[strategy] == 0)
+ {
+ switch (strategy)
+ {
+ case TAO_Collocation_Strategies::CS_THRU_POA_STRATEGY:
+ ACE_NEW_THROW_EX (
+ this->proxy_cache_[strategy],
+ _TAO_PrimitiveDef_ThruPOA_Proxy_Impl,
+ CORBA::NO_MEMORY ()
+ );
+ ACE_CHECK;
+ break;
+
+ case TAO_Collocation_Strategies::CS_REMOTE_STRATEGY:
+ default:
+ ACE_NEW_THROW_EX (
+ this->proxy_cache_[strategy],
+ ::_TAO_PrimitiveDef_Remote_Proxy_Impl,
+ CORBA::NO_MEMORY ()
+ );
+ ACE_CHECK;
+ break;
+
+ }
+
+ }
+}
+
+
+//
+// End Strategized Proxy Broker Implementation
+///////////////////////////////////////////////////////////////////////
+
+
+_TAO_PrimitiveDef_Proxy_Broker *
+CORBA__TAO_PrimitiveDef_Proxy_Broker_Factory_function (CORBA::Object_ptr obj)
+{
+ ACE_UNUSED_ARG (obj);
+ return ::POA_CORBA::_TAO_PrimitiveDef_Strategized_Proxy_Broker::the_TAO_PrimitiveDef_Strategized_Proxy_Broker();
+}
+
+int
+CORBA__TAO_PrimitiveDef_Proxy_Broker_Factory_Initializer (long _dummy_)
+{
+ ACE_UNUSED_ARG (_dummy_);
+
+ CORBA__TAO_PrimitiveDef_Proxy_Broker_Factory_function_pointer =
+ CORBA__TAO_PrimitiveDef_Proxy_Broker_Factory_function;
+
+ return 0;
+}
+
+static int CORBA__TAO_PrimitiveDef_Proxy_Broker_Stub_Factory_Initializer_Scarecrow =
+ CORBA__TAO_PrimitiveDef_Proxy_Broker_Factory_Initializer (ACE_reinterpret_cast (long, CORBA__TAO_PrimitiveDef_Proxy_Broker_Factory_Initializer));
+
+
+///////////////////////////////////////////////////////////////////////
+// ThruPOA Proxy Implementation
+//
+
+POA_CORBA::_TAO_PrimitiveDef_ThruPOA_Proxy_Impl::_TAO_PrimitiveDef_ThruPOA_Proxy_Impl (void)
+{}
+
+// ThruPOA Implementation of the IDL interface methods
+
+CORBA::PrimitiveKind POA_CORBA::_TAO_PrimitiveDef_ThruPOA_Proxy_Impl::kind (
+ CORBA_Object *_collocated_tao_target_,
+ CORBA::Environment &ACE_TRY_ENV
+ )
+ ACE_THROW_SPEC ((
+ CORBA::SystemException
+ ))
+{
+ CORBA::PrimitiveKind _tao_retval;
+ ACE_UNUSED_ARG (_tao_retval);
+ TAO_Object_Adapter::Servant_Upcall servant_upcall (
+ _collocated_tao_target_->_stubobj ()->servant_orb_var ()->orb_core ()
+ );
+ CORBA::Object_var forward_to;
+ servant_upcall.prepare_for_upcall (
+ _collocated_tao_target_->_object_key (),
+ "kind",
+ forward_to.out (),
+ ACE_TRY_ENV
+ );
+ ACE_CHECK_RETURN (_tao_retval);
+ return ACE_reinterpret_cast (
+ POA_CORBA::PrimitiveDef_ptr,
+ servant_upcall.servant ()->_downcast (
+ "IDL:omg.org/CORBA/PrimitiveDef:1.0"
+ )
+ )->kind (
+ ACE_TRY_ENV
+ );
+}
+
+//
+// End ThruPOA Proxy Implementation
+///////////////////////////////////////////////////////////////////////
+
+// skeleton constructor
+POA_CORBA::PrimitiveDef::PrimitiveDef (void)
+{
+ this->optable_ = &tao_CORBA_PrimitiveDef_optable;
+}
+
+// copy ctor
+POA_CORBA::PrimitiveDef::PrimitiveDef (const PrimitiveDef& rhs)
+ : ACE_NESTED_CLASS (POA_CORBA,IDLType) (rhs),
+ ACE_NESTED_CLASS (POA_CORBA,IRObject) (rhs),
+ TAO_ServantBase (rhs)
+{}
+
+// skeleton destructor
+POA_CORBA::PrimitiveDef::~PrimitiveDef (void)
+{
+}
+
+void POA_CORBA::PrimitiveDef::_get_kind_skel (
+ TAO_ServerRequest &_tao_server_request,
+ void *_tao_object_reference,
+ void * /* context */,
+ CORBA::Environment &ACE_TRY_ENV
+ )
+{
+ POA_CORBA::PrimitiveDef *_tao_impl = (POA_CORBA::PrimitiveDef *)_tao_object_reference;
+
+ CORBA::PrimitiveKind _tao_retval;
+
+#if (TAO_HAS_INTERCEPTORS == 1)
+ TAO_ServerRequestInterceptor_Adapter _tao_vfr (
+ _tao_server_request.orb_core ()->server_request_interceptors (),
+ _tao_server_request.interceptor_count ()
+ );
+
+ POA_CORBA::PrimitiveDef::TAO_ServerRequestInfo_CORBA_PrimitiveDef_kind_get ri (
+ _tao_server_request,
+ _tao_impl,
+ ACE_TRY_ENV
+ );
+
+ ACE_TRY
+ {
+ _tao_vfr.receive_request (&ri, ACE_TRY_ENV);
+ ACE_TRY_CHECK;
+
+#endif /* TAO_HAS_INTERCEPTORS */
+ _tao_retval =
+ _tao_impl->kind (
+ ACE_TRY_ENV
+ );
+ TAO_INTERCEPTOR_CHECK;
+
+#if (TAO_HAS_INTERCEPTORS == 1)
+ CORBA::PrimitiveKind _tao_retval_info = _tao_retval;
+ ri.result (_tao_retval_info);
+ ri.reply_status (PortableInterceptor::SUCCESSFUL);
+ _tao_vfr.send_reply (&ri, ACE_TRY_ENV);
+ ACE_TRY_CHECK;
+ }
+ ACE_CATCH (PortableInterceptor::ForwardRequest, exc)
+ {
+ ri.forward_reference (exc);
+ _tao_vfr.send_other (
+ &ri,
+ ACE_TRY_ENV
+ );
+ ACE_TRY_CHECK;
+ _tao_server_request.forward_location (exc.forward.in ());
+ }
+ ACE_CATCHANY
+ {
+ ri.exception (&ACE_ANY_EXCEPTION);
+ _tao_vfr.send_exception (
+ &ri,
+ ACE_TRY_ENV
+ );
+ ACE_TRY_CHECK;
+ ACE_RE_THROW;
+ }
+ ACE_ENDTRY;
+ ACE_CHECK;
+#endif /* TAO_HAS_INTERCEPTORS */
+
+ _tao_server_request.init_reply ();
+
+ TAO_OutputCDR &_tao_out = _tao_server_request.outgoing ();
+
+ if (!(
+ (_tao_out << _tao_retval)
+ ))
+ ACE_THROW (CORBA::MARSHAL());
+
+ // In case ACE_TRY_ENV is not used in this function
+ ACE_UNUSED_ARG (ACE_TRY_ENV);
+}
+
+void POA_CORBA::PrimitiveDef::_is_a_skel (
+ TAO_ServerRequest &_tao_server_request,
+ void * _tao_object_reference,
+ void * /* context */,
+ CORBA::Environment &ACE_TRY_ENV
+ )
+{
+ TAO_InputCDR &_tao_in = _tao_server_request.incoming ();
+ POA_CORBA::PrimitiveDef *_tao_impl = (POA_CORBA::PrimitiveDef *) _tao_object_reference;
+ CORBA::Boolean _tao_retval = 0;
+ CORBA::String_var value;
+ if (!(_tao_in >> value.out ()))
+ ACE_THROW (CORBA::MARSHAL ());
+
+ _tao_retval = _tao_impl->_is_a (value.in (), ACE_TRY_ENV);
+ ACE_CHECK;
+
+ _tao_server_request.init_reply ();
+ TAO_OutputCDR &_tao_out = _tao_server_request.outgoing ();
+ if (!(_tao_out << CORBA::Any::from_boolean (_tao_retval)))
+ ACE_THROW (CORBA::MARSHAL ());
+}
+
+void POA_CORBA::PrimitiveDef::_non_existent_skel (
+ TAO_ServerRequest &_tao_server_request,
+ void * _tao_object_reference,
+ void * /* context */,
+ CORBA::Environment &ACE_TRY_ENV
+ )
+{
+ POA_CORBA::PrimitiveDef *_tao_impl = (POA_CORBA::PrimitiveDef *) _tao_object_reference;
+ CORBA::Boolean _tao_retval = _tao_impl->_non_existent (ACE_TRY_ENV);
+ ACE_CHECK;
+
+ _tao_server_request.init_reply ();
+ TAO_OutputCDR &_tao_out = _tao_server_request.outgoing ();
+ if (!(_tao_out << CORBA::Any::from_boolean (_tao_retval)))
+ ACE_THROW (CORBA::MARSHAL ());
+}
+
+CORBA::Boolean POA_CORBA::PrimitiveDef::_is_a (
+ const char* value,
+ CORBA::Environment &ACE_TRY_ENV
+ )
+{
+ const char *base_id = CORBA::_tc_Object->id (ACE_TRY_ENV);
+ ACE_CHECK_RETURN (0);
+
+ if (
+ (!ACE_OS::strcmp ((char *)value, "IDL:omg.org/CORBA/PrimitiveDef:1.0")) ||
+ (!ACE_OS::strcmp ((char *)value, "IDL:omg.org/CORBA/IDLType:1.0")) ||
+ (!ACE_OS::strcmp ((char *)value, "IDL:omg.org/CORBA/IRObject:1.0")) ||
+ (!ACE_OS::strcmp ((char *)value, base_id)))
+ return 1;
+ else
+ return 0;
+}
+
+void* POA_CORBA::PrimitiveDef::_downcast (
+ const char* logical_type_id
+ )
+{
+ if (ACE_OS::strcmp (logical_type_id, "IDL:omg.org/CORBA/PrimitiveDef:1.0") == 0)
+ return ACE_static_cast (POA_CORBA::PrimitiveDef_ptr, this);
+ if (ACE_OS::strcmp (logical_type_id, "IDL:omg.org/CORBA/IDLType:1.0") == 0)
+ return ACE_static_cast (POA_CORBA::IDLType_ptr, this);
+ if (ACE_OS::strcmp (logical_type_id, "IDL:omg.org/CORBA/IRObject:1.0") == 0)
+ return ACE_static_cast (POA_CORBA::IRObject_ptr, this);
+ if (ACE_OS::strcmp (logical_type_id, "IDL:omg.org/CORBA/Object:1.0") == 0)
+ return ACE_static_cast(PortableServer::Servant, this);
+ return 0;
+}
+
+void POA_CORBA::PrimitiveDef::_dispatch (TAO_ServerRequest &req, void *context, CORBA::Environment &ACE_TRY_ENV)
+{
+ this->synchronous_upcall_dispatch(req, context, this, ACE_TRY_ENV);
+}
+
+const char* POA_CORBA::PrimitiveDef::_interface_repository_id (void) const
+{
+ return "IDL:omg.org/CORBA/PrimitiveDef:1.0";
+}
+
+CORBA::PrimitiveDef*
+POA_CORBA::PrimitiveDef::_this (CORBA_Environment &ACE_TRY_ENV)
+{
+ TAO_Stub *stub = this->_create_stub (ACE_TRY_ENV);
+ ACE_CHECK_RETURN (0);
+
+ CORBA::Object_ptr tmp = CORBA::Object::_nil ();
+
+ if (stub->servant_orb_var ()->orb_core ()->optimize_collocation_objects ())
+ ACE_NEW_RETURN (tmp, CORBA::Object (stub, 1, this), 0);
+ else
+ ACE_NEW_RETURN (tmp, CORBA::Object (stub, 0, this), 0);
+
+ CORBA::Object_var obj = tmp;
+ return ::CORBA::PrimitiveDef::_unchecked_narrow (obj.in ());
+}
+
+
+#if (TAO_HAS_INTERCEPTORS == 1)
+POA_CORBA::PrimitiveDef::TAO_ServerRequestInfo_CORBA_PrimitiveDef_kind_get::TAO_ServerRequestInfo_CORBA_PrimitiveDef_kind_get (
+ TAO_ServerRequest &_tao_server_request,
+ POA_CORBA::PrimitiveDef *tao_impl,
+ CORBA::Environment &
+ )
+ : TAO_ServerRequestInfo (_tao_server_request),
+ _tao_impl (tao_impl)
+{}
+
+Dynamic::ParameterList *
+POA_CORBA::PrimitiveDef::TAO_ServerRequestInfo_CORBA_PrimitiveDef_kind_get::arguments (CORBA::Environment &ACE_TRY_ENV)
+ ACE_THROW_SPEC ((CORBA::SystemException))
+{
+ // Generate the argument list on demand.
+ Dynamic::ParameterList *parameter_list =
+ TAO_RequestInfo_Util::make_parameter_list (ACE_TRY_ENV);
+ ACE_CHECK_RETURN (0);
+
+ return parameter_list;
+}
+
+Dynamic::ExceptionList *
+POA_CORBA::PrimitiveDef::TAO_ServerRequestInfo_CORBA_PrimitiveDef_kind_get::exceptions (CORBA::Environment &ACE_TRY_ENV)
+ ACE_THROW_SPEC ((CORBA::SystemException))
+{
+ // Generate the exception list on demand.
+ Dynamic::ExceptionList *exception_list =
+ TAO_RequestInfo_Util::make_exception_list (ACE_TRY_ENV);
+ ACE_CHECK_RETURN (0);
+
+ return exception_list;
+}
+
+CORBA::Any *
+POA_CORBA::PrimitiveDef::TAO_ServerRequestInfo_CORBA_PrimitiveDef_kind_get::result (CORBA::Environment &ACE_TRY_ENV)
+ ACE_THROW_SPEC ((CORBA::SystemException))
+{
+ // Generate the result on demand.
+ CORBA::Boolean tk_void_any = 0;
+ CORBA::Any *result_any =
+ TAO_RequestInfo_Util::make_any (tk_void_any, ACE_TRY_ENV);
+ ACE_CHECK_RETURN (0);
+
+ CORBA::Any_var safe_result_any = result_any;
+
+ (*result_any) <<= this->_result;
+
+ return safe_result_any._retn ();
+}
+
+char *
+POA_CORBA::PrimitiveDef::TAO_ServerRequestInfo_CORBA_PrimitiveDef_kind_get::target_most_derived_interface (
+ CORBA::Environment &)
+ ACE_THROW_SPEC ((CORBA::SystemException))
+{
+ return
+ CORBA::string_dup (this->_tao_impl->_interface_repository_id ());
+}
+
+CORBA::Boolean
+POA_CORBA::PrimitiveDef::TAO_ServerRequestInfo_CORBA_PrimitiveDef_kind_get::target_is_a (
+ const char * id,
+ CORBA::Environment &ACE_TRY_ENV)
+ ACE_THROW_SPEC ((CORBA::SystemException))
+{
+ return this->_tao_impl->_is_a (id, ACE_TRY_ENV);
+}
+
+void
+POA_CORBA::PrimitiveDef::TAO_ServerRequestInfo_CORBA_PrimitiveDef_kind_get::result (CORBA::PrimitiveKind result)
+{
+ // Update the result.
+ this->_result = result;
+}
+
+#endif /* TAO_HAS_INTERCEPTORS */
+class TAO_CORBA_StringDef_Perfect_Hash_OpTable : public TAO_Perfect_Hash_OpTable
+{
+private:
+ unsigned int hash (const char *str, unsigned int len);
+public:
+ const TAO_operation_db_entry * lookup (const char *str, unsigned int len);
+};
+/* starting time is 10:44:37 */
+/* C++ code produced by gperf version 2.8 (ACE version) */
+/* Command-line: gperf -m -M -J -c -C -D -E -T -f 0 -F 0 -a -o -t -p -K opname_ -L C++ -Z TAO_CORBA_StringDef_Perfect_Hash_OpTable -N lookup */
+unsigned int
+TAO_CORBA_StringDef_Perfect_Hash_OpTable::hash (const char *str, unsigned int len)
+{
+ static const unsigned char asso_values[] =
+ {
+#if defined (ACE_MVS)
+ 19, 19, 19, 19, 19, 19, 19, 19, 19, 19,
+ 19, 19, 19, 19, 19, 19, 19, 19, 19, 19,
+ 19, 19, 19, 19, 19, 19, 19, 19, 19, 19,
+ 19, 19, 19, 19, 19, 19, 19, 19, 19, 19,
+ 19, 19, 19, 19, 19, 19, 19, 19, 19, 19,
+ 19, 19, 19, 19, 19, 19, 19, 19, 19, 19,
+ 19, 19, 19, 19, 19, 19, 19, 19, 19, 19,
+ 19, 19, 19, 19, 19, 19, 19, 19, 19, 19,
+ 19, 19, 19, 19, 19, 19, 19, 19, 19, 19,
+ 19, 19, 19, 19, 19, 19, 19, 19, 19, 19,
+ 19, 19, 19, 19, 19, 19, 19, 19, 19, 0,
+ 19, 19, 19, 19, 19, 19, 19, 19, 19, 19,
+ 19, 19, 19, 19, 19, 19, 19, 19, 19, 0,
+ 19, 19, 0, 0, 19, 19, 19, 19, 19, 19,
+ 19, 19, 19, 19, 19, 19, 19, 19, 19, 19,
+ 19, 19, 19, 19, 19, 19, 19, 19, 19, 19,
+ 19, 19, 19, 5, 19, 19, 19, 19, 0, 19,
+ 19, 19, 19, 19, 19, 19, 19, 19, 19, 19,
+ 19, 19, 19, 19, 19, 19, 19, 19, 19, 19,
+ 19, 19, 19, 19, 19, 19, 19, 19, 19, 19,
+ 19, 19, 19, 19, 19, 19, 19, 19, 19, 19,
+ 19, 19, 19, 19, 19, 19, 19, 19, 19, 19,
+ 19, 19, 19, 19, 19, 19, 19, 19, 19, 19,
+ 19, 19, 19, 19, 19, 19, 19, 19, 19, 19,
+ 19, 19, 19, 19, 19, 19, 19, 19, 19, 19,
+ 19, 19, 19, 19, 19, 19,
+#else
+ 19, 19, 19, 19, 19, 19, 19, 19, 19, 19,
+ 19, 19, 19, 19, 19, 19, 19, 19, 19, 19,
+ 19, 19, 19, 19, 19, 19, 19, 19, 19, 19,
+ 19, 19, 19, 19, 19, 19, 19, 19, 19, 19,
+ 19, 19, 19, 19, 19, 19, 19, 19, 19, 19,
+ 19, 19, 19, 19, 19, 19, 19, 19, 19, 19,
+ 19, 19, 19, 19, 19, 19, 19, 19, 19, 19,
+ 19, 19, 19, 19, 19, 19, 19, 19, 19, 19,
+ 19, 19, 19, 19, 19, 19, 19, 19, 19, 19,
+ 19, 19, 19, 19, 19, 0, 19, 0, 19, 19,
+ 0, 0, 19, 19, 19, 19, 19, 19, 19, 19,
+ 19, 19, 19, 19, 19, 19, 5, 19, 19, 19,
+ 19, 0, 19, 19, 19, 19, 19, 19,
+#endif /* ACE_MVS */
+ };
+ return len + asso_values[str[len - 1]] + asso_values[str[0]];
+}
+
+const class TAO_operation_db_entry *
+TAO_CORBA_StringDef_Perfect_Hash_OpTable::lookup (const char *str, unsigned int len)
+{
+ enum
+ {
+ TOTAL_KEYWORDS = 7,
+ MIN_WORD_LENGTH = 5,
+ MAX_WORD_LENGTH = 13,
+ MIN_HASH_VALUE = 5,
+ MAX_HASH_VALUE = 18,
+ HASH_VALUE_RANGE = 14,
+ DUPLICATES = 2
+ };
+
+ static const class TAO_operation_db_entry wordlist[] =
+ {
+ {"",0},{"",0},{"",0},{"",0},{"",0},
+ {"_is_a", &POA_CORBA::StringDef::_is_a_skel},
+ {"destroy", &POA_CORBA::StringDef::destroy_skel},
+ {"_get_type", &POA_CORBA::StringDef::_get_type_skel},
+ {"_get_bound", &POA_CORBA::StringDef::_get_bound_skel},
+ {"_set_bound", &POA_CORBA::StringDef::_set_bound_skel},
+ {"_get_def_kind", &POA_CORBA::StringDef::_get_def_kind_skel},
+ {"_non_existent", &POA_CORBA::StringDef::_non_existent_skel},
+ };
+
+ static const signed char lookup[] =
+ {
+ -1, -1, -1, -8, -2, 5, -1, 6, -1, 7, -25, -1, -1, 10,
+ -1, -1, -1, -1, 11,
+ };
+
+ if (len <= MAX_WORD_LENGTH && len >= MIN_WORD_LENGTH)
+ {
+ unsigned int key = hash (str, len);
+
+ if (key <= MAX_HASH_VALUE && key >= MIN_HASH_VALUE)
+ {
+ int slot = lookup[key];
+
+ if (slot >= 0 && slot < MAX_HASH_VALUE)
+ {
+ const char *s = wordlist[slot].opname_;
+
+ if (*str == *s && !strncmp (str + 1, s + 1, len - 1))
+ return &wordlist[slot];
+ }
+ else if (slot < 0 && slot >= -MAX_HASH_VALUE)
+ return 0;
+ else
+ {
+ unsigned int offset = key + slot + (slot > 0 ? -MAX_HASH_VALUE : MAX_HASH_VALUE);
+ const class TAO_operation_db_entry *base = &wordlist[-lookup[offset]];
+ const class TAO_operation_db_entry *ptr = base + -lookup[offset + 1];
+
+ while (--ptr >= base)
+ if (*str == *ptr->opname_ && !strncmp (str + 1, ptr->opname_ + 1, len - 1))
+ return ptr;
+ }
+ }
+ }
+ return 0;
+}
+/* ending time is 10:44:37 */
+static TAO_CORBA_StringDef_Perfect_Hash_OpTable tao_CORBA_StringDef_optable;
+
+
+///////////////////////////////////////////////////////////////////////
+// Strategized Proxy Broker Implementation
+//
+
+// Factory function Implementation.
+POA_CORBA::_TAO_StringDef_Strategized_Proxy_Broker *POA_CORBA::_TAO_StringDef_Strategized_Proxy_Broker::the_TAO_StringDef_Strategized_Proxy_Broker (void)
+{
+ static POA_CORBA::_TAO_StringDef_Strategized_Proxy_Broker strategized_proxy_broker;
+ return &strategized_proxy_broker;
+}
+
+POA_CORBA::_TAO_StringDef_Strategized_Proxy_Broker::_TAO_StringDef_Strategized_Proxy_Broker (void)
+{
+ for (int i = 0; i < TAO_Collocation_Strategies::CS_LAST; ++i)
+ this->proxy_cache_[i] = 0;
+
+}
+
+POA_CORBA::_TAO_StringDef_Strategized_Proxy_Broker::~_TAO_StringDef_Strategized_Proxy_Broker (void)
+{
+ for (int i = 0; i < TAO_Collocation_Strategies::CS_LAST; ++i)
+ delete this->proxy_cache_[i];
+
+}
+
+_TAO_StringDef_Proxy_Impl&
+POA_CORBA::_TAO_StringDef_Strategized_Proxy_Broker::select_proxy (
+ ::CORBA::StringDef *object,
+ CORBA::Environment &ACE_TRY_ENV
+ )
+{
+ int strategy =
+ TAO_ORB_Core::collocation_strategy (object);
+
+ if (this->proxy_cache_[strategy] != 0)
+ return *this->proxy_cache_[strategy];
+
+ this->create_proxy (strategy, ACE_TRY_ENV);
+ ACE_CHECK_RETURN (*this->proxy_cache_[strategy]);
+
+ return *this->proxy_cache_[strategy];
+
+}
+
+void
+POA_CORBA::_TAO_StringDef_Strategized_Proxy_Broker::create_proxy (
+ int strategy,
+ CORBA::Environment &ACE_TRY_ENV
+ )
+{
+ ACE_GUARD (TAO_SYNCH_MUTEX, guard, this->mutex_);
+
+ if (this->proxy_cache_[strategy] == 0)
+ {
+ switch (strategy)
+ {
+ case TAO_Collocation_Strategies::CS_THRU_POA_STRATEGY:
+ ACE_NEW_THROW_EX (
+ this->proxy_cache_[strategy],
+ _TAO_StringDef_ThruPOA_Proxy_Impl,
+ CORBA::NO_MEMORY ()
+ );
+ ACE_CHECK;
+ break;
+
+ case TAO_Collocation_Strategies::CS_REMOTE_STRATEGY:
+ default:
+ ACE_NEW_THROW_EX (
+ this->proxy_cache_[strategy],
+ ::_TAO_StringDef_Remote_Proxy_Impl,
+ CORBA::NO_MEMORY ()
+ );
+ ACE_CHECK;
+ break;
+
+ }
+
+ }
+}
+
+
+//
+// End Strategized Proxy Broker Implementation
+///////////////////////////////////////////////////////////////////////
+
+
+_TAO_StringDef_Proxy_Broker *
+CORBA__TAO_StringDef_Proxy_Broker_Factory_function (CORBA::Object_ptr obj)
+{
+ ACE_UNUSED_ARG (obj);
+ return ::POA_CORBA::_TAO_StringDef_Strategized_Proxy_Broker::the_TAO_StringDef_Strategized_Proxy_Broker();
+}
+
+int
+CORBA__TAO_StringDef_Proxy_Broker_Factory_Initializer (long _dummy_)
+{
+ ACE_UNUSED_ARG (_dummy_);
+
+ CORBA__TAO_StringDef_Proxy_Broker_Factory_function_pointer =
+ CORBA__TAO_StringDef_Proxy_Broker_Factory_function;
+
+ return 0;
+}
+
+static int CORBA__TAO_StringDef_Proxy_Broker_Stub_Factory_Initializer_Scarecrow =
+ CORBA__TAO_StringDef_Proxy_Broker_Factory_Initializer (ACE_reinterpret_cast (long, CORBA__TAO_StringDef_Proxy_Broker_Factory_Initializer));
+
+
+///////////////////////////////////////////////////////////////////////
+// ThruPOA Proxy Implementation
+//
+
+POA_CORBA::_TAO_StringDef_ThruPOA_Proxy_Impl::_TAO_StringDef_ThruPOA_Proxy_Impl (void)
+{}
+
+// ThruPOA Implementation of the IDL interface methods
+
+CORBA::ULong POA_CORBA::_TAO_StringDef_ThruPOA_Proxy_Impl::bound (
+ CORBA_Object *_collocated_tao_target_,
+ CORBA::Environment &ACE_TRY_ENV
+ )
+ ACE_THROW_SPEC ((
+ CORBA::SystemException
+ ))
+{
+ CORBA::ULong _tao_retval = 0;
+ ACE_UNUSED_ARG (_tao_retval);
+ TAO_Object_Adapter::Servant_Upcall servant_upcall (
+ _collocated_tao_target_->_stubobj ()->servant_orb_var ()->orb_core ()
+ );
+ CORBA::Object_var forward_to;
+ servant_upcall.prepare_for_upcall (
+ _collocated_tao_target_->_object_key (),
+ "bound",
+ forward_to.out (),
+ ACE_TRY_ENV
+ );
+ ACE_CHECK_RETURN (_tao_retval);
+ return ACE_reinterpret_cast (
+ POA_CORBA::StringDef_ptr,
+ servant_upcall.servant ()->_downcast (
+ "IDL:omg.org/CORBA/StringDef:1.0"
+ )
+ )->bound (
+ ACE_TRY_ENV
+ );
+}
+
+void POA_CORBA::_TAO_StringDef_ThruPOA_Proxy_Impl::bound (
+ CORBA_Object *_collocated_tao_target_,
+ CORBA::ULong bound,
+ CORBA::Environment &ACE_TRY_ENV
+ )
+ ACE_THROW_SPEC ((
+ CORBA::SystemException
+ ))
+{
+ TAO_Object_Adapter::Servant_Upcall servant_upcall (
+ _collocated_tao_target_->_stubobj ()->servant_orb_var ()->orb_core ()
+ );
+ CORBA::Object_var forward_to;
+ servant_upcall.prepare_for_upcall (
+ _collocated_tao_target_->_object_key (),
+ "bound",
+ forward_to.out (),
+ ACE_TRY_ENV
+ );
+ ACE_CHECK;
+ ACE_reinterpret_cast (
+ POA_CORBA::StringDef_ptr,
+ servant_upcall.servant ()->_downcast (
+ "IDL:omg.org/CORBA/StringDef:1.0"
+ )
+ )->bound (
+ bound,
+ ACE_TRY_ENV
+ );
+ return;
+}
+
+//
+// End ThruPOA Proxy Implementation
+///////////////////////////////////////////////////////////////////////
+
+// skeleton constructor
+POA_CORBA::StringDef::StringDef (void)
+{
+ this->optable_ = &tao_CORBA_StringDef_optable;
+}
+
+// copy ctor
+POA_CORBA::StringDef::StringDef (const StringDef& rhs)
+ : ACE_NESTED_CLASS (POA_CORBA,IDLType) (rhs),
+ ACE_NESTED_CLASS (POA_CORBA,IRObject) (rhs),
+ TAO_ServantBase (rhs)
+{}
+
+// skeleton destructor
+POA_CORBA::StringDef::~StringDef (void)
+{
+}
+
+void POA_CORBA::StringDef::_get_bound_skel (
+ TAO_ServerRequest &_tao_server_request,
+ void *_tao_object_reference,
+ void * /* context */,
+ CORBA::Environment &ACE_TRY_ENV
+ )
+{
+ POA_CORBA::StringDef *_tao_impl = (POA_CORBA::StringDef *)_tao_object_reference;
+
+ CORBA::ULong _tao_retval = 0;
+
+#if (TAO_HAS_INTERCEPTORS == 1)
+ TAO_ServerRequestInterceptor_Adapter _tao_vfr (
+ _tao_server_request.orb_core ()->server_request_interceptors (),
+ _tao_server_request.interceptor_count ()
+ );
+
+ POA_CORBA::StringDef::TAO_ServerRequestInfo_CORBA_StringDef_bound_get ri (
+ _tao_server_request,
+ _tao_impl,
+ ACE_TRY_ENV
+ );
+
+ ACE_TRY
+ {
+ _tao_vfr.receive_request (&ri, ACE_TRY_ENV);
+ ACE_TRY_CHECK;
+
+#endif /* TAO_HAS_INTERCEPTORS */
+ _tao_retval =
+ _tao_impl->bound (
+ ACE_TRY_ENV
+ );
+ TAO_INTERCEPTOR_CHECK;
+
+#if (TAO_HAS_INTERCEPTORS == 1)
+ CORBA::ULong _tao_retval_info = _tao_retval;
+ ri.result (_tao_retval_info);
+ ri.reply_status (PortableInterceptor::SUCCESSFUL);
+ _tao_vfr.send_reply (&ri, ACE_TRY_ENV);
+ ACE_TRY_CHECK;
+ }
+ ACE_CATCH (PortableInterceptor::ForwardRequest, exc)
+ {
+ ri.forward_reference (exc);
+ _tao_vfr.send_other (
+ &ri,
+ ACE_TRY_ENV
+ );
+ ACE_TRY_CHECK;
+ _tao_server_request.forward_location (exc.forward.in ());
+ }
+ ACE_CATCHANY
+ {
+ ri.exception (&ACE_ANY_EXCEPTION);
+ _tao_vfr.send_exception (
+ &ri,
+ ACE_TRY_ENV
+ );
+ ACE_TRY_CHECK;
+ ACE_RE_THROW;
+ }
+ ACE_ENDTRY;
+ ACE_CHECK;
+#endif /* TAO_HAS_INTERCEPTORS */
+
+ _tao_server_request.init_reply ();
+
+ TAO_OutputCDR &_tao_out = _tao_server_request.outgoing ();
+
+ if (!(
+ (_tao_out << _tao_retval)
+ ))
+ ACE_THROW (CORBA::MARSHAL());
+
+ // In case ACE_TRY_ENV is not used in this function
+ ACE_UNUSED_ARG (ACE_TRY_ENV);
+}
+
+void POA_CORBA::StringDef::_set_bound_skel (
+ TAO_ServerRequest &_tao_server_request,
+ void *_tao_object_reference,
+ void * /* context */,
+ CORBA::Environment &ACE_TRY_ENV
+ )
+{
+ TAO_InputCDR &_tao_in = _tao_server_request.incoming ();
+ POA_CORBA::StringDef *_tao_impl = (POA_CORBA::StringDef *)_tao_object_reference;
+
+ _tao_server_request.argument_flag (0);
+ CORBA::ULong bound;
+ if (!(
+ (_tao_in >> bound)
+ ))
+ ACE_THROW (CORBA::MARSHAL());
+
+
+#if (TAO_HAS_INTERCEPTORS == 1)
+ TAO_ServerRequestInterceptor_Adapter _tao_vfr (
+ _tao_server_request.orb_core ()->server_request_interceptors (),
+ _tao_server_request.interceptor_count ()
+ );
+
+ POA_CORBA::StringDef::TAO_ServerRequestInfo_CORBA_StringDef_bound_set ri (
+ _tao_server_request,
+ _tao_impl,
+ bound,
+ ACE_TRY_ENV
+ );
+
+ ACE_TRY
+ {
+ _tao_vfr.receive_request (&ri, ACE_TRY_ENV);
+ ACE_TRY_CHECK;
+
+#endif /* TAO_HAS_INTERCEPTORS */
+
+ _tao_impl->bound (
+ bound,
+ ACE_TRY_ENV
+ );
+ TAO_INTERCEPTOR_CHECK;
+
+#if (TAO_HAS_INTERCEPTORS == 1)
+ ri.reply_status (PortableInterceptor::SUCCESSFUL);
+ _tao_vfr.send_reply (&ri, ACE_TRY_ENV);
+ ACE_TRY_CHECK;
+ }
+ ACE_CATCH (PortableInterceptor::ForwardRequest, exc)
+ {
+ ri.forward_reference (exc);
+ _tao_vfr.send_other (
+ &ri,
+ ACE_TRY_ENV
+ );
+ ACE_TRY_CHECK;
+ _tao_server_request.forward_location (exc.forward.in ());
+ }
+ ACE_CATCHANY
+ {
+ ri.exception (&ACE_ANY_EXCEPTION);
+ _tao_vfr.send_exception (
+ &ri,
+ ACE_TRY_ENV
+ );
+ ACE_TRY_CHECK;
+ ACE_RE_THROW;
+ }
+ ACE_ENDTRY;
+ ACE_CHECK;
+#endif /* TAO_HAS_INTERCEPTORS */
+
+ _tao_server_request.init_reply ();
+
+ // In case ACE_TRY_ENV is not used in this function
+ ACE_UNUSED_ARG (ACE_TRY_ENV);
+}
+
+void POA_CORBA::StringDef::_is_a_skel (
+ TAO_ServerRequest &_tao_server_request,
+ void * _tao_object_reference,
+ void * /* context */,
+ CORBA::Environment &ACE_TRY_ENV
+ )
+{
+ TAO_InputCDR &_tao_in = _tao_server_request.incoming ();
+ POA_CORBA::StringDef *_tao_impl = (POA_CORBA::StringDef *) _tao_object_reference;
+ CORBA::Boolean _tao_retval = 0;
+ CORBA::String_var value;
+ if (!(_tao_in >> value.out ()))
+ ACE_THROW (CORBA::MARSHAL ());
+
+ _tao_retval = _tao_impl->_is_a (value.in (), ACE_TRY_ENV);
+ ACE_CHECK;
+
+ _tao_server_request.init_reply ();
+ TAO_OutputCDR &_tao_out = _tao_server_request.outgoing ();
+ if (!(_tao_out << CORBA::Any::from_boolean (_tao_retval)))
+ ACE_THROW (CORBA::MARSHAL ());
+}
+
+void POA_CORBA::StringDef::_non_existent_skel (
+ TAO_ServerRequest &_tao_server_request,
+ void * _tao_object_reference,
+ void * /* context */,
+ CORBA::Environment &ACE_TRY_ENV
+ )
+{
+ POA_CORBA::StringDef *_tao_impl = (POA_CORBA::StringDef *) _tao_object_reference;
+ CORBA::Boolean _tao_retval = _tao_impl->_non_existent (ACE_TRY_ENV);
+ ACE_CHECK;
+
+ _tao_server_request.init_reply ();
+ TAO_OutputCDR &_tao_out = _tao_server_request.outgoing ();
+ if (!(_tao_out << CORBA::Any::from_boolean (_tao_retval)))
+ ACE_THROW (CORBA::MARSHAL ());
+}
+
+CORBA::Boolean POA_CORBA::StringDef::_is_a (
+ const char* value,
+ CORBA::Environment &ACE_TRY_ENV
+ )
+{
+ const char *base_id = CORBA::_tc_Object->id (ACE_TRY_ENV);
+ ACE_CHECK_RETURN (0);
+
+ if (
+ (!ACE_OS::strcmp ((char *)value, "IDL:omg.org/CORBA/StringDef:1.0")) ||
+ (!ACE_OS::strcmp ((char *)value, "IDL:omg.org/CORBA/IDLType:1.0")) ||
+ (!ACE_OS::strcmp ((char *)value, "IDL:omg.org/CORBA/IRObject:1.0")) ||
+ (!ACE_OS::strcmp ((char *)value, base_id)))
+ return 1;
+ else
+ return 0;
+}
+
+void* POA_CORBA::StringDef::_downcast (
+ const char* logical_type_id
+ )
+{
+ if (ACE_OS::strcmp (logical_type_id, "IDL:omg.org/CORBA/StringDef:1.0") == 0)
+ return ACE_static_cast (POA_CORBA::StringDef_ptr, this);
+ if (ACE_OS::strcmp (logical_type_id, "IDL:omg.org/CORBA/IDLType:1.0") == 0)
+ return ACE_static_cast (POA_CORBA::IDLType_ptr, this);
+ if (ACE_OS::strcmp (logical_type_id, "IDL:omg.org/CORBA/IRObject:1.0") == 0)
+ return ACE_static_cast (POA_CORBA::IRObject_ptr, this);
+ if (ACE_OS::strcmp (logical_type_id, "IDL:omg.org/CORBA/Object:1.0") == 0)
+ return ACE_static_cast(PortableServer::Servant, this);
+ return 0;
+}
+
+void POA_CORBA::StringDef::_dispatch (TAO_ServerRequest &req, void *context, CORBA::Environment &ACE_TRY_ENV)
+{
+ this->synchronous_upcall_dispatch(req, context, this, ACE_TRY_ENV);
+}
+
+const char* POA_CORBA::StringDef::_interface_repository_id (void) const
+{
+ return "IDL:omg.org/CORBA/StringDef:1.0";
+}
+
+CORBA::StringDef*
+POA_CORBA::StringDef::_this (CORBA_Environment &ACE_TRY_ENV)
+{
+ TAO_Stub *stub = this->_create_stub (ACE_TRY_ENV);
+ ACE_CHECK_RETURN (0);
+
+ CORBA::Object_ptr tmp = CORBA::Object::_nil ();
+
+ if (stub->servant_orb_var ()->orb_core ()->optimize_collocation_objects ())
+ ACE_NEW_RETURN (tmp, CORBA::Object (stub, 1, this), 0);
+ else
+ ACE_NEW_RETURN (tmp, CORBA::Object (stub, 0, this), 0);
+
+ CORBA::Object_var obj = tmp;
+ return ::CORBA::StringDef::_unchecked_narrow (obj.in ());
+}
+
+
+#if (TAO_HAS_INTERCEPTORS == 1)
+POA_CORBA::StringDef::TAO_ServerRequestInfo_CORBA_StringDef_bound_get::TAO_ServerRequestInfo_CORBA_StringDef_bound_get (
+ TAO_ServerRequest &_tao_server_request,
+ POA_CORBA::StringDef *tao_impl,
+ CORBA::Environment &
+ )
+ : TAO_ServerRequestInfo (_tao_server_request),
+ _tao_impl (tao_impl)
+{}
+
+Dynamic::ParameterList *
+POA_CORBA::StringDef::TAO_ServerRequestInfo_CORBA_StringDef_bound_get::arguments (CORBA::Environment &ACE_TRY_ENV)
+ ACE_THROW_SPEC ((CORBA::SystemException))
+{
+ // Generate the argument list on demand.
+ Dynamic::ParameterList *parameter_list =
+ TAO_RequestInfo_Util::make_parameter_list (ACE_TRY_ENV);
+ ACE_CHECK_RETURN (0);
+
+ return parameter_list;
+}
+
+Dynamic::ExceptionList *
+POA_CORBA::StringDef::TAO_ServerRequestInfo_CORBA_StringDef_bound_get::exceptions (CORBA::Environment &ACE_TRY_ENV)
+ ACE_THROW_SPEC ((CORBA::SystemException))
+{
+ // Generate the exception list on demand.
+ Dynamic::ExceptionList *exception_list =
+ TAO_RequestInfo_Util::make_exception_list (ACE_TRY_ENV);
+ ACE_CHECK_RETURN (0);
+
+ return exception_list;
+}
+
+CORBA::Any *
+POA_CORBA::StringDef::TAO_ServerRequestInfo_CORBA_StringDef_bound_get::result (CORBA::Environment &ACE_TRY_ENV)
+ ACE_THROW_SPEC ((CORBA::SystemException))
+{
+ // Generate the result on demand.
+ CORBA::Boolean tk_void_any = 0;
+ CORBA::Any *result_any =
+ TAO_RequestInfo_Util::make_any (tk_void_any, ACE_TRY_ENV);
+ ACE_CHECK_RETURN (0);
+
+ CORBA::Any_var safe_result_any = result_any;
+
+ (*result_any) <<= this->_result;
+
+ return safe_result_any._retn ();
+}
+
+char *
+POA_CORBA::StringDef::TAO_ServerRequestInfo_CORBA_StringDef_bound_get::target_most_derived_interface (
+ CORBA::Environment &)
+ ACE_THROW_SPEC ((CORBA::SystemException))
+{
+ return
+ CORBA::string_dup (this->_tao_impl->_interface_repository_id ());
+}
+
+CORBA::Boolean
+POA_CORBA::StringDef::TAO_ServerRequestInfo_CORBA_StringDef_bound_get::target_is_a (
+ const char * id,
+ CORBA::Environment &ACE_TRY_ENV)
+ ACE_THROW_SPEC ((CORBA::SystemException))
+{
+ return this->_tao_impl->_is_a (id, ACE_TRY_ENV);
+}
+
+void
+POA_CORBA::StringDef::TAO_ServerRequestInfo_CORBA_StringDef_bound_get::result (CORBA::ULong result)
+{
+ // Update the result.
+ this->_result = result;
+}
+
+POA_CORBA::StringDef::TAO_ServerRequestInfo_CORBA_StringDef_bound_set::TAO_ServerRequestInfo_CORBA_StringDef_bound_set (
+ TAO_ServerRequest &_tao_server_request,
+ POA_CORBA::StringDef *tao_impl,
+ const CORBA::ULong & bound,
+ CORBA::Environment &
+ )
+ : TAO_ServerRequestInfo (_tao_server_request),
+ _tao_impl (tao_impl),
+ bound_ (bound)
+{}
+
+Dynamic::ParameterList *
+POA_CORBA::StringDef::TAO_ServerRequestInfo_CORBA_StringDef_bound_set::arguments (CORBA::Environment &ACE_TRY_ENV)
+ ACE_THROW_SPEC ((CORBA::SystemException))
+{
+ // Generate the argument list on demand.
+ Dynamic::ParameterList *parameter_list =
+ TAO_RequestInfo_Util::make_parameter_list (ACE_TRY_ENV);
+ ACE_CHECK_RETURN (0);
+
+ Dynamic::ParameterList_var safe_parameter_list = parameter_list;
+
+ CORBA::ULong length_bound = parameter_list->length ();
+ parameter_list->length (length_bound + 1);
+ (*parameter_list)[length_bound].argument <<= bound_;
+ (*parameter_list)[length_bound].mode = Dynamic::PARAM_IN;
+
+ return safe_parameter_list._retn ();
+}
+
+Dynamic::ExceptionList *
+POA_CORBA::StringDef::TAO_ServerRequestInfo_CORBA_StringDef_bound_set::exceptions (CORBA::Environment &ACE_TRY_ENV)
+ ACE_THROW_SPEC ((CORBA::SystemException))
+{
+ // Generate the exception list on demand.
+ Dynamic::ExceptionList *exception_list =
+ TAO_RequestInfo_Util::make_exception_list (ACE_TRY_ENV);
+ ACE_CHECK_RETURN (0);
+
+ return exception_list;
+}
+
+CORBA::Any *
+POA_CORBA::StringDef::TAO_ServerRequestInfo_CORBA_StringDef_bound_set::result (CORBA::Environment &ACE_TRY_ENV)
+ ACE_THROW_SPEC ((CORBA::SystemException))
+{
+ // Generate the result on demand.
+ CORBA::Boolean tk_void_any = 1;
+ CORBA::Any *result_any =
+ TAO_RequestInfo_Util::make_any (tk_void_any, ACE_TRY_ENV);
+ ACE_CHECK_RETURN (0);
+
+ return result_any;
+}
+
+char *
+POA_CORBA::StringDef::TAO_ServerRequestInfo_CORBA_StringDef_bound_set::target_most_derived_interface (
+ CORBA::Environment &)
+ ACE_THROW_SPEC ((CORBA::SystemException))
+{
+ return
+ CORBA::string_dup (this->_tao_impl->_interface_repository_id ());
+}
+
+CORBA::Boolean
+POA_CORBA::StringDef::TAO_ServerRequestInfo_CORBA_StringDef_bound_set::target_is_a (
+ const char * id,
+ CORBA::Environment &ACE_TRY_ENV)
+ ACE_THROW_SPEC ((CORBA::SystemException))
+{
+ return this->_tao_impl->_is_a (id, ACE_TRY_ENV);
+}
+
+#endif /* TAO_HAS_INTERCEPTORS */
+class TAO_CORBA_WstringDef_Perfect_Hash_OpTable : public TAO_Perfect_Hash_OpTable
+{
+private:
+ unsigned int hash (const char *str, unsigned int len);
+public:
+ const TAO_operation_db_entry * lookup (const char *str, unsigned int len);
+};
+/* starting time is 10:44:37 */
+/* C++ code produced by gperf version 2.8 (ACE version) */
+/* Command-line: gperf -m -M -J -c -C -D -E -T -f 0 -F 0 -a -o -t -p -K opname_ -L C++ -Z TAO_CORBA_WstringDef_Perfect_Hash_OpTable -N lookup */
+unsigned int
+TAO_CORBA_WstringDef_Perfect_Hash_OpTable::hash (const char *str, unsigned int len)
+{
+ static const unsigned char asso_values[] =
+ {
+#if defined (ACE_MVS)
+ 19, 19, 19, 19, 19, 19, 19, 19, 19, 19,
+ 19, 19, 19, 19, 19, 19, 19, 19, 19, 19,
+ 19, 19, 19, 19, 19, 19, 19, 19, 19, 19,
+ 19, 19, 19, 19, 19, 19, 19, 19, 19, 19,
+ 19, 19, 19, 19, 19, 19, 19, 19, 19, 19,
+ 19, 19, 19, 19, 19, 19, 19, 19, 19, 19,
+ 19, 19, 19, 19, 19, 19, 19, 19, 19, 19,
+ 19, 19, 19, 19, 19, 19, 19, 19, 19, 19,
+ 19, 19, 19, 19, 19, 19, 19, 19, 19, 19,
+ 19, 19, 19, 19, 19, 19, 19, 19, 19, 19,
+ 19, 19, 19, 19, 19, 19, 19, 19, 19, 0,
+ 19, 19, 19, 19, 19, 19, 19, 19, 19, 19,
+ 19, 19, 19, 19, 19, 19, 19, 19, 19, 0,
+ 19, 19, 0, 0, 19, 19, 19, 19, 19, 19,
+ 19, 19, 19, 19, 19, 19, 19, 19, 19, 19,
+ 19, 19, 19, 19, 19, 19, 19, 19, 19, 19,
+ 19, 19, 19, 5, 19, 19, 19, 19, 0, 19,
+ 19, 19, 19, 19, 19, 19, 19, 19, 19, 19,
+ 19, 19, 19, 19, 19, 19, 19, 19, 19, 19,
+ 19, 19, 19, 19, 19, 19, 19, 19, 19, 19,
+ 19, 19, 19, 19, 19, 19, 19, 19, 19, 19,
+ 19, 19, 19, 19, 19, 19, 19, 19, 19, 19,
+ 19, 19, 19, 19, 19, 19, 19, 19, 19, 19,
+ 19, 19, 19, 19, 19, 19, 19, 19, 19, 19,
+ 19, 19, 19, 19, 19, 19, 19, 19, 19, 19,
+ 19, 19, 19, 19, 19, 19,
+#else
+ 19, 19, 19, 19, 19, 19, 19, 19, 19, 19,
+ 19, 19, 19, 19, 19, 19, 19, 19, 19, 19,
+ 19, 19, 19, 19, 19, 19, 19, 19, 19, 19,
+ 19, 19, 19, 19, 19, 19, 19, 19, 19, 19,
+ 19, 19, 19, 19, 19, 19, 19, 19, 19, 19,
+ 19, 19, 19, 19, 19, 19, 19, 19, 19, 19,
+ 19, 19, 19, 19, 19, 19, 19, 19, 19, 19,
+ 19, 19, 19, 19, 19, 19, 19, 19, 19, 19,
+ 19, 19, 19, 19, 19, 19, 19, 19, 19, 19,
+ 19, 19, 19, 19, 19, 0, 19, 0, 19, 19,
+ 0, 0, 19, 19, 19, 19, 19, 19, 19, 19,
+ 19, 19, 19, 19, 19, 19, 5, 19, 19, 19,
+ 19, 0, 19, 19, 19, 19, 19, 19,
+#endif /* ACE_MVS */
+ };
+ return len + asso_values[str[len - 1]] + asso_values[str[0]];
+}
+
+const class TAO_operation_db_entry *
+TAO_CORBA_WstringDef_Perfect_Hash_OpTable::lookup (const char *str, unsigned int len)
+{
+ enum
+ {
+ TOTAL_KEYWORDS = 7,
+ MIN_WORD_LENGTH = 5,
+ MAX_WORD_LENGTH = 13,
+ MIN_HASH_VALUE = 5,
+ MAX_HASH_VALUE = 18,
+ HASH_VALUE_RANGE = 14,
+ DUPLICATES = 2
+ };
+
+ static const class TAO_operation_db_entry wordlist[] =
+ {
+ {"",0},{"",0},{"",0},{"",0},{"",0},
+ {"_is_a", &POA_CORBA::WstringDef::_is_a_skel},
+ {"destroy", &POA_CORBA::WstringDef::destroy_skel},
+ {"_get_type", &POA_CORBA::WstringDef::_get_type_skel},
+ {"_get_bound", &POA_CORBA::WstringDef::_get_bound_skel},
+ {"_set_bound", &POA_CORBA::WstringDef::_set_bound_skel},
+ {"_get_def_kind", &POA_CORBA::WstringDef::_get_def_kind_skel},
+ {"_non_existent", &POA_CORBA::WstringDef::_non_existent_skel},
+ };
+
+ static const signed char lookup[] =
+ {
+ -1, -1, -1, -8, -2, 5, -1, 6, -1, 7, -25, -1, -1, 10,
+ -1, -1, -1, -1, 11,
+ };
+
+ if (len <= MAX_WORD_LENGTH && len >= MIN_WORD_LENGTH)
+ {
+ unsigned int key = hash (str, len);
+
+ if (key <= MAX_HASH_VALUE && key >= MIN_HASH_VALUE)
+ {
+ int slot = lookup[key];
+
+ if (slot >= 0 && slot < MAX_HASH_VALUE)
+ {
+ const char *s = wordlist[slot].opname_;
+
+ if (*str == *s && !strncmp (str + 1, s + 1, len - 1))
+ return &wordlist[slot];
+ }
+ else if (slot < 0 && slot >= -MAX_HASH_VALUE)
+ return 0;
+ else
+ {
+ unsigned int offset = key + slot + (slot > 0 ? -MAX_HASH_VALUE : MAX_HASH_VALUE);
+ const class TAO_operation_db_entry *base = &wordlist[-lookup[offset]];
+ const class TAO_operation_db_entry *ptr = base + -lookup[offset + 1];
+
+ while (--ptr >= base)
+ if (*str == *ptr->opname_ && !strncmp (str + 1, ptr->opname_ + 1, len - 1))
+ return ptr;
+ }
+ }
+ }
+ return 0;
+}
+/* ending time is 10:44:37 */
+static TAO_CORBA_WstringDef_Perfect_Hash_OpTable tao_CORBA_WstringDef_optable;
+
+
+///////////////////////////////////////////////////////////////////////
+// Strategized Proxy Broker Implementation
+//
+
+// Factory function Implementation.
+POA_CORBA::_TAO_WstringDef_Strategized_Proxy_Broker *POA_CORBA::_TAO_WstringDef_Strategized_Proxy_Broker::the_TAO_WstringDef_Strategized_Proxy_Broker (void)
+{
+ static POA_CORBA::_TAO_WstringDef_Strategized_Proxy_Broker strategized_proxy_broker;
+ return &strategized_proxy_broker;
+}
+
+POA_CORBA::_TAO_WstringDef_Strategized_Proxy_Broker::_TAO_WstringDef_Strategized_Proxy_Broker (void)
+{
+ for (int i = 0; i < TAO_Collocation_Strategies::CS_LAST; ++i)
+ this->proxy_cache_[i] = 0;
+
+}
+
+POA_CORBA::_TAO_WstringDef_Strategized_Proxy_Broker::~_TAO_WstringDef_Strategized_Proxy_Broker (void)
+{
+ for (int i = 0; i < TAO_Collocation_Strategies::CS_LAST; ++i)
+ delete this->proxy_cache_[i];
+
+}
+
+_TAO_WstringDef_Proxy_Impl&
+POA_CORBA::_TAO_WstringDef_Strategized_Proxy_Broker::select_proxy (
+ ::CORBA::WstringDef *object,
+ CORBA::Environment &ACE_TRY_ENV
+ )
+{
+ int strategy =
+ TAO_ORB_Core::collocation_strategy (object);
+
+ if (this->proxy_cache_[strategy] != 0)
+ return *this->proxy_cache_[strategy];
+
+ this->create_proxy (strategy, ACE_TRY_ENV);
+ ACE_CHECK_RETURN (*this->proxy_cache_[strategy]);
+
+ return *this->proxy_cache_[strategy];
+
+}
+
+void
+POA_CORBA::_TAO_WstringDef_Strategized_Proxy_Broker::create_proxy (
+ int strategy,
+ CORBA::Environment &ACE_TRY_ENV
+ )
+{
+ ACE_GUARD (TAO_SYNCH_MUTEX, guard, this->mutex_);
+
+ if (this->proxy_cache_[strategy] == 0)
+ {
+ switch (strategy)
+ {
+ case TAO_Collocation_Strategies::CS_THRU_POA_STRATEGY:
+ ACE_NEW_THROW_EX (
+ this->proxy_cache_[strategy],
+ _TAO_WstringDef_ThruPOA_Proxy_Impl,
+ CORBA::NO_MEMORY ()
+ );
+ ACE_CHECK;
+ break;
+
+ case TAO_Collocation_Strategies::CS_REMOTE_STRATEGY:
+ default:
+ ACE_NEW_THROW_EX (
+ this->proxy_cache_[strategy],
+ ::_TAO_WstringDef_Remote_Proxy_Impl,
+ CORBA::NO_MEMORY ()
+ );
+ ACE_CHECK;
+ break;
+
+ }
+
+ }
+}
+
+
+//
+// End Strategized Proxy Broker Implementation
+///////////////////////////////////////////////////////////////////////
+
+
+_TAO_WstringDef_Proxy_Broker *
+CORBA__TAO_WstringDef_Proxy_Broker_Factory_function (CORBA::Object_ptr obj)
+{
+ ACE_UNUSED_ARG (obj);
+ return ::POA_CORBA::_TAO_WstringDef_Strategized_Proxy_Broker::the_TAO_WstringDef_Strategized_Proxy_Broker();
+}
+
+int
+CORBA__TAO_WstringDef_Proxy_Broker_Factory_Initializer (long _dummy_)
+{
+ ACE_UNUSED_ARG (_dummy_);
+
+ CORBA__TAO_WstringDef_Proxy_Broker_Factory_function_pointer =
+ CORBA__TAO_WstringDef_Proxy_Broker_Factory_function;
+
+ return 0;
+}
+
+static int CORBA__TAO_WstringDef_Proxy_Broker_Stub_Factory_Initializer_Scarecrow =
+ CORBA__TAO_WstringDef_Proxy_Broker_Factory_Initializer (ACE_reinterpret_cast (long, CORBA__TAO_WstringDef_Proxy_Broker_Factory_Initializer));
+
+
+///////////////////////////////////////////////////////////////////////
+// ThruPOA Proxy Implementation
+//
+
+POA_CORBA::_TAO_WstringDef_ThruPOA_Proxy_Impl::_TAO_WstringDef_ThruPOA_Proxy_Impl (void)
+{}
+
+// ThruPOA Implementation of the IDL interface methods
+
+CORBA::ULong POA_CORBA::_TAO_WstringDef_ThruPOA_Proxy_Impl::bound (
+ CORBA_Object *_collocated_tao_target_,
+ CORBA::Environment &ACE_TRY_ENV
+ )
+ ACE_THROW_SPEC ((
+ CORBA::SystemException
+ ))
+{
+ CORBA::ULong _tao_retval = 0;
+ ACE_UNUSED_ARG (_tao_retval);
+ TAO_Object_Adapter::Servant_Upcall servant_upcall (
+ _collocated_tao_target_->_stubobj ()->servant_orb_var ()->orb_core ()
+ );
+ CORBA::Object_var forward_to;
+ servant_upcall.prepare_for_upcall (
+ _collocated_tao_target_->_object_key (),
+ "bound",
+ forward_to.out (),
+ ACE_TRY_ENV
+ );
+ ACE_CHECK_RETURN (_tao_retval);
+ return ACE_reinterpret_cast (
+ POA_CORBA::WstringDef_ptr,
+ servant_upcall.servant ()->_downcast (
+ "IDL:omg.org/CORBA/WstringDef:1.0"
+ )
+ )->bound (
+ ACE_TRY_ENV
+ );
+}
+
+void POA_CORBA::_TAO_WstringDef_ThruPOA_Proxy_Impl::bound (
+ CORBA_Object *_collocated_tao_target_,
+ CORBA::ULong bound,
+ CORBA::Environment &ACE_TRY_ENV
+ )
+ ACE_THROW_SPEC ((
+ CORBA::SystemException
+ ))
+{
+ TAO_Object_Adapter::Servant_Upcall servant_upcall (
+ _collocated_tao_target_->_stubobj ()->servant_orb_var ()->orb_core ()
+ );
+ CORBA::Object_var forward_to;
+ servant_upcall.prepare_for_upcall (
+ _collocated_tao_target_->_object_key (),
+ "bound",
+ forward_to.out (),
+ ACE_TRY_ENV
+ );
+ ACE_CHECK;
+ ACE_reinterpret_cast (
+ POA_CORBA::WstringDef_ptr,
+ servant_upcall.servant ()->_downcast (
+ "IDL:omg.org/CORBA/WstringDef:1.0"
+ )
+ )->bound (
+ bound,
+ ACE_TRY_ENV
+ );
+ return;
+}
+
+//
+// End ThruPOA Proxy Implementation
+///////////////////////////////////////////////////////////////////////
+
+// skeleton constructor
+POA_CORBA::WstringDef::WstringDef (void)
+{
+ this->optable_ = &tao_CORBA_WstringDef_optable;
+}
+
+// copy ctor
+POA_CORBA::WstringDef::WstringDef (const WstringDef& rhs)
+ : ACE_NESTED_CLASS (POA_CORBA,IDLType) (rhs),
+ ACE_NESTED_CLASS (POA_CORBA,IRObject) (rhs),
+ TAO_ServantBase (rhs)
+{}
+
+// skeleton destructor
+POA_CORBA::WstringDef::~WstringDef (void)
+{
+}
+
+void POA_CORBA::WstringDef::_get_bound_skel (
+ TAO_ServerRequest &_tao_server_request,
+ void *_tao_object_reference,
+ void * /* context */,
+ CORBA::Environment &ACE_TRY_ENV
+ )
+{
+ POA_CORBA::WstringDef *_tao_impl = (POA_CORBA::WstringDef *)_tao_object_reference;
+
+ CORBA::ULong _tao_retval = 0;
+
+#if (TAO_HAS_INTERCEPTORS == 1)
+ TAO_ServerRequestInterceptor_Adapter _tao_vfr (
+ _tao_server_request.orb_core ()->server_request_interceptors (),
+ _tao_server_request.interceptor_count ()
+ );
+
+ POA_CORBA::WstringDef::TAO_ServerRequestInfo_CORBA_WstringDef_bound_get ri (
+ _tao_server_request,
+ _tao_impl,
+ ACE_TRY_ENV
+ );
+
+ ACE_TRY
+ {
+ _tao_vfr.receive_request (&ri, ACE_TRY_ENV);
+ ACE_TRY_CHECK;
+
+#endif /* TAO_HAS_INTERCEPTORS */
+ _tao_retval =
+ _tao_impl->bound (
+ ACE_TRY_ENV
+ );
+ TAO_INTERCEPTOR_CHECK;
+
+#if (TAO_HAS_INTERCEPTORS == 1)
+ CORBA::ULong _tao_retval_info = _tao_retval;
+ ri.result (_tao_retval_info);
+ ri.reply_status (PortableInterceptor::SUCCESSFUL);
+ _tao_vfr.send_reply (&ri, ACE_TRY_ENV);
+ ACE_TRY_CHECK;
+ }
+ ACE_CATCH (PortableInterceptor::ForwardRequest, exc)
+ {
+ ri.forward_reference (exc);
+ _tao_vfr.send_other (
+ &ri,
+ ACE_TRY_ENV
+ );
+ ACE_TRY_CHECK;
+ _tao_server_request.forward_location (exc.forward.in ());
+ }
+ ACE_CATCHANY
+ {
+ ri.exception (&ACE_ANY_EXCEPTION);
+ _tao_vfr.send_exception (
+ &ri,
+ ACE_TRY_ENV
+ );
+ ACE_TRY_CHECK;
+ ACE_RE_THROW;
+ }
+ ACE_ENDTRY;
+ ACE_CHECK;
+#endif /* TAO_HAS_INTERCEPTORS */
+
+ _tao_server_request.init_reply ();
+
+ TAO_OutputCDR &_tao_out = _tao_server_request.outgoing ();
+
+ if (!(
+ (_tao_out << _tao_retval)
+ ))
+ ACE_THROW (CORBA::MARSHAL());
+
+ // In case ACE_TRY_ENV is not used in this function
+ ACE_UNUSED_ARG (ACE_TRY_ENV);
+}
+
+void POA_CORBA::WstringDef::_set_bound_skel (
+ TAO_ServerRequest &_tao_server_request,
+ void *_tao_object_reference,
+ void * /* context */,
+ CORBA::Environment &ACE_TRY_ENV
+ )
+{
+ TAO_InputCDR &_tao_in = _tao_server_request.incoming ();
+ POA_CORBA::WstringDef *_tao_impl = (POA_CORBA::WstringDef *)_tao_object_reference;
+
+ _tao_server_request.argument_flag (0);
+ CORBA::ULong bound;
+ if (!(
+ (_tao_in >> bound)
+ ))
+ ACE_THROW (CORBA::MARSHAL());
+
+
+#if (TAO_HAS_INTERCEPTORS == 1)
+ TAO_ServerRequestInterceptor_Adapter _tao_vfr (
+ _tao_server_request.orb_core ()->server_request_interceptors (),
+ _tao_server_request.interceptor_count ()
+ );
+
+ POA_CORBA::WstringDef::TAO_ServerRequestInfo_CORBA_WstringDef_bound_set ri (
+ _tao_server_request,
+ _tao_impl,
+ bound,
+ ACE_TRY_ENV
+ );
+
+ ACE_TRY
+ {
+ _tao_vfr.receive_request (&ri, ACE_TRY_ENV);
+ ACE_TRY_CHECK;
+
+#endif /* TAO_HAS_INTERCEPTORS */
+
+ _tao_impl->bound (
+ bound,
+ ACE_TRY_ENV
+ );
+ TAO_INTERCEPTOR_CHECK;
+
+#if (TAO_HAS_INTERCEPTORS == 1)
+ ri.reply_status (PortableInterceptor::SUCCESSFUL);
+ _tao_vfr.send_reply (&ri, ACE_TRY_ENV);
+ ACE_TRY_CHECK;
+ }
+ ACE_CATCH (PortableInterceptor::ForwardRequest, exc)
+ {
+ ri.forward_reference (exc);
+ _tao_vfr.send_other (
+ &ri,
+ ACE_TRY_ENV
+ );
+ ACE_TRY_CHECK;
+ _tao_server_request.forward_location (exc.forward.in ());
+ }
+ ACE_CATCHANY
+ {
+ ri.exception (&ACE_ANY_EXCEPTION);
+ _tao_vfr.send_exception (
+ &ri,
+ ACE_TRY_ENV
+ );
+ ACE_TRY_CHECK;
+ ACE_RE_THROW;
+ }
+ ACE_ENDTRY;
+ ACE_CHECK;
+#endif /* TAO_HAS_INTERCEPTORS */
+
+ _tao_server_request.init_reply ();
+
+ // In case ACE_TRY_ENV is not used in this function
+ ACE_UNUSED_ARG (ACE_TRY_ENV);
+}
+
+void POA_CORBA::WstringDef::_is_a_skel (
+ TAO_ServerRequest &_tao_server_request,
+ void * _tao_object_reference,
+ void * /* context */,
+ CORBA::Environment &ACE_TRY_ENV
+ )
+{
+ TAO_InputCDR &_tao_in = _tao_server_request.incoming ();
+ POA_CORBA::WstringDef *_tao_impl = (POA_CORBA::WstringDef *) _tao_object_reference;
+ CORBA::Boolean _tao_retval = 0;
+ CORBA::String_var value;
+ if (!(_tao_in >> value.out ()))
+ ACE_THROW (CORBA::MARSHAL ());
+
+ _tao_retval = _tao_impl->_is_a (value.in (), ACE_TRY_ENV);
+ ACE_CHECK;
+
+ _tao_server_request.init_reply ();
+ TAO_OutputCDR &_tao_out = _tao_server_request.outgoing ();
+ if (!(_tao_out << CORBA::Any::from_boolean (_tao_retval)))
+ ACE_THROW (CORBA::MARSHAL ());
+}
+
+void POA_CORBA::WstringDef::_non_existent_skel (
+ TAO_ServerRequest &_tao_server_request,
+ void * _tao_object_reference,
+ void * /* context */,
+ CORBA::Environment &ACE_TRY_ENV
+ )
+{
+ POA_CORBA::WstringDef *_tao_impl = (POA_CORBA::WstringDef *) _tao_object_reference;
+ CORBA::Boolean _tao_retval = _tao_impl->_non_existent (ACE_TRY_ENV);
+ ACE_CHECK;
+
+ _tao_server_request.init_reply ();
+ TAO_OutputCDR &_tao_out = _tao_server_request.outgoing ();
+ if (!(_tao_out << CORBA::Any::from_boolean (_tao_retval)))
+ ACE_THROW (CORBA::MARSHAL ());
+}
+
+CORBA::Boolean POA_CORBA::WstringDef::_is_a (
+ const char* value,
+ CORBA::Environment &ACE_TRY_ENV
+ )
+{
+ const char *base_id = CORBA::_tc_Object->id (ACE_TRY_ENV);
+ ACE_CHECK_RETURN (0);
+
+ if (
+ (!ACE_OS::strcmp ((char *)value, "IDL:omg.org/CORBA/WstringDef:1.0")) ||
+ (!ACE_OS::strcmp ((char *)value, "IDL:omg.org/CORBA/IDLType:1.0")) ||
+ (!ACE_OS::strcmp ((char *)value, "IDL:omg.org/CORBA/IRObject:1.0")) ||
+ (!ACE_OS::strcmp ((char *)value, base_id)))
+ return 1;
+ else
+ return 0;
+}
+
+void* POA_CORBA::WstringDef::_downcast (
+ const char* logical_type_id
+ )
+{
+ if (ACE_OS::strcmp (logical_type_id, "IDL:omg.org/CORBA/WstringDef:1.0") == 0)
+ return ACE_static_cast (POA_CORBA::WstringDef_ptr, this);
+ if (ACE_OS::strcmp (logical_type_id, "IDL:omg.org/CORBA/IDLType:1.0") == 0)
+ return ACE_static_cast (POA_CORBA::IDLType_ptr, this);
+ if (ACE_OS::strcmp (logical_type_id, "IDL:omg.org/CORBA/IRObject:1.0") == 0)
+ return ACE_static_cast (POA_CORBA::IRObject_ptr, this);
+ if (ACE_OS::strcmp (logical_type_id, "IDL:omg.org/CORBA/Object:1.0") == 0)
+ return ACE_static_cast(PortableServer::Servant, this);
+ return 0;
+}
+
+void POA_CORBA::WstringDef::_dispatch (TAO_ServerRequest &req, void *context, CORBA::Environment &ACE_TRY_ENV)
+{
+ this->synchronous_upcall_dispatch(req, context, this, ACE_TRY_ENV);
+}
+
+const char* POA_CORBA::WstringDef::_interface_repository_id (void) const
+{
+ return "IDL:omg.org/CORBA/WstringDef:1.0";
+}
+
+CORBA::WstringDef*
+POA_CORBA::WstringDef::_this (CORBA_Environment &ACE_TRY_ENV)
+{
+ TAO_Stub *stub = this->_create_stub (ACE_TRY_ENV);
+ ACE_CHECK_RETURN (0);
+
+ CORBA::Object_ptr tmp = CORBA::Object::_nil ();
+
+ if (stub->servant_orb_var ()->orb_core ()->optimize_collocation_objects ())
+ ACE_NEW_RETURN (tmp, CORBA::Object (stub, 1, this), 0);
+ else
+ ACE_NEW_RETURN (tmp, CORBA::Object (stub, 0, this), 0);
+
+ CORBA::Object_var obj = tmp;
+ return ::CORBA::WstringDef::_unchecked_narrow (obj.in ());
+}
+
+
+#if (TAO_HAS_INTERCEPTORS == 1)
+POA_CORBA::WstringDef::TAO_ServerRequestInfo_CORBA_WstringDef_bound_get::TAO_ServerRequestInfo_CORBA_WstringDef_bound_get (
+ TAO_ServerRequest &_tao_server_request,
+ POA_CORBA::WstringDef *tao_impl,
+ CORBA::Environment &
+ )
+ : TAO_ServerRequestInfo (_tao_server_request),
+ _tao_impl (tao_impl)
+{}
+
+Dynamic::ParameterList *
+POA_CORBA::WstringDef::TAO_ServerRequestInfo_CORBA_WstringDef_bound_get::arguments (CORBA::Environment &ACE_TRY_ENV)
+ ACE_THROW_SPEC ((CORBA::SystemException))
+{
+ // Generate the argument list on demand.
+ Dynamic::ParameterList *parameter_list =
+ TAO_RequestInfo_Util::make_parameter_list (ACE_TRY_ENV);
+ ACE_CHECK_RETURN (0);
+
+ return parameter_list;
+}
+
+Dynamic::ExceptionList *
+POA_CORBA::WstringDef::TAO_ServerRequestInfo_CORBA_WstringDef_bound_get::exceptions (CORBA::Environment &ACE_TRY_ENV)
+ ACE_THROW_SPEC ((CORBA::SystemException))
+{
+ // Generate the exception list on demand.
+ Dynamic::ExceptionList *exception_list =
+ TAO_RequestInfo_Util::make_exception_list (ACE_TRY_ENV);
+ ACE_CHECK_RETURN (0);
+
+ return exception_list;
+}
+
+CORBA::Any *
+POA_CORBA::WstringDef::TAO_ServerRequestInfo_CORBA_WstringDef_bound_get::result (CORBA::Environment &ACE_TRY_ENV)
+ ACE_THROW_SPEC ((CORBA::SystemException))
+{
+ // Generate the result on demand.
+ CORBA::Boolean tk_void_any = 0;
+ CORBA::Any *result_any =
+ TAO_RequestInfo_Util::make_any (tk_void_any, ACE_TRY_ENV);
+ ACE_CHECK_RETURN (0);
+
+ CORBA::Any_var safe_result_any = result_any;
+
+ (*result_any) <<= this->_result;
+
+ return safe_result_any._retn ();
+}
+
+char *
+POA_CORBA::WstringDef::TAO_ServerRequestInfo_CORBA_WstringDef_bound_get::target_most_derived_interface (
+ CORBA::Environment &)
+ ACE_THROW_SPEC ((CORBA::SystemException))
+{
+ return
+ CORBA::string_dup (this->_tao_impl->_interface_repository_id ());
+}
+
+CORBA::Boolean
+POA_CORBA::WstringDef::TAO_ServerRequestInfo_CORBA_WstringDef_bound_get::target_is_a (
+ const char * id,
+ CORBA::Environment &ACE_TRY_ENV)
+ ACE_THROW_SPEC ((CORBA::SystemException))
+{
+ return this->_tao_impl->_is_a (id, ACE_TRY_ENV);
+}
+
+void
+POA_CORBA::WstringDef::TAO_ServerRequestInfo_CORBA_WstringDef_bound_get::result (CORBA::ULong result)
+{
+ // Update the result.
+ this->_result = result;
+}
+
+POA_CORBA::WstringDef::TAO_ServerRequestInfo_CORBA_WstringDef_bound_set::TAO_ServerRequestInfo_CORBA_WstringDef_bound_set (
+ TAO_ServerRequest &_tao_server_request,
+ POA_CORBA::WstringDef *tao_impl,
+ const CORBA::ULong & bound,
+ CORBA::Environment &
+ )
+ : TAO_ServerRequestInfo (_tao_server_request),
+ _tao_impl (tao_impl),
+ bound_ (bound)
+{}
+
+Dynamic::ParameterList *
+POA_CORBA::WstringDef::TAO_ServerRequestInfo_CORBA_WstringDef_bound_set::arguments (CORBA::Environment &ACE_TRY_ENV)
+ ACE_THROW_SPEC ((CORBA::SystemException))
+{
+ // Generate the argument list on demand.
+ Dynamic::ParameterList *parameter_list =
+ TAO_RequestInfo_Util::make_parameter_list (ACE_TRY_ENV);
+ ACE_CHECK_RETURN (0);
+
+ Dynamic::ParameterList_var safe_parameter_list = parameter_list;
+
+ CORBA::ULong length_bound = parameter_list->length ();
+ parameter_list->length (length_bound + 1);
+ (*parameter_list)[length_bound].argument <<= bound_;
+ (*parameter_list)[length_bound].mode = Dynamic::PARAM_IN;
+
+ return safe_parameter_list._retn ();
+}
+
+Dynamic::ExceptionList *
+POA_CORBA::WstringDef::TAO_ServerRequestInfo_CORBA_WstringDef_bound_set::exceptions (CORBA::Environment &ACE_TRY_ENV)
+ ACE_THROW_SPEC ((CORBA::SystemException))
+{
+ // Generate the exception list on demand.
+ Dynamic::ExceptionList *exception_list =
+ TAO_RequestInfo_Util::make_exception_list (ACE_TRY_ENV);
+ ACE_CHECK_RETURN (0);
+
+ return exception_list;
+}
+
+CORBA::Any *
+POA_CORBA::WstringDef::TAO_ServerRequestInfo_CORBA_WstringDef_bound_set::result (CORBA::Environment &ACE_TRY_ENV)
+ ACE_THROW_SPEC ((CORBA::SystemException))
+{
+ // Generate the result on demand.
+ CORBA::Boolean tk_void_any = 1;
+ CORBA::Any *result_any =
+ TAO_RequestInfo_Util::make_any (tk_void_any, ACE_TRY_ENV);
+ ACE_CHECK_RETURN (0);
+
+ return result_any;
+}
+
+char *
+POA_CORBA::WstringDef::TAO_ServerRequestInfo_CORBA_WstringDef_bound_set::target_most_derived_interface (
+ CORBA::Environment &)
+ ACE_THROW_SPEC ((CORBA::SystemException))
+{
+ return
+ CORBA::string_dup (this->_tao_impl->_interface_repository_id ());
+}
+
+CORBA::Boolean
+POA_CORBA::WstringDef::TAO_ServerRequestInfo_CORBA_WstringDef_bound_set::target_is_a (
+ const char * id,
+ CORBA::Environment &ACE_TRY_ENV)
+ ACE_THROW_SPEC ((CORBA::SystemException))
+{
+ return this->_tao_impl->_is_a (id, ACE_TRY_ENV);
+}
+
+#endif /* TAO_HAS_INTERCEPTORS */
+class TAO_CORBA_SequenceDef_Perfect_Hash_OpTable : public TAO_Perfect_Hash_OpTable
+{
+private:
+ unsigned int hash (const char *str, unsigned int len);
+public:
+ const TAO_operation_db_entry * lookup (const char *str, unsigned int len);
+};
+/* starting time is 10:44:37 */
+/* C++ code produced by gperf version 2.8 (ACE version) */
+/* Command-line: gperf -m -M -J -c -C -D -E -T -f 0 -F 0 -a -o -t -p -K opname_ -L C++ -Z TAO_CORBA_SequenceDef_Perfect_Hash_OpTable -N lookup */
+unsigned int
+TAO_CORBA_SequenceDef_Perfect_Hash_OpTable::hash (const char *str, unsigned int len)
+{
+ static const unsigned char asso_values[] =
+ {
+#if defined (ACE_MVS)
+ 22, 22, 22, 22, 22, 22, 22, 22, 22, 22,
+ 22, 22, 22, 22, 22, 22, 22, 22, 22, 22,
+ 22, 22, 22, 22, 22, 22, 22, 22, 22, 22,
+ 22, 22, 22, 22, 22, 22, 22, 22, 22, 22,
+ 22, 22, 22, 22, 22, 22, 22, 22, 22, 22,
+ 22, 22, 22, 22, 22, 22, 22, 22, 22, 22,
+ 22, 22, 22, 22, 22, 22, 22, 22, 22, 22,
+ 22, 22, 22, 22, 22, 22, 22, 22, 22, 22,
+ 22, 22, 22, 22, 22, 22, 22, 22, 22, 22,
+ 22, 22, 22, 22, 22, 22, 22, 22, 22, 22,
+ 22, 22, 22, 22, 22, 22, 22, 22, 22, 0,
+ 22, 22, 22, 22, 22, 22, 22, 22, 22, 22,
+ 22, 22, 22, 22, 22, 22, 22, 22, 22, 0,
+ 22, 22, 0, 0, 0, 22, 22, 22, 22, 22,
+ 22, 22, 22, 22, 22, 22, 22, 22, 22, 22,
+ 22, 22, 22, 22, 22, 22, 22, 22, 22, 22,
+ 22, 22, 22, 5, 22, 22, 22, 22, 0, 22,
+ 22, 22, 22, 22, 22, 22, 22, 22, 22, 22,
+ 22, 22, 22, 22, 22, 22, 22, 22, 22, 22,
+ 22, 22, 22, 22, 22, 22, 22, 22, 22, 22,
+ 22, 22, 22, 22, 22, 22, 22, 22, 22, 22,
+ 22, 22, 22, 22, 22, 22, 22, 22, 22, 22,
+ 22, 22, 22, 22, 22, 22, 22, 22, 22, 22,
+ 22, 22, 22, 22, 22, 22, 22, 22, 22, 22,
+ 22, 22, 22, 22, 22, 22, 22, 22, 22, 22,
+ 22, 22, 22, 22, 22, 22,
+#else
+ 22, 22, 22, 22, 22, 22, 22, 22, 22, 22,
+ 22, 22, 22, 22, 22, 22, 22, 22, 22, 22,
+ 22, 22, 22, 22, 22, 22, 22, 22, 22, 22,
+ 22, 22, 22, 22, 22, 22, 22, 22, 22, 22,
+ 22, 22, 22, 22, 22, 22, 22, 22, 22, 22,
+ 22, 22, 22, 22, 22, 22, 22, 22, 22, 22,
+ 22, 22, 22, 22, 22, 22, 22, 22, 22, 22,
+ 22, 22, 22, 22, 22, 22, 22, 22, 22, 22,
+ 22, 22, 22, 22, 22, 22, 22, 22, 22, 22,
+ 22, 22, 22, 22, 22, 0, 22, 0, 22, 22,
+ 0, 0, 0, 22, 22, 22, 22, 22, 22, 22,
+ 22, 22, 22, 22, 22, 22, 5, 22, 22, 22,
+ 22, 0, 22, 22, 22, 22, 22, 22,
+#endif /* ACE_MVS */
+ };
+ return len + asso_values[str[len - 1]] + asso_values[str[0]];
+}
+
+const class TAO_operation_db_entry *
+TAO_CORBA_SequenceDef_Perfect_Hash_OpTable::lookup (const char *str, unsigned int len)
+{
+ enum
+ {
+ TOTAL_KEYWORDS = 10,
+ MIN_WORD_LENGTH = 5,
+ MAX_WORD_LENGTH = 21,
+ MIN_HASH_VALUE = 5,
+ MAX_HASH_VALUE = 21,
+ HASH_VALUE_RANGE = 17,
+ DUPLICATES = 3
+ };
+
+ static const class TAO_operation_db_entry wordlist[] =
+ {
+ {"",0},{"",0},{"",0},{"",0},{"",0},
+ {"_is_a", &POA_CORBA::SequenceDef::_is_a_skel},
+ {"destroy", &POA_CORBA::SequenceDef::destroy_skel},
+ {"_get_type", &POA_CORBA::SequenceDef::_get_type_skel},
+ {"_get_bound", &POA_CORBA::SequenceDef::_get_bound_skel},
+ {"_set_bound", &POA_CORBA::SequenceDef::_set_bound_skel},
+ {"_get_def_kind", &POA_CORBA::SequenceDef::_get_def_kind_skel},
+ {"_get_element_type", &POA_CORBA::SequenceDef::_get_element_type_skel},
+ {"_non_existent", &POA_CORBA::SequenceDef::_non_existent_skel},
+ {"_get_element_type_def", &POA_CORBA::SequenceDef::_get_element_type_def_skel},
+ {"_set_element_type_def", &POA_CORBA::SequenceDef::_set_element_type_def_skel},
+ };
+
+ static const signed char lookup[] =
+ {
+ -1, -1, -1, -8, -2, 5, -1, 6, -1, 7, -28, -1, -1, 10,
+ -1, -1, -1, 11, 12, -13, -2, -23,
+ };
+
+ if (len <= MAX_WORD_LENGTH && len >= MIN_WORD_LENGTH)
+ {
+ unsigned int key = hash (str, len);
+
+ if (key <= MAX_HASH_VALUE && key >= MIN_HASH_VALUE)
+ {
+ int slot = lookup[key];
+
+ if (slot >= 0 && slot < MAX_HASH_VALUE)
+ {
+ const char *s = wordlist[slot].opname_;
+
+ if (*str == *s && !strncmp (str + 1, s + 1, len - 1))
+ return &wordlist[slot];
+ }
+ else if (slot < 0 && slot >= -MAX_HASH_VALUE)
+ return 0;
+ else
+ {
+ unsigned int offset = key + slot + (slot > 0 ? -MAX_HASH_VALUE : MAX_HASH_VALUE);
+ const class TAO_operation_db_entry *base = &wordlist[-lookup[offset]];
+ const class TAO_operation_db_entry *ptr = base + -lookup[offset + 1];
+
+ while (--ptr >= base)
+ if (*str == *ptr->opname_ && !strncmp (str + 1, ptr->opname_ + 1, len - 1))
+ return ptr;
+ }
+ }
+ }
+ return 0;
+}
+/* ending time is 10:44:37 */
+static TAO_CORBA_SequenceDef_Perfect_Hash_OpTable tao_CORBA_SequenceDef_optable;
+
+
+///////////////////////////////////////////////////////////////////////
+// Strategized Proxy Broker Implementation
+//
+
+// Factory function Implementation.
+POA_CORBA::_TAO_SequenceDef_Strategized_Proxy_Broker *POA_CORBA::_TAO_SequenceDef_Strategized_Proxy_Broker::the_TAO_SequenceDef_Strategized_Proxy_Broker (void)
+{
+ static POA_CORBA::_TAO_SequenceDef_Strategized_Proxy_Broker strategized_proxy_broker;
+ return &strategized_proxy_broker;
+}
+
+POA_CORBA::_TAO_SequenceDef_Strategized_Proxy_Broker::_TAO_SequenceDef_Strategized_Proxy_Broker (void)
+{
+ for (int i = 0; i < TAO_Collocation_Strategies::CS_LAST; ++i)
+ this->proxy_cache_[i] = 0;
+
+}
+
+POA_CORBA::_TAO_SequenceDef_Strategized_Proxy_Broker::~_TAO_SequenceDef_Strategized_Proxy_Broker (void)
+{
+ for (int i = 0; i < TAO_Collocation_Strategies::CS_LAST; ++i)
+ delete this->proxy_cache_[i];
+
+}
+
+_TAO_SequenceDef_Proxy_Impl&
+POA_CORBA::_TAO_SequenceDef_Strategized_Proxy_Broker::select_proxy (
+ ::CORBA::SequenceDef *object,
+ CORBA::Environment &ACE_TRY_ENV
+ )
+{
+ int strategy =
+ TAO_ORB_Core::collocation_strategy (object);
+
+ if (this->proxy_cache_[strategy] != 0)
+ return *this->proxy_cache_[strategy];
+
+ this->create_proxy (strategy, ACE_TRY_ENV);
+ ACE_CHECK_RETURN (*this->proxy_cache_[strategy]);
+
+ return *this->proxy_cache_[strategy];
+
+}
+
+void
+POA_CORBA::_TAO_SequenceDef_Strategized_Proxy_Broker::create_proxy (
+ int strategy,
+ CORBA::Environment &ACE_TRY_ENV
+ )
+{
+ ACE_GUARD (TAO_SYNCH_MUTEX, guard, this->mutex_);
+
+ if (this->proxy_cache_[strategy] == 0)
+ {
+ switch (strategy)
+ {
+ case TAO_Collocation_Strategies::CS_THRU_POA_STRATEGY:
+ ACE_NEW_THROW_EX (
+ this->proxy_cache_[strategy],
+ _TAO_SequenceDef_ThruPOA_Proxy_Impl,
+ CORBA::NO_MEMORY ()
+ );
+ ACE_CHECK;
+ break;
+
+ case TAO_Collocation_Strategies::CS_REMOTE_STRATEGY:
+ default:
+ ACE_NEW_THROW_EX (
+ this->proxy_cache_[strategy],
+ ::_TAO_SequenceDef_Remote_Proxy_Impl,
+ CORBA::NO_MEMORY ()
+ );
+ ACE_CHECK;
+ break;
+
+ }
+
+ }
+}
+
+
+//
+// End Strategized Proxy Broker Implementation
+///////////////////////////////////////////////////////////////////////
+
+
+_TAO_SequenceDef_Proxy_Broker *
+CORBA__TAO_SequenceDef_Proxy_Broker_Factory_function (CORBA::Object_ptr obj)
+{
+ ACE_UNUSED_ARG (obj);
+ return ::POA_CORBA::_TAO_SequenceDef_Strategized_Proxy_Broker::the_TAO_SequenceDef_Strategized_Proxy_Broker();
+}
+
+int
+CORBA__TAO_SequenceDef_Proxy_Broker_Factory_Initializer (long _dummy_)
+{
+ ACE_UNUSED_ARG (_dummy_);
+
+ CORBA__TAO_SequenceDef_Proxy_Broker_Factory_function_pointer =
+ CORBA__TAO_SequenceDef_Proxy_Broker_Factory_function;
+
+ return 0;
+}
+
+static int CORBA__TAO_SequenceDef_Proxy_Broker_Stub_Factory_Initializer_Scarecrow =
+ CORBA__TAO_SequenceDef_Proxy_Broker_Factory_Initializer (ACE_reinterpret_cast (long, CORBA__TAO_SequenceDef_Proxy_Broker_Factory_Initializer));
+
+
+///////////////////////////////////////////////////////////////////////
+// ThruPOA Proxy Implementation
+//
+
+POA_CORBA::_TAO_SequenceDef_ThruPOA_Proxy_Impl::_TAO_SequenceDef_ThruPOA_Proxy_Impl (void)
+{}
+
+// ThruPOA Implementation of the IDL interface methods
+
+CORBA::ULong POA_CORBA::_TAO_SequenceDef_ThruPOA_Proxy_Impl::bound (
+ CORBA_Object *_collocated_tao_target_,
+ CORBA::Environment &ACE_TRY_ENV
+ )
+ ACE_THROW_SPEC ((
+ CORBA::SystemException
+ ))
+{
+ CORBA::ULong _tao_retval = 0;
+ ACE_UNUSED_ARG (_tao_retval);
+ TAO_Object_Adapter::Servant_Upcall servant_upcall (
+ _collocated_tao_target_->_stubobj ()->servant_orb_var ()->orb_core ()
+ );
+ CORBA::Object_var forward_to;
+ servant_upcall.prepare_for_upcall (
+ _collocated_tao_target_->_object_key (),
+ "bound",
+ forward_to.out (),
+ ACE_TRY_ENV
+ );
+ ACE_CHECK_RETURN (_tao_retval);
+ return ACE_reinterpret_cast (
+ POA_CORBA::SequenceDef_ptr,
+ servant_upcall.servant ()->_downcast (
+ "IDL:omg.org/CORBA/SequenceDef:1.0"
+ )
+ )->bound (
+ ACE_TRY_ENV
+ );
+}
+
+void POA_CORBA::_TAO_SequenceDef_ThruPOA_Proxy_Impl::bound (
+ CORBA_Object *_collocated_tao_target_,
+ CORBA::ULong bound,
+ CORBA::Environment &ACE_TRY_ENV
+ )
+ ACE_THROW_SPEC ((
+ CORBA::SystemException
+ ))
+{
+ TAO_Object_Adapter::Servant_Upcall servant_upcall (
+ _collocated_tao_target_->_stubobj ()->servant_orb_var ()->orb_core ()
+ );
+ CORBA::Object_var forward_to;
+ servant_upcall.prepare_for_upcall (
+ _collocated_tao_target_->_object_key (),
+ "bound",
+ forward_to.out (),
+ ACE_TRY_ENV
+ );
+ ACE_CHECK;
+ ACE_reinterpret_cast (
+ POA_CORBA::SequenceDef_ptr,
+ servant_upcall.servant ()->_downcast (
+ "IDL:omg.org/CORBA/SequenceDef:1.0"
+ )
+ )->bound (
+ bound,
+ ACE_TRY_ENV
+ );
+ return;
+}
+
+CORBA::TypeCode_ptr POA_CORBA::_TAO_SequenceDef_ThruPOA_Proxy_Impl::element_type (
+ CORBA_Object *_collocated_tao_target_,
+ CORBA::Environment &ACE_TRY_ENV
+ )
+ ACE_THROW_SPEC ((
+ CORBA::SystemException
+ ))
+{
+ CORBA::TypeCode_var _tao_retval;
+ ACE_UNUSED_ARG (_tao_retval);
+ TAO_Object_Adapter::Servant_Upcall servant_upcall (
+ _collocated_tao_target_->_stubobj ()->servant_orb_var ()->orb_core ()
+ );
+ CORBA::Object_var forward_to;
+ servant_upcall.prepare_for_upcall (
+ _collocated_tao_target_->_object_key (),
+ "element_type",
+ forward_to.out (),
+ ACE_TRY_ENV
+ );
+ ACE_CHECK_RETURN (0);
+ return ACE_reinterpret_cast (
+ POA_CORBA::SequenceDef_ptr,
+ servant_upcall.servant ()->_downcast (
+ "IDL:omg.org/CORBA/SequenceDef:1.0"
+ )
+ )->element_type (
+ ACE_TRY_ENV
+ );
+}
+
+CORBA::IDLType_ptr POA_CORBA::_TAO_SequenceDef_ThruPOA_Proxy_Impl::element_type_def (
+ CORBA_Object *_collocated_tao_target_,
+ CORBA::Environment &ACE_TRY_ENV
+ )
+ ACE_THROW_SPEC ((
+ CORBA::SystemException
+ ))
+{
+ CORBA::IDLType_var _tao_retval;
+ ACE_UNUSED_ARG (_tao_retval);
+ TAO_Object_Adapter::Servant_Upcall servant_upcall (
+ _collocated_tao_target_->_stubobj ()->servant_orb_var ()->orb_core ()
+ );
+ CORBA::Object_var forward_to;
+ servant_upcall.prepare_for_upcall (
+ _collocated_tao_target_->_object_key (),
+ "element_type_def",
+ forward_to.out (),
+ ACE_TRY_ENV
+ );
+ ACE_CHECK_RETURN (0);
+ return ACE_reinterpret_cast (
+ POA_CORBA::SequenceDef_ptr,
+ servant_upcall.servant ()->_downcast (
+ "IDL:omg.org/CORBA/SequenceDef:1.0"
+ )
+ )->element_type_def (
+ ACE_TRY_ENV
+ );
+}
+
+void POA_CORBA::_TAO_SequenceDef_ThruPOA_Proxy_Impl::element_type_def (
+ CORBA_Object *_collocated_tao_target_,
+ CORBA::IDLType_ptr element_type_def,
+ CORBA::Environment &ACE_TRY_ENV
+ )
+ ACE_THROW_SPEC ((
+ CORBA::SystemException
+ ))
+{
+ TAO_Object_Adapter::Servant_Upcall servant_upcall (
+ _collocated_tao_target_->_stubobj ()->servant_orb_var ()->orb_core ()
+ );
+ CORBA::Object_var forward_to;
+ servant_upcall.prepare_for_upcall (
+ _collocated_tao_target_->_object_key (),
+ "element_type_def",
+ forward_to.out (),
+ ACE_TRY_ENV
+ );
+ ACE_CHECK;
+ ACE_reinterpret_cast (
+ POA_CORBA::SequenceDef_ptr,
+ servant_upcall.servant ()->_downcast (
+ "IDL:omg.org/CORBA/SequenceDef:1.0"
+ )
+ )->element_type_def (
+ element_type_def,
+ ACE_TRY_ENV
+ );
+ return;
+}
+
+//
+// End ThruPOA Proxy Implementation
+///////////////////////////////////////////////////////////////////////
+
+// skeleton constructor
+POA_CORBA::SequenceDef::SequenceDef (void)
+{
+ this->optable_ = &tao_CORBA_SequenceDef_optable;
+}
+
+// copy ctor
+POA_CORBA::SequenceDef::SequenceDef (const SequenceDef& rhs)
+ : ACE_NESTED_CLASS (POA_CORBA,IDLType) (rhs),
+ ACE_NESTED_CLASS (POA_CORBA,IRObject) (rhs),
+ TAO_ServantBase (rhs)
+{}
+
+// skeleton destructor
+POA_CORBA::SequenceDef::~SequenceDef (void)
+{
+}
+
+void POA_CORBA::SequenceDef::_get_bound_skel (
+ TAO_ServerRequest &_tao_server_request,
+ void *_tao_object_reference,
+ void * /* context */,
+ CORBA::Environment &ACE_TRY_ENV
+ )
+{
+ POA_CORBA::SequenceDef *_tao_impl = (POA_CORBA::SequenceDef *)_tao_object_reference;
+
+ CORBA::ULong _tao_retval = 0;
+
+#if (TAO_HAS_INTERCEPTORS == 1)
+ TAO_ServerRequestInterceptor_Adapter _tao_vfr (
+ _tao_server_request.orb_core ()->server_request_interceptors (),
+ _tao_server_request.interceptor_count ()
+ );
+
+ POA_CORBA::SequenceDef::TAO_ServerRequestInfo_CORBA_SequenceDef_bound_get ri (
+ _tao_server_request,
+ _tao_impl,
+ ACE_TRY_ENV
+ );
+
+ ACE_TRY
+ {
+ _tao_vfr.receive_request (&ri, ACE_TRY_ENV);
+ ACE_TRY_CHECK;
+
+#endif /* TAO_HAS_INTERCEPTORS */
+ _tao_retval =
+ _tao_impl->bound (
+ ACE_TRY_ENV
+ );
+ TAO_INTERCEPTOR_CHECK;
+
+#if (TAO_HAS_INTERCEPTORS == 1)
+ CORBA::ULong _tao_retval_info = _tao_retval;
+ ri.result (_tao_retval_info);
+ ri.reply_status (PortableInterceptor::SUCCESSFUL);
+ _tao_vfr.send_reply (&ri, ACE_TRY_ENV);
+ ACE_TRY_CHECK;
+ }
+ ACE_CATCH (PortableInterceptor::ForwardRequest, exc)
+ {
+ ri.forward_reference (exc);
+ _tao_vfr.send_other (
+ &ri,
+ ACE_TRY_ENV
+ );
+ ACE_TRY_CHECK;
+ _tao_server_request.forward_location (exc.forward.in ());
+ }
+ ACE_CATCHANY
+ {
+ ri.exception (&ACE_ANY_EXCEPTION);
+ _tao_vfr.send_exception (
+ &ri,
+ ACE_TRY_ENV
+ );
+ ACE_TRY_CHECK;
+ ACE_RE_THROW;
+ }
+ ACE_ENDTRY;
+ ACE_CHECK;
+#endif /* TAO_HAS_INTERCEPTORS */
+
+ _tao_server_request.init_reply ();
+
+ TAO_OutputCDR &_tao_out = _tao_server_request.outgoing ();
+
+ if (!(
+ (_tao_out << _tao_retval)
+ ))
+ ACE_THROW (CORBA::MARSHAL());
+
+ // In case ACE_TRY_ENV is not used in this function
+ ACE_UNUSED_ARG (ACE_TRY_ENV);
+}
+
+void POA_CORBA::SequenceDef::_set_bound_skel (
+ TAO_ServerRequest &_tao_server_request,
+ void *_tao_object_reference,
+ void * /* context */,
+ CORBA::Environment &ACE_TRY_ENV
+ )
+{
+ TAO_InputCDR &_tao_in = _tao_server_request.incoming ();
+ POA_CORBA::SequenceDef *_tao_impl = (POA_CORBA::SequenceDef *)_tao_object_reference;
+
+ _tao_server_request.argument_flag (0);
+ CORBA::ULong bound;
+ if (!(
+ (_tao_in >> bound)
+ ))
+ ACE_THROW (CORBA::MARSHAL());
+
+
+#if (TAO_HAS_INTERCEPTORS == 1)
+ TAO_ServerRequestInterceptor_Adapter _tao_vfr (
+ _tao_server_request.orb_core ()->server_request_interceptors (),
+ _tao_server_request.interceptor_count ()
+ );
+
+ POA_CORBA::SequenceDef::TAO_ServerRequestInfo_CORBA_SequenceDef_bound_set ri (
+ _tao_server_request,
+ _tao_impl,
+ bound,
+ ACE_TRY_ENV
+ );
+
+ ACE_TRY
+ {
+ _tao_vfr.receive_request (&ri, ACE_TRY_ENV);
+ ACE_TRY_CHECK;
+
+#endif /* TAO_HAS_INTERCEPTORS */
+
+ _tao_impl->bound (
+ bound,
+ ACE_TRY_ENV
+ );
+ TAO_INTERCEPTOR_CHECK;
+
+#if (TAO_HAS_INTERCEPTORS == 1)
+ ri.reply_status (PortableInterceptor::SUCCESSFUL);
+ _tao_vfr.send_reply (&ri, ACE_TRY_ENV);
+ ACE_TRY_CHECK;
+ }
+ ACE_CATCH (PortableInterceptor::ForwardRequest, exc)
+ {
+ ri.forward_reference (exc);
+ _tao_vfr.send_other (
+ &ri,
+ ACE_TRY_ENV
+ );
+ ACE_TRY_CHECK;
+ _tao_server_request.forward_location (exc.forward.in ());
+ }
+ ACE_CATCHANY
+ {
+ ri.exception (&ACE_ANY_EXCEPTION);
+ _tao_vfr.send_exception (
+ &ri,
+ ACE_TRY_ENV
+ );
+ ACE_TRY_CHECK;
+ ACE_RE_THROW;
+ }
+ ACE_ENDTRY;
+ ACE_CHECK;
+#endif /* TAO_HAS_INTERCEPTORS */
+
+ _tao_server_request.init_reply ();
+
+ // In case ACE_TRY_ENV is not used in this function
+ ACE_UNUSED_ARG (ACE_TRY_ENV);
+}
+
+void POA_CORBA::SequenceDef::_get_element_type_skel (
+ TAO_ServerRequest &_tao_server_request,
+ void *_tao_object_reference,
+ void * /* context */,
+ CORBA::Environment &ACE_TRY_ENV
+ )
+{
+ POA_CORBA::SequenceDef *_tao_impl = (POA_CORBA::SequenceDef *)_tao_object_reference;
+
+ CORBA::TypeCode_var _tao_retval;
+
+#if (TAO_HAS_INTERCEPTORS == 1)
+ TAO_ServerRequestInterceptor_Adapter _tao_vfr (
+ _tao_server_request.orb_core ()->server_request_interceptors (),
+ _tao_server_request.interceptor_count ()
+ );
+
+ POA_CORBA::SequenceDef::TAO_ServerRequestInfo_CORBA_SequenceDef_element_type_get ri (
+ _tao_server_request,
+ _tao_impl,
+ ACE_TRY_ENV
+ );
+
+ ACE_TRY
+ {
+ _tao_vfr.receive_request (&ri, ACE_TRY_ENV);
+ ACE_TRY_CHECK;
+
+#endif /* TAO_HAS_INTERCEPTORS */
+ _tao_retval =
+ _tao_impl->element_type (
+ ACE_TRY_ENV
+ );
+ TAO_INTERCEPTOR_CHECK;
+
+#if (TAO_HAS_INTERCEPTORS == 1)
+ CORBA::TypeCode_ptr _tao_retval_info = _tao_retval._retn ();
+ ri.result (_tao_retval_info);
+ _tao_retval = _tao_retval_info;
+ ri.reply_status (PortableInterceptor::SUCCESSFUL);
+ _tao_vfr.send_reply (&ri, ACE_TRY_ENV);
+ ACE_TRY_CHECK;
+ }
+ ACE_CATCH (PortableInterceptor::ForwardRequest, exc)
+ {
+ ri.forward_reference (exc);
+ _tao_vfr.send_other (
+ &ri,
+ ACE_TRY_ENV
+ );
+ ACE_TRY_CHECK;
+ _tao_server_request.forward_location (exc.forward.in ());
+ }
+ ACE_CATCHANY
+ {
+ ri.exception (&ACE_ANY_EXCEPTION);
+ _tao_vfr.send_exception (
+ &ri,
+ ACE_TRY_ENV
+ );
+ ACE_TRY_CHECK;
+ ACE_RE_THROW;
+ }
+ ACE_ENDTRY;
+ ACE_CHECK;
+#endif /* TAO_HAS_INTERCEPTORS */
+
+ _tao_server_request.init_reply ();
+
+ TAO_OutputCDR &_tao_out = _tao_server_request.outgoing ();
+
+ if (!(
+ (_tao_out << _tao_retval.in ())
+ ))
+ ACE_THROW (CORBA::MARSHAL());
+
+ // In case ACE_TRY_ENV is not used in this function
+ ACE_UNUSED_ARG (ACE_TRY_ENV);
+}
+
+void POA_CORBA::SequenceDef::_get_element_type_def_skel (
+ TAO_ServerRequest &_tao_server_request,
+ void *_tao_object_reference,
+ void * /* context */,
+ CORBA::Environment &ACE_TRY_ENV
+ )
+{
+ POA_CORBA::SequenceDef *_tao_impl = (POA_CORBA::SequenceDef *)_tao_object_reference;
+
+ CORBA::IDLType_var _tao_retval;
+
+#if (TAO_HAS_INTERCEPTORS == 1)
+ TAO_ServerRequestInterceptor_Adapter _tao_vfr (
+ _tao_server_request.orb_core ()->server_request_interceptors (),
+ _tao_server_request.interceptor_count ()
+ );
+
+ POA_CORBA::SequenceDef::TAO_ServerRequestInfo_CORBA_SequenceDef_element_type_def_get ri (
+ _tao_server_request,
+ _tao_impl,
+ ACE_TRY_ENV
+ );
+
+ ACE_TRY
+ {
+ _tao_vfr.receive_request (&ri, ACE_TRY_ENV);
+ ACE_TRY_CHECK;
+
+#endif /* TAO_HAS_INTERCEPTORS */
+ _tao_retval =
+ _tao_impl->element_type_def (
+ ACE_TRY_ENV
+ );
+ TAO_INTERCEPTOR_CHECK;
+
+#if (TAO_HAS_INTERCEPTORS == 1)
+ CORBA::IDLType_ptr _tao_retval_info = _tao_retval._retn ();
+ ri.result (_tao_retval_info);
+ _tao_retval = _tao_retval_info;
+ ri.reply_status (PortableInterceptor::SUCCESSFUL);
+ _tao_vfr.send_reply (&ri, ACE_TRY_ENV);
+ ACE_TRY_CHECK;
+ }
+ ACE_CATCH (PortableInterceptor::ForwardRequest, exc)
+ {
+ ri.forward_reference (exc);
+ _tao_vfr.send_other (
+ &ri,
+ ACE_TRY_ENV
+ );
+ ACE_TRY_CHECK;
+ _tao_server_request.forward_location (exc.forward.in ());
+ }
+ ACE_CATCHANY
+ {
+ ri.exception (&ACE_ANY_EXCEPTION);
+ _tao_vfr.send_exception (
+ &ri,
+ ACE_TRY_ENV
+ );
+ ACE_TRY_CHECK;
+ ACE_RE_THROW;
+ }
+ ACE_ENDTRY;
+ ACE_CHECK;
+#endif /* TAO_HAS_INTERCEPTORS */
+
+ _tao_server_request.init_reply ();
+
+ TAO_OutputCDR &_tao_out = _tao_server_request.outgoing ();
+
+ if (!(
+ (_tao_out << _tao_retval.in ())
+ ))
+ ACE_THROW (CORBA::MARSHAL());
+
+ // In case ACE_TRY_ENV is not used in this function
+ ACE_UNUSED_ARG (ACE_TRY_ENV);
+}
+
+void POA_CORBA::SequenceDef::_set_element_type_def_skel (
+ TAO_ServerRequest &_tao_server_request,
+ void *_tao_object_reference,
+ void * /* context */,
+ CORBA::Environment &ACE_TRY_ENV
+ )
+{
+ TAO_InputCDR &_tao_in = _tao_server_request.incoming ();
+ POA_CORBA::SequenceDef *_tao_impl = (POA_CORBA::SequenceDef *)_tao_object_reference;
+
+ _tao_server_request.argument_flag (0);
+ CORBA::IDLType_var element_type_def;
+ if (!(
+ (_tao_in >> element_type_def.out ())
+ ))
+ ACE_THROW (CORBA::MARSHAL());
+
+
+#if (TAO_HAS_INTERCEPTORS == 1)
+ TAO_ServerRequestInterceptor_Adapter _tao_vfr (
+ _tao_server_request.orb_core ()->server_request_interceptors (),
+ _tao_server_request.interceptor_count ()
+ );
+
+ POA_CORBA::SequenceDef::TAO_ServerRequestInfo_CORBA_SequenceDef_element_type_def_set ri (
+ _tao_server_request,
+ _tao_impl,
+ element_type_def.in (),
+ ACE_TRY_ENV
+ );
+
+ ACE_TRY
+ {
+ _tao_vfr.receive_request (&ri, ACE_TRY_ENV);
+ ACE_TRY_CHECK;
+
+#endif /* TAO_HAS_INTERCEPTORS */
+
+ _tao_impl->element_type_def (
+ element_type_def.in (),
+ ACE_TRY_ENV
+ );
+ TAO_INTERCEPTOR_CHECK;
+
+#if (TAO_HAS_INTERCEPTORS == 1)
+ ri.reply_status (PortableInterceptor::SUCCESSFUL);
+ _tao_vfr.send_reply (&ri, ACE_TRY_ENV);
+ ACE_TRY_CHECK;
+ }
+ ACE_CATCH (PortableInterceptor::ForwardRequest, exc)
+ {
+ ri.forward_reference (exc);
+ _tao_vfr.send_other (
+ &ri,
+ ACE_TRY_ENV
+ );
+ ACE_TRY_CHECK;
+ _tao_server_request.forward_location (exc.forward.in ());
+ }
+ ACE_CATCHANY
+ {
+ ri.exception (&ACE_ANY_EXCEPTION);
+ _tao_vfr.send_exception (
+ &ri,
+ ACE_TRY_ENV
+ );
+ ACE_TRY_CHECK;
+ ACE_RE_THROW;
+ }
+ ACE_ENDTRY;
+ ACE_CHECK;
+#endif /* TAO_HAS_INTERCEPTORS */
+
+ _tao_server_request.init_reply ();
+
+ // In case ACE_TRY_ENV is not used in this function
+ ACE_UNUSED_ARG (ACE_TRY_ENV);
+}
+
+void POA_CORBA::SequenceDef::_is_a_skel (
+ TAO_ServerRequest &_tao_server_request,
+ void * _tao_object_reference,
+ void * /* context */,
+ CORBA::Environment &ACE_TRY_ENV
+ )
+{
+ TAO_InputCDR &_tao_in = _tao_server_request.incoming ();
+ POA_CORBA::SequenceDef *_tao_impl = (POA_CORBA::SequenceDef *) _tao_object_reference;
+ CORBA::Boolean _tao_retval = 0;
+ CORBA::String_var value;
+ if (!(_tao_in >> value.out ()))
+ ACE_THROW (CORBA::MARSHAL ());
+
+ _tao_retval = _tao_impl->_is_a (value.in (), ACE_TRY_ENV);
+ ACE_CHECK;
+
+ _tao_server_request.init_reply ();
+ TAO_OutputCDR &_tao_out = _tao_server_request.outgoing ();
+ if (!(_tao_out << CORBA::Any::from_boolean (_tao_retval)))
+ ACE_THROW (CORBA::MARSHAL ());
+}
+
+void POA_CORBA::SequenceDef::_non_existent_skel (
+ TAO_ServerRequest &_tao_server_request,
+ void * _tao_object_reference,
+ void * /* context */,
+ CORBA::Environment &ACE_TRY_ENV
+ )
+{
+ POA_CORBA::SequenceDef *_tao_impl = (POA_CORBA::SequenceDef *) _tao_object_reference;
+ CORBA::Boolean _tao_retval = _tao_impl->_non_existent (ACE_TRY_ENV);
+ ACE_CHECK;
+
+ _tao_server_request.init_reply ();
+ TAO_OutputCDR &_tao_out = _tao_server_request.outgoing ();
+ if (!(_tao_out << CORBA::Any::from_boolean (_tao_retval)))
+ ACE_THROW (CORBA::MARSHAL ());
+}
+
+CORBA::Boolean POA_CORBA::SequenceDef::_is_a (
+ const char* value,
+ CORBA::Environment &ACE_TRY_ENV
+ )
+{
+ const char *base_id = CORBA::_tc_Object->id (ACE_TRY_ENV);
+ ACE_CHECK_RETURN (0);
+
+ if (
+ (!ACE_OS::strcmp ((char *)value, "IDL:omg.org/CORBA/SequenceDef:1.0")) ||
+ (!ACE_OS::strcmp ((char *)value, "IDL:omg.org/CORBA/IDLType:1.0")) ||
+ (!ACE_OS::strcmp ((char *)value, "IDL:omg.org/CORBA/IRObject:1.0")) ||
+ (!ACE_OS::strcmp ((char *)value, base_id)))
+ return 1;
+ else
+ return 0;
+}
+
+void* POA_CORBA::SequenceDef::_downcast (
+ const char* logical_type_id
+ )
+{
+ if (ACE_OS::strcmp (logical_type_id, "IDL:omg.org/CORBA/SequenceDef:1.0") == 0)
+ return ACE_static_cast (POA_CORBA::SequenceDef_ptr, this);
+ if (ACE_OS::strcmp (logical_type_id, "IDL:omg.org/CORBA/IDLType:1.0") == 0)
+ return ACE_static_cast (POA_CORBA::IDLType_ptr, this);
+ if (ACE_OS::strcmp (logical_type_id, "IDL:omg.org/CORBA/IRObject:1.0") == 0)
+ return ACE_static_cast (POA_CORBA::IRObject_ptr, this);
+ if (ACE_OS::strcmp (logical_type_id, "IDL:omg.org/CORBA/Object:1.0") == 0)
+ return ACE_static_cast(PortableServer::Servant, this);
+ return 0;
+}
+
+void POA_CORBA::SequenceDef::_dispatch (TAO_ServerRequest &req, void *context, CORBA::Environment &ACE_TRY_ENV)
+{
+ this->synchronous_upcall_dispatch(req, context, this, ACE_TRY_ENV);
+}
+
+const char* POA_CORBA::SequenceDef::_interface_repository_id (void) const
+{
+ return "IDL:omg.org/CORBA/SequenceDef:1.0";
+}
+
+CORBA::SequenceDef*
+POA_CORBA::SequenceDef::_this (CORBA_Environment &ACE_TRY_ENV)
+{
+ TAO_Stub *stub = this->_create_stub (ACE_TRY_ENV);
+ ACE_CHECK_RETURN (0);
+
+ CORBA::Object_ptr tmp = CORBA::Object::_nil ();
+
+ if (stub->servant_orb_var ()->orb_core ()->optimize_collocation_objects ())
+ ACE_NEW_RETURN (tmp, CORBA::Object (stub, 1, this), 0);
+ else
+ ACE_NEW_RETURN (tmp, CORBA::Object (stub, 0, this), 0);
+
+ CORBA::Object_var obj = tmp;
+ return ::CORBA::SequenceDef::_unchecked_narrow (obj.in ());
+}
+
+
+#if (TAO_HAS_INTERCEPTORS == 1)
+POA_CORBA::SequenceDef::TAO_ServerRequestInfo_CORBA_SequenceDef_bound_get::TAO_ServerRequestInfo_CORBA_SequenceDef_bound_get (
+ TAO_ServerRequest &_tao_server_request,
+ POA_CORBA::SequenceDef *tao_impl,
+ CORBA::Environment &
+ )
+ : TAO_ServerRequestInfo (_tao_server_request),
+ _tao_impl (tao_impl)
+{}
+
+Dynamic::ParameterList *
+POA_CORBA::SequenceDef::TAO_ServerRequestInfo_CORBA_SequenceDef_bound_get::arguments (CORBA::Environment &ACE_TRY_ENV)
+ ACE_THROW_SPEC ((CORBA::SystemException))
+{
+ // Generate the argument list on demand.
+ Dynamic::ParameterList *parameter_list =
+ TAO_RequestInfo_Util::make_parameter_list (ACE_TRY_ENV);
+ ACE_CHECK_RETURN (0);
+
+ return parameter_list;
+}
+
+Dynamic::ExceptionList *
+POA_CORBA::SequenceDef::TAO_ServerRequestInfo_CORBA_SequenceDef_bound_get::exceptions (CORBA::Environment &ACE_TRY_ENV)
+ ACE_THROW_SPEC ((CORBA::SystemException))
+{
+ // Generate the exception list on demand.
+ Dynamic::ExceptionList *exception_list =
+ TAO_RequestInfo_Util::make_exception_list (ACE_TRY_ENV);
+ ACE_CHECK_RETURN (0);
+
+ return exception_list;
+}
+
+CORBA::Any *
+POA_CORBA::SequenceDef::TAO_ServerRequestInfo_CORBA_SequenceDef_bound_get::result (CORBA::Environment &ACE_TRY_ENV)
+ ACE_THROW_SPEC ((CORBA::SystemException))
+{
+ // Generate the result on demand.
+ CORBA::Boolean tk_void_any = 0;
+ CORBA::Any *result_any =
+ TAO_RequestInfo_Util::make_any (tk_void_any, ACE_TRY_ENV);
+ ACE_CHECK_RETURN (0);
+
+ CORBA::Any_var safe_result_any = result_any;
+
+ (*result_any) <<= this->_result;
+
+ return safe_result_any._retn ();
+}
+
+char *
+POA_CORBA::SequenceDef::TAO_ServerRequestInfo_CORBA_SequenceDef_bound_get::target_most_derived_interface (
+ CORBA::Environment &)
+ ACE_THROW_SPEC ((CORBA::SystemException))
+{
+ return
+ CORBA::string_dup (this->_tao_impl->_interface_repository_id ());
+}
+
+CORBA::Boolean
+POA_CORBA::SequenceDef::TAO_ServerRequestInfo_CORBA_SequenceDef_bound_get::target_is_a (
+ const char * id,
+ CORBA::Environment &ACE_TRY_ENV)
+ ACE_THROW_SPEC ((CORBA::SystemException))
+{
+ return this->_tao_impl->_is_a (id, ACE_TRY_ENV);
+}
+
+void
+POA_CORBA::SequenceDef::TAO_ServerRequestInfo_CORBA_SequenceDef_bound_get::result (CORBA::ULong result)
+{
+ // Update the result.
+ this->_result = result;
+}
+
+POA_CORBA::SequenceDef::TAO_ServerRequestInfo_CORBA_SequenceDef_bound_set::TAO_ServerRequestInfo_CORBA_SequenceDef_bound_set (
+ TAO_ServerRequest &_tao_server_request,
+ POA_CORBA::SequenceDef *tao_impl,
+ const CORBA::ULong & bound,
+ CORBA::Environment &
+ )
+ : TAO_ServerRequestInfo (_tao_server_request),
+ _tao_impl (tao_impl),
+ bound_ (bound)
+{}
+
+Dynamic::ParameterList *
+POA_CORBA::SequenceDef::TAO_ServerRequestInfo_CORBA_SequenceDef_bound_set::arguments (CORBA::Environment &ACE_TRY_ENV)
+ ACE_THROW_SPEC ((CORBA::SystemException))
+{
+ // Generate the argument list on demand.
+ Dynamic::ParameterList *parameter_list =
+ TAO_RequestInfo_Util::make_parameter_list (ACE_TRY_ENV);
+ ACE_CHECK_RETURN (0);
+
+ Dynamic::ParameterList_var safe_parameter_list = parameter_list;
+
+ CORBA::ULong length_bound = parameter_list->length ();
+ parameter_list->length (length_bound + 1);
+ (*parameter_list)[length_bound].argument <<= bound_;
+ (*parameter_list)[length_bound].mode = Dynamic::PARAM_IN;
+
+ return safe_parameter_list._retn ();
+}
+
+Dynamic::ExceptionList *
+POA_CORBA::SequenceDef::TAO_ServerRequestInfo_CORBA_SequenceDef_bound_set::exceptions (CORBA::Environment &ACE_TRY_ENV)
+ ACE_THROW_SPEC ((CORBA::SystemException))
+{
+ // Generate the exception list on demand.
+ Dynamic::ExceptionList *exception_list =
+ TAO_RequestInfo_Util::make_exception_list (ACE_TRY_ENV);
+ ACE_CHECK_RETURN (0);
+
+ return exception_list;
+}
+
+CORBA::Any *
+POA_CORBA::SequenceDef::TAO_ServerRequestInfo_CORBA_SequenceDef_bound_set::result (CORBA::Environment &ACE_TRY_ENV)
+ ACE_THROW_SPEC ((CORBA::SystemException))
+{
+ // Generate the result on demand.
+ CORBA::Boolean tk_void_any = 1;
+ CORBA::Any *result_any =
+ TAO_RequestInfo_Util::make_any (tk_void_any, ACE_TRY_ENV);
+ ACE_CHECK_RETURN (0);
+
+ return result_any;
+}
+
+char *
+POA_CORBA::SequenceDef::TAO_ServerRequestInfo_CORBA_SequenceDef_bound_set::target_most_derived_interface (
+ CORBA::Environment &)
+ ACE_THROW_SPEC ((CORBA::SystemException))
+{
+ return
+ CORBA::string_dup (this->_tao_impl->_interface_repository_id ());
+}
+
+CORBA::Boolean
+POA_CORBA::SequenceDef::TAO_ServerRequestInfo_CORBA_SequenceDef_bound_set::target_is_a (
+ const char * id,
+ CORBA::Environment &ACE_TRY_ENV)
+ ACE_THROW_SPEC ((CORBA::SystemException))
+{
+ return this->_tao_impl->_is_a (id, ACE_TRY_ENV);
+}
+
+POA_CORBA::SequenceDef::TAO_ServerRequestInfo_CORBA_SequenceDef_element_type_get::TAO_ServerRequestInfo_CORBA_SequenceDef_element_type_get (
+ TAO_ServerRequest &_tao_server_request,
+ POA_CORBA::SequenceDef *tao_impl,
+ CORBA::Environment &
+ )
+ : TAO_ServerRequestInfo (_tao_server_request),
+ _tao_impl (tao_impl)
+{}
+
+Dynamic::ParameterList *
+POA_CORBA::SequenceDef::TAO_ServerRequestInfo_CORBA_SequenceDef_element_type_get::arguments (CORBA::Environment &ACE_TRY_ENV)
+ ACE_THROW_SPEC ((CORBA::SystemException))
+{
+ // Generate the argument list on demand.
+ Dynamic::ParameterList *parameter_list =
+ TAO_RequestInfo_Util::make_parameter_list (ACE_TRY_ENV);
+ ACE_CHECK_RETURN (0);
+
+ return parameter_list;
+}
+
+Dynamic::ExceptionList *
+POA_CORBA::SequenceDef::TAO_ServerRequestInfo_CORBA_SequenceDef_element_type_get::exceptions (CORBA::Environment &ACE_TRY_ENV)
+ ACE_THROW_SPEC ((CORBA::SystemException))
+{
+ // Generate the exception list on demand.
+ Dynamic::ExceptionList *exception_list =
+ TAO_RequestInfo_Util::make_exception_list (ACE_TRY_ENV);
+ ACE_CHECK_RETURN (0);
+
+ return exception_list;
+}
+
+CORBA::Any *
+POA_CORBA::SequenceDef::TAO_ServerRequestInfo_CORBA_SequenceDef_element_type_get::result (CORBA::Environment &ACE_TRY_ENV)
+ ACE_THROW_SPEC ((CORBA::SystemException))
+{
+ // Generate the result on demand.
+ CORBA::Boolean tk_void_any = 0;
+ CORBA::Any *result_any =
+ TAO_RequestInfo_Util::make_any (tk_void_any, ACE_TRY_ENV);
+ ACE_CHECK_RETURN (0);
+
+ CORBA::Any_var safe_result_any = result_any;
+
+ (*result_any) <<= this->_result;
+
+ return safe_result_any._retn ();
+}
+
+char *
+POA_CORBA::SequenceDef::TAO_ServerRequestInfo_CORBA_SequenceDef_element_type_get::target_most_derived_interface (
+ CORBA::Environment &)
+ ACE_THROW_SPEC ((CORBA::SystemException))
+{
+ return
+ CORBA::string_dup (this->_tao_impl->_interface_repository_id ());
+}
+
+CORBA::Boolean
+POA_CORBA::SequenceDef::TAO_ServerRequestInfo_CORBA_SequenceDef_element_type_get::target_is_a (
+ const char * id,
+ CORBA::Environment &ACE_TRY_ENV)
+ ACE_THROW_SPEC ((CORBA::SystemException))
+{
+ return this->_tao_impl->_is_a (id, ACE_TRY_ENV);
+}
+
+void
+POA_CORBA::SequenceDef::TAO_ServerRequestInfo_CORBA_SequenceDef_element_type_get::result (CORBA::TypeCode_ptr result)
+{
+ // Update the result.
+ this->_result = result;
+}
+
+POA_CORBA::SequenceDef::TAO_ServerRequestInfo_CORBA_SequenceDef_element_type_def_get::TAO_ServerRequestInfo_CORBA_SequenceDef_element_type_def_get (
+ TAO_ServerRequest &_tao_server_request,
+ POA_CORBA::SequenceDef *tao_impl,
+ CORBA::Environment &
+ )
+ : TAO_ServerRequestInfo (_tao_server_request),
+ _tao_impl (tao_impl)
+{}
+
+Dynamic::ParameterList *
+POA_CORBA::SequenceDef::TAO_ServerRequestInfo_CORBA_SequenceDef_element_type_def_get::arguments (CORBA::Environment &ACE_TRY_ENV)
+ ACE_THROW_SPEC ((CORBA::SystemException))
+{
+ // Generate the argument list on demand.
+ Dynamic::ParameterList *parameter_list =
+ TAO_RequestInfo_Util::make_parameter_list (ACE_TRY_ENV);
+ ACE_CHECK_RETURN (0);
+
+ return parameter_list;
+}
+
+Dynamic::ExceptionList *
+POA_CORBA::SequenceDef::TAO_ServerRequestInfo_CORBA_SequenceDef_element_type_def_get::exceptions (CORBA::Environment &ACE_TRY_ENV)
+ ACE_THROW_SPEC ((CORBA::SystemException))
+{
+ // Generate the exception list on demand.
+ Dynamic::ExceptionList *exception_list =
+ TAO_RequestInfo_Util::make_exception_list (ACE_TRY_ENV);
+ ACE_CHECK_RETURN (0);
+
+ return exception_list;
+}
+
+CORBA::Any *
+POA_CORBA::SequenceDef::TAO_ServerRequestInfo_CORBA_SequenceDef_element_type_def_get::result (CORBA::Environment &ACE_TRY_ENV)
+ ACE_THROW_SPEC ((CORBA::SystemException))
+{
+ // Generate the result on demand.
+ CORBA::Boolean tk_void_any = 0;
+ CORBA::Any *result_any =
+ TAO_RequestInfo_Util::make_any (tk_void_any, ACE_TRY_ENV);
+ ACE_CHECK_RETURN (0);
+
+ CORBA::Any_var safe_result_any = result_any;
+
+ (*result_any) <<= this->_result;
+
+ return safe_result_any._retn ();
+}
+
+char *
+POA_CORBA::SequenceDef::TAO_ServerRequestInfo_CORBA_SequenceDef_element_type_def_get::target_most_derived_interface (
+ CORBA::Environment &)
+ ACE_THROW_SPEC ((CORBA::SystemException))
+{
+ return
+ CORBA::string_dup (this->_tao_impl->_interface_repository_id ());
+}
+
+CORBA::Boolean
+POA_CORBA::SequenceDef::TAO_ServerRequestInfo_CORBA_SequenceDef_element_type_def_get::target_is_a (
+ const char * id,
+ CORBA::Environment &ACE_TRY_ENV)
+ ACE_THROW_SPEC ((CORBA::SystemException))
+{
+ return this->_tao_impl->_is_a (id, ACE_TRY_ENV);
+}
+
+void
+POA_CORBA::SequenceDef::TAO_ServerRequestInfo_CORBA_SequenceDef_element_type_def_get::result (CORBA::IDLType_ptr result)
+{
+ // Update the result.
+ this->_result = result;
+}
+
+POA_CORBA::SequenceDef::TAO_ServerRequestInfo_CORBA_SequenceDef_element_type_def_set::TAO_ServerRequestInfo_CORBA_SequenceDef_element_type_def_set (
+ TAO_ServerRequest &_tao_server_request,
+ POA_CORBA::SequenceDef *tao_impl,
+ CORBA::IDLType_ptr element_type_def,
+ CORBA::Environment &
+ )
+ : TAO_ServerRequestInfo (_tao_server_request),
+ _tao_impl (tao_impl),
+ element_type_def_ (element_type_def)
+{}
+
+Dynamic::ParameterList *
+POA_CORBA::SequenceDef::TAO_ServerRequestInfo_CORBA_SequenceDef_element_type_def_set::arguments (CORBA::Environment &ACE_TRY_ENV)
+ ACE_THROW_SPEC ((CORBA::SystemException))
+{
+ // Generate the argument list on demand.
+ Dynamic::ParameterList *parameter_list =
+ TAO_RequestInfo_Util::make_parameter_list (ACE_TRY_ENV);
+ ACE_CHECK_RETURN (0);
+
+ Dynamic::ParameterList_var safe_parameter_list = parameter_list;
+
+ CORBA::ULong length_element_type_def = parameter_list->length ();
+ parameter_list->length (length_element_type_def + 1);
+ (*parameter_list)[length_element_type_def].argument <<= this->element_type_def_;
+
+ (*parameter_list)[length_element_type_def].mode = Dynamic::PARAM_IN;
+
+ return safe_parameter_list._retn ();
+}
+
+Dynamic::ExceptionList *
+POA_CORBA::SequenceDef::TAO_ServerRequestInfo_CORBA_SequenceDef_element_type_def_set::exceptions (CORBA::Environment &ACE_TRY_ENV)
+ ACE_THROW_SPEC ((CORBA::SystemException))
+{
+ // Generate the exception list on demand.
+ Dynamic::ExceptionList *exception_list =
+ TAO_RequestInfo_Util::make_exception_list (ACE_TRY_ENV);
+ ACE_CHECK_RETURN (0);
+
+ return exception_list;
+}
+
+CORBA::Any *
+POA_CORBA::SequenceDef::TAO_ServerRequestInfo_CORBA_SequenceDef_element_type_def_set::result (CORBA::Environment &ACE_TRY_ENV)
+ ACE_THROW_SPEC ((CORBA::SystemException))
+{
+ // Generate the result on demand.
+ CORBA::Boolean tk_void_any = 1;
+ CORBA::Any *result_any =
+ TAO_RequestInfo_Util::make_any (tk_void_any, ACE_TRY_ENV);
+ ACE_CHECK_RETURN (0);
+
+ return result_any;
+}
+
+char *
+POA_CORBA::SequenceDef::TAO_ServerRequestInfo_CORBA_SequenceDef_element_type_def_set::target_most_derived_interface (
+ CORBA::Environment &)
+ ACE_THROW_SPEC ((CORBA::SystemException))
+{
+ return
+ CORBA::string_dup (this->_tao_impl->_interface_repository_id ());
+}
+
+CORBA::Boolean
+POA_CORBA::SequenceDef::TAO_ServerRequestInfo_CORBA_SequenceDef_element_type_def_set::target_is_a (
+ const char * id,
+ CORBA::Environment &ACE_TRY_ENV)
+ ACE_THROW_SPEC ((CORBA::SystemException))
+{
+ return this->_tao_impl->_is_a (id, ACE_TRY_ENV);
+}
+
+#endif /* TAO_HAS_INTERCEPTORS */
+class TAO_CORBA_ArrayDef_Perfect_Hash_OpTable : public TAO_Perfect_Hash_OpTable
+{
+private:
+ unsigned int hash (const char *str, unsigned int len);
+public:
+ const TAO_operation_db_entry * lookup (const char *str, unsigned int len);
+};
+/* starting time is 10:44:37 */
+/* C++ code produced by gperf version 2.8 (ACE version) */
+/* Command-line: gperf -m -M -J -c -C -D -E -T -f 0 -F 0 -a -o -t -p -K opname_ -L C++ -Z TAO_CORBA_ArrayDef_Perfect_Hash_OpTable -N lookup */
+unsigned int
+TAO_CORBA_ArrayDef_Perfect_Hash_OpTable::hash (const char *str, unsigned int len)
+{
+ static const unsigned char asso_values[] =
+ {
+#if defined (ACE_MVS)
+ 22, 22, 22, 22, 22, 22, 22, 22, 22, 22,
+ 22, 22, 22, 22, 22, 22, 22, 22, 22, 22,
+ 22, 22, 22, 22, 22, 22, 22, 22, 22, 22,
+ 22, 22, 22, 22, 22, 22, 22, 22, 22, 22,
+ 22, 22, 22, 22, 22, 22, 22, 22, 22, 22,
+ 22, 22, 22, 22, 22, 22, 22, 22, 22, 22,
+ 22, 22, 22, 22, 22, 22, 22, 22, 22, 22,
+ 22, 22, 22, 22, 22, 22, 22, 22, 22, 22,
+ 22, 22, 22, 22, 22, 22, 22, 22, 22, 22,
+ 22, 22, 22, 22, 22, 22, 22, 22, 22, 22,
+ 22, 22, 22, 22, 22, 22, 22, 22, 22, 0,
+ 22, 22, 22, 22, 22, 22, 22, 22, 22, 22,
+ 22, 22, 22, 22, 22, 22, 22, 22, 22, 0,
+ 22, 22, 0, 0, 0, 22, 0, 22, 22, 22,
+ 22, 22, 22, 22, 22, 22, 22, 22, 22, 22,
+ 22, 22, 22, 22, 22, 22, 22, 22, 22, 22,
+ 22, 22, 22, 5, 22, 22, 22, 22, 0, 22,
+ 22, 22, 22, 22, 22, 22, 22, 22, 22, 22,
+ 22, 22, 22, 22, 22, 22, 22, 22, 22, 22,
+ 22, 22, 22, 22, 22, 22, 22, 22, 22, 22,
+ 22, 22, 22, 22, 22, 22, 22, 22, 22, 22,
+ 22, 22, 22, 22, 22, 22, 22, 22, 22, 22,
+ 22, 22, 22, 22, 22, 22, 22, 22, 22, 22,
+ 22, 22, 22, 22, 22, 22, 22, 22, 22, 22,
+ 22, 22, 22, 22, 22, 22, 22, 22, 22, 22,
+ 22, 22, 22, 22, 22, 22,
+#else
+ 22, 22, 22, 22, 22, 22, 22, 22, 22, 22,
+ 22, 22, 22, 22, 22, 22, 22, 22, 22, 22,
+ 22, 22, 22, 22, 22, 22, 22, 22, 22, 22,
+ 22, 22, 22, 22, 22, 22, 22, 22, 22, 22,
+ 22, 22, 22, 22, 22, 22, 22, 22, 22, 22,
+ 22, 22, 22, 22, 22, 22, 22, 22, 22, 22,
+ 22, 22, 22, 22, 22, 22, 22, 22, 22, 22,
+ 22, 22, 22, 22, 22, 22, 22, 22, 22, 22,
+ 22, 22, 22, 22, 22, 22, 22, 22, 22, 22,
+ 22, 22, 22, 22, 22, 0, 22, 0, 22, 22,
+ 0, 0, 0, 22, 0, 22, 22, 22, 22, 22,
+ 22, 22, 22, 22, 22, 22, 5, 22, 22, 22,
+ 22, 0, 22, 22, 22, 22, 22, 22,
+#endif /* ACE_MVS */
+ };
+ return len + asso_values[str[len - 1]] + asso_values[str[0]];
+}
+
+const class TAO_operation_db_entry *
+TAO_CORBA_ArrayDef_Perfect_Hash_OpTable::lookup (const char *str, unsigned int len)
+{
+ enum
+ {
+ TOTAL_KEYWORDS = 10,
+ MIN_WORD_LENGTH = 5,
+ MAX_WORD_LENGTH = 21,
+ MIN_HASH_VALUE = 5,
+ MAX_HASH_VALUE = 21,
+ HASH_VALUE_RANGE = 17,
+ DUPLICATES = 3
+ };
+
+ static const class TAO_operation_db_entry wordlist[] =
+ {
+ {"",0},{"",0},{"",0},{"",0},{"",0},
+ {"_is_a", &POA_CORBA::ArrayDef::_is_a_skel},
+ {"destroy", &POA_CORBA::ArrayDef::destroy_skel},
+ {"_get_type", &POA_CORBA::ArrayDef::_get_type_skel},
+ {"_get_length", &POA_CORBA::ArrayDef::_get_length_skel},
+ {"_set_length", &POA_CORBA::ArrayDef::_set_length_skel},
+ {"_get_def_kind", &POA_CORBA::ArrayDef::_get_def_kind_skel},
+ {"_get_element_type", &POA_CORBA::ArrayDef::_get_element_type_skel},
+ {"_non_existent", &POA_CORBA::ArrayDef::_non_existent_skel},
+ {"_get_element_type_def", &POA_CORBA::ArrayDef::_get_element_type_def_skel},
+ {"_set_element_type_def", &POA_CORBA::ArrayDef::_set_element_type_def_skel},
+ };
+
+ static const signed char lookup[] =
+ {
+ -1, -1, -1, -8, -2, 5, -1, 6, -1, 7, -1, -29, -1, 10,
+ -1, -1, -1, 11, 12, -13, -2, -23,
+ };
+
+ if (len <= MAX_WORD_LENGTH && len >= MIN_WORD_LENGTH)
+ {
+ unsigned int key = hash (str, len);
+
+ if (key <= MAX_HASH_VALUE && key >= MIN_HASH_VALUE)
+ {
+ int slot = lookup[key];
+
+ if (slot >= 0 && slot < MAX_HASH_VALUE)
+ {
+ const char *s = wordlist[slot].opname_;
+
+ if (*str == *s && !strncmp (str + 1, s + 1, len - 1))
+ return &wordlist[slot];
+ }
+ else if (slot < 0 && slot >= -MAX_HASH_VALUE)
+ return 0;
+ else
+ {
+ unsigned int offset = key + slot + (slot > 0 ? -MAX_HASH_VALUE : MAX_HASH_VALUE);
+ const class TAO_operation_db_entry *base = &wordlist[-lookup[offset]];
+ const class TAO_operation_db_entry *ptr = base + -lookup[offset + 1];
+
+ while (--ptr >= base)
+ if (*str == *ptr->opname_ && !strncmp (str + 1, ptr->opname_ + 1, len - 1))
+ return ptr;
+ }
+ }
+ }
+ return 0;
+}
+/* ending time is 10:44:37 */
+static TAO_CORBA_ArrayDef_Perfect_Hash_OpTable tao_CORBA_ArrayDef_optable;
+
+
+///////////////////////////////////////////////////////////////////////
+// Strategized Proxy Broker Implementation
+//
+
+// Factory function Implementation.
+POA_CORBA::_TAO_ArrayDef_Strategized_Proxy_Broker *POA_CORBA::_TAO_ArrayDef_Strategized_Proxy_Broker::the_TAO_ArrayDef_Strategized_Proxy_Broker (void)
+{
+ static POA_CORBA::_TAO_ArrayDef_Strategized_Proxy_Broker strategized_proxy_broker;
+ return &strategized_proxy_broker;
+}
+
+POA_CORBA::_TAO_ArrayDef_Strategized_Proxy_Broker::_TAO_ArrayDef_Strategized_Proxy_Broker (void)
+{
+ for (int i = 0; i < TAO_Collocation_Strategies::CS_LAST; ++i)
+ this->proxy_cache_[i] = 0;
+
+}
+
+POA_CORBA::_TAO_ArrayDef_Strategized_Proxy_Broker::~_TAO_ArrayDef_Strategized_Proxy_Broker (void)
+{
+ for (int i = 0; i < TAO_Collocation_Strategies::CS_LAST; ++i)
+ delete this->proxy_cache_[i];
+
+}
+
+_TAO_ArrayDef_Proxy_Impl&
+POA_CORBA::_TAO_ArrayDef_Strategized_Proxy_Broker::select_proxy (
+ ::CORBA::ArrayDef *object,
+ CORBA::Environment &ACE_TRY_ENV
+ )
+{
+ int strategy =
+ TAO_ORB_Core::collocation_strategy (object);
+
+ if (this->proxy_cache_[strategy] != 0)
+ return *this->proxy_cache_[strategy];
+
+ this->create_proxy (strategy, ACE_TRY_ENV);
+ ACE_CHECK_RETURN (*this->proxy_cache_[strategy]);
+
+ return *this->proxy_cache_[strategy];
+
+}
+
+void
+POA_CORBA::_TAO_ArrayDef_Strategized_Proxy_Broker::create_proxy (
+ int strategy,
+ CORBA::Environment &ACE_TRY_ENV
+ )
+{
+ ACE_GUARD (TAO_SYNCH_MUTEX, guard, this->mutex_);
+
+ if (this->proxy_cache_[strategy] == 0)
+ {
+ switch (strategy)
+ {
+ case TAO_Collocation_Strategies::CS_THRU_POA_STRATEGY:
+ ACE_NEW_THROW_EX (
+ this->proxy_cache_[strategy],
+ _TAO_ArrayDef_ThruPOA_Proxy_Impl,
+ CORBA::NO_MEMORY ()
+ );
+ ACE_CHECK;
+ break;
+
+ case TAO_Collocation_Strategies::CS_REMOTE_STRATEGY:
+ default:
+ ACE_NEW_THROW_EX (
+ this->proxy_cache_[strategy],
+ ::_TAO_ArrayDef_Remote_Proxy_Impl,
+ CORBA::NO_MEMORY ()
+ );
+ ACE_CHECK;
+ break;
+
+ }
+
+ }
+}
+
+
+//
+// End Strategized Proxy Broker Implementation
+///////////////////////////////////////////////////////////////////////
+
+
+_TAO_ArrayDef_Proxy_Broker *
+CORBA__TAO_ArrayDef_Proxy_Broker_Factory_function (CORBA::Object_ptr obj)
+{
+ ACE_UNUSED_ARG (obj);
+ return ::POA_CORBA::_TAO_ArrayDef_Strategized_Proxy_Broker::the_TAO_ArrayDef_Strategized_Proxy_Broker();
+}
+
+int
+CORBA__TAO_ArrayDef_Proxy_Broker_Factory_Initializer (long _dummy_)
+{
+ ACE_UNUSED_ARG (_dummy_);
+
+ CORBA__TAO_ArrayDef_Proxy_Broker_Factory_function_pointer =
+ CORBA__TAO_ArrayDef_Proxy_Broker_Factory_function;
+
+ return 0;
+}
+
+static int CORBA__TAO_ArrayDef_Proxy_Broker_Stub_Factory_Initializer_Scarecrow =
+ CORBA__TAO_ArrayDef_Proxy_Broker_Factory_Initializer (ACE_reinterpret_cast (long, CORBA__TAO_ArrayDef_Proxy_Broker_Factory_Initializer));
+
+
+///////////////////////////////////////////////////////////////////////
+// ThruPOA Proxy Implementation
+//
+
+POA_CORBA::_TAO_ArrayDef_ThruPOA_Proxy_Impl::_TAO_ArrayDef_ThruPOA_Proxy_Impl (void)
+{}
+
+// ThruPOA Implementation of the IDL interface methods
+
+CORBA::ULong POA_CORBA::_TAO_ArrayDef_ThruPOA_Proxy_Impl::length (
+ CORBA_Object *_collocated_tao_target_,
+ CORBA::Environment &ACE_TRY_ENV
+ )
+ ACE_THROW_SPEC ((
+ CORBA::SystemException
+ ))
+{
+ CORBA::ULong _tao_retval = 0;
+ ACE_UNUSED_ARG (_tao_retval);
+ TAO_Object_Adapter::Servant_Upcall servant_upcall (
+ _collocated_tao_target_->_stubobj ()->servant_orb_var ()->orb_core ()
+ );
+ CORBA::Object_var forward_to;
+ servant_upcall.prepare_for_upcall (
+ _collocated_tao_target_->_object_key (),
+ "length",
+ forward_to.out (),
+ ACE_TRY_ENV
+ );
+ ACE_CHECK_RETURN (_tao_retval);
+ return ACE_reinterpret_cast (
+ POA_CORBA::ArrayDef_ptr,
+ servant_upcall.servant ()->_downcast (
+ "IDL:omg.org/CORBA/ArrayDef:1.0"
+ )
+ )->length (
+ ACE_TRY_ENV
+ );
+}
+
+void POA_CORBA::_TAO_ArrayDef_ThruPOA_Proxy_Impl::length (
+ CORBA_Object *_collocated_tao_target_,
+ CORBA::ULong length,
+ CORBA::Environment &ACE_TRY_ENV
+ )
+ ACE_THROW_SPEC ((
+ CORBA::SystemException
+ ))
+{
+ TAO_Object_Adapter::Servant_Upcall servant_upcall (
+ _collocated_tao_target_->_stubobj ()->servant_orb_var ()->orb_core ()
+ );
+ CORBA::Object_var forward_to;
+ servant_upcall.prepare_for_upcall (
+ _collocated_tao_target_->_object_key (),
+ "length",
+ forward_to.out (),
+ ACE_TRY_ENV
+ );
+ ACE_CHECK;
+ ACE_reinterpret_cast (
+ POA_CORBA::ArrayDef_ptr,
+ servant_upcall.servant ()->_downcast (
+ "IDL:omg.org/CORBA/ArrayDef:1.0"
+ )
+ )->length (
+ length,
+ ACE_TRY_ENV
+ );
+ return;
+}
+
+CORBA::TypeCode_ptr POA_CORBA::_TAO_ArrayDef_ThruPOA_Proxy_Impl::element_type (
+ CORBA_Object *_collocated_tao_target_,
+ CORBA::Environment &ACE_TRY_ENV
+ )
+ ACE_THROW_SPEC ((
+ CORBA::SystemException
+ ))
+{
+ CORBA::TypeCode_var _tao_retval;
+ ACE_UNUSED_ARG (_tao_retval);
+ TAO_Object_Adapter::Servant_Upcall servant_upcall (
+ _collocated_tao_target_->_stubobj ()->servant_orb_var ()->orb_core ()
+ );
+ CORBA::Object_var forward_to;
+ servant_upcall.prepare_for_upcall (
+ _collocated_tao_target_->_object_key (),
+ "element_type",
+ forward_to.out (),
+ ACE_TRY_ENV
+ );
+ ACE_CHECK_RETURN (0);
+ return ACE_reinterpret_cast (
+ POA_CORBA::ArrayDef_ptr,
+ servant_upcall.servant ()->_downcast (
+ "IDL:omg.org/CORBA/ArrayDef:1.0"
+ )
+ )->element_type (
+ ACE_TRY_ENV
+ );
+}
+
+CORBA::IDLType_ptr POA_CORBA::_TAO_ArrayDef_ThruPOA_Proxy_Impl::element_type_def (
+ CORBA_Object *_collocated_tao_target_,
+ CORBA::Environment &ACE_TRY_ENV
+ )
+ ACE_THROW_SPEC ((
+ CORBA::SystemException
+ ))
+{
+ CORBA::IDLType_var _tao_retval;
+ ACE_UNUSED_ARG (_tao_retval);
+ TAO_Object_Adapter::Servant_Upcall servant_upcall (
+ _collocated_tao_target_->_stubobj ()->servant_orb_var ()->orb_core ()
+ );
+ CORBA::Object_var forward_to;
+ servant_upcall.prepare_for_upcall (
+ _collocated_tao_target_->_object_key (),
+ "element_type_def",
+ forward_to.out (),
+ ACE_TRY_ENV
+ );
+ ACE_CHECK_RETURN (0);
+ return ACE_reinterpret_cast (
+ POA_CORBA::ArrayDef_ptr,
+ servant_upcall.servant ()->_downcast (
+ "IDL:omg.org/CORBA/ArrayDef:1.0"
+ )
+ )->element_type_def (
+ ACE_TRY_ENV
+ );
+}
+
+void POA_CORBA::_TAO_ArrayDef_ThruPOA_Proxy_Impl::element_type_def (
+ CORBA_Object *_collocated_tao_target_,
+ CORBA::IDLType_ptr element_type_def,
+ CORBA::Environment &ACE_TRY_ENV
+ )
+ ACE_THROW_SPEC ((
+ CORBA::SystemException
+ ))
+{
+ TAO_Object_Adapter::Servant_Upcall servant_upcall (
+ _collocated_tao_target_->_stubobj ()->servant_orb_var ()->orb_core ()
+ );
+ CORBA::Object_var forward_to;
+ servant_upcall.prepare_for_upcall (
+ _collocated_tao_target_->_object_key (),
+ "element_type_def",
+ forward_to.out (),
+ ACE_TRY_ENV
+ );
+ ACE_CHECK;
+ ACE_reinterpret_cast (
+ POA_CORBA::ArrayDef_ptr,
+ servant_upcall.servant ()->_downcast (
+ "IDL:omg.org/CORBA/ArrayDef:1.0"
+ )
+ )->element_type_def (
+ element_type_def,
+ ACE_TRY_ENV
+ );
+ return;
+}
+
+//
+// End ThruPOA Proxy Implementation
+///////////////////////////////////////////////////////////////////////
+
+// skeleton constructor
+POA_CORBA::ArrayDef::ArrayDef (void)
+{
+ this->optable_ = &tao_CORBA_ArrayDef_optable;
+}
+
+// copy ctor
+POA_CORBA::ArrayDef::ArrayDef (const ArrayDef& rhs)
+ : ACE_NESTED_CLASS (POA_CORBA,IDLType) (rhs),
+ ACE_NESTED_CLASS (POA_CORBA,IRObject) (rhs),
+ TAO_ServantBase (rhs)
+{}
+
+// skeleton destructor
+POA_CORBA::ArrayDef::~ArrayDef (void)
+{
+}
+
+void POA_CORBA::ArrayDef::_get_length_skel (
+ TAO_ServerRequest &_tao_server_request,
+ void *_tao_object_reference,
+ void * /* context */,
+ CORBA::Environment &ACE_TRY_ENV
+ )
+{
+ POA_CORBA::ArrayDef *_tao_impl = (POA_CORBA::ArrayDef *)_tao_object_reference;
+
+ CORBA::ULong _tao_retval = 0;
+
+#if (TAO_HAS_INTERCEPTORS == 1)
+ TAO_ServerRequestInterceptor_Adapter _tao_vfr (
+ _tao_server_request.orb_core ()->server_request_interceptors (),
+ _tao_server_request.interceptor_count ()
+ );
+
+ POA_CORBA::ArrayDef::TAO_ServerRequestInfo_CORBA_ArrayDef_length_get ri (
+ _tao_server_request,
+ _tao_impl,
+ ACE_TRY_ENV
+ );
+
+ ACE_TRY
+ {
+ _tao_vfr.receive_request (&ri, ACE_TRY_ENV);
+ ACE_TRY_CHECK;
+
+#endif /* TAO_HAS_INTERCEPTORS */
+ _tao_retval =
+ _tao_impl->length (
+ ACE_TRY_ENV
+ );
+ TAO_INTERCEPTOR_CHECK;
+
+#if (TAO_HAS_INTERCEPTORS == 1)
+ CORBA::ULong _tao_retval_info = _tao_retval;
+ ri.result (_tao_retval_info);
+ ri.reply_status (PortableInterceptor::SUCCESSFUL);
+ _tao_vfr.send_reply (&ri, ACE_TRY_ENV);
+ ACE_TRY_CHECK;
+ }
+ ACE_CATCH (PortableInterceptor::ForwardRequest, exc)
+ {
+ ri.forward_reference (exc);
+ _tao_vfr.send_other (
+ &ri,
+ ACE_TRY_ENV
+ );
+ ACE_TRY_CHECK;
+ _tao_server_request.forward_location (exc.forward.in ());
+ }
+ ACE_CATCHANY
+ {
+ ri.exception (&ACE_ANY_EXCEPTION);
+ _tao_vfr.send_exception (
+ &ri,
+ ACE_TRY_ENV
+ );
+ ACE_TRY_CHECK;
+ ACE_RE_THROW;
+ }
+ ACE_ENDTRY;
+ ACE_CHECK;
+#endif /* TAO_HAS_INTERCEPTORS */
+
+ _tao_server_request.init_reply ();
+
+ TAO_OutputCDR &_tao_out = _tao_server_request.outgoing ();
+
+ if (!(
+ (_tao_out << _tao_retval)
+ ))
+ ACE_THROW (CORBA::MARSHAL());
+
+ // In case ACE_TRY_ENV is not used in this function
+ ACE_UNUSED_ARG (ACE_TRY_ENV);
+}
+
+void POA_CORBA::ArrayDef::_set_length_skel (
+ TAO_ServerRequest &_tao_server_request,
+ void *_tao_object_reference,
+ void * /* context */,
+ CORBA::Environment &ACE_TRY_ENV
+ )
+{
+ TAO_InputCDR &_tao_in = _tao_server_request.incoming ();
+ POA_CORBA::ArrayDef *_tao_impl = (POA_CORBA::ArrayDef *)_tao_object_reference;
+
+ _tao_server_request.argument_flag (0);
+ CORBA::ULong length;
+ if (!(
+ (_tao_in >> length)
+ ))
+ ACE_THROW (CORBA::MARSHAL());
+
+
+#if (TAO_HAS_INTERCEPTORS == 1)
+ TAO_ServerRequestInterceptor_Adapter _tao_vfr (
+ _tao_server_request.orb_core ()->server_request_interceptors (),
+ _tao_server_request.interceptor_count ()
+ );
+
+ POA_CORBA::ArrayDef::TAO_ServerRequestInfo_CORBA_ArrayDef_length_set ri (
+ _tao_server_request,
+ _tao_impl,
+ length,
+ ACE_TRY_ENV
+ );
+
+ ACE_TRY
+ {
+ _tao_vfr.receive_request (&ri, ACE_TRY_ENV);
+ ACE_TRY_CHECK;
+
+#endif /* TAO_HAS_INTERCEPTORS */
+
+ _tao_impl->length (
+ length,
+ ACE_TRY_ENV
+ );
+ TAO_INTERCEPTOR_CHECK;
+
+#if (TAO_HAS_INTERCEPTORS == 1)
+ ri.reply_status (PortableInterceptor::SUCCESSFUL);
+ _tao_vfr.send_reply (&ri, ACE_TRY_ENV);
+ ACE_TRY_CHECK;
+ }
+ ACE_CATCH (PortableInterceptor::ForwardRequest, exc)
+ {
+ ri.forward_reference (exc);
+ _tao_vfr.send_other (
+ &ri,
+ ACE_TRY_ENV
+ );
+ ACE_TRY_CHECK;
+ _tao_server_request.forward_location (exc.forward.in ());
+ }
+ ACE_CATCHANY
+ {
+ ri.exception (&ACE_ANY_EXCEPTION);
+ _tao_vfr.send_exception (
+ &ri,
+ ACE_TRY_ENV
+ );
+ ACE_TRY_CHECK;
+ ACE_RE_THROW;
+ }
+ ACE_ENDTRY;
+ ACE_CHECK;
+#endif /* TAO_HAS_INTERCEPTORS */
+
+ _tao_server_request.init_reply ();
+
+ // In case ACE_TRY_ENV is not used in this function
+ ACE_UNUSED_ARG (ACE_TRY_ENV);
+}
+
+void POA_CORBA::ArrayDef::_get_element_type_skel (
+ TAO_ServerRequest &_tao_server_request,
+ void *_tao_object_reference,
+ void * /* context */,
+ CORBA::Environment &ACE_TRY_ENV
+ )
+{
+ POA_CORBA::ArrayDef *_tao_impl = (POA_CORBA::ArrayDef *)_tao_object_reference;
+
+ CORBA::TypeCode_var _tao_retval;
+
+#if (TAO_HAS_INTERCEPTORS == 1)
+ TAO_ServerRequestInterceptor_Adapter _tao_vfr (
+ _tao_server_request.orb_core ()->server_request_interceptors (),
+ _tao_server_request.interceptor_count ()
+ );
+
+ POA_CORBA::ArrayDef::TAO_ServerRequestInfo_CORBA_ArrayDef_element_type_get ri (
+ _tao_server_request,
+ _tao_impl,
+ ACE_TRY_ENV
+ );
+
+ ACE_TRY
+ {
+ _tao_vfr.receive_request (&ri, ACE_TRY_ENV);
+ ACE_TRY_CHECK;
+
+#endif /* TAO_HAS_INTERCEPTORS */
+ _tao_retval =
+ _tao_impl->element_type (
+ ACE_TRY_ENV
+ );
+ TAO_INTERCEPTOR_CHECK;
+
+#if (TAO_HAS_INTERCEPTORS == 1)
+ CORBA::TypeCode_ptr _tao_retval_info = _tao_retval._retn ();
+ ri.result (_tao_retval_info);
+ _tao_retval = _tao_retval_info;
+ ri.reply_status (PortableInterceptor::SUCCESSFUL);
+ _tao_vfr.send_reply (&ri, ACE_TRY_ENV);
+ ACE_TRY_CHECK;
+ }
+ ACE_CATCH (PortableInterceptor::ForwardRequest, exc)
+ {
+ ri.forward_reference (exc);
+ _tao_vfr.send_other (
+ &ri,
+ ACE_TRY_ENV
+ );
+ ACE_TRY_CHECK;
+ _tao_server_request.forward_location (exc.forward.in ());
+ }
+ ACE_CATCHANY
+ {
+ ri.exception (&ACE_ANY_EXCEPTION);
+ _tao_vfr.send_exception (
+ &ri,
+ ACE_TRY_ENV
+ );
+ ACE_TRY_CHECK;
+ ACE_RE_THROW;
+ }
+ ACE_ENDTRY;
+ ACE_CHECK;
+#endif /* TAO_HAS_INTERCEPTORS */
+
+ _tao_server_request.init_reply ();
+
+ TAO_OutputCDR &_tao_out = _tao_server_request.outgoing ();
+
+ if (!(
+ (_tao_out << _tao_retval.in ())
+ ))
+ ACE_THROW (CORBA::MARSHAL());
+
+ // In case ACE_TRY_ENV is not used in this function
+ ACE_UNUSED_ARG (ACE_TRY_ENV);
+}
+
+void POA_CORBA::ArrayDef::_get_element_type_def_skel (
+ TAO_ServerRequest &_tao_server_request,
+ void *_tao_object_reference,
+ void * /* context */,
+ CORBA::Environment &ACE_TRY_ENV
+ )
+{
+ POA_CORBA::ArrayDef *_tao_impl = (POA_CORBA::ArrayDef *)_tao_object_reference;
+
+ CORBA::IDLType_var _tao_retval;
+
+#if (TAO_HAS_INTERCEPTORS == 1)
+ TAO_ServerRequestInterceptor_Adapter _tao_vfr (
+ _tao_server_request.orb_core ()->server_request_interceptors (),
+ _tao_server_request.interceptor_count ()
+ );
+
+ POA_CORBA::ArrayDef::TAO_ServerRequestInfo_CORBA_ArrayDef_element_type_def_get ri (
+ _tao_server_request,
+ _tao_impl,
+ ACE_TRY_ENV
+ );
+
+ ACE_TRY
+ {
+ _tao_vfr.receive_request (&ri, ACE_TRY_ENV);
+ ACE_TRY_CHECK;
+
+#endif /* TAO_HAS_INTERCEPTORS */
+ _tao_retval =
+ _tao_impl->element_type_def (
+ ACE_TRY_ENV
+ );
+ TAO_INTERCEPTOR_CHECK;
+
+#if (TAO_HAS_INTERCEPTORS == 1)
+ CORBA::IDLType_ptr _tao_retval_info = _tao_retval._retn ();
+ ri.result (_tao_retval_info);
+ _tao_retval = _tao_retval_info;
+ ri.reply_status (PortableInterceptor::SUCCESSFUL);
+ _tao_vfr.send_reply (&ri, ACE_TRY_ENV);
+ ACE_TRY_CHECK;
+ }
+ ACE_CATCH (PortableInterceptor::ForwardRequest, exc)
+ {
+ ri.forward_reference (exc);
+ _tao_vfr.send_other (
+ &ri,
+ ACE_TRY_ENV
+ );
+ ACE_TRY_CHECK;
+ _tao_server_request.forward_location (exc.forward.in ());
+ }
+ ACE_CATCHANY
+ {
+ ri.exception (&ACE_ANY_EXCEPTION);
+ _tao_vfr.send_exception (
+ &ri,
+ ACE_TRY_ENV
+ );
+ ACE_TRY_CHECK;
+ ACE_RE_THROW;
+ }
+ ACE_ENDTRY;
+ ACE_CHECK;
+#endif /* TAO_HAS_INTERCEPTORS */
+
+ _tao_server_request.init_reply ();
+
+ TAO_OutputCDR &_tao_out = _tao_server_request.outgoing ();
+
+ if (!(
+ (_tao_out << _tao_retval.in ())
+ ))
+ ACE_THROW (CORBA::MARSHAL());
+
+ // In case ACE_TRY_ENV is not used in this function
+ ACE_UNUSED_ARG (ACE_TRY_ENV);
+}
+
+void POA_CORBA::ArrayDef::_set_element_type_def_skel (
+ TAO_ServerRequest &_tao_server_request,
+ void *_tao_object_reference,
+ void * /* context */,
+ CORBA::Environment &ACE_TRY_ENV
+ )
+{
+ TAO_InputCDR &_tao_in = _tao_server_request.incoming ();
+ POA_CORBA::ArrayDef *_tao_impl = (POA_CORBA::ArrayDef *)_tao_object_reference;
+
+ _tao_server_request.argument_flag (0);
+ CORBA::IDLType_var element_type_def;
+ if (!(
+ (_tao_in >> element_type_def.out ())
+ ))
+ ACE_THROW (CORBA::MARSHAL());
+
+
+#if (TAO_HAS_INTERCEPTORS == 1)
+ TAO_ServerRequestInterceptor_Adapter _tao_vfr (
+ _tao_server_request.orb_core ()->server_request_interceptors (),
+ _tao_server_request.interceptor_count ()
+ );
+
+ POA_CORBA::ArrayDef::TAO_ServerRequestInfo_CORBA_ArrayDef_element_type_def_set ri (
+ _tao_server_request,
+ _tao_impl,
+ element_type_def.in (),
+ ACE_TRY_ENV
+ );
+
+ ACE_TRY
+ {
+ _tao_vfr.receive_request (&ri, ACE_TRY_ENV);
+ ACE_TRY_CHECK;
+
+#endif /* TAO_HAS_INTERCEPTORS */
+
+ _tao_impl->element_type_def (
+ element_type_def.in (),
+ ACE_TRY_ENV
+ );
+ TAO_INTERCEPTOR_CHECK;
+
+#if (TAO_HAS_INTERCEPTORS == 1)
+ ri.reply_status (PortableInterceptor::SUCCESSFUL);
+ _tao_vfr.send_reply (&ri, ACE_TRY_ENV);
+ ACE_TRY_CHECK;
+ }
+ ACE_CATCH (PortableInterceptor::ForwardRequest, exc)
+ {
+ ri.forward_reference (exc);
+ _tao_vfr.send_other (
+ &ri,
+ ACE_TRY_ENV
+ );
+ ACE_TRY_CHECK;
+ _tao_server_request.forward_location (exc.forward.in ());
+ }
+ ACE_CATCHANY
+ {
+ ri.exception (&ACE_ANY_EXCEPTION);
+ _tao_vfr.send_exception (
+ &ri,
+ ACE_TRY_ENV
+ );
+ ACE_TRY_CHECK;
+ ACE_RE_THROW;
+ }
+ ACE_ENDTRY;
+ ACE_CHECK;
+#endif /* TAO_HAS_INTERCEPTORS */
+
+ _tao_server_request.init_reply ();
+
+ // In case ACE_TRY_ENV is not used in this function
+ ACE_UNUSED_ARG (ACE_TRY_ENV);
+}
+
+void POA_CORBA::ArrayDef::_is_a_skel (
+ TAO_ServerRequest &_tao_server_request,
+ void * _tao_object_reference,
+ void * /* context */,
+ CORBA::Environment &ACE_TRY_ENV
+ )
+{
+ TAO_InputCDR &_tao_in = _tao_server_request.incoming ();
+ POA_CORBA::ArrayDef *_tao_impl = (POA_CORBA::ArrayDef *) _tao_object_reference;
+ CORBA::Boolean _tao_retval = 0;
+ CORBA::String_var value;
+ if (!(_tao_in >> value.out ()))
+ ACE_THROW (CORBA::MARSHAL ());
+
+ _tao_retval = _tao_impl->_is_a (value.in (), ACE_TRY_ENV);
+ ACE_CHECK;
+
+ _tao_server_request.init_reply ();
+ TAO_OutputCDR &_tao_out = _tao_server_request.outgoing ();
+ if (!(_tao_out << CORBA::Any::from_boolean (_tao_retval)))
+ ACE_THROW (CORBA::MARSHAL ());
+}
+
+void POA_CORBA::ArrayDef::_non_existent_skel (
+ TAO_ServerRequest &_tao_server_request,
+ void * _tao_object_reference,
+ void * /* context */,
+ CORBA::Environment &ACE_TRY_ENV
+ )
+{
+ POA_CORBA::ArrayDef *_tao_impl = (POA_CORBA::ArrayDef *) _tao_object_reference;
+ CORBA::Boolean _tao_retval = _tao_impl->_non_existent (ACE_TRY_ENV);
+ ACE_CHECK;
+
+ _tao_server_request.init_reply ();
+ TAO_OutputCDR &_tao_out = _tao_server_request.outgoing ();
+ if (!(_tao_out << CORBA::Any::from_boolean (_tao_retval)))
+ ACE_THROW (CORBA::MARSHAL ());
+}
+
+CORBA::Boolean POA_CORBA::ArrayDef::_is_a (
+ const char* value,
+ CORBA::Environment &ACE_TRY_ENV
+ )
+{
+ const char *base_id = CORBA::_tc_Object->id (ACE_TRY_ENV);
+ ACE_CHECK_RETURN (0);
+
+ if (
+ (!ACE_OS::strcmp ((char *)value, "IDL:omg.org/CORBA/ArrayDef:1.0")) ||
+ (!ACE_OS::strcmp ((char *)value, "IDL:omg.org/CORBA/IDLType:1.0")) ||
+ (!ACE_OS::strcmp ((char *)value, "IDL:omg.org/CORBA/IRObject:1.0")) ||
+ (!ACE_OS::strcmp ((char *)value, base_id)))
+ return 1;
+ else
+ return 0;
+}
+
+void* POA_CORBA::ArrayDef::_downcast (
+ const char* logical_type_id
+ )
+{
+ if (ACE_OS::strcmp (logical_type_id, "IDL:omg.org/CORBA/ArrayDef:1.0") == 0)
+ return ACE_static_cast (POA_CORBA::ArrayDef_ptr, this);
+ if (ACE_OS::strcmp (logical_type_id, "IDL:omg.org/CORBA/IDLType:1.0") == 0)
+ return ACE_static_cast (POA_CORBA::IDLType_ptr, this);
+ if (ACE_OS::strcmp (logical_type_id, "IDL:omg.org/CORBA/IRObject:1.0") == 0)
+ return ACE_static_cast (POA_CORBA::IRObject_ptr, this);
+ if (ACE_OS::strcmp (logical_type_id, "IDL:omg.org/CORBA/Object:1.0") == 0)
+ return ACE_static_cast(PortableServer::Servant, this);
+ return 0;
+}
+
+void POA_CORBA::ArrayDef::_dispatch (TAO_ServerRequest &req, void *context, CORBA::Environment &ACE_TRY_ENV)
+{
+ this->synchronous_upcall_dispatch(req, context, this, ACE_TRY_ENV);
+}
+
+const char* POA_CORBA::ArrayDef::_interface_repository_id (void) const
+{
+ return "IDL:omg.org/CORBA/ArrayDef:1.0";
+}
+
+CORBA::ArrayDef*
+POA_CORBA::ArrayDef::_this (CORBA_Environment &ACE_TRY_ENV)
+{
+ TAO_Stub *stub = this->_create_stub (ACE_TRY_ENV);
+ ACE_CHECK_RETURN (0);
+
+ CORBA::Object_ptr tmp = CORBA::Object::_nil ();
+
+ if (stub->servant_orb_var ()->orb_core ()->optimize_collocation_objects ())
+ ACE_NEW_RETURN (tmp, CORBA::Object (stub, 1, this), 0);
+ else
+ ACE_NEW_RETURN (tmp, CORBA::Object (stub, 0, this), 0);
+
+ CORBA::Object_var obj = tmp;
+ return ::CORBA::ArrayDef::_unchecked_narrow (obj.in ());
+}
+
+
+#if (TAO_HAS_INTERCEPTORS == 1)
+POA_CORBA::ArrayDef::TAO_ServerRequestInfo_CORBA_ArrayDef_length_get::TAO_ServerRequestInfo_CORBA_ArrayDef_length_get (
+ TAO_ServerRequest &_tao_server_request,
+ POA_CORBA::ArrayDef *tao_impl,
+ CORBA::Environment &
+ )
+ : TAO_ServerRequestInfo (_tao_server_request),
+ _tao_impl (tao_impl)
+{}
+
+Dynamic::ParameterList *
+POA_CORBA::ArrayDef::TAO_ServerRequestInfo_CORBA_ArrayDef_length_get::arguments (CORBA::Environment &ACE_TRY_ENV)
+ ACE_THROW_SPEC ((CORBA::SystemException))
+{
+ // Generate the argument list on demand.
+ Dynamic::ParameterList *parameter_list =
+ TAO_RequestInfo_Util::make_parameter_list (ACE_TRY_ENV);
+ ACE_CHECK_RETURN (0);
+
+ return parameter_list;
+}
+
+Dynamic::ExceptionList *
+POA_CORBA::ArrayDef::TAO_ServerRequestInfo_CORBA_ArrayDef_length_get::exceptions (CORBA::Environment &ACE_TRY_ENV)
+ ACE_THROW_SPEC ((CORBA::SystemException))
+{
+ // Generate the exception list on demand.
+ Dynamic::ExceptionList *exception_list =
+ TAO_RequestInfo_Util::make_exception_list (ACE_TRY_ENV);
+ ACE_CHECK_RETURN (0);
+
+ return exception_list;
+}
+
+CORBA::Any *
+POA_CORBA::ArrayDef::TAO_ServerRequestInfo_CORBA_ArrayDef_length_get::result (CORBA::Environment &ACE_TRY_ENV)
+ ACE_THROW_SPEC ((CORBA::SystemException))
+{
+ // Generate the result on demand.
+ CORBA::Boolean tk_void_any = 0;
+ CORBA::Any *result_any =
+ TAO_RequestInfo_Util::make_any (tk_void_any, ACE_TRY_ENV);
+ ACE_CHECK_RETURN (0);
+
+ CORBA::Any_var safe_result_any = result_any;
+
+ (*result_any) <<= this->_result;
+
+ return safe_result_any._retn ();
+}
+
+char *
+POA_CORBA::ArrayDef::TAO_ServerRequestInfo_CORBA_ArrayDef_length_get::target_most_derived_interface (
+ CORBA::Environment &)
+ ACE_THROW_SPEC ((CORBA::SystemException))
+{
+ return
+ CORBA::string_dup (this->_tao_impl->_interface_repository_id ());
+}
+
+CORBA::Boolean
+POA_CORBA::ArrayDef::TAO_ServerRequestInfo_CORBA_ArrayDef_length_get::target_is_a (
+ const char * id,
+ CORBA::Environment &ACE_TRY_ENV)
+ ACE_THROW_SPEC ((CORBA::SystemException))
+{
+ return this->_tao_impl->_is_a (id, ACE_TRY_ENV);
+}
+
+void
+POA_CORBA::ArrayDef::TAO_ServerRequestInfo_CORBA_ArrayDef_length_get::result (CORBA::ULong result)
+{
+ // Update the result.
+ this->_result = result;
+}
+
+POA_CORBA::ArrayDef::TAO_ServerRequestInfo_CORBA_ArrayDef_length_set::TAO_ServerRequestInfo_CORBA_ArrayDef_length_set (
+ TAO_ServerRequest &_tao_server_request,
+ POA_CORBA::ArrayDef *tao_impl,
+ const CORBA::ULong & length,
+ CORBA::Environment &
+ )
+ : TAO_ServerRequestInfo (_tao_server_request),
+ _tao_impl (tao_impl),
+ length_ (length)
+{}
+
+Dynamic::ParameterList *
+POA_CORBA::ArrayDef::TAO_ServerRequestInfo_CORBA_ArrayDef_length_set::arguments (CORBA::Environment &ACE_TRY_ENV)
+ ACE_THROW_SPEC ((CORBA::SystemException))
+{
+ // Generate the argument list on demand.
+ Dynamic::ParameterList *parameter_list =
+ TAO_RequestInfo_Util::make_parameter_list (ACE_TRY_ENV);
+ ACE_CHECK_RETURN (0);
+
+ Dynamic::ParameterList_var safe_parameter_list = parameter_list;
+
+ CORBA::ULong length_length = parameter_list->length ();
+ parameter_list->length (length_length + 1);
+ (*parameter_list)[length_length].argument <<= length_;
+ (*parameter_list)[length_length].mode = Dynamic::PARAM_IN;
+
+ return safe_parameter_list._retn ();
+}
+
+Dynamic::ExceptionList *
+POA_CORBA::ArrayDef::TAO_ServerRequestInfo_CORBA_ArrayDef_length_set::exceptions (CORBA::Environment &ACE_TRY_ENV)
+ ACE_THROW_SPEC ((CORBA::SystemException))
+{
+ // Generate the exception list on demand.
+ Dynamic::ExceptionList *exception_list =
+ TAO_RequestInfo_Util::make_exception_list (ACE_TRY_ENV);
+ ACE_CHECK_RETURN (0);
+
+ return exception_list;
+}
+
+CORBA::Any *
+POA_CORBA::ArrayDef::TAO_ServerRequestInfo_CORBA_ArrayDef_length_set::result (CORBA::Environment &ACE_TRY_ENV)
+ ACE_THROW_SPEC ((CORBA::SystemException))
+{
+ // Generate the result on demand.
+ CORBA::Boolean tk_void_any = 1;
+ CORBA::Any *result_any =
+ TAO_RequestInfo_Util::make_any (tk_void_any, ACE_TRY_ENV);
+ ACE_CHECK_RETURN (0);
+
+ return result_any;
+}
+
+char *
+POA_CORBA::ArrayDef::TAO_ServerRequestInfo_CORBA_ArrayDef_length_set::target_most_derived_interface (
+ CORBA::Environment &)
+ ACE_THROW_SPEC ((CORBA::SystemException))
+{
+ return
+ CORBA::string_dup (this->_tao_impl->_interface_repository_id ());
+}
+
+CORBA::Boolean
+POA_CORBA::ArrayDef::TAO_ServerRequestInfo_CORBA_ArrayDef_length_set::target_is_a (
+ const char * id,
+ CORBA::Environment &ACE_TRY_ENV)
+ ACE_THROW_SPEC ((CORBA::SystemException))
+{
+ return this->_tao_impl->_is_a (id, ACE_TRY_ENV);
+}
+
+POA_CORBA::ArrayDef::TAO_ServerRequestInfo_CORBA_ArrayDef_element_type_get::TAO_ServerRequestInfo_CORBA_ArrayDef_element_type_get (
+ TAO_ServerRequest &_tao_server_request,
+ POA_CORBA::ArrayDef *tao_impl,
+ CORBA::Environment &
+ )
+ : TAO_ServerRequestInfo (_tao_server_request),
+ _tao_impl (tao_impl)
+{}
+
+Dynamic::ParameterList *
+POA_CORBA::ArrayDef::TAO_ServerRequestInfo_CORBA_ArrayDef_element_type_get::arguments (CORBA::Environment &ACE_TRY_ENV)
+ ACE_THROW_SPEC ((CORBA::SystemException))
+{
+ // Generate the argument list on demand.
+ Dynamic::ParameterList *parameter_list =
+ TAO_RequestInfo_Util::make_parameter_list (ACE_TRY_ENV);
+ ACE_CHECK_RETURN (0);
+
+ return parameter_list;
+}
+
+Dynamic::ExceptionList *
+POA_CORBA::ArrayDef::TAO_ServerRequestInfo_CORBA_ArrayDef_element_type_get::exceptions (CORBA::Environment &ACE_TRY_ENV)
+ ACE_THROW_SPEC ((CORBA::SystemException))
+{
+ // Generate the exception list on demand.
+ Dynamic::ExceptionList *exception_list =
+ TAO_RequestInfo_Util::make_exception_list (ACE_TRY_ENV);
+ ACE_CHECK_RETURN (0);
+
+ return exception_list;
+}
+
+CORBA::Any *
+POA_CORBA::ArrayDef::TAO_ServerRequestInfo_CORBA_ArrayDef_element_type_get::result (CORBA::Environment &ACE_TRY_ENV)
+ ACE_THROW_SPEC ((CORBA::SystemException))
+{
+ // Generate the result on demand.
+ CORBA::Boolean tk_void_any = 0;
+ CORBA::Any *result_any =
+ TAO_RequestInfo_Util::make_any (tk_void_any, ACE_TRY_ENV);
+ ACE_CHECK_RETURN (0);
+
+ CORBA::Any_var safe_result_any = result_any;
+
+ (*result_any) <<= this->_result;
+
+ return safe_result_any._retn ();
+}
+
+char *
+POA_CORBA::ArrayDef::TAO_ServerRequestInfo_CORBA_ArrayDef_element_type_get::target_most_derived_interface (
+ CORBA::Environment &)
+ ACE_THROW_SPEC ((CORBA::SystemException))
+{
+ return
+ CORBA::string_dup (this->_tao_impl->_interface_repository_id ());
+}
+
+CORBA::Boolean
+POA_CORBA::ArrayDef::TAO_ServerRequestInfo_CORBA_ArrayDef_element_type_get::target_is_a (
+ const char * id,
+ CORBA::Environment &ACE_TRY_ENV)
+ ACE_THROW_SPEC ((CORBA::SystemException))
+{
+ return this->_tao_impl->_is_a (id, ACE_TRY_ENV);
+}
+
+void
+POA_CORBA::ArrayDef::TAO_ServerRequestInfo_CORBA_ArrayDef_element_type_get::result (CORBA::TypeCode_ptr result)
+{
+ // Update the result.
+ this->_result = result;
+}
+
+POA_CORBA::ArrayDef::TAO_ServerRequestInfo_CORBA_ArrayDef_element_type_def_get::TAO_ServerRequestInfo_CORBA_ArrayDef_element_type_def_get (
+ TAO_ServerRequest &_tao_server_request,
+ POA_CORBA::ArrayDef *tao_impl,
+ CORBA::Environment &
+ )
+ : TAO_ServerRequestInfo (_tao_server_request),
+ _tao_impl (tao_impl)
+{}
+
+Dynamic::ParameterList *
+POA_CORBA::ArrayDef::TAO_ServerRequestInfo_CORBA_ArrayDef_element_type_def_get::arguments (CORBA::Environment &ACE_TRY_ENV)
+ ACE_THROW_SPEC ((CORBA::SystemException))
+{
+ // Generate the argument list on demand.
+ Dynamic::ParameterList *parameter_list =
+ TAO_RequestInfo_Util::make_parameter_list (ACE_TRY_ENV);
+ ACE_CHECK_RETURN (0);
+
+ return parameter_list;
+}
+
+Dynamic::ExceptionList *
+POA_CORBA::ArrayDef::TAO_ServerRequestInfo_CORBA_ArrayDef_element_type_def_get::exceptions (CORBA::Environment &ACE_TRY_ENV)
+ ACE_THROW_SPEC ((CORBA::SystemException))
+{
+ // Generate the exception list on demand.
+ Dynamic::ExceptionList *exception_list =
+ TAO_RequestInfo_Util::make_exception_list (ACE_TRY_ENV);
+ ACE_CHECK_RETURN (0);
+
+ return exception_list;
+}
+
+CORBA::Any *
+POA_CORBA::ArrayDef::TAO_ServerRequestInfo_CORBA_ArrayDef_element_type_def_get::result (CORBA::Environment &ACE_TRY_ENV)
+ ACE_THROW_SPEC ((CORBA::SystemException))
+{
+ // Generate the result on demand.
+ CORBA::Boolean tk_void_any = 0;
+ CORBA::Any *result_any =
+ TAO_RequestInfo_Util::make_any (tk_void_any, ACE_TRY_ENV);
+ ACE_CHECK_RETURN (0);
+
+ CORBA::Any_var safe_result_any = result_any;
+
+ (*result_any) <<= this->_result;
+
+ return safe_result_any._retn ();
+}
+
+char *
+POA_CORBA::ArrayDef::TAO_ServerRequestInfo_CORBA_ArrayDef_element_type_def_get::target_most_derived_interface (
+ CORBA::Environment &)
+ ACE_THROW_SPEC ((CORBA::SystemException))
+{
+ return
+ CORBA::string_dup (this->_tao_impl->_interface_repository_id ());
+}
+
+CORBA::Boolean
+POA_CORBA::ArrayDef::TAO_ServerRequestInfo_CORBA_ArrayDef_element_type_def_get::target_is_a (
+ const char * id,
+ CORBA::Environment &ACE_TRY_ENV)
+ ACE_THROW_SPEC ((CORBA::SystemException))
+{
+ return this->_tao_impl->_is_a (id, ACE_TRY_ENV);
+}
+
+void
+POA_CORBA::ArrayDef::TAO_ServerRequestInfo_CORBA_ArrayDef_element_type_def_get::result (CORBA::IDLType_ptr result)
+{
+ // Update the result.
+ this->_result = result;
+}
+
+POA_CORBA::ArrayDef::TAO_ServerRequestInfo_CORBA_ArrayDef_element_type_def_set::TAO_ServerRequestInfo_CORBA_ArrayDef_element_type_def_set (
+ TAO_ServerRequest &_tao_server_request,
+ POA_CORBA::ArrayDef *tao_impl,
+ CORBA::IDLType_ptr element_type_def,
+ CORBA::Environment &
+ )
+ : TAO_ServerRequestInfo (_tao_server_request),
+ _tao_impl (tao_impl),
+ element_type_def_ (element_type_def)
+{}
+
+Dynamic::ParameterList *
+POA_CORBA::ArrayDef::TAO_ServerRequestInfo_CORBA_ArrayDef_element_type_def_set::arguments (CORBA::Environment &ACE_TRY_ENV)
+ ACE_THROW_SPEC ((CORBA::SystemException))
+{
+ // Generate the argument list on demand.
+ Dynamic::ParameterList *parameter_list =
+ TAO_RequestInfo_Util::make_parameter_list (ACE_TRY_ENV);
+ ACE_CHECK_RETURN (0);
+
+ Dynamic::ParameterList_var safe_parameter_list = parameter_list;
+
+ CORBA::ULong length_element_type_def = parameter_list->length ();
+ parameter_list->length (length_element_type_def + 1);
+ (*parameter_list)[length_element_type_def].argument <<= this->element_type_def_;
+
+ (*parameter_list)[length_element_type_def].mode = Dynamic::PARAM_IN;
+
+ return safe_parameter_list._retn ();
+}
+
+Dynamic::ExceptionList *
+POA_CORBA::ArrayDef::TAO_ServerRequestInfo_CORBA_ArrayDef_element_type_def_set::exceptions (CORBA::Environment &ACE_TRY_ENV)
+ ACE_THROW_SPEC ((CORBA::SystemException))
+{
+ // Generate the exception list on demand.
+ Dynamic::ExceptionList *exception_list =
+ TAO_RequestInfo_Util::make_exception_list (ACE_TRY_ENV);
+ ACE_CHECK_RETURN (0);
+
+ return exception_list;
+}
+
+CORBA::Any *
+POA_CORBA::ArrayDef::TAO_ServerRequestInfo_CORBA_ArrayDef_element_type_def_set::result (CORBA::Environment &ACE_TRY_ENV)
+ ACE_THROW_SPEC ((CORBA::SystemException))
+{
+ // Generate the result on demand.
+ CORBA::Boolean tk_void_any = 1;
+ CORBA::Any *result_any =
+ TAO_RequestInfo_Util::make_any (tk_void_any, ACE_TRY_ENV);
+ ACE_CHECK_RETURN (0);
+
+ return result_any;
+}
+
+char *
+POA_CORBA::ArrayDef::TAO_ServerRequestInfo_CORBA_ArrayDef_element_type_def_set::target_most_derived_interface (
+ CORBA::Environment &)
+ ACE_THROW_SPEC ((CORBA::SystemException))
+{
+ return
+ CORBA::string_dup (this->_tao_impl->_interface_repository_id ());
+}
+
+CORBA::Boolean
+POA_CORBA::ArrayDef::TAO_ServerRequestInfo_CORBA_ArrayDef_element_type_def_set::target_is_a (
+ const char * id,
+ CORBA::Environment &ACE_TRY_ENV)
+ ACE_THROW_SPEC ((CORBA::SystemException))
+{
+ return this->_tao_impl->_is_a (id, ACE_TRY_ENV);
+}
+
+#endif /* TAO_HAS_INTERCEPTORS */
+class TAO_CORBA_ExceptionDef_Perfect_Hash_OpTable : public TAO_Perfect_Hash_OpTable
+{
+private:
+ unsigned int hash (const char *str, unsigned int len);
+public:
+ const TAO_operation_db_entry * lookup (const char *str, unsigned int len);
+};
+/* starting time is 10:44:37 */
+/* C++ code produced by gperf version 2.8 (ACE version) */
+/* Command-line: gperf -m -M -J -c -C -D -E -T -f 0 -F 0 -a -o -t -p -K opname_ -L C++ -Z TAO_CORBA_ExceptionDef_Perfect_Hash_OpTable -N lookup */
+unsigned int
+TAO_CORBA_ExceptionDef_Perfect_Hash_OpTable::hash (const char *str, unsigned int len)
+{
+ static const unsigned char asso_values[] =
+ {
+#if defined (ACE_MVS)
+ 61, 61, 61, 61, 61, 61, 61, 61, 61, 61,
+ 61, 61, 61, 61, 61, 61, 61, 61, 61, 61,
+ 61, 61, 61, 61, 61, 61, 61, 61, 61, 61,
+ 61, 61, 61, 61, 61, 61, 61, 61, 61, 61,
+ 61, 61, 61, 61, 61, 61, 61, 61, 61, 61,
+ 61, 61, 61, 61, 61, 61, 61, 61, 61, 61,
+ 61, 61, 61, 61, 61, 61, 61, 61, 61, 61,
+ 61, 61, 61, 61, 61, 61, 61, 61, 61, 61,
+ 61, 61, 61, 61, 61, 61, 61, 61, 61, 61,
+ 61, 61, 61, 61, 61, 61, 61, 61, 61, 61,
+ 61, 61, 61, 61, 61, 61, 61, 61, 61, 0,
+ 61, 61, 61, 61, 61, 61, 61, 61, 61, 61,
+ 61, 61, 61, 61, 61, 61, 61, 61, 61, 0,
+ 61, 25, 3, 0, 61, 61, 61, 61, 61, 61,
+ 61, 61, 61, 61, 61, 61, 61, 10, 0, 5,
+ 61, 10, 61, 61, 61, 61, 61, 61, 61, 61,
+ 61, 61, 20, 20, 61, 61, 61, 10, 5, 61,
+ 61, 61, 61, 61, 61, 61, 61, 61, 61, 61,
+ 61, 61, 61, 61, 61, 61, 61, 61, 61, 61,
+ 61, 61, 61, 61, 61, 61, 61, 61, 61, 61,
+ 61, 61, 61, 61, 61, 61, 61, 61, 61, 61,
+ 61, 61, 61, 61, 61, 61, 61, 61, 61, 61,
+ 61, 61, 61, 61, 61, 61, 61, 61, 61, 61,
+ 61, 61, 61, 61, 61, 61, 61, 61, 61, 61,
+ 61, 61, 61, 61, 61, 61, 61, 61, 61, 61,
+ 61, 61, 61, 61, 61, 61,
+#else
+ 61, 61, 61, 61, 61, 61, 61, 61, 61, 61,
+ 61, 61, 61, 61, 61, 61, 61, 61, 61, 61,
+ 61, 61, 61, 61, 61, 61, 61, 61, 61, 61,
+ 61, 61, 61, 61, 61, 61, 61, 61, 61, 61,
+ 61, 61, 61, 61, 61, 61, 61, 61, 61, 61,
+ 61, 61, 61, 61, 61, 61, 61, 61, 61, 61,
+ 61, 61, 61, 61, 61, 61, 61, 61, 61, 61,
+ 61, 61, 61, 61, 61, 61, 61, 61, 61, 61,
+ 61, 61, 61, 61, 61, 61, 61, 61, 61, 61,
+ 61, 61, 61, 61, 61, 0, 61, 0, 61, 25,
+ 3, 0, 61, 61, 61, 61, 61, 61, 10, 0,
+ 5, 61, 10, 61, 61, 20, 20, 61, 61, 61,
+ 10, 5, 61, 61, 61, 61, 61, 61,
+#endif /* ACE_MVS */
+ };
+ return len + asso_values[str[len - 1]] + asso_values[str[0]];
+}
+
+const class TAO_operation_db_entry *
+TAO_CORBA_ExceptionDef_Perfect_Hash_OpTable::lookup (const char *str, unsigned int len)
+{
+ enum
+ {
+ TOTAL_KEYWORDS = 35,
+ MIN_WORD_LENGTH = 4,
+ MAX_WORD_LENGTH = 26,
+ MIN_HASH_VALUE = 4,
+ MAX_HASH_VALUE = 60,
+ HASH_VALUE_RANGE = 57,
+ DUPLICATES = 7
+ };
+
+ static const class TAO_operation_db_entry wordlist[] =
+ {
+ {"",0},{"",0},{"",0},{"",0},
+ {"move", &POA_CORBA::ExceptionDef::move_skel},
+ {"_is_a", &POA_CORBA::ExceptionDef::_is_a_skel},
+ {"_get_type", &POA_CORBA::ExceptionDef::_get_type_skel},
+ {"_set_name", &POA_CORBA::ExceptionDef::_set_name_skel},
+ {"_get_name", &POA_CORBA::ExceptionDef::_get_name_skel},
+ {"_get_id", &POA_CORBA::ExceptionDef::_get_id_skel},
+ {"_set_id", &POA_CORBA::ExceptionDef::_set_id_skel},
+ {"describe", &POA_CORBA::ExceptionDef::describe_skel},
+ {"destroy", &POA_CORBA::ExceptionDef::destroy_skel},
+ {"_get_def_kind", &POA_CORBA::ExceptionDef::_get_def_kind_skel},
+ {"_get_version", &POA_CORBA::ExceptionDef::_get_version_skel},
+ {"_set_version", &POA_CORBA::ExceptionDef::_set_version_skel},
+ {"_get_absolute_name", &POA_CORBA::ExceptionDef::_get_absolute_name_skel},
+ {"_get_defined_in", &POA_CORBA::ExceptionDef::_get_defined_in_skel},
+ {"lookup_name", &POA_CORBA::ExceptionDef::lookup_name_skel},
+ {"lookup", &POA_CORBA::ExceptionDef::lookup_skel},
+ {"_get_containing_repository", &POA_CORBA::ExceptionDef::_get_containing_repository_skel},
+ {"_get_members", &POA_CORBA::ExceptionDef::_get_members_skel},
+ {"_set_members", &POA_CORBA::ExceptionDef::_set_members_skel},
+ {"_non_existent", &POA_CORBA::ExceptionDef::_non_existent_skel},
+ {"create_enum", &POA_CORBA::ExceptionDef::create_enum_skel},
+ {"create_value", &POA_CORBA::ExceptionDef::create_value_skel},
+ {"create_module", &POA_CORBA::ExceptionDef::create_module_skel},
+ {"create_native", &POA_CORBA::ExceptionDef::create_native_skel},
+ {"describe_contents", &POA_CORBA::ExceptionDef::describe_contents_skel},
+ {"create_interface", &POA_CORBA::ExceptionDef::create_interface_skel},
+ {"create_union", &POA_CORBA::ExceptionDef::create_union_skel},
+ {"create_exception", &POA_CORBA::ExceptionDef::create_exception_skel},
+ {"create_local_interface", &POA_CORBA::ExceptionDef::create_local_interface_skel},
+ {"create_abstract_interface", &POA_CORBA::ExceptionDef::create_abstract_interface_skel},
+ {"create_value_box", &POA_CORBA::ExceptionDef::create_value_box_skel},
+ {"contents", &POA_CORBA::ExceptionDef::contents_skel},
+ {"create_alias", &POA_CORBA::ExceptionDef::create_alias_skel},
+ {"create_struct", &POA_CORBA::ExceptionDef::create_struct_skel},
+ {"create_constant", &POA_CORBA::ExceptionDef::create_constant_skel},
+ };
+
+ static const signed char lookup[] =
+ {
+ -1, -1, -6, -3, 4, 5, -1, -9, -2, -67, -63, 11, -1, -14,
+ -2, 12, 13, -64, 16, -1, 17, 18, -1, -1, -1, -1, 19, -1,
+ -1, -21, -2, 20, -63, 23, -26, -2, 24, 25, -64, -1, 28, 29,
+ 30, -1, -1, -1, 31, 32, -1, -1, 33, 34, -1, 35, -1, -1,
+ -1, 36, 37, -1, 38,
+ };
+
+ if (len <= MAX_WORD_LENGTH && len >= MIN_WORD_LENGTH)
+ {
+ unsigned int key = hash (str, len);
+
+ if (key <= MAX_HASH_VALUE && key >= MIN_HASH_VALUE)
+ {
+ int slot = lookup[key];
+
+ if (slot >= 0 && slot < MAX_HASH_VALUE)
+ {
+ const char *s = wordlist[slot].opname_;
+
+ if (*str == *s && !strncmp (str + 1, s + 1, len - 1))
+ return &wordlist[slot];
+ }
+ else if (slot < 0 && slot >= -MAX_HASH_VALUE)
+ return 0;
+ else
+ {
+ unsigned int offset = key + slot + (slot > 0 ? -MAX_HASH_VALUE : MAX_HASH_VALUE);
+ const class TAO_operation_db_entry *base = &wordlist[-lookup[offset]];
+ const class TAO_operation_db_entry *ptr = base + -lookup[offset + 1];
+
+ while (--ptr >= base)
+ if (*str == *ptr->opname_ && !strncmp (str + 1, ptr->opname_ + 1, len - 1))
+ return ptr;
+ }
+ }
+ }
+ return 0;
+}
+/* ending time is 10:44:37 */
+static TAO_CORBA_ExceptionDef_Perfect_Hash_OpTable tao_CORBA_ExceptionDef_optable;
+
+
+///////////////////////////////////////////////////////////////////////
+// Strategized Proxy Broker Implementation
+//
+
+// Factory function Implementation.
+POA_CORBA::_TAO_ExceptionDef_Strategized_Proxy_Broker *POA_CORBA::_TAO_ExceptionDef_Strategized_Proxy_Broker::the_TAO_ExceptionDef_Strategized_Proxy_Broker (void)
+{
+ static POA_CORBA::_TAO_ExceptionDef_Strategized_Proxy_Broker strategized_proxy_broker;
+ return &strategized_proxy_broker;
+}
+
+POA_CORBA::_TAO_ExceptionDef_Strategized_Proxy_Broker::_TAO_ExceptionDef_Strategized_Proxy_Broker (void)
+{
+ for (int i = 0; i < TAO_Collocation_Strategies::CS_LAST; ++i)
+ this->proxy_cache_[i] = 0;
+
+}
+
+POA_CORBA::_TAO_ExceptionDef_Strategized_Proxy_Broker::~_TAO_ExceptionDef_Strategized_Proxy_Broker (void)
+{
+ for (int i = 0; i < TAO_Collocation_Strategies::CS_LAST; ++i)
+ delete this->proxy_cache_[i];
+
+}
+
+_TAO_ExceptionDef_Proxy_Impl&
+POA_CORBA::_TAO_ExceptionDef_Strategized_Proxy_Broker::select_proxy (
+ ::CORBA::ExceptionDef *object,
+ CORBA::Environment &ACE_TRY_ENV
+ )
+{
+ int strategy =
+ TAO_ORB_Core::collocation_strategy (object);
+
+ if (this->proxy_cache_[strategy] != 0)
+ return *this->proxy_cache_[strategy];
+
+ this->create_proxy (strategy, ACE_TRY_ENV);
+ ACE_CHECK_RETURN (*this->proxy_cache_[strategy]);
+
+ return *this->proxy_cache_[strategy];
+
+}
+
+void
+POA_CORBA::_TAO_ExceptionDef_Strategized_Proxy_Broker::create_proxy (
+ int strategy,
+ CORBA::Environment &ACE_TRY_ENV
+ )
+{
+ ACE_GUARD (TAO_SYNCH_MUTEX, guard, this->mutex_);
+
+ if (this->proxy_cache_[strategy] == 0)
+ {
+ switch (strategy)
+ {
+ case TAO_Collocation_Strategies::CS_THRU_POA_STRATEGY:
+ ACE_NEW_THROW_EX (
+ this->proxy_cache_[strategy],
+ _TAO_ExceptionDef_ThruPOA_Proxy_Impl,
+ CORBA::NO_MEMORY ()
+ );
+ ACE_CHECK;
+ break;
+
+ case TAO_Collocation_Strategies::CS_REMOTE_STRATEGY:
+ default:
+ ACE_NEW_THROW_EX (
+ this->proxy_cache_[strategy],
+ ::_TAO_ExceptionDef_Remote_Proxy_Impl,
+ CORBA::NO_MEMORY ()
+ );
+ ACE_CHECK;
+ break;
+
+ }
+
+ }
+}
+
+
+//
+// End Strategized Proxy Broker Implementation
+///////////////////////////////////////////////////////////////////////
+
+
+_TAO_ExceptionDef_Proxy_Broker *
+CORBA__TAO_ExceptionDef_Proxy_Broker_Factory_function (CORBA::Object_ptr obj)
+{
+ ACE_UNUSED_ARG (obj);
+ return ::POA_CORBA::_TAO_ExceptionDef_Strategized_Proxy_Broker::the_TAO_ExceptionDef_Strategized_Proxy_Broker();
+}
+
+int
+CORBA__TAO_ExceptionDef_Proxy_Broker_Factory_Initializer (long _dummy_)
+{
+ ACE_UNUSED_ARG (_dummy_);
+
+ CORBA__TAO_ExceptionDef_Proxy_Broker_Factory_function_pointer =
+ CORBA__TAO_ExceptionDef_Proxy_Broker_Factory_function;
+
+ return 0;
+}
+
+static int CORBA__TAO_ExceptionDef_Proxy_Broker_Stub_Factory_Initializer_Scarecrow =
+ CORBA__TAO_ExceptionDef_Proxy_Broker_Factory_Initializer (ACE_reinterpret_cast (long, CORBA__TAO_ExceptionDef_Proxy_Broker_Factory_Initializer));
+
+
+///////////////////////////////////////////////////////////////////////
+// ThruPOA Proxy Implementation
+//
+
+POA_CORBA::_TAO_ExceptionDef_ThruPOA_Proxy_Impl::_TAO_ExceptionDef_ThruPOA_Proxy_Impl (void)
+{}
+
+// ThruPOA Implementation of the IDL interface methods
+
+CORBA::TypeCode_ptr POA_CORBA::_TAO_ExceptionDef_ThruPOA_Proxy_Impl::type (
+ CORBA_Object *_collocated_tao_target_,
+ CORBA::Environment &ACE_TRY_ENV
+ )
+ ACE_THROW_SPEC ((
+ CORBA::SystemException
+ ))
+{
+ CORBA::TypeCode_var _tao_retval;
+ ACE_UNUSED_ARG (_tao_retval);
+ TAO_Object_Adapter::Servant_Upcall servant_upcall (
+ _collocated_tao_target_->_stubobj ()->servant_orb_var ()->orb_core ()
+ );
+ CORBA::Object_var forward_to;
+ servant_upcall.prepare_for_upcall (
+ _collocated_tao_target_->_object_key (),
+ "type",
+ forward_to.out (),
+ ACE_TRY_ENV
+ );
+ ACE_CHECK_RETURN (0);
+ return ACE_reinterpret_cast (
+ POA_CORBA::ExceptionDef_ptr,
+ servant_upcall.servant ()->_downcast (
+ "IDL:omg.org/CORBA/ExceptionDef:1.0"
+ )
+ )->type (
+ ACE_TRY_ENV
+ );
+}
+
+CORBA::StructMemberSeq * POA_CORBA::_TAO_ExceptionDef_ThruPOA_Proxy_Impl::members (
+ CORBA_Object *_collocated_tao_target_,
+ CORBA::Environment &ACE_TRY_ENV
+ )
+ ACE_THROW_SPEC ((
+ CORBA::SystemException
+ ))
+{
+ CORBA::StructMemberSeq_var _tao_retval;
+ ACE_UNUSED_ARG (_tao_retval);
+ TAO_Object_Adapter::Servant_Upcall servant_upcall (
+ _collocated_tao_target_->_stubobj ()->servant_orb_var ()->orb_core ()
+ );
+ CORBA::Object_var forward_to;
+ servant_upcall.prepare_for_upcall (
+ _collocated_tao_target_->_object_key (),
+ "members",
+ forward_to.out (),
+ ACE_TRY_ENV
+ );
+ ACE_CHECK_RETURN (0);
+ return ACE_reinterpret_cast (
+ POA_CORBA::ExceptionDef_ptr,
+ servant_upcall.servant ()->_downcast (
+ "IDL:omg.org/CORBA/ExceptionDef:1.0"
+ )
+ )->members (
+ ACE_TRY_ENV
+ );
+}
+
+void POA_CORBA::_TAO_ExceptionDef_ThruPOA_Proxy_Impl::members (
+ CORBA_Object *_collocated_tao_target_,
+ const CORBA::StructMemberSeq & members,
+ CORBA::Environment &ACE_TRY_ENV
+ )
+ ACE_THROW_SPEC ((
+ CORBA::SystemException
+ ))
+{
+ TAO_Object_Adapter::Servant_Upcall servant_upcall (
+ _collocated_tao_target_->_stubobj ()->servant_orb_var ()->orb_core ()
+ );
+ CORBA::Object_var forward_to;
+ servant_upcall.prepare_for_upcall (
+ _collocated_tao_target_->_object_key (),
+ "members",
+ forward_to.out (),
+ ACE_TRY_ENV
+ );
+ ACE_CHECK;
+ ACE_reinterpret_cast (
+ POA_CORBA::ExceptionDef_ptr,
+ servant_upcall.servant ()->_downcast (
+ "IDL:omg.org/CORBA/ExceptionDef:1.0"
+ )
+ )->members (
+ members,
+ ACE_TRY_ENV
+ );
+ return;
+}
+
+//
+// End ThruPOA Proxy Implementation
+///////////////////////////////////////////////////////////////////////
+
+// skeleton constructor
+POA_CORBA::ExceptionDef::ExceptionDef (void)
+{
+ this->optable_ = &tao_CORBA_ExceptionDef_optable;
+}
+
+// copy ctor
+POA_CORBA::ExceptionDef::ExceptionDef (const ExceptionDef& rhs)
+ : ACE_NESTED_CLASS (POA_CORBA,Contained) (rhs),
+ ACE_NESTED_CLASS (POA_CORBA,Container) (rhs),
+ ACE_NESTED_CLASS (POA_CORBA,IRObject) (rhs),
+ TAO_ServantBase (rhs)
+{}
+
+// skeleton destructor
+POA_CORBA::ExceptionDef::~ExceptionDef (void)
+{
+}
+
+void POA_CORBA::ExceptionDef::_get_type_skel (
+ TAO_ServerRequest &_tao_server_request,
+ void *_tao_object_reference,
+ void * /* context */,
+ CORBA::Environment &ACE_TRY_ENV
+ )
+{
+ POA_CORBA::ExceptionDef *_tao_impl = (POA_CORBA::ExceptionDef *)_tao_object_reference;
+
+ CORBA::TypeCode_var _tao_retval;
+
+#if (TAO_HAS_INTERCEPTORS == 1)
+ TAO_ServerRequestInterceptor_Adapter _tao_vfr (
+ _tao_server_request.orb_core ()->server_request_interceptors (),
+ _tao_server_request.interceptor_count ()
+ );
+
+ POA_CORBA::ExceptionDef::TAO_ServerRequestInfo_CORBA_ExceptionDef_type_get ri (
+ _tao_server_request,
+ _tao_impl,
+ ACE_TRY_ENV
+ );
+
+ ACE_TRY
+ {
+ _tao_vfr.receive_request (&ri, ACE_TRY_ENV);
+ ACE_TRY_CHECK;
+
+#endif /* TAO_HAS_INTERCEPTORS */
+ _tao_retval =
+ _tao_impl->type (
+ ACE_TRY_ENV
+ );
+ TAO_INTERCEPTOR_CHECK;
+
+#if (TAO_HAS_INTERCEPTORS == 1)
+ CORBA::TypeCode_ptr _tao_retval_info = _tao_retval._retn ();
+ ri.result (_tao_retval_info);
+ _tao_retval = _tao_retval_info;
+ ri.reply_status (PortableInterceptor::SUCCESSFUL);
+ _tao_vfr.send_reply (&ri, ACE_TRY_ENV);
+ ACE_TRY_CHECK;
+ }
+ ACE_CATCH (PortableInterceptor::ForwardRequest, exc)
+ {
+ ri.forward_reference (exc);
+ _tao_vfr.send_other (
+ &ri,
+ ACE_TRY_ENV
+ );
+ ACE_TRY_CHECK;
+ _tao_server_request.forward_location (exc.forward.in ());
+ }
+ ACE_CATCHANY
+ {
+ ri.exception (&ACE_ANY_EXCEPTION);
+ _tao_vfr.send_exception (
+ &ri,
+ ACE_TRY_ENV
+ );
+ ACE_TRY_CHECK;
+ ACE_RE_THROW;
+ }
+ ACE_ENDTRY;
+ ACE_CHECK;
+#endif /* TAO_HAS_INTERCEPTORS */
+
+ _tao_server_request.init_reply ();
+
+ TAO_OutputCDR &_tao_out = _tao_server_request.outgoing ();
+
+ if (!(
+ (_tao_out << _tao_retval.in ())
+ ))
+ ACE_THROW (CORBA::MARSHAL());
+
+ // In case ACE_TRY_ENV is not used in this function
+ ACE_UNUSED_ARG (ACE_TRY_ENV);
+}
+
+void POA_CORBA::ExceptionDef::_get_members_skel (
+ TAO_ServerRequest &_tao_server_request,
+ void *_tao_object_reference,
+ void * /* context */,
+ CORBA::Environment &ACE_TRY_ENV
+ )
+{
+ POA_CORBA::ExceptionDef *_tao_impl = (POA_CORBA::ExceptionDef *)_tao_object_reference;
+
+ CORBA::StructMemberSeq_var _tao_retval;
+
+#if (TAO_HAS_INTERCEPTORS == 1)
+ TAO_ServerRequestInterceptor_Adapter _tao_vfr (
+ _tao_server_request.orb_core ()->server_request_interceptors (),
+ _tao_server_request.interceptor_count ()
+ );
+
+ POA_CORBA::ExceptionDef::TAO_ServerRequestInfo_CORBA_ExceptionDef_members_get ri (
+ _tao_server_request,
+ _tao_impl,
+ ACE_TRY_ENV
+ );
+
+ ACE_TRY
+ {
+ _tao_vfr.receive_request (&ri, ACE_TRY_ENV);
+ ACE_TRY_CHECK;
+
+#endif /* TAO_HAS_INTERCEPTORS */
+ _tao_retval =
+ _tao_impl->members (
+ ACE_TRY_ENV
+ );
+ TAO_INTERCEPTOR_CHECK;
+
+#if (TAO_HAS_INTERCEPTORS == 1)
+ CORBA::StructMemberSeq * _tao_retval_info = _tao_retval._retn ();
+ ri.result (_tao_retval_info);
+ _tao_retval = _tao_retval_info;
+ ri.reply_status (PortableInterceptor::SUCCESSFUL);
+ _tao_vfr.send_reply (&ri, ACE_TRY_ENV);
+ ACE_TRY_CHECK;
+ }
+ ACE_CATCH (PortableInterceptor::ForwardRequest, exc)
+ {
+ ri.forward_reference (exc);
+ _tao_vfr.send_other (
+ &ri,
+ ACE_TRY_ENV
+ );
+ ACE_TRY_CHECK;
+ _tao_server_request.forward_location (exc.forward.in ());
+ }
+ ACE_CATCHANY
+ {
+ ri.exception (&ACE_ANY_EXCEPTION);
+ _tao_vfr.send_exception (
+ &ri,
+ ACE_TRY_ENV
+ );
+ ACE_TRY_CHECK;
+ ACE_RE_THROW;
+ }
+ ACE_ENDTRY;
+ ACE_CHECK;
+#endif /* TAO_HAS_INTERCEPTORS */
+
+ _tao_server_request.init_reply ();
+
+ TAO_OutputCDR &_tao_out = _tao_server_request.outgoing ();
+
+ if (!(
+ (_tao_out << _tao_retval.in ())
+ ))
+ ACE_THROW (CORBA::MARSHAL());
+
+ // In case ACE_TRY_ENV is not used in this function
+ ACE_UNUSED_ARG (ACE_TRY_ENV);
+}
+
+void POA_CORBA::ExceptionDef::_set_members_skel (
+ TAO_ServerRequest &_tao_server_request,
+ void *_tao_object_reference,
+ void * /* context */,
+ CORBA::Environment &ACE_TRY_ENV
+ )
+{
+ TAO_InputCDR &_tao_in = _tao_server_request.incoming ();
+ POA_CORBA::ExceptionDef *_tao_impl = (POA_CORBA::ExceptionDef *)_tao_object_reference;
+
+ _tao_server_request.argument_flag (0);
+ CORBA::StructMemberSeq members;
+ if (!(
+ (_tao_in >> members)
+ ))
+ ACE_THROW (CORBA::MARSHAL());
+
+
+#if (TAO_HAS_INTERCEPTORS == 1)
+ TAO_ServerRequestInterceptor_Adapter _tao_vfr (
+ _tao_server_request.orb_core ()->server_request_interceptors (),
+ _tao_server_request.interceptor_count ()
+ );
+
+ POA_CORBA::ExceptionDef::TAO_ServerRequestInfo_CORBA_ExceptionDef_members_set ri (
+ _tao_server_request,
+ _tao_impl,
+ members,
+ ACE_TRY_ENV
+ );
+
+ ACE_TRY
+ {
+ _tao_vfr.receive_request (&ri, ACE_TRY_ENV);
+ ACE_TRY_CHECK;
+
+#endif /* TAO_HAS_INTERCEPTORS */
+
+ _tao_impl->members (
+ members,
+ ACE_TRY_ENV
+ );
+ TAO_INTERCEPTOR_CHECK;
+
+#if (TAO_HAS_INTERCEPTORS == 1)
+ ri.reply_status (PortableInterceptor::SUCCESSFUL);
+ _tao_vfr.send_reply (&ri, ACE_TRY_ENV);
+ ACE_TRY_CHECK;
+ }
+ ACE_CATCH (PortableInterceptor::ForwardRequest, exc)
+ {
+ ri.forward_reference (exc);
+ _tao_vfr.send_other (
+ &ri,
+ ACE_TRY_ENV
+ );
+ ACE_TRY_CHECK;
+ _tao_server_request.forward_location (exc.forward.in ());
+ }
+ ACE_CATCHANY
+ {
+ ri.exception (&ACE_ANY_EXCEPTION);
+ _tao_vfr.send_exception (
+ &ri,
+ ACE_TRY_ENV
+ );
+ ACE_TRY_CHECK;
+ ACE_RE_THROW;
+ }
+ ACE_ENDTRY;
+ ACE_CHECK;
+#endif /* TAO_HAS_INTERCEPTORS */
+
+ _tao_server_request.init_reply ();
+
+ // In case ACE_TRY_ENV is not used in this function
+ ACE_UNUSED_ARG (ACE_TRY_ENV);
+}
+
+void POA_CORBA::ExceptionDef::_is_a_skel (
+ TAO_ServerRequest &_tao_server_request,
+ void * _tao_object_reference,
+ void * /* context */,
+ CORBA::Environment &ACE_TRY_ENV
+ )
+{
+ TAO_InputCDR &_tao_in = _tao_server_request.incoming ();
+ POA_CORBA::ExceptionDef *_tao_impl = (POA_CORBA::ExceptionDef *) _tao_object_reference;
+ CORBA::Boolean _tao_retval = 0;
+ CORBA::String_var value;
+ if (!(_tao_in >> value.out ()))
+ ACE_THROW (CORBA::MARSHAL ());
+
+ _tao_retval = _tao_impl->_is_a (value.in (), ACE_TRY_ENV);
+ ACE_CHECK;
+
+ _tao_server_request.init_reply ();
+ TAO_OutputCDR &_tao_out = _tao_server_request.outgoing ();
+ if (!(_tao_out << CORBA::Any::from_boolean (_tao_retval)))
+ ACE_THROW (CORBA::MARSHAL ());
+}
+
+void POA_CORBA::ExceptionDef::_non_existent_skel (
+ TAO_ServerRequest &_tao_server_request,
+ void * _tao_object_reference,
+ void * /* context */,
+ CORBA::Environment &ACE_TRY_ENV
+ )
+{
+ POA_CORBA::ExceptionDef *_tao_impl = (POA_CORBA::ExceptionDef *) _tao_object_reference;
+ CORBA::Boolean _tao_retval = _tao_impl->_non_existent (ACE_TRY_ENV);
+ ACE_CHECK;
+
+ _tao_server_request.init_reply ();
+ TAO_OutputCDR &_tao_out = _tao_server_request.outgoing ();
+ if (!(_tao_out << CORBA::Any::from_boolean (_tao_retval)))
+ ACE_THROW (CORBA::MARSHAL ());
+}
+
+CORBA::Boolean POA_CORBA::ExceptionDef::_is_a (
+ const char* value,
+ CORBA::Environment &ACE_TRY_ENV
+ )
+{
+ const char *base_id = CORBA::_tc_Object->id (ACE_TRY_ENV);
+ ACE_CHECK_RETURN (0);
+
+ if (
+ (!ACE_OS::strcmp ((char *)value, "IDL:omg.org/CORBA/ExceptionDef:1.0")) ||
+ (!ACE_OS::strcmp ((char *)value, "IDL:omg.org/CORBA/Contained:1.0")) ||
+ (!ACE_OS::strcmp ((char *)value, "IDL:omg.org/CORBA/Container:1.0")) ||
+ (!ACE_OS::strcmp ((char *)value, "IDL:omg.org/CORBA/IRObject:1.0")) ||
+ (!ACE_OS::strcmp ((char *)value, base_id)))
+ return 1;
+ else
+ return 0;
+}
+
+void* POA_CORBA::ExceptionDef::_downcast (
+ const char* logical_type_id
+ )
+{
+ if (ACE_OS::strcmp (logical_type_id, "IDL:omg.org/CORBA/ExceptionDef:1.0") == 0)
+ return ACE_static_cast (POA_CORBA::ExceptionDef_ptr, this);
+ if (ACE_OS::strcmp (logical_type_id, "IDL:omg.org/CORBA/Contained:1.0") == 0)
+ return ACE_static_cast (POA_CORBA::Contained_ptr, this);
+ if (ACE_OS::strcmp (logical_type_id, "IDL:omg.org/CORBA/Container:1.0") == 0)
+ return ACE_static_cast (POA_CORBA::Container_ptr, this);
+ if (ACE_OS::strcmp (logical_type_id, "IDL:omg.org/CORBA/IRObject:1.0") == 0)
+ return ACE_static_cast (POA_CORBA::IRObject_ptr, this);
+ if (ACE_OS::strcmp (logical_type_id, "IDL:omg.org/CORBA/Object:1.0") == 0)
+ return ACE_static_cast(PortableServer::Servant, this);
+ return 0;
+}
+
+void POA_CORBA::ExceptionDef::_dispatch (TAO_ServerRequest &req, void *context, CORBA::Environment &ACE_TRY_ENV)
+{
+ this->synchronous_upcall_dispatch(req, context, this, ACE_TRY_ENV);
+}
+
+const char* POA_CORBA::ExceptionDef::_interface_repository_id (void) const
+{
+ return "IDL:omg.org/CORBA/ExceptionDef:1.0";
+}
+
+CORBA::ExceptionDef*
+POA_CORBA::ExceptionDef::_this (CORBA_Environment &ACE_TRY_ENV)
+{
+ TAO_Stub *stub = this->_create_stub (ACE_TRY_ENV);
+ ACE_CHECK_RETURN (0);
+
+ CORBA::Object_ptr tmp = CORBA::Object::_nil ();
+
+ if (stub->servant_orb_var ()->orb_core ()->optimize_collocation_objects ())
+ ACE_NEW_RETURN (tmp, CORBA::Object (stub, 1, this), 0);
+ else
+ ACE_NEW_RETURN (tmp, CORBA::Object (stub, 0, this), 0);
+
+ CORBA::Object_var obj = tmp;
+ return ::CORBA::ExceptionDef::_unchecked_narrow (obj.in ());
+}
+
+
+#if (TAO_HAS_INTERCEPTORS == 1)
+POA_CORBA::ExceptionDef::TAO_ServerRequestInfo_CORBA_ExceptionDef_type_get::TAO_ServerRequestInfo_CORBA_ExceptionDef_type_get (
+ TAO_ServerRequest &_tao_server_request,
+ POA_CORBA::ExceptionDef *tao_impl,
+ CORBA::Environment &
+ )
+ : TAO_ServerRequestInfo (_tao_server_request),
+ _tao_impl (tao_impl)
+{}
+
+Dynamic::ParameterList *
+POA_CORBA::ExceptionDef::TAO_ServerRequestInfo_CORBA_ExceptionDef_type_get::arguments (CORBA::Environment &ACE_TRY_ENV)
+ ACE_THROW_SPEC ((CORBA::SystemException))
+{
+ // Generate the argument list on demand.
+ Dynamic::ParameterList *parameter_list =
+ TAO_RequestInfo_Util::make_parameter_list (ACE_TRY_ENV);
+ ACE_CHECK_RETURN (0);
+
+ return parameter_list;
+}
+
+Dynamic::ExceptionList *
+POA_CORBA::ExceptionDef::TAO_ServerRequestInfo_CORBA_ExceptionDef_type_get::exceptions (CORBA::Environment &ACE_TRY_ENV)
+ ACE_THROW_SPEC ((CORBA::SystemException))
+{
+ // Generate the exception list on demand.
+ Dynamic::ExceptionList *exception_list =
+ TAO_RequestInfo_Util::make_exception_list (ACE_TRY_ENV);
+ ACE_CHECK_RETURN (0);
+
+ return exception_list;
+}
+
+CORBA::Any *
+POA_CORBA::ExceptionDef::TAO_ServerRequestInfo_CORBA_ExceptionDef_type_get::result (CORBA::Environment &ACE_TRY_ENV)
+ ACE_THROW_SPEC ((CORBA::SystemException))
+{
+ // Generate the result on demand.
+ CORBA::Boolean tk_void_any = 0;
+ CORBA::Any *result_any =
+ TAO_RequestInfo_Util::make_any (tk_void_any, ACE_TRY_ENV);
+ ACE_CHECK_RETURN (0);
+
+ CORBA::Any_var safe_result_any = result_any;
+
+ (*result_any) <<= this->_result;
+
+ return safe_result_any._retn ();
+}
+
+char *
+POA_CORBA::ExceptionDef::TAO_ServerRequestInfo_CORBA_ExceptionDef_type_get::target_most_derived_interface (
+ CORBA::Environment &)
+ ACE_THROW_SPEC ((CORBA::SystemException))
+{
+ return
+ CORBA::string_dup (this->_tao_impl->_interface_repository_id ());
+}
+
+CORBA::Boolean
+POA_CORBA::ExceptionDef::TAO_ServerRequestInfo_CORBA_ExceptionDef_type_get::target_is_a (
+ const char * id,
+ CORBA::Environment &ACE_TRY_ENV)
+ ACE_THROW_SPEC ((CORBA::SystemException))
+{
+ return this->_tao_impl->_is_a (id, ACE_TRY_ENV);
+}
+
+void
+POA_CORBA::ExceptionDef::TAO_ServerRequestInfo_CORBA_ExceptionDef_type_get::result (CORBA::TypeCode_ptr result)
+{
+ // Update the result.
+ this->_result = result;
+}
+
+POA_CORBA::ExceptionDef::TAO_ServerRequestInfo_CORBA_ExceptionDef_members_get::TAO_ServerRequestInfo_CORBA_ExceptionDef_members_get (
+ TAO_ServerRequest &_tao_server_request,
+ POA_CORBA::ExceptionDef *tao_impl,
+ CORBA::Environment &
+ )
+ : TAO_ServerRequestInfo (_tao_server_request),
+ _tao_impl (tao_impl)
+{}
+
+Dynamic::ParameterList *
+POA_CORBA::ExceptionDef::TAO_ServerRequestInfo_CORBA_ExceptionDef_members_get::arguments (CORBA::Environment &ACE_TRY_ENV)
+ ACE_THROW_SPEC ((CORBA::SystemException))
+{
+ // Generate the argument list on demand.
+ Dynamic::ParameterList *parameter_list =
+ TAO_RequestInfo_Util::make_parameter_list (ACE_TRY_ENV);
+ ACE_CHECK_RETURN (0);
+
+ return parameter_list;
+}
+
+Dynamic::ExceptionList *
+POA_CORBA::ExceptionDef::TAO_ServerRequestInfo_CORBA_ExceptionDef_members_get::exceptions (CORBA::Environment &ACE_TRY_ENV)
+ ACE_THROW_SPEC ((CORBA::SystemException))
+{
+ // Generate the exception list on demand.
+ Dynamic::ExceptionList *exception_list =
+ TAO_RequestInfo_Util::make_exception_list (ACE_TRY_ENV);
+ ACE_CHECK_RETURN (0);
+
+ return exception_list;
+}
+
+CORBA::Any *
+POA_CORBA::ExceptionDef::TAO_ServerRequestInfo_CORBA_ExceptionDef_members_get::result (CORBA::Environment &ACE_TRY_ENV)
+ ACE_THROW_SPEC ((CORBA::SystemException))
+{
+ // Generate the result on demand.
+ CORBA::Boolean tk_void_any = 0;
+ CORBA::Any *result_any =
+ TAO_RequestInfo_Util::make_any (tk_void_any, ACE_TRY_ENV);
+ ACE_CHECK_RETURN (0);
+
+ CORBA::Any_var safe_result_any = result_any;
+
+ (*result_any) <<= this->_result;
+
+ return safe_result_any._retn ();
+}
+
+char *
+POA_CORBA::ExceptionDef::TAO_ServerRequestInfo_CORBA_ExceptionDef_members_get::target_most_derived_interface (
+ CORBA::Environment &)
+ ACE_THROW_SPEC ((CORBA::SystemException))
+{
+ return
+ CORBA::string_dup (this->_tao_impl->_interface_repository_id ());
+}
+
+CORBA::Boolean
+POA_CORBA::ExceptionDef::TAO_ServerRequestInfo_CORBA_ExceptionDef_members_get::target_is_a (
+ const char * id,
+ CORBA::Environment &ACE_TRY_ENV)
+ ACE_THROW_SPEC ((CORBA::SystemException))
+{
+ return this->_tao_impl->_is_a (id, ACE_TRY_ENV);
+}
+
+void
+POA_CORBA::ExceptionDef::TAO_ServerRequestInfo_CORBA_ExceptionDef_members_get::result (CORBA::StructMemberSeq * result)
+{
+ // Update the result.
+ this->_result = result;
+}
+
+POA_CORBA::ExceptionDef::TAO_ServerRequestInfo_CORBA_ExceptionDef_members_set::TAO_ServerRequestInfo_CORBA_ExceptionDef_members_set (
+ TAO_ServerRequest &_tao_server_request,
+ POA_CORBA::ExceptionDef *tao_impl,
+ const CORBA::StructMemberSeq & members,
+ CORBA::Environment &
+ )
+ : TAO_ServerRequestInfo (_tao_server_request),
+ _tao_impl (tao_impl),
+ members_ (members)
+{}
+
+Dynamic::ParameterList *
+POA_CORBA::ExceptionDef::TAO_ServerRequestInfo_CORBA_ExceptionDef_members_set::arguments (CORBA::Environment &ACE_TRY_ENV)
+ ACE_THROW_SPEC ((CORBA::SystemException))
+{
+ // Generate the argument list on demand.
+ Dynamic::ParameterList *parameter_list =
+ TAO_RequestInfo_Util::make_parameter_list (ACE_TRY_ENV);
+ ACE_CHECK_RETURN (0);
+
+ Dynamic::ParameterList_var safe_parameter_list = parameter_list;
+
+ CORBA::ULong length_members = parameter_list->length ();
+ parameter_list->length (length_members + 1);
+ (*parameter_list)[length_members].argument <<= this->members_;
+
+ (*parameter_list)[length_members].mode = Dynamic::PARAM_IN;
+
+ return safe_parameter_list._retn ();
+}
+
+Dynamic::ExceptionList *
+POA_CORBA::ExceptionDef::TAO_ServerRequestInfo_CORBA_ExceptionDef_members_set::exceptions (CORBA::Environment &ACE_TRY_ENV)
+ ACE_THROW_SPEC ((CORBA::SystemException))
+{
+ // Generate the exception list on demand.
+ Dynamic::ExceptionList *exception_list =
+ TAO_RequestInfo_Util::make_exception_list (ACE_TRY_ENV);
+ ACE_CHECK_RETURN (0);
+
+ return exception_list;
+}
+
+CORBA::Any *
+POA_CORBA::ExceptionDef::TAO_ServerRequestInfo_CORBA_ExceptionDef_members_set::result (CORBA::Environment &ACE_TRY_ENV)
+ ACE_THROW_SPEC ((CORBA::SystemException))
+{
+ // Generate the result on demand.
+ CORBA::Boolean tk_void_any = 1;
+ CORBA::Any *result_any =
+ TAO_RequestInfo_Util::make_any (tk_void_any, ACE_TRY_ENV);
+ ACE_CHECK_RETURN (0);
+
+ return result_any;
+}
+
+char *
+POA_CORBA::ExceptionDef::TAO_ServerRequestInfo_CORBA_ExceptionDef_members_set::target_most_derived_interface (
+ CORBA::Environment &)
+ ACE_THROW_SPEC ((CORBA::SystemException))
+{
+ return
+ CORBA::string_dup (this->_tao_impl->_interface_repository_id ());
+}
+
+CORBA::Boolean
+POA_CORBA::ExceptionDef::TAO_ServerRequestInfo_CORBA_ExceptionDef_members_set::target_is_a (
+ const char * id,
+ CORBA::Environment &ACE_TRY_ENV)
+ ACE_THROW_SPEC ((CORBA::SystemException))
+{
+ return this->_tao_impl->_is_a (id, ACE_TRY_ENV);
+}
+
+#endif /* TAO_HAS_INTERCEPTORS */
+class TAO_CORBA_AttributeDef_Perfect_Hash_OpTable : public TAO_Perfect_Hash_OpTable
+{
+private:
+ unsigned int hash (const char *str, unsigned int len);
+public:
+ const TAO_operation_db_entry * lookup (const char *str, unsigned int len);
+};
+/* starting time is 10:44:37 */
+/* C++ code produced by gperf version 2.8 (ACE version) */
+/* Command-line: gperf -m -M -J -c -C -D -E -T -f 0 -F 0 -a -o -t -p -K opname_ -L C++ -Z TAO_CORBA_AttributeDef_Perfect_Hash_OpTable -N lookup */
+unsigned int
+TAO_CORBA_AttributeDef_Perfect_Hash_OpTable::hash (const char *str, unsigned int len)
+{
+ static const unsigned char asso_values[] =
+ {
+#if defined (ACE_MVS)
+ 37, 37, 37, 37, 37, 37, 37, 37, 37, 37,
+ 37, 37, 37, 37, 37, 37, 37, 37, 37, 37,
+ 37, 37, 37, 37, 37, 37, 37, 37, 37, 37,
+ 37, 37, 37, 37, 37, 37, 37, 37, 37, 37,
+ 37, 37, 37, 37, 37, 37, 37, 37, 37, 37,
+ 37, 37, 37, 37, 37, 37, 37, 37, 37, 37,
+ 37, 37, 37, 37, 37, 37, 37, 37, 37, 37,
+ 37, 37, 37, 37, 37, 37, 37, 37, 37, 37,
+ 37, 37, 37, 37, 37, 37, 37, 37, 37, 37,
+ 37, 37, 37, 37, 37, 37, 37, 37, 37, 37,
+ 37, 37, 37, 37, 37, 37, 37, 37, 37, 0,
+ 37, 37, 37, 37, 37, 37, 37, 37, 37, 37,
+ 37, 37, 37, 37, 37, 37, 37, 37, 37, 0,
+ 37, 37, 0, 0, 10, 37, 37, 37, 37, 37,
+ 37, 37, 37, 37, 37, 37, 37, 37, 0, 0,
+ 37, 37, 37, 37, 37, 37, 37, 37, 37, 37,
+ 37, 37, 37, 15, 37, 37, 37, 37, 10, 37,
+ 37, 37, 37, 37, 37, 37, 37, 37, 37, 37,
+ 37, 37, 37, 37, 37, 37, 37, 37, 37, 37,
+ 37, 37, 37, 37, 37, 37, 37, 37, 37, 37,
+ 37, 37, 37, 37, 37, 37, 37, 37, 37, 37,
+ 37, 37, 37, 37, 37, 37, 37, 37, 37, 37,
+ 37, 37, 37, 37, 37, 37, 37, 37, 37, 37,
+ 37, 37, 37, 37, 37, 37, 37, 37, 37, 37,
+ 37, 37, 37, 37, 37, 37, 37, 37, 37, 37,
+ 37, 37, 37, 37, 37, 37,
+#else
+ 37, 37, 37, 37, 37, 37, 37, 37, 37, 37,
+ 37, 37, 37, 37, 37, 37, 37, 37, 37, 37,
+ 37, 37, 37, 37, 37, 37, 37, 37, 37, 37,
+ 37, 37, 37, 37, 37, 37, 37, 37, 37, 37,
+ 37, 37, 37, 37, 37, 37, 37, 37, 37, 37,
+ 37, 37, 37, 37, 37, 37, 37, 37, 37, 37,
+ 37, 37, 37, 37, 37, 37, 37, 37, 37, 37,
+ 37, 37, 37, 37, 37, 37, 37, 37, 37, 37,
+ 37, 37, 37, 37, 37, 37, 37, 37, 37, 37,
+ 37, 37, 37, 37, 37, 0, 37, 0, 37, 37,
+ 0, 0, 10, 37, 37, 37, 37, 37, 37, 0,
+ 0, 37, 37, 37, 37, 37, 15, 37, 37, 37,
+ 37, 10, 37, 37, 37, 37, 37, 37,
+#endif /* ACE_MVS */
+ };
+ return len + asso_values[str[len - 1]] + asso_values[str[0]];
+}
+
+const class TAO_operation_db_entry *
+TAO_CORBA_AttributeDef_Perfect_Hash_OpTable::lookup (const char *str, unsigned int len)
+{
+ enum
+ {
+ TOTAL_KEYWORDS = 20,
+ MIN_WORD_LENGTH = 4,
+ MAX_WORD_LENGTH = 26,
+ MIN_HASH_VALUE = 4,
+ MAX_HASH_VALUE = 36,
+ HASH_VALUE_RANGE = 33,
+ DUPLICATES = 8
+ };
+
+ static const class TAO_operation_db_entry wordlist[] =
+ {
+ {"",0},{"",0},{"",0},{"",0},
+ {"move", &POA_CORBA::AttributeDef::move_skel},
+ {"_is_a", &POA_CORBA::AttributeDef::_is_a_skel},
+ {"_get_id", &POA_CORBA::AttributeDef::_get_id_skel},
+ {"_set_id", &POA_CORBA::AttributeDef::_set_id_skel},
+ {"describe", &POA_CORBA::AttributeDef::describe_skel},
+ {"_get_type", &POA_CORBA::AttributeDef::_get_type_skel},
+ {"_set_name", &POA_CORBA::AttributeDef::_set_name_skel},
+ {"_get_name", &POA_CORBA::AttributeDef::_get_name_skel},
+ {"_set_mode", &POA_CORBA::AttributeDef::_set_mode_skel},
+ {"_get_mode", &POA_CORBA::AttributeDef::_get_mode_skel},
+ {"_get_version", &POA_CORBA::AttributeDef::_get_version_skel},
+ {"_set_version", &POA_CORBA::AttributeDef::_set_version_skel},
+ {"_get_def_kind", &POA_CORBA::AttributeDef::_get_def_kind_skel},
+ {"_get_defined_in", &POA_CORBA::AttributeDef::_get_defined_in_skel},
+ {"destroy", &POA_CORBA::AttributeDef::destroy_skel},
+ {"_get_absolute_name", &POA_CORBA::AttributeDef::_get_absolute_name_skel},
+ {"_get_type_def", &POA_CORBA::AttributeDef::_get_type_def_skel},
+ {"_set_type_def", &POA_CORBA::AttributeDef::_set_type_def_skel},
+ {"_non_existent", &POA_CORBA::AttributeDef::_non_existent_skel},
+ {"_get_containing_repository", &POA_CORBA::AttributeDef::_get_containing_repository_skel},
+ };
+
+ static const signed char lookup[] =
+ {
+ -6, -2, -9, -5, 4, 5, -1, -43, 8, -43, -14, -2, -38, 16,
+ -1, 17, -1, 18, 19, -1, -1, -20, -2, -38, -1, -1, -1, -1,
+ 22, -1, -1, -1, -1, -1, -1, -1, 23,
+ };
+
+ if (len <= MAX_WORD_LENGTH && len >= MIN_WORD_LENGTH)
+ {
+ unsigned int key = hash (str, len);
+
+ if (key <= MAX_HASH_VALUE && key >= MIN_HASH_VALUE)
+ {
+ int slot = lookup[key];
+
+ if (slot >= 0 && slot < MAX_HASH_VALUE)
+ {
+ const char *s = wordlist[slot].opname_;
+
+ if (*str == *s && !strncmp (str + 1, s + 1, len - 1))
+ return &wordlist[slot];
+ }
+ else if (slot < 0 && slot >= -MAX_HASH_VALUE)
+ return 0;
+ else
+ {
+ unsigned int offset = key + slot + (slot > 0 ? -MAX_HASH_VALUE : MAX_HASH_VALUE);
+ const class TAO_operation_db_entry *base = &wordlist[-lookup[offset]];
+ const class TAO_operation_db_entry *ptr = base + -lookup[offset + 1];
+
+ while (--ptr >= base)
+ if (*str == *ptr->opname_ && !strncmp (str + 1, ptr->opname_ + 1, len - 1))
+ return ptr;
+ }
+ }
+ }
+ return 0;
+}
+/* ending time is 10:44:37 */
+static TAO_CORBA_AttributeDef_Perfect_Hash_OpTable tao_CORBA_AttributeDef_optable;
+
+
+///////////////////////////////////////////////////////////////////////
+// Strategized Proxy Broker Implementation
+//
+
+// Factory function Implementation.
+POA_CORBA::_TAO_AttributeDef_Strategized_Proxy_Broker *POA_CORBA::_TAO_AttributeDef_Strategized_Proxy_Broker::the_TAO_AttributeDef_Strategized_Proxy_Broker (void)
+{
+ static POA_CORBA::_TAO_AttributeDef_Strategized_Proxy_Broker strategized_proxy_broker;
+ return &strategized_proxy_broker;
+}
+
+POA_CORBA::_TAO_AttributeDef_Strategized_Proxy_Broker::_TAO_AttributeDef_Strategized_Proxy_Broker (void)
+{
+ for (int i = 0; i < TAO_Collocation_Strategies::CS_LAST; ++i)
+ this->proxy_cache_[i] = 0;
+
+}
+
+POA_CORBA::_TAO_AttributeDef_Strategized_Proxy_Broker::~_TAO_AttributeDef_Strategized_Proxy_Broker (void)
+{
+ for (int i = 0; i < TAO_Collocation_Strategies::CS_LAST; ++i)
+ delete this->proxy_cache_[i];
+
+}
+
+_TAO_AttributeDef_Proxy_Impl&
+POA_CORBA::_TAO_AttributeDef_Strategized_Proxy_Broker::select_proxy (
+ ::CORBA::AttributeDef *object,
+ CORBA::Environment &ACE_TRY_ENV
+ )
+{
+ int strategy =
+ TAO_ORB_Core::collocation_strategy (object);
+
+ if (this->proxy_cache_[strategy] != 0)
+ return *this->proxy_cache_[strategy];
+
+ this->create_proxy (strategy, ACE_TRY_ENV);
+ ACE_CHECK_RETURN (*this->proxy_cache_[strategy]);
+
+ return *this->proxy_cache_[strategy];
+
+}
+
+void
+POA_CORBA::_TAO_AttributeDef_Strategized_Proxy_Broker::create_proxy (
+ int strategy,
+ CORBA::Environment &ACE_TRY_ENV
+ )
+{
+ ACE_GUARD (TAO_SYNCH_MUTEX, guard, this->mutex_);
+
+ if (this->proxy_cache_[strategy] == 0)
+ {
+ switch (strategy)
+ {
+ case TAO_Collocation_Strategies::CS_THRU_POA_STRATEGY:
+ ACE_NEW_THROW_EX (
+ this->proxy_cache_[strategy],
+ _TAO_AttributeDef_ThruPOA_Proxy_Impl,
+ CORBA::NO_MEMORY ()
+ );
+ ACE_CHECK;
+ break;
+
+ case TAO_Collocation_Strategies::CS_REMOTE_STRATEGY:
+ default:
+ ACE_NEW_THROW_EX (
+ this->proxy_cache_[strategy],
+ ::_TAO_AttributeDef_Remote_Proxy_Impl,
+ CORBA::NO_MEMORY ()
+ );
+ ACE_CHECK;
+ break;
+
+ }
+
+ }
+}
+
+
+//
+// End Strategized Proxy Broker Implementation
+///////////////////////////////////////////////////////////////////////
+
+
+_TAO_AttributeDef_Proxy_Broker *
+CORBA__TAO_AttributeDef_Proxy_Broker_Factory_function (CORBA::Object_ptr obj)
+{
+ ACE_UNUSED_ARG (obj);
+ return ::POA_CORBA::_TAO_AttributeDef_Strategized_Proxy_Broker::the_TAO_AttributeDef_Strategized_Proxy_Broker();
+}
+
+int
+CORBA__TAO_AttributeDef_Proxy_Broker_Factory_Initializer (long _dummy_)
+{
+ ACE_UNUSED_ARG (_dummy_);
+
+ CORBA__TAO_AttributeDef_Proxy_Broker_Factory_function_pointer =
+ CORBA__TAO_AttributeDef_Proxy_Broker_Factory_function;
+
+ return 0;
+}
+
+static int CORBA__TAO_AttributeDef_Proxy_Broker_Stub_Factory_Initializer_Scarecrow =
+ CORBA__TAO_AttributeDef_Proxy_Broker_Factory_Initializer (ACE_reinterpret_cast (long, CORBA__TAO_AttributeDef_Proxy_Broker_Factory_Initializer));
+
+
+///////////////////////////////////////////////////////////////////////
+// ThruPOA Proxy Implementation
+//
+
+POA_CORBA::_TAO_AttributeDef_ThruPOA_Proxy_Impl::_TAO_AttributeDef_ThruPOA_Proxy_Impl (void)
+{}
+
+// ThruPOA Implementation of the IDL interface methods
+
+CORBA::TypeCode_ptr POA_CORBA::_TAO_AttributeDef_ThruPOA_Proxy_Impl::type (
+ CORBA_Object *_collocated_tao_target_,
+ CORBA::Environment &ACE_TRY_ENV
+ )
+ ACE_THROW_SPEC ((
+ CORBA::SystemException
+ ))
+{
+ CORBA::TypeCode_var _tao_retval;
+ ACE_UNUSED_ARG (_tao_retval);
+ TAO_Object_Adapter::Servant_Upcall servant_upcall (
+ _collocated_tao_target_->_stubobj ()->servant_orb_var ()->orb_core ()
+ );
+ CORBA::Object_var forward_to;
+ servant_upcall.prepare_for_upcall (
+ _collocated_tao_target_->_object_key (),
+ "type",
+ forward_to.out (),
+ ACE_TRY_ENV
+ );
+ ACE_CHECK_RETURN (0);
+ return ACE_reinterpret_cast (
+ POA_CORBA::AttributeDef_ptr,
+ servant_upcall.servant ()->_downcast (
+ "IDL:omg.org/CORBA/AttributeDef:1.0"
+ )
+ )->type (
+ ACE_TRY_ENV
+ );
+}
+
+CORBA::IDLType_ptr POA_CORBA::_TAO_AttributeDef_ThruPOA_Proxy_Impl::type_def (
+ CORBA_Object *_collocated_tao_target_,
+ CORBA::Environment &ACE_TRY_ENV
+ )
+ ACE_THROW_SPEC ((
+ CORBA::SystemException
+ ))
+{
+ CORBA::IDLType_var _tao_retval;
+ ACE_UNUSED_ARG (_tao_retval);
+ TAO_Object_Adapter::Servant_Upcall servant_upcall (
+ _collocated_tao_target_->_stubobj ()->servant_orb_var ()->orb_core ()
+ );
+ CORBA::Object_var forward_to;
+ servant_upcall.prepare_for_upcall (
+ _collocated_tao_target_->_object_key (),
+ "type_def",
+ forward_to.out (),
+ ACE_TRY_ENV
+ );
+ ACE_CHECK_RETURN (0);
+ return ACE_reinterpret_cast (
+ POA_CORBA::AttributeDef_ptr,
+ servant_upcall.servant ()->_downcast (
+ "IDL:omg.org/CORBA/AttributeDef:1.0"
+ )
+ )->type_def (
+ ACE_TRY_ENV
+ );
+}
+
+void POA_CORBA::_TAO_AttributeDef_ThruPOA_Proxy_Impl::type_def (
+ CORBA_Object *_collocated_tao_target_,
+ CORBA::IDLType_ptr type_def,
+ CORBA::Environment &ACE_TRY_ENV
+ )
+ ACE_THROW_SPEC ((
+ CORBA::SystemException
+ ))
+{
+ TAO_Object_Adapter::Servant_Upcall servant_upcall (
+ _collocated_tao_target_->_stubobj ()->servant_orb_var ()->orb_core ()
+ );
+ CORBA::Object_var forward_to;
+ servant_upcall.prepare_for_upcall (
+ _collocated_tao_target_->_object_key (),
+ "type_def",
+ forward_to.out (),
+ ACE_TRY_ENV
+ );
+ ACE_CHECK;
+ ACE_reinterpret_cast (
+ POA_CORBA::AttributeDef_ptr,
+ servant_upcall.servant ()->_downcast (
+ "IDL:omg.org/CORBA/AttributeDef:1.0"
+ )
+ )->type_def (
+ type_def,
+ ACE_TRY_ENV
+ );
+ return;
+}
+
+CORBA::AttributeMode POA_CORBA::_TAO_AttributeDef_ThruPOA_Proxy_Impl::mode (
+ CORBA_Object *_collocated_tao_target_,
+ CORBA::Environment &ACE_TRY_ENV
+ )
+ ACE_THROW_SPEC ((
+ CORBA::SystemException
+ ))
+{
+ CORBA::AttributeMode _tao_retval;
+ ACE_UNUSED_ARG (_tao_retval);
+ TAO_Object_Adapter::Servant_Upcall servant_upcall (
+ _collocated_tao_target_->_stubobj ()->servant_orb_var ()->orb_core ()
+ );
+ CORBA::Object_var forward_to;
+ servant_upcall.prepare_for_upcall (
+ _collocated_tao_target_->_object_key (),
+ "mode",
+ forward_to.out (),
+ ACE_TRY_ENV
+ );
+ ACE_CHECK_RETURN (_tao_retval);
+ return ACE_reinterpret_cast (
+ POA_CORBA::AttributeDef_ptr,
+ servant_upcall.servant ()->_downcast (
+ "IDL:omg.org/CORBA/AttributeDef:1.0"
+ )
+ )->mode (
+ ACE_TRY_ENV
+ );
+}
+
+void POA_CORBA::_TAO_AttributeDef_ThruPOA_Proxy_Impl::mode (
+ CORBA_Object *_collocated_tao_target_,
+ CORBA::AttributeMode mode,
+ CORBA::Environment &ACE_TRY_ENV
+ )
+ ACE_THROW_SPEC ((
+ CORBA::SystemException
+ ))
+{
+ TAO_Object_Adapter::Servant_Upcall servant_upcall (
+ _collocated_tao_target_->_stubobj ()->servant_orb_var ()->orb_core ()
+ );
+ CORBA::Object_var forward_to;
+ servant_upcall.prepare_for_upcall (
+ _collocated_tao_target_->_object_key (),
+ "mode",
+ forward_to.out (),
+ ACE_TRY_ENV
+ );
+ ACE_CHECK;
+ ACE_reinterpret_cast (
+ POA_CORBA::AttributeDef_ptr,
+ servant_upcall.servant ()->_downcast (
+ "IDL:omg.org/CORBA/AttributeDef:1.0"
+ )
+ )->mode (
+ mode,
+ ACE_TRY_ENV
+ );
+ return;
+}
+
+//
+// End ThruPOA Proxy Implementation
+///////////////////////////////////////////////////////////////////////
+
+// skeleton constructor
+POA_CORBA::AttributeDef::AttributeDef (void)
+{
+ this->optable_ = &tao_CORBA_AttributeDef_optable;
+}
+
+// copy ctor
+POA_CORBA::AttributeDef::AttributeDef (const AttributeDef& rhs)
+ : ACE_NESTED_CLASS (POA_CORBA,Contained) (rhs),
+ ACE_NESTED_CLASS (POA_CORBA,IRObject) (rhs),
+ TAO_ServantBase (rhs)
+{}
+
+// skeleton destructor
+POA_CORBA::AttributeDef::~AttributeDef (void)
+{
+}
+
+void POA_CORBA::AttributeDef::_get_type_skel (
+ TAO_ServerRequest &_tao_server_request,
+ void *_tao_object_reference,
+ void * /* context */,
+ CORBA::Environment &ACE_TRY_ENV
+ )
+{
+ POA_CORBA::AttributeDef *_tao_impl = (POA_CORBA::AttributeDef *)_tao_object_reference;
+
+ CORBA::TypeCode_var _tao_retval;
+
+#if (TAO_HAS_INTERCEPTORS == 1)
+ TAO_ServerRequestInterceptor_Adapter _tao_vfr (
+ _tao_server_request.orb_core ()->server_request_interceptors (),
+ _tao_server_request.interceptor_count ()
+ );
+
+ POA_CORBA::AttributeDef::TAO_ServerRequestInfo_CORBA_AttributeDef_type_get ri (
+ _tao_server_request,
+ _tao_impl,
+ ACE_TRY_ENV
+ );
+
+ ACE_TRY
+ {
+ _tao_vfr.receive_request (&ri, ACE_TRY_ENV);
+ ACE_TRY_CHECK;
+
+#endif /* TAO_HAS_INTERCEPTORS */
+ _tao_retval =
+ _tao_impl->type (
+ ACE_TRY_ENV
+ );
+ TAO_INTERCEPTOR_CHECK;
+
+#if (TAO_HAS_INTERCEPTORS == 1)
+ CORBA::TypeCode_ptr _tao_retval_info = _tao_retval._retn ();
+ ri.result (_tao_retval_info);
+ _tao_retval = _tao_retval_info;
+ ri.reply_status (PortableInterceptor::SUCCESSFUL);
+ _tao_vfr.send_reply (&ri, ACE_TRY_ENV);
+ ACE_TRY_CHECK;
+ }
+ ACE_CATCH (PortableInterceptor::ForwardRequest, exc)
+ {
+ ri.forward_reference (exc);
+ _tao_vfr.send_other (
+ &ri,
+ ACE_TRY_ENV
+ );
+ ACE_TRY_CHECK;
+ _tao_server_request.forward_location (exc.forward.in ());
+ }
+ ACE_CATCHANY
+ {
+ ri.exception (&ACE_ANY_EXCEPTION);
+ _tao_vfr.send_exception (
+ &ri,
+ ACE_TRY_ENV
+ );
+ ACE_TRY_CHECK;
+ ACE_RE_THROW;
+ }
+ ACE_ENDTRY;
+ ACE_CHECK;
+#endif /* TAO_HAS_INTERCEPTORS */
+
+ _tao_server_request.init_reply ();
+
+ TAO_OutputCDR &_tao_out = _tao_server_request.outgoing ();
+
+ if (!(
+ (_tao_out << _tao_retval.in ())
+ ))
+ ACE_THROW (CORBA::MARSHAL());
+
+ // In case ACE_TRY_ENV is not used in this function
+ ACE_UNUSED_ARG (ACE_TRY_ENV);
+}
+
+void POA_CORBA::AttributeDef::_get_type_def_skel (
+ TAO_ServerRequest &_tao_server_request,
+ void *_tao_object_reference,
+ void * /* context */,
+ CORBA::Environment &ACE_TRY_ENV
+ )
+{
+ POA_CORBA::AttributeDef *_tao_impl = (POA_CORBA::AttributeDef *)_tao_object_reference;
+
+ CORBA::IDLType_var _tao_retval;
+
+#if (TAO_HAS_INTERCEPTORS == 1)
+ TAO_ServerRequestInterceptor_Adapter _tao_vfr (
+ _tao_server_request.orb_core ()->server_request_interceptors (),
+ _tao_server_request.interceptor_count ()
+ );
+
+ POA_CORBA::AttributeDef::TAO_ServerRequestInfo_CORBA_AttributeDef_type_def_get ri (
+ _tao_server_request,
+ _tao_impl,
+ ACE_TRY_ENV
+ );
+
+ ACE_TRY
+ {
+ _tao_vfr.receive_request (&ri, ACE_TRY_ENV);
+ ACE_TRY_CHECK;
+
+#endif /* TAO_HAS_INTERCEPTORS */
+ _tao_retval =
+ _tao_impl->type_def (
+ ACE_TRY_ENV
+ );
+ TAO_INTERCEPTOR_CHECK;
+
+#if (TAO_HAS_INTERCEPTORS == 1)
+ CORBA::IDLType_ptr _tao_retval_info = _tao_retval._retn ();
+ ri.result (_tao_retval_info);
+ _tao_retval = _tao_retval_info;
+ ri.reply_status (PortableInterceptor::SUCCESSFUL);
+ _tao_vfr.send_reply (&ri, ACE_TRY_ENV);
+ ACE_TRY_CHECK;
+ }
+ ACE_CATCH (PortableInterceptor::ForwardRequest, exc)
+ {
+ ri.forward_reference (exc);
+ _tao_vfr.send_other (
+ &ri,
+ ACE_TRY_ENV
+ );
+ ACE_TRY_CHECK;
+ _tao_server_request.forward_location (exc.forward.in ());
+ }
+ ACE_CATCHANY
+ {
+ ri.exception (&ACE_ANY_EXCEPTION);
+ _tao_vfr.send_exception (
+ &ri,
+ ACE_TRY_ENV
+ );
+ ACE_TRY_CHECK;
+ ACE_RE_THROW;
+ }
+ ACE_ENDTRY;
+ ACE_CHECK;
+#endif /* TAO_HAS_INTERCEPTORS */
+
+ _tao_server_request.init_reply ();
+
+ TAO_OutputCDR &_tao_out = _tao_server_request.outgoing ();
+
+ if (!(
+ (_tao_out << _tao_retval.in ())
+ ))
+ ACE_THROW (CORBA::MARSHAL());
+
+ // In case ACE_TRY_ENV is not used in this function
+ ACE_UNUSED_ARG (ACE_TRY_ENV);
+}
+
+void POA_CORBA::AttributeDef::_set_type_def_skel (
+ TAO_ServerRequest &_tao_server_request,
+ void *_tao_object_reference,
+ void * /* context */,
+ CORBA::Environment &ACE_TRY_ENV
+ )
+{
+ TAO_InputCDR &_tao_in = _tao_server_request.incoming ();
+ POA_CORBA::AttributeDef *_tao_impl = (POA_CORBA::AttributeDef *)_tao_object_reference;
+
+ _tao_server_request.argument_flag (0);
+ CORBA::IDLType_var type_def;
+ if (!(
+ (_tao_in >> type_def.out ())
+ ))
+ ACE_THROW (CORBA::MARSHAL());
+
+
+#if (TAO_HAS_INTERCEPTORS == 1)
+ TAO_ServerRequestInterceptor_Adapter _tao_vfr (
+ _tao_server_request.orb_core ()->server_request_interceptors (),
+ _tao_server_request.interceptor_count ()
+ );
+
+ POA_CORBA::AttributeDef::TAO_ServerRequestInfo_CORBA_AttributeDef_type_def_set ri (
+ _tao_server_request,
+ _tao_impl,
+ type_def.in (),
+ ACE_TRY_ENV
+ );
+
+ ACE_TRY
+ {
+ _tao_vfr.receive_request (&ri, ACE_TRY_ENV);
+ ACE_TRY_CHECK;
+
+#endif /* TAO_HAS_INTERCEPTORS */
+
+ _tao_impl->type_def (
+ type_def.in (),
+ ACE_TRY_ENV
+ );
+ TAO_INTERCEPTOR_CHECK;
+
+#if (TAO_HAS_INTERCEPTORS == 1)
+ ri.reply_status (PortableInterceptor::SUCCESSFUL);
+ _tao_vfr.send_reply (&ri, ACE_TRY_ENV);
+ ACE_TRY_CHECK;
+ }
+ ACE_CATCH (PortableInterceptor::ForwardRequest, exc)
+ {
+ ri.forward_reference (exc);
+ _tao_vfr.send_other (
+ &ri,
+ ACE_TRY_ENV
+ );
+ ACE_TRY_CHECK;
+ _tao_server_request.forward_location (exc.forward.in ());
+ }
+ ACE_CATCHANY
+ {
+ ri.exception (&ACE_ANY_EXCEPTION);
+ _tao_vfr.send_exception (
+ &ri,
+ ACE_TRY_ENV
+ );
+ ACE_TRY_CHECK;
+ ACE_RE_THROW;
+ }
+ ACE_ENDTRY;
+ ACE_CHECK;
+#endif /* TAO_HAS_INTERCEPTORS */
+
+ _tao_server_request.init_reply ();
+
+ // In case ACE_TRY_ENV is not used in this function
+ ACE_UNUSED_ARG (ACE_TRY_ENV);
+}
+
+void POA_CORBA::AttributeDef::_get_mode_skel (
+ TAO_ServerRequest &_tao_server_request,
+ void *_tao_object_reference,
+ void * /* context */,
+ CORBA::Environment &ACE_TRY_ENV
+ )
+{
+ POA_CORBA::AttributeDef *_tao_impl = (POA_CORBA::AttributeDef *)_tao_object_reference;
+
+ CORBA::AttributeMode _tao_retval;
+
+#if (TAO_HAS_INTERCEPTORS == 1)
+ TAO_ServerRequestInterceptor_Adapter _tao_vfr (
+ _tao_server_request.orb_core ()->server_request_interceptors (),
+ _tao_server_request.interceptor_count ()
+ );
+
+ POA_CORBA::AttributeDef::TAO_ServerRequestInfo_CORBA_AttributeDef_mode_get ri (
+ _tao_server_request,
+ _tao_impl,
+ ACE_TRY_ENV
+ );
+
+ ACE_TRY
+ {
+ _tao_vfr.receive_request (&ri, ACE_TRY_ENV);
+ ACE_TRY_CHECK;
+
+#endif /* TAO_HAS_INTERCEPTORS */
+ _tao_retval =
+ _tao_impl->mode (
+ ACE_TRY_ENV
+ );
+ TAO_INTERCEPTOR_CHECK;
+
+#if (TAO_HAS_INTERCEPTORS == 1)
+ CORBA::AttributeMode _tao_retval_info = _tao_retval;
+ ri.result (_tao_retval_info);
+ ri.reply_status (PortableInterceptor::SUCCESSFUL);
+ _tao_vfr.send_reply (&ri, ACE_TRY_ENV);
+ ACE_TRY_CHECK;
+ }
+ ACE_CATCH (PortableInterceptor::ForwardRequest, exc)
+ {
+ ri.forward_reference (exc);
+ _tao_vfr.send_other (
+ &ri,
+ ACE_TRY_ENV
+ );
+ ACE_TRY_CHECK;
+ _tao_server_request.forward_location (exc.forward.in ());
+ }
+ ACE_CATCHANY
+ {
+ ri.exception (&ACE_ANY_EXCEPTION);
+ _tao_vfr.send_exception (
+ &ri,
+ ACE_TRY_ENV
+ );
+ ACE_TRY_CHECK;
+ ACE_RE_THROW;
+ }
+ ACE_ENDTRY;
+ ACE_CHECK;
+#endif /* TAO_HAS_INTERCEPTORS */
+
+ _tao_server_request.init_reply ();
+
+ TAO_OutputCDR &_tao_out = _tao_server_request.outgoing ();
+
+ if (!(
+ (_tao_out << _tao_retval)
+ ))
+ ACE_THROW (CORBA::MARSHAL());
+
+ // In case ACE_TRY_ENV is not used in this function
+ ACE_UNUSED_ARG (ACE_TRY_ENV);
+}
+
+void POA_CORBA::AttributeDef::_set_mode_skel (
+ TAO_ServerRequest &_tao_server_request,
+ void *_tao_object_reference,
+ void * /* context */,
+ CORBA::Environment &ACE_TRY_ENV
+ )
+{
+ TAO_InputCDR &_tao_in = _tao_server_request.incoming ();
+ POA_CORBA::AttributeDef *_tao_impl = (POA_CORBA::AttributeDef *)_tao_object_reference;
+
+ _tao_server_request.argument_flag (0);
+ CORBA::AttributeMode mode;
+ if (!(
+ (_tao_in >> mode)
+ ))
+ ACE_THROW (CORBA::MARSHAL());
+
+
+#if (TAO_HAS_INTERCEPTORS == 1)
+ TAO_ServerRequestInterceptor_Adapter _tao_vfr (
+ _tao_server_request.orb_core ()->server_request_interceptors (),
+ _tao_server_request.interceptor_count ()
+ );
+
+ POA_CORBA::AttributeDef::TAO_ServerRequestInfo_CORBA_AttributeDef_mode_set ri (
+ _tao_server_request,
+ _tao_impl,
+ mode,
+ ACE_TRY_ENV
+ );
+
+ ACE_TRY
+ {
+ _tao_vfr.receive_request (&ri, ACE_TRY_ENV);
+ ACE_TRY_CHECK;
+
+#endif /* TAO_HAS_INTERCEPTORS */
+
+ _tao_impl->mode (
+ mode,
+ ACE_TRY_ENV
+ );
+ TAO_INTERCEPTOR_CHECK;
+
+#if (TAO_HAS_INTERCEPTORS == 1)
+ ri.reply_status (PortableInterceptor::SUCCESSFUL);
+ _tao_vfr.send_reply (&ri, ACE_TRY_ENV);
+ ACE_TRY_CHECK;
+ }
+ ACE_CATCH (PortableInterceptor::ForwardRequest, exc)
+ {
+ ri.forward_reference (exc);
+ _tao_vfr.send_other (
+ &ri,
+ ACE_TRY_ENV
+ );
+ ACE_TRY_CHECK;
+ _tao_server_request.forward_location (exc.forward.in ());
+ }
+ ACE_CATCHANY
+ {
+ ri.exception (&ACE_ANY_EXCEPTION);
+ _tao_vfr.send_exception (
+ &ri,
+ ACE_TRY_ENV
+ );
+ ACE_TRY_CHECK;
+ ACE_RE_THROW;
+ }
+ ACE_ENDTRY;
+ ACE_CHECK;
+#endif /* TAO_HAS_INTERCEPTORS */
+
+ _tao_server_request.init_reply ();
+
+ // In case ACE_TRY_ENV is not used in this function
+ ACE_UNUSED_ARG (ACE_TRY_ENV);
+}
+
+void POA_CORBA::AttributeDef::_is_a_skel (
+ TAO_ServerRequest &_tao_server_request,
+ void * _tao_object_reference,
+ void * /* context */,
+ CORBA::Environment &ACE_TRY_ENV
+ )
+{
+ TAO_InputCDR &_tao_in = _tao_server_request.incoming ();
+ POA_CORBA::AttributeDef *_tao_impl = (POA_CORBA::AttributeDef *) _tao_object_reference;
+ CORBA::Boolean _tao_retval = 0;
+ CORBA::String_var value;
+ if (!(_tao_in >> value.out ()))
+ ACE_THROW (CORBA::MARSHAL ());
+
+ _tao_retval = _tao_impl->_is_a (value.in (), ACE_TRY_ENV);
+ ACE_CHECK;
+
+ _tao_server_request.init_reply ();
+ TAO_OutputCDR &_tao_out = _tao_server_request.outgoing ();
+ if (!(_tao_out << CORBA::Any::from_boolean (_tao_retval)))
+ ACE_THROW (CORBA::MARSHAL ());
+}
+
+void POA_CORBA::AttributeDef::_non_existent_skel (
+ TAO_ServerRequest &_tao_server_request,
+ void * _tao_object_reference,
+ void * /* context */,
+ CORBA::Environment &ACE_TRY_ENV
+ )
+{
+ POA_CORBA::AttributeDef *_tao_impl = (POA_CORBA::AttributeDef *) _tao_object_reference;
+ CORBA::Boolean _tao_retval = _tao_impl->_non_existent (ACE_TRY_ENV);
+ ACE_CHECK;
+
+ _tao_server_request.init_reply ();
+ TAO_OutputCDR &_tao_out = _tao_server_request.outgoing ();
+ if (!(_tao_out << CORBA::Any::from_boolean (_tao_retval)))
+ ACE_THROW (CORBA::MARSHAL ());
+}
+
+CORBA::Boolean POA_CORBA::AttributeDef::_is_a (
+ const char* value,
+ CORBA::Environment &ACE_TRY_ENV
+ )
+{
+ const char *base_id = CORBA::_tc_Object->id (ACE_TRY_ENV);
+ ACE_CHECK_RETURN (0);
+
+ if (
+ (!ACE_OS::strcmp ((char *)value, "IDL:omg.org/CORBA/AttributeDef:1.0")) ||
+ (!ACE_OS::strcmp ((char *)value, "IDL:omg.org/CORBA/Contained:1.0")) ||
+ (!ACE_OS::strcmp ((char *)value, "IDL:omg.org/CORBA/IRObject:1.0")) ||
+ (!ACE_OS::strcmp ((char *)value, base_id)))
+ return 1;
+ else
+ return 0;
+}
+
+void* POA_CORBA::AttributeDef::_downcast (
+ const char* logical_type_id
+ )
+{
+ if (ACE_OS::strcmp (logical_type_id, "IDL:omg.org/CORBA/AttributeDef:1.0") == 0)
+ return ACE_static_cast (POA_CORBA::AttributeDef_ptr, this);
+ if (ACE_OS::strcmp (logical_type_id, "IDL:omg.org/CORBA/Contained:1.0") == 0)
+ return ACE_static_cast (POA_CORBA::Contained_ptr, this);
+ if (ACE_OS::strcmp (logical_type_id, "IDL:omg.org/CORBA/IRObject:1.0") == 0)
+ return ACE_static_cast (POA_CORBA::IRObject_ptr, this);
+ if (ACE_OS::strcmp (logical_type_id, "IDL:omg.org/CORBA/Object:1.0") == 0)
+ return ACE_static_cast(PortableServer::Servant, this);
+ return 0;
+}
+
+void POA_CORBA::AttributeDef::_dispatch (TAO_ServerRequest &req, void *context, CORBA::Environment &ACE_TRY_ENV)
+{
+ this->synchronous_upcall_dispatch(req, context, this, ACE_TRY_ENV);
+}
+
+const char* POA_CORBA::AttributeDef::_interface_repository_id (void) const
+{
+ return "IDL:omg.org/CORBA/AttributeDef:1.0";
+}
+
+CORBA::AttributeDef*
+POA_CORBA::AttributeDef::_this (CORBA_Environment &ACE_TRY_ENV)
+{
+ TAO_Stub *stub = this->_create_stub (ACE_TRY_ENV);
+ ACE_CHECK_RETURN (0);
+
+ CORBA::Object_ptr tmp = CORBA::Object::_nil ();
+
+ if (stub->servant_orb_var ()->orb_core ()->optimize_collocation_objects ())
+ ACE_NEW_RETURN (tmp, CORBA::Object (stub, 1, this), 0);
+ else
+ ACE_NEW_RETURN (tmp, CORBA::Object (stub, 0, this), 0);
+
+ CORBA::Object_var obj = tmp;
+ return ::CORBA::AttributeDef::_unchecked_narrow (obj.in ());
+}
+
+
+#if (TAO_HAS_INTERCEPTORS == 1)
+POA_CORBA::AttributeDef::TAO_ServerRequestInfo_CORBA_AttributeDef_type_get::TAO_ServerRequestInfo_CORBA_AttributeDef_type_get (
+ TAO_ServerRequest &_tao_server_request,
+ POA_CORBA::AttributeDef *tao_impl,
+ CORBA::Environment &
+ )
+ : TAO_ServerRequestInfo (_tao_server_request),
+ _tao_impl (tao_impl)
+{}
+
+Dynamic::ParameterList *
+POA_CORBA::AttributeDef::TAO_ServerRequestInfo_CORBA_AttributeDef_type_get::arguments (CORBA::Environment &ACE_TRY_ENV)
+ ACE_THROW_SPEC ((CORBA::SystemException))
+{
+ // Generate the argument list on demand.
+ Dynamic::ParameterList *parameter_list =
+ TAO_RequestInfo_Util::make_parameter_list (ACE_TRY_ENV);
+ ACE_CHECK_RETURN (0);
+
+ return parameter_list;
+}
+
+Dynamic::ExceptionList *
+POA_CORBA::AttributeDef::TAO_ServerRequestInfo_CORBA_AttributeDef_type_get::exceptions (CORBA::Environment &ACE_TRY_ENV)
+ ACE_THROW_SPEC ((CORBA::SystemException))
+{
+ // Generate the exception list on demand.
+ Dynamic::ExceptionList *exception_list =
+ TAO_RequestInfo_Util::make_exception_list (ACE_TRY_ENV);
+ ACE_CHECK_RETURN (0);
+
+ return exception_list;
+}
+
+CORBA::Any *
+POA_CORBA::AttributeDef::TAO_ServerRequestInfo_CORBA_AttributeDef_type_get::result (CORBA::Environment &ACE_TRY_ENV)
+ ACE_THROW_SPEC ((CORBA::SystemException))
+{
+ // Generate the result on demand.
+ CORBA::Boolean tk_void_any = 0;
+ CORBA::Any *result_any =
+ TAO_RequestInfo_Util::make_any (tk_void_any, ACE_TRY_ENV);
+ ACE_CHECK_RETURN (0);
+
+ CORBA::Any_var safe_result_any = result_any;
+
+ (*result_any) <<= this->_result;
+
+ return safe_result_any._retn ();
+}
+
+char *
+POA_CORBA::AttributeDef::TAO_ServerRequestInfo_CORBA_AttributeDef_type_get::target_most_derived_interface (
+ CORBA::Environment &)
+ ACE_THROW_SPEC ((CORBA::SystemException))
+{
+ return
+ CORBA::string_dup (this->_tao_impl->_interface_repository_id ());
+}
+
+CORBA::Boolean
+POA_CORBA::AttributeDef::TAO_ServerRequestInfo_CORBA_AttributeDef_type_get::target_is_a (
+ const char * id,
+ CORBA::Environment &ACE_TRY_ENV)
+ ACE_THROW_SPEC ((CORBA::SystemException))
+{
+ return this->_tao_impl->_is_a (id, ACE_TRY_ENV);
+}
+
+void
+POA_CORBA::AttributeDef::TAO_ServerRequestInfo_CORBA_AttributeDef_type_get::result (CORBA::TypeCode_ptr result)
+{
+ // Update the result.
+ this->_result = result;
+}
+
+POA_CORBA::AttributeDef::TAO_ServerRequestInfo_CORBA_AttributeDef_type_def_get::TAO_ServerRequestInfo_CORBA_AttributeDef_type_def_get (
+ TAO_ServerRequest &_tao_server_request,
+ POA_CORBA::AttributeDef *tao_impl,
+ CORBA::Environment &
+ )
+ : TAO_ServerRequestInfo (_tao_server_request),
+ _tao_impl (tao_impl)
+{}
+
+Dynamic::ParameterList *
+POA_CORBA::AttributeDef::TAO_ServerRequestInfo_CORBA_AttributeDef_type_def_get::arguments (CORBA::Environment &ACE_TRY_ENV)
+ ACE_THROW_SPEC ((CORBA::SystemException))
+{
+ // Generate the argument list on demand.
+ Dynamic::ParameterList *parameter_list =
+ TAO_RequestInfo_Util::make_parameter_list (ACE_TRY_ENV);
+ ACE_CHECK_RETURN (0);
+
+ return parameter_list;
+}
+
+Dynamic::ExceptionList *
+POA_CORBA::AttributeDef::TAO_ServerRequestInfo_CORBA_AttributeDef_type_def_get::exceptions (CORBA::Environment &ACE_TRY_ENV)
+ ACE_THROW_SPEC ((CORBA::SystemException))
+{
+ // Generate the exception list on demand.
+ Dynamic::ExceptionList *exception_list =
+ TAO_RequestInfo_Util::make_exception_list (ACE_TRY_ENV);
+ ACE_CHECK_RETURN (0);
+
+ return exception_list;
+}
+
+CORBA::Any *
+POA_CORBA::AttributeDef::TAO_ServerRequestInfo_CORBA_AttributeDef_type_def_get::result (CORBA::Environment &ACE_TRY_ENV)
+ ACE_THROW_SPEC ((CORBA::SystemException))
+{
+ // Generate the result on demand.
+ CORBA::Boolean tk_void_any = 0;
+ CORBA::Any *result_any =
+ TAO_RequestInfo_Util::make_any (tk_void_any, ACE_TRY_ENV);
+ ACE_CHECK_RETURN (0);
+
+ CORBA::Any_var safe_result_any = result_any;
+
+ (*result_any) <<= this->_result;
+
+ return safe_result_any._retn ();
+}
+
+char *
+POA_CORBA::AttributeDef::TAO_ServerRequestInfo_CORBA_AttributeDef_type_def_get::target_most_derived_interface (
+ CORBA::Environment &)
+ ACE_THROW_SPEC ((CORBA::SystemException))
+{
+ return
+ CORBA::string_dup (this->_tao_impl->_interface_repository_id ());
+}
+
+CORBA::Boolean
+POA_CORBA::AttributeDef::TAO_ServerRequestInfo_CORBA_AttributeDef_type_def_get::target_is_a (
+ const char * id,
+ CORBA::Environment &ACE_TRY_ENV)
+ ACE_THROW_SPEC ((CORBA::SystemException))
+{
+ return this->_tao_impl->_is_a (id, ACE_TRY_ENV);
+}
+
+void
+POA_CORBA::AttributeDef::TAO_ServerRequestInfo_CORBA_AttributeDef_type_def_get::result (CORBA::IDLType_ptr result)
+{
+ // Update the result.
+ this->_result = result;
+}
+
+POA_CORBA::AttributeDef::TAO_ServerRequestInfo_CORBA_AttributeDef_type_def_set::TAO_ServerRequestInfo_CORBA_AttributeDef_type_def_set (
+ TAO_ServerRequest &_tao_server_request,
+ POA_CORBA::AttributeDef *tao_impl,
+ CORBA::IDLType_ptr type_def,
+ CORBA::Environment &
+ )
+ : TAO_ServerRequestInfo (_tao_server_request),
+ _tao_impl (tao_impl),
+ type_def_ (type_def)
+{}
+
+Dynamic::ParameterList *
+POA_CORBA::AttributeDef::TAO_ServerRequestInfo_CORBA_AttributeDef_type_def_set::arguments (CORBA::Environment &ACE_TRY_ENV)
+ ACE_THROW_SPEC ((CORBA::SystemException))
+{
+ // Generate the argument list on demand.
+ Dynamic::ParameterList *parameter_list =
+ TAO_RequestInfo_Util::make_parameter_list (ACE_TRY_ENV);
+ ACE_CHECK_RETURN (0);
+
+ Dynamic::ParameterList_var safe_parameter_list = parameter_list;
+
+ CORBA::ULong length_type_def = parameter_list->length ();
+ parameter_list->length (length_type_def + 1);
+ (*parameter_list)[length_type_def].argument <<= this->type_def_;
+
+ (*parameter_list)[length_type_def].mode = Dynamic::PARAM_IN;
+
+ return safe_parameter_list._retn ();
+}
+
+Dynamic::ExceptionList *
+POA_CORBA::AttributeDef::TAO_ServerRequestInfo_CORBA_AttributeDef_type_def_set::exceptions (CORBA::Environment &ACE_TRY_ENV)
+ ACE_THROW_SPEC ((CORBA::SystemException))
+{
+ // Generate the exception list on demand.
+ Dynamic::ExceptionList *exception_list =
+ TAO_RequestInfo_Util::make_exception_list (ACE_TRY_ENV);
+ ACE_CHECK_RETURN (0);
+
+ return exception_list;
+}
+
+CORBA::Any *
+POA_CORBA::AttributeDef::TAO_ServerRequestInfo_CORBA_AttributeDef_type_def_set::result (CORBA::Environment &ACE_TRY_ENV)
+ ACE_THROW_SPEC ((CORBA::SystemException))
+{
+ // Generate the result on demand.
+ CORBA::Boolean tk_void_any = 1;
+ CORBA::Any *result_any =
+ TAO_RequestInfo_Util::make_any (tk_void_any, ACE_TRY_ENV);
+ ACE_CHECK_RETURN (0);
+
+ return result_any;
+}
+
+char *
+POA_CORBA::AttributeDef::TAO_ServerRequestInfo_CORBA_AttributeDef_type_def_set::target_most_derived_interface (
+ CORBA::Environment &)
+ ACE_THROW_SPEC ((CORBA::SystemException))
+{
+ return
+ CORBA::string_dup (this->_tao_impl->_interface_repository_id ());
+}
+
+CORBA::Boolean
+POA_CORBA::AttributeDef::TAO_ServerRequestInfo_CORBA_AttributeDef_type_def_set::target_is_a (
+ const char * id,
+ CORBA::Environment &ACE_TRY_ENV)
+ ACE_THROW_SPEC ((CORBA::SystemException))
+{
+ return this->_tao_impl->_is_a (id, ACE_TRY_ENV);
+}
+
+POA_CORBA::AttributeDef::TAO_ServerRequestInfo_CORBA_AttributeDef_mode_get::TAO_ServerRequestInfo_CORBA_AttributeDef_mode_get (
+ TAO_ServerRequest &_tao_server_request,
+ POA_CORBA::AttributeDef *tao_impl,
+ CORBA::Environment &
+ )
+ : TAO_ServerRequestInfo (_tao_server_request),
+ _tao_impl (tao_impl)
+{}
+
+Dynamic::ParameterList *
+POA_CORBA::AttributeDef::TAO_ServerRequestInfo_CORBA_AttributeDef_mode_get::arguments (CORBA::Environment &ACE_TRY_ENV)
+ ACE_THROW_SPEC ((CORBA::SystemException))
+{
+ // Generate the argument list on demand.
+ Dynamic::ParameterList *parameter_list =
+ TAO_RequestInfo_Util::make_parameter_list (ACE_TRY_ENV);
+ ACE_CHECK_RETURN (0);
+
+ return parameter_list;
+}
+
+Dynamic::ExceptionList *
+POA_CORBA::AttributeDef::TAO_ServerRequestInfo_CORBA_AttributeDef_mode_get::exceptions (CORBA::Environment &ACE_TRY_ENV)
+ ACE_THROW_SPEC ((CORBA::SystemException))
+{
+ // Generate the exception list on demand.
+ Dynamic::ExceptionList *exception_list =
+ TAO_RequestInfo_Util::make_exception_list (ACE_TRY_ENV);
+ ACE_CHECK_RETURN (0);
+
+ return exception_list;
+}
+
+CORBA::Any *
+POA_CORBA::AttributeDef::TAO_ServerRequestInfo_CORBA_AttributeDef_mode_get::result (CORBA::Environment &ACE_TRY_ENV)
+ ACE_THROW_SPEC ((CORBA::SystemException))
+{
+ // Generate the result on demand.
+ CORBA::Boolean tk_void_any = 0;
+ CORBA::Any *result_any =
+ TAO_RequestInfo_Util::make_any (tk_void_any, ACE_TRY_ENV);
+ ACE_CHECK_RETURN (0);
+
+ CORBA::Any_var safe_result_any = result_any;
+
+ (*result_any) <<= this->_result;
+
+ return safe_result_any._retn ();
+}
+
+char *
+POA_CORBA::AttributeDef::TAO_ServerRequestInfo_CORBA_AttributeDef_mode_get::target_most_derived_interface (
+ CORBA::Environment &)
+ ACE_THROW_SPEC ((CORBA::SystemException))
+{
+ return
+ CORBA::string_dup (this->_tao_impl->_interface_repository_id ());
+}
+
+CORBA::Boolean
+POA_CORBA::AttributeDef::TAO_ServerRequestInfo_CORBA_AttributeDef_mode_get::target_is_a (
+ const char * id,
+ CORBA::Environment &ACE_TRY_ENV)
+ ACE_THROW_SPEC ((CORBA::SystemException))
+{
+ return this->_tao_impl->_is_a (id, ACE_TRY_ENV);
+}
+
+void
+POA_CORBA::AttributeDef::TAO_ServerRequestInfo_CORBA_AttributeDef_mode_get::result (CORBA::AttributeMode result)
+{
+ // Update the result.
+ this->_result = result;
+}
+
+POA_CORBA::AttributeDef::TAO_ServerRequestInfo_CORBA_AttributeDef_mode_set::TAO_ServerRequestInfo_CORBA_AttributeDef_mode_set (
+ TAO_ServerRequest &_tao_server_request,
+ POA_CORBA::AttributeDef *tao_impl,
+ CORBA::AttributeMode & mode,
+ CORBA::Environment &
+ )
+ : TAO_ServerRequestInfo (_tao_server_request),
+ _tao_impl (tao_impl),
+ mode_ (mode)
+{}
+
+Dynamic::ParameterList *
+POA_CORBA::AttributeDef::TAO_ServerRequestInfo_CORBA_AttributeDef_mode_set::arguments (CORBA::Environment &ACE_TRY_ENV)
+ ACE_THROW_SPEC ((CORBA::SystemException))
+{
+ // Generate the argument list on demand.
+ Dynamic::ParameterList *parameter_list =
+ TAO_RequestInfo_Util::make_parameter_list (ACE_TRY_ENV);
+ ACE_CHECK_RETURN (0);
+
+ Dynamic::ParameterList_var safe_parameter_list = parameter_list;
+
+ CORBA::ULong length_mode = parameter_list->length ();
+ parameter_list->length (length_mode + 1);
+ (*parameter_list)[length_mode].argument <<= this->mode_;
+
+ (*parameter_list)[length_mode].mode = Dynamic::PARAM_IN;
+
+ return safe_parameter_list._retn ();
+}
+
+Dynamic::ExceptionList *
+POA_CORBA::AttributeDef::TAO_ServerRequestInfo_CORBA_AttributeDef_mode_set::exceptions (CORBA::Environment &ACE_TRY_ENV)
+ ACE_THROW_SPEC ((CORBA::SystemException))
+{
+ // Generate the exception list on demand.
+ Dynamic::ExceptionList *exception_list =
+ TAO_RequestInfo_Util::make_exception_list (ACE_TRY_ENV);
+ ACE_CHECK_RETURN (0);
+
+ return exception_list;
+}
+
+CORBA::Any *
+POA_CORBA::AttributeDef::TAO_ServerRequestInfo_CORBA_AttributeDef_mode_set::result (CORBA::Environment &ACE_TRY_ENV)
+ ACE_THROW_SPEC ((CORBA::SystemException))
+{
+ // Generate the result on demand.
+ CORBA::Boolean tk_void_any = 1;
+ CORBA::Any *result_any =
+ TAO_RequestInfo_Util::make_any (tk_void_any, ACE_TRY_ENV);
+ ACE_CHECK_RETURN (0);
+
+ return result_any;
+}
+
+char *
+POA_CORBA::AttributeDef::TAO_ServerRequestInfo_CORBA_AttributeDef_mode_set::target_most_derived_interface (
+ CORBA::Environment &)
+ ACE_THROW_SPEC ((CORBA::SystemException))
+{
+ return
+ CORBA::string_dup (this->_tao_impl->_interface_repository_id ());
+}
+
+CORBA::Boolean
+POA_CORBA::AttributeDef::TAO_ServerRequestInfo_CORBA_AttributeDef_mode_set::target_is_a (
+ const char * id,
+ CORBA::Environment &ACE_TRY_ENV)
+ ACE_THROW_SPEC ((CORBA::SystemException))
+{
+ return this->_tao_impl->_is_a (id, ACE_TRY_ENV);
+}
+
+#endif /* TAO_HAS_INTERCEPTORS */
+class TAO_CORBA_OperationDef_Perfect_Hash_OpTable : public TAO_Perfect_Hash_OpTable
+{
+private:
+ unsigned int hash (const char *str, unsigned int len);
+public:
+ const TAO_operation_db_entry * lookup (const char *str, unsigned int len);
+};
+/* starting time is 10:44:38 */
+/* C++ code produced by gperf version 2.8 (ACE version) */
+/* Command-line: gperf -m -M -J -c -C -D -E -T -f 0 -F 0 -a -o -t -p -K opname_ -L C++ -Z TAO_CORBA_OperationDef_Perfect_Hash_OpTable -N lookup */
+unsigned int
+TAO_CORBA_OperationDef_Perfect_Hash_OpTable::hash (const char *str, unsigned int len)
+{
+ static const unsigned char asso_values[] =
+ {
+#if defined (ACE_MVS)
+ 37, 37, 37, 37, 37, 37, 37, 37, 37, 37,
+ 37, 37, 37, 37, 37, 37, 37, 37, 37, 37,
+ 37, 37, 37, 37, 37, 37, 37, 37, 37, 37,
+ 37, 37, 37, 37, 37, 37, 37, 37, 37, 37,
+ 37, 37, 37, 37, 37, 37, 37, 37, 37, 37,
+ 37, 37, 37, 37, 37, 37, 37, 37, 37, 37,
+ 37, 37, 37, 37, 37, 37, 37, 37, 37, 37,
+ 37, 37, 37, 37, 37, 37, 37, 37, 37, 37,
+ 37, 37, 37, 37, 37, 37, 37, 37, 37, 37,
+ 37, 37, 37, 37, 37, 37, 37, 37, 37, 37,
+ 37, 37, 37, 37, 37, 37, 37, 37, 37, 0,
+ 37, 37, 37, 37, 37, 37, 37, 37, 37, 37,
+ 37, 37, 37, 37, 37, 37, 37, 37, 37, 0,
+ 37, 37, 15, 0, 10, 37, 37, 37, 37, 37,
+ 37, 37, 37, 37, 37, 37, 37, 37, 0, 5,
+ 37, 37, 37, 37, 37, 37, 37, 37, 37, 37,
+ 37, 37, 0, 20, 37, 37, 37, 37, 10, 37,
+ 37, 37, 37, 37, 37, 37, 37, 37, 37, 37,
+ 37, 37, 37, 37, 37, 37, 37, 37, 37, 37,
+ 37, 37, 37, 37, 37, 37, 37, 37, 37, 37,
+ 37, 37, 37, 37, 37, 37, 37, 37, 37, 37,
+ 37, 37, 37, 37, 37, 37, 37, 37, 37, 37,
+ 37, 37, 37, 37, 37, 37, 37, 37, 37, 37,
+ 37, 37, 37, 37, 37, 37, 37, 37, 37, 37,
+ 37, 37, 37, 37, 37, 37, 37, 37, 37, 37,
+ 37, 37, 37, 37, 37, 37,
+#else
+ 37, 37, 37, 37, 37, 37, 37, 37, 37, 37,
+ 37, 37, 37, 37, 37, 37, 37, 37, 37, 37,
+ 37, 37, 37, 37, 37, 37, 37, 37, 37, 37,
+ 37, 37, 37, 37, 37, 37, 37, 37, 37, 37,
+ 37, 37, 37, 37, 37, 37, 37, 37, 37, 37,
+ 37, 37, 37, 37, 37, 37, 37, 37, 37, 37,
+ 37, 37, 37, 37, 37, 37, 37, 37, 37, 37,
+ 37, 37, 37, 37, 37, 37, 37, 37, 37, 37,
+ 37, 37, 37, 37, 37, 37, 37, 37, 37, 37,
+ 37, 37, 37, 37, 37, 0, 37, 0, 37, 37,
+ 15, 0, 10, 37, 37, 37, 37, 37, 37, 0,
+ 5, 37, 37, 37, 37, 0, 20, 37, 37, 37,
+ 37, 10, 37, 37, 37, 37, 37, 37,
+#endif /* ACE_MVS */
+ };
+ return len + asso_values[str[len - 1]] + asso_values[str[0]];
+}
+
+const class TAO_operation_db_entry *
+TAO_CORBA_OperationDef_Perfect_Hash_OpTable::lookup (const char *str, unsigned int len)
+{
+ enum
+ {
+ TOTAL_KEYWORDS = 26,
+ MIN_WORD_LENGTH = 4,
+ MAX_WORD_LENGTH = 26,
+ MIN_HASH_VALUE = 4,
+ MAX_HASH_VALUE = 36,
+ HASH_VALUE_RANGE = 33,
+ DUPLICATES = 10
+ };
+
+ static const class TAO_operation_db_entry wordlist[] =
+ {
+ {"",0},{"",0},{"",0},{"",0},
+ {"move", &POA_CORBA::OperationDef::move_skel},
+ {"_is_a", &POA_CORBA::OperationDef::_is_a_skel},
+ {"_get_mode", &POA_CORBA::OperationDef::_get_mode_skel},
+ {"_set_name", &POA_CORBA::OperationDef::_set_name_skel},
+ {"_get_name", &POA_CORBA::OperationDef::_get_name_skel},
+ {"_set_mode", &POA_CORBA::OperationDef::_set_mode_skel},
+ {"_get_params", &POA_CORBA::OperationDef::_get_params_skel},
+ {"_set_params", &POA_CORBA::OperationDef::_set_params_skel},
+ {"_get_contexts", &POA_CORBA::OperationDef::_get_contexts_skel},
+ {"_set_contexts", &POA_CORBA::OperationDef::_set_contexts_skel},
+ {"_get_exceptions", &POA_CORBA::OperationDef::_get_exceptions_skel},
+ {"_set_exceptions", &POA_CORBA::OperationDef::_set_exceptions_skel},
+ {"_get_version", &POA_CORBA::OperationDef::_get_version_skel},
+ {"_set_version", &POA_CORBA::OperationDef::_set_version_skel},
+ {"_get_absolute_name", &POA_CORBA::OperationDef::_get_absolute_name_skel},
+ {"_get_defined_in", &POA_CORBA::OperationDef::_get_defined_in_skel},
+ {"_get_id", &POA_CORBA::OperationDef::_get_id_skel},
+ {"_set_id", &POA_CORBA::OperationDef::_set_id_skel},
+ {"describe", &POA_CORBA::OperationDef::describe_skel},
+ {"_get_result_def", &POA_CORBA::OperationDef::_get_result_def_skel},
+ {"_set_result_def", &POA_CORBA::OperationDef::_set_result_def_skel},
+ {"_get_def_kind", &POA_CORBA::OperationDef::_get_def_kind_skel},
+ {"_get_result", &POA_CORBA::OperationDef::_get_result_skel},
+ {"destroy", &POA_CORBA::OperationDef::destroy_skel},
+ {"_non_existent", &POA_CORBA::OperationDef::_non_existent_skel},
+ {"_get_containing_repository", &POA_CORBA::OperationDef::_get_containing_repository_skel},
+ };
+
+ if (len <= MAX_WORD_LENGTH && len >= MIN_WORD_LENGTH)
+ {
+ unsigned int key = hash (str, len);
+
+ if (key <= MAX_HASH_VALUE && key >= MIN_HASH_VALUE)
+ {
+ {
+ const class TAO_operation_db_entry *resword;
+
+ switch (key)
+ {
+ case 4:
+ resword = &wordlist[4]; break;
+ case 5:
+ resword = &wordlist[5]; break;
+ case 9:
+ resword = &wordlist[6];
+ if (*str == *resword->opname_ && !strncmp (str + 1, resword->opname_ + 1, len - 1)) return resword;
+ resword = &wordlist[7];
+ if (*str == *resword->opname_ && !strncmp (str + 1, resword->opname_ + 1, len - 1)) return resword;
+ resword = &wordlist[8];
+ if (*str == *resword->opname_ && !strncmp (str + 1, resword->opname_ + 1, len - 1)) return resword;
+ resword = &wordlist[9];
+ if (*str == *resword->opname_ && !strncmp (str + 1, resword->opname_ + 1, len - 1)) return resword;
+ return 0;
+ case 11:
+ resword = &wordlist[10];
+ if (*str == *resword->opname_ && !strncmp (str + 1, resword->opname_ + 1, len - 1)) return resword;
+ resword = &wordlist[11];
+ if (*str == *resword->opname_ && !strncmp (str + 1, resword->opname_ + 1, len - 1)) return resword;
+ return 0;
+ case 13:
+ resword = &wordlist[12];
+ if (*str == *resword->opname_ && !strncmp (str + 1, resword->opname_ + 1, len - 1)) return resword;
+ resword = &wordlist[13];
+ if (*str == *resword->opname_ && !strncmp (str + 1, resword->opname_ + 1, len - 1)) return resword;
+ return 0;
+ case 15:
+ resword = &wordlist[14];
+ if (*str == *resword->opname_ && !strncmp (str + 1, resword->opname_ + 1, len - 1)) return resword;
+ resword = &wordlist[15];
+ if (*str == *resword->opname_ && !strncmp (str + 1, resword->opname_ + 1, len - 1)) return resword;
+ return 0;
+ case 17:
+ resword = &wordlist[16];
+ if (*str == *resword->opname_ && !strncmp (str + 1, resword->opname_ + 1, len - 1)) return resword;
+ resword = &wordlist[17];
+ if (*str == *resword->opname_ && !strncmp (str + 1, resword->opname_ + 1, len - 1)) return resword;
+ return 0;
+ case 18:
+ resword = &wordlist[18]; break;
+ case 20:
+ resword = &wordlist[19]; break;
+ case 22:
+ resword = &wordlist[20];
+ if (*str == *resword->opname_ && !strncmp (str + 1, resword->opname_ + 1, len - 1)) return resword;
+ resword = &wordlist[21];
+ if (*str == *resword->opname_ && !strncmp (str + 1, resword->opname_ + 1, len - 1)) return resword;
+ return 0;
+ case 23:
+ resword = &wordlist[22]; break;
+ case 25:
+ resword = &wordlist[23];
+ if (*str == *resword->opname_ && !strncmp (str + 1, resword->opname_ + 1, len - 1)) return resword;
+ resword = &wordlist[24];
+ if (*str == *resword->opname_ && !strncmp (str + 1, resword->opname_ + 1, len - 1)) return resword;
+ return 0;
+ case 28:
+ resword = &wordlist[25]; break;
+ case 31:
+ resword = &wordlist[26]; break;
+ case 32:
+ resword = &wordlist[27]; break;
+ case 33:
+ resword = &wordlist[28]; break;
+ case 36:
+ resword = &wordlist[29]; break;
+ default: return 0;
+ }
+ if (*str == *resword->opname_ && !strncmp (str + 1, resword->opname_ + 1, len - 1))
+ return resword;
+ return 0;
+ }
+ }
+ }
+ return 0;
+}
+/* ending time is 10:44:38 */
+static TAO_CORBA_OperationDef_Perfect_Hash_OpTable tao_CORBA_OperationDef_optable;
+
+
+///////////////////////////////////////////////////////////////////////
+// Strategized Proxy Broker Implementation
+//
+
+// Factory function Implementation.
+POA_CORBA::_TAO_OperationDef_Strategized_Proxy_Broker *POA_CORBA::_TAO_OperationDef_Strategized_Proxy_Broker::the_TAO_OperationDef_Strategized_Proxy_Broker (void)
+{
+ static POA_CORBA::_TAO_OperationDef_Strategized_Proxy_Broker strategized_proxy_broker;
+ return &strategized_proxy_broker;
+}
+
+POA_CORBA::_TAO_OperationDef_Strategized_Proxy_Broker::_TAO_OperationDef_Strategized_Proxy_Broker (void)
+{
+ for (int i = 0; i < TAO_Collocation_Strategies::CS_LAST; ++i)
+ this->proxy_cache_[i] = 0;
+
+}
+
+POA_CORBA::_TAO_OperationDef_Strategized_Proxy_Broker::~_TAO_OperationDef_Strategized_Proxy_Broker (void)
+{
+ for (int i = 0; i < TAO_Collocation_Strategies::CS_LAST; ++i)
+ delete this->proxy_cache_[i];
+
+}
+
+_TAO_OperationDef_Proxy_Impl&
+POA_CORBA::_TAO_OperationDef_Strategized_Proxy_Broker::select_proxy (
+ ::CORBA::OperationDef *object,
+ CORBA::Environment &ACE_TRY_ENV
+ )
+{
+ int strategy =
+ TAO_ORB_Core::collocation_strategy (object);
+
+ if (this->proxy_cache_[strategy] != 0)
+ return *this->proxy_cache_[strategy];
+
+ this->create_proxy (strategy, ACE_TRY_ENV);
+ ACE_CHECK_RETURN (*this->proxy_cache_[strategy]);
+
+ return *this->proxy_cache_[strategy];
+
+}
+
+void
+POA_CORBA::_TAO_OperationDef_Strategized_Proxy_Broker::create_proxy (
+ int strategy,
+ CORBA::Environment &ACE_TRY_ENV
+ )
+{
+ ACE_GUARD (TAO_SYNCH_MUTEX, guard, this->mutex_);
+
+ if (this->proxy_cache_[strategy] == 0)
+ {
+ switch (strategy)
+ {
+ case TAO_Collocation_Strategies::CS_THRU_POA_STRATEGY:
+ ACE_NEW_THROW_EX (
+ this->proxy_cache_[strategy],
+ _TAO_OperationDef_ThruPOA_Proxy_Impl,
+ CORBA::NO_MEMORY ()
+ );
+ ACE_CHECK;
+ break;
+
+ case TAO_Collocation_Strategies::CS_REMOTE_STRATEGY:
+ default:
+ ACE_NEW_THROW_EX (
+ this->proxy_cache_[strategy],
+ ::_TAO_OperationDef_Remote_Proxy_Impl,
+ CORBA::NO_MEMORY ()
+ );
+ ACE_CHECK;
+ break;
+
+ }
+
+ }
+}
+
+
+//
+// End Strategized Proxy Broker Implementation
+///////////////////////////////////////////////////////////////////////
+
+
+_TAO_OperationDef_Proxy_Broker *
+CORBA__TAO_OperationDef_Proxy_Broker_Factory_function (CORBA::Object_ptr obj)
+{
+ ACE_UNUSED_ARG (obj);
+ return ::POA_CORBA::_TAO_OperationDef_Strategized_Proxy_Broker::the_TAO_OperationDef_Strategized_Proxy_Broker();
+}
+
+int
+CORBA__TAO_OperationDef_Proxy_Broker_Factory_Initializer (long _dummy_)
+{
+ ACE_UNUSED_ARG (_dummy_);
+
+ CORBA__TAO_OperationDef_Proxy_Broker_Factory_function_pointer =
+ CORBA__TAO_OperationDef_Proxy_Broker_Factory_function;
+
+ return 0;
+}
+
+static int CORBA__TAO_OperationDef_Proxy_Broker_Stub_Factory_Initializer_Scarecrow =
+ CORBA__TAO_OperationDef_Proxy_Broker_Factory_Initializer (ACE_reinterpret_cast (long, CORBA__TAO_OperationDef_Proxy_Broker_Factory_Initializer));
+
+
+///////////////////////////////////////////////////////////////////////
+// ThruPOA Proxy Implementation
+//
+
+POA_CORBA::_TAO_OperationDef_ThruPOA_Proxy_Impl::_TAO_OperationDef_ThruPOA_Proxy_Impl (void)
+{}
+
+// ThruPOA Implementation of the IDL interface methods
+
+CORBA::TypeCode_ptr POA_CORBA::_TAO_OperationDef_ThruPOA_Proxy_Impl::result (
+ CORBA_Object *_collocated_tao_target_,
+ CORBA::Environment &ACE_TRY_ENV
+ )
+ ACE_THROW_SPEC ((
+ CORBA::SystemException
+ ))
+{
+ CORBA::TypeCode_var _tao_retval;
+ ACE_UNUSED_ARG (_tao_retval);
+ TAO_Object_Adapter::Servant_Upcall servant_upcall (
+ _collocated_tao_target_->_stubobj ()->servant_orb_var ()->orb_core ()
+ );
+ CORBA::Object_var forward_to;
+ servant_upcall.prepare_for_upcall (
+ _collocated_tao_target_->_object_key (),
+ "result",
+ forward_to.out (),
+ ACE_TRY_ENV
+ );
+ ACE_CHECK_RETURN (0);
+ return ACE_reinterpret_cast (
+ POA_CORBA::OperationDef_ptr,
+ servant_upcall.servant ()->_downcast (
+ "IDL:omg.org/CORBA/OperationDef:1.0"
+ )
+ )->result (
+ ACE_TRY_ENV
+ );
+}
+
+CORBA::IDLType_ptr POA_CORBA::_TAO_OperationDef_ThruPOA_Proxy_Impl::result_def (
+ CORBA_Object *_collocated_tao_target_,
+ CORBA::Environment &ACE_TRY_ENV
+ )
+ ACE_THROW_SPEC ((
+ CORBA::SystemException
+ ))
+{
+ CORBA::IDLType_var _tao_retval;
+ ACE_UNUSED_ARG (_tao_retval);
+ TAO_Object_Adapter::Servant_Upcall servant_upcall (
+ _collocated_tao_target_->_stubobj ()->servant_orb_var ()->orb_core ()
+ );
+ CORBA::Object_var forward_to;
+ servant_upcall.prepare_for_upcall (
+ _collocated_tao_target_->_object_key (),
+ "result_def",
+ forward_to.out (),
+ ACE_TRY_ENV
+ );
+ ACE_CHECK_RETURN (0);
+ return ACE_reinterpret_cast (
+ POA_CORBA::OperationDef_ptr,
+ servant_upcall.servant ()->_downcast (
+ "IDL:omg.org/CORBA/OperationDef:1.0"
+ )
+ )->result_def (
+ ACE_TRY_ENV
+ );
+}
+
+void POA_CORBA::_TAO_OperationDef_ThruPOA_Proxy_Impl::result_def (
+ CORBA_Object *_collocated_tao_target_,
+ CORBA::IDLType_ptr result_def,
+ CORBA::Environment &ACE_TRY_ENV
+ )
+ ACE_THROW_SPEC ((
+ CORBA::SystemException
+ ))
+{
+ TAO_Object_Adapter::Servant_Upcall servant_upcall (
+ _collocated_tao_target_->_stubobj ()->servant_orb_var ()->orb_core ()
+ );
+ CORBA::Object_var forward_to;
+ servant_upcall.prepare_for_upcall (
+ _collocated_tao_target_->_object_key (),
+ "result_def",
+ forward_to.out (),
+ ACE_TRY_ENV
+ );
+ ACE_CHECK;
+ ACE_reinterpret_cast (
+ POA_CORBA::OperationDef_ptr,
+ servant_upcall.servant ()->_downcast (
+ "IDL:omg.org/CORBA/OperationDef:1.0"
+ )
+ )->result_def (
+ result_def,
+ ACE_TRY_ENV
+ );
+ return;
+}
+
+CORBA::ParDescriptionSeq * POA_CORBA::_TAO_OperationDef_ThruPOA_Proxy_Impl::params (
+ CORBA_Object *_collocated_tao_target_,
+ CORBA::Environment &ACE_TRY_ENV
+ )
+ ACE_THROW_SPEC ((
+ CORBA::SystemException
+ ))
+{
+ CORBA::ParDescriptionSeq_var _tao_retval;
+ ACE_UNUSED_ARG (_tao_retval);
+ TAO_Object_Adapter::Servant_Upcall servant_upcall (
+ _collocated_tao_target_->_stubobj ()->servant_orb_var ()->orb_core ()
+ );
+ CORBA::Object_var forward_to;
+ servant_upcall.prepare_for_upcall (
+ _collocated_tao_target_->_object_key (),
+ "params",
+ forward_to.out (),
+ ACE_TRY_ENV
+ );
+ ACE_CHECK_RETURN (0);
+ return ACE_reinterpret_cast (
+ POA_CORBA::OperationDef_ptr,
+ servant_upcall.servant ()->_downcast (
+ "IDL:omg.org/CORBA/OperationDef:1.0"
+ )
+ )->params (
+ ACE_TRY_ENV
+ );
+}
+
+void POA_CORBA::_TAO_OperationDef_ThruPOA_Proxy_Impl::params (
+ CORBA_Object *_collocated_tao_target_,
+ const CORBA::ParDescriptionSeq & params,
+ CORBA::Environment &ACE_TRY_ENV
+ )
+ ACE_THROW_SPEC ((
+ CORBA::SystemException
+ ))
+{
+ TAO_Object_Adapter::Servant_Upcall servant_upcall (
+ _collocated_tao_target_->_stubobj ()->servant_orb_var ()->orb_core ()
+ );
+ CORBA::Object_var forward_to;
+ servant_upcall.prepare_for_upcall (
+ _collocated_tao_target_->_object_key (),
+ "params",
+ forward_to.out (),
+ ACE_TRY_ENV
+ );
+ ACE_CHECK;
+ ACE_reinterpret_cast (
+ POA_CORBA::OperationDef_ptr,
+ servant_upcall.servant ()->_downcast (
+ "IDL:omg.org/CORBA/OperationDef:1.0"
+ )
+ )->params (
+ params,
+ ACE_TRY_ENV
+ );
+ return;
+}
+
+CORBA::OperationMode POA_CORBA::_TAO_OperationDef_ThruPOA_Proxy_Impl::mode (
+ CORBA_Object *_collocated_tao_target_,
+ CORBA::Environment &ACE_TRY_ENV
+ )
+ ACE_THROW_SPEC ((
+ CORBA::SystemException
+ ))
+{
+ CORBA::OperationMode _tao_retval;
+ ACE_UNUSED_ARG (_tao_retval);
+ TAO_Object_Adapter::Servant_Upcall servant_upcall (
+ _collocated_tao_target_->_stubobj ()->servant_orb_var ()->orb_core ()
+ );
+ CORBA::Object_var forward_to;
+ servant_upcall.prepare_for_upcall (
+ _collocated_tao_target_->_object_key (),
+ "mode",
+ forward_to.out (),
+ ACE_TRY_ENV
+ );
+ ACE_CHECK_RETURN (_tao_retval);
+ return ACE_reinterpret_cast (
+ POA_CORBA::OperationDef_ptr,
+ servant_upcall.servant ()->_downcast (
+ "IDL:omg.org/CORBA/OperationDef:1.0"
+ )
+ )->mode (
+ ACE_TRY_ENV
+ );
+}
+
+void POA_CORBA::_TAO_OperationDef_ThruPOA_Proxy_Impl::mode (
+ CORBA_Object *_collocated_tao_target_,
+ CORBA::OperationMode mode,
+ CORBA::Environment &ACE_TRY_ENV
+ )
+ ACE_THROW_SPEC ((
+ CORBA::SystemException
+ ))
+{
+ TAO_Object_Adapter::Servant_Upcall servant_upcall (
+ _collocated_tao_target_->_stubobj ()->servant_orb_var ()->orb_core ()
+ );
+ CORBA::Object_var forward_to;
+ servant_upcall.prepare_for_upcall (
+ _collocated_tao_target_->_object_key (),
+ "mode",
+ forward_to.out (),
+ ACE_TRY_ENV
+ );
+ ACE_CHECK;
+ ACE_reinterpret_cast (
+ POA_CORBA::OperationDef_ptr,
+ servant_upcall.servant ()->_downcast (
+ "IDL:omg.org/CORBA/OperationDef:1.0"
+ )
+ )->mode (
+ mode,
+ ACE_TRY_ENV
+ );
+ return;
+}
+
+CORBA::ContextIdSeq * POA_CORBA::_TAO_OperationDef_ThruPOA_Proxy_Impl::contexts (
+ CORBA_Object *_collocated_tao_target_,
+ CORBA::Environment &ACE_TRY_ENV
+ )
+ ACE_THROW_SPEC ((
+ CORBA::SystemException
+ ))
+{
+ CORBA::ContextIdSeq_var _tao_retval;
+ ACE_UNUSED_ARG (_tao_retval);
+ TAO_Object_Adapter::Servant_Upcall servant_upcall (
+ _collocated_tao_target_->_stubobj ()->servant_orb_var ()->orb_core ()
+ );
+ CORBA::Object_var forward_to;
+ servant_upcall.prepare_for_upcall (
+ _collocated_tao_target_->_object_key (),
+ "contexts",
+ forward_to.out (),
+ ACE_TRY_ENV
+ );
+ ACE_CHECK_RETURN (0);
+ return ACE_reinterpret_cast (
+ POA_CORBA::OperationDef_ptr,
+ servant_upcall.servant ()->_downcast (
+ "IDL:omg.org/CORBA/OperationDef:1.0"
+ )
+ )->contexts (
+ ACE_TRY_ENV
+ );
+}
+
+void POA_CORBA::_TAO_OperationDef_ThruPOA_Proxy_Impl::contexts (
+ CORBA_Object *_collocated_tao_target_,
+ const CORBA::ContextIdSeq & contexts,
+ CORBA::Environment &ACE_TRY_ENV
+ )
+ ACE_THROW_SPEC ((
+ CORBA::SystemException
+ ))
+{
+ TAO_Object_Adapter::Servant_Upcall servant_upcall (
+ _collocated_tao_target_->_stubobj ()->servant_orb_var ()->orb_core ()
+ );
+ CORBA::Object_var forward_to;
+ servant_upcall.prepare_for_upcall (
+ _collocated_tao_target_->_object_key (),
+ "contexts",
+ forward_to.out (),
+ ACE_TRY_ENV
+ );
+ ACE_CHECK;
+ ACE_reinterpret_cast (
+ POA_CORBA::OperationDef_ptr,
+ servant_upcall.servant ()->_downcast (
+ "IDL:omg.org/CORBA/OperationDef:1.0"
+ )
+ )->contexts (
+ contexts,
+ ACE_TRY_ENV
+ );
+ return;
+}
+
+CORBA::ExceptionDefSeq * POA_CORBA::_TAO_OperationDef_ThruPOA_Proxy_Impl::exceptions (
+ CORBA_Object *_collocated_tao_target_,
+ CORBA::Environment &ACE_TRY_ENV
+ )
+ ACE_THROW_SPEC ((
+ CORBA::SystemException
+ ))
+{
+ CORBA::ExceptionDefSeq_var _tao_retval;
+ ACE_UNUSED_ARG (_tao_retval);
+ TAO_Object_Adapter::Servant_Upcall servant_upcall (
+ _collocated_tao_target_->_stubobj ()->servant_orb_var ()->orb_core ()
+ );
+ CORBA::Object_var forward_to;
+ servant_upcall.prepare_for_upcall (
+ _collocated_tao_target_->_object_key (),
+ "exceptions",
+ forward_to.out (),
+ ACE_TRY_ENV
+ );
+ ACE_CHECK_RETURN (0);
+ return ACE_reinterpret_cast (
+ POA_CORBA::OperationDef_ptr,
+ servant_upcall.servant ()->_downcast (
+ "IDL:omg.org/CORBA/OperationDef:1.0"
+ )
+ )->exceptions (
+ ACE_TRY_ENV
+ );
+}
+
+void POA_CORBA::_TAO_OperationDef_ThruPOA_Proxy_Impl::exceptions (
+ CORBA_Object *_collocated_tao_target_,
+ const CORBA::ExceptionDefSeq & exceptions,
+ CORBA::Environment &ACE_TRY_ENV
+ )
+ ACE_THROW_SPEC ((
+ CORBA::SystemException
+ ))
+{
+ TAO_Object_Adapter::Servant_Upcall servant_upcall (
+ _collocated_tao_target_->_stubobj ()->servant_orb_var ()->orb_core ()
+ );
+ CORBA::Object_var forward_to;
+ servant_upcall.prepare_for_upcall (
+ _collocated_tao_target_->_object_key (),
+ "exceptions",
+ forward_to.out (),
+ ACE_TRY_ENV
+ );
+ ACE_CHECK;
+ ACE_reinterpret_cast (
+ POA_CORBA::OperationDef_ptr,
+ servant_upcall.servant ()->_downcast (
+ "IDL:omg.org/CORBA/OperationDef:1.0"
+ )
+ )->exceptions (
+ exceptions,
+ ACE_TRY_ENV
+ );
+ return;
+}
+
+//
+// End ThruPOA Proxy Implementation
+///////////////////////////////////////////////////////////////////////
+
+// skeleton constructor
+POA_CORBA::OperationDef::OperationDef (void)
+{
+ this->optable_ = &tao_CORBA_OperationDef_optable;
+}
+
+// copy ctor
+POA_CORBA::OperationDef::OperationDef (const OperationDef& rhs)
+ : ACE_NESTED_CLASS (POA_CORBA,Contained) (rhs),
+ ACE_NESTED_CLASS (POA_CORBA,IRObject) (rhs),
+ TAO_ServantBase (rhs)
+{}
+
+// skeleton destructor
+POA_CORBA::OperationDef::~OperationDef (void)
+{
+}
+
+void POA_CORBA::OperationDef::_get_result_skel (
+ TAO_ServerRequest &_tao_server_request,
+ void *_tao_object_reference,
+ void * /* context */,
+ CORBA::Environment &ACE_TRY_ENV
+ )
+{
+ POA_CORBA::OperationDef *_tao_impl = (POA_CORBA::OperationDef *)_tao_object_reference;
+
+ CORBA::TypeCode_var _tao_retval;
+
+#if (TAO_HAS_INTERCEPTORS == 1)
+ TAO_ServerRequestInterceptor_Adapter _tao_vfr (
+ _tao_server_request.orb_core ()->server_request_interceptors (),
+ _tao_server_request.interceptor_count ()
+ );
+
+ POA_CORBA::OperationDef::TAO_ServerRequestInfo_CORBA_OperationDef_result_get ri (
+ _tao_server_request,
+ _tao_impl,
+ ACE_TRY_ENV
+ );
+
+ ACE_TRY
+ {
+ _tao_vfr.receive_request (&ri, ACE_TRY_ENV);
+ ACE_TRY_CHECK;
+
+#endif /* TAO_HAS_INTERCEPTORS */
+ _tao_retval =
+ _tao_impl->result (
+ ACE_TRY_ENV
+ );
+ TAO_INTERCEPTOR_CHECK;
+
+#if (TAO_HAS_INTERCEPTORS == 1)
+ CORBA::TypeCode_ptr _tao_retval_info = _tao_retval._retn ();
+ ri.result (_tao_retval_info);
+ _tao_retval = _tao_retval_info;
+ ri.reply_status (PortableInterceptor::SUCCESSFUL);
+ _tao_vfr.send_reply (&ri, ACE_TRY_ENV);
+ ACE_TRY_CHECK;
+ }
+ ACE_CATCH (PortableInterceptor::ForwardRequest, exc)
+ {
+ ri.forward_reference (exc);
+ _tao_vfr.send_other (
+ &ri,
+ ACE_TRY_ENV
+ );
+ ACE_TRY_CHECK;
+ _tao_server_request.forward_location (exc.forward.in ());
+ }
+ ACE_CATCHANY
+ {
+ ri.exception (&ACE_ANY_EXCEPTION);
+ _tao_vfr.send_exception (
+ &ri,
+ ACE_TRY_ENV
+ );
+ ACE_TRY_CHECK;
+ ACE_RE_THROW;
+ }
+ ACE_ENDTRY;
+ ACE_CHECK;
+#endif /* TAO_HAS_INTERCEPTORS */
+
+ _tao_server_request.init_reply ();
+
+ TAO_OutputCDR &_tao_out = _tao_server_request.outgoing ();
+
+ if (!(
+ (_tao_out << _tao_retval.in ())
+ ))
+ ACE_THROW (CORBA::MARSHAL());
+
+ // In case ACE_TRY_ENV is not used in this function
+ ACE_UNUSED_ARG (ACE_TRY_ENV);
+}
+
+void POA_CORBA::OperationDef::_get_result_def_skel (
+ TAO_ServerRequest &_tao_server_request,
+ void *_tao_object_reference,
+ void * /* context */,
+ CORBA::Environment &ACE_TRY_ENV
+ )
+{
+ POA_CORBA::OperationDef *_tao_impl = (POA_CORBA::OperationDef *)_tao_object_reference;
+
+ CORBA::IDLType_var _tao_retval;
+
+#if (TAO_HAS_INTERCEPTORS == 1)
+ TAO_ServerRequestInterceptor_Adapter _tao_vfr (
+ _tao_server_request.orb_core ()->server_request_interceptors (),
+ _tao_server_request.interceptor_count ()
+ );
+
+ POA_CORBA::OperationDef::TAO_ServerRequestInfo_CORBA_OperationDef_result_def_get ri (
+ _tao_server_request,
+ _tao_impl,
+ ACE_TRY_ENV
+ );
+
+ ACE_TRY
+ {
+ _tao_vfr.receive_request (&ri, ACE_TRY_ENV);
+ ACE_TRY_CHECK;
+
+#endif /* TAO_HAS_INTERCEPTORS */
+ _tao_retval =
+ _tao_impl->result_def (
+ ACE_TRY_ENV
+ );
+ TAO_INTERCEPTOR_CHECK;
+
+#if (TAO_HAS_INTERCEPTORS == 1)
+ CORBA::IDLType_ptr _tao_retval_info = _tao_retval._retn ();
+ ri.result (_tao_retval_info);
+ _tao_retval = _tao_retval_info;
+ ri.reply_status (PortableInterceptor::SUCCESSFUL);
+ _tao_vfr.send_reply (&ri, ACE_TRY_ENV);
+ ACE_TRY_CHECK;
+ }
+ ACE_CATCH (PortableInterceptor::ForwardRequest, exc)
+ {
+ ri.forward_reference (exc);
+ _tao_vfr.send_other (
+ &ri,
+ ACE_TRY_ENV
+ );
+ ACE_TRY_CHECK;
+ _tao_server_request.forward_location (exc.forward.in ());
+ }
+ ACE_CATCHANY
+ {
+ ri.exception (&ACE_ANY_EXCEPTION);
+ _tao_vfr.send_exception (
+ &ri,
+ ACE_TRY_ENV
+ );
+ ACE_TRY_CHECK;
+ ACE_RE_THROW;
+ }
+ ACE_ENDTRY;
+ ACE_CHECK;
+#endif /* TAO_HAS_INTERCEPTORS */
+
+ _tao_server_request.init_reply ();
+
+ TAO_OutputCDR &_tao_out = _tao_server_request.outgoing ();
+
+ if (!(
+ (_tao_out << _tao_retval.in ())
+ ))
+ ACE_THROW (CORBA::MARSHAL());
+
+ // In case ACE_TRY_ENV is not used in this function
+ ACE_UNUSED_ARG (ACE_TRY_ENV);
+}
+
+void POA_CORBA::OperationDef::_set_result_def_skel (
+ TAO_ServerRequest &_tao_server_request,
+ void *_tao_object_reference,
+ void * /* context */,
+ CORBA::Environment &ACE_TRY_ENV
+ )
+{
+ TAO_InputCDR &_tao_in = _tao_server_request.incoming ();
+ POA_CORBA::OperationDef *_tao_impl = (POA_CORBA::OperationDef *)_tao_object_reference;
+
+ _tao_server_request.argument_flag (0);
+ CORBA::IDLType_var result_def;
+ if (!(
+ (_tao_in >> result_def.out ())
+ ))
+ ACE_THROW (CORBA::MARSHAL());
+
+
+#if (TAO_HAS_INTERCEPTORS == 1)
+ TAO_ServerRequestInterceptor_Adapter _tao_vfr (
+ _tao_server_request.orb_core ()->server_request_interceptors (),
+ _tao_server_request.interceptor_count ()
+ );
+
+ POA_CORBA::OperationDef::TAO_ServerRequestInfo_CORBA_OperationDef_result_def_set ri (
+ _tao_server_request,
+ _tao_impl,
+ result_def.in (),
+ ACE_TRY_ENV
+ );
+
+ ACE_TRY
+ {
+ _tao_vfr.receive_request (&ri, ACE_TRY_ENV);
+ ACE_TRY_CHECK;
+
+#endif /* TAO_HAS_INTERCEPTORS */
+
+ _tao_impl->result_def (
+ result_def.in (),
+ ACE_TRY_ENV
+ );
+ TAO_INTERCEPTOR_CHECK;
+
+#if (TAO_HAS_INTERCEPTORS == 1)
+ ri.reply_status (PortableInterceptor::SUCCESSFUL);
+ _tao_vfr.send_reply (&ri, ACE_TRY_ENV);
+ ACE_TRY_CHECK;
+ }
+ ACE_CATCH (PortableInterceptor::ForwardRequest, exc)
+ {
+ ri.forward_reference (exc);
+ _tao_vfr.send_other (
+ &ri,
+ ACE_TRY_ENV
+ );
+ ACE_TRY_CHECK;
+ _tao_server_request.forward_location (exc.forward.in ());
+ }
+ ACE_CATCHANY
+ {
+ ri.exception (&ACE_ANY_EXCEPTION);
+ _tao_vfr.send_exception (
+ &ri,
+ ACE_TRY_ENV
+ );
+ ACE_TRY_CHECK;
+ ACE_RE_THROW;
+ }
+ ACE_ENDTRY;
+ ACE_CHECK;
+#endif /* TAO_HAS_INTERCEPTORS */
+
+ _tao_server_request.init_reply ();
+
+ // In case ACE_TRY_ENV is not used in this function
+ ACE_UNUSED_ARG (ACE_TRY_ENV);
+}
+
+void POA_CORBA::OperationDef::_get_params_skel (
+ TAO_ServerRequest &_tao_server_request,
+ void *_tao_object_reference,
+ void * /* context */,
+ CORBA::Environment &ACE_TRY_ENV
+ )
+{
+ POA_CORBA::OperationDef *_tao_impl = (POA_CORBA::OperationDef *)_tao_object_reference;
+
+ CORBA::ParDescriptionSeq_var _tao_retval;
+
+#if (TAO_HAS_INTERCEPTORS == 1)
+ TAO_ServerRequestInterceptor_Adapter _tao_vfr (
+ _tao_server_request.orb_core ()->server_request_interceptors (),
+ _tao_server_request.interceptor_count ()
+ );
+
+ POA_CORBA::OperationDef::TAO_ServerRequestInfo_CORBA_OperationDef_params_get ri (
+ _tao_server_request,
+ _tao_impl,
+ ACE_TRY_ENV
+ );
+
+ ACE_TRY
+ {
+ _tao_vfr.receive_request (&ri, ACE_TRY_ENV);
+ ACE_TRY_CHECK;
+
+#endif /* TAO_HAS_INTERCEPTORS */
+ _tao_retval =
+ _tao_impl->params (
+ ACE_TRY_ENV
+ );
+ TAO_INTERCEPTOR_CHECK;
+
+#if (TAO_HAS_INTERCEPTORS == 1)
+ CORBA::ParDescriptionSeq * _tao_retval_info = _tao_retval._retn ();
+ ri.result (_tao_retval_info);
+ _tao_retval = _tao_retval_info;
+ ri.reply_status (PortableInterceptor::SUCCESSFUL);
+ _tao_vfr.send_reply (&ri, ACE_TRY_ENV);
+ ACE_TRY_CHECK;
+ }
+ ACE_CATCH (PortableInterceptor::ForwardRequest, exc)
+ {
+ ri.forward_reference (exc);
+ _tao_vfr.send_other (
+ &ri,
+ ACE_TRY_ENV
+ );
+ ACE_TRY_CHECK;
+ _tao_server_request.forward_location (exc.forward.in ());
+ }
+ ACE_CATCHANY
+ {
+ ri.exception (&ACE_ANY_EXCEPTION);
+ _tao_vfr.send_exception (
+ &ri,
+ ACE_TRY_ENV
+ );
+ ACE_TRY_CHECK;
+ ACE_RE_THROW;
+ }
+ ACE_ENDTRY;
+ ACE_CHECK;
+#endif /* TAO_HAS_INTERCEPTORS */
+
+ _tao_server_request.init_reply ();
+
+ TAO_OutputCDR &_tao_out = _tao_server_request.outgoing ();
+
+ if (!(
+ (_tao_out << _tao_retval.in ())
+ ))
+ ACE_THROW (CORBA::MARSHAL());
+
+ // In case ACE_TRY_ENV is not used in this function
+ ACE_UNUSED_ARG (ACE_TRY_ENV);
+}
+
+void POA_CORBA::OperationDef::_set_params_skel (
+ TAO_ServerRequest &_tao_server_request,
+ void *_tao_object_reference,
+ void * /* context */,
+ CORBA::Environment &ACE_TRY_ENV
+ )
+{
+ TAO_InputCDR &_tao_in = _tao_server_request.incoming ();
+ POA_CORBA::OperationDef *_tao_impl = (POA_CORBA::OperationDef *)_tao_object_reference;
+
+ _tao_server_request.argument_flag (0);
+ CORBA::ParDescriptionSeq params;
+ if (!(
+ (_tao_in >> params)
+ ))
+ ACE_THROW (CORBA::MARSHAL());
+
+
+#if (TAO_HAS_INTERCEPTORS == 1)
+ TAO_ServerRequestInterceptor_Adapter _tao_vfr (
+ _tao_server_request.orb_core ()->server_request_interceptors (),
+ _tao_server_request.interceptor_count ()
+ );
+
+ POA_CORBA::OperationDef::TAO_ServerRequestInfo_CORBA_OperationDef_params_set ri (
+ _tao_server_request,
+ _tao_impl,
+ params,
+ ACE_TRY_ENV
+ );
+
+ ACE_TRY
+ {
+ _tao_vfr.receive_request (&ri, ACE_TRY_ENV);
+ ACE_TRY_CHECK;
+
+#endif /* TAO_HAS_INTERCEPTORS */
+
+ _tao_impl->params (
+ params,
+ ACE_TRY_ENV
+ );
+ TAO_INTERCEPTOR_CHECK;
+
+#if (TAO_HAS_INTERCEPTORS == 1)
+ ri.reply_status (PortableInterceptor::SUCCESSFUL);
+ _tao_vfr.send_reply (&ri, ACE_TRY_ENV);
+ ACE_TRY_CHECK;
+ }
+ ACE_CATCH (PortableInterceptor::ForwardRequest, exc)
+ {
+ ri.forward_reference (exc);
+ _tao_vfr.send_other (
+ &ri,
+ ACE_TRY_ENV
+ );
+ ACE_TRY_CHECK;
+ _tao_server_request.forward_location (exc.forward.in ());
+ }
+ ACE_CATCHANY
+ {
+ ri.exception (&ACE_ANY_EXCEPTION);
+ _tao_vfr.send_exception (
+ &ri,
+ ACE_TRY_ENV
+ );
+ ACE_TRY_CHECK;
+ ACE_RE_THROW;
+ }
+ ACE_ENDTRY;
+ ACE_CHECK;
+#endif /* TAO_HAS_INTERCEPTORS */
+
+ _tao_server_request.init_reply ();
+
+ // In case ACE_TRY_ENV is not used in this function
+ ACE_UNUSED_ARG (ACE_TRY_ENV);
+}
+
+void POA_CORBA::OperationDef::_get_mode_skel (
+ TAO_ServerRequest &_tao_server_request,
+ void *_tao_object_reference,
+ void * /* context */,
+ CORBA::Environment &ACE_TRY_ENV
+ )
+{
+ POA_CORBA::OperationDef *_tao_impl = (POA_CORBA::OperationDef *)_tao_object_reference;
+
+ CORBA::OperationMode _tao_retval;
+
+#if (TAO_HAS_INTERCEPTORS == 1)
+ TAO_ServerRequestInterceptor_Adapter _tao_vfr (
+ _tao_server_request.orb_core ()->server_request_interceptors (),
+ _tao_server_request.interceptor_count ()
+ );
+
+ POA_CORBA::OperationDef::TAO_ServerRequestInfo_CORBA_OperationDef_mode_get ri (
+ _tao_server_request,
+ _tao_impl,
+ ACE_TRY_ENV
+ );
+
+ ACE_TRY
+ {
+ _tao_vfr.receive_request (&ri, ACE_TRY_ENV);
+ ACE_TRY_CHECK;
+
+#endif /* TAO_HAS_INTERCEPTORS */
+ _tao_retval =
+ _tao_impl->mode (
+ ACE_TRY_ENV
+ );
+ TAO_INTERCEPTOR_CHECK;
+
+#if (TAO_HAS_INTERCEPTORS == 1)
+ CORBA::OperationMode _tao_retval_info = _tao_retval;
+ ri.result (_tao_retval_info);
+ ri.reply_status (PortableInterceptor::SUCCESSFUL);
+ _tao_vfr.send_reply (&ri, ACE_TRY_ENV);
+ ACE_TRY_CHECK;
+ }
+ ACE_CATCH (PortableInterceptor::ForwardRequest, exc)
+ {
+ ri.forward_reference (exc);
+ _tao_vfr.send_other (
+ &ri,
+ ACE_TRY_ENV
+ );
+ ACE_TRY_CHECK;
+ _tao_server_request.forward_location (exc.forward.in ());
+ }
+ ACE_CATCHANY
+ {
+ ri.exception (&ACE_ANY_EXCEPTION);
+ _tao_vfr.send_exception (
+ &ri,
+ ACE_TRY_ENV
+ );
+ ACE_TRY_CHECK;
+ ACE_RE_THROW;
+ }
+ ACE_ENDTRY;
+ ACE_CHECK;
+#endif /* TAO_HAS_INTERCEPTORS */
+
+ _tao_server_request.init_reply ();
+
+ TAO_OutputCDR &_tao_out = _tao_server_request.outgoing ();
+
+ if (!(
+ (_tao_out << _tao_retval)
+ ))
+ ACE_THROW (CORBA::MARSHAL());
+
+ // In case ACE_TRY_ENV is not used in this function
+ ACE_UNUSED_ARG (ACE_TRY_ENV);
+}
+
+void POA_CORBA::OperationDef::_set_mode_skel (
+ TAO_ServerRequest &_tao_server_request,
+ void *_tao_object_reference,
+ void * /* context */,
+ CORBA::Environment &ACE_TRY_ENV
+ )
+{
+ TAO_InputCDR &_tao_in = _tao_server_request.incoming ();
+ POA_CORBA::OperationDef *_tao_impl = (POA_CORBA::OperationDef *)_tao_object_reference;
+
+ _tao_server_request.argument_flag (0);
+ CORBA::OperationMode mode;
+ if (!(
+ (_tao_in >> mode)
+ ))
+ ACE_THROW (CORBA::MARSHAL());
+
+
+#if (TAO_HAS_INTERCEPTORS == 1)
+ TAO_ServerRequestInterceptor_Adapter _tao_vfr (
+ _tao_server_request.orb_core ()->server_request_interceptors (),
+ _tao_server_request.interceptor_count ()
+ );
+
+ POA_CORBA::OperationDef::TAO_ServerRequestInfo_CORBA_OperationDef_mode_set ri (
+ _tao_server_request,
+ _tao_impl,
+ mode,
+ ACE_TRY_ENV
+ );
+
+ ACE_TRY
+ {
+ _tao_vfr.receive_request (&ri, ACE_TRY_ENV);
+ ACE_TRY_CHECK;
+
+#endif /* TAO_HAS_INTERCEPTORS */
+
+ _tao_impl->mode (
+ mode,
+ ACE_TRY_ENV
+ );
+ TAO_INTERCEPTOR_CHECK;
+
+#if (TAO_HAS_INTERCEPTORS == 1)
+ ri.reply_status (PortableInterceptor::SUCCESSFUL);
+ _tao_vfr.send_reply (&ri, ACE_TRY_ENV);
+ ACE_TRY_CHECK;
+ }
+ ACE_CATCH (PortableInterceptor::ForwardRequest, exc)
+ {
+ ri.forward_reference (exc);
+ _tao_vfr.send_other (
+ &ri,
+ ACE_TRY_ENV
+ );
+ ACE_TRY_CHECK;
+ _tao_server_request.forward_location (exc.forward.in ());
+ }
+ ACE_CATCHANY
+ {
+ ri.exception (&ACE_ANY_EXCEPTION);
+ _tao_vfr.send_exception (
+ &ri,
+ ACE_TRY_ENV
+ );
+ ACE_TRY_CHECK;
+ ACE_RE_THROW;
+ }
+ ACE_ENDTRY;
+ ACE_CHECK;
+#endif /* TAO_HAS_INTERCEPTORS */
+
+ _tao_server_request.init_reply ();
+
+ // In case ACE_TRY_ENV is not used in this function
+ ACE_UNUSED_ARG (ACE_TRY_ENV);
+}
+
+void POA_CORBA::OperationDef::_get_contexts_skel (
+ TAO_ServerRequest &_tao_server_request,
+ void *_tao_object_reference,
+ void * /* context */,
+ CORBA::Environment &ACE_TRY_ENV
+ )
+{
+ POA_CORBA::OperationDef *_tao_impl = (POA_CORBA::OperationDef *)_tao_object_reference;
+
+ CORBA::ContextIdSeq_var _tao_retval;
+
+#if (TAO_HAS_INTERCEPTORS == 1)
+ TAO_ServerRequestInterceptor_Adapter _tao_vfr (
+ _tao_server_request.orb_core ()->server_request_interceptors (),
+ _tao_server_request.interceptor_count ()
+ );
+
+ POA_CORBA::OperationDef::TAO_ServerRequestInfo_CORBA_OperationDef_contexts_get ri (
+ _tao_server_request,
+ _tao_impl,
+ ACE_TRY_ENV
+ );
+
+ ACE_TRY
+ {
+ _tao_vfr.receive_request (&ri, ACE_TRY_ENV);
+ ACE_TRY_CHECK;
+
+#endif /* TAO_HAS_INTERCEPTORS */
+ _tao_retval =
+ _tao_impl->contexts (
+ ACE_TRY_ENV
+ );
+ TAO_INTERCEPTOR_CHECK;
+
+#if (TAO_HAS_INTERCEPTORS == 1)
+ CORBA::ContextIdSeq * _tao_retval_info = _tao_retval._retn ();
+ ri.result (_tao_retval_info);
+ _tao_retval = _tao_retval_info;
+ ri.reply_status (PortableInterceptor::SUCCESSFUL);
+ _tao_vfr.send_reply (&ri, ACE_TRY_ENV);
+ ACE_TRY_CHECK;
+ }
+ ACE_CATCH (PortableInterceptor::ForwardRequest, exc)
+ {
+ ri.forward_reference (exc);
+ _tao_vfr.send_other (
+ &ri,
+ ACE_TRY_ENV
+ );
+ ACE_TRY_CHECK;
+ _tao_server_request.forward_location (exc.forward.in ());
+ }
+ ACE_CATCHANY
+ {
+ ri.exception (&ACE_ANY_EXCEPTION);
+ _tao_vfr.send_exception (
+ &ri,
+ ACE_TRY_ENV
+ );
+ ACE_TRY_CHECK;
+ ACE_RE_THROW;
+ }
+ ACE_ENDTRY;
+ ACE_CHECK;
+#endif /* TAO_HAS_INTERCEPTORS */
+
+ _tao_server_request.init_reply ();
+
+ TAO_OutputCDR &_tao_out = _tao_server_request.outgoing ();
+
+ if (!(
+ (_tao_out << _tao_retval.in ())
+ ))
+ ACE_THROW (CORBA::MARSHAL());
+
+ // In case ACE_TRY_ENV is not used in this function
+ ACE_UNUSED_ARG (ACE_TRY_ENV);
+}
+
+void POA_CORBA::OperationDef::_set_contexts_skel (
+ TAO_ServerRequest &_tao_server_request,
+ void *_tao_object_reference,
+ void * /* context */,
+ CORBA::Environment &ACE_TRY_ENV
+ )
+{
+ TAO_InputCDR &_tao_in = _tao_server_request.incoming ();
+ POA_CORBA::OperationDef *_tao_impl = (POA_CORBA::OperationDef *)_tao_object_reference;
+
+ _tao_server_request.argument_flag (0);
+ CORBA::ContextIdSeq contexts;
+ if (!(
+ (_tao_in >> contexts)
+ ))
+ ACE_THROW (CORBA::MARSHAL());
+
+
+#if (TAO_HAS_INTERCEPTORS == 1)
+ TAO_ServerRequestInterceptor_Adapter _tao_vfr (
+ _tao_server_request.orb_core ()->server_request_interceptors (),
+ _tao_server_request.interceptor_count ()
+ );
+
+ POA_CORBA::OperationDef::TAO_ServerRequestInfo_CORBA_OperationDef_contexts_set ri (
+ _tao_server_request,
+ _tao_impl,
+ contexts,
+ ACE_TRY_ENV
+ );
+
+ ACE_TRY
+ {
+ _tao_vfr.receive_request (&ri, ACE_TRY_ENV);
+ ACE_TRY_CHECK;
+
+#endif /* TAO_HAS_INTERCEPTORS */
+
+ _tao_impl->contexts (
+ contexts,
+ ACE_TRY_ENV
+ );
+ TAO_INTERCEPTOR_CHECK;
+
+#if (TAO_HAS_INTERCEPTORS == 1)
+ ri.reply_status (PortableInterceptor::SUCCESSFUL);
+ _tao_vfr.send_reply (&ri, ACE_TRY_ENV);
+ ACE_TRY_CHECK;
+ }
+ ACE_CATCH (PortableInterceptor::ForwardRequest, exc)
+ {
+ ri.forward_reference (exc);
+ _tao_vfr.send_other (
+ &ri,
+ ACE_TRY_ENV
+ );
+ ACE_TRY_CHECK;
+ _tao_server_request.forward_location (exc.forward.in ());
+ }
+ ACE_CATCHANY
+ {
+ ri.exception (&ACE_ANY_EXCEPTION);
+ _tao_vfr.send_exception (
+ &ri,
+ ACE_TRY_ENV
+ );
+ ACE_TRY_CHECK;
+ ACE_RE_THROW;
+ }
+ ACE_ENDTRY;
+ ACE_CHECK;
+#endif /* TAO_HAS_INTERCEPTORS */
+
+ _tao_server_request.init_reply ();
+
+ // In case ACE_TRY_ENV is not used in this function
+ ACE_UNUSED_ARG (ACE_TRY_ENV);
+}
+
+void POA_CORBA::OperationDef::_get_exceptions_skel (
+ TAO_ServerRequest &_tao_server_request,
+ void *_tao_object_reference,
+ void * /* context */,
+ CORBA::Environment &ACE_TRY_ENV
+ )
+{
+ POA_CORBA::OperationDef *_tao_impl = (POA_CORBA::OperationDef *)_tao_object_reference;
+
+ CORBA::ExceptionDefSeq_var _tao_retval;
+
+#if (TAO_HAS_INTERCEPTORS == 1)
+ TAO_ServerRequestInterceptor_Adapter _tao_vfr (
+ _tao_server_request.orb_core ()->server_request_interceptors (),
+ _tao_server_request.interceptor_count ()
+ );
+
+ POA_CORBA::OperationDef::TAO_ServerRequestInfo_CORBA_OperationDef_exceptions_get ri (
+ _tao_server_request,
+ _tao_impl,
+ ACE_TRY_ENV
+ );
+
+ ACE_TRY
+ {
+ _tao_vfr.receive_request (&ri, ACE_TRY_ENV);
+ ACE_TRY_CHECK;
+
+#endif /* TAO_HAS_INTERCEPTORS */
+ _tao_retval =
+ _tao_impl->exceptions (
+ ACE_TRY_ENV
+ );
+ TAO_INTERCEPTOR_CHECK;
+
+#if (TAO_HAS_INTERCEPTORS == 1)
+ CORBA::ExceptionDefSeq * _tao_retval_info = _tao_retval._retn ();
+ ri.result (_tao_retval_info);
+ _tao_retval = _tao_retval_info;
+ ri.reply_status (PortableInterceptor::SUCCESSFUL);
+ _tao_vfr.send_reply (&ri, ACE_TRY_ENV);
+ ACE_TRY_CHECK;
+ }
+ ACE_CATCH (PortableInterceptor::ForwardRequest, exc)
+ {
+ ri.forward_reference (exc);
+ _tao_vfr.send_other (
+ &ri,
+ ACE_TRY_ENV
+ );
+ ACE_TRY_CHECK;
+ _tao_server_request.forward_location (exc.forward.in ());
+ }
+ ACE_CATCHANY
+ {
+ ri.exception (&ACE_ANY_EXCEPTION);
+ _tao_vfr.send_exception (
+ &ri,
+ ACE_TRY_ENV
+ );
+ ACE_TRY_CHECK;
+ ACE_RE_THROW;
+ }
+ ACE_ENDTRY;
+ ACE_CHECK;
+#endif /* TAO_HAS_INTERCEPTORS */
+
+ _tao_server_request.init_reply ();
+
+ TAO_OutputCDR &_tao_out = _tao_server_request.outgoing ();
+
+ if (!(
+ (_tao_out << _tao_retval.in ())
+ ))
+ ACE_THROW (CORBA::MARSHAL());
+
+ // In case ACE_TRY_ENV is not used in this function
+ ACE_UNUSED_ARG (ACE_TRY_ENV);
+}
+
+void POA_CORBA::OperationDef::_set_exceptions_skel (
+ TAO_ServerRequest &_tao_server_request,
+ void *_tao_object_reference,
+ void * /* context */,
+ CORBA::Environment &ACE_TRY_ENV
+ )
+{
+ TAO_InputCDR &_tao_in = _tao_server_request.incoming ();
+ POA_CORBA::OperationDef *_tao_impl = (POA_CORBA::OperationDef *)_tao_object_reference;
+
+ _tao_server_request.argument_flag (0);
+ CORBA::ExceptionDefSeq exceptions;
+ if (!(
+ (_tao_in >> exceptions)
+ ))
+ ACE_THROW (CORBA::MARSHAL());
+
+
+#if (TAO_HAS_INTERCEPTORS == 1)
+ TAO_ServerRequestInterceptor_Adapter _tao_vfr (
+ _tao_server_request.orb_core ()->server_request_interceptors (),
+ _tao_server_request.interceptor_count ()
+ );
+
+ POA_CORBA::OperationDef::TAO_ServerRequestInfo_CORBA_OperationDef_exceptions_set ri (
+ _tao_server_request,
+ _tao_impl,
+ exceptions,
+ ACE_TRY_ENV
+ );
+
+ ACE_TRY
+ {
+ _tao_vfr.receive_request (&ri, ACE_TRY_ENV);
+ ACE_TRY_CHECK;
+
+#endif /* TAO_HAS_INTERCEPTORS */
+
+ _tao_impl->exceptions (
+ exceptions,
+ ACE_TRY_ENV
+ );
+ TAO_INTERCEPTOR_CHECK;
+
+#if (TAO_HAS_INTERCEPTORS == 1)
+ ri.reply_status (PortableInterceptor::SUCCESSFUL);
+ _tao_vfr.send_reply (&ri, ACE_TRY_ENV);
+ ACE_TRY_CHECK;
+ }
+ ACE_CATCH (PortableInterceptor::ForwardRequest, exc)
+ {
+ ri.forward_reference (exc);
+ _tao_vfr.send_other (
+ &ri,
+ ACE_TRY_ENV
+ );
+ ACE_TRY_CHECK;
+ _tao_server_request.forward_location (exc.forward.in ());
+ }
+ ACE_CATCHANY
+ {
+ ri.exception (&ACE_ANY_EXCEPTION);
+ _tao_vfr.send_exception (
+ &ri,
+ ACE_TRY_ENV
+ );
+ ACE_TRY_CHECK;
+ ACE_RE_THROW;
+ }
+ ACE_ENDTRY;
+ ACE_CHECK;
+#endif /* TAO_HAS_INTERCEPTORS */
+
+ _tao_server_request.init_reply ();
+
+ // In case ACE_TRY_ENV is not used in this function
+ ACE_UNUSED_ARG (ACE_TRY_ENV);
+}
+
+void POA_CORBA::OperationDef::_is_a_skel (
+ TAO_ServerRequest &_tao_server_request,
+ void * _tao_object_reference,
+ void * /* context */,
+ CORBA::Environment &ACE_TRY_ENV
+ )
+{
+ TAO_InputCDR &_tao_in = _tao_server_request.incoming ();
+ POA_CORBA::OperationDef *_tao_impl = (POA_CORBA::OperationDef *) _tao_object_reference;
+ CORBA::Boolean _tao_retval = 0;
+ CORBA::String_var value;
+ if (!(_tao_in >> value.out ()))
+ ACE_THROW (CORBA::MARSHAL ());
+
+ _tao_retval = _tao_impl->_is_a (value.in (), ACE_TRY_ENV);
+ ACE_CHECK;
+
+ _tao_server_request.init_reply ();
+ TAO_OutputCDR &_tao_out = _tao_server_request.outgoing ();
+ if (!(_tao_out << CORBA::Any::from_boolean (_tao_retval)))
+ ACE_THROW (CORBA::MARSHAL ());
+}
+
+void POA_CORBA::OperationDef::_non_existent_skel (
+ TAO_ServerRequest &_tao_server_request,
+ void * _tao_object_reference,
+ void * /* context */,
+ CORBA::Environment &ACE_TRY_ENV
+ )
+{
+ POA_CORBA::OperationDef *_tao_impl = (POA_CORBA::OperationDef *) _tao_object_reference;
+ CORBA::Boolean _tao_retval = _tao_impl->_non_existent (ACE_TRY_ENV);
+ ACE_CHECK;
+
+ _tao_server_request.init_reply ();
+ TAO_OutputCDR &_tao_out = _tao_server_request.outgoing ();
+ if (!(_tao_out << CORBA::Any::from_boolean (_tao_retval)))
+ ACE_THROW (CORBA::MARSHAL ());
+}
+
+CORBA::Boolean POA_CORBA::OperationDef::_is_a (
+ const char* value,
+ CORBA::Environment &ACE_TRY_ENV
+ )
+{
+ const char *base_id = CORBA::_tc_Object->id (ACE_TRY_ENV);
+ ACE_CHECK_RETURN (0);
+
+ if (
+ (!ACE_OS::strcmp ((char *)value, "IDL:omg.org/CORBA/OperationDef:1.0")) ||
+ (!ACE_OS::strcmp ((char *)value, "IDL:omg.org/CORBA/Contained:1.0")) ||
+ (!ACE_OS::strcmp ((char *)value, "IDL:omg.org/CORBA/IRObject:1.0")) ||
+ (!ACE_OS::strcmp ((char *)value, base_id)))
+ return 1;
+ else
+ return 0;
+}
+
+void* POA_CORBA::OperationDef::_downcast (
+ const char* logical_type_id
+ )
+{
+ if (ACE_OS::strcmp (logical_type_id, "IDL:omg.org/CORBA/OperationDef:1.0") == 0)
+ return ACE_static_cast (POA_CORBA::OperationDef_ptr, this);
+ if (ACE_OS::strcmp (logical_type_id, "IDL:omg.org/CORBA/Contained:1.0") == 0)
+ return ACE_static_cast (POA_CORBA::Contained_ptr, this);
+ if (ACE_OS::strcmp (logical_type_id, "IDL:omg.org/CORBA/IRObject:1.0") == 0)
+ return ACE_static_cast (POA_CORBA::IRObject_ptr, this);
+ if (ACE_OS::strcmp (logical_type_id, "IDL:omg.org/CORBA/Object:1.0") == 0)
+ return ACE_static_cast(PortableServer::Servant, this);
+ return 0;
+}
+
+void POA_CORBA::OperationDef::_dispatch (TAO_ServerRequest &req, void *context, CORBA::Environment &ACE_TRY_ENV)
+{
+ this->synchronous_upcall_dispatch(req, context, this, ACE_TRY_ENV);
+}
+
+const char* POA_CORBA::OperationDef::_interface_repository_id (void) const
+{
+ return "IDL:omg.org/CORBA/OperationDef:1.0";
+}
+
+CORBA::OperationDef*
+POA_CORBA::OperationDef::_this (CORBA_Environment &ACE_TRY_ENV)
+{
+ TAO_Stub *stub = this->_create_stub (ACE_TRY_ENV);
+ ACE_CHECK_RETURN (0);
+
+ CORBA::Object_ptr tmp = CORBA::Object::_nil ();
+
+ if (stub->servant_orb_var ()->orb_core ()->optimize_collocation_objects ())
+ ACE_NEW_RETURN (tmp, CORBA::Object (stub, 1, this), 0);
+ else
+ ACE_NEW_RETURN (tmp, CORBA::Object (stub, 0, this), 0);
+
+ CORBA::Object_var obj = tmp;
+ return ::CORBA::OperationDef::_unchecked_narrow (obj.in ());
+}
+
+
+#if (TAO_HAS_INTERCEPTORS == 1)
+POA_CORBA::OperationDef::TAO_ServerRequestInfo_CORBA_OperationDef_result_get::TAO_ServerRequestInfo_CORBA_OperationDef_result_get (
+ TAO_ServerRequest &_tao_server_request,
+ POA_CORBA::OperationDef *tao_impl,
+ CORBA::Environment &
+ )
+ : TAO_ServerRequestInfo (_tao_server_request),
+ _tao_impl (tao_impl)
+{}
+
+Dynamic::ParameterList *
+POA_CORBA::OperationDef::TAO_ServerRequestInfo_CORBA_OperationDef_result_get::arguments (CORBA::Environment &ACE_TRY_ENV)
+ ACE_THROW_SPEC ((CORBA::SystemException))
+{
+ // Generate the argument list on demand.
+ Dynamic::ParameterList *parameter_list =
+ TAO_RequestInfo_Util::make_parameter_list (ACE_TRY_ENV);
+ ACE_CHECK_RETURN (0);
+
+ return parameter_list;
+}
+
+Dynamic::ExceptionList *
+POA_CORBA::OperationDef::TAO_ServerRequestInfo_CORBA_OperationDef_result_get::exceptions (CORBA::Environment &ACE_TRY_ENV)
+ ACE_THROW_SPEC ((CORBA::SystemException))
+{
+ // Generate the exception list on demand.
+ Dynamic::ExceptionList *exception_list =
+ TAO_RequestInfo_Util::make_exception_list (ACE_TRY_ENV);
+ ACE_CHECK_RETURN (0);
+
+ return exception_list;
+}
+
+CORBA::Any *
+POA_CORBA::OperationDef::TAO_ServerRequestInfo_CORBA_OperationDef_result_get::result (CORBA::Environment &ACE_TRY_ENV)
+ ACE_THROW_SPEC ((CORBA::SystemException))
+{
+ // Generate the result on demand.
+ CORBA::Boolean tk_void_any = 0;
+ CORBA::Any *result_any =
+ TAO_RequestInfo_Util::make_any (tk_void_any, ACE_TRY_ENV);
+ ACE_CHECK_RETURN (0);
+
+ CORBA::Any_var safe_result_any = result_any;
+
+ (*result_any) <<= this->_result;
+
+ return safe_result_any._retn ();
+}
+
+char *
+POA_CORBA::OperationDef::TAO_ServerRequestInfo_CORBA_OperationDef_result_get::target_most_derived_interface (
+ CORBA::Environment &)
+ ACE_THROW_SPEC ((CORBA::SystemException))
+{
+ return
+ CORBA::string_dup (this->_tao_impl->_interface_repository_id ());
+}
+
+CORBA::Boolean
+POA_CORBA::OperationDef::TAO_ServerRequestInfo_CORBA_OperationDef_result_get::target_is_a (
+ const char * id,
+ CORBA::Environment &ACE_TRY_ENV)
+ ACE_THROW_SPEC ((CORBA::SystemException))
+{
+ return this->_tao_impl->_is_a (id, ACE_TRY_ENV);
+}
+
+void
+POA_CORBA::OperationDef::TAO_ServerRequestInfo_CORBA_OperationDef_result_get::result (CORBA::TypeCode_ptr result)
+{
+ // Update the result.
+ this->_result = result;
+}
+
+POA_CORBA::OperationDef::TAO_ServerRequestInfo_CORBA_OperationDef_result_def_get::TAO_ServerRequestInfo_CORBA_OperationDef_result_def_get (
+ TAO_ServerRequest &_tao_server_request,
+ POA_CORBA::OperationDef *tao_impl,
+ CORBA::Environment &
+ )
+ : TAO_ServerRequestInfo (_tao_server_request),
+ _tao_impl (tao_impl)
+{}
+
+Dynamic::ParameterList *
+POA_CORBA::OperationDef::TAO_ServerRequestInfo_CORBA_OperationDef_result_def_get::arguments (CORBA::Environment &ACE_TRY_ENV)
+ ACE_THROW_SPEC ((CORBA::SystemException))
+{
+ // Generate the argument list on demand.
+ Dynamic::ParameterList *parameter_list =
+ TAO_RequestInfo_Util::make_parameter_list (ACE_TRY_ENV);
+ ACE_CHECK_RETURN (0);
+
+ return parameter_list;
+}
+
+Dynamic::ExceptionList *
+POA_CORBA::OperationDef::TAO_ServerRequestInfo_CORBA_OperationDef_result_def_get::exceptions (CORBA::Environment &ACE_TRY_ENV)
+ ACE_THROW_SPEC ((CORBA::SystemException))
+{
+ // Generate the exception list on demand.
+ Dynamic::ExceptionList *exception_list =
+ TAO_RequestInfo_Util::make_exception_list (ACE_TRY_ENV);
+ ACE_CHECK_RETURN (0);
+
+ return exception_list;
+}
+
+CORBA::Any *
+POA_CORBA::OperationDef::TAO_ServerRequestInfo_CORBA_OperationDef_result_def_get::result (CORBA::Environment &ACE_TRY_ENV)
+ ACE_THROW_SPEC ((CORBA::SystemException))
+{
+ // Generate the result on demand.
+ CORBA::Boolean tk_void_any = 0;
+ CORBA::Any *result_any =
+ TAO_RequestInfo_Util::make_any (tk_void_any, ACE_TRY_ENV);
+ ACE_CHECK_RETURN (0);
+
+ CORBA::Any_var safe_result_any = result_any;
+
+ (*result_any) <<= this->_result;
+
+ return safe_result_any._retn ();
+}
+
+char *
+POA_CORBA::OperationDef::TAO_ServerRequestInfo_CORBA_OperationDef_result_def_get::target_most_derived_interface (
+ CORBA::Environment &)
+ ACE_THROW_SPEC ((CORBA::SystemException))
+{
+ return
+ CORBA::string_dup (this->_tao_impl->_interface_repository_id ());
+}
+
+CORBA::Boolean
+POA_CORBA::OperationDef::TAO_ServerRequestInfo_CORBA_OperationDef_result_def_get::target_is_a (
+ const char * id,
+ CORBA::Environment &ACE_TRY_ENV)
+ ACE_THROW_SPEC ((CORBA::SystemException))
+{
+ return this->_tao_impl->_is_a (id, ACE_TRY_ENV);
+}
+
+void
+POA_CORBA::OperationDef::TAO_ServerRequestInfo_CORBA_OperationDef_result_def_get::result (CORBA::IDLType_ptr result)
+{
+ // Update the result.
+ this->_result = result;
+}
+
+POA_CORBA::OperationDef::TAO_ServerRequestInfo_CORBA_OperationDef_result_def_set::TAO_ServerRequestInfo_CORBA_OperationDef_result_def_set (
+ TAO_ServerRequest &_tao_server_request,
+ POA_CORBA::OperationDef *tao_impl,
+ CORBA::IDLType_ptr result_def,
+ CORBA::Environment &
+ )
+ : TAO_ServerRequestInfo (_tao_server_request),
+ _tao_impl (tao_impl),
+ result_def_ (result_def)
+{}
+
+Dynamic::ParameterList *
+POA_CORBA::OperationDef::TAO_ServerRequestInfo_CORBA_OperationDef_result_def_set::arguments (CORBA::Environment &ACE_TRY_ENV)
+ ACE_THROW_SPEC ((CORBA::SystemException))
+{
+ // Generate the argument list on demand.
+ Dynamic::ParameterList *parameter_list =
+ TAO_RequestInfo_Util::make_parameter_list (ACE_TRY_ENV);
+ ACE_CHECK_RETURN (0);
+
+ Dynamic::ParameterList_var safe_parameter_list = parameter_list;
+
+ CORBA::ULong length_result_def = parameter_list->length ();
+ parameter_list->length (length_result_def + 1);
+ (*parameter_list)[length_result_def].argument <<= this->result_def_;
+
+ (*parameter_list)[length_result_def].mode = Dynamic::PARAM_IN;
+
+ return safe_parameter_list._retn ();
+}
+
+Dynamic::ExceptionList *
+POA_CORBA::OperationDef::TAO_ServerRequestInfo_CORBA_OperationDef_result_def_set::exceptions (CORBA::Environment &ACE_TRY_ENV)
+ ACE_THROW_SPEC ((CORBA::SystemException))
+{
+ // Generate the exception list on demand.
+ Dynamic::ExceptionList *exception_list =
+ TAO_RequestInfo_Util::make_exception_list (ACE_TRY_ENV);
+ ACE_CHECK_RETURN (0);
+
+ return exception_list;
+}
+
+CORBA::Any *
+POA_CORBA::OperationDef::TAO_ServerRequestInfo_CORBA_OperationDef_result_def_set::result (CORBA::Environment &ACE_TRY_ENV)
+ ACE_THROW_SPEC ((CORBA::SystemException))
+{
+ // Generate the result on demand.
+ CORBA::Boolean tk_void_any = 1;
+ CORBA::Any *result_any =
+ TAO_RequestInfo_Util::make_any (tk_void_any, ACE_TRY_ENV);
+ ACE_CHECK_RETURN (0);
+
+ return result_any;
+}
+
+char *
+POA_CORBA::OperationDef::TAO_ServerRequestInfo_CORBA_OperationDef_result_def_set::target_most_derived_interface (
+ CORBA::Environment &)
+ ACE_THROW_SPEC ((CORBA::SystemException))
+{
+ return
+ CORBA::string_dup (this->_tao_impl->_interface_repository_id ());
+}
+
+CORBA::Boolean
+POA_CORBA::OperationDef::TAO_ServerRequestInfo_CORBA_OperationDef_result_def_set::target_is_a (
+ const char * id,
+ CORBA::Environment &ACE_TRY_ENV)
+ ACE_THROW_SPEC ((CORBA::SystemException))
+{
+ return this->_tao_impl->_is_a (id, ACE_TRY_ENV);
+}
+
+POA_CORBA::OperationDef::TAO_ServerRequestInfo_CORBA_OperationDef_params_get::TAO_ServerRequestInfo_CORBA_OperationDef_params_get (
+ TAO_ServerRequest &_tao_server_request,
+ POA_CORBA::OperationDef *tao_impl,
+ CORBA::Environment &
+ )
+ : TAO_ServerRequestInfo (_tao_server_request),
+ _tao_impl (tao_impl)
+{}
+
+Dynamic::ParameterList *
+POA_CORBA::OperationDef::TAO_ServerRequestInfo_CORBA_OperationDef_params_get::arguments (CORBA::Environment &ACE_TRY_ENV)
+ ACE_THROW_SPEC ((CORBA::SystemException))
+{
+ // Generate the argument list on demand.
+ Dynamic::ParameterList *parameter_list =
+ TAO_RequestInfo_Util::make_parameter_list (ACE_TRY_ENV);
+ ACE_CHECK_RETURN (0);
+
+ return parameter_list;
+}
+
+Dynamic::ExceptionList *
+POA_CORBA::OperationDef::TAO_ServerRequestInfo_CORBA_OperationDef_params_get::exceptions (CORBA::Environment &ACE_TRY_ENV)
+ ACE_THROW_SPEC ((CORBA::SystemException))
+{
+ // Generate the exception list on demand.
+ Dynamic::ExceptionList *exception_list =
+ TAO_RequestInfo_Util::make_exception_list (ACE_TRY_ENV);
+ ACE_CHECK_RETURN (0);
+
+ return exception_list;
+}
+
+CORBA::Any *
+POA_CORBA::OperationDef::TAO_ServerRequestInfo_CORBA_OperationDef_params_get::result (CORBA::Environment &ACE_TRY_ENV)
+ ACE_THROW_SPEC ((CORBA::SystemException))
+{
+ // Generate the result on demand.
+ CORBA::Boolean tk_void_any = 0;
+ CORBA::Any *result_any =
+ TAO_RequestInfo_Util::make_any (tk_void_any, ACE_TRY_ENV);
+ ACE_CHECK_RETURN (0);
+
+ CORBA::Any_var safe_result_any = result_any;
+
+ (*result_any) <<= this->_result;
+
+ return safe_result_any._retn ();
+}
+
+char *
+POA_CORBA::OperationDef::TAO_ServerRequestInfo_CORBA_OperationDef_params_get::target_most_derived_interface (
+ CORBA::Environment &)
+ ACE_THROW_SPEC ((CORBA::SystemException))
+{
+ return
+ CORBA::string_dup (this->_tao_impl->_interface_repository_id ());
+}
+
+CORBA::Boolean
+POA_CORBA::OperationDef::TAO_ServerRequestInfo_CORBA_OperationDef_params_get::target_is_a (
+ const char * id,
+ CORBA::Environment &ACE_TRY_ENV)
+ ACE_THROW_SPEC ((CORBA::SystemException))
+{
+ return this->_tao_impl->_is_a (id, ACE_TRY_ENV);
+}
+
+void
+POA_CORBA::OperationDef::TAO_ServerRequestInfo_CORBA_OperationDef_params_get::result (CORBA::ParDescriptionSeq * result)
+{
+ // Update the result.
+ this->_result = result;
+}
+
+POA_CORBA::OperationDef::TAO_ServerRequestInfo_CORBA_OperationDef_params_set::TAO_ServerRequestInfo_CORBA_OperationDef_params_set (
+ TAO_ServerRequest &_tao_server_request,
+ POA_CORBA::OperationDef *tao_impl,
+ const CORBA::ParDescriptionSeq & params,
+ CORBA::Environment &
+ )
+ : TAO_ServerRequestInfo (_tao_server_request),
+ _tao_impl (tao_impl),
+ params_ (params)
+{}
+
+Dynamic::ParameterList *
+POA_CORBA::OperationDef::TAO_ServerRequestInfo_CORBA_OperationDef_params_set::arguments (CORBA::Environment &ACE_TRY_ENV)
+ ACE_THROW_SPEC ((CORBA::SystemException))
+{
+ // Generate the argument list on demand.
+ Dynamic::ParameterList *parameter_list =
+ TAO_RequestInfo_Util::make_parameter_list (ACE_TRY_ENV);
+ ACE_CHECK_RETURN (0);
+
+ Dynamic::ParameterList_var safe_parameter_list = parameter_list;
+
+ CORBA::ULong length_params = parameter_list->length ();
+ parameter_list->length (length_params + 1);
+ (*parameter_list)[length_params].argument <<= this->params_;
+
+ (*parameter_list)[length_params].mode = Dynamic::PARAM_IN;
+
+ return safe_parameter_list._retn ();
+}
+
+Dynamic::ExceptionList *
+POA_CORBA::OperationDef::TAO_ServerRequestInfo_CORBA_OperationDef_params_set::exceptions (CORBA::Environment &ACE_TRY_ENV)
+ ACE_THROW_SPEC ((CORBA::SystemException))
+{
+ // Generate the exception list on demand.
+ Dynamic::ExceptionList *exception_list =
+ TAO_RequestInfo_Util::make_exception_list (ACE_TRY_ENV);
+ ACE_CHECK_RETURN (0);
+
+ return exception_list;
+}
+
+CORBA::Any *
+POA_CORBA::OperationDef::TAO_ServerRequestInfo_CORBA_OperationDef_params_set::result (CORBA::Environment &ACE_TRY_ENV)
+ ACE_THROW_SPEC ((CORBA::SystemException))
+{
+ // Generate the result on demand.
+ CORBA::Boolean tk_void_any = 1;
+ CORBA::Any *result_any =
+ TAO_RequestInfo_Util::make_any (tk_void_any, ACE_TRY_ENV);
+ ACE_CHECK_RETURN (0);
+
+ return result_any;
+}
+
+char *
+POA_CORBA::OperationDef::TAO_ServerRequestInfo_CORBA_OperationDef_params_set::target_most_derived_interface (
+ CORBA::Environment &)
+ ACE_THROW_SPEC ((CORBA::SystemException))
+{
+ return
+ CORBA::string_dup (this->_tao_impl->_interface_repository_id ());
+}
+
+CORBA::Boolean
+POA_CORBA::OperationDef::TAO_ServerRequestInfo_CORBA_OperationDef_params_set::target_is_a (
+ const char * id,
+ CORBA::Environment &ACE_TRY_ENV)
+ ACE_THROW_SPEC ((CORBA::SystemException))
+{
+ return this->_tao_impl->_is_a (id, ACE_TRY_ENV);
+}
+
+POA_CORBA::OperationDef::TAO_ServerRequestInfo_CORBA_OperationDef_mode_get::TAO_ServerRequestInfo_CORBA_OperationDef_mode_get (
+ TAO_ServerRequest &_tao_server_request,
+ POA_CORBA::OperationDef *tao_impl,
+ CORBA::Environment &
+ )
+ : TAO_ServerRequestInfo (_tao_server_request),
+ _tao_impl (tao_impl)
+{}
+
+Dynamic::ParameterList *
+POA_CORBA::OperationDef::TAO_ServerRequestInfo_CORBA_OperationDef_mode_get::arguments (CORBA::Environment &ACE_TRY_ENV)
+ ACE_THROW_SPEC ((CORBA::SystemException))
+{
+ // Generate the argument list on demand.
+ Dynamic::ParameterList *parameter_list =
+ TAO_RequestInfo_Util::make_parameter_list (ACE_TRY_ENV);
+ ACE_CHECK_RETURN (0);
+
+ return parameter_list;
+}
+
+Dynamic::ExceptionList *
+POA_CORBA::OperationDef::TAO_ServerRequestInfo_CORBA_OperationDef_mode_get::exceptions (CORBA::Environment &ACE_TRY_ENV)
+ ACE_THROW_SPEC ((CORBA::SystemException))
+{
+ // Generate the exception list on demand.
+ Dynamic::ExceptionList *exception_list =
+ TAO_RequestInfo_Util::make_exception_list (ACE_TRY_ENV);
+ ACE_CHECK_RETURN (0);
+
+ return exception_list;
+}
+
+CORBA::Any *
+POA_CORBA::OperationDef::TAO_ServerRequestInfo_CORBA_OperationDef_mode_get::result (CORBA::Environment &ACE_TRY_ENV)
+ ACE_THROW_SPEC ((CORBA::SystemException))
+{
+ // Generate the result on demand.
+ CORBA::Boolean tk_void_any = 0;
+ CORBA::Any *result_any =
+ TAO_RequestInfo_Util::make_any (tk_void_any, ACE_TRY_ENV);
+ ACE_CHECK_RETURN (0);
+
+ CORBA::Any_var safe_result_any = result_any;
+
+ (*result_any) <<= this->_result;
+
+ return safe_result_any._retn ();
+}
+
+char *
+POA_CORBA::OperationDef::TAO_ServerRequestInfo_CORBA_OperationDef_mode_get::target_most_derived_interface (
+ CORBA::Environment &)
+ ACE_THROW_SPEC ((CORBA::SystemException))
+{
+ return
+ CORBA::string_dup (this->_tao_impl->_interface_repository_id ());
+}
+
+CORBA::Boolean
+POA_CORBA::OperationDef::TAO_ServerRequestInfo_CORBA_OperationDef_mode_get::target_is_a (
+ const char * id,
+ CORBA::Environment &ACE_TRY_ENV)
+ ACE_THROW_SPEC ((CORBA::SystemException))
+{
+ return this->_tao_impl->_is_a (id, ACE_TRY_ENV);
+}
+
+void
+POA_CORBA::OperationDef::TAO_ServerRequestInfo_CORBA_OperationDef_mode_get::result (CORBA::OperationMode result)
+{
+ // Update the result.
+ this->_result = result;
+}
+
+POA_CORBA::OperationDef::TAO_ServerRequestInfo_CORBA_OperationDef_mode_set::TAO_ServerRequestInfo_CORBA_OperationDef_mode_set (
+ TAO_ServerRequest &_tao_server_request,
+ POA_CORBA::OperationDef *tao_impl,
+ CORBA::OperationMode & mode,
+ CORBA::Environment &
+ )
+ : TAO_ServerRequestInfo (_tao_server_request),
+ _tao_impl (tao_impl),
+ mode_ (mode)
+{}
+
+Dynamic::ParameterList *
+POA_CORBA::OperationDef::TAO_ServerRequestInfo_CORBA_OperationDef_mode_set::arguments (CORBA::Environment &ACE_TRY_ENV)
+ ACE_THROW_SPEC ((CORBA::SystemException))
+{
+ // Generate the argument list on demand.
+ Dynamic::ParameterList *parameter_list =
+ TAO_RequestInfo_Util::make_parameter_list (ACE_TRY_ENV);
+ ACE_CHECK_RETURN (0);
+
+ Dynamic::ParameterList_var safe_parameter_list = parameter_list;
+
+ CORBA::ULong length_mode = parameter_list->length ();
+ parameter_list->length (length_mode + 1);
+ (*parameter_list)[length_mode].argument <<= this->mode_;
+
+ (*parameter_list)[length_mode].mode = Dynamic::PARAM_IN;
+
+ return safe_parameter_list._retn ();
+}
+
+Dynamic::ExceptionList *
+POA_CORBA::OperationDef::TAO_ServerRequestInfo_CORBA_OperationDef_mode_set::exceptions (CORBA::Environment &ACE_TRY_ENV)
+ ACE_THROW_SPEC ((CORBA::SystemException))
+{
+ // Generate the exception list on demand.
+ Dynamic::ExceptionList *exception_list =
+ TAO_RequestInfo_Util::make_exception_list (ACE_TRY_ENV);
+ ACE_CHECK_RETURN (0);
+
+ return exception_list;
+}
+
+CORBA::Any *
+POA_CORBA::OperationDef::TAO_ServerRequestInfo_CORBA_OperationDef_mode_set::result (CORBA::Environment &ACE_TRY_ENV)
+ ACE_THROW_SPEC ((CORBA::SystemException))
+{
+ // Generate the result on demand.
+ CORBA::Boolean tk_void_any = 1;
+ CORBA::Any *result_any =
+ TAO_RequestInfo_Util::make_any (tk_void_any, ACE_TRY_ENV);
+ ACE_CHECK_RETURN (0);
+
+ return result_any;
+}
+
+char *
+POA_CORBA::OperationDef::TAO_ServerRequestInfo_CORBA_OperationDef_mode_set::target_most_derived_interface (
+ CORBA::Environment &)
+ ACE_THROW_SPEC ((CORBA::SystemException))
+{
+ return
+ CORBA::string_dup (this->_tao_impl->_interface_repository_id ());
+}
+
+CORBA::Boolean
+POA_CORBA::OperationDef::TAO_ServerRequestInfo_CORBA_OperationDef_mode_set::target_is_a (
+ const char * id,
+ CORBA::Environment &ACE_TRY_ENV)
+ ACE_THROW_SPEC ((CORBA::SystemException))
+{
+ return this->_tao_impl->_is_a (id, ACE_TRY_ENV);
+}
+
+POA_CORBA::OperationDef::TAO_ServerRequestInfo_CORBA_OperationDef_contexts_get::TAO_ServerRequestInfo_CORBA_OperationDef_contexts_get (
+ TAO_ServerRequest &_tao_server_request,
+ POA_CORBA::OperationDef *tao_impl,
+ CORBA::Environment &
+ )
+ : TAO_ServerRequestInfo (_tao_server_request),
+ _tao_impl (tao_impl)
+{}
+
+Dynamic::ParameterList *
+POA_CORBA::OperationDef::TAO_ServerRequestInfo_CORBA_OperationDef_contexts_get::arguments (CORBA::Environment &ACE_TRY_ENV)
+ ACE_THROW_SPEC ((CORBA::SystemException))
+{
+ // Generate the argument list on demand.
+ Dynamic::ParameterList *parameter_list =
+ TAO_RequestInfo_Util::make_parameter_list (ACE_TRY_ENV);
+ ACE_CHECK_RETURN (0);
+
+ return parameter_list;
+}
+
+Dynamic::ExceptionList *
+POA_CORBA::OperationDef::TAO_ServerRequestInfo_CORBA_OperationDef_contexts_get::exceptions (CORBA::Environment &ACE_TRY_ENV)
+ ACE_THROW_SPEC ((CORBA::SystemException))
+{
+ // Generate the exception list on demand.
+ Dynamic::ExceptionList *exception_list =
+ TAO_RequestInfo_Util::make_exception_list (ACE_TRY_ENV);
+ ACE_CHECK_RETURN (0);
+
+ return exception_list;
+}
+
+CORBA::Any *
+POA_CORBA::OperationDef::TAO_ServerRequestInfo_CORBA_OperationDef_contexts_get::result (CORBA::Environment &ACE_TRY_ENV)
+ ACE_THROW_SPEC ((CORBA::SystemException))
+{
+ // Generate the result on demand.
+ CORBA::Boolean tk_void_any = 0;
+ CORBA::Any *result_any =
+ TAO_RequestInfo_Util::make_any (tk_void_any, ACE_TRY_ENV);
+ ACE_CHECK_RETURN (0);
+
+ CORBA::Any_var safe_result_any = result_any;
+
+ (*result_any) <<= this->_result;
+
+ return safe_result_any._retn ();
+}
+
+char *
+POA_CORBA::OperationDef::TAO_ServerRequestInfo_CORBA_OperationDef_contexts_get::target_most_derived_interface (
+ CORBA::Environment &)
+ ACE_THROW_SPEC ((CORBA::SystemException))
+{
+ return
+ CORBA::string_dup (this->_tao_impl->_interface_repository_id ());
+}
+
+CORBA::Boolean
+POA_CORBA::OperationDef::TAO_ServerRequestInfo_CORBA_OperationDef_contexts_get::target_is_a (
+ const char * id,
+ CORBA::Environment &ACE_TRY_ENV)
+ ACE_THROW_SPEC ((CORBA::SystemException))
+{
+ return this->_tao_impl->_is_a (id, ACE_TRY_ENV);
+}
+
+void
+POA_CORBA::OperationDef::TAO_ServerRequestInfo_CORBA_OperationDef_contexts_get::result (CORBA::ContextIdSeq * result)
+{
+ // Update the result.
+ this->_result = result;
+}
+
+POA_CORBA::OperationDef::TAO_ServerRequestInfo_CORBA_OperationDef_contexts_set::TAO_ServerRequestInfo_CORBA_OperationDef_contexts_set (
+ TAO_ServerRequest &_tao_server_request,
+ POA_CORBA::OperationDef *tao_impl,
+ const CORBA::ContextIdSeq & contexts,
+ CORBA::Environment &
+ )
+ : TAO_ServerRequestInfo (_tao_server_request),
+ _tao_impl (tao_impl),
+ contexts_ (contexts)
+{}
+
+Dynamic::ParameterList *
+POA_CORBA::OperationDef::TAO_ServerRequestInfo_CORBA_OperationDef_contexts_set::arguments (CORBA::Environment &ACE_TRY_ENV)
+ ACE_THROW_SPEC ((CORBA::SystemException))
+{
+ // Generate the argument list on demand.
+ Dynamic::ParameterList *parameter_list =
+ TAO_RequestInfo_Util::make_parameter_list (ACE_TRY_ENV);
+ ACE_CHECK_RETURN (0);
+
+ Dynamic::ParameterList_var safe_parameter_list = parameter_list;
+
+ CORBA::ULong length_contexts = parameter_list->length ();
+ parameter_list->length (length_contexts + 1);
+ (*parameter_list)[length_contexts].argument <<= this->contexts_;
+
+ (*parameter_list)[length_contexts].mode = Dynamic::PARAM_IN;
+
+ return safe_parameter_list._retn ();
+}
+
+Dynamic::ExceptionList *
+POA_CORBA::OperationDef::TAO_ServerRequestInfo_CORBA_OperationDef_contexts_set::exceptions (CORBA::Environment &ACE_TRY_ENV)
+ ACE_THROW_SPEC ((CORBA::SystemException))
+{
+ // Generate the exception list on demand.
+ Dynamic::ExceptionList *exception_list =
+ TAO_RequestInfo_Util::make_exception_list (ACE_TRY_ENV);
+ ACE_CHECK_RETURN (0);
+
+ return exception_list;
+}
+
+CORBA::Any *
+POA_CORBA::OperationDef::TAO_ServerRequestInfo_CORBA_OperationDef_contexts_set::result (CORBA::Environment &ACE_TRY_ENV)
+ ACE_THROW_SPEC ((CORBA::SystemException))
+{
+ // Generate the result on demand.
+ CORBA::Boolean tk_void_any = 1;
+ CORBA::Any *result_any =
+ TAO_RequestInfo_Util::make_any (tk_void_any, ACE_TRY_ENV);
+ ACE_CHECK_RETURN (0);
+
+ return result_any;
+}
+
+char *
+POA_CORBA::OperationDef::TAO_ServerRequestInfo_CORBA_OperationDef_contexts_set::target_most_derived_interface (
+ CORBA::Environment &)
+ ACE_THROW_SPEC ((CORBA::SystemException))
+{
+ return
+ CORBA::string_dup (this->_tao_impl->_interface_repository_id ());
+}
+
+CORBA::Boolean
+POA_CORBA::OperationDef::TAO_ServerRequestInfo_CORBA_OperationDef_contexts_set::target_is_a (
+ const char * id,
+ CORBA::Environment &ACE_TRY_ENV)
+ ACE_THROW_SPEC ((CORBA::SystemException))
+{
+ return this->_tao_impl->_is_a (id, ACE_TRY_ENV);
+}
+
+POA_CORBA::OperationDef::TAO_ServerRequestInfo_CORBA_OperationDef_exceptions_get::TAO_ServerRequestInfo_CORBA_OperationDef_exceptions_get (
+ TAO_ServerRequest &_tao_server_request,
+ POA_CORBA::OperationDef *tao_impl,
+ CORBA::Environment &
+ )
+ : TAO_ServerRequestInfo (_tao_server_request),
+ _tao_impl (tao_impl)
+{}
+
+Dynamic::ParameterList *
+POA_CORBA::OperationDef::TAO_ServerRequestInfo_CORBA_OperationDef_exceptions_get::arguments (CORBA::Environment &ACE_TRY_ENV)
+ ACE_THROW_SPEC ((CORBA::SystemException))
+{
+ // Generate the argument list on demand.
+ Dynamic::ParameterList *parameter_list =
+ TAO_RequestInfo_Util::make_parameter_list (ACE_TRY_ENV);
+ ACE_CHECK_RETURN (0);
+
+ return parameter_list;
+}
+
+Dynamic::ExceptionList *
+POA_CORBA::OperationDef::TAO_ServerRequestInfo_CORBA_OperationDef_exceptions_get::exceptions (CORBA::Environment &ACE_TRY_ENV)
+ ACE_THROW_SPEC ((CORBA::SystemException))
+{
+ // Generate the exception list on demand.
+ Dynamic::ExceptionList *exception_list =
+ TAO_RequestInfo_Util::make_exception_list (ACE_TRY_ENV);
+ ACE_CHECK_RETURN (0);
+
+ return exception_list;
+}
+
+CORBA::Any *
+POA_CORBA::OperationDef::TAO_ServerRequestInfo_CORBA_OperationDef_exceptions_get::result (CORBA::Environment &ACE_TRY_ENV)
+ ACE_THROW_SPEC ((CORBA::SystemException))
+{
+ // Generate the result on demand.
+ CORBA::Boolean tk_void_any = 0;
+ CORBA::Any *result_any =
+ TAO_RequestInfo_Util::make_any (tk_void_any, ACE_TRY_ENV);
+ ACE_CHECK_RETURN (0);
+
+ CORBA::Any_var safe_result_any = result_any;
+
+ (*result_any) <<= this->_result;
+
+ return safe_result_any._retn ();
+}
+
+char *
+POA_CORBA::OperationDef::TAO_ServerRequestInfo_CORBA_OperationDef_exceptions_get::target_most_derived_interface (
+ CORBA::Environment &)
+ ACE_THROW_SPEC ((CORBA::SystemException))
+{
+ return
+ CORBA::string_dup (this->_tao_impl->_interface_repository_id ());
+}
+
+CORBA::Boolean
+POA_CORBA::OperationDef::TAO_ServerRequestInfo_CORBA_OperationDef_exceptions_get::target_is_a (
+ const char * id,
+ CORBA::Environment &ACE_TRY_ENV)
+ ACE_THROW_SPEC ((CORBA::SystemException))
+{
+ return this->_tao_impl->_is_a (id, ACE_TRY_ENV);
+}
+
+void
+POA_CORBA::OperationDef::TAO_ServerRequestInfo_CORBA_OperationDef_exceptions_get::result (CORBA::ExceptionDefSeq * result)
+{
+ // Update the result.
+ this->_result = result;
+}
+
+POA_CORBA::OperationDef::TAO_ServerRequestInfo_CORBA_OperationDef_exceptions_set::TAO_ServerRequestInfo_CORBA_OperationDef_exceptions_set (
+ TAO_ServerRequest &_tao_server_request,
+ POA_CORBA::OperationDef *tao_impl,
+ const CORBA::ExceptionDefSeq & exceptions,
+ CORBA::Environment &
+ )
+ : TAO_ServerRequestInfo (_tao_server_request),
+ _tao_impl (tao_impl),
+ exceptions_ (exceptions)
+{}
+
+Dynamic::ParameterList *
+POA_CORBA::OperationDef::TAO_ServerRequestInfo_CORBA_OperationDef_exceptions_set::arguments (CORBA::Environment &ACE_TRY_ENV)
+ ACE_THROW_SPEC ((CORBA::SystemException))
+{
+ // Generate the argument list on demand.
+ Dynamic::ParameterList *parameter_list =
+ TAO_RequestInfo_Util::make_parameter_list (ACE_TRY_ENV);
+ ACE_CHECK_RETURN (0);
+
+ Dynamic::ParameterList_var safe_parameter_list = parameter_list;
+
+ CORBA::ULong length_exceptions = parameter_list->length ();
+ parameter_list->length (length_exceptions + 1);
+ (*parameter_list)[length_exceptions].argument <<= this->exceptions_;
+
+ (*parameter_list)[length_exceptions].mode = Dynamic::PARAM_IN;
+
+ return safe_parameter_list._retn ();
+}
+
+Dynamic::ExceptionList *
+POA_CORBA::OperationDef::TAO_ServerRequestInfo_CORBA_OperationDef_exceptions_set::exceptions (CORBA::Environment &ACE_TRY_ENV)
+ ACE_THROW_SPEC ((CORBA::SystemException))
+{
+ // Generate the exception list on demand.
+ Dynamic::ExceptionList *exception_list =
+ TAO_RequestInfo_Util::make_exception_list (ACE_TRY_ENV);
+ ACE_CHECK_RETURN (0);
+
+ return exception_list;
+}
+
+CORBA::Any *
+POA_CORBA::OperationDef::TAO_ServerRequestInfo_CORBA_OperationDef_exceptions_set::result (CORBA::Environment &ACE_TRY_ENV)
+ ACE_THROW_SPEC ((CORBA::SystemException))
+{
+ // Generate the result on demand.
+ CORBA::Boolean tk_void_any = 1;
+ CORBA::Any *result_any =
+ TAO_RequestInfo_Util::make_any (tk_void_any, ACE_TRY_ENV);
+ ACE_CHECK_RETURN (0);
+
+ return result_any;
+}
+
+char *
+POA_CORBA::OperationDef::TAO_ServerRequestInfo_CORBA_OperationDef_exceptions_set::target_most_derived_interface (
+ CORBA::Environment &)
+ ACE_THROW_SPEC ((CORBA::SystemException))
+{
+ return
+ CORBA::string_dup (this->_tao_impl->_interface_repository_id ());
+}
+
+CORBA::Boolean
+POA_CORBA::OperationDef::TAO_ServerRequestInfo_CORBA_OperationDef_exceptions_set::target_is_a (
+ const char * id,
+ CORBA::Environment &ACE_TRY_ENV)
+ ACE_THROW_SPEC ((CORBA::SystemException))
+{
+ return this->_tao_impl->_is_a (id, ACE_TRY_ENV);
+}
+
+#endif /* TAO_HAS_INTERCEPTORS */
+class TAO_CORBA_InterfaceDef_Perfect_Hash_OpTable : public TAO_Perfect_Hash_OpTable
+{
+private:
+ unsigned int hash (const char *str, unsigned int len);
+public:
+ const TAO_operation_db_entry * lookup (const char *str, unsigned int len);
+};
+/* starting time is 10:44:38 */
+/* C++ code produced by gperf version 2.8 (ACE version) */
+/* Command-line: gperf -m -M -J -c -C -D -E -T -f 0 -F 0 -a -o -t -p -K opname_ -L C++ -Z TAO_CORBA_InterfaceDef_Perfect_Hash_OpTable -N lookup */
+unsigned int
+TAO_CORBA_InterfaceDef_Perfect_Hash_OpTable::hash (const char *str, unsigned int len)
+{
+ static const unsigned char asso_values[] =
+ {
+#if defined (ACE_MVS)
+ 59, 59, 59, 59, 59, 59, 59, 59, 59, 59,
+ 59, 59, 59, 59, 59, 59, 59, 59, 59, 59,
+ 59, 59, 59, 59, 59, 59, 59, 59, 59, 59,
+ 59, 59, 59, 59, 59, 59, 59, 59, 59, 59,
+ 59, 59, 59, 59, 59, 59, 59, 59, 59, 59,
+ 59, 59, 59, 59, 59, 59, 59, 59, 59, 59,
+ 59, 59, 59, 59, 59, 59, 59, 59, 59, 59,
+ 59, 59, 59, 59, 59, 59, 59, 59, 59, 59,
+ 59, 59, 59, 59, 59, 59, 59, 59, 59, 59,
+ 59, 59, 59, 59, 59, 59, 59, 59, 59, 59,
+ 59, 59, 59, 59, 59, 59, 59, 59, 59, 15,
+ 59, 59, 59, 59, 59, 59, 59, 59, 59, 59,
+ 59, 59, 59, 59, 59, 59, 59, 59, 59, 0,
+ 59, 0, 20, 0, 59, 59, 59, 5, 59, 59,
+ 59, 59, 59, 59, 59, 59, 59, 20, 0, 5,
+ 59, 10, 59, 59, 59, 59, 59, 59, 59, 59,
+ 59, 59, 15, 30, 59, 59, 59, 10, 10, 59,
+ 59, 59, 59, 59, 59, 59, 59, 59, 59, 59,
+ 59, 59, 59, 59, 59, 59, 59, 59, 59, 59,
+ 59, 59, 59, 59, 59, 59, 59, 59, 59, 59,
+ 59, 59, 59, 59, 59, 59, 59, 59, 59, 59,
+ 59, 59, 59, 59, 59, 59, 59, 59, 59, 59,
+ 59, 59, 59, 59, 59, 59, 59, 59, 59, 59,
+ 59, 59, 59, 59, 59, 59, 59, 59, 59, 59,
+ 59, 59, 59, 59, 59, 59, 59, 59, 59, 59,
+ 59, 59, 59, 59, 59, 59,
+#else
+ 59, 59, 59, 59, 59, 59, 59, 59, 59, 59,
+ 59, 59, 59, 59, 59, 59, 59, 59, 59, 59,
+ 59, 59, 59, 59, 59, 59, 59, 59, 59, 59,
+ 59, 59, 59, 59, 59, 59, 59, 59, 59, 59,
+ 59, 59, 59, 59, 59, 59, 59, 59, 59, 59,
+ 59, 59, 59, 59, 59, 59, 59, 59, 59, 59,
+ 59, 59, 59, 59, 59, 59, 59, 59, 59, 59,
+ 59, 59, 59, 59, 59, 59, 59, 59, 59, 59,
+ 59, 59, 59, 59, 59, 59, 59, 59, 59, 59,
+ 59, 59, 59, 59, 59, 15, 59, 0, 59, 0,
+ 20, 0, 59, 59, 59, 5, 59, 59, 20, 0,
+ 5, 59, 10, 59, 59, 15, 30, 59, 59, 59,
+ 10, 10, 59, 59, 59, 59, 59, 59,
+#endif /* ACE_MVS */
+ };
+ return len + asso_values[str[len - 1]] + asso_values[str[0]];
+}
+
+const class TAO_operation_db_entry *
+TAO_CORBA_InterfaceDef_Perfect_Hash_OpTable::lookup (const char *str, unsigned int len)
+{
+ enum
+ {
+ TOTAL_KEYWORDS = 39,
+ MIN_WORD_LENGTH = 4,
+ MAX_WORD_LENGTH = 26,
+ MIN_HASH_VALUE = 4,
+ MAX_HASH_VALUE = 58,
+ HASH_VALUE_RANGE = 55,
+ DUPLICATES = 9
+ };
+
+ static const class TAO_operation_db_entry wordlist[] =
+ {
+ {"",0},{"",0},{"",0},{"",0},
+ {"move", &POA_CORBA::InterfaceDef::move_skel},
+ {"is_a", &POA_CORBA::InterfaceDef::is_a_skel},
+ {"create_enum", &POA_CORBA::InterfaceDef::create_enum_skel},
+ {"create_value", &POA_CORBA::InterfaceDef::create_value_skel},
+ {"create_module", &POA_CORBA::InterfaceDef::create_module_skel},
+ {"create_native", &POA_CORBA::InterfaceDef::create_native_skel},
+ {"create_attribute", &POA_CORBA::InterfaceDef::create_attribute_skel},
+ {"create_interface", &POA_CORBA::InterfaceDef::create_interface_skel},
+ {"create_union", &POA_CORBA::InterfaceDef::create_union_skel},
+ {"_is_a", &POA_CORBA::InterfaceDef::_is_a_skel},
+ {"create_operation", &POA_CORBA::InterfaceDef::create_operation_skel},
+ {"create_exception", &POA_CORBA::InterfaceDef::create_exception_skel},
+ {"create_local_interface", &POA_CORBA::InterfaceDef::create_local_interface_skel},
+ {"contents", &POA_CORBA::InterfaceDef::contents_skel},
+ {"_get_name", &POA_CORBA::InterfaceDef::_get_name_skel},
+ {"_get_type", &POA_CORBA::InterfaceDef::_get_type_skel},
+ {"_set_name", &POA_CORBA::InterfaceDef::_set_name_skel},
+ {"create_abstract_interface", &POA_CORBA::InterfaceDef::create_abstract_interface_skel},
+ {"create_value_box", &POA_CORBA::InterfaceDef::create_value_box_skel},
+ {"create_alias", &POA_CORBA::InterfaceDef::create_alias_skel},
+ {"describe", &POA_CORBA::InterfaceDef::describe_skel},
+ {"lookup_name", &POA_CORBA::InterfaceDef::lookup_name_skel},
+ {"_get_version", &POA_CORBA::InterfaceDef::_get_version_skel},
+ {"_set_version", &POA_CORBA::InterfaceDef::_set_version_skel},
+ {"_get_absolute_name", &POA_CORBA::InterfaceDef::_get_absolute_name_skel},
+ {"_get_defined_in", &POA_CORBA::InterfaceDef::_get_defined_in_skel},
+ {"lookup", &POA_CORBA::InterfaceDef::lookup_skel},
+ {"destroy", &POA_CORBA::InterfaceDef::destroy_skel},
+ {"describe_interface", &POA_CORBA::InterfaceDef::describe_interface_skel},
+ {"_get_id", &POA_CORBA::InterfaceDef::_get_id_skel},
+ {"_set_id", &POA_CORBA::InterfaceDef::_set_id_skel},
+ {"create_struct", &POA_CORBA::InterfaceDef::create_struct_skel},
+ {"create_constant", &POA_CORBA::InterfaceDef::create_constant_skel},
+ {"_get_def_kind", &POA_CORBA::InterfaceDef::_get_def_kind_skel},
+ {"_get_base_interfaces", &POA_CORBA::InterfaceDef::_get_base_interfaces_skel},
+ {"_set_base_interfaces", &POA_CORBA::InterfaceDef::_set_base_interfaces_skel},
+ {"_get_containing_repository", &POA_CORBA::InterfaceDef::_get_containing_repository_skel},
+ {"describe_contents", &POA_CORBA::InterfaceDef::describe_contents_skel},
+ {"_non_existent", &POA_CORBA::InterfaceDef::_non_existent_skel},
+ };
+
+ static const signed char lookup[] =
+ {
+ -1, -1, -1, -1, 4, -8, -2, -10, -2, 5, -1, 6, 7, -66,
+ -14, -2, -67, 12, -18, -3, 13, -65, 16, 17, -64, 21, 22, 23,
+ 24, -26, -2, 25, -61, 28, -1, 29, 30, 31, 32, -1, -33, -2,
+ -60, 35, -1, 36, -38, -2, 37, -1, -62, 40, 41, -1, -1, -1,
+ -1, -1, 42,
+ };
+
+ if (len <= MAX_WORD_LENGTH && len >= MIN_WORD_LENGTH)
+ {
+ unsigned int key = hash (str, len);
+
+ if (key <= MAX_HASH_VALUE && key >= MIN_HASH_VALUE)
+ {
+ int slot = lookup[key];
+
+ if (slot >= 0 && slot < MAX_HASH_VALUE)
+ {
+ const char *s = wordlist[slot].opname_;
+
+ if (*str == *s && !strncmp (str + 1, s + 1, len - 1))
+ return &wordlist[slot];
+ }
+ else if (slot < 0 && slot >= -MAX_HASH_VALUE)
+ return 0;
+ else
+ {
+ unsigned int offset = key + slot + (slot > 0 ? -MAX_HASH_VALUE : MAX_HASH_VALUE);
+ const class TAO_operation_db_entry *base = &wordlist[-lookup[offset]];
+ const class TAO_operation_db_entry *ptr = base + -lookup[offset + 1];
+
+ while (--ptr >= base)
+ if (*str == *ptr->opname_ && !strncmp (str + 1, ptr->opname_ + 1, len - 1))
+ return ptr;
+ }
+ }
+ }
+ return 0;
+}
+/* ending time is 10:44:38 */
+static TAO_CORBA_InterfaceDef_Perfect_Hash_OpTable tao_CORBA_InterfaceDef_optable;
+
+
+///////////////////////////////////////////////////////////////////////
+// Strategized Proxy Broker Implementation
+//
+
+// Factory function Implementation.
+POA_CORBA::_TAO_InterfaceDef_Strategized_Proxy_Broker *POA_CORBA::_TAO_InterfaceDef_Strategized_Proxy_Broker::the_TAO_InterfaceDef_Strategized_Proxy_Broker (void)
+{
+ static POA_CORBA::_TAO_InterfaceDef_Strategized_Proxy_Broker strategized_proxy_broker;
+ return &strategized_proxy_broker;
+}
+
+POA_CORBA::_TAO_InterfaceDef_Strategized_Proxy_Broker::_TAO_InterfaceDef_Strategized_Proxy_Broker (void)
+{
+ for (int i = 0; i < TAO_Collocation_Strategies::CS_LAST; ++i)
+ this->proxy_cache_[i] = 0;
+
+}
+
+POA_CORBA::_TAO_InterfaceDef_Strategized_Proxy_Broker::~_TAO_InterfaceDef_Strategized_Proxy_Broker (void)
+{
+ for (int i = 0; i < TAO_Collocation_Strategies::CS_LAST; ++i)
+ delete this->proxy_cache_[i];
+
+}
+
+_TAO_InterfaceDef_Proxy_Impl&
+POA_CORBA::_TAO_InterfaceDef_Strategized_Proxy_Broker::select_proxy (
+ ::CORBA::InterfaceDef *object,
+ CORBA::Environment &ACE_TRY_ENV
+ )
+{
+ int strategy =
+ TAO_ORB_Core::collocation_strategy (object);
+
+ if (this->proxy_cache_[strategy] != 0)
+ return *this->proxy_cache_[strategy];
+
+ this->create_proxy (strategy, ACE_TRY_ENV);
+ ACE_CHECK_RETURN (*this->proxy_cache_[strategy]);
+
+ return *this->proxy_cache_[strategy];
+
+}
+
+void
+POA_CORBA::_TAO_InterfaceDef_Strategized_Proxy_Broker::create_proxy (
+ int strategy,
+ CORBA::Environment &ACE_TRY_ENV
+ )
+{
+ ACE_GUARD (TAO_SYNCH_MUTEX, guard, this->mutex_);
+
+ if (this->proxy_cache_[strategy] == 0)
+ {
+ switch (strategy)
+ {
+ case TAO_Collocation_Strategies::CS_THRU_POA_STRATEGY:
+ ACE_NEW_THROW_EX (
+ this->proxy_cache_[strategy],
+ _TAO_InterfaceDef_ThruPOA_Proxy_Impl,
+ CORBA::NO_MEMORY ()
+ );
+ ACE_CHECK;
+ break;
+
+ case TAO_Collocation_Strategies::CS_REMOTE_STRATEGY:
+ default:
+ ACE_NEW_THROW_EX (
+ this->proxy_cache_[strategy],
+ ::_TAO_InterfaceDef_Remote_Proxy_Impl,
+ CORBA::NO_MEMORY ()
+ );
+ ACE_CHECK;
+ break;
+
+ }
+
+ }
+}
+
+
+//
+// End Strategized Proxy Broker Implementation
+///////////////////////////////////////////////////////////////////////
+
+
+_TAO_InterfaceDef_Proxy_Broker *
+CORBA__TAO_InterfaceDef_Proxy_Broker_Factory_function (CORBA::Object_ptr obj)
+{
+ ACE_UNUSED_ARG (obj);
+ return ::POA_CORBA::_TAO_InterfaceDef_Strategized_Proxy_Broker::the_TAO_InterfaceDef_Strategized_Proxy_Broker();
+}
+
+int
+CORBA__TAO_InterfaceDef_Proxy_Broker_Factory_Initializer (long _dummy_)
+{
+ ACE_UNUSED_ARG (_dummy_);
+
+ CORBA__TAO_InterfaceDef_Proxy_Broker_Factory_function_pointer =
+ CORBA__TAO_InterfaceDef_Proxy_Broker_Factory_function;
+
+ return 0;
+}
+
+static int CORBA__TAO_InterfaceDef_Proxy_Broker_Stub_Factory_Initializer_Scarecrow =
+ CORBA__TAO_InterfaceDef_Proxy_Broker_Factory_Initializer (ACE_reinterpret_cast (long, CORBA__TAO_InterfaceDef_Proxy_Broker_Factory_Initializer));
+
+
+///////////////////////////////////////////////////////////////////////
+// ThruPOA Proxy Implementation
+//
+
+POA_CORBA::_TAO_InterfaceDef_ThruPOA_Proxy_Impl::_TAO_InterfaceDef_ThruPOA_Proxy_Impl (void)
+{}
+
+// ThruPOA Implementation of the IDL interface methods
+
+CORBA::InterfaceDefSeq * POA_CORBA::_TAO_InterfaceDef_ThruPOA_Proxy_Impl::base_interfaces (
+ CORBA_Object *_collocated_tao_target_,
+ CORBA::Environment &ACE_TRY_ENV
+ )
+ ACE_THROW_SPEC ((
+ CORBA::SystemException
+ ))
+{
+ CORBA::InterfaceDefSeq_var _tao_retval;
+ ACE_UNUSED_ARG (_tao_retval);
+ TAO_Object_Adapter::Servant_Upcall servant_upcall (
+ _collocated_tao_target_->_stubobj ()->servant_orb_var ()->orb_core ()
+ );
+ CORBA::Object_var forward_to;
+ servant_upcall.prepare_for_upcall (
+ _collocated_tao_target_->_object_key (),
+ "base_interfaces",
+ forward_to.out (),
+ ACE_TRY_ENV
+ );
+ ACE_CHECK_RETURN (0);
+ return ACE_reinterpret_cast (
+ POA_CORBA::InterfaceDef_ptr,
+ servant_upcall.servant ()->_downcast (
+ "IDL:omg.org/CORBA/InterfaceDef:1.0"
+ )
+ )->base_interfaces (
+ ACE_TRY_ENV
+ );
+}
+
+void POA_CORBA::_TAO_InterfaceDef_ThruPOA_Proxy_Impl::base_interfaces (
+ CORBA_Object *_collocated_tao_target_,
+ const CORBA::InterfaceDefSeq & base_interfaces,
+ CORBA::Environment &ACE_TRY_ENV
+ )
+ ACE_THROW_SPEC ((
+ CORBA::SystemException
+ ))
+{
+ TAO_Object_Adapter::Servant_Upcall servant_upcall (
+ _collocated_tao_target_->_stubobj ()->servant_orb_var ()->orb_core ()
+ );
+ CORBA::Object_var forward_to;
+ servant_upcall.prepare_for_upcall (
+ _collocated_tao_target_->_object_key (),
+ "base_interfaces",
+ forward_to.out (),
+ ACE_TRY_ENV
+ );
+ ACE_CHECK;
+ ACE_reinterpret_cast (
+ POA_CORBA::InterfaceDef_ptr,
+ servant_upcall.servant ()->_downcast (
+ "IDL:omg.org/CORBA/InterfaceDef:1.0"
+ )
+ )->base_interfaces (
+ base_interfaces,
+ ACE_TRY_ENV
+ );
+ return;
+}
+
+CORBA::Boolean POA_CORBA::_TAO_InterfaceDef_ThruPOA_Proxy_Impl::is_a (
+ CORBA_Object *_collocated_tao_target_,
+ const char * interface_id,
+ CORBA::Environment &ACE_TRY_ENV
+ )
+ ACE_THROW_SPEC ((
+ CORBA::SystemException
+ ))
+{
+ CORBA::Boolean _tao_retval = 0;
+ ACE_UNUSED_ARG (_tao_retval);
+ TAO_Object_Adapter::Servant_Upcall servant_upcall (
+ _collocated_tao_target_->_stubobj ()->servant_orb_var ()->orb_core ()
+ );
+ CORBA::Object_var forward_to;
+ servant_upcall.prepare_for_upcall (
+ _collocated_tao_target_->_object_key (),
+ "is_a",
+ forward_to.out (),
+ ACE_TRY_ENV
+ );
+ ACE_CHECK_RETURN (_tao_retval);
+ return ACE_reinterpret_cast (
+ POA_CORBA::InterfaceDef_ptr,
+ servant_upcall.servant ()->_downcast (
+ "IDL:omg.org/CORBA/InterfaceDef:1.0"
+ )
+ )->is_a (
+ interface_id,
+ ACE_TRY_ENV
+ );
+}
+
+CORBA::InterfaceDef::FullInterfaceDescription * POA_CORBA::_TAO_InterfaceDef_ThruPOA_Proxy_Impl::describe_interface (
+ CORBA_Object *_collocated_tao_target_,
+ CORBA::Environment &ACE_TRY_ENV
+ )
+ ACE_THROW_SPEC ((
+ CORBA::SystemException
+ ))
+{
+ CORBA::InterfaceDef::FullInterfaceDescription_var _tao_retval;
+ ACE_UNUSED_ARG (_tao_retval);
+ TAO_Object_Adapter::Servant_Upcall servant_upcall (
+ _collocated_tao_target_->_stubobj ()->servant_orb_var ()->orb_core ()
+ );
+ CORBA::Object_var forward_to;
+ servant_upcall.prepare_for_upcall (
+ _collocated_tao_target_->_object_key (),
+ "describe_interface",
+ forward_to.out (),
+ ACE_TRY_ENV
+ );
+ ACE_CHECK_RETURN (0);
+ return ACE_reinterpret_cast (
+ POA_CORBA::InterfaceDef_ptr,
+ servant_upcall.servant ()->_downcast (
+ "IDL:omg.org/CORBA/InterfaceDef:1.0"
+ )
+ )->describe_interface (
+ ACE_TRY_ENV
+ );
+}
+
+CORBA::AttributeDef_ptr POA_CORBA::_TAO_InterfaceDef_ThruPOA_Proxy_Impl::create_attribute (
+ CORBA_Object *_collocated_tao_target_,
+ const char * id,
+ const char * name,
+ const char * version,
+ CORBA::IDLType_ptr type,
+ CORBA::AttributeMode mode,
+ CORBA::Environment &ACE_TRY_ENV
+ )
+ ACE_THROW_SPEC ((
+ CORBA::SystemException
+ ))
+{
+ CORBA::AttributeDef_var _tao_retval;
+ ACE_UNUSED_ARG (_tao_retval);
+ TAO_Object_Adapter::Servant_Upcall servant_upcall (
+ _collocated_tao_target_->_stubobj ()->servant_orb_var ()->orb_core ()
+ );
+ CORBA::Object_var forward_to;
+ servant_upcall.prepare_for_upcall (
+ _collocated_tao_target_->_object_key (),
+ "create_attribute",
+ forward_to.out (),
+ ACE_TRY_ENV
+ );
+ ACE_CHECK_RETURN (0);
+ return ACE_reinterpret_cast (
+ POA_CORBA::InterfaceDef_ptr,
+ servant_upcall.servant ()->_downcast (
+ "IDL:omg.org/CORBA/InterfaceDef:1.0"
+ )
+ )->create_attribute (
+ id,
+ name,
+ version,
+ type,
+ mode,
+ ACE_TRY_ENV
+ );
+}
+
+CORBA::OperationDef_ptr POA_CORBA::_TAO_InterfaceDef_ThruPOA_Proxy_Impl::create_operation (
+ CORBA_Object *_collocated_tao_target_,
+ const char * id,
+ const char * name,
+ const char * version,
+ CORBA::IDLType_ptr result,
+ CORBA::OperationMode mode,
+ const CORBA::ParDescriptionSeq & params,
+ const CORBA::ExceptionDefSeq & exceptions,
+ const CORBA::ContextIdSeq & contexts,
+ CORBA::Environment &ACE_TRY_ENV
+ )
+ ACE_THROW_SPEC ((
+ CORBA::SystemException
+ ))
+{
+ CORBA::OperationDef_var _tao_retval;
+ ACE_UNUSED_ARG (_tao_retval);
+ TAO_Object_Adapter::Servant_Upcall servant_upcall (
+ _collocated_tao_target_->_stubobj ()->servant_orb_var ()->orb_core ()
+ );
+ CORBA::Object_var forward_to;
+ servant_upcall.prepare_for_upcall (
+ _collocated_tao_target_->_object_key (),
+ "create_operation",
+ forward_to.out (),
+ ACE_TRY_ENV
+ );
+ ACE_CHECK_RETURN (0);
+ return ACE_reinterpret_cast (
+ POA_CORBA::InterfaceDef_ptr,
+ servant_upcall.servant ()->_downcast (
+ "IDL:omg.org/CORBA/InterfaceDef:1.0"
+ )
+ )->create_operation (
+ id,
+ name,
+ version,
+ result,
+ mode,
+ params,
+ exceptions,
+ contexts,
+ ACE_TRY_ENV
+ );
+}
+
+//
+// End ThruPOA Proxy Implementation
+///////////////////////////////////////////////////////////////////////
+
+// skeleton constructor
+POA_CORBA::InterfaceDef::InterfaceDef (void)
+{
+ this->optable_ = &tao_CORBA_InterfaceDef_optable;
+}
+
+// copy ctor
+POA_CORBA::InterfaceDef::InterfaceDef (const InterfaceDef& rhs)
+ : ACE_NESTED_CLASS (POA_CORBA,Container) (rhs),
+ ACE_NESTED_CLASS (POA_CORBA,Contained) (rhs),
+ ACE_NESTED_CLASS (POA_CORBA,IDLType) (rhs),
+ ACE_NESTED_CLASS (POA_CORBA,IRObject) (rhs),
+ TAO_ServantBase (rhs)
+{}
+
+// skeleton destructor
+POA_CORBA::InterfaceDef::~InterfaceDef (void)
+{
+}
+
+void POA_CORBA::InterfaceDef::_get_base_interfaces_skel (
+ TAO_ServerRequest &_tao_server_request,
+ void *_tao_object_reference,
+ void * /* context */,
+ CORBA::Environment &ACE_TRY_ENV
+ )
+{
+ POA_CORBA::InterfaceDef *_tao_impl = (POA_CORBA::InterfaceDef *)_tao_object_reference;
+
+ CORBA::InterfaceDefSeq_var _tao_retval;
+
+#if (TAO_HAS_INTERCEPTORS == 1)
+ TAO_ServerRequestInterceptor_Adapter _tao_vfr (
+ _tao_server_request.orb_core ()->server_request_interceptors (),
+ _tao_server_request.interceptor_count ()
+ );
+
+ POA_CORBA::InterfaceDef::TAO_ServerRequestInfo_CORBA_InterfaceDef_base_interfaces_get ri (
+ _tao_server_request,
+ _tao_impl,
+ ACE_TRY_ENV
+ );
+
+ ACE_TRY
+ {
+ _tao_vfr.receive_request (&ri, ACE_TRY_ENV);
+ ACE_TRY_CHECK;
+
+#endif /* TAO_HAS_INTERCEPTORS */
+ _tao_retval =
+ _tao_impl->base_interfaces (
+ ACE_TRY_ENV
+ );
+ TAO_INTERCEPTOR_CHECK;
+
+#if (TAO_HAS_INTERCEPTORS == 1)
+ CORBA::InterfaceDefSeq * _tao_retval_info = _tao_retval._retn ();
+ ri.result (_tao_retval_info);
+ _tao_retval = _tao_retval_info;
+ ri.reply_status (PortableInterceptor::SUCCESSFUL);
+ _tao_vfr.send_reply (&ri, ACE_TRY_ENV);
+ ACE_TRY_CHECK;
+ }
+ ACE_CATCH (PortableInterceptor::ForwardRequest, exc)
+ {
+ ri.forward_reference (exc);
+ _tao_vfr.send_other (
+ &ri,
+ ACE_TRY_ENV
+ );
+ ACE_TRY_CHECK;
+ _tao_server_request.forward_location (exc.forward.in ());
+ }
+ ACE_CATCHANY
+ {
+ ri.exception (&ACE_ANY_EXCEPTION);
+ _tao_vfr.send_exception (
+ &ri,
+ ACE_TRY_ENV
+ );
+ ACE_TRY_CHECK;
+ ACE_RE_THROW;
+ }
+ ACE_ENDTRY;
+ ACE_CHECK;
+#endif /* TAO_HAS_INTERCEPTORS */
+
+ _tao_server_request.init_reply ();
+
+ TAO_OutputCDR &_tao_out = _tao_server_request.outgoing ();
+
+ if (!(
+ (_tao_out << _tao_retval.in ())
+ ))
+ ACE_THROW (CORBA::MARSHAL());
+
+ // In case ACE_TRY_ENV is not used in this function
+ ACE_UNUSED_ARG (ACE_TRY_ENV);
+}
+
+void POA_CORBA::InterfaceDef::_set_base_interfaces_skel (
+ TAO_ServerRequest &_tao_server_request,
+ void *_tao_object_reference,
+ void * /* context */,
+ CORBA::Environment &ACE_TRY_ENV
+ )
+{
+ TAO_InputCDR &_tao_in = _tao_server_request.incoming ();
+ POA_CORBA::InterfaceDef *_tao_impl = (POA_CORBA::InterfaceDef *)_tao_object_reference;
+
+ _tao_server_request.argument_flag (0);
+ CORBA::InterfaceDefSeq base_interfaces;
+ if (!(
+ (_tao_in >> base_interfaces)
+ ))
+ ACE_THROW (CORBA::MARSHAL());
+
+
+#if (TAO_HAS_INTERCEPTORS == 1)
+ TAO_ServerRequestInterceptor_Adapter _tao_vfr (
+ _tao_server_request.orb_core ()->server_request_interceptors (),
+ _tao_server_request.interceptor_count ()
+ );
+
+ POA_CORBA::InterfaceDef::TAO_ServerRequestInfo_CORBA_InterfaceDef_base_interfaces_set ri (
+ _tao_server_request,
+ _tao_impl,
+ base_interfaces,
+ ACE_TRY_ENV
+ );
+
+ ACE_TRY
+ {
+ _tao_vfr.receive_request (&ri, ACE_TRY_ENV);
+ ACE_TRY_CHECK;
+
+#endif /* TAO_HAS_INTERCEPTORS */
+
+ _tao_impl->base_interfaces (
+ base_interfaces,
+ ACE_TRY_ENV
+ );
+ TAO_INTERCEPTOR_CHECK;
+
+#if (TAO_HAS_INTERCEPTORS == 1)
+ ri.reply_status (PortableInterceptor::SUCCESSFUL);
+ _tao_vfr.send_reply (&ri, ACE_TRY_ENV);
+ ACE_TRY_CHECK;
+ }
+ ACE_CATCH (PortableInterceptor::ForwardRequest, exc)
+ {
+ ri.forward_reference (exc);
+ _tao_vfr.send_other (
+ &ri,
+ ACE_TRY_ENV
+ );
+ ACE_TRY_CHECK;
+ _tao_server_request.forward_location (exc.forward.in ());
+ }
+ ACE_CATCHANY
+ {
+ ri.exception (&ACE_ANY_EXCEPTION);
+ _tao_vfr.send_exception (
+ &ri,
+ ACE_TRY_ENV
+ );
+ ACE_TRY_CHECK;
+ ACE_RE_THROW;
+ }
+ ACE_ENDTRY;
+ ACE_CHECK;
+#endif /* TAO_HAS_INTERCEPTORS */
+
+ _tao_server_request.init_reply ();
+
+ // In case ACE_TRY_ENV is not used in this function
+ ACE_UNUSED_ARG (ACE_TRY_ENV);
+}
+
+void POA_CORBA::InterfaceDef::is_a_skel (
+ TAO_ServerRequest &_tao_server_request,
+ void *_tao_object_reference,
+ void * /* context */,
+ CORBA::Environment &ACE_TRY_ENV
+ )
+{
+ TAO_InputCDR &_tao_in = _tao_server_request.incoming ();
+ POA_CORBA::InterfaceDef *_tao_impl = (POA_CORBA::InterfaceDef *)_tao_object_reference;
+
+ CORBA::Boolean _tao_retval = 0;
+ CORBA::String_var interface_id;
+ if (!(
+ (_tao_in >> interface_id.out ())
+ ))
+ ACE_THROW (CORBA::MARSHAL());
+
+
+#if (TAO_HAS_INTERCEPTORS == 1)
+ TAO_ServerRequestInterceptor_Adapter _tao_vfr (
+ _tao_server_request.orb_core ()->server_request_interceptors (),
+ _tao_server_request.interceptor_count ()
+ );
+
+ POA_CORBA::InterfaceDef::TAO_ServerRequestInfo_CORBA_InterfaceDef_is_a ri (
+ _tao_server_request,
+ _tao_impl,
+ interface_id.in (),
+ ACE_TRY_ENV
+ );
+
+ ACE_TRY
+ {
+ _tao_vfr.receive_request (&ri, ACE_TRY_ENV);
+ ACE_TRY_CHECK;
+
+#endif /* TAO_HAS_INTERCEPTORS */
+ _tao_retval =
+ _tao_impl->is_a (
+ interface_id.in (),
+ ACE_TRY_ENV
+ );
+ TAO_INTERCEPTOR_CHECK;
+
+#if (TAO_HAS_INTERCEPTORS == 1)
+ CORBA::Boolean _tao_retval_info = _tao_retval;
+ ri.result (_tao_retval_info);
+ ri.reply_status (PortableInterceptor::SUCCESSFUL);
+ _tao_vfr.send_reply (&ri, ACE_TRY_ENV);
+ ACE_TRY_CHECK;
+ }
+ ACE_CATCH (PortableInterceptor::ForwardRequest, exc)
+ {
+ ri.forward_reference (exc);
+ _tao_vfr.send_other (
+ &ri,
+ ACE_TRY_ENV
+ );
+ ACE_TRY_CHECK;
+ _tao_server_request.forward_location (exc.forward.in ());
+ }
+ ACE_CATCHANY
+ {
+ ri.exception (&ACE_ANY_EXCEPTION);
+ _tao_vfr.send_exception (
+ &ri,
+ ACE_TRY_ENV
+ );
+ ACE_TRY_CHECK;
+ ACE_RE_THROW;
+ }
+ ACE_ENDTRY;
+ ACE_CHECK;
+#endif /* TAO_HAS_INTERCEPTORS */
+
+ _tao_server_request.init_reply ();
+
+ TAO_OutputCDR &_tao_out = _tao_server_request.outgoing ();
+
+ if (!(
+ (_tao_out << CORBA::Any::from_boolean (_tao_retval))
+ ))
+ ACE_THROW (CORBA::MARSHAL());
+
+ // In case ACE_TRY_ENV is not used in this function
+ ACE_UNUSED_ARG (ACE_TRY_ENV);
+}
+
+void POA_CORBA::InterfaceDef::describe_interface_skel (
+ TAO_ServerRequest &_tao_server_request,
+ void *_tao_object_reference,
+ void * /* context */,
+ CORBA::Environment &ACE_TRY_ENV
+ )
+{
+ POA_CORBA::InterfaceDef *_tao_impl = (POA_CORBA::InterfaceDef *)_tao_object_reference;
+
+ CORBA::InterfaceDef::FullInterfaceDescription_var _tao_retval;
+
+#if (TAO_HAS_INTERCEPTORS == 1)
+ TAO_ServerRequestInterceptor_Adapter _tao_vfr (
+ _tao_server_request.orb_core ()->server_request_interceptors (),
+ _tao_server_request.interceptor_count ()
+ );
+
+ POA_CORBA::InterfaceDef::TAO_ServerRequestInfo_CORBA_InterfaceDef_describe_interface ri (
+ _tao_server_request,
+ _tao_impl,
+ ACE_TRY_ENV
+ );
+
+ ACE_TRY
+ {
+ _tao_vfr.receive_request (&ri, ACE_TRY_ENV);
+ ACE_TRY_CHECK;
+
+#endif /* TAO_HAS_INTERCEPTORS */
+ _tao_retval =
+ _tao_impl->describe_interface (
+ ACE_TRY_ENV
+ );
+ TAO_INTERCEPTOR_CHECK;
+
+#if (TAO_HAS_INTERCEPTORS == 1)
+ CORBA::InterfaceDef::FullInterfaceDescription * _tao_retval_info = _tao_retval._retn ();
+ ri.result (_tao_retval_info);
+ _tao_retval = _tao_retval_info;
+ ri.reply_status (PortableInterceptor::SUCCESSFUL);
+ _tao_vfr.send_reply (&ri, ACE_TRY_ENV);
+ ACE_TRY_CHECK;
+ }
+ ACE_CATCH (PortableInterceptor::ForwardRequest, exc)
+ {
+ ri.forward_reference (exc);
+ _tao_vfr.send_other (
+ &ri,
+ ACE_TRY_ENV
+ );
+ ACE_TRY_CHECK;
+ _tao_server_request.forward_location (exc.forward.in ());
+ }
+ ACE_CATCHANY
+ {
+ ri.exception (&ACE_ANY_EXCEPTION);
+ _tao_vfr.send_exception (
+ &ri,
+ ACE_TRY_ENV
+ );
+ ACE_TRY_CHECK;
+ ACE_RE_THROW;
+ }
+ ACE_ENDTRY;
+ ACE_CHECK;
+#endif /* TAO_HAS_INTERCEPTORS */
+
+ _tao_server_request.init_reply ();
+
+ TAO_OutputCDR &_tao_out = _tao_server_request.outgoing ();
+
+ if (!(
+ (_tao_out << _tao_retval.in ())
+ ))
+ ACE_THROW (CORBA::MARSHAL());
+
+ // In case ACE_TRY_ENV is not used in this function
+ ACE_UNUSED_ARG (ACE_TRY_ENV);
+}
+
+void POA_CORBA::InterfaceDef::create_attribute_skel (
+ TAO_ServerRequest &_tao_server_request,
+ void *_tao_object_reference,
+ void * /* context */,
+ CORBA::Environment &ACE_TRY_ENV
+ )
+{
+ TAO_InputCDR &_tao_in = _tao_server_request.incoming ();
+ POA_CORBA::InterfaceDef *_tao_impl = (POA_CORBA::InterfaceDef *)_tao_object_reference;
+
+ CORBA::AttributeDef_var _tao_retval;
+ CORBA::String_var id;
+ CORBA::String_var name;
+ CORBA::String_var version;
+ CORBA::IDLType_var type;
+ CORBA::AttributeMode mode;
+ if (!(
+ (_tao_in >> id.out ()) &&
+ (_tao_in >> name.out ()) &&
+ (_tao_in >> version.out ()) &&
+ (_tao_in >> type.out ()) &&
+ (_tao_in >> mode)
+ ))
+ ACE_THROW (CORBA::MARSHAL());
+
+
+#if (TAO_HAS_INTERCEPTORS == 1)
+ TAO_ServerRequestInterceptor_Adapter _tao_vfr (
+ _tao_server_request.orb_core ()->server_request_interceptors (),
+ _tao_server_request.interceptor_count ()
+ );
+
+ POA_CORBA::InterfaceDef::TAO_ServerRequestInfo_CORBA_InterfaceDef_create_attribute ri (
+ _tao_server_request,
+ _tao_impl,
+ id.in (),
+ name.in (),
+ version.in (),
+ type.in (),
+ mode,
+ ACE_TRY_ENV
+ );
+
+ ACE_TRY
+ {
+ _tao_vfr.receive_request (&ri, ACE_TRY_ENV);
+ ACE_TRY_CHECK;
+
+#endif /* TAO_HAS_INTERCEPTORS */
+ _tao_retval =
+ _tao_impl->create_attribute (
+ id.in (),
+ name.in (),
+ version.in (),
+ type.in (),
+ mode,
+ ACE_TRY_ENV
+ );
+ TAO_INTERCEPTOR_CHECK;
+
+#if (TAO_HAS_INTERCEPTORS == 1)
+ CORBA::AttributeDef_ptr _tao_retval_info = _tao_retval._retn ();
+ ri.result (_tao_retval_info);
+ _tao_retval = _tao_retval_info;
+ ri.reply_status (PortableInterceptor::SUCCESSFUL);
+ _tao_vfr.send_reply (&ri, ACE_TRY_ENV);
+ ACE_TRY_CHECK;
+ }
+ ACE_CATCH (PortableInterceptor::ForwardRequest, exc)
+ {
+ ri.forward_reference (exc);
+ _tao_vfr.send_other (
+ &ri,
+ ACE_TRY_ENV
+ );
+ ACE_TRY_CHECK;
+ _tao_server_request.forward_location (exc.forward.in ());
+ }
+ ACE_CATCHANY
+ {
+ ri.exception (&ACE_ANY_EXCEPTION);
+ _tao_vfr.send_exception (
+ &ri,
+ ACE_TRY_ENV
+ );
+ ACE_TRY_CHECK;
+ ACE_RE_THROW;
+ }
+ ACE_ENDTRY;
+ ACE_CHECK;
+#endif /* TAO_HAS_INTERCEPTORS */
+
+ _tao_server_request.init_reply ();
+
+ TAO_OutputCDR &_tao_out = _tao_server_request.outgoing ();
+
+ if (!(
+ (_tao_out << _tao_retval.in ())
+ ))
+ ACE_THROW (CORBA::MARSHAL());
+
+ // In case ACE_TRY_ENV is not used in this function
+ ACE_UNUSED_ARG (ACE_TRY_ENV);
+}
+
+void POA_CORBA::InterfaceDef::create_operation_skel (
+ TAO_ServerRequest &_tao_server_request,
+ void *_tao_object_reference,
+ void * /* context */,
+ CORBA::Environment &ACE_TRY_ENV
+ )
+{
+ TAO_InputCDR &_tao_in = _tao_server_request.incoming ();
+ POA_CORBA::InterfaceDef *_tao_impl = (POA_CORBA::InterfaceDef *)_tao_object_reference;
+
+ CORBA::OperationDef_var _tao_retval;
+ CORBA::String_var id;
+ CORBA::String_var name;
+ CORBA::String_var version;
+ CORBA::IDLType_var result;
+ CORBA::OperationMode mode;
+ CORBA::ParDescriptionSeq params;
+ CORBA::ExceptionDefSeq exceptions;
+ CORBA::ContextIdSeq contexts;
+ if (!(
+ (_tao_in >> id.out ()) &&
+ (_tao_in >> name.out ()) &&
+ (_tao_in >> version.out ()) &&
+ (_tao_in >> result.out ()) &&
+ (_tao_in >> mode) &&
+ (_tao_in >> params) &&
+ (_tao_in >> exceptions) &&
+ (_tao_in >> contexts)
+ ))
+ ACE_THROW (CORBA::MARSHAL());
+
+
+#if (TAO_HAS_INTERCEPTORS == 1)
+ TAO_ServerRequestInterceptor_Adapter _tao_vfr (
+ _tao_server_request.orb_core ()->server_request_interceptors (),
+ _tao_server_request.interceptor_count ()
+ );
+
+ POA_CORBA::InterfaceDef::TAO_ServerRequestInfo_CORBA_InterfaceDef_create_operation ri (
+ _tao_server_request,
+ _tao_impl,
+ id.in (),
+ name.in (),
+ version.in (),
+ result.in (),
+ mode,
+ params,
+ exceptions,
+ contexts,
+ ACE_TRY_ENV
+ );
+
+ ACE_TRY
+ {
+ _tao_vfr.receive_request (&ri, ACE_TRY_ENV);
+ ACE_TRY_CHECK;
+
+#endif /* TAO_HAS_INTERCEPTORS */
+ _tao_retval =
+ _tao_impl->create_operation (
+ id.in (),
+ name.in (),
+ version.in (),
+ result.in (),
+ mode,
+ params,
+ exceptions,
+ contexts,
+ ACE_TRY_ENV
+ );
+ TAO_INTERCEPTOR_CHECK;
+
+#if (TAO_HAS_INTERCEPTORS == 1)
+ CORBA::OperationDef_ptr _tao_retval_info = _tao_retval._retn ();
+ ri.result (_tao_retval_info);
+ _tao_retval = _tao_retval_info;
+ ri.reply_status (PortableInterceptor::SUCCESSFUL);
+ _tao_vfr.send_reply (&ri, ACE_TRY_ENV);
+ ACE_TRY_CHECK;
+ }
+ ACE_CATCH (PortableInterceptor::ForwardRequest, exc)
+ {
+ ri.forward_reference (exc);
+ _tao_vfr.send_other (
+ &ri,
+ ACE_TRY_ENV
+ );
+ ACE_TRY_CHECK;
+ _tao_server_request.forward_location (exc.forward.in ());
+ }
+ ACE_CATCHANY
+ {
+ ri.exception (&ACE_ANY_EXCEPTION);
+ _tao_vfr.send_exception (
+ &ri,
+ ACE_TRY_ENV
+ );
+ ACE_TRY_CHECK;
+ ACE_RE_THROW;
+ }
+ ACE_ENDTRY;
+ ACE_CHECK;
+#endif /* TAO_HAS_INTERCEPTORS */
+
+ _tao_server_request.init_reply ();
+
+ TAO_OutputCDR &_tao_out = _tao_server_request.outgoing ();
+
+ if (!(
+ (_tao_out << _tao_retval.in ())
+ ))
+ ACE_THROW (CORBA::MARSHAL());
+
+ // In case ACE_TRY_ENV is not used in this function
+ ACE_UNUSED_ARG (ACE_TRY_ENV);
+}
+
+void POA_CORBA::InterfaceDef::_is_a_skel (
+ TAO_ServerRequest &_tao_server_request,
+ void * _tao_object_reference,
+ void * /* context */,
+ CORBA::Environment &ACE_TRY_ENV
+ )
+{
+ TAO_InputCDR &_tao_in = _tao_server_request.incoming ();
+ POA_CORBA::InterfaceDef *_tao_impl = (POA_CORBA::InterfaceDef *) _tao_object_reference;
+ CORBA::Boolean _tao_retval = 0;
+ CORBA::String_var value;
+ if (!(_tao_in >> value.out ()))
+ ACE_THROW (CORBA::MARSHAL ());
+
+ _tao_retval = _tao_impl->_is_a (value.in (), ACE_TRY_ENV);
+ ACE_CHECK;
+
+ _tao_server_request.init_reply ();
+ TAO_OutputCDR &_tao_out = _tao_server_request.outgoing ();
+ if (!(_tao_out << CORBA::Any::from_boolean (_tao_retval)))
+ ACE_THROW (CORBA::MARSHAL ());
+}
+
+void POA_CORBA::InterfaceDef::_non_existent_skel (
+ TAO_ServerRequest &_tao_server_request,
+ void * _tao_object_reference,
+ void * /* context */,
+ CORBA::Environment &ACE_TRY_ENV
+ )
+{
+ POA_CORBA::InterfaceDef *_tao_impl = (POA_CORBA::InterfaceDef *) _tao_object_reference;
+ CORBA::Boolean _tao_retval = _tao_impl->_non_existent (ACE_TRY_ENV);
+ ACE_CHECK;
+
+ _tao_server_request.init_reply ();
+ TAO_OutputCDR &_tao_out = _tao_server_request.outgoing ();
+ if (!(_tao_out << CORBA::Any::from_boolean (_tao_retval)))
+ ACE_THROW (CORBA::MARSHAL ());
+}
+
+CORBA::Boolean POA_CORBA::InterfaceDef::_is_a (
+ const char* value,
+ CORBA::Environment &ACE_TRY_ENV
+ )
+{
+ const char *base_id = CORBA::_tc_Object->id (ACE_TRY_ENV);
+ ACE_CHECK_RETURN (0);
+
+ if (
+ (!ACE_OS::strcmp ((char *)value, "IDL:omg.org/CORBA/InterfaceDef:1.0")) ||
+ (!ACE_OS::strcmp ((char *)value, "IDL:omg.org/CORBA/Container:1.0")) ||
+ (!ACE_OS::strcmp ((char *)value, "IDL:omg.org/CORBA/Contained:1.0")) ||
+ (!ACE_OS::strcmp ((char *)value, "IDL:omg.org/CORBA/IDLType:1.0")) ||
+ (!ACE_OS::strcmp ((char *)value, "IDL:omg.org/CORBA/IRObject:1.0")) ||
+ (!ACE_OS::strcmp ((char *)value, base_id)))
+ return 1;
+ else
+ return 0;
+}
+
+void* POA_CORBA::InterfaceDef::_downcast (
+ const char* logical_type_id
+ )
+{
+ if (ACE_OS::strcmp (logical_type_id, "IDL:omg.org/CORBA/InterfaceDef:1.0") == 0)
+ return ACE_static_cast (POA_CORBA::InterfaceDef_ptr, this);
+ if (ACE_OS::strcmp (logical_type_id, "IDL:omg.org/CORBA/Container:1.0") == 0)
+ return ACE_static_cast (POA_CORBA::Container_ptr, this);
+ if (ACE_OS::strcmp (logical_type_id, "IDL:omg.org/CORBA/Contained:1.0") == 0)
+ return ACE_static_cast (POA_CORBA::Contained_ptr, this);
+ if (ACE_OS::strcmp (logical_type_id, "IDL:omg.org/CORBA/IDLType:1.0") == 0)
+ return ACE_static_cast (POA_CORBA::IDLType_ptr, this);
+ if (ACE_OS::strcmp (logical_type_id, "IDL:omg.org/CORBA/IRObject:1.0") == 0)
+ return ACE_static_cast (POA_CORBA::IRObject_ptr, this);
+ if (ACE_OS::strcmp (logical_type_id, "IDL:omg.org/CORBA/Object:1.0") == 0)
+ return ACE_static_cast(PortableServer::Servant, this);
+ return 0;
+}
+
+void POA_CORBA::InterfaceDef::_dispatch (TAO_ServerRequest &req, void *context, CORBA::Environment &ACE_TRY_ENV)
+{
+ this->synchronous_upcall_dispatch(req, context, this, ACE_TRY_ENV);
+}
+
+const char* POA_CORBA::InterfaceDef::_interface_repository_id (void) const
+{
+ return "IDL:omg.org/CORBA/InterfaceDef:1.0";
+}
+
+CORBA::InterfaceDef*
+POA_CORBA::InterfaceDef::_this (CORBA_Environment &ACE_TRY_ENV)
+{
+ TAO_Stub *stub = this->_create_stub (ACE_TRY_ENV);
+ ACE_CHECK_RETURN (0);
+
+ CORBA::Object_ptr tmp = CORBA::Object::_nil ();
+
+ if (stub->servant_orb_var ()->orb_core ()->optimize_collocation_objects ())
+ ACE_NEW_RETURN (tmp, CORBA::Object (stub, 1, this), 0);
+ else
+ ACE_NEW_RETURN (tmp, CORBA::Object (stub, 0, this), 0);
+
+ CORBA::Object_var obj = tmp;
+ return ::CORBA::InterfaceDef::_unchecked_narrow (obj.in ());
+}
+
+
+#if (TAO_HAS_INTERCEPTORS == 1)
+POA_CORBA::InterfaceDef::TAO_ServerRequestInfo_CORBA_InterfaceDef_base_interfaces_get::TAO_ServerRequestInfo_CORBA_InterfaceDef_base_interfaces_get (
+ TAO_ServerRequest &_tao_server_request,
+ POA_CORBA::InterfaceDef *tao_impl,
+ CORBA::Environment &
+ )
+ : TAO_ServerRequestInfo (_tao_server_request),
+ _tao_impl (tao_impl)
+{}
+
+Dynamic::ParameterList *
+POA_CORBA::InterfaceDef::TAO_ServerRequestInfo_CORBA_InterfaceDef_base_interfaces_get::arguments (CORBA::Environment &ACE_TRY_ENV)
+ ACE_THROW_SPEC ((CORBA::SystemException))
+{
+ // Generate the argument list on demand.
+ Dynamic::ParameterList *parameter_list =
+ TAO_RequestInfo_Util::make_parameter_list (ACE_TRY_ENV);
+ ACE_CHECK_RETURN (0);
+
+ return parameter_list;
+}
+
+Dynamic::ExceptionList *
+POA_CORBA::InterfaceDef::TAO_ServerRequestInfo_CORBA_InterfaceDef_base_interfaces_get::exceptions (CORBA::Environment &ACE_TRY_ENV)
+ ACE_THROW_SPEC ((CORBA::SystemException))
+{
+ // Generate the exception list on demand.
+ Dynamic::ExceptionList *exception_list =
+ TAO_RequestInfo_Util::make_exception_list (ACE_TRY_ENV);
+ ACE_CHECK_RETURN (0);
+
+ return exception_list;
+}
+
+CORBA::Any *
+POA_CORBA::InterfaceDef::TAO_ServerRequestInfo_CORBA_InterfaceDef_base_interfaces_get::result (CORBA::Environment &ACE_TRY_ENV)
+ ACE_THROW_SPEC ((CORBA::SystemException))
+{
+ // Generate the result on demand.
+ CORBA::Boolean tk_void_any = 0;
+ CORBA::Any *result_any =
+ TAO_RequestInfo_Util::make_any (tk_void_any, ACE_TRY_ENV);
+ ACE_CHECK_RETURN (0);
+
+ CORBA::Any_var safe_result_any = result_any;
+
+ (*result_any) <<= this->_result;
+
+ return safe_result_any._retn ();
+}
+
+char *
+POA_CORBA::InterfaceDef::TAO_ServerRequestInfo_CORBA_InterfaceDef_base_interfaces_get::target_most_derived_interface (
+ CORBA::Environment &)
+ ACE_THROW_SPEC ((CORBA::SystemException))
+{
+ return
+ CORBA::string_dup (this->_tao_impl->_interface_repository_id ());
+}
+
+CORBA::Boolean
+POA_CORBA::InterfaceDef::TAO_ServerRequestInfo_CORBA_InterfaceDef_base_interfaces_get::target_is_a (
+ const char * id,
+ CORBA::Environment &ACE_TRY_ENV)
+ ACE_THROW_SPEC ((CORBA::SystemException))
+{
+ return this->_tao_impl->_is_a (id, ACE_TRY_ENV);
+}
+
+void
+POA_CORBA::InterfaceDef::TAO_ServerRequestInfo_CORBA_InterfaceDef_base_interfaces_get::result (CORBA::InterfaceDefSeq * result)
+{
+ // Update the result.
+ this->_result = result;
+}
+
+POA_CORBA::InterfaceDef::TAO_ServerRequestInfo_CORBA_InterfaceDef_base_interfaces_set::TAO_ServerRequestInfo_CORBA_InterfaceDef_base_interfaces_set (
+ TAO_ServerRequest &_tao_server_request,
+ POA_CORBA::InterfaceDef *tao_impl,
+ const CORBA::InterfaceDefSeq & base_interfaces,
+ CORBA::Environment &
+ )
+ : TAO_ServerRequestInfo (_tao_server_request),
+ _tao_impl (tao_impl),
+ base_interfaces_ (base_interfaces)
+{}
+
+Dynamic::ParameterList *
+POA_CORBA::InterfaceDef::TAO_ServerRequestInfo_CORBA_InterfaceDef_base_interfaces_set::arguments (CORBA::Environment &ACE_TRY_ENV)
+ ACE_THROW_SPEC ((CORBA::SystemException))
+{
+ // Generate the argument list on demand.
+ Dynamic::ParameterList *parameter_list =
+ TAO_RequestInfo_Util::make_parameter_list (ACE_TRY_ENV);
+ ACE_CHECK_RETURN (0);
+
+ Dynamic::ParameterList_var safe_parameter_list = parameter_list;
+
+ CORBA::ULong length_base_interfaces = parameter_list->length ();
+ parameter_list->length (length_base_interfaces + 1);
+ (*parameter_list)[length_base_interfaces].argument <<= this->base_interfaces_;
+
+ (*parameter_list)[length_base_interfaces].mode = Dynamic::PARAM_IN;
+
+ return safe_parameter_list._retn ();
+}
+
+Dynamic::ExceptionList *
+POA_CORBA::InterfaceDef::TAO_ServerRequestInfo_CORBA_InterfaceDef_base_interfaces_set::exceptions (CORBA::Environment &ACE_TRY_ENV)
+ ACE_THROW_SPEC ((CORBA::SystemException))
+{
+ // Generate the exception list on demand.
+ Dynamic::ExceptionList *exception_list =
+ TAO_RequestInfo_Util::make_exception_list (ACE_TRY_ENV);
+ ACE_CHECK_RETURN (0);
+
+ return exception_list;
+}
+
+CORBA::Any *
+POA_CORBA::InterfaceDef::TAO_ServerRequestInfo_CORBA_InterfaceDef_base_interfaces_set::result (CORBA::Environment &ACE_TRY_ENV)
+ ACE_THROW_SPEC ((CORBA::SystemException))
+{
+ // Generate the result on demand.
+ CORBA::Boolean tk_void_any = 1;
+ CORBA::Any *result_any =
+ TAO_RequestInfo_Util::make_any (tk_void_any, ACE_TRY_ENV);
+ ACE_CHECK_RETURN (0);
+
+ return result_any;
+}
+
+char *
+POA_CORBA::InterfaceDef::TAO_ServerRequestInfo_CORBA_InterfaceDef_base_interfaces_set::target_most_derived_interface (
+ CORBA::Environment &)
+ ACE_THROW_SPEC ((CORBA::SystemException))
+{
+ return
+ CORBA::string_dup (this->_tao_impl->_interface_repository_id ());
+}
+
+CORBA::Boolean
+POA_CORBA::InterfaceDef::TAO_ServerRequestInfo_CORBA_InterfaceDef_base_interfaces_set::target_is_a (
+ const char * id,
+ CORBA::Environment &ACE_TRY_ENV)
+ ACE_THROW_SPEC ((CORBA::SystemException))
+{
+ return this->_tao_impl->_is_a (id, ACE_TRY_ENV);
+}
+
+POA_CORBA::InterfaceDef::TAO_ServerRequestInfo_CORBA_InterfaceDef_is_a::TAO_ServerRequestInfo_CORBA_InterfaceDef_is_a (
+ TAO_ServerRequest &_tao_server_request,
+ POA_CORBA::InterfaceDef *tao_impl,
+ const char * interface_id,
+ CORBA::Environment &
+ )
+ : TAO_ServerRequestInfo (_tao_server_request),
+ _tao_impl (tao_impl),
+ interface_id_ (interface_id)
+{}
+
+Dynamic::ParameterList *
+POA_CORBA::InterfaceDef::TAO_ServerRequestInfo_CORBA_InterfaceDef_is_a::arguments (CORBA::Environment &ACE_TRY_ENV)
+ ACE_THROW_SPEC ((CORBA::SystemException))
+{
+ // Generate the argument list on demand.
+ Dynamic::ParameterList *parameter_list =
+ TAO_RequestInfo_Util::make_parameter_list (ACE_TRY_ENV);
+ ACE_CHECK_RETURN (0);
+
+ Dynamic::ParameterList_var safe_parameter_list = parameter_list;
+
+ CORBA::ULong length_interface_id = parameter_list->length ();
+ parameter_list->length (length_interface_id + 1);
+ (*parameter_list)[length_interface_id].argument <<= interface_id_;
+ (*parameter_list)[length_interface_id].mode = Dynamic::PARAM_IN;
+
+ return safe_parameter_list._retn ();
+}
+
+Dynamic::ExceptionList *
+POA_CORBA::InterfaceDef::TAO_ServerRequestInfo_CORBA_InterfaceDef_is_a::exceptions (CORBA::Environment &ACE_TRY_ENV)
+ ACE_THROW_SPEC ((CORBA::SystemException))
+{
+ // Generate the exception list on demand.
+ Dynamic::ExceptionList *exception_list =
+ TAO_RequestInfo_Util::make_exception_list (ACE_TRY_ENV);
+ ACE_CHECK_RETURN (0);
+
+ return exception_list;
+}
+
+CORBA::Any *
+POA_CORBA::InterfaceDef::TAO_ServerRequestInfo_CORBA_InterfaceDef_is_a::result (CORBA::Environment &ACE_TRY_ENV)
+ ACE_THROW_SPEC ((CORBA::SystemException))
+{
+ // Generate the result on demand.
+ CORBA::Boolean tk_void_any = 0;
+ CORBA::Any *result_any =
+ TAO_RequestInfo_Util::make_any (tk_void_any, ACE_TRY_ENV);
+ ACE_CHECK_RETURN (0);
+
+ CORBA::Any_var safe_result_any = result_any;
+
+ (*result_any) <<= CORBA::Any::from_boolean (this->_result);
+
+ return safe_result_any._retn ();
+}
+
+char *
+POA_CORBA::InterfaceDef::TAO_ServerRequestInfo_CORBA_InterfaceDef_is_a::target_most_derived_interface (
+ CORBA::Environment &)
+ ACE_THROW_SPEC ((CORBA::SystemException))
+{
+ return
+ CORBA::string_dup (this->_tao_impl->_interface_repository_id ());
+}
+
+CORBA::Boolean
+POA_CORBA::InterfaceDef::TAO_ServerRequestInfo_CORBA_InterfaceDef_is_a::target_is_a (
+ const char * id,
+ CORBA::Environment &ACE_TRY_ENV)
+ ACE_THROW_SPEC ((CORBA::SystemException))
+{
+ return this->_tao_impl->_is_a (id, ACE_TRY_ENV);
+}
+
+void
+POA_CORBA::InterfaceDef::TAO_ServerRequestInfo_CORBA_InterfaceDef_is_a::result (CORBA::Boolean result)
+{
+ // Update the result.
+ this->_result = result;
+}
+
+POA_CORBA::InterfaceDef::TAO_ServerRequestInfo_CORBA_InterfaceDef_describe_interface::TAO_ServerRequestInfo_CORBA_InterfaceDef_describe_interface (
+ TAO_ServerRequest &_tao_server_request,
+ POA_CORBA::InterfaceDef *tao_impl,
+ CORBA::Environment &
+ )
+ : TAO_ServerRequestInfo (_tao_server_request),
+ _tao_impl (tao_impl)
+{}
+
+Dynamic::ParameterList *
+POA_CORBA::InterfaceDef::TAO_ServerRequestInfo_CORBA_InterfaceDef_describe_interface::arguments (CORBA::Environment &ACE_TRY_ENV)
+ ACE_THROW_SPEC ((CORBA::SystemException))
+{
+ // Generate the argument list on demand.
+ Dynamic::ParameterList *parameter_list =
+ TAO_RequestInfo_Util::make_parameter_list (ACE_TRY_ENV);
+ ACE_CHECK_RETURN (0);
+
+ return parameter_list;
+}
+
+Dynamic::ExceptionList *
+POA_CORBA::InterfaceDef::TAO_ServerRequestInfo_CORBA_InterfaceDef_describe_interface::exceptions (CORBA::Environment &ACE_TRY_ENV)
+ ACE_THROW_SPEC ((CORBA::SystemException))
+{
+ // Generate the exception list on demand.
+ Dynamic::ExceptionList *exception_list =
+ TAO_RequestInfo_Util::make_exception_list (ACE_TRY_ENV);
+ ACE_CHECK_RETURN (0);
+
+ return exception_list;
+}
+
+CORBA::Any *
+POA_CORBA::InterfaceDef::TAO_ServerRequestInfo_CORBA_InterfaceDef_describe_interface::result (CORBA::Environment &ACE_TRY_ENV)
+ ACE_THROW_SPEC ((CORBA::SystemException))
+{
+ // Generate the result on demand.
+ CORBA::Boolean tk_void_any = 0;
+ CORBA::Any *result_any =
+ TAO_RequestInfo_Util::make_any (tk_void_any, ACE_TRY_ENV);
+ ACE_CHECK_RETURN (0);
+
+ CORBA::Any_var safe_result_any = result_any;
+
+ (*result_any) <<= this->_result;
+
+ return safe_result_any._retn ();
+}
+
+char *
+POA_CORBA::InterfaceDef::TAO_ServerRequestInfo_CORBA_InterfaceDef_describe_interface::target_most_derived_interface (
+ CORBA::Environment &)
+ ACE_THROW_SPEC ((CORBA::SystemException))
+{
+ return
+ CORBA::string_dup (this->_tao_impl->_interface_repository_id ());
+}
+
+CORBA::Boolean
+POA_CORBA::InterfaceDef::TAO_ServerRequestInfo_CORBA_InterfaceDef_describe_interface::target_is_a (
+ const char * id,
+ CORBA::Environment &ACE_TRY_ENV)
+ ACE_THROW_SPEC ((CORBA::SystemException))
+{
+ return this->_tao_impl->_is_a (id, ACE_TRY_ENV);
+}
+
+void
+POA_CORBA::InterfaceDef::TAO_ServerRequestInfo_CORBA_InterfaceDef_describe_interface::result (CORBA::InterfaceDef::FullInterfaceDescription * result)
+{
+ // Update the result.
+ this->_result = result;
+}
+
+POA_CORBA::InterfaceDef::TAO_ServerRequestInfo_CORBA_InterfaceDef_create_attribute::TAO_ServerRequestInfo_CORBA_InterfaceDef_create_attribute (
+ TAO_ServerRequest &_tao_server_request,
+ POA_CORBA::InterfaceDef *tao_impl,
+ const char * id,
+ const char * name,
+ const char * version,
+ CORBA::IDLType_ptr type,
+ CORBA::AttributeMode & mode,
+ CORBA::Environment &
+ )
+ : TAO_ServerRequestInfo (_tao_server_request),
+ _tao_impl (tao_impl),
+ id_ (id),
+ name_ (name),
+ version_ (version),
+ type_ (type),
+ mode_ (mode)
+{}
+
+Dynamic::ParameterList *
+POA_CORBA::InterfaceDef::TAO_ServerRequestInfo_CORBA_InterfaceDef_create_attribute::arguments (CORBA::Environment &ACE_TRY_ENV)
+ ACE_THROW_SPEC ((CORBA::SystemException))
+{
+ // Generate the argument list on demand.
+ Dynamic::ParameterList *parameter_list =
+ TAO_RequestInfo_Util::make_parameter_list (ACE_TRY_ENV);
+ ACE_CHECK_RETURN (0);
+
+ Dynamic::ParameterList_var safe_parameter_list = parameter_list;
+
+ CORBA::ULong length_id = parameter_list->length ();
+ parameter_list->length (length_id + 1);
+ (*parameter_list)[length_id].argument <<= id_;
+ (*parameter_list)[length_id].mode = Dynamic::PARAM_IN;
+
+ CORBA::ULong length_name = parameter_list->length ();
+ parameter_list->length (length_name + 1);
+ (*parameter_list)[length_name].argument <<= name_;
+ (*parameter_list)[length_name].mode = Dynamic::PARAM_IN;
+
+ CORBA::ULong length_version = parameter_list->length ();
+ parameter_list->length (length_version + 1);
+ (*parameter_list)[length_version].argument <<= version_;
+ (*parameter_list)[length_version].mode = Dynamic::PARAM_IN;
+
+ CORBA::ULong length_type = parameter_list->length ();
+ parameter_list->length (length_type + 1);
+ (*parameter_list)[length_type].argument <<= this->type_;
+
+ (*parameter_list)[length_type].mode = Dynamic::PARAM_IN;
+
+ CORBA::ULong length_mode = parameter_list->length ();
+ parameter_list->length (length_mode + 1);
+ (*parameter_list)[length_mode].argument <<= this->mode_;
+
+ (*parameter_list)[length_mode].mode = Dynamic::PARAM_IN;
+
+ return safe_parameter_list._retn ();
+}
+
+Dynamic::ExceptionList *
+POA_CORBA::InterfaceDef::TAO_ServerRequestInfo_CORBA_InterfaceDef_create_attribute::exceptions (CORBA::Environment &ACE_TRY_ENV)
+ ACE_THROW_SPEC ((CORBA::SystemException))
+{
+ // Generate the exception list on demand.
+ Dynamic::ExceptionList *exception_list =
+ TAO_RequestInfo_Util::make_exception_list (ACE_TRY_ENV);
+ ACE_CHECK_RETURN (0);
+
+ return exception_list;
+}
+
+CORBA::Any *
+POA_CORBA::InterfaceDef::TAO_ServerRequestInfo_CORBA_InterfaceDef_create_attribute::result (CORBA::Environment &ACE_TRY_ENV)
+ ACE_THROW_SPEC ((CORBA::SystemException))
+{
+ // Generate the result on demand.
+ CORBA::Boolean tk_void_any = 0;
+ CORBA::Any *result_any =
+ TAO_RequestInfo_Util::make_any (tk_void_any, ACE_TRY_ENV);
+ ACE_CHECK_RETURN (0);
+
+ CORBA::Any_var safe_result_any = result_any;
+
+ (*result_any) <<= this->_result;
+
+ return safe_result_any._retn ();
+}
+
+char *
+POA_CORBA::InterfaceDef::TAO_ServerRequestInfo_CORBA_InterfaceDef_create_attribute::target_most_derived_interface (
+ CORBA::Environment &)
+ ACE_THROW_SPEC ((CORBA::SystemException))
+{
+ return
+ CORBA::string_dup (this->_tao_impl->_interface_repository_id ());
+}
+
+CORBA::Boolean
+POA_CORBA::InterfaceDef::TAO_ServerRequestInfo_CORBA_InterfaceDef_create_attribute::target_is_a (
+ const char * id,
+ CORBA::Environment &ACE_TRY_ENV)
+ ACE_THROW_SPEC ((CORBA::SystemException))
+{
+ return this->_tao_impl->_is_a (id, ACE_TRY_ENV);
+}
+
+void
+POA_CORBA::InterfaceDef::TAO_ServerRequestInfo_CORBA_InterfaceDef_create_attribute::result (CORBA::AttributeDef_ptr result)
+{
+ // Update the result.
+ this->_result = result;
+}
+
+POA_CORBA::InterfaceDef::TAO_ServerRequestInfo_CORBA_InterfaceDef_create_operation::TAO_ServerRequestInfo_CORBA_InterfaceDef_create_operation (
+ TAO_ServerRequest &_tao_server_request,
+ POA_CORBA::InterfaceDef *tao_impl,
+ const char * id,
+ const char * name,
+ const char * version,
+ CORBA::IDLType_ptr result,
+ CORBA::OperationMode & mode,
+ const CORBA::ParDescriptionSeq & params,
+ const CORBA::ExceptionDefSeq & exceptions,
+ const CORBA::ContextIdSeq & contexts,
+ CORBA::Environment &
+ )
+ : TAO_ServerRequestInfo (_tao_server_request),
+ _tao_impl (tao_impl),
+ id_ (id),
+ name_ (name),
+ version_ (version),
+ result_ (result),
+ mode_ (mode),
+ params_ (params),
+ exceptions_ (exceptions),
+ contexts_ (contexts)
+{}
+
+Dynamic::ParameterList *
+POA_CORBA::InterfaceDef::TAO_ServerRequestInfo_CORBA_InterfaceDef_create_operation::arguments (CORBA::Environment &ACE_TRY_ENV)
+ ACE_THROW_SPEC ((CORBA::SystemException))
+{
+ // Generate the argument list on demand.
+ Dynamic::ParameterList *parameter_list =
+ TAO_RequestInfo_Util::make_parameter_list (ACE_TRY_ENV);
+ ACE_CHECK_RETURN (0);
+
+ Dynamic::ParameterList_var safe_parameter_list = parameter_list;
+
+ CORBA::ULong length_id = parameter_list->length ();
+ parameter_list->length (length_id + 1);
+ (*parameter_list)[length_id].argument <<= id_;
+ (*parameter_list)[length_id].mode = Dynamic::PARAM_IN;
+
+ CORBA::ULong length_name = parameter_list->length ();
+ parameter_list->length (length_name + 1);
+ (*parameter_list)[length_name].argument <<= name_;
+ (*parameter_list)[length_name].mode = Dynamic::PARAM_IN;
+
+ CORBA::ULong length_version = parameter_list->length ();
+ parameter_list->length (length_version + 1);
+ (*parameter_list)[length_version].argument <<= version_;
+ (*parameter_list)[length_version].mode = Dynamic::PARAM_IN;
+
+ CORBA::ULong length_result = parameter_list->length ();
+ parameter_list->length (length_result + 1);
+ (*parameter_list)[length_result].argument <<= this->result_;
+
+ (*parameter_list)[length_result].mode = Dynamic::PARAM_IN;
+
+ CORBA::ULong length_mode = parameter_list->length ();
+ parameter_list->length (length_mode + 1);
+ (*parameter_list)[length_mode].argument <<= this->mode_;
+
+ (*parameter_list)[length_mode].mode = Dynamic::PARAM_IN;
+
+ CORBA::ULong length_params = parameter_list->length ();
+ parameter_list->length (length_params + 1);
+ (*parameter_list)[length_params].argument <<= this->params_;
+
+ (*parameter_list)[length_params].mode = Dynamic::PARAM_IN;
+
+ CORBA::ULong length_exceptions = parameter_list->length ();
+ parameter_list->length (length_exceptions + 1);
+ (*parameter_list)[length_exceptions].argument <<= this->exceptions_;
+
+ (*parameter_list)[length_exceptions].mode = Dynamic::PARAM_IN;
+
+ CORBA::ULong length_contexts = parameter_list->length ();
+ parameter_list->length (length_contexts + 1);
+ (*parameter_list)[length_contexts].argument <<= this->contexts_;
+
+ (*parameter_list)[length_contexts].mode = Dynamic::PARAM_IN;
+
+ return safe_parameter_list._retn ();
+}
+
+Dynamic::ExceptionList *
+POA_CORBA::InterfaceDef::TAO_ServerRequestInfo_CORBA_InterfaceDef_create_operation::exceptions (CORBA::Environment &ACE_TRY_ENV)
+ ACE_THROW_SPEC ((CORBA::SystemException))
+{
+ // Generate the exception list on demand.
+ Dynamic::ExceptionList *exception_list =
+ TAO_RequestInfo_Util::make_exception_list (ACE_TRY_ENV);
+ ACE_CHECK_RETURN (0);
+
+ return exception_list;
+}
+
+CORBA::Any *
+POA_CORBA::InterfaceDef::TAO_ServerRequestInfo_CORBA_InterfaceDef_create_operation::result (CORBA::Environment &ACE_TRY_ENV)
+ ACE_THROW_SPEC ((CORBA::SystemException))
+{
+ // Generate the result on demand.
+ CORBA::Boolean tk_void_any = 0;
+ CORBA::Any *result_any =
+ TAO_RequestInfo_Util::make_any (tk_void_any, ACE_TRY_ENV);
+ ACE_CHECK_RETURN (0);
+
+ CORBA::Any_var safe_result_any = result_any;
+
+ (*result_any) <<= this->_result;
+
+ return safe_result_any._retn ();
+}
+
+char *
+POA_CORBA::InterfaceDef::TAO_ServerRequestInfo_CORBA_InterfaceDef_create_operation::target_most_derived_interface (
+ CORBA::Environment &)
+ ACE_THROW_SPEC ((CORBA::SystemException))
+{
+ return
+ CORBA::string_dup (this->_tao_impl->_interface_repository_id ());
+}
+
+CORBA::Boolean
+POA_CORBA::InterfaceDef::TAO_ServerRequestInfo_CORBA_InterfaceDef_create_operation::target_is_a (
+ const char * id,
+ CORBA::Environment &ACE_TRY_ENV)
+ ACE_THROW_SPEC ((CORBA::SystemException))
+{
+ return this->_tao_impl->_is_a (id, ACE_TRY_ENV);
+}
+
+void
+POA_CORBA::InterfaceDef::TAO_ServerRequestInfo_CORBA_InterfaceDef_create_operation::result (CORBA::OperationDef_ptr result)
+{
+ // Update the result.
+ this->_result = result;
+}
+
+#endif /* TAO_HAS_INTERCEPTORS */
+class TAO_CORBA_AbstractInterfaceDef_Perfect_Hash_OpTable : public TAO_Perfect_Hash_OpTable
+{
+private:
+ unsigned int hash (const char *str, unsigned int len);
+public:
+ const TAO_operation_db_entry * lookup (const char *str, unsigned int len);
+};
+/* starting time is 10:44:38 */
+/* C++ code produced by gperf version 2.8 (ACE version) */
+/* Command-line: gperf -m -M -J -c -C -D -E -T -f 0 -F 0 -a -o -t -p -K opname_ -L C++ -Z TAO_CORBA_AbstractInterfaceDef_Perfect_Hash_OpTable -N lookup */
+unsigned int
+TAO_CORBA_AbstractInterfaceDef_Perfect_Hash_OpTable::hash (const char *str, unsigned int len)
+{
+ static const unsigned char asso_values[] =
+ {
+#if defined (ACE_MVS)
+ 59, 59, 59, 59, 59, 59, 59, 59, 59, 59,
+ 59, 59, 59, 59, 59, 59, 59, 59, 59, 59,
+ 59, 59, 59, 59, 59, 59, 59, 59, 59, 59,
+ 59, 59, 59, 59, 59, 59, 59, 59, 59, 59,
+ 59, 59, 59, 59, 59, 59, 59, 59, 59, 59,
+ 59, 59, 59, 59, 59, 59, 59, 59, 59, 59,
+ 59, 59, 59, 59, 59, 59, 59, 59, 59, 59,
+ 59, 59, 59, 59, 59, 59, 59, 59, 59, 59,
+ 59, 59, 59, 59, 59, 59, 59, 59, 59, 59,
+ 59, 59, 59, 59, 59, 59, 59, 59, 59, 59,
+ 59, 59, 59, 59, 59, 59, 59, 59, 59, 15,
+ 59, 59, 59, 59, 59, 59, 59, 59, 59, 59,
+ 59, 59, 59, 59, 59, 59, 59, 59, 59, 0,
+ 59, 0, 20, 0, 59, 59, 59, 5, 59, 59,
+ 59, 59, 59, 59, 59, 59, 59, 20, 0, 5,
+ 59, 10, 59, 59, 59, 59, 59, 59, 59, 59,
+ 59, 59, 15, 30, 59, 59, 59, 10, 10, 59,
+ 59, 59, 59, 59, 59, 59, 59, 59, 59, 59,
+ 59, 59, 59, 59, 59, 59, 59, 59, 59, 59,
+ 59, 59, 59, 59, 59, 59, 59, 59, 59, 59,
+ 59, 59, 59, 59, 59, 59, 59, 59, 59, 59,
+ 59, 59, 59, 59, 59, 59, 59, 59, 59, 59,
+ 59, 59, 59, 59, 59, 59, 59, 59, 59, 59,
+ 59, 59, 59, 59, 59, 59, 59, 59, 59, 59,
+ 59, 59, 59, 59, 59, 59, 59, 59, 59, 59,
+ 59, 59, 59, 59, 59, 59,
+#else
+ 59, 59, 59, 59, 59, 59, 59, 59, 59, 59,
+ 59, 59, 59, 59, 59, 59, 59, 59, 59, 59,
+ 59, 59, 59, 59, 59, 59, 59, 59, 59, 59,
+ 59, 59, 59, 59, 59, 59, 59, 59, 59, 59,
+ 59, 59, 59, 59, 59, 59, 59, 59, 59, 59,
+ 59, 59, 59, 59, 59, 59, 59, 59, 59, 59,
+ 59, 59, 59, 59, 59, 59, 59, 59, 59, 59,
+ 59, 59, 59, 59, 59, 59, 59, 59, 59, 59,
+ 59, 59, 59, 59, 59, 59, 59, 59, 59, 59,
+ 59, 59, 59, 59, 59, 15, 59, 0, 59, 0,
+ 20, 0, 59, 59, 59, 5, 59, 59, 20, 0,
+ 5, 59, 10, 59, 59, 15, 30, 59, 59, 59,
+ 10, 10, 59, 59, 59, 59, 59, 59,
+#endif /* ACE_MVS */
+ };
+ return len + asso_values[str[len - 1]] + asso_values[str[0]];
+}
+
+const class TAO_operation_db_entry *
+TAO_CORBA_AbstractInterfaceDef_Perfect_Hash_OpTable::lookup (const char *str, unsigned int len)
+{
+ enum
+ {
+ TOTAL_KEYWORDS = 39,
+ MIN_WORD_LENGTH = 4,
+ MAX_WORD_LENGTH = 26,
+ MIN_HASH_VALUE = 4,
+ MAX_HASH_VALUE = 58,
+ HASH_VALUE_RANGE = 55,
+ DUPLICATES = 9
+ };
+
+ static const class TAO_operation_db_entry wordlist[] =
+ {
+ {"",0},{"",0},{"",0},{"",0},
+ {"move", &POA_CORBA::AbstractInterfaceDef::move_skel},
+ {"is_a", &POA_CORBA::AbstractInterfaceDef::is_a_skel},
+ {"create_enum", &POA_CORBA::AbstractInterfaceDef::create_enum_skel},
+ {"create_value", &POA_CORBA::AbstractInterfaceDef::create_value_skel},
+ {"create_module", &POA_CORBA::AbstractInterfaceDef::create_module_skel},
+ {"create_native", &POA_CORBA::AbstractInterfaceDef::create_native_skel},
+ {"create_attribute", &POA_CORBA::AbstractInterfaceDef::create_attribute_skel},
+ {"create_interface", &POA_CORBA::AbstractInterfaceDef::create_interface_skel},
+ {"create_union", &POA_CORBA::AbstractInterfaceDef::create_union_skel},
+ {"_is_a", &POA_CORBA::AbstractInterfaceDef::_is_a_skel},
+ {"create_operation", &POA_CORBA::AbstractInterfaceDef::create_operation_skel},
+ {"create_exception", &POA_CORBA::AbstractInterfaceDef::create_exception_skel},
+ {"create_local_interface", &POA_CORBA::AbstractInterfaceDef::create_local_interface_skel},
+ {"contents", &POA_CORBA::AbstractInterfaceDef::contents_skel},
+ {"_get_name", &POA_CORBA::AbstractInterfaceDef::_get_name_skel},
+ {"_get_type", &POA_CORBA::AbstractInterfaceDef::_get_type_skel},
+ {"_set_name", &POA_CORBA::AbstractInterfaceDef::_set_name_skel},
+ {"create_abstract_interface", &POA_CORBA::AbstractInterfaceDef::create_abstract_interface_skel},
+ {"create_value_box", &POA_CORBA::AbstractInterfaceDef::create_value_box_skel},
+ {"create_alias", &POA_CORBA::AbstractInterfaceDef::create_alias_skel},
+ {"describe", &POA_CORBA::AbstractInterfaceDef::describe_skel},
+ {"lookup_name", &POA_CORBA::AbstractInterfaceDef::lookup_name_skel},
+ {"_get_version", &POA_CORBA::AbstractInterfaceDef::_get_version_skel},
+ {"_set_version", &POA_CORBA::AbstractInterfaceDef::_set_version_skel},
+ {"_get_absolute_name", &POA_CORBA::AbstractInterfaceDef::_get_absolute_name_skel},
+ {"_get_defined_in", &POA_CORBA::AbstractInterfaceDef::_get_defined_in_skel},
+ {"lookup", &POA_CORBA::AbstractInterfaceDef::lookup_skel},
+ {"destroy", &POA_CORBA::AbstractInterfaceDef::destroy_skel},
+ {"describe_interface", &POA_CORBA::AbstractInterfaceDef::describe_interface_skel},
+ {"_get_id", &POA_CORBA::AbstractInterfaceDef::_get_id_skel},
+ {"_set_id", &POA_CORBA::AbstractInterfaceDef::_set_id_skel},
+ {"create_struct", &POA_CORBA::AbstractInterfaceDef::create_struct_skel},
+ {"create_constant", &POA_CORBA::AbstractInterfaceDef::create_constant_skel},
+ {"_get_def_kind", &POA_CORBA::AbstractInterfaceDef::_get_def_kind_skel},
+ {"_get_base_interfaces", &POA_CORBA::AbstractInterfaceDef::_get_base_interfaces_skel},
+ {"_set_base_interfaces", &POA_CORBA::AbstractInterfaceDef::_set_base_interfaces_skel},
+ {"_get_containing_repository", &POA_CORBA::AbstractInterfaceDef::_get_containing_repository_skel},
+ {"describe_contents", &POA_CORBA::AbstractInterfaceDef::describe_contents_skel},
+ {"_non_existent", &POA_CORBA::AbstractInterfaceDef::_non_existent_skel},
+ };
+
+ static const signed char lookup[] =
+ {
+ -1, -1, -1, -1, 4, -8, -2, -10, -2, 5, -1, 6, 7, -66,
+ -14, -2, -67, 12, -18, -3, 13, -65, 16, 17, -64, 21, 22, 23,
+ 24, -26, -2, 25, -61, 28, -1, 29, 30, 31, 32, -1, -33, -2,
+ -60, 35, -1, 36, -38, -2, 37, -1, -62, 40, 41, -1, -1, -1,
+ -1, -1, 42,
+ };
+
+ if (len <= MAX_WORD_LENGTH && len >= MIN_WORD_LENGTH)
+ {
+ unsigned int key = hash (str, len);
+
+ if (key <= MAX_HASH_VALUE && key >= MIN_HASH_VALUE)
+ {
+ int slot = lookup[key];
+
+ if (slot >= 0 && slot < MAX_HASH_VALUE)
+ {
+ const char *s = wordlist[slot].opname_;
+
+ if (*str == *s && !strncmp (str + 1, s + 1, len - 1))
+ return &wordlist[slot];
+ }
+ else if (slot < 0 && slot >= -MAX_HASH_VALUE)
+ return 0;
+ else
+ {
+ unsigned int offset = key + slot + (slot > 0 ? -MAX_HASH_VALUE : MAX_HASH_VALUE);
+ const class TAO_operation_db_entry *base = &wordlist[-lookup[offset]];
+ const class TAO_operation_db_entry *ptr = base + -lookup[offset + 1];
+
+ while (--ptr >= base)
+ if (*str == *ptr->opname_ && !strncmp (str + 1, ptr->opname_ + 1, len - 1))
+ return ptr;
+ }
+ }
+ }
+ return 0;
+}
+/* ending time is 10:44:38 */
+static TAO_CORBA_AbstractInterfaceDef_Perfect_Hash_OpTable tao_CORBA_AbstractInterfaceDef_optable;
+
+
+///////////////////////////////////////////////////////////////////////
+// Strategized Proxy Broker Implementation
+//
+
+// Factory function Implementation.
+POA_CORBA::_TAO_AbstractInterfaceDef_Strategized_Proxy_Broker *POA_CORBA::_TAO_AbstractInterfaceDef_Strategized_Proxy_Broker::the_TAO_AbstractInterfaceDef_Strategized_Proxy_Broker (void)
+{
+ static POA_CORBA::_TAO_AbstractInterfaceDef_Strategized_Proxy_Broker strategized_proxy_broker;
+ return &strategized_proxy_broker;
+}
+
+POA_CORBA::_TAO_AbstractInterfaceDef_Strategized_Proxy_Broker::_TAO_AbstractInterfaceDef_Strategized_Proxy_Broker (void)
+{
+ for (int i = 0; i < TAO_Collocation_Strategies::CS_LAST; ++i)
+ this->proxy_cache_[i] = 0;
+
+}
+
+POA_CORBA::_TAO_AbstractInterfaceDef_Strategized_Proxy_Broker::~_TAO_AbstractInterfaceDef_Strategized_Proxy_Broker (void)
+{
+ for (int i = 0; i < TAO_Collocation_Strategies::CS_LAST; ++i)
+ delete this->proxy_cache_[i];
+
+}
+
+_TAO_AbstractInterfaceDef_Proxy_Impl&
+POA_CORBA::_TAO_AbstractInterfaceDef_Strategized_Proxy_Broker::select_proxy (
+ ::CORBA::AbstractInterfaceDef *object,
+ CORBA::Environment &ACE_TRY_ENV
+ )
+{
+ int strategy =
+ TAO_ORB_Core::collocation_strategy (object);
+
+ if (this->proxy_cache_[strategy] != 0)
+ return *this->proxy_cache_[strategy];
+
+ this->create_proxy (strategy, ACE_TRY_ENV);
+ ACE_CHECK_RETURN (*this->proxy_cache_[strategy]);
+
+ return *this->proxy_cache_[strategy];
+
+}
+
+void
+POA_CORBA::_TAO_AbstractInterfaceDef_Strategized_Proxy_Broker::create_proxy (
+ int strategy,
+ CORBA::Environment &ACE_TRY_ENV
+ )
+{
+ ACE_GUARD (TAO_SYNCH_MUTEX, guard, this->mutex_);
+
+ if (this->proxy_cache_[strategy] == 0)
+ {
+ switch (strategy)
+ {
+ case TAO_Collocation_Strategies::CS_THRU_POA_STRATEGY:
+ ACE_NEW_THROW_EX (
+ this->proxy_cache_[strategy],
+ _TAO_AbstractInterfaceDef_ThruPOA_Proxy_Impl,
+ CORBA::NO_MEMORY ()
+ );
+ ACE_CHECK;
+ break;
+
+ case TAO_Collocation_Strategies::CS_REMOTE_STRATEGY:
+ default:
+ ACE_NEW_THROW_EX (
+ this->proxy_cache_[strategy],
+ ::_TAO_AbstractInterfaceDef_Remote_Proxy_Impl,
+ CORBA::NO_MEMORY ()
+ );
+ ACE_CHECK;
+ break;
+
+ }
+
+ }
+}
+
+
+//
+// End Strategized Proxy Broker Implementation
+///////////////////////////////////////////////////////////////////////
+
+
+_TAO_AbstractInterfaceDef_Proxy_Broker *
+CORBA__TAO_AbstractInterfaceDef_Proxy_Broker_Factory_function (CORBA::Object_ptr obj)
+{
+ ACE_UNUSED_ARG (obj);
+ return ::POA_CORBA::_TAO_AbstractInterfaceDef_Strategized_Proxy_Broker::the_TAO_AbstractInterfaceDef_Strategized_Proxy_Broker();
+}
+
+int
+CORBA__TAO_AbstractInterfaceDef_Proxy_Broker_Factory_Initializer (long _dummy_)
+{
+ ACE_UNUSED_ARG (_dummy_);
+
+ CORBA__TAO_AbstractInterfaceDef_Proxy_Broker_Factory_function_pointer =
+ CORBA__TAO_AbstractInterfaceDef_Proxy_Broker_Factory_function;
+
+ return 0;
+}
+
+static int CORBA__TAO_AbstractInterfaceDef_Proxy_Broker_Stub_Factory_Initializer_Scarecrow =
+ CORBA__TAO_AbstractInterfaceDef_Proxy_Broker_Factory_Initializer (ACE_reinterpret_cast (long, CORBA__TAO_AbstractInterfaceDef_Proxy_Broker_Factory_Initializer));
+
+
+///////////////////////////////////////////////////////////////////////
+// ThruPOA Proxy Implementation
+//
+
+POA_CORBA::_TAO_AbstractInterfaceDef_ThruPOA_Proxy_Impl::_TAO_AbstractInterfaceDef_ThruPOA_Proxy_Impl (void)
+{}
+
+// ThruPOA Implementation of the IDL interface methods
+
+//
+// End ThruPOA Proxy Implementation
+///////////////////////////////////////////////////////////////////////
+
+// skeleton constructor
+POA_CORBA::AbstractInterfaceDef::AbstractInterfaceDef (void)
+{
+ this->optable_ = &tao_CORBA_AbstractInterfaceDef_optable;
+}
+
+// copy ctor
+POA_CORBA::AbstractInterfaceDef::AbstractInterfaceDef (const AbstractInterfaceDef& rhs)
+ : ACE_NESTED_CLASS (POA_CORBA,InterfaceDef) (rhs),
+ ACE_NESTED_CLASS (POA_CORBA,Container) (rhs),
+ ACE_NESTED_CLASS (POA_CORBA,Contained) (rhs),
+ ACE_NESTED_CLASS (POA_CORBA,IDLType) (rhs),
+ ACE_NESTED_CLASS (POA_CORBA,IRObject) (rhs),
+ TAO_ServantBase (rhs)
+{}
+
+// skeleton destructor
+POA_CORBA::AbstractInterfaceDef::~AbstractInterfaceDef (void)
+{
+}
+
+void POA_CORBA::AbstractInterfaceDef::_is_a_skel (
+ TAO_ServerRequest &_tao_server_request,
+ void * _tao_object_reference,
+ void * /* context */,
+ CORBA::Environment &ACE_TRY_ENV
+ )
+{
+ TAO_InputCDR &_tao_in = _tao_server_request.incoming ();
+ POA_CORBA::AbstractInterfaceDef *_tao_impl = (POA_CORBA::AbstractInterfaceDef *) _tao_object_reference;
+ CORBA::Boolean _tao_retval = 0;
+ CORBA::String_var value;
+ if (!(_tao_in >> value.out ()))
+ ACE_THROW (CORBA::MARSHAL ());
+
+ _tao_retval = _tao_impl->_is_a (value.in (), ACE_TRY_ENV);
+ ACE_CHECK;
+
+ _tao_server_request.init_reply ();
+ TAO_OutputCDR &_tao_out = _tao_server_request.outgoing ();
+ if (!(_tao_out << CORBA::Any::from_boolean (_tao_retval)))
+ ACE_THROW (CORBA::MARSHAL ());
+}
+
+void POA_CORBA::AbstractInterfaceDef::_non_existent_skel (
+ TAO_ServerRequest &_tao_server_request,
+ void * _tao_object_reference,
+ void * /* context */,
+ CORBA::Environment &ACE_TRY_ENV
+ )
+{
+ POA_CORBA::AbstractInterfaceDef *_tao_impl = (POA_CORBA::AbstractInterfaceDef *) _tao_object_reference;
+ CORBA::Boolean _tao_retval = _tao_impl->_non_existent (ACE_TRY_ENV);
+ ACE_CHECK;
+
+ _tao_server_request.init_reply ();
+ TAO_OutputCDR &_tao_out = _tao_server_request.outgoing ();
+ if (!(_tao_out << CORBA::Any::from_boolean (_tao_retval)))
+ ACE_THROW (CORBA::MARSHAL ());
+}
+
+CORBA::Boolean POA_CORBA::AbstractInterfaceDef::_is_a (
+ const char* value,
+ CORBA::Environment &ACE_TRY_ENV
+ )
+{
+ const char *base_id = CORBA::_tc_Object->id (ACE_TRY_ENV);
+ ACE_CHECK_RETURN (0);
+
+ if (
+ (!ACE_OS::strcmp ((char *)value, "IDL:omg.org/CORBA/AbstractInterfaceDef:1.0")) ||
+ (!ACE_OS::strcmp ((char *)value, "IDL:omg.org/CORBA/InterfaceDef:1.0")) ||
+ (!ACE_OS::strcmp ((char *)value, "IDL:omg.org/CORBA/Container:1.0")) ||
+ (!ACE_OS::strcmp ((char *)value, "IDL:omg.org/CORBA/Contained:1.0")) ||
+ (!ACE_OS::strcmp ((char *)value, "IDL:omg.org/CORBA/IDLType:1.0")) ||
+ (!ACE_OS::strcmp ((char *)value, "IDL:omg.org/CORBA/IRObject:1.0")) ||
+ (!ACE_OS::strcmp ((char *)value, base_id)))
+ return 1;
+ else
+ return 0;
+}
+
+void* POA_CORBA::AbstractInterfaceDef::_downcast (
+ const char* logical_type_id
+ )
+{
+ if (ACE_OS::strcmp (logical_type_id, "IDL:omg.org/CORBA/AbstractInterfaceDef:1.0") == 0)
+ return ACE_static_cast (POA_CORBA::AbstractInterfaceDef_ptr, this);
+ if (ACE_OS::strcmp (logical_type_id, "IDL:omg.org/CORBA/InterfaceDef:1.0") == 0)
+ return ACE_static_cast (POA_CORBA::InterfaceDef_ptr, this);
+ if (ACE_OS::strcmp (logical_type_id, "IDL:omg.org/CORBA/Container:1.0") == 0)
+ return ACE_static_cast (POA_CORBA::Container_ptr, this);
+ if (ACE_OS::strcmp (logical_type_id, "IDL:omg.org/CORBA/Contained:1.0") == 0)
+ return ACE_static_cast (POA_CORBA::Contained_ptr, this);
+ if (ACE_OS::strcmp (logical_type_id, "IDL:omg.org/CORBA/IDLType:1.0") == 0)
+ return ACE_static_cast (POA_CORBA::IDLType_ptr, this);
+ if (ACE_OS::strcmp (logical_type_id, "IDL:omg.org/CORBA/IRObject:1.0") == 0)
+ return ACE_static_cast (POA_CORBA::IRObject_ptr, this);
+ if (ACE_OS::strcmp (logical_type_id, "IDL:omg.org/CORBA/Object:1.0") == 0)
+ return ACE_static_cast(PortableServer::Servant, this);
+ return 0;
+}
+
+void POA_CORBA::AbstractInterfaceDef::_dispatch (TAO_ServerRequest &req, void *context, CORBA::Environment &ACE_TRY_ENV)
+{
+ this->synchronous_upcall_dispatch(req, context, this, ACE_TRY_ENV);
+}
+
+const char* POA_CORBA::AbstractInterfaceDef::_interface_repository_id (void) const
+{
+ return "IDL:omg.org/CORBA/AbstractInterfaceDef:1.0";
+}
+
+CORBA::AbstractInterfaceDef*
+POA_CORBA::AbstractInterfaceDef::_this (CORBA_Environment &ACE_TRY_ENV)
+{
+ TAO_Stub *stub = this->_create_stub (ACE_TRY_ENV);
+ ACE_CHECK_RETURN (0);
+
+ CORBA::Object_ptr tmp = CORBA::Object::_nil ();
+
+ if (stub->servant_orb_var ()->orb_core ()->optimize_collocation_objects ())
+ ACE_NEW_RETURN (tmp, CORBA::Object (stub, 1, this), 0);
+ else
+ ACE_NEW_RETURN (tmp, CORBA::Object (stub, 0, this), 0);
+
+ CORBA::Object_var obj = tmp;
+ return ::CORBA::AbstractInterfaceDef::_unchecked_narrow (obj.in ());
+}
+
+
+#if (TAO_HAS_INTERCEPTORS == 1)
+#endif /* TAO_HAS_INTERCEPTORS */
+class TAO_CORBA_LocalInterfaceDef_Perfect_Hash_OpTable : public TAO_Perfect_Hash_OpTable
+{
+private:
+ unsigned int hash (const char *str, unsigned int len);
+public:
+ const TAO_operation_db_entry * lookup (const char *str, unsigned int len);
+};
+/* starting time is 10:44:38 */
+/* C++ code produced by gperf version 2.8 (ACE version) */
+/* Command-line: gperf -m -M -J -c -C -D -E -T -f 0 -F 0 -a -o -t -p -K opname_ -L C++ -Z TAO_CORBA_LocalInterfaceDef_Perfect_Hash_OpTable -N lookup */
+unsigned int
+TAO_CORBA_LocalInterfaceDef_Perfect_Hash_OpTable::hash (const char *str, unsigned int len)
+{
+ static const unsigned char asso_values[] =
+ {
+#if defined (ACE_MVS)
+ 59, 59, 59, 59, 59, 59, 59, 59, 59, 59,
+ 59, 59, 59, 59, 59, 59, 59, 59, 59, 59,
+ 59, 59, 59, 59, 59, 59, 59, 59, 59, 59,
+ 59, 59, 59, 59, 59, 59, 59, 59, 59, 59,
+ 59, 59, 59, 59, 59, 59, 59, 59, 59, 59,
+ 59, 59, 59, 59, 59, 59, 59, 59, 59, 59,
+ 59, 59, 59, 59, 59, 59, 59, 59, 59, 59,
+ 59, 59, 59, 59, 59, 59, 59, 59, 59, 59,
+ 59, 59, 59, 59, 59, 59, 59, 59, 59, 59,
+ 59, 59, 59, 59, 59, 59, 59, 59, 59, 59,
+ 59, 59, 59, 59, 59, 59, 59, 59, 59, 15,
+ 59, 59, 59, 59, 59, 59, 59, 59, 59, 59,
+ 59, 59, 59, 59, 59, 59, 59, 59, 59, 0,
+ 59, 0, 20, 0, 59, 59, 59, 5, 59, 59,
+ 59, 59, 59, 59, 59, 59, 59, 20, 0, 5,
+ 59, 10, 59, 59, 59, 59, 59, 59, 59, 59,
+ 59, 59, 15, 30, 59, 59, 59, 10, 10, 59,
+ 59, 59, 59, 59, 59, 59, 59, 59, 59, 59,
+ 59, 59, 59, 59, 59, 59, 59, 59, 59, 59,
+ 59, 59, 59, 59, 59, 59, 59, 59, 59, 59,
+ 59, 59, 59, 59, 59, 59, 59, 59, 59, 59,
+ 59, 59, 59, 59, 59, 59, 59, 59, 59, 59,
+ 59, 59, 59, 59, 59, 59, 59, 59, 59, 59,
+ 59, 59, 59, 59, 59, 59, 59, 59, 59, 59,
+ 59, 59, 59, 59, 59, 59, 59, 59, 59, 59,
+ 59, 59, 59, 59, 59, 59,
+#else
+ 59, 59, 59, 59, 59, 59, 59, 59, 59, 59,
+ 59, 59, 59, 59, 59, 59, 59, 59, 59, 59,
+ 59, 59, 59, 59, 59, 59, 59, 59, 59, 59,
+ 59, 59, 59, 59, 59, 59, 59, 59, 59, 59,
+ 59, 59, 59, 59, 59, 59, 59, 59, 59, 59,
+ 59, 59, 59, 59, 59, 59, 59, 59, 59, 59,
+ 59, 59, 59, 59, 59, 59, 59, 59, 59, 59,
+ 59, 59, 59, 59, 59, 59, 59, 59, 59, 59,
+ 59, 59, 59, 59, 59, 59, 59, 59, 59, 59,
+ 59, 59, 59, 59, 59, 15, 59, 0, 59, 0,
+ 20, 0, 59, 59, 59, 5, 59, 59, 20, 0,
+ 5, 59, 10, 59, 59, 15, 30, 59, 59, 59,
+ 10, 10, 59, 59, 59, 59, 59, 59,
+#endif /* ACE_MVS */
+ };
+ return len + asso_values[str[len - 1]] + asso_values[str[0]];
+}
+
+const class TAO_operation_db_entry *
+TAO_CORBA_LocalInterfaceDef_Perfect_Hash_OpTable::lookup (const char *str, unsigned int len)
+{
+ enum
+ {
+ TOTAL_KEYWORDS = 39,
+ MIN_WORD_LENGTH = 4,
+ MAX_WORD_LENGTH = 26,
+ MIN_HASH_VALUE = 4,
+ MAX_HASH_VALUE = 58,
+ HASH_VALUE_RANGE = 55,
+ DUPLICATES = 9
+ };
+
+ static const class TAO_operation_db_entry wordlist[] =
+ {
+ {"",0},{"",0},{"",0},{"",0},
+ {"move", &POA_CORBA::LocalInterfaceDef::move_skel},
+ {"is_a", &POA_CORBA::LocalInterfaceDef::is_a_skel},
+ {"create_enum", &POA_CORBA::LocalInterfaceDef::create_enum_skel},
+ {"create_value", &POA_CORBA::LocalInterfaceDef::create_value_skel},
+ {"create_module", &POA_CORBA::LocalInterfaceDef::create_module_skel},
+ {"create_native", &POA_CORBA::LocalInterfaceDef::create_native_skel},
+ {"create_attribute", &POA_CORBA::LocalInterfaceDef::create_attribute_skel},
+ {"create_interface", &POA_CORBA::LocalInterfaceDef::create_interface_skel},
+ {"create_union", &POA_CORBA::LocalInterfaceDef::create_union_skel},
+ {"_is_a", &POA_CORBA::LocalInterfaceDef::_is_a_skel},
+ {"create_operation", &POA_CORBA::LocalInterfaceDef::create_operation_skel},
+ {"create_exception", &POA_CORBA::LocalInterfaceDef::create_exception_skel},
+ {"create_local_interface", &POA_CORBA::LocalInterfaceDef::create_local_interface_skel},
+ {"contents", &POA_CORBA::LocalInterfaceDef::contents_skel},
+ {"_get_name", &POA_CORBA::LocalInterfaceDef::_get_name_skel},
+ {"_get_type", &POA_CORBA::LocalInterfaceDef::_get_type_skel},
+ {"_set_name", &POA_CORBA::LocalInterfaceDef::_set_name_skel},
+ {"create_abstract_interface", &POA_CORBA::LocalInterfaceDef::create_abstract_interface_skel},
+ {"create_value_box", &POA_CORBA::LocalInterfaceDef::create_value_box_skel},
+ {"create_alias", &POA_CORBA::LocalInterfaceDef::create_alias_skel},
+ {"describe", &POA_CORBA::LocalInterfaceDef::describe_skel},
+ {"lookup_name", &POA_CORBA::LocalInterfaceDef::lookup_name_skel},
+ {"_get_version", &POA_CORBA::LocalInterfaceDef::_get_version_skel},
+ {"_set_version", &POA_CORBA::LocalInterfaceDef::_set_version_skel},
+ {"_get_absolute_name", &POA_CORBA::LocalInterfaceDef::_get_absolute_name_skel},
+ {"_get_defined_in", &POA_CORBA::LocalInterfaceDef::_get_defined_in_skel},
+ {"lookup", &POA_CORBA::LocalInterfaceDef::lookup_skel},
+ {"destroy", &POA_CORBA::LocalInterfaceDef::destroy_skel},
+ {"describe_interface", &POA_CORBA::LocalInterfaceDef::describe_interface_skel},
+ {"_get_id", &POA_CORBA::LocalInterfaceDef::_get_id_skel},
+ {"_set_id", &POA_CORBA::LocalInterfaceDef::_set_id_skel},
+ {"create_struct", &POA_CORBA::LocalInterfaceDef::create_struct_skel},
+ {"create_constant", &POA_CORBA::LocalInterfaceDef::create_constant_skel},
+ {"_get_def_kind", &POA_CORBA::LocalInterfaceDef::_get_def_kind_skel},
+ {"_get_base_interfaces", &POA_CORBA::LocalInterfaceDef::_get_base_interfaces_skel},
+ {"_set_base_interfaces", &POA_CORBA::LocalInterfaceDef::_set_base_interfaces_skel},
+ {"_get_containing_repository", &POA_CORBA::LocalInterfaceDef::_get_containing_repository_skel},
+ {"describe_contents", &POA_CORBA::LocalInterfaceDef::describe_contents_skel},
+ {"_non_existent", &POA_CORBA::LocalInterfaceDef::_non_existent_skel},
+ };
+
+ static const signed char lookup[] =
+ {
+ -1, -1, -1, -1, 4, -8, -2, -10, -2, 5, -1, 6, 7, -66,
+ -14, -2, -67, 12, -18, -3, 13, -65, 16, 17, -64, 21, 22, 23,
+ 24, -26, -2, 25, -61, 28, -1, 29, 30, 31, 32, -1, -33, -2,
+ -60, 35, -1, 36, -38, -2, 37, -1, -62, 40, 41, -1, -1, -1,
+ -1, -1, 42,
+ };
+
+ if (len <= MAX_WORD_LENGTH && len >= MIN_WORD_LENGTH)
+ {
+ unsigned int key = hash (str, len);
+
+ if (key <= MAX_HASH_VALUE && key >= MIN_HASH_VALUE)
+ {
+ int slot = lookup[key];
+
+ if (slot >= 0 && slot < MAX_HASH_VALUE)
+ {
+ const char *s = wordlist[slot].opname_;
+
+ if (*str == *s && !strncmp (str + 1, s + 1, len - 1))
+ return &wordlist[slot];
+ }
+ else if (slot < 0 && slot >= -MAX_HASH_VALUE)
+ return 0;
+ else
+ {
+ unsigned int offset = key + slot + (slot > 0 ? -MAX_HASH_VALUE : MAX_HASH_VALUE);
+ const class TAO_operation_db_entry *base = &wordlist[-lookup[offset]];
+ const class TAO_operation_db_entry *ptr = base + -lookup[offset + 1];
+
+ while (--ptr >= base)
+ if (*str == *ptr->opname_ && !strncmp (str + 1, ptr->opname_ + 1, len - 1))
+ return ptr;
+ }
+ }
+ }
+ return 0;
+}
+/* ending time is 10:44:38 */
+static TAO_CORBA_LocalInterfaceDef_Perfect_Hash_OpTable tao_CORBA_LocalInterfaceDef_optable;
+
+
+///////////////////////////////////////////////////////////////////////
+// Strategized Proxy Broker Implementation
+//
+
+// Factory function Implementation.
+POA_CORBA::_TAO_LocalInterfaceDef_Strategized_Proxy_Broker *POA_CORBA::_TAO_LocalInterfaceDef_Strategized_Proxy_Broker::the_TAO_LocalInterfaceDef_Strategized_Proxy_Broker (void)
+{
+ static POA_CORBA::_TAO_LocalInterfaceDef_Strategized_Proxy_Broker strategized_proxy_broker;
+ return &strategized_proxy_broker;
+}
+
+POA_CORBA::_TAO_LocalInterfaceDef_Strategized_Proxy_Broker::_TAO_LocalInterfaceDef_Strategized_Proxy_Broker (void)
+{
+ for (int i = 0; i < TAO_Collocation_Strategies::CS_LAST; ++i)
+ this->proxy_cache_[i] = 0;
+
+}
+
+POA_CORBA::_TAO_LocalInterfaceDef_Strategized_Proxy_Broker::~_TAO_LocalInterfaceDef_Strategized_Proxy_Broker (void)
+{
+ for (int i = 0; i < TAO_Collocation_Strategies::CS_LAST; ++i)
+ delete this->proxy_cache_[i];
+
+}
+
+_TAO_LocalInterfaceDef_Proxy_Impl&
+POA_CORBA::_TAO_LocalInterfaceDef_Strategized_Proxy_Broker::select_proxy (
+ ::CORBA::LocalInterfaceDef *object,
+ CORBA::Environment &ACE_TRY_ENV
+ )
+{
+ int strategy =
+ TAO_ORB_Core::collocation_strategy (object);
+
+ if (this->proxy_cache_[strategy] != 0)
+ return *this->proxy_cache_[strategy];
+
+ this->create_proxy (strategy, ACE_TRY_ENV);
+ ACE_CHECK_RETURN (*this->proxy_cache_[strategy]);
+
+ return *this->proxy_cache_[strategy];
+
+}
+
+void
+POA_CORBA::_TAO_LocalInterfaceDef_Strategized_Proxy_Broker::create_proxy (
+ int strategy,
+ CORBA::Environment &ACE_TRY_ENV
+ )
+{
+ ACE_GUARD (TAO_SYNCH_MUTEX, guard, this->mutex_);
+
+ if (this->proxy_cache_[strategy] == 0)
+ {
+ switch (strategy)
+ {
+ case TAO_Collocation_Strategies::CS_THRU_POA_STRATEGY:
+ ACE_NEW_THROW_EX (
+ this->proxy_cache_[strategy],
+ _TAO_LocalInterfaceDef_ThruPOA_Proxy_Impl,
+ CORBA::NO_MEMORY ()
+ );
+ ACE_CHECK;
+ break;
+
+ case TAO_Collocation_Strategies::CS_REMOTE_STRATEGY:
+ default:
+ ACE_NEW_THROW_EX (
+ this->proxy_cache_[strategy],
+ ::_TAO_LocalInterfaceDef_Remote_Proxy_Impl,
+ CORBA::NO_MEMORY ()
+ );
+ ACE_CHECK;
+ break;
+
+ }
+
+ }
+}
+
+
+//
+// End Strategized Proxy Broker Implementation
+///////////////////////////////////////////////////////////////////////
+
+
+_TAO_LocalInterfaceDef_Proxy_Broker *
+CORBA__TAO_LocalInterfaceDef_Proxy_Broker_Factory_function (CORBA::Object_ptr obj)
+{
+ ACE_UNUSED_ARG (obj);
+ return ::POA_CORBA::_TAO_LocalInterfaceDef_Strategized_Proxy_Broker::the_TAO_LocalInterfaceDef_Strategized_Proxy_Broker();
+}
+
+int
+CORBA__TAO_LocalInterfaceDef_Proxy_Broker_Factory_Initializer (long _dummy_)
+{
+ ACE_UNUSED_ARG (_dummy_);
+
+ CORBA__TAO_LocalInterfaceDef_Proxy_Broker_Factory_function_pointer =
+ CORBA__TAO_LocalInterfaceDef_Proxy_Broker_Factory_function;
+
+ return 0;
+}
+
+static int CORBA__TAO_LocalInterfaceDef_Proxy_Broker_Stub_Factory_Initializer_Scarecrow =
+ CORBA__TAO_LocalInterfaceDef_Proxy_Broker_Factory_Initializer (ACE_reinterpret_cast (long, CORBA__TAO_LocalInterfaceDef_Proxy_Broker_Factory_Initializer));
+
+
+///////////////////////////////////////////////////////////////////////
+// ThruPOA Proxy Implementation
+//
+
+POA_CORBA::_TAO_LocalInterfaceDef_ThruPOA_Proxy_Impl::_TAO_LocalInterfaceDef_ThruPOA_Proxy_Impl (void)
+{}
+
+// ThruPOA Implementation of the IDL interface methods
+
+//
+// End ThruPOA Proxy Implementation
+///////////////////////////////////////////////////////////////////////
+
+// skeleton constructor
+POA_CORBA::LocalInterfaceDef::LocalInterfaceDef (void)
+{
+ this->optable_ = &tao_CORBA_LocalInterfaceDef_optable;
+}
+
+// copy ctor
+POA_CORBA::LocalInterfaceDef::LocalInterfaceDef (const LocalInterfaceDef& rhs)
+ : ACE_NESTED_CLASS (POA_CORBA,InterfaceDef) (rhs),
+ ACE_NESTED_CLASS (POA_CORBA,Container) (rhs),
+ ACE_NESTED_CLASS (POA_CORBA,Contained) (rhs),
+ ACE_NESTED_CLASS (POA_CORBA,IDLType) (rhs),
+ ACE_NESTED_CLASS (POA_CORBA,IRObject) (rhs),
+ TAO_ServantBase (rhs)
+{}
+
+// skeleton destructor
+POA_CORBA::LocalInterfaceDef::~LocalInterfaceDef (void)
+{
+}
+
+void POA_CORBA::LocalInterfaceDef::_is_a_skel (
+ TAO_ServerRequest &_tao_server_request,
+ void * _tao_object_reference,
+ void * /* context */,
+ CORBA::Environment &ACE_TRY_ENV
+ )
+{
+ TAO_InputCDR &_tao_in = _tao_server_request.incoming ();
+ POA_CORBA::LocalInterfaceDef *_tao_impl = (POA_CORBA::LocalInterfaceDef *) _tao_object_reference;
+ CORBA::Boolean _tao_retval = 0;
+ CORBA::String_var value;
+ if (!(_tao_in >> value.out ()))
+ ACE_THROW (CORBA::MARSHAL ());
+
+ _tao_retval = _tao_impl->_is_a (value.in (), ACE_TRY_ENV);
+ ACE_CHECK;
+
+ _tao_server_request.init_reply ();
+ TAO_OutputCDR &_tao_out = _tao_server_request.outgoing ();
+ if (!(_tao_out << CORBA::Any::from_boolean (_tao_retval)))
+ ACE_THROW (CORBA::MARSHAL ());
+}
+
+void POA_CORBA::LocalInterfaceDef::_non_existent_skel (
+ TAO_ServerRequest &_tao_server_request,
+ void * _tao_object_reference,
+ void * /* context */,
+ CORBA::Environment &ACE_TRY_ENV
+ )
+{
+ POA_CORBA::LocalInterfaceDef *_tao_impl = (POA_CORBA::LocalInterfaceDef *) _tao_object_reference;
+ CORBA::Boolean _tao_retval = _tao_impl->_non_existent (ACE_TRY_ENV);
+ ACE_CHECK;
+
+ _tao_server_request.init_reply ();
+ TAO_OutputCDR &_tao_out = _tao_server_request.outgoing ();
+ if (!(_tao_out << CORBA::Any::from_boolean (_tao_retval)))
+ ACE_THROW (CORBA::MARSHAL ());
+}
+
+CORBA::Boolean POA_CORBA::LocalInterfaceDef::_is_a (
+ const char* value,
+ CORBA::Environment &ACE_TRY_ENV
+ )
+{
+ const char *base_id = CORBA::_tc_Object->id (ACE_TRY_ENV);
+ ACE_CHECK_RETURN (0);
+
+ if (
+ (!ACE_OS::strcmp ((char *)value, "IDL:omg.org/CORBA/LocalInterfaceDef:1.0")) ||
+ (!ACE_OS::strcmp ((char *)value, "IDL:omg.org/CORBA/InterfaceDef:1.0")) ||
+ (!ACE_OS::strcmp ((char *)value, "IDL:omg.org/CORBA/Container:1.0")) ||
+ (!ACE_OS::strcmp ((char *)value, "IDL:omg.org/CORBA/Contained:1.0")) ||
+ (!ACE_OS::strcmp ((char *)value, "IDL:omg.org/CORBA/IDLType:1.0")) ||
+ (!ACE_OS::strcmp ((char *)value, "IDL:omg.org/CORBA/IRObject:1.0")) ||
+ (!ACE_OS::strcmp ((char *)value, base_id)))
+ return 1;
+ else
+ return 0;
+}
+
+void* POA_CORBA::LocalInterfaceDef::_downcast (
+ const char* logical_type_id
+ )
+{
+ if (ACE_OS::strcmp (logical_type_id, "IDL:omg.org/CORBA/LocalInterfaceDef:1.0") == 0)
+ return ACE_static_cast (POA_CORBA::LocalInterfaceDef_ptr, this);
+ if (ACE_OS::strcmp (logical_type_id, "IDL:omg.org/CORBA/InterfaceDef:1.0") == 0)
+ return ACE_static_cast (POA_CORBA::InterfaceDef_ptr, this);
+ if (ACE_OS::strcmp (logical_type_id, "IDL:omg.org/CORBA/Container:1.0") == 0)
+ return ACE_static_cast (POA_CORBA::Container_ptr, this);
+ if (ACE_OS::strcmp (logical_type_id, "IDL:omg.org/CORBA/Contained:1.0") == 0)
+ return ACE_static_cast (POA_CORBA::Contained_ptr, this);
+ if (ACE_OS::strcmp (logical_type_id, "IDL:omg.org/CORBA/IDLType:1.0") == 0)
+ return ACE_static_cast (POA_CORBA::IDLType_ptr, this);
+ if (ACE_OS::strcmp (logical_type_id, "IDL:omg.org/CORBA/IRObject:1.0") == 0)
+ return ACE_static_cast (POA_CORBA::IRObject_ptr, this);
+ if (ACE_OS::strcmp (logical_type_id, "IDL:omg.org/CORBA/Object:1.0") == 0)
+ return ACE_static_cast(PortableServer::Servant, this);
+ return 0;
+}
+
+void POA_CORBA::LocalInterfaceDef::_dispatch (TAO_ServerRequest &req, void *context, CORBA::Environment &ACE_TRY_ENV)
+{
+ this->synchronous_upcall_dispatch(req, context, this, ACE_TRY_ENV);
+}
+
+const char* POA_CORBA::LocalInterfaceDef::_interface_repository_id (void) const
+{
+ return "IDL:omg.org/CORBA/LocalInterfaceDef:1.0";
+}
+
+CORBA::LocalInterfaceDef*
+POA_CORBA::LocalInterfaceDef::_this (CORBA_Environment &ACE_TRY_ENV)
+{
+ TAO_Stub *stub = this->_create_stub (ACE_TRY_ENV);
+ ACE_CHECK_RETURN (0);
+
+ CORBA::Object_ptr tmp = CORBA::Object::_nil ();
+
+ if (stub->servant_orb_var ()->orb_core ()->optimize_collocation_objects ())
+ ACE_NEW_RETURN (tmp, CORBA::Object (stub, 1, this), 0);
+ else
+ ACE_NEW_RETURN (tmp, CORBA::Object (stub, 0, this), 0);
+
+ CORBA::Object_var obj = tmp;
+ return ::CORBA::LocalInterfaceDef::_unchecked_narrow (obj.in ());
+}
+
+
+#if (TAO_HAS_INTERCEPTORS == 1)
+#endif /* TAO_HAS_INTERCEPTORS */
+
+#endif /* ifndef */
diff --git a/TAO/orbsvcs/IFR_Service/IFR_BasicS.h b/TAO/orbsvcs/IFR_Service/IFR_BasicS.h
new file mode 100644
index 00000000000..d6e2cb367f3
--- /dev/null
+++ b/TAO/orbsvcs/IFR_Service/IFR_BasicS.h
@@ -0,0 +1,15064 @@
+// -*- C++ -*-
+//
+// $Id$
+
+// **** Code generated by the The ACE ORB (TAO) IDL Compiler ****
+// TAO and the TAO IDL Compiler have been developed by:
+// Center for Distributed Object Computing
+// Washington University
+// St. Louis, MO
+// USA
+// http://www.cs.wustl.edu/~schmidt/doc-center.html
+// and
+// Distributed Object Computing Laboratory
+// University of California at Irvine
+// Irvine, CA
+// USA
+// http://doc.ece.uci.edu/
+//
+// Information about TAO is available at:
+// http://www.cs.wustl.edu/~schmidt/TAO.html
+
+#ifndef TAO_IDL_IFR_BASICS_H
+#define TAO_IDL_IFR_BASICS_H
+
+#include "ace/pre.h"
+#include "IFR_BaseS.h"
+
+#if !defined (ACE_LACKS_PRAGMA_ONCE)
+# pragma once
+#endif /* ACE_LACKS_PRAGMA_ONCE */
+
+#if defined(_MSC_VER)
+#if (_MSC_VER >= 1200)
+#pragma warning(push)
+#endif /* _MSC_VER >= 1200 */
+#pragma warning(disable:4250)
+#endif /* _MSC_VER */
+
+#if defined (__BORLANDC__)
+#pragma option push -w-rvl -w-rch -w-ccc -w-inl
+#endif /* __BORLANDC__ */
+
+TAO_NAMESPACE POA_CORBA
+{
+ class Repository;
+ typedef Repository *Repository_ptr;
+ // Forward Classes Declaration
+ class _TAO_Repository_ThruPOA_Proxy_Impl;
+ class _TAO_Repository_Strategized_Proxy_Broker;
+
+ class Repository : public virtual Container
+ {
+ protected:
+ Repository (void);
+
+ public:
+ Repository (const Repository& rhs);
+ virtual ~Repository (void);
+
+
+ virtual CORBA::Boolean _is_a (
+ const char* logical_type_id,
+ CORBA::Environment &ACE_TRY_ENV =
+ TAO_default_environment ()
+ );
+
+ virtual void* _downcast (
+ const char* logical_type_id
+ );
+
+ static void _is_a_skel (
+ TAO_ServerRequest &req,
+ void *obj,
+ void *context,
+ CORBA::Environment &ACE_TRY_ENV =
+ TAO_default_environment ()
+ );
+
+ static void _non_existent_skel (
+ TAO_ServerRequest &req,
+ void *obj,
+ void *context,
+ CORBA::Environment &ACE_TRY_ENV =
+ TAO_default_environment ()
+ );
+
+ virtual void _dispatch (
+ TAO_ServerRequest &_tao_req,
+ void *_tao_context,
+ CORBA::Environment &ACE_TRY_ENV =
+ TAO_default_environment ()
+ );
+
+ ::CORBA::Repository *_this (
+ CORBA::Environment &ACE_TRY_ENV =
+ TAO_default_environment ()
+ );
+
+ virtual const char* _interface_repository_id (void) const;
+
+ virtual CORBA::Contained_ptr lookup_id (
+ const char * search_id,
+ CORBA::Environment &ACE_TRY_ENV =
+ TAO_default_environment ()
+ )
+ ACE_THROW_SPEC ((
+ CORBA::SystemException
+ )) = 0;
+
+ static void lookup_id_skel (
+ TAO_ServerRequest &_tao_req,
+ void *_tao_obj,
+ void *_tao_context,
+ CORBA::Environment &ACE_TRY_ENV =
+ TAO_default_environment ()
+ );
+
+ virtual CORBA::TypeCode_ptr get_canonical_typecode (
+ CORBA::TypeCode_ptr tc,
+ CORBA::Environment &ACE_TRY_ENV =
+ TAO_default_environment ()
+ )
+ ACE_THROW_SPEC ((
+ CORBA::SystemException
+ )) = 0;
+
+ static void get_canonical_typecode_skel (
+ TAO_ServerRequest &_tao_req,
+ void *_tao_obj,
+ void *_tao_context,
+ CORBA::Environment &ACE_TRY_ENV =
+ TAO_default_environment ()
+ );
+
+ virtual CORBA::PrimitiveDef_ptr get_primitive (
+ CORBA::PrimitiveKind kind,
+ CORBA::Environment &ACE_TRY_ENV =
+ TAO_default_environment ()
+ )
+ ACE_THROW_SPEC ((
+ CORBA::SystemException
+ )) = 0;
+
+ static void get_primitive_skel (
+ TAO_ServerRequest &_tao_req,
+ void *_tao_obj,
+ void *_tao_context,
+ CORBA::Environment &ACE_TRY_ENV =
+ TAO_default_environment ()
+ );
+
+ virtual CORBA::StringDef_ptr create_string (
+ CORBA::ULong bound,
+ CORBA::Environment &ACE_TRY_ENV =
+ TAO_default_environment ()
+ )
+ ACE_THROW_SPEC ((
+ CORBA::SystemException
+ )) = 0;
+
+ static void create_string_skel (
+ TAO_ServerRequest &_tao_req,
+ void *_tao_obj,
+ void *_tao_context,
+ CORBA::Environment &ACE_TRY_ENV =
+ TAO_default_environment ()
+ );
+
+ virtual CORBA::WstringDef_ptr create_wstring (
+ CORBA::ULong bound,
+ CORBA::Environment &ACE_TRY_ENV =
+ TAO_default_environment ()
+ )
+ ACE_THROW_SPEC ((
+ CORBA::SystemException
+ )) = 0;
+
+ static void create_wstring_skel (
+ TAO_ServerRequest &_tao_req,
+ void *_tao_obj,
+ void *_tao_context,
+ CORBA::Environment &ACE_TRY_ENV =
+ TAO_default_environment ()
+ );
+
+ virtual CORBA::SequenceDef_ptr create_sequence (
+ CORBA::ULong bound,
+ CORBA::IDLType_ptr element_type,
+ CORBA::Environment &ACE_TRY_ENV =
+ TAO_default_environment ()
+ )
+ ACE_THROW_SPEC ((
+ CORBA::SystemException
+ )) = 0;
+
+ static void create_sequence_skel (
+ TAO_ServerRequest &_tao_req,
+ void *_tao_obj,
+ void *_tao_context,
+ CORBA::Environment &ACE_TRY_ENV =
+ TAO_default_environment ()
+ );
+
+ virtual CORBA::ArrayDef_ptr create_array (
+ CORBA::ULong length,
+ CORBA::IDLType_ptr element_type,
+ CORBA::Environment &ACE_TRY_ENV =
+ TAO_default_environment ()
+ )
+ ACE_THROW_SPEC ((
+ CORBA::SystemException
+ )) = 0;
+
+ static void create_array_skel (
+ TAO_ServerRequest &_tao_req,
+ void *_tao_obj,
+ void *_tao_context,
+ CORBA::Environment &ACE_TRY_ENV =
+ TAO_default_environment ()
+ );
+
+ virtual CORBA::FixedDef_ptr create_fixed (
+ CORBA::UShort digits,
+ CORBA::Short scale,
+ CORBA::Environment &ACE_TRY_ENV =
+ TAO_default_environment ()
+ )
+ ACE_THROW_SPEC ((
+ CORBA::SystemException
+ )) = 0;
+
+ static void create_fixed_skel (
+ TAO_ServerRequest &_tao_req,
+ void *_tao_obj,
+ void *_tao_context,
+ CORBA::Environment &ACE_TRY_ENV =
+ TAO_default_environment ()
+ );
+
+ static void lookup_skel (
+ TAO_ServerRequest &req,
+ void *obj,
+ void *context,
+ CORBA::Environment &ACE_TRY_ENV =
+ TAO_default_environment ()
+ );
+
+ static void contents_skel (
+ TAO_ServerRequest &req,
+ void *obj,
+ void *context,
+ CORBA::Environment &ACE_TRY_ENV =
+ TAO_default_environment ()
+ );
+
+ static void lookup_name_skel (
+ TAO_ServerRequest &req,
+ void *obj,
+ void *context,
+ CORBA::Environment &ACE_TRY_ENV =
+ TAO_default_environment ()
+ );
+
+ static void describe_contents_skel (
+ TAO_ServerRequest &req,
+ void *obj,
+ void *context,
+ CORBA::Environment &ACE_TRY_ENV =
+ TAO_default_environment ()
+ );
+
+ static void create_module_skel (
+ TAO_ServerRequest &req,
+ void *obj,
+ void *context,
+ CORBA::Environment &ACE_TRY_ENV =
+ TAO_default_environment ()
+ );
+
+ static void create_constant_skel (
+ TAO_ServerRequest &req,
+ void *obj,
+ void *context,
+ CORBA::Environment &ACE_TRY_ENV =
+ TAO_default_environment ()
+ );
+
+ static void create_struct_skel (
+ TAO_ServerRequest &req,
+ void *obj,
+ void *context,
+ CORBA::Environment &ACE_TRY_ENV =
+ TAO_default_environment ()
+ );
+
+ static void create_union_skel (
+ TAO_ServerRequest &req,
+ void *obj,
+ void *context,
+ CORBA::Environment &ACE_TRY_ENV =
+ TAO_default_environment ()
+ );
+
+ static void create_enum_skel (
+ TAO_ServerRequest &req,
+ void *obj,
+ void *context,
+ CORBA::Environment &ACE_TRY_ENV =
+ TAO_default_environment ()
+ );
+
+ static void create_alias_skel (
+ TAO_ServerRequest &req,
+ void *obj,
+ void *context,
+ CORBA::Environment &ACE_TRY_ENV =
+ TAO_default_environment ()
+ );
+
+ static void create_interface_skel (
+ TAO_ServerRequest &req,
+ void *obj,
+ void *context,
+ CORBA::Environment &ACE_TRY_ENV =
+ TAO_default_environment ()
+ );
+
+ static void create_value_skel (
+ TAO_ServerRequest &req,
+ void *obj,
+ void *context,
+ CORBA::Environment &ACE_TRY_ENV =
+ TAO_default_environment ()
+ );
+
+ static void create_value_box_skel (
+ TAO_ServerRequest &req,
+ void *obj,
+ void *context,
+ CORBA::Environment &ACE_TRY_ENV =
+ TAO_default_environment ()
+ );
+
+ static void create_exception_skel (
+ TAO_ServerRequest &req,
+ void *obj,
+ void *context,
+ CORBA::Environment &ACE_TRY_ENV =
+ TAO_default_environment ()
+ );
+
+ static void create_native_skel (
+ TAO_ServerRequest &req,
+ void *obj,
+ void *context,
+ CORBA::Environment &ACE_TRY_ENV =
+ TAO_default_environment ()
+ );
+
+ static void create_abstract_interface_skel (
+ TAO_ServerRequest &req,
+ void *obj,
+ void *context,
+ CORBA::Environment &ACE_TRY_ENV =
+ TAO_default_environment ()
+ );
+
+ static void create_local_interface_skel (
+ TAO_ServerRequest &req,
+ void *obj,
+ void *context,
+ CORBA::Environment &ACE_TRY_ENV =
+ TAO_default_environment ()
+ );
+
+ static void _get_def_kind_skel (
+ TAO_ServerRequest &req,
+ void *obj,
+ void *context,
+ CORBA::Environment &ACE_TRY_ENV =
+ TAO_default_environment ()
+ );
+
+ static void destroy_skel (
+ TAO_ServerRequest &req,
+ void *obj,
+ void *context,
+ CORBA::Environment &ACE_TRY_ENV =
+ TAO_default_environment ()
+ );
+
+
+#if (TAO_HAS_INTERCEPTORS == 1)
+ // Generation of interceptors related RequestInfo classes per operation.
+ // This needed to be able to store the arguments, exceptions, contexts
+ // and build the lists dynamically on demand so that unnecessary time overhead
+ // of building these lists when they arent used is avoided.
+ class TAO_ServerRequestInfo_CORBA_Repository_lookup_id : public TAO_ServerRequestInfo
+ {
+ public:
+ friend class POA_CORBA::Repository;
+ TAO_ServerRequestInfo_CORBA_Repository_lookup_id (
+ TAO_ServerRequest &_tao_server_request,
+ POA_CORBA::Repository *tao_impl,
+ const char * search_id,
+ CORBA::Environment &ACE_TRY_ENV =
+ TAO_default_environment ()
+ );
+
+ virtual Dynamic::ParameterList * arguments (
+ CORBA::Environment &ACE_TRY_ENV =
+ TAO_default_environment ()
+ )
+ ACE_THROW_SPEC ((CORBA::SystemException));
+
+ virtual Dynamic::ExceptionList * exceptions (
+ CORBA::Environment &ACE_TRY_ENV =
+ TAO_default_environment ()
+ )
+ ACE_THROW_SPEC ((CORBA::SystemException));
+
+ virtual CORBA::Any * result (
+ CORBA::Environment &ACE_TRY_ENV =
+ TAO_default_environment ()
+ )
+ ACE_THROW_SPEC ((CORBA::SystemException));
+
+ virtual char * target_most_derived_interface (
+ CORBA::Environment &ACE_TRY_ENV = TAO_default_environment ())
+ ACE_THROW_SPEC ((CORBA::SystemException));
+
+ virtual CORBA::Boolean target_is_a (
+ const char * id,
+ CORBA::Environment &ACE_TRY_ENV = TAO_default_environment ())
+ ACE_THROW_SPEC ((CORBA::SystemException));
+
+ private:
+ TAO_ServerRequestInfo_CORBA_Repository_lookup_id (const TAO_ServerRequestInfo_CORBA_Repository_lookup_id &);
+ void operator= (const TAO_ServerRequestInfo_CORBA_Repository_lookup_id &);
+
+ private:
+ POA_CORBA::Repository *_tao_impl;
+ const char * search_id_;
+ void result (CORBA::Contained_ptr result);
+ // update the result
+ CORBA::Contained_ptr _result;
+ };
+
+ class TAO_ServerRequestInfo_CORBA_Repository_get_canonical_typecode : public TAO_ServerRequestInfo
+ {
+ public:
+ friend class POA_CORBA::Repository;
+ TAO_ServerRequestInfo_CORBA_Repository_get_canonical_typecode (
+ TAO_ServerRequest &_tao_server_request,
+ POA_CORBA::Repository *tao_impl,
+ CORBA::TypeCode_ptr tc,
+ CORBA::Environment &ACE_TRY_ENV =
+ TAO_default_environment ()
+ );
+
+ virtual Dynamic::ParameterList * arguments (
+ CORBA::Environment &ACE_TRY_ENV =
+ TAO_default_environment ()
+ )
+ ACE_THROW_SPEC ((CORBA::SystemException));
+
+ virtual Dynamic::ExceptionList * exceptions (
+ CORBA::Environment &ACE_TRY_ENV =
+ TAO_default_environment ()
+ )
+ ACE_THROW_SPEC ((CORBA::SystemException));
+
+ virtual CORBA::Any * result (
+ CORBA::Environment &ACE_TRY_ENV =
+ TAO_default_environment ()
+ )
+ ACE_THROW_SPEC ((CORBA::SystemException));
+
+ virtual char * target_most_derived_interface (
+ CORBA::Environment &ACE_TRY_ENV = TAO_default_environment ())
+ ACE_THROW_SPEC ((CORBA::SystemException));
+
+ virtual CORBA::Boolean target_is_a (
+ const char * id,
+ CORBA::Environment &ACE_TRY_ENV = TAO_default_environment ())
+ ACE_THROW_SPEC ((CORBA::SystemException));
+
+ private:
+ TAO_ServerRequestInfo_CORBA_Repository_get_canonical_typecode (const TAO_ServerRequestInfo_CORBA_Repository_get_canonical_typecode &);
+ void operator= (const TAO_ServerRequestInfo_CORBA_Repository_get_canonical_typecode &);
+
+ private:
+ POA_CORBA::Repository *_tao_impl;
+ CORBA::TypeCode_ptr tc_;
+ void result (CORBA::TypeCode_ptr result);
+ // update the result
+ CORBA::TypeCode_ptr _result;
+ };
+
+ class TAO_ServerRequestInfo_CORBA_Repository_get_primitive : public TAO_ServerRequestInfo
+ {
+ public:
+ friend class POA_CORBA::Repository;
+ TAO_ServerRequestInfo_CORBA_Repository_get_primitive (
+ TAO_ServerRequest &_tao_server_request,
+ POA_CORBA::Repository *tao_impl,
+ CORBA::PrimitiveKind & kind,
+ CORBA::Environment &ACE_TRY_ENV =
+ TAO_default_environment ()
+ );
+
+ virtual Dynamic::ParameterList * arguments (
+ CORBA::Environment &ACE_TRY_ENV =
+ TAO_default_environment ()
+ )
+ ACE_THROW_SPEC ((CORBA::SystemException));
+
+ virtual Dynamic::ExceptionList * exceptions (
+ CORBA::Environment &ACE_TRY_ENV =
+ TAO_default_environment ()
+ )
+ ACE_THROW_SPEC ((CORBA::SystemException));
+
+ virtual CORBA::Any * result (
+ CORBA::Environment &ACE_TRY_ENV =
+ TAO_default_environment ()
+ )
+ ACE_THROW_SPEC ((CORBA::SystemException));
+
+ virtual char * target_most_derived_interface (
+ CORBA::Environment &ACE_TRY_ENV = TAO_default_environment ())
+ ACE_THROW_SPEC ((CORBA::SystemException));
+
+ virtual CORBA::Boolean target_is_a (
+ const char * id,
+ CORBA::Environment &ACE_TRY_ENV = TAO_default_environment ())
+ ACE_THROW_SPEC ((CORBA::SystemException));
+
+ private:
+ TAO_ServerRequestInfo_CORBA_Repository_get_primitive (const TAO_ServerRequestInfo_CORBA_Repository_get_primitive &);
+ void operator= (const TAO_ServerRequestInfo_CORBA_Repository_get_primitive &);
+
+ private:
+ POA_CORBA::Repository *_tao_impl;
+ const CORBA::PrimitiveKind & kind_;
+ void result (CORBA::PrimitiveDef_ptr result);
+ // update the result
+ CORBA::PrimitiveDef_ptr _result;
+ };
+
+ class TAO_ServerRequestInfo_CORBA_Repository_create_string : public TAO_ServerRequestInfo
+ {
+ public:
+ friend class POA_CORBA::Repository;
+ TAO_ServerRequestInfo_CORBA_Repository_create_string (
+ TAO_ServerRequest &_tao_server_request,
+ POA_CORBA::Repository *tao_impl,
+ const CORBA::ULong & bound,
+ CORBA::Environment &ACE_TRY_ENV =
+ TAO_default_environment ()
+ );
+
+ virtual Dynamic::ParameterList * arguments (
+ CORBA::Environment &ACE_TRY_ENV =
+ TAO_default_environment ()
+ )
+ ACE_THROW_SPEC ((CORBA::SystemException));
+
+ virtual Dynamic::ExceptionList * exceptions (
+ CORBA::Environment &ACE_TRY_ENV =
+ TAO_default_environment ()
+ )
+ ACE_THROW_SPEC ((CORBA::SystemException));
+
+ virtual CORBA::Any * result (
+ CORBA::Environment &ACE_TRY_ENV =
+ TAO_default_environment ()
+ )
+ ACE_THROW_SPEC ((CORBA::SystemException));
+
+ virtual char * target_most_derived_interface (
+ CORBA::Environment &ACE_TRY_ENV = TAO_default_environment ())
+ ACE_THROW_SPEC ((CORBA::SystemException));
+
+ virtual CORBA::Boolean target_is_a (
+ const char * id,
+ CORBA::Environment &ACE_TRY_ENV = TAO_default_environment ())
+ ACE_THROW_SPEC ((CORBA::SystemException));
+
+ private:
+ TAO_ServerRequestInfo_CORBA_Repository_create_string (const TAO_ServerRequestInfo_CORBA_Repository_create_string &);
+ void operator= (const TAO_ServerRequestInfo_CORBA_Repository_create_string &);
+
+ private:
+ POA_CORBA::Repository *_tao_impl;
+ const CORBA::ULong & bound_;
+ void result (CORBA::StringDef_ptr result);
+ // update the result
+ CORBA::StringDef_ptr _result;
+ };
+
+ class TAO_ServerRequestInfo_CORBA_Repository_create_wstring : public TAO_ServerRequestInfo
+ {
+ public:
+ friend class POA_CORBA::Repository;
+ TAO_ServerRequestInfo_CORBA_Repository_create_wstring (
+ TAO_ServerRequest &_tao_server_request,
+ POA_CORBA::Repository *tao_impl,
+ const CORBA::ULong & bound,
+ CORBA::Environment &ACE_TRY_ENV =
+ TAO_default_environment ()
+ );
+
+ virtual Dynamic::ParameterList * arguments (
+ CORBA::Environment &ACE_TRY_ENV =
+ TAO_default_environment ()
+ )
+ ACE_THROW_SPEC ((CORBA::SystemException));
+
+ virtual Dynamic::ExceptionList * exceptions (
+ CORBA::Environment &ACE_TRY_ENV =
+ TAO_default_environment ()
+ )
+ ACE_THROW_SPEC ((CORBA::SystemException));
+
+ virtual CORBA::Any * result (
+ CORBA::Environment &ACE_TRY_ENV =
+ TAO_default_environment ()
+ )
+ ACE_THROW_SPEC ((CORBA::SystemException));
+
+ virtual char * target_most_derived_interface (
+ CORBA::Environment &ACE_TRY_ENV = TAO_default_environment ())
+ ACE_THROW_SPEC ((CORBA::SystemException));
+
+ virtual CORBA::Boolean target_is_a (
+ const char * id,
+ CORBA::Environment &ACE_TRY_ENV = TAO_default_environment ())
+ ACE_THROW_SPEC ((CORBA::SystemException));
+
+ private:
+ TAO_ServerRequestInfo_CORBA_Repository_create_wstring (const TAO_ServerRequestInfo_CORBA_Repository_create_wstring &);
+ void operator= (const TAO_ServerRequestInfo_CORBA_Repository_create_wstring &);
+
+ private:
+ POA_CORBA::Repository *_tao_impl;
+ const CORBA::ULong & bound_;
+ void result (CORBA::WstringDef_ptr result);
+ // update the result
+ CORBA::WstringDef_ptr _result;
+ };
+
+ class TAO_ServerRequestInfo_CORBA_Repository_create_sequence : public TAO_ServerRequestInfo
+ {
+ public:
+ friend class POA_CORBA::Repository;
+ TAO_ServerRequestInfo_CORBA_Repository_create_sequence (
+ TAO_ServerRequest &_tao_server_request,
+ POA_CORBA::Repository *tao_impl,
+ const CORBA::ULong & bound,
+ CORBA::IDLType_ptr element_type,
+ CORBA::Environment &ACE_TRY_ENV =
+ TAO_default_environment ()
+ );
+
+ virtual Dynamic::ParameterList * arguments (
+ CORBA::Environment &ACE_TRY_ENV =
+ TAO_default_environment ()
+ )
+ ACE_THROW_SPEC ((CORBA::SystemException));
+
+ virtual Dynamic::ExceptionList * exceptions (
+ CORBA::Environment &ACE_TRY_ENV =
+ TAO_default_environment ()
+ )
+ ACE_THROW_SPEC ((CORBA::SystemException));
+
+ virtual CORBA::Any * result (
+ CORBA::Environment &ACE_TRY_ENV =
+ TAO_default_environment ()
+ )
+ ACE_THROW_SPEC ((CORBA::SystemException));
+
+ virtual char * target_most_derived_interface (
+ CORBA::Environment &ACE_TRY_ENV = TAO_default_environment ())
+ ACE_THROW_SPEC ((CORBA::SystemException));
+
+ virtual CORBA::Boolean target_is_a (
+ const char * id,
+ CORBA::Environment &ACE_TRY_ENV = TAO_default_environment ())
+ ACE_THROW_SPEC ((CORBA::SystemException));
+
+ private:
+ TAO_ServerRequestInfo_CORBA_Repository_create_sequence (const TAO_ServerRequestInfo_CORBA_Repository_create_sequence &);
+ void operator= (const TAO_ServerRequestInfo_CORBA_Repository_create_sequence &);
+
+ private:
+ POA_CORBA::Repository *_tao_impl;
+ const CORBA::ULong & bound_;
+ CORBA::IDLType_ptr element_type_;
+ void result (CORBA::SequenceDef_ptr result);
+ // update the result
+ CORBA::SequenceDef_ptr _result;
+ };
+
+ class TAO_ServerRequestInfo_CORBA_Repository_create_array : public TAO_ServerRequestInfo
+ {
+ public:
+ friend class POA_CORBA::Repository;
+ TAO_ServerRequestInfo_CORBA_Repository_create_array (
+ TAO_ServerRequest &_tao_server_request,
+ POA_CORBA::Repository *tao_impl,
+ const CORBA::ULong & length,
+ CORBA::IDLType_ptr element_type,
+ CORBA::Environment &ACE_TRY_ENV =
+ TAO_default_environment ()
+ );
+
+ virtual Dynamic::ParameterList * arguments (
+ CORBA::Environment &ACE_TRY_ENV =
+ TAO_default_environment ()
+ )
+ ACE_THROW_SPEC ((CORBA::SystemException));
+
+ virtual Dynamic::ExceptionList * exceptions (
+ CORBA::Environment &ACE_TRY_ENV =
+ TAO_default_environment ()
+ )
+ ACE_THROW_SPEC ((CORBA::SystemException));
+
+ virtual CORBA::Any * result (
+ CORBA::Environment &ACE_TRY_ENV =
+ TAO_default_environment ()
+ )
+ ACE_THROW_SPEC ((CORBA::SystemException));
+
+ virtual char * target_most_derived_interface (
+ CORBA::Environment &ACE_TRY_ENV = TAO_default_environment ())
+ ACE_THROW_SPEC ((CORBA::SystemException));
+
+ virtual CORBA::Boolean target_is_a (
+ const char * id,
+ CORBA::Environment &ACE_TRY_ENV = TAO_default_environment ())
+ ACE_THROW_SPEC ((CORBA::SystemException));
+
+ private:
+ TAO_ServerRequestInfo_CORBA_Repository_create_array (const TAO_ServerRequestInfo_CORBA_Repository_create_array &);
+ void operator= (const TAO_ServerRequestInfo_CORBA_Repository_create_array &);
+
+ private:
+ POA_CORBA::Repository *_tao_impl;
+ const CORBA::ULong & length_;
+ CORBA::IDLType_ptr element_type_;
+ void result (CORBA::ArrayDef_ptr result);
+ // update the result
+ CORBA::ArrayDef_ptr _result;
+ };
+
+ class TAO_ServerRequestInfo_CORBA_Repository_create_fixed : public TAO_ServerRequestInfo
+ {
+ public:
+ friend class POA_CORBA::Repository;
+ TAO_ServerRequestInfo_CORBA_Repository_create_fixed (
+ TAO_ServerRequest &_tao_server_request,
+ POA_CORBA::Repository *tao_impl,
+ const CORBA::UShort & digits,
+ const CORBA::Short & scale,
+ CORBA::Environment &ACE_TRY_ENV =
+ TAO_default_environment ()
+ );
+
+ virtual Dynamic::ParameterList * arguments (
+ CORBA::Environment &ACE_TRY_ENV =
+ TAO_default_environment ()
+ )
+ ACE_THROW_SPEC ((CORBA::SystemException));
+
+ virtual Dynamic::ExceptionList * exceptions (
+ CORBA::Environment &ACE_TRY_ENV =
+ TAO_default_environment ()
+ )
+ ACE_THROW_SPEC ((CORBA::SystemException));
+
+ virtual CORBA::Any * result (
+ CORBA::Environment &ACE_TRY_ENV =
+ TAO_default_environment ()
+ )
+ ACE_THROW_SPEC ((CORBA::SystemException));
+
+ virtual char * target_most_derived_interface (
+ CORBA::Environment &ACE_TRY_ENV = TAO_default_environment ())
+ ACE_THROW_SPEC ((CORBA::SystemException));
+
+ virtual CORBA::Boolean target_is_a (
+ const char * id,
+ CORBA::Environment &ACE_TRY_ENV = TAO_default_environment ())
+ ACE_THROW_SPEC ((CORBA::SystemException));
+
+ private:
+ TAO_ServerRequestInfo_CORBA_Repository_create_fixed (const TAO_ServerRequestInfo_CORBA_Repository_create_fixed &);
+ void operator= (const TAO_ServerRequestInfo_CORBA_Repository_create_fixed &);
+
+ private:
+ POA_CORBA::Repository *_tao_impl;
+ const CORBA::UShort & digits_;
+ const CORBA::Short & scale_;
+ void result (CORBA::FixedDef_ptr result);
+ // update the result
+ CORBA::FixedDef_ptr _result;
+ };
+
+ #endif /* TAO_HAS_INTERCEPTORS */
+
+ };
+
+
+ ///////////////////////////////////////////////////////////////////////
+ // Strategized Proxy Broker Declaration
+ //
+
+ class _TAO_Repository_Strategized_Proxy_Broker : public virtual ::_TAO_Repository_Proxy_Broker
+ {
+ public:
+ _TAO_Repository_Strategized_Proxy_Broker (void);
+
+ virtual ~_TAO_Repository_Strategized_Proxy_Broker (void);
+
+ virtual ::_TAO_Repository_Proxy_Impl &select_proxy (
+ ::CORBA::Repository *object,
+ CORBA_Environment &ACE_TRY_ENV = TAO_default_environment ()
+ );
+
+ private:
+
+ // Helper methods that takes care to create the proxy
+ // as soon as their use is necessary.
+ void create_proxy (
+ int strategy,
+ CORBA::Environment &ACE_TRY_ENV
+ );
+
+ private:
+
+ // Caches the proxy implementations. The proxy implementation
+ // are totally stateless, and those can be shared by all the
+ // instances of a given IDL interface type.
+ ::_TAO_Repository_Proxy_Impl
+ *proxy_cache_[TAO_Collocation_Strategies::CS_LAST];
+
+ TAO_SYNCH_MUTEX mutex_;
+ // This funxtion is used to get an handle to the unique instance
+ // of the Strategized Proxy Broker that is available for a given
+ // interface.
+
+ public:
+ static _TAO_Repository_Strategized_Proxy_Broker *the_TAO_Repository_Strategized_Proxy_Broker (void);
+ };
+
+
+ //
+ // End Strategized Proxy Broker Declaration
+ ///////////////////////////////////////////////////////////////////////
+
+
+///////////////////////////////////////////////////////////////////////
+// ThruPOA Impl. Declaration
+//
+
+class _TAO_Repository_ThruPOA_Proxy_Impl :
+ public virtual ::_TAO_Repository_Proxy_Impl,
+ public virtual TAO_ThruPOA_Object_Proxy_Impl,
+ public virtual ::POA_CORBA::_TAO_Container_ThruPOA_Proxy_Impl
+
+{
+public:
+ _TAO_Repository_ThruPOA_Proxy_Impl (void);
+
+ virtual ~_TAO_Repository_ThruPOA_Proxy_Impl (void) { }
+
+ virtual CORBA::Contained_ptr lookup_id (
+ CORBA_Object *_collocated_tao_target_,
+ const char * search_id,
+ CORBA::Environment &ACE_TRY_ENV
+ )
+ ACE_THROW_SPEC ((
+ CORBA::SystemException
+ ));
+
+ virtual CORBA::TypeCode_ptr get_canonical_typecode (
+ CORBA_Object *_collocated_tao_target_,
+ CORBA::TypeCode_ptr tc,
+ CORBA::Environment &ACE_TRY_ENV
+ )
+ ACE_THROW_SPEC ((
+ CORBA::SystemException
+ ));
+
+ virtual CORBA::PrimitiveDef_ptr get_primitive (
+ CORBA_Object *_collocated_tao_target_,
+ CORBA::PrimitiveKind kind,
+ CORBA::Environment &ACE_TRY_ENV
+ )
+ ACE_THROW_SPEC ((
+ CORBA::SystemException
+ ));
+
+ virtual CORBA::StringDef_ptr create_string (
+ CORBA_Object *_collocated_tao_target_,
+ CORBA::ULong bound,
+ CORBA::Environment &ACE_TRY_ENV
+ )
+ ACE_THROW_SPEC ((
+ CORBA::SystemException
+ ));
+
+ virtual CORBA::WstringDef_ptr create_wstring (
+ CORBA_Object *_collocated_tao_target_,
+ CORBA::ULong bound,
+ CORBA::Environment &ACE_TRY_ENV
+ )
+ ACE_THROW_SPEC ((
+ CORBA::SystemException
+ ));
+
+ virtual CORBA::SequenceDef_ptr create_sequence (
+ CORBA_Object *_collocated_tao_target_,
+ CORBA::ULong bound,
+ CORBA::IDLType_ptr element_type,
+ CORBA::Environment &ACE_TRY_ENV
+ )
+ ACE_THROW_SPEC ((
+ CORBA::SystemException
+ ));
+
+ virtual CORBA::ArrayDef_ptr create_array (
+ CORBA_Object *_collocated_tao_target_,
+ CORBA::ULong length,
+ CORBA::IDLType_ptr element_type,
+ CORBA::Environment &ACE_TRY_ENV
+ )
+ ACE_THROW_SPEC ((
+ CORBA::SystemException
+ ));
+
+ virtual CORBA::FixedDef_ptr create_fixed (
+ CORBA_Object *_collocated_tao_target_,
+ CORBA::UShort digits,
+ CORBA::Short scale,
+ CORBA::Environment &ACE_TRY_ENV
+ )
+ ACE_THROW_SPEC ((
+ CORBA::SystemException
+ ));
+
+};
+
+
+//
+// ThruPOA Proxy Impl. Declaration
+///////////////////////////////////////////////////////////////////////
+
+
+#if defined (ACE_HAS_USING_KEYWORD)
+// TIE class: Refer to CORBA v2.2, Section 20.34.4
+template <class T>
+class Repository_tie : public Repository
+{
+public:
+ Repository_tie (T &t);
+ // the T& ctor
+ Repository_tie (T &t, PortableServer::POA_ptr poa);
+ // ctor taking a POA
+ Repository_tie (T *tp, CORBA::Boolean release=1);
+ // ctor taking pointer and an ownership flag
+ Repository_tie (T *tp, PortableServer::POA_ptr poa, CORBA::Boolean release=1);
+ // ctor with T*, ownership flag and a POA
+ ~Repository_tie (void);
+ // dtor
+
+ // TIE specific functions
+ T *_tied_object (void);
+ // return the underlying object
+ void _tied_object (T &obj);
+ // set the underlying object
+ void _tied_object (T *obj, CORBA::Boolean release=1);
+ // set the underlying object and the ownership flag
+ CORBA::Boolean _is_owner (void);
+ // do we own it
+ void _is_owner (CORBA::Boolean b);
+ // set the ownership
+
+ // overridden ServantBase operations
+ PortableServer::POA_ptr _default_POA (
+ CORBA::Environment &ACE_TRY_ENV =
+ TAO_default_environment ()
+ );
+ CORBA::Contained_ptr lookup_id (
+ const char * search_id,
+ CORBA::Environment &ACE_TRY_ENV =
+ TAO_default_environment ()
+ )
+ ACE_THROW_SPEC ((
+ CORBA::SystemException
+ ));
+
+ CORBA::TypeCode_ptr get_canonical_typecode (
+ CORBA::TypeCode_ptr tc,
+ CORBA::Environment &ACE_TRY_ENV =
+ TAO_default_environment ()
+ )
+ ACE_THROW_SPEC ((
+ CORBA::SystemException
+ ));
+
+ CORBA::PrimitiveDef_ptr get_primitive (
+ CORBA::PrimitiveKind kind,
+ CORBA::Environment &ACE_TRY_ENV =
+ TAO_default_environment ()
+ )
+ ACE_THROW_SPEC ((
+ CORBA::SystemException
+ ));
+
+ CORBA::StringDef_ptr create_string (
+ CORBA::ULong bound,
+ CORBA::Environment &ACE_TRY_ENV =
+ TAO_default_environment ()
+ )
+ ACE_THROW_SPEC ((
+ CORBA::SystemException
+ ));
+
+ CORBA::WstringDef_ptr create_wstring (
+ CORBA::ULong bound,
+ CORBA::Environment &ACE_TRY_ENV =
+ TAO_default_environment ()
+ )
+ ACE_THROW_SPEC ((
+ CORBA::SystemException
+ ));
+
+ CORBA::SequenceDef_ptr create_sequence (
+ CORBA::ULong bound,
+ CORBA::IDLType_ptr element_type,
+ CORBA::Environment &ACE_TRY_ENV =
+ TAO_default_environment ()
+ )
+ ACE_THROW_SPEC ((
+ CORBA::SystemException
+ ));
+
+ CORBA::ArrayDef_ptr create_array (
+ CORBA::ULong length,
+ CORBA::IDLType_ptr element_type,
+ CORBA::Environment &ACE_TRY_ENV =
+ TAO_default_environment ()
+ )
+ ACE_THROW_SPEC ((
+ CORBA::SystemException
+ ));
+
+ CORBA::FixedDef_ptr create_fixed (
+ CORBA::UShort digits,
+ CORBA::Short scale,
+ CORBA::Environment &ACE_TRY_ENV =
+ TAO_default_environment ()
+ )
+ ACE_THROW_SPEC ((
+ CORBA::SystemException
+ ));
+
+ CORBA::Contained_ptr lookup (
+ const char * search_name,
+ CORBA::Environment &ACE_TRY_ENV =
+ TAO_default_environment ()
+ )
+ ACE_THROW_SPEC ((
+ CORBA::SystemException
+ ));
+
+ CORBA::ContainedSeq * contents (
+ CORBA::DefinitionKind limit_type,
+ CORBA::Boolean exclude_inherited,
+ CORBA::Environment &ACE_TRY_ENV =
+ TAO_default_environment ()
+ )
+ ACE_THROW_SPEC ((
+ CORBA::SystemException
+ ));
+
+ CORBA::ContainedSeq * lookup_name (
+ const char * search_name,
+ CORBA::Long levels_to_search,
+ CORBA::DefinitionKind limit_type,
+ CORBA::Boolean exclude_inherited,
+ CORBA::Environment &ACE_TRY_ENV =
+ TAO_default_environment ()
+ )
+ ACE_THROW_SPEC ((
+ CORBA::SystemException
+ ));
+
+ CORBA::Container::DescriptionSeq * describe_contents (
+ CORBA::DefinitionKind limit_type,
+ CORBA::Boolean exclude_inherited,
+ CORBA::Long max_returned_objs,
+ CORBA::Environment &ACE_TRY_ENV =
+ TAO_default_environment ()
+ )
+ ACE_THROW_SPEC ((
+ CORBA::SystemException
+ ));
+
+ CORBA::ModuleDef_ptr create_module (
+ const char * id,
+ const char * name,
+ const char * version,
+ CORBA::Environment &ACE_TRY_ENV =
+ TAO_default_environment ()
+ )
+ ACE_THROW_SPEC ((
+ CORBA::SystemException
+ ));
+
+ CORBA::ConstantDef_ptr create_constant (
+ const char * id,
+ const char * name,
+ const char * version,
+ CORBA::IDLType_ptr type,
+ const CORBA::Any & value,
+ CORBA::Environment &ACE_TRY_ENV =
+ TAO_default_environment ()
+ )
+ ACE_THROW_SPEC ((
+ CORBA::SystemException
+ ));
+
+ CORBA::StructDef_ptr create_struct (
+ const char * id,
+ const char * name,
+ const char * version,
+ const CORBA::StructMemberSeq & members,
+ CORBA::Environment &ACE_TRY_ENV =
+ TAO_default_environment ()
+ )
+ ACE_THROW_SPEC ((
+ CORBA::SystemException
+ ));
+
+ CORBA::UnionDef_ptr create_union (
+ const char * id,
+ const char * name,
+ const char * version,
+ CORBA::IDLType_ptr discriminator_type,
+ const CORBA::UnionMemberSeq & members,
+ CORBA::Environment &ACE_TRY_ENV =
+ TAO_default_environment ()
+ )
+ ACE_THROW_SPEC ((
+ CORBA::SystemException
+ ));
+
+ CORBA::EnumDef_ptr create_enum (
+ const char * id,
+ const char * name,
+ const char * version,
+ const CORBA::EnumMemberSeq & members,
+ CORBA::Environment &ACE_TRY_ENV =
+ TAO_default_environment ()
+ )
+ ACE_THROW_SPEC ((
+ CORBA::SystemException
+ ));
+
+ CORBA::AliasDef_ptr create_alias (
+ const char * id,
+ const char * name,
+ const char * version,
+ CORBA::IDLType_ptr original_type,
+ CORBA::Environment &ACE_TRY_ENV =
+ TAO_default_environment ()
+ )
+ ACE_THROW_SPEC ((
+ CORBA::SystemException
+ ));
+
+ CORBA::InterfaceDef_ptr create_interface (
+ const char * id,
+ const char * name,
+ const char * version,
+ const CORBA::InterfaceDefSeq & base_interfaces,
+ CORBA::Environment &ACE_TRY_ENV =
+ TAO_default_environment ()
+ )
+ ACE_THROW_SPEC ((
+ CORBA::SystemException
+ ));
+
+ CORBA::ValueDef_ptr create_value (
+ const char * id,
+ const char * name,
+ const char * version,
+ CORBA::Boolean is_custom,
+ CORBA::Boolean is_abstract,
+ CORBA::ValueDef_ptr base_value,
+ CORBA::Boolean is_truncatable,
+ const CORBA::ValueDefSeq & abstract_base_values,
+ const CORBA::InterfaceDefSeq & supported_interfaces,
+ const CORBA::InitializerSeq & initializers,
+ CORBA::Environment &ACE_TRY_ENV =
+ TAO_default_environment ()
+ )
+ ACE_THROW_SPEC ((
+ CORBA::SystemException
+ ));
+
+ CORBA::ValueBoxDef_ptr create_value_box (
+ const char * id,
+ const char * name,
+ const char * version,
+ CORBA::IDLType_ptr original_type_def,
+ CORBA::Environment &ACE_TRY_ENV =
+ TAO_default_environment ()
+ )
+ ACE_THROW_SPEC ((
+ CORBA::SystemException
+ ));
+
+ CORBA::ExceptionDef_ptr create_exception (
+ const char * id,
+ const char * name,
+ const char * version,
+ const CORBA::StructMemberSeq & members,
+ CORBA::Environment &ACE_TRY_ENV =
+ TAO_default_environment ()
+ )
+ ACE_THROW_SPEC ((
+ CORBA::SystemException
+ ));
+
+ CORBA::NativeDef_ptr create_native (
+ const char * id,
+ const char * name,
+ const char * version,
+ CORBA::Environment &ACE_TRY_ENV =
+ TAO_default_environment ()
+ )
+ ACE_THROW_SPEC ((
+ CORBA::SystemException
+ ));
+
+ CORBA::AbstractInterfaceDef_ptr create_abstract_interface (
+ const char * id,
+ const char * name,
+ const char * version,
+ const CORBA::AbstractInterfaceDefSeq & base_interfaces,
+ CORBA::Environment &ACE_TRY_ENV =
+ TAO_default_environment ()
+ )
+ ACE_THROW_SPEC ((
+ CORBA::SystemException
+ ));
+
+ CORBA::LocalInterfaceDef_ptr create_local_interface (
+ const char * id,
+ const char * name,
+ const char * version,
+ const CORBA::InterfaceDefSeq & base_interfaces,
+ CORBA::Environment &ACE_TRY_ENV =
+ TAO_default_environment ()
+ )
+ ACE_THROW_SPEC ((
+ CORBA::SystemException
+ ));
+
+ CORBA::DefinitionKind def_kind (
+ CORBA::Environment &ACE_TRY_ENV =
+ TAO_default_environment ()
+ )
+ ACE_THROW_SPEC ((
+ CORBA::SystemException
+ ));
+
+ void destroy (
+ CORBA::Environment &ACE_TRY_ENV =
+ TAO_default_environment ()
+ )
+ ACE_THROW_SPEC ((
+ CORBA::SystemException
+ ));
+
+private:
+ T *ptr_;
+ PortableServer::POA_var poa_;
+ CORBA::Boolean rel_;
+
+ // copy and assignment are not allowed
+ Repository_tie (const Repository_tie &);
+ void operator= (const Repository_tie &);
+};
+
+#endif /* ACE_HAS_USING_KEYWORD */
+
+class ModuleDef;
+typedef ModuleDef *ModuleDef_ptr;
+// Forward Classes Declaration
+class _TAO_ModuleDef_ThruPOA_Proxy_Impl;
+class _TAO_ModuleDef_Strategized_Proxy_Broker;
+
+class ModuleDef : public virtual Container, public virtual Contained
+{
+protected:
+ ModuleDef (void);
+
+public:
+ ModuleDef (const ModuleDef& rhs);
+ virtual ~ModuleDef (void);
+
+
+ virtual CORBA::Boolean _is_a (
+ const char* logical_type_id,
+ CORBA::Environment &ACE_TRY_ENV =
+ TAO_default_environment ()
+ );
+
+ virtual void* _downcast (
+ const char* logical_type_id
+ );
+
+ static void _is_a_skel (
+ TAO_ServerRequest &req,
+ void *obj,
+ void *context,
+ CORBA::Environment &ACE_TRY_ENV =
+ TAO_default_environment ()
+ );
+
+ static void _non_existent_skel (
+ TAO_ServerRequest &req,
+ void *obj,
+ void *context,
+ CORBA::Environment &ACE_TRY_ENV =
+ TAO_default_environment ()
+ );
+
+ virtual void _dispatch (
+ TAO_ServerRequest &_tao_req,
+ void *_tao_context,
+ CORBA::Environment &ACE_TRY_ENV =
+ TAO_default_environment ()
+ );
+
+ ::CORBA::ModuleDef *_this (
+ CORBA::Environment &ACE_TRY_ENV =
+ TAO_default_environment ()
+ );
+
+ virtual const char* _interface_repository_id (void) const;
+
+ static void lookup_skel (
+ TAO_ServerRequest &req,
+ void *obj,
+ void *context,
+ CORBA::Environment &ACE_TRY_ENV =
+ TAO_default_environment ()
+ );
+
+ static void contents_skel (
+ TAO_ServerRequest &req,
+ void *obj,
+ void *context,
+ CORBA::Environment &ACE_TRY_ENV =
+ TAO_default_environment ()
+ );
+
+ static void lookup_name_skel (
+ TAO_ServerRequest &req,
+ void *obj,
+ void *context,
+ CORBA::Environment &ACE_TRY_ENV =
+ TAO_default_environment ()
+ );
+
+ static void describe_contents_skel (
+ TAO_ServerRequest &req,
+ void *obj,
+ void *context,
+ CORBA::Environment &ACE_TRY_ENV =
+ TAO_default_environment ()
+ );
+
+ static void create_module_skel (
+ TAO_ServerRequest &req,
+ void *obj,
+ void *context,
+ CORBA::Environment &ACE_TRY_ENV =
+ TAO_default_environment ()
+ );
+
+ static void create_constant_skel (
+ TAO_ServerRequest &req,
+ void *obj,
+ void *context,
+ CORBA::Environment &ACE_TRY_ENV =
+ TAO_default_environment ()
+ );
+
+ static void create_struct_skel (
+ TAO_ServerRequest &req,
+ void *obj,
+ void *context,
+ CORBA::Environment &ACE_TRY_ENV =
+ TAO_default_environment ()
+ );
+
+ static void create_union_skel (
+ TAO_ServerRequest &req,
+ void *obj,
+ void *context,
+ CORBA::Environment &ACE_TRY_ENV =
+ TAO_default_environment ()
+ );
+
+ static void create_enum_skel (
+ TAO_ServerRequest &req,
+ void *obj,
+ void *context,
+ CORBA::Environment &ACE_TRY_ENV =
+ TAO_default_environment ()
+ );
+
+ static void create_alias_skel (
+ TAO_ServerRequest &req,
+ void *obj,
+ void *context,
+ CORBA::Environment &ACE_TRY_ENV =
+ TAO_default_environment ()
+ );
+
+ static void create_interface_skel (
+ TAO_ServerRequest &req,
+ void *obj,
+ void *context,
+ CORBA::Environment &ACE_TRY_ENV =
+ TAO_default_environment ()
+ );
+
+ static void create_value_skel (
+ TAO_ServerRequest &req,
+ void *obj,
+ void *context,
+ CORBA::Environment &ACE_TRY_ENV =
+ TAO_default_environment ()
+ );
+
+ static void create_value_box_skel (
+ TAO_ServerRequest &req,
+ void *obj,
+ void *context,
+ CORBA::Environment &ACE_TRY_ENV =
+ TAO_default_environment ()
+ );
+
+ static void create_exception_skel (
+ TAO_ServerRequest &req,
+ void *obj,
+ void *context,
+ CORBA::Environment &ACE_TRY_ENV =
+ TAO_default_environment ()
+ );
+
+ static void create_native_skel (
+ TAO_ServerRequest &req,
+ void *obj,
+ void *context,
+ CORBA::Environment &ACE_TRY_ENV =
+ TAO_default_environment ()
+ );
+
+ static void create_abstract_interface_skel (
+ TAO_ServerRequest &req,
+ void *obj,
+ void *context,
+ CORBA::Environment &ACE_TRY_ENV =
+ TAO_default_environment ()
+ );
+
+ static void create_local_interface_skel (
+ TAO_ServerRequest &req,
+ void *obj,
+ void *context,
+ CORBA::Environment &ACE_TRY_ENV =
+ TAO_default_environment ()
+ );
+
+ static void _get_id_skel (
+ TAO_ServerRequest &req,
+ void *obj,
+ void *context,
+ CORBA::Environment &ACE_TRY_ENV =
+ TAO_default_environment ()
+ );
+
+ static void _set_id_skel (
+ TAO_ServerRequest &req,
+ void *obj,
+ void *context,
+ CORBA::Environment &ACE_TRY_ENV =
+ TAO_default_environment ()
+ );
+
+ static void _get_name_skel (
+ TAO_ServerRequest &req,
+ void *obj,
+ void *context,
+ CORBA::Environment &ACE_TRY_ENV =
+ TAO_default_environment ()
+ );
+
+ static void _set_name_skel (
+ TAO_ServerRequest &req,
+ void *obj,
+ void *context,
+ CORBA::Environment &ACE_TRY_ENV =
+ TAO_default_environment ()
+ );
+
+ static void _get_version_skel (
+ TAO_ServerRequest &req,
+ void *obj,
+ void *context,
+ CORBA::Environment &ACE_TRY_ENV =
+ TAO_default_environment ()
+ );
+
+ static void _set_version_skel (
+ TAO_ServerRequest &req,
+ void *obj,
+ void *context,
+ CORBA::Environment &ACE_TRY_ENV =
+ TAO_default_environment ()
+ );
+
+ static void _get_defined_in_skel (
+ TAO_ServerRequest &req,
+ void *obj,
+ void *context,
+ CORBA::Environment &ACE_TRY_ENV =
+ TAO_default_environment ()
+ );
+
+ static void _get_absolute_name_skel (
+ TAO_ServerRequest &req,
+ void *obj,
+ void *context,
+ CORBA::Environment &ACE_TRY_ENV =
+ TAO_default_environment ()
+ );
+
+ static void _get_containing_repository_skel (
+ TAO_ServerRequest &req,
+ void *obj,
+ void *context,
+ CORBA::Environment &ACE_TRY_ENV =
+ TAO_default_environment ()
+ );
+
+ static void describe_skel (
+ TAO_ServerRequest &req,
+ void *obj,
+ void *context,
+ CORBA::Environment &ACE_TRY_ENV =
+ TAO_default_environment ()
+ );
+
+ static void move_skel (
+ TAO_ServerRequest &req,
+ void *obj,
+ void *context,
+ CORBA::Environment &ACE_TRY_ENV =
+ TAO_default_environment ()
+ );
+
+ static void _get_def_kind_skel (
+ TAO_ServerRequest &req,
+ void *obj,
+ void *context,
+ CORBA::Environment &ACE_TRY_ENV =
+ TAO_default_environment ()
+ );
+
+ static void destroy_skel (
+ TAO_ServerRequest &req,
+ void *obj,
+ void *context,
+ CORBA::Environment &ACE_TRY_ENV =
+ TAO_default_environment ()
+ );
+
+
+#if (TAO_HAS_INTERCEPTORS == 1)
+ // Generation of interceptors related RequestInfo classes per operation.
+ // This needed to be able to store the arguments, exceptions, contexts
+ // and build the lists dynamically on demand so that unnecessary time overhead
+ // of building these lists when they arent used is avoided.
+ #endif /* TAO_HAS_INTERCEPTORS */
+
+};
+
+
+///////////////////////////////////////////////////////////////////////
+// Strategized Proxy Broker Declaration
+//
+
+class _TAO_ModuleDef_Strategized_Proxy_Broker : public virtual ::_TAO_ModuleDef_Proxy_Broker
+{
+public:
+ _TAO_ModuleDef_Strategized_Proxy_Broker (void);
+
+ virtual ~_TAO_ModuleDef_Strategized_Proxy_Broker (void);
+
+ virtual ::_TAO_ModuleDef_Proxy_Impl &select_proxy (
+ ::CORBA::ModuleDef *object,
+ CORBA_Environment &ACE_TRY_ENV = TAO_default_environment ()
+ );
+
+private:
+
+// Helper methods that takes care to create the proxy
+// as soon as their use is necessary.
+ void create_proxy (
+ int strategy,
+ CORBA::Environment &ACE_TRY_ENV
+ );
+
+private:
+
+ // Caches the proxy implementations. The proxy implementation
+ // are totally stateless, and those can be shared by all the
+ // instances of a given IDL interface type.
+ ::_TAO_ModuleDef_Proxy_Impl
+ *proxy_cache_[TAO_Collocation_Strategies::CS_LAST];
+
+ TAO_SYNCH_MUTEX mutex_;
+// This funxtion is used to get an handle to the unique instance
+// of the Strategized Proxy Broker that is available for a given
+// interface.
+
+public:
+ static _TAO_ModuleDef_Strategized_Proxy_Broker *the_TAO_ModuleDef_Strategized_Proxy_Broker (void);
+};
+
+
+//
+// End Strategized Proxy Broker Declaration
+///////////////////////////////////////////////////////////////////////
+
+
+///////////////////////////////////////////////////////////////////////
+// ThruPOA Impl. Declaration
+//
+
+class _TAO_ModuleDef_ThruPOA_Proxy_Impl :
+ public virtual ::_TAO_ModuleDef_Proxy_Impl,
+ public virtual TAO_ThruPOA_Object_Proxy_Impl,
+ public virtual ::POA_CORBA::_TAO_Container_ThruPOA_Proxy_Impl,
+ public virtual ::POA_CORBA::_TAO_Contained_ThruPOA_Proxy_Impl
+
+{
+public:
+ _TAO_ModuleDef_ThruPOA_Proxy_Impl (void);
+
+ virtual ~_TAO_ModuleDef_ThruPOA_Proxy_Impl (void) { }
+
+ };
+
+
+//
+// ThruPOA Proxy Impl. Declaration
+///////////////////////////////////////////////////////////////////////
+
+
+#if defined (ACE_HAS_USING_KEYWORD)
+// TIE class: Refer to CORBA v2.2, Section 20.34.4
+template <class T>
+class ModuleDef_tie : public ModuleDef
+{
+public:
+ ModuleDef_tie (T &t);
+ // the T& ctor
+ ModuleDef_tie (T &t, PortableServer::POA_ptr poa);
+ // ctor taking a POA
+ ModuleDef_tie (T *tp, CORBA::Boolean release=1);
+ // ctor taking pointer and an ownership flag
+ ModuleDef_tie (T *tp, PortableServer::POA_ptr poa, CORBA::Boolean release=1);
+ // ctor with T*, ownership flag and a POA
+ ~ModuleDef_tie (void);
+ // dtor
+
+ // TIE specific functions
+ T *_tied_object (void);
+ // return the underlying object
+ void _tied_object (T &obj);
+ // set the underlying object
+ void _tied_object (T *obj, CORBA::Boolean release=1);
+ // set the underlying object and the ownership flag
+ CORBA::Boolean _is_owner (void);
+ // do we own it
+ void _is_owner (CORBA::Boolean b);
+ // set the ownership
+
+ // overridden ServantBase operations
+ PortableServer::POA_ptr _default_POA (
+ CORBA::Environment &ACE_TRY_ENV =
+ TAO_default_environment ()
+ );
+ CORBA::Contained_ptr lookup (
+ const char * search_name,
+ CORBA::Environment &ACE_TRY_ENV =
+ TAO_default_environment ()
+ )
+ ACE_THROW_SPEC ((
+ CORBA::SystemException
+ ));
+
+ CORBA::ContainedSeq * contents (
+ CORBA::DefinitionKind limit_type,
+ CORBA::Boolean exclude_inherited,
+ CORBA::Environment &ACE_TRY_ENV =
+ TAO_default_environment ()
+ )
+ ACE_THROW_SPEC ((
+ CORBA::SystemException
+ ));
+
+ CORBA::ContainedSeq * lookup_name (
+ const char * search_name,
+ CORBA::Long levels_to_search,
+ CORBA::DefinitionKind limit_type,
+ CORBA::Boolean exclude_inherited,
+ CORBA::Environment &ACE_TRY_ENV =
+ TAO_default_environment ()
+ )
+ ACE_THROW_SPEC ((
+ CORBA::SystemException
+ ));
+
+ CORBA::Container::DescriptionSeq * describe_contents (
+ CORBA::DefinitionKind limit_type,
+ CORBA::Boolean exclude_inherited,
+ CORBA::Long max_returned_objs,
+ CORBA::Environment &ACE_TRY_ENV =
+ TAO_default_environment ()
+ )
+ ACE_THROW_SPEC ((
+ CORBA::SystemException
+ ));
+
+ CORBA::ModuleDef_ptr create_module (
+ const char * id,
+ const char * name,
+ const char * version,
+ CORBA::Environment &ACE_TRY_ENV =
+ TAO_default_environment ()
+ )
+ ACE_THROW_SPEC ((
+ CORBA::SystemException
+ ));
+
+ CORBA::ConstantDef_ptr create_constant (
+ const char * id,
+ const char * name,
+ const char * version,
+ CORBA::IDLType_ptr type,
+ const CORBA::Any & value,
+ CORBA::Environment &ACE_TRY_ENV =
+ TAO_default_environment ()
+ )
+ ACE_THROW_SPEC ((
+ CORBA::SystemException
+ ));
+
+ CORBA::StructDef_ptr create_struct (
+ const char * id,
+ const char * name,
+ const char * version,
+ const CORBA::StructMemberSeq & members,
+ CORBA::Environment &ACE_TRY_ENV =
+ TAO_default_environment ()
+ )
+ ACE_THROW_SPEC ((
+ CORBA::SystemException
+ ));
+
+ CORBA::UnionDef_ptr create_union (
+ const char * id,
+ const char * name,
+ const char * version,
+ CORBA::IDLType_ptr discriminator_type,
+ const CORBA::UnionMemberSeq & members,
+ CORBA::Environment &ACE_TRY_ENV =
+ TAO_default_environment ()
+ )
+ ACE_THROW_SPEC ((
+ CORBA::SystemException
+ ));
+
+ CORBA::EnumDef_ptr create_enum (
+ const char * id,
+ const char * name,
+ const char * version,
+ const CORBA::EnumMemberSeq & members,
+ CORBA::Environment &ACE_TRY_ENV =
+ TAO_default_environment ()
+ )
+ ACE_THROW_SPEC ((
+ CORBA::SystemException
+ ));
+
+ CORBA::AliasDef_ptr create_alias (
+ const char * id,
+ const char * name,
+ const char * version,
+ CORBA::IDLType_ptr original_type,
+ CORBA::Environment &ACE_TRY_ENV =
+ TAO_default_environment ()
+ )
+ ACE_THROW_SPEC ((
+ CORBA::SystemException
+ ));
+
+ CORBA::InterfaceDef_ptr create_interface (
+ const char * id,
+ const char * name,
+ const char * version,
+ const CORBA::InterfaceDefSeq & base_interfaces,
+ CORBA::Environment &ACE_TRY_ENV =
+ TAO_default_environment ()
+ )
+ ACE_THROW_SPEC ((
+ CORBA::SystemException
+ ));
+
+ CORBA::ValueDef_ptr create_value (
+ const char * id,
+ const char * name,
+ const char * version,
+ CORBA::Boolean is_custom,
+ CORBA::Boolean is_abstract,
+ CORBA::ValueDef_ptr base_value,
+ CORBA::Boolean is_truncatable,
+ const CORBA::ValueDefSeq & abstract_base_values,
+ const CORBA::InterfaceDefSeq & supported_interfaces,
+ const CORBA::InitializerSeq & initializers,
+ CORBA::Environment &ACE_TRY_ENV =
+ TAO_default_environment ()
+ )
+ ACE_THROW_SPEC ((
+ CORBA::SystemException
+ ));
+
+ CORBA::ValueBoxDef_ptr create_value_box (
+ const char * id,
+ const char * name,
+ const char * version,
+ CORBA::IDLType_ptr original_type_def,
+ CORBA::Environment &ACE_TRY_ENV =
+ TAO_default_environment ()
+ )
+ ACE_THROW_SPEC ((
+ CORBA::SystemException
+ ));
+
+ CORBA::ExceptionDef_ptr create_exception (
+ const char * id,
+ const char * name,
+ const char * version,
+ const CORBA::StructMemberSeq & members,
+ CORBA::Environment &ACE_TRY_ENV =
+ TAO_default_environment ()
+ )
+ ACE_THROW_SPEC ((
+ CORBA::SystemException
+ ));
+
+ CORBA::NativeDef_ptr create_native (
+ const char * id,
+ const char * name,
+ const char * version,
+ CORBA::Environment &ACE_TRY_ENV =
+ TAO_default_environment ()
+ )
+ ACE_THROW_SPEC ((
+ CORBA::SystemException
+ ));
+
+ CORBA::AbstractInterfaceDef_ptr create_abstract_interface (
+ const char * id,
+ const char * name,
+ const char * version,
+ const CORBA::AbstractInterfaceDefSeq & base_interfaces,
+ CORBA::Environment &ACE_TRY_ENV =
+ TAO_default_environment ()
+ )
+ ACE_THROW_SPEC ((
+ CORBA::SystemException
+ ));
+
+ CORBA::LocalInterfaceDef_ptr create_local_interface (
+ const char * id,
+ const char * name,
+ const char * version,
+ const CORBA::InterfaceDefSeq & base_interfaces,
+ CORBA::Environment &ACE_TRY_ENV =
+ TAO_default_environment ()
+ )
+ ACE_THROW_SPEC ((
+ CORBA::SystemException
+ ));
+
+ char * id (
+ CORBA::Environment &ACE_TRY_ENV =
+ TAO_default_environment ()
+ )
+ ACE_THROW_SPEC ((
+ CORBA::SystemException
+ ));
+
+ void id (
+ const char * id,
+ CORBA::Environment &ACE_TRY_ENV =
+ TAO_default_environment ()
+ )
+ ACE_THROW_SPEC ((
+ CORBA::SystemException
+ ));
+
+ char * name (
+ CORBA::Environment &ACE_TRY_ENV =
+ TAO_default_environment ()
+ )
+ ACE_THROW_SPEC ((
+ CORBA::SystemException
+ ));
+
+ void name (
+ const char * name,
+ CORBA::Environment &ACE_TRY_ENV =
+ TAO_default_environment ()
+ )
+ ACE_THROW_SPEC ((
+ CORBA::SystemException
+ ));
+
+ char * version (
+ CORBA::Environment &ACE_TRY_ENV =
+ TAO_default_environment ()
+ )
+ ACE_THROW_SPEC ((
+ CORBA::SystemException
+ ));
+
+ void version (
+ const char * version,
+ CORBA::Environment &ACE_TRY_ENV =
+ TAO_default_environment ()
+ )
+ ACE_THROW_SPEC ((
+ CORBA::SystemException
+ ));
+
+ CORBA::Container_ptr defined_in (
+ CORBA::Environment &ACE_TRY_ENV =
+ TAO_default_environment ()
+ )
+ ACE_THROW_SPEC ((
+ CORBA::SystemException
+ ));
+
+ char * absolute_name (
+ CORBA::Environment &ACE_TRY_ENV =
+ TAO_default_environment ()
+ )
+ ACE_THROW_SPEC ((
+ CORBA::SystemException
+ ));
+
+ CORBA::Repository_ptr containing_repository (
+ CORBA::Environment &ACE_TRY_ENV =
+ TAO_default_environment ()
+ )
+ ACE_THROW_SPEC ((
+ CORBA::SystemException
+ ));
+
+ CORBA::Contained::Description * describe (
+ CORBA::Environment &ACE_TRY_ENV =
+ TAO_default_environment ()
+ )
+ ACE_THROW_SPEC ((
+ CORBA::SystemException
+ ));
+
+ void move (
+ CORBA::Container_ptr new_container,
+ const char * new_name,
+ const char * new_version,
+ CORBA::Environment &ACE_TRY_ENV =
+ TAO_default_environment ()
+ )
+ ACE_THROW_SPEC ((
+ CORBA::SystemException
+ ));
+
+ CORBA::DefinitionKind def_kind (
+ CORBA::Environment &ACE_TRY_ENV =
+ TAO_default_environment ()
+ )
+ ACE_THROW_SPEC ((
+ CORBA::SystemException
+ ));
+
+ void destroy (
+ CORBA::Environment &ACE_TRY_ENV =
+ TAO_default_environment ()
+ )
+ ACE_THROW_SPEC ((
+ CORBA::SystemException
+ ));
+
+private:
+ T *ptr_;
+ PortableServer::POA_var poa_;
+ CORBA::Boolean rel_;
+
+ // copy and assignment are not allowed
+ ModuleDef_tie (const ModuleDef_tie &);
+ void operator= (const ModuleDef_tie &);
+};
+
+#endif /* ACE_HAS_USING_KEYWORD */
+
+class ConstantDef;
+typedef ConstantDef *ConstantDef_ptr;
+// Forward Classes Declaration
+class _TAO_ConstantDef_ThruPOA_Proxy_Impl;
+class _TAO_ConstantDef_Strategized_Proxy_Broker;
+
+class ConstantDef : public virtual Contained
+{
+protected:
+ ConstantDef (void);
+
+public:
+ ConstantDef (const ConstantDef& rhs);
+ virtual ~ConstantDef (void);
+
+
+ virtual CORBA::Boolean _is_a (
+ const char* logical_type_id,
+ CORBA::Environment &ACE_TRY_ENV =
+ TAO_default_environment ()
+ );
+
+ virtual void* _downcast (
+ const char* logical_type_id
+ );
+
+ static void _is_a_skel (
+ TAO_ServerRequest &req,
+ void *obj,
+ void *context,
+ CORBA::Environment &ACE_TRY_ENV =
+ TAO_default_environment ()
+ );
+
+ static void _non_existent_skel (
+ TAO_ServerRequest &req,
+ void *obj,
+ void *context,
+ CORBA::Environment &ACE_TRY_ENV =
+ TAO_default_environment ()
+ );
+
+ virtual void _dispatch (
+ TAO_ServerRequest &_tao_req,
+ void *_tao_context,
+ CORBA::Environment &ACE_TRY_ENV =
+ TAO_default_environment ()
+ );
+
+ ::CORBA::ConstantDef *_this (
+ CORBA::Environment &ACE_TRY_ENV =
+ TAO_default_environment ()
+ );
+
+ virtual const char* _interface_repository_id (void) const;
+
+ virtual CORBA::TypeCode_ptr type (
+ CORBA::Environment &ACE_TRY_ENV =
+ TAO_default_environment ()
+ )
+ ACE_THROW_SPEC ((
+ CORBA::SystemException
+ )) = 0;
+
+ static void _get_type_skel (
+ TAO_ServerRequest &_tao_req,
+ void *_tao_obj,
+ void *_tao_context,
+ CORBA::Environment &ACE_TRY_ENV =
+ TAO_default_environment ()
+ );
+
+ virtual CORBA::IDLType_ptr type_def (
+ CORBA::Environment &ACE_TRY_ENV =
+ TAO_default_environment ()
+ )
+ ACE_THROW_SPEC ((
+ CORBA::SystemException
+ )) = 0;
+
+ static void _get_type_def_skel (
+ TAO_ServerRequest &_tao_req,
+ void *_tao_obj,
+ void *_tao_context,
+ CORBA::Environment &ACE_TRY_ENV =
+ TAO_default_environment ()
+ );
+
+ virtual void type_def (
+ CORBA::IDLType_ptr type_def,
+ CORBA::Environment &ACE_TRY_ENV =
+ TAO_default_environment ()
+ )
+ ACE_THROW_SPEC ((
+ CORBA::SystemException
+ )) = 0;
+
+ static void _set_type_def_skel (
+ TAO_ServerRequest &_tao_req,
+ void *_tao_obj,
+ void *_tao_context,
+ CORBA::Environment &ACE_TRY_ENV =
+ TAO_default_environment ()
+ );
+
+ virtual CORBA::Any * value (
+ CORBA::Environment &ACE_TRY_ENV =
+ TAO_default_environment ()
+ )
+ ACE_THROW_SPEC ((
+ CORBA::SystemException
+ )) = 0;
+
+ static void _get_value_skel (
+ TAO_ServerRequest &_tao_req,
+ void *_tao_obj,
+ void *_tao_context,
+ CORBA::Environment &ACE_TRY_ENV =
+ TAO_default_environment ()
+ );
+
+ virtual void value (
+ const CORBA::Any & value,
+ CORBA::Environment &ACE_TRY_ENV =
+ TAO_default_environment ()
+ )
+ ACE_THROW_SPEC ((
+ CORBA::SystemException
+ )) = 0;
+
+ static void _set_value_skel (
+ TAO_ServerRequest &_tao_req,
+ void *_tao_obj,
+ void *_tao_context,
+ CORBA::Environment &ACE_TRY_ENV =
+ TAO_default_environment ()
+ );
+
+ static void _get_id_skel (
+ TAO_ServerRequest &req,
+ void *obj,
+ void *context,
+ CORBA::Environment &ACE_TRY_ENV =
+ TAO_default_environment ()
+ );
+
+ static void _set_id_skel (
+ TAO_ServerRequest &req,
+ void *obj,
+ void *context,
+ CORBA::Environment &ACE_TRY_ENV =
+ TAO_default_environment ()
+ );
+
+ static void _get_name_skel (
+ TAO_ServerRequest &req,
+ void *obj,
+ void *context,
+ CORBA::Environment &ACE_TRY_ENV =
+ TAO_default_environment ()
+ );
+
+ static void _set_name_skel (
+ TAO_ServerRequest &req,
+ void *obj,
+ void *context,
+ CORBA::Environment &ACE_TRY_ENV =
+ TAO_default_environment ()
+ );
+
+ static void _get_version_skel (
+ TAO_ServerRequest &req,
+ void *obj,
+ void *context,
+ CORBA::Environment &ACE_TRY_ENV =
+ TAO_default_environment ()
+ );
+
+ static void _set_version_skel (
+ TAO_ServerRequest &req,
+ void *obj,
+ void *context,
+ CORBA::Environment &ACE_TRY_ENV =
+ TAO_default_environment ()
+ );
+
+ static void _get_defined_in_skel (
+ TAO_ServerRequest &req,
+ void *obj,
+ void *context,
+ CORBA::Environment &ACE_TRY_ENV =
+ TAO_default_environment ()
+ );
+
+ static void _get_absolute_name_skel (
+ TAO_ServerRequest &req,
+ void *obj,
+ void *context,
+ CORBA::Environment &ACE_TRY_ENV =
+ TAO_default_environment ()
+ );
+
+ static void _get_containing_repository_skel (
+ TAO_ServerRequest &req,
+ void *obj,
+ void *context,
+ CORBA::Environment &ACE_TRY_ENV =
+ TAO_default_environment ()
+ );
+
+ static void describe_skel (
+ TAO_ServerRequest &req,
+ void *obj,
+ void *context,
+ CORBA::Environment &ACE_TRY_ENV =
+ TAO_default_environment ()
+ );
+
+ static void move_skel (
+ TAO_ServerRequest &req,
+ void *obj,
+ void *context,
+ CORBA::Environment &ACE_TRY_ENV =
+ TAO_default_environment ()
+ );
+
+ static void _get_def_kind_skel (
+ TAO_ServerRequest &req,
+ void *obj,
+ void *context,
+ CORBA::Environment &ACE_TRY_ENV =
+ TAO_default_environment ()
+ );
+
+ static void destroy_skel (
+ TAO_ServerRequest &req,
+ void *obj,
+ void *context,
+ CORBA::Environment &ACE_TRY_ENV =
+ TAO_default_environment ()
+ );
+
+
+#if (TAO_HAS_INTERCEPTORS == 1)
+ // Generation of interceptors related RequestInfo classes per operation.
+ // This needed to be able to store the arguments, exceptions, contexts
+ // and build the lists dynamically on demand so that unnecessary time overhead
+ // of building these lists when they arent used is avoided.
+ class TAO_ServerRequestInfo_CORBA_ConstantDef_type_get : public TAO_ServerRequestInfo
+ {
+ public:
+ friend class POA_CORBA::ConstantDef;
+ TAO_ServerRequestInfo_CORBA_ConstantDef_type_get (
+ TAO_ServerRequest &_tao_server_request,
+ POA_CORBA::ConstantDef *tao_impl,
+ CORBA::Environment &ACE_TRY_ENV =
+ TAO_default_environment ()
+ );
+
+ virtual Dynamic::ParameterList * arguments (
+ CORBA::Environment &ACE_TRY_ENV =
+ TAO_default_environment ()
+ )
+ ACE_THROW_SPEC ((CORBA::SystemException));
+
+ virtual Dynamic::ExceptionList * exceptions (
+ CORBA::Environment &ACE_TRY_ENV =
+ TAO_default_environment ()
+ )
+ ACE_THROW_SPEC ((CORBA::SystemException));
+
+ virtual CORBA::Any * result (
+ CORBA::Environment &ACE_TRY_ENV =
+ TAO_default_environment ()
+ )
+ ACE_THROW_SPEC ((CORBA::SystemException));
+
+ virtual char * target_most_derived_interface (
+ CORBA::Environment &ACE_TRY_ENV = TAO_default_environment ())
+ ACE_THROW_SPEC ((CORBA::SystemException));
+
+ virtual CORBA::Boolean target_is_a (
+ const char * id,
+ CORBA::Environment &ACE_TRY_ENV = TAO_default_environment ())
+ ACE_THROW_SPEC ((CORBA::SystemException));
+
+ private:
+ TAO_ServerRequestInfo_CORBA_ConstantDef_type_get (const TAO_ServerRequestInfo_CORBA_ConstantDef_type_get &);
+ void operator= (const TAO_ServerRequestInfo_CORBA_ConstantDef_type_get &);
+
+ private:
+ POA_CORBA::ConstantDef *_tao_impl;
+ void result (CORBA::TypeCode_ptr result);
+ // update the result
+ CORBA::TypeCode_ptr _result;
+ };
+
+ class TAO_ServerRequestInfo_CORBA_ConstantDef_type_def_get : public TAO_ServerRequestInfo
+ {
+ public:
+ friend class POA_CORBA::ConstantDef;
+ TAO_ServerRequestInfo_CORBA_ConstantDef_type_def_get (
+ TAO_ServerRequest &_tao_server_request,
+ POA_CORBA::ConstantDef *tao_impl,
+ CORBA::Environment &ACE_TRY_ENV =
+ TAO_default_environment ()
+ );
+
+ virtual Dynamic::ParameterList * arguments (
+ CORBA::Environment &ACE_TRY_ENV =
+ TAO_default_environment ()
+ )
+ ACE_THROW_SPEC ((CORBA::SystemException));
+
+ virtual Dynamic::ExceptionList * exceptions (
+ CORBA::Environment &ACE_TRY_ENV =
+ TAO_default_environment ()
+ )
+ ACE_THROW_SPEC ((CORBA::SystemException));
+
+ virtual CORBA::Any * result (
+ CORBA::Environment &ACE_TRY_ENV =
+ TAO_default_environment ()
+ )
+ ACE_THROW_SPEC ((CORBA::SystemException));
+
+ virtual char * target_most_derived_interface (
+ CORBA::Environment &ACE_TRY_ENV = TAO_default_environment ())
+ ACE_THROW_SPEC ((CORBA::SystemException));
+
+ virtual CORBA::Boolean target_is_a (
+ const char * id,
+ CORBA::Environment &ACE_TRY_ENV = TAO_default_environment ())
+ ACE_THROW_SPEC ((CORBA::SystemException));
+
+ private:
+ TAO_ServerRequestInfo_CORBA_ConstantDef_type_def_get (const TAO_ServerRequestInfo_CORBA_ConstantDef_type_def_get &);
+ void operator= (const TAO_ServerRequestInfo_CORBA_ConstantDef_type_def_get &);
+
+ private:
+ POA_CORBA::ConstantDef *_tao_impl;
+ void result (CORBA::IDLType_ptr result);
+ // update the result
+ CORBA::IDLType_ptr _result;
+ };
+
+ class TAO_ServerRequestInfo_CORBA_ConstantDef_type_def_set : public TAO_ServerRequestInfo
+ {
+ public:
+ friend class POA_CORBA::ConstantDef;
+ TAO_ServerRequestInfo_CORBA_ConstantDef_type_def_set (
+ TAO_ServerRequest &_tao_server_request,
+ POA_CORBA::ConstantDef *tao_impl,
+ CORBA::IDLType_ptr type_def,
+ CORBA::Environment &ACE_TRY_ENV =
+ TAO_default_environment ()
+ );
+
+ virtual Dynamic::ParameterList * arguments (
+ CORBA::Environment &ACE_TRY_ENV =
+ TAO_default_environment ()
+ )
+ ACE_THROW_SPEC ((CORBA::SystemException));
+
+ virtual Dynamic::ExceptionList * exceptions (
+ CORBA::Environment &ACE_TRY_ENV =
+ TAO_default_environment ()
+ )
+ ACE_THROW_SPEC ((CORBA::SystemException));
+
+ virtual CORBA::Any * result (
+ CORBA::Environment &ACE_TRY_ENV =
+ TAO_default_environment ()
+ )
+ ACE_THROW_SPEC ((CORBA::SystemException));
+
+ virtual char * target_most_derived_interface (
+ CORBA::Environment &ACE_TRY_ENV = TAO_default_environment ())
+ ACE_THROW_SPEC ((CORBA::SystemException));
+
+ virtual CORBA::Boolean target_is_a (
+ const char * id,
+ CORBA::Environment &ACE_TRY_ENV = TAO_default_environment ())
+ ACE_THROW_SPEC ((CORBA::SystemException));
+
+ private:
+ TAO_ServerRequestInfo_CORBA_ConstantDef_type_def_set (const TAO_ServerRequestInfo_CORBA_ConstantDef_type_def_set &);
+ void operator= (const TAO_ServerRequestInfo_CORBA_ConstantDef_type_def_set &);
+
+ private:
+ POA_CORBA::ConstantDef *_tao_impl;
+ CORBA::IDLType_ptr type_def_;
+
+ };
+
+ class TAO_ServerRequestInfo_CORBA_ConstantDef_value_get : public TAO_ServerRequestInfo
+ {
+ public:
+ friend class POA_CORBA::ConstantDef;
+ TAO_ServerRequestInfo_CORBA_ConstantDef_value_get (
+ TAO_ServerRequest &_tao_server_request,
+ POA_CORBA::ConstantDef *tao_impl,
+ CORBA::Environment &ACE_TRY_ENV =
+ TAO_default_environment ()
+ );
+
+ virtual Dynamic::ParameterList * arguments (
+ CORBA::Environment &ACE_TRY_ENV =
+ TAO_default_environment ()
+ )
+ ACE_THROW_SPEC ((CORBA::SystemException));
+
+ virtual Dynamic::ExceptionList * exceptions (
+ CORBA::Environment &ACE_TRY_ENV =
+ TAO_default_environment ()
+ )
+ ACE_THROW_SPEC ((CORBA::SystemException));
+
+ virtual CORBA::Any * result (
+ CORBA::Environment &ACE_TRY_ENV =
+ TAO_default_environment ()
+ )
+ ACE_THROW_SPEC ((CORBA::SystemException));
+
+ virtual char * target_most_derived_interface (
+ CORBA::Environment &ACE_TRY_ENV = TAO_default_environment ())
+ ACE_THROW_SPEC ((CORBA::SystemException));
+
+ virtual CORBA::Boolean target_is_a (
+ const char * id,
+ CORBA::Environment &ACE_TRY_ENV = TAO_default_environment ())
+ ACE_THROW_SPEC ((CORBA::SystemException));
+
+ private:
+ TAO_ServerRequestInfo_CORBA_ConstantDef_value_get (const TAO_ServerRequestInfo_CORBA_ConstantDef_value_get &);
+ void operator= (const TAO_ServerRequestInfo_CORBA_ConstantDef_value_get &);
+
+ private:
+ POA_CORBA::ConstantDef *_tao_impl;
+ void result (CORBA::Any * result);
+ // update the result
+ CORBA::Any * _result;
+ };
+
+ class TAO_ServerRequestInfo_CORBA_ConstantDef_value_set : public TAO_ServerRequestInfo
+ {
+ public:
+ friend class POA_CORBA::ConstantDef;
+ TAO_ServerRequestInfo_CORBA_ConstantDef_value_set (
+ TAO_ServerRequest &_tao_server_request,
+ POA_CORBA::ConstantDef *tao_impl,
+ const CORBA::Any & value,
+ CORBA::Environment &ACE_TRY_ENV =
+ TAO_default_environment ()
+ );
+
+ virtual Dynamic::ParameterList * arguments (
+ CORBA::Environment &ACE_TRY_ENV =
+ TAO_default_environment ()
+ )
+ ACE_THROW_SPEC ((CORBA::SystemException));
+
+ virtual Dynamic::ExceptionList * exceptions (
+ CORBA::Environment &ACE_TRY_ENV =
+ TAO_default_environment ()
+ )
+ ACE_THROW_SPEC ((CORBA::SystemException));
+
+ virtual CORBA::Any * result (
+ CORBA::Environment &ACE_TRY_ENV =
+ TAO_default_environment ()
+ )
+ ACE_THROW_SPEC ((CORBA::SystemException));
+
+ virtual char * target_most_derived_interface (
+ CORBA::Environment &ACE_TRY_ENV = TAO_default_environment ())
+ ACE_THROW_SPEC ((CORBA::SystemException));
+
+ virtual CORBA::Boolean target_is_a (
+ const char * id,
+ CORBA::Environment &ACE_TRY_ENV = TAO_default_environment ())
+ ACE_THROW_SPEC ((CORBA::SystemException));
+
+ private:
+ TAO_ServerRequestInfo_CORBA_ConstantDef_value_set (const TAO_ServerRequestInfo_CORBA_ConstantDef_value_set &);
+ void operator= (const TAO_ServerRequestInfo_CORBA_ConstantDef_value_set &);
+
+ private:
+ POA_CORBA::ConstantDef *_tao_impl;
+ const CORBA::Any & value_;
+
+ };
+
+ #endif /* TAO_HAS_INTERCEPTORS */
+
+};
+
+
+///////////////////////////////////////////////////////////////////////
+// Strategized Proxy Broker Declaration
+//
+
+class _TAO_ConstantDef_Strategized_Proxy_Broker : public virtual ::_TAO_ConstantDef_Proxy_Broker
+{
+public:
+ _TAO_ConstantDef_Strategized_Proxy_Broker (void);
+
+ virtual ~_TAO_ConstantDef_Strategized_Proxy_Broker (void);
+
+ virtual ::_TAO_ConstantDef_Proxy_Impl &select_proxy (
+ ::CORBA::ConstantDef *object,
+ CORBA_Environment &ACE_TRY_ENV = TAO_default_environment ()
+ );
+
+private:
+
+// Helper methods that takes care to create the proxy
+// as soon as their use is necessary.
+ void create_proxy (
+ int strategy,
+ CORBA::Environment &ACE_TRY_ENV
+ );
+
+private:
+
+ // Caches the proxy implementations. The proxy implementation
+ // are totally stateless, and those can be shared by all the
+ // instances of a given IDL interface type.
+ ::_TAO_ConstantDef_Proxy_Impl
+ *proxy_cache_[TAO_Collocation_Strategies::CS_LAST];
+
+ TAO_SYNCH_MUTEX mutex_;
+// This funxtion is used to get an handle to the unique instance
+// of the Strategized Proxy Broker that is available for a given
+// interface.
+
+public:
+ static _TAO_ConstantDef_Strategized_Proxy_Broker *the_TAO_ConstantDef_Strategized_Proxy_Broker (void);
+};
+
+
+//
+// End Strategized Proxy Broker Declaration
+///////////////////////////////////////////////////////////////////////
+
+
+///////////////////////////////////////////////////////////////////////
+// ThruPOA Impl. Declaration
+//
+
+class _TAO_ConstantDef_ThruPOA_Proxy_Impl :
+ public virtual ::_TAO_ConstantDef_Proxy_Impl,
+ public virtual TAO_ThruPOA_Object_Proxy_Impl,
+ public virtual ::POA_CORBA::_TAO_Contained_ThruPOA_Proxy_Impl
+
+{
+public:
+ _TAO_ConstantDef_ThruPOA_Proxy_Impl (void);
+
+ virtual ~_TAO_ConstantDef_ThruPOA_Proxy_Impl (void) { }
+
+ virtual CORBA::TypeCode_ptr type (
+ CORBA_Object *_collocated_tao_target_,
+ CORBA::Environment &ACE_TRY_ENV
+ )
+ ACE_THROW_SPEC ((
+ CORBA::SystemException
+ ));
+
+ virtual CORBA::IDLType_ptr type_def (
+ CORBA_Object *_collocated_tao_target_,
+ CORBA::Environment &ACE_TRY_ENV
+ )
+ ACE_THROW_SPEC ((
+ CORBA::SystemException
+ ));
+
+ virtual void type_def (
+ CORBA_Object *_collocated_tao_target_,
+ CORBA::IDLType_ptr type_def,
+ CORBA::Environment &ACE_TRY_ENV
+ )
+ ACE_THROW_SPEC ((
+ CORBA::SystemException
+ ));
+
+ virtual CORBA::Any * value (
+ CORBA_Object *_collocated_tao_target_,
+ CORBA::Environment &ACE_TRY_ENV
+ )
+ ACE_THROW_SPEC ((
+ CORBA::SystemException
+ ));
+
+ virtual void value (
+ CORBA_Object *_collocated_tao_target_,
+ const CORBA::Any & value,
+ CORBA::Environment &ACE_TRY_ENV
+ )
+ ACE_THROW_SPEC ((
+ CORBA::SystemException
+ ));
+
+};
+
+
+//
+// ThruPOA Proxy Impl. Declaration
+///////////////////////////////////////////////////////////////////////
+
+
+#if defined (ACE_HAS_USING_KEYWORD)
+// TIE class: Refer to CORBA v2.2, Section 20.34.4
+template <class T>
+class ConstantDef_tie : public ConstantDef
+{
+public:
+ ConstantDef_tie (T &t);
+ // the T& ctor
+ ConstantDef_tie (T &t, PortableServer::POA_ptr poa);
+ // ctor taking a POA
+ ConstantDef_tie (T *tp, CORBA::Boolean release=1);
+ // ctor taking pointer and an ownership flag
+ ConstantDef_tie (T *tp, PortableServer::POA_ptr poa, CORBA::Boolean release=1);
+ // ctor with T*, ownership flag and a POA
+ ~ConstantDef_tie (void);
+ // dtor
+
+ // TIE specific functions
+ T *_tied_object (void);
+ // return the underlying object
+ void _tied_object (T &obj);
+ // set the underlying object
+ void _tied_object (T *obj, CORBA::Boolean release=1);
+ // set the underlying object and the ownership flag
+ CORBA::Boolean _is_owner (void);
+ // do we own it
+ void _is_owner (CORBA::Boolean b);
+ // set the ownership
+
+ // overridden ServantBase operations
+ PortableServer::POA_ptr _default_POA (
+ CORBA::Environment &ACE_TRY_ENV =
+ TAO_default_environment ()
+ );
+ CORBA::TypeCode_ptr type (
+ CORBA::Environment &ACE_TRY_ENV =
+ TAO_default_environment ()
+ )
+ ACE_THROW_SPEC ((
+ CORBA::SystemException
+ ));
+
+ CORBA::IDLType_ptr type_def (
+ CORBA::Environment &ACE_TRY_ENV =
+ TAO_default_environment ()
+ )
+ ACE_THROW_SPEC ((
+ CORBA::SystemException
+ ));
+
+ void type_def (
+ CORBA::IDLType_ptr type_def,
+ CORBA::Environment &ACE_TRY_ENV =
+ TAO_default_environment ()
+ )
+ ACE_THROW_SPEC ((
+ CORBA::SystemException
+ ));
+
+ CORBA::Any * value (
+ CORBA::Environment &ACE_TRY_ENV =
+ TAO_default_environment ()
+ )
+ ACE_THROW_SPEC ((
+ CORBA::SystemException
+ ));
+
+ void value (
+ const CORBA::Any & value,
+ CORBA::Environment &ACE_TRY_ENV =
+ TAO_default_environment ()
+ )
+ ACE_THROW_SPEC ((
+ CORBA::SystemException
+ ));
+
+ char * id (
+ CORBA::Environment &ACE_TRY_ENV =
+ TAO_default_environment ()
+ )
+ ACE_THROW_SPEC ((
+ CORBA::SystemException
+ ));
+
+ void id (
+ const char * id,
+ CORBA::Environment &ACE_TRY_ENV =
+ TAO_default_environment ()
+ )
+ ACE_THROW_SPEC ((
+ CORBA::SystemException
+ ));
+
+ char * name (
+ CORBA::Environment &ACE_TRY_ENV =
+ TAO_default_environment ()
+ )
+ ACE_THROW_SPEC ((
+ CORBA::SystemException
+ ));
+
+ void name (
+ const char * name,
+ CORBA::Environment &ACE_TRY_ENV =
+ TAO_default_environment ()
+ )
+ ACE_THROW_SPEC ((
+ CORBA::SystemException
+ ));
+
+ char * version (
+ CORBA::Environment &ACE_TRY_ENV =
+ TAO_default_environment ()
+ )
+ ACE_THROW_SPEC ((
+ CORBA::SystemException
+ ));
+
+ void version (
+ const char * version,
+ CORBA::Environment &ACE_TRY_ENV =
+ TAO_default_environment ()
+ )
+ ACE_THROW_SPEC ((
+ CORBA::SystemException
+ ));
+
+ CORBA::Container_ptr defined_in (
+ CORBA::Environment &ACE_TRY_ENV =
+ TAO_default_environment ()
+ )
+ ACE_THROW_SPEC ((
+ CORBA::SystemException
+ ));
+
+ char * absolute_name (
+ CORBA::Environment &ACE_TRY_ENV =
+ TAO_default_environment ()
+ )
+ ACE_THROW_SPEC ((
+ CORBA::SystemException
+ ));
+
+ CORBA::Repository_ptr containing_repository (
+ CORBA::Environment &ACE_TRY_ENV =
+ TAO_default_environment ()
+ )
+ ACE_THROW_SPEC ((
+ CORBA::SystemException
+ ));
+
+ CORBA::Contained::Description * describe (
+ CORBA::Environment &ACE_TRY_ENV =
+ TAO_default_environment ()
+ )
+ ACE_THROW_SPEC ((
+ CORBA::SystemException
+ ));
+
+ void move (
+ CORBA::Container_ptr new_container,
+ const char * new_name,
+ const char * new_version,
+ CORBA::Environment &ACE_TRY_ENV =
+ TAO_default_environment ()
+ )
+ ACE_THROW_SPEC ((
+ CORBA::SystemException
+ ));
+
+ CORBA::DefinitionKind def_kind (
+ CORBA::Environment &ACE_TRY_ENV =
+ TAO_default_environment ()
+ )
+ ACE_THROW_SPEC ((
+ CORBA::SystemException
+ ));
+
+ void destroy (
+ CORBA::Environment &ACE_TRY_ENV =
+ TAO_default_environment ()
+ )
+ ACE_THROW_SPEC ((
+ CORBA::SystemException
+ ));
+
+private:
+ T *ptr_;
+ PortableServer::POA_var poa_;
+ CORBA::Boolean rel_;
+
+ // copy and assignment are not allowed
+ ConstantDef_tie (const ConstantDef_tie &);
+ void operator= (const ConstantDef_tie &);
+};
+
+#endif /* ACE_HAS_USING_KEYWORD */
+
+class StructDef;
+typedef StructDef *StructDef_ptr;
+// Forward Classes Declaration
+class _TAO_StructDef_ThruPOA_Proxy_Impl;
+class _TAO_StructDef_Strategized_Proxy_Broker;
+
+class StructDef : public virtual TypedefDef, public virtual Container
+{
+protected:
+ StructDef (void);
+
+public:
+ StructDef (const StructDef& rhs);
+ virtual ~StructDef (void);
+
+
+ virtual CORBA::Boolean _is_a (
+ const char* logical_type_id,
+ CORBA::Environment &ACE_TRY_ENV =
+ TAO_default_environment ()
+ );
+
+ virtual void* _downcast (
+ const char* logical_type_id
+ );
+
+ static void _is_a_skel (
+ TAO_ServerRequest &req,
+ void *obj,
+ void *context,
+ CORBA::Environment &ACE_TRY_ENV =
+ TAO_default_environment ()
+ );
+
+ static void _non_existent_skel (
+ TAO_ServerRequest &req,
+ void *obj,
+ void *context,
+ CORBA::Environment &ACE_TRY_ENV =
+ TAO_default_environment ()
+ );
+
+ virtual void _dispatch (
+ TAO_ServerRequest &_tao_req,
+ void *_tao_context,
+ CORBA::Environment &ACE_TRY_ENV =
+ TAO_default_environment ()
+ );
+
+ ::CORBA::StructDef *_this (
+ CORBA::Environment &ACE_TRY_ENV =
+ TAO_default_environment ()
+ );
+
+ virtual const char* _interface_repository_id (void) const;
+
+ virtual CORBA::StructMemberSeq * members (
+ CORBA::Environment &ACE_TRY_ENV =
+ TAO_default_environment ()
+ )
+ ACE_THROW_SPEC ((
+ CORBA::SystemException
+ )) = 0;
+
+ static void _get_members_skel (
+ TAO_ServerRequest &_tao_req,
+ void *_tao_obj,
+ void *_tao_context,
+ CORBA::Environment &ACE_TRY_ENV =
+ TAO_default_environment ()
+ );
+
+ virtual void members (
+ const CORBA::StructMemberSeq & members,
+ CORBA::Environment &ACE_TRY_ENV =
+ TAO_default_environment ()
+ )
+ ACE_THROW_SPEC ((
+ CORBA::SystemException
+ )) = 0;
+
+ static void _set_members_skel (
+ TAO_ServerRequest &_tao_req,
+ void *_tao_obj,
+ void *_tao_context,
+ CORBA::Environment &ACE_TRY_ENV =
+ TAO_default_environment ()
+ );
+
+ static void lookup_skel (
+ TAO_ServerRequest &req,
+ void *obj,
+ void *context,
+ CORBA::Environment &ACE_TRY_ENV =
+ TAO_default_environment ()
+ );
+
+ static void contents_skel (
+ TAO_ServerRequest &req,
+ void *obj,
+ void *context,
+ CORBA::Environment &ACE_TRY_ENV =
+ TAO_default_environment ()
+ );
+
+ static void lookup_name_skel (
+ TAO_ServerRequest &req,
+ void *obj,
+ void *context,
+ CORBA::Environment &ACE_TRY_ENV =
+ TAO_default_environment ()
+ );
+
+ static void describe_contents_skel (
+ TAO_ServerRequest &req,
+ void *obj,
+ void *context,
+ CORBA::Environment &ACE_TRY_ENV =
+ TAO_default_environment ()
+ );
+
+ static void create_module_skel (
+ TAO_ServerRequest &req,
+ void *obj,
+ void *context,
+ CORBA::Environment &ACE_TRY_ENV =
+ TAO_default_environment ()
+ );
+
+ static void create_constant_skel (
+ TAO_ServerRequest &req,
+ void *obj,
+ void *context,
+ CORBA::Environment &ACE_TRY_ENV =
+ TAO_default_environment ()
+ );
+
+ static void create_struct_skel (
+ TAO_ServerRequest &req,
+ void *obj,
+ void *context,
+ CORBA::Environment &ACE_TRY_ENV =
+ TAO_default_environment ()
+ );
+
+ static void create_union_skel (
+ TAO_ServerRequest &req,
+ void *obj,
+ void *context,
+ CORBA::Environment &ACE_TRY_ENV =
+ TAO_default_environment ()
+ );
+
+ static void create_enum_skel (
+ TAO_ServerRequest &req,
+ void *obj,
+ void *context,
+ CORBA::Environment &ACE_TRY_ENV =
+ TAO_default_environment ()
+ );
+
+ static void create_alias_skel (
+ TAO_ServerRequest &req,
+ void *obj,
+ void *context,
+ CORBA::Environment &ACE_TRY_ENV =
+ TAO_default_environment ()
+ );
+
+ static void create_interface_skel (
+ TAO_ServerRequest &req,
+ void *obj,
+ void *context,
+ CORBA::Environment &ACE_TRY_ENV =
+ TAO_default_environment ()
+ );
+
+ static void create_value_skel (
+ TAO_ServerRequest &req,
+ void *obj,
+ void *context,
+ CORBA::Environment &ACE_TRY_ENV =
+ TAO_default_environment ()
+ );
+
+ static void create_value_box_skel (
+ TAO_ServerRequest &req,
+ void *obj,
+ void *context,
+ CORBA::Environment &ACE_TRY_ENV =
+ TAO_default_environment ()
+ );
+
+ static void create_exception_skel (
+ TAO_ServerRequest &req,
+ void *obj,
+ void *context,
+ CORBA::Environment &ACE_TRY_ENV =
+ TAO_default_environment ()
+ );
+
+ static void create_native_skel (
+ TAO_ServerRequest &req,
+ void *obj,
+ void *context,
+ CORBA::Environment &ACE_TRY_ENV =
+ TAO_default_environment ()
+ );
+
+ static void create_abstract_interface_skel (
+ TAO_ServerRequest &req,
+ void *obj,
+ void *context,
+ CORBA::Environment &ACE_TRY_ENV =
+ TAO_default_environment ()
+ );
+
+ static void create_local_interface_skel (
+ TAO_ServerRequest &req,
+ void *obj,
+ void *context,
+ CORBA::Environment &ACE_TRY_ENV =
+ TAO_default_environment ()
+ );
+
+ static void _get_id_skel (
+ TAO_ServerRequest &req,
+ void *obj,
+ void *context,
+ CORBA::Environment &ACE_TRY_ENV =
+ TAO_default_environment ()
+ );
+
+ static void _set_id_skel (
+ TAO_ServerRequest &req,
+ void *obj,
+ void *context,
+ CORBA::Environment &ACE_TRY_ENV =
+ TAO_default_environment ()
+ );
+
+ static void _get_name_skel (
+ TAO_ServerRequest &req,
+ void *obj,
+ void *context,
+ CORBA::Environment &ACE_TRY_ENV =
+ TAO_default_environment ()
+ );
+
+ static void _set_name_skel (
+ TAO_ServerRequest &req,
+ void *obj,
+ void *context,
+ CORBA::Environment &ACE_TRY_ENV =
+ TAO_default_environment ()
+ );
+
+ static void _get_version_skel (
+ TAO_ServerRequest &req,
+ void *obj,
+ void *context,
+ CORBA::Environment &ACE_TRY_ENV =
+ TAO_default_environment ()
+ );
+
+ static void _set_version_skel (
+ TAO_ServerRequest &req,
+ void *obj,
+ void *context,
+ CORBA::Environment &ACE_TRY_ENV =
+ TAO_default_environment ()
+ );
+
+ static void _get_defined_in_skel (
+ TAO_ServerRequest &req,
+ void *obj,
+ void *context,
+ CORBA::Environment &ACE_TRY_ENV =
+ TAO_default_environment ()
+ );
+
+ static void _get_absolute_name_skel (
+ TAO_ServerRequest &req,
+ void *obj,
+ void *context,
+ CORBA::Environment &ACE_TRY_ENV =
+ TAO_default_environment ()
+ );
+
+ static void _get_containing_repository_skel (
+ TAO_ServerRequest &req,
+ void *obj,
+ void *context,
+ CORBA::Environment &ACE_TRY_ENV =
+ TAO_default_environment ()
+ );
+
+ static void describe_skel (
+ TAO_ServerRequest &req,
+ void *obj,
+ void *context,
+ CORBA::Environment &ACE_TRY_ENV =
+ TAO_default_environment ()
+ );
+
+ static void move_skel (
+ TAO_ServerRequest &req,
+ void *obj,
+ void *context,
+ CORBA::Environment &ACE_TRY_ENV =
+ TAO_default_environment ()
+ );
+
+ static void _get_type_skel (
+ TAO_ServerRequest &req,
+ void *obj,
+ void *context,
+ CORBA::Environment &ACE_TRY_ENV =
+ TAO_default_environment ()
+ );
+
+ static void _get_def_kind_skel (
+ TAO_ServerRequest &req,
+ void *obj,
+ void *context,
+ CORBA::Environment &ACE_TRY_ENV =
+ TAO_default_environment ()
+ );
+
+ static void destroy_skel (
+ TAO_ServerRequest &req,
+ void *obj,
+ void *context,
+ CORBA::Environment &ACE_TRY_ENV =
+ TAO_default_environment ()
+ );
+
+
+#if (TAO_HAS_INTERCEPTORS == 1)
+ // Generation of interceptors related RequestInfo classes per operation.
+ // This needed to be able to store the arguments, exceptions, contexts
+ // and build the lists dynamically on demand so that unnecessary time overhead
+ // of building these lists when they arent used is avoided.
+ class TAO_ServerRequestInfo_CORBA_StructDef_members_get : public TAO_ServerRequestInfo
+ {
+ public:
+ friend class POA_CORBA::StructDef;
+ TAO_ServerRequestInfo_CORBA_StructDef_members_get (
+ TAO_ServerRequest &_tao_server_request,
+ POA_CORBA::StructDef *tao_impl,
+ CORBA::Environment &ACE_TRY_ENV =
+ TAO_default_environment ()
+ );
+
+ virtual Dynamic::ParameterList * arguments (
+ CORBA::Environment &ACE_TRY_ENV =
+ TAO_default_environment ()
+ )
+ ACE_THROW_SPEC ((CORBA::SystemException));
+
+ virtual Dynamic::ExceptionList * exceptions (
+ CORBA::Environment &ACE_TRY_ENV =
+ TAO_default_environment ()
+ )
+ ACE_THROW_SPEC ((CORBA::SystemException));
+
+ virtual CORBA::Any * result (
+ CORBA::Environment &ACE_TRY_ENV =
+ TAO_default_environment ()
+ )
+ ACE_THROW_SPEC ((CORBA::SystemException));
+
+ virtual char * target_most_derived_interface (
+ CORBA::Environment &ACE_TRY_ENV = TAO_default_environment ())
+ ACE_THROW_SPEC ((CORBA::SystemException));
+
+ virtual CORBA::Boolean target_is_a (
+ const char * id,
+ CORBA::Environment &ACE_TRY_ENV = TAO_default_environment ())
+ ACE_THROW_SPEC ((CORBA::SystemException));
+
+ private:
+ TAO_ServerRequestInfo_CORBA_StructDef_members_get (const TAO_ServerRequestInfo_CORBA_StructDef_members_get &);
+ void operator= (const TAO_ServerRequestInfo_CORBA_StructDef_members_get &);
+
+ private:
+ POA_CORBA::StructDef *_tao_impl;
+ void result (CORBA::StructMemberSeq * result);
+ // update the result
+ CORBA::StructMemberSeq * _result;
+ };
+
+ class TAO_ServerRequestInfo_CORBA_StructDef_members_set : public TAO_ServerRequestInfo
+ {
+ public:
+ friend class POA_CORBA::StructDef;
+ TAO_ServerRequestInfo_CORBA_StructDef_members_set (
+ TAO_ServerRequest &_tao_server_request,
+ POA_CORBA::StructDef *tao_impl,
+ const CORBA::StructMemberSeq & members,
+ CORBA::Environment &ACE_TRY_ENV =
+ TAO_default_environment ()
+ );
+
+ virtual Dynamic::ParameterList * arguments (
+ CORBA::Environment &ACE_TRY_ENV =
+ TAO_default_environment ()
+ )
+ ACE_THROW_SPEC ((CORBA::SystemException));
+
+ virtual Dynamic::ExceptionList * exceptions (
+ CORBA::Environment &ACE_TRY_ENV =
+ TAO_default_environment ()
+ )
+ ACE_THROW_SPEC ((CORBA::SystemException));
+
+ virtual CORBA::Any * result (
+ CORBA::Environment &ACE_TRY_ENV =
+ TAO_default_environment ()
+ )
+ ACE_THROW_SPEC ((CORBA::SystemException));
+
+ virtual char * target_most_derived_interface (
+ CORBA::Environment &ACE_TRY_ENV = TAO_default_environment ())
+ ACE_THROW_SPEC ((CORBA::SystemException));
+
+ virtual CORBA::Boolean target_is_a (
+ const char * id,
+ CORBA::Environment &ACE_TRY_ENV = TAO_default_environment ())
+ ACE_THROW_SPEC ((CORBA::SystemException));
+
+ private:
+ TAO_ServerRequestInfo_CORBA_StructDef_members_set (const TAO_ServerRequestInfo_CORBA_StructDef_members_set &);
+ void operator= (const TAO_ServerRequestInfo_CORBA_StructDef_members_set &);
+
+ private:
+ POA_CORBA::StructDef *_tao_impl;
+ const CORBA::StructMemberSeq & members_;
+
+ };
+
+ #endif /* TAO_HAS_INTERCEPTORS */
+
+};
+
+
+///////////////////////////////////////////////////////////////////////
+// Strategized Proxy Broker Declaration
+//
+
+class _TAO_StructDef_Strategized_Proxy_Broker : public virtual ::_TAO_StructDef_Proxy_Broker
+{
+public:
+ _TAO_StructDef_Strategized_Proxy_Broker (void);
+
+ virtual ~_TAO_StructDef_Strategized_Proxy_Broker (void);
+
+ virtual ::_TAO_StructDef_Proxy_Impl &select_proxy (
+ ::CORBA::StructDef *object,
+ CORBA_Environment &ACE_TRY_ENV = TAO_default_environment ()
+ );
+
+private:
+
+// Helper methods that takes care to create the proxy
+// as soon as their use is necessary.
+ void create_proxy (
+ int strategy,
+ CORBA::Environment &ACE_TRY_ENV
+ );
+
+private:
+
+ // Caches the proxy implementations. The proxy implementation
+ // are totally stateless, and those can be shared by all the
+ // instances of a given IDL interface type.
+ ::_TAO_StructDef_Proxy_Impl
+ *proxy_cache_[TAO_Collocation_Strategies::CS_LAST];
+
+ TAO_SYNCH_MUTEX mutex_;
+// This funxtion is used to get an handle to the unique instance
+// of the Strategized Proxy Broker that is available for a given
+// interface.
+
+public:
+ static _TAO_StructDef_Strategized_Proxy_Broker *the_TAO_StructDef_Strategized_Proxy_Broker (void);
+};
+
+
+//
+// End Strategized Proxy Broker Declaration
+///////////////////////////////////////////////////////////////////////
+
+
+///////////////////////////////////////////////////////////////////////
+// ThruPOA Impl. Declaration
+//
+
+class _TAO_StructDef_ThruPOA_Proxy_Impl :
+ public virtual ::_TAO_StructDef_Proxy_Impl,
+ public virtual TAO_ThruPOA_Object_Proxy_Impl,
+ public virtual ::POA_CORBA::_TAO_TypedefDef_ThruPOA_Proxy_Impl,
+ public virtual ::POA_CORBA::_TAO_Container_ThruPOA_Proxy_Impl
+
+{
+public:
+ _TAO_StructDef_ThruPOA_Proxy_Impl (void);
+
+ virtual ~_TAO_StructDef_ThruPOA_Proxy_Impl (void) { }
+
+ virtual CORBA::StructMemberSeq * members (
+ CORBA_Object *_collocated_tao_target_,
+ CORBA::Environment &ACE_TRY_ENV
+ )
+ ACE_THROW_SPEC ((
+ CORBA::SystemException
+ ));
+
+ virtual void members (
+ CORBA_Object *_collocated_tao_target_,
+ const CORBA::StructMemberSeq & members,
+ CORBA::Environment &ACE_TRY_ENV
+ )
+ ACE_THROW_SPEC ((
+ CORBA::SystemException
+ ));
+
+};
+
+
+//
+// ThruPOA Proxy Impl. Declaration
+///////////////////////////////////////////////////////////////////////
+
+
+#if defined (ACE_HAS_USING_KEYWORD)
+// TIE class: Refer to CORBA v2.2, Section 20.34.4
+template <class T>
+class StructDef_tie : public StructDef
+{
+public:
+ StructDef_tie (T &t);
+ // the T& ctor
+ StructDef_tie (T &t, PortableServer::POA_ptr poa);
+ // ctor taking a POA
+ StructDef_tie (T *tp, CORBA::Boolean release=1);
+ // ctor taking pointer and an ownership flag
+ StructDef_tie (T *tp, PortableServer::POA_ptr poa, CORBA::Boolean release=1);
+ // ctor with T*, ownership flag and a POA
+ ~StructDef_tie (void);
+ // dtor
+
+ // TIE specific functions
+ T *_tied_object (void);
+ // return the underlying object
+ void _tied_object (T &obj);
+ // set the underlying object
+ void _tied_object (T *obj, CORBA::Boolean release=1);
+ // set the underlying object and the ownership flag
+ CORBA::Boolean _is_owner (void);
+ // do we own it
+ void _is_owner (CORBA::Boolean b);
+ // set the ownership
+
+ // overridden ServantBase operations
+ PortableServer::POA_ptr _default_POA (
+ CORBA::Environment &ACE_TRY_ENV =
+ TAO_default_environment ()
+ );
+ CORBA::StructMemberSeq * members (
+ CORBA::Environment &ACE_TRY_ENV =
+ TAO_default_environment ()
+ )
+ ACE_THROW_SPEC ((
+ CORBA::SystemException
+ ));
+
+ void members (
+ const CORBA::StructMemberSeq & members,
+ CORBA::Environment &ACE_TRY_ENV =
+ TAO_default_environment ()
+ )
+ ACE_THROW_SPEC ((
+ CORBA::SystemException
+ ));
+
+ CORBA::Contained_ptr lookup (
+ const char * search_name,
+ CORBA::Environment &ACE_TRY_ENV =
+ TAO_default_environment ()
+ )
+ ACE_THROW_SPEC ((
+ CORBA::SystemException
+ ));
+
+ CORBA::ContainedSeq * contents (
+ CORBA::DefinitionKind limit_type,
+ CORBA::Boolean exclude_inherited,
+ CORBA::Environment &ACE_TRY_ENV =
+ TAO_default_environment ()
+ )
+ ACE_THROW_SPEC ((
+ CORBA::SystemException
+ ));
+
+ CORBA::ContainedSeq * lookup_name (
+ const char * search_name,
+ CORBA::Long levels_to_search,
+ CORBA::DefinitionKind limit_type,
+ CORBA::Boolean exclude_inherited,
+ CORBA::Environment &ACE_TRY_ENV =
+ TAO_default_environment ()
+ )
+ ACE_THROW_SPEC ((
+ CORBA::SystemException
+ ));
+
+ CORBA::Container::DescriptionSeq * describe_contents (
+ CORBA::DefinitionKind limit_type,
+ CORBA::Boolean exclude_inherited,
+ CORBA::Long max_returned_objs,
+ CORBA::Environment &ACE_TRY_ENV =
+ TAO_default_environment ()
+ )
+ ACE_THROW_SPEC ((
+ CORBA::SystemException
+ ));
+
+ CORBA::ModuleDef_ptr create_module (
+ const char * id,
+ const char * name,
+ const char * version,
+ CORBA::Environment &ACE_TRY_ENV =
+ TAO_default_environment ()
+ )
+ ACE_THROW_SPEC ((
+ CORBA::SystemException
+ ));
+
+ CORBA::ConstantDef_ptr create_constant (
+ const char * id,
+ const char * name,
+ const char * version,
+ CORBA::IDLType_ptr type,
+ const CORBA::Any & value,
+ CORBA::Environment &ACE_TRY_ENV =
+ TAO_default_environment ()
+ )
+ ACE_THROW_SPEC ((
+ CORBA::SystemException
+ ));
+
+ CORBA::StructDef_ptr create_struct (
+ const char * id,
+ const char * name,
+ const char * version,
+ const CORBA::StructMemberSeq & members,
+ CORBA::Environment &ACE_TRY_ENV =
+ TAO_default_environment ()
+ )
+ ACE_THROW_SPEC ((
+ CORBA::SystemException
+ ));
+
+ CORBA::UnionDef_ptr create_union (
+ const char * id,
+ const char * name,
+ const char * version,
+ CORBA::IDLType_ptr discriminator_type,
+ const CORBA::UnionMemberSeq & members,
+ CORBA::Environment &ACE_TRY_ENV =
+ TAO_default_environment ()
+ )
+ ACE_THROW_SPEC ((
+ CORBA::SystemException
+ ));
+
+ CORBA::EnumDef_ptr create_enum (
+ const char * id,
+ const char * name,
+ const char * version,
+ const CORBA::EnumMemberSeq & members,
+ CORBA::Environment &ACE_TRY_ENV =
+ TAO_default_environment ()
+ )
+ ACE_THROW_SPEC ((
+ CORBA::SystemException
+ ));
+
+ CORBA::AliasDef_ptr create_alias (
+ const char * id,
+ const char * name,
+ const char * version,
+ CORBA::IDLType_ptr original_type,
+ CORBA::Environment &ACE_TRY_ENV =
+ TAO_default_environment ()
+ )
+ ACE_THROW_SPEC ((
+ CORBA::SystemException
+ ));
+
+ CORBA::InterfaceDef_ptr create_interface (
+ const char * id,
+ const char * name,
+ const char * version,
+ const CORBA::InterfaceDefSeq & base_interfaces,
+ CORBA::Environment &ACE_TRY_ENV =
+ TAO_default_environment ()
+ )
+ ACE_THROW_SPEC ((
+ CORBA::SystemException
+ ));
+
+ CORBA::ValueDef_ptr create_value (
+ const char * id,
+ const char * name,
+ const char * version,
+ CORBA::Boolean is_custom,
+ CORBA::Boolean is_abstract,
+ CORBA::ValueDef_ptr base_value,
+ CORBA::Boolean is_truncatable,
+ const CORBA::ValueDefSeq & abstract_base_values,
+ const CORBA::InterfaceDefSeq & supported_interfaces,
+ const CORBA::InitializerSeq & initializers,
+ CORBA::Environment &ACE_TRY_ENV =
+ TAO_default_environment ()
+ )
+ ACE_THROW_SPEC ((
+ CORBA::SystemException
+ ));
+
+ CORBA::ValueBoxDef_ptr create_value_box (
+ const char * id,
+ const char * name,
+ const char * version,
+ CORBA::IDLType_ptr original_type_def,
+ CORBA::Environment &ACE_TRY_ENV =
+ TAO_default_environment ()
+ )
+ ACE_THROW_SPEC ((
+ CORBA::SystemException
+ ));
+
+ CORBA::ExceptionDef_ptr create_exception (
+ const char * id,
+ const char * name,
+ const char * version,
+ const CORBA::StructMemberSeq & members,
+ CORBA::Environment &ACE_TRY_ENV =
+ TAO_default_environment ()
+ )
+ ACE_THROW_SPEC ((
+ CORBA::SystemException
+ ));
+
+ CORBA::NativeDef_ptr create_native (
+ const char * id,
+ const char * name,
+ const char * version,
+ CORBA::Environment &ACE_TRY_ENV =
+ TAO_default_environment ()
+ )
+ ACE_THROW_SPEC ((
+ CORBA::SystemException
+ ));
+
+ CORBA::AbstractInterfaceDef_ptr create_abstract_interface (
+ const char * id,
+ const char * name,
+ const char * version,
+ const CORBA::AbstractInterfaceDefSeq & base_interfaces,
+ CORBA::Environment &ACE_TRY_ENV =
+ TAO_default_environment ()
+ )
+ ACE_THROW_SPEC ((
+ CORBA::SystemException
+ ));
+
+ CORBA::LocalInterfaceDef_ptr create_local_interface (
+ const char * id,
+ const char * name,
+ const char * version,
+ const CORBA::InterfaceDefSeq & base_interfaces,
+ CORBA::Environment &ACE_TRY_ENV =
+ TAO_default_environment ()
+ )
+ ACE_THROW_SPEC ((
+ CORBA::SystemException
+ ));
+
+ char * id (
+ CORBA::Environment &ACE_TRY_ENV =
+ TAO_default_environment ()
+ )
+ ACE_THROW_SPEC ((
+ CORBA::SystemException
+ ));
+
+ void id (
+ const char * id,
+ CORBA::Environment &ACE_TRY_ENV =
+ TAO_default_environment ()
+ )
+ ACE_THROW_SPEC ((
+ CORBA::SystemException
+ ));
+
+ char * name (
+ CORBA::Environment &ACE_TRY_ENV =
+ TAO_default_environment ()
+ )
+ ACE_THROW_SPEC ((
+ CORBA::SystemException
+ ));
+
+ void name (
+ const char * name,
+ CORBA::Environment &ACE_TRY_ENV =
+ TAO_default_environment ()
+ )
+ ACE_THROW_SPEC ((
+ CORBA::SystemException
+ ));
+
+ char * version (
+ CORBA::Environment &ACE_TRY_ENV =
+ TAO_default_environment ()
+ )
+ ACE_THROW_SPEC ((
+ CORBA::SystemException
+ ));
+
+ void version (
+ const char * version,
+ CORBA::Environment &ACE_TRY_ENV =
+ TAO_default_environment ()
+ )
+ ACE_THROW_SPEC ((
+ CORBA::SystemException
+ ));
+
+ CORBA::Container_ptr defined_in (
+ CORBA::Environment &ACE_TRY_ENV =
+ TAO_default_environment ()
+ )
+ ACE_THROW_SPEC ((
+ CORBA::SystemException
+ ));
+
+ char * absolute_name (
+ CORBA::Environment &ACE_TRY_ENV =
+ TAO_default_environment ()
+ )
+ ACE_THROW_SPEC ((
+ CORBA::SystemException
+ ));
+
+ CORBA::Repository_ptr containing_repository (
+ CORBA::Environment &ACE_TRY_ENV =
+ TAO_default_environment ()
+ )
+ ACE_THROW_SPEC ((
+ CORBA::SystemException
+ ));
+
+ CORBA::Contained::Description * describe (
+ CORBA::Environment &ACE_TRY_ENV =
+ TAO_default_environment ()
+ )
+ ACE_THROW_SPEC ((
+ CORBA::SystemException
+ ));
+
+ void move (
+ CORBA::Container_ptr new_container,
+ const char * new_name,
+ const char * new_version,
+ CORBA::Environment &ACE_TRY_ENV =
+ TAO_default_environment ()
+ )
+ ACE_THROW_SPEC ((
+ CORBA::SystemException
+ ));
+
+ CORBA::TypeCode_ptr type (
+ CORBA::Environment &ACE_TRY_ENV =
+ TAO_default_environment ()
+ )
+ ACE_THROW_SPEC ((
+ CORBA::SystemException
+ ));
+
+ CORBA::DefinitionKind def_kind (
+ CORBA::Environment &ACE_TRY_ENV =
+ TAO_default_environment ()
+ )
+ ACE_THROW_SPEC ((
+ CORBA::SystemException
+ ));
+
+ void destroy (
+ CORBA::Environment &ACE_TRY_ENV =
+ TAO_default_environment ()
+ )
+ ACE_THROW_SPEC ((
+ CORBA::SystemException
+ ));
+
+private:
+ T *ptr_;
+ PortableServer::POA_var poa_;
+ CORBA::Boolean rel_;
+
+ // copy and assignment are not allowed
+ StructDef_tie (const StructDef_tie &);
+ void operator= (const StructDef_tie &);
+};
+
+#endif /* ACE_HAS_USING_KEYWORD */
+
+class UnionDef;
+typedef UnionDef *UnionDef_ptr;
+// Forward Classes Declaration
+class _TAO_UnionDef_ThruPOA_Proxy_Impl;
+class _TAO_UnionDef_Strategized_Proxy_Broker;
+
+class UnionDef : public virtual TypedefDef, public virtual Container
+{
+protected:
+ UnionDef (void);
+
+public:
+ UnionDef (const UnionDef& rhs);
+ virtual ~UnionDef (void);
+
+
+ virtual CORBA::Boolean _is_a (
+ const char* logical_type_id,
+ CORBA::Environment &ACE_TRY_ENV =
+ TAO_default_environment ()
+ );
+
+ virtual void* _downcast (
+ const char* logical_type_id
+ );
+
+ static void _is_a_skel (
+ TAO_ServerRequest &req,
+ void *obj,
+ void *context,
+ CORBA::Environment &ACE_TRY_ENV =
+ TAO_default_environment ()
+ );
+
+ static void _non_existent_skel (
+ TAO_ServerRequest &req,
+ void *obj,
+ void *context,
+ CORBA::Environment &ACE_TRY_ENV =
+ TAO_default_environment ()
+ );
+
+ virtual void _dispatch (
+ TAO_ServerRequest &_tao_req,
+ void *_tao_context,
+ CORBA::Environment &ACE_TRY_ENV =
+ TAO_default_environment ()
+ );
+
+ ::CORBA::UnionDef *_this (
+ CORBA::Environment &ACE_TRY_ENV =
+ TAO_default_environment ()
+ );
+
+ virtual const char* _interface_repository_id (void) const;
+
+ virtual CORBA::TypeCode_ptr discriminator_type (
+ CORBA::Environment &ACE_TRY_ENV =
+ TAO_default_environment ()
+ )
+ ACE_THROW_SPEC ((
+ CORBA::SystemException
+ )) = 0;
+
+ static void _get_discriminator_type_skel (
+ TAO_ServerRequest &_tao_req,
+ void *_tao_obj,
+ void *_tao_context,
+ CORBA::Environment &ACE_TRY_ENV =
+ TAO_default_environment ()
+ );
+
+ virtual CORBA::IDLType_ptr discriminator_type_def (
+ CORBA::Environment &ACE_TRY_ENV =
+ TAO_default_environment ()
+ )
+ ACE_THROW_SPEC ((
+ CORBA::SystemException
+ )) = 0;
+
+ static void _get_discriminator_type_def_skel (
+ TAO_ServerRequest &_tao_req,
+ void *_tao_obj,
+ void *_tao_context,
+ CORBA::Environment &ACE_TRY_ENV =
+ TAO_default_environment ()
+ );
+
+ virtual void discriminator_type_def (
+ CORBA::IDLType_ptr discriminator_type_def,
+ CORBA::Environment &ACE_TRY_ENV =
+ TAO_default_environment ()
+ )
+ ACE_THROW_SPEC ((
+ CORBA::SystemException
+ )) = 0;
+
+ static void _set_discriminator_type_def_skel (
+ TAO_ServerRequest &_tao_req,
+ void *_tao_obj,
+ void *_tao_context,
+ CORBA::Environment &ACE_TRY_ENV =
+ TAO_default_environment ()
+ );
+
+ virtual CORBA::UnionMemberSeq * members (
+ CORBA::Environment &ACE_TRY_ENV =
+ TAO_default_environment ()
+ )
+ ACE_THROW_SPEC ((
+ CORBA::SystemException
+ )) = 0;
+
+ static void _get_members_skel (
+ TAO_ServerRequest &_tao_req,
+ void *_tao_obj,
+ void *_tao_context,
+ CORBA::Environment &ACE_TRY_ENV =
+ TAO_default_environment ()
+ );
+
+ virtual void members (
+ const CORBA::UnionMemberSeq & members,
+ CORBA::Environment &ACE_TRY_ENV =
+ TAO_default_environment ()
+ )
+ ACE_THROW_SPEC ((
+ CORBA::SystemException
+ )) = 0;
+
+ static void _set_members_skel (
+ TAO_ServerRequest &_tao_req,
+ void *_tao_obj,
+ void *_tao_context,
+ CORBA::Environment &ACE_TRY_ENV =
+ TAO_default_environment ()
+ );
+
+ static void lookup_skel (
+ TAO_ServerRequest &req,
+ void *obj,
+ void *context,
+ CORBA::Environment &ACE_TRY_ENV =
+ TAO_default_environment ()
+ );
+
+ static void contents_skel (
+ TAO_ServerRequest &req,
+ void *obj,
+ void *context,
+ CORBA::Environment &ACE_TRY_ENV =
+ TAO_default_environment ()
+ );
+
+ static void lookup_name_skel (
+ TAO_ServerRequest &req,
+ void *obj,
+ void *context,
+ CORBA::Environment &ACE_TRY_ENV =
+ TAO_default_environment ()
+ );
+
+ static void describe_contents_skel (
+ TAO_ServerRequest &req,
+ void *obj,
+ void *context,
+ CORBA::Environment &ACE_TRY_ENV =
+ TAO_default_environment ()
+ );
+
+ static void create_module_skel (
+ TAO_ServerRequest &req,
+ void *obj,
+ void *context,
+ CORBA::Environment &ACE_TRY_ENV =
+ TAO_default_environment ()
+ );
+
+ static void create_constant_skel (
+ TAO_ServerRequest &req,
+ void *obj,
+ void *context,
+ CORBA::Environment &ACE_TRY_ENV =
+ TAO_default_environment ()
+ );
+
+ static void create_struct_skel (
+ TAO_ServerRequest &req,
+ void *obj,
+ void *context,
+ CORBA::Environment &ACE_TRY_ENV =
+ TAO_default_environment ()
+ );
+
+ static void create_union_skel (
+ TAO_ServerRequest &req,
+ void *obj,
+ void *context,
+ CORBA::Environment &ACE_TRY_ENV =
+ TAO_default_environment ()
+ );
+
+ static void create_enum_skel (
+ TAO_ServerRequest &req,
+ void *obj,
+ void *context,
+ CORBA::Environment &ACE_TRY_ENV =
+ TAO_default_environment ()
+ );
+
+ static void create_alias_skel (
+ TAO_ServerRequest &req,
+ void *obj,
+ void *context,
+ CORBA::Environment &ACE_TRY_ENV =
+ TAO_default_environment ()
+ );
+
+ static void create_interface_skel (
+ TAO_ServerRequest &req,
+ void *obj,
+ void *context,
+ CORBA::Environment &ACE_TRY_ENV =
+ TAO_default_environment ()
+ );
+
+ static void create_value_skel (
+ TAO_ServerRequest &req,
+ void *obj,
+ void *context,
+ CORBA::Environment &ACE_TRY_ENV =
+ TAO_default_environment ()
+ );
+
+ static void create_value_box_skel (
+ TAO_ServerRequest &req,
+ void *obj,
+ void *context,
+ CORBA::Environment &ACE_TRY_ENV =
+ TAO_default_environment ()
+ );
+
+ static void create_exception_skel (
+ TAO_ServerRequest &req,
+ void *obj,
+ void *context,
+ CORBA::Environment &ACE_TRY_ENV =
+ TAO_default_environment ()
+ );
+
+ static void create_native_skel (
+ TAO_ServerRequest &req,
+ void *obj,
+ void *context,
+ CORBA::Environment &ACE_TRY_ENV =
+ TAO_default_environment ()
+ );
+
+ static void create_abstract_interface_skel (
+ TAO_ServerRequest &req,
+ void *obj,
+ void *context,
+ CORBA::Environment &ACE_TRY_ENV =
+ TAO_default_environment ()
+ );
+
+ static void create_local_interface_skel (
+ TAO_ServerRequest &req,
+ void *obj,
+ void *context,
+ CORBA::Environment &ACE_TRY_ENV =
+ TAO_default_environment ()
+ );
+
+ static void _get_id_skel (
+ TAO_ServerRequest &req,
+ void *obj,
+ void *context,
+ CORBA::Environment &ACE_TRY_ENV =
+ TAO_default_environment ()
+ );
+
+ static void _set_id_skel (
+ TAO_ServerRequest &req,
+ void *obj,
+ void *context,
+ CORBA::Environment &ACE_TRY_ENV =
+ TAO_default_environment ()
+ );
+
+ static void _get_name_skel (
+ TAO_ServerRequest &req,
+ void *obj,
+ void *context,
+ CORBA::Environment &ACE_TRY_ENV =
+ TAO_default_environment ()
+ );
+
+ static void _set_name_skel (
+ TAO_ServerRequest &req,
+ void *obj,
+ void *context,
+ CORBA::Environment &ACE_TRY_ENV =
+ TAO_default_environment ()
+ );
+
+ static void _get_version_skel (
+ TAO_ServerRequest &req,
+ void *obj,
+ void *context,
+ CORBA::Environment &ACE_TRY_ENV =
+ TAO_default_environment ()
+ );
+
+ static void _set_version_skel (
+ TAO_ServerRequest &req,
+ void *obj,
+ void *context,
+ CORBA::Environment &ACE_TRY_ENV =
+ TAO_default_environment ()
+ );
+
+ static void _get_defined_in_skel (
+ TAO_ServerRequest &req,
+ void *obj,
+ void *context,
+ CORBA::Environment &ACE_TRY_ENV =
+ TAO_default_environment ()
+ );
+
+ static void _get_absolute_name_skel (
+ TAO_ServerRequest &req,
+ void *obj,
+ void *context,
+ CORBA::Environment &ACE_TRY_ENV =
+ TAO_default_environment ()
+ );
+
+ static void _get_containing_repository_skel (
+ TAO_ServerRequest &req,
+ void *obj,
+ void *context,
+ CORBA::Environment &ACE_TRY_ENV =
+ TAO_default_environment ()
+ );
+
+ static void describe_skel (
+ TAO_ServerRequest &req,
+ void *obj,
+ void *context,
+ CORBA::Environment &ACE_TRY_ENV =
+ TAO_default_environment ()
+ );
+
+ static void move_skel (
+ TAO_ServerRequest &req,
+ void *obj,
+ void *context,
+ CORBA::Environment &ACE_TRY_ENV =
+ TAO_default_environment ()
+ );
+
+ static void _get_type_skel (
+ TAO_ServerRequest &req,
+ void *obj,
+ void *context,
+ CORBA::Environment &ACE_TRY_ENV =
+ TAO_default_environment ()
+ );
+
+ static void _get_def_kind_skel (
+ TAO_ServerRequest &req,
+ void *obj,
+ void *context,
+ CORBA::Environment &ACE_TRY_ENV =
+ TAO_default_environment ()
+ );
+
+ static void destroy_skel (
+ TAO_ServerRequest &req,
+ void *obj,
+ void *context,
+ CORBA::Environment &ACE_TRY_ENV =
+ TAO_default_environment ()
+ );
+
+
+#if (TAO_HAS_INTERCEPTORS == 1)
+ // Generation of interceptors related RequestInfo classes per operation.
+ // This needed to be able to store the arguments, exceptions, contexts
+ // and build the lists dynamically on demand so that unnecessary time overhead
+ // of building these lists when they arent used is avoided.
+ class TAO_ServerRequestInfo_CORBA_UnionDef_discriminator_type_get : public TAO_ServerRequestInfo
+ {
+ public:
+ friend class POA_CORBA::UnionDef;
+ TAO_ServerRequestInfo_CORBA_UnionDef_discriminator_type_get (
+ TAO_ServerRequest &_tao_server_request,
+ POA_CORBA::UnionDef *tao_impl,
+ CORBA::Environment &ACE_TRY_ENV =
+ TAO_default_environment ()
+ );
+
+ virtual Dynamic::ParameterList * arguments (
+ CORBA::Environment &ACE_TRY_ENV =
+ TAO_default_environment ()
+ )
+ ACE_THROW_SPEC ((CORBA::SystemException));
+
+ virtual Dynamic::ExceptionList * exceptions (
+ CORBA::Environment &ACE_TRY_ENV =
+ TAO_default_environment ()
+ )
+ ACE_THROW_SPEC ((CORBA::SystemException));
+
+ virtual CORBA::Any * result (
+ CORBA::Environment &ACE_TRY_ENV =
+ TAO_default_environment ()
+ )
+ ACE_THROW_SPEC ((CORBA::SystemException));
+
+ virtual char * target_most_derived_interface (
+ CORBA::Environment &ACE_TRY_ENV = TAO_default_environment ())
+ ACE_THROW_SPEC ((CORBA::SystemException));
+
+ virtual CORBA::Boolean target_is_a (
+ const char * id,
+ CORBA::Environment &ACE_TRY_ENV = TAO_default_environment ())
+ ACE_THROW_SPEC ((CORBA::SystemException));
+
+ private:
+ TAO_ServerRequestInfo_CORBA_UnionDef_discriminator_type_get (const TAO_ServerRequestInfo_CORBA_UnionDef_discriminator_type_get &);
+ void operator= (const TAO_ServerRequestInfo_CORBA_UnionDef_discriminator_type_get &);
+
+ private:
+ POA_CORBA::UnionDef *_tao_impl;
+ void result (CORBA::TypeCode_ptr result);
+ // update the result
+ CORBA::TypeCode_ptr _result;
+ };
+
+ class TAO_ServerRequestInfo_CORBA_UnionDef_discriminator_type_def_get : public TAO_ServerRequestInfo
+ {
+ public:
+ friend class POA_CORBA::UnionDef;
+ TAO_ServerRequestInfo_CORBA_UnionDef_discriminator_type_def_get (
+ TAO_ServerRequest &_tao_server_request,
+ POA_CORBA::UnionDef *tao_impl,
+ CORBA::Environment &ACE_TRY_ENV =
+ TAO_default_environment ()
+ );
+
+ virtual Dynamic::ParameterList * arguments (
+ CORBA::Environment &ACE_TRY_ENV =
+ TAO_default_environment ()
+ )
+ ACE_THROW_SPEC ((CORBA::SystemException));
+
+ virtual Dynamic::ExceptionList * exceptions (
+ CORBA::Environment &ACE_TRY_ENV =
+ TAO_default_environment ()
+ )
+ ACE_THROW_SPEC ((CORBA::SystemException));
+
+ virtual CORBA::Any * result (
+ CORBA::Environment &ACE_TRY_ENV =
+ TAO_default_environment ()
+ )
+ ACE_THROW_SPEC ((CORBA::SystemException));
+
+ virtual char * target_most_derived_interface (
+ CORBA::Environment &ACE_TRY_ENV = TAO_default_environment ())
+ ACE_THROW_SPEC ((CORBA::SystemException));
+
+ virtual CORBA::Boolean target_is_a (
+ const char * id,
+ CORBA::Environment &ACE_TRY_ENV = TAO_default_environment ())
+ ACE_THROW_SPEC ((CORBA::SystemException));
+
+ private:
+ TAO_ServerRequestInfo_CORBA_UnionDef_discriminator_type_def_get (const TAO_ServerRequestInfo_CORBA_UnionDef_discriminator_type_def_get &);
+ void operator= (const TAO_ServerRequestInfo_CORBA_UnionDef_discriminator_type_def_get &);
+
+ private:
+ POA_CORBA::UnionDef *_tao_impl;
+ void result (CORBA::IDLType_ptr result);
+ // update the result
+ CORBA::IDLType_ptr _result;
+ };
+
+ class TAO_ServerRequestInfo_CORBA_UnionDef_discriminator_type_def_set : public TAO_ServerRequestInfo
+ {
+ public:
+ friend class POA_CORBA::UnionDef;
+ TAO_ServerRequestInfo_CORBA_UnionDef_discriminator_type_def_set (
+ TAO_ServerRequest &_tao_server_request,
+ POA_CORBA::UnionDef *tao_impl,
+ CORBA::IDLType_ptr discriminator_type_def,
+ CORBA::Environment &ACE_TRY_ENV =
+ TAO_default_environment ()
+ );
+
+ virtual Dynamic::ParameterList * arguments (
+ CORBA::Environment &ACE_TRY_ENV =
+ TAO_default_environment ()
+ )
+ ACE_THROW_SPEC ((CORBA::SystemException));
+
+ virtual Dynamic::ExceptionList * exceptions (
+ CORBA::Environment &ACE_TRY_ENV =
+ TAO_default_environment ()
+ )
+ ACE_THROW_SPEC ((CORBA::SystemException));
+
+ virtual CORBA::Any * result (
+ CORBA::Environment &ACE_TRY_ENV =
+ TAO_default_environment ()
+ )
+ ACE_THROW_SPEC ((CORBA::SystemException));
+
+ virtual char * target_most_derived_interface (
+ CORBA::Environment &ACE_TRY_ENV = TAO_default_environment ())
+ ACE_THROW_SPEC ((CORBA::SystemException));
+
+ virtual CORBA::Boolean target_is_a (
+ const char * id,
+ CORBA::Environment &ACE_TRY_ENV = TAO_default_environment ())
+ ACE_THROW_SPEC ((CORBA::SystemException));
+
+ private:
+ TAO_ServerRequestInfo_CORBA_UnionDef_discriminator_type_def_set (const TAO_ServerRequestInfo_CORBA_UnionDef_discriminator_type_def_set &);
+ void operator= (const TAO_ServerRequestInfo_CORBA_UnionDef_discriminator_type_def_set &);
+
+ private:
+ POA_CORBA::UnionDef *_tao_impl;
+ CORBA::IDLType_ptr discriminator_type_def_;
+
+ };
+
+ class TAO_ServerRequestInfo_CORBA_UnionDef_members_get : public TAO_ServerRequestInfo
+ {
+ public:
+ friend class POA_CORBA::UnionDef;
+ TAO_ServerRequestInfo_CORBA_UnionDef_members_get (
+ TAO_ServerRequest &_tao_server_request,
+ POA_CORBA::UnionDef *tao_impl,
+ CORBA::Environment &ACE_TRY_ENV =
+ TAO_default_environment ()
+ );
+
+ virtual Dynamic::ParameterList * arguments (
+ CORBA::Environment &ACE_TRY_ENV =
+ TAO_default_environment ()
+ )
+ ACE_THROW_SPEC ((CORBA::SystemException));
+
+ virtual Dynamic::ExceptionList * exceptions (
+ CORBA::Environment &ACE_TRY_ENV =
+ TAO_default_environment ()
+ )
+ ACE_THROW_SPEC ((CORBA::SystemException));
+
+ virtual CORBA::Any * result (
+ CORBA::Environment &ACE_TRY_ENV =
+ TAO_default_environment ()
+ )
+ ACE_THROW_SPEC ((CORBA::SystemException));
+
+ virtual char * target_most_derived_interface (
+ CORBA::Environment &ACE_TRY_ENV = TAO_default_environment ())
+ ACE_THROW_SPEC ((CORBA::SystemException));
+
+ virtual CORBA::Boolean target_is_a (
+ const char * id,
+ CORBA::Environment &ACE_TRY_ENV = TAO_default_environment ())
+ ACE_THROW_SPEC ((CORBA::SystemException));
+
+ private:
+ TAO_ServerRequestInfo_CORBA_UnionDef_members_get (const TAO_ServerRequestInfo_CORBA_UnionDef_members_get &);
+ void operator= (const TAO_ServerRequestInfo_CORBA_UnionDef_members_get &);
+
+ private:
+ POA_CORBA::UnionDef *_tao_impl;
+ void result (CORBA::UnionMemberSeq * result);
+ // update the result
+ CORBA::UnionMemberSeq * _result;
+ };
+
+ class TAO_ServerRequestInfo_CORBA_UnionDef_members_set : public TAO_ServerRequestInfo
+ {
+ public:
+ friend class POA_CORBA::UnionDef;
+ TAO_ServerRequestInfo_CORBA_UnionDef_members_set (
+ TAO_ServerRequest &_tao_server_request,
+ POA_CORBA::UnionDef *tao_impl,
+ const CORBA::UnionMemberSeq & members,
+ CORBA::Environment &ACE_TRY_ENV =
+ TAO_default_environment ()
+ );
+
+ virtual Dynamic::ParameterList * arguments (
+ CORBA::Environment &ACE_TRY_ENV =
+ TAO_default_environment ()
+ )
+ ACE_THROW_SPEC ((CORBA::SystemException));
+
+ virtual Dynamic::ExceptionList * exceptions (
+ CORBA::Environment &ACE_TRY_ENV =
+ TAO_default_environment ()
+ )
+ ACE_THROW_SPEC ((CORBA::SystemException));
+
+ virtual CORBA::Any * result (
+ CORBA::Environment &ACE_TRY_ENV =
+ TAO_default_environment ()
+ )
+ ACE_THROW_SPEC ((CORBA::SystemException));
+
+ virtual char * target_most_derived_interface (
+ CORBA::Environment &ACE_TRY_ENV = TAO_default_environment ())
+ ACE_THROW_SPEC ((CORBA::SystemException));
+
+ virtual CORBA::Boolean target_is_a (
+ const char * id,
+ CORBA::Environment &ACE_TRY_ENV = TAO_default_environment ())
+ ACE_THROW_SPEC ((CORBA::SystemException));
+
+ private:
+ TAO_ServerRequestInfo_CORBA_UnionDef_members_set (const TAO_ServerRequestInfo_CORBA_UnionDef_members_set &);
+ void operator= (const TAO_ServerRequestInfo_CORBA_UnionDef_members_set &);
+
+ private:
+ POA_CORBA::UnionDef *_tao_impl;
+ const CORBA::UnionMemberSeq & members_;
+
+ };
+
+ #endif /* TAO_HAS_INTERCEPTORS */
+
+};
+
+
+///////////////////////////////////////////////////////////////////////
+// Strategized Proxy Broker Declaration
+//
+
+class _TAO_UnionDef_Strategized_Proxy_Broker : public virtual ::_TAO_UnionDef_Proxy_Broker
+{
+public:
+ _TAO_UnionDef_Strategized_Proxy_Broker (void);
+
+ virtual ~_TAO_UnionDef_Strategized_Proxy_Broker (void);
+
+ virtual ::_TAO_UnionDef_Proxy_Impl &select_proxy (
+ ::CORBA::UnionDef *object,
+ CORBA_Environment &ACE_TRY_ENV = TAO_default_environment ()
+ );
+
+private:
+
+// Helper methods that takes care to create the proxy
+// as soon as their use is necessary.
+ void create_proxy (
+ int strategy,
+ CORBA::Environment &ACE_TRY_ENV
+ );
+
+private:
+
+ // Caches the proxy implementations. The proxy implementation
+ // are totally stateless, and those can be shared by all the
+ // instances of a given IDL interface type.
+ ::_TAO_UnionDef_Proxy_Impl
+ *proxy_cache_[TAO_Collocation_Strategies::CS_LAST];
+
+ TAO_SYNCH_MUTEX mutex_;
+// This funxtion is used to get an handle to the unique instance
+// of the Strategized Proxy Broker that is available for a given
+// interface.
+
+public:
+ static _TAO_UnionDef_Strategized_Proxy_Broker *the_TAO_UnionDef_Strategized_Proxy_Broker (void);
+};
+
+
+//
+// End Strategized Proxy Broker Declaration
+///////////////////////////////////////////////////////////////////////
+
+
+///////////////////////////////////////////////////////////////////////
+// ThruPOA Impl. Declaration
+//
+
+class _TAO_UnionDef_ThruPOA_Proxy_Impl :
+ public virtual ::_TAO_UnionDef_Proxy_Impl,
+ public virtual TAO_ThruPOA_Object_Proxy_Impl,
+ public virtual ::POA_CORBA::_TAO_TypedefDef_ThruPOA_Proxy_Impl,
+ public virtual ::POA_CORBA::_TAO_Container_ThruPOA_Proxy_Impl
+
+{
+public:
+ _TAO_UnionDef_ThruPOA_Proxy_Impl (void);
+
+ virtual ~_TAO_UnionDef_ThruPOA_Proxy_Impl (void) { }
+
+ virtual CORBA::TypeCode_ptr discriminator_type (
+ CORBA_Object *_collocated_tao_target_,
+ CORBA::Environment &ACE_TRY_ENV
+ )
+ ACE_THROW_SPEC ((
+ CORBA::SystemException
+ ));
+
+ virtual CORBA::IDLType_ptr discriminator_type_def (
+ CORBA_Object *_collocated_tao_target_,
+ CORBA::Environment &ACE_TRY_ENV
+ )
+ ACE_THROW_SPEC ((
+ CORBA::SystemException
+ ));
+
+ virtual void discriminator_type_def (
+ CORBA_Object *_collocated_tao_target_,
+ CORBA::IDLType_ptr discriminator_type_def,
+ CORBA::Environment &ACE_TRY_ENV
+ )
+ ACE_THROW_SPEC ((
+ CORBA::SystemException
+ ));
+
+ virtual CORBA::UnionMemberSeq * members (
+ CORBA_Object *_collocated_tao_target_,
+ CORBA::Environment &ACE_TRY_ENV
+ )
+ ACE_THROW_SPEC ((
+ CORBA::SystemException
+ ));
+
+ virtual void members (
+ CORBA_Object *_collocated_tao_target_,
+ const CORBA::UnionMemberSeq & members,
+ CORBA::Environment &ACE_TRY_ENV
+ )
+ ACE_THROW_SPEC ((
+ CORBA::SystemException
+ ));
+
+};
+
+
+//
+// ThruPOA Proxy Impl. Declaration
+///////////////////////////////////////////////////////////////////////
+
+
+#if defined (ACE_HAS_USING_KEYWORD)
+// TIE class: Refer to CORBA v2.2, Section 20.34.4
+template <class T>
+class UnionDef_tie : public UnionDef
+{
+public:
+ UnionDef_tie (T &t);
+ // the T& ctor
+ UnionDef_tie (T &t, PortableServer::POA_ptr poa);
+ // ctor taking a POA
+ UnionDef_tie (T *tp, CORBA::Boolean release=1);
+ // ctor taking pointer and an ownership flag
+ UnionDef_tie (T *tp, PortableServer::POA_ptr poa, CORBA::Boolean release=1);
+ // ctor with T*, ownership flag and a POA
+ ~UnionDef_tie (void);
+ // dtor
+
+ // TIE specific functions
+ T *_tied_object (void);
+ // return the underlying object
+ void _tied_object (T &obj);
+ // set the underlying object
+ void _tied_object (T *obj, CORBA::Boolean release=1);
+ // set the underlying object and the ownership flag
+ CORBA::Boolean _is_owner (void);
+ // do we own it
+ void _is_owner (CORBA::Boolean b);
+ // set the ownership
+
+ // overridden ServantBase operations
+ PortableServer::POA_ptr _default_POA (
+ CORBA::Environment &ACE_TRY_ENV =
+ TAO_default_environment ()
+ );
+ CORBA::TypeCode_ptr discriminator_type (
+ CORBA::Environment &ACE_TRY_ENV =
+ TAO_default_environment ()
+ )
+ ACE_THROW_SPEC ((
+ CORBA::SystemException
+ ));
+
+ CORBA::IDLType_ptr discriminator_type_def (
+ CORBA::Environment &ACE_TRY_ENV =
+ TAO_default_environment ()
+ )
+ ACE_THROW_SPEC ((
+ CORBA::SystemException
+ ));
+
+ void discriminator_type_def (
+ CORBA::IDLType_ptr discriminator_type_def,
+ CORBA::Environment &ACE_TRY_ENV =
+ TAO_default_environment ()
+ )
+ ACE_THROW_SPEC ((
+ CORBA::SystemException
+ ));
+
+ CORBA::UnionMemberSeq * members (
+ CORBA::Environment &ACE_TRY_ENV =
+ TAO_default_environment ()
+ )
+ ACE_THROW_SPEC ((
+ CORBA::SystemException
+ ));
+
+ void members (
+ const CORBA::UnionMemberSeq & members,
+ CORBA::Environment &ACE_TRY_ENV =
+ TAO_default_environment ()
+ )
+ ACE_THROW_SPEC ((
+ CORBA::SystemException
+ ));
+
+ CORBA::Contained_ptr lookup (
+ const char * search_name,
+ CORBA::Environment &ACE_TRY_ENV =
+ TAO_default_environment ()
+ )
+ ACE_THROW_SPEC ((
+ CORBA::SystemException
+ ));
+
+ CORBA::ContainedSeq * contents (
+ CORBA::DefinitionKind limit_type,
+ CORBA::Boolean exclude_inherited,
+ CORBA::Environment &ACE_TRY_ENV =
+ TAO_default_environment ()
+ )
+ ACE_THROW_SPEC ((
+ CORBA::SystemException
+ ));
+
+ CORBA::ContainedSeq * lookup_name (
+ const char * search_name,
+ CORBA::Long levels_to_search,
+ CORBA::DefinitionKind limit_type,
+ CORBA::Boolean exclude_inherited,
+ CORBA::Environment &ACE_TRY_ENV =
+ TAO_default_environment ()
+ )
+ ACE_THROW_SPEC ((
+ CORBA::SystemException
+ ));
+
+ CORBA::Container::DescriptionSeq * describe_contents (
+ CORBA::DefinitionKind limit_type,
+ CORBA::Boolean exclude_inherited,
+ CORBA::Long max_returned_objs,
+ CORBA::Environment &ACE_TRY_ENV =
+ TAO_default_environment ()
+ )
+ ACE_THROW_SPEC ((
+ CORBA::SystemException
+ ));
+
+ CORBA::ModuleDef_ptr create_module (
+ const char * id,
+ const char * name,
+ const char * version,
+ CORBA::Environment &ACE_TRY_ENV =
+ TAO_default_environment ()
+ )
+ ACE_THROW_SPEC ((
+ CORBA::SystemException
+ ));
+
+ CORBA::ConstantDef_ptr create_constant (
+ const char * id,
+ const char * name,
+ const char * version,
+ CORBA::IDLType_ptr type,
+ const CORBA::Any & value,
+ CORBA::Environment &ACE_TRY_ENV =
+ TAO_default_environment ()
+ )
+ ACE_THROW_SPEC ((
+ CORBA::SystemException
+ ));
+
+ CORBA::StructDef_ptr create_struct (
+ const char * id,
+ const char * name,
+ const char * version,
+ const CORBA::StructMemberSeq & members,
+ CORBA::Environment &ACE_TRY_ENV =
+ TAO_default_environment ()
+ )
+ ACE_THROW_SPEC ((
+ CORBA::SystemException
+ ));
+
+ CORBA::UnionDef_ptr create_union (
+ const char * id,
+ const char * name,
+ const char * version,
+ CORBA::IDLType_ptr discriminator_type,
+ const CORBA::UnionMemberSeq & members,
+ CORBA::Environment &ACE_TRY_ENV =
+ TAO_default_environment ()
+ )
+ ACE_THROW_SPEC ((
+ CORBA::SystemException
+ ));
+
+ CORBA::EnumDef_ptr create_enum (
+ const char * id,
+ const char * name,
+ const char * version,
+ const CORBA::EnumMemberSeq & members,
+ CORBA::Environment &ACE_TRY_ENV =
+ TAO_default_environment ()
+ )
+ ACE_THROW_SPEC ((
+ CORBA::SystemException
+ ));
+
+ CORBA::AliasDef_ptr create_alias (
+ const char * id,
+ const char * name,
+ const char * version,
+ CORBA::IDLType_ptr original_type,
+ CORBA::Environment &ACE_TRY_ENV =
+ TAO_default_environment ()
+ )
+ ACE_THROW_SPEC ((
+ CORBA::SystemException
+ ));
+
+ CORBA::InterfaceDef_ptr create_interface (
+ const char * id,
+ const char * name,
+ const char * version,
+ const CORBA::InterfaceDefSeq & base_interfaces,
+ CORBA::Environment &ACE_TRY_ENV =
+ TAO_default_environment ()
+ )
+ ACE_THROW_SPEC ((
+ CORBA::SystemException
+ ));
+
+ CORBA::ValueDef_ptr create_value (
+ const char * id,
+ const char * name,
+ const char * version,
+ CORBA::Boolean is_custom,
+ CORBA::Boolean is_abstract,
+ CORBA::ValueDef_ptr base_value,
+ CORBA::Boolean is_truncatable,
+ const CORBA::ValueDefSeq & abstract_base_values,
+ const CORBA::InterfaceDefSeq & supported_interfaces,
+ const CORBA::InitializerSeq & initializers,
+ CORBA::Environment &ACE_TRY_ENV =
+ TAO_default_environment ()
+ )
+ ACE_THROW_SPEC ((
+ CORBA::SystemException
+ ));
+
+ CORBA::ValueBoxDef_ptr create_value_box (
+ const char * id,
+ const char * name,
+ const char * version,
+ CORBA::IDLType_ptr original_type_def,
+ CORBA::Environment &ACE_TRY_ENV =
+ TAO_default_environment ()
+ )
+ ACE_THROW_SPEC ((
+ CORBA::SystemException
+ ));
+
+ CORBA::ExceptionDef_ptr create_exception (
+ const char * id,
+ const char * name,
+ const char * version,
+ const CORBA::StructMemberSeq & members,
+ CORBA::Environment &ACE_TRY_ENV =
+ TAO_default_environment ()
+ )
+ ACE_THROW_SPEC ((
+ CORBA::SystemException
+ ));
+
+ CORBA::NativeDef_ptr create_native (
+ const char * id,
+ const char * name,
+ const char * version,
+ CORBA::Environment &ACE_TRY_ENV =
+ TAO_default_environment ()
+ )
+ ACE_THROW_SPEC ((
+ CORBA::SystemException
+ ));
+
+ CORBA::AbstractInterfaceDef_ptr create_abstract_interface (
+ const char * id,
+ const char * name,
+ const char * version,
+ const CORBA::AbstractInterfaceDefSeq & base_interfaces,
+ CORBA::Environment &ACE_TRY_ENV =
+ TAO_default_environment ()
+ )
+ ACE_THROW_SPEC ((
+ CORBA::SystemException
+ ));
+
+ CORBA::LocalInterfaceDef_ptr create_local_interface (
+ const char * id,
+ const char * name,
+ const char * version,
+ const CORBA::InterfaceDefSeq & base_interfaces,
+ CORBA::Environment &ACE_TRY_ENV =
+ TAO_default_environment ()
+ )
+ ACE_THROW_SPEC ((
+ CORBA::SystemException
+ ));
+
+ char * id (
+ CORBA::Environment &ACE_TRY_ENV =
+ TAO_default_environment ()
+ )
+ ACE_THROW_SPEC ((
+ CORBA::SystemException
+ ));
+
+ void id (
+ const char * id,
+ CORBA::Environment &ACE_TRY_ENV =
+ TAO_default_environment ()
+ )
+ ACE_THROW_SPEC ((
+ CORBA::SystemException
+ ));
+
+ char * name (
+ CORBA::Environment &ACE_TRY_ENV =
+ TAO_default_environment ()
+ )
+ ACE_THROW_SPEC ((
+ CORBA::SystemException
+ ));
+
+ void name (
+ const char * name,
+ CORBA::Environment &ACE_TRY_ENV =
+ TAO_default_environment ()
+ )
+ ACE_THROW_SPEC ((
+ CORBA::SystemException
+ ));
+
+ char * version (
+ CORBA::Environment &ACE_TRY_ENV =
+ TAO_default_environment ()
+ )
+ ACE_THROW_SPEC ((
+ CORBA::SystemException
+ ));
+
+ void version (
+ const char * version,
+ CORBA::Environment &ACE_TRY_ENV =
+ TAO_default_environment ()
+ )
+ ACE_THROW_SPEC ((
+ CORBA::SystemException
+ ));
+
+ CORBA::Container_ptr defined_in (
+ CORBA::Environment &ACE_TRY_ENV =
+ TAO_default_environment ()
+ )
+ ACE_THROW_SPEC ((
+ CORBA::SystemException
+ ));
+
+ char * absolute_name (
+ CORBA::Environment &ACE_TRY_ENV =
+ TAO_default_environment ()
+ )
+ ACE_THROW_SPEC ((
+ CORBA::SystemException
+ ));
+
+ CORBA::Repository_ptr containing_repository (
+ CORBA::Environment &ACE_TRY_ENV =
+ TAO_default_environment ()
+ )
+ ACE_THROW_SPEC ((
+ CORBA::SystemException
+ ));
+
+ CORBA::Contained::Description * describe (
+ CORBA::Environment &ACE_TRY_ENV =
+ TAO_default_environment ()
+ )
+ ACE_THROW_SPEC ((
+ CORBA::SystemException
+ ));
+
+ void move (
+ CORBA::Container_ptr new_container,
+ const char * new_name,
+ const char * new_version,
+ CORBA::Environment &ACE_TRY_ENV =
+ TAO_default_environment ()
+ )
+ ACE_THROW_SPEC ((
+ CORBA::SystemException
+ ));
+
+ CORBA::TypeCode_ptr type (
+ CORBA::Environment &ACE_TRY_ENV =
+ TAO_default_environment ()
+ )
+ ACE_THROW_SPEC ((
+ CORBA::SystemException
+ ));
+
+ CORBA::DefinitionKind def_kind (
+ CORBA::Environment &ACE_TRY_ENV =
+ TAO_default_environment ()
+ )
+ ACE_THROW_SPEC ((
+ CORBA::SystemException
+ ));
+
+ void destroy (
+ CORBA::Environment &ACE_TRY_ENV =
+ TAO_default_environment ()
+ )
+ ACE_THROW_SPEC ((
+ CORBA::SystemException
+ ));
+
+private:
+ T *ptr_;
+ PortableServer::POA_var poa_;
+ CORBA::Boolean rel_;
+
+ // copy and assignment are not allowed
+ UnionDef_tie (const UnionDef_tie &);
+ void operator= (const UnionDef_tie &);
+};
+
+#endif /* ACE_HAS_USING_KEYWORD */
+
+class EnumDef;
+typedef EnumDef *EnumDef_ptr;
+// Forward Classes Declaration
+class _TAO_EnumDef_ThruPOA_Proxy_Impl;
+class _TAO_EnumDef_Strategized_Proxy_Broker;
+
+class EnumDef : public virtual TypedefDef
+{
+protected:
+ EnumDef (void);
+
+public:
+ EnumDef (const EnumDef& rhs);
+ virtual ~EnumDef (void);
+
+
+ virtual CORBA::Boolean _is_a (
+ const char* logical_type_id,
+ CORBA::Environment &ACE_TRY_ENV =
+ TAO_default_environment ()
+ );
+
+ virtual void* _downcast (
+ const char* logical_type_id
+ );
+
+ static void _is_a_skel (
+ TAO_ServerRequest &req,
+ void *obj,
+ void *context,
+ CORBA::Environment &ACE_TRY_ENV =
+ TAO_default_environment ()
+ );
+
+ static void _non_existent_skel (
+ TAO_ServerRequest &req,
+ void *obj,
+ void *context,
+ CORBA::Environment &ACE_TRY_ENV =
+ TAO_default_environment ()
+ );
+
+ virtual void _dispatch (
+ TAO_ServerRequest &_tao_req,
+ void *_tao_context,
+ CORBA::Environment &ACE_TRY_ENV =
+ TAO_default_environment ()
+ );
+
+ ::CORBA::EnumDef *_this (
+ CORBA::Environment &ACE_TRY_ENV =
+ TAO_default_environment ()
+ );
+
+ virtual const char* _interface_repository_id (void) const;
+
+ virtual CORBA::EnumMemberSeq * members (
+ CORBA::Environment &ACE_TRY_ENV =
+ TAO_default_environment ()
+ )
+ ACE_THROW_SPEC ((
+ CORBA::SystemException
+ )) = 0;
+
+ static void _get_members_skel (
+ TAO_ServerRequest &_tao_req,
+ void *_tao_obj,
+ void *_tao_context,
+ CORBA::Environment &ACE_TRY_ENV =
+ TAO_default_environment ()
+ );
+
+ virtual void members (
+ const CORBA::EnumMemberSeq & members,
+ CORBA::Environment &ACE_TRY_ENV =
+ TAO_default_environment ()
+ )
+ ACE_THROW_SPEC ((
+ CORBA::SystemException
+ )) = 0;
+
+ static void _set_members_skel (
+ TAO_ServerRequest &_tao_req,
+ void *_tao_obj,
+ void *_tao_context,
+ CORBA::Environment &ACE_TRY_ENV =
+ TAO_default_environment ()
+ );
+
+ static void _get_id_skel (
+ TAO_ServerRequest &req,
+ void *obj,
+ void *context,
+ CORBA::Environment &ACE_TRY_ENV =
+ TAO_default_environment ()
+ );
+
+ static void _set_id_skel (
+ TAO_ServerRequest &req,
+ void *obj,
+ void *context,
+ CORBA::Environment &ACE_TRY_ENV =
+ TAO_default_environment ()
+ );
+
+ static void _get_name_skel (
+ TAO_ServerRequest &req,
+ void *obj,
+ void *context,
+ CORBA::Environment &ACE_TRY_ENV =
+ TAO_default_environment ()
+ );
+
+ static void _set_name_skel (
+ TAO_ServerRequest &req,
+ void *obj,
+ void *context,
+ CORBA::Environment &ACE_TRY_ENV =
+ TAO_default_environment ()
+ );
+
+ static void _get_version_skel (
+ TAO_ServerRequest &req,
+ void *obj,
+ void *context,
+ CORBA::Environment &ACE_TRY_ENV =
+ TAO_default_environment ()
+ );
+
+ static void _set_version_skel (
+ TAO_ServerRequest &req,
+ void *obj,
+ void *context,
+ CORBA::Environment &ACE_TRY_ENV =
+ TAO_default_environment ()
+ );
+
+ static void _get_defined_in_skel (
+ TAO_ServerRequest &req,
+ void *obj,
+ void *context,
+ CORBA::Environment &ACE_TRY_ENV =
+ TAO_default_environment ()
+ );
+
+ static void _get_absolute_name_skel (
+ TAO_ServerRequest &req,
+ void *obj,
+ void *context,
+ CORBA::Environment &ACE_TRY_ENV =
+ TAO_default_environment ()
+ );
+
+ static void _get_containing_repository_skel (
+ TAO_ServerRequest &req,
+ void *obj,
+ void *context,
+ CORBA::Environment &ACE_TRY_ENV =
+ TAO_default_environment ()
+ );
+
+ static void describe_skel (
+ TAO_ServerRequest &req,
+ void *obj,
+ void *context,
+ CORBA::Environment &ACE_TRY_ENV =
+ TAO_default_environment ()
+ );
+
+ static void move_skel (
+ TAO_ServerRequest &req,
+ void *obj,
+ void *context,
+ CORBA::Environment &ACE_TRY_ENV =
+ TAO_default_environment ()
+ );
+
+ static void _get_type_skel (
+ TAO_ServerRequest &req,
+ void *obj,
+ void *context,
+ CORBA::Environment &ACE_TRY_ENV =
+ TAO_default_environment ()
+ );
+
+ static void _get_def_kind_skel (
+ TAO_ServerRequest &req,
+ void *obj,
+ void *context,
+ CORBA::Environment &ACE_TRY_ENV =
+ TAO_default_environment ()
+ );
+
+ static void destroy_skel (
+ TAO_ServerRequest &req,
+ void *obj,
+ void *context,
+ CORBA::Environment &ACE_TRY_ENV =
+ TAO_default_environment ()
+ );
+
+
+#if (TAO_HAS_INTERCEPTORS == 1)
+ // Generation of interceptors related RequestInfo classes per operation.
+ // This needed to be able to store the arguments, exceptions, contexts
+ // and build the lists dynamically on demand so that unnecessary time overhead
+ // of building these lists when they arent used is avoided.
+ class TAO_ServerRequestInfo_CORBA_EnumDef_members_get : public TAO_ServerRequestInfo
+ {
+ public:
+ friend class POA_CORBA::EnumDef;
+ TAO_ServerRequestInfo_CORBA_EnumDef_members_get (
+ TAO_ServerRequest &_tao_server_request,
+ POA_CORBA::EnumDef *tao_impl,
+ CORBA::Environment &ACE_TRY_ENV =
+ TAO_default_environment ()
+ );
+
+ virtual Dynamic::ParameterList * arguments (
+ CORBA::Environment &ACE_TRY_ENV =
+ TAO_default_environment ()
+ )
+ ACE_THROW_SPEC ((CORBA::SystemException));
+
+ virtual Dynamic::ExceptionList * exceptions (
+ CORBA::Environment &ACE_TRY_ENV =
+ TAO_default_environment ()
+ )
+ ACE_THROW_SPEC ((CORBA::SystemException));
+
+ virtual CORBA::Any * result (
+ CORBA::Environment &ACE_TRY_ENV =
+ TAO_default_environment ()
+ )
+ ACE_THROW_SPEC ((CORBA::SystemException));
+
+ virtual char * target_most_derived_interface (
+ CORBA::Environment &ACE_TRY_ENV = TAO_default_environment ())
+ ACE_THROW_SPEC ((CORBA::SystemException));
+
+ virtual CORBA::Boolean target_is_a (
+ const char * id,
+ CORBA::Environment &ACE_TRY_ENV = TAO_default_environment ())
+ ACE_THROW_SPEC ((CORBA::SystemException));
+
+ private:
+ TAO_ServerRequestInfo_CORBA_EnumDef_members_get (const TAO_ServerRequestInfo_CORBA_EnumDef_members_get &);
+ void operator= (const TAO_ServerRequestInfo_CORBA_EnumDef_members_get &);
+
+ private:
+ POA_CORBA::EnumDef *_tao_impl;
+ void result (CORBA::EnumMemberSeq * result);
+ // update the result
+ CORBA::EnumMemberSeq * _result;
+ };
+
+ class TAO_ServerRequestInfo_CORBA_EnumDef_members_set : public TAO_ServerRequestInfo
+ {
+ public:
+ friend class POA_CORBA::EnumDef;
+ TAO_ServerRequestInfo_CORBA_EnumDef_members_set (
+ TAO_ServerRequest &_tao_server_request,
+ POA_CORBA::EnumDef *tao_impl,
+ const CORBA::EnumMemberSeq & members,
+ CORBA::Environment &ACE_TRY_ENV =
+ TAO_default_environment ()
+ );
+
+ virtual Dynamic::ParameterList * arguments (
+ CORBA::Environment &ACE_TRY_ENV =
+ TAO_default_environment ()
+ )
+ ACE_THROW_SPEC ((CORBA::SystemException));
+
+ virtual Dynamic::ExceptionList * exceptions (
+ CORBA::Environment &ACE_TRY_ENV =
+ TAO_default_environment ()
+ )
+ ACE_THROW_SPEC ((CORBA::SystemException));
+
+ virtual CORBA::Any * result (
+ CORBA::Environment &ACE_TRY_ENV =
+ TAO_default_environment ()
+ )
+ ACE_THROW_SPEC ((CORBA::SystemException));
+
+ virtual char * target_most_derived_interface (
+ CORBA::Environment &ACE_TRY_ENV = TAO_default_environment ())
+ ACE_THROW_SPEC ((CORBA::SystemException));
+
+ virtual CORBA::Boolean target_is_a (
+ const char * id,
+ CORBA::Environment &ACE_TRY_ENV = TAO_default_environment ())
+ ACE_THROW_SPEC ((CORBA::SystemException));
+
+ private:
+ TAO_ServerRequestInfo_CORBA_EnumDef_members_set (const TAO_ServerRequestInfo_CORBA_EnumDef_members_set &);
+ void operator= (const TAO_ServerRequestInfo_CORBA_EnumDef_members_set &);
+
+ private:
+ POA_CORBA::EnumDef *_tao_impl;
+ const CORBA::EnumMemberSeq & members_;
+
+ };
+
+ #endif /* TAO_HAS_INTERCEPTORS */
+
+};
+
+
+///////////////////////////////////////////////////////////////////////
+// Strategized Proxy Broker Declaration
+//
+
+class _TAO_EnumDef_Strategized_Proxy_Broker : public virtual ::_TAO_EnumDef_Proxy_Broker
+{
+public:
+ _TAO_EnumDef_Strategized_Proxy_Broker (void);
+
+ virtual ~_TAO_EnumDef_Strategized_Proxy_Broker (void);
+
+ virtual ::_TAO_EnumDef_Proxy_Impl &select_proxy (
+ ::CORBA::EnumDef *object,
+ CORBA_Environment &ACE_TRY_ENV = TAO_default_environment ()
+ );
+
+private:
+
+// Helper methods that takes care to create the proxy
+// as soon as their use is necessary.
+ void create_proxy (
+ int strategy,
+ CORBA::Environment &ACE_TRY_ENV
+ );
+
+private:
+
+ // Caches the proxy implementations. The proxy implementation
+ // are totally stateless, and those can be shared by all the
+ // instances of a given IDL interface type.
+ ::_TAO_EnumDef_Proxy_Impl
+ *proxy_cache_[TAO_Collocation_Strategies::CS_LAST];
+
+ TAO_SYNCH_MUTEX mutex_;
+// This funxtion is used to get an handle to the unique instance
+// of the Strategized Proxy Broker that is available for a given
+// interface.
+
+public:
+ static _TAO_EnumDef_Strategized_Proxy_Broker *the_TAO_EnumDef_Strategized_Proxy_Broker (void);
+};
+
+
+//
+// End Strategized Proxy Broker Declaration
+///////////////////////////////////////////////////////////////////////
+
+
+///////////////////////////////////////////////////////////////////////
+// ThruPOA Impl. Declaration
+//
+
+class _TAO_EnumDef_ThruPOA_Proxy_Impl :
+ public virtual ::_TAO_EnumDef_Proxy_Impl,
+ public virtual TAO_ThruPOA_Object_Proxy_Impl,
+ public virtual ::POA_CORBA::_TAO_TypedefDef_ThruPOA_Proxy_Impl
+
+{
+public:
+ _TAO_EnumDef_ThruPOA_Proxy_Impl (void);
+
+ virtual ~_TAO_EnumDef_ThruPOA_Proxy_Impl (void) { }
+
+ virtual CORBA::EnumMemberSeq * members (
+ CORBA_Object *_collocated_tao_target_,
+ CORBA::Environment &ACE_TRY_ENV
+ )
+ ACE_THROW_SPEC ((
+ CORBA::SystemException
+ ));
+
+ virtual void members (
+ CORBA_Object *_collocated_tao_target_,
+ const CORBA::EnumMemberSeq & members,
+ CORBA::Environment &ACE_TRY_ENV
+ )
+ ACE_THROW_SPEC ((
+ CORBA::SystemException
+ ));
+
+};
+
+
+//
+// ThruPOA Proxy Impl. Declaration
+///////////////////////////////////////////////////////////////////////
+
+
+#if defined (ACE_HAS_USING_KEYWORD)
+// TIE class: Refer to CORBA v2.2, Section 20.34.4
+template <class T>
+class EnumDef_tie : public EnumDef
+{
+public:
+ EnumDef_tie (T &t);
+ // the T& ctor
+ EnumDef_tie (T &t, PortableServer::POA_ptr poa);
+ // ctor taking a POA
+ EnumDef_tie (T *tp, CORBA::Boolean release=1);
+ // ctor taking pointer and an ownership flag
+ EnumDef_tie (T *tp, PortableServer::POA_ptr poa, CORBA::Boolean release=1);
+ // ctor with T*, ownership flag and a POA
+ ~EnumDef_tie (void);
+ // dtor
+
+ // TIE specific functions
+ T *_tied_object (void);
+ // return the underlying object
+ void _tied_object (T &obj);
+ // set the underlying object
+ void _tied_object (T *obj, CORBA::Boolean release=1);
+ // set the underlying object and the ownership flag
+ CORBA::Boolean _is_owner (void);
+ // do we own it
+ void _is_owner (CORBA::Boolean b);
+ // set the ownership
+
+ // overridden ServantBase operations
+ PortableServer::POA_ptr _default_POA (
+ CORBA::Environment &ACE_TRY_ENV =
+ TAO_default_environment ()
+ );
+ CORBA::EnumMemberSeq * members (
+ CORBA::Environment &ACE_TRY_ENV =
+ TAO_default_environment ()
+ )
+ ACE_THROW_SPEC ((
+ CORBA::SystemException
+ ));
+
+ void members (
+ const CORBA::EnumMemberSeq & members,
+ CORBA::Environment &ACE_TRY_ENV =
+ TAO_default_environment ()
+ )
+ ACE_THROW_SPEC ((
+ CORBA::SystemException
+ ));
+
+ char * id (
+ CORBA::Environment &ACE_TRY_ENV =
+ TAO_default_environment ()
+ )
+ ACE_THROW_SPEC ((
+ CORBA::SystemException
+ ));
+
+ void id (
+ const char * id,
+ CORBA::Environment &ACE_TRY_ENV =
+ TAO_default_environment ()
+ )
+ ACE_THROW_SPEC ((
+ CORBA::SystemException
+ ));
+
+ char * name (
+ CORBA::Environment &ACE_TRY_ENV =
+ TAO_default_environment ()
+ )
+ ACE_THROW_SPEC ((
+ CORBA::SystemException
+ ));
+
+ void name (
+ const char * name,
+ CORBA::Environment &ACE_TRY_ENV =
+ TAO_default_environment ()
+ )
+ ACE_THROW_SPEC ((
+ CORBA::SystemException
+ ));
+
+ char * version (
+ CORBA::Environment &ACE_TRY_ENV =
+ TAO_default_environment ()
+ )
+ ACE_THROW_SPEC ((
+ CORBA::SystemException
+ ));
+
+ void version (
+ const char * version,
+ CORBA::Environment &ACE_TRY_ENV =
+ TAO_default_environment ()
+ )
+ ACE_THROW_SPEC ((
+ CORBA::SystemException
+ ));
+
+ CORBA::Container_ptr defined_in (
+ CORBA::Environment &ACE_TRY_ENV =
+ TAO_default_environment ()
+ )
+ ACE_THROW_SPEC ((
+ CORBA::SystemException
+ ));
+
+ char * absolute_name (
+ CORBA::Environment &ACE_TRY_ENV =
+ TAO_default_environment ()
+ )
+ ACE_THROW_SPEC ((
+ CORBA::SystemException
+ ));
+
+ CORBA::Repository_ptr containing_repository (
+ CORBA::Environment &ACE_TRY_ENV =
+ TAO_default_environment ()
+ )
+ ACE_THROW_SPEC ((
+ CORBA::SystemException
+ ));
+
+ CORBA::Contained::Description * describe (
+ CORBA::Environment &ACE_TRY_ENV =
+ TAO_default_environment ()
+ )
+ ACE_THROW_SPEC ((
+ CORBA::SystemException
+ ));
+
+ void move (
+ CORBA::Container_ptr new_container,
+ const char * new_name,
+ const char * new_version,
+ CORBA::Environment &ACE_TRY_ENV =
+ TAO_default_environment ()
+ )
+ ACE_THROW_SPEC ((
+ CORBA::SystemException
+ ));
+
+ CORBA::TypeCode_ptr type (
+ CORBA::Environment &ACE_TRY_ENV =
+ TAO_default_environment ()
+ )
+ ACE_THROW_SPEC ((
+ CORBA::SystemException
+ ));
+
+ CORBA::DefinitionKind def_kind (
+ CORBA::Environment &ACE_TRY_ENV =
+ TAO_default_environment ()
+ )
+ ACE_THROW_SPEC ((
+ CORBA::SystemException
+ ));
+
+ void destroy (
+ CORBA::Environment &ACE_TRY_ENV =
+ TAO_default_environment ()
+ )
+ ACE_THROW_SPEC ((
+ CORBA::SystemException
+ ));
+
+private:
+ T *ptr_;
+ PortableServer::POA_var poa_;
+ CORBA::Boolean rel_;
+
+ // copy and assignment are not allowed
+ EnumDef_tie (const EnumDef_tie &);
+ void operator= (const EnumDef_tie &);
+};
+
+#endif /* ACE_HAS_USING_KEYWORD */
+
+class AliasDef;
+typedef AliasDef *AliasDef_ptr;
+// Forward Classes Declaration
+class _TAO_AliasDef_ThruPOA_Proxy_Impl;
+class _TAO_AliasDef_Strategized_Proxy_Broker;
+
+class AliasDef : public virtual TypedefDef
+{
+protected:
+ AliasDef (void);
+
+public:
+ AliasDef (const AliasDef& rhs);
+ virtual ~AliasDef (void);
+
+
+ virtual CORBA::Boolean _is_a (
+ const char* logical_type_id,
+ CORBA::Environment &ACE_TRY_ENV =
+ TAO_default_environment ()
+ );
+
+ virtual void* _downcast (
+ const char* logical_type_id
+ );
+
+ static void _is_a_skel (
+ TAO_ServerRequest &req,
+ void *obj,
+ void *context,
+ CORBA::Environment &ACE_TRY_ENV =
+ TAO_default_environment ()
+ );
+
+ static void _non_existent_skel (
+ TAO_ServerRequest &req,
+ void *obj,
+ void *context,
+ CORBA::Environment &ACE_TRY_ENV =
+ TAO_default_environment ()
+ );
+
+ virtual void _dispatch (
+ TAO_ServerRequest &_tao_req,
+ void *_tao_context,
+ CORBA::Environment &ACE_TRY_ENV =
+ TAO_default_environment ()
+ );
+
+ ::CORBA::AliasDef *_this (
+ CORBA::Environment &ACE_TRY_ENV =
+ TAO_default_environment ()
+ );
+
+ virtual const char* _interface_repository_id (void) const;
+
+ virtual CORBA::IDLType_ptr original_type_def (
+ CORBA::Environment &ACE_TRY_ENV =
+ TAO_default_environment ()
+ )
+ ACE_THROW_SPEC ((
+ CORBA::SystemException
+ )) = 0;
+
+ static void _get_original_type_def_skel (
+ TAO_ServerRequest &_tao_req,
+ void *_tao_obj,
+ void *_tao_context,
+ CORBA::Environment &ACE_TRY_ENV =
+ TAO_default_environment ()
+ );
+
+ virtual void original_type_def (
+ CORBA::IDLType_ptr original_type_def,
+ CORBA::Environment &ACE_TRY_ENV =
+ TAO_default_environment ()
+ )
+ ACE_THROW_SPEC ((
+ CORBA::SystemException
+ )) = 0;
+
+ static void _set_original_type_def_skel (
+ TAO_ServerRequest &_tao_req,
+ void *_tao_obj,
+ void *_tao_context,
+ CORBA::Environment &ACE_TRY_ENV =
+ TAO_default_environment ()
+ );
+
+ static void _get_id_skel (
+ TAO_ServerRequest &req,
+ void *obj,
+ void *context,
+ CORBA::Environment &ACE_TRY_ENV =
+ TAO_default_environment ()
+ );
+
+ static void _set_id_skel (
+ TAO_ServerRequest &req,
+ void *obj,
+ void *context,
+ CORBA::Environment &ACE_TRY_ENV =
+ TAO_default_environment ()
+ );
+
+ static void _get_name_skel (
+ TAO_ServerRequest &req,
+ void *obj,
+ void *context,
+ CORBA::Environment &ACE_TRY_ENV =
+ TAO_default_environment ()
+ );
+
+ static void _set_name_skel (
+ TAO_ServerRequest &req,
+ void *obj,
+ void *context,
+ CORBA::Environment &ACE_TRY_ENV =
+ TAO_default_environment ()
+ );
+
+ static void _get_version_skel (
+ TAO_ServerRequest &req,
+ void *obj,
+ void *context,
+ CORBA::Environment &ACE_TRY_ENV =
+ TAO_default_environment ()
+ );
+
+ static void _set_version_skel (
+ TAO_ServerRequest &req,
+ void *obj,
+ void *context,
+ CORBA::Environment &ACE_TRY_ENV =
+ TAO_default_environment ()
+ );
+
+ static void _get_defined_in_skel (
+ TAO_ServerRequest &req,
+ void *obj,
+ void *context,
+ CORBA::Environment &ACE_TRY_ENV =
+ TAO_default_environment ()
+ );
+
+ static void _get_absolute_name_skel (
+ TAO_ServerRequest &req,
+ void *obj,
+ void *context,
+ CORBA::Environment &ACE_TRY_ENV =
+ TAO_default_environment ()
+ );
+
+ static void _get_containing_repository_skel (
+ TAO_ServerRequest &req,
+ void *obj,
+ void *context,
+ CORBA::Environment &ACE_TRY_ENV =
+ TAO_default_environment ()
+ );
+
+ static void describe_skel (
+ TAO_ServerRequest &req,
+ void *obj,
+ void *context,
+ CORBA::Environment &ACE_TRY_ENV =
+ TAO_default_environment ()
+ );
+
+ static void move_skel (
+ TAO_ServerRequest &req,
+ void *obj,
+ void *context,
+ CORBA::Environment &ACE_TRY_ENV =
+ TAO_default_environment ()
+ );
+
+ static void _get_type_skel (
+ TAO_ServerRequest &req,
+ void *obj,
+ void *context,
+ CORBA::Environment &ACE_TRY_ENV =
+ TAO_default_environment ()
+ );
+
+ static void _get_def_kind_skel (
+ TAO_ServerRequest &req,
+ void *obj,
+ void *context,
+ CORBA::Environment &ACE_TRY_ENV =
+ TAO_default_environment ()
+ );
+
+ static void destroy_skel (
+ TAO_ServerRequest &req,
+ void *obj,
+ void *context,
+ CORBA::Environment &ACE_TRY_ENV =
+ TAO_default_environment ()
+ );
+
+
+#if (TAO_HAS_INTERCEPTORS == 1)
+ // Generation of interceptors related RequestInfo classes per operation.
+ // This needed to be able to store the arguments, exceptions, contexts
+ // and build the lists dynamically on demand so that unnecessary time overhead
+ // of building these lists when they arent used is avoided.
+ class TAO_ServerRequestInfo_CORBA_AliasDef_original_type_def_get : public TAO_ServerRequestInfo
+ {
+ public:
+ friend class POA_CORBA::AliasDef;
+ TAO_ServerRequestInfo_CORBA_AliasDef_original_type_def_get (
+ TAO_ServerRequest &_tao_server_request,
+ POA_CORBA::AliasDef *tao_impl,
+ CORBA::Environment &ACE_TRY_ENV =
+ TAO_default_environment ()
+ );
+
+ virtual Dynamic::ParameterList * arguments (
+ CORBA::Environment &ACE_TRY_ENV =
+ TAO_default_environment ()
+ )
+ ACE_THROW_SPEC ((CORBA::SystemException));
+
+ virtual Dynamic::ExceptionList * exceptions (
+ CORBA::Environment &ACE_TRY_ENV =
+ TAO_default_environment ()
+ )
+ ACE_THROW_SPEC ((CORBA::SystemException));
+
+ virtual CORBA::Any * result (
+ CORBA::Environment &ACE_TRY_ENV =
+ TAO_default_environment ()
+ )
+ ACE_THROW_SPEC ((CORBA::SystemException));
+
+ virtual char * target_most_derived_interface (
+ CORBA::Environment &ACE_TRY_ENV = TAO_default_environment ())
+ ACE_THROW_SPEC ((CORBA::SystemException));
+
+ virtual CORBA::Boolean target_is_a (
+ const char * id,
+ CORBA::Environment &ACE_TRY_ENV = TAO_default_environment ())
+ ACE_THROW_SPEC ((CORBA::SystemException));
+
+ private:
+ TAO_ServerRequestInfo_CORBA_AliasDef_original_type_def_get (const TAO_ServerRequestInfo_CORBA_AliasDef_original_type_def_get &);
+ void operator= (const TAO_ServerRequestInfo_CORBA_AliasDef_original_type_def_get &);
+
+ private:
+ POA_CORBA::AliasDef *_tao_impl;
+ void result (CORBA::IDLType_ptr result);
+ // update the result
+ CORBA::IDLType_ptr _result;
+ };
+
+ class TAO_ServerRequestInfo_CORBA_AliasDef_original_type_def_set : public TAO_ServerRequestInfo
+ {
+ public:
+ friend class POA_CORBA::AliasDef;
+ TAO_ServerRequestInfo_CORBA_AliasDef_original_type_def_set (
+ TAO_ServerRequest &_tao_server_request,
+ POA_CORBA::AliasDef *tao_impl,
+ CORBA::IDLType_ptr original_type_def,
+ CORBA::Environment &ACE_TRY_ENV =
+ TAO_default_environment ()
+ );
+
+ virtual Dynamic::ParameterList * arguments (
+ CORBA::Environment &ACE_TRY_ENV =
+ TAO_default_environment ()
+ )
+ ACE_THROW_SPEC ((CORBA::SystemException));
+
+ virtual Dynamic::ExceptionList * exceptions (
+ CORBA::Environment &ACE_TRY_ENV =
+ TAO_default_environment ()
+ )
+ ACE_THROW_SPEC ((CORBA::SystemException));
+
+ virtual CORBA::Any * result (
+ CORBA::Environment &ACE_TRY_ENV =
+ TAO_default_environment ()
+ )
+ ACE_THROW_SPEC ((CORBA::SystemException));
+
+ virtual char * target_most_derived_interface (
+ CORBA::Environment &ACE_TRY_ENV = TAO_default_environment ())
+ ACE_THROW_SPEC ((CORBA::SystemException));
+
+ virtual CORBA::Boolean target_is_a (
+ const char * id,
+ CORBA::Environment &ACE_TRY_ENV = TAO_default_environment ())
+ ACE_THROW_SPEC ((CORBA::SystemException));
+
+ private:
+ TAO_ServerRequestInfo_CORBA_AliasDef_original_type_def_set (const TAO_ServerRequestInfo_CORBA_AliasDef_original_type_def_set &);
+ void operator= (const TAO_ServerRequestInfo_CORBA_AliasDef_original_type_def_set &);
+
+ private:
+ POA_CORBA::AliasDef *_tao_impl;
+ CORBA::IDLType_ptr original_type_def_;
+
+ };
+
+ #endif /* TAO_HAS_INTERCEPTORS */
+
+};
+
+
+///////////////////////////////////////////////////////////////////////
+// Strategized Proxy Broker Declaration
+//
+
+class _TAO_AliasDef_Strategized_Proxy_Broker : public virtual ::_TAO_AliasDef_Proxy_Broker
+{
+public:
+ _TAO_AliasDef_Strategized_Proxy_Broker (void);
+
+ virtual ~_TAO_AliasDef_Strategized_Proxy_Broker (void);
+
+ virtual ::_TAO_AliasDef_Proxy_Impl &select_proxy (
+ ::CORBA::AliasDef *object,
+ CORBA_Environment &ACE_TRY_ENV = TAO_default_environment ()
+ );
+
+private:
+
+// Helper methods that takes care to create the proxy
+// as soon as their use is necessary.
+ void create_proxy (
+ int strategy,
+ CORBA::Environment &ACE_TRY_ENV
+ );
+
+private:
+
+ // Caches the proxy implementations. The proxy implementation
+ // are totally stateless, and those can be shared by all the
+ // instances of a given IDL interface type.
+ ::_TAO_AliasDef_Proxy_Impl
+ *proxy_cache_[TAO_Collocation_Strategies::CS_LAST];
+
+ TAO_SYNCH_MUTEX mutex_;
+// This funxtion is used to get an handle to the unique instance
+// of the Strategized Proxy Broker that is available for a given
+// interface.
+
+public:
+ static _TAO_AliasDef_Strategized_Proxy_Broker *the_TAO_AliasDef_Strategized_Proxy_Broker (void);
+};
+
+
+//
+// End Strategized Proxy Broker Declaration
+///////////////////////////////////////////////////////////////////////
+
+
+///////////////////////////////////////////////////////////////////////
+// ThruPOA Impl. Declaration
+//
+
+class _TAO_AliasDef_ThruPOA_Proxy_Impl :
+ public virtual ::_TAO_AliasDef_Proxy_Impl,
+ public virtual TAO_ThruPOA_Object_Proxy_Impl,
+ public virtual ::POA_CORBA::_TAO_TypedefDef_ThruPOA_Proxy_Impl
+
+{
+public:
+ _TAO_AliasDef_ThruPOA_Proxy_Impl (void);
+
+ virtual ~_TAO_AliasDef_ThruPOA_Proxy_Impl (void) { }
+
+ virtual CORBA::IDLType_ptr original_type_def (
+ CORBA_Object *_collocated_tao_target_,
+ CORBA::Environment &ACE_TRY_ENV
+ )
+ ACE_THROW_SPEC ((
+ CORBA::SystemException
+ ));
+
+ virtual void original_type_def (
+ CORBA_Object *_collocated_tao_target_,
+ CORBA::IDLType_ptr original_type_def,
+ CORBA::Environment &ACE_TRY_ENV
+ )
+ ACE_THROW_SPEC ((
+ CORBA::SystemException
+ ));
+
+};
+
+
+//
+// ThruPOA Proxy Impl. Declaration
+///////////////////////////////////////////////////////////////////////
+
+
+#if defined (ACE_HAS_USING_KEYWORD)
+// TIE class: Refer to CORBA v2.2, Section 20.34.4
+template <class T>
+class AliasDef_tie : public AliasDef
+{
+public:
+ AliasDef_tie (T &t);
+ // the T& ctor
+ AliasDef_tie (T &t, PortableServer::POA_ptr poa);
+ // ctor taking a POA
+ AliasDef_tie (T *tp, CORBA::Boolean release=1);
+ // ctor taking pointer and an ownership flag
+ AliasDef_tie (T *tp, PortableServer::POA_ptr poa, CORBA::Boolean release=1);
+ // ctor with T*, ownership flag and a POA
+ ~AliasDef_tie (void);
+ // dtor
+
+ // TIE specific functions
+ T *_tied_object (void);
+ // return the underlying object
+ void _tied_object (T &obj);
+ // set the underlying object
+ void _tied_object (T *obj, CORBA::Boolean release=1);
+ // set the underlying object and the ownership flag
+ CORBA::Boolean _is_owner (void);
+ // do we own it
+ void _is_owner (CORBA::Boolean b);
+ // set the ownership
+
+ // overridden ServantBase operations
+ PortableServer::POA_ptr _default_POA (
+ CORBA::Environment &ACE_TRY_ENV =
+ TAO_default_environment ()
+ );
+ CORBA::IDLType_ptr original_type_def (
+ CORBA::Environment &ACE_TRY_ENV =
+ TAO_default_environment ()
+ )
+ ACE_THROW_SPEC ((
+ CORBA::SystemException
+ ));
+
+ void original_type_def (
+ CORBA::IDLType_ptr original_type_def,
+ CORBA::Environment &ACE_TRY_ENV =
+ TAO_default_environment ()
+ )
+ ACE_THROW_SPEC ((
+ CORBA::SystemException
+ ));
+
+ char * id (
+ CORBA::Environment &ACE_TRY_ENV =
+ TAO_default_environment ()
+ )
+ ACE_THROW_SPEC ((
+ CORBA::SystemException
+ ));
+
+ void id (
+ const char * id,
+ CORBA::Environment &ACE_TRY_ENV =
+ TAO_default_environment ()
+ )
+ ACE_THROW_SPEC ((
+ CORBA::SystemException
+ ));
+
+ char * name (
+ CORBA::Environment &ACE_TRY_ENV =
+ TAO_default_environment ()
+ )
+ ACE_THROW_SPEC ((
+ CORBA::SystemException
+ ));
+
+ void name (
+ const char * name,
+ CORBA::Environment &ACE_TRY_ENV =
+ TAO_default_environment ()
+ )
+ ACE_THROW_SPEC ((
+ CORBA::SystemException
+ ));
+
+ char * version (
+ CORBA::Environment &ACE_TRY_ENV =
+ TAO_default_environment ()
+ )
+ ACE_THROW_SPEC ((
+ CORBA::SystemException
+ ));
+
+ void version (
+ const char * version,
+ CORBA::Environment &ACE_TRY_ENV =
+ TAO_default_environment ()
+ )
+ ACE_THROW_SPEC ((
+ CORBA::SystemException
+ ));
+
+ CORBA::Container_ptr defined_in (
+ CORBA::Environment &ACE_TRY_ENV =
+ TAO_default_environment ()
+ )
+ ACE_THROW_SPEC ((
+ CORBA::SystemException
+ ));
+
+ char * absolute_name (
+ CORBA::Environment &ACE_TRY_ENV =
+ TAO_default_environment ()
+ )
+ ACE_THROW_SPEC ((
+ CORBA::SystemException
+ ));
+
+ CORBA::Repository_ptr containing_repository (
+ CORBA::Environment &ACE_TRY_ENV =
+ TAO_default_environment ()
+ )
+ ACE_THROW_SPEC ((
+ CORBA::SystemException
+ ));
+
+ CORBA::Contained::Description * describe (
+ CORBA::Environment &ACE_TRY_ENV =
+ TAO_default_environment ()
+ )
+ ACE_THROW_SPEC ((
+ CORBA::SystemException
+ ));
+
+ void move (
+ CORBA::Container_ptr new_container,
+ const char * new_name,
+ const char * new_version,
+ CORBA::Environment &ACE_TRY_ENV =
+ TAO_default_environment ()
+ )
+ ACE_THROW_SPEC ((
+ CORBA::SystemException
+ ));
+
+ CORBA::TypeCode_ptr type (
+ CORBA::Environment &ACE_TRY_ENV =
+ TAO_default_environment ()
+ )
+ ACE_THROW_SPEC ((
+ CORBA::SystemException
+ ));
+
+ CORBA::DefinitionKind def_kind (
+ CORBA::Environment &ACE_TRY_ENV =
+ TAO_default_environment ()
+ )
+ ACE_THROW_SPEC ((
+ CORBA::SystemException
+ ));
+
+ void destroy (
+ CORBA::Environment &ACE_TRY_ENV =
+ TAO_default_environment ()
+ )
+ ACE_THROW_SPEC ((
+ CORBA::SystemException
+ ));
+
+private:
+ T *ptr_;
+ PortableServer::POA_var poa_;
+ CORBA::Boolean rel_;
+
+ // copy and assignment are not allowed
+ AliasDef_tie (const AliasDef_tie &);
+ void operator= (const AliasDef_tie &);
+};
+
+#endif /* ACE_HAS_USING_KEYWORD */
+
+class NativeDef;
+typedef NativeDef *NativeDef_ptr;
+// Forward Classes Declaration
+class _TAO_NativeDef_ThruPOA_Proxy_Impl;
+class _TAO_NativeDef_Strategized_Proxy_Broker;
+
+class NativeDef : public virtual TypedefDef
+{
+protected:
+ NativeDef (void);
+
+public:
+ NativeDef (const NativeDef& rhs);
+ virtual ~NativeDef (void);
+
+
+ virtual CORBA::Boolean _is_a (
+ const char* logical_type_id,
+ CORBA::Environment &ACE_TRY_ENV =
+ TAO_default_environment ()
+ );
+
+ virtual void* _downcast (
+ const char* logical_type_id
+ );
+
+ static void _is_a_skel (
+ TAO_ServerRequest &req,
+ void *obj,
+ void *context,
+ CORBA::Environment &ACE_TRY_ENV =
+ TAO_default_environment ()
+ );
+
+ static void _non_existent_skel (
+ TAO_ServerRequest &req,
+ void *obj,
+ void *context,
+ CORBA::Environment &ACE_TRY_ENV =
+ TAO_default_environment ()
+ );
+
+ virtual void _dispatch (
+ TAO_ServerRequest &_tao_req,
+ void *_tao_context,
+ CORBA::Environment &ACE_TRY_ENV =
+ TAO_default_environment ()
+ );
+
+ ::CORBA::NativeDef *_this (
+ CORBA::Environment &ACE_TRY_ENV =
+ TAO_default_environment ()
+ );
+
+ virtual const char* _interface_repository_id (void) const;
+
+ static void _get_id_skel (
+ TAO_ServerRequest &req,
+ void *obj,
+ void *context,
+ CORBA::Environment &ACE_TRY_ENV =
+ TAO_default_environment ()
+ );
+
+ static void _set_id_skel (
+ TAO_ServerRequest &req,
+ void *obj,
+ void *context,
+ CORBA::Environment &ACE_TRY_ENV =
+ TAO_default_environment ()
+ );
+
+ static void _get_name_skel (
+ TAO_ServerRequest &req,
+ void *obj,
+ void *context,
+ CORBA::Environment &ACE_TRY_ENV =
+ TAO_default_environment ()
+ );
+
+ static void _set_name_skel (
+ TAO_ServerRequest &req,
+ void *obj,
+ void *context,
+ CORBA::Environment &ACE_TRY_ENV =
+ TAO_default_environment ()
+ );
+
+ static void _get_version_skel (
+ TAO_ServerRequest &req,
+ void *obj,
+ void *context,
+ CORBA::Environment &ACE_TRY_ENV =
+ TAO_default_environment ()
+ );
+
+ static void _set_version_skel (
+ TAO_ServerRequest &req,
+ void *obj,
+ void *context,
+ CORBA::Environment &ACE_TRY_ENV =
+ TAO_default_environment ()
+ );
+
+ static void _get_defined_in_skel (
+ TAO_ServerRequest &req,
+ void *obj,
+ void *context,
+ CORBA::Environment &ACE_TRY_ENV =
+ TAO_default_environment ()
+ );
+
+ static void _get_absolute_name_skel (
+ TAO_ServerRequest &req,
+ void *obj,
+ void *context,
+ CORBA::Environment &ACE_TRY_ENV =
+ TAO_default_environment ()
+ );
+
+ static void _get_containing_repository_skel (
+ TAO_ServerRequest &req,
+ void *obj,
+ void *context,
+ CORBA::Environment &ACE_TRY_ENV =
+ TAO_default_environment ()
+ );
+
+ static void describe_skel (
+ TAO_ServerRequest &req,
+ void *obj,
+ void *context,
+ CORBA::Environment &ACE_TRY_ENV =
+ TAO_default_environment ()
+ );
+
+ static void move_skel (
+ TAO_ServerRequest &req,
+ void *obj,
+ void *context,
+ CORBA::Environment &ACE_TRY_ENV =
+ TAO_default_environment ()
+ );
+
+ static void _get_type_skel (
+ TAO_ServerRequest &req,
+ void *obj,
+ void *context,
+ CORBA::Environment &ACE_TRY_ENV =
+ TAO_default_environment ()
+ );
+
+ static void _get_def_kind_skel (
+ TAO_ServerRequest &req,
+ void *obj,
+ void *context,
+ CORBA::Environment &ACE_TRY_ENV =
+ TAO_default_environment ()
+ );
+
+ static void destroy_skel (
+ TAO_ServerRequest &req,
+ void *obj,
+ void *context,
+ CORBA::Environment &ACE_TRY_ENV =
+ TAO_default_environment ()
+ );
+
+
+#if (TAO_HAS_INTERCEPTORS == 1)
+ // Generation of interceptors related RequestInfo classes per operation.
+ // This needed to be able to store the arguments, exceptions, contexts
+ // and build the lists dynamically on demand so that unnecessary time overhead
+ // of building these lists when they arent used is avoided.
+ #endif /* TAO_HAS_INTERCEPTORS */
+
+};
+
+
+///////////////////////////////////////////////////////////////////////
+// Strategized Proxy Broker Declaration
+//
+
+class _TAO_NativeDef_Strategized_Proxy_Broker : public virtual ::_TAO_NativeDef_Proxy_Broker
+{
+public:
+ _TAO_NativeDef_Strategized_Proxy_Broker (void);
+
+ virtual ~_TAO_NativeDef_Strategized_Proxy_Broker (void);
+
+ virtual ::_TAO_NativeDef_Proxy_Impl &select_proxy (
+ ::CORBA::NativeDef *object,
+ CORBA_Environment &ACE_TRY_ENV = TAO_default_environment ()
+ );
+
+private:
+
+// Helper methods that takes care to create the proxy
+// as soon as their use is necessary.
+ void create_proxy (
+ int strategy,
+ CORBA::Environment &ACE_TRY_ENV
+ );
+
+private:
+
+ // Caches the proxy implementations. The proxy implementation
+ // are totally stateless, and those can be shared by all the
+ // instances of a given IDL interface type.
+ ::_TAO_NativeDef_Proxy_Impl
+ *proxy_cache_[TAO_Collocation_Strategies::CS_LAST];
+
+ TAO_SYNCH_MUTEX mutex_;
+// This funxtion is used to get an handle to the unique instance
+// of the Strategized Proxy Broker that is available for a given
+// interface.
+
+public:
+ static _TAO_NativeDef_Strategized_Proxy_Broker *the_TAO_NativeDef_Strategized_Proxy_Broker (void);
+};
+
+
+//
+// End Strategized Proxy Broker Declaration
+///////////////////////////////////////////////////////////////////////
+
+
+///////////////////////////////////////////////////////////////////////
+// ThruPOA Impl. Declaration
+//
+
+class _TAO_NativeDef_ThruPOA_Proxy_Impl :
+ public virtual ::_TAO_NativeDef_Proxy_Impl,
+ public virtual TAO_ThruPOA_Object_Proxy_Impl,
+ public virtual ::POA_CORBA::_TAO_TypedefDef_ThruPOA_Proxy_Impl
+
+{
+public:
+ _TAO_NativeDef_ThruPOA_Proxy_Impl (void);
+
+ virtual ~_TAO_NativeDef_ThruPOA_Proxy_Impl (void) { }
+
+ };
+
+
+//
+// ThruPOA Proxy Impl. Declaration
+///////////////////////////////////////////////////////////////////////
+
+
+#if defined (ACE_HAS_USING_KEYWORD)
+// TIE class: Refer to CORBA v2.2, Section 20.34.4
+template <class T>
+class NativeDef_tie : public NativeDef
+{
+public:
+ NativeDef_tie (T &t);
+ // the T& ctor
+ NativeDef_tie (T &t, PortableServer::POA_ptr poa);
+ // ctor taking a POA
+ NativeDef_tie (T *tp, CORBA::Boolean release=1);
+ // ctor taking pointer and an ownership flag
+ NativeDef_tie (T *tp, PortableServer::POA_ptr poa, CORBA::Boolean release=1);
+ // ctor with T*, ownership flag and a POA
+ ~NativeDef_tie (void);
+ // dtor
+
+ // TIE specific functions
+ T *_tied_object (void);
+ // return the underlying object
+ void _tied_object (T &obj);
+ // set the underlying object
+ void _tied_object (T *obj, CORBA::Boolean release=1);
+ // set the underlying object and the ownership flag
+ CORBA::Boolean _is_owner (void);
+ // do we own it
+ void _is_owner (CORBA::Boolean b);
+ // set the ownership
+
+ // overridden ServantBase operations
+ PortableServer::POA_ptr _default_POA (
+ CORBA::Environment &ACE_TRY_ENV =
+ TAO_default_environment ()
+ );
+ char * id (
+ CORBA::Environment &ACE_TRY_ENV =
+ TAO_default_environment ()
+ )
+ ACE_THROW_SPEC ((
+ CORBA::SystemException
+ ));
+
+ void id (
+ const char * id,
+ CORBA::Environment &ACE_TRY_ENV =
+ TAO_default_environment ()
+ )
+ ACE_THROW_SPEC ((
+ CORBA::SystemException
+ ));
+
+ char * name (
+ CORBA::Environment &ACE_TRY_ENV =
+ TAO_default_environment ()
+ )
+ ACE_THROW_SPEC ((
+ CORBA::SystemException
+ ));
+
+ void name (
+ const char * name,
+ CORBA::Environment &ACE_TRY_ENV =
+ TAO_default_environment ()
+ )
+ ACE_THROW_SPEC ((
+ CORBA::SystemException
+ ));
+
+ char * version (
+ CORBA::Environment &ACE_TRY_ENV =
+ TAO_default_environment ()
+ )
+ ACE_THROW_SPEC ((
+ CORBA::SystemException
+ ));
+
+ void version (
+ const char * version,
+ CORBA::Environment &ACE_TRY_ENV =
+ TAO_default_environment ()
+ )
+ ACE_THROW_SPEC ((
+ CORBA::SystemException
+ ));
+
+ CORBA::Container_ptr defined_in (
+ CORBA::Environment &ACE_TRY_ENV =
+ TAO_default_environment ()
+ )
+ ACE_THROW_SPEC ((
+ CORBA::SystemException
+ ));
+
+ char * absolute_name (
+ CORBA::Environment &ACE_TRY_ENV =
+ TAO_default_environment ()
+ )
+ ACE_THROW_SPEC ((
+ CORBA::SystemException
+ ));
+
+ CORBA::Repository_ptr containing_repository (
+ CORBA::Environment &ACE_TRY_ENV =
+ TAO_default_environment ()
+ )
+ ACE_THROW_SPEC ((
+ CORBA::SystemException
+ ));
+
+ CORBA::Contained::Description * describe (
+ CORBA::Environment &ACE_TRY_ENV =
+ TAO_default_environment ()
+ )
+ ACE_THROW_SPEC ((
+ CORBA::SystemException
+ ));
+
+ void move (
+ CORBA::Container_ptr new_container,
+ const char * new_name,
+ const char * new_version,
+ CORBA::Environment &ACE_TRY_ENV =
+ TAO_default_environment ()
+ )
+ ACE_THROW_SPEC ((
+ CORBA::SystemException
+ ));
+
+ CORBA::TypeCode_ptr type (
+ CORBA::Environment &ACE_TRY_ENV =
+ TAO_default_environment ()
+ )
+ ACE_THROW_SPEC ((
+ CORBA::SystemException
+ ));
+
+ CORBA::DefinitionKind def_kind (
+ CORBA::Environment &ACE_TRY_ENV =
+ TAO_default_environment ()
+ )
+ ACE_THROW_SPEC ((
+ CORBA::SystemException
+ ));
+
+ void destroy (
+ CORBA::Environment &ACE_TRY_ENV =
+ TAO_default_environment ()
+ )
+ ACE_THROW_SPEC ((
+ CORBA::SystemException
+ ));
+
+private:
+ T *ptr_;
+ PortableServer::POA_var poa_;
+ CORBA::Boolean rel_;
+
+ // copy and assignment are not allowed
+ NativeDef_tie (const NativeDef_tie &);
+ void operator= (const NativeDef_tie &);
+};
+
+#endif /* ACE_HAS_USING_KEYWORD */
+
+class PrimitiveDef;
+typedef PrimitiveDef *PrimitiveDef_ptr;
+// Forward Classes Declaration
+class _TAO_PrimitiveDef_ThruPOA_Proxy_Impl;
+class _TAO_PrimitiveDef_Strategized_Proxy_Broker;
+
+class PrimitiveDef : public virtual IDLType
+{
+protected:
+ PrimitiveDef (void);
+
+public:
+ PrimitiveDef (const PrimitiveDef& rhs);
+ virtual ~PrimitiveDef (void);
+
+
+ virtual CORBA::Boolean _is_a (
+ const char* logical_type_id,
+ CORBA::Environment &ACE_TRY_ENV =
+ TAO_default_environment ()
+ );
+
+ virtual void* _downcast (
+ const char* logical_type_id
+ );
+
+ static void _is_a_skel (
+ TAO_ServerRequest &req,
+ void *obj,
+ void *context,
+ CORBA::Environment &ACE_TRY_ENV =
+ TAO_default_environment ()
+ );
+
+ static void _non_existent_skel (
+ TAO_ServerRequest &req,
+ void *obj,
+ void *context,
+ CORBA::Environment &ACE_TRY_ENV =
+ TAO_default_environment ()
+ );
+
+ virtual void _dispatch (
+ TAO_ServerRequest &_tao_req,
+ void *_tao_context,
+ CORBA::Environment &ACE_TRY_ENV =
+ TAO_default_environment ()
+ );
+
+ ::CORBA::PrimitiveDef *_this (
+ CORBA::Environment &ACE_TRY_ENV =
+ TAO_default_environment ()
+ );
+
+ virtual const char* _interface_repository_id (void) const;
+
+ virtual CORBA::PrimitiveKind kind (
+ CORBA::Environment &ACE_TRY_ENV =
+ TAO_default_environment ()
+ )
+ ACE_THROW_SPEC ((
+ CORBA::SystemException
+ )) = 0;
+
+ static void _get_kind_skel (
+ TAO_ServerRequest &_tao_req,
+ void *_tao_obj,
+ void *_tao_context,
+ CORBA::Environment &ACE_TRY_ENV =
+ TAO_default_environment ()
+ );
+
+ static void _get_type_skel (
+ TAO_ServerRequest &req,
+ void *obj,
+ void *context,
+ CORBA::Environment &ACE_TRY_ENV =
+ TAO_default_environment ()
+ );
+
+ static void _get_def_kind_skel (
+ TAO_ServerRequest &req,
+ void *obj,
+ void *context,
+ CORBA::Environment &ACE_TRY_ENV =
+ TAO_default_environment ()
+ );
+
+ static void destroy_skel (
+ TAO_ServerRequest &req,
+ void *obj,
+ void *context,
+ CORBA::Environment &ACE_TRY_ENV =
+ TAO_default_environment ()
+ );
+
+
+#if (TAO_HAS_INTERCEPTORS == 1)
+ // Generation of interceptors related RequestInfo classes per operation.
+ // This needed to be able to store the arguments, exceptions, contexts
+ // and build the lists dynamically on demand so that unnecessary time overhead
+ // of building these lists when they arent used is avoided.
+ class TAO_ServerRequestInfo_CORBA_PrimitiveDef_kind_get : public TAO_ServerRequestInfo
+ {
+ public:
+ friend class POA_CORBA::PrimitiveDef;
+ TAO_ServerRequestInfo_CORBA_PrimitiveDef_kind_get (
+ TAO_ServerRequest &_tao_server_request,
+ POA_CORBA::PrimitiveDef *tao_impl,
+ CORBA::Environment &ACE_TRY_ENV =
+ TAO_default_environment ()
+ );
+
+ virtual Dynamic::ParameterList * arguments (
+ CORBA::Environment &ACE_TRY_ENV =
+ TAO_default_environment ()
+ )
+ ACE_THROW_SPEC ((CORBA::SystemException));
+
+ virtual Dynamic::ExceptionList * exceptions (
+ CORBA::Environment &ACE_TRY_ENV =
+ TAO_default_environment ()
+ )
+ ACE_THROW_SPEC ((CORBA::SystemException));
+
+ virtual CORBA::Any * result (
+ CORBA::Environment &ACE_TRY_ENV =
+ TAO_default_environment ()
+ )
+ ACE_THROW_SPEC ((CORBA::SystemException));
+
+ virtual char * target_most_derived_interface (
+ CORBA::Environment &ACE_TRY_ENV = TAO_default_environment ())
+ ACE_THROW_SPEC ((CORBA::SystemException));
+
+ virtual CORBA::Boolean target_is_a (
+ const char * id,
+ CORBA::Environment &ACE_TRY_ENV = TAO_default_environment ())
+ ACE_THROW_SPEC ((CORBA::SystemException));
+
+ private:
+ TAO_ServerRequestInfo_CORBA_PrimitiveDef_kind_get (const TAO_ServerRequestInfo_CORBA_PrimitiveDef_kind_get &);
+ void operator= (const TAO_ServerRequestInfo_CORBA_PrimitiveDef_kind_get &);
+
+ private:
+ POA_CORBA::PrimitiveDef *_tao_impl;
+ void result (CORBA::PrimitiveKind result);
+ // update the result
+ CORBA::PrimitiveKind _result;
+ };
+
+ #endif /* TAO_HAS_INTERCEPTORS */
+
+};
+
+
+///////////////////////////////////////////////////////////////////////
+// Strategized Proxy Broker Declaration
+//
+
+class _TAO_PrimitiveDef_Strategized_Proxy_Broker : public virtual ::_TAO_PrimitiveDef_Proxy_Broker
+{
+public:
+ _TAO_PrimitiveDef_Strategized_Proxy_Broker (void);
+
+ virtual ~_TAO_PrimitiveDef_Strategized_Proxy_Broker (void);
+
+ virtual ::_TAO_PrimitiveDef_Proxy_Impl &select_proxy (
+ ::CORBA::PrimitiveDef *object,
+ CORBA_Environment &ACE_TRY_ENV = TAO_default_environment ()
+ );
+
+private:
+
+// Helper methods that takes care to create the proxy
+// as soon as their use is necessary.
+ void create_proxy (
+ int strategy,
+ CORBA::Environment &ACE_TRY_ENV
+ );
+
+private:
+
+ // Caches the proxy implementations. The proxy implementation
+ // are totally stateless, and those can be shared by all the
+ // instances of a given IDL interface type.
+ ::_TAO_PrimitiveDef_Proxy_Impl
+ *proxy_cache_[TAO_Collocation_Strategies::CS_LAST];
+
+ TAO_SYNCH_MUTEX mutex_;
+// This funxtion is used to get an handle to the unique instance
+// of the Strategized Proxy Broker that is available for a given
+// interface.
+
+public:
+ static _TAO_PrimitiveDef_Strategized_Proxy_Broker *the_TAO_PrimitiveDef_Strategized_Proxy_Broker (void);
+};
+
+
+//
+// End Strategized Proxy Broker Declaration
+///////////////////////////////////////////////////////////////////////
+
+
+///////////////////////////////////////////////////////////////////////
+// ThruPOA Impl. Declaration
+//
+
+class _TAO_PrimitiveDef_ThruPOA_Proxy_Impl :
+ public virtual ::_TAO_PrimitiveDef_Proxy_Impl,
+ public virtual TAO_ThruPOA_Object_Proxy_Impl,
+ public virtual ::POA_CORBA::_TAO_IDLType_ThruPOA_Proxy_Impl
+
+{
+public:
+ _TAO_PrimitiveDef_ThruPOA_Proxy_Impl (void);
+
+ virtual ~_TAO_PrimitiveDef_ThruPOA_Proxy_Impl (void) { }
+
+ virtual CORBA::PrimitiveKind kind (
+ CORBA_Object *_collocated_tao_target_,
+ CORBA::Environment &ACE_TRY_ENV
+ )
+ ACE_THROW_SPEC ((
+ CORBA::SystemException
+ ));
+
+};
+
+
+//
+// ThruPOA Proxy Impl. Declaration
+///////////////////////////////////////////////////////////////////////
+
+
+#if defined (ACE_HAS_USING_KEYWORD)
+// TIE class: Refer to CORBA v2.2, Section 20.34.4
+template <class T>
+class PrimitiveDef_tie : public PrimitiveDef
+{
+public:
+ PrimitiveDef_tie (T &t);
+ // the T& ctor
+ PrimitiveDef_tie (T &t, PortableServer::POA_ptr poa);
+ // ctor taking a POA
+ PrimitiveDef_tie (T *tp, CORBA::Boolean release=1);
+ // ctor taking pointer and an ownership flag
+ PrimitiveDef_tie (T *tp, PortableServer::POA_ptr poa, CORBA::Boolean release=1);
+ // ctor with T*, ownership flag and a POA
+ ~PrimitiveDef_tie (void);
+ // dtor
+
+ // TIE specific functions
+ T *_tied_object (void);
+ // return the underlying object
+ void _tied_object (T &obj);
+ // set the underlying object
+ void _tied_object (T *obj, CORBA::Boolean release=1);
+ // set the underlying object and the ownership flag
+ CORBA::Boolean _is_owner (void);
+ // do we own it
+ void _is_owner (CORBA::Boolean b);
+ // set the ownership
+
+ // overridden ServantBase operations
+ PortableServer::POA_ptr _default_POA (
+ CORBA::Environment &ACE_TRY_ENV =
+ TAO_default_environment ()
+ );
+ CORBA::PrimitiveKind kind (
+ CORBA::Environment &ACE_TRY_ENV =
+ TAO_default_environment ()
+ )
+ ACE_THROW_SPEC ((
+ CORBA::SystemException
+ ));
+
+ CORBA::TypeCode_ptr type (
+ CORBA::Environment &ACE_TRY_ENV =
+ TAO_default_environment ()
+ )
+ ACE_THROW_SPEC ((
+ CORBA::SystemException
+ ));
+
+ CORBA::DefinitionKind def_kind (
+ CORBA::Environment &ACE_TRY_ENV =
+ TAO_default_environment ()
+ )
+ ACE_THROW_SPEC ((
+ CORBA::SystemException
+ ));
+
+ void destroy (
+ CORBA::Environment &ACE_TRY_ENV =
+ TAO_default_environment ()
+ )
+ ACE_THROW_SPEC ((
+ CORBA::SystemException
+ ));
+
+private:
+ T *ptr_;
+ PortableServer::POA_var poa_;
+ CORBA::Boolean rel_;
+
+ // copy and assignment are not allowed
+ PrimitiveDef_tie (const PrimitiveDef_tie &);
+ void operator= (const PrimitiveDef_tie &);
+};
+
+#endif /* ACE_HAS_USING_KEYWORD */
+
+class StringDef;
+typedef StringDef *StringDef_ptr;
+// Forward Classes Declaration
+class _TAO_StringDef_ThruPOA_Proxy_Impl;
+class _TAO_StringDef_Strategized_Proxy_Broker;
+
+class StringDef : public virtual IDLType
+{
+protected:
+ StringDef (void);
+
+public:
+ StringDef (const StringDef& rhs);
+ virtual ~StringDef (void);
+
+
+ virtual CORBA::Boolean _is_a (
+ const char* logical_type_id,
+ CORBA::Environment &ACE_TRY_ENV =
+ TAO_default_environment ()
+ );
+
+ virtual void* _downcast (
+ const char* logical_type_id
+ );
+
+ static void _is_a_skel (
+ TAO_ServerRequest &req,
+ void *obj,
+ void *context,
+ CORBA::Environment &ACE_TRY_ENV =
+ TAO_default_environment ()
+ );
+
+ static void _non_existent_skel (
+ TAO_ServerRequest &req,
+ void *obj,
+ void *context,
+ CORBA::Environment &ACE_TRY_ENV =
+ TAO_default_environment ()
+ );
+
+ virtual void _dispatch (
+ TAO_ServerRequest &_tao_req,
+ void *_tao_context,
+ CORBA::Environment &ACE_TRY_ENV =
+ TAO_default_environment ()
+ );
+
+ ::CORBA::StringDef *_this (
+ CORBA::Environment &ACE_TRY_ENV =
+ TAO_default_environment ()
+ );
+
+ virtual const char* _interface_repository_id (void) const;
+
+ virtual CORBA::ULong bound (
+ CORBA::Environment &ACE_TRY_ENV =
+ TAO_default_environment ()
+ )
+ ACE_THROW_SPEC ((
+ CORBA::SystemException
+ )) = 0;
+
+ static void _get_bound_skel (
+ TAO_ServerRequest &_tao_req,
+ void *_tao_obj,
+ void *_tao_context,
+ CORBA::Environment &ACE_TRY_ENV =
+ TAO_default_environment ()
+ );
+
+ virtual void bound (
+ CORBA::ULong bound,
+ CORBA::Environment &ACE_TRY_ENV =
+ TAO_default_environment ()
+ )
+ ACE_THROW_SPEC ((
+ CORBA::SystemException
+ )) = 0;
+
+ static void _set_bound_skel (
+ TAO_ServerRequest &_tao_req,
+ void *_tao_obj,
+ void *_tao_context,
+ CORBA::Environment &ACE_TRY_ENV =
+ TAO_default_environment ()
+ );
+
+ static void _get_type_skel (
+ TAO_ServerRequest &req,
+ void *obj,
+ void *context,
+ CORBA::Environment &ACE_TRY_ENV =
+ TAO_default_environment ()
+ );
+
+ static void _get_def_kind_skel (
+ TAO_ServerRequest &req,
+ void *obj,
+ void *context,
+ CORBA::Environment &ACE_TRY_ENV =
+ TAO_default_environment ()
+ );
+
+ static void destroy_skel (
+ TAO_ServerRequest &req,
+ void *obj,
+ void *context,
+ CORBA::Environment &ACE_TRY_ENV =
+ TAO_default_environment ()
+ );
+
+
+#if (TAO_HAS_INTERCEPTORS == 1)
+ // Generation of interceptors related RequestInfo classes per operation.
+ // This needed to be able to store the arguments, exceptions, contexts
+ // and build the lists dynamically on demand so that unnecessary time overhead
+ // of building these lists when they arent used is avoided.
+ class TAO_ServerRequestInfo_CORBA_StringDef_bound_get : public TAO_ServerRequestInfo
+ {
+ public:
+ friend class POA_CORBA::StringDef;
+ TAO_ServerRequestInfo_CORBA_StringDef_bound_get (
+ TAO_ServerRequest &_tao_server_request,
+ POA_CORBA::StringDef *tao_impl,
+ CORBA::Environment &ACE_TRY_ENV =
+ TAO_default_environment ()
+ );
+
+ virtual Dynamic::ParameterList * arguments (
+ CORBA::Environment &ACE_TRY_ENV =
+ TAO_default_environment ()
+ )
+ ACE_THROW_SPEC ((CORBA::SystemException));
+
+ virtual Dynamic::ExceptionList * exceptions (
+ CORBA::Environment &ACE_TRY_ENV =
+ TAO_default_environment ()
+ )
+ ACE_THROW_SPEC ((CORBA::SystemException));
+
+ virtual CORBA::Any * result (
+ CORBA::Environment &ACE_TRY_ENV =
+ TAO_default_environment ()
+ )
+ ACE_THROW_SPEC ((CORBA::SystemException));
+
+ virtual char * target_most_derived_interface (
+ CORBA::Environment &ACE_TRY_ENV = TAO_default_environment ())
+ ACE_THROW_SPEC ((CORBA::SystemException));
+
+ virtual CORBA::Boolean target_is_a (
+ const char * id,
+ CORBA::Environment &ACE_TRY_ENV = TAO_default_environment ())
+ ACE_THROW_SPEC ((CORBA::SystemException));
+
+ private:
+ TAO_ServerRequestInfo_CORBA_StringDef_bound_get (const TAO_ServerRequestInfo_CORBA_StringDef_bound_get &);
+ void operator= (const TAO_ServerRequestInfo_CORBA_StringDef_bound_get &);
+
+ private:
+ POA_CORBA::StringDef *_tao_impl;
+ void result (CORBA::ULong result);
+ // update the result
+ CORBA::ULong _result;
+ };
+
+ class TAO_ServerRequestInfo_CORBA_StringDef_bound_set : public TAO_ServerRequestInfo
+ {
+ public:
+ friend class POA_CORBA::StringDef;
+ TAO_ServerRequestInfo_CORBA_StringDef_bound_set (
+ TAO_ServerRequest &_tao_server_request,
+ POA_CORBA::StringDef *tao_impl,
+ const CORBA::ULong & bound,
+ CORBA::Environment &ACE_TRY_ENV =
+ TAO_default_environment ()
+ );
+
+ virtual Dynamic::ParameterList * arguments (
+ CORBA::Environment &ACE_TRY_ENV =
+ TAO_default_environment ()
+ )
+ ACE_THROW_SPEC ((CORBA::SystemException));
+
+ virtual Dynamic::ExceptionList * exceptions (
+ CORBA::Environment &ACE_TRY_ENV =
+ TAO_default_environment ()
+ )
+ ACE_THROW_SPEC ((CORBA::SystemException));
+
+ virtual CORBA::Any * result (
+ CORBA::Environment &ACE_TRY_ENV =
+ TAO_default_environment ()
+ )
+ ACE_THROW_SPEC ((CORBA::SystemException));
+
+ virtual char * target_most_derived_interface (
+ CORBA::Environment &ACE_TRY_ENV = TAO_default_environment ())
+ ACE_THROW_SPEC ((CORBA::SystemException));
+
+ virtual CORBA::Boolean target_is_a (
+ const char * id,
+ CORBA::Environment &ACE_TRY_ENV = TAO_default_environment ())
+ ACE_THROW_SPEC ((CORBA::SystemException));
+
+ private:
+ TAO_ServerRequestInfo_CORBA_StringDef_bound_set (const TAO_ServerRequestInfo_CORBA_StringDef_bound_set &);
+ void operator= (const TAO_ServerRequestInfo_CORBA_StringDef_bound_set &);
+
+ private:
+ POA_CORBA::StringDef *_tao_impl;
+ const CORBA::ULong & bound_;
+
+ };
+
+ #endif /* TAO_HAS_INTERCEPTORS */
+
+};
+
+
+///////////////////////////////////////////////////////////////////////
+// Strategized Proxy Broker Declaration
+//
+
+class _TAO_StringDef_Strategized_Proxy_Broker : public virtual ::_TAO_StringDef_Proxy_Broker
+{
+public:
+ _TAO_StringDef_Strategized_Proxy_Broker (void);
+
+ virtual ~_TAO_StringDef_Strategized_Proxy_Broker (void);
+
+ virtual ::_TAO_StringDef_Proxy_Impl &select_proxy (
+ ::CORBA::StringDef *object,
+ CORBA_Environment &ACE_TRY_ENV = TAO_default_environment ()
+ );
+
+private:
+
+// Helper methods that takes care to create the proxy
+// as soon as their use is necessary.
+ void create_proxy (
+ int strategy,
+ CORBA::Environment &ACE_TRY_ENV
+ );
+
+private:
+
+ // Caches the proxy implementations. The proxy implementation
+ // are totally stateless, and those can be shared by all the
+ // instances of a given IDL interface type.
+ ::_TAO_StringDef_Proxy_Impl
+ *proxy_cache_[TAO_Collocation_Strategies::CS_LAST];
+
+ TAO_SYNCH_MUTEX mutex_;
+// This funxtion is used to get an handle to the unique instance
+// of the Strategized Proxy Broker that is available for a given
+// interface.
+
+public:
+ static _TAO_StringDef_Strategized_Proxy_Broker *the_TAO_StringDef_Strategized_Proxy_Broker (void);
+};
+
+
+//
+// End Strategized Proxy Broker Declaration
+///////////////////////////////////////////////////////////////////////
+
+
+///////////////////////////////////////////////////////////////////////
+// ThruPOA Impl. Declaration
+//
+
+class _TAO_StringDef_ThruPOA_Proxy_Impl :
+ public virtual ::_TAO_StringDef_Proxy_Impl,
+ public virtual TAO_ThruPOA_Object_Proxy_Impl,
+ public virtual ::POA_CORBA::_TAO_IDLType_ThruPOA_Proxy_Impl
+
+{
+public:
+ _TAO_StringDef_ThruPOA_Proxy_Impl (void);
+
+ virtual ~_TAO_StringDef_ThruPOA_Proxy_Impl (void) { }
+
+ virtual CORBA::ULong bound (
+ CORBA_Object *_collocated_tao_target_,
+ CORBA::Environment &ACE_TRY_ENV
+ )
+ ACE_THROW_SPEC ((
+ CORBA::SystemException
+ ));
+
+ virtual void bound (
+ CORBA_Object *_collocated_tao_target_,
+ CORBA::ULong bound,
+ CORBA::Environment &ACE_TRY_ENV
+ )
+ ACE_THROW_SPEC ((
+ CORBA::SystemException
+ ));
+
+};
+
+
+//
+// ThruPOA Proxy Impl. Declaration
+///////////////////////////////////////////////////////////////////////
+
+
+#if defined (ACE_HAS_USING_KEYWORD)
+// TIE class: Refer to CORBA v2.2, Section 20.34.4
+template <class T>
+class StringDef_tie : public StringDef
+{
+public:
+ StringDef_tie (T &t);
+ // the T& ctor
+ StringDef_tie (T &t, PortableServer::POA_ptr poa);
+ // ctor taking a POA
+ StringDef_tie (T *tp, CORBA::Boolean release=1);
+ // ctor taking pointer and an ownership flag
+ StringDef_tie (T *tp, PortableServer::POA_ptr poa, CORBA::Boolean release=1);
+ // ctor with T*, ownership flag and a POA
+ ~StringDef_tie (void);
+ // dtor
+
+ // TIE specific functions
+ T *_tied_object (void);
+ // return the underlying object
+ void _tied_object (T &obj);
+ // set the underlying object
+ void _tied_object (T *obj, CORBA::Boolean release=1);
+ // set the underlying object and the ownership flag
+ CORBA::Boolean _is_owner (void);
+ // do we own it
+ void _is_owner (CORBA::Boolean b);
+ // set the ownership
+
+ // overridden ServantBase operations
+ PortableServer::POA_ptr _default_POA (
+ CORBA::Environment &ACE_TRY_ENV =
+ TAO_default_environment ()
+ );
+ CORBA::ULong bound (
+ CORBA::Environment &ACE_TRY_ENV =
+ TAO_default_environment ()
+ )
+ ACE_THROW_SPEC ((
+ CORBA::SystemException
+ ));
+
+ void bound (
+ CORBA::ULong bound,
+ CORBA::Environment &ACE_TRY_ENV =
+ TAO_default_environment ()
+ )
+ ACE_THROW_SPEC ((
+ CORBA::SystemException
+ ));
+
+ CORBA::TypeCode_ptr type (
+ CORBA::Environment &ACE_TRY_ENV =
+ TAO_default_environment ()
+ )
+ ACE_THROW_SPEC ((
+ CORBA::SystemException
+ ));
+
+ CORBA::DefinitionKind def_kind (
+ CORBA::Environment &ACE_TRY_ENV =
+ TAO_default_environment ()
+ )
+ ACE_THROW_SPEC ((
+ CORBA::SystemException
+ ));
+
+ void destroy (
+ CORBA::Environment &ACE_TRY_ENV =
+ TAO_default_environment ()
+ )
+ ACE_THROW_SPEC ((
+ CORBA::SystemException
+ ));
+
+private:
+ T *ptr_;
+ PortableServer::POA_var poa_;
+ CORBA::Boolean rel_;
+
+ // copy and assignment are not allowed
+ StringDef_tie (const StringDef_tie &);
+ void operator= (const StringDef_tie &);
+};
+
+#endif /* ACE_HAS_USING_KEYWORD */
+
+class WstringDef;
+typedef WstringDef *WstringDef_ptr;
+// Forward Classes Declaration
+class _TAO_WstringDef_ThruPOA_Proxy_Impl;
+class _TAO_WstringDef_Strategized_Proxy_Broker;
+
+class WstringDef : public virtual IDLType
+{
+protected:
+ WstringDef (void);
+
+public:
+ WstringDef (const WstringDef& rhs);
+ virtual ~WstringDef (void);
+
+
+ virtual CORBA::Boolean _is_a (
+ const char* logical_type_id,
+ CORBA::Environment &ACE_TRY_ENV =
+ TAO_default_environment ()
+ );
+
+ virtual void* _downcast (
+ const char* logical_type_id
+ );
+
+ static void _is_a_skel (
+ TAO_ServerRequest &req,
+ void *obj,
+ void *context,
+ CORBA::Environment &ACE_TRY_ENV =
+ TAO_default_environment ()
+ );
+
+ static void _non_existent_skel (
+ TAO_ServerRequest &req,
+ void *obj,
+ void *context,
+ CORBA::Environment &ACE_TRY_ENV =
+ TAO_default_environment ()
+ );
+
+ virtual void _dispatch (
+ TAO_ServerRequest &_tao_req,
+ void *_tao_context,
+ CORBA::Environment &ACE_TRY_ENV =
+ TAO_default_environment ()
+ );
+
+ ::CORBA::WstringDef *_this (
+ CORBA::Environment &ACE_TRY_ENV =
+ TAO_default_environment ()
+ );
+
+ virtual const char* _interface_repository_id (void) const;
+
+ virtual CORBA::ULong bound (
+ CORBA::Environment &ACE_TRY_ENV =
+ TAO_default_environment ()
+ )
+ ACE_THROW_SPEC ((
+ CORBA::SystemException
+ )) = 0;
+
+ static void _get_bound_skel (
+ TAO_ServerRequest &_tao_req,
+ void *_tao_obj,
+ void *_tao_context,
+ CORBA::Environment &ACE_TRY_ENV =
+ TAO_default_environment ()
+ );
+
+ virtual void bound (
+ CORBA::ULong bound,
+ CORBA::Environment &ACE_TRY_ENV =
+ TAO_default_environment ()
+ )
+ ACE_THROW_SPEC ((
+ CORBA::SystemException
+ )) = 0;
+
+ static void _set_bound_skel (
+ TAO_ServerRequest &_tao_req,
+ void *_tao_obj,
+ void *_tao_context,
+ CORBA::Environment &ACE_TRY_ENV =
+ TAO_default_environment ()
+ );
+
+ static void _get_type_skel (
+ TAO_ServerRequest &req,
+ void *obj,
+ void *context,
+ CORBA::Environment &ACE_TRY_ENV =
+ TAO_default_environment ()
+ );
+
+ static void _get_def_kind_skel (
+ TAO_ServerRequest &req,
+ void *obj,
+ void *context,
+ CORBA::Environment &ACE_TRY_ENV =
+ TAO_default_environment ()
+ );
+
+ static void destroy_skel (
+ TAO_ServerRequest &req,
+ void *obj,
+ void *context,
+ CORBA::Environment &ACE_TRY_ENV =
+ TAO_default_environment ()
+ );
+
+
+#if (TAO_HAS_INTERCEPTORS == 1)
+ // Generation of interceptors related RequestInfo classes per operation.
+ // This needed to be able to store the arguments, exceptions, contexts
+ // and build the lists dynamically on demand so that unnecessary time overhead
+ // of building these lists when they arent used is avoided.
+ class TAO_ServerRequestInfo_CORBA_WstringDef_bound_get : public TAO_ServerRequestInfo
+ {
+ public:
+ friend class POA_CORBA::WstringDef;
+ TAO_ServerRequestInfo_CORBA_WstringDef_bound_get (
+ TAO_ServerRequest &_tao_server_request,
+ POA_CORBA::WstringDef *tao_impl,
+ CORBA::Environment &ACE_TRY_ENV =
+ TAO_default_environment ()
+ );
+
+ virtual Dynamic::ParameterList * arguments (
+ CORBA::Environment &ACE_TRY_ENV =
+ TAO_default_environment ()
+ )
+ ACE_THROW_SPEC ((CORBA::SystemException));
+
+ virtual Dynamic::ExceptionList * exceptions (
+ CORBA::Environment &ACE_TRY_ENV =
+ TAO_default_environment ()
+ )
+ ACE_THROW_SPEC ((CORBA::SystemException));
+
+ virtual CORBA::Any * result (
+ CORBA::Environment &ACE_TRY_ENV =
+ TAO_default_environment ()
+ )
+ ACE_THROW_SPEC ((CORBA::SystemException));
+
+ virtual char * target_most_derived_interface (
+ CORBA::Environment &ACE_TRY_ENV = TAO_default_environment ())
+ ACE_THROW_SPEC ((CORBA::SystemException));
+
+ virtual CORBA::Boolean target_is_a (
+ const char * id,
+ CORBA::Environment &ACE_TRY_ENV = TAO_default_environment ())
+ ACE_THROW_SPEC ((CORBA::SystemException));
+
+ private:
+ TAO_ServerRequestInfo_CORBA_WstringDef_bound_get (const TAO_ServerRequestInfo_CORBA_WstringDef_bound_get &);
+ void operator= (const TAO_ServerRequestInfo_CORBA_WstringDef_bound_get &);
+
+ private:
+ POA_CORBA::WstringDef *_tao_impl;
+ void result (CORBA::ULong result);
+ // update the result
+ CORBA::ULong _result;
+ };
+
+ class TAO_ServerRequestInfo_CORBA_WstringDef_bound_set : public TAO_ServerRequestInfo
+ {
+ public:
+ friend class POA_CORBA::WstringDef;
+ TAO_ServerRequestInfo_CORBA_WstringDef_bound_set (
+ TAO_ServerRequest &_tao_server_request,
+ POA_CORBA::WstringDef *tao_impl,
+ const CORBA::ULong & bound,
+ CORBA::Environment &ACE_TRY_ENV =
+ TAO_default_environment ()
+ );
+
+ virtual Dynamic::ParameterList * arguments (
+ CORBA::Environment &ACE_TRY_ENV =
+ TAO_default_environment ()
+ )
+ ACE_THROW_SPEC ((CORBA::SystemException));
+
+ virtual Dynamic::ExceptionList * exceptions (
+ CORBA::Environment &ACE_TRY_ENV =
+ TAO_default_environment ()
+ )
+ ACE_THROW_SPEC ((CORBA::SystemException));
+
+ virtual CORBA::Any * result (
+ CORBA::Environment &ACE_TRY_ENV =
+ TAO_default_environment ()
+ )
+ ACE_THROW_SPEC ((CORBA::SystemException));
+
+ virtual char * target_most_derived_interface (
+ CORBA::Environment &ACE_TRY_ENV = TAO_default_environment ())
+ ACE_THROW_SPEC ((CORBA::SystemException));
+
+ virtual CORBA::Boolean target_is_a (
+ const char * id,
+ CORBA::Environment &ACE_TRY_ENV = TAO_default_environment ())
+ ACE_THROW_SPEC ((CORBA::SystemException));
+
+ private:
+ TAO_ServerRequestInfo_CORBA_WstringDef_bound_set (const TAO_ServerRequestInfo_CORBA_WstringDef_bound_set &);
+ void operator= (const TAO_ServerRequestInfo_CORBA_WstringDef_bound_set &);
+
+ private:
+ POA_CORBA::WstringDef *_tao_impl;
+ const CORBA::ULong & bound_;
+
+ };
+
+ #endif /* TAO_HAS_INTERCEPTORS */
+
+};
+
+
+///////////////////////////////////////////////////////////////////////
+// Strategized Proxy Broker Declaration
+//
+
+class _TAO_WstringDef_Strategized_Proxy_Broker : public virtual ::_TAO_WstringDef_Proxy_Broker
+{
+public:
+ _TAO_WstringDef_Strategized_Proxy_Broker (void);
+
+ virtual ~_TAO_WstringDef_Strategized_Proxy_Broker (void);
+
+ virtual ::_TAO_WstringDef_Proxy_Impl &select_proxy (
+ ::CORBA::WstringDef *object,
+ CORBA_Environment &ACE_TRY_ENV = TAO_default_environment ()
+ );
+
+private:
+
+// Helper methods that takes care to create the proxy
+// as soon as their use is necessary.
+ void create_proxy (
+ int strategy,
+ CORBA::Environment &ACE_TRY_ENV
+ );
+
+private:
+
+ // Caches the proxy implementations. The proxy implementation
+ // are totally stateless, and those can be shared by all the
+ // instances of a given IDL interface type.
+ ::_TAO_WstringDef_Proxy_Impl
+ *proxy_cache_[TAO_Collocation_Strategies::CS_LAST];
+
+ TAO_SYNCH_MUTEX mutex_;
+// This funxtion is used to get an handle to the unique instance
+// of the Strategized Proxy Broker that is available for a given
+// interface.
+
+public:
+ static _TAO_WstringDef_Strategized_Proxy_Broker *the_TAO_WstringDef_Strategized_Proxy_Broker (void);
+};
+
+
+//
+// End Strategized Proxy Broker Declaration
+///////////////////////////////////////////////////////////////////////
+
+
+///////////////////////////////////////////////////////////////////////
+// ThruPOA Impl. Declaration
+//
+
+class _TAO_WstringDef_ThruPOA_Proxy_Impl :
+ public virtual ::_TAO_WstringDef_Proxy_Impl,
+ public virtual TAO_ThruPOA_Object_Proxy_Impl,
+ public virtual ::POA_CORBA::_TAO_IDLType_ThruPOA_Proxy_Impl
+
+{
+public:
+ _TAO_WstringDef_ThruPOA_Proxy_Impl (void);
+
+ virtual ~_TAO_WstringDef_ThruPOA_Proxy_Impl (void) { }
+
+ virtual CORBA::ULong bound (
+ CORBA_Object *_collocated_tao_target_,
+ CORBA::Environment &ACE_TRY_ENV
+ )
+ ACE_THROW_SPEC ((
+ CORBA::SystemException
+ ));
+
+ virtual void bound (
+ CORBA_Object *_collocated_tao_target_,
+ CORBA::ULong bound,
+ CORBA::Environment &ACE_TRY_ENV
+ )
+ ACE_THROW_SPEC ((
+ CORBA::SystemException
+ ));
+
+};
+
+
+//
+// ThruPOA Proxy Impl. Declaration
+///////////////////////////////////////////////////////////////////////
+
+
+#if defined (ACE_HAS_USING_KEYWORD)
+// TIE class: Refer to CORBA v2.2, Section 20.34.4
+template <class T>
+class WstringDef_tie : public WstringDef
+{
+public:
+ WstringDef_tie (T &t);
+ // the T& ctor
+ WstringDef_tie (T &t, PortableServer::POA_ptr poa);
+ // ctor taking a POA
+ WstringDef_tie (T *tp, CORBA::Boolean release=1);
+ // ctor taking pointer and an ownership flag
+ WstringDef_tie (T *tp, PortableServer::POA_ptr poa, CORBA::Boolean release=1);
+ // ctor with T*, ownership flag and a POA
+ ~WstringDef_tie (void);
+ // dtor
+
+ // TIE specific functions
+ T *_tied_object (void);
+ // return the underlying object
+ void _tied_object (T &obj);
+ // set the underlying object
+ void _tied_object (T *obj, CORBA::Boolean release=1);
+ // set the underlying object and the ownership flag
+ CORBA::Boolean _is_owner (void);
+ // do we own it
+ void _is_owner (CORBA::Boolean b);
+ // set the ownership
+
+ // overridden ServantBase operations
+ PortableServer::POA_ptr _default_POA (
+ CORBA::Environment &ACE_TRY_ENV =
+ TAO_default_environment ()
+ );
+ CORBA::ULong bound (
+ CORBA::Environment &ACE_TRY_ENV =
+ TAO_default_environment ()
+ )
+ ACE_THROW_SPEC ((
+ CORBA::SystemException
+ ));
+
+ void bound (
+ CORBA::ULong bound,
+ CORBA::Environment &ACE_TRY_ENV =
+ TAO_default_environment ()
+ )
+ ACE_THROW_SPEC ((
+ CORBA::SystemException
+ ));
+
+ CORBA::TypeCode_ptr type (
+ CORBA::Environment &ACE_TRY_ENV =
+ TAO_default_environment ()
+ )
+ ACE_THROW_SPEC ((
+ CORBA::SystemException
+ ));
+
+ CORBA::DefinitionKind def_kind (
+ CORBA::Environment &ACE_TRY_ENV =
+ TAO_default_environment ()
+ )
+ ACE_THROW_SPEC ((
+ CORBA::SystemException
+ ));
+
+ void destroy (
+ CORBA::Environment &ACE_TRY_ENV =
+ TAO_default_environment ()
+ )
+ ACE_THROW_SPEC ((
+ CORBA::SystemException
+ ));
+
+private:
+ T *ptr_;
+ PortableServer::POA_var poa_;
+ CORBA::Boolean rel_;
+
+ // copy and assignment are not allowed
+ WstringDef_tie (const WstringDef_tie &);
+ void operator= (const WstringDef_tie &);
+};
+
+#endif /* ACE_HAS_USING_KEYWORD */
+
+class SequenceDef;
+typedef SequenceDef *SequenceDef_ptr;
+// Forward Classes Declaration
+class _TAO_SequenceDef_ThruPOA_Proxy_Impl;
+class _TAO_SequenceDef_Strategized_Proxy_Broker;
+
+class SequenceDef : public virtual IDLType
+{
+protected:
+ SequenceDef (void);
+
+public:
+ SequenceDef (const SequenceDef& rhs);
+ virtual ~SequenceDef (void);
+
+
+ virtual CORBA::Boolean _is_a (
+ const char* logical_type_id,
+ CORBA::Environment &ACE_TRY_ENV =
+ TAO_default_environment ()
+ );
+
+ virtual void* _downcast (
+ const char* logical_type_id
+ );
+
+ static void _is_a_skel (
+ TAO_ServerRequest &req,
+ void *obj,
+ void *context,
+ CORBA::Environment &ACE_TRY_ENV =
+ TAO_default_environment ()
+ );
+
+ static void _non_existent_skel (
+ TAO_ServerRequest &req,
+ void *obj,
+ void *context,
+ CORBA::Environment &ACE_TRY_ENV =
+ TAO_default_environment ()
+ );
+
+ virtual void _dispatch (
+ TAO_ServerRequest &_tao_req,
+ void *_tao_context,
+ CORBA::Environment &ACE_TRY_ENV =
+ TAO_default_environment ()
+ );
+
+ ::CORBA::SequenceDef *_this (
+ CORBA::Environment &ACE_TRY_ENV =
+ TAO_default_environment ()
+ );
+
+ virtual const char* _interface_repository_id (void) const;
+
+ virtual CORBA::ULong bound (
+ CORBA::Environment &ACE_TRY_ENV =
+ TAO_default_environment ()
+ )
+ ACE_THROW_SPEC ((
+ CORBA::SystemException
+ )) = 0;
+
+ static void _get_bound_skel (
+ TAO_ServerRequest &_tao_req,
+ void *_tao_obj,
+ void *_tao_context,
+ CORBA::Environment &ACE_TRY_ENV =
+ TAO_default_environment ()
+ );
+
+ virtual void bound (
+ CORBA::ULong bound,
+ CORBA::Environment &ACE_TRY_ENV =
+ TAO_default_environment ()
+ )
+ ACE_THROW_SPEC ((
+ CORBA::SystemException
+ )) = 0;
+
+ static void _set_bound_skel (
+ TAO_ServerRequest &_tao_req,
+ void *_tao_obj,
+ void *_tao_context,
+ CORBA::Environment &ACE_TRY_ENV =
+ TAO_default_environment ()
+ );
+
+ virtual CORBA::TypeCode_ptr element_type (
+ CORBA::Environment &ACE_TRY_ENV =
+ TAO_default_environment ()
+ )
+ ACE_THROW_SPEC ((
+ CORBA::SystemException
+ )) = 0;
+
+ static void _get_element_type_skel (
+ TAO_ServerRequest &_tao_req,
+ void *_tao_obj,
+ void *_tao_context,
+ CORBA::Environment &ACE_TRY_ENV =
+ TAO_default_environment ()
+ );
+
+ virtual CORBA::IDLType_ptr element_type_def (
+ CORBA::Environment &ACE_TRY_ENV =
+ TAO_default_environment ()
+ )
+ ACE_THROW_SPEC ((
+ CORBA::SystemException
+ )) = 0;
+
+ static void _get_element_type_def_skel (
+ TAO_ServerRequest &_tao_req,
+ void *_tao_obj,
+ void *_tao_context,
+ CORBA::Environment &ACE_TRY_ENV =
+ TAO_default_environment ()
+ );
+
+ virtual void element_type_def (
+ CORBA::IDLType_ptr element_type_def,
+ CORBA::Environment &ACE_TRY_ENV =
+ TAO_default_environment ()
+ )
+ ACE_THROW_SPEC ((
+ CORBA::SystemException
+ )) = 0;
+
+ static void _set_element_type_def_skel (
+ TAO_ServerRequest &_tao_req,
+ void *_tao_obj,
+ void *_tao_context,
+ CORBA::Environment &ACE_TRY_ENV =
+ TAO_default_environment ()
+ );
+
+ static void _get_type_skel (
+ TAO_ServerRequest &req,
+ void *obj,
+ void *context,
+ CORBA::Environment &ACE_TRY_ENV =
+ TAO_default_environment ()
+ );
+
+ static void _get_def_kind_skel (
+ TAO_ServerRequest &req,
+ void *obj,
+ void *context,
+ CORBA::Environment &ACE_TRY_ENV =
+ TAO_default_environment ()
+ );
+
+ static void destroy_skel (
+ TAO_ServerRequest &req,
+ void *obj,
+ void *context,
+ CORBA::Environment &ACE_TRY_ENV =
+ TAO_default_environment ()
+ );
+
+
+#if (TAO_HAS_INTERCEPTORS == 1)
+ // Generation of interceptors related RequestInfo classes per operation.
+ // This needed to be able to store the arguments, exceptions, contexts
+ // and build the lists dynamically on demand so that unnecessary time overhead
+ // of building these lists when they arent used is avoided.
+ class TAO_ServerRequestInfo_CORBA_SequenceDef_bound_get : public TAO_ServerRequestInfo
+ {
+ public:
+ friend class POA_CORBA::SequenceDef;
+ TAO_ServerRequestInfo_CORBA_SequenceDef_bound_get (
+ TAO_ServerRequest &_tao_server_request,
+ POA_CORBA::SequenceDef *tao_impl,
+ CORBA::Environment &ACE_TRY_ENV =
+ TAO_default_environment ()
+ );
+
+ virtual Dynamic::ParameterList * arguments (
+ CORBA::Environment &ACE_TRY_ENV =
+ TAO_default_environment ()
+ )
+ ACE_THROW_SPEC ((CORBA::SystemException));
+
+ virtual Dynamic::ExceptionList * exceptions (
+ CORBA::Environment &ACE_TRY_ENV =
+ TAO_default_environment ()
+ )
+ ACE_THROW_SPEC ((CORBA::SystemException));
+
+ virtual CORBA::Any * result (
+ CORBA::Environment &ACE_TRY_ENV =
+ TAO_default_environment ()
+ )
+ ACE_THROW_SPEC ((CORBA::SystemException));
+
+ virtual char * target_most_derived_interface (
+ CORBA::Environment &ACE_TRY_ENV = TAO_default_environment ())
+ ACE_THROW_SPEC ((CORBA::SystemException));
+
+ virtual CORBA::Boolean target_is_a (
+ const char * id,
+ CORBA::Environment &ACE_TRY_ENV = TAO_default_environment ())
+ ACE_THROW_SPEC ((CORBA::SystemException));
+
+ private:
+ TAO_ServerRequestInfo_CORBA_SequenceDef_bound_get (const TAO_ServerRequestInfo_CORBA_SequenceDef_bound_get &);
+ void operator= (const TAO_ServerRequestInfo_CORBA_SequenceDef_bound_get &);
+
+ private:
+ POA_CORBA::SequenceDef *_tao_impl;
+ void result (CORBA::ULong result);
+ // update the result
+ CORBA::ULong _result;
+ };
+
+ class TAO_ServerRequestInfo_CORBA_SequenceDef_bound_set : public TAO_ServerRequestInfo
+ {
+ public:
+ friend class POA_CORBA::SequenceDef;
+ TAO_ServerRequestInfo_CORBA_SequenceDef_bound_set (
+ TAO_ServerRequest &_tao_server_request,
+ POA_CORBA::SequenceDef *tao_impl,
+ const CORBA::ULong & bound,
+ CORBA::Environment &ACE_TRY_ENV =
+ TAO_default_environment ()
+ );
+
+ virtual Dynamic::ParameterList * arguments (
+ CORBA::Environment &ACE_TRY_ENV =
+ TAO_default_environment ()
+ )
+ ACE_THROW_SPEC ((CORBA::SystemException));
+
+ virtual Dynamic::ExceptionList * exceptions (
+ CORBA::Environment &ACE_TRY_ENV =
+ TAO_default_environment ()
+ )
+ ACE_THROW_SPEC ((CORBA::SystemException));
+
+ virtual CORBA::Any * result (
+ CORBA::Environment &ACE_TRY_ENV =
+ TAO_default_environment ()
+ )
+ ACE_THROW_SPEC ((CORBA::SystemException));
+
+ virtual char * target_most_derived_interface (
+ CORBA::Environment &ACE_TRY_ENV = TAO_default_environment ())
+ ACE_THROW_SPEC ((CORBA::SystemException));
+
+ virtual CORBA::Boolean target_is_a (
+ const char * id,
+ CORBA::Environment &ACE_TRY_ENV = TAO_default_environment ())
+ ACE_THROW_SPEC ((CORBA::SystemException));
+
+ private:
+ TAO_ServerRequestInfo_CORBA_SequenceDef_bound_set (const TAO_ServerRequestInfo_CORBA_SequenceDef_bound_set &);
+ void operator= (const TAO_ServerRequestInfo_CORBA_SequenceDef_bound_set &);
+
+ private:
+ POA_CORBA::SequenceDef *_tao_impl;
+ const CORBA::ULong & bound_;
+
+ };
+
+ class TAO_ServerRequestInfo_CORBA_SequenceDef_element_type_get : public TAO_ServerRequestInfo
+ {
+ public:
+ friend class POA_CORBA::SequenceDef;
+ TAO_ServerRequestInfo_CORBA_SequenceDef_element_type_get (
+ TAO_ServerRequest &_tao_server_request,
+ POA_CORBA::SequenceDef *tao_impl,
+ CORBA::Environment &ACE_TRY_ENV =
+ TAO_default_environment ()
+ );
+
+ virtual Dynamic::ParameterList * arguments (
+ CORBA::Environment &ACE_TRY_ENV =
+ TAO_default_environment ()
+ )
+ ACE_THROW_SPEC ((CORBA::SystemException));
+
+ virtual Dynamic::ExceptionList * exceptions (
+ CORBA::Environment &ACE_TRY_ENV =
+ TAO_default_environment ()
+ )
+ ACE_THROW_SPEC ((CORBA::SystemException));
+
+ virtual CORBA::Any * result (
+ CORBA::Environment &ACE_TRY_ENV =
+ TAO_default_environment ()
+ )
+ ACE_THROW_SPEC ((CORBA::SystemException));
+
+ virtual char * target_most_derived_interface (
+ CORBA::Environment &ACE_TRY_ENV = TAO_default_environment ())
+ ACE_THROW_SPEC ((CORBA::SystemException));
+
+ virtual CORBA::Boolean target_is_a (
+ const char * id,
+ CORBA::Environment &ACE_TRY_ENV = TAO_default_environment ())
+ ACE_THROW_SPEC ((CORBA::SystemException));
+
+ private:
+ TAO_ServerRequestInfo_CORBA_SequenceDef_element_type_get (const TAO_ServerRequestInfo_CORBA_SequenceDef_element_type_get &);
+ void operator= (const TAO_ServerRequestInfo_CORBA_SequenceDef_element_type_get &);
+
+ private:
+ POA_CORBA::SequenceDef *_tao_impl;
+ void result (CORBA::TypeCode_ptr result);
+ // update the result
+ CORBA::TypeCode_ptr _result;
+ };
+
+ class TAO_ServerRequestInfo_CORBA_SequenceDef_element_type_def_get : public TAO_ServerRequestInfo
+ {
+ public:
+ friend class POA_CORBA::SequenceDef;
+ TAO_ServerRequestInfo_CORBA_SequenceDef_element_type_def_get (
+ TAO_ServerRequest &_tao_server_request,
+ POA_CORBA::SequenceDef *tao_impl,
+ CORBA::Environment &ACE_TRY_ENV =
+ TAO_default_environment ()
+ );
+
+ virtual Dynamic::ParameterList * arguments (
+ CORBA::Environment &ACE_TRY_ENV =
+ TAO_default_environment ()
+ )
+ ACE_THROW_SPEC ((CORBA::SystemException));
+
+ virtual Dynamic::ExceptionList * exceptions (
+ CORBA::Environment &ACE_TRY_ENV =
+ TAO_default_environment ()
+ )
+ ACE_THROW_SPEC ((CORBA::SystemException));
+
+ virtual CORBA::Any * result (
+ CORBA::Environment &ACE_TRY_ENV =
+ TAO_default_environment ()
+ )
+ ACE_THROW_SPEC ((CORBA::SystemException));
+
+ virtual char * target_most_derived_interface (
+ CORBA::Environment &ACE_TRY_ENV = TAO_default_environment ())
+ ACE_THROW_SPEC ((CORBA::SystemException));
+
+ virtual CORBA::Boolean target_is_a (
+ const char * id,
+ CORBA::Environment &ACE_TRY_ENV = TAO_default_environment ())
+ ACE_THROW_SPEC ((CORBA::SystemException));
+
+ private:
+ TAO_ServerRequestInfo_CORBA_SequenceDef_element_type_def_get (const TAO_ServerRequestInfo_CORBA_SequenceDef_element_type_def_get &);
+ void operator= (const TAO_ServerRequestInfo_CORBA_SequenceDef_element_type_def_get &);
+
+ private:
+ POA_CORBA::SequenceDef *_tao_impl;
+ void result (CORBA::IDLType_ptr result);
+ // update the result
+ CORBA::IDLType_ptr _result;
+ };
+
+ class TAO_ServerRequestInfo_CORBA_SequenceDef_element_type_def_set : public TAO_ServerRequestInfo
+ {
+ public:
+ friend class POA_CORBA::SequenceDef;
+ TAO_ServerRequestInfo_CORBA_SequenceDef_element_type_def_set (
+ TAO_ServerRequest &_tao_server_request,
+ POA_CORBA::SequenceDef *tao_impl,
+ CORBA::IDLType_ptr element_type_def,
+ CORBA::Environment &ACE_TRY_ENV =
+ TAO_default_environment ()
+ );
+
+ virtual Dynamic::ParameterList * arguments (
+ CORBA::Environment &ACE_TRY_ENV =
+ TAO_default_environment ()
+ )
+ ACE_THROW_SPEC ((CORBA::SystemException));
+
+ virtual Dynamic::ExceptionList * exceptions (
+ CORBA::Environment &ACE_TRY_ENV =
+ TAO_default_environment ()
+ )
+ ACE_THROW_SPEC ((CORBA::SystemException));
+
+ virtual CORBA::Any * result (
+ CORBA::Environment &ACE_TRY_ENV =
+ TAO_default_environment ()
+ )
+ ACE_THROW_SPEC ((CORBA::SystemException));
+
+ virtual char * target_most_derived_interface (
+ CORBA::Environment &ACE_TRY_ENV = TAO_default_environment ())
+ ACE_THROW_SPEC ((CORBA::SystemException));
+
+ virtual CORBA::Boolean target_is_a (
+ const char * id,
+ CORBA::Environment &ACE_TRY_ENV = TAO_default_environment ())
+ ACE_THROW_SPEC ((CORBA::SystemException));
+
+ private:
+ TAO_ServerRequestInfo_CORBA_SequenceDef_element_type_def_set (const TAO_ServerRequestInfo_CORBA_SequenceDef_element_type_def_set &);
+ void operator= (const TAO_ServerRequestInfo_CORBA_SequenceDef_element_type_def_set &);
+
+ private:
+ POA_CORBA::SequenceDef *_tao_impl;
+ CORBA::IDLType_ptr element_type_def_;
+
+ };
+
+ #endif /* TAO_HAS_INTERCEPTORS */
+
+};
+
+
+///////////////////////////////////////////////////////////////////////
+// Strategized Proxy Broker Declaration
+//
+
+class _TAO_SequenceDef_Strategized_Proxy_Broker : public virtual ::_TAO_SequenceDef_Proxy_Broker
+{
+public:
+ _TAO_SequenceDef_Strategized_Proxy_Broker (void);
+
+ virtual ~_TAO_SequenceDef_Strategized_Proxy_Broker (void);
+
+ virtual ::_TAO_SequenceDef_Proxy_Impl &select_proxy (
+ ::CORBA::SequenceDef *object,
+ CORBA_Environment &ACE_TRY_ENV = TAO_default_environment ()
+ );
+
+private:
+
+// Helper methods that takes care to create the proxy
+// as soon as their use is necessary.
+ void create_proxy (
+ int strategy,
+ CORBA::Environment &ACE_TRY_ENV
+ );
+
+private:
+
+ // Caches the proxy implementations. The proxy implementation
+ // are totally stateless, and those can be shared by all the
+ // instances of a given IDL interface type.
+ ::_TAO_SequenceDef_Proxy_Impl
+ *proxy_cache_[TAO_Collocation_Strategies::CS_LAST];
+
+ TAO_SYNCH_MUTEX mutex_;
+// This funxtion is used to get an handle to the unique instance
+// of the Strategized Proxy Broker that is available for a given
+// interface.
+
+public:
+ static _TAO_SequenceDef_Strategized_Proxy_Broker *the_TAO_SequenceDef_Strategized_Proxy_Broker (void);
+};
+
+
+//
+// End Strategized Proxy Broker Declaration
+///////////////////////////////////////////////////////////////////////
+
+
+///////////////////////////////////////////////////////////////////////
+// ThruPOA Impl. Declaration
+//
+
+class _TAO_SequenceDef_ThruPOA_Proxy_Impl :
+ public virtual ::_TAO_SequenceDef_Proxy_Impl,
+ public virtual TAO_ThruPOA_Object_Proxy_Impl,
+ public virtual ::POA_CORBA::_TAO_IDLType_ThruPOA_Proxy_Impl
+
+{
+public:
+ _TAO_SequenceDef_ThruPOA_Proxy_Impl (void);
+
+ virtual ~_TAO_SequenceDef_ThruPOA_Proxy_Impl (void) { }
+
+ virtual CORBA::ULong bound (
+ CORBA_Object *_collocated_tao_target_,
+ CORBA::Environment &ACE_TRY_ENV
+ )
+ ACE_THROW_SPEC ((
+ CORBA::SystemException
+ ));
+
+ virtual void bound (
+ CORBA_Object *_collocated_tao_target_,
+ CORBA::ULong bound,
+ CORBA::Environment &ACE_TRY_ENV
+ )
+ ACE_THROW_SPEC ((
+ CORBA::SystemException
+ ));
+
+ virtual CORBA::TypeCode_ptr element_type (
+ CORBA_Object *_collocated_tao_target_,
+ CORBA::Environment &ACE_TRY_ENV
+ )
+ ACE_THROW_SPEC ((
+ CORBA::SystemException
+ ));
+
+ virtual CORBA::IDLType_ptr element_type_def (
+ CORBA_Object *_collocated_tao_target_,
+ CORBA::Environment &ACE_TRY_ENV
+ )
+ ACE_THROW_SPEC ((
+ CORBA::SystemException
+ ));
+
+ virtual void element_type_def (
+ CORBA_Object *_collocated_tao_target_,
+ CORBA::IDLType_ptr element_type_def,
+ CORBA::Environment &ACE_TRY_ENV
+ )
+ ACE_THROW_SPEC ((
+ CORBA::SystemException
+ ));
+
+};
+
+
+//
+// ThruPOA Proxy Impl. Declaration
+///////////////////////////////////////////////////////////////////////
+
+
+#if defined (ACE_HAS_USING_KEYWORD)
+// TIE class: Refer to CORBA v2.2, Section 20.34.4
+template <class T>
+class SequenceDef_tie : public SequenceDef
+{
+public:
+ SequenceDef_tie (T &t);
+ // the T& ctor
+ SequenceDef_tie (T &t, PortableServer::POA_ptr poa);
+ // ctor taking a POA
+ SequenceDef_tie (T *tp, CORBA::Boolean release=1);
+ // ctor taking pointer and an ownership flag
+ SequenceDef_tie (T *tp, PortableServer::POA_ptr poa, CORBA::Boolean release=1);
+ // ctor with T*, ownership flag and a POA
+ ~SequenceDef_tie (void);
+ // dtor
+
+ // TIE specific functions
+ T *_tied_object (void);
+ // return the underlying object
+ void _tied_object (T &obj);
+ // set the underlying object
+ void _tied_object (T *obj, CORBA::Boolean release=1);
+ // set the underlying object and the ownership flag
+ CORBA::Boolean _is_owner (void);
+ // do we own it
+ void _is_owner (CORBA::Boolean b);
+ // set the ownership
+
+ // overridden ServantBase operations
+ PortableServer::POA_ptr _default_POA (
+ CORBA::Environment &ACE_TRY_ENV =
+ TAO_default_environment ()
+ );
+ CORBA::ULong bound (
+ CORBA::Environment &ACE_TRY_ENV =
+ TAO_default_environment ()
+ )
+ ACE_THROW_SPEC ((
+ CORBA::SystemException
+ ));
+
+ void bound (
+ CORBA::ULong bound,
+ CORBA::Environment &ACE_TRY_ENV =
+ TAO_default_environment ()
+ )
+ ACE_THROW_SPEC ((
+ CORBA::SystemException
+ ));
+
+ CORBA::TypeCode_ptr element_type (
+ CORBA::Environment &ACE_TRY_ENV =
+ TAO_default_environment ()
+ )
+ ACE_THROW_SPEC ((
+ CORBA::SystemException
+ ));
+
+ CORBA::IDLType_ptr element_type_def (
+ CORBA::Environment &ACE_TRY_ENV =
+ TAO_default_environment ()
+ )
+ ACE_THROW_SPEC ((
+ CORBA::SystemException
+ ));
+
+ void element_type_def (
+ CORBA::IDLType_ptr element_type_def,
+ CORBA::Environment &ACE_TRY_ENV =
+ TAO_default_environment ()
+ )
+ ACE_THROW_SPEC ((
+ CORBA::SystemException
+ ));
+
+ CORBA::TypeCode_ptr type (
+ CORBA::Environment &ACE_TRY_ENV =
+ TAO_default_environment ()
+ )
+ ACE_THROW_SPEC ((
+ CORBA::SystemException
+ ));
+
+ CORBA::DefinitionKind def_kind (
+ CORBA::Environment &ACE_TRY_ENV =
+ TAO_default_environment ()
+ )
+ ACE_THROW_SPEC ((
+ CORBA::SystemException
+ ));
+
+ void destroy (
+ CORBA::Environment &ACE_TRY_ENV =
+ TAO_default_environment ()
+ )
+ ACE_THROW_SPEC ((
+ CORBA::SystemException
+ ));
+
+private:
+ T *ptr_;
+ PortableServer::POA_var poa_;
+ CORBA::Boolean rel_;
+
+ // copy and assignment are not allowed
+ SequenceDef_tie (const SequenceDef_tie &);
+ void operator= (const SequenceDef_tie &);
+};
+
+#endif /* ACE_HAS_USING_KEYWORD */
+
+class ArrayDef;
+typedef ArrayDef *ArrayDef_ptr;
+// Forward Classes Declaration
+class _TAO_ArrayDef_ThruPOA_Proxy_Impl;
+class _TAO_ArrayDef_Strategized_Proxy_Broker;
+
+class ArrayDef : public virtual IDLType
+{
+protected:
+ ArrayDef (void);
+
+public:
+ ArrayDef (const ArrayDef& rhs);
+ virtual ~ArrayDef (void);
+
+
+ virtual CORBA::Boolean _is_a (
+ const char* logical_type_id,
+ CORBA::Environment &ACE_TRY_ENV =
+ TAO_default_environment ()
+ );
+
+ virtual void* _downcast (
+ const char* logical_type_id
+ );
+
+ static void _is_a_skel (
+ TAO_ServerRequest &req,
+ void *obj,
+ void *context,
+ CORBA::Environment &ACE_TRY_ENV =
+ TAO_default_environment ()
+ );
+
+ static void _non_existent_skel (
+ TAO_ServerRequest &req,
+ void *obj,
+ void *context,
+ CORBA::Environment &ACE_TRY_ENV =
+ TAO_default_environment ()
+ );
+
+ virtual void _dispatch (
+ TAO_ServerRequest &_tao_req,
+ void *_tao_context,
+ CORBA::Environment &ACE_TRY_ENV =
+ TAO_default_environment ()
+ );
+
+ ::CORBA::ArrayDef *_this (
+ CORBA::Environment &ACE_TRY_ENV =
+ TAO_default_environment ()
+ );
+
+ virtual const char* _interface_repository_id (void) const;
+
+ virtual CORBA::ULong length (
+ CORBA::Environment &ACE_TRY_ENV =
+ TAO_default_environment ()
+ )
+ ACE_THROW_SPEC ((
+ CORBA::SystemException
+ )) = 0;
+
+ static void _get_length_skel (
+ TAO_ServerRequest &_tao_req,
+ void *_tao_obj,
+ void *_tao_context,
+ CORBA::Environment &ACE_TRY_ENV =
+ TAO_default_environment ()
+ );
+
+ virtual void length (
+ CORBA::ULong length,
+ CORBA::Environment &ACE_TRY_ENV =
+ TAO_default_environment ()
+ )
+ ACE_THROW_SPEC ((
+ CORBA::SystemException
+ )) = 0;
+
+ static void _set_length_skel (
+ TAO_ServerRequest &_tao_req,
+ void *_tao_obj,
+ void *_tao_context,
+ CORBA::Environment &ACE_TRY_ENV =
+ TAO_default_environment ()
+ );
+
+ virtual CORBA::TypeCode_ptr element_type (
+ CORBA::Environment &ACE_TRY_ENV =
+ TAO_default_environment ()
+ )
+ ACE_THROW_SPEC ((
+ CORBA::SystemException
+ )) = 0;
+
+ static void _get_element_type_skel (
+ TAO_ServerRequest &_tao_req,
+ void *_tao_obj,
+ void *_tao_context,
+ CORBA::Environment &ACE_TRY_ENV =
+ TAO_default_environment ()
+ );
+
+ virtual CORBA::IDLType_ptr element_type_def (
+ CORBA::Environment &ACE_TRY_ENV =
+ TAO_default_environment ()
+ )
+ ACE_THROW_SPEC ((
+ CORBA::SystemException
+ )) = 0;
+
+ static void _get_element_type_def_skel (
+ TAO_ServerRequest &_tao_req,
+ void *_tao_obj,
+ void *_tao_context,
+ CORBA::Environment &ACE_TRY_ENV =
+ TAO_default_environment ()
+ );
+
+ virtual void element_type_def (
+ CORBA::IDLType_ptr element_type_def,
+ CORBA::Environment &ACE_TRY_ENV =
+ TAO_default_environment ()
+ )
+ ACE_THROW_SPEC ((
+ CORBA::SystemException
+ )) = 0;
+
+ static void _set_element_type_def_skel (
+ TAO_ServerRequest &_tao_req,
+ void *_tao_obj,
+ void *_tao_context,
+ CORBA::Environment &ACE_TRY_ENV =
+ TAO_default_environment ()
+ );
+
+ static void _get_type_skel (
+ TAO_ServerRequest &req,
+ void *obj,
+ void *context,
+ CORBA::Environment &ACE_TRY_ENV =
+ TAO_default_environment ()
+ );
+
+ static void _get_def_kind_skel (
+ TAO_ServerRequest &req,
+ void *obj,
+ void *context,
+ CORBA::Environment &ACE_TRY_ENV =
+ TAO_default_environment ()
+ );
+
+ static void destroy_skel (
+ TAO_ServerRequest &req,
+ void *obj,
+ void *context,
+ CORBA::Environment &ACE_TRY_ENV =
+ TAO_default_environment ()
+ );
+
+
+#if (TAO_HAS_INTERCEPTORS == 1)
+ // Generation of interceptors related RequestInfo classes per operation.
+ // This needed to be able to store the arguments, exceptions, contexts
+ // and build the lists dynamically on demand so that unnecessary time overhead
+ // of building these lists when they arent used is avoided.
+ class TAO_ServerRequestInfo_CORBA_ArrayDef_length_get : public TAO_ServerRequestInfo
+ {
+ public:
+ friend class POA_CORBA::ArrayDef;
+ TAO_ServerRequestInfo_CORBA_ArrayDef_length_get (
+ TAO_ServerRequest &_tao_server_request,
+ POA_CORBA::ArrayDef *tao_impl,
+ CORBA::Environment &ACE_TRY_ENV =
+ TAO_default_environment ()
+ );
+
+ virtual Dynamic::ParameterList * arguments (
+ CORBA::Environment &ACE_TRY_ENV =
+ TAO_default_environment ()
+ )
+ ACE_THROW_SPEC ((CORBA::SystemException));
+
+ virtual Dynamic::ExceptionList * exceptions (
+ CORBA::Environment &ACE_TRY_ENV =
+ TAO_default_environment ()
+ )
+ ACE_THROW_SPEC ((CORBA::SystemException));
+
+ virtual CORBA::Any * result (
+ CORBA::Environment &ACE_TRY_ENV =
+ TAO_default_environment ()
+ )
+ ACE_THROW_SPEC ((CORBA::SystemException));
+
+ virtual char * target_most_derived_interface (
+ CORBA::Environment &ACE_TRY_ENV = TAO_default_environment ())
+ ACE_THROW_SPEC ((CORBA::SystemException));
+
+ virtual CORBA::Boolean target_is_a (
+ const char * id,
+ CORBA::Environment &ACE_TRY_ENV = TAO_default_environment ())
+ ACE_THROW_SPEC ((CORBA::SystemException));
+
+ private:
+ TAO_ServerRequestInfo_CORBA_ArrayDef_length_get (const TAO_ServerRequestInfo_CORBA_ArrayDef_length_get &);
+ void operator= (const TAO_ServerRequestInfo_CORBA_ArrayDef_length_get &);
+
+ private:
+ POA_CORBA::ArrayDef *_tao_impl;
+ void result (CORBA::ULong result);
+ // update the result
+ CORBA::ULong _result;
+ };
+
+ class TAO_ServerRequestInfo_CORBA_ArrayDef_length_set : public TAO_ServerRequestInfo
+ {
+ public:
+ friend class POA_CORBA::ArrayDef;
+ TAO_ServerRequestInfo_CORBA_ArrayDef_length_set (
+ TAO_ServerRequest &_tao_server_request,
+ POA_CORBA::ArrayDef *tao_impl,
+ const CORBA::ULong & length,
+ CORBA::Environment &ACE_TRY_ENV =
+ TAO_default_environment ()
+ );
+
+ virtual Dynamic::ParameterList * arguments (
+ CORBA::Environment &ACE_TRY_ENV =
+ TAO_default_environment ()
+ )
+ ACE_THROW_SPEC ((CORBA::SystemException));
+
+ virtual Dynamic::ExceptionList * exceptions (
+ CORBA::Environment &ACE_TRY_ENV =
+ TAO_default_environment ()
+ )
+ ACE_THROW_SPEC ((CORBA::SystemException));
+
+ virtual CORBA::Any * result (
+ CORBA::Environment &ACE_TRY_ENV =
+ TAO_default_environment ()
+ )
+ ACE_THROW_SPEC ((CORBA::SystemException));
+
+ virtual char * target_most_derived_interface (
+ CORBA::Environment &ACE_TRY_ENV = TAO_default_environment ())
+ ACE_THROW_SPEC ((CORBA::SystemException));
+
+ virtual CORBA::Boolean target_is_a (
+ const char * id,
+ CORBA::Environment &ACE_TRY_ENV = TAO_default_environment ())
+ ACE_THROW_SPEC ((CORBA::SystemException));
+
+ private:
+ TAO_ServerRequestInfo_CORBA_ArrayDef_length_set (const TAO_ServerRequestInfo_CORBA_ArrayDef_length_set &);
+ void operator= (const TAO_ServerRequestInfo_CORBA_ArrayDef_length_set &);
+
+ private:
+ POA_CORBA::ArrayDef *_tao_impl;
+ const CORBA::ULong & length_;
+
+ };
+
+ class TAO_ServerRequestInfo_CORBA_ArrayDef_element_type_get : public TAO_ServerRequestInfo
+ {
+ public:
+ friend class POA_CORBA::ArrayDef;
+ TAO_ServerRequestInfo_CORBA_ArrayDef_element_type_get (
+ TAO_ServerRequest &_tao_server_request,
+ POA_CORBA::ArrayDef *tao_impl,
+ CORBA::Environment &ACE_TRY_ENV =
+ TAO_default_environment ()
+ );
+
+ virtual Dynamic::ParameterList * arguments (
+ CORBA::Environment &ACE_TRY_ENV =
+ TAO_default_environment ()
+ )
+ ACE_THROW_SPEC ((CORBA::SystemException));
+
+ virtual Dynamic::ExceptionList * exceptions (
+ CORBA::Environment &ACE_TRY_ENV =
+ TAO_default_environment ()
+ )
+ ACE_THROW_SPEC ((CORBA::SystemException));
+
+ virtual CORBA::Any * result (
+ CORBA::Environment &ACE_TRY_ENV =
+ TAO_default_environment ()
+ )
+ ACE_THROW_SPEC ((CORBA::SystemException));
+
+ virtual char * target_most_derived_interface (
+ CORBA::Environment &ACE_TRY_ENV = TAO_default_environment ())
+ ACE_THROW_SPEC ((CORBA::SystemException));
+
+ virtual CORBA::Boolean target_is_a (
+ const char * id,
+ CORBA::Environment &ACE_TRY_ENV = TAO_default_environment ())
+ ACE_THROW_SPEC ((CORBA::SystemException));
+
+ private:
+ TAO_ServerRequestInfo_CORBA_ArrayDef_element_type_get (const TAO_ServerRequestInfo_CORBA_ArrayDef_element_type_get &);
+ void operator= (const TAO_ServerRequestInfo_CORBA_ArrayDef_element_type_get &);
+
+ private:
+ POA_CORBA::ArrayDef *_tao_impl;
+ void result (CORBA::TypeCode_ptr result);
+ // update the result
+ CORBA::TypeCode_ptr _result;
+ };
+
+ class TAO_ServerRequestInfo_CORBA_ArrayDef_element_type_def_get : public TAO_ServerRequestInfo
+ {
+ public:
+ friend class POA_CORBA::ArrayDef;
+ TAO_ServerRequestInfo_CORBA_ArrayDef_element_type_def_get (
+ TAO_ServerRequest &_tao_server_request,
+ POA_CORBA::ArrayDef *tao_impl,
+ CORBA::Environment &ACE_TRY_ENV =
+ TAO_default_environment ()
+ );
+
+ virtual Dynamic::ParameterList * arguments (
+ CORBA::Environment &ACE_TRY_ENV =
+ TAO_default_environment ()
+ )
+ ACE_THROW_SPEC ((CORBA::SystemException));
+
+ virtual Dynamic::ExceptionList * exceptions (
+ CORBA::Environment &ACE_TRY_ENV =
+ TAO_default_environment ()
+ )
+ ACE_THROW_SPEC ((CORBA::SystemException));
+
+ virtual CORBA::Any * result (
+ CORBA::Environment &ACE_TRY_ENV =
+ TAO_default_environment ()
+ )
+ ACE_THROW_SPEC ((CORBA::SystemException));
+
+ virtual char * target_most_derived_interface (
+ CORBA::Environment &ACE_TRY_ENV = TAO_default_environment ())
+ ACE_THROW_SPEC ((CORBA::SystemException));
+
+ virtual CORBA::Boolean target_is_a (
+ const char * id,
+ CORBA::Environment &ACE_TRY_ENV = TAO_default_environment ())
+ ACE_THROW_SPEC ((CORBA::SystemException));
+
+ private:
+ TAO_ServerRequestInfo_CORBA_ArrayDef_element_type_def_get (const TAO_ServerRequestInfo_CORBA_ArrayDef_element_type_def_get &);
+ void operator= (const TAO_ServerRequestInfo_CORBA_ArrayDef_element_type_def_get &);
+
+ private:
+ POA_CORBA::ArrayDef *_tao_impl;
+ void result (CORBA::IDLType_ptr result);
+ // update the result
+ CORBA::IDLType_ptr _result;
+ };
+
+ class TAO_ServerRequestInfo_CORBA_ArrayDef_element_type_def_set : public TAO_ServerRequestInfo
+ {
+ public:
+ friend class POA_CORBA::ArrayDef;
+ TAO_ServerRequestInfo_CORBA_ArrayDef_element_type_def_set (
+ TAO_ServerRequest &_tao_server_request,
+ POA_CORBA::ArrayDef *tao_impl,
+ CORBA::IDLType_ptr element_type_def,
+ CORBA::Environment &ACE_TRY_ENV =
+ TAO_default_environment ()
+ );
+
+ virtual Dynamic::ParameterList * arguments (
+ CORBA::Environment &ACE_TRY_ENV =
+ TAO_default_environment ()
+ )
+ ACE_THROW_SPEC ((CORBA::SystemException));
+
+ virtual Dynamic::ExceptionList * exceptions (
+ CORBA::Environment &ACE_TRY_ENV =
+ TAO_default_environment ()
+ )
+ ACE_THROW_SPEC ((CORBA::SystemException));
+
+ virtual CORBA::Any * result (
+ CORBA::Environment &ACE_TRY_ENV =
+ TAO_default_environment ()
+ )
+ ACE_THROW_SPEC ((CORBA::SystemException));
+
+ virtual char * target_most_derived_interface (
+ CORBA::Environment &ACE_TRY_ENV = TAO_default_environment ())
+ ACE_THROW_SPEC ((CORBA::SystemException));
+
+ virtual CORBA::Boolean target_is_a (
+ const char * id,
+ CORBA::Environment &ACE_TRY_ENV = TAO_default_environment ())
+ ACE_THROW_SPEC ((CORBA::SystemException));
+
+ private:
+ TAO_ServerRequestInfo_CORBA_ArrayDef_element_type_def_set (const TAO_ServerRequestInfo_CORBA_ArrayDef_element_type_def_set &);
+ void operator= (const TAO_ServerRequestInfo_CORBA_ArrayDef_element_type_def_set &);
+
+ private:
+ POA_CORBA::ArrayDef *_tao_impl;
+ CORBA::IDLType_ptr element_type_def_;
+
+ };
+
+ #endif /* TAO_HAS_INTERCEPTORS */
+
+};
+
+
+///////////////////////////////////////////////////////////////////////
+// Strategized Proxy Broker Declaration
+//
+
+class _TAO_ArrayDef_Strategized_Proxy_Broker : public virtual ::_TAO_ArrayDef_Proxy_Broker
+{
+public:
+ _TAO_ArrayDef_Strategized_Proxy_Broker (void);
+
+ virtual ~_TAO_ArrayDef_Strategized_Proxy_Broker (void);
+
+ virtual ::_TAO_ArrayDef_Proxy_Impl &select_proxy (
+ ::CORBA::ArrayDef *object,
+ CORBA_Environment &ACE_TRY_ENV = TAO_default_environment ()
+ );
+
+private:
+
+// Helper methods that takes care to create the proxy
+// as soon as their use is necessary.
+ void create_proxy (
+ int strategy,
+ CORBA::Environment &ACE_TRY_ENV
+ );
+
+private:
+
+ // Caches the proxy implementations. The proxy implementation
+ // are totally stateless, and those can be shared by all the
+ // instances of a given IDL interface type.
+ ::_TAO_ArrayDef_Proxy_Impl
+ *proxy_cache_[TAO_Collocation_Strategies::CS_LAST];
+
+ TAO_SYNCH_MUTEX mutex_;
+// This funxtion is used to get an handle to the unique instance
+// of the Strategized Proxy Broker that is available for a given
+// interface.
+
+public:
+ static _TAO_ArrayDef_Strategized_Proxy_Broker *the_TAO_ArrayDef_Strategized_Proxy_Broker (void);
+};
+
+
+//
+// End Strategized Proxy Broker Declaration
+///////////////////////////////////////////////////////////////////////
+
+
+///////////////////////////////////////////////////////////////////////
+// ThruPOA Impl. Declaration
+//
+
+class _TAO_ArrayDef_ThruPOA_Proxy_Impl :
+ public virtual ::_TAO_ArrayDef_Proxy_Impl,
+ public virtual TAO_ThruPOA_Object_Proxy_Impl,
+ public virtual ::POA_CORBA::_TAO_IDLType_ThruPOA_Proxy_Impl
+
+{
+public:
+ _TAO_ArrayDef_ThruPOA_Proxy_Impl (void);
+
+ virtual ~_TAO_ArrayDef_ThruPOA_Proxy_Impl (void) { }
+
+ virtual CORBA::ULong length (
+ CORBA_Object *_collocated_tao_target_,
+ CORBA::Environment &ACE_TRY_ENV
+ )
+ ACE_THROW_SPEC ((
+ CORBA::SystemException
+ ));
+
+ virtual void length (
+ CORBA_Object *_collocated_tao_target_,
+ CORBA::ULong length,
+ CORBA::Environment &ACE_TRY_ENV
+ )
+ ACE_THROW_SPEC ((
+ CORBA::SystemException
+ ));
+
+ virtual CORBA::TypeCode_ptr element_type (
+ CORBA_Object *_collocated_tao_target_,
+ CORBA::Environment &ACE_TRY_ENV
+ )
+ ACE_THROW_SPEC ((
+ CORBA::SystemException
+ ));
+
+ virtual CORBA::IDLType_ptr element_type_def (
+ CORBA_Object *_collocated_tao_target_,
+ CORBA::Environment &ACE_TRY_ENV
+ )
+ ACE_THROW_SPEC ((
+ CORBA::SystemException
+ ));
+
+ virtual void element_type_def (
+ CORBA_Object *_collocated_tao_target_,
+ CORBA::IDLType_ptr element_type_def,
+ CORBA::Environment &ACE_TRY_ENV
+ )
+ ACE_THROW_SPEC ((
+ CORBA::SystemException
+ ));
+
+};
+
+
+//
+// ThruPOA Proxy Impl. Declaration
+///////////////////////////////////////////////////////////////////////
+
+
+#if defined (ACE_HAS_USING_KEYWORD)
+// TIE class: Refer to CORBA v2.2, Section 20.34.4
+template <class T>
+class ArrayDef_tie : public ArrayDef
+{
+public:
+ ArrayDef_tie (T &t);
+ // the T& ctor
+ ArrayDef_tie (T &t, PortableServer::POA_ptr poa);
+ // ctor taking a POA
+ ArrayDef_tie (T *tp, CORBA::Boolean release=1);
+ // ctor taking pointer and an ownership flag
+ ArrayDef_tie (T *tp, PortableServer::POA_ptr poa, CORBA::Boolean release=1);
+ // ctor with T*, ownership flag and a POA
+ ~ArrayDef_tie (void);
+ // dtor
+
+ // TIE specific functions
+ T *_tied_object (void);
+ // return the underlying object
+ void _tied_object (T &obj);
+ // set the underlying object
+ void _tied_object (T *obj, CORBA::Boolean release=1);
+ // set the underlying object and the ownership flag
+ CORBA::Boolean _is_owner (void);
+ // do we own it
+ void _is_owner (CORBA::Boolean b);
+ // set the ownership
+
+ // overridden ServantBase operations
+ PortableServer::POA_ptr _default_POA (
+ CORBA::Environment &ACE_TRY_ENV =
+ TAO_default_environment ()
+ );
+ CORBA::ULong length (
+ CORBA::Environment &ACE_TRY_ENV =
+ TAO_default_environment ()
+ )
+ ACE_THROW_SPEC ((
+ CORBA::SystemException
+ ));
+
+ void length (
+ CORBA::ULong length,
+ CORBA::Environment &ACE_TRY_ENV =
+ TAO_default_environment ()
+ )
+ ACE_THROW_SPEC ((
+ CORBA::SystemException
+ ));
+
+ CORBA::TypeCode_ptr element_type (
+ CORBA::Environment &ACE_TRY_ENV =
+ TAO_default_environment ()
+ )
+ ACE_THROW_SPEC ((
+ CORBA::SystemException
+ ));
+
+ CORBA::IDLType_ptr element_type_def (
+ CORBA::Environment &ACE_TRY_ENV =
+ TAO_default_environment ()
+ )
+ ACE_THROW_SPEC ((
+ CORBA::SystemException
+ ));
+
+ void element_type_def (
+ CORBA::IDLType_ptr element_type_def,
+ CORBA::Environment &ACE_TRY_ENV =
+ TAO_default_environment ()
+ )
+ ACE_THROW_SPEC ((
+ CORBA::SystemException
+ ));
+
+ CORBA::TypeCode_ptr type (
+ CORBA::Environment &ACE_TRY_ENV =
+ TAO_default_environment ()
+ )
+ ACE_THROW_SPEC ((
+ CORBA::SystemException
+ ));
+
+ CORBA::DefinitionKind def_kind (
+ CORBA::Environment &ACE_TRY_ENV =
+ TAO_default_environment ()
+ )
+ ACE_THROW_SPEC ((
+ CORBA::SystemException
+ ));
+
+ void destroy (
+ CORBA::Environment &ACE_TRY_ENV =
+ TAO_default_environment ()
+ )
+ ACE_THROW_SPEC ((
+ CORBA::SystemException
+ ));
+
+private:
+ T *ptr_;
+ PortableServer::POA_var poa_;
+ CORBA::Boolean rel_;
+
+ // copy and assignment are not allowed
+ ArrayDef_tie (const ArrayDef_tie &);
+ void operator= (const ArrayDef_tie &);
+};
+
+#endif /* ACE_HAS_USING_KEYWORD */
+
+class ExceptionDef;
+typedef ExceptionDef *ExceptionDef_ptr;
+// Forward Classes Declaration
+class _TAO_ExceptionDef_ThruPOA_Proxy_Impl;
+class _TAO_ExceptionDef_Strategized_Proxy_Broker;
+
+class ExceptionDef : public virtual Contained, public virtual Container
+{
+protected:
+ ExceptionDef (void);
+
+public:
+ ExceptionDef (const ExceptionDef& rhs);
+ virtual ~ExceptionDef (void);
+
+
+ virtual CORBA::Boolean _is_a (
+ const char* logical_type_id,
+ CORBA::Environment &ACE_TRY_ENV =
+ TAO_default_environment ()
+ );
+
+ virtual void* _downcast (
+ const char* logical_type_id
+ );
+
+ static void _is_a_skel (
+ TAO_ServerRequest &req,
+ void *obj,
+ void *context,
+ CORBA::Environment &ACE_TRY_ENV =
+ TAO_default_environment ()
+ );
+
+ static void _non_existent_skel (
+ TAO_ServerRequest &req,
+ void *obj,
+ void *context,
+ CORBA::Environment &ACE_TRY_ENV =
+ TAO_default_environment ()
+ );
+
+ virtual void _dispatch (
+ TAO_ServerRequest &_tao_req,
+ void *_tao_context,
+ CORBA::Environment &ACE_TRY_ENV =
+ TAO_default_environment ()
+ );
+
+ ::CORBA::ExceptionDef *_this (
+ CORBA::Environment &ACE_TRY_ENV =
+ TAO_default_environment ()
+ );
+
+ virtual const char* _interface_repository_id (void) const;
+
+ virtual CORBA::TypeCode_ptr type (
+ CORBA::Environment &ACE_TRY_ENV =
+ TAO_default_environment ()
+ )
+ ACE_THROW_SPEC ((
+ CORBA::SystemException
+ )) = 0;
+
+ static void _get_type_skel (
+ TAO_ServerRequest &_tao_req,
+ void *_tao_obj,
+ void *_tao_context,
+ CORBA::Environment &ACE_TRY_ENV =
+ TAO_default_environment ()
+ );
+
+ virtual CORBA::StructMemberSeq * members (
+ CORBA::Environment &ACE_TRY_ENV =
+ TAO_default_environment ()
+ )
+ ACE_THROW_SPEC ((
+ CORBA::SystemException
+ )) = 0;
+
+ static void _get_members_skel (
+ TAO_ServerRequest &_tao_req,
+ void *_tao_obj,
+ void *_tao_context,
+ CORBA::Environment &ACE_TRY_ENV =
+ TAO_default_environment ()
+ );
+
+ virtual void members (
+ const CORBA::StructMemberSeq & members,
+ CORBA::Environment &ACE_TRY_ENV =
+ TAO_default_environment ()
+ )
+ ACE_THROW_SPEC ((
+ CORBA::SystemException
+ )) = 0;
+
+ static void _set_members_skel (
+ TAO_ServerRequest &_tao_req,
+ void *_tao_obj,
+ void *_tao_context,
+ CORBA::Environment &ACE_TRY_ENV =
+ TAO_default_environment ()
+ );
+
+ static void _get_id_skel (
+ TAO_ServerRequest &req,
+ void *obj,
+ void *context,
+ CORBA::Environment &ACE_TRY_ENV =
+ TAO_default_environment ()
+ );
+
+ static void _set_id_skel (
+ TAO_ServerRequest &req,
+ void *obj,
+ void *context,
+ CORBA::Environment &ACE_TRY_ENV =
+ TAO_default_environment ()
+ );
+
+ static void _get_name_skel (
+ TAO_ServerRequest &req,
+ void *obj,
+ void *context,
+ CORBA::Environment &ACE_TRY_ENV =
+ TAO_default_environment ()
+ );
+
+ static void _set_name_skel (
+ TAO_ServerRequest &req,
+ void *obj,
+ void *context,
+ CORBA::Environment &ACE_TRY_ENV =
+ TAO_default_environment ()
+ );
+
+ static void _get_version_skel (
+ TAO_ServerRequest &req,
+ void *obj,
+ void *context,
+ CORBA::Environment &ACE_TRY_ENV =
+ TAO_default_environment ()
+ );
+
+ static void _set_version_skel (
+ TAO_ServerRequest &req,
+ void *obj,
+ void *context,
+ CORBA::Environment &ACE_TRY_ENV =
+ TAO_default_environment ()
+ );
+
+ static void _get_defined_in_skel (
+ TAO_ServerRequest &req,
+ void *obj,
+ void *context,
+ CORBA::Environment &ACE_TRY_ENV =
+ TAO_default_environment ()
+ );
+
+ static void _get_absolute_name_skel (
+ TAO_ServerRequest &req,
+ void *obj,
+ void *context,
+ CORBA::Environment &ACE_TRY_ENV =
+ TAO_default_environment ()
+ );
+
+ static void _get_containing_repository_skel (
+ TAO_ServerRequest &req,
+ void *obj,
+ void *context,
+ CORBA::Environment &ACE_TRY_ENV =
+ TAO_default_environment ()
+ );
+
+ static void describe_skel (
+ TAO_ServerRequest &req,
+ void *obj,
+ void *context,
+ CORBA::Environment &ACE_TRY_ENV =
+ TAO_default_environment ()
+ );
+
+ static void move_skel (
+ TAO_ServerRequest &req,
+ void *obj,
+ void *context,
+ CORBA::Environment &ACE_TRY_ENV =
+ TAO_default_environment ()
+ );
+
+ static void lookup_skel (
+ TAO_ServerRequest &req,
+ void *obj,
+ void *context,
+ CORBA::Environment &ACE_TRY_ENV =
+ TAO_default_environment ()
+ );
+
+ static void contents_skel (
+ TAO_ServerRequest &req,
+ void *obj,
+ void *context,
+ CORBA::Environment &ACE_TRY_ENV =
+ TAO_default_environment ()
+ );
+
+ static void lookup_name_skel (
+ TAO_ServerRequest &req,
+ void *obj,
+ void *context,
+ CORBA::Environment &ACE_TRY_ENV =
+ TAO_default_environment ()
+ );
+
+ static void describe_contents_skel (
+ TAO_ServerRequest &req,
+ void *obj,
+ void *context,
+ CORBA::Environment &ACE_TRY_ENV =
+ TAO_default_environment ()
+ );
+
+ static void create_module_skel (
+ TAO_ServerRequest &req,
+ void *obj,
+ void *context,
+ CORBA::Environment &ACE_TRY_ENV =
+ TAO_default_environment ()
+ );
+
+ static void create_constant_skel (
+ TAO_ServerRequest &req,
+ void *obj,
+ void *context,
+ CORBA::Environment &ACE_TRY_ENV =
+ TAO_default_environment ()
+ );
+
+ static void create_struct_skel (
+ TAO_ServerRequest &req,
+ void *obj,
+ void *context,
+ CORBA::Environment &ACE_TRY_ENV =
+ TAO_default_environment ()
+ );
+
+ static void create_union_skel (
+ TAO_ServerRequest &req,
+ void *obj,
+ void *context,
+ CORBA::Environment &ACE_TRY_ENV =
+ TAO_default_environment ()
+ );
+
+ static void create_enum_skel (
+ TAO_ServerRequest &req,
+ void *obj,
+ void *context,
+ CORBA::Environment &ACE_TRY_ENV =
+ TAO_default_environment ()
+ );
+
+ static void create_alias_skel (
+ TAO_ServerRequest &req,
+ void *obj,
+ void *context,
+ CORBA::Environment &ACE_TRY_ENV =
+ TAO_default_environment ()
+ );
+
+ static void create_interface_skel (
+ TAO_ServerRequest &req,
+ void *obj,
+ void *context,
+ CORBA::Environment &ACE_TRY_ENV =
+ TAO_default_environment ()
+ );
+
+ static void create_value_skel (
+ TAO_ServerRequest &req,
+ void *obj,
+ void *context,
+ CORBA::Environment &ACE_TRY_ENV =
+ TAO_default_environment ()
+ );
+
+ static void create_value_box_skel (
+ TAO_ServerRequest &req,
+ void *obj,
+ void *context,
+ CORBA::Environment &ACE_TRY_ENV =
+ TAO_default_environment ()
+ );
+
+ static void create_exception_skel (
+ TAO_ServerRequest &req,
+ void *obj,
+ void *context,
+ CORBA::Environment &ACE_TRY_ENV =
+ TAO_default_environment ()
+ );
+
+ static void create_native_skel (
+ TAO_ServerRequest &req,
+ void *obj,
+ void *context,
+ CORBA::Environment &ACE_TRY_ENV =
+ TAO_default_environment ()
+ );
+
+ static void create_abstract_interface_skel (
+ TAO_ServerRequest &req,
+ void *obj,
+ void *context,
+ CORBA::Environment &ACE_TRY_ENV =
+ TAO_default_environment ()
+ );
+
+ static void create_local_interface_skel (
+ TAO_ServerRequest &req,
+ void *obj,
+ void *context,
+ CORBA::Environment &ACE_TRY_ENV =
+ TAO_default_environment ()
+ );
+
+ static void _get_def_kind_skel (
+ TAO_ServerRequest &req,
+ void *obj,
+ void *context,
+ CORBA::Environment &ACE_TRY_ENV =
+ TAO_default_environment ()
+ );
+
+ static void destroy_skel (
+ TAO_ServerRequest &req,
+ void *obj,
+ void *context,
+ CORBA::Environment &ACE_TRY_ENV =
+ TAO_default_environment ()
+ );
+
+
+#if (TAO_HAS_INTERCEPTORS == 1)
+ // Generation of interceptors related RequestInfo classes per operation.
+ // This needed to be able to store the arguments, exceptions, contexts
+ // and build the lists dynamically on demand so that unnecessary time overhead
+ // of building these lists when they arent used is avoided.
+ class TAO_ServerRequestInfo_CORBA_ExceptionDef_type_get : public TAO_ServerRequestInfo
+ {
+ public:
+ friend class POA_CORBA::ExceptionDef;
+ TAO_ServerRequestInfo_CORBA_ExceptionDef_type_get (
+ TAO_ServerRequest &_tao_server_request,
+ POA_CORBA::ExceptionDef *tao_impl,
+ CORBA::Environment &ACE_TRY_ENV =
+ TAO_default_environment ()
+ );
+
+ virtual Dynamic::ParameterList * arguments (
+ CORBA::Environment &ACE_TRY_ENV =
+ TAO_default_environment ()
+ )
+ ACE_THROW_SPEC ((CORBA::SystemException));
+
+ virtual Dynamic::ExceptionList * exceptions (
+ CORBA::Environment &ACE_TRY_ENV =
+ TAO_default_environment ()
+ )
+ ACE_THROW_SPEC ((CORBA::SystemException));
+
+ virtual CORBA::Any * result (
+ CORBA::Environment &ACE_TRY_ENV =
+ TAO_default_environment ()
+ )
+ ACE_THROW_SPEC ((CORBA::SystemException));
+
+ virtual char * target_most_derived_interface (
+ CORBA::Environment &ACE_TRY_ENV = TAO_default_environment ())
+ ACE_THROW_SPEC ((CORBA::SystemException));
+
+ virtual CORBA::Boolean target_is_a (
+ const char * id,
+ CORBA::Environment &ACE_TRY_ENV = TAO_default_environment ())
+ ACE_THROW_SPEC ((CORBA::SystemException));
+
+ private:
+ TAO_ServerRequestInfo_CORBA_ExceptionDef_type_get (const TAO_ServerRequestInfo_CORBA_ExceptionDef_type_get &);
+ void operator= (const TAO_ServerRequestInfo_CORBA_ExceptionDef_type_get &);
+
+ private:
+ POA_CORBA::ExceptionDef *_tao_impl;
+ void result (CORBA::TypeCode_ptr result);
+ // update the result
+ CORBA::TypeCode_ptr _result;
+ };
+
+ class TAO_ServerRequestInfo_CORBA_ExceptionDef_members_get : public TAO_ServerRequestInfo
+ {
+ public:
+ friend class POA_CORBA::ExceptionDef;
+ TAO_ServerRequestInfo_CORBA_ExceptionDef_members_get (
+ TAO_ServerRequest &_tao_server_request,
+ POA_CORBA::ExceptionDef *tao_impl,
+ CORBA::Environment &ACE_TRY_ENV =
+ TAO_default_environment ()
+ );
+
+ virtual Dynamic::ParameterList * arguments (
+ CORBA::Environment &ACE_TRY_ENV =
+ TAO_default_environment ()
+ )
+ ACE_THROW_SPEC ((CORBA::SystemException));
+
+ virtual Dynamic::ExceptionList * exceptions (
+ CORBA::Environment &ACE_TRY_ENV =
+ TAO_default_environment ()
+ )
+ ACE_THROW_SPEC ((CORBA::SystemException));
+
+ virtual CORBA::Any * result (
+ CORBA::Environment &ACE_TRY_ENV =
+ TAO_default_environment ()
+ )
+ ACE_THROW_SPEC ((CORBA::SystemException));
+
+ virtual char * target_most_derived_interface (
+ CORBA::Environment &ACE_TRY_ENV = TAO_default_environment ())
+ ACE_THROW_SPEC ((CORBA::SystemException));
+
+ virtual CORBA::Boolean target_is_a (
+ const char * id,
+ CORBA::Environment &ACE_TRY_ENV = TAO_default_environment ())
+ ACE_THROW_SPEC ((CORBA::SystemException));
+
+ private:
+ TAO_ServerRequestInfo_CORBA_ExceptionDef_members_get (const TAO_ServerRequestInfo_CORBA_ExceptionDef_members_get &);
+ void operator= (const TAO_ServerRequestInfo_CORBA_ExceptionDef_members_get &);
+
+ private:
+ POA_CORBA::ExceptionDef *_tao_impl;
+ void result (CORBA::StructMemberSeq * result);
+ // update the result
+ CORBA::StructMemberSeq * _result;
+ };
+
+ class TAO_ServerRequestInfo_CORBA_ExceptionDef_members_set : public TAO_ServerRequestInfo
+ {
+ public:
+ friend class POA_CORBA::ExceptionDef;
+ TAO_ServerRequestInfo_CORBA_ExceptionDef_members_set (
+ TAO_ServerRequest &_tao_server_request,
+ POA_CORBA::ExceptionDef *tao_impl,
+ const CORBA::StructMemberSeq & members,
+ CORBA::Environment &ACE_TRY_ENV =
+ TAO_default_environment ()
+ );
+
+ virtual Dynamic::ParameterList * arguments (
+ CORBA::Environment &ACE_TRY_ENV =
+ TAO_default_environment ()
+ )
+ ACE_THROW_SPEC ((CORBA::SystemException));
+
+ virtual Dynamic::ExceptionList * exceptions (
+ CORBA::Environment &ACE_TRY_ENV =
+ TAO_default_environment ()
+ )
+ ACE_THROW_SPEC ((CORBA::SystemException));
+
+ virtual CORBA::Any * result (
+ CORBA::Environment &ACE_TRY_ENV =
+ TAO_default_environment ()
+ )
+ ACE_THROW_SPEC ((CORBA::SystemException));
+
+ virtual char * target_most_derived_interface (
+ CORBA::Environment &ACE_TRY_ENV = TAO_default_environment ())
+ ACE_THROW_SPEC ((CORBA::SystemException));
+
+ virtual CORBA::Boolean target_is_a (
+ const char * id,
+ CORBA::Environment &ACE_TRY_ENV = TAO_default_environment ())
+ ACE_THROW_SPEC ((CORBA::SystemException));
+
+ private:
+ TAO_ServerRequestInfo_CORBA_ExceptionDef_members_set (const TAO_ServerRequestInfo_CORBA_ExceptionDef_members_set &);
+ void operator= (const TAO_ServerRequestInfo_CORBA_ExceptionDef_members_set &);
+
+ private:
+ POA_CORBA::ExceptionDef *_tao_impl;
+ const CORBA::StructMemberSeq & members_;
+
+ };
+
+ #endif /* TAO_HAS_INTERCEPTORS */
+
+};
+
+
+///////////////////////////////////////////////////////////////////////
+// Strategized Proxy Broker Declaration
+//
+
+class _TAO_ExceptionDef_Strategized_Proxy_Broker : public virtual ::_TAO_ExceptionDef_Proxy_Broker
+{
+public:
+ _TAO_ExceptionDef_Strategized_Proxy_Broker (void);
+
+ virtual ~_TAO_ExceptionDef_Strategized_Proxy_Broker (void);
+
+ virtual ::_TAO_ExceptionDef_Proxy_Impl &select_proxy (
+ ::CORBA::ExceptionDef *object,
+ CORBA_Environment &ACE_TRY_ENV = TAO_default_environment ()
+ );
+
+private:
+
+// Helper methods that takes care to create the proxy
+// as soon as their use is necessary.
+ void create_proxy (
+ int strategy,
+ CORBA::Environment &ACE_TRY_ENV
+ );
+
+private:
+
+ // Caches the proxy implementations. The proxy implementation
+ // are totally stateless, and those can be shared by all the
+ // instances of a given IDL interface type.
+ ::_TAO_ExceptionDef_Proxy_Impl
+ *proxy_cache_[TAO_Collocation_Strategies::CS_LAST];
+
+ TAO_SYNCH_MUTEX mutex_;
+// This funxtion is used to get an handle to the unique instance
+// of the Strategized Proxy Broker that is available for a given
+// interface.
+
+public:
+ static _TAO_ExceptionDef_Strategized_Proxy_Broker *the_TAO_ExceptionDef_Strategized_Proxy_Broker (void);
+};
+
+
+//
+// End Strategized Proxy Broker Declaration
+///////////////////////////////////////////////////////////////////////
+
+
+///////////////////////////////////////////////////////////////////////
+// ThruPOA Impl. Declaration
+//
+
+class _TAO_ExceptionDef_ThruPOA_Proxy_Impl :
+ public virtual ::_TAO_ExceptionDef_Proxy_Impl,
+ public virtual TAO_ThruPOA_Object_Proxy_Impl,
+ public virtual ::POA_CORBA::_TAO_Contained_ThruPOA_Proxy_Impl,
+ public virtual ::POA_CORBA::_TAO_Container_ThruPOA_Proxy_Impl
+
+{
+public:
+ _TAO_ExceptionDef_ThruPOA_Proxy_Impl (void);
+
+ virtual ~_TAO_ExceptionDef_ThruPOA_Proxy_Impl (void) { }
+
+ virtual CORBA::TypeCode_ptr type (
+ CORBA_Object *_collocated_tao_target_,
+ CORBA::Environment &ACE_TRY_ENV
+ )
+ ACE_THROW_SPEC ((
+ CORBA::SystemException
+ ));
+
+ virtual CORBA::StructMemberSeq * members (
+ CORBA_Object *_collocated_tao_target_,
+ CORBA::Environment &ACE_TRY_ENV
+ )
+ ACE_THROW_SPEC ((
+ CORBA::SystemException
+ ));
+
+ virtual void members (
+ CORBA_Object *_collocated_tao_target_,
+ const CORBA::StructMemberSeq & members,
+ CORBA::Environment &ACE_TRY_ENV
+ )
+ ACE_THROW_SPEC ((
+ CORBA::SystemException
+ ));
+
+};
+
+
+//
+// ThruPOA Proxy Impl. Declaration
+///////////////////////////////////////////////////////////////////////
+
+
+#if defined (ACE_HAS_USING_KEYWORD)
+// TIE class: Refer to CORBA v2.2, Section 20.34.4
+template <class T>
+class ExceptionDef_tie : public ExceptionDef
+{
+public:
+ ExceptionDef_tie (T &t);
+ // the T& ctor
+ ExceptionDef_tie (T &t, PortableServer::POA_ptr poa);
+ // ctor taking a POA
+ ExceptionDef_tie (T *tp, CORBA::Boolean release=1);
+ // ctor taking pointer and an ownership flag
+ ExceptionDef_tie (T *tp, PortableServer::POA_ptr poa, CORBA::Boolean release=1);
+ // ctor with T*, ownership flag and a POA
+ ~ExceptionDef_tie (void);
+ // dtor
+
+ // TIE specific functions
+ T *_tied_object (void);
+ // return the underlying object
+ void _tied_object (T &obj);
+ // set the underlying object
+ void _tied_object (T *obj, CORBA::Boolean release=1);
+ // set the underlying object and the ownership flag
+ CORBA::Boolean _is_owner (void);
+ // do we own it
+ void _is_owner (CORBA::Boolean b);
+ // set the ownership
+
+ // overridden ServantBase operations
+ PortableServer::POA_ptr _default_POA (
+ CORBA::Environment &ACE_TRY_ENV =
+ TAO_default_environment ()
+ );
+ CORBA::TypeCode_ptr type (
+ CORBA::Environment &ACE_TRY_ENV =
+ TAO_default_environment ()
+ )
+ ACE_THROW_SPEC ((
+ CORBA::SystemException
+ ));
+
+ CORBA::StructMemberSeq * members (
+ CORBA::Environment &ACE_TRY_ENV =
+ TAO_default_environment ()
+ )
+ ACE_THROW_SPEC ((
+ CORBA::SystemException
+ ));
+
+ void members (
+ const CORBA::StructMemberSeq & members,
+ CORBA::Environment &ACE_TRY_ENV =
+ TAO_default_environment ()
+ )
+ ACE_THROW_SPEC ((
+ CORBA::SystemException
+ ));
+
+ char * id (
+ CORBA::Environment &ACE_TRY_ENV =
+ TAO_default_environment ()
+ )
+ ACE_THROW_SPEC ((
+ CORBA::SystemException
+ ));
+
+ void id (
+ const char * id,
+ CORBA::Environment &ACE_TRY_ENV =
+ TAO_default_environment ()
+ )
+ ACE_THROW_SPEC ((
+ CORBA::SystemException
+ ));
+
+ char * name (
+ CORBA::Environment &ACE_TRY_ENV =
+ TAO_default_environment ()
+ )
+ ACE_THROW_SPEC ((
+ CORBA::SystemException
+ ));
+
+ void name (
+ const char * name,
+ CORBA::Environment &ACE_TRY_ENV =
+ TAO_default_environment ()
+ )
+ ACE_THROW_SPEC ((
+ CORBA::SystemException
+ ));
+
+ char * version (
+ CORBA::Environment &ACE_TRY_ENV =
+ TAO_default_environment ()
+ )
+ ACE_THROW_SPEC ((
+ CORBA::SystemException
+ ));
+
+ void version (
+ const char * version,
+ CORBA::Environment &ACE_TRY_ENV =
+ TAO_default_environment ()
+ )
+ ACE_THROW_SPEC ((
+ CORBA::SystemException
+ ));
+
+ CORBA::Container_ptr defined_in (
+ CORBA::Environment &ACE_TRY_ENV =
+ TAO_default_environment ()
+ )
+ ACE_THROW_SPEC ((
+ CORBA::SystemException
+ ));
+
+ char * absolute_name (
+ CORBA::Environment &ACE_TRY_ENV =
+ TAO_default_environment ()
+ )
+ ACE_THROW_SPEC ((
+ CORBA::SystemException
+ ));
+
+ CORBA::Repository_ptr containing_repository (
+ CORBA::Environment &ACE_TRY_ENV =
+ TAO_default_environment ()
+ )
+ ACE_THROW_SPEC ((
+ CORBA::SystemException
+ ));
+
+ CORBA::Contained::Description * describe (
+ CORBA::Environment &ACE_TRY_ENV =
+ TAO_default_environment ()
+ )
+ ACE_THROW_SPEC ((
+ CORBA::SystemException
+ ));
+
+ void move (
+ CORBA::Container_ptr new_container,
+ const char * new_name,
+ const char * new_version,
+ CORBA::Environment &ACE_TRY_ENV =
+ TAO_default_environment ()
+ )
+ ACE_THROW_SPEC ((
+ CORBA::SystemException
+ ));
+
+ CORBA::Contained_ptr lookup (
+ const char * search_name,
+ CORBA::Environment &ACE_TRY_ENV =
+ TAO_default_environment ()
+ )
+ ACE_THROW_SPEC ((
+ CORBA::SystemException
+ ));
+
+ CORBA::ContainedSeq * contents (
+ CORBA::DefinitionKind limit_type,
+ CORBA::Boolean exclude_inherited,
+ CORBA::Environment &ACE_TRY_ENV =
+ TAO_default_environment ()
+ )
+ ACE_THROW_SPEC ((
+ CORBA::SystemException
+ ));
+
+ CORBA::ContainedSeq * lookup_name (
+ const char * search_name,
+ CORBA::Long levels_to_search,
+ CORBA::DefinitionKind limit_type,
+ CORBA::Boolean exclude_inherited,
+ CORBA::Environment &ACE_TRY_ENV =
+ TAO_default_environment ()
+ )
+ ACE_THROW_SPEC ((
+ CORBA::SystemException
+ ));
+
+ CORBA::Container::DescriptionSeq * describe_contents (
+ CORBA::DefinitionKind limit_type,
+ CORBA::Boolean exclude_inherited,
+ CORBA::Long max_returned_objs,
+ CORBA::Environment &ACE_TRY_ENV =
+ TAO_default_environment ()
+ )
+ ACE_THROW_SPEC ((
+ CORBA::SystemException
+ ));
+
+ CORBA::ModuleDef_ptr create_module (
+ const char * id,
+ const char * name,
+ const char * version,
+ CORBA::Environment &ACE_TRY_ENV =
+ TAO_default_environment ()
+ )
+ ACE_THROW_SPEC ((
+ CORBA::SystemException
+ ));
+
+ CORBA::ConstantDef_ptr create_constant (
+ const char * id,
+ const char * name,
+ const char * version,
+ CORBA::IDLType_ptr type,
+ const CORBA::Any & value,
+ CORBA::Environment &ACE_TRY_ENV =
+ TAO_default_environment ()
+ )
+ ACE_THROW_SPEC ((
+ CORBA::SystemException
+ ));
+
+ CORBA::StructDef_ptr create_struct (
+ const char * id,
+ const char * name,
+ const char * version,
+ const CORBA::StructMemberSeq & members,
+ CORBA::Environment &ACE_TRY_ENV =
+ TAO_default_environment ()
+ )
+ ACE_THROW_SPEC ((
+ CORBA::SystemException
+ ));
+
+ CORBA::UnionDef_ptr create_union (
+ const char * id,
+ const char * name,
+ const char * version,
+ CORBA::IDLType_ptr discriminator_type,
+ const CORBA::UnionMemberSeq & members,
+ CORBA::Environment &ACE_TRY_ENV =
+ TAO_default_environment ()
+ )
+ ACE_THROW_SPEC ((
+ CORBA::SystemException
+ ));
+
+ CORBA::EnumDef_ptr create_enum (
+ const char * id,
+ const char * name,
+ const char * version,
+ const CORBA::EnumMemberSeq & members,
+ CORBA::Environment &ACE_TRY_ENV =
+ TAO_default_environment ()
+ )
+ ACE_THROW_SPEC ((
+ CORBA::SystemException
+ ));
+
+ CORBA::AliasDef_ptr create_alias (
+ const char * id,
+ const char * name,
+ const char * version,
+ CORBA::IDLType_ptr original_type,
+ CORBA::Environment &ACE_TRY_ENV =
+ TAO_default_environment ()
+ )
+ ACE_THROW_SPEC ((
+ CORBA::SystemException
+ ));
+
+ CORBA::InterfaceDef_ptr create_interface (
+ const char * id,
+ const char * name,
+ const char * version,
+ const CORBA::InterfaceDefSeq & base_interfaces,
+ CORBA::Environment &ACE_TRY_ENV =
+ TAO_default_environment ()
+ )
+ ACE_THROW_SPEC ((
+ CORBA::SystemException
+ ));
+
+ CORBA::ValueDef_ptr create_value (
+ const char * id,
+ const char * name,
+ const char * version,
+ CORBA::Boolean is_custom,
+ CORBA::Boolean is_abstract,
+ CORBA::ValueDef_ptr base_value,
+ CORBA::Boolean is_truncatable,
+ const CORBA::ValueDefSeq & abstract_base_values,
+ const CORBA::InterfaceDefSeq & supported_interfaces,
+ const CORBA::InitializerSeq & initializers,
+ CORBA::Environment &ACE_TRY_ENV =
+ TAO_default_environment ()
+ )
+ ACE_THROW_SPEC ((
+ CORBA::SystemException
+ ));
+
+ CORBA::ValueBoxDef_ptr create_value_box (
+ const char * id,
+ const char * name,
+ const char * version,
+ CORBA::IDLType_ptr original_type_def,
+ CORBA::Environment &ACE_TRY_ENV =
+ TAO_default_environment ()
+ )
+ ACE_THROW_SPEC ((
+ CORBA::SystemException
+ ));
+
+ CORBA::ExceptionDef_ptr create_exception (
+ const char * id,
+ const char * name,
+ const char * version,
+ const CORBA::StructMemberSeq & members,
+ CORBA::Environment &ACE_TRY_ENV =
+ TAO_default_environment ()
+ )
+ ACE_THROW_SPEC ((
+ CORBA::SystemException
+ ));
+
+ CORBA::NativeDef_ptr create_native (
+ const char * id,
+ const char * name,
+ const char * version,
+ CORBA::Environment &ACE_TRY_ENV =
+ TAO_default_environment ()
+ )
+ ACE_THROW_SPEC ((
+ CORBA::SystemException
+ ));
+
+ CORBA::AbstractInterfaceDef_ptr create_abstract_interface (
+ const char * id,
+ const char * name,
+ const char * version,
+ const CORBA::AbstractInterfaceDefSeq & base_interfaces,
+ CORBA::Environment &ACE_TRY_ENV =
+ TAO_default_environment ()
+ )
+ ACE_THROW_SPEC ((
+ CORBA::SystemException
+ ));
+
+ CORBA::LocalInterfaceDef_ptr create_local_interface (
+ const char * id,
+ const char * name,
+ const char * version,
+ const CORBA::InterfaceDefSeq & base_interfaces,
+ CORBA::Environment &ACE_TRY_ENV =
+ TAO_default_environment ()
+ )
+ ACE_THROW_SPEC ((
+ CORBA::SystemException
+ ));
+
+ CORBA::DefinitionKind def_kind (
+ CORBA::Environment &ACE_TRY_ENV =
+ TAO_default_environment ()
+ )
+ ACE_THROW_SPEC ((
+ CORBA::SystemException
+ ));
+
+ void destroy (
+ CORBA::Environment &ACE_TRY_ENV =
+ TAO_default_environment ()
+ )
+ ACE_THROW_SPEC ((
+ CORBA::SystemException
+ ));
+
+private:
+ T *ptr_;
+ PortableServer::POA_var poa_;
+ CORBA::Boolean rel_;
+
+ // copy and assignment are not allowed
+ ExceptionDef_tie (const ExceptionDef_tie &);
+ void operator= (const ExceptionDef_tie &);
+};
+
+#endif /* ACE_HAS_USING_KEYWORD */
+
+class AttributeDef;
+typedef AttributeDef *AttributeDef_ptr;
+// Forward Classes Declaration
+class _TAO_AttributeDef_ThruPOA_Proxy_Impl;
+class _TAO_AttributeDef_Strategized_Proxy_Broker;
+
+class AttributeDef : public virtual Contained
+{
+protected:
+ AttributeDef (void);
+
+public:
+ AttributeDef (const AttributeDef& rhs);
+ virtual ~AttributeDef (void);
+
+
+ virtual CORBA::Boolean _is_a (
+ const char* logical_type_id,
+ CORBA::Environment &ACE_TRY_ENV =
+ TAO_default_environment ()
+ );
+
+ virtual void* _downcast (
+ const char* logical_type_id
+ );
+
+ static void _is_a_skel (
+ TAO_ServerRequest &req,
+ void *obj,
+ void *context,
+ CORBA::Environment &ACE_TRY_ENV =
+ TAO_default_environment ()
+ );
+
+ static void _non_existent_skel (
+ TAO_ServerRequest &req,
+ void *obj,
+ void *context,
+ CORBA::Environment &ACE_TRY_ENV =
+ TAO_default_environment ()
+ );
+
+ virtual void _dispatch (
+ TAO_ServerRequest &_tao_req,
+ void *_tao_context,
+ CORBA::Environment &ACE_TRY_ENV =
+ TAO_default_environment ()
+ );
+
+ ::CORBA::AttributeDef *_this (
+ CORBA::Environment &ACE_TRY_ENV =
+ TAO_default_environment ()
+ );
+
+ virtual const char* _interface_repository_id (void) const;
+
+ virtual CORBA::TypeCode_ptr type (
+ CORBA::Environment &ACE_TRY_ENV =
+ TAO_default_environment ()
+ )
+ ACE_THROW_SPEC ((
+ CORBA::SystemException
+ )) = 0;
+
+ static void _get_type_skel (
+ TAO_ServerRequest &_tao_req,
+ void *_tao_obj,
+ void *_tao_context,
+ CORBA::Environment &ACE_TRY_ENV =
+ TAO_default_environment ()
+ );
+
+ virtual CORBA::IDLType_ptr type_def (
+ CORBA::Environment &ACE_TRY_ENV =
+ TAO_default_environment ()
+ )
+ ACE_THROW_SPEC ((
+ CORBA::SystemException
+ )) = 0;
+
+ static void _get_type_def_skel (
+ TAO_ServerRequest &_tao_req,
+ void *_tao_obj,
+ void *_tao_context,
+ CORBA::Environment &ACE_TRY_ENV =
+ TAO_default_environment ()
+ );
+
+ virtual void type_def (
+ CORBA::IDLType_ptr type_def,
+ CORBA::Environment &ACE_TRY_ENV =
+ TAO_default_environment ()
+ )
+ ACE_THROW_SPEC ((
+ CORBA::SystemException
+ )) = 0;
+
+ static void _set_type_def_skel (
+ TAO_ServerRequest &_tao_req,
+ void *_tao_obj,
+ void *_tao_context,
+ CORBA::Environment &ACE_TRY_ENV =
+ TAO_default_environment ()
+ );
+
+ virtual CORBA::AttributeMode mode (
+ CORBA::Environment &ACE_TRY_ENV =
+ TAO_default_environment ()
+ )
+ ACE_THROW_SPEC ((
+ CORBA::SystemException
+ )) = 0;
+
+ static void _get_mode_skel (
+ TAO_ServerRequest &_tao_req,
+ void *_tao_obj,
+ void *_tao_context,
+ CORBA::Environment &ACE_TRY_ENV =
+ TAO_default_environment ()
+ );
+
+ virtual void mode (
+ CORBA::AttributeMode mode,
+ CORBA::Environment &ACE_TRY_ENV =
+ TAO_default_environment ()
+ )
+ ACE_THROW_SPEC ((
+ CORBA::SystemException
+ )) = 0;
+
+ static void _set_mode_skel (
+ TAO_ServerRequest &_tao_req,
+ void *_tao_obj,
+ void *_tao_context,
+ CORBA::Environment &ACE_TRY_ENV =
+ TAO_default_environment ()
+ );
+
+ static void _get_id_skel (
+ TAO_ServerRequest &req,
+ void *obj,
+ void *context,
+ CORBA::Environment &ACE_TRY_ENV =
+ TAO_default_environment ()
+ );
+
+ static void _set_id_skel (
+ TAO_ServerRequest &req,
+ void *obj,
+ void *context,
+ CORBA::Environment &ACE_TRY_ENV =
+ TAO_default_environment ()
+ );
+
+ static void _get_name_skel (
+ TAO_ServerRequest &req,
+ void *obj,
+ void *context,
+ CORBA::Environment &ACE_TRY_ENV =
+ TAO_default_environment ()
+ );
+
+ static void _set_name_skel (
+ TAO_ServerRequest &req,
+ void *obj,
+ void *context,
+ CORBA::Environment &ACE_TRY_ENV =
+ TAO_default_environment ()
+ );
+
+ static void _get_version_skel (
+ TAO_ServerRequest &req,
+ void *obj,
+ void *context,
+ CORBA::Environment &ACE_TRY_ENV =
+ TAO_default_environment ()
+ );
+
+ static void _set_version_skel (
+ TAO_ServerRequest &req,
+ void *obj,
+ void *context,
+ CORBA::Environment &ACE_TRY_ENV =
+ TAO_default_environment ()
+ );
+
+ static void _get_defined_in_skel (
+ TAO_ServerRequest &req,
+ void *obj,
+ void *context,
+ CORBA::Environment &ACE_TRY_ENV =
+ TAO_default_environment ()
+ );
+
+ static void _get_absolute_name_skel (
+ TAO_ServerRequest &req,
+ void *obj,
+ void *context,
+ CORBA::Environment &ACE_TRY_ENV =
+ TAO_default_environment ()
+ );
+
+ static void _get_containing_repository_skel (
+ TAO_ServerRequest &req,
+ void *obj,
+ void *context,
+ CORBA::Environment &ACE_TRY_ENV =
+ TAO_default_environment ()
+ );
+
+ static void describe_skel (
+ TAO_ServerRequest &req,
+ void *obj,
+ void *context,
+ CORBA::Environment &ACE_TRY_ENV =
+ TAO_default_environment ()
+ );
+
+ static void move_skel (
+ TAO_ServerRequest &req,
+ void *obj,
+ void *context,
+ CORBA::Environment &ACE_TRY_ENV =
+ TAO_default_environment ()
+ );
+
+ static void _get_def_kind_skel (
+ TAO_ServerRequest &req,
+ void *obj,
+ void *context,
+ CORBA::Environment &ACE_TRY_ENV =
+ TAO_default_environment ()
+ );
+
+ static void destroy_skel (
+ TAO_ServerRequest &req,
+ void *obj,
+ void *context,
+ CORBA::Environment &ACE_TRY_ENV =
+ TAO_default_environment ()
+ );
+
+
+#if (TAO_HAS_INTERCEPTORS == 1)
+ // Generation of interceptors related RequestInfo classes per operation.
+ // This needed to be able to store the arguments, exceptions, contexts
+ // and build the lists dynamically on demand so that unnecessary time overhead
+ // of building these lists when they arent used is avoided.
+ class TAO_ServerRequestInfo_CORBA_AttributeDef_type_get : public TAO_ServerRequestInfo
+ {
+ public:
+ friend class POA_CORBA::AttributeDef;
+ TAO_ServerRequestInfo_CORBA_AttributeDef_type_get (
+ TAO_ServerRequest &_tao_server_request,
+ POA_CORBA::AttributeDef *tao_impl,
+ CORBA::Environment &ACE_TRY_ENV =
+ TAO_default_environment ()
+ );
+
+ virtual Dynamic::ParameterList * arguments (
+ CORBA::Environment &ACE_TRY_ENV =
+ TAO_default_environment ()
+ )
+ ACE_THROW_SPEC ((CORBA::SystemException));
+
+ virtual Dynamic::ExceptionList * exceptions (
+ CORBA::Environment &ACE_TRY_ENV =
+ TAO_default_environment ()
+ )
+ ACE_THROW_SPEC ((CORBA::SystemException));
+
+ virtual CORBA::Any * result (
+ CORBA::Environment &ACE_TRY_ENV =
+ TAO_default_environment ()
+ )
+ ACE_THROW_SPEC ((CORBA::SystemException));
+
+ virtual char * target_most_derived_interface (
+ CORBA::Environment &ACE_TRY_ENV = TAO_default_environment ())
+ ACE_THROW_SPEC ((CORBA::SystemException));
+
+ virtual CORBA::Boolean target_is_a (
+ const char * id,
+ CORBA::Environment &ACE_TRY_ENV = TAO_default_environment ())
+ ACE_THROW_SPEC ((CORBA::SystemException));
+
+ private:
+ TAO_ServerRequestInfo_CORBA_AttributeDef_type_get (const TAO_ServerRequestInfo_CORBA_AttributeDef_type_get &);
+ void operator= (const TAO_ServerRequestInfo_CORBA_AttributeDef_type_get &);
+
+ private:
+ POA_CORBA::AttributeDef *_tao_impl;
+ void result (CORBA::TypeCode_ptr result);
+ // update the result
+ CORBA::TypeCode_ptr _result;
+ };
+
+ class TAO_ServerRequestInfo_CORBA_AttributeDef_type_def_get : public TAO_ServerRequestInfo
+ {
+ public:
+ friend class POA_CORBA::AttributeDef;
+ TAO_ServerRequestInfo_CORBA_AttributeDef_type_def_get (
+ TAO_ServerRequest &_tao_server_request,
+ POA_CORBA::AttributeDef *tao_impl,
+ CORBA::Environment &ACE_TRY_ENV =
+ TAO_default_environment ()
+ );
+
+ virtual Dynamic::ParameterList * arguments (
+ CORBA::Environment &ACE_TRY_ENV =
+ TAO_default_environment ()
+ )
+ ACE_THROW_SPEC ((CORBA::SystemException));
+
+ virtual Dynamic::ExceptionList * exceptions (
+ CORBA::Environment &ACE_TRY_ENV =
+ TAO_default_environment ()
+ )
+ ACE_THROW_SPEC ((CORBA::SystemException));
+
+ virtual CORBA::Any * result (
+ CORBA::Environment &ACE_TRY_ENV =
+ TAO_default_environment ()
+ )
+ ACE_THROW_SPEC ((CORBA::SystemException));
+
+ virtual char * target_most_derived_interface (
+ CORBA::Environment &ACE_TRY_ENV = TAO_default_environment ())
+ ACE_THROW_SPEC ((CORBA::SystemException));
+
+ virtual CORBA::Boolean target_is_a (
+ const char * id,
+ CORBA::Environment &ACE_TRY_ENV = TAO_default_environment ())
+ ACE_THROW_SPEC ((CORBA::SystemException));
+
+ private:
+ TAO_ServerRequestInfo_CORBA_AttributeDef_type_def_get (const TAO_ServerRequestInfo_CORBA_AttributeDef_type_def_get &);
+ void operator= (const TAO_ServerRequestInfo_CORBA_AttributeDef_type_def_get &);
+
+ private:
+ POA_CORBA::AttributeDef *_tao_impl;
+ void result (CORBA::IDLType_ptr result);
+ // update the result
+ CORBA::IDLType_ptr _result;
+ };
+
+ class TAO_ServerRequestInfo_CORBA_AttributeDef_type_def_set : public TAO_ServerRequestInfo
+ {
+ public:
+ friend class POA_CORBA::AttributeDef;
+ TAO_ServerRequestInfo_CORBA_AttributeDef_type_def_set (
+ TAO_ServerRequest &_tao_server_request,
+ POA_CORBA::AttributeDef *tao_impl,
+ CORBA::IDLType_ptr type_def,
+ CORBA::Environment &ACE_TRY_ENV =
+ TAO_default_environment ()
+ );
+
+ virtual Dynamic::ParameterList * arguments (
+ CORBA::Environment &ACE_TRY_ENV =
+ TAO_default_environment ()
+ )
+ ACE_THROW_SPEC ((CORBA::SystemException));
+
+ virtual Dynamic::ExceptionList * exceptions (
+ CORBA::Environment &ACE_TRY_ENV =
+ TAO_default_environment ()
+ )
+ ACE_THROW_SPEC ((CORBA::SystemException));
+
+ virtual CORBA::Any * result (
+ CORBA::Environment &ACE_TRY_ENV =
+ TAO_default_environment ()
+ )
+ ACE_THROW_SPEC ((CORBA::SystemException));
+
+ virtual char * target_most_derived_interface (
+ CORBA::Environment &ACE_TRY_ENV = TAO_default_environment ())
+ ACE_THROW_SPEC ((CORBA::SystemException));
+
+ virtual CORBA::Boolean target_is_a (
+ const char * id,
+ CORBA::Environment &ACE_TRY_ENV = TAO_default_environment ())
+ ACE_THROW_SPEC ((CORBA::SystemException));
+
+ private:
+ TAO_ServerRequestInfo_CORBA_AttributeDef_type_def_set (const TAO_ServerRequestInfo_CORBA_AttributeDef_type_def_set &);
+ void operator= (const TAO_ServerRequestInfo_CORBA_AttributeDef_type_def_set &);
+
+ private:
+ POA_CORBA::AttributeDef *_tao_impl;
+ CORBA::IDLType_ptr type_def_;
+
+ };
+
+ class TAO_ServerRequestInfo_CORBA_AttributeDef_mode_get : public TAO_ServerRequestInfo
+ {
+ public:
+ friend class POA_CORBA::AttributeDef;
+ TAO_ServerRequestInfo_CORBA_AttributeDef_mode_get (
+ TAO_ServerRequest &_tao_server_request,
+ POA_CORBA::AttributeDef *tao_impl,
+ CORBA::Environment &ACE_TRY_ENV =
+ TAO_default_environment ()
+ );
+
+ virtual Dynamic::ParameterList * arguments (
+ CORBA::Environment &ACE_TRY_ENV =
+ TAO_default_environment ()
+ )
+ ACE_THROW_SPEC ((CORBA::SystemException));
+
+ virtual Dynamic::ExceptionList * exceptions (
+ CORBA::Environment &ACE_TRY_ENV =
+ TAO_default_environment ()
+ )
+ ACE_THROW_SPEC ((CORBA::SystemException));
+
+ virtual CORBA::Any * result (
+ CORBA::Environment &ACE_TRY_ENV =
+ TAO_default_environment ()
+ )
+ ACE_THROW_SPEC ((CORBA::SystemException));
+
+ virtual char * target_most_derived_interface (
+ CORBA::Environment &ACE_TRY_ENV = TAO_default_environment ())
+ ACE_THROW_SPEC ((CORBA::SystemException));
+
+ virtual CORBA::Boolean target_is_a (
+ const char * id,
+ CORBA::Environment &ACE_TRY_ENV = TAO_default_environment ())
+ ACE_THROW_SPEC ((CORBA::SystemException));
+
+ private:
+ TAO_ServerRequestInfo_CORBA_AttributeDef_mode_get (const TAO_ServerRequestInfo_CORBA_AttributeDef_mode_get &);
+ void operator= (const TAO_ServerRequestInfo_CORBA_AttributeDef_mode_get &);
+
+ private:
+ POA_CORBA::AttributeDef *_tao_impl;
+ void result (CORBA::AttributeMode result);
+ // update the result
+ CORBA::AttributeMode _result;
+ };
+
+ class TAO_ServerRequestInfo_CORBA_AttributeDef_mode_set : public TAO_ServerRequestInfo
+ {
+ public:
+ friend class POA_CORBA::AttributeDef;
+ TAO_ServerRequestInfo_CORBA_AttributeDef_mode_set (
+ TAO_ServerRequest &_tao_server_request,
+ POA_CORBA::AttributeDef *tao_impl,
+ CORBA::AttributeMode & mode,
+ CORBA::Environment &ACE_TRY_ENV =
+ TAO_default_environment ()
+ );
+
+ virtual Dynamic::ParameterList * arguments (
+ CORBA::Environment &ACE_TRY_ENV =
+ TAO_default_environment ()
+ )
+ ACE_THROW_SPEC ((CORBA::SystemException));
+
+ virtual Dynamic::ExceptionList * exceptions (
+ CORBA::Environment &ACE_TRY_ENV =
+ TAO_default_environment ()
+ )
+ ACE_THROW_SPEC ((CORBA::SystemException));
+
+ virtual CORBA::Any * result (
+ CORBA::Environment &ACE_TRY_ENV =
+ TAO_default_environment ()
+ )
+ ACE_THROW_SPEC ((CORBA::SystemException));
+
+ virtual char * target_most_derived_interface (
+ CORBA::Environment &ACE_TRY_ENV = TAO_default_environment ())
+ ACE_THROW_SPEC ((CORBA::SystemException));
+
+ virtual CORBA::Boolean target_is_a (
+ const char * id,
+ CORBA::Environment &ACE_TRY_ENV = TAO_default_environment ())
+ ACE_THROW_SPEC ((CORBA::SystemException));
+
+ private:
+ TAO_ServerRequestInfo_CORBA_AttributeDef_mode_set (const TAO_ServerRequestInfo_CORBA_AttributeDef_mode_set &);
+ void operator= (const TAO_ServerRequestInfo_CORBA_AttributeDef_mode_set &);
+
+ private:
+ POA_CORBA::AttributeDef *_tao_impl;
+ const CORBA::AttributeMode & mode_;
+
+ };
+
+ #endif /* TAO_HAS_INTERCEPTORS */
+
+};
+
+
+///////////////////////////////////////////////////////////////////////
+// Strategized Proxy Broker Declaration
+//
+
+class _TAO_AttributeDef_Strategized_Proxy_Broker : public virtual ::_TAO_AttributeDef_Proxy_Broker
+{
+public:
+ _TAO_AttributeDef_Strategized_Proxy_Broker (void);
+
+ virtual ~_TAO_AttributeDef_Strategized_Proxy_Broker (void);
+
+ virtual ::_TAO_AttributeDef_Proxy_Impl &select_proxy (
+ ::CORBA::AttributeDef *object,
+ CORBA_Environment &ACE_TRY_ENV = TAO_default_environment ()
+ );
+
+private:
+
+// Helper methods that takes care to create the proxy
+// as soon as their use is necessary.
+ void create_proxy (
+ int strategy,
+ CORBA::Environment &ACE_TRY_ENV
+ );
+
+private:
+
+ // Caches the proxy implementations. The proxy implementation
+ // are totally stateless, and those can be shared by all the
+ // instances of a given IDL interface type.
+ ::_TAO_AttributeDef_Proxy_Impl
+ *proxy_cache_[TAO_Collocation_Strategies::CS_LAST];
+
+ TAO_SYNCH_MUTEX mutex_;
+// This funxtion is used to get an handle to the unique instance
+// of the Strategized Proxy Broker that is available for a given
+// interface.
+
+public:
+ static _TAO_AttributeDef_Strategized_Proxy_Broker *the_TAO_AttributeDef_Strategized_Proxy_Broker (void);
+};
+
+
+//
+// End Strategized Proxy Broker Declaration
+///////////////////////////////////////////////////////////////////////
+
+
+///////////////////////////////////////////////////////////////////////
+// ThruPOA Impl. Declaration
+//
+
+class _TAO_AttributeDef_ThruPOA_Proxy_Impl :
+ public virtual ::_TAO_AttributeDef_Proxy_Impl,
+ public virtual TAO_ThruPOA_Object_Proxy_Impl,
+ public virtual ::POA_CORBA::_TAO_Contained_ThruPOA_Proxy_Impl
+
+{
+public:
+ _TAO_AttributeDef_ThruPOA_Proxy_Impl (void);
+
+ virtual ~_TAO_AttributeDef_ThruPOA_Proxy_Impl (void) { }
+
+ virtual CORBA::TypeCode_ptr type (
+ CORBA_Object *_collocated_tao_target_,
+ CORBA::Environment &ACE_TRY_ENV
+ )
+ ACE_THROW_SPEC ((
+ CORBA::SystemException
+ ));
+
+ virtual CORBA::IDLType_ptr type_def (
+ CORBA_Object *_collocated_tao_target_,
+ CORBA::Environment &ACE_TRY_ENV
+ )
+ ACE_THROW_SPEC ((
+ CORBA::SystemException
+ ));
+
+ virtual void type_def (
+ CORBA_Object *_collocated_tao_target_,
+ CORBA::IDLType_ptr type_def,
+ CORBA::Environment &ACE_TRY_ENV
+ )
+ ACE_THROW_SPEC ((
+ CORBA::SystemException
+ ));
+
+ virtual CORBA::AttributeMode mode (
+ CORBA_Object *_collocated_tao_target_,
+ CORBA::Environment &ACE_TRY_ENV
+ )
+ ACE_THROW_SPEC ((
+ CORBA::SystemException
+ ));
+
+ virtual void mode (
+ CORBA_Object *_collocated_tao_target_,
+ CORBA::AttributeMode mode,
+ CORBA::Environment &ACE_TRY_ENV
+ )
+ ACE_THROW_SPEC ((
+ CORBA::SystemException
+ ));
+
+};
+
+
+//
+// ThruPOA Proxy Impl. Declaration
+///////////////////////////////////////////////////////////////////////
+
+
+#if defined (ACE_HAS_USING_KEYWORD)
+// TIE class: Refer to CORBA v2.2, Section 20.34.4
+template <class T>
+class AttributeDef_tie : public AttributeDef
+{
+public:
+ AttributeDef_tie (T &t);
+ // the T& ctor
+ AttributeDef_tie (T &t, PortableServer::POA_ptr poa);
+ // ctor taking a POA
+ AttributeDef_tie (T *tp, CORBA::Boolean release=1);
+ // ctor taking pointer and an ownership flag
+ AttributeDef_tie (T *tp, PortableServer::POA_ptr poa, CORBA::Boolean release=1);
+ // ctor with T*, ownership flag and a POA
+ ~AttributeDef_tie (void);
+ // dtor
+
+ // TIE specific functions
+ T *_tied_object (void);
+ // return the underlying object
+ void _tied_object (T &obj);
+ // set the underlying object
+ void _tied_object (T *obj, CORBA::Boolean release=1);
+ // set the underlying object and the ownership flag
+ CORBA::Boolean _is_owner (void);
+ // do we own it
+ void _is_owner (CORBA::Boolean b);
+ // set the ownership
+
+ // overridden ServantBase operations
+ PortableServer::POA_ptr _default_POA (
+ CORBA::Environment &ACE_TRY_ENV =
+ TAO_default_environment ()
+ );
+ CORBA::TypeCode_ptr type (
+ CORBA::Environment &ACE_TRY_ENV =
+ TAO_default_environment ()
+ )
+ ACE_THROW_SPEC ((
+ CORBA::SystemException
+ ));
+
+ CORBA::IDLType_ptr type_def (
+ CORBA::Environment &ACE_TRY_ENV =
+ TAO_default_environment ()
+ )
+ ACE_THROW_SPEC ((
+ CORBA::SystemException
+ ));
+
+ void type_def (
+ CORBA::IDLType_ptr type_def,
+ CORBA::Environment &ACE_TRY_ENV =
+ TAO_default_environment ()
+ )
+ ACE_THROW_SPEC ((
+ CORBA::SystemException
+ ));
+
+ CORBA::AttributeMode mode (
+ CORBA::Environment &ACE_TRY_ENV =
+ TAO_default_environment ()
+ )
+ ACE_THROW_SPEC ((
+ CORBA::SystemException
+ ));
+
+ void mode (
+ CORBA::AttributeMode mode,
+ CORBA::Environment &ACE_TRY_ENV =
+ TAO_default_environment ()
+ )
+ ACE_THROW_SPEC ((
+ CORBA::SystemException
+ ));
+
+ char * id (
+ CORBA::Environment &ACE_TRY_ENV =
+ TAO_default_environment ()
+ )
+ ACE_THROW_SPEC ((
+ CORBA::SystemException
+ ));
+
+ void id (
+ const char * id,
+ CORBA::Environment &ACE_TRY_ENV =
+ TAO_default_environment ()
+ )
+ ACE_THROW_SPEC ((
+ CORBA::SystemException
+ ));
+
+ char * name (
+ CORBA::Environment &ACE_TRY_ENV =
+ TAO_default_environment ()
+ )
+ ACE_THROW_SPEC ((
+ CORBA::SystemException
+ ));
+
+ void name (
+ const char * name,
+ CORBA::Environment &ACE_TRY_ENV =
+ TAO_default_environment ()
+ )
+ ACE_THROW_SPEC ((
+ CORBA::SystemException
+ ));
+
+ char * version (
+ CORBA::Environment &ACE_TRY_ENV =
+ TAO_default_environment ()
+ )
+ ACE_THROW_SPEC ((
+ CORBA::SystemException
+ ));
+
+ void version (
+ const char * version,
+ CORBA::Environment &ACE_TRY_ENV =
+ TAO_default_environment ()
+ )
+ ACE_THROW_SPEC ((
+ CORBA::SystemException
+ ));
+
+ CORBA::Container_ptr defined_in (
+ CORBA::Environment &ACE_TRY_ENV =
+ TAO_default_environment ()
+ )
+ ACE_THROW_SPEC ((
+ CORBA::SystemException
+ ));
+
+ char * absolute_name (
+ CORBA::Environment &ACE_TRY_ENV =
+ TAO_default_environment ()
+ )
+ ACE_THROW_SPEC ((
+ CORBA::SystemException
+ ));
+
+ CORBA::Repository_ptr containing_repository (
+ CORBA::Environment &ACE_TRY_ENV =
+ TAO_default_environment ()
+ )
+ ACE_THROW_SPEC ((
+ CORBA::SystemException
+ ));
+
+ CORBA::Contained::Description * describe (
+ CORBA::Environment &ACE_TRY_ENV =
+ TAO_default_environment ()
+ )
+ ACE_THROW_SPEC ((
+ CORBA::SystemException
+ ));
+
+ void move (
+ CORBA::Container_ptr new_container,
+ const char * new_name,
+ const char * new_version,
+ CORBA::Environment &ACE_TRY_ENV =
+ TAO_default_environment ()
+ )
+ ACE_THROW_SPEC ((
+ CORBA::SystemException
+ ));
+
+ CORBA::DefinitionKind def_kind (
+ CORBA::Environment &ACE_TRY_ENV =
+ TAO_default_environment ()
+ )
+ ACE_THROW_SPEC ((
+ CORBA::SystemException
+ ));
+
+ void destroy (
+ CORBA::Environment &ACE_TRY_ENV =
+ TAO_default_environment ()
+ )
+ ACE_THROW_SPEC ((
+ CORBA::SystemException
+ ));
+
+private:
+ T *ptr_;
+ PortableServer::POA_var poa_;
+ CORBA::Boolean rel_;
+
+ // copy and assignment are not allowed
+ AttributeDef_tie (const AttributeDef_tie &);
+ void operator= (const AttributeDef_tie &);
+};
+
+#endif /* ACE_HAS_USING_KEYWORD */
+
+class OperationDef;
+typedef OperationDef *OperationDef_ptr;
+// Forward Classes Declaration
+class _TAO_OperationDef_ThruPOA_Proxy_Impl;
+class _TAO_OperationDef_Strategized_Proxy_Broker;
+
+class OperationDef : public virtual Contained
+{
+protected:
+ OperationDef (void);
+
+public:
+ OperationDef (const OperationDef& rhs);
+ virtual ~OperationDef (void);
+
+
+ virtual CORBA::Boolean _is_a (
+ const char* logical_type_id,
+ CORBA::Environment &ACE_TRY_ENV =
+ TAO_default_environment ()
+ );
+
+ virtual void* _downcast (
+ const char* logical_type_id
+ );
+
+ static void _is_a_skel (
+ TAO_ServerRequest &req,
+ void *obj,
+ void *context,
+ CORBA::Environment &ACE_TRY_ENV =
+ TAO_default_environment ()
+ );
+
+ static void _non_existent_skel (
+ TAO_ServerRequest &req,
+ void *obj,
+ void *context,
+ CORBA::Environment &ACE_TRY_ENV =
+ TAO_default_environment ()
+ );
+
+ virtual void _dispatch (
+ TAO_ServerRequest &_tao_req,
+ void *_tao_context,
+ CORBA::Environment &ACE_TRY_ENV =
+ TAO_default_environment ()
+ );
+
+ ::CORBA::OperationDef *_this (
+ CORBA::Environment &ACE_TRY_ENV =
+ TAO_default_environment ()
+ );
+
+ virtual const char* _interface_repository_id (void) const;
+
+ virtual CORBA::TypeCode_ptr result (
+ CORBA::Environment &ACE_TRY_ENV =
+ TAO_default_environment ()
+ )
+ ACE_THROW_SPEC ((
+ CORBA::SystemException
+ )) = 0;
+
+ static void _get_result_skel (
+ TAO_ServerRequest &_tao_req,
+ void *_tao_obj,
+ void *_tao_context,
+ CORBA::Environment &ACE_TRY_ENV =
+ TAO_default_environment ()
+ );
+
+ virtual CORBA::IDLType_ptr result_def (
+ CORBA::Environment &ACE_TRY_ENV =
+ TAO_default_environment ()
+ )
+ ACE_THROW_SPEC ((
+ CORBA::SystemException
+ )) = 0;
+
+ static void _get_result_def_skel (
+ TAO_ServerRequest &_tao_req,
+ void *_tao_obj,
+ void *_tao_context,
+ CORBA::Environment &ACE_TRY_ENV =
+ TAO_default_environment ()
+ );
+
+ virtual void result_def (
+ CORBA::IDLType_ptr result_def,
+ CORBA::Environment &ACE_TRY_ENV =
+ TAO_default_environment ()
+ )
+ ACE_THROW_SPEC ((
+ CORBA::SystemException
+ )) = 0;
+
+ static void _set_result_def_skel (
+ TAO_ServerRequest &_tao_req,
+ void *_tao_obj,
+ void *_tao_context,
+ CORBA::Environment &ACE_TRY_ENV =
+ TAO_default_environment ()
+ );
+
+ virtual CORBA::ParDescriptionSeq * params (
+ CORBA::Environment &ACE_TRY_ENV =
+ TAO_default_environment ()
+ )
+ ACE_THROW_SPEC ((
+ CORBA::SystemException
+ )) = 0;
+
+ static void _get_params_skel (
+ TAO_ServerRequest &_tao_req,
+ void *_tao_obj,
+ void *_tao_context,
+ CORBA::Environment &ACE_TRY_ENV =
+ TAO_default_environment ()
+ );
+
+ virtual void params (
+ const CORBA::ParDescriptionSeq & params,
+ CORBA::Environment &ACE_TRY_ENV =
+ TAO_default_environment ()
+ )
+ ACE_THROW_SPEC ((
+ CORBA::SystemException
+ )) = 0;
+
+ static void _set_params_skel (
+ TAO_ServerRequest &_tao_req,
+ void *_tao_obj,
+ void *_tao_context,
+ CORBA::Environment &ACE_TRY_ENV =
+ TAO_default_environment ()
+ );
+
+ virtual CORBA::OperationMode mode (
+ CORBA::Environment &ACE_TRY_ENV =
+ TAO_default_environment ()
+ )
+ ACE_THROW_SPEC ((
+ CORBA::SystemException
+ )) = 0;
+
+ static void _get_mode_skel (
+ TAO_ServerRequest &_tao_req,
+ void *_tao_obj,
+ void *_tao_context,
+ CORBA::Environment &ACE_TRY_ENV =
+ TAO_default_environment ()
+ );
+
+ virtual void mode (
+ CORBA::OperationMode mode,
+ CORBA::Environment &ACE_TRY_ENV =
+ TAO_default_environment ()
+ )
+ ACE_THROW_SPEC ((
+ CORBA::SystemException
+ )) = 0;
+
+ static void _set_mode_skel (
+ TAO_ServerRequest &_tao_req,
+ void *_tao_obj,
+ void *_tao_context,
+ CORBA::Environment &ACE_TRY_ENV =
+ TAO_default_environment ()
+ );
+
+ virtual CORBA::ContextIdSeq * contexts (
+ CORBA::Environment &ACE_TRY_ENV =
+ TAO_default_environment ()
+ )
+ ACE_THROW_SPEC ((
+ CORBA::SystemException
+ )) = 0;
+
+ static void _get_contexts_skel (
+ TAO_ServerRequest &_tao_req,
+ void *_tao_obj,
+ void *_tao_context,
+ CORBA::Environment &ACE_TRY_ENV =
+ TAO_default_environment ()
+ );
+
+ virtual void contexts (
+ const CORBA::ContextIdSeq & contexts,
+ CORBA::Environment &ACE_TRY_ENV =
+ TAO_default_environment ()
+ )
+ ACE_THROW_SPEC ((
+ CORBA::SystemException
+ )) = 0;
+
+ static void _set_contexts_skel (
+ TAO_ServerRequest &_tao_req,
+ void *_tao_obj,
+ void *_tao_context,
+ CORBA::Environment &ACE_TRY_ENV =
+ TAO_default_environment ()
+ );
+
+ virtual CORBA::ExceptionDefSeq * exceptions (
+ CORBA::Environment &ACE_TRY_ENV =
+ TAO_default_environment ()
+ )
+ ACE_THROW_SPEC ((
+ CORBA::SystemException
+ )) = 0;
+
+ static void _get_exceptions_skel (
+ TAO_ServerRequest &_tao_req,
+ void *_tao_obj,
+ void *_tao_context,
+ CORBA::Environment &ACE_TRY_ENV =
+ TAO_default_environment ()
+ );
+
+ virtual void exceptions (
+ const CORBA::ExceptionDefSeq & exceptions,
+ CORBA::Environment &ACE_TRY_ENV =
+ TAO_default_environment ()
+ )
+ ACE_THROW_SPEC ((
+ CORBA::SystemException
+ )) = 0;
+
+ static void _set_exceptions_skel (
+ TAO_ServerRequest &_tao_req,
+ void *_tao_obj,
+ void *_tao_context,
+ CORBA::Environment &ACE_TRY_ENV =
+ TAO_default_environment ()
+ );
+
+ static void _get_id_skel (
+ TAO_ServerRequest &req,
+ void *obj,
+ void *context,
+ CORBA::Environment &ACE_TRY_ENV =
+ TAO_default_environment ()
+ );
+
+ static void _set_id_skel (
+ TAO_ServerRequest &req,
+ void *obj,
+ void *context,
+ CORBA::Environment &ACE_TRY_ENV =
+ TAO_default_environment ()
+ );
+
+ static void _get_name_skel (
+ TAO_ServerRequest &req,
+ void *obj,
+ void *context,
+ CORBA::Environment &ACE_TRY_ENV =
+ TAO_default_environment ()
+ );
+
+ static void _set_name_skel (
+ TAO_ServerRequest &req,
+ void *obj,
+ void *context,
+ CORBA::Environment &ACE_TRY_ENV =
+ TAO_default_environment ()
+ );
+
+ static void _get_version_skel (
+ TAO_ServerRequest &req,
+ void *obj,
+ void *context,
+ CORBA::Environment &ACE_TRY_ENV =
+ TAO_default_environment ()
+ );
+
+ static void _set_version_skel (
+ TAO_ServerRequest &req,
+ void *obj,
+ void *context,
+ CORBA::Environment &ACE_TRY_ENV =
+ TAO_default_environment ()
+ );
+
+ static void _get_defined_in_skel (
+ TAO_ServerRequest &req,
+ void *obj,
+ void *context,
+ CORBA::Environment &ACE_TRY_ENV =
+ TAO_default_environment ()
+ );
+
+ static void _get_absolute_name_skel (
+ TAO_ServerRequest &req,
+ void *obj,
+ void *context,
+ CORBA::Environment &ACE_TRY_ENV =
+ TAO_default_environment ()
+ );
+
+ static void _get_containing_repository_skel (
+ TAO_ServerRequest &req,
+ void *obj,
+ void *context,
+ CORBA::Environment &ACE_TRY_ENV =
+ TAO_default_environment ()
+ );
+
+ static void describe_skel (
+ TAO_ServerRequest &req,
+ void *obj,
+ void *context,
+ CORBA::Environment &ACE_TRY_ENV =
+ TAO_default_environment ()
+ );
+
+ static void move_skel (
+ TAO_ServerRequest &req,
+ void *obj,
+ void *context,
+ CORBA::Environment &ACE_TRY_ENV =
+ TAO_default_environment ()
+ );
+
+ static void _get_def_kind_skel (
+ TAO_ServerRequest &req,
+ void *obj,
+ void *context,
+ CORBA::Environment &ACE_TRY_ENV =
+ TAO_default_environment ()
+ );
+
+ static void destroy_skel (
+ TAO_ServerRequest &req,
+ void *obj,
+ void *context,
+ CORBA::Environment &ACE_TRY_ENV =
+ TAO_default_environment ()
+ );
+
+
+#if (TAO_HAS_INTERCEPTORS == 1)
+ // Generation of interceptors related RequestInfo classes per operation.
+ // This needed to be able to store the arguments, exceptions, contexts
+ // and build the lists dynamically on demand so that unnecessary time overhead
+ // of building these lists when they arent used is avoided.
+ class TAO_ServerRequestInfo_CORBA_OperationDef_result_get : public TAO_ServerRequestInfo
+ {
+ public:
+ friend class POA_CORBA::OperationDef;
+ TAO_ServerRequestInfo_CORBA_OperationDef_result_get (
+ TAO_ServerRequest &_tao_server_request,
+ POA_CORBA::OperationDef *tao_impl,
+ CORBA::Environment &ACE_TRY_ENV =
+ TAO_default_environment ()
+ );
+
+ virtual Dynamic::ParameterList * arguments (
+ CORBA::Environment &ACE_TRY_ENV =
+ TAO_default_environment ()
+ )
+ ACE_THROW_SPEC ((CORBA::SystemException));
+
+ virtual Dynamic::ExceptionList * exceptions (
+ CORBA::Environment &ACE_TRY_ENV =
+ TAO_default_environment ()
+ )
+ ACE_THROW_SPEC ((CORBA::SystemException));
+
+ virtual CORBA::Any * result (
+ CORBA::Environment &ACE_TRY_ENV =
+ TAO_default_environment ()
+ )
+ ACE_THROW_SPEC ((CORBA::SystemException));
+
+ virtual char * target_most_derived_interface (
+ CORBA::Environment &ACE_TRY_ENV = TAO_default_environment ())
+ ACE_THROW_SPEC ((CORBA::SystemException));
+
+ virtual CORBA::Boolean target_is_a (
+ const char * id,
+ CORBA::Environment &ACE_TRY_ENV = TAO_default_environment ())
+ ACE_THROW_SPEC ((CORBA::SystemException));
+
+ private:
+ TAO_ServerRequestInfo_CORBA_OperationDef_result_get (const TAO_ServerRequestInfo_CORBA_OperationDef_result_get &);
+ void operator= (const TAO_ServerRequestInfo_CORBA_OperationDef_result_get &);
+
+ private:
+ POA_CORBA::OperationDef *_tao_impl;
+ void result (CORBA::TypeCode_ptr result);
+ // update the result
+ CORBA::TypeCode_ptr _result;
+ };
+
+ class TAO_ServerRequestInfo_CORBA_OperationDef_result_def_get : public TAO_ServerRequestInfo
+ {
+ public:
+ friend class POA_CORBA::OperationDef;
+ TAO_ServerRequestInfo_CORBA_OperationDef_result_def_get (
+ TAO_ServerRequest &_tao_server_request,
+ POA_CORBA::OperationDef *tao_impl,
+ CORBA::Environment &ACE_TRY_ENV =
+ TAO_default_environment ()
+ );
+
+ virtual Dynamic::ParameterList * arguments (
+ CORBA::Environment &ACE_TRY_ENV =
+ TAO_default_environment ()
+ )
+ ACE_THROW_SPEC ((CORBA::SystemException));
+
+ virtual Dynamic::ExceptionList * exceptions (
+ CORBA::Environment &ACE_TRY_ENV =
+ TAO_default_environment ()
+ )
+ ACE_THROW_SPEC ((CORBA::SystemException));
+
+ virtual CORBA::Any * result (
+ CORBA::Environment &ACE_TRY_ENV =
+ TAO_default_environment ()
+ )
+ ACE_THROW_SPEC ((CORBA::SystemException));
+
+ virtual char * target_most_derived_interface (
+ CORBA::Environment &ACE_TRY_ENV = TAO_default_environment ())
+ ACE_THROW_SPEC ((CORBA::SystemException));
+
+ virtual CORBA::Boolean target_is_a (
+ const char * id,
+ CORBA::Environment &ACE_TRY_ENV = TAO_default_environment ())
+ ACE_THROW_SPEC ((CORBA::SystemException));
+
+ private:
+ TAO_ServerRequestInfo_CORBA_OperationDef_result_def_get (const TAO_ServerRequestInfo_CORBA_OperationDef_result_def_get &);
+ void operator= (const TAO_ServerRequestInfo_CORBA_OperationDef_result_def_get &);
+
+ private:
+ POA_CORBA::OperationDef *_tao_impl;
+ void result (CORBA::IDLType_ptr result);
+ // update the result
+ CORBA::IDLType_ptr _result;
+ };
+
+ class TAO_ServerRequestInfo_CORBA_OperationDef_result_def_set : public TAO_ServerRequestInfo
+ {
+ public:
+ friend class POA_CORBA::OperationDef;
+ TAO_ServerRequestInfo_CORBA_OperationDef_result_def_set (
+ TAO_ServerRequest &_tao_server_request,
+ POA_CORBA::OperationDef *tao_impl,
+ CORBA::IDLType_ptr result_def,
+ CORBA::Environment &ACE_TRY_ENV =
+ TAO_default_environment ()
+ );
+
+ virtual Dynamic::ParameterList * arguments (
+ CORBA::Environment &ACE_TRY_ENV =
+ TAO_default_environment ()
+ )
+ ACE_THROW_SPEC ((CORBA::SystemException));
+
+ virtual Dynamic::ExceptionList * exceptions (
+ CORBA::Environment &ACE_TRY_ENV =
+ TAO_default_environment ()
+ )
+ ACE_THROW_SPEC ((CORBA::SystemException));
+
+ virtual CORBA::Any * result (
+ CORBA::Environment &ACE_TRY_ENV =
+ TAO_default_environment ()
+ )
+ ACE_THROW_SPEC ((CORBA::SystemException));
+
+ virtual char * target_most_derived_interface (
+ CORBA::Environment &ACE_TRY_ENV = TAO_default_environment ())
+ ACE_THROW_SPEC ((CORBA::SystemException));
+
+ virtual CORBA::Boolean target_is_a (
+ const char * id,
+ CORBA::Environment &ACE_TRY_ENV = TAO_default_environment ())
+ ACE_THROW_SPEC ((CORBA::SystemException));
+
+ private:
+ TAO_ServerRequestInfo_CORBA_OperationDef_result_def_set (const TAO_ServerRequestInfo_CORBA_OperationDef_result_def_set &);
+ void operator= (const TAO_ServerRequestInfo_CORBA_OperationDef_result_def_set &);
+
+ private:
+ POA_CORBA::OperationDef *_tao_impl;
+ CORBA::IDLType_ptr result_def_;
+
+ };
+
+ class TAO_ServerRequestInfo_CORBA_OperationDef_params_get : public TAO_ServerRequestInfo
+ {
+ public:
+ friend class POA_CORBA::OperationDef;
+ TAO_ServerRequestInfo_CORBA_OperationDef_params_get (
+ TAO_ServerRequest &_tao_server_request,
+ POA_CORBA::OperationDef *tao_impl,
+ CORBA::Environment &ACE_TRY_ENV =
+ TAO_default_environment ()
+ );
+
+ virtual Dynamic::ParameterList * arguments (
+ CORBA::Environment &ACE_TRY_ENV =
+ TAO_default_environment ()
+ )
+ ACE_THROW_SPEC ((CORBA::SystemException));
+
+ virtual Dynamic::ExceptionList * exceptions (
+ CORBA::Environment &ACE_TRY_ENV =
+ TAO_default_environment ()
+ )
+ ACE_THROW_SPEC ((CORBA::SystemException));
+
+ virtual CORBA::Any * result (
+ CORBA::Environment &ACE_TRY_ENV =
+ TAO_default_environment ()
+ )
+ ACE_THROW_SPEC ((CORBA::SystemException));
+
+ virtual char * target_most_derived_interface (
+ CORBA::Environment &ACE_TRY_ENV = TAO_default_environment ())
+ ACE_THROW_SPEC ((CORBA::SystemException));
+
+ virtual CORBA::Boolean target_is_a (
+ const char * id,
+ CORBA::Environment &ACE_TRY_ENV = TAO_default_environment ())
+ ACE_THROW_SPEC ((CORBA::SystemException));
+
+ private:
+ TAO_ServerRequestInfo_CORBA_OperationDef_params_get (const TAO_ServerRequestInfo_CORBA_OperationDef_params_get &);
+ void operator= (const TAO_ServerRequestInfo_CORBA_OperationDef_params_get &);
+
+ private:
+ POA_CORBA::OperationDef *_tao_impl;
+ void result (CORBA::ParDescriptionSeq * result);
+ // update the result
+ CORBA::ParDescriptionSeq * _result;
+ };
+
+ class TAO_ServerRequestInfo_CORBA_OperationDef_params_set : public TAO_ServerRequestInfo
+ {
+ public:
+ friend class POA_CORBA::OperationDef;
+ TAO_ServerRequestInfo_CORBA_OperationDef_params_set (
+ TAO_ServerRequest &_tao_server_request,
+ POA_CORBA::OperationDef *tao_impl,
+ const CORBA::ParDescriptionSeq & params,
+ CORBA::Environment &ACE_TRY_ENV =
+ TAO_default_environment ()
+ );
+
+ virtual Dynamic::ParameterList * arguments (
+ CORBA::Environment &ACE_TRY_ENV =
+ TAO_default_environment ()
+ )
+ ACE_THROW_SPEC ((CORBA::SystemException));
+
+ virtual Dynamic::ExceptionList * exceptions (
+ CORBA::Environment &ACE_TRY_ENV =
+ TAO_default_environment ()
+ )
+ ACE_THROW_SPEC ((CORBA::SystemException));
+
+ virtual CORBA::Any * result (
+ CORBA::Environment &ACE_TRY_ENV =
+ TAO_default_environment ()
+ )
+ ACE_THROW_SPEC ((CORBA::SystemException));
+
+ virtual char * target_most_derived_interface (
+ CORBA::Environment &ACE_TRY_ENV = TAO_default_environment ())
+ ACE_THROW_SPEC ((CORBA::SystemException));
+
+ virtual CORBA::Boolean target_is_a (
+ const char * id,
+ CORBA::Environment &ACE_TRY_ENV = TAO_default_environment ())
+ ACE_THROW_SPEC ((CORBA::SystemException));
+
+ private:
+ TAO_ServerRequestInfo_CORBA_OperationDef_params_set (const TAO_ServerRequestInfo_CORBA_OperationDef_params_set &);
+ void operator= (const TAO_ServerRequestInfo_CORBA_OperationDef_params_set &);
+
+ private:
+ POA_CORBA::OperationDef *_tao_impl;
+ const CORBA::ParDescriptionSeq & params_;
+
+ };
+
+ class TAO_ServerRequestInfo_CORBA_OperationDef_mode_get : public TAO_ServerRequestInfo
+ {
+ public:
+ friend class POA_CORBA::OperationDef;
+ TAO_ServerRequestInfo_CORBA_OperationDef_mode_get (
+ TAO_ServerRequest &_tao_server_request,
+ POA_CORBA::OperationDef *tao_impl,
+ CORBA::Environment &ACE_TRY_ENV =
+ TAO_default_environment ()
+ );
+
+ virtual Dynamic::ParameterList * arguments (
+ CORBA::Environment &ACE_TRY_ENV =
+ TAO_default_environment ()
+ )
+ ACE_THROW_SPEC ((CORBA::SystemException));
+
+ virtual Dynamic::ExceptionList * exceptions (
+ CORBA::Environment &ACE_TRY_ENV =
+ TAO_default_environment ()
+ )
+ ACE_THROW_SPEC ((CORBA::SystemException));
+
+ virtual CORBA::Any * result (
+ CORBA::Environment &ACE_TRY_ENV =
+ TAO_default_environment ()
+ )
+ ACE_THROW_SPEC ((CORBA::SystemException));
+
+ virtual char * target_most_derived_interface (
+ CORBA::Environment &ACE_TRY_ENV = TAO_default_environment ())
+ ACE_THROW_SPEC ((CORBA::SystemException));
+
+ virtual CORBA::Boolean target_is_a (
+ const char * id,
+ CORBA::Environment &ACE_TRY_ENV = TAO_default_environment ())
+ ACE_THROW_SPEC ((CORBA::SystemException));
+
+ private:
+ TAO_ServerRequestInfo_CORBA_OperationDef_mode_get (const TAO_ServerRequestInfo_CORBA_OperationDef_mode_get &);
+ void operator= (const TAO_ServerRequestInfo_CORBA_OperationDef_mode_get &);
+
+ private:
+ POA_CORBA::OperationDef *_tao_impl;
+ void result (CORBA::OperationMode result);
+ // update the result
+ CORBA::OperationMode _result;
+ };
+
+ class TAO_ServerRequestInfo_CORBA_OperationDef_mode_set : public TAO_ServerRequestInfo
+ {
+ public:
+ friend class POA_CORBA::OperationDef;
+ TAO_ServerRequestInfo_CORBA_OperationDef_mode_set (
+ TAO_ServerRequest &_tao_server_request,
+ POA_CORBA::OperationDef *tao_impl,
+ CORBA::OperationMode & mode,
+ CORBA::Environment &ACE_TRY_ENV =
+ TAO_default_environment ()
+ );
+
+ virtual Dynamic::ParameterList * arguments (
+ CORBA::Environment &ACE_TRY_ENV =
+ TAO_default_environment ()
+ )
+ ACE_THROW_SPEC ((CORBA::SystemException));
+
+ virtual Dynamic::ExceptionList * exceptions (
+ CORBA::Environment &ACE_TRY_ENV =
+ TAO_default_environment ()
+ )
+ ACE_THROW_SPEC ((CORBA::SystemException));
+
+ virtual CORBA::Any * result (
+ CORBA::Environment &ACE_TRY_ENV =
+ TAO_default_environment ()
+ )
+ ACE_THROW_SPEC ((CORBA::SystemException));
+
+ virtual char * target_most_derived_interface (
+ CORBA::Environment &ACE_TRY_ENV = TAO_default_environment ())
+ ACE_THROW_SPEC ((CORBA::SystemException));
+
+ virtual CORBA::Boolean target_is_a (
+ const char * id,
+ CORBA::Environment &ACE_TRY_ENV = TAO_default_environment ())
+ ACE_THROW_SPEC ((CORBA::SystemException));
+
+ private:
+ TAO_ServerRequestInfo_CORBA_OperationDef_mode_set (const TAO_ServerRequestInfo_CORBA_OperationDef_mode_set &);
+ void operator= (const TAO_ServerRequestInfo_CORBA_OperationDef_mode_set &);
+
+ private:
+ POA_CORBA::OperationDef *_tao_impl;
+ const CORBA::OperationMode & mode_;
+
+ };
+
+ class TAO_ServerRequestInfo_CORBA_OperationDef_contexts_get : public TAO_ServerRequestInfo
+ {
+ public:
+ friend class POA_CORBA::OperationDef;
+ TAO_ServerRequestInfo_CORBA_OperationDef_contexts_get (
+ TAO_ServerRequest &_tao_server_request,
+ POA_CORBA::OperationDef *tao_impl,
+ CORBA::Environment &ACE_TRY_ENV =
+ TAO_default_environment ()
+ );
+
+ virtual Dynamic::ParameterList * arguments (
+ CORBA::Environment &ACE_TRY_ENV =
+ TAO_default_environment ()
+ )
+ ACE_THROW_SPEC ((CORBA::SystemException));
+
+ virtual Dynamic::ExceptionList * exceptions (
+ CORBA::Environment &ACE_TRY_ENV =
+ TAO_default_environment ()
+ )
+ ACE_THROW_SPEC ((CORBA::SystemException));
+
+ virtual CORBA::Any * result (
+ CORBA::Environment &ACE_TRY_ENV =
+ TAO_default_environment ()
+ )
+ ACE_THROW_SPEC ((CORBA::SystemException));
+
+ virtual char * target_most_derived_interface (
+ CORBA::Environment &ACE_TRY_ENV = TAO_default_environment ())
+ ACE_THROW_SPEC ((CORBA::SystemException));
+
+ virtual CORBA::Boolean target_is_a (
+ const char * id,
+ CORBA::Environment &ACE_TRY_ENV = TAO_default_environment ())
+ ACE_THROW_SPEC ((CORBA::SystemException));
+
+ private:
+ TAO_ServerRequestInfo_CORBA_OperationDef_contexts_get (const TAO_ServerRequestInfo_CORBA_OperationDef_contexts_get &);
+ void operator= (const TAO_ServerRequestInfo_CORBA_OperationDef_contexts_get &);
+
+ private:
+ POA_CORBA::OperationDef *_tao_impl;
+ void result (CORBA::ContextIdSeq * result);
+ // update the result
+ CORBA::ContextIdSeq * _result;
+ };
+
+ class TAO_ServerRequestInfo_CORBA_OperationDef_contexts_set : public TAO_ServerRequestInfo
+ {
+ public:
+ friend class POA_CORBA::OperationDef;
+ TAO_ServerRequestInfo_CORBA_OperationDef_contexts_set (
+ TAO_ServerRequest &_tao_server_request,
+ POA_CORBA::OperationDef *tao_impl,
+ const CORBA::ContextIdSeq & contexts,
+ CORBA::Environment &ACE_TRY_ENV =
+ TAO_default_environment ()
+ );
+
+ virtual Dynamic::ParameterList * arguments (
+ CORBA::Environment &ACE_TRY_ENV =
+ TAO_default_environment ()
+ )
+ ACE_THROW_SPEC ((CORBA::SystemException));
+
+ virtual Dynamic::ExceptionList * exceptions (
+ CORBA::Environment &ACE_TRY_ENV =
+ TAO_default_environment ()
+ )
+ ACE_THROW_SPEC ((CORBA::SystemException));
+
+ virtual CORBA::Any * result (
+ CORBA::Environment &ACE_TRY_ENV =
+ TAO_default_environment ()
+ )
+ ACE_THROW_SPEC ((CORBA::SystemException));
+
+ virtual char * target_most_derived_interface (
+ CORBA::Environment &ACE_TRY_ENV = TAO_default_environment ())
+ ACE_THROW_SPEC ((CORBA::SystemException));
+
+ virtual CORBA::Boolean target_is_a (
+ const char * id,
+ CORBA::Environment &ACE_TRY_ENV = TAO_default_environment ())
+ ACE_THROW_SPEC ((CORBA::SystemException));
+
+ private:
+ TAO_ServerRequestInfo_CORBA_OperationDef_contexts_set (const TAO_ServerRequestInfo_CORBA_OperationDef_contexts_set &);
+ void operator= (const TAO_ServerRequestInfo_CORBA_OperationDef_contexts_set &);
+
+ private:
+ POA_CORBA::OperationDef *_tao_impl;
+ const CORBA::ContextIdSeq & contexts_;
+
+ };
+
+ class TAO_ServerRequestInfo_CORBA_OperationDef_exceptions_get : public TAO_ServerRequestInfo
+ {
+ public:
+ friend class POA_CORBA::OperationDef;
+ TAO_ServerRequestInfo_CORBA_OperationDef_exceptions_get (
+ TAO_ServerRequest &_tao_server_request,
+ POA_CORBA::OperationDef *tao_impl,
+ CORBA::Environment &ACE_TRY_ENV =
+ TAO_default_environment ()
+ );
+
+ virtual Dynamic::ParameterList * arguments (
+ CORBA::Environment &ACE_TRY_ENV =
+ TAO_default_environment ()
+ )
+ ACE_THROW_SPEC ((CORBA::SystemException));
+
+ virtual Dynamic::ExceptionList * exceptions (
+ CORBA::Environment &ACE_TRY_ENV =
+ TAO_default_environment ()
+ )
+ ACE_THROW_SPEC ((CORBA::SystemException));
+
+ virtual CORBA::Any * result (
+ CORBA::Environment &ACE_TRY_ENV =
+ TAO_default_environment ()
+ )
+ ACE_THROW_SPEC ((CORBA::SystemException));
+
+ virtual char * target_most_derived_interface (
+ CORBA::Environment &ACE_TRY_ENV = TAO_default_environment ())
+ ACE_THROW_SPEC ((CORBA::SystemException));
+
+ virtual CORBA::Boolean target_is_a (
+ const char * id,
+ CORBA::Environment &ACE_TRY_ENV = TAO_default_environment ())
+ ACE_THROW_SPEC ((CORBA::SystemException));
+
+ private:
+ TAO_ServerRequestInfo_CORBA_OperationDef_exceptions_get (const TAO_ServerRequestInfo_CORBA_OperationDef_exceptions_get &);
+ void operator= (const TAO_ServerRequestInfo_CORBA_OperationDef_exceptions_get &);
+
+ private:
+ POA_CORBA::OperationDef *_tao_impl;
+ void result (CORBA::ExceptionDefSeq * result);
+ // update the result
+ CORBA::ExceptionDefSeq * _result;
+ };
+
+ class TAO_ServerRequestInfo_CORBA_OperationDef_exceptions_set : public TAO_ServerRequestInfo
+ {
+ public:
+ friend class POA_CORBA::OperationDef;
+ TAO_ServerRequestInfo_CORBA_OperationDef_exceptions_set (
+ TAO_ServerRequest &_tao_server_request,
+ POA_CORBA::OperationDef *tao_impl,
+ const CORBA::ExceptionDefSeq & exceptions,
+ CORBA::Environment &ACE_TRY_ENV =
+ TAO_default_environment ()
+ );
+
+ virtual Dynamic::ParameterList * arguments (
+ CORBA::Environment &ACE_TRY_ENV =
+ TAO_default_environment ()
+ )
+ ACE_THROW_SPEC ((CORBA::SystemException));
+
+ virtual Dynamic::ExceptionList * exceptions (
+ CORBA::Environment &ACE_TRY_ENV =
+ TAO_default_environment ()
+ )
+ ACE_THROW_SPEC ((CORBA::SystemException));
+
+ virtual CORBA::Any * result (
+ CORBA::Environment &ACE_TRY_ENV =
+ TAO_default_environment ()
+ )
+ ACE_THROW_SPEC ((CORBA::SystemException));
+
+ virtual char * target_most_derived_interface (
+ CORBA::Environment &ACE_TRY_ENV = TAO_default_environment ())
+ ACE_THROW_SPEC ((CORBA::SystemException));
+
+ virtual CORBA::Boolean target_is_a (
+ const char * id,
+ CORBA::Environment &ACE_TRY_ENV = TAO_default_environment ())
+ ACE_THROW_SPEC ((CORBA::SystemException));
+
+ private:
+ TAO_ServerRequestInfo_CORBA_OperationDef_exceptions_set (const TAO_ServerRequestInfo_CORBA_OperationDef_exceptions_set &);
+ void operator= (const TAO_ServerRequestInfo_CORBA_OperationDef_exceptions_set &);
+
+ private:
+ POA_CORBA::OperationDef *_tao_impl;
+ const CORBA::ExceptionDefSeq & exceptions_;
+
+ };
+
+ #endif /* TAO_HAS_INTERCEPTORS */
+
+};
+
+
+///////////////////////////////////////////////////////////////////////
+// Strategized Proxy Broker Declaration
+//
+
+class _TAO_OperationDef_Strategized_Proxy_Broker : public virtual ::_TAO_OperationDef_Proxy_Broker
+{
+public:
+ _TAO_OperationDef_Strategized_Proxy_Broker (void);
+
+ virtual ~_TAO_OperationDef_Strategized_Proxy_Broker (void);
+
+ virtual ::_TAO_OperationDef_Proxy_Impl &select_proxy (
+ ::CORBA::OperationDef *object,
+ CORBA_Environment &ACE_TRY_ENV = TAO_default_environment ()
+ );
+
+private:
+
+// Helper methods that takes care to create the proxy
+// as soon as their use is necessary.
+ void create_proxy (
+ int strategy,
+ CORBA::Environment &ACE_TRY_ENV
+ );
+
+private:
+
+ // Caches the proxy implementations. The proxy implementation
+ // are totally stateless, and those can be shared by all the
+ // instances of a given IDL interface type.
+ ::_TAO_OperationDef_Proxy_Impl
+ *proxy_cache_[TAO_Collocation_Strategies::CS_LAST];
+
+ TAO_SYNCH_MUTEX mutex_;
+// This funxtion is used to get an handle to the unique instance
+// of the Strategized Proxy Broker that is available for a given
+// interface.
+
+public:
+ static _TAO_OperationDef_Strategized_Proxy_Broker *the_TAO_OperationDef_Strategized_Proxy_Broker (void);
+};
+
+
+//
+// End Strategized Proxy Broker Declaration
+///////////////////////////////////////////////////////////////////////
+
+
+///////////////////////////////////////////////////////////////////////
+// ThruPOA Impl. Declaration
+//
+
+class _TAO_OperationDef_ThruPOA_Proxy_Impl :
+ public virtual ::_TAO_OperationDef_Proxy_Impl,
+ public virtual TAO_ThruPOA_Object_Proxy_Impl,
+ public virtual ::POA_CORBA::_TAO_Contained_ThruPOA_Proxy_Impl
+
+{
+public:
+ _TAO_OperationDef_ThruPOA_Proxy_Impl (void);
+
+ virtual ~_TAO_OperationDef_ThruPOA_Proxy_Impl (void) { }
+
+ virtual CORBA::TypeCode_ptr result (
+ CORBA_Object *_collocated_tao_target_,
+ CORBA::Environment &ACE_TRY_ENV
+ )
+ ACE_THROW_SPEC ((
+ CORBA::SystemException
+ ));
+
+ virtual CORBA::IDLType_ptr result_def (
+ CORBA_Object *_collocated_tao_target_,
+ CORBA::Environment &ACE_TRY_ENV
+ )
+ ACE_THROW_SPEC ((
+ CORBA::SystemException
+ ));
+
+ virtual void result_def (
+ CORBA_Object *_collocated_tao_target_,
+ CORBA::IDLType_ptr result_def,
+ CORBA::Environment &ACE_TRY_ENV
+ )
+ ACE_THROW_SPEC ((
+ CORBA::SystemException
+ ));
+
+ virtual CORBA::ParDescriptionSeq * params (
+ CORBA_Object *_collocated_tao_target_,
+ CORBA::Environment &ACE_TRY_ENV
+ )
+ ACE_THROW_SPEC ((
+ CORBA::SystemException
+ ));
+
+ virtual void params (
+ CORBA_Object *_collocated_tao_target_,
+ const CORBA::ParDescriptionSeq & params,
+ CORBA::Environment &ACE_TRY_ENV
+ )
+ ACE_THROW_SPEC ((
+ CORBA::SystemException
+ ));
+
+ virtual CORBA::OperationMode mode (
+ CORBA_Object *_collocated_tao_target_,
+ CORBA::Environment &ACE_TRY_ENV
+ )
+ ACE_THROW_SPEC ((
+ CORBA::SystemException
+ ));
+
+ virtual void mode (
+ CORBA_Object *_collocated_tao_target_,
+ CORBA::OperationMode mode,
+ CORBA::Environment &ACE_TRY_ENV
+ )
+ ACE_THROW_SPEC ((
+ CORBA::SystemException
+ ));
+
+ virtual CORBA::ContextIdSeq * contexts (
+ CORBA_Object *_collocated_tao_target_,
+ CORBA::Environment &ACE_TRY_ENV
+ )
+ ACE_THROW_SPEC ((
+ CORBA::SystemException
+ ));
+
+ virtual void contexts (
+ CORBA_Object *_collocated_tao_target_,
+ const CORBA::ContextIdSeq & contexts,
+ CORBA::Environment &ACE_TRY_ENV
+ )
+ ACE_THROW_SPEC ((
+ CORBA::SystemException
+ ));
+
+ virtual CORBA::ExceptionDefSeq * exceptions (
+ CORBA_Object *_collocated_tao_target_,
+ CORBA::Environment &ACE_TRY_ENV
+ )
+ ACE_THROW_SPEC ((
+ CORBA::SystemException
+ ));
+
+ virtual void exceptions (
+ CORBA_Object *_collocated_tao_target_,
+ const CORBA::ExceptionDefSeq & exceptions,
+ CORBA::Environment &ACE_TRY_ENV
+ )
+ ACE_THROW_SPEC ((
+ CORBA::SystemException
+ ));
+
+};
+
+
+//
+// ThruPOA Proxy Impl. Declaration
+///////////////////////////////////////////////////////////////////////
+
+
+#if defined (ACE_HAS_USING_KEYWORD)
+// TIE class: Refer to CORBA v2.2, Section 20.34.4
+template <class T>
+class OperationDef_tie : public OperationDef
+{
+public:
+ OperationDef_tie (T &t);
+ // the T& ctor
+ OperationDef_tie (T &t, PortableServer::POA_ptr poa);
+ // ctor taking a POA
+ OperationDef_tie (T *tp, CORBA::Boolean release=1);
+ // ctor taking pointer and an ownership flag
+ OperationDef_tie (T *tp, PortableServer::POA_ptr poa, CORBA::Boolean release=1);
+ // ctor with T*, ownership flag and a POA
+ ~OperationDef_tie (void);
+ // dtor
+
+ // TIE specific functions
+ T *_tied_object (void);
+ // return the underlying object
+ void _tied_object (T &obj);
+ // set the underlying object
+ void _tied_object (T *obj, CORBA::Boolean release=1);
+ // set the underlying object and the ownership flag
+ CORBA::Boolean _is_owner (void);
+ // do we own it
+ void _is_owner (CORBA::Boolean b);
+ // set the ownership
+
+ // overridden ServantBase operations
+ PortableServer::POA_ptr _default_POA (
+ CORBA::Environment &ACE_TRY_ENV =
+ TAO_default_environment ()
+ );
+ CORBA::TypeCode_ptr result (
+ CORBA::Environment &ACE_TRY_ENV =
+ TAO_default_environment ()
+ )
+ ACE_THROW_SPEC ((
+ CORBA::SystemException
+ ));
+
+ CORBA::IDLType_ptr result_def (
+ CORBA::Environment &ACE_TRY_ENV =
+ TAO_default_environment ()
+ )
+ ACE_THROW_SPEC ((
+ CORBA::SystemException
+ ));
+
+ void result_def (
+ CORBA::IDLType_ptr result_def,
+ CORBA::Environment &ACE_TRY_ENV =
+ TAO_default_environment ()
+ )
+ ACE_THROW_SPEC ((
+ CORBA::SystemException
+ ));
+
+ CORBA::ParDescriptionSeq * params (
+ CORBA::Environment &ACE_TRY_ENV =
+ TAO_default_environment ()
+ )
+ ACE_THROW_SPEC ((
+ CORBA::SystemException
+ ));
+
+ void params (
+ const CORBA::ParDescriptionSeq & params,
+ CORBA::Environment &ACE_TRY_ENV =
+ TAO_default_environment ()
+ )
+ ACE_THROW_SPEC ((
+ CORBA::SystemException
+ ));
+
+ CORBA::OperationMode mode (
+ CORBA::Environment &ACE_TRY_ENV =
+ TAO_default_environment ()
+ )
+ ACE_THROW_SPEC ((
+ CORBA::SystemException
+ ));
+
+ void mode (
+ CORBA::OperationMode mode,
+ CORBA::Environment &ACE_TRY_ENV =
+ TAO_default_environment ()
+ )
+ ACE_THROW_SPEC ((
+ CORBA::SystemException
+ ));
+
+ CORBA::ContextIdSeq * contexts (
+ CORBA::Environment &ACE_TRY_ENV =
+ TAO_default_environment ()
+ )
+ ACE_THROW_SPEC ((
+ CORBA::SystemException
+ ));
+
+ void contexts (
+ const CORBA::ContextIdSeq & contexts,
+ CORBA::Environment &ACE_TRY_ENV =
+ TAO_default_environment ()
+ )
+ ACE_THROW_SPEC ((
+ CORBA::SystemException
+ ));
+
+ CORBA::ExceptionDefSeq * exceptions (
+ CORBA::Environment &ACE_TRY_ENV =
+ TAO_default_environment ()
+ )
+ ACE_THROW_SPEC ((
+ CORBA::SystemException
+ ));
+
+ void exceptions (
+ const CORBA::ExceptionDefSeq & exceptions,
+ CORBA::Environment &ACE_TRY_ENV =
+ TAO_default_environment ()
+ )
+ ACE_THROW_SPEC ((
+ CORBA::SystemException
+ ));
+
+ char * id (
+ CORBA::Environment &ACE_TRY_ENV =
+ TAO_default_environment ()
+ )
+ ACE_THROW_SPEC ((
+ CORBA::SystemException
+ ));
+
+ void id (
+ const char * id,
+ CORBA::Environment &ACE_TRY_ENV =
+ TAO_default_environment ()
+ )
+ ACE_THROW_SPEC ((
+ CORBA::SystemException
+ ));
+
+ char * name (
+ CORBA::Environment &ACE_TRY_ENV =
+ TAO_default_environment ()
+ )
+ ACE_THROW_SPEC ((
+ CORBA::SystemException
+ ));
+
+ void name (
+ const char * name,
+ CORBA::Environment &ACE_TRY_ENV =
+ TAO_default_environment ()
+ )
+ ACE_THROW_SPEC ((
+ CORBA::SystemException
+ ));
+
+ char * version (
+ CORBA::Environment &ACE_TRY_ENV =
+ TAO_default_environment ()
+ )
+ ACE_THROW_SPEC ((
+ CORBA::SystemException
+ ));
+
+ void version (
+ const char * version,
+ CORBA::Environment &ACE_TRY_ENV =
+ TAO_default_environment ()
+ )
+ ACE_THROW_SPEC ((
+ CORBA::SystemException
+ ));
+
+ CORBA::Container_ptr defined_in (
+ CORBA::Environment &ACE_TRY_ENV =
+ TAO_default_environment ()
+ )
+ ACE_THROW_SPEC ((
+ CORBA::SystemException
+ ));
+
+ char * absolute_name (
+ CORBA::Environment &ACE_TRY_ENV =
+ TAO_default_environment ()
+ )
+ ACE_THROW_SPEC ((
+ CORBA::SystemException
+ ));
+
+ CORBA::Repository_ptr containing_repository (
+ CORBA::Environment &ACE_TRY_ENV =
+ TAO_default_environment ()
+ )
+ ACE_THROW_SPEC ((
+ CORBA::SystemException
+ ));
+
+ CORBA::Contained::Description * describe (
+ CORBA::Environment &ACE_TRY_ENV =
+ TAO_default_environment ()
+ )
+ ACE_THROW_SPEC ((
+ CORBA::SystemException
+ ));
+
+ void move (
+ CORBA::Container_ptr new_container,
+ const char * new_name,
+ const char * new_version,
+ CORBA::Environment &ACE_TRY_ENV =
+ TAO_default_environment ()
+ )
+ ACE_THROW_SPEC ((
+ CORBA::SystemException
+ ));
+
+ CORBA::DefinitionKind def_kind (
+ CORBA::Environment &ACE_TRY_ENV =
+ TAO_default_environment ()
+ )
+ ACE_THROW_SPEC ((
+ CORBA::SystemException
+ ));
+
+ void destroy (
+ CORBA::Environment &ACE_TRY_ENV =
+ TAO_default_environment ()
+ )
+ ACE_THROW_SPEC ((
+ CORBA::SystemException
+ ));
+
+private:
+ T *ptr_;
+ PortableServer::POA_var poa_;
+ CORBA::Boolean rel_;
+
+ // copy and assignment are not allowed
+ OperationDef_tie (const OperationDef_tie &);
+ void operator= (const OperationDef_tie &);
+};
+
+#endif /* ACE_HAS_USING_KEYWORD */
+
+class InterfaceDef;
+typedef InterfaceDef *InterfaceDef_ptr;
+// Forward Classes Declaration
+class _TAO_InterfaceDef_ThruPOA_Proxy_Impl;
+class _TAO_InterfaceDef_Strategized_Proxy_Broker;
+
+class InterfaceDef : public virtual Container, public virtual Contained, public virtual IDLType
+{
+protected:
+ InterfaceDef (void);
+
+public:
+ InterfaceDef (const InterfaceDef& rhs);
+ virtual ~InterfaceDef (void);
+
+
+ virtual CORBA::Boolean _is_a (
+ const char* logical_type_id,
+ CORBA::Environment &ACE_TRY_ENV =
+ TAO_default_environment ()
+ );
+
+ virtual void* _downcast (
+ const char* logical_type_id
+ );
+
+ static void _is_a_skel (
+ TAO_ServerRequest &req,
+ void *obj,
+ void *context,
+ CORBA::Environment &ACE_TRY_ENV =
+ TAO_default_environment ()
+ );
+
+ static void _non_existent_skel (
+ TAO_ServerRequest &req,
+ void *obj,
+ void *context,
+ CORBA::Environment &ACE_TRY_ENV =
+ TAO_default_environment ()
+ );
+
+ virtual void _dispatch (
+ TAO_ServerRequest &_tao_req,
+ void *_tao_context,
+ CORBA::Environment &ACE_TRY_ENV =
+ TAO_default_environment ()
+ );
+
+ ::CORBA::InterfaceDef *_this (
+ CORBA::Environment &ACE_TRY_ENV =
+ TAO_default_environment ()
+ );
+
+ virtual const char* _interface_repository_id (void) const;
+
+ virtual CORBA::InterfaceDefSeq * base_interfaces (
+ CORBA::Environment &ACE_TRY_ENV =
+ TAO_default_environment ()
+ )
+ ACE_THROW_SPEC ((
+ CORBA::SystemException
+ )) = 0;
+
+ static void _get_base_interfaces_skel (
+ TAO_ServerRequest &_tao_req,
+ void *_tao_obj,
+ void *_tao_context,
+ CORBA::Environment &ACE_TRY_ENV =
+ TAO_default_environment ()
+ );
+
+ virtual void base_interfaces (
+ const CORBA::InterfaceDefSeq & base_interfaces,
+ CORBA::Environment &ACE_TRY_ENV =
+ TAO_default_environment ()
+ )
+ ACE_THROW_SPEC ((
+ CORBA::SystemException
+ )) = 0;
+
+ static void _set_base_interfaces_skel (
+ TAO_ServerRequest &_tao_req,
+ void *_tao_obj,
+ void *_tao_context,
+ CORBA::Environment &ACE_TRY_ENV =
+ TAO_default_environment ()
+ );
+
+ virtual CORBA::Boolean is_a (
+ const char * interface_id,
+ CORBA::Environment &ACE_TRY_ENV =
+ TAO_default_environment ()
+ )
+ ACE_THROW_SPEC ((
+ CORBA::SystemException
+ )) = 0;
+
+ static void is_a_skel (
+ TAO_ServerRequest &_tao_req,
+ void *_tao_obj,
+ void *_tao_context,
+ CORBA::Environment &ACE_TRY_ENV =
+ TAO_default_environment ()
+ );
+
+ virtual CORBA::InterfaceDef::FullInterfaceDescription * describe_interface (
+ CORBA::Environment &ACE_TRY_ENV =
+ TAO_default_environment ()
+ )
+ ACE_THROW_SPEC ((
+ CORBA::SystemException
+ )) = 0;
+
+ static void describe_interface_skel (
+ TAO_ServerRequest &_tao_req,
+ void *_tao_obj,
+ void *_tao_context,
+ CORBA::Environment &ACE_TRY_ENV =
+ TAO_default_environment ()
+ );
+
+ virtual CORBA::AttributeDef_ptr create_attribute (
+ const char * id,
+ const char * name,
+ const char * version,
+ CORBA::IDLType_ptr type,
+ CORBA::AttributeMode mode,
+ CORBA::Environment &ACE_TRY_ENV =
+ TAO_default_environment ()
+ )
+ ACE_THROW_SPEC ((
+ CORBA::SystemException
+ )) = 0;
+
+ static void create_attribute_skel (
+ TAO_ServerRequest &_tao_req,
+ void *_tao_obj,
+ void *_tao_context,
+ CORBA::Environment &ACE_TRY_ENV =
+ TAO_default_environment ()
+ );
+
+ virtual CORBA::OperationDef_ptr create_operation (
+ const char * id,
+ const char * name,
+ const char * version,
+ CORBA::IDLType_ptr result,
+ CORBA::OperationMode mode,
+ const CORBA::ParDescriptionSeq & params,
+ const CORBA::ExceptionDefSeq & exceptions,
+ const CORBA::ContextIdSeq & contexts,
+ CORBA::Environment &ACE_TRY_ENV =
+ TAO_default_environment ()
+ )
+ ACE_THROW_SPEC ((
+ CORBA::SystemException
+ )) = 0;
+
+ static void create_operation_skel (
+ TAO_ServerRequest &_tao_req,
+ void *_tao_obj,
+ void *_tao_context,
+ CORBA::Environment &ACE_TRY_ENV =
+ TAO_default_environment ()
+ );
+
+ static void lookup_skel (
+ TAO_ServerRequest &req,
+ void *obj,
+ void *context,
+ CORBA::Environment &ACE_TRY_ENV =
+ TAO_default_environment ()
+ );
+
+ static void contents_skel (
+ TAO_ServerRequest &req,
+ void *obj,
+ void *context,
+ CORBA::Environment &ACE_TRY_ENV =
+ TAO_default_environment ()
+ );
+
+ static void lookup_name_skel (
+ TAO_ServerRequest &req,
+ void *obj,
+ void *context,
+ CORBA::Environment &ACE_TRY_ENV =
+ TAO_default_environment ()
+ );
+
+ static void describe_contents_skel (
+ TAO_ServerRequest &req,
+ void *obj,
+ void *context,
+ CORBA::Environment &ACE_TRY_ENV =
+ TAO_default_environment ()
+ );
+
+ static void create_module_skel (
+ TAO_ServerRequest &req,
+ void *obj,
+ void *context,
+ CORBA::Environment &ACE_TRY_ENV =
+ TAO_default_environment ()
+ );
+
+ static void create_constant_skel (
+ TAO_ServerRequest &req,
+ void *obj,
+ void *context,
+ CORBA::Environment &ACE_TRY_ENV =
+ TAO_default_environment ()
+ );
+
+ static void create_struct_skel (
+ TAO_ServerRequest &req,
+ void *obj,
+ void *context,
+ CORBA::Environment &ACE_TRY_ENV =
+ TAO_default_environment ()
+ );
+
+ static void create_union_skel (
+ TAO_ServerRequest &req,
+ void *obj,
+ void *context,
+ CORBA::Environment &ACE_TRY_ENV =
+ TAO_default_environment ()
+ );
+
+ static void create_enum_skel (
+ TAO_ServerRequest &req,
+ void *obj,
+ void *context,
+ CORBA::Environment &ACE_TRY_ENV =
+ TAO_default_environment ()
+ );
+
+ static void create_alias_skel (
+ TAO_ServerRequest &req,
+ void *obj,
+ void *context,
+ CORBA::Environment &ACE_TRY_ENV =
+ TAO_default_environment ()
+ );
+
+ static void create_interface_skel (
+ TAO_ServerRequest &req,
+ void *obj,
+ void *context,
+ CORBA::Environment &ACE_TRY_ENV =
+ TAO_default_environment ()
+ );
+
+ static void create_value_skel (
+ TAO_ServerRequest &req,
+ void *obj,
+ void *context,
+ CORBA::Environment &ACE_TRY_ENV =
+ TAO_default_environment ()
+ );
+
+ static void create_value_box_skel (
+ TAO_ServerRequest &req,
+ void *obj,
+ void *context,
+ CORBA::Environment &ACE_TRY_ENV =
+ TAO_default_environment ()
+ );
+
+ static void create_exception_skel (
+ TAO_ServerRequest &req,
+ void *obj,
+ void *context,
+ CORBA::Environment &ACE_TRY_ENV =
+ TAO_default_environment ()
+ );
+
+ static void create_native_skel (
+ TAO_ServerRequest &req,
+ void *obj,
+ void *context,
+ CORBA::Environment &ACE_TRY_ENV =
+ TAO_default_environment ()
+ );
+
+ static void create_abstract_interface_skel (
+ TAO_ServerRequest &req,
+ void *obj,
+ void *context,
+ CORBA::Environment &ACE_TRY_ENV =
+ TAO_default_environment ()
+ );
+
+ static void create_local_interface_skel (
+ TAO_ServerRequest &req,
+ void *obj,
+ void *context,
+ CORBA::Environment &ACE_TRY_ENV =
+ TAO_default_environment ()
+ );
+
+ static void _get_id_skel (
+ TAO_ServerRequest &req,
+ void *obj,
+ void *context,
+ CORBA::Environment &ACE_TRY_ENV =
+ TAO_default_environment ()
+ );
+
+ static void _set_id_skel (
+ TAO_ServerRequest &req,
+ void *obj,
+ void *context,
+ CORBA::Environment &ACE_TRY_ENV =
+ TAO_default_environment ()
+ );
+
+ static void _get_name_skel (
+ TAO_ServerRequest &req,
+ void *obj,
+ void *context,
+ CORBA::Environment &ACE_TRY_ENV =
+ TAO_default_environment ()
+ );
+
+ static void _set_name_skel (
+ TAO_ServerRequest &req,
+ void *obj,
+ void *context,
+ CORBA::Environment &ACE_TRY_ENV =
+ TAO_default_environment ()
+ );
+
+ static void _get_version_skel (
+ TAO_ServerRequest &req,
+ void *obj,
+ void *context,
+ CORBA::Environment &ACE_TRY_ENV =
+ TAO_default_environment ()
+ );
+
+ static void _set_version_skel (
+ TAO_ServerRequest &req,
+ void *obj,
+ void *context,
+ CORBA::Environment &ACE_TRY_ENV =
+ TAO_default_environment ()
+ );
+
+ static void _get_defined_in_skel (
+ TAO_ServerRequest &req,
+ void *obj,
+ void *context,
+ CORBA::Environment &ACE_TRY_ENV =
+ TAO_default_environment ()
+ );
+
+ static void _get_absolute_name_skel (
+ TAO_ServerRequest &req,
+ void *obj,
+ void *context,
+ CORBA::Environment &ACE_TRY_ENV =
+ TAO_default_environment ()
+ );
+
+ static void _get_containing_repository_skel (
+ TAO_ServerRequest &req,
+ void *obj,
+ void *context,
+ CORBA::Environment &ACE_TRY_ENV =
+ TAO_default_environment ()
+ );
+
+ static void describe_skel (
+ TAO_ServerRequest &req,
+ void *obj,
+ void *context,
+ CORBA::Environment &ACE_TRY_ENV =
+ TAO_default_environment ()
+ );
+
+ static void move_skel (
+ TAO_ServerRequest &req,
+ void *obj,
+ void *context,
+ CORBA::Environment &ACE_TRY_ENV =
+ TAO_default_environment ()
+ );
+
+ static void _get_type_skel (
+ TAO_ServerRequest &req,
+ void *obj,
+ void *context,
+ CORBA::Environment &ACE_TRY_ENV =
+ TAO_default_environment ()
+ );
+
+ static void _get_def_kind_skel (
+ TAO_ServerRequest &req,
+ void *obj,
+ void *context,
+ CORBA::Environment &ACE_TRY_ENV =
+ TAO_default_environment ()
+ );
+
+ static void destroy_skel (
+ TAO_ServerRequest &req,
+ void *obj,
+ void *context,
+ CORBA::Environment &ACE_TRY_ENV =
+ TAO_default_environment ()
+ );
+
+
+#if (TAO_HAS_INTERCEPTORS == 1)
+ // Generation of interceptors related RequestInfo classes per operation.
+ // This needed to be able to store the arguments, exceptions, contexts
+ // and build the lists dynamically on demand so that unnecessary time overhead
+ // of building these lists when they arent used is avoided.
+ class TAO_ServerRequestInfo_CORBA_InterfaceDef_base_interfaces_get : public TAO_ServerRequestInfo
+ {
+ public:
+ friend class POA_CORBA::InterfaceDef;
+ TAO_ServerRequestInfo_CORBA_InterfaceDef_base_interfaces_get (
+ TAO_ServerRequest &_tao_server_request,
+ POA_CORBA::InterfaceDef *tao_impl,
+ CORBA::Environment &ACE_TRY_ENV =
+ TAO_default_environment ()
+ );
+
+ virtual Dynamic::ParameterList * arguments (
+ CORBA::Environment &ACE_TRY_ENV =
+ TAO_default_environment ()
+ )
+ ACE_THROW_SPEC ((CORBA::SystemException));
+
+ virtual Dynamic::ExceptionList * exceptions (
+ CORBA::Environment &ACE_TRY_ENV =
+ TAO_default_environment ()
+ )
+ ACE_THROW_SPEC ((CORBA::SystemException));
+
+ virtual CORBA::Any * result (
+ CORBA::Environment &ACE_TRY_ENV =
+ TAO_default_environment ()
+ )
+ ACE_THROW_SPEC ((CORBA::SystemException));
+
+ virtual char * target_most_derived_interface (
+ CORBA::Environment &ACE_TRY_ENV = TAO_default_environment ())
+ ACE_THROW_SPEC ((CORBA::SystemException));
+
+ virtual CORBA::Boolean target_is_a (
+ const char * id,
+ CORBA::Environment &ACE_TRY_ENV = TAO_default_environment ())
+ ACE_THROW_SPEC ((CORBA::SystemException));
+
+ private:
+ TAO_ServerRequestInfo_CORBA_InterfaceDef_base_interfaces_get (const TAO_ServerRequestInfo_CORBA_InterfaceDef_base_interfaces_get &);
+ void operator= (const TAO_ServerRequestInfo_CORBA_InterfaceDef_base_interfaces_get &);
+
+ private:
+ POA_CORBA::InterfaceDef *_tao_impl;
+ void result (CORBA::InterfaceDefSeq * result);
+ // update the result
+ CORBA::InterfaceDefSeq * _result;
+ };
+
+ class TAO_ServerRequestInfo_CORBA_InterfaceDef_base_interfaces_set : public TAO_ServerRequestInfo
+ {
+ public:
+ friend class POA_CORBA::InterfaceDef;
+ TAO_ServerRequestInfo_CORBA_InterfaceDef_base_interfaces_set (
+ TAO_ServerRequest &_tao_server_request,
+ POA_CORBA::InterfaceDef *tao_impl,
+ const CORBA::InterfaceDefSeq & base_interfaces,
+ CORBA::Environment &ACE_TRY_ENV =
+ TAO_default_environment ()
+ );
+
+ virtual Dynamic::ParameterList * arguments (
+ CORBA::Environment &ACE_TRY_ENV =
+ TAO_default_environment ()
+ )
+ ACE_THROW_SPEC ((CORBA::SystemException));
+
+ virtual Dynamic::ExceptionList * exceptions (
+ CORBA::Environment &ACE_TRY_ENV =
+ TAO_default_environment ()
+ )
+ ACE_THROW_SPEC ((CORBA::SystemException));
+
+ virtual CORBA::Any * result (
+ CORBA::Environment &ACE_TRY_ENV =
+ TAO_default_environment ()
+ )
+ ACE_THROW_SPEC ((CORBA::SystemException));
+
+ virtual char * target_most_derived_interface (
+ CORBA::Environment &ACE_TRY_ENV = TAO_default_environment ())
+ ACE_THROW_SPEC ((CORBA::SystemException));
+
+ virtual CORBA::Boolean target_is_a (
+ const char * id,
+ CORBA::Environment &ACE_TRY_ENV = TAO_default_environment ())
+ ACE_THROW_SPEC ((CORBA::SystemException));
+
+ private:
+ TAO_ServerRequestInfo_CORBA_InterfaceDef_base_interfaces_set (const TAO_ServerRequestInfo_CORBA_InterfaceDef_base_interfaces_set &);
+ void operator= (const TAO_ServerRequestInfo_CORBA_InterfaceDef_base_interfaces_set &);
+
+ private:
+ POA_CORBA::InterfaceDef *_tao_impl;
+ const CORBA::InterfaceDefSeq & base_interfaces_;
+
+ };
+
+ class TAO_ServerRequestInfo_CORBA_InterfaceDef_is_a : public TAO_ServerRequestInfo
+ {
+ public:
+ friend class POA_CORBA::InterfaceDef;
+ TAO_ServerRequestInfo_CORBA_InterfaceDef_is_a (
+ TAO_ServerRequest &_tao_server_request,
+ POA_CORBA::InterfaceDef *tao_impl,
+ const char * interface_id,
+ CORBA::Environment &ACE_TRY_ENV =
+ TAO_default_environment ()
+ );
+
+ virtual Dynamic::ParameterList * arguments (
+ CORBA::Environment &ACE_TRY_ENV =
+ TAO_default_environment ()
+ )
+ ACE_THROW_SPEC ((CORBA::SystemException));
+
+ virtual Dynamic::ExceptionList * exceptions (
+ CORBA::Environment &ACE_TRY_ENV =
+ TAO_default_environment ()
+ )
+ ACE_THROW_SPEC ((CORBA::SystemException));
+
+ virtual CORBA::Any * result (
+ CORBA::Environment &ACE_TRY_ENV =
+ TAO_default_environment ()
+ )
+ ACE_THROW_SPEC ((CORBA::SystemException));
+
+ virtual char * target_most_derived_interface (
+ CORBA::Environment &ACE_TRY_ENV = TAO_default_environment ())
+ ACE_THROW_SPEC ((CORBA::SystemException));
+
+ virtual CORBA::Boolean target_is_a (
+ const char * id,
+ CORBA::Environment &ACE_TRY_ENV = TAO_default_environment ())
+ ACE_THROW_SPEC ((CORBA::SystemException));
+
+ private:
+ TAO_ServerRequestInfo_CORBA_InterfaceDef_is_a (const TAO_ServerRequestInfo_CORBA_InterfaceDef_is_a &);
+ void operator= (const TAO_ServerRequestInfo_CORBA_InterfaceDef_is_a &);
+
+ private:
+ POA_CORBA::InterfaceDef *_tao_impl;
+ const char * interface_id_;
+ void result (CORBA::Boolean result);
+ // update the result
+ CORBA::Boolean _result;
+ };
+
+ class TAO_ServerRequestInfo_CORBA_InterfaceDef_describe_interface : public TAO_ServerRequestInfo
+ {
+ public:
+ friend class POA_CORBA::InterfaceDef;
+ TAO_ServerRequestInfo_CORBA_InterfaceDef_describe_interface (
+ TAO_ServerRequest &_tao_server_request,
+ POA_CORBA::InterfaceDef *tao_impl,
+ CORBA::Environment &ACE_TRY_ENV =
+ TAO_default_environment ()
+ );
+
+ virtual Dynamic::ParameterList * arguments (
+ CORBA::Environment &ACE_TRY_ENV =
+ TAO_default_environment ()
+ )
+ ACE_THROW_SPEC ((CORBA::SystemException));
+
+ virtual Dynamic::ExceptionList * exceptions (
+ CORBA::Environment &ACE_TRY_ENV =
+ TAO_default_environment ()
+ )
+ ACE_THROW_SPEC ((CORBA::SystemException));
+
+ virtual CORBA::Any * result (
+ CORBA::Environment &ACE_TRY_ENV =
+ TAO_default_environment ()
+ )
+ ACE_THROW_SPEC ((CORBA::SystemException));
+
+ virtual char * target_most_derived_interface (
+ CORBA::Environment &ACE_TRY_ENV = TAO_default_environment ())
+ ACE_THROW_SPEC ((CORBA::SystemException));
+
+ virtual CORBA::Boolean target_is_a (
+ const char * id,
+ CORBA::Environment &ACE_TRY_ENV = TAO_default_environment ())
+ ACE_THROW_SPEC ((CORBA::SystemException));
+
+ private:
+ TAO_ServerRequestInfo_CORBA_InterfaceDef_describe_interface (const TAO_ServerRequestInfo_CORBA_InterfaceDef_describe_interface &);
+ void operator= (const TAO_ServerRequestInfo_CORBA_InterfaceDef_describe_interface &);
+
+ private:
+ POA_CORBA::InterfaceDef *_tao_impl;
+ void result (CORBA::InterfaceDef::FullInterfaceDescription * result);
+ // update the result
+ CORBA::InterfaceDef::FullInterfaceDescription * _result;
+ };
+
+ class TAO_ServerRequestInfo_CORBA_InterfaceDef_create_attribute : public TAO_ServerRequestInfo
+ {
+ public:
+ friend class POA_CORBA::InterfaceDef;
+ TAO_ServerRequestInfo_CORBA_InterfaceDef_create_attribute (
+ TAO_ServerRequest &_tao_server_request,
+ POA_CORBA::InterfaceDef *tao_impl,
+ const char * id,
+ const char * name,
+ const char * version,
+ CORBA::IDLType_ptr type,
+ CORBA::AttributeMode & mode,
+ CORBA::Environment &ACE_TRY_ENV =
+ TAO_default_environment ()
+ );
+
+ virtual Dynamic::ParameterList * arguments (
+ CORBA::Environment &ACE_TRY_ENV =
+ TAO_default_environment ()
+ )
+ ACE_THROW_SPEC ((CORBA::SystemException));
+
+ virtual Dynamic::ExceptionList * exceptions (
+ CORBA::Environment &ACE_TRY_ENV =
+ TAO_default_environment ()
+ )
+ ACE_THROW_SPEC ((CORBA::SystemException));
+
+ virtual CORBA::Any * result (
+ CORBA::Environment &ACE_TRY_ENV =
+ TAO_default_environment ()
+ )
+ ACE_THROW_SPEC ((CORBA::SystemException));
+
+ virtual char * target_most_derived_interface (
+ CORBA::Environment &ACE_TRY_ENV = TAO_default_environment ())
+ ACE_THROW_SPEC ((CORBA::SystemException));
+
+ virtual CORBA::Boolean target_is_a (
+ const char * id,
+ CORBA::Environment &ACE_TRY_ENV = TAO_default_environment ())
+ ACE_THROW_SPEC ((CORBA::SystemException));
+
+ private:
+ TAO_ServerRequestInfo_CORBA_InterfaceDef_create_attribute (const TAO_ServerRequestInfo_CORBA_InterfaceDef_create_attribute &);
+ void operator= (const TAO_ServerRequestInfo_CORBA_InterfaceDef_create_attribute &);
+
+ private:
+ POA_CORBA::InterfaceDef *_tao_impl;
+ const char * id_;
+ const char * name_;
+ const char * version_;
+ CORBA::IDLType_ptr type_;
+ const CORBA::AttributeMode & mode_;
+ void result (CORBA::AttributeDef_ptr result);
+ // update the result
+ CORBA::AttributeDef_ptr _result;
+ };
+
+ class TAO_ServerRequestInfo_CORBA_InterfaceDef_create_operation : public TAO_ServerRequestInfo
+ {
+ public:
+ friend class POA_CORBA::InterfaceDef;
+ TAO_ServerRequestInfo_CORBA_InterfaceDef_create_operation (
+ TAO_ServerRequest &_tao_server_request,
+ POA_CORBA::InterfaceDef *tao_impl,
+ const char * id,
+ const char * name,
+ const char * version,
+ CORBA::IDLType_ptr result,
+ CORBA::OperationMode & mode,
+ const CORBA::ParDescriptionSeq & params,
+ const CORBA::ExceptionDefSeq & exceptions,
+ const CORBA::ContextIdSeq & contexts,
+ CORBA::Environment &ACE_TRY_ENV =
+ TAO_default_environment ()
+ );
+
+ virtual Dynamic::ParameterList * arguments (
+ CORBA::Environment &ACE_TRY_ENV =
+ TAO_default_environment ()
+ )
+ ACE_THROW_SPEC ((CORBA::SystemException));
+
+ virtual Dynamic::ExceptionList * exceptions (
+ CORBA::Environment &ACE_TRY_ENV =
+ TAO_default_environment ()
+ )
+ ACE_THROW_SPEC ((CORBA::SystemException));
+
+ virtual CORBA::Any * result (
+ CORBA::Environment &ACE_TRY_ENV =
+ TAO_default_environment ()
+ )
+ ACE_THROW_SPEC ((CORBA::SystemException));
+
+ virtual char * target_most_derived_interface (
+ CORBA::Environment &ACE_TRY_ENV = TAO_default_environment ())
+ ACE_THROW_SPEC ((CORBA::SystemException));
+
+ virtual CORBA::Boolean target_is_a (
+ const char * id,
+ CORBA::Environment &ACE_TRY_ENV = TAO_default_environment ())
+ ACE_THROW_SPEC ((CORBA::SystemException));
+
+ private:
+ TAO_ServerRequestInfo_CORBA_InterfaceDef_create_operation (const TAO_ServerRequestInfo_CORBA_InterfaceDef_create_operation &);
+ void operator= (const TAO_ServerRequestInfo_CORBA_InterfaceDef_create_operation &);
+
+ private:
+ POA_CORBA::InterfaceDef *_tao_impl;
+ const char * id_;
+ const char * name_;
+ const char * version_;
+ CORBA::IDLType_ptr result_;
+ const CORBA::OperationMode & mode_;
+ const CORBA::ParDescriptionSeq & params_;
+ const CORBA::ExceptionDefSeq & exceptions_;
+ const CORBA::ContextIdSeq & contexts_;
+ void result (CORBA::OperationDef_ptr result);
+ // update the result
+ CORBA::OperationDef_ptr _result;
+ };
+
+ #endif /* TAO_HAS_INTERCEPTORS */
+
+};
+
+
+///////////////////////////////////////////////////////////////////////
+// Strategized Proxy Broker Declaration
+//
+
+class _TAO_InterfaceDef_Strategized_Proxy_Broker : public virtual ::_TAO_InterfaceDef_Proxy_Broker
+{
+public:
+ _TAO_InterfaceDef_Strategized_Proxy_Broker (void);
+
+ virtual ~_TAO_InterfaceDef_Strategized_Proxy_Broker (void);
+
+ virtual ::_TAO_InterfaceDef_Proxy_Impl &select_proxy (
+ ::CORBA::InterfaceDef *object,
+ CORBA_Environment &ACE_TRY_ENV = TAO_default_environment ()
+ );
+
+private:
+
+// Helper methods that takes care to create the proxy
+// as soon as their use is necessary.
+ void create_proxy (
+ int strategy,
+ CORBA::Environment &ACE_TRY_ENV
+ );
+
+private:
+
+ // Caches the proxy implementations. The proxy implementation
+ // are totally stateless, and those can be shared by all the
+ // instances of a given IDL interface type.
+ ::_TAO_InterfaceDef_Proxy_Impl
+ *proxy_cache_[TAO_Collocation_Strategies::CS_LAST];
+
+ TAO_SYNCH_MUTEX mutex_;
+// This funxtion is used to get an handle to the unique instance
+// of the Strategized Proxy Broker that is available for a given
+// interface.
+
+public:
+ static _TAO_InterfaceDef_Strategized_Proxy_Broker *the_TAO_InterfaceDef_Strategized_Proxy_Broker (void);
+};
+
+
+//
+// End Strategized Proxy Broker Declaration
+///////////////////////////////////////////////////////////////////////
+
+
+///////////////////////////////////////////////////////////////////////
+// ThruPOA Impl. Declaration
+//
+
+class _TAO_InterfaceDef_ThruPOA_Proxy_Impl :
+ public virtual ::_TAO_InterfaceDef_Proxy_Impl,
+ public virtual TAO_ThruPOA_Object_Proxy_Impl,
+ public virtual ::POA_CORBA::_TAO_Container_ThruPOA_Proxy_Impl,
+ public virtual ::POA_CORBA::_TAO_Contained_ThruPOA_Proxy_Impl,
+ public virtual ::POA_CORBA::_TAO_IDLType_ThruPOA_Proxy_Impl
+
+{
+public:
+ _TAO_InterfaceDef_ThruPOA_Proxy_Impl (void);
+
+ virtual ~_TAO_InterfaceDef_ThruPOA_Proxy_Impl (void) { }
+
+ virtual CORBA::InterfaceDefSeq * base_interfaces (
+ CORBA_Object *_collocated_tao_target_,
+ CORBA::Environment &ACE_TRY_ENV
+ )
+ ACE_THROW_SPEC ((
+ CORBA::SystemException
+ ));
+
+ virtual void base_interfaces (
+ CORBA_Object *_collocated_tao_target_,
+ const CORBA::InterfaceDefSeq & base_interfaces,
+ CORBA::Environment &ACE_TRY_ENV
+ )
+ ACE_THROW_SPEC ((
+ CORBA::SystemException
+ ));
+
+ virtual CORBA::Boolean is_a (
+ CORBA_Object *_collocated_tao_target_,
+ const char * interface_id,
+ CORBA::Environment &ACE_TRY_ENV
+ )
+ ACE_THROW_SPEC ((
+ CORBA::SystemException
+ ));
+
+ virtual CORBA::InterfaceDef::FullInterfaceDescription * describe_interface (
+ CORBA_Object *_collocated_tao_target_,
+ CORBA::Environment &ACE_TRY_ENV
+ )
+ ACE_THROW_SPEC ((
+ CORBA::SystemException
+ ));
+
+ virtual CORBA::AttributeDef_ptr create_attribute (
+ CORBA_Object *_collocated_tao_target_,
+ const char * id,
+ const char * name,
+ const char * version,
+ CORBA::IDLType_ptr type,
+ CORBA::AttributeMode mode,
+ CORBA::Environment &ACE_TRY_ENV
+ )
+ ACE_THROW_SPEC ((
+ CORBA::SystemException
+ ));
+
+ virtual CORBA::OperationDef_ptr create_operation (
+ CORBA_Object *_collocated_tao_target_,
+ const char * id,
+ const char * name,
+ const char * version,
+ CORBA::IDLType_ptr result,
+ CORBA::OperationMode mode,
+ const CORBA::ParDescriptionSeq & params,
+ const CORBA::ExceptionDefSeq & exceptions,
+ const CORBA::ContextIdSeq & contexts,
+ CORBA::Environment &ACE_TRY_ENV
+ )
+ ACE_THROW_SPEC ((
+ CORBA::SystemException
+ ));
+
+};
+
+
+//
+// ThruPOA Proxy Impl. Declaration
+///////////////////////////////////////////////////////////////////////
+
+
+#if defined (ACE_HAS_USING_KEYWORD)
+// TIE class: Refer to CORBA v2.2, Section 20.34.4
+template <class T>
+class InterfaceDef_tie : public InterfaceDef
+{
+public:
+ InterfaceDef_tie (T &t);
+ // the T& ctor
+ InterfaceDef_tie (T &t, PortableServer::POA_ptr poa);
+ // ctor taking a POA
+ InterfaceDef_tie (T *tp, CORBA::Boolean release=1);
+ // ctor taking pointer and an ownership flag
+ InterfaceDef_tie (T *tp, PortableServer::POA_ptr poa, CORBA::Boolean release=1);
+ // ctor with T*, ownership flag and a POA
+ ~InterfaceDef_tie (void);
+ // dtor
+
+ // TIE specific functions
+ T *_tied_object (void);
+ // return the underlying object
+ void _tied_object (T &obj);
+ // set the underlying object
+ void _tied_object (T *obj, CORBA::Boolean release=1);
+ // set the underlying object and the ownership flag
+ CORBA::Boolean _is_owner (void);
+ // do we own it
+ void _is_owner (CORBA::Boolean b);
+ // set the ownership
+
+ // overridden ServantBase operations
+ PortableServer::POA_ptr _default_POA (
+ CORBA::Environment &ACE_TRY_ENV =
+ TAO_default_environment ()
+ );
+ CORBA::InterfaceDefSeq * base_interfaces (
+ CORBA::Environment &ACE_TRY_ENV =
+ TAO_default_environment ()
+ )
+ ACE_THROW_SPEC ((
+ CORBA::SystemException
+ ));
+
+ void base_interfaces (
+ const CORBA::InterfaceDefSeq & base_interfaces,
+ CORBA::Environment &ACE_TRY_ENV =
+ TAO_default_environment ()
+ )
+ ACE_THROW_SPEC ((
+ CORBA::SystemException
+ ));
+
+ CORBA::Boolean is_a (
+ const char * interface_id,
+ CORBA::Environment &ACE_TRY_ENV =
+ TAO_default_environment ()
+ )
+ ACE_THROW_SPEC ((
+ CORBA::SystemException
+ ));
+
+ CORBA::InterfaceDef::FullInterfaceDescription * describe_interface (
+ CORBA::Environment &ACE_TRY_ENV =
+ TAO_default_environment ()
+ )
+ ACE_THROW_SPEC ((
+ CORBA::SystemException
+ ));
+
+ CORBA::AttributeDef_ptr create_attribute (
+ const char * id,
+ const char * name,
+ const char * version,
+ CORBA::IDLType_ptr type,
+ CORBA::AttributeMode mode,
+ CORBA::Environment &ACE_TRY_ENV =
+ TAO_default_environment ()
+ )
+ ACE_THROW_SPEC ((
+ CORBA::SystemException
+ ));
+
+ CORBA::OperationDef_ptr create_operation (
+ const char * id,
+ const char * name,
+ const char * version,
+ CORBA::IDLType_ptr result,
+ CORBA::OperationMode mode,
+ const CORBA::ParDescriptionSeq & params,
+ const CORBA::ExceptionDefSeq & exceptions,
+ const CORBA::ContextIdSeq & contexts,
+ CORBA::Environment &ACE_TRY_ENV =
+ TAO_default_environment ()
+ )
+ ACE_THROW_SPEC ((
+ CORBA::SystemException
+ ));
+
+ CORBA::Contained_ptr lookup (
+ const char * search_name,
+ CORBA::Environment &ACE_TRY_ENV =
+ TAO_default_environment ()
+ )
+ ACE_THROW_SPEC ((
+ CORBA::SystemException
+ ));
+
+ CORBA::ContainedSeq * contents (
+ CORBA::DefinitionKind limit_type,
+ CORBA::Boolean exclude_inherited,
+ CORBA::Environment &ACE_TRY_ENV =
+ TAO_default_environment ()
+ )
+ ACE_THROW_SPEC ((
+ CORBA::SystemException
+ ));
+
+ CORBA::ContainedSeq * lookup_name (
+ const char * search_name,
+ CORBA::Long levels_to_search,
+ CORBA::DefinitionKind limit_type,
+ CORBA::Boolean exclude_inherited,
+ CORBA::Environment &ACE_TRY_ENV =
+ TAO_default_environment ()
+ )
+ ACE_THROW_SPEC ((
+ CORBA::SystemException
+ ));
+
+ CORBA::Container::DescriptionSeq * describe_contents (
+ CORBA::DefinitionKind limit_type,
+ CORBA::Boolean exclude_inherited,
+ CORBA::Long max_returned_objs,
+ CORBA::Environment &ACE_TRY_ENV =
+ TAO_default_environment ()
+ )
+ ACE_THROW_SPEC ((
+ CORBA::SystemException
+ ));
+
+ CORBA::ModuleDef_ptr create_module (
+ const char * id,
+ const char * name,
+ const char * version,
+ CORBA::Environment &ACE_TRY_ENV =
+ TAO_default_environment ()
+ )
+ ACE_THROW_SPEC ((
+ CORBA::SystemException
+ ));
+
+ CORBA::ConstantDef_ptr create_constant (
+ const char * id,
+ const char * name,
+ const char * version,
+ CORBA::IDLType_ptr type,
+ const CORBA::Any & value,
+ CORBA::Environment &ACE_TRY_ENV =
+ TAO_default_environment ()
+ )
+ ACE_THROW_SPEC ((
+ CORBA::SystemException
+ ));
+
+ CORBA::StructDef_ptr create_struct (
+ const char * id,
+ const char * name,
+ const char * version,
+ const CORBA::StructMemberSeq & members,
+ CORBA::Environment &ACE_TRY_ENV =
+ TAO_default_environment ()
+ )
+ ACE_THROW_SPEC ((
+ CORBA::SystemException
+ ));
+
+ CORBA::UnionDef_ptr create_union (
+ const char * id,
+ const char * name,
+ const char * version,
+ CORBA::IDLType_ptr discriminator_type,
+ const CORBA::UnionMemberSeq & members,
+ CORBA::Environment &ACE_TRY_ENV =
+ TAO_default_environment ()
+ )
+ ACE_THROW_SPEC ((
+ CORBA::SystemException
+ ));
+
+ CORBA::EnumDef_ptr create_enum (
+ const char * id,
+ const char * name,
+ const char * version,
+ const CORBA::EnumMemberSeq & members,
+ CORBA::Environment &ACE_TRY_ENV =
+ TAO_default_environment ()
+ )
+ ACE_THROW_SPEC ((
+ CORBA::SystemException
+ ));
+
+ CORBA::AliasDef_ptr create_alias (
+ const char * id,
+ const char * name,
+ const char * version,
+ CORBA::IDLType_ptr original_type,
+ CORBA::Environment &ACE_TRY_ENV =
+ TAO_default_environment ()
+ )
+ ACE_THROW_SPEC ((
+ CORBA::SystemException
+ ));
+
+ CORBA::InterfaceDef_ptr create_interface (
+ const char * id,
+ const char * name,
+ const char * version,
+ const CORBA::InterfaceDefSeq & base_interfaces,
+ CORBA::Environment &ACE_TRY_ENV =
+ TAO_default_environment ()
+ )
+ ACE_THROW_SPEC ((
+ CORBA::SystemException
+ ));
+
+ CORBA::ValueDef_ptr create_value (
+ const char * id,
+ const char * name,
+ const char * version,
+ CORBA::Boolean is_custom,
+ CORBA::Boolean is_abstract,
+ CORBA::ValueDef_ptr base_value,
+ CORBA::Boolean is_truncatable,
+ const CORBA::ValueDefSeq & abstract_base_values,
+ const CORBA::InterfaceDefSeq & supported_interfaces,
+ const CORBA::InitializerSeq & initializers,
+ CORBA::Environment &ACE_TRY_ENV =
+ TAO_default_environment ()
+ )
+ ACE_THROW_SPEC ((
+ CORBA::SystemException
+ ));
+
+ CORBA::ValueBoxDef_ptr create_value_box (
+ const char * id,
+ const char * name,
+ const char * version,
+ CORBA::IDLType_ptr original_type_def,
+ CORBA::Environment &ACE_TRY_ENV =
+ TAO_default_environment ()
+ )
+ ACE_THROW_SPEC ((
+ CORBA::SystemException
+ ));
+
+ CORBA::ExceptionDef_ptr create_exception (
+ const char * id,
+ const char * name,
+ const char * version,
+ const CORBA::StructMemberSeq & members,
+ CORBA::Environment &ACE_TRY_ENV =
+ TAO_default_environment ()
+ )
+ ACE_THROW_SPEC ((
+ CORBA::SystemException
+ ));
+
+ CORBA::NativeDef_ptr create_native (
+ const char * id,
+ const char * name,
+ const char * version,
+ CORBA::Environment &ACE_TRY_ENV =
+ TAO_default_environment ()
+ )
+ ACE_THROW_SPEC ((
+ CORBA::SystemException
+ ));
+
+ CORBA::AbstractInterfaceDef_ptr create_abstract_interface (
+ const char * id,
+ const char * name,
+ const char * version,
+ const CORBA::AbstractInterfaceDefSeq & base_interfaces,
+ CORBA::Environment &ACE_TRY_ENV =
+ TAO_default_environment ()
+ )
+ ACE_THROW_SPEC ((
+ CORBA::SystemException
+ ));
+
+ CORBA::LocalInterfaceDef_ptr create_local_interface (
+ const char * id,
+ const char * name,
+ const char * version,
+ const CORBA::InterfaceDefSeq & base_interfaces,
+ CORBA::Environment &ACE_TRY_ENV =
+ TAO_default_environment ()
+ )
+ ACE_THROW_SPEC ((
+ CORBA::SystemException
+ ));
+
+ char * id (
+ CORBA::Environment &ACE_TRY_ENV =
+ TAO_default_environment ()
+ )
+ ACE_THROW_SPEC ((
+ CORBA::SystemException
+ ));
+
+ void id (
+ const char * id,
+ CORBA::Environment &ACE_TRY_ENV =
+ TAO_default_environment ()
+ )
+ ACE_THROW_SPEC ((
+ CORBA::SystemException
+ ));
+
+ char * name (
+ CORBA::Environment &ACE_TRY_ENV =
+ TAO_default_environment ()
+ )
+ ACE_THROW_SPEC ((
+ CORBA::SystemException
+ ));
+
+ void name (
+ const char * name,
+ CORBA::Environment &ACE_TRY_ENV =
+ TAO_default_environment ()
+ )
+ ACE_THROW_SPEC ((
+ CORBA::SystemException
+ ));
+
+ char * version (
+ CORBA::Environment &ACE_TRY_ENV =
+ TAO_default_environment ()
+ )
+ ACE_THROW_SPEC ((
+ CORBA::SystemException
+ ));
+
+ void version (
+ const char * version,
+ CORBA::Environment &ACE_TRY_ENV =
+ TAO_default_environment ()
+ )
+ ACE_THROW_SPEC ((
+ CORBA::SystemException
+ ));
+
+ CORBA::Container_ptr defined_in (
+ CORBA::Environment &ACE_TRY_ENV =
+ TAO_default_environment ()
+ )
+ ACE_THROW_SPEC ((
+ CORBA::SystemException
+ ));
+
+ char * absolute_name (
+ CORBA::Environment &ACE_TRY_ENV =
+ TAO_default_environment ()
+ )
+ ACE_THROW_SPEC ((
+ CORBA::SystemException
+ ));
+
+ CORBA::Repository_ptr containing_repository (
+ CORBA::Environment &ACE_TRY_ENV =
+ TAO_default_environment ()
+ )
+ ACE_THROW_SPEC ((
+ CORBA::SystemException
+ ));
+
+ CORBA::Contained::Description * describe (
+ CORBA::Environment &ACE_TRY_ENV =
+ TAO_default_environment ()
+ )
+ ACE_THROW_SPEC ((
+ CORBA::SystemException
+ ));
+
+ void move (
+ CORBA::Container_ptr new_container,
+ const char * new_name,
+ const char * new_version,
+ CORBA::Environment &ACE_TRY_ENV =
+ TAO_default_environment ()
+ )
+ ACE_THROW_SPEC ((
+ CORBA::SystemException
+ ));
+
+ CORBA::TypeCode_ptr type (
+ CORBA::Environment &ACE_TRY_ENV =
+ TAO_default_environment ()
+ )
+ ACE_THROW_SPEC ((
+ CORBA::SystemException
+ ));
+
+ CORBA::DefinitionKind def_kind (
+ CORBA::Environment &ACE_TRY_ENV =
+ TAO_default_environment ()
+ )
+ ACE_THROW_SPEC ((
+ CORBA::SystemException
+ ));
+
+ void destroy (
+ CORBA::Environment &ACE_TRY_ENV =
+ TAO_default_environment ()
+ )
+ ACE_THROW_SPEC ((
+ CORBA::SystemException
+ ));
+
+private:
+ T *ptr_;
+ PortableServer::POA_var poa_;
+ CORBA::Boolean rel_;
+
+ // copy and assignment are not allowed
+ InterfaceDef_tie (const InterfaceDef_tie &);
+ void operator= (const InterfaceDef_tie &);
+};
+
+#endif /* ACE_HAS_USING_KEYWORD */
+
+class AbstractInterfaceDef;
+typedef AbstractInterfaceDef *AbstractInterfaceDef_ptr;
+// Forward Classes Declaration
+class _TAO_AbstractInterfaceDef_ThruPOA_Proxy_Impl;
+class _TAO_AbstractInterfaceDef_Strategized_Proxy_Broker;
+
+class AbstractInterfaceDef : public virtual InterfaceDef
+{
+protected:
+ AbstractInterfaceDef (void);
+
+public:
+ AbstractInterfaceDef (const AbstractInterfaceDef& rhs);
+ virtual ~AbstractInterfaceDef (void);
+
+
+ virtual CORBA::Boolean _is_a (
+ const char* logical_type_id,
+ CORBA::Environment &ACE_TRY_ENV =
+ TAO_default_environment ()
+ );
+
+ virtual void* _downcast (
+ const char* logical_type_id
+ );
+
+ static void _is_a_skel (
+ TAO_ServerRequest &req,
+ void *obj,
+ void *context,
+ CORBA::Environment &ACE_TRY_ENV =
+ TAO_default_environment ()
+ );
+
+ static void _non_existent_skel (
+ TAO_ServerRequest &req,
+ void *obj,
+ void *context,
+ CORBA::Environment &ACE_TRY_ENV =
+ TAO_default_environment ()
+ );
+
+ virtual void _dispatch (
+ TAO_ServerRequest &_tao_req,
+ void *_tao_context,
+ CORBA::Environment &ACE_TRY_ENV =
+ TAO_default_environment ()
+ );
+
+ ::CORBA::AbstractInterfaceDef *_this (
+ CORBA::Environment &ACE_TRY_ENV =
+ TAO_default_environment ()
+ );
+
+ virtual const char* _interface_repository_id (void) const;
+
+ static void _get_base_interfaces_skel (
+ TAO_ServerRequest &req,
+ void *obj,
+ void *context,
+ CORBA::Environment &ACE_TRY_ENV =
+ TAO_default_environment ()
+ );
+
+ static void _set_base_interfaces_skel (
+ TAO_ServerRequest &req,
+ void *obj,
+ void *context,
+ CORBA::Environment &ACE_TRY_ENV =
+ TAO_default_environment ()
+ );
+
+ static void is_a_skel (
+ TAO_ServerRequest &req,
+ void *obj,
+ void *context,
+ CORBA::Environment &ACE_TRY_ENV =
+ TAO_default_environment ()
+ );
+
+ static void describe_interface_skel (
+ TAO_ServerRequest &req,
+ void *obj,
+ void *context,
+ CORBA::Environment &ACE_TRY_ENV =
+ TAO_default_environment ()
+ );
+
+ static void create_attribute_skel (
+ TAO_ServerRequest &req,
+ void *obj,
+ void *context,
+ CORBA::Environment &ACE_TRY_ENV =
+ TAO_default_environment ()
+ );
+
+ static void create_operation_skel (
+ TAO_ServerRequest &req,
+ void *obj,
+ void *context,
+ CORBA::Environment &ACE_TRY_ENV =
+ TAO_default_environment ()
+ );
+
+ static void lookup_skel (
+ TAO_ServerRequest &req,
+ void *obj,
+ void *context,
+ CORBA::Environment &ACE_TRY_ENV =
+ TAO_default_environment ()
+ );
+
+ static void contents_skel (
+ TAO_ServerRequest &req,
+ void *obj,
+ void *context,
+ CORBA::Environment &ACE_TRY_ENV =
+ TAO_default_environment ()
+ );
+
+ static void lookup_name_skel (
+ TAO_ServerRequest &req,
+ void *obj,
+ void *context,
+ CORBA::Environment &ACE_TRY_ENV =
+ TAO_default_environment ()
+ );
+
+ static void describe_contents_skel (
+ TAO_ServerRequest &req,
+ void *obj,
+ void *context,
+ CORBA::Environment &ACE_TRY_ENV =
+ TAO_default_environment ()
+ );
+
+ static void create_module_skel (
+ TAO_ServerRequest &req,
+ void *obj,
+ void *context,
+ CORBA::Environment &ACE_TRY_ENV =
+ TAO_default_environment ()
+ );
+
+ static void create_constant_skel (
+ TAO_ServerRequest &req,
+ void *obj,
+ void *context,
+ CORBA::Environment &ACE_TRY_ENV =
+ TAO_default_environment ()
+ );
+
+ static void create_struct_skel (
+ TAO_ServerRequest &req,
+ void *obj,
+ void *context,
+ CORBA::Environment &ACE_TRY_ENV =
+ TAO_default_environment ()
+ );
+
+ static void create_union_skel (
+ TAO_ServerRequest &req,
+ void *obj,
+ void *context,
+ CORBA::Environment &ACE_TRY_ENV =
+ TAO_default_environment ()
+ );
+
+ static void create_enum_skel (
+ TAO_ServerRequest &req,
+ void *obj,
+ void *context,
+ CORBA::Environment &ACE_TRY_ENV =
+ TAO_default_environment ()
+ );
+
+ static void create_alias_skel (
+ TAO_ServerRequest &req,
+ void *obj,
+ void *context,
+ CORBA::Environment &ACE_TRY_ENV =
+ TAO_default_environment ()
+ );
+
+ static void create_interface_skel (
+ TAO_ServerRequest &req,
+ void *obj,
+ void *context,
+ CORBA::Environment &ACE_TRY_ENV =
+ TAO_default_environment ()
+ );
+
+ static void create_value_skel (
+ TAO_ServerRequest &req,
+ void *obj,
+ void *context,
+ CORBA::Environment &ACE_TRY_ENV =
+ TAO_default_environment ()
+ );
+
+ static void create_value_box_skel (
+ TAO_ServerRequest &req,
+ void *obj,
+ void *context,
+ CORBA::Environment &ACE_TRY_ENV =
+ TAO_default_environment ()
+ );
+
+ static void create_exception_skel (
+ TAO_ServerRequest &req,
+ void *obj,
+ void *context,
+ CORBA::Environment &ACE_TRY_ENV =
+ TAO_default_environment ()
+ );
+
+ static void create_native_skel (
+ TAO_ServerRequest &req,
+ void *obj,
+ void *context,
+ CORBA::Environment &ACE_TRY_ENV =
+ TAO_default_environment ()
+ );
+
+ static void create_abstract_interface_skel (
+ TAO_ServerRequest &req,
+ void *obj,
+ void *context,
+ CORBA::Environment &ACE_TRY_ENV =
+ TAO_default_environment ()
+ );
+
+ static void create_local_interface_skel (
+ TAO_ServerRequest &req,
+ void *obj,
+ void *context,
+ CORBA::Environment &ACE_TRY_ENV =
+ TAO_default_environment ()
+ );
+
+ static void _get_id_skel (
+ TAO_ServerRequest &req,
+ void *obj,
+ void *context,
+ CORBA::Environment &ACE_TRY_ENV =
+ TAO_default_environment ()
+ );
+
+ static void _set_id_skel (
+ TAO_ServerRequest &req,
+ void *obj,
+ void *context,
+ CORBA::Environment &ACE_TRY_ENV =
+ TAO_default_environment ()
+ );
+
+ static void _get_name_skel (
+ TAO_ServerRequest &req,
+ void *obj,
+ void *context,
+ CORBA::Environment &ACE_TRY_ENV =
+ TAO_default_environment ()
+ );
+
+ static void _set_name_skel (
+ TAO_ServerRequest &req,
+ void *obj,
+ void *context,
+ CORBA::Environment &ACE_TRY_ENV =
+ TAO_default_environment ()
+ );
+
+ static void _get_version_skel (
+ TAO_ServerRequest &req,
+ void *obj,
+ void *context,
+ CORBA::Environment &ACE_TRY_ENV =
+ TAO_default_environment ()
+ );
+
+ static void _set_version_skel (
+ TAO_ServerRequest &req,
+ void *obj,
+ void *context,
+ CORBA::Environment &ACE_TRY_ENV =
+ TAO_default_environment ()
+ );
+
+ static void _get_defined_in_skel (
+ TAO_ServerRequest &req,
+ void *obj,
+ void *context,
+ CORBA::Environment &ACE_TRY_ENV =
+ TAO_default_environment ()
+ );
+
+ static void _get_absolute_name_skel (
+ TAO_ServerRequest &req,
+ void *obj,
+ void *context,
+ CORBA::Environment &ACE_TRY_ENV =
+ TAO_default_environment ()
+ );
+
+ static void _get_containing_repository_skel (
+ TAO_ServerRequest &req,
+ void *obj,
+ void *context,
+ CORBA::Environment &ACE_TRY_ENV =
+ TAO_default_environment ()
+ );
+
+ static void describe_skel (
+ TAO_ServerRequest &req,
+ void *obj,
+ void *context,
+ CORBA::Environment &ACE_TRY_ENV =
+ TAO_default_environment ()
+ );
+
+ static void move_skel (
+ TAO_ServerRequest &req,
+ void *obj,
+ void *context,
+ CORBA::Environment &ACE_TRY_ENV =
+ TAO_default_environment ()
+ );
+
+ static void _get_type_skel (
+ TAO_ServerRequest &req,
+ void *obj,
+ void *context,
+ CORBA::Environment &ACE_TRY_ENV =
+ TAO_default_environment ()
+ );
+
+ static void _get_def_kind_skel (
+ TAO_ServerRequest &req,
+ void *obj,
+ void *context,
+ CORBA::Environment &ACE_TRY_ENV =
+ TAO_default_environment ()
+ );
+
+ static void destroy_skel (
+ TAO_ServerRequest &req,
+ void *obj,
+ void *context,
+ CORBA::Environment &ACE_TRY_ENV =
+ TAO_default_environment ()
+ );
+
+
+#if (TAO_HAS_INTERCEPTORS == 1)
+ // Generation of interceptors related RequestInfo classes per operation.
+ // This needed to be able to store the arguments, exceptions, contexts
+ // and build the lists dynamically on demand so that unnecessary time overhead
+ // of building these lists when they arent used is avoided.
+ #endif /* TAO_HAS_INTERCEPTORS */
+
+};
+
+
+///////////////////////////////////////////////////////////////////////
+// Strategized Proxy Broker Declaration
+//
+
+class _TAO_AbstractInterfaceDef_Strategized_Proxy_Broker : public virtual ::_TAO_AbstractInterfaceDef_Proxy_Broker
+{
+public:
+ _TAO_AbstractInterfaceDef_Strategized_Proxy_Broker (void);
+
+ virtual ~_TAO_AbstractInterfaceDef_Strategized_Proxy_Broker (void);
+
+ virtual ::_TAO_AbstractInterfaceDef_Proxy_Impl &select_proxy (
+ ::CORBA::AbstractInterfaceDef *object,
+ CORBA_Environment &ACE_TRY_ENV = TAO_default_environment ()
+ );
+
+private:
+
+// Helper methods that takes care to create the proxy
+// as soon as their use is necessary.
+ void create_proxy (
+ int strategy,
+ CORBA::Environment &ACE_TRY_ENV
+ );
+
+private:
+
+ // Caches the proxy implementations. The proxy implementation
+ // are totally stateless, and those can be shared by all the
+ // instances of a given IDL interface type.
+ ::_TAO_AbstractInterfaceDef_Proxy_Impl
+ *proxy_cache_[TAO_Collocation_Strategies::CS_LAST];
+
+ TAO_SYNCH_MUTEX mutex_;
+// This funxtion is used to get an handle to the unique instance
+// of the Strategized Proxy Broker that is available for a given
+// interface.
+
+public:
+ static _TAO_AbstractInterfaceDef_Strategized_Proxy_Broker *the_TAO_AbstractInterfaceDef_Strategized_Proxy_Broker (void);
+};
+
+
+//
+// End Strategized Proxy Broker Declaration
+///////////////////////////////////////////////////////////////////////
+
+
+///////////////////////////////////////////////////////////////////////
+// ThruPOA Impl. Declaration
+//
+
+class _TAO_AbstractInterfaceDef_ThruPOA_Proxy_Impl :
+ public virtual ::_TAO_AbstractInterfaceDef_Proxy_Impl,
+ public virtual TAO_ThruPOA_Object_Proxy_Impl,
+ public virtual ::POA_CORBA::_TAO_InterfaceDef_ThruPOA_Proxy_Impl
+
+{
+public:
+ _TAO_AbstractInterfaceDef_ThruPOA_Proxy_Impl (void);
+
+ virtual ~_TAO_AbstractInterfaceDef_ThruPOA_Proxy_Impl (void) { }
+
+ };
+
+
+//
+// ThruPOA Proxy Impl. Declaration
+///////////////////////////////////////////////////////////////////////
+
+
+#if defined (ACE_HAS_USING_KEYWORD)
+// TIE class: Refer to CORBA v2.2, Section 20.34.4
+template <class T>
+class AbstractInterfaceDef_tie : public AbstractInterfaceDef
+{
+public:
+ AbstractInterfaceDef_tie (T &t);
+ // the T& ctor
+ AbstractInterfaceDef_tie (T &t, PortableServer::POA_ptr poa);
+ // ctor taking a POA
+ AbstractInterfaceDef_tie (T *tp, CORBA::Boolean release=1);
+ // ctor taking pointer and an ownership flag
+ AbstractInterfaceDef_tie (T *tp, PortableServer::POA_ptr poa, CORBA::Boolean release=1);
+ // ctor with T*, ownership flag and a POA
+ ~AbstractInterfaceDef_tie (void);
+ // dtor
+
+ // TIE specific functions
+ T *_tied_object (void);
+ // return the underlying object
+ void _tied_object (T &obj);
+ // set the underlying object
+ void _tied_object (T *obj, CORBA::Boolean release=1);
+ // set the underlying object and the ownership flag
+ CORBA::Boolean _is_owner (void);
+ // do we own it
+ void _is_owner (CORBA::Boolean b);
+ // set the ownership
+
+ // overridden ServantBase operations
+ PortableServer::POA_ptr _default_POA (
+ CORBA::Environment &ACE_TRY_ENV =
+ TAO_default_environment ()
+ );
+ CORBA::InterfaceDefSeq * base_interfaces (
+ CORBA::Environment &ACE_TRY_ENV =
+ TAO_default_environment ()
+ )
+ ACE_THROW_SPEC ((
+ CORBA::SystemException
+ ));
+
+ void base_interfaces (
+ const CORBA::InterfaceDefSeq & base_interfaces,
+ CORBA::Environment &ACE_TRY_ENV =
+ TAO_default_environment ()
+ )
+ ACE_THROW_SPEC ((
+ CORBA::SystemException
+ ));
+
+ CORBA::Boolean is_a (
+ const char * interface_id,
+ CORBA::Environment &ACE_TRY_ENV =
+ TAO_default_environment ()
+ )
+ ACE_THROW_SPEC ((
+ CORBA::SystemException
+ ));
+
+ CORBA::InterfaceDef::FullInterfaceDescription * describe_interface (
+ CORBA::Environment &ACE_TRY_ENV =
+ TAO_default_environment ()
+ )
+ ACE_THROW_SPEC ((
+ CORBA::SystemException
+ ));
+
+ CORBA::AttributeDef_ptr create_attribute (
+ const char * id,
+ const char * name,
+ const char * version,
+ CORBA::IDLType_ptr type,
+ CORBA::AttributeMode mode,
+ CORBA::Environment &ACE_TRY_ENV =
+ TAO_default_environment ()
+ )
+ ACE_THROW_SPEC ((
+ CORBA::SystemException
+ ));
+
+ CORBA::OperationDef_ptr create_operation (
+ const char * id,
+ const char * name,
+ const char * version,
+ CORBA::IDLType_ptr result,
+ CORBA::OperationMode mode,
+ const CORBA::ParDescriptionSeq & params,
+ const CORBA::ExceptionDefSeq & exceptions,
+ const CORBA::ContextIdSeq & contexts,
+ CORBA::Environment &ACE_TRY_ENV =
+ TAO_default_environment ()
+ )
+ ACE_THROW_SPEC ((
+ CORBA::SystemException
+ ));
+
+ CORBA::Contained_ptr lookup (
+ const char * search_name,
+ CORBA::Environment &ACE_TRY_ENV =
+ TAO_default_environment ()
+ )
+ ACE_THROW_SPEC ((
+ CORBA::SystemException
+ ));
+
+ CORBA::ContainedSeq * contents (
+ CORBA::DefinitionKind limit_type,
+ CORBA::Boolean exclude_inherited,
+ CORBA::Environment &ACE_TRY_ENV =
+ TAO_default_environment ()
+ )
+ ACE_THROW_SPEC ((
+ CORBA::SystemException
+ ));
+
+ CORBA::ContainedSeq * lookup_name (
+ const char * search_name,
+ CORBA::Long levels_to_search,
+ CORBA::DefinitionKind limit_type,
+ CORBA::Boolean exclude_inherited,
+ CORBA::Environment &ACE_TRY_ENV =
+ TAO_default_environment ()
+ )
+ ACE_THROW_SPEC ((
+ CORBA::SystemException
+ ));
+
+ CORBA::Container::DescriptionSeq * describe_contents (
+ CORBA::DefinitionKind limit_type,
+ CORBA::Boolean exclude_inherited,
+ CORBA::Long max_returned_objs,
+ CORBA::Environment &ACE_TRY_ENV =
+ TAO_default_environment ()
+ )
+ ACE_THROW_SPEC ((
+ CORBA::SystemException
+ ));
+
+ CORBA::ModuleDef_ptr create_module (
+ const char * id,
+ const char * name,
+ const char * version,
+ CORBA::Environment &ACE_TRY_ENV =
+ TAO_default_environment ()
+ )
+ ACE_THROW_SPEC ((
+ CORBA::SystemException
+ ));
+
+ CORBA::ConstantDef_ptr create_constant (
+ const char * id,
+ const char * name,
+ const char * version,
+ CORBA::IDLType_ptr type,
+ const CORBA::Any & value,
+ CORBA::Environment &ACE_TRY_ENV =
+ TAO_default_environment ()
+ )
+ ACE_THROW_SPEC ((
+ CORBA::SystemException
+ ));
+
+ CORBA::StructDef_ptr create_struct (
+ const char * id,
+ const char * name,
+ const char * version,
+ const CORBA::StructMemberSeq & members,
+ CORBA::Environment &ACE_TRY_ENV =
+ TAO_default_environment ()
+ )
+ ACE_THROW_SPEC ((
+ CORBA::SystemException
+ ));
+
+ CORBA::UnionDef_ptr create_union (
+ const char * id,
+ const char * name,
+ const char * version,
+ CORBA::IDLType_ptr discriminator_type,
+ const CORBA::UnionMemberSeq & members,
+ CORBA::Environment &ACE_TRY_ENV =
+ TAO_default_environment ()
+ )
+ ACE_THROW_SPEC ((
+ CORBA::SystemException
+ ));
+
+ CORBA::EnumDef_ptr create_enum (
+ const char * id,
+ const char * name,
+ const char * version,
+ const CORBA::EnumMemberSeq & members,
+ CORBA::Environment &ACE_TRY_ENV =
+ TAO_default_environment ()
+ )
+ ACE_THROW_SPEC ((
+ CORBA::SystemException
+ ));
+
+ CORBA::AliasDef_ptr create_alias (
+ const char * id,
+ const char * name,
+ const char * version,
+ CORBA::IDLType_ptr original_type,
+ CORBA::Environment &ACE_TRY_ENV =
+ TAO_default_environment ()
+ )
+ ACE_THROW_SPEC ((
+ CORBA::SystemException
+ ));
+
+ CORBA::InterfaceDef_ptr create_interface (
+ const char * id,
+ const char * name,
+ const char * version,
+ const CORBA::InterfaceDefSeq & base_interfaces,
+ CORBA::Environment &ACE_TRY_ENV =
+ TAO_default_environment ()
+ )
+ ACE_THROW_SPEC ((
+ CORBA::SystemException
+ ));
+
+ CORBA::ValueDef_ptr create_value (
+ const char * id,
+ const char * name,
+ const char * version,
+ CORBA::Boolean is_custom,
+ CORBA::Boolean is_abstract,
+ CORBA::ValueDef_ptr base_value,
+ CORBA::Boolean is_truncatable,
+ const CORBA::ValueDefSeq & abstract_base_values,
+ const CORBA::InterfaceDefSeq & supported_interfaces,
+ const CORBA::InitializerSeq & initializers,
+ CORBA::Environment &ACE_TRY_ENV =
+ TAO_default_environment ()
+ )
+ ACE_THROW_SPEC ((
+ CORBA::SystemException
+ ));
+
+ CORBA::ValueBoxDef_ptr create_value_box (
+ const char * id,
+ const char * name,
+ const char * version,
+ CORBA::IDLType_ptr original_type_def,
+ CORBA::Environment &ACE_TRY_ENV =
+ TAO_default_environment ()
+ )
+ ACE_THROW_SPEC ((
+ CORBA::SystemException
+ ));
+
+ CORBA::ExceptionDef_ptr create_exception (
+ const char * id,
+ const char * name,
+ const char * version,
+ const CORBA::StructMemberSeq & members,
+ CORBA::Environment &ACE_TRY_ENV =
+ TAO_default_environment ()
+ )
+ ACE_THROW_SPEC ((
+ CORBA::SystemException
+ ));
+
+ CORBA::NativeDef_ptr create_native (
+ const char * id,
+ const char * name,
+ const char * version,
+ CORBA::Environment &ACE_TRY_ENV =
+ TAO_default_environment ()
+ )
+ ACE_THROW_SPEC ((
+ CORBA::SystemException
+ ));
+
+ CORBA::AbstractInterfaceDef_ptr create_abstract_interface (
+ const char * id,
+ const char * name,
+ const char * version,
+ const CORBA::AbstractInterfaceDefSeq & base_interfaces,
+ CORBA::Environment &ACE_TRY_ENV =
+ TAO_default_environment ()
+ )
+ ACE_THROW_SPEC ((
+ CORBA::SystemException
+ ));
+
+ CORBA::LocalInterfaceDef_ptr create_local_interface (
+ const char * id,
+ const char * name,
+ const char * version,
+ const CORBA::InterfaceDefSeq & base_interfaces,
+ CORBA::Environment &ACE_TRY_ENV =
+ TAO_default_environment ()
+ )
+ ACE_THROW_SPEC ((
+ CORBA::SystemException
+ ));
+
+ char * id (
+ CORBA::Environment &ACE_TRY_ENV =
+ TAO_default_environment ()
+ )
+ ACE_THROW_SPEC ((
+ CORBA::SystemException
+ ));
+
+ void id (
+ const char * id,
+ CORBA::Environment &ACE_TRY_ENV =
+ TAO_default_environment ()
+ )
+ ACE_THROW_SPEC ((
+ CORBA::SystemException
+ ));
+
+ char * name (
+ CORBA::Environment &ACE_TRY_ENV =
+ TAO_default_environment ()
+ )
+ ACE_THROW_SPEC ((
+ CORBA::SystemException
+ ));
+
+ void name (
+ const char * name,
+ CORBA::Environment &ACE_TRY_ENV =
+ TAO_default_environment ()
+ )
+ ACE_THROW_SPEC ((
+ CORBA::SystemException
+ ));
+
+ char * version (
+ CORBA::Environment &ACE_TRY_ENV =
+ TAO_default_environment ()
+ )
+ ACE_THROW_SPEC ((
+ CORBA::SystemException
+ ));
+
+ void version (
+ const char * version,
+ CORBA::Environment &ACE_TRY_ENV =
+ TAO_default_environment ()
+ )
+ ACE_THROW_SPEC ((
+ CORBA::SystemException
+ ));
+
+ CORBA::Container_ptr defined_in (
+ CORBA::Environment &ACE_TRY_ENV =
+ TAO_default_environment ()
+ )
+ ACE_THROW_SPEC ((
+ CORBA::SystemException
+ ));
+
+ char * absolute_name (
+ CORBA::Environment &ACE_TRY_ENV =
+ TAO_default_environment ()
+ )
+ ACE_THROW_SPEC ((
+ CORBA::SystemException
+ ));
+
+ CORBA::Repository_ptr containing_repository (
+ CORBA::Environment &ACE_TRY_ENV =
+ TAO_default_environment ()
+ )
+ ACE_THROW_SPEC ((
+ CORBA::SystemException
+ ));
+
+ CORBA::Contained::Description * describe (
+ CORBA::Environment &ACE_TRY_ENV =
+ TAO_default_environment ()
+ )
+ ACE_THROW_SPEC ((
+ CORBA::SystemException
+ ));
+
+ void move (
+ CORBA::Container_ptr new_container,
+ const char * new_name,
+ const char * new_version,
+ CORBA::Environment &ACE_TRY_ENV =
+ TAO_default_environment ()
+ )
+ ACE_THROW_SPEC ((
+ CORBA::SystemException
+ ));
+
+ CORBA::TypeCode_ptr type (
+ CORBA::Environment &ACE_TRY_ENV =
+ TAO_default_environment ()
+ )
+ ACE_THROW_SPEC ((
+ CORBA::SystemException
+ ));
+
+ CORBA::DefinitionKind def_kind (
+ CORBA::Environment &ACE_TRY_ENV =
+ TAO_default_environment ()
+ )
+ ACE_THROW_SPEC ((
+ CORBA::SystemException
+ ));
+
+ void destroy (
+ CORBA::Environment &ACE_TRY_ENV =
+ TAO_default_environment ()
+ )
+ ACE_THROW_SPEC ((
+ CORBA::SystemException
+ ));
+
+private:
+ T *ptr_;
+ PortableServer::POA_var poa_;
+ CORBA::Boolean rel_;
+
+ // copy and assignment are not allowed
+ AbstractInterfaceDef_tie (const AbstractInterfaceDef_tie &);
+ void operator= (const AbstractInterfaceDef_tie &);
+};
+
+#endif /* ACE_HAS_USING_KEYWORD */
+
+class LocalInterfaceDef;
+typedef LocalInterfaceDef *LocalInterfaceDef_ptr;
+// Forward Classes Declaration
+class _TAO_LocalInterfaceDef_ThruPOA_Proxy_Impl;
+class _TAO_LocalInterfaceDef_Strategized_Proxy_Broker;
+
+class LocalInterfaceDef : public virtual InterfaceDef
+{
+protected:
+ LocalInterfaceDef (void);
+
+public:
+ LocalInterfaceDef (const LocalInterfaceDef& rhs);
+ virtual ~LocalInterfaceDef (void);
+
+
+ virtual CORBA::Boolean _is_a (
+ const char* logical_type_id,
+ CORBA::Environment &ACE_TRY_ENV =
+ TAO_default_environment ()
+ );
+
+ virtual void* _downcast (
+ const char* logical_type_id
+ );
+
+ static void _is_a_skel (
+ TAO_ServerRequest &req,
+ void *obj,
+ void *context,
+ CORBA::Environment &ACE_TRY_ENV =
+ TAO_default_environment ()
+ );
+
+ static void _non_existent_skel (
+ TAO_ServerRequest &req,
+ void *obj,
+ void *context,
+ CORBA::Environment &ACE_TRY_ENV =
+ TAO_default_environment ()
+ );
+
+ virtual void _dispatch (
+ TAO_ServerRequest &_tao_req,
+ void *_tao_context,
+ CORBA::Environment &ACE_TRY_ENV =
+ TAO_default_environment ()
+ );
+
+ ::CORBA::LocalInterfaceDef *_this (
+ CORBA::Environment &ACE_TRY_ENV =
+ TAO_default_environment ()
+ );
+
+ virtual const char* _interface_repository_id (void) const;
+
+ static void _get_base_interfaces_skel (
+ TAO_ServerRequest &req,
+ void *obj,
+ void *context,
+ CORBA::Environment &ACE_TRY_ENV =
+ TAO_default_environment ()
+ );
+
+ static void _set_base_interfaces_skel (
+ TAO_ServerRequest &req,
+ void *obj,
+ void *context,
+ CORBA::Environment &ACE_TRY_ENV =
+ TAO_default_environment ()
+ );
+
+ static void is_a_skel (
+ TAO_ServerRequest &req,
+ void *obj,
+ void *context,
+ CORBA::Environment &ACE_TRY_ENV =
+ TAO_default_environment ()
+ );
+
+ static void describe_interface_skel (
+ TAO_ServerRequest &req,
+ void *obj,
+ void *context,
+ CORBA::Environment &ACE_TRY_ENV =
+ TAO_default_environment ()
+ );
+
+ static void create_attribute_skel (
+ TAO_ServerRequest &req,
+ void *obj,
+ void *context,
+ CORBA::Environment &ACE_TRY_ENV =
+ TAO_default_environment ()
+ );
+
+ static void create_operation_skel (
+ TAO_ServerRequest &req,
+ void *obj,
+ void *context,
+ CORBA::Environment &ACE_TRY_ENV =
+ TAO_default_environment ()
+ );
+
+ static void lookup_skel (
+ TAO_ServerRequest &req,
+ void *obj,
+ void *context,
+ CORBA::Environment &ACE_TRY_ENV =
+ TAO_default_environment ()
+ );
+
+ static void contents_skel (
+ TAO_ServerRequest &req,
+ void *obj,
+ void *context,
+ CORBA::Environment &ACE_TRY_ENV =
+ TAO_default_environment ()
+ );
+
+ static void lookup_name_skel (
+ TAO_ServerRequest &req,
+ void *obj,
+ void *context,
+ CORBA::Environment &ACE_TRY_ENV =
+ TAO_default_environment ()
+ );
+
+ static void describe_contents_skel (
+ TAO_ServerRequest &req,
+ void *obj,
+ void *context,
+ CORBA::Environment &ACE_TRY_ENV =
+ TAO_default_environment ()
+ );
+
+ static void create_module_skel (
+ TAO_ServerRequest &req,
+ void *obj,
+ void *context,
+ CORBA::Environment &ACE_TRY_ENV =
+ TAO_default_environment ()
+ );
+
+ static void create_constant_skel (
+ TAO_ServerRequest &req,
+ void *obj,
+ void *context,
+ CORBA::Environment &ACE_TRY_ENV =
+ TAO_default_environment ()
+ );
+
+ static void create_struct_skel (
+ TAO_ServerRequest &req,
+ void *obj,
+ void *context,
+ CORBA::Environment &ACE_TRY_ENV =
+ TAO_default_environment ()
+ );
+
+ static void create_union_skel (
+ TAO_ServerRequest &req,
+ void *obj,
+ void *context,
+ CORBA::Environment &ACE_TRY_ENV =
+ TAO_default_environment ()
+ );
+
+ static void create_enum_skel (
+ TAO_ServerRequest &req,
+ void *obj,
+ void *context,
+ CORBA::Environment &ACE_TRY_ENV =
+ TAO_default_environment ()
+ );
+
+ static void create_alias_skel (
+ TAO_ServerRequest &req,
+ void *obj,
+ void *context,
+ CORBA::Environment &ACE_TRY_ENV =
+ TAO_default_environment ()
+ );
+
+ static void create_interface_skel (
+ TAO_ServerRequest &req,
+ void *obj,
+ void *context,
+ CORBA::Environment &ACE_TRY_ENV =
+ TAO_default_environment ()
+ );
+
+ static void create_value_skel (
+ TAO_ServerRequest &req,
+ void *obj,
+ void *context,
+ CORBA::Environment &ACE_TRY_ENV =
+ TAO_default_environment ()
+ );
+
+ static void create_value_box_skel (
+ TAO_ServerRequest &req,
+ void *obj,
+ void *context,
+ CORBA::Environment &ACE_TRY_ENV =
+ TAO_default_environment ()
+ );
+
+ static void create_exception_skel (
+ TAO_ServerRequest &req,
+ void *obj,
+ void *context,
+ CORBA::Environment &ACE_TRY_ENV =
+ TAO_default_environment ()
+ );
+
+ static void create_native_skel (
+ TAO_ServerRequest &req,
+ void *obj,
+ void *context,
+ CORBA::Environment &ACE_TRY_ENV =
+ TAO_default_environment ()
+ );
+
+ static void create_abstract_interface_skel (
+ TAO_ServerRequest &req,
+ void *obj,
+ void *context,
+ CORBA::Environment &ACE_TRY_ENV =
+ TAO_default_environment ()
+ );
+
+ static void create_local_interface_skel (
+ TAO_ServerRequest &req,
+ void *obj,
+ void *context,
+ CORBA::Environment &ACE_TRY_ENV =
+ TAO_default_environment ()
+ );
+
+ static void _get_id_skel (
+ TAO_ServerRequest &req,
+ void *obj,
+ void *context,
+ CORBA::Environment &ACE_TRY_ENV =
+ TAO_default_environment ()
+ );
+
+ static void _set_id_skel (
+ TAO_ServerRequest &req,
+ void *obj,
+ void *context,
+ CORBA::Environment &ACE_TRY_ENV =
+ TAO_default_environment ()
+ );
+
+ static void _get_name_skel (
+ TAO_ServerRequest &req,
+ void *obj,
+ void *context,
+ CORBA::Environment &ACE_TRY_ENV =
+ TAO_default_environment ()
+ );
+
+ static void _set_name_skel (
+ TAO_ServerRequest &req,
+ void *obj,
+ void *context,
+ CORBA::Environment &ACE_TRY_ENV =
+ TAO_default_environment ()
+ );
+
+ static void _get_version_skel (
+ TAO_ServerRequest &req,
+ void *obj,
+ void *context,
+ CORBA::Environment &ACE_TRY_ENV =
+ TAO_default_environment ()
+ );
+
+ static void _set_version_skel (
+ TAO_ServerRequest &req,
+ void *obj,
+ void *context,
+ CORBA::Environment &ACE_TRY_ENV =
+ TAO_default_environment ()
+ );
+
+ static void _get_defined_in_skel (
+ TAO_ServerRequest &req,
+ void *obj,
+ void *context,
+ CORBA::Environment &ACE_TRY_ENV =
+ TAO_default_environment ()
+ );
+
+ static void _get_absolute_name_skel (
+ TAO_ServerRequest &req,
+ void *obj,
+ void *context,
+ CORBA::Environment &ACE_TRY_ENV =
+ TAO_default_environment ()
+ );
+
+ static void _get_containing_repository_skel (
+ TAO_ServerRequest &req,
+ void *obj,
+ void *context,
+ CORBA::Environment &ACE_TRY_ENV =
+ TAO_default_environment ()
+ );
+
+ static void describe_skel (
+ TAO_ServerRequest &req,
+ void *obj,
+ void *context,
+ CORBA::Environment &ACE_TRY_ENV =
+ TAO_default_environment ()
+ );
+
+ static void move_skel (
+ TAO_ServerRequest &req,
+ void *obj,
+ void *context,
+ CORBA::Environment &ACE_TRY_ENV =
+ TAO_default_environment ()
+ );
+
+ static void _get_type_skel (
+ TAO_ServerRequest &req,
+ void *obj,
+ void *context,
+ CORBA::Environment &ACE_TRY_ENV =
+ TAO_default_environment ()
+ );
+
+ static void _get_def_kind_skel (
+ TAO_ServerRequest &req,
+ void *obj,
+ void *context,
+ CORBA::Environment &ACE_TRY_ENV =
+ TAO_default_environment ()
+ );
+
+ static void destroy_skel (
+ TAO_ServerRequest &req,
+ void *obj,
+ void *context,
+ CORBA::Environment &ACE_TRY_ENV =
+ TAO_default_environment ()
+ );
+
+
+#if (TAO_HAS_INTERCEPTORS == 1)
+ // Generation of interceptors related RequestInfo classes per operation.
+ // This needed to be able to store the arguments, exceptions, contexts
+ // and build the lists dynamically on demand so that unnecessary time overhead
+ // of building these lists when they arent used is avoided.
+ #endif /* TAO_HAS_INTERCEPTORS */
+
+};
+
+
+///////////////////////////////////////////////////////////////////////
+// Strategized Proxy Broker Declaration
+//
+
+class _TAO_LocalInterfaceDef_Strategized_Proxy_Broker : public virtual ::_TAO_LocalInterfaceDef_Proxy_Broker
+{
+public:
+ _TAO_LocalInterfaceDef_Strategized_Proxy_Broker (void);
+
+ virtual ~_TAO_LocalInterfaceDef_Strategized_Proxy_Broker (void);
+
+ virtual ::_TAO_LocalInterfaceDef_Proxy_Impl &select_proxy (
+ ::CORBA::LocalInterfaceDef *object,
+ CORBA_Environment &ACE_TRY_ENV = TAO_default_environment ()
+ );
+
+private:
+
+// Helper methods that takes care to create the proxy
+// as soon as their use is necessary.
+ void create_proxy (
+ int strategy,
+ CORBA::Environment &ACE_TRY_ENV
+ );
+
+private:
+
+ // Caches the proxy implementations. The proxy implementation
+ // are totally stateless, and those can be shared by all the
+ // instances of a given IDL interface type.
+ ::_TAO_LocalInterfaceDef_Proxy_Impl
+ *proxy_cache_[TAO_Collocation_Strategies::CS_LAST];
+
+ TAO_SYNCH_MUTEX mutex_;
+// This funxtion is used to get an handle to the unique instance
+// of the Strategized Proxy Broker that is available for a given
+// interface.
+
+public:
+ static _TAO_LocalInterfaceDef_Strategized_Proxy_Broker *the_TAO_LocalInterfaceDef_Strategized_Proxy_Broker (void);
+};
+
+
+//
+// End Strategized Proxy Broker Declaration
+///////////////////////////////////////////////////////////////////////
+
+
+///////////////////////////////////////////////////////////////////////
+// ThruPOA Impl. Declaration
+//
+
+class _TAO_LocalInterfaceDef_ThruPOA_Proxy_Impl :
+ public virtual ::_TAO_LocalInterfaceDef_Proxy_Impl,
+ public virtual TAO_ThruPOA_Object_Proxy_Impl,
+ public virtual ::POA_CORBA::_TAO_InterfaceDef_ThruPOA_Proxy_Impl
+
+{
+public:
+ _TAO_LocalInterfaceDef_ThruPOA_Proxy_Impl (void);
+
+ virtual ~_TAO_LocalInterfaceDef_ThruPOA_Proxy_Impl (void) { }
+
+ };
+
+
+//
+// ThruPOA Proxy Impl. Declaration
+///////////////////////////////////////////////////////////////////////
+
+
+#if defined (ACE_HAS_USING_KEYWORD)
+// TIE class: Refer to CORBA v2.2, Section 20.34.4
+template <class T>
+class LocalInterfaceDef_tie : public LocalInterfaceDef
+{
+public:
+ LocalInterfaceDef_tie (T &t);
+ // the T& ctor
+ LocalInterfaceDef_tie (T &t, PortableServer::POA_ptr poa);
+ // ctor taking a POA
+ LocalInterfaceDef_tie (T *tp, CORBA::Boolean release=1);
+ // ctor taking pointer and an ownership flag
+ LocalInterfaceDef_tie (T *tp, PortableServer::POA_ptr poa, CORBA::Boolean release=1);
+ // ctor with T*, ownership flag and a POA
+ ~LocalInterfaceDef_tie (void);
+ // dtor
+
+ // TIE specific functions
+ T *_tied_object (void);
+ // return the underlying object
+ void _tied_object (T &obj);
+ // set the underlying object
+ void _tied_object (T *obj, CORBA::Boolean release=1);
+ // set the underlying object and the ownership flag
+ CORBA::Boolean _is_owner (void);
+ // do we own it
+ void _is_owner (CORBA::Boolean b);
+ // set the ownership
+
+ // overridden ServantBase operations
+ PortableServer::POA_ptr _default_POA (
+ CORBA::Environment &ACE_TRY_ENV =
+ TAO_default_environment ()
+ );
+ CORBA::InterfaceDefSeq * base_interfaces (
+ CORBA::Environment &ACE_TRY_ENV =
+ TAO_default_environment ()
+ )
+ ACE_THROW_SPEC ((
+ CORBA::SystemException
+ ));
+
+ void base_interfaces (
+ const CORBA::InterfaceDefSeq & base_interfaces,
+ CORBA::Environment &ACE_TRY_ENV =
+ TAO_default_environment ()
+ )
+ ACE_THROW_SPEC ((
+ CORBA::SystemException
+ ));
+
+ CORBA::Boolean is_a (
+ const char * interface_id,
+ CORBA::Environment &ACE_TRY_ENV =
+ TAO_default_environment ()
+ )
+ ACE_THROW_SPEC ((
+ CORBA::SystemException
+ ));
+
+ CORBA::InterfaceDef::FullInterfaceDescription * describe_interface (
+ CORBA::Environment &ACE_TRY_ENV =
+ TAO_default_environment ()
+ )
+ ACE_THROW_SPEC ((
+ CORBA::SystemException
+ ));
+
+ CORBA::AttributeDef_ptr create_attribute (
+ const char * id,
+ const char * name,
+ const char * version,
+ CORBA::IDLType_ptr type,
+ CORBA::AttributeMode mode,
+ CORBA::Environment &ACE_TRY_ENV =
+ TAO_default_environment ()
+ )
+ ACE_THROW_SPEC ((
+ CORBA::SystemException
+ ));
+
+ CORBA::OperationDef_ptr create_operation (
+ const char * id,
+ const char * name,
+ const char * version,
+ CORBA::IDLType_ptr result,
+ CORBA::OperationMode mode,
+ const CORBA::ParDescriptionSeq & params,
+ const CORBA::ExceptionDefSeq & exceptions,
+ const CORBA::ContextIdSeq & contexts,
+ CORBA::Environment &ACE_TRY_ENV =
+ TAO_default_environment ()
+ )
+ ACE_THROW_SPEC ((
+ CORBA::SystemException
+ ));
+
+ CORBA::Contained_ptr lookup (
+ const char * search_name,
+ CORBA::Environment &ACE_TRY_ENV =
+ TAO_default_environment ()
+ )
+ ACE_THROW_SPEC ((
+ CORBA::SystemException
+ ));
+
+ CORBA::ContainedSeq * contents (
+ CORBA::DefinitionKind limit_type,
+ CORBA::Boolean exclude_inherited,
+ CORBA::Environment &ACE_TRY_ENV =
+ TAO_default_environment ()
+ )
+ ACE_THROW_SPEC ((
+ CORBA::SystemException
+ ));
+
+ CORBA::ContainedSeq * lookup_name (
+ const char * search_name,
+ CORBA::Long levels_to_search,
+ CORBA::DefinitionKind limit_type,
+ CORBA::Boolean exclude_inherited,
+ CORBA::Environment &ACE_TRY_ENV =
+ TAO_default_environment ()
+ )
+ ACE_THROW_SPEC ((
+ CORBA::SystemException
+ ));
+
+ CORBA::Container::DescriptionSeq * describe_contents (
+ CORBA::DefinitionKind limit_type,
+ CORBA::Boolean exclude_inherited,
+ CORBA::Long max_returned_objs,
+ CORBA::Environment &ACE_TRY_ENV =
+ TAO_default_environment ()
+ )
+ ACE_THROW_SPEC ((
+ CORBA::SystemException
+ ));
+
+ CORBA::ModuleDef_ptr create_module (
+ const char * id,
+ const char * name,
+ const char * version,
+ CORBA::Environment &ACE_TRY_ENV =
+ TAO_default_environment ()
+ )
+ ACE_THROW_SPEC ((
+ CORBA::SystemException
+ ));
+
+ CORBA::ConstantDef_ptr create_constant (
+ const char * id,
+ const char * name,
+ const char * version,
+ CORBA::IDLType_ptr type,
+ const CORBA::Any & value,
+ CORBA::Environment &ACE_TRY_ENV =
+ TAO_default_environment ()
+ )
+ ACE_THROW_SPEC ((
+ CORBA::SystemException
+ ));
+
+ CORBA::StructDef_ptr create_struct (
+ const char * id,
+ const char * name,
+ const char * version,
+ const CORBA::StructMemberSeq & members,
+ CORBA::Environment &ACE_TRY_ENV =
+ TAO_default_environment ()
+ )
+ ACE_THROW_SPEC ((
+ CORBA::SystemException
+ ));
+
+ CORBA::UnionDef_ptr create_union (
+ const char * id,
+ const char * name,
+ const char * version,
+ CORBA::IDLType_ptr discriminator_type,
+ const CORBA::UnionMemberSeq & members,
+ CORBA::Environment &ACE_TRY_ENV =
+ TAO_default_environment ()
+ )
+ ACE_THROW_SPEC ((
+ CORBA::SystemException
+ ));
+
+ CORBA::EnumDef_ptr create_enum (
+ const char * id,
+ const char * name,
+ const char * version,
+ const CORBA::EnumMemberSeq & members,
+ CORBA::Environment &ACE_TRY_ENV =
+ TAO_default_environment ()
+ )
+ ACE_THROW_SPEC ((
+ CORBA::SystemException
+ ));
+
+ CORBA::AliasDef_ptr create_alias (
+ const char * id,
+ const char * name,
+ const char * version,
+ CORBA::IDLType_ptr original_type,
+ CORBA::Environment &ACE_TRY_ENV =
+ TAO_default_environment ()
+ )
+ ACE_THROW_SPEC ((
+ CORBA::SystemException
+ ));
+
+ CORBA::InterfaceDef_ptr create_interface (
+ const char * id,
+ const char * name,
+ const char * version,
+ const CORBA::InterfaceDefSeq & base_interfaces,
+ CORBA::Environment &ACE_TRY_ENV =
+ TAO_default_environment ()
+ )
+ ACE_THROW_SPEC ((
+ CORBA::SystemException
+ ));
+
+ CORBA::ValueDef_ptr create_value (
+ const char * id,
+ const char * name,
+ const char * version,
+ CORBA::Boolean is_custom,
+ CORBA::Boolean is_abstract,
+ CORBA::ValueDef_ptr base_value,
+ CORBA::Boolean is_truncatable,
+ const CORBA::ValueDefSeq & abstract_base_values,
+ const CORBA::InterfaceDefSeq & supported_interfaces,
+ const CORBA::InitializerSeq & initializers,
+ CORBA::Environment &ACE_TRY_ENV =
+ TAO_default_environment ()
+ )
+ ACE_THROW_SPEC ((
+ CORBA::SystemException
+ ));
+
+ CORBA::ValueBoxDef_ptr create_value_box (
+ const char * id,
+ const char * name,
+ const char * version,
+ CORBA::IDLType_ptr original_type_def,
+ CORBA::Environment &ACE_TRY_ENV =
+ TAO_default_environment ()
+ )
+ ACE_THROW_SPEC ((
+ CORBA::SystemException
+ ));
+
+ CORBA::ExceptionDef_ptr create_exception (
+ const char * id,
+ const char * name,
+ const char * version,
+ const CORBA::StructMemberSeq & members,
+ CORBA::Environment &ACE_TRY_ENV =
+ TAO_default_environment ()
+ )
+ ACE_THROW_SPEC ((
+ CORBA::SystemException
+ ));
+
+ CORBA::NativeDef_ptr create_native (
+ const char * id,
+ const char * name,
+ const char * version,
+ CORBA::Environment &ACE_TRY_ENV =
+ TAO_default_environment ()
+ )
+ ACE_THROW_SPEC ((
+ CORBA::SystemException
+ ));
+
+ CORBA::AbstractInterfaceDef_ptr create_abstract_interface (
+ const char * id,
+ const char * name,
+ const char * version,
+ const CORBA::AbstractInterfaceDefSeq & base_interfaces,
+ CORBA::Environment &ACE_TRY_ENV =
+ TAO_default_environment ()
+ )
+ ACE_THROW_SPEC ((
+ CORBA::SystemException
+ ));
+
+ CORBA::LocalInterfaceDef_ptr create_local_interface (
+ const char * id,
+ const char * name,
+ const char * version,
+ const CORBA::InterfaceDefSeq & base_interfaces,
+ CORBA::Environment &ACE_TRY_ENV =
+ TAO_default_environment ()
+ )
+ ACE_THROW_SPEC ((
+ CORBA::SystemException
+ ));
+
+ char * id (
+ CORBA::Environment &ACE_TRY_ENV =
+ TAO_default_environment ()
+ )
+ ACE_THROW_SPEC ((
+ CORBA::SystemException
+ ));
+
+ void id (
+ const char * id,
+ CORBA::Environment &ACE_TRY_ENV =
+ TAO_default_environment ()
+ )
+ ACE_THROW_SPEC ((
+ CORBA::SystemException
+ ));
+
+ char * name (
+ CORBA::Environment &ACE_TRY_ENV =
+ TAO_default_environment ()
+ )
+ ACE_THROW_SPEC ((
+ CORBA::SystemException
+ ));
+
+ void name (
+ const char * name,
+ CORBA::Environment &ACE_TRY_ENV =
+ TAO_default_environment ()
+ )
+ ACE_THROW_SPEC ((
+ CORBA::SystemException
+ ));
+
+ char * version (
+ CORBA::Environment &ACE_TRY_ENV =
+ TAO_default_environment ()
+ )
+ ACE_THROW_SPEC ((
+ CORBA::SystemException
+ ));
+
+ void version (
+ const char * version,
+ CORBA::Environment &ACE_TRY_ENV =
+ TAO_default_environment ()
+ )
+ ACE_THROW_SPEC ((
+ CORBA::SystemException
+ ));
+
+ CORBA::Container_ptr defined_in (
+ CORBA::Environment &ACE_TRY_ENV =
+ TAO_default_environment ()
+ )
+ ACE_THROW_SPEC ((
+ CORBA::SystemException
+ ));
+
+ char * absolute_name (
+ CORBA::Environment &ACE_TRY_ENV =
+ TAO_default_environment ()
+ )
+ ACE_THROW_SPEC ((
+ CORBA::SystemException
+ ));
+
+ CORBA::Repository_ptr containing_repository (
+ CORBA::Environment &ACE_TRY_ENV =
+ TAO_default_environment ()
+ )
+ ACE_THROW_SPEC ((
+ CORBA::SystemException
+ ));
+
+ CORBA::Contained::Description * describe (
+ CORBA::Environment &ACE_TRY_ENV =
+ TAO_default_environment ()
+ )
+ ACE_THROW_SPEC ((
+ CORBA::SystemException
+ ));
+
+ void move (
+ CORBA::Container_ptr new_container,
+ const char * new_name,
+ const char * new_version,
+ CORBA::Environment &ACE_TRY_ENV =
+ TAO_default_environment ()
+ )
+ ACE_THROW_SPEC ((
+ CORBA::SystemException
+ ));
+
+ CORBA::TypeCode_ptr type (
+ CORBA::Environment &ACE_TRY_ENV =
+ TAO_default_environment ()
+ )
+ ACE_THROW_SPEC ((
+ CORBA::SystemException
+ ));
+
+ CORBA::DefinitionKind def_kind (
+ CORBA::Environment &ACE_TRY_ENV =
+ TAO_default_environment ()
+ )
+ ACE_THROW_SPEC ((
+ CORBA::SystemException
+ ));
+
+ void destroy (
+ CORBA::Environment &ACE_TRY_ENV =
+ TAO_default_environment ()
+ )
+ ACE_THROW_SPEC ((
+ CORBA::SystemException
+ ));
+
+private:
+ T *ptr_;
+ PortableServer::POA_var poa_;
+ CORBA::Boolean rel_;
+
+ // copy and assignment are not allowed
+ LocalInterfaceDef_tie (const LocalInterfaceDef_tie &);
+ void operator= (const LocalInterfaceDef_tie &);
+};
+
+#endif /* ACE_HAS_USING_KEYWORD */
+
+}
+TAO_NAMESPACE_CLOSE
+
+#include "IFR_BasicS_T.h"
+
+#if defined (__ACE_INLINE__)
+#include "IFR_BasicS.i"
+#endif /* defined INLINE */
+
+#if defined(_MSC_VER) && (_MSC_VER >= 1200)
+#pragma warning(pop)
+#endif /* _MSC_VER */
+
+#if defined (__BORLANDC__)
+#pragma option pop
+#endif /* __BORLANDC__ */
+
+#include "ace/post.h"
+#endif /* ifndef */
diff --git a/TAO/orbsvcs/IFR_Service/IFR_BasicS.i b/TAO/orbsvcs/IFR_Service/IFR_BasicS.i
new file mode 100644
index 00000000000..667e2dd95ae
--- /dev/null
+++ b/TAO/orbsvcs/IFR_Service/IFR_BasicS.i
@@ -0,0 +1,5151 @@
+// -*- C++ -*-
+//
+// $Id$
+
+// **** Code generated by the The ACE ORB (TAO) IDL Compiler ****
+// TAO and the TAO IDL Compiler have been developed by:
+// Center for Distributed Object Computing
+// Washington University
+// St. Louis, MO
+// USA
+// http://www.cs.wustl.edu/~schmidt/doc-center.html
+// and
+// Distributed Object Computing Laboratory
+// University of California at Irvine
+// Irvine, CA
+// USA
+// http://doc.ece.uci.edu/
+//
+// Information about TAO is available at:
+// http://www.cs.wustl.edu/~schmidt/TAO.html
+
+ACE_INLINE void POA_CORBA::Repository::lookup_skel (
+ TAO_ServerRequest &req,
+ void *obj,
+ void *context,
+ CORBA::Environment &ACE_TRY_ENV
+ )
+{
+ POA_CORBA::Container_ptr impl = (POA_CORBA::Repository_ptr) obj;
+ POA_CORBA::Container::lookup_skel (
+ req,
+ (POA_CORBA::Container_ptr) impl,
+ context,
+ ACE_TRY_ENV
+ );
+}
+ACE_INLINE void POA_CORBA::Repository::contents_skel (
+ TAO_ServerRequest &req,
+ void *obj,
+ void *context,
+ CORBA::Environment &ACE_TRY_ENV
+ )
+{
+ POA_CORBA::Container_ptr impl = (POA_CORBA::Repository_ptr) obj;
+ POA_CORBA::Container::contents_skel (
+ req,
+ (POA_CORBA::Container_ptr) impl,
+ context,
+ ACE_TRY_ENV
+ );
+}
+ACE_INLINE void POA_CORBA::Repository::lookup_name_skel (
+ TAO_ServerRequest &req,
+ void *obj,
+ void *context,
+ CORBA::Environment &ACE_TRY_ENV
+ )
+{
+ POA_CORBA::Container_ptr impl = (POA_CORBA::Repository_ptr) obj;
+ POA_CORBA::Container::lookup_name_skel (
+ req,
+ (POA_CORBA::Container_ptr) impl,
+ context,
+ ACE_TRY_ENV
+ );
+}
+ACE_INLINE void POA_CORBA::Repository::describe_contents_skel (
+ TAO_ServerRequest &req,
+ void *obj,
+ void *context,
+ CORBA::Environment &ACE_TRY_ENV
+ )
+{
+ POA_CORBA::Container_ptr impl = (POA_CORBA::Repository_ptr) obj;
+ POA_CORBA::Container::describe_contents_skel (
+ req,
+ (POA_CORBA::Container_ptr) impl,
+ context,
+ ACE_TRY_ENV
+ );
+}
+ACE_INLINE void POA_CORBA::Repository::create_module_skel (
+ TAO_ServerRequest &req,
+ void *obj,
+ void *context,
+ CORBA::Environment &ACE_TRY_ENV
+ )
+{
+ POA_CORBA::Container_ptr impl = (POA_CORBA::Repository_ptr) obj;
+ POA_CORBA::Container::create_module_skel (
+ req,
+ (POA_CORBA::Container_ptr) impl,
+ context,
+ ACE_TRY_ENV
+ );
+}
+ACE_INLINE void POA_CORBA::Repository::create_constant_skel (
+ TAO_ServerRequest &req,
+ void *obj,
+ void *context,
+ CORBA::Environment &ACE_TRY_ENV
+ )
+{
+ POA_CORBA::Container_ptr impl = (POA_CORBA::Repository_ptr) obj;
+ POA_CORBA::Container::create_constant_skel (
+ req,
+ (POA_CORBA::Container_ptr) impl,
+ context,
+ ACE_TRY_ENV
+ );
+}
+ACE_INLINE void POA_CORBA::Repository::create_struct_skel (
+ TAO_ServerRequest &req,
+ void *obj,
+ void *context,
+ CORBA::Environment &ACE_TRY_ENV
+ )
+{
+ POA_CORBA::Container_ptr impl = (POA_CORBA::Repository_ptr) obj;
+ POA_CORBA::Container::create_struct_skel (
+ req,
+ (POA_CORBA::Container_ptr) impl,
+ context,
+ ACE_TRY_ENV
+ );
+}
+ACE_INLINE void POA_CORBA::Repository::create_union_skel (
+ TAO_ServerRequest &req,
+ void *obj,
+ void *context,
+ CORBA::Environment &ACE_TRY_ENV
+ )
+{
+ POA_CORBA::Container_ptr impl = (POA_CORBA::Repository_ptr) obj;
+ POA_CORBA::Container::create_union_skel (
+ req,
+ (POA_CORBA::Container_ptr) impl,
+ context,
+ ACE_TRY_ENV
+ );
+}
+ACE_INLINE void POA_CORBA::Repository::create_enum_skel (
+ TAO_ServerRequest &req,
+ void *obj,
+ void *context,
+ CORBA::Environment &ACE_TRY_ENV
+ )
+{
+ POA_CORBA::Container_ptr impl = (POA_CORBA::Repository_ptr) obj;
+ POA_CORBA::Container::create_enum_skel (
+ req,
+ (POA_CORBA::Container_ptr) impl,
+ context,
+ ACE_TRY_ENV
+ );
+}
+ACE_INLINE void POA_CORBA::Repository::create_alias_skel (
+ TAO_ServerRequest &req,
+ void *obj,
+ void *context,
+ CORBA::Environment &ACE_TRY_ENV
+ )
+{
+ POA_CORBA::Container_ptr impl = (POA_CORBA::Repository_ptr) obj;
+ POA_CORBA::Container::create_alias_skel (
+ req,
+ (POA_CORBA::Container_ptr) impl,
+ context,
+ ACE_TRY_ENV
+ );
+}
+ACE_INLINE void POA_CORBA::Repository::create_interface_skel (
+ TAO_ServerRequest &req,
+ void *obj,
+ void *context,
+ CORBA::Environment &ACE_TRY_ENV
+ )
+{
+ POA_CORBA::Container_ptr impl = (POA_CORBA::Repository_ptr) obj;
+ POA_CORBA::Container::create_interface_skel (
+ req,
+ (POA_CORBA::Container_ptr) impl,
+ context,
+ ACE_TRY_ENV
+ );
+}
+ACE_INLINE void POA_CORBA::Repository::create_value_skel (
+ TAO_ServerRequest &req,
+ void *obj,
+ void *context,
+ CORBA::Environment &ACE_TRY_ENV
+ )
+{
+ POA_CORBA::Container_ptr impl = (POA_CORBA::Repository_ptr) obj;
+ POA_CORBA::Container::create_value_skel (
+ req,
+ (POA_CORBA::Container_ptr) impl,
+ context,
+ ACE_TRY_ENV
+ );
+}
+ACE_INLINE void POA_CORBA::Repository::create_value_box_skel (
+ TAO_ServerRequest &req,
+ void *obj,
+ void *context,
+ CORBA::Environment &ACE_TRY_ENV
+ )
+{
+ POA_CORBA::Container_ptr impl = (POA_CORBA::Repository_ptr) obj;
+ POA_CORBA::Container::create_value_box_skel (
+ req,
+ (POA_CORBA::Container_ptr) impl,
+ context,
+ ACE_TRY_ENV
+ );
+}
+ACE_INLINE void POA_CORBA::Repository::create_exception_skel (
+ TAO_ServerRequest &req,
+ void *obj,
+ void *context,
+ CORBA::Environment &ACE_TRY_ENV
+ )
+{
+ POA_CORBA::Container_ptr impl = (POA_CORBA::Repository_ptr) obj;
+ POA_CORBA::Container::create_exception_skel (
+ req,
+ (POA_CORBA::Container_ptr) impl,
+ context,
+ ACE_TRY_ENV
+ );
+}
+ACE_INLINE void POA_CORBA::Repository::create_native_skel (
+ TAO_ServerRequest &req,
+ void *obj,
+ void *context,
+ CORBA::Environment &ACE_TRY_ENV
+ )
+{
+ POA_CORBA::Container_ptr impl = (POA_CORBA::Repository_ptr) obj;
+ POA_CORBA::Container::create_native_skel (
+ req,
+ (POA_CORBA::Container_ptr) impl,
+ context,
+ ACE_TRY_ENV
+ );
+}
+ACE_INLINE void POA_CORBA::Repository::create_abstract_interface_skel (
+ TAO_ServerRequest &req,
+ void *obj,
+ void *context,
+ CORBA::Environment &ACE_TRY_ENV
+ )
+{
+ POA_CORBA::Container_ptr impl = (POA_CORBA::Repository_ptr) obj;
+ POA_CORBA::Container::create_abstract_interface_skel (
+ req,
+ (POA_CORBA::Container_ptr) impl,
+ context,
+ ACE_TRY_ENV
+ );
+}
+ACE_INLINE void POA_CORBA::Repository::create_local_interface_skel (
+ TAO_ServerRequest &req,
+ void *obj,
+ void *context,
+ CORBA::Environment &ACE_TRY_ENV
+ )
+{
+ POA_CORBA::Container_ptr impl = (POA_CORBA::Repository_ptr) obj;
+ POA_CORBA::Container::create_local_interface_skel (
+ req,
+ (POA_CORBA::Container_ptr) impl,
+ context,
+ ACE_TRY_ENV
+ );
+}
+ACE_INLINE void POA_CORBA::Repository::_get_def_kind_skel (
+ TAO_ServerRequest &req,
+ void *obj,
+ void *context,
+ CORBA::Environment &ACE_TRY_ENV
+ )
+{
+ POA_CORBA::IRObject_ptr impl = (POA_CORBA::Repository_ptr) obj;
+ POA_CORBA::IRObject::_get_def_kind_skel (
+ req,
+ (POA_CORBA::IRObject_ptr) impl,
+ context,
+ ACE_TRY_ENV
+ );
+}
+ACE_INLINE void POA_CORBA::Repository::destroy_skel (
+ TAO_ServerRequest &req,
+ void *obj,
+ void *context,
+ CORBA::Environment &ACE_TRY_ENV
+ )
+{
+ POA_CORBA::IRObject_ptr impl = (POA_CORBA::Repository_ptr) obj;
+ POA_CORBA::IRObject::destroy_skel (
+ req,
+ (POA_CORBA::IRObject_ptr) impl,
+ context,
+ ACE_TRY_ENV
+ );
+}
+ACE_INLINE void POA_CORBA::ModuleDef::lookup_skel (
+ TAO_ServerRequest &req,
+ void *obj,
+ void *context,
+ CORBA::Environment &ACE_TRY_ENV
+ )
+{
+ POA_CORBA::Container_ptr impl = (POA_CORBA::ModuleDef_ptr) obj;
+ POA_CORBA::Container::lookup_skel (
+ req,
+ (POA_CORBA::Container_ptr) impl,
+ context,
+ ACE_TRY_ENV
+ );
+}
+ACE_INLINE void POA_CORBA::ModuleDef::contents_skel (
+ TAO_ServerRequest &req,
+ void *obj,
+ void *context,
+ CORBA::Environment &ACE_TRY_ENV
+ )
+{
+ POA_CORBA::Container_ptr impl = (POA_CORBA::ModuleDef_ptr) obj;
+ POA_CORBA::Container::contents_skel (
+ req,
+ (POA_CORBA::Container_ptr) impl,
+ context,
+ ACE_TRY_ENV
+ );
+}
+ACE_INLINE void POA_CORBA::ModuleDef::lookup_name_skel (
+ TAO_ServerRequest &req,
+ void *obj,
+ void *context,
+ CORBA::Environment &ACE_TRY_ENV
+ )
+{
+ POA_CORBA::Container_ptr impl = (POA_CORBA::ModuleDef_ptr) obj;
+ POA_CORBA::Container::lookup_name_skel (
+ req,
+ (POA_CORBA::Container_ptr) impl,
+ context,
+ ACE_TRY_ENV
+ );
+}
+ACE_INLINE void POA_CORBA::ModuleDef::describe_contents_skel (
+ TAO_ServerRequest &req,
+ void *obj,
+ void *context,
+ CORBA::Environment &ACE_TRY_ENV
+ )
+{
+ POA_CORBA::Container_ptr impl = (POA_CORBA::ModuleDef_ptr) obj;
+ POA_CORBA::Container::describe_contents_skel (
+ req,
+ (POA_CORBA::Container_ptr) impl,
+ context,
+ ACE_TRY_ENV
+ );
+}
+ACE_INLINE void POA_CORBA::ModuleDef::create_module_skel (
+ TAO_ServerRequest &req,
+ void *obj,
+ void *context,
+ CORBA::Environment &ACE_TRY_ENV
+ )
+{
+ POA_CORBA::Container_ptr impl = (POA_CORBA::ModuleDef_ptr) obj;
+ POA_CORBA::Container::create_module_skel (
+ req,
+ (POA_CORBA::Container_ptr) impl,
+ context,
+ ACE_TRY_ENV
+ );
+}
+ACE_INLINE void POA_CORBA::ModuleDef::create_constant_skel (
+ TAO_ServerRequest &req,
+ void *obj,
+ void *context,
+ CORBA::Environment &ACE_TRY_ENV
+ )
+{
+ POA_CORBA::Container_ptr impl = (POA_CORBA::ModuleDef_ptr) obj;
+ POA_CORBA::Container::create_constant_skel (
+ req,
+ (POA_CORBA::Container_ptr) impl,
+ context,
+ ACE_TRY_ENV
+ );
+}
+ACE_INLINE void POA_CORBA::ModuleDef::create_struct_skel (
+ TAO_ServerRequest &req,
+ void *obj,
+ void *context,
+ CORBA::Environment &ACE_TRY_ENV
+ )
+{
+ POA_CORBA::Container_ptr impl = (POA_CORBA::ModuleDef_ptr) obj;
+ POA_CORBA::Container::create_struct_skel (
+ req,
+ (POA_CORBA::Container_ptr) impl,
+ context,
+ ACE_TRY_ENV
+ );
+}
+ACE_INLINE void POA_CORBA::ModuleDef::create_union_skel (
+ TAO_ServerRequest &req,
+ void *obj,
+ void *context,
+ CORBA::Environment &ACE_TRY_ENV
+ )
+{
+ POA_CORBA::Container_ptr impl = (POA_CORBA::ModuleDef_ptr) obj;
+ POA_CORBA::Container::create_union_skel (
+ req,
+ (POA_CORBA::Container_ptr) impl,
+ context,
+ ACE_TRY_ENV
+ );
+}
+ACE_INLINE void POA_CORBA::ModuleDef::create_enum_skel (
+ TAO_ServerRequest &req,
+ void *obj,
+ void *context,
+ CORBA::Environment &ACE_TRY_ENV
+ )
+{
+ POA_CORBA::Container_ptr impl = (POA_CORBA::ModuleDef_ptr) obj;
+ POA_CORBA::Container::create_enum_skel (
+ req,
+ (POA_CORBA::Container_ptr) impl,
+ context,
+ ACE_TRY_ENV
+ );
+}
+ACE_INLINE void POA_CORBA::ModuleDef::create_alias_skel (
+ TAO_ServerRequest &req,
+ void *obj,
+ void *context,
+ CORBA::Environment &ACE_TRY_ENV
+ )
+{
+ POA_CORBA::Container_ptr impl = (POA_CORBA::ModuleDef_ptr) obj;
+ POA_CORBA::Container::create_alias_skel (
+ req,
+ (POA_CORBA::Container_ptr) impl,
+ context,
+ ACE_TRY_ENV
+ );
+}
+ACE_INLINE void POA_CORBA::ModuleDef::create_interface_skel (
+ TAO_ServerRequest &req,
+ void *obj,
+ void *context,
+ CORBA::Environment &ACE_TRY_ENV
+ )
+{
+ POA_CORBA::Container_ptr impl = (POA_CORBA::ModuleDef_ptr) obj;
+ POA_CORBA::Container::create_interface_skel (
+ req,
+ (POA_CORBA::Container_ptr) impl,
+ context,
+ ACE_TRY_ENV
+ );
+}
+ACE_INLINE void POA_CORBA::ModuleDef::create_value_skel (
+ TAO_ServerRequest &req,
+ void *obj,
+ void *context,
+ CORBA::Environment &ACE_TRY_ENV
+ )
+{
+ POA_CORBA::Container_ptr impl = (POA_CORBA::ModuleDef_ptr) obj;
+ POA_CORBA::Container::create_value_skel (
+ req,
+ (POA_CORBA::Container_ptr) impl,
+ context,
+ ACE_TRY_ENV
+ );
+}
+ACE_INLINE void POA_CORBA::ModuleDef::create_value_box_skel (
+ TAO_ServerRequest &req,
+ void *obj,
+ void *context,
+ CORBA::Environment &ACE_TRY_ENV
+ )
+{
+ POA_CORBA::Container_ptr impl = (POA_CORBA::ModuleDef_ptr) obj;
+ POA_CORBA::Container::create_value_box_skel (
+ req,
+ (POA_CORBA::Container_ptr) impl,
+ context,
+ ACE_TRY_ENV
+ );
+}
+ACE_INLINE void POA_CORBA::ModuleDef::create_exception_skel (
+ TAO_ServerRequest &req,
+ void *obj,
+ void *context,
+ CORBA::Environment &ACE_TRY_ENV
+ )
+{
+ POA_CORBA::Container_ptr impl = (POA_CORBA::ModuleDef_ptr) obj;
+ POA_CORBA::Container::create_exception_skel (
+ req,
+ (POA_CORBA::Container_ptr) impl,
+ context,
+ ACE_TRY_ENV
+ );
+}
+ACE_INLINE void POA_CORBA::ModuleDef::create_native_skel (
+ TAO_ServerRequest &req,
+ void *obj,
+ void *context,
+ CORBA::Environment &ACE_TRY_ENV
+ )
+{
+ POA_CORBA::Container_ptr impl = (POA_CORBA::ModuleDef_ptr) obj;
+ POA_CORBA::Container::create_native_skel (
+ req,
+ (POA_CORBA::Container_ptr) impl,
+ context,
+ ACE_TRY_ENV
+ );
+}
+ACE_INLINE void POA_CORBA::ModuleDef::create_abstract_interface_skel (
+ TAO_ServerRequest &req,
+ void *obj,
+ void *context,
+ CORBA::Environment &ACE_TRY_ENV
+ )
+{
+ POA_CORBA::Container_ptr impl = (POA_CORBA::ModuleDef_ptr) obj;
+ POA_CORBA::Container::create_abstract_interface_skel (
+ req,
+ (POA_CORBA::Container_ptr) impl,
+ context,
+ ACE_TRY_ENV
+ );
+}
+ACE_INLINE void POA_CORBA::ModuleDef::create_local_interface_skel (
+ TAO_ServerRequest &req,
+ void *obj,
+ void *context,
+ CORBA::Environment &ACE_TRY_ENV
+ )
+{
+ POA_CORBA::Container_ptr impl = (POA_CORBA::ModuleDef_ptr) obj;
+ POA_CORBA::Container::create_local_interface_skel (
+ req,
+ (POA_CORBA::Container_ptr) impl,
+ context,
+ ACE_TRY_ENV
+ );
+}
+ACE_INLINE void POA_CORBA::ModuleDef::_get_id_skel (
+ TAO_ServerRequest &req,
+ void *obj,
+ void *context,
+ CORBA::Environment &ACE_TRY_ENV
+ )
+{
+ POA_CORBA::Contained_ptr impl = (POA_CORBA::ModuleDef_ptr) obj;
+ POA_CORBA::Contained::_get_id_skel (
+ req,
+ (POA_CORBA::Contained_ptr) impl,
+ context,
+ ACE_TRY_ENV
+ );
+}
+ACE_INLINE void POA_CORBA::ModuleDef::_set_id_skel (
+ TAO_ServerRequest &req,
+ void *obj,
+ void *context,
+ CORBA::Environment &ACE_TRY_ENV
+ )
+{
+ POA_CORBA::Contained_ptr impl = (POA_CORBA::ModuleDef_ptr) obj;
+ POA_CORBA::Contained::_set_id_skel (
+ req,
+ (POA_CORBA::Contained_ptr) impl,
+ context,
+ ACE_TRY_ENV
+ );
+}
+ACE_INLINE void POA_CORBA::ModuleDef::_get_name_skel (
+ TAO_ServerRequest &req,
+ void *obj,
+ void *context,
+ CORBA::Environment &ACE_TRY_ENV
+ )
+{
+ POA_CORBA::Contained_ptr impl = (POA_CORBA::ModuleDef_ptr) obj;
+ POA_CORBA::Contained::_get_name_skel (
+ req,
+ (POA_CORBA::Contained_ptr) impl,
+ context,
+ ACE_TRY_ENV
+ );
+}
+ACE_INLINE void POA_CORBA::ModuleDef::_set_name_skel (
+ TAO_ServerRequest &req,
+ void *obj,
+ void *context,
+ CORBA::Environment &ACE_TRY_ENV
+ )
+{
+ POA_CORBA::Contained_ptr impl = (POA_CORBA::ModuleDef_ptr) obj;
+ POA_CORBA::Contained::_set_name_skel (
+ req,
+ (POA_CORBA::Contained_ptr) impl,
+ context,
+ ACE_TRY_ENV
+ );
+}
+ACE_INLINE void POA_CORBA::ModuleDef::_get_version_skel (
+ TAO_ServerRequest &req,
+ void *obj,
+ void *context,
+ CORBA::Environment &ACE_TRY_ENV
+ )
+{
+ POA_CORBA::Contained_ptr impl = (POA_CORBA::ModuleDef_ptr) obj;
+ POA_CORBA::Contained::_get_version_skel (
+ req,
+ (POA_CORBA::Contained_ptr) impl,
+ context,
+ ACE_TRY_ENV
+ );
+}
+ACE_INLINE void POA_CORBA::ModuleDef::_set_version_skel (
+ TAO_ServerRequest &req,
+ void *obj,
+ void *context,
+ CORBA::Environment &ACE_TRY_ENV
+ )
+{
+ POA_CORBA::Contained_ptr impl = (POA_CORBA::ModuleDef_ptr) obj;
+ POA_CORBA::Contained::_set_version_skel (
+ req,
+ (POA_CORBA::Contained_ptr) impl,
+ context,
+ ACE_TRY_ENV
+ );
+}
+ACE_INLINE void POA_CORBA::ModuleDef::_get_defined_in_skel (
+ TAO_ServerRequest &req,
+ void *obj,
+ void *context,
+ CORBA::Environment &ACE_TRY_ENV
+ )
+{
+ POA_CORBA::Contained_ptr impl = (POA_CORBA::ModuleDef_ptr) obj;
+ POA_CORBA::Contained::_get_defined_in_skel (
+ req,
+ (POA_CORBA::Contained_ptr) impl,
+ context,
+ ACE_TRY_ENV
+ );
+}
+ACE_INLINE void POA_CORBA::ModuleDef::_get_absolute_name_skel (
+ TAO_ServerRequest &req,
+ void *obj,
+ void *context,
+ CORBA::Environment &ACE_TRY_ENV
+ )
+{
+ POA_CORBA::Contained_ptr impl = (POA_CORBA::ModuleDef_ptr) obj;
+ POA_CORBA::Contained::_get_absolute_name_skel (
+ req,
+ (POA_CORBA::Contained_ptr) impl,
+ context,
+ ACE_TRY_ENV
+ );
+}
+ACE_INLINE void POA_CORBA::ModuleDef::_get_containing_repository_skel (
+ TAO_ServerRequest &req,
+ void *obj,
+ void *context,
+ CORBA::Environment &ACE_TRY_ENV
+ )
+{
+ POA_CORBA::Contained_ptr impl = (POA_CORBA::ModuleDef_ptr) obj;
+ POA_CORBA::Contained::_get_containing_repository_skel (
+ req,
+ (POA_CORBA::Contained_ptr) impl,
+ context,
+ ACE_TRY_ENV
+ );
+}
+ACE_INLINE void POA_CORBA::ModuleDef::describe_skel (
+ TAO_ServerRequest &req,
+ void *obj,
+ void *context,
+ CORBA::Environment &ACE_TRY_ENV
+ )
+{
+ POA_CORBA::Contained_ptr impl = (POA_CORBA::ModuleDef_ptr) obj;
+ POA_CORBA::Contained::describe_skel (
+ req,
+ (POA_CORBA::Contained_ptr) impl,
+ context,
+ ACE_TRY_ENV
+ );
+}
+ACE_INLINE void POA_CORBA::ModuleDef::move_skel (
+ TAO_ServerRequest &req,
+ void *obj,
+ void *context,
+ CORBA::Environment &ACE_TRY_ENV
+ )
+{
+ POA_CORBA::Contained_ptr impl = (POA_CORBA::ModuleDef_ptr) obj;
+ POA_CORBA::Contained::move_skel (
+ req,
+ (POA_CORBA::Contained_ptr) impl,
+ context,
+ ACE_TRY_ENV
+ );
+}
+ACE_INLINE void POA_CORBA::ModuleDef::_get_def_kind_skel (
+ TAO_ServerRequest &req,
+ void *obj,
+ void *context,
+ CORBA::Environment &ACE_TRY_ENV
+ )
+{
+ POA_CORBA::IRObject_ptr impl = (POA_CORBA::ModuleDef_ptr) obj;
+ POA_CORBA::IRObject::_get_def_kind_skel (
+ req,
+ (POA_CORBA::IRObject_ptr) impl,
+ context,
+ ACE_TRY_ENV
+ );
+}
+ACE_INLINE void POA_CORBA::ModuleDef::destroy_skel (
+ TAO_ServerRequest &req,
+ void *obj,
+ void *context,
+ CORBA::Environment &ACE_TRY_ENV
+ )
+{
+ POA_CORBA::IRObject_ptr impl = (POA_CORBA::ModuleDef_ptr) obj;
+ POA_CORBA::IRObject::destroy_skel (
+ req,
+ (POA_CORBA::IRObject_ptr) impl,
+ context,
+ ACE_TRY_ENV
+ );
+}
+ACE_INLINE void POA_CORBA::ConstantDef::_get_id_skel (
+ TAO_ServerRequest &req,
+ void *obj,
+ void *context,
+ CORBA::Environment &ACE_TRY_ENV
+ )
+{
+ POA_CORBA::Contained_ptr impl = (POA_CORBA::ConstantDef_ptr) obj;
+ POA_CORBA::Contained::_get_id_skel (
+ req,
+ (POA_CORBA::Contained_ptr) impl,
+ context,
+ ACE_TRY_ENV
+ );
+}
+ACE_INLINE void POA_CORBA::ConstantDef::_set_id_skel (
+ TAO_ServerRequest &req,
+ void *obj,
+ void *context,
+ CORBA::Environment &ACE_TRY_ENV
+ )
+{
+ POA_CORBA::Contained_ptr impl = (POA_CORBA::ConstantDef_ptr) obj;
+ POA_CORBA::Contained::_set_id_skel (
+ req,
+ (POA_CORBA::Contained_ptr) impl,
+ context,
+ ACE_TRY_ENV
+ );
+}
+ACE_INLINE void POA_CORBA::ConstantDef::_get_name_skel (
+ TAO_ServerRequest &req,
+ void *obj,
+ void *context,
+ CORBA::Environment &ACE_TRY_ENV
+ )
+{
+ POA_CORBA::Contained_ptr impl = (POA_CORBA::ConstantDef_ptr) obj;
+ POA_CORBA::Contained::_get_name_skel (
+ req,
+ (POA_CORBA::Contained_ptr) impl,
+ context,
+ ACE_TRY_ENV
+ );
+}
+ACE_INLINE void POA_CORBA::ConstantDef::_set_name_skel (
+ TAO_ServerRequest &req,
+ void *obj,
+ void *context,
+ CORBA::Environment &ACE_TRY_ENV
+ )
+{
+ POA_CORBA::Contained_ptr impl = (POA_CORBA::ConstantDef_ptr) obj;
+ POA_CORBA::Contained::_set_name_skel (
+ req,
+ (POA_CORBA::Contained_ptr) impl,
+ context,
+ ACE_TRY_ENV
+ );
+}
+ACE_INLINE void POA_CORBA::ConstantDef::_get_version_skel (
+ TAO_ServerRequest &req,
+ void *obj,
+ void *context,
+ CORBA::Environment &ACE_TRY_ENV
+ )
+{
+ POA_CORBA::Contained_ptr impl = (POA_CORBA::ConstantDef_ptr) obj;
+ POA_CORBA::Contained::_get_version_skel (
+ req,
+ (POA_CORBA::Contained_ptr) impl,
+ context,
+ ACE_TRY_ENV
+ );
+}
+ACE_INLINE void POA_CORBA::ConstantDef::_set_version_skel (
+ TAO_ServerRequest &req,
+ void *obj,
+ void *context,
+ CORBA::Environment &ACE_TRY_ENV
+ )
+{
+ POA_CORBA::Contained_ptr impl = (POA_CORBA::ConstantDef_ptr) obj;
+ POA_CORBA::Contained::_set_version_skel (
+ req,
+ (POA_CORBA::Contained_ptr) impl,
+ context,
+ ACE_TRY_ENV
+ );
+}
+ACE_INLINE void POA_CORBA::ConstantDef::_get_defined_in_skel (
+ TAO_ServerRequest &req,
+ void *obj,
+ void *context,
+ CORBA::Environment &ACE_TRY_ENV
+ )
+{
+ POA_CORBA::Contained_ptr impl = (POA_CORBA::ConstantDef_ptr) obj;
+ POA_CORBA::Contained::_get_defined_in_skel (
+ req,
+ (POA_CORBA::Contained_ptr) impl,
+ context,
+ ACE_TRY_ENV
+ );
+}
+ACE_INLINE void POA_CORBA::ConstantDef::_get_absolute_name_skel (
+ TAO_ServerRequest &req,
+ void *obj,
+ void *context,
+ CORBA::Environment &ACE_TRY_ENV
+ )
+{
+ POA_CORBA::Contained_ptr impl = (POA_CORBA::ConstantDef_ptr) obj;
+ POA_CORBA::Contained::_get_absolute_name_skel (
+ req,
+ (POA_CORBA::Contained_ptr) impl,
+ context,
+ ACE_TRY_ENV
+ );
+}
+ACE_INLINE void POA_CORBA::ConstantDef::_get_containing_repository_skel (
+ TAO_ServerRequest &req,
+ void *obj,
+ void *context,
+ CORBA::Environment &ACE_TRY_ENV
+ )
+{
+ POA_CORBA::Contained_ptr impl = (POA_CORBA::ConstantDef_ptr) obj;
+ POA_CORBA::Contained::_get_containing_repository_skel (
+ req,
+ (POA_CORBA::Contained_ptr) impl,
+ context,
+ ACE_TRY_ENV
+ );
+}
+ACE_INLINE void POA_CORBA::ConstantDef::describe_skel (
+ TAO_ServerRequest &req,
+ void *obj,
+ void *context,
+ CORBA::Environment &ACE_TRY_ENV
+ )
+{
+ POA_CORBA::Contained_ptr impl = (POA_CORBA::ConstantDef_ptr) obj;
+ POA_CORBA::Contained::describe_skel (
+ req,
+ (POA_CORBA::Contained_ptr) impl,
+ context,
+ ACE_TRY_ENV
+ );
+}
+ACE_INLINE void POA_CORBA::ConstantDef::move_skel (
+ TAO_ServerRequest &req,
+ void *obj,
+ void *context,
+ CORBA::Environment &ACE_TRY_ENV
+ )
+{
+ POA_CORBA::Contained_ptr impl = (POA_CORBA::ConstantDef_ptr) obj;
+ POA_CORBA::Contained::move_skel (
+ req,
+ (POA_CORBA::Contained_ptr) impl,
+ context,
+ ACE_TRY_ENV
+ );
+}
+ACE_INLINE void POA_CORBA::ConstantDef::_get_def_kind_skel (
+ TAO_ServerRequest &req,
+ void *obj,
+ void *context,
+ CORBA::Environment &ACE_TRY_ENV
+ )
+{
+ POA_CORBA::IRObject_ptr impl = (POA_CORBA::ConstantDef_ptr) obj;
+ POA_CORBA::IRObject::_get_def_kind_skel (
+ req,
+ (POA_CORBA::IRObject_ptr) impl,
+ context,
+ ACE_TRY_ENV
+ );
+}
+ACE_INLINE void POA_CORBA::ConstantDef::destroy_skel (
+ TAO_ServerRequest &req,
+ void *obj,
+ void *context,
+ CORBA::Environment &ACE_TRY_ENV
+ )
+{
+ POA_CORBA::IRObject_ptr impl = (POA_CORBA::ConstantDef_ptr) obj;
+ POA_CORBA::IRObject::destroy_skel (
+ req,
+ (POA_CORBA::IRObject_ptr) impl,
+ context,
+ ACE_TRY_ENV
+ );
+}
+ACE_INLINE void POA_CORBA::StructDef::lookup_skel (
+ TAO_ServerRequest &req,
+ void *obj,
+ void *context,
+ CORBA::Environment &ACE_TRY_ENV
+ )
+{
+ POA_CORBA::Container_ptr impl = (POA_CORBA::StructDef_ptr) obj;
+ POA_CORBA::Container::lookup_skel (
+ req,
+ (POA_CORBA::Container_ptr) impl,
+ context,
+ ACE_TRY_ENV
+ );
+}
+ACE_INLINE void POA_CORBA::StructDef::contents_skel (
+ TAO_ServerRequest &req,
+ void *obj,
+ void *context,
+ CORBA::Environment &ACE_TRY_ENV
+ )
+{
+ POA_CORBA::Container_ptr impl = (POA_CORBA::StructDef_ptr) obj;
+ POA_CORBA::Container::contents_skel (
+ req,
+ (POA_CORBA::Container_ptr) impl,
+ context,
+ ACE_TRY_ENV
+ );
+}
+ACE_INLINE void POA_CORBA::StructDef::lookup_name_skel (
+ TAO_ServerRequest &req,
+ void *obj,
+ void *context,
+ CORBA::Environment &ACE_TRY_ENV
+ )
+{
+ POA_CORBA::Container_ptr impl = (POA_CORBA::StructDef_ptr) obj;
+ POA_CORBA::Container::lookup_name_skel (
+ req,
+ (POA_CORBA::Container_ptr) impl,
+ context,
+ ACE_TRY_ENV
+ );
+}
+ACE_INLINE void POA_CORBA::StructDef::describe_contents_skel (
+ TAO_ServerRequest &req,
+ void *obj,
+ void *context,
+ CORBA::Environment &ACE_TRY_ENV
+ )
+{
+ POA_CORBA::Container_ptr impl = (POA_CORBA::StructDef_ptr) obj;
+ POA_CORBA::Container::describe_contents_skel (
+ req,
+ (POA_CORBA::Container_ptr) impl,
+ context,
+ ACE_TRY_ENV
+ );
+}
+ACE_INLINE void POA_CORBA::StructDef::create_module_skel (
+ TAO_ServerRequest &req,
+ void *obj,
+ void *context,
+ CORBA::Environment &ACE_TRY_ENV
+ )
+{
+ POA_CORBA::Container_ptr impl = (POA_CORBA::StructDef_ptr) obj;
+ POA_CORBA::Container::create_module_skel (
+ req,
+ (POA_CORBA::Container_ptr) impl,
+ context,
+ ACE_TRY_ENV
+ );
+}
+ACE_INLINE void POA_CORBA::StructDef::create_constant_skel (
+ TAO_ServerRequest &req,
+ void *obj,
+ void *context,
+ CORBA::Environment &ACE_TRY_ENV
+ )
+{
+ POA_CORBA::Container_ptr impl = (POA_CORBA::StructDef_ptr) obj;
+ POA_CORBA::Container::create_constant_skel (
+ req,
+ (POA_CORBA::Container_ptr) impl,
+ context,
+ ACE_TRY_ENV
+ );
+}
+ACE_INLINE void POA_CORBA::StructDef::create_struct_skel (
+ TAO_ServerRequest &req,
+ void *obj,
+ void *context,
+ CORBA::Environment &ACE_TRY_ENV
+ )
+{
+ POA_CORBA::Container_ptr impl = (POA_CORBA::StructDef_ptr) obj;
+ POA_CORBA::Container::create_struct_skel (
+ req,
+ (POA_CORBA::Container_ptr) impl,
+ context,
+ ACE_TRY_ENV
+ );
+}
+ACE_INLINE void POA_CORBA::StructDef::create_union_skel (
+ TAO_ServerRequest &req,
+ void *obj,
+ void *context,
+ CORBA::Environment &ACE_TRY_ENV
+ )
+{
+ POA_CORBA::Container_ptr impl = (POA_CORBA::StructDef_ptr) obj;
+ POA_CORBA::Container::create_union_skel (
+ req,
+ (POA_CORBA::Container_ptr) impl,
+ context,
+ ACE_TRY_ENV
+ );
+}
+ACE_INLINE void POA_CORBA::StructDef::create_enum_skel (
+ TAO_ServerRequest &req,
+ void *obj,
+ void *context,
+ CORBA::Environment &ACE_TRY_ENV
+ )
+{
+ POA_CORBA::Container_ptr impl = (POA_CORBA::StructDef_ptr) obj;
+ POA_CORBA::Container::create_enum_skel (
+ req,
+ (POA_CORBA::Container_ptr) impl,
+ context,
+ ACE_TRY_ENV
+ );
+}
+ACE_INLINE void POA_CORBA::StructDef::create_alias_skel (
+ TAO_ServerRequest &req,
+ void *obj,
+ void *context,
+ CORBA::Environment &ACE_TRY_ENV
+ )
+{
+ POA_CORBA::Container_ptr impl = (POA_CORBA::StructDef_ptr) obj;
+ POA_CORBA::Container::create_alias_skel (
+ req,
+ (POA_CORBA::Container_ptr) impl,
+ context,
+ ACE_TRY_ENV
+ );
+}
+ACE_INLINE void POA_CORBA::StructDef::create_interface_skel (
+ TAO_ServerRequest &req,
+ void *obj,
+ void *context,
+ CORBA::Environment &ACE_TRY_ENV
+ )
+{
+ POA_CORBA::Container_ptr impl = (POA_CORBA::StructDef_ptr) obj;
+ POA_CORBA::Container::create_interface_skel (
+ req,
+ (POA_CORBA::Container_ptr) impl,
+ context,
+ ACE_TRY_ENV
+ );
+}
+ACE_INLINE void POA_CORBA::StructDef::create_value_skel (
+ TAO_ServerRequest &req,
+ void *obj,
+ void *context,
+ CORBA::Environment &ACE_TRY_ENV
+ )
+{
+ POA_CORBA::Container_ptr impl = (POA_CORBA::StructDef_ptr) obj;
+ POA_CORBA::Container::create_value_skel (
+ req,
+ (POA_CORBA::Container_ptr) impl,
+ context,
+ ACE_TRY_ENV
+ );
+}
+ACE_INLINE void POA_CORBA::StructDef::create_value_box_skel (
+ TAO_ServerRequest &req,
+ void *obj,
+ void *context,
+ CORBA::Environment &ACE_TRY_ENV
+ )
+{
+ POA_CORBA::Container_ptr impl = (POA_CORBA::StructDef_ptr) obj;
+ POA_CORBA::Container::create_value_box_skel (
+ req,
+ (POA_CORBA::Container_ptr) impl,
+ context,
+ ACE_TRY_ENV
+ );
+}
+ACE_INLINE void POA_CORBA::StructDef::create_exception_skel (
+ TAO_ServerRequest &req,
+ void *obj,
+ void *context,
+ CORBA::Environment &ACE_TRY_ENV
+ )
+{
+ POA_CORBA::Container_ptr impl = (POA_CORBA::StructDef_ptr) obj;
+ POA_CORBA::Container::create_exception_skel (
+ req,
+ (POA_CORBA::Container_ptr) impl,
+ context,
+ ACE_TRY_ENV
+ );
+}
+ACE_INLINE void POA_CORBA::StructDef::create_native_skel (
+ TAO_ServerRequest &req,
+ void *obj,
+ void *context,
+ CORBA::Environment &ACE_TRY_ENV
+ )
+{
+ POA_CORBA::Container_ptr impl = (POA_CORBA::StructDef_ptr) obj;
+ POA_CORBA::Container::create_native_skel (
+ req,
+ (POA_CORBA::Container_ptr) impl,
+ context,
+ ACE_TRY_ENV
+ );
+}
+ACE_INLINE void POA_CORBA::StructDef::create_abstract_interface_skel (
+ TAO_ServerRequest &req,
+ void *obj,
+ void *context,
+ CORBA::Environment &ACE_TRY_ENV
+ )
+{
+ POA_CORBA::Container_ptr impl = (POA_CORBA::StructDef_ptr) obj;
+ POA_CORBA::Container::create_abstract_interface_skel (
+ req,
+ (POA_CORBA::Container_ptr) impl,
+ context,
+ ACE_TRY_ENV
+ );
+}
+ACE_INLINE void POA_CORBA::StructDef::create_local_interface_skel (
+ TAO_ServerRequest &req,
+ void *obj,
+ void *context,
+ CORBA::Environment &ACE_TRY_ENV
+ )
+{
+ POA_CORBA::Container_ptr impl = (POA_CORBA::StructDef_ptr) obj;
+ POA_CORBA::Container::create_local_interface_skel (
+ req,
+ (POA_CORBA::Container_ptr) impl,
+ context,
+ ACE_TRY_ENV
+ );
+}
+ACE_INLINE void POA_CORBA::StructDef::_get_id_skel (
+ TAO_ServerRequest &req,
+ void *obj,
+ void *context,
+ CORBA::Environment &ACE_TRY_ENV
+ )
+{
+ POA_CORBA::Contained_ptr impl = (POA_CORBA::StructDef_ptr) obj;
+ POA_CORBA::Contained::_get_id_skel (
+ req,
+ (POA_CORBA::Contained_ptr) impl,
+ context,
+ ACE_TRY_ENV
+ );
+}
+ACE_INLINE void POA_CORBA::StructDef::_set_id_skel (
+ TAO_ServerRequest &req,
+ void *obj,
+ void *context,
+ CORBA::Environment &ACE_TRY_ENV
+ )
+{
+ POA_CORBA::Contained_ptr impl = (POA_CORBA::StructDef_ptr) obj;
+ POA_CORBA::Contained::_set_id_skel (
+ req,
+ (POA_CORBA::Contained_ptr) impl,
+ context,
+ ACE_TRY_ENV
+ );
+}
+ACE_INLINE void POA_CORBA::StructDef::_get_name_skel (
+ TAO_ServerRequest &req,
+ void *obj,
+ void *context,
+ CORBA::Environment &ACE_TRY_ENV
+ )
+{
+ POA_CORBA::Contained_ptr impl = (POA_CORBA::StructDef_ptr) obj;
+ POA_CORBA::Contained::_get_name_skel (
+ req,
+ (POA_CORBA::Contained_ptr) impl,
+ context,
+ ACE_TRY_ENV
+ );
+}
+ACE_INLINE void POA_CORBA::StructDef::_set_name_skel (
+ TAO_ServerRequest &req,
+ void *obj,
+ void *context,
+ CORBA::Environment &ACE_TRY_ENV
+ )
+{
+ POA_CORBA::Contained_ptr impl = (POA_CORBA::StructDef_ptr) obj;
+ POA_CORBA::Contained::_set_name_skel (
+ req,
+ (POA_CORBA::Contained_ptr) impl,
+ context,
+ ACE_TRY_ENV
+ );
+}
+ACE_INLINE void POA_CORBA::StructDef::_get_version_skel (
+ TAO_ServerRequest &req,
+ void *obj,
+ void *context,
+ CORBA::Environment &ACE_TRY_ENV
+ )
+{
+ POA_CORBA::Contained_ptr impl = (POA_CORBA::StructDef_ptr) obj;
+ POA_CORBA::Contained::_get_version_skel (
+ req,
+ (POA_CORBA::Contained_ptr) impl,
+ context,
+ ACE_TRY_ENV
+ );
+}
+ACE_INLINE void POA_CORBA::StructDef::_set_version_skel (
+ TAO_ServerRequest &req,
+ void *obj,
+ void *context,
+ CORBA::Environment &ACE_TRY_ENV
+ )
+{
+ POA_CORBA::Contained_ptr impl = (POA_CORBA::StructDef_ptr) obj;
+ POA_CORBA::Contained::_set_version_skel (
+ req,
+ (POA_CORBA::Contained_ptr) impl,
+ context,
+ ACE_TRY_ENV
+ );
+}
+ACE_INLINE void POA_CORBA::StructDef::_get_defined_in_skel (
+ TAO_ServerRequest &req,
+ void *obj,
+ void *context,
+ CORBA::Environment &ACE_TRY_ENV
+ )
+{
+ POA_CORBA::Contained_ptr impl = (POA_CORBA::StructDef_ptr) obj;
+ POA_CORBA::Contained::_get_defined_in_skel (
+ req,
+ (POA_CORBA::Contained_ptr) impl,
+ context,
+ ACE_TRY_ENV
+ );
+}
+ACE_INLINE void POA_CORBA::StructDef::_get_absolute_name_skel (
+ TAO_ServerRequest &req,
+ void *obj,
+ void *context,
+ CORBA::Environment &ACE_TRY_ENV
+ )
+{
+ POA_CORBA::Contained_ptr impl = (POA_CORBA::StructDef_ptr) obj;
+ POA_CORBA::Contained::_get_absolute_name_skel (
+ req,
+ (POA_CORBA::Contained_ptr) impl,
+ context,
+ ACE_TRY_ENV
+ );
+}
+ACE_INLINE void POA_CORBA::StructDef::_get_containing_repository_skel (
+ TAO_ServerRequest &req,
+ void *obj,
+ void *context,
+ CORBA::Environment &ACE_TRY_ENV
+ )
+{
+ POA_CORBA::Contained_ptr impl = (POA_CORBA::StructDef_ptr) obj;
+ POA_CORBA::Contained::_get_containing_repository_skel (
+ req,
+ (POA_CORBA::Contained_ptr) impl,
+ context,
+ ACE_TRY_ENV
+ );
+}
+ACE_INLINE void POA_CORBA::StructDef::describe_skel (
+ TAO_ServerRequest &req,
+ void *obj,
+ void *context,
+ CORBA::Environment &ACE_TRY_ENV
+ )
+{
+ POA_CORBA::Contained_ptr impl = (POA_CORBA::StructDef_ptr) obj;
+ POA_CORBA::Contained::describe_skel (
+ req,
+ (POA_CORBA::Contained_ptr) impl,
+ context,
+ ACE_TRY_ENV
+ );
+}
+ACE_INLINE void POA_CORBA::StructDef::move_skel (
+ TAO_ServerRequest &req,
+ void *obj,
+ void *context,
+ CORBA::Environment &ACE_TRY_ENV
+ )
+{
+ POA_CORBA::Contained_ptr impl = (POA_CORBA::StructDef_ptr) obj;
+ POA_CORBA::Contained::move_skel (
+ req,
+ (POA_CORBA::Contained_ptr) impl,
+ context,
+ ACE_TRY_ENV
+ );
+}
+ACE_INLINE void POA_CORBA::StructDef::_get_type_skel (
+ TAO_ServerRequest &req,
+ void *obj,
+ void *context,
+ CORBA::Environment &ACE_TRY_ENV
+ )
+{
+ POA_CORBA::IDLType_ptr impl = (POA_CORBA::StructDef_ptr) obj;
+ POA_CORBA::IDLType::_get_type_skel (
+ req,
+ (POA_CORBA::IDLType_ptr) impl,
+ context,
+ ACE_TRY_ENV
+ );
+}
+ACE_INLINE void POA_CORBA::StructDef::_get_def_kind_skel (
+ TAO_ServerRequest &req,
+ void *obj,
+ void *context,
+ CORBA::Environment &ACE_TRY_ENV
+ )
+{
+ POA_CORBA::IRObject_ptr impl = (POA_CORBA::StructDef_ptr) obj;
+ POA_CORBA::IRObject::_get_def_kind_skel (
+ req,
+ (POA_CORBA::IRObject_ptr) impl,
+ context,
+ ACE_TRY_ENV
+ );
+}
+ACE_INLINE void POA_CORBA::StructDef::destroy_skel (
+ TAO_ServerRequest &req,
+ void *obj,
+ void *context,
+ CORBA::Environment &ACE_TRY_ENV
+ )
+{
+ POA_CORBA::IRObject_ptr impl = (POA_CORBA::StructDef_ptr) obj;
+ POA_CORBA::IRObject::destroy_skel (
+ req,
+ (POA_CORBA::IRObject_ptr) impl,
+ context,
+ ACE_TRY_ENV
+ );
+}
+ACE_INLINE void POA_CORBA::UnionDef::lookup_skel (
+ TAO_ServerRequest &req,
+ void *obj,
+ void *context,
+ CORBA::Environment &ACE_TRY_ENV
+ )
+{
+ POA_CORBA::Container_ptr impl = (POA_CORBA::UnionDef_ptr) obj;
+ POA_CORBA::Container::lookup_skel (
+ req,
+ (POA_CORBA::Container_ptr) impl,
+ context,
+ ACE_TRY_ENV
+ );
+}
+ACE_INLINE void POA_CORBA::UnionDef::contents_skel (
+ TAO_ServerRequest &req,
+ void *obj,
+ void *context,
+ CORBA::Environment &ACE_TRY_ENV
+ )
+{
+ POA_CORBA::Container_ptr impl = (POA_CORBA::UnionDef_ptr) obj;
+ POA_CORBA::Container::contents_skel (
+ req,
+ (POA_CORBA::Container_ptr) impl,
+ context,
+ ACE_TRY_ENV
+ );
+}
+ACE_INLINE void POA_CORBA::UnionDef::lookup_name_skel (
+ TAO_ServerRequest &req,
+ void *obj,
+ void *context,
+ CORBA::Environment &ACE_TRY_ENV
+ )
+{
+ POA_CORBA::Container_ptr impl = (POA_CORBA::UnionDef_ptr) obj;
+ POA_CORBA::Container::lookup_name_skel (
+ req,
+ (POA_CORBA::Container_ptr) impl,
+ context,
+ ACE_TRY_ENV
+ );
+}
+ACE_INLINE void POA_CORBA::UnionDef::describe_contents_skel (
+ TAO_ServerRequest &req,
+ void *obj,
+ void *context,
+ CORBA::Environment &ACE_TRY_ENV
+ )
+{
+ POA_CORBA::Container_ptr impl = (POA_CORBA::UnionDef_ptr) obj;
+ POA_CORBA::Container::describe_contents_skel (
+ req,
+ (POA_CORBA::Container_ptr) impl,
+ context,
+ ACE_TRY_ENV
+ );
+}
+ACE_INLINE void POA_CORBA::UnionDef::create_module_skel (
+ TAO_ServerRequest &req,
+ void *obj,
+ void *context,
+ CORBA::Environment &ACE_TRY_ENV
+ )
+{
+ POA_CORBA::Container_ptr impl = (POA_CORBA::UnionDef_ptr) obj;
+ POA_CORBA::Container::create_module_skel (
+ req,
+ (POA_CORBA::Container_ptr) impl,
+ context,
+ ACE_TRY_ENV
+ );
+}
+ACE_INLINE void POA_CORBA::UnionDef::create_constant_skel (
+ TAO_ServerRequest &req,
+ void *obj,
+ void *context,
+ CORBA::Environment &ACE_TRY_ENV
+ )
+{
+ POA_CORBA::Container_ptr impl = (POA_CORBA::UnionDef_ptr) obj;
+ POA_CORBA::Container::create_constant_skel (
+ req,
+ (POA_CORBA::Container_ptr) impl,
+ context,
+ ACE_TRY_ENV
+ );
+}
+ACE_INLINE void POA_CORBA::UnionDef::create_struct_skel (
+ TAO_ServerRequest &req,
+ void *obj,
+ void *context,
+ CORBA::Environment &ACE_TRY_ENV
+ )
+{
+ POA_CORBA::Container_ptr impl = (POA_CORBA::UnionDef_ptr) obj;
+ POA_CORBA::Container::create_struct_skel (
+ req,
+ (POA_CORBA::Container_ptr) impl,
+ context,
+ ACE_TRY_ENV
+ );
+}
+ACE_INLINE void POA_CORBA::UnionDef::create_union_skel (
+ TAO_ServerRequest &req,
+ void *obj,
+ void *context,
+ CORBA::Environment &ACE_TRY_ENV
+ )
+{
+ POA_CORBA::Container_ptr impl = (POA_CORBA::UnionDef_ptr) obj;
+ POA_CORBA::Container::create_union_skel (
+ req,
+ (POA_CORBA::Container_ptr) impl,
+ context,
+ ACE_TRY_ENV
+ );
+}
+ACE_INLINE void POA_CORBA::UnionDef::create_enum_skel (
+ TAO_ServerRequest &req,
+ void *obj,
+ void *context,
+ CORBA::Environment &ACE_TRY_ENV
+ )
+{
+ POA_CORBA::Container_ptr impl = (POA_CORBA::UnionDef_ptr) obj;
+ POA_CORBA::Container::create_enum_skel (
+ req,
+ (POA_CORBA::Container_ptr) impl,
+ context,
+ ACE_TRY_ENV
+ );
+}
+ACE_INLINE void POA_CORBA::UnionDef::create_alias_skel (
+ TAO_ServerRequest &req,
+ void *obj,
+ void *context,
+ CORBA::Environment &ACE_TRY_ENV
+ )
+{
+ POA_CORBA::Container_ptr impl = (POA_CORBA::UnionDef_ptr) obj;
+ POA_CORBA::Container::create_alias_skel (
+ req,
+ (POA_CORBA::Container_ptr) impl,
+ context,
+ ACE_TRY_ENV
+ );
+}
+ACE_INLINE void POA_CORBA::UnionDef::create_interface_skel (
+ TAO_ServerRequest &req,
+ void *obj,
+ void *context,
+ CORBA::Environment &ACE_TRY_ENV
+ )
+{
+ POA_CORBA::Container_ptr impl = (POA_CORBA::UnionDef_ptr) obj;
+ POA_CORBA::Container::create_interface_skel (
+ req,
+ (POA_CORBA::Container_ptr) impl,
+ context,
+ ACE_TRY_ENV
+ );
+}
+ACE_INLINE void POA_CORBA::UnionDef::create_value_skel (
+ TAO_ServerRequest &req,
+ void *obj,
+ void *context,
+ CORBA::Environment &ACE_TRY_ENV
+ )
+{
+ POA_CORBA::Container_ptr impl = (POA_CORBA::UnionDef_ptr) obj;
+ POA_CORBA::Container::create_value_skel (
+ req,
+ (POA_CORBA::Container_ptr) impl,
+ context,
+ ACE_TRY_ENV
+ );
+}
+ACE_INLINE void POA_CORBA::UnionDef::create_value_box_skel (
+ TAO_ServerRequest &req,
+ void *obj,
+ void *context,
+ CORBA::Environment &ACE_TRY_ENV
+ )
+{
+ POA_CORBA::Container_ptr impl = (POA_CORBA::UnionDef_ptr) obj;
+ POA_CORBA::Container::create_value_box_skel (
+ req,
+ (POA_CORBA::Container_ptr) impl,
+ context,
+ ACE_TRY_ENV
+ );
+}
+ACE_INLINE void POA_CORBA::UnionDef::create_exception_skel (
+ TAO_ServerRequest &req,
+ void *obj,
+ void *context,
+ CORBA::Environment &ACE_TRY_ENV
+ )
+{
+ POA_CORBA::Container_ptr impl = (POA_CORBA::UnionDef_ptr) obj;
+ POA_CORBA::Container::create_exception_skel (
+ req,
+ (POA_CORBA::Container_ptr) impl,
+ context,
+ ACE_TRY_ENV
+ );
+}
+ACE_INLINE void POA_CORBA::UnionDef::create_native_skel (
+ TAO_ServerRequest &req,
+ void *obj,
+ void *context,
+ CORBA::Environment &ACE_TRY_ENV
+ )
+{
+ POA_CORBA::Container_ptr impl = (POA_CORBA::UnionDef_ptr) obj;
+ POA_CORBA::Container::create_native_skel (
+ req,
+ (POA_CORBA::Container_ptr) impl,
+ context,
+ ACE_TRY_ENV
+ );
+}
+ACE_INLINE void POA_CORBA::UnionDef::create_abstract_interface_skel (
+ TAO_ServerRequest &req,
+ void *obj,
+ void *context,
+ CORBA::Environment &ACE_TRY_ENV
+ )
+{
+ POA_CORBA::Container_ptr impl = (POA_CORBA::UnionDef_ptr) obj;
+ POA_CORBA::Container::create_abstract_interface_skel (
+ req,
+ (POA_CORBA::Container_ptr) impl,
+ context,
+ ACE_TRY_ENV
+ );
+}
+ACE_INLINE void POA_CORBA::UnionDef::create_local_interface_skel (
+ TAO_ServerRequest &req,
+ void *obj,
+ void *context,
+ CORBA::Environment &ACE_TRY_ENV
+ )
+{
+ POA_CORBA::Container_ptr impl = (POA_CORBA::UnionDef_ptr) obj;
+ POA_CORBA::Container::create_local_interface_skel (
+ req,
+ (POA_CORBA::Container_ptr) impl,
+ context,
+ ACE_TRY_ENV
+ );
+}
+ACE_INLINE void POA_CORBA::UnionDef::_get_id_skel (
+ TAO_ServerRequest &req,
+ void *obj,
+ void *context,
+ CORBA::Environment &ACE_TRY_ENV
+ )
+{
+ POA_CORBA::Contained_ptr impl = (POA_CORBA::UnionDef_ptr) obj;
+ POA_CORBA::Contained::_get_id_skel (
+ req,
+ (POA_CORBA::Contained_ptr) impl,
+ context,
+ ACE_TRY_ENV
+ );
+}
+ACE_INLINE void POA_CORBA::UnionDef::_set_id_skel (
+ TAO_ServerRequest &req,
+ void *obj,
+ void *context,
+ CORBA::Environment &ACE_TRY_ENV
+ )
+{
+ POA_CORBA::Contained_ptr impl = (POA_CORBA::UnionDef_ptr) obj;
+ POA_CORBA::Contained::_set_id_skel (
+ req,
+ (POA_CORBA::Contained_ptr) impl,
+ context,
+ ACE_TRY_ENV
+ );
+}
+ACE_INLINE void POA_CORBA::UnionDef::_get_name_skel (
+ TAO_ServerRequest &req,
+ void *obj,
+ void *context,
+ CORBA::Environment &ACE_TRY_ENV
+ )
+{
+ POA_CORBA::Contained_ptr impl = (POA_CORBA::UnionDef_ptr) obj;
+ POA_CORBA::Contained::_get_name_skel (
+ req,
+ (POA_CORBA::Contained_ptr) impl,
+ context,
+ ACE_TRY_ENV
+ );
+}
+ACE_INLINE void POA_CORBA::UnionDef::_set_name_skel (
+ TAO_ServerRequest &req,
+ void *obj,
+ void *context,
+ CORBA::Environment &ACE_TRY_ENV
+ )
+{
+ POA_CORBA::Contained_ptr impl = (POA_CORBA::UnionDef_ptr) obj;
+ POA_CORBA::Contained::_set_name_skel (
+ req,
+ (POA_CORBA::Contained_ptr) impl,
+ context,
+ ACE_TRY_ENV
+ );
+}
+ACE_INLINE void POA_CORBA::UnionDef::_get_version_skel (
+ TAO_ServerRequest &req,
+ void *obj,
+ void *context,
+ CORBA::Environment &ACE_TRY_ENV
+ )
+{
+ POA_CORBA::Contained_ptr impl = (POA_CORBA::UnionDef_ptr) obj;
+ POA_CORBA::Contained::_get_version_skel (
+ req,
+ (POA_CORBA::Contained_ptr) impl,
+ context,
+ ACE_TRY_ENV
+ );
+}
+ACE_INLINE void POA_CORBA::UnionDef::_set_version_skel (
+ TAO_ServerRequest &req,
+ void *obj,
+ void *context,
+ CORBA::Environment &ACE_TRY_ENV
+ )
+{
+ POA_CORBA::Contained_ptr impl = (POA_CORBA::UnionDef_ptr) obj;
+ POA_CORBA::Contained::_set_version_skel (
+ req,
+ (POA_CORBA::Contained_ptr) impl,
+ context,
+ ACE_TRY_ENV
+ );
+}
+ACE_INLINE void POA_CORBA::UnionDef::_get_defined_in_skel (
+ TAO_ServerRequest &req,
+ void *obj,
+ void *context,
+ CORBA::Environment &ACE_TRY_ENV
+ )
+{
+ POA_CORBA::Contained_ptr impl = (POA_CORBA::UnionDef_ptr) obj;
+ POA_CORBA::Contained::_get_defined_in_skel (
+ req,
+ (POA_CORBA::Contained_ptr) impl,
+ context,
+ ACE_TRY_ENV
+ );
+}
+ACE_INLINE void POA_CORBA::UnionDef::_get_absolute_name_skel (
+ TAO_ServerRequest &req,
+ void *obj,
+ void *context,
+ CORBA::Environment &ACE_TRY_ENV
+ )
+{
+ POA_CORBA::Contained_ptr impl = (POA_CORBA::UnionDef_ptr) obj;
+ POA_CORBA::Contained::_get_absolute_name_skel (
+ req,
+ (POA_CORBA::Contained_ptr) impl,
+ context,
+ ACE_TRY_ENV
+ );
+}
+ACE_INLINE void POA_CORBA::UnionDef::_get_containing_repository_skel (
+ TAO_ServerRequest &req,
+ void *obj,
+ void *context,
+ CORBA::Environment &ACE_TRY_ENV
+ )
+{
+ POA_CORBA::Contained_ptr impl = (POA_CORBA::UnionDef_ptr) obj;
+ POA_CORBA::Contained::_get_containing_repository_skel (
+ req,
+ (POA_CORBA::Contained_ptr) impl,
+ context,
+ ACE_TRY_ENV
+ );
+}
+ACE_INLINE void POA_CORBA::UnionDef::describe_skel (
+ TAO_ServerRequest &req,
+ void *obj,
+ void *context,
+ CORBA::Environment &ACE_TRY_ENV
+ )
+{
+ POA_CORBA::Contained_ptr impl = (POA_CORBA::UnionDef_ptr) obj;
+ POA_CORBA::Contained::describe_skel (
+ req,
+ (POA_CORBA::Contained_ptr) impl,
+ context,
+ ACE_TRY_ENV
+ );
+}
+ACE_INLINE void POA_CORBA::UnionDef::move_skel (
+ TAO_ServerRequest &req,
+ void *obj,
+ void *context,
+ CORBA::Environment &ACE_TRY_ENV
+ )
+{
+ POA_CORBA::Contained_ptr impl = (POA_CORBA::UnionDef_ptr) obj;
+ POA_CORBA::Contained::move_skel (
+ req,
+ (POA_CORBA::Contained_ptr) impl,
+ context,
+ ACE_TRY_ENV
+ );
+}
+ACE_INLINE void POA_CORBA::UnionDef::_get_type_skel (
+ TAO_ServerRequest &req,
+ void *obj,
+ void *context,
+ CORBA::Environment &ACE_TRY_ENV
+ )
+{
+ POA_CORBA::IDLType_ptr impl = (POA_CORBA::UnionDef_ptr) obj;
+ POA_CORBA::IDLType::_get_type_skel (
+ req,
+ (POA_CORBA::IDLType_ptr) impl,
+ context,
+ ACE_TRY_ENV
+ );
+}
+ACE_INLINE void POA_CORBA::UnionDef::_get_def_kind_skel (
+ TAO_ServerRequest &req,
+ void *obj,
+ void *context,
+ CORBA::Environment &ACE_TRY_ENV
+ )
+{
+ POA_CORBA::IRObject_ptr impl = (POA_CORBA::UnionDef_ptr) obj;
+ POA_CORBA::IRObject::_get_def_kind_skel (
+ req,
+ (POA_CORBA::IRObject_ptr) impl,
+ context,
+ ACE_TRY_ENV
+ );
+}
+ACE_INLINE void POA_CORBA::UnionDef::destroy_skel (
+ TAO_ServerRequest &req,
+ void *obj,
+ void *context,
+ CORBA::Environment &ACE_TRY_ENV
+ )
+{
+ POA_CORBA::IRObject_ptr impl = (POA_CORBA::UnionDef_ptr) obj;
+ POA_CORBA::IRObject::destroy_skel (
+ req,
+ (POA_CORBA::IRObject_ptr) impl,
+ context,
+ ACE_TRY_ENV
+ );
+}
+ACE_INLINE void POA_CORBA::EnumDef::_get_id_skel (
+ TAO_ServerRequest &req,
+ void *obj,
+ void *context,
+ CORBA::Environment &ACE_TRY_ENV
+ )
+{
+ POA_CORBA::Contained_ptr impl = (POA_CORBA::EnumDef_ptr) obj;
+ POA_CORBA::Contained::_get_id_skel (
+ req,
+ (POA_CORBA::Contained_ptr) impl,
+ context,
+ ACE_TRY_ENV
+ );
+}
+ACE_INLINE void POA_CORBA::EnumDef::_set_id_skel (
+ TAO_ServerRequest &req,
+ void *obj,
+ void *context,
+ CORBA::Environment &ACE_TRY_ENV
+ )
+{
+ POA_CORBA::Contained_ptr impl = (POA_CORBA::EnumDef_ptr) obj;
+ POA_CORBA::Contained::_set_id_skel (
+ req,
+ (POA_CORBA::Contained_ptr) impl,
+ context,
+ ACE_TRY_ENV
+ );
+}
+ACE_INLINE void POA_CORBA::EnumDef::_get_name_skel (
+ TAO_ServerRequest &req,
+ void *obj,
+ void *context,
+ CORBA::Environment &ACE_TRY_ENV
+ )
+{
+ POA_CORBA::Contained_ptr impl = (POA_CORBA::EnumDef_ptr) obj;
+ POA_CORBA::Contained::_get_name_skel (
+ req,
+ (POA_CORBA::Contained_ptr) impl,
+ context,
+ ACE_TRY_ENV
+ );
+}
+ACE_INLINE void POA_CORBA::EnumDef::_set_name_skel (
+ TAO_ServerRequest &req,
+ void *obj,
+ void *context,
+ CORBA::Environment &ACE_TRY_ENV
+ )
+{
+ POA_CORBA::Contained_ptr impl = (POA_CORBA::EnumDef_ptr) obj;
+ POA_CORBA::Contained::_set_name_skel (
+ req,
+ (POA_CORBA::Contained_ptr) impl,
+ context,
+ ACE_TRY_ENV
+ );
+}
+ACE_INLINE void POA_CORBA::EnumDef::_get_version_skel (
+ TAO_ServerRequest &req,
+ void *obj,
+ void *context,
+ CORBA::Environment &ACE_TRY_ENV
+ )
+{
+ POA_CORBA::Contained_ptr impl = (POA_CORBA::EnumDef_ptr) obj;
+ POA_CORBA::Contained::_get_version_skel (
+ req,
+ (POA_CORBA::Contained_ptr) impl,
+ context,
+ ACE_TRY_ENV
+ );
+}
+ACE_INLINE void POA_CORBA::EnumDef::_set_version_skel (
+ TAO_ServerRequest &req,
+ void *obj,
+ void *context,
+ CORBA::Environment &ACE_TRY_ENV
+ )
+{
+ POA_CORBA::Contained_ptr impl = (POA_CORBA::EnumDef_ptr) obj;
+ POA_CORBA::Contained::_set_version_skel (
+ req,
+ (POA_CORBA::Contained_ptr) impl,
+ context,
+ ACE_TRY_ENV
+ );
+}
+ACE_INLINE void POA_CORBA::EnumDef::_get_defined_in_skel (
+ TAO_ServerRequest &req,
+ void *obj,
+ void *context,
+ CORBA::Environment &ACE_TRY_ENV
+ )
+{
+ POA_CORBA::Contained_ptr impl = (POA_CORBA::EnumDef_ptr) obj;
+ POA_CORBA::Contained::_get_defined_in_skel (
+ req,
+ (POA_CORBA::Contained_ptr) impl,
+ context,
+ ACE_TRY_ENV
+ );
+}
+ACE_INLINE void POA_CORBA::EnumDef::_get_absolute_name_skel (
+ TAO_ServerRequest &req,
+ void *obj,
+ void *context,
+ CORBA::Environment &ACE_TRY_ENV
+ )
+{
+ POA_CORBA::Contained_ptr impl = (POA_CORBA::EnumDef_ptr) obj;
+ POA_CORBA::Contained::_get_absolute_name_skel (
+ req,
+ (POA_CORBA::Contained_ptr) impl,
+ context,
+ ACE_TRY_ENV
+ );
+}
+ACE_INLINE void POA_CORBA::EnumDef::_get_containing_repository_skel (
+ TAO_ServerRequest &req,
+ void *obj,
+ void *context,
+ CORBA::Environment &ACE_TRY_ENV
+ )
+{
+ POA_CORBA::Contained_ptr impl = (POA_CORBA::EnumDef_ptr) obj;
+ POA_CORBA::Contained::_get_containing_repository_skel (
+ req,
+ (POA_CORBA::Contained_ptr) impl,
+ context,
+ ACE_TRY_ENV
+ );
+}
+ACE_INLINE void POA_CORBA::EnumDef::describe_skel (
+ TAO_ServerRequest &req,
+ void *obj,
+ void *context,
+ CORBA::Environment &ACE_TRY_ENV
+ )
+{
+ POA_CORBA::Contained_ptr impl = (POA_CORBA::EnumDef_ptr) obj;
+ POA_CORBA::Contained::describe_skel (
+ req,
+ (POA_CORBA::Contained_ptr) impl,
+ context,
+ ACE_TRY_ENV
+ );
+}
+ACE_INLINE void POA_CORBA::EnumDef::move_skel (
+ TAO_ServerRequest &req,
+ void *obj,
+ void *context,
+ CORBA::Environment &ACE_TRY_ENV
+ )
+{
+ POA_CORBA::Contained_ptr impl = (POA_CORBA::EnumDef_ptr) obj;
+ POA_CORBA::Contained::move_skel (
+ req,
+ (POA_CORBA::Contained_ptr) impl,
+ context,
+ ACE_TRY_ENV
+ );
+}
+ACE_INLINE void POA_CORBA::EnumDef::_get_type_skel (
+ TAO_ServerRequest &req,
+ void *obj,
+ void *context,
+ CORBA::Environment &ACE_TRY_ENV
+ )
+{
+ POA_CORBA::IDLType_ptr impl = (POA_CORBA::EnumDef_ptr) obj;
+ POA_CORBA::IDLType::_get_type_skel (
+ req,
+ (POA_CORBA::IDLType_ptr) impl,
+ context,
+ ACE_TRY_ENV
+ );
+}
+ACE_INLINE void POA_CORBA::EnumDef::_get_def_kind_skel (
+ TAO_ServerRequest &req,
+ void *obj,
+ void *context,
+ CORBA::Environment &ACE_TRY_ENV
+ )
+{
+ POA_CORBA::IRObject_ptr impl = (POA_CORBA::EnumDef_ptr) obj;
+ POA_CORBA::IRObject::_get_def_kind_skel (
+ req,
+ (POA_CORBA::IRObject_ptr) impl,
+ context,
+ ACE_TRY_ENV
+ );
+}
+ACE_INLINE void POA_CORBA::EnumDef::destroy_skel (
+ TAO_ServerRequest &req,
+ void *obj,
+ void *context,
+ CORBA::Environment &ACE_TRY_ENV
+ )
+{
+ POA_CORBA::IRObject_ptr impl = (POA_CORBA::EnumDef_ptr) obj;
+ POA_CORBA::IRObject::destroy_skel (
+ req,
+ (POA_CORBA::IRObject_ptr) impl,
+ context,
+ ACE_TRY_ENV
+ );
+}
+ACE_INLINE void POA_CORBA::AliasDef::_get_id_skel (
+ TAO_ServerRequest &req,
+ void *obj,
+ void *context,
+ CORBA::Environment &ACE_TRY_ENV
+ )
+{
+ POA_CORBA::Contained_ptr impl = (POA_CORBA::AliasDef_ptr) obj;
+ POA_CORBA::Contained::_get_id_skel (
+ req,
+ (POA_CORBA::Contained_ptr) impl,
+ context,
+ ACE_TRY_ENV
+ );
+}
+ACE_INLINE void POA_CORBA::AliasDef::_set_id_skel (
+ TAO_ServerRequest &req,
+ void *obj,
+ void *context,
+ CORBA::Environment &ACE_TRY_ENV
+ )
+{
+ POA_CORBA::Contained_ptr impl = (POA_CORBA::AliasDef_ptr) obj;
+ POA_CORBA::Contained::_set_id_skel (
+ req,
+ (POA_CORBA::Contained_ptr) impl,
+ context,
+ ACE_TRY_ENV
+ );
+}
+ACE_INLINE void POA_CORBA::AliasDef::_get_name_skel (
+ TAO_ServerRequest &req,
+ void *obj,
+ void *context,
+ CORBA::Environment &ACE_TRY_ENV
+ )
+{
+ POA_CORBA::Contained_ptr impl = (POA_CORBA::AliasDef_ptr) obj;
+ POA_CORBA::Contained::_get_name_skel (
+ req,
+ (POA_CORBA::Contained_ptr) impl,
+ context,
+ ACE_TRY_ENV
+ );
+}
+ACE_INLINE void POA_CORBA::AliasDef::_set_name_skel (
+ TAO_ServerRequest &req,
+ void *obj,
+ void *context,
+ CORBA::Environment &ACE_TRY_ENV
+ )
+{
+ POA_CORBA::Contained_ptr impl = (POA_CORBA::AliasDef_ptr) obj;
+ POA_CORBA::Contained::_set_name_skel (
+ req,
+ (POA_CORBA::Contained_ptr) impl,
+ context,
+ ACE_TRY_ENV
+ );
+}
+ACE_INLINE void POA_CORBA::AliasDef::_get_version_skel (
+ TAO_ServerRequest &req,
+ void *obj,
+ void *context,
+ CORBA::Environment &ACE_TRY_ENV
+ )
+{
+ POA_CORBA::Contained_ptr impl = (POA_CORBA::AliasDef_ptr) obj;
+ POA_CORBA::Contained::_get_version_skel (
+ req,
+ (POA_CORBA::Contained_ptr) impl,
+ context,
+ ACE_TRY_ENV
+ );
+}
+ACE_INLINE void POA_CORBA::AliasDef::_set_version_skel (
+ TAO_ServerRequest &req,
+ void *obj,
+ void *context,
+ CORBA::Environment &ACE_TRY_ENV
+ )
+{
+ POA_CORBA::Contained_ptr impl = (POA_CORBA::AliasDef_ptr) obj;
+ POA_CORBA::Contained::_set_version_skel (
+ req,
+ (POA_CORBA::Contained_ptr) impl,
+ context,
+ ACE_TRY_ENV
+ );
+}
+ACE_INLINE void POA_CORBA::AliasDef::_get_defined_in_skel (
+ TAO_ServerRequest &req,
+ void *obj,
+ void *context,
+ CORBA::Environment &ACE_TRY_ENV
+ )
+{
+ POA_CORBA::Contained_ptr impl = (POA_CORBA::AliasDef_ptr) obj;
+ POA_CORBA::Contained::_get_defined_in_skel (
+ req,
+ (POA_CORBA::Contained_ptr) impl,
+ context,
+ ACE_TRY_ENV
+ );
+}
+ACE_INLINE void POA_CORBA::AliasDef::_get_absolute_name_skel (
+ TAO_ServerRequest &req,
+ void *obj,
+ void *context,
+ CORBA::Environment &ACE_TRY_ENV
+ )
+{
+ POA_CORBA::Contained_ptr impl = (POA_CORBA::AliasDef_ptr) obj;
+ POA_CORBA::Contained::_get_absolute_name_skel (
+ req,
+ (POA_CORBA::Contained_ptr) impl,
+ context,
+ ACE_TRY_ENV
+ );
+}
+ACE_INLINE void POA_CORBA::AliasDef::_get_containing_repository_skel (
+ TAO_ServerRequest &req,
+ void *obj,
+ void *context,
+ CORBA::Environment &ACE_TRY_ENV
+ )
+{
+ POA_CORBA::Contained_ptr impl = (POA_CORBA::AliasDef_ptr) obj;
+ POA_CORBA::Contained::_get_containing_repository_skel (
+ req,
+ (POA_CORBA::Contained_ptr) impl,
+ context,
+ ACE_TRY_ENV
+ );
+}
+ACE_INLINE void POA_CORBA::AliasDef::describe_skel (
+ TAO_ServerRequest &req,
+ void *obj,
+ void *context,
+ CORBA::Environment &ACE_TRY_ENV
+ )
+{
+ POA_CORBA::Contained_ptr impl = (POA_CORBA::AliasDef_ptr) obj;
+ POA_CORBA::Contained::describe_skel (
+ req,
+ (POA_CORBA::Contained_ptr) impl,
+ context,
+ ACE_TRY_ENV
+ );
+}
+ACE_INLINE void POA_CORBA::AliasDef::move_skel (
+ TAO_ServerRequest &req,
+ void *obj,
+ void *context,
+ CORBA::Environment &ACE_TRY_ENV
+ )
+{
+ POA_CORBA::Contained_ptr impl = (POA_CORBA::AliasDef_ptr) obj;
+ POA_CORBA::Contained::move_skel (
+ req,
+ (POA_CORBA::Contained_ptr) impl,
+ context,
+ ACE_TRY_ENV
+ );
+}
+ACE_INLINE void POA_CORBA::AliasDef::_get_type_skel (
+ TAO_ServerRequest &req,
+ void *obj,
+ void *context,
+ CORBA::Environment &ACE_TRY_ENV
+ )
+{
+ POA_CORBA::IDLType_ptr impl = (POA_CORBA::AliasDef_ptr) obj;
+ POA_CORBA::IDLType::_get_type_skel (
+ req,
+ (POA_CORBA::IDLType_ptr) impl,
+ context,
+ ACE_TRY_ENV
+ );
+}
+ACE_INLINE void POA_CORBA::AliasDef::_get_def_kind_skel (
+ TAO_ServerRequest &req,
+ void *obj,
+ void *context,
+ CORBA::Environment &ACE_TRY_ENV
+ )
+{
+ POA_CORBA::IRObject_ptr impl = (POA_CORBA::AliasDef_ptr) obj;
+ POA_CORBA::IRObject::_get_def_kind_skel (
+ req,
+ (POA_CORBA::IRObject_ptr) impl,
+ context,
+ ACE_TRY_ENV
+ );
+}
+ACE_INLINE void POA_CORBA::AliasDef::destroy_skel (
+ TAO_ServerRequest &req,
+ void *obj,
+ void *context,
+ CORBA::Environment &ACE_TRY_ENV
+ )
+{
+ POA_CORBA::IRObject_ptr impl = (POA_CORBA::AliasDef_ptr) obj;
+ POA_CORBA::IRObject::destroy_skel (
+ req,
+ (POA_CORBA::IRObject_ptr) impl,
+ context,
+ ACE_TRY_ENV
+ );
+}
+ACE_INLINE void POA_CORBA::NativeDef::_get_id_skel (
+ TAO_ServerRequest &req,
+ void *obj,
+ void *context,
+ CORBA::Environment &ACE_TRY_ENV
+ )
+{
+ POA_CORBA::Contained_ptr impl = (POA_CORBA::NativeDef_ptr) obj;
+ POA_CORBA::Contained::_get_id_skel (
+ req,
+ (POA_CORBA::Contained_ptr) impl,
+ context,
+ ACE_TRY_ENV
+ );
+}
+ACE_INLINE void POA_CORBA::NativeDef::_set_id_skel (
+ TAO_ServerRequest &req,
+ void *obj,
+ void *context,
+ CORBA::Environment &ACE_TRY_ENV
+ )
+{
+ POA_CORBA::Contained_ptr impl = (POA_CORBA::NativeDef_ptr) obj;
+ POA_CORBA::Contained::_set_id_skel (
+ req,
+ (POA_CORBA::Contained_ptr) impl,
+ context,
+ ACE_TRY_ENV
+ );
+}
+ACE_INLINE void POA_CORBA::NativeDef::_get_name_skel (
+ TAO_ServerRequest &req,
+ void *obj,
+ void *context,
+ CORBA::Environment &ACE_TRY_ENV
+ )
+{
+ POA_CORBA::Contained_ptr impl = (POA_CORBA::NativeDef_ptr) obj;
+ POA_CORBA::Contained::_get_name_skel (
+ req,
+ (POA_CORBA::Contained_ptr) impl,
+ context,
+ ACE_TRY_ENV
+ );
+}
+ACE_INLINE void POA_CORBA::NativeDef::_set_name_skel (
+ TAO_ServerRequest &req,
+ void *obj,
+ void *context,
+ CORBA::Environment &ACE_TRY_ENV
+ )
+{
+ POA_CORBA::Contained_ptr impl = (POA_CORBA::NativeDef_ptr) obj;
+ POA_CORBA::Contained::_set_name_skel (
+ req,
+ (POA_CORBA::Contained_ptr) impl,
+ context,
+ ACE_TRY_ENV
+ );
+}
+ACE_INLINE void POA_CORBA::NativeDef::_get_version_skel (
+ TAO_ServerRequest &req,
+ void *obj,
+ void *context,
+ CORBA::Environment &ACE_TRY_ENV
+ )
+{
+ POA_CORBA::Contained_ptr impl = (POA_CORBA::NativeDef_ptr) obj;
+ POA_CORBA::Contained::_get_version_skel (
+ req,
+ (POA_CORBA::Contained_ptr) impl,
+ context,
+ ACE_TRY_ENV
+ );
+}
+ACE_INLINE void POA_CORBA::NativeDef::_set_version_skel (
+ TAO_ServerRequest &req,
+ void *obj,
+ void *context,
+ CORBA::Environment &ACE_TRY_ENV
+ )
+{
+ POA_CORBA::Contained_ptr impl = (POA_CORBA::NativeDef_ptr) obj;
+ POA_CORBA::Contained::_set_version_skel (
+ req,
+ (POA_CORBA::Contained_ptr) impl,
+ context,
+ ACE_TRY_ENV
+ );
+}
+ACE_INLINE void POA_CORBA::NativeDef::_get_defined_in_skel (
+ TAO_ServerRequest &req,
+ void *obj,
+ void *context,
+ CORBA::Environment &ACE_TRY_ENV
+ )
+{
+ POA_CORBA::Contained_ptr impl = (POA_CORBA::NativeDef_ptr) obj;
+ POA_CORBA::Contained::_get_defined_in_skel (
+ req,
+ (POA_CORBA::Contained_ptr) impl,
+ context,
+ ACE_TRY_ENV
+ );
+}
+ACE_INLINE void POA_CORBA::NativeDef::_get_absolute_name_skel (
+ TAO_ServerRequest &req,
+ void *obj,
+ void *context,
+ CORBA::Environment &ACE_TRY_ENV
+ )
+{
+ POA_CORBA::Contained_ptr impl = (POA_CORBA::NativeDef_ptr) obj;
+ POA_CORBA::Contained::_get_absolute_name_skel (
+ req,
+ (POA_CORBA::Contained_ptr) impl,
+ context,
+ ACE_TRY_ENV
+ );
+}
+ACE_INLINE void POA_CORBA::NativeDef::_get_containing_repository_skel (
+ TAO_ServerRequest &req,
+ void *obj,
+ void *context,
+ CORBA::Environment &ACE_TRY_ENV
+ )
+{
+ POA_CORBA::Contained_ptr impl = (POA_CORBA::NativeDef_ptr) obj;
+ POA_CORBA::Contained::_get_containing_repository_skel (
+ req,
+ (POA_CORBA::Contained_ptr) impl,
+ context,
+ ACE_TRY_ENV
+ );
+}
+ACE_INLINE void POA_CORBA::NativeDef::describe_skel (
+ TAO_ServerRequest &req,
+ void *obj,
+ void *context,
+ CORBA::Environment &ACE_TRY_ENV
+ )
+{
+ POA_CORBA::Contained_ptr impl = (POA_CORBA::NativeDef_ptr) obj;
+ POA_CORBA::Contained::describe_skel (
+ req,
+ (POA_CORBA::Contained_ptr) impl,
+ context,
+ ACE_TRY_ENV
+ );
+}
+ACE_INLINE void POA_CORBA::NativeDef::move_skel (
+ TAO_ServerRequest &req,
+ void *obj,
+ void *context,
+ CORBA::Environment &ACE_TRY_ENV
+ )
+{
+ POA_CORBA::Contained_ptr impl = (POA_CORBA::NativeDef_ptr) obj;
+ POA_CORBA::Contained::move_skel (
+ req,
+ (POA_CORBA::Contained_ptr) impl,
+ context,
+ ACE_TRY_ENV
+ );
+}
+ACE_INLINE void POA_CORBA::NativeDef::_get_type_skel (
+ TAO_ServerRequest &req,
+ void *obj,
+ void *context,
+ CORBA::Environment &ACE_TRY_ENV
+ )
+{
+ POA_CORBA::IDLType_ptr impl = (POA_CORBA::NativeDef_ptr) obj;
+ POA_CORBA::IDLType::_get_type_skel (
+ req,
+ (POA_CORBA::IDLType_ptr) impl,
+ context,
+ ACE_TRY_ENV
+ );
+}
+ACE_INLINE void POA_CORBA::NativeDef::_get_def_kind_skel (
+ TAO_ServerRequest &req,
+ void *obj,
+ void *context,
+ CORBA::Environment &ACE_TRY_ENV
+ )
+{
+ POA_CORBA::IRObject_ptr impl = (POA_CORBA::NativeDef_ptr) obj;
+ POA_CORBA::IRObject::_get_def_kind_skel (
+ req,
+ (POA_CORBA::IRObject_ptr) impl,
+ context,
+ ACE_TRY_ENV
+ );
+}
+ACE_INLINE void POA_CORBA::NativeDef::destroy_skel (
+ TAO_ServerRequest &req,
+ void *obj,
+ void *context,
+ CORBA::Environment &ACE_TRY_ENV
+ )
+{
+ POA_CORBA::IRObject_ptr impl = (POA_CORBA::NativeDef_ptr) obj;
+ POA_CORBA::IRObject::destroy_skel (
+ req,
+ (POA_CORBA::IRObject_ptr) impl,
+ context,
+ ACE_TRY_ENV
+ );
+}
+ACE_INLINE void POA_CORBA::PrimitiveDef::_get_type_skel (
+ TAO_ServerRequest &req,
+ void *obj,
+ void *context,
+ CORBA::Environment &ACE_TRY_ENV
+ )
+{
+ POA_CORBA::IDLType_ptr impl = (POA_CORBA::PrimitiveDef_ptr) obj;
+ POA_CORBA::IDLType::_get_type_skel (
+ req,
+ (POA_CORBA::IDLType_ptr) impl,
+ context,
+ ACE_TRY_ENV
+ );
+}
+ACE_INLINE void POA_CORBA::PrimitiveDef::_get_def_kind_skel (
+ TAO_ServerRequest &req,
+ void *obj,
+ void *context,
+ CORBA::Environment &ACE_TRY_ENV
+ )
+{
+ POA_CORBA::IRObject_ptr impl = (POA_CORBA::PrimitiveDef_ptr) obj;
+ POA_CORBA::IRObject::_get_def_kind_skel (
+ req,
+ (POA_CORBA::IRObject_ptr) impl,
+ context,
+ ACE_TRY_ENV
+ );
+}
+ACE_INLINE void POA_CORBA::PrimitiveDef::destroy_skel (
+ TAO_ServerRequest &req,
+ void *obj,
+ void *context,
+ CORBA::Environment &ACE_TRY_ENV
+ )
+{
+ POA_CORBA::IRObject_ptr impl = (POA_CORBA::PrimitiveDef_ptr) obj;
+ POA_CORBA::IRObject::destroy_skel (
+ req,
+ (POA_CORBA::IRObject_ptr) impl,
+ context,
+ ACE_TRY_ENV
+ );
+}
+ACE_INLINE void POA_CORBA::StringDef::_get_type_skel (
+ TAO_ServerRequest &req,
+ void *obj,
+ void *context,
+ CORBA::Environment &ACE_TRY_ENV
+ )
+{
+ POA_CORBA::IDLType_ptr impl = (POA_CORBA::StringDef_ptr) obj;
+ POA_CORBA::IDLType::_get_type_skel (
+ req,
+ (POA_CORBA::IDLType_ptr) impl,
+ context,
+ ACE_TRY_ENV
+ );
+}
+ACE_INLINE void POA_CORBA::StringDef::_get_def_kind_skel (
+ TAO_ServerRequest &req,
+ void *obj,
+ void *context,
+ CORBA::Environment &ACE_TRY_ENV
+ )
+{
+ POA_CORBA::IRObject_ptr impl = (POA_CORBA::StringDef_ptr) obj;
+ POA_CORBA::IRObject::_get_def_kind_skel (
+ req,
+ (POA_CORBA::IRObject_ptr) impl,
+ context,
+ ACE_TRY_ENV
+ );
+}
+ACE_INLINE void POA_CORBA::StringDef::destroy_skel (
+ TAO_ServerRequest &req,
+ void *obj,
+ void *context,
+ CORBA::Environment &ACE_TRY_ENV
+ )
+{
+ POA_CORBA::IRObject_ptr impl = (POA_CORBA::StringDef_ptr) obj;
+ POA_CORBA::IRObject::destroy_skel (
+ req,
+ (POA_CORBA::IRObject_ptr) impl,
+ context,
+ ACE_TRY_ENV
+ );
+}
+ACE_INLINE void POA_CORBA::WstringDef::_get_type_skel (
+ TAO_ServerRequest &req,
+ void *obj,
+ void *context,
+ CORBA::Environment &ACE_TRY_ENV
+ )
+{
+ POA_CORBA::IDLType_ptr impl = (POA_CORBA::WstringDef_ptr) obj;
+ POA_CORBA::IDLType::_get_type_skel (
+ req,
+ (POA_CORBA::IDLType_ptr) impl,
+ context,
+ ACE_TRY_ENV
+ );
+}
+ACE_INLINE void POA_CORBA::WstringDef::_get_def_kind_skel (
+ TAO_ServerRequest &req,
+ void *obj,
+ void *context,
+ CORBA::Environment &ACE_TRY_ENV
+ )
+{
+ POA_CORBA::IRObject_ptr impl = (POA_CORBA::WstringDef_ptr) obj;
+ POA_CORBA::IRObject::_get_def_kind_skel (
+ req,
+ (POA_CORBA::IRObject_ptr) impl,
+ context,
+ ACE_TRY_ENV
+ );
+}
+ACE_INLINE void POA_CORBA::WstringDef::destroy_skel (
+ TAO_ServerRequest &req,
+ void *obj,
+ void *context,
+ CORBA::Environment &ACE_TRY_ENV
+ )
+{
+ POA_CORBA::IRObject_ptr impl = (POA_CORBA::WstringDef_ptr) obj;
+ POA_CORBA::IRObject::destroy_skel (
+ req,
+ (POA_CORBA::IRObject_ptr) impl,
+ context,
+ ACE_TRY_ENV
+ );
+}
+ACE_INLINE void POA_CORBA::SequenceDef::_get_type_skel (
+ TAO_ServerRequest &req,
+ void *obj,
+ void *context,
+ CORBA::Environment &ACE_TRY_ENV
+ )
+{
+ POA_CORBA::IDLType_ptr impl = (POA_CORBA::SequenceDef_ptr) obj;
+ POA_CORBA::IDLType::_get_type_skel (
+ req,
+ (POA_CORBA::IDLType_ptr) impl,
+ context,
+ ACE_TRY_ENV
+ );
+}
+ACE_INLINE void POA_CORBA::SequenceDef::_get_def_kind_skel (
+ TAO_ServerRequest &req,
+ void *obj,
+ void *context,
+ CORBA::Environment &ACE_TRY_ENV
+ )
+{
+ POA_CORBA::IRObject_ptr impl = (POA_CORBA::SequenceDef_ptr) obj;
+ POA_CORBA::IRObject::_get_def_kind_skel (
+ req,
+ (POA_CORBA::IRObject_ptr) impl,
+ context,
+ ACE_TRY_ENV
+ );
+}
+ACE_INLINE void POA_CORBA::SequenceDef::destroy_skel (
+ TAO_ServerRequest &req,
+ void *obj,
+ void *context,
+ CORBA::Environment &ACE_TRY_ENV
+ )
+{
+ POA_CORBA::IRObject_ptr impl = (POA_CORBA::SequenceDef_ptr) obj;
+ POA_CORBA::IRObject::destroy_skel (
+ req,
+ (POA_CORBA::IRObject_ptr) impl,
+ context,
+ ACE_TRY_ENV
+ );
+}
+ACE_INLINE void POA_CORBA::ArrayDef::_get_type_skel (
+ TAO_ServerRequest &req,
+ void *obj,
+ void *context,
+ CORBA::Environment &ACE_TRY_ENV
+ )
+{
+ POA_CORBA::IDLType_ptr impl = (POA_CORBA::ArrayDef_ptr) obj;
+ POA_CORBA::IDLType::_get_type_skel (
+ req,
+ (POA_CORBA::IDLType_ptr) impl,
+ context,
+ ACE_TRY_ENV
+ );
+}
+ACE_INLINE void POA_CORBA::ArrayDef::_get_def_kind_skel (
+ TAO_ServerRequest &req,
+ void *obj,
+ void *context,
+ CORBA::Environment &ACE_TRY_ENV
+ )
+{
+ POA_CORBA::IRObject_ptr impl = (POA_CORBA::ArrayDef_ptr) obj;
+ POA_CORBA::IRObject::_get_def_kind_skel (
+ req,
+ (POA_CORBA::IRObject_ptr) impl,
+ context,
+ ACE_TRY_ENV
+ );
+}
+ACE_INLINE void POA_CORBA::ArrayDef::destroy_skel (
+ TAO_ServerRequest &req,
+ void *obj,
+ void *context,
+ CORBA::Environment &ACE_TRY_ENV
+ )
+{
+ POA_CORBA::IRObject_ptr impl = (POA_CORBA::ArrayDef_ptr) obj;
+ POA_CORBA::IRObject::destroy_skel (
+ req,
+ (POA_CORBA::IRObject_ptr) impl,
+ context,
+ ACE_TRY_ENV
+ );
+}
+ACE_INLINE void POA_CORBA::ExceptionDef::_get_id_skel (
+ TAO_ServerRequest &req,
+ void *obj,
+ void *context,
+ CORBA::Environment &ACE_TRY_ENV
+ )
+{
+ POA_CORBA::Contained_ptr impl = (POA_CORBA::ExceptionDef_ptr) obj;
+ POA_CORBA::Contained::_get_id_skel (
+ req,
+ (POA_CORBA::Contained_ptr) impl,
+ context,
+ ACE_TRY_ENV
+ );
+}
+ACE_INLINE void POA_CORBA::ExceptionDef::_set_id_skel (
+ TAO_ServerRequest &req,
+ void *obj,
+ void *context,
+ CORBA::Environment &ACE_TRY_ENV
+ )
+{
+ POA_CORBA::Contained_ptr impl = (POA_CORBA::ExceptionDef_ptr) obj;
+ POA_CORBA::Contained::_set_id_skel (
+ req,
+ (POA_CORBA::Contained_ptr) impl,
+ context,
+ ACE_TRY_ENV
+ );
+}
+ACE_INLINE void POA_CORBA::ExceptionDef::_get_name_skel (
+ TAO_ServerRequest &req,
+ void *obj,
+ void *context,
+ CORBA::Environment &ACE_TRY_ENV
+ )
+{
+ POA_CORBA::Contained_ptr impl = (POA_CORBA::ExceptionDef_ptr) obj;
+ POA_CORBA::Contained::_get_name_skel (
+ req,
+ (POA_CORBA::Contained_ptr) impl,
+ context,
+ ACE_TRY_ENV
+ );
+}
+ACE_INLINE void POA_CORBA::ExceptionDef::_set_name_skel (
+ TAO_ServerRequest &req,
+ void *obj,
+ void *context,
+ CORBA::Environment &ACE_TRY_ENV
+ )
+{
+ POA_CORBA::Contained_ptr impl = (POA_CORBA::ExceptionDef_ptr) obj;
+ POA_CORBA::Contained::_set_name_skel (
+ req,
+ (POA_CORBA::Contained_ptr) impl,
+ context,
+ ACE_TRY_ENV
+ );
+}
+ACE_INLINE void POA_CORBA::ExceptionDef::_get_version_skel (
+ TAO_ServerRequest &req,
+ void *obj,
+ void *context,
+ CORBA::Environment &ACE_TRY_ENV
+ )
+{
+ POA_CORBA::Contained_ptr impl = (POA_CORBA::ExceptionDef_ptr) obj;
+ POA_CORBA::Contained::_get_version_skel (
+ req,
+ (POA_CORBA::Contained_ptr) impl,
+ context,
+ ACE_TRY_ENV
+ );
+}
+ACE_INLINE void POA_CORBA::ExceptionDef::_set_version_skel (
+ TAO_ServerRequest &req,
+ void *obj,
+ void *context,
+ CORBA::Environment &ACE_TRY_ENV
+ )
+{
+ POA_CORBA::Contained_ptr impl = (POA_CORBA::ExceptionDef_ptr) obj;
+ POA_CORBA::Contained::_set_version_skel (
+ req,
+ (POA_CORBA::Contained_ptr) impl,
+ context,
+ ACE_TRY_ENV
+ );
+}
+ACE_INLINE void POA_CORBA::ExceptionDef::_get_defined_in_skel (
+ TAO_ServerRequest &req,
+ void *obj,
+ void *context,
+ CORBA::Environment &ACE_TRY_ENV
+ )
+{
+ POA_CORBA::Contained_ptr impl = (POA_CORBA::ExceptionDef_ptr) obj;
+ POA_CORBA::Contained::_get_defined_in_skel (
+ req,
+ (POA_CORBA::Contained_ptr) impl,
+ context,
+ ACE_TRY_ENV
+ );
+}
+ACE_INLINE void POA_CORBA::ExceptionDef::_get_absolute_name_skel (
+ TAO_ServerRequest &req,
+ void *obj,
+ void *context,
+ CORBA::Environment &ACE_TRY_ENV
+ )
+{
+ POA_CORBA::Contained_ptr impl = (POA_CORBA::ExceptionDef_ptr) obj;
+ POA_CORBA::Contained::_get_absolute_name_skel (
+ req,
+ (POA_CORBA::Contained_ptr) impl,
+ context,
+ ACE_TRY_ENV
+ );
+}
+ACE_INLINE void POA_CORBA::ExceptionDef::_get_containing_repository_skel (
+ TAO_ServerRequest &req,
+ void *obj,
+ void *context,
+ CORBA::Environment &ACE_TRY_ENV
+ )
+{
+ POA_CORBA::Contained_ptr impl = (POA_CORBA::ExceptionDef_ptr) obj;
+ POA_CORBA::Contained::_get_containing_repository_skel (
+ req,
+ (POA_CORBA::Contained_ptr) impl,
+ context,
+ ACE_TRY_ENV
+ );
+}
+ACE_INLINE void POA_CORBA::ExceptionDef::describe_skel (
+ TAO_ServerRequest &req,
+ void *obj,
+ void *context,
+ CORBA::Environment &ACE_TRY_ENV
+ )
+{
+ POA_CORBA::Contained_ptr impl = (POA_CORBA::ExceptionDef_ptr) obj;
+ POA_CORBA::Contained::describe_skel (
+ req,
+ (POA_CORBA::Contained_ptr) impl,
+ context,
+ ACE_TRY_ENV
+ );
+}
+ACE_INLINE void POA_CORBA::ExceptionDef::move_skel (
+ TAO_ServerRequest &req,
+ void *obj,
+ void *context,
+ CORBA::Environment &ACE_TRY_ENV
+ )
+{
+ POA_CORBA::Contained_ptr impl = (POA_CORBA::ExceptionDef_ptr) obj;
+ POA_CORBA::Contained::move_skel (
+ req,
+ (POA_CORBA::Contained_ptr) impl,
+ context,
+ ACE_TRY_ENV
+ );
+}
+ACE_INLINE void POA_CORBA::ExceptionDef::lookup_skel (
+ TAO_ServerRequest &req,
+ void *obj,
+ void *context,
+ CORBA::Environment &ACE_TRY_ENV
+ )
+{
+ POA_CORBA::Container_ptr impl = (POA_CORBA::ExceptionDef_ptr) obj;
+ POA_CORBA::Container::lookup_skel (
+ req,
+ (POA_CORBA::Container_ptr) impl,
+ context,
+ ACE_TRY_ENV
+ );
+}
+ACE_INLINE void POA_CORBA::ExceptionDef::contents_skel (
+ TAO_ServerRequest &req,
+ void *obj,
+ void *context,
+ CORBA::Environment &ACE_TRY_ENV
+ )
+{
+ POA_CORBA::Container_ptr impl = (POA_CORBA::ExceptionDef_ptr) obj;
+ POA_CORBA::Container::contents_skel (
+ req,
+ (POA_CORBA::Container_ptr) impl,
+ context,
+ ACE_TRY_ENV
+ );
+}
+ACE_INLINE void POA_CORBA::ExceptionDef::lookup_name_skel (
+ TAO_ServerRequest &req,
+ void *obj,
+ void *context,
+ CORBA::Environment &ACE_TRY_ENV
+ )
+{
+ POA_CORBA::Container_ptr impl = (POA_CORBA::ExceptionDef_ptr) obj;
+ POA_CORBA::Container::lookup_name_skel (
+ req,
+ (POA_CORBA::Container_ptr) impl,
+ context,
+ ACE_TRY_ENV
+ );
+}
+ACE_INLINE void POA_CORBA::ExceptionDef::describe_contents_skel (
+ TAO_ServerRequest &req,
+ void *obj,
+ void *context,
+ CORBA::Environment &ACE_TRY_ENV
+ )
+{
+ POA_CORBA::Container_ptr impl = (POA_CORBA::ExceptionDef_ptr) obj;
+ POA_CORBA::Container::describe_contents_skel (
+ req,
+ (POA_CORBA::Container_ptr) impl,
+ context,
+ ACE_TRY_ENV
+ );
+}
+ACE_INLINE void POA_CORBA::ExceptionDef::create_module_skel (
+ TAO_ServerRequest &req,
+ void *obj,
+ void *context,
+ CORBA::Environment &ACE_TRY_ENV
+ )
+{
+ POA_CORBA::Container_ptr impl = (POA_CORBA::ExceptionDef_ptr) obj;
+ POA_CORBA::Container::create_module_skel (
+ req,
+ (POA_CORBA::Container_ptr) impl,
+ context,
+ ACE_TRY_ENV
+ );
+}
+ACE_INLINE void POA_CORBA::ExceptionDef::create_constant_skel (
+ TAO_ServerRequest &req,
+ void *obj,
+ void *context,
+ CORBA::Environment &ACE_TRY_ENV
+ )
+{
+ POA_CORBA::Container_ptr impl = (POA_CORBA::ExceptionDef_ptr) obj;
+ POA_CORBA::Container::create_constant_skel (
+ req,
+ (POA_CORBA::Container_ptr) impl,
+ context,
+ ACE_TRY_ENV
+ );
+}
+ACE_INLINE void POA_CORBA::ExceptionDef::create_struct_skel (
+ TAO_ServerRequest &req,
+ void *obj,
+ void *context,
+ CORBA::Environment &ACE_TRY_ENV
+ )
+{
+ POA_CORBA::Container_ptr impl = (POA_CORBA::ExceptionDef_ptr) obj;
+ POA_CORBA::Container::create_struct_skel (
+ req,
+ (POA_CORBA::Container_ptr) impl,
+ context,
+ ACE_TRY_ENV
+ );
+}
+ACE_INLINE void POA_CORBA::ExceptionDef::create_union_skel (
+ TAO_ServerRequest &req,
+ void *obj,
+ void *context,
+ CORBA::Environment &ACE_TRY_ENV
+ )
+{
+ POA_CORBA::Container_ptr impl = (POA_CORBA::ExceptionDef_ptr) obj;
+ POA_CORBA::Container::create_union_skel (
+ req,
+ (POA_CORBA::Container_ptr) impl,
+ context,
+ ACE_TRY_ENV
+ );
+}
+ACE_INLINE void POA_CORBA::ExceptionDef::create_enum_skel (
+ TAO_ServerRequest &req,
+ void *obj,
+ void *context,
+ CORBA::Environment &ACE_TRY_ENV
+ )
+{
+ POA_CORBA::Container_ptr impl = (POA_CORBA::ExceptionDef_ptr) obj;
+ POA_CORBA::Container::create_enum_skel (
+ req,
+ (POA_CORBA::Container_ptr) impl,
+ context,
+ ACE_TRY_ENV
+ );
+}
+ACE_INLINE void POA_CORBA::ExceptionDef::create_alias_skel (
+ TAO_ServerRequest &req,
+ void *obj,
+ void *context,
+ CORBA::Environment &ACE_TRY_ENV
+ )
+{
+ POA_CORBA::Container_ptr impl = (POA_CORBA::ExceptionDef_ptr) obj;
+ POA_CORBA::Container::create_alias_skel (
+ req,
+ (POA_CORBA::Container_ptr) impl,
+ context,
+ ACE_TRY_ENV
+ );
+}
+ACE_INLINE void POA_CORBA::ExceptionDef::create_interface_skel (
+ TAO_ServerRequest &req,
+ void *obj,
+ void *context,
+ CORBA::Environment &ACE_TRY_ENV
+ )
+{
+ POA_CORBA::Container_ptr impl = (POA_CORBA::ExceptionDef_ptr) obj;
+ POA_CORBA::Container::create_interface_skel (
+ req,
+ (POA_CORBA::Container_ptr) impl,
+ context,
+ ACE_TRY_ENV
+ );
+}
+ACE_INLINE void POA_CORBA::ExceptionDef::create_value_skel (
+ TAO_ServerRequest &req,
+ void *obj,
+ void *context,
+ CORBA::Environment &ACE_TRY_ENV
+ )
+{
+ POA_CORBA::Container_ptr impl = (POA_CORBA::ExceptionDef_ptr) obj;
+ POA_CORBA::Container::create_value_skel (
+ req,
+ (POA_CORBA::Container_ptr) impl,
+ context,
+ ACE_TRY_ENV
+ );
+}
+ACE_INLINE void POA_CORBA::ExceptionDef::create_value_box_skel (
+ TAO_ServerRequest &req,
+ void *obj,
+ void *context,
+ CORBA::Environment &ACE_TRY_ENV
+ )
+{
+ POA_CORBA::Container_ptr impl = (POA_CORBA::ExceptionDef_ptr) obj;
+ POA_CORBA::Container::create_value_box_skel (
+ req,
+ (POA_CORBA::Container_ptr) impl,
+ context,
+ ACE_TRY_ENV
+ );
+}
+ACE_INLINE void POA_CORBA::ExceptionDef::create_exception_skel (
+ TAO_ServerRequest &req,
+ void *obj,
+ void *context,
+ CORBA::Environment &ACE_TRY_ENV
+ )
+{
+ POA_CORBA::Container_ptr impl = (POA_CORBA::ExceptionDef_ptr) obj;
+ POA_CORBA::Container::create_exception_skel (
+ req,
+ (POA_CORBA::Container_ptr) impl,
+ context,
+ ACE_TRY_ENV
+ );
+}
+ACE_INLINE void POA_CORBA::ExceptionDef::create_native_skel (
+ TAO_ServerRequest &req,
+ void *obj,
+ void *context,
+ CORBA::Environment &ACE_TRY_ENV
+ )
+{
+ POA_CORBA::Container_ptr impl = (POA_CORBA::ExceptionDef_ptr) obj;
+ POA_CORBA::Container::create_native_skel (
+ req,
+ (POA_CORBA::Container_ptr) impl,
+ context,
+ ACE_TRY_ENV
+ );
+}
+ACE_INLINE void POA_CORBA::ExceptionDef::create_abstract_interface_skel (
+ TAO_ServerRequest &req,
+ void *obj,
+ void *context,
+ CORBA::Environment &ACE_TRY_ENV
+ )
+{
+ POA_CORBA::Container_ptr impl = (POA_CORBA::ExceptionDef_ptr) obj;
+ POA_CORBA::Container::create_abstract_interface_skel (
+ req,
+ (POA_CORBA::Container_ptr) impl,
+ context,
+ ACE_TRY_ENV
+ );
+}
+ACE_INLINE void POA_CORBA::ExceptionDef::create_local_interface_skel (
+ TAO_ServerRequest &req,
+ void *obj,
+ void *context,
+ CORBA::Environment &ACE_TRY_ENV
+ )
+{
+ POA_CORBA::Container_ptr impl = (POA_CORBA::ExceptionDef_ptr) obj;
+ POA_CORBA::Container::create_local_interface_skel (
+ req,
+ (POA_CORBA::Container_ptr) impl,
+ context,
+ ACE_TRY_ENV
+ );
+}
+ACE_INLINE void POA_CORBA::ExceptionDef::_get_def_kind_skel (
+ TAO_ServerRequest &req,
+ void *obj,
+ void *context,
+ CORBA::Environment &ACE_TRY_ENV
+ )
+{
+ POA_CORBA::IRObject_ptr impl = (POA_CORBA::ExceptionDef_ptr) obj;
+ POA_CORBA::IRObject::_get_def_kind_skel (
+ req,
+ (POA_CORBA::IRObject_ptr) impl,
+ context,
+ ACE_TRY_ENV
+ );
+}
+ACE_INLINE void POA_CORBA::ExceptionDef::destroy_skel (
+ TAO_ServerRequest &req,
+ void *obj,
+ void *context,
+ CORBA::Environment &ACE_TRY_ENV
+ )
+{
+ POA_CORBA::IRObject_ptr impl = (POA_CORBA::ExceptionDef_ptr) obj;
+ POA_CORBA::IRObject::destroy_skel (
+ req,
+ (POA_CORBA::IRObject_ptr) impl,
+ context,
+ ACE_TRY_ENV
+ );
+}
+ACE_INLINE void POA_CORBA::AttributeDef::_get_id_skel (
+ TAO_ServerRequest &req,
+ void *obj,
+ void *context,
+ CORBA::Environment &ACE_TRY_ENV
+ )
+{
+ POA_CORBA::Contained_ptr impl = (POA_CORBA::AttributeDef_ptr) obj;
+ POA_CORBA::Contained::_get_id_skel (
+ req,
+ (POA_CORBA::Contained_ptr) impl,
+ context,
+ ACE_TRY_ENV
+ );
+}
+ACE_INLINE void POA_CORBA::AttributeDef::_set_id_skel (
+ TAO_ServerRequest &req,
+ void *obj,
+ void *context,
+ CORBA::Environment &ACE_TRY_ENV
+ )
+{
+ POA_CORBA::Contained_ptr impl = (POA_CORBA::AttributeDef_ptr) obj;
+ POA_CORBA::Contained::_set_id_skel (
+ req,
+ (POA_CORBA::Contained_ptr) impl,
+ context,
+ ACE_TRY_ENV
+ );
+}
+ACE_INLINE void POA_CORBA::AttributeDef::_get_name_skel (
+ TAO_ServerRequest &req,
+ void *obj,
+ void *context,
+ CORBA::Environment &ACE_TRY_ENV
+ )
+{
+ POA_CORBA::Contained_ptr impl = (POA_CORBA::AttributeDef_ptr) obj;
+ POA_CORBA::Contained::_get_name_skel (
+ req,
+ (POA_CORBA::Contained_ptr) impl,
+ context,
+ ACE_TRY_ENV
+ );
+}
+ACE_INLINE void POA_CORBA::AttributeDef::_set_name_skel (
+ TAO_ServerRequest &req,
+ void *obj,
+ void *context,
+ CORBA::Environment &ACE_TRY_ENV
+ )
+{
+ POA_CORBA::Contained_ptr impl = (POA_CORBA::AttributeDef_ptr) obj;
+ POA_CORBA::Contained::_set_name_skel (
+ req,
+ (POA_CORBA::Contained_ptr) impl,
+ context,
+ ACE_TRY_ENV
+ );
+}
+ACE_INLINE void POA_CORBA::AttributeDef::_get_version_skel (
+ TAO_ServerRequest &req,
+ void *obj,
+ void *context,
+ CORBA::Environment &ACE_TRY_ENV
+ )
+{
+ POA_CORBA::Contained_ptr impl = (POA_CORBA::AttributeDef_ptr) obj;
+ POA_CORBA::Contained::_get_version_skel (
+ req,
+ (POA_CORBA::Contained_ptr) impl,
+ context,
+ ACE_TRY_ENV
+ );
+}
+ACE_INLINE void POA_CORBA::AttributeDef::_set_version_skel (
+ TAO_ServerRequest &req,
+ void *obj,
+ void *context,
+ CORBA::Environment &ACE_TRY_ENV
+ )
+{
+ POA_CORBA::Contained_ptr impl = (POA_CORBA::AttributeDef_ptr) obj;
+ POA_CORBA::Contained::_set_version_skel (
+ req,
+ (POA_CORBA::Contained_ptr) impl,
+ context,
+ ACE_TRY_ENV
+ );
+}
+ACE_INLINE void POA_CORBA::AttributeDef::_get_defined_in_skel (
+ TAO_ServerRequest &req,
+ void *obj,
+ void *context,
+ CORBA::Environment &ACE_TRY_ENV
+ )
+{
+ POA_CORBA::Contained_ptr impl = (POA_CORBA::AttributeDef_ptr) obj;
+ POA_CORBA::Contained::_get_defined_in_skel (
+ req,
+ (POA_CORBA::Contained_ptr) impl,
+ context,
+ ACE_TRY_ENV
+ );
+}
+ACE_INLINE void POA_CORBA::AttributeDef::_get_absolute_name_skel (
+ TAO_ServerRequest &req,
+ void *obj,
+ void *context,
+ CORBA::Environment &ACE_TRY_ENV
+ )
+{
+ POA_CORBA::Contained_ptr impl = (POA_CORBA::AttributeDef_ptr) obj;
+ POA_CORBA::Contained::_get_absolute_name_skel (
+ req,
+ (POA_CORBA::Contained_ptr) impl,
+ context,
+ ACE_TRY_ENV
+ );
+}
+ACE_INLINE void POA_CORBA::AttributeDef::_get_containing_repository_skel (
+ TAO_ServerRequest &req,
+ void *obj,
+ void *context,
+ CORBA::Environment &ACE_TRY_ENV
+ )
+{
+ POA_CORBA::Contained_ptr impl = (POA_CORBA::AttributeDef_ptr) obj;
+ POA_CORBA::Contained::_get_containing_repository_skel (
+ req,
+ (POA_CORBA::Contained_ptr) impl,
+ context,
+ ACE_TRY_ENV
+ );
+}
+ACE_INLINE void POA_CORBA::AttributeDef::describe_skel (
+ TAO_ServerRequest &req,
+ void *obj,
+ void *context,
+ CORBA::Environment &ACE_TRY_ENV
+ )
+{
+ POA_CORBA::Contained_ptr impl = (POA_CORBA::AttributeDef_ptr) obj;
+ POA_CORBA::Contained::describe_skel (
+ req,
+ (POA_CORBA::Contained_ptr) impl,
+ context,
+ ACE_TRY_ENV
+ );
+}
+ACE_INLINE void POA_CORBA::AttributeDef::move_skel (
+ TAO_ServerRequest &req,
+ void *obj,
+ void *context,
+ CORBA::Environment &ACE_TRY_ENV
+ )
+{
+ POA_CORBA::Contained_ptr impl = (POA_CORBA::AttributeDef_ptr) obj;
+ POA_CORBA::Contained::move_skel (
+ req,
+ (POA_CORBA::Contained_ptr) impl,
+ context,
+ ACE_TRY_ENV
+ );
+}
+ACE_INLINE void POA_CORBA::AttributeDef::_get_def_kind_skel (
+ TAO_ServerRequest &req,
+ void *obj,
+ void *context,
+ CORBA::Environment &ACE_TRY_ENV
+ )
+{
+ POA_CORBA::IRObject_ptr impl = (POA_CORBA::AttributeDef_ptr) obj;
+ POA_CORBA::IRObject::_get_def_kind_skel (
+ req,
+ (POA_CORBA::IRObject_ptr) impl,
+ context,
+ ACE_TRY_ENV
+ );
+}
+ACE_INLINE void POA_CORBA::AttributeDef::destroy_skel (
+ TAO_ServerRequest &req,
+ void *obj,
+ void *context,
+ CORBA::Environment &ACE_TRY_ENV
+ )
+{
+ POA_CORBA::IRObject_ptr impl = (POA_CORBA::AttributeDef_ptr) obj;
+ POA_CORBA::IRObject::destroy_skel (
+ req,
+ (POA_CORBA::IRObject_ptr) impl,
+ context,
+ ACE_TRY_ENV
+ );
+}
+ACE_INLINE void POA_CORBA::OperationDef::_get_id_skel (
+ TAO_ServerRequest &req,
+ void *obj,
+ void *context,
+ CORBA::Environment &ACE_TRY_ENV
+ )
+{
+ POA_CORBA::Contained_ptr impl = (POA_CORBA::OperationDef_ptr) obj;
+ POA_CORBA::Contained::_get_id_skel (
+ req,
+ (POA_CORBA::Contained_ptr) impl,
+ context,
+ ACE_TRY_ENV
+ );
+}
+ACE_INLINE void POA_CORBA::OperationDef::_set_id_skel (
+ TAO_ServerRequest &req,
+ void *obj,
+ void *context,
+ CORBA::Environment &ACE_TRY_ENV
+ )
+{
+ POA_CORBA::Contained_ptr impl = (POA_CORBA::OperationDef_ptr) obj;
+ POA_CORBA::Contained::_set_id_skel (
+ req,
+ (POA_CORBA::Contained_ptr) impl,
+ context,
+ ACE_TRY_ENV
+ );
+}
+ACE_INLINE void POA_CORBA::OperationDef::_get_name_skel (
+ TAO_ServerRequest &req,
+ void *obj,
+ void *context,
+ CORBA::Environment &ACE_TRY_ENV
+ )
+{
+ POA_CORBA::Contained_ptr impl = (POA_CORBA::OperationDef_ptr) obj;
+ POA_CORBA::Contained::_get_name_skel (
+ req,
+ (POA_CORBA::Contained_ptr) impl,
+ context,
+ ACE_TRY_ENV
+ );
+}
+ACE_INLINE void POA_CORBA::OperationDef::_set_name_skel (
+ TAO_ServerRequest &req,
+ void *obj,
+ void *context,
+ CORBA::Environment &ACE_TRY_ENV
+ )
+{
+ POA_CORBA::Contained_ptr impl = (POA_CORBA::OperationDef_ptr) obj;
+ POA_CORBA::Contained::_set_name_skel (
+ req,
+ (POA_CORBA::Contained_ptr) impl,
+ context,
+ ACE_TRY_ENV
+ );
+}
+ACE_INLINE void POA_CORBA::OperationDef::_get_version_skel (
+ TAO_ServerRequest &req,
+ void *obj,
+ void *context,
+ CORBA::Environment &ACE_TRY_ENV
+ )
+{
+ POA_CORBA::Contained_ptr impl = (POA_CORBA::OperationDef_ptr) obj;
+ POA_CORBA::Contained::_get_version_skel (
+ req,
+ (POA_CORBA::Contained_ptr) impl,
+ context,
+ ACE_TRY_ENV
+ );
+}
+ACE_INLINE void POA_CORBA::OperationDef::_set_version_skel (
+ TAO_ServerRequest &req,
+ void *obj,
+ void *context,
+ CORBA::Environment &ACE_TRY_ENV
+ )
+{
+ POA_CORBA::Contained_ptr impl = (POA_CORBA::OperationDef_ptr) obj;
+ POA_CORBA::Contained::_set_version_skel (
+ req,
+ (POA_CORBA::Contained_ptr) impl,
+ context,
+ ACE_TRY_ENV
+ );
+}
+ACE_INLINE void POA_CORBA::OperationDef::_get_defined_in_skel (
+ TAO_ServerRequest &req,
+ void *obj,
+ void *context,
+ CORBA::Environment &ACE_TRY_ENV
+ )
+{
+ POA_CORBA::Contained_ptr impl = (POA_CORBA::OperationDef_ptr) obj;
+ POA_CORBA::Contained::_get_defined_in_skel (
+ req,
+ (POA_CORBA::Contained_ptr) impl,
+ context,
+ ACE_TRY_ENV
+ );
+}
+ACE_INLINE void POA_CORBA::OperationDef::_get_absolute_name_skel (
+ TAO_ServerRequest &req,
+ void *obj,
+ void *context,
+ CORBA::Environment &ACE_TRY_ENV
+ )
+{
+ POA_CORBA::Contained_ptr impl = (POA_CORBA::OperationDef_ptr) obj;
+ POA_CORBA::Contained::_get_absolute_name_skel (
+ req,
+ (POA_CORBA::Contained_ptr) impl,
+ context,
+ ACE_TRY_ENV
+ );
+}
+ACE_INLINE void POA_CORBA::OperationDef::_get_containing_repository_skel (
+ TAO_ServerRequest &req,
+ void *obj,
+ void *context,
+ CORBA::Environment &ACE_TRY_ENV
+ )
+{
+ POA_CORBA::Contained_ptr impl = (POA_CORBA::OperationDef_ptr) obj;
+ POA_CORBA::Contained::_get_containing_repository_skel (
+ req,
+ (POA_CORBA::Contained_ptr) impl,
+ context,
+ ACE_TRY_ENV
+ );
+}
+ACE_INLINE void POA_CORBA::OperationDef::describe_skel (
+ TAO_ServerRequest &req,
+ void *obj,
+ void *context,
+ CORBA::Environment &ACE_TRY_ENV
+ )
+{
+ POA_CORBA::Contained_ptr impl = (POA_CORBA::OperationDef_ptr) obj;
+ POA_CORBA::Contained::describe_skel (
+ req,
+ (POA_CORBA::Contained_ptr) impl,
+ context,
+ ACE_TRY_ENV
+ );
+}
+ACE_INLINE void POA_CORBA::OperationDef::move_skel (
+ TAO_ServerRequest &req,
+ void *obj,
+ void *context,
+ CORBA::Environment &ACE_TRY_ENV
+ )
+{
+ POA_CORBA::Contained_ptr impl = (POA_CORBA::OperationDef_ptr) obj;
+ POA_CORBA::Contained::move_skel (
+ req,
+ (POA_CORBA::Contained_ptr) impl,
+ context,
+ ACE_TRY_ENV
+ );
+}
+ACE_INLINE void POA_CORBA::OperationDef::_get_def_kind_skel (
+ TAO_ServerRequest &req,
+ void *obj,
+ void *context,
+ CORBA::Environment &ACE_TRY_ENV
+ )
+{
+ POA_CORBA::IRObject_ptr impl = (POA_CORBA::OperationDef_ptr) obj;
+ POA_CORBA::IRObject::_get_def_kind_skel (
+ req,
+ (POA_CORBA::IRObject_ptr) impl,
+ context,
+ ACE_TRY_ENV
+ );
+}
+ACE_INLINE void POA_CORBA::OperationDef::destroy_skel (
+ TAO_ServerRequest &req,
+ void *obj,
+ void *context,
+ CORBA::Environment &ACE_TRY_ENV
+ )
+{
+ POA_CORBA::IRObject_ptr impl = (POA_CORBA::OperationDef_ptr) obj;
+ POA_CORBA::IRObject::destroy_skel (
+ req,
+ (POA_CORBA::IRObject_ptr) impl,
+ context,
+ ACE_TRY_ENV
+ );
+}
+ACE_INLINE void POA_CORBA::InterfaceDef::lookup_skel (
+ TAO_ServerRequest &req,
+ void *obj,
+ void *context,
+ CORBA::Environment &ACE_TRY_ENV
+ )
+{
+ POA_CORBA::Container_ptr impl = (POA_CORBA::InterfaceDef_ptr) obj;
+ POA_CORBA::Container::lookup_skel (
+ req,
+ (POA_CORBA::Container_ptr) impl,
+ context,
+ ACE_TRY_ENV
+ );
+}
+ACE_INLINE void POA_CORBA::InterfaceDef::contents_skel (
+ TAO_ServerRequest &req,
+ void *obj,
+ void *context,
+ CORBA::Environment &ACE_TRY_ENV
+ )
+{
+ POA_CORBA::Container_ptr impl = (POA_CORBA::InterfaceDef_ptr) obj;
+ POA_CORBA::Container::contents_skel (
+ req,
+ (POA_CORBA::Container_ptr) impl,
+ context,
+ ACE_TRY_ENV
+ );
+}
+ACE_INLINE void POA_CORBA::InterfaceDef::lookup_name_skel (
+ TAO_ServerRequest &req,
+ void *obj,
+ void *context,
+ CORBA::Environment &ACE_TRY_ENV
+ )
+{
+ POA_CORBA::Container_ptr impl = (POA_CORBA::InterfaceDef_ptr) obj;
+ POA_CORBA::Container::lookup_name_skel (
+ req,
+ (POA_CORBA::Container_ptr) impl,
+ context,
+ ACE_TRY_ENV
+ );
+}
+ACE_INLINE void POA_CORBA::InterfaceDef::describe_contents_skel (
+ TAO_ServerRequest &req,
+ void *obj,
+ void *context,
+ CORBA::Environment &ACE_TRY_ENV
+ )
+{
+ POA_CORBA::Container_ptr impl = (POA_CORBA::InterfaceDef_ptr) obj;
+ POA_CORBA::Container::describe_contents_skel (
+ req,
+ (POA_CORBA::Container_ptr) impl,
+ context,
+ ACE_TRY_ENV
+ );
+}
+ACE_INLINE void POA_CORBA::InterfaceDef::create_module_skel (
+ TAO_ServerRequest &req,
+ void *obj,
+ void *context,
+ CORBA::Environment &ACE_TRY_ENV
+ )
+{
+ POA_CORBA::Container_ptr impl = (POA_CORBA::InterfaceDef_ptr) obj;
+ POA_CORBA::Container::create_module_skel (
+ req,
+ (POA_CORBA::Container_ptr) impl,
+ context,
+ ACE_TRY_ENV
+ );
+}
+ACE_INLINE void POA_CORBA::InterfaceDef::create_constant_skel (
+ TAO_ServerRequest &req,
+ void *obj,
+ void *context,
+ CORBA::Environment &ACE_TRY_ENV
+ )
+{
+ POA_CORBA::Container_ptr impl = (POA_CORBA::InterfaceDef_ptr) obj;
+ POA_CORBA::Container::create_constant_skel (
+ req,
+ (POA_CORBA::Container_ptr) impl,
+ context,
+ ACE_TRY_ENV
+ );
+}
+ACE_INLINE void POA_CORBA::InterfaceDef::create_struct_skel (
+ TAO_ServerRequest &req,
+ void *obj,
+ void *context,
+ CORBA::Environment &ACE_TRY_ENV
+ )
+{
+ POA_CORBA::Container_ptr impl = (POA_CORBA::InterfaceDef_ptr) obj;
+ POA_CORBA::Container::create_struct_skel (
+ req,
+ (POA_CORBA::Container_ptr) impl,
+ context,
+ ACE_TRY_ENV
+ );
+}
+ACE_INLINE void POA_CORBA::InterfaceDef::create_union_skel (
+ TAO_ServerRequest &req,
+ void *obj,
+ void *context,
+ CORBA::Environment &ACE_TRY_ENV
+ )
+{
+ POA_CORBA::Container_ptr impl = (POA_CORBA::InterfaceDef_ptr) obj;
+ POA_CORBA::Container::create_union_skel (
+ req,
+ (POA_CORBA::Container_ptr) impl,
+ context,
+ ACE_TRY_ENV
+ );
+}
+ACE_INLINE void POA_CORBA::InterfaceDef::create_enum_skel (
+ TAO_ServerRequest &req,
+ void *obj,
+ void *context,
+ CORBA::Environment &ACE_TRY_ENV
+ )
+{
+ POA_CORBA::Container_ptr impl = (POA_CORBA::InterfaceDef_ptr) obj;
+ POA_CORBA::Container::create_enum_skel (
+ req,
+ (POA_CORBA::Container_ptr) impl,
+ context,
+ ACE_TRY_ENV
+ );
+}
+ACE_INLINE void POA_CORBA::InterfaceDef::create_alias_skel (
+ TAO_ServerRequest &req,
+ void *obj,
+ void *context,
+ CORBA::Environment &ACE_TRY_ENV
+ )
+{
+ POA_CORBA::Container_ptr impl = (POA_CORBA::InterfaceDef_ptr) obj;
+ POA_CORBA::Container::create_alias_skel (
+ req,
+ (POA_CORBA::Container_ptr) impl,
+ context,
+ ACE_TRY_ENV
+ );
+}
+ACE_INLINE void POA_CORBA::InterfaceDef::create_interface_skel (
+ TAO_ServerRequest &req,
+ void *obj,
+ void *context,
+ CORBA::Environment &ACE_TRY_ENV
+ )
+{
+ POA_CORBA::Container_ptr impl = (POA_CORBA::InterfaceDef_ptr) obj;
+ POA_CORBA::Container::create_interface_skel (
+ req,
+ (POA_CORBA::Container_ptr) impl,
+ context,
+ ACE_TRY_ENV
+ );
+}
+ACE_INLINE void POA_CORBA::InterfaceDef::create_value_skel (
+ TAO_ServerRequest &req,
+ void *obj,
+ void *context,
+ CORBA::Environment &ACE_TRY_ENV
+ )
+{
+ POA_CORBA::Container_ptr impl = (POA_CORBA::InterfaceDef_ptr) obj;
+ POA_CORBA::Container::create_value_skel (
+ req,
+ (POA_CORBA::Container_ptr) impl,
+ context,
+ ACE_TRY_ENV
+ );
+}
+ACE_INLINE void POA_CORBA::InterfaceDef::create_value_box_skel (
+ TAO_ServerRequest &req,
+ void *obj,
+ void *context,
+ CORBA::Environment &ACE_TRY_ENV
+ )
+{
+ POA_CORBA::Container_ptr impl = (POA_CORBA::InterfaceDef_ptr) obj;
+ POA_CORBA::Container::create_value_box_skel (
+ req,
+ (POA_CORBA::Container_ptr) impl,
+ context,
+ ACE_TRY_ENV
+ );
+}
+ACE_INLINE void POA_CORBA::InterfaceDef::create_exception_skel (
+ TAO_ServerRequest &req,
+ void *obj,
+ void *context,
+ CORBA::Environment &ACE_TRY_ENV
+ )
+{
+ POA_CORBA::Container_ptr impl = (POA_CORBA::InterfaceDef_ptr) obj;
+ POA_CORBA::Container::create_exception_skel (
+ req,
+ (POA_CORBA::Container_ptr) impl,
+ context,
+ ACE_TRY_ENV
+ );
+}
+ACE_INLINE void POA_CORBA::InterfaceDef::create_native_skel (
+ TAO_ServerRequest &req,
+ void *obj,
+ void *context,
+ CORBA::Environment &ACE_TRY_ENV
+ )
+{
+ POA_CORBA::Container_ptr impl = (POA_CORBA::InterfaceDef_ptr) obj;
+ POA_CORBA::Container::create_native_skel (
+ req,
+ (POA_CORBA::Container_ptr) impl,
+ context,
+ ACE_TRY_ENV
+ );
+}
+ACE_INLINE void POA_CORBA::InterfaceDef::create_abstract_interface_skel (
+ TAO_ServerRequest &req,
+ void *obj,
+ void *context,
+ CORBA::Environment &ACE_TRY_ENV
+ )
+{
+ POA_CORBA::Container_ptr impl = (POA_CORBA::InterfaceDef_ptr) obj;
+ POA_CORBA::Container::create_abstract_interface_skel (
+ req,
+ (POA_CORBA::Container_ptr) impl,
+ context,
+ ACE_TRY_ENV
+ );
+}
+ACE_INLINE void POA_CORBA::InterfaceDef::create_local_interface_skel (
+ TAO_ServerRequest &req,
+ void *obj,
+ void *context,
+ CORBA::Environment &ACE_TRY_ENV
+ )
+{
+ POA_CORBA::Container_ptr impl = (POA_CORBA::InterfaceDef_ptr) obj;
+ POA_CORBA::Container::create_local_interface_skel (
+ req,
+ (POA_CORBA::Container_ptr) impl,
+ context,
+ ACE_TRY_ENV
+ );
+}
+ACE_INLINE void POA_CORBA::InterfaceDef::_get_id_skel (
+ TAO_ServerRequest &req,
+ void *obj,
+ void *context,
+ CORBA::Environment &ACE_TRY_ENV
+ )
+{
+ POA_CORBA::Contained_ptr impl = (POA_CORBA::InterfaceDef_ptr) obj;
+ POA_CORBA::Contained::_get_id_skel (
+ req,
+ (POA_CORBA::Contained_ptr) impl,
+ context,
+ ACE_TRY_ENV
+ );
+}
+ACE_INLINE void POA_CORBA::InterfaceDef::_set_id_skel (
+ TAO_ServerRequest &req,
+ void *obj,
+ void *context,
+ CORBA::Environment &ACE_TRY_ENV
+ )
+{
+ POA_CORBA::Contained_ptr impl = (POA_CORBA::InterfaceDef_ptr) obj;
+ POA_CORBA::Contained::_set_id_skel (
+ req,
+ (POA_CORBA::Contained_ptr) impl,
+ context,
+ ACE_TRY_ENV
+ );
+}
+ACE_INLINE void POA_CORBA::InterfaceDef::_get_name_skel (
+ TAO_ServerRequest &req,
+ void *obj,
+ void *context,
+ CORBA::Environment &ACE_TRY_ENV
+ )
+{
+ POA_CORBA::Contained_ptr impl = (POA_CORBA::InterfaceDef_ptr) obj;
+ POA_CORBA::Contained::_get_name_skel (
+ req,
+ (POA_CORBA::Contained_ptr) impl,
+ context,
+ ACE_TRY_ENV
+ );
+}
+ACE_INLINE void POA_CORBA::InterfaceDef::_set_name_skel (
+ TAO_ServerRequest &req,
+ void *obj,
+ void *context,
+ CORBA::Environment &ACE_TRY_ENV
+ )
+{
+ POA_CORBA::Contained_ptr impl = (POA_CORBA::InterfaceDef_ptr) obj;
+ POA_CORBA::Contained::_set_name_skel (
+ req,
+ (POA_CORBA::Contained_ptr) impl,
+ context,
+ ACE_TRY_ENV
+ );
+}
+ACE_INLINE void POA_CORBA::InterfaceDef::_get_version_skel (
+ TAO_ServerRequest &req,
+ void *obj,
+ void *context,
+ CORBA::Environment &ACE_TRY_ENV
+ )
+{
+ POA_CORBA::Contained_ptr impl = (POA_CORBA::InterfaceDef_ptr) obj;
+ POA_CORBA::Contained::_get_version_skel (
+ req,
+ (POA_CORBA::Contained_ptr) impl,
+ context,
+ ACE_TRY_ENV
+ );
+}
+ACE_INLINE void POA_CORBA::InterfaceDef::_set_version_skel (
+ TAO_ServerRequest &req,
+ void *obj,
+ void *context,
+ CORBA::Environment &ACE_TRY_ENV
+ )
+{
+ POA_CORBA::Contained_ptr impl = (POA_CORBA::InterfaceDef_ptr) obj;
+ POA_CORBA::Contained::_set_version_skel (
+ req,
+ (POA_CORBA::Contained_ptr) impl,
+ context,
+ ACE_TRY_ENV
+ );
+}
+ACE_INLINE void POA_CORBA::InterfaceDef::_get_defined_in_skel (
+ TAO_ServerRequest &req,
+ void *obj,
+ void *context,
+ CORBA::Environment &ACE_TRY_ENV
+ )
+{
+ POA_CORBA::Contained_ptr impl = (POA_CORBA::InterfaceDef_ptr) obj;
+ POA_CORBA::Contained::_get_defined_in_skel (
+ req,
+ (POA_CORBA::Contained_ptr) impl,
+ context,
+ ACE_TRY_ENV
+ );
+}
+ACE_INLINE void POA_CORBA::InterfaceDef::_get_absolute_name_skel (
+ TAO_ServerRequest &req,
+ void *obj,
+ void *context,
+ CORBA::Environment &ACE_TRY_ENV
+ )
+{
+ POA_CORBA::Contained_ptr impl = (POA_CORBA::InterfaceDef_ptr) obj;
+ POA_CORBA::Contained::_get_absolute_name_skel (
+ req,
+ (POA_CORBA::Contained_ptr) impl,
+ context,
+ ACE_TRY_ENV
+ );
+}
+ACE_INLINE void POA_CORBA::InterfaceDef::_get_containing_repository_skel (
+ TAO_ServerRequest &req,
+ void *obj,
+ void *context,
+ CORBA::Environment &ACE_TRY_ENV
+ )
+{
+ POA_CORBA::Contained_ptr impl = (POA_CORBA::InterfaceDef_ptr) obj;
+ POA_CORBA::Contained::_get_containing_repository_skel (
+ req,
+ (POA_CORBA::Contained_ptr) impl,
+ context,
+ ACE_TRY_ENV
+ );
+}
+ACE_INLINE void POA_CORBA::InterfaceDef::describe_skel (
+ TAO_ServerRequest &req,
+ void *obj,
+ void *context,
+ CORBA::Environment &ACE_TRY_ENV
+ )
+{
+ POA_CORBA::Contained_ptr impl = (POA_CORBA::InterfaceDef_ptr) obj;
+ POA_CORBA::Contained::describe_skel (
+ req,
+ (POA_CORBA::Contained_ptr) impl,
+ context,
+ ACE_TRY_ENV
+ );
+}
+ACE_INLINE void POA_CORBA::InterfaceDef::move_skel (
+ TAO_ServerRequest &req,
+ void *obj,
+ void *context,
+ CORBA::Environment &ACE_TRY_ENV
+ )
+{
+ POA_CORBA::Contained_ptr impl = (POA_CORBA::InterfaceDef_ptr) obj;
+ POA_CORBA::Contained::move_skel (
+ req,
+ (POA_CORBA::Contained_ptr) impl,
+ context,
+ ACE_TRY_ENV
+ );
+}
+ACE_INLINE void POA_CORBA::InterfaceDef::_get_type_skel (
+ TAO_ServerRequest &req,
+ void *obj,
+ void *context,
+ CORBA::Environment &ACE_TRY_ENV
+ )
+{
+ POA_CORBA::IDLType_ptr impl = (POA_CORBA::InterfaceDef_ptr) obj;
+ POA_CORBA::IDLType::_get_type_skel (
+ req,
+ (POA_CORBA::IDLType_ptr) impl,
+ context,
+ ACE_TRY_ENV
+ );
+}
+ACE_INLINE void POA_CORBA::InterfaceDef::_get_def_kind_skel (
+ TAO_ServerRequest &req,
+ void *obj,
+ void *context,
+ CORBA::Environment &ACE_TRY_ENV
+ )
+{
+ POA_CORBA::IRObject_ptr impl = (POA_CORBA::InterfaceDef_ptr) obj;
+ POA_CORBA::IRObject::_get_def_kind_skel (
+ req,
+ (POA_CORBA::IRObject_ptr) impl,
+ context,
+ ACE_TRY_ENV
+ );
+}
+ACE_INLINE void POA_CORBA::InterfaceDef::destroy_skel (
+ TAO_ServerRequest &req,
+ void *obj,
+ void *context,
+ CORBA::Environment &ACE_TRY_ENV
+ )
+{
+ POA_CORBA::IRObject_ptr impl = (POA_CORBA::InterfaceDef_ptr) obj;
+ POA_CORBA::IRObject::destroy_skel (
+ req,
+ (POA_CORBA::IRObject_ptr) impl,
+ context,
+ ACE_TRY_ENV
+ );
+}
+ACE_INLINE void POA_CORBA::AbstractInterfaceDef::_get_base_interfaces_skel (
+ TAO_ServerRequest &req,
+ void *obj,
+ void *context,
+ CORBA::Environment &ACE_TRY_ENV
+ )
+{
+ POA_CORBA::InterfaceDef_ptr impl = (POA_CORBA::AbstractInterfaceDef_ptr) obj;
+ POA_CORBA::InterfaceDef::_get_base_interfaces_skel (
+ req,
+ (POA_CORBA::InterfaceDef_ptr) impl,
+ context,
+ ACE_TRY_ENV
+ );
+}
+ACE_INLINE void POA_CORBA::AbstractInterfaceDef::_set_base_interfaces_skel (
+ TAO_ServerRequest &req,
+ void *obj,
+ void *context,
+ CORBA::Environment &ACE_TRY_ENV
+ )
+{
+ POA_CORBA::InterfaceDef_ptr impl = (POA_CORBA::AbstractInterfaceDef_ptr) obj;
+ POA_CORBA::InterfaceDef::_set_base_interfaces_skel (
+ req,
+ (POA_CORBA::InterfaceDef_ptr) impl,
+ context,
+ ACE_TRY_ENV
+ );
+}
+ACE_INLINE void POA_CORBA::AbstractInterfaceDef::is_a_skel (
+ TAO_ServerRequest &req,
+ void *obj,
+ void *context,
+ CORBA::Environment &ACE_TRY_ENV
+ )
+{
+ POA_CORBA::InterfaceDef_ptr impl = (POA_CORBA::AbstractInterfaceDef_ptr) obj;
+ POA_CORBA::InterfaceDef::is_a_skel (
+ req,
+ (POA_CORBA::InterfaceDef_ptr) impl,
+ context,
+ ACE_TRY_ENV
+ );
+}
+ACE_INLINE void POA_CORBA::AbstractInterfaceDef::describe_interface_skel (
+ TAO_ServerRequest &req,
+ void *obj,
+ void *context,
+ CORBA::Environment &ACE_TRY_ENV
+ )
+{
+ POA_CORBA::InterfaceDef_ptr impl = (POA_CORBA::AbstractInterfaceDef_ptr) obj;
+ POA_CORBA::InterfaceDef::describe_interface_skel (
+ req,
+ (POA_CORBA::InterfaceDef_ptr) impl,
+ context,
+ ACE_TRY_ENV
+ );
+}
+ACE_INLINE void POA_CORBA::AbstractInterfaceDef::create_attribute_skel (
+ TAO_ServerRequest &req,
+ void *obj,
+ void *context,
+ CORBA::Environment &ACE_TRY_ENV
+ )
+{
+ POA_CORBA::InterfaceDef_ptr impl = (POA_CORBA::AbstractInterfaceDef_ptr) obj;
+ POA_CORBA::InterfaceDef::create_attribute_skel (
+ req,
+ (POA_CORBA::InterfaceDef_ptr) impl,
+ context,
+ ACE_TRY_ENV
+ );
+}
+ACE_INLINE void POA_CORBA::AbstractInterfaceDef::create_operation_skel (
+ TAO_ServerRequest &req,
+ void *obj,
+ void *context,
+ CORBA::Environment &ACE_TRY_ENV
+ )
+{
+ POA_CORBA::InterfaceDef_ptr impl = (POA_CORBA::AbstractInterfaceDef_ptr) obj;
+ POA_CORBA::InterfaceDef::create_operation_skel (
+ req,
+ (POA_CORBA::InterfaceDef_ptr) impl,
+ context,
+ ACE_TRY_ENV
+ );
+}
+ACE_INLINE void POA_CORBA::AbstractInterfaceDef::lookup_skel (
+ TAO_ServerRequest &req,
+ void *obj,
+ void *context,
+ CORBA::Environment &ACE_TRY_ENV
+ )
+{
+ POA_CORBA::Container_ptr impl = (POA_CORBA::AbstractInterfaceDef_ptr) obj;
+ POA_CORBA::Container::lookup_skel (
+ req,
+ (POA_CORBA::Container_ptr) impl,
+ context,
+ ACE_TRY_ENV
+ );
+}
+ACE_INLINE void POA_CORBA::AbstractInterfaceDef::contents_skel (
+ TAO_ServerRequest &req,
+ void *obj,
+ void *context,
+ CORBA::Environment &ACE_TRY_ENV
+ )
+{
+ POA_CORBA::Container_ptr impl = (POA_CORBA::AbstractInterfaceDef_ptr) obj;
+ POA_CORBA::Container::contents_skel (
+ req,
+ (POA_CORBA::Container_ptr) impl,
+ context,
+ ACE_TRY_ENV
+ );
+}
+ACE_INLINE void POA_CORBA::AbstractInterfaceDef::lookup_name_skel (
+ TAO_ServerRequest &req,
+ void *obj,
+ void *context,
+ CORBA::Environment &ACE_TRY_ENV
+ )
+{
+ POA_CORBA::Container_ptr impl = (POA_CORBA::AbstractInterfaceDef_ptr) obj;
+ POA_CORBA::Container::lookup_name_skel (
+ req,
+ (POA_CORBA::Container_ptr) impl,
+ context,
+ ACE_TRY_ENV
+ );
+}
+ACE_INLINE void POA_CORBA::AbstractInterfaceDef::describe_contents_skel (
+ TAO_ServerRequest &req,
+ void *obj,
+ void *context,
+ CORBA::Environment &ACE_TRY_ENV
+ )
+{
+ POA_CORBA::Container_ptr impl = (POA_CORBA::AbstractInterfaceDef_ptr) obj;
+ POA_CORBA::Container::describe_contents_skel (
+ req,
+ (POA_CORBA::Container_ptr) impl,
+ context,
+ ACE_TRY_ENV
+ );
+}
+ACE_INLINE void POA_CORBA::AbstractInterfaceDef::create_module_skel (
+ TAO_ServerRequest &req,
+ void *obj,
+ void *context,
+ CORBA::Environment &ACE_TRY_ENV
+ )
+{
+ POA_CORBA::Container_ptr impl = (POA_CORBA::AbstractInterfaceDef_ptr) obj;
+ POA_CORBA::Container::create_module_skel (
+ req,
+ (POA_CORBA::Container_ptr) impl,
+ context,
+ ACE_TRY_ENV
+ );
+}
+ACE_INLINE void POA_CORBA::AbstractInterfaceDef::create_constant_skel (
+ TAO_ServerRequest &req,
+ void *obj,
+ void *context,
+ CORBA::Environment &ACE_TRY_ENV
+ )
+{
+ POA_CORBA::Container_ptr impl = (POA_CORBA::AbstractInterfaceDef_ptr) obj;
+ POA_CORBA::Container::create_constant_skel (
+ req,
+ (POA_CORBA::Container_ptr) impl,
+ context,
+ ACE_TRY_ENV
+ );
+}
+ACE_INLINE void POA_CORBA::AbstractInterfaceDef::create_struct_skel (
+ TAO_ServerRequest &req,
+ void *obj,
+ void *context,
+ CORBA::Environment &ACE_TRY_ENV
+ )
+{
+ POA_CORBA::Container_ptr impl = (POA_CORBA::AbstractInterfaceDef_ptr) obj;
+ POA_CORBA::Container::create_struct_skel (
+ req,
+ (POA_CORBA::Container_ptr) impl,
+ context,
+ ACE_TRY_ENV
+ );
+}
+ACE_INLINE void POA_CORBA::AbstractInterfaceDef::create_union_skel (
+ TAO_ServerRequest &req,
+ void *obj,
+ void *context,
+ CORBA::Environment &ACE_TRY_ENV
+ )
+{
+ POA_CORBA::Container_ptr impl = (POA_CORBA::AbstractInterfaceDef_ptr) obj;
+ POA_CORBA::Container::create_union_skel (
+ req,
+ (POA_CORBA::Container_ptr) impl,
+ context,
+ ACE_TRY_ENV
+ );
+}
+ACE_INLINE void POA_CORBA::AbstractInterfaceDef::create_enum_skel (
+ TAO_ServerRequest &req,
+ void *obj,
+ void *context,
+ CORBA::Environment &ACE_TRY_ENV
+ )
+{
+ POA_CORBA::Container_ptr impl = (POA_CORBA::AbstractInterfaceDef_ptr) obj;
+ POA_CORBA::Container::create_enum_skel (
+ req,
+ (POA_CORBA::Container_ptr) impl,
+ context,
+ ACE_TRY_ENV
+ );
+}
+ACE_INLINE void POA_CORBA::AbstractInterfaceDef::create_alias_skel (
+ TAO_ServerRequest &req,
+ void *obj,
+ void *context,
+ CORBA::Environment &ACE_TRY_ENV
+ )
+{
+ POA_CORBA::Container_ptr impl = (POA_CORBA::AbstractInterfaceDef_ptr) obj;
+ POA_CORBA::Container::create_alias_skel (
+ req,
+ (POA_CORBA::Container_ptr) impl,
+ context,
+ ACE_TRY_ENV
+ );
+}
+ACE_INLINE void POA_CORBA::AbstractInterfaceDef::create_interface_skel (
+ TAO_ServerRequest &req,
+ void *obj,
+ void *context,
+ CORBA::Environment &ACE_TRY_ENV
+ )
+{
+ POA_CORBA::Container_ptr impl = (POA_CORBA::AbstractInterfaceDef_ptr) obj;
+ POA_CORBA::Container::create_interface_skel (
+ req,
+ (POA_CORBA::Container_ptr) impl,
+ context,
+ ACE_TRY_ENV
+ );
+}
+ACE_INLINE void POA_CORBA::AbstractInterfaceDef::create_value_skel (
+ TAO_ServerRequest &req,
+ void *obj,
+ void *context,
+ CORBA::Environment &ACE_TRY_ENV
+ )
+{
+ POA_CORBA::Container_ptr impl = (POA_CORBA::AbstractInterfaceDef_ptr) obj;
+ POA_CORBA::Container::create_value_skel (
+ req,
+ (POA_CORBA::Container_ptr) impl,
+ context,
+ ACE_TRY_ENV
+ );
+}
+ACE_INLINE void POA_CORBA::AbstractInterfaceDef::create_value_box_skel (
+ TAO_ServerRequest &req,
+ void *obj,
+ void *context,
+ CORBA::Environment &ACE_TRY_ENV
+ )
+{
+ POA_CORBA::Container_ptr impl = (POA_CORBA::AbstractInterfaceDef_ptr) obj;
+ POA_CORBA::Container::create_value_box_skel (
+ req,
+ (POA_CORBA::Container_ptr) impl,
+ context,
+ ACE_TRY_ENV
+ );
+}
+ACE_INLINE void POA_CORBA::AbstractInterfaceDef::create_exception_skel (
+ TAO_ServerRequest &req,
+ void *obj,
+ void *context,
+ CORBA::Environment &ACE_TRY_ENV
+ )
+{
+ POA_CORBA::Container_ptr impl = (POA_CORBA::AbstractInterfaceDef_ptr) obj;
+ POA_CORBA::Container::create_exception_skel (
+ req,
+ (POA_CORBA::Container_ptr) impl,
+ context,
+ ACE_TRY_ENV
+ );
+}
+ACE_INLINE void POA_CORBA::AbstractInterfaceDef::create_native_skel (
+ TAO_ServerRequest &req,
+ void *obj,
+ void *context,
+ CORBA::Environment &ACE_TRY_ENV
+ )
+{
+ POA_CORBA::Container_ptr impl = (POA_CORBA::AbstractInterfaceDef_ptr) obj;
+ POA_CORBA::Container::create_native_skel (
+ req,
+ (POA_CORBA::Container_ptr) impl,
+ context,
+ ACE_TRY_ENV
+ );
+}
+ACE_INLINE void POA_CORBA::AbstractInterfaceDef::create_abstract_interface_skel (
+ TAO_ServerRequest &req,
+ void *obj,
+ void *context,
+ CORBA::Environment &ACE_TRY_ENV
+ )
+{
+ POA_CORBA::Container_ptr impl = (POA_CORBA::AbstractInterfaceDef_ptr) obj;
+ POA_CORBA::Container::create_abstract_interface_skel (
+ req,
+ (POA_CORBA::Container_ptr) impl,
+ context,
+ ACE_TRY_ENV
+ );
+}
+ACE_INLINE void POA_CORBA::AbstractInterfaceDef::create_local_interface_skel (
+ TAO_ServerRequest &req,
+ void *obj,
+ void *context,
+ CORBA::Environment &ACE_TRY_ENV
+ )
+{
+ POA_CORBA::Container_ptr impl = (POA_CORBA::AbstractInterfaceDef_ptr) obj;
+ POA_CORBA::Container::create_local_interface_skel (
+ req,
+ (POA_CORBA::Container_ptr) impl,
+ context,
+ ACE_TRY_ENV
+ );
+}
+ACE_INLINE void POA_CORBA::AbstractInterfaceDef::_get_id_skel (
+ TAO_ServerRequest &req,
+ void *obj,
+ void *context,
+ CORBA::Environment &ACE_TRY_ENV
+ )
+{
+ POA_CORBA::Contained_ptr impl = (POA_CORBA::AbstractInterfaceDef_ptr) obj;
+ POA_CORBA::Contained::_get_id_skel (
+ req,
+ (POA_CORBA::Contained_ptr) impl,
+ context,
+ ACE_TRY_ENV
+ );
+}
+ACE_INLINE void POA_CORBA::AbstractInterfaceDef::_set_id_skel (
+ TAO_ServerRequest &req,
+ void *obj,
+ void *context,
+ CORBA::Environment &ACE_TRY_ENV
+ )
+{
+ POA_CORBA::Contained_ptr impl = (POA_CORBA::AbstractInterfaceDef_ptr) obj;
+ POA_CORBA::Contained::_set_id_skel (
+ req,
+ (POA_CORBA::Contained_ptr) impl,
+ context,
+ ACE_TRY_ENV
+ );
+}
+ACE_INLINE void POA_CORBA::AbstractInterfaceDef::_get_name_skel (
+ TAO_ServerRequest &req,
+ void *obj,
+ void *context,
+ CORBA::Environment &ACE_TRY_ENV
+ )
+{
+ POA_CORBA::Contained_ptr impl = (POA_CORBA::AbstractInterfaceDef_ptr) obj;
+ POA_CORBA::Contained::_get_name_skel (
+ req,
+ (POA_CORBA::Contained_ptr) impl,
+ context,
+ ACE_TRY_ENV
+ );
+}
+ACE_INLINE void POA_CORBA::AbstractInterfaceDef::_set_name_skel (
+ TAO_ServerRequest &req,
+ void *obj,
+ void *context,
+ CORBA::Environment &ACE_TRY_ENV
+ )
+{
+ POA_CORBA::Contained_ptr impl = (POA_CORBA::AbstractInterfaceDef_ptr) obj;
+ POA_CORBA::Contained::_set_name_skel (
+ req,
+ (POA_CORBA::Contained_ptr) impl,
+ context,
+ ACE_TRY_ENV
+ );
+}
+ACE_INLINE void POA_CORBA::AbstractInterfaceDef::_get_version_skel (
+ TAO_ServerRequest &req,
+ void *obj,
+ void *context,
+ CORBA::Environment &ACE_TRY_ENV
+ )
+{
+ POA_CORBA::Contained_ptr impl = (POA_CORBA::AbstractInterfaceDef_ptr) obj;
+ POA_CORBA::Contained::_get_version_skel (
+ req,
+ (POA_CORBA::Contained_ptr) impl,
+ context,
+ ACE_TRY_ENV
+ );
+}
+ACE_INLINE void POA_CORBA::AbstractInterfaceDef::_set_version_skel (
+ TAO_ServerRequest &req,
+ void *obj,
+ void *context,
+ CORBA::Environment &ACE_TRY_ENV
+ )
+{
+ POA_CORBA::Contained_ptr impl = (POA_CORBA::AbstractInterfaceDef_ptr) obj;
+ POA_CORBA::Contained::_set_version_skel (
+ req,
+ (POA_CORBA::Contained_ptr) impl,
+ context,
+ ACE_TRY_ENV
+ );
+}
+ACE_INLINE void POA_CORBA::AbstractInterfaceDef::_get_defined_in_skel (
+ TAO_ServerRequest &req,
+ void *obj,
+ void *context,
+ CORBA::Environment &ACE_TRY_ENV
+ )
+{
+ POA_CORBA::Contained_ptr impl = (POA_CORBA::AbstractInterfaceDef_ptr) obj;
+ POA_CORBA::Contained::_get_defined_in_skel (
+ req,
+ (POA_CORBA::Contained_ptr) impl,
+ context,
+ ACE_TRY_ENV
+ );
+}
+ACE_INLINE void POA_CORBA::AbstractInterfaceDef::_get_absolute_name_skel (
+ TAO_ServerRequest &req,
+ void *obj,
+ void *context,
+ CORBA::Environment &ACE_TRY_ENV
+ )
+{
+ POA_CORBA::Contained_ptr impl = (POA_CORBA::AbstractInterfaceDef_ptr) obj;
+ POA_CORBA::Contained::_get_absolute_name_skel (
+ req,
+ (POA_CORBA::Contained_ptr) impl,
+ context,
+ ACE_TRY_ENV
+ );
+}
+ACE_INLINE void POA_CORBA::AbstractInterfaceDef::_get_containing_repository_skel (
+ TAO_ServerRequest &req,
+ void *obj,
+ void *context,
+ CORBA::Environment &ACE_TRY_ENV
+ )
+{
+ POA_CORBA::Contained_ptr impl = (POA_CORBA::AbstractInterfaceDef_ptr) obj;
+ POA_CORBA::Contained::_get_containing_repository_skel (
+ req,
+ (POA_CORBA::Contained_ptr) impl,
+ context,
+ ACE_TRY_ENV
+ );
+}
+ACE_INLINE void POA_CORBA::AbstractInterfaceDef::describe_skel (
+ TAO_ServerRequest &req,
+ void *obj,
+ void *context,
+ CORBA::Environment &ACE_TRY_ENV
+ )
+{
+ POA_CORBA::Contained_ptr impl = (POA_CORBA::AbstractInterfaceDef_ptr) obj;
+ POA_CORBA::Contained::describe_skel (
+ req,
+ (POA_CORBA::Contained_ptr) impl,
+ context,
+ ACE_TRY_ENV
+ );
+}
+ACE_INLINE void POA_CORBA::AbstractInterfaceDef::move_skel (
+ TAO_ServerRequest &req,
+ void *obj,
+ void *context,
+ CORBA::Environment &ACE_TRY_ENV
+ )
+{
+ POA_CORBA::Contained_ptr impl = (POA_CORBA::AbstractInterfaceDef_ptr) obj;
+ POA_CORBA::Contained::move_skel (
+ req,
+ (POA_CORBA::Contained_ptr) impl,
+ context,
+ ACE_TRY_ENV
+ );
+}
+ACE_INLINE void POA_CORBA::AbstractInterfaceDef::_get_type_skel (
+ TAO_ServerRequest &req,
+ void *obj,
+ void *context,
+ CORBA::Environment &ACE_TRY_ENV
+ )
+{
+ POA_CORBA::IDLType_ptr impl = (POA_CORBA::AbstractInterfaceDef_ptr) obj;
+ POA_CORBA::IDLType::_get_type_skel (
+ req,
+ (POA_CORBA::IDLType_ptr) impl,
+ context,
+ ACE_TRY_ENV
+ );
+}
+ACE_INLINE void POA_CORBA::AbstractInterfaceDef::_get_def_kind_skel (
+ TAO_ServerRequest &req,
+ void *obj,
+ void *context,
+ CORBA::Environment &ACE_TRY_ENV
+ )
+{
+ POA_CORBA::IRObject_ptr impl = (POA_CORBA::AbstractInterfaceDef_ptr) obj;
+ POA_CORBA::IRObject::_get_def_kind_skel (
+ req,
+ (POA_CORBA::IRObject_ptr) impl,
+ context,
+ ACE_TRY_ENV
+ );
+}
+ACE_INLINE void POA_CORBA::AbstractInterfaceDef::destroy_skel (
+ TAO_ServerRequest &req,
+ void *obj,
+ void *context,
+ CORBA::Environment &ACE_TRY_ENV
+ )
+{
+ POA_CORBA::IRObject_ptr impl = (POA_CORBA::AbstractInterfaceDef_ptr) obj;
+ POA_CORBA::IRObject::destroy_skel (
+ req,
+ (POA_CORBA::IRObject_ptr) impl,
+ context,
+ ACE_TRY_ENV
+ );
+}
+ACE_INLINE void POA_CORBA::LocalInterfaceDef::_get_base_interfaces_skel (
+ TAO_ServerRequest &req,
+ void *obj,
+ void *context,
+ CORBA::Environment &ACE_TRY_ENV
+ )
+{
+ POA_CORBA::InterfaceDef_ptr impl = (POA_CORBA::LocalInterfaceDef_ptr) obj;
+ POA_CORBA::InterfaceDef::_get_base_interfaces_skel (
+ req,
+ (POA_CORBA::InterfaceDef_ptr) impl,
+ context,
+ ACE_TRY_ENV
+ );
+}
+ACE_INLINE void POA_CORBA::LocalInterfaceDef::_set_base_interfaces_skel (
+ TAO_ServerRequest &req,
+ void *obj,
+ void *context,
+ CORBA::Environment &ACE_TRY_ENV
+ )
+{
+ POA_CORBA::InterfaceDef_ptr impl = (POA_CORBA::LocalInterfaceDef_ptr) obj;
+ POA_CORBA::InterfaceDef::_set_base_interfaces_skel (
+ req,
+ (POA_CORBA::InterfaceDef_ptr) impl,
+ context,
+ ACE_TRY_ENV
+ );
+}
+ACE_INLINE void POA_CORBA::LocalInterfaceDef::is_a_skel (
+ TAO_ServerRequest &req,
+ void *obj,
+ void *context,
+ CORBA::Environment &ACE_TRY_ENV
+ )
+{
+ POA_CORBA::InterfaceDef_ptr impl = (POA_CORBA::LocalInterfaceDef_ptr) obj;
+ POA_CORBA::InterfaceDef::is_a_skel (
+ req,
+ (POA_CORBA::InterfaceDef_ptr) impl,
+ context,
+ ACE_TRY_ENV
+ );
+}
+ACE_INLINE void POA_CORBA::LocalInterfaceDef::describe_interface_skel (
+ TAO_ServerRequest &req,
+ void *obj,
+ void *context,
+ CORBA::Environment &ACE_TRY_ENV
+ )
+{
+ POA_CORBA::InterfaceDef_ptr impl = (POA_CORBA::LocalInterfaceDef_ptr) obj;
+ POA_CORBA::InterfaceDef::describe_interface_skel (
+ req,
+ (POA_CORBA::InterfaceDef_ptr) impl,
+ context,
+ ACE_TRY_ENV
+ );
+}
+ACE_INLINE void POA_CORBA::LocalInterfaceDef::create_attribute_skel (
+ TAO_ServerRequest &req,
+ void *obj,
+ void *context,
+ CORBA::Environment &ACE_TRY_ENV
+ )
+{
+ POA_CORBA::InterfaceDef_ptr impl = (POA_CORBA::LocalInterfaceDef_ptr) obj;
+ POA_CORBA::InterfaceDef::create_attribute_skel (
+ req,
+ (POA_CORBA::InterfaceDef_ptr) impl,
+ context,
+ ACE_TRY_ENV
+ );
+}
+ACE_INLINE void POA_CORBA::LocalInterfaceDef::create_operation_skel (
+ TAO_ServerRequest &req,
+ void *obj,
+ void *context,
+ CORBA::Environment &ACE_TRY_ENV
+ )
+{
+ POA_CORBA::InterfaceDef_ptr impl = (POA_CORBA::LocalInterfaceDef_ptr) obj;
+ POA_CORBA::InterfaceDef::create_operation_skel (
+ req,
+ (POA_CORBA::InterfaceDef_ptr) impl,
+ context,
+ ACE_TRY_ENV
+ );
+}
+ACE_INLINE void POA_CORBA::LocalInterfaceDef::lookup_skel (
+ TAO_ServerRequest &req,
+ void *obj,
+ void *context,
+ CORBA::Environment &ACE_TRY_ENV
+ )
+{
+ POA_CORBA::Container_ptr impl = (POA_CORBA::LocalInterfaceDef_ptr) obj;
+ POA_CORBA::Container::lookup_skel (
+ req,
+ (POA_CORBA::Container_ptr) impl,
+ context,
+ ACE_TRY_ENV
+ );
+}
+ACE_INLINE void POA_CORBA::LocalInterfaceDef::contents_skel (
+ TAO_ServerRequest &req,
+ void *obj,
+ void *context,
+ CORBA::Environment &ACE_TRY_ENV
+ )
+{
+ POA_CORBA::Container_ptr impl = (POA_CORBA::LocalInterfaceDef_ptr) obj;
+ POA_CORBA::Container::contents_skel (
+ req,
+ (POA_CORBA::Container_ptr) impl,
+ context,
+ ACE_TRY_ENV
+ );
+}
+ACE_INLINE void POA_CORBA::LocalInterfaceDef::lookup_name_skel (
+ TAO_ServerRequest &req,
+ void *obj,
+ void *context,
+ CORBA::Environment &ACE_TRY_ENV
+ )
+{
+ POA_CORBA::Container_ptr impl = (POA_CORBA::LocalInterfaceDef_ptr) obj;
+ POA_CORBA::Container::lookup_name_skel (
+ req,
+ (POA_CORBA::Container_ptr) impl,
+ context,
+ ACE_TRY_ENV
+ );
+}
+ACE_INLINE void POA_CORBA::LocalInterfaceDef::describe_contents_skel (
+ TAO_ServerRequest &req,
+ void *obj,
+ void *context,
+ CORBA::Environment &ACE_TRY_ENV
+ )
+{
+ POA_CORBA::Container_ptr impl = (POA_CORBA::LocalInterfaceDef_ptr) obj;
+ POA_CORBA::Container::describe_contents_skel (
+ req,
+ (POA_CORBA::Container_ptr) impl,
+ context,
+ ACE_TRY_ENV
+ );
+}
+ACE_INLINE void POA_CORBA::LocalInterfaceDef::create_module_skel (
+ TAO_ServerRequest &req,
+ void *obj,
+ void *context,
+ CORBA::Environment &ACE_TRY_ENV
+ )
+{
+ POA_CORBA::Container_ptr impl = (POA_CORBA::LocalInterfaceDef_ptr) obj;
+ POA_CORBA::Container::create_module_skel (
+ req,
+ (POA_CORBA::Container_ptr) impl,
+ context,
+ ACE_TRY_ENV
+ );
+}
+ACE_INLINE void POA_CORBA::LocalInterfaceDef::create_constant_skel (
+ TAO_ServerRequest &req,
+ void *obj,
+ void *context,
+ CORBA::Environment &ACE_TRY_ENV
+ )
+{
+ POA_CORBA::Container_ptr impl = (POA_CORBA::LocalInterfaceDef_ptr) obj;
+ POA_CORBA::Container::create_constant_skel (
+ req,
+ (POA_CORBA::Container_ptr) impl,
+ context,
+ ACE_TRY_ENV
+ );
+}
+ACE_INLINE void POA_CORBA::LocalInterfaceDef::create_struct_skel (
+ TAO_ServerRequest &req,
+ void *obj,
+ void *context,
+ CORBA::Environment &ACE_TRY_ENV
+ )
+{
+ POA_CORBA::Container_ptr impl = (POA_CORBA::LocalInterfaceDef_ptr) obj;
+ POA_CORBA::Container::create_struct_skel (
+ req,
+ (POA_CORBA::Container_ptr) impl,
+ context,
+ ACE_TRY_ENV
+ );
+}
+ACE_INLINE void POA_CORBA::LocalInterfaceDef::create_union_skel (
+ TAO_ServerRequest &req,
+ void *obj,
+ void *context,
+ CORBA::Environment &ACE_TRY_ENV
+ )
+{
+ POA_CORBA::Container_ptr impl = (POA_CORBA::LocalInterfaceDef_ptr) obj;
+ POA_CORBA::Container::create_union_skel (
+ req,
+ (POA_CORBA::Container_ptr) impl,
+ context,
+ ACE_TRY_ENV
+ );
+}
+ACE_INLINE void POA_CORBA::LocalInterfaceDef::create_enum_skel (
+ TAO_ServerRequest &req,
+ void *obj,
+ void *context,
+ CORBA::Environment &ACE_TRY_ENV
+ )
+{
+ POA_CORBA::Container_ptr impl = (POA_CORBA::LocalInterfaceDef_ptr) obj;
+ POA_CORBA::Container::create_enum_skel (
+ req,
+ (POA_CORBA::Container_ptr) impl,
+ context,
+ ACE_TRY_ENV
+ );
+}
+ACE_INLINE void POA_CORBA::LocalInterfaceDef::create_alias_skel (
+ TAO_ServerRequest &req,
+ void *obj,
+ void *context,
+ CORBA::Environment &ACE_TRY_ENV
+ )
+{
+ POA_CORBA::Container_ptr impl = (POA_CORBA::LocalInterfaceDef_ptr) obj;
+ POA_CORBA::Container::create_alias_skel (
+ req,
+ (POA_CORBA::Container_ptr) impl,
+ context,
+ ACE_TRY_ENV
+ );
+}
+ACE_INLINE void POA_CORBA::LocalInterfaceDef::create_interface_skel (
+ TAO_ServerRequest &req,
+ void *obj,
+ void *context,
+ CORBA::Environment &ACE_TRY_ENV
+ )
+{
+ POA_CORBA::Container_ptr impl = (POA_CORBA::LocalInterfaceDef_ptr) obj;
+ POA_CORBA::Container::create_interface_skel (
+ req,
+ (POA_CORBA::Container_ptr) impl,
+ context,
+ ACE_TRY_ENV
+ );
+}
+ACE_INLINE void POA_CORBA::LocalInterfaceDef::create_value_skel (
+ TAO_ServerRequest &req,
+ void *obj,
+ void *context,
+ CORBA::Environment &ACE_TRY_ENV
+ )
+{
+ POA_CORBA::Container_ptr impl = (POA_CORBA::LocalInterfaceDef_ptr) obj;
+ POA_CORBA::Container::create_value_skel (
+ req,
+ (POA_CORBA::Container_ptr) impl,
+ context,
+ ACE_TRY_ENV
+ );
+}
+ACE_INLINE void POA_CORBA::LocalInterfaceDef::create_value_box_skel (
+ TAO_ServerRequest &req,
+ void *obj,
+ void *context,
+ CORBA::Environment &ACE_TRY_ENV
+ )
+{
+ POA_CORBA::Container_ptr impl = (POA_CORBA::LocalInterfaceDef_ptr) obj;
+ POA_CORBA::Container::create_value_box_skel (
+ req,
+ (POA_CORBA::Container_ptr) impl,
+ context,
+ ACE_TRY_ENV
+ );
+}
+ACE_INLINE void POA_CORBA::LocalInterfaceDef::create_exception_skel (
+ TAO_ServerRequest &req,
+ void *obj,
+ void *context,
+ CORBA::Environment &ACE_TRY_ENV
+ )
+{
+ POA_CORBA::Container_ptr impl = (POA_CORBA::LocalInterfaceDef_ptr) obj;
+ POA_CORBA::Container::create_exception_skel (
+ req,
+ (POA_CORBA::Container_ptr) impl,
+ context,
+ ACE_TRY_ENV
+ );
+}
+ACE_INLINE void POA_CORBA::LocalInterfaceDef::create_native_skel (
+ TAO_ServerRequest &req,
+ void *obj,
+ void *context,
+ CORBA::Environment &ACE_TRY_ENV
+ )
+{
+ POA_CORBA::Container_ptr impl = (POA_CORBA::LocalInterfaceDef_ptr) obj;
+ POA_CORBA::Container::create_native_skel (
+ req,
+ (POA_CORBA::Container_ptr) impl,
+ context,
+ ACE_TRY_ENV
+ );
+}
+ACE_INLINE void POA_CORBA::LocalInterfaceDef::create_abstract_interface_skel (
+ TAO_ServerRequest &req,
+ void *obj,
+ void *context,
+ CORBA::Environment &ACE_TRY_ENV
+ )
+{
+ POA_CORBA::Container_ptr impl = (POA_CORBA::LocalInterfaceDef_ptr) obj;
+ POA_CORBA::Container::create_abstract_interface_skel (
+ req,
+ (POA_CORBA::Container_ptr) impl,
+ context,
+ ACE_TRY_ENV
+ );
+}
+ACE_INLINE void POA_CORBA::LocalInterfaceDef::create_local_interface_skel (
+ TAO_ServerRequest &req,
+ void *obj,
+ void *context,
+ CORBA::Environment &ACE_TRY_ENV
+ )
+{
+ POA_CORBA::Container_ptr impl = (POA_CORBA::LocalInterfaceDef_ptr) obj;
+ POA_CORBA::Container::create_local_interface_skel (
+ req,
+ (POA_CORBA::Container_ptr) impl,
+ context,
+ ACE_TRY_ENV
+ );
+}
+ACE_INLINE void POA_CORBA::LocalInterfaceDef::_get_id_skel (
+ TAO_ServerRequest &req,
+ void *obj,
+ void *context,
+ CORBA::Environment &ACE_TRY_ENV
+ )
+{
+ POA_CORBA::Contained_ptr impl = (POA_CORBA::LocalInterfaceDef_ptr) obj;
+ POA_CORBA::Contained::_get_id_skel (
+ req,
+ (POA_CORBA::Contained_ptr) impl,
+ context,
+ ACE_TRY_ENV
+ );
+}
+ACE_INLINE void POA_CORBA::LocalInterfaceDef::_set_id_skel (
+ TAO_ServerRequest &req,
+ void *obj,
+ void *context,
+ CORBA::Environment &ACE_TRY_ENV
+ )
+{
+ POA_CORBA::Contained_ptr impl = (POA_CORBA::LocalInterfaceDef_ptr) obj;
+ POA_CORBA::Contained::_set_id_skel (
+ req,
+ (POA_CORBA::Contained_ptr) impl,
+ context,
+ ACE_TRY_ENV
+ );
+}
+ACE_INLINE void POA_CORBA::LocalInterfaceDef::_get_name_skel (
+ TAO_ServerRequest &req,
+ void *obj,
+ void *context,
+ CORBA::Environment &ACE_TRY_ENV
+ )
+{
+ POA_CORBA::Contained_ptr impl = (POA_CORBA::LocalInterfaceDef_ptr) obj;
+ POA_CORBA::Contained::_get_name_skel (
+ req,
+ (POA_CORBA::Contained_ptr) impl,
+ context,
+ ACE_TRY_ENV
+ );
+}
+ACE_INLINE void POA_CORBA::LocalInterfaceDef::_set_name_skel (
+ TAO_ServerRequest &req,
+ void *obj,
+ void *context,
+ CORBA::Environment &ACE_TRY_ENV
+ )
+{
+ POA_CORBA::Contained_ptr impl = (POA_CORBA::LocalInterfaceDef_ptr) obj;
+ POA_CORBA::Contained::_set_name_skel (
+ req,
+ (POA_CORBA::Contained_ptr) impl,
+ context,
+ ACE_TRY_ENV
+ );
+}
+ACE_INLINE void POA_CORBA::LocalInterfaceDef::_get_version_skel (
+ TAO_ServerRequest &req,
+ void *obj,
+ void *context,
+ CORBA::Environment &ACE_TRY_ENV
+ )
+{
+ POA_CORBA::Contained_ptr impl = (POA_CORBA::LocalInterfaceDef_ptr) obj;
+ POA_CORBA::Contained::_get_version_skel (
+ req,
+ (POA_CORBA::Contained_ptr) impl,
+ context,
+ ACE_TRY_ENV
+ );
+}
+ACE_INLINE void POA_CORBA::LocalInterfaceDef::_set_version_skel (
+ TAO_ServerRequest &req,
+ void *obj,
+ void *context,
+ CORBA::Environment &ACE_TRY_ENV
+ )
+{
+ POA_CORBA::Contained_ptr impl = (POA_CORBA::LocalInterfaceDef_ptr) obj;
+ POA_CORBA::Contained::_set_version_skel (
+ req,
+ (POA_CORBA::Contained_ptr) impl,
+ context,
+ ACE_TRY_ENV
+ );
+}
+ACE_INLINE void POA_CORBA::LocalInterfaceDef::_get_defined_in_skel (
+ TAO_ServerRequest &req,
+ void *obj,
+ void *context,
+ CORBA::Environment &ACE_TRY_ENV
+ )
+{
+ POA_CORBA::Contained_ptr impl = (POA_CORBA::LocalInterfaceDef_ptr) obj;
+ POA_CORBA::Contained::_get_defined_in_skel (
+ req,
+ (POA_CORBA::Contained_ptr) impl,
+ context,
+ ACE_TRY_ENV
+ );
+}
+ACE_INLINE void POA_CORBA::LocalInterfaceDef::_get_absolute_name_skel (
+ TAO_ServerRequest &req,
+ void *obj,
+ void *context,
+ CORBA::Environment &ACE_TRY_ENV
+ )
+{
+ POA_CORBA::Contained_ptr impl = (POA_CORBA::LocalInterfaceDef_ptr) obj;
+ POA_CORBA::Contained::_get_absolute_name_skel (
+ req,
+ (POA_CORBA::Contained_ptr) impl,
+ context,
+ ACE_TRY_ENV
+ );
+}
+ACE_INLINE void POA_CORBA::LocalInterfaceDef::_get_containing_repository_skel (
+ TAO_ServerRequest &req,
+ void *obj,
+ void *context,
+ CORBA::Environment &ACE_TRY_ENV
+ )
+{
+ POA_CORBA::Contained_ptr impl = (POA_CORBA::LocalInterfaceDef_ptr) obj;
+ POA_CORBA::Contained::_get_containing_repository_skel (
+ req,
+ (POA_CORBA::Contained_ptr) impl,
+ context,
+ ACE_TRY_ENV
+ );
+}
+ACE_INLINE void POA_CORBA::LocalInterfaceDef::describe_skel (
+ TAO_ServerRequest &req,
+ void *obj,
+ void *context,
+ CORBA::Environment &ACE_TRY_ENV
+ )
+{
+ POA_CORBA::Contained_ptr impl = (POA_CORBA::LocalInterfaceDef_ptr) obj;
+ POA_CORBA::Contained::describe_skel (
+ req,
+ (POA_CORBA::Contained_ptr) impl,
+ context,
+ ACE_TRY_ENV
+ );
+}
+ACE_INLINE void POA_CORBA::LocalInterfaceDef::move_skel (
+ TAO_ServerRequest &req,
+ void *obj,
+ void *context,
+ CORBA::Environment &ACE_TRY_ENV
+ )
+{
+ POA_CORBA::Contained_ptr impl = (POA_CORBA::LocalInterfaceDef_ptr) obj;
+ POA_CORBA::Contained::move_skel (
+ req,
+ (POA_CORBA::Contained_ptr) impl,
+ context,
+ ACE_TRY_ENV
+ );
+}
+ACE_INLINE void POA_CORBA::LocalInterfaceDef::_get_type_skel (
+ TAO_ServerRequest &req,
+ void *obj,
+ void *context,
+ CORBA::Environment &ACE_TRY_ENV
+ )
+{
+ POA_CORBA::IDLType_ptr impl = (POA_CORBA::LocalInterfaceDef_ptr) obj;
+ POA_CORBA::IDLType::_get_type_skel (
+ req,
+ (POA_CORBA::IDLType_ptr) impl,
+ context,
+ ACE_TRY_ENV
+ );
+}
+ACE_INLINE void POA_CORBA::LocalInterfaceDef::_get_def_kind_skel (
+ TAO_ServerRequest &req,
+ void *obj,
+ void *context,
+ CORBA::Environment &ACE_TRY_ENV
+ )
+{
+ POA_CORBA::IRObject_ptr impl = (POA_CORBA::LocalInterfaceDef_ptr) obj;
+ POA_CORBA::IRObject::_get_def_kind_skel (
+ req,
+ (POA_CORBA::IRObject_ptr) impl,
+ context,
+ ACE_TRY_ENV
+ );
+}
+ACE_INLINE void POA_CORBA::LocalInterfaceDef::destroy_skel (
+ TAO_ServerRequest &req,
+ void *obj,
+ void *context,
+ CORBA::Environment &ACE_TRY_ENV
+ )
+{
+ POA_CORBA::IRObject_ptr impl = (POA_CORBA::LocalInterfaceDef_ptr) obj;
+ POA_CORBA::IRObject::destroy_skel (
+ req,
+ (POA_CORBA::IRObject_ptr) impl,
+ context,
+ ACE_TRY_ENV
+ );
+}
diff --git a/TAO/orbsvcs/IFR_Service/IFR_BasicS_T.cpp b/TAO/orbsvcs/IFR_Service/IFR_BasicS_T.cpp
new file mode 100644
index 00000000000..6a77e8de23a
--- /dev/null
+++ b/TAO/orbsvcs/IFR_Service/IFR_BasicS_T.cpp
@@ -0,0 +1,32 @@
+// -*- C++ -*-
+//
+// $Id$
+
+// **** Code generated by the The ACE ORB (TAO) IDL Compiler ****
+// TAO and the TAO IDL Compiler have been developed by:
+// Center for Distributed Object Computing
+// Washington University
+// St. Louis, MO
+// USA
+// http://www.cs.wustl.edu/~schmidt/doc-center.html
+// and
+// Distributed Object Computing Laboratory
+// University of California at Irvine
+// Irvine, CA
+// USA
+// http://doc.ece.uci.edu/
+//
+// Information about TAO is available at:
+// http://www.cs.wustl.edu/~schmidt/TAO.html
+
+#ifndef TAO_IDL_IFR_BASICS_T_CPP
+#define TAO_IDL_IFR_BASICS_T_CPP
+
+#include "IFR_BasicS_T.h"
+
+#if !defined (__ACE_INLINE__)
+#include "IFR_BasicS_T.i"
+#endif /* !defined INLINE */
+
+
+#endif /* ifndef */
diff --git a/TAO/orbsvcs/IFR_Service/IFR_BasicS_T.h b/TAO/orbsvcs/IFR_Service/IFR_BasicS_T.h
new file mode 100644
index 00000000000..2ac29d3b45a
--- /dev/null
+++ b/TAO/orbsvcs/IFR_Service/IFR_BasicS_T.h
@@ -0,0 +1,53 @@
+// -*- C++ -*-
+//
+// $Id$
+
+// **** Code generated by the The ACE ORB (TAO) IDL Compiler ****
+// TAO and the TAO IDL Compiler have been developed by:
+// Center for Distributed Object Computing
+// Washington University
+// St. Louis, MO
+// USA
+// http://www.cs.wustl.edu/~schmidt/doc-center.html
+// and
+// Distributed Object Computing Laboratory
+// University of California at Irvine
+// Irvine, CA
+// USA
+// http://doc.ece.uci.edu/
+//
+// Information about TAO is available at:
+// http://www.cs.wustl.edu/~schmidt/TAO.html
+
+#ifndef TAO_IDL_IFR_BASICS_T_H
+#define TAO_IDL_IFR_BASICS_T_H
+
+#include "ace/pre.h"
+#if defined(_MSC_VER)
+#if (_MSC_VER >= 1200)
+#pragma warning(push)
+#endif /* _MSC_VER >= 1200 */
+#pragma warning(disable:4250)
+#endif /* _MSC_VER */
+
+
+#if defined (__ACE_INLINE__)
+#include "IFR_BasicS_T.i"
+#endif /* defined INLINE */
+
+
+#if defined (ACE_TEMPLATES_REQUIRE_SOURCE)
+#include "IFR_BasicS_T.cpp"
+#endif /* defined REQUIRED SOURCE */
+
+
+#if defined (ACE_TEMPLATES_REQUIRE_PRAGMA)
+#pragma implementation ("IFR_BasicS_T.cpp")
+#endif /* defined REQUIRED PRAGMA */
+
+#if defined(_MSC_VER) && (_MSC_VER >= 1200)
+#pragma warning(pop)
+#endif /* _MSC_VER */
+
+#include "ace/post.h"
+#endif /* ifndef */
diff --git a/TAO/orbsvcs/IFR_Service/IFR_BasicS_T.i b/TAO/orbsvcs/IFR_Service/IFR_BasicS_T.i
new file mode 100644
index 00000000000..4890f61aec8
--- /dev/null
+++ b/TAO/orbsvcs/IFR_Service/IFR_BasicS_T.i
@@ -0,0 +1,8217 @@
+// -*- C++ -*-
+//
+// $Id$
+
+// **** Code generated by the The ACE ORB (TAO) IDL Compiler ****
+// TAO and the TAO IDL Compiler have been developed by:
+// Center for Distributed Object Computing
+// Washington University
+// St. Louis, MO
+// USA
+// http://www.cs.wustl.edu/~schmidt/doc-center.html
+// and
+// Distributed Object Computing Laboratory
+// University of California at Irvine
+// Irvine, CA
+// USA
+// http://doc.ece.uci.edu/
+//
+// Information about TAO is available at:
+// http://www.cs.wustl.edu/~schmidt/TAO.html
+
+
+#if defined (ACE_HAS_USING_KEYWORD)
+template <class T> ACE_INLINE
+POA_CORBA::Repository_tie<T>::Repository_tie (T &t)
+ : ptr_ (&t),
+ poa_ (PortableServer::POA::_nil ()),
+ rel_ (0)
+{}
+
+template <class T> ACE_INLINE
+POA_CORBA::Repository_tie<T>::Repository_tie (T &t, PortableServer::POA_ptr poa)
+ : ptr_ (&t),
+ poa_ (PortableServer::POA::_duplicate (poa)),
+ rel_ (0)
+{}
+
+template <class T> ACE_INLINE
+POA_CORBA::Repository_tie<T>::Repository_tie (T *tp, CORBA::Boolean release)
+ : ptr_ (tp),
+ poa_ (PortableServer::POA::_nil ()),
+ rel_ (release)
+{}
+
+template <class T> ACE_INLINE
+POA_CORBA::Repository_tie<T>::Repository_tie (T *tp, PortableServer::POA_ptr poa, CORBA::Boolean release)
+ : ptr_ (tp),
+ poa_ (PortableServer::POA::_duplicate (poa)),
+ rel_ (release)
+{}
+
+template <class T> ACE_INLINE
+POA_CORBA::Repository_tie<T>::~Repository_tie (void)
+{
+ if (this->rel_) delete this->ptr_;
+}
+
+template <class T> ACE_INLINE T *
+POA_CORBA::Repository_tie<T>::_tied_object (void)
+{
+ return this->ptr_;
+}
+
+template <class T> ACE_INLINE void
+POA_CORBA::Repository_tie<T>::_tied_object (T &obj)
+{
+ if (this->rel_) delete this->ptr_;
+ this->ptr_ = &obj;
+ this->rel_ = 0;
+}
+
+template <class T> ACE_INLINE void
+POA_CORBA::Repository_tie<T>::_tied_object (T *obj, CORBA::Boolean release)
+{
+ if (this->rel_) delete this->ptr_;
+ this->ptr_ = obj;
+ this->rel_ = release;
+}
+
+template <class T> ACE_INLINE CORBA::Boolean
+POA_CORBA::Repository_tie<T>::_is_owner (void)
+{
+ return this->rel_;
+}
+
+template <class T> ACE_INLINE void
+POA_CORBA::Repository_tie<T>::_is_owner (CORBA::Boolean b)
+{
+ this->rel_ = b;
+}
+
+template <class T> ACE_INLINE PortableServer::POA_ptr
+POA_CORBA::Repository_tie<T>::_default_POA (CORBA::Environment &ACE_TRY_ENV)
+{
+ if (!CORBA::is_nil (this->poa_.in ()))
+ return PortableServer::POA::_duplicate (this->poa_.in ());
+
+ return this->Repository::_default_POA (ACE_TRY_ENV);
+}
+
+template <class T> ACE_INLINE
+CORBA::Contained_ptr POA_CORBA::Repository_tie<T>::lookup_id (
+ const char * search_id,
+ CORBA::Environment &ACE_TRY_ENV
+ )
+ ACE_THROW_SPEC ((
+ CORBA::SystemException
+ ))
+{
+ return this->ptr_->lookup_id (
+search_id,
+ ACE_TRY_ENV
+ );
+}
+
+template <class T> ACE_INLINE
+CORBA::TypeCode_ptr POA_CORBA::Repository_tie<T>::get_canonical_typecode (
+ CORBA::TypeCode_ptr tc,
+ CORBA::Environment &ACE_TRY_ENV
+ )
+ ACE_THROW_SPEC ((
+ CORBA::SystemException
+ ))
+{
+ return this->ptr_->get_canonical_typecode (
+tc,
+ ACE_TRY_ENV
+ );
+}
+
+template <class T> ACE_INLINE
+CORBA::PrimitiveDef_ptr POA_CORBA::Repository_tie<T>::get_primitive (
+ CORBA::PrimitiveKind kind,
+ CORBA::Environment &ACE_TRY_ENV
+ )
+ ACE_THROW_SPEC ((
+ CORBA::SystemException
+ ))
+{
+ return this->ptr_->get_primitive (
+kind,
+ ACE_TRY_ENV
+ );
+}
+
+template <class T> ACE_INLINE
+CORBA::StringDef_ptr POA_CORBA::Repository_tie<T>::create_string (
+ CORBA::ULong bound,
+ CORBA::Environment &ACE_TRY_ENV
+ )
+ ACE_THROW_SPEC ((
+ CORBA::SystemException
+ ))
+{
+ return this->ptr_->create_string (
+bound,
+ ACE_TRY_ENV
+ );
+}
+
+template <class T> ACE_INLINE
+CORBA::WstringDef_ptr POA_CORBA::Repository_tie<T>::create_wstring (
+ CORBA::ULong bound,
+ CORBA::Environment &ACE_TRY_ENV
+ )
+ ACE_THROW_SPEC ((
+ CORBA::SystemException
+ ))
+{
+ return this->ptr_->create_wstring (
+bound,
+ ACE_TRY_ENV
+ );
+}
+
+template <class T> ACE_INLINE
+CORBA::SequenceDef_ptr POA_CORBA::Repository_tie<T>::create_sequence (
+ CORBA::ULong bound,
+ CORBA::IDLType_ptr element_type,
+ CORBA::Environment &ACE_TRY_ENV
+ )
+ ACE_THROW_SPEC ((
+ CORBA::SystemException
+ ))
+{
+ return this->ptr_->create_sequence (
+bound,
+ element_type,
+ ACE_TRY_ENV
+ );
+}
+
+template <class T> ACE_INLINE
+CORBA::ArrayDef_ptr POA_CORBA::Repository_tie<T>::create_array (
+ CORBA::ULong length,
+ CORBA::IDLType_ptr element_type,
+ CORBA::Environment &ACE_TRY_ENV
+ )
+ ACE_THROW_SPEC ((
+ CORBA::SystemException
+ ))
+{
+ return this->ptr_->create_array (
+length,
+ element_type,
+ ACE_TRY_ENV
+ );
+}
+
+template <class T> ACE_INLINE
+CORBA::FixedDef_ptr POA_CORBA::Repository_tie<T>::create_fixed (
+ CORBA::UShort digits,
+ CORBA::Short scale,
+ CORBA::Environment &ACE_TRY_ENV
+ )
+ ACE_THROW_SPEC ((
+ CORBA::SystemException
+ ))
+{
+ return this->ptr_->create_fixed (
+digits,
+ scale,
+ ACE_TRY_ENV
+ );
+}
+
+template <class T> ACE_INLINE
+CORBA::Contained_ptr POA_CORBA::Repository_tie<T>::lookup (
+ const char * search_name,
+ CORBA::Environment &ACE_TRY_ENV
+ )
+ ACE_THROW_SPEC ((
+ CORBA::SystemException
+ ))
+{
+ return this->ptr_->lookup (
+search_name,
+ ACE_TRY_ENV
+ );
+}
+
+template <class T> ACE_INLINE
+CORBA::ContainedSeq * POA_CORBA::Repository_tie<T>::contents (
+ CORBA::DefinitionKind limit_type,
+ CORBA::Boolean exclude_inherited,
+ CORBA::Environment &ACE_TRY_ENV
+ )
+ ACE_THROW_SPEC ((
+ CORBA::SystemException
+ ))
+{
+ return this->ptr_->contents (
+limit_type,
+ exclude_inherited,
+ ACE_TRY_ENV
+ );
+}
+
+template <class T> ACE_INLINE
+CORBA::ContainedSeq * POA_CORBA::Repository_tie<T>::lookup_name (
+ const char * search_name,
+ CORBA::Long levels_to_search,
+ CORBA::DefinitionKind limit_type,
+ CORBA::Boolean exclude_inherited,
+ CORBA::Environment &ACE_TRY_ENV
+ )
+ ACE_THROW_SPEC ((
+ CORBA::SystemException
+ ))
+{
+ return this->ptr_->lookup_name (
+search_name,
+ levels_to_search,
+ limit_type,
+ exclude_inherited,
+ ACE_TRY_ENV
+ );
+}
+
+template <class T> ACE_INLINE
+CORBA::Container::DescriptionSeq * POA_CORBA::Repository_tie<T>::describe_contents (
+ CORBA::DefinitionKind limit_type,
+ CORBA::Boolean exclude_inherited,
+ CORBA::Long max_returned_objs,
+ CORBA::Environment &ACE_TRY_ENV
+ )
+ ACE_THROW_SPEC ((
+ CORBA::SystemException
+ ))
+{
+ return this->ptr_->describe_contents (
+limit_type,
+ exclude_inherited,
+ max_returned_objs,
+ ACE_TRY_ENV
+ );
+}
+
+template <class T> ACE_INLINE
+CORBA::ModuleDef_ptr POA_CORBA::Repository_tie<T>::create_module (
+ const char * id,
+ const char * name,
+ const char * version,
+ CORBA::Environment &ACE_TRY_ENV
+ )
+ ACE_THROW_SPEC ((
+ CORBA::SystemException
+ ))
+{
+ return this->ptr_->create_module (
+id,
+ name,
+ version,
+ ACE_TRY_ENV
+ );
+}
+
+template <class T> ACE_INLINE
+CORBA::ConstantDef_ptr POA_CORBA::Repository_tie<T>::create_constant (
+ const char * id,
+ const char * name,
+ const char * version,
+ CORBA::IDLType_ptr type,
+ const CORBA::Any & value,
+ CORBA::Environment &ACE_TRY_ENV
+ )
+ ACE_THROW_SPEC ((
+ CORBA::SystemException
+ ))
+{
+ return this->ptr_->create_constant (
+id,
+ name,
+ version,
+ type,
+ value,
+ ACE_TRY_ENV
+ );
+}
+
+template <class T> ACE_INLINE
+CORBA::StructDef_ptr POA_CORBA::Repository_tie<T>::create_struct (
+ const char * id,
+ const char * name,
+ const char * version,
+ const CORBA::StructMemberSeq & members,
+ CORBA::Environment &ACE_TRY_ENV
+ )
+ ACE_THROW_SPEC ((
+ CORBA::SystemException
+ ))
+{
+ return this->ptr_->create_struct (
+id,
+ name,
+ version,
+ members,
+ ACE_TRY_ENV
+ );
+}
+
+template <class T> ACE_INLINE
+CORBA::UnionDef_ptr POA_CORBA::Repository_tie<T>::create_union (
+ const char * id,
+ const char * name,
+ const char * version,
+ CORBA::IDLType_ptr discriminator_type,
+ const CORBA::UnionMemberSeq & members,
+ CORBA::Environment &ACE_TRY_ENV
+ )
+ ACE_THROW_SPEC ((
+ CORBA::SystemException
+ ))
+{
+ return this->ptr_->create_union (
+id,
+ name,
+ version,
+ discriminator_type,
+ members,
+ ACE_TRY_ENV
+ );
+}
+
+template <class T> ACE_INLINE
+CORBA::EnumDef_ptr POA_CORBA::Repository_tie<T>::create_enum (
+ const char * id,
+ const char * name,
+ const char * version,
+ const CORBA::EnumMemberSeq & members,
+ CORBA::Environment &ACE_TRY_ENV
+ )
+ ACE_THROW_SPEC ((
+ CORBA::SystemException
+ ))
+{
+ return this->ptr_->create_enum (
+id,
+ name,
+ version,
+ members,
+ ACE_TRY_ENV
+ );
+}
+
+template <class T> ACE_INLINE
+CORBA::AliasDef_ptr POA_CORBA::Repository_tie<T>::create_alias (
+ const char * id,
+ const char * name,
+ const char * version,
+ CORBA::IDLType_ptr original_type,
+ CORBA::Environment &ACE_TRY_ENV
+ )
+ ACE_THROW_SPEC ((
+ CORBA::SystemException
+ ))
+{
+ return this->ptr_->create_alias (
+id,
+ name,
+ version,
+ original_type,
+ ACE_TRY_ENV
+ );
+}
+
+template <class T> ACE_INLINE
+CORBA::InterfaceDef_ptr POA_CORBA::Repository_tie<T>::create_interface (
+ const char * id,
+ const char * name,
+ const char * version,
+ const CORBA::InterfaceDefSeq & base_interfaces,
+ CORBA::Environment &ACE_TRY_ENV
+ )
+ ACE_THROW_SPEC ((
+ CORBA::SystemException
+ ))
+{
+ return this->ptr_->create_interface (
+id,
+ name,
+ version,
+ base_interfaces,
+ ACE_TRY_ENV
+ );
+}
+
+template <class T> ACE_INLINE
+CORBA::ValueDef_ptr POA_CORBA::Repository_tie<T>::create_value (
+ const char * id,
+ const char * name,
+ const char * version,
+ CORBA::Boolean is_custom,
+ CORBA::Boolean is_abstract,
+ CORBA::ValueDef_ptr base_value,
+ CORBA::Boolean is_truncatable,
+ const CORBA::ValueDefSeq & abstract_base_values,
+ const CORBA::InterfaceDefSeq & supported_interfaces,
+ const CORBA::InitializerSeq & initializers,
+ CORBA::Environment &ACE_TRY_ENV
+ )
+ ACE_THROW_SPEC ((
+ CORBA::SystemException
+ ))
+{
+ return this->ptr_->create_value (
+id,
+ name,
+ version,
+ is_custom,
+ is_abstract,
+ base_value,
+ is_truncatable,
+ abstract_base_values,
+ supported_interfaces,
+ initializers,
+ ACE_TRY_ENV
+ );
+}
+
+template <class T> ACE_INLINE
+CORBA::ValueBoxDef_ptr POA_CORBA::Repository_tie<T>::create_value_box (
+ const char * id,
+ const char * name,
+ const char * version,
+ CORBA::IDLType_ptr original_type_def,
+ CORBA::Environment &ACE_TRY_ENV
+ )
+ ACE_THROW_SPEC ((
+ CORBA::SystemException
+ ))
+{
+ return this->ptr_->create_value_box (
+id,
+ name,
+ version,
+ original_type_def,
+ ACE_TRY_ENV
+ );
+}
+
+template <class T> ACE_INLINE
+CORBA::ExceptionDef_ptr POA_CORBA::Repository_tie<T>::create_exception (
+ const char * id,
+ const char * name,
+ const char * version,
+ const CORBA::StructMemberSeq & members,
+ CORBA::Environment &ACE_TRY_ENV
+ )
+ ACE_THROW_SPEC ((
+ CORBA::SystemException
+ ))
+{
+ return this->ptr_->create_exception (
+id,
+ name,
+ version,
+ members,
+ ACE_TRY_ENV
+ );
+}
+
+template <class T> ACE_INLINE
+CORBA::NativeDef_ptr POA_CORBA::Repository_tie<T>::create_native (
+ const char * id,
+ const char * name,
+ const char * version,
+ CORBA::Environment &ACE_TRY_ENV
+ )
+ ACE_THROW_SPEC ((
+ CORBA::SystemException
+ ))
+{
+ return this->ptr_->create_native (
+id,
+ name,
+ version,
+ ACE_TRY_ENV
+ );
+}
+
+template <class T> ACE_INLINE
+CORBA::AbstractInterfaceDef_ptr POA_CORBA::Repository_tie<T>::create_abstract_interface (
+ const char * id,
+ const char * name,
+ const char * version,
+ const CORBA::AbstractInterfaceDefSeq & base_interfaces,
+ CORBA::Environment &ACE_TRY_ENV
+ )
+ ACE_THROW_SPEC ((
+ CORBA::SystemException
+ ))
+{
+ return this->ptr_->create_abstract_interface (
+id,
+ name,
+ version,
+ base_interfaces,
+ ACE_TRY_ENV
+ );
+}
+
+template <class T> ACE_INLINE
+CORBA::LocalInterfaceDef_ptr POA_CORBA::Repository_tie<T>::create_local_interface (
+ const char * id,
+ const char * name,
+ const char * version,
+ const CORBA::InterfaceDefSeq & base_interfaces,
+ CORBA::Environment &ACE_TRY_ENV
+ )
+ ACE_THROW_SPEC ((
+ CORBA::SystemException
+ ))
+{
+ return this->ptr_->create_local_interface (
+id,
+ name,
+ version,
+ base_interfaces,
+ ACE_TRY_ENV
+ );
+}
+
+template <class T> ACE_INLINE
+CORBA::DefinitionKind POA_CORBA::Repository_tie<T>::def_kind (
+ CORBA::Environment &ACE_TRY_ENV
+ )
+ ACE_THROW_SPEC ((
+ CORBA::SystemException
+ ))
+{
+ return this->ptr_->def_kind (
+ACE_TRY_ENV
+ );
+}
+
+template <class T> ACE_INLINE
+void POA_CORBA::Repository_tie<T>::destroy (
+ CORBA::Environment &ACE_TRY_ENV
+ )
+ ACE_THROW_SPEC ((
+ CORBA::SystemException
+ ))
+{
+ this->ptr_->destroy (
+ACE_TRY_ENV
+ );
+}
+
+#endif /* ACE_HAS_USING_KEYWORD */
+
+#if defined (ACE_HAS_USING_KEYWORD)
+template <class T> ACE_INLINE
+POA_CORBA::ModuleDef_tie<T>::ModuleDef_tie (T &t)
+ : ptr_ (&t),
+ poa_ (PortableServer::POA::_nil ()),
+ rel_ (0)
+{}
+
+template <class T> ACE_INLINE
+POA_CORBA::ModuleDef_tie<T>::ModuleDef_tie (T &t, PortableServer::POA_ptr poa)
+ : ptr_ (&t),
+ poa_ (PortableServer::POA::_duplicate (poa)),
+ rel_ (0)
+{}
+
+template <class T> ACE_INLINE
+POA_CORBA::ModuleDef_tie<T>::ModuleDef_tie (T *tp, CORBA::Boolean release)
+ : ptr_ (tp),
+ poa_ (PortableServer::POA::_nil ()),
+ rel_ (release)
+{}
+
+template <class T> ACE_INLINE
+POA_CORBA::ModuleDef_tie<T>::ModuleDef_tie (T *tp, PortableServer::POA_ptr poa, CORBA::Boolean release)
+ : ptr_ (tp),
+ poa_ (PortableServer::POA::_duplicate (poa)),
+ rel_ (release)
+{}
+
+template <class T> ACE_INLINE
+POA_CORBA::ModuleDef_tie<T>::~ModuleDef_tie (void)
+{
+ if (this->rel_) delete this->ptr_;
+}
+
+template <class T> ACE_INLINE T *
+POA_CORBA::ModuleDef_tie<T>::_tied_object (void)
+{
+ return this->ptr_;
+}
+
+template <class T> ACE_INLINE void
+POA_CORBA::ModuleDef_tie<T>::_tied_object (T &obj)
+{
+ if (this->rel_) delete this->ptr_;
+ this->ptr_ = &obj;
+ this->rel_ = 0;
+}
+
+template <class T> ACE_INLINE void
+POA_CORBA::ModuleDef_tie<T>::_tied_object (T *obj, CORBA::Boolean release)
+{
+ if (this->rel_) delete this->ptr_;
+ this->ptr_ = obj;
+ this->rel_ = release;
+}
+
+template <class T> ACE_INLINE CORBA::Boolean
+POA_CORBA::ModuleDef_tie<T>::_is_owner (void)
+{
+ return this->rel_;
+}
+
+template <class T> ACE_INLINE void
+POA_CORBA::ModuleDef_tie<T>::_is_owner (CORBA::Boolean b)
+{
+ this->rel_ = b;
+}
+
+template <class T> ACE_INLINE PortableServer::POA_ptr
+POA_CORBA::ModuleDef_tie<T>::_default_POA (CORBA::Environment &ACE_TRY_ENV)
+{
+ if (!CORBA::is_nil (this->poa_.in ()))
+ return PortableServer::POA::_duplicate (this->poa_.in ());
+
+ return this->ModuleDef::_default_POA (ACE_TRY_ENV);
+}
+
+template <class T> ACE_INLINE
+CORBA::Contained_ptr POA_CORBA::ModuleDef_tie<T>::lookup (
+ const char * search_name,
+ CORBA::Environment &ACE_TRY_ENV
+ )
+ ACE_THROW_SPEC ((
+ CORBA::SystemException
+ ))
+{
+ return this->ptr_->lookup (
+search_name,
+ ACE_TRY_ENV
+ );
+}
+
+template <class T> ACE_INLINE
+CORBA::ContainedSeq * POA_CORBA::ModuleDef_tie<T>::contents (
+ CORBA::DefinitionKind limit_type,
+ CORBA::Boolean exclude_inherited,
+ CORBA::Environment &ACE_TRY_ENV
+ )
+ ACE_THROW_SPEC ((
+ CORBA::SystemException
+ ))
+{
+ return this->ptr_->contents (
+limit_type,
+ exclude_inherited,
+ ACE_TRY_ENV
+ );
+}
+
+template <class T> ACE_INLINE
+CORBA::ContainedSeq * POA_CORBA::ModuleDef_tie<T>::lookup_name (
+ const char * search_name,
+ CORBA::Long levels_to_search,
+ CORBA::DefinitionKind limit_type,
+ CORBA::Boolean exclude_inherited,
+ CORBA::Environment &ACE_TRY_ENV
+ )
+ ACE_THROW_SPEC ((
+ CORBA::SystemException
+ ))
+{
+ return this->ptr_->lookup_name (
+search_name,
+ levels_to_search,
+ limit_type,
+ exclude_inherited,
+ ACE_TRY_ENV
+ );
+}
+
+template <class T> ACE_INLINE
+CORBA::Container::DescriptionSeq * POA_CORBA::ModuleDef_tie<T>::describe_contents (
+ CORBA::DefinitionKind limit_type,
+ CORBA::Boolean exclude_inherited,
+ CORBA::Long max_returned_objs,
+ CORBA::Environment &ACE_TRY_ENV
+ )
+ ACE_THROW_SPEC ((
+ CORBA::SystemException
+ ))
+{
+ return this->ptr_->describe_contents (
+limit_type,
+ exclude_inherited,
+ max_returned_objs,
+ ACE_TRY_ENV
+ );
+}
+
+template <class T> ACE_INLINE
+CORBA::ModuleDef_ptr POA_CORBA::ModuleDef_tie<T>::create_module (
+ const char * id,
+ const char * name,
+ const char * version,
+ CORBA::Environment &ACE_TRY_ENV
+ )
+ ACE_THROW_SPEC ((
+ CORBA::SystemException
+ ))
+{
+ return this->ptr_->create_module (
+id,
+ name,
+ version,
+ ACE_TRY_ENV
+ );
+}
+
+template <class T> ACE_INLINE
+CORBA::ConstantDef_ptr POA_CORBA::ModuleDef_tie<T>::create_constant (
+ const char * id,
+ const char * name,
+ const char * version,
+ CORBA::IDLType_ptr type,
+ const CORBA::Any & value,
+ CORBA::Environment &ACE_TRY_ENV
+ )
+ ACE_THROW_SPEC ((
+ CORBA::SystemException
+ ))
+{
+ return this->ptr_->create_constant (
+id,
+ name,
+ version,
+ type,
+ value,
+ ACE_TRY_ENV
+ );
+}
+
+template <class T> ACE_INLINE
+CORBA::StructDef_ptr POA_CORBA::ModuleDef_tie<T>::create_struct (
+ const char * id,
+ const char * name,
+ const char * version,
+ const CORBA::StructMemberSeq & members,
+ CORBA::Environment &ACE_TRY_ENV
+ )
+ ACE_THROW_SPEC ((
+ CORBA::SystemException
+ ))
+{
+ return this->ptr_->create_struct (
+id,
+ name,
+ version,
+ members,
+ ACE_TRY_ENV
+ );
+}
+
+template <class T> ACE_INLINE
+CORBA::UnionDef_ptr POA_CORBA::ModuleDef_tie<T>::create_union (
+ const char * id,
+ const char * name,
+ const char * version,
+ CORBA::IDLType_ptr discriminator_type,
+ const CORBA::UnionMemberSeq & members,
+ CORBA::Environment &ACE_TRY_ENV
+ )
+ ACE_THROW_SPEC ((
+ CORBA::SystemException
+ ))
+{
+ return this->ptr_->create_union (
+id,
+ name,
+ version,
+ discriminator_type,
+ members,
+ ACE_TRY_ENV
+ );
+}
+
+template <class T> ACE_INLINE
+CORBA::EnumDef_ptr POA_CORBA::ModuleDef_tie<T>::create_enum (
+ const char * id,
+ const char * name,
+ const char * version,
+ const CORBA::EnumMemberSeq & members,
+ CORBA::Environment &ACE_TRY_ENV
+ )
+ ACE_THROW_SPEC ((
+ CORBA::SystemException
+ ))
+{
+ return this->ptr_->create_enum (
+id,
+ name,
+ version,
+ members,
+ ACE_TRY_ENV
+ );
+}
+
+template <class T> ACE_INLINE
+CORBA::AliasDef_ptr POA_CORBA::ModuleDef_tie<T>::create_alias (
+ const char * id,
+ const char * name,
+ const char * version,
+ CORBA::IDLType_ptr original_type,
+ CORBA::Environment &ACE_TRY_ENV
+ )
+ ACE_THROW_SPEC ((
+ CORBA::SystemException
+ ))
+{
+ return this->ptr_->create_alias (
+id,
+ name,
+ version,
+ original_type,
+ ACE_TRY_ENV
+ );
+}
+
+template <class T> ACE_INLINE
+CORBA::InterfaceDef_ptr POA_CORBA::ModuleDef_tie<T>::create_interface (
+ const char * id,
+ const char * name,
+ const char * version,
+ const CORBA::InterfaceDefSeq & base_interfaces,
+ CORBA::Environment &ACE_TRY_ENV
+ )
+ ACE_THROW_SPEC ((
+ CORBA::SystemException
+ ))
+{
+ return this->ptr_->create_interface (
+id,
+ name,
+ version,
+ base_interfaces,
+ ACE_TRY_ENV
+ );
+}
+
+template <class T> ACE_INLINE
+CORBA::ValueDef_ptr POA_CORBA::ModuleDef_tie<T>::create_value (
+ const char * id,
+ const char * name,
+ const char * version,
+ CORBA::Boolean is_custom,
+ CORBA::Boolean is_abstract,
+ CORBA::ValueDef_ptr base_value,
+ CORBA::Boolean is_truncatable,
+ const CORBA::ValueDefSeq & abstract_base_values,
+ const CORBA::InterfaceDefSeq & supported_interfaces,
+ const CORBA::InitializerSeq & initializers,
+ CORBA::Environment &ACE_TRY_ENV
+ )
+ ACE_THROW_SPEC ((
+ CORBA::SystemException
+ ))
+{
+ return this->ptr_->create_value (
+id,
+ name,
+ version,
+ is_custom,
+ is_abstract,
+ base_value,
+ is_truncatable,
+ abstract_base_values,
+ supported_interfaces,
+ initializers,
+ ACE_TRY_ENV
+ );
+}
+
+template <class T> ACE_INLINE
+CORBA::ValueBoxDef_ptr POA_CORBA::ModuleDef_tie<T>::create_value_box (
+ const char * id,
+ const char * name,
+ const char * version,
+ CORBA::IDLType_ptr original_type_def,
+ CORBA::Environment &ACE_TRY_ENV
+ )
+ ACE_THROW_SPEC ((
+ CORBA::SystemException
+ ))
+{
+ return this->ptr_->create_value_box (
+id,
+ name,
+ version,
+ original_type_def,
+ ACE_TRY_ENV
+ );
+}
+
+template <class T> ACE_INLINE
+CORBA::ExceptionDef_ptr POA_CORBA::ModuleDef_tie<T>::create_exception (
+ const char * id,
+ const char * name,
+ const char * version,
+ const CORBA::StructMemberSeq & members,
+ CORBA::Environment &ACE_TRY_ENV
+ )
+ ACE_THROW_SPEC ((
+ CORBA::SystemException
+ ))
+{
+ return this->ptr_->create_exception (
+id,
+ name,
+ version,
+ members,
+ ACE_TRY_ENV
+ );
+}
+
+template <class T> ACE_INLINE
+CORBA::NativeDef_ptr POA_CORBA::ModuleDef_tie<T>::create_native (
+ const char * id,
+ const char * name,
+ const char * version,
+ CORBA::Environment &ACE_TRY_ENV
+ )
+ ACE_THROW_SPEC ((
+ CORBA::SystemException
+ ))
+{
+ return this->ptr_->create_native (
+id,
+ name,
+ version,
+ ACE_TRY_ENV
+ );
+}
+
+template <class T> ACE_INLINE
+CORBA::AbstractInterfaceDef_ptr POA_CORBA::ModuleDef_tie<T>::create_abstract_interface (
+ const char * id,
+ const char * name,
+ const char * version,
+ const CORBA::AbstractInterfaceDefSeq & base_interfaces,
+ CORBA::Environment &ACE_TRY_ENV
+ )
+ ACE_THROW_SPEC ((
+ CORBA::SystemException
+ ))
+{
+ return this->ptr_->create_abstract_interface (
+id,
+ name,
+ version,
+ base_interfaces,
+ ACE_TRY_ENV
+ );
+}
+
+template <class T> ACE_INLINE
+CORBA::LocalInterfaceDef_ptr POA_CORBA::ModuleDef_tie<T>::create_local_interface (
+ const char * id,
+ const char * name,
+ const char * version,
+ const CORBA::InterfaceDefSeq & base_interfaces,
+ CORBA::Environment &ACE_TRY_ENV
+ )
+ ACE_THROW_SPEC ((
+ CORBA::SystemException
+ ))
+{
+ return this->ptr_->create_local_interface (
+id,
+ name,
+ version,
+ base_interfaces,
+ ACE_TRY_ENV
+ );
+}
+
+template <class T> ACE_INLINE
+char * POA_CORBA::ModuleDef_tie<T>::id (
+ CORBA::Environment &ACE_TRY_ENV
+ )
+ ACE_THROW_SPEC ((
+ CORBA::SystemException
+ ))
+{
+ return this->ptr_->id (
+ACE_TRY_ENV
+ );
+}
+
+template <class T> ACE_INLINE
+void POA_CORBA::ModuleDef_tie<T>::id (
+ const char * id,
+ CORBA::Environment &ACE_TRY_ENV
+ )
+ ACE_THROW_SPEC ((
+ CORBA::SystemException
+ ))
+{
+ this->ptr_->id (
+id,
+ ACE_TRY_ENV
+ );
+}
+
+template <class T> ACE_INLINE
+char * POA_CORBA::ModuleDef_tie<T>::name (
+ CORBA::Environment &ACE_TRY_ENV
+ )
+ ACE_THROW_SPEC ((
+ CORBA::SystemException
+ ))
+{
+ return this->ptr_->name (
+ACE_TRY_ENV
+ );
+}
+
+template <class T> ACE_INLINE
+void POA_CORBA::ModuleDef_tie<T>::name (
+ const char * name,
+ CORBA::Environment &ACE_TRY_ENV
+ )
+ ACE_THROW_SPEC ((
+ CORBA::SystemException
+ ))
+{
+ this->ptr_->name (
+name,
+ ACE_TRY_ENV
+ );
+}
+
+template <class T> ACE_INLINE
+char * POA_CORBA::ModuleDef_tie<T>::version (
+ CORBA::Environment &ACE_TRY_ENV
+ )
+ ACE_THROW_SPEC ((
+ CORBA::SystemException
+ ))
+{
+ return this->ptr_->version (
+ACE_TRY_ENV
+ );
+}
+
+template <class T> ACE_INLINE
+void POA_CORBA::ModuleDef_tie<T>::version (
+ const char * version,
+ CORBA::Environment &ACE_TRY_ENV
+ )
+ ACE_THROW_SPEC ((
+ CORBA::SystemException
+ ))
+{
+ this->ptr_->version (
+version,
+ ACE_TRY_ENV
+ );
+}
+
+template <class T> ACE_INLINE
+CORBA::Container_ptr POA_CORBA::ModuleDef_tie<T>::defined_in (
+ CORBA::Environment &ACE_TRY_ENV
+ )
+ ACE_THROW_SPEC ((
+ CORBA::SystemException
+ ))
+{
+ return this->ptr_->defined_in (
+ACE_TRY_ENV
+ );
+}
+
+template <class T> ACE_INLINE
+char * POA_CORBA::ModuleDef_tie<T>::absolute_name (
+ CORBA::Environment &ACE_TRY_ENV
+ )
+ ACE_THROW_SPEC ((
+ CORBA::SystemException
+ ))
+{
+ return this->ptr_->absolute_name (
+ACE_TRY_ENV
+ );
+}
+
+template <class T> ACE_INLINE
+CORBA::Repository_ptr POA_CORBA::ModuleDef_tie<T>::containing_repository (
+ CORBA::Environment &ACE_TRY_ENV
+ )
+ ACE_THROW_SPEC ((
+ CORBA::SystemException
+ ))
+{
+ return this->ptr_->containing_repository (
+ACE_TRY_ENV
+ );
+}
+
+template <class T> ACE_INLINE
+CORBA::Contained::Description * POA_CORBA::ModuleDef_tie<T>::describe (
+ CORBA::Environment &ACE_TRY_ENV
+ )
+ ACE_THROW_SPEC ((
+ CORBA::SystemException
+ ))
+{
+ return this->ptr_->describe (
+ACE_TRY_ENV
+ );
+}
+
+template <class T> ACE_INLINE
+void POA_CORBA::ModuleDef_tie<T>::move (
+ CORBA::Container_ptr new_container,
+ const char * new_name,
+ const char * new_version,
+ CORBA::Environment &ACE_TRY_ENV
+ )
+ ACE_THROW_SPEC ((
+ CORBA::SystemException
+ ))
+{
+ this->ptr_->move (
+new_container,
+ new_name,
+ new_version,
+ ACE_TRY_ENV
+ );
+}
+
+template <class T> ACE_INLINE
+CORBA::DefinitionKind POA_CORBA::ModuleDef_tie<T>::def_kind (
+ CORBA::Environment &ACE_TRY_ENV
+ )
+ ACE_THROW_SPEC ((
+ CORBA::SystemException
+ ))
+{
+ return this->ptr_->def_kind (
+ACE_TRY_ENV
+ );
+}
+
+template <class T> ACE_INLINE
+void POA_CORBA::ModuleDef_tie<T>::destroy (
+ CORBA::Environment &ACE_TRY_ENV
+ )
+ ACE_THROW_SPEC ((
+ CORBA::SystemException
+ ))
+{
+ this->ptr_->destroy (
+ACE_TRY_ENV
+ );
+}
+
+#endif /* ACE_HAS_USING_KEYWORD */
+
+#if defined (ACE_HAS_USING_KEYWORD)
+template <class T> ACE_INLINE
+POA_CORBA::ConstantDef_tie<T>::ConstantDef_tie (T &t)
+ : ptr_ (&t),
+ poa_ (PortableServer::POA::_nil ()),
+ rel_ (0)
+{}
+
+template <class T> ACE_INLINE
+POA_CORBA::ConstantDef_tie<T>::ConstantDef_tie (T &t, PortableServer::POA_ptr poa)
+ : ptr_ (&t),
+ poa_ (PortableServer::POA::_duplicate (poa)),
+ rel_ (0)
+{}
+
+template <class T> ACE_INLINE
+POA_CORBA::ConstantDef_tie<T>::ConstantDef_tie (T *tp, CORBA::Boolean release)
+ : ptr_ (tp),
+ poa_ (PortableServer::POA::_nil ()),
+ rel_ (release)
+{}
+
+template <class T> ACE_INLINE
+POA_CORBA::ConstantDef_tie<T>::ConstantDef_tie (T *tp, PortableServer::POA_ptr poa, CORBA::Boolean release)
+ : ptr_ (tp),
+ poa_ (PortableServer::POA::_duplicate (poa)),
+ rel_ (release)
+{}
+
+template <class T> ACE_INLINE
+POA_CORBA::ConstantDef_tie<T>::~ConstantDef_tie (void)
+{
+ if (this->rel_) delete this->ptr_;
+}
+
+template <class T> ACE_INLINE T *
+POA_CORBA::ConstantDef_tie<T>::_tied_object (void)
+{
+ return this->ptr_;
+}
+
+template <class T> ACE_INLINE void
+POA_CORBA::ConstantDef_tie<T>::_tied_object (T &obj)
+{
+ if (this->rel_) delete this->ptr_;
+ this->ptr_ = &obj;
+ this->rel_ = 0;
+}
+
+template <class T> ACE_INLINE void
+POA_CORBA::ConstantDef_tie<T>::_tied_object (T *obj, CORBA::Boolean release)
+{
+ if (this->rel_) delete this->ptr_;
+ this->ptr_ = obj;
+ this->rel_ = release;
+}
+
+template <class T> ACE_INLINE CORBA::Boolean
+POA_CORBA::ConstantDef_tie<T>::_is_owner (void)
+{
+ return this->rel_;
+}
+
+template <class T> ACE_INLINE void
+POA_CORBA::ConstantDef_tie<T>::_is_owner (CORBA::Boolean b)
+{
+ this->rel_ = b;
+}
+
+template <class T> ACE_INLINE PortableServer::POA_ptr
+POA_CORBA::ConstantDef_tie<T>::_default_POA (CORBA::Environment &ACE_TRY_ENV)
+{
+ if (!CORBA::is_nil (this->poa_.in ()))
+ return PortableServer::POA::_duplicate (this->poa_.in ());
+
+ return this->ConstantDef::_default_POA (ACE_TRY_ENV);
+}
+
+template <class T> ACE_INLINE
+CORBA::TypeCode_ptr POA_CORBA::ConstantDef_tie<T>::type (
+ CORBA::Environment &ACE_TRY_ENV
+ )
+ ACE_THROW_SPEC ((
+ CORBA::SystemException
+ ))
+{
+ return this->ptr_->type (
+ACE_TRY_ENV
+ );
+}
+
+template <class T> ACE_INLINE
+CORBA::IDLType_ptr POA_CORBA::ConstantDef_tie<T>::type_def (
+ CORBA::Environment &ACE_TRY_ENV
+ )
+ ACE_THROW_SPEC ((
+ CORBA::SystemException
+ ))
+{
+ return this->ptr_->type_def (
+ACE_TRY_ENV
+ );
+}
+
+template <class T> ACE_INLINE
+void POA_CORBA::ConstantDef_tie<T>::type_def (
+ CORBA::IDLType_ptr type_def,
+ CORBA::Environment &ACE_TRY_ENV
+ )
+ ACE_THROW_SPEC ((
+ CORBA::SystemException
+ ))
+{
+ this->ptr_->type_def (
+type_def,
+ ACE_TRY_ENV
+ );
+}
+
+template <class T> ACE_INLINE
+CORBA::Any * POA_CORBA::ConstantDef_tie<T>::value (
+ CORBA::Environment &ACE_TRY_ENV
+ )
+ ACE_THROW_SPEC ((
+ CORBA::SystemException
+ ))
+{
+ return this->ptr_->value (
+ACE_TRY_ENV
+ );
+}
+
+template <class T> ACE_INLINE
+void POA_CORBA::ConstantDef_tie<T>::value (
+ const CORBA::Any & value,
+ CORBA::Environment &ACE_TRY_ENV
+ )
+ ACE_THROW_SPEC ((
+ CORBA::SystemException
+ ))
+{
+ this->ptr_->value (
+value,
+ ACE_TRY_ENV
+ );
+}
+
+template <class T> ACE_INLINE
+char * POA_CORBA::ConstantDef_tie<T>::id (
+ CORBA::Environment &ACE_TRY_ENV
+ )
+ ACE_THROW_SPEC ((
+ CORBA::SystemException
+ ))
+{
+ return this->ptr_->id (
+ACE_TRY_ENV
+ );
+}
+
+template <class T> ACE_INLINE
+void POA_CORBA::ConstantDef_tie<T>::id (
+ const char * id,
+ CORBA::Environment &ACE_TRY_ENV
+ )
+ ACE_THROW_SPEC ((
+ CORBA::SystemException
+ ))
+{
+ this->ptr_->id (
+id,
+ ACE_TRY_ENV
+ );
+}
+
+template <class T> ACE_INLINE
+char * POA_CORBA::ConstantDef_tie<T>::name (
+ CORBA::Environment &ACE_TRY_ENV
+ )
+ ACE_THROW_SPEC ((
+ CORBA::SystemException
+ ))
+{
+ return this->ptr_->name (
+ACE_TRY_ENV
+ );
+}
+
+template <class T> ACE_INLINE
+void POA_CORBA::ConstantDef_tie<T>::name (
+ const char * name,
+ CORBA::Environment &ACE_TRY_ENV
+ )
+ ACE_THROW_SPEC ((
+ CORBA::SystemException
+ ))
+{
+ this->ptr_->name (
+name,
+ ACE_TRY_ENV
+ );
+}
+
+template <class T> ACE_INLINE
+char * POA_CORBA::ConstantDef_tie<T>::version (
+ CORBA::Environment &ACE_TRY_ENV
+ )
+ ACE_THROW_SPEC ((
+ CORBA::SystemException
+ ))
+{
+ return this->ptr_->version (
+ACE_TRY_ENV
+ );
+}
+
+template <class T> ACE_INLINE
+void POA_CORBA::ConstantDef_tie<T>::version (
+ const char * version,
+ CORBA::Environment &ACE_TRY_ENV
+ )
+ ACE_THROW_SPEC ((
+ CORBA::SystemException
+ ))
+{
+ this->ptr_->version (
+version,
+ ACE_TRY_ENV
+ );
+}
+
+template <class T> ACE_INLINE
+CORBA::Container_ptr POA_CORBA::ConstantDef_tie<T>::defined_in (
+ CORBA::Environment &ACE_TRY_ENV
+ )
+ ACE_THROW_SPEC ((
+ CORBA::SystemException
+ ))
+{
+ return this->ptr_->defined_in (
+ACE_TRY_ENV
+ );
+}
+
+template <class T> ACE_INLINE
+char * POA_CORBA::ConstantDef_tie<T>::absolute_name (
+ CORBA::Environment &ACE_TRY_ENV
+ )
+ ACE_THROW_SPEC ((
+ CORBA::SystemException
+ ))
+{
+ return this->ptr_->absolute_name (
+ACE_TRY_ENV
+ );
+}
+
+template <class T> ACE_INLINE
+CORBA::Repository_ptr POA_CORBA::ConstantDef_tie<T>::containing_repository (
+ CORBA::Environment &ACE_TRY_ENV
+ )
+ ACE_THROW_SPEC ((
+ CORBA::SystemException
+ ))
+{
+ return this->ptr_->containing_repository (
+ACE_TRY_ENV
+ );
+}
+
+template <class T> ACE_INLINE
+CORBA::Contained::Description * POA_CORBA::ConstantDef_tie<T>::describe (
+ CORBA::Environment &ACE_TRY_ENV
+ )
+ ACE_THROW_SPEC ((
+ CORBA::SystemException
+ ))
+{
+ return this->ptr_->describe (
+ACE_TRY_ENV
+ );
+}
+
+template <class T> ACE_INLINE
+void POA_CORBA::ConstantDef_tie<T>::move (
+ CORBA::Container_ptr new_container,
+ const char * new_name,
+ const char * new_version,
+ CORBA::Environment &ACE_TRY_ENV
+ )
+ ACE_THROW_SPEC ((
+ CORBA::SystemException
+ ))
+{
+ this->ptr_->move (
+new_container,
+ new_name,
+ new_version,
+ ACE_TRY_ENV
+ );
+}
+
+template <class T> ACE_INLINE
+CORBA::DefinitionKind POA_CORBA::ConstantDef_tie<T>::def_kind (
+ CORBA::Environment &ACE_TRY_ENV
+ )
+ ACE_THROW_SPEC ((
+ CORBA::SystemException
+ ))
+{
+ return this->ptr_->def_kind (
+ACE_TRY_ENV
+ );
+}
+
+template <class T> ACE_INLINE
+void POA_CORBA::ConstantDef_tie<T>::destroy (
+ CORBA::Environment &ACE_TRY_ENV
+ )
+ ACE_THROW_SPEC ((
+ CORBA::SystemException
+ ))
+{
+ this->ptr_->destroy (
+ACE_TRY_ENV
+ );
+}
+
+#endif /* ACE_HAS_USING_KEYWORD */
+
+#if defined (ACE_HAS_USING_KEYWORD)
+template <class T> ACE_INLINE
+POA_CORBA::StructDef_tie<T>::StructDef_tie (T &t)
+ : ptr_ (&t),
+ poa_ (PortableServer::POA::_nil ()),
+ rel_ (0)
+{}
+
+template <class T> ACE_INLINE
+POA_CORBA::StructDef_tie<T>::StructDef_tie (T &t, PortableServer::POA_ptr poa)
+ : ptr_ (&t),
+ poa_ (PortableServer::POA::_duplicate (poa)),
+ rel_ (0)
+{}
+
+template <class T> ACE_INLINE
+POA_CORBA::StructDef_tie<T>::StructDef_tie (T *tp, CORBA::Boolean release)
+ : ptr_ (tp),
+ poa_ (PortableServer::POA::_nil ()),
+ rel_ (release)
+{}
+
+template <class T> ACE_INLINE
+POA_CORBA::StructDef_tie<T>::StructDef_tie (T *tp, PortableServer::POA_ptr poa, CORBA::Boolean release)
+ : ptr_ (tp),
+ poa_ (PortableServer::POA::_duplicate (poa)),
+ rel_ (release)
+{}
+
+template <class T> ACE_INLINE
+POA_CORBA::StructDef_tie<T>::~StructDef_tie (void)
+{
+ if (this->rel_) delete this->ptr_;
+}
+
+template <class T> ACE_INLINE T *
+POA_CORBA::StructDef_tie<T>::_tied_object (void)
+{
+ return this->ptr_;
+}
+
+template <class T> ACE_INLINE void
+POA_CORBA::StructDef_tie<T>::_tied_object (T &obj)
+{
+ if (this->rel_) delete this->ptr_;
+ this->ptr_ = &obj;
+ this->rel_ = 0;
+}
+
+template <class T> ACE_INLINE void
+POA_CORBA::StructDef_tie<T>::_tied_object (T *obj, CORBA::Boolean release)
+{
+ if (this->rel_) delete this->ptr_;
+ this->ptr_ = obj;
+ this->rel_ = release;
+}
+
+template <class T> ACE_INLINE CORBA::Boolean
+POA_CORBA::StructDef_tie<T>::_is_owner (void)
+{
+ return this->rel_;
+}
+
+template <class T> ACE_INLINE void
+POA_CORBA::StructDef_tie<T>::_is_owner (CORBA::Boolean b)
+{
+ this->rel_ = b;
+}
+
+template <class T> ACE_INLINE PortableServer::POA_ptr
+POA_CORBA::StructDef_tie<T>::_default_POA (CORBA::Environment &ACE_TRY_ENV)
+{
+ if (!CORBA::is_nil (this->poa_.in ()))
+ return PortableServer::POA::_duplicate (this->poa_.in ());
+
+ return this->StructDef::_default_POA (ACE_TRY_ENV);
+}
+
+template <class T> ACE_INLINE
+CORBA::StructMemberSeq * POA_CORBA::StructDef_tie<T>::members (
+ CORBA::Environment &ACE_TRY_ENV
+ )
+ ACE_THROW_SPEC ((
+ CORBA::SystemException
+ ))
+{
+ return this->ptr_->members (
+ACE_TRY_ENV
+ );
+}
+
+template <class T> ACE_INLINE
+void POA_CORBA::StructDef_tie<T>::members (
+ const CORBA::StructMemberSeq & members,
+ CORBA::Environment &ACE_TRY_ENV
+ )
+ ACE_THROW_SPEC ((
+ CORBA::SystemException
+ ))
+{
+ this->ptr_->members (
+members,
+ ACE_TRY_ENV
+ );
+}
+
+template <class T> ACE_INLINE
+CORBA::Contained_ptr POA_CORBA::StructDef_tie<T>::lookup (
+ const char * search_name,
+ CORBA::Environment &ACE_TRY_ENV
+ )
+ ACE_THROW_SPEC ((
+ CORBA::SystemException
+ ))
+{
+ return this->ptr_->lookup (
+search_name,
+ ACE_TRY_ENV
+ );
+}
+
+template <class T> ACE_INLINE
+CORBA::ContainedSeq * POA_CORBA::StructDef_tie<T>::contents (
+ CORBA::DefinitionKind limit_type,
+ CORBA::Boolean exclude_inherited,
+ CORBA::Environment &ACE_TRY_ENV
+ )
+ ACE_THROW_SPEC ((
+ CORBA::SystemException
+ ))
+{
+ return this->ptr_->contents (
+limit_type,
+ exclude_inherited,
+ ACE_TRY_ENV
+ );
+}
+
+template <class T> ACE_INLINE
+CORBA::ContainedSeq * POA_CORBA::StructDef_tie<T>::lookup_name (
+ const char * search_name,
+ CORBA::Long levels_to_search,
+ CORBA::DefinitionKind limit_type,
+ CORBA::Boolean exclude_inherited,
+ CORBA::Environment &ACE_TRY_ENV
+ )
+ ACE_THROW_SPEC ((
+ CORBA::SystemException
+ ))
+{
+ return this->ptr_->lookup_name (
+search_name,
+ levels_to_search,
+ limit_type,
+ exclude_inherited,
+ ACE_TRY_ENV
+ );
+}
+
+template <class T> ACE_INLINE
+CORBA::Container::DescriptionSeq * POA_CORBA::StructDef_tie<T>::describe_contents (
+ CORBA::DefinitionKind limit_type,
+ CORBA::Boolean exclude_inherited,
+ CORBA::Long max_returned_objs,
+ CORBA::Environment &ACE_TRY_ENV
+ )
+ ACE_THROW_SPEC ((
+ CORBA::SystemException
+ ))
+{
+ return this->ptr_->describe_contents (
+limit_type,
+ exclude_inherited,
+ max_returned_objs,
+ ACE_TRY_ENV
+ );
+}
+
+template <class T> ACE_INLINE
+CORBA::ModuleDef_ptr POA_CORBA::StructDef_tie<T>::create_module (
+ const char * id,
+ const char * name,
+ const char * version,
+ CORBA::Environment &ACE_TRY_ENV
+ )
+ ACE_THROW_SPEC ((
+ CORBA::SystemException
+ ))
+{
+ return this->ptr_->create_module (
+id,
+ name,
+ version,
+ ACE_TRY_ENV
+ );
+}
+
+template <class T> ACE_INLINE
+CORBA::ConstantDef_ptr POA_CORBA::StructDef_tie<T>::create_constant (
+ const char * id,
+ const char * name,
+ const char * version,
+ CORBA::IDLType_ptr type,
+ const CORBA::Any & value,
+ CORBA::Environment &ACE_TRY_ENV
+ )
+ ACE_THROW_SPEC ((
+ CORBA::SystemException
+ ))
+{
+ return this->ptr_->create_constant (
+id,
+ name,
+ version,
+ type,
+ value,
+ ACE_TRY_ENV
+ );
+}
+
+template <class T> ACE_INLINE
+CORBA::StructDef_ptr POA_CORBA::StructDef_tie<T>::create_struct (
+ const char * id,
+ const char * name,
+ const char * version,
+ const CORBA::StructMemberSeq & members,
+ CORBA::Environment &ACE_TRY_ENV
+ )
+ ACE_THROW_SPEC ((
+ CORBA::SystemException
+ ))
+{
+ return this->ptr_->create_struct (
+id,
+ name,
+ version,
+ members,
+ ACE_TRY_ENV
+ );
+}
+
+template <class T> ACE_INLINE
+CORBA::UnionDef_ptr POA_CORBA::StructDef_tie<T>::create_union (
+ const char * id,
+ const char * name,
+ const char * version,
+ CORBA::IDLType_ptr discriminator_type,
+ const CORBA::UnionMemberSeq & members,
+ CORBA::Environment &ACE_TRY_ENV
+ )
+ ACE_THROW_SPEC ((
+ CORBA::SystemException
+ ))
+{
+ return this->ptr_->create_union (
+id,
+ name,
+ version,
+ discriminator_type,
+ members,
+ ACE_TRY_ENV
+ );
+}
+
+template <class T> ACE_INLINE
+CORBA::EnumDef_ptr POA_CORBA::StructDef_tie<T>::create_enum (
+ const char * id,
+ const char * name,
+ const char * version,
+ const CORBA::EnumMemberSeq & members,
+ CORBA::Environment &ACE_TRY_ENV
+ )
+ ACE_THROW_SPEC ((
+ CORBA::SystemException
+ ))
+{
+ return this->ptr_->create_enum (
+id,
+ name,
+ version,
+ members,
+ ACE_TRY_ENV
+ );
+}
+
+template <class T> ACE_INLINE
+CORBA::AliasDef_ptr POA_CORBA::StructDef_tie<T>::create_alias (
+ const char * id,
+ const char * name,
+ const char * version,
+ CORBA::IDLType_ptr original_type,
+ CORBA::Environment &ACE_TRY_ENV
+ )
+ ACE_THROW_SPEC ((
+ CORBA::SystemException
+ ))
+{
+ return this->ptr_->create_alias (
+id,
+ name,
+ version,
+ original_type,
+ ACE_TRY_ENV
+ );
+}
+
+template <class T> ACE_INLINE
+CORBA::InterfaceDef_ptr POA_CORBA::StructDef_tie<T>::create_interface (
+ const char * id,
+ const char * name,
+ const char * version,
+ const CORBA::InterfaceDefSeq & base_interfaces,
+ CORBA::Environment &ACE_TRY_ENV
+ )
+ ACE_THROW_SPEC ((
+ CORBA::SystemException
+ ))
+{
+ return this->ptr_->create_interface (
+id,
+ name,
+ version,
+ base_interfaces,
+ ACE_TRY_ENV
+ );
+}
+
+template <class T> ACE_INLINE
+CORBA::ValueDef_ptr POA_CORBA::StructDef_tie<T>::create_value (
+ const char * id,
+ const char * name,
+ const char * version,
+ CORBA::Boolean is_custom,
+ CORBA::Boolean is_abstract,
+ CORBA::ValueDef_ptr base_value,
+ CORBA::Boolean is_truncatable,
+ const CORBA::ValueDefSeq & abstract_base_values,
+ const CORBA::InterfaceDefSeq & supported_interfaces,
+ const CORBA::InitializerSeq & initializers,
+ CORBA::Environment &ACE_TRY_ENV
+ )
+ ACE_THROW_SPEC ((
+ CORBA::SystemException
+ ))
+{
+ return this->ptr_->create_value (
+id,
+ name,
+ version,
+ is_custom,
+ is_abstract,
+ base_value,
+ is_truncatable,
+ abstract_base_values,
+ supported_interfaces,
+ initializers,
+ ACE_TRY_ENV
+ );
+}
+
+template <class T> ACE_INLINE
+CORBA::ValueBoxDef_ptr POA_CORBA::StructDef_tie<T>::create_value_box (
+ const char * id,
+ const char * name,
+ const char * version,
+ CORBA::IDLType_ptr original_type_def,
+ CORBA::Environment &ACE_TRY_ENV
+ )
+ ACE_THROW_SPEC ((
+ CORBA::SystemException
+ ))
+{
+ return this->ptr_->create_value_box (
+id,
+ name,
+ version,
+ original_type_def,
+ ACE_TRY_ENV
+ );
+}
+
+template <class T> ACE_INLINE
+CORBA::ExceptionDef_ptr POA_CORBA::StructDef_tie<T>::create_exception (
+ const char * id,
+ const char * name,
+ const char * version,
+ const CORBA::StructMemberSeq & members,
+ CORBA::Environment &ACE_TRY_ENV
+ )
+ ACE_THROW_SPEC ((
+ CORBA::SystemException
+ ))
+{
+ return this->ptr_->create_exception (
+id,
+ name,
+ version,
+ members,
+ ACE_TRY_ENV
+ );
+}
+
+template <class T> ACE_INLINE
+CORBA::NativeDef_ptr POA_CORBA::StructDef_tie<T>::create_native (
+ const char * id,
+ const char * name,
+ const char * version,
+ CORBA::Environment &ACE_TRY_ENV
+ )
+ ACE_THROW_SPEC ((
+ CORBA::SystemException
+ ))
+{
+ return this->ptr_->create_native (
+id,
+ name,
+ version,
+ ACE_TRY_ENV
+ );
+}
+
+template <class T> ACE_INLINE
+CORBA::AbstractInterfaceDef_ptr POA_CORBA::StructDef_tie<T>::create_abstract_interface (
+ const char * id,
+ const char * name,
+ const char * version,
+ const CORBA::AbstractInterfaceDefSeq & base_interfaces,
+ CORBA::Environment &ACE_TRY_ENV
+ )
+ ACE_THROW_SPEC ((
+ CORBA::SystemException
+ ))
+{
+ return this->ptr_->create_abstract_interface (
+id,
+ name,
+ version,
+ base_interfaces,
+ ACE_TRY_ENV
+ );
+}
+
+template <class T> ACE_INLINE
+CORBA::LocalInterfaceDef_ptr POA_CORBA::StructDef_tie<T>::create_local_interface (
+ const char * id,
+ const char * name,
+ const char * version,
+ const CORBA::InterfaceDefSeq & base_interfaces,
+ CORBA::Environment &ACE_TRY_ENV
+ )
+ ACE_THROW_SPEC ((
+ CORBA::SystemException
+ ))
+{
+ return this->ptr_->create_local_interface (
+id,
+ name,
+ version,
+ base_interfaces,
+ ACE_TRY_ENV
+ );
+}
+
+template <class T> ACE_INLINE
+char * POA_CORBA::StructDef_tie<T>::id (
+ CORBA::Environment &ACE_TRY_ENV
+ )
+ ACE_THROW_SPEC ((
+ CORBA::SystemException
+ ))
+{
+ return this->ptr_->id (
+ACE_TRY_ENV
+ );
+}
+
+template <class T> ACE_INLINE
+void POA_CORBA::StructDef_tie<T>::id (
+ const char * id,
+ CORBA::Environment &ACE_TRY_ENV
+ )
+ ACE_THROW_SPEC ((
+ CORBA::SystemException
+ ))
+{
+ this->ptr_->id (
+id,
+ ACE_TRY_ENV
+ );
+}
+
+template <class T> ACE_INLINE
+char * POA_CORBA::StructDef_tie<T>::name (
+ CORBA::Environment &ACE_TRY_ENV
+ )
+ ACE_THROW_SPEC ((
+ CORBA::SystemException
+ ))
+{
+ return this->ptr_->name (
+ACE_TRY_ENV
+ );
+}
+
+template <class T> ACE_INLINE
+void POA_CORBA::StructDef_tie<T>::name (
+ const char * name,
+ CORBA::Environment &ACE_TRY_ENV
+ )
+ ACE_THROW_SPEC ((
+ CORBA::SystemException
+ ))
+{
+ this->ptr_->name (
+name,
+ ACE_TRY_ENV
+ );
+}
+
+template <class T> ACE_INLINE
+char * POA_CORBA::StructDef_tie<T>::version (
+ CORBA::Environment &ACE_TRY_ENV
+ )
+ ACE_THROW_SPEC ((
+ CORBA::SystemException
+ ))
+{
+ return this->ptr_->version (
+ACE_TRY_ENV
+ );
+}
+
+template <class T> ACE_INLINE
+void POA_CORBA::StructDef_tie<T>::version (
+ const char * version,
+ CORBA::Environment &ACE_TRY_ENV
+ )
+ ACE_THROW_SPEC ((
+ CORBA::SystemException
+ ))
+{
+ this->ptr_->version (
+version,
+ ACE_TRY_ENV
+ );
+}
+
+template <class T> ACE_INLINE
+CORBA::Container_ptr POA_CORBA::StructDef_tie<T>::defined_in (
+ CORBA::Environment &ACE_TRY_ENV
+ )
+ ACE_THROW_SPEC ((
+ CORBA::SystemException
+ ))
+{
+ return this->ptr_->defined_in (
+ACE_TRY_ENV
+ );
+}
+
+template <class T> ACE_INLINE
+char * POA_CORBA::StructDef_tie<T>::absolute_name (
+ CORBA::Environment &ACE_TRY_ENV
+ )
+ ACE_THROW_SPEC ((
+ CORBA::SystemException
+ ))
+{
+ return this->ptr_->absolute_name (
+ACE_TRY_ENV
+ );
+}
+
+template <class T> ACE_INLINE
+CORBA::Repository_ptr POA_CORBA::StructDef_tie<T>::containing_repository (
+ CORBA::Environment &ACE_TRY_ENV
+ )
+ ACE_THROW_SPEC ((
+ CORBA::SystemException
+ ))
+{
+ return this->ptr_->containing_repository (
+ACE_TRY_ENV
+ );
+}
+
+template <class T> ACE_INLINE
+CORBA::Contained::Description * POA_CORBA::StructDef_tie<T>::describe (
+ CORBA::Environment &ACE_TRY_ENV
+ )
+ ACE_THROW_SPEC ((
+ CORBA::SystemException
+ ))
+{
+ return this->ptr_->describe (
+ACE_TRY_ENV
+ );
+}
+
+template <class T> ACE_INLINE
+void POA_CORBA::StructDef_tie<T>::move (
+ CORBA::Container_ptr new_container,
+ const char * new_name,
+ const char * new_version,
+ CORBA::Environment &ACE_TRY_ENV
+ )
+ ACE_THROW_SPEC ((
+ CORBA::SystemException
+ ))
+{
+ this->ptr_->move (
+new_container,
+ new_name,
+ new_version,
+ ACE_TRY_ENV
+ );
+}
+
+template <class T> ACE_INLINE
+CORBA::TypeCode_ptr POA_CORBA::StructDef_tie<T>::type (
+ CORBA::Environment &ACE_TRY_ENV
+ )
+ ACE_THROW_SPEC ((
+ CORBA::SystemException
+ ))
+{
+ return this->ptr_->type (
+ACE_TRY_ENV
+ );
+}
+
+template <class T> ACE_INLINE
+CORBA::DefinitionKind POA_CORBA::StructDef_tie<T>::def_kind (
+ CORBA::Environment &ACE_TRY_ENV
+ )
+ ACE_THROW_SPEC ((
+ CORBA::SystemException
+ ))
+{
+ return this->ptr_->def_kind (
+ACE_TRY_ENV
+ );
+}
+
+template <class T> ACE_INLINE
+void POA_CORBA::StructDef_tie<T>::destroy (
+ CORBA::Environment &ACE_TRY_ENV
+ )
+ ACE_THROW_SPEC ((
+ CORBA::SystemException
+ ))
+{
+ this->ptr_->destroy (
+ACE_TRY_ENV
+ );
+}
+
+#endif /* ACE_HAS_USING_KEYWORD */
+
+#if defined (ACE_HAS_USING_KEYWORD)
+template <class T> ACE_INLINE
+POA_CORBA::UnionDef_tie<T>::UnionDef_tie (T &t)
+ : ptr_ (&t),
+ poa_ (PortableServer::POA::_nil ()),
+ rel_ (0)
+{}
+
+template <class T> ACE_INLINE
+POA_CORBA::UnionDef_tie<T>::UnionDef_tie (T &t, PortableServer::POA_ptr poa)
+ : ptr_ (&t),
+ poa_ (PortableServer::POA::_duplicate (poa)),
+ rel_ (0)
+{}
+
+template <class T> ACE_INLINE
+POA_CORBA::UnionDef_tie<T>::UnionDef_tie (T *tp, CORBA::Boolean release)
+ : ptr_ (tp),
+ poa_ (PortableServer::POA::_nil ()),
+ rel_ (release)
+{}
+
+template <class T> ACE_INLINE
+POA_CORBA::UnionDef_tie<T>::UnionDef_tie (T *tp, PortableServer::POA_ptr poa, CORBA::Boolean release)
+ : ptr_ (tp),
+ poa_ (PortableServer::POA::_duplicate (poa)),
+ rel_ (release)
+{}
+
+template <class T> ACE_INLINE
+POA_CORBA::UnionDef_tie<T>::~UnionDef_tie (void)
+{
+ if (this->rel_) delete this->ptr_;
+}
+
+template <class T> ACE_INLINE T *
+POA_CORBA::UnionDef_tie<T>::_tied_object (void)
+{
+ return this->ptr_;
+}
+
+template <class T> ACE_INLINE void
+POA_CORBA::UnionDef_tie<T>::_tied_object (T &obj)
+{
+ if (this->rel_) delete this->ptr_;
+ this->ptr_ = &obj;
+ this->rel_ = 0;
+}
+
+template <class T> ACE_INLINE void
+POA_CORBA::UnionDef_tie<T>::_tied_object (T *obj, CORBA::Boolean release)
+{
+ if (this->rel_) delete this->ptr_;
+ this->ptr_ = obj;
+ this->rel_ = release;
+}
+
+template <class T> ACE_INLINE CORBA::Boolean
+POA_CORBA::UnionDef_tie<T>::_is_owner (void)
+{
+ return this->rel_;
+}
+
+template <class T> ACE_INLINE void
+POA_CORBA::UnionDef_tie<T>::_is_owner (CORBA::Boolean b)
+{
+ this->rel_ = b;
+}
+
+template <class T> ACE_INLINE PortableServer::POA_ptr
+POA_CORBA::UnionDef_tie<T>::_default_POA (CORBA::Environment &ACE_TRY_ENV)
+{
+ if (!CORBA::is_nil (this->poa_.in ()))
+ return PortableServer::POA::_duplicate (this->poa_.in ());
+
+ return this->UnionDef::_default_POA (ACE_TRY_ENV);
+}
+
+template <class T> ACE_INLINE
+CORBA::TypeCode_ptr POA_CORBA::UnionDef_tie<T>::discriminator_type (
+ CORBA::Environment &ACE_TRY_ENV
+ )
+ ACE_THROW_SPEC ((
+ CORBA::SystemException
+ ))
+{
+ return this->ptr_->discriminator_type (
+ACE_TRY_ENV
+ );
+}
+
+template <class T> ACE_INLINE
+CORBA::IDLType_ptr POA_CORBA::UnionDef_tie<T>::discriminator_type_def (
+ CORBA::Environment &ACE_TRY_ENV
+ )
+ ACE_THROW_SPEC ((
+ CORBA::SystemException
+ ))
+{
+ return this->ptr_->discriminator_type_def (
+ACE_TRY_ENV
+ );
+}
+
+template <class T> ACE_INLINE
+void POA_CORBA::UnionDef_tie<T>::discriminator_type_def (
+ CORBA::IDLType_ptr discriminator_type_def,
+ CORBA::Environment &ACE_TRY_ENV
+ )
+ ACE_THROW_SPEC ((
+ CORBA::SystemException
+ ))
+{
+ this->ptr_->discriminator_type_def (
+discriminator_type_def,
+ ACE_TRY_ENV
+ );
+}
+
+template <class T> ACE_INLINE
+CORBA::UnionMemberSeq * POA_CORBA::UnionDef_tie<T>::members (
+ CORBA::Environment &ACE_TRY_ENV
+ )
+ ACE_THROW_SPEC ((
+ CORBA::SystemException
+ ))
+{
+ return this->ptr_->members (
+ACE_TRY_ENV
+ );
+}
+
+template <class T> ACE_INLINE
+void POA_CORBA::UnionDef_tie<T>::members (
+ const CORBA::UnionMemberSeq & members,
+ CORBA::Environment &ACE_TRY_ENV
+ )
+ ACE_THROW_SPEC ((
+ CORBA::SystemException
+ ))
+{
+ this->ptr_->members (
+members,
+ ACE_TRY_ENV
+ );
+}
+
+template <class T> ACE_INLINE
+CORBA::Contained_ptr POA_CORBA::UnionDef_tie<T>::lookup (
+ const char * search_name,
+ CORBA::Environment &ACE_TRY_ENV
+ )
+ ACE_THROW_SPEC ((
+ CORBA::SystemException
+ ))
+{
+ return this->ptr_->lookup (
+search_name,
+ ACE_TRY_ENV
+ );
+}
+
+template <class T> ACE_INLINE
+CORBA::ContainedSeq * POA_CORBA::UnionDef_tie<T>::contents (
+ CORBA::DefinitionKind limit_type,
+ CORBA::Boolean exclude_inherited,
+ CORBA::Environment &ACE_TRY_ENV
+ )
+ ACE_THROW_SPEC ((
+ CORBA::SystemException
+ ))
+{
+ return this->ptr_->contents (
+limit_type,
+ exclude_inherited,
+ ACE_TRY_ENV
+ );
+}
+
+template <class T> ACE_INLINE
+CORBA::ContainedSeq * POA_CORBA::UnionDef_tie<T>::lookup_name (
+ const char * search_name,
+ CORBA::Long levels_to_search,
+ CORBA::DefinitionKind limit_type,
+ CORBA::Boolean exclude_inherited,
+ CORBA::Environment &ACE_TRY_ENV
+ )
+ ACE_THROW_SPEC ((
+ CORBA::SystemException
+ ))
+{
+ return this->ptr_->lookup_name (
+search_name,
+ levels_to_search,
+ limit_type,
+ exclude_inherited,
+ ACE_TRY_ENV
+ );
+}
+
+template <class T> ACE_INLINE
+CORBA::Container::DescriptionSeq * POA_CORBA::UnionDef_tie<T>::describe_contents (
+ CORBA::DefinitionKind limit_type,
+ CORBA::Boolean exclude_inherited,
+ CORBA::Long max_returned_objs,
+ CORBA::Environment &ACE_TRY_ENV
+ )
+ ACE_THROW_SPEC ((
+ CORBA::SystemException
+ ))
+{
+ return this->ptr_->describe_contents (
+limit_type,
+ exclude_inherited,
+ max_returned_objs,
+ ACE_TRY_ENV
+ );
+}
+
+template <class T> ACE_INLINE
+CORBA::ModuleDef_ptr POA_CORBA::UnionDef_tie<T>::create_module (
+ const char * id,
+ const char * name,
+ const char * version,
+ CORBA::Environment &ACE_TRY_ENV
+ )
+ ACE_THROW_SPEC ((
+ CORBA::SystemException
+ ))
+{
+ return this->ptr_->create_module (
+id,
+ name,
+ version,
+ ACE_TRY_ENV
+ );
+}
+
+template <class T> ACE_INLINE
+CORBA::ConstantDef_ptr POA_CORBA::UnionDef_tie<T>::create_constant (
+ const char * id,
+ const char * name,
+ const char * version,
+ CORBA::IDLType_ptr type,
+ const CORBA::Any & value,
+ CORBA::Environment &ACE_TRY_ENV
+ )
+ ACE_THROW_SPEC ((
+ CORBA::SystemException
+ ))
+{
+ return this->ptr_->create_constant (
+id,
+ name,
+ version,
+ type,
+ value,
+ ACE_TRY_ENV
+ );
+}
+
+template <class T> ACE_INLINE
+CORBA::StructDef_ptr POA_CORBA::UnionDef_tie<T>::create_struct (
+ const char * id,
+ const char * name,
+ const char * version,
+ const CORBA::StructMemberSeq & members,
+ CORBA::Environment &ACE_TRY_ENV
+ )
+ ACE_THROW_SPEC ((
+ CORBA::SystemException
+ ))
+{
+ return this->ptr_->create_struct (
+id,
+ name,
+ version,
+ members,
+ ACE_TRY_ENV
+ );
+}
+
+template <class T> ACE_INLINE
+CORBA::UnionDef_ptr POA_CORBA::UnionDef_tie<T>::create_union (
+ const char * id,
+ const char * name,
+ const char * version,
+ CORBA::IDLType_ptr discriminator_type,
+ const CORBA::UnionMemberSeq & members,
+ CORBA::Environment &ACE_TRY_ENV
+ )
+ ACE_THROW_SPEC ((
+ CORBA::SystemException
+ ))
+{
+ return this->ptr_->create_union (
+id,
+ name,
+ version,
+ discriminator_type,
+ members,
+ ACE_TRY_ENV
+ );
+}
+
+template <class T> ACE_INLINE
+CORBA::EnumDef_ptr POA_CORBA::UnionDef_tie<T>::create_enum (
+ const char * id,
+ const char * name,
+ const char * version,
+ const CORBA::EnumMemberSeq & members,
+ CORBA::Environment &ACE_TRY_ENV
+ )
+ ACE_THROW_SPEC ((
+ CORBA::SystemException
+ ))
+{
+ return this->ptr_->create_enum (
+id,
+ name,
+ version,
+ members,
+ ACE_TRY_ENV
+ );
+}
+
+template <class T> ACE_INLINE
+CORBA::AliasDef_ptr POA_CORBA::UnionDef_tie<T>::create_alias (
+ const char * id,
+ const char * name,
+ const char * version,
+ CORBA::IDLType_ptr original_type,
+ CORBA::Environment &ACE_TRY_ENV
+ )
+ ACE_THROW_SPEC ((
+ CORBA::SystemException
+ ))
+{
+ return this->ptr_->create_alias (
+id,
+ name,
+ version,
+ original_type,
+ ACE_TRY_ENV
+ );
+}
+
+template <class T> ACE_INLINE
+CORBA::InterfaceDef_ptr POA_CORBA::UnionDef_tie<T>::create_interface (
+ const char * id,
+ const char * name,
+ const char * version,
+ const CORBA::InterfaceDefSeq & base_interfaces,
+ CORBA::Environment &ACE_TRY_ENV
+ )
+ ACE_THROW_SPEC ((
+ CORBA::SystemException
+ ))
+{
+ return this->ptr_->create_interface (
+id,
+ name,
+ version,
+ base_interfaces,
+ ACE_TRY_ENV
+ );
+}
+
+template <class T> ACE_INLINE
+CORBA::ValueDef_ptr POA_CORBA::UnionDef_tie<T>::create_value (
+ const char * id,
+ const char * name,
+ const char * version,
+ CORBA::Boolean is_custom,
+ CORBA::Boolean is_abstract,
+ CORBA::ValueDef_ptr base_value,
+ CORBA::Boolean is_truncatable,
+ const CORBA::ValueDefSeq & abstract_base_values,
+ const CORBA::InterfaceDefSeq & supported_interfaces,
+ const CORBA::InitializerSeq & initializers,
+ CORBA::Environment &ACE_TRY_ENV
+ )
+ ACE_THROW_SPEC ((
+ CORBA::SystemException
+ ))
+{
+ return this->ptr_->create_value (
+id,
+ name,
+ version,
+ is_custom,
+ is_abstract,
+ base_value,
+ is_truncatable,
+ abstract_base_values,
+ supported_interfaces,
+ initializers,
+ ACE_TRY_ENV
+ );
+}
+
+template <class T> ACE_INLINE
+CORBA::ValueBoxDef_ptr POA_CORBA::UnionDef_tie<T>::create_value_box (
+ const char * id,
+ const char * name,
+ const char * version,
+ CORBA::IDLType_ptr original_type_def,
+ CORBA::Environment &ACE_TRY_ENV
+ )
+ ACE_THROW_SPEC ((
+ CORBA::SystemException
+ ))
+{
+ return this->ptr_->create_value_box (
+id,
+ name,
+ version,
+ original_type_def,
+ ACE_TRY_ENV
+ );
+}
+
+template <class T> ACE_INLINE
+CORBA::ExceptionDef_ptr POA_CORBA::UnionDef_tie<T>::create_exception (
+ const char * id,
+ const char * name,
+ const char * version,
+ const CORBA::StructMemberSeq & members,
+ CORBA::Environment &ACE_TRY_ENV
+ )
+ ACE_THROW_SPEC ((
+ CORBA::SystemException
+ ))
+{
+ return this->ptr_->create_exception (
+id,
+ name,
+ version,
+ members,
+ ACE_TRY_ENV
+ );
+}
+
+template <class T> ACE_INLINE
+CORBA::NativeDef_ptr POA_CORBA::UnionDef_tie<T>::create_native (
+ const char * id,
+ const char * name,
+ const char * version,
+ CORBA::Environment &ACE_TRY_ENV
+ )
+ ACE_THROW_SPEC ((
+ CORBA::SystemException
+ ))
+{
+ return this->ptr_->create_native (
+id,
+ name,
+ version,
+ ACE_TRY_ENV
+ );
+}
+
+template <class T> ACE_INLINE
+CORBA::AbstractInterfaceDef_ptr POA_CORBA::UnionDef_tie<T>::create_abstract_interface (
+ const char * id,
+ const char * name,
+ const char * version,
+ const CORBA::AbstractInterfaceDefSeq & base_interfaces,
+ CORBA::Environment &ACE_TRY_ENV
+ )
+ ACE_THROW_SPEC ((
+ CORBA::SystemException
+ ))
+{
+ return this->ptr_->create_abstract_interface (
+id,
+ name,
+ version,
+ base_interfaces,
+ ACE_TRY_ENV
+ );
+}
+
+template <class T> ACE_INLINE
+CORBA::LocalInterfaceDef_ptr POA_CORBA::UnionDef_tie<T>::create_local_interface (
+ const char * id,
+ const char * name,
+ const char * version,
+ const CORBA::InterfaceDefSeq & base_interfaces,
+ CORBA::Environment &ACE_TRY_ENV
+ )
+ ACE_THROW_SPEC ((
+ CORBA::SystemException
+ ))
+{
+ return this->ptr_->create_local_interface (
+id,
+ name,
+ version,
+ base_interfaces,
+ ACE_TRY_ENV
+ );
+}
+
+template <class T> ACE_INLINE
+char * POA_CORBA::UnionDef_tie<T>::id (
+ CORBA::Environment &ACE_TRY_ENV
+ )
+ ACE_THROW_SPEC ((
+ CORBA::SystemException
+ ))
+{
+ return this->ptr_->id (
+ACE_TRY_ENV
+ );
+}
+
+template <class T> ACE_INLINE
+void POA_CORBA::UnionDef_tie<T>::id (
+ const char * id,
+ CORBA::Environment &ACE_TRY_ENV
+ )
+ ACE_THROW_SPEC ((
+ CORBA::SystemException
+ ))
+{
+ this->ptr_->id (
+id,
+ ACE_TRY_ENV
+ );
+}
+
+template <class T> ACE_INLINE
+char * POA_CORBA::UnionDef_tie<T>::name (
+ CORBA::Environment &ACE_TRY_ENV
+ )
+ ACE_THROW_SPEC ((
+ CORBA::SystemException
+ ))
+{
+ return this->ptr_->name (
+ACE_TRY_ENV
+ );
+}
+
+template <class T> ACE_INLINE
+void POA_CORBA::UnionDef_tie<T>::name (
+ const char * name,
+ CORBA::Environment &ACE_TRY_ENV
+ )
+ ACE_THROW_SPEC ((
+ CORBA::SystemException
+ ))
+{
+ this->ptr_->name (
+name,
+ ACE_TRY_ENV
+ );
+}
+
+template <class T> ACE_INLINE
+char * POA_CORBA::UnionDef_tie<T>::version (
+ CORBA::Environment &ACE_TRY_ENV
+ )
+ ACE_THROW_SPEC ((
+ CORBA::SystemException
+ ))
+{
+ return this->ptr_->version (
+ACE_TRY_ENV
+ );
+}
+
+template <class T> ACE_INLINE
+void POA_CORBA::UnionDef_tie<T>::version (
+ const char * version,
+ CORBA::Environment &ACE_TRY_ENV
+ )
+ ACE_THROW_SPEC ((
+ CORBA::SystemException
+ ))
+{
+ this->ptr_->version (
+version,
+ ACE_TRY_ENV
+ );
+}
+
+template <class T> ACE_INLINE
+CORBA::Container_ptr POA_CORBA::UnionDef_tie<T>::defined_in (
+ CORBA::Environment &ACE_TRY_ENV
+ )
+ ACE_THROW_SPEC ((
+ CORBA::SystemException
+ ))
+{
+ return this->ptr_->defined_in (
+ACE_TRY_ENV
+ );
+}
+
+template <class T> ACE_INLINE
+char * POA_CORBA::UnionDef_tie<T>::absolute_name (
+ CORBA::Environment &ACE_TRY_ENV
+ )
+ ACE_THROW_SPEC ((
+ CORBA::SystemException
+ ))
+{
+ return this->ptr_->absolute_name (
+ACE_TRY_ENV
+ );
+}
+
+template <class T> ACE_INLINE
+CORBA::Repository_ptr POA_CORBA::UnionDef_tie<T>::containing_repository (
+ CORBA::Environment &ACE_TRY_ENV
+ )
+ ACE_THROW_SPEC ((
+ CORBA::SystemException
+ ))
+{
+ return this->ptr_->containing_repository (
+ACE_TRY_ENV
+ );
+}
+
+template <class T> ACE_INLINE
+CORBA::Contained::Description * POA_CORBA::UnionDef_tie<T>::describe (
+ CORBA::Environment &ACE_TRY_ENV
+ )
+ ACE_THROW_SPEC ((
+ CORBA::SystemException
+ ))
+{
+ return this->ptr_->describe (
+ACE_TRY_ENV
+ );
+}
+
+template <class T> ACE_INLINE
+void POA_CORBA::UnionDef_tie<T>::move (
+ CORBA::Container_ptr new_container,
+ const char * new_name,
+ const char * new_version,
+ CORBA::Environment &ACE_TRY_ENV
+ )
+ ACE_THROW_SPEC ((
+ CORBA::SystemException
+ ))
+{
+ this->ptr_->move (
+new_container,
+ new_name,
+ new_version,
+ ACE_TRY_ENV
+ );
+}
+
+template <class T> ACE_INLINE
+CORBA::TypeCode_ptr POA_CORBA::UnionDef_tie<T>::type (
+ CORBA::Environment &ACE_TRY_ENV
+ )
+ ACE_THROW_SPEC ((
+ CORBA::SystemException
+ ))
+{
+ return this->ptr_->type (
+ACE_TRY_ENV
+ );
+}
+
+template <class T> ACE_INLINE
+CORBA::DefinitionKind POA_CORBA::UnionDef_tie<T>::def_kind (
+ CORBA::Environment &ACE_TRY_ENV
+ )
+ ACE_THROW_SPEC ((
+ CORBA::SystemException
+ ))
+{
+ return this->ptr_->def_kind (
+ACE_TRY_ENV
+ );
+}
+
+template <class T> ACE_INLINE
+void POA_CORBA::UnionDef_tie<T>::destroy (
+ CORBA::Environment &ACE_TRY_ENV
+ )
+ ACE_THROW_SPEC ((
+ CORBA::SystemException
+ ))
+{
+ this->ptr_->destroy (
+ACE_TRY_ENV
+ );
+}
+
+#endif /* ACE_HAS_USING_KEYWORD */
+
+#if defined (ACE_HAS_USING_KEYWORD)
+template <class T> ACE_INLINE
+POA_CORBA::EnumDef_tie<T>::EnumDef_tie (T &t)
+ : ptr_ (&t),
+ poa_ (PortableServer::POA::_nil ()),
+ rel_ (0)
+{}
+
+template <class T> ACE_INLINE
+POA_CORBA::EnumDef_tie<T>::EnumDef_tie (T &t, PortableServer::POA_ptr poa)
+ : ptr_ (&t),
+ poa_ (PortableServer::POA::_duplicate (poa)),
+ rel_ (0)
+{}
+
+template <class T> ACE_INLINE
+POA_CORBA::EnumDef_tie<T>::EnumDef_tie (T *tp, CORBA::Boolean release)
+ : ptr_ (tp),
+ poa_ (PortableServer::POA::_nil ()),
+ rel_ (release)
+{}
+
+template <class T> ACE_INLINE
+POA_CORBA::EnumDef_tie<T>::EnumDef_tie (T *tp, PortableServer::POA_ptr poa, CORBA::Boolean release)
+ : ptr_ (tp),
+ poa_ (PortableServer::POA::_duplicate (poa)),
+ rel_ (release)
+{}
+
+template <class T> ACE_INLINE
+POA_CORBA::EnumDef_tie<T>::~EnumDef_tie (void)
+{
+ if (this->rel_) delete this->ptr_;
+}
+
+template <class T> ACE_INLINE T *
+POA_CORBA::EnumDef_tie<T>::_tied_object (void)
+{
+ return this->ptr_;
+}
+
+template <class T> ACE_INLINE void
+POA_CORBA::EnumDef_tie<T>::_tied_object (T &obj)
+{
+ if (this->rel_) delete this->ptr_;
+ this->ptr_ = &obj;
+ this->rel_ = 0;
+}
+
+template <class T> ACE_INLINE void
+POA_CORBA::EnumDef_tie<T>::_tied_object (T *obj, CORBA::Boolean release)
+{
+ if (this->rel_) delete this->ptr_;
+ this->ptr_ = obj;
+ this->rel_ = release;
+}
+
+template <class T> ACE_INLINE CORBA::Boolean
+POA_CORBA::EnumDef_tie<T>::_is_owner (void)
+{
+ return this->rel_;
+}
+
+template <class T> ACE_INLINE void
+POA_CORBA::EnumDef_tie<T>::_is_owner (CORBA::Boolean b)
+{
+ this->rel_ = b;
+}
+
+template <class T> ACE_INLINE PortableServer::POA_ptr
+POA_CORBA::EnumDef_tie<T>::_default_POA (CORBA::Environment &ACE_TRY_ENV)
+{
+ if (!CORBA::is_nil (this->poa_.in ()))
+ return PortableServer::POA::_duplicate (this->poa_.in ());
+
+ return this->EnumDef::_default_POA (ACE_TRY_ENV);
+}
+
+template <class T> ACE_INLINE
+CORBA::EnumMemberSeq * POA_CORBA::EnumDef_tie<T>::members (
+ CORBA::Environment &ACE_TRY_ENV
+ )
+ ACE_THROW_SPEC ((
+ CORBA::SystemException
+ ))
+{
+ return this->ptr_->members (
+ACE_TRY_ENV
+ );
+}
+
+template <class T> ACE_INLINE
+void POA_CORBA::EnumDef_tie<T>::members (
+ const CORBA::EnumMemberSeq & members,
+ CORBA::Environment &ACE_TRY_ENV
+ )
+ ACE_THROW_SPEC ((
+ CORBA::SystemException
+ ))
+{
+ this->ptr_->members (
+members,
+ ACE_TRY_ENV
+ );
+}
+
+template <class T> ACE_INLINE
+char * POA_CORBA::EnumDef_tie<T>::id (
+ CORBA::Environment &ACE_TRY_ENV
+ )
+ ACE_THROW_SPEC ((
+ CORBA::SystemException
+ ))
+{
+ return this->ptr_->id (
+ACE_TRY_ENV
+ );
+}
+
+template <class T> ACE_INLINE
+void POA_CORBA::EnumDef_tie<T>::id (
+ const char * id,
+ CORBA::Environment &ACE_TRY_ENV
+ )
+ ACE_THROW_SPEC ((
+ CORBA::SystemException
+ ))
+{
+ this->ptr_->id (
+id,
+ ACE_TRY_ENV
+ );
+}
+
+template <class T> ACE_INLINE
+char * POA_CORBA::EnumDef_tie<T>::name (
+ CORBA::Environment &ACE_TRY_ENV
+ )
+ ACE_THROW_SPEC ((
+ CORBA::SystemException
+ ))
+{
+ return this->ptr_->name (
+ACE_TRY_ENV
+ );
+}
+
+template <class T> ACE_INLINE
+void POA_CORBA::EnumDef_tie<T>::name (
+ const char * name,
+ CORBA::Environment &ACE_TRY_ENV
+ )
+ ACE_THROW_SPEC ((
+ CORBA::SystemException
+ ))
+{
+ this->ptr_->name (
+name,
+ ACE_TRY_ENV
+ );
+}
+
+template <class T> ACE_INLINE
+char * POA_CORBA::EnumDef_tie<T>::version (
+ CORBA::Environment &ACE_TRY_ENV
+ )
+ ACE_THROW_SPEC ((
+ CORBA::SystemException
+ ))
+{
+ return this->ptr_->version (
+ACE_TRY_ENV
+ );
+}
+
+template <class T> ACE_INLINE
+void POA_CORBA::EnumDef_tie<T>::version (
+ const char * version,
+ CORBA::Environment &ACE_TRY_ENV
+ )
+ ACE_THROW_SPEC ((
+ CORBA::SystemException
+ ))
+{
+ this->ptr_->version (
+version,
+ ACE_TRY_ENV
+ );
+}
+
+template <class T> ACE_INLINE
+CORBA::Container_ptr POA_CORBA::EnumDef_tie<T>::defined_in (
+ CORBA::Environment &ACE_TRY_ENV
+ )
+ ACE_THROW_SPEC ((
+ CORBA::SystemException
+ ))
+{
+ return this->ptr_->defined_in (
+ACE_TRY_ENV
+ );
+}
+
+template <class T> ACE_INLINE
+char * POA_CORBA::EnumDef_tie<T>::absolute_name (
+ CORBA::Environment &ACE_TRY_ENV
+ )
+ ACE_THROW_SPEC ((
+ CORBA::SystemException
+ ))
+{
+ return this->ptr_->absolute_name (
+ACE_TRY_ENV
+ );
+}
+
+template <class T> ACE_INLINE
+CORBA::Repository_ptr POA_CORBA::EnumDef_tie<T>::containing_repository (
+ CORBA::Environment &ACE_TRY_ENV
+ )
+ ACE_THROW_SPEC ((
+ CORBA::SystemException
+ ))
+{
+ return this->ptr_->containing_repository (
+ACE_TRY_ENV
+ );
+}
+
+template <class T> ACE_INLINE
+CORBA::Contained::Description * POA_CORBA::EnumDef_tie<T>::describe (
+ CORBA::Environment &ACE_TRY_ENV
+ )
+ ACE_THROW_SPEC ((
+ CORBA::SystemException
+ ))
+{
+ return this->ptr_->describe (
+ACE_TRY_ENV
+ );
+}
+
+template <class T> ACE_INLINE
+void POA_CORBA::EnumDef_tie<T>::move (
+ CORBA::Container_ptr new_container,
+ const char * new_name,
+ const char * new_version,
+ CORBA::Environment &ACE_TRY_ENV
+ )
+ ACE_THROW_SPEC ((
+ CORBA::SystemException
+ ))
+{
+ this->ptr_->move (
+new_container,
+ new_name,
+ new_version,
+ ACE_TRY_ENV
+ );
+}
+
+template <class T> ACE_INLINE
+CORBA::TypeCode_ptr POA_CORBA::EnumDef_tie<T>::type (
+ CORBA::Environment &ACE_TRY_ENV
+ )
+ ACE_THROW_SPEC ((
+ CORBA::SystemException
+ ))
+{
+ return this->ptr_->type (
+ACE_TRY_ENV
+ );
+}
+
+template <class T> ACE_INLINE
+CORBA::DefinitionKind POA_CORBA::EnumDef_tie<T>::def_kind (
+ CORBA::Environment &ACE_TRY_ENV
+ )
+ ACE_THROW_SPEC ((
+ CORBA::SystemException
+ ))
+{
+ return this->ptr_->def_kind (
+ACE_TRY_ENV
+ );
+}
+
+template <class T> ACE_INLINE
+void POA_CORBA::EnumDef_tie<T>::destroy (
+ CORBA::Environment &ACE_TRY_ENV
+ )
+ ACE_THROW_SPEC ((
+ CORBA::SystemException
+ ))
+{
+ this->ptr_->destroy (
+ACE_TRY_ENV
+ );
+}
+
+#endif /* ACE_HAS_USING_KEYWORD */
+
+#if defined (ACE_HAS_USING_KEYWORD)
+template <class T> ACE_INLINE
+POA_CORBA::AliasDef_tie<T>::AliasDef_tie (T &t)
+ : ptr_ (&t),
+ poa_ (PortableServer::POA::_nil ()),
+ rel_ (0)
+{}
+
+template <class T> ACE_INLINE
+POA_CORBA::AliasDef_tie<T>::AliasDef_tie (T &t, PortableServer::POA_ptr poa)
+ : ptr_ (&t),
+ poa_ (PortableServer::POA::_duplicate (poa)),
+ rel_ (0)
+{}
+
+template <class T> ACE_INLINE
+POA_CORBA::AliasDef_tie<T>::AliasDef_tie (T *tp, CORBA::Boolean release)
+ : ptr_ (tp),
+ poa_ (PortableServer::POA::_nil ()),
+ rel_ (release)
+{}
+
+template <class T> ACE_INLINE
+POA_CORBA::AliasDef_tie<T>::AliasDef_tie (T *tp, PortableServer::POA_ptr poa, CORBA::Boolean release)
+ : ptr_ (tp),
+ poa_ (PortableServer::POA::_duplicate (poa)),
+ rel_ (release)
+{}
+
+template <class T> ACE_INLINE
+POA_CORBA::AliasDef_tie<T>::~AliasDef_tie (void)
+{
+ if (this->rel_) delete this->ptr_;
+}
+
+template <class T> ACE_INLINE T *
+POA_CORBA::AliasDef_tie<T>::_tied_object (void)
+{
+ return this->ptr_;
+}
+
+template <class T> ACE_INLINE void
+POA_CORBA::AliasDef_tie<T>::_tied_object (T &obj)
+{
+ if (this->rel_) delete this->ptr_;
+ this->ptr_ = &obj;
+ this->rel_ = 0;
+}
+
+template <class T> ACE_INLINE void
+POA_CORBA::AliasDef_tie<T>::_tied_object (T *obj, CORBA::Boolean release)
+{
+ if (this->rel_) delete this->ptr_;
+ this->ptr_ = obj;
+ this->rel_ = release;
+}
+
+template <class T> ACE_INLINE CORBA::Boolean
+POA_CORBA::AliasDef_tie<T>::_is_owner (void)
+{
+ return this->rel_;
+}
+
+template <class T> ACE_INLINE void
+POA_CORBA::AliasDef_tie<T>::_is_owner (CORBA::Boolean b)
+{
+ this->rel_ = b;
+}
+
+template <class T> ACE_INLINE PortableServer::POA_ptr
+POA_CORBA::AliasDef_tie<T>::_default_POA (CORBA::Environment &ACE_TRY_ENV)
+{
+ if (!CORBA::is_nil (this->poa_.in ()))
+ return PortableServer::POA::_duplicate (this->poa_.in ());
+
+ return this->AliasDef::_default_POA (ACE_TRY_ENV);
+}
+
+template <class T> ACE_INLINE
+CORBA::IDLType_ptr POA_CORBA::AliasDef_tie<T>::original_type_def (
+ CORBA::Environment &ACE_TRY_ENV
+ )
+ ACE_THROW_SPEC ((
+ CORBA::SystemException
+ ))
+{
+ return this->ptr_->original_type_def (
+ACE_TRY_ENV
+ );
+}
+
+template <class T> ACE_INLINE
+void POA_CORBA::AliasDef_tie<T>::original_type_def (
+ CORBA::IDLType_ptr original_type_def,
+ CORBA::Environment &ACE_TRY_ENV
+ )
+ ACE_THROW_SPEC ((
+ CORBA::SystemException
+ ))
+{
+ this->ptr_->original_type_def (
+original_type_def,
+ ACE_TRY_ENV
+ );
+}
+
+template <class T> ACE_INLINE
+char * POA_CORBA::AliasDef_tie<T>::id (
+ CORBA::Environment &ACE_TRY_ENV
+ )
+ ACE_THROW_SPEC ((
+ CORBA::SystemException
+ ))
+{
+ return this->ptr_->id (
+ACE_TRY_ENV
+ );
+}
+
+template <class T> ACE_INLINE
+void POA_CORBA::AliasDef_tie<T>::id (
+ const char * id,
+ CORBA::Environment &ACE_TRY_ENV
+ )
+ ACE_THROW_SPEC ((
+ CORBA::SystemException
+ ))
+{
+ this->ptr_->id (
+id,
+ ACE_TRY_ENV
+ );
+}
+
+template <class T> ACE_INLINE
+char * POA_CORBA::AliasDef_tie<T>::name (
+ CORBA::Environment &ACE_TRY_ENV
+ )
+ ACE_THROW_SPEC ((
+ CORBA::SystemException
+ ))
+{
+ return this->ptr_->name (
+ACE_TRY_ENV
+ );
+}
+
+template <class T> ACE_INLINE
+void POA_CORBA::AliasDef_tie<T>::name (
+ const char * name,
+ CORBA::Environment &ACE_TRY_ENV
+ )
+ ACE_THROW_SPEC ((
+ CORBA::SystemException
+ ))
+{
+ this->ptr_->name (
+name,
+ ACE_TRY_ENV
+ );
+}
+
+template <class T> ACE_INLINE
+char * POA_CORBA::AliasDef_tie<T>::version (
+ CORBA::Environment &ACE_TRY_ENV
+ )
+ ACE_THROW_SPEC ((
+ CORBA::SystemException
+ ))
+{
+ return this->ptr_->version (
+ACE_TRY_ENV
+ );
+}
+
+template <class T> ACE_INLINE
+void POA_CORBA::AliasDef_tie<T>::version (
+ const char * version,
+ CORBA::Environment &ACE_TRY_ENV
+ )
+ ACE_THROW_SPEC ((
+ CORBA::SystemException
+ ))
+{
+ this->ptr_->version (
+version,
+ ACE_TRY_ENV
+ );
+}
+
+template <class T> ACE_INLINE
+CORBA::Container_ptr POA_CORBA::AliasDef_tie<T>::defined_in (
+ CORBA::Environment &ACE_TRY_ENV
+ )
+ ACE_THROW_SPEC ((
+ CORBA::SystemException
+ ))
+{
+ return this->ptr_->defined_in (
+ACE_TRY_ENV
+ );
+}
+
+template <class T> ACE_INLINE
+char * POA_CORBA::AliasDef_tie<T>::absolute_name (
+ CORBA::Environment &ACE_TRY_ENV
+ )
+ ACE_THROW_SPEC ((
+ CORBA::SystemException
+ ))
+{
+ return this->ptr_->absolute_name (
+ACE_TRY_ENV
+ );
+}
+
+template <class T> ACE_INLINE
+CORBA::Repository_ptr POA_CORBA::AliasDef_tie<T>::containing_repository (
+ CORBA::Environment &ACE_TRY_ENV
+ )
+ ACE_THROW_SPEC ((
+ CORBA::SystemException
+ ))
+{
+ return this->ptr_->containing_repository (
+ACE_TRY_ENV
+ );
+}
+
+template <class T> ACE_INLINE
+CORBA::Contained::Description * POA_CORBA::AliasDef_tie<T>::describe (
+ CORBA::Environment &ACE_TRY_ENV
+ )
+ ACE_THROW_SPEC ((
+ CORBA::SystemException
+ ))
+{
+ return this->ptr_->describe (
+ACE_TRY_ENV
+ );
+}
+
+template <class T> ACE_INLINE
+void POA_CORBA::AliasDef_tie<T>::move (
+ CORBA::Container_ptr new_container,
+ const char * new_name,
+ const char * new_version,
+ CORBA::Environment &ACE_TRY_ENV
+ )
+ ACE_THROW_SPEC ((
+ CORBA::SystemException
+ ))
+{
+ this->ptr_->move (
+new_container,
+ new_name,
+ new_version,
+ ACE_TRY_ENV
+ );
+}
+
+template <class T> ACE_INLINE
+CORBA::TypeCode_ptr POA_CORBA::AliasDef_tie<T>::type (
+ CORBA::Environment &ACE_TRY_ENV
+ )
+ ACE_THROW_SPEC ((
+ CORBA::SystemException
+ ))
+{
+ return this->ptr_->type (
+ACE_TRY_ENV
+ );
+}
+
+template <class T> ACE_INLINE
+CORBA::DefinitionKind POA_CORBA::AliasDef_tie<T>::def_kind (
+ CORBA::Environment &ACE_TRY_ENV
+ )
+ ACE_THROW_SPEC ((
+ CORBA::SystemException
+ ))
+{
+ return this->ptr_->def_kind (
+ACE_TRY_ENV
+ );
+}
+
+template <class T> ACE_INLINE
+void POA_CORBA::AliasDef_tie<T>::destroy (
+ CORBA::Environment &ACE_TRY_ENV
+ )
+ ACE_THROW_SPEC ((
+ CORBA::SystemException
+ ))
+{
+ this->ptr_->destroy (
+ACE_TRY_ENV
+ );
+}
+
+#endif /* ACE_HAS_USING_KEYWORD */
+
+#if defined (ACE_HAS_USING_KEYWORD)
+template <class T> ACE_INLINE
+POA_CORBA::NativeDef_tie<T>::NativeDef_tie (T &t)
+ : ptr_ (&t),
+ poa_ (PortableServer::POA::_nil ()),
+ rel_ (0)
+{}
+
+template <class T> ACE_INLINE
+POA_CORBA::NativeDef_tie<T>::NativeDef_tie (T &t, PortableServer::POA_ptr poa)
+ : ptr_ (&t),
+ poa_ (PortableServer::POA::_duplicate (poa)),
+ rel_ (0)
+{}
+
+template <class T> ACE_INLINE
+POA_CORBA::NativeDef_tie<T>::NativeDef_tie (T *tp, CORBA::Boolean release)
+ : ptr_ (tp),
+ poa_ (PortableServer::POA::_nil ()),
+ rel_ (release)
+{}
+
+template <class T> ACE_INLINE
+POA_CORBA::NativeDef_tie<T>::NativeDef_tie (T *tp, PortableServer::POA_ptr poa, CORBA::Boolean release)
+ : ptr_ (tp),
+ poa_ (PortableServer::POA::_duplicate (poa)),
+ rel_ (release)
+{}
+
+template <class T> ACE_INLINE
+POA_CORBA::NativeDef_tie<T>::~NativeDef_tie (void)
+{
+ if (this->rel_) delete this->ptr_;
+}
+
+template <class T> ACE_INLINE T *
+POA_CORBA::NativeDef_tie<T>::_tied_object (void)
+{
+ return this->ptr_;
+}
+
+template <class T> ACE_INLINE void
+POA_CORBA::NativeDef_tie<T>::_tied_object (T &obj)
+{
+ if (this->rel_) delete this->ptr_;
+ this->ptr_ = &obj;
+ this->rel_ = 0;
+}
+
+template <class T> ACE_INLINE void
+POA_CORBA::NativeDef_tie<T>::_tied_object (T *obj, CORBA::Boolean release)
+{
+ if (this->rel_) delete this->ptr_;
+ this->ptr_ = obj;
+ this->rel_ = release;
+}
+
+template <class T> ACE_INLINE CORBA::Boolean
+POA_CORBA::NativeDef_tie<T>::_is_owner (void)
+{
+ return this->rel_;
+}
+
+template <class T> ACE_INLINE void
+POA_CORBA::NativeDef_tie<T>::_is_owner (CORBA::Boolean b)
+{
+ this->rel_ = b;
+}
+
+template <class T> ACE_INLINE PortableServer::POA_ptr
+POA_CORBA::NativeDef_tie<T>::_default_POA (CORBA::Environment &ACE_TRY_ENV)
+{
+ if (!CORBA::is_nil (this->poa_.in ()))
+ return PortableServer::POA::_duplicate (this->poa_.in ());
+
+ return this->NativeDef::_default_POA (ACE_TRY_ENV);
+}
+
+template <class T> ACE_INLINE
+char * POA_CORBA::NativeDef_tie<T>::id (
+ CORBA::Environment &ACE_TRY_ENV
+ )
+ ACE_THROW_SPEC ((
+ CORBA::SystemException
+ ))
+{
+ return this->ptr_->id (
+ACE_TRY_ENV
+ );
+}
+
+template <class T> ACE_INLINE
+void POA_CORBA::NativeDef_tie<T>::id (
+ const char * id,
+ CORBA::Environment &ACE_TRY_ENV
+ )
+ ACE_THROW_SPEC ((
+ CORBA::SystemException
+ ))
+{
+ this->ptr_->id (
+id,
+ ACE_TRY_ENV
+ );
+}
+
+template <class T> ACE_INLINE
+char * POA_CORBA::NativeDef_tie<T>::name (
+ CORBA::Environment &ACE_TRY_ENV
+ )
+ ACE_THROW_SPEC ((
+ CORBA::SystemException
+ ))
+{
+ return this->ptr_->name (
+ACE_TRY_ENV
+ );
+}
+
+template <class T> ACE_INLINE
+void POA_CORBA::NativeDef_tie<T>::name (
+ const char * name,
+ CORBA::Environment &ACE_TRY_ENV
+ )
+ ACE_THROW_SPEC ((
+ CORBA::SystemException
+ ))
+{
+ this->ptr_->name (
+name,
+ ACE_TRY_ENV
+ );
+}
+
+template <class T> ACE_INLINE
+char * POA_CORBA::NativeDef_tie<T>::version (
+ CORBA::Environment &ACE_TRY_ENV
+ )
+ ACE_THROW_SPEC ((
+ CORBA::SystemException
+ ))
+{
+ return this->ptr_->version (
+ACE_TRY_ENV
+ );
+}
+
+template <class T> ACE_INLINE
+void POA_CORBA::NativeDef_tie<T>::version (
+ const char * version,
+ CORBA::Environment &ACE_TRY_ENV
+ )
+ ACE_THROW_SPEC ((
+ CORBA::SystemException
+ ))
+{
+ this->ptr_->version (
+version,
+ ACE_TRY_ENV
+ );
+}
+
+template <class T> ACE_INLINE
+CORBA::Container_ptr POA_CORBA::NativeDef_tie<T>::defined_in (
+ CORBA::Environment &ACE_TRY_ENV
+ )
+ ACE_THROW_SPEC ((
+ CORBA::SystemException
+ ))
+{
+ return this->ptr_->defined_in (
+ACE_TRY_ENV
+ );
+}
+
+template <class T> ACE_INLINE
+char * POA_CORBA::NativeDef_tie<T>::absolute_name (
+ CORBA::Environment &ACE_TRY_ENV
+ )
+ ACE_THROW_SPEC ((
+ CORBA::SystemException
+ ))
+{
+ return this->ptr_->absolute_name (
+ACE_TRY_ENV
+ );
+}
+
+template <class T> ACE_INLINE
+CORBA::Repository_ptr POA_CORBA::NativeDef_tie<T>::containing_repository (
+ CORBA::Environment &ACE_TRY_ENV
+ )
+ ACE_THROW_SPEC ((
+ CORBA::SystemException
+ ))
+{
+ return this->ptr_->containing_repository (
+ACE_TRY_ENV
+ );
+}
+
+template <class T> ACE_INLINE
+CORBA::Contained::Description * POA_CORBA::NativeDef_tie<T>::describe (
+ CORBA::Environment &ACE_TRY_ENV
+ )
+ ACE_THROW_SPEC ((
+ CORBA::SystemException
+ ))
+{
+ return this->ptr_->describe (
+ACE_TRY_ENV
+ );
+}
+
+template <class T> ACE_INLINE
+void POA_CORBA::NativeDef_tie<T>::move (
+ CORBA::Container_ptr new_container,
+ const char * new_name,
+ const char * new_version,
+ CORBA::Environment &ACE_TRY_ENV
+ )
+ ACE_THROW_SPEC ((
+ CORBA::SystemException
+ ))
+{
+ this->ptr_->move (
+new_container,
+ new_name,
+ new_version,
+ ACE_TRY_ENV
+ );
+}
+
+template <class T> ACE_INLINE
+CORBA::TypeCode_ptr POA_CORBA::NativeDef_tie<T>::type (
+ CORBA::Environment &ACE_TRY_ENV
+ )
+ ACE_THROW_SPEC ((
+ CORBA::SystemException
+ ))
+{
+ return this->ptr_->type (
+ACE_TRY_ENV
+ );
+}
+
+template <class T> ACE_INLINE
+CORBA::DefinitionKind POA_CORBA::NativeDef_tie<T>::def_kind (
+ CORBA::Environment &ACE_TRY_ENV
+ )
+ ACE_THROW_SPEC ((
+ CORBA::SystemException
+ ))
+{
+ return this->ptr_->def_kind (
+ACE_TRY_ENV
+ );
+}
+
+template <class T> ACE_INLINE
+void POA_CORBA::NativeDef_tie<T>::destroy (
+ CORBA::Environment &ACE_TRY_ENV
+ )
+ ACE_THROW_SPEC ((
+ CORBA::SystemException
+ ))
+{
+ this->ptr_->destroy (
+ACE_TRY_ENV
+ );
+}
+
+#endif /* ACE_HAS_USING_KEYWORD */
+
+#if defined (ACE_HAS_USING_KEYWORD)
+template <class T> ACE_INLINE
+POA_CORBA::PrimitiveDef_tie<T>::PrimitiveDef_tie (T &t)
+ : ptr_ (&t),
+ poa_ (PortableServer::POA::_nil ()),
+ rel_ (0)
+{}
+
+template <class T> ACE_INLINE
+POA_CORBA::PrimitiveDef_tie<T>::PrimitiveDef_tie (T &t, PortableServer::POA_ptr poa)
+ : ptr_ (&t),
+ poa_ (PortableServer::POA::_duplicate (poa)),
+ rel_ (0)
+{}
+
+template <class T> ACE_INLINE
+POA_CORBA::PrimitiveDef_tie<T>::PrimitiveDef_tie (T *tp, CORBA::Boolean release)
+ : ptr_ (tp),
+ poa_ (PortableServer::POA::_nil ()),
+ rel_ (release)
+{}
+
+template <class T> ACE_INLINE
+POA_CORBA::PrimitiveDef_tie<T>::PrimitiveDef_tie (T *tp, PortableServer::POA_ptr poa, CORBA::Boolean release)
+ : ptr_ (tp),
+ poa_ (PortableServer::POA::_duplicate (poa)),
+ rel_ (release)
+{}
+
+template <class T> ACE_INLINE
+POA_CORBA::PrimitiveDef_tie<T>::~PrimitiveDef_tie (void)
+{
+ if (this->rel_) delete this->ptr_;
+}
+
+template <class T> ACE_INLINE T *
+POA_CORBA::PrimitiveDef_tie<T>::_tied_object (void)
+{
+ return this->ptr_;
+}
+
+template <class T> ACE_INLINE void
+POA_CORBA::PrimitiveDef_tie<T>::_tied_object (T &obj)
+{
+ if (this->rel_) delete this->ptr_;
+ this->ptr_ = &obj;
+ this->rel_ = 0;
+}
+
+template <class T> ACE_INLINE void
+POA_CORBA::PrimitiveDef_tie<T>::_tied_object (T *obj, CORBA::Boolean release)
+{
+ if (this->rel_) delete this->ptr_;
+ this->ptr_ = obj;
+ this->rel_ = release;
+}
+
+template <class T> ACE_INLINE CORBA::Boolean
+POA_CORBA::PrimitiveDef_tie<T>::_is_owner (void)
+{
+ return this->rel_;
+}
+
+template <class T> ACE_INLINE void
+POA_CORBA::PrimitiveDef_tie<T>::_is_owner (CORBA::Boolean b)
+{
+ this->rel_ = b;
+}
+
+template <class T> ACE_INLINE PortableServer::POA_ptr
+POA_CORBA::PrimitiveDef_tie<T>::_default_POA (CORBA::Environment &ACE_TRY_ENV)
+{
+ if (!CORBA::is_nil (this->poa_.in ()))
+ return PortableServer::POA::_duplicate (this->poa_.in ());
+
+ return this->PrimitiveDef::_default_POA (ACE_TRY_ENV);
+}
+
+template <class T> ACE_INLINE
+CORBA::PrimitiveKind POA_CORBA::PrimitiveDef_tie<T>::kind (
+ CORBA::Environment &ACE_TRY_ENV
+ )
+ ACE_THROW_SPEC ((
+ CORBA::SystemException
+ ))
+{
+ return this->ptr_->kind (
+ACE_TRY_ENV
+ );
+}
+
+template <class T> ACE_INLINE
+CORBA::TypeCode_ptr POA_CORBA::PrimitiveDef_tie<T>::type (
+ CORBA::Environment &ACE_TRY_ENV
+ )
+ ACE_THROW_SPEC ((
+ CORBA::SystemException
+ ))
+{
+ return this->ptr_->type (
+ACE_TRY_ENV
+ );
+}
+
+template <class T> ACE_INLINE
+CORBA::DefinitionKind POA_CORBA::PrimitiveDef_tie<T>::def_kind (
+ CORBA::Environment &ACE_TRY_ENV
+ )
+ ACE_THROW_SPEC ((
+ CORBA::SystemException
+ ))
+{
+ return this->ptr_->def_kind (
+ACE_TRY_ENV
+ );
+}
+
+template <class T> ACE_INLINE
+void POA_CORBA::PrimitiveDef_tie<T>::destroy (
+ CORBA::Environment &ACE_TRY_ENV
+ )
+ ACE_THROW_SPEC ((
+ CORBA::SystemException
+ ))
+{
+ this->ptr_->destroy (
+ACE_TRY_ENV
+ );
+}
+
+#endif /* ACE_HAS_USING_KEYWORD */
+
+#if defined (ACE_HAS_USING_KEYWORD)
+template <class T> ACE_INLINE
+POA_CORBA::StringDef_tie<T>::StringDef_tie (T &t)
+ : ptr_ (&t),
+ poa_ (PortableServer::POA::_nil ()),
+ rel_ (0)
+{}
+
+template <class T> ACE_INLINE
+POA_CORBA::StringDef_tie<T>::StringDef_tie (T &t, PortableServer::POA_ptr poa)
+ : ptr_ (&t),
+ poa_ (PortableServer::POA::_duplicate (poa)),
+ rel_ (0)
+{}
+
+template <class T> ACE_INLINE
+POA_CORBA::StringDef_tie<T>::StringDef_tie (T *tp, CORBA::Boolean release)
+ : ptr_ (tp),
+ poa_ (PortableServer::POA::_nil ()),
+ rel_ (release)
+{}
+
+template <class T> ACE_INLINE
+POA_CORBA::StringDef_tie<T>::StringDef_tie (T *tp, PortableServer::POA_ptr poa, CORBA::Boolean release)
+ : ptr_ (tp),
+ poa_ (PortableServer::POA::_duplicate (poa)),
+ rel_ (release)
+{}
+
+template <class T> ACE_INLINE
+POA_CORBA::StringDef_tie<T>::~StringDef_tie (void)
+{
+ if (this->rel_) delete this->ptr_;
+}
+
+template <class T> ACE_INLINE T *
+POA_CORBA::StringDef_tie<T>::_tied_object (void)
+{
+ return this->ptr_;
+}
+
+template <class T> ACE_INLINE void
+POA_CORBA::StringDef_tie<T>::_tied_object (T &obj)
+{
+ if (this->rel_) delete this->ptr_;
+ this->ptr_ = &obj;
+ this->rel_ = 0;
+}
+
+template <class T> ACE_INLINE void
+POA_CORBA::StringDef_tie<T>::_tied_object (T *obj, CORBA::Boolean release)
+{
+ if (this->rel_) delete this->ptr_;
+ this->ptr_ = obj;
+ this->rel_ = release;
+}
+
+template <class T> ACE_INLINE CORBA::Boolean
+POA_CORBA::StringDef_tie<T>::_is_owner (void)
+{
+ return this->rel_;
+}
+
+template <class T> ACE_INLINE void
+POA_CORBA::StringDef_tie<T>::_is_owner (CORBA::Boolean b)
+{
+ this->rel_ = b;
+}
+
+template <class T> ACE_INLINE PortableServer::POA_ptr
+POA_CORBA::StringDef_tie<T>::_default_POA (CORBA::Environment &ACE_TRY_ENV)
+{
+ if (!CORBA::is_nil (this->poa_.in ()))
+ return PortableServer::POA::_duplicate (this->poa_.in ());
+
+ return this->StringDef::_default_POA (ACE_TRY_ENV);
+}
+
+template <class T> ACE_INLINE
+CORBA::ULong POA_CORBA::StringDef_tie<T>::bound (
+ CORBA::Environment &ACE_TRY_ENV
+ )
+ ACE_THROW_SPEC ((
+ CORBA::SystemException
+ ))
+{
+ return this->ptr_->bound (
+ACE_TRY_ENV
+ );
+}
+
+template <class T> ACE_INLINE
+void POA_CORBA::StringDef_tie<T>::bound (
+ CORBA::ULong bound,
+ CORBA::Environment &ACE_TRY_ENV
+ )
+ ACE_THROW_SPEC ((
+ CORBA::SystemException
+ ))
+{
+ this->ptr_->bound (
+bound,
+ ACE_TRY_ENV
+ );
+}
+
+template <class T> ACE_INLINE
+CORBA::TypeCode_ptr POA_CORBA::StringDef_tie<T>::type (
+ CORBA::Environment &ACE_TRY_ENV
+ )
+ ACE_THROW_SPEC ((
+ CORBA::SystemException
+ ))
+{
+ return this->ptr_->type (
+ACE_TRY_ENV
+ );
+}
+
+template <class T> ACE_INLINE
+CORBA::DefinitionKind POA_CORBA::StringDef_tie<T>::def_kind (
+ CORBA::Environment &ACE_TRY_ENV
+ )
+ ACE_THROW_SPEC ((
+ CORBA::SystemException
+ ))
+{
+ return this->ptr_->def_kind (
+ACE_TRY_ENV
+ );
+}
+
+template <class T> ACE_INLINE
+void POA_CORBA::StringDef_tie<T>::destroy (
+ CORBA::Environment &ACE_TRY_ENV
+ )
+ ACE_THROW_SPEC ((
+ CORBA::SystemException
+ ))
+{
+ this->ptr_->destroy (
+ACE_TRY_ENV
+ );
+}
+
+#endif /* ACE_HAS_USING_KEYWORD */
+
+#if defined (ACE_HAS_USING_KEYWORD)
+template <class T> ACE_INLINE
+POA_CORBA::WstringDef_tie<T>::WstringDef_tie (T &t)
+ : ptr_ (&t),
+ poa_ (PortableServer::POA::_nil ()),
+ rel_ (0)
+{}
+
+template <class T> ACE_INLINE
+POA_CORBA::WstringDef_tie<T>::WstringDef_tie (T &t, PortableServer::POA_ptr poa)
+ : ptr_ (&t),
+ poa_ (PortableServer::POA::_duplicate (poa)),
+ rel_ (0)
+{}
+
+template <class T> ACE_INLINE
+POA_CORBA::WstringDef_tie<T>::WstringDef_tie (T *tp, CORBA::Boolean release)
+ : ptr_ (tp),
+ poa_ (PortableServer::POA::_nil ()),
+ rel_ (release)
+{}
+
+template <class T> ACE_INLINE
+POA_CORBA::WstringDef_tie<T>::WstringDef_tie (T *tp, PortableServer::POA_ptr poa, CORBA::Boolean release)
+ : ptr_ (tp),
+ poa_ (PortableServer::POA::_duplicate (poa)),
+ rel_ (release)
+{}
+
+template <class T> ACE_INLINE
+POA_CORBA::WstringDef_tie<T>::~WstringDef_tie (void)
+{
+ if (this->rel_) delete this->ptr_;
+}
+
+template <class T> ACE_INLINE T *
+POA_CORBA::WstringDef_tie<T>::_tied_object (void)
+{
+ return this->ptr_;
+}
+
+template <class T> ACE_INLINE void
+POA_CORBA::WstringDef_tie<T>::_tied_object (T &obj)
+{
+ if (this->rel_) delete this->ptr_;
+ this->ptr_ = &obj;
+ this->rel_ = 0;
+}
+
+template <class T> ACE_INLINE void
+POA_CORBA::WstringDef_tie<T>::_tied_object (T *obj, CORBA::Boolean release)
+{
+ if (this->rel_) delete this->ptr_;
+ this->ptr_ = obj;
+ this->rel_ = release;
+}
+
+template <class T> ACE_INLINE CORBA::Boolean
+POA_CORBA::WstringDef_tie<T>::_is_owner (void)
+{
+ return this->rel_;
+}
+
+template <class T> ACE_INLINE void
+POA_CORBA::WstringDef_tie<T>::_is_owner (CORBA::Boolean b)
+{
+ this->rel_ = b;
+}
+
+template <class T> ACE_INLINE PortableServer::POA_ptr
+POA_CORBA::WstringDef_tie<T>::_default_POA (CORBA::Environment &ACE_TRY_ENV)
+{
+ if (!CORBA::is_nil (this->poa_.in ()))
+ return PortableServer::POA::_duplicate (this->poa_.in ());
+
+ return this->WstringDef::_default_POA (ACE_TRY_ENV);
+}
+
+template <class T> ACE_INLINE
+CORBA::ULong POA_CORBA::WstringDef_tie<T>::bound (
+ CORBA::Environment &ACE_TRY_ENV
+ )
+ ACE_THROW_SPEC ((
+ CORBA::SystemException
+ ))
+{
+ return this->ptr_->bound (
+ACE_TRY_ENV
+ );
+}
+
+template <class T> ACE_INLINE
+void POA_CORBA::WstringDef_tie<T>::bound (
+ CORBA::ULong bound,
+ CORBA::Environment &ACE_TRY_ENV
+ )
+ ACE_THROW_SPEC ((
+ CORBA::SystemException
+ ))
+{
+ this->ptr_->bound (
+bound,
+ ACE_TRY_ENV
+ );
+}
+
+template <class T> ACE_INLINE
+CORBA::TypeCode_ptr POA_CORBA::WstringDef_tie<T>::type (
+ CORBA::Environment &ACE_TRY_ENV
+ )
+ ACE_THROW_SPEC ((
+ CORBA::SystemException
+ ))
+{
+ return this->ptr_->type (
+ACE_TRY_ENV
+ );
+}
+
+template <class T> ACE_INLINE
+CORBA::DefinitionKind POA_CORBA::WstringDef_tie<T>::def_kind (
+ CORBA::Environment &ACE_TRY_ENV
+ )
+ ACE_THROW_SPEC ((
+ CORBA::SystemException
+ ))
+{
+ return this->ptr_->def_kind (
+ACE_TRY_ENV
+ );
+}
+
+template <class T> ACE_INLINE
+void POA_CORBA::WstringDef_tie<T>::destroy (
+ CORBA::Environment &ACE_TRY_ENV
+ )
+ ACE_THROW_SPEC ((
+ CORBA::SystemException
+ ))
+{
+ this->ptr_->destroy (
+ACE_TRY_ENV
+ );
+}
+
+#endif /* ACE_HAS_USING_KEYWORD */
+
+#if defined (ACE_HAS_USING_KEYWORD)
+template <class T> ACE_INLINE
+POA_CORBA::SequenceDef_tie<T>::SequenceDef_tie (T &t)
+ : ptr_ (&t),
+ poa_ (PortableServer::POA::_nil ()),
+ rel_ (0)
+{}
+
+template <class T> ACE_INLINE
+POA_CORBA::SequenceDef_tie<T>::SequenceDef_tie (T &t, PortableServer::POA_ptr poa)
+ : ptr_ (&t),
+ poa_ (PortableServer::POA::_duplicate (poa)),
+ rel_ (0)
+{}
+
+template <class T> ACE_INLINE
+POA_CORBA::SequenceDef_tie<T>::SequenceDef_tie (T *tp, CORBA::Boolean release)
+ : ptr_ (tp),
+ poa_ (PortableServer::POA::_nil ()),
+ rel_ (release)
+{}
+
+template <class T> ACE_INLINE
+POA_CORBA::SequenceDef_tie<T>::SequenceDef_tie (T *tp, PortableServer::POA_ptr poa, CORBA::Boolean release)
+ : ptr_ (tp),
+ poa_ (PortableServer::POA::_duplicate (poa)),
+ rel_ (release)
+{}
+
+template <class T> ACE_INLINE
+POA_CORBA::SequenceDef_tie<T>::~SequenceDef_tie (void)
+{
+ if (this->rel_) delete this->ptr_;
+}
+
+template <class T> ACE_INLINE T *
+POA_CORBA::SequenceDef_tie<T>::_tied_object (void)
+{
+ return this->ptr_;
+}
+
+template <class T> ACE_INLINE void
+POA_CORBA::SequenceDef_tie<T>::_tied_object (T &obj)
+{
+ if (this->rel_) delete this->ptr_;
+ this->ptr_ = &obj;
+ this->rel_ = 0;
+}
+
+template <class T> ACE_INLINE void
+POA_CORBA::SequenceDef_tie<T>::_tied_object (T *obj, CORBA::Boolean release)
+{
+ if (this->rel_) delete this->ptr_;
+ this->ptr_ = obj;
+ this->rel_ = release;
+}
+
+template <class T> ACE_INLINE CORBA::Boolean
+POA_CORBA::SequenceDef_tie<T>::_is_owner (void)
+{
+ return this->rel_;
+}
+
+template <class T> ACE_INLINE void
+POA_CORBA::SequenceDef_tie<T>::_is_owner (CORBA::Boolean b)
+{
+ this->rel_ = b;
+}
+
+template <class T> ACE_INLINE PortableServer::POA_ptr
+POA_CORBA::SequenceDef_tie<T>::_default_POA (CORBA::Environment &ACE_TRY_ENV)
+{
+ if (!CORBA::is_nil (this->poa_.in ()))
+ return PortableServer::POA::_duplicate (this->poa_.in ());
+
+ return this->SequenceDef::_default_POA (ACE_TRY_ENV);
+}
+
+template <class T> ACE_INLINE
+CORBA::ULong POA_CORBA::SequenceDef_tie<T>::bound (
+ CORBA::Environment &ACE_TRY_ENV
+ )
+ ACE_THROW_SPEC ((
+ CORBA::SystemException
+ ))
+{
+ return this->ptr_->bound (
+ACE_TRY_ENV
+ );
+}
+
+template <class T> ACE_INLINE
+void POA_CORBA::SequenceDef_tie<T>::bound (
+ CORBA::ULong bound,
+ CORBA::Environment &ACE_TRY_ENV
+ )
+ ACE_THROW_SPEC ((
+ CORBA::SystemException
+ ))
+{
+ this->ptr_->bound (
+bound,
+ ACE_TRY_ENV
+ );
+}
+
+template <class T> ACE_INLINE
+CORBA::TypeCode_ptr POA_CORBA::SequenceDef_tie<T>::element_type (
+ CORBA::Environment &ACE_TRY_ENV
+ )
+ ACE_THROW_SPEC ((
+ CORBA::SystemException
+ ))
+{
+ return this->ptr_->element_type (
+ACE_TRY_ENV
+ );
+}
+
+template <class T> ACE_INLINE
+CORBA::IDLType_ptr POA_CORBA::SequenceDef_tie<T>::element_type_def (
+ CORBA::Environment &ACE_TRY_ENV
+ )
+ ACE_THROW_SPEC ((
+ CORBA::SystemException
+ ))
+{
+ return this->ptr_->element_type_def (
+ACE_TRY_ENV
+ );
+}
+
+template <class T> ACE_INLINE
+void POA_CORBA::SequenceDef_tie<T>::element_type_def (
+ CORBA::IDLType_ptr element_type_def,
+ CORBA::Environment &ACE_TRY_ENV
+ )
+ ACE_THROW_SPEC ((
+ CORBA::SystemException
+ ))
+{
+ this->ptr_->element_type_def (
+element_type_def,
+ ACE_TRY_ENV
+ );
+}
+
+template <class T> ACE_INLINE
+CORBA::TypeCode_ptr POA_CORBA::SequenceDef_tie<T>::type (
+ CORBA::Environment &ACE_TRY_ENV
+ )
+ ACE_THROW_SPEC ((
+ CORBA::SystemException
+ ))
+{
+ return this->ptr_->type (
+ACE_TRY_ENV
+ );
+}
+
+template <class T> ACE_INLINE
+CORBA::DefinitionKind POA_CORBA::SequenceDef_tie<T>::def_kind (
+ CORBA::Environment &ACE_TRY_ENV
+ )
+ ACE_THROW_SPEC ((
+ CORBA::SystemException
+ ))
+{
+ return this->ptr_->def_kind (
+ACE_TRY_ENV
+ );
+}
+
+template <class T> ACE_INLINE
+void POA_CORBA::SequenceDef_tie<T>::destroy (
+ CORBA::Environment &ACE_TRY_ENV
+ )
+ ACE_THROW_SPEC ((
+ CORBA::SystemException
+ ))
+{
+ this->ptr_->destroy (
+ACE_TRY_ENV
+ );
+}
+
+#endif /* ACE_HAS_USING_KEYWORD */
+
+#if defined (ACE_HAS_USING_KEYWORD)
+template <class T> ACE_INLINE
+POA_CORBA::ArrayDef_tie<T>::ArrayDef_tie (T &t)
+ : ptr_ (&t),
+ poa_ (PortableServer::POA::_nil ()),
+ rel_ (0)
+{}
+
+template <class T> ACE_INLINE
+POA_CORBA::ArrayDef_tie<T>::ArrayDef_tie (T &t, PortableServer::POA_ptr poa)
+ : ptr_ (&t),
+ poa_ (PortableServer::POA::_duplicate (poa)),
+ rel_ (0)
+{}
+
+template <class T> ACE_INLINE
+POA_CORBA::ArrayDef_tie<T>::ArrayDef_tie (T *tp, CORBA::Boolean release)
+ : ptr_ (tp),
+ poa_ (PortableServer::POA::_nil ()),
+ rel_ (release)
+{}
+
+template <class T> ACE_INLINE
+POA_CORBA::ArrayDef_tie<T>::ArrayDef_tie (T *tp, PortableServer::POA_ptr poa, CORBA::Boolean release)
+ : ptr_ (tp),
+ poa_ (PortableServer::POA::_duplicate (poa)),
+ rel_ (release)
+{}
+
+template <class T> ACE_INLINE
+POA_CORBA::ArrayDef_tie<T>::~ArrayDef_tie (void)
+{
+ if (this->rel_) delete this->ptr_;
+}
+
+template <class T> ACE_INLINE T *
+POA_CORBA::ArrayDef_tie<T>::_tied_object (void)
+{
+ return this->ptr_;
+}
+
+template <class T> ACE_INLINE void
+POA_CORBA::ArrayDef_tie<T>::_tied_object (T &obj)
+{
+ if (this->rel_) delete this->ptr_;
+ this->ptr_ = &obj;
+ this->rel_ = 0;
+}
+
+template <class T> ACE_INLINE void
+POA_CORBA::ArrayDef_tie<T>::_tied_object (T *obj, CORBA::Boolean release)
+{
+ if (this->rel_) delete this->ptr_;
+ this->ptr_ = obj;
+ this->rel_ = release;
+}
+
+template <class T> ACE_INLINE CORBA::Boolean
+POA_CORBA::ArrayDef_tie<T>::_is_owner (void)
+{
+ return this->rel_;
+}
+
+template <class T> ACE_INLINE void
+POA_CORBA::ArrayDef_tie<T>::_is_owner (CORBA::Boolean b)
+{
+ this->rel_ = b;
+}
+
+template <class T> ACE_INLINE PortableServer::POA_ptr
+POA_CORBA::ArrayDef_tie<T>::_default_POA (CORBA::Environment &ACE_TRY_ENV)
+{
+ if (!CORBA::is_nil (this->poa_.in ()))
+ return PortableServer::POA::_duplicate (this->poa_.in ());
+
+ return this->ArrayDef::_default_POA (ACE_TRY_ENV);
+}
+
+template <class T> ACE_INLINE
+CORBA::ULong POA_CORBA::ArrayDef_tie<T>::length (
+ CORBA::Environment &ACE_TRY_ENV
+ )
+ ACE_THROW_SPEC ((
+ CORBA::SystemException
+ ))
+{
+ return this->ptr_->length (
+ACE_TRY_ENV
+ );
+}
+
+template <class T> ACE_INLINE
+void POA_CORBA::ArrayDef_tie<T>::length (
+ CORBA::ULong length,
+ CORBA::Environment &ACE_TRY_ENV
+ )
+ ACE_THROW_SPEC ((
+ CORBA::SystemException
+ ))
+{
+ this->ptr_->length (
+length,
+ ACE_TRY_ENV
+ );
+}
+
+template <class T> ACE_INLINE
+CORBA::TypeCode_ptr POA_CORBA::ArrayDef_tie<T>::element_type (
+ CORBA::Environment &ACE_TRY_ENV
+ )
+ ACE_THROW_SPEC ((
+ CORBA::SystemException
+ ))
+{
+ return this->ptr_->element_type (
+ACE_TRY_ENV
+ );
+}
+
+template <class T> ACE_INLINE
+CORBA::IDLType_ptr POA_CORBA::ArrayDef_tie<T>::element_type_def (
+ CORBA::Environment &ACE_TRY_ENV
+ )
+ ACE_THROW_SPEC ((
+ CORBA::SystemException
+ ))
+{
+ return this->ptr_->element_type_def (
+ACE_TRY_ENV
+ );
+}
+
+template <class T> ACE_INLINE
+void POA_CORBA::ArrayDef_tie<T>::element_type_def (
+ CORBA::IDLType_ptr element_type_def,
+ CORBA::Environment &ACE_TRY_ENV
+ )
+ ACE_THROW_SPEC ((
+ CORBA::SystemException
+ ))
+{
+ this->ptr_->element_type_def (
+element_type_def,
+ ACE_TRY_ENV
+ );
+}
+
+template <class T> ACE_INLINE
+CORBA::TypeCode_ptr POA_CORBA::ArrayDef_tie<T>::type (
+ CORBA::Environment &ACE_TRY_ENV
+ )
+ ACE_THROW_SPEC ((
+ CORBA::SystemException
+ ))
+{
+ return this->ptr_->type (
+ACE_TRY_ENV
+ );
+}
+
+template <class T> ACE_INLINE
+CORBA::DefinitionKind POA_CORBA::ArrayDef_tie<T>::def_kind (
+ CORBA::Environment &ACE_TRY_ENV
+ )
+ ACE_THROW_SPEC ((
+ CORBA::SystemException
+ ))
+{
+ return this->ptr_->def_kind (
+ACE_TRY_ENV
+ );
+}
+
+template <class T> ACE_INLINE
+void POA_CORBA::ArrayDef_tie<T>::destroy (
+ CORBA::Environment &ACE_TRY_ENV
+ )
+ ACE_THROW_SPEC ((
+ CORBA::SystemException
+ ))
+{
+ this->ptr_->destroy (
+ACE_TRY_ENV
+ );
+}
+
+#endif /* ACE_HAS_USING_KEYWORD */
+
+#if defined (ACE_HAS_USING_KEYWORD)
+template <class T> ACE_INLINE
+POA_CORBA::ExceptionDef_tie<T>::ExceptionDef_tie (T &t)
+ : ptr_ (&t),
+ poa_ (PortableServer::POA::_nil ()),
+ rel_ (0)
+{}
+
+template <class T> ACE_INLINE
+POA_CORBA::ExceptionDef_tie<T>::ExceptionDef_tie (T &t, PortableServer::POA_ptr poa)
+ : ptr_ (&t),
+ poa_ (PortableServer::POA::_duplicate (poa)),
+ rel_ (0)
+{}
+
+template <class T> ACE_INLINE
+POA_CORBA::ExceptionDef_tie<T>::ExceptionDef_tie (T *tp, CORBA::Boolean release)
+ : ptr_ (tp),
+ poa_ (PortableServer::POA::_nil ()),
+ rel_ (release)
+{}
+
+template <class T> ACE_INLINE
+POA_CORBA::ExceptionDef_tie<T>::ExceptionDef_tie (T *tp, PortableServer::POA_ptr poa, CORBA::Boolean release)
+ : ptr_ (tp),
+ poa_ (PortableServer::POA::_duplicate (poa)),
+ rel_ (release)
+{}
+
+template <class T> ACE_INLINE
+POA_CORBA::ExceptionDef_tie<T>::~ExceptionDef_tie (void)
+{
+ if (this->rel_) delete this->ptr_;
+}
+
+template <class T> ACE_INLINE T *
+POA_CORBA::ExceptionDef_tie<T>::_tied_object (void)
+{
+ return this->ptr_;
+}
+
+template <class T> ACE_INLINE void
+POA_CORBA::ExceptionDef_tie<T>::_tied_object (T &obj)
+{
+ if (this->rel_) delete this->ptr_;
+ this->ptr_ = &obj;
+ this->rel_ = 0;
+}
+
+template <class T> ACE_INLINE void
+POA_CORBA::ExceptionDef_tie<T>::_tied_object (T *obj, CORBA::Boolean release)
+{
+ if (this->rel_) delete this->ptr_;
+ this->ptr_ = obj;
+ this->rel_ = release;
+}
+
+template <class T> ACE_INLINE CORBA::Boolean
+POA_CORBA::ExceptionDef_tie<T>::_is_owner (void)
+{
+ return this->rel_;
+}
+
+template <class T> ACE_INLINE void
+POA_CORBA::ExceptionDef_tie<T>::_is_owner (CORBA::Boolean b)
+{
+ this->rel_ = b;
+}
+
+template <class T> ACE_INLINE PortableServer::POA_ptr
+POA_CORBA::ExceptionDef_tie<T>::_default_POA (CORBA::Environment &ACE_TRY_ENV)
+{
+ if (!CORBA::is_nil (this->poa_.in ()))
+ return PortableServer::POA::_duplicate (this->poa_.in ());
+
+ return this->ExceptionDef::_default_POA (ACE_TRY_ENV);
+}
+
+template <class T> ACE_INLINE
+CORBA::TypeCode_ptr POA_CORBA::ExceptionDef_tie<T>::type (
+ CORBA::Environment &ACE_TRY_ENV
+ )
+ ACE_THROW_SPEC ((
+ CORBA::SystemException
+ ))
+{
+ return this->ptr_->type (
+ACE_TRY_ENV
+ );
+}
+
+template <class T> ACE_INLINE
+CORBA::StructMemberSeq * POA_CORBA::ExceptionDef_tie<T>::members (
+ CORBA::Environment &ACE_TRY_ENV
+ )
+ ACE_THROW_SPEC ((
+ CORBA::SystemException
+ ))
+{
+ return this->ptr_->members (
+ACE_TRY_ENV
+ );
+}
+
+template <class T> ACE_INLINE
+void POA_CORBA::ExceptionDef_tie<T>::members (
+ const CORBA::StructMemberSeq & members,
+ CORBA::Environment &ACE_TRY_ENV
+ )
+ ACE_THROW_SPEC ((
+ CORBA::SystemException
+ ))
+{
+ this->ptr_->members (
+members,
+ ACE_TRY_ENV
+ );
+}
+
+template <class T> ACE_INLINE
+char * POA_CORBA::ExceptionDef_tie<T>::id (
+ CORBA::Environment &ACE_TRY_ENV
+ )
+ ACE_THROW_SPEC ((
+ CORBA::SystemException
+ ))
+{
+ return this->ptr_->id (
+ACE_TRY_ENV
+ );
+}
+
+template <class T> ACE_INLINE
+void POA_CORBA::ExceptionDef_tie<T>::id (
+ const char * id,
+ CORBA::Environment &ACE_TRY_ENV
+ )
+ ACE_THROW_SPEC ((
+ CORBA::SystemException
+ ))
+{
+ this->ptr_->id (
+id,
+ ACE_TRY_ENV
+ );
+}
+
+template <class T> ACE_INLINE
+char * POA_CORBA::ExceptionDef_tie<T>::name (
+ CORBA::Environment &ACE_TRY_ENV
+ )
+ ACE_THROW_SPEC ((
+ CORBA::SystemException
+ ))
+{
+ return this->ptr_->name (
+ACE_TRY_ENV
+ );
+}
+
+template <class T> ACE_INLINE
+void POA_CORBA::ExceptionDef_tie<T>::name (
+ const char * name,
+ CORBA::Environment &ACE_TRY_ENV
+ )
+ ACE_THROW_SPEC ((
+ CORBA::SystemException
+ ))
+{
+ this->ptr_->name (
+name,
+ ACE_TRY_ENV
+ );
+}
+
+template <class T> ACE_INLINE
+char * POA_CORBA::ExceptionDef_tie<T>::version (
+ CORBA::Environment &ACE_TRY_ENV
+ )
+ ACE_THROW_SPEC ((
+ CORBA::SystemException
+ ))
+{
+ return this->ptr_->version (
+ACE_TRY_ENV
+ );
+}
+
+template <class T> ACE_INLINE
+void POA_CORBA::ExceptionDef_tie<T>::version (
+ const char * version,
+ CORBA::Environment &ACE_TRY_ENV
+ )
+ ACE_THROW_SPEC ((
+ CORBA::SystemException
+ ))
+{
+ this->ptr_->version (
+version,
+ ACE_TRY_ENV
+ );
+}
+
+template <class T> ACE_INLINE
+CORBA::Container_ptr POA_CORBA::ExceptionDef_tie<T>::defined_in (
+ CORBA::Environment &ACE_TRY_ENV
+ )
+ ACE_THROW_SPEC ((
+ CORBA::SystemException
+ ))
+{
+ return this->ptr_->defined_in (
+ACE_TRY_ENV
+ );
+}
+
+template <class T> ACE_INLINE
+char * POA_CORBA::ExceptionDef_tie<T>::absolute_name (
+ CORBA::Environment &ACE_TRY_ENV
+ )
+ ACE_THROW_SPEC ((
+ CORBA::SystemException
+ ))
+{
+ return this->ptr_->absolute_name (
+ACE_TRY_ENV
+ );
+}
+
+template <class T> ACE_INLINE
+CORBA::Repository_ptr POA_CORBA::ExceptionDef_tie<T>::containing_repository (
+ CORBA::Environment &ACE_TRY_ENV
+ )
+ ACE_THROW_SPEC ((
+ CORBA::SystemException
+ ))
+{
+ return this->ptr_->containing_repository (
+ACE_TRY_ENV
+ );
+}
+
+template <class T> ACE_INLINE
+CORBA::Contained::Description * POA_CORBA::ExceptionDef_tie<T>::describe (
+ CORBA::Environment &ACE_TRY_ENV
+ )
+ ACE_THROW_SPEC ((
+ CORBA::SystemException
+ ))
+{
+ return this->ptr_->describe (
+ACE_TRY_ENV
+ );
+}
+
+template <class T> ACE_INLINE
+void POA_CORBA::ExceptionDef_tie<T>::move (
+ CORBA::Container_ptr new_container,
+ const char * new_name,
+ const char * new_version,
+ CORBA::Environment &ACE_TRY_ENV
+ )
+ ACE_THROW_SPEC ((
+ CORBA::SystemException
+ ))
+{
+ this->ptr_->move (
+new_container,
+ new_name,
+ new_version,
+ ACE_TRY_ENV
+ );
+}
+
+template <class T> ACE_INLINE
+CORBA::Contained_ptr POA_CORBA::ExceptionDef_tie<T>::lookup (
+ const char * search_name,
+ CORBA::Environment &ACE_TRY_ENV
+ )
+ ACE_THROW_SPEC ((
+ CORBA::SystemException
+ ))
+{
+ return this->ptr_->lookup (
+search_name,
+ ACE_TRY_ENV
+ );
+}
+
+template <class T> ACE_INLINE
+CORBA::ContainedSeq * POA_CORBA::ExceptionDef_tie<T>::contents (
+ CORBA::DefinitionKind limit_type,
+ CORBA::Boolean exclude_inherited,
+ CORBA::Environment &ACE_TRY_ENV
+ )
+ ACE_THROW_SPEC ((
+ CORBA::SystemException
+ ))
+{
+ return this->ptr_->contents (
+limit_type,
+ exclude_inherited,
+ ACE_TRY_ENV
+ );
+}
+
+template <class T> ACE_INLINE
+CORBA::ContainedSeq * POA_CORBA::ExceptionDef_tie<T>::lookup_name (
+ const char * search_name,
+ CORBA::Long levels_to_search,
+ CORBA::DefinitionKind limit_type,
+ CORBA::Boolean exclude_inherited,
+ CORBA::Environment &ACE_TRY_ENV
+ )
+ ACE_THROW_SPEC ((
+ CORBA::SystemException
+ ))
+{
+ return this->ptr_->lookup_name (
+search_name,
+ levels_to_search,
+ limit_type,
+ exclude_inherited,
+ ACE_TRY_ENV
+ );
+}
+
+template <class T> ACE_INLINE
+CORBA::Container::DescriptionSeq * POA_CORBA::ExceptionDef_tie<T>::describe_contents (
+ CORBA::DefinitionKind limit_type,
+ CORBA::Boolean exclude_inherited,
+ CORBA::Long max_returned_objs,
+ CORBA::Environment &ACE_TRY_ENV
+ )
+ ACE_THROW_SPEC ((
+ CORBA::SystemException
+ ))
+{
+ return this->ptr_->describe_contents (
+limit_type,
+ exclude_inherited,
+ max_returned_objs,
+ ACE_TRY_ENV
+ );
+}
+
+template <class T> ACE_INLINE
+CORBA::ModuleDef_ptr POA_CORBA::ExceptionDef_tie<T>::create_module (
+ const char * id,
+ const char * name,
+ const char * version,
+ CORBA::Environment &ACE_TRY_ENV
+ )
+ ACE_THROW_SPEC ((
+ CORBA::SystemException
+ ))
+{
+ return this->ptr_->create_module (
+id,
+ name,
+ version,
+ ACE_TRY_ENV
+ );
+}
+
+template <class T> ACE_INLINE
+CORBA::ConstantDef_ptr POA_CORBA::ExceptionDef_tie<T>::create_constant (
+ const char * id,
+ const char * name,
+ const char * version,
+ CORBA::IDLType_ptr type,
+ const CORBA::Any & value,
+ CORBA::Environment &ACE_TRY_ENV
+ )
+ ACE_THROW_SPEC ((
+ CORBA::SystemException
+ ))
+{
+ return this->ptr_->create_constant (
+id,
+ name,
+ version,
+ type,
+ value,
+ ACE_TRY_ENV
+ );
+}
+
+template <class T> ACE_INLINE
+CORBA::StructDef_ptr POA_CORBA::ExceptionDef_tie<T>::create_struct (
+ const char * id,
+ const char * name,
+ const char * version,
+ const CORBA::StructMemberSeq & members,
+ CORBA::Environment &ACE_TRY_ENV
+ )
+ ACE_THROW_SPEC ((
+ CORBA::SystemException
+ ))
+{
+ return this->ptr_->create_struct (
+id,
+ name,
+ version,
+ members,
+ ACE_TRY_ENV
+ );
+}
+
+template <class T> ACE_INLINE
+CORBA::UnionDef_ptr POA_CORBA::ExceptionDef_tie<T>::create_union (
+ const char * id,
+ const char * name,
+ const char * version,
+ CORBA::IDLType_ptr discriminator_type,
+ const CORBA::UnionMemberSeq & members,
+ CORBA::Environment &ACE_TRY_ENV
+ )
+ ACE_THROW_SPEC ((
+ CORBA::SystemException
+ ))
+{
+ return this->ptr_->create_union (
+id,
+ name,
+ version,
+ discriminator_type,
+ members,
+ ACE_TRY_ENV
+ );
+}
+
+template <class T> ACE_INLINE
+CORBA::EnumDef_ptr POA_CORBA::ExceptionDef_tie<T>::create_enum (
+ const char * id,
+ const char * name,
+ const char * version,
+ const CORBA::EnumMemberSeq & members,
+ CORBA::Environment &ACE_TRY_ENV
+ )
+ ACE_THROW_SPEC ((
+ CORBA::SystemException
+ ))
+{
+ return this->ptr_->create_enum (
+id,
+ name,
+ version,
+ members,
+ ACE_TRY_ENV
+ );
+}
+
+template <class T> ACE_INLINE
+CORBA::AliasDef_ptr POA_CORBA::ExceptionDef_tie<T>::create_alias (
+ const char * id,
+ const char * name,
+ const char * version,
+ CORBA::IDLType_ptr original_type,
+ CORBA::Environment &ACE_TRY_ENV
+ )
+ ACE_THROW_SPEC ((
+ CORBA::SystemException
+ ))
+{
+ return this->ptr_->create_alias (
+id,
+ name,
+ version,
+ original_type,
+ ACE_TRY_ENV
+ );
+}
+
+template <class T> ACE_INLINE
+CORBA::InterfaceDef_ptr POA_CORBA::ExceptionDef_tie<T>::create_interface (
+ const char * id,
+ const char * name,
+ const char * version,
+ const CORBA::InterfaceDefSeq & base_interfaces,
+ CORBA::Environment &ACE_TRY_ENV
+ )
+ ACE_THROW_SPEC ((
+ CORBA::SystemException
+ ))
+{
+ return this->ptr_->create_interface (
+id,
+ name,
+ version,
+ base_interfaces,
+ ACE_TRY_ENV
+ );
+}
+
+template <class T> ACE_INLINE
+CORBA::ValueDef_ptr POA_CORBA::ExceptionDef_tie<T>::create_value (
+ const char * id,
+ const char * name,
+ const char * version,
+ CORBA::Boolean is_custom,
+ CORBA::Boolean is_abstract,
+ CORBA::ValueDef_ptr base_value,
+ CORBA::Boolean is_truncatable,
+ const CORBA::ValueDefSeq & abstract_base_values,
+ const CORBA::InterfaceDefSeq & supported_interfaces,
+ const CORBA::InitializerSeq & initializers,
+ CORBA::Environment &ACE_TRY_ENV
+ )
+ ACE_THROW_SPEC ((
+ CORBA::SystemException
+ ))
+{
+ return this->ptr_->create_value (
+id,
+ name,
+ version,
+ is_custom,
+ is_abstract,
+ base_value,
+ is_truncatable,
+ abstract_base_values,
+ supported_interfaces,
+ initializers,
+ ACE_TRY_ENV
+ );
+}
+
+template <class T> ACE_INLINE
+CORBA::ValueBoxDef_ptr POA_CORBA::ExceptionDef_tie<T>::create_value_box (
+ const char * id,
+ const char * name,
+ const char * version,
+ CORBA::IDLType_ptr original_type_def,
+ CORBA::Environment &ACE_TRY_ENV
+ )
+ ACE_THROW_SPEC ((
+ CORBA::SystemException
+ ))
+{
+ return this->ptr_->create_value_box (
+id,
+ name,
+ version,
+ original_type_def,
+ ACE_TRY_ENV
+ );
+}
+
+template <class T> ACE_INLINE
+CORBA::ExceptionDef_ptr POA_CORBA::ExceptionDef_tie<T>::create_exception (
+ const char * id,
+ const char * name,
+ const char * version,
+ const CORBA::StructMemberSeq & members,
+ CORBA::Environment &ACE_TRY_ENV
+ )
+ ACE_THROW_SPEC ((
+ CORBA::SystemException
+ ))
+{
+ return this->ptr_->create_exception (
+id,
+ name,
+ version,
+ members,
+ ACE_TRY_ENV
+ );
+}
+
+template <class T> ACE_INLINE
+CORBA::NativeDef_ptr POA_CORBA::ExceptionDef_tie<T>::create_native (
+ const char * id,
+ const char * name,
+ const char * version,
+ CORBA::Environment &ACE_TRY_ENV
+ )
+ ACE_THROW_SPEC ((
+ CORBA::SystemException
+ ))
+{
+ return this->ptr_->create_native (
+id,
+ name,
+ version,
+ ACE_TRY_ENV
+ );
+}
+
+template <class T> ACE_INLINE
+CORBA::AbstractInterfaceDef_ptr POA_CORBA::ExceptionDef_tie<T>::create_abstract_interface (
+ const char * id,
+ const char * name,
+ const char * version,
+ const CORBA::AbstractInterfaceDefSeq & base_interfaces,
+ CORBA::Environment &ACE_TRY_ENV
+ )
+ ACE_THROW_SPEC ((
+ CORBA::SystemException
+ ))
+{
+ return this->ptr_->create_abstract_interface (
+id,
+ name,
+ version,
+ base_interfaces,
+ ACE_TRY_ENV
+ );
+}
+
+template <class T> ACE_INLINE
+CORBA::LocalInterfaceDef_ptr POA_CORBA::ExceptionDef_tie<T>::create_local_interface (
+ const char * id,
+ const char * name,
+ const char * version,
+ const CORBA::InterfaceDefSeq & base_interfaces,
+ CORBA::Environment &ACE_TRY_ENV
+ )
+ ACE_THROW_SPEC ((
+ CORBA::SystemException
+ ))
+{
+ return this->ptr_->create_local_interface (
+id,
+ name,
+ version,
+ base_interfaces,
+ ACE_TRY_ENV
+ );
+}
+
+template <class T> ACE_INLINE
+CORBA::DefinitionKind POA_CORBA::ExceptionDef_tie<T>::def_kind (
+ CORBA::Environment &ACE_TRY_ENV
+ )
+ ACE_THROW_SPEC ((
+ CORBA::SystemException
+ ))
+{
+ return this->ptr_->def_kind (
+ACE_TRY_ENV
+ );
+}
+
+template <class T> ACE_INLINE
+void POA_CORBA::ExceptionDef_tie<T>::destroy (
+ CORBA::Environment &ACE_TRY_ENV
+ )
+ ACE_THROW_SPEC ((
+ CORBA::SystemException
+ ))
+{
+ this->ptr_->destroy (
+ACE_TRY_ENV
+ );
+}
+
+#endif /* ACE_HAS_USING_KEYWORD */
+
+#if defined (ACE_HAS_USING_KEYWORD)
+template <class T> ACE_INLINE
+POA_CORBA::AttributeDef_tie<T>::AttributeDef_tie (T &t)
+ : ptr_ (&t),
+ poa_ (PortableServer::POA::_nil ()),
+ rel_ (0)
+{}
+
+template <class T> ACE_INLINE
+POA_CORBA::AttributeDef_tie<T>::AttributeDef_tie (T &t, PortableServer::POA_ptr poa)
+ : ptr_ (&t),
+ poa_ (PortableServer::POA::_duplicate (poa)),
+ rel_ (0)
+{}
+
+template <class T> ACE_INLINE
+POA_CORBA::AttributeDef_tie<T>::AttributeDef_tie (T *tp, CORBA::Boolean release)
+ : ptr_ (tp),
+ poa_ (PortableServer::POA::_nil ()),
+ rel_ (release)
+{}
+
+template <class T> ACE_INLINE
+POA_CORBA::AttributeDef_tie<T>::AttributeDef_tie (T *tp, PortableServer::POA_ptr poa, CORBA::Boolean release)
+ : ptr_ (tp),
+ poa_ (PortableServer::POA::_duplicate (poa)),
+ rel_ (release)
+{}
+
+template <class T> ACE_INLINE
+POA_CORBA::AttributeDef_tie<T>::~AttributeDef_tie (void)
+{
+ if (this->rel_) delete this->ptr_;
+}
+
+template <class T> ACE_INLINE T *
+POA_CORBA::AttributeDef_tie<T>::_tied_object (void)
+{
+ return this->ptr_;
+}
+
+template <class T> ACE_INLINE void
+POA_CORBA::AttributeDef_tie<T>::_tied_object (T &obj)
+{
+ if (this->rel_) delete this->ptr_;
+ this->ptr_ = &obj;
+ this->rel_ = 0;
+}
+
+template <class T> ACE_INLINE void
+POA_CORBA::AttributeDef_tie<T>::_tied_object (T *obj, CORBA::Boolean release)
+{
+ if (this->rel_) delete this->ptr_;
+ this->ptr_ = obj;
+ this->rel_ = release;
+}
+
+template <class T> ACE_INLINE CORBA::Boolean
+POA_CORBA::AttributeDef_tie<T>::_is_owner (void)
+{
+ return this->rel_;
+}
+
+template <class T> ACE_INLINE void
+POA_CORBA::AttributeDef_tie<T>::_is_owner (CORBA::Boolean b)
+{
+ this->rel_ = b;
+}
+
+template <class T> ACE_INLINE PortableServer::POA_ptr
+POA_CORBA::AttributeDef_tie<T>::_default_POA (CORBA::Environment &ACE_TRY_ENV)
+{
+ if (!CORBA::is_nil (this->poa_.in ()))
+ return PortableServer::POA::_duplicate (this->poa_.in ());
+
+ return this->AttributeDef::_default_POA (ACE_TRY_ENV);
+}
+
+template <class T> ACE_INLINE
+CORBA::TypeCode_ptr POA_CORBA::AttributeDef_tie<T>::type (
+ CORBA::Environment &ACE_TRY_ENV
+ )
+ ACE_THROW_SPEC ((
+ CORBA::SystemException
+ ))
+{
+ return this->ptr_->type (
+ACE_TRY_ENV
+ );
+}
+
+template <class T> ACE_INLINE
+CORBA::IDLType_ptr POA_CORBA::AttributeDef_tie<T>::type_def (
+ CORBA::Environment &ACE_TRY_ENV
+ )
+ ACE_THROW_SPEC ((
+ CORBA::SystemException
+ ))
+{
+ return this->ptr_->type_def (
+ACE_TRY_ENV
+ );
+}
+
+template <class T> ACE_INLINE
+void POA_CORBA::AttributeDef_tie<T>::type_def (
+ CORBA::IDLType_ptr type_def,
+ CORBA::Environment &ACE_TRY_ENV
+ )
+ ACE_THROW_SPEC ((
+ CORBA::SystemException
+ ))
+{
+ this->ptr_->type_def (
+type_def,
+ ACE_TRY_ENV
+ );
+}
+
+template <class T> ACE_INLINE
+CORBA::AttributeMode POA_CORBA::AttributeDef_tie<T>::mode (
+ CORBA::Environment &ACE_TRY_ENV
+ )
+ ACE_THROW_SPEC ((
+ CORBA::SystemException
+ ))
+{
+ return this->ptr_->mode (
+ACE_TRY_ENV
+ );
+}
+
+template <class T> ACE_INLINE
+void POA_CORBA::AttributeDef_tie<T>::mode (
+ CORBA::AttributeMode mode,
+ CORBA::Environment &ACE_TRY_ENV
+ )
+ ACE_THROW_SPEC ((
+ CORBA::SystemException
+ ))
+{
+ this->ptr_->mode (
+mode,
+ ACE_TRY_ENV
+ );
+}
+
+template <class T> ACE_INLINE
+char * POA_CORBA::AttributeDef_tie<T>::id (
+ CORBA::Environment &ACE_TRY_ENV
+ )
+ ACE_THROW_SPEC ((
+ CORBA::SystemException
+ ))
+{
+ return this->ptr_->id (
+ACE_TRY_ENV
+ );
+}
+
+template <class T> ACE_INLINE
+void POA_CORBA::AttributeDef_tie<T>::id (
+ const char * id,
+ CORBA::Environment &ACE_TRY_ENV
+ )
+ ACE_THROW_SPEC ((
+ CORBA::SystemException
+ ))
+{
+ this->ptr_->id (
+id,
+ ACE_TRY_ENV
+ );
+}
+
+template <class T> ACE_INLINE
+char * POA_CORBA::AttributeDef_tie<T>::name (
+ CORBA::Environment &ACE_TRY_ENV
+ )
+ ACE_THROW_SPEC ((
+ CORBA::SystemException
+ ))
+{
+ return this->ptr_->name (
+ACE_TRY_ENV
+ );
+}
+
+template <class T> ACE_INLINE
+void POA_CORBA::AttributeDef_tie<T>::name (
+ const char * name,
+ CORBA::Environment &ACE_TRY_ENV
+ )
+ ACE_THROW_SPEC ((
+ CORBA::SystemException
+ ))
+{
+ this->ptr_->name (
+name,
+ ACE_TRY_ENV
+ );
+}
+
+template <class T> ACE_INLINE
+char * POA_CORBA::AttributeDef_tie<T>::version (
+ CORBA::Environment &ACE_TRY_ENV
+ )
+ ACE_THROW_SPEC ((
+ CORBA::SystemException
+ ))
+{
+ return this->ptr_->version (
+ACE_TRY_ENV
+ );
+}
+
+template <class T> ACE_INLINE
+void POA_CORBA::AttributeDef_tie<T>::version (
+ const char * version,
+ CORBA::Environment &ACE_TRY_ENV
+ )
+ ACE_THROW_SPEC ((
+ CORBA::SystemException
+ ))
+{
+ this->ptr_->version (
+version,
+ ACE_TRY_ENV
+ );
+}
+
+template <class T> ACE_INLINE
+CORBA::Container_ptr POA_CORBA::AttributeDef_tie<T>::defined_in (
+ CORBA::Environment &ACE_TRY_ENV
+ )
+ ACE_THROW_SPEC ((
+ CORBA::SystemException
+ ))
+{
+ return this->ptr_->defined_in (
+ACE_TRY_ENV
+ );
+}
+
+template <class T> ACE_INLINE
+char * POA_CORBA::AttributeDef_tie<T>::absolute_name (
+ CORBA::Environment &ACE_TRY_ENV
+ )
+ ACE_THROW_SPEC ((
+ CORBA::SystemException
+ ))
+{
+ return this->ptr_->absolute_name (
+ACE_TRY_ENV
+ );
+}
+
+template <class T> ACE_INLINE
+CORBA::Repository_ptr POA_CORBA::AttributeDef_tie<T>::containing_repository (
+ CORBA::Environment &ACE_TRY_ENV
+ )
+ ACE_THROW_SPEC ((
+ CORBA::SystemException
+ ))
+{
+ return this->ptr_->containing_repository (
+ACE_TRY_ENV
+ );
+}
+
+template <class T> ACE_INLINE
+CORBA::Contained::Description * POA_CORBA::AttributeDef_tie<T>::describe (
+ CORBA::Environment &ACE_TRY_ENV
+ )
+ ACE_THROW_SPEC ((
+ CORBA::SystemException
+ ))
+{
+ return this->ptr_->describe (
+ACE_TRY_ENV
+ );
+}
+
+template <class T> ACE_INLINE
+void POA_CORBA::AttributeDef_tie<T>::move (
+ CORBA::Container_ptr new_container,
+ const char * new_name,
+ const char * new_version,
+ CORBA::Environment &ACE_TRY_ENV
+ )
+ ACE_THROW_SPEC ((
+ CORBA::SystemException
+ ))
+{
+ this->ptr_->move (
+new_container,
+ new_name,
+ new_version,
+ ACE_TRY_ENV
+ );
+}
+
+template <class T> ACE_INLINE
+CORBA::DefinitionKind POA_CORBA::AttributeDef_tie<T>::def_kind (
+ CORBA::Environment &ACE_TRY_ENV
+ )
+ ACE_THROW_SPEC ((
+ CORBA::SystemException
+ ))
+{
+ return this->ptr_->def_kind (
+ACE_TRY_ENV
+ );
+}
+
+template <class T> ACE_INLINE
+void POA_CORBA::AttributeDef_tie<T>::destroy (
+ CORBA::Environment &ACE_TRY_ENV
+ )
+ ACE_THROW_SPEC ((
+ CORBA::SystemException
+ ))
+{
+ this->ptr_->destroy (
+ACE_TRY_ENV
+ );
+}
+
+#endif /* ACE_HAS_USING_KEYWORD */
+
+#if defined (ACE_HAS_USING_KEYWORD)
+template <class T> ACE_INLINE
+POA_CORBA::OperationDef_tie<T>::OperationDef_tie (T &t)
+ : ptr_ (&t),
+ poa_ (PortableServer::POA::_nil ()),
+ rel_ (0)
+{}
+
+template <class T> ACE_INLINE
+POA_CORBA::OperationDef_tie<T>::OperationDef_tie (T &t, PortableServer::POA_ptr poa)
+ : ptr_ (&t),
+ poa_ (PortableServer::POA::_duplicate (poa)),
+ rel_ (0)
+{}
+
+template <class T> ACE_INLINE
+POA_CORBA::OperationDef_tie<T>::OperationDef_tie (T *tp, CORBA::Boolean release)
+ : ptr_ (tp),
+ poa_ (PortableServer::POA::_nil ()),
+ rel_ (release)
+{}
+
+template <class T> ACE_INLINE
+POA_CORBA::OperationDef_tie<T>::OperationDef_tie (T *tp, PortableServer::POA_ptr poa, CORBA::Boolean release)
+ : ptr_ (tp),
+ poa_ (PortableServer::POA::_duplicate (poa)),
+ rel_ (release)
+{}
+
+template <class T> ACE_INLINE
+POA_CORBA::OperationDef_tie<T>::~OperationDef_tie (void)
+{
+ if (this->rel_) delete this->ptr_;
+}
+
+template <class T> ACE_INLINE T *
+POA_CORBA::OperationDef_tie<T>::_tied_object (void)
+{
+ return this->ptr_;
+}
+
+template <class T> ACE_INLINE void
+POA_CORBA::OperationDef_tie<T>::_tied_object (T &obj)
+{
+ if (this->rel_) delete this->ptr_;
+ this->ptr_ = &obj;
+ this->rel_ = 0;
+}
+
+template <class T> ACE_INLINE void
+POA_CORBA::OperationDef_tie<T>::_tied_object (T *obj, CORBA::Boolean release)
+{
+ if (this->rel_) delete this->ptr_;
+ this->ptr_ = obj;
+ this->rel_ = release;
+}
+
+template <class T> ACE_INLINE CORBA::Boolean
+POA_CORBA::OperationDef_tie<T>::_is_owner (void)
+{
+ return this->rel_;
+}
+
+template <class T> ACE_INLINE void
+POA_CORBA::OperationDef_tie<T>::_is_owner (CORBA::Boolean b)
+{
+ this->rel_ = b;
+}
+
+template <class T> ACE_INLINE PortableServer::POA_ptr
+POA_CORBA::OperationDef_tie<T>::_default_POA (CORBA::Environment &ACE_TRY_ENV)
+{
+ if (!CORBA::is_nil (this->poa_.in ()))
+ return PortableServer::POA::_duplicate (this->poa_.in ());
+
+ return this->OperationDef::_default_POA (ACE_TRY_ENV);
+}
+
+template <class T> ACE_INLINE
+CORBA::TypeCode_ptr POA_CORBA::OperationDef_tie<T>::result (
+ CORBA::Environment &ACE_TRY_ENV
+ )
+ ACE_THROW_SPEC ((
+ CORBA::SystemException
+ ))
+{
+ return this->ptr_->result (
+ACE_TRY_ENV
+ );
+}
+
+template <class T> ACE_INLINE
+CORBA::IDLType_ptr POA_CORBA::OperationDef_tie<T>::result_def (
+ CORBA::Environment &ACE_TRY_ENV
+ )
+ ACE_THROW_SPEC ((
+ CORBA::SystemException
+ ))
+{
+ return this->ptr_->result_def (
+ACE_TRY_ENV
+ );
+}
+
+template <class T> ACE_INLINE
+void POA_CORBA::OperationDef_tie<T>::result_def (
+ CORBA::IDLType_ptr result_def,
+ CORBA::Environment &ACE_TRY_ENV
+ )
+ ACE_THROW_SPEC ((
+ CORBA::SystemException
+ ))
+{
+ this->ptr_->result_def (
+result_def,
+ ACE_TRY_ENV
+ );
+}
+
+template <class T> ACE_INLINE
+CORBA::ParDescriptionSeq * POA_CORBA::OperationDef_tie<T>::params (
+ CORBA::Environment &ACE_TRY_ENV
+ )
+ ACE_THROW_SPEC ((
+ CORBA::SystemException
+ ))
+{
+ return this->ptr_->params (
+ACE_TRY_ENV
+ );
+}
+
+template <class T> ACE_INLINE
+void POA_CORBA::OperationDef_tie<T>::params (
+ const CORBA::ParDescriptionSeq & params,
+ CORBA::Environment &ACE_TRY_ENV
+ )
+ ACE_THROW_SPEC ((
+ CORBA::SystemException
+ ))
+{
+ this->ptr_->params (
+params,
+ ACE_TRY_ENV
+ );
+}
+
+template <class T> ACE_INLINE
+CORBA::OperationMode POA_CORBA::OperationDef_tie<T>::mode (
+ CORBA::Environment &ACE_TRY_ENV
+ )
+ ACE_THROW_SPEC ((
+ CORBA::SystemException
+ ))
+{
+ return this->ptr_->mode (
+ACE_TRY_ENV
+ );
+}
+
+template <class T> ACE_INLINE
+void POA_CORBA::OperationDef_tie<T>::mode (
+ CORBA::OperationMode mode,
+ CORBA::Environment &ACE_TRY_ENV
+ )
+ ACE_THROW_SPEC ((
+ CORBA::SystemException
+ ))
+{
+ this->ptr_->mode (
+mode,
+ ACE_TRY_ENV
+ );
+}
+
+template <class T> ACE_INLINE
+CORBA::ContextIdSeq * POA_CORBA::OperationDef_tie<T>::contexts (
+ CORBA::Environment &ACE_TRY_ENV
+ )
+ ACE_THROW_SPEC ((
+ CORBA::SystemException
+ ))
+{
+ return this->ptr_->contexts (
+ACE_TRY_ENV
+ );
+}
+
+template <class T> ACE_INLINE
+void POA_CORBA::OperationDef_tie<T>::contexts (
+ const CORBA::ContextIdSeq & contexts,
+ CORBA::Environment &ACE_TRY_ENV
+ )
+ ACE_THROW_SPEC ((
+ CORBA::SystemException
+ ))
+{
+ this->ptr_->contexts (
+contexts,
+ ACE_TRY_ENV
+ );
+}
+
+template <class T> ACE_INLINE
+CORBA::ExceptionDefSeq * POA_CORBA::OperationDef_tie<T>::exceptions (
+ CORBA::Environment &ACE_TRY_ENV
+ )
+ ACE_THROW_SPEC ((
+ CORBA::SystemException
+ ))
+{
+ return this->ptr_->exceptions (
+ACE_TRY_ENV
+ );
+}
+
+template <class T> ACE_INLINE
+void POA_CORBA::OperationDef_tie<T>::exceptions (
+ const CORBA::ExceptionDefSeq & exceptions,
+ CORBA::Environment &ACE_TRY_ENV
+ )
+ ACE_THROW_SPEC ((
+ CORBA::SystemException
+ ))
+{
+ this->ptr_->exceptions (
+exceptions,
+ ACE_TRY_ENV
+ );
+}
+
+template <class T> ACE_INLINE
+char * POA_CORBA::OperationDef_tie<T>::id (
+ CORBA::Environment &ACE_TRY_ENV
+ )
+ ACE_THROW_SPEC ((
+ CORBA::SystemException
+ ))
+{
+ return this->ptr_->id (
+ACE_TRY_ENV
+ );
+}
+
+template <class T> ACE_INLINE
+void POA_CORBA::OperationDef_tie<T>::id (
+ const char * id,
+ CORBA::Environment &ACE_TRY_ENV
+ )
+ ACE_THROW_SPEC ((
+ CORBA::SystemException
+ ))
+{
+ this->ptr_->id (
+id,
+ ACE_TRY_ENV
+ );
+}
+
+template <class T> ACE_INLINE
+char * POA_CORBA::OperationDef_tie<T>::name (
+ CORBA::Environment &ACE_TRY_ENV
+ )
+ ACE_THROW_SPEC ((
+ CORBA::SystemException
+ ))
+{
+ return this->ptr_->name (
+ACE_TRY_ENV
+ );
+}
+
+template <class T> ACE_INLINE
+void POA_CORBA::OperationDef_tie<T>::name (
+ const char * name,
+ CORBA::Environment &ACE_TRY_ENV
+ )
+ ACE_THROW_SPEC ((
+ CORBA::SystemException
+ ))
+{
+ this->ptr_->name (
+name,
+ ACE_TRY_ENV
+ );
+}
+
+template <class T> ACE_INLINE
+char * POA_CORBA::OperationDef_tie<T>::version (
+ CORBA::Environment &ACE_TRY_ENV
+ )
+ ACE_THROW_SPEC ((
+ CORBA::SystemException
+ ))
+{
+ return this->ptr_->version (
+ACE_TRY_ENV
+ );
+}
+
+template <class T> ACE_INLINE
+void POA_CORBA::OperationDef_tie<T>::version (
+ const char * version,
+ CORBA::Environment &ACE_TRY_ENV
+ )
+ ACE_THROW_SPEC ((
+ CORBA::SystemException
+ ))
+{
+ this->ptr_->version (
+version,
+ ACE_TRY_ENV
+ );
+}
+
+template <class T> ACE_INLINE
+CORBA::Container_ptr POA_CORBA::OperationDef_tie<T>::defined_in (
+ CORBA::Environment &ACE_TRY_ENV
+ )
+ ACE_THROW_SPEC ((
+ CORBA::SystemException
+ ))
+{
+ return this->ptr_->defined_in (
+ACE_TRY_ENV
+ );
+}
+
+template <class T> ACE_INLINE
+char * POA_CORBA::OperationDef_tie<T>::absolute_name (
+ CORBA::Environment &ACE_TRY_ENV
+ )
+ ACE_THROW_SPEC ((
+ CORBA::SystemException
+ ))
+{
+ return this->ptr_->absolute_name (
+ACE_TRY_ENV
+ );
+}
+
+template <class T> ACE_INLINE
+CORBA::Repository_ptr POA_CORBA::OperationDef_tie<T>::containing_repository (
+ CORBA::Environment &ACE_TRY_ENV
+ )
+ ACE_THROW_SPEC ((
+ CORBA::SystemException
+ ))
+{
+ return this->ptr_->containing_repository (
+ACE_TRY_ENV
+ );
+}
+
+template <class T> ACE_INLINE
+CORBA::Contained::Description * POA_CORBA::OperationDef_tie<T>::describe (
+ CORBA::Environment &ACE_TRY_ENV
+ )
+ ACE_THROW_SPEC ((
+ CORBA::SystemException
+ ))
+{
+ return this->ptr_->describe (
+ACE_TRY_ENV
+ );
+}
+
+template <class T> ACE_INLINE
+void POA_CORBA::OperationDef_tie<T>::move (
+ CORBA::Container_ptr new_container,
+ const char * new_name,
+ const char * new_version,
+ CORBA::Environment &ACE_TRY_ENV
+ )
+ ACE_THROW_SPEC ((
+ CORBA::SystemException
+ ))
+{
+ this->ptr_->move (
+new_container,
+ new_name,
+ new_version,
+ ACE_TRY_ENV
+ );
+}
+
+template <class T> ACE_INLINE
+CORBA::DefinitionKind POA_CORBA::OperationDef_tie<T>::def_kind (
+ CORBA::Environment &ACE_TRY_ENV
+ )
+ ACE_THROW_SPEC ((
+ CORBA::SystemException
+ ))
+{
+ return this->ptr_->def_kind (
+ACE_TRY_ENV
+ );
+}
+
+template <class T> ACE_INLINE
+void POA_CORBA::OperationDef_tie<T>::destroy (
+ CORBA::Environment &ACE_TRY_ENV
+ )
+ ACE_THROW_SPEC ((
+ CORBA::SystemException
+ ))
+{
+ this->ptr_->destroy (
+ACE_TRY_ENV
+ );
+}
+
+#endif /* ACE_HAS_USING_KEYWORD */
+
+#if defined (ACE_HAS_USING_KEYWORD)
+template <class T> ACE_INLINE
+POA_CORBA::InterfaceDef_tie<T>::InterfaceDef_tie (T &t)
+ : ptr_ (&t),
+ poa_ (PortableServer::POA::_nil ()),
+ rel_ (0)
+{}
+
+template <class T> ACE_INLINE
+POA_CORBA::InterfaceDef_tie<T>::InterfaceDef_tie (T &t, PortableServer::POA_ptr poa)
+ : ptr_ (&t),
+ poa_ (PortableServer::POA::_duplicate (poa)),
+ rel_ (0)
+{}
+
+template <class T> ACE_INLINE
+POA_CORBA::InterfaceDef_tie<T>::InterfaceDef_tie (T *tp, CORBA::Boolean release)
+ : ptr_ (tp),
+ poa_ (PortableServer::POA::_nil ()),
+ rel_ (release)
+{}
+
+template <class T> ACE_INLINE
+POA_CORBA::InterfaceDef_tie<T>::InterfaceDef_tie (T *tp, PortableServer::POA_ptr poa, CORBA::Boolean release)
+ : ptr_ (tp),
+ poa_ (PortableServer::POA::_duplicate (poa)),
+ rel_ (release)
+{}
+
+template <class T> ACE_INLINE
+POA_CORBA::InterfaceDef_tie<T>::~InterfaceDef_tie (void)
+{
+ if (this->rel_) delete this->ptr_;
+}
+
+template <class T> ACE_INLINE T *
+POA_CORBA::InterfaceDef_tie<T>::_tied_object (void)
+{
+ return this->ptr_;
+}
+
+template <class T> ACE_INLINE void
+POA_CORBA::InterfaceDef_tie<T>::_tied_object (T &obj)
+{
+ if (this->rel_) delete this->ptr_;
+ this->ptr_ = &obj;
+ this->rel_ = 0;
+}
+
+template <class T> ACE_INLINE void
+POA_CORBA::InterfaceDef_tie<T>::_tied_object (T *obj, CORBA::Boolean release)
+{
+ if (this->rel_) delete this->ptr_;
+ this->ptr_ = obj;
+ this->rel_ = release;
+}
+
+template <class T> ACE_INLINE CORBA::Boolean
+POA_CORBA::InterfaceDef_tie<T>::_is_owner (void)
+{
+ return this->rel_;
+}
+
+template <class T> ACE_INLINE void
+POA_CORBA::InterfaceDef_tie<T>::_is_owner (CORBA::Boolean b)
+{
+ this->rel_ = b;
+}
+
+template <class T> ACE_INLINE PortableServer::POA_ptr
+POA_CORBA::InterfaceDef_tie<T>::_default_POA (CORBA::Environment &ACE_TRY_ENV)
+{
+ if (!CORBA::is_nil (this->poa_.in ()))
+ return PortableServer::POA::_duplicate (this->poa_.in ());
+
+ return this->InterfaceDef::_default_POA (ACE_TRY_ENV);
+}
+
+template <class T> ACE_INLINE
+CORBA::InterfaceDefSeq * POA_CORBA::InterfaceDef_tie<T>::base_interfaces (
+ CORBA::Environment &ACE_TRY_ENV
+ )
+ ACE_THROW_SPEC ((
+ CORBA::SystemException
+ ))
+{
+ return this->ptr_->base_interfaces (
+ACE_TRY_ENV
+ );
+}
+
+template <class T> ACE_INLINE
+void POA_CORBA::InterfaceDef_tie<T>::base_interfaces (
+ const CORBA::InterfaceDefSeq & base_interfaces,
+ CORBA::Environment &ACE_TRY_ENV
+ )
+ ACE_THROW_SPEC ((
+ CORBA::SystemException
+ ))
+{
+ this->ptr_->base_interfaces (
+base_interfaces,
+ ACE_TRY_ENV
+ );
+}
+
+template <class T> ACE_INLINE
+CORBA::Boolean POA_CORBA::InterfaceDef_tie<T>::is_a (
+ const char * interface_id,
+ CORBA::Environment &ACE_TRY_ENV
+ )
+ ACE_THROW_SPEC ((
+ CORBA::SystemException
+ ))
+{
+ return this->ptr_->is_a (
+interface_id,
+ ACE_TRY_ENV
+ );
+}
+
+template <class T> ACE_INLINE
+CORBA::InterfaceDef::FullInterfaceDescription * POA_CORBA::InterfaceDef_tie<T>::describe_interface (
+ CORBA::Environment &ACE_TRY_ENV
+ )
+ ACE_THROW_SPEC ((
+ CORBA::SystemException
+ ))
+{
+ return this->ptr_->describe_interface (
+ACE_TRY_ENV
+ );
+}
+
+template <class T> ACE_INLINE
+CORBA::AttributeDef_ptr POA_CORBA::InterfaceDef_tie<T>::create_attribute (
+ const char * id,
+ const char * name,
+ const char * version,
+ CORBA::IDLType_ptr type,
+ CORBA::AttributeMode mode,
+ CORBA::Environment &ACE_TRY_ENV
+ )
+ ACE_THROW_SPEC ((
+ CORBA::SystemException
+ ))
+{
+ return this->ptr_->create_attribute (
+id,
+ name,
+ version,
+ type,
+ mode,
+ ACE_TRY_ENV
+ );
+}
+
+template <class T> ACE_INLINE
+CORBA::OperationDef_ptr POA_CORBA::InterfaceDef_tie<T>::create_operation (
+ const char * id,
+ const char * name,
+ const char * version,
+ CORBA::IDLType_ptr result,
+ CORBA::OperationMode mode,
+ const CORBA::ParDescriptionSeq & params,
+ const CORBA::ExceptionDefSeq & exceptions,
+ const CORBA::ContextIdSeq & contexts,
+ CORBA::Environment &ACE_TRY_ENV
+ )
+ ACE_THROW_SPEC ((
+ CORBA::SystemException
+ ))
+{
+ return this->ptr_->create_operation (
+id,
+ name,
+ version,
+ result,
+ mode,
+ params,
+ exceptions,
+ contexts,
+ ACE_TRY_ENV
+ );
+}
+
+template <class T> ACE_INLINE
+CORBA::Contained_ptr POA_CORBA::InterfaceDef_tie<T>::lookup (
+ const char * search_name,
+ CORBA::Environment &ACE_TRY_ENV
+ )
+ ACE_THROW_SPEC ((
+ CORBA::SystemException
+ ))
+{
+ return this->ptr_->lookup (
+search_name,
+ ACE_TRY_ENV
+ );
+}
+
+template <class T> ACE_INLINE
+CORBA::ContainedSeq * POA_CORBA::InterfaceDef_tie<T>::contents (
+ CORBA::DefinitionKind limit_type,
+ CORBA::Boolean exclude_inherited,
+ CORBA::Environment &ACE_TRY_ENV
+ )
+ ACE_THROW_SPEC ((
+ CORBA::SystemException
+ ))
+{
+ return this->ptr_->contents (
+limit_type,
+ exclude_inherited,
+ ACE_TRY_ENV
+ );
+}
+
+template <class T> ACE_INLINE
+CORBA::ContainedSeq * POA_CORBA::InterfaceDef_tie<T>::lookup_name (
+ const char * search_name,
+ CORBA::Long levels_to_search,
+ CORBA::DefinitionKind limit_type,
+ CORBA::Boolean exclude_inherited,
+ CORBA::Environment &ACE_TRY_ENV
+ )
+ ACE_THROW_SPEC ((
+ CORBA::SystemException
+ ))
+{
+ return this->ptr_->lookup_name (
+search_name,
+ levels_to_search,
+ limit_type,
+ exclude_inherited,
+ ACE_TRY_ENV
+ );
+}
+
+template <class T> ACE_INLINE
+CORBA::Container::DescriptionSeq * POA_CORBA::InterfaceDef_tie<T>::describe_contents (
+ CORBA::DefinitionKind limit_type,
+ CORBA::Boolean exclude_inherited,
+ CORBA::Long max_returned_objs,
+ CORBA::Environment &ACE_TRY_ENV
+ )
+ ACE_THROW_SPEC ((
+ CORBA::SystemException
+ ))
+{
+ return this->ptr_->describe_contents (
+limit_type,
+ exclude_inherited,
+ max_returned_objs,
+ ACE_TRY_ENV
+ );
+}
+
+template <class T> ACE_INLINE
+CORBA::ModuleDef_ptr POA_CORBA::InterfaceDef_tie<T>::create_module (
+ const char * id,
+ const char * name,
+ const char * version,
+ CORBA::Environment &ACE_TRY_ENV
+ )
+ ACE_THROW_SPEC ((
+ CORBA::SystemException
+ ))
+{
+ return this->ptr_->create_module (
+id,
+ name,
+ version,
+ ACE_TRY_ENV
+ );
+}
+
+template <class T> ACE_INLINE
+CORBA::ConstantDef_ptr POA_CORBA::InterfaceDef_tie<T>::create_constant (
+ const char * id,
+ const char * name,
+ const char * version,
+ CORBA::IDLType_ptr type,
+ const CORBA::Any & value,
+ CORBA::Environment &ACE_TRY_ENV
+ )
+ ACE_THROW_SPEC ((
+ CORBA::SystemException
+ ))
+{
+ return this->ptr_->create_constant (
+id,
+ name,
+ version,
+ type,
+ value,
+ ACE_TRY_ENV
+ );
+}
+
+template <class T> ACE_INLINE
+CORBA::StructDef_ptr POA_CORBA::InterfaceDef_tie<T>::create_struct (
+ const char * id,
+ const char * name,
+ const char * version,
+ const CORBA::StructMemberSeq & members,
+ CORBA::Environment &ACE_TRY_ENV
+ )
+ ACE_THROW_SPEC ((
+ CORBA::SystemException
+ ))
+{
+ return this->ptr_->create_struct (
+id,
+ name,
+ version,
+ members,
+ ACE_TRY_ENV
+ );
+}
+
+template <class T> ACE_INLINE
+CORBA::UnionDef_ptr POA_CORBA::InterfaceDef_tie<T>::create_union (
+ const char * id,
+ const char * name,
+ const char * version,
+ CORBA::IDLType_ptr discriminator_type,
+ const CORBA::UnionMemberSeq & members,
+ CORBA::Environment &ACE_TRY_ENV
+ )
+ ACE_THROW_SPEC ((
+ CORBA::SystemException
+ ))
+{
+ return this->ptr_->create_union (
+id,
+ name,
+ version,
+ discriminator_type,
+ members,
+ ACE_TRY_ENV
+ );
+}
+
+template <class T> ACE_INLINE
+CORBA::EnumDef_ptr POA_CORBA::InterfaceDef_tie<T>::create_enum (
+ const char * id,
+ const char * name,
+ const char * version,
+ const CORBA::EnumMemberSeq & members,
+ CORBA::Environment &ACE_TRY_ENV
+ )
+ ACE_THROW_SPEC ((
+ CORBA::SystemException
+ ))
+{
+ return this->ptr_->create_enum (
+id,
+ name,
+ version,
+ members,
+ ACE_TRY_ENV
+ );
+}
+
+template <class T> ACE_INLINE
+CORBA::AliasDef_ptr POA_CORBA::InterfaceDef_tie<T>::create_alias (
+ const char * id,
+ const char * name,
+ const char * version,
+ CORBA::IDLType_ptr original_type,
+ CORBA::Environment &ACE_TRY_ENV
+ )
+ ACE_THROW_SPEC ((
+ CORBA::SystemException
+ ))
+{
+ return this->ptr_->create_alias (
+id,
+ name,
+ version,
+ original_type,
+ ACE_TRY_ENV
+ );
+}
+
+template <class T> ACE_INLINE
+CORBA::InterfaceDef_ptr POA_CORBA::InterfaceDef_tie<T>::create_interface (
+ const char * id,
+ const char * name,
+ const char * version,
+ const CORBA::InterfaceDefSeq & base_interfaces,
+ CORBA::Environment &ACE_TRY_ENV
+ )
+ ACE_THROW_SPEC ((
+ CORBA::SystemException
+ ))
+{
+ return this->ptr_->create_interface (
+id,
+ name,
+ version,
+ base_interfaces,
+ ACE_TRY_ENV
+ );
+}
+
+template <class T> ACE_INLINE
+CORBA::ValueDef_ptr POA_CORBA::InterfaceDef_tie<T>::create_value (
+ const char * id,
+ const char * name,
+ const char * version,
+ CORBA::Boolean is_custom,
+ CORBA::Boolean is_abstract,
+ CORBA::ValueDef_ptr base_value,
+ CORBA::Boolean is_truncatable,
+ const CORBA::ValueDefSeq & abstract_base_values,
+ const CORBA::InterfaceDefSeq & supported_interfaces,
+ const CORBA::InitializerSeq & initializers,
+ CORBA::Environment &ACE_TRY_ENV
+ )
+ ACE_THROW_SPEC ((
+ CORBA::SystemException
+ ))
+{
+ return this->ptr_->create_value (
+id,
+ name,
+ version,
+ is_custom,
+ is_abstract,
+ base_value,
+ is_truncatable,
+ abstract_base_values,
+ supported_interfaces,
+ initializers,
+ ACE_TRY_ENV
+ );
+}
+
+template <class T> ACE_INLINE
+CORBA::ValueBoxDef_ptr POA_CORBA::InterfaceDef_tie<T>::create_value_box (
+ const char * id,
+ const char * name,
+ const char * version,
+ CORBA::IDLType_ptr original_type_def,
+ CORBA::Environment &ACE_TRY_ENV
+ )
+ ACE_THROW_SPEC ((
+ CORBA::SystemException
+ ))
+{
+ return this->ptr_->create_value_box (
+id,
+ name,
+ version,
+ original_type_def,
+ ACE_TRY_ENV
+ );
+}
+
+template <class T> ACE_INLINE
+CORBA::ExceptionDef_ptr POA_CORBA::InterfaceDef_tie<T>::create_exception (
+ const char * id,
+ const char * name,
+ const char * version,
+ const CORBA::StructMemberSeq & members,
+ CORBA::Environment &ACE_TRY_ENV
+ )
+ ACE_THROW_SPEC ((
+ CORBA::SystemException
+ ))
+{
+ return this->ptr_->create_exception (
+id,
+ name,
+ version,
+ members,
+ ACE_TRY_ENV
+ );
+}
+
+template <class T> ACE_INLINE
+CORBA::NativeDef_ptr POA_CORBA::InterfaceDef_tie<T>::create_native (
+ const char * id,
+ const char * name,
+ const char * version,
+ CORBA::Environment &ACE_TRY_ENV
+ )
+ ACE_THROW_SPEC ((
+ CORBA::SystemException
+ ))
+{
+ return this->ptr_->create_native (
+id,
+ name,
+ version,
+ ACE_TRY_ENV
+ );
+}
+
+template <class T> ACE_INLINE
+CORBA::AbstractInterfaceDef_ptr POA_CORBA::InterfaceDef_tie<T>::create_abstract_interface (
+ const char * id,
+ const char * name,
+ const char * version,
+ const CORBA::AbstractInterfaceDefSeq & base_interfaces,
+ CORBA::Environment &ACE_TRY_ENV
+ )
+ ACE_THROW_SPEC ((
+ CORBA::SystemException
+ ))
+{
+ return this->ptr_->create_abstract_interface (
+id,
+ name,
+ version,
+ base_interfaces,
+ ACE_TRY_ENV
+ );
+}
+
+template <class T> ACE_INLINE
+CORBA::LocalInterfaceDef_ptr POA_CORBA::InterfaceDef_tie<T>::create_local_interface (
+ const char * id,
+ const char * name,
+ const char * version,
+ const CORBA::InterfaceDefSeq & base_interfaces,
+ CORBA::Environment &ACE_TRY_ENV
+ )
+ ACE_THROW_SPEC ((
+ CORBA::SystemException
+ ))
+{
+ return this->ptr_->create_local_interface (
+id,
+ name,
+ version,
+ base_interfaces,
+ ACE_TRY_ENV
+ );
+}
+
+template <class T> ACE_INLINE
+char * POA_CORBA::InterfaceDef_tie<T>::id (
+ CORBA::Environment &ACE_TRY_ENV
+ )
+ ACE_THROW_SPEC ((
+ CORBA::SystemException
+ ))
+{
+ return this->ptr_->id (
+ACE_TRY_ENV
+ );
+}
+
+template <class T> ACE_INLINE
+void POA_CORBA::InterfaceDef_tie<T>::id (
+ const char * id,
+ CORBA::Environment &ACE_TRY_ENV
+ )
+ ACE_THROW_SPEC ((
+ CORBA::SystemException
+ ))
+{
+ this->ptr_->id (
+id,
+ ACE_TRY_ENV
+ );
+}
+
+template <class T> ACE_INLINE
+char * POA_CORBA::InterfaceDef_tie<T>::name (
+ CORBA::Environment &ACE_TRY_ENV
+ )
+ ACE_THROW_SPEC ((
+ CORBA::SystemException
+ ))
+{
+ return this->ptr_->name (
+ACE_TRY_ENV
+ );
+}
+
+template <class T> ACE_INLINE
+void POA_CORBA::InterfaceDef_tie<T>::name (
+ const char * name,
+ CORBA::Environment &ACE_TRY_ENV
+ )
+ ACE_THROW_SPEC ((
+ CORBA::SystemException
+ ))
+{
+ this->ptr_->name (
+name,
+ ACE_TRY_ENV
+ );
+}
+
+template <class T> ACE_INLINE
+char * POA_CORBA::InterfaceDef_tie<T>::version (
+ CORBA::Environment &ACE_TRY_ENV
+ )
+ ACE_THROW_SPEC ((
+ CORBA::SystemException
+ ))
+{
+ return this->ptr_->version (
+ACE_TRY_ENV
+ );
+}
+
+template <class T> ACE_INLINE
+void POA_CORBA::InterfaceDef_tie<T>::version (
+ const char * version,
+ CORBA::Environment &ACE_TRY_ENV
+ )
+ ACE_THROW_SPEC ((
+ CORBA::SystemException
+ ))
+{
+ this->ptr_->version (
+version,
+ ACE_TRY_ENV
+ );
+}
+
+template <class T> ACE_INLINE
+CORBA::Container_ptr POA_CORBA::InterfaceDef_tie<T>::defined_in (
+ CORBA::Environment &ACE_TRY_ENV
+ )
+ ACE_THROW_SPEC ((
+ CORBA::SystemException
+ ))
+{
+ return this->ptr_->defined_in (
+ACE_TRY_ENV
+ );
+}
+
+template <class T> ACE_INLINE
+char * POA_CORBA::InterfaceDef_tie<T>::absolute_name (
+ CORBA::Environment &ACE_TRY_ENV
+ )
+ ACE_THROW_SPEC ((
+ CORBA::SystemException
+ ))
+{
+ return this->ptr_->absolute_name (
+ACE_TRY_ENV
+ );
+}
+
+template <class T> ACE_INLINE
+CORBA::Repository_ptr POA_CORBA::InterfaceDef_tie<T>::containing_repository (
+ CORBA::Environment &ACE_TRY_ENV
+ )
+ ACE_THROW_SPEC ((
+ CORBA::SystemException
+ ))
+{
+ return this->ptr_->containing_repository (
+ACE_TRY_ENV
+ );
+}
+
+template <class T> ACE_INLINE
+CORBA::Contained::Description * POA_CORBA::InterfaceDef_tie<T>::describe (
+ CORBA::Environment &ACE_TRY_ENV
+ )
+ ACE_THROW_SPEC ((
+ CORBA::SystemException
+ ))
+{
+ return this->ptr_->describe (
+ACE_TRY_ENV
+ );
+}
+
+template <class T> ACE_INLINE
+void POA_CORBA::InterfaceDef_tie<T>::move (
+ CORBA::Container_ptr new_container,
+ const char * new_name,
+ const char * new_version,
+ CORBA::Environment &ACE_TRY_ENV
+ )
+ ACE_THROW_SPEC ((
+ CORBA::SystemException
+ ))
+{
+ this->ptr_->move (
+new_container,
+ new_name,
+ new_version,
+ ACE_TRY_ENV
+ );
+}
+
+template <class T> ACE_INLINE
+CORBA::TypeCode_ptr POA_CORBA::InterfaceDef_tie<T>::type (
+ CORBA::Environment &ACE_TRY_ENV
+ )
+ ACE_THROW_SPEC ((
+ CORBA::SystemException
+ ))
+{
+ return this->ptr_->type (
+ACE_TRY_ENV
+ );
+}
+
+template <class T> ACE_INLINE
+CORBA::DefinitionKind POA_CORBA::InterfaceDef_tie<T>::def_kind (
+ CORBA::Environment &ACE_TRY_ENV
+ )
+ ACE_THROW_SPEC ((
+ CORBA::SystemException
+ ))
+{
+ return this->ptr_->def_kind (
+ACE_TRY_ENV
+ );
+}
+
+template <class T> ACE_INLINE
+void POA_CORBA::InterfaceDef_tie<T>::destroy (
+ CORBA::Environment &ACE_TRY_ENV
+ )
+ ACE_THROW_SPEC ((
+ CORBA::SystemException
+ ))
+{
+ this->ptr_->destroy (
+ACE_TRY_ENV
+ );
+}
+
+#endif /* ACE_HAS_USING_KEYWORD */
+
+#if defined (ACE_HAS_USING_KEYWORD)
+template <class T> ACE_INLINE
+POA_CORBA::AbstractInterfaceDef_tie<T>::AbstractInterfaceDef_tie (T &t)
+ : ptr_ (&t),
+ poa_ (PortableServer::POA::_nil ()),
+ rel_ (0)
+{}
+
+template <class T> ACE_INLINE
+POA_CORBA::AbstractInterfaceDef_tie<T>::AbstractInterfaceDef_tie (T &t, PortableServer::POA_ptr poa)
+ : ptr_ (&t),
+ poa_ (PortableServer::POA::_duplicate (poa)),
+ rel_ (0)
+{}
+
+template <class T> ACE_INLINE
+POA_CORBA::AbstractInterfaceDef_tie<T>::AbstractInterfaceDef_tie (T *tp, CORBA::Boolean release)
+ : ptr_ (tp),
+ poa_ (PortableServer::POA::_nil ()),
+ rel_ (release)
+{}
+
+template <class T> ACE_INLINE
+POA_CORBA::AbstractInterfaceDef_tie<T>::AbstractInterfaceDef_tie (T *tp, PortableServer::POA_ptr poa, CORBA::Boolean release)
+ : ptr_ (tp),
+ poa_ (PortableServer::POA::_duplicate (poa)),
+ rel_ (release)
+{}
+
+template <class T> ACE_INLINE
+POA_CORBA::AbstractInterfaceDef_tie<T>::~AbstractInterfaceDef_tie (void)
+{
+ if (this->rel_) delete this->ptr_;
+}
+
+template <class T> ACE_INLINE T *
+POA_CORBA::AbstractInterfaceDef_tie<T>::_tied_object (void)
+{
+ return this->ptr_;
+}
+
+template <class T> ACE_INLINE void
+POA_CORBA::AbstractInterfaceDef_tie<T>::_tied_object (T &obj)
+{
+ if (this->rel_) delete this->ptr_;
+ this->ptr_ = &obj;
+ this->rel_ = 0;
+}
+
+template <class T> ACE_INLINE void
+POA_CORBA::AbstractInterfaceDef_tie<T>::_tied_object (T *obj, CORBA::Boolean release)
+{
+ if (this->rel_) delete this->ptr_;
+ this->ptr_ = obj;
+ this->rel_ = release;
+}
+
+template <class T> ACE_INLINE CORBA::Boolean
+POA_CORBA::AbstractInterfaceDef_tie<T>::_is_owner (void)
+{
+ return this->rel_;
+}
+
+template <class T> ACE_INLINE void
+POA_CORBA::AbstractInterfaceDef_tie<T>::_is_owner (CORBA::Boolean b)
+{
+ this->rel_ = b;
+}
+
+template <class T> ACE_INLINE PortableServer::POA_ptr
+POA_CORBA::AbstractInterfaceDef_tie<T>::_default_POA (CORBA::Environment &ACE_TRY_ENV)
+{
+ if (!CORBA::is_nil (this->poa_.in ()))
+ return PortableServer::POA::_duplicate (this->poa_.in ());
+
+ return this->AbstractInterfaceDef::_default_POA (ACE_TRY_ENV);
+}
+
+template <class T> ACE_INLINE
+CORBA::InterfaceDefSeq * POA_CORBA::AbstractInterfaceDef_tie<T>::base_interfaces (
+ CORBA::Environment &ACE_TRY_ENV
+ )
+ ACE_THROW_SPEC ((
+ CORBA::SystemException
+ ))
+{
+ return this->ptr_->base_interfaces (
+ACE_TRY_ENV
+ );
+}
+
+template <class T> ACE_INLINE
+void POA_CORBA::AbstractInterfaceDef_tie<T>::base_interfaces (
+ const CORBA::InterfaceDefSeq & base_interfaces,
+ CORBA::Environment &ACE_TRY_ENV
+ )
+ ACE_THROW_SPEC ((
+ CORBA::SystemException
+ ))
+{
+ this->ptr_->base_interfaces (
+base_interfaces,
+ ACE_TRY_ENV
+ );
+}
+
+template <class T> ACE_INLINE
+CORBA::Boolean POA_CORBA::AbstractInterfaceDef_tie<T>::is_a (
+ const char * interface_id,
+ CORBA::Environment &ACE_TRY_ENV
+ )
+ ACE_THROW_SPEC ((
+ CORBA::SystemException
+ ))
+{
+ return this->ptr_->is_a (
+interface_id,
+ ACE_TRY_ENV
+ );
+}
+
+template <class T> ACE_INLINE
+CORBA::InterfaceDef::FullInterfaceDescription * POA_CORBA::AbstractInterfaceDef_tie<T>::describe_interface (
+ CORBA::Environment &ACE_TRY_ENV
+ )
+ ACE_THROW_SPEC ((
+ CORBA::SystemException
+ ))
+{
+ return this->ptr_->describe_interface (
+ACE_TRY_ENV
+ );
+}
+
+template <class T> ACE_INLINE
+CORBA::AttributeDef_ptr POA_CORBA::AbstractInterfaceDef_tie<T>::create_attribute (
+ const char * id,
+ const char * name,
+ const char * version,
+ CORBA::IDLType_ptr type,
+ CORBA::AttributeMode mode,
+ CORBA::Environment &ACE_TRY_ENV
+ )
+ ACE_THROW_SPEC ((
+ CORBA::SystemException
+ ))
+{
+ return this->ptr_->create_attribute (
+id,
+ name,
+ version,
+ type,
+ mode,
+ ACE_TRY_ENV
+ );
+}
+
+template <class T> ACE_INLINE
+CORBA::OperationDef_ptr POA_CORBA::AbstractInterfaceDef_tie<T>::create_operation (
+ const char * id,
+ const char * name,
+ const char * version,
+ CORBA::IDLType_ptr result,
+ CORBA::OperationMode mode,
+ const CORBA::ParDescriptionSeq & params,
+ const CORBA::ExceptionDefSeq & exceptions,
+ const CORBA::ContextIdSeq & contexts,
+ CORBA::Environment &ACE_TRY_ENV
+ )
+ ACE_THROW_SPEC ((
+ CORBA::SystemException
+ ))
+{
+ return this->ptr_->create_operation (
+id,
+ name,
+ version,
+ result,
+ mode,
+ params,
+ exceptions,
+ contexts,
+ ACE_TRY_ENV
+ );
+}
+
+template <class T> ACE_INLINE
+CORBA::Contained_ptr POA_CORBA::AbstractInterfaceDef_tie<T>::lookup (
+ const char * search_name,
+ CORBA::Environment &ACE_TRY_ENV
+ )
+ ACE_THROW_SPEC ((
+ CORBA::SystemException
+ ))
+{
+ return this->ptr_->lookup (
+search_name,
+ ACE_TRY_ENV
+ );
+}
+
+template <class T> ACE_INLINE
+CORBA::ContainedSeq * POA_CORBA::AbstractInterfaceDef_tie<T>::contents (
+ CORBA::DefinitionKind limit_type,
+ CORBA::Boolean exclude_inherited,
+ CORBA::Environment &ACE_TRY_ENV
+ )
+ ACE_THROW_SPEC ((
+ CORBA::SystemException
+ ))
+{
+ return this->ptr_->contents (
+limit_type,
+ exclude_inherited,
+ ACE_TRY_ENV
+ );
+}
+
+template <class T> ACE_INLINE
+CORBA::ContainedSeq * POA_CORBA::AbstractInterfaceDef_tie<T>::lookup_name (
+ const char * search_name,
+ CORBA::Long levels_to_search,
+ CORBA::DefinitionKind limit_type,
+ CORBA::Boolean exclude_inherited,
+ CORBA::Environment &ACE_TRY_ENV
+ )
+ ACE_THROW_SPEC ((
+ CORBA::SystemException
+ ))
+{
+ return this->ptr_->lookup_name (
+search_name,
+ levels_to_search,
+ limit_type,
+ exclude_inherited,
+ ACE_TRY_ENV
+ );
+}
+
+template <class T> ACE_INLINE
+CORBA::Container::DescriptionSeq * POA_CORBA::AbstractInterfaceDef_tie<T>::describe_contents (
+ CORBA::DefinitionKind limit_type,
+ CORBA::Boolean exclude_inherited,
+ CORBA::Long max_returned_objs,
+ CORBA::Environment &ACE_TRY_ENV
+ )
+ ACE_THROW_SPEC ((
+ CORBA::SystemException
+ ))
+{
+ return this->ptr_->describe_contents (
+limit_type,
+ exclude_inherited,
+ max_returned_objs,
+ ACE_TRY_ENV
+ );
+}
+
+template <class T> ACE_INLINE
+CORBA::ModuleDef_ptr POA_CORBA::AbstractInterfaceDef_tie<T>::create_module (
+ const char * id,
+ const char * name,
+ const char * version,
+ CORBA::Environment &ACE_TRY_ENV
+ )
+ ACE_THROW_SPEC ((
+ CORBA::SystemException
+ ))
+{
+ return this->ptr_->create_module (
+id,
+ name,
+ version,
+ ACE_TRY_ENV
+ );
+}
+
+template <class T> ACE_INLINE
+CORBA::ConstantDef_ptr POA_CORBA::AbstractInterfaceDef_tie<T>::create_constant (
+ const char * id,
+ const char * name,
+ const char * version,
+ CORBA::IDLType_ptr type,
+ const CORBA::Any & value,
+ CORBA::Environment &ACE_TRY_ENV
+ )
+ ACE_THROW_SPEC ((
+ CORBA::SystemException
+ ))
+{
+ return this->ptr_->create_constant (
+id,
+ name,
+ version,
+ type,
+ value,
+ ACE_TRY_ENV
+ );
+}
+
+template <class T> ACE_INLINE
+CORBA::StructDef_ptr POA_CORBA::AbstractInterfaceDef_tie<T>::create_struct (
+ const char * id,
+ const char * name,
+ const char * version,
+ const CORBA::StructMemberSeq & members,
+ CORBA::Environment &ACE_TRY_ENV
+ )
+ ACE_THROW_SPEC ((
+ CORBA::SystemException
+ ))
+{
+ return this->ptr_->create_struct (
+id,
+ name,
+ version,
+ members,
+ ACE_TRY_ENV
+ );
+}
+
+template <class T> ACE_INLINE
+CORBA::UnionDef_ptr POA_CORBA::AbstractInterfaceDef_tie<T>::create_union (
+ const char * id,
+ const char * name,
+ const char * version,
+ CORBA::IDLType_ptr discriminator_type,
+ const CORBA::UnionMemberSeq & members,
+ CORBA::Environment &ACE_TRY_ENV
+ )
+ ACE_THROW_SPEC ((
+ CORBA::SystemException
+ ))
+{
+ return this->ptr_->create_union (
+id,
+ name,
+ version,
+ discriminator_type,
+ members,
+ ACE_TRY_ENV
+ );
+}
+
+template <class T> ACE_INLINE
+CORBA::EnumDef_ptr POA_CORBA::AbstractInterfaceDef_tie<T>::create_enum (
+ const char * id,
+ const char * name,
+ const char * version,
+ const CORBA::EnumMemberSeq & members,
+ CORBA::Environment &ACE_TRY_ENV
+ )
+ ACE_THROW_SPEC ((
+ CORBA::SystemException
+ ))
+{
+ return this->ptr_->create_enum (
+id,
+ name,
+ version,
+ members,
+ ACE_TRY_ENV
+ );
+}
+
+template <class T> ACE_INLINE
+CORBA::AliasDef_ptr POA_CORBA::AbstractInterfaceDef_tie<T>::create_alias (
+ const char * id,
+ const char * name,
+ const char * version,
+ CORBA::IDLType_ptr original_type,
+ CORBA::Environment &ACE_TRY_ENV
+ )
+ ACE_THROW_SPEC ((
+ CORBA::SystemException
+ ))
+{
+ return this->ptr_->create_alias (
+id,
+ name,
+ version,
+ original_type,
+ ACE_TRY_ENV
+ );
+}
+
+template <class T> ACE_INLINE
+CORBA::InterfaceDef_ptr POA_CORBA::AbstractInterfaceDef_tie<T>::create_interface (
+ const char * id,
+ const char * name,
+ const char * version,
+ const CORBA::InterfaceDefSeq & base_interfaces,
+ CORBA::Environment &ACE_TRY_ENV
+ )
+ ACE_THROW_SPEC ((
+ CORBA::SystemException
+ ))
+{
+ return this->ptr_->create_interface (
+id,
+ name,
+ version,
+ base_interfaces,
+ ACE_TRY_ENV
+ );
+}
+
+template <class T> ACE_INLINE
+CORBA::ValueDef_ptr POA_CORBA::AbstractInterfaceDef_tie<T>::create_value (
+ const char * id,
+ const char * name,
+ const char * version,
+ CORBA::Boolean is_custom,
+ CORBA::Boolean is_abstract,
+ CORBA::ValueDef_ptr base_value,
+ CORBA::Boolean is_truncatable,
+ const CORBA::ValueDefSeq & abstract_base_values,
+ const CORBA::InterfaceDefSeq & supported_interfaces,
+ const CORBA::InitializerSeq & initializers,
+ CORBA::Environment &ACE_TRY_ENV
+ )
+ ACE_THROW_SPEC ((
+ CORBA::SystemException
+ ))
+{
+ return this->ptr_->create_value (
+id,
+ name,
+ version,
+ is_custom,
+ is_abstract,
+ base_value,
+ is_truncatable,
+ abstract_base_values,
+ supported_interfaces,
+ initializers,
+ ACE_TRY_ENV
+ );
+}
+
+template <class T> ACE_INLINE
+CORBA::ValueBoxDef_ptr POA_CORBA::AbstractInterfaceDef_tie<T>::create_value_box (
+ const char * id,
+ const char * name,
+ const char * version,
+ CORBA::IDLType_ptr original_type_def,
+ CORBA::Environment &ACE_TRY_ENV
+ )
+ ACE_THROW_SPEC ((
+ CORBA::SystemException
+ ))
+{
+ return this->ptr_->create_value_box (
+id,
+ name,
+ version,
+ original_type_def,
+ ACE_TRY_ENV
+ );
+}
+
+template <class T> ACE_INLINE
+CORBA::ExceptionDef_ptr POA_CORBA::AbstractInterfaceDef_tie<T>::create_exception (
+ const char * id,
+ const char * name,
+ const char * version,
+ const CORBA::StructMemberSeq & members,
+ CORBA::Environment &ACE_TRY_ENV
+ )
+ ACE_THROW_SPEC ((
+ CORBA::SystemException
+ ))
+{
+ return this->ptr_->create_exception (
+id,
+ name,
+ version,
+ members,
+ ACE_TRY_ENV
+ );
+}
+
+template <class T> ACE_INLINE
+CORBA::NativeDef_ptr POA_CORBA::AbstractInterfaceDef_tie<T>::create_native (
+ const char * id,
+ const char * name,
+ const char * version,
+ CORBA::Environment &ACE_TRY_ENV
+ )
+ ACE_THROW_SPEC ((
+ CORBA::SystemException
+ ))
+{
+ return this->ptr_->create_native (
+id,
+ name,
+ version,
+ ACE_TRY_ENV
+ );
+}
+
+template <class T> ACE_INLINE
+CORBA::AbstractInterfaceDef_ptr POA_CORBA::AbstractInterfaceDef_tie<T>::create_abstract_interface (
+ const char * id,
+ const char * name,
+ const char * version,
+ const CORBA::AbstractInterfaceDefSeq & base_interfaces,
+ CORBA::Environment &ACE_TRY_ENV
+ )
+ ACE_THROW_SPEC ((
+ CORBA::SystemException
+ ))
+{
+ return this->ptr_->create_abstract_interface (
+id,
+ name,
+ version,
+ base_interfaces,
+ ACE_TRY_ENV
+ );
+}
+
+template <class T> ACE_INLINE
+CORBA::LocalInterfaceDef_ptr POA_CORBA::AbstractInterfaceDef_tie<T>::create_local_interface (
+ const char * id,
+ const char * name,
+ const char * version,
+ const CORBA::InterfaceDefSeq & base_interfaces,
+ CORBA::Environment &ACE_TRY_ENV
+ )
+ ACE_THROW_SPEC ((
+ CORBA::SystemException
+ ))
+{
+ return this->ptr_->create_local_interface (
+id,
+ name,
+ version,
+ base_interfaces,
+ ACE_TRY_ENV
+ );
+}
+
+template <class T> ACE_INLINE
+char * POA_CORBA::AbstractInterfaceDef_tie<T>::id (
+ CORBA::Environment &ACE_TRY_ENV
+ )
+ ACE_THROW_SPEC ((
+ CORBA::SystemException
+ ))
+{
+ return this->ptr_->id (
+ACE_TRY_ENV
+ );
+}
+
+template <class T> ACE_INLINE
+void POA_CORBA::AbstractInterfaceDef_tie<T>::id (
+ const char * id,
+ CORBA::Environment &ACE_TRY_ENV
+ )
+ ACE_THROW_SPEC ((
+ CORBA::SystemException
+ ))
+{
+ this->ptr_->id (
+id,
+ ACE_TRY_ENV
+ );
+}
+
+template <class T> ACE_INLINE
+char * POA_CORBA::AbstractInterfaceDef_tie<T>::name (
+ CORBA::Environment &ACE_TRY_ENV
+ )
+ ACE_THROW_SPEC ((
+ CORBA::SystemException
+ ))
+{
+ return this->ptr_->name (
+ACE_TRY_ENV
+ );
+}
+
+template <class T> ACE_INLINE
+void POA_CORBA::AbstractInterfaceDef_tie<T>::name (
+ const char * name,
+ CORBA::Environment &ACE_TRY_ENV
+ )
+ ACE_THROW_SPEC ((
+ CORBA::SystemException
+ ))
+{
+ this->ptr_->name (
+name,
+ ACE_TRY_ENV
+ );
+}
+
+template <class T> ACE_INLINE
+char * POA_CORBA::AbstractInterfaceDef_tie<T>::version (
+ CORBA::Environment &ACE_TRY_ENV
+ )
+ ACE_THROW_SPEC ((
+ CORBA::SystemException
+ ))
+{
+ return this->ptr_->version (
+ACE_TRY_ENV
+ );
+}
+
+template <class T> ACE_INLINE
+void POA_CORBA::AbstractInterfaceDef_tie<T>::version (
+ const char * version,
+ CORBA::Environment &ACE_TRY_ENV
+ )
+ ACE_THROW_SPEC ((
+ CORBA::SystemException
+ ))
+{
+ this->ptr_->version (
+version,
+ ACE_TRY_ENV
+ );
+}
+
+template <class T> ACE_INLINE
+CORBA::Container_ptr POA_CORBA::AbstractInterfaceDef_tie<T>::defined_in (
+ CORBA::Environment &ACE_TRY_ENV
+ )
+ ACE_THROW_SPEC ((
+ CORBA::SystemException
+ ))
+{
+ return this->ptr_->defined_in (
+ACE_TRY_ENV
+ );
+}
+
+template <class T> ACE_INLINE
+char * POA_CORBA::AbstractInterfaceDef_tie<T>::absolute_name (
+ CORBA::Environment &ACE_TRY_ENV
+ )
+ ACE_THROW_SPEC ((
+ CORBA::SystemException
+ ))
+{
+ return this->ptr_->absolute_name (
+ACE_TRY_ENV
+ );
+}
+
+template <class T> ACE_INLINE
+CORBA::Repository_ptr POA_CORBA::AbstractInterfaceDef_tie<T>::containing_repository (
+ CORBA::Environment &ACE_TRY_ENV
+ )
+ ACE_THROW_SPEC ((
+ CORBA::SystemException
+ ))
+{
+ return this->ptr_->containing_repository (
+ACE_TRY_ENV
+ );
+}
+
+template <class T> ACE_INLINE
+CORBA::Contained::Description * POA_CORBA::AbstractInterfaceDef_tie<T>::describe (
+ CORBA::Environment &ACE_TRY_ENV
+ )
+ ACE_THROW_SPEC ((
+ CORBA::SystemException
+ ))
+{
+ return this->ptr_->describe (
+ACE_TRY_ENV
+ );
+}
+
+template <class T> ACE_INLINE
+void POA_CORBA::AbstractInterfaceDef_tie<T>::move (
+ CORBA::Container_ptr new_container,
+ const char * new_name,
+ const char * new_version,
+ CORBA::Environment &ACE_TRY_ENV
+ )
+ ACE_THROW_SPEC ((
+ CORBA::SystemException
+ ))
+{
+ this->ptr_->move (
+new_container,
+ new_name,
+ new_version,
+ ACE_TRY_ENV
+ );
+}
+
+template <class T> ACE_INLINE
+CORBA::TypeCode_ptr POA_CORBA::AbstractInterfaceDef_tie<T>::type (
+ CORBA::Environment &ACE_TRY_ENV
+ )
+ ACE_THROW_SPEC ((
+ CORBA::SystemException
+ ))
+{
+ return this->ptr_->type (
+ACE_TRY_ENV
+ );
+}
+
+template <class T> ACE_INLINE
+CORBA::DefinitionKind POA_CORBA::AbstractInterfaceDef_tie<T>::def_kind (
+ CORBA::Environment &ACE_TRY_ENV
+ )
+ ACE_THROW_SPEC ((
+ CORBA::SystemException
+ ))
+{
+ return this->ptr_->def_kind (
+ACE_TRY_ENV
+ );
+}
+
+template <class T> ACE_INLINE
+void POA_CORBA::AbstractInterfaceDef_tie<T>::destroy (
+ CORBA::Environment &ACE_TRY_ENV
+ )
+ ACE_THROW_SPEC ((
+ CORBA::SystemException
+ ))
+{
+ this->ptr_->destroy (
+ACE_TRY_ENV
+ );
+}
+
+#endif /* ACE_HAS_USING_KEYWORD */
+
+#if defined (ACE_HAS_USING_KEYWORD)
+template <class T> ACE_INLINE
+POA_CORBA::LocalInterfaceDef_tie<T>::LocalInterfaceDef_tie (T &t)
+ : ptr_ (&t),
+ poa_ (PortableServer::POA::_nil ()),
+ rel_ (0)
+{}
+
+template <class T> ACE_INLINE
+POA_CORBA::LocalInterfaceDef_tie<T>::LocalInterfaceDef_tie (T &t, PortableServer::POA_ptr poa)
+ : ptr_ (&t),
+ poa_ (PortableServer::POA::_duplicate (poa)),
+ rel_ (0)
+{}
+
+template <class T> ACE_INLINE
+POA_CORBA::LocalInterfaceDef_tie<T>::LocalInterfaceDef_tie (T *tp, CORBA::Boolean release)
+ : ptr_ (tp),
+ poa_ (PortableServer::POA::_nil ()),
+ rel_ (release)
+{}
+
+template <class T> ACE_INLINE
+POA_CORBA::LocalInterfaceDef_tie<T>::LocalInterfaceDef_tie (T *tp, PortableServer::POA_ptr poa, CORBA::Boolean release)
+ : ptr_ (tp),
+ poa_ (PortableServer::POA::_duplicate (poa)),
+ rel_ (release)
+{}
+
+template <class T> ACE_INLINE
+POA_CORBA::LocalInterfaceDef_tie<T>::~LocalInterfaceDef_tie (void)
+{
+ if (this->rel_) delete this->ptr_;
+}
+
+template <class T> ACE_INLINE T *
+POA_CORBA::LocalInterfaceDef_tie<T>::_tied_object (void)
+{
+ return this->ptr_;
+}
+
+template <class T> ACE_INLINE void
+POA_CORBA::LocalInterfaceDef_tie<T>::_tied_object (T &obj)
+{
+ if (this->rel_) delete this->ptr_;
+ this->ptr_ = &obj;
+ this->rel_ = 0;
+}
+
+template <class T> ACE_INLINE void
+POA_CORBA::LocalInterfaceDef_tie<T>::_tied_object (T *obj, CORBA::Boolean release)
+{
+ if (this->rel_) delete this->ptr_;
+ this->ptr_ = obj;
+ this->rel_ = release;
+}
+
+template <class T> ACE_INLINE CORBA::Boolean
+POA_CORBA::LocalInterfaceDef_tie<T>::_is_owner (void)
+{
+ return this->rel_;
+}
+
+template <class T> ACE_INLINE void
+POA_CORBA::LocalInterfaceDef_tie<T>::_is_owner (CORBA::Boolean b)
+{
+ this->rel_ = b;
+}
+
+template <class T> ACE_INLINE PortableServer::POA_ptr
+POA_CORBA::LocalInterfaceDef_tie<T>::_default_POA (CORBA::Environment &ACE_TRY_ENV)
+{
+ if (!CORBA::is_nil (this->poa_.in ()))
+ return PortableServer::POA::_duplicate (this->poa_.in ());
+
+ return this->LocalInterfaceDef::_default_POA (ACE_TRY_ENV);
+}
+
+template <class T> ACE_INLINE
+CORBA::InterfaceDefSeq * POA_CORBA::LocalInterfaceDef_tie<T>::base_interfaces (
+ CORBA::Environment &ACE_TRY_ENV
+ )
+ ACE_THROW_SPEC ((
+ CORBA::SystemException
+ ))
+{
+ return this->ptr_->base_interfaces (
+ACE_TRY_ENV
+ );
+}
+
+template <class T> ACE_INLINE
+void POA_CORBA::LocalInterfaceDef_tie<T>::base_interfaces (
+ const CORBA::InterfaceDefSeq & base_interfaces,
+ CORBA::Environment &ACE_TRY_ENV
+ )
+ ACE_THROW_SPEC ((
+ CORBA::SystemException
+ ))
+{
+ this->ptr_->base_interfaces (
+base_interfaces,
+ ACE_TRY_ENV
+ );
+}
+
+template <class T> ACE_INLINE
+CORBA::Boolean POA_CORBA::LocalInterfaceDef_tie<T>::is_a (
+ const char * interface_id,
+ CORBA::Environment &ACE_TRY_ENV
+ )
+ ACE_THROW_SPEC ((
+ CORBA::SystemException
+ ))
+{
+ return this->ptr_->is_a (
+interface_id,
+ ACE_TRY_ENV
+ );
+}
+
+template <class T> ACE_INLINE
+CORBA::InterfaceDef::FullInterfaceDescription * POA_CORBA::LocalInterfaceDef_tie<T>::describe_interface (
+ CORBA::Environment &ACE_TRY_ENV
+ )
+ ACE_THROW_SPEC ((
+ CORBA::SystemException
+ ))
+{
+ return this->ptr_->describe_interface (
+ACE_TRY_ENV
+ );
+}
+
+template <class T> ACE_INLINE
+CORBA::AttributeDef_ptr POA_CORBA::LocalInterfaceDef_tie<T>::create_attribute (
+ const char * id,
+ const char * name,
+ const char * version,
+ CORBA::IDLType_ptr type,
+ CORBA::AttributeMode mode,
+ CORBA::Environment &ACE_TRY_ENV
+ )
+ ACE_THROW_SPEC ((
+ CORBA::SystemException
+ ))
+{
+ return this->ptr_->create_attribute (
+id,
+ name,
+ version,
+ type,
+ mode,
+ ACE_TRY_ENV
+ );
+}
+
+template <class T> ACE_INLINE
+CORBA::OperationDef_ptr POA_CORBA::LocalInterfaceDef_tie<T>::create_operation (
+ const char * id,
+ const char * name,
+ const char * version,
+ CORBA::IDLType_ptr result,
+ CORBA::OperationMode mode,
+ const CORBA::ParDescriptionSeq & params,
+ const CORBA::ExceptionDefSeq & exceptions,
+ const CORBA::ContextIdSeq & contexts,
+ CORBA::Environment &ACE_TRY_ENV
+ )
+ ACE_THROW_SPEC ((
+ CORBA::SystemException
+ ))
+{
+ return this->ptr_->create_operation (
+id,
+ name,
+ version,
+ result,
+ mode,
+ params,
+ exceptions,
+ contexts,
+ ACE_TRY_ENV
+ );
+}
+
+template <class T> ACE_INLINE
+CORBA::Contained_ptr POA_CORBA::LocalInterfaceDef_tie<T>::lookup (
+ const char * search_name,
+ CORBA::Environment &ACE_TRY_ENV
+ )
+ ACE_THROW_SPEC ((
+ CORBA::SystemException
+ ))
+{
+ return this->ptr_->lookup (
+search_name,
+ ACE_TRY_ENV
+ );
+}
+
+template <class T> ACE_INLINE
+CORBA::ContainedSeq * POA_CORBA::LocalInterfaceDef_tie<T>::contents (
+ CORBA::DefinitionKind limit_type,
+ CORBA::Boolean exclude_inherited,
+ CORBA::Environment &ACE_TRY_ENV
+ )
+ ACE_THROW_SPEC ((
+ CORBA::SystemException
+ ))
+{
+ return this->ptr_->contents (
+limit_type,
+ exclude_inherited,
+ ACE_TRY_ENV
+ );
+}
+
+template <class T> ACE_INLINE
+CORBA::ContainedSeq * POA_CORBA::LocalInterfaceDef_tie<T>::lookup_name (
+ const char * search_name,
+ CORBA::Long levels_to_search,
+ CORBA::DefinitionKind limit_type,
+ CORBA::Boolean exclude_inherited,
+ CORBA::Environment &ACE_TRY_ENV
+ )
+ ACE_THROW_SPEC ((
+ CORBA::SystemException
+ ))
+{
+ return this->ptr_->lookup_name (
+search_name,
+ levels_to_search,
+ limit_type,
+ exclude_inherited,
+ ACE_TRY_ENV
+ );
+}
+
+template <class T> ACE_INLINE
+CORBA::Container::DescriptionSeq * POA_CORBA::LocalInterfaceDef_tie<T>::describe_contents (
+ CORBA::DefinitionKind limit_type,
+ CORBA::Boolean exclude_inherited,
+ CORBA::Long max_returned_objs,
+ CORBA::Environment &ACE_TRY_ENV
+ )
+ ACE_THROW_SPEC ((
+ CORBA::SystemException
+ ))
+{
+ return this->ptr_->describe_contents (
+limit_type,
+ exclude_inherited,
+ max_returned_objs,
+ ACE_TRY_ENV
+ );
+}
+
+template <class T> ACE_INLINE
+CORBA::ModuleDef_ptr POA_CORBA::LocalInterfaceDef_tie<T>::create_module (
+ const char * id,
+ const char * name,
+ const char * version,
+ CORBA::Environment &ACE_TRY_ENV
+ )
+ ACE_THROW_SPEC ((
+ CORBA::SystemException
+ ))
+{
+ return this->ptr_->create_module (
+id,
+ name,
+ version,
+ ACE_TRY_ENV
+ );
+}
+
+template <class T> ACE_INLINE
+CORBA::ConstantDef_ptr POA_CORBA::LocalInterfaceDef_tie<T>::create_constant (
+ const char * id,
+ const char * name,
+ const char * version,
+ CORBA::IDLType_ptr type,
+ const CORBA::Any & value,
+ CORBA::Environment &ACE_TRY_ENV
+ )
+ ACE_THROW_SPEC ((
+ CORBA::SystemException
+ ))
+{
+ return this->ptr_->create_constant (
+id,
+ name,
+ version,
+ type,
+ value,
+ ACE_TRY_ENV
+ );
+}
+
+template <class T> ACE_INLINE
+CORBA::StructDef_ptr POA_CORBA::LocalInterfaceDef_tie<T>::create_struct (
+ const char * id,
+ const char * name,
+ const char * version,
+ const CORBA::StructMemberSeq & members,
+ CORBA::Environment &ACE_TRY_ENV
+ )
+ ACE_THROW_SPEC ((
+ CORBA::SystemException
+ ))
+{
+ return this->ptr_->create_struct (
+id,
+ name,
+ version,
+ members,
+ ACE_TRY_ENV
+ );
+}
+
+template <class T> ACE_INLINE
+CORBA::UnionDef_ptr POA_CORBA::LocalInterfaceDef_tie<T>::create_union (
+ const char * id,
+ const char * name,
+ const char * version,
+ CORBA::IDLType_ptr discriminator_type,
+ const CORBA::UnionMemberSeq & members,
+ CORBA::Environment &ACE_TRY_ENV
+ )
+ ACE_THROW_SPEC ((
+ CORBA::SystemException
+ ))
+{
+ return this->ptr_->create_union (
+id,
+ name,
+ version,
+ discriminator_type,
+ members,
+ ACE_TRY_ENV
+ );
+}
+
+template <class T> ACE_INLINE
+CORBA::EnumDef_ptr POA_CORBA::LocalInterfaceDef_tie<T>::create_enum (
+ const char * id,
+ const char * name,
+ const char * version,
+ const CORBA::EnumMemberSeq & members,
+ CORBA::Environment &ACE_TRY_ENV
+ )
+ ACE_THROW_SPEC ((
+ CORBA::SystemException
+ ))
+{
+ return this->ptr_->create_enum (
+id,
+ name,
+ version,
+ members,
+ ACE_TRY_ENV
+ );
+}
+
+template <class T> ACE_INLINE
+CORBA::AliasDef_ptr POA_CORBA::LocalInterfaceDef_tie<T>::create_alias (
+ const char * id,
+ const char * name,
+ const char * version,
+ CORBA::IDLType_ptr original_type,
+ CORBA::Environment &ACE_TRY_ENV
+ )
+ ACE_THROW_SPEC ((
+ CORBA::SystemException
+ ))
+{
+ return this->ptr_->create_alias (
+id,
+ name,
+ version,
+ original_type,
+ ACE_TRY_ENV
+ );
+}
+
+template <class T> ACE_INLINE
+CORBA::InterfaceDef_ptr POA_CORBA::LocalInterfaceDef_tie<T>::create_interface (
+ const char * id,
+ const char * name,
+ const char * version,
+ const CORBA::InterfaceDefSeq & base_interfaces,
+ CORBA::Environment &ACE_TRY_ENV
+ )
+ ACE_THROW_SPEC ((
+ CORBA::SystemException
+ ))
+{
+ return this->ptr_->create_interface (
+id,
+ name,
+ version,
+ base_interfaces,
+ ACE_TRY_ENV
+ );
+}
+
+template <class T> ACE_INLINE
+CORBA::ValueDef_ptr POA_CORBA::LocalInterfaceDef_tie<T>::create_value (
+ const char * id,
+ const char * name,
+ const char * version,
+ CORBA::Boolean is_custom,
+ CORBA::Boolean is_abstract,
+ CORBA::ValueDef_ptr base_value,
+ CORBA::Boolean is_truncatable,
+ const CORBA::ValueDefSeq & abstract_base_values,
+ const CORBA::InterfaceDefSeq & supported_interfaces,
+ const CORBA::InitializerSeq & initializers,
+ CORBA::Environment &ACE_TRY_ENV
+ )
+ ACE_THROW_SPEC ((
+ CORBA::SystemException
+ ))
+{
+ return this->ptr_->create_value (
+id,
+ name,
+ version,
+ is_custom,
+ is_abstract,
+ base_value,
+ is_truncatable,
+ abstract_base_values,
+ supported_interfaces,
+ initializers,
+ ACE_TRY_ENV
+ );
+}
+
+template <class T> ACE_INLINE
+CORBA::ValueBoxDef_ptr POA_CORBA::LocalInterfaceDef_tie<T>::create_value_box (
+ const char * id,
+ const char * name,
+ const char * version,
+ CORBA::IDLType_ptr original_type_def,
+ CORBA::Environment &ACE_TRY_ENV
+ )
+ ACE_THROW_SPEC ((
+ CORBA::SystemException
+ ))
+{
+ return this->ptr_->create_value_box (
+id,
+ name,
+ version,
+ original_type_def,
+ ACE_TRY_ENV
+ );
+}
+
+template <class T> ACE_INLINE
+CORBA::ExceptionDef_ptr POA_CORBA::LocalInterfaceDef_tie<T>::create_exception (
+ const char * id,
+ const char * name,
+ const char * version,
+ const CORBA::StructMemberSeq & members,
+ CORBA::Environment &ACE_TRY_ENV
+ )
+ ACE_THROW_SPEC ((
+ CORBA::SystemException
+ ))
+{
+ return this->ptr_->create_exception (
+id,
+ name,
+ version,
+ members,
+ ACE_TRY_ENV
+ );
+}
+
+template <class T> ACE_INLINE
+CORBA::NativeDef_ptr POA_CORBA::LocalInterfaceDef_tie<T>::create_native (
+ const char * id,
+ const char * name,
+ const char * version,
+ CORBA::Environment &ACE_TRY_ENV
+ )
+ ACE_THROW_SPEC ((
+ CORBA::SystemException
+ ))
+{
+ return this->ptr_->create_native (
+id,
+ name,
+ version,
+ ACE_TRY_ENV
+ );
+}
+
+template <class T> ACE_INLINE
+CORBA::AbstractInterfaceDef_ptr POA_CORBA::LocalInterfaceDef_tie<T>::create_abstract_interface (
+ const char * id,
+ const char * name,
+ const char * version,
+ const CORBA::AbstractInterfaceDefSeq & base_interfaces,
+ CORBA::Environment &ACE_TRY_ENV
+ )
+ ACE_THROW_SPEC ((
+ CORBA::SystemException
+ ))
+{
+ return this->ptr_->create_abstract_interface (
+id,
+ name,
+ version,
+ base_interfaces,
+ ACE_TRY_ENV
+ );
+}
+
+template <class T> ACE_INLINE
+CORBA::LocalInterfaceDef_ptr POA_CORBA::LocalInterfaceDef_tie<T>::create_local_interface (
+ const char * id,
+ const char * name,
+ const char * version,
+ const CORBA::InterfaceDefSeq & base_interfaces,
+ CORBA::Environment &ACE_TRY_ENV
+ )
+ ACE_THROW_SPEC ((
+ CORBA::SystemException
+ ))
+{
+ return this->ptr_->create_local_interface (
+id,
+ name,
+ version,
+ base_interfaces,
+ ACE_TRY_ENV
+ );
+}
+
+template <class T> ACE_INLINE
+char * POA_CORBA::LocalInterfaceDef_tie<T>::id (
+ CORBA::Environment &ACE_TRY_ENV
+ )
+ ACE_THROW_SPEC ((
+ CORBA::SystemException
+ ))
+{
+ return this->ptr_->id (
+ACE_TRY_ENV
+ );
+}
+
+template <class T> ACE_INLINE
+void POA_CORBA::LocalInterfaceDef_tie<T>::id (
+ const char * id,
+ CORBA::Environment &ACE_TRY_ENV
+ )
+ ACE_THROW_SPEC ((
+ CORBA::SystemException
+ ))
+{
+ this->ptr_->id (
+id,
+ ACE_TRY_ENV
+ );
+}
+
+template <class T> ACE_INLINE
+char * POA_CORBA::LocalInterfaceDef_tie<T>::name (
+ CORBA::Environment &ACE_TRY_ENV
+ )
+ ACE_THROW_SPEC ((
+ CORBA::SystemException
+ ))
+{
+ return this->ptr_->name (
+ACE_TRY_ENV
+ );
+}
+
+template <class T> ACE_INLINE
+void POA_CORBA::LocalInterfaceDef_tie<T>::name (
+ const char * name,
+ CORBA::Environment &ACE_TRY_ENV
+ )
+ ACE_THROW_SPEC ((
+ CORBA::SystemException
+ ))
+{
+ this->ptr_->name (
+name,
+ ACE_TRY_ENV
+ );
+}
+
+template <class T> ACE_INLINE
+char * POA_CORBA::LocalInterfaceDef_tie<T>::version (
+ CORBA::Environment &ACE_TRY_ENV
+ )
+ ACE_THROW_SPEC ((
+ CORBA::SystemException
+ ))
+{
+ return this->ptr_->version (
+ACE_TRY_ENV
+ );
+}
+
+template <class T> ACE_INLINE
+void POA_CORBA::LocalInterfaceDef_tie<T>::version (
+ const char * version,
+ CORBA::Environment &ACE_TRY_ENV
+ )
+ ACE_THROW_SPEC ((
+ CORBA::SystemException
+ ))
+{
+ this->ptr_->version (
+version,
+ ACE_TRY_ENV
+ );
+}
+
+template <class T> ACE_INLINE
+CORBA::Container_ptr POA_CORBA::LocalInterfaceDef_tie<T>::defined_in (
+ CORBA::Environment &ACE_TRY_ENV
+ )
+ ACE_THROW_SPEC ((
+ CORBA::SystemException
+ ))
+{
+ return this->ptr_->defined_in (
+ACE_TRY_ENV
+ );
+}
+
+template <class T> ACE_INLINE
+char * POA_CORBA::LocalInterfaceDef_tie<T>::absolute_name (
+ CORBA::Environment &ACE_TRY_ENV
+ )
+ ACE_THROW_SPEC ((
+ CORBA::SystemException
+ ))
+{
+ return this->ptr_->absolute_name (
+ACE_TRY_ENV
+ );
+}
+
+template <class T> ACE_INLINE
+CORBA::Repository_ptr POA_CORBA::LocalInterfaceDef_tie<T>::containing_repository (
+ CORBA::Environment &ACE_TRY_ENV
+ )
+ ACE_THROW_SPEC ((
+ CORBA::SystemException
+ ))
+{
+ return this->ptr_->containing_repository (
+ACE_TRY_ENV
+ );
+}
+
+template <class T> ACE_INLINE
+CORBA::Contained::Description * POA_CORBA::LocalInterfaceDef_tie<T>::describe (
+ CORBA::Environment &ACE_TRY_ENV
+ )
+ ACE_THROW_SPEC ((
+ CORBA::SystemException
+ ))
+{
+ return this->ptr_->describe (
+ACE_TRY_ENV
+ );
+}
+
+template <class T> ACE_INLINE
+void POA_CORBA::LocalInterfaceDef_tie<T>::move (
+ CORBA::Container_ptr new_container,
+ const char * new_name,
+ const char * new_version,
+ CORBA::Environment &ACE_TRY_ENV
+ )
+ ACE_THROW_SPEC ((
+ CORBA::SystemException
+ ))
+{
+ this->ptr_->move (
+new_container,
+ new_name,
+ new_version,
+ ACE_TRY_ENV
+ );
+}
+
+template <class T> ACE_INLINE
+CORBA::TypeCode_ptr POA_CORBA::LocalInterfaceDef_tie<T>::type (
+ CORBA::Environment &ACE_TRY_ENV
+ )
+ ACE_THROW_SPEC ((
+ CORBA::SystemException
+ ))
+{
+ return this->ptr_->type (
+ACE_TRY_ENV
+ );
+}
+
+template <class T> ACE_INLINE
+CORBA::DefinitionKind POA_CORBA::LocalInterfaceDef_tie<T>::def_kind (
+ CORBA::Environment &ACE_TRY_ENV
+ )
+ ACE_THROW_SPEC ((
+ CORBA::SystemException
+ ))
+{
+ return this->ptr_->def_kind (
+ACE_TRY_ENV
+ );
+}
+
+template <class T> ACE_INLINE
+void POA_CORBA::LocalInterfaceDef_tie<T>::destroy (
+ CORBA::Environment &ACE_TRY_ENV
+ )
+ ACE_THROW_SPEC ((
+ CORBA::SystemException
+ ))
+{
+ this->ptr_->destroy (
+ACE_TRY_ENV
+ );
+}
+
+#endif /* ACE_HAS_USING_KEYWORD */
diff --git a/TAO/orbsvcs/IFR_Service/IFR_ComponentsS.cpp b/TAO/orbsvcs/IFR_Service/IFR_ComponentsS.cpp
new file mode 100644
index 00000000000..a4969d7082c
--- /dev/null
+++ b/TAO/orbsvcs/IFR_Service/IFR_ComponentsS.cpp
@@ -0,0 +1,11544 @@
+// -*- C++ -*-
+//
+// $Id$
+
+// **** Code generated by the The ACE ORB (TAO) IDL Compiler ****
+// TAO and the TAO IDL Compiler have been developed by:
+// Center for Distributed Object Computing
+// Washington University
+// St. Louis, MO
+// USA
+// http://www.cs.wustl.edu/~schmidt/doc-center.html
+// and
+// Distributed Object Computing Laboratory
+// University of California at Irvine
+// Irvine, CA
+// USA
+// http://doc.ece.uci.edu/
+//
+// Information about TAO is available at:
+// http://www.cs.wustl.edu/~schmidt/TAO.html
+
+#ifndef TAO_IDL_IFR_COMPONENTSS_CPP
+#define TAO_IDL_IFR_COMPONENTSS_CPP
+
+#include "IFR_ComponentsS.h"
+#include "tao/PortableServer/Object_Adapter.h"
+#include "tao/PortableInterceptor.h"
+#include "tao/Stub.h"
+#include "tao/ORB_Core.h"
+#include "tao/TAO_Server_Request.h"
+#include "tao/PortableServer/Operation_Table.h"
+
+#if TAO_HAS_INTERCEPTORS == 1
+#include "tao/RequestInfo_Util.h"
+#endif /* TAO_HAS_INTERCEPTORS == 1 */
+
+#if defined (__BORLANDC__)
+#pragma option -w-rvl -w-rch -w-ccc -w-aus
+#endif /* __BORLANDC__ */
+
+#if !defined (__ACE_INLINE__)
+#include "IFR_ComponentsS.i"
+#endif /* !defined INLINE */
+
+class TAO_IR_ComponentRepository_Perfect_Hash_OpTable : public TAO_Perfect_Hash_OpTable
+{
+private:
+ unsigned int hash (const char *str, unsigned int len);
+public:
+ const TAO_operation_db_entry * lookup (const char *str, unsigned int len);
+};
+/* starting time is 11:21:59 */
+/* C++ code produced by gperf version 2.8 (ACE version) */
+/* Command-line: gperf -m -M -J -c -C -D -E -T -f 0 -F 0 -a -o -t -p -K opname_ -L C++ -Z TAO_IR_ComponentRepository_Perfect_Hash_OpTable -N lookup */
+unsigned int
+TAO_IR_ComponentRepository_Perfect_Hash_OpTable::hash (const char *str, unsigned int len)
+{
+ static const unsigned char asso_values[] =
+ {
+#if defined (ACE_MVS)
+ 72, 72, 72, 72, 72, 72, 72, 72, 72, 72,
+ 72, 72, 72, 72, 72, 72, 72, 72, 72, 72,
+ 72, 72, 72, 72, 72, 72, 72, 72, 72, 72,
+ 72, 72, 72, 72, 72, 72, 72, 72, 72, 72,
+ 72, 72, 72, 72, 72, 72, 72, 72, 72, 72,
+ 72, 72, 72, 72, 72, 72, 72, 72, 72, 72,
+ 72, 72, 72, 72, 72, 72, 72, 72, 72, 72,
+ 72, 72, 72, 72, 72, 72, 72, 72, 72, 72,
+ 72, 72, 72, 72, 72, 72, 72, 72, 72, 72,
+ 72, 72, 72, 72, 72, 72, 72, 72, 72, 72,
+ 72, 72, 72, 72, 72, 72, 72, 72, 72, 20,
+ 72, 72, 72, 72, 72, 72, 72, 72, 72, 72,
+ 72, 72, 72, 72, 72, 72, 72, 72, 72, 5,
+ 72, 0, 24, 10, 72, 5, 72, 72, 72, 72,
+ 72, 72, 72, 72, 72, 72, 72, 25, 0, 8,
+ 72, 20, 72, 72, 72, 72, 72, 72, 72, 72,
+ 72, 72, 30, 0, 72, 72, 72, 25, 0, 72,
+ 72, 72, 72, 72, 72, 72, 72, 72, 72, 72,
+ 72, 72, 72, 72, 72, 72, 72, 72, 72, 72,
+ 72, 72, 72, 72, 72, 72, 72, 72, 72, 72,
+ 72, 72, 72, 72, 72, 72, 72, 72, 72, 72,
+ 72, 72, 72, 72, 72, 72, 72, 72, 72, 72,
+ 72, 72, 72, 72, 72, 72, 72, 72, 72, 72,
+ 72, 72, 72, 72, 72, 72, 72, 72, 72, 72,
+ 72, 72, 72, 72, 72, 72, 72, 72, 72, 72,
+ 72, 72, 72, 72, 72, 72,
+#else
+ 72, 72, 72, 72, 72, 72, 72, 72, 72, 72,
+ 72, 72, 72, 72, 72, 72, 72, 72, 72, 72,
+ 72, 72, 72, 72, 72, 72, 72, 72, 72, 72,
+ 72, 72, 72, 72, 72, 72, 72, 72, 72, 72,
+ 72, 72, 72, 72, 72, 72, 72, 72, 72, 72,
+ 72, 72, 72, 72, 72, 72, 72, 72, 72, 72,
+ 72, 72, 72, 72, 72, 72, 72, 72, 72, 72,
+ 72, 72, 72, 72, 72, 72, 72, 72, 72, 72,
+ 72, 72, 72, 72, 72, 72, 72, 72, 72, 72,
+ 72, 72, 72, 72, 72, 20, 72, 5, 72, 0,
+ 24, 10, 72, 5, 72, 72, 72, 72, 25, 0,
+ 8, 72, 20, 72, 72, 30, 0, 72, 72, 72,
+ 25, 0, 72, 72, 72, 72, 72, 72,
+#endif /* ACE_MVS */
+ };
+ return len + asso_values[str[len - 1]] + asso_values[str[0]];
+}
+
+const class TAO_operation_db_entry *
+TAO_IR_ComponentRepository_Perfect_Hash_OpTable::lookup (const char *str, unsigned int len)
+{
+ enum
+ {
+ TOTAL_KEYWORDS = 31,
+ MIN_WORD_LENGTH = 5,
+ MAX_WORD_LENGTH = 25,
+ MIN_HASH_VALUE = 11,
+ MAX_HASH_VALUE = 71,
+ HASH_VALUE_RANGE = 61,
+ DUPLICATES = 2
+ };
+
+ static const class TAO_operation_db_entry wordlist[] =
+ {
+ {"",0},{"",0},{"",0},{"",0},{"",0},{"",0},{"",0},{"",0},{"",0},
+ {"",0},{"",0},
+ {"create_enum", &POA_IR::ComponentRepository::create_enum_skel},
+ {"create_array", &POA_IR::ComponentRepository::create_array_skel},
+ {"create_struct", &POA_IR::ComponentRepository::create_struct_skel},
+ {"create_constant", &POA_IR::ComponentRepository::create_constant_skel},
+ {"create_component", &POA_IR::ComponentRepository::create_component_skel},
+ {"create_string", &POA_IR::ComponentRepository::create_string_skel},
+ {"create_wstring", &POA_IR::ComponentRepository::create_wstring_skel},
+ {"create_union", &POA_IR::ComponentRepository::create_union_skel},
+ {"create_home", &POA_IR::ComponentRepository::create_home_skel},
+ {"create_value", &POA_IR::ComponentRepository::create_value_skel},
+ {"create_module", &POA_IR::ComponentRepository::create_module_skel},
+ {"create_native", &POA_IR::ComponentRepository::create_native_skel},
+ {"create_exception", &POA_IR::ComponentRepository::create_exception_skel},
+ {"create_sequence", &POA_IR::ComponentRepository::create_sequence_skel},
+ {"create_interface", &POA_IR::ComponentRepository::create_interface_skel},
+ {"get_primitive", &POA_IR::ComponentRepository::get_primitive_skel},
+ {"_is_a", &POA_IR::ComponentRepository::_is_a_skel},
+ {"destroy", &POA_IR::ComponentRepository::destroy_skel},
+ {"create_local_interface", &POA_IR::ComponentRepository::create_local_interface_skel},
+ {"_non_existent", &POA_IR::ComponentRepository::_non_existent_skel},
+ {"create_abstract_interface", &POA_IR::ComponentRepository::create_abstract_interface_skel},
+ {"create_fixed", &POA_IR::ComponentRepository::create_fixed_skel},
+ {"get_canonical_typecode", &POA_IR::ComponentRepository::get_canonical_typecode_skel},
+ {"contents", &POA_IR::ComponentRepository::contents_skel},
+ {"create_value_box", &POA_IR::ComponentRepository::create_value_box_skel},
+ {"create_alias", &POA_IR::ComponentRepository::create_alias_skel},
+ {"lookup_name", &POA_IR::ComponentRepository::lookup_name_skel},
+ {"lookup", &POA_IR::ComponentRepository::lookup_skel},
+ {"_get_def_kind", &POA_IR::ComponentRepository::_get_def_kind_skel},
+ {"lookup_id", &POA_IR::ComponentRepository::lookup_id_skel},
+ {"describe_contents", &POA_IR::ComponentRepository::describe_contents_skel},
+ };
+
+ static const signed char lookup[] =
+ {
+ -1, -1, -1, -1, -1, -1, -1, -1, -1, -21, -2, 11, 12, 13,
+ -1, 14, 15, -1, 16, 17, 18, 19, 20, -85, 23, 24, 25, -1,
+ 26, -1, 27, 28, 29, 30, -1, 31, 32, 33, 34, -1, -1, 35,
+ 36, -1, -1, -1, 37, -1, -1, -1, -1, 38, -1, -1, -1, -1,
+ -1, 39, 40, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1,
+ -1, 41,
+ };
+
+ if (len <= MAX_WORD_LENGTH && len >= MIN_WORD_LENGTH)
+ {
+ unsigned int key = hash (str, len);
+
+ if (key <= MAX_HASH_VALUE && key >= MIN_HASH_VALUE)
+ {
+ int slot = lookup[key];
+
+ if (slot >= 0 && slot < MAX_HASH_VALUE)
+ {
+ const char *s = wordlist[slot].opname_;
+
+ if (*str == *s && !strncmp (str + 1, s + 1, len - 1))
+ return &wordlist[slot];
+ }
+ else if (slot < 0 && slot >= -MAX_HASH_VALUE)
+ return 0;
+ else
+ {
+ unsigned int offset = key + slot + (slot > 0 ? -MAX_HASH_VALUE : MAX_HASH_VALUE);
+ const class TAO_operation_db_entry *base = &wordlist[-lookup[offset]];
+ const class TAO_operation_db_entry *ptr = base + -lookup[offset + 1];
+
+ while (--ptr >= base)
+ if (*str == *ptr->opname_ && !strncmp (str + 1, ptr->opname_ + 1, len - 1))
+ return ptr;
+ }
+ }
+ }
+ return 0;
+}
+/* ending time is 11:21:59 */
+static TAO_IR_ComponentRepository_Perfect_Hash_OpTable tao_IR_ComponentRepository_optable;
+
+
+///////////////////////////////////////////////////////////////////////
+// Strategized Proxy Broker Implementation
+//
+
+// Factory function Implementation.
+POA_IR::_TAO_ComponentRepository_Strategized_Proxy_Broker *POA_IR::_TAO_ComponentRepository_Strategized_Proxy_Broker::the_TAO_ComponentRepository_Strategized_Proxy_Broker (void)
+{
+ static POA_IR::_TAO_ComponentRepository_Strategized_Proxy_Broker strategized_proxy_broker;
+ return &strategized_proxy_broker;
+}
+
+POA_IR::_TAO_ComponentRepository_Strategized_Proxy_Broker::_TAO_ComponentRepository_Strategized_Proxy_Broker (void)
+{
+ for (int i = 0; i < TAO_Collocation_Strategies::CS_LAST; ++i)
+ this->proxy_cache_[i] = 0;
+
+}
+
+POA_IR::_TAO_ComponentRepository_Strategized_Proxy_Broker::~_TAO_ComponentRepository_Strategized_Proxy_Broker (void)
+{
+ for (int i = 0; i < TAO_Collocation_Strategies::CS_LAST; ++i)
+ delete this->proxy_cache_[i];
+
+}
+
+IR::_TAO_ComponentRepository_Proxy_Impl&
+POA_IR::_TAO_ComponentRepository_Strategized_Proxy_Broker::select_proxy (
+ ::IR::ComponentRepository *object,
+ CORBA::Environment &ACE_TRY_ENV
+ )
+{
+ int strategy =
+ TAO_ORB_Core::collocation_strategy (object);
+
+ if (this->proxy_cache_[strategy] != 0)
+ return *this->proxy_cache_[strategy];
+
+ this->create_proxy (strategy, ACE_TRY_ENV);
+ ACE_CHECK_RETURN (*this->proxy_cache_[strategy]);
+
+ return *this->proxy_cache_[strategy];
+
+}
+
+void
+POA_IR::_TAO_ComponentRepository_Strategized_Proxy_Broker::create_proxy (
+ int strategy,
+ CORBA::Environment &ACE_TRY_ENV
+ )
+{
+ ACE_GUARD (TAO_SYNCH_MUTEX, guard, this->mutex_);
+
+ if (this->proxy_cache_[strategy] == 0)
+ {
+ switch (strategy)
+ {
+ case TAO_Collocation_Strategies::CS_THRU_POA_STRATEGY:
+ ACE_NEW_THROW_EX (
+ this->proxy_cache_[strategy],
+ POA_IR::_TAO_ComponentRepository_ThruPOA_Proxy_Impl,
+ CORBA::NO_MEMORY ()
+ );
+ ACE_CHECK;
+ break;
+
+ case TAO_Collocation_Strategies::CS_REMOTE_STRATEGY:
+ default:
+ ACE_NEW_THROW_EX (
+ this->proxy_cache_[strategy],
+ ::IR::_TAO_ComponentRepository_Remote_Proxy_Impl,
+ CORBA::NO_MEMORY ()
+ );
+ ACE_CHECK;
+ break;
+
+ }
+
+ }
+}
+
+
+//
+// End Strategized Proxy Broker Implementation
+///////////////////////////////////////////////////////////////////////
+
+
+IR::_TAO_ComponentRepository_Proxy_Broker *
+IR__TAO_ComponentRepository_Proxy_Broker_Factory_function (CORBA::Object_ptr obj)
+{
+ ACE_UNUSED_ARG (obj);
+ return ::POA_IR::_TAO_ComponentRepository_Strategized_Proxy_Broker::the_TAO_ComponentRepository_Strategized_Proxy_Broker();
+}
+
+int
+IR__TAO_ComponentRepository_Proxy_Broker_Factory_Initializer (long _dummy_)
+{
+ ACE_UNUSED_ARG (_dummy_);
+
+ IR__TAO_ComponentRepository_Proxy_Broker_Factory_function_pointer =
+ IR__TAO_ComponentRepository_Proxy_Broker_Factory_function;
+
+ return 0;
+}
+
+static int IR__TAO_ComponentRepository_Proxy_Broker_Stub_Factory_Initializer_Scarecrow =
+ IR__TAO_ComponentRepository_Proxy_Broker_Factory_Initializer (ACE_reinterpret_cast (long, IR__TAO_ComponentRepository_Proxy_Broker_Factory_Initializer));
+
+
+///////////////////////////////////////////////////////////////////////
+// ThruPOA Proxy Implementation
+//
+
+POA_IR::_TAO_ComponentRepository_ThruPOA_Proxy_Impl::_TAO_ComponentRepository_ThruPOA_Proxy_Impl (void)
+{}
+
+// ThruPOA Implementation of the IDL interface methods
+
+IR::ComponentDef_ptr POA_IR::_TAO_ComponentRepository_ThruPOA_Proxy_Impl::create_component (
+ CORBA_Object *_collocated_tao_target_,
+ const char * id,
+ const char * name,
+ const char * version,
+ IR::ComponentDef_ptr base_component,
+ const CORBA::InterfaceDefSeq & supports_interfaces,
+ CORBA::Environment &ACE_TRY_ENV
+ )
+ ACE_THROW_SPEC ((
+ CORBA::SystemException
+ ))
+{
+ IR::ComponentDef_var _tao_retval;
+ ACE_UNUSED_ARG (_tao_retval);
+ TAO_Object_Adapter::Servant_Upcall servant_upcall (
+ _collocated_tao_target_->_stubobj ()->servant_orb_var ()->orb_core ()
+ );
+ CORBA::Object_var forward_to;
+ servant_upcall.prepare_for_upcall (
+ _collocated_tao_target_->_object_key (),
+ "create_component",
+ forward_to.out (),
+ ACE_TRY_ENV
+ );
+ ACE_CHECK_RETURN (0);
+ return ACE_reinterpret_cast (
+ POA_IR::ComponentRepository_ptr,
+ servant_upcall.servant ()->_downcast (
+ "IDL:omg.org/IR/ComponentRepository:1.0"
+ )
+ )->create_component (
+ id,
+ name,
+ version,
+ base_component,
+ supports_interfaces,
+ ACE_TRY_ENV
+ );
+}
+
+IR::HomeDef_ptr POA_IR::_TAO_ComponentRepository_ThruPOA_Proxy_Impl::create_home (
+ CORBA_Object *_collocated_tao_target_,
+ const char * id,
+ const char * name,
+ const char * version,
+ IR::HomeDef_ptr base_home,
+ IR::ComponentDef_ptr managed_component,
+ CORBA::ValueDef_ptr primary_key,
+ CORBA::Environment &ACE_TRY_ENV
+ )
+ ACE_THROW_SPEC ((
+ CORBA::SystemException
+ ))
+{
+ IR::HomeDef_var _tao_retval;
+ ACE_UNUSED_ARG (_tao_retval);
+ TAO_Object_Adapter::Servant_Upcall servant_upcall (
+ _collocated_tao_target_->_stubobj ()->servant_orb_var ()->orb_core ()
+ );
+ CORBA::Object_var forward_to;
+ servant_upcall.prepare_for_upcall (
+ _collocated_tao_target_->_object_key (),
+ "create_home",
+ forward_to.out (),
+ ACE_TRY_ENV
+ );
+ ACE_CHECK_RETURN (0);
+ return ACE_reinterpret_cast (
+ POA_IR::ComponentRepository_ptr,
+ servant_upcall.servant ()->_downcast (
+ "IDL:omg.org/IR/ComponentRepository:1.0"
+ )
+ )->create_home (
+ id,
+ name,
+ version,
+ base_home,
+ managed_component,
+ primary_key,
+ ACE_TRY_ENV
+ );
+}
+
+//
+// End ThruPOA Proxy Implementation
+///////////////////////////////////////////////////////////////////////
+
+// skeleton constructor
+POA_IR::ComponentRepository::ComponentRepository (void)
+{
+ this->optable_ = &tao_IR_ComponentRepository_optable;
+}
+
+// copy ctor
+POA_IR::ComponentRepository::ComponentRepository (const ComponentRepository& rhs)
+ : ACE_NESTED_CLASS (POA_CORBA,Repository) (rhs),
+ ACE_NESTED_CLASS (POA_CORBA,Container) (rhs),
+ ACE_NESTED_CLASS (POA_CORBA,IRObject) (rhs),
+ TAO_ServantBase (rhs)
+{}
+
+// skeleton destructor
+POA_IR::ComponentRepository::~ComponentRepository (void)
+{
+}
+
+void POA_IR::ComponentRepository::create_component_skel (
+ TAO_ServerRequest &_tao_server_request,
+ void *_tao_object_reference,
+ void * /* context */,
+ CORBA::Environment &ACE_TRY_ENV
+ )
+{
+ TAO_InputCDR &_tao_in = _tao_server_request.incoming ();
+ POA_IR::ComponentRepository *_tao_impl = (POA_IR::ComponentRepository *)_tao_object_reference;
+
+ IR::ComponentDef_var _tao_retval;
+ CORBA::String_var id;
+ CORBA::String_var name;
+ CORBA::String_var version;
+ IR::ComponentDef_var base_component;
+ CORBA::InterfaceDefSeq supports_interfaces;
+ if (!(
+ (_tao_in >> id.out ()) &&
+ (_tao_in >> name.out ()) &&
+ (_tao_in >> version.out ()) &&
+ (_tao_in >> base_component.out ()) &&
+ (_tao_in >> supports_interfaces)
+ ))
+ ACE_THROW (CORBA::MARSHAL());
+
+
+#if (TAO_HAS_INTERCEPTORS == 1)
+ TAO_ServerRequestInterceptor_Adapter _tao_vfr (
+ _tao_server_request.orb_core ()->server_request_interceptors (),
+ _tao_server_request.interceptor_count ()
+ );
+
+ POA_IR::ComponentRepository::TAO_ServerRequestInfo_IR_ComponentRepository_create_component ri (
+ _tao_server_request,
+ _tao_impl,
+ id.in (),
+ name.in (),
+ version.in (),
+ base_component.in (),
+ supports_interfaces,
+ ACE_TRY_ENV
+ );
+
+ ACE_TRY
+ {
+ _tao_vfr.receive_request (&ri, ACE_TRY_ENV);
+ ACE_TRY_CHECK;
+
+#endif /* TAO_HAS_INTERCEPTORS */
+ _tao_retval =
+ _tao_impl->create_component (
+ id.in (),
+ name.in (),
+ version.in (),
+ base_component.in (),
+ supports_interfaces,
+ ACE_TRY_ENV
+ );
+ TAO_INTERCEPTOR_CHECK;
+
+#if (TAO_HAS_INTERCEPTORS == 1)
+ IR::ComponentDef_ptr _tao_retval_info = _tao_retval._retn ();
+ ri.result (_tao_retval_info);
+ _tao_retval = _tao_retval_info;
+ ri.reply_status (PortableInterceptor::SUCCESSFUL);
+ _tao_vfr.send_reply (&ri, ACE_TRY_ENV);
+ ACE_TRY_CHECK;
+ }
+ ACE_CATCH (PortableInterceptor::ForwardRequest, exc)
+ {
+ ri.forward_reference (exc);
+ _tao_vfr.send_other (
+ &ri,
+ ACE_TRY_ENV
+ );
+ ACE_TRY_CHECK;
+ _tao_server_request.forward_location (exc.forward.in ());
+ }
+ ACE_CATCHANY
+ {
+ ri.exception (&ACE_ANY_EXCEPTION);
+ _tao_vfr.send_exception (
+ &ri,
+ ACE_TRY_ENV
+ );
+ ACE_TRY_CHECK;
+ ACE_RE_THROW;
+ }
+ ACE_ENDTRY;
+ ACE_CHECK;
+#endif /* TAO_HAS_INTERCEPTORS */
+
+ _tao_server_request.init_reply ();
+
+ TAO_OutputCDR &_tao_out = _tao_server_request.outgoing ();
+
+ if (!(
+ (_tao_out << _tao_retval.in ())
+ ))
+ ACE_THROW (CORBA::MARSHAL());
+
+ // In case ACE_TRY_ENV is not used in this function
+ ACE_UNUSED_ARG (ACE_TRY_ENV);
+}
+
+void POA_IR::ComponentRepository::create_home_skel (
+ TAO_ServerRequest &_tao_server_request,
+ void *_tao_object_reference,
+ void * /* context */,
+ CORBA::Environment &ACE_TRY_ENV
+ )
+{
+ TAO_InputCDR &_tao_in = _tao_server_request.incoming ();
+ POA_IR::ComponentRepository *_tao_impl = (POA_IR::ComponentRepository *)_tao_object_reference;
+
+ IR::HomeDef_var _tao_retval;
+ CORBA::String_var id;
+ CORBA::String_var name;
+ CORBA::String_var version;
+ IR::HomeDef_var base_home;
+ IR::ComponentDef_var managed_component;
+ CORBA::ValueDef_var primary_key;
+ if (!(
+ (_tao_in >> id.out ()) &&
+ (_tao_in >> name.out ()) &&
+ (_tao_in >> version.out ()) &&
+ (_tao_in >> base_home.out ()) &&
+ (_tao_in >> managed_component.out ()) &&
+ (_tao_in >> primary_key.out ())
+ ))
+ ACE_THROW (CORBA::MARSHAL());
+
+
+#if (TAO_HAS_INTERCEPTORS == 1)
+ TAO_ServerRequestInterceptor_Adapter _tao_vfr (
+ _tao_server_request.orb_core ()->server_request_interceptors (),
+ _tao_server_request.interceptor_count ()
+ );
+
+ POA_IR::ComponentRepository::TAO_ServerRequestInfo_IR_ComponentRepository_create_home ri (
+ _tao_server_request,
+ _tao_impl,
+ id.in (),
+ name.in (),
+ version.in (),
+ base_home.in (),
+ managed_component.in (),
+ primary_key.in (),
+ ACE_TRY_ENV
+ );
+
+ ACE_TRY
+ {
+ _tao_vfr.receive_request (&ri, ACE_TRY_ENV);
+ ACE_TRY_CHECK;
+
+#endif /* TAO_HAS_INTERCEPTORS */
+ _tao_retval =
+ _tao_impl->create_home (
+ id.in (),
+ name.in (),
+ version.in (),
+ base_home.in (),
+ managed_component.in (),
+ primary_key.in (),
+ ACE_TRY_ENV
+ );
+ TAO_INTERCEPTOR_CHECK;
+
+#if (TAO_HAS_INTERCEPTORS == 1)
+ IR::HomeDef_ptr _tao_retval_info = _tao_retval._retn ();
+ ri.result (_tao_retval_info);
+ _tao_retval = _tao_retval_info;
+ ri.reply_status (PortableInterceptor::SUCCESSFUL);
+ _tao_vfr.send_reply (&ri, ACE_TRY_ENV);
+ ACE_TRY_CHECK;
+ }
+ ACE_CATCH (PortableInterceptor::ForwardRequest, exc)
+ {
+ ri.forward_reference (exc);
+ _tao_vfr.send_other (
+ &ri,
+ ACE_TRY_ENV
+ );
+ ACE_TRY_CHECK;
+ _tao_server_request.forward_location (exc.forward.in ());
+ }
+ ACE_CATCHANY
+ {
+ ri.exception (&ACE_ANY_EXCEPTION);
+ _tao_vfr.send_exception (
+ &ri,
+ ACE_TRY_ENV
+ );
+ ACE_TRY_CHECK;
+ ACE_RE_THROW;
+ }
+ ACE_ENDTRY;
+ ACE_CHECK;
+#endif /* TAO_HAS_INTERCEPTORS */
+
+ _tao_server_request.init_reply ();
+
+ TAO_OutputCDR &_tao_out = _tao_server_request.outgoing ();
+
+ if (!(
+ (_tao_out << _tao_retval.in ())
+ ))
+ ACE_THROW (CORBA::MARSHAL());
+
+ // In case ACE_TRY_ENV is not used in this function
+ ACE_UNUSED_ARG (ACE_TRY_ENV);
+}
+
+void POA_IR::ComponentRepository::_is_a_skel (
+ TAO_ServerRequest &_tao_server_request,
+ void * _tao_object_reference,
+ void * /* context */,
+ CORBA::Environment &ACE_TRY_ENV
+ )
+{
+ TAO_InputCDR &_tao_in = _tao_server_request.incoming ();
+ POA_IR::ComponentRepository *_tao_impl = (POA_IR::ComponentRepository *) _tao_object_reference;
+ CORBA::Boolean _tao_retval = 0;
+ CORBA::String_var value;
+ if (!(_tao_in >> value.out ()))
+ ACE_THROW (CORBA::MARSHAL ());
+
+ _tao_retval = _tao_impl->_is_a (value.in (), ACE_TRY_ENV);
+ ACE_CHECK;
+
+ _tao_server_request.init_reply ();
+ TAO_OutputCDR &_tao_out = _tao_server_request.outgoing ();
+ if (!(_tao_out << CORBA::Any::from_boolean (_tao_retval)))
+ ACE_THROW (CORBA::MARSHAL ());
+}
+
+void POA_IR::ComponentRepository::_non_existent_skel (
+ TAO_ServerRequest &_tao_server_request,
+ void * _tao_object_reference,
+ void * /* context */,
+ CORBA::Environment &ACE_TRY_ENV
+ )
+{
+ POA_IR::ComponentRepository *_tao_impl = (POA_IR::ComponentRepository *) _tao_object_reference;
+ CORBA::Boolean _tao_retval = _tao_impl->_non_existent (ACE_TRY_ENV);
+ ACE_CHECK;
+
+ _tao_server_request.init_reply ();
+ TAO_OutputCDR &_tao_out = _tao_server_request.outgoing ();
+ if (!(_tao_out << CORBA::Any::from_boolean (_tao_retval)))
+ ACE_THROW (CORBA::MARSHAL ());
+}
+
+CORBA::Boolean POA_IR::ComponentRepository::_is_a (
+ const char* value,
+ CORBA::Environment &ACE_TRY_ENV
+ )
+{
+ const char *base_id = CORBA::_tc_Object->id (ACE_TRY_ENV);
+ ACE_CHECK_RETURN (0);
+
+ if (
+ (!ACE_OS::strcmp ((char *)value, "IDL:omg.org/IR/ComponentRepository:1.0")) ||
+ (!ACE_OS::strcmp ((char *)value, "IDL:omg.org/CORBA/Repository:1.0")) ||
+ (!ACE_OS::strcmp ((char *)value, "IDL:omg.org/CORBA/Container:1.0")) ||
+ (!ACE_OS::strcmp ((char *)value, "IDL:omg.org/CORBA/IRObject:1.0")) ||
+ (!ACE_OS::strcmp ((char *)value, base_id)))
+ return 1;
+ else
+ return 0;
+}
+
+void* POA_IR::ComponentRepository::_downcast (
+ const char* logical_type_id
+ )
+{
+ if (ACE_OS::strcmp (logical_type_id, "IDL:omg.org/IR/ComponentRepository:1.0") == 0)
+ return ACE_static_cast (POA_IR::ComponentRepository_ptr, this);
+ if (ACE_OS::strcmp (logical_type_id, "IDL:omg.org/CORBA/Repository:1.0") == 0)
+ return ACE_static_cast (POA_CORBA::Repository_ptr, this);
+ if (ACE_OS::strcmp (logical_type_id, "IDL:omg.org/CORBA/Container:1.0") == 0)
+ return ACE_static_cast (POA_CORBA::Container_ptr, this);
+ if (ACE_OS::strcmp (logical_type_id, "IDL:omg.org/CORBA/IRObject:1.0") == 0)
+ return ACE_static_cast (POA_CORBA::IRObject_ptr, this);
+ if (ACE_OS::strcmp (logical_type_id, "IDL:omg.org/CORBA/Object:1.0") == 0)
+ return ACE_static_cast(PortableServer::Servant, this);
+ return 0;
+}
+
+void POA_IR::ComponentRepository::_dispatch (TAO_ServerRequest &req, void *context, CORBA::Environment &ACE_TRY_ENV)
+{
+ this->synchronous_upcall_dispatch(req, context, this, ACE_TRY_ENV);
+}
+
+const char* POA_IR::ComponentRepository::_interface_repository_id (void) const
+{
+ return "IDL:omg.org/IR/ComponentRepository:1.0";
+}
+
+IR::ComponentRepository*
+POA_IR::ComponentRepository::_this (CORBA_Environment &ACE_TRY_ENV)
+{
+ TAO_Stub *stub = this->_create_stub (ACE_TRY_ENV);
+ ACE_CHECK_RETURN (0);
+
+ CORBA::Object_ptr tmp = CORBA::Object::_nil ();
+
+ if (stub->servant_orb_var ()->orb_core ()->optimize_collocation_objects ())
+ ACE_NEW_RETURN (tmp, CORBA::Object (stub, 1, this), 0);
+ else
+ ACE_NEW_RETURN (tmp, CORBA::Object (stub, 0, this), 0);
+
+ CORBA::Object_var obj = tmp;
+ return ::IR::ComponentRepository::_unchecked_narrow (obj.in ());
+}
+
+
+#if (TAO_HAS_INTERCEPTORS == 1)
+POA_IR::ComponentRepository::TAO_ServerRequestInfo_IR_ComponentRepository_create_component::TAO_ServerRequestInfo_IR_ComponentRepository_create_component (
+ TAO_ServerRequest &_tao_server_request,
+ POA_IR::ComponentRepository *tao_impl,
+ const char * id,
+ const char * name,
+ const char * version,
+ IR::ComponentDef_ptr base_component,
+ const CORBA::InterfaceDefSeq & supports_interfaces,
+ CORBA::Environment &
+ )
+ : TAO_ServerRequestInfo (_tao_server_request),
+ _tao_impl (tao_impl),
+ id_ (id),
+ name_ (name),
+ version_ (version),
+ base_component_ (base_component),
+ supports_interfaces_ (supports_interfaces)
+{}
+
+Dynamic::ParameterList *
+POA_IR::ComponentRepository::TAO_ServerRequestInfo_IR_ComponentRepository_create_component::arguments (CORBA::Environment &ACE_TRY_ENV)
+ ACE_THROW_SPEC ((CORBA::SystemException))
+{
+ // Generate the argument list on demand.
+ Dynamic::ParameterList *parameter_list =
+ TAO_RequestInfo_Util::make_parameter_list (ACE_TRY_ENV);
+ ACE_CHECK_RETURN (0);
+
+ Dynamic::ParameterList_var safe_parameter_list = parameter_list;
+
+ CORBA::ULong length_id = parameter_list->length ();
+ parameter_list->length (length_id + 1);
+ (*parameter_list)[length_id].argument <<= id_;
+ (*parameter_list)[length_id].mode = Dynamic::PARAM_IN;
+
+ CORBA::ULong length_name = parameter_list->length ();
+ parameter_list->length (length_name + 1);
+ (*parameter_list)[length_name].argument <<= name_;
+ (*parameter_list)[length_name].mode = Dynamic::PARAM_IN;
+
+ CORBA::ULong length_version = parameter_list->length ();
+ parameter_list->length (length_version + 1);
+ (*parameter_list)[length_version].argument <<= version_;
+ (*parameter_list)[length_version].mode = Dynamic::PARAM_IN;
+
+ CORBA::ULong length_base_component = parameter_list->length ();
+ parameter_list->length (length_base_component + 1);
+ (*parameter_list)[length_base_component].argument <<= this->base_component_;
+
+ (*parameter_list)[length_base_component].mode = Dynamic::PARAM_IN;
+
+ CORBA::ULong length_supports_interfaces = parameter_list->length ();
+ parameter_list->length (length_supports_interfaces + 1);
+ (*parameter_list)[length_supports_interfaces].argument <<= this->supports_interfaces_;
+
+ (*parameter_list)[length_supports_interfaces].mode = Dynamic::PARAM_IN;
+
+ return safe_parameter_list._retn ();
+}
+
+Dynamic::ExceptionList *
+POA_IR::ComponentRepository::TAO_ServerRequestInfo_IR_ComponentRepository_create_component::exceptions (CORBA::Environment &ACE_TRY_ENV)
+ ACE_THROW_SPEC ((CORBA::SystemException))
+{
+ // Generate the exception list on demand.
+ Dynamic::ExceptionList *exception_list =
+ TAO_RequestInfo_Util::make_exception_list (ACE_TRY_ENV);
+ ACE_CHECK_RETURN (0);
+
+ return exception_list;
+}
+
+CORBA::Any *
+POA_IR::ComponentRepository::TAO_ServerRequestInfo_IR_ComponentRepository_create_component::result (CORBA::Environment &ACE_TRY_ENV)
+ ACE_THROW_SPEC ((CORBA::SystemException))
+{
+ // Generate the result on demand.
+ CORBA::Boolean tk_void_any = 0;
+ CORBA::Any *result_any =
+ TAO_RequestInfo_Util::make_any (tk_void_any, ACE_TRY_ENV);
+ ACE_CHECK_RETURN (0);
+
+ CORBA::Any_var safe_result_any = result_any;
+
+ (*result_any) <<= this->_result;
+
+ return safe_result_any._retn ();
+}
+
+char *
+POA_IR::ComponentRepository::TAO_ServerRequestInfo_IR_ComponentRepository_create_component::target_most_derived_interface (
+ CORBA::Environment &)
+ ACE_THROW_SPEC ((CORBA::SystemException))
+{
+ return
+ CORBA::string_dup (this->_tao_impl->_interface_repository_id ());
+}
+
+CORBA::Boolean
+POA_IR::ComponentRepository::TAO_ServerRequestInfo_IR_ComponentRepository_create_component::target_is_a (
+ const char * id,
+ CORBA::Environment &ACE_TRY_ENV)
+ ACE_THROW_SPEC ((CORBA::SystemException))
+{
+ return this->_tao_impl->_is_a (id, ACE_TRY_ENV);
+}
+
+void
+POA_IR::ComponentRepository::TAO_ServerRequestInfo_IR_ComponentRepository_create_component::result (IR::ComponentDef_ptr result)
+{
+ // Update the result.
+ this->_result = result;
+}
+
+POA_IR::ComponentRepository::TAO_ServerRequestInfo_IR_ComponentRepository_create_home::TAO_ServerRequestInfo_IR_ComponentRepository_create_home (
+ TAO_ServerRequest &_tao_server_request,
+ POA_IR::ComponentRepository *tao_impl,
+ const char * id,
+ const char * name,
+ const char * version,
+ IR::HomeDef_ptr base_home,
+ IR::ComponentDef_ptr managed_component,
+ CORBA::ValueDef_ptr primary_key,
+ CORBA::Environment &
+ )
+ : TAO_ServerRequestInfo (_tao_server_request),
+ _tao_impl (tao_impl),
+ id_ (id),
+ name_ (name),
+ version_ (version),
+ base_home_ (base_home),
+ managed_component_ (managed_component),
+ primary_key_ (primary_key)
+{}
+
+Dynamic::ParameterList *
+POA_IR::ComponentRepository::TAO_ServerRequestInfo_IR_ComponentRepository_create_home::arguments (CORBA::Environment &ACE_TRY_ENV)
+ ACE_THROW_SPEC ((CORBA::SystemException))
+{
+ // Generate the argument list on demand.
+ Dynamic::ParameterList *parameter_list =
+ TAO_RequestInfo_Util::make_parameter_list (ACE_TRY_ENV);
+ ACE_CHECK_RETURN (0);
+
+ Dynamic::ParameterList_var safe_parameter_list = parameter_list;
+
+ CORBA::ULong length_id = parameter_list->length ();
+ parameter_list->length (length_id + 1);
+ (*parameter_list)[length_id].argument <<= id_;
+ (*parameter_list)[length_id].mode = Dynamic::PARAM_IN;
+
+ CORBA::ULong length_name = parameter_list->length ();
+ parameter_list->length (length_name + 1);
+ (*parameter_list)[length_name].argument <<= name_;
+ (*parameter_list)[length_name].mode = Dynamic::PARAM_IN;
+
+ CORBA::ULong length_version = parameter_list->length ();
+ parameter_list->length (length_version + 1);
+ (*parameter_list)[length_version].argument <<= version_;
+ (*parameter_list)[length_version].mode = Dynamic::PARAM_IN;
+
+ CORBA::ULong length_base_home = parameter_list->length ();
+ parameter_list->length (length_base_home + 1);
+ (*parameter_list)[length_base_home].argument <<= this->base_home_;
+
+ (*parameter_list)[length_base_home].mode = Dynamic::PARAM_IN;
+
+ CORBA::ULong length_managed_component = parameter_list->length ();
+ parameter_list->length (length_managed_component + 1);
+ (*parameter_list)[length_managed_component].argument <<= this->managed_component_;
+
+ (*parameter_list)[length_managed_component].mode = Dynamic::PARAM_IN;
+
+ CORBA::ULong length_primary_key = parameter_list->length ();
+ parameter_list->length (length_primary_key + 1);
+ (*parameter_list)[length_primary_key].argument <<= this->primary_key_;
+
+ (*parameter_list)[length_primary_key].mode = Dynamic::PARAM_IN;
+
+ return safe_parameter_list._retn ();
+}
+
+Dynamic::ExceptionList *
+POA_IR::ComponentRepository::TAO_ServerRequestInfo_IR_ComponentRepository_create_home::exceptions (CORBA::Environment &ACE_TRY_ENV)
+ ACE_THROW_SPEC ((CORBA::SystemException))
+{
+ // Generate the exception list on demand.
+ Dynamic::ExceptionList *exception_list =
+ TAO_RequestInfo_Util::make_exception_list (ACE_TRY_ENV);
+ ACE_CHECK_RETURN (0);
+
+ return exception_list;
+}
+
+CORBA::Any *
+POA_IR::ComponentRepository::TAO_ServerRequestInfo_IR_ComponentRepository_create_home::result (CORBA::Environment &ACE_TRY_ENV)
+ ACE_THROW_SPEC ((CORBA::SystemException))
+{
+ // Generate the result on demand.
+ CORBA::Boolean tk_void_any = 0;
+ CORBA::Any *result_any =
+ TAO_RequestInfo_Util::make_any (tk_void_any, ACE_TRY_ENV);
+ ACE_CHECK_RETURN (0);
+
+ CORBA::Any_var safe_result_any = result_any;
+
+ (*result_any) <<= this->_result;
+
+ return safe_result_any._retn ();
+}
+
+char *
+POA_IR::ComponentRepository::TAO_ServerRequestInfo_IR_ComponentRepository_create_home::target_most_derived_interface (
+ CORBA::Environment &)
+ ACE_THROW_SPEC ((CORBA::SystemException))
+{
+ return
+ CORBA::string_dup (this->_tao_impl->_interface_repository_id ());
+}
+
+CORBA::Boolean
+POA_IR::ComponentRepository::TAO_ServerRequestInfo_IR_ComponentRepository_create_home::target_is_a (
+ const char * id,
+ CORBA::Environment &ACE_TRY_ENV)
+ ACE_THROW_SPEC ((CORBA::SystemException))
+{
+ return this->_tao_impl->_is_a (id, ACE_TRY_ENV);
+}
+
+void
+POA_IR::ComponentRepository::TAO_ServerRequestInfo_IR_ComponentRepository_create_home::result (IR::HomeDef_ptr result)
+{
+ // Update the result.
+ this->_result = result;
+}
+
+#endif /* TAO_HAS_INTERCEPTORS */
+class TAO_IR_ProvidesDef_Perfect_Hash_OpTable : public TAO_Perfect_Hash_OpTable
+{
+private:
+ unsigned int hash (const char *str, unsigned int len);
+public:
+ const TAO_operation_db_entry * lookup (const char *str, unsigned int len);
+};
+/* starting time is 11:21:59 */
+/* C++ code produced by gperf version 2.8 (ACE version) */
+/* Command-line: gperf -m -M -J -c -C -D -E -T -f 0 -F 0 -a -o -t -p -K opname_ -L C++ -Z TAO_IR_ProvidesDef_Perfect_Hash_OpTable -N lookup */
+unsigned int
+TAO_IR_ProvidesDef_Perfect_Hash_OpTable::hash (const char *str, unsigned int len)
+{
+ static const unsigned char asso_values[] =
+ {
+#if defined (ACE_MVS)
+ 37, 37, 37, 37, 37, 37, 37, 37, 37, 37,
+ 37, 37, 37, 37, 37, 37, 37, 37, 37, 37,
+ 37, 37, 37, 37, 37, 37, 37, 37, 37, 37,
+ 37, 37, 37, 37, 37, 37, 37, 37, 37, 37,
+ 37, 37, 37, 37, 37, 37, 37, 37, 37, 37,
+ 37, 37, 37, 37, 37, 37, 37, 37, 37, 37,
+ 37, 37, 37, 37, 37, 37, 37, 37, 37, 37,
+ 37, 37, 37, 37, 37, 37, 37, 37, 37, 37,
+ 37, 37, 37, 37, 37, 37, 37, 37, 37, 37,
+ 37, 37, 37, 37, 37, 37, 37, 37, 37, 37,
+ 37, 37, 37, 37, 37, 37, 37, 37, 37, 0,
+ 37, 37, 37, 37, 37, 37, 37, 37, 37, 37,
+ 37, 37, 37, 37, 37, 37, 37, 37, 37, 0,
+ 37, 37, 0, 0, 37, 37, 37, 37, 37, 37,
+ 37, 37, 37, 37, 37, 37, 37, 37, 0, 0,
+ 37, 37, 37, 37, 37, 37, 37, 37, 37, 37,
+ 37, 37, 37, 10, 37, 37, 37, 37, 10, 37,
+ 37, 37, 37, 37, 37, 37, 37, 37, 37, 37,
+ 37, 37, 37, 37, 37, 37, 37, 37, 37, 37,
+ 37, 37, 37, 37, 37, 37, 37, 37, 37, 37,
+ 37, 37, 37, 37, 37, 37, 37, 37, 37, 37,
+ 37, 37, 37, 37, 37, 37, 37, 37, 37, 37,
+ 37, 37, 37, 37, 37, 37, 37, 37, 37, 37,
+ 37, 37, 37, 37, 37, 37, 37, 37, 37, 37,
+ 37, 37, 37, 37, 37, 37, 37, 37, 37, 37,
+ 37, 37, 37, 37, 37, 37,
+#else
+ 37, 37, 37, 37, 37, 37, 37, 37, 37, 37,
+ 37, 37, 37, 37, 37, 37, 37, 37, 37, 37,
+ 37, 37, 37, 37, 37, 37, 37, 37, 37, 37,
+ 37, 37, 37, 37, 37, 37, 37, 37, 37, 37,
+ 37, 37, 37, 37, 37, 37, 37, 37, 37, 37,
+ 37, 37, 37, 37, 37, 37, 37, 37, 37, 37,
+ 37, 37, 37, 37, 37, 37, 37, 37, 37, 37,
+ 37, 37, 37, 37, 37, 37, 37, 37, 37, 37,
+ 37, 37, 37, 37, 37, 37, 37, 37, 37, 37,
+ 37, 37, 37, 37, 37, 0, 37, 0, 37, 37,
+ 0, 0, 37, 37, 37, 37, 37, 37, 37, 0,
+ 0, 37, 37, 37, 37, 37, 10, 37, 37, 37,
+ 37, 10, 37, 37, 37, 37, 37, 37,
+#endif /* ACE_MVS */
+ };
+ return len + asso_values[str[len - 1]] + asso_values[str[0]];
+}
+
+const class TAO_operation_db_entry *
+TAO_IR_ProvidesDef_Perfect_Hash_OpTable::lookup (const char *str, unsigned int len)
+{
+ enum
+ {
+ TOTAL_KEYWORDS = 16,
+ MIN_WORD_LENGTH = 4,
+ MAX_WORD_LENGTH = 26,
+ MIN_HASH_VALUE = 4,
+ MAX_HASH_VALUE = 36,
+ HASH_VALUE_RANGE = 33,
+ DUPLICATES = 4
+ };
+
+ static const class TAO_operation_db_entry wordlist[] =
+ {
+ {"",0},{"",0},{"",0},{"",0},
+ {"move", &POA_IR::ProvidesDef::move_skel},
+ {"_is_a", &POA_IR::ProvidesDef::_is_a_skel},
+ {"_get_id", &POA_IR::ProvidesDef::_get_id_skel},
+ {"_set_id", &POA_IR::ProvidesDef::_set_id_skel},
+ {"describe", &POA_IR::ProvidesDef::describe_skel},
+ {"_get_name", &POA_IR::ProvidesDef::_get_name_skel},
+ {"_set_name", &POA_IR::ProvidesDef::_set_name_skel},
+ {"_get_version", &POA_IR::ProvidesDef::_get_version_skel},
+ {"_set_version", &POA_IR::ProvidesDef::_set_version_skel},
+ {"_get_def_kind", &POA_IR::ProvidesDef::_get_def_kind_skel},
+ {"_get_defined_in", &POA_IR::ProvidesDef::_get_defined_in_skel},
+ {"destroy", &POA_IR::ProvidesDef::destroy_skel},
+ {"_get_absolute_name", &POA_IR::ProvidesDef::_get_absolute_name_skel},
+ {"_get_interface_type", &POA_IR::ProvidesDef::_get_interface_type_skel},
+ {"_non_existent", &POA_IR::ProvidesDef::_non_existent_skel},
+ {"_get_containing_repository", &POA_IR::ProvidesDef::_get_containing_repository_skel},
+ };
+
+ static const signed char lookup[] =
+ {
+ -6, -2, -9, -2, 4, 5, -1, -43, 8, -43, -11, -2, -38, 13,
+ -1, 14, -1, 15, 16, 17, -1, -1, -1, 18, -1, -1, -1, -1,
+ -1, -1, -1, -1, -1, -1, -1, -1, 19,
+ };
+
+ if (len <= MAX_WORD_LENGTH && len >= MIN_WORD_LENGTH)
+ {
+ unsigned int key = hash (str, len);
+
+ if (key <= MAX_HASH_VALUE && key >= MIN_HASH_VALUE)
+ {
+ int slot = lookup[key];
+
+ if (slot >= 0 && slot < MAX_HASH_VALUE)
+ {
+ const char *s = wordlist[slot].opname_;
+
+ if (*str == *s && !strncmp (str + 1, s + 1, len - 1))
+ return &wordlist[slot];
+ }
+ else if (slot < 0 && slot >= -MAX_HASH_VALUE)
+ return 0;
+ else
+ {
+ unsigned int offset = key + slot + (slot > 0 ? -MAX_HASH_VALUE : MAX_HASH_VALUE);
+ const class TAO_operation_db_entry *base = &wordlist[-lookup[offset]];
+ const class TAO_operation_db_entry *ptr = base + -lookup[offset + 1];
+
+ while (--ptr >= base)
+ if (*str == *ptr->opname_ && !strncmp (str + 1, ptr->opname_ + 1, len - 1))
+ return ptr;
+ }
+ }
+ }
+ return 0;
+}
+/* ending time is 11:21:59 */
+static TAO_IR_ProvidesDef_Perfect_Hash_OpTable tao_IR_ProvidesDef_optable;
+
+
+///////////////////////////////////////////////////////////////////////
+// Strategized Proxy Broker Implementation
+//
+
+// Factory function Implementation.
+POA_IR::_TAO_ProvidesDef_Strategized_Proxy_Broker *POA_IR::_TAO_ProvidesDef_Strategized_Proxy_Broker::the_TAO_ProvidesDef_Strategized_Proxy_Broker (void)
+{
+ static POA_IR::_TAO_ProvidesDef_Strategized_Proxy_Broker strategized_proxy_broker;
+ return &strategized_proxy_broker;
+}
+
+POA_IR::_TAO_ProvidesDef_Strategized_Proxy_Broker::_TAO_ProvidesDef_Strategized_Proxy_Broker (void)
+{
+ for (int i = 0; i < TAO_Collocation_Strategies::CS_LAST; ++i)
+ this->proxy_cache_[i] = 0;
+
+}
+
+POA_IR::_TAO_ProvidesDef_Strategized_Proxy_Broker::~_TAO_ProvidesDef_Strategized_Proxy_Broker (void)
+{
+ for (int i = 0; i < TAO_Collocation_Strategies::CS_LAST; ++i)
+ delete this->proxy_cache_[i];
+
+}
+
+IR::_TAO_ProvidesDef_Proxy_Impl&
+POA_IR::_TAO_ProvidesDef_Strategized_Proxy_Broker::select_proxy (
+ ::IR::ProvidesDef *object,
+ CORBA::Environment &ACE_TRY_ENV
+ )
+{
+ int strategy =
+ TAO_ORB_Core::collocation_strategy (object);
+
+ if (this->proxy_cache_[strategy] != 0)
+ return *this->proxy_cache_[strategy];
+
+ this->create_proxy (strategy, ACE_TRY_ENV);
+ ACE_CHECK_RETURN (*this->proxy_cache_[strategy]);
+
+ return *this->proxy_cache_[strategy];
+
+}
+
+void
+POA_IR::_TAO_ProvidesDef_Strategized_Proxy_Broker::create_proxy (
+ int strategy,
+ CORBA::Environment &ACE_TRY_ENV
+ )
+{
+ ACE_GUARD (TAO_SYNCH_MUTEX, guard, this->mutex_);
+
+ if (this->proxy_cache_[strategy] == 0)
+ {
+ switch (strategy)
+ {
+ case TAO_Collocation_Strategies::CS_THRU_POA_STRATEGY:
+ ACE_NEW_THROW_EX (
+ this->proxy_cache_[strategy],
+ POA_IR::_TAO_ProvidesDef_ThruPOA_Proxy_Impl,
+ CORBA::NO_MEMORY ()
+ );
+ ACE_CHECK;
+ break;
+
+ case TAO_Collocation_Strategies::CS_REMOTE_STRATEGY:
+ default:
+ ACE_NEW_THROW_EX (
+ this->proxy_cache_[strategy],
+ ::IR::_TAO_ProvidesDef_Remote_Proxy_Impl,
+ CORBA::NO_MEMORY ()
+ );
+ ACE_CHECK;
+ break;
+
+ }
+
+ }
+}
+
+
+//
+// End Strategized Proxy Broker Implementation
+///////////////////////////////////////////////////////////////////////
+
+
+IR::_TAO_ProvidesDef_Proxy_Broker *
+IR__TAO_ProvidesDef_Proxy_Broker_Factory_function (CORBA::Object_ptr obj)
+{
+ ACE_UNUSED_ARG (obj);
+ return ::POA_IR::_TAO_ProvidesDef_Strategized_Proxy_Broker::the_TAO_ProvidesDef_Strategized_Proxy_Broker();
+}
+
+int
+IR__TAO_ProvidesDef_Proxy_Broker_Factory_Initializer (long _dummy_)
+{
+ ACE_UNUSED_ARG (_dummy_);
+
+ IR__TAO_ProvidesDef_Proxy_Broker_Factory_function_pointer =
+ IR__TAO_ProvidesDef_Proxy_Broker_Factory_function;
+
+ return 0;
+}
+
+static int IR__TAO_ProvidesDef_Proxy_Broker_Stub_Factory_Initializer_Scarecrow =
+ IR__TAO_ProvidesDef_Proxy_Broker_Factory_Initializer (ACE_reinterpret_cast (long, IR__TAO_ProvidesDef_Proxy_Broker_Factory_Initializer));
+
+
+///////////////////////////////////////////////////////////////////////
+// ThruPOA Proxy Implementation
+//
+
+POA_IR::_TAO_ProvidesDef_ThruPOA_Proxy_Impl::_TAO_ProvidesDef_ThruPOA_Proxy_Impl (void)
+{}
+
+// ThruPOA Implementation of the IDL interface methods
+
+CORBA::InterfaceDef_ptr POA_IR::_TAO_ProvidesDef_ThruPOA_Proxy_Impl::interface_type (
+ CORBA_Object *_collocated_tao_target_,
+ CORBA::Environment &ACE_TRY_ENV
+ )
+ ACE_THROW_SPEC ((
+ CORBA::SystemException
+ ))
+{
+ CORBA::InterfaceDef_var _tao_retval;
+ ACE_UNUSED_ARG (_tao_retval);
+ TAO_Object_Adapter::Servant_Upcall servant_upcall (
+ _collocated_tao_target_->_stubobj ()->servant_orb_var ()->orb_core ()
+ );
+ CORBA::Object_var forward_to;
+ servant_upcall.prepare_for_upcall (
+ _collocated_tao_target_->_object_key (),
+ "interface_type",
+ forward_to.out (),
+ ACE_TRY_ENV
+ );
+ ACE_CHECK_RETURN (0);
+ return ACE_reinterpret_cast (
+ POA_IR::ProvidesDef_ptr,
+ servant_upcall.servant ()->_downcast (
+ "IDL:omg.org/IR/ProvidesDef:1.0"
+ )
+ )->interface_type (
+ ACE_TRY_ENV
+ );
+}
+
+//
+// End ThruPOA Proxy Implementation
+///////////////////////////////////////////////////////////////////////
+
+// skeleton constructor
+POA_IR::ProvidesDef::ProvidesDef (void)
+{
+ this->optable_ = &tao_IR_ProvidesDef_optable;
+}
+
+// copy ctor
+POA_IR::ProvidesDef::ProvidesDef (const ProvidesDef& rhs)
+ : ACE_NESTED_CLASS (POA_CORBA,Contained) (rhs),
+ ACE_NESTED_CLASS (POA_CORBA,IRObject) (rhs),
+ TAO_ServantBase (rhs)
+{}
+
+// skeleton destructor
+POA_IR::ProvidesDef::~ProvidesDef (void)
+{
+}
+
+void POA_IR::ProvidesDef::_get_interface_type_skel (
+ TAO_ServerRequest &_tao_server_request,
+ void *_tao_object_reference,
+ void * /* context */,
+ CORBA::Environment &ACE_TRY_ENV
+ )
+{
+ POA_IR::ProvidesDef *_tao_impl = (POA_IR::ProvidesDef *)_tao_object_reference;
+
+ CORBA::InterfaceDef_var _tao_retval;
+
+#if (TAO_HAS_INTERCEPTORS == 1)
+ TAO_ServerRequestInterceptor_Adapter _tao_vfr (
+ _tao_server_request.orb_core ()->server_request_interceptors (),
+ _tao_server_request.interceptor_count ()
+ );
+
+ POA_IR::ProvidesDef::TAO_ServerRequestInfo_IR_ProvidesDef_interface_type_get ri (
+ _tao_server_request,
+ _tao_impl,
+ ACE_TRY_ENV
+ );
+
+ ACE_TRY
+ {
+ _tao_vfr.receive_request (&ri, ACE_TRY_ENV);
+ ACE_TRY_CHECK;
+
+#endif /* TAO_HAS_INTERCEPTORS */
+ _tao_retval =
+ _tao_impl->interface_type (
+ ACE_TRY_ENV
+ );
+ TAO_INTERCEPTOR_CHECK;
+
+#if (TAO_HAS_INTERCEPTORS == 1)
+ CORBA::InterfaceDef_ptr _tao_retval_info = _tao_retval._retn ();
+ ri.result (_tao_retval_info);
+ _tao_retval = _tao_retval_info;
+ ri.reply_status (PortableInterceptor::SUCCESSFUL);
+ _tao_vfr.send_reply (&ri, ACE_TRY_ENV);
+ ACE_TRY_CHECK;
+ }
+ ACE_CATCH (PortableInterceptor::ForwardRequest, exc)
+ {
+ ri.forward_reference (exc);
+ _tao_vfr.send_other (
+ &ri,
+ ACE_TRY_ENV
+ );
+ ACE_TRY_CHECK;
+ _tao_server_request.forward_location (exc.forward.in ());
+ }
+ ACE_CATCHANY
+ {
+ ri.exception (&ACE_ANY_EXCEPTION);
+ _tao_vfr.send_exception (
+ &ri,
+ ACE_TRY_ENV
+ );
+ ACE_TRY_CHECK;
+ ACE_RE_THROW;
+ }
+ ACE_ENDTRY;
+ ACE_CHECK;
+#endif /* TAO_HAS_INTERCEPTORS */
+
+ _tao_server_request.init_reply ();
+
+ TAO_OutputCDR &_tao_out = _tao_server_request.outgoing ();
+
+ if (!(
+ (_tao_out << _tao_retval.in ())
+ ))
+ ACE_THROW (CORBA::MARSHAL());
+
+ // In case ACE_TRY_ENV is not used in this function
+ ACE_UNUSED_ARG (ACE_TRY_ENV);
+}
+
+void POA_IR::ProvidesDef::_is_a_skel (
+ TAO_ServerRequest &_tao_server_request,
+ void * _tao_object_reference,
+ void * /* context */,
+ CORBA::Environment &ACE_TRY_ENV
+ )
+{
+ TAO_InputCDR &_tao_in = _tao_server_request.incoming ();
+ POA_IR::ProvidesDef *_tao_impl = (POA_IR::ProvidesDef *) _tao_object_reference;
+ CORBA::Boolean _tao_retval = 0;
+ CORBA::String_var value;
+ if (!(_tao_in >> value.out ()))
+ ACE_THROW (CORBA::MARSHAL ());
+
+ _tao_retval = _tao_impl->_is_a (value.in (), ACE_TRY_ENV);
+ ACE_CHECK;
+
+ _tao_server_request.init_reply ();
+ TAO_OutputCDR &_tao_out = _tao_server_request.outgoing ();
+ if (!(_tao_out << CORBA::Any::from_boolean (_tao_retval)))
+ ACE_THROW (CORBA::MARSHAL ());
+}
+
+void POA_IR::ProvidesDef::_non_existent_skel (
+ TAO_ServerRequest &_tao_server_request,
+ void * _tao_object_reference,
+ void * /* context */,
+ CORBA::Environment &ACE_TRY_ENV
+ )
+{
+ POA_IR::ProvidesDef *_tao_impl = (POA_IR::ProvidesDef *) _tao_object_reference;
+ CORBA::Boolean _tao_retval = _tao_impl->_non_existent (ACE_TRY_ENV);
+ ACE_CHECK;
+
+ _tao_server_request.init_reply ();
+ TAO_OutputCDR &_tao_out = _tao_server_request.outgoing ();
+ if (!(_tao_out << CORBA::Any::from_boolean (_tao_retval)))
+ ACE_THROW (CORBA::MARSHAL ());
+}
+
+CORBA::Boolean POA_IR::ProvidesDef::_is_a (
+ const char* value,
+ CORBA::Environment &ACE_TRY_ENV
+ )
+{
+ const char *base_id = CORBA::_tc_Object->id (ACE_TRY_ENV);
+ ACE_CHECK_RETURN (0);
+
+ if (
+ (!ACE_OS::strcmp ((char *)value, "IDL:omg.org/IR/ProvidesDef:1.0")) ||
+ (!ACE_OS::strcmp ((char *)value, "IDL:omg.org/CORBA/Contained:1.0")) ||
+ (!ACE_OS::strcmp ((char *)value, "IDL:omg.org/CORBA/IRObject:1.0")) ||
+ (!ACE_OS::strcmp ((char *)value, base_id)))
+ return 1;
+ else
+ return 0;
+}
+
+void* POA_IR::ProvidesDef::_downcast (
+ const char* logical_type_id
+ )
+{
+ if (ACE_OS::strcmp (logical_type_id, "IDL:omg.org/IR/ProvidesDef:1.0") == 0)
+ return ACE_static_cast (POA_IR::ProvidesDef_ptr, this);
+ if (ACE_OS::strcmp (logical_type_id, "IDL:omg.org/CORBA/Contained:1.0") == 0)
+ return ACE_static_cast (POA_CORBA::Contained_ptr, this);
+ if (ACE_OS::strcmp (logical_type_id, "IDL:omg.org/CORBA/IRObject:1.0") == 0)
+ return ACE_static_cast (POA_CORBA::IRObject_ptr, this);
+ if (ACE_OS::strcmp (logical_type_id, "IDL:omg.org/CORBA/Object:1.0") == 0)
+ return ACE_static_cast(PortableServer::Servant, this);
+ return 0;
+}
+
+void POA_IR::ProvidesDef::_dispatch (TAO_ServerRequest &req, void *context, CORBA::Environment &ACE_TRY_ENV)
+{
+ this->synchronous_upcall_dispatch(req, context, this, ACE_TRY_ENV);
+}
+
+const char* POA_IR::ProvidesDef::_interface_repository_id (void) const
+{
+ return "IDL:omg.org/IR/ProvidesDef:1.0";
+}
+
+IR::ProvidesDef*
+POA_IR::ProvidesDef::_this (CORBA_Environment &ACE_TRY_ENV)
+{
+ TAO_Stub *stub = this->_create_stub (ACE_TRY_ENV);
+ ACE_CHECK_RETURN (0);
+
+ CORBA::Object_ptr tmp = CORBA::Object::_nil ();
+
+ if (stub->servant_orb_var ()->orb_core ()->optimize_collocation_objects ())
+ ACE_NEW_RETURN (tmp, CORBA::Object (stub, 1, this), 0);
+ else
+ ACE_NEW_RETURN (tmp, CORBA::Object (stub, 0, this), 0);
+
+ CORBA::Object_var obj = tmp;
+ return ::IR::ProvidesDef::_unchecked_narrow (obj.in ());
+}
+
+
+#if (TAO_HAS_INTERCEPTORS == 1)
+POA_IR::ProvidesDef::TAO_ServerRequestInfo_IR_ProvidesDef_interface_type_get::TAO_ServerRequestInfo_IR_ProvidesDef_interface_type_get (
+ TAO_ServerRequest &_tao_server_request,
+ POA_IR::ProvidesDef *tao_impl,
+ CORBA::Environment &
+ )
+ : TAO_ServerRequestInfo (_tao_server_request),
+ _tao_impl (tao_impl)
+{}
+
+Dynamic::ParameterList *
+POA_IR::ProvidesDef::TAO_ServerRequestInfo_IR_ProvidesDef_interface_type_get::arguments (CORBA::Environment &ACE_TRY_ENV)
+ ACE_THROW_SPEC ((CORBA::SystemException))
+{
+ // Generate the argument list on demand.
+ Dynamic::ParameterList *parameter_list =
+ TAO_RequestInfo_Util::make_parameter_list (ACE_TRY_ENV);
+ ACE_CHECK_RETURN (0);
+
+ return parameter_list;
+}
+
+Dynamic::ExceptionList *
+POA_IR::ProvidesDef::TAO_ServerRequestInfo_IR_ProvidesDef_interface_type_get::exceptions (CORBA::Environment &ACE_TRY_ENV)
+ ACE_THROW_SPEC ((CORBA::SystemException))
+{
+ // Generate the exception list on demand.
+ Dynamic::ExceptionList *exception_list =
+ TAO_RequestInfo_Util::make_exception_list (ACE_TRY_ENV);
+ ACE_CHECK_RETURN (0);
+
+ return exception_list;
+}
+
+CORBA::Any *
+POA_IR::ProvidesDef::TAO_ServerRequestInfo_IR_ProvidesDef_interface_type_get::result (CORBA::Environment &ACE_TRY_ENV)
+ ACE_THROW_SPEC ((CORBA::SystemException))
+{
+ // Generate the result on demand.
+ CORBA::Boolean tk_void_any = 0;
+ CORBA::Any *result_any =
+ TAO_RequestInfo_Util::make_any (tk_void_any, ACE_TRY_ENV);
+ ACE_CHECK_RETURN (0);
+
+ CORBA::Any_var safe_result_any = result_any;
+
+ (*result_any) <<= this->_result;
+
+ return safe_result_any._retn ();
+}
+
+char *
+POA_IR::ProvidesDef::TAO_ServerRequestInfo_IR_ProvidesDef_interface_type_get::target_most_derived_interface (
+ CORBA::Environment &)
+ ACE_THROW_SPEC ((CORBA::SystemException))
+{
+ return
+ CORBA::string_dup (this->_tao_impl->_interface_repository_id ());
+}
+
+CORBA::Boolean
+POA_IR::ProvidesDef::TAO_ServerRequestInfo_IR_ProvidesDef_interface_type_get::target_is_a (
+ const char * id,
+ CORBA::Environment &ACE_TRY_ENV)
+ ACE_THROW_SPEC ((CORBA::SystemException))
+{
+ return this->_tao_impl->_is_a (id, ACE_TRY_ENV);
+}
+
+void
+POA_IR::ProvidesDef::TAO_ServerRequestInfo_IR_ProvidesDef_interface_type_get::result (CORBA::InterfaceDef_ptr result)
+{
+ // Update the result.
+ this->_result = result;
+}
+
+#endif /* TAO_HAS_INTERCEPTORS */
+class TAO_IR_UsesDef_Perfect_Hash_OpTable : public TAO_Perfect_Hash_OpTable
+{
+private:
+ unsigned int hash (const char *str, unsigned int len);
+public:
+ const TAO_operation_db_entry * lookup (const char *str, unsigned int len);
+};
+/* starting time is 11:21:59 */
+/* C++ code produced by gperf version 2.8 (ACE version) */
+/* Command-line: gperf -m -M -J -c -C -D -E -T -f 0 -F 0 -a -o -t -p -K opname_ -L C++ -Z TAO_IR_UsesDef_Perfect_Hash_OpTable -N lookup */
+unsigned int
+TAO_IR_UsesDef_Perfect_Hash_OpTable::hash (const char *str, unsigned int len)
+{
+ static const unsigned char asso_values[] =
+ {
+#if defined (ACE_MVS)
+ 37, 37, 37, 37, 37, 37, 37, 37, 37, 37,
+ 37, 37, 37, 37, 37, 37, 37, 37, 37, 37,
+ 37, 37, 37, 37, 37, 37, 37, 37, 37, 37,
+ 37, 37, 37, 37, 37, 37, 37, 37, 37, 37,
+ 37, 37, 37, 37, 37, 37, 37, 37, 37, 37,
+ 37, 37, 37, 37, 37, 37, 37, 37, 37, 37,
+ 37, 37, 37, 37, 37, 37, 37, 37, 37, 37,
+ 37, 37, 37, 37, 37, 37, 37, 37, 37, 37,
+ 37, 37, 37, 37, 37, 37, 37, 37, 37, 37,
+ 37, 37, 37, 37, 37, 37, 37, 37, 37, 37,
+ 37, 37, 37, 37, 37, 37, 37, 37, 37, 0,
+ 37, 37, 37, 37, 37, 37, 37, 37, 37, 37,
+ 37, 37, 37, 37, 37, 37, 37, 37, 37, 0,
+ 37, 37, 0, 0, 37, 37, 37, 37, 37, 37,
+ 37, 37, 37, 37, 37, 37, 37, 37, 0, 0,
+ 37, 37, 37, 37, 37, 37, 37, 37, 37, 37,
+ 37, 37, 37, 10, 37, 37, 37, 37, 10, 37,
+ 37, 37, 37, 37, 37, 37, 37, 37, 37, 37,
+ 37, 37, 37, 37, 37, 37, 37, 37, 37, 37,
+ 37, 37, 37, 37, 37, 37, 37, 37, 37, 37,
+ 37, 37, 37, 37, 37, 37, 37, 37, 37, 37,
+ 37, 37, 37, 37, 37, 37, 37, 37, 37, 37,
+ 37, 37, 37, 37, 37, 37, 37, 37, 37, 37,
+ 37, 37, 37, 37, 37, 37, 37, 37, 37, 37,
+ 37, 37, 37, 37, 37, 37, 37, 37, 37, 37,
+ 37, 37, 37, 37, 37, 37,
+#else
+ 37, 37, 37, 37, 37, 37, 37, 37, 37, 37,
+ 37, 37, 37, 37, 37, 37, 37, 37, 37, 37,
+ 37, 37, 37, 37, 37, 37, 37, 37, 37, 37,
+ 37, 37, 37, 37, 37, 37, 37, 37, 37, 37,
+ 37, 37, 37, 37, 37, 37, 37, 37, 37, 37,
+ 37, 37, 37, 37, 37, 37, 37, 37, 37, 37,
+ 37, 37, 37, 37, 37, 37, 37, 37, 37, 37,
+ 37, 37, 37, 37, 37, 37, 37, 37, 37, 37,
+ 37, 37, 37, 37, 37, 37, 37, 37, 37, 37,
+ 37, 37, 37, 37, 37, 0, 37, 0, 37, 37,
+ 0, 0, 37, 37, 37, 37, 37, 37, 37, 0,
+ 0, 37, 37, 37, 37, 37, 10, 37, 37, 37,
+ 37, 10, 37, 37, 37, 37, 37, 37,
+#endif /* ACE_MVS */
+ };
+ return len + asso_values[str[len - 1]] + asso_values[str[0]];
+}
+
+const class TAO_operation_db_entry *
+TAO_IR_UsesDef_Perfect_Hash_OpTable::lookup (const char *str, unsigned int len)
+{
+ enum
+ {
+ TOTAL_KEYWORDS = 17,
+ MIN_WORD_LENGTH = 4,
+ MAX_WORD_LENGTH = 26,
+ MIN_HASH_VALUE = 4,
+ MAX_HASH_VALUE = 36,
+ HASH_VALUE_RANGE = 33,
+ DUPLICATES = 4
+ };
+
+ static const class TAO_operation_db_entry wordlist[] =
+ {
+ {"",0},{"",0},{"",0},{"",0},
+ {"move", &POA_IR::UsesDef::move_skel},
+ {"_is_a", &POA_IR::UsesDef::_is_a_skel},
+ {"_get_id", &POA_IR::UsesDef::_get_id_skel},
+ {"_set_id", &POA_IR::UsesDef::_set_id_skel},
+ {"describe", &POA_IR::UsesDef::describe_skel},
+ {"_get_name", &POA_IR::UsesDef::_get_name_skel},
+ {"_set_name", &POA_IR::UsesDef::_set_name_skel},
+ {"_get_version", &POA_IR::UsesDef::_get_version_skel},
+ {"_set_version", &POA_IR::UsesDef::_set_version_skel},
+ {"_get_def_kind", &POA_IR::UsesDef::_get_def_kind_skel},
+ {"_get_defined_in", &POA_IR::UsesDef::_get_defined_in_skel},
+ {"_get_is_multiple", &POA_IR::UsesDef::_get_is_multiple_skel},
+ {"destroy", &POA_IR::UsesDef::destroy_skel},
+ {"_get_absolute_name", &POA_IR::UsesDef::_get_absolute_name_skel},
+ {"_get_interface_type", &POA_IR::UsesDef::_get_interface_type_skel},
+ {"_non_existent", &POA_IR::UsesDef::_non_existent_skel},
+ {"_get_containing_repository", &POA_IR::UsesDef::_get_containing_repository_skel},
+ };
+
+ static const signed char lookup[] =
+ {
+ -6, -2, -9, -2, 4, 5, -1, -43, 8, -43, -11, -2, -38, 13,
+ -1, 14, 15, 16, 17, 18, -1, -1, -1, 19, -1, -1, -1, -1,
+ -1, -1, -1, -1, -1, -1, -1, -1, 20,
+ };
+
+ if (len <= MAX_WORD_LENGTH && len >= MIN_WORD_LENGTH)
+ {
+ unsigned int key = hash (str, len);
+
+ if (key <= MAX_HASH_VALUE && key >= MIN_HASH_VALUE)
+ {
+ int slot = lookup[key];
+
+ if (slot >= 0 && slot < MAX_HASH_VALUE)
+ {
+ const char *s = wordlist[slot].opname_;
+
+ if (*str == *s && !strncmp (str + 1, s + 1, len - 1))
+ return &wordlist[slot];
+ }
+ else if (slot < 0 && slot >= -MAX_HASH_VALUE)
+ return 0;
+ else
+ {
+ unsigned int offset = key + slot + (slot > 0 ? -MAX_HASH_VALUE : MAX_HASH_VALUE);
+ const class TAO_operation_db_entry *base = &wordlist[-lookup[offset]];
+ const class TAO_operation_db_entry *ptr = base + -lookup[offset + 1];
+
+ while (--ptr >= base)
+ if (*str == *ptr->opname_ && !strncmp (str + 1, ptr->opname_ + 1, len - 1))
+ return ptr;
+ }
+ }
+ }
+ return 0;
+}
+/* ending time is 11:21:59 */
+static TAO_IR_UsesDef_Perfect_Hash_OpTable tao_IR_UsesDef_optable;
+
+
+///////////////////////////////////////////////////////////////////////
+// Strategized Proxy Broker Implementation
+//
+
+// Factory function Implementation.
+POA_IR::_TAO_UsesDef_Strategized_Proxy_Broker *POA_IR::_TAO_UsesDef_Strategized_Proxy_Broker::the_TAO_UsesDef_Strategized_Proxy_Broker (void)
+{
+ static POA_IR::_TAO_UsesDef_Strategized_Proxy_Broker strategized_proxy_broker;
+ return &strategized_proxy_broker;
+}
+
+POA_IR::_TAO_UsesDef_Strategized_Proxy_Broker::_TAO_UsesDef_Strategized_Proxy_Broker (void)
+{
+ for (int i = 0; i < TAO_Collocation_Strategies::CS_LAST; ++i)
+ this->proxy_cache_[i] = 0;
+
+}
+
+POA_IR::_TAO_UsesDef_Strategized_Proxy_Broker::~_TAO_UsesDef_Strategized_Proxy_Broker (void)
+{
+ for (int i = 0; i < TAO_Collocation_Strategies::CS_LAST; ++i)
+ delete this->proxy_cache_[i];
+
+}
+
+IR::_TAO_UsesDef_Proxy_Impl&
+POA_IR::_TAO_UsesDef_Strategized_Proxy_Broker::select_proxy (
+ ::IR::UsesDef *object,
+ CORBA::Environment &ACE_TRY_ENV
+ )
+{
+ int strategy =
+ TAO_ORB_Core::collocation_strategy (object);
+
+ if (this->proxy_cache_[strategy] != 0)
+ return *this->proxy_cache_[strategy];
+
+ this->create_proxy (strategy, ACE_TRY_ENV);
+ ACE_CHECK_RETURN (*this->proxy_cache_[strategy]);
+
+ return *this->proxy_cache_[strategy];
+
+}
+
+void
+POA_IR::_TAO_UsesDef_Strategized_Proxy_Broker::create_proxy (
+ int strategy,
+ CORBA::Environment &ACE_TRY_ENV
+ )
+{
+ ACE_GUARD (TAO_SYNCH_MUTEX, guard, this->mutex_);
+
+ if (this->proxy_cache_[strategy] == 0)
+ {
+ switch (strategy)
+ {
+ case TAO_Collocation_Strategies::CS_THRU_POA_STRATEGY:
+ ACE_NEW_THROW_EX (
+ this->proxy_cache_[strategy],
+ POA_IR::_TAO_UsesDef_ThruPOA_Proxy_Impl,
+ CORBA::NO_MEMORY ()
+ );
+ ACE_CHECK;
+ break;
+
+ case TAO_Collocation_Strategies::CS_REMOTE_STRATEGY:
+ default:
+ ACE_NEW_THROW_EX (
+ this->proxy_cache_[strategy],
+ ::IR::_TAO_UsesDef_Remote_Proxy_Impl,
+ CORBA::NO_MEMORY ()
+ );
+ ACE_CHECK;
+ break;
+
+ }
+
+ }
+}
+
+
+//
+// End Strategized Proxy Broker Implementation
+///////////////////////////////////////////////////////////////////////
+
+
+IR::_TAO_UsesDef_Proxy_Broker *
+IR__TAO_UsesDef_Proxy_Broker_Factory_function (CORBA::Object_ptr obj)
+{
+ ACE_UNUSED_ARG (obj);
+ return ::POA_IR::_TAO_UsesDef_Strategized_Proxy_Broker::the_TAO_UsesDef_Strategized_Proxy_Broker();
+}
+
+int
+IR__TAO_UsesDef_Proxy_Broker_Factory_Initializer (long _dummy_)
+{
+ ACE_UNUSED_ARG (_dummy_);
+
+ IR__TAO_UsesDef_Proxy_Broker_Factory_function_pointer =
+ IR__TAO_UsesDef_Proxy_Broker_Factory_function;
+
+ return 0;
+}
+
+static int IR__TAO_UsesDef_Proxy_Broker_Stub_Factory_Initializer_Scarecrow =
+ IR__TAO_UsesDef_Proxy_Broker_Factory_Initializer (ACE_reinterpret_cast (long, IR__TAO_UsesDef_Proxy_Broker_Factory_Initializer));
+
+
+///////////////////////////////////////////////////////////////////////
+// ThruPOA Proxy Implementation
+//
+
+POA_IR::_TAO_UsesDef_ThruPOA_Proxy_Impl::_TAO_UsesDef_ThruPOA_Proxy_Impl (void)
+{}
+
+// ThruPOA Implementation of the IDL interface methods
+
+CORBA::InterfaceDef_ptr POA_IR::_TAO_UsesDef_ThruPOA_Proxy_Impl::interface_type (
+ CORBA_Object *_collocated_tao_target_,
+ CORBA::Environment &ACE_TRY_ENV
+ )
+ ACE_THROW_SPEC ((
+ CORBA::SystemException
+ ))
+{
+ CORBA::InterfaceDef_var _tao_retval;
+ ACE_UNUSED_ARG (_tao_retval);
+ TAO_Object_Adapter::Servant_Upcall servant_upcall (
+ _collocated_tao_target_->_stubobj ()->servant_orb_var ()->orb_core ()
+ );
+ CORBA::Object_var forward_to;
+ servant_upcall.prepare_for_upcall (
+ _collocated_tao_target_->_object_key (),
+ "interface_type",
+ forward_to.out (),
+ ACE_TRY_ENV
+ );
+ ACE_CHECK_RETURN (0);
+ return ACE_reinterpret_cast (
+ POA_IR::UsesDef_ptr,
+ servant_upcall.servant ()->_downcast (
+ "IDL:omg.org/IR/UsesDef:1.0"
+ )
+ )->interface_type (
+ ACE_TRY_ENV
+ );
+}
+
+CORBA::Boolean POA_IR::_TAO_UsesDef_ThruPOA_Proxy_Impl::is_multiple (
+ CORBA_Object *_collocated_tao_target_,
+ CORBA::Environment &ACE_TRY_ENV
+ )
+ ACE_THROW_SPEC ((
+ CORBA::SystemException
+ ))
+{
+ CORBA::Boolean _tao_retval = 0;
+ ACE_UNUSED_ARG (_tao_retval);
+ TAO_Object_Adapter::Servant_Upcall servant_upcall (
+ _collocated_tao_target_->_stubobj ()->servant_orb_var ()->orb_core ()
+ );
+ CORBA::Object_var forward_to;
+ servant_upcall.prepare_for_upcall (
+ _collocated_tao_target_->_object_key (),
+ "is_multiple",
+ forward_to.out (),
+ ACE_TRY_ENV
+ );
+ ACE_CHECK_RETURN (_tao_retval);
+ return ACE_reinterpret_cast (
+ POA_IR::UsesDef_ptr,
+ servant_upcall.servant ()->_downcast (
+ "IDL:omg.org/IR/UsesDef:1.0"
+ )
+ )->is_multiple (
+ ACE_TRY_ENV
+ );
+}
+
+//
+// End ThruPOA Proxy Implementation
+///////////////////////////////////////////////////////////////////////
+
+// skeleton constructor
+POA_IR::UsesDef::UsesDef (void)
+{
+ this->optable_ = &tao_IR_UsesDef_optable;
+}
+
+// copy ctor
+POA_IR::UsesDef::UsesDef (const UsesDef& rhs)
+ : ACE_NESTED_CLASS (POA_CORBA,Contained) (rhs),
+ ACE_NESTED_CLASS (POA_CORBA,IRObject) (rhs),
+ TAO_ServantBase (rhs)
+{}
+
+// skeleton destructor
+POA_IR::UsesDef::~UsesDef (void)
+{
+}
+
+void POA_IR::UsesDef::_get_interface_type_skel (
+ TAO_ServerRequest &_tao_server_request,
+ void *_tao_object_reference,
+ void * /* context */,
+ CORBA::Environment &ACE_TRY_ENV
+ )
+{
+ POA_IR::UsesDef *_tao_impl = (POA_IR::UsesDef *)_tao_object_reference;
+
+ CORBA::InterfaceDef_var _tao_retval;
+
+#if (TAO_HAS_INTERCEPTORS == 1)
+ TAO_ServerRequestInterceptor_Adapter _tao_vfr (
+ _tao_server_request.orb_core ()->server_request_interceptors (),
+ _tao_server_request.interceptor_count ()
+ );
+
+ POA_IR::UsesDef::TAO_ServerRequestInfo_IR_UsesDef_interface_type_get ri (
+ _tao_server_request,
+ _tao_impl,
+ ACE_TRY_ENV
+ );
+
+ ACE_TRY
+ {
+ _tao_vfr.receive_request (&ri, ACE_TRY_ENV);
+ ACE_TRY_CHECK;
+
+#endif /* TAO_HAS_INTERCEPTORS */
+ _tao_retval =
+ _tao_impl->interface_type (
+ ACE_TRY_ENV
+ );
+ TAO_INTERCEPTOR_CHECK;
+
+#if (TAO_HAS_INTERCEPTORS == 1)
+ CORBA::InterfaceDef_ptr _tao_retval_info = _tao_retval._retn ();
+ ri.result (_tao_retval_info);
+ _tao_retval = _tao_retval_info;
+ ri.reply_status (PortableInterceptor::SUCCESSFUL);
+ _tao_vfr.send_reply (&ri, ACE_TRY_ENV);
+ ACE_TRY_CHECK;
+ }
+ ACE_CATCH (PortableInterceptor::ForwardRequest, exc)
+ {
+ ri.forward_reference (exc);
+ _tao_vfr.send_other (
+ &ri,
+ ACE_TRY_ENV
+ );
+ ACE_TRY_CHECK;
+ _tao_server_request.forward_location (exc.forward.in ());
+ }
+ ACE_CATCHANY
+ {
+ ri.exception (&ACE_ANY_EXCEPTION);
+ _tao_vfr.send_exception (
+ &ri,
+ ACE_TRY_ENV
+ );
+ ACE_TRY_CHECK;
+ ACE_RE_THROW;
+ }
+ ACE_ENDTRY;
+ ACE_CHECK;
+#endif /* TAO_HAS_INTERCEPTORS */
+
+ _tao_server_request.init_reply ();
+
+ TAO_OutputCDR &_tao_out = _tao_server_request.outgoing ();
+
+ if (!(
+ (_tao_out << _tao_retval.in ())
+ ))
+ ACE_THROW (CORBA::MARSHAL());
+
+ // In case ACE_TRY_ENV is not used in this function
+ ACE_UNUSED_ARG (ACE_TRY_ENV);
+}
+
+void POA_IR::UsesDef::_get_is_multiple_skel (
+ TAO_ServerRequest &_tao_server_request,
+ void *_tao_object_reference,
+ void * /* context */,
+ CORBA::Environment &ACE_TRY_ENV
+ )
+{
+ POA_IR::UsesDef *_tao_impl = (POA_IR::UsesDef *)_tao_object_reference;
+
+ CORBA::Boolean _tao_retval = 0;
+
+#if (TAO_HAS_INTERCEPTORS == 1)
+ TAO_ServerRequestInterceptor_Adapter _tao_vfr (
+ _tao_server_request.orb_core ()->server_request_interceptors (),
+ _tao_server_request.interceptor_count ()
+ );
+
+ POA_IR::UsesDef::TAO_ServerRequestInfo_IR_UsesDef_is_multiple_get ri (
+ _tao_server_request,
+ _tao_impl,
+ ACE_TRY_ENV
+ );
+
+ ACE_TRY
+ {
+ _tao_vfr.receive_request (&ri, ACE_TRY_ENV);
+ ACE_TRY_CHECK;
+
+#endif /* TAO_HAS_INTERCEPTORS */
+ _tao_retval =
+ _tao_impl->is_multiple (
+ ACE_TRY_ENV
+ );
+ TAO_INTERCEPTOR_CHECK;
+
+#if (TAO_HAS_INTERCEPTORS == 1)
+ CORBA::Boolean _tao_retval_info = _tao_retval;
+ ri.result (_tao_retval_info);
+ ri.reply_status (PortableInterceptor::SUCCESSFUL);
+ _tao_vfr.send_reply (&ri, ACE_TRY_ENV);
+ ACE_TRY_CHECK;
+ }
+ ACE_CATCH (PortableInterceptor::ForwardRequest, exc)
+ {
+ ri.forward_reference (exc);
+ _tao_vfr.send_other (
+ &ri,
+ ACE_TRY_ENV
+ );
+ ACE_TRY_CHECK;
+ _tao_server_request.forward_location (exc.forward.in ());
+ }
+ ACE_CATCHANY
+ {
+ ri.exception (&ACE_ANY_EXCEPTION);
+ _tao_vfr.send_exception (
+ &ri,
+ ACE_TRY_ENV
+ );
+ ACE_TRY_CHECK;
+ ACE_RE_THROW;
+ }
+ ACE_ENDTRY;
+ ACE_CHECK;
+#endif /* TAO_HAS_INTERCEPTORS */
+
+ _tao_server_request.init_reply ();
+
+ TAO_OutputCDR &_tao_out = _tao_server_request.outgoing ();
+
+ if (!(
+ (_tao_out << CORBA::Any::from_boolean (_tao_retval))
+ ))
+ ACE_THROW (CORBA::MARSHAL());
+
+ // In case ACE_TRY_ENV is not used in this function
+ ACE_UNUSED_ARG (ACE_TRY_ENV);
+}
+
+void POA_IR::UsesDef::_is_a_skel (
+ TAO_ServerRequest &_tao_server_request,
+ void * _tao_object_reference,
+ void * /* context */,
+ CORBA::Environment &ACE_TRY_ENV
+ )
+{
+ TAO_InputCDR &_tao_in = _tao_server_request.incoming ();
+ POA_IR::UsesDef *_tao_impl = (POA_IR::UsesDef *) _tao_object_reference;
+ CORBA::Boolean _tao_retval = 0;
+ CORBA::String_var value;
+ if (!(_tao_in >> value.out ()))
+ ACE_THROW (CORBA::MARSHAL ());
+
+ _tao_retval = _tao_impl->_is_a (value.in (), ACE_TRY_ENV);
+ ACE_CHECK;
+
+ _tao_server_request.init_reply ();
+ TAO_OutputCDR &_tao_out = _tao_server_request.outgoing ();
+ if (!(_tao_out << CORBA::Any::from_boolean (_tao_retval)))
+ ACE_THROW (CORBA::MARSHAL ());
+}
+
+void POA_IR::UsesDef::_non_existent_skel (
+ TAO_ServerRequest &_tao_server_request,
+ void * _tao_object_reference,
+ void * /* context */,
+ CORBA::Environment &ACE_TRY_ENV
+ )
+{
+ POA_IR::UsesDef *_tao_impl = (POA_IR::UsesDef *) _tao_object_reference;
+ CORBA::Boolean _tao_retval = _tao_impl->_non_existent (ACE_TRY_ENV);
+ ACE_CHECK;
+
+ _tao_server_request.init_reply ();
+ TAO_OutputCDR &_tao_out = _tao_server_request.outgoing ();
+ if (!(_tao_out << CORBA::Any::from_boolean (_tao_retval)))
+ ACE_THROW (CORBA::MARSHAL ());
+}
+
+CORBA::Boolean POA_IR::UsesDef::_is_a (
+ const char* value,
+ CORBA::Environment &ACE_TRY_ENV
+ )
+{
+ const char *base_id = CORBA::_tc_Object->id (ACE_TRY_ENV);
+ ACE_CHECK_RETURN (0);
+
+ if (
+ (!ACE_OS::strcmp ((char *)value, "IDL:omg.org/IR/UsesDef:1.0")) ||
+ (!ACE_OS::strcmp ((char *)value, "IDL:omg.org/CORBA/Contained:1.0")) ||
+ (!ACE_OS::strcmp ((char *)value, "IDL:omg.org/CORBA/IRObject:1.0")) ||
+ (!ACE_OS::strcmp ((char *)value, base_id)))
+ return 1;
+ else
+ return 0;
+}
+
+void* POA_IR::UsesDef::_downcast (
+ const char* logical_type_id
+ )
+{
+ if (ACE_OS::strcmp (logical_type_id, "IDL:omg.org/IR/UsesDef:1.0") == 0)
+ return ACE_static_cast (POA_IR::UsesDef_ptr, this);
+ if (ACE_OS::strcmp (logical_type_id, "IDL:omg.org/CORBA/Contained:1.0") == 0)
+ return ACE_static_cast (POA_CORBA::Contained_ptr, this);
+ if (ACE_OS::strcmp (logical_type_id, "IDL:omg.org/CORBA/IRObject:1.0") == 0)
+ return ACE_static_cast (POA_CORBA::IRObject_ptr, this);
+ if (ACE_OS::strcmp (logical_type_id, "IDL:omg.org/CORBA/Object:1.0") == 0)
+ return ACE_static_cast(PortableServer::Servant, this);
+ return 0;
+}
+
+void POA_IR::UsesDef::_dispatch (TAO_ServerRequest &req, void *context, CORBA::Environment &ACE_TRY_ENV)
+{
+ this->synchronous_upcall_dispatch(req, context, this, ACE_TRY_ENV);
+}
+
+const char* POA_IR::UsesDef::_interface_repository_id (void) const
+{
+ return "IDL:omg.org/IR/UsesDef:1.0";
+}
+
+IR::UsesDef*
+POA_IR::UsesDef::_this (CORBA_Environment &ACE_TRY_ENV)
+{
+ TAO_Stub *stub = this->_create_stub (ACE_TRY_ENV);
+ ACE_CHECK_RETURN (0);
+
+ CORBA::Object_ptr tmp = CORBA::Object::_nil ();
+
+ if (stub->servant_orb_var ()->orb_core ()->optimize_collocation_objects ())
+ ACE_NEW_RETURN (tmp, CORBA::Object (stub, 1, this), 0);
+ else
+ ACE_NEW_RETURN (tmp, CORBA::Object (stub, 0, this), 0);
+
+ CORBA::Object_var obj = tmp;
+ return ::IR::UsesDef::_unchecked_narrow (obj.in ());
+}
+
+
+#if (TAO_HAS_INTERCEPTORS == 1)
+POA_IR::UsesDef::TAO_ServerRequestInfo_IR_UsesDef_interface_type_get::TAO_ServerRequestInfo_IR_UsesDef_interface_type_get (
+ TAO_ServerRequest &_tao_server_request,
+ POA_IR::UsesDef *tao_impl,
+ CORBA::Environment &
+ )
+ : TAO_ServerRequestInfo (_tao_server_request),
+ _tao_impl (tao_impl)
+{}
+
+Dynamic::ParameterList *
+POA_IR::UsesDef::TAO_ServerRequestInfo_IR_UsesDef_interface_type_get::arguments (CORBA::Environment &ACE_TRY_ENV)
+ ACE_THROW_SPEC ((CORBA::SystemException))
+{
+ // Generate the argument list on demand.
+ Dynamic::ParameterList *parameter_list =
+ TAO_RequestInfo_Util::make_parameter_list (ACE_TRY_ENV);
+ ACE_CHECK_RETURN (0);
+
+ return parameter_list;
+}
+
+Dynamic::ExceptionList *
+POA_IR::UsesDef::TAO_ServerRequestInfo_IR_UsesDef_interface_type_get::exceptions (CORBA::Environment &ACE_TRY_ENV)
+ ACE_THROW_SPEC ((CORBA::SystemException))
+{
+ // Generate the exception list on demand.
+ Dynamic::ExceptionList *exception_list =
+ TAO_RequestInfo_Util::make_exception_list (ACE_TRY_ENV);
+ ACE_CHECK_RETURN (0);
+
+ return exception_list;
+}
+
+CORBA::Any *
+POA_IR::UsesDef::TAO_ServerRequestInfo_IR_UsesDef_interface_type_get::result (CORBA::Environment &ACE_TRY_ENV)
+ ACE_THROW_SPEC ((CORBA::SystemException))
+{
+ // Generate the result on demand.
+ CORBA::Boolean tk_void_any = 0;
+ CORBA::Any *result_any =
+ TAO_RequestInfo_Util::make_any (tk_void_any, ACE_TRY_ENV);
+ ACE_CHECK_RETURN (0);
+
+ CORBA::Any_var safe_result_any = result_any;
+
+ (*result_any) <<= this->_result;
+
+ return safe_result_any._retn ();
+}
+
+char *
+POA_IR::UsesDef::TAO_ServerRequestInfo_IR_UsesDef_interface_type_get::target_most_derived_interface (
+ CORBA::Environment &)
+ ACE_THROW_SPEC ((CORBA::SystemException))
+{
+ return
+ CORBA::string_dup (this->_tao_impl->_interface_repository_id ());
+}
+
+CORBA::Boolean
+POA_IR::UsesDef::TAO_ServerRequestInfo_IR_UsesDef_interface_type_get::target_is_a (
+ const char * id,
+ CORBA::Environment &ACE_TRY_ENV)
+ ACE_THROW_SPEC ((CORBA::SystemException))
+{
+ return this->_tao_impl->_is_a (id, ACE_TRY_ENV);
+}
+
+void
+POA_IR::UsesDef::TAO_ServerRequestInfo_IR_UsesDef_interface_type_get::result (CORBA::InterfaceDef_ptr result)
+{
+ // Update the result.
+ this->_result = result;
+}
+
+POA_IR::UsesDef::TAO_ServerRequestInfo_IR_UsesDef_is_multiple_get::TAO_ServerRequestInfo_IR_UsesDef_is_multiple_get (
+ TAO_ServerRequest &_tao_server_request,
+ POA_IR::UsesDef *tao_impl,
+ CORBA::Environment &
+ )
+ : TAO_ServerRequestInfo (_tao_server_request),
+ _tao_impl (tao_impl)
+{}
+
+Dynamic::ParameterList *
+POA_IR::UsesDef::TAO_ServerRequestInfo_IR_UsesDef_is_multiple_get::arguments (CORBA::Environment &ACE_TRY_ENV)
+ ACE_THROW_SPEC ((CORBA::SystemException))
+{
+ // Generate the argument list on demand.
+ Dynamic::ParameterList *parameter_list =
+ TAO_RequestInfo_Util::make_parameter_list (ACE_TRY_ENV);
+ ACE_CHECK_RETURN (0);
+
+ return parameter_list;
+}
+
+Dynamic::ExceptionList *
+POA_IR::UsesDef::TAO_ServerRequestInfo_IR_UsesDef_is_multiple_get::exceptions (CORBA::Environment &ACE_TRY_ENV)
+ ACE_THROW_SPEC ((CORBA::SystemException))
+{
+ // Generate the exception list on demand.
+ Dynamic::ExceptionList *exception_list =
+ TAO_RequestInfo_Util::make_exception_list (ACE_TRY_ENV);
+ ACE_CHECK_RETURN (0);
+
+ return exception_list;
+}
+
+CORBA::Any *
+POA_IR::UsesDef::TAO_ServerRequestInfo_IR_UsesDef_is_multiple_get::result (CORBA::Environment &ACE_TRY_ENV)
+ ACE_THROW_SPEC ((CORBA::SystemException))
+{
+ // Generate the result on demand.
+ CORBA::Boolean tk_void_any = 0;
+ CORBA::Any *result_any =
+ TAO_RequestInfo_Util::make_any (tk_void_any, ACE_TRY_ENV);
+ ACE_CHECK_RETURN (0);
+
+ CORBA::Any_var safe_result_any = result_any;
+
+ (*result_any) <<= CORBA::Any::from_boolean (this->_result);
+
+ return safe_result_any._retn ();
+}
+
+char *
+POA_IR::UsesDef::TAO_ServerRequestInfo_IR_UsesDef_is_multiple_get::target_most_derived_interface (
+ CORBA::Environment &)
+ ACE_THROW_SPEC ((CORBA::SystemException))
+{
+ return
+ CORBA::string_dup (this->_tao_impl->_interface_repository_id ());
+}
+
+CORBA::Boolean
+POA_IR::UsesDef::TAO_ServerRequestInfo_IR_UsesDef_is_multiple_get::target_is_a (
+ const char * id,
+ CORBA::Environment &ACE_TRY_ENV)
+ ACE_THROW_SPEC ((CORBA::SystemException))
+{
+ return this->_tao_impl->_is_a (id, ACE_TRY_ENV);
+}
+
+void
+POA_IR::UsesDef::TAO_ServerRequestInfo_IR_UsesDef_is_multiple_get::result (CORBA::Boolean result)
+{
+ // Update the result.
+ this->_result = result;
+}
+
+#endif /* TAO_HAS_INTERCEPTORS */
+class TAO_IR_EventDef_Perfect_Hash_OpTable : public TAO_Perfect_Hash_OpTable
+{
+private:
+ unsigned int hash (const char *str, unsigned int len);
+public:
+ const TAO_operation_db_entry * lookup (const char *str, unsigned int len);
+};
+/* starting time is 11:21:59 */
+/* C++ code produced by gperf version 2.8 (ACE version) */
+/* Command-line: gperf -m -M -J -c -C -D -E -T -f 0 -F 0 -a -o -t -p -K opname_ -L C++ -Z TAO_IR_EventDef_Perfect_Hash_OpTable -N lookup */
+unsigned int
+TAO_IR_EventDef_Perfect_Hash_OpTable::hash (const char *str, unsigned int len)
+{
+ static const unsigned char asso_values[] =
+ {
+#if defined (ACE_MVS)
+ 37, 37, 37, 37, 37, 37, 37, 37, 37, 37,
+ 37, 37, 37, 37, 37, 37, 37, 37, 37, 37,
+ 37, 37, 37, 37, 37, 37, 37, 37, 37, 37,
+ 37, 37, 37, 37, 37, 37, 37, 37, 37, 37,
+ 37, 37, 37, 37, 37, 37, 37, 37, 37, 37,
+ 37, 37, 37, 37, 37, 37, 37, 37, 37, 37,
+ 37, 37, 37, 37, 37, 37, 37, 37, 37, 37,
+ 37, 37, 37, 37, 37, 37, 37, 37, 37, 37,
+ 37, 37, 37, 37, 37, 37, 37, 37, 37, 37,
+ 37, 37, 37, 37, 37, 37, 37, 37, 37, 37,
+ 37, 37, 37, 37, 37, 37, 37, 37, 37, 0,
+ 37, 37, 37, 37, 37, 37, 37, 37, 37, 37,
+ 37, 37, 37, 37, 37, 37, 37, 37, 37, 0,
+ 37, 37, 0, 0, 37, 37, 37, 10, 37, 37,
+ 37, 37, 37, 37, 37, 37, 37, 37, 0, 0,
+ 37, 37, 37, 37, 37, 37, 37, 37, 37, 37,
+ 37, 37, 37, 10, 37, 37, 37, 37, 10, 37,
+ 37, 37, 37, 37, 37, 37, 37, 37, 37, 37,
+ 37, 37, 37, 37, 37, 37, 37, 37, 37, 37,
+ 37, 37, 37, 37, 37, 37, 37, 37, 37, 37,
+ 37, 37, 37, 37, 37, 37, 37, 37, 37, 37,
+ 37, 37, 37, 37, 37, 37, 37, 37, 37, 37,
+ 37, 37, 37, 37, 37, 37, 37, 37, 37, 37,
+ 37, 37, 37, 37, 37, 37, 37, 37, 37, 37,
+ 37, 37, 37, 37, 37, 37, 37, 37, 37, 37,
+ 37, 37, 37, 37, 37, 37,
+#else
+ 37, 37, 37, 37, 37, 37, 37, 37, 37, 37,
+ 37, 37, 37, 37, 37, 37, 37, 37, 37, 37,
+ 37, 37, 37, 37, 37, 37, 37, 37, 37, 37,
+ 37, 37, 37, 37, 37, 37, 37, 37, 37, 37,
+ 37, 37, 37, 37, 37, 37, 37, 37, 37, 37,
+ 37, 37, 37, 37, 37, 37, 37, 37, 37, 37,
+ 37, 37, 37, 37, 37, 37, 37, 37, 37, 37,
+ 37, 37, 37, 37, 37, 37, 37, 37, 37, 37,
+ 37, 37, 37, 37, 37, 37, 37, 37, 37, 37,
+ 37, 37, 37, 37, 37, 0, 37, 0, 37, 37,
+ 0, 0, 37, 37, 37, 10, 37, 37, 37, 0,
+ 0, 37, 37, 37, 37, 37, 10, 37, 37, 37,
+ 37, 10, 37, 37, 37, 37, 37, 37,
+#endif /* ACE_MVS */
+ };
+ return len + asso_values[str[len - 1]] + asso_values[str[0]];
+}
+
+const class TAO_operation_db_entry *
+TAO_IR_EventDef_Perfect_Hash_OpTable::lookup (const char *str, unsigned int len)
+{
+ enum
+ {
+ TOTAL_KEYWORDS = 17,
+ MIN_WORD_LENGTH = 4,
+ MAX_WORD_LENGTH = 26,
+ MIN_HASH_VALUE = 4,
+ MAX_HASH_VALUE = 36,
+ HASH_VALUE_RANGE = 33,
+ DUPLICATES = 4
+ };
+
+ static const class TAO_operation_db_entry wordlist[] =
+ {
+ {"",0},{"",0},{"",0},{"",0},
+ {"move", &POA_IR::EventDef::move_skel},
+ {"_is_a", &POA_IR::EventDef::_is_a_skel},
+ {"_get_id", &POA_IR::EventDef::_get_id_skel},
+ {"_set_id", &POA_IR::EventDef::_set_id_skel},
+ {"describe", &POA_IR::EventDef::describe_skel},
+ {"_get_name", &POA_IR::EventDef::_get_name_skel},
+ {"_set_name", &POA_IR::EventDef::_set_name_skel},
+ {"_get_version", &POA_IR::EventDef::_get_version_skel},
+ {"_set_version", &POA_IR::EventDef::_set_version_skel},
+ {"_get_def_kind", &POA_IR::EventDef::_get_def_kind_skel},
+ {"is_a", &POA_IR::EventDef::is_a_skel},
+ {"_get_defined_in", &POA_IR::EventDef::_get_defined_in_skel},
+ {"destroy", &POA_IR::EventDef::destroy_skel},
+ {"_get_absolute_name", &POA_IR::EventDef::_get_absolute_name_skel},
+ {"_get_event", &POA_IR::EventDef::_get_event_skel},
+ {"_non_existent", &POA_IR::EventDef::_non_existent_skel},
+ {"_get_containing_repository", &POA_IR::EventDef::_get_containing_repository_skel},
+ };
+
+ static const signed char lookup[] =
+ {
+ -6, -2, -9, -2, 4, 5, -1, -43, 8, -43, -11, -2, -38, 13,
+ 14, 15, -1, 16, 17, -1, 18, -1, -1, 19, -1, -1, -1, -1,
+ -1, -1, -1, -1, -1, -1, -1, -1, 20,
+ };
+
+ if (len <= MAX_WORD_LENGTH && len >= MIN_WORD_LENGTH)
+ {
+ unsigned int key = hash (str, len);
+
+ if (key <= MAX_HASH_VALUE && key >= MIN_HASH_VALUE)
+ {
+ int slot = lookup[key];
+
+ if (slot >= 0 && slot < MAX_HASH_VALUE)
+ {
+ const char *s = wordlist[slot].opname_;
+
+ if (*str == *s && !strncmp (str + 1, s + 1, len - 1))
+ return &wordlist[slot];
+ }
+ else if (slot < 0 && slot >= -MAX_HASH_VALUE)
+ return 0;
+ else
+ {
+ unsigned int offset = key + slot + (slot > 0 ? -MAX_HASH_VALUE : MAX_HASH_VALUE);
+ const class TAO_operation_db_entry *base = &wordlist[-lookup[offset]];
+ const class TAO_operation_db_entry *ptr = base + -lookup[offset + 1];
+
+ while (--ptr >= base)
+ if (*str == *ptr->opname_ && !strncmp (str + 1, ptr->opname_ + 1, len - 1))
+ return ptr;
+ }
+ }
+ }
+ return 0;
+}
+/* ending time is 11:21:59 */
+static TAO_IR_EventDef_Perfect_Hash_OpTable tao_IR_EventDef_optable;
+
+
+///////////////////////////////////////////////////////////////////////
+// Strategized Proxy Broker Implementation
+//
+
+// Factory function Implementation.
+POA_IR::_TAO_EventDef_Strategized_Proxy_Broker *POA_IR::_TAO_EventDef_Strategized_Proxy_Broker::the_TAO_EventDef_Strategized_Proxy_Broker (void)
+{
+ static POA_IR::_TAO_EventDef_Strategized_Proxy_Broker strategized_proxy_broker;
+ return &strategized_proxy_broker;
+}
+
+POA_IR::_TAO_EventDef_Strategized_Proxy_Broker::_TAO_EventDef_Strategized_Proxy_Broker (void)
+{
+ for (int i = 0; i < TAO_Collocation_Strategies::CS_LAST; ++i)
+ this->proxy_cache_[i] = 0;
+
+}
+
+POA_IR::_TAO_EventDef_Strategized_Proxy_Broker::~_TAO_EventDef_Strategized_Proxy_Broker (void)
+{
+ for (int i = 0; i < TAO_Collocation_Strategies::CS_LAST; ++i)
+ delete this->proxy_cache_[i];
+
+}
+
+IR::_TAO_EventDef_Proxy_Impl&
+POA_IR::_TAO_EventDef_Strategized_Proxy_Broker::select_proxy (
+ ::IR::EventDef *object,
+ CORBA::Environment &ACE_TRY_ENV
+ )
+{
+ int strategy =
+ TAO_ORB_Core::collocation_strategy (object);
+
+ if (this->proxy_cache_[strategy] != 0)
+ return *this->proxy_cache_[strategy];
+
+ this->create_proxy (strategy, ACE_TRY_ENV);
+ ACE_CHECK_RETURN (*this->proxy_cache_[strategy]);
+
+ return *this->proxy_cache_[strategy];
+
+}
+
+void
+POA_IR::_TAO_EventDef_Strategized_Proxy_Broker::create_proxy (
+ int strategy,
+ CORBA::Environment &ACE_TRY_ENV
+ )
+{
+ ACE_GUARD (TAO_SYNCH_MUTEX, guard, this->mutex_);
+
+ if (this->proxy_cache_[strategy] == 0)
+ {
+ switch (strategy)
+ {
+ case TAO_Collocation_Strategies::CS_THRU_POA_STRATEGY:
+ ACE_NEW_THROW_EX (
+ this->proxy_cache_[strategy],
+ POA_IR::_TAO_EventDef_ThruPOA_Proxy_Impl,
+ CORBA::NO_MEMORY ()
+ );
+ ACE_CHECK;
+ break;
+
+ case TAO_Collocation_Strategies::CS_REMOTE_STRATEGY:
+ default:
+ ACE_NEW_THROW_EX (
+ this->proxy_cache_[strategy],
+ ::IR::_TAO_EventDef_Remote_Proxy_Impl,
+ CORBA::NO_MEMORY ()
+ );
+ ACE_CHECK;
+ break;
+
+ }
+
+ }
+}
+
+
+//
+// End Strategized Proxy Broker Implementation
+///////////////////////////////////////////////////////////////////////
+
+
+IR::_TAO_EventDef_Proxy_Broker *
+IR__TAO_EventDef_Proxy_Broker_Factory_function (CORBA::Object_ptr obj)
+{
+ ACE_UNUSED_ARG (obj);
+ return ::POA_IR::_TAO_EventDef_Strategized_Proxy_Broker::the_TAO_EventDef_Strategized_Proxy_Broker();
+}
+
+int
+IR__TAO_EventDef_Proxy_Broker_Factory_Initializer (long _dummy_)
+{
+ ACE_UNUSED_ARG (_dummy_);
+
+ IR__TAO_EventDef_Proxy_Broker_Factory_function_pointer =
+ IR__TAO_EventDef_Proxy_Broker_Factory_function;
+
+ return 0;
+}
+
+static int IR__TAO_EventDef_Proxy_Broker_Stub_Factory_Initializer_Scarecrow =
+ IR__TAO_EventDef_Proxy_Broker_Factory_Initializer (ACE_reinterpret_cast (long, IR__TAO_EventDef_Proxy_Broker_Factory_Initializer));
+
+
+///////////////////////////////////////////////////////////////////////
+// ThruPOA Proxy Implementation
+//
+
+POA_IR::_TAO_EventDef_ThruPOA_Proxy_Impl::_TAO_EventDef_ThruPOA_Proxy_Impl (void)
+{}
+
+// ThruPOA Implementation of the IDL interface methods
+
+CORBA::Boolean POA_IR::_TAO_EventDef_ThruPOA_Proxy_Impl::is_a (
+ CORBA_Object *_collocated_tao_target_,
+ const char * event_id,
+ CORBA::Environment &ACE_TRY_ENV
+ )
+ ACE_THROW_SPEC ((
+ CORBA::SystemException
+ ))
+{
+ CORBA::Boolean _tao_retval = 0;
+ ACE_UNUSED_ARG (_tao_retval);
+ TAO_Object_Adapter::Servant_Upcall servant_upcall (
+ _collocated_tao_target_->_stubobj ()->servant_orb_var ()->orb_core ()
+ );
+ CORBA::Object_var forward_to;
+ servant_upcall.prepare_for_upcall (
+ _collocated_tao_target_->_object_key (),
+ "is_a",
+ forward_to.out (),
+ ACE_TRY_ENV
+ );
+ ACE_CHECK_RETURN (_tao_retval);
+ return ACE_reinterpret_cast (
+ POA_IR::EventDef_ptr,
+ servant_upcall.servant ()->_downcast (
+ "IDL:omg.org/IR/EventDef:1.0"
+ )
+ )->is_a (
+ event_id,
+ ACE_TRY_ENV
+ );
+}
+
+CORBA::ValueDef_ptr POA_IR::_TAO_EventDef_ThruPOA_Proxy_Impl::event (
+ CORBA_Object *_collocated_tao_target_,
+ CORBA::Environment &ACE_TRY_ENV
+ )
+ ACE_THROW_SPEC ((
+ CORBA::SystemException
+ ))
+{
+ CORBA::ValueDef_var _tao_retval;
+ ACE_UNUSED_ARG (_tao_retval);
+ TAO_Object_Adapter::Servant_Upcall servant_upcall (
+ _collocated_tao_target_->_stubobj ()->servant_orb_var ()->orb_core ()
+ );
+ CORBA::Object_var forward_to;
+ servant_upcall.prepare_for_upcall (
+ _collocated_tao_target_->_object_key (),
+ "event",
+ forward_to.out (),
+ ACE_TRY_ENV
+ );
+ ACE_CHECK_RETURN (0);
+ return ACE_reinterpret_cast (
+ POA_IR::EventDef_ptr,
+ servant_upcall.servant ()->_downcast (
+ "IDL:omg.org/IR/EventDef:1.0"
+ )
+ )->event (
+ ACE_TRY_ENV
+ );
+}
+
+//
+// End ThruPOA Proxy Implementation
+///////////////////////////////////////////////////////////////////////
+
+// skeleton constructor
+POA_IR::EventDef::EventDef (void)
+{
+ this->optable_ = &tao_IR_EventDef_optable;
+}
+
+// copy ctor
+POA_IR::EventDef::EventDef (const EventDef& rhs)
+ : ACE_NESTED_CLASS (POA_CORBA,Contained) (rhs),
+ ACE_NESTED_CLASS (POA_CORBA,IRObject) (rhs),
+ TAO_ServantBase (rhs)
+{}
+
+// skeleton destructor
+POA_IR::EventDef::~EventDef (void)
+{
+}
+
+void POA_IR::EventDef::is_a_skel (
+ TAO_ServerRequest &_tao_server_request,
+ void *_tao_object_reference,
+ void * /* context */,
+ CORBA::Environment &ACE_TRY_ENV
+ )
+{
+ TAO_InputCDR &_tao_in = _tao_server_request.incoming ();
+ POA_IR::EventDef *_tao_impl = (POA_IR::EventDef *)_tao_object_reference;
+
+ CORBA::Boolean _tao_retval = 0;
+ CORBA::String_var event_id;
+ if (!(
+ (_tao_in >> event_id.out ())
+ ))
+ ACE_THROW (CORBA::MARSHAL());
+
+
+#if (TAO_HAS_INTERCEPTORS == 1)
+ TAO_ServerRequestInterceptor_Adapter _tao_vfr (
+ _tao_server_request.orb_core ()->server_request_interceptors (),
+ _tao_server_request.interceptor_count ()
+ );
+
+ POA_IR::EventDef::TAO_ServerRequestInfo_IR_EventDef_is_a ri (
+ _tao_server_request,
+ _tao_impl,
+ event_id.in (),
+ ACE_TRY_ENV
+ );
+
+ ACE_TRY
+ {
+ _tao_vfr.receive_request (&ri, ACE_TRY_ENV);
+ ACE_TRY_CHECK;
+
+#endif /* TAO_HAS_INTERCEPTORS */
+ _tao_retval =
+ _tao_impl->is_a (
+ event_id.in (),
+ ACE_TRY_ENV
+ );
+ TAO_INTERCEPTOR_CHECK;
+
+#if (TAO_HAS_INTERCEPTORS == 1)
+ CORBA::Boolean _tao_retval_info = _tao_retval;
+ ri.result (_tao_retval_info);
+ ri.reply_status (PortableInterceptor::SUCCESSFUL);
+ _tao_vfr.send_reply (&ri, ACE_TRY_ENV);
+ ACE_TRY_CHECK;
+ }
+ ACE_CATCH (PortableInterceptor::ForwardRequest, exc)
+ {
+ ri.forward_reference (exc);
+ _tao_vfr.send_other (
+ &ri,
+ ACE_TRY_ENV
+ );
+ ACE_TRY_CHECK;
+ _tao_server_request.forward_location (exc.forward.in ());
+ }
+ ACE_CATCHANY
+ {
+ ri.exception (&ACE_ANY_EXCEPTION);
+ _tao_vfr.send_exception (
+ &ri,
+ ACE_TRY_ENV
+ );
+ ACE_TRY_CHECK;
+ ACE_RE_THROW;
+ }
+ ACE_ENDTRY;
+ ACE_CHECK;
+#endif /* TAO_HAS_INTERCEPTORS */
+
+ _tao_server_request.init_reply ();
+
+ TAO_OutputCDR &_tao_out = _tao_server_request.outgoing ();
+
+ if (!(
+ (_tao_out << CORBA::Any::from_boolean (_tao_retval))
+ ))
+ ACE_THROW (CORBA::MARSHAL());
+
+ // In case ACE_TRY_ENV is not used in this function
+ ACE_UNUSED_ARG (ACE_TRY_ENV);
+}
+
+void POA_IR::EventDef::_get_event_skel (
+ TAO_ServerRequest &_tao_server_request,
+ void *_tao_object_reference,
+ void * /* context */,
+ CORBA::Environment &ACE_TRY_ENV
+ )
+{
+ POA_IR::EventDef *_tao_impl = (POA_IR::EventDef *)_tao_object_reference;
+
+ CORBA::ValueDef_var _tao_retval;
+
+#if (TAO_HAS_INTERCEPTORS == 1)
+ TAO_ServerRequestInterceptor_Adapter _tao_vfr (
+ _tao_server_request.orb_core ()->server_request_interceptors (),
+ _tao_server_request.interceptor_count ()
+ );
+
+ POA_IR::EventDef::TAO_ServerRequestInfo_IR_EventDef_event_get ri (
+ _tao_server_request,
+ _tao_impl,
+ ACE_TRY_ENV
+ );
+
+ ACE_TRY
+ {
+ _tao_vfr.receive_request (&ri, ACE_TRY_ENV);
+ ACE_TRY_CHECK;
+
+#endif /* TAO_HAS_INTERCEPTORS */
+ _tao_retval =
+ _tao_impl->event (
+ ACE_TRY_ENV
+ );
+ TAO_INTERCEPTOR_CHECK;
+
+#if (TAO_HAS_INTERCEPTORS == 1)
+ CORBA::ValueDef_ptr _tao_retval_info = _tao_retval._retn ();
+ ri.result (_tao_retval_info);
+ _tao_retval = _tao_retval_info;
+ ri.reply_status (PortableInterceptor::SUCCESSFUL);
+ _tao_vfr.send_reply (&ri, ACE_TRY_ENV);
+ ACE_TRY_CHECK;
+ }
+ ACE_CATCH (PortableInterceptor::ForwardRequest, exc)
+ {
+ ri.forward_reference (exc);
+ _tao_vfr.send_other (
+ &ri,
+ ACE_TRY_ENV
+ );
+ ACE_TRY_CHECK;
+ _tao_server_request.forward_location (exc.forward.in ());
+ }
+ ACE_CATCHANY
+ {
+ ri.exception (&ACE_ANY_EXCEPTION);
+ _tao_vfr.send_exception (
+ &ri,
+ ACE_TRY_ENV
+ );
+ ACE_TRY_CHECK;
+ ACE_RE_THROW;
+ }
+ ACE_ENDTRY;
+ ACE_CHECK;
+#endif /* TAO_HAS_INTERCEPTORS */
+
+ _tao_server_request.init_reply ();
+
+ TAO_OutputCDR &_tao_out = _tao_server_request.outgoing ();
+
+ if (!(
+ (_tao_out << _tao_retval.in ())
+ ))
+ ACE_THROW (CORBA::MARSHAL());
+
+ // In case ACE_TRY_ENV is not used in this function
+ ACE_UNUSED_ARG (ACE_TRY_ENV);
+}
+
+void POA_IR::EventDef::_is_a_skel (
+ TAO_ServerRequest &_tao_server_request,
+ void * _tao_object_reference,
+ void * /* context */,
+ CORBA::Environment &ACE_TRY_ENV
+ )
+{
+ TAO_InputCDR &_tao_in = _tao_server_request.incoming ();
+ POA_IR::EventDef *_tao_impl = (POA_IR::EventDef *) _tao_object_reference;
+ CORBA::Boolean _tao_retval = 0;
+ CORBA::String_var value;
+ if (!(_tao_in >> value.out ()))
+ ACE_THROW (CORBA::MARSHAL ());
+
+ _tao_retval = _tao_impl->_is_a (value.in (), ACE_TRY_ENV);
+ ACE_CHECK;
+
+ _tao_server_request.init_reply ();
+ TAO_OutputCDR &_tao_out = _tao_server_request.outgoing ();
+ if (!(_tao_out << CORBA::Any::from_boolean (_tao_retval)))
+ ACE_THROW (CORBA::MARSHAL ());
+}
+
+void POA_IR::EventDef::_non_existent_skel (
+ TAO_ServerRequest &_tao_server_request,
+ void * _tao_object_reference,
+ void * /* context */,
+ CORBA::Environment &ACE_TRY_ENV
+ )
+{
+ POA_IR::EventDef *_tao_impl = (POA_IR::EventDef *) _tao_object_reference;
+ CORBA::Boolean _tao_retval = _tao_impl->_non_existent (ACE_TRY_ENV);
+ ACE_CHECK;
+
+ _tao_server_request.init_reply ();
+ TAO_OutputCDR &_tao_out = _tao_server_request.outgoing ();
+ if (!(_tao_out << CORBA::Any::from_boolean (_tao_retval)))
+ ACE_THROW (CORBA::MARSHAL ());
+}
+
+CORBA::Boolean POA_IR::EventDef::_is_a (
+ const char* value,
+ CORBA::Environment &ACE_TRY_ENV
+ )
+{
+ const char *base_id = CORBA::_tc_Object->id (ACE_TRY_ENV);
+ ACE_CHECK_RETURN (0);
+
+ if (
+ (!ACE_OS::strcmp ((char *)value, "IDL:omg.org/IR/EventDef:1.0")) ||
+ (!ACE_OS::strcmp ((char *)value, "IDL:omg.org/CORBA/Contained:1.0")) ||
+ (!ACE_OS::strcmp ((char *)value, "IDL:omg.org/CORBA/IRObject:1.0")) ||
+ (!ACE_OS::strcmp ((char *)value, base_id)))
+ return 1;
+ else
+ return 0;
+}
+
+void* POA_IR::EventDef::_downcast (
+ const char* logical_type_id
+ )
+{
+ if (ACE_OS::strcmp (logical_type_id, "IDL:omg.org/IR/EventDef:1.0") == 0)
+ return ACE_static_cast (POA_IR::EventDef_ptr, this);
+ if (ACE_OS::strcmp (logical_type_id, "IDL:omg.org/CORBA/Contained:1.0") == 0)
+ return ACE_static_cast (POA_CORBA::Contained_ptr, this);
+ if (ACE_OS::strcmp (logical_type_id, "IDL:omg.org/CORBA/IRObject:1.0") == 0)
+ return ACE_static_cast (POA_CORBA::IRObject_ptr, this);
+ if (ACE_OS::strcmp (logical_type_id, "IDL:omg.org/CORBA/Object:1.0") == 0)
+ return ACE_static_cast(PortableServer::Servant, this);
+ return 0;
+}
+
+void POA_IR::EventDef::_dispatch (TAO_ServerRequest &req, void *context, CORBA::Environment &ACE_TRY_ENV)
+{
+ this->synchronous_upcall_dispatch(req, context, this, ACE_TRY_ENV);
+}
+
+const char* POA_IR::EventDef::_interface_repository_id (void) const
+{
+ return "IDL:omg.org/IR/EventDef:1.0";
+}
+
+IR::EventDef*
+POA_IR::EventDef::_this (CORBA_Environment &ACE_TRY_ENV)
+{
+ TAO_Stub *stub = this->_create_stub (ACE_TRY_ENV);
+ ACE_CHECK_RETURN (0);
+
+ CORBA::Object_ptr tmp = CORBA::Object::_nil ();
+
+ if (stub->servant_orb_var ()->orb_core ()->optimize_collocation_objects ())
+ ACE_NEW_RETURN (tmp, CORBA::Object (stub, 1, this), 0);
+ else
+ ACE_NEW_RETURN (tmp, CORBA::Object (stub, 0, this), 0);
+
+ CORBA::Object_var obj = tmp;
+ return ::IR::EventDef::_unchecked_narrow (obj.in ());
+}
+
+
+#if (TAO_HAS_INTERCEPTORS == 1)
+POA_IR::EventDef::TAO_ServerRequestInfo_IR_EventDef_is_a::TAO_ServerRequestInfo_IR_EventDef_is_a (
+ TAO_ServerRequest &_tao_server_request,
+ POA_IR::EventDef *tao_impl,
+ const char * event_id,
+ CORBA::Environment &
+ )
+ : TAO_ServerRequestInfo (_tao_server_request),
+ _tao_impl (tao_impl),
+ event_id_ (event_id)
+{}
+
+Dynamic::ParameterList *
+POA_IR::EventDef::TAO_ServerRequestInfo_IR_EventDef_is_a::arguments (CORBA::Environment &ACE_TRY_ENV)
+ ACE_THROW_SPEC ((CORBA::SystemException))
+{
+ // Generate the argument list on demand.
+ Dynamic::ParameterList *parameter_list =
+ TAO_RequestInfo_Util::make_parameter_list (ACE_TRY_ENV);
+ ACE_CHECK_RETURN (0);
+
+ Dynamic::ParameterList_var safe_parameter_list = parameter_list;
+
+ CORBA::ULong length_event_id = parameter_list->length ();
+ parameter_list->length (length_event_id + 1);
+ (*parameter_list)[length_event_id].argument <<= event_id_;
+ (*parameter_list)[length_event_id].mode = Dynamic::PARAM_IN;
+
+ return safe_parameter_list._retn ();
+}
+
+Dynamic::ExceptionList *
+POA_IR::EventDef::TAO_ServerRequestInfo_IR_EventDef_is_a::exceptions (CORBA::Environment &ACE_TRY_ENV)
+ ACE_THROW_SPEC ((CORBA::SystemException))
+{
+ // Generate the exception list on demand.
+ Dynamic::ExceptionList *exception_list =
+ TAO_RequestInfo_Util::make_exception_list (ACE_TRY_ENV);
+ ACE_CHECK_RETURN (0);
+
+ return exception_list;
+}
+
+CORBA::Any *
+POA_IR::EventDef::TAO_ServerRequestInfo_IR_EventDef_is_a::result (CORBA::Environment &ACE_TRY_ENV)
+ ACE_THROW_SPEC ((CORBA::SystemException))
+{
+ // Generate the result on demand.
+ CORBA::Boolean tk_void_any = 0;
+ CORBA::Any *result_any =
+ TAO_RequestInfo_Util::make_any (tk_void_any, ACE_TRY_ENV);
+ ACE_CHECK_RETURN (0);
+
+ CORBA::Any_var safe_result_any = result_any;
+
+ (*result_any) <<= CORBA::Any::from_boolean (this->_result);
+
+ return safe_result_any._retn ();
+}
+
+char *
+POA_IR::EventDef::TAO_ServerRequestInfo_IR_EventDef_is_a::target_most_derived_interface (
+ CORBA::Environment &)
+ ACE_THROW_SPEC ((CORBA::SystemException))
+{
+ return
+ CORBA::string_dup (this->_tao_impl->_interface_repository_id ());
+}
+
+CORBA::Boolean
+POA_IR::EventDef::TAO_ServerRequestInfo_IR_EventDef_is_a::target_is_a (
+ const char * id,
+ CORBA::Environment &ACE_TRY_ENV)
+ ACE_THROW_SPEC ((CORBA::SystemException))
+{
+ return this->_tao_impl->_is_a (id, ACE_TRY_ENV);
+}
+
+void
+POA_IR::EventDef::TAO_ServerRequestInfo_IR_EventDef_is_a::result (CORBA::Boolean result)
+{
+ // Update the result.
+ this->_result = result;
+}
+
+POA_IR::EventDef::TAO_ServerRequestInfo_IR_EventDef_event_get::TAO_ServerRequestInfo_IR_EventDef_event_get (
+ TAO_ServerRequest &_tao_server_request,
+ POA_IR::EventDef *tao_impl,
+ CORBA::Environment &
+ )
+ : TAO_ServerRequestInfo (_tao_server_request),
+ _tao_impl (tao_impl)
+{}
+
+Dynamic::ParameterList *
+POA_IR::EventDef::TAO_ServerRequestInfo_IR_EventDef_event_get::arguments (CORBA::Environment &ACE_TRY_ENV)
+ ACE_THROW_SPEC ((CORBA::SystemException))
+{
+ // Generate the argument list on demand.
+ Dynamic::ParameterList *parameter_list =
+ TAO_RequestInfo_Util::make_parameter_list (ACE_TRY_ENV);
+ ACE_CHECK_RETURN (0);
+
+ return parameter_list;
+}
+
+Dynamic::ExceptionList *
+POA_IR::EventDef::TAO_ServerRequestInfo_IR_EventDef_event_get::exceptions (CORBA::Environment &ACE_TRY_ENV)
+ ACE_THROW_SPEC ((CORBA::SystemException))
+{
+ // Generate the exception list on demand.
+ Dynamic::ExceptionList *exception_list =
+ TAO_RequestInfo_Util::make_exception_list (ACE_TRY_ENV);
+ ACE_CHECK_RETURN (0);
+
+ return exception_list;
+}
+
+CORBA::Any *
+POA_IR::EventDef::TAO_ServerRequestInfo_IR_EventDef_event_get::result (CORBA::Environment &ACE_TRY_ENV)
+ ACE_THROW_SPEC ((CORBA::SystemException))
+{
+ // Generate the result on demand.
+ CORBA::Boolean tk_void_any = 0;
+ CORBA::Any *result_any =
+ TAO_RequestInfo_Util::make_any (tk_void_any, ACE_TRY_ENV);
+ ACE_CHECK_RETURN (0);
+
+ CORBA::Any_var safe_result_any = result_any;
+
+ (*result_any) <<= this->_result;
+
+ return safe_result_any._retn ();
+}
+
+char *
+POA_IR::EventDef::TAO_ServerRequestInfo_IR_EventDef_event_get::target_most_derived_interface (
+ CORBA::Environment &)
+ ACE_THROW_SPEC ((CORBA::SystemException))
+{
+ return
+ CORBA::string_dup (this->_tao_impl->_interface_repository_id ());
+}
+
+CORBA::Boolean
+POA_IR::EventDef::TAO_ServerRequestInfo_IR_EventDef_event_get::target_is_a (
+ const char * id,
+ CORBA::Environment &ACE_TRY_ENV)
+ ACE_THROW_SPEC ((CORBA::SystemException))
+{
+ return this->_tao_impl->_is_a (id, ACE_TRY_ENV);
+}
+
+void
+POA_IR::EventDef::TAO_ServerRequestInfo_IR_EventDef_event_get::result (CORBA::ValueDef_ptr result)
+{
+ // Update the result.
+ this->_result = result;
+}
+
+#endif /* TAO_HAS_INTERCEPTORS */
+class TAO_IR_EmitsDef_Perfect_Hash_OpTable : public TAO_Perfect_Hash_OpTable
+{
+private:
+ unsigned int hash (const char *str, unsigned int len);
+public:
+ const TAO_operation_db_entry * lookup (const char *str, unsigned int len);
+};
+/* starting time is 11:21:59 */
+/* C++ code produced by gperf version 2.8 (ACE version) */
+/* Command-line: gperf -m -M -J -c -C -D -E -T -f 0 -F 0 -a -o -t -p -K opname_ -L C++ -Z TAO_IR_EmitsDef_Perfect_Hash_OpTable -N lookup */
+unsigned int
+TAO_IR_EmitsDef_Perfect_Hash_OpTable::hash (const char *str, unsigned int len)
+{
+ static const unsigned char asso_values[] =
+ {
+#if defined (ACE_MVS)
+ 37, 37, 37, 37, 37, 37, 37, 37, 37, 37,
+ 37, 37, 37, 37, 37, 37, 37, 37, 37, 37,
+ 37, 37, 37, 37, 37, 37, 37, 37, 37, 37,
+ 37, 37, 37, 37, 37, 37, 37, 37, 37, 37,
+ 37, 37, 37, 37, 37, 37, 37, 37, 37, 37,
+ 37, 37, 37, 37, 37, 37, 37, 37, 37, 37,
+ 37, 37, 37, 37, 37, 37, 37, 37, 37, 37,
+ 37, 37, 37, 37, 37, 37, 37, 37, 37, 37,
+ 37, 37, 37, 37, 37, 37, 37, 37, 37, 37,
+ 37, 37, 37, 37, 37, 37, 37, 37, 37, 37,
+ 37, 37, 37, 37, 37, 37, 37, 37, 37, 0,
+ 37, 37, 37, 37, 37, 37, 37, 37, 37, 37,
+ 37, 37, 37, 37, 37, 37, 37, 37, 37, 0,
+ 37, 37, 0, 0, 37, 37, 37, 10, 37, 37,
+ 37, 37, 37, 37, 37, 37, 37, 37, 0, 0,
+ 37, 37, 37, 37, 37, 37, 37, 37, 37, 37,
+ 37, 37, 37, 10, 37, 37, 37, 37, 10, 37,
+ 37, 37, 37, 37, 37, 37, 37, 37, 37, 37,
+ 37, 37, 37, 37, 37, 37, 37, 37, 37, 37,
+ 37, 37, 37, 37, 37, 37, 37, 37, 37, 37,
+ 37, 37, 37, 37, 37, 37, 37, 37, 37, 37,
+ 37, 37, 37, 37, 37, 37, 37, 37, 37, 37,
+ 37, 37, 37, 37, 37, 37, 37, 37, 37, 37,
+ 37, 37, 37, 37, 37, 37, 37, 37, 37, 37,
+ 37, 37, 37, 37, 37, 37, 37, 37, 37, 37,
+ 37, 37, 37, 37, 37, 37,
+#else
+ 37, 37, 37, 37, 37, 37, 37, 37, 37, 37,
+ 37, 37, 37, 37, 37, 37, 37, 37, 37, 37,
+ 37, 37, 37, 37, 37, 37, 37, 37, 37, 37,
+ 37, 37, 37, 37, 37, 37, 37, 37, 37, 37,
+ 37, 37, 37, 37, 37, 37, 37, 37, 37, 37,
+ 37, 37, 37, 37, 37, 37, 37, 37, 37, 37,
+ 37, 37, 37, 37, 37, 37, 37, 37, 37, 37,
+ 37, 37, 37, 37, 37, 37, 37, 37, 37, 37,
+ 37, 37, 37, 37, 37, 37, 37, 37, 37, 37,
+ 37, 37, 37, 37, 37, 0, 37, 0, 37, 37,
+ 0, 0, 37, 37, 37, 10, 37, 37, 37, 0,
+ 0, 37, 37, 37, 37, 37, 10, 37, 37, 37,
+ 37, 10, 37, 37, 37, 37, 37, 37,
+#endif /* ACE_MVS */
+ };
+ return len + asso_values[str[len - 1]] + asso_values[str[0]];
+}
+
+const class TAO_operation_db_entry *
+TAO_IR_EmitsDef_Perfect_Hash_OpTable::lookup (const char *str, unsigned int len)
+{
+ enum
+ {
+ TOTAL_KEYWORDS = 17,
+ MIN_WORD_LENGTH = 4,
+ MAX_WORD_LENGTH = 26,
+ MIN_HASH_VALUE = 4,
+ MAX_HASH_VALUE = 36,
+ HASH_VALUE_RANGE = 33,
+ DUPLICATES = 4
+ };
+
+ static const class TAO_operation_db_entry wordlist[] =
+ {
+ {"",0},{"",0},{"",0},{"",0},
+ {"move", &POA_IR::EmitsDef::move_skel},
+ {"_is_a", &POA_IR::EmitsDef::_is_a_skel},
+ {"_get_id", &POA_IR::EmitsDef::_get_id_skel},
+ {"_set_id", &POA_IR::EmitsDef::_set_id_skel},
+ {"describe", &POA_IR::EmitsDef::describe_skel},
+ {"_get_name", &POA_IR::EmitsDef::_get_name_skel},
+ {"_set_name", &POA_IR::EmitsDef::_set_name_skel},
+ {"_get_version", &POA_IR::EmitsDef::_get_version_skel},
+ {"_set_version", &POA_IR::EmitsDef::_set_version_skel},
+ {"_get_def_kind", &POA_IR::EmitsDef::_get_def_kind_skel},
+ {"is_a", &POA_IR::EmitsDef::is_a_skel},
+ {"_get_defined_in", &POA_IR::EmitsDef::_get_defined_in_skel},
+ {"destroy", &POA_IR::EmitsDef::destroy_skel},
+ {"_get_absolute_name", &POA_IR::EmitsDef::_get_absolute_name_skel},
+ {"_get_event", &POA_IR::EmitsDef::_get_event_skel},
+ {"_non_existent", &POA_IR::EmitsDef::_non_existent_skel},
+ {"_get_containing_repository", &POA_IR::EmitsDef::_get_containing_repository_skel},
+ };
+
+ static const signed char lookup[] =
+ {
+ -6, -2, -9, -2, 4, 5, -1, -43, 8, -43, -11, -2, -38, 13,
+ 14, 15, -1, 16, 17, -1, 18, -1, -1, 19, -1, -1, -1, -1,
+ -1, -1, -1, -1, -1, -1, -1, -1, 20,
+ };
+
+ if (len <= MAX_WORD_LENGTH && len >= MIN_WORD_LENGTH)
+ {
+ unsigned int key = hash (str, len);
+
+ if (key <= MAX_HASH_VALUE && key >= MIN_HASH_VALUE)
+ {
+ int slot = lookup[key];
+
+ if (slot >= 0 && slot < MAX_HASH_VALUE)
+ {
+ const char *s = wordlist[slot].opname_;
+
+ if (*str == *s && !strncmp (str + 1, s + 1, len - 1))
+ return &wordlist[slot];
+ }
+ else if (slot < 0 && slot >= -MAX_HASH_VALUE)
+ return 0;
+ else
+ {
+ unsigned int offset = key + slot + (slot > 0 ? -MAX_HASH_VALUE : MAX_HASH_VALUE);
+ const class TAO_operation_db_entry *base = &wordlist[-lookup[offset]];
+ const class TAO_operation_db_entry *ptr = base + -lookup[offset + 1];
+
+ while (--ptr >= base)
+ if (*str == *ptr->opname_ && !strncmp (str + 1, ptr->opname_ + 1, len - 1))
+ return ptr;
+ }
+ }
+ }
+ return 0;
+}
+/* ending time is 11:21:59 */
+static TAO_IR_EmitsDef_Perfect_Hash_OpTable tao_IR_EmitsDef_optable;
+
+
+///////////////////////////////////////////////////////////////////////
+// Strategized Proxy Broker Implementation
+//
+
+// Factory function Implementation.
+POA_IR::_TAO_EmitsDef_Strategized_Proxy_Broker *POA_IR::_TAO_EmitsDef_Strategized_Proxy_Broker::the_TAO_EmitsDef_Strategized_Proxy_Broker (void)
+{
+ static POA_IR::_TAO_EmitsDef_Strategized_Proxy_Broker strategized_proxy_broker;
+ return &strategized_proxy_broker;
+}
+
+POA_IR::_TAO_EmitsDef_Strategized_Proxy_Broker::_TAO_EmitsDef_Strategized_Proxy_Broker (void)
+{
+ for (int i = 0; i < TAO_Collocation_Strategies::CS_LAST; ++i)
+ this->proxy_cache_[i] = 0;
+
+}
+
+POA_IR::_TAO_EmitsDef_Strategized_Proxy_Broker::~_TAO_EmitsDef_Strategized_Proxy_Broker (void)
+{
+ for (int i = 0; i < TAO_Collocation_Strategies::CS_LAST; ++i)
+ delete this->proxy_cache_[i];
+
+}
+
+IR::_TAO_EmitsDef_Proxy_Impl&
+POA_IR::_TAO_EmitsDef_Strategized_Proxy_Broker::select_proxy (
+ ::IR::EmitsDef *object,
+ CORBA::Environment &ACE_TRY_ENV
+ )
+{
+ int strategy =
+ TAO_ORB_Core::collocation_strategy (object);
+
+ if (this->proxy_cache_[strategy] != 0)
+ return *this->proxy_cache_[strategy];
+
+ this->create_proxy (strategy, ACE_TRY_ENV);
+ ACE_CHECK_RETURN (*this->proxy_cache_[strategy]);
+
+ return *this->proxy_cache_[strategy];
+
+}
+
+void
+POA_IR::_TAO_EmitsDef_Strategized_Proxy_Broker::create_proxy (
+ int strategy,
+ CORBA::Environment &ACE_TRY_ENV
+ )
+{
+ ACE_GUARD (TAO_SYNCH_MUTEX, guard, this->mutex_);
+
+ if (this->proxy_cache_[strategy] == 0)
+ {
+ switch (strategy)
+ {
+ case TAO_Collocation_Strategies::CS_THRU_POA_STRATEGY:
+ ACE_NEW_THROW_EX (
+ this->proxy_cache_[strategy],
+ POA_IR::_TAO_EmitsDef_ThruPOA_Proxy_Impl,
+ CORBA::NO_MEMORY ()
+ );
+ ACE_CHECK;
+ break;
+
+ case TAO_Collocation_Strategies::CS_REMOTE_STRATEGY:
+ default:
+ ACE_NEW_THROW_EX (
+ this->proxy_cache_[strategy],
+ ::IR::_TAO_EmitsDef_Remote_Proxy_Impl,
+ CORBA::NO_MEMORY ()
+ );
+ ACE_CHECK;
+ break;
+
+ }
+
+ }
+}
+
+
+//
+// End Strategized Proxy Broker Implementation
+///////////////////////////////////////////////////////////////////////
+
+
+IR::_TAO_EmitsDef_Proxy_Broker *
+IR__TAO_EmitsDef_Proxy_Broker_Factory_function (CORBA::Object_ptr obj)
+{
+ ACE_UNUSED_ARG (obj);
+ return ::POA_IR::_TAO_EmitsDef_Strategized_Proxy_Broker::the_TAO_EmitsDef_Strategized_Proxy_Broker();
+}
+
+int
+IR__TAO_EmitsDef_Proxy_Broker_Factory_Initializer (long _dummy_)
+{
+ ACE_UNUSED_ARG (_dummy_);
+
+ IR__TAO_EmitsDef_Proxy_Broker_Factory_function_pointer =
+ IR__TAO_EmitsDef_Proxy_Broker_Factory_function;
+
+ return 0;
+}
+
+static int IR__TAO_EmitsDef_Proxy_Broker_Stub_Factory_Initializer_Scarecrow =
+ IR__TAO_EmitsDef_Proxy_Broker_Factory_Initializer (ACE_reinterpret_cast (long, IR__TAO_EmitsDef_Proxy_Broker_Factory_Initializer));
+
+
+///////////////////////////////////////////////////////////////////////
+// ThruPOA Proxy Implementation
+//
+
+POA_IR::_TAO_EmitsDef_ThruPOA_Proxy_Impl::_TAO_EmitsDef_ThruPOA_Proxy_Impl (void)
+{}
+
+// ThruPOA Implementation of the IDL interface methods
+
+//
+// End ThruPOA Proxy Implementation
+///////////////////////////////////////////////////////////////////////
+
+// skeleton constructor
+POA_IR::EmitsDef::EmitsDef (void)
+{
+ this->optable_ = &tao_IR_EmitsDef_optable;
+}
+
+// copy ctor
+POA_IR::EmitsDef::EmitsDef (const EmitsDef& rhs)
+ : ACE_NESTED_CLASS (POA_IR,EventDef) (rhs),
+ ACE_NESTED_CLASS (POA_CORBA,Contained) (rhs),
+ ACE_NESTED_CLASS (POA_CORBA,IRObject) (rhs),
+ TAO_ServantBase (rhs)
+{}
+
+// skeleton destructor
+POA_IR::EmitsDef::~EmitsDef (void)
+{
+}
+
+void POA_IR::EmitsDef::_is_a_skel (
+ TAO_ServerRequest &_tao_server_request,
+ void * _tao_object_reference,
+ void * /* context */,
+ CORBA::Environment &ACE_TRY_ENV
+ )
+{
+ TAO_InputCDR &_tao_in = _tao_server_request.incoming ();
+ POA_IR::EmitsDef *_tao_impl = (POA_IR::EmitsDef *) _tao_object_reference;
+ CORBA::Boolean _tao_retval = 0;
+ CORBA::String_var value;
+ if (!(_tao_in >> value.out ()))
+ ACE_THROW (CORBA::MARSHAL ());
+
+ _tao_retval = _tao_impl->_is_a (value.in (), ACE_TRY_ENV);
+ ACE_CHECK;
+
+ _tao_server_request.init_reply ();
+ TAO_OutputCDR &_tao_out = _tao_server_request.outgoing ();
+ if (!(_tao_out << CORBA::Any::from_boolean (_tao_retval)))
+ ACE_THROW (CORBA::MARSHAL ());
+}
+
+void POA_IR::EmitsDef::_non_existent_skel (
+ TAO_ServerRequest &_tao_server_request,
+ void * _tao_object_reference,
+ void * /* context */,
+ CORBA::Environment &ACE_TRY_ENV
+ )
+{
+ POA_IR::EmitsDef *_tao_impl = (POA_IR::EmitsDef *) _tao_object_reference;
+ CORBA::Boolean _tao_retval = _tao_impl->_non_existent (ACE_TRY_ENV);
+ ACE_CHECK;
+
+ _tao_server_request.init_reply ();
+ TAO_OutputCDR &_tao_out = _tao_server_request.outgoing ();
+ if (!(_tao_out << CORBA::Any::from_boolean (_tao_retval)))
+ ACE_THROW (CORBA::MARSHAL ());
+}
+
+CORBA::Boolean POA_IR::EmitsDef::_is_a (
+ const char* value,
+ CORBA::Environment &ACE_TRY_ENV
+ )
+{
+ const char *base_id = CORBA::_tc_Object->id (ACE_TRY_ENV);
+ ACE_CHECK_RETURN (0);
+
+ if (
+ (!ACE_OS::strcmp ((char *)value, "IDL:omg.org/IR/EmitsDef:1.0")) ||
+ (!ACE_OS::strcmp ((char *)value, "IDL:omg.org/IR/EventDef:1.0")) ||
+ (!ACE_OS::strcmp ((char *)value, "IDL:omg.org/CORBA/Contained:1.0")) ||
+ (!ACE_OS::strcmp ((char *)value, "IDL:omg.org/CORBA/IRObject:1.0")) ||
+ (!ACE_OS::strcmp ((char *)value, base_id)))
+ return 1;
+ else
+ return 0;
+}
+
+void* POA_IR::EmitsDef::_downcast (
+ const char* logical_type_id
+ )
+{
+ if (ACE_OS::strcmp (logical_type_id, "IDL:omg.org/IR/EmitsDef:1.0") == 0)
+ return ACE_static_cast (POA_IR::EmitsDef_ptr, this);
+ if (ACE_OS::strcmp (logical_type_id, "IDL:omg.org/IR/EventDef:1.0") == 0)
+ return ACE_static_cast (POA_IR::EventDef_ptr, this);
+ if (ACE_OS::strcmp (logical_type_id, "IDL:omg.org/CORBA/Contained:1.0") == 0)
+ return ACE_static_cast (POA_CORBA::Contained_ptr, this);
+ if (ACE_OS::strcmp (logical_type_id, "IDL:omg.org/CORBA/IRObject:1.0") == 0)
+ return ACE_static_cast (POA_CORBA::IRObject_ptr, this);
+ if (ACE_OS::strcmp (logical_type_id, "IDL:omg.org/CORBA/Object:1.0") == 0)
+ return ACE_static_cast(PortableServer::Servant, this);
+ return 0;
+}
+
+void POA_IR::EmitsDef::_dispatch (TAO_ServerRequest &req, void *context, CORBA::Environment &ACE_TRY_ENV)
+{
+ this->synchronous_upcall_dispatch(req, context, this, ACE_TRY_ENV);
+}
+
+const char* POA_IR::EmitsDef::_interface_repository_id (void) const
+{
+ return "IDL:omg.org/IR/EmitsDef:1.0";
+}
+
+IR::EmitsDef*
+POA_IR::EmitsDef::_this (CORBA_Environment &ACE_TRY_ENV)
+{
+ TAO_Stub *stub = this->_create_stub (ACE_TRY_ENV);
+ ACE_CHECK_RETURN (0);
+
+ CORBA::Object_ptr tmp = CORBA::Object::_nil ();
+
+ if (stub->servant_orb_var ()->orb_core ()->optimize_collocation_objects ())
+ ACE_NEW_RETURN (tmp, CORBA::Object (stub, 1, this), 0);
+ else
+ ACE_NEW_RETURN (tmp, CORBA::Object (stub, 0, this), 0);
+
+ CORBA::Object_var obj = tmp;
+ return ::IR::EmitsDef::_unchecked_narrow (obj.in ());
+}
+
+
+#if (TAO_HAS_INTERCEPTORS == 1)
+#endif /* TAO_HAS_INTERCEPTORS */
+class TAO_IR_PublishesDef_Perfect_Hash_OpTable : public TAO_Perfect_Hash_OpTable
+{
+private:
+ unsigned int hash (const char *str, unsigned int len);
+public:
+ const TAO_operation_db_entry * lookup (const char *str, unsigned int len);
+};
+/* starting time is 11:21:59 */
+/* C++ code produced by gperf version 2.8 (ACE version) */
+/* Command-line: gperf -m -M -J -c -C -D -E -T -f 0 -F 0 -a -o -t -p -K opname_ -L C++ -Z TAO_IR_PublishesDef_Perfect_Hash_OpTable -N lookup */
+unsigned int
+TAO_IR_PublishesDef_Perfect_Hash_OpTable::hash (const char *str, unsigned int len)
+{
+ static const unsigned char asso_values[] =
+ {
+#if defined (ACE_MVS)
+ 37, 37, 37, 37, 37, 37, 37, 37, 37, 37,
+ 37, 37, 37, 37, 37, 37, 37, 37, 37, 37,
+ 37, 37, 37, 37, 37, 37, 37, 37, 37, 37,
+ 37, 37, 37, 37, 37, 37, 37, 37, 37, 37,
+ 37, 37, 37, 37, 37, 37, 37, 37, 37, 37,
+ 37, 37, 37, 37, 37, 37, 37, 37, 37, 37,
+ 37, 37, 37, 37, 37, 37, 37, 37, 37, 37,
+ 37, 37, 37, 37, 37, 37, 37, 37, 37, 37,
+ 37, 37, 37, 37, 37, 37, 37, 37, 37, 37,
+ 37, 37, 37, 37, 37, 37, 37, 37, 37, 37,
+ 37, 37, 37, 37, 37, 37, 37, 37, 37, 0,
+ 37, 37, 37, 37, 37, 37, 37, 37, 37, 37,
+ 37, 37, 37, 37, 37, 37, 37, 37, 37, 0,
+ 37, 37, 0, 0, 37, 37, 37, 10, 37, 37,
+ 37, 37, 37, 37, 37, 37, 37, 37, 0, 0,
+ 37, 37, 37, 37, 37, 37, 37, 37, 37, 37,
+ 37, 37, 37, 10, 37, 37, 37, 37, 10, 37,
+ 37, 37, 37, 37, 37, 37, 37, 37, 37, 37,
+ 37, 37, 37, 37, 37, 37, 37, 37, 37, 37,
+ 37, 37, 37, 37, 37, 37, 37, 37, 37, 37,
+ 37, 37, 37, 37, 37, 37, 37, 37, 37, 37,
+ 37, 37, 37, 37, 37, 37, 37, 37, 37, 37,
+ 37, 37, 37, 37, 37, 37, 37, 37, 37, 37,
+ 37, 37, 37, 37, 37, 37, 37, 37, 37, 37,
+ 37, 37, 37, 37, 37, 37, 37, 37, 37, 37,
+ 37, 37, 37, 37, 37, 37,
+#else
+ 37, 37, 37, 37, 37, 37, 37, 37, 37, 37,
+ 37, 37, 37, 37, 37, 37, 37, 37, 37, 37,
+ 37, 37, 37, 37, 37, 37, 37, 37, 37, 37,
+ 37, 37, 37, 37, 37, 37, 37, 37, 37, 37,
+ 37, 37, 37, 37, 37, 37, 37, 37, 37, 37,
+ 37, 37, 37, 37, 37, 37, 37, 37, 37, 37,
+ 37, 37, 37, 37, 37, 37, 37, 37, 37, 37,
+ 37, 37, 37, 37, 37, 37, 37, 37, 37, 37,
+ 37, 37, 37, 37, 37, 37, 37, 37, 37, 37,
+ 37, 37, 37, 37, 37, 0, 37, 0, 37, 37,
+ 0, 0, 37, 37, 37, 10, 37, 37, 37, 0,
+ 0, 37, 37, 37, 37, 37, 10, 37, 37, 37,
+ 37, 10, 37, 37, 37, 37, 37, 37,
+#endif /* ACE_MVS */
+ };
+ return len + asso_values[str[len - 1]] + asso_values[str[0]];
+}
+
+const class TAO_operation_db_entry *
+TAO_IR_PublishesDef_Perfect_Hash_OpTable::lookup (const char *str, unsigned int len)
+{
+ enum
+ {
+ TOTAL_KEYWORDS = 17,
+ MIN_WORD_LENGTH = 4,
+ MAX_WORD_LENGTH = 26,
+ MIN_HASH_VALUE = 4,
+ MAX_HASH_VALUE = 36,
+ HASH_VALUE_RANGE = 33,
+ DUPLICATES = 4
+ };
+
+ static const class TAO_operation_db_entry wordlist[] =
+ {
+ {"",0},{"",0},{"",0},{"",0},
+ {"move", &POA_IR::PublishesDef::move_skel},
+ {"_is_a", &POA_IR::PublishesDef::_is_a_skel},
+ {"_get_id", &POA_IR::PublishesDef::_get_id_skel},
+ {"_set_id", &POA_IR::PublishesDef::_set_id_skel},
+ {"describe", &POA_IR::PublishesDef::describe_skel},
+ {"_get_name", &POA_IR::PublishesDef::_get_name_skel},
+ {"_set_name", &POA_IR::PublishesDef::_set_name_skel},
+ {"_get_version", &POA_IR::PublishesDef::_get_version_skel},
+ {"_set_version", &POA_IR::PublishesDef::_set_version_skel},
+ {"_get_def_kind", &POA_IR::PublishesDef::_get_def_kind_skel},
+ {"is_a", &POA_IR::PublishesDef::is_a_skel},
+ {"_get_defined_in", &POA_IR::PublishesDef::_get_defined_in_skel},
+ {"destroy", &POA_IR::PublishesDef::destroy_skel},
+ {"_get_absolute_name", &POA_IR::PublishesDef::_get_absolute_name_skel},
+ {"_get_event", &POA_IR::PublishesDef::_get_event_skel},
+ {"_non_existent", &POA_IR::PublishesDef::_non_existent_skel},
+ {"_get_containing_repository", &POA_IR::PublishesDef::_get_containing_repository_skel},
+ };
+
+ static const signed char lookup[] =
+ {
+ -6, -2, -9, -2, 4, 5, -1, -43, 8, -43, -11, -2, -38, 13,
+ 14, 15, -1, 16, 17, -1, 18, -1, -1, 19, -1, -1, -1, -1,
+ -1, -1, -1, -1, -1, -1, -1, -1, 20,
+ };
+
+ if (len <= MAX_WORD_LENGTH && len >= MIN_WORD_LENGTH)
+ {
+ unsigned int key = hash (str, len);
+
+ if (key <= MAX_HASH_VALUE && key >= MIN_HASH_VALUE)
+ {
+ int slot = lookup[key];
+
+ if (slot >= 0 && slot < MAX_HASH_VALUE)
+ {
+ const char *s = wordlist[slot].opname_;
+
+ if (*str == *s && !strncmp (str + 1, s + 1, len - 1))
+ return &wordlist[slot];
+ }
+ else if (slot < 0 && slot >= -MAX_HASH_VALUE)
+ return 0;
+ else
+ {
+ unsigned int offset = key + slot + (slot > 0 ? -MAX_HASH_VALUE : MAX_HASH_VALUE);
+ const class TAO_operation_db_entry *base = &wordlist[-lookup[offset]];
+ const class TAO_operation_db_entry *ptr = base + -lookup[offset + 1];
+
+ while (--ptr >= base)
+ if (*str == *ptr->opname_ && !strncmp (str + 1, ptr->opname_ + 1, len - 1))
+ return ptr;
+ }
+ }
+ }
+ return 0;
+}
+/* ending time is 11:21:59 */
+static TAO_IR_PublishesDef_Perfect_Hash_OpTable tao_IR_PublishesDef_optable;
+
+
+///////////////////////////////////////////////////////////////////////
+// Strategized Proxy Broker Implementation
+//
+
+// Factory function Implementation.
+POA_IR::_TAO_PublishesDef_Strategized_Proxy_Broker *POA_IR::_TAO_PublishesDef_Strategized_Proxy_Broker::the_TAO_PublishesDef_Strategized_Proxy_Broker (void)
+{
+ static POA_IR::_TAO_PublishesDef_Strategized_Proxy_Broker strategized_proxy_broker;
+ return &strategized_proxy_broker;
+}
+
+POA_IR::_TAO_PublishesDef_Strategized_Proxy_Broker::_TAO_PublishesDef_Strategized_Proxy_Broker (void)
+{
+ for (int i = 0; i < TAO_Collocation_Strategies::CS_LAST; ++i)
+ this->proxy_cache_[i] = 0;
+
+}
+
+POA_IR::_TAO_PublishesDef_Strategized_Proxy_Broker::~_TAO_PublishesDef_Strategized_Proxy_Broker (void)
+{
+ for (int i = 0; i < TAO_Collocation_Strategies::CS_LAST; ++i)
+ delete this->proxy_cache_[i];
+
+}
+
+IR::_TAO_PublishesDef_Proxy_Impl&
+POA_IR::_TAO_PublishesDef_Strategized_Proxy_Broker::select_proxy (
+ ::IR::PublishesDef *object,
+ CORBA::Environment &ACE_TRY_ENV
+ )
+{
+ int strategy =
+ TAO_ORB_Core::collocation_strategy (object);
+
+ if (this->proxy_cache_[strategy] != 0)
+ return *this->proxy_cache_[strategy];
+
+ this->create_proxy (strategy, ACE_TRY_ENV);
+ ACE_CHECK_RETURN (*this->proxy_cache_[strategy]);
+
+ return *this->proxy_cache_[strategy];
+
+}
+
+void
+POA_IR::_TAO_PublishesDef_Strategized_Proxy_Broker::create_proxy (
+ int strategy,
+ CORBA::Environment &ACE_TRY_ENV
+ )
+{
+ ACE_GUARD (TAO_SYNCH_MUTEX, guard, this->mutex_);
+
+ if (this->proxy_cache_[strategy] == 0)
+ {
+ switch (strategy)
+ {
+ case TAO_Collocation_Strategies::CS_THRU_POA_STRATEGY:
+ ACE_NEW_THROW_EX (
+ this->proxy_cache_[strategy],
+ POA_IR::_TAO_PublishesDef_ThruPOA_Proxy_Impl,
+ CORBA::NO_MEMORY ()
+ );
+ ACE_CHECK;
+ break;
+
+ case TAO_Collocation_Strategies::CS_REMOTE_STRATEGY:
+ default:
+ ACE_NEW_THROW_EX (
+ this->proxy_cache_[strategy],
+ ::IR::_TAO_PublishesDef_Remote_Proxy_Impl,
+ CORBA::NO_MEMORY ()
+ );
+ ACE_CHECK;
+ break;
+
+ }
+
+ }
+}
+
+
+//
+// End Strategized Proxy Broker Implementation
+///////////////////////////////////////////////////////////////////////
+
+
+IR::_TAO_PublishesDef_Proxy_Broker *
+IR__TAO_PublishesDef_Proxy_Broker_Factory_function (CORBA::Object_ptr obj)
+{
+ ACE_UNUSED_ARG (obj);
+ return ::POA_IR::_TAO_PublishesDef_Strategized_Proxy_Broker::the_TAO_PublishesDef_Strategized_Proxy_Broker();
+}
+
+int
+IR__TAO_PublishesDef_Proxy_Broker_Factory_Initializer (long _dummy_)
+{
+ ACE_UNUSED_ARG (_dummy_);
+
+ IR__TAO_PublishesDef_Proxy_Broker_Factory_function_pointer =
+ IR__TAO_PublishesDef_Proxy_Broker_Factory_function;
+
+ return 0;
+}
+
+static int IR__TAO_PublishesDef_Proxy_Broker_Stub_Factory_Initializer_Scarecrow =
+ IR__TAO_PublishesDef_Proxy_Broker_Factory_Initializer (ACE_reinterpret_cast (long, IR__TAO_PublishesDef_Proxy_Broker_Factory_Initializer));
+
+
+///////////////////////////////////////////////////////////////////////
+// ThruPOA Proxy Implementation
+//
+
+POA_IR::_TAO_PublishesDef_ThruPOA_Proxy_Impl::_TAO_PublishesDef_ThruPOA_Proxy_Impl (void)
+{}
+
+// ThruPOA Implementation of the IDL interface methods
+
+//
+// End ThruPOA Proxy Implementation
+///////////////////////////////////////////////////////////////////////
+
+// skeleton constructor
+POA_IR::PublishesDef::PublishesDef (void)
+{
+ this->optable_ = &tao_IR_PublishesDef_optable;
+}
+
+// copy ctor
+POA_IR::PublishesDef::PublishesDef (const PublishesDef& rhs)
+ : ACE_NESTED_CLASS (POA_IR,EventDef) (rhs),
+ ACE_NESTED_CLASS (POA_CORBA,Contained) (rhs),
+ ACE_NESTED_CLASS (POA_CORBA,IRObject) (rhs),
+ TAO_ServantBase (rhs)
+{}
+
+// skeleton destructor
+POA_IR::PublishesDef::~PublishesDef (void)
+{
+}
+
+void POA_IR::PublishesDef::_is_a_skel (
+ TAO_ServerRequest &_tao_server_request,
+ void * _tao_object_reference,
+ void * /* context */,
+ CORBA::Environment &ACE_TRY_ENV
+ )
+{
+ TAO_InputCDR &_tao_in = _tao_server_request.incoming ();
+ POA_IR::PublishesDef *_tao_impl = (POA_IR::PublishesDef *) _tao_object_reference;
+ CORBA::Boolean _tao_retval = 0;
+ CORBA::String_var value;
+ if (!(_tao_in >> value.out ()))
+ ACE_THROW (CORBA::MARSHAL ());
+
+ _tao_retval = _tao_impl->_is_a (value.in (), ACE_TRY_ENV);
+ ACE_CHECK;
+
+ _tao_server_request.init_reply ();
+ TAO_OutputCDR &_tao_out = _tao_server_request.outgoing ();
+ if (!(_tao_out << CORBA::Any::from_boolean (_tao_retval)))
+ ACE_THROW (CORBA::MARSHAL ());
+}
+
+void POA_IR::PublishesDef::_non_existent_skel (
+ TAO_ServerRequest &_tao_server_request,
+ void * _tao_object_reference,
+ void * /* context */,
+ CORBA::Environment &ACE_TRY_ENV
+ )
+{
+ POA_IR::PublishesDef *_tao_impl = (POA_IR::PublishesDef *) _tao_object_reference;
+ CORBA::Boolean _tao_retval = _tao_impl->_non_existent (ACE_TRY_ENV);
+ ACE_CHECK;
+
+ _tao_server_request.init_reply ();
+ TAO_OutputCDR &_tao_out = _tao_server_request.outgoing ();
+ if (!(_tao_out << CORBA::Any::from_boolean (_tao_retval)))
+ ACE_THROW (CORBA::MARSHAL ());
+}
+
+CORBA::Boolean POA_IR::PublishesDef::_is_a (
+ const char* value,
+ CORBA::Environment &ACE_TRY_ENV
+ )
+{
+ const char *base_id = CORBA::_tc_Object->id (ACE_TRY_ENV);
+ ACE_CHECK_RETURN (0);
+
+ if (
+ (!ACE_OS::strcmp ((char *)value, "IDL:omg.org/IR/PublishesDef:1.0")) ||
+ (!ACE_OS::strcmp ((char *)value, "IDL:omg.org/IR/EventDef:1.0")) ||
+ (!ACE_OS::strcmp ((char *)value, "IDL:omg.org/CORBA/Contained:1.0")) ||
+ (!ACE_OS::strcmp ((char *)value, "IDL:omg.org/CORBA/IRObject:1.0")) ||
+ (!ACE_OS::strcmp ((char *)value, base_id)))
+ return 1;
+ else
+ return 0;
+}
+
+void* POA_IR::PublishesDef::_downcast (
+ const char* logical_type_id
+ )
+{
+ if (ACE_OS::strcmp (logical_type_id, "IDL:omg.org/IR/PublishesDef:1.0") == 0)
+ return ACE_static_cast (POA_IR::PublishesDef_ptr, this);
+ if (ACE_OS::strcmp (logical_type_id, "IDL:omg.org/IR/EventDef:1.0") == 0)
+ return ACE_static_cast (POA_IR::EventDef_ptr, this);
+ if (ACE_OS::strcmp (logical_type_id, "IDL:omg.org/CORBA/Contained:1.0") == 0)
+ return ACE_static_cast (POA_CORBA::Contained_ptr, this);
+ if (ACE_OS::strcmp (logical_type_id, "IDL:omg.org/CORBA/IRObject:1.0") == 0)
+ return ACE_static_cast (POA_CORBA::IRObject_ptr, this);
+ if (ACE_OS::strcmp (logical_type_id, "IDL:omg.org/CORBA/Object:1.0") == 0)
+ return ACE_static_cast(PortableServer::Servant, this);
+ return 0;
+}
+
+void POA_IR::PublishesDef::_dispatch (TAO_ServerRequest &req, void *context, CORBA::Environment &ACE_TRY_ENV)
+{
+ this->synchronous_upcall_dispatch(req, context, this, ACE_TRY_ENV);
+}
+
+const char* POA_IR::PublishesDef::_interface_repository_id (void) const
+{
+ return "IDL:omg.org/IR/PublishesDef:1.0";
+}
+
+IR::PublishesDef*
+POA_IR::PublishesDef::_this (CORBA_Environment &ACE_TRY_ENV)
+{
+ TAO_Stub *stub = this->_create_stub (ACE_TRY_ENV);
+ ACE_CHECK_RETURN (0);
+
+ CORBA::Object_ptr tmp = CORBA::Object::_nil ();
+
+ if (stub->servant_orb_var ()->orb_core ()->optimize_collocation_objects ())
+ ACE_NEW_RETURN (tmp, CORBA::Object (stub, 1, this), 0);
+ else
+ ACE_NEW_RETURN (tmp, CORBA::Object (stub, 0, this), 0);
+
+ CORBA::Object_var obj = tmp;
+ return ::IR::PublishesDef::_unchecked_narrow (obj.in ());
+}
+
+
+#if (TAO_HAS_INTERCEPTORS == 1)
+#endif /* TAO_HAS_INTERCEPTORS */
+class TAO_IR_ConsumesDef_Perfect_Hash_OpTable : public TAO_Perfect_Hash_OpTable
+{
+private:
+ unsigned int hash (const char *str, unsigned int len);
+public:
+ const TAO_operation_db_entry * lookup (const char *str, unsigned int len);
+};
+/* starting time is 11:21:59 */
+/* C++ code produced by gperf version 2.8 (ACE version) */
+/* Command-line: gperf -m -M -J -c -C -D -E -T -f 0 -F 0 -a -o -t -p -K opname_ -L C++ -Z TAO_IR_ConsumesDef_Perfect_Hash_OpTable -N lookup */
+unsigned int
+TAO_IR_ConsumesDef_Perfect_Hash_OpTable::hash (const char *str, unsigned int len)
+{
+ static const unsigned char asso_values[] =
+ {
+#if defined (ACE_MVS)
+ 37, 37, 37, 37, 37, 37, 37, 37, 37, 37,
+ 37, 37, 37, 37, 37, 37, 37, 37, 37, 37,
+ 37, 37, 37, 37, 37, 37, 37, 37, 37, 37,
+ 37, 37, 37, 37, 37, 37, 37, 37, 37, 37,
+ 37, 37, 37, 37, 37, 37, 37, 37, 37, 37,
+ 37, 37, 37, 37, 37, 37, 37, 37, 37, 37,
+ 37, 37, 37, 37, 37, 37, 37, 37, 37, 37,
+ 37, 37, 37, 37, 37, 37, 37, 37, 37, 37,
+ 37, 37, 37, 37, 37, 37, 37, 37, 37, 37,
+ 37, 37, 37, 37, 37, 37, 37, 37, 37, 37,
+ 37, 37, 37, 37, 37, 37, 37, 37, 37, 0,
+ 37, 37, 37, 37, 37, 37, 37, 37, 37, 37,
+ 37, 37, 37, 37, 37, 37, 37, 37, 37, 0,
+ 37, 37, 0, 0, 37, 37, 37, 10, 37, 37,
+ 37, 37, 37, 37, 37, 37, 37, 37, 0, 0,
+ 37, 37, 37, 37, 37, 37, 37, 37, 37, 37,
+ 37, 37, 37, 10, 37, 37, 37, 37, 10, 37,
+ 37, 37, 37, 37, 37, 37, 37, 37, 37, 37,
+ 37, 37, 37, 37, 37, 37, 37, 37, 37, 37,
+ 37, 37, 37, 37, 37, 37, 37, 37, 37, 37,
+ 37, 37, 37, 37, 37, 37, 37, 37, 37, 37,
+ 37, 37, 37, 37, 37, 37, 37, 37, 37, 37,
+ 37, 37, 37, 37, 37, 37, 37, 37, 37, 37,
+ 37, 37, 37, 37, 37, 37, 37, 37, 37, 37,
+ 37, 37, 37, 37, 37, 37, 37, 37, 37, 37,
+ 37, 37, 37, 37, 37, 37,
+#else
+ 37, 37, 37, 37, 37, 37, 37, 37, 37, 37,
+ 37, 37, 37, 37, 37, 37, 37, 37, 37, 37,
+ 37, 37, 37, 37, 37, 37, 37, 37, 37, 37,
+ 37, 37, 37, 37, 37, 37, 37, 37, 37, 37,
+ 37, 37, 37, 37, 37, 37, 37, 37, 37, 37,
+ 37, 37, 37, 37, 37, 37, 37, 37, 37, 37,
+ 37, 37, 37, 37, 37, 37, 37, 37, 37, 37,
+ 37, 37, 37, 37, 37, 37, 37, 37, 37, 37,
+ 37, 37, 37, 37, 37, 37, 37, 37, 37, 37,
+ 37, 37, 37, 37, 37, 0, 37, 0, 37, 37,
+ 0, 0, 37, 37, 37, 10, 37, 37, 37, 0,
+ 0, 37, 37, 37, 37, 37, 10, 37, 37, 37,
+ 37, 10, 37, 37, 37, 37, 37, 37,
+#endif /* ACE_MVS */
+ };
+ return len + asso_values[str[len - 1]] + asso_values[str[0]];
+}
+
+const class TAO_operation_db_entry *
+TAO_IR_ConsumesDef_Perfect_Hash_OpTable::lookup (const char *str, unsigned int len)
+{
+ enum
+ {
+ TOTAL_KEYWORDS = 17,
+ MIN_WORD_LENGTH = 4,
+ MAX_WORD_LENGTH = 26,
+ MIN_HASH_VALUE = 4,
+ MAX_HASH_VALUE = 36,
+ HASH_VALUE_RANGE = 33,
+ DUPLICATES = 4
+ };
+
+ static const class TAO_operation_db_entry wordlist[] =
+ {
+ {"",0},{"",0},{"",0},{"",0},
+ {"move", &POA_IR::ConsumesDef::move_skel},
+ {"_is_a", &POA_IR::ConsumesDef::_is_a_skel},
+ {"_get_id", &POA_IR::ConsumesDef::_get_id_skel},
+ {"_set_id", &POA_IR::ConsumesDef::_set_id_skel},
+ {"describe", &POA_IR::ConsumesDef::describe_skel},
+ {"_get_name", &POA_IR::ConsumesDef::_get_name_skel},
+ {"_set_name", &POA_IR::ConsumesDef::_set_name_skel},
+ {"_get_version", &POA_IR::ConsumesDef::_get_version_skel},
+ {"_set_version", &POA_IR::ConsumesDef::_set_version_skel},
+ {"_get_def_kind", &POA_IR::ConsumesDef::_get_def_kind_skel},
+ {"is_a", &POA_IR::ConsumesDef::is_a_skel},
+ {"_get_defined_in", &POA_IR::ConsumesDef::_get_defined_in_skel},
+ {"destroy", &POA_IR::ConsumesDef::destroy_skel},
+ {"_get_absolute_name", &POA_IR::ConsumesDef::_get_absolute_name_skel},
+ {"_get_event", &POA_IR::ConsumesDef::_get_event_skel},
+ {"_non_existent", &POA_IR::ConsumesDef::_non_existent_skel},
+ {"_get_containing_repository", &POA_IR::ConsumesDef::_get_containing_repository_skel},
+ };
+
+ static const signed char lookup[] =
+ {
+ -6, -2, -9, -2, 4, 5, -1, -43, 8, -43, -11, -2, -38, 13,
+ 14, 15, -1, 16, 17, -1, 18, -1, -1, 19, -1, -1, -1, -1,
+ -1, -1, -1, -1, -1, -1, -1, -1, 20,
+ };
+
+ if (len <= MAX_WORD_LENGTH && len >= MIN_WORD_LENGTH)
+ {
+ unsigned int key = hash (str, len);
+
+ if (key <= MAX_HASH_VALUE && key >= MIN_HASH_VALUE)
+ {
+ int slot = lookup[key];
+
+ if (slot >= 0 && slot < MAX_HASH_VALUE)
+ {
+ const char *s = wordlist[slot].opname_;
+
+ if (*str == *s && !strncmp (str + 1, s + 1, len - 1))
+ return &wordlist[slot];
+ }
+ else if (slot < 0 && slot >= -MAX_HASH_VALUE)
+ return 0;
+ else
+ {
+ unsigned int offset = key + slot + (slot > 0 ? -MAX_HASH_VALUE : MAX_HASH_VALUE);
+ const class TAO_operation_db_entry *base = &wordlist[-lookup[offset]];
+ const class TAO_operation_db_entry *ptr = base + -lookup[offset + 1];
+
+ while (--ptr >= base)
+ if (*str == *ptr->opname_ && !strncmp (str + 1, ptr->opname_ + 1, len - 1))
+ return ptr;
+ }
+ }
+ }
+ return 0;
+}
+/* ending time is 11:21:59 */
+static TAO_IR_ConsumesDef_Perfect_Hash_OpTable tao_IR_ConsumesDef_optable;
+
+
+///////////////////////////////////////////////////////////////////////
+// Strategized Proxy Broker Implementation
+//
+
+// Factory function Implementation.
+POA_IR::_TAO_ConsumesDef_Strategized_Proxy_Broker *POA_IR::_TAO_ConsumesDef_Strategized_Proxy_Broker::the_TAO_ConsumesDef_Strategized_Proxy_Broker (void)
+{
+ static POA_IR::_TAO_ConsumesDef_Strategized_Proxy_Broker strategized_proxy_broker;
+ return &strategized_proxy_broker;
+}
+
+POA_IR::_TAO_ConsumesDef_Strategized_Proxy_Broker::_TAO_ConsumesDef_Strategized_Proxy_Broker (void)
+{
+ for (int i = 0; i < TAO_Collocation_Strategies::CS_LAST; ++i)
+ this->proxy_cache_[i] = 0;
+
+}
+
+POA_IR::_TAO_ConsumesDef_Strategized_Proxy_Broker::~_TAO_ConsumesDef_Strategized_Proxy_Broker (void)
+{
+ for (int i = 0; i < TAO_Collocation_Strategies::CS_LAST; ++i)
+ delete this->proxy_cache_[i];
+
+}
+
+IR::_TAO_ConsumesDef_Proxy_Impl&
+POA_IR::_TAO_ConsumesDef_Strategized_Proxy_Broker::select_proxy (
+ ::IR::ConsumesDef *object,
+ CORBA::Environment &ACE_TRY_ENV
+ )
+{
+ int strategy =
+ TAO_ORB_Core::collocation_strategy (object);
+
+ if (this->proxy_cache_[strategy] != 0)
+ return *this->proxy_cache_[strategy];
+
+ this->create_proxy (strategy, ACE_TRY_ENV);
+ ACE_CHECK_RETURN (*this->proxy_cache_[strategy]);
+
+ return *this->proxy_cache_[strategy];
+
+}
+
+void
+POA_IR::_TAO_ConsumesDef_Strategized_Proxy_Broker::create_proxy (
+ int strategy,
+ CORBA::Environment &ACE_TRY_ENV
+ )
+{
+ ACE_GUARD (TAO_SYNCH_MUTEX, guard, this->mutex_);
+
+ if (this->proxy_cache_[strategy] == 0)
+ {
+ switch (strategy)
+ {
+ case TAO_Collocation_Strategies::CS_THRU_POA_STRATEGY:
+ ACE_NEW_THROW_EX (
+ this->proxy_cache_[strategy],
+ POA_IR::_TAO_ConsumesDef_ThruPOA_Proxy_Impl,
+ CORBA::NO_MEMORY ()
+ );
+ ACE_CHECK;
+ break;
+
+ case TAO_Collocation_Strategies::CS_REMOTE_STRATEGY:
+ default:
+ ACE_NEW_THROW_EX (
+ this->proxy_cache_[strategy],
+ ::IR::_TAO_ConsumesDef_Remote_Proxy_Impl,
+ CORBA::NO_MEMORY ()
+ );
+ ACE_CHECK;
+ break;
+
+ }
+
+ }
+}
+
+
+//
+// End Strategized Proxy Broker Implementation
+///////////////////////////////////////////////////////////////////////
+
+
+IR::_TAO_ConsumesDef_Proxy_Broker *
+IR__TAO_ConsumesDef_Proxy_Broker_Factory_function (CORBA::Object_ptr obj)
+{
+ ACE_UNUSED_ARG (obj);
+ return ::POA_IR::_TAO_ConsumesDef_Strategized_Proxy_Broker::the_TAO_ConsumesDef_Strategized_Proxy_Broker();
+}
+
+int
+IR__TAO_ConsumesDef_Proxy_Broker_Factory_Initializer (long _dummy_)
+{
+ ACE_UNUSED_ARG (_dummy_);
+
+ IR__TAO_ConsumesDef_Proxy_Broker_Factory_function_pointer =
+ IR__TAO_ConsumesDef_Proxy_Broker_Factory_function;
+
+ return 0;
+}
+
+static int IR__TAO_ConsumesDef_Proxy_Broker_Stub_Factory_Initializer_Scarecrow =
+ IR__TAO_ConsumesDef_Proxy_Broker_Factory_Initializer (ACE_reinterpret_cast (long, IR__TAO_ConsumesDef_Proxy_Broker_Factory_Initializer));
+
+
+///////////////////////////////////////////////////////////////////////
+// ThruPOA Proxy Implementation
+//
+
+POA_IR::_TAO_ConsumesDef_ThruPOA_Proxy_Impl::_TAO_ConsumesDef_ThruPOA_Proxy_Impl (void)
+{}
+
+// ThruPOA Implementation of the IDL interface methods
+
+//
+// End ThruPOA Proxy Implementation
+///////////////////////////////////////////////////////////////////////
+
+// skeleton constructor
+POA_IR::ConsumesDef::ConsumesDef (void)
+{
+ this->optable_ = &tao_IR_ConsumesDef_optable;
+}
+
+// copy ctor
+POA_IR::ConsumesDef::ConsumesDef (const ConsumesDef& rhs)
+ : ACE_NESTED_CLASS (POA_IR,EventDef) (rhs),
+ ACE_NESTED_CLASS (POA_CORBA,Contained) (rhs),
+ ACE_NESTED_CLASS (POA_CORBA,IRObject) (rhs),
+ TAO_ServantBase (rhs)
+{}
+
+// skeleton destructor
+POA_IR::ConsumesDef::~ConsumesDef (void)
+{
+}
+
+void POA_IR::ConsumesDef::_is_a_skel (
+ TAO_ServerRequest &_tao_server_request,
+ void * _tao_object_reference,
+ void * /* context */,
+ CORBA::Environment &ACE_TRY_ENV
+ )
+{
+ TAO_InputCDR &_tao_in = _tao_server_request.incoming ();
+ POA_IR::ConsumesDef *_tao_impl = (POA_IR::ConsumesDef *) _tao_object_reference;
+ CORBA::Boolean _tao_retval = 0;
+ CORBA::String_var value;
+ if (!(_tao_in >> value.out ()))
+ ACE_THROW (CORBA::MARSHAL ());
+
+ _tao_retval = _tao_impl->_is_a (value.in (), ACE_TRY_ENV);
+ ACE_CHECK;
+
+ _tao_server_request.init_reply ();
+ TAO_OutputCDR &_tao_out = _tao_server_request.outgoing ();
+ if (!(_tao_out << CORBA::Any::from_boolean (_tao_retval)))
+ ACE_THROW (CORBA::MARSHAL ());
+}
+
+void POA_IR::ConsumesDef::_non_existent_skel (
+ TAO_ServerRequest &_tao_server_request,
+ void * _tao_object_reference,
+ void * /* context */,
+ CORBA::Environment &ACE_TRY_ENV
+ )
+{
+ POA_IR::ConsumesDef *_tao_impl = (POA_IR::ConsumesDef *) _tao_object_reference;
+ CORBA::Boolean _tao_retval = _tao_impl->_non_existent (ACE_TRY_ENV);
+ ACE_CHECK;
+
+ _tao_server_request.init_reply ();
+ TAO_OutputCDR &_tao_out = _tao_server_request.outgoing ();
+ if (!(_tao_out << CORBA::Any::from_boolean (_tao_retval)))
+ ACE_THROW (CORBA::MARSHAL ());
+}
+
+CORBA::Boolean POA_IR::ConsumesDef::_is_a (
+ const char* value,
+ CORBA::Environment &ACE_TRY_ENV
+ )
+{
+ const char *base_id = CORBA::_tc_Object->id (ACE_TRY_ENV);
+ ACE_CHECK_RETURN (0);
+
+ if (
+ (!ACE_OS::strcmp ((char *)value, "IDL:omg.org/IR/ConsumesDef:1.0")) ||
+ (!ACE_OS::strcmp ((char *)value, "IDL:omg.org/IR/EventDef:1.0")) ||
+ (!ACE_OS::strcmp ((char *)value, "IDL:omg.org/CORBA/Contained:1.0")) ||
+ (!ACE_OS::strcmp ((char *)value, "IDL:omg.org/CORBA/IRObject:1.0")) ||
+ (!ACE_OS::strcmp ((char *)value, base_id)))
+ return 1;
+ else
+ return 0;
+}
+
+void* POA_IR::ConsumesDef::_downcast (
+ const char* logical_type_id
+ )
+{
+ if (ACE_OS::strcmp (logical_type_id, "IDL:omg.org/IR/ConsumesDef:1.0") == 0)
+ return ACE_static_cast (POA_IR::ConsumesDef_ptr, this);
+ if (ACE_OS::strcmp (logical_type_id, "IDL:omg.org/IR/EventDef:1.0") == 0)
+ return ACE_static_cast (POA_IR::EventDef_ptr, this);
+ if (ACE_OS::strcmp (logical_type_id, "IDL:omg.org/CORBA/Contained:1.0") == 0)
+ return ACE_static_cast (POA_CORBA::Contained_ptr, this);
+ if (ACE_OS::strcmp (logical_type_id, "IDL:omg.org/CORBA/IRObject:1.0") == 0)
+ return ACE_static_cast (POA_CORBA::IRObject_ptr, this);
+ if (ACE_OS::strcmp (logical_type_id, "IDL:omg.org/CORBA/Object:1.0") == 0)
+ return ACE_static_cast(PortableServer::Servant, this);
+ return 0;
+}
+
+void POA_IR::ConsumesDef::_dispatch (TAO_ServerRequest &req, void *context, CORBA::Environment &ACE_TRY_ENV)
+{
+ this->synchronous_upcall_dispatch(req, context, this, ACE_TRY_ENV);
+}
+
+const char* POA_IR::ConsumesDef::_interface_repository_id (void) const
+{
+ return "IDL:omg.org/IR/ConsumesDef:1.0";
+}
+
+IR::ConsumesDef*
+POA_IR::ConsumesDef::_this (CORBA_Environment &ACE_TRY_ENV)
+{
+ TAO_Stub *stub = this->_create_stub (ACE_TRY_ENV);
+ ACE_CHECK_RETURN (0);
+
+ CORBA::Object_ptr tmp = CORBA::Object::_nil ();
+
+ if (stub->servant_orb_var ()->orb_core ()->optimize_collocation_objects ())
+ ACE_NEW_RETURN (tmp, CORBA::Object (stub, 1, this), 0);
+ else
+ ACE_NEW_RETURN (tmp, CORBA::Object (stub, 0, this), 0);
+
+ CORBA::Object_var obj = tmp;
+ return ::IR::ConsumesDef::_unchecked_narrow (obj.in ());
+}
+
+
+#if (TAO_HAS_INTERCEPTORS == 1)
+#endif /* TAO_HAS_INTERCEPTORS */
+class TAO_IR_ComponentDef_Perfect_Hash_OpTable : public TAO_Perfect_Hash_OpTable
+{
+private:
+ unsigned int hash (const char *str, unsigned int len);
+public:
+ const TAO_operation_db_entry * lookup (const char *str, unsigned int len);
+};
+/* starting time is 11:22:00 */
+/* C++ code produced by gperf version 2.8 (ACE version) */
+/* Command-line: gperf -m -M -J -c -C -D -E -T -f 0 -F 0 -a -o -t -p -K opname_ -L C++ -Z TAO_IR_ComponentDef_Perfect_Hash_OpTable -N lookup */
+unsigned int
+TAO_IR_ComponentDef_Perfect_Hash_OpTable::hash (const char *str, unsigned int len)
+{
+ static const unsigned char asso_values[] =
+ {
+#if defined (ACE_MVS)
+ 92, 92, 92, 92, 92, 92, 92, 92, 92, 92,
+ 92, 92, 92, 92, 92, 92, 92, 92, 92, 92,
+ 92, 92, 92, 92, 92, 92, 92, 92, 92, 92,
+ 92, 92, 92, 92, 92, 92, 92, 92, 92, 92,
+ 92, 92, 92, 92, 92, 92, 92, 92, 92, 92,
+ 92, 92, 92, 92, 92, 92, 92, 92, 92, 92,
+ 92, 92, 92, 92, 92, 92, 92, 92, 92, 92,
+ 92, 92, 92, 92, 92, 92, 92, 92, 92, 92,
+ 92, 92, 92, 92, 92, 92, 92, 92, 92, 92,
+ 92, 92, 92, 92, 92, 92, 92, 92, 92, 92,
+ 92, 92, 92, 92, 92, 92, 92, 92, 92, 0,
+ 92, 92, 92, 92, 92, 92, 92, 92, 92, 92,
+ 92, 92, 92, 92, 92, 92, 92, 92, 92, 0,
+ 92, 45, 20, 10, 92, 92, 92, 0, 92, 92,
+ 92, 92, 92, 92, 92, 92, 92, 5, 20, 30,
+ 92, 0, 92, 92, 92, 92, 92, 92, 92, 92,
+ 92, 92, 0, 30, 92, 92, 92, 5, 5, 92,
+ 92, 92, 92, 92, 92, 92, 92, 92, 92, 92,
+ 92, 92, 92, 92, 92, 92, 92, 92, 92, 92,
+ 92, 92, 92, 92, 92, 92, 92, 92, 92, 92,
+ 92, 92, 92, 92, 92, 92, 92, 92, 92, 92,
+ 92, 92, 92, 92, 92, 92, 92, 92, 92, 92,
+ 92, 92, 92, 92, 92, 92, 92, 92, 92, 92,
+ 92, 92, 92, 92, 92, 92, 92, 92, 92, 92,
+ 92, 92, 92, 92, 92, 92, 92, 92, 92, 92,
+ 92, 92, 92, 92, 92, 92,
+#else
+ 92, 92, 92, 92, 92, 92, 92, 92, 92, 92,
+ 92, 92, 92, 92, 92, 92, 92, 92, 92, 92,
+ 92, 92, 92, 92, 92, 92, 92, 92, 92, 92,
+ 92, 92, 92, 92, 92, 92, 92, 92, 92, 92,
+ 92, 92, 92, 92, 92, 92, 92, 92, 92, 92,
+ 92, 92, 92, 92, 92, 92, 92, 92, 92, 92,
+ 92, 92, 92, 92, 92, 92, 92, 92, 92, 92,
+ 92, 92, 92, 92, 92, 92, 92, 92, 92, 92,
+ 92, 92, 92, 92, 92, 92, 92, 92, 92, 92,
+ 92, 92, 92, 92, 92, 0, 92, 0, 92, 45,
+ 20, 10, 92, 92, 92, 0, 92, 92, 5, 20,
+ 30, 92, 0, 92, 92, 0, 30, 92, 92, 92,
+ 5, 5, 92, 92, 92, 92, 92, 92,
+#endif /* ACE_MVS */
+ };
+ return len + asso_values[str[len - 1]] + asso_values[str[0]];
+}
+
+const class TAO_operation_db_entry *
+TAO_IR_ComponentDef_Perfect_Hash_OpTable::lookup (const char *str, unsigned int len)
+{
+ enum
+ {
+ TOTAL_KEYWORDS = 53,
+ MIN_WORD_LENGTH = 4,
+ MAX_WORD_LENGTH = 26,
+ MIN_HASH_VALUE = 4,
+ MAX_HASH_VALUE = 91,
+ HASH_VALUE_RANGE = 88,
+ DUPLICATES = 14
+ };
+
+ static const class TAO_operation_db_entry wordlist[] =
+ {
+ {"",0},{"",0},{"",0},{"",0},
+ {"is_a", &POA_IR::ComponentDef::is_a_skel},
+ {"_is_a", &POA_IR::ComponentDef::_is_a_skel},
+ {"lookup", &POA_IR::ComponentDef::lookup_skel},
+ {"_get_emits_events", &POA_IR::ComponentDef::_get_emits_events_skel},
+ {"_get_name", &POA_IR::ComponentDef::_get_name_skel},
+ {"_get_type", &POA_IR::ComponentDef::_get_type_skel},
+ {"_set_name", &POA_IR::ComponentDef::_set_name_skel},
+ {"_get_uses_interfaces", &POA_IR::ComponentDef::_get_uses_interfaces_skel},
+ {"_set_base_interfaces", &POA_IR::ComponentDef::_set_base_interfaces_skel},
+ {"_get_base_interfaces", &POA_IR::ComponentDef::_get_base_interfaces_skel},
+ {"_get_consumes_events", &POA_IR::ComponentDef::_get_consumes_events_skel},
+ {"_get_publishes_events", &POA_IR::ComponentDef::_get_publishes_events_skel},
+ {"_get_provides_interfaces", &POA_IR::ComponentDef::_get_provides_interfaces_skel},
+ {"_get_supported_interfaces", &POA_IR::ComponentDef::_get_supported_interfaces_skel},
+ {"_set_supported_interfaces", &POA_IR::ComponentDef::_set_supported_interfaces_skel},
+ {"lookup_name", &POA_IR::ComponentDef::lookup_name_skel},
+ {"_get_id", &POA_IR::ComponentDef::_get_id_skel},
+ {"_set_id", &POA_IR::ComponentDef::_set_id_skel},
+ {"_get_absolute_name", &POA_IR::ComponentDef::_get_absolute_name_skel},
+ {"_get_containing_repository", &POA_IR::ComponentDef::_get_containing_repository_skel},
+ {"destroy", &POA_IR::ComponentDef::destroy_skel},
+ {"_get_def_kind", &POA_IR::ComponentDef::_get_def_kind_skel},
+ {"move", &POA_IR::ComponentDef::move_skel},
+ {"describe_contents", &POA_IR::ComponentDef::describe_contents_skel},
+ {"describe", &POA_IR::ComponentDef::describe_skel},
+ {"_get_version", &POA_IR::ComponentDef::_get_version_skel},
+ {"_set_version", &POA_IR::ComponentDef::_set_version_skel},
+ {"_non_existent", &POA_IR::ComponentDef::_non_existent_skel},
+ {"_get_defined_in", &POA_IR::ComponentDef::_get_defined_in_skel},
+ {"describe_interface", &POA_IR::ComponentDef::describe_interface_skel},
+ {"_get_base_component", &POA_IR::ComponentDef::_get_base_component_skel},
+ {"contents", &POA_IR::ComponentDef::contents_skel},
+ {"create_uses", &POA_IR::ComponentDef::create_uses_skel},
+ {"create_emits", &POA_IR::ComponentDef::create_emits_skel},
+ {"create_alias", &POA_IR::ComponentDef::create_alias_skel},
+ {"_get_is_basic", &POA_IR::ComponentDef::_get_is_basic_skel},
+ {"create_provides", &POA_IR::ComponentDef::create_provides_skel},
+ {"create_consumes", &POA_IR::ComponentDef::create_consumes_skel},
+ {"create_publishes", &POA_IR::ComponentDef::create_publishes_skel},
+ {"create_value_box", &POA_IR::ComponentDef::create_value_box_skel},
+ {"create_value", &POA_IR::ComponentDef::create_value_skel},
+ {"create_module", &POA_IR::ComponentDef::create_module_skel},
+ {"create_native", &POA_IR::ComponentDef::create_native_skel},
+ {"create_attribute", &POA_IR::ComponentDef::create_attribute_skel},
+ {"create_interface", &POA_IR::ComponentDef::create_interface_skel},
+ {"create_enum", &POA_IR::ComponentDef::create_enum_skel},
+ {"create_local_interface", &POA_IR::ComponentDef::create_local_interface_skel},
+ {"create_abstract_interface", &POA_IR::ComponentDef::create_abstract_interface_skel},
+ {"create_union", &POA_IR::ComponentDef::create_union_skel},
+ {"create_struct", &POA_IR::ComponentDef::create_struct_skel},
+ {"create_constant", &POA_IR::ComponentDef::create_constant_skel},
+ {"create_operation", &POA_IR::ComponentDef::create_operation_skel},
+ {"create_exception", &POA_IR::ComponentDef::create_exception_skel},
+ };
+
+ static const signed char lookup[] =
+ {
+ -1, -1, -1, -1, 4, 5, -1, -1, -1, -8, -3, 6, -1, -11,
+ -4, -17, -2, 7, -1, -101, -98, 15, -20, -2, 16, -101, 19, -96,
+ 22, -1, -1, 23, 24, 25, 26, -1, -1, 27, 28, -1, -29, -2,
+ -93, 31, -1, 32, -1, -1, 33, 34, -1, -37, -2, 35, -40, -2,
+ 36, -97, 39, -1, -97, 42, -1, -1, -45, -2, 43, 44, -95, -47,
+ -2, -93, -1, -1, -1, -1, 49, 50, -1, -1, 51, -1, -1, -1,
+ -1, -55, -2, 52, 53, -1, 54, -97,
+ };
+
+ if (len <= MAX_WORD_LENGTH && len >= MIN_WORD_LENGTH)
+ {
+ unsigned int key = hash (str, len);
+
+ if (key <= MAX_HASH_VALUE && key >= MIN_HASH_VALUE)
+ {
+ int slot = lookup[key];
+
+ if (slot >= 0 && slot < MAX_HASH_VALUE)
+ {
+ const char *s = wordlist[slot].opname_;
+
+ if (*str == *s && !strncmp (str + 1, s + 1, len - 1))
+ return &wordlist[slot];
+ }
+ else if (slot < 0 && slot >= -MAX_HASH_VALUE)
+ return 0;
+ else
+ {
+ unsigned int offset = key + slot + (slot > 0 ? -MAX_HASH_VALUE : MAX_HASH_VALUE);
+ const class TAO_operation_db_entry *base = &wordlist[-lookup[offset]];
+ const class TAO_operation_db_entry *ptr = base + -lookup[offset + 1];
+
+ while (--ptr >= base)
+ if (*str == *ptr->opname_ && !strncmp (str + 1, ptr->opname_ + 1, len - 1))
+ return ptr;
+ }
+ }
+ }
+ return 0;
+}
+/* ending time is 11:22:00 */
+static TAO_IR_ComponentDef_Perfect_Hash_OpTable tao_IR_ComponentDef_optable;
+
+
+///////////////////////////////////////////////////////////////////////
+// Strategized Proxy Broker Implementation
+//
+
+// Factory function Implementation.
+POA_IR::_TAO_ComponentDef_Strategized_Proxy_Broker *POA_IR::_TAO_ComponentDef_Strategized_Proxy_Broker::the_TAO_ComponentDef_Strategized_Proxy_Broker (void)
+{
+ static POA_IR::_TAO_ComponentDef_Strategized_Proxy_Broker strategized_proxy_broker;
+ return &strategized_proxy_broker;
+}
+
+POA_IR::_TAO_ComponentDef_Strategized_Proxy_Broker::_TAO_ComponentDef_Strategized_Proxy_Broker (void)
+{
+ for (int i = 0; i < TAO_Collocation_Strategies::CS_LAST; ++i)
+ this->proxy_cache_[i] = 0;
+
+}
+
+POA_IR::_TAO_ComponentDef_Strategized_Proxy_Broker::~_TAO_ComponentDef_Strategized_Proxy_Broker (void)
+{
+ for (int i = 0; i < TAO_Collocation_Strategies::CS_LAST; ++i)
+ delete this->proxy_cache_[i];
+
+}
+
+IR::_TAO_ComponentDef_Proxy_Impl&
+POA_IR::_TAO_ComponentDef_Strategized_Proxy_Broker::select_proxy (
+ ::IR::ComponentDef *object,
+ CORBA::Environment &ACE_TRY_ENV
+ )
+{
+ int strategy =
+ TAO_ORB_Core::collocation_strategy (object);
+
+ if (this->proxy_cache_[strategy] != 0)
+ return *this->proxy_cache_[strategy];
+
+ this->create_proxy (strategy, ACE_TRY_ENV);
+ ACE_CHECK_RETURN (*this->proxy_cache_[strategy]);
+
+ return *this->proxy_cache_[strategy];
+
+}
+
+void
+POA_IR::_TAO_ComponentDef_Strategized_Proxy_Broker::create_proxy (
+ int strategy,
+ CORBA::Environment &ACE_TRY_ENV
+ )
+{
+ ACE_GUARD (TAO_SYNCH_MUTEX, guard, this->mutex_);
+
+ if (this->proxy_cache_[strategy] == 0)
+ {
+ switch (strategy)
+ {
+ case TAO_Collocation_Strategies::CS_THRU_POA_STRATEGY:
+ ACE_NEW_THROW_EX (
+ this->proxy_cache_[strategy],
+ POA_IR::_TAO_ComponentDef_ThruPOA_Proxy_Impl,
+ CORBA::NO_MEMORY ()
+ );
+ ACE_CHECK;
+ break;
+
+ case TAO_Collocation_Strategies::CS_REMOTE_STRATEGY:
+ default:
+ ACE_NEW_THROW_EX (
+ this->proxy_cache_[strategy],
+ ::IR::_TAO_ComponentDef_Remote_Proxy_Impl,
+ CORBA::NO_MEMORY ()
+ );
+ ACE_CHECK;
+ break;
+
+ }
+
+ }
+}
+
+
+//
+// End Strategized Proxy Broker Implementation
+///////////////////////////////////////////////////////////////////////
+
+
+IR::_TAO_ComponentDef_Proxy_Broker *
+IR__TAO_ComponentDef_Proxy_Broker_Factory_function (CORBA::Object_ptr obj)
+{
+ ACE_UNUSED_ARG (obj);
+ return ::POA_IR::_TAO_ComponentDef_Strategized_Proxy_Broker::the_TAO_ComponentDef_Strategized_Proxy_Broker();
+}
+
+int
+IR__TAO_ComponentDef_Proxy_Broker_Factory_Initializer (long _dummy_)
+{
+ ACE_UNUSED_ARG (_dummy_);
+
+ IR__TAO_ComponentDef_Proxy_Broker_Factory_function_pointer =
+ IR__TAO_ComponentDef_Proxy_Broker_Factory_function;
+
+ return 0;
+}
+
+static int IR__TAO_ComponentDef_Proxy_Broker_Stub_Factory_Initializer_Scarecrow =
+ IR__TAO_ComponentDef_Proxy_Broker_Factory_Initializer (ACE_reinterpret_cast (long, IR__TAO_ComponentDef_Proxy_Broker_Factory_Initializer));
+
+
+///////////////////////////////////////////////////////////////////////
+// ThruPOA Proxy Implementation
+//
+
+POA_IR::_TAO_ComponentDef_ThruPOA_Proxy_Impl::_TAO_ComponentDef_ThruPOA_Proxy_Impl (void)
+{}
+
+// ThruPOA Implementation of the IDL interface methods
+
+CORBA::InterfaceDefSeq * POA_IR::_TAO_ComponentDef_ThruPOA_Proxy_Impl::supported_interfaces (
+ CORBA_Object *_collocated_tao_target_,
+ CORBA::Environment &ACE_TRY_ENV
+ )
+ ACE_THROW_SPEC ((
+ CORBA::SystemException
+ ))
+{
+ CORBA::InterfaceDefSeq_var _tao_retval;
+ ACE_UNUSED_ARG (_tao_retval);
+ TAO_Object_Adapter::Servant_Upcall servant_upcall (
+ _collocated_tao_target_->_stubobj ()->servant_orb_var ()->orb_core ()
+ );
+ CORBA::Object_var forward_to;
+ servant_upcall.prepare_for_upcall (
+ _collocated_tao_target_->_object_key (),
+ "supported_interfaces",
+ forward_to.out (),
+ ACE_TRY_ENV
+ );
+ ACE_CHECK_RETURN (0);
+ return ACE_reinterpret_cast (
+ POA_IR::ComponentDef_ptr,
+ servant_upcall.servant ()->_downcast (
+ "IDL:omg.org/IR/ComponentDef:1.0"
+ )
+ )->supported_interfaces (
+ ACE_TRY_ENV
+ );
+}
+
+void POA_IR::_TAO_ComponentDef_ThruPOA_Proxy_Impl::supported_interfaces (
+ CORBA_Object *_collocated_tao_target_,
+ const CORBA::InterfaceDefSeq & supported_interfaces,
+ CORBA::Environment &ACE_TRY_ENV
+ )
+ ACE_THROW_SPEC ((
+ CORBA::SystemException
+ ))
+{
+ TAO_Object_Adapter::Servant_Upcall servant_upcall (
+ _collocated_tao_target_->_stubobj ()->servant_orb_var ()->orb_core ()
+ );
+ CORBA::Object_var forward_to;
+ servant_upcall.prepare_for_upcall (
+ _collocated_tao_target_->_object_key (),
+ "supported_interfaces",
+ forward_to.out (),
+ ACE_TRY_ENV
+ );
+ ACE_CHECK;
+ ACE_reinterpret_cast (
+ POA_IR::ComponentDef_ptr,
+ servant_upcall.servant ()->_downcast (
+ "IDL:omg.org/IR/ComponentDef:1.0"
+ )
+ )->supported_interfaces (
+ supported_interfaces,
+ ACE_TRY_ENV
+ );
+ return;
+}
+
+IR::ComponentDef_ptr POA_IR::_TAO_ComponentDef_ThruPOA_Proxy_Impl::base_component (
+ CORBA_Object *_collocated_tao_target_,
+ CORBA::Environment &ACE_TRY_ENV
+ )
+ ACE_THROW_SPEC ((
+ CORBA::SystemException
+ ))
+{
+ IR::ComponentDef_var _tao_retval;
+ ACE_UNUSED_ARG (_tao_retval);
+ TAO_Object_Adapter::Servant_Upcall servant_upcall (
+ _collocated_tao_target_->_stubobj ()->servant_orb_var ()->orb_core ()
+ );
+ CORBA::Object_var forward_to;
+ servant_upcall.prepare_for_upcall (
+ _collocated_tao_target_->_object_key (),
+ "base_component",
+ forward_to.out (),
+ ACE_TRY_ENV
+ );
+ ACE_CHECK_RETURN (0);
+ return ACE_reinterpret_cast (
+ POA_IR::ComponentDef_ptr,
+ servant_upcall.servant ()->_downcast (
+ "IDL:omg.org/IR/ComponentDef:1.0"
+ )
+ )->base_component (
+ ACE_TRY_ENV
+ );
+}
+
+IR::ProvidesDefSeq * POA_IR::_TAO_ComponentDef_ThruPOA_Proxy_Impl::provides_interfaces (
+ CORBA_Object *_collocated_tao_target_,
+ CORBA::Environment &ACE_TRY_ENV
+ )
+ ACE_THROW_SPEC ((
+ CORBA::SystemException
+ ))
+{
+ IR::ProvidesDefSeq_var _tao_retval;
+ ACE_UNUSED_ARG (_tao_retval);
+ TAO_Object_Adapter::Servant_Upcall servant_upcall (
+ _collocated_tao_target_->_stubobj ()->servant_orb_var ()->orb_core ()
+ );
+ CORBA::Object_var forward_to;
+ servant_upcall.prepare_for_upcall (
+ _collocated_tao_target_->_object_key (),
+ "provides_interfaces",
+ forward_to.out (),
+ ACE_TRY_ENV
+ );
+ ACE_CHECK_RETURN (0);
+ return ACE_reinterpret_cast (
+ POA_IR::ComponentDef_ptr,
+ servant_upcall.servant ()->_downcast (
+ "IDL:omg.org/IR/ComponentDef:1.0"
+ )
+ )->provides_interfaces (
+ ACE_TRY_ENV
+ );
+}
+
+IR::UsesDefSeq * POA_IR::_TAO_ComponentDef_ThruPOA_Proxy_Impl::uses_interfaces (
+ CORBA_Object *_collocated_tao_target_,
+ CORBA::Environment &ACE_TRY_ENV
+ )
+ ACE_THROW_SPEC ((
+ CORBA::SystemException
+ ))
+{
+ IR::UsesDefSeq_var _tao_retval;
+ ACE_UNUSED_ARG (_tao_retval);
+ TAO_Object_Adapter::Servant_Upcall servant_upcall (
+ _collocated_tao_target_->_stubobj ()->servant_orb_var ()->orb_core ()
+ );
+ CORBA::Object_var forward_to;
+ servant_upcall.prepare_for_upcall (
+ _collocated_tao_target_->_object_key (),
+ "uses_interfaces",
+ forward_to.out (),
+ ACE_TRY_ENV
+ );
+ ACE_CHECK_RETURN (0);
+ return ACE_reinterpret_cast (
+ POA_IR::ComponentDef_ptr,
+ servant_upcall.servant ()->_downcast (
+ "IDL:omg.org/IR/ComponentDef:1.0"
+ )
+ )->uses_interfaces (
+ ACE_TRY_ENV
+ );
+}
+
+IR::EmitsDefSeq * POA_IR::_TAO_ComponentDef_ThruPOA_Proxy_Impl::emits_events (
+ CORBA_Object *_collocated_tao_target_,
+ CORBA::Environment &ACE_TRY_ENV
+ )
+ ACE_THROW_SPEC ((
+ CORBA::SystemException
+ ))
+{
+ IR::EmitsDefSeq_var _tao_retval;
+ ACE_UNUSED_ARG (_tao_retval);
+ TAO_Object_Adapter::Servant_Upcall servant_upcall (
+ _collocated_tao_target_->_stubobj ()->servant_orb_var ()->orb_core ()
+ );
+ CORBA::Object_var forward_to;
+ servant_upcall.prepare_for_upcall (
+ _collocated_tao_target_->_object_key (),
+ "emits_events",
+ forward_to.out (),
+ ACE_TRY_ENV
+ );
+ ACE_CHECK_RETURN (0);
+ return ACE_reinterpret_cast (
+ POA_IR::ComponentDef_ptr,
+ servant_upcall.servant ()->_downcast (
+ "IDL:omg.org/IR/ComponentDef:1.0"
+ )
+ )->emits_events (
+ ACE_TRY_ENV
+ );
+}
+
+IR::PublishesDefSeq * POA_IR::_TAO_ComponentDef_ThruPOA_Proxy_Impl::publishes_events (
+ CORBA_Object *_collocated_tao_target_,
+ CORBA::Environment &ACE_TRY_ENV
+ )
+ ACE_THROW_SPEC ((
+ CORBA::SystemException
+ ))
+{
+ IR::PublishesDefSeq_var _tao_retval;
+ ACE_UNUSED_ARG (_tao_retval);
+ TAO_Object_Adapter::Servant_Upcall servant_upcall (
+ _collocated_tao_target_->_stubobj ()->servant_orb_var ()->orb_core ()
+ );
+ CORBA::Object_var forward_to;
+ servant_upcall.prepare_for_upcall (
+ _collocated_tao_target_->_object_key (),
+ "publishes_events",
+ forward_to.out (),
+ ACE_TRY_ENV
+ );
+ ACE_CHECK_RETURN (0);
+ return ACE_reinterpret_cast (
+ POA_IR::ComponentDef_ptr,
+ servant_upcall.servant ()->_downcast (
+ "IDL:omg.org/IR/ComponentDef:1.0"
+ )
+ )->publishes_events (
+ ACE_TRY_ENV
+ );
+}
+
+IR::ConsumesDefSeq * POA_IR::_TAO_ComponentDef_ThruPOA_Proxy_Impl::consumes_events (
+ CORBA_Object *_collocated_tao_target_,
+ CORBA::Environment &ACE_TRY_ENV
+ )
+ ACE_THROW_SPEC ((
+ CORBA::SystemException
+ ))
+{
+ IR::ConsumesDefSeq_var _tao_retval;
+ ACE_UNUSED_ARG (_tao_retval);
+ TAO_Object_Adapter::Servant_Upcall servant_upcall (
+ _collocated_tao_target_->_stubobj ()->servant_orb_var ()->orb_core ()
+ );
+ CORBA::Object_var forward_to;
+ servant_upcall.prepare_for_upcall (
+ _collocated_tao_target_->_object_key (),
+ "consumes_events",
+ forward_to.out (),
+ ACE_TRY_ENV
+ );
+ ACE_CHECK_RETURN (0);
+ return ACE_reinterpret_cast (
+ POA_IR::ComponentDef_ptr,
+ servant_upcall.servant ()->_downcast (
+ "IDL:omg.org/IR/ComponentDef:1.0"
+ )
+ )->consumes_events (
+ ACE_TRY_ENV
+ );
+}
+
+CORBA::Boolean POA_IR::_TAO_ComponentDef_ThruPOA_Proxy_Impl::is_basic (
+ CORBA_Object *_collocated_tao_target_,
+ CORBA::Environment &ACE_TRY_ENV
+ )
+ ACE_THROW_SPEC ((
+ CORBA::SystemException
+ ))
+{
+ CORBA::Boolean _tao_retval = 0;
+ ACE_UNUSED_ARG (_tao_retval);
+ TAO_Object_Adapter::Servant_Upcall servant_upcall (
+ _collocated_tao_target_->_stubobj ()->servant_orb_var ()->orb_core ()
+ );
+ CORBA::Object_var forward_to;
+ servant_upcall.prepare_for_upcall (
+ _collocated_tao_target_->_object_key (),
+ "is_basic",
+ forward_to.out (),
+ ACE_TRY_ENV
+ );
+ ACE_CHECK_RETURN (_tao_retval);
+ return ACE_reinterpret_cast (
+ POA_IR::ComponentDef_ptr,
+ servant_upcall.servant ()->_downcast (
+ "IDL:omg.org/IR/ComponentDef:1.0"
+ )
+ )->is_basic (
+ ACE_TRY_ENV
+ );
+}
+
+IR::ProvidesDef_ptr POA_IR::_TAO_ComponentDef_ThruPOA_Proxy_Impl::create_provides (
+ CORBA_Object *_collocated_tao_target_,
+ const char * id,
+ const char * name,
+ const char * version,
+ CORBA::InterfaceDef_ptr interface_type,
+ CORBA::Environment &ACE_TRY_ENV
+ )
+ ACE_THROW_SPEC ((
+ CORBA::SystemException
+ ))
+{
+ IR::ProvidesDef_var _tao_retval;
+ ACE_UNUSED_ARG (_tao_retval);
+ TAO_Object_Adapter::Servant_Upcall servant_upcall (
+ _collocated_tao_target_->_stubobj ()->servant_orb_var ()->orb_core ()
+ );
+ CORBA::Object_var forward_to;
+ servant_upcall.prepare_for_upcall (
+ _collocated_tao_target_->_object_key (),
+ "create_provides",
+ forward_to.out (),
+ ACE_TRY_ENV
+ );
+ ACE_CHECK_RETURN (0);
+ return ACE_reinterpret_cast (
+ POA_IR::ComponentDef_ptr,
+ servant_upcall.servant ()->_downcast (
+ "IDL:omg.org/IR/ComponentDef:1.0"
+ )
+ )->create_provides (
+ id,
+ name,
+ version,
+ interface_type,
+ ACE_TRY_ENV
+ );
+}
+
+IR::UsesDef_ptr POA_IR::_TAO_ComponentDef_ThruPOA_Proxy_Impl::create_uses (
+ CORBA_Object *_collocated_tao_target_,
+ const char * id,
+ const char * name,
+ const char * version,
+ CORBA::InterfaceDef_ptr interface_type,
+ CORBA::Boolean is_multiple,
+ CORBA::Environment &ACE_TRY_ENV
+ )
+ ACE_THROW_SPEC ((
+ CORBA::SystemException
+ ))
+{
+ IR::UsesDef_var _tao_retval;
+ ACE_UNUSED_ARG (_tao_retval);
+ TAO_Object_Adapter::Servant_Upcall servant_upcall (
+ _collocated_tao_target_->_stubobj ()->servant_orb_var ()->orb_core ()
+ );
+ CORBA::Object_var forward_to;
+ servant_upcall.prepare_for_upcall (
+ _collocated_tao_target_->_object_key (),
+ "create_uses",
+ forward_to.out (),
+ ACE_TRY_ENV
+ );
+ ACE_CHECK_RETURN (0);
+ return ACE_reinterpret_cast (
+ POA_IR::ComponentDef_ptr,
+ servant_upcall.servant ()->_downcast (
+ "IDL:omg.org/IR/ComponentDef:1.0"
+ )
+ )->create_uses (
+ id,
+ name,
+ version,
+ interface_type,
+ is_multiple,
+ ACE_TRY_ENV
+ );
+}
+
+IR::EmitsDef_ptr POA_IR::_TAO_ComponentDef_ThruPOA_Proxy_Impl::create_emits (
+ CORBA_Object *_collocated_tao_target_,
+ const char * id,
+ const char * name,
+ const char * version,
+ CORBA::ValueDef_ptr value,
+ CORBA::Environment &ACE_TRY_ENV
+ )
+ ACE_THROW_SPEC ((
+ CORBA::SystemException
+ ))
+{
+ IR::EmitsDef_var _tao_retval;
+ ACE_UNUSED_ARG (_tao_retval);
+ TAO_Object_Adapter::Servant_Upcall servant_upcall (
+ _collocated_tao_target_->_stubobj ()->servant_orb_var ()->orb_core ()
+ );
+ CORBA::Object_var forward_to;
+ servant_upcall.prepare_for_upcall (
+ _collocated_tao_target_->_object_key (),
+ "create_emits",
+ forward_to.out (),
+ ACE_TRY_ENV
+ );
+ ACE_CHECK_RETURN (0);
+ return ACE_reinterpret_cast (
+ POA_IR::ComponentDef_ptr,
+ servant_upcall.servant ()->_downcast (
+ "IDL:omg.org/IR/ComponentDef:1.0"
+ )
+ )->create_emits (
+ id,
+ name,
+ version,
+ value,
+ ACE_TRY_ENV
+ );
+}
+
+IR::PublishesDef_ptr POA_IR::_TAO_ComponentDef_ThruPOA_Proxy_Impl::create_publishes (
+ CORBA_Object *_collocated_tao_target_,
+ const char * id,
+ const char * name,
+ const char * version,
+ CORBA::ValueDef_ptr value,
+ CORBA::Environment &ACE_TRY_ENV
+ )
+ ACE_THROW_SPEC ((
+ CORBA::SystemException
+ ))
+{
+ IR::PublishesDef_var _tao_retval;
+ ACE_UNUSED_ARG (_tao_retval);
+ TAO_Object_Adapter::Servant_Upcall servant_upcall (
+ _collocated_tao_target_->_stubobj ()->servant_orb_var ()->orb_core ()
+ );
+ CORBA::Object_var forward_to;
+ servant_upcall.prepare_for_upcall (
+ _collocated_tao_target_->_object_key (),
+ "create_publishes",
+ forward_to.out (),
+ ACE_TRY_ENV
+ );
+ ACE_CHECK_RETURN (0);
+ return ACE_reinterpret_cast (
+ POA_IR::ComponentDef_ptr,
+ servant_upcall.servant ()->_downcast (
+ "IDL:omg.org/IR/ComponentDef:1.0"
+ )
+ )->create_publishes (
+ id,
+ name,
+ version,
+ value,
+ ACE_TRY_ENV
+ );
+}
+
+IR::ConsumesDef_ptr POA_IR::_TAO_ComponentDef_ThruPOA_Proxy_Impl::create_consumes (
+ CORBA_Object *_collocated_tao_target_,
+ const char * id,
+ const char * name,
+ const char * version,
+ CORBA::ValueDef_ptr value,
+ CORBA::Environment &ACE_TRY_ENV
+ )
+ ACE_THROW_SPEC ((
+ CORBA::SystemException
+ ))
+{
+ IR::ConsumesDef_var _tao_retval;
+ ACE_UNUSED_ARG (_tao_retval);
+ TAO_Object_Adapter::Servant_Upcall servant_upcall (
+ _collocated_tao_target_->_stubobj ()->servant_orb_var ()->orb_core ()
+ );
+ CORBA::Object_var forward_to;
+ servant_upcall.prepare_for_upcall (
+ _collocated_tao_target_->_object_key (),
+ "create_consumes",
+ forward_to.out (),
+ ACE_TRY_ENV
+ );
+ ACE_CHECK_RETURN (0);
+ return ACE_reinterpret_cast (
+ POA_IR::ComponentDef_ptr,
+ servant_upcall.servant ()->_downcast (
+ "IDL:omg.org/IR/ComponentDef:1.0"
+ )
+ )->create_consumes (
+ id,
+ name,
+ version,
+ value,
+ ACE_TRY_ENV
+ );
+}
+
+//
+// End ThruPOA Proxy Implementation
+///////////////////////////////////////////////////////////////////////
+
+// skeleton constructor
+POA_IR::ComponentDef::ComponentDef (void)
+{
+ this->optable_ = &tao_IR_ComponentDef_optable;
+}
+
+// copy ctor
+POA_IR::ComponentDef::ComponentDef (const ComponentDef& rhs)
+ : ACE_NESTED_CLASS (POA_CORBA,InterfaceDef) (rhs),
+ ACE_NESTED_CLASS (POA_CORBA,Container) (rhs),
+ ACE_NESTED_CLASS (POA_CORBA,Contained) (rhs),
+ ACE_NESTED_CLASS (POA_CORBA,IDLType) (rhs),
+ ACE_NESTED_CLASS (POA_CORBA,IRObject) (rhs),
+ TAO_ServantBase (rhs)
+{}
+
+// skeleton destructor
+POA_IR::ComponentDef::~ComponentDef (void)
+{
+}
+
+void POA_IR::ComponentDef::_get_supported_interfaces_skel (
+ TAO_ServerRequest &_tao_server_request,
+ void *_tao_object_reference,
+ void * /* context */,
+ CORBA::Environment &ACE_TRY_ENV
+ )
+{
+ POA_IR::ComponentDef *_tao_impl = (POA_IR::ComponentDef *)_tao_object_reference;
+
+ CORBA::InterfaceDefSeq_var _tao_retval;
+
+#if (TAO_HAS_INTERCEPTORS == 1)
+ TAO_ServerRequestInterceptor_Adapter _tao_vfr (
+ _tao_server_request.orb_core ()->server_request_interceptors (),
+ _tao_server_request.interceptor_count ()
+ );
+
+ POA_IR::ComponentDef::TAO_ServerRequestInfo_IR_ComponentDef_supported_interfaces_get ri (
+ _tao_server_request,
+ _tao_impl,
+ ACE_TRY_ENV
+ );
+
+ ACE_TRY
+ {
+ _tao_vfr.receive_request (&ri, ACE_TRY_ENV);
+ ACE_TRY_CHECK;
+
+#endif /* TAO_HAS_INTERCEPTORS */
+ _tao_retval =
+ _tao_impl->supported_interfaces (
+ ACE_TRY_ENV
+ );
+ TAO_INTERCEPTOR_CHECK;
+
+#if (TAO_HAS_INTERCEPTORS == 1)
+ CORBA::InterfaceDefSeq * _tao_retval_info = _tao_retval._retn ();
+ ri.result (_tao_retval_info);
+ _tao_retval = _tao_retval_info;
+ ri.reply_status (PortableInterceptor::SUCCESSFUL);
+ _tao_vfr.send_reply (&ri, ACE_TRY_ENV);
+ ACE_TRY_CHECK;
+ }
+ ACE_CATCH (PortableInterceptor::ForwardRequest, exc)
+ {
+ ri.forward_reference (exc);
+ _tao_vfr.send_other (
+ &ri,
+ ACE_TRY_ENV
+ );
+ ACE_TRY_CHECK;
+ _tao_server_request.forward_location (exc.forward.in ());
+ }
+ ACE_CATCHANY
+ {
+ ri.exception (&ACE_ANY_EXCEPTION);
+ _tao_vfr.send_exception (
+ &ri,
+ ACE_TRY_ENV
+ );
+ ACE_TRY_CHECK;
+ ACE_RE_THROW;
+ }
+ ACE_ENDTRY;
+ ACE_CHECK;
+#endif /* TAO_HAS_INTERCEPTORS */
+
+ _tao_server_request.init_reply ();
+
+ TAO_OutputCDR &_tao_out = _tao_server_request.outgoing ();
+
+ if (!(
+ (_tao_out << _tao_retval.in ())
+ ))
+ ACE_THROW (CORBA::MARSHAL());
+
+ // In case ACE_TRY_ENV is not used in this function
+ ACE_UNUSED_ARG (ACE_TRY_ENV);
+}
+
+void POA_IR::ComponentDef::_set_supported_interfaces_skel (
+ TAO_ServerRequest &_tao_server_request,
+ void *_tao_object_reference,
+ void * /* context */,
+ CORBA::Environment &ACE_TRY_ENV
+ )
+{
+ TAO_InputCDR &_tao_in = _tao_server_request.incoming ();
+ POA_IR::ComponentDef *_tao_impl = (POA_IR::ComponentDef *)_tao_object_reference;
+
+ _tao_server_request.argument_flag (0);
+ CORBA::InterfaceDefSeq supported_interfaces;
+ if (!(
+ (_tao_in >> supported_interfaces)
+ ))
+ ACE_THROW (CORBA::MARSHAL());
+
+
+#if (TAO_HAS_INTERCEPTORS == 1)
+ TAO_ServerRequestInterceptor_Adapter _tao_vfr (
+ _tao_server_request.orb_core ()->server_request_interceptors (),
+ _tao_server_request.interceptor_count ()
+ );
+
+ POA_IR::ComponentDef::TAO_ServerRequestInfo_IR_ComponentDef_supported_interfaces_set ri (
+ _tao_server_request,
+ _tao_impl,
+ supported_interfaces,
+ ACE_TRY_ENV
+ );
+
+ ACE_TRY
+ {
+ _tao_vfr.receive_request (&ri, ACE_TRY_ENV);
+ ACE_TRY_CHECK;
+
+#endif /* TAO_HAS_INTERCEPTORS */
+
+ _tao_impl->supported_interfaces (
+ supported_interfaces,
+ ACE_TRY_ENV
+ );
+ TAO_INTERCEPTOR_CHECK;
+
+#if (TAO_HAS_INTERCEPTORS == 1)
+ ri.reply_status (PortableInterceptor::SUCCESSFUL);
+ _tao_vfr.send_reply (&ri, ACE_TRY_ENV);
+ ACE_TRY_CHECK;
+ }
+ ACE_CATCH (PortableInterceptor::ForwardRequest, exc)
+ {
+ ri.forward_reference (exc);
+ _tao_vfr.send_other (
+ &ri,
+ ACE_TRY_ENV
+ );
+ ACE_TRY_CHECK;
+ _tao_server_request.forward_location (exc.forward.in ());
+ }
+ ACE_CATCHANY
+ {
+ ri.exception (&ACE_ANY_EXCEPTION);
+ _tao_vfr.send_exception (
+ &ri,
+ ACE_TRY_ENV
+ );
+ ACE_TRY_CHECK;
+ ACE_RE_THROW;
+ }
+ ACE_ENDTRY;
+ ACE_CHECK;
+#endif /* TAO_HAS_INTERCEPTORS */
+
+ _tao_server_request.init_reply ();
+
+ // In case ACE_TRY_ENV is not used in this function
+ ACE_UNUSED_ARG (ACE_TRY_ENV);
+}
+
+void POA_IR::ComponentDef::_get_base_component_skel (
+ TAO_ServerRequest &_tao_server_request,
+ void *_tao_object_reference,
+ void * /* context */,
+ CORBA::Environment &ACE_TRY_ENV
+ )
+{
+ POA_IR::ComponentDef *_tao_impl = (POA_IR::ComponentDef *)_tao_object_reference;
+
+ IR::ComponentDef_var _tao_retval;
+
+#if (TAO_HAS_INTERCEPTORS == 1)
+ TAO_ServerRequestInterceptor_Adapter _tao_vfr (
+ _tao_server_request.orb_core ()->server_request_interceptors (),
+ _tao_server_request.interceptor_count ()
+ );
+
+ POA_IR::ComponentDef::TAO_ServerRequestInfo_IR_ComponentDef_base_component_get ri (
+ _tao_server_request,
+ _tao_impl,
+ ACE_TRY_ENV
+ );
+
+ ACE_TRY
+ {
+ _tao_vfr.receive_request (&ri, ACE_TRY_ENV);
+ ACE_TRY_CHECK;
+
+#endif /* TAO_HAS_INTERCEPTORS */
+ _tao_retval =
+ _tao_impl->base_component (
+ ACE_TRY_ENV
+ );
+ TAO_INTERCEPTOR_CHECK;
+
+#if (TAO_HAS_INTERCEPTORS == 1)
+ IR::ComponentDef_ptr _tao_retval_info = _tao_retval._retn ();
+ ri.result (_tao_retval_info);
+ _tao_retval = _tao_retval_info;
+ ri.reply_status (PortableInterceptor::SUCCESSFUL);
+ _tao_vfr.send_reply (&ri, ACE_TRY_ENV);
+ ACE_TRY_CHECK;
+ }
+ ACE_CATCH (PortableInterceptor::ForwardRequest, exc)
+ {
+ ri.forward_reference (exc);
+ _tao_vfr.send_other (
+ &ri,
+ ACE_TRY_ENV
+ );
+ ACE_TRY_CHECK;
+ _tao_server_request.forward_location (exc.forward.in ());
+ }
+ ACE_CATCHANY
+ {
+ ri.exception (&ACE_ANY_EXCEPTION);
+ _tao_vfr.send_exception (
+ &ri,
+ ACE_TRY_ENV
+ );
+ ACE_TRY_CHECK;
+ ACE_RE_THROW;
+ }
+ ACE_ENDTRY;
+ ACE_CHECK;
+#endif /* TAO_HAS_INTERCEPTORS */
+
+ _tao_server_request.init_reply ();
+
+ TAO_OutputCDR &_tao_out = _tao_server_request.outgoing ();
+
+ if (!(
+ (_tao_out << _tao_retval.in ())
+ ))
+ ACE_THROW (CORBA::MARSHAL());
+
+ // In case ACE_TRY_ENV is not used in this function
+ ACE_UNUSED_ARG (ACE_TRY_ENV);
+}
+
+void POA_IR::ComponentDef::_get_provides_interfaces_skel (
+ TAO_ServerRequest &_tao_server_request,
+ void *_tao_object_reference,
+ void * /* context */,
+ CORBA::Environment &ACE_TRY_ENV
+ )
+{
+ POA_IR::ComponentDef *_tao_impl = (POA_IR::ComponentDef *)_tao_object_reference;
+
+ IR::ProvidesDefSeq_var _tao_retval;
+
+#if (TAO_HAS_INTERCEPTORS == 1)
+ TAO_ServerRequestInterceptor_Adapter _tao_vfr (
+ _tao_server_request.orb_core ()->server_request_interceptors (),
+ _tao_server_request.interceptor_count ()
+ );
+
+ POA_IR::ComponentDef::TAO_ServerRequestInfo_IR_ComponentDef_provides_interfaces_get ri (
+ _tao_server_request,
+ _tao_impl,
+ ACE_TRY_ENV
+ );
+
+ ACE_TRY
+ {
+ _tao_vfr.receive_request (&ri, ACE_TRY_ENV);
+ ACE_TRY_CHECK;
+
+#endif /* TAO_HAS_INTERCEPTORS */
+ _tao_retval =
+ _tao_impl->provides_interfaces (
+ ACE_TRY_ENV
+ );
+ TAO_INTERCEPTOR_CHECK;
+
+#if (TAO_HAS_INTERCEPTORS == 1)
+ IR::ProvidesDefSeq * _tao_retval_info = _tao_retval._retn ();
+ ri.result (_tao_retval_info);
+ _tao_retval = _tao_retval_info;
+ ri.reply_status (PortableInterceptor::SUCCESSFUL);
+ _tao_vfr.send_reply (&ri, ACE_TRY_ENV);
+ ACE_TRY_CHECK;
+ }
+ ACE_CATCH (PortableInterceptor::ForwardRequest, exc)
+ {
+ ri.forward_reference (exc);
+ _tao_vfr.send_other (
+ &ri,
+ ACE_TRY_ENV
+ );
+ ACE_TRY_CHECK;
+ _tao_server_request.forward_location (exc.forward.in ());
+ }
+ ACE_CATCHANY
+ {
+ ri.exception (&ACE_ANY_EXCEPTION);
+ _tao_vfr.send_exception (
+ &ri,
+ ACE_TRY_ENV
+ );
+ ACE_TRY_CHECK;
+ ACE_RE_THROW;
+ }
+ ACE_ENDTRY;
+ ACE_CHECK;
+#endif /* TAO_HAS_INTERCEPTORS */
+
+ _tao_server_request.init_reply ();
+
+ TAO_OutputCDR &_tao_out = _tao_server_request.outgoing ();
+
+ if (!(
+ (_tao_out << _tao_retval.in ())
+ ))
+ ACE_THROW (CORBA::MARSHAL());
+
+ // In case ACE_TRY_ENV is not used in this function
+ ACE_UNUSED_ARG (ACE_TRY_ENV);
+}
+
+void POA_IR::ComponentDef::_get_uses_interfaces_skel (
+ TAO_ServerRequest &_tao_server_request,
+ void *_tao_object_reference,
+ void * /* context */,
+ CORBA::Environment &ACE_TRY_ENV
+ )
+{
+ POA_IR::ComponentDef *_tao_impl = (POA_IR::ComponentDef *)_tao_object_reference;
+
+ IR::UsesDefSeq_var _tao_retval;
+
+#if (TAO_HAS_INTERCEPTORS == 1)
+ TAO_ServerRequestInterceptor_Adapter _tao_vfr (
+ _tao_server_request.orb_core ()->server_request_interceptors (),
+ _tao_server_request.interceptor_count ()
+ );
+
+ POA_IR::ComponentDef::TAO_ServerRequestInfo_IR_ComponentDef_uses_interfaces_get ri (
+ _tao_server_request,
+ _tao_impl,
+ ACE_TRY_ENV
+ );
+
+ ACE_TRY
+ {
+ _tao_vfr.receive_request (&ri, ACE_TRY_ENV);
+ ACE_TRY_CHECK;
+
+#endif /* TAO_HAS_INTERCEPTORS */
+ _tao_retval =
+ _tao_impl->uses_interfaces (
+ ACE_TRY_ENV
+ );
+ TAO_INTERCEPTOR_CHECK;
+
+#if (TAO_HAS_INTERCEPTORS == 1)
+ IR::UsesDefSeq * _tao_retval_info = _tao_retval._retn ();
+ ri.result (_tao_retval_info);
+ _tao_retval = _tao_retval_info;
+ ri.reply_status (PortableInterceptor::SUCCESSFUL);
+ _tao_vfr.send_reply (&ri, ACE_TRY_ENV);
+ ACE_TRY_CHECK;
+ }
+ ACE_CATCH (PortableInterceptor::ForwardRequest, exc)
+ {
+ ri.forward_reference (exc);
+ _tao_vfr.send_other (
+ &ri,
+ ACE_TRY_ENV
+ );
+ ACE_TRY_CHECK;
+ _tao_server_request.forward_location (exc.forward.in ());
+ }
+ ACE_CATCHANY
+ {
+ ri.exception (&ACE_ANY_EXCEPTION);
+ _tao_vfr.send_exception (
+ &ri,
+ ACE_TRY_ENV
+ );
+ ACE_TRY_CHECK;
+ ACE_RE_THROW;
+ }
+ ACE_ENDTRY;
+ ACE_CHECK;
+#endif /* TAO_HAS_INTERCEPTORS */
+
+ _tao_server_request.init_reply ();
+
+ TAO_OutputCDR &_tao_out = _tao_server_request.outgoing ();
+
+ if (!(
+ (_tao_out << _tao_retval.in ())
+ ))
+ ACE_THROW (CORBA::MARSHAL());
+
+ // In case ACE_TRY_ENV is not used in this function
+ ACE_UNUSED_ARG (ACE_TRY_ENV);
+}
+
+void POA_IR::ComponentDef::_get_emits_events_skel (
+ TAO_ServerRequest &_tao_server_request,
+ void *_tao_object_reference,
+ void * /* context */,
+ CORBA::Environment &ACE_TRY_ENV
+ )
+{
+ POA_IR::ComponentDef *_tao_impl = (POA_IR::ComponentDef *)_tao_object_reference;
+
+ IR::EmitsDefSeq_var _tao_retval;
+
+#if (TAO_HAS_INTERCEPTORS == 1)
+ TAO_ServerRequestInterceptor_Adapter _tao_vfr (
+ _tao_server_request.orb_core ()->server_request_interceptors (),
+ _tao_server_request.interceptor_count ()
+ );
+
+ POA_IR::ComponentDef::TAO_ServerRequestInfo_IR_ComponentDef_emits_events_get ri (
+ _tao_server_request,
+ _tao_impl,
+ ACE_TRY_ENV
+ );
+
+ ACE_TRY
+ {
+ _tao_vfr.receive_request (&ri, ACE_TRY_ENV);
+ ACE_TRY_CHECK;
+
+#endif /* TAO_HAS_INTERCEPTORS */
+ _tao_retval =
+ _tao_impl->emits_events (
+ ACE_TRY_ENV
+ );
+ TAO_INTERCEPTOR_CHECK;
+
+#if (TAO_HAS_INTERCEPTORS == 1)
+ IR::EmitsDefSeq * _tao_retval_info = _tao_retval._retn ();
+ ri.result (_tao_retval_info);
+ _tao_retval = _tao_retval_info;
+ ri.reply_status (PortableInterceptor::SUCCESSFUL);
+ _tao_vfr.send_reply (&ri, ACE_TRY_ENV);
+ ACE_TRY_CHECK;
+ }
+ ACE_CATCH (PortableInterceptor::ForwardRequest, exc)
+ {
+ ri.forward_reference (exc);
+ _tao_vfr.send_other (
+ &ri,
+ ACE_TRY_ENV
+ );
+ ACE_TRY_CHECK;
+ _tao_server_request.forward_location (exc.forward.in ());
+ }
+ ACE_CATCHANY
+ {
+ ri.exception (&ACE_ANY_EXCEPTION);
+ _tao_vfr.send_exception (
+ &ri,
+ ACE_TRY_ENV
+ );
+ ACE_TRY_CHECK;
+ ACE_RE_THROW;
+ }
+ ACE_ENDTRY;
+ ACE_CHECK;
+#endif /* TAO_HAS_INTERCEPTORS */
+
+ _tao_server_request.init_reply ();
+
+ TAO_OutputCDR &_tao_out = _tao_server_request.outgoing ();
+
+ if (!(
+ (_tao_out << _tao_retval.in ())
+ ))
+ ACE_THROW (CORBA::MARSHAL());
+
+ // In case ACE_TRY_ENV is not used in this function
+ ACE_UNUSED_ARG (ACE_TRY_ENV);
+}
+
+void POA_IR::ComponentDef::_get_publishes_events_skel (
+ TAO_ServerRequest &_tao_server_request,
+ void *_tao_object_reference,
+ void * /* context */,
+ CORBA::Environment &ACE_TRY_ENV
+ )
+{
+ POA_IR::ComponentDef *_tao_impl = (POA_IR::ComponentDef *)_tao_object_reference;
+
+ IR::PublishesDefSeq_var _tao_retval;
+
+#if (TAO_HAS_INTERCEPTORS == 1)
+ TAO_ServerRequestInterceptor_Adapter _tao_vfr (
+ _tao_server_request.orb_core ()->server_request_interceptors (),
+ _tao_server_request.interceptor_count ()
+ );
+
+ POA_IR::ComponentDef::TAO_ServerRequestInfo_IR_ComponentDef_publishes_events_get ri (
+ _tao_server_request,
+ _tao_impl,
+ ACE_TRY_ENV
+ );
+
+ ACE_TRY
+ {
+ _tao_vfr.receive_request (&ri, ACE_TRY_ENV);
+ ACE_TRY_CHECK;
+
+#endif /* TAO_HAS_INTERCEPTORS */
+ _tao_retval =
+ _tao_impl->publishes_events (
+ ACE_TRY_ENV
+ );
+ TAO_INTERCEPTOR_CHECK;
+
+#if (TAO_HAS_INTERCEPTORS == 1)
+ IR::PublishesDefSeq * _tao_retval_info = _tao_retval._retn ();
+ ri.result (_tao_retval_info);
+ _tao_retval = _tao_retval_info;
+ ri.reply_status (PortableInterceptor::SUCCESSFUL);
+ _tao_vfr.send_reply (&ri, ACE_TRY_ENV);
+ ACE_TRY_CHECK;
+ }
+ ACE_CATCH (PortableInterceptor::ForwardRequest, exc)
+ {
+ ri.forward_reference (exc);
+ _tao_vfr.send_other (
+ &ri,
+ ACE_TRY_ENV
+ );
+ ACE_TRY_CHECK;
+ _tao_server_request.forward_location (exc.forward.in ());
+ }
+ ACE_CATCHANY
+ {
+ ri.exception (&ACE_ANY_EXCEPTION);
+ _tao_vfr.send_exception (
+ &ri,
+ ACE_TRY_ENV
+ );
+ ACE_TRY_CHECK;
+ ACE_RE_THROW;
+ }
+ ACE_ENDTRY;
+ ACE_CHECK;
+#endif /* TAO_HAS_INTERCEPTORS */
+
+ _tao_server_request.init_reply ();
+
+ TAO_OutputCDR &_tao_out = _tao_server_request.outgoing ();
+
+ if (!(
+ (_tao_out << _tao_retval.in ())
+ ))
+ ACE_THROW (CORBA::MARSHAL());
+
+ // In case ACE_TRY_ENV is not used in this function
+ ACE_UNUSED_ARG (ACE_TRY_ENV);
+}
+
+void POA_IR::ComponentDef::_get_consumes_events_skel (
+ TAO_ServerRequest &_tao_server_request,
+ void *_tao_object_reference,
+ void * /* context */,
+ CORBA::Environment &ACE_TRY_ENV
+ )
+{
+ POA_IR::ComponentDef *_tao_impl = (POA_IR::ComponentDef *)_tao_object_reference;
+
+ IR::ConsumesDefSeq_var _tao_retval;
+
+#if (TAO_HAS_INTERCEPTORS == 1)
+ TAO_ServerRequestInterceptor_Adapter _tao_vfr (
+ _tao_server_request.orb_core ()->server_request_interceptors (),
+ _tao_server_request.interceptor_count ()
+ );
+
+ POA_IR::ComponentDef::TAO_ServerRequestInfo_IR_ComponentDef_consumes_events_get ri (
+ _tao_server_request,
+ _tao_impl,
+ ACE_TRY_ENV
+ );
+
+ ACE_TRY
+ {
+ _tao_vfr.receive_request (&ri, ACE_TRY_ENV);
+ ACE_TRY_CHECK;
+
+#endif /* TAO_HAS_INTERCEPTORS */
+ _tao_retval =
+ _tao_impl->consumes_events (
+ ACE_TRY_ENV
+ );
+ TAO_INTERCEPTOR_CHECK;
+
+#if (TAO_HAS_INTERCEPTORS == 1)
+ IR::ConsumesDefSeq * _tao_retval_info = _tao_retval._retn ();
+ ri.result (_tao_retval_info);
+ _tao_retval = _tao_retval_info;
+ ri.reply_status (PortableInterceptor::SUCCESSFUL);
+ _tao_vfr.send_reply (&ri, ACE_TRY_ENV);
+ ACE_TRY_CHECK;
+ }
+ ACE_CATCH (PortableInterceptor::ForwardRequest, exc)
+ {
+ ri.forward_reference (exc);
+ _tao_vfr.send_other (
+ &ri,
+ ACE_TRY_ENV
+ );
+ ACE_TRY_CHECK;
+ _tao_server_request.forward_location (exc.forward.in ());
+ }
+ ACE_CATCHANY
+ {
+ ri.exception (&ACE_ANY_EXCEPTION);
+ _tao_vfr.send_exception (
+ &ri,
+ ACE_TRY_ENV
+ );
+ ACE_TRY_CHECK;
+ ACE_RE_THROW;
+ }
+ ACE_ENDTRY;
+ ACE_CHECK;
+#endif /* TAO_HAS_INTERCEPTORS */
+
+ _tao_server_request.init_reply ();
+
+ TAO_OutputCDR &_tao_out = _tao_server_request.outgoing ();
+
+ if (!(
+ (_tao_out << _tao_retval.in ())
+ ))
+ ACE_THROW (CORBA::MARSHAL());
+
+ // In case ACE_TRY_ENV is not used in this function
+ ACE_UNUSED_ARG (ACE_TRY_ENV);
+}
+
+void POA_IR::ComponentDef::_get_is_basic_skel (
+ TAO_ServerRequest &_tao_server_request,
+ void *_tao_object_reference,
+ void * /* context */,
+ CORBA::Environment &ACE_TRY_ENV
+ )
+{
+ POA_IR::ComponentDef *_tao_impl = (POA_IR::ComponentDef *)_tao_object_reference;
+
+ CORBA::Boolean _tao_retval = 0;
+
+#if (TAO_HAS_INTERCEPTORS == 1)
+ TAO_ServerRequestInterceptor_Adapter _tao_vfr (
+ _tao_server_request.orb_core ()->server_request_interceptors (),
+ _tao_server_request.interceptor_count ()
+ );
+
+ POA_IR::ComponentDef::TAO_ServerRequestInfo_IR_ComponentDef_is_basic_get ri (
+ _tao_server_request,
+ _tao_impl,
+ ACE_TRY_ENV
+ );
+
+ ACE_TRY
+ {
+ _tao_vfr.receive_request (&ri, ACE_TRY_ENV);
+ ACE_TRY_CHECK;
+
+#endif /* TAO_HAS_INTERCEPTORS */
+ _tao_retval =
+ _tao_impl->is_basic (
+ ACE_TRY_ENV
+ );
+ TAO_INTERCEPTOR_CHECK;
+
+#if (TAO_HAS_INTERCEPTORS == 1)
+ CORBA::Boolean _tao_retval_info = _tao_retval;
+ ri.result (_tao_retval_info);
+ ri.reply_status (PortableInterceptor::SUCCESSFUL);
+ _tao_vfr.send_reply (&ri, ACE_TRY_ENV);
+ ACE_TRY_CHECK;
+ }
+ ACE_CATCH (PortableInterceptor::ForwardRequest, exc)
+ {
+ ri.forward_reference (exc);
+ _tao_vfr.send_other (
+ &ri,
+ ACE_TRY_ENV
+ );
+ ACE_TRY_CHECK;
+ _tao_server_request.forward_location (exc.forward.in ());
+ }
+ ACE_CATCHANY
+ {
+ ri.exception (&ACE_ANY_EXCEPTION);
+ _tao_vfr.send_exception (
+ &ri,
+ ACE_TRY_ENV
+ );
+ ACE_TRY_CHECK;
+ ACE_RE_THROW;
+ }
+ ACE_ENDTRY;
+ ACE_CHECK;
+#endif /* TAO_HAS_INTERCEPTORS */
+
+ _tao_server_request.init_reply ();
+
+ TAO_OutputCDR &_tao_out = _tao_server_request.outgoing ();
+
+ if (!(
+ (_tao_out << CORBA::Any::from_boolean (_tao_retval))
+ ))
+ ACE_THROW (CORBA::MARSHAL());
+
+ // In case ACE_TRY_ENV is not used in this function
+ ACE_UNUSED_ARG (ACE_TRY_ENV);
+}
+
+void POA_IR::ComponentDef::create_provides_skel (
+ TAO_ServerRequest &_tao_server_request,
+ void *_tao_object_reference,
+ void * /* context */,
+ CORBA::Environment &ACE_TRY_ENV
+ )
+{
+ TAO_InputCDR &_tao_in = _tao_server_request.incoming ();
+ POA_IR::ComponentDef *_tao_impl = (POA_IR::ComponentDef *)_tao_object_reference;
+
+ IR::ProvidesDef_var _tao_retval;
+ CORBA::String_var id;
+ CORBA::String_var name;
+ CORBA::String_var version;
+ CORBA::InterfaceDef_var interface_type;
+ if (!(
+ (_tao_in >> id.out ()) &&
+ (_tao_in >> name.out ()) &&
+ (_tao_in >> version.out ()) &&
+ (_tao_in >> interface_type.out ())
+ ))
+ ACE_THROW (CORBA::MARSHAL());
+
+
+#if (TAO_HAS_INTERCEPTORS == 1)
+ TAO_ServerRequestInterceptor_Adapter _tao_vfr (
+ _tao_server_request.orb_core ()->server_request_interceptors (),
+ _tao_server_request.interceptor_count ()
+ );
+
+ POA_IR::ComponentDef::TAO_ServerRequestInfo_IR_ComponentDef_create_provides ri (
+ _tao_server_request,
+ _tao_impl,
+ id.in (),
+ name.in (),
+ version.in (),
+ interface_type.in (),
+ ACE_TRY_ENV
+ );
+
+ ACE_TRY
+ {
+ _tao_vfr.receive_request (&ri, ACE_TRY_ENV);
+ ACE_TRY_CHECK;
+
+#endif /* TAO_HAS_INTERCEPTORS */
+ _tao_retval =
+ _tao_impl->create_provides (
+ id.in (),
+ name.in (),
+ version.in (),
+ interface_type.in (),
+ ACE_TRY_ENV
+ );
+ TAO_INTERCEPTOR_CHECK;
+
+#if (TAO_HAS_INTERCEPTORS == 1)
+ IR::ProvidesDef_ptr _tao_retval_info = _tao_retval._retn ();
+ ri.result (_tao_retval_info);
+ _tao_retval = _tao_retval_info;
+ ri.reply_status (PortableInterceptor::SUCCESSFUL);
+ _tao_vfr.send_reply (&ri, ACE_TRY_ENV);
+ ACE_TRY_CHECK;
+ }
+ ACE_CATCH (PortableInterceptor::ForwardRequest, exc)
+ {
+ ri.forward_reference (exc);
+ _tao_vfr.send_other (
+ &ri,
+ ACE_TRY_ENV
+ );
+ ACE_TRY_CHECK;
+ _tao_server_request.forward_location (exc.forward.in ());
+ }
+ ACE_CATCHANY
+ {
+ ri.exception (&ACE_ANY_EXCEPTION);
+ _tao_vfr.send_exception (
+ &ri,
+ ACE_TRY_ENV
+ );
+ ACE_TRY_CHECK;
+ ACE_RE_THROW;
+ }
+ ACE_ENDTRY;
+ ACE_CHECK;
+#endif /* TAO_HAS_INTERCEPTORS */
+
+ _tao_server_request.init_reply ();
+
+ TAO_OutputCDR &_tao_out = _tao_server_request.outgoing ();
+
+ if (!(
+ (_tao_out << _tao_retval.in ())
+ ))
+ ACE_THROW (CORBA::MARSHAL());
+
+ // In case ACE_TRY_ENV is not used in this function
+ ACE_UNUSED_ARG (ACE_TRY_ENV);
+}
+
+void POA_IR::ComponentDef::create_uses_skel (
+ TAO_ServerRequest &_tao_server_request,
+ void *_tao_object_reference,
+ void * /* context */,
+ CORBA::Environment &ACE_TRY_ENV
+ )
+{
+ TAO_InputCDR &_tao_in = _tao_server_request.incoming ();
+ POA_IR::ComponentDef *_tao_impl = (POA_IR::ComponentDef *)_tao_object_reference;
+
+ IR::UsesDef_var _tao_retval;
+ CORBA::String_var id;
+ CORBA::String_var name;
+ CORBA::String_var version;
+ CORBA::InterfaceDef_var interface_type;
+ CORBA::Boolean is_multiple;
+ if (!(
+ (_tao_in >> id.out ()) &&
+ (_tao_in >> name.out ()) &&
+ (_tao_in >> version.out ()) &&
+ (_tao_in >> interface_type.out ()) &&
+ (_tao_in >> CORBA::Any::to_boolean (is_multiple))
+ ))
+ ACE_THROW (CORBA::MARSHAL());
+
+
+#if (TAO_HAS_INTERCEPTORS == 1)
+ TAO_ServerRequestInterceptor_Adapter _tao_vfr (
+ _tao_server_request.orb_core ()->server_request_interceptors (),
+ _tao_server_request.interceptor_count ()
+ );
+
+ POA_IR::ComponentDef::TAO_ServerRequestInfo_IR_ComponentDef_create_uses ri (
+ _tao_server_request,
+ _tao_impl,
+ id.in (),
+ name.in (),
+ version.in (),
+ interface_type.in (),
+ is_multiple,
+ ACE_TRY_ENV
+ );
+
+ ACE_TRY
+ {
+ _tao_vfr.receive_request (&ri, ACE_TRY_ENV);
+ ACE_TRY_CHECK;
+
+#endif /* TAO_HAS_INTERCEPTORS */
+ _tao_retval =
+ _tao_impl->create_uses (
+ id.in (),
+ name.in (),
+ version.in (),
+ interface_type.in (),
+ is_multiple,
+ ACE_TRY_ENV
+ );
+ TAO_INTERCEPTOR_CHECK;
+
+#if (TAO_HAS_INTERCEPTORS == 1)
+ IR::UsesDef_ptr _tao_retval_info = _tao_retval._retn ();
+ ri.result (_tao_retval_info);
+ _tao_retval = _tao_retval_info;
+ ri.reply_status (PortableInterceptor::SUCCESSFUL);
+ _tao_vfr.send_reply (&ri, ACE_TRY_ENV);
+ ACE_TRY_CHECK;
+ }
+ ACE_CATCH (PortableInterceptor::ForwardRequest, exc)
+ {
+ ri.forward_reference (exc);
+ _tao_vfr.send_other (
+ &ri,
+ ACE_TRY_ENV
+ );
+ ACE_TRY_CHECK;
+ _tao_server_request.forward_location (exc.forward.in ());
+ }
+ ACE_CATCHANY
+ {
+ ri.exception (&ACE_ANY_EXCEPTION);
+ _tao_vfr.send_exception (
+ &ri,
+ ACE_TRY_ENV
+ );
+ ACE_TRY_CHECK;
+ ACE_RE_THROW;
+ }
+ ACE_ENDTRY;
+ ACE_CHECK;
+#endif /* TAO_HAS_INTERCEPTORS */
+
+ _tao_server_request.init_reply ();
+
+ TAO_OutputCDR &_tao_out = _tao_server_request.outgoing ();
+
+ if (!(
+ (_tao_out << _tao_retval.in ())
+ ))
+ ACE_THROW (CORBA::MARSHAL());
+
+ // In case ACE_TRY_ENV is not used in this function
+ ACE_UNUSED_ARG (ACE_TRY_ENV);
+}
+
+void POA_IR::ComponentDef::create_emits_skel (
+ TAO_ServerRequest &_tao_server_request,
+ void *_tao_object_reference,
+ void * /* context */,
+ CORBA::Environment &ACE_TRY_ENV
+ )
+{
+ TAO_InputCDR &_tao_in = _tao_server_request.incoming ();
+ POA_IR::ComponentDef *_tao_impl = (POA_IR::ComponentDef *)_tao_object_reference;
+
+ IR::EmitsDef_var _tao_retval;
+ CORBA::String_var id;
+ CORBA::String_var name;
+ CORBA::String_var version;
+ CORBA::ValueDef_var value;
+ if (!(
+ (_tao_in >> id.out ()) &&
+ (_tao_in >> name.out ()) &&
+ (_tao_in >> version.out ()) &&
+ (_tao_in >> value.out ())
+ ))
+ ACE_THROW (CORBA::MARSHAL());
+
+
+#if (TAO_HAS_INTERCEPTORS == 1)
+ TAO_ServerRequestInterceptor_Adapter _tao_vfr (
+ _tao_server_request.orb_core ()->server_request_interceptors (),
+ _tao_server_request.interceptor_count ()
+ );
+
+ POA_IR::ComponentDef::TAO_ServerRequestInfo_IR_ComponentDef_create_emits ri (
+ _tao_server_request,
+ _tao_impl,
+ id.in (),
+ name.in (),
+ version.in (),
+ value.in (),
+ ACE_TRY_ENV
+ );
+
+ ACE_TRY
+ {
+ _tao_vfr.receive_request (&ri, ACE_TRY_ENV);
+ ACE_TRY_CHECK;
+
+#endif /* TAO_HAS_INTERCEPTORS */
+ _tao_retval =
+ _tao_impl->create_emits (
+ id.in (),
+ name.in (),
+ version.in (),
+ value.in (),
+ ACE_TRY_ENV
+ );
+ TAO_INTERCEPTOR_CHECK;
+
+#if (TAO_HAS_INTERCEPTORS == 1)
+ IR::EmitsDef_ptr _tao_retval_info = _tao_retval._retn ();
+ ri.result (_tao_retval_info);
+ _tao_retval = _tao_retval_info;
+ ri.reply_status (PortableInterceptor::SUCCESSFUL);
+ _tao_vfr.send_reply (&ri, ACE_TRY_ENV);
+ ACE_TRY_CHECK;
+ }
+ ACE_CATCH (PortableInterceptor::ForwardRequest, exc)
+ {
+ ri.forward_reference (exc);
+ _tao_vfr.send_other (
+ &ri,
+ ACE_TRY_ENV
+ );
+ ACE_TRY_CHECK;
+ _tao_server_request.forward_location (exc.forward.in ());
+ }
+ ACE_CATCHANY
+ {
+ ri.exception (&ACE_ANY_EXCEPTION);
+ _tao_vfr.send_exception (
+ &ri,
+ ACE_TRY_ENV
+ );
+ ACE_TRY_CHECK;
+ ACE_RE_THROW;
+ }
+ ACE_ENDTRY;
+ ACE_CHECK;
+#endif /* TAO_HAS_INTERCEPTORS */
+
+ _tao_server_request.init_reply ();
+
+ TAO_OutputCDR &_tao_out = _tao_server_request.outgoing ();
+
+ if (!(
+ (_tao_out << _tao_retval.in ())
+ ))
+ ACE_THROW (CORBA::MARSHAL());
+
+ // In case ACE_TRY_ENV is not used in this function
+ ACE_UNUSED_ARG (ACE_TRY_ENV);
+}
+
+void POA_IR::ComponentDef::create_publishes_skel (
+ TAO_ServerRequest &_tao_server_request,
+ void *_tao_object_reference,
+ void * /* context */,
+ CORBA::Environment &ACE_TRY_ENV
+ )
+{
+ TAO_InputCDR &_tao_in = _tao_server_request.incoming ();
+ POA_IR::ComponentDef *_tao_impl = (POA_IR::ComponentDef *)_tao_object_reference;
+
+ IR::PublishesDef_var _tao_retval;
+ CORBA::String_var id;
+ CORBA::String_var name;
+ CORBA::String_var version;
+ CORBA::ValueDef_var value;
+ if (!(
+ (_tao_in >> id.out ()) &&
+ (_tao_in >> name.out ()) &&
+ (_tao_in >> version.out ()) &&
+ (_tao_in >> value.out ())
+ ))
+ ACE_THROW (CORBA::MARSHAL());
+
+
+#if (TAO_HAS_INTERCEPTORS == 1)
+ TAO_ServerRequestInterceptor_Adapter _tao_vfr (
+ _tao_server_request.orb_core ()->server_request_interceptors (),
+ _tao_server_request.interceptor_count ()
+ );
+
+ POA_IR::ComponentDef::TAO_ServerRequestInfo_IR_ComponentDef_create_publishes ri (
+ _tao_server_request,
+ _tao_impl,
+ id.in (),
+ name.in (),
+ version.in (),
+ value.in (),
+ ACE_TRY_ENV
+ );
+
+ ACE_TRY
+ {
+ _tao_vfr.receive_request (&ri, ACE_TRY_ENV);
+ ACE_TRY_CHECK;
+
+#endif /* TAO_HAS_INTERCEPTORS */
+ _tao_retval =
+ _tao_impl->create_publishes (
+ id.in (),
+ name.in (),
+ version.in (),
+ value.in (),
+ ACE_TRY_ENV
+ );
+ TAO_INTERCEPTOR_CHECK;
+
+#if (TAO_HAS_INTERCEPTORS == 1)
+ IR::PublishesDef_ptr _tao_retval_info = _tao_retval._retn ();
+ ri.result (_tao_retval_info);
+ _tao_retval = _tao_retval_info;
+ ri.reply_status (PortableInterceptor::SUCCESSFUL);
+ _tao_vfr.send_reply (&ri, ACE_TRY_ENV);
+ ACE_TRY_CHECK;
+ }
+ ACE_CATCH (PortableInterceptor::ForwardRequest, exc)
+ {
+ ri.forward_reference (exc);
+ _tao_vfr.send_other (
+ &ri,
+ ACE_TRY_ENV
+ );
+ ACE_TRY_CHECK;
+ _tao_server_request.forward_location (exc.forward.in ());
+ }
+ ACE_CATCHANY
+ {
+ ri.exception (&ACE_ANY_EXCEPTION);
+ _tao_vfr.send_exception (
+ &ri,
+ ACE_TRY_ENV
+ );
+ ACE_TRY_CHECK;
+ ACE_RE_THROW;
+ }
+ ACE_ENDTRY;
+ ACE_CHECK;
+#endif /* TAO_HAS_INTERCEPTORS */
+
+ _tao_server_request.init_reply ();
+
+ TAO_OutputCDR &_tao_out = _tao_server_request.outgoing ();
+
+ if (!(
+ (_tao_out << _tao_retval.in ())
+ ))
+ ACE_THROW (CORBA::MARSHAL());
+
+ // In case ACE_TRY_ENV is not used in this function
+ ACE_UNUSED_ARG (ACE_TRY_ENV);
+}
+
+void POA_IR::ComponentDef::create_consumes_skel (
+ TAO_ServerRequest &_tao_server_request,
+ void *_tao_object_reference,
+ void * /* context */,
+ CORBA::Environment &ACE_TRY_ENV
+ )
+{
+ TAO_InputCDR &_tao_in = _tao_server_request.incoming ();
+ POA_IR::ComponentDef *_tao_impl = (POA_IR::ComponentDef *)_tao_object_reference;
+
+ IR::ConsumesDef_var _tao_retval;
+ CORBA::String_var id;
+ CORBA::String_var name;
+ CORBA::String_var version;
+ CORBA::ValueDef_var value;
+ if (!(
+ (_tao_in >> id.out ()) &&
+ (_tao_in >> name.out ()) &&
+ (_tao_in >> version.out ()) &&
+ (_tao_in >> value.out ())
+ ))
+ ACE_THROW (CORBA::MARSHAL());
+
+
+#if (TAO_HAS_INTERCEPTORS == 1)
+ TAO_ServerRequestInterceptor_Adapter _tao_vfr (
+ _tao_server_request.orb_core ()->server_request_interceptors (),
+ _tao_server_request.interceptor_count ()
+ );
+
+ POA_IR::ComponentDef::TAO_ServerRequestInfo_IR_ComponentDef_create_consumes ri (
+ _tao_server_request,
+ _tao_impl,
+ id.in (),
+ name.in (),
+ version.in (),
+ value.in (),
+ ACE_TRY_ENV
+ );
+
+ ACE_TRY
+ {
+ _tao_vfr.receive_request (&ri, ACE_TRY_ENV);
+ ACE_TRY_CHECK;
+
+#endif /* TAO_HAS_INTERCEPTORS */
+ _tao_retval =
+ _tao_impl->create_consumes (
+ id.in (),
+ name.in (),
+ version.in (),
+ value.in (),
+ ACE_TRY_ENV
+ );
+ TAO_INTERCEPTOR_CHECK;
+
+#if (TAO_HAS_INTERCEPTORS == 1)
+ IR::ConsumesDef_ptr _tao_retval_info = _tao_retval._retn ();
+ ri.result (_tao_retval_info);
+ _tao_retval = _tao_retval_info;
+ ri.reply_status (PortableInterceptor::SUCCESSFUL);
+ _tao_vfr.send_reply (&ri, ACE_TRY_ENV);
+ ACE_TRY_CHECK;
+ }
+ ACE_CATCH (PortableInterceptor::ForwardRequest, exc)
+ {
+ ri.forward_reference (exc);
+ _tao_vfr.send_other (
+ &ri,
+ ACE_TRY_ENV
+ );
+ ACE_TRY_CHECK;
+ _tao_server_request.forward_location (exc.forward.in ());
+ }
+ ACE_CATCHANY
+ {
+ ri.exception (&ACE_ANY_EXCEPTION);
+ _tao_vfr.send_exception (
+ &ri,
+ ACE_TRY_ENV
+ );
+ ACE_TRY_CHECK;
+ ACE_RE_THROW;
+ }
+ ACE_ENDTRY;
+ ACE_CHECK;
+#endif /* TAO_HAS_INTERCEPTORS */
+
+ _tao_server_request.init_reply ();
+
+ TAO_OutputCDR &_tao_out = _tao_server_request.outgoing ();
+
+ if (!(
+ (_tao_out << _tao_retval.in ())
+ ))
+ ACE_THROW (CORBA::MARSHAL());
+
+ // In case ACE_TRY_ENV is not used in this function
+ ACE_UNUSED_ARG (ACE_TRY_ENV);
+}
+
+void POA_IR::ComponentDef::_is_a_skel (
+ TAO_ServerRequest &_tao_server_request,
+ void * _tao_object_reference,
+ void * /* context */,
+ CORBA::Environment &ACE_TRY_ENV
+ )
+{
+ TAO_InputCDR &_tao_in = _tao_server_request.incoming ();
+ POA_IR::ComponentDef *_tao_impl = (POA_IR::ComponentDef *) _tao_object_reference;
+ CORBA::Boolean _tao_retval = 0;
+ CORBA::String_var value;
+ if (!(_tao_in >> value.out ()))
+ ACE_THROW (CORBA::MARSHAL ());
+
+ _tao_retval = _tao_impl->_is_a (value.in (), ACE_TRY_ENV);
+ ACE_CHECK;
+
+ _tao_server_request.init_reply ();
+ TAO_OutputCDR &_tao_out = _tao_server_request.outgoing ();
+ if (!(_tao_out << CORBA::Any::from_boolean (_tao_retval)))
+ ACE_THROW (CORBA::MARSHAL ());
+}
+
+void POA_IR::ComponentDef::_non_existent_skel (
+ TAO_ServerRequest &_tao_server_request,
+ void * _tao_object_reference,
+ void * /* context */,
+ CORBA::Environment &ACE_TRY_ENV
+ )
+{
+ POA_IR::ComponentDef *_tao_impl = (POA_IR::ComponentDef *) _tao_object_reference;
+ CORBA::Boolean _tao_retval = _tao_impl->_non_existent (ACE_TRY_ENV);
+ ACE_CHECK;
+
+ _tao_server_request.init_reply ();
+ TAO_OutputCDR &_tao_out = _tao_server_request.outgoing ();
+ if (!(_tao_out << CORBA::Any::from_boolean (_tao_retval)))
+ ACE_THROW (CORBA::MARSHAL ());
+}
+
+CORBA::Boolean POA_IR::ComponentDef::_is_a (
+ const char* value,
+ CORBA::Environment &ACE_TRY_ENV
+ )
+{
+ const char *base_id = CORBA::_tc_Object->id (ACE_TRY_ENV);
+ ACE_CHECK_RETURN (0);
+
+ if (
+ (!ACE_OS::strcmp ((char *)value, "IDL:omg.org/IR/ComponentDef:1.0")) ||
+ (!ACE_OS::strcmp ((char *)value, "IDL:omg.org/CORBA/InterfaceDef:1.0")) ||
+ (!ACE_OS::strcmp ((char *)value, "IDL:omg.org/CORBA/Container:1.0")) ||
+ (!ACE_OS::strcmp ((char *)value, "IDL:omg.org/CORBA/Contained:1.0")) ||
+ (!ACE_OS::strcmp ((char *)value, "IDL:omg.org/CORBA/IDLType:1.0")) ||
+ (!ACE_OS::strcmp ((char *)value, "IDL:omg.org/CORBA/IRObject:1.0")) ||
+ (!ACE_OS::strcmp ((char *)value, base_id)))
+ return 1;
+ else
+ return 0;
+}
+
+void* POA_IR::ComponentDef::_downcast (
+ const char* logical_type_id
+ )
+{
+ if (ACE_OS::strcmp (logical_type_id, "IDL:omg.org/IR/ComponentDef:1.0") == 0)
+ return ACE_static_cast (POA_IR::ComponentDef_ptr, this);
+ if (ACE_OS::strcmp (logical_type_id, "IDL:omg.org/CORBA/InterfaceDef:1.0") == 0)
+ return ACE_static_cast (POA_CORBA::InterfaceDef_ptr, this);
+ if (ACE_OS::strcmp (logical_type_id, "IDL:omg.org/CORBA/Container:1.0") == 0)
+ return ACE_static_cast (POA_CORBA::Container_ptr, this);
+ if (ACE_OS::strcmp (logical_type_id, "IDL:omg.org/CORBA/Contained:1.0") == 0)
+ return ACE_static_cast (POA_CORBA::Contained_ptr, this);
+ if (ACE_OS::strcmp (logical_type_id, "IDL:omg.org/CORBA/IDLType:1.0") == 0)
+ return ACE_static_cast (POA_CORBA::IDLType_ptr, this);
+ if (ACE_OS::strcmp (logical_type_id, "IDL:omg.org/CORBA/IRObject:1.0") == 0)
+ return ACE_static_cast (POA_CORBA::IRObject_ptr, this);
+ if (ACE_OS::strcmp (logical_type_id, "IDL:omg.org/CORBA/Object:1.0") == 0)
+ return ACE_static_cast(PortableServer::Servant, this);
+ return 0;
+}
+
+void POA_IR::ComponentDef::_dispatch (TAO_ServerRequest &req, void *context, CORBA::Environment &ACE_TRY_ENV)
+{
+ this->synchronous_upcall_dispatch(req, context, this, ACE_TRY_ENV);
+}
+
+const char* POA_IR::ComponentDef::_interface_repository_id (void) const
+{
+ return "IDL:omg.org/IR/ComponentDef:1.0";
+}
+
+IR::ComponentDef*
+POA_IR::ComponentDef::_this (CORBA_Environment &ACE_TRY_ENV)
+{
+ TAO_Stub *stub = this->_create_stub (ACE_TRY_ENV);
+ ACE_CHECK_RETURN (0);
+
+ CORBA::Object_ptr tmp = CORBA::Object::_nil ();
+
+ if (stub->servant_orb_var ()->orb_core ()->optimize_collocation_objects ())
+ ACE_NEW_RETURN (tmp, CORBA::Object (stub, 1, this), 0);
+ else
+ ACE_NEW_RETURN (tmp, CORBA::Object (stub, 0, this), 0);
+
+ CORBA::Object_var obj = tmp;
+ return ::IR::ComponentDef::_unchecked_narrow (obj.in ());
+}
+
+
+#if (TAO_HAS_INTERCEPTORS == 1)
+POA_IR::ComponentDef::TAO_ServerRequestInfo_IR_ComponentDef_supported_interfaces_get::TAO_ServerRequestInfo_IR_ComponentDef_supported_interfaces_get (
+ TAO_ServerRequest &_tao_server_request,
+ POA_IR::ComponentDef *tao_impl,
+ CORBA::Environment &
+ )
+ : TAO_ServerRequestInfo (_tao_server_request),
+ _tao_impl (tao_impl)
+{}
+
+Dynamic::ParameterList *
+POA_IR::ComponentDef::TAO_ServerRequestInfo_IR_ComponentDef_supported_interfaces_get::arguments (CORBA::Environment &ACE_TRY_ENV)
+ ACE_THROW_SPEC ((CORBA::SystemException))
+{
+ // Generate the argument list on demand.
+ Dynamic::ParameterList *parameter_list =
+ TAO_RequestInfo_Util::make_parameter_list (ACE_TRY_ENV);
+ ACE_CHECK_RETURN (0);
+
+ return parameter_list;
+}
+
+Dynamic::ExceptionList *
+POA_IR::ComponentDef::TAO_ServerRequestInfo_IR_ComponentDef_supported_interfaces_get::exceptions (CORBA::Environment &ACE_TRY_ENV)
+ ACE_THROW_SPEC ((CORBA::SystemException))
+{
+ // Generate the exception list on demand.
+ Dynamic::ExceptionList *exception_list =
+ TAO_RequestInfo_Util::make_exception_list (ACE_TRY_ENV);
+ ACE_CHECK_RETURN (0);
+
+ return exception_list;
+}
+
+CORBA::Any *
+POA_IR::ComponentDef::TAO_ServerRequestInfo_IR_ComponentDef_supported_interfaces_get::result (CORBA::Environment &ACE_TRY_ENV)
+ ACE_THROW_SPEC ((CORBA::SystemException))
+{
+ // Generate the result on demand.
+ CORBA::Boolean tk_void_any = 0;
+ CORBA::Any *result_any =
+ TAO_RequestInfo_Util::make_any (tk_void_any, ACE_TRY_ENV);
+ ACE_CHECK_RETURN (0);
+
+ CORBA::Any_var safe_result_any = result_any;
+
+ (*result_any) <<= this->_result;
+
+ return safe_result_any._retn ();
+}
+
+char *
+POA_IR::ComponentDef::TAO_ServerRequestInfo_IR_ComponentDef_supported_interfaces_get::target_most_derived_interface (
+ CORBA::Environment &)
+ ACE_THROW_SPEC ((CORBA::SystemException))
+{
+ return
+ CORBA::string_dup (this->_tao_impl->_interface_repository_id ());
+}
+
+CORBA::Boolean
+POA_IR::ComponentDef::TAO_ServerRequestInfo_IR_ComponentDef_supported_interfaces_get::target_is_a (
+ const char * id,
+ CORBA::Environment &ACE_TRY_ENV)
+ ACE_THROW_SPEC ((CORBA::SystemException))
+{
+ return this->_tao_impl->_is_a (id, ACE_TRY_ENV);
+}
+
+void
+POA_IR::ComponentDef::TAO_ServerRequestInfo_IR_ComponentDef_supported_interfaces_get::result (CORBA::InterfaceDefSeq * result)
+{
+ // Update the result.
+ this->_result = result;
+}
+
+POA_IR::ComponentDef::TAO_ServerRequestInfo_IR_ComponentDef_supported_interfaces_set::TAO_ServerRequestInfo_IR_ComponentDef_supported_interfaces_set (
+ TAO_ServerRequest &_tao_server_request,
+ POA_IR::ComponentDef *tao_impl,
+ const CORBA::InterfaceDefSeq & supported_interfaces,
+ CORBA::Environment &
+ )
+ : TAO_ServerRequestInfo (_tao_server_request),
+ _tao_impl (tao_impl),
+ supported_interfaces_ (supported_interfaces)
+{}
+
+Dynamic::ParameterList *
+POA_IR::ComponentDef::TAO_ServerRequestInfo_IR_ComponentDef_supported_interfaces_set::arguments (CORBA::Environment &ACE_TRY_ENV)
+ ACE_THROW_SPEC ((CORBA::SystemException))
+{
+ // Generate the argument list on demand.
+ Dynamic::ParameterList *parameter_list =
+ TAO_RequestInfo_Util::make_parameter_list (ACE_TRY_ENV);
+ ACE_CHECK_RETURN (0);
+
+ Dynamic::ParameterList_var safe_parameter_list = parameter_list;
+
+ CORBA::ULong length_supported_interfaces = parameter_list->length ();
+ parameter_list->length (length_supported_interfaces + 1);
+ (*parameter_list)[length_supported_interfaces].argument <<= this->supported_interfaces_;
+
+ (*parameter_list)[length_supported_interfaces].mode = Dynamic::PARAM_IN;
+
+ return safe_parameter_list._retn ();
+}
+
+Dynamic::ExceptionList *
+POA_IR::ComponentDef::TAO_ServerRequestInfo_IR_ComponentDef_supported_interfaces_set::exceptions (CORBA::Environment &ACE_TRY_ENV)
+ ACE_THROW_SPEC ((CORBA::SystemException))
+{
+ // Generate the exception list on demand.
+ Dynamic::ExceptionList *exception_list =
+ TAO_RequestInfo_Util::make_exception_list (ACE_TRY_ENV);
+ ACE_CHECK_RETURN (0);
+
+ return exception_list;
+}
+
+CORBA::Any *
+POA_IR::ComponentDef::TAO_ServerRequestInfo_IR_ComponentDef_supported_interfaces_set::result (CORBA::Environment &ACE_TRY_ENV)
+ ACE_THROW_SPEC ((CORBA::SystemException))
+{
+ // Generate the result on demand.
+ CORBA::Boolean tk_void_any = 1;
+ CORBA::Any *result_any =
+ TAO_RequestInfo_Util::make_any (tk_void_any, ACE_TRY_ENV);
+ ACE_CHECK_RETURN (0);
+
+ return result_any;
+}
+
+char *
+POA_IR::ComponentDef::TAO_ServerRequestInfo_IR_ComponentDef_supported_interfaces_set::target_most_derived_interface (
+ CORBA::Environment &)
+ ACE_THROW_SPEC ((CORBA::SystemException))
+{
+ return
+ CORBA::string_dup (this->_tao_impl->_interface_repository_id ());
+}
+
+CORBA::Boolean
+POA_IR::ComponentDef::TAO_ServerRequestInfo_IR_ComponentDef_supported_interfaces_set::target_is_a (
+ const char * id,
+ CORBA::Environment &ACE_TRY_ENV)
+ ACE_THROW_SPEC ((CORBA::SystemException))
+{
+ return this->_tao_impl->_is_a (id, ACE_TRY_ENV);
+}
+
+POA_IR::ComponentDef::TAO_ServerRequestInfo_IR_ComponentDef_base_component_get::TAO_ServerRequestInfo_IR_ComponentDef_base_component_get (
+ TAO_ServerRequest &_tao_server_request,
+ POA_IR::ComponentDef *tao_impl,
+ CORBA::Environment &
+ )
+ : TAO_ServerRequestInfo (_tao_server_request),
+ _tao_impl (tao_impl)
+{}
+
+Dynamic::ParameterList *
+POA_IR::ComponentDef::TAO_ServerRequestInfo_IR_ComponentDef_base_component_get::arguments (CORBA::Environment &ACE_TRY_ENV)
+ ACE_THROW_SPEC ((CORBA::SystemException))
+{
+ // Generate the argument list on demand.
+ Dynamic::ParameterList *parameter_list =
+ TAO_RequestInfo_Util::make_parameter_list (ACE_TRY_ENV);
+ ACE_CHECK_RETURN (0);
+
+ return parameter_list;
+}
+
+Dynamic::ExceptionList *
+POA_IR::ComponentDef::TAO_ServerRequestInfo_IR_ComponentDef_base_component_get::exceptions (CORBA::Environment &ACE_TRY_ENV)
+ ACE_THROW_SPEC ((CORBA::SystemException))
+{
+ // Generate the exception list on demand.
+ Dynamic::ExceptionList *exception_list =
+ TAO_RequestInfo_Util::make_exception_list (ACE_TRY_ENV);
+ ACE_CHECK_RETURN (0);
+
+ return exception_list;
+}
+
+CORBA::Any *
+POA_IR::ComponentDef::TAO_ServerRequestInfo_IR_ComponentDef_base_component_get::result (CORBA::Environment &ACE_TRY_ENV)
+ ACE_THROW_SPEC ((CORBA::SystemException))
+{
+ // Generate the result on demand.
+ CORBA::Boolean tk_void_any = 0;
+ CORBA::Any *result_any =
+ TAO_RequestInfo_Util::make_any (tk_void_any, ACE_TRY_ENV);
+ ACE_CHECK_RETURN (0);
+
+ CORBA::Any_var safe_result_any = result_any;
+
+ (*result_any) <<= this->_result;
+
+ return safe_result_any._retn ();
+}
+
+char *
+POA_IR::ComponentDef::TAO_ServerRequestInfo_IR_ComponentDef_base_component_get::target_most_derived_interface (
+ CORBA::Environment &)
+ ACE_THROW_SPEC ((CORBA::SystemException))
+{
+ return
+ CORBA::string_dup (this->_tao_impl->_interface_repository_id ());
+}
+
+CORBA::Boolean
+POA_IR::ComponentDef::TAO_ServerRequestInfo_IR_ComponentDef_base_component_get::target_is_a (
+ const char * id,
+ CORBA::Environment &ACE_TRY_ENV)
+ ACE_THROW_SPEC ((CORBA::SystemException))
+{
+ return this->_tao_impl->_is_a (id, ACE_TRY_ENV);
+}
+
+void
+POA_IR::ComponentDef::TAO_ServerRequestInfo_IR_ComponentDef_base_component_get::result (IR::ComponentDef_ptr result)
+{
+ // Update the result.
+ this->_result = result;
+}
+
+POA_IR::ComponentDef::TAO_ServerRequestInfo_IR_ComponentDef_provides_interfaces_get::TAO_ServerRequestInfo_IR_ComponentDef_provides_interfaces_get (
+ TAO_ServerRequest &_tao_server_request,
+ POA_IR::ComponentDef *tao_impl,
+ CORBA::Environment &
+ )
+ : TAO_ServerRequestInfo (_tao_server_request),
+ _tao_impl (tao_impl)
+{}
+
+Dynamic::ParameterList *
+POA_IR::ComponentDef::TAO_ServerRequestInfo_IR_ComponentDef_provides_interfaces_get::arguments (CORBA::Environment &ACE_TRY_ENV)
+ ACE_THROW_SPEC ((CORBA::SystemException))
+{
+ // Generate the argument list on demand.
+ Dynamic::ParameterList *parameter_list =
+ TAO_RequestInfo_Util::make_parameter_list (ACE_TRY_ENV);
+ ACE_CHECK_RETURN (0);
+
+ return parameter_list;
+}
+
+Dynamic::ExceptionList *
+POA_IR::ComponentDef::TAO_ServerRequestInfo_IR_ComponentDef_provides_interfaces_get::exceptions (CORBA::Environment &ACE_TRY_ENV)
+ ACE_THROW_SPEC ((CORBA::SystemException))
+{
+ // Generate the exception list on demand.
+ Dynamic::ExceptionList *exception_list =
+ TAO_RequestInfo_Util::make_exception_list (ACE_TRY_ENV);
+ ACE_CHECK_RETURN (0);
+
+ return exception_list;
+}
+
+CORBA::Any *
+POA_IR::ComponentDef::TAO_ServerRequestInfo_IR_ComponentDef_provides_interfaces_get::result (CORBA::Environment &ACE_TRY_ENV)
+ ACE_THROW_SPEC ((CORBA::SystemException))
+{
+ // Generate the result on demand.
+ CORBA::Boolean tk_void_any = 0;
+ CORBA::Any *result_any =
+ TAO_RequestInfo_Util::make_any (tk_void_any, ACE_TRY_ENV);
+ ACE_CHECK_RETURN (0);
+
+ CORBA::Any_var safe_result_any = result_any;
+
+ (*result_any) <<= this->_result;
+
+ return safe_result_any._retn ();
+}
+
+char *
+POA_IR::ComponentDef::TAO_ServerRequestInfo_IR_ComponentDef_provides_interfaces_get::target_most_derived_interface (
+ CORBA::Environment &)
+ ACE_THROW_SPEC ((CORBA::SystemException))
+{
+ return
+ CORBA::string_dup (this->_tao_impl->_interface_repository_id ());
+}
+
+CORBA::Boolean
+POA_IR::ComponentDef::TAO_ServerRequestInfo_IR_ComponentDef_provides_interfaces_get::target_is_a (
+ const char * id,
+ CORBA::Environment &ACE_TRY_ENV)
+ ACE_THROW_SPEC ((CORBA::SystemException))
+{
+ return this->_tao_impl->_is_a (id, ACE_TRY_ENV);
+}
+
+void
+POA_IR::ComponentDef::TAO_ServerRequestInfo_IR_ComponentDef_provides_interfaces_get::result (IR::ProvidesDefSeq * result)
+{
+ // Update the result.
+ this->_result = result;
+}
+
+POA_IR::ComponentDef::TAO_ServerRequestInfo_IR_ComponentDef_uses_interfaces_get::TAO_ServerRequestInfo_IR_ComponentDef_uses_interfaces_get (
+ TAO_ServerRequest &_tao_server_request,
+ POA_IR::ComponentDef *tao_impl,
+ CORBA::Environment &
+ )
+ : TAO_ServerRequestInfo (_tao_server_request),
+ _tao_impl (tao_impl)
+{}
+
+Dynamic::ParameterList *
+POA_IR::ComponentDef::TAO_ServerRequestInfo_IR_ComponentDef_uses_interfaces_get::arguments (CORBA::Environment &ACE_TRY_ENV)
+ ACE_THROW_SPEC ((CORBA::SystemException))
+{
+ // Generate the argument list on demand.
+ Dynamic::ParameterList *parameter_list =
+ TAO_RequestInfo_Util::make_parameter_list (ACE_TRY_ENV);
+ ACE_CHECK_RETURN (0);
+
+ return parameter_list;
+}
+
+Dynamic::ExceptionList *
+POA_IR::ComponentDef::TAO_ServerRequestInfo_IR_ComponentDef_uses_interfaces_get::exceptions (CORBA::Environment &ACE_TRY_ENV)
+ ACE_THROW_SPEC ((CORBA::SystemException))
+{
+ // Generate the exception list on demand.
+ Dynamic::ExceptionList *exception_list =
+ TAO_RequestInfo_Util::make_exception_list (ACE_TRY_ENV);
+ ACE_CHECK_RETURN (0);
+
+ return exception_list;
+}
+
+CORBA::Any *
+POA_IR::ComponentDef::TAO_ServerRequestInfo_IR_ComponentDef_uses_interfaces_get::result (CORBA::Environment &ACE_TRY_ENV)
+ ACE_THROW_SPEC ((CORBA::SystemException))
+{
+ // Generate the result on demand.
+ CORBA::Boolean tk_void_any = 0;
+ CORBA::Any *result_any =
+ TAO_RequestInfo_Util::make_any (tk_void_any, ACE_TRY_ENV);
+ ACE_CHECK_RETURN (0);
+
+ CORBA::Any_var safe_result_any = result_any;
+
+ (*result_any) <<= this->_result;
+
+ return safe_result_any._retn ();
+}
+
+char *
+POA_IR::ComponentDef::TAO_ServerRequestInfo_IR_ComponentDef_uses_interfaces_get::target_most_derived_interface (
+ CORBA::Environment &)
+ ACE_THROW_SPEC ((CORBA::SystemException))
+{
+ return
+ CORBA::string_dup (this->_tao_impl->_interface_repository_id ());
+}
+
+CORBA::Boolean
+POA_IR::ComponentDef::TAO_ServerRequestInfo_IR_ComponentDef_uses_interfaces_get::target_is_a (
+ const char * id,
+ CORBA::Environment &ACE_TRY_ENV)
+ ACE_THROW_SPEC ((CORBA::SystemException))
+{
+ return this->_tao_impl->_is_a (id, ACE_TRY_ENV);
+}
+
+void
+POA_IR::ComponentDef::TAO_ServerRequestInfo_IR_ComponentDef_uses_interfaces_get::result (IR::UsesDefSeq * result)
+{
+ // Update the result.
+ this->_result = result;
+}
+
+POA_IR::ComponentDef::TAO_ServerRequestInfo_IR_ComponentDef_emits_events_get::TAO_ServerRequestInfo_IR_ComponentDef_emits_events_get (
+ TAO_ServerRequest &_tao_server_request,
+ POA_IR::ComponentDef *tao_impl,
+ CORBA::Environment &
+ )
+ : TAO_ServerRequestInfo (_tao_server_request),
+ _tao_impl (tao_impl)
+{}
+
+Dynamic::ParameterList *
+POA_IR::ComponentDef::TAO_ServerRequestInfo_IR_ComponentDef_emits_events_get::arguments (CORBA::Environment &ACE_TRY_ENV)
+ ACE_THROW_SPEC ((CORBA::SystemException))
+{
+ // Generate the argument list on demand.
+ Dynamic::ParameterList *parameter_list =
+ TAO_RequestInfo_Util::make_parameter_list (ACE_TRY_ENV);
+ ACE_CHECK_RETURN (0);
+
+ return parameter_list;
+}
+
+Dynamic::ExceptionList *
+POA_IR::ComponentDef::TAO_ServerRequestInfo_IR_ComponentDef_emits_events_get::exceptions (CORBA::Environment &ACE_TRY_ENV)
+ ACE_THROW_SPEC ((CORBA::SystemException))
+{
+ // Generate the exception list on demand.
+ Dynamic::ExceptionList *exception_list =
+ TAO_RequestInfo_Util::make_exception_list (ACE_TRY_ENV);
+ ACE_CHECK_RETURN (0);
+
+ return exception_list;
+}
+
+CORBA::Any *
+POA_IR::ComponentDef::TAO_ServerRequestInfo_IR_ComponentDef_emits_events_get::result (CORBA::Environment &ACE_TRY_ENV)
+ ACE_THROW_SPEC ((CORBA::SystemException))
+{
+ // Generate the result on demand.
+ CORBA::Boolean tk_void_any = 0;
+ CORBA::Any *result_any =
+ TAO_RequestInfo_Util::make_any (tk_void_any, ACE_TRY_ENV);
+ ACE_CHECK_RETURN (0);
+
+ CORBA::Any_var safe_result_any = result_any;
+
+ (*result_any) <<= this->_result;
+
+ return safe_result_any._retn ();
+}
+
+char *
+POA_IR::ComponentDef::TAO_ServerRequestInfo_IR_ComponentDef_emits_events_get::target_most_derived_interface (
+ CORBA::Environment &)
+ ACE_THROW_SPEC ((CORBA::SystemException))
+{
+ return
+ CORBA::string_dup (this->_tao_impl->_interface_repository_id ());
+}
+
+CORBA::Boolean
+POA_IR::ComponentDef::TAO_ServerRequestInfo_IR_ComponentDef_emits_events_get::target_is_a (
+ const char * id,
+ CORBA::Environment &ACE_TRY_ENV)
+ ACE_THROW_SPEC ((CORBA::SystemException))
+{
+ return this->_tao_impl->_is_a (id, ACE_TRY_ENV);
+}
+
+void
+POA_IR::ComponentDef::TAO_ServerRequestInfo_IR_ComponentDef_emits_events_get::result (IR::EmitsDefSeq * result)
+{
+ // Update the result.
+ this->_result = result;
+}
+
+POA_IR::ComponentDef::TAO_ServerRequestInfo_IR_ComponentDef_publishes_events_get::TAO_ServerRequestInfo_IR_ComponentDef_publishes_events_get (
+ TAO_ServerRequest &_tao_server_request,
+ POA_IR::ComponentDef *tao_impl,
+ CORBA::Environment &
+ )
+ : TAO_ServerRequestInfo (_tao_server_request),
+ _tao_impl (tao_impl)
+{}
+
+Dynamic::ParameterList *
+POA_IR::ComponentDef::TAO_ServerRequestInfo_IR_ComponentDef_publishes_events_get::arguments (CORBA::Environment &ACE_TRY_ENV)
+ ACE_THROW_SPEC ((CORBA::SystemException))
+{
+ // Generate the argument list on demand.
+ Dynamic::ParameterList *parameter_list =
+ TAO_RequestInfo_Util::make_parameter_list (ACE_TRY_ENV);
+ ACE_CHECK_RETURN (0);
+
+ return parameter_list;
+}
+
+Dynamic::ExceptionList *
+POA_IR::ComponentDef::TAO_ServerRequestInfo_IR_ComponentDef_publishes_events_get::exceptions (CORBA::Environment &ACE_TRY_ENV)
+ ACE_THROW_SPEC ((CORBA::SystemException))
+{
+ // Generate the exception list on demand.
+ Dynamic::ExceptionList *exception_list =
+ TAO_RequestInfo_Util::make_exception_list (ACE_TRY_ENV);
+ ACE_CHECK_RETURN (0);
+
+ return exception_list;
+}
+
+CORBA::Any *
+POA_IR::ComponentDef::TAO_ServerRequestInfo_IR_ComponentDef_publishes_events_get::result (CORBA::Environment &ACE_TRY_ENV)
+ ACE_THROW_SPEC ((CORBA::SystemException))
+{
+ // Generate the result on demand.
+ CORBA::Boolean tk_void_any = 0;
+ CORBA::Any *result_any =
+ TAO_RequestInfo_Util::make_any (tk_void_any, ACE_TRY_ENV);
+ ACE_CHECK_RETURN (0);
+
+ CORBA::Any_var safe_result_any = result_any;
+
+ (*result_any) <<= this->_result;
+
+ return safe_result_any._retn ();
+}
+
+char *
+POA_IR::ComponentDef::TAO_ServerRequestInfo_IR_ComponentDef_publishes_events_get::target_most_derived_interface (
+ CORBA::Environment &)
+ ACE_THROW_SPEC ((CORBA::SystemException))
+{
+ return
+ CORBA::string_dup (this->_tao_impl->_interface_repository_id ());
+}
+
+CORBA::Boolean
+POA_IR::ComponentDef::TAO_ServerRequestInfo_IR_ComponentDef_publishes_events_get::target_is_a (
+ const char * id,
+ CORBA::Environment &ACE_TRY_ENV)
+ ACE_THROW_SPEC ((CORBA::SystemException))
+{
+ return this->_tao_impl->_is_a (id, ACE_TRY_ENV);
+}
+
+void
+POA_IR::ComponentDef::TAO_ServerRequestInfo_IR_ComponentDef_publishes_events_get::result (IR::PublishesDefSeq * result)
+{
+ // Update the result.
+ this->_result = result;
+}
+
+POA_IR::ComponentDef::TAO_ServerRequestInfo_IR_ComponentDef_consumes_events_get::TAO_ServerRequestInfo_IR_ComponentDef_consumes_events_get (
+ TAO_ServerRequest &_tao_server_request,
+ POA_IR::ComponentDef *tao_impl,
+ CORBA::Environment &
+ )
+ : TAO_ServerRequestInfo (_tao_server_request),
+ _tao_impl (tao_impl)
+{}
+
+Dynamic::ParameterList *
+POA_IR::ComponentDef::TAO_ServerRequestInfo_IR_ComponentDef_consumes_events_get::arguments (CORBA::Environment &ACE_TRY_ENV)
+ ACE_THROW_SPEC ((CORBA::SystemException))
+{
+ // Generate the argument list on demand.
+ Dynamic::ParameterList *parameter_list =
+ TAO_RequestInfo_Util::make_parameter_list (ACE_TRY_ENV);
+ ACE_CHECK_RETURN (0);
+
+ return parameter_list;
+}
+
+Dynamic::ExceptionList *
+POA_IR::ComponentDef::TAO_ServerRequestInfo_IR_ComponentDef_consumes_events_get::exceptions (CORBA::Environment &ACE_TRY_ENV)
+ ACE_THROW_SPEC ((CORBA::SystemException))
+{
+ // Generate the exception list on demand.
+ Dynamic::ExceptionList *exception_list =
+ TAO_RequestInfo_Util::make_exception_list (ACE_TRY_ENV);
+ ACE_CHECK_RETURN (0);
+
+ return exception_list;
+}
+
+CORBA::Any *
+POA_IR::ComponentDef::TAO_ServerRequestInfo_IR_ComponentDef_consumes_events_get::result (CORBA::Environment &ACE_TRY_ENV)
+ ACE_THROW_SPEC ((CORBA::SystemException))
+{
+ // Generate the result on demand.
+ CORBA::Boolean tk_void_any = 0;
+ CORBA::Any *result_any =
+ TAO_RequestInfo_Util::make_any (tk_void_any, ACE_TRY_ENV);
+ ACE_CHECK_RETURN (0);
+
+ CORBA::Any_var safe_result_any = result_any;
+
+ (*result_any) <<= this->_result;
+
+ return safe_result_any._retn ();
+}
+
+char *
+POA_IR::ComponentDef::TAO_ServerRequestInfo_IR_ComponentDef_consumes_events_get::target_most_derived_interface (
+ CORBA::Environment &)
+ ACE_THROW_SPEC ((CORBA::SystemException))
+{
+ return
+ CORBA::string_dup (this->_tao_impl->_interface_repository_id ());
+}
+
+CORBA::Boolean
+POA_IR::ComponentDef::TAO_ServerRequestInfo_IR_ComponentDef_consumes_events_get::target_is_a (
+ const char * id,
+ CORBA::Environment &ACE_TRY_ENV)
+ ACE_THROW_SPEC ((CORBA::SystemException))
+{
+ return this->_tao_impl->_is_a (id, ACE_TRY_ENV);
+}
+
+void
+POA_IR::ComponentDef::TAO_ServerRequestInfo_IR_ComponentDef_consumes_events_get::result (IR::ConsumesDefSeq * result)
+{
+ // Update the result.
+ this->_result = result;
+}
+
+POA_IR::ComponentDef::TAO_ServerRequestInfo_IR_ComponentDef_is_basic_get::TAO_ServerRequestInfo_IR_ComponentDef_is_basic_get (
+ TAO_ServerRequest &_tao_server_request,
+ POA_IR::ComponentDef *tao_impl,
+ CORBA::Environment &
+ )
+ : TAO_ServerRequestInfo (_tao_server_request),
+ _tao_impl (tao_impl)
+{}
+
+Dynamic::ParameterList *
+POA_IR::ComponentDef::TAO_ServerRequestInfo_IR_ComponentDef_is_basic_get::arguments (CORBA::Environment &ACE_TRY_ENV)
+ ACE_THROW_SPEC ((CORBA::SystemException))
+{
+ // Generate the argument list on demand.
+ Dynamic::ParameterList *parameter_list =
+ TAO_RequestInfo_Util::make_parameter_list (ACE_TRY_ENV);
+ ACE_CHECK_RETURN (0);
+
+ return parameter_list;
+}
+
+Dynamic::ExceptionList *
+POA_IR::ComponentDef::TAO_ServerRequestInfo_IR_ComponentDef_is_basic_get::exceptions (CORBA::Environment &ACE_TRY_ENV)
+ ACE_THROW_SPEC ((CORBA::SystemException))
+{
+ // Generate the exception list on demand.
+ Dynamic::ExceptionList *exception_list =
+ TAO_RequestInfo_Util::make_exception_list (ACE_TRY_ENV);
+ ACE_CHECK_RETURN (0);
+
+ return exception_list;
+}
+
+CORBA::Any *
+POA_IR::ComponentDef::TAO_ServerRequestInfo_IR_ComponentDef_is_basic_get::result (CORBA::Environment &ACE_TRY_ENV)
+ ACE_THROW_SPEC ((CORBA::SystemException))
+{
+ // Generate the result on demand.
+ CORBA::Boolean tk_void_any = 0;
+ CORBA::Any *result_any =
+ TAO_RequestInfo_Util::make_any (tk_void_any, ACE_TRY_ENV);
+ ACE_CHECK_RETURN (0);
+
+ CORBA::Any_var safe_result_any = result_any;
+
+ (*result_any) <<= CORBA::Any::from_boolean (this->_result);
+
+ return safe_result_any._retn ();
+}
+
+char *
+POA_IR::ComponentDef::TAO_ServerRequestInfo_IR_ComponentDef_is_basic_get::target_most_derived_interface (
+ CORBA::Environment &)
+ ACE_THROW_SPEC ((CORBA::SystemException))
+{
+ return
+ CORBA::string_dup (this->_tao_impl->_interface_repository_id ());
+}
+
+CORBA::Boolean
+POA_IR::ComponentDef::TAO_ServerRequestInfo_IR_ComponentDef_is_basic_get::target_is_a (
+ const char * id,
+ CORBA::Environment &ACE_TRY_ENV)
+ ACE_THROW_SPEC ((CORBA::SystemException))
+{
+ return this->_tao_impl->_is_a (id, ACE_TRY_ENV);
+}
+
+void
+POA_IR::ComponentDef::TAO_ServerRequestInfo_IR_ComponentDef_is_basic_get::result (CORBA::Boolean result)
+{
+ // Update the result.
+ this->_result = result;
+}
+
+POA_IR::ComponentDef::TAO_ServerRequestInfo_IR_ComponentDef_create_provides::TAO_ServerRequestInfo_IR_ComponentDef_create_provides (
+ TAO_ServerRequest &_tao_server_request,
+ POA_IR::ComponentDef *tao_impl,
+ const char * id,
+ const char * name,
+ const char * version,
+ CORBA::InterfaceDef_ptr interface_type,
+ CORBA::Environment &
+ )
+ : TAO_ServerRequestInfo (_tao_server_request),
+ _tao_impl (tao_impl),
+ id_ (id),
+ name_ (name),
+ version_ (version),
+ interface_type_ (interface_type)
+{}
+
+Dynamic::ParameterList *
+POA_IR::ComponentDef::TAO_ServerRequestInfo_IR_ComponentDef_create_provides::arguments (CORBA::Environment &ACE_TRY_ENV)
+ ACE_THROW_SPEC ((CORBA::SystemException))
+{
+ // Generate the argument list on demand.
+ Dynamic::ParameterList *parameter_list =
+ TAO_RequestInfo_Util::make_parameter_list (ACE_TRY_ENV);
+ ACE_CHECK_RETURN (0);
+
+ Dynamic::ParameterList_var safe_parameter_list = parameter_list;
+
+ CORBA::ULong length_id = parameter_list->length ();
+ parameter_list->length (length_id + 1);
+ (*parameter_list)[length_id].argument <<= id_;
+ (*parameter_list)[length_id].mode = Dynamic::PARAM_IN;
+
+ CORBA::ULong length_name = parameter_list->length ();
+ parameter_list->length (length_name + 1);
+ (*parameter_list)[length_name].argument <<= name_;
+ (*parameter_list)[length_name].mode = Dynamic::PARAM_IN;
+
+ CORBA::ULong length_version = parameter_list->length ();
+ parameter_list->length (length_version + 1);
+ (*parameter_list)[length_version].argument <<= version_;
+ (*parameter_list)[length_version].mode = Dynamic::PARAM_IN;
+
+ CORBA::ULong length_interface_type = parameter_list->length ();
+ parameter_list->length (length_interface_type + 1);
+ (*parameter_list)[length_interface_type].argument <<= this->interface_type_;
+
+ (*parameter_list)[length_interface_type].mode = Dynamic::PARAM_IN;
+
+ return safe_parameter_list._retn ();
+}
+
+Dynamic::ExceptionList *
+POA_IR::ComponentDef::TAO_ServerRequestInfo_IR_ComponentDef_create_provides::exceptions (CORBA::Environment &ACE_TRY_ENV)
+ ACE_THROW_SPEC ((CORBA::SystemException))
+{
+ // Generate the exception list on demand.
+ Dynamic::ExceptionList *exception_list =
+ TAO_RequestInfo_Util::make_exception_list (ACE_TRY_ENV);
+ ACE_CHECK_RETURN (0);
+
+ return exception_list;
+}
+
+CORBA::Any *
+POA_IR::ComponentDef::TAO_ServerRequestInfo_IR_ComponentDef_create_provides::result (CORBA::Environment &ACE_TRY_ENV)
+ ACE_THROW_SPEC ((CORBA::SystemException))
+{
+ // Generate the result on demand.
+ CORBA::Boolean tk_void_any = 0;
+ CORBA::Any *result_any =
+ TAO_RequestInfo_Util::make_any (tk_void_any, ACE_TRY_ENV);
+ ACE_CHECK_RETURN (0);
+
+ CORBA::Any_var safe_result_any = result_any;
+
+ (*result_any) <<= this->_result;
+
+ return safe_result_any._retn ();
+}
+
+char *
+POA_IR::ComponentDef::TAO_ServerRequestInfo_IR_ComponentDef_create_provides::target_most_derived_interface (
+ CORBA::Environment &)
+ ACE_THROW_SPEC ((CORBA::SystemException))
+{
+ return
+ CORBA::string_dup (this->_tao_impl->_interface_repository_id ());
+}
+
+CORBA::Boolean
+POA_IR::ComponentDef::TAO_ServerRequestInfo_IR_ComponentDef_create_provides::target_is_a (
+ const char * id,
+ CORBA::Environment &ACE_TRY_ENV)
+ ACE_THROW_SPEC ((CORBA::SystemException))
+{
+ return this->_tao_impl->_is_a (id, ACE_TRY_ENV);
+}
+
+void
+POA_IR::ComponentDef::TAO_ServerRequestInfo_IR_ComponentDef_create_provides::result (IR::ProvidesDef_ptr result)
+{
+ // Update the result.
+ this->_result = result;
+}
+
+POA_IR::ComponentDef::TAO_ServerRequestInfo_IR_ComponentDef_create_uses::TAO_ServerRequestInfo_IR_ComponentDef_create_uses (
+ TAO_ServerRequest &_tao_server_request,
+ POA_IR::ComponentDef *tao_impl,
+ const char * id,
+ const char * name,
+ const char * version,
+ CORBA::InterfaceDef_ptr interface_type,
+ const CORBA::Boolean & is_multiple,
+ CORBA::Environment &
+ )
+ : TAO_ServerRequestInfo (_tao_server_request),
+ _tao_impl (tao_impl),
+ id_ (id),
+ name_ (name),
+ version_ (version),
+ interface_type_ (interface_type),
+ is_multiple_ (is_multiple)
+{}
+
+Dynamic::ParameterList *
+POA_IR::ComponentDef::TAO_ServerRequestInfo_IR_ComponentDef_create_uses::arguments (CORBA::Environment &ACE_TRY_ENV)
+ ACE_THROW_SPEC ((CORBA::SystemException))
+{
+ // Generate the argument list on demand.
+ Dynamic::ParameterList *parameter_list =
+ TAO_RequestInfo_Util::make_parameter_list (ACE_TRY_ENV);
+ ACE_CHECK_RETURN (0);
+
+ Dynamic::ParameterList_var safe_parameter_list = parameter_list;
+
+ CORBA::ULong length_id = parameter_list->length ();
+ parameter_list->length (length_id + 1);
+ (*parameter_list)[length_id].argument <<= id_;
+ (*parameter_list)[length_id].mode = Dynamic::PARAM_IN;
+
+ CORBA::ULong length_name = parameter_list->length ();
+ parameter_list->length (length_name + 1);
+ (*parameter_list)[length_name].argument <<= name_;
+ (*parameter_list)[length_name].mode = Dynamic::PARAM_IN;
+
+ CORBA::ULong length_version = parameter_list->length ();
+ parameter_list->length (length_version + 1);
+ (*parameter_list)[length_version].argument <<= version_;
+ (*parameter_list)[length_version].mode = Dynamic::PARAM_IN;
+
+ CORBA::ULong length_interface_type = parameter_list->length ();
+ parameter_list->length (length_interface_type + 1);
+ (*parameter_list)[length_interface_type].argument <<= this->interface_type_;
+
+ (*parameter_list)[length_interface_type].mode = Dynamic::PARAM_IN;
+
+ CORBA::ULong length_is_multiple = parameter_list->length ();
+ parameter_list->length (length_is_multiple + 1);
+ (*parameter_list)[length_is_multiple].argument <<= CORBA::Any::from_boolean (this->is_multiple_);
+ (*parameter_list)[length_is_multiple].mode = Dynamic::PARAM_IN;
+
+ return safe_parameter_list._retn ();
+}
+
+Dynamic::ExceptionList *
+POA_IR::ComponentDef::TAO_ServerRequestInfo_IR_ComponentDef_create_uses::exceptions (CORBA::Environment &ACE_TRY_ENV)
+ ACE_THROW_SPEC ((CORBA::SystemException))
+{
+ // Generate the exception list on demand.
+ Dynamic::ExceptionList *exception_list =
+ TAO_RequestInfo_Util::make_exception_list (ACE_TRY_ENV);
+ ACE_CHECK_RETURN (0);
+
+ return exception_list;
+}
+
+CORBA::Any *
+POA_IR::ComponentDef::TAO_ServerRequestInfo_IR_ComponentDef_create_uses::result (CORBA::Environment &ACE_TRY_ENV)
+ ACE_THROW_SPEC ((CORBA::SystemException))
+{
+ // Generate the result on demand.
+ CORBA::Boolean tk_void_any = 0;
+ CORBA::Any *result_any =
+ TAO_RequestInfo_Util::make_any (tk_void_any, ACE_TRY_ENV);
+ ACE_CHECK_RETURN (0);
+
+ CORBA::Any_var safe_result_any = result_any;
+
+ (*result_any) <<= this->_result;
+
+ return safe_result_any._retn ();
+}
+
+char *
+POA_IR::ComponentDef::TAO_ServerRequestInfo_IR_ComponentDef_create_uses::target_most_derived_interface (
+ CORBA::Environment &)
+ ACE_THROW_SPEC ((CORBA::SystemException))
+{
+ return
+ CORBA::string_dup (this->_tao_impl->_interface_repository_id ());
+}
+
+CORBA::Boolean
+POA_IR::ComponentDef::TAO_ServerRequestInfo_IR_ComponentDef_create_uses::target_is_a (
+ const char * id,
+ CORBA::Environment &ACE_TRY_ENV)
+ ACE_THROW_SPEC ((CORBA::SystemException))
+{
+ return this->_tao_impl->_is_a (id, ACE_TRY_ENV);
+}
+
+void
+POA_IR::ComponentDef::TAO_ServerRequestInfo_IR_ComponentDef_create_uses::result (IR::UsesDef_ptr result)
+{
+ // Update the result.
+ this->_result = result;
+}
+
+POA_IR::ComponentDef::TAO_ServerRequestInfo_IR_ComponentDef_create_emits::TAO_ServerRequestInfo_IR_ComponentDef_create_emits (
+ TAO_ServerRequest &_tao_server_request,
+ POA_IR::ComponentDef *tao_impl,
+ const char * id,
+ const char * name,
+ const char * version,
+ CORBA::ValueDef_ptr value,
+ CORBA::Environment &
+ )
+ : TAO_ServerRequestInfo (_tao_server_request),
+ _tao_impl (tao_impl),
+ id_ (id),
+ name_ (name),
+ version_ (version),
+ value_ (value)
+{}
+
+Dynamic::ParameterList *
+POA_IR::ComponentDef::TAO_ServerRequestInfo_IR_ComponentDef_create_emits::arguments (CORBA::Environment &ACE_TRY_ENV)
+ ACE_THROW_SPEC ((CORBA::SystemException))
+{
+ // Generate the argument list on demand.
+ Dynamic::ParameterList *parameter_list =
+ TAO_RequestInfo_Util::make_parameter_list (ACE_TRY_ENV);
+ ACE_CHECK_RETURN (0);
+
+ Dynamic::ParameterList_var safe_parameter_list = parameter_list;
+
+ CORBA::ULong length_id = parameter_list->length ();
+ parameter_list->length (length_id + 1);
+ (*parameter_list)[length_id].argument <<= id_;
+ (*parameter_list)[length_id].mode = Dynamic::PARAM_IN;
+
+ CORBA::ULong length_name = parameter_list->length ();
+ parameter_list->length (length_name + 1);
+ (*parameter_list)[length_name].argument <<= name_;
+ (*parameter_list)[length_name].mode = Dynamic::PARAM_IN;
+
+ CORBA::ULong length_version = parameter_list->length ();
+ parameter_list->length (length_version + 1);
+ (*parameter_list)[length_version].argument <<= version_;
+ (*parameter_list)[length_version].mode = Dynamic::PARAM_IN;
+
+ CORBA::ULong length_value = parameter_list->length ();
+ parameter_list->length (length_value + 1);
+ (*parameter_list)[length_value].argument <<= this->value_;
+
+ (*parameter_list)[length_value].mode = Dynamic::PARAM_IN;
+
+ return safe_parameter_list._retn ();
+}
+
+Dynamic::ExceptionList *
+POA_IR::ComponentDef::TAO_ServerRequestInfo_IR_ComponentDef_create_emits::exceptions (CORBA::Environment &ACE_TRY_ENV)
+ ACE_THROW_SPEC ((CORBA::SystemException))
+{
+ // Generate the exception list on demand.
+ Dynamic::ExceptionList *exception_list =
+ TAO_RequestInfo_Util::make_exception_list (ACE_TRY_ENV);
+ ACE_CHECK_RETURN (0);
+
+ return exception_list;
+}
+
+CORBA::Any *
+POA_IR::ComponentDef::TAO_ServerRequestInfo_IR_ComponentDef_create_emits::result (CORBA::Environment &ACE_TRY_ENV)
+ ACE_THROW_SPEC ((CORBA::SystemException))
+{
+ // Generate the result on demand.
+ CORBA::Boolean tk_void_any = 0;
+ CORBA::Any *result_any =
+ TAO_RequestInfo_Util::make_any (tk_void_any, ACE_TRY_ENV);
+ ACE_CHECK_RETURN (0);
+
+ CORBA::Any_var safe_result_any = result_any;
+
+ (*result_any) <<= this->_result;
+
+ return safe_result_any._retn ();
+}
+
+char *
+POA_IR::ComponentDef::TAO_ServerRequestInfo_IR_ComponentDef_create_emits::target_most_derived_interface (
+ CORBA::Environment &)
+ ACE_THROW_SPEC ((CORBA::SystemException))
+{
+ return
+ CORBA::string_dup (this->_tao_impl->_interface_repository_id ());
+}
+
+CORBA::Boolean
+POA_IR::ComponentDef::TAO_ServerRequestInfo_IR_ComponentDef_create_emits::target_is_a (
+ const char * id,
+ CORBA::Environment &ACE_TRY_ENV)
+ ACE_THROW_SPEC ((CORBA::SystemException))
+{
+ return this->_tao_impl->_is_a (id, ACE_TRY_ENV);
+}
+
+void
+POA_IR::ComponentDef::TAO_ServerRequestInfo_IR_ComponentDef_create_emits::result (IR::EmitsDef_ptr result)
+{
+ // Update the result.
+ this->_result = result;
+}
+
+POA_IR::ComponentDef::TAO_ServerRequestInfo_IR_ComponentDef_create_publishes::TAO_ServerRequestInfo_IR_ComponentDef_create_publishes (
+ TAO_ServerRequest &_tao_server_request,
+ POA_IR::ComponentDef *tao_impl,
+ const char * id,
+ const char * name,
+ const char * version,
+ CORBA::ValueDef_ptr value,
+ CORBA::Environment &
+ )
+ : TAO_ServerRequestInfo (_tao_server_request),
+ _tao_impl (tao_impl),
+ id_ (id),
+ name_ (name),
+ version_ (version),
+ value_ (value)
+{}
+
+Dynamic::ParameterList *
+POA_IR::ComponentDef::TAO_ServerRequestInfo_IR_ComponentDef_create_publishes::arguments (CORBA::Environment &ACE_TRY_ENV)
+ ACE_THROW_SPEC ((CORBA::SystemException))
+{
+ // Generate the argument list on demand.
+ Dynamic::ParameterList *parameter_list =
+ TAO_RequestInfo_Util::make_parameter_list (ACE_TRY_ENV);
+ ACE_CHECK_RETURN (0);
+
+ Dynamic::ParameterList_var safe_parameter_list = parameter_list;
+
+ CORBA::ULong length_id = parameter_list->length ();
+ parameter_list->length (length_id + 1);
+ (*parameter_list)[length_id].argument <<= id_;
+ (*parameter_list)[length_id].mode = Dynamic::PARAM_IN;
+
+ CORBA::ULong length_name = parameter_list->length ();
+ parameter_list->length (length_name + 1);
+ (*parameter_list)[length_name].argument <<= name_;
+ (*parameter_list)[length_name].mode = Dynamic::PARAM_IN;
+
+ CORBA::ULong length_version = parameter_list->length ();
+ parameter_list->length (length_version + 1);
+ (*parameter_list)[length_version].argument <<= version_;
+ (*parameter_list)[length_version].mode = Dynamic::PARAM_IN;
+
+ CORBA::ULong length_value = parameter_list->length ();
+ parameter_list->length (length_value + 1);
+ (*parameter_list)[length_value].argument <<= this->value_;
+
+ (*parameter_list)[length_value].mode = Dynamic::PARAM_IN;
+
+ return safe_parameter_list._retn ();
+}
+
+Dynamic::ExceptionList *
+POA_IR::ComponentDef::TAO_ServerRequestInfo_IR_ComponentDef_create_publishes::exceptions (CORBA::Environment &ACE_TRY_ENV)
+ ACE_THROW_SPEC ((CORBA::SystemException))
+{
+ // Generate the exception list on demand.
+ Dynamic::ExceptionList *exception_list =
+ TAO_RequestInfo_Util::make_exception_list (ACE_TRY_ENV);
+ ACE_CHECK_RETURN (0);
+
+ return exception_list;
+}
+
+CORBA::Any *
+POA_IR::ComponentDef::TAO_ServerRequestInfo_IR_ComponentDef_create_publishes::result (CORBA::Environment &ACE_TRY_ENV)
+ ACE_THROW_SPEC ((CORBA::SystemException))
+{
+ // Generate the result on demand.
+ CORBA::Boolean tk_void_any = 0;
+ CORBA::Any *result_any =
+ TAO_RequestInfo_Util::make_any (tk_void_any, ACE_TRY_ENV);
+ ACE_CHECK_RETURN (0);
+
+ CORBA::Any_var safe_result_any = result_any;
+
+ (*result_any) <<= this->_result;
+
+ return safe_result_any._retn ();
+}
+
+char *
+POA_IR::ComponentDef::TAO_ServerRequestInfo_IR_ComponentDef_create_publishes::target_most_derived_interface (
+ CORBA::Environment &)
+ ACE_THROW_SPEC ((CORBA::SystemException))
+{
+ return
+ CORBA::string_dup (this->_tao_impl->_interface_repository_id ());
+}
+
+CORBA::Boolean
+POA_IR::ComponentDef::TAO_ServerRequestInfo_IR_ComponentDef_create_publishes::target_is_a (
+ const char * id,
+ CORBA::Environment &ACE_TRY_ENV)
+ ACE_THROW_SPEC ((CORBA::SystemException))
+{
+ return this->_tao_impl->_is_a (id, ACE_TRY_ENV);
+}
+
+void
+POA_IR::ComponentDef::TAO_ServerRequestInfo_IR_ComponentDef_create_publishes::result (IR::PublishesDef_ptr result)
+{
+ // Update the result.
+ this->_result = result;
+}
+
+POA_IR::ComponentDef::TAO_ServerRequestInfo_IR_ComponentDef_create_consumes::TAO_ServerRequestInfo_IR_ComponentDef_create_consumes (
+ TAO_ServerRequest &_tao_server_request,
+ POA_IR::ComponentDef *tao_impl,
+ const char * id,
+ const char * name,
+ const char * version,
+ CORBA::ValueDef_ptr value,
+ CORBA::Environment &
+ )
+ : TAO_ServerRequestInfo (_tao_server_request),
+ _tao_impl (tao_impl),
+ id_ (id),
+ name_ (name),
+ version_ (version),
+ value_ (value)
+{}
+
+Dynamic::ParameterList *
+POA_IR::ComponentDef::TAO_ServerRequestInfo_IR_ComponentDef_create_consumes::arguments (CORBA::Environment &ACE_TRY_ENV)
+ ACE_THROW_SPEC ((CORBA::SystemException))
+{
+ // Generate the argument list on demand.
+ Dynamic::ParameterList *parameter_list =
+ TAO_RequestInfo_Util::make_parameter_list (ACE_TRY_ENV);
+ ACE_CHECK_RETURN (0);
+
+ Dynamic::ParameterList_var safe_parameter_list = parameter_list;
+
+ CORBA::ULong length_id = parameter_list->length ();
+ parameter_list->length (length_id + 1);
+ (*parameter_list)[length_id].argument <<= id_;
+ (*parameter_list)[length_id].mode = Dynamic::PARAM_IN;
+
+ CORBA::ULong length_name = parameter_list->length ();
+ parameter_list->length (length_name + 1);
+ (*parameter_list)[length_name].argument <<= name_;
+ (*parameter_list)[length_name].mode = Dynamic::PARAM_IN;
+
+ CORBA::ULong length_version = parameter_list->length ();
+ parameter_list->length (length_version + 1);
+ (*parameter_list)[length_version].argument <<= version_;
+ (*parameter_list)[length_version].mode = Dynamic::PARAM_IN;
+
+ CORBA::ULong length_value = parameter_list->length ();
+ parameter_list->length (length_value + 1);
+ (*parameter_list)[length_value].argument <<= this->value_;
+
+ (*parameter_list)[length_value].mode = Dynamic::PARAM_IN;
+
+ return safe_parameter_list._retn ();
+}
+
+Dynamic::ExceptionList *
+POA_IR::ComponentDef::TAO_ServerRequestInfo_IR_ComponentDef_create_consumes::exceptions (CORBA::Environment &ACE_TRY_ENV)
+ ACE_THROW_SPEC ((CORBA::SystemException))
+{
+ // Generate the exception list on demand.
+ Dynamic::ExceptionList *exception_list =
+ TAO_RequestInfo_Util::make_exception_list (ACE_TRY_ENV);
+ ACE_CHECK_RETURN (0);
+
+ return exception_list;
+}
+
+CORBA::Any *
+POA_IR::ComponentDef::TAO_ServerRequestInfo_IR_ComponentDef_create_consumes::result (CORBA::Environment &ACE_TRY_ENV)
+ ACE_THROW_SPEC ((CORBA::SystemException))
+{
+ // Generate the result on demand.
+ CORBA::Boolean tk_void_any = 0;
+ CORBA::Any *result_any =
+ TAO_RequestInfo_Util::make_any (tk_void_any, ACE_TRY_ENV);
+ ACE_CHECK_RETURN (0);
+
+ CORBA::Any_var safe_result_any = result_any;
+
+ (*result_any) <<= this->_result;
+
+ return safe_result_any._retn ();
+}
+
+char *
+POA_IR::ComponentDef::TAO_ServerRequestInfo_IR_ComponentDef_create_consumes::target_most_derived_interface (
+ CORBA::Environment &)
+ ACE_THROW_SPEC ((CORBA::SystemException))
+{
+ return
+ CORBA::string_dup (this->_tao_impl->_interface_repository_id ());
+}
+
+CORBA::Boolean
+POA_IR::ComponentDef::TAO_ServerRequestInfo_IR_ComponentDef_create_consumes::target_is_a (
+ const char * id,
+ CORBA::Environment &ACE_TRY_ENV)
+ ACE_THROW_SPEC ((CORBA::SystemException))
+{
+ return this->_tao_impl->_is_a (id, ACE_TRY_ENV);
+}
+
+void
+POA_IR::ComponentDef::TAO_ServerRequestInfo_IR_ComponentDef_create_consumes::result (IR::ConsumesDef_ptr result)
+{
+ // Update the result.
+ this->_result = result;
+}
+
+#endif /* TAO_HAS_INTERCEPTORS */
+class TAO_IR_PrimaryKeyDef_Perfect_Hash_OpTable : public TAO_Perfect_Hash_OpTable
+{
+private:
+ unsigned int hash (const char *str, unsigned int len);
+public:
+ const TAO_operation_db_entry * lookup (const char *str, unsigned int len);
+};
+/* starting time is 11:22:00 */
+/* C++ code produced by gperf version 2.8 (ACE version) */
+/* Command-line: gperf -m -M -J -c -C -D -E -T -f 0 -F 0 -a -o -t -p -K opname_ -L C++ -Z TAO_IR_PrimaryKeyDef_Perfect_Hash_OpTable -N lookup */
+unsigned int
+TAO_IR_PrimaryKeyDef_Perfect_Hash_OpTable::hash (const char *str, unsigned int len)
+{
+ static const unsigned char asso_values[] =
+ {
+#if defined (ACE_MVS)
+ 32, 32, 32, 32, 32, 32, 32, 32, 32, 32,
+ 32, 32, 32, 32, 32, 32, 32, 32, 32, 32,
+ 32, 32, 32, 32, 32, 32, 32, 32, 32, 32,
+ 32, 32, 32, 32, 32, 32, 32, 32, 32, 32,
+ 32, 32, 32, 32, 32, 32, 32, 32, 32, 32,
+ 32, 32, 32, 32, 32, 32, 32, 32, 32, 32,
+ 32, 32, 32, 32, 32, 32, 32, 32, 32, 32,
+ 32, 32, 32, 32, 32, 32, 32, 32, 32, 32,
+ 32, 32, 32, 32, 32, 32, 32, 32, 32, 32,
+ 32, 32, 32, 32, 32, 32, 32, 32, 32, 32,
+ 32, 32, 32, 32, 32, 32, 32, 32, 32, 0,
+ 32, 32, 32, 32, 32, 32, 32, 32, 32, 32,
+ 32, 32, 32, 32, 32, 32, 32, 32, 32, 0,
+ 32, 32, 0, 0, 32, 32, 32, 10, 32, 32,
+ 32, 32, 32, 32, 32, 32, 32, 32, 0, 5,
+ 32, 32, 32, 32, 32, 32, 32, 32, 32, 32,
+ 32, 32, 32, 10, 32, 32, 32, 32, 5, 32,
+ 32, 32, 32, 32, 32, 32, 32, 32, 32, 32,
+ 32, 32, 32, 32, 32, 32, 32, 32, 32, 32,
+ 32, 32, 32, 32, 32, 32, 32, 32, 32, 32,
+ 32, 32, 32, 32, 32, 32, 32, 32, 32, 32,
+ 32, 32, 32, 32, 32, 32, 32, 32, 32, 32,
+ 32, 32, 32, 32, 32, 32, 32, 32, 32, 32,
+ 32, 32, 32, 32, 32, 32, 32, 32, 32, 32,
+ 32, 32, 32, 32, 32, 32, 32, 32, 32, 32,
+ 32, 32, 32, 32, 32, 32,
+#else
+ 32, 32, 32, 32, 32, 32, 32, 32, 32, 32,
+ 32, 32, 32, 32, 32, 32, 32, 32, 32, 32,
+ 32, 32, 32, 32, 32, 32, 32, 32, 32, 32,
+ 32, 32, 32, 32, 32, 32, 32, 32, 32, 32,
+ 32, 32, 32, 32, 32, 32, 32, 32, 32, 32,
+ 32, 32, 32, 32, 32, 32, 32, 32, 32, 32,
+ 32, 32, 32, 32, 32, 32, 32, 32, 32, 32,
+ 32, 32, 32, 32, 32, 32, 32, 32, 32, 32,
+ 32, 32, 32, 32, 32, 32, 32, 32, 32, 32,
+ 32, 32, 32, 32, 32, 0, 32, 0, 32, 32,
+ 0, 0, 32, 32, 32, 10, 32, 32, 32, 0,
+ 5, 32, 32, 32, 32, 32, 10, 32, 32, 32,
+ 32, 5, 32, 32, 32, 32, 32, 32,
+#endif /* ACE_MVS */
+ };
+ return len + asso_values[str[len - 1]] + asso_values[str[0]];
+}
+
+const class TAO_operation_db_entry *
+TAO_IR_PrimaryKeyDef_Perfect_Hash_OpTable::lookup (const char *str, unsigned int len)
+{
+ enum
+ {
+ TOTAL_KEYWORDS = 17,
+ MIN_WORD_LENGTH = 4,
+ MAX_WORD_LENGTH = 26,
+ MIN_HASH_VALUE = 4,
+ MAX_HASH_VALUE = 31,
+ HASH_VALUE_RANGE = 28,
+ DUPLICATES = 4
+ };
+
+ static const class TAO_operation_db_entry wordlist[] =
+ {
+ {"",0},{"",0},{"",0},{"",0},
+ {"move", &POA_IR::PrimaryKeyDef::move_skel},
+ {"_is_a", &POA_IR::PrimaryKeyDef::_is_a_skel},
+ {"_get_id", &POA_IR::PrimaryKeyDef::_get_id_skel},
+ {"_set_id", &POA_IR::PrimaryKeyDef::_set_id_skel},
+ {"describe", &POA_IR::PrimaryKeyDef::describe_skel},
+ {"_get_name", &POA_IR::PrimaryKeyDef::_get_name_skel},
+ {"_set_name", &POA_IR::PrimaryKeyDef::_set_name_skel},
+ {"destroy", &POA_IR::PrimaryKeyDef::destroy_skel},
+ {"_get_def_kind", &POA_IR::PrimaryKeyDef::_get_def_kind_skel},
+ {"is_a", &POA_IR::PrimaryKeyDef::is_a_skel},
+ {"_get_version", &POA_IR::PrimaryKeyDef::_get_version_skel},
+ {"_set_version", &POA_IR::PrimaryKeyDef::_set_version_skel},
+ {"_get_absolute_name", &POA_IR::PrimaryKeyDef::_get_absolute_name_skel},
+ {"_get_defined_in", &POA_IR::PrimaryKeyDef::_get_defined_in_skel},
+ {"_get_primary_key", &POA_IR::PrimaryKeyDef::_get_primary_key_skel},
+ {"_non_existent", &POA_IR::PrimaryKeyDef::_non_existent_skel},
+ {"_get_containing_repository", &POA_IR::PrimaryKeyDef::_get_containing_repository_skel},
+ };
+
+ static const signed char lookup[] =
+ {
+ -6, -2, -9, -2, 4, 5, -1, -38, 8, -38, -1, -1, 11, 12,
+ 13, -14, -2, -33, 16, -1, 17, 18, -1, 19, -1, -1, -1, -1,
+ -1, -1, -1, 20,
+ };
+
+ if (len <= MAX_WORD_LENGTH && len >= MIN_WORD_LENGTH)
+ {
+ unsigned int key = hash (str, len);
+
+ if (key <= MAX_HASH_VALUE && key >= MIN_HASH_VALUE)
+ {
+ int slot = lookup[key];
+
+ if (slot >= 0 && slot < MAX_HASH_VALUE)
+ {
+ const char *s = wordlist[slot].opname_;
+
+ if (*str == *s && !strncmp (str + 1, s + 1, len - 1))
+ return &wordlist[slot];
+ }
+ else if (slot < 0 && slot >= -MAX_HASH_VALUE)
+ return 0;
+ else
+ {
+ unsigned int offset = key + slot + (slot > 0 ? -MAX_HASH_VALUE : MAX_HASH_VALUE);
+ const class TAO_operation_db_entry *base = &wordlist[-lookup[offset]];
+ const class TAO_operation_db_entry *ptr = base + -lookup[offset + 1];
+
+ while (--ptr >= base)
+ if (*str == *ptr->opname_ && !strncmp (str + 1, ptr->opname_ + 1, len - 1))
+ return ptr;
+ }
+ }
+ }
+ return 0;
+}
+/* ending time is 11:22:00 */
+static TAO_IR_PrimaryKeyDef_Perfect_Hash_OpTable tao_IR_PrimaryKeyDef_optable;
+
+
+///////////////////////////////////////////////////////////////////////
+// Strategized Proxy Broker Implementation
+//
+
+// Factory function Implementation.
+POA_IR::_TAO_PrimaryKeyDef_Strategized_Proxy_Broker *POA_IR::_TAO_PrimaryKeyDef_Strategized_Proxy_Broker::the_TAO_PrimaryKeyDef_Strategized_Proxy_Broker (void)
+{
+ static POA_IR::_TAO_PrimaryKeyDef_Strategized_Proxy_Broker strategized_proxy_broker;
+ return &strategized_proxy_broker;
+}
+
+POA_IR::_TAO_PrimaryKeyDef_Strategized_Proxy_Broker::_TAO_PrimaryKeyDef_Strategized_Proxy_Broker (void)
+{
+ for (int i = 0; i < TAO_Collocation_Strategies::CS_LAST; ++i)
+ this->proxy_cache_[i] = 0;
+
+}
+
+POA_IR::_TAO_PrimaryKeyDef_Strategized_Proxy_Broker::~_TAO_PrimaryKeyDef_Strategized_Proxy_Broker (void)
+{
+ for (int i = 0; i < TAO_Collocation_Strategies::CS_LAST; ++i)
+ delete this->proxy_cache_[i];
+
+}
+
+IR::_TAO_PrimaryKeyDef_Proxy_Impl&
+POA_IR::_TAO_PrimaryKeyDef_Strategized_Proxy_Broker::select_proxy (
+ ::IR::PrimaryKeyDef *object,
+ CORBA::Environment &ACE_TRY_ENV
+ )
+{
+ int strategy =
+ TAO_ORB_Core::collocation_strategy (object);
+
+ if (this->proxy_cache_[strategy] != 0)
+ return *this->proxy_cache_[strategy];
+
+ this->create_proxy (strategy, ACE_TRY_ENV);
+ ACE_CHECK_RETURN (*this->proxy_cache_[strategy]);
+
+ return *this->proxy_cache_[strategy];
+
+}
+
+void
+POA_IR::_TAO_PrimaryKeyDef_Strategized_Proxy_Broker::create_proxy (
+ int strategy,
+ CORBA::Environment &ACE_TRY_ENV
+ )
+{
+ ACE_GUARD (TAO_SYNCH_MUTEX, guard, this->mutex_);
+
+ if (this->proxy_cache_[strategy] == 0)
+ {
+ switch (strategy)
+ {
+ case TAO_Collocation_Strategies::CS_THRU_POA_STRATEGY:
+ ACE_NEW_THROW_EX (
+ this->proxy_cache_[strategy],
+ POA_IR::_TAO_PrimaryKeyDef_ThruPOA_Proxy_Impl,
+ CORBA::NO_MEMORY ()
+ );
+ ACE_CHECK;
+ break;
+
+ case TAO_Collocation_Strategies::CS_REMOTE_STRATEGY:
+ default:
+ ACE_NEW_THROW_EX (
+ this->proxy_cache_[strategy],
+ ::IR::_TAO_PrimaryKeyDef_Remote_Proxy_Impl,
+ CORBA::NO_MEMORY ()
+ );
+ ACE_CHECK;
+ break;
+
+ }
+
+ }
+}
+
+
+//
+// End Strategized Proxy Broker Implementation
+///////////////////////////////////////////////////////////////////////
+
+
+IR::_TAO_PrimaryKeyDef_Proxy_Broker *
+IR__TAO_PrimaryKeyDef_Proxy_Broker_Factory_function (CORBA::Object_ptr obj)
+{
+ ACE_UNUSED_ARG (obj);
+ return ::POA_IR::_TAO_PrimaryKeyDef_Strategized_Proxy_Broker::the_TAO_PrimaryKeyDef_Strategized_Proxy_Broker();
+}
+
+int
+IR__TAO_PrimaryKeyDef_Proxy_Broker_Factory_Initializer (long _dummy_)
+{
+ ACE_UNUSED_ARG (_dummy_);
+
+ IR__TAO_PrimaryKeyDef_Proxy_Broker_Factory_function_pointer =
+ IR__TAO_PrimaryKeyDef_Proxy_Broker_Factory_function;
+
+ return 0;
+}
+
+static int IR__TAO_PrimaryKeyDef_Proxy_Broker_Stub_Factory_Initializer_Scarecrow =
+ IR__TAO_PrimaryKeyDef_Proxy_Broker_Factory_Initializer (ACE_reinterpret_cast (long, IR__TAO_PrimaryKeyDef_Proxy_Broker_Factory_Initializer));
+
+
+///////////////////////////////////////////////////////////////////////
+// ThruPOA Proxy Implementation
+//
+
+POA_IR::_TAO_PrimaryKeyDef_ThruPOA_Proxy_Impl::_TAO_PrimaryKeyDef_ThruPOA_Proxy_Impl (void)
+{}
+
+// ThruPOA Implementation of the IDL interface methods
+
+CORBA::Boolean POA_IR::_TAO_PrimaryKeyDef_ThruPOA_Proxy_Impl::is_a (
+ CORBA_Object *_collocated_tao_target_,
+ const char * primary_key_id,
+ CORBA::Environment &ACE_TRY_ENV
+ )
+ ACE_THROW_SPEC ((
+ CORBA::SystemException
+ ))
+{
+ CORBA::Boolean _tao_retval = 0;
+ ACE_UNUSED_ARG (_tao_retval);
+ TAO_Object_Adapter::Servant_Upcall servant_upcall (
+ _collocated_tao_target_->_stubobj ()->servant_orb_var ()->orb_core ()
+ );
+ CORBA::Object_var forward_to;
+ servant_upcall.prepare_for_upcall (
+ _collocated_tao_target_->_object_key (),
+ "is_a",
+ forward_to.out (),
+ ACE_TRY_ENV
+ );
+ ACE_CHECK_RETURN (_tao_retval);
+ return ACE_reinterpret_cast (
+ POA_IR::PrimaryKeyDef_ptr,
+ servant_upcall.servant ()->_downcast (
+ "IDL:omg.org/IR/PrimaryKeyDef:1.0"
+ )
+ )->is_a (
+ primary_key_id,
+ ACE_TRY_ENV
+ );
+}
+
+CORBA::ValueDef_ptr POA_IR::_TAO_PrimaryKeyDef_ThruPOA_Proxy_Impl::primary_key (
+ CORBA_Object *_collocated_tao_target_,
+ CORBA::Environment &ACE_TRY_ENV
+ )
+ ACE_THROW_SPEC ((
+ CORBA::SystemException
+ ))
+{
+ CORBA::ValueDef_var _tao_retval;
+ ACE_UNUSED_ARG (_tao_retval);
+ TAO_Object_Adapter::Servant_Upcall servant_upcall (
+ _collocated_tao_target_->_stubobj ()->servant_orb_var ()->orb_core ()
+ );
+ CORBA::Object_var forward_to;
+ servant_upcall.prepare_for_upcall (
+ _collocated_tao_target_->_object_key (),
+ "primary_key",
+ forward_to.out (),
+ ACE_TRY_ENV
+ );
+ ACE_CHECK_RETURN (0);
+ return ACE_reinterpret_cast (
+ POA_IR::PrimaryKeyDef_ptr,
+ servant_upcall.servant ()->_downcast (
+ "IDL:omg.org/IR/PrimaryKeyDef:1.0"
+ )
+ )->primary_key (
+ ACE_TRY_ENV
+ );
+}
+
+//
+// End ThruPOA Proxy Implementation
+///////////////////////////////////////////////////////////////////////
+
+// skeleton constructor
+POA_IR::PrimaryKeyDef::PrimaryKeyDef (void)
+{
+ this->optable_ = &tao_IR_PrimaryKeyDef_optable;
+}
+
+// copy ctor
+POA_IR::PrimaryKeyDef::PrimaryKeyDef (const PrimaryKeyDef& rhs)
+ : ACE_NESTED_CLASS (POA_CORBA,Contained) (rhs),
+ ACE_NESTED_CLASS (POA_CORBA,IRObject) (rhs),
+ TAO_ServantBase (rhs)
+{}
+
+// skeleton destructor
+POA_IR::PrimaryKeyDef::~PrimaryKeyDef (void)
+{
+}
+
+void POA_IR::PrimaryKeyDef::is_a_skel (
+ TAO_ServerRequest &_tao_server_request,
+ void *_tao_object_reference,
+ void * /* context */,
+ CORBA::Environment &ACE_TRY_ENV
+ )
+{
+ TAO_InputCDR &_tao_in = _tao_server_request.incoming ();
+ POA_IR::PrimaryKeyDef *_tao_impl = (POA_IR::PrimaryKeyDef *)_tao_object_reference;
+
+ CORBA::Boolean _tao_retval = 0;
+ CORBA::String_var primary_key_id;
+ if (!(
+ (_tao_in >> primary_key_id.out ())
+ ))
+ ACE_THROW (CORBA::MARSHAL());
+
+
+#if (TAO_HAS_INTERCEPTORS == 1)
+ TAO_ServerRequestInterceptor_Adapter _tao_vfr (
+ _tao_server_request.orb_core ()->server_request_interceptors (),
+ _tao_server_request.interceptor_count ()
+ );
+
+ POA_IR::PrimaryKeyDef::TAO_ServerRequestInfo_IR_PrimaryKeyDef_is_a ri (
+ _tao_server_request,
+ _tao_impl,
+ primary_key_id.in (),
+ ACE_TRY_ENV
+ );
+
+ ACE_TRY
+ {
+ _tao_vfr.receive_request (&ri, ACE_TRY_ENV);
+ ACE_TRY_CHECK;
+
+#endif /* TAO_HAS_INTERCEPTORS */
+ _tao_retval =
+ _tao_impl->is_a (
+ primary_key_id.in (),
+ ACE_TRY_ENV
+ );
+ TAO_INTERCEPTOR_CHECK;
+
+#if (TAO_HAS_INTERCEPTORS == 1)
+ CORBA::Boolean _tao_retval_info = _tao_retval;
+ ri.result (_tao_retval_info);
+ ri.reply_status (PortableInterceptor::SUCCESSFUL);
+ _tao_vfr.send_reply (&ri, ACE_TRY_ENV);
+ ACE_TRY_CHECK;
+ }
+ ACE_CATCH (PortableInterceptor::ForwardRequest, exc)
+ {
+ ri.forward_reference (exc);
+ _tao_vfr.send_other (
+ &ri,
+ ACE_TRY_ENV
+ );
+ ACE_TRY_CHECK;
+ _tao_server_request.forward_location (exc.forward.in ());
+ }
+ ACE_CATCHANY
+ {
+ ri.exception (&ACE_ANY_EXCEPTION);
+ _tao_vfr.send_exception (
+ &ri,
+ ACE_TRY_ENV
+ );
+ ACE_TRY_CHECK;
+ ACE_RE_THROW;
+ }
+ ACE_ENDTRY;
+ ACE_CHECK;
+#endif /* TAO_HAS_INTERCEPTORS */
+
+ _tao_server_request.init_reply ();
+
+ TAO_OutputCDR &_tao_out = _tao_server_request.outgoing ();
+
+ if (!(
+ (_tao_out << CORBA::Any::from_boolean (_tao_retval))
+ ))
+ ACE_THROW (CORBA::MARSHAL());
+
+ // In case ACE_TRY_ENV is not used in this function
+ ACE_UNUSED_ARG (ACE_TRY_ENV);
+}
+
+void POA_IR::PrimaryKeyDef::_get_primary_key_skel (
+ TAO_ServerRequest &_tao_server_request,
+ void *_tao_object_reference,
+ void * /* context */,
+ CORBA::Environment &ACE_TRY_ENV
+ )
+{
+ POA_IR::PrimaryKeyDef *_tao_impl = (POA_IR::PrimaryKeyDef *)_tao_object_reference;
+
+ CORBA::ValueDef_var _tao_retval;
+
+#if (TAO_HAS_INTERCEPTORS == 1)
+ TAO_ServerRequestInterceptor_Adapter _tao_vfr (
+ _tao_server_request.orb_core ()->server_request_interceptors (),
+ _tao_server_request.interceptor_count ()
+ );
+
+ POA_IR::PrimaryKeyDef::TAO_ServerRequestInfo_IR_PrimaryKeyDef_primary_key_get ri (
+ _tao_server_request,
+ _tao_impl,
+ ACE_TRY_ENV
+ );
+
+ ACE_TRY
+ {
+ _tao_vfr.receive_request (&ri, ACE_TRY_ENV);
+ ACE_TRY_CHECK;
+
+#endif /* TAO_HAS_INTERCEPTORS */
+ _tao_retval =
+ _tao_impl->primary_key (
+ ACE_TRY_ENV
+ );
+ TAO_INTERCEPTOR_CHECK;
+
+#if (TAO_HAS_INTERCEPTORS == 1)
+ CORBA::ValueDef_ptr _tao_retval_info = _tao_retval._retn ();
+ ri.result (_tao_retval_info);
+ _tao_retval = _tao_retval_info;
+ ri.reply_status (PortableInterceptor::SUCCESSFUL);
+ _tao_vfr.send_reply (&ri, ACE_TRY_ENV);
+ ACE_TRY_CHECK;
+ }
+ ACE_CATCH (PortableInterceptor::ForwardRequest, exc)
+ {
+ ri.forward_reference (exc);
+ _tao_vfr.send_other (
+ &ri,
+ ACE_TRY_ENV
+ );
+ ACE_TRY_CHECK;
+ _tao_server_request.forward_location (exc.forward.in ());
+ }
+ ACE_CATCHANY
+ {
+ ri.exception (&ACE_ANY_EXCEPTION);
+ _tao_vfr.send_exception (
+ &ri,
+ ACE_TRY_ENV
+ );
+ ACE_TRY_CHECK;
+ ACE_RE_THROW;
+ }
+ ACE_ENDTRY;
+ ACE_CHECK;
+#endif /* TAO_HAS_INTERCEPTORS */
+
+ _tao_server_request.init_reply ();
+
+ TAO_OutputCDR &_tao_out = _tao_server_request.outgoing ();
+
+ if (!(
+ (_tao_out << _tao_retval.in ())
+ ))
+ ACE_THROW (CORBA::MARSHAL());
+
+ // In case ACE_TRY_ENV is not used in this function
+ ACE_UNUSED_ARG (ACE_TRY_ENV);
+}
+
+void POA_IR::PrimaryKeyDef::_is_a_skel (
+ TAO_ServerRequest &_tao_server_request,
+ void * _tao_object_reference,
+ void * /* context */,
+ CORBA::Environment &ACE_TRY_ENV
+ )
+{
+ TAO_InputCDR &_tao_in = _tao_server_request.incoming ();
+ POA_IR::PrimaryKeyDef *_tao_impl = (POA_IR::PrimaryKeyDef *) _tao_object_reference;
+ CORBA::Boolean _tao_retval = 0;
+ CORBA::String_var value;
+ if (!(_tao_in >> value.out ()))
+ ACE_THROW (CORBA::MARSHAL ());
+
+ _tao_retval = _tao_impl->_is_a (value.in (), ACE_TRY_ENV);
+ ACE_CHECK;
+
+ _tao_server_request.init_reply ();
+ TAO_OutputCDR &_tao_out = _tao_server_request.outgoing ();
+ if (!(_tao_out << CORBA::Any::from_boolean (_tao_retval)))
+ ACE_THROW (CORBA::MARSHAL ());
+}
+
+void POA_IR::PrimaryKeyDef::_non_existent_skel (
+ TAO_ServerRequest &_tao_server_request,
+ void * _tao_object_reference,
+ void * /* context */,
+ CORBA::Environment &ACE_TRY_ENV
+ )
+{
+ POA_IR::PrimaryKeyDef *_tao_impl = (POA_IR::PrimaryKeyDef *) _tao_object_reference;
+ CORBA::Boolean _tao_retval = _tao_impl->_non_existent (ACE_TRY_ENV);
+ ACE_CHECK;
+
+ _tao_server_request.init_reply ();
+ TAO_OutputCDR &_tao_out = _tao_server_request.outgoing ();
+ if (!(_tao_out << CORBA::Any::from_boolean (_tao_retval)))
+ ACE_THROW (CORBA::MARSHAL ());
+}
+
+CORBA::Boolean POA_IR::PrimaryKeyDef::_is_a (
+ const char* value,
+ CORBA::Environment &ACE_TRY_ENV
+ )
+{
+ const char *base_id = CORBA::_tc_Object->id (ACE_TRY_ENV);
+ ACE_CHECK_RETURN (0);
+
+ if (
+ (!ACE_OS::strcmp ((char *)value, "IDL:omg.org/IR/PrimaryKeyDef:1.0")) ||
+ (!ACE_OS::strcmp ((char *)value, "IDL:omg.org/CORBA/Contained:1.0")) ||
+ (!ACE_OS::strcmp ((char *)value, "IDL:omg.org/CORBA/IRObject:1.0")) ||
+ (!ACE_OS::strcmp ((char *)value, base_id)))
+ return 1;
+ else
+ return 0;
+}
+
+void* POA_IR::PrimaryKeyDef::_downcast (
+ const char* logical_type_id
+ )
+{
+ if (ACE_OS::strcmp (logical_type_id, "IDL:omg.org/IR/PrimaryKeyDef:1.0") == 0)
+ return ACE_static_cast (POA_IR::PrimaryKeyDef_ptr, this);
+ if (ACE_OS::strcmp (logical_type_id, "IDL:omg.org/CORBA/Contained:1.0") == 0)
+ return ACE_static_cast (POA_CORBA::Contained_ptr, this);
+ if (ACE_OS::strcmp (logical_type_id, "IDL:omg.org/CORBA/IRObject:1.0") == 0)
+ return ACE_static_cast (POA_CORBA::IRObject_ptr, this);
+ if (ACE_OS::strcmp (logical_type_id, "IDL:omg.org/CORBA/Object:1.0") == 0)
+ return ACE_static_cast(PortableServer::Servant, this);
+ return 0;
+}
+
+void POA_IR::PrimaryKeyDef::_dispatch (TAO_ServerRequest &req, void *context, CORBA::Environment &ACE_TRY_ENV)
+{
+ this->synchronous_upcall_dispatch(req, context, this, ACE_TRY_ENV);
+}
+
+const char* POA_IR::PrimaryKeyDef::_interface_repository_id (void) const
+{
+ return "IDL:omg.org/IR/PrimaryKeyDef:1.0";
+}
+
+IR::PrimaryKeyDef*
+POA_IR::PrimaryKeyDef::_this (CORBA_Environment &ACE_TRY_ENV)
+{
+ TAO_Stub *stub = this->_create_stub (ACE_TRY_ENV);
+ ACE_CHECK_RETURN (0);
+
+ CORBA::Object_ptr tmp = CORBA::Object::_nil ();
+
+ if (stub->servant_orb_var ()->orb_core ()->optimize_collocation_objects ())
+ ACE_NEW_RETURN (tmp, CORBA::Object (stub, 1, this), 0);
+ else
+ ACE_NEW_RETURN (tmp, CORBA::Object (stub, 0, this), 0);
+
+ CORBA::Object_var obj = tmp;
+ return ::IR::PrimaryKeyDef::_unchecked_narrow (obj.in ());
+}
+
+
+#if (TAO_HAS_INTERCEPTORS == 1)
+POA_IR::PrimaryKeyDef::TAO_ServerRequestInfo_IR_PrimaryKeyDef_is_a::TAO_ServerRequestInfo_IR_PrimaryKeyDef_is_a (
+ TAO_ServerRequest &_tao_server_request,
+ POA_IR::PrimaryKeyDef *tao_impl,
+ const char * primary_key_id,
+ CORBA::Environment &
+ )
+ : TAO_ServerRequestInfo (_tao_server_request),
+ _tao_impl (tao_impl),
+ primary_key_id_ (primary_key_id)
+{}
+
+Dynamic::ParameterList *
+POA_IR::PrimaryKeyDef::TAO_ServerRequestInfo_IR_PrimaryKeyDef_is_a::arguments (CORBA::Environment &ACE_TRY_ENV)
+ ACE_THROW_SPEC ((CORBA::SystemException))
+{
+ // Generate the argument list on demand.
+ Dynamic::ParameterList *parameter_list =
+ TAO_RequestInfo_Util::make_parameter_list (ACE_TRY_ENV);
+ ACE_CHECK_RETURN (0);
+
+ Dynamic::ParameterList_var safe_parameter_list = parameter_list;
+
+ CORBA::ULong length_primary_key_id = parameter_list->length ();
+ parameter_list->length (length_primary_key_id + 1);
+ (*parameter_list)[length_primary_key_id].argument <<= primary_key_id_;
+ (*parameter_list)[length_primary_key_id].mode = Dynamic::PARAM_IN;
+
+ return safe_parameter_list._retn ();
+}
+
+Dynamic::ExceptionList *
+POA_IR::PrimaryKeyDef::TAO_ServerRequestInfo_IR_PrimaryKeyDef_is_a::exceptions (CORBA::Environment &ACE_TRY_ENV)
+ ACE_THROW_SPEC ((CORBA::SystemException))
+{
+ // Generate the exception list on demand.
+ Dynamic::ExceptionList *exception_list =
+ TAO_RequestInfo_Util::make_exception_list (ACE_TRY_ENV);
+ ACE_CHECK_RETURN (0);
+
+ return exception_list;
+}
+
+CORBA::Any *
+POA_IR::PrimaryKeyDef::TAO_ServerRequestInfo_IR_PrimaryKeyDef_is_a::result (CORBA::Environment &ACE_TRY_ENV)
+ ACE_THROW_SPEC ((CORBA::SystemException))
+{
+ // Generate the result on demand.
+ CORBA::Boolean tk_void_any = 0;
+ CORBA::Any *result_any =
+ TAO_RequestInfo_Util::make_any (tk_void_any, ACE_TRY_ENV);
+ ACE_CHECK_RETURN (0);
+
+ CORBA::Any_var safe_result_any = result_any;
+
+ (*result_any) <<= CORBA::Any::from_boolean (this->_result);
+
+ return safe_result_any._retn ();
+}
+
+char *
+POA_IR::PrimaryKeyDef::TAO_ServerRequestInfo_IR_PrimaryKeyDef_is_a::target_most_derived_interface (
+ CORBA::Environment &)
+ ACE_THROW_SPEC ((CORBA::SystemException))
+{
+ return
+ CORBA::string_dup (this->_tao_impl->_interface_repository_id ());
+}
+
+CORBA::Boolean
+POA_IR::PrimaryKeyDef::TAO_ServerRequestInfo_IR_PrimaryKeyDef_is_a::target_is_a (
+ const char * id,
+ CORBA::Environment &ACE_TRY_ENV)
+ ACE_THROW_SPEC ((CORBA::SystemException))
+{
+ return this->_tao_impl->_is_a (id, ACE_TRY_ENV);
+}
+
+void
+POA_IR::PrimaryKeyDef::TAO_ServerRequestInfo_IR_PrimaryKeyDef_is_a::result (CORBA::Boolean result)
+{
+ // Update the result.
+ this->_result = result;
+}
+
+POA_IR::PrimaryKeyDef::TAO_ServerRequestInfo_IR_PrimaryKeyDef_primary_key_get::TAO_ServerRequestInfo_IR_PrimaryKeyDef_primary_key_get (
+ TAO_ServerRequest &_tao_server_request,
+ POA_IR::PrimaryKeyDef *tao_impl,
+ CORBA::Environment &
+ )
+ : TAO_ServerRequestInfo (_tao_server_request),
+ _tao_impl (tao_impl)
+{}
+
+Dynamic::ParameterList *
+POA_IR::PrimaryKeyDef::TAO_ServerRequestInfo_IR_PrimaryKeyDef_primary_key_get::arguments (CORBA::Environment &ACE_TRY_ENV)
+ ACE_THROW_SPEC ((CORBA::SystemException))
+{
+ // Generate the argument list on demand.
+ Dynamic::ParameterList *parameter_list =
+ TAO_RequestInfo_Util::make_parameter_list (ACE_TRY_ENV);
+ ACE_CHECK_RETURN (0);
+
+ return parameter_list;
+}
+
+Dynamic::ExceptionList *
+POA_IR::PrimaryKeyDef::TAO_ServerRequestInfo_IR_PrimaryKeyDef_primary_key_get::exceptions (CORBA::Environment &ACE_TRY_ENV)
+ ACE_THROW_SPEC ((CORBA::SystemException))
+{
+ // Generate the exception list on demand.
+ Dynamic::ExceptionList *exception_list =
+ TAO_RequestInfo_Util::make_exception_list (ACE_TRY_ENV);
+ ACE_CHECK_RETURN (0);
+
+ return exception_list;
+}
+
+CORBA::Any *
+POA_IR::PrimaryKeyDef::TAO_ServerRequestInfo_IR_PrimaryKeyDef_primary_key_get::result (CORBA::Environment &ACE_TRY_ENV)
+ ACE_THROW_SPEC ((CORBA::SystemException))
+{
+ // Generate the result on demand.
+ CORBA::Boolean tk_void_any = 0;
+ CORBA::Any *result_any =
+ TAO_RequestInfo_Util::make_any (tk_void_any, ACE_TRY_ENV);
+ ACE_CHECK_RETURN (0);
+
+ CORBA::Any_var safe_result_any = result_any;
+
+ (*result_any) <<= this->_result;
+
+ return safe_result_any._retn ();
+}
+
+char *
+POA_IR::PrimaryKeyDef::TAO_ServerRequestInfo_IR_PrimaryKeyDef_primary_key_get::target_most_derived_interface (
+ CORBA::Environment &)
+ ACE_THROW_SPEC ((CORBA::SystemException))
+{
+ return
+ CORBA::string_dup (this->_tao_impl->_interface_repository_id ());
+}
+
+CORBA::Boolean
+POA_IR::PrimaryKeyDef::TAO_ServerRequestInfo_IR_PrimaryKeyDef_primary_key_get::target_is_a (
+ const char * id,
+ CORBA::Environment &ACE_TRY_ENV)
+ ACE_THROW_SPEC ((CORBA::SystemException))
+{
+ return this->_tao_impl->_is_a (id, ACE_TRY_ENV);
+}
+
+void
+POA_IR::PrimaryKeyDef::TAO_ServerRequestInfo_IR_PrimaryKeyDef_primary_key_get::result (CORBA::ValueDef_ptr result)
+{
+ // Update the result.
+ this->_result = result;
+}
+
+#endif /* TAO_HAS_INTERCEPTORS */
+class TAO_IR_FactoryDef_Perfect_Hash_OpTable : public TAO_Perfect_Hash_OpTable
+{
+private:
+ unsigned int hash (const char *str, unsigned int len);
+public:
+ const TAO_operation_db_entry * lookup (const char *str, unsigned int len);
+};
+/* starting time is 11:22:00 */
+/* C++ code produced by gperf version 2.8 (ACE version) */
+/* Command-line: gperf -m -M -J -c -C -D -E -T -f 0 -F 0 -a -o -t -p -K opname_ -L C++ -Z TAO_IR_FactoryDef_Perfect_Hash_OpTable -N lookup */
+unsigned int
+TAO_IR_FactoryDef_Perfect_Hash_OpTable::hash (const char *str, unsigned int len)
+{
+ static const unsigned char asso_values[] =
+ {
+#if defined (ACE_MVS)
+ 37, 37, 37, 37, 37, 37, 37, 37, 37, 37,
+ 37, 37, 37, 37, 37, 37, 37, 37, 37, 37,
+ 37, 37, 37, 37, 37, 37, 37, 37, 37, 37,
+ 37, 37, 37, 37, 37, 37, 37, 37, 37, 37,
+ 37, 37, 37, 37, 37, 37, 37, 37, 37, 37,
+ 37, 37, 37, 37, 37, 37, 37, 37, 37, 37,
+ 37, 37, 37, 37, 37, 37, 37, 37, 37, 37,
+ 37, 37, 37, 37, 37, 37, 37, 37, 37, 37,
+ 37, 37, 37, 37, 37, 37, 37, 37, 37, 37,
+ 37, 37, 37, 37, 37, 37, 37, 37, 37, 37,
+ 37, 37, 37, 37, 37, 37, 37, 37, 37, 0,
+ 37, 37, 37, 37, 37, 37, 37, 37, 37, 37,
+ 37, 37, 37, 37, 37, 37, 37, 37, 37, 0,
+ 37, 37, 15, 0, 10, 37, 37, 37, 37, 37,
+ 37, 37, 37, 37, 37, 37, 37, 37, 0, 5,
+ 37, 37, 37, 37, 37, 37, 37, 37, 37, 37,
+ 37, 37, 0, 20, 37, 37, 37, 37, 10, 37,
+ 37, 37, 37, 37, 37, 37, 37, 37, 37, 37,
+ 37, 37, 37, 37, 37, 37, 37, 37, 37, 37,
+ 37, 37, 37, 37, 37, 37, 37, 37, 37, 37,
+ 37, 37, 37, 37, 37, 37, 37, 37, 37, 37,
+ 37, 37, 37, 37, 37, 37, 37, 37, 37, 37,
+ 37, 37, 37, 37, 37, 37, 37, 37, 37, 37,
+ 37, 37, 37, 37, 37, 37, 37, 37, 37, 37,
+ 37, 37, 37, 37, 37, 37, 37, 37, 37, 37,
+ 37, 37, 37, 37, 37, 37,
+#else
+ 37, 37, 37, 37, 37, 37, 37, 37, 37, 37,
+ 37, 37, 37, 37, 37, 37, 37, 37, 37, 37,
+ 37, 37, 37, 37, 37, 37, 37, 37, 37, 37,
+ 37, 37, 37, 37, 37, 37, 37, 37, 37, 37,
+ 37, 37, 37, 37, 37, 37, 37, 37, 37, 37,
+ 37, 37, 37, 37, 37, 37, 37, 37, 37, 37,
+ 37, 37, 37, 37, 37, 37, 37, 37, 37, 37,
+ 37, 37, 37, 37, 37, 37, 37, 37, 37, 37,
+ 37, 37, 37, 37, 37, 37, 37, 37, 37, 37,
+ 37, 37, 37, 37, 37, 0, 37, 0, 37, 37,
+ 15, 0, 10, 37, 37, 37, 37, 37, 37, 0,
+ 5, 37, 37, 37, 37, 0, 20, 37, 37, 37,
+ 37, 10, 37, 37, 37, 37, 37, 37,
+#endif /* ACE_MVS */
+ };
+ return len + asso_values[str[len - 1]] + asso_values[str[0]];
+}
+
+const class TAO_operation_db_entry *
+TAO_IR_FactoryDef_Perfect_Hash_OpTable::lookup (const char *str, unsigned int len)
+{
+ enum
+ {
+ TOTAL_KEYWORDS = 26,
+ MIN_WORD_LENGTH = 4,
+ MAX_WORD_LENGTH = 26,
+ MIN_HASH_VALUE = 4,
+ MAX_HASH_VALUE = 36,
+ HASH_VALUE_RANGE = 33,
+ DUPLICATES = 10
+ };
+
+ static const class TAO_operation_db_entry wordlist[] =
+ {
+ {"",0},{"",0},{"",0},{"",0},
+ {"move", &POA_IR::FactoryDef::move_skel},
+ {"_is_a", &POA_IR::FactoryDef::_is_a_skel},
+ {"_get_mode", &POA_IR::FactoryDef::_get_mode_skel},
+ {"_set_name", &POA_IR::FactoryDef::_set_name_skel},
+ {"_get_name", &POA_IR::FactoryDef::_get_name_skel},
+ {"_set_mode", &POA_IR::FactoryDef::_set_mode_skel},
+ {"_get_params", &POA_IR::FactoryDef::_get_params_skel},
+ {"_set_params", &POA_IR::FactoryDef::_set_params_skel},
+ {"_get_contexts", &POA_IR::FactoryDef::_get_contexts_skel},
+ {"_set_contexts", &POA_IR::FactoryDef::_set_contexts_skel},
+ {"_get_exceptions", &POA_IR::FactoryDef::_get_exceptions_skel},
+ {"_set_exceptions", &POA_IR::FactoryDef::_set_exceptions_skel},
+ {"_get_version", &POA_IR::FactoryDef::_get_version_skel},
+ {"_set_version", &POA_IR::FactoryDef::_set_version_skel},
+ {"_get_absolute_name", &POA_IR::FactoryDef::_get_absolute_name_skel},
+ {"_get_defined_in", &POA_IR::FactoryDef::_get_defined_in_skel},
+ {"_get_id", &POA_IR::FactoryDef::_get_id_skel},
+ {"_set_id", &POA_IR::FactoryDef::_set_id_skel},
+ {"describe", &POA_IR::FactoryDef::describe_skel},
+ {"_get_result_def", &POA_IR::FactoryDef::_get_result_def_skel},
+ {"_set_result_def", &POA_IR::FactoryDef::_set_result_def_skel},
+ {"_get_def_kind", &POA_IR::FactoryDef::_get_def_kind_skel},
+ {"_get_result", &POA_IR::FactoryDef::_get_result_skel},
+ {"destroy", &POA_IR::FactoryDef::destroy_skel},
+ {"_non_existent", &POA_IR::FactoryDef::_non_existent_skel},
+ {"_get_containing_repository", &POA_IR::FactoryDef::_get_containing_repository_skel},
+ };
+
+ if (len <= MAX_WORD_LENGTH && len >= MIN_WORD_LENGTH)
+ {
+ unsigned int key = hash (str, len);
+
+ if (key <= MAX_HASH_VALUE && key >= MIN_HASH_VALUE)
+ {
+ {
+ const class TAO_operation_db_entry *resword;
+
+ switch (key)
+ {
+ case 4:
+ resword = &wordlist[4]; break;
+ case 5:
+ resword = &wordlist[5]; break;
+ case 9:
+ resword = &wordlist[6];
+ if (*str == *resword->opname_ && !strncmp (str + 1, resword->opname_ + 1, len - 1)) return resword;
+ resword = &wordlist[7];
+ if (*str == *resword->opname_ && !strncmp (str + 1, resword->opname_ + 1, len - 1)) return resword;
+ resword = &wordlist[8];
+ if (*str == *resword->opname_ && !strncmp (str + 1, resword->opname_ + 1, len - 1)) return resword;
+ resword = &wordlist[9];
+ if (*str == *resword->opname_ && !strncmp (str + 1, resword->opname_ + 1, len - 1)) return resword;
+ return 0;
+ case 11:
+ resword = &wordlist[10];
+ if (*str == *resword->opname_ && !strncmp (str + 1, resword->opname_ + 1, len - 1)) return resword;
+ resword = &wordlist[11];
+ if (*str == *resword->opname_ && !strncmp (str + 1, resword->opname_ + 1, len - 1)) return resword;
+ return 0;
+ case 13:
+ resword = &wordlist[12];
+ if (*str == *resword->opname_ && !strncmp (str + 1, resword->opname_ + 1, len - 1)) return resword;
+ resword = &wordlist[13];
+ if (*str == *resword->opname_ && !strncmp (str + 1, resword->opname_ + 1, len - 1)) return resword;
+ return 0;
+ case 15:
+ resword = &wordlist[14];
+ if (*str == *resword->opname_ && !strncmp (str + 1, resword->opname_ + 1, len - 1)) return resword;
+ resword = &wordlist[15];
+ if (*str == *resword->opname_ && !strncmp (str + 1, resword->opname_ + 1, len - 1)) return resword;
+ return 0;
+ case 17:
+ resword = &wordlist[16];
+ if (*str == *resword->opname_ && !strncmp (str + 1, resword->opname_ + 1, len - 1)) return resword;
+ resword = &wordlist[17];
+ if (*str == *resword->opname_ && !strncmp (str + 1, resword->opname_ + 1, len - 1)) return resword;
+ return 0;
+ case 18:
+ resword = &wordlist[18]; break;
+ case 20:
+ resword = &wordlist[19]; break;
+ case 22:
+ resword = &wordlist[20];
+ if (*str == *resword->opname_ && !strncmp (str + 1, resword->opname_ + 1, len - 1)) return resword;
+ resword = &wordlist[21];
+ if (*str == *resword->opname_ && !strncmp (str + 1, resword->opname_ + 1, len - 1)) return resword;
+ return 0;
+ case 23:
+ resword = &wordlist[22]; break;
+ case 25:
+ resword = &wordlist[23];
+ if (*str == *resword->opname_ && !strncmp (str + 1, resword->opname_ + 1, len - 1)) return resword;
+ resword = &wordlist[24];
+ if (*str == *resword->opname_ && !strncmp (str + 1, resword->opname_ + 1, len - 1)) return resword;
+ return 0;
+ case 28:
+ resword = &wordlist[25]; break;
+ case 31:
+ resword = &wordlist[26]; break;
+ case 32:
+ resword = &wordlist[27]; break;
+ case 33:
+ resword = &wordlist[28]; break;
+ case 36:
+ resword = &wordlist[29]; break;
+ default: return 0;
+ }
+ if (*str == *resword->opname_ && !strncmp (str + 1, resword->opname_ + 1, len - 1))
+ return resword;
+ return 0;
+ }
+ }
+ }
+ return 0;
+}
+/* ending time is 11:22:00 */
+static TAO_IR_FactoryDef_Perfect_Hash_OpTable tao_IR_FactoryDef_optable;
+
+
+///////////////////////////////////////////////////////////////////////
+// Strategized Proxy Broker Implementation
+//
+
+// Factory function Implementation.
+POA_IR::_TAO_FactoryDef_Strategized_Proxy_Broker *POA_IR::_TAO_FactoryDef_Strategized_Proxy_Broker::the_TAO_FactoryDef_Strategized_Proxy_Broker (void)
+{
+ static POA_IR::_TAO_FactoryDef_Strategized_Proxy_Broker strategized_proxy_broker;
+ return &strategized_proxy_broker;
+}
+
+POA_IR::_TAO_FactoryDef_Strategized_Proxy_Broker::_TAO_FactoryDef_Strategized_Proxy_Broker (void)
+{
+ for (int i = 0; i < TAO_Collocation_Strategies::CS_LAST; ++i)
+ this->proxy_cache_[i] = 0;
+
+}
+
+POA_IR::_TAO_FactoryDef_Strategized_Proxy_Broker::~_TAO_FactoryDef_Strategized_Proxy_Broker (void)
+{
+ for (int i = 0; i < TAO_Collocation_Strategies::CS_LAST; ++i)
+ delete this->proxy_cache_[i];
+
+}
+
+IR::_TAO_FactoryDef_Proxy_Impl&
+POA_IR::_TAO_FactoryDef_Strategized_Proxy_Broker::select_proxy (
+ ::IR::FactoryDef *object,
+ CORBA::Environment &ACE_TRY_ENV
+ )
+{
+ int strategy =
+ TAO_ORB_Core::collocation_strategy (object);
+
+ if (this->proxy_cache_[strategy] != 0)
+ return *this->proxy_cache_[strategy];
+
+ this->create_proxy (strategy, ACE_TRY_ENV);
+ ACE_CHECK_RETURN (*this->proxy_cache_[strategy]);
+
+ return *this->proxy_cache_[strategy];
+
+}
+
+void
+POA_IR::_TAO_FactoryDef_Strategized_Proxy_Broker::create_proxy (
+ int strategy,
+ CORBA::Environment &ACE_TRY_ENV
+ )
+{
+ ACE_GUARD (TAO_SYNCH_MUTEX, guard, this->mutex_);
+
+ if (this->proxy_cache_[strategy] == 0)
+ {
+ switch (strategy)
+ {
+ case TAO_Collocation_Strategies::CS_THRU_POA_STRATEGY:
+ ACE_NEW_THROW_EX (
+ this->proxy_cache_[strategy],
+ POA_IR::_TAO_FactoryDef_ThruPOA_Proxy_Impl,
+ CORBA::NO_MEMORY ()
+ );
+ ACE_CHECK;
+ break;
+
+ case TAO_Collocation_Strategies::CS_REMOTE_STRATEGY:
+ default:
+ ACE_NEW_THROW_EX (
+ this->proxy_cache_[strategy],
+ ::IR::_TAO_FactoryDef_Remote_Proxy_Impl,
+ CORBA::NO_MEMORY ()
+ );
+ ACE_CHECK;
+ break;
+
+ }
+
+ }
+}
+
+
+//
+// End Strategized Proxy Broker Implementation
+///////////////////////////////////////////////////////////////////////
+
+
+IR::_TAO_FactoryDef_Proxy_Broker *
+IR__TAO_FactoryDef_Proxy_Broker_Factory_function (CORBA::Object_ptr obj)
+{
+ ACE_UNUSED_ARG (obj);
+ return ::POA_IR::_TAO_FactoryDef_Strategized_Proxy_Broker::the_TAO_FactoryDef_Strategized_Proxy_Broker();
+}
+
+int
+IR__TAO_FactoryDef_Proxy_Broker_Factory_Initializer (long _dummy_)
+{
+ ACE_UNUSED_ARG (_dummy_);
+
+ IR__TAO_FactoryDef_Proxy_Broker_Factory_function_pointer =
+ IR__TAO_FactoryDef_Proxy_Broker_Factory_function;
+
+ return 0;
+}
+
+static int IR__TAO_FactoryDef_Proxy_Broker_Stub_Factory_Initializer_Scarecrow =
+ IR__TAO_FactoryDef_Proxy_Broker_Factory_Initializer (ACE_reinterpret_cast (long, IR__TAO_FactoryDef_Proxy_Broker_Factory_Initializer));
+
+
+///////////////////////////////////////////////////////////////////////
+// ThruPOA Proxy Implementation
+//
+
+POA_IR::_TAO_FactoryDef_ThruPOA_Proxy_Impl::_TAO_FactoryDef_ThruPOA_Proxy_Impl (void)
+{}
+
+// ThruPOA Implementation of the IDL interface methods
+
+//
+// End ThruPOA Proxy Implementation
+///////////////////////////////////////////////////////////////////////
+
+// skeleton constructor
+POA_IR::FactoryDef::FactoryDef (void)
+{
+ this->optable_ = &tao_IR_FactoryDef_optable;
+}
+
+// copy ctor
+POA_IR::FactoryDef::FactoryDef (const FactoryDef& rhs)
+ : ACE_NESTED_CLASS (POA_CORBA,OperationDef) (rhs),
+ ACE_NESTED_CLASS (POA_CORBA,Contained) (rhs),
+ ACE_NESTED_CLASS (POA_CORBA,IRObject) (rhs),
+ TAO_ServantBase (rhs)
+{}
+
+// skeleton destructor
+POA_IR::FactoryDef::~FactoryDef (void)
+{
+}
+
+void POA_IR::FactoryDef::_is_a_skel (
+ TAO_ServerRequest &_tao_server_request,
+ void * _tao_object_reference,
+ void * /* context */,
+ CORBA::Environment &ACE_TRY_ENV
+ )
+{
+ TAO_InputCDR &_tao_in = _tao_server_request.incoming ();
+ POA_IR::FactoryDef *_tao_impl = (POA_IR::FactoryDef *) _tao_object_reference;
+ CORBA::Boolean _tao_retval = 0;
+ CORBA::String_var value;
+ if (!(_tao_in >> value.out ()))
+ ACE_THROW (CORBA::MARSHAL ());
+
+ _tao_retval = _tao_impl->_is_a (value.in (), ACE_TRY_ENV);
+ ACE_CHECK;
+
+ _tao_server_request.init_reply ();
+ TAO_OutputCDR &_tao_out = _tao_server_request.outgoing ();
+ if (!(_tao_out << CORBA::Any::from_boolean (_tao_retval)))
+ ACE_THROW (CORBA::MARSHAL ());
+}
+
+void POA_IR::FactoryDef::_non_existent_skel (
+ TAO_ServerRequest &_tao_server_request,
+ void * _tao_object_reference,
+ void * /* context */,
+ CORBA::Environment &ACE_TRY_ENV
+ )
+{
+ POA_IR::FactoryDef *_tao_impl = (POA_IR::FactoryDef *) _tao_object_reference;
+ CORBA::Boolean _tao_retval = _tao_impl->_non_existent (ACE_TRY_ENV);
+ ACE_CHECK;
+
+ _tao_server_request.init_reply ();
+ TAO_OutputCDR &_tao_out = _tao_server_request.outgoing ();
+ if (!(_tao_out << CORBA::Any::from_boolean (_tao_retval)))
+ ACE_THROW (CORBA::MARSHAL ());
+}
+
+CORBA::Boolean POA_IR::FactoryDef::_is_a (
+ const char* value,
+ CORBA::Environment &ACE_TRY_ENV
+ )
+{
+ const char *base_id = CORBA::_tc_Object->id (ACE_TRY_ENV);
+ ACE_CHECK_RETURN (0);
+
+ if (
+ (!ACE_OS::strcmp ((char *)value, "IDL:omg.org/IR/FactoryDef:1.0")) ||
+ (!ACE_OS::strcmp ((char *)value, "IDL:omg.org/CORBA/OperationDef:1.0")) ||
+ (!ACE_OS::strcmp ((char *)value, "IDL:omg.org/CORBA/Contained:1.0")) ||
+ (!ACE_OS::strcmp ((char *)value, "IDL:omg.org/CORBA/IRObject:1.0")) ||
+ (!ACE_OS::strcmp ((char *)value, base_id)))
+ return 1;
+ else
+ return 0;
+}
+
+void* POA_IR::FactoryDef::_downcast (
+ const char* logical_type_id
+ )
+{
+ if (ACE_OS::strcmp (logical_type_id, "IDL:omg.org/IR/FactoryDef:1.0") == 0)
+ return ACE_static_cast (POA_IR::FactoryDef_ptr, this);
+ if (ACE_OS::strcmp (logical_type_id, "IDL:omg.org/CORBA/OperationDef:1.0") == 0)
+ return ACE_static_cast (POA_CORBA::OperationDef_ptr, this);
+ if (ACE_OS::strcmp (logical_type_id, "IDL:omg.org/CORBA/Contained:1.0") == 0)
+ return ACE_static_cast (POA_CORBA::Contained_ptr, this);
+ if (ACE_OS::strcmp (logical_type_id, "IDL:omg.org/CORBA/IRObject:1.0") == 0)
+ return ACE_static_cast (POA_CORBA::IRObject_ptr, this);
+ if (ACE_OS::strcmp (logical_type_id, "IDL:omg.org/CORBA/Object:1.0") == 0)
+ return ACE_static_cast(PortableServer::Servant, this);
+ return 0;
+}
+
+void POA_IR::FactoryDef::_dispatch (TAO_ServerRequest &req, void *context, CORBA::Environment &ACE_TRY_ENV)
+{
+ this->synchronous_upcall_dispatch(req, context, this, ACE_TRY_ENV);
+}
+
+const char* POA_IR::FactoryDef::_interface_repository_id (void) const
+{
+ return "IDL:omg.org/IR/FactoryDef:1.0";
+}
+
+IR::FactoryDef*
+POA_IR::FactoryDef::_this (CORBA_Environment &ACE_TRY_ENV)
+{
+ TAO_Stub *stub = this->_create_stub (ACE_TRY_ENV);
+ ACE_CHECK_RETURN (0);
+
+ CORBA::Object_ptr tmp = CORBA::Object::_nil ();
+
+ if (stub->servant_orb_var ()->orb_core ()->optimize_collocation_objects ())
+ ACE_NEW_RETURN (tmp, CORBA::Object (stub, 1, this), 0);
+ else
+ ACE_NEW_RETURN (tmp, CORBA::Object (stub, 0, this), 0);
+
+ CORBA::Object_var obj = tmp;
+ return ::IR::FactoryDef::_unchecked_narrow (obj.in ());
+}
+
+
+#if (TAO_HAS_INTERCEPTORS == 1)
+#endif /* TAO_HAS_INTERCEPTORS */
+class TAO_IR_FinderDef_Perfect_Hash_OpTable : public TAO_Perfect_Hash_OpTable
+{
+private:
+ unsigned int hash (const char *str, unsigned int len);
+public:
+ const TAO_operation_db_entry * lookup (const char *str, unsigned int len);
+};
+/* starting time is 11:22:00 */
+/* C++ code produced by gperf version 2.8 (ACE version) */
+/* Command-line: gperf -m -M -J -c -C -D -E -T -f 0 -F 0 -a -o -t -p -K opname_ -L C++ -Z TAO_IR_FinderDef_Perfect_Hash_OpTable -N lookup */
+unsigned int
+TAO_IR_FinderDef_Perfect_Hash_OpTable::hash (const char *str, unsigned int len)
+{
+ static const unsigned char asso_values[] =
+ {
+#if defined (ACE_MVS)
+ 37, 37, 37, 37, 37, 37, 37, 37, 37, 37,
+ 37, 37, 37, 37, 37, 37, 37, 37, 37, 37,
+ 37, 37, 37, 37, 37, 37, 37, 37, 37, 37,
+ 37, 37, 37, 37, 37, 37, 37, 37, 37, 37,
+ 37, 37, 37, 37, 37, 37, 37, 37, 37, 37,
+ 37, 37, 37, 37, 37, 37, 37, 37, 37, 37,
+ 37, 37, 37, 37, 37, 37, 37, 37, 37, 37,
+ 37, 37, 37, 37, 37, 37, 37, 37, 37, 37,
+ 37, 37, 37, 37, 37, 37, 37, 37, 37, 37,
+ 37, 37, 37, 37, 37, 37, 37, 37, 37, 37,
+ 37, 37, 37, 37, 37, 37, 37, 37, 37, 0,
+ 37, 37, 37, 37, 37, 37, 37, 37, 37, 37,
+ 37, 37, 37, 37, 37, 37, 37, 37, 37, 0,
+ 37, 37, 15, 0, 10, 37, 37, 37, 37, 37,
+ 37, 37, 37, 37, 37, 37, 37, 37, 0, 5,
+ 37, 37, 37, 37, 37, 37, 37, 37, 37, 37,
+ 37, 37, 0, 20, 37, 37, 37, 37, 10, 37,
+ 37, 37, 37, 37, 37, 37, 37, 37, 37, 37,
+ 37, 37, 37, 37, 37, 37, 37, 37, 37, 37,
+ 37, 37, 37, 37, 37, 37, 37, 37, 37, 37,
+ 37, 37, 37, 37, 37, 37, 37, 37, 37, 37,
+ 37, 37, 37, 37, 37, 37, 37, 37, 37, 37,
+ 37, 37, 37, 37, 37, 37, 37, 37, 37, 37,
+ 37, 37, 37, 37, 37, 37, 37, 37, 37, 37,
+ 37, 37, 37, 37, 37, 37, 37, 37, 37, 37,
+ 37, 37, 37, 37, 37, 37,
+#else
+ 37, 37, 37, 37, 37, 37, 37, 37, 37, 37,
+ 37, 37, 37, 37, 37, 37, 37, 37, 37, 37,
+ 37, 37, 37, 37, 37, 37, 37, 37, 37, 37,
+ 37, 37, 37, 37, 37, 37, 37, 37, 37, 37,
+ 37, 37, 37, 37, 37, 37, 37, 37, 37, 37,
+ 37, 37, 37, 37, 37, 37, 37, 37, 37, 37,
+ 37, 37, 37, 37, 37, 37, 37, 37, 37, 37,
+ 37, 37, 37, 37, 37, 37, 37, 37, 37, 37,
+ 37, 37, 37, 37, 37, 37, 37, 37, 37, 37,
+ 37, 37, 37, 37, 37, 0, 37, 0, 37, 37,
+ 15, 0, 10, 37, 37, 37, 37, 37, 37, 0,
+ 5, 37, 37, 37, 37, 0, 20, 37, 37, 37,
+ 37, 10, 37, 37, 37, 37, 37, 37,
+#endif /* ACE_MVS */
+ };
+ return len + asso_values[str[len - 1]] + asso_values[str[0]];
+}
+
+const class TAO_operation_db_entry *
+TAO_IR_FinderDef_Perfect_Hash_OpTable::lookup (const char *str, unsigned int len)
+{
+ enum
+ {
+ TOTAL_KEYWORDS = 26,
+ MIN_WORD_LENGTH = 4,
+ MAX_WORD_LENGTH = 26,
+ MIN_HASH_VALUE = 4,
+ MAX_HASH_VALUE = 36,
+ HASH_VALUE_RANGE = 33,
+ DUPLICATES = 10
+ };
+
+ static const class TAO_operation_db_entry wordlist[] =
+ {
+ {"",0},{"",0},{"",0},{"",0},
+ {"move", &POA_IR::FinderDef::move_skel},
+ {"_is_a", &POA_IR::FinderDef::_is_a_skel},
+ {"_get_mode", &POA_IR::FinderDef::_get_mode_skel},
+ {"_set_name", &POA_IR::FinderDef::_set_name_skel},
+ {"_get_name", &POA_IR::FinderDef::_get_name_skel},
+ {"_set_mode", &POA_IR::FinderDef::_set_mode_skel},
+ {"_get_params", &POA_IR::FinderDef::_get_params_skel},
+ {"_set_params", &POA_IR::FinderDef::_set_params_skel},
+ {"_get_contexts", &POA_IR::FinderDef::_get_contexts_skel},
+ {"_set_contexts", &POA_IR::FinderDef::_set_contexts_skel},
+ {"_get_exceptions", &POA_IR::FinderDef::_get_exceptions_skel},
+ {"_set_exceptions", &POA_IR::FinderDef::_set_exceptions_skel},
+ {"_get_version", &POA_IR::FinderDef::_get_version_skel},
+ {"_set_version", &POA_IR::FinderDef::_set_version_skel},
+ {"_get_absolute_name", &POA_IR::FinderDef::_get_absolute_name_skel},
+ {"_get_defined_in", &POA_IR::FinderDef::_get_defined_in_skel},
+ {"_get_id", &POA_IR::FinderDef::_get_id_skel},
+ {"_set_id", &POA_IR::FinderDef::_set_id_skel},
+ {"describe", &POA_IR::FinderDef::describe_skel},
+ {"_get_result_def", &POA_IR::FinderDef::_get_result_def_skel},
+ {"_set_result_def", &POA_IR::FinderDef::_set_result_def_skel},
+ {"_get_def_kind", &POA_IR::FinderDef::_get_def_kind_skel},
+ {"_get_result", &POA_IR::FinderDef::_get_result_skel},
+ {"destroy", &POA_IR::FinderDef::destroy_skel},
+ {"_non_existent", &POA_IR::FinderDef::_non_existent_skel},
+ {"_get_containing_repository", &POA_IR::FinderDef::_get_containing_repository_skel},
+ };
+
+ if (len <= MAX_WORD_LENGTH && len >= MIN_WORD_LENGTH)
+ {
+ unsigned int key = hash (str, len);
+
+ if (key <= MAX_HASH_VALUE && key >= MIN_HASH_VALUE)
+ {
+ {
+ const class TAO_operation_db_entry *resword;
+
+ switch (key)
+ {
+ case 4:
+ resword = &wordlist[4]; break;
+ case 5:
+ resword = &wordlist[5]; break;
+ case 9:
+ resword = &wordlist[6];
+ if (*str == *resword->opname_ && !strncmp (str + 1, resword->opname_ + 1, len - 1)) return resword;
+ resword = &wordlist[7];
+ if (*str == *resword->opname_ && !strncmp (str + 1, resword->opname_ + 1, len - 1)) return resword;
+ resword = &wordlist[8];
+ if (*str == *resword->opname_ && !strncmp (str + 1, resword->opname_ + 1, len - 1)) return resword;
+ resword = &wordlist[9];
+ if (*str == *resword->opname_ && !strncmp (str + 1, resword->opname_ + 1, len - 1)) return resword;
+ return 0;
+ case 11:
+ resword = &wordlist[10];
+ if (*str == *resword->opname_ && !strncmp (str + 1, resword->opname_ + 1, len - 1)) return resword;
+ resword = &wordlist[11];
+ if (*str == *resword->opname_ && !strncmp (str + 1, resword->opname_ + 1, len - 1)) return resword;
+ return 0;
+ case 13:
+ resword = &wordlist[12];
+ if (*str == *resword->opname_ && !strncmp (str + 1, resword->opname_ + 1, len - 1)) return resword;
+ resword = &wordlist[13];
+ if (*str == *resword->opname_ && !strncmp (str + 1, resword->opname_ + 1, len - 1)) return resword;
+ return 0;
+ case 15:
+ resword = &wordlist[14];
+ if (*str == *resword->opname_ && !strncmp (str + 1, resword->opname_ + 1, len - 1)) return resword;
+ resword = &wordlist[15];
+ if (*str == *resword->opname_ && !strncmp (str + 1, resword->opname_ + 1, len - 1)) return resword;
+ return 0;
+ case 17:
+ resword = &wordlist[16];
+ if (*str == *resword->opname_ && !strncmp (str + 1, resword->opname_ + 1, len - 1)) return resword;
+ resword = &wordlist[17];
+ if (*str == *resword->opname_ && !strncmp (str + 1, resword->opname_ + 1, len - 1)) return resword;
+ return 0;
+ case 18:
+ resword = &wordlist[18]; break;
+ case 20:
+ resword = &wordlist[19]; break;
+ case 22:
+ resword = &wordlist[20];
+ if (*str == *resword->opname_ && !strncmp (str + 1, resword->opname_ + 1, len - 1)) return resword;
+ resword = &wordlist[21];
+ if (*str == *resword->opname_ && !strncmp (str + 1, resword->opname_ + 1, len - 1)) return resword;
+ return 0;
+ case 23:
+ resword = &wordlist[22]; break;
+ case 25:
+ resword = &wordlist[23];
+ if (*str == *resword->opname_ && !strncmp (str + 1, resword->opname_ + 1, len - 1)) return resword;
+ resword = &wordlist[24];
+ if (*str == *resword->opname_ && !strncmp (str + 1, resword->opname_ + 1, len - 1)) return resword;
+ return 0;
+ case 28:
+ resword = &wordlist[25]; break;
+ case 31:
+ resword = &wordlist[26]; break;
+ case 32:
+ resword = &wordlist[27]; break;
+ case 33:
+ resword = &wordlist[28]; break;
+ case 36:
+ resword = &wordlist[29]; break;
+ default: return 0;
+ }
+ if (*str == *resword->opname_ && !strncmp (str + 1, resword->opname_ + 1, len - 1))
+ return resword;
+ return 0;
+ }
+ }
+ }
+ return 0;
+}
+/* ending time is 11:22:00 */
+static TAO_IR_FinderDef_Perfect_Hash_OpTable tao_IR_FinderDef_optable;
+
+
+///////////////////////////////////////////////////////////////////////
+// Strategized Proxy Broker Implementation
+//
+
+// Factory function Implementation.
+POA_IR::_TAO_FinderDef_Strategized_Proxy_Broker *POA_IR::_TAO_FinderDef_Strategized_Proxy_Broker::the_TAO_FinderDef_Strategized_Proxy_Broker (void)
+{
+ static POA_IR::_TAO_FinderDef_Strategized_Proxy_Broker strategized_proxy_broker;
+ return &strategized_proxy_broker;
+}
+
+POA_IR::_TAO_FinderDef_Strategized_Proxy_Broker::_TAO_FinderDef_Strategized_Proxy_Broker (void)
+{
+ for (int i = 0; i < TAO_Collocation_Strategies::CS_LAST; ++i)
+ this->proxy_cache_[i] = 0;
+
+}
+
+POA_IR::_TAO_FinderDef_Strategized_Proxy_Broker::~_TAO_FinderDef_Strategized_Proxy_Broker (void)
+{
+ for (int i = 0; i < TAO_Collocation_Strategies::CS_LAST; ++i)
+ delete this->proxy_cache_[i];
+
+}
+
+IR::_TAO_FinderDef_Proxy_Impl&
+POA_IR::_TAO_FinderDef_Strategized_Proxy_Broker::select_proxy (
+ ::IR::FinderDef *object,
+ CORBA::Environment &ACE_TRY_ENV
+ )
+{
+ int strategy =
+ TAO_ORB_Core::collocation_strategy (object);
+
+ if (this->proxy_cache_[strategy] != 0)
+ return *this->proxy_cache_[strategy];
+
+ this->create_proxy (strategy, ACE_TRY_ENV);
+ ACE_CHECK_RETURN (*this->proxy_cache_[strategy]);
+
+ return *this->proxy_cache_[strategy];
+
+}
+
+void
+POA_IR::_TAO_FinderDef_Strategized_Proxy_Broker::create_proxy (
+ int strategy,
+ CORBA::Environment &ACE_TRY_ENV
+ )
+{
+ ACE_GUARD (TAO_SYNCH_MUTEX, guard, this->mutex_);
+
+ if (this->proxy_cache_[strategy] == 0)
+ {
+ switch (strategy)
+ {
+ case TAO_Collocation_Strategies::CS_THRU_POA_STRATEGY:
+ ACE_NEW_THROW_EX (
+ this->proxy_cache_[strategy],
+ POA_IR::_TAO_FinderDef_ThruPOA_Proxy_Impl,
+ CORBA::NO_MEMORY ()
+ );
+ ACE_CHECK;
+ break;
+
+ case TAO_Collocation_Strategies::CS_REMOTE_STRATEGY:
+ default:
+ ACE_NEW_THROW_EX (
+ this->proxy_cache_[strategy],
+ ::IR::_TAO_FinderDef_Remote_Proxy_Impl,
+ CORBA::NO_MEMORY ()
+ );
+ ACE_CHECK;
+ break;
+
+ }
+
+ }
+}
+
+
+//
+// End Strategized Proxy Broker Implementation
+///////////////////////////////////////////////////////////////////////
+
+
+IR::_TAO_FinderDef_Proxy_Broker *
+IR__TAO_FinderDef_Proxy_Broker_Factory_function (CORBA::Object_ptr obj)
+{
+ ACE_UNUSED_ARG (obj);
+ return ::POA_IR::_TAO_FinderDef_Strategized_Proxy_Broker::the_TAO_FinderDef_Strategized_Proxy_Broker();
+}
+
+int
+IR__TAO_FinderDef_Proxy_Broker_Factory_Initializer (long _dummy_)
+{
+ ACE_UNUSED_ARG (_dummy_);
+
+ IR__TAO_FinderDef_Proxy_Broker_Factory_function_pointer =
+ IR__TAO_FinderDef_Proxy_Broker_Factory_function;
+
+ return 0;
+}
+
+static int IR__TAO_FinderDef_Proxy_Broker_Stub_Factory_Initializer_Scarecrow =
+ IR__TAO_FinderDef_Proxy_Broker_Factory_Initializer (ACE_reinterpret_cast (long, IR__TAO_FinderDef_Proxy_Broker_Factory_Initializer));
+
+
+///////////////////////////////////////////////////////////////////////
+// ThruPOA Proxy Implementation
+//
+
+POA_IR::_TAO_FinderDef_ThruPOA_Proxy_Impl::_TAO_FinderDef_ThruPOA_Proxy_Impl (void)
+{}
+
+// ThruPOA Implementation of the IDL interface methods
+
+//
+// End ThruPOA Proxy Implementation
+///////////////////////////////////////////////////////////////////////
+
+// skeleton constructor
+POA_IR::FinderDef::FinderDef (void)
+{
+ this->optable_ = &tao_IR_FinderDef_optable;
+}
+
+// copy ctor
+POA_IR::FinderDef::FinderDef (const FinderDef& rhs)
+ : ACE_NESTED_CLASS (POA_CORBA,OperationDef) (rhs),
+ ACE_NESTED_CLASS (POA_CORBA,Contained) (rhs),
+ ACE_NESTED_CLASS (POA_CORBA,IRObject) (rhs),
+ TAO_ServantBase (rhs)
+{}
+
+// skeleton destructor
+POA_IR::FinderDef::~FinderDef (void)
+{
+}
+
+void POA_IR::FinderDef::_is_a_skel (
+ TAO_ServerRequest &_tao_server_request,
+ void * _tao_object_reference,
+ void * /* context */,
+ CORBA::Environment &ACE_TRY_ENV
+ )
+{
+ TAO_InputCDR &_tao_in = _tao_server_request.incoming ();
+ POA_IR::FinderDef *_tao_impl = (POA_IR::FinderDef *) _tao_object_reference;
+ CORBA::Boolean _tao_retval = 0;
+ CORBA::String_var value;
+ if (!(_tao_in >> value.out ()))
+ ACE_THROW (CORBA::MARSHAL ());
+
+ _tao_retval = _tao_impl->_is_a (value.in (), ACE_TRY_ENV);
+ ACE_CHECK;
+
+ _tao_server_request.init_reply ();
+ TAO_OutputCDR &_tao_out = _tao_server_request.outgoing ();
+ if (!(_tao_out << CORBA::Any::from_boolean (_tao_retval)))
+ ACE_THROW (CORBA::MARSHAL ());
+}
+
+void POA_IR::FinderDef::_non_existent_skel (
+ TAO_ServerRequest &_tao_server_request,
+ void * _tao_object_reference,
+ void * /* context */,
+ CORBA::Environment &ACE_TRY_ENV
+ )
+{
+ POA_IR::FinderDef *_tao_impl = (POA_IR::FinderDef *) _tao_object_reference;
+ CORBA::Boolean _tao_retval = _tao_impl->_non_existent (ACE_TRY_ENV);
+ ACE_CHECK;
+
+ _tao_server_request.init_reply ();
+ TAO_OutputCDR &_tao_out = _tao_server_request.outgoing ();
+ if (!(_tao_out << CORBA::Any::from_boolean (_tao_retval)))
+ ACE_THROW (CORBA::MARSHAL ());
+}
+
+CORBA::Boolean POA_IR::FinderDef::_is_a (
+ const char* value,
+ CORBA::Environment &ACE_TRY_ENV
+ )
+{
+ const char *base_id = CORBA::_tc_Object->id (ACE_TRY_ENV);
+ ACE_CHECK_RETURN (0);
+
+ if (
+ (!ACE_OS::strcmp ((char *)value, "IDL:omg.org/IR/FinderDef:1.0")) ||
+ (!ACE_OS::strcmp ((char *)value, "IDL:omg.org/CORBA/OperationDef:1.0")) ||
+ (!ACE_OS::strcmp ((char *)value, "IDL:omg.org/CORBA/Contained:1.0")) ||
+ (!ACE_OS::strcmp ((char *)value, "IDL:omg.org/CORBA/IRObject:1.0")) ||
+ (!ACE_OS::strcmp ((char *)value, base_id)))
+ return 1;
+ else
+ return 0;
+}
+
+void* POA_IR::FinderDef::_downcast (
+ const char* logical_type_id
+ )
+{
+ if (ACE_OS::strcmp (logical_type_id, "IDL:omg.org/IR/FinderDef:1.0") == 0)
+ return ACE_static_cast (POA_IR::FinderDef_ptr, this);
+ if (ACE_OS::strcmp (logical_type_id, "IDL:omg.org/CORBA/OperationDef:1.0") == 0)
+ return ACE_static_cast (POA_CORBA::OperationDef_ptr, this);
+ if (ACE_OS::strcmp (logical_type_id, "IDL:omg.org/CORBA/Contained:1.0") == 0)
+ return ACE_static_cast (POA_CORBA::Contained_ptr, this);
+ if (ACE_OS::strcmp (logical_type_id, "IDL:omg.org/CORBA/IRObject:1.0") == 0)
+ return ACE_static_cast (POA_CORBA::IRObject_ptr, this);
+ if (ACE_OS::strcmp (logical_type_id, "IDL:omg.org/CORBA/Object:1.0") == 0)
+ return ACE_static_cast(PortableServer::Servant, this);
+ return 0;
+}
+
+void POA_IR::FinderDef::_dispatch (TAO_ServerRequest &req, void *context, CORBA::Environment &ACE_TRY_ENV)
+{
+ this->synchronous_upcall_dispatch(req, context, this, ACE_TRY_ENV);
+}
+
+const char* POA_IR::FinderDef::_interface_repository_id (void) const
+{
+ return "IDL:omg.org/IR/FinderDef:1.0";
+}
+
+IR::FinderDef*
+POA_IR::FinderDef::_this (CORBA_Environment &ACE_TRY_ENV)
+{
+ TAO_Stub *stub = this->_create_stub (ACE_TRY_ENV);
+ ACE_CHECK_RETURN (0);
+
+ CORBA::Object_ptr tmp = CORBA::Object::_nil ();
+
+ if (stub->servant_orb_var ()->orb_core ()->optimize_collocation_objects ())
+ ACE_NEW_RETURN (tmp, CORBA::Object (stub, 1, this), 0);
+ else
+ ACE_NEW_RETURN (tmp, CORBA::Object (stub, 0, this), 0);
+
+ CORBA::Object_var obj = tmp;
+ return ::IR::FinderDef::_unchecked_narrow (obj.in ());
+}
+
+
+#if (TAO_HAS_INTERCEPTORS == 1)
+#endif /* TAO_HAS_INTERCEPTORS */
+class TAO_IR_HomeDef_Perfect_Hash_OpTable : public TAO_Perfect_Hash_OpTable
+{
+private:
+ unsigned int hash (const char *str, unsigned int len);
+public:
+ const TAO_operation_db_entry * lookup (const char *str, unsigned int len);
+};
+/* starting time is 11:22:00 */
+/* C++ code produced by gperf version 2.8 (ACE version) */
+/* Command-line: gperf -m -M -J -c -C -D -E -T -f 0 -F 0 -a -o -t -p -K opname_ -L C++ -Z TAO_IR_HomeDef_Perfect_Hash_OpTable -N lookup */
+unsigned int
+TAO_IR_HomeDef_Perfect_Hash_OpTable::hash (const char *str, unsigned int len)
+{
+ static const unsigned char asso_values[] =
+ {
+#if defined (ACE_MVS)
+ 104, 104, 104, 104, 104, 104, 104, 104, 104, 104,
+ 104, 104, 104, 104, 104, 104, 104, 104, 104, 104,
+ 104, 104, 104, 104, 104, 104, 104, 104, 104, 104,
+ 104, 104, 104, 104, 104, 104, 104, 104, 104, 104,
+ 104, 104, 104, 104, 104, 104, 104, 104, 104, 104,
+ 104, 104, 104, 104, 104, 104, 104, 104, 104, 104,
+ 104, 104, 104, 104, 104, 104, 104, 104, 104, 104,
+ 104, 104, 104, 104, 104, 104, 104, 104, 104, 104,
+ 104, 104, 104, 104, 104, 104, 104, 104, 104, 104,
+ 104, 104, 104, 104, 104, 104, 104, 104, 104, 104,
+ 104, 104, 104, 104, 104, 104, 104, 104, 104, 0,
+ 104, 104, 104, 104, 104, 104, 104, 104, 104, 104,
+ 104, 104, 104, 104, 104, 104, 104, 104, 104, 0,
+ 104, 20, 50, 35, 104, 104, 104, 0, 104, 104,
+ 104, 104, 104, 104, 104, 104, 104, 5, 15, 5,
+ 104, 0, 104, 40, 104, 104, 104, 104, 104, 104,
+ 104, 104, 20, 25, 104, 104, 104, 0, 5, 104,
+ 104, 104, 104, 104, 104, 104, 104, 104, 104, 104,
+ 104, 104, 104, 104, 104, 104, 104, 104, 104, 104,
+ 104, 104, 104, 104, 104, 104, 104, 104, 104, 104,
+ 104, 104, 104, 104, 104, 104, 104, 104, 104, 104,
+ 104, 104, 104, 104, 104, 104, 104, 104, 104, 104,
+ 104, 104, 104, 104, 104, 104, 104, 104, 104, 104,
+ 104, 104, 104, 104, 104, 104, 104, 104, 104, 104,
+ 104, 104, 104, 104, 104, 104, 104, 104, 104, 104,
+ 104, 104, 104, 104, 104, 104,
+#else
+ 104, 104, 104, 104, 104, 104, 104, 104, 104, 104,
+ 104, 104, 104, 104, 104, 104, 104, 104, 104, 104,
+ 104, 104, 104, 104, 104, 104, 104, 104, 104, 104,
+ 104, 104, 104, 104, 104, 104, 104, 104, 104, 104,
+ 104, 104, 104, 104, 104, 104, 104, 104, 104, 104,
+ 104, 104, 104, 104, 104, 104, 104, 104, 104, 104,
+ 104, 104, 104, 104, 104, 104, 104, 104, 104, 104,
+ 104, 104, 104, 104, 104, 104, 104, 104, 104, 104,
+ 104, 104, 104, 104, 104, 104, 104, 104, 104, 104,
+ 104, 104, 104, 104, 104, 0, 104, 0, 104, 20,
+ 50, 35, 104, 104, 104, 0, 104, 104, 5, 15,
+ 5, 104, 0, 104, 40, 20, 25, 104, 104, 104,
+ 0, 5, 104, 104, 104, 104, 104, 104,
+#endif /* ACE_MVS */
+ };
+ return len + asso_values[str[len - 1]] + asso_values[str[0]];
+}
+
+const class TAO_operation_db_entry *
+TAO_IR_HomeDef_Perfect_Hash_OpTable::lookup (const char *str, unsigned int len)
+{
+ enum
+ {
+ TOTAL_KEYWORDS = 48,
+ MIN_WORD_LENGTH = 4,
+ MAX_WORD_LENGTH = 26,
+ MIN_HASH_VALUE = 4,
+ MAX_HASH_VALUE = 103,
+ HASH_VALUE_RANGE = 100,
+ DUPLICATES = 9
+ };
+
+ static const class TAO_operation_db_entry wordlist[] =
+ {
+ {"",0},{"",0},{"",0},{"",0},
+ {"is_a", &POA_IR::HomeDef::is_a_skel},
+ {"_is_a", &POA_IR::HomeDef::_is_a_skel},
+ {"lookup", &POA_IR::HomeDef::lookup_skel},
+ {"_get_version", &POA_IR::HomeDef::_get_version_skel},
+ {"_set_version", &POA_IR::HomeDef::_set_version_skel},
+ {"_get_defined_in", &POA_IR::HomeDef::_get_defined_in_skel},
+ {"_get_primary_key", &POA_IR::HomeDef::_get_primary_key_skel},
+ {"_get_containing_repository", &POA_IR::HomeDef::_get_containing_repository_skel},
+ {"_get_finders", &POA_IR::HomeDef::_get_finders_skel},
+ {"_get_is_basic", &POA_IR::HomeDef::_get_is_basic_skel},
+ {"_get_factories", &POA_IR::HomeDef::_get_factories_skel},
+ {"create_value_box", &POA_IR::HomeDef::create_value_box_skel},
+ {"create_union", &POA_IR::HomeDef::create_union_skel},
+ {"_non_existent", &POA_IR::HomeDef::_non_existent_skel},
+ {"create_factory", &POA_IR::HomeDef::create_factory_skel},
+ {"_get_base_interfaces", &POA_IR::HomeDef::_get_base_interfaces_skel},
+ {"_set_base_interfaces", &POA_IR::HomeDef::_set_base_interfaces_skel},
+ {"create_operation", &POA_IR::HomeDef::create_operation_skel},
+ {"create_exception", &POA_IR::HomeDef::create_exception_skel},
+ {"create_primary_key", &POA_IR::HomeDef::create_primary_key_skel},
+ {"_get_name", &POA_IR::HomeDef::_get_name_skel},
+ {"_get_type", &POA_IR::HomeDef::_get_type_skel},
+ {"_set_name", &POA_IR::HomeDef::_set_name_skel},
+ {"create_enum", &POA_IR::HomeDef::create_enum_skel},
+ {"_get_managed_component", &POA_IR::HomeDef::_get_managed_component_skel},
+ {"contents", &POA_IR::HomeDef::contents_skel},
+ {"_get_base_home", &POA_IR::HomeDef::_get_base_home_skel},
+ {"lookup_name", &POA_IR::HomeDef::lookup_name_skel},
+ {"create_alias", &POA_IR::HomeDef::create_alias_skel},
+ {"_get_absolute_name", &POA_IR::HomeDef::_get_absolute_name_skel},
+ {"move", &POA_IR::HomeDef::move_skel},
+ {"_get_id", &POA_IR::HomeDef::_get_id_skel},
+ {"_set_id", &POA_IR::HomeDef::_set_id_skel},
+ {"create_struct", &POA_IR::HomeDef::create_struct_skel},
+ {"create_constant", &POA_IR::HomeDef::create_constant_skel},
+ {"destroy", &POA_IR::HomeDef::destroy_skel},
+ {"_get_def_kind", &POA_IR::HomeDef::_get_def_kind_skel},
+ {"create_value", &POA_IR::HomeDef::create_value_skel},
+ {"create_module", &POA_IR::HomeDef::create_module_skel},
+ {"create_native", &POA_IR::HomeDef::create_native_skel},
+ {"create_attribute", &POA_IR::HomeDef::create_attribute_skel},
+ {"create_interface", &POA_IR::HomeDef::create_interface_skel},
+ {"create_finder", &POA_IR::HomeDef::create_finder_skel},
+ {"create_local_interface", &POA_IR::HomeDef::create_local_interface_skel},
+ {"create_abstract_interface", &POA_IR::HomeDef::create_abstract_interface_skel},
+ {"describe_contents", &POA_IR::HomeDef::describe_contents_skel},
+ {"describe", &POA_IR::HomeDef::describe_skel},
+ {"describe_interface", &POA_IR::HomeDef::describe_interface_skel},
+ };
+
+ static const signed char lookup[] =
+ {
+ -1, -1, -1, -1, 4, 5, -1, -1, -1, -1, -1, 6, -1, -1,
+ -1, -7, -2, -105, -1, -1, 9, 10, -1, -1, -1, -19, -2, -21,
+ -2, -24, -3, 11, 12, 13, 14, -1, 15, 16, 17, 18, -118, -117,
+ -1, 23, -118, -1, 27, 28, 29, 30, -1, 31, 32, 33, 34, -35,
+ -2, -105, 37, -1, 38, -1, 39, 40, -1, -42, -2, 41, -106, -44,
+ -2, -105, -1, 46, -1, -1, -1, 47, -1, -1, 48, -1, -1, -1,
+ -1, -1, -1, 49, -1, -1, -1, -1, -1, 50, -1, -1, -1, -1,
+ -1, -1, -1, -1, -1, 51,
+ };
+
+ if (len <= MAX_WORD_LENGTH && len >= MIN_WORD_LENGTH)
+ {
+ unsigned int key = hash (str, len);
+
+ if (key <= MAX_HASH_VALUE && key >= MIN_HASH_VALUE)
+ {
+ int slot = lookup[key];
+
+ if (slot >= 0 && slot < MAX_HASH_VALUE)
+ {
+ const char *s = wordlist[slot].opname_;
+
+ if (*str == *s && !strncmp (str + 1, s + 1, len - 1))
+ return &wordlist[slot];
+ }
+ else if (slot < 0 && slot >= -MAX_HASH_VALUE)
+ return 0;
+ else
+ {
+ unsigned int offset = key + slot + (slot > 0 ? -MAX_HASH_VALUE : MAX_HASH_VALUE);
+ const class TAO_operation_db_entry *base = &wordlist[-lookup[offset]];
+ const class TAO_operation_db_entry *ptr = base + -lookup[offset + 1];
+
+ while (--ptr >= base)
+ if (*str == *ptr->opname_ && !strncmp (str + 1, ptr->opname_ + 1, len - 1))
+ return ptr;
+ }
+ }
+ }
+ return 0;
+}
+/* ending time is 11:22:00 */
+static TAO_IR_HomeDef_Perfect_Hash_OpTable tao_IR_HomeDef_optable;
+
+
+///////////////////////////////////////////////////////////////////////
+// Strategized Proxy Broker Implementation
+//
+
+// Factory function Implementation.
+POA_IR::_TAO_HomeDef_Strategized_Proxy_Broker *POA_IR::_TAO_HomeDef_Strategized_Proxy_Broker::the_TAO_HomeDef_Strategized_Proxy_Broker (void)
+{
+ static POA_IR::_TAO_HomeDef_Strategized_Proxy_Broker strategized_proxy_broker;
+ return &strategized_proxy_broker;
+}
+
+POA_IR::_TAO_HomeDef_Strategized_Proxy_Broker::_TAO_HomeDef_Strategized_Proxy_Broker (void)
+{
+ for (int i = 0; i < TAO_Collocation_Strategies::CS_LAST; ++i)
+ this->proxy_cache_[i] = 0;
+
+}
+
+POA_IR::_TAO_HomeDef_Strategized_Proxy_Broker::~_TAO_HomeDef_Strategized_Proxy_Broker (void)
+{
+ for (int i = 0; i < TAO_Collocation_Strategies::CS_LAST; ++i)
+ delete this->proxy_cache_[i];
+
+}
+
+IR::_TAO_HomeDef_Proxy_Impl&
+POA_IR::_TAO_HomeDef_Strategized_Proxy_Broker::select_proxy (
+ ::IR::HomeDef *object,
+ CORBA::Environment &ACE_TRY_ENV
+ )
+{
+ int strategy =
+ TAO_ORB_Core::collocation_strategy (object);
+
+ if (this->proxy_cache_[strategy] != 0)
+ return *this->proxy_cache_[strategy];
+
+ this->create_proxy (strategy, ACE_TRY_ENV);
+ ACE_CHECK_RETURN (*this->proxy_cache_[strategy]);
+
+ return *this->proxy_cache_[strategy];
+
+}
+
+void
+POA_IR::_TAO_HomeDef_Strategized_Proxy_Broker::create_proxy (
+ int strategy,
+ CORBA::Environment &ACE_TRY_ENV
+ )
+{
+ ACE_GUARD (TAO_SYNCH_MUTEX, guard, this->mutex_);
+
+ if (this->proxy_cache_[strategy] == 0)
+ {
+ switch (strategy)
+ {
+ case TAO_Collocation_Strategies::CS_THRU_POA_STRATEGY:
+ ACE_NEW_THROW_EX (
+ this->proxy_cache_[strategy],
+ POA_IR::_TAO_HomeDef_ThruPOA_Proxy_Impl,
+ CORBA::NO_MEMORY ()
+ );
+ ACE_CHECK;
+ break;
+
+ case TAO_Collocation_Strategies::CS_REMOTE_STRATEGY:
+ default:
+ ACE_NEW_THROW_EX (
+ this->proxy_cache_[strategy],
+ ::IR::_TAO_HomeDef_Remote_Proxy_Impl,
+ CORBA::NO_MEMORY ()
+ );
+ ACE_CHECK;
+ break;
+
+ }
+
+ }
+}
+
+
+//
+// End Strategized Proxy Broker Implementation
+///////////////////////////////////////////////////////////////////////
+
+
+IR::_TAO_HomeDef_Proxy_Broker *
+IR__TAO_HomeDef_Proxy_Broker_Factory_function (CORBA::Object_ptr obj)
+{
+ ACE_UNUSED_ARG (obj);
+ return ::POA_IR::_TAO_HomeDef_Strategized_Proxy_Broker::the_TAO_HomeDef_Strategized_Proxy_Broker();
+}
+
+int
+IR__TAO_HomeDef_Proxy_Broker_Factory_Initializer (long _dummy_)
+{
+ ACE_UNUSED_ARG (_dummy_);
+
+ IR__TAO_HomeDef_Proxy_Broker_Factory_function_pointer =
+ IR__TAO_HomeDef_Proxy_Broker_Factory_function;
+
+ return 0;
+}
+
+static int IR__TAO_HomeDef_Proxy_Broker_Stub_Factory_Initializer_Scarecrow =
+ IR__TAO_HomeDef_Proxy_Broker_Factory_Initializer (ACE_reinterpret_cast (long, IR__TAO_HomeDef_Proxy_Broker_Factory_Initializer));
+
+
+///////////////////////////////////////////////////////////////////////
+// ThruPOA Proxy Implementation
+//
+
+POA_IR::_TAO_HomeDef_ThruPOA_Proxy_Impl::_TAO_HomeDef_ThruPOA_Proxy_Impl (void)
+{}
+
+// ThruPOA Implementation of the IDL interface methods
+
+IR::HomeDef_ptr POA_IR::_TAO_HomeDef_ThruPOA_Proxy_Impl::base_home (
+ CORBA_Object *_collocated_tao_target_,
+ CORBA::Environment &ACE_TRY_ENV
+ )
+ ACE_THROW_SPEC ((
+ CORBA::SystemException
+ ))
+{
+ IR::HomeDef_var _tao_retval;
+ ACE_UNUSED_ARG (_tao_retval);
+ TAO_Object_Adapter::Servant_Upcall servant_upcall (
+ _collocated_tao_target_->_stubobj ()->servant_orb_var ()->orb_core ()
+ );
+ CORBA::Object_var forward_to;
+ servant_upcall.prepare_for_upcall (
+ _collocated_tao_target_->_object_key (),
+ "base_home",
+ forward_to.out (),
+ ACE_TRY_ENV
+ );
+ ACE_CHECK_RETURN (0);
+ return ACE_reinterpret_cast (
+ POA_IR::HomeDef_ptr,
+ servant_upcall.servant ()->_downcast (
+ "IDL:omg.org/IR/HomeDef:1.0"
+ )
+ )->base_home (
+ ACE_TRY_ENV
+ );
+}
+
+IR::ComponentDef_ptr POA_IR::_TAO_HomeDef_ThruPOA_Proxy_Impl::managed_component (
+ CORBA_Object *_collocated_tao_target_,
+ CORBA::Environment &ACE_TRY_ENV
+ )
+ ACE_THROW_SPEC ((
+ CORBA::SystemException
+ ))
+{
+ IR::ComponentDef_var _tao_retval;
+ ACE_UNUSED_ARG (_tao_retval);
+ TAO_Object_Adapter::Servant_Upcall servant_upcall (
+ _collocated_tao_target_->_stubobj ()->servant_orb_var ()->orb_core ()
+ );
+ CORBA::Object_var forward_to;
+ servant_upcall.prepare_for_upcall (
+ _collocated_tao_target_->_object_key (),
+ "managed_component",
+ forward_to.out (),
+ ACE_TRY_ENV
+ );
+ ACE_CHECK_RETURN (0);
+ return ACE_reinterpret_cast (
+ POA_IR::HomeDef_ptr,
+ servant_upcall.servant ()->_downcast (
+ "IDL:omg.org/IR/HomeDef:1.0"
+ )
+ )->managed_component (
+ ACE_TRY_ENV
+ );
+}
+
+IR::PrimaryKeyDef_ptr POA_IR::_TAO_HomeDef_ThruPOA_Proxy_Impl::primary_key (
+ CORBA_Object *_collocated_tao_target_,
+ CORBA::Environment &ACE_TRY_ENV
+ )
+ ACE_THROW_SPEC ((
+ CORBA::SystemException
+ ))
+{
+ IR::PrimaryKeyDef_var _tao_retval;
+ ACE_UNUSED_ARG (_tao_retval);
+ TAO_Object_Adapter::Servant_Upcall servant_upcall (
+ _collocated_tao_target_->_stubobj ()->servant_orb_var ()->orb_core ()
+ );
+ CORBA::Object_var forward_to;
+ servant_upcall.prepare_for_upcall (
+ _collocated_tao_target_->_object_key (),
+ "primary_key",
+ forward_to.out (),
+ ACE_TRY_ENV
+ );
+ ACE_CHECK_RETURN (0);
+ return ACE_reinterpret_cast (
+ POA_IR::HomeDef_ptr,
+ servant_upcall.servant ()->_downcast (
+ "IDL:omg.org/IR/HomeDef:1.0"
+ )
+ )->primary_key (
+ ACE_TRY_ENV
+ );
+}
+
+IR::FactoryDefSeq * POA_IR::_TAO_HomeDef_ThruPOA_Proxy_Impl::factories (
+ CORBA_Object *_collocated_tao_target_,
+ CORBA::Environment &ACE_TRY_ENV
+ )
+ ACE_THROW_SPEC ((
+ CORBA::SystemException
+ ))
+{
+ IR::FactoryDefSeq_var _tao_retval;
+ ACE_UNUSED_ARG (_tao_retval);
+ TAO_Object_Adapter::Servant_Upcall servant_upcall (
+ _collocated_tao_target_->_stubobj ()->servant_orb_var ()->orb_core ()
+ );
+ CORBA::Object_var forward_to;
+ servant_upcall.prepare_for_upcall (
+ _collocated_tao_target_->_object_key (),
+ "factories",
+ forward_to.out (),
+ ACE_TRY_ENV
+ );
+ ACE_CHECK_RETURN (0);
+ return ACE_reinterpret_cast (
+ POA_IR::HomeDef_ptr,
+ servant_upcall.servant ()->_downcast (
+ "IDL:omg.org/IR/HomeDef:1.0"
+ )
+ )->factories (
+ ACE_TRY_ENV
+ );
+}
+
+IR::FinderDefSeq * POA_IR::_TAO_HomeDef_ThruPOA_Proxy_Impl::finders (
+ CORBA_Object *_collocated_tao_target_,
+ CORBA::Environment &ACE_TRY_ENV
+ )
+ ACE_THROW_SPEC ((
+ CORBA::SystemException
+ ))
+{
+ IR::FinderDefSeq_var _tao_retval;
+ ACE_UNUSED_ARG (_tao_retval);
+ TAO_Object_Adapter::Servant_Upcall servant_upcall (
+ _collocated_tao_target_->_stubobj ()->servant_orb_var ()->orb_core ()
+ );
+ CORBA::Object_var forward_to;
+ servant_upcall.prepare_for_upcall (
+ _collocated_tao_target_->_object_key (),
+ "finders",
+ forward_to.out (),
+ ACE_TRY_ENV
+ );
+ ACE_CHECK_RETURN (0);
+ return ACE_reinterpret_cast (
+ POA_IR::HomeDef_ptr,
+ servant_upcall.servant ()->_downcast (
+ "IDL:omg.org/IR/HomeDef:1.0"
+ )
+ )->finders (
+ ACE_TRY_ENV
+ );
+}
+
+CORBA::Boolean POA_IR::_TAO_HomeDef_ThruPOA_Proxy_Impl::is_basic (
+ CORBA_Object *_collocated_tao_target_,
+ CORBA::Environment &ACE_TRY_ENV
+ )
+ ACE_THROW_SPEC ((
+ CORBA::SystemException
+ ))
+{
+ CORBA::Boolean _tao_retval = 0;
+ ACE_UNUSED_ARG (_tao_retval);
+ TAO_Object_Adapter::Servant_Upcall servant_upcall (
+ _collocated_tao_target_->_stubobj ()->servant_orb_var ()->orb_core ()
+ );
+ CORBA::Object_var forward_to;
+ servant_upcall.prepare_for_upcall (
+ _collocated_tao_target_->_object_key (),
+ "is_basic",
+ forward_to.out (),
+ ACE_TRY_ENV
+ );
+ ACE_CHECK_RETURN (_tao_retval);
+ return ACE_reinterpret_cast (
+ POA_IR::HomeDef_ptr,
+ servant_upcall.servant ()->_downcast (
+ "IDL:omg.org/IR/HomeDef:1.0"
+ )
+ )->is_basic (
+ ACE_TRY_ENV
+ );
+}
+
+IR::PrimaryKeyDef_ptr POA_IR::_TAO_HomeDef_ThruPOA_Proxy_Impl::create_primary_key (
+ CORBA_Object *_collocated_tao_target_,
+ const char * id,
+ const char * name,
+ const char * version,
+ CORBA::ValueDef_ptr primary_key,
+ CORBA::Environment &ACE_TRY_ENV
+ )
+ ACE_THROW_SPEC ((
+ CORBA::SystemException
+ ))
+{
+ IR::PrimaryKeyDef_var _tao_retval;
+ ACE_UNUSED_ARG (_tao_retval);
+ TAO_Object_Adapter::Servant_Upcall servant_upcall (
+ _collocated_tao_target_->_stubobj ()->servant_orb_var ()->orb_core ()
+ );
+ CORBA::Object_var forward_to;
+ servant_upcall.prepare_for_upcall (
+ _collocated_tao_target_->_object_key (),
+ "create_primary_key",
+ forward_to.out (),
+ ACE_TRY_ENV
+ );
+ ACE_CHECK_RETURN (0);
+ return ACE_reinterpret_cast (
+ POA_IR::HomeDef_ptr,
+ servant_upcall.servant ()->_downcast (
+ "IDL:omg.org/IR/HomeDef:1.0"
+ )
+ )->create_primary_key (
+ id,
+ name,
+ version,
+ primary_key,
+ ACE_TRY_ENV
+ );
+}
+
+IR::FactoryDef_ptr POA_IR::_TAO_HomeDef_ThruPOA_Proxy_Impl::create_factory (
+ CORBA_Object *_collocated_tao_target_,
+ const char * id,
+ const char * name,
+ const char * version,
+ const CORBA::ParDescriptionSeq & params,
+ const CORBA::ExceptionDefSeq & exceptions,
+ CORBA::Environment &ACE_TRY_ENV
+ )
+ ACE_THROW_SPEC ((
+ CORBA::SystemException
+ ))
+{
+ IR::FactoryDef_var _tao_retval;
+ ACE_UNUSED_ARG (_tao_retval);
+ TAO_Object_Adapter::Servant_Upcall servant_upcall (
+ _collocated_tao_target_->_stubobj ()->servant_orb_var ()->orb_core ()
+ );
+ CORBA::Object_var forward_to;
+ servant_upcall.prepare_for_upcall (
+ _collocated_tao_target_->_object_key (),
+ "create_factory",
+ forward_to.out (),
+ ACE_TRY_ENV
+ );
+ ACE_CHECK_RETURN (0);
+ return ACE_reinterpret_cast (
+ POA_IR::HomeDef_ptr,
+ servant_upcall.servant ()->_downcast (
+ "IDL:omg.org/IR/HomeDef:1.0"
+ )
+ )->create_factory (
+ id,
+ name,
+ version,
+ params,
+ exceptions,
+ ACE_TRY_ENV
+ );
+}
+
+IR::FinderDef_ptr POA_IR::_TAO_HomeDef_ThruPOA_Proxy_Impl::create_finder (
+ CORBA_Object *_collocated_tao_target_,
+ const char * id,
+ const char * name,
+ const char * version,
+ const CORBA::ParDescriptionSeq & params,
+ const CORBA::ExceptionDefSeq & exceptions,
+ CORBA::Environment &ACE_TRY_ENV
+ )
+ ACE_THROW_SPEC ((
+ CORBA::SystemException
+ ))
+{
+ IR::FinderDef_var _tao_retval;
+ ACE_UNUSED_ARG (_tao_retval);
+ TAO_Object_Adapter::Servant_Upcall servant_upcall (
+ _collocated_tao_target_->_stubobj ()->servant_orb_var ()->orb_core ()
+ );
+ CORBA::Object_var forward_to;
+ servant_upcall.prepare_for_upcall (
+ _collocated_tao_target_->_object_key (),
+ "create_finder",
+ forward_to.out (),
+ ACE_TRY_ENV
+ );
+ ACE_CHECK_RETURN (0);
+ return ACE_reinterpret_cast (
+ POA_IR::HomeDef_ptr,
+ servant_upcall.servant ()->_downcast (
+ "IDL:omg.org/IR/HomeDef:1.0"
+ )
+ )->create_finder (
+ id,
+ name,
+ version,
+ params,
+ exceptions,
+ ACE_TRY_ENV
+ );
+}
+
+//
+// End ThruPOA Proxy Implementation
+///////////////////////////////////////////////////////////////////////
+
+// skeleton constructor
+POA_IR::HomeDef::HomeDef (void)
+{
+ this->optable_ = &tao_IR_HomeDef_optable;
+}
+
+// copy ctor
+POA_IR::HomeDef::HomeDef (const HomeDef& rhs)
+ : ACE_NESTED_CLASS (POA_CORBA,InterfaceDef) (rhs),
+ ACE_NESTED_CLASS (POA_CORBA,Container) (rhs),
+ ACE_NESTED_CLASS (POA_CORBA,Contained) (rhs),
+ ACE_NESTED_CLASS (POA_CORBA,IDLType) (rhs),
+ ACE_NESTED_CLASS (POA_CORBA,IRObject) (rhs),
+ TAO_ServantBase (rhs)
+{}
+
+// skeleton destructor
+POA_IR::HomeDef::~HomeDef (void)
+{
+}
+
+void POA_IR::HomeDef::_get_base_home_skel (
+ TAO_ServerRequest &_tao_server_request,
+ void *_tao_object_reference,
+ void * /* context */,
+ CORBA::Environment &ACE_TRY_ENV
+ )
+{
+ POA_IR::HomeDef *_tao_impl = (POA_IR::HomeDef *)_tao_object_reference;
+
+ IR::HomeDef_var _tao_retval;
+
+#if (TAO_HAS_INTERCEPTORS == 1)
+ TAO_ServerRequestInterceptor_Adapter _tao_vfr (
+ _tao_server_request.orb_core ()->server_request_interceptors (),
+ _tao_server_request.interceptor_count ()
+ );
+
+ POA_IR::HomeDef::TAO_ServerRequestInfo_IR_HomeDef_base_home_get ri (
+ _tao_server_request,
+ _tao_impl,
+ ACE_TRY_ENV
+ );
+
+ ACE_TRY
+ {
+ _tao_vfr.receive_request (&ri, ACE_TRY_ENV);
+ ACE_TRY_CHECK;
+
+#endif /* TAO_HAS_INTERCEPTORS */
+ _tao_retval =
+ _tao_impl->base_home (
+ ACE_TRY_ENV
+ );
+ TAO_INTERCEPTOR_CHECK;
+
+#if (TAO_HAS_INTERCEPTORS == 1)
+ IR::HomeDef_ptr _tao_retval_info = _tao_retval._retn ();
+ ri.result (_tao_retval_info);
+ _tao_retval = _tao_retval_info;
+ ri.reply_status (PortableInterceptor::SUCCESSFUL);
+ _tao_vfr.send_reply (&ri, ACE_TRY_ENV);
+ ACE_TRY_CHECK;
+ }
+ ACE_CATCH (PortableInterceptor::ForwardRequest, exc)
+ {
+ ri.forward_reference (exc);
+ _tao_vfr.send_other (
+ &ri,
+ ACE_TRY_ENV
+ );
+ ACE_TRY_CHECK;
+ _tao_server_request.forward_location (exc.forward.in ());
+ }
+ ACE_CATCHANY
+ {
+ ri.exception (&ACE_ANY_EXCEPTION);
+ _tao_vfr.send_exception (
+ &ri,
+ ACE_TRY_ENV
+ );
+ ACE_TRY_CHECK;
+ ACE_RE_THROW;
+ }
+ ACE_ENDTRY;
+ ACE_CHECK;
+#endif /* TAO_HAS_INTERCEPTORS */
+
+ _tao_server_request.init_reply ();
+
+ TAO_OutputCDR &_tao_out = _tao_server_request.outgoing ();
+
+ if (!(
+ (_tao_out << _tao_retval.in ())
+ ))
+ ACE_THROW (CORBA::MARSHAL());
+
+ // In case ACE_TRY_ENV is not used in this function
+ ACE_UNUSED_ARG (ACE_TRY_ENV);
+}
+
+void POA_IR::HomeDef::_get_managed_component_skel (
+ TAO_ServerRequest &_tao_server_request,
+ void *_tao_object_reference,
+ void * /* context */,
+ CORBA::Environment &ACE_TRY_ENV
+ )
+{
+ POA_IR::HomeDef *_tao_impl = (POA_IR::HomeDef *)_tao_object_reference;
+
+ IR::ComponentDef_var _tao_retval;
+
+#if (TAO_HAS_INTERCEPTORS == 1)
+ TAO_ServerRequestInterceptor_Adapter _tao_vfr (
+ _tao_server_request.orb_core ()->server_request_interceptors (),
+ _tao_server_request.interceptor_count ()
+ );
+
+ POA_IR::HomeDef::TAO_ServerRequestInfo_IR_HomeDef_managed_component_get ri (
+ _tao_server_request,
+ _tao_impl,
+ ACE_TRY_ENV
+ );
+
+ ACE_TRY
+ {
+ _tao_vfr.receive_request (&ri, ACE_TRY_ENV);
+ ACE_TRY_CHECK;
+
+#endif /* TAO_HAS_INTERCEPTORS */
+ _tao_retval =
+ _tao_impl->managed_component (
+ ACE_TRY_ENV
+ );
+ TAO_INTERCEPTOR_CHECK;
+
+#if (TAO_HAS_INTERCEPTORS == 1)
+ IR::ComponentDef_ptr _tao_retval_info = _tao_retval._retn ();
+ ri.result (_tao_retval_info);
+ _tao_retval = _tao_retval_info;
+ ri.reply_status (PortableInterceptor::SUCCESSFUL);
+ _tao_vfr.send_reply (&ri, ACE_TRY_ENV);
+ ACE_TRY_CHECK;
+ }
+ ACE_CATCH (PortableInterceptor::ForwardRequest, exc)
+ {
+ ri.forward_reference (exc);
+ _tao_vfr.send_other (
+ &ri,
+ ACE_TRY_ENV
+ );
+ ACE_TRY_CHECK;
+ _tao_server_request.forward_location (exc.forward.in ());
+ }
+ ACE_CATCHANY
+ {
+ ri.exception (&ACE_ANY_EXCEPTION);
+ _tao_vfr.send_exception (
+ &ri,
+ ACE_TRY_ENV
+ );
+ ACE_TRY_CHECK;
+ ACE_RE_THROW;
+ }
+ ACE_ENDTRY;
+ ACE_CHECK;
+#endif /* TAO_HAS_INTERCEPTORS */
+
+ _tao_server_request.init_reply ();
+
+ TAO_OutputCDR &_tao_out = _tao_server_request.outgoing ();
+
+ if (!(
+ (_tao_out << _tao_retval.in ())
+ ))
+ ACE_THROW (CORBA::MARSHAL());
+
+ // In case ACE_TRY_ENV is not used in this function
+ ACE_UNUSED_ARG (ACE_TRY_ENV);
+}
+
+void POA_IR::HomeDef::_get_primary_key_skel (
+ TAO_ServerRequest &_tao_server_request,
+ void *_tao_object_reference,
+ void * /* context */,
+ CORBA::Environment &ACE_TRY_ENV
+ )
+{
+ POA_IR::HomeDef *_tao_impl = (POA_IR::HomeDef *)_tao_object_reference;
+
+ IR::PrimaryKeyDef_var _tao_retval;
+
+#if (TAO_HAS_INTERCEPTORS == 1)
+ TAO_ServerRequestInterceptor_Adapter _tao_vfr (
+ _tao_server_request.orb_core ()->server_request_interceptors (),
+ _tao_server_request.interceptor_count ()
+ );
+
+ POA_IR::HomeDef::TAO_ServerRequestInfo_IR_HomeDef_primary_key_get ri (
+ _tao_server_request,
+ _tao_impl,
+ ACE_TRY_ENV
+ );
+
+ ACE_TRY
+ {
+ _tao_vfr.receive_request (&ri, ACE_TRY_ENV);
+ ACE_TRY_CHECK;
+
+#endif /* TAO_HAS_INTERCEPTORS */
+ _tao_retval =
+ _tao_impl->primary_key (
+ ACE_TRY_ENV
+ );
+ TAO_INTERCEPTOR_CHECK;
+
+#if (TAO_HAS_INTERCEPTORS == 1)
+ IR::PrimaryKeyDef_ptr _tao_retval_info = _tao_retval._retn ();
+ ri.result (_tao_retval_info);
+ _tao_retval = _tao_retval_info;
+ ri.reply_status (PortableInterceptor::SUCCESSFUL);
+ _tao_vfr.send_reply (&ri, ACE_TRY_ENV);
+ ACE_TRY_CHECK;
+ }
+ ACE_CATCH (PortableInterceptor::ForwardRequest, exc)
+ {
+ ri.forward_reference (exc);
+ _tao_vfr.send_other (
+ &ri,
+ ACE_TRY_ENV
+ );
+ ACE_TRY_CHECK;
+ _tao_server_request.forward_location (exc.forward.in ());
+ }
+ ACE_CATCHANY
+ {
+ ri.exception (&ACE_ANY_EXCEPTION);
+ _tao_vfr.send_exception (
+ &ri,
+ ACE_TRY_ENV
+ );
+ ACE_TRY_CHECK;
+ ACE_RE_THROW;
+ }
+ ACE_ENDTRY;
+ ACE_CHECK;
+#endif /* TAO_HAS_INTERCEPTORS */
+
+ _tao_server_request.init_reply ();
+
+ TAO_OutputCDR &_tao_out = _tao_server_request.outgoing ();
+
+ if (!(
+ (_tao_out << _tao_retval.in ())
+ ))
+ ACE_THROW (CORBA::MARSHAL());
+
+ // In case ACE_TRY_ENV is not used in this function
+ ACE_UNUSED_ARG (ACE_TRY_ENV);
+}
+
+void POA_IR::HomeDef::_get_factories_skel (
+ TAO_ServerRequest &_tao_server_request,
+ void *_tao_object_reference,
+ void * /* context */,
+ CORBA::Environment &ACE_TRY_ENV
+ )
+{
+ POA_IR::HomeDef *_tao_impl = (POA_IR::HomeDef *)_tao_object_reference;
+
+ IR::FactoryDefSeq_var _tao_retval;
+
+#if (TAO_HAS_INTERCEPTORS == 1)
+ TAO_ServerRequestInterceptor_Adapter _tao_vfr (
+ _tao_server_request.orb_core ()->server_request_interceptors (),
+ _tao_server_request.interceptor_count ()
+ );
+
+ POA_IR::HomeDef::TAO_ServerRequestInfo_IR_HomeDef_factories_get ri (
+ _tao_server_request,
+ _tao_impl,
+ ACE_TRY_ENV
+ );
+
+ ACE_TRY
+ {
+ _tao_vfr.receive_request (&ri, ACE_TRY_ENV);
+ ACE_TRY_CHECK;
+
+#endif /* TAO_HAS_INTERCEPTORS */
+ _tao_retval =
+ _tao_impl->factories (
+ ACE_TRY_ENV
+ );
+ TAO_INTERCEPTOR_CHECK;
+
+#if (TAO_HAS_INTERCEPTORS == 1)
+ IR::FactoryDefSeq * _tao_retval_info = _tao_retval._retn ();
+ ri.result (_tao_retval_info);
+ _tao_retval = _tao_retval_info;
+ ri.reply_status (PortableInterceptor::SUCCESSFUL);
+ _tao_vfr.send_reply (&ri, ACE_TRY_ENV);
+ ACE_TRY_CHECK;
+ }
+ ACE_CATCH (PortableInterceptor::ForwardRequest, exc)
+ {
+ ri.forward_reference (exc);
+ _tao_vfr.send_other (
+ &ri,
+ ACE_TRY_ENV
+ );
+ ACE_TRY_CHECK;
+ _tao_server_request.forward_location (exc.forward.in ());
+ }
+ ACE_CATCHANY
+ {
+ ri.exception (&ACE_ANY_EXCEPTION);
+ _tao_vfr.send_exception (
+ &ri,
+ ACE_TRY_ENV
+ );
+ ACE_TRY_CHECK;
+ ACE_RE_THROW;
+ }
+ ACE_ENDTRY;
+ ACE_CHECK;
+#endif /* TAO_HAS_INTERCEPTORS */
+
+ _tao_server_request.init_reply ();
+
+ TAO_OutputCDR &_tao_out = _tao_server_request.outgoing ();
+
+ if (!(
+ (_tao_out << _tao_retval.in ())
+ ))
+ ACE_THROW (CORBA::MARSHAL());
+
+ // In case ACE_TRY_ENV is not used in this function
+ ACE_UNUSED_ARG (ACE_TRY_ENV);
+}
+
+void POA_IR::HomeDef::_get_finders_skel (
+ TAO_ServerRequest &_tao_server_request,
+ void *_tao_object_reference,
+ void * /* context */,
+ CORBA::Environment &ACE_TRY_ENV
+ )
+{
+ POA_IR::HomeDef *_tao_impl = (POA_IR::HomeDef *)_tao_object_reference;
+
+ IR::FinderDefSeq_var _tao_retval;
+
+#if (TAO_HAS_INTERCEPTORS == 1)
+ TAO_ServerRequestInterceptor_Adapter _tao_vfr (
+ _tao_server_request.orb_core ()->server_request_interceptors (),
+ _tao_server_request.interceptor_count ()
+ );
+
+ POA_IR::HomeDef::TAO_ServerRequestInfo_IR_HomeDef_finders_get ri (
+ _tao_server_request,
+ _tao_impl,
+ ACE_TRY_ENV
+ );
+
+ ACE_TRY
+ {
+ _tao_vfr.receive_request (&ri, ACE_TRY_ENV);
+ ACE_TRY_CHECK;
+
+#endif /* TAO_HAS_INTERCEPTORS */
+ _tao_retval =
+ _tao_impl->finders (
+ ACE_TRY_ENV
+ );
+ TAO_INTERCEPTOR_CHECK;
+
+#if (TAO_HAS_INTERCEPTORS == 1)
+ IR::FinderDefSeq * _tao_retval_info = _tao_retval._retn ();
+ ri.result (_tao_retval_info);
+ _tao_retval = _tao_retval_info;
+ ri.reply_status (PortableInterceptor::SUCCESSFUL);
+ _tao_vfr.send_reply (&ri, ACE_TRY_ENV);
+ ACE_TRY_CHECK;
+ }
+ ACE_CATCH (PortableInterceptor::ForwardRequest, exc)
+ {
+ ri.forward_reference (exc);
+ _tao_vfr.send_other (
+ &ri,
+ ACE_TRY_ENV
+ );
+ ACE_TRY_CHECK;
+ _tao_server_request.forward_location (exc.forward.in ());
+ }
+ ACE_CATCHANY
+ {
+ ri.exception (&ACE_ANY_EXCEPTION);
+ _tao_vfr.send_exception (
+ &ri,
+ ACE_TRY_ENV
+ );
+ ACE_TRY_CHECK;
+ ACE_RE_THROW;
+ }
+ ACE_ENDTRY;
+ ACE_CHECK;
+#endif /* TAO_HAS_INTERCEPTORS */
+
+ _tao_server_request.init_reply ();
+
+ TAO_OutputCDR &_tao_out = _tao_server_request.outgoing ();
+
+ if (!(
+ (_tao_out << _tao_retval.in ())
+ ))
+ ACE_THROW (CORBA::MARSHAL());
+
+ // In case ACE_TRY_ENV is not used in this function
+ ACE_UNUSED_ARG (ACE_TRY_ENV);
+}
+
+void POA_IR::HomeDef::_get_is_basic_skel (
+ TAO_ServerRequest &_tao_server_request,
+ void *_tao_object_reference,
+ void * /* context */,
+ CORBA::Environment &ACE_TRY_ENV
+ )
+{
+ POA_IR::HomeDef *_tao_impl = (POA_IR::HomeDef *)_tao_object_reference;
+
+ CORBA::Boolean _tao_retval = 0;
+
+#if (TAO_HAS_INTERCEPTORS == 1)
+ TAO_ServerRequestInterceptor_Adapter _tao_vfr (
+ _tao_server_request.orb_core ()->server_request_interceptors (),
+ _tao_server_request.interceptor_count ()
+ );
+
+ POA_IR::HomeDef::TAO_ServerRequestInfo_IR_HomeDef_is_basic_get ri (
+ _tao_server_request,
+ _tao_impl,
+ ACE_TRY_ENV
+ );
+
+ ACE_TRY
+ {
+ _tao_vfr.receive_request (&ri, ACE_TRY_ENV);
+ ACE_TRY_CHECK;
+
+#endif /* TAO_HAS_INTERCEPTORS */
+ _tao_retval =
+ _tao_impl->is_basic (
+ ACE_TRY_ENV
+ );
+ TAO_INTERCEPTOR_CHECK;
+
+#if (TAO_HAS_INTERCEPTORS == 1)
+ CORBA::Boolean _tao_retval_info = _tao_retval;
+ ri.result (_tao_retval_info);
+ ri.reply_status (PortableInterceptor::SUCCESSFUL);
+ _tao_vfr.send_reply (&ri, ACE_TRY_ENV);
+ ACE_TRY_CHECK;
+ }
+ ACE_CATCH (PortableInterceptor::ForwardRequest, exc)
+ {
+ ri.forward_reference (exc);
+ _tao_vfr.send_other (
+ &ri,
+ ACE_TRY_ENV
+ );
+ ACE_TRY_CHECK;
+ _tao_server_request.forward_location (exc.forward.in ());
+ }
+ ACE_CATCHANY
+ {
+ ri.exception (&ACE_ANY_EXCEPTION);
+ _tao_vfr.send_exception (
+ &ri,
+ ACE_TRY_ENV
+ );
+ ACE_TRY_CHECK;
+ ACE_RE_THROW;
+ }
+ ACE_ENDTRY;
+ ACE_CHECK;
+#endif /* TAO_HAS_INTERCEPTORS */
+
+ _tao_server_request.init_reply ();
+
+ TAO_OutputCDR &_tao_out = _tao_server_request.outgoing ();
+
+ if (!(
+ (_tao_out << CORBA::Any::from_boolean (_tao_retval))
+ ))
+ ACE_THROW (CORBA::MARSHAL());
+
+ // In case ACE_TRY_ENV is not used in this function
+ ACE_UNUSED_ARG (ACE_TRY_ENV);
+}
+
+void POA_IR::HomeDef::create_primary_key_skel (
+ TAO_ServerRequest &_tao_server_request,
+ void *_tao_object_reference,
+ void * /* context */,
+ CORBA::Environment &ACE_TRY_ENV
+ )
+{
+ TAO_InputCDR &_tao_in = _tao_server_request.incoming ();
+ POA_IR::HomeDef *_tao_impl = (POA_IR::HomeDef *)_tao_object_reference;
+
+ IR::PrimaryKeyDef_var _tao_retval;
+ CORBA::String_var id;
+ CORBA::String_var name;
+ CORBA::String_var version;
+ CORBA::ValueDef_var primary_key;
+ if (!(
+ (_tao_in >> id.out ()) &&
+ (_tao_in >> name.out ()) &&
+ (_tao_in >> version.out ()) &&
+ (_tao_in >> primary_key.out ())
+ ))
+ ACE_THROW (CORBA::MARSHAL());
+
+
+#if (TAO_HAS_INTERCEPTORS == 1)
+ TAO_ServerRequestInterceptor_Adapter _tao_vfr (
+ _tao_server_request.orb_core ()->server_request_interceptors (),
+ _tao_server_request.interceptor_count ()
+ );
+
+ POA_IR::HomeDef::TAO_ServerRequestInfo_IR_HomeDef_create_primary_key ri (
+ _tao_server_request,
+ _tao_impl,
+ id.in (),
+ name.in (),
+ version.in (),
+ primary_key.in (),
+ ACE_TRY_ENV
+ );
+
+ ACE_TRY
+ {
+ _tao_vfr.receive_request (&ri, ACE_TRY_ENV);
+ ACE_TRY_CHECK;
+
+#endif /* TAO_HAS_INTERCEPTORS */
+ _tao_retval =
+ _tao_impl->create_primary_key (
+ id.in (),
+ name.in (),
+ version.in (),
+ primary_key.in (),
+ ACE_TRY_ENV
+ );
+ TAO_INTERCEPTOR_CHECK;
+
+#if (TAO_HAS_INTERCEPTORS == 1)
+ IR::PrimaryKeyDef_ptr _tao_retval_info = _tao_retval._retn ();
+ ri.result (_tao_retval_info);
+ _tao_retval = _tao_retval_info;
+ ri.reply_status (PortableInterceptor::SUCCESSFUL);
+ _tao_vfr.send_reply (&ri, ACE_TRY_ENV);
+ ACE_TRY_CHECK;
+ }
+ ACE_CATCH (PortableInterceptor::ForwardRequest, exc)
+ {
+ ri.forward_reference (exc);
+ _tao_vfr.send_other (
+ &ri,
+ ACE_TRY_ENV
+ );
+ ACE_TRY_CHECK;
+ _tao_server_request.forward_location (exc.forward.in ());
+ }
+ ACE_CATCHANY
+ {
+ ri.exception (&ACE_ANY_EXCEPTION);
+ _tao_vfr.send_exception (
+ &ri,
+ ACE_TRY_ENV
+ );
+ ACE_TRY_CHECK;
+ ACE_RE_THROW;
+ }
+ ACE_ENDTRY;
+ ACE_CHECK;
+#endif /* TAO_HAS_INTERCEPTORS */
+
+ _tao_server_request.init_reply ();
+
+ TAO_OutputCDR &_tao_out = _tao_server_request.outgoing ();
+
+ if (!(
+ (_tao_out << _tao_retval.in ())
+ ))
+ ACE_THROW (CORBA::MARSHAL());
+
+ // In case ACE_TRY_ENV is not used in this function
+ ACE_UNUSED_ARG (ACE_TRY_ENV);
+}
+
+void POA_IR::HomeDef::create_factory_skel (
+ TAO_ServerRequest &_tao_server_request,
+ void *_tao_object_reference,
+ void * /* context */,
+ CORBA::Environment &ACE_TRY_ENV
+ )
+{
+ TAO_InputCDR &_tao_in = _tao_server_request.incoming ();
+ POA_IR::HomeDef *_tao_impl = (POA_IR::HomeDef *)_tao_object_reference;
+
+ IR::FactoryDef_var _tao_retval;
+ CORBA::String_var id;
+ CORBA::String_var name;
+ CORBA::String_var version;
+ CORBA::ParDescriptionSeq params;
+ CORBA::ExceptionDefSeq exceptions;
+ if (!(
+ (_tao_in >> id.out ()) &&
+ (_tao_in >> name.out ()) &&
+ (_tao_in >> version.out ()) &&
+ (_tao_in >> params) &&
+ (_tao_in >> exceptions)
+ ))
+ ACE_THROW (CORBA::MARSHAL());
+
+
+#if (TAO_HAS_INTERCEPTORS == 1)
+ TAO_ServerRequestInterceptor_Adapter _tao_vfr (
+ _tao_server_request.orb_core ()->server_request_interceptors (),
+ _tao_server_request.interceptor_count ()
+ );
+
+ POA_IR::HomeDef::TAO_ServerRequestInfo_IR_HomeDef_create_factory ri (
+ _tao_server_request,
+ _tao_impl,
+ id.in (),
+ name.in (),
+ version.in (),
+ params,
+ exceptions,
+ ACE_TRY_ENV
+ );
+
+ ACE_TRY
+ {
+ _tao_vfr.receive_request (&ri, ACE_TRY_ENV);
+ ACE_TRY_CHECK;
+
+#endif /* TAO_HAS_INTERCEPTORS */
+ _tao_retval =
+ _tao_impl->create_factory (
+ id.in (),
+ name.in (),
+ version.in (),
+ params,
+ exceptions,
+ ACE_TRY_ENV
+ );
+ TAO_INTERCEPTOR_CHECK;
+
+#if (TAO_HAS_INTERCEPTORS == 1)
+ IR::FactoryDef_ptr _tao_retval_info = _tao_retval._retn ();
+ ri.result (_tao_retval_info);
+ _tao_retval = _tao_retval_info;
+ ri.reply_status (PortableInterceptor::SUCCESSFUL);
+ _tao_vfr.send_reply (&ri, ACE_TRY_ENV);
+ ACE_TRY_CHECK;
+ }
+ ACE_CATCH (PortableInterceptor::ForwardRequest, exc)
+ {
+ ri.forward_reference (exc);
+ _tao_vfr.send_other (
+ &ri,
+ ACE_TRY_ENV
+ );
+ ACE_TRY_CHECK;
+ _tao_server_request.forward_location (exc.forward.in ());
+ }
+ ACE_CATCHANY
+ {
+ ri.exception (&ACE_ANY_EXCEPTION);
+ _tao_vfr.send_exception (
+ &ri,
+ ACE_TRY_ENV
+ );
+ ACE_TRY_CHECK;
+ ACE_RE_THROW;
+ }
+ ACE_ENDTRY;
+ ACE_CHECK;
+#endif /* TAO_HAS_INTERCEPTORS */
+
+ _tao_server_request.init_reply ();
+
+ TAO_OutputCDR &_tao_out = _tao_server_request.outgoing ();
+
+ if (!(
+ (_tao_out << _tao_retval.in ())
+ ))
+ ACE_THROW (CORBA::MARSHAL());
+
+ // In case ACE_TRY_ENV is not used in this function
+ ACE_UNUSED_ARG (ACE_TRY_ENV);
+}
+
+void POA_IR::HomeDef::create_finder_skel (
+ TAO_ServerRequest &_tao_server_request,
+ void *_tao_object_reference,
+ void * /* context */,
+ CORBA::Environment &ACE_TRY_ENV
+ )
+{
+ TAO_InputCDR &_tao_in = _tao_server_request.incoming ();
+ POA_IR::HomeDef *_tao_impl = (POA_IR::HomeDef *)_tao_object_reference;
+
+ IR::FinderDef_var _tao_retval;
+ CORBA::String_var id;
+ CORBA::String_var name;
+ CORBA::String_var version;
+ CORBA::ParDescriptionSeq params;
+ CORBA::ExceptionDefSeq exceptions;
+ if (!(
+ (_tao_in >> id.out ()) &&
+ (_tao_in >> name.out ()) &&
+ (_tao_in >> version.out ()) &&
+ (_tao_in >> params) &&
+ (_tao_in >> exceptions)
+ ))
+ ACE_THROW (CORBA::MARSHAL());
+
+
+#if (TAO_HAS_INTERCEPTORS == 1)
+ TAO_ServerRequestInterceptor_Adapter _tao_vfr (
+ _tao_server_request.orb_core ()->server_request_interceptors (),
+ _tao_server_request.interceptor_count ()
+ );
+
+ POA_IR::HomeDef::TAO_ServerRequestInfo_IR_HomeDef_create_finder ri (
+ _tao_server_request,
+ _tao_impl,
+ id.in (),
+ name.in (),
+ version.in (),
+ params,
+ exceptions,
+ ACE_TRY_ENV
+ );
+
+ ACE_TRY
+ {
+ _tao_vfr.receive_request (&ri, ACE_TRY_ENV);
+ ACE_TRY_CHECK;
+
+#endif /* TAO_HAS_INTERCEPTORS */
+ _tao_retval =
+ _tao_impl->create_finder (
+ id.in (),
+ name.in (),
+ version.in (),
+ params,
+ exceptions,
+ ACE_TRY_ENV
+ );
+ TAO_INTERCEPTOR_CHECK;
+
+#if (TAO_HAS_INTERCEPTORS == 1)
+ IR::FinderDef_ptr _tao_retval_info = _tao_retval._retn ();
+ ri.result (_tao_retval_info);
+ _tao_retval = _tao_retval_info;
+ ri.reply_status (PortableInterceptor::SUCCESSFUL);
+ _tao_vfr.send_reply (&ri, ACE_TRY_ENV);
+ ACE_TRY_CHECK;
+ }
+ ACE_CATCH (PortableInterceptor::ForwardRequest, exc)
+ {
+ ri.forward_reference (exc);
+ _tao_vfr.send_other (
+ &ri,
+ ACE_TRY_ENV
+ );
+ ACE_TRY_CHECK;
+ _tao_server_request.forward_location (exc.forward.in ());
+ }
+ ACE_CATCHANY
+ {
+ ri.exception (&ACE_ANY_EXCEPTION);
+ _tao_vfr.send_exception (
+ &ri,
+ ACE_TRY_ENV
+ );
+ ACE_TRY_CHECK;
+ ACE_RE_THROW;
+ }
+ ACE_ENDTRY;
+ ACE_CHECK;
+#endif /* TAO_HAS_INTERCEPTORS */
+
+ _tao_server_request.init_reply ();
+
+ TAO_OutputCDR &_tao_out = _tao_server_request.outgoing ();
+
+ if (!(
+ (_tao_out << _tao_retval.in ())
+ ))
+ ACE_THROW (CORBA::MARSHAL());
+
+ // In case ACE_TRY_ENV is not used in this function
+ ACE_UNUSED_ARG (ACE_TRY_ENV);
+}
+
+void POA_IR::HomeDef::_is_a_skel (
+ TAO_ServerRequest &_tao_server_request,
+ void * _tao_object_reference,
+ void * /* context */,
+ CORBA::Environment &ACE_TRY_ENV
+ )
+{
+ TAO_InputCDR &_tao_in = _tao_server_request.incoming ();
+ POA_IR::HomeDef *_tao_impl = (POA_IR::HomeDef *) _tao_object_reference;
+ CORBA::Boolean _tao_retval = 0;
+ CORBA::String_var value;
+ if (!(_tao_in >> value.out ()))
+ ACE_THROW (CORBA::MARSHAL ());
+
+ _tao_retval = _tao_impl->_is_a (value.in (), ACE_TRY_ENV);
+ ACE_CHECK;
+
+ _tao_server_request.init_reply ();
+ TAO_OutputCDR &_tao_out = _tao_server_request.outgoing ();
+ if (!(_tao_out << CORBA::Any::from_boolean (_tao_retval)))
+ ACE_THROW (CORBA::MARSHAL ());
+}
+
+void POA_IR::HomeDef::_non_existent_skel (
+ TAO_ServerRequest &_tao_server_request,
+ void * _tao_object_reference,
+ void * /* context */,
+ CORBA::Environment &ACE_TRY_ENV
+ )
+{
+ POA_IR::HomeDef *_tao_impl = (POA_IR::HomeDef *) _tao_object_reference;
+ CORBA::Boolean _tao_retval = _tao_impl->_non_existent (ACE_TRY_ENV);
+ ACE_CHECK;
+
+ _tao_server_request.init_reply ();
+ TAO_OutputCDR &_tao_out = _tao_server_request.outgoing ();
+ if (!(_tao_out << CORBA::Any::from_boolean (_tao_retval)))
+ ACE_THROW (CORBA::MARSHAL ());
+}
+
+CORBA::Boolean POA_IR::HomeDef::_is_a (
+ const char* value,
+ CORBA::Environment &ACE_TRY_ENV
+ )
+{
+ const char *base_id = CORBA::_tc_Object->id (ACE_TRY_ENV);
+ ACE_CHECK_RETURN (0);
+
+ if (
+ (!ACE_OS::strcmp ((char *)value, "IDL:omg.org/IR/HomeDef:1.0")) ||
+ (!ACE_OS::strcmp ((char *)value, "IDL:omg.org/CORBA/InterfaceDef:1.0")) ||
+ (!ACE_OS::strcmp ((char *)value, "IDL:omg.org/CORBA/Container:1.0")) ||
+ (!ACE_OS::strcmp ((char *)value, "IDL:omg.org/CORBA/Contained:1.0")) ||
+ (!ACE_OS::strcmp ((char *)value, "IDL:omg.org/CORBA/IDLType:1.0")) ||
+ (!ACE_OS::strcmp ((char *)value, "IDL:omg.org/CORBA/IRObject:1.0")) ||
+ (!ACE_OS::strcmp ((char *)value, base_id)))
+ return 1;
+ else
+ return 0;
+}
+
+void* POA_IR::HomeDef::_downcast (
+ const char* logical_type_id
+ )
+{
+ if (ACE_OS::strcmp (logical_type_id, "IDL:omg.org/IR/HomeDef:1.0") == 0)
+ return ACE_static_cast (POA_IR::HomeDef_ptr, this);
+ if (ACE_OS::strcmp (logical_type_id, "IDL:omg.org/CORBA/InterfaceDef:1.0") == 0)
+ return ACE_static_cast (POA_CORBA::InterfaceDef_ptr, this);
+ if (ACE_OS::strcmp (logical_type_id, "IDL:omg.org/CORBA/Container:1.0") == 0)
+ return ACE_static_cast (POA_CORBA::Container_ptr, this);
+ if (ACE_OS::strcmp (logical_type_id, "IDL:omg.org/CORBA/Contained:1.0") == 0)
+ return ACE_static_cast (POA_CORBA::Contained_ptr, this);
+ if (ACE_OS::strcmp (logical_type_id, "IDL:omg.org/CORBA/IDLType:1.0") == 0)
+ return ACE_static_cast (POA_CORBA::IDLType_ptr, this);
+ if (ACE_OS::strcmp (logical_type_id, "IDL:omg.org/CORBA/IRObject:1.0") == 0)
+ return ACE_static_cast (POA_CORBA::IRObject_ptr, this);
+ if (ACE_OS::strcmp (logical_type_id, "IDL:omg.org/CORBA/Object:1.0") == 0)
+ return ACE_static_cast(PortableServer::Servant, this);
+ return 0;
+}
+
+void POA_IR::HomeDef::_dispatch (TAO_ServerRequest &req, void *context, CORBA::Environment &ACE_TRY_ENV)
+{
+ this->synchronous_upcall_dispatch(req, context, this, ACE_TRY_ENV);
+}
+
+const char* POA_IR::HomeDef::_interface_repository_id (void) const
+{
+ return "IDL:omg.org/IR/HomeDef:1.0";
+}
+
+IR::HomeDef*
+POA_IR::HomeDef::_this (CORBA_Environment &ACE_TRY_ENV)
+{
+ TAO_Stub *stub = this->_create_stub (ACE_TRY_ENV);
+ ACE_CHECK_RETURN (0);
+
+ CORBA::Object_ptr tmp = CORBA::Object::_nil ();
+
+ if (stub->servant_orb_var ()->orb_core ()->optimize_collocation_objects ())
+ ACE_NEW_RETURN (tmp, CORBA::Object (stub, 1, this), 0);
+ else
+ ACE_NEW_RETURN (tmp, CORBA::Object (stub, 0, this), 0);
+
+ CORBA::Object_var obj = tmp;
+ return ::IR::HomeDef::_unchecked_narrow (obj.in ());
+}
+
+
+#if (TAO_HAS_INTERCEPTORS == 1)
+POA_IR::HomeDef::TAO_ServerRequestInfo_IR_HomeDef_base_home_get::TAO_ServerRequestInfo_IR_HomeDef_base_home_get (
+ TAO_ServerRequest &_tao_server_request,
+ POA_IR::HomeDef *tao_impl,
+ CORBA::Environment &
+ )
+ : TAO_ServerRequestInfo (_tao_server_request),
+ _tao_impl (tao_impl)
+{}
+
+Dynamic::ParameterList *
+POA_IR::HomeDef::TAO_ServerRequestInfo_IR_HomeDef_base_home_get::arguments (CORBA::Environment &ACE_TRY_ENV)
+ ACE_THROW_SPEC ((CORBA::SystemException))
+{
+ // Generate the argument list on demand.
+ Dynamic::ParameterList *parameter_list =
+ TAO_RequestInfo_Util::make_parameter_list (ACE_TRY_ENV);
+ ACE_CHECK_RETURN (0);
+
+ return parameter_list;
+}
+
+Dynamic::ExceptionList *
+POA_IR::HomeDef::TAO_ServerRequestInfo_IR_HomeDef_base_home_get::exceptions (CORBA::Environment &ACE_TRY_ENV)
+ ACE_THROW_SPEC ((CORBA::SystemException))
+{
+ // Generate the exception list on demand.
+ Dynamic::ExceptionList *exception_list =
+ TAO_RequestInfo_Util::make_exception_list (ACE_TRY_ENV);
+ ACE_CHECK_RETURN (0);
+
+ return exception_list;
+}
+
+CORBA::Any *
+POA_IR::HomeDef::TAO_ServerRequestInfo_IR_HomeDef_base_home_get::result (CORBA::Environment &ACE_TRY_ENV)
+ ACE_THROW_SPEC ((CORBA::SystemException))
+{
+ // Generate the result on demand.
+ CORBA::Boolean tk_void_any = 0;
+ CORBA::Any *result_any =
+ TAO_RequestInfo_Util::make_any (tk_void_any, ACE_TRY_ENV);
+ ACE_CHECK_RETURN (0);
+
+ CORBA::Any_var safe_result_any = result_any;
+
+ (*result_any) <<= this->_result;
+
+ return safe_result_any._retn ();
+}
+
+char *
+POA_IR::HomeDef::TAO_ServerRequestInfo_IR_HomeDef_base_home_get::target_most_derived_interface (
+ CORBA::Environment &)
+ ACE_THROW_SPEC ((CORBA::SystemException))
+{
+ return
+ CORBA::string_dup (this->_tao_impl->_interface_repository_id ());
+}
+
+CORBA::Boolean
+POA_IR::HomeDef::TAO_ServerRequestInfo_IR_HomeDef_base_home_get::target_is_a (
+ const char * id,
+ CORBA::Environment &ACE_TRY_ENV)
+ ACE_THROW_SPEC ((CORBA::SystemException))
+{
+ return this->_tao_impl->_is_a (id, ACE_TRY_ENV);
+}
+
+void
+POA_IR::HomeDef::TAO_ServerRequestInfo_IR_HomeDef_base_home_get::result (IR::HomeDef_ptr result)
+{
+ // Update the result.
+ this->_result = result;
+}
+
+POA_IR::HomeDef::TAO_ServerRequestInfo_IR_HomeDef_managed_component_get::TAO_ServerRequestInfo_IR_HomeDef_managed_component_get (
+ TAO_ServerRequest &_tao_server_request,
+ POA_IR::HomeDef *tao_impl,
+ CORBA::Environment &
+ )
+ : TAO_ServerRequestInfo (_tao_server_request),
+ _tao_impl (tao_impl)
+{}
+
+Dynamic::ParameterList *
+POA_IR::HomeDef::TAO_ServerRequestInfo_IR_HomeDef_managed_component_get::arguments (CORBA::Environment &ACE_TRY_ENV)
+ ACE_THROW_SPEC ((CORBA::SystemException))
+{
+ // Generate the argument list on demand.
+ Dynamic::ParameterList *parameter_list =
+ TAO_RequestInfo_Util::make_parameter_list (ACE_TRY_ENV);
+ ACE_CHECK_RETURN (0);
+
+ return parameter_list;
+}
+
+Dynamic::ExceptionList *
+POA_IR::HomeDef::TAO_ServerRequestInfo_IR_HomeDef_managed_component_get::exceptions (CORBA::Environment &ACE_TRY_ENV)
+ ACE_THROW_SPEC ((CORBA::SystemException))
+{
+ // Generate the exception list on demand.
+ Dynamic::ExceptionList *exception_list =
+ TAO_RequestInfo_Util::make_exception_list (ACE_TRY_ENV);
+ ACE_CHECK_RETURN (0);
+
+ return exception_list;
+}
+
+CORBA::Any *
+POA_IR::HomeDef::TAO_ServerRequestInfo_IR_HomeDef_managed_component_get::result (CORBA::Environment &ACE_TRY_ENV)
+ ACE_THROW_SPEC ((CORBA::SystemException))
+{
+ // Generate the result on demand.
+ CORBA::Boolean tk_void_any = 0;
+ CORBA::Any *result_any =
+ TAO_RequestInfo_Util::make_any (tk_void_any, ACE_TRY_ENV);
+ ACE_CHECK_RETURN (0);
+
+ CORBA::Any_var safe_result_any = result_any;
+
+ (*result_any) <<= this->_result;
+
+ return safe_result_any._retn ();
+}
+
+char *
+POA_IR::HomeDef::TAO_ServerRequestInfo_IR_HomeDef_managed_component_get::target_most_derived_interface (
+ CORBA::Environment &)
+ ACE_THROW_SPEC ((CORBA::SystemException))
+{
+ return
+ CORBA::string_dup (this->_tao_impl->_interface_repository_id ());
+}
+
+CORBA::Boolean
+POA_IR::HomeDef::TAO_ServerRequestInfo_IR_HomeDef_managed_component_get::target_is_a (
+ const char * id,
+ CORBA::Environment &ACE_TRY_ENV)
+ ACE_THROW_SPEC ((CORBA::SystemException))
+{
+ return this->_tao_impl->_is_a (id, ACE_TRY_ENV);
+}
+
+void
+POA_IR::HomeDef::TAO_ServerRequestInfo_IR_HomeDef_managed_component_get::result (IR::ComponentDef_ptr result)
+{
+ // Update the result.
+ this->_result = result;
+}
+
+POA_IR::HomeDef::TAO_ServerRequestInfo_IR_HomeDef_primary_key_get::TAO_ServerRequestInfo_IR_HomeDef_primary_key_get (
+ TAO_ServerRequest &_tao_server_request,
+ POA_IR::HomeDef *tao_impl,
+ CORBA::Environment &
+ )
+ : TAO_ServerRequestInfo (_tao_server_request),
+ _tao_impl (tao_impl)
+{}
+
+Dynamic::ParameterList *
+POA_IR::HomeDef::TAO_ServerRequestInfo_IR_HomeDef_primary_key_get::arguments (CORBA::Environment &ACE_TRY_ENV)
+ ACE_THROW_SPEC ((CORBA::SystemException))
+{
+ // Generate the argument list on demand.
+ Dynamic::ParameterList *parameter_list =
+ TAO_RequestInfo_Util::make_parameter_list (ACE_TRY_ENV);
+ ACE_CHECK_RETURN (0);
+
+ return parameter_list;
+}
+
+Dynamic::ExceptionList *
+POA_IR::HomeDef::TAO_ServerRequestInfo_IR_HomeDef_primary_key_get::exceptions (CORBA::Environment &ACE_TRY_ENV)
+ ACE_THROW_SPEC ((CORBA::SystemException))
+{
+ // Generate the exception list on demand.
+ Dynamic::ExceptionList *exception_list =
+ TAO_RequestInfo_Util::make_exception_list (ACE_TRY_ENV);
+ ACE_CHECK_RETURN (0);
+
+ return exception_list;
+}
+
+CORBA::Any *
+POA_IR::HomeDef::TAO_ServerRequestInfo_IR_HomeDef_primary_key_get::result (CORBA::Environment &ACE_TRY_ENV)
+ ACE_THROW_SPEC ((CORBA::SystemException))
+{
+ // Generate the result on demand.
+ CORBA::Boolean tk_void_any = 0;
+ CORBA::Any *result_any =
+ TAO_RequestInfo_Util::make_any (tk_void_any, ACE_TRY_ENV);
+ ACE_CHECK_RETURN (0);
+
+ CORBA::Any_var safe_result_any = result_any;
+
+ (*result_any) <<= this->_result;
+
+ return safe_result_any._retn ();
+}
+
+char *
+POA_IR::HomeDef::TAO_ServerRequestInfo_IR_HomeDef_primary_key_get::target_most_derived_interface (
+ CORBA::Environment &)
+ ACE_THROW_SPEC ((CORBA::SystemException))
+{
+ return
+ CORBA::string_dup (this->_tao_impl->_interface_repository_id ());
+}
+
+CORBA::Boolean
+POA_IR::HomeDef::TAO_ServerRequestInfo_IR_HomeDef_primary_key_get::target_is_a (
+ const char * id,
+ CORBA::Environment &ACE_TRY_ENV)
+ ACE_THROW_SPEC ((CORBA::SystemException))
+{
+ return this->_tao_impl->_is_a (id, ACE_TRY_ENV);
+}
+
+void
+POA_IR::HomeDef::TAO_ServerRequestInfo_IR_HomeDef_primary_key_get::result (IR::PrimaryKeyDef_ptr result)
+{
+ // Update the result.
+ this->_result = result;
+}
+
+POA_IR::HomeDef::TAO_ServerRequestInfo_IR_HomeDef_factories_get::TAO_ServerRequestInfo_IR_HomeDef_factories_get (
+ TAO_ServerRequest &_tao_server_request,
+ POA_IR::HomeDef *tao_impl,
+ CORBA::Environment &
+ )
+ : TAO_ServerRequestInfo (_tao_server_request),
+ _tao_impl (tao_impl)
+{}
+
+Dynamic::ParameterList *
+POA_IR::HomeDef::TAO_ServerRequestInfo_IR_HomeDef_factories_get::arguments (CORBA::Environment &ACE_TRY_ENV)
+ ACE_THROW_SPEC ((CORBA::SystemException))
+{
+ // Generate the argument list on demand.
+ Dynamic::ParameterList *parameter_list =
+ TAO_RequestInfo_Util::make_parameter_list (ACE_TRY_ENV);
+ ACE_CHECK_RETURN (0);
+
+ return parameter_list;
+}
+
+Dynamic::ExceptionList *
+POA_IR::HomeDef::TAO_ServerRequestInfo_IR_HomeDef_factories_get::exceptions (CORBA::Environment &ACE_TRY_ENV)
+ ACE_THROW_SPEC ((CORBA::SystemException))
+{
+ // Generate the exception list on demand.
+ Dynamic::ExceptionList *exception_list =
+ TAO_RequestInfo_Util::make_exception_list (ACE_TRY_ENV);
+ ACE_CHECK_RETURN (0);
+
+ return exception_list;
+}
+
+CORBA::Any *
+POA_IR::HomeDef::TAO_ServerRequestInfo_IR_HomeDef_factories_get::result (CORBA::Environment &ACE_TRY_ENV)
+ ACE_THROW_SPEC ((CORBA::SystemException))
+{
+ // Generate the result on demand.
+ CORBA::Boolean tk_void_any = 0;
+ CORBA::Any *result_any =
+ TAO_RequestInfo_Util::make_any (tk_void_any, ACE_TRY_ENV);
+ ACE_CHECK_RETURN (0);
+
+ CORBA::Any_var safe_result_any = result_any;
+
+ (*result_any) <<= this->_result;
+
+ return safe_result_any._retn ();
+}
+
+char *
+POA_IR::HomeDef::TAO_ServerRequestInfo_IR_HomeDef_factories_get::target_most_derived_interface (
+ CORBA::Environment &)
+ ACE_THROW_SPEC ((CORBA::SystemException))
+{
+ return
+ CORBA::string_dup (this->_tao_impl->_interface_repository_id ());
+}
+
+CORBA::Boolean
+POA_IR::HomeDef::TAO_ServerRequestInfo_IR_HomeDef_factories_get::target_is_a (
+ const char * id,
+ CORBA::Environment &ACE_TRY_ENV)
+ ACE_THROW_SPEC ((CORBA::SystemException))
+{
+ return this->_tao_impl->_is_a (id, ACE_TRY_ENV);
+}
+
+void
+POA_IR::HomeDef::TAO_ServerRequestInfo_IR_HomeDef_factories_get::result (IR::FactoryDefSeq * result)
+{
+ // Update the result.
+ this->_result = result;
+}
+
+POA_IR::HomeDef::TAO_ServerRequestInfo_IR_HomeDef_finders_get::TAO_ServerRequestInfo_IR_HomeDef_finders_get (
+ TAO_ServerRequest &_tao_server_request,
+ POA_IR::HomeDef *tao_impl,
+ CORBA::Environment &
+ )
+ : TAO_ServerRequestInfo (_tao_server_request),
+ _tao_impl (tao_impl)
+{}
+
+Dynamic::ParameterList *
+POA_IR::HomeDef::TAO_ServerRequestInfo_IR_HomeDef_finders_get::arguments (CORBA::Environment &ACE_TRY_ENV)
+ ACE_THROW_SPEC ((CORBA::SystemException))
+{
+ // Generate the argument list on demand.
+ Dynamic::ParameterList *parameter_list =
+ TAO_RequestInfo_Util::make_parameter_list (ACE_TRY_ENV);
+ ACE_CHECK_RETURN (0);
+
+ return parameter_list;
+}
+
+Dynamic::ExceptionList *
+POA_IR::HomeDef::TAO_ServerRequestInfo_IR_HomeDef_finders_get::exceptions (CORBA::Environment &ACE_TRY_ENV)
+ ACE_THROW_SPEC ((CORBA::SystemException))
+{
+ // Generate the exception list on demand.
+ Dynamic::ExceptionList *exception_list =
+ TAO_RequestInfo_Util::make_exception_list (ACE_TRY_ENV);
+ ACE_CHECK_RETURN (0);
+
+ return exception_list;
+}
+
+CORBA::Any *
+POA_IR::HomeDef::TAO_ServerRequestInfo_IR_HomeDef_finders_get::result (CORBA::Environment &ACE_TRY_ENV)
+ ACE_THROW_SPEC ((CORBA::SystemException))
+{
+ // Generate the result on demand.
+ CORBA::Boolean tk_void_any = 0;
+ CORBA::Any *result_any =
+ TAO_RequestInfo_Util::make_any (tk_void_any, ACE_TRY_ENV);
+ ACE_CHECK_RETURN (0);
+
+ CORBA::Any_var safe_result_any = result_any;
+
+ (*result_any) <<= this->_result;
+
+ return safe_result_any._retn ();
+}
+
+char *
+POA_IR::HomeDef::TAO_ServerRequestInfo_IR_HomeDef_finders_get::target_most_derived_interface (
+ CORBA::Environment &)
+ ACE_THROW_SPEC ((CORBA::SystemException))
+{
+ return
+ CORBA::string_dup (this->_tao_impl->_interface_repository_id ());
+}
+
+CORBA::Boolean
+POA_IR::HomeDef::TAO_ServerRequestInfo_IR_HomeDef_finders_get::target_is_a (
+ const char * id,
+ CORBA::Environment &ACE_TRY_ENV)
+ ACE_THROW_SPEC ((CORBA::SystemException))
+{
+ return this->_tao_impl->_is_a (id, ACE_TRY_ENV);
+}
+
+void
+POA_IR::HomeDef::TAO_ServerRequestInfo_IR_HomeDef_finders_get::result (IR::FinderDefSeq * result)
+{
+ // Update the result.
+ this->_result = result;
+}
+
+POA_IR::HomeDef::TAO_ServerRequestInfo_IR_HomeDef_is_basic_get::TAO_ServerRequestInfo_IR_HomeDef_is_basic_get (
+ TAO_ServerRequest &_tao_server_request,
+ POA_IR::HomeDef *tao_impl,
+ CORBA::Environment &
+ )
+ : TAO_ServerRequestInfo (_tao_server_request),
+ _tao_impl (tao_impl)
+{}
+
+Dynamic::ParameterList *
+POA_IR::HomeDef::TAO_ServerRequestInfo_IR_HomeDef_is_basic_get::arguments (CORBA::Environment &ACE_TRY_ENV)
+ ACE_THROW_SPEC ((CORBA::SystemException))
+{
+ // Generate the argument list on demand.
+ Dynamic::ParameterList *parameter_list =
+ TAO_RequestInfo_Util::make_parameter_list (ACE_TRY_ENV);
+ ACE_CHECK_RETURN (0);
+
+ return parameter_list;
+}
+
+Dynamic::ExceptionList *
+POA_IR::HomeDef::TAO_ServerRequestInfo_IR_HomeDef_is_basic_get::exceptions (CORBA::Environment &ACE_TRY_ENV)
+ ACE_THROW_SPEC ((CORBA::SystemException))
+{
+ // Generate the exception list on demand.
+ Dynamic::ExceptionList *exception_list =
+ TAO_RequestInfo_Util::make_exception_list (ACE_TRY_ENV);
+ ACE_CHECK_RETURN (0);
+
+ return exception_list;
+}
+
+CORBA::Any *
+POA_IR::HomeDef::TAO_ServerRequestInfo_IR_HomeDef_is_basic_get::result (CORBA::Environment &ACE_TRY_ENV)
+ ACE_THROW_SPEC ((CORBA::SystemException))
+{
+ // Generate the result on demand.
+ CORBA::Boolean tk_void_any = 0;
+ CORBA::Any *result_any =
+ TAO_RequestInfo_Util::make_any (tk_void_any, ACE_TRY_ENV);
+ ACE_CHECK_RETURN (0);
+
+ CORBA::Any_var safe_result_any = result_any;
+
+ (*result_any) <<= CORBA::Any::from_boolean (this->_result);
+
+ return safe_result_any._retn ();
+}
+
+char *
+POA_IR::HomeDef::TAO_ServerRequestInfo_IR_HomeDef_is_basic_get::target_most_derived_interface (
+ CORBA::Environment &)
+ ACE_THROW_SPEC ((CORBA::SystemException))
+{
+ return
+ CORBA::string_dup (this->_tao_impl->_interface_repository_id ());
+}
+
+CORBA::Boolean
+POA_IR::HomeDef::TAO_ServerRequestInfo_IR_HomeDef_is_basic_get::target_is_a (
+ const char * id,
+ CORBA::Environment &ACE_TRY_ENV)
+ ACE_THROW_SPEC ((CORBA::SystemException))
+{
+ return this->_tao_impl->_is_a (id, ACE_TRY_ENV);
+}
+
+void
+POA_IR::HomeDef::TAO_ServerRequestInfo_IR_HomeDef_is_basic_get::result (CORBA::Boolean result)
+{
+ // Update the result.
+ this->_result = result;
+}
+
+POA_IR::HomeDef::TAO_ServerRequestInfo_IR_HomeDef_create_primary_key::TAO_ServerRequestInfo_IR_HomeDef_create_primary_key (
+ TAO_ServerRequest &_tao_server_request,
+ POA_IR::HomeDef *tao_impl,
+ const char * id,
+ const char * name,
+ const char * version,
+ CORBA::ValueDef_ptr primary_key,
+ CORBA::Environment &
+ )
+ : TAO_ServerRequestInfo (_tao_server_request),
+ _tao_impl (tao_impl),
+ id_ (id),
+ name_ (name),
+ version_ (version),
+ primary_key_ (primary_key)
+{}
+
+Dynamic::ParameterList *
+POA_IR::HomeDef::TAO_ServerRequestInfo_IR_HomeDef_create_primary_key::arguments (CORBA::Environment &ACE_TRY_ENV)
+ ACE_THROW_SPEC ((CORBA::SystemException))
+{
+ // Generate the argument list on demand.
+ Dynamic::ParameterList *parameter_list =
+ TAO_RequestInfo_Util::make_parameter_list (ACE_TRY_ENV);
+ ACE_CHECK_RETURN (0);
+
+ Dynamic::ParameterList_var safe_parameter_list = parameter_list;
+
+ CORBA::ULong length_id = parameter_list->length ();
+ parameter_list->length (length_id + 1);
+ (*parameter_list)[length_id].argument <<= id_;
+ (*parameter_list)[length_id].mode = Dynamic::PARAM_IN;
+
+ CORBA::ULong length_name = parameter_list->length ();
+ parameter_list->length (length_name + 1);
+ (*parameter_list)[length_name].argument <<= name_;
+ (*parameter_list)[length_name].mode = Dynamic::PARAM_IN;
+
+ CORBA::ULong length_version = parameter_list->length ();
+ parameter_list->length (length_version + 1);
+ (*parameter_list)[length_version].argument <<= version_;
+ (*parameter_list)[length_version].mode = Dynamic::PARAM_IN;
+
+ CORBA::ULong length_primary_key = parameter_list->length ();
+ parameter_list->length (length_primary_key + 1);
+ (*parameter_list)[length_primary_key].argument <<= this->primary_key_;
+
+ (*parameter_list)[length_primary_key].mode = Dynamic::PARAM_IN;
+
+ return safe_parameter_list._retn ();
+}
+
+Dynamic::ExceptionList *
+POA_IR::HomeDef::TAO_ServerRequestInfo_IR_HomeDef_create_primary_key::exceptions (CORBA::Environment &ACE_TRY_ENV)
+ ACE_THROW_SPEC ((CORBA::SystemException))
+{
+ // Generate the exception list on demand.
+ Dynamic::ExceptionList *exception_list =
+ TAO_RequestInfo_Util::make_exception_list (ACE_TRY_ENV);
+ ACE_CHECK_RETURN (0);
+
+ return exception_list;
+}
+
+CORBA::Any *
+POA_IR::HomeDef::TAO_ServerRequestInfo_IR_HomeDef_create_primary_key::result (CORBA::Environment &ACE_TRY_ENV)
+ ACE_THROW_SPEC ((CORBA::SystemException))
+{
+ // Generate the result on demand.
+ CORBA::Boolean tk_void_any = 0;
+ CORBA::Any *result_any =
+ TAO_RequestInfo_Util::make_any (tk_void_any, ACE_TRY_ENV);
+ ACE_CHECK_RETURN (0);
+
+ CORBA::Any_var safe_result_any = result_any;
+
+ (*result_any) <<= this->_result;
+
+ return safe_result_any._retn ();
+}
+
+char *
+POA_IR::HomeDef::TAO_ServerRequestInfo_IR_HomeDef_create_primary_key::target_most_derived_interface (
+ CORBA::Environment &)
+ ACE_THROW_SPEC ((CORBA::SystemException))
+{
+ return
+ CORBA::string_dup (this->_tao_impl->_interface_repository_id ());
+}
+
+CORBA::Boolean
+POA_IR::HomeDef::TAO_ServerRequestInfo_IR_HomeDef_create_primary_key::target_is_a (
+ const char * id,
+ CORBA::Environment &ACE_TRY_ENV)
+ ACE_THROW_SPEC ((CORBA::SystemException))
+{
+ return this->_tao_impl->_is_a (id, ACE_TRY_ENV);
+}
+
+void
+POA_IR::HomeDef::TAO_ServerRequestInfo_IR_HomeDef_create_primary_key::result (IR::PrimaryKeyDef_ptr result)
+{
+ // Update the result.
+ this->_result = result;
+}
+
+POA_IR::HomeDef::TAO_ServerRequestInfo_IR_HomeDef_create_factory::TAO_ServerRequestInfo_IR_HomeDef_create_factory (
+ TAO_ServerRequest &_tao_server_request,
+ POA_IR::HomeDef *tao_impl,
+ const char * id,
+ const char * name,
+ const char * version,
+ const CORBA::ParDescriptionSeq & params,
+ const CORBA::ExceptionDefSeq & exceptions,
+ CORBA::Environment &
+ )
+ : TAO_ServerRequestInfo (_tao_server_request),
+ _tao_impl (tao_impl),
+ id_ (id),
+ name_ (name),
+ version_ (version),
+ params_ (params),
+ exceptions_ (exceptions)
+{}
+
+Dynamic::ParameterList *
+POA_IR::HomeDef::TAO_ServerRequestInfo_IR_HomeDef_create_factory::arguments (CORBA::Environment &ACE_TRY_ENV)
+ ACE_THROW_SPEC ((CORBA::SystemException))
+{
+ // Generate the argument list on demand.
+ Dynamic::ParameterList *parameter_list =
+ TAO_RequestInfo_Util::make_parameter_list (ACE_TRY_ENV);
+ ACE_CHECK_RETURN (0);
+
+ Dynamic::ParameterList_var safe_parameter_list = parameter_list;
+
+ CORBA::ULong length_id = parameter_list->length ();
+ parameter_list->length (length_id + 1);
+ (*parameter_list)[length_id].argument <<= id_;
+ (*parameter_list)[length_id].mode = Dynamic::PARAM_IN;
+
+ CORBA::ULong length_name = parameter_list->length ();
+ parameter_list->length (length_name + 1);
+ (*parameter_list)[length_name].argument <<= name_;
+ (*parameter_list)[length_name].mode = Dynamic::PARAM_IN;
+
+ CORBA::ULong length_version = parameter_list->length ();
+ parameter_list->length (length_version + 1);
+ (*parameter_list)[length_version].argument <<= version_;
+ (*parameter_list)[length_version].mode = Dynamic::PARAM_IN;
+
+ CORBA::ULong length_params = parameter_list->length ();
+ parameter_list->length (length_params + 1);
+ (*parameter_list)[length_params].argument <<= this->params_;
+
+ (*parameter_list)[length_params].mode = Dynamic::PARAM_IN;
+
+ CORBA::ULong length_exceptions = parameter_list->length ();
+ parameter_list->length (length_exceptions + 1);
+ (*parameter_list)[length_exceptions].argument <<= this->exceptions_;
+
+ (*parameter_list)[length_exceptions].mode = Dynamic::PARAM_IN;
+
+ return safe_parameter_list._retn ();
+}
+
+Dynamic::ExceptionList *
+POA_IR::HomeDef::TAO_ServerRequestInfo_IR_HomeDef_create_factory::exceptions (CORBA::Environment &ACE_TRY_ENV)
+ ACE_THROW_SPEC ((CORBA::SystemException))
+{
+ // Generate the exception list on demand.
+ Dynamic::ExceptionList *exception_list =
+ TAO_RequestInfo_Util::make_exception_list (ACE_TRY_ENV);
+ ACE_CHECK_RETURN (0);
+
+ return exception_list;
+}
+
+CORBA::Any *
+POA_IR::HomeDef::TAO_ServerRequestInfo_IR_HomeDef_create_factory::result (CORBA::Environment &ACE_TRY_ENV)
+ ACE_THROW_SPEC ((CORBA::SystemException))
+{
+ // Generate the result on demand.
+ CORBA::Boolean tk_void_any = 0;
+ CORBA::Any *result_any =
+ TAO_RequestInfo_Util::make_any (tk_void_any, ACE_TRY_ENV);
+ ACE_CHECK_RETURN (0);
+
+ CORBA::Any_var safe_result_any = result_any;
+
+ (*result_any) <<= this->_result;
+
+ return safe_result_any._retn ();
+}
+
+char *
+POA_IR::HomeDef::TAO_ServerRequestInfo_IR_HomeDef_create_factory::target_most_derived_interface (
+ CORBA::Environment &)
+ ACE_THROW_SPEC ((CORBA::SystemException))
+{
+ return
+ CORBA::string_dup (this->_tao_impl->_interface_repository_id ());
+}
+
+CORBA::Boolean
+POA_IR::HomeDef::TAO_ServerRequestInfo_IR_HomeDef_create_factory::target_is_a (
+ const char * id,
+ CORBA::Environment &ACE_TRY_ENV)
+ ACE_THROW_SPEC ((CORBA::SystemException))
+{
+ return this->_tao_impl->_is_a (id, ACE_TRY_ENV);
+}
+
+void
+POA_IR::HomeDef::TAO_ServerRequestInfo_IR_HomeDef_create_factory::result (IR::FactoryDef_ptr result)
+{
+ // Update the result.
+ this->_result = result;
+}
+
+POA_IR::HomeDef::TAO_ServerRequestInfo_IR_HomeDef_create_finder::TAO_ServerRequestInfo_IR_HomeDef_create_finder (
+ TAO_ServerRequest &_tao_server_request,
+ POA_IR::HomeDef *tao_impl,
+ const char * id,
+ const char * name,
+ const char * version,
+ const CORBA::ParDescriptionSeq & params,
+ const CORBA::ExceptionDefSeq & exceptions,
+ CORBA::Environment &
+ )
+ : TAO_ServerRequestInfo (_tao_server_request),
+ _tao_impl (tao_impl),
+ id_ (id),
+ name_ (name),
+ version_ (version),
+ params_ (params),
+ exceptions_ (exceptions)
+{}
+
+Dynamic::ParameterList *
+POA_IR::HomeDef::TAO_ServerRequestInfo_IR_HomeDef_create_finder::arguments (CORBA::Environment &ACE_TRY_ENV)
+ ACE_THROW_SPEC ((CORBA::SystemException))
+{
+ // Generate the argument list on demand.
+ Dynamic::ParameterList *parameter_list =
+ TAO_RequestInfo_Util::make_parameter_list (ACE_TRY_ENV);
+ ACE_CHECK_RETURN (0);
+
+ Dynamic::ParameterList_var safe_parameter_list = parameter_list;
+
+ CORBA::ULong length_id = parameter_list->length ();
+ parameter_list->length (length_id + 1);
+ (*parameter_list)[length_id].argument <<= id_;
+ (*parameter_list)[length_id].mode = Dynamic::PARAM_IN;
+
+ CORBA::ULong length_name = parameter_list->length ();
+ parameter_list->length (length_name + 1);
+ (*parameter_list)[length_name].argument <<= name_;
+ (*parameter_list)[length_name].mode = Dynamic::PARAM_IN;
+
+ CORBA::ULong length_version = parameter_list->length ();
+ parameter_list->length (length_version + 1);
+ (*parameter_list)[length_version].argument <<= version_;
+ (*parameter_list)[length_version].mode = Dynamic::PARAM_IN;
+
+ CORBA::ULong length_params = parameter_list->length ();
+ parameter_list->length (length_params + 1);
+ (*parameter_list)[length_params].argument <<= this->params_;
+
+ (*parameter_list)[length_params].mode = Dynamic::PARAM_IN;
+
+ CORBA::ULong length_exceptions = parameter_list->length ();
+ parameter_list->length (length_exceptions + 1);
+ (*parameter_list)[length_exceptions].argument <<= this->exceptions_;
+
+ (*parameter_list)[length_exceptions].mode = Dynamic::PARAM_IN;
+
+ return safe_parameter_list._retn ();
+}
+
+Dynamic::ExceptionList *
+POA_IR::HomeDef::TAO_ServerRequestInfo_IR_HomeDef_create_finder::exceptions (CORBA::Environment &ACE_TRY_ENV)
+ ACE_THROW_SPEC ((CORBA::SystemException))
+{
+ // Generate the exception list on demand.
+ Dynamic::ExceptionList *exception_list =
+ TAO_RequestInfo_Util::make_exception_list (ACE_TRY_ENV);
+ ACE_CHECK_RETURN (0);
+
+ return exception_list;
+}
+
+CORBA::Any *
+POA_IR::HomeDef::TAO_ServerRequestInfo_IR_HomeDef_create_finder::result (CORBA::Environment &ACE_TRY_ENV)
+ ACE_THROW_SPEC ((CORBA::SystemException))
+{
+ // Generate the result on demand.
+ CORBA::Boolean tk_void_any = 0;
+ CORBA::Any *result_any =
+ TAO_RequestInfo_Util::make_any (tk_void_any, ACE_TRY_ENV);
+ ACE_CHECK_RETURN (0);
+
+ CORBA::Any_var safe_result_any = result_any;
+
+ (*result_any) <<= this->_result;
+
+ return safe_result_any._retn ();
+}
+
+char *
+POA_IR::HomeDef::TAO_ServerRequestInfo_IR_HomeDef_create_finder::target_most_derived_interface (
+ CORBA::Environment &)
+ ACE_THROW_SPEC ((CORBA::SystemException))
+{
+ return
+ CORBA::string_dup (this->_tao_impl->_interface_repository_id ());
+}
+
+CORBA::Boolean
+POA_IR::HomeDef::TAO_ServerRequestInfo_IR_HomeDef_create_finder::target_is_a (
+ const char * id,
+ CORBA::Environment &ACE_TRY_ENV)
+ ACE_THROW_SPEC ((CORBA::SystemException))
+{
+ return this->_tao_impl->_is_a (id, ACE_TRY_ENV);
+}
+
+void
+POA_IR::HomeDef::TAO_ServerRequestInfo_IR_HomeDef_create_finder::result (IR::FinderDef_ptr result)
+{
+ // Update the result.
+ this->_result = result;
+}
+
+#endif /* TAO_HAS_INTERCEPTORS */
+
+#endif /* ifndef */
diff --git a/TAO/orbsvcs/IFR_Service/IFR_ComponentsS.h b/TAO/orbsvcs/IFR_Service/IFR_ComponentsS.h
new file mode 100644
index 00000000000..9faabd4fd95
--- /dev/null
+++ b/TAO/orbsvcs/IFR_Service/IFR_ComponentsS.h
@@ -0,0 +1,9368 @@
+// -*- C++ -*-
+//
+// $Id$
+
+// **** Code generated by the The ACE ORB (TAO) IDL Compiler ****
+// TAO and the TAO IDL Compiler have been developed by:
+// Center for Distributed Object Computing
+// Washington University
+// St. Louis, MO
+// USA
+// http://www.cs.wustl.edu/~schmidt/doc-center.html
+// and
+// Distributed Object Computing Laboratory
+// University of California at Irvine
+// Irvine, CA
+// USA
+// http://doc.ece.uci.edu/
+//
+// Information about TAO is available at:
+// http://www.cs.wustl.edu/~schmidt/TAO.html
+
+#ifndef TAO_IDL_IFR_COMPONENTSS_H
+#define TAO_IDL_IFR_COMPONENTSS_H
+
+#include "ace/pre.h"
+#include "tao/IFR_Client/IFR_ComponentsC.h"
+
+#if !defined (ACE_LACKS_PRAGMA_ONCE)
+# pragma once
+#endif /* ACE_LACKS_PRAGMA_ONCE */
+
+#include "IFR_ExtendedS.h"
+
+#if defined(_MSC_VER)
+#if (_MSC_VER >= 1200)
+#pragma warning(push)
+#endif /* _MSC_VER >= 1200 */
+#pragma warning(disable:4250)
+#endif /* _MSC_VER */
+
+#if defined (__BORLANDC__)
+#pragma option push -w-rvl -w-rch -w-ccc -w-inl
+#endif /* __BORLANDC__ */
+
+TAO_NAMESPACE POA_IR
+{
+ class ComponentRepository;
+ typedef ComponentRepository *ComponentRepository_ptr;
+ // Forward Classes Declaration
+ class _TAO_ComponentRepository_ThruPOA_Proxy_Impl;
+ class _TAO_ComponentRepository_Strategized_Proxy_Broker;
+
+ class ComponentRepository : public virtual POA_CORBA::Repository
+ {
+ protected:
+ ComponentRepository (void);
+
+ public:
+ ComponentRepository (const ComponentRepository& rhs);
+ virtual ~ComponentRepository (void);
+
+
+ virtual CORBA::Boolean _is_a (
+ const char* logical_type_id,
+ CORBA::Environment &ACE_TRY_ENV =
+ TAO_default_environment ()
+ );
+
+ virtual void* _downcast (
+ const char* logical_type_id
+ );
+
+ static void _is_a_skel (
+ TAO_ServerRequest &req,
+ void *obj,
+ void *context,
+ CORBA::Environment &ACE_TRY_ENV =
+ TAO_default_environment ()
+ );
+
+ static void _non_existent_skel (
+ TAO_ServerRequest &req,
+ void *obj,
+ void *context,
+ CORBA::Environment &ACE_TRY_ENV =
+ TAO_default_environment ()
+ );
+
+ virtual void _dispatch (
+ TAO_ServerRequest &_tao_req,
+ void *_tao_context,
+ CORBA::Environment &ACE_TRY_ENV =
+ TAO_default_environment ()
+ );
+
+ ::IR::ComponentRepository *_this (
+ CORBA::Environment &ACE_TRY_ENV =
+ TAO_default_environment ()
+ );
+
+ virtual const char* _interface_repository_id (void) const;
+
+ virtual IR::ComponentDef_ptr create_component (
+ const char * id,
+ const char * name,
+ const char * version,
+ IR::ComponentDef_ptr base_component,
+ const CORBA::InterfaceDefSeq & supports_interfaces,
+ CORBA::Environment &ACE_TRY_ENV =
+ TAO_default_environment ()
+ )
+ ACE_THROW_SPEC ((
+ CORBA::SystemException
+ )) = 0;
+
+ static void create_component_skel (
+ TAO_ServerRequest &_tao_req,
+ void *_tao_obj,
+ void *_tao_context,
+ CORBA::Environment &ACE_TRY_ENV =
+ TAO_default_environment ()
+ );
+
+ virtual IR::HomeDef_ptr create_home (
+ const char * id,
+ const char * name,
+ const char * version,
+ IR::HomeDef_ptr base_home,
+ IR::ComponentDef_ptr managed_component,
+ CORBA::ValueDef_ptr primary_key,
+ CORBA::Environment &ACE_TRY_ENV =
+ TAO_default_environment ()
+ )
+ ACE_THROW_SPEC ((
+ CORBA::SystemException
+ )) = 0;
+
+ static void create_home_skel (
+ TAO_ServerRequest &_tao_req,
+ void *_tao_obj,
+ void *_tao_context,
+ CORBA::Environment &ACE_TRY_ENV =
+ TAO_default_environment ()
+ );
+
+ static void lookup_id_skel (
+ TAO_ServerRequest &req,
+ void *obj,
+ void *context,
+ CORBA::Environment &ACE_TRY_ENV =
+ TAO_default_environment ()
+ );
+
+ static void get_canonical_typecode_skel (
+ TAO_ServerRequest &req,
+ void *obj,
+ void *context,
+ CORBA::Environment &ACE_TRY_ENV =
+ TAO_default_environment ()
+ );
+
+ static void get_primitive_skel (
+ TAO_ServerRequest &req,
+ void *obj,
+ void *context,
+ CORBA::Environment &ACE_TRY_ENV =
+ TAO_default_environment ()
+ );
+
+ static void create_string_skel (
+ TAO_ServerRequest &req,
+ void *obj,
+ void *context,
+ CORBA::Environment &ACE_TRY_ENV =
+ TAO_default_environment ()
+ );
+
+ static void create_wstring_skel (
+ TAO_ServerRequest &req,
+ void *obj,
+ void *context,
+ CORBA::Environment &ACE_TRY_ENV =
+ TAO_default_environment ()
+ );
+
+ static void create_sequence_skel (
+ TAO_ServerRequest &req,
+ void *obj,
+ void *context,
+ CORBA::Environment &ACE_TRY_ENV =
+ TAO_default_environment ()
+ );
+
+ static void create_array_skel (
+ TAO_ServerRequest &req,
+ void *obj,
+ void *context,
+ CORBA::Environment &ACE_TRY_ENV =
+ TAO_default_environment ()
+ );
+
+ static void create_fixed_skel (
+ TAO_ServerRequest &req,
+ void *obj,
+ void *context,
+ CORBA::Environment &ACE_TRY_ENV =
+ TAO_default_environment ()
+ );
+
+ static void lookup_skel (
+ TAO_ServerRequest &req,
+ void *obj,
+ void *context,
+ CORBA::Environment &ACE_TRY_ENV =
+ TAO_default_environment ()
+ );
+
+ static void contents_skel (
+ TAO_ServerRequest &req,
+ void *obj,
+ void *context,
+ CORBA::Environment &ACE_TRY_ENV =
+ TAO_default_environment ()
+ );
+
+ static void lookup_name_skel (
+ TAO_ServerRequest &req,
+ void *obj,
+ void *context,
+ CORBA::Environment &ACE_TRY_ENV =
+ TAO_default_environment ()
+ );
+
+ static void describe_contents_skel (
+ TAO_ServerRequest &req,
+ void *obj,
+ void *context,
+ CORBA::Environment &ACE_TRY_ENV =
+ TAO_default_environment ()
+ );
+
+ static void create_module_skel (
+ TAO_ServerRequest &req,
+ void *obj,
+ void *context,
+ CORBA::Environment &ACE_TRY_ENV =
+ TAO_default_environment ()
+ );
+
+ static void create_constant_skel (
+ TAO_ServerRequest &req,
+ void *obj,
+ void *context,
+ CORBA::Environment &ACE_TRY_ENV =
+ TAO_default_environment ()
+ );
+
+ static void create_struct_skel (
+ TAO_ServerRequest &req,
+ void *obj,
+ void *context,
+ CORBA::Environment &ACE_TRY_ENV =
+ TAO_default_environment ()
+ );
+
+ static void create_union_skel (
+ TAO_ServerRequest &req,
+ void *obj,
+ void *context,
+ CORBA::Environment &ACE_TRY_ENV =
+ TAO_default_environment ()
+ );
+
+ static void create_enum_skel (
+ TAO_ServerRequest &req,
+ void *obj,
+ void *context,
+ CORBA::Environment &ACE_TRY_ENV =
+ TAO_default_environment ()
+ );
+
+ static void create_alias_skel (
+ TAO_ServerRequest &req,
+ void *obj,
+ void *context,
+ CORBA::Environment &ACE_TRY_ENV =
+ TAO_default_environment ()
+ );
+
+ static void create_interface_skel (
+ TAO_ServerRequest &req,
+ void *obj,
+ void *context,
+ CORBA::Environment &ACE_TRY_ENV =
+ TAO_default_environment ()
+ );
+
+ static void create_value_skel (
+ TAO_ServerRequest &req,
+ void *obj,
+ void *context,
+ CORBA::Environment &ACE_TRY_ENV =
+ TAO_default_environment ()
+ );
+
+ static void create_value_box_skel (
+ TAO_ServerRequest &req,
+ void *obj,
+ void *context,
+ CORBA::Environment &ACE_TRY_ENV =
+ TAO_default_environment ()
+ );
+
+ static void create_exception_skel (
+ TAO_ServerRequest &req,
+ void *obj,
+ void *context,
+ CORBA::Environment &ACE_TRY_ENV =
+ TAO_default_environment ()
+ );
+
+ static void create_native_skel (
+ TAO_ServerRequest &req,
+ void *obj,
+ void *context,
+ CORBA::Environment &ACE_TRY_ENV =
+ TAO_default_environment ()
+ );
+
+ static void create_abstract_interface_skel (
+ TAO_ServerRequest &req,
+ void *obj,
+ void *context,
+ CORBA::Environment &ACE_TRY_ENV =
+ TAO_default_environment ()
+ );
+
+ static void create_local_interface_skel (
+ TAO_ServerRequest &req,
+ void *obj,
+ void *context,
+ CORBA::Environment &ACE_TRY_ENV =
+ TAO_default_environment ()
+ );
+
+ static void _get_def_kind_skel (
+ TAO_ServerRequest &req,
+ void *obj,
+ void *context,
+ CORBA::Environment &ACE_TRY_ENV =
+ TAO_default_environment ()
+ );
+
+ static void destroy_skel (
+ TAO_ServerRequest &req,
+ void *obj,
+ void *context,
+ CORBA::Environment &ACE_TRY_ENV =
+ TAO_default_environment ()
+ );
+
+
+#if (TAO_HAS_INTERCEPTORS == 1)
+ // Generation of interceptors related RequestInfo classes per operation.
+ // This needed to be able to store the arguments, exceptions, contexts
+ // and build the lists dynamically on demand so that unnecessary time overhead
+ // of building these lists when they arent used is avoided.
+ class TAO_ServerRequestInfo_IR_ComponentRepository_create_component : public TAO_ServerRequestInfo
+ {
+ public:
+ friend class POA_IR::ComponentRepository;
+ TAO_ServerRequestInfo_IR_ComponentRepository_create_component (
+ TAO_ServerRequest &_tao_server_request,
+ POA_IR::ComponentRepository *tao_impl,
+ const char * id,
+ const char * name,
+ const char * version,
+ IR::ComponentDef_ptr base_component,
+ const CORBA::InterfaceDefSeq & supports_interfaces,
+ CORBA::Environment &ACE_TRY_ENV =
+ TAO_default_environment ()
+ );
+
+ virtual Dynamic::ParameterList * arguments (
+ CORBA::Environment &ACE_TRY_ENV =
+ TAO_default_environment ()
+ )
+ ACE_THROW_SPEC ((CORBA::SystemException));
+
+ virtual Dynamic::ExceptionList * exceptions (
+ CORBA::Environment &ACE_TRY_ENV =
+ TAO_default_environment ()
+ )
+ ACE_THROW_SPEC ((CORBA::SystemException));
+
+ virtual CORBA::Any * result (
+ CORBA::Environment &ACE_TRY_ENV =
+ TAO_default_environment ()
+ )
+ ACE_THROW_SPEC ((CORBA::SystemException));
+
+ virtual char * target_most_derived_interface (
+ CORBA::Environment &ACE_TRY_ENV = TAO_default_environment ())
+ ACE_THROW_SPEC ((CORBA::SystemException));
+
+ virtual CORBA::Boolean target_is_a (
+ const char * id,
+ CORBA::Environment &ACE_TRY_ENV = TAO_default_environment ())
+ ACE_THROW_SPEC ((CORBA::SystemException));
+
+ private:
+ TAO_ServerRequestInfo_IR_ComponentRepository_create_component (const TAO_ServerRequestInfo_IR_ComponentRepository_create_component &);
+ void operator= (const TAO_ServerRequestInfo_IR_ComponentRepository_create_component &);
+
+ private:
+ POA_IR::ComponentRepository *_tao_impl;
+ const char * id_;
+ const char * name_;
+ const char * version_;
+ IR::ComponentDef_ptr base_component_;
+ const CORBA::InterfaceDefSeq & supports_interfaces_;
+ void result (IR::ComponentDef_ptr result);
+ // update the result
+ IR::ComponentDef_ptr _result;
+ };
+
+ class TAO_ServerRequestInfo_IR_ComponentRepository_create_home : public TAO_ServerRequestInfo
+ {
+ public:
+ friend class POA_IR::ComponentRepository;
+ TAO_ServerRequestInfo_IR_ComponentRepository_create_home (
+ TAO_ServerRequest &_tao_server_request,
+ POA_IR::ComponentRepository *tao_impl,
+ const char * id,
+ const char * name,
+ const char * version,
+ IR::HomeDef_ptr base_home,
+ IR::ComponentDef_ptr managed_component,
+ CORBA::ValueDef_ptr primary_key,
+ CORBA::Environment &ACE_TRY_ENV =
+ TAO_default_environment ()
+ );
+
+ virtual Dynamic::ParameterList * arguments (
+ CORBA::Environment &ACE_TRY_ENV =
+ TAO_default_environment ()
+ )
+ ACE_THROW_SPEC ((CORBA::SystemException));
+
+ virtual Dynamic::ExceptionList * exceptions (
+ CORBA::Environment &ACE_TRY_ENV =
+ TAO_default_environment ()
+ )
+ ACE_THROW_SPEC ((CORBA::SystemException));
+
+ virtual CORBA::Any * result (
+ CORBA::Environment &ACE_TRY_ENV =
+ TAO_default_environment ()
+ )
+ ACE_THROW_SPEC ((CORBA::SystemException));
+
+ virtual char * target_most_derived_interface (
+ CORBA::Environment &ACE_TRY_ENV = TAO_default_environment ())
+ ACE_THROW_SPEC ((CORBA::SystemException));
+
+ virtual CORBA::Boolean target_is_a (
+ const char * id,
+ CORBA::Environment &ACE_TRY_ENV = TAO_default_environment ())
+ ACE_THROW_SPEC ((CORBA::SystemException));
+
+ private:
+ TAO_ServerRequestInfo_IR_ComponentRepository_create_home (const TAO_ServerRequestInfo_IR_ComponentRepository_create_home &);
+ void operator= (const TAO_ServerRequestInfo_IR_ComponentRepository_create_home &);
+
+ private:
+ POA_IR::ComponentRepository *_tao_impl;
+ const char * id_;
+ const char * name_;
+ const char * version_;
+ IR::HomeDef_ptr base_home_;
+ IR::ComponentDef_ptr managed_component_;
+ CORBA::ValueDef_ptr primary_key_;
+ void result (IR::HomeDef_ptr result);
+ // update the result
+ IR::HomeDef_ptr _result;
+ };
+
+ #endif /* TAO_HAS_INTERCEPTORS */
+
+ };
+
+
+ ///////////////////////////////////////////////////////////////////////
+ // Strategized Proxy Broker Declaration
+ //
+
+ class _TAO_ComponentRepository_Strategized_Proxy_Broker : public virtual ::IR::_TAO_ComponentRepository_Proxy_Broker
+ {
+ public:
+ _TAO_ComponentRepository_Strategized_Proxy_Broker (void);
+
+ virtual ~_TAO_ComponentRepository_Strategized_Proxy_Broker (void);
+
+ virtual ::IR::_TAO_ComponentRepository_Proxy_Impl &select_proxy (
+ ::IR::ComponentRepository *object,
+ CORBA_Environment &ACE_TRY_ENV = TAO_default_environment ()
+ );
+
+ private:
+
+ // Helper methods that takes care to create the proxy
+ // as soon as their use is necessary.
+ void create_proxy (
+ int strategy,
+ CORBA::Environment &ACE_TRY_ENV
+ );
+
+ private:
+
+ // Caches the proxy implementations. The proxy implementation
+ // are totally stateless, and those can be shared by all the
+ // instances of a given IDL interface type.
+ ::IR::_TAO_ComponentRepository_Proxy_Impl
+ *proxy_cache_[TAO_Collocation_Strategies::CS_LAST];
+
+ TAO_SYNCH_MUTEX mutex_;
+ // This funxtion is used to get an handle to the unique instance
+ // of the Strategized Proxy Broker that is available for a given
+ // interface.
+
+ public:
+ static _TAO_ComponentRepository_Strategized_Proxy_Broker *the_TAO_ComponentRepository_Strategized_Proxy_Broker (void);
+ };
+
+
+ //
+ // End Strategized Proxy Broker Declaration
+ ///////////////////////////////////////////////////////////////////////
+
+
+///////////////////////////////////////////////////////////////////////
+// ThruPOA Impl. Declaration
+//
+
+class _TAO_ComponentRepository_ThruPOA_Proxy_Impl :
+ public virtual ::IR::_TAO_ComponentRepository_Proxy_Impl,
+ public virtual TAO_ThruPOA_Object_Proxy_Impl,
+ public virtual ::POA_CORBA::_TAO_Repository_ThruPOA_Proxy_Impl
+
+{
+public:
+ _TAO_ComponentRepository_ThruPOA_Proxy_Impl (void);
+
+ virtual ~_TAO_ComponentRepository_ThruPOA_Proxy_Impl (void) { }
+
+ virtual IR::ComponentDef_ptr create_component (
+ CORBA_Object *_collocated_tao_target_,
+ const char * id,
+ const char * name,
+ const char * version,
+ IR::ComponentDef_ptr base_component,
+ const CORBA::InterfaceDefSeq & supports_interfaces,
+ CORBA::Environment &ACE_TRY_ENV
+ )
+ ACE_THROW_SPEC ((
+ CORBA::SystemException
+ ));
+
+ virtual IR::HomeDef_ptr create_home (
+ CORBA_Object *_collocated_tao_target_,
+ const char * id,
+ const char * name,
+ const char * version,
+ IR::HomeDef_ptr base_home,
+ IR::ComponentDef_ptr managed_component,
+ CORBA::ValueDef_ptr primary_key,
+ CORBA::Environment &ACE_TRY_ENV
+ )
+ ACE_THROW_SPEC ((
+ CORBA::SystemException
+ ));
+
+};
+
+
+//
+// ThruPOA Proxy Impl. Declaration
+///////////////////////////////////////////////////////////////////////
+
+
+#if defined (ACE_HAS_USING_KEYWORD)
+// TIE class: Refer to CORBA v2.2, Section 20.34.4
+template <class T>
+class ComponentRepository_tie : public ComponentRepository
+{
+public:
+ ComponentRepository_tie (T &t);
+ // the T& ctor
+ ComponentRepository_tie (T &t, PortableServer::POA_ptr poa);
+ // ctor taking a POA
+ ComponentRepository_tie (T *tp, CORBA::Boolean release=1);
+ // ctor taking pointer and an ownership flag
+ ComponentRepository_tie (T *tp, PortableServer::POA_ptr poa, CORBA::Boolean release=1);
+ // ctor with T*, ownership flag and a POA
+ ~ComponentRepository_tie (void);
+ // dtor
+
+ // TIE specific functions
+ T *_tied_object (void);
+ // return the underlying object
+ void _tied_object (T &obj);
+ // set the underlying object
+ void _tied_object (T *obj, CORBA::Boolean release=1);
+ // set the underlying object and the ownership flag
+ CORBA::Boolean _is_owner (void);
+ // do we own it
+ void _is_owner (CORBA::Boolean b);
+ // set the ownership
+
+ // overridden ServantBase operations
+ PortableServer::POA_ptr _default_POA (
+ CORBA::Environment &ACE_TRY_ENV =
+ TAO_default_environment ()
+ );
+ IR::ComponentDef_ptr create_component (
+ const char * id,
+ const char * name,
+ const char * version,
+ IR::ComponentDef_ptr base_component,
+ const CORBA::InterfaceDefSeq & supports_interfaces,
+ CORBA::Environment &ACE_TRY_ENV =
+ TAO_default_environment ()
+ )
+ ACE_THROW_SPEC ((
+ CORBA::SystemException
+ ));
+
+ IR::HomeDef_ptr create_home (
+ const char * id,
+ const char * name,
+ const char * version,
+ IR::HomeDef_ptr base_home,
+ IR::ComponentDef_ptr managed_component,
+ CORBA::ValueDef_ptr primary_key,
+ CORBA::Environment &ACE_TRY_ENV =
+ TAO_default_environment ()
+ )
+ ACE_THROW_SPEC ((
+ CORBA::SystemException
+ ));
+
+ CORBA::Contained_ptr lookup_id (
+ const char * search_id,
+ CORBA::Environment &ACE_TRY_ENV =
+ TAO_default_environment ()
+ )
+ ACE_THROW_SPEC ((
+ CORBA::SystemException
+ ));
+
+ CORBA::TypeCode_ptr get_canonical_typecode (
+ CORBA::TypeCode_ptr tc,
+ CORBA::Environment &ACE_TRY_ENV =
+ TAO_default_environment ()
+ )
+ ACE_THROW_SPEC ((
+ CORBA::SystemException
+ ));
+
+ CORBA::PrimitiveDef_ptr get_primitive (
+ CORBA::PrimitiveKind kind,
+ CORBA::Environment &ACE_TRY_ENV =
+ TAO_default_environment ()
+ )
+ ACE_THROW_SPEC ((
+ CORBA::SystemException
+ ));
+
+ CORBA::StringDef_ptr create_string (
+ CORBA::ULong bound,
+ CORBA::Environment &ACE_TRY_ENV =
+ TAO_default_environment ()
+ )
+ ACE_THROW_SPEC ((
+ CORBA::SystemException
+ ));
+
+ CORBA::WstringDef_ptr create_wstring (
+ CORBA::ULong bound,
+ CORBA::Environment &ACE_TRY_ENV =
+ TAO_default_environment ()
+ )
+ ACE_THROW_SPEC ((
+ CORBA::SystemException
+ ));
+
+ CORBA::SequenceDef_ptr create_sequence (
+ CORBA::ULong bound,
+ CORBA::IDLType_ptr element_type,
+ CORBA::Environment &ACE_TRY_ENV =
+ TAO_default_environment ()
+ )
+ ACE_THROW_SPEC ((
+ CORBA::SystemException
+ ));
+
+ CORBA::ArrayDef_ptr create_array (
+ CORBA::ULong length,
+ CORBA::IDLType_ptr element_type,
+ CORBA::Environment &ACE_TRY_ENV =
+ TAO_default_environment ()
+ )
+ ACE_THROW_SPEC ((
+ CORBA::SystemException
+ ));
+
+ CORBA::FixedDef_ptr create_fixed (
+ CORBA::UShort digits,
+ CORBA::Short scale,
+ CORBA::Environment &ACE_TRY_ENV =
+ TAO_default_environment ()
+ )
+ ACE_THROW_SPEC ((
+ CORBA::SystemException
+ ));
+
+ CORBA::Contained_ptr lookup (
+ const char * search_name,
+ CORBA::Environment &ACE_TRY_ENV =
+ TAO_default_environment ()
+ )
+ ACE_THROW_SPEC ((
+ CORBA::SystemException
+ ));
+
+ CORBA::ContainedSeq * contents (
+ CORBA::DefinitionKind limit_type,
+ CORBA::Boolean exclude_inherited,
+ CORBA::Environment &ACE_TRY_ENV =
+ TAO_default_environment ()
+ )
+ ACE_THROW_SPEC ((
+ CORBA::SystemException
+ ));
+
+ CORBA::ContainedSeq * lookup_name (
+ const char * search_name,
+ CORBA::Long levels_to_search,
+ CORBA::DefinitionKind limit_type,
+ CORBA::Boolean exclude_inherited,
+ CORBA::Environment &ACE_TRY_ENV =
+ TAO_default_environment ()
+ )
+ ACE_THROW_SPEC ((
+ CORBA::SystemException
+ ));
+
+ CORBA::Container::DescriptionSeq * describe_contents (
+ CORBA::DefinitionKind limit_type,
+ CORBA::Boolean exclude_inherited,
+ CORBA::Long max_returned_objs,
+ CORBA::Environment &ACE_TRY_ENV =
+ TAO_default_environment ()
+ )
+ ACE_THROW_SPEC ((
+ CORBA::SystemException
+ ));
+
+ CORBA::ModuleDef_ptr create_module (
+ const char * id,
+ const char * name,
+ const char * version,
+ CORBA::Environment &ACE_TRY_ENV =
+ TAO_default_environment ()
+ )
+ ACE_THROW_SPEC ((
+ CORBA::SystemException
+ ));
+
+ CORBA::ConstantDef_ptr create_constant (
+ const char * id,
+ const char * name,
+ const char * version,
+ CORBA::IDLType_ptr type,
+ const CORBA::Any & value,
+ CORBA::Environment &ACE_TRY_ENV =
+ TAO_default_environment ()
+ )
+ ACE_THROW_SPEC ((
+ CORBA::SystemException
+ ));
+
+ CORBA::StructDef_ptr create_struct (
+ const char * id,
+ const char * name,
+ const char * version,
+ const CORBA::StructMemberSeq & members,
+ CORBA::Environment &ACE_TRY_ENV =
+ TAO_default_environment ()
+ )
+ ACE_THROW_SPEC ((
+ CORBA::SystemException
+ ));
+
+ CORBA::UnionDef_ptr create_union (
+ const char * id,
+ const char * name,
+ const char * version,
+ CORBA::IDLType_ptr discriminator_type,
+ const CORBA::UnionMemberSeq & members,
+ CORBA::Environment &ACE_TRY_ENV =
+ TAO_default_environment ()
+ )
+ ACE_THROW_SPEC ((
+ CORBA::SystemException
+ ));
+
+ CORBA::EnumDef_ptr create_enum (
+ const char * id,
+ const char * name,
+ const char * version,
+ const CORBA::EnumMemberSeq & members,
+ CORBA::Environment &ACE_TRY_ENV =
+ TAO_default_environment ()
+ )
+ ACE_THROW_SPEC ((
+ CORBA::SystemException
+ ));
+
+ CORBA::AliasDef_ptr create_alias (
+ const char * id,
+ const char * name,
+ const char * version,
+ CORBA::IDLType_ptr original_type,
+ CORBA::Environment &ACE_TRY_ENV =
+ TAO_default_environment ()
+ )
+ ACE_THROW_SPEC ((
+ CORBA::SystemException
+ ));
+
+ CORBA::InterfaceDef_ptr create_interface (
+ const char * id,
+ const char * name,
+ const char * version,
+ const CORBA::InterfaceDefSeq & base_interfaces,
+ CORBA::Environment &ACE_TRY_ENV =
+ TAO_default_environment ()
+ )
+ ACE_THROW_SPEC ((
+ CORBA::SystemException
+ ));
+
+ CORBA::ValueDef_ptr create_value (
+ const char * id,
+ const char * name,
+ const char * version,
+ CORBA::Boolean is_custom,
+ CORBA::Boolean is_abstract,
+ CORBA::ValueDef_ptr base_value,
+ CORBA::Boolean is_truncatable,
+ const CORBA::ValueDefSeq & abstract_base_values,
+ const CORBA::InterfaceDefSeq & supported_interfaces,
+ const CORBA::InitializerSeq & initializers,
+ CORBA::Environment &ACE_TRY_ENV =
+ TAO_default_environment ()
+ )
+ ACE_THROW_SPEC ((
+ CORBA::SystemException
+ ));
+
+ CORBA::ValueBoxDef_ptr create_value_box (
+ const char * id,
+ const char * name,
+ const char * version,
+ CORBA::IDLType_ptr original_type_def,
+ CORBA::Environment &ACE_TRY_ENV =
+ TAO_default_environment ()
+ )
+ ACE_THROW_SPEC ((
+ CORBA::SystemException
+ ));
+
+ CORBA::ExceptionDef_ptr create_exception (
+ const char * id,
+ const char * name,
+ const char * version,
+ const CORBA::StructMemberSeq & members,
+ CORBA::Environment &ACE_TRY_ENV =
+ TAO_default_environment ()
+ )
+ ACE_THROW_SPEC ((
+ CORBA::SystemException
+ ));
+
+ CORBA::NativeDef_ptr create_native (
+ const char * id,
+ const char * name,
+ const char * version,
+ CORBA::Environment &ACE_TRY_ENV =
+ TAO_default_environment ()
+ )
+ ACE_THROW_SPEC ((
+ CORBA::SystemException
+ ));
+
+ CORBA::AbstractInterfaceDef_ptr create_abstract_interface (
+ const char * id,
+ const char * name,
+ const char * version,
+ const CORBA::AbstractInterfaceDefSeq & base_interfaces,
+ CORBA::Environment &ACE_TRY_ENV =
+ TAO_default_environment ()
+ )
+ ACE_THROW_SPEC ((
+ CORBA::SystemException
+ ));
+
+ CORBA::LocalInterfaceDef_ptr create_local_interface (
+ const char * id,
+ const char * name,
+ const char * version,
+ const CORBA::InterfaceDefSeq & base_interfaces,
+ CORBA::Environment &ACE_TRY_ENV =
+ TAO_default_environment ()
+ )
+ ACE_THROW_SPEC ((
+ CORBA::SystemException
+ ));
+
+ CORBA::DefinitionKind def_kind (
+ CORBA::Environment &ACE_TRY_ENV =
+ TAO_default_environment ()
+ )
+ ACE_THROW_SPEC ((
+ CORBA::SystemException
+ ));
+
+ void destroy (
+ CORBA::Environment &ACE_TRY_ENV =
+ TAO_default_environment ()
+ )
+ ACE_THROW_SPEC ((
+ CORBA::SystemException
+ ));
+
+private:
+ T *ptr_;
+ PortableServer::POA_var poa_;
+ CORBA::Boolean rel_;
+
+ // copy and assignment are not allowed
+ ComponentRepository_tie (const ComponentRepository_tie &);
+ void operator= (const ComponentRepository_tie &);
+};
+
+#endif /* ACE_HAS_USING_KEYWORD */
+
+class ProvidesDef;
+typedef ProvidesDef *ProvidesDef_ptr;
+// Forward Classes Declaration
+class _TAO_ProvidesDef_ThruPOA_Proxy_Impl;
+class _TAO_ProvidesDef_Strategized_Proxy_Broker;
+
+class ProvidesDef : public virtual POA_CORBA::Contained
+{
+protected:
+ ProvidesDef (void);
+
+public:
+ ProvidesDef (const ProvidesDef& rhs);
+ virtual ~ProvidesDef (void);
+
+
+ virtual CORBA::Boolean _is_a (
+ const char* logical_type_id,
+ CORBA::Environment &ACE_TRY_ENV =
+ TAO_default_environment ()
+ );
+
+ virtual void* _downcast (
+ const char* logical_type_id
+ );
+
+ static void _is_a_skel (
+ TAO_ServerRequest &req,
+ void *obj,
+ void *context,
+ CORBA::Environment &ACE_TRY_ENV =
+ TAO_default_environment ()
+ );
+
+ static void _non_existent_skel (
+ TAO_ServerRequest &req,
+ void *obj,
+ void *context,
+ CORBA::Environment &ACE_TRY_ENV =
+ TAO_default_environment ()
+ );
+
+ virtual void _dispatch (
+ TAO_ServerRequest &_tao_req,
+ void *_tao_context,
+ CORBA::Environment &ACE_TRY_ENV =
+ TAO_default_environment ()
+ );
+
+ ::IR::ProvidesDef *_this (
+ CORBA::Environment &ACE_TRY_ENV =
+ TAO_default_environment ()
+ );
+
+ virtual const char* _interface_repository_id (void) const;
+
+ virtual CORBA::InterfaceDef_ptr interface_type (
+ CORBA::Environment &ACE_TRY_ENV =
+ TAO_default_environment ()
+ )
+ ACE_THROW_SPEC ((
+ CORBA::SystemException
+ )) = 0;
+
+ static void _get_interface_type_skel (
+ TAO_ServerRequest &_tao_req,
+ void *_tao_obj,
+ void *_tao_context,
+ CORBA::Environment &ACE_TRY_ENV =
+ TAO_default_environment ()
+ );
+
+ static void _get_id_skel (
+ TAO_ServerRequest &req,
+ void *obj,
+ void *context,
+ CORBA::Environment &ACE_TRY_ENV =
+ TAO_default_environment ()
+ );
+
+ static void _set_id_skel (
+ TAO_ServerRequest &req,
+ void *obj,
+ void *context,
+ CORBA::Environment &ACE_TRY_ENV =
+ TAO_default_environment ()
+ );
+
+ static void _get_name_skel (
+ TAO_ServerRequest &req,
+ void *obj,
+ void *context,
+ CORBA::Environment &ACE_TRY_ENV =
+ TAO_default_environment ()
+ );
+
+ static void _set_name_skel (
+ TAO_ServerRequest &req,
+ void *obj,
+ void *context,
+ CORBA::Environment &ACE_TRY_ENV =
+ TAO_default_environment ()
+ );
+
+ static void _get_version_skel (
+ TAO_ServerRequest &req,
+ void *obj,
+ void *context,
+ CORBA::Environment &ACE_TRY_ENV =
+ TAO_default_environment ()
+ );
+
+ static void _set_version_skel (
+ TAO_ServerRequest &req,
+ void *obj,
+ void *context,
+ CORBA::Environment &ACE_TRY_ENV =
+ TAO_default_environment ()
+ );
+
+ static void _get_defined_in_skel (
+ TAO_ServerRequest &req,
+ void *obj,
+ void *context,
+ CORBA::Environment &ACE_TRY_ENV =
+ TAO_default_environment ()
+ );
+
+ static void _get_absolute_name_skel (
+ TAO_ServerRequest &req,
+ void *obj,
+ void *context,
+ CORBA::Environment &ACE_TRY_ENV =
+ TAO_default_environment ()
+ );
+
+ static void _get_containing_repository_skel (
+ TAO_ServerRequest &req,
+ void *obj,
+ void *context,
+ CORBA::Environment &ACE_TRY_ENV =
+ TAO_default_environment ()
+ );
+
+ static void describe_skel (
+ TAO_ServerRequest &req,
+ void *obj,
+ void *context,
+ CORBA::Environment &ACE_TRY_ENV =
+ TAO_default_environment ()
+ );
+
+ static void move_skel (
+ TAO_ServerRequest &req,
+ void *obj,
+ void *context,
+ CORBA::Environment &ACE_TRY_ENV =
+ TAO_default_environment ()
+ );
+
+ static void _get_def_kind_skel (
+ TAO_ServerRequest &req,
+ void *obj,
+ void *context,
+ CORBA::Environment &ACE_TRY_ENV =
+ TAO_default_environment ()
+ );
+
+ static void destroy_skel (
+ TAO_ServerRequest &req,
+ void *obj,
+ void *context,
+ CORBA::Environment &ACE_TRY_ENV =
+ TAO_default_environment ()
+ );
+
+
+#if (TAO_HAS_INTERCEPTORS == 1)
+ // Generation of interceptors related RequestInfo classes per operation.
+ // This needed to be able to store the arguments, exceptions, contexts
+ // and build the lists dynamically on demand so that unnecessary time overhead
+ // of building these lists when they arent used is avoided.
+ class TAO_ServerRequestInfo_IR_ProvidesDef_interface_type_get : public TAO_ServerRequestInfo
+ {
+ public:
+ friend class POA_IR::ProvidesDef;
+ TAO_ServerRequestInfo_IR_ProvidesDef_interface_type_get (
+ TAO_ServerRequest &_tao_server_request,
+ POA_IR::ProvidesDef *tao_impl,
+ CORBA::Environment &ACE_TRY_ENV =
+ TAO_default_environment ()
+ );
+
+ virtual Dynamic::ParameterList * arguments (
+ CORBA::Environment &ACE_TRY_ENV =
+ TAO_default_environment ()
+ )
+ ACE_THROW_SPEC ((CORBA::SystemException));
+
+ virtual Dynamic::ExceptionList * exceptions (
+ CORBA::Environment &ACE_TRY_ENV =
+ TAO_default_environment ()
+ )
+ ACE_THROW_SPEC ((CORBA::SystemException));
+
+ virtual CORBA::Any * result (
+ CORBA::Environment &ACE_TRY_ENV =
+ TAO_default_environment ()
+ )
+ ACE_THROW_SPEC ((CORBA::SystemException));
+
+ virtual char * target_most_derived_interface (
+ CORBA::Environment &ACE_TRY_ENV = TAO_default_environment ())
+ ACE_THROW_SPEC ((CORBA::SystemException));
+
+ virtual CORBA::Boolean target_is_a (
+ const char * id,
+ CORBA::Environment &ACE_TRY_ENV = TAO_default_environment ())
+ ACE_THROW_SPEC ((CORBA::SystemException));
+
+ private:
+ TAO_ServerRequestInfo_IR_ProvidesDef_interface_type_get (const TAO_ServerRequestInfo_IR_ProvidesDef_interface_type_get &);
+ void operator= (const TAO_ServerRequestInfo_IR_ProvidesDef_interface_type_get &);
+
+ private:
+ POA_IR::ProvidesDef *_tao_impl;
+ void result (CORBA::InterfaceDef_ptr result);
+ // update the result
+ CORBA::InterfaceDef_ptr _result;
+ };
+
+ #endif /* TAO_HAS_INTERCEPTORS */
+
+};
+
+
+///////////////////////////////////////////////////////////////////////
+// Strategized Proxy Broker Declaration
+//
+
+class _TAO_ProvidesDef_Strategized_Proxy_Broker : public virtual ::IR::_TAO_ProvidesDef_Proxy_Broker
+{
+public:
+ _TAO_ProvidesDef_Strategized_Proxy_Broker (void);
+
+ virtual ~_TAO_ProvidesDef_Strategized_Proxy_Broker (void);
+
+ virtual ::IR::_TAO_ProvidesDef_Proxy_Impl &select_proxy (
+ ::IR::ProvidesDef *object,
+ CORBA_Environment &ACE_TRY_ENV = TAO_default_environment ()
+ );
+
+private:
+
+// Helper methods that takes care to create the proxy
+// as soon as their use is necessary.
+ void create_proxy (
+ int strategy,
+ CORBA::Environment &ACE_TRY_ENV
+ );
+
+private:
+
+ // Caches the proxy implementations. The proxy implementation
+ // are totally stateless, and those can be shared by all the
+ // instances of a given IDL interface type.
+ ::IR::_TAO_ProvidesDef_Proxy_Impl
+ *proxy_cache_[TAO_Collocation_Strategies::CS_LAST];
+
+ TAO_SYNCH_MUTEX mutex_;
+// This funxtion is used to get an handle to the unique instance
+// of the Strategized Proxy Broker that is available for a given
+// interface.
+
+public:
+ static _TAO_ProvidesDef_Strategized_Proxy_Broker *the_TAO_ProvidesDef_Strategized_Proxy_Broker (void);
+};
+
+
+//
+// End Strategized Proxy Broker Declaration
+///////////////////////////////////////////////////////////////////////
+
+
+///////////////////////////////////////////////////////////////////////
+// ThruPOA Impl. Declaration
+//
+
+class _TAO_ProvidesDef_ThruPOA_Proxy_Impl :
+ public virtual ::IR::_TAO_ProvidesDef_Proxy_Impl,
+ public virtual TAO_ThruPOA_Object_Proxy_Impl,
+ public virtual ::POA_CORBA::_TAO_Contained_ThruPOA_Proxy_Impl
+
+{
+public:
+ _TAO_ProvidesDef_ThruPOA_Proxy_Impl (void);
+
+ virtual ~_TAO_ProvidesDef_ThruPOA_Proxy_Impl (void) { }
+
+ virtual CORBA::InterfaceDef_ptr interface_type (
+ CORBA_Object *_collocated_tao_target_,
+ CORBA::Environment &ACE_TRY_ENV
+ )
+ ACE_THROW_SPEC ((
+ CORBA::SystemException
+ ));
+
+};
+
+
+//
+// ThruPOA Proxy Impl. Declaration
+///////////////////////////////////////////////////////////////////////
+
+
+#if defined (ACE_HAS_USING_KEYWORD)
+// TIE class: Refer to CORBA v2.2, Section 20.34.4
+template <class T>
+class ProvidesDef_tie : public ProvidesDef
+{
+public:
+ ProvidesDef_tie (T &t);
+ // the T& ctor
+ ProvidesDef_tie (T &t, PortableServer::POA_ptr poa);
+ // ctor taking a POA
+ ProvidesDef_tie (T *tp, CORBA::Boolean release=1);
+ // ctor taking pointer and an ownership flag
+ ProvidesDef_tie (T *tp, PortableServer::POA_ptr poa, CORBA::Boolean release=1);
+ // ctor with T*, ownership flag and a POA
+ ~ProvidesDef_tie (void);
+ // dtor
+
+ // TIE specific functions
+ T *_tied_object (void);
+ // return the underlying object
+ void _tied_object (T &obj);
+ // set the underlying object
+ void _tied_object (T *obj, CORBA::Boolean release=1);
+ // set the underlying object and the ownership flag
+ CORBA::Boolean _is_owner (void);
+ // do we own it
+ void _is_owner (CORBA::Boolean b);
+ // set the ownership
+
+ // overridden ServantBase operations
+ PortableServer::POA_ptr _default_POA (
+ CORBA::Environment &ACE_TRY_ENV =
+ TAO_default_environment ()
+ );
+ CORBA::InterfaceDef_ptr interface_type (
+ CORBA::Environment &ACE_TRY_ENV =
+ TAO_default_environment ()
+ )
+ ACE_THROW_SPEC ((
+ CORBA::SystemException
+ ));
+
+ char * id (
+ CORBA::Environment &ACE_TRY_ENV =
+ TAO_default_environment ()
+ )
+ ACE_THROW_SPEC ((
+ CORBA::SystemException
+ ));
+
+ void id (
+ const char * id,
+ CORBA::Environment &ACE_TRY_ENV =
+ TAO_default_environment ()
+ )
+ ACE_THROW_SPEC ((
+ CORBA::SystemException
+ ));
+
+ char * name (
+ CORBA::Environment &ACE_TRY_ENV =
+ TAO_default_environment ()
+ )
+ ACE_THROW_SPEC ((
+ CORBA::SystemException
+ ));
+
+ void name (
+ const char * name,
+ CORBA::Environment &ACE_TRY_ENV =
+ TAO_default_environment ()
+ )
+ ACE_THROW_SPEC ((
+ CORBA::SystemException
+ ));
+
+ char * version (
+ CORBA::Environment &ACE_TRY_ENV =
+ TAO_default_environment ()
+ )
+ ACE_THROW_SPEC ((
+ CORBA::SystemException
+ ));
+
+ void version (
+ const char * version,
+ CORBA::Environment &ACE_TRY_ENV =
+ TAO_default_environment ()
+ )
+ ACE_THROW_SPEC ((
+ CORBA::SystemException
+ ));
+
+ CORBA::Container_ptr defined_in (
+ CORBA::Environment &ACE_TRY_ENV =
+ TAO_default_environment ()
+ )
+ ACE_THROW_SPEC ((
+ CORBA::SystemException
+ ));
+
+ char * absolute_name (
+ CORBA::Environment &ACE_TRY_ENV =
+ TAO_default_environment ()
+ )
+ ACE_THROW_SPEC ((
+ CORBA::SystemException
+ ));
+
+ CORBA::Repository_ptr containing_repository (
+ CORBA::Environment &ACE_TRY_ENV =
+ TAO_default_environment ()
+ )
+ ACE_THROW_SPEC ((
+ CORBA::SystemException
+ ));
+
+ CORBA::Contained::Description * describe (
+ CORBA::Environment &ACE_TRY_ENV =
+ TAO_default_environment ()
+ )
+ ACE_THROW_SPEC ((
+ CORBA::SystemException
+ ));
+
+ void move (
+ CORBA::Container_ptr new_container,
+ const char * new_name,
+ const char * new_version,
+ CORBA::Environment &ACE_TRY_ENV =
+ TAO_default_environment ()
+ )
+ ACE_THROW_SPEC ((
+ CORBA::SystemException
+ ));
+
+ CORBA::DefinitionKind def_kind (
+ CORBA::Environment &ACE_TRY_ENV =
+ TAO_default_environment ()
+ )
+ ACE_THROW_SPEC ((
+ CORBA::SystemException
+ ));
+
+ void destroy (
+ CORBA::Environment &ACE_TRY_ENV =
+ TAO_default_environment ()
+ )
+ ACE_THROW_SPEC ((
+ CORBA::SystemException
+ ));
+
+private:
+ T *ptr_;
+ PortableServer::POA_var poa_;
+ CORBA::Boolean rel_;
+
+ // copy and assignment are not allowed
+ ProvidesDef_tie (const ProvidesDef_tie &);
+ void operator= (const ProvidesDef_tie &);
+};
+
+#endif /* ACE_HAS_USING_KEYWORD */
+
+class UsesDef;
+typedef UsesDef *UsesDef_ptr;
+// Forward Classes Declaration
+class _TAO_UsesDef_ThruPOA_Proxy_Impl;
+class _TAO_UsesDef_Strategized_Proxy_Broker;
+
+class UsesDef : public virtual POA_CORBA::Contained
+{
+protected:
+ UsesDef (void);
+
+public:
+ UsesDef (const UsesDef& rhs);
+ virtual ~UsesDef (void);
+
+
+ virtual CORBA::Boolean _is_a (
+ const char* logical_type_id,
+ CORBA::Environment &ACE_TRY_ENV =
+ TAO_default_environment ()
+ );
+
+ virtual void* _downcast (
+ const char* logical_type_id
+ );
+
+ static void _is_a_skel (
+ TAO_ServerRequest &req,
+ void *obj,
+ void *context,
+ CORBA::Environment &ACE_TRY_ENV =
+ TAO_default_environment ()
+ );
+
+ static void _non_existent_skel (
+ TAO_ServerRequest &req,
+ void *obj,
+ void *context,
+ CORBA::Environment &ACE_TRY_ENV =
+ TAO_default_environment ()
+ );
+
+ virtual void _dispatch (
+ TAO_ServerRequest &_tao_req,
+ void *_tao_context,
+ CORBA::Environment &ACE_TRY_ENV =
+ TAO_default_environment ()
+ );
+
+ ::IR::UsesDef *_this (
+ CORBA::Environment &ACE_TRY_ENV =
+ TAO_default_environment ()
+ );
+
+ virtual const char* _interface_repository_id (void) const;
+
+ virtual CORBA::InterfaceDef_ptr interface_type (
+ CORBA::Environment &ACE_TRY_ENV =
+ TAO_default_environment ()
+ )
+ ACE_THROW_SPEC ((
+ CORBA::SystemException
+ )) = 0;
+
+ static void _get_interface_type_skel (
+ TAO_ServerRequest &_tao_req,
+ void *_tao_obj,
+ void *_tao_context,
+ CORBA::Environment &ACE_TRY_ENV =
+ TAO_default_environment ()
+ );
+
+ virtual CORBA::Boolean is_multiple (
+ CORBA::Environment &ACE_TRY_ENV =
+ TAO_default_environment ()
+ )
+ ACE_THROW_SPEC ((
+ CORBA::SystemException
+ )) = 0;
+
+ static void _get_is_multiple_skel (
+ TAO_ServerRequest &_tao_req,
+ void *_tao_obj,
+ void *_tao_context,
+ CORBA::Environment &ACE_TRY_ENV =
+ TAO_default_environment ()
+ );
+
+ static void _get_id_skel (
+ TAO_ServerRequest &req,
+ void *obj,
+ void *context,
+ CORBA::Environment &ACE_TRY_ENV =
+ TAO_default_environment ()
+ );
+
+ static void _set_id_skel (
+ TAO_ServerRequest &req,
+ void *obj,
+ void *context,
+ CORBA::Environment &ACE_TRY_ENV =
+ TAO_default_environment ()
+ );
+
+ static void _get_name_skel (
+ TAO_ServerRequest &req,
+ void *obj,
+ void *context,
+ CORBA::Environment &ACE_TRY_ENV =
+ TAO_default_environment ()
+ );
+
+ static void _set_name_skel (
+ TAO_ServerRequest &req,
+ void *obj,
+ void *context,
+ CORBA::Environment &ACE_TRY_ENV =
+ TAO_default_environment ()
+ );
+
+ static void _get_version_skel (
+ TAO_ServerRequest &req,
+ void *obj,
+ void *context,
+ CORBA::Environment &ACE_TRY_ENV =
+ TAO_default_environment ()
+ );
+
+ static void _set_version_skel (
+ TAO_ServerRequest &req,
+ void *obj,
+ void *context,
+ CORBA::Environment &ACE_TRY_ENV =
+ TAO_default_environment ()
+ );
+
+ static void _get_defined_in_skel (
+ TAO_ServerRequest &req,
+ void *obj,
+ void *context,
+ CORBA::Environment &ACE_TRY_ENV =
+ TAO_default_environment ()
+ );
+
+ static void _get_absolute_name_skel (
+ TAO_ServerRequest &req,
+ void *obj,
+ void *context,
+ CORBA::Environment &ACE_TRY_ENV =
+ TAO_default_environment ()
+ );
+
+ static void _get_containing_repository_skel (
+ TAO_ServerRequest &req,
+ void *obj,
+ void *context,
+ CORBA::Environment &ACE_TRY_ENV =
+ TAO_default_environment ()
+ );
+
+ static void describe_skel (
+ TAO_ServerRequest &req,
+ void *obj,
+ void *context,
+ CORBA::Environment &ACE_TRY_ENV =
+ TAO_default_environment ()
+ );
+
+ static void move_skel (
+ TAO_ServerRequest &req,
+ void *obj,
+ void *context,
+ CORBA::Environment &ACE_TRY_ENV =
+ TAO_default_environment ()
+ );
+
+ static void _get_def_kind_skel (
+ TAO_ServerRequest &req,
+ void *obj,
+ void *context,
+ CORBA::Environment &ACE_TRY_ENV =
+ TAO_default_environment ()
+ );
+
+ static void destroy_skel (
+ TAO_ServerRequest &req,
+ void *obj,
+ void *context,
+ CORBA::Environment &ACE_TRY_ENV =
+ TAO_default_environment ()
+ );
+
+
+#if (TAO_HAS_INTERCEPTORS == 1)
+ // Generation of interceptors related RequestInfo classes per operation.
+ // This needed to be able to store the arguments, exceptions, contexts
+ // and build the lists dynamically on demand so that unnecessary time overhead
+ // of building these lists when they arent used is avoided.
+ class TAO_ServerRequestInfo_IR_UsesDef_interface_type_get : public TAO_ServerRequestInfo
+ {
+ public:
+ friend class POA_IR::UsesDef;
+ TAO_ServerRequestInfo_IR_UsesDef_interface_type_get (
+ TAO_ServerRequest &_tao_server_request,
+ POA_IR::UsesDef *tao_impl,
+ CORBA::Environment &ACE_TRY_ENV =
+ TAO_default_environment ()
+ );
+
+ virtual Dynamic::ParameterList * arguments (
+ CORBA::Environment &ACE_TRY_ENV =
+ TAO_default_environment ()
+ )
+ ACE_THROW_SPEC ((CORBA::SystemException));
+
+ virtual Dynamic::ExceptionList * exceptions (
+ CORBA::Environment &ACE_TRY_ENV =
+ TAO_default_environment ()
+ )
+ ACE_THROW_SPEC ((CORBA::SystemException));
+
+ virtual CORBA::Any * result (
+ CORBA::Environment &ACE_TRY_ENV =
+ TAO_default_environment ()
+ )
+ ACE_THROW_SPEC ((CORBA::SystemException));
+
+ virtual char * target_most_derived_interface (
+ CORBA::Environment &ACE_TRY_ENV = TAO_default_environment ())
+ ACE_THROW_SPEC ((CORBA::SystemException));
+
+ virtual CORBA::Boolean target_is_a (
+ const char * id,
+ CORBA::Environment &ACE_TRY_ENV = TAO_default_environment ())
+ ACE_THROW_SPEC ((CORBA::SystemException));
+
+ private:
+ TAO_ServerRequestInfo_IR_UsesDef_interface_type_get (const TAO_ServerRequestInfo_IR_UsesDef_interface_type_get &);
+ void operator= (const TAO_ServerRequestInfo_IR_UsesDef_interface_type_get &);
+
+ private:
+ POA_IR::UsesDef *_tao_impl;
+ void result (CORBA::InterfaceDef_ptr result);
+ // update the result
+ CORBA::InterfaceDef_ptr _result;
+ };
+
+ class TAO_ServerRequestInfo_IR_UsesDef_is_multiple_get : public TAO_ServerRequestInfo
+ {
+ public:
+ friend class POA_IR::UsesDef;
+ TAO_ServerRequestInfo_IR_UsesDef_is_multiple_get (
+ TAO_ServerRequest &_tao_server_request,
+ POA_IR::UsesDef *tao_impl,
+ CORBA::Environment &ACE_TRY_ENV =
+ TAO_default_environment ()
+ );
+
+ virtual Dynamic::ParameterList * arguments (
+ CORBA::Environment &ACE_TRY_ENV =
+ TAO_default_environment ()
+ )
+ ACE_THROW_SPEC ((CORBA::SystemException));
+
+ virtual Dynamic::ExceptionList * exceptions (
+ CORBA::Environment &ACE_TRY_ENV =
+ TAO_default_environment ()
+ )
+ ACE_THROW_SPEC ((CORBA::SystemException));
+
+ virtual CORBA::Any * result (
+ CORBA::Environment &ACE_TRY_ENV =
+ TAO_default_environment ()
+ )
+ ACE_THROW_SPEC ((CORBA::SystemException));
+
+ virtual char * target_most_derived_interface (
+ CORBA::Environment &ACE_TRY_ENV = TAO_default_environment ())
+ ACE_THROW_SPEC ((CORBA::SystemException));
+
+ virtual CORBA::Boolean target_is_a (
+ const char * id,
+ CORBA::Environment &ACE_TRY_ENV = TAO_default_environment ())
+ ACE_THROW_SPEC ((CORBA::SystemException));
+
+ private:
+ TAO_ServerRequestInfo_IR_UsesDef_is_multiple_get (const TAO_ServerRequestInfo_IR_UsesDef_is_multiple_get &);
+ void operator= (const TAO_ServerRequestInfo_IR_UsesDef_is_multiple_get &);
+
+ private:
+ POA_IR::UsesDef *_tao_impl;
+ void result (CORBA::Boolean result);
+ // update the result
+ CORBA::Boolean _result;
+ };
+
+ #endif /* TAO_HAS_INTERCEPTORS */
+
+};
+
+
+///////////////////////////////////////////////////////////////////////
+// Strategized Proxy Broker Declaration
+//
+
+class _TAO_UsesDef_Strategized_Proxy_Broker : public virtual ::IR::_TAO_UsesDef_Proxy_Broker
+{
+public:
+ _TAO_UsesDef_Strategized_Proxy_Broker (void);
+
+ virtual ~_TAO_UsesDef_Strategized_Proxy_Broker (void);
+
+ virtual ::IR::_TAO_UsesDef_Proxy_Impl &select_proxy (
+ ::IR::UsesDef *object,
+ CORBA_Environment &ACE_TRY_ENV = TAO_default_environment ()
+ );
+
+private:
+
+// Helper methods that takes care to create the proxy
+// as soon as their use is necessary.
+ void create_proxy (
+ int strategy,
+ CORBA::Environment &ACE_TRY_ENV
+ );
+
+private:
+
+ // Caches the proxy implementations. The proxy implementation
+ // are totally stateless, and those can be shared by all the
+ // instances of a given IDL interface type.
+ ::IR::_TAO_UsesDef_Proxy_Impl
+ *proxy_cache_[TAO_Collocation_Strategies::CS_LAST];
+
+ TAO_SYNCH_MUTEX mutex_;
+// This funxtion is used to get an handle to the unique instance
+// of the Strategized Proxy Broker that is available for a given
+// interface.
+
+public:
+ static _TAO_UsesDef_Strategized_Proxy_Broker *the_TAO_UsesDef_Strategized_Proxy_Broker (void);
+};
+
+
+//
+// End Strategized Proxy Broker Declaration
+///////////////////////////////////////////////////////////////////////
+
+
+///////////////////////////////////////////////////////////////////////
+// ThruPOA Impl. Declaration
+//
+
+class _TAO_UsesDef_ThruPOA_Proxy_Impl :
+ public virtual ::IR::_TAO_UsesDef_Proxy_Impl,
+ public virtual TAO_ThruPOA_Object_Proxy_Impl,
+ public virtual ::POA_CORBA::_TAO_Contained_ThruPOA_Proxy_Impl
+
+{
+public:
+ _TAO_UsesDef_ThruPOA_Proxy_Impl (void);
+
+ virtual ~_TAO_UsesDef_ThruPOA_Proxy_Impl (void) { }
+
+ virtual CORBA::InterfaceDef_ptr interface_type (
+ CORBA_Object *_collocated_tao_target_,
+ CORBA::Environment &ACE_TRY_ENV
+ )
+ ACE_THROW_SPEC ((
+ CORBA::SystemException
+ ));
+
+ virtual CORBA::Boolean is_multiple (
+ CORBA_Object *_collocated_tao_target_,
+ CORBA::Environment &ACE_TRY_ENV
+ )
+ ACE_THROW_SPEC ((
+ CORBA::SystemException
+ ));
+
+};
+
+
+//
+// ThruPOA Proxy Impl. Declaration
+///////////////////////////////////////////////////////////////////////
+
+
+#if defined (ACE_HAS_USING_KEYWORD)
+// TIE class: Refer to CORBA v2.2, Section 20.34.4
+template <class T>
+class UsesDef_tie : public UsesDef
+{
+public:
+ UsesDef_tie (T &t);
+ // the T& ctor
+ UsesDef_tie (T &t, PortableServer::POA_ptr poa);
+ // ctor taking a POA
+ UsesDef_tie (T *tp, CORBA::Boolean release=1);
+ // ctor taking pointer and an ownership flag
+ UsesDef_tie (T *tp, PortableServer::POA_ptr poa, CORBA::Boolean release=1);
+ // ctor with T*, ownership flag and a POA
+ ~UsesDef_tie (void);
+ // dtor
+
+ // TIE specific functions
+ T *_tied_object (void);
+ // return the underlying object
+ void _tied_object (T &obj);
+ // set the underlying object
+ void _tied_object (T *obj, CORBA::Boolean release=1);
+ // set the underlying object and the ownership flag
+ CORBA::Boolean _is_owner (void);
+ // do we own it
+ void _is_owner (CORBA::Boolean b);
+ // set the ownership
+
+ // overridden ServantBase operations
+ PortableServer::POA_ptr _default_POA (
+ CORBA::Environment &ACE_TRY_ENV =
+ TAO_default_environment ()
+ );
+ CORBA::InterfaceDef_ptr interface_type (
+ CORBA::Environment &ACE_TRY_ENV =
+ TAO_default_environment ()
+ )
+ ACE_THROW_SPEC ((
+ CORBA::SystemException
+ ));
+
+ CORBA::Boolean is_multiple (
+ CORBA::Environment &ACE_TRY_ENV =
+ TAO_default_environment ()
+ )
+ ACE_THROW_SPEC ((
+ CORBA::SystemException
+ ));
+
+ char * id (
+ CORBA::Environment &ACE_TRY_ENV =
+ TAO_default_environment ()
+ )
+ ACE_THROW_SPEC ((
+ CORBA::SystemException
+ ));
+
+ void id (
+ const char * id,
+ CORBA::Environment &ACE_TRY_ENV =
+ TAO_default_environment ()
+ )
+ ACE_THROW_SPEC ((
+ CORBA::SystemException
+ ));
+
+ char * name (
+ CORBA::Environment &ACE_TRY_ENV =
+ TAO_default_environment ()
+ )
+ ACE_THROW_SPEC ((
+ CORBA::SystemException
+ ));
+
+ void name (
+ const char * name,
+ CORBA::Environment &ACE_TRY_ENV =
+ TAO_default_environment ()
+ )
+ ACE_THROW_SPEC ((
+ CORBA::SystemException
+ ));
+
+ char * version (
+ CORBA::Environment &ACE_TRY_ENV =
+ TAO_default_environment ()
+ )
+ ACE_THROW_SPEC ((
+ CORBA::SystemException
+ ));
+
+ void version (
+ const char * version,
+ CORBA::Environment &ACE_TRY_ENV =
+ TAO_default_environment ()
+ )
+ ACE_THROW_SPEC ((
+ CORBA::SystemException
+ ));
+
+ CORBA::Container_ptr defined_in (
+ CORBA::Environment &ACE_TRY_ENV =
+ TAO_default_environment ()
+ )
+ ACE_THROW_SPEC ((
+ CORBA::SystemException
+ ));
+
+ char * absolute_name (
+ CORBA::Environment &ACE_TRY_ENV =
+ TAO_default_environment ()
+ )
+ ACE_THROW_SPEC ((
+ CORBA::SystemException
+ ));
+
+ CORBA::Repository_ptr containing_repository (
+ CORBA::Environment &ACE_TRY_ENV =
+ TAO_default_environment ()
+ )
+ ACE_THROW_SPEC ((
+ CORBA::SystemException
+ ));
+
+ CORBA::Contained::Description * describe (
+ CORBA::Environment &ACE_TRY_ENV =
+ TAO_default_environment ()
+ )
+ ACE_THROW_SPEC ((
+ CORBA::SystemException
+ ));
+
+ void move (
+ CORBA::Container_ptr new_container,
+ const char * new_name,
+ const char * new_version,
+ CORBA::Environment &ACE_TRY_ENV =
+ TAO_default_environment ()
+ )
+ ACE_THROW_SPEC ((
+ CORBA::SystemException
+ ));
+
+ CORBA::DefinitionKind def_kind (
+ CORBA::Environment &ACE_TRY_ENV =
+ TAO_default_environment ()
+ )
+ ACE_THROW_SPEC ((
+ CORBA::SystemException
+ ));
+
+ void destroy (
+ CORBA::Environment &ACE_TRY_ENV =
+ TAO_default_environment ()
+ )
+ ACE_THROW_SPEC ((
+ CORBA::SystemException
+ ));
+
+private:
+ T *ptr_;
+ PortableServer::POA_var poa_;
+ CORBA::Boolean rel_;
+
+ // copy and assignment are not allowed
+ UsesDef_tie (const UsesDef_tie &);
+ void operator= (const UsesDef_tie &);
+};
+
+#endif /* ACE_HAS_USING_KEYWORD */
+
+class EventDef;
+typedef EventDef *EventDef_ptr;
+// Forward Classes Declaration
+class _TAO_EventDef_ThruPOA_Proxy_Impl;
+class _TAO_EventDef_Strategized_Proxy_Broker;
+
+class EventDef : public virtual POA_CORBA::Contained
+{
+protected:
+ EventDef (void);
+
+public:
+ EventDef (const EventDef& rhs);
+ virtual ~EventDef (void);
+
+
+ virtual CORBA::Boolean _is_a (
+ const char* logical_type_id,
+ CORBA::Environment &ACE_TRY_ENV =
+ TAO_default_environment ()
+ );
+
+ virtual void* _downcast (
+ const char* logical_type_id
+ );
+
+ static void _is_a_skel (
+ TAO_ServerRequest &req,
+ void *obj,
+ void *context,
+ CORBA::Environment &ACE_TRY_ENV =
+ TAO_default_environment ()
+ );
+
+ static void _non_existent_skel (
+ TAO_ServerRequest &req,
+ void *obj,
+ void *context,
+ CORBA::Environment &ACE_TRY_ENV =
+ TAO_default_environment ()
+ );
+
+ virtual void _dispatch (
+ TAO_ServerRequest &_tao_req,
+ void *_tao_context,
+ CORBA::Environment &ACE_TRY_ENV =
+ TAO_default_environment ()
+ );
+
+ ::IR::EventDef *_this (
+ CORBA::Environment &ACE_TRY_ENV =
+ TAO_default_environment ()
+ );
+
+ virtual const char* _interface_repository_id (void) const;
+
+ virtual CORBA::Boolean is_a (
+ const char * event_id,
+ CORBA::Environment &ACE_TRY_ENV =
+ TAO_default_environment ()
+ )
+ ACE_THROW_SPEC ((
+ CORBA::SystemException
+ )) = 0;
+
+ static void is_a_skel (
+ TAO_ServerRequest &_tao_req,
+ void *_tao_obj,
+ void *_tao_context,
+ CORBA::Environment &ACE_TRY_ENV =
+ TAO_default_environment ()
+ );
+
+ virtual CORBA::ValueDef_ptr event (
+ CORBA::Environment &ACE_TRY_ENV =
+ TAO_default_environment ()
+ )
+ ACE_THROW_SPEC ((
+ CORBA::SystemException
+ )) = 0;
+
+ static void _get_event_skel (
+ TAO_ServerRequest &_tao_req,
+ void *_tao_obj,
+ void *_tao_context,
+ CORBA::Environment &ACE_TRY_ENV =
+ TAO_default_environment ()
+ );
+
+ static void _get_id_skel (
+ TAO_ServerRequest &req,
+ void *obj,
+ void *context,
+ CORBA::Environment &ACE_TRY_ENV =
+ TAO_default_environment ()
+ );
+
+ static void _set_id_skel (
+ TAO_ServerRequest &req,
+ void *obj,
+ void *context,
+ CORBA::Environment &ACE_TRY_ENV =
+ TAO_default_environment ()
+ );
+
+ static void _get_name_skel (
+ TAO_ServerRequest &req,
+ void *obj,
+ void *context,
+ CORBA::Environment &ACE_TRY_ENV =
+ TAO_default_environment ()
+ );
+
+ static void _set_name_skel (
+ TAO_ServerRequest &req,
+ void *obj,
+ void *context,
+ CORBA::Environment &ACE_TRY_ENV =
+ TAO_default_environment ()
+ );
+
+ static void _get_version_skel (
+ TAO_ServerRequest &req,
+ void *obj,
+ void *context,
+ CORBA::Environment &ACE_TRY_ENV =
+ TAO_default_environment ()
+ );
+
+ static void _set_version_skel (
+ TAO_ServerRequest &req,
+ void *obj,
+ void *context,
+ CORBA::Environment &ACE_TRY_ENV =
+ TAO_default_environment ()
+ );
+
+ static void _get_defined_in_skel (
+ TAO_ServerRequest &req,
+ void *obj,
+ void *context,
+ CORBA::Environment &ACE_TRY_ENV =
+ TAO_default_environment ()
+ );
+
+ static void _get_absolute_name_skel (
+ TAO_ServerRequest &req,
+ void *obj,
+ void *context,
+ CORBA::Environment &ACE_TRY_ENV =
+ TAO_default_environment ()
+ );
+
+ static void _get_containing_repository_skel (
+ TAO_ServerRequest &req,
+ void *obj,
+ void *context,
+ CORBA::Environment &ACE_TRY_ENV =
+ TAO_default_environment ()
+ );
+
+ static void describe_skel (
+ TAO_ServerRequest &req,
+ void *obj,
+ void *context,
+ CORBA::Environment &ACE_TRY_ENV =
+ TAO_default_environment ()
+ );
+
+ static void move_skel (
+ TAO_ServerRequest &req,
+ void *obj,
+ void *context,
+ CORBA::Environment &ACE_TRY_ENV =
+ TAO_default_environment ()
+ );
+
+ static void _get_def_kind_skel (
+ TAO_ServerRequest &req,
+ void *obj,
+ void *context,
+ CORBA::Environment &ACE_TRY_ENV =
+ TAO_default_environment ()
+ );
+
+ static void destroy_skel (
+ TAO_ServerRequest &req,
+ void *obj,
+ void *context,
+ CORBA::Environment &ACE_TRY_ENV =
+ TAO_default_environment ()
+ );
+
+
+#if (TAO_HAS_INTERCEPTORS == 1)
+ // Generation of interceptors related RequestInfo classes per operation.
+ // This needed to be able to store the arguments, exceptions, contexts
+ // and build the lists dynamically on demand so that unnecessary time overhead
+ // of building these lists when they arent used is avoided.
+ class TAO_ServerRequestInfo_IR_EventDef_is_a : public TAO_ServerRequestInfo
+ {
+ public:
+ friend class POA_IR::EventDef;
+ TAO_ServerRequestInfo_IR_EventDef_is_a (
+ TAO_ServerRequest &_tao_server_request,
+ POA_IR::EventDef *tao_impl,
+ const char * event_id,
+ CORBA::Environment &ACE_TRY_ENV =
+ TAO_default_environment ()
+ );
+
+ virtual Dynamic::ParameterList * arguments (
+ CORBA::Environment &ACE_TRY_ENV =
+ TAO_default_environment ()
+ )
+ ACE_THROW_SPEC ((CORBA::SystemException));
+
+ virtual Dynamic::ExceptionList * exceptions (
+ CORBA::Environment &ACE_TRY_ENV =
+ TAO_default_environment ()
+ )
+ ACE_THROW_SPEC ((CORBA::SystemException));
+
+ virtual CORBA::Any * result (
+ CORBA::Environment &ACE_TRY_ENV =
+ TAO_default_environment ()
+ )
+ ACE_THROW_SPEC ((CORBA::SystemException));
+
+ virtual char * target_most_derived_interface (
+ CORBA::Environment &ACE_TRY_ENV = TAO_default_environment ())
+ ACE_THROW_SPEC ((CORBA::SystemException));
+
+ virtual CORBA::Boolean target_is_a (
+ const char * id,
+ CORBA::Environment &ACE_TRY_ENV = TAO_default_environment ())
+ ACE_THROW_SPEC ((CORBA::SystemException));
+
+ private:
+ TAO_ServerRequestInfo_IR_EventDef_is_a (const TAO_ServerRequestInfo_IR_EventDef_is_a &);
+ void operator= (const TAO_ServerRequestInfo_IR_EventDef_is_a &);
+
+ private:
+ POA_IR::EventDef *_tao_impl;
+ const char * event_id_;
+ void result (CORBA::Boolean result);
+ // update the result
+ CORBA::Boolean _result;
+ };
+
+ class TAO_ServerRequestInfo_IR_EventDef_event_get : public TAO_ServerRequestInfo
+ {
+ public:
+ friend class POA_IR::EventDef;
+ TAO_ServerRequestInfo_IR_EventDef_event_get (
+ TAO_ServerRequest &_tao_server_request,
+ POA_IR::EventDef *tao_impl,
+ CORBA::Environment &ACE_TRY_ENV =
+ TAO_default_environment ()
+ );
+
+ virtual Dynamic::ParameterList * arguments (
+ CORBA::Environment &ACE_TRY_ENV =
+ TAO_default_environment ()
+ )
+ ACE_THROW_SPEC ((CORBA::SystemException));
+
+ virtual Dynamic::ExceptionList * exceptions (
+ CORBA::Environment &ACE_TRY_ENV =
+ TAO_default_environment ()
+ )
+ ACE_THROW_SPEC ((CORBA::SystemException));
+
+ virtual CORBA::Any * result (
+ CORBA::Environment &ACE_TRY_ENV =
+ TAO_default_environment ()
+ )
+ ACE_THROW_SPEC ((CORBA::SystemException));
+
+ virtual char * target_most_derived_interface (
+ CORBA::Environment &ACE_TRY_ENV = TAO_default_environment ())
+ ACE_THROW_SPEC ((CORBA::SystemException));
+
+ virtual CORBA::Boolean target_is_a (
+ const char * id,
+ CORBA::Environment &ACE_TRY_ENV = TAO_default_environment ())
+ ACE_THROW_SPEC ((CORBA::SystemException));
+
+ private:
+ TAO_ServerRequestInfo_IR_EventDef_event_get (const TAO_ServerRequestInfo_IR_EventDef_event_get &);
+ void operator= (const TAO_ServerRequestInfo_IR_EventDef_event_get &);
+
+ private:
+ POA_IR::EventDef *_tao_impl;
+ void result (CORBA::ValueDef_ptr result);
+ // update the result
+ CORBA::ValueDef_ptr _result;
+ };
+
+ #endif /* TAO_HAS_INTERCEPTORS */
+
+};
+
+
+///////////////////////////////////////////////////////////////////////
+// Strategized Proxy Broker Declaration
+//
+
+class _TAO_EventDef_Strategized_Proxy_Broker : public virtual ::IR::_TAO_EventDef_Proxy_Broker
+{
+public:
+ _TAO_EventDef_Strategized_Proxy_Broker (void);
+
+ virtual ~_TAO_EventDef_Strategized_Proxy_Broker (void);
+
+ virtual ::IR::_TAO_EventDef_Proxy_Impl &select_proxy (
+ ::IR::EventDef *object,
+ CORBA_Environment &ACE_TRY_ENV = TAO_default_environment ()
+ );
+
+private:
+
+// Helper methods that takes care to create the proxy
+// as soon as their use is necessary.
+ void create_proxy (
+ int strategy,
+ CORBA::Environment &ACE_TRY_ENV
+ );
+
+private:
+
+ // Caches the proxy implementations. The proxy implementation
+ // are totally stateless, and those can be shared by all the
+ // instances of a given IDL interface type.
+ ::IR::_TAO_EventDef_Proxy_Impl
+ *proxy_cache_[TAO_Collocation_Strategies::CS_LAST];
+
+ TAO_SYNCH_MUTEX mutex_;
+// This funxtion is used to get an handle to the unique instance
+// of the Strategized Proxy Broker that is available for a given
+// interface.
+
+public:
+ static _TAO_EventDef_Strategized_Proxy_Broker *the_TAO_EventDef_Strategized_Proxy_Broker (void);
+};
+
+
+//
+// End Strategized Proxy Broker Declaration
+///////////////////////////////////////////////////////////////////////
+
+
+///////////////////////////////////////////////////////////////////////
+// ThruPOA Impl. Declaration
+//
+
+class _TAO_EventDef_ThruPOA_Proxy_Impl :
+ public virtual ::IR::_TAO_EventDef_Proxy_Impl,
+ public virtual TAO_ThruPOA_Object_Proxy_Impl,
+ public virtual ::POA_CORBA::_TAO_Contained_ThruPOA_Proxy_Impl
+
+{
+public:
+ _TAO_EventDef_ThruPOA_Proxy_Impl (void);
+
+ virtual ~_TAO_EventDef_ThruPOA_Proxy_Impl (void) { }
+
+ virtual CORBA::Boolean is_a (
+ CORBA_Object *_collocated_tao_target_,
+ const char * event_id,
+ CORBA::Environment &ACE_TRY_ENV
+ )
+ ACE_THROW_SPEC ((
+ CORBA::SystemException
+ ));
+
+ virtual CORBA::ValueDef_ptr event (
+ CORBA_Object *_collocated_tao_target_,
+ CORBA::Environment &ACE_TRY_ENV
+ )
+ ACE_THROW_SPEC ((
+ CORBA::SystemException
+ ));
+
+};
+
+
+//
+// ThruPOA Proxy Impl. Declaration
+///////////////////////////////////////////////////////////////////////
+
+
+#if defined (ACE_HAS_USING_KEYWORD)
+// TIE class: Refer to CORBA v2.2, Section 20.34.4
+template <class T>
+class EventDef_tie : public EventDef
+{
+public:
+ EventDef_tie (T &t);
+ // the T& ctor
+ EventDef_tie (T &t, PortableServer::POA_ptr poa);
+ // ctor taking a POA
+ EventDef_tie (T *tp, CORBA::Boolean release=1);
+ // ctor taking pointer and an ownership flag
+ EventDef_tie (T *tp, PortableServer::POA_ptr poa, CORBA::Boolean release=1);
+ // ctor with T*, ownership flag and a POA
+ ~EventDef_tie (void);
+ // dtor
+
+ // TIE specific functions
+ T *_tied_object (void);
+ // return the underlying object
+ void _tied_object (T &obj);
+ // set the underlying object
+ void _tied_object (T *obj, CORBA::Boolean release=1);
+ // set the underlying object and the ownership flag
+ CORBA::Boolean _is_owner (void);
+ // do we own it
+ void _is_owner (CORBA::Boolean b);
+ // set the ownership
+
+ // overridden ServantBase operations
+ PortableServer::POA_ptr _default_POA (
+ CORBA::Environment &ACE_TRY_ENV =
+ TAO_default_environment ()
+ );
+ CORBA::Boolean is_a (
+ const char * event_id,
+ CORBA::Environment &ACE_TRY_ENV =
+ TAO_default_environment ()
+ )
+ ACE_THROW_SPEC ((
+ CORBA::SystemException
+ ));
+
+ CORBA::ValueDef_ptr event (
+ CORBA::Environment &ACE_TRY_ENV =
+ TAO_default_environment ()
+ )
+ ACE_THROW_SPEC ((
+ CORBA::SystemException
+ ));
+
+ char * id (
+ CORBA::Environment &ACE_TRY_ENV =
+ TAO_default_environment ()
+ )
+ ACE_THROW_SPEC ((
+ CORBA::SystemException
+ ));
+
+ void id (
+ const char * id,
+ CORBA::Environment &ACE_TRY_ENV =
+ TAO_default_environment ()
+ )
+ ACE_THROW_SPEC ((
+ CORBA::SystemException
+ ));
+
+ char * name (
+ CORBA::Environment &ACE_TRY_ENV =
+ TAO_default_environment ()
+ )
+ ACE_THROW_SPEC ((
+ CORBA::SystemException
+ ));
+
+ void name (
+ const char * name,
+ CORBA::Environment &ACE_TRY_ENV =
+ TAO_default_environment ()
+ )
+ ACE_THROW_SPEC ((
+ CORBA::SystemException
+ ));
+
+ char * version (
+ CORBA::Environment &ACE_TRY_ENV =
+ TAO_default_environment ()
+ )
+ ACE_THROW_SPEC ((
+ CORBA::SystemException
+ ));
+
+ void version (
+ const char * version,
+ CORBA::Environment &ACE_TRY_ENV =
+ TAO_default_environment ()
+ )
+ ACE_THROW_SPEC ((
+ CORBA::SystemException
+ ));
+
+ CORBA::Container_ptr defined_in (
+ CORBA::Environment &ACE_TRY_ENV =
+ TAO_default_environment ()
+ )
+ ACE_THROW_SPEC ((
+ CORBA::SystemException
+ ));
+
+ char * absolute_name (
+ CORBA::Environment &ACE_TRY_ENV =
+ TAO_default_environment ()
+ )
+ ACE_THROW_SPEC ((
+ CORBA::SystemException
+ ));
+
+ CORBA::Repository_ptr containing_repository (
+ CORBA::Environment &ACE_TRY_ENV =
+ TAO_default_environment ()
+ )
+ ACE_THROW_SPEC ((
+ CORBA::SystemException
+ ));
+
+ CORBA::Contained::Description * describe (
+ CORBA::Environment &ACE_TRY_ENV =
+ TAO_default_environment ()
+ )
+ ACE_THROW_SPEC ((
+ CORBA::SystemException
+ ));
+
+ void move (
+ CORBA::Container_ptr new_container,
+ const char * new_name,
+ const char * new_version,
+ CORBA::Environment &ACE_TRY_ENV =
+ TAO_default_environment ()
+ )
+ ACE_THROW_SPEC ((
+ CORBA::SystemException
+ ));
+
+ CORBA::DefinitionKind def_kind (
+ CORBA::Environment &ACE_TRY_ENV =
+ TAO_default_environment ()
+ )
+ ACE_THROW_SPEC ((
+ CORBA::SystemException
+ ));
+
+ void destroy (
+ CORBA::Environment &ACE_TRY_ENV =
+ TAO_default_environment ()
+ )
+ ACE_THROW_SPEC ((
+ CORBA::SystemException
+ ));
+
+private:
+ T *ptr_;
+ PortableServer::POA_var poa_;
+ CORBA::Boolean rel_;
+
+ // copy and assignment are not allowed
+ EventDef_tie (const EventDef_tie &);
+ void operator= (const EventDef_tie &);
+};
+
+#endif /* ACE_HAS_USING_KEYWORD */
+
+class EmitsDef;
+typedef EmitsDef *EmitsDef_ptr;
+// Forward Classes Declaration
+class _TAO_EmitsDef_ThruPOA_Proxy_Impl;
+class _TAO_EmitsDef_Strategized_Proxy_Broker;
+
+class EmitsDef : public virtual EventDef
+{
+protected:
+ EmitsDef (void);
+
+public:
+ EmitsDef (const EmitsDef& rhs);
+ virtual ~EmitsDef (void);
+
+
+ virtual CORBA::Boolean _is_a (
+ const char* logical_type_id,
+ CORBA::Environment &ACE_TRY_ENV =
+ TAO_default_environment ()
+ );
+
+ virtual void* _downcast (
+ const char* logical_type_id
+ );
+
+ static void _is_a_skel (
+ TAO_ServerRequest &req,
+ void *obj,
+ void *context,
+ CORBA::Environment &ACE_TRY_ENV =
+ TAO_default_environment ()
+ );
+
+ static void _non_existent_skel (
+ TAO_ServerRequest &req,
+ void *obj,
+ void *context,
+ CORBA::Environment &ACE_TRY_ENV =
+ TAO_default_environment ()
+ );
+
+ virtual void _dispatch (
+ TAO_ServerRequest &_tao_req,
+ void *_tao_context,
+ CORBA::Environment &ACE_TRY_ENV =
+ TAO_default_environment ()
+ );
+
+ ::IR::EmitsDef *_this (
+ CORBA::Environment &ACE_TRY_ENV =
+ TAO_default_environment ()
+ );
+
+ virtual const char* _interface_repository_id (void) const;
+
+ static void is_a_skel (
+ TAO_ServerRequest &req,
+ void *obj,
+ void *context,
+ CORBA::Environment &ACE_TRY_ENV =
+ TAO_default_environment ()
+ );
+
+ static void _get_event_skel (
+ TAO_ServerRequest &req,
+ void *obj,
+ void *context,
+ CORBA::Environment &ACE_TRY_ENV =
+ TAO_default_environment ()
+ );
+
+ static void _get_id_skel (
+ TAO_ServerRequest &req,
+ void *obj,
+ void *context,
+ CORBA::Environment &ACE_TRY_ENV =
+ TAO_default_environment ()
+ );
+
+ static void _set_id_skel (
+ TAO_ServerRequest &req,
+ void *obj,
+ void *context,
+ CORBA::Environment &ACE_TRY_ENV =
+ TAO_default_environment ()
+ );
+
+ static void _get_name_skel (
+ TAO_ServerRequest &req,
+ void *obj,
+ void *context,
+ CORBA::Environment &ACE_TRY_ENV =
+ TAO_default_environment ()
+ );
+
+ static void _set_name_skel (
+ TAO_ServerRequest &req,
+ void *obj,
+ void *context,
+ CORBA::Environment &ACE_TRY_ENV =
+ TAO_default_environment ()
+ );
+
+ static void _get_version_skel (
+ TAO_ServerRequest &req,
+ void *obj,
+ void *context,
+ CORBA::Environment &ACE_TRY_ENV =
+ TAO_default_environment ()
+ );
+
+ static void _set_version_skel (
+ TAO_ServerRequest &req,
+ void *obj,
+ void *context,
+ CORBA::Environment &ACE_TRY_ENV =
+ TAO_default_environment ()
+ );
+
+ static void _get_defined_in_skel (
+ TAO_ServerRequest &req,
+ void *obj,
+ void *context,
+ CORBA::Environment &ACE_TRY_ENV =
+ TAO_default_environment ()
+ );
+
+ static void _get_absolute_name_skel (
+ TAO_ServerRequest &req,
+ void *obj,
+ void *context,
+ CORBA::Environment &ACE_TRY_ENV =
+ TAO_default_environment ()
+ );
+
+ static void _get_containing_repository_skel (
+ TAO_ServerRequest &req,
+ void *obj,
+ void *context,
+ CORBA::Environment &ACE_TRY_ENV =
+ TAO_default_environment ()
+ );
+
+ static void describe_skel (
+ TAO_ServerRequest &req,
+ void *obj,
+ void *context,
+ CORBA::Environment &ACE_TRY_ENV =
+ TAO_default_environment ()
+ );
+
+ static void move_skel (
+ TAO_ServerRequest &req,
+ void *obj,
+ void *context,
+ CORBA::Environment &ACE_TRY_ENV =
+ TAO_default_environment ()
+ );
+
+ static void _get_def_kind_skel (
+ TAO_ServerRequest &req,
+ void *obj,
+ void *context,
+ CORBA::Environment &ACE_TRY_ENV =
+ TAO_default_environment ()
+ );
+
+ static void destroy_skel (
+ TAO_ServerRequest &req,
+ void *obj,
+ void *context,
+ CORBA::Environment &ACE_TRY_ENV =
+ TAO_default_environment ()
+ );
+
+
+#if (TAO_HAS_INTERCEPTORS == 1)
+ // Generation of interceptors related RequestInfo classes per operation.
+ // This needed to be able to store the arguments, exceptions, contexts
+ // and build the lists dynamically on demand so that unnecessary time overhead
+ // of building these lists when they arent used is avoided.
+ #endif /* TAO_HAS_INTERCEPTORS */
+
+};
+
+
+///////////////////////////////////////////////////////////////////////
+// Strategized Proxy Broker Declaration
+//
+
+class _TAO_EmitsDef_Strategized_Proxy_Broker : public virtual ::IR::_TAO_EmitsDef_Proxy_Broker
+{
+public:
+ _TAO_EmitsDef_Strategized_Proxy_Broker (void);
+
+ virtual ~_TAO_EmitsDef_Strategized_Proxy_Broker (void);
+
+ virtual ::IR::_TAO_EmitsDef_Proxy_Impl &select_proxy (
+ ::IR::EmitsDef *object,
+ CORBA_Environment &ACE_TRY_ENV = TAO_default_environment ()
+ );
+
+private:
+
+// Helper methods that takes care to create the proxy
+// as soon as their use is necessary.
+ void create_proxy (
+ int strategy,
+ CORBA::Environment &ACE_TRY_ENV
+ );
+
+private:
+
+ // Caches the proxy implementations. The proxy implementation
+ // are totally stateless, and those can be shared by all the
+ // instances of a given IDL interface type.
+ ::IR::_TAO_EmitsDef_Proxy_Impl
+ *proxy_cache_[TAO_Collocation_Strategies::CS_LAST];
+
+ TAO_SYNCH_MUTEX mutex_;
+// This funxtion is used to get an handle to the unique instance
+// of the Strategized Proxy Broker that is available for a given
+// interface.
+
+public:
+ static _TAO_EmitsDef_Strategized_Proxy_Broker *the_TAO_EmitsDef_Strategized_Proxy_Broker (void);
+};
+
+
+//
+// End Strategized Proxy Broker Declaration
+///////////////////////////////////////////////////////////////////////
+
+
+///////////////////////////////////////////////////////////////////////
+// ThruPOA Impl. Declaration
+//
+
+class _TAO_EmitsDef_ThruPOA_Proxy_Impl :
+ public virtual ::IR::_TAO_EmitsDef_Proxy_Impl,
+ public virtual TAO_ThruPOA_Object_Proxy_Impl,
+ public virtual ::POA_IR::_TAO_EventDef_ThruPOA_Proxy_Impl
+
+{
+public:
+ _TAO_EmitsDef_ThruPOA_Proxy_Impl (void);
+
+ virtual ~_TAO_EmitsDef_ThruPOA_Proxy_Impl (void) { }
+
+ };
+
+
+//
+// ThruPOA Proxy Impl. Declaration
+///////////////////////////////////////////////////////////////////////
+
+
+#if defined (ACE_HAS_USING_KEYWORD)
+// TIE class: Refer to CORBA v2.2, Section 20.34.4
+template <class T>
+class EmitsDef_tie : public EmitsDef
+{
+public:
+ EmitsDef_tie (T &t);
+ // the T& ctor
+ EmitsDef_tie (T &t, PortableServer::POA_ptr poa);
+ // ctor taking a POA
+ EmitsDef_tie (T *tp, CORBA::Boolean release=1);
+ // ctor taking pointer and an ownership flag
+ EmitsDef_tie (T *tp, PortableServer::POA_ptr poa, CORBA::Boolean release=1);
+ // ctor with T*, ownership flag and a POA
+ ~EmitsDef_tie (void);
+ // dtor
+
+ // TIE specific functions
+ T *_tied_object (void);
+ // return the underlying object
+ void _tied_object (T &obj);
+ // set the underlying object
+ void _tied_object (T *obj, CORBA::Boolean release=1);
+ // set the underlying object and the ownership flag
+ CORBA::Boolean _is_owner (void);
+ // do we own it
+ void _is_owner (CORBA::Boolean b);
+ // set the ownership
+
+ // overridden ServantBase operations
+ PortableServer::POA_ptr _default_POA (
+ CORBA::Environment &ACE_TRY_ENV =
+ TAO_default_environment ()
+ );
+ CORBA::Boolean is_a (
+ const char * event_id,
+ CORBA::Environment &ACE_TRY_ENV =
+ TAO_default_environment ()
+ )
+ ACE_THROW_SPEC ((
+ CORBA::SystemException
+ ));
+
+ CORBA::ValueDef_ptr event (
+ CORBA::Environment &ACE_TRY_ENV =
+ TAO_default_environment ()
+ )
+ ACE_THROW_SPEC ((
+ CORBA::SystemException
+ ));
+
+ char * id (
+ CORBA::Environment &ACE_TRY_ENV =
+ TAO_default_environment ()
+ )
+ ACE_THROW_SPEC ((
+ CORBA::SystemException
+ ));
+
+ void id (
+ const char * id,
+ CORBA::Environment &ACE_TRY_ENV =
+ TAO_default_environment ()
+ )
+ ACE_THROW_SPEC ((
+ CORBA::SystemException
+ ));
+
+ char * name (
+ CORBA::Environment &ACE_TRY_ENV =
+ TAO_default_environment ()
+ )
+ ACE_THROW_SPEC ((
+ CORBA::SystemException
+ ));
+
+ void name (
+ const char * name,
+ CORBA::Environment &ACE_TRY_ENV =
+ TAO_default_environment ()
+ )
+ ACE_THROW_SPEC ((
+ CORBA::SystemException
+ ));
+
+ char * version (
+ CORBA::Environment &ACE_TRY_ENV =
+ TAO_default_environment ()
+ )
+ ACE_THROW_SPEC ((
+ CORBA::SystemException
+ ));
+
+ void version (
+ const char * version,
+ CORBA::Environment &ACE_TRY_ENV =
+ TAO_default_environment ()
+ )
+ ACE_THROW_SPEC ((
+ CORBA::SystemException
+ ));
+
+ CORBA::Container_ptr defined_in (
+ CORBA::Environment &ACE_TRY_ENV =
+ TAO_default_environment ()
+ )
+ ACE_THROW_SPEC ((
+ CORBA::SystemException
+ ));
+
+ char * absolute_name (
+ CORBA::Environment &ACE_TRY_ENV =
+ TAO_default_environment ()
+ )
+ ACE_THROW_SPEC ((
+ CORBA::SystemException
+ ));
+
+ CORBA::Repository_ptr containing_repository (
+ CORBA::Environment &ACE_TRY_ENV =
+ TAO_default_environment ()
+ )
+ ACE_THROW_SPEC ((
+ CORBA::SystemException
+ ));
+
+ CORBA::Contained::Description * describe (
+ CORBA::Environment &ACE_TRY_ENV =
+ TAO_default_environment ()
+ )
+ ACE_THROW_SPEC ((
+ CORBA::SystemException
+ ));
+
+ void move (
+ CORBA::Container_ptr new_container,
+ const char * new_name,
+ const char * new_version,
+ CORBA::Environment &ACE_TRY_ENV =
+ TAO_default_environment ()
+ )
+ ACE_THROW_SPEC ((
+ CORBA::SystemException
+ ));
+
+ CORBA::DefinitionKind def_kind (
+ CORBA::Environment &ACE_TRY_ENV =
+ TAO_default_environment ()
+ )
+ ACE_THROW_SPEC ((
+ CORBA::SystemException
+ ));
+
+ void destroy (
+ CORBA::Environment &ACE_TRY_ENV =
+ TAO_default_environment ()
+ )
+ ACE_THROW_SPEC ((
+ CORBA::SystemException
+ ));
+
+private:
+ T *ptr_;
+ PortableServer::POA_var poa_;
+ CORBA::Boolean rel_;
+
+ // copy and assignment are not allowed
+ EmitsDef_tie (const EmitsDef_tie &);
+ void operator= (const EmitsDef_tie &);
+};
+
+#endif /* ACE_HAS_USING_KEYWORD */
+
+class PublishesDef;
+typedef PublishesDef *PublishesDef_ptr;
+// Forward Classes Declaration
+class _TAO_PublishesDef_ThruPOA_Proxy_Impl;
+class _TAO_PublishesDef_Strategized_Proxy_Broker;
+
+class PublishesDef : public virtual EventDef
+{
+protected:
+ PublishesDef (void);
+
+public:
+ PublishesDef (const PublishesDef& rhs);
+ virtual ~PublishesDef (void);
+
+
+ virtual CORBA::Boolean _is_a (
+ const char* logical_type_id,
+ CORBA::Environment &ACE_TRY_ENV =
+ TAO_default_environment ()
+ );
+
+ virtual void* _downcast (
+ const char* logical_type_id
+ );
+
+ static void _is_a_skel (
+ TAO_ServerRequest &req,
+ void *obj,
+ void *context,
+ CORBA::Environment &ACE_TRY_ENV =
+ TAO_default_environment ()
+ );
+
+ static void _non_existent_skel (
+ TAO_ServerRequest &req,
+ void *obj,
+ void *context,
+ CORBA::Environment &ACE_TRY_ENV =
+ TAO_default_environment ()
+ );
+
+ virtual void _dispatch (
+ TAO_ServerRequest &_tao_req,
+ void *_tao_context,
+ CORBA::Environment &ACE_TRY_ENV =
+ TAO_default_environment ()
+ );
+
+ ::IR::PublishesDef *_this (
+ CORBA::Environment &ACE_TRY_ENV =
+ TAO_default_environment ()
+ );
+
+ virtual const char* _interface_repository_id (void) const;
+
+ static void is_a_skel (
+ TAO_ServerRequest &req,
+ void *obj,
+ void *context,
+ CORBA::Environment &ACE_TRY_ENV =
+ TAO_default_environment ()
+ );
+
+ static void _get_event_skel (
+ TAO_ServerRequest &req,
+ void *obj,
+ void *context,
+ CORBA::Environment &ACE_TRY_ENV =
+ TAO_default_environment ()
+ );
+
+ static void _get_id_skel (
+ TAO_ServerRequest &req,
+ void *obj,
+ void *context,
+ CORBA::Environment &ACE_TRY_ENV =
+ TAO_default_environment ()
+ );
+
+ static void _set_id_skel (
+ TAO_ServerRequest &req,
+ void *obj,
+ void *context,
+ CORBA::Environment &ACE_TRY_ENV =
+ TAO_default_environment ()
+ );
+
+ static void _get_name_skel (
+ TAO_ServerRequest &req,
+ void *obj,
+ void *context,
+ CORBA::Environment &ACE_TRY_ENV =
+ TAO_default_environment ()
+ );
+
+ static void _set_name_skel (
+ TAO_ServerRequest &req,
+ void *obj,
+ void *context,
+ CORBA::Environment &ACE_TRY_ENV =
+ TAO_default_environment ()
+ );
+
+ static void _get_version_skel (
+ TAO_ServerRequest &req,
+ void *obj,
+ void *context,
+ CORBA::Environment &ACE_TRY_ENV =
+ TAO_default_environment ()
+ );
+
+ static void _set_version_skel (
+ TAO_ServerRequest &req,
+ void *obj,
+ void *context,
+ CORBA::Environment &ACE_TRY_ENV =
+ TAO_default_environment ()
+ );
+
+ static void _get_defined_in_skel (
+ TAO_ServerRequest &req,
+ void *obj,
+ void *context,
+ CORBA::Environment &ACE_TRY_ENV =
+ TAO_default_environment ()
+ );
+
+ static void _get_absolute_name_skel (
+ TAO_ServerRequest &req,
+ void *obj,
+ void *context,
+ CORBA::Environment &ACE_TRY_ENV =
+ TAO_default_environment ()
+ );
+
+ static void _get_containing_repository_skel (
+ TAO_ServerRequest &req,
+ void *obj,
+ void *context,
+ CORBA::Environment &ACE_TRY_ENV =
+ TAO_default_environment ()
+ );
+
+ static void describe_skel (
+ TAO_ServerRequest &req,
+ void *obj,
+ void *context,
+ CORBA::Environment &ACE_TRY_ENV =
+ TAO_default_environment ()
+ );
+
+ static void move_skel (
+ TAO_ServerRequest &req,
+ void *obj,
+ void *context,
+ CORBA::Environment &ACE_TRY_ENV =
+ TAO_default_environment ()
+ );
+
+ static void _get_def_kind_skel (
+ TAO_ServerRequest &req,
+ void *obj,
+ void *context,
+ CORBA::Environment &ACE_TRY_ENV =
+ TAO_default_environment ()
+ );
+
+ static void destroy_skel (
+ TAO_ServerRequest &req,
+ void *obj,
+ void *context,
+ CORBA::Environment &ACE_TRY_ENV =
+ TAO_default_environment ()
+ );
+
+
+#if (TAO_HAS_INTERCEPTORS == 1)
+ // Generation of interceptors related RequestInfo classes per operation.
+ // This needed to be able to store the arguments, exceptions, contexts
+ // and build the lists dynamically on demand so that unnecessary time overhead
+ // of building these lists when they arent used is avoided.
+ #endif /* TAO_HAS_INTERCEPTORS */
+
+};
+
+
+///////////////////////////////////////////////////////////////////////
+// Strategized Proxy Broker Declaration
+//
+
+class _TAO_PublishesDef_Strategized_Proxy_Broker : public virtual ::IR::_TAO_PublishesDef_Proxy_Broker
+{
+public:
+ _TAO_PublishesDef_Strategized_Proxy_Broker (void);
+
+ virtual ~_TAO_PublishesDef_Strategized_Proxy_Broker (void);
+
+ virtual ::IR::_TAO_PublishesDef_Proxy_Impl &select_proxy (
+ ::IR::PublishesDef *object,
+ CORBA_Environment &ACE_TRY_ENV = TAO_default_environment ()
+ );
+
+private:
+
+// Helper methods that takes care to create the proxy
+// as soon as their use is necessary.
+ void create_proxy (
+ int strategy,
+ CORBA::Environment &ACE_TRY_ENV
+ );
+
+private:
+
+ // Caches the proxy implementations. The proxy implementation
+ // are totally stateless, and those can be shared by all the
+ // instances of a given IDL interface type.
+ ::IR::_TAO_PublishesDef_Proxy_Impl
+ *proxy_cache_[TAO_Collocation_Strategies::CS_LAST];
+
+ TAO_SYNCH_MUTEX mutex_;
+// This funxtion is used to get an handle to the unique instance
+// of the Strategized Proxy Broker that is available for a given
+// interface.
+
+public:
+ static _TAO_PublishesDef_Strategized_Proxy_Broker *the_TAO_PublishesDef_Strategized_Proxy_Broker (void);
+};
+
+
+//
+// End Strategized Proxy Broker Declaration
+///////////////////////////////////////////////////////////////////////
+
+
+///////////////////////////////////////////////////////////////////////
+// ThruPOA Impl. Declaration
+//
+
+class _TAO_PublishesDef_ThruPOA_Proxy_Impl :
+ public virtual ::IR::_TAO_PublishesDef_Proxy_Impl,
+ public virtual TAO_ThruPOA_Object_Proxy_Impl,
+ public virtual ::POA_IR::_TAO_EventDef_ThruPOA_Proxy_Impl
+
+{
+public:
+ _TAO_PublishesDef_ThruPOA_Proxy_Impl (void);
+
+ virtual ~_TAO_PublishesDef_ThruPOA_Proxy_Impl (void) { }
+
+ };
+
+
+//
+// ThruPOA Proxy Impl. Declaration
+///////////////////////////////////////////////////////////////////////
+
+
+#if defined (ACE_HAS_USING_KEYWORD)
+// TIE class: Refer to CORBA v2.2, Section 20.34.4
+template <class T>
+class PublishesDef_tie : public PublishesDef
+{
+public:
+ PublishesDef_tie (T &t);
+ // the T& ctor
+ PublishesDef_tie (T &t, PortableServer::POA_ptr poa);
+ // ctor taking a POA
+ PublishesDef_tie (T *tp, CORBA::Boolean release=1);
+ // ctor taking pointer and an ownership flag
+ PublishesDef_tie (T *tp, PortableServer::POA_ptr poa, CORBA::Boolean release=1);
+ // ctor with T*, ownership flag and a POA
+ ~PublishesDef_tie (void);
+ // dtor
+
+ // TIE specific functions
+ T *_tied_object (void);
+ // return the underlying object
+ void _tied_object (T &obj);
+ // set the underlying object
+ void _tied_object (T *obj, CORBA::Boolean release=1);
+ // set the underlying object and the ownership flag
+ CORBA::Boolean _is_owner (void);
+ // do we own it
+ void _is_owner (CORBA::Boolean b);
+ // set the ownership
+
+ // overridden ServantBase operations
+ PortableServer::POA_ptr _default_POA (
+ CORBA::Environment &ACE_TRY_ENV =
+ TAO_default_environment ()
+ );
+ CORBA::Boolean is_a (
+ const char * event_id,
+ CORBA::Environment &ACE_TRY_ENV =
+ TAO_default_environment ()
+ )
+ ACE_THROW_SPEC ((
+ CORBA::SystemException
+ ));
+
+ CORBA::ValueDef_ptr event (
+ CORBA::Environment &ACE_TRY_ENV =
+ TAO_default_environment ()
+ )
+ ACE_THROW_SPEC ((
+ CORBA::SystemException
+ ));
+
+ char * id (
+ CORBA::Environment &ACE_TRY_ENV =
+ TAO_default_environment ()
+ )
+ ACE_THROW_SPEC ((
+ CORBA::SystemException
+ ));
+
+ void id (
+ const char * id,
+ CORBA::Environment &ACE_TRY_ENV =
+ TAO_default_environment ()
+ )
+ ACE_THROW_SPEC ((
+ CORBA::SystemException
+ ));
+
+ char * name (
+ CORBA::Environment &ACE_TRY_ENV =
+ TAO_default_environment ()
+ )
+ ACE_THROW_SPEC ((
+ CORBA::SystemException
+ ));
+
+ void name (
+ const char * name,
+ CORBA::Environment &ACE_TRY_ENV =
+ TAO_default_environment ()
+ )
+ ACE_THROW_SPEC ((
+ CORBA::SystemException
+ ));
+
+ char * version (
+ CORBA::Environment &ACE_TRY_ENV =
+ TAO_default_environment ()
+ )
+ ACE_THROW_SPEC ((
+ CORBA::SystemException
+ ));
+
+ void version (
+ const char * version,
+ CORBA::Environment &ACE_TRY_ENV =
+ TAO_default_environment ()
+ )
+ ACE_THROW_SPEC ((
+ CORBA::SystemException
+ ));
+
+ CORBA::Container_ptr defined_in (
+ CORBA::Environment &ACE_TRY_ENV =
+ TAO_default_environment ()
+ )
+ ACE_THROW_SPEC ((
+ CORBA::SystemException
+ ));
+
+ char * absolute_name (
+ CORBA::Environment &ACE_TRY_ENV =
+ TAO_default_environment ()
+ )
+ ACE_THROW_SPEC ((
+ CORBA::SystemException
+ ));
+
+ CORBA::Repository_ptr containing_repository (
+ CORBA::Environment &ACE_TRY_ENV =
+ TAO_default_environment ()
+ )
+ ACE_THROW_SPEC ((
+ CORBA::SystemException
+ ));
+
+ CORBA::Contained::Description * describe (
+ CORBA::Environment &ACE_TRY_ENV =
+ TAO_default_environment ()
+ )
+ ACE_THROW_SPEC ((
+ CORBA::SystemException
+ ));
+
+ void move (
+ CORBA::Container_ptr new_container,
+ const char * new_name,
+ const char * new_version,
+ CORBA::Environment &ACE_TRY_ENV =
+ TAO_default_environment ()
+ )
+ ACE_THROW_SPEC ((
+ CORBA::SystemException
+ ));
+
+ CORBA::DefinitionKind def_kind (
+ CORBA::Environment &ACE_TRY_ENV =
+ TAO_default_environment ()
+ )
+ ACE_THROW_SPEC ((
+ CORBA::SystemException
+ ));
+
+ void destroy (
+ CORBA::Environment &ACE_TRY_ENV =
+ TAO_default_environment ()
+ )
+ ACE_THROW_SPEC ((
+ CORBA::SystemException
+ ));
+
+private:
+ T *ptr_;
+ PortableServer::POA_var poa_;
+ CORBA::Boolean rel_;
+
+ // copy and assignment are not allowed
+ PublishesDef_tie (const PublishesDef_tie &);
+ void operator= (const PublishesDef_tie &);
+};
+
+#endif /* ACE_HAS_USING_KEYWORD */
+
+class ConsumesDef;
+typedef ConsumesDef *ConsumesDef_ptr;
+// Forward Classes Declaration
+class _TAO_ConsumesDef_ThruPOA_Proxy_Impl;
+class _TAO_ConsumesDef_Strategized_Proxy_Broker;
+
+class ConsumesDef : public virtual EventDef
+{
+protected:
+ ConsumesDef (void);
+
+public:
+ ConsumesDef (const ConsumesDef& rhs);
+ virtual ~ConsumesDef (void);
+
+
+ virtual CORBA::Boolean _is_a (
+ const char* logical_type_id,
+ CORBA::Environment &ACE_TRY_ENV =
+ TAO_default_environment ()
+ );
+
+ virtual void* _downcast (
+ const char* logical_type_id
+ );
+
+ static void _is_a_skel (
+ TAO_ServerRequest &req,
+ void *obj,
+ void *context,
+ CORBA::Environment &ACE_TRY_ENV =
+ TAO_default_environment ()
+ );
+
+ static void _non_existent_skel (
+ TAO_ServerRequest &req,
+ void *obj,
+ void *context,
+ CORBA::Environment &ACE_TRY_ENV =
+ TAO_default_environment ()
+ );
+
+ virtual void _dispatch (
+ TAO_ServerRequest &_tao_req,
+ void *_tao_context,
+ CORBA::Environment &ACE_TRY_ENV =
+ TAO_default_environment ()
+ );
+
+ ::IR::ConsumesDef *_this (
+ CORBA::Environment &ACE_TRY_ENV =
+ TAO_default_environment ()
+ );
+
+ virtual const char* _interface_repository_id (void) const;
+
+ static void is_a_skel (
+ TAO_ServerRequest &req,
+ void *obj,
+ void *context,
+ CORBA::Environment &ACE_TRY_ENV =
+ TAO_default_environment ()
+ );
+
+ static void _get_event_skel (
+ TAO_ServerRequest &req,
+ void *obj,
+ void *context,
+ CORBA::Environment &ACE_TRY_ENV =
+ TAO_default_environment ()
+ );
+
+ static void _get_id_skel (
+ TAO_ServerRequest &req,
+ void *obj,
+ void *context,
+ CORBA::Environment &ACE_TRY_ENV =
+ TAO_default_environment ()
+ );
+
+ static void _set_id_skel (
+ TAO_ServerRequest &req,
+ void *obj,
+ void *context,
+ CORBA::Environment &ACE_TRY_ENV =
+ TAO_default_environment ()
+ );
+
+ static void _get_name_skel (
+ TAO_ServerRequest &req,
+ void *obj,
+ void *context,
+ CORBA::Environment &ACE_TRY_ENV =
+ TAO_default_environment ()
+ );
+
+ static void _set_name_skel (
+ TAO_ServerRequest &req,
+ void *obj,
+ void *context,
+ CORBA::Environment &ACE_TRY_ENV =
+ TAO_default_environment ()
+ );
+
+ static void _get_version_skel (
+ TAO_ServerRequest &req,
+ void *obj,
+ void *context,
+ CORBA::Environment &ACE_TRY_ENV =
+ TAO_default_environment ()
+ );
+
+ static void _set_version_skel (
+ TAO_ServerRequest &req,
+ void *obj,
+ void *context,
+ CORBA::Environment &ACE_TRY_ENV =
+ TAO_default_environment ()
+ );
+
+ static void _get_defined_in_skel (
+ TAO_ServerRequest &req,
+ void *obj,
+ void *context,
+ CORBA::Environment &ACE_TRY_ENV =
+ TAO_default_environment ()
+ );
+
+ static void _get_absolute_name_skel (
+ TAO_ServerRequest &req,
+ void *obj,
+ void *context,
+ CORBA::Environment &ACE_TRY_ENV =
+ TAO_default_environment ()
+ );
+
+ static void _get_containing_repository_skel (
+ TAO_ServerRequest &req,
+ void *obj,
+ void *context,
+ CORBA::Environment &ACE_TRY_ENV =
+ TAO_default_environment ()
+ );
+
+ static void describe_skel (
+ TAO_ServerRequest &req,
+ void *obj,
+ void *context,
+ CORBA::Environment &ACE_TRY_ENV =
+ TAO_default_environment ()
+ );
+
+ static void move_skel (
+ TAO_ServerRequest &req,
+ void *obj,
+ void *context,
+ CORBA::Environment &ACE_TRY_ENV =
+ TAO_default_environment ()
+ );
+
+ static void _get_def_kind_skel (
+ TAO_ServerRequest &req,
+ void *obj,
+ void *context,
+ CORBA::Environment &ACE_TRY_ENV =
+ TAO_default_environment ()
+ );
+
+ static void destroy_skel (
+ TAO_ServerRequest &req,
+ void *obj,
+ void *context,
+ CORBA::Environment &ACE_TRY_ENV =
+ TAO_default_environment ()
+ );
+
+
+#if (TAO_HAS_INTERCEPTORS == 1)
+ // Generation of interceptors related RequestInfo classes per operation.
+ // This needed to be able to store the arguments, exceptions, contexts
+ // and build the lists dynamically on demand so that unnecessary time overhead
+ // of building these lists when they arent used is avoided.
+ #endif /* TAO_HAS_INTERCEPTORS */
+
+};
+
+
+///////////////////////////////////////////////////////////////////////
+// Strategized Proxy Broker Declaration
+//
+
+class _TAO_ConsumesDef_Strategized_Proxy_Broker : public virtual ::IR::_TAO_ConsumesDef_Proxy_Broker
+{
+public:
+ _TAO_ConsumesDef_Strategized_Proxy_Broker (void);
+
+ virtual ~_TAO_ConsumesDef_Strategized_Proxy_Broker (void);
+
+ virtual ::IR::_TAO_ConsumesDef_Proxy_Impl &select_proxy (
+ ::IR::ConsumesDef *object,
+ CORBA_Environment &ACE_TRY_ENV = TAO_default_environment ()
+ );
+
+private:
+
+// Helper methods that takes care to create the proxy
+// as soon as their use is necessary.
+ void create_proxy (
+ int strategy,
+ CORBA::Environment &ACE_TRY_ENV
+ );
+
+private:
+
+ // Caches the proxy implementations. The proxy implementation
+ // are totally stateless, and those can be shared by all the
+ // instances of a given IDL interface type.
+ ::IR::_TAO_ConsumesDef_Proxy_Impl
+ *proxy_cache_[TAO_Collocation_Strategies::CS_LAST];
+
+ TAO_SYNCH_MUTEX mutex_;
+// This funxtion is used to get an handle to the unique instance
+// of the Strategized Proxy Broker that is available for a given
+// interface.
+
+public:
+ static _TAO_ConsumesDef_Strategized_Proxy_Broker *the_TAO_ConsumesDef_Strategized_Proxy_Broker (void);
+};
+
+
+//
+// End Strategized Proxy Broker Declaration
+///////////////////////////////////////////////////////////////////////
+
+
+///////////////////////////////////////////////////////////////////////
+// ThruPOA Impl. Declaration
+//
+
+class _TAO_ConsumesDef_ThruPOA_Proxy_Impl :
+ public virtual ::IR::_TAO_ConsumesDef_Proxy_Impl,
+ public virtual TAO_ThruPOA_Object_Proxy_Impl,
+ public virtual ::POA_IR::_TAO_EventDef_ThruPOA_Proxy_Impl
+
+{
+public:
+ _TAO_ConsumesDef_ThruPOA_Proxy_Impl (void);
+
+ virtual ~_TAO_ConsumesDef_ThruPOA_Proxy_Impl (void) { }
+
+ };
+
+
+//
+// ThruPOA Proxy Impl. Declaration
+///////////////////////////////////////////////////////////////////////
+
+
+#if defined (ACE_HAS_USING_KEYWORD)
+// TIE class: Refer to CORBA v2.2, Section 20.34.4
+template <class T>
+class ConsumesDef_tie : public ConsumesDef
+{
+public:
+ ConsumesDef_tie (T &t);
+ // the T& ctor
+ ConsumesDef_tie (T &t, PortableServer::POA_ptr poa);
+ // ctor taking a POA
+ ConsumesDef_tie (T *tp, CORBA::Boolean release=1);
+ // ctor taking pointer and an ownership flag
+ ConsumesDef_tie (T *tp, PortableServer::POA_ptr poa, CORBA::Boolean release=1);
+ // ctor with T*, ownership flag and a POA
+ ~ConsumesDef_tie (void);
+ // dtor
+
+ // TIE specific functions
+ T *_tied_object (void);
+ // return the underlying object
+ void _tied_object (T &obj);
+ // set the underlying object
+ void _tied_object (T *obj, CORBA::Boolean release=1);
+ // set the underlying object and the ownership flag
+ CORBA::Boolean _is_owner (void);
+ // do we own it
+ void _is_owner (CORBA::Boolean b);
+ // set the ownership
+
+ // overridden ServantBase operations
+ PortableServer::POA_ptr _default_POA (
+ CORBA::Environment &ACE_TRY_ENV =
+ TAO_default_environment ()
+ );
+ CORBA::Boolean is_a (
+ const char * event_id,
+ CORBA::Environment &ACE_TRY_ENV =
+ TAO_default_environment ()
+ )
+ ACE_THROW_SPEC ((
+ CORBA::SystemException
+ ));
+
+ CORBA::ValueDef_ptr event (
+ CORBA::Environment &ACE_TRY_ENV =
+ TAO_default_environment ()
+ )
+ ACE_THROW_SPEC ((
+ CORBA::SystemException
+ ));
+
+ char * id (
+ CORBA::Environment &ACE_TRY_ENV =
+ TAO_default_environment ()
+ )
+ ACE_THROW_SPEC ((
+ CORBA::SystemException
+ ));
+
+ void id (
+ const char * id,
+ CORBA::Environment &ACE_TRY_ENV =
+ TAO_default_environment ()
+ )
+ ACE_THROW_SPEC ((
+ CORBA::SystemException
+ ));
+
+ char * name (
+ CORBA::Environment &ACE_TRY_ENV =
+ TAO_default_environment ()
+ )
+ ACE_THROW_SPEC ((
+ CORBA::SystemException
+ ));
+
+ void name (
+ const char * name,
+ CORBA::Environment &ACE_TRY_ENV =
+ TAO_default_environment ()
+ )
+ ACE_THROW_SPEC ((
+ CORBA::SystemException
+ ));
+
+ char * version (
+ CORBA::Environment &ACE_TRY_ENV =
+ TAO_default_environment ()
+ )
+ ACE_THROW_SPEC ((
+ CORBA::SystemException
+ ));
+
+ void version (
+ const char * version,
+ CORBA::Environment &ACE_TRY_ENV =
+ TAO_default_environment ()
+ )
+ ACE_THROW_SPEC ((
+ CORBA::SystemException
+ ));
+
+ CORBA::Container_ptr defined_in (
+ CORBA::Environment &ACE_TRY_ENV =
+ TAO_default_environment ()
+ )
+ ACE_THROW_SPEC ((
+ CORBA::SystemException
+ ));
+
+ char * absolute_name (
+ CORBA::Environment &ACE_TRY_ENV =
+ TAO_default_environment ()
+ )
+ ACE_THROW_SPEC ((
+ CORBA::SystemException
+ ));
+
+ CORBA::Repository_ptr containing_repository (
+ CORBA::Environment &ACE_TRY_ENV =
+ TAO_default_environment ()
+ )
+ ACE_THROW_SPEC ((
+ CORBA::SystemException
+ ));
+
+ CORBA::Contained::Description * describe (
+ CORBA::Environment &ACE_TRY_ENV =
+ TAO_default_environment ()
+ )
+ ACE_THROW_SPEC ((
+ CORBA::SystemException
+ ));
+
+ void move (
+ CORBA::Container_ptr new_container,
+ const char * new_name,
+ const char * new_version,
+ CORBA::Environment &ACE_TRY_ENV =
+ TAO_default_environment ()
+ )
+ ACE_THROW_SPEC ((
+ CORBA::SystemException
+ ));
+
+ CORBA::DefinitionKind def_kind (
+ CORBA::Environment &ACE_TRY_ENV =
+ TAO_default_environment ()
+ )
+ ACE_THROW_SPEC ((
+ CORBA::SystemException
+ ));
+
+ void destroy (
+ CORBA::Environment &ACE_TRY_ENV =
+ TAO_default_environment ()
+ )
+ ACE_THROW_SPEC ((
+ CORBA::SystemException
+ ));
+
+private:
+ T *ptr_;
+ PortableServer::POA_var poa_;
+ CORBA::Boolean rel_;
+
+ // copy and assignment are not allowed
+ ConsumesDef_tie (const ConsumesDef_tie &);
+ void operator= (const ConsumesDef_tie &);
+};
+
+#endif /* ACE_HAS_USING_KEYWORD */
+
+class ComponentDef;
+typedef ComponentDef *ComponentDef_ptr;
+// Forward Classes Declaration
+class _TAO_ComponentDef_ThruPOA_Proxy_Impl;
+class _TAO_ComponentDef_Strategized_Proxy_Broker;
+
+class ComponentDef : public virtual POA_CORBA::InterfaceDef
+{
+protected:
+ ComponentDef (void);
+
+public:
+ ComponentDef (const ComponentDef& rhs);
+ virtual ~ComponentDef (void);
+
+
+ virtual CORBA::Boolean _is_a (
+ const char* logical_type_id,
+ CORBA::Environment &ACE_TRY_ENV =
+ TAO_default_environment ()
+ );
+
+ virtual void* _downcast (
+ const char* logical_type_id
+ );
+
+ static void _is_a_skel (
+ TAO_ServerRequest &req,
+ void *obj,
+ void *context,
+ CORBA::Environment &ACE_TRY_ENV =
+ TAO_default_environment ()
+ );
+
+ static void _non_existent_skel (
+ TAO_ServerRequest &req,
+ void *obj,
+ void *context,
+ CORBA::Environment &ACE_TRY_ENV =
+ TAO_default_environment ()
+ );
+
+ virtual void _dispatch (
+ TAO_ServerRequest &_tao_req,
+ void *_tao_context,
+ CORBA::Environment &ACE_TRY_ENV =
+ TAO_default_environment ()
+ );
+
+ ::IR::ComponentDef *_this (
+ CORBA::Environment &ACE_TRY_ENV =
+ TAO_default_environment ()
+ );
+
+ virtual const char* _interface_repository_id (void) const;
+
+ virtual CORBA::InterfaceDefSeq * supported_interfaces (
+ CORBA::Environment &ACE_TRY_ENV =
+ TAO_default_environment ()
+ )
+ ACE_THROW_SPEC ((
+ CORBA::SystemException
+ )) = 0;
+
+ static void _get_supported_interfaces_skel (
+ TAO_ServerRequest &_tao_req,
+ void *_tao_obj,
+ void *_tao_context,
+ CORBA::Environment &ACE_TRY_ENV =
+ TAO_default_environment ()
+ );
+
+ virtual void supported_interfaces (
+ const CORBA::InterfaceDefSeq & supported_interfaces,
+ CORBA::Environment &ACE_TRY_ENV =
+ TAO_default_environment ()
+ )
+ ACE_THROW_SPEC ((
+ CORBA::SystemException
+ )) = 0;
+
+ static void _set_supported_interfaces_skel (
+ TAO_ServerRequest &_tao_req,
+ void *_tao_obj,
+ void *_tao_context,
+ CORBA::Environment &ACE_TRY_ENV =
+ TAO_default_environment ()
+ );
+
+ virtual IR::ComponentDef_ptr base_component (
+ CORBA::Environment &ACE_TRY_ENV =
+ TAO_default_environment ()
+ )
+ ACE_THROW_SPEC ((
+ CORBA::SystemException
+ )) = 0;
+
+ static void _get_base_component_skel (
+ TAO_ServerRequest &_tao_req,
+ void *_tao_obj,
+ void *_tao_context,
+ CORBA::Environment &ACE_TRY_ENV =
+ TAO_default_environment ()
+ );
+
+ virtual IR::ProvidesDefSeq * provides_interfaces (
+ CORBA::Environment &ACE_TRY_ENV =
+ TAO_default_environment ()
+ )
+ ACE_THROW_SPEC ((
+ CORBA::SystemException
+ )) = 0;
+
+ static void _get_provides_interfaces_skel (
+ TAO_ServerRequest &_tao_req,
+ void *_tao_obj,
+ void *_tao_context,
+ CORBA::Environment &ACE_TRY_ENV =
+ TAO_default_environment ()
+ );
+
+ virtual IR::UsesDefSeq * uses_interfaces (
+ CORBA::Environment &ACE_TRY_ENV =
+ TAO_default_environment ()
+ )
+ ACE_THROW_SPEC ((
+ CORBA::SystemException
+ )) = 0;
+
+ static void _get_uses_interfaces_skel (
+ TAO_ServerRequest &_tao_req,
+ void *_tao_obj,
+ void *_tao_context,
+ CORBA::Environment &ACE_TRY_ENV =
+ TAO_default_environment ()
+ );
+
+ virtual IR::EmitsDefSeq * emits_events (
+ CORBA::Environment &ACE_TRY_ENV =
+ TAO_default_environment ()
+ )
+ ACE_THROW_SPEC ((
+ CORBA::SystemException
+ )) = 0;
+
+ static void _get_emits_events_skel (
+ TAO_ServerRequest &_tao_req,
+ void *_tao_obj,
+ void *_tao_context,
+ CORBA::Environment &ACE_TRY_ENV =
+ TAO_default_environment ()
+ );
+
+ virtual IR::PublishesDefSeq * publishes_events (
+ CORBA::Environment &ACE_TRY_ENV =
+ TAO_default_environment ()
+ )
+ ACE_THROW_SPEC ((
+ CORBA::SystemException
+ )) = 0;
+
+ static void _get_publishes_events_skel (
+ TAO_ServerRequest &_tao_req,
+ void *_tao_obj,
+ void *_tao_context,
+ CORBA::Environment &ACE_TRY_ENV =
+ TAO_default_environment ()
+ );
+
+ virtual IR::ConsumesDefSeq * consumes_events (
+ CORBA::Environment &ACE_TRY_ENV =
+ TAO_default_environment ()
+ )
+ ACE_THROW_SPEC ((
+ CORBA::SystemException
+ )) = 0;
+
+ static void _get_consumes_events_skel (
+ TAO_ServerRequest &_tao_req,
+ void *_tao_obj,
+ void *_tao_context,
+ CORBA::Environment &ACE_TRY_ENV =
+ TAO_default_environment ()
+ );
+
+ virtual CORBA::Boolean is_basic (
+ CORBA::Environment &ACE_TRY_ENV =
+ TAO_default_environment ()
+ )
+ ACE_THROW_SPEC ((
+ CORBA::SystemException
+ )) = 0;
+
+ static void _get_is_basic_skel (
+ TAO_ServerRequest &_tao_req,
+ void *_tao_obj,
+ void *_tao_context,
+ CORBA::Environment &ACE_TRY_ENV =
+ TAO_default_environment ()
+ );
+
+ virtual IR::ProvidesDef_ptr create_provides (
+ const char * id,
+ const char * name,
+ const char * version,
+ CORBA::InterfaceDef_ptr interface_type,
+ CORBA::Environment &ACE_TRY_ENV =
+ TAO_default_environment ()
+ )
+ ACE_THROW_SPEC ((
+ CORBA::SystemException
+ )) = 0;
+
+ static void create_provides_skel (
+ TAO_ServerRequest &_tao_req,
+ void *_tao_obj,
+ void *_tao_context,
+ CORBA::Environment &ACE_TRY_ENV =
+ TAO_default_environment ()
+ );
+
+ virtual IR::UsesDef_ptr create_uses (
+ const char * id,
+ const char * name,
+ const char * version,
+ CORBA::InterfaceDef_ptr interface_type,
+ CORBA::Boolean is_multiple,
+ CORBA::Environment &ACE_TRY_ENV =
+ TAO_default_environment ()
+ )
+ ACE_THROW_SPEC ((
+ CORBA::SystemException
+ )) = 0;
+
+ static void create_uses_skel (
+ TAO_ServerRequest &_tao_req,
+ void *_tao_obj,
+ void *_tao_context,
+ CORBA::Environment &ACE_TRY_ENV =
+ TAO_default_environment ()
+ );
+
+ virtual IR::EmitsDef_ptr create_emits (
+ const char * id,
+ const char * name,
+ const char * version,
+ CORBA::ValueDef_ptr value,
+ CORBA::Environment &ACE_TRY_ENV =
+ TAO_default_environment ()
+ )
+ ACE_THROW_SPEC ((
+ CORBA::SystemException
+ )) = 0;
+
+ static void create_emits_skel (
+ TAO_ServerRequest &_tao_req,
+ void *_tao_obj,
+ void *_tao_context,
+ CORBA::Environment &ACE_TRY_ENV =
+ TAO_default_environment ()
+ );
+
+ virtual IR::PublishesDef_ptr create_publishes (
+ const char * id,
+ const char * name,
+ const char * version,
+ CORBA::ValueDef_ptr value,
+ CORBA::Environment &ACE_TRY_ENV =
+ TAO_default_environment ()
+ )
+ ACE_THROW_SPEC ((
+ CORBA::SystemException
+ )) = 0;
+
+ static void create_publishes_skel (
+ TAO_ServerRequest &_tao_req,
+ void *_tao_obj,
+ void *_tao_context,
+ CORBA::Environment &ACE_TRY_ENV =
+ TAO_default_environment ()
+ );
+
+ virtual IR::ConsumesDef_ptr create_consumes (
+ const char * id,
+ const char * name,
+ const char * version,
+ CORBA::ValueDef_ptr value,
+ CORBA::Environment &ACE_TRY_ENV =
+ TAO_default_environment ()
+ )
+ ACE_THROW_SPEC ((
+ CORBA::SystemException
+ )) = 0;
+
+ static void create_consumes_skel (
+ TAO_ServerRequest &_tao_req,
+ void *_tao_obj,
+ void *_tao_context,
+ CORBA::Environment &ACE_TRY_ENV =
+ TAO_default_environment ()
+ );
+
+ static void _get_base_interfaces_skel (
+ TAO_ServerRequest &req,
+ void *obj,
+ void *context,
+ CORBA::Environment &ACE_TRY_ENV =
+ TAO_default_environment ()
+ );
+
+ static void _set_base_interfaces_skel (
+ TAO_ServerRequest &req,
+ void *obj,
+ void *context,
+ CORBA::Environment &ACE_TRY_ENV =
+ TAO_default_environment ()
+ );
+
+ static void is_a_skel (
+ TAO_ServerRequest &req,
+ void *obj,
+ void *context,
+ CORBA::Environment &ACE_TRY_ENV =
+ TAO_default_environment ()
+ );
+
+ static void describe_interface_skel (
+ TAO_ServerRequest &req,
+ void *obj,
+ void *context,
+ CORBA::Environment &ACE_TRY_ENV =
+ TAO_default_environment ()
+ );
+
+ static void create_attribute_skel (
+ TAO_ServerRequest &req,
+ void *obj,
+ void *context,
+ CORBA::Environment &ACE_TRY_ENV =
+ TAO_default_environment ()
+ );
+
+ static void create_operation_skel (
+ TAO_ServerRequest &req,
+ void *obj,
+ void *context,
+ CORBA::Environment &ACE_TRY_ENV =
+ TAO_default_environment ()
+ );
+
+ static void lookup_skel (
+ TAO_ServerRequest &req,
+ void *obj,
+ void *context,
+ CORBA::Environment &ACE_TRY_ENV =
+ TAO_default_environment ()
+ );
+
+ static void contents_skel (
+ TAO_ServerRequest &req,
+ void *obj,
+ void *context,
+ CORBA::Environment &ACE_TRY_ENV =
+ TAO_default_environment ()
+ );
+
+ static void lookup_name_skel (
+ TAO_ServerRequest &req,
+ void *obj,
+ void *context,
+ CORBA::Environment &ACE_TRY_ENV =
+ TAO_default_environment ()
+ );
+
+ static void describe_contents_skel (
+ TAO_ServerRequest &req,
+ void *obj,
+ void *context,
+ CORBA::Environment &ACE_TRY_ENV =
+ TAO_default_environment ()
+ );
+
+ static void create_module_skel (
+ TAO_ServerRequest &req,
+ void *obj,
+ void *context,
+ CORBA::Environment &ACE_TRY_ENV =
+ TAO_default_environment ()
+ );
+
+ static void create_constant_skel (
+ TAO_ServerRequest &req,
+ void *obj,
+ void *context,
+ CORBA::Environment &ACE_TRY_ENV =
+ TAO_default_environment ()
+ );
+
+ static void create_struct_skel (
+ TAO_ServerRequest &req,
+ void *obj,
+ void *context,
+ CORBA::Environment &ACE_TRY_ENV =
+ TAO_default_environment ()
+ );
+
+ static void create_union_skel (
+ TAO_ServerRequest &req,
+ void *obj,
+ void *context,
+ CORBA::Environment &ACE_TRY_ENV =
+ TAO_default_environment ()
+ );
+
+ static void create_enum_skel (
+ TAO_ServerRequest &req,
+ void *obj,
+ void *context,
+ CORBA::Environment &ACE_TRY_ENV =
+ TAO_default_environment ()
+ );
+
+ static void create_alias_skel (
+ TAO_ServerRequest &req,
+ void *obj,
+ void *context,
+ CORBA::Environment &ACE_TRY_ENV =
+ TAO_default_environment ()
+ );
+
+ static void create_interface_skel (
+ TAO_ServerRequest &req,
+ void *obj,
+ void *context,
+ CORBA::Environment &ACE_TRY_ENV =
+ TAO_default_environment ()
+ );
+
+ static void create_value_skel (
+ TAO_ServerRequest &req,
+ void *obj,
+ void *context,
+ CORBA::Environment &ACE_TRY_ENV =
+ TAO_default_environment ()
+ );
+
+ static void create_value_box_skel (
+ TAO_ServerRequest &req,
+ void *obj,
+ void *context,
+ CORBA::Environment &ACE_TRY_ENV =
+ TAO_default_environment ()
+ );
+
+ static void create_exception_skel (
+ TAO_ServerRequest &req,
+ void *obj,
+ void *context,
+ CORBA::Environment &ACE_TRY_ENV =
+ TAO_default_environment ()
+ );
+
+ static void create_native_skel (
+ TAO_ServerRequest &req,
+ void *obj,
+ void *context,
+ CORBA::Environment &ACE_TRY_ENV =
+ TAO_default_environment ()
+ );
+
+ static void create_abstract_interface_skel (
+ TAO_ServerRequest &req,
+ void *obj,
+ void *context,
+ CORBA::Environment &ACE_TRY_ENV =
+ TAO_default_environment ()
+ );
+
+ static void create_local_interface_skel (
+ TAO_ServerRequest &req,
+ void *obj,
+ void *context,
+ CORBA::Environment &ACE_TRY_ENV =
+ TAO_default_environment ()
+ );
+
+ static void _get_id_skel (
+ TAO_ServerRequest &req,
+ void *obj,
+ void *context,
+ CORBA::Environment &ACE_TRY_ENV =
+ TAO_default_environment ()
+ );
+
+ static void _set_id_skel (
+ TAO_ServerRequest &req,
+ void *obj,
+ void *context,
+ CORBA::Environment &ACE_TRY_ENV =
+ TAO_default_environment ()
+ );
+
+ static void _get_name_skel (
+ TAO_ServerRequest &req,
+ void *obj,
+ void *context,
+ CORBA::Environment &ACE_TRY_ENV =
+ TAO_default_environment ()
+ );
+
+ static void _set_name_skel (
+ TAO_ServerRequest &req,
+ void *obj,
+ void *context,
+ CORBA::Environment &ACE_TRY_ENV =
+ TAO_default_environment ()
+ );
+
+ static void _get_version_skel (
+ TAO_ServerRequest &req,
+ void *obj,
+ void *context,
+ CORBA::Environment &ACE_TRY_ENV =
+ TAO_default_environment ()
+ );
+
+ static void _set_version_skel (
+ TAO_ServerRequest &req,
+ void *obj,
+ void *context,
+ CORBA::Environment &ACE_TRY_ENV =
+ TAO_default_environment ()
+ );
+
+ static void _get_defined_in_skel (
+ TAO_ServerRequest &req,
+ void *obj,
+ void *context,
+ CORBA::Environment &ACE_TRY_ENV =
+ TAO_default_environment ()
+ );
+
+ static void _get_absolute_name_skel (
+ TAO_ServerRequest &req,
+ void *obj,
+ void *context,
+ CORBA::Environment &ACE_TRY_ENV =
+ TAO_default_environment ()
+ );
+
+ static void _get_containing_repository_skel (
+ TAO_ServerRequest &req,
+ void *obj,
+ void *context,
+ CORBA::Environment &ACE_TRY_ENV =
+ TAO_default_environment ()
+ );
+
+ static void describe_skel (
+ TAO_ServerRequest &req,
+ void *obj,
+ void *context,
+ CORBA::Environment &ACE_TRY_ENV =
+ TAO_default_environment ()
+ );
+
+ static void move_skel (
+ TAO_ServerRequest &req,
+ void *obj,
+ void *context,
+ CORBA::Environment &ACE_TRY_ENV =
+ TAO_default_environment ()
+ );
+
+ static void _get_type_skel (
+ TAO_ServerRequest &req,
+ void *obj,
+ void *context,
+ CORBA::Environment &ACE_TRY_ENV =
+ TAO_default_environment ()
+ );
+
+ static void _get_def_kind_skel (
+ TAO_ServerRequest &req,
+ void *obj,
+ void *context,
+ CORBA::Environment &ACE_TRY_ENV =
+ TAO_default_environment ()
+ );
+
+ static void destroy_skel (
+ TAO_ServerRequest &req,
+ void *obj,
+ void *context,
+ CORBA::Environment &ACE_TRY_ENV =
+ TAO_default_environment ()
+ );
+
+
+#if (TAO_HAS_INTERCEPTORS == 1)
+ // Generation of interceptors related RequestInfo classes per operation.
+ // This needed to be able to store the arguments, exceptions, contexts
+ // and build the lists dynamically on demand so that unnecessary time overhead
+ // of building these lists when they arent used is avoided.
+ class TAO_ServerRequestInfo_IR_ComponentDef_supported_interfaces_get : public TAO_ServerRequestInfo
+ {
+ public:
+ friend class POA_IR::ComponentDef;
+ TAO_ServerRequestInfo_IR_ComponentDef_supported_interfaces_get (
+ TAO_ServerRequest &_tao_server_request,
+ POA_IR::ComponentDef *tao_impl,
+ CORBA::Environment &ACE_TRY_ENV =
+ TAO_default_environment ()
+ );
+
+ virtual Dynamic::ParameterList * arguments (
+ CORBA::Environment &ACE_TRY_ENV =
+ TAO_default_environment ()
+ )
+ ACE_THROW_SPEC ((CORBA::SystemException));
+
+ virtual Dynamic::ExceptionList * exceptions (
+ CORBA::Environment &ACE_TRY_ENV =
+ TAO_default_environment ()
+ )
+ ACE_THROW_SPEC ((CORBA::SystemException));
+
+ virtual CORBA::Any * result (
+ CORBA::Environment &ACE_TRY_ENV =
+ TAO_default_environment ()
+ )
+ ACE_THROW_SPEC ((CORBA::SystemException));
+
+ virtual char * target_most_derived_interface (
+ CORBA::Environment &ACE_TRY_ENV = TAO_default_environment ())
+ ACE_THROW_SPEC ((CORBA::SystemException));
+
+ virtual CORBA::Boolean target_is_a (
+ const char * id,
+ CORBA::Environment &ACE_TRY_ENV = TAO_default_environment ())
+ ACE_THROW_SPEC ((CORBA::SystemException));
+
+ private:
+ TAO_ServerRequestInfo_IR_ComponentDef_supported_interfaces_get (const TAO_ServerRequestInfo_IR_ComponentDef_supported_interfaces_get &);
+ void operator= (const TAO_ServerRequestInfo_IR_ComponentDef_supported_interfaces_get &);
+
+ private:
+ POA_IR::ComponentDef *_tao_impl;
+ void result (CORBA::InterfaceDefSeq * result);
+ // update the result
+ CORBA::InterfaceDefSeq * _result;
+ };
+
+ class TAO_ServerRequestInfo_IR_ComponentDef_supported_interfaces_set : public TAO_ServerRequestInfo
+ {
+ public:
+ friend class POA_IR::ComponentDef;
+ TAO_ServerRequestInfo_IR_ComponentDef_supported_interfaces_set (
+ TAO_ServerRequest &_tao_server_request,
+ POA_IR::ComponentDef *tao_impl,
+ const CORBA::InterfaceDefSeq & supported_interfaces,
+ CORBA::Environment &ACE_TRY_ENV =
+ TAO_default_environment ()
+ );
+
+ virtual Dynamic::ParameterList * arguments (
+ CORBA::Environment &ACE_TRY_ENV =
+ TAO_default_environment ()
+ )
+ ACE_THROW_SPEC ((CORBA::SystemException));
+
+ virtual Dynamic::ExceptionList * exceptions (
+ CORBA::Environment &ACE_TRY_ENV =
+ TAO_default_environment ()
+ )
+ ACE_THROW_SPEC ((CORBA::SystemException));
+
+ virtual CORBA::Any * result (
+ CORBA::Environment &ACE_TRY_ENV =
+ TAO_default_environment ()
+ )
+ ACE_THROW_SPEC ((CORBA::SystemException));
+
+ virtual char * target_most_derived_interface (
+ CORBA::Environment &ACE_TRY_ENV = TAO_default_environment ())
+ ACE_THROW_SPEC ((CORBA::SystemException));
+
+ virtual CORBA::Boolean target_is_a (
+ const char * id,
+ CORBA::Environment &ACE_TRY_ENV = TAO_default_environment ())
+ ACE_THROW_SPEC ((CORBA::SystemException));
+
+ private:
+ TAO_ServerRequestInfo_IR_ComponentDef_supported_interfaces_set (const TAO_ServerRequestInfo_IR_ComponentDef_supported_interfaces_set &);
+ void operator= (const TAO_ServerRequestInfo_IR_ComponentDef_supported_interfaces_set &);
+
+ private:
+ POA_IR::ComponentDef *_tao_impl;
+ const CORBA::InterfaceDefSeq & supported_interfaces_;
+
+ };
+
+ class TAO_ServerRequestInfo_IR_ComponentDef_base_component_get : public TAO_ServerRequestInfo
+ {
+ public:
+ friend class POA_IR::ComponentDef;
+ TAO_ServerRequestInfo_IR_ComponentDef_base_component_get (
+ TAO_ServerRequest &_tao_server_request,
+ POA_IR::ComponentDef *tao_impl,
+ CORBA::Environment &ACE_TRY_ENV =
+ TAO_default_environment ()
+ );
+
+ virtual Dynamic::ParameterList * arguments (
+ CORBA::Environment &ACE_TRY_ENV =
+ TAO_default_environment ()
+ )
+ ACE_THROW_SPEC ((CORBA::SystemException));
+
+ virtual Dynamic::ExceptionList * exceptions (
+ CORBA::Environment &ACE_TRY_ENV =
+ TAO_default_environment ()
+ )
+ ACE_THROW_SPEC ((CORBA::SystemException));
+
+ virtual CORBA::Any * result (
+ CORBA::Environment &ACE_TRY_ENV =
+ TAO_default_environment ()
+ )
+ ACE_THROW_SPEC ((CORBA::SystemException));
+
+ virtual char * target_most_derived_interface (
+ CORBA::Environment &ACE_TRY_ENV = TAO_default_environment ())
+ ACE_THROW_SPEC ((CORBA::SystemException));
+
+ virtual CORBA::Boolean target_is_a (
+ const char * id,
+ CORBA::Environment &ACE_TRY_ENV = TAO_default_environment ())
+ ACE_THROW_SPEC ((CORBA::SystemException));
+
+ private:
+ TAO_ServerRequestInfo_IR_ComponentDef_base_component_get (const TAO_ServerRequestInfo_IR_ComponentDef_base_component_get &);
+ void operator= (const TAO_ServerRequestInfo_IR_ComponentDef_base_component_get &);
+
+ private:
+ POA_IR::ComponentDef *_tao_impl;
+ void result (IR::ComponentDef_ptr result);
+ // update the result
+ IR::ComponentDef_ptr _result;
+ };
+
+ class TAO_ServerRequestInfo_IR_ComponentDef_provides_interfaces_get : public TAO_ServerRequestInfo
+ {
+ public:
+ friend class POA_IR::ComponentDef;
+ TAO_ServerRequestInfo_IR_ComponentDef_provides_interfaces_get (
+ TAO_ServerRequest &_tao_server_request,
+ POA_IR::ComponentDef *tao_impl,
+ CORBA::Environment &ACE_TRY_ENV =
+ TAO_default_environment ()
+ );
+
+ virtual Dynamic::ParameterList * arguments (
+ CORBA::Environment &ACE_TRY_ENV =
+ TAO_default_environment ()
+ )
+ ACE_THROW_SPEC ((CORBA::SystemException));
+
+ virtual Dynamic::ExceptionList * exceptions (
+ CORBA::Environment &ACE_TRY_ENV =
+ TAO_default_environment ()
+ )
+ ACE_THROW_SPEC ((CORBA::SystemException));
+
+ virtual CORBA::Any * result (
+ CORBA::Environment &ACE_TRY_ENV =
+ TAO_default_environment ()
+ )
+ ACE_THROW_SPEC ((CORBA::SystemException));
+
+ virtual char * target_most_derived_interface (
+ CORBA::Environment &ACE_TRY_ENV = TAO_default_environment ())
+ ACE_THROW_SPEC ((CORBA::SystemException));
+
+ virtual CORBA::Boolean target_is_a (
+ const char * id,
+ CORBA::Environment &ACE_TRY_ENV = TAO_default_environment ())
+ ACE_THROW_SPEC ((CORBA::SystemException));
+
+ private:
+ TAO_ServerRequestInfo_IR_ComponentDef_provides_interfaces_get (const TAO_ServerRequestInfo_IR_ComponentDef_provides_interfaces_get &);
+ void operator= (const TAO_ServerRequestInfo_IR_ComponentDef_provides_interfaces_get &);
+
+ private:
+ POA_IR::ComponentDef *_tao_impl;
+ void result (IR::ProvidesDefSeq * result);
+ // update the result
+ IR::ProvidesDefSeq * _result;
+ };
+
+ class TAO_ServerRequestInfo_IR_ComponentDef_uses_interfaces_get : public TAO_ServerRequestInfo
+ {
+ public:
+ friend class POA_IR::ComponentDef;
+ TAO_ServerRequestInfo_IR_ComponentDef_uses_interfaces_get (
+ TAO_ServerRequest &_tao_server_request,
+ POA_IR::ComponentDef *tao_impl,
+ CORBA::Environment &ACE_TRY_ENV =
+ TAO_default_environment ()
+ );
+
+ virtual Dynamic::ParameterList * arguments (
+ CORBA::Environment &ACE_TRY_ENV =
+ TAO_default_environment ()
+ )
+ ACE_THROW_SPEC ((CORBA::SystemException));
+
+ virtual Dynamic::ExceptionList * exceptions (
+ CORBA::Environment &ACE_TRY_ENV =
+ TAO_default_environment ()
+ )
+ ACE_THROW_SPEC ((CORBA::SystemException));
+
+ virtual CORBA::Any * result (
+ CORBA::Environment &ACE_TRY_ENV =
+ TAO_default_environment ()
+ )
+ ACE_THROW_SPEC ((CORBA::SystemException));
+
+ virtual char * target_most_derived_interface (
+ CORBA::Environment &ACE_TRY_ENV = TAO_default_environment ())
+ ACE_THROW_SPEC ((CORBA::SystemException));
+
+ virtual CORBA::Boolean target_is_a (
+ const char * id,
+ CORBA::Environment &ACE_TRY_ENV = TAO_default_environment ())
+ ACE_THROW_SPEC ((CORBA::SystemException));
+
+ private:
+ TAO_ServerRequestInfo_IR_ComponentDef_uses_interfaces_get (const TAO_ServerRequestInfo_IR_ComponentDef_uses_interfaces_get &);
+ void operator= (const TAO_ServerRequestInfo_IR_ComponentDef_uses_interfaces_get &);
+
+ private:
+ POA_IR::ComponentDef *_tao_impl;
+ void result (IR::UsesDefSeq * result);
+ // update the result
+ IR::UsesDefSeq * _result;
+ };
+
+ class TAO_ServerRequestInfo_IR_ComponentDef_emits_events_get : public TAO_ServerRequestInfo
+ {
+ public:
+ friend class POA_IR::ComponentDef;
+ TAO_ServerRequestInfo_IR_ComponentDef_emits_events_get (
+ TAO_ServerRequest &_tao_server_request,
+ POA_IR::ComponentDef *tao_impl,
+ CORBA::Environment &ACE_TRY_ENV =
+ TAO_default_environment ()
+ );
+
+ virtual Dynamic::ParameterList * arguments (
+ CORBA::Environment &ACE_TRY_ENV =
+ TAO_default_environment ()
+ )
+ ACE_THROW_SPEC ((CORBA::SystemException));
+
+ virtual Dynamic::ExceptionList * exceptions (
+ CORBA::Environment &ACE_TRY_ENV =
+ TAO_default_environment ()
+ )
+ ACE_THROW_SPEC ((CORBA::SystemException));
+
+ virtual CORBA::Any * result (
+ CORBA::Environment &ACE_TRY_ENV =
+ TAO_default_environment ()
+ )
+ ACE_THROW_SPEC ((CORBA::SystemException));
+
+ virtual char * target_most_derived_interface (
+ CORBA::Environment &ACE_TRY_ENV = TAO_default_environment ())
+ ACE_THROW_SPEC ((CORBA::SystemException));
+
+ virtual CORBA::Boolean target_is_a (
+ const char * id,
+ CORBA::Environment &ACE_TRY_ENV = TAO_default_environment ())
+ ACE_THROW_SPEC ((CORBA::SystemException));
+
+ private:
+ TAO_ServerRequestInfo_IR_ComponentDef_emits_events_get (const TAO_ServerRequestInfo_IR_ComponentDef_emits_events_get &);
+ void operator= (const TAO_ServerRequestInfo_IR_ComponentDef_emits_events_get &);
+
+ private:
+ POA_IR::ComponentDef *_tao_impl;
+ void result (IR::EmitsDefSeq * result);
+ // update the result
+ IR::EmitsDefSeq * _result;
+ };
+
+ class TAO_ServerRequestInfo_IR_ComponentDef_publishes_events_get : public TAO_ServerRequestInfo
+ {
+ public:
+ friend class POA_IR::ComponentDef;
+ TAO_ServerRequestInfo_IR_ComponentDef_publishes_events_get (
+ TAO_ServerRequest &_tao_server_request,
+ POA_IR::ComponentDef *tao_impl,
+ CORBA::Environment &ACE_TRY_ENV =
+ TAO_default_environment ()
+ );
+
+ virtual Dynamic::ParameterList * arguments (
+ CORBA::Environment &ACE_TRY_ENV =
+ TAO_default_environment ()
+ )
+ ACE_THROW_SPEC ((CORBA::SystemException));
+
+ virtual Dynamic::ExceptionList * exceptions (
+ CORBA::Environment &ACE_TRY_ENV =
+ TAO_default_environment ()
+ )
+ ACE_THROW_SPEC ((CORBA::SystemException));
+
+ virtual CORBA::Any * result (
+ CORBA::Environment &ACE_TRY_ENV =
+ TAO_default_environment ()
+ )
+ ACE_THROW_SPEC ((CORBA::SystemException));
+
+ virtual char * target_most_derived_interface (
+ CORBA::Environment &ACE_TRY_ENV = TAO_default_environment ())
+ ACE_THROW_SPEC ((CORBA::SystemException));
+
+ virtual CORBA::Boolean target_is_a (
+ const char * id,
+ CORBA::Environment &ACE_TRY_ENV = TAO_default_environment ())
+ ACE_THROW_SPEC ((CORBA::SystemException));
+
+ private:
+ TAO_ServerRequestInfo_IR_ComponentDef_publishes_events_get (const TAO_ServerRequestInfo_IR_ComponentDef_publishes_events_get &);
+ void operator= (const TAO_ServerRequestInfo_IR_ComponentDef_publishes_events_get &);
+
+ private:
+ POA_IR::ComponentDef *_tao_impl;
+ void result (IR::PublishesDefSeq * result);
+ // update the result
+ IR::PublishesDefSeq * _result;
+ };
+
+ class TAO_ServerRequestInfo_IR_ComponentDef_consumes_events_get : public TAO_ServerRequestInfo
+ {
+ public:
+ friend class POA_IR::ComponentDef;
+ TAO_ServerRequestInfo_IR_ComponentDef_consumes_events_get (
+ TAO_ServerRequest &_tao_server_request,
+ POA_IR::ComponentDef *tao_impl,
+ CORBA::Environment &ACE_TRY_ENV =
+ TAO_default_environment ()
+ );
+
+ virtual Dynamic::ParameterList * arguments (
+ CORBA::Environment &ACE_TRY_ENV =
+ TAO_default_environment ()
+ )
+ ACE_THROW_SPEC ((CORBA::SystemException));
+
+ virtual Dynamic::ExceptionList * exceptions (
+ CORBA::Environment &ACE_TRY_ENV =
+ TAO_default_environment ()
+ )
+ ACE_THROW_SPEC ((CORBA::SystemException));
+
+ virtual CORBA::Any * result (
+ CORBA::Environment &ACE_TRY_ENV =
+ TAO_default_environment ()
+ )
+ ACE_THROW_SPEC ((CORBA::SystemException));
+
+ virtual char * target_most_derived_interface (
+ CORBA::Environment &ACE_TRY_ENV = TAO_default_environment ())
+ ACE_THROW_SPEC ((CORBA::SystemException));
+
+ virtual CORBA::Boolean target_is_a (
+ const char * id,
+ CORBA::Environment &ACE_TRY_ENV = TAO_default_environment ())
+ ACE_THROW_SPEC ((CORBA::SystemException));
+
+ private:
+ TAO_ServerRequestInfo_IR_ComponentDef_consumes_events_get (const TAO_ServerRequestInfo_IR_ComponentDef_consumes_events_get &);
+ void operator= (const TAO_ServerRequestInfo_IR_ComponentDef_consumes_events_get &);
+
+ private:
+ POA_IR::ComponentDef *_tao_impl;
+ void result (IR::ConsumesDefSeq * result);
+ // update the result
+ IR::ConsumesDefSeq * _result;
+ };
+
+ class TAO_ServerRequestInfo_IR_ComponentDef_is_basic_get : public TAO_ServerRequestInfo
+ {
+ public:
+ friend class POA_IR::ComponentDef;
+ TAO_ServerRequestInfo_IR_ComponentDef_is_basic_get (
+ TAO_ServerRequest &_tao_server_request,
+ POA_IR::ComponentDef *tao_impl,
+ CORBA::Environment &ACE_TRY_ENV =
+ TAO_default_environment ()
+ );
+
+ virtual Dynamic::ParameterList * arguments (
+ CORBA::Environment &ACE_TRY_ENV =
+ TAO_default_environment ()
+ )
+ ACE_THROW_SPEC ((CORBA::SystemException));
+
+ virtual Dynamic::ExceptionList * exceptions (
+ CORBA::Environment &ACE_TRY_ENV =
+ TAO_default_environment ()
+ )
+ ACE_THROW_SPEC ((CORBA::SystemException));
+
+ virtual CORBA::Any * result (
+ CORBA::Environment &ACE_TRY_ENV =
+ TAO_default_environment ()
+ )
+ ACE_THROW_SPEC ((CORBA::SystemException));
+
+ virtual char * target_most_derived_interface (
+ CORBA::Environment &ACE_TRY_ENV = TAO_default_environment ())
+ ACE_THROW_SPEC ((CORBA::SystemException));
+
+ virtual CORBA::Boolean target_is_a (
+ const char * id,
+ CORBA::Environment &ACE_TRY_ENV = TAO_default_environment ())
+ ACE_THROW_SPEC ((CORBA::SystemException));
+
+ private:
+ TAO_ServerRequestInfo_IR_ComponentDef_is_basic_get (const TAO_ServerRequestInfo_IR_ComponentDef_is_basic_get &);
+ void operator= (const TAO_ServerRequestInfo_IR_ComponentDef_is_basic_get &);
+
+ private:
+ POA_IR::ComponentDef *_tao_impl;
+ void result (CORBA::Boolean result);
+ // update the result
+ CORBA::Boolean _result;
+ };
+
+ class TAO_ServerRequestInfo_IR_ComponentDef_create_provides : public TAO_ServerRequestInfo
+ {
+ public:
+ friend class POA_IR::ComponentDef;
+ TAO_ServerRequestInfo_IR_ComponentDef_create_provides (
+ TAO_ServerRequest &_tao_server_request,
+ POA_IR::ComponentDef *tao_impl,
+ const char * id,
+ const char * name,
+ const char * version,
+ CORBA::InterfaceDef_ptr interface_type,
+ CORBA::Environment &ACE_TRY_ENV =
+ TAO_default_environment ()
+ );
+
+ virtual Dynamic::ParameterList * arguments (
+ CORBA::Environment &ACE_TRY_ENV =
+ TAO_default_environment ()
+ )
+ ACE_THROW_SPEC ((CORBA::SystemException));
+
+ virtual Dynamic::ExceptionList * exceptions (
+ CORBA::Environment &ACE_TRY_ENV =
+ TAO_default_environment ()
+ )
+ ACE_THROW_SPEC ((CORBA::SystemException));
+
+ virtual CORBA::Any * result (
+ CORBA::Environment &ACE_TRY_ENV =
+ TAO_default_environment ()
+ )
+ ACE_THROW_SPEC ((CORBA::SystemException));
+
+ virtual char * target_most_derived_interface (
+ CORBA::Environment &ACE_TRY_ENV = TAO_default_environment ())
+ ACE_THROW_SPEC ((CORBA::SystemException));
+
+ virtual CORBA::Boolean target_is_a (
+ const char * id,
+ CORBA::Environment &ACE_TRY_ENV = TAO_default_environment ())
+ ACE_THROW_SPEC ((CORBA::SystemException));
+
+ private:
+ TAO_ServerRequestInfo_IR_ComponentDef_create_provides (const TAO_ServerRequestInfo_IR_ComponentDef_create_provides &);
+ void operator= (const TAO_ServerRequestInfo_IR_ComponentDef_create_provides &);
+
+ private:
+ POA_IR::ComponentDef *_tao_impl;
+ const char * id_;
+ const char * name_;
+ const char * version_;
+ CORBA::InterfaceDef_ptr interface_type_;
+ void result (IR::ProvidesDef_ptr result);
+ // update the result
+ IR::ProvidesDef_ptr _result;
+ };
+
+ class TAO_ServerRequestInfo_IR_ComponentDef_create_uses : public TAO_ServerRequestInfo
+ {
+ public:
+ friend class POA_IR::ComponentDef;
+ TAO_ServerRequestInfo_IR_ComponentDef_create_uses (
+ TAO_ServerRequest &_tao_server_request,
+ POA_IR::ComponentDef *tao_impl,
+ const char * id,
+ const char * name,
+ const char * version,
+ CORBA::InterfaceDef_ptr interface_type,
+ const CORBA::Boolean & is_multiple,
+ CORBA::Environment &ACE_TRY_ENV =
+ TAO_default_environment ()
+ );
+
+ virtual Dynamic::ParameterList * arguments (
+ CORBA::Environment &ACE_TRY_ENV =
+ TAO_default_environment ()
+ )
+ ACE_THROW_SPEC ((CORBA::SystemException));
+
+ virtual Dynamic::ExceptionList * exceptions (
+ CORBA::Environment &ACE_TRY_ENV =
+ TAO_default_environment ()
+ )
+ ACE_THROW_SPEC ((CORBA::SystemException));
+
+ virtual CORBA::Any * result (
+ CORBA::Environment &ACE_TRY_ENV =
+ TAO_default_environment ()
+ )
+ ACE_THROW_SPEC ((CORBA::SystemException));
+
+ virtual char * target_most_derived_interface (
+ CORBA::Environment &ACE_TRY_ENV = TAO_default_environment ())
+ ACE_THROW_SPEC ((CORBA::SystemException));
+
+ virtual CORBA::Boolean target_is_a (
+ const char * id,
+ CORBA::Environment &ACE_TRY_ENV = TAO_default_environment ())
+ ACE_THROW_SPEC ((CORBA::SystemException));
+
+ private:
+ TAO_ServerRequestInfo_IR_ComponentDef_create_uses (const TAO_ServerRequestInfo_IR_ComponentDef_create_uses &);
+ void operator= (const TAO_ServerRequestInfo_IR_ComponentDef_create_uses &);
+
+ private:
+ POA_IR::ComponentDef *_tao_impl;
+ const char * id_;
+ const char * name_;
+ const char * version_;
+ CORBA::InterfaceDef_ptr interface_type_;
+ const CORBA::Boolean & is_multiple_;
+ void result (IR::UsesDef_ptr result);
+ // update the result
+ IR::UsesDef_ptr _result;
+ };
+
+ class TAO_ServerRequestInfo_IR_ComponentDef_create_emits : public TAO_ServerRequestInfo
+ {
+ public:
+ friend class POA_IR::ComponentDef;
+ TAO_ServerRequestInfo_IR_ComponentDef_create_emits (
+ TAO_ServerRequest &_tao_server_request,
+ POA_IR::ComponentDef *tao_impl,
+ const char * id,
+ const char * name,
+ const char * version,
+ CORBA::ValueDef_ptr value,
+ CORBA::Environment &ACE_TRY_ENV =
+ TAO_default_environment ()
+ );
+
+ virtual Dynamic::ParameterList * arguments (
+ CORBA::Environment &ACE_TRY_ENV =
+ TAO_default_environment ()
+ )
+ ACE_THROW_SPEC ((CORBA::SystemException));
+
+ virtual Dynamic::ExceptionList * exceptions (
+ CORBA::Environment &ACE_TRY_ENV =
+ TAO_default_environment ()
+ )
+ ACE_THROW_SPEC ((CORBA::SystemException));
+
+ virtual CORBA::Any * result (
+ CORBA::Environment &ACE_TRY_ENV =
+ TAO_default_environment ()
+ )
+ ACE_THROW_SPEC ((CORBA::SystemException));
+
+ virtual char * target_most_derived_interface (
+ CORBA::Environment &ACE_TRY_ENV = TAO_default_environment ())
+ ACE_THROW_SPEC ((CORBA::SystemException));
+
+ virtual CORBA::Boolean target_is_a (
+ const char * id,
+ CORBA::Environment &ACE_TRY_ENV = TAO_default_environment ())
+ ACE_THROW_SPEC ((CORBA::SystemException));
+
+ private:
+ TAO_ServerRequestInfo_IR_ComponentDef_create_emits (const TAO_ServerRequestInfo_IR_ComponentDef_create_emits &);
+ void operator= (const TAO_ServerRequestInfo_IR_ComponentDef_create_emits &);
+
+ private:
+ POA_IR::ComponentDef *_tao_impl;
+ const char * id_;
+ const char * name_;
+ const char * version_;
+ CORBA::ValueDef_ptr value_;
+ void result (IR::EmitsDef_ptr result);
+ // update the result
+ IR::EmitsDef_ptr _result;
+ };
+
+ class TAO_ServerRequestInfo_IR_ComponentDef_create_publishes : public TAO_ServerRequestInfo
+ {
+ public:
+ friend class POA_IR::ComponentDef;
+ TAO_ServerRequestInfo_IR_ComponentDef_create_publishes (
+ TAO_ServerRequest &_tao_server_request,
+ POA_IR::ComponentDef *tao_impl,
+ const char * id,
+ const char * name,
+ const char * version,
+ CORBA::ValueDef_ptr value,
+ CORBA::Environment &ACE_TRY_ENV =
+ TAO_default_environment ()
+ );
+
+ virtual Dynamic::ParameterList * arguments (
+ CORBA::Environment &ACE_TRY_ENV =
+ TAO_default_environment ()
+ )
+ ACE_THROW_SPEC ((CORBA::SystemException));
+
+ virtual Dynamic::ExceptionList * exceptions (
+ CORBA::Environment &ACE_TRY_ENV =
+ TAO_default_environment ()
+ )
+ ACE_THROW_SPEC ((CORBA::SystemException));
+
+ virtual CORBA::Any * result (
+ CORBA::Environment &ACE_TRY_ENV =
+ TAO_default_environment ()
+ )
+ ACE_THROW_SPEC ((CORBA::SystemException));
+
+ virtual char * target_most_derived_interface (
+ CORBA::Environment &ACE_TRY_ENV = TAO_default_environment ())
+ ACE_THROW_SPEC ((CORBA::SystemException));
+
+ virtual CORBA::Boolean target_is_a (
+ const char * id,
+ CORBA::Environment &ACE_TRY_ENV = TAO_default_environment ())
+ ACE_THROW_SPEC ((CORBA::SystemException));
+
+ private:
+ TAO_ServerRequestInfo_IR_ComponentDef_create_publishes (const TAO_ServerRequestInfo_IR_ComponentDef_create_publishes &);
+ void operator= (const TAO_ServerRequestInfo_IR_ComponentDef_create_publishes &);
+
+ private:
+ POA_IR::ComponentDef *_tao_impl;
+ const char * id_;
+ const char * name_;
+ const char * version_;
+ CORBA::ValueDef_ptr value_;
+ void result (IR::PublishesDef_ptr result);
+ // update the result
+ IR::PublishesDef_ptr _result;
+ };
+
+ class TAO_ServerRequestInfo_IR_ComponentDef_create_consumes : public TAO_ServerRequestInfo
+ {
+ public:
+ friend class POA_IR::ComponentDef;
+ TAO_ServerRequestInfo_IR_ComponentDef_create_consumes (
+ TAO_ServerRequest &_tao_server_request,
+ POA_IR::ComponentDef *tao_impl,
+ const char * id,
+ const char * name,
+ const char * version,
+ CORBA::ValueDef_ptr value,
+ CORBA::Environment &ACE_TRY_ENV =
+ TAO_default_environment ()
+ );
+
+ virtual Dynamic::ParameterList * arguments (
+ CORBA::Environment &ACE_TRY_ENV =
+ TAO_default_environment ()
+ )
+ ACE_THROW_SPEC ((CORBA::SystemException));
+
+ virtual Dynamic::ExceptionList * exceptions (
+ CORBA::Environment &ACE_TRY_ENV =
+ TAO_default_environment ()
+ )
+ ACE_THROW_SPEC ((CORBA::SystemException));
+
+ virtual CORBA::Any * result (
+ CORBA::Environment &ACE_TRY_ENV =
+ TAO_default_environment ()
+ )
+ ACE_THROW_SPEC ((CORBA::SystemException));
+
+ virtual char * target_most_derived_interface (
+ CORBA::Environment &ACE_TRY_ENV = TAO_default_environment ())
+ ACE_THROW_SPEC ((CORBA::SystemException));
+
+ virtual CORBA::Boolean target_is_a (
+ const char * id,
+ CORBA::Environment &ACE_TRY_ENV = TAO_default_environment ())
+ ACE_THROW_SPEC ((CORBA::SystemException));
+
+ private:
+ TAO_ServerRequestInfo_IR_ComponentDef_create_consumes (const TAO_ServerRequestInfo_IR_ComponentDef_create_consumes &);
+ void operator= (const TAO_ServerRequestInfo_IR_ComponentDef_create_consumes &);
+
+ private:
+ POA_IR::ComponentDef *_tao_impl;
+ const char * id_;
+ const char * name_;
+ const char * version_;
+ CORBA::ValueDef_ptr value_;
+ void result (IR::ConsumesDef_ptr result);
+ // update the result
+ IR::ConsumesDef_ptr _result;
+ };
+
+ #endif /* TAO_HAS_INTERCEPTORS */
+
+};
+
+
+///////////////////////////////////////////////////////////////////////
+// Strategized Proxy Broker Declaration
+//
+
+class _TAO_ComponentDef_Strategized_Proxy_Broker : public virtual ::IR::_TAO_ComponentDef_Proxy_Broker
+{
+public:
+ _TAO_ComponentDef_Strategized_Proxy_Broker (void);
+
+ virtual ~_TAO_ComponentDef_Strategized_Proxy_Broker (void);
+
+ virtual ::IR::_TAO_ComponentDef_Proxy_Impl &select_proxy (
+ ::IR::ComponentDef *object,
+ CORBA_Environment &ACE_TRY_ENV = TAO_default_environment ()
+ );
+
+private:
+
+// Helper methods that takes care to create the proxy
+// as soon as their use is necessary.
+ void create_proxy (
+ int strategy,
+ CORBA::Environment &ACE_TRY_ENV
+ );
+
+private:
+
+ // Caches the proxy implementations. The proxy implementation
+ // are totally stateless, and those can be shared by all the
+ // instances of a given IDL interface type.
+ ::IR::_TAO_ComponentDef_Proxy_Impl
+ *proxy_cache_[TAO_Collocation_Strategies::CS_LAST];
+
+ TAO_SYNCH_MUTEX mutex_;
+// This funxtion is used to get an handle to the unique instance
+// of the Strategized Proxy Broker that is available for a given
+// interface.
+
+public:
+ static _TAO_ComponentDef_Strategized_Proxy_Broker *the_TAO_ComponentDef_Strategized_Proxy_Broker (void);
+};
+
+
+//
+// End Strategized Proxy Broker Declaration
+///////////////////////////////////////////////////////////////////////
+
+
+///////////////////////////////////////////////////////////////////////
+// ThruPOA Impl. Declaration
+//
+
+class _TAO_ComponentDef_ThruPOA_Proxy_Impl :
+ public virtual ::IR::_TAO_ComponentDef_Proxy_Impl,
+ public virtual TAO_ThruPOA_Object_Proxy_Impl,
+ public virtual ::POA_CORBA::_TAO_InterfaceDef_ThruPOA_Proxy_Impl
+
+{
+public:
+ _TAO_ComponentDef_ThruPOA_Proxy_Impl (void);
+
+ virtual ~_TAO_ComponentDef_ThruPOA_Proxy_Impl (void) { }
+
+ virtual CORBA::InterfaceDefSeq * supported_interfaces (
+ CORBA_Object *_collocated_tao_target_,
+ CORBA::Environment &ACE_TRY_ENV
+ )
+ ACE_THROW_SPEC ((
+ CORBA::SystemException
+ ));
+
+ virtual void supported_interfaces (
+ CORBA_Object *_collocated_tao_target_,
+ const CORBA::InterfaceDefSeq & supported_interfaces,
+ CORBA::Environment &ACE_TRY_ENV
+ )
+ ACE_THROW_SPEC ((
+ CORBA::SystemException
+ ));
+
+ virtual IR::ComponentDef_ptr base_component (
+ CORBA_Object *_collocated_tao_target_,
+ CORBA::Environment &ACE_TRY_ENV
+ )
+ ACE_THROW_SPEC ((
+ CORBA::SystemException
+ ));
+
+ virtual IR::ProvidesDefSeq * provides_interfaces (
+ CORBA_Object *_collocated_tao_target_,
+ CORBA::Environment &ACE_TRY_ENV
+ )
+ ACE_THROW_SPEC ((
+ CORBA::SystemException
+ ));
+
+ virtual IR::UsesDefSeq * uses_interfaces (
+ CORBA_Object *_collocated_tao_target_,
+ CORBA::Environment &ACE_TRY_ENV
+ )
+ ACE_THROW_SPEC ((
+ CORBA::SystemException
+ ));
+
+ virtual IR::EmitsDefSeq * emits_events (
+ CORBA_Object *_collocated_tao_target_,
+ CORBA::Environment &ACE_TRY_ENV
+ )
+ ACE_THROW_SPEC ((
+ CORBA::SystemException
+ ));
+
+ virtual IR::PublishesDefSeq * publishes_events (
+ CORBA_Object *_collocated_tao_target_,
+ CORBA::Environment &ACE_TRY_ENV
+ )
+ ACE_THROW_SPEC ((
+ CORBA::SystemException
+ ));
+
+ virtual IR::ConsumesDefSeq * consumes_events (
+ CORBA_Object *_collocated_tao_target_,
+ CORBA::Environment &ACE_TRY_ENV
+ )
+ ACE_THROW_SPEC ((
+ CORBA::SystemException
+ ));
+
+ virtual CORBA::Boolean is_basic (
+ CORBA_Object *_collocated_tao_target_,
+ CORBA::Environment &ACE_TRY_ENV
+ )
+ ACE_THROW_SPEC ((
+ CORBA::SystemException
+ ));
+
+ virtual IR::ProvidesDef_ptr create_provides (
+ CORBA_Object *_collocated_tao_target_,
+ const char * id,
+ const char * name,
+ const char * version,
+ CORBA::InterfaceDef_ptr interface_type,
+ CORBA::Environment &ACE_TRY_ENV
+ )
+ ACE_THROW_SPEC ((
+ CORBA::SystemException
+ ));
+
+ virtual IR::UsesDef_ptr create_uses (
+ CORBA_Object *_collocated_tao_target_,
+ const char * id,
+ const char * name,
+ const char * version,
+ CORBA::InterfaceDef_ptr interface_type,
+ CORBA::Boolean is_multiple,
+ CORBA::Environment &ACE_TRY_ENV
+ )
+ ACE_THROW_SPEC ((
+ CORBA::SystemException
+ ));
+
+ virtual IR::EmitsDef_ptr create_emits (
+ CORBA_Object *_collocated_tao_target_,
+ const char * id,
+ const char * name,
+ const char * version,
+ CORBA::ValueDef_ptr value,
+ CORBA::Environment &ACE_TRY_ENV
+ )
+ ACE_THROW_SPEC ((
+ CORBA::SystemException
+ ));
+
+ virtual IR::PublishesDef_ptr create_publishes (
+ CORBA_Object *_collocated_tao_target_,
+ const char * id,
+ const char * name,
+ const char * version,
+ CORBA::ValueDef_ptr value,
+ CORBA::Environment &ACE_TRY_ENV
+ )
+ ACE_THROW_SPEC ((
+ CORBA::SystemException
+ ));
+
+ virtual IR::ConsumesDef_ptr create_consumes (
+ CORBA_Object *_collocated_tao_target_,
+ const char * id,
+ const char * name,
+ const char * version,
+ CORBA::ValueDef_ptr value,
+ CORBA::Environment &ACE_TRY_ENV
+ )
+ ACE_THROW_SPEC ((
+ CORBA::SystemException
+ ));
+
+};
+
+
+//
+// ThruPOA Proxy Impl. Declaration
+///////////////////////////////////////////////////////////////////////
+
+
+#if defined (ACE_HAS_USING_KEYWORD)
+// TIE class: Refer to CORBA v2.2, Section 20.34.4
+template <class T>
+class ComponentDef_tie : public ComponentDef
+{
+public:
+ ComponentDef_tie (T &t);
+ // the T& ctor
+ ComponentDef_tie (T &t, PortableServer::POA_ptr poa);
+ // ctor taking a POA
+ ComponentDef_tie (T *tp, CORBA::Boolean release=1);
+ // ctor taking pointer and an ownership flag
+ ComponentDef_tie (T *tp, PortableServer::POA_ptr poa, CORBA::Boolean release=1);
+ // ctor with T*, ownership flag and a POA
+ ~ComponentDef_tie (void);
+ // dtor
+
+ // TIE specific functions
+ T *_tied_object (void);
+ // return the underlying object
+ void _tied_object (T &obj);
+ // set the underlying object
+ void _tied_object (T *obj, CORBA::Boolean release=1);
+ // set the underlying object and the ownership flag
+ CORBA::Boolean _is_owner (void);
+ // do we own it
+ void _is_owner (CORBA::Boolean b);
+ // set the ownership
+
+ // overridden ServantBase operations
+ PortableServer::POA_ptr _default_POA (
+ CORBA::Environment &ACE_TRY_ENV =
+ TAO_default_environment ()
+ );
+ CORBA::InterfaceDefSeq * supported_interfaces (
+ CORBA::Environment &ACE_TRY_ENV =
+ TAO_default_environment ()
+ )
+ ACE_THROW_SPEC ((
+ CORBA::SystemException
+ ));
+
+ void supported_interfaces (
+ const CORBA::InterfaceDefSeq & supported_interfaces,
+ CORBA::Environment &ACE_TRY_ENV =
+ TAO_default_environment ()
+ )
+ ACE_THROW_SPEC ((
+ CORBA::SystemException
+ ));
+
+ IR::ComponentDef_ptr base_component (
+ CORBA::Environment &ACE_TRY_ENV =
+ TAO_default_environment ()
+ )
+ ACE_THROW_SPEC ((
+ CORBA::SystemException
+ ));
+
+ IR::ProvidesDefSeq * provides_interfaces (
+ CORBA::Environment &ACE_TRY_ENV =
+ TAO_default_environment ()
+ )
+ ACE_THROW_SPEC ((
+ CORBA::SystemException
+ ));
+
+ IR::UsesDefSeq * uses_interfaces (
+ CORBA::Environment &ACE_TRY_ENV =
+ TAO_default_environment ()
+ )
+ ACE_THROW_SPEC ((
+ CORBA::SystemException
+ ));
+
+ IR::EmitsDefSeq * emits_events (
+ CORBA::Environment &ACE_TRY_ENV =
+ TAO_default_environment ()
+ )
+ ACE_THROW_SPEC ((
+ CORBA::SystemException
+ ));
+
+ IR::PublishesDefSeq * publishes_events (
+ CORBA::Environment &ACE_TRY_ENV =
+ TAO_default_environment ()
+ )
+ ACE_THROW_SPEC ((
+ CORBA::SystemException
+ ));
+
+ IR::ConsumesDefSeq * consumes_events (
+ CORBA::Environment &ACE_TRY_ENV =
+ TAO_default_environment ()
+ )
+ ACE_THROW_SPEC ((
+ CORBA::SystemException
+ ));
+
+ CORBA::Boolean is_basic (
+ CORBA::Environment &ACE_TRY_ENV =
+ TAO_default_environment ()
+ )
+ ACE_THROW_SPEC ((
+ CORBA::SystemException
+ ));
+
+ IR::ProvidesDef_ptr create_provides (
+ const char * id,
+ const char * name,
+ const char * version,
+ CORBA::InterfaceDef_ptr interface_type,
+ CORBA::Environment &ACE_TRY_ENV =
+ TAO_default_environment ()
+ )
+ ACE_THROW_SPEC ((
+ CORBA::SystemException
+ ));
+
+ IR::UsesDef_ptr create_uses (
+ const char * id,
+ const char * name,
+ const char * version,
+ CORBA::InterfaceDef_ptr interface_type,
+ CORBA::Boolean is_multiple,
+ CORBA::Environment &ACE_TRY_ENV =
+ TAO_default_environment ()
+ )
+ ACE_THROW_SPEC ((
+ CORBA::SystemException
+ ));
+
+ IR::EmitsDef_ptr create_emits (
+ const char * id,
+ const char * name,
+ const char * version,
+ CORBA::ValueDef_ptr value,
+ CORBA::Environment &ACE_TRY_ENV =
+ TAO_default_environment ()
+ )
+ ACE_THROW_SPEC ((
+ CORBA::SystemException
+ ));
+
+ IR::PublishesDef_ptr create_publishes (
+ const char * id,
+ const char * name,
+ const char * version,
+ CORBA::ValueDef_ptr value,
+ CORBA::Environment &ACE_TRY_ENV =
+ TAO_default_environment ()
+ )
+ ACE_THROW_SPEC ((
+ CORBA::SystemException
+ ));
+
+ IR::ConsumesDef_ptr create_consumes (
+ const char * id,
+ const char * name,
+ const char * version,
+ CORBA::ValueDef_ptr value,
+ CORBA::Environment &ACE_TRY_ENV =
+ TAO_default_environment ()
+ )
+ ACE_THROW_SPEC ((
+ CORBA::SystemException
+ ));
+
+ CORBA::InterfaceDefSeq * base_interfaces (
+ CORBA::Environment &ACE_TRY_ENV =
+ TAO_default_environment ()
+ )
+ ACE_THROW_SPEC ((
+ CORBA::SystemException
+ ));
+
+ void base_interfaces (
+ const CORBA::InterfaceDefSeq & base_interfaces,
+ CORBA::Environment &ACE_TRY_ENV =
+ TAO_default_environment ()
+ )
+ ACE_THROW_SPEC ((
+ CORBA::SystemException
+ ));
+
+ CORBA::Boolean is_a (
+ const char * interface_id,
+ CORBA::Environment &ACE_TRY_ENV =
+ TAO_default_environment ()
+ )
+ ACE_THROW_SPEC ((
+ CORBA::SystemException
+ ));
+
+ CORBA::InterfaceDef::FullInterfaceDescription * describe_interface (
+ CORBA::Environment &ACE_TRY_ENV =
+ TAO_default_environment ()
+ )
+ ACE_THROW_SPEC ((
+ CORBA::SystemException
+ ));
+
+ CORBA::AttributeDef_ptr create_attribute (
+ const char * id,
+ const char * name,
+ const char * version,
+ CORBA::IDLType_ptr type,
+ CORBA::AttributeMode mode,
+ CORBA::Environment &ACE_TRY_ENV =
+ TAO_default_environment ()
+ )
+ ACE_THROW_SPEC ((
+ CORBA::SystemException
+ ));
+
+ CORBA::OperationDef_ptr create_operation (
+ const char * id,
+ const char * name,
+ const char * version,
+ CORBA::IDLType_ptr result,
+ CORBA::OperationMode mode,
+ const CORBA::ParDescriptionSeq & params,
+ const CORBA::ExceptionDefSeq & exceptions,
+ const CORBA::ContextIdSeq & contexts,
+ CORBA::Environment &ACE_TRY_ENV =
+ TAO_default_environment ()
+ )
+ ACE_THROW_SPEC ((
+ CORBA::SystemException
+ ));
+
+ CORBA::Contained_ptr lookup (
+ const char * search_name,
+ CORBA::Environment &ACE_TRY_ENV =
+ TAO_default_environment ()
+ )
+ ACE_THROW_SPEC ((
+ CORBA::SystemException
+ ));
+
+ CORBA::ContainedSeq * contents (
+ CORBA::DefinitionKind limit_type,
+ CORBA::Boolean exclude_inherited,
+ CORBA::Environment &ACE_TRY_ENV =
+ TAO_default_environment ()
+ )
+ ACE_THROW_SPEC ((
+ CORBA::SystemException
+ ));
+
+ CORBA::ContainedSeq * lookup_name (
+ const char * search_name,
+ CORBA::Long levels_to_search,
+ CORBA::DefinitionKind limit_type,
+ CORBA::Boolean exclude_inherited,
+ CORBA::Environment &ACE_TRY_ENV =
+ TAO_default_environment ()
+ )
+ ACE_THROW_SPEC ((
+ CORBA::SystemException
+ ));
+
+ CORBA::Container::DescriptionSeq * describe_contents (
+ CORBA::DefinitionKind limit_type,
+ CORBA::Boolean exclude_inherited,
+ CORBA::Long max_returned_objs,
+ CORBA::Environment &ACE_TRY_ENV =
+ TAO_default_environment ()
+ )
+ ACE_THROW_SPEC ((
+ CORBA::SystemException
+ ));
+
+ CORBA::ModuleDef_ptr create_module (
+ const char * id,
+ const char * name,
+ const char * version,
+ CORBA::Environment &ACE_TRY_ENV =
+ TAO_default_environment ()
+ )
+ ACE_THROW_SPEC ((
+ CORBA::SystemException
+ ));
+
+ CORBA::ConstantDef_ptr create_constant (
+ const char * id,
+ const char * name,
+ const char * version,
+ CORBA::IDLType_ptr type,
+ const CORBA::Any & value,
+ CORBA::Environment &ACE_TRY_ENV =
+ TAO_default_environment ()
+ )
+ ACE_THROW_SPEC ((
+ CORBA::SystemException
+ ));
+
+ CORBA::StructDef_ptr create_struct (
+ const char * id,
+ const char * name,
+ const char * version,
+ const CORBA::StructMemberSeq & members,
+ CORBA::Environment &ACE_TRY_ENV =
+ TAO_default_environment ()
+ )
+ ACE_THROW_SPEC ((
+ CORBA::SystemException
+ ));
+
+ CORBA::UnionDef_ptr create_union (
+ const char * id,
+ const char * name,
+ const char * version,
+ CORBA::IDLType_ptr discriminator_type,
+ const CORBA::UnionMemberSeq & members,
+ CORBA::Environment &ACE_TRY_ENV =
+ TAO_default_environment ()
+ )
+ ACE_THROW_SPEC ((
+ CORBA::SystemException
+ ));
+
+ CORBA::EnumDef_ptr create_enum (
+ const char * id,
+ const char * name,
+ const char * version,
+ const CORBA::EnumMemberSeq & members,
+ CORBA::Environment &ACE_TRY_ENV =
+ TAO_default_environment ()
+ )
+ ACE_THROW_SPEC ((
+ CORBA::SystemException
+ ));
+
+ CORBA::AliasDef_ptr create_alias (
+ const char * id,
+ const char * name,
+ const char * version,
+ CORBA::IDLType_ptr original_type,
+ CORBA::Environment &ACE_TRY_ENV =
+ TAO_default_environment ()
+ )
+ ACE_THROW_SPEC ((
+ CORBA::SystemException
+ ));
+
+ CORBA::InterfaceDef_ptr create_interface (
+ const char * id,
+ const char * name,
+ const char * version,
+ const CORBA::InterfaceDefSeq & base_interfaces,
+ CORBA::Environment &ACE_TRY_ENV =
+ TAO_default_environment ()
+ )
+ ACE_THROW_SPEC ((
+ CORBA::SystemException
+ ));
+
+ CORBA::ValueDef_ptr create_value (
+ const char * id,
+ const char * name,
+ const char * version,
+ CORBA::Boolean is_custom,
+ CORBA::Boolean is_abstract,
+ CORBA::ValueDef_ptr base_value,
+ CORBA::Boolean is_truncatable,
+ const CORBA::ValueDefSeq & abstract_base_values,
+ const CORBA::InterfaceDefSeq & supported_interfaces,
+ const CORBA::InitializerSeq & initializers,
+ CORBA::Environment &ACE_TRY_ENV =
+ TAO_default_environment ()
+ )
+ ACE_THROW_SPEC ((
+ CORBA::SystemException
+ ));
+
+ CORBA::ValueBoxDef_ptr create_value_box (
+ const char * id,
+ const char * name,
+ const char * version,
+ CORBA::IDLType_ptr original_type_def,
+ CORBA::Environment &ACE_TRY_ENV =
+ TAO_default_environment ()
+ )
+ ACE_THROW_SPEC ((
+ CORBA::SystemException
+ ));
+
+ CORBA::ExceptionDef_ptr create_exception (
+ const char * id,
+ const char * name,
+ const char * version,
+ const CORBA::StructMemberSeq & members,
+ CORBA::Environment &ACE_TRY_ENV =
+ TAO_default_environment ()
+ )
+ ACE_THROW_SPEC ((
+ CORBA::SystemException
+ ));
+
+ CORBA::NativeDef_ptr create_native (
+ const char * id,
+ const char * name,
+ const char * version,
+ CORBA::Environment &ACE_TRY_ENV =
+ TAO_default_environment ()
+ )
+ ACE_THROW_SPEC ((
+ CORBA::SystemException
+ ));
+
+ CORBA::AbstractInterfaceDef_ptr create_abstract_interface (
+ const char * id,
+ const char * name,
+ const char * version,
+ const CORBA::AbstractInterfaceDefSeq & base_interfaces,
+ CORBA::Environment &ACE_TRY_ENV =
+ TAO_default_environment ()
+ )
+ ACE_THROW_SPEC ((
+ CORBA::SystemException
+ ));
+
+ CORBA::LocalInterfaceDef_ptr create_local_interface (
+ const char * id,
+ const char * name,
+ const char * version,
+ const CORBA::InterfaceDefSeq & base_interfaces,
+ CORBA::Environment &ACE_TRY_ENV =
+ TAO_default_environment ()
+ )
+ ACE_THROW_SPEC ((
+ CORBA::SystemException
+ ));
+
+ char * id (
+ CORBA::Environment &ACE_TRY_ENV =
+ TAO_default_environment ()
+ )
+ ACE_THROW_SPEC ((
+ CORBA::SystemException
+ ));
+
+ void id (
+ const char * id,
+ CORBA::Environment &ACE_TRY_ENV =
+ TAO_default_environment ()
+ )
+ ACE_THROW_SPEC ((
+ CORBA::SystemException
+ ));
+
+ char * name (
+ CORBA::Environment &ACE_TRY_ENV =
+ TAO_default_environment ()
+ )
+ ACE_THROW_SPEC ((
+ CORBA::SystemException
+ ));
+
+ void name (
+ const char * name,
+ CORBA::Environment &ACE_TRY_ENV =
+ TAO_default_environment ()
+ )
+ ACE_THROW_SPEC ((
+ CORBA::SystemException
+ ));
+
+ char * version (
+ CORBA::Environment &ACE_TRY_ENV =
+ TAO_default_environment ()
+ )
+ ACE_THROW_SPEC ((
+ CORBA::SystemException
+ ));
+
+ void version (
+ const char * version,
+ CORBA::Environment &ACE_TRY_ENV =
+ TAO_default_environment ()
+ )
+ ACE_THROW_SPEC ((
+ CORBA::SystemException
+ ));
+
+ CORBA::Container_ptr defined_in (
+ CORBA::Environment &ACE_TRY_ENV =
+ TAO_default_environment ()
+ )
+ ACE_THROW_SPEC ((
+ CORBA::SystemException
+ ));
+
+ char * absolute_name (
+ CORBA::Environment &ACE_TRY_ENV =
+ TAO_default_environment ()
+ )
+ ACE_THROW_SPEC ((
+ CORBA::SystemException
+ ));
+
+ CORBA::Repository_ptr containing_repository (
+ CORBA::Environment &ACE_TRY_ENV =
+ TAO_default_environment ()
+ )
+ ACE_THROW_SPEC ((
+ CORBA::SystemException
+ ));
+
+ CORBA::Contained::Description * describe (
+ CORBA::Environment &ACE_TRY_ENV =
+ TAO_default_environment ()
+ )
+ ACE_THROW_SPEC ((
+ CORBA::SystemException
+ ));
+
+ void move (
+ CORBA::Container_ptr new_container,
+ const char * new_name,
+ const char * new_version,
+ CORBA::Environment &ACE_TRY_ENV =
+ TAO_default_environment ()
+ )
+ ACE_THROW_SPEC ((
+ CORBA::SystemException
+ ));
+
+ CORBA::TypeCode_ptr type (
+ CORBA::Environment &ACE_TRY_ENV =
+ TAO_default_environment ()
+ )
+ ACE_THROW_SPEC ((
+ CORBA::SystemException
+ ));
+
+ CORBA::DefinitionKind def_kind (
+ CORBA::Environment &ACE_TRY_ENV =
+ TAO_default_environment ()
+ )
+ ACE_THROW_SPEC ((
+ CORBA::SystemException
+ ));
+
+ void destroy (
+ CORBA::Environment &ACE_TRY_ENV =
+ TAO_default_environment ()
+ )
+ ACE_THROW_SPEC ((
+ CORBA::SystemException
+ ));
+
+private:
+ T *ptr_;
+ PortableServer::POA_var poa_;
+ CORBA::Boolean rel_;
+
+ // copy and assignment are not allowed
+ ComponentDef_tie (const ComponentDef_tie &);
+ void operator= (const ComponentDef_tie &);
+};
+
+#endif /* ACE_HAS_USING_KEYWORD */
+
+class PrimaryKeyDef;
+typedef PrimaryKeyDef *PrimaryKeyDef_ptr;
+// Forward Classes Declaration
+class _TAO_PrimaryKeyDef_ThruPOA_Proxy_Impl;
+class _TAO_PrimaryKeyDef_Strategized_Proxy_Broker;
+
+class PrimaryKeyDef : public virtual POA_CORBA::Contained
+{
+protected:
+ PrimaryKeyDef (void);
+
+public:
+ PrimaryKeyDef (const PrimaryKeyDef& rhs);
+ virtual ~PrimaryKeyDef (void);
+
+
+ virtual CORBA::Boolean _is_a (
+ const char* logical_type_id,
+ CORBA::Environment &ACE_TRY_ENV =
+ TAO_default_environment ()
+ );
+
+ virtual void* _downcast (
+ const char* logical_type_id
+ );
+
+ static void _is_a_skel (
+ TAO_ServerRequest &req,
+ void *obj,
+ void *context,
+ CORBA::Environment &ACE_TRY_ENV =
+ TAO_default_environment ()
+ );
+
+ static void _non_existent_skel (
+ TAO_ServerRequest &req,
+ void *obj,
+ void *context,
+ CORBA::Environment &ACE_TRY_ENV =
+ TAO_default_environment ()
+ );
+
+ virtual void _dispatch (
+ TAO_ServerRequest &_tao_req,
+ void *_tao_context,
+ CORBA::Environment &ACE_TRY_ENV =
+ TAO_default_environment ()
+ );
+
+ ::IR::PrimaryKeyDef *_this (
+ CORBA::Environment &ACE_TRY_ENV =
+ TAO_default_environment ()
+ );
+
+ virtual const char* _interface_repository_id (void) const;
+
+ virtual CORBA::Boolean is_a (
+ const char * primary_key_id,
+ CORBA::Environment &ACE_TRY_ENV =
+ TAO_default_environment ()
+ )
+ ACE_THROW_SPEC ((
+ CORBA::SystemException
+ )) = 0;
+
+ static void is_a_skel (
+ TAO_ServerRequest &_tao_req,
+ void *_tao_obj,
+ void *_tao_context,
+ CORBA::Environment &ACE_TRY_ENV =
+ TAO_default_environment ()
+ );
+
+ virtual CORBA::ValueDef_ptr primary_key (
+ CORBA::Environment &ACE_TRY_ENV =
+ TAO_default_environment ()
+ )
+ ACE_THROW_SPEC ((
+ CORBA::SystemException
+ )) = 0;
+
+ static void _get_primary_key_skel (
+ TAO_ServerRequest &_tao_req,
+ void *_tao_obj,
+ void *_tao_context,
+ CORBA::Environment &ACE_TRY_ENV =
+ TAO_default_environment ()
+ );
+
+ static void _get_id_skel (
+ TAO_ServerRequest &req,
+ void *obj,
+ void *context,
+ CORBA::Environment &ACE_TRY_ENV =
+ TAO_default_environment ()
+ );
+
+ static void _set_id_skel (
+ TAO_ServerRequest &req,
+ void *obj,
+ void *context,
+ CORBA::Environment &ACE_TRY_ENV =
+ TAO_default_environment ()
+ );
+
+ static void _get_name_skel (
+ TAO_ServerRequest &req,
+ void *obj,
+ void *context,
+ CORBA::Environment &ACE_TRY_ENV =
+ TAO_default_environment ()
+ );
+
+ static void _set_name_skel (
+ TAO_ServerRequest &req,
+ void *obj,
+ void *context,
+ CORBA::Environment &ACE_TRY_ENV =
+ TAO_default_environment ()
+ );
+
+ static void _get_version_skel (
+ TAO_ServerRequest &req,
+ void *obj,
+ void *context,
+ CORBA::Environment &ACE_TRY_ENV =
+ TAO_default_environment ()
+ );
+
+ static void _set_version_skel (
+ TAO_ServerRequest &req,
+ void *obj,
+ void *context,
+ CORBA::Environment &ACE_TRY_ENV =
+ TAO_default_environment ()
+ );
+
+ static void _get_defined_in_skel (
+ TAO_ServerRequest &req,
+ void *obj,
+ void *context,
+ CORBA::Environment &ACE_TRY_ENV =
+ TAO_default_environment ()
+ );
+
+ static void _get_absolute_name_skel (
+ TAO_ServerRequest &req,
+ void *obj,
+ void *context,
+ CORBA::Environment &ACE_TRY_ENV =
+ TAO_default_environment ()
+ );
+
+ static void _get_containing_repository_skel (
+ TAO_ServerRequest &req,
+ void *obj,
+ void *context,
+ CORBA::Environment &ACE_TRY_ENV =
+ TAO_default_environment ()
+ );
+
+ static void describe_skel (
+ TAO_ServerRequest &req,
+ void *obj,
+ void *context,
+ CORBA::Environment &ACE_TRY_ENV =
+ TAO_default_environment ()
+ );
+
+ static void move_skel (
+ TAO_ServerRequest &req,
+ void *obj,
+ void *context,
+ CORBA::Environment &ACE_TRY_ENV =
+ TAO_default_environment ()
+ );
+
+ static void _get_def_kind_skel (
+ TAO_ServerRequest &req,
+ void *obj,
+ void *context,
+ CORBA::Environment &ACE_TRY_ENV =
+ TAO_default_environment ()
+ );
+
+ static void destroy_skel (
+ TAO_ServerRequest &req,
+ void *obj,
+ void *context,
+ CORBA::Environment &ACE_TRY_ENV =
+ TAO_default_environment ()
+ );
+
+
+#if (TAO_HAS_INTERCEPTORS == 1)
+ // Generation of interceptors related RequestInfo classes per operation.
+ // This needed to be able to store the arguments, exceptions, contexts
+ // and build the lists dynamically on demand so that unnecessary time overhead
+ // of building these lists when they arent used is avoided.
+ class TAO_ServerRequestInfo_IR_PrimaryKeyDef_is_a : public TAO_ServerRequestInfo
+ {
+ public:
+ friend class POA_IR::PrimaryKeyDef;
+ TAO_ServerRequestInfo_IR_PrimaryKeyDef_is_a (
+ TAO_ServerRequest &_tao_server_request,
+ POA_IR::PrimaryKeyDef *tao_impl,
+ const char * primary_key_id,
+ CORBA::Environment &ACE_TRY_ENV =
+ TAO_default_environment ()
+ );
+
+ virtual Dynamic::ParameterList * arguments (
+ CORBA::Environment &ACE_TRY_ENV =
+ TAO_default_environment ()
+ )
+ ACE_THROW_SPEC ((CORBA::SystemException));
+
+ virtual Dynamic::ExceptionList * exceptions (
+ CORBA::Environment &ACE_TRY_ENV =
+ TAO_default_environment ()
+ )
+ ACE_THROW_SPEC ((CORBA::SystemException));
+
+ virtual CORBA::Any * result (
+ CORBA::Environment &ACE_TRY_ENV =
+ TAO_default_environment ()
+ )
+ ACE_THROW_SPEC ((CORBA::SystemException));
+
+ virtual char * target_most_derived_interface (
+ CORBA::Environment &ACE_TRY_ENV = TAO_default_environment ())
+ ACE_THROW_SPEC ((CORBA::SystemException));
+
+ virtual CORBA::Boolean target_is_a (
+ const char * id,
+ CORBA::Environment &ACE_TRY_ENV = TAO_default_environment ())
+ ACE_THROW_SPEC ((CORBA::SystemException));
+
+ private:
+ TAO_ServerRequestInfo_IR_PrimaryKeyDef_is_a (const TAO_ServerRequestInfo_IR_PrimaryKeyDef_is_a &);
+ void operator= (const TAO_ServerRequestInfo_IR_PrimaryKeyDef_is_a &);
+
+ private:
+ POA_IR::PrimaryKeyDef *_tao_impl;
+ const char * primary_key_id_;
+ void result (CORBA::Boolean result);
+ // update the result
+ CORBA::Boolean _result;
+ };
+
+ class TAO_ServerRequestInfo_IR_PrimaryKeyDef_primary_key_get : public TAO_ServerRequestInfo
+ {
+ public:
+ friend class POA_IR::PrimaryKeyDef;
+ TAO_ServerRequestInfo_IR_PrimaryKeyDef_primary_key_get (
+ TAO_ServerRequest &_tao_server_request,
+ POA_IR::PrimaryKeyDef *tao_impl,
+ CORBA::Environment &ACE_TRY_ENV =
+ TAO_default_environment ()
+ );
+
+ virtual Dynamic::ParameterList * arguments (
+ CORBA::Environment &ACE_TRY_ENV =
+ TAO_default_environment ()
+ )
+ ACE_THROW_SPEC ((CORBA::SystemException));
+
+ virtual Dynamic::ExceptionList * exceptions (
+ CORBA::Environment &ACE_TRY_ENV =
+ TAO_default_environment ()
+ )
+ ACE_THROW_SPEC ((CORBA::SystemException));
+
+ virtual CORBA::Any * result (
+ CORBA::Environment &ACE_TRY_ENV =
+ TAO_default_environment ()
+ )
+ ACE_THROW_SPEC ((CORBA::SystemException));
+
+ virtual char * target_most_derived_interface (
+ CORBA::Environment &ACE_TRY_ENV = TAO_default_environment ())
+ ACE_THROW_SPEC ((CORBA::SystemException));
+
+ virtual CORBA::Boolean target_is_a (
+ const char * id,
+ CORBA::Environment &ACE_TRY_ENV = TAO_default_environment ())
+ ACE_THROW_SPEC ((CORBA::SystemException));
+
+ private:
+ TAO_ServerRequestInfo_IR_PrimaryKeyDef_primary_key_get (const TAO_ServerRequestInfo_IR_PrimaryKeyDef_primary_key_get &);
+ void operator= (const TAO_ServerRequestInfo_IR_PrimaryKeyDef_primary_key_get &);
+
+ private:
+ POA_IR::PrimaryKeyDef *_tao_impl;
+ void result (CORBA::ValueDef_ptr result);
+ // update the result
+ CORBA::ValueDef_ptr _result;
+ };
+
+ #endif /* TAO_HAS_INTERCEPTORS */
+
+};
+
+
+///////////////////////////////////////////////////////////////////////
+// Strategized Proxy Broker Declaration
+//
+
+class _TAO_PrimaryKeyDef_Strategized_Proxy_Broker : public virtual ::IR::_TAO_PrimaryKeyDef_Proxy_Broker
+{
+public:
+ _TAO_PrimaryKeyDef_Strategized_Proxy_Broker (void);
+
+ virtual ~_TAO_PrimaryKeyDef_Strategized_Proxy_Broker (void);
+
+ virtual ::IR::_TAO_PrimaryKeyDef_Proxy_Impl &select_proxy (
+ ::IR::PrimaryKeyDef *object,
+ CORBA_Environment &ACE_TRY_ENV = TAO_default_environment ()
+ );
+
+private:
+
+// Helper methods that takes care to create the proxy
+// as soon as their use is necessary.
+ void create_proxy (
+ int strategy,
+ CORBA::Environment &ACE_TRY_ENV
+ );
+
+private:
+
+ // Caches the proxy implementations. The proxy implementation
+ // are totally stateless, and those can be shared by all the
+ // instances of a given IDL interface type.
+ ::IR::_TAO_PrimaryKeyDef_Proxy_Impl
+ *proxy_cache_[TAO_Collocation_Strategies::CS_LAST];
+
+ TAO_SYNCH_MUTEX mutex_;
+// This funxtion is used to get an handle to the unique instance
+// of the Strategized Proxy Broker that is available for a given
+// interface.
+
+public:
+ static _TAO_PrimaryKeyDef_Strategized_Proxy_Broker *the_TAO_PrimaryKeyDef_Strategized_Proxy_Broker (void);
+};
+
+
+//
+// End Strategized Proxy Broker Declaration
+///////////////////////////////////////////////////////////////////////
+
+
+///////////////////////////////////////////////////////////////////////
+// ThruPOA Impl. Declaration
+//
+
+class _TAO_PrimaryKeyDef_ThruPOA_Proxy_Impl :
+ public virtual ::IR::_TAO_PrimaryKeyDef_Proxy_Impl,
+ public virtual TAO_ThruPOA_Object_Proxy_Impl,
+ public virtual ::POA_CORBA::_TAO_Contained_ThruPOA_Proxy_Impl
+
+{
+public:
+ _TAO_PrimaryKeyDef_ThruPOA_Proxy_Impl (void);
+
+ virtual ~_TAO_PrimaryKeyDef_ThruPOA_Proxy_Impl (void) { }
+
+ virtual CORBA::Boolean is_a (
+ CORBA_Object *_collocated_tao_target_,
+ const char * primary_key_id,
+ CORBA::Environment &ACE_TRY_ENV
+ )
+ ACE_THROW_SPEC ((
+ CORBA::SystemException
+ ));
+
+ virtual CORBA::ValueDef_ptr primary_key (
+ CORBA_Object *_collocated_tao_target_,
+ CORBA::Environment &ACE_TRY_ENV
+ )
+ ACE_THROW_SPEC ((
+ CORBA::SystemException
+ ));
+
+};
+
+
+//
+// ThruPOA Proxy Impl. Declaration
+///////////////////////////////////////////////////////////////////////
+
+
+#if defined (ACE_HAS_USING_KEYWORD)
+// TIE class: Refer to CORBA v2.2, Section 20.34.4
+template <class T>
+class PrimaryKeyDef_tie : public PrimaryKeyDef
+{
+public:
+ PrimaryKeyDef_tie (T &t);
+ // the T& ctor
+ PrimaryKeyDef_tie (T &t, PortableServer::POA_ptr poa);
+ // ctor taking a POA
+ PrimaryKeyDef_tie (T *tp, CORBA::Boolean release=1);
+ // ctor taking pointer and an ownership flag
+ PrimaryKeyDef_tie (T *tp, PortableServer::POA_ptr poa, CORBA::Boolean release=1);
+ // ctor with T*, ownership flag and a POA
+ ~PrimaryKeyDef_tie (void);
+ // dtor
+
+ // TIE specific functions
+ T *_tied_object (void);
+ // return the underlying object
+ void _tied_object (T &obj);
+ // set the underlying object
+ void _tied_object (T *obj, CORBA::Boolean release=1);
+ // set the underlying object and the ownership flag
+ CORBA::Boolean _is_owner (void);
+ // do we own it
+ void _is_owner (CORBA::Boolean b);
+ // set the ownership
+
+ // overridden ServantBase operations
+ PortableServer::POA_ptr _default_POA (
+ CORBA::Environment &ACE_TRY_ENV =
+ TAO_default_environment ()
+ );
+ CORBA::Boolean is_a (
+ const char * primary_key_id,
+ CORBA::Environment &ACE_TRY_ENV =
+ TAO_default_environment ()
+ )
+ ACE_THROW_SPEC ((
+ CORBA::SystemException
+ ));
+
+ CORBA::ValueDef_ptr primary_key (
+ CORBA::Environment &ACE_TRY_ENV =
+ TAO_default_environment ()
+ )
+ ACE_THROW_SPEC ((
+ CORBA::SystemException
+ ));
+
+ char * id (
+ CORBA::Environment &ACE_TRY_ENV =
+ TAO_default_environment ()
+ )
+ ACE_THROW_SPEC ((
+ CORBA::SystemException
+ ));
+
+ void id (
+ const char * id,
+ CORBA::Environment &ACE_TRY_ENV =
+ TAO_default_environment ()
+ )
+ ACE_THROW_SPEC ((
+ CORBA::SystemException
+ ));
+
+ char * name (
+ CORBA::Environment &ACE_TRY_ENV =
+ TAO_default_environment ()
+ )
+ ACE_THROW_SPEC ((
+ CORBA::SystemException
+ ));
+
+ void name (
+ const char * name,
+ CORBA::Environment &ACE_TRY_ENV =
+ TAO_default_environment ()
+ )
+ ACE_THROW_SPEC ((
+ CORBA::SystemException
+ ));
+
+ char * version (
+ CORBA::Environment &ACE_TRY_ENV =
+ TAO_default_environment ()
+ )
+ ACE_THROW_SPEC ((
+ CORBA::SystemException
+ ));
+
+ void version (
+ const char * version,
+ CORBA::Environment &ACE_TRY_ENV =
+ TAO_default_environment ()
+ )
+ ACE_THROW_SPEC ((
+ CORBA::SystemException
+ ));
+
+ CORBA::Container_ptr defined_in (
+ CORBA::Environment &ACE_TRY_ENV =
+ TAO_default_environment ()
+ )
+ ACE_THROW_SPEC ((
+ CORBA::SystemException
+ ));
+
+ char * absolute_name (
+ CORBA::Environment &ACE_TRY_ENV =
+ TAO_default_environment ()
+ )
+ ACE_THROW_SPEC ((
+ CORBA::SystemException
+ ));
+
+ CORBA::Repository_ptr containing_repository (
+ CORBA::Environment &ACE_TRY_ENV =
+ TAO_default_environment ()
+ )
+ ACE_THROW_SPEC ((
+ CORBA::SystemException
+ ));
+
+ CORBA::Contained::Description * describe (
+ CORBA::Environment &ACE_TRY_ENV =
+ TAO_default_environment ()
+ )
+ ACE_THROW_SPEC ((
+ CORBA::SystemException
+ ));
+
+ void move (
+ CORBA::Container_ptr new_container,
+ const char * new_name,
+ const char * new_version,
+ CORBA::Environment &ACE_TRY_ENV =
+ TAO_default_environment ()
+ )
+ ACE_THROW_SPEC ((
+ CORBA::SystemException
+ ));
+
+ CORBA::DefinitionKind def_kind (
+ CORBA::Environment &ACE_TRY_ENV =
+ TAO_default_environment ()
+ )
+ ACE_THROW_SPEC ((
+ CORBA::SystemException
+ ));
+
+ void destroy (
+ CORBA::Environment &ACE_TRY_ENV =
+ TAO_default_environment ()
+ )
+ ACE_THROW_SPEC ((
+ CORBA::SystemException
+ ));
+
+private:
+ T *ptr_;
+ PortableServer::POA_var poa_;
+ CORBA::Boolean rel_;
+
+ // copy and assignment are not allowed
+ PrimaryKeyDef_tie (const PrimaryKeyDef_tie &);
+ void operator= (const PrimaryKeyDef_tie &);
+};
+
+#endif /* ACE_HAS_USING_KEYWORD */
+
+class FactoryDef;
+typedef FactoryDef *FactoryDef_ptr;
+// Forward Classes Declaration
+class _TAO_FactoryDef_ThruPOA_Proxy_Impl;
+class _TAO_FactoryDef_Strategized_Proxy_Broker;
+
+class FactoryDef : public virtual POA_CORBA::OperationDef
+{
+protected:
+ FactoryDef (void);
+
+public:
+ FactoryDef (const FactoryDef& rhs);
+ virtual ~FactoryDef (void);
+
+
+ virtual CORBA::Boolean _is_a (
+ const char* logical_type_id,
+ CORBA::Environment &ACE_TRY_ENV =
+ TAO_default_environment ()
+ );
+
+ virtual void* _downcast (
+ const char* logical_type_id
+ );
+
+ static void _is_a_skel (
+ TAO_ServerRequest &req,
+ void *obj,
+ void *context,
+ CORBA::Environment &ACE_TRY_ENV =
+ TAO_default_environment ()
+ );
+
+ static void _non_existent_skel (
+ TAO_ServerRequest &req,
+ void *obj,
+ void *context,
+ CORBA::Environment &ACE_TRY_ENV =
+ TAO_default_environment ()
+ );
+
+ virtual void _dispatch (
+ TAO_ServerRequest &_tao_req,
+ void *_tao_context,
+ CORBA::Environment &ACE_TRY_ENV =
+ TAO_default_environment ()
+ );
+
+ ::IR::FactoryDef *_this (
+ CORBA::Environment &ACE_TRY_ENV =
+ TAO_default_environment ()
+ );
+
+ virtual const char* _interface_repository_id (void) const;
+
+ static void _get_result_skel (
+ TAO_ServerRequest &req,
+ void *obj,
+ void *context,
+ CORBA::Environment &ACE_TRY_ENV =
+ TAO_default_environment ()
+ );
+
+ static void _get_result_def_skel (
+ TAO_ServerRequest &req,
+ void *obj,
+ void *context,
+ CORBA::Environment &ACE_TRY_ENV =
+ TAO_default_environment ()
+ );
+
+ static void _set_result_def_skel (
+ TAO_ServerRequest &req,
+ void *obj,
+ void *context,
+ CORBA::Environment &ACE_TRY_ENV =
+ TAO_default_environment ()
+ );
+
+ static void _get_params_skel (
+ TAO_ServerRequest &req,
+ void *obj,
+ void *context,
+ CORBA::Environment &ACE_TRY_ENV =
+ TAO_default_environment ()
+ );
+
+ static void _set_params_skel (
+ TAO_ServerRequest &req,
+ void *obj,
+ void *context,
+ CORBA::Environment &ACE_TRY_ENV =
+ TAO_default_environment ()
+ );
+
+ static void _get_mode_skel (
+ TAO_ServerRequest &req,
+ void *obj,
+ void *context,
+ CORBA::Environment &ACE_TRY_ENV =
+ TAO_default_environment ()
+ );
+
+ static void _set_mode_skel (
+ TAO_ServerRequest &req,
+ void *obj,
+ void *context,
+ CORBA::Environment &ACE_TRY_ENV =
+ TAO_default_environment ()
+ );
+
+ static void _get_contexts_skel (
+ TAO_ServerRequest &req,
+ void *obj,
+ void *context,
+ CORBA::Environment &ACE_TRY_ENV =
+ TAO_default_environment ()
+ );
+
+ static void _set_contexts_skel (
+ TAO_ServerRequest &req,
+ void *obj,
+ void *context,
+ CORBA::Environment &ACE_TRY_ENV =
+ TAO_default_environment ()
+ );
+
+ static void _get_exceptions_skel (
+ TAO_ServerRequest &req,
+ void *obj,
+ void *context,
+ CORBA::Environment &ACE_TRY_ENV =
+ TAO_default_environment ()
+ );
+
+ static void _set_exceptions_skel (
+ TAO_ServerRequest &req,
+ void *obj,
+ void *context,
+ CORBA::Environment &ACE_TRY_ENV =
+ TAO_default_environment ()
+ );
+
+ static void _get_id_skel (
+ TAO_ServerRequest &req,
+ void *obj,
+ void *context,
+ CORBA::Environment &ACE_TRY_ENV =
+ TAO_default_environment ()
+ );
+
+ static void _set_id_skel (
+ TAO_ServerRequest &req,
+ void *obj,
+ void *context,
+ CORBA::Environment &ACE_TRY_ENV =
+ TAO_default_environment ()
+ );
+
+ static void _get_name_skel (
+ TAO_ServerRequest &req,
+ void *obj,
+ void *context,
+ CORBA::Environment &ACE_TRY_ENV =
+ TAO_default_environment ()
+ );
+
+ static void _set_name_skel (
+ TAO_ServerRequest &req,
+ void *obj,
+ void *context,
+ CORBA::Environment &ACE_TRY_ENV =
+ TAO_default_environment ()
+ );
+
+ static void _get_version_skel (
+ TAO_ServerRequest &req,
+ void *obj,
+ void *context,
+ CORBA::Environment &ACE_TRY_ENV =
+ TAO_default_environment ()
+ );
+
+ static void _set_version_skel (
+ TAO_ServerRequest &req,
+ void *obj,
+ void *context,
+ CORBA::Environment &ACE_TRY_ENV =
+ TAO_default_environment ()
+ );
+
+ static void _get_defined_in_skel (
+ TAO_ServerRequest &req,
+ void *obj,
+ void *context,
+ CORBA::Environment &ACE_TRY_ENV =
+ TAO_default_environment ()
+ );
+
+ static void _get_absolute_name_skel (
+ TAO_ServerRequest &req,
+ void *obj,
+ void *context,
+ CORBA::Environment &ACE_TRY_ENV =
+ TAO_default_environment ()
+ );
+
+ static void _get_containing_repository_skel (
+ TAO_ServerRequest &req,
+ void *obj,
+ void *context,
+ CORBA::Environment &ACE_TRY_ENV =
+ TAO_default_environment ()
+ );
+
+ static void describe_skel (
+ TAO_ServerRequest &req,
+ void *obj,
+ void *context,
+ CORBA::Environment &ACE_TRY_ENV =
+ TAO_default_environment ()
+ );
+
+ static void move_skel (
+ TAO_ServerRequest &req,
+ void *obj,
+ void *context,
+ CORBA::Environment &ACE_TRY_ENV =
+ TAO_default_environment ()
+ );
+
+ static void _get_def_kind_skel (
+ TAO_ServerRequest &req,
+ void *obj,
+ void *context,
+ CORBA::Environment &ACE_TRY_ENV =
+ TAO_default_environment ()
+ );
+
+ static void destroy_skel (
+ TAO_ServerRequest &req,
+ void *obj,
+ void *context,
+ CORBA::Environment &ACE_TRY_ENV =
+ TAO_default_environment ()
+ );
+
+
+#if (TAO_HAS_INTERCEPTORS == 1)
+ // Generation of interceptors related RequestInfo classes per operation.
+ // This needed to be able to store the arguments, exceptions, contexts
+ // and build the lists dynamically on demand so that unnecessary time overhead
+ // of building these lists when they arent used is avoided.
+ #endif /* TAO_HAS_INTERCEPTORS */
+
+};
+
+
+///////////////////////////////////////////////////////////////////////
+// Strategized Proxy Broker Declaration
+//
+
+class _TAO_FactoryDef_Strategized_Proxy_Broker : public virtual ::IR::_TAO_FactoryDef_Proxy_Broker
+{
+public:
+ _TAO_FactoryDef_Strategized_Proxy_Broker (void);
+
+ virtual ~_TAO_FactoryDef_Strategized_Proxy_Broker (void);
+
+ virtual ::IR::_TAO_FactoryDef_Proxy_Impl &select_proxy (
+ ::IR::FactoryDef *object,
+ CORBA_Environment &ACE_TRY_ENV = TAO_default_environment ()
+ );
+
+private:
+
+// Helper methods that takes care to create the proxy
+// as soon as their use is necessary.
+ void create_proxy (
+ int strategy,
+ CORBA::Environment &ACE_TRY_ENV
+ );
+
+private:
+
+ // Caches the proxy implementations. The proxy implementation
+ // are totally stateless, and those can be shared by all the
+ // instances of a given IDL interface type.
+ ::IR::_TAO_FactoryDef_Proxy_Impl
+ *proxy_cache_[TAO_Collocation_Strategies::CS_LAST];
+
+ TAO_SYNCH_MUTEX mutex_;
+// This funxtion is used to get an handle to the unique instance
+// of the Strategized Proxy Broker that is available for a given
+// interface.
+
+public:
+ static _TAO_FactoryDef_Strategized_Proxy_Broker *the_TAO_FactoryDef_Strategized_Proxy_Broker (void);
+};
+
+
+//
+// End Strategized Proxy Broker Declaration
+///////////////////////////////////////////////////////////////////////
+
+
+///////////////////////////////////////////////////////////////////////
+// ThruPOA Impl. Declaration
+//
+
+class _TAO_FactoryDef_ThruPOA_Proxy_Impl :
+ public virtual ::IR::_TAO_FactoryDef_Proxy_Impl,
+ public virtual TAO_ThruPOA_Object_Proxy_Impl,
+ public virtual ::POA_CORBA::_TAO_OperationDef_ThruPOA_Proxy_Impl
+
+{
+public:
+ _TAO_FactoryDef_ThruPOA_Proxy_Impl (void);
+
+ virtual ~_TAO_FactoryDef_ThruPOA_Proxy_Impl (void) { }
+
+ };
+
+
+//
+// ThruPOA Proxy Impl. Declaration
+///////////////////////////////////////////////////////////////////////
+
+
+#if defined (ACE_HAS_USING_KEYWORD)
+// TIE class: Refer to CORBA v2.2, Section 20.34.4
+template <class T>
+class FactoryDef_tie : public FactoryDef
+{
+public:
+ FactoryDef_tie (T &t);
+ // the T& ctor
+ FactoryDef_tie (T &t, PortableServer::POA_ptr poa);
+ // ctor taking a POA
+ FactoryDef_tie (T *tp, CORBA::Boolean release=1);
+ // ctor taking pointer and an ownership flag
+ FactoryDef_tie (T *tp, PortableServer::POA_ptr poa, CORBA::Boolean release=1);
+ // ctor with T*, ownership flag and a POA
+ ~FactoryDef_tie (void);
+ // dtor
+
+ // TIE specific functions
+ T *_tied_object (void);
+ // return the underlying object
+ void _tied_object (T &obj);
+ // set the underlying object
+ void _tied_object (T *obj, CORBA::Boolean release=1);
+ // set the underlying object and the ownership flag
+ CORBA::Boolean _is_owner (void);
+ // do we own it
+ void _is_owner (CORBA::Boolean b);
+ // set the ownership
+
+ // overridden ServantBase operations
+ PortableServer::POA_ptr _default_POA (
+ CORBA::Environment &ACE_TRY_ENV =
+ TAO_default_environment ()
+ );
+ CORBA::TypeCode_ptr result (
+ CORBA::Environment &ACE_TRY_ENV =
+ TAO_default_environment ()
+ )
+ ACE_THROW_SPEC ((
+ CORBA::SystemException
+ ));
+
+ CORBA::IDLType_ptr result_def (
+ CORBA::Environment &ACE_TRY_ENV =
+ TAO_default_environment ()
+ )
+ ACE_THROW_SPEC ((
+ CORBA::SystemException
+ ));
+
+ void result_def (
+ CORBA::IDLType_ptr result_def,
+ CORBA::Environment &ACE_TRY_ENV =
+ TAO_default_environment ()
+ )
+ ACE_THROW_SPEC ((
+ CORBA::SystemException
+ ));
+
+ CORBA::ParDescriptionSeq * params (
+ CORBA::Environment &ACE_TRY_ENV =
+ TAO_default_environment ()
+ )
+ ACE_THROW_SPEC ((
+ CORBA::SystemException
+ ));
+
+ void params (
+ const CORBA::ParDescriptionSeq & params,
+ CORBA::Environment &ACE_TRY_ENV =
+ TAO_default_environment ()
+ )
+ ACE_THROW_SPEC ((
+ CORBA::SystemException
+ ));
+
+ CORBA::OperationMode mode (
+ CORBA::Environment &ACE_TRY_ENV =
+ TAO_default_environment ()
+ )
+ ACE_THROW_SPEC ((
+ CORBA::SystemException
+ ));
+
+ void mode (
+ CORBA::OperationMode mode,
+ CORBA::Environment &ACE_TRY_ENV =
+ TAO_default_environment ()
+ )
+ ACE_THROW_SPEC ((
+ CORBA::SystemException
+ ));
+
+ CORBA::ContextIdSeq * contexts (
+ CORBA::Environment &ACE_TRY_ENV =
+ TAO_default_environment ()
+ )
+ ACE_THROW_SPEC ((
+ CORBA::SystemException
+ ));
+
+ void contexts (
+ const CORBA::ContextIdSeq & contexts,
+ CORBA::Environment &ACE_TRY_ENV =
+ TAO_default_environment ()
+ )
+ ACE_THROW_SPEC ((
+ CORBA::SystemException
+ ));
+
+ CORBA::ExceptionDefSeq * exceptions (
+ CORBA::Environment &ACE_TRY_ENV =
+ TAO_default_environment ()
+ )
+ ACE_THROW_SPEC ((
+ CORBA::SystemException
+ ));
+
+ void exceptions (
+ const CORBA::ExceptionDefSeq & exceptions,
+ CORBA::Environment &ACE_TRY_ENV =
+ TAO_default_environment ()
+ )
+ ACE_THROW_SPEC ((
+ CORBA::SystemException
+ ));
+
+ char * id (
+ CORBA::Environment &ACE_TRY_ENV =
+ TAO_default_environment ()
+ )
+ ACE_THROW_SPEC ((
+ CORBA::SystemException
+ ));
+
+ void id (
+ const char * id,
+ CORBA::Environment &ACE_TRY_ENV =
+ TAO_default_environment ()
+ )
+ ACE_THROW_SPEC ((
+ CORBA::SystemException
+ ));
+
+ char * name (
+ CORBA::Environment &ACE_TRY_ENV =
+ TAO_default_environment ()
+ )
+ ACE_THROW_SPEC ((
+ CORBA::SystemException
+ ));
+
+ void name (
+ const char * name,
+ CORBA::Environment &ACE_TRY_ENV =
+ TAO_default_environment ()
+ )
+ ACE_THROW_SPEC ((
+ CORBA::SystemException
+ ));
+
+ char * version (
+ CORBA::Environment &ACE_TRY_ENV =
+ TAO_default_environment ()
+ )
+ ACE_THROW_SPEC ((
+ CORBA::SystemException
+ ));
+
+ void version (
+ const char * version,
+ CORBA::Environment &ACE_TRY_ENV =
+ TAO_default_environment ()
+ )
+ ACE_THROW_SPEC ((
+ CORBA::SystemException
+ ));
+
+ CORBA::Container_ptr defined_in (
+ CORBA::Environment &ACE_TRY_ENV =
+ TAO_default_environment ()
+ )
+ ACE_THROW_SPEC ((
+ CORBA::SystemException
+ ));
+
+ char * absolute_name (
+ CORBA::Environment &ACE_TRY_ENV =
+ TAO_default_environment ()
+ )
+ ACE_THROW_SPEC ((
+ CORBA::SystemException
+ ));
+
+ CORBA::Repository_ptr containing_repository (
+ CORBA::Environment &ACE_TRY_ENV =
+ TAO_default_environment ()
+ )
+ ACE_THROW_SPEC ((
+ CORBA::SystemException
+ ));
+
+ CORBA::Contained::Description * describe (
+ CORBA::Environment &ACE_TRY_ENV =
+ TAO_default_environment ()
+ )
+ ACE_THROW_SPEC ((
+ CORBA::SystemException
+ ));
+
+ void move (
+ CORBA::Container_ptr new_container,
+ const char * new_name,
+ const char * new_version,
+ CORBA::Environment &ACE_TRY_ENV =
+ TAO_default_environment ()
+ )
+ ACE_THROW_SPEC ((
+ CORBA::SystemException
+ ));
+
+ CORBA::DefinitionKind def_kind (
+ CORBA::Environment &ACE_TRY_ENV =
+ TAO_default_environment ()
+ )
+ ACE_THROW_SPEC ((
+ CORBA::SystemException
+ ));
+
+ void destroy (
+ CORBA::Environment &ACE_TRY_ENV =
+ TAO_default_environment ()
+ )
+ ACE_THROW_SPEC ((
+ CORBA::SystemException
+ ));
+
+private:
+ T *ptr_;
+ PortableServer::POA_var poa_;
+ CORBA::Boolean rel_;
+
+ // copy and assignment are not allowed
+ FactoryDef_tie (const FactoryDef_tie &);
+ void operator= (const FactoryDef_tie &);
+};
+
+#endif /* ACE_HAS_USING_KEYWORD */
+
+class FinderDef;
+typedef FinderDef *FinderDef_ptr;
+// Forward Classes Declaration
+class _TAO_FinderDef_ThruPOA_Proxy_Impl;
+class _TAO_FinderDef_Strategized_Proxy_Broker;
+
+class FinderDef : public virtual POA_CORBA::OperationDef
+{
+protected:
+ FinderDef (void);
+
+public:
+ FinderDef (const FinderDef& rhs);
+ virtual ~FinderDef (void);
+
+
+ virtual CORBA::Boolean _is_a (
+ const char* logical_type_id,
+ CORBA::Environment &ACE_TRY_ENV =
+ TAO_default_environment ()
+ );
+
+ virtual void* _downcast (
+ const char* logical_type_id
+ );
+
+ static void _is_a_skel (
+ TAO_ServerRequest &req,
+ void *obj,
+ void *context,
+ CORBA::Environment &ACE_TRY_ENV =
+ TAO_default_environment ()
+ );
+
+ static void _non_existent_skel (
+ TAO_ServerRequest &req,
+ void *obj,
+ void *context,
+ CORBA::Environment &ACE_TRY_ENV =
+ TAO_default_environment ()
+ );
+
+ virtual void _dispatch (
+ TAO_ServerRequest &_tao_req,
+ void *_tao_context,
+ CORBA::Environment &ACE_TRY_ENV =
+ TAO_default_environment ()
+ );
+
+ ::IR::FinderDef *_this (
+ CORBA::Environment &ACE_TRY_ENV =
+ TAO_default_environment ()
+ );
+
+ virtual const char* _interface_repository_id (void) const;
+
+ static void _get_result_skel (
+ TAO_ServerRequest &req,
+ void *obj,
+ void *context,
+ CORBA::Environment &ACE_TRY_ENV =
+ TAO_default_environment ()
+ );
+
+ static void _get_result_def_skel (
+ TAO_ServerRequest &req,
+ void *obj,
+ void *context,
+ CORBA::Environment &ACE_TRY_ENV =
+ TAO_default_environment ()
+ );
+
+ static void _set_result_def_skel (
+ TAO_ServerRequest &req,
+ void *obj,
+ void *context,
+ CORBA::Environment &ACE_TRY_ENV =
+ TAO_default_environment ()
+ );
+
+ static void _get_params_skel (
+ TAO_ServerRequest &req,
+ void *obj,
+ void *context,
+ CORBA::Environment &ACE_TRY_ENV =
+ TAO_default_environment ()
+ );
+
+ static void _set_params_skel (
+ TAO_ServerRequest &req,
+ void *obj,
+ void *context,
+ CORBA::Environment &ACE_TRY_ENV =
+ TAO_default_environment ()
+ );
+
+ static void _get_mode_skel (
+ TAO_ServerRequest &req,
+ void *obj,
+ void *context,
+ CORBA::Environment &ACE_TRY_ENV =
+ TAO_default_environment ()
+ );
+
+ static void _set_mode_skel (
+ TAO_ServerRequest &req,
+ void *obj,
+ void *context,
+ CORBA::Environment &ACE_TRY_ENV =
+ TAO_default_environment ()
+ );
+
+ static void _get_contexts_skel (
+ TAO_ServerRequest &req,
+ void *obj,
+ void *context,
+ CORBA::Environment &ACE_TRY_ENV =
+ TAO_default_environment ()
+ );
+
+ static void _set_contexts_skel (
+ TAO_ServerRequest &req,
+ void *obj,
+ void *context,
+ CORBA::Environment &ACE_TRY_ENV =
+ TAO_default_environment ()
+ );
+
+ static void _get_exceptions_skel (
+ TAO_ServerRequest &req,
+ void *obj,
+ void *context,
+ CORBA::Environment &ACE_TRY_ENV =
+ TAO_default_environment ()
+ );
+
+ static void _set_exceptions_skel (
+ TAO_ServerRequest &req,
+ void *obj,
+ void *context,
+ CORBA::Environment &ACE_TRY_ENV =
+ TAO_default_environment ()
+ );
+
+ static void _get_id_skel (
+ TAO_ServerRequest &req,
+ void *obj,
+ void *context,
+ CORBA::Environment &ACE_TRY_ENV =
+ TAO_default_environment ()
+ );
+
+ static void _set_id_skel (
+ TAO_ServerRequest &req,
+ void *obj,
+ void *context,
+ CORBA::Environment &ACE_TRY_ENV =
+ TAO_default_environment ()
+ );
+
+ static void _get_name_skel (
+ TAO_ServerRequest &req,
+ void *obj,
+ void *context,
+ CORBA::Environment &ACE_TRY_ENV =
+ TAO_default_environment ()
+ );
+
+ static void _set_name_skel (
+ TAO_ServerRequest &req,
+ void *obj,
+ void *context,
+ CORBA::Environment &ACE_TRY_ENV =
+ TAO_default_environment ()
+ );
+
+ static void _get_version_skel (
+ TAO_ServerRequest &req,
+ void *obj,
+ void *context,
+ CORBA::Environment &ACE_TRY_ENV =
+ TAO_default_environment ()
+ );
+
+ static void _set_version_skel (
+ TAO_ServerRequest &req,
+ void *obj,
+ void *context,
+ CORBA::Environment &ACE_TRY_ENV =
+ TAO_default_environment ()
+ );
+
+ static void _get_defined_in_skel (
+ TAO_ServerRequest &req,
+ void *obj,
+ void *context,
+ CORBA::Environment &ACE_TRY_ENV =
+ TAO_default_environment ()
+ );
+
+ static void _get_absolute_name_skel (
+ TAO_ServerRequest &req,
+ void *obj,
+ void *context,
+ CORBA::Environment &ACE_TRY_ENV =
+ TAO_default_environment ()
+ );
+
+ static void _get_containing_repository_skel (
+ TAO_ServerRequest &req,
+ void *obj,
+ void *context,
+ CORBA::Environment &ACE_TRY_ENV =
+ TAO_default_environment ()
+ );
+
+ static void describe_skel (
+ TAO_ServerRequest &req,
+ void *obj,
+ void *context,
+ CORBA::Environment &ACE_TRY_ENV =
+ TAO_default_environment ()
+ );
+
+ static void move_skel (
+ TAO_ServerRequest &req,
+ void *obj,
+ void *context,
+ CORBA::Environment &ACE_TRY_ENV =
+ TAO_default_environment ()
+ );
+
+ static void _get_def_kind_skel (
+ TAO_ServerRequest &req,
+ void *obj,
+ void *context,
+ CORBA::Environment &ACE_TRY_ENV =
+ TAO_default_environment ()
+ );
+
+ static void destroy_skel (
+ TAO_ServerRequest &req,
+ void *obj,
+ void *context,
+ CORBA::Environment &ACE_TRY_ENV =
+ TAO_default_environment ()
+ );
+
+
+#if (TAO_HAS_INTERCEPTORS == 1)
+ // Generation of interceptors related RequestInfo classes per operation.
+ // This needed to be able to store the arguments, exceptions, contexts
+ // and build the lists dynamically on demand so that unnecessary time overhead
+ // of building these lists when they arent used is avoided.
+ #endif /* TAO_HAS_INTERCEPTORS */
+
+};
+
+
+///////////////////////////////////////////////////////////////////////
+// Strategized Proxy Broker Declaration
+//
+
+class _TAO_FinderDef_Strategized_Proxy_Broker : public virtual ::IR::_TAO_FinderDef_Proxy_Broker
+{
+public:
+ _TAO_FinderDef_Strategized_Proxy_Broker (void);
+
+ virtual ~_TAO_FinderDef_Strategized_Proxy_Broker (void);
+
+ virtual ::IR::_TAO_FinderDef_Proxy_Impl &select_proxy (
+ ::IR::FinderDef *object,
+ CORBA_Environment &ACE_TRY_ENV = TAO_default_environment ()
+ );
+
+private:
+
+// Helper methods that takes care to create the proxy
+// as soon as their use is necessary.
+ void create_proxy (
+ int strategy,
+ CORBA::Environment &ACE_TRY_ENV
+ );
+
+private:
+
+ // Caches the proxy implementations. The proxy implementation
+ // are totally stateless, and those can be shared by all the
+ // instances of a given IDL interface type.
+ ::IR::_TAO_FinderDef_Proxy_Impl
+ *proxy_cache_[TAO_Collocation_Strategies::CS_LAST];
+
+ TAO_SYNCH_MUTEX mutex_;
+// This funxtion is used to get an handle to the unique instance
+// of the Strategized Proxy Broker that is available for a given
+// interface.
+
+public:
+ static _TAO_FinderDef_Strategized_Proxy_Broker *the_TAO_FinderDef_Strategized_Proxy_Broker (void);
+};
+
+
+//
+// End Strategized Proxy Broker Declaration
+///////////////////////////////////////////////////////////////////////
+
+
+///////////////////////////////////////////////////////////////////////
+// ThruPOA Impl. Declaration
+//
+
+class _TAO_FinderDef_ThruPOA_Proxy_Impl :
+ public virtual ::IR::_TAO_FinderDef_Proxy_Impl,
+ public virtual TAO_ThruPOA_Object_Proxy_Impl,
+ public virtual ::POA_CORBA::_TAO_OperationDef_ThruPOA_Proxy_Impl
+
+{
+public:
+ _TAO_FinderDef_ThruPOA_Proxy_Impl (void);
+
+ virtual ~_TAO_FinderDef_ThruPOA_Proxy_Impl (void) { }
+
+ };
+
+
+//
+// ThruPOA Proxy Impl. Declaration
+///////////////////////////////////////////////////////////////////////
+
+
+#if defined (ACE_HAS_USING_KEYWORD)
+// TIE class: Refer to CORBA v2.2, Section 20.34.4
+template <class T>
+class FinderDef_tie : public FinderDef
+{
+public:
+ FinderDef_tie (T &t);
+ // the T& ctor
+ FinderDef_tie (T &t, PortableServer::POA_ptr poa);
+ // ctor taking a POA
+ FinderDef_tie (T *tp, CORBA::Boolean release=1);
+ // ctor taking pointer and an ownership flag
+ FinderDef_tie (T *tp, PortableServer::POA_ptr poa, CORBA::Boolean release=1);
+ // ctor with T*, ownership flag and a POA
+ ~FinderDef_tie (void);
+ // dtor
+
+ // TIE specific functions
+ T *_tied_object (void);
+ // return the underlying object
+ void _tied_object (T &obj);
+ // set the underlying object
+ void _tied_object (T *obj, CORBA::Boolean release=1);
+ // set the underlying object and the ownership flag
+ CORBA::Boolean _is_owner (void);
+ // do we own it
+ void _is_owner (CORBA::Boolean b);
+ // set the ownership
+
+ // overridden ServantBase operations
+ PortableServer::POA_ptr _default_POA (
+ CORBA::Environment &ACE_TRY_ENV =
+ TAO_default_environment ()
+ );
+ CORBA::TypeCode_ptr result (
+ CORBA::Environment &ACE_TRY_ENV =
+ TAO_default_environment ()
+ )
+ ACE_THROW_SPEC ((
+ CORBA::SystemException
+ ));
+
+ CORBA::IDLType_ptr result_def (
+ CORBA::Environment &ACE_TRY_ENV =
+ TAO_default_environment ()
+ )
+ ACE_THROW_SPEC ((
+ CORBA::SystemException
+ ));
+
+ void result_def (
+ CORBA::IDLType_ptr result_def,
+ CORBA::Environment &ACE_TRY_ENV =
+ TAO_default_environment ()
+ )
+ ACE_THROW_SPEC ((
+ CORBA::SystemException
+ ));
+
+ CORBA::ParDescriptionSeq * params (
+ CORBA::Environment &ACE_TRY_ENV =
+ TAO_default_environment ()
+ )
+ ACE_THROW_SPEC ((
+ CORBA::SystemException
+ ));
+
+ void params (
+ const CORBA::ParDescriptionSeq & params,
+ CORBA::Environment &ACE_TRY_ENV =
+ TAO_default_environment ()
+ )
+ ACE_THROW_SPEC ((
+ CORBA::SystemException
+ ));
+
+ CORBA::OperationMode mode (
+ CORBA::Environment &ACE_TRY_ENV =
+ TAO_default_environment ()
+ )
+ ACE_THROW_SPEC ((
+ CORBA::SystemException
+ ));
+
+ void mode (
+ CORBA::OperationMode mode,
+ CORBA::Environment &ACE_TRY_ENV =
+ TAO_default_environment ()
+ )
+ ACE_THROW_SPEC ((
+ CORBA::SystemException
+ ));
+
+ CORBA::ContextIdSeq * contexts (
+ CORBA::Environment &ACE_TRY_ENV =
+ TAO_default_environment ()
+ )
+ ACE_THROW_SPEC ((
+ CORBA::SystemException
+ ));
+
+ void contexts (
+ const CORBA::ContextIdSeq & contexts,
+ CORBA::Environment &ACE_TRY_ENV =
+ TAO_default_environment ()
+ )
+ ACE_THROW_SPEC ((
+ CORBA::SystemException
+ ));
+
+ CORBA::ExceptionDefSeq * exceptions (
+ CORBA::Environment &ACE_TRY_ENV =
+ TAO_default_environment ()
+ )
+ ACE_THROW_SPEC ((
+ CORBA::SystemException
+ ));
+
+ void exceptions (
+ const CORBA::ExceptionDefSeq & exceptions,
+ CORBA::Environment &ACE_TRY_ENV =
+ TAO_default_environment ()
+ )
+ ACE_THROW_SPEC ((
+ CORBA::SystemException
+ ));
+
+ char * id (
+ CORBA::Environment &ACE_TRY_ENV =
+ TAO_default_environment ()
+ )
+ ACE_THROW_SPEC ((
+ CORBA::SystemException
+ ));
+
+ void id (
+ const char * id,
+ CORBA::Environment &ACE_TRY_ENV =
+ TAO_default_environment ()
+ )
+ ACE_THROW_SPEC ((
+ CORBA::SystemException
+ ));
+
+ char * name (
+ CORBA::Environment &ACE_TRY_ENV =
+ TAO_default_environment ()
+ )
+ ACE_THROW_SPEC ((
+ CORBA::SystemException
+ ));
+
+ void name (
+ const char * name,
+ CORBA::Environment &ACE_TRY_ENV =
+ TAO_default_environment ()
+ )
+ ACE_THROW_SPEC ((
+ CORBA::SystemException
+ ));
+
+ char * version (
+ CORBA::Environment &ACE_TRY_ENV =
+ TAO_default_environment ()
+ )
+ ACE_THROW_SPEC ((
+ CORBA::SystemException
+ ));
+
+ void version (
+ const char * version,
+ CORBA::Environment &ACE_TRY_ENV =
+ TAO_default_environment ()
+ )
+ ACE_THROW_SPEC ((
+ CORBA::SystemException
+ ));
+
+ CORBA::Container_ptr defined_in (
+ CORBA::Environment &ACE_TRY_ENV =
+ TAO_default_environment ()
+ )
+ ACE_THROW_SPEC ((
+ CORBA::SystemException
+ ));
+
+ char * absolute_name (
+ CORBA::Environment &ACE_TRY_ENV =
+ TAO_default_environment ()
+ )
+ ACE_THROW_SPEC ((
+ CORBA::SystemException
+ ));
+
+ CORBA::Repository_ptr containing_repository (
+ CORBA::Environment &ACE_TRY_ENV =
+ TAO_default_environment ()
+ )
+ ACE_THROW_SPEC ((
+ CORBA::SystemException
+ ));
+
+ CORBA::Contained::Description * describe (
+ CORBA::Environment &ACE_TRY_ENV =
+ TAO_default_environment ()
+ )
+ ACE_THROW_SPEC ((
+ CORBA::SystemException
+ ));
+
+ void move (
+ CORBA::Container_ptr new_container,
+ const char * new_name,
+ const char * new_version,
+ CORBA::Environment &ACE_TRY_ENV =
+ TAO_default_environment ()
+ )
+ ACE_THROW_SPEC ((
+ CORBA::SystemException
+ ));
+
+ CORBA::DefinitionKind def_kind (
+ CORBA::Environment &ACE_TRY_ENV =
+ TAO_default_environment ()
+ )
+ ACE_THROW_SPEC ((
+ CORBA::SystemException
+ ));
+
+ void destroy (
+ CORBA::Environment &ACE_TRY_ENV =
+ TAO_default_environment ()
+ )
+ ACE_THROW_SPEC ((
+ CORBA::SystemException
+ ));
+
+private:
+ T *ptr_;
+ PortableServer::POA_var poa_;
+ CORBA::Boolean rel_;
+
+ // copy and assignment are not allowed
+ FinderDef_tie (const FinderDef_tie &);
+ void operator= (const FinderDef_tie &);
+};
+
+#endif /* ACE_HAS_USING_KEYWORD */
+
+class HomeDef;
+typedef HomeDef *HomeDef_ptr;
+// Forward Classes Declaration
+class _TAO_HomeDef_ThruPOA_Proxy_Impl;
+class _TAO_HomeDef_Strategized_Proxy_Broker;
+
+class HomeDef : public virtual POA_CORBA::InterfaceDef
+{
+protected:
+ HomeDef (void);
+
+public:
+ HomeDef (const HomeDef& rhs);
+ virtual ~HomeDef (void);
+
+
+ virtual CORBA::Boolean _is_a (
+ const char* logical_type_id,
+ CORBA::Environment &ACE_TRY_ENV =
+ TAO_default_environment ()
+ );
+
+ virtual void* _downcast (
+ const char* logical_type_id
+ );
+
+ static void _is_a_skel (
+ TAO_ServerRequest &req,
+ void *obj,
+ void *context,
+ CORBA::Environment &ACE_TRY_ENV =
+ TAO_default_environment ()
+ );
+
+ static void _non_existent_skel (
+ TAO_ServerRequest &req,
+ void *obj,
+ void *context,
+ CORBA::Environment &ACE_TRY_ENV =
+ TAO_default_environment ()
+ );
+
+ virtual void _dispatch (
+ TAO_ServerRequest &_tao_req,
+ void *_tao_context,
+ CORBA::Environment &ACE_TRY_ENV =
+ TAO_default_environment ()
+ );
+
+ ::IR::HomeDef *_this (
+ CORBA::Environment &ACE_TRY_ENV =
+ TAO_default_environment ()
+ );
+
+ virtual const char* _interface_repository_id (void) const;
+
+ virtual IR::HomeDef_ptr base_home (
+ CORBA::Environment &ACE_TRY_ENV =
+ TAO_default_environment ()
+ )
+ ACE_THROW_SPEC ((
+ CORBA::SystemException
+ )) = 0;
+
+ static void _get_base_home_skel (
+ TAO_ServerRequest &_tao_req,
+ void *_tao_obj,
+ void *_tao_context,
+ CORBA::Environment &ACE_TRY_ENV =
+ TAO_default_environment ()
+ );
+
+ virtual IR::ComponentDef_ptr managed_component (
+ CORBA::Environment &ACE_TRY_ENV =
+ TAO_default_environment ()
+ )
+ ACE_THROW_SPEC ((
+ CORBA::SystemException
+ )) = 0;
+
+ static void _get_managed_component_skel (
+ TAO_ServerRequest &_tao_req,
+ void *_tao_obj,
+ void *_tao_context,
+ CORBA::Environment &ACE_TRY_ENV =
+ TAO_default_environment ()
+ );
+
+ virtual IR::PrimaryKeyDef_ptr primary_key (
+ CORBA::Environment &ACE_TRY_ENV =
+ TAO_default_environment ()
+ )
+ ACE_THROW_SPEC ((
+ CORBA::SystemException
+ )) = 0;
+
+ static void _get_primary_key_skel (
+ TAO_ServerRequest &_tao_req,
+ void *_tao_obj,
+ void *_tao_context,
+ CORBA::Environment &ACE_TRY_ENV =
+ TAO_default_environment ()
+ );
+
+ virtual IR::FactoryDefSeq * factories (
+ CORBA::Environment &ACE_TRY_ENV =
+ TAO_default_environment ()
+ )
+ ACE_THROW_SPEC ((
+ CORBA::SystemException
+ )) = 0;
+
+ static void _get_factories_skel (
+ TAO_ServerRequest &_tao_req,
+ void *_tao_obj,
+ void *_tao_context,
+ CORBA::Environment &ACE_TRY_ENV =
+ TAO_default_environment ()
+ );
+
+ virtual IR::FinderDefSeq * finders (
+ CORBA::Environment &ACE_TRY_ENV =
+ TAO_default_environment ()
+ )
+ ACE_THROW_SPEC ((
+ CORBA::SystemException
+ )) = 0;
+
+ static void _get_finders_skel (
+ TAO_ServerRequest &_tao_req,
+ void *_tao_obj,
+ void *_tao_context,
+ CORBA::Environment &ACE_TRY_ENV =
+ TAO_default_environment ()
+ );
+
+ virtual CORBA::Boolean is_basic (
+ CORBA::Environment &ACE_TRY_ENV =
+ TAO_default_environment ()
+ )
+ ACE_THROW_SPEC ((
+ CORBA::SystemException
+ )) = 0;
+
+ static void _get_is_basic_skel (
+ TAO_ServerRequest &_tao_req,
+ void *_tao_obj,
+ void *_tao_context,
+ CORBA::Environment &ACE_TRY_ENV =
+ TAO_default_environment ()
+ );
+
+ virtual IR::PrimaryKeyDef_ptr create_primary_key (
+ const char * id,
+ const char * name,
+ const char * version,
+ CORBA::ValueDef_ptr primary_key,
+ CORBA::Environment &ACE_TRY_ENV =
+ TAO_default_environment ()
+ )
+ ACE_THROW_SPEC ((
+ CORBA::SystemException
+ )) = 0;
+
+ static void create_primary_key_skel (
+ TAO_ServerRequest &_tao_req,
+ void *_tao_obj,
+ void *_tao_context,
+ CORBA::Environment &ACE_TRY_ENV =
+ TAO_default_environment ()
+ );
+
+ virtual IR::FactoryDef_ptr create_factory (
+ const char * id,
+ const char * name,
+ const char * version,
+ const CORBA::ParDescriptionSeq & params,
+ const CORBA::ExceptionDefSeq & exceptions,
+ CORBA::Environment &ACE_TRY_ENV =
+ TAO_default_environment ()
+ )
+ ACE_THROW_SPEC ((
+ CORBA::SystemException
+ )) = 0;
+
+ static void create_factory_skel (
+ TAO_ServerRequest &_tao_req,
+ void *_tao_obj,
+ void *_tao_context,
+ CORBA::Environment &ACE_TRY_ENV =
+ TAO_default_environment ()
+ );
+
+ virtual IR::FinderDef_ptr create_finder (
+ const char * id,
+ const char * name,
+ const char * version,
+ const CORBA::ParDescriptionSeq & params,
+ const CORBA::ExceptionDefSeq & exceptions,
+ CORBA::Environment &ACE_TRY_ENV =
+ TAO_default_environment ()
+ )
+ ACE_THROW_SPEC ((
+ CORBA::SystemException
+ )) = 0;
+
+ static void create_finder_skel (
+ TAO_ServerRequest &_tao_req,
+ void *_tao_obj,
+ void *_tao_context,
+ CORBA::Environment &ACE_TRY_ENV =
+ TAO_default_environment ()
+ );
+
+ static void _get_base_interfaces_skel (
+ TAO_ServerRequest &req,
+ void *obj,
+ void *context,
+ CORBA::Environment &ACE_TRY_ENV =
+ TAO_default_environment ()
+ );
+
+ static void _set_base_interfaces_skel (
+ TAO_ServerRequest &req,
+ void *obj,
+ void *context,
+ CORBA::Environment &ACE_TRY_ENV =
+ TAO_default_environment ()
+ );
+
+ static void is_a_skel (
+ TAO_ServerRequest &req,
+ void *obj,
+ void *context,
+ CORBA::Environment &ACE_TRY_ENV =
+ TAO_default_environment ()
+ );
+
+ static void describe_interface_skel (
+ TAO_ServerRequest &req,
+ void *obj,
+ void *context,
+ CORBA::Environment &ACE_TRY_ENV =
+ TAO_default_environment ()
+ );
+
+ static void create_attribute_skel (
+ TAO_ServerRequest &req,
+ void *obj,
+ void *context,
+ CORBA::Environment &ACE_TRY_ENV =
+ TAO_default_environment ()
+ );
+
+ static void create_operation_skel (
+ TAO_ServerRequest &req,
+ void *obj,
+ void *context,
+ CORBA::Environment &ACE_TRY_ENV =
+ TAO_default_environment ()
+ );
+
+ static void lookup_skel (
+ TAO_ServerRequest &req,
+ void *obj,
+ void *context,
+ CORBA::Environment &ACE_TRY_ENV =
+ TAO_default_environment ()
+ );
+
+ static void contents_skel (
+ TAO_ServerRequest &req,
+ void *obj,
+ void *context,
+ CORBA::Environment &ACE_TRY_ENV =
+ TAO_default_environment ()
+ );
+
+ static void lookup_name_skel (
+ TAO_ServerRequest &req,
+ void *obj,
+ void *context,
+ CORBA::Environment &ACE_TRY_ENV =
+ TAO_default_environment ()
+ );
+
+ static void describe_contents_skel (
+ TAO_ServerRequest &req,
+ void *obj,
+ void *context,
+ CORBA::Environment &ACE_TRY_ENV =
+ TAO_default_environment ()
+ );
+
+ static void create_module_skel (
+ TAO_ServerRequest &req,
+ void *obj,
+ void *context,
+ CORBA::Environment &ACE_TRY_ENV =
+ TAO_default_environment ()
+ );
+
+ static void create_constant_skel (
+ TAO_ServerRequest &req,
+ void *obj,
+ void *context,
+ CORBA::Environment &ACE_TRY_ENV =
+ TAO_default_environment ()
+ );
+
+ static void create_struct_skel (
+ TAO_ServerRequest &req,
+ void *obj,
+ void *context,
+ CORBA::Environment &ACE_TRY_ENV =
+ TAO_default_environment ()
+ );
+
+ static void create_union_skel (
+ TAO_ServerRequest &req,
+ void *obj,
+ void *context,
+ CORBA::Environment &ACE_TRY_ENV =
+ TAO_default_environment ()
+ );
+
+ static void create_enum_skel (
+ TAO_ServerRequest &req,
+ void *obj,
+ void *context,
+ CORBA::Environment &ACE_TRY_ENV =
+ TAO_default_environment ()
+ );
+
+ static void create_alias_skel (
+ TAO_ServerRequest &req,
+ void *obj,
+ void *context,
+ CORBA::Environment &ACE_TRY_ENV =
+ TAO_default_environment ()
+ );
+
+ static void create_interface_skel (
+ TAO_ServerRequest &req,
+ void *obj,
+ void *context,
+ CORBA::Environment &ACE_TRY_ENV =
+ TAO_default_environment ()
+ );
+
+ static void create_value_skel (
+ TAO_ServerRequest &req,
+ void *obj,
+ void *context,
+ CORBA::Environment &ACE_TRY_ENV =
+ TAO_default_environment ()
+ );
+
+ static void create_value_box_skel (
+ TAO_ServerRequest &req,
+ void *obj,
+ void *context,
+ CORBA::Environment &ACE_TRY_ENV =
+ TAO_default_environment ()
+ );
+
+ static void create_exception_skel (
+ TAO_ServerRequest &req,
+ void *obj,
+ void *context,
+ CORBA::Environment &ACE_TRY_ENV =
+ TAO_default_environment ()
+ );
+
+ static void create_native_skel (
+ TAO_ServerRequest &req,
+ void *obj,
+ void *context,
+ CORBA::Environment &ACE_TRY_ENV =
+ TAO_default_environment ()
+ );
+
+ static void create_abstract_interface_skel (
+ TAO_ServerRequest &req,
+ void *obj,
+ void *context,
+ CORBA::Environment &ACE_TRY_ENV =
+ TAO_default_environment ()
+ );
+
+ static void create_local_interface_skel (
+ TAO_ServerRequest &req,
+ void *obj,
+ void *context,
+ CORBA::Environment &ACE_TRY_ENV =
+ TAO_default_environment ()
+ );
+
+ static void _get_id_skel (
+ TAO_ServerRequest &req,
+ void *obj,
+ void *context,
+ CORBA::Environment &ACE_TRY_ENV =
+ TAO_default_environment ()
+ );
+
+ static void _set_id_skel (
+ TAO_ServerRequest &req,
+ void *obj,
+ void *context,
+ CORBA::Environment &ACE_TRY_ENV =
+ TAO_default_environment ()
+ );
+
+ static void _get_name_skel (
+ TAO_ServerRequest &req,
+ void *obj,
+ void *context,
+ CORBA::Environment &ACE_TRY_ENV =
+ TAO_default_environment ()
+ );
+
+ static void _set_name_skel (
+ TAO_ServerRequest &req,
+ void *obj,
+ void *context,
+ CORBA::Environment &ACE_TRY_ENV =
+ TAO_default_environment ()
+ );
+
+ static void _get_version_skel (
+ TAO_ServerRequest &req,
+ void *obj,
+ void *context,
+ CORBA::Environment &ACE_TRY_ENV =
+ TAO_default_environment ()
+ );
+
+ static void _set_version_skel (
+ TAO_ServerRequest &req,
+ void *obj,
+ void *context,
+ CORBA::Environment &ACE_TRY_ENV =
+ TAO_default_environment ()
+ );
+
+ static void _get_defined_in_skel (
+ TAO_ServerRequest &req,
+ void *obj,
+ void *context,
+ CORBA::Environment &ACE_TRY_ENV =
+ TAO_default_environment ()
+ );
+
+ static void _get_absolute_name_skel (
+ TAO_ServerRequest &req,
+ void *obj,
+ void *context,
+ CORBA::Environment &ACE_TRY_ENV =
+ TAO_default_environment ()
+ );
+
+ static void _get_containing_repository_skel (
+ TAO_ServerRequest &req,
+ void *obj,
+ void *context,
+ CORBA::Environment &ACE_TRY_ENV =
+ TAO_default_environment ()
+ );
+
+ static void describe_skel (
+ TAO_ServerRequest &req,
+ void *obj,
+ void *context,
+ CORBA::Environment &ACE_TRY_ENV =
+ TAO_default_environment ()
+ );
+
+ static void move_skel (
+ TAO_ServerRequest &req,
+ void *obj,
+ void *context,
+ CORBA::Environment &ACE_TRY_ENV =
+ TAO_default_environment ()
+ );
+
+ static void _get_type_skel (
+ TAO_ServerRequest &req,
+ void *obj,
+ void *context,
+ CORBA::Environment &ACE_TRY_ENV =
+ TAO_default_environment ()
+ );
+
+ static void _get_def_kind_skel (
+ TAO_ServerRequest &req,
+ void *obj,
+ void *context,
+ CORBA::Environment &ACE_TRY_ENV =
+ TAO_default_environment ()
+ );
+
+ static void destroy_skel (
+ TAO_ServerRequest &req,
+ void *obj,
+ void *context,
+ CORBA::Environment &ACE_TRY_ENV =
+ TAO_default_environment ()
+ );
+
+
+#if (TAO_HAS_INTERCEPTORS == 1)
+ // Generation of interceptors related RequestInfo classes per operation.
+ // This needed to be able to store the arguments, exceptions, contexts
+ // and build the lists dynamically on demand so that unnecessary time overhead
+ // of building these lists when they arent used is avoided.
+ class TAO_ServerRequestInfo_IR_HomeDef_base_home_get : public TAO_ServerRequestInfo
+ {
+ public:
+ friend class POA_IR::HomeDef;
+ TAO_ServerRequestInfo_IR_HomeDef_base_home_get (
+ TAO_ServerRequest &_tao_server_request,
+ POA_IR::HomeDef *tao_impl,
+ CORBA::Environment &ACE_TRY_ENV =
+ TAO_default_environment ()
+ );
+
+ virtual Dynamic::ParameterList * arguments (
+ CORBA::Environment &ACE_TRY_ENV =
+ TAO_default_environment ()
+ )
+ ACE_THROW_SPEC ((CORBA::SystemException));
+
+ virtual Dynamic::ExceptionList * exceptions (
+ CORBA::Environment &ACE_TRY_ENV =
+ TAO_default_environment ()
+ )
+ ACE_THROW_SPEC ((CORBA::SystemException));
+
+ virtual CORBA::Any * result (
+ CORBA::Environment &ACE_TRY_ENV =
+ TAO_default_environment ()
+ )
+ ACE_THROW_SPEC ((CORBA::SystemException));
+
+ virtual char * target_most_derived_interface (
+ CORBA::Environment &ACE_TRY_ENV = TAO_default_environment ())
+ ACE_THROW_SPEC ((CORBA::SystemException));
+
+ virtual CORBA::Boolean target_is_a (
+ const char * id,
+ CORBA::Environment &ACE_TRY_ENV = TAO_default_environment ())
+ ACE_THROW_SPEC ((CORBA::SystemException));
+
+ private:
+ TAO_ServerRequestInfo_IR_HomeDef_base_home_get (const TAO_ServerRequestInfo_IR_HomeDef_base_home_get &);
+ void operator= (const TAO_ServerRequestInfo_IR_HomeDef_base_home_get &);
+
+ private:
+ POA_IR::HomeDef *_tao_impl;
+ void result (IR::HomeDef_ptr result);
+ // update the result
+ IR::HomeDef_ptr _result;
+ };
+
+ class TAO_ServerRequestInfo_IR_HomeDef_managed_component_get : public TAO_ServerRequestInfo
+ {
+ public:
+ friend class POA_IR::HomeDef;
+ TAO_ServerRequestInfo_IR_HomeDef_managed_component_get (
+ TAO_ServerRequest &_tao_server_request,
+ POA_IR::HomeDef *tao_impl,
+ CORBA::Environment &ACE_TRY_ENV =
+ TAO_default_environment ()
+ );
+
+ virtual Dynamic::ParameterList * arguments (
+ CORBA::Environment &ACE_TRY_ENV =
+ TAO_default_environment ()
+ )
+ ACE_THROW_SPEC ((CORBA::SystemException));
+
+ virtual Dynamic::ExceptionList * exceptions (
+ CORBA::Environment &ACE_TRY_ENV =
+ TAO_default_environment ()
+ )
+ ACE_THROW_SPEC ((CORBA::SystemException));
+
+ virtual CORBA::Any * result (
+ CORBA::Environment &ACE_TRY_ENV =
+ TAO_default_environment ()
+ )
+ ACE_THROW_SPEC ((CORBA::SystemException));
+
+ virtual char * target_most_derived_interface (
+ CORBA::Environment &ACE_TRY_ENV = TAO_default_environment ())
+ ACE_THROW_SPEC ((CORBA::SystemException));
+
+ virtual CORBA::Boolean target_is_a (
+ const char * id,
+ CORBA::Environment &ACE_TRY_ENV = TAO_default_environment ())
+ ACE_THROW_SPEC ((CORBA::SystemException));
+
+ private:
+ TAO_ServerRequestInfo_IR_HomeDef_managed_component_get (const TAO_ServerRequestInfo_IR_HomeDef_managed_component_get &);
+ void operator= (const TAO_ServerRequestInfo_IR_HomeDef_managed_component_get &);
+
+ private:
+ POA_IR::HomeDef *_tao_impl;
+ void result (IR::ComponentDef_ptr result);
+ // update the result
+ IR::ComponentDef_ptr _result;
+ };
+
+ class TAO_ServerRequestInfo_IR_HomeDef_primary_key_get : public TAO_ServerRequestInfo
+ {
+ public:
+ friend class POA_IR::HomeDef;
+ TAO_ServerRequestInfo_IR_HomeDef_primary_key_get (
+ TAO_ServerRequest &_tao_server_request,
+ POA_IR::HomeDef *tao_impl,
+ CORBA::Environment &ACE_TRY_ENV =
+ TAO_default_environment ()
+ );
+
+ virtual Dynamic::ParameterList * arguments (
+ CORBA::Environment &ACE_TRY_ENV =
+ TAO_default_environment ()
+ )
+ ACE_THROW_SPEC ((CORBA::SystemException));
+
+ virtual Dynamic::ExceptionList * exceptions (
+ CORBA::Environment &ACE_TRY_ENV =
+ TAO_default_environment ()
+ )
+ ACE_THROW_SPEC ((CORBA::SystemException));
+
+ virtual CORBA::Any * result (
+ CORBA::Environment &ACE_TRY_ENV =
+ TAO_default_environment ()
+ )
+ ACE_THROW_SPEC ((CORBA::SystemException));
+
+ virtual char * target_most_derived_interface (
+ CORBA::Environment &ACE_TRY_ENV = TAO_default_environment ())
+ ACE_THROW_SPEC ((CORBA::SystemException));
+
+ virtual CORBA::Boolean target_is_a (
+ const char * id,
+ CORBA::Environment &ACE_TRY_ENV = TAO_default_environment ())
+ ACE_THROW_SPEC ((CORBA::SystemException));
+
+ private:
+ TAO_ServerRequestInfo_IR_HomeDef_primary_key_get (const TAO_ServerRequestInfo_IR_HomeDef_primary_key_get &);
+ void operator= (const TAO_ServerRequestInfo_IR_HomeDef_primary_key_get &);
+
+ private:
+ POA_IR::HomeDef *_tao_impl;
+ void result (IR::PrimaryKeyDef_ptr result);
+ // update the result
+ IR::PrimaryKeyDef_ptr _result;
+ };
+
+ class TAO_ServerRequestInfo_IR_HomeDef_factories_get : public TAO_ServerRequestInfo
+ {
+ public:
+ friend class POA_IR::HomeDef;
+ TAO_ServerRequestInfo_IR_HomeDef_factories_get (
+ TAO_ServerRequest &_tao_server_request,
+ POA_IR::HomeDef *tao_impl,
+ CORBA::Environment &ACE_TRY_ENV =
+ TAO_default_environment ()
+ );
+
+ virtual Dynamic::ParameterList * arguments (
+ CORBA::Environment &ACE_TRY_ENV =
+ TAO_default_environment ()
+ )
+ ACE_THROW_SPEC ((CORBA::SystemException));
+
+ virtual Dynamic::ExceptionList * exceptions (
+ CORBA::Environment &ACE_TRY_ENV =
+ TAO_default_environment ()
+ )
+ ACE_THROW_SPEC ((CORBA::SystemException));
+
+ virtual CORBA::Any * result (
+ CORBA::Environment &ACE_TRY_ENV =
+ TAO_default_environment ()
+ )
+ ACE_THROW_SPEC ((CORBA::SystemException));
+
+ virtual char * target_most_derived_interface (
+ CORBA::Environment &ACE_TRY_ENV = TAO_default_environment ())
+ ACE_THROW_SPEC ((CORBA::SystemException));
+
+ virtual CORBA::Boolean target_is_a (
+ const char * id,
+ CORBA::Environment &ACE_TRY_ENV = TAO_default_environment ())
+ ACE_THROW_SPEC ((CORBA::SystemException));
+
+ private:
+ TAO_ServerRequestInfo_IR_HomeDef_factories_get (const TAO_ServerRequestInfo_IR_HomeDef_factories_get &);
+ void operator= (const TAO_ServerRequestInfo_IR_HomeDef_factories_get &);
+
+ private:
+ POA_IR::HomeDef *_tao_impl;
+ void result (IR::FactoryDefSeq * result);
+ // update the result
+ IR::FactoryDefSeq * _result;
+ };
+
+ class TAO_ServerRequestInfo_IR_HomeDef_finders_get : public TAO_ServerRequestInfo
+ {
+ public:
+ friend class POA_IR::HomeDef;
+ TAO_ServerRequestInfo_IR_HomeDef_finders_get (
+ TAO_ServerRequest &_tao_server_request,
+ POA_IR::HomeDef *tao_impl,
+ CORBA::Environment &ACE_TRY_ENV =
+ TAO_default_environment ()
+ );
+
+ virtual Dynamic::ParameterList * arguments (
+ CORBA::Environment &ACE_TRY_ENV =
+ TAO_default_environment ()
+ )
+ ACE_THROW_SPEC ((CORBA::SystemException));
+
+ virtual Dynamic::ExceptionList * exceptions (
+ CORBA::Environment &ACE_TRY_ENV =
+ TAO_default_environment ()
+ )
+ ACE_THROW_SPEC ((CORBA::SystemException));
+
+ virtual CORBA::Any * result (
+ CORBA::Environment &ACE_TRY_ENV =
+ TAO_default_environment ()
+ )
+ ACE_THROW_SPEC ((CORBA::SystemException));
+
+ virtual char * target_most_derived_interface (
+ CORBA::Environment &ACE_TRY_ENV = TAO_default_environment ())
+ ACE_THROW_SPEC ((CORBA::SystemException));
+
+ virtual CORBA::Boolean target_is_a (
+ const char * id,
+ CORBA::Environment &ACE_TRY_ENV = TAO_default_environment ())
+ ACE_THROW_SPEC ((CORBA::SystemException));
+
+ private:
+ TAO_ServerRequestInfo_IR_HomeDef_finders_get (const TAO_ServerRequestInfo_IR_HomeDef_finders_get &);
+ void operator= (const TAO_ServerRequestInfo_IR_HomeDef_finders_get &);
+
+ private:
+ POA_IR::HomeDef *_tao_impl;
+ void result (IR::FinderDefSeq * result);
+ // update the result
+ IR::FinderDefSeq * _result;
+ };
+
+ class TAO_ServerRequestInfo_IR_HomeDef_is_basic_get : public TAO_ServerRequestInfo
+ {
+ public:
+ friend class POA_IR::HomeDef;
+ TAO_ServerRequestInfo_IR_HomeDef_is_basic_get (
+ TAO_ServerRequest &_tao_server_request,
+ POA_IR::HomeDef *tao_impl,
+ CORBA::Environment &ACE_TRY_ENV =
+ TAO_default_environment ()
+ );
+
+ virtual Dynamic::ParameterList * arguments (
+ CORBA::Environment &ACE_TRY_ENV =
+ TAO_default_environment ()
+ )
+ ACE_THROW_SPEC ((CORBA::SystemException));
+
+ virtual Dynamic::ExceptionList * exceptions (
+ CORBA::Environment &ACE_TRY_ENV =
+ TAO_default_environment ()
+ )
+ ACE_THROW_SPEC ((CORBA::SystemException));
+
+ virtual CORBA::Any * result (
+ CORBA::Environment &ACE_TRY_ENV =
+ TAO_default_environment ()
+ )
+ ACE_THROW_SPEC ((CORBA::SystemException));
+
+ virtual char * target_most_derived_interface (
+ CORBA::Environment &ACE_TRY_ENV = TAO_default_environment ())
+ ACE_THROW_SPEC ((CORBA::SystemException));
+
+ virtual CORBA::Boolean target_is_a (
+ const char * id,
+ CORBA::Environment &ACE_TRY_ENV = TAO_default_environment ())
+ ACE_THROW_SPEC ((CORBA::SystemException));
+
+ private:
+ TAO_ServerRequestInfo_IR_HomeDef_is_basic_get (const TAO_ServerRequestInfo_IR_HomeDef_is_basic_get &);
+ void operator= (const TAO_ServerRequestInfo_IR_HomeDef_is_basic_get &);
+
+ private:
+ POA_IR::HomeDef *_tao_impl;
+ void result (CORBA::Boolean result);
+ // update the result
+ CORBA::Boolean _result;
+ };
+
+ class TAO_ServerRequestInfo_IR_HomeDef_create_primary_key : public TAO_ServerRequestInfo
+ {
+ public:
+ friend class POA_IR::HomeDef;
+ TAO_ServerRequestInfo_IR_HomeDef_create_primary_key (
+ TAO_ServerRequest &_tao_server_request,
+ POA_IR::HomeDef *tao_impl,
+ const char * id,
+ const char * name,
+ const char * version,
+ CORBA::ValueDef_ptr primary_key,
+ CORBA::Environment &ACE_TRY_ENV =
+ TAO_default_environment ()
+ );
+
+ virtual Dynamic::ParameterList * arguments (
+ CORBA::Environment &ACE_TRY_ENV =
+ TAO_default_environment ()
+ )
+ ACE_THROW_SPEC ((CORBA::SystemException));
+
+ virtual Dynamic::ExceptionList * exceptions (
+ CORBA::Environment &ACE_TRY_ENV =
+ TAO_default_environment ()
+ )
+ ACE_THROW_SPEC ((CORBA::SystemException));
+
+ virtual CORBA::Any * result (
+ CORBA::Environment &ACE_TRY_ENV =
+ TAO_default_environment ()
+ )
+ ACE_THROW_SPEC ((CORBA::SystemException));
+
+ virtual char * target_most_derived_interface (
+ CORBA::Environment &ACE_TRY_ENV = TAO_default_environment ())
+ ACE_THROW_SPEC ((CORBA::SystemException));
+
+ virtual CORBA::Boolean target_is_a (
+ const char * id,
+ CORBA::Environment &ACE_TRY_ENV = TAO_default_environment ())
+ ACE_THROW_SPEC ((CORBA::SystemException));
+
+ private:
+ TAO_ServerRequestInfo_IR_HomeDef_create_primary_key (const TAO_ServerRequestInfo_IR_HomeDef_create_primary_key &);
+ void operator= (const TAO_ServerRequestInfo_IR_HomeDef_create_primary_key &);
+
+ private:
+ POA_IR::HomeDef *_tao_impl;
+ const char * id_;
+ const char * name_;
+ const char * version_;
+ CORBA::ValueDef_ptr primary_key_;
+ void result (IR::PrimaryKeyDef_ptr result);
+ // update the result
+ IR::PrimaryKeyDef_ptr _result;
+ };
+
+ class TAO_ServerRequestInfo_IR_HomeDef_create_factory : public TAO_ServerRequestInfo
+ {
+ public:
+ friend class POA_IR::HomeDef;
+ TAO_ServerRequestInfo_IR_HomeDef_create_factory (
+ TAO_ServerRequest &_tao_server_request,
+ POA_IR::HomeDef *tao_impl,
+ const char * id,
+ const char * name,
+ const char * version,
+ const CORBA::ParDescriptionSeq & params,
+ const CORBA::ExceptionDefSeq & exceptions,
+ CORBA::Environment &ACE_TRY_ENV =
+ TAO_default_environment ()
+ );
+
+ virtual Dynamic::ParameterList * arguments (
+ CORBA::Environment &ACE_TRY_ENV =
+ TAO_default_environment ()
+ )
+ ACE_THROW_SPEC ((CORBA::SystemException));
+
+ virtual Dynamic::ExceptionList * exceptions (
+ CORBA::Environment &ACE_TRY_ENV =
+ TAO_default_environment ()
+ )
+ ACE_THROW_SPEC ((CORBA::SystemException));
+
+ virtual CORBA::Any * result (
+ CORBA::Environment &ACE_TRY_ENV =
+ TAO_default_environment ()
+ )
+ ACE_THROW_SPEC ((CORBA::SystemException));
+
+ virtual char * target_most_derived_interface (
+ CORBA::Environment &ACE_TRY_ENV = TAO_default_environment ())
+ ACE_THROW_SPEC ((CORBA::SystemException));
+
+ virtual CORBA::Boolean target_is_a (
+ const char * id,
+ CORBA::Environment &ACE_TRY_ENV = TAO_default_environment ())
+ ACE_THROW_SPEC ((CORBA::SystemException));
+
+ private:
+ TAO_ServerRequestInfo_IR_HomeDef_create_factory (const TAO_ServerRequestInfo_IR_HomeDef_create_factory &);
+ void operator= (const TAO_ServerRequestInfo_IR_HomeDef_create_factory &);
+
+ private:
+ POA_IR::HomeDef *_tao_impl;
+ const char * id_;
+ const char * name_;
+ const char * version_;
+ const CORBA::ParDescriptionSeq & params_;
+ const CORBA::ExceptionDefSeq & exceptions_;
+ void result (IR::FactoryDef_ptr result);
+ // update the result
+ IR::FactoryDef_ptr _result;
+ };
+
+ class TAO_ServerRequestInfo_IR_HomeDef_create_finder : public TAO_ServerRequestInfo
+ {
+ public:
+ friend class POA_IR::HomeDef;
+ TAO_ServerRequestInfo_IR_HomeDef_create_finder (
+ TAO_ServerRequest &_tao_server_request,
+ POA_IR::HomeDef *tao_impl,
+ const char * id,
+ const char * name,
+ const char * version,
+ const CORBA::ParDescriptionSeq & params,
+ const CORBA::ExceptionDefSeq & exceptions,
+ CORBA::Environment &ACE_TRY_ENV =
+ TAO_default_environment ()
+ );
+
+ virtual Dynamic::ParameterList * arguments (
+ CORBA::Environment &ACE_TRY_ENV =
+ TAO_default_environment ()
+ )
+ ACE_THROW_SPEC ((CORBA::SystemException));
+
+ virtual Dynamic::ExceptionList * exceptions (
+ CORBA::Environment &ACE_TRY_ENV =
+ TAO_default_environment ()
+ )
+ ACE_THROW_SPEC ((CORBA::SystemException));
+
+ virtual CORBA::Any * result (
+ CORBA::Environment &ACE_TRY_ENV =
+ TAO_default_environment ()
+ )
+ ACE_THROW_SPEC ((CORBA::SystemException));
+
+ virtual char * target_most_derived_interface (
+ CORBA::Environment &ACE_TRY_ENV = TAO_default_environment ())
+ ACE_THROW_SPEC ((CORBA::SystemException));
+
+ virtual CORBA::Boolean target_is_a (
+ const char * id,
+ CORBA::Environment &ACE_TRY_ENV = TAO_default_environment ())
+ ACE_THROW_SPEC ((CORBA::SystemException));
+
+ private:
+ TAO_ServerRequestInfo_IR_HomeDef_create_finder (const TAO_ServerRequestInfo_IR_HomeDef_create_finder &);
+ void operator= (const TAO_ServerRequestInfo_IR_HomeDef_create_finder &);
+
+ private:
+ POA_IR::HomeDef *_tao_impl;
+ const char * id_;
+ const char * name_;
+ const char * version_;
+ const CORBA::ParDescriptionSeq & params_;
+ const CORBA::ExceptionDefSeq & exceptions_;
+ void result (IR::FinderDef_ptr result);
+ // update the result
+ IR::FinderDef_ptr _result;
+ };
+
+ #endif /* TAO_HAS_INTERCEPTORS */
+
+};
+
+
+///////////////////////////////////////////////////////////////////////
+// Strategized Proxy Broker Declaration
+//
+
+class _TAO_HomeDef_Strategized_Proxy_Broker : public virtual ::IR::_TAO_HomeDef_Proxy_Broker
+{
+public:
+ _TAO_HomeDef_Strategized_Proxy_Broker (void);
+
+ virtual ~_TAO_HomeDef_Strategized_Proxy_Broker (void);
+
+ virtual ::IR::_TAO_HomeDef_Proxy_Impl &select_proxy (
+ ::IR::HomeDef *object,
+ CORBA_Environment &ACE_TRY_ENV = TAO_default_environment ()
+ );
+
+private:
+
+// Helper methods that takes care to create the proxy
+// as soon as their use is necessary.
+ void create_proxy (
+ int strategy,
+ CORBA::Environment &ACE_TRY_ENV
+ );
+
+private:
+
+ // Caches the proxy implementations. The proxy implementation
+ // are totally stateless, and those can be shared by all the
+ // instances of a given IDL interface type.
+ ::IR::_TAO_HomeDef_Proxy_Impl
+ *proxy_cache_[TAO_Collocation_Strategies::CS_LAST];
+
+ TAO_SYNCH_MUTEX mutex_;
+// This funxtion is used to get an handle to the unique instance
+// of the Strategized Proxy Broker that is available for a given
+// interface.
+
+public:
+ static _TAO_HomeDef_Strategized_Proxy_Broker *the_TAO_HomeDef_Strategized_Proxy_Broker (void);
+};
+
+
+//
+// End Strategized Proxy Broker Declaration
+///////////////////////////////////////////////////////////////////////
+
+
+///////////////////////////////////////////////////////////////////////
+// ThruPOA Impl. Declaration
+//
+
+class _TAO_HomeDef_ThruPOA_Proxy_Impl :
+ public virtual ::IR::_TAO_HomeDef_Proxy_Impl,
+ public virtual TAO_ThruPOA_Object_Proxy_Impl,
+ public virtual ::POA_CORBA::_TAO_InterfaceDef_ThruPOA_Proxy_Impl
+
+{
+public:
+ _TAO_HomeDef_ThruPOA_Proxy_Impl (void);
+
+ virtual ~_TAO_HomeDef_ThruPOA_Proxy_Impl (void) { }
+
+ virtual IR::HomeDef_ptr base_home (
+ CORBA_Object *_collocated_tao_target_,
+ CORBA::Environment &ACE_TRY_ENV
+ )
+ ACE_THROW_SPEC ((
+ CORBA::SystemException
+ ));
+
+ virtual IR::ComponentDef_ptr managed_component (
+ CORBA_Object *_collocated_tao_target_,
+ CORBA::Environment &ACE_TRY_ENV
+ )
+ ACE_THROW_SPEC ((
+ CORBA::SystemException
+ ));
+
+ virtual IR::PrimaryKeyDef_ptr primary_key (
+ CORBA_Object *_collocated_tao_target_,
+ CORBA::Environment &ACE_TRY_ENV
+ )
+ ACE_THROW_SPEC ((
+ CORBA::SystemException
+ ));
+
+ virtual IR::FactoryDefSeq * factories (
+ CORBA_Object *_collocated_tao_target_,
+ CORBA::Environment &ACE_TRY_ENV
+ )
+ ACE_THROW_SPEC ((
+ CORBA::SystemException
+ ));
+
+ virtual IR::FinderDefSeq * finders (
+ CORBA_Object *_collocated_tao_target_,
+ CORBA::Environment &ACE_TRY_ENV
+ )
+ ACE_THROW_SPEC ((
+ CORBA::SystemException
+ ));
+
+ virtual CORBA::Boolean is_basic (
+ CORBA_Object *_collocated_tao_target_,
+ CORBA::Environment &ACE_TRY_ENV
+ )
+ ACE_THROW_SPEC ((
+ CORBA::SystemException
+ ));
+
+ virtual IR::PrimaryKeyDef_ptr create_primary_key (
+ CORBA_Object *_collocated_tao_target_,
+ const char * id,
+ const char * name,
+ const char * version,
+ CORBA::ValueDef_ptr primary_key,
+ CORBA::Environment &ACE_TRY_ENV
+ )
+ ACE_THROW_SPEC ((
+ CORBA::SystemException
+ ));
+
+ virtual IR::FactoryDef_ptr create_factory (
+ CORBA_Object *_collocated_tao_target_,
+ const char * id,
+ const char * name,
+ const char * version,
+ const CORBA::ParDescriptionSeq & params,
+ const CORBA::ExceptionDefSeq & exceptions,
+ CORBA::Environment &ACE_TRY_ENV
+ )
+ ACE_THROW_SPEC ((
+ CORBA::SystemException
+ ));
+
+ virtual IR::FinderDef_ptr create_finder (
+ CORBA_Object *_collocated_tao_target_,
+ const char * id,
+ const char * name,
+ const char * version,
+ const CORBA::ParDescriptionSeq & params,
+ const CORBA::ExceptionDefSeq & exceptions,
+ CORBA::Environment &ACE_TRY_ENV
+ )
+ ACE_THROW_SPEC ((
+ CORBA::SystemException
+ ));
+
+};
+
+
+//
+// ThruPOA Proxy Impl. Declaration
+///////////////////////////////////////////////////////////////////////
+
+
+#if defined (ACE_HAS_USING_KEYWORD)
+// TIE class: Refer to CORBA v2.2, Section 20.34.4
+template <class T>
+class HomeDef_tie : public HomeDef
+{
+public:
+ HomeDef_tie (T &t);
+ // the T& ctor
+ HomeDef_tie (T &t, PortableServer::POA_ptr poa);
+ // ctor taking a POA
+ HomeDef_tie (T *tp, CORBA::Boolean release=1);
+ // ctor taking pointer and an ownership flag
+ HomeDef_tie (T *tp, PortableServer::POA_ptr poa, CORBA::Boolean release=1);
+ // ctor with T*, ownership flag and a POA
+ ~HomeDef_tie (void);
+ // dtor
+
+ // TIE specific functions
+ T *_tied_object (void);
+ // return the underlying object
+ void _tied_object (T &obj);
+ // set the underlying object
+ void _tied_object (T *obj, CORBA::Boolean release=1);
+ // set the underlying object and the ownership flag
+ CORBA::Boolean _is_owner (void);
+ // do we own it
+ void _is_owner (CORBA::Boolean b);
+ // set the ownership
+
+ // overridden ServantBase operations
+ PortableServer::POA_ptr _default_POA (
+ CORBA::Environment &ACE_TRY_ENV =
+ TAO_default_environment ()
+ );
+ IR::HomeDef_ptr base_home (
+ CORBA::Environment &ACE_TRY_ENV =
+ TAO_default_environment ()
+ )
+ ACE_THROW_SPEC ((
+ CORBA::SystemException
+ ));
+
+ IR::ComponentDef_ptr managed_component (
+ CORBA::Environment &ACE_TRY_ENV =
+ TAO_default_environment ()
+ )
+ ACE_THROW_SPEC ((
+ CORBA::SystemException
+ ));
+
+ IR::PrimaryKeyDef_ptr primary_key (
+ CORBA::Environment &ACE_TRY_ENV =
+ TAO_default_environment ()
+ )
+ ACE_THROW_SPEC ((
+ CORBA::SystemException
+ ));
+
+ IR::FactoryDefSeq * factories (
+ CORBA::Environment &ACE_TRY_ENV =
+ TAO_default_environment ()
+ )
+ ACE_THROW_SPEC ((
+ CORBA::SystemException
+ ));
+
+ IR::FinderDefSeq * finders (
+ CORBA::Environment &ACE_TRY_ENV =
+ TAO_default_environment ()
+ )
+ ACE_THROW_SPEC ((
+ CORBA::SystemException
+ ));
+
+ CORBA::Boolean is_basic (
+ CORBA::Environment &ACE_TRY_ENV =
+ TAO_default_environment ()
+ )
+ ACE_THROW_SPEC ((
+ CORBA::SystemException
+ ));
+
+ IR::PrimaryKeyDef_ptr create_primary_key (
+ const char * id,
+ const char * name,
+ const char * version,
+ CORBA::ValueDef_ptr primary_key,
+ CORBA::Environment &ACE_TRY_ENV =
+ TAO_default_environment ()
+ )
+ ACE_THROW_SPEC ((
+ CORBA::SystemException
+ ));
+
+ IR::FactoryDef_ptr create_factory (
+ const char * id,
+ const char * name,
+ const char * version,
+ const CORBA::ParDescriptionSeq & params,
+ const CORBA::ExceptionDefSeq & exceptions,
+ CORBA::Environment &ACE_TRY_ENV =
+ TAO_default_environment ()
+ )
+ ACE_THROW_SPEC ((
+ CORBA::SystemException
+ ));
+
+ IR::FinderDef_ptr create_finder (
+ const char * id,
+ const char * name,
+ const char * version,
+ const CORBA::ParDescriptionSeq & params,
+ const CORBA::ExceptionDefSeq & exceptions,
+ CORBA::Environment &ACE_TRY_ENV =
+ TAO_default_environment ()
+ )
+ ACE_THROW_SPEC ((
+ CORBA::SystemException
+ ));
+
+ CORBA::InterfaceDefSeq * base_interfaces (
+ CORBA::Environment &ACE_TRY_ENV =
+ TAO_default_environment ()
+ )
+ ACE_THROW_SPEC ((
+ CORBA::SystemException
+ ));
+
+ void base_interfaces (
+ const CORBA::InterfaceDefSeq & base_interfaces,
+ CORBA::Environment &ACE_TRY_ENV =
+ TAO_default_environment ()
+ )
+ ACE_THROW_SPEC ((
+ CORBA::SystemException
+ ));
+
+ CORBA::Boolean is_a (
+ const char * interface_id,
+ CORBA::Environment &ACE_TRY_ENV =
+ TAO_default_environment ()
+ )
+ ACE_THROW_SPEC ((
+ CORBA::SystemException
+ ));
+
+ CORBA::InterfaceDef::FullInterfaceDescription * describe_interface (
+ CORBA::Environment &ACE_TRY_ENV =
+ TAO_default_environment ()
+ )
+ ACE_THROW_SPEC ((
+ CORBA::SystemException
+ ));
+
+ CORBA::AttributeDef_ptr create_attribute (
+ const char * id,
+ const char * name,
+ const char * version,
+ CORBA::IDLType_ptr type,
+ CORBA::AttributeMode mode,
+ CORBA::Environment &ACE_TRY_ENV =
+ TAO_default_environment ()
+ )
+ ACE_THROW_SPEC ((
+ CORBA::SystemException
+ ));
+
+ CORBA::OperationDef_ptr create_operation (
+ const char * id,
+ const char * name,
+ const char * version,
+ CORBA::IDLType_ptr result,
+ CORBA::OperationMode mode,
+ const CORBA::ParDescriptionSeq & params,
+ const CORBA::ExceptionDefSeq & exceptions,
+ const CORBA::ContextIdSeq & contexts,
+ CORBA::Environment &ACE_TRY_ENV =
+ TAO_default_environment ()
+ )
+ ACE_THROW_SPEC ((
+ CORBA::SystemException
+ ));
+
+ CORBA::Contained_ptr lookup (
+ const char * search_name,
+ CORBA::Environment &ACE_TRY_ENV =
+ TAO_default_environment ()
+ )
+ ACE_THROW_SPEC ((
+ CORBA::SystemException
+ ));
+
+ CORBA::ContainedSeq * contents (
+ CORBA::DefinitionKind limit_type,
+ CORBA::Boolean exclude_inherited,
+ CORBA::Environment &ACE_TRY_ENV =
+ TAO_default_environment ()
+ )
+ ACE_THROW_SPEC ((
+ CORBA::SystemException
+ ));
+
+ CORBA::ContainedSeq * lookup_name (
+ const char * search_name,
+ CORBA::Long levels_to_search,
+ CORBA::DefinitionKind limit_type,
+ CORBA::Boolean exclude_inherited,
+ CORBA::Environment &ACE_TRY_ENV =
+ TAO_default_environment ()
+ )
+ ACE_THROW_SPEC ((
+ CORBA::SystemException
+ ));
+
+ CORBA::Container::DescriptionSeq * describe_contents (
+ CORBA::DefinitionKind limit_type,
+ CORBA::Boolean exclude_inherited,
+ CORBA::Long max_returned_objs,
+ CORBA::Environment &ACE_TRY_ENV =
+ TAO_default_environment ()
+ )
+ ACE_THROW_SPEC ((
+ CORBA::SystemException
+ ));
+
+ CORBA::ModuleDef_ptr create_module (
+ const char * id,
+ const char * name,
+ const char * version,
+ CORBA::Environment &ACE_TRY_ENV =
+ TAO_default_environment ()
+ )
+ ACE_THROW_SPEC ((
+ CORBA::SystemException
+ ));
+
+ CORBA::ConstantDef_ptr create_constant (
+ const char * id,
+ const char * name,
+ const char * version,
+ CORBA::IDLType_ptr type,
+ const CORBA::Any & value,
+ CORBA::Environment &ACE_TRY_ENV =
+ TAO_default_environment ()
+ )
+ ACE_THROW_SPEC ((
+ CORBA::SystemException
+ ));
+
+ CORBA::StructDef_ptr create_struct (
+ const char * id,
+ const char * name,
+ const char * version,
+ const CORBA::StructMemberSeq & members,
+ CORBA::Environment &ACE_TRY_ENV =
+ TAO_default_environment ()
+ )
+ ACE_THROW_SPEC ((
+ CORBA::SystemException
+ ));
+
+ CORBA::UnionDef_ptr create_union (
+ const char * id,
+ const char * name,
+ const char * version,
+ CORBA::IDLType_ptr discriminator_type,
+ const CORBA::UnionMemberSeq & members,
+ CORBA::Environment &ACE_TRY_ENV =
+ TAO_default_environment ()
+ )
+ ACE_THROW_SPEC ((
+ CORBA::SystemException
+ ));
+
+ CORBA::EnumDef_ptr create_enum (
+ const char * id,
+ const char * name,
+ const char * version,
+ const CORBA::EnumMemberSeq & members,
+ CORBA::Environment &ACE_TRY_ENV =
+ TAO_default_environment ()
+ )
+ ACE_THROW_SPEC ((
+ CORBA::SystemException
+ ));
+
+ CORBA::AliasDef_ptr create_alias (
+ const char * id,
+ const char * name,
+ const char * version,
+ CORBA::IDLType_ptr original_type,
+ CORBA::Environment &ACE_TRY_ENV =
+ TAO_default_environment ()
+ )
+ ACE_THROW_SPEC ((
+ CORBA::SystemException
+ ));
+
+ CORBA::InterfaceDef_ptr create_interface (
+ const char * id,
+ const char * name,
+ const char * version,
+ const CORBA::InterfaceDefSeq & base_interfaces,
+ CORBA::Environment &ACE_TRY_ENV =
+ TAO_default_environment ()
+ )
+ ACE_THROW_SPEC ((
+ CORBA::SystemException
+ ));
+
+ CORBA::ValueDef_ptr create_value (
+ const char * id,
+ const char * name,
+ const char * version,
+ CORBA::Boolean is_custom,
+ CORBA::Boolean is_abstract,
+ CORBA::ValueDef_ptr base_value,
+ CORBA::Boolean is_truncatable,
+ const CORBA::ValueDefSeq & abstract_base_values,
+ const CORBA::InterfaceDefSeq & supported_interfaces,
+ const CORBA::InitializerSeq & initializers,
+ CORBA::Environment &ACE_TRY_ENV =
+ TAO_default_environment ()
+ )
+ ACE_THROW_SPEC ((
+ CORBA::SystemException
+ ));
+
+ CORBA::ValueBoxDef_ptr create_value_box (
+ const char * id,
+ const char * name,
+ const char * version,
+ CORBA::IDLType_ptr original_type_def,
+ CORBA::Environment &ACE_TRY_ENV =
+ TAO_default_environment ()
+ )
+ ACE_THROW_SPEC ((
+ CORBA::SystemException
+ ));
+
+ CORBA::ExceptionDef_ptr create_exception (
+ const char * id,
+ const char * name,
+ const char * version,
+ const CORBA::StructMemberSeq & members,
+ CORBA::Environment &ACE_TRY_ENV =
+ TAO_default_environment ()
+ )
+ ACE_THROW_SPEC ((
+ CORBA::SystemException
+ ));
+
+ CORBA::NativeDef_ptr create_native (
+ const char * id,
+ const char * name,
+ const char * version,
+ CORBA::Environment &ACE_TRY_ENV =
+ TAO_default_environment ()
+ )
+ ACE_THROW_SPEC ((
+ CORBA::SystemException
+ ));
+
+ CORBA::AbstractInterfaceDef_ptr create_abstract_interface (
+ const char * id,
+ const char * name,
+ const char * version,
+ const CORBA::AbstractInterfaceDefSeq & base_interfaces,
+ CORBA::Environment &ACE_TRY_ENV =
+ TAO_default_environment ()
+ )
+ ACE_THROW_SPEC ((
+ CORBA::SystemException
+ ));
+
+ CORBA::LocalInterfaceDef_ptr create_local_interface (
+ const char * id,
+ const char * name,
+ const char * version,
+ const CORBA::InterfaceDefSeq & base_interfaces,
+ CORBA::Environment &ACE_TRY_ENV =
+ TAO_default_environment ()
+ )
+ ACE_THROW_SPEC ((
+ CORBA::SystemException
+ ));
+
+ char * id (
+ CORBA::Environment &ACE_TRY_ENV =
+ TAO_default_environment ()
+ )
+ ACE_THROW_SPEC ((
+ CORBA::SystemException
+ ));
+
+ void id (
+ const char * id,
+ CORBA::Environment &ACE_TRY_ENV =
+ TAO_default_environment ()
+ )
+ ACE_THROW_SPEC ((
+ CORBA::SystemException
+ ));
+
+ char * name (
+ CORBA::Environment &ACE_TRY_ENV =
+ TAO_default_environment ()
+ )
+ ACE_THROW_SPEC ((
+ CORBA::SystemException
+ ));
+
+ void name (
+ const char * name,
+ CORBA::Environment &ACE_TRY_ENV =
+ TAO_default_environment ()
+ )
+ ACE_THROW_SPEC ((
+ CORBA::SystemException
+ ));
+
+ char * version (
+ CORBA::Environment &ACE_TRY_ENV =
+ TAO_default_environment ()
+ )
+ ACE_THROW_SPEC ((
+ CORBA::SystemException
+ ));
+
+ void version (
+ const char * version,
+ CORBA::Environment &ACE_TRY_ENV =
+ TAO_default_environment ()
+ )
+ ACE_THROW_SPEC ((
+ CORBA::SystemException
+ ));
+
+ CORBA::Container_ptr defined_in (
+ CORBA::Environment &ACE_TRY_ENV =
+ TAO_default_environment ()
+ )
+ ACE_THROW_SPEC ((
+ CORBA::SystemException
+ ));
+
+ char * absolute_name (
+ CORBA::Environment &ACE_TRY_ENV =
+ TAO_default_environment ()
+ )
+ ACE_THROW_SPEC ((
+ CORBA::SystemException
+ ));
+
+ CORBA::Repository_ptr containing_repository (
+ CORBA::Environment &ACE_TRY_ENV =
+ TAO_default_environment ()
+ )
+ ACE_THROW_SPEC ((
+ CORBA::SystemException
+ ));
+
+ CORBA::Contained::Description * describe (
+ CORBA::Environment &ACE_TRY_ENV =
+ TAO_default_environment ()
+ )
+ ACE_THROW_SPEC ((
+ CORBA::SystemException
+ ));
+
+ void move (
+ CORBA::Container_ptr new_container,
+ const char * new_name,
+ const char * new_version,
+ CORBA::Environment &ACE_TRY_ENV =
+ TAO_default_environment ()
+ )
+ ACE_THROW_SPEC ((
+ CORBA::SystemException
+ ));
+
+ CORBA::TypeCode_ptr type (
+ CORBA::Environment &ACE_TRY_ENV =
+ TAO_default_environment ()
+ )
+ ACE_THROW_SPEC ((
+ CORBA::SystemException
+ ));
+
+ CORBA::DefinitionKind def_kind (
+ CORBA::Environment &ACE_TRY_ENV =
+ TAO_default_environment ()
+ )
+ ACE_THROW_SPEC ((
+ CORBA::SystemException
+ ));
+
+ void destroy (
+ CORBA::Environment &ACE_TRY_ENV =
+ TAO_default_environment ()
+ )
+ ACE_THROW_SPEC ((
+ CORBA::SystemException
+ ));
+
+private:
+ T *ptr_;
+ PortableServer::POA_var poa_;
+ CORBA::Boolean rel_;
+
+ // copy and assignment are not allowed
+ HomeDef_tie (const HomeDef_tie &);
+ void operator= (const HomeDef_tie &);
+};
+
+#endif /* ACE_HAS_USING_KEYWORD */
+
+}
+TAO_NAMESPACE_CLOSE
+
+#include "IFR_ComponentsS_T.h"
+
+#if defined (__ACE_INLINE__)
+#include "IFR_ComponentsS.i"
+#endif /* defined INLINE */
+
+#if defined(_MSC_VER) && (_MSC_VER >= 1200)
+#pragma warning(pop)
+#endif /* _MSC_VER */
+
+#if defined (__BORLANDC__)
+#pragma option pop
+#endif /* __BORLANDC__ */
+
+#include "ace/post.h"
+#endif /* ifndef */
diff --git a/TAO/orbsvcs/IFR_Service/IFR_ComponentsS.i b/TAO/orbsvcs/IFR_Service/IFR_ComponentsS.i
new file mode 100644
index 00000000000..74ff0b44edd
--- /dev/null
+++ b/TAO/orbsvcs/IFR_Service/IFR_ComponentsS.i
@@ -0,0 +1,3711 @@
+// -*- C++ -*-
+//
+// $Id$
+
+// **** Code generated by the The ACE ORB (TAO) IDL Compiler ****
+// TAO and the TAO IDL Compiler have been developed by:
+// Center for Distributed Object Computing
+// Washington University
+// St. Louis, MO
+// USA
+// http://www.cs.wustl.edu/~schmidt/doc-center.html
+// and
+// Distributed Object Computing Laboratory
+// University of California at Irvine
+// Irvine, CA
+// USA
+// http://doc.ece.uci.edu/
+//
+// Information about TAO is available at:
+// http://www.cs.wustl.edu/~schmidt/TAO.html
+
+ACE_INLINE void POA_IR::ComponentRepository::lookup_id_skel (
+ TAO_ServerRequest &req,
+ void *obj,
+ void *context,
+ CORBA::Environment &ACE_TRY_ENV
+ )
+{
+ POA_CORBA::Repository_ptr impl = (POA_IR::ComponentRepository_ptr) obj;
+ POA_CORBA::Repository::lookup_id_skel (
+ req,
+ (POA_CORBA::Repository_ptr) impl,
+ context,
+ ACE_TRY_ENV
+ );
+}
+ACE_INLINE void POA_IR::ComponentRepository::get_canonical_typecode_skel (
+ TAO_ServerRequest &req,
+ void *obj,
+ void *context,
+ CORBA::Environment &ACE_TRY_ENV
+ )
+{
+ POA_CORBA::Repository_ptr impl = (POA_IR::ComponentRepository_ptr) obj;
+ POA_CORBA::Repository::get_canonical_typecode_skel (
+ req,
+ (POA_CORBA::Repository_ptr) impl,
+ context,
+ ACE_TRY_ENV
+ );
+}
+ACE_INLINE void POA_IR::ComponentRepository::get_primitive_skel (
+ TAO_ServerRequest &req,
+ void *obj,
+ void *context,
+ CORBA::Environment &ACE_TRY_ENV
+ )
+{
+ POA_CORBA::Repository_ptr impl = (POA_IR::ComponentRepository_ptr) obj;
+ POA_CORBA::Repository::get_primitive_skel (
+ req,
+ (POA_CORBA::Repository_ptr) impl,
+ context,
+ ACE_TRY_ENV
+ );
+}
+ACE_INLINE void POA_IR::ComponentRepository::create_string_skel (
+ TAO_ServerRequest &req,
+ void *obj,
+ void *context,
+ CORBA::Environment &ACE_TRY_ENV
+ )
+{
+ POA_CORBA::Repository_ptr impl = (POA_IR::ComponentRepository_ptr) obj;
+ POA_CORBA::Repository::create_string_skel (
+ req,
+ (POA_CORBA::Repository_ptr) impl,
+ context,
+ ACE_TRY_ENV
+ );
+}
+ACE_INLINE void POA_IR::ComponentRepository::create_wstring_skel (
+ TAO_ServerRequest &req,
+ void *obj,
+ void *context,
+ CORBA::Environment &ACE_TRY_ENV
+ )
+{
+ POA_CORBA::Repository_ptr impl = (POA_IR::ComponentRepository_ptr) obj;
+ POA_CORBA::Repository::create_wstring_skel (
+ req,
+ (POA_CORBA::Repository_ptr) impl,
+ context,
+ ACE_TRY_ENV
+ );
+}
+ACE_INLINE void POA_IR::ComponentRepository::create_sequence_skel (
+ TAO_ServerRequest &req,
+ void *obj,
+ void *context,
+ CORBA::Environment &ACE_TRY_ENV
+ )
+{
+ POA_CORBA::Repository_ptr impl = (POA_IR::ComponentRepository_ptr) obj;
+ POA_CORBA::Repository::create_sequence_skel (
+ req,
+ (POA_CORBA::Repository_ptr) impl,
+ context,
+ ACE_TRY_ENV
+ );
+}
+ACE_INLINE void POA_IR::ComponentRepository::create_array_skel (
+ TAO_ServerRequest &req,
+ void *obj,
+ void *context,
+ CORBA::Environment &ACE_TRY_ENV
+ )
+{
+ POA_CORBA::Repository_ptr impl = (POA_IR::ComponentRepository_ptr) obj;
+ POA_CORBA::Repository::create_array_skel (
+ req,
+ (POA_CORBA::Repository_ptr) impl,
+ context,
+ ACE_TRY_ENV
+ );
+}
+ACE_INLINE void POA_IR::ComponentRepository::create_fixed_skel (
+ TAO_ServerRequest &req,
+ void *obj,
+ void *context,
+ CORBA::Environment &ACE_TRY_ENV
+ )
+{
+ POA_CORBA::Repository_ptr impl = (POA_IR::ComponentRepository_ptr) obj;
+ POA_CORBA::Repository::create_fixed_skel (
+ req,
+ (POA_CORBA::Repository_ptr) impl,
+ context,
+ ACE_TRY_ENV
+ );
+}
+ACE_INLINE void POA_IR::ComponentRepository::lookup_skel (
+ TAO_ServerRequest &req,
+ void *obj,
+ void *context,
+ CORBA::Environment &ACE_TRY_ENV
+ )
+{
+ POA_CORBA::Container_ptr impl = (POA_IR::ComponentRepository_ptr) obj;
+ POA_CORBA::Container::lookup_skel (
+ req,
+ (POA_CORBA::Container_ptr) impl,
+ context,
+ ACE_TRY_ENV
+ );
+}
+ACE_INLINE void POA_IR::ComponentRepository::contents_skel (
+ TAO_ServerRequest &req,
+ void *obj,
+ void *context,
+ CORBA::Environment &ACE_TRY_ENV
+ )
+{
+ POA_CORBA::Container_ptr impl = (POA_IR::ComponentRepository_ptr) obj;
+ POA_CORBA::Container::contents_skel (
+ req,
+ (POA_CORBA::Container_ptr) impl,
+ context,
+ ACE_TRY_ENV
+ );
+}
+ACE_INLINE void POA_IR::ComponentRepository::lookup_name_skel (
+ TAO_ServerRequest &req,
+ void *obj,
+ void *context,
+ CORBA::Environment &ACE_TRY_ENV
+ )
+{
+ POA_CORBA::Container_ptr impl = (POA_IR::ComponentRepository_ptr) obj;
+ POA_CORBA::Container::lookup_name_skel (
+ req,
+ (POA_CORBA::Container_ptr) impl,
+ context,
+ ACE_TRY_ENV
+ );
+}
+ACE_INLINE void POA_IR::ComponentRepository::describe_contents_skel (
+ TAO_ServerRequest &req,
+ void *obj,
+ void *context,
+ CORBA::Environment &ACE_TRY_ENV
+ )
+{
+ POA_CORBA::Container_ptr impl = (POA_IR::ComponentRepository_ptr) obj;
+ POA_CORBA::Container::describe_contents_skel (
+ req,
+ (POA_CORBA::Container_ptr) impl,
+ context,
+ ACE_TRY_ENV
+ );
+}
+ACE_INLINE void POA_IR::ComponentRepository::create_module_skel (
+ TAO_ServerRequest &req,
+ void *obj,
+ void *context,
+ CORBA::Environment &ACE_TRY_ENV
+ )
+{
+ POA_CORBA::Container_ptr impl = (POA_IR::ComponentRepository_ptr) obj;
+ POA_CORBA::Container::create_module_skel (
+ req,
+ (POA_CORBA::Container_ptr) impl,
+ context,
+ ACE_TRY_ENV
+ );
+}
+ACE_INLINE void POA_IR::ComponentRepository::create_constant_skel (
+ TAO_ServerRequest &req,
+ void *obj,
+ void *context,
+ CORBA::Environment &ACE_TRY_ENV
+ )
+{
+ POA_CORBA::Container_ptr impl = (POA_IR::ComponentRepository_ptr) obj;
+ POA_CORBA::Container::create_constant_skel (
+ req,
+ (POA_CORBA::Container_ptr) impl,
+ context,
+ ACE_TRY_ENV
+ );
+}
+ACE_INLINE void POA_IR::ComponentRepository::create_struct_skel (
+ TAO_ServerRequest &req,
+ void *obj,
+ void *context,
+ CORBA::Environment &ACE_TRY_ENV
+ )
+{
+ POA_CORBA::Container_ptr impl = (POA_IR::ComponentRepository_ptr) obj;
+ POA_CORBA::Container::create_struct_skel (
+ req,
+ (POA_CORBA::Container_ptr) impl,
+ context,
+ ACE_TRY_ENV
+ );
+}
+ACE_INLINE void POA_IR::ComponentRepository::create_union_skel (
+ TAO_ServerRequest &req,
+ void *obj,
+ void *context,
+ CORBA::Environment &ACE_TRY_ENV
+ )
+{
+ POA_CORBA::Container_ptr impl = (POA_IR::ComponentRepository_ptr) obj;
+ POA_CORBA::Container::create_union_skel (
+ req,
+ (POA_CORBA::Container_ptr) impl,
+ context,
+ ACE_TRY_ENV
+ );
+}
+ACE_INLINE void POA_IR::ComponentRepository::create_enum_skel (
+ TAO_ServerRequest &req,
+ void *obj,
+ void *context,
+ CORBA::Environment &ACE_TRY_ENV
+ )
+{
+ POA_CORBA::Container_ptr impl = (POA_IR::ComponentRepository_ptr) obj;
+ POA_CORBA::Container::create_enum_skel (
+ req,
+ (POA_CORBA::Container_ptr) impl,
+ context,
+ ACE_TRY_ENV
+ );
+}
+ACE_INLINE void POA_IR::ComponentRepository::create_alias_skel (
+ TAO_ServerRequest &req,
+ void *obj,
+ void *context,
+ CORBA::Environment &ACE_TRY_ENV
+ )
+{
+ POA_CORBA::Container_ptr impl = (POA_IR::ComponentRepository_ptr) obj;
+ POA_CORBA::Container::create_alias_skel (
+ req,
+ (POA_CORBA::Container_ptr) impl,
+ context,
+ ACE_TRY_ENV
+ );
+}
+ACE_INLINE void POA_IR::ComponentRepository::create_interface_skel (
+ TAO_ServerRequest &req,
+ void *obj,
+ void *context,
+ CORBA::Environment &ACE_TRY_ENV
+ )
+{
+ POA_CORBA::Container_ptr impl = (POA_IR::ComponentRepository_ptr) obj;
+ POA_CORBA::Container::create_interface_skel (
+ req,
+ (POA_CORBA::Container_ptr) impl,
+ context,
+ ACE_TRY_ENV
+ );
+}
+ACE_INLINE void POA_IR::ComponentRepository::create_value_skel (
+ TAO_ServerRequest &req,
+ void *obj,
+ void *context,
+ CORBA::Environment &ACE_TRY_ENV
+ )
+{
+ POA_CORBA::Container_ptr impl = (POA_IR::ComponentRepository_ptr) obj;
+ POA_CORBA::Container::create_value_skel (
+ req,
+ (POA_CORBA::Container_ptr) impl,
+ context,
+ ACE_TRY_ENV
+ );
+}
+ACE_INLINE void POA_IR::ComponentRepository::create_value_box_skel (
+ TAO_ServerRequest &req,
+ void *obj,
+ void *context,
+ CORBA::Environment &ACE_TRY_ENV
+ )
+{
+ POA_CORBA::Container_ptr impl = (POA_IR::ComponentRepository_ptr) obj;
+ POA_CORBA::Container::create_value_box_skel (
+ req,
+ (POA_CORBA::Container_ptr) impl,
+ context,
+ ACE_TRY_ENV
+ );
+}
+ACE_INLINE void POA_IR::ComponentRepository::create_exception_skel (
+ TAO_ServerRequest &req,
+ void *obj,
+ void *context,
+ CORBA::Environment &ACE_TRY_ENV
+ )
+{
+ POA_CORBA::Container_ptr impl = (POA_IR::ComponentRepository_ptr) obj;
+ POA_CORBA::Container::create_exception_skel (
+ req,
+ (POA_CORBA::Container_ptr) impl,
+ context,
+ ACE_TRY_ENV
+ );
+}
+ACE_INLINE void POA_IR::ComponentRepository::create_native_skel (
+ TAO_ServerRequest &req,
+ void *obj,
+ void *context,
+ CORBA::Environment &ACE_TRY_ENV
+ )
+{
+ POA_CORBA::Container_ptr impl = (POA_IR::ComponentRepository_ptr) obj;
+ POA_CORBA::Container::create_native_skel (
+ req,
+ (POA_CORBA::Container_ptr) impl,
+ context,
+ ACE_TRY_ENV
+ );
+}
+ACE_INLINE void POA_IR::ComponentRepository::create_abstract_interface_skel (
+ TAO_ServerRequest &req,
+ void *obj,
+ void *context,
+ CORBA::Environment &ACE_TRY_ENV
+ )
+{
+ POA_CORBA::Container_ptr impl = (POA_IR::ComponentRepository_ptr) obj;
+ POA_CORBA::Container::create_abstract_interface_skel (
+ req,
+ (POA_CORBA::Container_ptr) impl,
+ context,
+ ACE_TRY_ENV
+ );
+}
+ACE_INLINE void POA_IR::ComponentRepository::create_local_interface_skel (
+ TAO_ServerRequest &req,
+ void *obj,
+ void *context,
+ CORBA::Environment &ACE_TRY_ENV
+ )
+{
+ POA_CORBA::Container_ptr impl = (POA_IR::ComponentRepository_ptr) obj;
+ POA_CORBA::Container::create_local_interface_skel (
+ req,
+ (POA_CORBA::Container_ptr) impl,
+ context,
+ ACE_TRY_ENV
+ );
+}
+ACE_INLINE void POA_IR::ComponentRepository::_get_def_kind_skel (
+ TAO_ServerRequest &req,
+ void *obj,
+ void *context,
+ CORBA::Environment &ACE_TRY_ENV
+ )
+{
+ POA_CORBA::IRObject_ptr impl = (POA_IR::ComponentRepository_ptr) obj;
+ POA_CORBA::IRObject::_get_def_kind_skel (
+ req,
+ (POA_CORBA::IRObject_ptr) impl,
+ context,
+ ACE_TRY_ENV
+ );
+}
+ACE_INLINE void POA_IR::ComponentRepository::destroy_skel (
+ TAO_ServerRequest &req,
+ void *obj,
+ void *context,
+ CORBA::Environment &ACE_TRY_ENV
+ )
+{
+ POA_CORBA::IRObject_ptr impl = (POA_IR::ComponentRepository_ptr) obj;
+ POA_CORBA::IRObject::destroy_skel (
+ req,
+ (POA_CORBA::IRObject_ptr) impl,
+ context,
+ ACE_TRY_ENV
+ );
+}
+ACE_INLINE void POA_IR::ProvidesDef::_get_id_skel (
+ TAO_ServerRequest &req,
+ void *obj,
+ void *context,
+ CORBA::Environment &ACE_TRY_ENV
+ )
+{
+ POA_CORBA::Contained_ptr impl = (POA_IR::ProvidesDef_ptr) obj;
+ POA_CORBA::Contained::_get_id_skel (
+ req,
+ (POA_CORBA::Contained_ptr) impl,
+ context,
+ ACE_TRY_ENV
+ );
+}
+ACE_INLINE void POA_IR::ProvidesDef::_set_id_skel (
+ TAO_ServerRequest &req,
+ void *obj,
+ void *context,
+ CORBA::Environment &ACE_TRY_ENV
+ )
+{
+ POA_CORBA::Contained_ptr impl = (POA_IR::ProvidesDef_ptr) obj;
+ POA_CORBA::Contained::_set_id_skel (
+ req,
+ (POA_CORBA::Contained_ptr) impl,
+ context,
+ ACE_TRY_ENV
+ );
+}
+ACE_INLINE void POA_IR::ProvidesDef::_get_name_skel (
+ TAO_ServerRequest &req,
+ void *obj,
+ void *context,
+ CORBA::Environment &ACE_TRY_ENV
+ )
+{
+ POA_CORBA::Contained_ptr impl = (POA_IR::ProvidesDef_ptr) obj;
+ POA_CORBA::Contained::_get_name_skel (
+ req,
+ (POA_CORBA::Contained_ptr) impl,
+ context,
+ ACE_TRY_ENV
+ );
+}
+ACE_INLINE void POA_IR::ProvidesDef::_set_name_skel (
+ TAO_ServerRequest &req,
+ void *obj,
+ void *context,
+ CORBA::Environment &ACE_TRY_ENV
+ )
+{
+ POA_CORBA::Contained_ptr impl = (POA_IR::ProvidesDef_ptr) obj;
+ POA_CORBA::Contained::_set_name_skel (
+ req,
+ (POA_CORBA::Contained_ptr) impl,
+ context,
+ ACE_TRY_ENV
+ );
+}
+ACE_INLINE void POA_IR::ProvidesDef::_get_version_skel (
+ TAO_ServerRequest &req,
+ void *obj,
+ void *context,
+ CORBA::Environment &ACE_TRY_ENV
+ )
+{
+ POA_CORBA::Contained_ptr impl = (POA_IR::ProvidesDef_ptr) obj;
+ POA_CORBA::Contained::_get_version_skel (
+ req,
+ (POA_CORBA::Contained_ptr) impl,
+ context,
+ ACE_TRY_ENV
+ );
+}
+ACE_INLINE void POA_IR::ProvidesDef::_set_version_skel (
+ TAO_ServerRequest &req,
+ void *obj,
+ void *context,
+ CORBA::Environment &ACE_TRY_ENV
+ )
+{
+ POA_CORBA::Contained_ptr impl = (POA_IR::ProvidesDef_ptr) obj;
+ POA_CORBA::Contained::_set_version_skel (
+ req,
+ (POA_CORBA::Contained_ptr) impl,
+ context,
+ ACE_TRY_ENV
+ );
+}
+ACE_INLINE void POA_IR::ProvidesDef::_get_defined_in_skel (
+ TAO_ServerRequest &req,
+ void *obj,
+ void *context,
+ CORBA::Environment &ACE_TRY_ENV
+ )
+{
+ POA_CORBA::Contained_ptr impl = (POA_IR::ProvidesDef_ptr) obj;
+ POA_CORBA::Contained::_get_defined_in_skel (
+ req,
+ (POA_CORBA::Contained_ptr) impl,
+ context,
+ ACE_TRY_ENV
+ );
+}
+ACE_INLINE void POA_IR::ProvidesDef::_get_absolute_name_skel (
+ TAO_ServerRequest &req,
+ void *obj,
+ void *context,
+ CORBA::Environment &ACE_TRY_ENV
+ )
+{
+ POA_CORBA::Contained_ptr impl = (POA_IR::ProvidesDef_ptr) obj;
+ POA_CORBA::Contained::_get_absolute_name_skel (
+ req,
+ (POA_CORBA::Contained_ptr) impl,
+ context,
+ ACE_TRY_ENV
+ );
+}
+ACE_INLINE void POA_IR::ProvidesDef::_get_containing_repository_skel (
+ TAO_ServerRequest &req,
+ void *obj,
+ void *context,
+ CORBA::Environment &ACE_TRY_ENV
+ )
+{
+ POA_CORBA::Contained_ptr impl = (POA_IR::ProvidesDef_ptr) obj;
+ POA_CORBA::Contained::_get_containing_repository_skel (
+ req,
+ (POA_CORBA::Contained_ptr) impl,
+ context,
+ ACE_TRY_ENV
+ );
+}
+ACE_INLINE void POA_IR::ProvidesDef::describe_skel (
+ TAO_ServerRequest &req,
+ void *obj,
+ void *context,
+ CORBA::Environment &ACE_TRY_ENV
+ )
+{
+ POA_CORBA::Contained_ptr impl = (POA_IR::ProvidesDef_ptr) obj;
+ POA_CORBA::Contained::describe_skel (
+ req,
+ (POA_CORBA::Contained_ptr) impl,
+ context,
+ ACE_TRY_ENV
+ );
+}
+ACE_INLINE void POA_IR::ProvidesDef::move_skel (
+ TAO_ServerRequest &req,
+ void *obj,
+ void *context,
+ CORBA::Environment &ACE_TRY_ENV
+ )
+{
+ POA_CORBA::Contained_ptr impl = (POA_IR::ProvidesDef_ptr) obj;
+ POA_CORBA::Contained::move_skel (
+ req,
+ (POA_CORBA::Contained_ptr) impl,
+ context,
+ ACE_TRY_ENV
+ );
+}
+ACE_INLINE void POA_IR::ProvidesDef::_get_def_kind_skel (
+ TAO_ServerRequest &req,
+ void *obj,
+ void *context,
+ CORBA::Environment &ACE_TRY_ENV
+ )
+{
+ POA_CORBA::IRObject_ptr impl = (POA_IR::ProvidesDef_ptr) obj;
+ POA_CORBA::IRObject::_get_def_kind_skel (
+ req,
+ (POA_CORBA::IRObject_ptr) impl,
+ context,
+ ACE_TRY_ENV
+ );
+}
+ACE_INLINE void POA_IR::ProvidesDef::destroy_skel (
+ TAO_ServerRequest &req,
+ void *obj,
+ void *context,
+ CORBA::Environment &ACE_TRY_ENV
+ )
+{
+ POA_CORBA::IRObject_ptr impl = (POA_IR::ProvidesDef_ptr) obj;
+ POA_CORBA::IRObject::destroy_skel (
+ req,
+ (POA_CORBA::IRObject_ptr) impl,
+ context,
+ ACE_TRY_ENV
+ );
+}
+ACE_INLINE void POA_IR::UsesDef::_get_id_skel (
+ TAO_ServerRequest &req,
+ void *obj,
+ void *context,
+ CORBA::Environment &ACE_TRY_ENV
+ )
+{
+ POA_CORBA::Contained_ptr impl = (POA_IR::UsesDef_ptr) obj;
+ POA_CORBA::Contained::_get_id_skel (
+ req,
+ (POA_CORBA::Contained_ptr) impl,
+ context,
+ ACE_TRY_ENV
+ );
+}
+ACE_INLINE void POA_IR::UsesDef::_set_id_skel (
+ TAO_ServerRequest &req,
+ void *obj,
+ void *context,
+ CORBA::Environment &ACE_TRY_ENV
+ )
+{
+ POA_CORBA::Contained_ptr impl = (POA_IR::UsesDef_ptr) obj;
+ POA_CORBA::Contained::_set_id_skel (
+ req,
+ (POA_CORBA::Contained_ptr) impl,
+ context,
+ ACE_TRY_ENV
+ );
+}
+ACE_INLINE void POA_IR::UsesDef::_get_name_skel (
+ TAO_ServerRequest &req,
+ void *obj,
+ void *context,
+ CORBA::Environment &ACE_TRY_ENV
+ )
+{
+ POA_CORBA::Contained_ptr impl = (POA_IR::UsesDef_ptr) obj;
+ POA_CORBA::Contained::_get_name_skel (
+ req,
+ (POA_CORBA::Contained_ptr) impl,
+ context,
+ ACE_TRY_ENV
+ );
+}
+ACE_INLINE void POA_IR::UsesDef::_set_name_skel (
+ TAO_ServerRequest &req,
+ void *obj,
+ void *context,
+ CORBA::Environment &ACE_TRY_ENV
+ )
+{
+ POA_CORBA::Contained_ptr impl = (POA_IR::UsesDef_ptr) obj;
+ POA_CORBA::Contained::_set_name_skel (
+ req,
+ (POA_CORBA::Contained_ptr) impl,
+ context,
+ ACE_TRY_ENV
+ );
+}
+ACE_INLINE void POA_IR::UsesDef::_get_version_skel (
+ TAO_ServerRequest &req,
+ void *obj,
+ void *context,
+ CORBA::Environment &ACE_TRY_ENV
+ )
+{
+ POA_CORBA::Contained_ptr impl = (POA_IR::UsesDef_ptr) obj;
+ POA_CORBA::Contained::_get_version_skel (
+ req,
+ (POA_CORBA::Contained_ptr) impl,
+ context,
+ ACE_TRY_ENV
+ );
+}
+ACE_INLINE void POA_IR::UsesDef::_set_version_skel (
+ TAO_ServerRequest &req,
+ void *obj,
+ void *context,
+ CORBA::Environment &ACE_TRY_ENV
+ )
+{
+ POA_CORBA::Contained_ptr impl = (POA_IR::UsesDef_ptr) obj;
+ POA_CORBA::Contained::_set_version_skel (
+ req,
+ (POA_CORBA::Contained_ptr) impl,
+ context,
+ ACE_TRY_ENV
+ );
+}
+ACE_INLINE void POA_IR::UsesDef::_get_defined_in_skel (
+ TAO_ServerRequest &req,
+ void *obj,
+ void *context,
+ CORBA::Environment &ACE_TRY_ENV
+ )
+{
+ POA_CORBA::Contained_ptr impl = (POA_IR::UsesDef_ptr) obj;
+ POA_CORBA::Contained::_get_defined_in_skel (
+ req,
+ (POA_CORBA::Contained_ptr) impl,
+ context,
+ ACE_TRY_ENV
+ );
+}
+ACE_INLINE void POA_IR::UsesDef::_get_absolute_name_skel (
+ TAO_ServerRequest &req,
+ void *obj,
+ void *context,
+ CORBA::Environment &ACE_TRY_ENV
+ )
+{
+ POA_CORBA::Contained_ptr impl = (POA_IR::UsesDef_ptr) obj;
+ POA_CORBA::Contained::_get_absolute_name_skel (
+ req,
+ (POA_CORBA::Contained_ptr) impl,
+ context,
+ ACE_TRY_ENV
+ );
+}
+ACE_INLINE void POA_IR::UsesDef::_get_containing_repository_skel (
+ TAO_ServerRequest &req,
+ void *obj,
+ void *context,
+ CORBA::Environment &ACE_TRY_ENV
+ )
+{
+ POA_CORBA::Contained_ptr impl = (POA_IR::UsesDef_ptr) obj;
+ POA_CORBA::Contained::_get_containing_repository_skel (
+ req,
+ (POA_CORBA::Contained_ptr) impl,
+ context,
+ ACE_TRY_ENV
+ );
+}
+ACE_INLINE void POA_IR::UsesDef::describe_skel (
+ TAO_ServerRequest &req,
+ void *obj,
+ void *context,
+ CORBA::Environment &ACE_TRY_ENV
+ )
+{
+ POA_CORBA::Contained_ptr impl = (POA_IR::UsesDef_ptr) obj;
+ POA_CORBA::Contained::describe_skel (
+ req,
+ (POA_CORBA::Contained_ptr) impl,
+ context,
+ ACE_TRY_ENV
+ );
+}
+ACE_INLINE void POA_IR::UsesDef::move_skel (
+ TAO_ServerRequest &req,
+ void *obj,
+ void *context,
+ CORBA::Environment &ACE_TRY_ENV
+ )
+{
+ POA_CORBA::Contained_ptr impl = (POA_IR::UsesDef_ptr) obj;
+ POA_CORBA::Contained::move_skel (
+ req,
+ (POA_CORBA::Contained_ptr) impl,
+ context,
+ ACE_TRY_ENV
+ );
+}
+ACE_INLINE void POA_IR::UsesDef::_get_def_kind_skel (
+ TAO_ServerRequest &req,
+ void *obj,
+ void *context,
+ CORBA::Environment &ACE_TRY_ENV
+ )
+{
+ POA_CORBA::IRObject_ptr impl = (POA_IR::UsesDef_ptr) obj;
+ POA_CORBA::IRObject::_get_def_kind_skel (
+ req,
+ (POA_CORBA::IRObject_ptr) impl,
+ context,
+ ACE_TRY_ENV
+ );
+}
+ACE_INLINE void POA_IR::UsesDef::destroy_skel (
+ TAO_ServerRequest &req,
+ void *obj,
+ void *context,
+ CORBA::Environment &ACE_TRY_ENV
+ )
+{
+ POA_CORBA::IRObject_ptr impl = (POA_IR::UsesDef_ptr) obj;
+ POA_CORBA::IRObject::destroy_skel (
+ req,
+ (POA_CORBA::IRObject_ptr) impl,
+ context,
+ ACE_TRY_ENV
+ );
+}
+ACE_INLINE void POA_IR::EventDef::_get_id_skel (
+ TAO_ServerRequest &req,
+ void *obj,
+ void *context,
+ CORBA::Environment &ACE_TRY_ENV
+ )
+{
+ POA_CORBA::Contained_ptr impl = (POA_IR::EventDef_ptr) obj;
+ POA_CORBA::Contained::_get_id_skel (
+ req,
+ (POA_CORBA::Contained_ptr) impl,
+ context,
+ ACE_TRY_ENV
+ );
+}
+ACE_INLINE void POA_IR::EventDef::_set_id_skel (
+ TAO_ServerRequest &req,
+ void *obj,
+ void *context,
+ CORBA::Environment &ACE_TRY_ENV
+ )
+{
+ POA_CORBA::Contained_ptr impl = (POA_IR::EventDef_ptr) obj;
+ POA_CORBA::Contained::_set_id_skel (
+ req,
+ (POA_CORBA::Contained_ptr) impl,
+ context,
+ ACE_TRY_ENV
+ );
+}
+ACE_INLINE void POA_IR::EventDef::_get_name_skel (
+ TAO_ServerRequest &req,
+ void *obj,
+ void *context,
+ CORBA::Environment &ACE_TRY_ENV
+ )
+{
+ POA_CORBA::Contained_ptr impl = (POA_IR::EventDef_ptr) obj;
+ POA_CORBA::Contained::_get_name_skel (
+ req,
+ (POA_CORBA::Contained_ptr) impl,
+ context,
+ ACE_TRY_ENV
+ );
+}
+ACE_INLINE void POA_IR::EventDef::_set_name_skel (
+ TAO_ServerRequest &req,
+ void *obj,
+ void *context,
+ CORBA::Environment &ACE_TRY_ENV
+ )
+{
+ POA_CORBA::Contained_ptr impl = (POA_IR::EventDef_ptr) obj;
+ POA_CORBA::Contained::_set_name_skel (
+ req,
+ (POA_CORBA::Contained_ptr) impl,
+ context,
+ ACE_TRY_ENV
+ );
+}
+ACE_INLINE void POA_IR::EventDef::_get_version_skel (
+ TAO_ServerRequest &req,
+ void *obj,
+ void *context,
+ CORBA::Environment &ACE_TRY_ENV
+ )
+{
+ POA_CORBA::Contained_ptr impl = (POA_IR::EventDef_ptr) obj;
+ POA_CORBA::Contained::_get_version_skel (
+ req,
+ (POA_CORBA::Contained_ptr) impl,
+ context,
+ ACE_TRY_ENV
+ );
+}
+ACE_INLINE void POA_IR::EventDef::_set_version_skel (
+ TAO_ServerRequest &req,
+ void *obj,
+ void *context,
+ CORBA::Environment &ACE_TRY_ENV
+ )
+{
+ POA_CORBA::Contained_ptr impl = (POA_IR::EventDef_ptr) obj;
+ POA_CORBA::Contained::_set_version_skel (
+ req,
+ (POA_CORBA::Contained_ptr) impl,
+ context,
+ ACE_TRY_ENV
+ );
+}
+ACE_INLINE void POA_IR::EventDef::_get_defined_in_skel (
+ TAO_ServerRequest &req,
+ void *obj,
+ void *context,
+ CORBA::Environment &ACE_TRY_ENV
+ )
+{
+ POA_CORBA::Contained_ptr impl = (POA_IR::EventDef_ptr) obj;
+ POA_CORBA::Contained::_get_defined_in_skel (
+ req,
+ (POA_CORBA::Contained_ptr) impl,
+ context,
+ ACE_TRY_ENV
+ );
+}
+ACE_INLINE void POA_IR::EventDef::_get_absolute_name_skel (
+ TAO_ServerRequest &req,
+ void *obj,
+ void *context,
+ CORBA::Environment &ACE_TRY_ENV
+ )
+{
+ POA_CORBA::Contained_ptr impl = (POA_IR::EventDef_ptr) obj;
+ POA_CORBA::Contained::_get_absolute_name_skel (
+ req,
+ (POA_CORBA::Contained_ptr) impl,
+ context,
+ ACE_TRY_ENV
+ );
+}
+ACE_INLINE void POA_IR::EventDef::_get_containing_repository_skel (
+ TAO_ServerRequest &req,
+ void *obj,
+ void *context,
+ CORBA::Environment &ACE_TRY_ENV
+ )
+{
+ POA_CORBA::Contained_ptr impl = (POA_IR::EventDef_ptr) obj;
+ POA_CORBA::Contained::_get_containing_repository_skel (
+ req,
+ (POA_CORBA::Contained_ptr) impl,
+ context,
+ ACE_TRY_ENV
+ );
+}
+ACE_INLINE void POA_IR::EventDef::describe_skel (
+ TAO_ServerRequest &req,
+ void *obj,
+ void *context,
+ CORBA::Environment &ACE_TRY_ENV
+ )
+{
+ POA_CORBA::Contained_ptr impl = (POA_IR::EventDef_ptr) obj;
+ POA_CORBA::Contained::describe_skel (
+ req,
+ (POA_CORBA::Contained_ptr) impl,
+ context,
+ ACE_TRY_ENV
+ );
+}
+ACE_INLINE void POA_IR::EventDef::move_skel (
+ TAO_ServerRequest &req,
+ void *obj,
+ void *context,
+ CORBA::Environment &ACE_TRY_ENV
+ )
+{
+ POA_CORBA::Contained_ptr impl = (POA_IR::EventDef_ptr) obj;
+ POA_CORBA::Contained::move_skel (
+ req,
+ (POA_CORBA::Contained_ptr) impl,
+ context,
+ ACE_TRY_ENV
+ );
+}
+ACE_INLINE void POA_IR::EventDef::_get_def_kind_skel (
+ TAO_ServerRequest &req,
+ void *obj,
+ void *context,
+ CORBA::Environment &ACE_TRY_ENV
+ )
+{
+ POA_CORBA::IRObject_ptr impl = (POA_IR::EventDef_ptr) obj;
+ POA_CORBA::IRObject::_get_def_kind_skel (
+ req,
+ (POA_CORBA::IRObject_ptr) impl,
+ context,
+ ACE_TRY_ENV
+ );
+}
+ACE_INLINE void POA_IR::EventDef::destroy_skel (
+ TAO_ServerRequest &req,
+ void *obj,
+ void *context,
+ CORBA::Environment &ACE_TRY_ENV
+ )
+{
+ POA_CORBA::IRObject_ptr impl = (POA_IR::EventDef_ptr) obj;
+ POA_CORBA::IRObject::destroy_skel (
+ req,
+ (POA_CORBA::IRObject_ptr) impl,
+ context,
+ ACE_TRY_ENV
+ );
+}
+ACE_INLINE void POA_IR::EmitsDef::is_a_skel (
+ TAO_ServerRequest &req,
+ void *obj,
+ void *context,
+ CORBA::Environment &ACE_TRY_ENV
+ )
+{
+ POA_IR::EventDef_ptr impl = (POA_IR::EmitsDef_ptr) obj;
+ POA_IR::EventDef::is_a_skel (
+ req,
+ (POA_IR::EventDef_ptr) impl,
+ context,
+ ACE_TRY_ENV
+ );
+}
+ACE_INLINE void POA_IR::EmitsDef::_get_event_skel (
+ TAO_ServerRequest &req,
+ void *obj,
+ void *context,
+ CORBA::Environment &ACE_TRY_ENV
+ )
+{
+ POA_IR::EventDef_ptr impl = (POA_IR::EmitsDef_ptr) obj;
+ POA_IR::EventDef::_get_event_skel (
+ req,
+ (POA_IR::EventDef_ptr) impl,
+ context,
+ ACE_TRY_ENV
+ );
+}
+ACE_INLINE void POA_IR::EmitsDef::_get_id_skel (
+ TAO_ServerRequest &req,
+ void *obj,
+ void *context,
+ CORBA::Environment &ACE_TRY_ENV
+ )
+{
+ POA_CORBA::Contained_ptr impl = (POA_IR::EmitsDef_ptr) obj;
+ POA_CORBA::Contained::_get_id_skel (
+ req,
+ (POA_CORBA::Contained_ptr) impl,
+ context,
+ ACE_TRY_ENV
+ );
+}
+ACE_INLINE void POA_IR::EmitsDef::_set_id_skel (
+ TAO_ServerRequest &req,
+ void *obj,
+ void *context,
+ CORBA::Environment &ACE_TRY_ENV
+ )
+{
+ POA_CORBA::Contained_ptr impl = (POA_IR::EmitsDef_ptr) obj;
+ POA_CORBA::Contained::_set_id_skel (
+ req,
+ (POA_CORBA::Contained_ptr) impl,
+ context,
+ ACE_TRY_ENV
+ );
+}
+ACE_INLINE void POA_IR::EmitsDef::_get_name_skel (
+ TAO_ServerRequest &req,
+ void *obj,
+ void *context,
+ CORBA::Environment &ACE_TRY_ENV
+ )
+{
+ POA_CORBA::Contained_ptr impl = (POA_IR::EmitsDef_ptr) obj;
+ POA_CORBA::Contained::_get_name_skel (
+ req,
+ (POA_CORBA::Contained_ptr) impl,
+ context,
+ ACE_TRY_ENV
+ );
+}
+ACE_INLINE void POA_IR::EmitsDef::_set_name_skel (
+ TAO_ServerRequest &req,
+ void *obj,
+ void *context,
+ CORBA::Environment &ACE_TRY_ENV
+ )
+{
+ POA_CORBA::Contained_ptr impl = (POA_IR::EmitsDef_ptr) obj;
+ POA_CORBA::Contained::_set_name_skel (
+ req,
+ (POA_CORBA::Contained_ptr) impl,
+ context,
+ ACE_TRY_ENV
+ );
+}
+ACE_INLINE void POA_IR::EmitsDef::_get_version_skel (
+ TAO_ServerRequest &req,
+ void *obj,
+ void *context,
+ CORBA::Environment &ACE_TRY_ENV
+ )
+{
+ POA_CORBA::Contained_ptr impl = (POA_IR::EmitsDef_ptr) obj;
+ POA_CORBA::Contained::_get_version_skel (
+ req,
+ (POA_CORBA::Contained_ptr) impl,
+ context,
+ ACE_TRY_ENV
+ );
+}
+ACE_INLINE void POA_IR::EmitsDef::_set_version_skel (
+ TAO_ServerRequest &req,
+ void *obj,
+ void *context,
+ CORBA::Environment &ACE_TRY_ENV
+ )
+{
+ POA_CORBA::Contained_ptr impl = (POA_IR::EmitsDef_ptr) obj;
+ POA_CORBA::Contained::_set_version_skel (
+ req,
+ (POA_CORBA::Contained_ptr) impl,
+ context,
+ ACE_TRY_ENV
+ );
+}
+ACE_INLINE void POA_IR::EmitsDef::_get_defined_in_skel (
+ TAO_ServerRequest &req,
+ void *obj,
+ void *context,
+ CORBA::Environment &ACE_TRY_ENV
+ )
+{
+ POA_CORBA::Contained_ptr impl = (POA_IR::EmitsDef_ptr) obj;
+ POA_CORBA::Contained::_get_defined_in_skel (
+ req,
+ (POA_CORBA::Contained_ptr) impl,
+ context,
+ ACE_TRY_ENV
+ );
+}
+ACE_INLINE void POA_IR::EmitsDef::_get_absolute_name_skel (
+ TAO_ServerRequest &req,
+ void *obj,
+ void *context,
+ CORBA::Environment &ACE_TRY_ENV
+ )
+{
+ POA_CORBA::Contained_ptr impl = (POA_IR::EmitsDef_ptr) obj;
+ POA_CORBA::Contained::_get_absolute_name_skel (
+ req,
+ (POA_CORBA::Contained_ptr) impl,
+ context,
+ ACE_TRY_ENV
+ );
+}
+ACE_INLINE void POA_IR::EmitsDef::_get_containing_repository_skel (
+ TAO_ServerRequest &req,
+ void *obj,
+ void *context,
+ CORBA::Environment &ACE_TRY_ENV
+ )
+{
+ POA_CORBA::Contained_ptr impl = (POA_IR::EmitsDef_ptr) obj;
+ POA_CORBA::Contained::_get_containing_repository_skel (
+ req,
+ (POA_CORBA::Contained_ptr) impl,
+ context,
+ ACE_TRY_ENV
+ );
+}
+ACE_INLINE void POA_IR::EmitsDef::describe_skel (
+ TAO_ServerRequest &req,
+ void *obj,
+ void *context,
+ CORBA::Environment &ACE_TRY_ENV
+ )
+{
+ POA_CORBA::Contained_ptr impl = (POA_IR::EmitsDef_ptr) obj;
+ POA_CORBA::Contained::describe_skel (
+ req,
+ (POA_CORBA::Contained_ptr) impl,
+ context,
+ ACE_TRY_ENV
+ );
+}
+ACE_INLINE void POA_IR::EmitsDef::move_skel (
+ TAO_ServerRequest &req,
+ void *obj,
+ void *context,
+ CORBA::Environment &ACE_TRY_ENV
+ )
+{
+ POA_CORBA::Contained_ptr impl = (POA_IR::EmitsDef_ptr) obj;
+ POA_CORBA::Contained::move_skel (
+ req,
+ (POA_CORBA::Contained_ptr) impl,
+ context,
+ ACE_TRY_ENV
+ );
+}
+ACE_INLINE void POA_IR::EmitsDef::_get_def_kind_skel (
+ TAO_ServerRequest &req,
+ void *obj,
+ void *context,
+ CORBA::Environment &ACE_TRY_ENV
+ )
+{
+ POA_CORBA::IRObject_ptr impl = (POA_IR::EmitsDef_ptr) obj;
+ POA_CORBA::IRObject::_get_def_kind_skel (
+ req,
+ (POA_CORBA::IRObject_ptr) impl,
+ context,
+ ACE_TRY_ENV
+ );
+}
+ACE_INLINE void POA_IR::EmitsDef::destroy_skel (
+ TAO_ServerRequest &req,
+ void *obj,
+ void *context,
+ CORBA::Environment &ACE_TRY_ENV
+ )
+{
+ POA_CORBA::IRObject_ptr impl = (POA_IR::EmitsDef_ptr) obj;
+ POA_CORBA::IRObject::destroy_skel (
+ req,
+ (POA_CORBA::IRObject_ptr) impl,
+ context,
+ ACE_TRY_ENV
+ );
+}
+ACE_INLINE void POA_IR::PublishesDef::is_a_skel (
+ TAO_ServerRequest &req,
+ void *obj,
+ void *context,
+ CORBA::Environment &ACE_TRY_ENV
+ )
+{
+ POA_IR::EventDef_ptr impl = (POA_IR::PublishesDef_ptr) obj;
+ POA_IR::EventDef::is_a_skel (
+ req,
+ (POA_IR::EventDef_ptr) impl,
+ context,
+ ACE_TRY_ENV
+ );
+}
+ACE_INLINE void POA_IR::PublishesDef::_get_event_skel (
+ TAO_ServerRequest &req,
+ void *obj,
+ void *context,
+ CORBA::Environment &ACE_TRY_ENV
+ )
+{
+ POA_IR::EventDef_ptr impl = (POA_IR::PublishesDef_ptr) obj;
+ POA_IR::EventDef::_get_event_skel (
+ req,
+ (POA_IR::EventDef_ptr) impl,
+ context,
+ ACE_TRY_ENV
+ );
+}
+ACE_INLINE void POA_IR::PublishesDef::_get_id_skel (
+ TAO_ServerRequest &req,
+ void *obj,
+ void *context,
+ CORBA::Environment &ACE_TRY_ENV
+ )
+{
+ POA_CORBA::Contained_ptr impl = (POA_IR::PublishesDef_ptr) obj;
+ POA_CORBA::Contained::_get_id_skel (
+ req,
+ (POA_CORBA::Contained_ptr) impl,
+ context,
+ ACE_TRY_ENV
+ );
+}
+ACE_INLINE void POA_IR::PublishesDef::_set_id_skel (
+ TAO_ServerRequest &req,
+ void *obj,
+ void *context,
+ CORBA::Environment &ACE_TRY_ENV
+ )
+{
+ POA_CORBA::Contained_ptr impl = (POA_IR::PublishesDef_ptr) obj;
+ POA_CORBA::Contained::_set_id_skel (
+ req,
+ (POA_CORBA::Contained_ptr) impl,
+ context,
+ ACE_TRY_ENV
+ );
+}
+ACE_INLINE void POA_IR::PublishesDef::_get_name_skel (
+ TAO_ServerRequest &req,
+ void *obj,
+ void *context,
+ CORBA::Environment &ACE_TRY_ENV
+ )
+{
+ POA_CORBA::Contained_ptr impl = (POA_IR::PublishesDef_ptr) obj;
+ POA_CORBA::Contained::_get_name_skel (
+ req,
+ (POA_CORBA::Contained_ptr) impl,
+ context,
+ ACE_TRY_ENV
+ );
+}
+ACE_INLINE void POA_IR::PublishesDef::_set_name_skel (
+ TAO_ServerRequest &req,
+ void *obj,
+ void *context,
+ CORBA::Environment &ACE_TRY_ENV
+ )
+{
+ POA_CORBA::Contained_ptr impl = (POA_IR::PublishesDef_ptr) obj;
+ POA_CORBA::Contained::_set_name_skel (
+ req,
+ (POA_CORBA::Contained_ptr) impl,
+ context,
+ ACE_TRY_ENV
+ );
+}
+ACE_INLINE void POA_IR::PublishesDef::_get_version_skel (
+ TAO_ServerRequest &req,
+ void *obj,
+ void *context,
+ CORBA::Environment &ACE_TRY_ENV
+ )
+{
+ POA_CORBA::Contained_ptr impl = (POA_IR::PublishesDef_ptr) obj;
+ POA_CORBA::Contained::_get_version_skel (
+ req,
+ (POA_CORBA::Contained_ptr) impl,
+ context,
+ ACE_TRY_ENV
+ );
+}
+ACE_INLINE void POA_IR::PublishesDef::_set_version_skel (
+ TAO_ServerRequest &req,
+ void *obj,
+ void *context,
+ CORBA::Environment &ACE_TRY_ENV
+ )
+{
+ POA_CORBA::Contained_ptr impl = (POA_IR::PublishesDef_ptr) obj;
+ POA_CORBA::Contained::_set_version_skel (
+ req,
+ (POA_CORBA::Contained_ptr) impl,
+ context,
+ ACE_TRY_ENV
+ );
+}
+ACE_INLINE void POA_IR::PublishesDef::_get_defined_in_skel (
+ TAO_ServerRequest &req,
+ void *obj,
+ void *context,
+ CORBA::Environment &ACE_TRY_ENV
+ )
+{
+ POA_CORBA::Contained_ptr impl = (POA_IR::PublishesDef_ptr) obj;
+ POA_CORBA::Contained::_get_defined_in_skel (
+ req,
+ (POA_CORBA::Contained_ptr) impl,
+ context,
+ ACE_TRY_ENV
+ );
+}
+ACE_INLINE void POA_IR::PublishesDef::_get_absolute_name_skel (
+ TAO_ServerRequest &req,
+ void *obj,
+ void *context,
+ CORBA::Environment &ACE_TRY_ENV
+ )
+{
+ POA_CORBA::Contained_ptr impl = (POA_IR::PublishesDef_ptr) obj;
+ POA_CORBA::Contained::_get_absolute_name_skel (
+ req,
+ (POA_CORBA::Contained_ptr) impl,
+ context,
+ ACE_TRY_ENV
+ );
+}
+ACE_INLINE void POA_IR::PublishesDef::_get_containing_repository_skel (
+ TAO_ServerRequest &req,
+ void *obj,
+ void *context,
+ CORBA::Environment &ACE_TRY_ENV
+ )
+{
+ POA_CORBA::Contained_ptr impl = (POA_IR::PublishesDef_ptr) obj;
+ POA_CORBA::Contained::_get_containing_repository_skel (
+ req,
+ (POA_CORBA::Contained_ptr) impl,
+ context,
+ ACE_TRY_ENV
+ );
+}
+ACE_INLINE void POA_IR::PublishesDef::describe_skel (
+ TAO_ServerRequest &req,
+ void *obj,
+ void *context,
+ CORBA::Environment &ACE_TRY_ENV
+ )
+{
+ POA_CORBA::Contained_ptr impl = (POA_IR::PublishesDef_ptr) obj;
+ POA_CORBA::Contained::describe_skel (
+ req,
+ (POA_CORBA::Contained_ptr) impl,
+ context,
+ ACE_TRY_ENV
+ );
+}
+ACE_INLINE void POA_IR::PublishesDef::move_skel (
+ TAO_ServerRequest &req,
+ void *obj,
+ void *context,
+ CORBA::Environment &ACE_TRY_ENV
+ )
+{
+ POA_CORBA::Contained_ptr impl = (POA_IR::PublishesDef_ptr) obj;
+ POA_CORBA::Contained::move_skel (
+ req,
+ (POA_CORBA::Contained_ptr) impl,
+ context,
+ ACE_TRY_ENV
+ );
+}
+ACE_INLINE void POA_IR::PublishesDef::_get_def_kind_skel (
+ TAO_ServerRequest &req,
+ void *obj,
+ void *context,
+ CORBA::Environment &ACE_TRY_ENV
+ )
+{
+ POA_CORBA::IRObject_ptr impl = (POA_IR::PublishesDef_ptr) obj;
+ POA_CORBA::IRObject::_get_def_kind_skel (
+ req,
+ (POA_CORBA::IRObject_ptr) impl,
+ context,
+ ACE_TRY_ENV
+ );
+}
+ACE_INLINE void POA_IR::PublishesDef::destroy_skel (
+ TAO_ServerRequest &req,
+ void *obj,
+ void *context,
+ CORBA::Environment &ACE_TRY_ENV
+ )
+{
+ POA_CORBA::IRObject_ptr impl = (POA_IR::PublishesDef_ptr) obj;
+ POA_CORBA::IRObject::destroy_skel (
+ req,
+ (POA_CORBA::IRObject_ptr) impl,
+ context,
+ ACE_TRY_ENV
+ );
+}
+ACE_INLINE void POA_IR::ConsumesDef::is_a_skel (
+ TAO_ServerRequest &req,
+ void *obj,
+ void *context,
+ CORBA::Environment &ACE_TRY_ENV
+ )
+{
+ POA_IR::EventDef_ptr impl = (POA_IR::ConsumesDef_ptr) obj;
+ POA_IR::EventDef::is_a_skel (
+ req,
+ (POA_IR::EventDef_ptr) impl,
+ context,
+ ACE_TRY_ENV
+ );
+}
+ACE_INLINE void POA_IR::ConsumesDef::_get_event_skel (
+ TAO_ServerRequest &req,
+ void *obj,
+ void *context,
+ CORBA::Environment &ACE_TRY_ENV
+ )
+{
+ POA_IR::EventDef_ptr impl = (POA_IR::ConsumesDef_ptr) obj;
+ POA_IR::EventDef::_get_event_skel (
+ req,
+ (POA_IR::EventDef_ptr) impl,
+ context,
+ ACE_TRY_ENV
+ );
+}
+ACE_INLINE void POA_IR::ConsumesDef::_get_id_skel (
+ TAO_ServerRequest &req,
+ void *obj,
+ void *context,
+ CORBA::Environment &ACE_TRY_ENV
+ )
+{
+ POA_CORBA::Contained_ptr impl = (POA_IR::ConsumesDef_ptr) obj;
+ POA_CORBA::Contained::_get_id_skel (
+ req,
+ (POA_CORBA::Contained_ptr) impl,
+ context,
+ ACE_TRY_ENV
+ );
+}
+ACE_INLINE void POA_IR::ConsumesDef::_set_id_skel (
+ TAO_ServerRequest &req,
+ void *obj,
+ void *context,
+ CORBA::Environment &ACE_TRY_ENV
+ )
+{
+ POA_CORBA::Contained_ptr impl = (POA_IR::ConsumesDef_ptr) obj;
+ POA_CORBA::Contained::_set_id_skel (
+ req,
+ (POA_CORBA::Contained_ptr) impl,
+ context,
+ ACE_TRY_ENV
+ );
+}
+ACE_INLINE void POA_IR::ConsumesDef::_get_name_skel (
+ TAO_ServerRequest &req,
+ void *obj,
+ void *context,
+ CORBA::Environment &ACE_TRY_ENV
+ )
+{
+ POA_CORBA::Contained_ptr impl = (POA_IR::ConsumesDef_ptr) obj;
+ POA_CORBA::Contained::_get_name_skel (
+ req,
+ (POA_CORBA::Contained_ptr) impl,
+ context,
+ ACE_TRY_ENV
+ );
+}
+ACE_INLINE void POA_IR::ConsumesDef::_set_name_skel (
+ TAO_ServerRequest &req,
+ void *obj,
+ void *context,
+ CORBA::Environment &ACE_TRY_ENV
+ )
+{
+ POA_CORBA::Contained_ptr impl = (POA_IR::ConsumesDef_ptr) obj;
+ POA_CORBA::Contained::_set_name_skel (
+ req,
+ (POA_CORBA::Contained_ptr) impl,
+ context,
+ ACE_TRY_ENV
+ );
+}
+ACE_INLINE void POA_IR::ConsumesDef::_get_version_skel (
+ TAO_ServerRequest &req,
+ void *obj,
+ void *context,
+ CORBA::Environment &ACE_TRY_ENV
+ )
+{
+ POA_CORBA::Contained_ptr impl = (POA_IR::ConsumesDef_ptr) obj;
+ POA_CORBA::Contained::_get_version_skel (
+ req,
+ (POA_CORBA::Contained_ptr) impl,
+ context,
+ ACE_TRY_ENV
+ );
+}
+ACE_INLINE void POA_IR::ConsumesDef::_set_version_skel (
+ TAO_ServerRequest &req,
+ void *obj,
+ void *context,
+ CORBA::Environment &ACE_TRY_ENV
+ )
+{
+ POA_CORBA::Contained_ptr impl = (POA_IR::ConsumesDef_ptr) obj;
+ POA_CORBA::Contained::_set_version_skel (
+ req,
+ (POA_CORBA::Contained_ptr) impl,
+ context,
+ ACE_TRY_ENV
+ );
+}
+ACE_INLINE void POA_IR::ConsumesDef::_get_defined_in_skel (
+ TAO_ServerRequest &req,
+ void *obj,
+ void *context,
+ CORBA::Environment &ACE_TRY_ENV
+ )
+{
+ POA_CORBA::Contained_ptr impl = (POA_IR::ConsumesDef_ptr) obj;
+ POA_CORBA::Contained::_get_defined_in_skel (
+ req,
+ (POA_CORBA::Contained_ptr) impl,
+ context,
+ ACE_TRY_ENV
+ );
+}
+ACE_INLINE void POA_IR::ConsumesDef::_get_absolute_name_skel (
+ TAO_ServerRequest &req,
+ void *obj,
+ void *context,
+ CORBA::Environment &ACE_TRY_ENV
+ )
+{
+ POA_CORBA::Contained_ptr impl = (POA_IR::ConsumesDef_ptr) obj;
+ POA_CORBA::Contained::_get_absolute_name_skel (
+ req,
+ (POA_CORBA::Contained_ptr) impl,
+ context,
+ ACE_TRY_ENV
+ );
+}
+ACE_INLINE void POA_IR::ConsumesDef::_get_containing_repository_skel (
+ TAO_ServerRequest &req,
+ void *obj,
+ void *context,
+ CORBA::Environment &ACE_TRY_ENV
+ )
+{
+ POA_CORBA::Contained_ptr impl = (POA_IR::ConsumesDef_ptr) obj;
+ POA_CORBA::Contained::_get_containing_repository_skel (
+ req,
+ (POA_CORBA::Contained_ptr) impl,
+ context,
+ ACE_TRY_ENV
+ );
+}
+ACE_INLINE void POA_IR::ConsumesDef::describe_skel (
+ TAO_ServerRequest &req,
+ void *obj,
+ void *context,
+ CORBA::Environment &ACE_TRY_ENV
+ )
+{
+ POA_CORBA::Contained_ptr impl = (POA_IR::ConsumesDef_ptr) obj;
+ POA_CORBA::Contained::describe_skel (
+ req,
+ (POA_CORBA::Contained_ptr) impl,
+ context,
+ ACE_TRY_ENV
+ );
+}
+ACE_INLINE void POA_IR::ConsumesDef::move_skel (
+ TAO_ServerRequest &req,
+ void *obj,
+ void *context,
+ CORBA::Environment &ACE_TRY_ENV
+ )
+{
+ POA_CORBA::Contained_ptr impl = (POA_IR::ConsumesDef_ptr) obj;
+ POA_CORBA::Contained::move_skel (
+ req,
+ (POA_CORBA::Contained_ptr) impl,
+ context,
+ ACE_TRY_ENV
+ );
+}
+ACE_INLINE void POA_IR::ConsumesDef::_get_def_kind_skel (
+ TAO_ServerRequest &req,
+ void *obj,
+ void *context,
+ CORBA::Environment &ACE_TRY_ENV
+ )
+{
+ POA_CORBA::IRObject_ptr impl = (POA_IR::ConsumesDef_ptr) obj;
+ POA_CORBA::IRObject::_get_def_kind_skel (
+ req,
+ (POA_CORBA::IRObject_ptr) impl,
+ context,
+ ACE_TRY_ENV
+ );
+}
+ACE_INLINE void POA_IR::ConsumesDef::destroy_skel (
+ TAO_ServerRequest &req,
+ void *obj,
+ void *context,
+ CORBA::Environment &ACE_TRY_ENV
+ )
+{
+ POA_CORBA::IRObject_ptr impl = (POA_IR::ConsumesDef_ptr) obj;
+ POA_CORBA::IRObject::destroy_skel (
+ req,
+ (POA_CORBA::IRObject_ptr) impl,
+ context,
+ ACE_TRY_ENV
+ );
+}
+ACE_INLINE void POA_IR::ComponentDef::_get_base_interfaces_skel (
+ TAO_ServerRequest &req,
+ void *obj,
+ void *context,
+ CORBA::Environment &ACE_TRY_ENV
+ )
+{
+ POA_CORBA::InterfaceDef_ptr impl = (POA_IR::ComponentDef_ptr) obj;
+ POA_CORBA::InterfaceDef::_get_base_interfaces_skel (
+ req,
+ (POA_CORBA::InterfaceDef_ptr) impl,
+ context,
+ ACE_TRY_ENV
+ );
+}
+ACE_INLINE void POA_IR::ComponentDef::_set_base_interfaces_skel (
+ TAO_ServerRequest &req,
+ void *obj,
+ void *context,
+ CORBA::Environment &ACE_TRY_ENV
+ )
+{
+ POA_CORBA::InterfaceDef_ptr impl = (POA_IR::ComponentDef_ptr) obj;
+ POA_CORBA::InterfaceDef::_set_base_interfaces_skel (
+ req,
+ (POA_CORBA::InterfaceDef_ptr) impl,
+ context,
+ ACE_TRY_ENV
+ );
+}
+ACE_INLINE void POA_IR::ComponentDef::is_a_skel (
+ TAO_ServerRequest &req,
+ void *obj,
+ void *context,
+ CORBA::Environment &ACE_TRY_ENV
+ )
+{
+ POA_CORBA::InterfaceDef_ptr impl = (POA_IR::ComponentDef_ptr) obj;
+ POA_CORBA::InterfaceDef::is_a_skel (
+ req,
+ (POA_CORBA::InterfaceDef_ptr) impl,
+ context,
+ ACE_TRY_ENV
+ );
+}
+ACE_INLINE void POA_IR::ComponentDef::describe_interface_skel (
+ TAO_ServerRequest &req,
+ void *obj,
+ void *context,
+ CORBA::Environment &ACE_TRY_ENV
+ )
+{
+ POA_CORBA::InterfaceDef_ptr impl = (POA_IR::ComponentDef_ptr) obj;
+ POA_CORBA::InterfaceDef::describe_interface_skel (
+ req,
+ (POA_CORBA::InterfaceDef_ptr) impl,
+ context,
+ ACE_TRY_ENV
+ );
+}
+ACE_INLINE void POA_IR::ComponentDef::create_attribute_skel (
+ TAO_ServerRequest &req,
+ void *obj,
+ void *context,
+ CORBA::Environment &ACE_TRY_ENV
+ )
+{
+ POA_CORBA::InterfaceDef_ptr impl = (POA_IR::ComponentDef_ptr) obj;
+ POA_CORBA::InterfaceDef::create_attribute_skel (
+ req,
+ (POA_CORBA::InterfaceDef_ptr) impl,
+ context,
+ ACE_TRY_ENV
+ );
+}
+ACE_INLINE void POA_IR::ComponentDef::create_operation_skel (
+ TAO_ServerRequest &req,
+ void *obj,
+ void *context,
+ CORBA::Environment &ACE_TRY_ENV
+ )
+{
+ POA_CORBA::InterfaceDef_ptr impl = (POA_IR::ComponentDef_ptr) obj;
+ POA_CORBA::InterfaceDef::create_operation_skel (
+ req,
+ (POA_CORBA::InterfaceDef_ptr) impl,
+ context,
+ ACE_TRY_ENV
+ );
+}
+ACE_INLINE void POA_IR::ComponentDef::lookup_skel (
+ TAO_ServerRequest &req,
+ void *obj,
+ void *context,
+ CORBA::Environment &ACE_TRY_ENV
+ )
+{
+ POA_CORBA::Container_ptr impl = (POA_IR::ComponentDef_ptr) obj;
+ POA_CORBA::Container::lookup_skel (
+ req,
+ (POA_CORBA::Container_ptr) impl,
+ context,
+ ACE_TRY_ENV
+ );
+}
+ACE_INLINE void POA_IR::ComponentDef::contents_skel (
+ TAO_ServerRequest &req,
+ void *obj,
+ void *context,
+ CORBA::Environment &ACE_TRY_ENV
+ )
+{
+ POA_CORBA::Container_ptr impl = (POA_IR::ComponentDef_ptr) obj;
+ POA_CORBA::Container::contents_skel (
+ req,
+ (POA_CORBA::Container_ptr) impl,
+ context,
+ ACE_TRY_ENV
+ );
+}
+ACE_INLINE void POA_IR::ComponentDef::lookup_name_skel (
+ TAO_ServerRequest &req,
+ void *obj,
+ void *context,
+ CORBA::Environment &ACE_TRY_ENV
+ )
+{
+ POA_CORBA::Container_ptr impl = (POA_IR::ComponentDef_ptr) obj;
+ POA_CORBA::Container::lookup_name_skel (
+ req,
+ (POA_CORBA::Container_ptr) impl,
+ context,
+ ACE_TRY_ENV
+ );
+}
+ACE_INLINE void POA_IR::ComponentDef::describe_contents_skel (
+ TAO_ServerRequest &req,
+ void *obj,
+ void *context,
+ CORBA::Environment &ACE_TRY_ENV
+ )
+{
+ POA_CORBA::Container_ptr impl = (POA_IR::ComponentDef_ptr) obj;
+ POA_CORBA::Container::describe_contents_skel (
+ req,
+ (POA_CORBA::Container_ptr) impl,
+ context,
+ ACE_TRY_ENV
+ );
+}
+ACE_INLINE void POA_IR::ComponentDef::create_module_skel (
+ TAO_ServerRequest &req,
+ void *obj,
+ void *context,
+ CORBA::Environment &ACE_TRY_ENV
+ )
+{
+ POA_CORBA::Container_ptr impl = (POA_IR::ComponentDef_ptr) obj;
+ POA_CORBA::Container::create_module_skel (
+ req,
+ (POA_CORBA::Container_ptr) impl,
+ context,
+ ACE_TRY_ENV
+ );
+}
+ACE_INLINE void POA_IR::ComponentDef::create_constant_skel (
+ TAO_ServerRequest &req,
+ void *obj,
+ void *context,
+ CORBA::Environment &ACE_TRY_ENV
+ )
+{
+ POA_CORBA::Container_ptr impl = (POA_IR::ComponentDef_ptr) obj;
+ POA_CORBA::Container::create_constant_skel (
+ req,
+ (POA_CORBA::Container_ptr) impl,
+ context,
+ ACE_TRY_ENV
+ );
+}
+ACE_INLINE void POA_IR::ComponentDef::create_struct_skel (
+ TAO_ServerRequest &req,
+ void *obj,
+ void *context,
+ CORBA::Environment &ACE_TRY_ENV
+ )
+{
+ POA_CORBA::Container_ptr impl = (POA_IR::ComponentDef_ptr) obj;
+ POA_CORBA::Container::create_struct_skel (
+ req,
+ (POA_CORBA::Container_ptr) impl,
+ context,
+ ACE_TRY_ENV
+ );
+}
+ACE_INLINE void POA_IR::ComponentDef::create_union_skel (
+ TAO_ServerRequest &req,
+ void *obj,
+ void *context,
+ CORBA::Environment &ACE_TRY_ENV
+ )
+{
+ POA_CORBA::Container_ptr impl = (POA_IR::ComponentDef_ptr) obj;
+ POA_CORBA::Container::create_union_skel (
+ req,
+ (POA_CORBA::Container_ptr) impl,
+ context,
+ ACE_TRY_ENV
+ );
+}
+ACE_INLINE void POA_IR::ComponentDef::create_enum_skel (
+ TAO_ServerRequest &req,
+ void *obj,
+ void *context,
+ CORBA::Environment &ACE_TRY_ENV
+ )
+{
+ POA_CORBA::Container_ptr impl = (POA_IR::ComponentDef_ptr) obj;
+ POA_CORBA::Container::create_enum_skel (
+ req,
+ (POA_CORBA::Container_ptr) impl,
+ context,
+ ACE_TRY_ENV
+ );
+}
+ACE_INLINE void POA_IR::ComponentDef::create_alias_skel (
+ TAO_ServerRequest &req,
+ void *obj,
+ void *context,
+ CORBA::Environment &ACE_TRY_ENV
+ )
+{
+ POA_CORBA::Container_ptr impl = (POA_IR::ComponentDef_ptr) obj;
+ POA_CORBA::Container::create_alias_skel (
+ req,
+ (POA_CORBA::Container_ptr) impl,
+ context,
+ ACE_TRY_ENV
+ );
+}
+ACE_INLINE void POA_IR::ComponentDef::create_interface_skel (
+ TAO_ServerRequest &req,
+ void *obj,
+ void *context,
+ CORBA::Environment &ACE_TRY_ENV
+ )
+{
+ POA_CORBA::Container_ptr impl = (POA_IR::ComponentDef_ptr) obj;
+ POA_CORBA::Container::create_interface_skel (
+ req,
+ (POA_CORBA::Container_ptr) impl,
+ context,
+ ACE_TRY_ENV
+ );
+}
+ACE_INLINE void POA_IR::ComponentDef::create_value_skel (
+ TAO_ServerRequest &req,
+ void *obj,
+ void *context,
+ CORBA::Environment &ACE_TRY_ENV
+ )
+{
+ POA_CORBA::Container_ptr impl = (POA_IR::ComponentDef_ptr) obj;
+ POA_CORBA::Container::create_value_skel (
+ req,
+ (POA_CORBA::Container_ptr) impl,
+ context,
+ ACE_TRY_ENV
+ );
+}
+ACE_INLINE void POA_IR::ComponentDef::create_value_box_skel (
+ TAO_ServerRequest &req,
+ void *obj,
+ void *context,
+ CORBA::Environment &ACE_TRY_ENV
+ )
+{
+ POA_CORBA::Container_ptr impl = (POA_IR::ComponentDef_ptr) obj;
+ POA_CORBA::Container::create_value_box_skel (
+ req,
+ (POA_CORBA::Container_ptr) impl,
+ context,
+ ACE_TRY_ENV
+ );
+}
+ACE_INLINE void POA_IR::ComponentDef::create_exception_skel (
+ TAO_ServerRequest &req,
+ void *obj,
+ void *context,
+ CORBA::Environment &ACE_TRY_ENV
+ )
+{
+ POA_CORBA::Container_ptr impl = (POA_IR::ComponentDef_ptr) obj;
+ POA_CORBA::Container::create_exception_skel (
+ req,
+ (POA_CORBA::Container_ptr) impl,
+ context,
+ ACE_TRY_ENV
+ );
+}
+ACE_INLINE void POA_IR::ComponentDef::create_native_skel (
+ TAO_ServerRequest &req,
+ void *obj,
+ void *context,
+ CORBA::Environment &ACE_TRY_ENV
+ )
+{
+ POA_CORBA::Container_ptr impl = (POA_IR::ComponentDef_ptr) obj;
+ POA_CORBA::Container::create_native_skel (
+ req,
+ (POA_CORBA::Container_ptr) impl,
+ context,
+ ACE_TRY_ENV
+ );
+}
+ACE_INLINE void POA_IR::ComponentDef::create_abstract_interface_skel (
+ TAO_ServerRequest &req,
+ void *obj,
+ void *context,
+ CORBA::Environment &ACE_TRY_ENV
+ )
+{
+ POA_CORBA::Container_ptr impl = (POA_IR::ComponentDef_ptr) obj;
+ POA_CORBA::Container::create_abstract_interface_skel (
+ req,
+ (POA_CORBA::Container_ptr) impl,
+ context,
+ ACE_TRY_ENV
+ );
+}
+ACE_INLINE void POA_IR::ComponentDef::create_local_interface_skel (
+ TAO_ServerRequest &req,
+ void *obj,
+ void *context,
+ CORBA::Environment &ACE_TRY_ENV
+ )
+{
+ POA_CORBA::Container_ptr impl = (POA_IR::ComponentDef_ptr) obj;
+ POA_CORBA::Container::create_local_interface_skel (
+ req,
+ (POA_CORBA::Container_ptr) impl,
+ context,
+ ACE_TRY_ENV
+ );
+}
+ACE_INLINE void POA_IR::ComponentDef::_get_id_skel (
+ TAO_ServerRequest &req,
+ void *obj,
+ void *context,
+ CORBA::Environment &ACE_TRY_ENV
+ )
+{
+ POA_CORBA::Contained_ptr impl = (POA_IR::ComponentDef_ptr) obj;
+ POA_CORBA::Contained::_get_id_skel (
+ req,
+ (POA_CORBA::Contained_ptr) impl,
+ context,
+ ACE_TRY_ENV
+ );
+}
+ACE_INLINE void POA_IR::ComponentDef::_set_id_skel (
+ TAO_ServerRequest &req,
+ void *obj,
+ void *context,
+ CORBA::Environment &ACE_TRY_ENV
+ )
+{
+ POA_CORBA::Contained_ptr impl = (POA_IR::ComponentDef_ptr) obj;
+ POA_CORBA::Contained::_set_id_skel (
+ req,
+ (POA_CORBA::Contained_ptr) impl,
+ context,
+ ACE_TRY_ENV
+ );
+}
+ACE_INLINE void POA_IR::ComponentDef::_get_name_skel (
+ TAO_ServerRequest &req,
+ void *obj,
+ void *context,
+ CORBA::Environment &ACE_TRY_ENV
+ )
+{
+ POA_CORBA::Contained_ptr impl = (POA_IR::ComponentDef_ptr) obj;
+ POA_CORBA::Contained::_get_name_skel (
+ req,
+ (POA_CORBA::Contained_ptr) impl,
+ context,
+ ACE_TRY_ENV
+ );
+}
+ACE_INLINE void POA_IR::ComponentDef::_set_name_skel (
+ TAO_ServerRequest &req,
+ void *obj,
+ void *context,
+ CORBA::Environment &ACE_TRY_ENV
+ )
+{
+ POA_CORBA::Contained_ptr impl = (POA_IR::ComponentDef_ptr) obj;
+ POA_CORBA::Contained::_set_name_skel (
+ req,
+ (POA_CORBA::Contained_ptr) impl,
+ context,
+ ACE_TRY_ENV
+ );
+}
+ACE_INLINE void POA_IR::ComponentDef::_get_version_skel (
+ TAO_ServerRequest &req,
+ void *obj,
+ void *context,
+ CORBA::Environment &ACE_TRY_ENV
+ )
+{
+ POA_CORBA::Contained_ptr impl = (POA_IR::ComponentDef_ptr) obj;
+ POA_CORBA::Contained::_get_version_skel (
+ req,
+ (POA_CORBA::Contained_ptr) impl,
+ context,
+ ACE_TRY_ENV
+ );
+}
+ACE_INLINE void POA_IR::ComponentDef::_set_version_skel (
+ TAO_ServerRequest &req,
+ void *obj,
+ void *context,
+ CORBA::Environment &ACE_TRY_ENV
+ )
+{
+ POA_CORBA::Contained_ptr impl = (POA_IR::ComponentDef_ptr) obj;
+ POA_CORBA::Contained::_set_version_skel (
+ req,
+ (POA_CORBA::Contained_ptr) impl,
+ context,
+ ACE_TRY_ENV
+ );
+}
+ACE_INLINE void POA_IR::ComponentDef::_get_defined_in_skel (
+ TAO_ServerRequest &req,
+ void *obj,
+ void *context,
+ CORBA::Environment &ACE_TRY_ENV
+ )
+{
+ POA_CORBA::Contained_ptr impl = (POA_IR::ComponentDef_ptr) obj;
+ POA_CORBA::Contained::_get_defined_in_skel (
+ req,
+ (POA_CORBA::Contained_ptr) impl,
+ context,
+ ACE_TRY_ENV
+ );
+}
+ACE_INLINE void POA_IR::ComponentDef::_get_absolute_name_skel (
+ TAO_ServerRequest &req,
+ void *obj,
+ void *context,
+ CORBA::Environment &ACE_TRY_ENV
+ )
+{
+ POA_CORBA::Contained_ptr impl = (POA_IR::ComponentDef_ptr) obj;
+ POA_CORBA::Contained::_get_absolute_name_skel (
+ req,
+ (POA_CORBA::Contained_ptr) impl,
+ context,
+ ACE_TRY_ENV
+ );
+}
+ACE_INLINE void POA_IR::ComponentDef::_get_containing_repository_skel (
+ TAO_ServerRequest &req,
+ void *obj,
+ void *context,
+ CORBA::Environment &ACE_TRY_ENV
+ )
+{
+ POA_CORBA::Contained_ptr impl = (POA_IR::ComponentDef_ptr) obj;
+ POA_CORBA::Contained::_get_containing_repository_skel (
+ req,
+ (POA_CORBA::Contained_ptr) impl,
+ context,
+ ACE_TRY_ENV
+ );
+}
+ACE_INLINE void POA_IR::ComponentDef::describe_skel (
+ TAO_ServerRequest &req,
+ void *obj,
+ void *context,
+ CORBA::Environment &ACE_TRY_ENV
+ )
+{
+ POA_CORBA::Contained_ptr impl = (POA_IR::ComponentDef_ptr) obj;
+ POA_CORBA::Contained::describe_skel (
+ req,
+ (POA_CORBA::Contained_ptr) impl,
+ context,
+ ACE_TRY_ENV
+ );
+}
+ACE_INLINE void POA_IR::ComponentDef::move_skel (
+ TAO_ServerRequest &req,
+ void *obj,
+ void *context,
+ CORBA::Environment &ACE_TRY_ENV
+ )
+{
+ POA_CORBA::Contained_ptr impl = (POA_IR::ComponentDef_ptr) obj;
+ POA_CORBA::Contained::move_skel (
+ req,
+ (POA_CORBA::Contained_ptr) impl,
+ context,
+ ACE_TRY_ENV
+ );
+}
+ACE_INLINE void POA_IR::ComponentDef::_get_type_skel (
+ TAO_ServerRequest &req,
+ void *obj,
+ void *context,
+ CORBA::Environment &ACE_TRY_ENV
+ )
+{
+ POA_CORBA::IDLType_ptr impl = (POA_IR::ComponentDef_ptr) obj;
+ POA_CORBA::IDLType::_get_type_skel (
+ req,
+ (POA_CORBA::IDLType_ptr) impl,
+ context,
+ ACE_TRY_ENV
+ );
+}
+ACE_INLINE void POA_IR::ComponentDef::_get_def_kind_skel (
+ TAO_ServerRequest &req,
+ void *obj,
+ void *context,
+ CORBA::Environment &ACE_TRY_ENV
+ )
+{
+ POA_CORBA::IRObject_ptr impl = (POA_IR::ComponentDef_ptr) obj;
+ POA_CORBA::IRObject::_get_def_kind_skel (
+ req,
+ (POA_CORBA::IRObject_ptr) impl,
+ context,
+ ACE_TRY_ENV
+ );
+}
+ACE_INLINE void POA_IR::ComponentDef::destroy_skel (
+ TAO_ServerRequest &req,
+ void *obj,
+ void *context,
+ CORBA::Environment &ACE_TRY_ENV
+ )
+{
+ POA_CORBA::IRObject_ptr impl = (POA_IR::ComponentDef_ptr) obj;
+ POA_CORBA::IRObject::destroy_skel (
+ req,
+ (POA_CORBA::IRObject_ptr) impl,
+ context,
+ ACE_TRY_ENV
+ );
+}
+ACE_INLINE void POA_IR::PrimaryKeyDef::_get_id_skel (
+ TAO_ServerRequest &req,
+ void *obj,
+ void *context,
+ CORBA::Environment &ACE_TRY_ENV
+ )
+{
+ POA_CORBA::Contained_ptr impl = (POA_IR::PrimaryKeyDef_ptr) obj;
+ POA_CORBA::Contained::_get_id_skel (
+ req,
+ (POA_CORBA::Contained_ptr) impl,
+ context,
+ ACE_TRY_ENV
+ );
+}
+ACE_INLINE void POA_IR::PrimaryKeyDef::_set_id_skel (
+ TAO_ServerRequest &req,
+ void *obj,
+ void *context,
+ CORBA::Environment &ACE_TRY_ENV
+ )
+{
+ POA_CORBA::Contained_ptr impl = (POA_IR::PrimaryKeyDef_ptr) obj;
+ POA_CORBA::Contained::_set_id_skel (
+ req,
+ (POA_CORBA::Contained_ptr) impl,
+ context,
+ ACE_TRY_ENV
+ );
+}
+ACE_INLINE void POA_IR::PrimaryKeyDef::_get_name_skel (
+ TAO_ServerRequest &req,
+ void *obj,
+ void *context,
+ CORBA::Environment &ACE_TRY_ENV
+ )
+{
+ POA_CORBA::Contained_ptr impl = (POA_IR::PrimaryKeyDef_ptr) obj;
+ POA_CORBA::Contained::_get_name_skel (
+ req,
+ (POA_CORBA::Contained_ptr) impl,
+ context,
+ ACE_TRY_ENV
+ );
+}
+ACE_INLINE void POA_IR::PrimaryKeyDef::_set_name_skel (
+ TAO_ServerRequest &req,
+ void *obj,
+ void *context,
+ CORBA::Environment &ACE_TRY_ENV
+ )
+{
+ POA_CORBA::Contained_ptr impl = (POA_IR::PrimaryKeyDef_ptr) obj;
+ POA_CORBA::Contained::_set_name_skel (
+ req,
+ (POA_CORBA::Contained_ptr) impl,
+ context,
+ ACE_TRY_ENV
+ );
+}
+ACE_INLINE void POA_IR::PrimaryKeyDef::_get_version_skel (
+ TAO_ServerRequest &req,
+ void *obj,
+ void *context,
+ CORBA::Environment &ACE_TRY_ENV
+ )
+{
+ POA_CORBA::Contained_ptr impl = (POA_IR::PrimaryKeyDef_ptr) obj;
+ POA_CORBA::Contained::_get_version_skel (
+ req,
+ (POA_CORBA::Contained_ptr) impl,
+ context,
+ ACE_TRY_ENV
+ );
+}
+ACE_INLINE void POA_IR::PrimaryKeyDef::_set_version_skel (
+ TAO_ServerRequest &req,
+ void *obj,
+ void *context,
+ CORBA::Environment &ACE_TRY_ENV
+ )
+{
+ POA_CORBA::Contained_ptr impl = (POA_IR::PrimaryKeyDef_ptr) obj;
+ POA_CORBA::Contained::_set_version_skel (
+ req,
+ (POA_CORBA::Contained_ptr) impl,
+ context,
+ ACE_TRY_ENV
+ );
+}
+ACE_INLINE void POA_IR::PrimaryKeyDef::_get_defined_in_skel (
+ TAO_ServerRequest &req,
+ void *obj,
+ void *context,
+ CORBA::Environment &ACE_TRY_ENV
+ )
+{
+ POA_CORBA::Contained_ptr impl = (POA_IR::PrimaryKeyDef_ptr) obj;
+ POA_CORBA::Contained::_get_defined_in_skel (
+ req,
+ (POA_CORBA::Contained_ptr) impl,
+ context,
+ ACE_TRY_ENV
+ );
+}
+ACE_INLINE void POA_IR::PrimaryKeyDef::_get_absolute_name_skel (
+ TAO_ServerRequest &req,
+ void *obj,
+ void *context,
+ CORBA::Environment &ACE_TRY_ENV
+ )
+{
+ POA_CORBA::Contained_ptr impl = (POA_IR::PrimaryKeyDef_ptr) obj;
+ POA_CORBA::Contained::_get_absolute_name_skel (
+ req,
+ (POA_CORBA::Contained_ptr) impl,
+ context,
+ ACE_TRY_ENV
+ );
+}
+ACE_INLINE void POA_IR::PrimaryKeyDef::_get_containing_repository_skel (
+ TAO_ServerRequest &req,
+ void *obj,
+ void *context,
+ CORBA::Environment &ACE_TRY_ENV
+ )
+{
+ POA_CORBA::Contained_ptr impl = (POA_IR::PrimaryKeyDef_ptr) obj;
+ POA_CORBA::Contained::_get_containing_repository_skel (
+ req,
+ (POA_CORBA::Contained_ptr) impl,
+ context,
+ ACE_TRY_ENV
+ );
+}
+ACE_INLINE void POA_IR::PrimaryKeyDef::describe_skel (
+ TAO_ServerRequest &req,
+ void *obj,
+ void *context,
+ CORBA::Environment &ACE_TRY_ENV
+ )
+{
+ POA_CORBA::Contained_ptr impl = (POA_IR::PrimaryKeyDef_ptr) obj;
+ POA_CORBA::Contained::describe_skel (
+ req,
+ (POA_CORBA::Contained_ptr) impl,
+ context,
+ ACE_TRY_ENV
+ );
+}
+ACE_INLINE void POA_IR::PrimaryKeyDef::move_skel (
+ TAO_ServerRequest &req,
+ void *obj,
+ void *context,
+ CORBA::Environment &ACE_TRY_ENV
+ )
+{
+ POA_CORBA::Contained_ptr impl = (POA_IR::PrimaryKeyDef_ptr) obj;
+ POA_CORBA::Contained::move_skel (
+ req,
+ (POA_CORBA::Contained_ptr) impl,
+ context,
+ ACE_TRY_ENV
+ );
+}
+ACE_INLINE void POA_IR::PrimaryKeyDef::_get_def_kind_skel (
+ TAO_ServerRequest &req,
+ void *obj,
+ void *context,
+ CORBA::Environment &ACE_TRY_ENV
+ )
+{
+ POA_CORBA::IRObject_ptr impl = (POA_IR::PrimaryKeyDef_ptr) obj;
+ POA_CORBA::IRObject::_get_def_kind_skel (
+ req,
+ (POA_CORBA::IRObject_ptr) impl,
+ context,
+ ACE_TRY_ENV
+ );
+}
+ACE_INLINE void POA_IR::PrimaryKeyDef::destroy_skel (
+ TAO_ServerRequest &req,
+ void *obj,
+ void *context,
+ CORBA::Environment &ACE_TRY_ENV
+ )
+{
+ POA_CORBA::IRObject_ptr impl = (POA_IR::PrimaryKeyDef_ptr) obj;
+ POA_CORBA::IRObject::destroy_skel (
+ req,
+ (POA_CORBA::IRObject_ptr) impl,
+ context,
+ ACE_TRY_ENV
+ );
+}
+ACE_INLINE void POA_IR::FactoryDef::_get_result_skel (
+ TAO_ServerRequest &req,
+ void *obj,
+ void *context,
+ CORBA::Environment &ACE_TRY_ENV
+ )
+{
+ POA_CORBA::OperationDef_ptr impl = (POA_IR::FactoryDef_ptr) obj;
+ POA_CORBA::OperationDef::_get_result_skel (
+ req,
+ (POA_CORBA::OperationDef_ptr) impl,
+ context,
+ ACE_TRY_ENV
+ );
+}
+ACE_INLINE void POA_IR::FactoryDef::_get_result_def_skel (
+ TAO_ServerRequest &req,
+ void *obj,
+ void *context,
+ CORBA::Environment &ACE_TRY_ENV
+ )
+{
+ POA_CORBA::OperationDef_ptr impl = (POA_IR::FactoryDef_ptr) obj;
+ POA_CORBA::OperationDef::_get_result_def_skel (
+ req,
+ (POA_CORBA::OperationDef_ptr) impl,
+ context,
+ ACE_TRY_ENV
+ );
+}
+ACE_INLINE void POA_IR::FactoryDef::_set_result_def_skel (
+ TAO_ServerRequest &req,
+ void *obj,
+ void *context,
+ CORBA::Environment &ACE_TRY_ENV
+ )
+{
+ POA_CORBA::OperationDef_ptr impl = (POA_IR::FactoryDef_ptr) obj;
+ POA_CORBA::OperationDef::_set_result_def_skel (
+ req,
+ (POA_CORBA::OperationDef_ptr) impl,
+ context,
+ ACE_TRY_ENV
+ );
+}
+ACE_INLINE void POA_IR::FactoryDef::_get_params_skel (
+ TAO_ServerRequest &req,
+ void *obj,
+ void *context,
+ CORBA::Environment &ACE_TRY_ENV
+ )
+{
+ POA_CORBA::OperationDef_ptr impl = (POA_IR::FactoryDef_ptr) obj;
+ POA_CORBA::OperationDef::_get_params_skel (
+ req,
+ (POA_CORBA::OperationDef_ptr) impl,
+ context,
+ ACE_TRY_ENV
+ );
+}
+ACE_INLINE void POA_IR::FactoryDef::_set_params_skel (
+ TAO_ServerRequest &req,
+ void *obj,
+ void *context,
+ CORBA::Environment &ACE_TRY_ENV
+ )
+{
+ POA_CORBA::OperationDef_ptr impl = (POA_IR::FactoryDef_ptr) obj;
+ POA_CORBA::OperationDef::_set_params_skel (
+ req,
+ (POA_CORBA::OperationDef_ptr) impl,
+ context,
+ ACE_TRY_ENV
+ );
+}
+ACE_INLINE void POA_IR::FactoryDef::_get_mode_skel (
+ TAO_ServerRequest &req,
+ void *obj,
+ void *context,
+ CORBA::Environment &ACE_TRY_ENV
+ )
+{
+ POA_CORBA::OperationDef_ptr impl = (POA_IR::FactoryDef_ptr) obj;
+ POA_CORBA::OperationDef::_get_mode_skel (
+ req,
+ (POA_CORBA::OperationDef_ptr) impl,
+ context,
+ ACE_TRY_ENV
+ );
+}
+ACE_INLINE void POA_IR::FactoryDef::_set_mode_skel (
+ TAO_ServerRequest &req,
+ void *obj,
+ void *context,
+ CORBA::Environment &ACE_TRY_ENV
+ )
+{
+ POA_CORBA::OperationDef_ptr impl = (POA_IR::FactoryDef_ptr) obj;
+ POA_CORBA::OperationDef::_set_mode_skel (
+ req,
+ (POA_CORBA::OperationDef_ptr) impl,
+ context,
+ ACE_TRY_ENV
+ );
+}
+ACE_INLINE void POA_IR::FactoryDef::_get_contexts_skel (
+ TAO_ServerRequest &req,
+ void *obj,
+ void *context,
+ CORBA::Environment &ACE_TRY_ENV
+ )
+{
+ POA_CORBA::OperationDef_ptr impl = (POA_IR::FactoryDef_ptr) obj;
+ POA_CORBA::OperationDef::_get_contexts_skel (
+ req,
+ (POA_CORBA::OperationDef_ptr) impl,
+ context,
+ ACE_TRY_ENV
+ );
+}
+ACE_INLINE void POA_IR::FactoryDef::_set_contexts_skel (
+ TAO_ServerRequest &req,
+ void *obj,
+ void *context,
+ CORBA::Environment &ACE_TRY_ENV
+ )
+{
+ POA_CORBA::OperationDef_ptr impl = (POA_IR::FactoryDef_ptr) obj;
+ POA_CORBA::OperationDef::_set_contexts_skel (
+ req,
+ (POA_CORBA::OperationDef_ptr) impl,
+ context,
+ ACE_TRY_ENV
+ );
+}
+ACE_INLINE void POA_IR::FactoryDef::_get_exceptions_skel (
+ TAO_ServerRequest &req,
+ void *obj,
+ void *context,
+ CORBA::Environment &ACE_TRY_ENV
+ )
+{
+ POA_CORBA::OperationDef_ptr impl = (POA_IR::FactoryDef_ptr) obj;
+ POA_CORBA::OperationDef::_get_exceptions_skel (
+ req,
+ (POA_CORBA::OperationDef_ptr) impl,
+ context,
+ ACE_TRY_ENV
+ );
+}
+ACE_INLINE void POA_IR::FactoryDef::_set_exceptions_skel (
+ TAO_ServerRequest &req,
+ void *obj,
+ void *context,
+ CORBA::Environment &ACE_TRY_ENV
+ )
+{
+ POA_CORBA::OperationDef_ptr impl = (POA_IR::FactoryDef_ptr) obj;
+ POA_CORBA::OperationDef::_set_exceptions_skel (
+ req,
+ (POA_CORBA::OperationDef_ptr) impl,
+ context,
+ ACE_TRY_ENV
+ );
+}
+ACE_INLINE void POA_IR::FactoryDef::_get_id_skel (
+ TAO_ServerRequest &req,
+ void *obj,
+ void *context,
+ CORBA::Environment &ACE_TRY_ENV
+ )
+{
+ POA_CORBA::Contained_ptr impl = (POA_IR::FactoryDef_ptr) obj;
+ POA_CORBA::Contained::_get_id_skel (
+ req,
+ (POA_CORBA::Contained_ptr) impl,
+ context,
+ ACE_TRY_ENV
+ );
+}
+ACE_INLINE void POA_IR::FactoryDef::_set_id_skel (
+ TAO_ServerRequest &req,
+ void *obj,
+ void *context,
+ CORBA::Environment &ACE_TRY_ENV
+ )
+{
+ POA_CORBA::Contained_ptr impl = (POA_IR::FactoryDef_ptr) obj;
+ POA_CORBA::Contained::_set_id_skel (
+ req,
+ (POA_CORBA::Contained_ptr) impl,
+ context,
+ ACE_TRY_ENV
+ );
+}
+ACE_INLINE void POA_IR::FactoryDef::_get_name_skel (
+ TAO_ServerRequest &req,
+ void *obj,
+ void *context,
+ CORBA::Environment &ACE_TRY_ENV
+ )
+{
+ POA_CORBA::Contained_ptr impl = (POA_IR::FactoryDef_ptr) obj;
+ POA_CORBA::Contained::_get_name_skel (
+ req,
+ (POA_CORBA::Contained_ptr) impl,
+ context,
+ ACE_TRY_ENV
+ );
+}
+ACE_INLINE void POA_IR::FactoryDef::_set_name_skel (
+ TAO_ServerRequest &req,
+ void *obj,
+ void *context,
+ CORBA::Environment &ACE_TRY_ENV
+ )
+{
+ POA_CORBA::Contained_ptr impl = (POA_IR::FactoryDef_ptr) obj;
+ POA_CORBA::Contained::_set_name_skel (
+ req,
+ (POA_CORBA::Contained_ptr) impl,
+ context,
+ ACE_TRY_ENV
+ );
+}
+ACE_INLINE void POA_IR::FactoryDef::_get_version_skel (
+ TAO_ServerRequest &req,
+ void *obj,
+ void *context,
+ CORBA::Environment &ACE_TRY_ENV
+ )
+{
+ POA_CORBA::Contained_ptr impl = (POA_IR::FactoryDef_ptr) obj;
+ POA_CORBA::Contained::_get_version_skel (
+ req,
+ (POA_CORBA::Contained_ptr) impl,
+ context,
+ ACE_TRY_ENV
+ );
+}
+ACE_INLINE void POA_IR::FactoryDef::_set_version_skel (
+ TAO_ServerRequest &req,
+ void *obj,
+ void *context,
+ CORBA::Environment &ACE_TRY_ENV
+ )
+{
+ POA_CORBA::Contained_ptr impl = (POA_IR::FactoryDef_ptr) obj;
+ POA_CORBA::Contained::_set_version_skel (
+ req,
+ (POA_CORBA::Contained_ptr) impl,
+ context,
+ ACE_TRY_ENV
+ );
+}
+ACE_INLINE void POA_IR::FactoryDef::_get_defined_in_skel (
+ TAO_ServerRequest &req,
+ void *obj,
+ void *context,
+ CORBA::Environment &ACE_TRY_ENV
+ )
+{
+ POA_CORBA::Contained_ptr impl = (POA_IR::FactoryDef_ptr) obj;
+ POA_CORBA::Contained::_get_defined_in_skel (
+ req,
+ (POA_CORBA::Contained_ptr) impl,
+ context,
+ ACE_TRY_ENV
+ );
+}
+ACE_INLINE void POA_IR::FactoryDef::_get_absolute_name_skel (
+ TAO_ServerRequest &req,
+ void *obj,
+ void *context,
+ CORBA::Environment &ACE_TRY_ENV
+ )
+{
+ POA_CORBA::Contained_ptr impl = (POA_IR::FactoryDef_ptr) obj;
+ POA_CORBA::Contained::_get_absolute_name_skel (
+ req,
+ (POA_CORBA::Contained_ptr) impl,
+ context,
+ ACE_TRY_ENV
+ );
+}
+ACE_INLINE void POA_IR::FactoryDef::_get_containing_repository_skel (
+ TAO_ServerRequest &req,
+ void *obj,
+ void *context,
+ CORBA::Environment &ACE_TRY_ENV
+ )
+{
+ POA_CORBA::Contained_ptr impl = (POA_IR::FactoryDef_ptr) obj;
+ POA_CORBA::Contained::_get_containing_repository_skel (
+ req,
+ (POA_CORBA::Contained_ptr) impl,
+ context,
+ ACE_TRY_ENV
+ );
+}
+ACE_INLINE void POA_IR::FactoryDef::describe_skel (
+ TAO_ServerRequest &req,
+ void *obj,
+ void *context,
+ CORBA::Environment &ACE_TRY_ENV
+ )
+{
+ POA_CORBA::Contained_ptr impl = (POA_IR::FactoryDef_ptr) obj;
+ POA_CORBA::Contained::describe_skel (
+ req,
+ (POA_CORBA::Contained_ptr) impl,
+ context,
+ ACE_TRY_ENV
+ );
+}
+ACE_INLINE void POA_IR::FactoryDef::move_skel (
+ TAO_ServerRequest &req,
+ void *obj,
+ void *context,
+ CORBA::Environment &ACE_TRY_ENV
+ )
+{
+ POA_CORBA::Contained_ptr impl = (POA_IR::FactoryDef_ptr) obj;
+ POA_CORBA::Contained::move_skel (
+ req,
+ (POA_CORBA::Contained_ptr) impl,
+ context,
+ ACE_TRY_ENV
+ );
+}
+ACE_INLINE void POA_IR::FactoryDef::_get_def_kind_skel (
+ TAO_ServerRequest &req,
+ void *obj,
+ void *context,
+ CORBA::Environment &ACE_TRY_ENV
+ )
+{
+ POA_CORBA::IRObject_ptr impl = (POA_IR::FactoryDef_ptr) obj;
+ POA_CORBA::IRObject::_get_def_kind_skel (
+ req,
+ (POA_CORBA::IRObject_ptr) impl,
+ context,
+ ACE_TRY_ENV
+ );
+}
+ACE_INLINE void POA_IR::FactoryDef::destroy_skel (
+ TAO_ServerRequest &req,
+ void *obj,
+ void *context,
+ CORBA::Environment &ACE_TRY_ENV
+ )
+{
+ POA_CORBA::IRObject_ptr impl = (POA_IR::FactoryDef_ptr) obj;
+ POA_CORBA::IRObject::destroy_skel (
+ req,
+ (POA_CORBA::IRObject_ptr) impl,
+ context,
+ ACE_TRY_ENV
+ );
+}
+ACE_INLINE void POA_IR::FinderDef::_get_result_skel (
+ TAO_ServerRequest &req,
+ void *obj,
+ void *context,
+ CORBA::Environment &ACE_TRY_ENV
+ )
+{
+ POA_CORBA::OperationDef_ptr impl = (POA_IR::FinderDef_ptr) obj;
+ POA_CORBA::OperationDef::_get_result_skel (
+ req,
+ (POA_CORBA::OperationDef_ptr) impl,
+ context,
+ ACE_TRY_ENV
+ );
+}
+ACE_INLINE void POA_IR::FinderDef::_get_result_def_skel (
+ TAO_ServerRequest &req,
+ void *obj,
+ void *context,
+ CORBA::Environment &ACE_TRY_ENV
+ )
+{
+ POA_CORBA::OperationDef_ptr impl = (POA_IR::FinderDef_ptr) obj;
+ POA_CORBA::OperationDef::_get_result_def_skel (
+ req,
+ (POA_CORBA::OperationDef_ptr) impl,
+ context,
+ ACE_TRY_ENV
+ );
+}
+ACE_INLINE void POA_IR::FinderDef::_set_result_def_skel (
+ TAO_ServerRequest &req,
+ void *obj,
+ void *context,
+ CORBA::Environment &ACE_TRY_ENV
+ )
+{
+ POA_CORBA::OperationDef_ptr impl = (POA_IR::FinderDef_ptr) obj;
+ POA_CORBA::OperationDef::_set_result_def_skel (
+ req,
+ (POA_CORBA::OperationDef_ptr) impl,
+ context,
+ ACE_TRY_ENV
+ );
+}
+ACE_INLINE void POA_IR::FinderDef::_get_params_skel (
+ TAO_ServerRequest &req,
+ void *obj,
+ void *context,
+ CORBA::Environment &ACE_TRY_ENV
+ )
+{
+ POA_CORBA::OperationDef_ptr impl = (POA_IR::FinderDef_ptr) obj;
+ POA_CORBA::OperationDef::_get_params_skel (
+ req,
+ (POA_CORBA::OperationDef_ptr) impl,
+ context,
+ ACE_TRY_ENV
+ );
+}
+ACE_INLINE void POA_IR::FinderDef::_set_params_skel (
+ TAO_ServerRequest &req,
+ void *obj,
+ void *context,
+ CORBA::Environment &ACE_TRY_ENV
+ )
+{
+ POA_CORBA::OperationDef_ptr impl = (POA_IR::FinderDef_ptr) obj;
+ POA_CORBA::OperationDef::_set_params_skel (
+ req,
+ (POA_CORBA::OperationDef_ptr) impl,
+ context,
+ ACE_TRY_ENV
+ );
+}
+ACE_INLINE void POA_IR::FinderDef::_get_mode_skel (
+ TAO_ServerRequest &req,
+ void *obj,
+ void *context,
+ CORBA::Environment &ACE_TRY_ENV
+ )
+{
+ POA_CORBA::OperationDef_ptr impl = (POA_IR::FinderDef_ptr) obj;
+ POA_CORBA::OperationDef::_get_mode_skel (
+ req,
+ (POA_CORBA::OperationDef_ptr) impl,
+ context,
+ ACE_TRY_ENV
+ );
+}
+ACE_INLINE void POA_IR::FinderDef::_set_mode_skel (
+ TAO_ServerRequest &req,
+ void *obj,
+ void *context,
+ CORBA::Environment &ACE_TRY_ENV
+ )
+{
+ POA_CORBA::OperationDef_ptr impl = (POA_IR::FinderDef_ptr) obj;
+ POA_CORBA::OperationDef::_set_mode_skel (
+ req,
+ (POA_CORBA::OperationDef_ptr) impl,
+ context,
+ ACE_TRY_ENV
+ );
+}
+ACE_INLINE void POA_IR::FinderDef::_get_contexts_skel (
+ TAO_ServerRequest &req,
+ void *obj,
+ void *context,
+ CORBA::Environment &ACE_TRY_ENV
+ )
+{
+ POA_CORBA::OperationDef_ptr impl = (POA_IR::FinderDef_ptr) obj;
+ POA_CORBA::OperationDef::_get_contexts_skel (
+ req,
+ (POA_CORBA::OperationDef_ptr) impl,
+ context,
+ ACE_TRY_ENV
+ );
+}
+ACE_INLINE void POA_IR::FinderDef::_set_contexts_skel (
+ TAO_ServerRequest &req,
+ void *obj,
+ void *context,
+ CORBA::Environment &ACE_TRY_ENV
+ )
+{
+ POA_CORBA::OperationDef_ptr impl = (POA_IR::FinderDef_ptr) obj;
+ POA_CORBA::OperationDef::_set_contexts_skel (
+ req,
+ (POA_CORBA::OperationDef_ptr) impl,
+ context,
+ ACE_TRY_ENV
+ );
+}
+ACE_INLINE void POA_IR::FinderDef::_get_exceptions_skel (
+ TAO_ServerRequest &req,
+ void *obj,
+ void *context,
+ CORBA::Environment &ACE_TRY_ENV
+ )
+{
+ POA_CORBA::OperationDef_ptr impl = (POA_IR::FinderDef_ptr) obj;
+ POA_CORBA::OperationDef::_get_exceptions_skel (
+ req,
+ (POA_CORBA::OperationDef_ptr) impl,
+ context,
+ ACE_TRY_ENV
+ );
+}
+ACE_INLINE void POA_IR::FinderDef::_set_exceptions_skel (
+ TAO_ServerRequest &req,
+ void *obj,
+ void *context,
+ CORBA::Environment &ACE_TRY_ENV
+ )
+{
+ POA_CORBA::OperationDef_ptr impl = (POA_IR::FinderDef_ptr) obj;
+ POA_CORBA::OperationDef::_set_exceptions_skel (
+ req,
+ (POA_CORBA::OperationDef_ptr) impl,
+ context,
+ ACE_TRY_ENV
+ );
+}
+ACE_INLINE void POA_IR::FinderDef::_get_id_skel (
+ TAO_ServerRequest &req,
+ void *obj,
+ void *context,
+ CORBA::Environment &ACE_TRY_ENV
+ )
+{
+ POA_CORBA::Contained_ptr impl = (POA_IR::FinderDef_ptr) obj;
+ POA_CORBA::Contained::_get_id_skel (
+ req,
+ (POA_CORBA::Contained_ptr) impl,
+ context,
+ ACE_TRY_ENV
+ );
+}
+ACE_INLINE void POA_IR::FinderDef::_set_id_skel (
+ TAO_ServerRequest &req,
+ void *obj,
+ void *context,
+ CORBA::Environment &ACE_TRY_ENV
+ )
+{
+ POA_CORBA::Contained_ptr impl = (POA_IR::FinderDef_ptr) obj;
+ POA_CORBA::Contained::_set_id_skel (
+ req,
+ (POA_CORBA::Contained_ptr) impl,
+ context,
+ ACE_TRY_ENV
+ );
+}
+ACE_INLINE void POA_IR::FinderDef::_get_name_skel (
+ TAO_ServerRequest &req,
+ void *obj,
+ void *context,
+ CORBA::Environment &ACE_TRY_ENV
+ )
+{
+ POA_CORBA::Contained_ptr impl = (POA_IR::FinderDef_ptr) obj;
+ POA_CORBA::Contained::_get_name_skel (
+ req,
+ (POA_CORBA::Contained_ptr) impl,
+ context,
+ ACE_TRY_ENV
+ );
+}
+ACE_INLINE void POA_IR::FinderDef::_set_name_skel (
+ TAO_ServerRequest &req,
+ void *obj,
+ void *context,
+ CORBA::Environment &ACE_TRY_ENV
+ )
+{
+ POA_CORBA::Contained_ptr impl = (POA_IR::FinderDef_ptr) obj;
+ POA_CORBA::Contained::_set_name_skel (
+ req,
+ (POA_CORBA::Contained_ptr) impl,
+ context,
+ ACE_TRY_ENV
+ );
+}
+ACE_INLINE void POA_IR::FinderDef::_get_version_skel (
+ TAO_ServerRequest &req,
+ void *obj,
+ void *context,
+ CORBA::Environment &ACE_TRY_ENV
+ )
+{
+ POA_CORBA::Contained_ptr impl = (POA_IR::FinderDef_ptr) obj;
+ POA_CORBA::Contained::_get_version_skel (
+ req,
+ (POA_CORBA::Contained_ptr) impl,
+ context,
+ ACE_TRY_ENV
+ );
+}
+ACE_INLINE void POA_IR::FinderDef::_set_version_skel (
+ TAO_ServerRequest &req,
+ void *obj,
+ void *context,
+ CORBA::Environment &ACE_TRY_ENV
+ )
+{
+ POA_CORBA::Contained_ptr impl = (POA_IR::FinderDef_ptr) obj;
+ POA_CORBA::Contained::_set_version_skel (
+ req,
+ (POA_CORBA::Contained_ptr) impl,
+ context,
+ ACE_TRY_ENV
+ );
+}
+ACE_INLINE void POA_IR::FinderDef::_get_defined_in_skel (
+ TAO_ServerRequest &req,
+ void *obj,
+ void *context,
+ CORBA::Environment &ACE_TRY_ENV
+ )
+{
+ POA_CORBA::Contained_ptr impl = (POA_IR::FinderDef_ptr) obj;
+ POA_CORBA::Contained::_get_defined_in_skel (
+ req,
+ (POA_CORBA::Contained_ptr) impl,
+ context,
+ ACE_TRY_ENV
+ );
+}
+ACE_INLINE void POA_IR::FinderDef::_get_absolute_name_skel (
+ TAO_ServerRequest &req,
+ void *obj,
+ void *context,
+ CORBA::Environment &ACE_TRY_ENV
+ )
+{
+ POA_CORBA::Contained_ptr impl = (POA_IR::FinderDef_ptr) obj;
+ POA_CORBA::Contained::_get_absolute_name_skel (
+ req,
+ (POA_CORBA::Contained_ptr) impl,
+ context,
+ ACE_TRY_ENV
+ );
+}
+ACE_INLINE void POA_IR::FinderDef::_get_containing_repository_skel (
+ TAO_ServerRequest &req,
+ void *obj,
+ void *context,
+ CORBA::Environment &ACE_TRY_ENV
+ )
+{
+ POA_CORBA::Contained_ptr impl = (POA_IR::FinderDef_ptr) obj;
+ POA_CORBA::Contained::_get_containing_repository_skel (
+ req,
+ (POA_CORBA::Contained_ptr) impl,
+ context,
+ ACE_TRY_ENV
+ );
+}
+ACE_INLINE void POA_IR::FinderDef::describe_skel (
+ TAO_ServerRequest &req,
+ void *obj,
+ void *context,
+ CORBA::Environment &ACE_TRY_ENV
+ )
+{
+ POA_CORBA::Contained_ptr impl = (POA_IR::FinderDef_ptr) obj;
+ POA_CORBA::Contained::describe_skel (
+ req,
+ (POA_CORBA::Contained_ptr) impl,
+ context,
+ ACE_TRY_ENV
+ );
+}
+ACE_INLINE void POA_IR::FinderDef::move_skel (
+ TAO_ServerRequest &req,
+ void *obj,
+ void *context,
+ CORBA::Environment &ACE_TRY_ENV
+ )
+{
+ POA_CORBA::Contained_ptr impl = (POA_IR::FinderDef_ptr) obj;
+ POA_CORBA::Contained::move_skel (
+ req,
+ (POA_CORBA::Contained_ptr) impl,
+ context,
+ ACE_TRY_ENV
+ );
+}
+ACE_INLINE void POA_IR::FinderDef::_get_def_kind_skel (
+ TAO_ServerRequest &req,
+ void *obj,
+ void *context,
+ CORBA::Environment &ACE_TRY_ENV
+ )
+{
+ POA_CORBA::IRObject_ptr impl = (POA_IR::FinderDef_ptr) obj;
+ POA_CORBA::IRObject::_get_def_kind_skel (
+ req,
+ (POA_CORBA::IRObject_ptr) impl,
+ context,
+ ACE_TRY_ENV
+ );
+}
+ACE_INLINE void POA_IR::FinderDef::destroy_skel (
+ TAO_ServerRequest &req,
+ void *obj,
+ void *context,
+ CORBA::Environment &ACE_TRY_ENV
+ )
+{
+ POA_CORBA::IRObject_ptr impl = (POA_IR::FinderDef_ptr) obj;
+ POA_CORBA::IRObject::destroy_skel (
+ req,
+ (POA_CORBA::IRObject_ptr) impl,
+ context,
+ ACE_TRY_ENV
+ );
+}
+ACE_INLINE void POA_IR::HomeDef::_get_base_interfaces_skel (
+ TAO_ServerRequest &req,
+ void *obj,
+ void *context,
+ CORBA::Environment &ACE_TRY_ENV
+ )
+{
+ POA_CORBA::InterfaceDef_ptr impl = (POA_IR::HomeDef_ptr) obj;
+ POA_CORBA::InterfaceDef::_get_base_interfaces_skel (
+ req,
+ (POA_CORBA::InterfaceDef_ptr) impl,
+ context,
+ ACE_TRY_ENV
+ );
+}
+ACE_INLINE void POA_IR::HomeDef::_set_base_interfaces_skel (
+ TAO_ServerRequest &req,
+ void *obj,
+ void *context,
+ CORBA::Environment &ACE_TRY_ENV
+ )
+{
+ POA_CORBA::InterfaceDef_ptr impl = (POA_IR::HomeDef_ptr) obj;
+ POA_CORBA::InterfaceDef::_set_base_interfaces_skel (
+ req,
+ (POA_CORBA::InterfaceDef_ptr) impl,
+ context,
+ ACE_TRY_ENV
+ );
+}
+ACE_INLINE void POA_IR::HomeDef::is_a_skel (
+ TAO_ServerRequest &req,
+ void *obj,
+ void *context,
+ CORBA::Environment &ACE_TRY_ENV
+ )
+{
+ POA_CORBA::InterfaceDef_ptr impl = (POA_IR::HomeDef_ptr) obj;
+ POA_CORBA::InterfaceDef::is_a_skel (
+ req,
+ (POA_CORBA::InterfaceDef_ptr) impl,
+ context,
+ ACE_TRY_ENV
+ );
+}
+ACE_INLINE void POA_IR::HomeDef::describe_interface_skel (
+ TAO_ServerRequest &req,
+ void *obj,
+ void *context,
+ CORBA::Environment &ACE_TRY_ENV
+ )
+{
+ POA_CORBA::InterfaceDef_ptr impl = (POA_IR::HomeDef_ptr) obj;
+ POA_CORBA::InterfaceDef::describe_interface_skel (
+ req,
+ (POA_CORBA::InterfaceDef_ptr) impl,
+ context,
+ ACE_TRY_ENV
+ );
+}
+ACE_INLINE void POA_IR::HomeDef::create_attribute_skel (
+ TAO_ServerRequest &req,
+ void *obj,
+ void *context,
+ CORBA::Environment &ACE_TRY_ENV
+ )
+{
+ POA_CORBA::InterfaceDef_ptr impl = (POA_IR::HomeDef_ptr) obj;
+ POA_CORBA::InterfaceDef::create_attribute_skel (
+ req,
+ (POA_CORBA::InterfaceDef_ptr) impl,
+ context,
+ ACE_TRY_ENV
+ );
+}
+ACE_INLINE void POA_IR::HomeDef::create_operation_skel (
+ TAO_ServerRequest &req,
+ void *obj,
+ void *context,
+ CORBA::Environment &ACE_TRY_ENV
+ )
+{
+ POA_CORBA::InterfaceDef_ptr impl = (POA_IR::HomeDef_ptr) obj;
+ POA_CORBA::InterfaceDef::create_operation_skel (
+ req,
+ (POA_CORBA::InterfaceDef_ptr) impl,
+ context,
+ ACE_TRY_ENV
+ );
+}
+ACE_INLINE void POA_IR::HomeDef::lookup_skel (
+ TAO_ServerRequest &req,
+ void *obj,
+ void *context,
+ CORBA::Environment &ACE_TRY_ENV
+ )
+{
+ POA_CORBA::Container_ptr impl = (POA_IR::HomeDef_ptr) obj;
+ POA_CORBA::Container::lookup_skel (
+ req,
+ (POA_CORBA::Container_ptr) impl,
+ context,
+ ACE_TRY_ENV
+ );
+}
+ACE_INLINE void POA_IR::HomeDef::contents_skel (
+ TAO_ServerRequest &req,
+ void *obj,
+ void *context,
+ CORBA::Environment &ACE_TRY_ENV
+ )
+{
+ POA_CORBA::Container_ptr impl = (POA_IR::HomeDef_ptr) obj;
+ POA_CORBA::Container::contents_skel (
+ req,
+ (POA_CORBA::Container_ptr) impl,
+ context,
+ ACE_TRY_ENV
+ );
+}
+ACE_INLINE void POA_IR::HomeDef::lookup_name_skel (
+ TAO_ServerRequest &req,
+ void *obj,
+ void *context,
+ CORBA::Environment &ACE_TRY_ENV
+ )
+{
+ POA_CORBA::Container_ptr impl = (POA_IR::HomeDef_ptr) obj;
+ POA_CORBA::Container::lookup_name_skel (
+ req,
+ (POA_CORBA::Container_ptr) impl,
+ context,
+ ACE_TRY_ENV
+ );
+}
+ACE_INLINE void POA_IR::HomeDef::describe_contents_skel (
+ TAO_ServerRequest &req,
+ void *obj,
+ void *context,
+ CORBA::Environment &ACE_TRY_ENV
+ )
+{
+ POA_CORBA::Container_ptr impl = (POA_IR::HomeDef_ptr) obj;
+ POA_CORBA::Container::describe_contents_skel (
+ req,
+ (POA_CORBA::Container_ptr) impl,
+ context,
+ ACE_TRY_ENV
+ );
+}
+ACE_INLINE void POA_IR::HomeDef::create_module_skel (
+ TAO_ServerRequest &req,
+ void *obj,
+ void *context,
+ CORBA::Environment &ACE_TRY_ENV
+ )
+{
+ POA_CORBA::Container_ptr impl = (POA_IR::HomeDef_ptr) obj;
+ POA_CORBA::Container::create_module_skel (
+ req,
+ (POA_CORBA::Container_ptr) impl,
+ context,
+ ACE_TRY_ENV
+ );
+}
+ACE_INLINE void POA_IR::HomeDef::create_constant_skel (
+ TAO_ServerRequest &req,
+ void *obj,
+ void *context,
+ CORBA::Environment &ACE_TRY_ENV
+ )
+{
+ POA_CORBA::Container_ptr impl = (POA_IR::HomeDef_ptr) obj;
+ POA_CORBA::Container::create_constant_skel (
+ req,
+ (POA_CORBA::Container_ptr) impl,
+ context,
+ ACE_TRY_ENV
+ );
+}
+ACE_INLINE void POA_IR::HomeDef::create_struct_skel (
+ TAO_ServerRequest &req,
+ void *obj,
+ void *context,
+ CORBA::Environment &ACE_TRY_ENV
+ )
+{
+ POA_CORBA::Container_ptr impl = (POA_IR::HomeDef_ptr) obj;
+ POA_CORBA::Container::create_struct_skel (
+ req,
+ (POA_CORBA::Container_ptr) impl,
+ context,
+ ACE_TRY_ENV
+ );
+}
+ACE_INLINE void POA_IR::HomeDef::create_union_skel (
+ TAO_ServerRequest &req,
+ void *obj,
+ void *context,
+ CORBA::Environment &ACE_TRY_ENV
+ )
+{
+ POA_CORBA::Container_ptr impl = (POA_IR::HomeDef_ptr) obj;
+ POA_CORBA::Container::create_union_skel (
+ req,
+ (POA_CORBA::Container_ptr) impl,
+ context,
+ ACE_TRY_ENV
+ );
+}
+ACE_INLINE void POA_IR::HomeDef::create_enum_skel (
+ TAO_ServerRequest &req,
+ void *obj,
+ void *context,
+ CORBA::Environment &ACE_TRY_ENV
+ )
+{
+ POA_CORBA::Container_ptr impl = (POA_IR::HomeDef_ptr) obj;
+ POA_CORBA::Container::create_enum_skel (
+ req,
+ (POA_CORBA::Container_ptr) impl,
+ context,
+ ACE_TRY_ENV
+ );
+}
+ACE_INLINE void POA_IR::HomeDef::create_alias_skel (
+ TAO_ServerRequest &req,
+ void *obj,
+ void *context,
+ CORBA::Environment &ACE_TRY_ENV
+ )
+{
+ POA_CORBA::Container_ptr impl = (POA_IR::HomeDef_ptr) obj;
+ POA_CORBA::Container::create_alias_skel (
+ req,
+ (POA_CORBA::Container_ptr) impl,
+ context,
+ ACE_TRY_ENV
+ );
+}
+ACE_INLINE void POA_IR::HomeDef::create_interface_skel (
+ TAO_ServerRequest &req,
+ void *obj,
+ void *context,
+ CORBA::Environment &ACE_TRY_ENV
+ )
+{
+ POA_CORBA::Container_ptr impl = (POA_IR::HomeDef_ptr) obj;
+ POA_CORBA::Container::create_interface_skel (
+ req,
+ (POA_CORBA::Container_ptr) impl,
+ context,
+ ACE_TRY_ENV
+ );
+}
+ACE_INLINE void POA_IR::HomeDef::create_value_skel (
+ TAO_ServerRequest &req,
+ void *obj,
+ void *context,
+ CORBA::Environment &ACE_TRY_ENV
+ )
+{
+ POA_CORBA::Container_ptr impl = (POA_IR::HomeDef_ptr) obj;
+ POA_CORBA::Container::create_value_skel (
+ req,
+ (POA_CORBA::Container_ptr) impl,
+ context,
+ ACE_TRY_ENV
+ );
+}
+ACE_INLINE void POA_IR::HomeDef::create_value_box_skel (
+ TAO_ServerRequest &req,
+ void *obj,
+ void *context,
+ CORBA::Environment &ACE_TRY_ENV
+ )
+{
+ POA_CORBA::Container_ptr impl = (POA_IR::HomeDef_ptr) obj;
+ POA_CORBA::Container::create_value_box_skel (
+ req,
+ (POA_CORBA::Container_ptr) impl,
+ context,
+ ACE_TRY_ENV
+ );
+}
+ACE_INLINE void POA_IR::HomeDef::create_exception_skel (
+ TAO_ServerRequest &req,
+ void *obj,
+ void *context,
+ CORBA::Environment &ACE_TRY_ENV
+ )
+{
+ POA_CORBA::Container_ptr impl = (POA_IR::HomeDef_ptr) obj;
+ POA_CORBA::Container::create_exception_skel (
+ req,
+ (POA_CORBA::Container_ptr) impl,
+ context,
+ ACE_TRY_ENV
+ );
+}
+ACE_INLINE void POA_IR::HomeDef::create_native_skel (
+ TAO_ServerRequest &req,
+ void *obj,
+ void *context,
+ CORBA::Environment &ACE_TRY_ENV
+ )
+{
+ POA_CORBA::Container_ptr impl = (POA_IR::HomeDef_ptr) obj;
+ POA_CORBA::Container::create_native_skel (
+ req,
+ (POA_CORBA::Container_ptr) impl,
+ context,
+ ACE_TRY_ENV
+ );
+}
+ACE_INLINE void POA_IR::HomeDef::create_abstract_interface_skel (
+ TAO_ServerRequest &req,
+ void *obj,
+ void *context,
+ CORBA::Environment &ACE_TRY_ENV
+ )
+{
+ POA_CORBA::Container_ptr impl = (POA_IR::HomeDef_ptr) obj;
+ POA_CORBA::Container::create_abstract_interface_skel (
+ req,
+ (POA_CORBA::Container_ptr) impl,
+ context,
+ ACE_TRY_ENV
+ );
+}
+ACE_INLINE void POA_IR::HomeDef::create_local_interface_skel (
+ TAO_ServerRequest &req,
+ void *obj,
+ void *context,
+ CORBA::Environment &ACE_TRY_ENV
+ )
+{
+ POA_CORBA::Container_ptr impl = (POA_IR::HomeDef_ptr) obj;
+ POA_CORBA::Container::create_local_interface_skel (
+ req,
+ (POA_CORBA::Container_ptr) impl,
+ context,
+ ACE_TRY_ENV
+ );
+}
+ACE_INLINE void POA_IR::HomeDef::_get_id_skel (
+ TAO_ServerRequest &req,
+ void *obj,
+ void *context,
+ CORBA::Environment &ACE_TRY_ENV
+ )
+{
+ POA_CORBA::Contained_ptr impl = (POA_IR::HomeDef_ptr) obj;
+ POA_CORBA::Contained::_get_id_skel (
+ req,
+ (POA_CORBA::Contained_ptr) impl,
+ context,
+ ACE_TRY_ENV
+ );
+}
+ACE_INLINE void POA_IR::HomeDef::_set_id_skel (
+ TAO_ServerRequest &req,
+ void *obj,
+ void *context,
+ CORBA::Environment &ACE_TRY_ENV
+ )
+{
+ POA_CORBA::Contained_ptr impl = (POA_IR::HomeDef_ptr) obj;
+ POA_CORBA::Contained::_set_id_skel (
+ req,
+ (POA_CORBA::Contained_ptr) impl,
+ context,
+ ACE_TRY_ENV
+ );
+}
+ACE_INLINE void POA_IR::HomeDef::_get_name_skel (
+ TAO_ServerRequest &req,
+ void *obj,
+ void *context,
+ CORBA::Environment &ACE_TRY_ENV
+ )
+{
+ POA_CORBA::Contained_ptr impl = (POA_IR::HomeDef_ptr) obj;
+ POA_CORBA::Contained::_get_name_skel (
+ req,
+ (POA_CORBA::Contained_ptr) impl,
+ context,
+ ACE_TRY_ENV
+ );
+}
+ACE_INLINE void POA_IR::HomeDef::_set_name_skel (
+ TAO_ServerRequest &req,
+ void *obj,
+ void *context,
+ CORBA::Environment &ACE_TRY_ENV
+ )
+{
+ POA_CORBA::Contained_ptr impl = (POA_IR::HomeDef_ptr) obj;
+ POA_CORBA::Contained::_set_name_skel (
+ req,
+ (POA_CORBA::Contained_ptr) impl,
+ context,
+ ACE_TRY_ENV
+ );
+}
+ACE_INLINE void POA_IR::HomeDef::_get_version_skel (
+ TAO_ServerRequest &req,
+ void *obj,
+ void *context,
+ CORBA::Environment &ACE_TRY_ENV
+ )
+{
+ POA_CORBA::Contained_ptr impl = (POA_IR::HomeDef_ptr) obj;
+ POA_CORBA::Contained::_get_version_skel (
+ req,
+ (POA_CORBA::Contained_ptr) impl,
+ context,
+ ACE_TRY_ENV
+ );
+}
+ACE_INLINE void POA_IR::HomeDef::_set_version_skel (
+ TAO_ServerRequest &req,
+ void *obj,
+ void *context,
+ CORBA::Environment &ACE_TRY_ENV
+ )
+{
+ POA_CORBA::Contained_ptr impl = (POA_IR::HomeDef_ptr) obj;
+ POA_CORBA::Contained::_set_version_skel (
+ req,
+ (POA_CORBA::Contained_ptr) impl,
+ context,
+ ACE_TRY_ENV
+ );
+}
+ACE_INLINE void POA_IR::HomeDef::_get_defined_in_skel (
+ TAO_ServerRequest &req,
+ void *obj,
+ void *context,
+ CORBA::Environment &ACE_TRY_ENV
+ )
+{
+ POA_CORBA::Contained_ptr impl = (POA_IR::HomeDef_ptr) obj;
+ POA_CORBA::Contained::_get_defined_in_skel (
+ req,
+ (POA_CORBA::Contained_ptr) impl,
+ context,
+ ACE_TRY_ENV
+ );
+}
+ACE_INLINE void POA_IR::HomeDef::_get_absolute_name_skel (
+ TAO_ServerRequest &req,
+ void *obj,
+ void *context,
+ CORBA::Environment &ACE_TRY_ENV
+ )
+{
+ POA_CORBA::Contained_ptr impl = (POA_IR::HomeDef_ptr) obj;
+ POA_CORBA::Contained::_get_absolute_name_skel (
+ req,
+ (POA_CORBA::Contained_ptr) impl,
+ context,
+ ACE_TRY_ENV
+ );
+}
+ACE_INLINE void POA_IR::HomeDef::_get_containing_repository_skel (
+ TAO_ServerRequest &req,
+ void *obj,
+ void *context,
+ CORBA::Environment &ACE_TRY_ENV
+ )
+{
+ POA_CORBA::Contained_ptr impl = (POA_IR::HomeDef_ptr) obj;
+ POA_CORBA::Contained::_get_containing_repository_skel (
+ req,
+ (POA_CORBA::Contained_ptr) impl,
+ context,
+ ACE_TRY_ENV
+ );
+}
+ACE_INLINE void POA_IR::HomeDef::describe_skel (
+ TAO_ServerRequest &req,
+ void *obj,
+ void *context,
+ CORBA::Environment &ACE_TRY_ENV
+ )
+{
+ POA_CORBA::Contained_ptr impl = (POA_IR::HomeDef_ptr) obj;
+ POA_CORBA::Contained::describe_skel (
+ req,
+ (POA_CORBA::Contained_ptr) impl,
+ context,
+ ACE_TRY_ENV
+ );
+}
+ACE_INLINE void POA_IR::HomeDef::move_skel (
+ TAO_ServerRequest &req,
+ void *obj,
+ void *context,
+ CORBA::Environment &ACE_TRY_ENV
+ )
+{
+ POA_CORBA::Contained_ptr impl = (POA_IR::HomeDef_ptr) obj;
+ POA_CORBA::Contained::move_skel (
+ req,
+ (POA_CORBA::Contained_ptr) impl,
+ context,
+ ACE_TRY_ENV
+ );
+}
+ACE_INLINE void POA_IR::HomeDef::_get_type_skel (
+ TAO_ServerRequest &req,
+ void *obj,
+ void *context,
+ CORBA::Environment &ACE_TRY_ENV
+ )
+{
+ POA_CORBA::IDLType_ptr impl = (POA_IR::HomeDef_ptr) obj;
+ POA_CORBA::IDLType::_get_type_skel (
+ req,
+ (POA_CORBA::IDLType_ptr) impl,
+ context,
+ ACE_TRY_ENV
+ );
+}
+ACE_INLINE void POA_IR::HomeDef::_get_def_kind_skel (
+ TAO_ServerRequest &req,
+ void *obj,
+ void *context,
+ CORBA::Environment &ACE_TRY_ENV
+ )
+{
+ POA_CORBA::IRObject_ptr impl = (POA_IR::HomeDef_ptr) obj;
+ POA_CORBA::IRObject::_get_def_kind_skel (
+ req,
+ (POA_CORBA::IRObject_ptr) impl,
+ context,
+ ACE_TRY_ENV
+ );
+}
+ACE_INLINE void POA_IR::HomeDef::destroy_skel (
+ TAO_ServerRequest &req,
+ void *obj,
+ void *context,
+ CORBA::Environment &ACE_TRY_ENV
+ )
+{
+ POA_CORBA::IRObject_ptr impl = (POA_IR::HomeDef_ptr) obj;
+ POA_CORBA::IRObject::destroy_skel (
+ req,
+ (POA_CORBA::IRObject_ptr) impl,
+ context,
+ ACE_TRY_ENV
+ );
+}
diff --git a/TAO/orbsvcs/IFR_Service/IFR_ComponentsS_T.cpp b/TAO/orbsvcs/IFR_Service/IFR_ComponentsS_T.cpp
new file mode 100644
index 00000000000..32b55e1aa92
--- /dev/null
+++ b/TAO/orbsvcs/IFR_Service/IFR_ComponentsS_T.cpp
@@ -0,0 +1,32 @@
+// -*- C++ -*-
+//
+// $Id$
+
+// **** Code generated by the The ACE ORB (TAO) IDL Compiler ****
+// TAO and the TAO IDL Compiler have been developed by:
+// Center for Distributed Object Computing
+// Washington University
+// St. Louis, MO
+// USA
+// http://www.cs.wustl.edu/~schmidt/doc-center.html
+// and
+// Distributed Object Computing Laboratory
+// University of California at Irvine
+// Irvine, CA
+// USA
+// http://doc.ece.uci.edu/
+//
+// Information about TAO is available at:
+// http://www.cs.wustl.edu/~schmidt/TAO.html
+
+#ifndef TAO_IDL_IFR_COMPONENTSS_T_CPP
+#define TAO_IDL_IFR_COMPONENTSS_T_CPP
+
+#include "IFR_ComponentsS_T.h"
+
+#if !defined (__ACE_INLINE__)
+#include "IFR_ComponentsS_T.i"
+#endif /* !defined INLINE */
+
+
+#endif /* ifndef */
diff --git a/TAO/orbsvcs/IFR_Service/IFR_ComponentsS_T.h b/TAO/orbsvcs/IFR_Service/IFR_ComponentsS_T.h
new file mode 100644
index 00000000000..3772d94b112
--- /dev/null
+++ b/TAO/orbsvcs/IFR_Service/IFR_ComponentsS_T.h
@@ -0,0 +1,53 @@
+// -*- C++ -*-
+//
+// $Id$
+
+// **** Code generated by the The ACE ORB (TAO) IDL Compiler ****
+// TAO and the TAO IDL Compiler have been developed by:
+// Center for Distributed Object Computing
+// Washington University
+// St. Louis, MO
+// USA
+// http://www.cs.wustl.edu/~schmidt/doc-center.html
+// and
+// Distributed Object Computing Laboratory
+// University of California at Irvine
+// Irvine, CA
+// USA
+// http://doc.ece.uci.edu/
+//
+// Information about TAO is available at:
+// http://www.cs.wustl.edu/~schmidt/TAO.html
+
+#ifndef TAO_IDL_IFR_COMPONENTSS_T_H
+#define TAO_IDL_IFR_COMPONENTSS_T_H
+
+#include "ace/pre.h"
+#if defined(_MSC_VER)
+#if (_MSC_VER >= 1200)
+#pragma warning(push)
+#endif /* _MSC_VER >= 1200 */
+#pragma warning(disable:4250)
+#endif /* _MSC_VER */
+
+
+#if defined (__ACE_INLINE__)
+#include "IFR_ComponentsS_T.i"
+#endif /* defined INLINE */
+
+
+#if defined (ACE_TEMPLATES_REQUIRE_SOURCE)
+#include "IFR_ComponentsS_T.cpp"
+#endif /* defined REQUIRED SOURCE */
+
+
+#if defined (ACE_TEMPLATES_REQUIRE_PRAGMA)
+#pragma implementation ("IFR_ComponentsS_T.cpp")
+#endif /* defined REQUIRED PRAGMA */
+
+#if defined(_MSC_VER) && (_MSC_VER >= 1200)
+#pragma warning(pop)
+#endif /* _MSC_VER */
+
+#include "ace/post.h"
+#endif /* ifndef */
diff --git a/TAO/orbsvcs/IFR_Service/IFR_ComponentsS_T.i b/TAO/orbsvcs/IFR_Service/IFR_ComponentsS_T.i
new file mode 100644
index 00000000000..e36504de584
--- /dev/null
+++ b/TAO/orbsvcs/IFR_Service/IFR_ComponentsS_T.i
@@ -0,0 +1,5341 @@
+// -*- C++ -*-
+//
+// $Id$
+
+// **** Code generated by the The ACE ORB (TAO) IDL Compiler ****
+// TAO and the TAO IDL Compiler have been developed by:
+// Center for Distributed Object Computing
+// Washington University
+// St. Louis, MO
+// USA
+// http://www.cs.wustl.edu/~schmidt/doc-center.html
+// and
+// Distributed Object Computing Laboratory
+// University of California at Irvine
+// Irvine, CA
+// USA
+// http://doc.ece.uci.edu/
+//
+// Information about TAO is available at:
+// http://www.cs.wustl.edu/~schmidt/TAO.html
+
+
+#if defined (ACE_HAS_USING_KEYWORD)
+template <class T> ACE_INLINE
+POA_IR::ComponentRepository_tie<T>::ComponentRepository_tie (T &t)
+ : ptr_ (&t),
+ poa_ (PortableServer::POA::_nil ()),
+ rel_ (0)
+{}
+
+template <class T> ACE_INLINE
+POA_IR::ComponentRepository_tie<T>::ComponentRepository_tie (T &t, PortableServer::POA_ptr poa)
+ : ptr_ (&t),
+ poa_ (PortableServer::POA::_duplicate (poa)),
+ rel_ (0)
+{}
+
+template <class T> ACE_INLINE
+POA_IR::ComponentRepository_tie<T>::ComponentRepository_tie (T *tp, CORBA::Boolean release)
+ : ptr_ (tp),
+ poa_ (PortableServer::POA::_nil ()),
+ rel_ (release)
+{}
+
+template <class T> ACE_INLINE
+POA_IR::ComponentRepository_tie<T>::ComponentRepository_tie (T *tp, PortableServer::POA_ptr poa, CORBA::Boolean release)
+ : ptr_ (tp),
+ poa_ (PortableServer::POA::_duplicate (poa)),
+ rel_ (release)
+{}
+
+template <class T> ACE_INLINE
+POA_IR::ComponentRepository_tie<T>::~ComponentRepository_tie (void)
+{
+ if (this->rel_) delete this->ptr_;
+}
+
+template <class T> ACE_INLINE T *
+POA_IR::ComponentRepository_tie<T>::_tied_object (void)
+{
+ return this->ptr_;
+}
+
+template <class T> ACE_INLINE void
+POA_IR::ComponentRepository_tie<T>::_tied_object (T &obj)
+{
+ if (this->rel_) delete this->ptr_;
+ this->ptr_ = &obj;
+ this->rel_ = 0;
+}
+
+template <class T> ACE_INLINE void
+POA_IR::ComponentRepository_tie<T>::_tied_object (T *obj, CORBA::Boolean release)
+{
+ if (this->rel_) delete this->ptr_;
+ this->ptr_ = obj;
+ this->rel_ = release;
+}
+
+template <class T> ACE_INLINE CORBA::Boolean
+POA_IR::ComponentRepository_tie<T>::_is_owner (void)
+{
+ return this->rel_;
+}
+
+template <class T> ACE_INLINE void
+POA_IR::ComponentRepository_tie<T>::_is_owner (CORBA::Boolean b)
+{
+ this->rel_ = b;
+}
+
+template <class T> ACE_INLINE PortableServer::POA_ptr
+POA_IR::ComponentRepository_tie<T>::_default_POA (CORBA::Environment &ACE_TRY_ENV)
+{
+ if (!CORBA::is_nil (this->poa_.in ()))
+ return PortableServer::POA::_duplicate (this->poa_.in ());
+
+ return this->ComponentRepository::_default_POA (ACE_TRY_ENV);
+}
+
+template <class T> ACE_INLINE
+IR::ComponentDef_ptr POA_IR::ComponentRepository_tie<T>::create_component (
+ const char * id,
+ const char * name,
+ const char * version,
+ IR::ComponentDef_ptr base_component,
+ const CORBA::InterfaceDefSeq & supports_interfaces,
+ CORBA::Environment &ACE_TRY_ENV
+ )
+ ACE_THROW_SPEC ((
+ CORBA::SystemException
+ ))
+{
+ return this->ptr_->create_component (
+id,
+ name,
+ version,
+ base_component,
+ supports_interfaces,
+ ACE_TRY_ENV
+ );
+}
+
+template <class T> ACE_INLINE
+IR::HomeDef_ptr POA_IR::ComponentRepository_tie<T>::create_home (
+ const char * id,
+ const char * name,
+ const char * version,
+ IR::HomeDef_ptr base_home,
+ IR::ComponentDef_ptr managed_component,
+ CORBA::ValueDef_ptr primary_key,
+ CORBA::Environment &ACE_TRY_ENV
+ )
+ ACE_THROW_SPEC ((
+ CORBA::SystemException
+ ))
+{
+ return this->ptr_->create_home (
+id,
+ name,
+ version,
+ base_home,
+ managed_component,
+ primary_key,
+ ACE_TRY_ENV
+ );
+}
+
+template <class T> ACE_INLINE
+CORBA::Contained_ptr POA_IR::ComponentRepository_tie<T>::lookup_id (
+ const char * search_id,
+ CORBA::Environment &ACE_TRY_ENV
+ )
+ ACE_THROW_SPEC ((
+ CORBA::SystemException
+ ))
+{
+ return this->ptr_->lookup_id (
+search_id,
+ ACE_TRY_ENV
+ );
+}
+
+template <class T> ACE_INLINE
+CORBA::TypeCode_ptr POA_IR::ComponentRepository_tie<T>::get_canonical_typecode (
+ CORBA::TypeCode_ptr tc,
+ CORBA::Environment &ACE_TRY_ENV
+ )
+ ACE_THROW_SPEC ((
+ CORBA::SystemException
+ ))
+{
+ return this->ptr_->get_canonical_typecode (
+tc,
+ ACE_TRY_ENV
+ );
+}
+
+template <class T> ACE_INLINE
+CORBA::PrimitiveDef_ptr POA_IR::ComponentRepository_tie<T>::get_primitive (
+ CORBA::PrimitiveKind kind,
+ CORBA::Environment &ACE_TRY_ENV
+ )
+ ACE_THROW_SPEC ((
+ CORBA::SystemException
+ ))
+{
+ return this->ptr_->get_primitive (
+kind,
+ ACE_TRY_ENV
+ );
+}
+
+template <class T> ACE_INLINE
+CORBA::StringDef_ptr POA_IR::ComponentRepository_tie<T>::create_string (
+ CORBA::ULong bound,
+ CORBA::Environment &ACE_TRY_ENV
+ )
+ ACE_THROW_SPEC ((
+ CORBA::SystemException
+ ))
+{
+ return this->ptr_->create_string (
+bound,
+ ACE_TRY_ENV
+ );
+}
+
+template <class T> ACE_INLINE
+CORBA::WstringDef_ptr POA_IR::ComponentRepository_tie<T>::create_wstring (
+ CORBA::ULong bound,
+ CORBA::Environment &ACE_TRY_ENV
+ )
+ ACE_THROW_SPEC ((
+ CORBA::SystemException
+ ))
+{
+ return this->ptr_->create_wstring (
+bound,
+ ACE_TRY_ENV
+ );
+}
+
+template <class T> ACE_INLINE
+CORBA::SequenceDef_ptr POA_IR::ComponentRepository_tie<T>::create_sequence (
+ CORBA::ULong bound,
+ CORBA::IDLType_ptr element_type,
+ CORBA::Environment &ACE_TRY_ENV
+ )
+ ACE_THROW_SPEC ((
+ CORBA::SystemException
+ ))
+{
+ return this->ptr_->create_sequence (
+bound,
+ element_type,
+ ACE_TRY_ENV
+ );
+}
+
+template <class T> ACE_INLINE
+CORBA::ArrayDef_ptr POA_IR::ComponentRepository_tie<T>::create_array (
+ CORBA::ULong length,
+ CORBA::IDLType_ptr element_type,
+ CORBA::Environment &ACE_TRY_ENV
+ )
+ ACE_THROW_SPEC ((
+ CORBA::SystemException
+ ))
+{
+ return this->ptr_->create_array (
+length,
+ element_type,
+ ACE_TRY_ENV
+ );
+}
+
+template <class T> ACE_INLINE
+CORBA::FixedDef_ptr POA_IR::ComponentRepository_tie<T>::create_fixed (
+ CORBA::UShort digits,
+ CORBA::Short scale,
+ CORBA::Environment &ACE_TRY_ENV
+ )
+ ACE_THROW_SPEC ((
+ CORBA::SystemException
+ ))
+{
+ return this->ptr_->create_fixed (
+digits,
+ scale,
+ ACE_TRY_ENV
+ );
+}
+
+template <class T> ACE_INLINE
+CORBA::Contained_ptr POA_IR::ComponentRepository_tie<T>::lookup (
+ const char * search_name,
+ CORBA::Environment &ACE_TRY_ENV
+ )
+ ACE_THROW_SPEC ((
+ CORBA::SystemException
+ ))
+{
+ return this->ptr_->lookup (
+search_name,
+ ACE_TRY_ENV
+ );
+}
+
+template <class T> ACE_INLINE
+CORBA::ContainedSeq * POA_IR::ComponentRepository_tie<T>::contents (
+ CORBA::DefinitionKind limit_type,
+ CORBA::Boolean exclude_inherited,
+ CORBA::Environment &ACE_TRY_ENV
+ )
+ ACE_THROW_SPEC ((
+ CORBA::SystemException
+ ))
+{
+ return this->ptr_->contents (
+limit_type,
+ exclude_inherited,
+ ACE_TRY_ENV
+ );
+}
+
+template <class T> ACE_INLINE
+CORBA::ContainedSeq * POA_IR::ComponentRepository_tie<T>::lookup_name (
+ const char * search_name,
+ CORBA::Long levels_to_search,
+ CORBA::DefinitionKind limit_type,
+ CORBA::Boolean exclude_inherited,
+ CORBA::Environment &ACE_TRY_ENV
+ )
+ ACE_THROW_SPEC ((
+ CORBA::SystemException
+ ))
+{
+ return this->ptr_->lookup_name (
+search_name,
+ levels_to_search,
+ limit_type,
+ exclude_inherited,
+ ACE_TRY_ENV
+ );
+}
+
+template <class T> ACE_INLINE
+CORBA::Container::DescriptionSeq * POA_IR::ComponentRepository_tie<T>::describe_contents (
+ CORBA::DefinitionKind limit_type,
+ CORBA::Boolean exclude_inherited,
+ CORBA::Long max_returned_objs,
+ CORBA::Environment &ACE_TRY_ENV
+ )
+ ACE_THROW_SPEC ((
+ CORBA::SystemException
+ ))
+{
+ return this->ptr_->describe_contents (
+limit_type,
+ exclude_inherited,
+ max_returned_objs,
+ ACE_TRY_ENV
+ );
+}
+
+template <class T> ACE_INLINE
+CORBA::ModuleDef_ptr POA_IR::ComponentRepository_tie<T>::create_module (
+ const char * id,
+ const char * name,
+ const char * version,
+ CORBA::Environment &ACE_TRY_ENV
+ )
+ ACE_THROW_SPEC ((
+ CORBA::SystemException
+ ))
+{
+ return this->ptr_->create_module (
+id,
+ name,
+ version,
+ ACE_TRY_ENV
+ );
+}
+
+template <class T> ACE_INLINE
+CORBA::ConstantDef_ptr POA_IR::ComponentRepository_tie<T>::create_constant (
+ const char * id,
+ const char * name,
+ const char * version,
+ CORBA::IDLType_ptr type,
+ const CORBA::Any & value,
+ CORBA::Environment &ACE_TRY_ENV
+ )
+ ACE_THROW_SPEC ((
+ CORBA::SystemException
+ ))
+{
+ return this->ptr_->create_constant (
+id,
+ name,
+ version,
+ type,
+ value,
+ ACE_TRY_ENV
+ );
+}
+
+template <class T> ACE_INLINE
+CORBA::StructDef_ptr POA_IR::ComponentRepository_tie<T>::create_struct (
+ const char * id,
+ const char * name,
+ const char * version,
+ const CORBA::StructMemberSeq & members,
+ CORBA::Environment &ACE_TRY_ENV
+ )
+ ACE_THROW_SPEC ((
+ CORBA::SystemException
+ ))
+{
+ return this->ptr_->create_struct (
+id,
+ name,
+ version,
+ members,
+ ACE_TRY_ENV
+ );
+}
+
+template <class T> ACE_INLINE
+CORBA::UnionDef_ptr POA_IR::ComponentRepository_tie<T>::create_union (
+ const char * id,
+ const char * name,
+ const char * version,
+ CORBA::IDLType_ptr discriminator_type,
+ const CORBA::UnionMemberSeq & members,
+ CORBA::Environment &ACE_TRY_ENV
+ )
+ ACE_THROW_SPEC ((
+ CORBA::SystemException
+ ))
+{
+ return this->ptr_->create_union (
+id,
+ name,
+ version,
+ discriminator_type,
+ members,
+ ACE_TRY_ENV
+ );
+}
+
+template <class T> ACE_INLINE
+CORBA::EnumDef_ptr POA_IR::ComponentRepository_tie<T>::create_enum (
+ const char * id,
+ const char * name,
+ const char * version,
+ const CORBA::EnumMemberSeq & members,
+ CORBA::Environment &ACE_TRY_ENV
+ )
+ ACE_THROW_SPEC ((
+ CORBA::SystemException
+ ))
+{
+ return this->ptr_->create_enum (
+id,
+ name,
+ version,
+ members,
+ ACE_TRY_ENV
+ );
+}
+
+template <class T> ACE_INLINE
+CORBA::AliasDef_ptr POA_IR::ComponentRepository_tie<T>::create_alias (
+ const char * id,
+ const char * name,
+ const char * version,
+ CORBA::IDLType_ptr original_type,
+ CORBA::Environment &ACE_TRY_ENV
+ )
+ ACE_THROW_SPEC ((
+ CORBA::SystemException
+ ))
+{
+ return this->ptr_->create_alias (
+id,
+ name,
+ version,
+ original_type,
+ ACE_TRY_ENV
+ );
+}
+
+template <class T> ACE_INLINE
+CORBA::InterfaceDef_ptr POA_IR::ComponentRepository_tie<T>::create_interface (
+ const char * id,
+ const char * name,
+ const char * version,
+ const CORBA::InterfaceDefSeq & base_interfaces,
+ CORBA::Environment &ACE_TRY_ENV
+ )
+ ACE_THROW_SPEC ((
+ CORBA::SystemException
+ ))
+{
+ return this->ptr_->create_interface (
+id,
+ name,
+ version,
+ base_interfaces,
+ ACE_TRY_ENV
+ );
+}
+
+template <class T> ACE_INLINE
+CORBA::ValueDef_ptr POA_IR::ComponentRepository_tie<T>::create_value (
+ const char * id,
+ const char * name,
+ const char * version,
+ CORBA::Boolean is_custom,
+ CORBA::Boolean is_abstract,
+ CORBA::ValueDef_ptr base_value,
+ CORBA::Boolean is_truncatable,
+ const CORBA::ValueDefSeq & abstract_base_values,
+ const CORBA::InterfaceDefSeq & supported_interfaces,
+ const CORBA::InitializerSeq & initializers,
+ CORBA::Environment &ACE_TRY_ENV
+ )
+ ACE_THROW_SPEC ((
+ CORBA::SystemException
+ ))
+{
+ return this->ptr_->create_value (
+id,
+ name,
+ version,
+ is_custom,
+ is_abstract,
+ base_value,
+ is_truncatable,
+ abstract_base_values,
+ supported_interfaces,
+ initializers,
+ ACE_TRY_ENV
+ );
+}
+
+template <class T> ACE_INLINE
+CORBA::ValueBoxDef_ptr POA_IR::ComponentRepository_tie<T>::create_value_box (
+ const char * id,
+ const char * name,
+ const char * version,
+ CORBA::IDLType_ptr original_type_def,
+ CORBA::Environment &ACE_TRY_ENV
+ )
+ ACE_THROW_SPEC ((
+ CORBA::SystemException
+ ))
+{
+ return this->ptr_->create_value_box (
+id,
+ name,
+ version,
+ original_type_def,
+ ACE_TRY_ENV
+ );
+}
+
+template <class T> ACE_INLINE
+CORBA::ExceptionDef_ptr POA_IR::ComponentRepository_tie<T>::create_exception (
+ const char * id,
+ const char * name,
+ const char * version,
+ const CORBA::StructMemberSeq & members,
+ CORBA::Environment &ACE_TRY_ENV
+ )
+ ACE_THROW_SPEC ((
+ CORBA::SystemException
+ ))
+{
+ return this->ptr_->create_exception (
+id,
+ name,
+ version,
+ members,
+ ACE_TRY_ENV
+ );
+}
+
+template <class T> ACE_INLINE
+CORBA::NativeDef_ptr POA_IR::ComponentRepository_tie<T>::create_native (
+ const char * id,
+ const char * name,
+ const char * version,
+ CORBA::Environment &ACE_TRY_ENV
+ )
+ ACE_THROW_SPEC ((
+ CORBA::SystemException
+ ))
+{
+ return this->ptr_->create_native (
+id,
+ name,
+ version,
+ ACE_TRY_ENV
+ );
+}
+
+template <class T> ACE_INLINE
+CORBA::AbstractInterfaceDef_ptr POA_IR::ComponentRepository_tie<T>::create_abstract_interface (
+ const char * id,
+ const char * name,
+ const char * version,
+ const CORBA::AbstractInterfaceDefSeq & base_interfaces,
+ CORBA::Environment &ACE_TRY_ENV
+ )
+ ACE_THROW_SPEC ((
+ CORBA::SystemException
+ ))
+{
+ return this->ptr_->create_abstract_interface (
+id,
+ name,
+ version,
+ base_interfaces,
+ ACE_TRY_ENV
+ );
+}
+
+template <class T> ACE_INLINE
+CORBA::LocalInterfaceDef_ptr POA_IR::ComponentRepository_tie<T>::create_local_interface (
+ const char * id,
+ const char * name,
+ const char * version,
+ const CORBA::InterfaceDefSeq & base_interfaces,
+ CORBA::Environment &ACE_TRY_ENV
+ )
+ ACE_THROW_SPEC ((
+ CORBA::SystemException
+ ))
+{
+ return this->ptr_->create_local_interface (
+id,
+ name,
+ version,
+ base_interfaces,
+ ACE_TRY_ENV
+ );
+}
+
+template <class T> ACE_INLINE
+CORBA::DefinitionKind POA_IR::ComponentRepository_tie<T>::def_kind (
+ CORBA::Environment &ACE_TRY_ENV
+ )
+ ACE_THROW_SPEC ((
+ CORBA::SystemException
+ ))
+{
+ return this->ptr_->def_kind (
+ACE_TRY_ENV
+ );
+}
+
+template <class T> ACE_INLINE
+void POA_IR::ComponentRepository_tie<T>::destroy (
+ CORBA::Environment &ACE_TRY_ENV
+ )
+ ACE_THROW_SPEC ((
+ CORBA::SystemException
+ ))
+{
+ this->ptr_->destroy (
+ACE_TRY_ENV
+ );
+}
+
+#endif /* ACE_HAS_USING_KEYWORD */
+
+#if defined (ACE_HAS_USING_KEYWORD)
+template <class T> ACE_INLINE
+POA_IR::ProvidesDef_tie<T>::ProvidesDef_tie (T &t)
+ : ptr_ (&t),
+ poa_ (PortableServer::POA::_nil ()),
+ rel_ (0)
+{}
+
+template <class T> ACE_INLINE
+POA_IR::ProvidesDef_tie<T>::ProvidesDef_tie (T &t, PortableServer::POA_ptr poa)
+ : ptr_ (&t),
+ poa_ (PortableServer::POA::_duplicate (poa)),
+ rel_ (0)
+{}
+
+template <class T> ACE_INLINE
+POA_IR::ProvidesDef_tie<T>::ProvidesDef_tie (T *tp, CORBA::Boolean release)
+ : ptr_ (tp),
+ poa_ (PortableServer::POA::_nil ()),
+ rel_ (release)
+{}
+
+template <class T> ACE_INLINE
+POA_IR::ProvidesDef_tie<T>::ProvidesDef_tie (T *tp, PortableServer::POA_ptr poa, CORBA::Boolean release)
+ : ptr_ (tp),
+ poa_ (PortableServer::POA::_duplicate (poa)),
+ rel_ (release)
+{}
+
+template <class T> ACE_INLINE
+POA_IR::ProvidesDef_tie<T>::~ProvidesDef_tie (void)
+{
+ if (this->rel_) delete this->ptr_;
+}
+
+template <class T> ACE_INLINE T *
+POA_IR::ProvidesDef_tie<T>::_tied_object (void)
+{
+ return this->ptr_;
+}
+
+template <class T> ACE_INLINE void
+POA_IR::ProvidesDef_tie<T>::_tied_object (T &obj)
+{
+ if (this->rel_) delete this->ptr_;
+ this->ptr_ = &obj;
+ this->rel_ = 0;
+}
+
+template <class T> ACE_INLINE void
+POA_IR::ProvidesDef_tie<T>::_tied_object (T *obj, CORBA::Boolean release)
+{
+ if (this->rel_) delete this->ptr_;
+ this->ptr_ = obj;
+ this->rel_ = release;
+}
+
+template <class T> ACE_INLINE CORBA::Boolean
+POA_IR::ProvidesDef_tie<T>::_is_owner (void)
+{
+ return this->rel_;
+}
+
+template <class T> ACE_INLINE void
+POA_IR::ProvidesDef_tie<T>::_is_owner (CORBA::Boolean b)
+{
+ this->rel_ = b;
+}
+
+template <class T> ACE_INLINE PortableServer::POA_ptr
+POA_IR::ProvidesDef_tie<T>::_default_POA (CORBA::Environment &ACE_TRY_ENV)
+{
+ if (!CORBA::is_nil (this->poa_.in ()))
+ return PortableServer::POA::_duplicate (this->poa_.in ());
+
+ return this->ProvidesDef::_default_POA (ACE_TRY_ENV);
+}
+
+template <class T> ACE_INLINE
+CORBA::InterfaceDef_ptr POA_IR::ProvidesDef_tie<T>::interface_type (
+ CORBA::Environment &ACE_TRY_ENV
+ )
+ ACE_THROW_SPEC ((
+ CORBA::SystemException
+ ))
+{
+ return this->ptr_->interface_type (
+ACE_TRY_ENV
+ );
+}
+
+template <class T> ACE_INLINE
+char * POA_IR::ProvidesDef_tie<T>::id (
+ CORBA::Environment &ACE_TRY_ENV
+ )
+ ACE_THROW_SPEC ((
+ CORBA::SystemException
+ ))
+{
+ return this->ptr_->id (
+ACE_TRY_ENV
+ );
+}
+
+template <class T> ACE_INLINE
+void POA_IR::ProvidesDef_tie<T>::id (
+ const char * id,
+ CORBA::Environment &ACE_TRY_ENV
+ )
+ ACE_THROW_SPEC ((
+ CORBA::SystemException
+ ))
+{
+ this->ptr_->id (
+id,
+ ACE_TRY_ENV
+ );
+}
+
+template <class T> ACE_INLINE
+char * POA_IR::ProvidesDef_tie<T>::name (
+ CORBA::Environment &ACE_TRY_ENV
+ )
+ ACE_THROW_SPEC ((
+ CORBA::SystemException
+ ))
+{
+ return this->ptr_->name (
+ACE_TRY_ENV
+ );
+}
+
+template <class T> ACE_INLINE
+void POA_IR::ProvidesDef_tie<T>::name (
+ const char * name,
+ CORBA::Environment &ACE_TRY_ENV
+ )
+ ACE_THROW_SPEC ((
+ CORBA::SystemException
+ ))
+{
+ this->ptr_->name (
+name,
+ ACE_TRY_ENV
+ );
+}
+
+template <class T> ACE_INLINE
+char * POA_IR::ProvidesDef_tie<T>::version (
+ CORBA::Environment &ACE_TRY_ENV
+ )
+ ACE_THROW_SPEC ((
+ CORBA::SystemException
+ ))
+{
+ return this->ptr_->version (
+ACE_TRY_ENV
+ );
+}
+
+template <class T> ACE_INLINE
+void POA_IR::ProvidesDef_tie<T>::version (
+ const char * version,
+ CORBA::Environment &ACE_TRY_ENV
+ )
+ ACE_THROW_SPEC ((
+ CORBA::SystemException
+ ))
+{
+ this->ptr_->version (
+version,
+ ACE_TRY_ENV
+ );
+}
+
+template <class T> ACE_INLINE
+CORBA::Container_ptr POA_IR::ProvidesDef_tie<T>::defined_in (
+ CORBA::Environment &ACE_TRY_ENV
+ )
+ ACE_THROW_SPEC ((
+ CORBA::SystemException
+ ))
+{
+ return this->ptr_->defined_in (
+ACE_TRY_ENV
+ );
+}
+
+template <class T> ACE_INLINE
+char * POA_IR::ProvidesDef_tie<T>::absolute_name (
+ CORBA::Environment &ACE_TRY_ENV
+ )
+ ACE_THROW_SPEC ((
+ CORBA::SystemException
+ ))
+{
+ return this->ptr_->absolute_name (
+ACE_TRY_ENV
+ );
+}
+
+template <class T> ACE_INLINE
+CORBA::Repository_ptr POA_IR::ProvidesDef_tie<T>::containing_repository (
+ CORBA::Environment &ACE_TRY_ENV
+ )
+ ACE_THROW_SPEC ((
+ CORBA::SystemException
+ ))
+{
+ return this->ptr_->containing_repository (
+ACE_TRY_ENV
+ );
+}
+
+template <class T> ACE_INLINE
+CORBA::Contained::Description * POA_IR::ProvidesDef_tie<T>::describe (
+ CORBA::Environment &ACE_TRY_ENV
+ )
+ ACE_THROW_SPEC ((
+ CORBA::SystemException
+ ))
+{
+ return this->ptr_->describe (
+ACE_TRY_ENV
+ );
+}
+
+template <class T> ACE_INLINE
+void POA_IR::ProvidesDef_tie<T>::move (
+ CORBA::Container_ptr new_container,
+ const char * new_name,
+ const char * new_version,
+ CORBA::Environment &ACE_TRY_ENV
+ )
+ ACE_THROW_SPEC ((
+ CORBA::SystemException
+ ))
+{
+ this->ptr_->move (
+new_container,
+ new_name,
+ new_version,
+ ACE_TRY_ENV
+ );
+}
+
+template <class T> ACE_INLINE
+CORBA::DefinitionKind POA_IR::ProvidesDef_tie<T>::def_kind (
+ CORBA::Environment &ACE_TRY_ENV
+ )
+ ACE_THROW_SPEC ((
+ CORBA::SystemException
+ ))
+{
+ return this->ptr_->def_kind (
+ACE_TRY_ENV
+ );
+}
+
+template <class T> ACE_INLINE
+void POA_IR::ProvidesDef_tie<T>::destroy (
+ CORBA::Environment &ACE_TRY_ENV
+ )
+ ACE_THROW_SPEC ((
+ CORBA::SystemException
+ ))
+{
+ this->ptr_->destroy (
+ACE_TRY_ENV
+ );
+}
+
+#endif /* ACE_HAS_USING_KEYWORD */
+
+#if defined (ACE_HAS_USING_KEYWORD)
+template <class T> ACE_INLINE
+POA_IR::UsesDef_tie<T>::UsesDef_tie (T &t)
+ : ptr_ (&t),
+ poa_ (PortableServer::POA::_nil ()),
+ rel_ (0)
+{}
+
+template <class T> ACE_INLINE
+POA_IR::UsesDef_tie<T>::UsesDef_tie (T &t, PortableServer::POA_ptr poa)
+ : ptr_ (&t),
+ poa_ (PortableServer::POA::_duplicate (poa)),
+ rel_ (0)
+{}
+
+template <class T> ACE_INLINE
+POA_IR::UsesDef_tie<T>::UsesDef_tie (T *tp, CORBA::Boolean release)
+ : ptr_ (tp),
+ poa_ (PortableServer::POA::_nil ()),
+ rel_ (release)
+{}
+
+template <class T> ACE_INLINE
+POA_IR::UsesDef_tie<T>::UsesDef_tie (T *tp, PortableServer::POA_ptr poa, CORBA::Boolean release)
+ : ptr_ (tp),
+ poa_ (PortableServer::POA::_duplicate (poa)),
+ rel_ (release)
+{}
+
+template <class T> ACE_INLINE
+POA_IR::UsesDef_tie<T>::~UsesDef_tie (void)
+{
+ if (this->rel_) delete this->ptr_;
+}
+
+template <class T> ACE_INLINE T *
+POA_IR::UsesDef_tie<T>::_tied_object (void)
+{
+ return this->ptr_;
+}
+
+template <class T> ACE_INLINE void
+POA_IR::UsesDef_tie<T>::_tied_object (T &obj)
+{
+ if (this->rel_) delete this->ptr_;
+ this->ptr_ = &obj;
+ this->rel_ = 0;
+}
+
+template <class T> ACE_INLINE void
+POA_IR::UsesDef_tie<T>::_tied_object (T *obj, CORBA::Boolean release)
+{
+ if (this->rel_) delete this->ptr_;
+ this->ptr_ = obj;
+ this->rel_ = release;
+}
+
+template <class T> ACE_INLINE CORBA::Boolean
+POA_IR::UsesDef_tie<T>::_is_owner (void)
+{
+ return this->rel_;
+}
+
+template <class T> ACE_INLINE void
+POA_IR::UsesDef_tie<T>::_is_owner (CORBA::Boolean b)
+{
+ this->rel_ = b;
+}
+
+template <class T> ACE_INLINE PortableServer::POA_ptr
+POA_IR::UsesDef_tie<T>::_default_POA (CORBA::Environment &ACE_TRY_ENV)
+{
+ if (!CORBA::is_nil (this->poa_.in ()))
+ return PortableServer::POA::_duplicate (this->poa_.in ());
+
+ return this->UsesDef::_default_POA (ACE_TRY_ENV);
+}
+
+template <class T> ACE_INLINE
+CORBA::InterfaceDef_ptr POA_IR::UsesDef_tie<T>::interface_type (
+ CORBA::Environment &ACE_TRY_ENV
+ )
+ ACE_THROW_SPEC ((
+ CORBA::SystemException
+ ))
+{
+ return this->ptr_->interface_type (
+ACE_TRY_ENV
+ );
+}
+
+template <class T> ACE_INLINE
+CORBA::Boolean POA_IR::UsesDef_tie<T>::is_multiple (
+ CORBA::Environment &ACE_TRY_ENV
+ )
+ ACE_THROW_SPEC ((
+ CORBA::SystemException
+ ))
+{
+ return this->ptr_->is_multiple (
+ACE_TRY_ENV
+ );
+}
+
+template <class T> ACE_INLINE
+char * POA_IR::UsesDef_tie<T>::id (
+ CORBA::Environment &ACE_TRY_ENV
+ )
+ ACE_THROW_SPEC ((
+ CORBA::SystemException
+ ))
+{
+ return this->ptr_->id (
+ACE_TRY_ENV
+ );
+}
+
+template <class T> ACE_INLINE
+void POA_IR::UsesDef_tie<T>::id (
+ const char * id,
+ CORBA::Environment &ACE_TRY_ENV
+ )
+ ACE_THROW_SPEC ((
+ CORBA::SystemException
+ ))
+{
+ this->ptr_->id (
+id,
+ ACE_TRY_ENV
+ );
+}
+
+template <class T> ACE_INLINE
+char * POA_IR::UsesDef_tie<T>::name (
+ CORBA::Environment &ACE_TRY_ENV
+ )
+ ACE_THROW_SPEC ((
+ CORBA::SystemException
+ ))
+{
+ return this->ptr_->name (
+ACE_TRY_ENV
+ );
+}
+
+template <class T> ACE_INLINE
+void POA_IR::UsesDef_tie<T>::name (
+ const char * name,
+ CORBA::Environment &ACE_TRY_ENV
+ )
+ ACE_THROW_SPEC ((
+ CORBA::SystemException
+ ))
+{
+ this->ptr_->name (
+name,
+ ACE_TRY_ENV
+ );
+}
+
+template <class T> ACE_INLINE
+char * POA_IR::UsesDef_tie<T>::version (
+ CORBA::Environment &ACE_TRY_ENV
+ )
+ ACE_THROW_SPEC ((
+ CORBA::SystemException
+ ))
+{
+ return this->ptr_->version (
+ACE_TRY_ENV
+ );
+}
+
+template <class T> ACE_INLINE
+void POA_IR::UsesDef_tie<T>::version (
+ const char * version,
+ CORBA::Environment &ACE_TRY_ENV
+ )
+ ACE_THROW_SPEC ((
+ CORBA::SystemException
+ ))
+{
+ this->ptr_->version (
+version,
+ ACE_TRY_ENV
+ );
+}
+
+template <class T> ACE_INLINE
+CORBA::Container_ptr POA_IR::UsesDef_tie<T>::defined_in (
+ CORBA::Environment &ACE_TRY_ENV
+ )
+ ACE_THROW_SPEC ((
+ CORBA::SystemException
+ ))
+{
+ return this->ptr_->defined_in (
+ACE_TRY_ENV
+ );
+}
+
+template <class T> ACE_INLINE
+char * POA_IR::UsesDef_tie<T>::absolute_name (
+ CORBA::Environment &ACE_TRY_ENV
+ )
+ ACE_THROW_SPEC ((
+ CORBA::SystemException
+ ))
+{
+ return this->ptr_->absolute_name (
+ACE_TRY_ENV
+ );
+}
+
+template <class T> ACE_INLINE
+CORBA::Repository_ptr POA_IR::UsesDef_tie<T>::containing_repository (
+ CORBA::Environment &ACE_TRY_ENV
+ )
+ ACE_THROW_SPEC ((
+ CORBA::SystemException
+ ))
+{
+ return this->ptr_->containing_repository (
+ACE_TRY_ENV
+ );
+}
+
+template <class T> ACE_INLINE
+CORBA::Contained::Description * POA_IR::UsesDef_tie<T>::describe (
+ CORBA::Environment &ACE_TRY_ENV
+ )
+ ACE_THROW_SPEC ((
+ CORBA::SystemException
+ ))
+{
+ return this->ptr_->describe (
+ACE_TRY_ENV
+ );
+}
+
+template <class T> ACE_INLINE
+void POA_IR::UsesDef_tie<T>::move (
+ CORBA::Container_ptr new_container,
+ const char * new_name,
+ const char * new_version,
+ CORBA::Environment &ACE_TRY_ENV
+ )
+ ACE_THROW_SPEC ((
+ CORBA::SystemException
+ ))
+{
+ this->ptr_->move (
+new_container,
+ new_name,
+ new_version,
+ ACE_TRY_ENV
+ );
+}
+
+template <class T> ACE_INLINE
+CORBA::DefinitionKind POA_IR::UsesDef_tie<T>::def_kind (
+ CORBA::Environment &ACE_TRY_ENV
+ )
+ ACE_THROW_SPEC ((
+ CORBA::SystemException
+ ))
+{
+ return this->ptr_->def_kind (
+ACE_TRY_ENV
+ );
+}
+
+template <class T> ACE_INLINE
+void POA_IR::UsesDef_tie<T>::destroy (
+ CORBA::Environment &ACE_TRY_ENV
+ )
+ ACE_THROW_SPEC ((
+ CORBA::SystemException
+ ))
+{
+ this->ptr_->destroy (
+ACE_TRY_ENV
+ );
+}
+
+#endif /* ACE_HAS_USING_KEYWORD */
+
+#if defined (ACE_HAS_USING_KEYWORD)
+template <class T> ACE_INLINE
+POA_IR::EventDef_tie<T>::EventDef_tie (T &t)
+ : ptr_ (&t),
+ poa_ (PortableServer::POA::_nil ()),
+ rel_ (0)
+{}
+
+template <class T> ACE_INLINE
+POA_IR::EventDef_tie<T>::EventDef_tie (T &t, PortableServer::POA_ptr poa)
+ : ptr_ (&t),
+ poa_ (PortableServer::POA::_duplicate (poa)),
+ rel_ (0)
+{}
+
+template <class T> ACE_INLINE
+POA_IR::EventDef_tie<T>::EventDef_tie (T *tp, CORBA::Boolean release)
+ : ptr_ (tp),
+ poa_ (PortableServer::POA::_nil ()),
+ rel_ (release)
+{}
+
+template <class T> ACE_INLINE
+POA_IR::EventDef_tie<T>::EventDef_tie (T *tp, PortableServer::POA_ptr poa, CORBA::Boolean release)
+ : ptr_ (tp),
+ poa_ (PortableServer::POA::_duplicate (poa)),
+ rel_ (release)
+{}
+
+template <class T> ACE_INLINE
+POA_IR::EventDef_tie<T>::~EventDef_tie (void)
+{
+ if (this->rel_) delete this->ptr_;
+}
+
+template <class T> ACE_INLINE T *
+POA_IR::EventDef_tie<T>::_tied_object (void)
+{
+ return this->ptr_;
+}
+
+template <class T> ACE_INLINE void
+POA_IR::EventDef_tie<T>::_tied_object (T &obj)
+{
+ if (this->rel_) delete this->ptr_;
+ this->ptr_ = &obj;
+ this->rel_ = 0;
+}
+
+template <class T> ACE_INLINE void
+POA_IR::EventDef_tie<T>::_tied_object (T *obj, CORBA::Boolean release)
+{
+ if (this->rel_) delete this->ptr_;
+ this->ptr_ = obj;
+ this->rel_ = release;
+}
+
+template <class T> ACE_INLINE CORBA::Boolean
+POA_IR::EventDef_tie<T>::_is_owner (void)
+{
+ return this->rel_;
+}
+
+template <class T> ACE_INLINE void
+POA_IR::EventDef_tie<T>::_is_owner (CORBA::Boolean b)
+{
+ this->rel_ = b;
+}
+
+template <class T> ACE_INLINE PortableServer::POA_ptr
+POA_IR::EventDef_tie<T>::_default_POA (CORBA::Environment &ACE_TRY_ENV)
+{
+ if (!CORBA::is_nil (this->poa_.in ()))
+ return PortableServer::POA::_duplicate (this->poa_.in ());
+
+ return this->EventDef::_default_POA (ACE_TRY_ENV);
+}
+
+template <class T> ACE_INLINE
+CORBA::Boolean POA_IR::EventDef_tie<T>::is_a (
+ const char * event_id,
+ CORBA::Environment &ACE_TRY_ENV
+ )
+ ACE_THROW_SPEC ((
+ CORBA::SystemException
+ ))
+{
+ return this->ptr_->is_a (
+event_id,
+ ACE_TRY_ENV
+ );
+}
+
+template <class T> ACE_INLINE
+CORBA::ValueDef_ptr POA_IR::EventDef_tie<T>::event (
+ CORBA::Environment &ACE_TRY_ENV
+ )
+ ACE_THROW_SPEC ((
+ CORBA::SystemException
+ ))
+{
+ return this->ptr_->event (
+ACE_TRY_ENV
+ );
+}
+
+template <class T> ACE_INLINE
+char * POA_IR::EventDef_tie<T>::id (
+ CORBA::Environment &ACE_TRY_ENV
+ )
+ ACE_THROW_SPEC ((
+ CORBA::SystemException
+ ))
+{
+ return this->ptr_->id (
+ACE_TRY_ENV
+ );
+}
+
+template <class T> ACE_INLINE
+void POA_IR::EventDef_tie<T>::id (
+ const char * id,
+ CORBA::Environment &ACE_TRY_ENV
+ )
+ ACE_THROW_SPEC ((
+ CORBA::SystemException
+ ))
+{
+ this->ptr_->id (
+id,
+ ACE_TRY_ENV
+ );
+}
+
+template <class T> ACE_INLINE
+char * POA_IR::EventDef_tie<T>::name (
+ CORBA::Environment &ACE_TRY_ENV
+ )
+ ACE_THROW_SPEC ((
+ CORBA::SystemException
+ ))
+{
+ return this->ptr_->name (
+ACE_TRY_ENV
+ );
+}
+
+template <class T> ACE_INLINE
+void POA_IR::EventDef_tie<T>::name (
+ const char * name,
+ CORBA::Environment &ACE_TRY_ENV
+ )
+ ACE_THROW_SPEC ((
+ CORBA::SystemException
+ ))
+{
+ this->ptr_->name (
+name,
+ ACE_TRY_ENV
+ );
+}
+
+template <class T> ACE_INLINE
+char * POA_IR::EventDef_tie<T>::version (
+ CORBA::Environment &ACE_TRY_ENV
+ )
+ ACE_THROW_SPEC ((
+ CORBA::SystemException
+ ))
+{
+ return this->ptr_->version (
+ACE_TRY_ENV
+ );
+}
+
+template <class T> ACE_INLINE
+void POA_IR::EventDef_tie<T>::version (
+ const char * version,
+ CORBA::Environment &ACE_TRY_ENV
+ )
+ ACE_THROW_SPEC ((
+ CORBA::SystemException
+ ))
+{
+ this->ptr_->version (
+version,
+ ACE_TRY_ENV
+ );
+}
+
+template <class T> ACE_INLINE
+CORBA::Container_ptr POA_IR::EventDef_tie<T>::defined_in (
+ CORBA::Environment &ACE_TRY_ENV
+ )
+ ACE_THROW_SPEC ((
+ CORBA::SystemException
+ ))
+{
+ return this->ptr_->defined_in (
+ACE_TRY_ENV
+ );
+}
+
+template <class T> ACE_INLINE
+char * POA_IR::EventDef_tie<T>::absolute_name (
+ CORBA::Environment &ACE_TRY_ENV
+ )
+ ACE_THROW_SPEC ((
+ CORBA::SystemException
+ ))
+{
+ return this->ptr_->absolute_name (
+ACE_TRY_ENV
+ );
+}
+
+template <class T> ACE_INLINE
+CORBA::Repository_ptr POA_IR::EventDef_tie<T>::containing_repository (
+ CORBA::Environment &ACE_TRY_ENV
+ )
+ ACE_THROW_SPEC ((
+ CORBA::SystemException
+ ))
+{
+ return this->ptr_->containing_repository (
+ACE_TRY_ENV
+ );
+}
+
+template <class T> ACE_INLINE
+CORBA::Contained::Description * POA_IR::EventDef_tie<T>::describe (
+ CORBA::Environment &ACE_TRY_ENV
+ )
+ ACE_THROW_SPEC ((
+ CORBA::SystemException
+ ))
+{
+ return this->ptr_->describe (
+ACE_TRY_ENV
+ );
+}
+
+template <class T> ACE_INLINE
+void POA_IR::EventDef_tie<T>::move (
+ CORBA::Container_ptr new_container,
+ const char * new_name,
+ const char * new_version,
+ CORBA::Environment &ACE_TRY_ENV
+ )
+ ACE_THROW_SPEC ((
+ CORBA::SystemException
+ ))
+{
+ this->ptr_->move (
+new_container,
+ new_name,
+ new_version,
+ ACE_TRY_ENV
+ );
+}
+
+template <class T> ACE_INLINE
+CORBA::DefinitionKind POA_IR::EventDef_tie<T>::def_kind (
+ CORBA::Environment &ACE_TRY_ENV
+ )
+ ACE_THROW_SPEC ((
+ CORBA::SystemException
+ ))
+{
+ return this->ptr_->def_kind (
+ACE_TRY_ENV
+ );
+}
+
+template <class T> ACE_INLINE
+void POA_IR::EventDef_tie<T>::destroy (
+ CORBA::Environment &ACE_TRY_ENV
+ )
+ ACE_THROW_SPEC ((
+ CORBA::SystemException
+ ))
+{
+ this->ptr_->destroy (
+ACE_TRY_ENV
+ );
+}
+
+#endif /* ACE_HAS_USING_KEYWORD */
+
+#if defined (ACE_HAS_USING_KEYWORD)
+template <class T> ACE_INLINE
+POA_IR::EmitsDef_tie<T>::EmitsDef_tie (T &t)
+ : ptr_ (&t),
+ poa_ (PortableServer::POA::_nil ()),
+ rel_ (0)
+{}
+
+template <class T> ACE_INLINE
+POA_IR::EmitsDef_tie<T>::EmitsDef_tie (T &t, PortableServer::POA_ptr poa)
+ : ptr_ (&t),
+ poa_ (PortableServer::POA::_duplicate (poa)),
+ rel_ (0)
+{}
+
+template <class T> ACE_INLINE
+POA_IR::EmitsDef_tie<T>::EmitsDef_tie (T *tp, CORBA::Boolean release)
+ : ptr_ (tp),
+ poa_ (PortableServer::POA::_nil ()),
+ rel_ (release)
+{}
+
+template <class T> ACE_INLINE
+POA_IR::EmitsDef_tie<T>::EmitsDef_tie (T *tp, PortableServer::POA_ptr poa, CORBA::Boolean release)
+ : ptr_ (tp),
+ poa_ (PortableServer::POA::_duplicate (poa)),
+ rel_ (release)
+{}
+
+template <class T> ACE_INLINE
+POA_IR::EmitsDef_tie<T>::~EmitsDef_tie (void)
+{
+ if (this->rel_) delete this->ptr_;
+}
+
+template <class T> ACE_INLINE T *
+POA_IR::EmitsDef_tie<T>::_tied_object (void)
+{
+ return this->ptr_;
+}
+
+template <class T> ACE_INLINE void
+POA_IR::EmitsDef_tie<T>::_tied_object (T &obj)
+{
+ if (this->rel_) delete this->ptr_;
+ this->ptr_ = &obj;
+ this->rel_ = 0;
+}
+
+template <class T> ACE_INLINE void
+POA_IR::EmitsDef_tie<T>::_tied_object (T *obj, CORBA::Boolean release)
+{
+ if (this->rel_) delete this->ptr_;
+ this->ptr_ = obj;
+ this->rel_ = release;
+}
+
+template <class T> ACE_INLINE CORBA::Boolean
+POA_IR::EmitsDef_tie<T>::_is_owner (void)
+{
+ return this->rel_;
+}
+
+template <class T> ACE_INLINE void
+POA_IR::EmitsDef_tie<T>::_is_owner (CORBA::Boolean b)
+{
+ this->rel_ = b;
+}
+
+template <class T> ACE_INLINE PortableServer::POA_ptr
+POA_IR::EmitsDef_tie<T>::_default_POA (CORBA::Environment &ACE_TRY_ENV)
+{
+ if (!CORBA::is_nil (this->poa_.in ()))
+ return PortableServer::POA::_duplicate (this->poa_.in ());
+
+ return this->EmitsDef::_default_POA (ACE_TRY_ENV);
+}
+
+template <class T> ACE_INLINE
+CORBA::Boolean POA_IR::EmitsDef_tie<T>::is_a (
+ const char * event_id,
+ CORBA::Environment &ACE_TRY_ENV
+ )
+ ACE_THROW_SPEC ((
+ CORBA::SystemException
+ ))
+{
+ return this->ptr_->is_a (
+event_id,
+ ACE_TRY_ENV
+ );
+}
+
+template <class T> ACE_INLINE
+CORBA::ValueDef_ptr POA_IR::EmitsDef_tie<T>::event (
+ CORBA::Environment &ACE_TRY_ENV
+ )
+ ACE_THROW_SPEC ((
+ CORBA::SystemException
+ ))
+{
+ return this->ptr_->event (
+ACE_TRY_ENV
+ );
+}
+
+template <class T> ACE_INLINE
+char * POA_IR::EmitsDef_tie<T>::id (
+ CORBA::Environment &ACE_TRY_ENV
+ )
+ ACE_THROW_SPEC ((
+ CORBA::SystemException
+ ))
+{
+ return this->ptr_->id (
+ACE_TRY_ENV
+ );
+}
+
+template <class T> ACE_INLINE
+void POA_IR::EmitsDef_tie<T>::id (
+ const char * id,
+ CORBA::Environment &ACE_TRY_ENV
+ )
+ ACE_THROW_SPEC ((
+ CORBA::SystemException
+ ))
+{
+ this->ptr_->id (
+id,
+ ACE_TRY_ENV
+ );
+}
+
+template <class T> ACE_INLINE
+char * POA_IR::EmitsDef_tie<T>::name (
+ CORBA::Environment &ACE_TRY_ENV
+ )
+ ACE_THROW_SPEC ((
+ CORBA::SystemException
+ ))
+{
+ return this->ptr_->name (
+ACE_TRY_ENV
+ );
+}
+
+template <class T> ACE_INLINE
+void POA_IR::EmitsDef_tie<T>::name (
+ const char * name,
+ CORBA::Environment &ACE_TRY_ENV
+ )
+ ACE_THROW_SPEC ((
+ CORBA::SystemException
+ ))
+{
+ this->ptr_->name (
+name,
+ ACE_TRY_ENV
+ );
+}
+
+template <class T> ACE_INLINE
+char * POA_IR::EmitsDef_tie<T>::version (
+ CORBA::Environment &ACE_TRY_ENV
+ )
+ ACE_THROW_SPEC ((
+ CORBA::SystemException
+ ))
+{
+ return this->ptr_->version (
+ACE_TRY_ENV
+ );
+}
+
+template <class T> ACE_INLINE
+void POA_IR::EmitsDef_tie<T>::version (
+ const char * version,
+ CORBA::Environment &ACE_TRY_ENV
+ )
+ ACE_THROW_SPEC ((
+ CORBA::SystemException
+ ))
+{
+ this->ptr_->version (
+version,
+ ACE_TRY_ENV
+ );
+}
+
+template <class T> ACE_INLINE
+CORBA::Container_ptr POA_IR::EmitsDef_tie<T>::defined_in (
+ CORBA::Environment &ACE_TRY_ENV
+ )
+ ACE_THROW_SPEC ((
+ CORBA::SystemException
+ ))
+{
+ return this->ptr_->defined_in (
+ACE_TRY_ENV
+ );
+}
+
+template <class T> ACE_INLINE
+char * POA_IR::EmitsDef_tie<T>::absolute_name (
+ CORBA::Environment &ACE_TRY_ENV
+ )
+ ACE_THROW_SPEC ((
+ CORBA::SystemException
+ ))
+{
+ return this->ptr_->absolute_name (
+ACE_TRY_ENV
+ );
+}
+
+template <class T> ACE_INLINE
+CORBA::Repository_ptr POA_IR::EmitsDef_tie<T>::containing_repository (
+ CORBA::Environment &ACE_TRY_ENV
+ )
+ ACE_THROW_SPEC ((
+ CORBA::SystemException
+ ))
+{
+ return this->ptr_->containing_repository (
+ACE_TRY_ENV
+ );
+}
+
+template <class T> ACE_INLINE
+CORBA::Contained::Description * POA_IR::EmitsDef_tie<T>::describe (
+ CORBA::Environment &ACE_TRY_ENV
+ )
+ ACE_THROW_SPEC ((
+ CORBA::SystemException
+ ))
+{
+ return this->ptr_->describe (
+ACE_TRY_ENV
+ );
+}
+
+template <class T> ACE_INLINE
+void POA_IR::EmitsDef_tie<T>::move (
+ CORBA::Container_ptr new_container,
+ const char * new_name,
+ const char * new_version,
+ CORBA::Environment &ACE_TRY_ENV
+ )
+ ACE_THROW_SPEC ((
+ CORBA::SystemException
+ ))
+{
+ this->ptr_->move (
+new_container,
+ new_name,
+ new_version,
+ ACE_TRY_ENV
+ );
+}
+
+template <class T> ACE_INLINE
+CORBA::DefinitionKind POA_IR::EmitsDef_tie<T>::def_kind (
+ CORBA::Environment &ACE_TRY_ENV
+ )
+ ACE_THROW_SPEC ((
+ CORBA::SystemException
+ ))
+{
+ return this->ptr_->def_kind (
+ACE_TRY_ENV
+ );
+}
+
+template <class T> ACE_INLINE
+void POA_IR::EmitsDef_tie<T>::destroy (
+ CORBA::Environment &ACE_TRY_ENV
+ )
+ ACE_THROW_SPEC ((
+ CORBA::SystemException
+ ))
+{
+ this->ptr_->destroy (
+ACE_TRY_ENV
+ );
+}
+
+#endif /* ACE_HAS_USING_KEYWORD */
+
+#if defined (ACE_HAS_USING_KEYWORD)
+template <class T> ACE_INLINE
+POA_IR::PublishesDef_tie<T>::PublishesDef_tie (T &t)
+ : ptr_ (&t),
+ poa_ (PortableServer::POA::_nil ()),
+ rel_ (0)
+{}
+
+template <class T> ACE_INLINE
+POA_IR::PublishesDef_tie<T>::PublishesDef_tie (T &t, PortableServer::POA_ptr poa)
+ : ptr_ (&t),
+ poa_ (PortableServer::POA::_duplicate (poa)),
+ rel_ (0)
+{}
+
+template <class T> ACE_INLINE
+POA_IR::PublishesDef_tie<T>::PublishesDef_tie (T *tp, CORBA::Boolean release)
+ : ptr_ (tp),
+ poa_ (PortableServer::POA::_nil ()),
+ rel_ (release)
+{}
+
+template <class T> ACE_INLINE
+POA_IR::PublishesDef_tie<T>::PublishesDef_tie (T *tp, PortableServer::POA_ptr poa, CORBA::Boolean release)
+ : ptr_ (tp),
+ poa_ (PortableServer::POA::_duplicate (poa)),
+ rel_ (release)
+{}
+
+template <class T> ACE_INLINE
+POA_IR::PublishesDef_tie<T>::~PublishesDef_tie (void)
+{
+ if (this->rel_) delete this->ptr_;
+}
+
+template <class T> ACE_INLINE T *
+POA_IR::PublishesDef_tie<T>::_tied_object (void)
+{
+ return this->ptr_;
+}
+
+template <class T> ACE_INLINE void
+POA_IR::PublishesDef_tie<T>::_tied_object (T &obj)
+{
+ if (this->rel_) delete this->ptr_;
+ this->ptr_ = &obj;
+ this->rel_ = 0;
+}
+
+template <class T> ACE_INLINE void
+POA_IR::PublishesDef_tie<T>::_tied_object (T *obj, CORBA::Boolean release)
+{
+ if (this->rel_) delete this->ptr_;
+ this->ptr_ = obj;
+ this->rel_ = release;
+}
+
+template <class T> ACE_INLINE CORBA::Boolean
+POA_IR::PublishesDef_tie<T>::_is_owner (void)
+{
+ return this->rel_;
+}
+
+template <class T> ACE_INLINE void
+POA_IR::PublishesDef_tie<T>::_is_owner (CORBA::Boolean b)
+{
+ this->rel_ = b;
+}
+
+template <class T> ACE_INLINE PortableServer::POA_ptr
+POA_IR::PublishesDef_tie<T>::_default_POA (CORBA::Environment &ACE_TRY_ENV)
+{
+ if (!CORBA::is_nil (this->poa_.in ()))
+ return PortableServer::POA::_duplicate (this->poa_.in ());
+
+ return this->PublishesDef::_default_POA (ACE_TRY_ENV);
+}
+
+template <class T> ACE_INLINE
+CORBA::Boolean POA_IR::PublishesDef_tie<T>::is_a (
+ const char * event_id,
+ CORBA::Environment &ACE_TRY_ENV
+ )
+ ACE_THROW_SPEC ((
+ CORBA::SystemException
+ ))
+{
+ return this->ptr_->is_a (
+event_id,
+ ACE_TRY_ENV
+ );
+}
+
+template <class T> ACE_INLINE
+CORBA::ValueDef_ptr POA_IR::PublishesDef_tie<T>::event (
+ CORBA::Environment &ACE_TRY_ENV
+ )
+ ACE_THROW_SPEC ((
+ CORBA::SystemException
+ ))
+{
+ return this->ptr_->event (
+ACE_TRY_ENV
+ );
+}
+
+template <class T> ACE_INLINE
+char * POA_IR::PublishesDef_tie<T>::id (
+ CORBA::Environment &ACE_TRY_ENV
+ )
+ ACE_THROW_SPEC ((
+ CORBA::SystemException
+ ))
+{
+ return this->ptr_->id (
+ACE_TRY_ENV
+ );
+}
+
+template <class T> ACE_INLINE
+void POA_IR::PublishesDef_tie<T>::id (
+ const char * id,
+ CORBA::Environment &ACE_TRY_ENV
+ )
+ ACE_THROW_SPEC ((
+ CORBA::SystemException
+ ))
+{
+ this->ptr_->id (
+id,
+ ACE_TRY_ENV
+ );
+}
+
+template <class T> ACE_INLINE
+char * POA_IR::PublishesDef_tie<T>::name (
+ CORBA::Environment &ACE_TRY_ENV
+ )
+ ACE_THROW_SPEC ((
+ CORBA::SystemException
+ ))
+{
+ return this->ptr_->name (
+ACE_TRY_ENV
+ );
+}
+
+template <class T> ACE_INLINE
+void POA_IR::PublishesDef_tie<T>::name (
+ const char * name,
+ CORBA::Environment &ACE_TRY_ENV
+ )
+ ACE_THROW_SPEC ((
+ CORBA::SystemException
+ ))
+{
+ this->ptr_->name (
+name,
+ ACE_TRY_ENV
+ );
+}
+
+template <class T> ACE_INLINE
+char * POA_IR::PublishesDef_tie<T>::version (
+ CORBA::Environment &ACE_TRY_ENV
+ )
+ ACE_THROW_SPEC ((
+ CORBA::SystemException
+ ))
+{
+ return this->ptr_->version (
+ACE_TRY_ENV
+ );
+}
+
+template <class T> ACE_INLINE
+void POA_IR::PublishesDef_tie<T>::version (
+ const char * version,
+ CORBA::Environment &ACE_TRY_ENV
+ )
+ ACE_THROW_SPEC ((
+ CORBA::SystemException
+ ))
+{
+ this->ptr_->version (
+version,
+ ACE_TRY_ENV
+ );
+}
+
+template <class T> ACE_INLINE
+CORBA::Container_ptr POA_IR::PublishesDef_tie<T>::defined_in (
+ CORBA::Environment &ACE_TRY_ENV
+ )
+ ACE_THROW_SPEC ((
+ CORBA::SystemException
+ ))
+{
+ return this->ptr_->defined_in (
+ACE_TRY_ENV
+ );
+}
+
+template <class T> ACE_INLINE
+char * POA_IR::PublishesDef_tie<T>::absolute_name (
+ CORBA::Environment &ACE_TRY_ENV
+ )
+ ACE_THROW_SPEC ((
+ CORBA::SystemException
+ ))
+{
+ return this->ptr_->absolute_name (
+ACE_TRY_ENV
+ );
+}
+
+template <class T> ACE_INLINE
+CORBA::Repository_ptr POA_IR::PublishesDef_tie<T>::containing_repository (
+ CORBA::Environment &ACE_TRY_ENV
+ )
+ ACE_THROW_SPEC ((
+ CORBA::SystemException
+ ))
+{
+ return this->ptr_->containing_repository (
+ACE_TRY_ENV
+ );
+}
+
+template <class T> ACE_INLINE
+CORBA::Contained::Description * POA_IR::PublishesDef_tie<T>::describe (
+ CORBA::Environment &ACE_TRY_ENV
+ )
+ ACE_THROW_SPEC ((
+ CORBA::SystemException
+ ))
+{
+ return this->ptr_->describe (
+ACE_TRY_ENV
+ );
+}
+
+template <class T> ACE_INLINE
+void POA_IR::PublishesDef_tie<T>::move (
+ CORBA::Container_ptr new_container,
+ const char * new_name,
+ const char * new_version,
+ CORBA::Environment &ACE_TRY_ENV
+ )
+ ACE_THROW_SPEC ((
+ CORBA::SystemException
+ ))
+{
+ this->ptr_->move (
+new_container,
+ new_name,
+ new_version,
+ ACE_TRY_ENV
+ );
+}
+
+template <class T> ACE_INLINE
+CORBA::DefinitionKind POA_IR::PublishesDef_tie<T>::def_kind (
+ CORBA::Environment &ACE_TRY_ENV
+ )
+ ACE_THROW_SPEC ((
+ CORBA::SystemException
+ ))
+{
+ return this->ptr_->def_kind (
+ACE_TRY_ENV
+ );
+}
+
+template <class T> ACE_INLINE
+void POA_IR::PublishesDef_tie<T>::destroy (
+ CORBA::Environment &ACE_TRY_ENV
+ )
+ ACE_THROW_SPEC ((
+ CORBA::SystemException
+ ))
+{
+ this->ptr_->destroy (
+ACE_TRY_ENV
+ );
+}
+
+#endif /* ACE_HAS_USING_KEYWORD */
+
+#if defined (ACE_HAS_USING_KEYWORD)
+template <class T> ACE_INLINE
+POA_IR::ConsumesDef_tie<T>::ConsumesDef_tie (T &t)
+ : ptr_ (&t),
+ poa_ (PortableServer::POA::_nil ()),
+ rel_ (0)
+{}
+
+template <class T> ACE_INLINE
+POA_IR::ConsumesDef_tie<T>::ConsumesDef_tie (T &t, PortableServer::POA_ptr poa)
+ : ptr_ (&t),
+ poa_ (PortableServer::POA::_duplicate (poa)),
+ rel_ (0)
+{}
+
+template <class T> ACE_INLINE
+POA_IR::ConsumesDef_tie<T>::ConsumesDef_tie (T *tp, CORBA::Boolean release)
+ : ptr_ (tp),
+ poa_ (PortableServer::POA::_nil ()),
+ rel_ (release)
+{}
+
+template <class T> ACE_INLINE
+POA_IR::ConsumesDef_tie<T>::ConsumesDef_tie (T *tp, PortableServer::POA_ptr poa, CORBA::Boolean release)
+ : ptr_ (tp),
+ poa_ (PortableServer::POA::_duplicate (poa)),
+ rel_ (release)
+{}
+
+template <class T> ACE_INLINE
+POA_IR::ConsumesDef_tie<T>::~ConsumesDef_tie (void)
+{
+ if (this->rel_) delete this->ptr_;
+}
+
+template <class T> ACE_INLINE T *
+POA_IR::ConsumesDef_tie<T>::_tied_object (void)
+{
+ return this->ptr_;
+}
+
+template <class T> ACE_INLINE void
+POA_IR::ConsumesDef_tie<T>::_tied_object (T &obj)
+{
+ if (this->rel_) delete this->ptr_;
+ this->ptr_ = &obj;
+ this->rel_ = 0;
+}
+
+template <class T> ACE_INLINE void
+POA_IR::ConsumesDef_tie<T>::_tied_object (T *obj, CORBA::Boolean release)
+{
+ if (this->rel_) delete this->ptr_;
+ this->ptr_ = obj;
+ this->rel_ = release;
+}
+
+template <class T> ACE_INLINE CORBA::Boolean
+POA_IR::ConsumesDef_tie<T>::_is_owner (void)
+{
+ return this->rel_;
+}
+
+template <class T> ACE_INLINE void
+POA_IR::ConsumesDef_tie<T>::_is_owner (CORBA::Boolean b)
+{
+ this->rel_ = b;
+}
+
+template <class T> ACE_INLINE PortableServer::POA_ptr
+POA_IR::ConsumesDef_tie<T>::_default_POA (CORBA::Environment &ACE_TRY_ENV)
+{
+ if (!CORBA::is_nil (this->poa_.in ()))
+ return PortableServer::POA::_duplicate (this->poa_.in ());
+
+ return this->ConsumesDef::_default_POA (ACE_TRY_ENV);
+}
+
+template <class T> ACE_INLINE
+CORBA::Boolean POA_IR::ConsumesDef_tie<T>::is_a (
+ const char * event_id,
+ CORBA::Environment &ACE_TRY_ENV
+ )
+ ACE_THROW_SPEC ((
+ CORBA::SystemException
+ ))
+{
+ return this->ptr_->is_a (
+event_id,
+ ACE_TRY_ENV
+ );
+}
+
+template <class T> ACE_INLINE
+CORBA::ValueDef_ptr POA_IR::ConsumesDef_tie<T>::event (
+ CORBA::Environment &ACE_TRY_ENV
+ )
+ ACE_THROW_SPEC ((
+ CORBA::SystemException
+ ))
+{
+ return this->ptr_->event (
+ACE_TRY_ENV
+ );
+}
+
+template <class T> ACE_INLINE
+char * POA_IR::ConsumesDef_tie<T>::id (
+ CORBA::Environment &ACE_TRY_ENV
+ )
+ ACE_THROW_SPEC ((
+ CORBA::SystemException
+ ))
+{
+ return this->ptr_->id (
+ACE_TRY_ENV
+ );
+}
+
+template <class T> ACE_INLINE
+void POA_IR::ConsumesDef_tie<T>::id (
+ const char * id,
+ CORBA::Environment &ACE_TRY_ENV
+ )
+ ACE_THROW_SPEC ((
+ CORBA::SystemException
+ ))
+{
+ this->ptr_->id (
+id,
+ ACE_TRY_ENV
+ );
+}
+
+template <class T> ACE_INLINE
+char * POA_IR::ConsumesDef_tie<T>::name (
+ CORBA::Environment &ACE_TRY_ENV
+ )
+ ACE_THROW_SPEC ((
+ CORBA::SystemException
+ ))
+{
+ return this->ptr_->name (
+ACE_TRY_ENV
+ );
+}
+
+template <class T> ACE_INLINE
+void POA_IR::ConsumesDef_tie<T>::name (
+ const char * name,
+ CORBA::Environment &ACE_TRY_ENV
+ )
+ ACE_THROW_SPEC ((
+ CORBA::SystemException
+ ))
+{
+ this->ptr_->name (
+name,
+ ACE_TRY_ENV
+ );
+}
+
+template <class T> ACE_INLINE
+char * POA_IR::ConsumesDef_tie<T>::version (
+ CORBA::Environment &ACE_TRY_ENV
+ )
+ ACE_THROW_SPEC ((
+ CORBA::SystemException
+ ))
+{
+ return this->ptr_->version (
+ACE_TRY_ENV
+ );
+}
+
+template <class T> ACE_INLINE
+void POA_IR::ConsumesDef_tie<T>::version (
+ const char * version,
+ CORBA::Environment &ACE_TRY_ENV
+ )
+ ACE_THROW_SPEC ((
+ CORBA::SystemException
+ ))
+{
+ this->ptr_->version (
+version,
+ ACE_TRY_ENV
+ );
+}
+
+template <class T> ACE_INLINE
+CORBA::Container_ptr POA_IR::ConsumesDef_tie<T>::defined_in (
+ CORBA::Environment &ACE_TRY_ENV
+ )
+ ACE_THROW_SPEC ((
+ CORBA::SystemException
+ ))
+{
+ return this->ptr_->defined_in (
+ACE_TRY_ENV
+ );
+}
+
+template <class T> ACE_INLINE
+char * POA_IR::ConsumesDef_tie<T>::absolute_name (
+ CORBA::Environment &ACE_TRY_ENV
+ )
+ ACE_THROW_SPEC ((
+ CORBA::SystemException
+ ))
+{
+ return this->ptr_->absolute_name (
+ACE_TRY_ENV
+ );
+}
+
+template <class T> ACE_INLINE
+CORBA::Repository_ptr POA_IR::ConsumesDef_tie<T>::containing_repository (
+ CORBA::Environment &ACE_TRY_ENV
+ )
+ ACE_THROW_SPEC ((
+ CORBA::SystemException
+ ))
+{
+ return this->ptr_->containing_repository (
+ACE_TRY_ENV
+ );
+}
+
+template <class T> ACE_INLINE
+CORBA::Contained::Description * POA_IR::ConsumesDef_tie<T>::describe (
+ CORBA::Environment &ACE_TRY_ENV
+ )
+ ACE_THROW_SPEC ((
+ CORBA::SystemException
+ ))
+{
+ return this->ptr_->describe (
+ACE_TRY_ENV
+ );
+}
+
+template <class T> ACE_INLINE
+void POA_IR::ConsumesDef_tie<T>::move (
+ CORBA::Container_ptr new_container,
+ const char * new_name,
+ const char * new_version,
+ CORBA::Environment &ACE_TRY_ENV
+ )
+ ACE_THROW_SPEC ((
+ CORBA::SystemException
+ ))
+{
+ this->ptr_->move (
+new_container,
+ new_name,
+ new_version,
+ ACE_TRY_ENV
+ );
+}
+
+template <class T> ACE_INLINE
+CORBA::DefinitionKind POA_IR::ConsumesDef_tie<T>::def_kind (
+ CORBA::Environment &ACE_TRY_ENV
+ )
+ ACE_THROW_SPEC ((
+ CORBA::SystemException
+ ))
+{
+ return this->ptr_->def_kind (
+ACE_TRY_ENV
+ );
+}
+
+template <class T> ACE_INLINE
+void POA_IR::ConsumesDef_tie<T>::destroy (
+ CORBA::Environment &ACE_TRY_ENV
+ )
+ ACE_THROW_SPEC ((
+ CORBA::SystemException
+ ))
+{
+ this->ptr_->destroy (
+ACE_TRY_ENV
+ );
+}
+
+#endif /* ACE_HAS_USING_KEYWORD */
+
+#if defined (ACE_HAS_USING_KEYWORD)
+template <class T> ACE_INLINE
+POA_IR::ComponentDef_tie<T>::ComponentDef_tie (T &t)
+ : ptr_ (&t),
+ poa_ (PortableServer::POA::_nil ()),
+ rel_ (0)
+{}
+
+template <class T> ACE_INLINE
+POA_IR::ComponentDef_tie<T>::ComponentDef_tie (T &t, PortableServer::POA_ptr poa)
+ : ptr_ (&t),
+ poa_ (PortableServer::POA::_duplicate (poa)),
+ rel_ (0)
+{}
+
+template <class T> ACE_INLINE
+POA_IR::ComponentDef_tie<T>::ComponentDef_tie (T *tp, CORBA::Boolean release)
+ : ptr_ (tp),
+ poa_ (PortableServer::POA::_nil ()),
+ rel_ (release)
+{}
+
+template <class T> ACE_INLINE
+POA_IR::ComponentDef_tie<T>::ComponentDef_tie (T *tp, PortableServer::POA_ptr poa, CORBA::Boolean release)
+ : ptr_ (tp),
+ poa_ (PortableServer::POA::_duplicate (poa)),
+ rel_ (release)
+{}
+
+template <class T> ACE_INLINE
+POA_IR::ComponentDef_tie<T>::~ComponentDef_tie (void)
+{
+ if (this->rel_) delete this->ptr_;
+}
+
+template <class T> ACE_INLINE T *
+POA_IR::ComponentDef_tie<T>::_tied_object (void)
+{
+ return this->ptr_;
+}
+
+template <class T> ACE_INLINE void
+POA_IR::ComponentDef_tie<T>::_tied_object (T &obj)
+{
+ if (this->rel_) delete this->ptr_;
+ this->ptr_ = &obj;
+ this->rel_ = 0;
+}
+
+template <class T> ACE_INLINE void
+POA_IR::ComponentDef_tie<T>::_tied_object (T *obj, CORBA::Boolean release)
+{
+ if (this->rel_) delete this->ptr_;
+ this->ptr_ = obj;
+ this->rel_ = release;
+}
+
+template <class T> ACE_INLINE CORBA::Boolean
+POA_IR::ComponentDef_tie<T>::_is_owner (void)
+{
+ return this->rel_;
+}
+
+template <class T> ACE_INLINE void
+POA_IR::ComponentDef_tie<T>::_is_owner (CORBA::Boolean b)
+{
+ this->rel_ = b;
+}
+
+template <class T> ACE_INLINE PortableServer::POA_ptr
+POA_IR::ComponentDef_tie<T>::_default_POA (CORBA::Environment &ACE_TRY_ENV)
+{
+ if (!CORBA::is_nil (this->poa_.in ()))
+ return PortableServer::POA::_duplicate (this->poa_.in ());
+
+ return this->ComponentDef::_default_POA (ACE_TRY_ENV);
+}
+
+template <class T> ACE_INLINE
+CORBA::InterfaceDefSeq * POA_IR::ComponentDef_tie<T>::supported_interfaces (
+ CORBA::Environment &ACE_TRY_ENV
+ )
+ ACE_THROW_SPEC ((
+ CORBA::SystemException
+ ))
+{
+ return this->ptr_->supported_interfaces (
+ACE_TRY_ENV
+ );
+}
+
+template <class T> ACE_INLINE
+void POA_IR::ComponentDef_tie<T>::supported_interfaces (
+ const CORBA::InterfaceDefSeq & supported_interfaces,
+ CORBA::Environment &ACE_TRY_ENV
+ )
+ ACE_THROW_SPEC ((
+ CORBA::SystemException
+ ))
+{
+ this->ptr_->supported_interfaces (
+supported_interfaces,
+ ACE_TRY_ENV
+ );
+}
+
+template <class T> ACE_INLINE
+IR::ComponentDef_ptr POA_IR::ComponentDef_tie<T>::base_component (
+ CORBA::Environment &ACE_TRY_ENV
+ )
+ ACE_THROW_SPEC ((
+ CORBA::SystemException
+ ))
+{
+ return this->ptr_->base_component (
+ACE_TRY_ENV
+ );
+}
+
+template <class T> ACE_INLINE
+IR::ProvidesDefSeq * POA_IR::ComponentDef_tie<T>::provides_interfaces (
+ CORBA::Environment &ACE_TRY_ENV
+ )
+ ACE_THROW_SPEC ((
+ CORBA::SystemException
+ ))
+{
+ return this->ptr_->provides_interfaces (
+ACE_TRY_ENV
+ );
+}
+
+template <class T> ACE_INLINE
+IR::UsesDefSeq * POA_IR::ComponentDef_tie<T>::uses_interfaces (
+ CORBA::Environment &ACE_TRY_ENV
+ )
+ ACE_THROW_SPEC ((
+ CORBA::SystemException
+ ))
+{
+ return this->ptr_->uses_interfaces (
+ACE_TRY_ENV
+ );
+}
+
+template <class T> ACE_INLINE
+IR::EmitsDefSeq * POA_IR::ComponentDef_tie<T>::emits_events (
+ CORBA::Environment &ACE_TRY_ENV
+ )
+ ACE_THROW_SPEC ((
+ CORBA::SystemException
+ ))
+{
+ return this->ptr_->emits_events (
+ACE_TRY_ENV
+ );
+}
+
+template <class T> ACE_INLINE
+IR::PublishesDefSeq * POA_IR::ComponentDef_tie<T>::publishes_events (
+ CORBA::Environment &ACE_TRY_ENV
+ )
+ ACE_THROW_SPEC ((
+ CORBA::SystemException
+ ))
+{
+ return this->ptr_->publishes_events (
+ACE_TRY_ENV
+ );
+}
+
+template <class T> ACE_INLINE
+IR::ConsumesDefSeq * POA_IR::ComponentDef_tie<T>::consumes_events (
+ CORBA::Environment &ACE_TRY_ENV
+ )
+ ACE_THROW_SPEC ((
+ CORBA::SystemException
+ ))
+{
+ return this->ptr_->consumes_events (
+ACE_TRY_ENV
+ );
+}
+
+template <class T> ACE_INLINE
+CORBA::Boolean POA_IR::ComponentDef_tie<T>::is_basic (
+ CORBA::Environment &ACE_TRY_ENV
+ )
+ ACE_THROW_SPEC ((
+ CORBA::SystemException
+ ))
+{
+ return this->ptr_->is_basic (
+ACE_TRY_ENV
+ );
+}
+
+template <class T> ACE_INLINE
+IR::ProvidesDef_ptr POA_IR::ComponentDef_tie<T>::create_provides (
+ const char * id,
+ const char * name,
+ const char * version,
+ CORBA::InterfaceDef_ptr interface_type,
+ CORBA::Environment &ACE_TRY_ENV
+ )
+ ACE_THROW_SPEC ((
+ CORBA::SystemException
+ ))
+{
+ return this->ptr_->create_provides (
+id,
+ name,
+ version,
+ interface_type,
+ ACE_TRY_ENV
+ );
+}
+
+template <class T> ACE_INLINE
+IR::UsesDef_ptr POA_IR::ComponentDef_tie<T>::create_uses (
+ const char * id,
+ const char * name,
+ const char * version,
+ CORBA::InterfaceDef_ptr interface_type,
+ CORBA::Boolean is_multiple,
+ CORBA::Environment &ACE_TRY_ENV
+ )
+ ACE_THROW_SPEC ((
+ CORBA::SystemException
+ ))
+{
+ return this->ptr_->create_uses (
+id,
+ name,
+ version,
+ interface_type,
+ is_multiple,
+ ACE_TRY_ENV
+ );
+}
+
+template <class T> ACE_INLINE
+IR::EmitsDef_ptr POA_IR::ComponentDef_tie<T>::create_emits (
+ const char * id,
+ const char * name,
+ const char * version,
+ CORBA::ValueDef_ptr value,
+ CORBA::Environment &ACE_TRY_ENV
+ )
+ ACE_THROW_SPEC ((
+ CORBA::SystemException
+ ))
+{
+ return this->ptr_->create_emits (
+id,
+ name,
+ version,
+ value,
+ ACE_TRY_ENV
+ );
+}
+
+template <class T> ACE_INLINE
+IR::PublishesDef_ptr POA_IR::ComponentDef_tie<T>::create_publishes (
+ const char * id,
+ const char * name,
+ const char * version,
+ CORBA::ValueDef_ptr value,
+ CORBA::Environment &ACE_TRY_ENV
+ )
+ ACE_THROW_SPEC ((
+ CORBA::SystemException
+ ))
+{
+ return this->ptr_->create_publishes (
+id,
+ name,
+ version,
+ value,
+ ACE_TRY_ENV
+ );
+}
+
+template <class T> ACE_INLINE
+IR::ConsumesDef_ptr POA_IR::ComponentDef_tie<T>::create_consumes (
+ const char * id,
+ const char * name,
+ const char * version,
+ CORBA::ValueDef_ptr value,
+ CORBA::Environment &ACE_TRY_ENV
+ )
+ ACE_THROW_SPEC ((
+ CORBA::SystemException
+ ))
+{
+ return this->ptr_->create_consumes (
+id,
+ name,
+ version,
+ value,
+ ACE_TRY_ENV
+ );
+}
+
+template <class T> ACE_INLINE
+CORBA::InterfaceDefSeq * POA_IR::ComponentDef_tie<T>::base_interfaces (
+ CORBA::Environment &ACE_TRY_ENV
+ )
+ ACE_THROW_SPEC ((
+ CORBA::SystemException
+ ))
+{
+ return this->ptr_->base_interfaces (
+ACE_TRY_ENV
+ );
+}
+
+template <class T> ACE_INLINE
+void POA_IR::ComponentDef_tie<T>::base_interfaces (
+ const CORBA::InterfaceDefSeq & base_interfaces,
+ CORBA::Environment &ACE_TRY_ENV
+ )
+ ACE_THROW_SPEC ((
+ CORBA::SystemException
+ ))
+{
+ this->ptr_->base_interfaces (
+base_interfaces,
+ ACE_TRY_ENV
+ );
+}
+
+template <class T> ACE_INLINE
+CORBA::Boolean POA_IR::ComponentDef_tie<T>::is_a (
+ const char * interface_id,
+ CORBA::Environment &ACE_TRY_ENV
+ )
+ ACE_THROW_SPEC ((
+ CORBA::SystemException
+ ))
+{
+ return this->ptr_->is_a (
+interface_id,
+ ACE_TRY_ENV
+ );
+}
+
+template <class T> ACE_INLINE
+CORBA::InterfaceDef::FullInterfaceDescription * POA_IR::ComponentDef_tie<T>::describe_interface (
+ CORBA::Environment &ACE_TRY_ENV
+ )
+ ACE_THROW_SPEC ((
+ CORBA::SystemException
+ ))
+{
+ return this->ptr_->describe_interface (
+ACE_TRY_ENV
+ );
+}
+
+template <class T> ACE_INLINE
+CORBA::AttributeDef_ptr POA_IR::ComponentDef_tie<T>::create_attribute (
+ const char * id,
+ const char * name,
+ const char * version,
+ CORBA::IDLType_ptr type,
+ CORBA::AttributeMode mode,
+ CORBA::Environment &ACE_TRY_ENV
+ )
+ ACE_THROW_SPEC ((
+ CORBA::SystemException
+ ))
+{
+ return this->ptr_->create_attribute (
+id,
+ name,
+ version,
+ type,
+ mode,
+ ACE_TRY_ENV
+ );
+}
+
+template <class T> ACE_INLINE
+CORBA::OperationDef_ptr POA_IR::ComponentDef_tie<T>::create_operation (
+ const char * id,
+ const char * name,
+ const char * version,
+ CORBA::IDLType_ptr result,
+ CORBA::OperationMode mode,
+ const CORBA::ParDescriptionSeq & params,
+ const CORBA::ExceptionDefSeq & exceptions,
+ const CORBA::ContextIdSeq & contexts,
+ CORBA::Environment &ACE_TRY_ENV
+ )
+ ACE_THROW_SPEC ((
+ CORBA::SystemException
+ ))
+{
+ return this->ptr_->create_operation (
+id,
+ name,
+ version,
+ result,
+ mode,
+ params,
+ exceptions,
+ contexts,
+ ACE_TRY_ENV
+ );
+}
+
+template <class T> ACE_INLINE
+CORBA::Contained_ptr POA_IR::ComponentDef_tie<T>::lookup (
+ const char * search_name,
+ CORBA::Environment &ACE_TRY_ENV
+ )
+ ACE_THROW_SPEC ((
+ CORBA::SystemException
+ ))
+{
+ return this->ptr_->lookup (
+search_name,
+ ACE_TRY_ENV
+ );
+}
+
+template <class T> ACE_INLINE
+CORBA::ContainedSeq * POA_IR::ComponentDef_tie<T>::contents (
+ CORBA::DefinitionKind limit_type,
+ CORBA::Boolean exclude_inherited,
+ CORBA::Environment &ACE_TRY_ENV
+ )
+ ACE_THROW_SPEC ((
+ CORBA::SystemException
+ ))
+{
+ return this->ptr_->contents (
+limit_type,
+ exclude_inherited,
+ ACE_TRY_ENV
+ );
+}
+
+template <class T> ACE_INLINE
+CORBA::ContainedSeq * POA_IR::ComponentDef_tie<T>::lookup_name (
+ const char * search_name,
+ CORBA::Long levels_to_search,
+ CORBA::DefinitionKind limit_type,
+ CORBA::Boolean exclude_inherited,
+ CORBA::Environment &ACE_TRY_ENV
+ )
+ ACE_THROW_SPEC ((
+ CORBA::SystemException
+ ))
+{
+ return this->ptr_->lookup_name (
+search_name,
+ levels_to_search,
+ limit_type,
+ exclude_inherited,
+ ACE_TRY_ENV
+ );
+}
+
+template <class T> ACE_INLINE
+CORBA::Container::DescriptionSeq * POA_IR::ComponentDef_tie<T>::describe_contents (
+ CORBA::DefinitionKind limit_type,
+ CORBA::Boolean exclude_inherited,
+ CORBA::Long max_returned_objs,
+ CORBA::Environment &ACE_TRY_ENV
+ )
+ ACE_THROW_SPEC ((
+ CORBA::SystemException
+ ))
+{
+ return this->ptr_->describe_contents (
+limit_type,
+ exclude_inherited,
+ max_returned_objs,
+ ACE_TRY_ENV
+ );
+}
+
+template <class T> ACE_INLINE
+CORBA::ModuleDef_ptr POA_IR::ComponentDef_tie<T>::create_module (
+ const char * id,
+ const char * name,
+ const char * version,
+ CORBA::Environment &ACE_TRY_ENV
+ )
+ ACE_THROW_SPEC ((
+ CORBA::SystemException
+ ))
+{
+ return this->ptr_->create_module (
+id,
+ name,
+ version,
+ ACE_TRY_ENV
+ );
+}
+
+template <class T> ACE_INLINE
+CORBA::ConstantDef_ptr POA_IR::ComponentDef_tie<T>::create_constant (
+ const char * id,
+ const char * name,
+ const char * version,
+ CORBA::IDLType_ptr type,
+ const CORBA::Any & value,
+ CORBA::Environment &ACE_TRY_ENV
+ )
+ ACE_THROW_SPEC ((
+ CORBA::SystemException
+ ))
+{
+ return this->ptr_->create_constant (
+id,
+ name,
+ version,
+ type,
+ value,
+ ACE_TRY_ENV
+ );
+}
+
+template <class T> ACE_INLINE
+CORBA::StructDef_ptr POA_IR::ComponentDef_tie<T>::create_struct (
+ const char * id,
+ const char * name,
+ const char * version,
+ const CORBA::StructMemberSeq & members,
+ CORBA::Environment &ACE_TRY_ENV
+ )
+ ACE_THROW_SPEC ((
+ CORBA::SystemException
+ ))
+{
+ return this->ptr_->create_struct (
+id,
+ name,
+ version,
+ members,
+ ACE_TRY_ENV
+ );
+}
+
+template <class T> ACE_INLINE
+CORBA::UnionDef_ptr POA_IR::ComponentDef_tie<T>::create_union (
+ const char * id,
+ const char * name,
+ const char * version,
+ CORBA::IDLType_ptr discriminator_type,
+ const CORBA::UnionMemberSeq & members,
+ CORBA::Environment &ACE_TRY_ENV
+ )
+ ACE_THROW_SPEC ((
+ CORBA::SystemException
+ ))
+{
+ return this->ptr_->create_union (
+id,
+ name,
+ version,
+ discriminator_type,
+ members,
+ ACE_TRY_ENV
+ );
+}
+
+template <class T> ACE_INLINE
+CORBA::EnumDef_ptr POA_IR::ComponentDef_tie<T>::create_enum (
+ const char * id,
+ const char * name,
+ const char * version,
+ const CORBA::EnumMemberSeq & members,
+ CORBA::Environment &ACE_TRY_ENV
+ )
+ ACE_THROW_SPEC ((
+ CORBA::SystemException
+ ))
+{
+ return this->ptr_->create_enum (
+id,
+ name,
+ version,
+ members,
+ ACE_TRY_ENV
+ );
+}
+
+template <class T> ACE_INLINE
+CORBA::AliasDef_ptr POA_IR::ComponentDef_tie<T>::create_alias (
+ const char * id,
+ const char * name,
+ const char * version,
+ CORBA::IDLType_ptr original_type,
+ CORBA::Environment &ACE_TRY_ENV
+ )
+ ACE_THROW_SPEC ((
+ CORBA::SystemException
+ ))
+{
+ return this->ptr_->create_alias (
+id,
+ name,
+ version,
+ original_type,
+ ACE_TRY_ENV
+ );
+}
+
+template <class T> ACE_INLINE
+CORBA::InterfaceDef_ptr POA_IR::ComponentDef_tie<T>::create_interface (
+ const char * id,
+ const char * name,
+ const char * version,
+ const CORBA::InterfaceDefSeq & base_interfaces,
+ CORBA::Environment &ACE_TRY_ENV
+ )
+ ACE_THROW_SPEC ((
+ CORBA::SystemException
+ ))
+{
+ return this->ptr_->create_interface (
+id,
+ name,
+ version,
+ base_interfaces,
+ ACE_TRY_ENV
+ );
+}
+
+template <class T> ACE_INLINE
+CORBA::ValueDef_ptr POA_IR::ComponentDef_tie<T>::create_value (
+ const char * id,
+ const char * name,
+ const char * version,
+ CORBA::Boolean is_custom,
+ CORBA::Boolean is_abstract,
+ CORBA::ValueDef_ptr base_value,
+ CORBA::Boolean is_truncatable,
+ const CORBA::ValueDefSeq & abstract_base_values,
+ const CORBA::InterfaceDefSeq & supported_interfaces,
+ const CORBA::InitializerSeq & initializers,
+ CORBA::Environment &ACE_TRY_ENV
+ )
+ ACE_THROW_SPEC ((
+ CORBA::SystemException
+ ))
+{
+ return this->ptr_->create_value (
+id,
+ name,
+ version,
+ is_custom,
+ is_abstract,
+ base_value,
+ is_truncatable,
+ abstract_base_values,
+ supported_interfaces,
+ initializers,
+ ACE_TRY_ENV
+ );
+}
+
+template <class T> ACE_INLINE
+CORBA::ValueBoxDef_ptr POA_IR::ComponentDef_tie<T>::create_value_box (
+ const char * id,
+ const char * name,
+ const char * version,
+ CORBA::IDLType_ptr original_type_def,
+ CORBA::Environment &ACE_TRY_ENV
+ )
+ ACE_THROW_SPEC ((
+ CORBA::SystemException
+ ))
+{
+ return this->ptr_->create_value_box (
+id,
+ name,
+ version,
+ original_type_def,
+ ACE_TRY_ENV
+ );
+}
+
+template <class T> ACE_INLINE
+CORBA::ExceptionDef_ptr POA_IR::ComponentDef_tie<T>::create_exception (
+ const char * id,
+ const char * name,
+ const char * version,
+ const CORBA::StructMemberSeq & members,
+ CORBA::Environment &ACE_TRY_ENV
+ )
+ ACE_THROW_SPEC ((
+ CORBA::SystemException
+ ))
+{
+ return this->ptr_->create_exception (
+id,
+ name,
+ version,
+ members,
+ ACE_TRY_ENV
+ );
+}
+
+template <class T> ACE_INLINE
+CORBA::NativeDef_ptr POA_IR::ComponentDef_tie<T>::create_native (
+ const char * id,
+ const char * name,
+ const char * version,
+ CORBA::Environment &ACE_TRY_ENV
+ )
+ ACE_THROW_SPEC ((
+ CORBA::SystemException
+ ))
+{
+ return this->ptr_->create_native (
+id,
+ name,
+ version,
+ ACE_TRY_ENV
+ );
+}
+
+template <class T> ACE_INLINE
+CORBA::AbstractInterfaceDef_ptr POA_IR::ComponentDef_tie<T>::create_abstract_interface (
+ const char * id,
+ const char * name,
+ const char * version,
+ const CORBA::AbstractInterfaceDefSeq & base_interfaces,
+ CORBA::Environment &ACE_TRY_ENV
+ )
+ ACE_THROW_SPEC ((
+ CORBA::SystemException
+ ))
+{
+ return this->ptr_->create_abstract_interface (
+id,
+ name,
+ version,
+ base_interfaces,
+ ACE_TRY_ENV
+ );
+}
+
+template <class T> ACE_INLINE
+CORBA::LocalInterfaceDef_ptr POA_IR::ComponentDef_tie<T>::create_local_interface (
+ const char * id,
+ const char * name,
+ const char * version,
+ const CORBA::InterfaceDefSeq & base_interfaces,
+ CORBA::Environment &ACE_TRY_ENV
+ )
+ ACE_THROW_SPEC ((
+ CORBA::SystemException
+ ))
+{
+ return this->ptr_->create_local_interface (
+id,
+ name,
+ version,
+ base_interfaces,
+ ACE_TRY_ENV
+ );
+}
+
+template <class T> ACE_INLINE
+char * POA_IR::ComponentDef_tie<T>::id (
+ CORBA::Environment &ACE_TRY_ENV
+ )
+ ACE_THROW_SPEC ((
+ CORBA::SystemException
+ ))
+{
+ return this->ptr_->id (
+ACE_TRY_ENV
+ );
+}
+
+template <class T> ACE_INLINE
+void POA_IR::ComponentDef_tie<T>::id (
+ const char * id,
+ CORBA::Environment &ACE_TRY_ENV
+ )
+ ACE_THROW_SPEC ((
+ CORBA::SystemException
+ ))
+{
+ this->ptr_->id (
+id,
+ ACE_TRY_ENV
+ );
+}
+
+template <class T> ACE_INLINE
+char * POA_IR::ComponentDef_tie<T>::name (
+ CORBA::Environment &ACE_TRY_ENV
+ )
+ ACE_THROW_SPEC ((
+ CORBA::SystemException
+ ))
+{
+ return this->ptr_->name (
+ACE_TRY_ENV
+ );
+}
+
+template <class T> ACE_INLINE
+void POA_IR::ComponentDef_tie<T>::name (
+ const char * name,
+ CORBA::Environment &ACE_TRY_ENV
+ )
+ ACE_THROW_SPEC ((
+ CORBA::SystemException
+ ))
+{
+ this->ptr_->name (
+name,
+ ACE_TRY_ENV
+ );
+}
+
+template <class T> ACE_INLINE
+char * POA_IR::ComponentDef_tie<T>::version (
+ CORBA::Environment &ACE_TRY_ENV
+ )
+ ACE_THROW_SPEC ((
+ CORBA::SystemException
+ ))
+{
+ return this->ptr_->version (
+ACE_TRY_ENV
+ );
+}
+
+template <class T> ACE_INLINE
+void POA_IR::ComponentDef_tie<T>::version (
+ const char * version,
+ CORBA::Environment &ACE_TRY_ENV
+ )
+ ACE_THROW_SPEC ((
+ CORBA::SystemException
+ ))
+{
+ this->ptr_->version (
+version,
+ ACE_TRY_ENV
+ );
+}
+
+template <class T> ACE_INLINE
+CORBA::Container_ptr POA_IR::ComponentDef_tie<T>::defined_in (
+ CORBA::Environment &ACE_TRY_ENV
+ )
+ ACE_THROW_SPEC ((
+ CORBA::SystemException
+ ))
+{
+ return this->ptr_->defined_in (
+ACE_TRY_ENV
+ );
+}
+
+template <class T> ACE_INLINE
+char * POA_IR::ComponentDef_tie<T>::absolute_name (
+ CORBA::Environment &ACE_TRY_ENV
+ )
+ ACE_THROW_SPEC ((
+ CORBA::SystemException
+ ))
+{
+ return this->ptr_->absolute_name (
+ACE_TRY_ENV
+ );
+}
+
+template <class T> ACE_INLINE
+CORBA::Repository_ptr POA_IR::ComponentDef_tie<T>::containing_repository (
+ CORBA::Environment &ACE_TRY_ENV
+ )
+ ACE_THROW_SPEC ((
+ CORBA::SystemException
+ ))
+{
+ return this->ptr_->containing_repository (
+ACE_TRY_ENV
+ );
+}
+
+template <class T> ACE_INLINE
+CORBA::Contained::Description * POA_IR::ComponentDef_tie<T>::describe (
+ CORBA::Environment &ACE_TRY_ENV
+ )
+ ACE_THROW_SPEC ((
+ CORBA::SystemException
+ ))
+{
+ return this->ptr_->describe (
+ACE_TRY_ENV
+ );
+}
+
+template <class T> ACE_INLINE
+void POA_IR::ComponentDef_tie<T>::move (
+ CORBA::Container_ptr new_container,
+ const char * new_name,
+ const char * new_version,
+ CORBA::Environment &ACE_TRY_ENV
+ )
+ ACE_THROW_SPEC ((
+ CORBA::SystemException
+ ))
+{
+ this->ptr_->move (
+new_container,
+ new_name,
+ new_version,
+ ACE_TRY_ENV
+ );
+}
+
+template <class T> ACE_INLINE
+CORBA::TypeCode_ptr POA_IR::ComponentDef_tie<T>::type (
+ CORBA::Environment &ACE_TRY_ENV
+ )
+ ACE_THROW_SPEC ((
+ CORBA::SystemException
+ ))
+{
+ return this->ptr_->type (
+ACE_TRY_ENV
+ );
+}
+
+template <class T> ACE_INLINE
+CORBA::DefinitionKind POA_IR::ComponentDef_tie<T>::def_kind (
+ CORBA::Environment &ACE_TRY_ENV
+ )
+ ACE_THROW_SPEC ((
+ CORBA::SystemException
+ ))
+{
+ return this->ptr_->def_kind (
+ACE_TRY_ENV
+ );
+}
+
+template <class T> ACE_INLINE
+void POA_IR::ComponentDef_tie<T>::destroy (
+ CORBA::Environment &ACE_TRY_ENV
+ )
+ ACE_THROW_SPEC ((
+ CORBA::SystemException
+ ))
+{
+ this->ptr_->destroy (
+ACE_TRY_ENV
+ );
+}
+
+#endif /* ACE_HAS_USING_KEYWORD */
+
+#if defined (ACE_HAS_USING_KEYWORD)
+template <class T> ACE_INLINE
+POA_IR::PrimaryKeyDef_tie<T>::PrimaryKeyDef_tie (T &t)
+ : ptr_ (&t),
+ poa_ (PortableServer::POA::_nil ()),
+ rel_ (0)
+{}
+
+template <class T> ACE_INLINE
+POA_IR::PrimaryKeyDef_tie<T>::PrimaryKeyDef_tie (T &t, PortableServer::POA_ptr poa)
+ : ptr_ (&t),
+ poa_ (PortableServer::POA::_duplicate (poa)),
+ rel_ (0)
+{}
+
+template <class T> ACE_INLINE
+POA_IR::PrimaryKeyDef_tie<T>::PrimaryKeyDef_tie (T *tp, CORBA::Boolean release)
+ : ptr_ (tp),
+ poa_ (PortableServer::POA::_nil ()),
+ rel_ (release)
+{}
+
+template <class T> ACE_INLINE
+POA_IR::PrimaryKeyDef_tie<T>::PrimaryKeyDef_tie (T *tp, PortableServer::POA_ptr poa, CORBA::Boolean release)
+ : ptr_ (tp),
+ poa_ (PortableServer::POA::_duplicate (poa)),
+ rel_ (release)
+{}
+
+template <class T> ACE_INLINE
+POA_IR::PrimaryKeyDef_tie<T>::~PrimaryKeyDef_tie (void)
+{
+ if (this->rel_) delete this->ptr_;
+}
+
+template <class T> ACE_INLINE T *
+POA_IR::PrimaryKeyDef_tie<T>::_tied_object (void)
+{
+ return this->ptr_;
+}
+
+template <class T> ACE_INLINE void
+POA_IR::PrimaryKeyDef_tie<T>::_tied_object (T &obj)
+{
+ if (this->rel_) delete this->ptr_;
+ this->ptr_ = &obj;
+ this->rel_ = 0;
+}
+
+template <class T> ACE_INLINE void
+POA_IR::PrimaryKeyDef_tie<T>::_tied_object (T *obj, CORBA::Boolean release)
+{
+ if (this->rel_) delete this->ptr_;
+ this->ptr_ = obj;
+ this->rel_ = release;
+}
+
+template <class T> ACE_INLINE CORBA::Boolean
+POA_IR::PrimaryKeyDef_tie<T>::_is_owner (void)
+{
+ return this->rel_;
+}
+
+template <class T> ACE_INLINE void
+POA_IR::PrimaryKeyDef_tie<T>::_is_owner (CORBA::Boolean b)
+{
+ this->rel_ = b;
+}
+
+template <class T> ACE_INLINE PortableServer::POA_ptr
+POA_IR::PrimaryKeyDef_tie<T>::_default_POA (CORBA::Environment &ACE_TRY_ENV)
+{
+ if (!CORBA::is_nil (this->poa_.in ()))
+ return PortableServer::POA::_duplicate (this->poa_.in ());
+
+ return this->PrimaryKeyDef::_default_POA (ACE_TRY_ENV);
+}
+
+template <class T> ACE_INLINE
+CORBA::Boolean POA_IR::PrimaryKeyDef_tie<T>::is_a (
+ const char * primary_key_id,
+ CORBA::Environment &ACE_TRY_ENV
+ )
+ ACE_THROW_SPEC ((
+ CORBA::SystemException
+ ))
+{
+ return this->ptr_->is_a (
+primary_key_id,
+ ACE_TRY_ENV
+ );
+}
+
+template <class T> ACE_INLINE
+CORBA::ValueDef_ptr POA_IR::PrimaryKeyDef_tie<T>::primary_key (
+ CORBA::Environment &ACE_TRY_ENV
+ )
+ ACE_THROW_SPEC ((
+ CORBA::SystemException
+ ))
+{
+ return this->ptr_->primary_key (
+ACE_TRY_ENV
+ );
+}
+
+template <class T> ACE_INLINE
+char * POA_IR::PrimaryKeyDef_tie<T>::id (
+ CORBA::Environment &ACE_TRY_ENV
+ )
+ ACE_THROW_SPEC ((
+ CORBA::SystemException
+ ))
+{
+ return this->ptr_->id (
+ACE_TRY_ENV
+ );
+}
+
+template <class T> ACE_INLINE
+void POA_IR::PrimaryKeyDef_tie<T>::id (
+ const char * id,
+ CORBA::Environment &ACE_TRY_ENV
+ )
+ ACE_THROW_SPEC ((
+ CORBA::SystemException
+ ))
+{
+ this->ptr_->id (
+id,
+ ACE_TRY_ENV
+ );
+}
+
+template <class T> ACE_INLINE
+char * POA_IR::PrimaryKeyDef_tie<T>::name (
+ CORBA::Environment &ACE_TRY_ENV
+ )
+ ACE_THROW_SPEC ((
+ CORBA::SystemException
+ ))
+{
+ return this->ptr_->name (
+ACE_TRY_ENV
+ );
+}
+
+template <class T> ACE_INLINE
+void POA_IR::PrimaryKeyDef_tie<T>::name (
+ const char * name,
+ CORBA::Environment &ACE_TRY_ENV
+ )
+ ACE_THROW_SPEC ((
+ CORBA::SystemException
+ ))
+{
+ this->ptr_->name (
+name,
+ ACE_TRY_ENV
+ );
+}
+
+template <class T> ACE_INLINE
+char * POA_IR::PrimaryKeyDef_tie<T>::version (
+ CORBA::Environment &ACE_TRY_ENV
+ )
+ ACE_THROW_SPEC ((
+ CORBA::SystemException
+ ))
+{
+ return this->ptr_->version (
+ACE_TRY_ENV
+ );
+}
+
+template <class T> ACE_INLINE
+void POA_IR::PrimaryKeyDef_tie<T>::version (
+ const char * version,
+ CORBA::Environment &ACE_TRY_ENV
+ )
+ ACE_THROW_SPEC ((
+ CORBA::SystemException
+ ))
+{
+ this->ptr_->version (
+version,
+ ACE_TRY_ENV
+ );
+}
+
+template <class T> ACE_INLINE
+CORBA::Container_ptr POA_IR::PrimaryKeyDef_tie<T>::defined_in (
+ CORBA::Environment &ACE_TRY_ENV
+ )
+ ACE_THROW_SPEC ((
+ CORBA::SystemException
+ ))
+{
+ return this->ptr_->defined_in (
+ACE_TRY_ENV
+ );
+}
+
+template <class T> ACE_INLINE
+char * POA_IR::PrimaryKeyDef_tie<T>::absolute_name (
+ CORBA::Environment &ACE_TRY_ENV
+ )
+ ACE_THROW_SPEC ((
+ CORBA::SystemException
+ ))
+{
+ return this->ptr_->absolute_name (
+ACE_TRY_ENV
+ );
+}
+
+template <class T> ACE_INLINE
+CORBA::Repository_ptr POA_IR::PrimaryKeyDef_tie<T>::containing_repository (
+ CORBA::Environment &ACE_TRY_ENV
+ )
+ ACE_THROW_SPEC ((
+ CORBA::SystemException
+ ))
+{
+ return this->ptr_->containing_repository (
+ACE_TRY_ENV
+ );
+}
+
+template <class T> ACE_INLINE
+CORBA::Contained::Description * POA_IR::PrimaryKeyDef_tie<T>::describe (
+ CORBA::Environment &ACE_TRY_ENV
+ )
+ ACE_THROW_SPEC ((
+ CORBA::SystemException
+ ))
+{
+ return this->ptr_->describe (
+ACE_TRY_ENV
+ );
+}
+
+template <class T> ACE_INLINE
+void POA_IR::PrimaryKeyDef_tie<T>::move (
+ CORBA::Container_ptr new_container,
+ const char * new_name,
+ const char * new_version,
+ CORBA::Environment &ACE_TRY_ENV
+ )
+ ACE_THROW_SPEC ((
+ CORBA::SystemException
+ ))
+{
+ this->ptr_->move (
+new_container,
+ new_name,
+ new_version,
+ ACE_TRY_ENV
+ );
+}
+
+template <class T> ACE_INLINE
+CORBA::DefinitionKind POA_IR::PrimaryKeyDef_tie<T>::def_kind (
+ CORBA::Environment &ACE_TRY_ENV
+ )
+ ACE_THROW_SPEC ((
+ CORBA::SystemException
+ ))
+{
+ return this->ptr_->def_kind (
+ACE_TRY_ENV
+ );
+}
+
+template <class T> ACE_INLINE
+void POA_IR::PrimaryKeyDef_tie<T>::destroy (
+ CORBA::Environment &ACE_TRY_ENV
+ )
+ ACE_THROW_SPEC ((
+ CORBA::SystemException
+ ))
+{
+ this->ptr_->destroy (
+ACE_TRY_ENV
+ );
+}
+
+#endif /* ACE_HAS_USING_KEYWORD */
+
+#if defined (ACE_HAS_USING_KEYWORD)
+template <class T> ACE_INLINE
+POA_IR::FactoryDef_tie<T>::FactoryDef_tie (T &t)
+ : ptr_ (&t),
+ poa_ (PortableServer::POA::_nil ()),
+ rel_ (0)
+{}
+
+template <class T> ACE_INLINE
+POA_IR::FactoryDef_tie<T>::FactoryDef_tie (T &t, PortableServer::POA_ptr poa)
+ : ptr_ (&t),
+ poa_ (PortableServer::POA::_duplicate (poa)),
+ rel_ (0)
+{}
+
+template <class T> ACE_INLINE
+POA_IR::FactoryDef_tie<T>::FactoryDef_tie (T *tp, CORBA::Boolean release)
+ : ptr_ (tp),
+ poa_ (PortableServer::POA::_nil ()),
+ rel_ (release)
+{}
+
+template <class T> ACE_INLINE
+POA_IR::FactoryDef_tie<T>::FactoryDef_tie (T *tp, PortableServer::POA_ptr poa, CORBA::Boolean release)
+ : ptr_ (tp),
+ poa_ (PortableServer::POA::_duplicate (poa)),
+ rel_ (release)
+{}
+
+template <class T> ACE_INLINE
+POA_IR::FactoryDef_tie<T>::~FactoryDef_tie (void)
+{
+ if (this->rel_) delete this->ptr_;
+}
+
+template <class T> ACE_INLINE T *
+POA_IR::FactoryDef_tie<T>::_tied_object (void)
+{
+ return this->ptr_;
+}
+
+template <class T> ACE_INLINE void
+POA_IR::FactoryDef_tie<T>::_tied_object (T &obj)
+{
+ if (this->rel_) delete this->ptr_;
+ this->ptr_ = &obj;
+ this->rel_ = 0;
+}
+
+template <class T> ACE_INLINE void
+POA_IR::FactoryDef_tie<T>::_tied_object (T *obj, CORBA::Boolean release)
+{
+ if (this->rel_) delete this->ptr_;
+ this->ptr_ = obj;
+ this->rel_ = release;
+}
+
+template <class T> ACE_INLINE CORBA::Boolean
+POA_IR::FactoryDef_tie<T>::_is_owner (void)
+{
+ return this->rel_;
+}
+
+template <class T> ACE_INLINE void
+POA_IR::FactoryDef_tie<T>::_is_owner (CORBA::Boolean b)
+{
+ this->rel_ = b;
+}
+
+template <class T> ACE_INLINE PortableServer::POA_ptr
+POA_IR::FactoryDef_tie<T>::_default_POA (CORBA::Environment &ACE_TRY_ENV)
+{
+ if (!CORBA::is_nil (this->poa_.in ()))
+ return PortableServer::POA::_duplicate (this->poa_.in ());
+
+ return this->FactoryDef::_default_POA (ACE_TRY_ENV);
+}
+
+template <class T> ACE_INLINE
+CORBA::TypeCode_ptr POA_IR::FactoryDef_tie<T>::result (
+ CORBA::Environment &ACE_TRY_ENV
+ )
+ ACE_THROW_SPEC ((
+ CORBA::SystemException
+ ))
+{
+ return this->ptr_->result (
+ACE_TRY_ENV
+ );
+}
+
+template <class T> ACE_INLINE
+CORBA::IDLType_ptr POA_IR::FactoryDef_tie<T>::result_def (
+ CORBA::Environment &ACE_TRY_ENV
+ )
+ ACE_THROW_SPEC ((
+ CORBA::SystemException
+ ))
+{
+ return this->ptr_->result_def (
+ACE_TRY_ENV
+ );
+}
+
+template <class T> ACE_INLINE
+void POA_IR::FactoryDef_tie<T>::result_def (
+ CORBA::IDLType_ptr result_def,
+ CORBA::Environment &ACE_TRY_ENV
+ )
+ ACE_THROW_SPEC ((
+ CORBA::SystemException
+ ))
+{
+ this->ptr_->result_def (
+result_def,
+ ACE_TRY_ENV
+ );
+}
+
+template <class T> ACE_INLINE
+CORBA::ParDescriptionSeq * POA_IR::FactoryDef_tie<T>::params (
+ CORBA::Environment &ACE_TRY_ENV
+ )
+ ACE_THROW_SPEC ((
+ CORBA::SystemException
+ ))
+{
+ return this->ptr_->params (
+ACE_TRY_ENV
+ );
+}
+
+template <class T> ACE_INLINE
+void POA_IR::FactoryDef_tie<T>::params (
+ const CORBA::ParDescriptionSeq & params,
+ CORBA::Environment &ACE_TRY_ENV
+ )
+ ACE_THROW_SPEC ((
+ CORBA::SystemException
+ ))
+{
+ this->ptr_->params (
+params,
+ ACE_TRY_ENV
+ );
+}
+
+template <class T> ACE_INLINE
+CORBA::OperationMode POA_IR::FactoryDef_tie<T>::mode (
+ CORBA::Environment &ACE_TRY_ENV
+ )
+ ACE_THROW_SPEC ((
+ CORBA::SystemException
+ ))
+{
+ return this->ptr_->mode (
+ACE_TRY_ENV
+ );
+}
+
+template <class T> ACE_INLINE
+void POA_IR::FactoryDef_tie<T>::mode (
+ CORBA::OperationMode mode,
+ CORBA::Environment &ACE_TRY_ENV
+ )
+ ACE_THROW_SPEC ((
+ CORBA::SystemException
+ ))
+{
+ this->ptr_->mode (
+mode,
+ ACE_TRY_ENV
+ );
+}
+
+template <class T> ACE_INLINE
+CORBA::ContextIdSeq * POA_IR::FactoryDef_tie<T>::contexts (
+ CORBA::Environment &ACE_TRY_ENV
+ )
+ ACE_THROW_SPEC ((
+ CORBA::SystemException
+ ))
+{
+ return this->ptr_->contexts (
+ACE_TRY_ENV
+ );
+}
+
+template <class T> ACE_INLINE
+void POA_IR::FactoryDef_tie<T>::contexts (
+ const CORBA::ContextIdSeq & contexts,
+ CORBA::Environment &ACE_TRY_ENV
+ )
+ ACE_THROW_SPEC ((
+ CORBA::SystemException
+ ))
+{
+ this->ptr_->contexts (
+contexts,
+ ACE_TRY_ENV
+ );
+}
+
+template <class T> ACE_INLINE
+CORBA::ExceptionDefSeq * POA_IR::FactoryDef_tie<T>::exceptions (
+ CORBA::Environment &ACE_TRY_ENV
+ )
+ ACE_THROW_SPEC ((
+ CORBA::SystemException
+ ))
+{
+ return this->ptr_->exceptions (
+ACE_TRY_ENV
+ );
+}
+
+template <class T> ACE_INLINE
+void POA_IR::FactoryDef_tie<T>::exceptions (
+ const CORBA::ExceptionDefSeq & exceptions,
+ CORBA::Environment &ACE_TRY_ENV
+ )
+ ACE_THROW_SPEC ((
+ CORBA::SystemException
+ ))
+{
+ this->ptr_->exceptions (
+exceptions,
+ ACE_TRY_ENV
+ );
+}
+
+template <class T> ACE_INLINE
+char * POA_IR::FactoryDef_tie<T>::id (
+ CORBA::Environment &ACE_TRY_ENV
+ )
+ ACE_THROW_SPEC ((
+ CORBA::SystemException
+ ))
+{
+ return this->ptr_->id (
+ACE_TRY_ENV
+ );
+}
+
+template <class T> ACE_INLINE
+void POA_IR::FactoryDef_tie<T>::id (
+ const char * id,
+ CORBA::Environment &ACE_TRY_ENV
+ )
+ ACE_THROW_SPEC ((
+ CORBA::SystemException
+ ))
+{
+ this->ptr_->id (
+id,
+ ACE_TRY_ENV
+ );
+}
+
+template <class T> ACE_INLINE
+char * POA_IR::FactoryDef_tie<T>::name (
+ CORBA::Environment &ACE_TRY_ENV
+ )
+ ACE_THROW_SPEC ((
+ CORBA::SystemException
+ ))
+{
+ return this->ptr_->name (
+ACE_TRY_ENV
+ );
+}
+
+template <class T> ACE_INLINE
+void POA_IR::FactoryDef_tie<T>::name (
+ const char * name,
+ CORBA::Environment &ACE_TRY_ENV
+ )
+ ACE_THROW_SPEC ((
+ CORBA::SystemException
+ ))
+{
+ this->ptr_->name (
+name,
+ ACE_TRY_ENV
+ );
+}
+
+template <class T> ACE_INLINE
+char * POA_IR::FactoryDef_tie<T>::version (
+ CORBA::Environment &ACE_TRY_ENV
+ )
+ ACE_THROW_SPEC ((
+ CORBA::SystemException
+ ))
+{
+ return this->ptr_->version (
+ACE_TRY_ENV
+ );
+}
+
+template <class T> ACE_INLINE
+void POA_IR::FactoryDef_tie<T>::version (
+ const char * version,
+ CORBA::Environment &ACE_TRY_ENV
+ )
+ ACE_THROW_SPEC ((
+ CORBA::SystemException
+ ))
+{
+ this->ptr_->version (
+version,
+ ACE_TRY_ENV
+ );
+}
+
+template <class T> ACE_INLINE
+CORBA::Container_ptr POA_IR::FactoryDef_tie<T>::defined_in (
+ CORBA::Environment &ACE_TRY_ENV
+ )
+ ACE_THROW_SPEC ((
+ CORBA::SystemException
+ ))
+{
+ return this->ptr_->defined_in (
+ACE_TRY_ENV
+ );
+}
+
+template <class T> ACE_INLINE
+char * POA_IR::FactoryDef_tie<T>::absolute_name (
+ CORBA::Environment &ACE_TRY_ENV
+ )
+ ACE_THROW_SPEC ((
+ CORBA::SystemException
+ ))
+{
+ return this->ptr_->absolute_name (
+ACE_TRY_ENV
+ );
+}
+
+template <class T> ACE_INLINE
+CORBA::Repository_ptr POA_IR::FactoryDef_tie<T>::containing_repository (
+ CORBA::Environment &ACE_TRY_ENV
+ )
+ ACE_THROW_SPEC ((
+ CORBA::SystemException
+ ))
+{
+ return this->ptr_->containing_repository (
+ACE_TRY_ENV
+ );
+}
+
+template <class T> ACE_INLINE
+CORBA::Contained::Description * POA_IR::FactoryDef_tie<T>::describe (
+ CORBA::Environment &ACE_TRY_ENV
+ )
+ ACE_THROW_SPEC ((
+ CORBA::SystemException
+ ))
+{
+ return this->ptr_->describe (
+ACE_TRY_ENV
+ );
+}
+
+template <class T> ACE_INLINE
+void POA_IR::FactoryDef_tie<T>::move (
+ CORBA::Container_ptr new_container,
+ const char * new_name,
+ const char * new_version,
+ CORBA::Environment &ACE_TRY_ENV
+ )
+ ACE_THROW_SPEC ((
+ CORBA::SystemException
+ ))
+{
+ this->ptr_->move (
+new_container,
+ new_name,
+ new_version,
+ ACE_TRY_ENV
+ );
+}
+
+template <class T> ACE_INLINE
+CORBA::DefinitionKind POA_IR::FactoryDef_tie<T>::def_kind (
+ CORBA::Environment &ACE_TRY_ENV
+ )
+ ACE_THROW_SPEC ((
+ CORBA::SystemException
+ ))
+{
+ return this->ptr_->def_kind (
+ACE_TRY_ENV
+ );
+}
+
+template <class T> ACE_INLINE
+void POA_IR::FactoryDef_tie<T>::destroy (
+ CORBA::Environment &ACE_TRY_ENV
+ )
+ ACE_THROW_SPEC ((
+ CORBA::SystemException
+ ))
+{
+ this->ptr_->destroy (
+ACE_TRY_ENV
+ );
+}
+
+#endif /* ACE_HAS_USING_KEYWORD */
+
+#if defined (ACE_HAS_USING_KEYWORD)
+template <class T> ACE_INLINE
+POA_IR::FinderDef_tie<T>::FinderDef_tie (T &t)
+ : ptr_ (&t),
+ poa_ (PortableServer::POA::_nil ()),
+ rel_ (0)
+{}
+
+template <class T> ACE_INLINE
+POA_IR::FinderDef_tie<T>::FinderDef_tie (T &t, PortableServer::POA_ptr poa)
+ : ptr_ (&t),
+ poa_ (PortableServer::POA::_duplicate (poa)),
+ rel_ (0)
+{}
+
+template <class T> ACE_INLINE
+POA_IR::FinderDef_tie<T>::FinderDef_tie (T *tp, CORBA::Boolean release)
+ : ptr_ (tp),
+ poa_ (PortableServer::POA::_nil ()),
+ rel_ (release)
+{}
+
+template <class T> ACE_INLINE
+POA_IR::FinderDef_tie<T>::FinderDef_tie (T *tp, PortableServer::POA_ptr poa, CORBA::Boolean release)
+ : ptr_ (tp),
+ poa_ (PortableServer::POA::_duplicate (poa)),
+ rel_ (release)
+{}
+
+template <class T> ACE_INLINE
+POA_IR::FinderDef_tie<T>::~FinderDef_tie (void)
+{
+ if (this->rel_) delete this->ptr_;
+}
+
+template <class T> ACE_INLINE T *
+POA_IR::FinderDef_tie<T>::_tied_object (void)
+{
+ return this->ptr_;
+}
+
+template <class T> ACE_INLINE void
+POA_IR::FinderDef_tie<T>::_tied_object (T &obj)
+{
+ if (this->rel_) delete this->ptr_;
+ this->ptr_ = &obj;
+ this->rel_ = 0;
+}
+
+template <class T> ACE_INLINE void
+POA_IR::FinderDef_tie<T>::_tied_object (T *obj, CORBA::Boolean release)
+{
+ if (this->rel_) delete this->ptr_;
+ this->ptr_ = obj;
+ this->rel_ = release;
+}
+
+template <class T> ACE_INLINE CORBA::Boolean
+POA_IR::FinderDef_tie<T>::_is_owner (void)
+{
+ return this->rel_;
+}
+
+template <class T> ACE_INLINE void
+POA_IR::FinderDef_tie<T>::_is_owner (CORBA::Boolean b)
+{
+ this->rel_ = b;
+}
+
+template <class T> ACE_INLINE PortableServer::POA_ptr
+POA_IR::FinderDef_tie<T>::_default_POA (CORBA::Environment &ACE_TRY_ENV)
+{
+ if (!CORBA::is_nil (this->poa_.in ()))
+ return PortableServer::POA::_duplicate (this->poa_.in ());
+
+ return this->FinderDef::_default_POA (ACE_TRY_ENV);
+}
+
+template <class T> ACE_INLINE
+CORBA::TypeCode_ptr POA_IR::FinderDef_tie<T>::result (
+ CORBA::Environment &ACE_TRY_ENV
+ )
+ ACE_THROW_SPEC ((
+ CORBA::SystemException
+ ))
+{
+ return this->ptr_->result (
+ACE_TRY_ENV
+ );
+}
+
+template <class T> ACE_INLINE
+CORBA::IDLType_ptr POA_IR::FinderDef_tie<T>::result_def (
+ CORBA::Environment &ACE_TRY_ENV
+ )
+ ACE_THROW_SPEC ((
+ CORBA::SystemException
+ ))
+{
+ return this->ptr_->result_def (
+ACE_TRY_ENV
+ );
+}
+
+template <class T> ACE_INLINE
+void POA_IR::FinderDef_tie<T>::result_def (
+ CORBA::IDLType_ptr result_def,
+ CORBA::Environment &ACE_TRY_ENV
+ )
+ ACE_THROW_SPEC ((
+ CORBA::SystemException
+ ))
+{
+ this->ptr_->result_def (
+result_def,
+ ACE_TRY_ENV
+ );
+}
+
+template <class T> ACE_INLINE
+CORBA::ParDescriptionSeq * POA_IR::FinderDef_tie<T>::params (
+ CORBA::Environment &ACE_TRY_ENV
+ )
+ ACE_THROW_SPEC ((
+ CORBA::SystemException
+ ))
+{
+ return this->ptr_->params (
+ACE_TRY_ENV
+ );
+}
+
+template <class T> ACE_INLINE
+void POA_IR::FinderDef_tie<T>::params (
+ const CORBA::ParDescriptionSeq & params,
+ CORBA::Environment &ACE_TRY_ENV
+ )
+ ACE_THROW_SPEC ((
+ CORBA::SystemException
+ ))
+{
+ this->ptr_->params (
+params,
+ ACE_TRY_ENV
+ );
+}
+
+template <class T> ACE_INLINE
+CORBA::OperationMode POA_IR::FinderDef_tie<T>::mode (
+ CORBA::Environment &ACE_TRY_ENV
+ )
+ ACE_THROW_SPEC ((
+ CORBA::SystemException
+ ))
+{
+ return this->ptr_->mode (
+ACE_TRY_ENV
+ );
+}
+
+template <class T> ACE_INLINE
+void POA_IR::FinderDef_tie<T>::mode (
+ CORBA::OperationMode mode,
+ CORBA::Environment &ACE_TRY_ENV
+ )
+ ACE_THROW_SPEC ((
+ CORBA::SystemException
+ ))
+{
+ this->ptr_->mode (
+mode,
+ ACE_TRY_ENV
+ );
+}
+
+template <class T> ACE_INLINE
+CORBA::ContextIdSeq * POA_IR::FinderDef_tie<T>::contexts (
+ CORBA::Environment &ACE_TRY_ENV
+ )
+ ACE_THROW_SPEC ((
+ CORBA::SystemException
+ ))
+{
+ return this->ptr_->contexts (
+ACE_TRY_ENV
+ );
+}
+
+template <class T> ACE_INLINE
+void POA_IR::FinderDef_tie<T>::contexts (
+ const CORBA::ContextIdSeq & contexts,
+ CORBA::Environment &ACE_TRY_ENV
+ )
+ ACE_THROW_SPEC ((
+ CORBA::SystemException
+ ))
+{
+ this->ptr_->contexts (
+contexts,
+ ACE_TRY_ENV
+ );
+}
+
+template <class T> ACE_INLINE
+CORBA::ExceptionDefSeq * POA_IR::FinderDef_tie<T>::exceptions (
+ CORBA::Environment &ACE_TRY_ENV
+ )
+ ACE_THROW_SPEC ((
+ CORBA::SystemException
+ ))
+{
+ return this->ptr_->exceptions (
+ACE_TRY_ENV
+ );
+}
+
+template <class T> ACE_INLINE
+void POA_IR::FinderDef_tie<T>::exceptions (
+ const CORBA::ExceptionDefSeq & exceptions,
+ CORBA::Environment &ACE_TRY_ENV
+ )
+ ACE_THROW_SPEC ((
+ CORBA::SystemException
+ ))
+{
+ this->ptr_->exceptions (
+exceptions,
+ ACE_TRY_ENV
+ );
+}
+
+template <class T> ACE_INLINE
+char * POA_IR::FinderDef_tie<T>::id (
+ CORBA::Environment &ACE_TRY_ENV
+ )
+ ACE_THROW_SPEC ((
+ CORBA::SystemException
+ ))
+{
+ return this->ptr_->id (
+ACE_TRY_ENV
+ );
+}
+
+template <class T> ACE_INLINE
+void POA_IR::FinderDef_tie<T>::id (
+ const char * id,
+ CORBA::Environment &ACE_TRY_ENV
+ )
+ ACE_THROW_SPEC ((
+ CORBA::SystemException
+ ))
+{
+ this->ptr_->id (
+id,
+ ACE_TRY_ENV
+ );
+}
+
+template <class T> ACE_INLINE
+char * POA_IR::FinderDef_tie<T>::name (
+ CORBA::Environment &ACE_TRY_ENV
+ )
+ ACE_THROW_SPEC ((
+ CORBA::SystemException
+ ))
+{
+ return this->ptr_->name (
+ACE_TRY_ENV
+ );
+}
+
+template <class T> ACE_INLINE
+void POA_IR::FinderDef_tie<T>::name (
+ const char * name,
+ CORBA::Environment &ACE_TRY_ENV
+ )
+ ACE_THROW_SPEC ((
+ CORBA::SystemException
+ ))
+{
+ this->ptr_->name (
+name,
+ ACE_TRY_ENV
+ );
+}
+
+template <class T> ACE_INLINE
+char * POA_IR::FinderDef_tie<T>::version (
+ CORBA::Environment &ACE_TRY_ENV
+ )
+ ACE_THROW_SPEC ((
+ CORBA::SystemException
+ ))
+{
+ return this->ptr_->version (
+ACE_TRY_ENV
+ );
+}
+
+template <class T> ACE_INLINE
+void POA_IR::FinderDef_tie<T>::version (
+ const char * version,
+ CORBA::Environment &ACE_TRY_ENV
+ )
+ ACE_THROW_SPEC ((
+ CORBA::SystemException
+ ))
+{
+ this->ptr_->version (
+version,
+ ACE_TRY_ENV
+ );
+}
+
+template <class T> ACE_INLINE
+CORBA::Container_ptr POA_IR::FinderDef_tie<T>::defined_in (
+ CORBA::Environment &ACE_TRY_ENV
+ )
+ ACE_THROW_SPEC ((
+ CORBA::SystemException
+ ))
+{
+ return this->ptr_->defined_in (
+ACE_TRY_ENV
+ );
+}
+
+template <class T> ACE_INLINE
+char * POA_IR::FinderDef_tie<T>::absolute_name (
+ CORBA::Environment &ACE_TRY_ENV
+ )
+ ACE_THROW_SPEC ((
+ CORBA::SystemException
+ ))
+{
+ return this->ptr_->absolute_name (
+ACE_TRY_ENV
+ );
+}
+
+template <class T> ACE_INLINE
+CORBA::Repository_ptr POA_IR::FinderDef_tie<T>::containing_repository (
+ CORBA::Environment &ACE_TRY_ENV
+ )
+ ACE_THROW_SPEC ((
+ CORBA::SystemException
+ ))
+{
+ return this->ptr_->containing_repository (
+ACE_TRY_ENV
+ );
+}
+
+template <class T> ACE_INLINE
+CORBA::Contained::Description * POA_IR::FinderDef_tie<T>::describe (
+ CORBA::Environment &ACE_TRY_ENV
+ )
+ ACE_THROW_SPEC ((
+ CORBA::SystemException
+ ))
+{
+ return this->ptr_->describe (
+ACE_TRY_ENV
+ );
+}
+
+template <class T> ACE_INLINE
+void POA_IR::FinderDef_tie<T>::move (
+ CORBA::Container_ptr new_container,
+ const char * new_name,
+ const char * new_version,
+ CORBA::Environment &ACE_TRY_ENV
+ )
+ ACE_THROW_SPEC ((
+ CORBA::SystemException
+ ))
+{
+ this->ptr_->move (
+new_container,
+ new_name,
+ new_version,
+ ACE_TRY_ENV
+ );
+}
+
+template <class T> ACE_INLINE
+CORBA::DefinitionKind POA_IR::FinderDef_tie<T>::def_kind (
+ CORBA::Environment &ACE_TRY_ENV
+ )
+ ACE_THROW_SPEC ((
+ CORBA::SystemException
+ ))
+{
+ return this->ptr_->def_kind (
+ACE_TRY_ENV
+ );
+}
+
+template <class T> ACE_INLINE
+void POA_IR::FinderDef_tie<T>::destroy (
+ CORBA::Environment &ACE_TRY_ENV
+ )
+ ACE_THROW_SPEC ((
+ CORBA::SystemException
+ ))
+{
+ this->ptr_->destroy (
+ACE_TRY_ENV
+ );
+}
+
+#endif /* ACE_HAS_USING_KEYWORD */
+
+#if defined (ACE_HAS_USING_KEYWORD)
+template <class T> ACE_INLINE
+POA_IR::HomeDef_tie<T>::HomeDef_tie (T &t)
+ : ptr_ (&t),
+ poa_ (PortableServer::POA::_nil ()),
+ rel_ (0)
+{}
+
+template <class T> ACE_INLINE
+POA_IR::HomeDef_tie<T>::HomeDef_tie (T &t, PortableServer::POA_ptr poa)
+ : ptr_ (&t),
+ poa_ (PortableServer::POA::_duplicate (poa)),
+ rel_ (0)
+{}
+
+template <class T> ACE_INLINE
+POA_IR::HomeDef_tie<T>::HomeDef_tie (T *tp, CORBA::Boolean release)
+ : ptr_ (tp),
+ poa_ (PortableServer::POA::_nil ()),
+ rel_ (release)
+{}
+
+template <class T> ACE_INLINE
+POA_IR::HomeDef_tie<T>::HomeDef_tie (T *tp, PortableServer::POA_ptr poa, CORBA::Boolean release)
+ : ptr_ (tp),
+ poa_ (PortableServer::POA::_duplicate (poa)),
+ rel_ (release)
+{}
+
+template <class T> ACE_INLINE
+POA_IR::HomeDef_tie<T>::~HomeDef_tie (void)
+{
+ if (this->rel_) delete this->ptr_;
+}
+
+template <class T> ACE_INLINE T *
+POA_IR::HomeDef_tie<T>::_tied_object (void)
+{
+ return this->ptr_;
+}
+
+template <class T> ACE_INLINE void
+POA_IR::HomeDef_tie<T>::_tied_object (T &obj)
+{
+ if (this->rel_) delete this->ptr_;
+ this->ptr_ = &obj;
+ this->rel_ = 0;
+}
+
+template <class T> ACE_INLINE void
+POA_IR::HomeDef_tie<T>::_tied_object (T *obj, CORBA::Boolean release)
+{
+ if (this->rel_) delete this->ptr_;
+ this->ptr_ = obj;
+ this->rel_ = release;
+}
+
+template <class T> ACE_INLINE CORBA::Boolean
+POA_IR::HomeDef_tie<T>::_is_owner (void)
+{
+ return this->rel_;
+}
+
+template <class T> ACE_INLINE void
+POA_IR::HomeDef_tie<T>::_is_owner (CORBA::Boolean b)
+{
+ this->rel_ = b;
+}
+
+template <class T> ACE_INLINE PortableServer::POA_ptr
+POA_IR::HomeDef_tie<T>::_default_POA (CORBA::Environment &ACE_TRY_ENV)
+{
+ if (!CORBA::is_nil (this->poa_.in ()))
+ return PortableServer::POA::_duplicate (this->poa_.in ());
+
+ return this->HomeDef::_default_POA (ACE_TRY_ENV);
+}
+
+template <class T> ACE_INLINE
+IR::HomeDef_ptr POA_IR::HomeDef_tie<T>::base_home (
+ CORBA::Environment &ACE_TRY_ENV
+ )
+ ACE_THROW_SPEC ((
+ CORBA::SystemException
+ ))
+{
+ return this->ptr_->base_home (
+ACE_TRY_ENV
+ );
+}
+
+template <class T> ACE_INLINE
+IR::ComponentDef_ptr POA_IR::HomeDef_tie<T>::managed_component (
+ CORBA::Environment &ACE_TRY_ENV
+ )
+ ACE_THROW_SPEC ((
+ CORBA::SystemException
+ ))
+{
+ return this->ptr_->managed_component (
+ACE_TRY_ENV
+ );
+}
+
+template <class T> ACE_INLINE
+IR::PrimaryKeyDef_ptr POA_IR::HomeDef_tie<T>::primary_key (
+ CORBA::Environment &ACE_TRY_ENV
+ )
+ ACE_THROW_SPEC ((
+ CORBA::SystemException
+ ))
+{
+ return this->ptr_->primary_key (
+ACE_TRY_ENV
+ );
+}
+
+template <class T> ACE_INLINE
+IR::FactoryDefSeq * POA_IR::HomeDef_tie<T>::factories (
+ CORBA::Environment &ACE_TRY_ENV
+ )
+ ACE_THROW_SPEC ((
+ CORBA::SystemException
+ ))
+{
+ return this->ptr_->factories (
+ACE_TRY_ENV
+ );
+}
+
+template <class T> ACE_INLINE
+IR::FinderDefSeq * POA_IR::HomeDef_tie<T>::finders (
+ CORBA::Environment &ACE_TRY_ENV
+ )
+ ACE_THROW_SPEC ((
+ CORBA::SystemException
+ ))
+{
+ return this->ptr_->finders (
+ACE_TRY_ENV
+ );
+}
+
+template <class T> ACE_INLINE
+CORBA::Boolean POA_IR::HomeDef_tie<T>::is_basic (
+ CORBA::Environment &ACE_TRY_ENV
+ )
+ ACE_THROW_SPEC ((
+ CORBA::SystemException
+ ))
+{
+ return this->ptr_->is_basic (
+ACE_TRY_ENV
+ );
+}
+
+template <class T> ACE_INLINE
+IR::PrimaryKeyDef_ptr POA_IR::HomeDef_tie<T>::create_primary_key (
+ const char * id,
+ const char * name,
+ const char * version,
+ CORBA::ValueDef_ptr primary_key,
+ CORBA::Environment &ACE_TRY_ENV
+ )
+ ACE_THROW_SPEC ((
+ CORBA::SystemException
+ ))
+{
+ return this->ptr_->create_primary_key (
+id,
+ name,
+ version,
+ primary_key,
+ ACE_TRY_ENV
+ );
+}
+
+template <class T> ACE_INLINE
+IR::FactoryDef_ptr POA_IR::HomeDef_tie<T>::create_factory (
+ const char * id,
+ const char * name,
+ const char * version,
+ const CORBA::ParDescriptionSeq & params,
+ const CORBA::ExceptionDefSeq & exceptions,
+ CORBA::Environment &ACE_TRY_ENV
+ )
+ ACE_THROW_SPEC ((
+ CORBA::SystemException
+ ))
+{
+ return this->ptr_->create_factory (
+id,
+ name,
+ version,
+ params,
+ exceptions,
+ ACE_TRY_ENV
+ );
+}
+
+template <class T> ACE_INLINE
+IR::FinderDef_ptr POA_IR::HomeDef_tie<T>::create_finder (
+ const char * id,
+ const char * name,
+ const char * version,
+ const CORBA::ParDescriptionSeq & params,
+ const CORBA::ExceptionDefSeq & exceptions,
+ CORBA::Environment &ACE_TRY_ENV
+ )
+ ACE_THROW_SPEC ((
+ CORBA::SystemException
+ ))
+{
+ return this->ptr_->create_finder (
+id,
+ name,
+ version,
+ params,
+ exceptions,
+ ACE_TRY_ENV
+ );
+}
+
+template <class T> ACE_INLINE
+CORBA::InterfaceDefSeq * POA_IR::HomeDef_tie<T>::base_interfaces (
+ CORBA::Environment &ACE_TRY_ENV
+ )
+ ACE_THROW_SPEC ((
+ CORBA::SystemException
+ ))
+{
+ return this->ptr_->base_interfaces (
+ACE_TRY_ENV
+ );
+}
+
+template <class T> ACE_INLINE
+void POA_IR::HomeDef_tie<T>::base_interfaces (
+ const CORBA::InterfaceDefSeq & base_interfaces,
+ CORBA::Environment &ACE_TRY_ENV
+ )
+ ACE_THROW_SPEC ((
+ CORBA::SystemException
+ ))
+{
+ this->ptr_->base_interfaces (
+base_interfaces,
+ ACE_TRY_ENV
+ );
+}
+
+template <class T> ACE_INLINE
+CORBA::Boolean POA_IR::HomeDef_tie<T>::is_a (
+ const char * interface_id,
+ CORBA::Environment &ACE_TRY_ENV
+ )
+ ACE_THROW_SPEC ((
+ CORBA::SystemException
+ ))
+{
+ return this->ptr_->is_a (
+interface_id,
+ ACE_TRY_ENV
+ );
+}
+
+template <class T> ACE_INLINE
+CORBA::InterfaceDef::FullInterfaceDescription * POA_IR::HomeDef_tie<T>::describe_interface (
+ CORBA::Environment &ACE_TRY_ENV
+ )
+ ACE_THROW_SPEC ((
+ CORBA::SystemException
+ ))
+{
+ return this->ptr_->describe_interface (
+ACE_TRY_ENV
+ );
+}
+
+template <class T> ACE_INLINE
+CORBA::AttributeDef_ptr POA_IR::HomeDef_tie<T>::create_attribute (
+ const char * id,
+ const char * name,
+ const char * version,
+ CORBA::IDLType_ptr type,
+ CORBA::AttributeMode mode,
+ CORBA::Environment &ACE_TRY_ENV
+ )
+ ACE_THROW_SPEC ((
+ CORBA::SystemException
+ ))
+{
+ return this->ptr_->create_attribute (
+id,
+ name,
+ version,
+ type,
+ mode,
+ ACE_TRY_ENV
+ );
+}
+
+template <class T> ACE_INLINE
+CORBA::OperationDef_ptr POA_IR::HomeDef_tie<T>::create_operation (
+ const char * id,
+ const char * name,
+ const char * version,
+ CORBA::IDLType_ptr result,
+ CORBA::OperationMode mode,
+ const CORBA::ParDescriptionSeq & params,
+ const CORBA::ExceptionDefSeq & exceptions,
+ const CORBA::ContextIdSeq & contexts,
+ CORBA::Environment &ACE_TRY_ENV
+ )
+ ACE_THROW_SPEC ((
+ CORBA::SystemException
+ ))
+{
+ return this->ptr_->create_operation (
+id,
+ name,
+ version,
+ result,
+ mode,
+ params,
+ exceptions,
+ contexts,
+ ACE_TRY_ENV
+ );
+}
+
+template <class T> ACE_INLINE
+CORBA::Contained_ptr POA_IR::HomeDef_tie<T>::lookup (
+ const char * search_name,
+ CORBA::Environment &ACE_TRY_ENV
+ )
+ ACE_THROW_SPEC ((
+ CORBA::SystemException
+ ))
+{
+ return this->ptr_->lookup (
+search_name,
+ ACE_TRY_ENV
+ );
+}
+
+template <class T> ACE_INLINE
+CORBA::ContainedSeq * POA_IR::HomeDef_tie<T>::contents (
+ CORBA::DefinitionKind limit_type,
+ CORBA::Boolean exclude_inherited,
+ CORBA::Environment &ACE_TRY_ENV
+ )
+ ACE_THROW_SPEC ((
+ CORBA::SystemException
+ ))
+{
+ return this->ptr_->contents (
+limit_type,
+ exclude_inherited,
+ ACE_TRY_ENV
+ );
+}
+
+template <class T> ACE_INLINE
+CORBA::ContainedSeq * POA_IR::HomeDef_tie<T>::lookup_name (
+ const char * search_name,
+ CORBA::Long levels_to_search,
+ CORBA::DefinitionKind limit_type,
+ CORBA::Boolean exclude_inherited,
+ CORBA::Environment &ACE_TRY_ENV
+ )
+ ACE_THROW_SPEC ((
+ CORBA::SystemException
+ ))
+{
+ return this->ptr_->lookup_name (
+search_name,
+ levels_to_search,
+ limit_type,
+ exclude_inherited,
+ ACE_TRY_ENV
+ );
+}
+
+template <class T> ACE_INLINE
+CORBA::Container::DescriptionSeq * POA_IR::HomeDef_tie<T>::describe_contents (
+ CORBA::DefinitionKind limit_type,
+ CORBA::Boolean exclude_inherited,
+ CORBA::Long max_returned_objs,
+ CORBA::Environment &ACE_TRY_ENV
+ )
+ ACE_THROW_SPEC ((
+ CORBA::SystemException
+ ))
+{
+ return this->ptr_->describe_contents (
+limit_type,
+ exclude_inherited,
+ max_returned_objs,
+ ACE_TRY_ENV
+ );
+}
+
+template <class T> ACE_INLINE
+CORBA::ModuleDef_ptr POA_IR::HomeDef_tie<T>::create_module (
+ const char * id,
+ const char * name,
+ const char * version,
+ CORBA::Environment &ACE_TRY_ENV
+ )
+ ACE_THROW_SPEC ((
+ CORBA::SystemException
+ ))
+{
+ return this->ptr_->create_module (
+id,
+ name,
+ version,
+ ACE_TRY_ENV
+ );
+}
+
+template <class T> ACE_INLINE
+CORBA::ConstantDef_ptr POA_IR::HomeDef_tie<T>::create_constant (
+ const char * id,
+ const char * name,
+ const char * version,
+ CORBA::IDLType_ptr type,
+ const CORBA::Any & value,
+ CORBA::Environment &ACE_TRY_ENV
+ )
+ ACE_THROW_SPEC ((
+ CORBA::SystemException
+ ))
+{
+ return this->ptr_->create_constant (
+id,
+ name,
+ version,
+ type,
+ value,
+ ACE_TRY_ENV
+ );
+}
+
+template <class T> ACE_INLINE
+CORBA::StructDef_ptr POA_IR::HomeDef_tie<T>::create_struct (
+ const char * id,
+ const char * name,
+ const char * version,
+ const CORBA::StructMemberSeq & members,
+ CORBA::Environment &ACE_TRY_ENV
+ )
+ ACE_THROW_SPEC ((
+ CORBA::SystemException
+ ))
+{
+ return this->ptr_->create_struct (
+id,
+ name,
+ version,
+ members,
+ ACE_TRY_ENV
+ );
+}
+
+template <class T> ACE_INLINE
+CORBA::UnionDef_ptr POA_IR::HomeDef_tie<T>::create_union (
+ const char * id,
+ const char * name,
+ const char * version,
+ CORBA::IDLType_ptr discriminator_type,
+ const CORBA::UnionMemberSeq & members,
+ CORBA::Environment &ACE_TRY_ENV
+ )
+ ACE_THROW_SPEC ((
+ CORBA::SystemException
+ ))
+{
+ return this->ptr_->create_union (
+id,
+ name,
+ version,
+ discriminator_type,
+ members,
+ ACE_TRY_ENV
+ );
+}
+
+template <class T> ACE_INLINE
+CORBA::EnumDef_ptr POA_IR::HomeDef_tie<T>::create_enum (
+ const char * id,
+ const char * name,
+ const char * version,
+ const CORBA::EnumMemberSeq & members,
+ CORBA::Environment &ACE_TRY_ENV
+ )
+ ACE_THROW_SPEC ((
+ CORBA::SystemException
+ ))
+{
+ return this->ptr_->create_enum (
+id,
+ name,
+ version,
+ members,
+ ACE_TRY_ENV
+ );
+}
+
+template <class T> ACE_INLINE
+CORBA::AliasDef_ptr POA_IR::HomeDef_tie<T>::create_alias (
+ const char * id,
+ const char * name,
+ const char * version,
+ CORBA::IDLType_ptr original_type,
+ CORBA::Environment &ACE_TRY_ENV
+ )
+ ACE_THROW_SPEC ((
+ CORBA::SystemException
+ ))
+{
+ return this->ptr_->create_alias (
+id,
+ name,
+ version,
+ original_type,
+ ACE_TRY_ENV
+ );
+}
+
+template <class T> ACE_INLINE
+CORBA::InterfaceDef_ptr POA_IR::HomeDef_tie<T>::create_interface (
+ const char * id,
+ const char * name,
+ const char * version,
+ const CORBA::InterfaceDefSeq & base_interfaces,
+ CORBA::Environment &ACE_TRY_ENV
+ )
+ ACE_THROW_SPEC ((
+ CORBA::SystemException
+ ))
+{
+ return this->ptr_->create_interface (
+id,
+ name,
+ version,
+ base_interfaces,
+ ACE_TRY_ENV
+ );
+}
+
+template <class T> ACE_INLINE
+CORBA::ValueDef_ptr POA_IR::HomeDef_tie<T>::create_value (
+ const char * id,
+ const char * name,
+ const char * version,
+ CORBA::Boolean is_custom,
+ CORBA::Boolean is_abstract,
+ CORBA::ValueDef_ptr base_value,
+ CORBA::Boolean is_truncatable,
+ const CORBA::ValueDefSeq & abstract_base_values,
+ const CORBA::InterfaceDefSeq & supported_interfaces,
+ const CORBA::InitializerSeq & initializers,
+ CORBA::Environment &ACE_TRY_ENV
+ )
+ ACE_THROW_SPEC ((
+ CORBA::SystemException
+ ))
+{
+ return this->ptr_->create_value (
+id,
+ name,
+ version,
+ is_custom,
+ is_abstract,
+ base_value,
+ is_truncatable,
+ abstract_base_values,
+ supported_interfaces,
+ initializers,
+ ACE_TRY_ENV
+ );
+}
+
+template <class T> ACE_INLINE
+CORBA::ValueBoxDef_ptr POA_IR::HomeDef_tie<T>::create_value_box (
+ const char * id,
+ const char * name,
+ const char * version,
+ CORBA::IDLType_ptr original_type_def,
+ CORBA::Environment &ACE_TRY_ENV
+ )
+ ACE_THROW_SPEC ((
+ CORBA::SystemException
+ ))
+{
+ return this->ptr_->create_value_box (
+id,
+ name,
+ version,
+ original_type_def,
+ ACE_TRY_ENV
+ );
+}
+
+template <class T> ACE_INLINE
+CORBA::ExceptionDef_ptr POA_IR::HomeDef_tie<T>::create_exception (
+ const char * id,
+ const char * name,
+ const char * version,
+ const CORBA::StructMemberSeq & members,
+ CORBA::Environment &ACE_TRY_ENV
+ )
+ ACE_THROW_SPEC ((
+ CORBA::SystemException
+ ))
+{
+ return this->ptr_->create_exception (
+id,
+ name,
+ version,
+ members,
+ ACE_TRY_ENV
+ );
+}
+
+template <class T> ACE_INLINE
+CORBA::NativeDef_ptr POA_IR::HomeDef_tie<T>::create_native (
+ const char * id,
+ const char * name,
+ const char * version,
+ CORBA::Environment &ACE_TRY_ENV
+ )
+ ACE_THROW_SPEC ((
+ CORBA::SystemException
+ ))
+{
+ return this->ptr_->create_native (
+id,
+ name,
+ version,
+ ACE_TRY_ENV
+ );
+}
+
+template <class T> ACE_INLINE
+CORBA::AbstractInterfaceDef_ptr POA_IR::HomeDef_tie<T>::create_abstract_interface (
+ const char * id,
+ const char * name,
+ const char * version,
+ const CORBA::AbstractInterfaceDefSeq & base_interfaces,
+ CORBA::Environment &ACE_TRY_ENV
+ )
+ ACE_THROW_SPEC ((
+ CORBA::SystemException
+ ))
+{
+ return this->ptr_->create_abstract_interface (
+id,
+ name,
+ version,
+ base_interfaces,
+ ACE_TRY_ENV
+ );
+}
+
+template <class T> ACE_INLINE
+CORBA::LocalInterfaceDef_ptr POA_IR::HomeDef_tie<T>::create_local_interface (
+ const char * id,
+ const char * name,
+ const char * version,
+ const CORBA::InterfaceDefSeq & base_interfaces,
+ CORBA::Environment &ACE_TRY_ENV
+ )
+ ACE_THROW_SPEC ((
+ CORBA::SystemException
+ ))
+{
+ return this->ptr_->create_local_interface (
+id,
+ name,
+ version,
+ base_interfaces,
+ ACE_TRY_ENV
+ );
+}
+
+template <class T> ACE_INLINE
+char * POA_IR::HomeDef_tie<T>::id (
+ CORBA::Environment &ACE_TRY_ENV
+ )
+ ACE_THROW_SPEC ((
+ CORBA::SystemException
+ ))
+{
+ return this->ptr_->id (
+ACE_TRY_ENV
+ );
+}
+
+template <class T> ACE_INLINE
+void POA_IR::HomeDef_tie<T>::id (
+ const char * id,
+ CORBA::Environment &ACE_TRY_ENV
+ )
+ ACE_THROW_SPEC ((
+ CORBA::SystemException
+ ))
+{
+ this->ptr_->id (
+id,
+ ACE_TRY_ENV
+ );
+}
+
+template <class T> ACE_INLINE
+char * POA_IR::HomeDef_tie<T>::name (
+ CORBA::Environment &ACE_TRY_ENV
+ )
+ ACE_THROW_SPEC ((
+ CORBA::SystemException
+ ))
+{
+ return this->ptr_->name (
+ACE_TRY_ENV
+ );
+}
+
+template <class T> ACE_INLINE
+void POA_IR::HomeDef_tie<T>::name (
+ const char * name,
+ CORBA::Environment &ACE_TRY_ENV
+ )
+ ACE_THROW_SPEC ((
+ CORBA::SystemException
+ ))
+{
+ this->ptr_->name (
+name,
+ ACE_TRY_ENV
+ );
+}
+
+template <class T> ACE_INLINE
+char * POA_IR::HomeDef_tie<T>::version (
+ CORBA::Environment &ACE_TRY_ENV
+ )
+ ACE_THROW_SPEC ((
+ CORBA::SystemException
+ ))
+{
+ return this->ptr_->version (
+ACE_TRY_ENV
+ );
+}
+
+template <class T> ACE_INLINE
+void POA_IR::HomeDef_tie<T>::version (
+ const char * version,
+ CORBA::Environment &ACE_TRY_ENV
+ )
+ ACE_THROW_SPEC ((
+ CORBA::SystemException
+ ))
+{
+ this->ptr_->version (
+version,
+ ACE_TRY_ENV
+ );
+}
+
+template <class T> ACE_INLINE
+CORBA::Container_ptr POA_IR::HomeDef_tie<T>::defined_in (
+ CORBA::Environment &ACE_TRY_ENV
+ )
+ ACE_THROW_SPEC ((
+ CORBA::SystemException
+ ))
+{
+ return this->ptr_->defined_in (
+ACE_TRY_ENV
+ );
+}
+
+template <class T> ACE_INLINE
+char * POA_IR::HomeDef_tie<T>::absolute_name (
+ CORBA::Environment &ACE_TRY_ENV
+ )
+ ACE_THROW_SPEC ((
+ CORBA::SystemException
+ ))
+{
+ return this->ptr_->absolute_name (
+ACE_TRY_ENV
+ );
+}
+
+template <class T> ACE_INLINE
+CORBA::Repository_ptr POA_IR::HomeDef_tie<T>::containing_repository (
+ CORBA::Environment &ACE_TRY_ENV
+ )
+ ACE_THROW_SPEC ((
+ CORBA::SystemException
+ ))
+{
+ return this->ptr_->containing_repository (
+ACE_TRY_ENV
+ );
+}
+
+template <class T> ACE_INLINE
+CORBA::Contained::Description * POA_IR::HomeDef_tie<T>::describe (
+ CORBA::Environment &ACE_TRY_ENV
+ )
+ ACE_THROW_SPEC ((
+ CORBA::SystemException
+ ))
+{
+ return this->ptr_->describe (
+ACE_TRY_ENV
+ );
+}
+
+template <class T> ACE_INLINE
+void POA_IR::HomeDef_tie<T>::move (
+ CORBA::Container_ptr new_container,
+ const char * new_name,
+ const char * new_version,
+ CORBA::Environment &ACE_TRY_ENV
+ )
+ ACE_THROW_SPEC ((
+ CORBA::SystemException
+ ))
+{
+ this->ptr_->move (
+new_container,
+ new_name,
+ new_version,
+ ACE_TRY_ENV
+ );
+}
+
+template <class T> ACE_INLINE
+CORBA::TypeCode_ptr POA_IR::HomeDef_tie<T>::type (
+ CORBA::Environment &ACE_TRY_ENV
+ )
+ ACE_THROW_SPEC ((
+ CORBA::SystemException
+ ))
+{
+ return this->ptr_->type (
+ACE_TRY_ENV
+ );
+}
+
+template <class T> ACE_INLINE
+CORBA::DefinitionKind POA_IR::HomeDef_tie<T>::def_kind (
+ CORBA::Environment &ACE_TRY_ENV
+ )
+ ACE_THROW_SPEC ((
+ CORBA::SystemException
+ ))
+{
+ return this->ptr_->def_kind (
+ACE_TRY_ENV
+ );
+}
+
+template <class T> ACE_INLINE
+void POA_IR::HomeDef_tie<T>::destroy (
+ CORBA::Environment &ACE_TRY_ENV
+ )
+ ACE_THROW_SPEC ((
+ CORBA::SystemException
+ ))
+{
+ this->ptr_->destroy (
+ACE_TRY_ENV
+ );
+}
+
+#endif /* ACE_HAS_USING_KEYWORD */
diff --git a/TAO/orbsvcs/IFR_Service/IFR_ExtendedS.cpp b/TAO/orbsvcs/IFR_Service/IFR_ExtendedS.cpp
new file mode 100644
index 00000000000..4e283671e72
--- /dev/null
+++ b/TAO/orbsvcs/IFR_Service/IFR_ExtendedS.cpp
@@ -0,0 +1,7452 @@
+// -*- C++ -*-
+//
+// $Id$
+
+// **** Code generated by the The ACE ORB (TAO) IDL Compiler ****
+// TAO and the TAO IDL Compiler have been developed by:
+// Center for Distributed Object Computing
+// Washington University
+// St. Louis, MO
+// USA
+// http://www.cs.wustl.edu/~schmidt/doc-center.html
+// and
+// Distributed Object Computing Laboratory
+// University of California at Irvine
+// Irvine, CA
+// USA
+// http://doc.ece.uci.edu/
+//
+// Information about TAO is available at:
+// http://www.cs.wustl.edu/~schmidt/TAO.html
+
+#ifndef TAO_IDL_IFR_EXTENDEDS_CPP
+#define TAO_IDL_IFR_EXTENDEDS_CPP
+
+#include "IFR_ExtendedS.h"
+
+#if TAO_HAS_INTERCEPTORS == 1
+#include "tao/RequestInfo_Util.h"
+#endif /* TAO_HAS_INTERCEPTORS == 1 */
+
+#if defined (__BORLANDC__)
+#pragma option -w-rvl -w-rch -w-ccc -w-aus
+#endif /* __BORLANDC__ */
+
+#if !defined (__ACE_INLINE__)
+#include "IFR_ExtendedS.i"
+#endif /* !defined INLINE */
+
+class TAO_CORBA_FixedDef_Perfect_Hash_OpTable : public TAO_Perfect_Hash_OpTable
+{
+private:
+ unsigned int hash (const char *str, unsigned int len);
+public:
+ const TAO_operation_db_entry * lookup (const char *str, unsigned int len);
+};
+/* starting time is 10:44:40 */
+/* C++ code produced by gperf version 2.8 (ACE version) */
+/* Command-line: gperf -m -M -J -c -C -D -E -T -f 0 -F 0 -a -o -t -p -K opname_ -L C++ -Z TAO_CORBA_FixedDef_Perfect_Hash_OpTable -N lookup */
+unsigned int
+TAO_CORBA_FixedDef_Perfect_Hash_OpTable::hash (const char *str, unsigned int len)
+{
+ static const unsigned char asso_values[] =
+ {
+#if defined (ACE_MVS)
+ 19, 19, 19, 19, 19, 19, 19, 19, 19, 19,
+ 19, 19, 19, 19, 19, 19, 19, 19, 19, 19,
+ 19, 19, 19, 19, 19, 19, 19, 19, 19, 19,
+ 19, 19, 19, 19, 19, 19, 19, 19, 19, 19,
+ 19, 19, 19, 19, 19, 19, 19, 19, 19, 19,
+ 19, 19, 19, 19, 19, 19, 19, 19, 19, 19,
+ 19, 19, 19, 19, 19, 19, 19, 19, 19, 19,
+ 19, 19, 19, 19, 19, 19, 19, 19, 19, 19,
+ 19, 19, 19, 19, 19, 19, 19, 19, 19, 19,
+ 19, 19, 19, 19, 19, 19, 19, 19, 19, 19,
+ 19, 19, 19, 19, 19, 19, 19, 19, 19, 0,
+ 19, 19, 19, 19, 19, 19, 19, 19, 19, 19,
+ 19, 19, 19, 19, 19, 19, 19, 19, 19, 0,
+ 19, 19, 0, 0, 19, 19, 19, 19, 19, 19,
+ 19, 19, 19, 19, 19, 19, 19, 19, 19, 19,
+ 19, 19, 19, 19, 19, 19, 19, 19, 19, 19,
+ 19, 19, 0, 5, 19, 19, 19, 19, 0, 19,
+ 19, 19, 19, 19, 19, 19, 19, 19, 19, 19,
+ 19, 19, 19, 19, 19, 19, 19, 19, 19, 19,
+ 19, 19, 19, 19, 19, 19, 19, 19, 19, 19,
+ 19, 19, 19, 19, 19, 19, 19, 19, 19, 19,
+ 19, 19, 19, 19, 19, 19, 19, 19, 19, 19,
+ 19, 19, 19, 19, 19, 19, 19, 19, 19, 19,
+ 19, 19, 19, 19, 19, 19, 19, 19, 19, 19,
+ 19, 19, 19, 19, 19, 19, 19, 19, 19, 19,
+ 19, 19, 19, 19, 19, 19,
+#else
+ 19, 19, 19, 19, 19, 19, 19, 19, 19, 19,
+ 19, 19, 19, 19, 19, 19, 19, 19, 19, 19,
+ 19, 19, 19, 19, 19, 19, 19, 19, 19, 19,
+ 19, 19, 19, 19, 19, 19, 19, 19, 19, 19,
+ 19, 19, 19, 19, 19, 19, 19, 19, 19, 19,
+ 19, 19, 19, 19, 19, 19, 19, 19, 19, 19,
+ 19, 19, 19, 19, 19, 19, 19, 19, 19, 19,
+ 19, 19, 19, 19, 19, 19, 19, 19, 19, 19,
+ 19, 19, 19, 19, 19, 19, 19, 19, 19, 19,
+ 19, 19, 19, 19, 19, 0, 19, 0, 19, 19,
+ 0, 0, 19, 19, 19, 19, 19, 19, 19, 19,
+ 19, 19, 19, 19, 19, 0, 5, 19, 19, 19,
+ 19, 0, 19, 19, 19, 19, 19, 19,
+#endif /* ACE_MVS */
+ };
+ return len + asso_values[str[len - 1]] + asso_values[str[0]];
+}
+
+const class TAO_operation_db_entry *
+TAO_CORBA_FixedDef_Perfect_Hash_OpTable::lookup (const char *str, unsigned int len)
+{
+ enum
+ {
+ TOTAL_KEYWORDS = 9,
+ MIN_WORD_LENGTH = 5,
+ MAX_WORD_LENGTH = 13,
+ MIN_HASH_VALUE = 5,
+ MAX_HASH_VALUE = 18,
+ HASH_VALUE_RANGE = 14,
+ DUPLICATES = 3
+ };
+
+ static const class TAO_operation_db_entry wordlist[] =
+ {
+ {"",0},{"",0},{"",0},{"",0},{"",0},
+ {"_is_a", &POA_CORBA::FixedDef::_is_a_skel},
+ {"destroy", &POA_CORBA::FixedDef::destroy_skel},
+ {"_get_type", &POA_CORBA::FixedDef::_get_type_skel},
+ {"_get_scale", &POA_CORBA::FixedDef::_get_scale_skel},
+ {"_set_scale", &POA_CORBA::FixedDef::_set_scale_skel},
+ {"_get_digits", &POA_CORBA::FixedDef::_get_digits_skel},
+ {"_set_digits", &POA_CORBA::FixedDef::_set_digits_skel},
+ {"_get_def_kind", &POA_CORBA::FixedDef::_get_def_kind_skel},
+ {"_non_existent", &POA_CORBA::FixedDef::_non_existent_skel},
+ };
+
+ static const signed char lookup[] =
+ {
+ -1, -8, -2, -10, -2, 5, -1, 6, -1, 7, -27, -26, -1, 12,
+ -1, -1, -1, -1, 13,
+ };
+
+ if (len <= MAX_WORD_LENGTH && len >= MIN_WORD_LENGTH)
+ {
+ unsigned int key = hash (str, len);
+
+ if (key <= MAX_HASH_VALUE && key >= MIN_HASH_VALUE)
+ {
+ int slot = lookup[key];
+
+ if (slot >= 0 && slot < MAX_HASH_VALUE)
+ {
+ const char *s = wordlist[slot].opname_;
+
+ if (*str == *s && !strncmp (str + 1, s + 1, len - 1))
+ return &wordlist[slot];
+ }
+ else if (slot < 0 && slot >= -MAX_HASH_VALUE)
+ return 0;
+ else
+ {
+ unsigned int offset = key + slot + (slot > 0 ? -MAX_HASH_VALUE : MAX_HASH_VALUE);
+ const class TAO_operation_db_entry *base = &wordlist[-lookup[offset]];
+ const class TAO_operation_db_entry *ptr = base + -lookup[offset + 1];
+
+ while (--ptr >= base)
+ if (*str == *ptr->opname_ && !strncmp (str + 1, ptr->opname_ + 1, len - 1))
+ return ptr;
+ }
+ }
+ }
+ return 0;
+}
+/* ending time is 10:44:40 */
+static TAO_CORBA_FixedDef_Perfect_Hash_OpTable tao_CORBA_FixedDef_optable;
+
+
+///////////////////////////////////////////////////////////////////////
+// Strategized Proxy Broker Implementation
+//
+
+// Factory function Implementation.
+POA_CORBA::_TAO_FixedDef_Strategized_Proxy_Broker *POA_CORBA::_TAO_FixedDef_Strategized_Proxy_Broker::the_TAO_FixedDef_Strategized_Proxy_Broker (void)
+{
+ static POA_CORBA::_TAO_FixedDef_Strategized_Proxy_Broker strategized_proxy_broker;
+ return &strategized_proxy_broker;
+}
+
+POA_CORBA::_TAO_FixedDef_Strategized_Proxy_Broker::_TAO_FixedDef_Strategized_Proxy_Broker (void)
+{
+ for (int i = 0; i < TAO_Collocation_Strategies::CS_LAST; ++i)
+ this->proxy_cache_[i] = 0;
+
+}
+
+POA_CORBA::_TAO_FixedDef_Strategized_Proxy_Broker::~_TAO_FixedDef_Strategized_Proxy_Broker (void)
+{
+ for (int i = 0; i < TAO_Collocation_Strategies::CS_LAST; ++i)
+ delete this->proxy_cache_[i];
+
+}
+
+_TAO_FixedDef_Proxy_Impl&
+POA_CORBA::_TAO_FixedDef_Strategized_Proxy_Broker::select_proxy (
+ ::CORBA::FixedDef *object,
+ CORBA::Environment &ACE_TRY_ENV
+ )
+{
+ int strategy =
+ TAO_ORB_Core::collocation_strategy (object);
+
+ if (this->proxy_cache_[strategy] != 0)
+ return *this->proxy_cache_[strategy];
+
+ this->create_proxy (strategy, ACE_TRY_ENV);
+ ACE_CHECK_RETURN (*this->proxy_cache_[strategy]);
+
+ return *this->proxy_cache_[strategy];
+
+}
+
+void
+POA_CORBA::_TAO_FixedDef_Strategized_Proxy_Broker::create_proxy (
+ int strategy,
+ CORBA::Environment &ACE_TRY_ENV
+ )
+{
+ ACE_GUARD (TAO_SYNCH_MUTEX, guard, this->mutex_);
+
+ if (this->proxy_cache_[strategy] == 0)
+ {
+ switch (strategy)
+ {
+ case TAO_Collocation_Strategies::CS_THRU_POA_STRATEGY:
+ ACE_NEW_THROW_EX (
+ this->proxy_cache_[strategy],
+ _TAO_FixedDef_ThruPOA_Proxy_Impl,
+ CORBA::NO_MEMORY ()
+ );
+ ACE_CHECK;
+ break;
+
+ case TAO_Collocation_Strategies::CS_REMOTE_STRATEGY:
+ default:
+ ACE_NEW_THROW_EX (
+ this->proxy_cache_[strategy],
+ ::_TAO_FixedDef_Remote_Proxy_Impl,
+ CORBA::NO_MEMORY ()
+ );
+ ACE_CHECK;
+ break;
+
+ }
+
+ }
+}
+
+
+//
+// End Strategized Proxy Broker Implementation
+///////////////////////////////////////////////////////////////////////
+
+
+_TAO_FixedDef_Proxy_Broker *
+CORBA__TAO_FixedDef_Proxy_Broker_Factory_function (CORBA::Object_ptr obj)
+{
+ ACE_UNUSED_ARG (obj);
+ return ::POA_CORBA::_TAO_FixedDef_Strategized_Proxy_Broker::the_TAO_FixedDef_Strategized_Proxy_Broker();
+}
+
+int
+CORBA__TAO_FixedDef_Proxy_Broker_Factory_Initializer (long _dummy_)
+{
+ ACE_UNUSED_ARG (_dummy_);
+
+ CORBA__TAO_FixedDef_Proxy_Broker_Factory_function_pointer =
+ CORBA__TAO_FixedDef_Proxy_Broker_Factory_function;
+
+ return 0;
+}
+
+static int CORBA__TAO_FixedDef_Proxy_Broker_Stub_Factory_Initializer_Scarecrow =
+ CORBA__TAO_FixedDef_Proxy_Broker_Factory_Initializer (ACE_reinterpret_cast (long, CORBA__TAO_FixedDef_Proxy_Broker_Factory_Initializer));
+
+
+///////////////////////////////////////////////////////////////////////
+// ThruPOA Proxy Implementation
+//
+
+POA_CORBA::_TAO_FixedDef_ThruPOA_Proxy_Impl::_TAO_FixedDef_ThruPOA_Proxy_Impl (void)
+{}
+
+// ThruPOA Implementation of the IDL interface methods
+
+CORBA::UShort POA_CORBA::_TAO_FixedDef_ThruPOA_Proxy_Impl::digits (
+ CORBA_Object *_collocated_tao_target_,
+ CORBA::Environment &ACE_TRY_ENV
+ )
+ ACE_THROW_SPEC ((
+ CORBA::SystemException
+ ))
+{
+ CORBA::UShort _tao_retval = 0;
+ ACE_UNUSED_ARG (_tao_retval);
+ TAO_Object_Adapter::Servant_Upcall servant_upcall (
+ _collocated_tao_target_->_stubobj ()->servant_orb_var ()->orb_core ()
+ );
+ CORBA::Object_var forward_to;
+ servant_upcall.prepare_for_upcall (
+ _collocated_tao_target_->_object_key (),
+ "digits",
+ forward_to.out (),
+ ACE_TRY_ENV
+ );
+ ACE_CHECK_RETURN (_tao_retval);
+ return ACE_reinterpret_cast (
+ POA_CORBA::FixedDef_ptr,
+ servant_upcall.servant ()->_downcast (
+ "IDL:omg.org/CORBA/FixedDef:1.0"
+ )
+ )->digits (
+ ACE_TRY_ENV
+ );
+}
+
+void POA_CORBA::_TAO_FixedDef_ThruPOA_Proxy_Impl::digits (
+ CORBA_Object *_collocated_tao_target_,
+ CORBA::UShort digits,
+ CORBA::Environment &ACE_TRY_ENV
+ )
+ ACE_THROW_SPEC ((
+ CORBA::SystemException
+ ))
+{
+ TAO_Object_Adapter::Servant_Upcall servant_upcall (
+ _collocated_tao_target_->_stubobj ()->servant_orb_var ()->orb_core ()
+ );
+ CORBA::Object_var forward_to;
+ servant_upcall.prepare_for_upcall (
+ _collocated_tao_target_->_object_key (),
+ "digits",
+ forward_to.out (),
+ ACE_TRY_ENV
+ );
+ ACE_CHECK;
+ ACE_reinterpret_cast (
+ POA_CORBA::FixedDef_ptr,
+ servant_upcall.servant ()->_downcast (
+ "IDL:omg.org/CORBA/FixedDef:1.0"
+ )
+ )->digits (
+ digits,
+ ACE_TRY_ENV
+ );
+ return;
+}
+
+CORBA::Short POA_CORBA::_TAO_FixedDef_ThruPOA_Proxy_Impl::scale (
+ CORBA_Object *_collocated_tao_target_,
+ CORBA::Environment &ACE_TRY_ENV
+ )
+ ACE_THROW_SPEC ((
+ CORBA::SystemException
+ ))
+{
+ CORBA::Short _tao_retval = 0;
+ ACE_UNUSED_ARG (_tao_retval);
+ TAO_Object_Adapter::Servant_Upcall servant_upcall (
+ _collocated_tao_target_->_stubobj ()->servant_orb_var ()->orb_core ()
+ );
+ CORBA::Object_var forward_to;
+ servant_upcall.prepare_for_upcall (
+ _collocated_tao_target_->_object_key (),
+ "scale",
+ forward_to.out (),
+ ACE_TRY_ENV
+ );
+ ACE_CHECK_RETURN (_tao_retval);
+ return ACE_reinterpret_cast (
+ POA_CORBA::FixedDef_ptr,
+ servant_upcall.servant ()->_downcast (
+ "IDL:omg.org/CORBA/FixedDef:1.0"
+ )
+ )->scale (
+ ACE_TRY_ENV
+ );
+}
+
+void POA_CORBA::_TAO_FixedDef_ThruPOA_Proxy_Impl::scale (
+ CORBA_Object *_collocated_tao_target_,
+ CORBA::Short scale,
+ CORBA::Environment &ACE_TRY_ENV
+ )
+ ACE_THROW_SPEC ((
+ CORBA::SystemException
+ ))
+{
+ TAO_Object_Adapter::Servant_Upcall servant_upcall (
+ _collocated_tao_target_->_stubobj ()->servant_orb_var ()->orb_core ()
+ );
+ CORBA::Object_var forward_to;
+ servant_upcall.prepare_for_upcall (
+ _collocated_tao_target_->_object_key (),
+ "scale",
+ forward_to.out (),
+ ACE_TRY_ENV
+ );
+ ACE_CHECK;
+ ACE_reinterpret_cast (
+ POA_CORBA::FixedDef_ptr,
+ servant_upcall.servant ()->_downcast (
+ "IDL:omg.org/CORBA/FixedDef:1.0"
+ )
+ )->scale (
+ scale,
+ ACE_TRY_ENV
+ );
+ return;
+}
+
+//
+// End ThruPOA Proxy Implementation
+///////////////////////////////////////////////////////////////////////
+
+// skeleton constructor
+POA_CORBA::FixedDef::FixedDef (void)
+{
+ this->optable_ = &tao_CORBA_FixedDef_optable;
+}
+
+// copy ctor
+POA_CORBA::FixedDef::FixedDef (const FixedDef& rhs)
+ : ACE_NESTED_CLASS (POA_CORBA,IDLType) (rhs),
+ ACE_NESTED_CLASS (POA_CORBA,IRObject) (rhs),
+ TAO_ServantBase (rhs)
+{}
+
+// skeleton destructor
+POA_CORBA::FixedDef::~FixedDef (void)
+{
+}
+
+void POA_CORBA::FixedDef::_get_digits_skel (
+ TAO_ServerRequest &_tao_server_request,
+ void *_tao_object_reference,
+ void * /* context */,
+ CORBA::Environment &ACE_TRY_ENV
+ )
+{
+ POA_CORBA::FixedDef *_tao_impl = (POA_CORBA::FixedDef *)_tao_object_reference;
+
+ CORBA::UShort _tao_retval = 0;
+
+#if (TAO_HAS_INTERCEPTORS == 1)
+ TAO_ServerRequestInterceptor_Adapter _tao_vfr (
+ _tao_server_request.orb_core ()->server_request_interceptors (),
+ _tao_server_request.interceptor_count ()
+ );
+
+ POA_CORBA::FixedDef::TAO_ServerRequestInfo_CORBA_FixedDef_digits_get ri (
+ _tao_server_request,
+ _tao_impl,
+ ACE_TRY_ENV
+ );
+
+ ACE_TRY
+ {
+ _tao_vfr.receive_request (&ri, ACE_TRY_ENV);
+ ACE_TRY_CHECK;
+
+#endif /* TAO_HAS_INTERCEPTORS */
+ _tao_retval =
+ _tao_impl->digits (
+ ACE_TRY_ENV
+ );
+ TAO_INTERCEPTOR_CHECK;
+
+#if (TAO_HAS_INTERCEPTORS == 1)
+ CORBA::UShort _tao_retval_info = _tao_retval;
+ ri.result (_tao_retval_info);
+ ri.reply_status (PortableInterceptor::SUCCESSFUL);
+ _tao_vfr.send_reply (&ri, ACE_TRY_ENV);
+ ACE_TRY_CHECK;
+ }
+ ACE_CATCH (PortableInterceptor::ForwardRequest, exc)
+ {
+ ri.forward_reference (exc);
+ _tao_vfr.send_other (
+ &ri,
+ ACE_TRY_ENV
+ );
+ ACE_TRY_CHECK;
+ _tao_server_request.forward_location (exc.forward.in ());
+ }
+ ACE_CATCHANY
+ {
+ ri.exception (&ACE_ANY_EXCEPTION);
+ _tao_vfr.send_exception (
+ &ri,
+ ACE_TRY_ENV
+ );
+ ACE_TRY_CHECK;
+ ACE_RE_THROW;
+ }
+ ACE_ENDTRY;
+ ACE_CHECK;
+#endif /* TAO_HAS_INTERCEPTORS */
+
+ _tao_server_request.init_reply ();
+
+ TAO_OutputCDR &_tao_out = _tao_server_request.outgoing ();
+
+ if (!(
+ (_tao_out << _tao_retval)
+ ))
+ ACE_THROW (CORBA::MARSHAL());
+
+ // In case ACE_TRY_ENV is not used in this function
+ ACE_UNUSED_ARG (ACE_TRY_ENV);
+}
+
+void POA_CORBA::FixedDef::_set_digits_skel (
+ TAO_ServerRequest &_tao_server_request,
+ void *_tao_object_reference,
+ void * /* context */,
+ CORBA::Environment &ACE_TRY_ENV
+ )
+{
+ TAO_InputCDR &_tao_in = _tao_server_request.incoming ();
+ POA_CORBA::FixedDef *_tao_impl = (POA_CORBA::FixedDef *)_tao_object_reference;
+
+ _tao_server_request.argument_flag (0);
+ CORBA::UShort digits;
+ if (!(
+ (_tao_in >> digits)
+ ))
+ ACE_THROW (CORBA::MARSHAL());
+
+
+#if (TAO_HAS_INTERCEPTORS == 1)
+ TAO_ServerRequestInterceptor_Adapter _tao_vfr (
+ _tao_server_request.orb_core ()->server_request_interceptors (),
+ _tao_server_request.interceptor_count ()
+ );
+
+ POA_CORBA::FixedDef::TAO_ServerRequestInfo_CORBA_FixedDef_digits_set ri (
+ _tao_server_request,
+ _tao_impl,
+ digits,
+ ACE_TRY_ENV
+ );
+
+ ACE_TRY
+ {
+ _tao_vfr.receive_request (&ri, ACE_TRY_ENV);
+ ACE_TRY_CHECK;
+
+#endif /* TAO_HAS_INTERCEPTORS */
+
+ _tao_impl->digits (
+ digits,
+ ACE_TRY_ENV
+ );
+ TAO_INTERCEPTOR_CHECK;
+
+#if (TAO_HAS_INTERCEPTORS == 1)
+ ri.reply_status (PortableInterceptor::SUCCESSFUL);
+ _tao_vfr.send_reply (&ri, ACE_TRY_ENV);
+ ACE_TRY_CHECK;
+ }
+ ACE_CATCH (PortableInterceptor::ForwardRequest, exc)
+ {
+ ri.forward_reference (exc);
+ _tao_vfr.send_other (
+ &ri,
+ ACE_TRY_ENV
+ );
+ ACE_TRY_CHECK;
+ _tao_server_request.forward_location (exc.forward.in ());
+ }
+ ACE_CATCHANY
+ {
+ ri.exception (&ACE_ANY_EXCEPTION);
+ _tao_vfr.send_exception (
+ &ri,
+ ACE_TRY_ENV
+ );
+ ACE_TRY_CHECK;
+ ACE_RE_THROW;
+ }
+ ACE_ENDTRY;
+ ACE_CHECK;
+#endif /* TAO_HAS_INTERCEPTORS */
+
+ _tao_server_request.init_reply ();
+
+ // In case ACE_TRY_ENV is not used in this function
+ ACE_UNUSED_ARG (ACE_TRY_ENV);
+}
+
+void POA_CORBA::FixedDef::_get_scale_skel (
+ TAO_ServerRequest &_tao_server_request,
+ void *_tao_object_reference,
+ void * /* context */,
+ CORBA::Environment &ACE_TRY_ENV
+ )
+{
+ POA_CORBA::FixedDef *_tao_impl = (POA_CORBA::FixedDef *)_tao_object_reference;
+
+ CORBA::Short _tao_retval = 0;
+
+#if (TAO_HAS_INTERCEPTORS == 1)
+ TAO_ServerRequestInterceptor_Adapter _tao_vfr (
+ _tao_server_request.orb_core ()->server_request_interceptors (),
+ _tao_server_request.interceptor_count ()
+ );
+
+ POA_CORBA::FixedDef::TAO_ServerRequestInfo_CORBA_FixedDef_scale_get ri (
+ _tao_server_request,
+ _tao_impl,
+ ACE_TRY_ENV
+ );
+
+ ACE_TRY
+ {
+ _tao_vfr.receive_request (&ri, ACE_TRY_ENV);
+ ACE_TRY_CHECK;
+
+#endif /* TAO_HAS_INTERCEPTORS */
+ _tao_retval =
+ _tao_impl->scale (
+ ACE_TRY_ENV
+ );
+ TAO_INTERCEPTOR_CHECK;
+
+#if (TAO_HAS_INTERCEPTORS == 1)
+ CORBA::Short _tao_retval_info = _tao_retval;
+ ri.result (_tao_retval_info);
+ ri.reply_status (PortableInterceptor::SUCCESSFUL);
+ _tao_vfr.send_reply (&ri, ACE_TRY_ENV);
+ ACE_TRY_CHECK;
+ }
+ ACE_CATCH (PortableInterceptor::ForwardRequest, exc)
+ {
+ ri.forward_reference (exc);
+ _tao_vfr.send_other (
+ &ri,
+ ACE_TRY_ENV
+ );
+ ACE_TRY_CHECK;
+ _tao_server_request.forward_location (exc.forward.in ());
+ }
+ ACE_CATCHANY
+ {
+ ri.exception (&ACE_ANY_EXCEPTION);
+ _tao_vfr.send_exception (
+ &ri,
+ ACE_TRY_ENV
+ );
+ ACE_TRY_CHECK;
+ ACE_RE_THROW;
+ }
+ ACE_ENDTRY;
+ ACE_CHECK;
+#endif /* TAO_HAS_INTERCEPTORS */
+
+ _tao_server_request.init_reply ();
+
+ TAO_OutputCDR &_tao_out = _tao_server_request.outgoing ();
+
+ if (!(
+ (_tao_out << _tao_retval)
+ ))
+ ACE_THROW (CORBA::MARSHAL());
+
+ // In case ACE_TRY_ENV is not used in this function
+ ACE_UNUSED_ARG (ACE_TRY_ENV);
+}
+
+void POA_CORBA::FixedDef::_set_scale_skel (
+ TAO_ServerRequest &_tao_server_request,
+ void *_tao_object_reference,
+ void * /* context */,
+ CORBA::Environment &ACE_TRY_ENV
+ )
+{
+ TAO_InputCDR &_tao_in = _tao_server_request.incoming ();
+ POA_CORBA::FixedDef *_tao_impl = (POA_CORBA::FixedDef *)_tao_object_reference;
+
+ _tao_server_request.argument_flag (0);
+ CORBA::Short scale;
+ if (!(
+ (_tao_in >> scale)
+ ))
+ ACE_THROW (CORBA::MARSHAL());
+
+
+#if (TAO_HAS_INTERCEPTORS == 1)
+ TAO_ServerRequestInterceptor_Adapter _tao_vfr (
+ _tao_server_request.orb_core ()->server_request_interceptors (),
+ _tao_server_request.interceptor_count ()
+ );
+
+ POA_CORBA::FixedDef::TAO_ServerRequestInfo_CORBA_FixedDef_scale_set ri (
+ _tao_server_request,
+ _tao_impl,
+ scale,
+ ACE_TRY_ENV
+ );
+
+ ACE_TRY
+ {
+ _tao_vfr.receive_request (&ri, ACE_TRY_ENV);
+ ACE_TRY_CHECK;
+
+#endif /* TAO_HAS_INTERCEPTORS */
+
+ _tao_impl->scale (
+ scale,
+ ACE_TRY_ENV
+ );
+ TAO_INTERCEPTOR_CHECK;
+
+#if (TAO_HAS_INTERCEPTORS == 1)
+ ri.reply_status (PortableInterceptor::SUCCESSFUL);
+ _tao_vfr.send_reply (&ri, ACE_TRY_ENV);
+ ACE_TRY_CHECK;
+ }
+ ACE_CATCH (PortableInterceptor::ForwardRequest, exc)
+ {
+ ri.forward_reference (exc);
+ _tao_vfr.send_other (
+ &ri,
+ ACE_TRY_ENV
+ );
+ ACE_TRY_CHECK;
+ _tao_server_request.forward_location (exc.forward.in ());
+ }
+ ACE_CATCHANY
+ {
+ ri.exception (&ACE_ANY_EXCEPTION);
+ _tao_vfr.send_exception (
+ &ri,
+ ACE_TRY_ENV
+ );
+ ACE_TRY_CHECK;
+ ACE_RE_THROW;
+ }
+ ACE_ENDTRY;
+ ACE_CHECK;
+#endif /* TAO_HAS_INTERCEPTORS */
+
+ _tao_server_request.init_reply ();
+
+ // In case ACE_TRY_ENV is not used in this function
+ ACE_UNUSED_ARG (ACE_TRY_ENV);
+}
+
+void POA_CORBA::FixedDef::_is_a_skel (
+ TAO_ServerRequest &_tao_server_request,
+ void * _tao_object_reference,
+ void * /* context */,
+ CORBA::Environment &ACE_TRY_ENV
+ )
+{
+ TAO_InputCDR &_tao_in = _tao_server_request.incoming ();
+ POA_CORBA::FixedDef *_tao_impl = (POA_CORBA::FixedDef *) _tao_object_reference;
+ CORBA::Boolean _tao_retval = 0;
+ CORBA::String_var value;
+ if (!(_tao_in >> value.out ()))
+ ACE_THROW (CORBA::MARSHAL ());
+
+ _tao_retval = _tao_impl->_is_a (value.in (), ACE_TRY_ENV);
+ ACE_CHECK;
+
+ _tao_server_request.init_reply ();
+ TAO_OutputCDR &_tao_out = _tao_server_request.outgoing ();
+ if (!(_tao_out << CORBA::Any::from_boolean (_tao_retval)))
+ ACE_THROW (CORBA::MARSHAL ());
+}
+
+void POA_CORBA::FixedDef::_non_existent_skel (
+ TAO_ServerRequest &_tao_server_request,
+ void * _tao_object_reference,
+ void * /* context */,
+ CORBA::Environment &ACE_TRY_ENV
+ )
+{
+ POA_CORBA::FixedDef *_tao_impl = (POA_CORBA::FixedDef *) _tao_object_reference;
+ CORBA::Boolean _tao_retval = _tao_impl->_non_existent (ACE_TRY_ENV);
+ ACE_CHECK;
+
+ _tao_server_request.init_reply ();
+ TAO_OutputCDR &_tao_out = _tao_server_request.outgoing ();
+ if (!(_tao_out << CORBA::Any::from_boolean (_tao_retval)))
+ ACE_THROW (CORBA::MARSHAL ());
+}
+
+CORBA::Boolean POA_CORBA::FixedDef::_is_a (
+ const char* value,
+ CORBA::Environment &ACE_TRY_ENV
+ )
+{
+ const char *base_id = CORBA::_tc_Object->id (ACE_TRY_ENV);
+ ACE_CHECK_RETURN (0);
+
+ if (
+ (!ACE_OS::strcmp ((char *)value, "IDL:omg.org/CORBA/FixedDef:1.0")) ||
+ (!ACE_OS::strcmp ((char *)value, "IDL:omg.org/CORBA/IDLType:1.0")) ||
+ (!ACE_OS::strcmp ((char *)value, "IDL:omg.org/CORBA/IRObject:1.0")) ||
+ (!ACE_OS::strcmp ((char *)value, base_id)))
+ return 1;
+ else
+ return 0;
+}
+
+void* POA_CORBA::FixedDef::_downcast (
+ const char* logical_type_id
+ )
+{
+ if (ACE_OS::strcmp (logical_type_id, "IDL:omg.org/CORBA/FixedDef:1.0") == 0)
+ return ACE_static_cast (POA_CORBA::FixedDef_ptr, this);
+ if (ACE_OS::strcmp (logical_type_id, "IDL:omg.org/CORBA/IDLType:1.0") == 0)
+ return ACE_static_cast (POA_CORBA::IDLType_ptr, this);
+ if (ACE_OS::strcmp (logical_type_id, "IDL:omg.org/CORBA/IRObject:1.0") == 0)
+ return ACE_static_cast (POA_CORBA::IRObject_ptr, this);
+ if (ACE_OS::strcmp (logical_type_id, "IDL:omg.org/CORBA/Object:1.0") == 0)
+ return ACE_static_cast(PortableServer::Servant, this);
+ return 0;
+}
+
+void POA_CORBA::FixedDef::_dispatch (TAO_ServerRequest &req, void *context, CORBA::Environment &ACE_TRY_ENV)
+{
+ this->synchronous_upcall_dispatch(req, context, this, ACE_TRY_ENV);
+}
+
+const char* POA_CORBA::FixedDef::_interface_repository_id (void) const
+{
+ return "IDL:omg.org/CORBA/FixedDef:1.0";
+}
+
+CORBA::FixedDef*
+POA_CORBA::FixedDef::_this (CORBA_Environment &ACE_TRY_ENV)
+{
+ TAO_Stub *stub = this->_create_stub (ACE_TRY_ENV);
+ ACE_CHECK_RETURN (0);
+
+ CORBA::Object_ptr tmp = CORBA::Object::_nil ();
+
+ if (stub->servant_orb_var ()->orb_core ()->optimize_collocation_objects ())
+ ACE_NEW_RETURN (tmp, CORBA::Object (stub, 1, this), 0);
+ else
+ ACE_NEW_RETURN (tmp, CORBA::Object (stub, 0, this), 0);
+
+ CORBA::Object_var obj = tmp;
+ return ::CORBA::FixedDef::_unchecked_narrow (obj.in ());
+}
+
+
+#if (TAO_HAS_INTERCEPTORS == 1)
+POA_CORBA::FixedDef::TAO_ServerRequestInfo_CORBA_FixedDef_digits_get::TAO_ServerRequestInfo_CORBA_FixedDef_digits_get (
+ TAO_ServerRequest &_tao_server_request,
+ POA_CORBA::FixedDef *tao_impl,
+ CORBA::Environment &
+ )
+ : TAO_ServerRequestInfo (_tao_server_request),
+ _tao_impl (tao_impl)
+{}
+
+Dynamic::ParameterList *
+POA_CORBA::FixedDef::TAO_ServerRequestInfo_CORBA_FixedDef_digits_get::arguments (CORBA::Environment &ACE_TRY_ENV)
+ ACE_THROW_SPEC ((CORBA::SystemException))
+{
+ // Generate the argument list on demand.
+ Dynamic::ParameterList *parameter_list =
+ TAO_RequestInfo_Util::make_parameter_list (ACE_TRY_ENV);
+ ACE_CHECK_RETURN (0);
+
+ return parameter_list;
+}
+
+Dynamic::ExceptionList *
+POA_CORBA::FixedDef::TAO_ServerRequestInfo_CORBA_FixedDef_digits_get::exceptions (CORBA::Environment &ACE_TRY_ENV)
+ ACE_THROW_SPEC ((CORBA::SystemException))
+{
+ // Generate the exception list on demand.
+ Dynamic::ExceptionList *exception_list =
+ TAO_RequestInfo_Util::make_exception_list (ACE_TRY_ENV);
+ ACE_CHECK_RETURN (0);
+
+ return exception_list;
+}
+
+CORBA::Any *
+POA_CORBA::FixedDef::TAO_ServerRequestInfo_CORBA_FixedDef_digits_get::result (CORBA::Environment &ACE_TRY_ENV)
+ ACE_THROW_SPEC ((CORBA::SystemException))
+{
+ // Generate the result on demand.
+ CORBA::Boolean tk_void_any = 0;
+ CORBA::Any *result_any =
+ TAO_RequestInfo_Util::make_any (tk_void_any, ACE_TRY_ENV);
+ ACE_CHECK_RETURN (0);
+
+ CORBA::Any_var safe_result_any = result_any;
+
+ (*result_any) <<= this->_result;
+
+ return safe_result_any._retn ();
+}
+
+char *
+POA_CORBA::FixedDef::TAO_ServerRequestInfo_CORBA_FixedDef_digits_get::target_most_derived_interface (
+ CORBA::Environment &)
+ ACE_THROW_SPEC ((CORBA::SystemException))
+{
+ return
+ CORBA::string_dup (this->_tao_impl->_interface_repository_id ());
+}
+
+CORBA::Boolean
+POA_CORBA::FixedDef::TAO_ServerRequestInfo_CORBA_FixedDef_digits_get::target_is_a (
+ const char * id,
+ CORBA::Environment &ACE_TRY_ENV)
+ ACE_THROW_SPEC ((CORBA::SystemException))
+{
+ return this->_tao_impl->_is_a (id, ACE_TRY_ENV);
+}
+
+void
+POA_CORBA::FixedDef::TAO_ServerRequestInfo_CORBA_FixedDef_digits_get::result (CORBA::UShort result)
+{
+ // Update the result.
+ this->_result = result;
+}
+
+POA_CORBA::FixedDef::TAO_ServerRequestInfo_CORBA_FixedDef_digits_set::TAO_ServerRequestInfo_CORBA_FixedDef_digits_set (
+ TAO_ServerRequest &_tao_server_request,
+ POA_CORBA::FixedDef *tao_impl,
+ const CORBA::UShort & digits,
+ CORBA::Environment &
+ )
+ : TAO_ServerRequestInfo (_tao_server_request),
+ _tao_impl (tao_impl),
+ digits_ (digits)
+{}
+
+Dynamic::ParameterList *
+POA_CORBA::FixedDef::TAO_ServerRequestInfo_CORBA_FixedDef_digits_set::arguments (CORBA::Environment &ACE_TRY_ENV)
+ ACE_THROW_SPEC ((CORBA::SystemException))
+{
+ // Generate the argument list on demand.
+ Dynamic::ParameterList *parameter_list =
+ TAO_RequestInfo_Util::make_parameter_list (ACE_TRY_ENV);
+ ACE_CHECK_RETURN (0);
+
+ Dynamic::ParameterList_var safe_parameter_list = parameter_list;
+
+ CORBA::ULong length_digits = parameter_list->length ();
+ parameter_list->length (length_digits + 1);
+ (*parameter_list)[length_digits].argument <<= digits_;
+ (*parameter_list)[length_digits].mode = Dynamic::PARAM_IN;
+
+ return safe_parameter_list._retn ();
+}
+
+Dynamic::ExceptionList *
+POA_CORBA::FixedDef::TAO_ServerRequestInfo_CORBA_FixedDef_digits_set::exceptions (CORBA::Environment &ACE_TRY_ENV)
+ ACE_THROW_SPEC ((CORBA::SystemException))
+{
+ // Generate the exception list on demand.
+ Dynamic::ExceptionList *exception_list =
+ TAO_RequestInfo_Util::make_exception_list (ACE_TRY_ENV);
+ ACE_CHECK_RETURN (0);
+
+ return exception_list;
+}
+
+CORBA::Any *
+POA_CORBA::FixedDef::TAO_ServerRequestInfo_CORBA_FixedDef_digits_set::result (CORBA::Environment &ACE_TRY_ENV)
+ ACE_THROW_SPEC ((CORBA::SystemException))
+{
+ // Generate the result on demand.
+ CORBA::Boolean tk_void_any = 1;
+ CORBA::Any *result_any =
+ TAO_RequestInfo_Util::make_any (tk_void_any, ACE_TRY_ENV);
+ ACE_CHECK_RETURN (0);
+
+ return result_any;
+}
+
+char *
+POA_CORBA::FixedDef::TAO_ServerRequestInfo_CORBA_FixedDef_digits_set::target_most_derived_interface (
+ CORBA::Environment &)
+ ACE_THROW_SPEC ((CORBA::SystemException))
+{
+ return
+ CORBA::string_dup (this->_tao_impl->_interface_repository_id ());
+}
+
+CORBA::Boolean
+POA_CORBA::FixedDef::TAO_ServerRequestInfo_CORBA_FixedDef_digits_set::target_is_a (
+ const char * id,
+ CORBA::Environment &ACE_TRY_ENV)
+ ACE_THROW_SPEC ((CORBA::SystemException))
+{
+ return this->_tao_impl->_is_a (id, ACE_TRY_ENV);
+}
+
+POA_CORBA::FixedDef::TAO_ServerRequestInfo_CORBA_FixedDef_scale_get::TAO_ServerRequestInfo_CORBA_FixedDef_scale_get (
+ TAO_ServerRequest &_tao_server_request,
+ POA_CORBA::FixedDef *tao_impl,
+ CORBA::Environment &
+ )
+ : TAO_ServerRequestInfo (_tao_server_request),
+ _tao_impl (tao_impl)
+{}
+
+Dynamic::ParameterList *
+POA_CORBA::FixedDef::TAO_ServerRequestInfo_CORBA_FixedDef_scale_get::arguments (CORBA::Environment &ACE_TRY_ENV)
+ ACE_THROW_SPEC ((CORBA::SystemException))
+{
+ // Generate the argument list on demand.
+ Dynamic::ParameterList *parameter_list =
+ TAO_RequestInfo_Util::make_parameter_list (ACE_TRY_ENV);
+ ACE_CHECK_RETURN (0);
+
+ return parameter_list;
+}
+
+Dynamic::ExceptionList *
+POA_CORBA::FixedDef::TAO_ServerRequestInfo_CORBA_FixedDef_scale_get::exceptions (CORBA::Environment &ACE_TRY_ENV)
+ ACE_THROW_SPEC ((CORBA::SystemException))
+{
+ // Generate the exception list on demand.
+ Dynamic::ExceptionList *exception_list =
+ TAO_RequestInfo_Util::make_exception_list (ACE_TRY_ENV);
+ ACE_CHECK_RETURN (0);
+
+ return exception_list;
+}
+
+CORBA::Any *
+POA_CORBA::FixedDef::TAO_ServerRequestInfo_CORBA_FixedDef_scale_get::result (CORBA::Environment &ACE_TRY_ENV)
+ ACE_THROW_SPEC ((CORBA::SystemException))
+{
+ // Generate the result on demand.
+ CORBA::Boolean tk_void_any = 0;
+ CORBA::Any *result_any =
+ TAO_RequestInfo_Util::make_any (tk_void_any, ACE_TRY_ENV);
+ ACE_CHECK_RETURN (0);
+
+ CORBA::Any_var safe_result_any = result_any;
+
+ (*result_any) <<= this->_result;
+
+ return safe_result_any._retn ();
+}
+
+char *
+POA_CORBA::FixedDef::TAO_ServerRequestInfo_CORBA_FixedDef_scale_get::target_most_derived_interface (
+ CORBA::Environment &)
+ ACE_THROW_SPEC ((CORBA::SystemException))
+{
+ return
+ CORBA::string_dup (this->_tao_impl->_interface_repository_id ());
+}
+
+CORBA::Boolean
+POA_CORBA::FixedDef::TAO_ServerRequestInfo_CORBA_FixedDef_scale_get::target_is_a (
+ const char * id,
+ CORBA::Environment &ACE_TRY_ENV)
+ ACE_THROW_SPEC ((CORBA::SystemException))
+{
+ return this->_tao_impl->_is_a (id, ACE_TRY_ENV);
+}
+
+void
+POA_CORBA::FixedDef::TAO_ServerRequestInfo_CORBA_FixedDef_scale_get::result (CORBA::Short result)
+{
+ // Update the result.
+ this->_result = result;
+}
+
+POA_CORBA::FixedDef::TAO_ServerRequestInfo_CORBA_FixedDef_scale_set::TAO_ServerRequestInfo_CORBA_FixedDef_scale_set (
+ TAO_ServerRequest &_tao_server_request,
+ POA_CORBA::FixedDef *tao_impl,
+ const CORBA::Short & scale,
+ CORBA::Environment &
+ )
+ : TAO_ServerRequestInfo (_tao_server_request),
+ _tao_impl (tao_impl),
+ scale_ (scale)
+{}
+
+Dynamic::ParameterList *
+POA_CORBA::FixedDef::TAO_ServerRequestInfo_CORBA_FixedDef_scale_set::arguments (CORBA::Environment &ACE_TRY_ENV)
+ ACE_THROW_SPEC ((CORBA::SystemException))
+{
+ // Generate the argument list on demand.
+ Dynamic::ParameterList *parameter_list =
+ TAO_RequestInfo_Util::make_parameter_list (ACE_TRY_ENV);
+ ACE_CHECK_RETURN (0);
+
+ Dynamic::ParameterList_var safe_parameter_list = parameter_list;
+
+ CORBA::ULong length_scale = parameter_list->length ();
+ parameter_list->length (length_scale + 1);
+ (*parameter_list)[length_scale].argument <<= scale_;
+ (*parameter_list)[length_scale].mode = Dynamic::PARAM_IN;
+
+ return safe_parameter_list._retn ();
+}
+
+Dynamic::ExceptionList *
+POA_CORBA::FixedDef::TAO_ServerRequestInfo_CORBA_FixedDef_scale_set::exceptions (CORBA::Environment &ACE_TRY_ENV)
+ ACE_THROW_SPEC ((CORBA::SystemException))
+{
+ // Generate the exception list on demand.
+ Dynamic::ExceptionList *exception_list =
+ TAO_RequestInfo_Util::make_exception_list (ACE_TRY_ENV);
+ ACE_CHECK_RETURN (0);
+
+ return exception_list;
+}
+
+CORBA::Any *
+POA_CORBA::FixedDef::TAO_ServerRequestInfo_CORBA_FixedDef_scale_set::result (CORBA::Environment &ACE_TRY_ENV)
+ ACE_THROW_SPEC ((CORBA::SystemException))
+{
+ // Generate the result on demand.
+ CORBA::Boolean tk_void_any = 1;
+ CORBA::Any *result_any =
+ TAO_RequestInfo_Util::make_any (tk_void_any, ACE_TRY_ENV);
+ ACE_CHECK_RETURN (0);
+
+ return result_any;
+}
+
+char *
+POA_CORBA::FixedDef::TAO_ServerRequestInfo_CORBA_FixedDef_scale_set::target_most_derived_interface (
+ CORBA::Environment &)
+ ACE_THROW_SPEC ((CORBA::SystemException))
+{
+ return
+ CORBA::string_dup (this->_tao_impl->_interface_repository_id ());
+}
+
+CORBA::Boolean
+POA_CORBA::FixedDef::TAO_ServerRequestInfo_CORBA_FixedDef_scale_set::target_is_a (
+ const char * id,
+ CORBA::Environment &ACE_TRY_ENV)
+ ACE_THROW_SPEC ((CORBA::SystemException))
+{
+ return this->_tao_impl->_is_a (id, ACE_TRY_ENV);
+}
+
+#endif /* TAO_HAS_INTERCEPTORS */
+class TAO_CORBA_ValueMemberDef_Perfect_Hash_OpTable : public TAO_Perfect_Hash_OpTable
+{
+private:
+ unsigned int hash (const char *str, unsigned int len);
+public:
+ const TAO_operation_db_entry * lookup (const char *str, unsigned int len);
+};
+/* starting time is 10:44:40 */
+/* C++ code produced by gperf version 2.8 (ACE version) */
+/* Command-line: gperf -m -M -J -c -C -D -E -T -f 0 -F 0 -a -o -t -p -K opname_ -L C++ -Z TAO_CORBA_ValueMemberDef_Perfect_Hash_OpTable -N lookup */
+unsigned int
+TAO_CORBA_ValueMemberDef_Perfect_Hash_OpTable::hash (const char *str, unsigned int len)
+{
+ static const unsigned char asso_values[] =
+ {
+#if defined (ACE_MVS)
+ 37, 37, 37, 37, 37, 37, 37, 37, 37, 37,
+ 37, 37, 37, 37, 37, 37, 37, 37, 37, 37,
+ 37, 37, 37, 37, 37, 37, 37, 37, 37, 37,
+ 37, 37, 37, 37, 37, 37, 37, 37, 37, 37,
+ 37, 37, 37, 37, 37, 37, 37, 37, 37, 37,
+ 37, 37, 37, 37, 37, 37, 37, 37, 37, 37,
+ 37, 37, 37, 37, 37, 37, 37, 37, 37, 37,
+ 37, 37, 37, 37, 37, 37, 37, 37, 37, 37,
+ 37, 37, 37, 37, 37, 37, 37, 37, 37, 37,
+ 37, 37, 37, 37, 37, 37, 37, 37, 37, 37,
+ 37, 37, 37, 37, 37, 37, 37, 37, 37, 0,
+ 37, 37, 37, 37, 37, 37, 37, 37, 37, 37,
+ 37, 37, 37, 37, 37, 37, 37, 37, 37, 0,
+ 37, 37, 0, 0, 10, 37, 37, 37, 37, 37,
+ 37, 37, 37, 37, 37, 37, 37, 37, 0, 0,
+ 37, 37, 37, 37, 37, 37, 37, 37, 37, 37,
+ 37, 37, 0, 15, 37, 37, 37, 37, 10, 37,
+ 37, 37, 37, 37, 37, 37, 37, 37, 37, 37,
+ 37, 37, 37, 37, 37, 37, 37, 37, 37, 37,
+ 37, 37, 37, 37, 37, 37, 37, 37, 37, 37,
+ 37, 37, 37, 37, 37, 37, 37, 37, 37, 37,
+ 37, 37, 37, 37, 37, 37, 37, 37, 37, 37,
+ 37, 37, 37, 37, 37, 37, 37, 37, 37, 37,
+ 37, 37, 37, 37, 37, 37, 37, 37, 37, 37,
+ 37, 37, 37, 37, 37, 37, 37, 37, 37, 37,
+ 37, 37, 37, 37, 37, 37,
+#else
+ 37, 37, 37, 37, 37, 37, 37, 37, 37, 37,
+ 37, 37, 37, 37, 37, 37, 37, 37, 37, 37,
+ 37, 37, 37, 37, 37, 37, 37, 37, 37, 37,
+ 37, 37, 37, 37, 37, 37, 37, 37, 37, 37,
+ 37, 37, 37, 37, 37, 37, 37, 37, 37, 37,
+ 37, 37, 37, 37, 37, 37, 37, 37, 37, 37,
+ 37, 37, 37, 37, 37, 37, 37, 37, 37, 37,
+ 37, 37, 37, 37, 37, 37, 37, 37, 37, 37,
+ 37, 37, 37, 37, 37, 37, 37, 37, 37, 37,
+ 37, 37, 37, 37, 37, 0, 37, 0, 37, 37,
+ 0, 0, 10, 37, 37, 37, 37, 37, 37, 0,
+ 0, 37, 37, 37, 37, 0, 15, 37, 37, 37,
+ 37, 10, 37, 37, 37, 37, 37, 37,
+#endif /* ACE_MVS */
+ };
+ return len + asso_values[str[len - 1]] + asso_values[str[0]];
+}
+
+const class TAO_operation_db_entry *
+TAO_CORBA_ValueMemberDef_Perfect_Hash_OpTable::lookup (const char *str, unsigned int len)
+{
+ enum
+ {
+ TOTAL_KEYWORDS = 20,
+ MIN_WORD_LENGTH = 4,
+ MAX_WORD_LENGTH = 26,
+ MIN_HASH_VALUE = 4,
+ MAX_HASH_VALUE = 36,
+ HASH_VALUE_RANGE = 33,
+ DUPLICATES = 7
+ };
+
+ static const class TAO_operation_db_entry wordlist[] =
+ {
+ {"",0},{"",0},{"",0},{"",0},
+ {"move", &POA_CORBA::ValueMemberDef::move_skel},
+ {"_is_a", &POA_CORBA::ValueMemberDef::_is_a_skel},
+ {"_get_id", &POA_CORBA::ValueMemberDef::_get_id_skel},
+ {"_set_id", &POA_CORBA::ValueMemberDef::_set_id_skel},
+ {"describe", &POA_CORBA::ValueMemberDef::describe_skel},
+ {"_get_type", &POA_CORBA::ValueMemberDef::_get_type_skel},
+ {"_set_name", &POA_CORBA::ValueMemberDef::_set_name_skel},
+ {"_get_name", &POA_CORBA::ValueMemberDef::_get_name_skel},
+ {"_get_access", &POA_CORBA::ValueMemberDef::_get_access_skel},
+ {"_set_access", &POA_CORBA::ValueMemberDef::_set_access_skel},
+ {"_get_version", &POA_CORBA::ValueMemberDef::_get_version_skel},
+ {"_set_version", &POA_CORBA::ValueMemberDef::_set_version_skel},
+ {"_get_def_kind", &POA_CORBA::ValueMemberDef::_get_def_kind_skel},
+ {"_get_defined_in", &POA_CORBA::ValueMemberDef::_get_defined_in_skel},
+ {"destroy", &POA_CORBA::ValueMemberDef::destroy_skel},
+ {"_get_absolute_name", &POA_CORBA::ValueMemberDef::_get_absolute_name_skel},
+ {"_get_type_def", &POA_CORBA::ValueMemberDef::_get_type_def_skel},
+ {"_set_type_def", &POA_CORBA::ValueMemberDef::_set_type_def_skel},
+ {"_non_existent", &POA_CORBA::ValueMemberDef::_non_existent_skel},
+ {"_get_containing_repository", &POA_CORBA::ValueMemberDef::_get_containing_repository_skel},
+ };
+
+ static const signed char lookup[] =
+ {
+ -12, -2, -14, -2, 4, 5, -1, 53, 8, 46, -1, -47, -46, 16,
+ -1, 17, -1, 18, 19, -9, -3, -20, -2, -38, -6, -2, -1, -1,
+ 22, -1, -1, -1, -1, -1, -1, -1, 23,
+ };
+
+ if (len <= MAX_WORD_LENGTH && len >= MIN_WORD_LENGTH)
+ {
+ unsigned int key = hash (str, len);
+
+ if (key <= MAX_HASH_VALUE && key >= MIN_HASH_VALUE)
+ {
+ int slot = lookup[key];
+
+ if (slot >= 0 && slot < MAX_HASH_VALUE)
+ {
+ const char *s = wordlist[slot].opname_;
+
+ if (*str == *s && !strncmp (str + 1, s + 1, len - 1))
+ return &wordlist[slot];
+ }
+ else if (slot < 0 && slot >= -MAX_HASH_VALUE)
+ return 0;
+ else
+ {
+ unsigned int offset = key + slot + (slot > 0 ? -MAX_HASH_VALUE : MAX_HASH_VALUE);
+ const class TAO_operation_db_entry *base = &wordlist[-lookup[offset]];
+ const class TAO_operation_db_entry *ptr = base + -lookup[offset + 1];
+
+ while (--ptr >= base)
+ if (*str == *ptr->opname_ && !strncmp (str + 1, ptr->opname_ + 1, len - 1))
+ return ptr;
+ }
+ }
+ }
+ return 0;
+}
+/* ending time is 10:44:40 */
+static TAO_CORBA_ValueMemberDef_Perfect_Hash_OpTable tao_CORBA_ValueMemberDef_optable;
+
+
+///////////////////////////////////////////////////////////////////////
+// Strategized Proxy Broker Implementation
+//
+
+// Factory function Implementation.
+POA_CORBA::_TAO_ValueMemberDef_Strategized_Proxy_Broker *POA_CORBA::_TAO_ValueMemberDef_Strategized_Proxy_Broker::the_TAO_ValueMemberDef_Strategized_Proxy_Broker (void)
+{
+ static POA_CORBA::_TAO_ValueMemberDef_Strategized_Proxy_Broker strategized_proxy_broker;
+ return &strategized_proxy_broker;
+}
+
+POA_CORBA::_TAO_ValueMemberDef_Strategized_Proxy_Broker::_TAO_ValueMemberDef_Strategized_Proxy_Broker (void)
+{
+ for (int i = 0; i < TAO_Collocation_Strategies::CS_LAST; ++i)
+ this->proxy_cache_[i] = 0;
+
+}
+
+POA_CORBA::_TAO_ValueMemberDef_Strategized_Proxy_Broker::~_TAO_ValueMemberDef_Strategized_Proxy_Broker (void)
+{
+ for (int i = 0; i < TAO_Collocation_Strategies::CS_LAST; ++i)
+ delete this->proxy_cache_[i];
+
+}
+
+_TAO_ValueMemberDef_Proxy_Impl&
+POA_CORBA::_TAO_ValueMemberDef_Strategized_Proxy_Broker::select_proxy (
+ ::CORBA::ValueMemberDef *object,
+ CORBA::Environment &ACE_TRY_ENV
+ )
+{
+ int strategy =
+ TAO_ORB_Core::collocation_strategy (object);
+
+ if (this->proxy_cache_[strategy] != 0)
+ return *this->proxy_cache_[strategy];
+
+ this->create_proxy (strategy, ACE_TRY_ENV);
+ ACE_CHECK_RETURN (*this->proxy_cache_[strategy]);
+
+ return *this->proxy_cache_[strategy];
+
+}
+
+void
+POA_CORBA::_TAO_ValueMemberDef_Strategized_Proxy_Broker::create_proxy (
+ int strategy,
+ CORBA::Environment &ACE_TRY_ENV
+ )
+{
+ ACE_GUARD (TAO_SYNCH_MUTEX, guard, this->mutex_);
+
+ if (this->proxy_cache_[strategy] == 0)
+ {
+ switch (strategy)
+ {
+ case TAO_Collocation_Strategies::CS_THRU_POA_STRATEGY:
+ ACE_NEW_THROW_EX (
+ this->proxy_cache_[strategy],
+ _TAO_ValueMemberDef_ThruPOA_Proxy_Impl,
+ CORBA::NO_MEMORY ()
+ );
+ ACE_CHECK;
+ break;
+
+ case TAO_Collocation_Strategies::CS_REMOTE_STRATEGY:
+ default:
+ ACE_NEW_THROW_EX (
+ this->proxy_cache_[strategy],
+ ::_TAO_ValueMemberDef_Remote_Proxy_Impl,
+ CORBA::NO_MEMORY ()
+ );
+ ACE_CHECK;
+ break;
+
+ }
+
+ }
+}
+
+
+//
+// End Strategized Proxy Broker Implementation
+///////////////////////////////////////////////////////////////////////
+
+
+_TAO_ValueMemberDef_Proxy_Broker *
+CORBA__TAO_ValueMemberDef_Proxy_Broker_Factory_function (CORBA::Object_ptr obj)
+{
+ ACE_UNUSED_ARG (obj);
+ return ::POA_CORBA::_TAO_ValueMemberDef_Strategized_Proxy_Broker::the_TAO_ValueMemberDef_Strategized_Proxy_Broker();
+}
+
+int
+CORBA__TAO_ValueMemberDef_Proxy_Broker_Factory_Initializer (long _dummy_)
+{
+ ACE_UNUSED_ARG (_dummy_);
+
+ CORBA__TAO_ValueMemberDef_Proxy_Broker_Factory_function_pointer =
+ CORBA__TAO_ValueMemberDef_Proxy_Broker_Factory_function;
+
+ return 0;
+}
+
+static int CORBA__TAO_ValueMemberDef_Proxy_Broker_Stub_Factory_Initializer_Scarecrow =
+ CORBA__TAO_ValueMemberDef_Proxy_Broker_Factory_Initializer (ACE_reinterpret_cast (long, CORBA__TAO_ValueMemberDef_Proxy_Broker_Factory_Initializer));
+
+
+///////////////////////////////////////////////////////////////////////
+// ThruPOA Proxy Implementation
+//
+
+POA_CORBA::_TAO_ValueMemberDef_ThruPOA_Proxy_Impl::_TAO_ValueMemberDef_ThruPOA_Proxy_Impl (void)
+{}
+
+// ThruPOA Implementation of the IDL interface methods
+
+CORBA::TypeCode_ptr POA_CORBA::_TAO_ValueMemberDef_ThruPOA_Proxy_Impl::type (
+ CORBA_Object *_collocated_tao_target_,
+ CORBA::Environment &ACE_TRY_ENV
+ )
+ ACE_THROW_SPEC ((
+ CORBA::SystemException
+ ))
+{
+ CORBA::TypeCode_var _tao_retval;
+ ACE_UNUSED_ARG (_tao_retval);
+ TAO_Object_Adapter::Servant_Upcall servant_upcall (
+ _collocated_tao_target_->_stubobj ()->servant_orb_var ()->orb_core ()
+ );
+ CORBA::Object_var forward_to;
+ servant_upcall.prepare_for_upcall (
+ _collocated_tao_target_->_object_key (),
+ "type",
+ forward_to.out (),
+ ACE_TRY_ENV
+ );
+ ACE_CHECK_RETURN (0);
+ return ACE_reinterpret_cast (
+ POA_CORBA::ValueMemberDef_ptr,
+ servant_upcall.servant ()->_downcast (
+ "IDL:omg.org/CORBA/ValueMemberDef:1.0"
+ )
+ )->type (
+ ACE_TRY_ENV
+ );
+}
+
+CORBA::IDLType_ptr POA_CORBA::_TAO_ValueMemberDef_ThruPOA_Proxy_Impl::type_def (
+ CORBA_Object *_collocated_tao_target_,
+ CORBA::Environment &ACE_TRY_ENV
+ )
+ ACE_THROW_SPEC ((
+ CORBA::SystemException
+ ))
+{
+ CORBA::IDLType_var _tao_retval;
+ ACE_UNUSED_ARG (_tao_retval);
+ TAO_Object_Adapter::Servant_Upcall servant_upcall (
+ _collocated_tao_target_->_stubobj ()->servant_orb_var ()->orb_core ()
+ );
+ CORBA::Object_var forward_to;
+ servant_upcall.prepare_for_upcall (
+ _collocated_tao_target_->_object_key (),
+ "type_def",
+ forward_to.out (),
+ ACE_TRY_ENV
+ );
+ ACE_CHECK_RETURN (0);
+ return ACE_reinterpret_cast (
+ POA_CORBA::ValueMemberDef_ptr,
+ servant_upcall.servant ()->_downcast (
+ "IDL:omg.org/CORBA/ValueMemberDef:1.0"
+ )
+ )->type_def (
+ ACE_TRY_ENV
+ );
+}
+
+void POA_CORBA::_TAO_ValueMemberDef_ThruPOA_Proxy_Impl::type_def (
+ CORBA_Object *_collocated_tao_target_,
+ CORBA::IDLType_ptr type_def,
+ CORBA::Environment &ACE_TRY_ENV
+ )
+ ACE_THROW_SPEC ((
+ CORBA::SystemException
+ ))
+{
+ TAO_Object_Adapter::Servant_Upcall servant_upcall (
+ _collocated_tao_target_->_stubobj ()->servant_orb_var ()->orb_core ()
+ );
+ CORBA::Object_var forward_to;
+ servant_upcall.prepare_for_upcall (
+ _collocated_tao_target_->_object_key (),
+ "type_def",
+ forward_to.out (),
+ ACE_TRY_ENV
+ );
+ ACE_CHECK;
+ ACE_reinterpret_cast (
+ POA_CORBA::ValueMemberDef_ptr,
+ servant_upcall.servant ()->_downcast (
+ "IDL:omg.org/CORBA/ValueMemberDef:1.0"
+ )
+ )->type_def (
+ type_def,
+ ACE_TRY_ENV
+ );
+ return;
+}
+
+CORBA::Visibility POA_CORBA::_TAO_ValueMemberDef_ThruPOA_Proxy_Impl::access (
+ CORBA_Object *_collocated_tao_target_,
+ CORBA::Environment &ACE_TRY_ENV
+ )
+ ACE_THROW_SPEC ((
+ CORBA::SystemException
+ ))
+{
+ CORBA::Visibility _tao_retval = 0;
+ ACE_UNUSED_ARG (_tao_retval);
+ TAO_Object_Adapter::Servant_Upcall servant_upcall (
+ _collocated_tao_target_->_stubobj ()->servant_orb_var ()->orb_core ()
+ );
+ CORBA::Object_var forward_to;
+ servant_upcall.prepare_for_upcall (
+ _collocated_tao_target_->_object_key (),
+ "access",
+ forward_to.out (),
+ ACE_TRY_ENV
+ );
+ ACE_CHECK_RETURN (_tao_retval);
+ return ACE_reinterpret_cast (
+ POA_CORBA::ValueMemberDef_ptr,
+ servant_upcall.servant ()->_downcast (
+ "IDL:omg.org/CORBA/ValueMemberDef:1.0"
+ )
+ )->access (
+ ACE_TRY_ENV
+ );
+}
+
+void POA_CORBA::_TAO_ValueMemberDef_ThruPOA_Proxy_Impl::access (
+ CORBA_Object *_collocated_tao_target_,
+ CORBA::Visibility access,
+ CORBA::Environment &ACE_TRY_ENV
+ )
+ ACE_THROW_SPEC ((
+ CORBA::SystemException
+ ))
+{
+ TAO_Object_Adapter::Servant_Upcall servant_upcall (
+ _collocated_tao_target_->_stubobj ()->servant_orb_var ()->orb_core ()
+ );
+ CORBA::Object_var forward_to;
+ servant_upcall.prepare_for_upcall (
+ _collocated_tao_target_->_object_key (),
+ "access",
+ forward_to.out (),
+ ACE_TRY_ENV
+ );
+ ACE_CHECK;
+ ACE_reinterpret_cast (
+ POA_CORBA::ValueMemberDef_ptr,
+ servant_upcall.servant ()->_downcast (
+ "IDL:omg.org/CORBA/ValueMemberDef:1.0"
+ )
+ )->access (
+ access,
+ ACE_TRY_ENV
+ );
+ return;
+}
+
+//
+// End ThruPOA Proxy Implementation
+///////////////////////////////////////////////////////////////////////
+
+// skeleton constructor
+POA_CORBA::ValueMemberDef::ValueMemberDef (void)
+{
+ this->optable_ = &tao_CORBA_ValueMemberDef_optable;
+}
+
+// copy ctor
+POA_CORBA::ValueMemberDef::ValueMemberDef (const ValueMemberDef& rhs)
+ : ACE_NESTED_CLASS (POA_CORBA,Contained) (rhs),
+ ACE_NESTED_CLASS (POA_CORBA,IRObject) (rhs),
+ TAO_ServantBase (rhs)
+{}
+
+// skeleton destructor
+POA_CORBA::ValueMemberDef::~ValueMemberDef (void)
+{
+}
+
+void POA_CORBA::ValueMemberDef::_get_type_skel (
+ TAO_ServerRequest &_tao_server_request,
+ void *_tao_object_reference,
+ void * /* context */,
+ CORBA::Environment &ACE_TRY_ENV
+ )
+{
+ POA_CORBA::ValueMemberDef *_tao_impl = (POA_CORBA::ValueMemberDef *)_tao_object_reference;
+
+ CORBA::TypeCode_var _tao_retval;
+
+#if (TAO_HAS_INTERCEPTORS == 1)
+ TAO_ServerRequestInterceptor_Adapter _tao_vfr (
+ _tao_server_request.orb_core ()->server_request_interceptors (),
+ _tao_server_request.interceptor_count ()
+ );
+
+ POA_CORBA::ValueMemberDef::TAO_ServerRequestInfo_CORBA_ValueMemberDef_type_get ri (
+ _tao_server_request,
+ _tao_impl,
+ ACE_TRY_ENV
+ );
+
+ ACE_TRY
+ {
+ _tao_vfr.receive_request (&ri, ACE_TRY_ENV);
+ ACE_TRY_CHECK;
+
+#endif /* TAO_HAS_INTERCEPTORS */
+ _tao_retval =
+ _tao_impl->type (
+ ACE_TRY_ENV
+ );
+ TAO_INTERCEPTOR_CHECK;
+
+#if (TAO_HAS_INTERCEPTORS == 1)
+ CORBA::TypeCode_ptr _tao_retval_info = _tao_retval._retn ();
+ ri.result (_tao_retval_info);
+ _tao_retval = _tao_retval_info;
+ ri.reply_status (PortableInterceptor::SUCCESSFUL);
+ _tao_vfr.send_reply (&ri, ACE_TRY_ENV);
+ ACE_TRY_CHECK;
+ }
+ ACE_CATCH (PortableInterceptor::ForwardRequest, exc)
+ {
+ ri.forward_reference (exc);
+ _tao_vfr.send_other (
+ &ri,
+ ACE_TRY_ENV
+ );
+ ACE_TRY_CHECK;
+ _tao_server_request.forward_location (exc.forward.in ());
+ }
+ ACE_CATCHANY
+ {
+ ri.exception (&ACE_ANY_EXCEPTION);
+ _tao_vfr.send_exception (
+ &ri,
+ ACE_TRY_ENV
+ );
+ ACE_TRY_CHECK;
+ ACE_RE_THROW;
+ }
+ ACE_ENDTRY;
+ ACE_CHECK;
+#endif /* TAO_HAS_INTERCEPTORS */
+
+ _tao_server_request.init_reply ();
+
+ TAO_OutputCDR &_tao_out = _tao_server_request.outgoing ();
+
+ if (!(
+ (_tao_out << _tao_retval.in ())
+ ))
+ ACE_THROW (CORBA::MARSHAL());
+
+ // In case ACE_TRY_ENV is not used in this function
+ ACE_UNUSED_ARG (ACE_TRY_ENV);
+}
+
+void POA_CORBA::ValueMemberDef::_get_type_def_skel (
+ TAO_ServerRequest &_tao_server_request,
+ void *_tao_object_reference,
+ void * /* context */,
+ CORBA::Environment &ACE_TRY_ENV
+ )
+{
+ POA_CORBA::ValueMemberDef *_tao_impl = (POA_CORBA::ValueMemberDef *)_tao_object_reference;
+
+ CORBA::IDLType_var _tao_retval;
+
+#if (TAO_HAS_INTERCEPTORS == 1)
+ TAO_ServerRequestInterceptor_Adapter _tao_vfr (
+ _tao_server_request.orb_core ()->server_request_interceptors (),
+ _tao_server_request.interceptor_count ()
+ );
+
+ POA_CORBA::ValueMemberDef::TAO_ServerRequestInfo_CORBA_ValueMemberDef_type_def_get ri (
+ _tao_server_request,
+ _tao_impl,
+ ACE_TRY_ENV
+ );
+
+ ACE_TRY
+ {
+ _tao_vfr.receive_request (&ri, ACE_TRY_ENV);
+ ACE_TRY_CHECK;
+
+#endif /* TAO_HAS_INTERCEPTORS */
+ _tao_retval =
+ _tao_impl->type_def (
+ ACE_TRY_ENV
+ );
+ TAO_INTERCEPTOR_CHECK;
+
+#if (TAO_HAS_INTERCEPTORS == 1)
+ CORBA::IDLType_ptr _tao_retval_info = _tao_retval._retn ();
+ ri.result (_tao_retval_info);
+ _tao_retval = _tao_retval_info;
+ ri.reply_status (PortableInterceptor::SUCCESSFUL);
+ _tao_vfr.send_reply (&ri, ACE_TRY_ENV);
+ ACE_TRY_CHECK;
+ }
+ ACE_CATCH (PortableInterceptor::ForwardRequest, exc)
+ {
+ ri.forward_reference (exc);
+ _tao_vfr.send_other (
+ &ri,
+ ACE_TRY_ENV
+ );
+ ACE_TRY_CHECK;
+ _tao_server_request.forward_location (exc.forward.in ());
+ }
+ ACE_CATCHANY
+ {
+ ri.exception (&ACE_ANY_EXCEPTION);
+ _tao_vfr.send_exception (
+ &ri,
+ ACE_TRY_ENV
+ );
+ ACE_TRY_CHECK;
+ ACE_RE_THROW;
+ }
+ ACE_ENDTRY;
+ ACE_CHECK;
+#endif /* TAO_HAS_INTERCEPTORS */
+
+ _tao_server_request.init_reply ();
+
+ TAO_OutputCDR &_tao_out = _tao_server_request.outgoing ();
+
+ if (!(
+ (_tao_out << _tao_retval.in ())
+ ))
+ ACE_THROW (CORBA::MARSHAL());
+
+ // In case ACE_TRY_ENV is not used in this function
+ ACE_UNUSED_ARG (ACE_TRY_ENV);
+}
+
+void POA_CORBA::ValueMemberDef::_set_type_def_skel (
+ TAO_ServerRequest &_tao_server_request,
+ void *_tao_object_reference,
+ void * /* context */,
+ CORBA::Environment &ACE_TRY_ENV
+ )
+{
+ TAO_InputCDR &_tao_in = _tao_server_request.incoming ();
+ POA_CORBA::ValueMemberDef *_tao_impl = (POA_CORBA::ValueMemberDef *)_tao_object_reference;
+
+ _tao_server_request.argument_flag (0);
+ CORBA::IDLType_var type_def;
+ if (!(
+ (_tao_in >> type_def.out ())
+ ))
+ ACE_THROW (CORBA::MARSHAL());
+
+
+#if (TAO_HAS_INTERCEPTORS == 1)
+ TAO_ServerRequestInterceptor_Adapter _tao_vfr (
+ _tao_server_request.orb_core ()->server_request_interceptors (),
+ _tao_server_request.interceptor_count ()
+ );
+
+ POA_CORBA::ValueMemberDef::TAO_ServerRequestInfo_CORBA_ValueMemberDef_type_def_set ri (
+ _tao_server_request,
+ _tao_impl,
+ type_def.in (),
+ ACE_TRY_ENV
+ );
+
+ ACE_TRY
+ {
+ _tao_vfr.receive_request (&ri, ACE_TRY_ENV);
+ ACE_TRY_CHECK;
+
+#endif /* TAO_HAS_INTERCEPTORS */
+
+ _tao_impl->type_def (
+ type_def.in (),
+ ACE_TRY_ENV
+ );
+ TAO_INTERCEPTOR_CHECK;
+
+#if (TAO_HAS_INTERCEPTORS == 1)
+ ri.reply_status (PortableInterceptor::SUCCESSFUL);
+ _tao_vfr.send_reply (&ri, ACE_TRY_ENV);
+ ACE_TRY_CHECK;
+ }
+ ACE_CATCH (PortableInterceptor::ForwardRequest, exc)
+ {
+ ri.forward_reference (exc);
+ _tao_vfr.send_other (
+ &ri,
+ ACE_TRY_ENV
+ );
+ ACE_TRY_CHECK;
+ _tao_server_request.forward_location (exc.forward.in ());
+ }
+ ACE_CATCHANY
+ {
+ ri.exception (&ACE_ANY_EXCEPTION);
+ _tao_vfr.send_exception (
+ &ri,
+ ACE_TRY_ENV
+ );
+ ACE_TRY_CHECK;
+ ACE_RE_THROW;
+ }
+ ACE_ENDTRY;
+ ACE_CHECK;
+#endif /* TAO_HAS_INTERCEPTORS */
+
+ _tao_server_request.init_reply ();
+
+ // In case ACE_TRY_ENV is not used in this function
+ ACE_UNUSED_ARG (ACE_TRY_ENV);
+}
+
+void POA_CORBA::ValueMemberDef::_get_access_skel (
+ TAO_ServerRequest &_tao_server_request,
+ void *_tao_object_reference,
+ void * /* context */,
+ CORBA::Environment &ACE_TRY_ENV
+ )
+{
+ POA_CORBA::ValueMemberDef *_tao_impl = (POA_CORBA::ValueMemberDef *)_tao_object_reference;
+
+ CORBA::Visibility _tao_retval = 0;
+
+#if (TAO_HAS_INTERCEPTORS == 1)
+ TAO_ServerRequestInterceptor_Adapter _tao_vfr (
+ _tao_server_request.orb_core ()->server_request_interceptors (),
+ _tao_server_request.interceptor_count ()
+ );
+
+ POA_CORBA::ValueMemberDef::TAO_ServerRequestInfo_CORBA_ValueMemberDef_access_get ri (
+ _tao_server_request,
+ _tao_impl,
+ ACE_TRY_ENV
+ );
+
+ ACE_TRY
+ {
+ _tao_vfr.receive_request (&ri, ACE_TRY_ENV);
+ ACE_TRY_CHECK;
+
+#endif /* TAO_HAS_INTERCEPTORS */
+ _tao_retval =
+ _tao_impl->access (
+ ACE_TRY_ENV
+ );
+ TAO_INTERCEPTOR_CHECK;
+
+#if (TAO_HAS_INTERCEPTORS == 1)
+ CORBA::Visibility _tao_retval_info = _tao_retval;
+ ri.result (_tao_retval_info);
+ ri.reply_status (PortableInterceptor::SUCCESSFUL);
+ _tao_vfr.send_reply (&ri, ACE_TRY_ENV);
+ ACE_TRY_CHECK;
+ }
+ ACE_CATCH (PortableInterceptor::ForwardRequest, exc)
+ {
+ ri.forward_reference (exc);
+ _tao_vfr.send_other (
+ &ri,
+ ACE_TRY_ENV
+ );
+ ACE_TRY_CHECK;
+ _tao_server_request.forward_location (exc.forward.in ());
+ }
+ ACE_CATCHANY
+ {
+ ri.exception (&ACE_ANY_EXCEPTION);
+ _tao_vfr.send_exception (
+ &ri,
+ ACE_TRY_ENV
+ );
+ ACE_TRY_CHECK;
+ ACE_RE_THROW;
+ }
+ ACE_ENDTRY;
+ ACE_CHECK;
+#endif /* TAO_HAS_INTERCEPTORS */
+
+ _tao_server_request.init_reply ();
+
+ TAO_OutputCDR &_tao_out = _tao_server_request.outgoing ();
+
+ if (!(
+ (_tao_out << _tao_retval)
+ ))
+ ACE_THROW (CORBA::MARSHAL());
+
+ // In case ACE_TRY_ENV is not used in this function
+ ACE_UNUSED_ARG (ACE_TRY_ENV);
+}
+
+void POA_CORBA::ValueMemberDef::_set_access_skel (
+ TAO_ServerRequest &_tao_server_request,
+ void *_tao_object_reference,
+ void * /* context */,
+ CORBA::Environment &ACE_TRY_ENV
+ )
+{
+ TAO_InputCDR &_tao_in = _tao_server_request.incoming ();
+ POA_CORBA::ValueMemberDef *_tao_impl = (POA_CORBA::ValueMemberDef *)_tao_object_reference;
+
+ _tao_server_request.argument_flag (0);
+ CORBA::Visibility access;
+ if (!(
+ (_tao_in >> access)
+ ))
+ ACE_THROW (CORBA::MARSHAL());
+
+
+#if (TAO_HAS_INTERCEPTORS == 1)
+ TAO_ServerRequestInterceptor_Adapter _tao_vfr (
+ _tao_server_request.orb_core ()->server_request_interceptors (),
+ _tao_server_request.interceptor_count ()
+ );
+
+ POA_CORBA::ValueMemberDef::TAO_ServerRequestInfo_CORBA_ValueMemberDef_access_set ri (
+ _tao_server_request,
+ _tao_impl,
+ access,
+ ACE_TRY_ENV
+ );
+
+ ACE_TRY
+ {
+ _tao_vfr.receive_request (&ri, ACE_TRY_ENV);
+ ACE_TRY_CHECK;
+
+#endif /* TAO_HAS_INTERCEPTORS */
+
+ _tao_impl->access (
+ access,
+ ACE_TRY_ENV
+ );
+ TAO_INTERCEPTOR_CHECK;
+
+#if (TAO_HAS_INTERCEPTORS == 1)
+ ri.reply_status (PortableInterceptor::SUCCESSFUL);
+ _tao_vfr.send_reply (&ri, ACE_TRY_ENV);
+ ACE_TRY_CHECK;
+ }
+ ACE_CATCH (PortableInterceptor::ForwardRequest, exc)
+ {
+ ri.forward_reference (exc);
+ _tao_vfr.send_other (
+ &ri,
+ ACE_TRY_ENV
+ );
+ ACE_TRY_CHECK;
+ _tao_server_request.forward_location (exc.forward.in ());
+ }
+ ACE_CATCHANY
+ {
+ ri.exception (&ACE_ANY_EXCEPTION);
+ _tao_vfr.send_exception (
+ &ri,
+ ACE_TRY_ENV
+ );
+ ACE_TRY_CHECK;
+ ACE_RE_THROW;
+ }
+ ACE_ENDTRY;
+ ACE_CHECK;
+#endif /* TAO_HAS_INTERCEPTORS */
+
+ _tao_server_request.init_reply ();
+
+ // In case ACE_TRY_ENV is not used in this function
+ ACE_UNUSED_ARG (ACE_TRY_ENV);
+}
+
+void POA_CORBA::ValueMemberDef::_is_a_skel (
+ TAO_ServerRequest &_tao_server_request,
+ void * _tao_object_reference,
+ void * /* context */,
+ CORBA::Environment &ACE_TRY_ENV
+ )
+{
+ TAO_InputCDR &_tao_in = _tao_server_request.incoming ();
+ POA_CORBA::ValueMemberDef *_tao_impl = (POA_CORBA::ValueMemberDef *) _tao_object_reference;
+ CORBA::Boolean _tao_retval = 0;
+ CORBA::String_var value;
+ if (!(_tao_in >> value.out ()))
+ ACE_THROW (CORBA::MARSHAL ());
+
+ _tao_retval = _tao_impl->_is_a (value.in (), ACE_TRY_ENV);
+ ACE_CHECK;
+
+ _tao_server_request.init_reply ();
+ TAO_OutputCDR &_tao_out = _tao_server_request.outgoing ();
+ if (!(_tao_out << CORBA::Any::from_boolean (_tao_retval)))
+ ACE_THROW (CORBA::MARSHAL ());
+}
+
+void POA_CORBA::ValueMemberDef::_non_existent_skel (
+ TAO_ServerRequest &_tao_server_request,
+ void * _tao_object_reference,
+ void * /* context */,
+ CORBA::Environment &ACE_TRY_ENV
+ )
+{
+ POA_CORBA::ValueMemberDef *_tao_impl = (POA_CORBA::ValueMemberDef *) _tao_object_reference;
+ CORBA::Boolean _tao_retval = _tao_impl->_non_existent (ACE_TRY_ENV);
+ ACE_CHECK;
+
+ _tao_server_request.init_reply ();
+ TAO_OutputCDR &_tao_out = _tao_server_request.outgoing ();
+ if (!(_tao_out << CORBA::Any::from_boolean (_tao_retval)))
+ ACE_THROW (CORBA::MARSHAL ());
+}
+
+CORBA::Boolean POA_CORBA::ValueMemberDef::_is_a (
+ const char* value,
+ CORBA::Environment &ACE_TRY_ENV
+ )
+{
+ const char *base_id = CORBA::_tc_Object->id (ACE_TRY_ENV);
+ ACE_CHECK_RETURN (0);
+
+ if (
+ (!ACE_OS::strcmp ((char *)value, "IDL:omg.org/CORBA/ValueMemberDef:1.0")) ||
+ (!ACE_OS::strcmp ((char *)value, "IDL:omg.org/CORBA/Contained:1.0")) ||
+ (!ACE_OS::strcmp ((char *)value, "IDL:omg.org/CORBA/IRObject:1.0")) ||
+ (!ACE_OS::strcmp ((char *)value, base_id)))
+ return 1;
+ else
+ return 0;
+}
+
+void* POA_CORBA::ValueMemberDef::_downcast (
+ const char* logical_type_id
+ )
+{
+ if (ACE_OS::strcmp (logical_type_id, "IDL:omg.org/CORBA/ValueMemberDef:1.0") == 0)
+ return ACE_static_cast (POA_CORBA::ValueMemberDef_ptr, this);
+ if (ACE_OS::strcmp (logical_type_id, "IDL:omg.org/CORBA/Contained:1.0") == 0)
+ return ACE_static_cast (POA_CORBA::Contained_ptr, this);
+ if (ACE_OS::strcmp (logical_type_id, "IDL:omg.org/CORBA/IRObject:1.0") == 0)
+ return ACE_static_cast (POA_CORBA::IRObject_ptr, this);
+ if (ACE_OS::strcmp (logical_type_id, "IDL:omg.org/CORBA/Object:1.0") == 0)
+ return ACE_static_cast(PortableServer::Servant, this);
+ return 0;
+}
+
+void POA_CORBA::ValueMemberDef::_dispatch (TAO_ServerRequest &req, void *context, CORBA::Environment &ACE_TRY_ENV)
+{
+ this->synchronous_upcall_dispatch(req, context, this, ACE_TRY_ENV);
+}
+
+const char* POA_CORBA::ValueMemberDef::_interface_repository_id (void) const
+{
+ return "IDL:omg.org/CORBA/ValueMemberDef:1.0";
+}
+
+CORBA::ValueMemberDef*
+POA_CORBA::ValueMemberDef::_this (CORBA_Environment &ACE_TRY_ENV)
+{
+ TAO_Stub *stub = this->_create_stub (ACE_TRY_ENV);
+ ACE_CHECK_RETURN (0);
+
+ CORBA::Object_ptr tmp = CORBA::Object::_nil ();
+
+ if (stub->servant_orb_var ()->orb_core ()->optimize_collocation_objects ())
+ ACE_NEW_RETURN (tmp, CORBA::Object (stub, 1, this), 0);
+ else
+ ACE_NEW_RETURN (tmp, CORBA::Object (stub, 0, this), 0);
+
+ CORBA::Object_var obj = tmp;
+ return ::CORBA::ValueMemberDef::_unchecked_narrow (obj.in ());
+}
+
+
+#if (TAO_HAS_INTERCEPTORS == 1)
+POA_CORBA::ValueMemberDef::TAO_ServerRequestInfo_CORBA_ValueMemberDef_type_get::TAO_ServerRequestInfo_CORBA_ValueMemberDef_type_get (
+ TAO_ServerRequest &_tao_server_request,
+ POA_CORBA::ValueMemberDef *tao_impl,
+ CORBA::Environment &
+ )
+ : TAO_ServerRequestInfo (_tao_server_request),
+ _tao_impl (tao_impl)
+{}
+
+Dynamic::ParameterList *
+POA_CORBA::ValueMemberDef::TAO_ServerRequestInfo_CORBA_ValueMemberDef_type_get::arguments (CORBA::Environment &ACE_TRY_ENV)
+ ACE_THROW_SPEC ((CORBA::SystemException))
+{
+ // Generate the argument list on demand.
+ Dynamic::ParameterList *parameter_list =
+ TAO_RequestInfo_Util::make_parameter_list (ACE_TRY_ENV);
+ ACE_CHECK_RETURN (0);
+
+ return parameter_list;
+}
+
+Dynamic::ExceptionList *
+POA_CORBA::ValueMemberDef::TAO_ServerRequestInfo_CORBA_ValueMemberDef_type_get::exceptions (CORBA::Environment &ACE_TRY_ENV)
+ ACE_THROW_SPEC ((CORBA::SystemException))
+{
+ // Generate the exception list on demand.
+ Dynamic::ExceptionList *exception_list =
+ TAO_RequestInfo_Util::make_exception_list (ACE_TRY_ENV);
+ ACE_CHECK_RETURN (0);
+
+ return exception_list;
+}
+
+CORBA::Any *
+POA_CORBA::ValueMemberDef::TAO_ServerRequestInfo_CORBA_ValueMemberDef_type_get::result (CORBA::Environment &ACE_TRY_ENV)
+ ACE_THROW_SPEC ((CORBA::SystemException))
+{
+ // Generate the result on demand.
+ CORBA::Boolean tk_void_any = 0;
+ CORBA::Any *result_any =
+ TAO_RequestInfo_Util::make_any (tk_void_any, ACE_TRY_ENV);
+ ACE_CHECK_RETURN (0);
+
+ CORBA::Any_var safe_result_any = result_any;
+
+ (*result_any) <<= this->_result;
+
+ return safe_result_any._retn ();
+}
+
+char *
+POA_CORBA::ValueMemberDef::TAO_ServerRequestInfo_CORBA_ValueMemberDef_type_get::target_most_derived_interface (
+ CORBA::Environment &)
+ ACE_THROW_SPEC ((CORBA::SystemException))
+{
+ return
+ CORBA::string_dup (this->_tao_impl->_interface_repository_id ());
+}
+
+CORBA::Boolean
+POA_CORBA::ValueMemberDef::TAO_ServerRequestInfo_CORBA_ValueMemberDef_type_get::target_is_a (
+ const char * id,
+ CORBA::Environment &ACE_TRY_ENV)
+ ACE_THROW_SPEC ((CORBA::SystemException))
+{
+ return this->_tao_impl->_is_a (id, ACE_TRY_ENV);
+}
+
+void
+POA_CORBA::ValueMemberDef::TAO_ServerRequestInfo_CORBA_ValueMemberDef_type_get::result (CORBA::TypeCode_ptr result)
+{
+ // Update the result.
+ this->_result = result;
+}
+
+POA_CORBA::ValueMemberDef::TAO_ServerRequestInfo_CORBA_ValueMemberDef_type_def_get::TAO_ServerRequestInfo_CORBA_ValueMemberDef_type_def_get (
+ TAO_ServerRequest &_tao_server_request,
+ POA_CORBA::ValueMemberDef *tao_impl,
+ CORBA::Environment &
+ )
+ : TAO_ServerRequestInfo (_tao_server_request),
+ _tao_impl (tao_impl)
+{}
+
+Dynamic::ParameterList *
+POA_CORBA::ValueMemberDef::TAO_ServerRequestInfo_CORBA_ValueMemberDef_type_def_get::arguments (CORBA::Environment &ACE_TRY_ENV)
+ ACE_THROW_SPEC ((CORBA::SystemException))
+{
+ // Generate the argument list on demand.
+ Dynamic::ParameterList *parameter_list =
+ TAO_RequestInfo_Util::make_parameter_list (ACE_TRY_ENV);
+ ACE_CHECK_RETURN (0);
+
+ return parameter_list;
+}
+
+Dynamic::ExceptionList *
+POA_CORBA::ValueMemberDef::TAO_ServerRequestInfo_CORBA_ValueMemberDef_type_def_get::exceptions (CORBA::Environment &ACE_TRY_ENV)
+ ACE_THROW_SPEC ((CORBA::SystemException))
+{
+ // Generate the exception list on demand.
+ Dynamic::ExceptionList *exception_list =
+ TAO_RequestInfo_Util::make_exception_list (ACE_TRY_ENV);
+ ACE_CHECK_RETURN (0);
+
+ return exception_list;
+}
+
+CORBA::Any *
+POA_CORBA::ValueMemberDef::TAO_ServerRequestInfo_CORBA_ValueMemberDef_type_def_get::result (CORBA::Environment &ACE_TRY_ENV)
+ ACE_THROW_SPEC ((CORBA::SystemException))
+{
+ // Generate the result on demand.
+ CORBA::Boolean tk_void_any = 0;
+ CORBA::Any *result_any =
+ TAO_RequestInfo_Util::make_any (tk_void_any, ACE_TRY_ENV);
+ ACE_CHECK_RETURN (0);
+
+ CORBA::Any_var safe_result_any = result_any;
+
+ (*result_any) <<= this->_result;
+
+ return safe_result_any._retn ();
+}
+
+char *
+POA_CORBA::ValueMemberDef::TAO_ServerRequestInfo_CORBA_ValueMemberDef_type_def_get::target_most_derived_interface (
+ CORBA::Environment &)
+ ACE_THROW_SPEC ((CORBA::SystemException))
+{
+ return
+ CORBA::string_dup (this->_tao_impl->_interface_repository_id ());
+}
+
+CORBA::Boolean
+POA_CORBA::ValueMemberDef::TAO_ServerRequestInfo_CORBA_ValueMemberDef_type_def_get::target_is_a (
+ const char * id,
+ CORBA::Environment &ACE_TRY_ENV)
+ ACE_THROW_SPEC ((CORBA::SystemException))
+{
+ return this->_tao_impl->_is_a (id, ACE_TRY_ENV);
+}
+
+void
+POA_CORBA::ValueMemberDef::TAO_ServerRequestInfo_CORBA_ValueMemberDef_type_def_get::result (CORBA::IDLType_ptr result)
+{
+ // Update the result.
+ this->_result = result;
+}
+
+POA_CORBA::ValueMemberDef::TAO_ServerRequestInfo_CORBA_ValueMemberDef_type_def_set::TAO_ServerRequestInfo_CORBA_ValueMemberDef_type_def_set (
+ TAO_ServerRequest &_tao_server_request,
+ POA_CORBA::ValueMemberDef *tao_impl,
+ CORBA::IDLType_ptr type_def,
+ CORBA::Environment &
+ )
+ : TAO_ServerRequestInfo (_tao_server_request),
+ _tao_impl (tao_impl),
+ type_def_ (type_def)
+{}
+
+Dynamic::ParameterList *
+POA_CORBA::ValueMemberDef::TAO_ServerRequestInfo_CORBA_ValueMemberDef_type_def_set::arguments (CORBA::Environment &ACE_TRY_ENV)
+ ACE_THROW_SPEC ((CORBA::SystemException))
+{
+ // Generate the argument list on demand.
+ Dynamic::ParameterList *parameter_list =
+ TAO_RequestInfo_Util::make_parameter_list (ACE_TRY_ENV);
+ ACE_CHECK_RETURN (0);
+
+ Dynamic::ParameterList_var safe_parameter_list = parameter_list;
+
+ CORBA::ULong length_type_def = parameter_list->length ();
+ parameter_list->length (length_type_def + 1);
+ (*parameter_list)[length_type_def].argument <<= this->type_def_;
+
+ (*parameter_list)[length_type_def].mode = Dynamic::PARAM_IN;
+
+ return safe_parameter_list._retn ();
+}
+
+Dynamic::ExceptionList *
+POA_CORBA::ValueMemberDef::TAO_ServerRequestInfo_CORBA_ValueMemberDef_type_def_set::exceptions (CORBA::Environment &ACE_TRY_ENV)
+ ACE_THROW_SPEC ((CORBA::SystemException))
+{
+ // Generate the exception list on demand.
+ Dynamic::ExceptionList *exception_list =
+ TAO_RequestInfo_Util::make_exception_list (ACE_TRY_ENV);
+ ACE_CHECK_RETURN (0);
+
+ return exception_list;
+}
+
+CORBA::Any *
+POA_CORBA::ValueMemberDef::TAO_ServerRequestInfo_CORBA_ValueMemberDef_type_def_set::result (CORBA::Environment &ACE_TRY_ENV)
+ ACE_THROW_SPEC ((CORBA::SystemException))
+{
+ // Generate the result on demand.
+ CORBA::Boolean tk_void_any = 1;
+ CORBA::Any *result_any =
+ TAO_RequestInfo_Util::make_any (tk_void_any, ACE_TRY_ENV);
+ ACE_CHECK_RETURN (0);
+
+ return result_any;
+}
+
+char *
+POA_CORBA::ValueMemberDef::TAO_ServerRequestInfo_CORBA_ValueMemberDef_type_def_set::target_most_derived_interface (
+ CORBA::Environment &)
+ ACE_THROW_SPEC ((CORBA::SystemException))
+{
+ return
+ CORBA::string_dup (this->_tao_impl->_interface_repository_id ());
+}
+
+CORBA::Boolean
+POA_CORBA::ValueMemberDef::TAO_ServerRequestInfo_CORBA_ValueMemberDef_type_def_set::target_is_a (
+ const char * id,
+ CORBA::Environment &ACE_TRY_ENV)
+ ACE_THROW_SPEC ((CORBA::SystemException))
+{
+ return this->_tao_impl->_is_a (id, ACE_TRY_ENV);
+}
+
+POA_CORBA::ValueMemberDef::TAO_ServerRequestInfo_CORBA_ValueMemberDef_access_get::TAO_ServerRequestInfo_CORBA_ValueMemberDef_access_get (
+ TAO_ServerRequest &_tao_server_request,
+ POA_CORBA::ValueMemberDef *tao_impl,
+ CORBA::Environment &
+ )
+ : TAO_ServerRequestInfo (_tao_server_request),
+ _tao_impl (tao_impl)
+{}
+
+Dynamic::ParameterList *
+POA_CORBA::ValueMemberDef::TAO_ServerRequestInfo_CORBA_ValueMemberDef_access_get::arguments (CORBA::Environment &ACE_TRY_ENV)
+ ACE_THROW_SPEC ((CORBA::SystemException))
+{
+ // Generate the argument list on demand.
+ Dynamic::ParameterList *parameter_list =
+ TAO_RequestInfo_Util::make_parameter_list (ACE_TRY_ENV);
+ ACE_CHECK_RETURN (0);
+
+ return parameter_list;
+}
+
+Dynamic::ExceptionList *
+POA_CORBA::ValueMemberDef::TAO_ServerRequestInfo_CORBA_ValueMemberDef_access_get::exceptions (CORBA::Environment &ACE_TRY_ENV)
+ ACE_THROW_SPEC ((CORBA::SystemException))
+{
+ // Generate the exception list on demand.
+ Dynamic::ExceptionList *exception_list =
+ TAO_RequestInfo_Util::make_exception_list (ACE_TRY_ENV);
+ ACE_CHECK_RETURN (0);
+
+ return exception_list;
+}
+
+CORBA::Any *
+POA_CORBA::ValueMemberDef::TAO_ServerRequestInfo_CORBA_ValueMemberDef_access_get::result (CORBA::Environment &ACE_TRY_ENV)
+ ACE_THROW_SPEC ((CORBA::SystemException))
+{
+ // Generate the result on demand.
+ CORBA::Boolean tk_void_any = 0;
+ CORBA::Any *result_any =
+ TAO_RequestInfo_Util::make_any (tk_void_any, ACE_TRY_ENV);
+ ACE_CHECK_RETURN (0);
+
+ CORBA::Any_var safe_result_any = result_any;
+
+ (*result_any) <<= this->_result;
+
+ return safe_result_any._retn ();
+}
+
+char *
+POA_CORBA::ValueMemberDef::TAO_ServerRequestInfo_CORBA_ValueMemberDef_access_get::target_most_derived_interface (
+ CORBA::Environment &)
+ ACE_THROW_SPEC ((CORBA::SystemException))
+{
+ return
+ CORBA::string_dup (this->_tao_impl->_interface_repository_id ());
+}
+
+CORBA::Boolean
+POA_CORBA::ValueMemberDef::TAO_ServerRequestInfo_CORBA_ValueMemberDef_access_get::target_is_a (
+ const char * id,
+ CORBA::Environment &ACE_TRY_ENV)
+ ACE_THROW_SPEC ((CORBA::SystemException))
+{
+ return this->_tao_impl->_is_a (id, ACE_TRY_ENV);
+}
+
+void
+POA_CORBA::ValueMemberDef::TAO_ServerRequestInfo_CORBA_ValueMemberDef_access_get::result (CORBA::Visibility result)
+{
+ // Update the result.
+ this->_result = result;
+}
+
+POA_CORBA::ValueMemberDef::TAO_ServerRequestInfo_CORBA_ValueMemberDef_access_set::TAO_ServerRequestInfo_CORBA_ValueMemberDef_access_set (
+ TAO_ServerRequest &_tao_server_request,
+ POA_CORBA::ValueMemberDef *tao_impl,
+ const CORBA::Visibility & access,
+ CORBA::Environment &
+ )
+ : TAO_ServerRequestInfo (_tao_server_request),
+ _tao_impl (tao_impl),
+ access_ (access)
+{}
+
+Dynamic::ParameterList *
+POA_CORBA::ValueMemberDef::TAO_ServerRequestInfo_CORBA_ValueMemberDef_access_set::arguments (CORBA::Environment &ACE_TRY_ENV)
+ ACE_THROW_SPEC ((CORBA::SystemException))
+{
+ // Generate the argument list on demand.
+ Dynamic::ParameterList *parameter_list =
+ TAO_RequestInfo_Util::make_parameter_list (ACE_TRY_ENV);
+ ACE_CHECK_RETURN (0);
+
+ Dynamic::ParameterList_var safe_parameter_list = parameter_list;
+
+ CORBA::ULong length_access = parameter_list->length ();
+ parameter_list->length (length_access + 1);
+ (*parameter_list)[length_access].argument <<= access_;
+ (*parameter_list)[length_access].mode = Dynamic::PARAM_IN;
+
+ return safe_parameter_list._retn ();
+}
+
+Dynamic::ExceptionList *
+POA_CORBA::ValueMemberDef::TAO_ServerRequestInfo_CORBA_ValueMemberDef_access_set::exceptions (CORBA::Environment &ACE_TRY_ENV)
+ ACE_THROW_SPEC ((CORBA::SystemException))
+{
+ // Generate the exception list on demand.
+ Dynamic::ExceptionList *exception_list =
+ TAO_RequestInfo_Util::make_exception_list (ACE_TRY_ENV);
+ ACE_CHECK_RETURN (0);
+
+ return exception_list;
+}
+
+CORBA::Any *
+POA_CORBA::ValueMemberDef::TAO_ServerRequestInfo_CORBA_ValueMemberDef_access_set::result (CORBA::Environment &ACE_TRY_ENV)
+ ACE_THROW_SPEC ((CORBA::SystemException))
+{
+ // Generate the result on demand.
+ CORBA::Boolean tk_void_any = 1;
+ CORBA::Any *result_any =
+ TAO_RequestInfo_Util::make_any (tk_void_any, ACE_TRY_ENV);
+ ACE_CHECK_RETURN (0);
+
+ return result_any;
+}
+
+char *
+POA_CORBA::ValueMemberDef::TAO_ServerRequestInfo_CORBA_ValueMemberDef_access_set::target_most_derived_interface (
+ CORBA::Environment &)
+ ACE_THROW_SPEC ((CORBA::SystemException))
+{
+ return
+ CORBA::string_dup (this->_tao_impl->_interface_repository_id ());
+}
+
+CORBA::Boolean
+POA_CORBA::ValueMemberDef::TAO_ServerRequestInfo_CORBA_ValueMemberDef_access_set::target_is_a (
+ const char * id,
+ CORBA::Environment &ACE_TRY_ENV)
+ ACE_THROW_SPEC ((CORBA::SystemException))
+{
+ return this->_tao_impl->_is_a (id, ACE_TRY_ENV);
+}
+
+#endif /* TAO_HAS_INTERCEPTORS */
+class TAO_CORBA_ValueDef_Perfect_Hash_OpTable : public TAO_Perfect_Hash_OpTable
+{
+private:
+ unsigned int hash (const char *str, unsigned int len);
+public:
+ const TAO_operation_db_entry * lookup (const char *str, unsigned int len);
+};
+/* starting time is 10:44:40 */
+/* C++ code produced by gperf version 2.8 (ACE version) */
+/* Command-line: gperf -m -M -J -c -C -D -E -T -f 0 -F 0 -a -o -t -p -K opname_ -L C++ -Z TAO_CORBA_ValueDef_Perfect_Hash_OpTable -N lookup */
+unsigned int
+TAO_CORBA_ValueDef_Perfect_Hash_OpTable::hash (const char *str, unsigned int len)
+{
+ static const unsigned char asso_values[] =
+ {
+#if defined (ACE_MVS)
+ 86, 86, 86, 86, 86, 86, 86, 86, 86, 86,
+ 86, 86, 86, 86, 86, 86, 86, 86, 86, 86,
+ 86, 86, 86, 86, 86, 86, 86, 86, 86, 86,
+ 86, 86, 86, 86, 86, 86, 86, 86, 86, 86,
+ 86, 86, 86, 86, 86, 86, 86, 86, 86, 86,
+ 86, 86, 86, 86, 86, 86, 86, 86, 86, 86,
+ 86, 86, 86, 86, 86, 86, 86, 86, 86, 86,
+ 86, 86, 86, 86, 86, 86, 86, 86, 86, 86,
+ 86, 86, 86, 86, 86, 86, 86, 86, 86, 86,
+ 86, 86, 86, 86, 86, 86, 86, 86, 86, 86,
+ 86, 86, 86, 86, 86, 86, 86, 86, 86, 0,
+ 86, 86, 86, 86, 86, 86, 86, 86, 86, 86,
+ 86, 86, 86, 86, 86, 86, 86, 86, 86, 0,
+ 86, 55, 30, 0, 86, 86, 86, 20, 86, 86,
+ 86, 86, 86, 86, 86, 86, 86, 0, 0, 5,
+ 86, 0, 86, 0, 86, 86, 86, 86, 86, 86,
+ 86, 86, 15, 15, 86, 86, 86, 10, 10, 86,
+ 86, 86, 86, 86, 86, 86, 86, 86, 86, 86,
+ 86, 86, 86, 86, 86, 86, 86, 86, 86, 86,
+ 86, 86, 86, 86, 86, 86, 86, 86, 86, 86,
+ 86, 86, 86, 86, 86, 86, 86, 86, 86, 86,
+ 86, 86, 86, 86, 86, 86, 86, 86, 86, 86,
+ 86, 86, 86, 86, 86, 86, 86, 86, 86, 86,
+ 86, 86, 86, 86, 86, 86, 86, 86, 86, 86,
+ 86, 86, 86, 86, 86, 86, 86, 86, 86, 86,
+ 86, 86, 86, 86, 86, 86,
+#else
+ 86, 86, 86, 86, 86, 86, 86, 86, 86, 86,
+ 86, 86, 86, 86, 86, 86, 86, 86, 86, 86,
+ 86, 86, 86, 86, 86, 86, 86, 86, 86, 86,
+ 86, 86, 86, 86, 86, 86, 86, 86, 86, 86,
+ 86, 86, 86, 86, 86, 86, 86, 86, 86, 86,
+ 86, 86, 86, 86, 86, 86, 86, 86, 86, 86,
+ 86, 86, 86, 86, 86, 86, 86, 86, 86, 86,
+ 86, 86, 86, 86, 86, 86, 86, 86, 86, 86,
+ 86, 86, 86, 86, 86, 86, 86, 86, 86, 86,
+ 86, 86, 86, 86, 86, 0, 86, 0, 86, 55,
+ 30, 0, 86, 86, 86, 20, 86, 86, 0, 0,
+ 5, 86, 0, 86, 0, 15, 15, 86, 86, 86,
+ 10, 10, 86, 86, 86, 86, 86, 86,
+#endif /* ACE_MVS */
+ };
+ return len + asso_values[str[len - 1]] + asso_values[str[0]];
+}
+
+const class TAO_operation_db_entry *
+TAO_CORBA_ValueDef_Perfect_Hash_OpTable::lookup (const char *str, unsigned int len)
+{
+ enum
+ {
+ TOTAL_KEYWORDS = 52,
+ MIN_WORD_LENGTH = 4,
+ MAX_WORD_LENGTH = 26,
+ MIN_HASH_VALUE = 4,
+ MAX_HASH_VALUE = 85,
+ HASH_VALUE_RANGE = 82,
+ DUPLICATES = 16
+ };
+
+ static const class TAO_operation_db_entry wordlist[] =
+ {
+ {"",0},{"",0},{"",0},{"",0},
+ {"move", &POA_CORBA::ValueDef::move_skel},
+ {"_is_a", &POA_CORBA::ValueDef::_is_a_skel},
+ {"lookup", &POA_CORBA::ValueDef::lookup_skel},
+ {"_get_name", &POA_CORBA::ValueDef::_get_name_skel},
+ {"_get_type", &POA_CORBA::ValueDef::_get_type_skel},
+ {"_set_name", &POA_CORBA::ValueDef::_set_name_skel},
+ {"lookup_name", &POA_CORBA::ValueDef::lookup_name_skel},
+ {"_get_is_custom", &POA_CORBA::ValueDef::_get_is_custom_skel},
+ {"_set_is_custom", &POA_CORBA::ValueDef::_set_is_custom_skel},
+ {"_get_base_value", &POA_CORBA::ValueDef::_get_base_value_skel},
+ {"_set_base_value", &POA_CORBA::ValueDef::_set_base_value_skel},
+ {"_get_version", &POA_CORBA::ValueDef::_get_version_skel},
+ {"_set_version", &POA_CORBA::ValueDef::_set_version_skel},
+ {"_get_absolute_name", &POA_CORBA::ValueDef::_get_absolute_name_skel},
+ {"_get_is_truncatable", &POA_CORBA::ValueDef::_get_is_truncatable_skel},
+ {"_set_is_truncatable", &POA_CORBA::ValueDef::_set_is_truncatable_skel},
+ {"_get_defined_in", &POA_CORBA::ValueDef::_get_defined_in_skel},
+ {"is_a", &POA_CORBA::ValueDef::is_a_skel},
+ {"_non_existent", &POA_CORBA::ValueDef::_non_existent_skel},
+ {"_get_is_abstract", &POA_CORBA::ValueDef::_get_is_abstract_skel},
+ {"_set_is_abstract", &POA_CORBA::ValueDef::_set_is_abstract_skel},
+ {"_get_initializers", &POA_CORBA::ValueDef::_get_initializers_skel},
+ {"_set_initializers", &POA_CORBA::ValueDef::_set_initializers_skel},
+ {"_get_containing_repository", &POA_CORBA::ValueDef::_get_containing_repository_skel},
+ {"_get_id", &POA_CORBA::ValueDef::_get_id_skel},
+ {"_set_id", &POA_CORBA::ValueDef::_set_id_skel},
+ {"describe", &POA_CORBA::ValueDef::describe_skel},
+ {"_get_supported_interfaces", &POA_CORBA::ValueDef::_get_supported_interfaces_skel},
+ {"_set_abstract_base_values", &POA_CORBA::ValueDef::_set_abstract_base_values_skel},
+ {"_get_abstract_base_values", &POA_CORBA::ValueDef::_get_abstract_base_values_skel},
+ {"_set_supported_interfaces", &POA_CORBA::ValueDef::_set_supported_interfaces_skel},
+ {"_get_def_kind", &POA_CORBA::ValueDef::_get_def_kind_skel},
+ {"describe_value", &POA_CORBA::ValueDef::describe_value_skel},
+ {"destroy", &POA_CORBA::ValueDef::destroy_skel},
+ {"describe_contents", &POA_CORBA::ValueDef::describe_contents_skel},
+ {"create_enum", &POA_CORBA::ValueDef::create_enum_skel},
+ {"create_value", &POA_CORBA::ValueDef::create_value_skel},
+ {"create_module", &POA_CORBA::ValueDef::create_module_skel},
+ {"create_native", &POA_CORBA::ValueDef::create_native_skel},
+ {"create_attribute", &POA_CORBA::ValueDef::create_attribute_skel},
+ {"create_interface", &POA_CORBA::ValueDef::create_interface_skel},
+ {"create_union", &POA_CORBA::ValueDef::create_union_skel},
+ {"create_value_member", &POA_CORBA::ValueDef::create_value_member_skel},
+ {"create_operation", &POA_CORBA::ValueDef::create_operation_skel},
+ {"create_exception", &POA_CORBA::ValueDef::create_exception_skel},
+ {"create_local_interface", &POA_CORBA::ValueDef::create_local_interface_skel},
+ {"contents", &POA_CORBA::ValueDef::contents_skel},
+ {"create_abstract_interface", &POA_CORBA::ValueDef::create_abstract_interface_skel},
+ {"create_value_box", &POA_CORBA::ValueDef::create_value_box_skel},
+ {"create_alias", &POA_CORBA::ValueDef::create_alias_skel},
+ {"create_struct", &POA_CORBA::ValueDef::create_struct_skel},
+ {"create_constant", &POA_CORBA::ValueDef::create_constant_skel},
+ };
+
+ static const signed char lookup[] =
+ {
+ -11, -2, -13, -2, 4, 5, 6, -15, -2, 117, -1, 10, -18, -2,
+ -99, -98, -1, -95, 17, -92, 20, -1, -23, -2, 21, -1, -25, -2,
+ 22, -28, -2, -94, -91, -1, -31, -4, 27, -93, 30, -1, -91, -7,
+ -3, 35, 36, -1, -1, 37, -1, -1, -1, -1, -1, -1, -1, -1,
+ -1, -1, -1, -1, -41, -2, 38, -1, -43, -2, 39, 40, -93, -47,
+ -2, -92, 45, -1, 46, -1, -92, 49, 50, -1, 51, 52, 53, 54,
+ -1, 55,
+ };
+
+ if (len <= MAX_WORD_LENGTH && len >= MIN_WORD_LENGTH)
+ {
+ unsigned int key = hash (str, len);
+
+ if (key <= MAX_HASH_VALUE && key >= MIN_HASH_VALUE)
+ {
+ int slot = lookup[key];
+
+ if (slot >= 0 && slot < MAX_HASH_VALUE)
+ {
+ const char *s = wordlist[slot].opname_;
+
+ if (*str == *s && !strncmp (str + 1, s + 1, len - 1))
+ return &wordlist[slot];
+ }
+ else if (slot < 0 && slot >= -MAX_HASH_VALUE)
+ return 0;
+ else
+ {
+ unsigned int offset = key + slot + (slot > 0 ? -MAX_HASH_VALUE : MAX_HASH_VALUE);
+ const class TAO_operation_db_entry *base = &wordlist[-lookup[offset]];
+ const class TAO_operation_db_entry *ptr = base + -lookup[offset + 1];
+
+ while (--ptr >= base)
+ if (*str == *ptr->opname_ && !strncmp (str + 1, ptr->opname_ + 1, len - 1))
+ return ptr;
+ }
+ }
+ }
+ return 0;
+}
+/* ending time is 10:44:40 */
+static TAO_CORBA_ValueDef_Perfect_Hash_OpTable tao_CORBA_ValueDef_optable;
+
+
+///////////////////////////////////////////////////////////////////////
+// Strategized Proxy Broker Implementation
+//
+
+// Factory function Implementation.
+POA_CORBA::_TAO_ValueDef_Strategized_Proxy_Broker *POA_CORBA::_TAO_ValueDef_Strategized_Proxy_Broker::the_TAO_ValueDef_Strategized_Proxy_Broker (void)
+{
+ static POA_CORBA::_TAO_ValueDef_Strategized_Proxy_Broker strategized_proxy_broker;
+ return &strategized_proxy_broker;
+}
+
+POA_CORBA::_TAO_ValueDef_Strategized_Proxy_Broker::_TAO_ValueDef_Strategized_Proxy_Broker (void)
+{
+ for (int i = 0; i < TAO_Collocation_Strategies::CS_LAST; ++i)
+ this->proxy_cache_[i] = 0;
+
+}
+
+POA_CORBA::_TAO_ValueDef_Strategized_Proxy_Broker::~_TAO_ValueDef_Strategized_Proxy_Broker (void)
+{
+ for (int i = 0; i < TAO_Collocation_Strategies::CS_LAST; ++i)
+ delete this->proxy_cache_[i];
+
+}
+
+_TAO_ValueDef_Proxy_Impl&
+POA_CORBA::_TAO_ValueDef_Strategized_Proxy_Broker::select_proxy (
+ ::CORBA::ValueDef *object,
+ CORBA::Environment &ACE_TRY_ENV
+ )
+{
+ int strategy =
+ TAO_ORB_Core::collocation_strategy (object);
+
+ if (this->proxy_cache_[strategy] != 0)
+ return *this->proxy_cache_[strategy];
+
+ this->create_proxy (strategy, ACE_TRY_ENV);
+ ACE_CHECK_RETURN (*this->proxy_cache_[strategy]);
+
+ return *this->proxy_cache_[strategy];
+
+}
+
+void
+POA_CORBA::_TAO_ValueDef_Strategized_Proxy_Broker::create_proxy (
+ int strategy,
+ CORBA::Environment &ACE_TRY_ENV
+ )
+{
+ ACE_GUARD (TAO_SYNCH_MUTEX, guard, this->mutex_);
+
+ if (this->proxy_cache_[strategy] == 0)
+ {
+ switch (strategy)
+ {
+ case TAO_Collocation_Strategies::CS_THRU_POA_STRATEGY:
+ ACE_NEW_THROW_EX (
+ this->proxy_cache_[strategy],
+ _TAO_ValueDef_ThruPOA_Proxy_Impl,
+ CORBA::NO_MEMORY ()
+ );
+ ACE_CHECK;
+ break;
+
+ case TAO_Collocation_Strategies::CS_REMOTE_STRATEGY:
+ default:
+ ACE_NEW_THROW_EX (
+ this->proxy_cache_[strategy],
+ ::_TAO_ValueDef_Remote_Proxy_Impl,
+ CORBA::NO_MEMORY ()
+ );
+ ACE_CHECK;
+ break;
+
+ }
+
+ }
+}
+
+
+//
+// End Strategized Proxy Broker Implementation
+///////////////////////////////////////////////////////////////////////
+
+
+_TAO_ValueDef_Proxy_Broker *
+CORBA__TAO_ValueDef_Proxy_Broker_Factory_function (CORBA::Object_ptr obj)
+{
+ ACE_UNUSED_ARG (obj);
+ return ::POA_CORBA::_TAO_ValueDef_Strategized_Proxy_Broker::the_TAO_ValueDef_Strategized_Proxy_Broker();
+}
+
+int
+CORBA__TAO_ValueDef_Proxy_Broker_Factory_Initializer (long _dummy_)
+{
+ ACE_UNUSED_ARG (_dummy_);
+
+ CORBA__TAO_ValueDef_Proxy_Broker_Factory_function_pointer =
+ CORBA__TAO_ValueDef_Proxy_Broker_Factory_function;
+
+ return 0;
+}
+
+static int CORBA__TAO_ValueDef_Proxy_Broker_Stub_Factory_Initializer_Scarecrow =
+ CORBA__TAO_ValueDef_Proxy_Broker_Factory_Initializer (ACE_reinterpret_cast (long, CORBA__TAO_ValueDef_Proxy_Broker_Factory_Initializer));
+
+
+///////////////////////////////////////////////////////////////////////
+// ThruPOA Proxy Implementation
+//
+
+POA_CORBA::_TAO_ValueDef_ThruPOA_Proxy_Impl::_TAO_ValueDef_ThruPOA_Proxy_Impl (void)
+{}
+
+// ThruPOA Implementation of the IDL interface methods
+
+CORBA::InterfaceDefSeq * POA_CORBA::_TAO_ValueDef_ThruPOA_Proxy_Impl::supported_interfaces (
+ CORBA_Object *_collocated_tao_target_,
+ CORBA::Environment &ACE_TRY_ENV
+ )
+ ACE_THROW_SPEC ((
+ CORBA::SystemException
+ ))
+{
+ CORBA::InterfaceDefSeq_var _tao_retval;
+ ACE_UNUSED_ARG (_tao_retval);
+ TAO_Object_Adapter::Servant_Upcall servant_upcall (
+ _collocated_tao_target_->_stubobj ()->servant_orb_var ()->orb_core ()
+ );
+ CORBA::Object_var forward_to;
+ servant_upcall.prepare_for_upcall (
+ _collocated_tao_target_->_object_key (),
+ "supported_interfaces",
+ forward_to.out (),
+ ACE_TRY_ENV
+ );
+ ACE_CHECK_RETURN (0);
+ return ACE_reinterpret_cast (
+ POA_CORBA::ValueDef_ptr,
+ servant_upcall.servant ()->_downcast (
+ "IDL:omg.org/CORBA/ValueDef:1.0"
+ )
+ )->supported_interfaces (
+ ACE_TRY_ENV
+ );
+}
+
+void POA_CORBA::_TAO_ValueDef_ThruPOA_Proxy_Impl::supported_interfaces (
+ CORBA_Object *_collocated_tao_target_,
+ const CORBA::InterfaceDefSeq & supported_interfaces,
+ CORBA::Environment &ACE_TRY_ENV
+ )
+ ACE_THROW_SPEC ((
+ CORBA::SystemException
+ ))
+{
+ TAO_Object_Adapter::Servant_Upcall servant_upcall (
+ _collocated_tao_target_->_stubobj ()->servant_orb_var ()->orb_core ()
+ );
+ CORBA::Object_var forward_to;
+ servant_upcall.prepare_for_upcall (
+ _collocated_tao_target_->_object_key (),
+ "supported_interfaces",
+ forward_to.out (),
+ ACE_TRY_ENV
+ );
+ ACE_CHECK;
+ ACE_reinterpret_cast (
+ POA_CORBA::ValueDef_ptr,
+ servant_upcall.servant ()->_downcast (
+ "IDL:omg.org/CORBA/ValueDef:1.0"
+ )
+ )->supported_interfaces (
+ supported_interfaces,
+ ACE_TRY_ENV
+ );
+ return;
+}
+
+CORBA::InitializerSeq * POA_CORBA::_TAO_ValueDef_ThruPOA_Proxy_Impl::initializers (
+ CORBA_Object *_collocated_tao_target_,
+ CORBA::Environment &ACE_TRY_ENV
+ )
+ ACE_THROW_SPEC ((
+ CORBA::SystemException
+ ))
+{
+ CORBA::InitializerSeq_var _tao_retval;
+ ACE_UNUSED_ARG (_tao_retval);
+ TAO_Object_Adapter::Servant_Upcall servant_upcall (
+ _collocated_tao_target_->_stubobj ()->servant_orb_var ()->orb_core ()
+ );
+ CORBA::Object_var forward_to;
+ servant_upcall.prepare_for_upcall (
+ _collocated_tao_target_->_object_key (),
+ "initializers",
+ forward_to.out (),
+ ACE_TRY_ENV
+ );
+ ACE_CHECK_RETURN (0);
+ return ACE_reinterpret_cast (
+ POA_CORBA::ValueDef_ptr,
+ servant_upcall.servant ()->_downcast (
+ "IDL:omg.org/CORBA/ValueDef:1.0"
+ )
+ )->initializers (
+ ACE_TRY_ENV
+ );
+}
+
+void POA_CORBA::_TAO_ValueDef_ThruPOA_Proxy_Impl::initializers (
+ CORBA_Object *_collocated_tao_target_,
+ const CORBA::InitializerSeq & initializers,
+ CORBA::Environment &ACE_TRY_ENV
+ )
+ ACE_THROW_SPEC ((
+ CORBA::SystemException
+ ))
+{
+ TAO_Object_Adapter::Servant_Upcall servant_upcall (
+ _collocated_tao_target_->_stubobj ()->servant_orb_var ()->orb_core ()
+ );
+ CORBA::Object_var forward_to;
+ servant_upcall.prepare_for_upcall (
+ _collocated_tao_target_->_object_key (),
+ "initializers",
+ forward_to.out (),
+ ACE_TRY_ENV
+ );
+ ACE_CHECK;
+ ACE_reinterpret_cast (
+ POA_CORBA::ValueDef_ptr,
+ servant_upcall.servant ()->_downcast (
+ "IDL:omg.org/CORBA/ValueDef:1.0"
+ )
+ )->initializers (
+ initializers,
+ ACE_TRY_ENV
+ );
+ return;
+}
+
+CORBA::ValueDef_ptr POA_CORBA::_TAO_ValueDef_ThruPOA_Proxy_Impl::base_value (
+ CORBA_Object *_collocated_tao_target_,
+ CORBA::Environment &ACE_TRY_ENV
+ )
+ ACE_THROW_SPEC ((
+ CORBA::SystemException
+ ))
+{
+ CORBA::ValueDef_var _tao_retval;
+ ACE_UNUSED_ARG (_tao_retval);
+ TAO_Object_Adapter::Servant_Upcall servant_upcall (
+ _collocated_tao_target_->_stubobj ()->servant_orb_var ()->orb_core ()
+ );
+ CORBA::Object_var forward_to;
+ servant_upcall.prepare_for_upcall (
+ _collocated_tao_target_->_object_key (),
+ "base_value",
+ forward_to.out (),
+ ACE_TRY_ENV
+ );
+ ACE_CHECK_RETURN (0);
+ return ACE_reinterpret_cast (
+ POA_CORBA::ValueDef_ptr,
+ servant_upcall.servant ()->_downcast (
+ "IDL:omg.org/CORBA/ValueDef:1.0"
+ )
+ )->base_value (
+ ACE_TRY_ENV
+ );
+}
+
+void POA_CORBA::_TAO_ValueDef_ThruPOA_Proxy_Impl::base_value (
+ CORBA_Object *_collocated_tao_target_,
+ CORBA::ValueDef_ptr base_value,
+ CORBA::Environment &ACE_TRY_ENV
+ )
+ ACE_THROW_SPEC ((
+ CORBA::SystemException
+ ))
+{
+ TAO_Object_Adapter::Servant_Upcall servant_upcall (
+ _collocated_tao_target_->_stubobj ()->servant_orb_var ()->orb_core ()
+ );
+ CORBA::Object_var forward_to;
+ servant_upcall.prepare_for_upcall (
+ _collocated_tao_target_->_object_key (),
+ "base_value",
+ forward_to.out (),
+ ACE_TRY_ENV
+ );
+ ACE_CHECK;
+ ACE_reinterpret_cast (
+ POA_CORBA::ValueDef_ptr,
+ servant_upcall.servant ()->_downcast (
+ "IDL:omg.org/CORBA/ValueDef:1.0"
+ )
+ )->base_value (
+ base_value,
+ ACE_TRY_ENV
+ );
+ return;
+}
+
+CORBA::ValueDefSeq * POA_CORBA::_TAO_ValueDef_ThruPOA_Proxy_Impl::abstract_base_values (
+ CORBA_Object *_collocated_tao_target_,
+ CORBA::Environment &ACE_TRY_ENV
+ )
+ ACE_THROW_SPEC ((
+ CORBA::SystemException
+ ))
+{
+ CORBA::ValueDefSeq_var _tao_retval;
+ ACE_UNUSED_ARG (_tao_retval);
+ TAO_Object_Adapter::Servant_Upcall servant_upcall (
+ _collocated_tao_target_->_stubobj ()->servant_orb_var ()->orb_core ()
+ );
+ CORBA::Object_var forward_to;
+ servant_upcall.prepare_for_upcall (
+ _collocated_tao_target_->_object_key (),
+ "abstract_base_values",
+ forward_to.out (),
+ ACE_TRY_ENV
+ );
+ ACE_CHECK_RETURN (0);
+ return ACE_reinterpret_cast (
+ POA_CORBA::ValueDef_ptr,
+ servant_upcall.servant ()->_downcast (
+ "IDL:omg.org/CORBA/ValueDef:1.0"
+ )
+ )->abstract_base_values (
+ ACE_TRY_ENV
+ );
+}
+
+void POA_CORBA::_TAO_ValueDef_ThruPOA_Proxy_Impl::abstract_base_values (
+ CORBA_Object *_collocated_tao_target_,
+ const CORBA::ValueDefSeq & abstract_base_values,
+ CORBA::Environment &ACE_TRY_ENV
+ )
+ ACE_THROW_SPEC ((
+ CORBA::SystemException
+ ))
+{
+ TAO_Object_Adapter::Servant_Upcall servant_upcall (
+ _collocated_tao_target_->_stubobj ()->servant_orb_var ()->orb_core ()
+ );
+ CORBA::Object_var forward_to;
+ servant_upcall.prepare_for_upcall (
+ _collocated_tao_target_->_object_key (),
+ "abstract_base_values",
+ forward_to.out (),
+ ACE_TRY_ENV
+ );
+ ACE_CHECK;
+ ACE_reinterpret_cast (
+ POA_CORBA::ValueDef_ptr,
+ servant_upcall.servant ()->_downcast (
+ "IDL:omg.org/CORBA/ValueDef:1.0"
+ )
+ )->abstract_base_values (
+ abstract_base_values,
+ ACE_TRY_ENV
+ );
+ return;
+}
+
+CORBA::Boolean POA_CORBA::_TAO_ValueDef_ThruPOA_Proxy_Impl::is_abstract (
+ CORBA_Object *_collocated_tao_target_,
+ CORBA::Environment &ACE_TRY_ENV
+ )
+ ACE_THROW_SPEC ((
+ CORBA::SystemException
+ ))
+{
+ CORBA::Boolean _tao_retval = 0;
+ ACE_UNUSED_ARG (_tao_retval);
+ TAO_Object_Adapter::Servant_Upcall servant_upcall (
+ _collocated_tao_target_->_stubobj ()->servant_orb_var ()->orb_core ()
+ );
+ CORBA::Object_var forward_to;
+ servant_upcall.prepare_for_upcall (
+ _collocated_tao_target_->_object_key (),
+ "is_abstract",
+ forward_to.out (),
+ ACE_TRY_ENV
+ );
+ ACE_CHECK_RETURN (_tao_retval);
+ return ACE_reinterpret_cast (
+ POA_CORBA::ValueDef_ptr,
+ servant_upcall.servant ()->_downcast (
+ "IDL:omg.org/CORBA/ValueDef:1.0"
+ )
+ )->is_abstract (
+ ACE_TRY_ENV
+ );
+}
+
+void POA_CORBA::_TAO_ValueDef_ThruPOA_Proxy_Impl::is_abstract (
+ CORBA_Object *_collocated_tao_target_,
+ CORBA::Boolean is_abstract,
+ CORBA::Environment &ACE_TRY_ENV
+ )
+ ACE_THROW_SPEC ((
+ CORBA::SystemException
+ ))
+{
+ TAO_Object_Adapter::Servant_Upcall servant_upcall (
+ _collocated_tao_target_->_stubobj ()->servant_orb_var ()->orb_core ()
+ );
+ CORBA::Object_var forward_to;
+ servant_upcall.prepare_for_upcall (
+ _collocated_tao_target_->_object_key (),
+ "is_abstract",
+ forward_to.out (),
+ ACE_TRY_ENV
+ );
+ ACE_CHECK;
+ ACE_reinterpret_cast (
+ POA_CORBA::ValueDef_ptr,
+ servant_upcall.servant ()->_downcast (
+ "IDL:omg.org/CORBA/ValueDef:1.0"
+ )
+ )->is_abstract (
+ is_abstract,
+ ACE_TRY_ENV
+ );
+ return;
+}
+
+CORBA::Boolean POA_CORBA::_TAO_ValueDef_ThruPOA_Proxy_Impl::is_custom (
+ CORBA_Object *_collocated_tao_target_,
+ CORBA::Environment &ACE_TRY_ENV
+ )
+ ACE_THROW_SPEC ((
+ CORBA::SystemException
+ ))
+{
+ CORBA::Boolean _tao_retval = 0;
+ ACE_UNUSED_ARG (_tao_retval);
+ TAO_Object_Adapter::Servant_Upcall servant_upcall (
+ _collocated_tao_target_->_stubobj ()->servant_orb_var ()->orb_core ()
+ );
+ CORBA::Object_var forward_to;
+ servant_upcall.prepare_for_upcall (
+ _collocated_tao_target_->_object_key (),
+ "is_custom",
+ forward_to.out (),
+ ACE_TRY_ENV
+ );
+ ACE_CHECK_RETURN (_tao_retval);
+ return ACE_reinterpret_cast (
+ POA_CORBA::ValueDef_ptr,
+ servant_upcall.servant ()->_downcast (
+ "IDL:omg.org/CORBA/ValueDef:1.0"
+ )
+ )->is_custom (
+ ACE_TRY_ENV
+ );
+}
+
+void POA_CORBA::_TAO_ValueDef_ThruPOA_Proxy_Impl::is_custom (
+ CORBA_Object *_collocated_tao_target_,
+ CORBA::Boolean is_custom,
+ CORBA::Environment &ACE_TRY_ENV
+ )
+ ACE_THROW_SPEC ((
+ CORBA::SystemException
+ ))
+{
+ TAO_Object_Adapter::Servant_Upcall servant_upcall (
+ _collocated_tao_target_->_stubobj ()->servant_orb_var ()->orb_core ()
+ );
+ CORBA::Object_var forward_to;
+ servant_upcall.prepare_for_upcall (
+ _collocated_tao_target_->_object_key (),
+ "is_custom",
+ forward_to.out (),
+ ACE_TRY_ENV
+ );
+ ACE_CHECK;
+ ACE_reinterpret_cast (
+ POA_CORBA::ValueDef_ptr,
+ servant_upcall.servant ()->_downcast (
+ "IDL:omg.org/CORBA/ValueDef:1.0"
+ )
+ )->is_custom (
+ is_custom,
+ ACE_TRY_ENV
+ );
+ return;
+}
+
+CORBA::Boolean POA_CORBA::_TAO_ValueDef_ThruPOA_Proxy_Impl::is_truncatable (
+ CORBA_Object *_collocated_tao_target_,
+ CORBA::Environment &ACE_TRY_ENV
+ )
+ ACE_THROW_SPEC ((
+ CORBA::SystemException
+ ))
+{
+ CORBA::Boolean _tao_retval = 0;
+ ACE_UNUSED_ARG (_tao_retval);
+ TAO_Object_Adapter::Servant_Upcall servant_upcall (
+ _collocated_tao_target_->_stubobj ()->servant_orb_var ()->orb_core ()
+ );
+ CORBA::Object_var forward_to;
+ servant_upcall.prepare_for_upcall (
+ _collocated_tao_target_->_object_key (),
+ "is_truncatable",
+ forward_to.out (),
+ ACE_TRY_ENV
+ );
+ ACE_CHECK_RETURN (_tao_retval);
+ return ACE_reinterpret_cast (
+ POA_CORBA::ValueDef_ptr,
+ servant_upcall.servant ()->_downcast (
+ "IDL:omg.org/CORBA/ValueDef:1.0"
+ )
+ )->is_truncatable (
+ ACE_TRY_ENV
+ );
+}
+
+void POA_CORBA::_TAO_ValueDef_ThruPOA_Proxy_Impl::is_truncatable (
+ CORBA_Object *_collocated_tao_target_,
+ CORBA::Boolean is_truncatable,
+ CORBA::Environment &ACE_TRY_ENV
+ )
+ ACE_THROW_SPEC ((
+ CORBA::SystemException
+ ))
+{
+ TAO_Object_Adapter::Servant_Upcall servant_upcall (
+ _collocated_tao_target_->_stubobj ()->servant_orb_var ()->orb_core ()
+ );
+ CORBA::Object_var forward_to;
+ servant_upcall.prepare_for_upcall (
+ _collocated_tao_target_->_object_key (),
+ "is_truncatable",
+ forward_to.out (),
+ ACE_TRY_ENV
+ );
+ ACE_CHECK;
+ ACE_reinterpret_cast (
+ POA_CORBA::ValueDef_ptr,
+ servant_upcall.servant ()->_downcast (
+ "IDL:omg.org/CORBA/ValueDef:1.0"
+ )
+ )->is_truncatable (
+ is_truncatable,
+ ACE_TRY_ENV
+ );
+ return;
+}
+
+CORBA::Boolean POA_CORBA::_TAO_ValueDef_ThruPOA_Proxy_Impl::is_a (
+ CORBA_Object *_collocated_tao_target_,
+ const char * id,
+ CORBA::Environment &ACE_TRY_ENV
+ )
+ ACE_THROW_SPEC ((
+ CORBA::SystemException
+ ))
+{
+ CORBA::Boolean _tao_retval = 0;
+ ACE_UNUSED_ARG (_tao_retval);
+ TAO_Object_Adapter::Servant_Upcall servant_upcall (
+ _collocated_tao_target_->_stubobj ()->servant_orb_var ()->orb_core ()
+ );
+ CORBA::Object_var forward_to;
+ servant_upcall.prepare_for_upcall (
+ _collocated_tao_target_->_object_key (),
+ "is_a",
+ forward_to.out (),
+ ACE_TRY_ENV
+ );
+ ACE_CHECK_RETURN (_tao_retval);
+ return ACE_reinterpret_cast (
+ POA_CORBA::ValueDef_ptr,
+ servant_upcall.servant ()->_downcast (
+ "IDL:omg.org/CORBA/ValueDef:1.0"
+ )
+ )->is_a (
+ id,
+ ACE_TRY_ENV
+ );
+}
+
+CORBA::ValueDef::FullValueDescription * POA_CORBA::_TAO_ValueDef_ThruPOA_Proxy_Impl::describe_value (
+ CORBA_Object *_collocated_tao_target_,
+ CORBA::Environment &ACE_TRY_ENV
+ )
+ ACE_THROW_SPEC ((
+ CORBA::SystemException
+ ))
+{
+ CORBA::ValueDef::FullValueDescription_var _tao_retval;
+ ACE_UNUSED_ARG (_tao_retval);
+ TAO_Object_Adapter::Servant_Upcall servant_upcall (
+ _collocated_tao_target_->_stubobj ()->servant_orb_var ()->orb_core ()
+ );
+ CORBA::Object_var forward_to;
+ servant_upcall.prepare_for_upcall (
+ _collocated_tao_target_->_object_key (),
+ "describe_value",
+ forward_to.out (),
+ ACE_TRY_ENV
+ );
+ ACE_CHECK_RETURN (0);
+ return ACE_reinterpret_cast (
+ POA_CORBA::ValueDef_ptr,
+ servant_upcall.servant ()->_downcast (
+ "IDL:omg.org/CORBA/ValueDef:1.0"
+ )
+ )->describe_value (
+ ACE_TRY_ENV
+ );
+}
+
+CORBA::ValueMemberDef_ptr POA_CORBA::_TAO_ValueDef_ThruPOA_Proxy_Impl::create_value_member (
+ CORBA_Object *_collocated_tao_target_,
+ const char * id,
+ const char * name,
+ const char * version,
+ CORBA::IDLType_ptr type,
+ CORBA::Visibility access,
+ CORBA::Environment &ACE_TRY_ENV
+ )
+ ACE_THROW_SPEC ((
+ CORBA::SystemException
+ ))
+{
+ CORBA::ValueMemberDef_var _tao_retval;
+ ACE_UNUSED_ARG (_tao_retval);
+ TAO_Object_Adapter::Servant_Upcall servant_upcall (
+ _collocated_tao_target_->_stubobj ()->servant_orb_var ()->orb_core ()
+ );
+ CORBA::Object_var forward_to;
+ servant_upcall.prepare_for_upcall (
+ _collocated_tao_target_->_object_key (),
+ "create_value_member",
+ forward_to.out (),
+ ACE_TRY_ENV
+ );
+ ACE_CHECK_RETURN (0);
+ return ACE_reinterpret_cast (
+ POA_CORBA::ValueDef_ptr,
+ servant_upcall.servant ()->_downcast (
+ "IDL:omg.org/CORBA/ValueDef:1.0"
+ )
+ )->create_value_member (
+ id,
+ name,
+ version,
+ type,
+ access,
+ ACE_TRY_ENV
+ );
+}
+
+CORBA::AttributeDef_ptr POA_CORBA::_TAO_ValueDef_ThruPOA_Proxy_Impl::create_attribute (
+ CORBA_Object *_collocated_tao_target_,
+ const char * id,
+ const char * name,
+ const char * version,
+ CORBA::IDLType_ptr type,
+ CORBA::AttributeMode mode,
+ CORBA::Environment &ACE_TRY_ENV
+ )
+ ACE_THROW_SPEC ((
+ CORBA::SystemException
+ ))
+{
+ CORBA::AttributeDef_var _tao_retval;
+ ACE_UNUSED_ARG (_tao_retval);
+ TAO_Object_Adapter::Servant_Upcall servant_upcall (
+ _collocated_tao_target_->_stubobj ()->servant_orb_var ()->orb_core ()
+ );
+ CORBA::Object_var forward_to;
+ servant_upcall.prepare_for_upcall (
+ _collocated_tao_target_->_object_key (),
+ "create_attribute",
+ forward_to.out (),
+ ACE_TRY_ENV
+ );
+ ACE_CHECK_RETURN (0);
+ return ACE_reinterpret_cast (
+ POA_CORBA::ValueDef_ptr,
+ servant_upcall.servant ()->_downcast (
+ "IDL:omg.org/CORBA/ValueDef:1.0"
+ )
+ )->create_attribute (
+ id,
+ name,
+ version,
+ type,
+ mode,
+ ACE_TRY_ENV
+ );
+}
+
+CORBA::OperationDef_ptr POA_CORBA::_TAO_ValueDef_ThruPOA_Proxy_Impl::create_operation (
+ CORBA_Object *_collocated_tao_target_,
+ const char * id,
+ const char * name,
+ const char * version,
+ CORBA::IDLType_ptr result,
+ CORBA::OperationMode mode,
+ const CORBA::ParDescriptionSeq & params,
+ const CORBA::ExceptionDefSeq & exceptions,
+ const CORBA::ContextIdSeq & contexts,
+ CORBA::Environment &ACE_TRY_ENV
+ )
+ ACE_THROW_SPEC ((
+ CORBA::SystemException
+ ))
+{
+ CORBA::OperationDef_var _tao_retval;
+ ACE_UNUSED_ARG (_tao_retval);
+ TAO_Object_Adapter::Servant_Upcall servant_upcall (
+ _collocated_tao_target_->_stubobj ()->servant_orb_var ()->orb_core ()
+ );
+ CORBA::Object_var forward_to;
+ servant_upcall.prepare_for_upcall (
+ _collocated_tao_target_->_object_key (),
+ "create_operation",
+ forward_to.out (),
+ ACE_TRY_ENV
+ );
+ ACE_CHECK_RETURN (0);
+ return ACE_reinterpret_cast (
+ POA_CORBA::ValueDef_ptr,
+ servant_upcall.servant ()->_downcast (
+ "IDL:omg.org/CORBA/ValueDef:1.0"
+ )
+ )->create_operation (
+ id,
+ name,
+ version,
+ result,
+ mode,
+ params,
+ exceptions,
+ contexts,
+ ACE_TRY_ENV
+ );
+}
+
+//
+// End ThruPOA Proxy Implementation
+///////////////////////////////////////////////////////////////////////
+
+// skeleton constructor
+POA_CORBA::ValueDef::ValueDef (void)
+{
+ this->optable_ = &tao_CORBA_ValueDef_optable;
+}
+
+// copy ctor
+POA_CORBA::ValueDef::ValueDef (const ValueDef& rhs)
+ : ACE_NESTED_CLASS (POA_CORBA,Container) (rhs),
+ ACE_NESTED_CLASS (POA_CORBA,Contained) (rhs),
+ ACE_NESTED_CLASS (POA_CORBA,IDLType) (rhs),
+ ACE_NESTED_CLASS (POA_CORBA,IRObject) (rhs),
+ TAO_ServantBase (rhs)
+{}
+
+// skeleton destructor
+POA_CORBA::ValueDef::~ValueDef (void)
+{
+}
+
+void POA_CORBA::ValueDef::_get_supported_interfaces_skel (
+ TAO_ServerRequest &_tao_server_request,
+ void *_tao_object_reference,
+ void * /* context */,
+ CORBA::Environment &ACE_TRY_ENV
+ )
+{
+ POA_CORBA::ValueDef *_tao_impl = (POA_CORBA::ValueDef *)_tao_object_reference;
+
+ CORBA::InterfaceDefSeq_var _tao_retval;
+
+#if (TAO_HAS_INTERCEPTORS == 1)
+ TAO_ServerRequestInterceptor_Adapter _tao_vfr (
+ _tao_server_request.orb_core ()->server_request_interceptors (),
+ _tao_server_request.interceptor_count ()
+ );
+
+ POA_CORBA::ValueDef::TAO_ServerRequestInfo_CORBA_ValueDef_supported_interfaces_get ri (
+ _tao_server_request,
+ _tao_impl,
+ ACE_TRY_ENV
+ );
+
+ ACE_TRY
+ {
+ _tao_vfr.receive_request (&ri, ACE_TRY_ENV);
+ ACE_TRY_CHECK;
+
+#endif /* TAO_HAS_INTERCEPTORS */
+ _tao_retval =
+ _tao_impl->supported_interfaces (
+ ACE_TRY_ENV
+ );
+ TAO_INTERCEPTOR_CHECK;
+
+#if (TAO_HAS_INTERCEPTORS == 1)
+ CORBA::InterfaceDefSeq * _tao_retval_info = _tao_retval._retn ();
+ ri.result (_tao_retval_info);
+ _tao_retval = _tao_retval_info;
+ ri.reply_status (PortableInterceptor::SUCCESSFUL);
+ _tao_vfr.send_reply (&ri, ACE_TRY_ENV);
+ ACE_TRY_CHECK;
+ }
+ ACE_CATCH (PortableInterceptor::ForwardRequest, exc)
+ {
+ ri.forward_reference (exc);
+ _tao_vfr.send_other (
+ &ri,
+ ACE_TRY_ENV
+ );
+ ACE_TRY_CHECK;
+ _tao_server_request.forward_location (exc.forward.in ());
+ }
+ ACE_CATCHANY
+ {
+ ri.exception (&ACE_ANY_EXCEPTION);
+ _tao_vfr.send_exception (
+ &ri,
+ ACE_TRY_ENV
+ );
+ ACE_TRY_CHECK;
+ ACE_RE_THROW;
+ }
+ ACE_ENDTRY;
+ ACE_CHECK;
+#endif /* TAO_HAS_INTERCEPTORS */
+
+ _tao_server_request.init_reply ();
+
+ TAO_OutputCDR &_tao_out = _tao_server_request.outgoing ();
+
+ if (!(
+ (_tao_out << _tao_retval.in ())
+ ))
+ ACE_THROW (CORBA::MARSHAL());
+
+ // In case ACE_TRY_ENV is not used in this function
+ ACE_UNUSED_ARG (ACE_TRY_ENV);
+}
+
+void POA_CORBA::ValueDef::_set_supported_interfaces_skel (
+ TAO_ServerRequest &_tao_server_request,
+ void *_tao_object_reference,
+ void * /* context */,
+ CORBA::Environment &ACE_TRY_ENV
+ )
+{
+ TAO_InputCDR &_tao_in = _tao_server_request.incoming ();
+ POA_CORBA::ValueDef *_tao_impl = (POA_CORBA::ValueDef *)_tao_object_reference;
+
+ _tao_server_request.argument_flag (0);
+ CORBA::InterfaceDefSeq supported_interfaces;
+ if (!(
+ (_tao_in >> supported_interfaces)
+ ))
+ ACE_THROW (CORBA::MARSHAL());
+
+
+#if (TAO_HAS_INTERCEPTORS == 1)
+ TAO_ServerRequestInterceptor_Adapter _tao_vfr (
+ _tao_server_request.orb_core ()->server_request_interceptors (),
+ _tao_server_request.interceptor_count ()
+ );
+
+ POA_CORBA::ValueDef::TAO_ServerRequestInfo_CORBA_ValueDef_supported_interfaces_set ri (
+ _tao_server_request,
+ _tao_impl,
+ supported_interfaces,
+ ACE_TRY_ENV
+ );
+
+ ACE_TRY
+ {
+ _tao_vfr.receive_request (&ri, ACE_TRY_ENV);
+ ACE_TRY_CHECK;
+
+#endif /* TAO_HAS_INTERCEPTORS */
+
+ _tao_impl->supported_interfaces (
+ supported_interfaces,
+ ACE_TRY_ENV
+ );
+ TAO_INTERCEPTOR_CHECK;
+
+#if (TAO_HAS_INTERCEPTORS == 1)
+ ri.reply_status (PortableInterceptor::SUCCESSFUL);
+ _tao_vfr.send_reply (&ri, ACE_TRY_ENV);
+ ACE_TRY_CHECK;
+ }
+ ACE_CATCH (PortableInterceptor::ForwardRequest, exc)
+ {
+ ri.forward_reference (exc);
+ _tao_vfr.send_other (
+ &ri,
+ ACE_TRY_ENV
+ );
+ ACE_TRY_CHECK;
+ _tao_server_request.forward_location (exc.forward.in ());
+ }
+ ACE_CATCHANY
+ {
+ ri.exception (&ACE_ANY_EXCEPTION);
+ _tao_vfr.send_exception (
+ &ri,
+ ACE_TRY_ENV
+ );
+ ACE_TRY_CHECK;
+ ACE_RE_THROW;
+ }
+ ACE_ENDTRY;
+ ACE_CHECK;
+#endif /* TAO_HAS_INTERCEPTORS */
+
+ _tao_server_request.init_reply ();
+
+ // In case ACE_TRY_ENV is not used in this function
+ ACE_UNUSED_ARG (ACE_TRY_ENV);
+}
+
+void POA_CORBA::ValueDef::_get_initializers_skel (
+ TAO_ServerRequest &_tao_server_request,
+ void *_tao_object_reference,
+ void * /* context */,
+ CORBA::Environment &ACE_TRY_ENV
+ )
+{
+ POA_CORBA::ValueDef *_tao_impl = (POA_CORBA::ValueDef *)_tao_object_reference;
+
+ CORBA::InitializerSeq_var _tao_retval;
+
+#if (TAO_HAS_INTERCEPTORS == 1)
+ TAO_ServerRequestInterceptor_Adapter _tao_vfr (
+ _tao_server_request.orb_core ()->server_request_interceptors (),
+ _tao_server_request.interceptor_count ()
+ );
+
+ POA_CORBA::ValueDef::TAO_ServerRequestInfo_CORBA_ValueDef_initializers_get ri (
+ _tao_server_request,
+ _tao_impl,
+ ACE_TRY_ENV
+ );
+
+ ACE_TRY
+ {
+ _tao_vfr.receive_request (&ri, ACE_TRY_ENV);
+ ACE_TRY_CHECK;
+
+#endif /* TAO_HAS_INTERCEPTORS */
+ _tao_retval =
+ _tao_impl->initializers (
+ ACE_TRY_ENV
+ );
+ TAO_INTERCEPTOR_CHECK;
+
+#if (TAO_HAS_INTERCEPTORS == 1)
+ CORBA::InitializerSeq * _tao_retval_info = _tao_retval._retn ();
+ ri.result (_tao_retval_info);
+ _tao_retval = _tao_retval_info;
+ ri.reply_status (PortableInterceptor::SUCCESSFUL);
+ _tao_vfr.send_reply (&ri, ACE_TRY_ENV);
+ ACE_TRY_CHECK;
+ }
+ ACE_CATCH (PortableInterceptor::ForwardRequest, exc)
+ {
+ ri.forward_reference (exc);
+ _tao_vfr.send_other (
+ &ri,
+ ACE_TRY_ENV
+ );
+ ACE_TRY_CHECK;
+ _tao_server_request.forward_location (exc.forward.in ());
+ }
+ ACE_CATCHANY
+ {
+ ri.exception (&ACE_ANY_EXCEPTION);
+ _tao_vfr.send_exception (
+ &ri,
+ ACE_TRY_ENV
+ );
+ ACE_TRY_CHECK;
+ ACE_RE_THROW;
+ }
+ ACE_ENDTRY;
+ ACE_CHECK;
+#endif /* TAO_HAS_INTERCEPTORS */
+
+ _tao_server_request.init_reply ();
+
+ TAO_OutputCDR &_tao_out = _tao_server_request.outgoing ();
+
+ if (!(
+ (_tao_out << _tao_retval.in ())
+ ))
+ ACE_THROW (CORBA::MARSHAL());
+
+ // In case ACE_TRY_ENV is not used in this function
+ ACE_UNUSED_ARG (ACE_TRY_ENV);
+}
+
+void POA_CORBA::ValueDef::_set_initializers_skel (
+ TAO_ServerRequest &_tao_server_request,
+ void *_tao_object_reference,
+ void * /* context */,
+ CORBA::Environment &ACE_TRY_ENV
+ )
+{
+ TAO_InputCDR &_tao_in = _tao_server_request.incoming ();
+ POA_CORBA::ValueDef *_tao_impl = (POA_CORBA::ValueDef *)_tao_object_reference;
+
+ _tao_server_request.argument_flag (0);
+ CORBA::InitializerSeq initializers;
+ if (!(
+ (_tao_in >> initializers)
+ ))
+ ACE_THROW (CORBA::MARSHAL());
+
+
+#if (TAO_HAS_INTERCEPTORS == 1)
+ TAO_ServerRequestInterceptor_Adapter _tao_vfr (
+ _tao_server_request.orb_core ()->server_request_interceptors (),
+ _tao_server_request.interceptor_count ()
+ );
+
+ POA_CORBA::ValueDef::TAO_ServerRequestInfo_CORBA_ValueDef_initializers_set ri (
+ _tao_server_request,
+ _tao_impl,
+ initializers,
+ ACE_TRY_ENV
+ );
+
+ ACE_TRY
+ {
+ _tao_vfr.receive_request (&ri, ACE_TRY_ENV);
+ ACE_TRY_CHECK;
+
+#endif /* TAO_HAS_INTERCEPTORS */
+
+ _tao_impl->initializers (
+ initializers,
+ ACE_TRY_ENV
+ );
+ TAO_INTERCEPTOR_CHECK;
+
+#if (TAO_HAS_INTERCEPTORS == 1)
+ ri.reply_status (PortableInterceptor::SUCCESSFUL);
+ _tao_vfr.send_reply (&ri, ACE_TRY_ENV);
+ ACE_TRY_CHECK;
+ }
+ ACE_CATCH (PortableInterceptor::ForwardRequest, exc)
+ {
+ ri.forward_reference (exc);
+ _tao_vfr.send_other (
+ &ri,
+ ACE_TRY_ENV
+ );
+ ACE_TRY_CHECK;
+ _tao_server_request.forward_location (exc.forward.in ());
+ }
+ ACE_CATCHANY
+ {
+ ri.exception (&ACE_ANY_EXCEPTION);
+ _tao_vfr.send_exception (
+ &ri,
+ ACE_TRY_ENV
+ );
+ ACE_TRY_CHECK;
+ ACE_RE_THROW;
+ }
+ ACE_ENDTRY;
+ ACE_CHECK;
+#endif /* TAO_HAS_INTERCEPTORS */
+
+ _tao_server_request.init_reply ();
+
+ // In case ACE_TRY_ENV is not used in this function
+ ACE_UNUSED_ARG (ACE_TRY_ENV);
+}
+
+void POA_CORBA::ValueDef::_get_base_value_skel (
+ TAO_ServerRequest &_tao_server_request,
+ void *_tao_object_reference,
+ void * /* context */,
+ CORBA::Environment &ACE_TRY_ENV
+ )
+{
+ POA_CORBA::ValueDef *_tao_impl = (POA_CORBA::ValueDef *)_tao_object_reference;
+
+ CORBA::ValueDef_var _tao_retval;
+
+#if (TAO_HAS_INTERCEPTORS == 1)
+ TAO_ServerRequestInterceptor_Adapter _tao_vfr (
+ _tao_server_request.orb_core ()->server_request_interceptors (),
+ _tao_server_request.interceptor_count ()
+ );
+
+ POA_CORBA::ValueDef::TAO_ServerRequestInfo_CORBA_ValueDef_base_value_get ri (
+ _tao_server_request,
+ _tao_impl,
+ ACE_TRY_ENV
+ );
+
+ ACE_TRY
+ {
+ _tao_vfr.receive_request (&ri, ACE_TRY_ENV);
+ ACE_TRY_CHECK;
+
+#endif /* TAO_HAS_INTERCEPTORS */
+ _tao_retval =
+ _tao_impl->base_value (
+ ACE_TRY_ENV
+ );
+ TAO_INTERCEPTOR_CHECK;
+
+#if (TAO_HAS_INTERCEPTORS == 1)
+ CORBA::ValueDef_ptr _tao_retval_info = _tao_retval._retn ();
+ ri.result (_tao_retval_info);
+ _tao_retval = _tao_retval_info;
+ ri.reply_status (PortableInterceptor::SUCCESSFUL);
+ _tao_vfr.send_reply (&ri, ACE_TRY_ENV);
+ ACE_TRY_CHECK;
+ }
+ ACE_CATCH (PortableInterceptor::ForwardRequest, exc)
+ {
+ ri.forward_reference (exc);
+ _tao_vfr.send_other (
+ &ri,
+ ACE_TRY_ENV
+ );
+ ACE_TRY_CHECK;
+ _tao_server_request.forward_location (exc.forward.in ());
+ }
+ ACE_CATCHANY
+ {
+ ri.exception (&ACE_ANY_EXCEPTION);
+ _tao_vfr.send_exception (
+ &ri,
+ ACE_TRY_ENV
+ );
+ ACE_TRY_CHECK;
+ ACE_RE_THROW;
+ }
+ ACE_ENDTRY;
+ ACE_CHECK;
+#endif /* TAO_HAS_INTERCEPTORS */
+
+ _tao_server_request.init_reply ();
+
+ TAO_OutputCDR &_tao_out = _tao_server_request.outgoing ();
+
+ if (!(
+ (_tao_out << _tao_retval.in ())
+ ))
+ ACE_THROW (CORBA::MARSHAL());
+
+ // In case ACE_TRY_ENV is not used in this function
+ ACE_UNUSED_ARG (ACE_TRY_ENV);
+}
+
+void POA_CORBA::ValueDef::_set_base_value_skel (
+ TAO_ServerRequest &_tao_server_request,
+ void *_tao_object_reference,
+ void * /* context */,
+ CORBA::Environment &ACE_TRY_ENV
+ )
+{
+ TAO_InputCDR &_tao_in = _tao_server_request.incoming ();
+ POA_CORBA::ValueDef *_tao_impl = (POA_CORBA::ValueDef *)_tao_object_reference;
+
+ _tao_server_request.argument_flag (0);
+ CORBA::ValueDef_var base_value;
+ if (!(
+ (_tao_in >> base_value.out ())
+ ))
+ ACE_THROW (CORBA::MARSHAL());
+
+
+#if (TAO_HAS_INTERCEPTORS == 1)
+ TAO_ServerRequestInterceptor_Adapter _tao_vfr (
+ _tao_server_request.orb_core ()->server_request_interceptors (),
+ _tao_server_request.interceptor_count ()
+ );
+
+ POA_CORBA::ValueDef::TAO_ServerRequestInfo_CORBA_ValueDef_base_value_set ri (
+ _tao_server_request,
+ _tao_impl,
+ base_value.in (),
+ ACE_TRY_ENV
+ );
+
+ ACE_TRY
+ {
+ _tao_vfr.receive_request (&ri, ACE_TRY_ENV);
+ ACE_TRY_CHECK;
+
+#endif /* TAO_HAS_INTERCEPTORS */
+
+ _tao_impl->base_value (
+ base_value.in (),
+ ACE_TRY_ENV
+ );
+ TAO_INTERCEPTOR_CHECK;
+
+#if (TAO_HAS_INTERCEPTORS == 1)
+ ri.reply_status (PortableInterceptor::SUCCESSFUL);
+ _tao_vfr.send_reply (&ri, ACE_TRY_ENV);
+ ACE_TRY_CHECK;
+ }
+ ACE_CATCH (PortableInterceptor::ForwardRequest, exc)
+ {
+ ri.forward_reference (exc);
+ _tao_vfr.send_other (
+ &ri,
+ ACE_TRY_ENV
+ );
+ ACE_TRY_CHECK;
+ _tao_server_request.forward_location (exc.forward.in ());
+ }
+ ACE_CATCHANY
+ {
+ ri.exception (&ACE_ANY_EXCEPTION);
+ _tao_vfr.send_exception (
+ &ri,
+ ACE_TRY_ENV
+ );
+ ACE_TRY_CHECK;
+ ACE_RE_THROW;
+ }
+ ACE_ENDTRY;
+ ACE_CHECK;
+#endif /* TAO_HAS_INTERCEPTORS */
+
+ _tao_server_request.init_reply ();
+
+ // In case ACE_TRY_ENV is not used in this function
+ ACE_UNUSED_ARG (ACE_TRY_ENV);
+}
+
+void POA_CORBA::ValueDef::_get_abstract_base_values_skel (
+ TAO_ServerRequest &_tao_server_request,
+ void *_tao_object_reference,
+ void * /* context */,
+ CORBA::Environment &ACE_TRY_ENV
+ )
+{
+ POA_CORBA::ValueDef *_tao_impl = (POA_CORBA::ValueDef *)_tao_object_reference;
+
+ CORBA::ValueDefSeq_var _tao_retval;
+
+#if (TAO_HAS_INTERCEPTORS == 1)
+ TAO_ServerRequestInterceptor_Adapter _tao_vfr (
+ _tao_server_request.orb_core ()->server_request_interceptors (),
+ _tao_server_request.interceptor_count ()
+ );
+
+ POA_CORBA::ValueDef::TAO_ServerRequestInfo_CORBA_ValueDef_abstract_base_values_get ri (
+ _tao_server_request,
+ _tao_impl,
+ ACE_TRY_ENV
+ );
+
+ ACE_TRY
+ {
+ _tao_vfr.receive_request (&ri, ACE_TRY_ENV);
+ ACE_TRY_CHECK;
+
+#endif /* TAO_HAS_INTERCEPTORS */
+ _tao_retval =
+ _tao_impl->abstract_base_values (
+ ACE_TRY_ENV
+ );
+ TAO_INTERCEPTOR_CHECK;
+
+#if (TAO_HAS_INTERCEPTORS == 1)
+ CORBA::ValueDefSeq * _tao_retval_info = _tao_retval._retn ();
+ ri.result (_tao_retval_info);
+ _tao_retval = _tao_retval_info;
+ ri.reply_status (PortableInterceptor::SUCCESSFUL);
+ _tao_vfr.send_reply (&ri, ACE_TRY_ENV);
+ ACE_TRY_CHECK;
+ }
+ ACE_CATCH (PortableInterceptor::ForwardRequest, exc)
+ {
+ ri.forward_reference (exc);
+ _tao_vfr.send_other (
+ &ri,
+ ACE_TRY_ENV
+ );
+ ACE_TRY_CHECK;
+ _tao_server_request.forward_location (exc.forward.in ());
+ }
+ ACE_CATCHANY
+ {
+ ri.exception (&ACE_ANY_EXCEPTION);
+ _tao_vfr.send_exception (
+ &ri,
+ ACE_TRY_ENV
+ );
+ ACE_TRY_CHECK;
+ ACE_RE_THROW;
+ }
+ ACE_ENDTRY;
+ ACE_CHECK;
+#endif /* TAO_HAS_INTERCEPTORS */
+
+ _tao_server_request.init_reply ();
+
+ TAO_OutputCDR &_tao_out = _tao_server_request.outgoing ();
+
+ if (!(
+ (_tao_out << _tao_retval.in ())
+ ))
+ ACE_THROW (CORBA::MARSHAL());
+
+ // In case ACE_TRY_ENV is not used in this function
+ ACE_UNUSED_ARG (ACE_TRY_ENV);
+}
+
+void POA_CORBA::ValueDef::_set_abstract_base_values_skel (
+ TAO_ServerRequest &_tao_server_request,
+ void *_tao_object_reference,
+ void * /* context */,
+ CORBA::Environment &ACE_TRY_ENV
+ )
+{
+ TAO_InputCDR &_tao_in = _tao_server_request.incoming ();
+ POA_CORBA::ValueDef *_tao_impl = (POA_CORBA::ValueDef *)_tao_object_reference;
+
+ _tao_server_request.argument_flag (0);
+ CORBA::ValueDefSeq abstract_base_values;
+ if (!(
+ (_tao_in >> abstract_base_values)
+ ))
+ ACE_THROW (CORBA::MARSHAL());
+
+
+#if (TAO_HAS_INTERCEPTORS == 1)
+ TAO_ServerRequestInterceptor_Adapter _tao_vfr (
+ _tao_server_request.orb_core ()->server_request_interceptors (),
+ _tao_server_request.interceptor_count ()
+ );
+
+ POA_CORBA::ValueDef::TAO_ServerRequestInfo_CORBA_ValueDef_abstract_base_values_set ri (
+ _tao_server_request,
+ _tao_impl,
+ abstract_base_values,
+ ACE_TRY_ENV
+ );
+
+ ACE_TRY
+ {
+ _tao_vfr.receive_request (&ri, ACE_TRY_ENV);
+ ACE_TRY_CHECK;
+
+#endif /* TAO_HAS_INTERCEPTORS */
+
+ _tao_impl->abstract_base_values (
+ abstract_base_values,
+ ACE_TRY_ENV
+ );
+ TAO_INTERCEPTOR_CHECK;
+
+#if (TAO_HAS_INTERCEPTORS == 1)
+ ri.reply_status (PortableInterceptor::SUCCESSFUL);
+ _tao_vfr.send_reply (&ri, ACE_TRY_ENV);
+ ACE_TRY_CHECK;
+ }
+ ACE_CATCH (PortableInterceptor::ForwardRequest, exc)
+ {
+ ri.forward_reference (exc);
+ _tao_vfr.send_other (
+ &ri,
+ ACE_TRY_ENV
+ );
+ ACE_TRY_CHECK;
+ _tao_server_request.forward_location (exc.forward.in ());
+ }
+ ACE_CATCHANY
+ {
+ ri.exception (&ACE_ANY_EXCEPTION);
+ _tao_vfr.send_exception (
+ &ri,
+ ACE_TRY_ENV
+ );
+ ACE_TRY_CHECK;
+ ACE_RE_THROW;
+ }
+ ACE_ENDTRY;
+ ACE_CHECK;
+#endif /* TAO_HAS_INTERCEPTORS */
+
+ _tao_server_request.init_reply ();
+
+ // In case ACE_TRY_ENV is not used in this function
+ ACE_UNUSED_ARG (ACE_TRY_ENV);
+}
+
+void POA_CORBA::ValueDef::_get_is_abstract_skel (
+ TAO_ServerRequest &_tao_server_request,
+ void *_tao_object_reference,
+ void * /* context */,
+ CORBA::Environment &ACE_TRY_ENV
+ )
+{
+ POA_CORBA::ValueDef *_tao_impl = (POA_CORBA::ValueDef *)_tao_object_reference;
+
+ CORBA::Boolean _tao_retval = 0;
+
+#if (TAO_HAS_INTERCEPTORS == 1)
+ TAO_ServerRequestInterceptor_Adapter _tao_vfr (
+ _tao_server_request.orb_core ()->server_request_interceptors (),
+ _tao_server_request.interceptor_count ()
+ );
+
+ POA_CORBA::ValueDef::TAO_ServerRequestInfo_CORBA_ValueDef_is_abstract_get ri (
+ _tao_server_request,
+ _tao_impl,
+ ACE_TRY_ENV
+ );
+
+ ACE_TRY
+ {
+ _tao_vfr.receive_request (&ri, ACE_TRY_ENV);
+ ACE_TRY_CHECK;
+
+#endif /* TAO_HAS_INTERCEPTORS */
+ _tao_retval =
+ _tao_impl->is_abstract (
+ ACE_TRY_ENV
+ );
+ TAO_INTERCEPTOR_CHECK;
+
+#if (TAO_HAS_INTERCEPTORS == 1)
+ CORBA::Boolean _tao_retval_info = _tao_retval;
+ ri.result (_tao_retval_info);
+ ri.reply_status (PortableInterceptor::SUCCESSFUL);
+ _tao_vfr.send_reply (&ri, ACE_TRY_ENV);
+ ACE_TRY_CHECK;
+ }
+ ACE_CATCH (PortableInterceptor::ForwardRequest, exc)
+ {
+ ri.forward_reference (exc);
+ _tao_vfr.send_other (
+ &ri,
+ ACE_TRY_ENV
+ );
+ ACE_TRY_CHECK;
+ _tao_server_request.forward_location (exc.forward.in ());
+ }
+ ACE_CATCHANY
+ {
+ ri.exception (&ACE_ANY_EXCEPTION);
+ _tao_vfr.send_exception (
+ &ri,
+ ACE_TRY_ENV
+ );
+ ACE_TRY_CHECK;
+ ACE_RE_THROW;
+ }
+ ACE_ENDTRY;
+ ACE_CHECK;
+#endif /* TAO_HAS_INTERCEPTORS */
+
+ _tao_server_request.init_reply ();
+
+ TAO_OutputCDR &_tao_out = _tao_server_request.outgoing ();
+
+ if (!(
+ (_tao_out << CORBA::Any::from_boolean (_tao_retval))
+ ))
+ ACE_THROW (CORBA::MARSHAL());
+
+ // In case ACE_TRY_ENV is not used in this function
+ ACE_UNUSED_ARG (ACE_TRY_ENV);
+}
+
+void POA_CORBA::ValueDef::_set_is_abstract_skel (
+ TAO_ServerRequest &_tao_server_request,
+ void *_tao_object_reference,
+ void * /* context */,
+ CORBA::Environment &ACE_TRY_ENV
+ )
+{
+ TAO_InputCDR &_tao_in = _tao_server_request.incoming ();
+ POA_CORBA::ValueDef *_tao_impl = (POA_CORBA::ValueDef *)_tao_object_reference;
+
+ _tao_server_request.argument_flag (0);
+ CORBA::Boolean is_abstract;
+ if (!(
+ (_tao_in >> CORBA::Any::to_boolean (is_abstract))
+ ))
+ ACE_THROW (CORBA::MARSHAL());
+
+
+#if (TAO_HAS_INTERCEPTORS == 1)
+ TAO_ServerRequestInterceptor_Adapter _tao_vfr (
+ _tao_server_request.orb_core ()->server_request_interceptors (),
+ _tao_server_request.interceptor_count ()
+ );
+
+ POA_CORBA::ValueDef::TAO_ServerRequestInfo_CORBA_ValueDef_is_abstract_set ri (
+ _tao_server_request,
+ _tao_impl,
+ is_abstract,
+ ACE_TRY_ENV
+ );
+
+ ACE_TRY
+ {
+ _tao_vfr.receive_request (&ri, ACE_TRY_ENV);
+ ACE_TRY_CHECK;
+
+#endif /* TAO_HAS_INTERCEPTORS */
+
+ _tao_impl->is_abstract (
+ is_abstract,
+ ACE_TRY_ENV
+ );
+ TAO_INTERCEPTOR_CHECK;
+
+#if (TAO_HAS_INTERCEPTORS == 1)
+ ri.reply_status (PortableInterceptor::SUCCESSFUL);
+ _tao_vfr.send_reply (&ri, ACE_TRY_ENV);
+ ACE_TRY_CHECK;
+ }
+ ACE_CATCH (PortableInterceptor::ForwardRequest, exc)
+ {
+ ri.forward_reference (exc);
+ _tao_vfr.send_other (
+ &ri,
+ ACE_TRY_ENV
+ );
+ ACE_TRY_CHECK;
+ _tao_server_request.forward_location (exc.forward.in ());
+ }
+ ACE_CATCHANY
+ {
+ ri.exception (&ACE_ANY_EXCEPTION);
+ _tao_vfr.send_exception (
+ &ri,
+ ACE_TRY_ENV
+ );
+ ACE_TRY_CHECK;
+ ACE_RE_THROW;
+ }
+ ACE_ENDTRY;
+ ACE_CHECK;
+#endif /* TAO_HAS_INTERCEPTORS */
+
+ _tao_server_request.init_reply ();
+
+ // In case ACE_TRY_ENV is not used in this function
+ ACE_UNUSED_ARG (ACE_TRY_ENV);
+}
+
+void POA_CORBA::ValueDef::_get_is_custom_skel (
+ TAO_ServerRequest &_tao_server_request,
+ void *_tao_object_reference,
+ void * /* context */,
+ CORBA::Environment &ACE_TRY_ENV
+ )
+{
+ POA_CORBA::ValueDef *_tao_impl = (POA_CORBA::ValueDef *)_tao_object_reference;
+
+ CORBA::Boolean _tao_retval = 0;
+
+#if (TAO_HAS_INTERCEPTORS == 1)
+ TAO_ServerRequestInterceptor_Adapter _tao_vfr (
+ _tao_server_request.orb_core ()->server_request_interceptors (),
+ _tao_server_request.interceptor_count ()
+ );
+
+ POA_CORBA::ValueDef::TAO_ServerRequestInfo_CORBA_ValueDef_is_custom_get ri (
+ _tao_server_request,
+ _tao_impl,
+ ACE_TRY_ENV
+ );
+
+ ACE_TRY
+ {
+ _tao_vfr.receive_request (&ri, ACE_TRY_ENV);
+ ACE_TRY_CHECK;
+
+#endif /* TAO_HAS_INTERCEPTORS */
+ _tao_retval =
+ _tao_impl->is_custom (
+ ACE_TRY_ENV
+ );
+ TAO_INTERCEPTOR_CHECK;
+
+#if (TAO_HAS_INTERCEPTORS == 1)
+ CORBA::Boolean _tao_retval_info = _tao_retval;
+ ri.result (_tao_retval_info);
+ ri.reply_status (PortableInterceptor::SUCCESSFUL);
+ _tao_vfr.send_reply (&ri, ACE_TRY_ENV);
+ ACE_TRY_CHECK;
+ }
+ ACE_CATCH (PortableInterceptor::ForwardRequest, exc)
+ {
+ ri.forward_reference (exc);
+ _tao_vfr.send_other (
+ &ri,
+ ACE_TRY_ENV
+ );
+ ACE_TRY_CHECK;
+ _tao_server_request.forward_location (exc.forward.in ());
+ }
+ ACE_CATCHANY
+ {
+ ri.exception (&ACE_ANY_EXCEPTION);
+ _tao_vfr.send_exception (
+ &ri,
+ ACE_TRY_ENV
+ );
+ ACE_TRY_CHECK;
+ ACE_RE_THROW;
+ }
+ ACE_ENDTRY;
+ ACE_CHECK;
+#endif /* TAO_HAS_INTERCEPTORS */
+
+ _tao_server_request.init_reply ();
+
+ TAO_OutputCDR &_tao_out = _tao_server_request.outgoing ();
+
+ if (!(
+ (_tao_out << CORBA::Any::from_boolean (_tao_retval))
+ ))
+ ACE_THROW (CORBA::MARSHAL());
+
+ // In case ACE_TRY_ENV is not used in this function
+ ACE_UNUSED_ARG (ACE_TRY_ENV);
+}
+
+void POA_CORBA::ValueDef::_set_is_custom_skel (
+ TAO_ServerRequest &_tao_server_request,
+ void *_tao_object_reference,
+ void * /* context */,
+ CORBA::Environment &ACE_TRY_ENV
+ )
+{
+ TAO_InputCDR &_tao_in = _tao_server_request.incoming ();
+ POA_CORBA::ValueDef *_tao_impl = (POA_CORBA::ValueDef *)_tao_object_reference;
+
+ _tao_server_request.argument_flag (0);
+ CORBA::Boolean is_custom;
+ if (!(
+ (_tao_in >> CORBA::Any::to_boolean (is_custom))
+ ))
+ ACE_THROW (CORBA::MARSHAL());
+
+
+#if (TAO_HAS_INTERCEPTORS == 1)
+ TAO_ServerRequestInterceptor_Adapter _tao_vfr (
+ _tao_server_request.orb_core ()->server_request_interceptors (),
+ _tao_server_request.interceptor_count ()
+ );
+
+ POA_CORBA::ValueDef::TAO_ServerRequestInfo_CORBA_ValueDef_is_custom_set ri (
+ _tao_server_request,
+ _tao_impl,
+ is_custom,
+ ACE_TRY_ENV
+ );
+
+ ACE_TRY
+ {
+ _tao_vfr.receive_request (&ri, ACE_TRY_ENV);
+ ACE_TRY_CHECK;
+
+#endif /* TAO_HAS_INTERCEPTORS */
+
+ _tao_impl->is_custom (
+ is_custom,
+ ACE_TRY_ENV
+ );
+ TAO_INTERCEPTOR_CHECK;
+
+#if (TAO_HAS_INTERCEPTORS == 1)
+ ri.reply_status (PortableInterceptor::SUCCESSFUL);
+ _tao_vfr.send_reply (&ri, ACE_TRY_ENV);
+ ACE_TRY_CHECK;
+ }
+ ACE_CATCH (PortableInterceptor::ForwardRequest, exc)
+ {
+ ri.forward_reference (exc);
+ _tao_vfr.send_other (
+ &ri,
+ ACE_TRY_ENV
+ );
+ ACE_TRY_CHECK;
+ _tao_server_request.forward_location (exc.forward.in ());
+ }
+ ACE_CATCHANY
+ {
+ ri.exception (&ACE_ANY_EXCEPTION);
+ _tao_vfr.send_exception (
+ &ri,
+ ACE_TRY_ENV
+ );
+ ACE_TRY_CHECK;
+ ACE_RE_THROW;
+ }
+ ACE_ENDTRY;
+ ACE_CHECK;
+#endif /* TAO_HAS_INTERCEPTORS */
+
+ _tao_server_request.init_reply ();
+
+ // In case ACE_TRY_ENV is not used in this function
+ ACE_UNUSED_ARG (ACE_TRY_ENV);
+}
+
+void POA_CORBA::ValueDef::_get_is_truncatable_skel (
+ TAO_ServerRequest &_tao_server_request,
+ void *_tao_object_reference,
+ void * /* context */,
+ CORBA::Environment &ACE_TRY_ENV
+ )
+{
+ POA_CORBA::ValueDef *_tao_impl = (POA_CORBA::ValueDef *)_tao_object_reference;
+
+ CORBA::Boolean _tao_retval = 0;
+
+#if (TAO_HAS_INTERCEPTORS == 1)
+ TAO_ServerRequestInterceptor_Adapter _tao_vfr (
+ _tao_server_request.orb_core ()->server_request_interceptors (),
+ _tao_server_request.interceptor_count ()
+ );
+
+ POA_CORBA::ValueDef::TAO_ServerRequestInfo_CORBA_ValueDef_is_truncatable_get ri (
+ _tao_server_request,
+ _tao_impl,
+ ACE_TRY_ENV
+ );
+
+ ACE_TRY
+ {
+ _tao_vfr.receive_request (&ri, ACE_TRY_ENV);
+ ACE_TRY_CHECK;
+
+#endif /* TAO_HAS_INTERCEPTORS */
+ _tao_retval =
+ _tao_impl->is_truncatable (
+ ACE_TRY_ENV
+ );
+ TAO_INTERCEPTOR_CHECK;
+
+#if (TAO_HAS_INTERCEPTORS == 1)
+ CORBA::Boolean _tao_retval_info = _tao_retval;
+ ri.result (_tao_retval_info);
+ ri.reply_status (PortableInterceptor::SUCCESSFUL);
+ _tao_vfr.send_reply (&ri, ACE_TRY_ENV);
+ ACE_TRY_CHECK;
+ }
+ ACE_CATCH (PortableInterceptor::ForwardRequest, exc)
+ {
+ ri.forward_reference (exc);
+ _tao_vfr.send_other (
+ &ri,
+ ACE_TRY_ENV
+ );
+ ACE_TRY_CHECK;
+ _tao_server_request.forward_location (exc.forward.in ());
+ }
+ ACE_CATCHANY
+ {
+ ri.exception (&ACE_ANY_EXCEPTION);
+ _tao_vfr.send_exception (
+ &ri,
+ ACE_TRY_ENV
+ );
+ ACE_TRY_CHECK;
+ ACE_RE_THROW;
+ }
+ ACE_ENDTRY;
+ ACE_CHECK;
+#endif /* TAO_HAS_INTERCEPTORS */
+
+ _tao_server_request.init_reply ();
+
+ TAO_OutputCDR &_tao_out = _tao_server_request.outgoing ();
+
+ if (!(
+ (_tao_out << CORBA::Any::from_boolean (_tao_retval))
+ ))
+ ACE_THROW (CORBA::MARSHAL());
+
+ // In case ACE_TRY_ENV is not used in this function
+ ACE_UNUSED_ARG (ACE_TRY_ENV);
+}
+
+void POA_CORBA::ValueDef::_set_is_truncatable_skel (
+ TAO_ServerRequest &_tao_server_request,
+ void *_tao_object_reference,
+ void * /* context */,
+ CORBA::Environment &ACE_TRY_ENV
+ )
+{
+ TAO_InputCDR &_tao_in = _tao_server_request.incoming ();
+ POA_CORBA::ValueDef *_tao_impl = (POA_CORBA::ValueDef *)_tao_object_reference;
+
+ _tao_server_request.argument_flag (0);
+ CORBA::Boolean is_truncatable;
+ if (!(
+ (_tao_in >> CORBA::Any::to_boolean (is_truncatable))
+ ))
+ ACE_THROW (CORBA::MARSHAL());
+
+
+#if (TAO_HAS_INTERCEPTORS == 1)
+ TAO_ServerRequestInterceptor_Adapter _tao_vfr (
+ _tao_server_request.orb_core ()->server_request_interceptors (),
+ _tao_server_request.interceptor_count ()
+ );
+
+ POA_CORBA::ValueDef::TAO_ServerRequestInfo_CORBA_ValueDef_is_truncatable_set ri (
+ _tao_server_request,
+ _tao_impl,
+ is_truncatable,
+ ACE_TRY_ENV
+ );
+
+ ACE_TRY
+ {
+ _tao_vfr.receive_request (&ri, ACE_TRY_ENV);
+ ACE_TRY_CHECK;
+
+#endif /* TAO_HAS_INTERCEPTORS */
+
+ _tao_impl->is_truncatable (
+ is_truncatable,
+ ACE_TRY_ENV
+ );
+ TAO_INTERCEPTOR_CHECK;
+
+#if (TAO_HAS_INTERCEPTORS == 1)
+ ri.reply_status (PortableInterceptor::SUCCESSFUL);
+ _tao_vfr.send_reply (&ri, ACE_TRY_ENV);
+ ACE_TRY_CHECK;
+ }
+ ACE_CATCH (PortableInterceptor::ForwardRequest, exc)
+ {
+ ri.forward_reference (exc);
+ _tao_vfr.send_other (
+ &ri,
+ ACE_TRY_ENV
+ );
+ ACE_TRY_CHECK;
+ _tao_server_request.forward_location (exc.forward.in ());
+ }
+ ACE_CATCHANY
+ {
+ ri.exception (&ACE_ANY_EXCEPTION);
+ _tao_vfr.send_exception (
+ &ri,
+ ACE_TRY_ENV
+ );
+ ACE_TRY_CHECK;
+ ACE_RE_THROW;
+ }
+ ACE_ENDTRY;
+ ACE_CHECK;
+#endif /* TAO_HAS_INTERCEPTORS */
+
+ _tao_server_request.init_reply ();
+
+ // In case ACE_TRY_ENV is not used in this function
+ ACE_UNUSED_ARG (ACE_TRY_ENV);
+}
+
+void POA_CORBA::ValueDef::is_a_skel (
+ TAO_ServerRequest &_tao_server_request,
+ void *_tao_object_reference,
+ void * /* context */,
+ CORBA::Environment &ACE_TRY_ENV
+ )
+{
+ TAO_InputCDR &_tao_in = _tao_server_request.incoming ();
+ POA_CORBA::ValueDef *_tao_impl = (POA_CORBA::ValueDef *)_tao_object_reference;
+
+ CORBA::Boolean _tao_retval = 0;
+ CORBA::String_var id;
+ if (!(
+ (_tao_in >> id.out ())
+ ))
+ ACE_THROW (CORBA::MARSHAL());
+
+
+#if (TAO_HAS_INTERCEPTORS == 1)
+ TAO_ServerRequestInterceptor_Adapter _tao_vfr (
+ _tao_server_request.orb_core ()->server_request_interceptors (),
+ _tao_server_request.interceptor_count ()
+ );
+
+ POA_CORBA::ValueDef::TAO_ServerRequestInfo_CORBA_ValueDef_is_a ri (
+ _tao_server_request,
+ _tao_impl,
+ id.in (),
+ ACE_TRY_ENV
+ );
+
+ ACE_TRY
+ {
+ _tao_vfr.receive_request (&ri, ACE_TRY_ENV);
+ ACE_TRY_CHECK;
+
+#endif /* TAO_HAS_INTERCEPTORS */
+ _tao_retval =
+ _tao_impl->is_a (
+ id.in (),
+ ACE_TRY_ENV
+ );
+ TAO_INTERCEPTOR_CHECK;
+
+#if (TAO_HAS_INTERCEPTORS == 1)
+ CORBA::Boolean _tao_retval_info = _tao_retval;
+ ri.result (_tao_retval_info);
+ ri.reply_status (PortableInterceptor::SUCCESSFUL);
+ _tao_vfr.send_reply (&ri, ACE_TRY_ENV);
+ ACE_TRY_CHECK;
+ }
+ ACE_CATCH (PortableInterceptor::ForwardRequest, exc)
+ {
+ ri.forward_reference (exc);
+ _tao_vfr.send_other (
+ &ri,
+ ACE_TRY_ENV
+ );
+ ACE_TRY_CHECK;
+ _tao_server_request.forward_location (exc.forward.in ());
+ }
+ ACE_CATCHANY
+ {
+ ri.exception (&ACE_ANY_EXCEPTION);
+ _tao_vfr.send_exception (
+ &ri,
+ ACE_TRY_ENV
+ );
+ ACE_TRY_CHECK;
+ ACE_RE_THROW;
+ }
+ ACE_ENDTRY;
+ ACE_CHECK;
+#endif /* TAO_HAS_INTERCEPTORS */
+
+ _tao_server_request.init_reply ();
+
+ TAO_OutputCDR &_tao_out = _tao_server_request.outgoing ();
+
+ if (!(
+ (_tao_out << CORBA::Any::from_boolean (_tao_retval))
+ ))
+ ACE_THROW (CORBA::MARSHAL());
+
+ // In case ACE_TRY_ENV is not used in this function
+ ACE_UNUSED_ARG (ACE_TRY_ENV);
+}
+
+void POA_CORBA::ValueDef::describe_value_skel (
+ TAO_ServerRequest &_tao_server_request,
+ void *_tao_object_reference,
+ void * /* context */,
+ CORBA::Environment &ACE_TRY_ENV
+ )
+{
+ POA_CORBA::ValueDef *_tao_impl = (POA_CORBA::ValueDef *)_tao_object_reference;
+
+ CORBA::ValueDef::FullValueDescription_var _tao_retval;
+
+#if (TAO_HAS_INTERCEPTORS == 1)
+ TAO_ServerRequestInterceptor_Adapter _tao_vfr (
+ _tao_server_request.orb_core ()->server_request_interceptors (),
+ _tao_server_request.interceptor_count ()
+ );
+
+ POA_CORBA::ValueDef::TAO_ServerRequestInfo_CORBA_ValueDef_describe_value ri (
+ _tao_server_request,
+ _tao_impl,
+ ACE_TRY_ENV
+ );
+
+ ACE_TRY
+ {
+ _tao_vfr.receive_request (&ri, ACE_TRY_ENV);
+ ACE_TRY_CHECK;
+
+#endif /* TAO_HAS_INTERCEPTORS */
+ _tao_retval =
+ _tao_impl->describe_value (
+ ACE_TRY_ENV
+ );
+ TAO_INTERCEPTOR_CHECK;
+
+#if (TAO_HAS_INTERCEPTORS == 1)
+ CORBA::ValueDef::FullValueDescription * _tao_retval_info = _tao_retval._retn ();
+ ri.result (_tao_retval_info);
+ _tao_retval = _tao_retval_info;
+ ri.reply_status (PortableInterceptor::SUCCESSFUL);
+ _tao_vfr.send_reply (&ri, ACE_TRY_ENV);
+ ACE_TRY_CHECK;
+ }
+ ACE_CATCH (PortableInterceptor::ForwardRequest, exc)
+ {
+ ri.forward_reference (exc);
+ _tao_vfr.send_other (
+ &ri,
+ ACE_TRY_ENV
+ );
+ ACE_TRY_CHECK;
+ _tao_server_request.forward_location (exc.forward.in ());
+ }
+ ACE_CATCHANY
+ {
+ ri.exception (&ACE_ANY_EXCEPTION);
+ _tao_vfr.send_exception (
+ &ri,
+ ACE_TRY_ENV
+ );
+ ACE_TRY_CHECK;
+ ACE_RE_THROW;
+ }
+ ACE_ENDTRY;
+ ACE_CHECK;
+#endif /* TAO_HAS_INTERCEPTORS */
+
+ _tao_server_request.init_reply ();
+
+ TAO_OutputCDR &_tao_out = _tao_server_request.outgoing ();
+
+ if (!(
+ (_tao_out << _tao_retval.in ())
+ ))
+ ACE_THROW (CORBA::MARSHAL());
+
+ // In case ACE_TRY_ENV is not used in this function
+ ACE_UNUSED_ARG (ACE_TRY_ENV);
+}
+
+void POA_CORBA::ValueDef::create_value_member_skel (
+ TAO_ServerRequest &_tao_server_request,
+ void *_tao_object_reference,
+ void * /* context */,
+ CORBA::Environment &ACE_TRY_ENV
+ )
+{
+ TAO_InputCDR &_tao_in = _tao_server_request.incoming ();
+ POA_CORBA::ValueDef *_tao_impl = (POA_CORBA::ValueDef *)_tao_object_reference;
+
+ CORBA::ValueMemberDef_var _tao_retval;
+ CORBA::String_var id;
+ CORBA::String_var name;
+ CORBA::String_var version;
+ CORBA::IDLType_var type;
+ CORBA::Visibility access;
+ if (!(
+ (_tao_in >> id.out ()) &&
+ (_tao_in >> name.out ()) &&
+ (_tao_in >> version.out ()) &&
+ (_tao_in >> type.out ()) &&
+ (_tao_in >> access)
+ ))
+ ACE_THROW (CORBA::MARSHAL());
+
+
+#if (TAO_HAS_INTERCEPTORS == 1)
+ TAO_ServerRequestInterceptor_Adapter _tao_vfr (
+ _tao_server_request.orb_core ()->server_request_interceptors (),
+ _tao_server_request.interceptor_count ()
+ );
+
+ POA_CORBA::ValueDef::TAO_ServerRequestInfo_CORBA_ValueDef_create_value_member ri (
+ _tao_server_request,
+ _tao_impl,
+ id.in (),
+ name.in (),
+ version.in (),
+ type.in (),
+ access,
+ ACE_TRY_ENV
+ );
+
+ ACE_TRY
+ {
+ _tao_vfr.receive_request (&ri, ACE_TRY_ENV);
+ ACE_TRY_CHECK;
+
+#endif /* TAO_HAS_INTERCEPTORS */
+ _tao_retval =
+ _tao_impl->create_value_member (
+ id.in (),
+ name.in (),
+ version.in (),
+ type.in (),
+ access,
+ ACE_TRY_ENV
+ );
+ TAO_INTERCEPTOR_CHECK;
+
+#if (TAO_HAS_INTERCEPTORS == 1)
+ CORBA::ValueMemberDef_ptr _tao_retval_info = _tao_retval._retn ();
+ ri.result (_tao_retval_info);
+ _tao_retval = _tao_retval_info;
+ ri.reply_status (PortableInterceptor::SUCCESSFUL);
+ _tao_vfr.send_reply (&ri, ACE_TRY_ENV);
+ ACE_TRY_CHECK;
+ }
+ ACE_CATCH (PortableInterceptor::ForwardRequest, exc)
+ {
+ ri.forward_reference (exc);
+ _tao_vfr.send_other (
+ &ri,
+ ACE_TRY_ENV
+ );
+ ACE_TRY_CHECK;
+ _tao_server_request.forward_location (exc.forward.in ());
+ }
+ ACE_CATCHANY
+ {
+ ri.exception (&ACE_ANY_EXCEPTION);
+ _tao_vfr.send_exception (
+ &ri,
+ ACE_TRY_ENV
+ );
+ ACE_TRY_CHECK;
+ ACE_RE_THROW;
+ }
+ ACE_ENDTRY;
+ ACE_CHECK;
+#endif /* TAO_HAS_INTERCEPTORS */
+
+ _tao_server_request.init_reply ();
+
+ TAO_OutputCDR &_tao_out = _tao_server_request.outgoing ();
+
+ if (!(
+ (_tao_out << _tao_retval.in ())
+ ))
+ ACE_THROW (CORBA::MARSHAL());
+
+ // In case ACE_TRY_ENV is not used in this function
+ ACE_UNUSED_ARG (ACE_TRY_ENV);
+}
+
+void POA_CORBA::ValueDef::create_attribute_skel (
+ TAO_ServerRequest &_tao_server_request,
+ void *_tao_object_reference,
+ void * /* context */,
+ CORBA::Environment &ACE_TRY_ENV
+ )
+{
+ TAO_InputCDR &_tao_in = _tao_server_request.incoming ();
+ POA_CORBA::ValueDef *_tao_impl = (POA_CORBA::ValueDef *)_tao_object_reference;
+
+ CORBA::AttributeDef_var _tao_retval;
+ CORBA::String_var id;
+ CORBA::String_var name;
+ CORBA::String_var version;
+ CORBA::IDLType_var type;
+ CORBA::AttributeMode mode;
+ if (!(
+ (_tao_in >> id.out ()) &&
+ (_tao_in >> name.out ()) &&
+ (_tao_in >> version.out ()) &&
+ (_tao_in >> type.out ()) &&
+ (_tao_in >> mode)
+ ))
+ ACE_THROW (CORBA::MARSHAL());
+
+
+#if (TAO_HAS_INTERCEPTORS == 1)
+ TAO_ServerRequestInterceptor_Adapter _tao_vfr (
+ _tao_server_request.orb_core ()->server_request_interceptors (),
+ _tao_server_request.interceptor_count ()
+ );
+
+ POA_CORBA::ValueDef::TAO_ServerRequestInfo_CORBA_ValueDef_create_attribute ri (
+ _tao_server_request,
+ _tao_impl,
+ id.in (),
+ name.in (),
+ version.in (),
+ type.in (),
+ mode,
+ ACE_TRY_ENV
+ );
+
+ ACE_TRY
+ {
+ _tao_vfr.receive_request (&ri, ACE_TRY_ENV);
+ ACE_TRY_CHECK;
+
+#endif /* TAO_HAS_INTERCEPTORS */
+ _tao_retval =
+ _tao_impl->create_attribute (
+ id.in (),
+ name.in (),
+ version.in (),
+ type.in (),
+ mode,
+ ACE_TRY_ENV
+ );
+ TAO_INTERCEPTOR_CHECK;
+
+#if (TAO_HAS_INTERCEPTORS == 1)
+ CORBA::AttributeDef_ptr _tao_retval_info = _tao_retval._retn ();
+ ri.result (_tao_retval_info);
+ _tao_retval = _tao_retval_info;
+ ri.reply_status (PortableInterceptor::SUCCESSFUL);
+ _tao_vfr.send_reply (&ri, ACE_TRY_ENV);
+ ACE_TRY_CHECK;
+ }
+ ACE_CATCH (PortableInterceptor::ForwardRequest, exc)
+ {
+ ri.forward_reference (exc);
+ _tao_vfr.send_other (
+ &ri,
+ ACE_TRY_ENV
+ );
+ ACE_TRY_CHECK;
+ _tao_server_request.forward_location (exc.forward.in ());
+ }
+ ACE_CATCHANY
+ {
+ ri.exception (&ACE_ANY_EXCEPTION);
+ _tao_vfr.send_exception (
+ &ri,
+ ACE_TRY_ENV
+ );
+ ACE_TRY_CHECK;
+ ACE_RE_THROW;
+ }
+ ACE_ENDTRY;
+ ACE_CHECK;
+#endif /* TAO_HAS_INTERCEPTORS */
+
+ _tao_server_request.init_reply ();
+
+ TAO_OutputCDR &_tao_out = _tao_server_request.outgoing ();
+
+ if (!(
+ (_tao_out << _tao_retval.in ())
+ ))
+ ACE_THROW (CORBA::MARSHAL());
+
+ // In case ACE_TRY_ENV is not used in this function
+ ACE_UNUSED_ARG (ACE_TRY_ENV);
+}
+
+void POA_CORBA::ValueDef::create_operation_skel (
+ TAO_ServerRequest &_tao_server_request,
+ void *_tao_object_reference,
+ void * /* context */,
+ CORBA::Environment &ACE_TRY_ENV
+ )
+{
+ TAO_InputCDR &_tao_in = _tao_server_request.incoming ();
+ POA_CORBA::ValueDef *_tao_impl = (POA_CORBA::ValueDef *)_tao_object_reference;
+
+ CORBA::OperationDef_var _tao_retval;
+ CORBA::String_var id;
+ CORBA::String_var name;
+ CORBA::String_var version;
+ CORBA::IDLType_var result;
+ CORBA::OperationMode mode;
+ CORBA::ParDescriptionSeq params;
+ CORBA::ExceptionDefSeq exceptions;
+ CORBA::ContextIdSeq contexts;
+ if (!(
+ (_tao_in >> id.out ()) &&
+ (_tao_in >> name.out ()) &&
+ (_tao_in >> version.out ()) &&
+ (_tao_in >> result.out ()) &&
+ (_tao_in >> mode) &&
+ (_tao_in >> params) &&
+ (_tao_in >> exceptions) &&
+ (_tao_in >> contexts)
+ ))
+ ACE_THROW (CORBA::MARSHAL());
+
+
+#if (TAO_HAS_INTERCEPTORS == 1)
+ TAO_ServerRequestInterceptor_Adapter _tao_vfr (
+ _tao_server_request.orb_core ()->server_request_interceptors (),
+ _tao_server_request.interceptor_count ()
+ );
+
+ POA_CORBA::ValueDef::TAO_ServerRequestInfo_CORBA_ValueDef_create_operation ri (
+ _tao_server_request,
+ _tao_impl,
+ id.in (),
+ name.in (),
+ version.in (),
+ result.in (),
+ mode,
+ params,
+ exceptions,
+ contexts,
+ ACE_TRY_ENV
+ );
+
+ ACE_TRY
+ {
+ _tao_vfr.receive_request (&ri, ACE_TRY_ENV);
+ ACE_TRY_CHECK;
+
+#endif /* TAO_HAS_INTERCEPTORS */
+ _tao_retval =
+ _tao_impl->create_operation (
+ id.in (),
+ name.in (),
+ version.in (),
+ result.in (),
+ mode,
+ params,
+ exceptions,
+ contexts,
+ ACE_TRY_ENV
+ );
+ TAO_INTERCEPTOR_CHECK;
+
+#if (TAO_HAS_INTERCEPTORS == 1)
+ CORBA::OperationDef_ptr _tao_retval_info = _tao_retval._retn ();
+ ri.result (_tao_retval_info);
+ _tao_retval = _tao_retval_info;
+ ri.reply_status (PortableInterceptor::SUCCESSFUL);
+ _tao_vfr.send_reply (&ri, ACE_TRY_ENV);
+ ACE_TRY_CHECK;
+ }
+ ACE_CATCH (PortableInterceptor::ForwardRequest, exc)
+ {
+ ri.forward_reference (exc);
+ _tao_vfr.send_other (
+ &ri,
+ ACE_TRY_ENV
+ );
+ ACE_TRY_CHECK;
+ _tao_server_request.forward_location (exc.forward.in ());
+ }
+ ACE_CATCHANY
+ {
+ ri.exception (&ACE_ANY_EXCEPTION);
+ _tao_vfr.send_exception (
+ &ri,
+ ACE_TRY_ENV
+ );
+ ACE_TRY_CHECK;
+ ACE_RE_THROW;
+ }
+ ACE_ENDTRY;
+ ACE_CHECK;
+#endif /* TAO_HAS_INTERCEPTORS */
+
+ _tao_server_request.init_reply ();
+
+ TAO_OutputCDR &_tao_out = _tao_server_request.outgoing ();
+
+ if (!(
+ (_tao_out << _tao_retval.in ())
+ ))
+ ACE_THROW (CORBA::MARSHAL());
+
+ // In case ACE_TRY_ENV is not used in this function
+ ACE_UNUSED_ARG (ACE_TRY_ENV);
+}
+
+void POA_CORBA::ValueDef::_is_a_skel (
+ TAO_ServerRequest &_tao_server_request,
+ void * _tao_object_reference,
+ void * /* context */,
+ CORBA::Environment &ACE_TRY_ENV
+ )
+{
+ TAO_InputCDR &_tao_in = _tao_server_request.incoming ();
+ POA_CORBA::ValueDef *_tao_impl = (POA_CORBA::ValueDef *) _tao_object_reference;
+ CORBA::Boolean _tao_retval = 0;
+ CORBA::String_var value;
+ if (!(_tao_in >> value.out ()))
+ ACE_THROW (CORBA::MARSHAL ());
+
+ _tao_retval = _tao_impl->_is_a (value.in (), ACE_TRY_ENV);
+ ACE_CHECK;
+
+ _tao_server_request.init_reply ();
+ TAO_OutputCDR &_tao_out = _tao_server_request.outgoing ();
+ if (!(_tao_out << CORBA::Any::from_boolean (_tao_retval)))
+ ACE_THROW (CORBA::MARSHAL ());
+}
+
+void POA_CORBA::ValueDef::_non_existent_skel (
+ TAO_ServerRequest &_tao_server_request,
+ void * _tao_object_reference,
+ void * /* context */,
+ CORBA::Environment &ACE_TRY_ENV
+ )
+{
+ POA_CORBA::ValueDef *_tao_impl = (POA_CORBA::ValueDef *) _tao_object_reference;
+ CORBA::Boolean _tao_retval = _tao_impl->_non_existent (ACE_TRY_ENV);
+ ACE_CHECK;
+
+ _tao_server_request.init_reply ();
+ TAO_OutputCDR &_tao_out = _tao_server_request.outgoing ();
+ if (!(_tao_out << CORBA::Any::from_boolean (_tao_retval)))
+ ACE_THROW (CORBA::MARSHAL ());
+}
+
+CORBA::Boolean POA_CORBA::ValueDef::_is_a (
+ const char* value,
+ CORBA::Environment &ACE_TRY_ENV
+ )
+{
+ const char *base_id = CORBA::_tc_Object->id (ACE_TRY_ENV);
+ ACE_CHECK_RETURN (0);
+
+ if (
+ (!ACE_OS::strcmp ((char *)value, "IDL:omg.org/CORBA/ValueDef:1.0")) ||
+ (!ACE_OS::strcmp ((char *)value, "IDL:omg.org/CORBA/Container:1.0")) ||
+ (!ACE_OS::strcmp ((char *)value, "IDL:omg.org/CORBA/Contained:1.0")) ||
+ (!ACE_OS::strcmp ((char *)value, "IDL:omg.org/CORBA/IDLType:1.0")) ||
+ (!ACE_OS::strcmp ((char *)value, "IDL:omg.org/CORBA/IRObject:1.0")) ||
+ (!ACE_OS::strcmp ((char *)value, base_id)))
+ return 1;
+ else
+ return 0;
+}
+
+void* POA_CORBA::ValueDef::_downcast (
+ const char* logical_type_id
+ )
+{
+ if (ACE_OS::strcmp (logical_type_id, "IDL:omg.org/CORBA/ValueDef:1.0") == 0)
+ return ACE_static_cast (POA_CORBA::ValueDef_ptr, this);
+ if (ACE_OS::strcmp (logical_type_id, "IDL:omg.org/CORBA/Container:1.0") == 0)
+ return ACE_static_cast (POA_CORBA::Container_ptr, this);
+ if (ACE_OS::strcmp (logical_type_id, "IDL:omg.org/CORBA/Contained:1.0") == 0)
+ return ACE_static_cast (POA_CORBA::Contained_ptr, this);
+ if (ACE_OS::strcmp (logical_type_id, "IDL:omg.org/CORBA/IDLType:1.0") == 0)
+ return ACE_static_cast (POA_CORBA::IDLType_ptr, this);
+ if (ACE_OS::strcmp (logical_type_id, "IDL:omg.org/CORBA/IRObject:1.0") == 0)
+ return ACE_static_cast (POA_CORBA::IRObject_ptr, this);
+ if (ACE_OS::strcmp (logical_type_id, "IDL:omg.org/CORBA/Object:1.0") == 0)
+ return ACE_static_cast(PortableServer::Servant, this);
+ return 0;
+}
+
+void POA_CORBA::ValueDef::_dispatch (TAO_ServerRequest &req, void *context, CORBA::Environment &ACE_TRY_ENV)
+{
+ this->synchronous_upcall_dispatch(req, context, this, ACE_TRY_ENV);
+}
+
+const char* POA_CORBA::ValueDef::_interface_repository_id (void) const
+{
+ return "IDL:omg.org/CORBA/ValueDef:1.0";
+}
+
+CORBA::ValueDef*
+POA_CORBA::ValueDef::_this (CORBA_Environment &ACE_TRY_ENV)
+{
+ TAO_Stub *stub = this->_create_stub (ACE_TRY_ENV);
+ ACE_CHECK_RETURN (0);
+
+ CORBA::Object_ptr tmp = CORBA::Object::_nil ();
+
+ if (stub->servant_orb_var ()->orb_core ()->optimize_collocation_objects ())
+ ACE_NEW_RETURN (tmp, CORBA::Object (stub, 1, this), 0);
+ else
+ ACE_NEW_RETURN (tmp, CORBA::Object (stub, 0, this), 0);
+
+ CORBA::Object_var obj = tmp;
+ return ::CORBA::ValueDef::_unchecked_narrow (obj.in ());
+}
+
+
+#if (TAO_HAS_INTERCEPTORS == 1)
+POA_CORBA::ValueDef::TAO_ServerRequestInfo_CORBA_ValueDef_supported_interfaces_get::TAO_ServerRequestInfo_CORBA_ValueDef_supported_interfaces_get (
+ TAO_ServerRequest &_tao_server_request,
+ POA_CORBA::ValueDef *tao_impl,
+ CORBA::Environment &
+ )
+ : TAO_ServerRequestInfo (_tao_server_request),
+ _tao_impl (tao_impl)
+{}
+
+Dynamic::ParameterList *
+POA_CORBA::ValueDef::TAO_ServerRequestInfo_CORBA_ValueDef_supported_interfaces_get::arguments (CORBA::Environment &ACE_TRY_ENV)
+ ACE_THROW_SPEC ((CORBA::SystemException))
+{
+ // Generate the argument list on demand.
+ Dynamic::ParameterList *parameter_list =
+ TAO_RequestInfo_Util::make_parameter_list (ACE_TRY_ENV);
+ ACE_CHECK_RETURN (0);
+
+ return parameter_list;
+}
+
+Dynamic::ExceptionList *
+POA_CORBA::ValueDef::TAO_ServerRequestInfo_CORBA_ValueDef_supported_interfaces_get::exceptions (CORBA::Environment &ACE_TRY_ENV)
+ ACE_THROW_SPEC ((CORBA::SystemException))
+{
+ // Generate the exception list on demand.
+ Dynamic::ExceptionList *exception_list =
+ TAO_RequestInfo_Util::make_exception_list (ACE_TRY_ENV);
+ ACE_CHECK_RETURN (0);
+
+ return exception_list;
+}
+
+CORBA::Any *
+POA_CORBA::ValueDef::TAO_ServerRequestInfo_CORBA_ValueDef_supported_interfaces_get::result (CORBA::Environment &ACE_TRY_ENV)
+ ACE_THROW_SPEC ((CORBA::SystemException))
+{
+ // Generate the result on demand.
+ CORBA::Boolean tk_void_any = 0;
+ CORBA::Any *result_any =
+ TAO_RequestInfo_Util::make_any (tk_void_any, ACE_TRY_ENV);
+ ACE_CHECK_RETURN (0);
+
+ CORBA::Any_var safe_result_any = result_any;
+
+ (*result_any) <<= this->_result;
+
+ return safe_result_any._retn ();
+}
+
+char *
+POA_CORBA::ValueDef::TAO_ServerRequestInfo_CORBA_ValueDef_supported_interfaces_get::target_most_derived_interface (
+ CORBA::Environment &)
+ ACE_THROW_SPEC ((CORBA::SystemException))
+{
+ return
+ CORBA::string_dup (this->_tao_impl->_interface_repository_id ());
+}
+
+CORBA::Boolean
+POA_CORBA::ValueDef::TAO_ServerRequestInfo_CORBA_ValueDef_supported_interfaces_get::target_is_a (
+ const char * id,
+ CORBA::Environment &ACE_TRY_ENV)
+ ACE_THROW_SPEC ((CORBA::SystemException))
+{
+ return this->_tao_impl->_is_a (id, ACE_TRY_ENV);
+}
+
+void
+POA_CORBA::ValueDef::TAO_ServerRequestInfo_CORBA_ValueDef_supported_interfaces_get::result (CORBA::InterfaceDefSeq * result)
+{
+ // Update the result.
+ this->_result = result;
+}
+
+POA_CORBA::ValueDef::TAO_ServerRequestInfo_CORBA_ValueDef_supported_interfaces_set::TAO_ServerRequestInfo_CORBA_ValueDef_supported_interfaces_set (
+ TAO_ServerRequest &_tao_server_request,
+ POA_CORBA::ValueDef *tao_impl,
+ const CORBA::InterfaceDefSeq & supported_interfaces,
+ CORBA::Environment &
+ )
+ : TAO_ServerRequestInfo (_tao_server_request),
+ _tao_impl (tao_impl),
+ supported_interfaces_ (supported_interfaces)
+{}
+
+Dynamic::ParameterList *
+POA_CORBA::ValueDef::TAO_ServerRequestInfo_CORBA_ValueDef_supported_interfaces_set::arguments (CORBA::Environment &ACE_TRY_ENV)
+ ACE_THROW_SPEC ((CORBA::SystemException))
+{
+ // Generate the argument list on demand.
+ Dynamic::ParameterList *parameter_list =
+ TAO_RequestInfo_Util::make_parameter_list (ACE_TRY_ENV);
+ ACE_CHECK_RETURN (0);
+
+ Dynamic::ParameterList_var safe_parameter_list = parameter_list;
+
+ CORBA::ULong length_supported_interfaces = parameter_list->length ();
+ parameter_list->length (length_supported_interfaces + 1);
+ (*parameter_list)[length_supported_interfaces].argument <<= this->supported_interfaces_;
+
+ (*parameter_list)[length_supported_interfaces].mode = Dynamic::PARAM_IN;
+
+ return safe_parameter_list._retn ();
+}
+
+Dynamic::ExceptionList *
+POA_CORBA::ValueDef::TAO_ServerRequestInfo_CORBA_ValueDef_supported_interfaces_set::exceptions (CORBA::Environment &ACE_TRY_ENV)
+ ACE_THROW_SPEC ((CORBA::SystemException))
+{
+ // Generate the exception list on demand.
+ Dynamic::ExceptionList *exception_list =
+ TAO_RequestInfo_Util::make_exception_list (ACE_TRY_ENV);
+ ACE_CHECK_RETURN (0);
+
+ return exception_list;
+}
+
+CORBA::Any *
+POA_CORBA::ValueDef::TAO_ServerRequestInfo_CORBA_ValueDef_supported_interfaces_set::result (CORBA::Environment &ACE_TRY_ENV)
+ ACE_THROW_SPEC ((CORBA::SystemException))
+{
+ // Generate the result on demand.
+ CORBA::Boolean tk_void_any = 1;
+ CORBA::Any *result_any =
+ TAO_RequestInfo_Util::make_any (tk_void_any, ACE_TRY_ENV);
+ ACE_CHECK_RETURN (0);
+
+ return result_any;
+}
+
+char *
+POA_CORBA::ValueDef::TAO_ServerRequestInfo_CORBA_ValueDef_supported_interfaces_set::target_most_derived_interface (
+ CORBA::Environment &)
+ ACE_THROW_SPEC ((CORBA::SystemException))
+{
+ return
+ CORBA::string_dup (this->_tao_impl->_interface_repository_id ());
+}
+
+CORBA::Boolean
+POA_CORBA::ValueDef::TAO_ServerRequestInfo_CORBA_ValueDef_supported_interfaces_set::target_is_a (
+ const char * id,
+ CORBA::Environment &ACE_TRY_ENV)
+ ACE_THROW_SPEC ((CORBA::SystemException))
+{
+ return this->_tao_impl->_is_a (id, ACE_TRY_ENV);
+}
+
+POA_CORBA::ValueDef::TAO_ServerRequestInfo_CORBA_ValueDef_initializers_get::TAO_ServerRequestInfo_CORBA_ValueDef_initializers_get (
+ TAO_ServerRequest &_tao_server_request,
+ POA_CORBA::ValueDef *tao_impl,
+ CORBA::Environment &
+ )
+ : TAO_ServerRequestInfo (_tao_server_request),
+ _tao_impl (tao_impl)
+{}
+
+Dynamic::ParameterList *
+POA_CORBA::ValueDef::TAO_ServerRequestInfo_CORBA_ValueDef_initializers_get::arguments (CORBA::Environment &ACE_TRY_ENV)
+ ACE_THROW_SPEC ((CORBA::SystemException))
+{
+ // Generate the argument list on demand.
+ Dynamic::ParameterList *parameter_list =
+ TAO_RequestInfo_Util::make_parameter_list (ACE_TRY_ENV);
+ ACE_CHECK_RETURN (0);
+
+ return parameter_list;
+}
+
+Dynamic::ExceptionList *
+POA_CORBA::ValueDef::TAO_ServerRequestInfo_CORBA_ValueDef_initializers_get::exceptions (CORBA::Environment &ACE_TRY_ENV)
+ ACE_THROW_SPEC ((CORBA::SystemException))
+{
+ // Generate the exception list on demand.
+ Dynamic::ExceptionList *exception_list =
+ TAO_RequestInfo_Util::make_exception_list (ACE_TRY_ENV);
+ ACE_CHECK_RETURN (0);
+
+ return exception_list;
+}
+
+CORBA::Any *
+POA_CORBA::ValueDef::TAO_ServerRequestInfo_CORBA_ValueDef_initializers_get::result (CORBA::Environment &ACE_TRY_ENV)
+ ACE_THROW_SPEC ((CORBA::SystemException))
+{
+ // Generate the result on demand.
+ CORBA::Boolean tk_void_any = 0;
+ CORBA::Any *result_any =
+ TAO_RequestInfo_Util::make_any (tk_void_any, ACE_TRY_ENV);
+ ACE_CHECK_RETURN (0);
+
+ CORBA::Any_var safe_result_any = result_any;
+
+ (*result_any) <<= this->_result;
+
+ return safe_result_any._retn ();
+}
+
+char *
+POA_CORBA::ValueDef::TAO_ServerRequestInfo_CORBA_ValueDef_initializers_get::target_most_derived_interface (
+ CORBA::Environment &)
+ ACE_THROW_SPEC ((CORBA::SystemException))
+{
+ return
+ CORBA::string_dup (this->_tao_impl->_interface_repository_id ());
+}
+
+CORBA::Boolean
+POA_CORBA::ValueDef::TAO_ServerRequestInfo_CORBA_ValueDef_initializers_get::target_is_a (
+ const char * id,
+ CORBA::Environment &ACE_TRY_ENV)
+ ACE_THROW_SPEC ((CORBA::SystemException))
+{
+ return this->_tao_impl->_is_a (id, ACE_TRY_ENV);
+}
+
+void
+POA_CORBA::ValueDef::TAO_ServerRequestInfo_CORBA_ValueDef_initializers_get::result (CORBA::InitializerSeq * result)
+{
+ // Update the result.
+ this->_result = result;
+}
+
+POA_CORBA::ValueDef::TAO_ServerRequestInfo_CORBA_ValueDef_initializers_set::TAO_ServerRequestInfo_CORBA_ValueDef_initializers_set (
+ TAO_ServerRequest &_tao_server_request,
+ POA_CORBA::ValueDef *tao_impl,
+ const CORBA::InitializerSeq & initializers,
+ CORBA::Environment &
+ )
+ : TAO_ServerRequestInfo (_tao_server_request),
+ _tao_impl (tao_impl),
+ initializers_ (initializers)
+{}
+
+Dynamic::ParameterList *
+POA_CORBA::ValueDef::TAO_ServerRequestInfo_CORBA_ValueDef_initializers_set::arguments (CORBA::Environment &ACE_TRY_ENV)
+ ACE_THROW_SPEC ((CORBA::SystemException))
+{
+ // Generate the argument list on demand.
+ Dynamic::ParameterList *parameter_list =
+ TAO_RequestInfo_Util::make_parameter_list (ACE_TRY_ENV);
+ ACE_CHECK_RETURN (0);
+
+ Dynamic::ParameterList_var safe_parameter_list = parameter_list;
+
+ CORBA::ULong length_initializers = parameter_list->length ();
+ parameter_list->length (length_initializers + 1);
+ (*parameter_list)[length_initializers].argument <<= this->initializers_;
+
+ (*parameter_list)[length_initializers].mode = Dynamic::PARAM_IN;
+
+ return safe_parameter_list._retn ();
+}
+
+Dynamic::ExceptionList *
+POA_CORBA::ValueDef::TAO_ServerRequestInfo_CORBA_ValueDef_initializers_set::exceptions (CORBA::Environment &ACE_TRY_ENV)
+ ACE_THROW_SPEC ((CORBA::SystemException))
+{
+ // Generate the exception list on demand.
+ Dynamic::ExceptionList *exception_list =
+ TAO_RequestInfo_Util::make_exception_list (ACE_TRY_ENV);
+ ACE_CHECK_RETURN (0);
+
+ return exception_list;
+}
+
+CORBA::Any *
+POA_CORBA::ValueDef::TAO_ServerRequestInfo_CORBA_ValueDef_initializers_set::result (CORBA::Environment &ACE_TRY_ENV)
+ ACE_THROW_SPEC ((CORBA::SystemException))
+{
+ // Generate the result on demand.
+ CORBA::Boolean tk_void_any = 1;
+ CORBA::Any *result_any =
+ TAO_RequestInfo_Util::make_any (tk_void_any, ACE_TRY_ENV);
+ ACE_CHECK_RETURN (0);
+
+ return result_any;
+}
+
+char *
+POA_CORBA::ValueDef::TAO_ServerRequestInfo_CORBA_ValueDef_initializers_set::target_most_derived_interface (
+ CORBA::Environment &)
+ ACE_THROW_SPEC ((CORBA::SystemException))
+{
+ return
+ CORBA::string_dup (this->_tao_impl->_interface_repository_id ());
+}
+
+CORBA::Boolean
+POA_CORBA::ValueDef::TAO_ServerRequestInfo_CORBA_ValueDef_initializers_set::target_is_a (
+ const char * id,
+ CORBA::Environment &ACE_TRY_ENV)
+ ACE_THROW_SPEC ((CORBA::SystemException))
+{
+ return this->_tao_impl->_is_a (id, ACE_TRY_ENV);
+}
+
+POA_CORBA::ValueDef::TAO_ServerRequestInfo_CORBA_ValueDef_base_value_get::TAO_ServerRequestInfo_CORBA_ValueDef_base_value_get (
+ TAO_ServerRequest &_tao_server_request,
+ POA_CORBA::ValueDef *tao_impl,
+ CORBA::Environment &
+ )
+ : TAO_ServerRequestInfo (_tao_server_request),
+ _tao_impl (tao_impl)
+{}
+
+Dynamic::ParameterList *
+POA_CORBA::ValueDef::TAO_ServerRequestInfo_CORBA_ValueDef_base_value_get::arguments (CORBA::Environment &ACE_TRY_ENV)
+ ACE_THROW_SPEC ((CORBA::SystemException))
+{
+ // Generate the argument list on demand.
+ Dynamic::ParameterList *parameter_list =
+ TAO_RequestInfo_Util::make_parameter_list (ACE_TRY_ENV);
+ ACE_CHECK_RETURN (0);
+
+ return parameter_list;
+}
+
+Dynamic::ExceptionList *
+POA_CORBA::ValueDef::TAO_ServerRequestInfo_CORBA_ValueDef_base_value_get::exceptions (CORBA::Environment &ACE_TRY_ENV)
+ ACE_THROW_SPEC ((CORBA::SystemException))
+{
+ // Generate the exception list on demand.
+ Dynamic::ExceptionList *exception_list =
+ TAO_RequestInfo_Util::make_exception_list (ACE_TRY_ENV);
+ ACE_CHECK_RETURN (0);
+
+ return exception_list;
+}
+
+CORBA::Any *
+POA_CORBA::ValueDef::TAO_ServerRequestInfo_CORBA_ValueDef_base_value_get::result (CORBA::Environment &ACE_TRY_ENV)
+ ACE_THROW_SPEC ((CORBA::SystemException))
+{
+ // Generate the result on demand.
+ CORBA::Boolean tk_void_any = 0;
+ CORBA::Any *result_any =
+ TAO_RequestInfo_Util::make_any (tk_void_any, ACE_TRY_ENV);
+ ACE_CHECK_RETURN (0);
+
+ CORBA::Any_var safe_result_any = result_any;
+
+ (*result_any) <<= this->_result;
+
+ return safe_result_any._retn ();
+}
+
+char *
+POA_CORBA::ValueDef::TAO_ServerRequestInfo_CORBA_ValueDef_base_value_get::target_most_derived_interface (
+ CORBA::Environment &)
+ ACE_THROW_SPEC ((CORBA::SystemException))
+{
+ return
+ CORBA::string_dup (this->_tao_impl->_interface_repository_id ());
+}
+
+CORBA::Boolean
+POA_CORBA::ValueDef::TAO_ServerRequestInfo_CORBA_ValueDef_base_value_get::target_is_a (
+ const char * id,
+ CORBA::Environment &ACE_TRY_ENV)
+ ACE_THROW_SPEC ((CORBA::SystemException))
+{
+ return this->_tao_impl->_is_a (id, ACE_TRY_ENV);
+}
+
+void
+POA_CORBA::ValueDef::TAO_ServerRequestInfo_CORBA_ValueDef_base_value_get::result (CORBA::ValueDef_ptr result)
+{
+ // Update the result.
+ this->_result = result;
+}
+
+POA_CORBA::ValueDef::TAO_ServerRequestInfo_CORBA_ValueDef_base_value_set::TAO_ServerRequestInfo_CORBA_ValueDef_base_value_set (
+ TAO_ServerRequest &_tao_server_request,
+ POA_CORBA::ValueDef *tao_impl,
+ CORBA::ValueDef_ptr base_value,
+ CORBA::Environment &
+ )
+ : TAO_ServerRequestInfo (_tao_server_request),
+ _tao_impl (tao_impl),
+ base_value_ (base_value)
+{}
+
+Dynamic::ParameterList *
+POA_CORBA::ValueDef::TAO_ServerRequestInfo_CORBA_ValueDef_base_value_set::arguments (CORBA::Environment &ACE_TRY_ENV)
+ ACE_THROW_SPEC ((CORBA::SystemException))
+{
+ // Generate the argument list on demand.
+ Dynamic::ParameterList *parameter_list =
+ TAO_RequestInfo_Util::make_parameter_list (ACE_TRY_ENV);
+ ACE_CHECK_RETURN (0);
+
+ Dynamic::ParameterList_var safe_parameter_list = parameter_list;
+
+ CORBA::ULong length_base_value = parameter_list->length ();
+ parameter_list->length (length_base_value + 1);
+ (*parameter_list)[length_base_value].argument <<= this->base_value_;
+
+ (*parameter_list)[length_base_value].mode = Dynamic::PARAM_IN;
+
+ return safe_parameter_list._retn ();
+}
+
+Dynamic::ExceptionList *
+POA_CORBA::ValueDef::TAO_ServerRequestInfo_CORBA_ValueDef_base_value_set::exceptions (CORBA::Environment &ACE_TRY_ENV)
+ ACE_THROW_SPEC ((CORBA::SystemException))
+{
+ // Generate the exception list on demand.
+ Dynamic::ExceptionList *exception_list =
+ TAO_RequestInfo_Util::make_exception_list (ACE_TRY_ENV);
+ ACE_CHECK_RETURN (0);
+
+ return exception_list;
+}
+
+CORBA::Any *
+POA_CORBA::ValueDef::TAO_ServerRequestInfo_CORBA_ValueDef_base_value_set::result (CORBA::Environment &ACE_TRY_ENV)
+ ACE_THROW_SPEC ((CORBA::SystemException))
+{
+ // Generate the result on demand.
+ CORBA::Boolean tk_void_any = 1;
+ CORBA::Any *result_any =
+ TAO_RequestInfo_Util::make_any (tk_void_any, ACE_TRY_ENV);
+ ACE_CHECK_RETURN (0);
+
+ return result_any;
+}
+
+char *
+POA_CORBA::ValueDef::TAO_ServerRequestInfo_CORBA_ValueDef_base_value_set::target_most_derived_interface (
+ CORBA::Environment &)
+ ACE_THROW_SPEC ((CORBA::SystemException))
+{
+ return
+ CORBA::string_dup (this->_tao_impl->_interface_repository_id ());
+}
+
+CORBA::Boolean
+POA_CORBA::ValueDef::TAO_ServerRequestInfo_CORBA_ValueDef_base_value_set::target_is_a (
+ const char * id,
+ CORBA::Environment &ACE_TRY_ENV)
+ ACE_THROW_SPEC ((CORBA::SystemException))
+{
+ return this->_tao_impl->_is_a (id, ACE_TRY_ENV);
+}
+
+POA_CORBA::ValueDef::TAO_ServerRequestInfo_CORBA_ValueDef_abstract_base_values_get::TAO_ServerRequestInfo_CORBA_ValueDef_abstract_base_values_get (
+ TAO_ServerRequest &_tao_server_request,
+ POA_CORBA::ValueDef *tao_impl,
+ CORBA::Environment &
+ )
+ : TAO_ServerRequestInfo (_tao_server_request),
+ _tao_impl (tao_impl)
+{}
+
+Dynamic::ParameterList *
+POA_CORBA::ValueDef::TAO_ServerRequestInfo_CORBA_ValueDef_abstract_base_values_get::arguments (CORBA::Environment &ACE_TRY_ENV)
+ ACE_THROW_SPEC ((CORBA::SystemException))
+{
+ // Generate the argument list on demand.
+ Dynamic::ParameterList *parameter_list =
+ TAO_RequestInfo_Util::make_parameter_list (ACE_TRY_ENV);
+ ACE_CHECK_RETURN (0);
+
+ return parameter_list;
+}
+
+Dynamic::ExceptionList *
+POA_CORBA::ValueDef::TAO_ServerRequestInfo_CORBA_ValueDef_abstract_base_values_get::exceptions (CORBA::Environment &ACE_TRY_ENV)
+ ACE_THROW_SPEC ((CORBA::SystemException))
+{
+ // Generate the exception list on demand.
+ Dynamic::ExceptionList *exception_list =
+ TAO_RequestInfo_Util::make_exception_list (ACE_TRY_ENV);
+ ACE_CHECK_RETURN (0);
+
+ return exception_list;
+}
+
+CORBA::Any *
+POA_CORBA::ValueDef::TAO_ServerRequestInfo_CORBA_ValueDef_abstract_base_values_get::result (CORBA::Environment &ACE_TRY_ENV)
+ ACE_THROW_SPEC ((CORBA::SystemException))
+{
+ // Generate the result on demand.
+ CORBA::Boolean tk_void_any = 0;
+ CORBA::Any *result_any =
+ TAO_RequestInfo_Util::make_any (tk_void_any, ACE_TRY_ENV);
+ ACE_CHECK_RETURN (0);
+
+ CORBA::Any_var safe_result_any = result_any;
+
+ (*result_any) <<= this->_result;
+
+ return safe_result_any._retn ();
+}
+
+char *
+POA_CORBA::ValueDef::TAO_ServerRequestInfo_CORBA_ValueDef_abstract_base_values_get::target_most_derived_interface (
+ CORBA::Environment &)
+ ACE_THROW_SPEC ((CORBA::SystemException))
+{
+ return
+ CORBA::string_dup (this->_tao_impl->_interface_repository_id ());
+}
+
+CORBA::Boolean
+POA_CORBA::ValueDef::TAO_ServerRequestInfo_CORBA_ValueDef_abstract_base_values_get::target_is_a (
+ const char * id,
+ CORBA::Environment &ACE_TRY_ENV)
+ ACE_THROW_SPEC ((CORBA::SystemException))
+{
+ return this->_tao_impl->_is_a (id, ACE_TRY_ENV);
+}
+
+void
+POA_CORBA::ValueDef::TAO_ServerRequestInfo_CORBA_ValueDef_abstract_base_values_get::result (CORBA::ValueDefSeq * result)
+{
+ // Update the result.
+ this->_result = result;
+}
+
+POA_CORBA::ValueDef::TAO_ServerRequestInfo_CORBA_ValueDef_abstract_base_values_set::TAO_ServerRequestInfo_CORBA_ValueDef_abstract_base_values_set (
+ TAO_ServerRequest &_tao_server_request,
+ POA_CORBA::ValueDef *tao_impl,
+ const CORBA::ValueDefSeq & abstract_base_values,
+ CORBA::Environment &
+ )
+ : TAO_ServerRequestInfo (_tao_server_request),
+ _tao_impl (tao_impl),
+ abstract_base_values_ (abstract_base_values)
+{}
+
+Dynamic::ParameterList *
+POA_CORBA::ValueDef::TAO_ServerRequestInfo_CORBA_ValueDef_abstract_base_values_set::arguments (CORBA::Environment &ACE_TRY_ENV)
+ ACE_THROW_SPEC ((CORBA::SystemException))
+{
+ // Generate the argument list on demand.
+ Dynamic::ParameterList *parameter_list =
+ TAO_RequestInfo_Util::make_parameter_list (ACE_TRY_ENV);
+ ACE_CHECK_RETURN (0);
+
+ Dynamic::ParameterList_var safe_parameter_list = parameter_list;
+
+ CORBA::ULong length_abstract_base_values = parameter_list->length ();
+ parameter_list->length (length_abstract_base_values + 1);
+ (*parameter_list)[length_abstract_base_values].argument <<= this->abstract_base_values_;
+
+ (*parameter_list)[length_abstract_base_values].mode = Dynamic::PARAM_IN;
+
+ return safe_parameter_list._retn ();
+}
+
+Dynamic::ExceptionList *
+POA_CORBA::ValueDef::TAO_ServerRequestInfo_CORBA_ValueDef_abstract_base_values_set::exceptions (CORBA::Environment &ACE_TRY_ENV)
+ ACE_THROW_SPEC ((CORBA::SystemException))
+{
+ // Generate the exception list on demand.
+ Dynamic::ExceptionList *exception_list =
+ TAO_RequestInfo_Util::make_exception_list (ACE_TRY_ENV);
+ ACE_CHECK_RETURN (0);
+
+ return exception_list;
+}
+
+CORBA::Any *
+POA_CORBA::ValueDef::TAO_ServerRequestInfo_CORBA_ValueDef_abstract_base_values_set::result (CORBA::Environment &ACE_TRY_ENV)
+ ACE_THROW_SPEC ((CORBA::SystemException))
+{
+ // Generate the result on demand.
+ CORBA::Boolean tk_void_any = 1;
+ CORBA::Any *result_any =
+ TAO_RequestInfo_Util::make_any (tk_void_any, ACE_TRY_ENV);
+ ACE_CHECK_RETURN (0);
+
+ return result_any;
+}
+
+char *
+POA_CORBA::ValueDef::TAO_ServerRequestInfo_CORBA_ValueDef_abstract_base_values_set::target_most_derived_interface (
+ CORBA::Environment &)
+ ACE_THROW_SPEC ((CORBA::SystemException))
+{
+ return
+ CORBA::string_dup (this->_tao_impl->_interface_repository_id ());
+}
+
+CORBA::Boolean
+POA_CORBA::ValueDef::TAO_ServerRequestInfo_CORBA_ValueDef_abstract_base_values_set::target_is_a (
+ const char * id,
+ CORBA::Environment &ACE_TRY_ENV)
+ ACE_THROW_SPEC ((CORBA::SystemException))
+{
+ return this->_tao_impl->_is_a (id, ACE_TRY_ENV);
+}
+
+POA_CORBA::ValueDef::TAO_ServerRequestInfo_CORBA_ValueDef_is_abstract_get::TAO_ServerRequestInfo_CORBA_ValueDef_is_abstract_get (
+ TAO_ServerRequest &_tao_server_request,
+ POA_CORBA::ValueDef *tao_impl,
+ CORBA::Environment &
+ )
+ : TAO_ServerRequestInfo (_tao_server_request),
+ _tao_impl (tao_impl)
+{}
+
+Dynamic::ParameterList *
+POA_CORBA::ValueDef::TAO_ServerRequestInfo_CORBA_ValueDef_is_abstract_get::arguments (CORBA::Environment &ACE_TRY_ENV)
+ ACE_THROW_SPEC ((CORBA::SystemException))
+{
+ // Generate the argument list on demand.
+ Dynamic::ParameterList *parameter_list =
+ TAO_RequestInfo_Util::make_parameter_list (ACE_TRY_ENV);
+ ACE_CHECK_RETURN (0);
+
+ return parameter_list;
+}
+
+Dynamic::ExceptionList *
+POA_CORBA::ValueDef::TAO_ServerRequestInfo_CORBA_ValueDef_is_abstract_get::exceptions (CORBA::Environment &ACE_TRY_ENV)
+ ACE_THROW_SPEC ((CORBA::SystemException))
+{
+ // Generate the exception list on demand.
+ Dynamic::ExceptionList *exception_list =
+ TAO_RequestInfo_Util::make_exception_list (ACE_TRY_ENV);
+ ACE_CHECK_RETURN (0);
+
+ return exception_list;
+}
+
+CORBA::Any *
+POA_CORBA::ValueDef::TAO_ServerRequestInfo_CORBA_ValueDef_is_abstract_get::result (CORBA::Environment &ACE_TRY_ENV)
+ ACE_THROW_SPEC ((CORBA::SystemException))
+{
+ // Generate the result on demand.
+ CORBA::Boolean tk_void_any = 0;
+ CORBA::Any *result_any =
+ TAO_RequestInfo_Util::make_any (tk_void_any, ACE_TRY_ENV);
+ ACE_CHECK_RETURN (0);
+
+ CORBA::Any_var safe_result_any = result_any;
+
+ (*result_any) <<= CORBA::Any::from_boolean (this->_result);
+
+ return safe_result_any._retn ();
+}
+
+char *
+POA_CORBA::ValueDef::TAO_ServerRequestInfo_CORBA_ValueDef_is_abstract_get::target_most_derived_interface (
+ CORBA::Environment &)
+ ACE_THROW_SPEC ((CORBA::SystemException))
+{
+ return
+ CORBA::string_dup (this->_tao_impl->_interface_repository_id ());
+}
+
+CORBA::Boolean
+POA_CORBA::ValueDef::TAO_ServerRequestInfo_CORBA_ValueDef_is_abstract_get::target_is_a (
+ const char * id,
+ CORBA::Environment &ACE_TRY_ENV)
+ ACE_THROW_SPEC ((CORBA::SystemException))
+{
+ return this->_tao_impl->_is_a (id, ACE_TRY_ENV);
+}
+
+void
+POA_CORBA::ValueDef::TAO_ServerRequestInfo_CORBA_ValueDef_is_abstract_get::result (CORBA::Boolean result)
+{
+ // Update the result.
+ this->_result = result;
+}
+
+POA_CORBA::ValueDef::TAO_ServerRequestInfo_CORBA_ValueDef_is_abstract_set::TAO_ServerRequestInfo_CORBA_ValueDef_is_abstract_set (
+ TAO_ServerRequest &_tao_server_request,
+ POA_CORBA::ValueDef *tao_impl,
+ const CORBA::Boolean & is_abstract,
+ CORBA::Environment &
+ )
+ : TAO_ServerRequestInfo (_tao_server_request),
+ _tao_impl (tao_impl),
+ is_abstract_ (is_abstract)
+{}
+
+Dynamic::ParameterList *
+POA_CORBA::ValueDef::TAO_ServerRequestInfo_CORBA_ValueDef_is_abstract_set::arguments (CORBA::Environment &ACE_TRY_ENV)
+ ACE_THROW_SPEC ((CORBA::SystemException))
+{
+ // Generate the argument list on demand.
+ Dynamic::ParameterList *parameter_list =
+ TAO_RequestInfo_Util::make_parameter_list (ACE_TRY_ENV);
+ ACE_CHECK_RETURN (0);
+
+ Dynamic::ParameterList_var safe_parameter_list = parameter_list;
+
+ CORBA::ULong length_is_abstract = parameter_list->length ();
+ parameter_list->length (length_is_abstract + 1);
+ (*parameter_list)[length_is_abstract].argument <<= CORBA::Any::from_boolean (this->is_abstract_);
+ (*parameter_list)[length_is_abstract].mode = Dynamic::PARAM_IN;
+
+ return safe_parameter_list._retn ();
+}
+
+Dynamic::ExceptionList *
+POA_CORBA::ValueDef::TAO_ServerRequestInfo_CORBA_ValueDef_is_abstract_set::exceptions (CORBA::Environment &ACE_TRY_ENV)
+ ACE_THROW_SPEC ((CORBA::SystemException))
+{
+ // Generate the exception list on demand.
+ Dynamic::ExceptionList *exception_list =
+ TAO_RequestInfo_Util::make_exception_list (ACE_TRY_ENV);
+ ACE_CHECK_RETURN (0);
+
+ return exception_list;
+}
+
+CORBA::Any *
+POA_CORBA::ValueDef::TAO_ServerRequestInfo_CORBA_ValueDef_is_abstract_set::result (CORBA::Environment &ACE_TRY_ENV)
+ ACE_THROW_SPEC ((CORBA::SystemException))
+{
+ // Generate the result on demand.
+ CORBA::Boolean tk_void_any = 1;
+ CORBA::Any *result_any =
+ TAO_RequestInfo_Util::make_any (tk_void_any, ACE_TRY_ENV);
+ ACE_CHECK_RETURN (0);
+
+ return result_any;
+}
+
+char *
+POA_CORBA::ValueDef::TAO_ServerRequestInfo_CORBA_ValueDef_is_abstract_set::target_most_derived_interface (
+ CORBA::Environment &)
+ ACE_THROW_SPEC ((CORBA::SystemException))
+{
+ return
+ CORBA::string_dup (this->_tao_impl->_interface_repository_id ());
+}
+
+CORBA::Boolean
+POA_CORBA::ValueDef::TAO_ServerRequestInfo_CORBA_ValueDef_is_abstract_set::target_is_a (
+ const char * id,
+ CORBA::Environment &ACE_TRY_ENV)
+ ACE_THROW_SPEC ((CORBA::SystemException))
+{
+ return this->_tao_impl->_is_a (id, ACE_TRY_ENV);
+}
+
+POA_CORBA::ValueDef::TAO_ServerRequestInfo_CORBA_ValueDef_is_custom_get::TAO_ServerRequestInfo_CORBA_ValueDef_is_custom_get (
+ TAO_ServerRequest &_tao_server_request,
+ POA_CORBA::ValueDef *tao_impl,
+ CORBA::Environment &
+ )
+ : TAO_ServerRequestInfo (_tao_server_request),
+ _tao_impl (tao_impl)
+{}
+
+Dynamic::ParameterList *
+POA_CORBA::ValueDef::TAO_ServerRequestInfo_CORBA_ValueDef_is_custom_get::arguments (CORBA::Environment &ACE_TRY_ENV)
+ ACE_THROW_SPEC ((CORBA::SystemException))
+{
+ // Generate the argument list on demand.
+ Dynamic::ParameterList *parameter_list =
+ TAO_RequestInfo_Util::make_parameter_list (ACE_TRY_ENV);
+ ACE_CHECK_RETURN (0);
+
+ return parameter_list;
+}
+
+Dynamic::ExceptionList *
+POA_CORBA::ValueDef::TAO_ServerRequestInfo_CORBA_ValueDef_is_custom_get::exceptions (CORBA::Environment &ACE_TRY_ENV)
+ ACE_THROW_SPEC ((CORBA::SystemException))
+{
+ // Generate the exception list on demand.
+ Dynamic::ExceptionList *exception_list =
+ TAO_RequestInfo_Util::make_exception_list (ACE_TRY_ENV);
+ ACE_CHECK_RETURN (0);
+
+ return exception_list;
+}
+
+CORBA::Any *
+POA_CORBA::ValueDef::TAO_ServerRequestInfo_CORBA_ValueDef_is_custom_get::result (CORBA::Environment &ACE_TRY_ENV)
+ ACE_THROW_SPEC ((CORBA::SystemException))
+{
+ // Generate the result on demand.
+ CORBA::Boolean tk_void_any = 0;
+ CORBA::Any *result_any =
+ TAO_RequestInfo_Util::make_any (tk_void_any, ACE_TRY_ENV);
+ ACE_CHECK_RETURN (0);
+
+ CORBA::Any_var safe_result_any = result_any;
+
+ (*result_any) <<= CORBA::Any::from_boolean (this->_result);
+
+ return safe_result_any._retn ();
+}
+
+char *
+POA_CORBA::ValueDef::TAO_ServerRequestInfo_CORBA_ValueDef_is_custom_get::target_most_derived_interface (
+ CORBA::Environment &)
+ ACE_THROW_SPEC ((CORBA::SystemException))
+{
+ return
+ CORBA::string_dup (this->_tao_impl->_interface_repository_id ());
+}
+
+CORBA::Boolean
+POA_CORBA::ValueDef::TAO_ServerRequestInfo_CORBA_ValueDef_is_custom_get::target_is_a (
+ const char * id,
+ CORBA::Environment &ACE_TRY_ENV)
+ ACE_THROW_SPEC ((CORBA::SystemException))
+{
+ return this->_tao_impl->_is_a (id, ACE_TRY_ENV);
+}
+
+void
+POA_CORBA::ValueDef::TAO_ServerRequestInfo_CORBA_ValueDef_is_custom_get::result (CORBA::Boolean result)
+{
+ // Update the result.
+ this->_result = result;
+}
+
+POA_CORBA::ValueDef::TAO_ServerRequestInfo_CORBA_ValueDef_is_custom_set::TAO_ServerRequestInfo_CORBA_ValueDef_is_custom_set (
+ TAO_ServerRequest &_tao_server_request,
+ POA_CORBA::ValueDef *tao_impl,
+ const CORBA::Boolean & is_custom,
+ CORBA::Environment &
+ )
+ : TAO_ServerRequestInfo (_tao_server_request),
+ _tao_impl (tao_impl),
+ is_custom_ (is_custom)
+{}
+
+Dynamic::ParameterList *
+POA_CORBA::ValueDef::TAO_ServerRequestInfo_CORBA_ValueDef_is_custom_set::arguments (CORBA::Environment &ACE_TRY_ENV)
+ ACE_THROW_SPEC ((CORBA::SystemException))
+{
+ // Generate the argument list on demand.
+ Dynamic::ParameterList *parameter_list =
+ TAO_RequestInfo_Util::make_parameter_list (ACE_TRY_ENV);
+ ACE_CHECK_RETURN (0);
+
+ Dynamic::ParameterList_var safe_parameter_list = parameter_list;
+
+ CORBA::ULong length_is_custom = parameter_list->length ();
+ parameter_list->length (length_is_custom + 1);
+ (*parameter_list)[length_is_custom].argument <<= CORBA::Any::from_boolean (this->is_custom_);
+ (*parameter_list)[length_is_custom].mode = Dynamic::PARAM_IN;
+
+ return safe_parameter_list._retn ();
+}
+
+Dynamic::ExceptionList *
+POA_CORBA::ValueDef::TAO_ServerRequestInfo_CORBA_ValueDef_is_custom_set::exceptions (CORBA::Environment &ACE_TRY_ENV)
+ ACE_THROW_SPEC ((CORBA::SystemException))
+{
+ // Generate the exception list on demand.
+ Dynamic::ExceptionList *exception_list =
+ TAO_RequestInfo_Util::make_exception_list (ACE_TRY_ENV);
+ ACE_CHECK_RETURN (0);
+
+ return exception_list;
+}
+
+CORBA::Any *
+POA_CORBA::ValueDef::TAO_ServerRequestInfo_CORBA_ValueDef_is_custom_set::result (CORBA::Environment &ACE_TRY_ENV)
+ ACE_THROW_SPEC ((CORBA::SystemException))
+{
+ // Generate the result on demand.
+ CORBA::Boolean tk_void_any = 1;
+ CORBA::Any *result_any =
+ TAO_RequestInfo_Util::make_any (tk_void_any, ACE_TRY_ENV);
+ ACE_CHECK_RETURN (0);
+
+ return result_any;
+}
+
+char *
+POA_CORBA::ValueDef::TAO_ServerRequestInfo_CORBA_ValueDef_is_custom_set::target_most_derived_interface (
+ CORBA::Environment &)
+ ACE_THROW_SPEC ((CORBA::SystemException))
+{
+ return
+ CORBA::string_dup (this->_tao_impl->_interface_repository_id ());
+}
+
+CORBA::Boolean
+POA_CORBA::ValueDef::TAO_ServerRequestInfo_CORBA_ValueDef_is_custom_set::target_is_a (
+ const char * id,
+ CORBA::Environment &ACE_TRY_ENV)
+ ACE_THROW_SPEC ((CORBA::SystemException))
+{
+ return this->_tao_impl->_is_a (id, ACE_TRY_ENV);
+}
+
+POA_CORBA::ValueDef::TAO_ServerRequestInfo_CORBA_ValueDef_is_truncatable_get::TAO_ServerRequestInfo_CORBA_ValueDef_is_truncatable_get (
+ TAO_ServerRequest &_tao_server_request,
+ POA_CORBA::ValueDef *tao_impl,
+ CORBA::Environment &
+ )
+ : TAO_ServerRequestInfo (_tao_server_request),
+ _tao_impl (tao_impl)
+{}
+
+Dynamic::ParameterList *
+POA_CORBA::ValueDef::TAO_ServerRequestInfo_CORBA_ValueDef_is_truncatable_get::arguments (CORBA::Environment &ACE_TRY_ENV)
+ ACE_THROW_SPEC ((CORBA::SystemException))
+{
+ // Generate the argument list on demand.
+ Dynamic::ParameterList *parameter_list =
+ TAO_RequestInfo_Util::make_parameter_list (ACE_TRY_ENV);
+ ACE_CHECK_RETURN (0);
+
+ return parameter_list;
+}
+
+Dynamic::ExceptionList *
+POA_CORBA::ValueDef::TAO_ServerRequestInfo_CORBA_ValueDef_is_truncatable_get::exceptions (CORBA::Environment &ACE_TRY_ENV)
+ ACE_THROW_SPEC ((CORBA::SystemException))
+{
+ // Generate the exception list on demand.
+ Dynamic::ExceptionList *exception_list =
+ TAO_RequestInfo_Util::make_exception_list (ACE_TRY_ENV);
+ ACE_CHECK_RETURN (0);
+
+ return exception_list;
+}
+
+CORBA::Any *
+POA_CORBA::ValueDef::TAO_ServerRequestInfo_CORBA_ValueDef_is_truncatable_get::result (CORBA::Environment &ACE_TRY_ENV)
+ ACE_THROW_SPEC ((CORBA::SystemException))
+{
+ // Generate the result on demand.
+ CORBA::Boolean tk_void_any = 0;
+ CORBA::Any *result_any =
+ TAO_RequestInfo_Util::make_any (tk_void_any, ACE_TRY_ENV);
+ ACE_CHECK_RETURN (0);
+
+ CORBA::Any_var safe_result_any = result_any;
+
+ (*result_any) <<= CORBA::Any::from_boolean (this->_result);
+
+ return safe_result_any._retn ();
+}
+
+char *
+POA_CORBA::ValueDef::TAO_ServerRequestInfo_CORBA_ValueDef_is_truncatable_get::target_most_derived_interface (
+ CORBA::Environment &)
+ ACE_THROW_SPEC ((CORBA::SystemException))
+{
+ return
+ CORBA::string_dup (this->_tao_impl->_interface_repository_id ());
+}
+
+CORBA::Boolean
+POA_CORBA::ValueDef::TAO_ServerRequestInfo_CORBA_ValueDef_is_truncatable_get::target_is_a (
+ const char * id,
+ CORBA::Environment &ACE_TRY_ENV)
+ ACE_THROW_SPEC ((CORBA::SystemException))
+{
+ return this->_tao_impl->_is_a (id, ACE_TRY_ENV);
+}
+
+void
+POA_CORBA::ValueDef::TAO_ServerRequestInfo_CORBA_ValueDef_is_truncatable_get::result (CORBA::Boolean result)
+{
+ // Update the result.
+ this->_result = result;
+}
+
+POA_CORBA::ValueDef::TAO_ServerRequestInfo_CORBA_ValueDef_is_truncatable_set::TAO_ServerRequestInfo_CORBA_ValueDef_is_truncatable_set (
+ TAO_ServerRequest &_tao_server_request,
+ POA_CORBA::ValueDef *tao_impl,
+ const CORBA::Boolean & is_truncatable,
+ CORBA::Environment &
+ )
+ : TAO_ServerRequestInfo (_tao_server_request),
+ _tao_impl (tao_impl),
+ is_truncatable_ (is_truncatable)
+{}
+
+Dynamic::ParameterList *
+POA_CORBA::ValueDef::TAO_ServerRequestInfo_CORBA_ValueDef_is_truncatable_set::arguments (CORBA::Environment &ACE_TRY_ENV)
+ ACE_THROW_SPEC ((CORBA::SystemException))
+{
+ // Generate the argument list on demand.
+ Dynamic::ParameterList *parameter_list =
+ TAO_RequestInfo_Util::make_parameter_list (ACE_TRY_ENV);
+ ACE_CHECK_RETURN (0);
+
+ Dynamic::ParameterList_var safe_parameter_list = parameter_list;
+
+ CORBA::ULong length_is_truncatable = parameter_list->length ();
+ parameter_list->length (length_is_truncatable + 1);
+ (*parameter_list)[length_is_truncatable].argument <<= CORBA::Any::from_boolean (this->is_truncatable_);
+ (*parameter_list)[length_is_truncatable].mode = Dynamic::PARAM_IN;
+
+ return safe_parameter_list._retn ();
+}
+
+Dynamic::ExceptionList *
+POA_CORBA::ValueDef::TAO_ServerRequestInfo_CORBA_ValueDef_is_truncatable_set::exceptions (CORBA::Environment &ACE_TRY_ENV)
+ ACE_THROW_SPEC ((CORBA::SystemException))
+{
+ // Generate the exception list on demand.
+ Dynamic::ExceptionList *exception_list =
+ TAO_RequestInfo_Util::make_exception_list (ACE_TRY_ENV);
+ ACE_CHECK_RETURN (0);
+
+ return exception_list;
+}
+
+CORBA::Any *
+POA_CORBA::ValueDef::TAO_ServerRequestInfo_CORBA_ValueDef_is_truncatable_set::result (CORBA::Environment &ACE_TRY_ENV)
+ ACE_THROW_SPEC ((CORBA::SystemException))
+{
+ // Generate the result on demand.
+ CORBA::Boolean tk_void_any = 1;
+ CORBA::Any *result_any =
+ TAO_RequestInfo_Util::make_any (tk_void_any, ACE_TRY_ENV);
+ ACE_CHECK_RETURN (0);
+
+ return result_any;
+}
+
+char *
+POA_CORBA::ValueDef::TAO_ServerRequestInfo_CORBA_ValueDef_is_truncatable_set::target_most_derived_interface (
+ CORBA::Environment &)
+ ACE_THROW_SPEC ((CORBA::SystemException))
+{
+ return
+ CORBA::string_dup (this->_tao_impl->_interface_repository_id ());
+}
+
+CORBA::Boolean
+POA_CORBA::ValueDef::TAO_ServerRequestInfo_CORBA_ValueDef_is_truncatable_set::target_is_a (
+ const char * id,
+ CORBA::Environment &ACE_TRY_ENV)
+ ACE_THROW_SPEC ((CORBA::SystemException))
+{
+ return this->_tao_impl->_is_a (id, ACE_TRY_ENV);
+}
+
+POA_CORBA::ValueDef::TAO_ServerRequestInfo_CORBA_ValueDef_is_a::TAO_ServerRequestInfo_CORBA_ValueDef_is_a (
+ TAO_ServerRequest &_tao_server_request,
+ POA_CORBA::ValueDef *tao_impl,
+ const char * id,
+ CORBA::Environment &
+ )
+ : TAO_ServerRequestInfo (_tao_server_request),
+ _tao_impl (tao_impl),
+ id_ (id)
+{}
+
+Dynamic::ParameterList *
+POA_CORBA::ValueDef::TAO_ServerRequestInfo_CORBA_ValueDef_is_a::arguments (CORBA::Environment &ACE_TRY_ENV)
+ ACE_THROW_SPEC ((CORBA::SystemException))
+{
+ // Generate the argument list on demand.
+ Dynamic::ParameterList *parameter_list =
+ TAO_RequestInfo_Util::make_parameter_list (ACE_TRY_ENV);
+ ACE_CHECK_RETURN (0);
+
+ Dynamic::ParameterList_var safe_parameter_list = parameter_list;
+
+ CORBA::ULong length_id = parameter_list->length ();
+ parameter_list->length (length_id + 1);
+ (*parameter_list)[length_id].argument <<= id_;
+ (*parameter_list)[length_id].mode = Dynamic::PARAM_IN;
+
+ return safe_parameter_list._retn ();
+}
+
+Dynamic::ExceptionList *
+POA_CORBA::ValueDef::TAO_ServerRequestInfo_CORBA_ValueDef_is_a::exceptions (CORBA::Environment &ACE_TRY_ENV)
+ ACE_THROW_SPEC ((CORBA::SystemException))
+{
+ // Generate the exception list on demand.
+ Dynamic::ExceptionList *exception_list =
+ TAO_RequestInfo_Util::make_exception_list (ACE_TRY_ENV);
+ ACE_CHECK_RETURN (0);
+
+ return exception_list;
+}
+
+CORBA::Any *
+POA_CORBA::ValueDef::TAO_ServerRequestInfo_CORBA_ValueDef_is_a::result (CORBA::Environment &ACE_TRY_ENV)
+ ACE_THROW_SPEC ((CORBA::SystemException))
+{
+ // Generate the result on demand.
+ CORBA::Boolean tk_void_any = 0;
+ CORBA::Any *result_any =
+ TAO_RequestInfo_Util::make_any (tk_void_any, ACE_TRY_ENV);
+ ACE_CHECK_RETURN (0);
+
+ CORBA::Any_var safe_result_any = result_any;
+
+ (*result_any) <<= CORBA::Any::from_boolean (this->_result);
+
+ return safe_result_any._retn ();
+}
+
+char *
+POA_CORBA::ValueDef::TAO_ServerRequestInfo_CORBA_ValueDef_is_a::target_most_derived_interface (
+ CORBA::Environment &)
+ ACE_THROW_SPEC ((CORBA::SystemException))
+{
+ return
+ CORBA::string_dup (this->_tao_impl->_interface_repository_id ());
+}
+
+CORBA::Boolean
+POA_CORBA::ValueDef::TAO_ServerRequestInfo_CORBA_ValueDef_is_a::target_is_a (
+ const char * id,
+ CORBA::Environment &ACE_TRY_ENV)
+ ACE_THROW_SPEC ((CORBA::SystemException))
+{
+ return this->_tao_impl->_is_a (id, ACE_TRY_ENV);
+}
+
+void
+POA_CORBA::ValueDef::TAO_ServerRequestInfo_CORBA_ValueDef_is_a::result (CORBA::Boolean result)
+{
+ // Update the result.
+ this->_result = result;
+}
+
+POA_CORBA::ValueDef::TAO_ServerRequestInfo_CORBA_ValueDef_describe_value::TAO_ServerRequestInfo_CORBA_ValueDef_describe_value (
+ TAO_ServerRequest &_tao_server_request,
+ POA_CORBA::ValueDef *tao_impl,
+ CORBA::Environment &
+ )
+ : TAO_ServerRequestInfo (_tao_server_request),
+ _tao_impl (tao_impl)
+{}
+
+Dynamic::ParameterList *
+POA_CORBA::ValueDef::TAO_ServerRequestInfo_CORBA_ValueDef_describe_value::arguments (CORBA::Environment &ACE_TRY_ENV)
+ ACE_THROW_SPEC ((CORBA::SystemException))
+{
+ // Generate the argument list on demand.
+ Dynamic::ParameterList *parameter_list =
+ TAO_RequestInfo_Util::make_parameter_list (ACE_TRY_ENV);
+ ACE_CHECK_RETURN (0);
+
+ return parameter_list;
+}
+
+Dynamic::ExceptionList *
+POA_CORBA::ValueDef::TAO_ServerRequestInfo_CORBA_ValueDef_describe_value::exceptions (CORBA::Environment &ACE_TRY_ENV)
+ ACE_THROW_SPEC ((CORBA::SystemException))
+{
+ // Generate the exception list on demand.
+ Dynamic::ExceptionList *exception_list =
+ TAO_RequestInfo_Util::make_exception_list (ACE_TRY_ENV);
+ ACE_CHECK_RETURN (0);
+
+ return exception_list;
+}
+
+CORBA::Any *
+POA_CORBA::ValueDef::TAO_ServerRequestInfo_CORBA_ValueDef_describe_value::result (CORBA::Environment &ACE_TRY_ENV)
+ ACE_THROW_SPEC ((CORBA::SystemException))
+{
+ // Generate the result on demand.
+ CORBA::Boolean tk_void_any = 0;
+ CORBA::Any *result_any =
+ TAO_RequestInfo_Util::make_any (tk_void_any, ACE_TRY_ENV);
+ ACE_CHECK_RETURN (0);
+
+ CORBA::Any_var safe_result_any = result_any;
+
+ (*result_any) <<= this->_result;
+
+ return safe_result_any._retn ();
+}
+
+char *
+POA_CORBA::ValueDef::TAO_ServerRequestInfo_CORBA_ValueDef_describe_value::target_most_derived_interface (
+ CORBA::Environment &)
+ ACE_THROW_SPEC ((CORBA::SystemException))
+{
+ return
+ CORBA::string_dup (this->_tao_impl->_interface_repository_id ());
+}
+
+CORBA::Boolean
+POA_CORBA::ValueDef::TAO_ServerRequestInfo_CORBA_ValueDef_describe_value::target_is_a (
+ const char * id,
+ CORBA::Environment &ACE_TRY_ENV)
+ ACE_THROW_SPEC ((CORBA::SystemException))
+{
+ return this->_tao_impl->_is_a (id, ACE_TRY_ENV);
+}
+
+void
+POA_CORBA::ValueDef::TAO_ServerRequestInfo_CORBA_ValueDef_describe_value::result (CORBA::ValueDef::FullValueDescription * result)
+{
+ // Update the result.
+ this->_result = result;
+}
+
+POA_CORBA::ValueDef::TAO_ServerRequestInfo_CORBA_ValueDef_create_value_member::TAO_ServerRequestInfo_CORBA_ValueDef_create_value_member (
+ TAO_ServerRequest &_tao_server_request,
+ POA_CORBA::ValueDef *tao_impl,
+ const char * id,
+ const char * name,
+ const char * version,
+ CORBA::IDLType_ptr type,
+ const CORBA::Visibility & access,
+ CORBA::Environment &
+ )
+ : TAO_ServerRequestInfo (_tao_server_request),
+ _tao_impl (tao_impl),
+ id_ (id),
+ name_ (name),
+ version_ (version),
+ type_ (type),
+ access_ (access)
+{}
+
+Dynamic::ParameterList *
+POA_CORBA::ValueDef::TAO_ServerRequestInfo_CORBA_ValueDef_create_value_member::arguments (CORBA::Environment &ACE_TRY_ENV)
+ ACE_THROW_SPEC ((CORBA::SystemException))
+{
+ // Generate the argument list on demand.
+ Dynamic::ParameterList *parameter_list =
+ TAO_RequestInfo_Util::make_parameter_list (ACE_TRY_ENV);
+ ACE_CHECK_RETURN (0);
+
+ Dynamic::ParameterList_var safe_parameter_list = parameter_list;
+
+ CORBA::ULong length_id = parameter_list->length ();
+ parameter_list->length (length_id + 1);
+ (*parameter_list)[length_id].argument <<= id_;
+ (*parameter_list)[length_id].mode = Dynamic::PARAM_IN;
+
+ CORBA::ULong length_name = parameter_list->length ();
+ parameter_list->length (length_name + 1);
+ (*parameter_list)[length_name].argument <<= name_;
+ (*parameter_list)[length_name].mode = Dynamic::PARAM_IN;
+
+ CORBA::ULong length_version = parameter_list->length ();
+ parameter_list->length (length_version + 1);
+ (*parameter_list)[length_version].argument <<= version_;
+ (*parameter_list)[length_version].mode = Dynamic::PARAM_IN;
+
+ CORBA::ULong length_type = parameter_list->length ();
+ parameter_list->length (length_type + 1);
+ (*parameter_list)[length_type].argument <<= this->type_;
+
+ (*parameter_list)[length_type].mode = Dynamic::PARAM_IN;
+
+ CORBA::ULong length_access = parameter_list->length ();
+ parameter_list->length (length_access + 1);
+ (*parameter_list)[length_access].argument <<= access_;
+ (*parameter_list)[length_access].mode = Dynamic::PARAM_IN;
+
+ return safe_parameter_list._retn ();
+}
+
+Dynamic::ExceptionList *
+POA_CORBA::ValueDef::TAO_ServerRequestInfo_CORBA_ValueDef_create_value_member::exceptions (CORBA::Environment &ACE_TRY_ENV)
+ ACE_THROW_SPEC ((CORBA::SystemException))
+{
+ // Generate the exception list on demand.
+ Dynamic::ExceptionList *exception_list =
+ TAO_RequestInfo_Util::make_exception_list (ACE_TRY_ENV);
+ ACE_CHECK_RETURN (0);
+
+ return exception_list;
+}
+
+CORBA::Any *
+POA_CORBA::ValueDef::TAO_ServerRequestInfo_CORBA_ValueDef_create_value_member::result (CORBA::Environment &ACE_TRY_ENV)
+ ACE_THROW_SPEC ((CORBA::SystemException))
+{
+ // Generate the result on demand.
+ CORBA::Boolean tk_void_any = 0;
+ CORBA::Any *result_any =
+ TAO_RequestInfo_Util::make_any (tk_void_any, ACE_TRY_ENV);
+ ACE_CHECK_RETURN (0);
+
+ CORBA::Any_var safe_result_any = result_any;
+
+ (*result_any) <<= this->_result;
+
+ return safe_result_any._retn ();
+}
+
+char *
+POA_CORBA::ValueDef::TAO_ServerRequestInfo_CORBA_ValueDef_create_value_member::target_most_derived_interface (
+ CORBA::Environment &)
+ ACE_THROW_SPEC ((CORBA::SystemException))
+{
+ return
+ CORBA::string_dup (this->_tao_impl->_interface_repository_id ());
+}
+
+CORBA::Boolean
+POA_CORBA::ValueDef::TAO_ServerRequestInfo_CORBA_ValueDef_create_value_member::target_is_a (
+ const char * id,
+ CORBA::Environment &ACE_TRY_ENV)
+ ACE_THROW_SPEC ((CORBA::SystemException))
+{
+ return this->_tao_impl->_is_a (id, ACE_TRY_ENV);
+}
+
+void
+POA_CORBA::ValueDef::TAO_ServerRequestInfo_CORBA_ValueDef_create_value_member::result (CORBA::ValueMemberDef_ptr result)
+{
+ // Update the result.
+ this->_result = result;
+}
+
+POA_CORBA::ValueDef::TAO_ServerRequestInfo_CORBA_ValueDef_create_attribute::TAO_ServerRequestInfo_CORBA_ValueDef_create_attribute (
+ TAO_ServerRequest &_tao_server_request,
+ POA_CORBA::ValueDef *tao_impl,
+ const char * id,
+ const char * name,
+ const char * version,
+ CORBA::IDLType_ptr type,
+ CORBA::AttributeMode & mode,
+ CORBA::Environment &
+ )
+ : TAO_ServerRequestInfo (_tao_server_request),
+ _tao_impl (tao_impl),
+ id_ (id),
+ name_ (name),
+ version_ (version),
+ type_ (type),
+ mode_ (mode)
+{}
+
+Dynamic::ParameterList *
+POA_CORBA::ValueDef::TAO_ServerRequestInfo_CORBA_ValueDef_create_attribute::arguments (CORBA::Environment &ACE_TRY_ENV)
+ ACE_THROW_SPEC ((CORBA::SystemException))
+{
+ // Generate the argument list on demand.
+ Dynamic::ParameterList *parameter_list =
+ TAO_RequestInfo_Util::make_parameter_list (ACE_TRY_ENV);
+ ACE_CHECK_RETURN (0);
+
+ Dynamic::ParameterList_var safe_parameter_list = parameter_list;
+
+ CORBA::ULong length_id = parameter_list->length ();
+ parameter_list->length (length_id + 1);
+ (*parameter_list)[length_id].argument <<= id_;
+ (*parameter_list)[length_id].mode = Dynamic::PARAM_IN;
+
+ CORBA::ULong length_name = parameter_list->length ();
+ parameter_list->length (length_name + 1);
+ (*parameter_list)[length_name].argument <<= name_;
+ (*parameter_list)[length_name].mode = Dynamic::PARAM_IN;
+
+ CORBA::ULong length_version = parameter_list->length ();
+ parameter_list->length (length_version + 1);
+ (*parameter_list)[length_version].argument <<= version_;
+ (*parameter_list)[length_version].mode = Dynamic::PARAM_IN;
+
+ CORBA::ULong length_type = parameter_list->length ();
+ parameter_list->length (length_type + 1);
+ (*parameter_list)[length_type].argument <<= this->type_;
+
+ (*parameter_list)[length_type].mode = Dynamic::PARAM_IN;
+
+ CORBA::ULong length_mode = parameter_list->length ();
+ parameter_list->length (length_mode + 1);
+ (*parameter_list)[length_mode].argument <<= this->mode_;
+
+ (*parameter_list)[length_mode].mode = Dynamic::PARAM_IN;
+
+ return safe_parameter_list._retn ();
+}
+
+Dynamic::ExceptionList *
+POA_CORBA::ValueDef::TAO_ServerRequestInfo_CORBA_ValueDef_create_attribute::exceptions (CORBA::Environment &ACE_TRY_ENV)
+ ACE_THROW_SPEC ((CORBA::SystemException))
+{
+ // Generate the exception list on demand.
+ Dynamic::ExceptionList *exception_list =
+ TAO_RequestInfo_Util::make_exception_list (ACE_TRY_ENV);
+ ACE_CHECK_RETURN (0);
+
+ return exception_list;
+}
+
+CORBA::Any *
+POA_CORBA::ValueDef::TAO_ServerRequestInfo_CORBA_ValueDef_create_attribute::result (CORBA::Environment &ACE_TRY_ENV)
+ ACE_THROW_SPEC ((CORBA::SystemException))
+{
+ // Generate the result on demand.
+ CORBA::Boolean tk_void_any = 0;
+ CORBA::Any *result_any =
+ TAO_RequestInfo_Util::make_any (tk_void_any, ACE_TRY_ENV);
+ ACE_CHECK_RETURN (0);
+
+ CORBA::Any_var safe_result_any = result_any;
+
+ (*result_any) <<= this->_result;
+
+ return safe_result_any._retn ();
+}
+
+char *
+POA_CORBA::ValueDef::TAO_ServerRequestInfo_CORBA_ValueDef_create_attribute::target_most_derived_interface (
+ CORBA::Environment &)
+ ACE_THROW_SPEC ((CORBA::SystemException))
+{
+ return
+ CORBA::string_dup (this->_tao_impl->_interface_repository_id ());
+}
+
+CORBA::Boolean
+POA_CORBA::ValueDef::TAO_ServerRequestInfo_CORBA_ValueDef_create_attribute::target_is_a (
+ const char * id,
+ CORBA::Environment &ACE_TRY_ENV)
+ ACE_THROW_SPEC ((CORBA::SystemException))
+{
+ return this->_tao_impl->_is_a (id, ACE_TRY_ENV);
+}
+
+void
+POA_CORBA::ValueDef::TAO_ServerRequestInfo_CORBA_ValueDef_create_attribute::result (CORBA::AttributeDef_ptr result)
+{
+ // Update the result.
+ this->_result = result;
+}
+
+POA_CORBA::ValueDef::TAO_ServerRequestInfo_CORBA_ValueDef_create_operation::TAO_ServerRequestInfo_CORBA_ValueDef_create_operation (
+ TAO_ServerRequest &_tao_server_request,
+ POA_CORBA::ValueDef *tao_impl,
+ const char * id,
+ const char * name,
+ const char * version,
+ CORBA::IDLType_ptr result,
+ CORBA::OperationMode & mode,
+ const CORBA::ParDescriptionSeq & params,
+ const CORBA::ExceptionDefSeq & exceptions,
+ const CORBA::ContextIdSeq & contexts,
+ CORBA::Environment &
+ )
+ : TAO_ServerRequestInfo (_tao_server_request),
+ _tao_impl (tao_impl),
+ id_ (id),
+ name_ (name),
+ version_ (version),
+ result_ (result),
+ mode_ (mode),
+ params_ (params),
+ exceptions_ (exceptions),
+ contexts_ (contexts)
+{}
+
+Dynamic::ParameterList *
+POA_CORBA::ValueDef::TAO_ServerRequestInfo_CORBA_ValueDef_create_operation::arguments (CORBA::Environment &ACE_TRY_ENV)
+ ACE_THROW_SPEC ((CORBA::SystemException))
+{
+ // Generate the argument list on demand.
+ Dynamic::ParameterList *parameter_list =
+ TAO_RequestInfo_Util::make_parameter_list (ACE_TRY_ENV);
+ ACE_CHECK_RETURN (0);
+
+ Dynamic::ParameterList_var safe_parameter_list = parameter_list;
+
+ CORBA::ULong length_id = parameter_list->length ();
+ parameter_list->length (length_id + 1);
+ (*parameter_list)[length_id].argument <<= id_;
+ (*parameter_list)[length_id].mode = Dynamic::PARAM_IN;
+
+ CORBA::ULong length_name = parameter_list->length ();
+ parameter_list->length (length_name + 1);
+ (*parameter_list)[length_name].argument <<= name_;
+ (*parameter_list)[length_name].mode = Dynamic::PARAM_IN;
+
+ CORBA::ULong length_version = parameter_list->length ();
+ parameter_list->length (length_version + 1);
+ (*parameter_list)[length_version].argument <<= version_;
+ (*parameter_list)[length_version].mode = Dynamic::PARAM_IN;
+
+ CORBA::ULong length_result = parameter_list->length ();
+ parameter_list->length (length_result + 1);
+ (*parameter_list)[length_result].argument <<= this->result_;
+
+ (*parameter_list)[length_result].mode = Dynamic::PARAM_IN;
+
+ CORBA::ULong length_mode = parameter_list->length ();
+ parameter_list->length (length_mode + 1);
+ (*parameter_list)[length_mode].argument <<= this->mode_;
+
+ (*parameter_list)[length_mode].mode = Dynamic::PARAM_IN;
+
+ CORBA::ULong length_params = parameter_list->length ();
+ parameter_list->length (length_params + 1);
+ (*parameter_list)[length_params].argument <<= this->params_;
+
+ (*parameter_list)[length_params].mode = Dynamic::PARAM_IN;
+
+ CORBA::ULong length_exceptions = parameter_list->length ();
+ parameter_list->length (length_exceptions + 1);
+ (*parameter_list)[length_exceptions].argument <<= this->exceptions_;
+
+ (*parameter_list)[length_exceptions].mode = Dynamic::PARAM_IN;
+
+ CORBA::ULong length_contexts = parameter_list->length ();
+ parameter_list->length (length_contexts + 1);
+ (*parameter_list)[length_contexts].argument <<= this->contexts_;
+
+ (*parameter_list)[length_contexts].mode = Dynamic::PARAM_IN;
+
+ return safe_parameter_list._retn ();
+}
+
+Dynamic::ExceptionList *
+POA_CORBA::ValueDef::TAO_ServerRequestInfo_CORBA_ValueDef_create_operation::exceptions (CORBA::Environment &ACE_TRY_ENV)
+ ACE_THROW_SPEC ((CORBA::SystemException))
+{
+ // Generate the exception list on demand.
+ Dynamic::ExceptionList *exception_list =
+ TAO_RequestInfo_Util::make_exception_list (ACE_TRY_ENV);
+ ACE_CHECK_RETURN (0);
+
+ return exception_list;
+}
+
+CORBA::Any *
+POA_CORBA::ValueDef::TAO_ServerRequestInfo_CORBA_ValueDef_create_operation::result (CORBA::Environment &ACE_TRY_ENV)
+ ACE_THROW_SPEC ((CORBA::SystemException))
+{
+ // Generate the result on demand.
+ CORBA::Boolean tk_void_any = 0;
+ CORBA::Any *result_any =
+ TAO_RequestInfo_Util::make_any (tk_void_any, ACE_TRY_ENV);
+ ACE_CHECK_RETURN (0);
+
+ CORBA::Any_var safe_result_any = result_any;
+
+ (*result_any) <<= this->_result;
+
+ return safe_result_any._retn ();
+}
+
+char *
+POA_CORBA::ValueDef::TAO_ServerRequestInfo_CORBA_ValueDef_create_operation::target_most_derived_interface (
+ CORBA::Environment &)
+ ACE_THROW_SPEC ((CORBA::SystemException))
+{
+ return
+ CORBA::string_dup (this->_tao_impl->_interface_repository_id ());
+}
+
+CORBA::Boolean
+POA_CORBA::ValueDef::TAO_ServerRequestInfo_CORBA_ValueDef_create_operation::target_is_a (
+ const char * id,
+ CORBA::Environment &ACE_TRY_ENV)
+ ACE_THROW_SPEC ((CORBA::SystemException))
+{
+ return this->_tao_impl->_is_a (id, ACE_TRY_ENV);
+}
+
+void
+POA_CORBA::ValueDef::TAO_ServerRequestInfo_CORBA_ValueDef_create_operation::result (CORBA::OperationDef_ptr result)
+{
+ // Update the result.
+ this->_result = result;
+}
+
+#endif /* TAO_HAS_INTERCEPTORS */
+class TAO_CORBA_ValueBoxDef_Perfect_Hash_OpTable : public TAO_Perfect_Hash_OpTable
+{
+private:
+ unsigned int hash (const char *str, unsigned int len);
+public:
+ const TAO_operation_db_entry * lookup (const char *str, unsigned int len);
+};
+/* starting time is 10:44:40 */
+/* C++ code produced by gperf version 2.8 (ACE version) */
+/* Command-line: gperf -m -M -J -c -C -D -E -T -f 0 -F 0 -a -o -t -p -K opname_ -L C++ -Z TAO_CORBA_ValueBoxDef_Perfect_Hash_OpTable -N lookup */
+unsigned int
+TAO_CORBA_ValueBoxDef_Perfect_Hash_OpTable::hash (const char *str, unsigned int len)
+{
+ static const unsigned char asso_values[] =
+ {
+#if defined (ACE_MVS)
+ 37, 37, 37, 37, 37, 37, 37, 37, 37, 37,
+ 37, 37, 37, 37, 37, 37, 37, 37, 37, 37,
+ 37, 37, 37, 37, 37, 37, 37, 37, 37, 37,
+ 37, 37, 37, 37, 37, 37, 37, 37, 37, 37,
+ 37, 37, 37, 37, 37, 37, 37, 37, 37, 37,
+ 37, 37, 37, 37, 37, 37, 37, 37, 37, 37,
+ 37, 37, 37, 37, 37, 37, 37, 37, 37, 37,
+ 37, 37, 37, 37, 37, 37, 37, 37, 37, 37,
+ 37, 37, 37, 37, 37, 37, 37, 37, 37, 37,
+ 37, 37, 37, 37, 37, 37, 37, 37, 37, 37,
+ 37, 37, 37, 37, 37, 37, 37, 37, 37, 0,
+ 37, 37, 37, 37, 37, 37, 37, 37, 37, 37,
+ 37, 37, 37, 37, 37, 37, 37, 37, 37, 0,
+ 37, 37, 0, 0, 0, 37, 37, 37, 37, 37,
+ 37, 37, 37, 37, 37, 37, 37, 37, 0, 0,
+ 37, 37, 37, 37, 37, 37, 37, 37, 37, 37,
+ 37, 37, 37, 10, 37, 37, 37, 37, 10, 37,
+ 37, 37, 37, 37, 37, 37, 37, 37, 37, 37,
+ 37, 37, 37, 37, 37, 37, 37, 37, 37, 37,
+ 37, 37, 37, 37, 37, 37, 37, 37, 37, 37,
+ 37, 37, 37, 37, 37, 37, 37, 37, 37, 37,
+ 37, 37, 37, 37, 37, 37, 37, 37, 37, 37,
+ 37, 37, 37, 37, 37, 37, 37, 37, 37, 37,
+ 37, 37, 37, 37, 37, 37, 37, 37, 37, 37,
+ 37, 37, 37, 37, 37, 37, 37, 37, 37, 37,
+ 37, 37, 37, 37, 37, 37,
+#else
+ 37, 37, 37, 37, 37, 37, 37, 37, 37, 37,
+ 37, 37, 37, 37, 37, 37, 37, 37, 37, 37,
+ 37, 37, 37, 37, 37, 37, 37, 37, 37, 37,
+ 37, 37, 37, 37, 37, 37, 37, 37, 37, 37,
+ 37, 37, 37, 37, 37, 37, 37, 37, 37, 37,
+ 37, 37, 37, 37, 37, 37, 37, 37, 37, 37,
+ 37, 37, 37, 37, 37, 37, 37, 37, 37, 37,
+ 37, 37, 37, 37, 37, 37, 37, 37, 37, 37,
+ 37, 37, 37, 37, 37, 37, 37, 37, 37, 37,
+ 37, 37, 37, 37, 37, 0, 37, 0, 37, 37,
+ 0, 0, 0, 37, 37, 37, 37, 37, 37, 0,
+ 0, 37, 37, 37, 37, 37, 10, 37, 37, 37,
+ 37, 10, 37, 37, 37, 37, 37, 37,
+#endif /* ACE_MVS */
+ };
+ return len + asso_values[str[len - 1]] + asso_values[str[0]];
+}
+
+const class TAO_operation_db_entry *
+TAO_CORBA_ValueBoxDef_Perfect_Hash_OpTable::lookup (const char *str, unsigned int len)
+{
+ enum
+ {
+ TOTAL_KEYWORDS = 18,
+ MIN_WORD_LENGTH = 4,
+ MAX_WORD_LENGTH = 26,
+ MIN_HASH_VALUE = 4,
+ MAX_HASH_VALUE = 36,
+ HASH_VALUE_RANGE = 33,
+ DUPLICATES = 6
+ };
+
+ static const class TAO_operation_db_entry wordlist[] =
+ {
+ {"",0},{"",0},{"",0},{"",0},
+ {"move", &POA_CORBA::ValueBoxDef::move_skel},
+ {"_is_a", &POA_CORBA::ValueBoxDef::_is_a_skel},
+ {"_get_id", &POA_CORBA::ValueBoxDef::_get_id_skel},
+ {"_set_id", &POA_CORBA::ValueBoxDef::_set_id_skel},
+ {"describe", &POA_CORBA::ValueBoxDef::describe_skel},
+ {"_get_name", &POA_CORBA::ValueBoxDef::_get_name_skel},
+ {"_get_type", &POA_CORBA::ValueBoxDef::_get_type_skel},
+ {"_set_name", &POA_CORBA::ValueBoxDef::_set_name_skel},
+ {"_get_version", &POA_CORBA::ValueBoxDef::_get_version_skel},
+ {"_set_version", &POA_CORBA::ValueBoxDef::_set_version_skel},
+ {"_get_def_kind", &POA_CORBA::ValueBoxDef::_get_def_kind_skel},
+ {"_get_defined_in", &POA_CORBA::ValueBoxDef::_get_defined_in_skel},
+ {"destroy", &POA_CORBA::ValueBoxDef::destroy_skel},
+ {"_get_absolute_name", &POA_CORBA::ValueBoxDef::_get_absolute_name_skel},
+ {"_get_original_type_def", &POA_CORBA::ValueBoxDef::_get_original_type_def_skel},
+ {"_set_original_type_def", &POA_CORBA::ValueBoxDef::_set_original_type_def_skel},
+ {"_non_existent", &POA_CORBA::ValueBoxDef::_non_existent_skel},
+ {"_get_containing_repository", &POA_CORBA::ValueBoxDef::_get_containing_repository_skel},
+ };
+
+ static const signed char lookup[] =
+ {
+ -6, -2, -9, -3, 4, 5, -1, -43, 8, -43, -12, -2, -38, 14,
+ -1, 15, -1, 16, 17, -1, -18, -2, -38, 20, -1, -1, -1, -1,
+ -1, -1, -1, -1, -1, -1, -1, -1, 21,
+ };
+
+ if (len <= MAX_WORD_LENGTH && len >= MIN_WORD_LENGTH)
+ {
+ unsigned int key = hash (str, len);
+
+ if (key <= MAX_HASH_VALUE && key >= MIN_HASH_VALUE)
+ {
+ int slot = lookup[key];
+
+ if (slot >= 0 && slot < MAX_HASH_VALUE)
+ {
+ const char *s = wordlist[slot].opname_;
+
+ if (*str == *s && !strncmp (str + 1, s + 1, len - 1))
+ return &wordlist[slot];
+ }
+ else if (slot < 0 && slot >= -MAX_HASH_VALUE)
+ return 0;
+ else
+ {
+ unsigned int offset = key + slot + (slot > 0 ? -MAX_HASH_VALUE : MAX_HASH_VALUE);
+ const class TAO_operation_db_entry *base = &wordlist[-lookup[offset]];
+ const class TAO_operation_db_entry *ptr = base + -lookup[offset + 1];
+
+ while (--ptr >= base)
+ if (*str == *ptr->opname_ && !strncmp (str + 1, ptr->opname_ + 1, len - 1))
+ return ptr;
+ }
+ }
+ }
+ return 0;
+}
+/* ending time is 10:44:40 */
+static TAO_CORBA_ValueBoxDef_Perfect_Hash_OpTable tao_CORBA_ValueBoxDef_optable;
+
+
+///////////////////////////////////////////////////////////////////////
+// Strategized Proxy Broker Implementation
+//
+
+// Factory function Implementation.
+POA_CORBA::_TAO_ValueBoxDef_Strategized_Proxy_Broker *POA_CORBA::_TAO_ValueBoxDef_Strategized_Proxy_Broker::the_TAO_ValueBoxDef_Strategized_Proxy_Broker (void)
+{
+ static POA_CORBA::_TAO_ValueBoxDef_Strategized_Proxy_Broker strategized_proxy_broker;
+ return &strategized_proxy_broker;
+}
+
+POA_CORBA::_TAO_ValueBoxDef_Strategized_Proxy_Broker::_TAO_ValueBoxDef_Strategized_Proxy_Broker (void)
+{
+ for (int i = 0; i < TAO_Collocation_Strategies::CS_LAST; ++i)
+ this->proxy_cache_[i] = 0;
+
+}
+
+POA_CORBA::_TAO_ValueBoxDef_Strategized_Proxy_Broker::~_TAO_ValueBoxDef_Strategized_Proxy_Broker (void)
+{
+ for (int i = 0; i < TAO_Collocation_Strategies::CS_LAST; ++i)
+ delete this->proxy_cache_[i];
+
+}
+
+_TAO_ValueBoxDef_Proxy_Impl&
+POA_CORBA::_TAO_ValueBoxDef_Strategized_Proxy_Broker::select_proxy (
+ ::CORBA::ValueBoxDef *object,
+ CORBA::Environment &ACE_TRY_ENV
+ )
+{
+ int strategy =
+ TAO_ORB_Core::collocation_strategy (object);
+
+ if (this->proxy_cache_[strategy] != 0)
+ return *this->proxy_cache_[strategy];
+
+ this->create_proxy (strategy, ACE_TRY_ENV);
+ ACE_CHECK_RETURN (*this->proxy_cache_[strategy]);
+
+ return *this->proxy_cache_[strategy];
+
+}
+
+void
+POA_CORBA::_TAO_ValueBoxDef_Strategized_Proxy_Broker::create_proxy (
+ int strategy,
+ CORBA::Environment &ACE_TRY_ENV
+ )
+{
+ ACE_GUARD (TAO_SYNCH_MUTEX, guard, this->mutex_);
+
+ if (this->proxy_cache_[strategy] == 0)
+ {
+ switch (strategy)
+ {
+ case TAO_Collocation_Strategies::CS_THRU_POA_STRATEGY:
+ ACE_NEW_THROW_EX (
+ this->proxy_cache_[strategy],
+ _TAO_ValueBoxDef_ThruPOA_Proxy_Impl,
+ CORBA::NO_MEMORY ()
+ );
+ ACE_CHECK;
+ break;
+
+ case TAO_Collocation_Strategies::CS_REMOTE_STRATEGY:
+ default:
+ ACE_NEW_THROW_EX (
+ this->proxy_cache_[strategy],
+ ::_TAO_ValueBoxDef_Remote_Proxy_Impl,
+ CORBA::NO_MEMORY ()
+ );
+ ACE_CHECK;
+ break;
+
+ }
+
+ }
+}
+
+
+//
+// End Strategized Proxy Broker Implementation
+///////////////////////////////////////////////////////////////////////
+
+
+_TAO_ValueBoxDef_Proxy_Broker *
+CORBA__TAO_ValueBoxDef_Proxy_Broker_Factory_function (CORBA::Object_ptr obj)
+{
+ ACE_UNUSED_ARG (obj);
+ return ::POA_CORBA::_TAO_ValueBoxDef_Strategized_Proxy_Broker::the_TAO_ValueBoxDef_Strategized_Proxy_Broker();
+}
+
+int
+CORBA__TAO_ValueBoxDef_Proxy_Broker_Factory_Initializer (long _dummy_)
+{
+ ACE_UNUSED_ARG (_dummy_);
+
+ CORBA__TAO_ValueBoxDef_Proxy_Broker_Factory_function_pointer =
+ CORBA__TAO_ValueBoxDef_Proxy_Broker_Factory_function;
+
+ return 0;
+}
+
+static int CORBA__TAO_ValueBoxDef_Proxy_Broker_Stub_Factory_Initializer_Scarecrow =
+ CORBA__TAO_ValueBoxDef_Proxy_Broker_Factory_Initializer (ACE_reinterpret_cast (long, CORBA__TAO_ValueBoxDef_Proxy_Broker_Factory_Initializer));
+
+
+///////////////////////////////////////////////////////////////////////
+// ThruPOA Proxy Implementation
+//
+
+POA_CORBA::_TAO_ValueBoxDef_ThruPOA_Proxy_Impl::_TAO_ValueBoxDef_ThruPOA_Proxy_Impl (void)
+{}
+
+// ThruPOA Implementation of the IDL interface methods
+
+CORBA::IDLType_ptr POA_CORBA::_TAO_ValueBoxDef_ThruPOA_Proxy_Impl::original_type_def (
+ CORBA_Object *_collocated_tao_target_,
+ CORBA::Environment &ACE_TRY_ENV
+ )
+ ACE_THROW_SPEC ((
+ CORBA::SystemException
+ ))
+{
+ CORBA::IDLType_var _tao_retval;
+ ACE_UNUSED_ARG (_tao_retval);
+ TAO_Object_Adapter::Servant_Upcall servant_upcall (
+ _collocated_tao_target_->_stubobj ()->servant_orb_var ()->orb_core ()
+ );
+ CORBA::Object_var forward_to;
+ servant_upcall.prepare_for_upcall (
+ _collocated_tao_target_->_object_key (),
+ "original_type_def",
+ forward_to.out (),
+ ACE_TRY_ENV
+ );
+ ACE_CHECK_RETURN (0);
+ return ACE_reinterpret_cast (
+ POA_CORBA::ValueBoxDef_ptr,
+ servant_upcall.servant ()->_downcast (
+ "IDL:omg.org/CORBA/ValueBoxDef:1.0"
+ )
+ )->original_type_def (
+ ACE_TRY_ENV
+ );
+}
+
+void POA_CORBA::_TAO_ValueBoxDef_ThruPOA_Proxy_Impl::original_type_def (
+ CORBA_Object *_collocated_tao_target_,
+ CORBA::IDLType_ptr original_type_def,
+ CORBA::Environment &ACE_TRY_ENV
+ )
+ ACE_THROW_SPEC ((
+ CORBA::SystemException
+ ))
+{
+ TAO_Object_Adapter::Servant_Upcall servant_upcall (
+ _collocated_tao_target_->_stubobj ()->servant_orb_var ()->orb_core ()
+ );
+ CORBA::Object_var forward_to;
+ servant_upcall.prepare_for_upcall (
+ _collocated_tao_target_->_object_key (),
+ "original_type_def",
+ forward_to.out (),
+ ACE_TRY_ENV
+ );
+ ACE_CHECK;
+ ACE_reinterpret_cast (
+ POA_CORBA::ValueBoxDef_ptr,
+ servant_upcall.servant ()->_downcast (
+ "IDL:omg.org/CORBA/ValueBoxDef:1.0"
+ )
+ )->original_type_def (
+ original_type_def,
+ ACE_TRY_ENV
+ );
+ return;
+}
+
+//
+// End ThruPOA Proxy Implementation
+///////////////////////////////////////////////////////////////////////
+
+// skeleton constructor
+POA_CORBA::ValueBoxDef::ValueBoxDef (void)
+{
+ this->optable_ = &tao_CORBA_ValueBoxDef_optable;
+}
+
+// copy ctor
+POA_CORBA::ValueBoxDef::ValueBoxDef (const ValueBoxDef& rhs)
+ : ACE_NESTED_CLASS (POA_CORBA,TypedefDef) (rhs),
+ ACE_NESTED_CLASS (POA_CORBA,Contained) (rhs),
+ ACE_NESTED_CLASS (POA_CORBA,IDLType) (rhs),
+ ACE_NESTED_CLASS (POA_CORBA,IRObject) (rhs),
+ TAO_ServantBase (rhs)
+{}
+
+// skeleton destructor
+POA_CORBA::ValueBoxDef::~ValueBoxDef (void)
+{
+}
+
+void POA_CORBA::ValueBoxDef::_get_original_type_def_skel (
+ TAO_ServerRequest &_tao_server_request,
+ void *_tao_object_reference,
+ void * /* context */,
+ CORBA::Environment &ACE_TRY_ENV
+ )
+{
+ POA_CORBA::ValueBoxDef *_tao_impl = (POA_CORBA::ValueBoxDef *)_tao_object_reference;
+
+ CORBA::IDLType_var _tao_retval;
+
+#if (TAO_HAS_INTERCEPTORS == 1)
+ TAO_ServerRequestInterceptor_Adapter _tao_vfr (
+ _tao_server_request.orb_core ()->server_request_interceptors (),
+ _tao_server_request.interceptor_count ()
+ );
+
+ POA_CORBA::ValueBoxDef::TAO_ServerRequestInfo_CORBA_ValueBoxDef_original_type_def_get ri (
+ _tao_server_request,
+ _tao_impl,
+ ACE_TRY_ENV
+ );
+
+ ACE_TRY
+ {
+ _tao_vfr.receive_request (&ri, ACE_TRY_ENV);
+ ACE_TRY_CHECK;
+
+#endif /* TAO_HAS_INTERCEPTORS */
+ _tao_retval =
+ _tao_impl->original_type_def (
+ ACE_TRY_ENV
+ );
+ TAO_INTERCEPTOR_CHECK;
+
+#if (TAO_HAS_INTERCEPTORS == 1)
+ CORBA::IDLType_ptr _tao_retval_info = _tao_retval._retn ();
+ ri.result (_tao_retval_info);
+ _tao_retval = _tao_retval_info;
+ ri.reply_status (PortableInterceptor::SUCCESSFUL);
+ _tao_vfr.send_reply (&ri, ACE_TRY_ENV);
+ ACE_TRY_CHECK;
+ }
+ ACE_CATCH (PortableInterceptor::ForwardRequest, exc)
+ {
+ ri.forward_reference (exc);
+ _tao_vfr.send_other (
+ &ri,
+ ACE_TRY_ENV
+ );
+ ACE_TRY_CHECK;
+ _tao_server_request.forward_location (exc.forward.in ());
+ }
+ ACE_CATCHANY
+ {
+ ri.exception (&ACE_ANY_EXCEPTION);
+ _tao_vfr.send_exception (
+ &ri,
+ ACE_TRY_ENV
+ );
+ ACE_TRY_CHECK;
+ ACE_RE_THROW;
+ }
+ ACE_ENDTRY;
+ ACE_CHECK;
+#endif /* TAO_HAS_INTERCEPTORS */
+
+ _tao_server_request.init_reply ();
+
+ TAO_OutputCDR &_tao_out = _tao_server_request.outgoing ();
+
+ if (!(
+ (_tao_out << _tao_retval.in ())
+ ))
+ ACE_THROW (CORBA::MARSHAL());
+
+ // In case ACE_TRY_ENV is not used in this function
+ ACE_UNUSED_ARG (ACE_TRY_ENV);
+}
+
+void POA_CORBA::ValueBoxDef::_set_original_type_def_skel (
+ TAO_ServerRequest &_tao_server_request,
+ void *_tao_object_reference,
+ void * /* context */,
+ CORBA::Environment &ACE_TRY_ENV
+ )
+{
+ TAO_InputCDR &_tao_in = _tao_server_request.incoming ();
+ POA_CORBA::ValueBoxDef *_tao_impl = (POA_CORBA::ValueBoxDef *)_tao_object_reference;
+
+ _tao_server_request.argument_flag (0);
+ CORBA::IDLType_var original_type_def;
+ if (!(
+ (_tao_in >> original_type_def.out ())
+ ))
+ ACE_THROW (CORBA::MARSHAL());
+
+
+#if (TAO_HAS_INTERCEPTORS == 1)
+ TAO_ServerRequestInterceptor_Adapter _tao_vfr (
+ _tao_server_request.orb_core ()->server_request_interceptors (),
+ _tao_server_request.interceptor_count ()
+ );
+
+ POA_CORBA::ValueBoxDef::TAO_ServerRequestInfo_CORBA_ValueBoxDef_original_type_def_set ri (
+ _tao_server_request,
+ _tao_impl,
+ original_type_def.in (),
+ ACE_TRY_ENV
+ );
+
+ ACE_TRY
+ {
+ _tao_vfr.receive_request (&ri, ACE_TRY_ENV);
+ ACE_TRY_CHECK;
+
+#endif /* TAO_HAS_INTERCEPTORS */
+
+ _tao_impl->original_type_def (
+ original_type_def.in (),
+ ACE_TRY_ENV
+ );
+ TAO_INTERCEPTOR_CHECK;
+
+#if (TAO_HAS_INTERCEPTORS == 1)
+ ri.reply_status (PortableInterceptor::SUCCESSFUL);
+ _tao_vfr.send_reply (&ri, ACE_TRY_ENV);
+ ACE_TRY_CHECK;
+ }
+ ACE_CATCH (PortableInterceptor::ForwardRequest, exc)
+ {
+ ri.forward_reference (exc);
+ _tao_vfr.send_other (
+ &ri,
+ ACE_TRY_ENV
+ );
+ ACE_TRY_CHECK;
+ _tao_server_request.forward_location (exc.forward.in ());
+ }
+ ACE_CATCHANY
+ {
+ ri.exception (&ACE_ANY_EXCEPTION);
+ _tao_vfr.send_exception (
+ &ri,
+ ACE_TRY_ENV
+ );
+ ACE_TRY_CHECK;
+ ACE_RE_THROW;
+ }
+ ACE_ENDTRY;
+ ACE_CHECK;
+#endif /* TAO_HAS_INTERCEPTORS */
+
+ _tao_server_request.init_reply ();
+
+ // In case ACE_TRY_ENV is not used in this function
+ ACE_UNUSED_ARG (ACE_TRY_ENV);
+}
+
+void POA_CORBA::ValueBoxDef::_is_a_skel (
+ TAO_ServerRequest &_tao_server_request,
+ void * _tao_object_reference,
+ void * /* context */,
+ CORBA::Environment &ACE_TRY_ENV
+ )
+{
+ TAO_InputCDR &_tao_in = _tao_server_request.incoming ();
+ POA_CORBA::ValueBoxDef *_tao_impl = (POA_CORBA::ValueBoxDef *) _tao_object_reference;
+ CORBA::Boolean _tao_retval = 0;
+ CORBA::String_var value;
+ if (!(_tao_in >> value.out ()))
+ ACE_THROW (CORBA::MARSHAL ());
+
+ _tao_retval = _tao_impl->_is_a (value.in (), ACE_TRY_ENV);
+ ACE_CHECK;
+
+ _tao_server_request.init_reply ();
+ TAO_OutputCDR &_tao_out = _tao_server_request.outgoing ();
+ if (!(_tao_out << CORBA::Any::from_boolean (_tao_retval)))
+ ACE_THROW (CORBA::MARSHAL ());
+}
+
+void POA_CORBA::ValueBoxDef::_non_existent_skel (
+ TAO_ServerRequest &_tao_server_request,
+ void * _tao_object_reference,
+ void * /* context */,
+ CORBA::Environment &ACE_TRY_ENV
+ )
+{
+ POA_CORBA::ValueBoxDef *_tao_impl = (POA_CORBA::ValueBoxDef *) _tao_object_reference;
+ CORBA::Boolean _tao_retval = _tao_impl->_non_existent (ACE_TRY_ENV);
+ ACE_CHECK;
+
+ _tao_server_request.init_reply ();
+ TAO_OutputCDR &_tao_out = _tao_server_request.outgoing ();
+ if (!(_tao_out << CORBA::Any::from_boolean (_tao_retval)))
+ ACE_THROW (CORBA::MARSHAL ());
+}
+
+CORBA::Boolean POA_CORBA::ValueBoxDef::_is_a (
+ const char* value,
+ CORBA::Environment &ACE_TRY_ENV
+ )
+{
+ const char *base_id = CORBA::_tc_Object->id (ACE_TRY_ENV);
+ ACE_CHECK_RETURN (0);
+
+ if (
+ (!ACE_OS::strcmp ((char *)value, "IDL:omg.org/CORBA/ValueBoxDef:1.0")) ||
+ (!ACE_OS::strcmp ((char *)value, "IDL:omg.org/CORBA/TypedefDef:1.0")) ||
+ (!ACE_OS::strcmp ((char *)value, "IDL:omg.org/CORBA/Contained:1.0")) ||
+ (!ACE_OS::strcmp ((char *)value, "IDL:omg.org/CORBA/IDLType:1.0")) ||
+ (!ACE_OS::strcmp ((char *)value, "IDL:omg.org/CORBA/IRObject:1.0")) ||
+ (!ACE_OS::strcmp ((char *)value, base_id)))
+ return 1;
+ else
+ return 0;
+}
+
+void* POA_CORBA::ValueBoxDef::_downcast (
+ const char* logical_type_id
+ )
+{
+ if (ACE_OS::strcmp (logical_type_id, "IDL:omg.org/CORBA/ValueBoxDef:1.0") == 0)
+ return ACE_static_cast (POA_CORBA::ValueBoxDef_ptr, this);
+ if (ACE_OS::strcmp (logical_type_id, "IDL:omg.org/CORBA/TypedefDef:1.0") == 0)
+ return ACE_static_cast (POA_CORBA::TypedefDef_ptr, this);
+ if (ACE_OS::strcmp (logical_type_id, "IDL:omg.org/CORBA/Contained:1.0") == 0)
+ return ACE_static_cast (POA_CORBA::Contained_ptr, this);
+ if (ACE_OS::strcmp (logical_type_id, "IDL:omg.org/CORBA/IDLType:1.0") == 0)
+ return ACE_static_cast (POA_CORBA::IDLType_ptr, this);
+ if (ACE_OS::strcmp (logical_type_id, "IDL:omg.org/CORBA/IRObject:1.0") == 0)
+ return ACE_static_cast (POA_CORBA::IRObject_ptr, this);
+ if (ACE_OS::strcmp (logical_type_id, "IDL:omg.org/CORBA/Object:1.0") == 0)
+ return ACE_static_cast(PortableServer::Servant, this);
+ return 0;
+}
+
+void POA_CORBA::ValueBoxDef::_dispatch (TAO_ServerRequest &req, void *context, CORBA::Environment &ACE_TRY_ENV)
+{
+ this->synchronous_upcall_dispatch(req, context, this, ACE_TRY_ENV);
+}
+
+const char* POA_CORBA::ValueBoxDef::_interface_repository_id (void) const
+{
+ return "IDL:omg.org/CORBA/ValueBoxDef:1.0";
+}
+
+CORBA::ValueBoxDef*
+POA_CORBA::ValueBoxDef::_this (CORBA_Environment &ACE_TRY_ENV)
+{
+ TAO_Stub *stub = this->_create_stub (ACE_TRY_ENV);
+ ACE_CHECK_RETURN (0);
+
+ CORBA::Object_ptr tmp = CORBA::Object::_nil ();
+
+ if (stub->servant_orb_var ()->orb_core ()->optimize_collocation_objects ())
+ ACE_NEW_RETURN (tmp, CORBA::Object (stub, 1, this), 0);
+ else
+ ACE_NEW_RETURN (tmp, CORBA::Object (stub, 0, this), 0);
+
+ CORBA::Object_var obj = tmp;
+ return ::CORBA::ValueBoxDef::_unchecked_narrow (obj.in ());
+}
+
+
+#if (TAO_HAS_INTERCEPTORS == 1)
+POA_CORBA::ValueBoxDef::TAO_ServerRequestInfo_CORBA_ValueBoxDef_original_type_def_get::TAO_ServerRequestInfo_CORBA_ValueBoxDef_original_type_def_get (
+ TAO_ServerRequest &_tao_server_request,
+ POA_CORBA::ValueBoxDef *tao_impl,
+ CORBA::Environment &
+ )
+ : TAO_ServerRequestInfo (_tao_server_request),
+ _tao_impl (tao_impl)
+{}
+
+Dynamic::ParameterList *
+POA_CORBA::ValueBoxDef::TAO_ServerRequestInfo_CORBA_ValueBoxDef_original_type_def_get::arguments (CORBA::Environment &ACE_TRY_ENV)
+ ACE_THROW_SPEC ((CORBA::SystemException))
+{
+ // Generate the argument list on demand.
+ Dynamic::ParameterList *parameter_list =
+ TAO_RequestInfo_Util::make_parameter_list (ACE_TRY_ENV);
+ ACE_CHECK_RETURN (0);
+
+ return parameter_list;
+}
+
+Dynamic::ExceptionList *
+POA_CORBA::ValueBoxDef::TAO_ServerRequestInfo_CORBA_ValueBoxDef_original_type_def_get::exceptions (CORBA::Environment &ACE_TRY_ENV)
+ ACE_THROW_SPEC ((CORBA::SystemException))
+{
+ // Generate the exception list on demand.
+ Dynamic::ExceptionList *exception_list =
+ TAO_RequestInfo_Util::make_exception_list (ACE_TRY_ENV);
+ ACE_CHECK_RETURN (0);
+
+ return exception_list;
+}
+
+CORBA::Any *
+POA_CORBA::ValueBoxDef::TAO_ServerRequestInfo_CORBA_ValueBoxDef_original_type_def_get::result (CORBA::Environment &ACE_TRY_ENV)
+ ACE_THROW_SPEC ((CORBA::SystemException))
+{
+ // Generate the result on demand.
+ CORBA::Boolean tk_void_any = 0;
+ CORBA::Any *result_any =
+ TAO_RequestInfo_Util::make_any (tk_void_any, ACE_TRY_ENV);
+ ACE_CHECK_RETURN (0);
+
+ CORBA::Any_var safe_result_any = result_any;
+
+ (*result_any) <<= this->_result;
+
+ return safe_result_any._retn ();
+}
+
+char *
+POA_CORBA::ValueBoxDef::TAO_ServerRequestInfo_CORBA_ValueBoxDef_original_type_def_get::target_most_derived_interface (
+ CORBA::Environment &)
+ ACE_THROW_SPEC ((CORBA::SystemException))
+{
+ return
+ CORBA::string_dup (this->_tao_impl->_interface_repository_id ());
+}
+
+CORBA::Boolean
+POA_CORBA::ValueBoxDef::TAO_ServerRequestInfo_CORBA_ValueBoxDef_original_type_def_get::target_is_a (
+ const char * id,
+ CORBA::Environment &ACE_TRY_ENV)
+ ACE_THROW_SPEC ((CORBA::SystemException))
+{
+ return this->_tao_impl->_is_a (id, ACE_TRY_ENV);
+}
+
+void
+POA_CORBA::ValueBoxDef::TAO_ServerRequestInfo_CORBA_ValueBoxDef_original_type_def_get::result (CORBA::IDLType_ptr result)
+{
+ // Update the result.
+ this->_result = result;
+}
+
+POA_CORBA::ValueBoxDef::TAO_ServerRequestInfo_CORBA_ValueBoxDef_original_type_def_set::TAO_ServerRequestInfo_CORBA_ValueBoxDef_original_type_def_set (
+ TAO_ServerRequest &_tao_server_request,
+ POA_CORBA::ValueBoxDef *tao_impl,
+ CORBA::IDLType_ptr original_type_def,
+ CORBA::Environment &
+ )
+ : TAO_ServerRequestInfo (_tao_server_request),
+ _tao_impl (tao_impl),
+ original_type_def_ (original_type_def)
+{}
+
+Dynamic::ParameterList *
+POA_CORBA::ValueBoxDef::TAO_ServerRequestInfo_CORBA_ValueBoxDef_original_type_def_set::arguments (CORBA::Environment &ACE_TRY_ENV)
+ ACE_THROW_SPEC ((CORBA::SystemException))
+{
+ // Generate the argument list on demand.
+ Dynamic::ParameterList *parameter_list =
+ TAO_RequestInfo_Util::make_parameter_list (ACE_TRY_ENV);
+ ACE_CHECK_RETURN (0);
+
+ Dynamic::ParameterList_var safe_parameter_list = parameter_list;
+
+ CORBA::ULong length_original_type_def = parameter_list->length ();
+ parameter_list->length (length_original_type_def + 1);
+ (*parameter_list)[length_original_type_def].argument <<= this->original_type_def_;
+
+ (*parameter_list)[length_original_type_def].mode = Dynamic::PARAM_IN;
+
+ return safe_parameter_list._retn ();
+}
+
+Dynamic::ExceptionList *
+POA_CORBA::ValueBoxDef::TAO_ServerRequestInfo_CORBA_ValueBoxDef_original_type_def_set::exceptions (CORBA::Environment &ACE_TRY_ENV)
+ ACE_THROW_SPEC ((CORBA::SystemException))
+{
+ // Generate the exception list on demand.
+ Dynamic::ExceptionList *exception_list =
+ TAO_RequestInfo_Util::make_exception_list (ACE_TRY_ENV);
+ ACE_CHECK_RETURN (0);
+
+ return exception_list;
+}
+
+CORBA::Any *
+POA_CORBA::ValueBoxDef::TAO_ServerRequestInfo_CORBA_ValueBoxDef_original_type_def_set::result (CORBA::Environment &ACE_TRY_ENV)
+ ACE_THROW_SPEC ((CORBA::SystemException))
+{
+ // Generate the result on demand.
+ CORBA::Boolean tk_void_any = 1;
+ CORBA::Any *result_any =
+ TAO_RequestInfo_Util::make_any (tk_void_any, ACE_TRY_ENV);
+ ACE_CHECK_RETURN (0);
+
+ return result_any;
+}
+
+char *
+POA_CORBA::ValueBoxDef::TAO_ServerRequestInfo_CORBA_ValueBoxDef_original_type_def_set::target_most_derived_interface (
+ CORBA::Environment &)
+ ACE_THROW_SPEC ((CORBA::SystemException))
+{
+ return
+ CORBA::string_dup (this->_tao_impl->_interface_repository_id ());
+}
+
+CORBA::Boolean
+POA_CORBA::ValueBoxDef::TAO_ServerRequestInfo_CORBA_ValueBoxDef_original_type_def_set::target_is_a (
+ const char * id,
+ CORBA::Environment &ACE_TRY_ENV)
+ ACE_THROW_SPEC ((CORBA::SystemException))
+{
+ return this->_tao_impl->_is_a (id, ACE_TRY_ENV);
+}
+
+#endif /* TAO_HAS_INTERCEPTORS */
+
+#endif /* ifndef */
diff --git a/TAO/orbsvcs/IFR_Service/IFR_ExtendedS.h b/TAO/orbsvcs/IFR_Service/IFR_ExtendedS.h
new file mode 100644
index 00000000000..905e7d8d1e3
--- /dev/null
+++ b/TAO/orbsvcs/IFR_Service/IFR_ExtendedS.h
@@ -0,0 +1,4424 @@
+// -*- C++ -*-
+//
+// $Id$
+
+// **** Code generated by the The ACE ORB (TAO) IDL Compiler ****
+// TAO and the TAO IDL Compiler have been developed by:
+// Center for Distributed Object Computing
+// Washington University
+// St. Louis, MO
+// USA
+// http://www.cs.wustl.edu/~schmidt/doc-center.html
+// and
+// Distributed Object Computing Laboratory
+// University of California at Irvine
+// Irvine, CA
+// USA
+// http://doc.ece.uci.edu/
+//
+// Information about TAO is available at:
+// http://www.cs.wustl.edu/~schmidt/TAO.html
+
+#ifndef TAO_IDL_IFR_EXTENDEDS_H
+#define TAO_IDL_IFR_EXTENDEDS_H
+
+#include "ace/pre.h"
+#include "IFR_BasicS.h"
+
+#if !defined (ACE_LACKS_PRAGMA_ONCE)
+# pragma once
+#endif /* ACE_LACKS_PRAGMA_ONCE */
+
+#if defined(_MSC_VER)
+#if (_MSC_VER >= 1200)
+#pragma warning(push)
+#endif /* _MSC_VER >= 1200 */
+#pragma warning(disable:4250)
+#endif /* _MSC_VER */
+
+#if defined (__BORLANDC__)
+#pragma option push -w-rvl -w-rch -w-ccc -w-inl
+#endif /* __BORLANDC__ */
+
+TAO_NAMESPACE POA_CORBA
+{
+ class FixedDef;
+ typedef FixedDef *FixedDef_ptr;
+ // Forward Classes Declaration
+ class _TAO_FixedDef_ThruPOA_Proxy_Impl;
+ class _TAO_FixedDef_Strategized_Proxy_Broker;
+
+ class FixedDef : public virtual IDLType
+ {
+ protected:
+ FixedDef (void);
+
+ public:
+ FixedDef (const FixedDef& rhs);
+ virtual ~FixedDef (void);
+
+
+ virtual CORBA::Boolean _is_a (
+ const char* logical_type_id,
+ CORBA::Environment &ACE_TRY_ENV =
+ TAO_default_environment ()
+ );
+
+ virtual void* _downcast (
+ const char* logical_type_id
+ );
+
+ static void _is_a_skel (
+ TAO_ServerRequest &req,
+ void *obj,
+ void *context,
+ CORBA::Environment &ACE_TRY_ENV =
+ TAO_default_environment ()
+ );
+
+ static void _non_existent_skel (
+ TAO_ServerRequest &req,
+ void *obj,
+ void *context,
+ CORBA::Environment &ACE_TRY_ENV =
+ TAO_default_environment ()
+ );
+
+ virtual void _dispatch (
+ TAO_ServerRequest &_tao_req,
+ void *_tao_context,
+ CORBA::Environment &ACE_TRY_ENV =
+ TAO_default_environment ()
+ );
+
+ ::CORBA::FixedDef *_this (
+ CORBA::Environment &ACE_TRY_ENV =
+ TAO_default_environment ()
+ );
+
+ virtual const char* _interface_repository_id (void) const;
+
+ virtual CORBA::UShort digits (
+ CORBA::Environment &ACE_TRY_ENV =
+ TAO_default_environment ()
+ )
+ ACE_THROW_SPEC ((
+ CORBA::SystemException
+ )) = 0;
+
+ static void _get_digits_skel (
+ TAO_ServerRequest &_tao_req,
+ void *_tao_obj,
+ void *_tao_context,
+ CORBA::Environment &ACE_TRY_ENV =
+ TAO_default_environment ()
+ );
+
+ virtual void digits (
+ CORBA::UShort digits,
+ CORBA::Environment &ACE_TRY_ENV =
+ TAO_default_environment ()
+ )
+ ACE_THROW_SPEC ((
+ CORBA::SystemException
+ )) = 0;
+
+ static void _set_digits_skel (
+ TAO_ServerRequest &_tao_req,
+ void *_tao_obj,
+ void *_tao_context,
+ CORBA::Environment &ACE_TRY_ENV =
+ TAO_default_environment ()
+ );
+
+ virtual CORBA::Short scale (
+ CORBA::Environment &ACE_TRY_ENV =
+ TAO_default_environment ()
+ )
+ ACE_THROW_SPEC ((
+ CORBA::SystemException
+ )) = 0;
+
+ static void _get_scale_skel (
+ TAO_ServerRequest &_tao_req,
+ void *_tao_obj,
+ void *_tao_context,
+ CORBA::Environment &ACE_TRY_ENV =
+ TAO_default_environment ()
+ );
+
+ virtual void scale (
+ CORBA::Short scale,
+ CORBA::Environment &ACE_TRY_ENV =
+ TAO_default_environment ()
+ )
+ ACE_THROW_SPEC ((
+ CORBA::SystemException
+ )) = 0;
+
+ static void _set_scale_skel (
+ TAO_ServerRequest &_tao_req,
+ void *_tao_obj,
+ void *_tao_context,
+ CORBA::Environment &ACE_TRY_ENV =
+ TAO_default_environment ()
+ );
+
+ static void _get_type_skel (
+ TAO_ServerRequest &req,
+ void *obj,
+ void *context,
+ CORBA::Environment &ACE_TRY_ENV =
+ TAO_default_environment ()
+ );
+
+ static void _get_def_kind_skel (
+ TAO_ServerRequest &req,
+ void *obj,
+ void *context,
+ CORBA::Environment &ACE_TRY_ENV =
+ TAO_default_environment ()
+ );
+
+ static void destroy_skel (
+ TAO_ServerRequest &req,
+ void *obj,
+ void *context,
+ CORBA::Environment &ACE_TRY_ENV =
+ TAO_default_environment ()
+ );
+
+
+#if (TAO_HAS_INTERCEPTORS == 1)
+ // Generation of interceptors related RequestInfo classes per operation.
+ // This needed to be able to store the arguments, exceptions, contexts
+ // and build the lists dynamically on demand so that unnecessary time overhead
+ // of building these lists when they arent used is avoided.
+ class TAO_ServerRequestInfo_CORBA_FixedDef_digits_get : public TAO_ServerRequestInfo
+ {
+ public:
+ friend class POA_CORBA::FixedDef;
+ TAO_ServerRequestInfo_CORBA_FixedDef_digits_get (
+ TAO_ServerRequest &_tao_server_request,
+ POA_CORBA::FixedDef *tao_impl,
+ CORBA::Environment &ACE_TRY_ENV =
+ TAO_default_environment ()
+ );
+
+ virtual Dynamic::ParameterList * arguments (
+ CORBA::Environment &ACE_TRY_ENV =
+ TAO_default_environment ()
+ )
+ ACE_THROW_SPEC ((CORBA::SystemException));
+
+ virtual Dynamic::ExceptionList * exceptions (
+ CORBA::Environment &ACE_TRY_ENV =
+ TAO_default_environment ()
+ )
+ ACE_THROW_SPEC ((CORBA::SystemException));
+
+ virtual CORBA::Any * result (
+ CORBA::Environment &ACE_TRY_ENV =
+ TAO_default_environment ()
+ )
+ ACE_THROW_SPEC ((CORBA::SystemException));
+
+ virtual char * target_most_derived_interface (
+ CORBA::Environment &ACE_TRY_ENV = TAO_default_environment ())
+ ACE_THROW_SPEC ((CORBA::SystemException));
+
+ virtual CORBA::Boolean target_is_a (
+ const char * id,
+ CORBA::Environment &ACE_TRY_ENV = TAO_default_environment ())
+ ACE_THROW_SPEC ((CORBA::SystemException));
+
+ private:
+ TAO_ServerRequestInfo_CORBA_FixedDef_digits_get (const TAO_ServerRequestInfo_CORBA_FixedDef_digits_get &);
+ void operator= (const TAO_ServerRequestInfo_CORBA_FixedDef_digits_get &);
+
+ private:
+ POA_CORBA::FixedDef *_tao_impl;
+ void result (CORBA::UShort result);
+ // update the result
+ CORBA::UShort _result;
+ };
+
+ class TAO_ServerRequestInfo_CORBA_FixedDef_digits_set : public TAO_ServerRequestInfo
+ {
+ public:
+ friend class POA_CORBA::FixedDef;
+ TAO_ServerRequestInfo_CORBA_FixedDef_digits_set (
+ TAO_ServerRequest &_tao_server_request,
+ POA_CORBA::FixedDef *tao_impl,
+ const CORBA::UShort & digits,
+ CORBA::Environment &ACE_TRY_ENV =
+ TAO_default_environment ()
+ );
+
+ virtual Dynamic::ParameterList * arguments (
+ CORBA::Environment &ACE_TRY_ENV =
+ TAO_default_environment ()
+ )
+ ACE_THROW_SPEC ((CORBA::SystemException));
+
+ virtual Dynamic::ExceptionList * exceptions (
+ CORBA::Environment &ACE_TRY_ENV =
+ TAO_default_environment ()
+ )
+ ACE_THROW_SPEC ((CORBA::SystemException));
+
+ virtual CORBA::Any * result (
+ CORBA::Environment &ACE_TRY_ENV =
+ TAO_default_environment ()
+ )
+ ACE_THROW_SPEC ((CORBA::SystemException));
+
+ virtual char * target_most_derived_interface (
+ CORBA::Environment &ACE_TRY_ENV = TAO_default_environment ())
+ ACE_THROW_SPEC ((CORBA::SystemException));
+
+ virtual CORBA::Boolean target_is_a (
+ const char * id,
+ CORBA::Environment &ACE_TRY_ENV = TAO_default_environment ())
+ ACE_THROW_SPEC ((CORBA::SystemException));
+
+ private:
+ TAO_ServerRequestInfo_CORBA_FixedDef_digits_set (const TAO_ServerRequestInfo_CORBA_FixedDef_digits_set &);
+ void operator= (const TAO_ServerRequestInfo_CORBA_FixedDef_digits_set &);
+
+ private:
+ POA_CORBA::FixedDef *_tao_impl;
+ const CORBA::UShort & digits_;
+
+ };
+
+ class TAO_ServerRequestInfo_CORBA_FixedDef_scale_get : public TAO_ServerRequestInfo
+ {
+ public:
+ friend class POA_CORBA::FixedDef;
+ TAO_ServerRequestInfo_CORBA_FixedDef_scale_get (
+ TAO_ServerRequest &_tao_server_request,
+ POA_CORBA::FixedDef *tao_impl,
+ CORBA::Environment &ACE_TRY_ENV =
+ TAO_default_environment ()
+ );
+
+ virtual Dynamic::ParameterList * arguments (
+ CORBA::Environment &ACE_TRY_ENV =
+ TAO_default_environment ()
+ )
+ ACE_THROW_SPEC ((CORBA::SystemException));
+
+ virtual Dynamic::ExceptionList * exceptions (
+ CORBA::Environment &ACE_TRY_ENV =
+ TAO_default_environment ()
+ )
+ ACE_THROW_SPEC ((CORBA::SystemException));
+
+ virtual CORBA::Any * result (
+ CORBA::Environment &ACE_TRY_ENV =
+ TAO_default_environment ()
+ )
+ ACE_THROW_SPEC ((CORBA::SystemException));
+
+ virtual char * target_most_derived_interface (
+ CORBA::Environment &ACE_TRY_ENV = TAO_default_environment ())
+ ACE_THROW_SPEC ((CORBA::SystemException));
+
+ virtual CORBA::Boolean target_is_a (
+ const char * id,
+ CORBA::Environment &ACE_TRY_ENV = TAO_default_environment ())
+ ACE_THROW_SPEC ((CORBA::SystemException));
+
+ private:
+ TAO_ServerRequestInfo_CORBA_FixedDef_scale_get (const TAO_ServerRequestInfo_CORBA_FixedDef_scale_get &);
+ void operator= (const TAO_ServerRequestInfo_CORBA_FixedDef_scale_get &);
+
+ private:
+ POA_CORBA::FixedDef *_tao_impl;
+ void result (CORBA::Short result);
+ // update the result
+ CORBA::Short _result;
+ };
+
+ class TAO_ServerRequestInfo_CORBA_FixedDef_scale_set : public TAO_ServerRequestInfo
+ {
+ public:
+ friend class POA_CORBA::FixedDef;
+ TAO_ServerRequestInfo_CORBA_FixedDef_scale_set (
+ TAO_ServerRequest &_tao_server_request,
+ POA_CORBA::FixedDef *tao_impl,
+ const CORBA::Short & scale,
+ CORBA::Environment &ACE_TRY_ENV =
+ TAO_default_environment ()
+ );
+
+ virtual Dynamic::ParameterList * arguments (
+ CORBA::Environment &ACE_TRY_ENV =
+ TAO_default_environment ()
+ )
+ ACE_THROW_SPEC ((CORBA::SystemException));
+
+ virtual Dynamic::ExceptionList * exceptions (
+ CORBA::Environment &ACE_TRY_ENV =
+ TAO_default_environment ()
+ )
+ ACE_THROW_SPEC ((CORBA::SystemException));
+
+ virtual CORBA::Any * result (
+ CORBA::Environment &ACE_TRY_ENV =
+ TAO_default_environment ()
+ )
+ ACE_THROW_SPEC ((CORBA::SystemException));
+
+ virtual char * target_most_derived_interface (
+ CORBA::Environment &ACE_TRY_ENV = TAO_default_environment ())
+ ACE_THROW_SPEC ((CORBA::SystemException));
+
+ virtual CORBA::Boolean target_is_a (
+ const char * id,
+ CORBA::Environment &ACE_TRY_ENV = TAO_default_environment ())
+ ACE_THROW_SPEC ((CORBA::SystemException));
+
+ private:
+ TAO_ServerRequestInfo_CORBA_FixedDef_scale_set (const TAO_ServerRequestInfo_CORBA_FixedDef_scale_set &);
+ void operator= (const TAO_ServerRequestInfo_CORBA_FixedDef_scale_set &);
+
+ private:
+ POA_CORBA::FixedDef *_tao_impl;
+ const CORBA::Short & scale_;
+
+ };
+
+ #endif /* TAO_HAS_INTERCEPTORS */
+
+ };
+
+
+ ///////////////////////////////////////////////////////////////////////
+ // Strategized Proxy Broker Declaration
+ //
+
+ class _TAO_FixedDef_Strategized_Proxy_Broker : public virtual ::_TAO_FixedDef_Proxy_Broker
+ {
+ public:
+ _TAO_FixedDef_Strategized_Proxy_Broker (void);
+
+ virtual ~_TAO_FixedDef_Strategized_Proxy_Broker (void);
+
+ virtual ::_TAO_FixedDef_Proxy_Impl &select_proxy (
+ ::CORBA::FixedDef *object,
+ CORBA_Environment &ACE_TRY_ENV = TAO_default_environment ()
+ );
+
+ private:
+
+ // Helper methods that takes care to create the proxy
+ // as soon as their use is necessary.
+ void create_proxy (
+ int strategy,
+ CORBA::Environment &ACE_TRY_ENV
+ );
+
+ private:
+
+ // Caches the proxy implementations. The proxy implementation
+ // are totally stateless, and those can be shared by all the
+ // instances of a given IDL interface type.
+ ::_TAO_FixedDef_Proxy_Impl
+ *proxy_cache_[TAO_Collocation_Strategies::CS_LAST];
+
+ TAO_SYNCH_MUTEX mutex_;
+ // This funxtion is used to get an handle to the unique instance
+ // of the Strategized Proxy Broker that is available for a given
+ // interface.
+
+ public:
+ static _TAO_FixedDef_Strategized_Proxy_Broker *the_TAO_FixedDef_Strategized_Proxy_Broker (void);
+ };
+
+
+ //
+ // End Strategized Proxy Broker Declaration
+ ///////////////////////////////////////////////////////////////////////
+
+
+///////////////////////////////////////////////////////////////////////
+// ThruPOA Impl. Declaration
+//
+
+class _TAO_FixedDef_ThruPOA_Proxy_Impl :
+ public virtual ::_TAO_FixedDef_Proxy_Impl,
+ public virtual TAO_ThruPOA_Object_Proxy_Impl,
+ public virtual ::POA_CORBA::_TAO_IDLType_ThruPOA_Proxy_Impl
+
+{
+public:
+ _TAO_FixedDef_ThruPOA_Proxy_Impl (void);
+
+ virtual ~_TAO_FixedDef_ThruPOA_Proxy_Impl (void) { }
+
+ virtual CORBA::UShort digits (
+ CORBA_Object *_collocated_tao_target_,
+ CORBA::Environment &ACE_TRY_ENV
+ )
+ ACE_THROW_SPEC ((
+ CORBA::SystemException
+ ));
+
+ virtual void digits (
+ CORBA_Object *_collocated_tao_target_,
+ CORBA::UShort digits,
+ CORBA::Environment &ACE_TRY_ENV
+ )
+ ACE_THROW_SPEC ((
+ CORBA::SystemException
+ ));
+
+ virtual CORBA::Short scale (
+ CORBA_Object *_collocated_tao_target_,
+ CORBA::Environment &ACE_TRY_ENV
+ )
+ ACE_THROW_SPEC ((
+ CORBA::SystemException
+ ));
+
+ virtual void scale (
+ CORBA_Object *_collocated_tao_target_,
+ CORBA::Short scale,
+ CORBA::Environment &ACE_TRY_ENV
+ )
+ ACE_THROW_SPEC ((
+ CORBA::SystemException
+ ));
+
+};
+
+
+//
+// ThruPOA Proxy Impl. Declaration
+///////////////////////////////////////////////////////////////////////
+
+
+#if defined (ACE_HAS_USING_KEYWORD)
+// TIE class: Refer to CORBA v2.2, Section 20.34.4
+template <class T>
+class FixedDef_tie : public FixedDef
+{
+public:
+ FixedDef_tie (T &t);
+ // the T& ctor
+ FixedDef_tie (T &t, PortableServer::POA_ptr poa);
+ // ctor taking a POA
+ FixedDef_tie (T *tp, CORBA::Boolean release=1);
+ // ctor taking pointer and an ownership flag
+ FixedDef_tie (T *tp, PortableServer::POA_ptr poa, CORBA::Boolean release=1);
+ // ctor with T*, ownership flag and a POA
+ ~FixedDef_tie (void);
+ // dtor
+
+ // TIE specific functions
+ T *_tied_object (void);
+ // return the underlying object
+ void _tied_object (T &obj);
+ // set the underlying object
+ void _tied_object (T *obj, CORBA::Boolean release=1);
+ // set the underlying object and the ownership flag
+ CORBA::Boolean _is_owner (void);
+ // do we own it
+ void _is_owner (CORBA::Boolean b);
+ // set the ownership
+
+ // overridden ServantBase operations
+ PortableServer::POA_ptr _default_POA (
+ CORBA::Environment &ACE_TRY_ENV =
+ TAO_default_environment ()
+ );
+ CORBA::UShort digits (
+ CORBA::Environment &ACE_TRY_ENV =
+ TAO_default_environment ()
+ )
+ ACE_THROW_SPEC ((
+ CORBA::SystemException
+ ));
+
+ void digits (
+ CORBA::UShort digits,
+ CORBA::Environment &ACE_TRY_ENV =
+ TAO_default_environment ()
+ )
+ ACE_THROW_SPEC ((
+ CORBA::SystemException
+ ));
+
+ CORBA::Short scale (
+ CORBA::Environment &ACE_TRY_ENV =
+ TAO_default_environment ()
+ )
+ ACE_THROW_SPEC ((
+ CORBA::SystemException
+ ));
+
+ void scale (
+ CORBA::Short scale,
+ CORBA::Environment &ACE_TRY_ENV =
+ TAO_default_environment ()
+ )
+ ACE_THROW_SPEC ((
+ CORBA::SystemException
+ ));
+
+ CORBA::TypeCode_ptr type (
+ CORBA::Environment &ACE_TRY_ENV =
+ TAO_default_environment ()
+ )
+ ACE_THROW_SPEC ((
+ CORBA::SystemException
+ ));
+
+ CORBA::DefinitionKind def_kind (
+ CORBA::Environment &ACE_TRY_ENV =
+ TAO_default_environment ()
+ )
+ ACE_THROW_SPEC ((
+ CORBA::SystemException
+ ));
+
+ void destroy (
+ CORBA::Environment &ACE_TRY_ENV =
+ TAO_default_environment ()
+ )
+ ACE_THROW_SPEC ((
+ CORBA::SystemException
+ ));
+
+private:
+ T *ptr_;
+ PortableServer::POA_var poa_;
+ CORBA::Boolean rel_;
+
+ // copy and assignment are not allowed
+ FixedDef_tie (const FixedDef_tie &);
+ void operator= (const FixedDef_tie &);
+};
+
+#endif /* ACE_HAS_USING_KEYWORD */
+
+class ValueMemberDef;
+typedef ValueMemberDef *ValueMemberDef_ptr;
+// Forward Classes Declaration
+class _TAO_ValueMemberDef_ThruPOA_Proxy_Impl;
+class _TAO_ValueMemberDef_Strategized_Proxy_Broker;
+
+class ValueMemberDef : public virtual Contained
+{
+protected:
+ ValueMemberDef (void);
+
+public:
+ ValueMemberDef (const ValueMemberDef& rhs);
+ virtual ~ValueMemberDef (void);
+
+
+ virtual CORBA::Boolean _is_a (
+ const char* logical_type_id,
+ CORBA::Environment &ACE_TRY_ENV =
+ TAO_default_environment ()
+ );
+
+ virtual void* _downcast (
+ const char* logical_type_id
+ );
+
+ static void _is_a_skel (
+ TAO_ServerRequest &req,
+ void *obj,
+ void *context,
+ CORBA::Environment &ACE_TRY_ENV =
+ TAO_default_environment ()
+ );
+
+ static void _non_existent_skel (
+ TAO_ServerRequest &req,
+ void *obj,
+ void *context,
+ CORBA::Environment &ACE_TRY_ENV =
+ TAO_default_environment ()
+ );
+
+ virtual void _dispatch (
+ TAO_ServerRequest &_tao_req,
+ void *_tao_context,
+ CORBA::Environment &ACE_TRY_ENV =
+ TAO_default_environment ()
+ );
+
+ ::CORBA::ValueMemberDef *_this (
+ CORBA::Environment &ACE_TRY_ENV =
+ TAO_default_environment ()
+ );
+
+ virtual const char* _interface_repository_id (void) const;
+
+ virtual CORBA::TypeCode_ptr type (
+ CORBA::Environment &ACE_TRY_ENV =
+ TAO_default_environment ()
+ )
+ ACE_THROW_SPEC ((
+ CORBA::SystemException
+ )) = 0;
+
+ static void _get_type_skel (
+ TAO_ServerRequest &_tao_req,
+ void *_tao_obj,
+ void *_tao_context,
+ CORBA::Environment &ACE_TRY_ENV =
+ TAO_default_environment ()
+ );
+
+ virtual CORBA::IDLType_ptr type_def (
+ CORBA::Environment &ACE_TRY_ENV =
+ TAO_default_environment ()
+ )
+ ACE_THROW_SPEC ((
+ CORBA::SystemException
+ )) = 0;
+
+ static void _get_type_def_skel (
+ TAO_ServerRequest &_tao_req,
+ void *_tao_obj,
+ void *_tao_context,
+ CORBA::Environment &ACE_TRY_ENV =
+ TAO_default_environment ()
+ );
+
+ virtual void type_def (
+ CORBA::IDLType_ptr type_def,
+ CORBA::Environment &ACE_TRY_ENV =
+ TAO_default_environment ()
+ )
+ ACE_THROW_SPEC ((
+ CORBA::SystemException
+ )) = 0;
+
+ static void _set_type_def_skel (
+ TAO_ServerRequest &_tao_req,
+ void *_tao_obj,
+ void *_tao_context,
+ CORBA::Environment &ACE_TRY_ENV =
+ TAO_default_environment ()
+ );
+
+ virtual CORBA::Visibility access (
+ CORBA::Environment &ACE_TRY_ENV =
+ TAO_default_environment ()
+ )
+ ACE_THROW_SPEC ((
+ CORBA::SystemException
+ )) = 0;
+
+ static void _get_access_skel (
+ TAO_ServerRequest &_tao_req,
+ void *_tao_obj,
+ void *_tao_context,
+ CORBA::Environment &ACE_TRY_ENV =
+ TAO_default_environment ()
+ );
+
+ virtual void access (
+ CORBA::Visibility access,
+ CORBA::Environment &ACE_TRY_ENV =
+ TAO_default_environment ()
+ )
+ ACE_THROW_SPEC ((
+ CORBA::SystemException
+ )) = 0;
+
+ static void _set_access_skel (
+ TAO_ServerRequest &_tao_req,
+ void *_tao_obj,
+ void *_tao_context,
+ CORBA::Environment &ACE_TRY_ENV =
+ TAO_default_environment ()
+ );
+
+ static void _get_id_skel (
+ TAO_ServerRequest &req,
+ void *obj,
+ void *context,
+ CORBA::Environment &ACE_TRY_ENV =
+ TAO_default_environment ()
+ );
+
+ static void _set_id_skel (
+ TAO_ServerRequest &req,
+ void *obj,
+ void *context,
+ CORBA::Environment &ACE_TRY_ENV =
+ TAO_default_environment ()
+ );
+
+ static void _get_name_skel (
+ TAO_ServerRequest &req,
+ void *obj,
+ void *context,
+ CORBA::Environment &ACE_TRY_ENV =
+ TAO_default_environment ()
+ );
+
+ static void _set_name_skel (
+ TAO_ServerRequest &req,
+ void *obj,
+ void *context,
+ CORBA::Environment &ACE_TRY_ENV =
+ TAO_default_environment ()
+ );
+
+ static void _get_version_skel (
+ TAO_ServerRequest &req,
+ void *obj,
+ void *context,
+ CORBA::Environment &ACE_TRY_ENV =
+ TAO_default_environment ()
+ );
+
+ static void _set_version_skel (
+ TAO_ServerRequest &req,
+ void *obj,
+ void *context,
+ CORBA::Environment &ACE_TRY_ENV =
+ TAO_default_environment ()
+ );
+
+ static void _get_defined_in_skel (
+ TAO_ServerRequest &req,
+ void *obj,
+ void *context,
+ CORBA::Environment &ACE_TRY_ENV =
+ TAO_default_environment ()
+ );
+
+ static void _get_absolute_name_skel (
+ TAO_ServerRequest &req,
+ void *obj,
+ void *context,
+ CORBA::Environment &ACE_TRY_ENV =
+ TAO_default_environment ()
+ );
+
+ static void _get_containing_repository_skel (
+ TAO_ServerRequest &req,
+ void *obj,
+ void *context,
+ CORBA::Environment &ACE_TRY_ENV =
+ TAO_default_environment ()
+ );
+
+ static void describe_skel (
+ TAO_ServerRequest &req,
+ void *obj,
+ void *context,
+ CORBA::Environment &ACE_TRY_ENV =
+ TAO_default_environment ()
+ );
+
+ static void move_skel (
+ TAO_ServerRequest &req,
+ void *obj,
+ void *context,
+ CORBA::Environment &ACE_TRY_ENV =
+ TAO_default_environment ()
+ );
+
+ static void _get_def_kind_skel (
+ TAO_ServerRequest &req,
+ void *obj,
+ void *context,
+ CORBA::Environment &ACE_TRY_ENV =
+ TAO_default_environment ()
+ );
+
+ static void destroy_skel (
+ TAO_ServerRequest &req,
+ void *obj,
+ void *context,
+ CORBA::Environment &ACE_TRY_ENV =
+ TAO_default_environment ()
+ );
+
+
+#if (TAO_HAS_INTERCEPTORS == 1)
+ // Generation of interceptors related RequestInfo classes per operation.
+ // This needed to be able to store the arguments, exceptions, contexts
+ // and build the lists dynamically on demand so that unnecessary time overhead
+ // of building these lists when they arent used is avoided.
+ class TAO_ServerRequestInfo_CORBA_ValueMemberDef_type_get : public TAO_ServerRequestInfo
+ {
+ public:
+ friend class POA_CORBA::ValueMemberDef;
+ TAO_ServerRequestInfo_CORBA_ValueMemberDef_type_get (
+ TAO_ServerRequest &_tao_server_request,
+ POA_CORBA::ValueMemberDef *tao_impl,
+ CORBA::Environment &ACE_TRY_ENV =
+ TAO_default_environment ()
+ );
+
+ virtual Dynamic::ParameterList * arguments (
+ CORBA::Environment &ACE_TRY_ENV =
+ TAO_default_environment ()
+ )
+ ACE_THROW_SPEC ((CORBA::SystemException));
+
+ virtual Dynamic::ExceptionList * exceptions (
+ CORBA::Environment &ACE_TRY_ENV =
+ TAO_default_environment ()
+ )
+ ACE_THROW_SPEC ((CORBA::SystemException));
+
+ virtual CORBA::Any * result (
+ CORBA::Environment &ACE_TRY_ENV =
+ TAO_default_environment ()
+ )
+ ACE_THROW_SPEC ((CORBA::SystemException));
+
+ virtual char * target_most_derived_interface (
+ CORBA::Environment &ACE_TRY_ENV = TAO_default_environment ())
+ ACE_THROW_SPEC ((CORBA::SystemException));
+
+ virtual CORBA::Boolean target_is_a (
+ const char * id,
+ CORBA::Environment &ACE_TRY_ENV = TAO_default_environment ())
+ ACE_THROW_SPEC ((CORBA::SystemException));
+
+ private:
+ TAO_ServerRequestInfo_CORBA_ValueMemberDef_type_get (const TAO_ServerRequestInfo_CORBA_ValueMemberDef_type_get &);
+ void operator= (const TAO_ServerRequestInfo_CORBA_ValueMemberDef_type_get &);
+
+ private:
+ POA_CORBA::ValueMemberDef *_tao_impl;
+ void result (CORBA::TypeCode_ptr result);
+ // update the result
+ CORBA::TypeCode_ptr _result;
+ };
+
+ class TAO_ServerRequestInfo_CORBA_ValueMemberDef_type_def_get : public TAO_ServerRequestInfo
+ {
+ public:
+ friend class POA_CORBA::ValueMemberDef;
+ TAO_ServerRequestInfo_CORBA_ValueMemberDef_type_def_get (
+ TAO_ServerRequest &_tao_server_request,
+ POA_CORBA::ValueMemberDef *tao_impl,
+ CORBA::Environment &ACE_TRY_ENV =
+ TAO_default_environment ()
+ );
+
+ virtual Dynamic::ParameterList * arguments (
+ CORBA::Environment &ACE_TRY_ENV =
+ TAO_default_environment ()
+ )
+ ACE_THROW_SPEC ((CORBA::SystemException));
+
+ virtual Dynamic::ExceptionList * exceptions (
+ CORBA::Environment &ACE_TRY_ENV =
+ TAO_default_environment ()
+ )
+ ACE_THROW_SPEC ((CORBA::SystemException));
+
+ virtual CORBA::Any * result (
+ CORBA::Environment &ACE_TRY_ENV =
+ TAO_default_environment ()
+ )
+ ACE_THROW_SPEC ((CORBA::SystemException));
+
+ virtual char * target_most_derived_interface (
+ CORBA::Environment &ACE_TRY_ENV = TAO_default_environment ())
+ ACE_THROW_SPEC ((CORBA::SystemException));
+
+ virtual CORBA::Boolean target_is_a (
+ const char * id,
+ CORBA::Environment &ACE_TRY_ENV = TAO_default_environment ())
+ ACE_THROW_SPEC ((CORBA::SystemException));
+
+ private:
+ TAO_ServerRequestInfo_CORBA_ValueMemberDef_type_def_get (const TAO_ServerRequestInfo_CORBA_ValueMemberDef_type_def_get &);
+ void operator= (const TAO_ServerRequestInfo_CORBA_ValueMemberDef_type_def_get &);
+
+ private:
+ POA_CORBA::ValueMemberDef *_tao_impl;
+ void result (CORBA::IDLType_ptr result);
+ // update the result
+ CORBA::IDLType_ptr _result;
+ };
+
+ class TAO_ServerRequestInfo_CORBA_ValueMemberDef_type_def_set : public TAO_ServerRequestInfo
+ {
+ public:
+ friend class POA_CORBA::ValueMemberDef;
+ TAO_ServerRequestInfo_CORBA_ValueMemberDef_type_def_set (
+ TAO_ServerRequest &_tao_server_request,
+ POA_CORBA::ValueMemberDef *tao_impl,
+ CORBA::IDLType_ptr type_def,
+ CORBA::Environment &ACE_TRY_ENV =
+ TAO_default_environment ()
+ );
+
+ virtual Dynamic::ParameterList * arguments (
+ CORBA::Environment &ACE_TRY_ENV =
+ TAO_default_environment ()
+ )
+ ACE_THROW_SPEC ((CORBA::SystemException));
+
+ virtual Dynamic::ExceptionList * exceptions (
+ CORBA::Environment &ACE_TRY_ENV =
+ TAO_default_environment ()
+ )
+ ACE_THROW_SPEC ((CORBA::SystemException));
+
+ virtual CORBA::Any * result (
+ CORBA::Environment &ACE_TRY_ENV =
+ TAO_default_environment ()
+ )
+ ACE_THROW_SPEC ((CORBA::SystemException));
+
+ virtual char * target_most_derived_interface (
+ CORBA::Environment &ACE_TRY_ENV = TAO_default_environment ())
+ ACE_THROW_SPEC ((CORBA::SystemException));
+
+ virtual CORBA::Boolean target_is_a (
+ const char * id,
+ CORBA::Environment &ACE_TRY_ENV = TAO_default_environment ())
+ ACE_THROW_SPEC ((CORBA::SystemException));
+
+ private:
+ TAO_ServerRequestInfo_CORBA_ValueMemberDef_type_def_set (const TAO_ServerRequestInfo_CORBA_ValueMemberDef_type_def_set &);
+ void operator= (const TAO_ServerRequestInfo_CORBA_ValueMemberDef_type_def_set &);
+
+ private:
+ POA_CORBA::ValueMemberDef *_tao_impl;
+ CORBA::IDLType_ptr type_def_;
+
+ };
+
+ class TAO_ServerRequestInfo_CORBA_ValueMemberDef_access_get : public TAO_ServerRequestInfo
+ {
+ public:
+ friend class POA_CORBA::ValueMemberDef;
+ TAO_ServerRequestInfo_CORBA_ValueMemberDef_access_get (
+ TAO_ServerRequest &_tao_server_request,
+ POA_CORBA::ValueMemberDef *tao_impl,
+ CORBA::Environment &ACE_TRY_ENV =
+ TAO_default_environment ()
+ );
+
+ virtual Dynamic::ParameterList * arguments (
+ CORBA::Environment &ACE_TRY_ENV =
+ TAO_default_environment ()
+ )
+ ACE_THROW_SPEC ((CORBA::SystemException));
+
+ virtual Dynamic::ExceptionList * exceptions (
+ CORBA::Environment &ACE_TRY_ENV =
+ TAO_default_environment ()
+ )
+ ACE_THROW_SPEC ((CORBA::SystemException));
+
+ virtual CORBA::Any * result (
+ CORBA::Environment &ACE_TRY_ENV =
+ TAO_default_environment ()
+ )
+ ACE_THROW_SPEC ((CORBA::SystemException));
+
+ virtual char * target_most_derived_interface (
+ CORBA::Environment &ACE_TRY_ENV = TAO_default_environment ())
+ ACE_THROW_SPEC ((CORBA::SystemException));
+
+ virtual CORBA::Boolean target_is_a (
+ const char * id,
+ CORBA::Environment &ACE_TRY_ENV = TAO_default_environment ())
+ ACE_THROW_SPEC ((CORBA::SystemException));
+
+ private:
+ TAO_ServerRequestInfo_CORBA_ValueMemberDef_access_get (const TAO_ServerRequestInfo_CORBA_ValueMemberDef_access_get &);
+ void operator= (const TAO_ServerRequestInfo_CORBA_ValueMemberDef_access_get &);
+
+ private:
+ POA_CORBA::ValueMemberDef *_tao_impl;
+ void result (CORBA::Visibility result);
+ // update the result
+ CORBA::Visibility _result;
+ };
+
+ class TAO_ServerRequestInfo_CORBA_ValueMemberDef_access_set : public TAO_ServerRequestInfo
+ {
+ public:
+ friend class POA_CORBA::ValueMemberDef;
+ TAO_ServerRequestInfo_CORBA_ValueMemberDef_access_set (
+ TAO_ServerRequest &_tao_server_request,
+ POA_CORBA::ValueMemberDef *tao_impl,
+ const CORBA::Visibility & access,
+ CORBA::Environment &ACE_TRY_ENV =
+ TAO_default_environment ()
+ );
+
+ virtual Dynamic::ParameterList * arguments (
+ CORBA::Environment &ACE_TRY_ENV =
+ TAO_default_environment ()
+ )
+ ACE_THROW_SPEC ((CORBA::SystemException));
+
+ virtual Dynamic::ExceptionList * exceptions (
+ CORBA::Environment &ACE_TRY_ENV =
+ TAO_default_environment ()
+ )
+ ACE_THROW_SPEC ((CORBA::SystemException));
+
+ virtual CORBA::Any * result (
+ CORBA::Environment &ACE_TRY_ENV =
+ TAO_default_environment ()
+ )
+ ACE_THROW_SPEC ((CORBA::SystemException));
+
+ virtual char * target_most_derived_interface (
+ CORBA::Environment &ACE_TRY_ENV = TAO_default_environment ())
+ ACE_THROW_SPEC ((CORBA::SystemException));
+
+ virtual CORBA::Boolean target_is_a (
+ const char * id,
+ CORBA::Environment &ACE_TRY_ENV = TAO_default_environment ())
+ ACE_THROW_SPEC ((CORBA::SystemException));
+
+ private:
+ TAO_ServerRequestInfo_CORBA_ValueMemberDef_access_set (const TAO_ServerRequestInfo_CORBA_ValueMemberDef_access_set &);
+ void operator= (const TAO_ServerRequestInfo_CORBA_ValueMemberDef_access_set &);
+
+ private:
+ POA_CORBA::ValueMemberDef *_tao_impl;
+ const CORBA::Visibility & access_;
+
+ };
+
+ #endif /* TAO_HAS_INTERCEPTORS */
+
+};
+
+
+///////////////////////////////////////////////////////////////////////
+// Strategized Proxy Broker Declaration
+//
+
+class _TAO_ValueMemberDef_Strategized_Proxy_Broker : public virtual ::_TAO_ValueMemberDef_Proxy_Broker
+{
+public:
+ _TAO_ValueMemberDef_Strategized_Proxy_Broker (void);
+
+ virtual ~_TAO_ValueMemberDef_Strategized_Proxy_Broker (void);
+
+ virtual ::_TAO_ValueMemberDef_Proxy_Impl &select_proxy (
+ ::CORBA::ValueMemberDef *object,
+ CORBA_Environment &ACE_TRY_ENV = TAO_default_environment ()
+ );
+
+private:
+
+// Helper methods that takes care to create the proxy
+// as soon as their use is necessary.
+ void create_proxy (
+ int strategy,
+ CORBA::Environment &ACE_TRY_ENV
+ );
+
+private:
+
+ // Caches the proxy implementations. The proxy implementation
+ // are totally stateless, and those can be shared by all the
+ // instances of a given IDL interface type.
+ ::_TAO_ValueMemberDef_Proxy_Impl
+ *proxy_cache_[TAO_Collocation_Strategies::CS_LAST];
+
+ TAO_SYNCH_MUTEX mutex_;
+// This funxtion is used to get an handle to the unique instance
+// of the Strategized Proxy Broker that is available for a given
+// interface.
+
+public:
+ static _TAO_ValueMemberDef_Strategized_Proxy_Broker *the_TAO_ValueMemberDef_Strategized_Proxy_Broker (void);
+};
+
+
+//
+// End Strategized Proxy Broker Declaration
+///////////////////////////////////////////////////////////////////////
+
+
+///////////////////////////////////////////////////////////////////////
+// ThruPOA Impl. Declaration
+//
+
+class _TAO_ValueMemberDef_ThruPOA_Proxy_Impl :
+ public virtual ::_TAO_ValueMemberDef_Proxy_Impl,
+ public virtual TAO_ThruPOA_Object_Proxy_Impl,
+ public virtual ::POA_CORBA::_TAO_Contained_ThruPOA_Proxy_Impl
+
+{
+public:
+ _TAO_ValueMemberDef_ThruPOA_Proxy_Impl (void);
+
+ virtual ~_TAO_ValueMemberDef_ThruPOA_Proxy_Impl (void) { }
+
+ virtual CORBA::TypeCode_ptr type (
+ CORBA_Object *_collocated_tao_target_,
+ CORBA::Environment &ACE_TRY_ENV
+ )
+ ACE_THROW_SPEC ((
+ CORBA::SystemException
+ ));
+
+ virtual CORBA::IDLType_ptr type_def (
+ CORBA_Object *_collocated_tao_target_,
+ CORBA::Environment &ACE_TRY_ENV
+ )
+ ACE_THROW_SPEC ((
+ CORBA::SystemException
+ ));
+
+ virtual void type_def (
+ CORBA_Object *_collocated_tao_target_,
+ CORBA::IDLType_ptr type_def,
+ CORBA::Environment &ACE_TRY_ENV
+ )
+ ACE_THROW_SPEC ((
+ CORBA::SystemException
+ ));
+
+ virtual CORBA::Visibility access (
+ CORBA_Object *_collocated_tao_target_,
+ CORBA::Environment &ACE_TRY_ENV
+ )
+ ACE_THROW_SPEC ((
+ CORBA::SystemException
+ ));
+
+ virtual void access (
+ CORBA_Object *_collocated_tao_target_,
+ CORBA::Visibility access,
+ CORBA::Environment &ACE_TRY_ENV
+ )
+ ACE_THROW_SPEC ((
+ CORBA::SystemException
+ ));
+
+};
+
+
+//
+// ThruPOA Proxy Impl. Declaration
+///////////////////////////////////////////////////////////////////////
+
+
+#if defined (ACE_HAS_USING_KEYWORD)
+// TIE class: Refer to CORBA v2.2, Section 20.34.4
+template <class T>
+class ValueMemberDef_tie : public ValueMemberDef
+{
+public:
+ ValueMemberDef_tie (T &t);
+ // the T& ctor
+ ValueMemberDef_tie (T &t, PortableServer::POA_ptr poa);
+ // ctor taking a POA
+ ValueMemberDef_tie (T *tp, CORBA::Boolean release=1);
+ // ctor taking pointer and an ownership flag
+ ValueMemberDef_tie (T *tp, PortableServer::POA_ptr poa, CORBA::Boolean release=1);
+ // ctor with T*, ownership flag and a POA
+ ~ValueMemberDef_tie (void);
+ // dtor
+
+ // TIE specific functions
+ T *_tied_object (void);
+ // return the underlying object
+ void _tied_object (T &obj);
+ // set the underlying object
+ void _tied_object (T *obj, CORBA::Boolean release=1);
+ // set the underlying object and the ownership flag
+ CORBA::Boolean _is_owner (void);
+ // do we own it
+ void _is_owner (CORBA::Boolean b);
+ // set the ownership
+
+ // overridden ServantBase operations
+ PortableServer::POA_ptr _default_POA (
+ CORBA::Environment &ACE_TRY_ENV =
+ TAO_default_environment ()
+ );
+ CORBA::TypeCode_ptr type (
+ CORBA::Environment &ACE_TRY_ENV =
+ TAO_default_environment ()
+ )
+ ACE_THROW_SPEC ((
+ CORBA::SystemException
+ ));
+
+ CORBA::IDLType_ptr type_def (
+ CORBA::Environment &ACE_TRY_ENV =
+ TAO_default_environment ()
+ )
+ ACE_THROW_SPEC ((
+ CORBA::SystemException
+ ));
+
+ void type_def (
+ CORBA::IDLType_ptr type_def,
+ CORBA::Environment &ACE_TRY_ENV =
+ TAO_default_environment ()
+ )
+ ACE_THROW_SPEC ((
+ CORBA::SystemException
+ ));
+
+ CORBA::Visibility access (
+ CORBA::Environment &ACE_TRY_ENV =
+ TAO_default_environment ()
+ )
+ ACE_THROW_SPEC ((
+ CORBA::SystemException
+ ));
+
+ void access (
+ CORBA::Visibility access,
+ CORBA::Environment &ACE_TRY_ENV =
+ TAO_default_environment ()
+ )
+ ACE_THROW_SPEC ((
+ CORBA::SystemException
+ ));
+
+ char * id (
+ CORBA::Environment &ACE_TRY_ENV =
+ TAO_default_environment ()
+ )
+ ACE_THROW_SPEC ((
+ CORBA::SystemException
+ ));
+
+ void id (
+ const char * id,
+ CORBA::Environment &ACE_TRY_ENV =
+ TAO_default_environment ()
+ )
+ ACE_THROW_SPEC ((
+ CORBA::SystemException
+ ));
+
+ char * name (
+ CORBA::Environment &ACE_TRY_ENV =
+ TAO_default_environment ()
+ )
+ ACE_THROW_SPEC ((
+ CORBA::SystemException
+ ));
+
+ void name (
+ const char * name,
+ CORBA::Environment &ACE_TRY_ENV =
+ TAO_default_environment ()
+ )
+ ACE_THROW_SPEC ((
+ CORBA::SystemException
+ ));
+
+ char * version (
+ CORBA::Environment &ACE_TRY_ENV =
+ TAO_default_environment ()
+ )
+ ACE_THROW_SPEC ((
+ CORBA::SystemException
+ ));
+
+ void version (
+ const char * version,
+ CORBA::Environment &ACE_TRY_ENV =
+ TAO_default_environment ()
+ )
+ ACE_THROW_SPEC ((
+ CORBA::SystemException
+ ));
+
+ CORBA::Container_ptr defined_in (
+ CORBA::Environment &ACE_TRY_ENV =
+ TAO_default_environment ()
+ )
+ ACE_THROW_SPEC ((
+ CORBA::SystemException
+ ));
+
+ char * absolute_name (
+ CORBA::Environment &ACE_TRY_ENV =
+ TAO_default_environment ()
+ )
+ ACE_THROW_SPEC ((
+ CORBA::SystemException
+ ));
+
+ CORBA::Repository_ptr containing_repository (
+ CORBA::Environment &ACE_TRY_ENV =
+ TAO_default_environment ()
+ )
+ ACE_THROW_SPEC ((
+ CORBA::SystemException
+ ));
+
+ CORBA::Contained::Description * describe (
+ CORBA::Environment &ACE_TRY_ENV =
+ TAO_default_environment ()
+ )
+ ACE_THROW_SPEC ((
+ CORBA::SystemException
+ ));
+
+ void move (
+ CORBA::Container_ptr new_container,
+ const char * new_name,
+ const char * new_version,
+ CORBA::Environment &ACE_TRY_ENV =
+ TAO_default_environment ()
+ )
+ ACE_THROW_SPEC ((
+ CORBA::SystemException
+ ));
+
+ CORBA::DefinitionKind def_kind (
+ CORBA::Environment &ACE_TRY_ENV =
+ TAO_default_environment ()
+ )
+ ACE_THROW_SPEC ((
+ CORBA::SystemException
+ ));
+
+ void destroy (
+ CORBA::Environment &ACE_TRY_ENV =
+ TAO_default_environment ()
+ )
+ ACE_THROW_SPEC ((
+ CORBA::SystemException
+ ));
+
+private:
+ T *ptr_;
+ PortableServer::POA_var poa_;
+ CORBA::Boolean rel_;
+
+ // copy and assignment are not allowed
+ ValueMemberDef_tie (const ValueMemberDef_tie &);
+ void operator= (const ValueMemberDef_tie &);
+};
+
+#endif /* ACE_HAS_USING_KEYWORD */
+
+class ValueDef;
+typedef ValueDef *ValueDef_ptr;
+// Forward Classes Declaration
+class _TAO_ValueDef_ThruPOA_Proxy_Impl;
+class _TAO_ValueDef_Strategized_Proxy_Broker;
+
+class ValueDef : public virtual Container, public virtual Contained, public virtual IDLType
+{
+protected:
+ ValueDef (void);
+
+public:
+ ValueDef (const ValueDef& rhs);
+ virtual ~ValueDef (void);
+
+
+ virtual CORBA::Boolean _is_a (
+ const char* logical_type_id,
+ CORBA::Environment &ACE_TRY_ENV =
+ TAO_default_environment ()
+ );
+
+ virtual void* _downcast (
+ const char* logical_type_id
+ );
+
+ static void _is_a_skel (
+ TAO_ServerRequest &req,
+ void *obj,
+ void *context,
+ CORBA::Environment &ACE_TRY_ENV =
+ TAO_default_environment ()
+ );
+
+ static void _non_existent_skel (
+ TAO_ServerRequest &req,
+ void *obj,
+ void *context,
+ CORBA::Environment &ACE_TRY_ENV =
+ TAO_default_environment ()
+ );
+
+ virtual void _dispatch (
+ TAO_ServerRequest &_tao_req,
+ void *_tao_context,
+ CORBA::Environment &ACE_TRY_ENV =
+ TAO_default_environment ()
+ );
+
+ ::CORBA::ValueDef *_this (
+ CORBA::Environment &ACE_TRY_ENV =
+ TAO_default_environment ()
+ );
+
+ virtual const char* _interface_repository_id (void) const;
+
+ virtual CORBA::InterfaceDefSeq * supported_interfaces (
+ CORBA::Environment &ACE_TRY_ENV =
+ TAO_default_environment ()
+ )
+ ACE_THROW_SPEC ((
+ CORBA::SystemException
+ )) = 0;
+
+ static void _get_supported_interfaces_skel (
+ TAO_ServerRequest &_tao_req,
+ void *_tao_obj,
+ void *_tao_context,
+ CORBA::Environment &ACE_TRY_ENV =
+ TAO_default_environment ()
+ );
+
+ virtual void supported_interfaces (
+ const CORBA::InterfaceDefSeq & supported_interfaces,
+ CORBA::Environment &ACE_TRY_ENV =
+ TAO_default_environment ()
+ )
+ ACE_THROW_SPEC ((
+ CORBA::SystemException
+ )) = 0;
+
+ static void _set_supported_interfaces_skel (
+ TAO_ServerRequest &_tao_req,
+ void *_tao_obj,
+ void *_tao_context,
+ CORBA::Environment &ACE_TRY_ENV =
+ TAO_default_environment ()
+ );
+
+ virtual CORBA::InitializerSeq * initializers (
+ CORBA::Environment &ACE_TRY_ENV =
+ TAO_default_environment ()
+ )
+ ACE_THROW_SPEC ((
+ CORBA::SystemException
+ )) = 0;
+
+ static void _get_initializers_skel (
+ TAO_ServerRequest &_tao_req,
+ void *_tao_obj,
+ void *_tao_context,
+ CORBA::Environment &ACE_TRY_ENV =
+ TAO_default_environment ()
+ );
+
+ virtual void initializers (
+ const CORBA::InitializerSeq & initializers,
+ CORBA::Environment &ACE_TRY_ENV =
+ TAO_default_environment ()
+ )
+ ACE_THROW_SPEC ((
+ CORBA::SystemException
+ )) = 0;
+
+ static void _set_initializers_skel (
+ TAO_ServerRequest &_tao_req,
+ void *_tao_obj,
+ void *_tao_context,
+ CORBA::Environment &ACE_TRY_ENV =
+ TAO_default_environment ()
+ );
+
+ virtual CORBA::ValueDef_ptr base_value (
+ CORBA::Environment &ACE_TRY_ENV =
+ TAO_default_environment ()
+ )
+ ACE_THROW_SPEC ((
+ CORBA::SystemException
+ )) = 0;
+
+ static void _get_base_value_skel (
+ TAO_ServerRequest &_tao_req,
+ void *_tao_obj,
+ void *_tao_context,
+ CORBA::Environment &ACE_TRY_ENV =
+ TAO_default_environment ()
+ );
+
+ virtual void base_value (
+ CORBA::ValueDef_ptr base_value,
+ CORBA::Environment &ACE_TRY_ENV =
+ TAO_default_environment ()
+ )
+ ACE_THROW_SPEC ((
+ CORBA::SystemException
+ )) = 0;
+
+ static void _set_base_value_skel (
+ TAO_ServerRequest &_tao_req,
+ void *_tao_obj,
+ void *_tao_context,
+ CORBA::Environment &ACE_TRY_ENV =
+ TAO_default_environment ()
+ );
+
+ virtual CORBA::ValueDefSeq * abstract_base_values (
+ CORBA::Environment &ACE_TRY_ENV =
+ TAO_default_environment ()
+ )
+ ACE_THROW_SPEC ((
+ CORBA::SystemException
+ )) = 0;
+
+ static void _get_abstract_base_values_skel (
+ TAO_ServerRequest &_tao_req,
+ void *_tao_obj,
+ void *_tao_context,
+ CORBA::Environment &ACE_TRY_ENV =
+ TAO_default_environment ()
+ );
+
+ virtual void abstract_base_values (
+ const CORBA::ValueDefSeq & abstract_base_values,
+ CORBA::Environment &ACE_TRY_ENV =
+ TAO_default_environment ()
+ )
+ ACE_THROW_SPEC ((
+ CORBA::SystemException
+ )) = 0;
+
+ static void _set_abstract_base_values_skel (
+ TAO_ServerRequest &_tao_req,
+ void *_tao_obj,
+ void *_tao_context,
+ CORBA::Environment &ACE_TRY_ENV =
+ TAO_default_environment ()
+ );
+
+ virtual CORBA::Boolean is_abstract (
+ CORBA::Environment &ACE_TRY_ENV =
+ TAO_default_environment ()
+ )
+ ACE_THROW_SPEC ((
+ CORBA::SystemException
+ )) = 0;
+
+ static void _get_is_abstract_skel (
+ TAO_ServerRequest &_tao_req,
+ void *_tao_obj,
+ void *_tao_context,
+ CORBA::Environment &ACE_TRY_ENV =
+ TAO_default_environment ()
+ );
+
+ virtual void is_abstract (
+ CORBA::Boolean is_abstract,
+ CORBA::Environment &ACE_TRY_ENV =
+ TAO_default_environment ()
+ )
+ ACE_THROW_SPEC ((
+ CORBA::SystemException
+ )) = 0;
+
+ static void _set_is_abstract_skel (
+ TAO_ServerRequest &_tao_req,
+ void *_tao_obj,
+ void *_tao_context,
+ CORBA::Environment &ACE_TRY_ENV =
+ TAO_default_environment ()
+ );
+
+ virtual CORBA::Boolean is_custom (
+ CORBA::Environment &ACE_TRY_ENV =
+ TAO_default_environment ()
+ )
+ ACE_THROW_SPEC ((
+ CORBA::SystemException
+ )) = 0;
+
+ static void _get_is_custom_skel (
+ TAO_ServerRequest &_tao_req,
+ void *_tao_obj,
+ void *_tao_context,
+ CORBA::Environment &ACE_TRY_ENV =
+ TAO_default_environment ()
+ );
+
+ virtual void is_custom (
+ CORBA::Boolean is_custom,
+ CORBA::Environment &ACE_TRY_ENV =
+ TAO_default_environment ()
+ )
+ ACE_THROW_SPEC ((
+ CORBA::SystemException
+ )) = 0;
+
+ static void _set_is_custom_skel (
+ TAO_ServerRequest &_tao_req,
+ void *_tao_obj,
+ void *_tao_context,
+ CORBA::Environment &ACE_TRY_ENV =
+ TAO_default_environment ()
+ );
+
+ virtual CORBA::Boolean is_truncatable (
+ CORBA::Environment &ACE_TRY_ENV =
+ TAO_default_environment ()
+ )
+ ACE_THROW_SPEC ((
+ CORBA::SystemException
+ )) = 0;
+
+ static void _get_is_truncatable_skel (
+ TAO_ServerRequest &_tao_req,
+ void *_tao_obj,
+ void *_tao_context,
+ CORBA::Environment &ACE_TRY_ENV =
+ TAO_default_environment ()
+ );
+
+ virtual void is_truncatable (
+ CORBA::Boolean is_truncatable,
+ CORBA::Environment &ACE_TRY_ENV =
+ TAO_default_environment ()
+ )
+ ACE_THROW_SPEC ((
+ CORBA::SystemException
+ )) = 0;
+
+ static void _set_is_truncatable_skel (
+ TAO_ServerRequest &_tao_req,
+ void *_tao_obj,
+ void *_tao_context,
+ CORBA::Environment &ACE_TRY_ENV =
+ TAO_default_environment ()
+ );
+
+ virtual CORBA::Boolean is_a (
+ const char * id,
+ CORBA::Environment &ACE_TRY_ENV =
+ TAO_default_environment ()
+ )
+ ACE_THROW_SPEC ((
+ CORBA::SystemException
+ )) = 0;
+
+ static void is_a_skel (
+ TAO_ServerRequest &_tao_req,
+ void *_tao_obj,
+ void *_tao_context,
+ CORBA::Environment &ACE_TRY_ENV =
+ TAO_default_environment ()
+ );
+
+ virtual CORBA::ValueDef::FullValueDescription * describe_value (
+ CORBA::Environment &ACE_TRY_ENV =
+ TAO_default_environment ()
+ )
+ ACE_THROW_SPEC ((
+ CORBA::SystemException
+ )) = 0;
+
+ static void describe_value_skel (
+ TAO_ServerRequest &_tao_req,
+ void *_tao_obj,
+ void *_tao_context,
+ CORBA::Environment &ACE_TRY_ENV =
+ TAO_default_environment ()
+ );
+
+ virtual CORBA::ValueMemberDef_ptr create_value_member (
+ const char * id,
+ const char * name,
+ const char * version,
+ CORBA::IDLType_ptr type,
+ CORBA::Visibility access,
+ CORBA::Environment &ACE_TRY_ENV =
+ TAO_default_environment ()
+ )
+ ACE_THROW_SPEC ((
+ CORBA::SystemException
+ )) = 0;
+
+ static void create_value_member_skel (
+ TAO_ServerRequest &_tao_req,
+ void *_tao_obj,
+ void *_tao_context,
+ CORBA::Environment &ACE_TRY_ENV =
+ TAO_default_environment ()
+ );
+
+ virtual CORBA::AttributeDef_ptr create_attribute (
+ const char * id,
+ const char * name,
+ const char * version,
+ CORBA::IDLType_ptr type,
+ CORBA::AttributeMode mode,
+ CORBA::Environment &ACE_TRY_ENV =
+ TAO_default_environment ()
+ )
+ ACE_THROW_SPEC ((
+ CORBA::SystemException
+ )) = 0;
+
+ static void create_attribute_skel (
+ TAO_ServerRequest &_tao_req,
+ void *_tao_obj,
+ void *_tao_context,
+ CORBA::Environment &ACE_TRY_ENV =
+ TAO_default_environment ()
+ );
+
+ virtual CORBA::OperationDef_ptr create_operation (
+ const char * id,
+ const char * name,
+ const char * version,
+ CORBA::IDLType_ptr result,
+ CORBA::OperationMode mode,
+ const CORBA::ParDescriptionSeq & params,
+ const CORBA::ExceptionDefSeq & exceptions,
+ const CORBA::ContextIdSeq & contexts,
+ CORBA::Environment &ACE_TRY_ENV =
+ TAO_default_environment ()
+ )
+ ACE_THROW_SPEC ((
+ CORBA::SystemException
+ )) = 0;
+
+ static void create_operation_skel (
+ TAO_ServerRequest &_tao_req,
+ void *_tao_obj,
+ void *_tao_context,
+ CORBA::Environment &ACE_TRY_ENV =
+ TAO_default_environment ()
+ );
+
+ static void lookup_skel (
+ TAO_ServerRequest &req,
+ void *obj,
+ void *context,
+ CORBA::Environment &ACE_TRY_ENV =
+ TAO_default_environment ()
+ );
+
+ static void contents_skel (
+ TAO_ServerRequest &req,
+ void *obj,
+ void *context,
+ CORBA::Environment &ACE_TRY_ENV =
+ TAO_default_environment ()
+ );
+
+ static void lookup_name_skel (
+ TAO_ServerRequest &req,
+ void *obj,
+ void *context,
+ CORBA::Environment &ACE_TRY_ENV =
+ TAO_default_environment ()
+ );
+
+ static void describe_contents_skel (
+ TAO_ServerRequest &req,
+ void *obj,
+ void *context,
+ CORBA::Environment &ACE_TRY_ENV =
+ TAO_default_environment ()
+ );
+
+ static void create_module_skel (
+ TAO_ServerRequest &req,
+ void *obj,
+ void *context,
+ CORBA::Environment &ACE_TRY_ENV =
+ TAO_default_environment ()
+ );
+
+ static void create_constant_skel (
+ TAO_ServerRequest &req,
+ void *obj,
+ void *context,
+ CORBA::Environment &ACE_TRY_ENV =
+ TAO_default_environment ()
+ );
+
+ static void create_struct_skel (
+ TAO_ServerRequest &req,
+ void *obj,
+ void *context,
+ CORBA::Environment &ACE_TRY_ENV =
+ TAO_default_environment ()
+ );
+
+ static void create_union_skel (
+ TAO_ServerRequest &req,
+ void *obj,
+ void *context,
+ CORBA::Environment &ACE_TRY_ENV =
+ TAO_default_environment ()
+ );
+
+ static void create_enum_skel (
+ TAO_ServerRequest &req,
+ void *obj,
+ void *context,
+ CORBA::Environment &ACE_TRY_ENV =
+ TAO_default_environment ()
+ );
+
+ static void create_alias_skel (
+ TAO_ServerRequest &req,
+ void *obj,
+ void *context,
+ CORBA::Environment &ACE_TRY_ENV =
+ TAO_default_environment ()
+ );
+
+ static void create_interface_skel (
+ TAO_ServerRequest &req,
+ void *obj,
+ void *context,
+ CORBA::Environment &ACE_TRY_ENV =
+ TAO_default_environment ()
+ );
+
+ static void create_value_skel (
+ TAO_ServerRequest &req,
+ void *obj,
+ void *context,
+ CORBA::Environment &ACE_TRY_ENV =
+ TAO_default_environment ()
+ );
+
+ static void create_value_box_skel (
+ TAO_ServerRequest &req,
+ void *obj,
+ void *context,
+ CORBA::Environment &ACE_TRY_ENV =
+ TAO_default_environment ()
+ );
+
+ static void create_exception_skel (
+ TAO_ServerRequest &req,
+ void *obj,
+ void *context,
+ CORBA::Environment &ACE_TRY_ENV =
+ TAO_default_environment ()
+ );
+
+ static void create_native_skel (
+ TAO_ServerRequest &req,
+ void *obj,
+ void *context,
+ CORBA::Environment &ACE_TRY_ENV =
+ TAO_default_environment ()
+ );
+
+ static void create_abstract_interface_skel (
+ TAO_ServerRequest &req,
+ void *obj,
+ void *context,
+ CORBA::Environment &ACE_TRY_ENV =
+ TAO_default_environment ()
+ );
+
+ static void create_local_interface_skel (
+ TAO_ServerRequest &req,
+ void *obj,
+ void *context,
+ CORBA::Environment &ACE_TRY_ENV =
+ TAO_default_environment ()
+ );
+
+ static void _get_id_skel (
+ TAO_ServerRequest &req,
+ void *obj,
+ void *context,
+ CORBA::Environment &ACE_TRY_ENV =
+ TAO_default_environment ()
+ );
+
+ static void _set_id_skel (
+ TAO_ServerRequest &req,
+ void *obj,
+ void *context,
+ CORBA::Environment &ACE_TRY_ENV =
+ TAO_default_environment ()
+ );
+
+ static void _get_name_skel (
+ TAO_ServerRequest &req,
+ void *obj,
+ void *context,
+ CORBA::Environment &ACE_TRY_ENV =
+ TAO_default_environment ()
+ );
+
+ static void _set_name_skel (
+ TAO_ServerRequest &req,
+ void *obj,
+ void *context,
+ CORBA::Environment &ACE_TRY_ENV =
+ TAO_default_environment ()
+ );
+
+ static void _get_version_skel (
+ TAO_ServerRequest &req,
+ void *obj,
+ void *context,
+ CORBA::Environment &ACE_TRY_ENV =
+ TAO_default_environment ()
+ );
+
+ static void _set_version_skel (
+ TAO_ServerRequest &req,
+ void *obj,
+ void *context,
+ CORBA::Environment &ACE_TRY_ENV =
+ TAO_default_environment ()
+ );
+
+ static void _get_defined_in_skel (
+ TAO_ServerRequest &req,
+ void *obj,
+ void *context,
+ CORBA::Environment &ACE_TRY_ENV =
+ TAO_default_environment ()
+ );
+
+ static void _get_absolute_name_skel (
+ TAO_ServerRequest &req,
+ void *obj,
+ void *context,
+ CORBA::Environment &ACE_TRY_ENV =
+ TAO_default_environment ()
+ );
+
+ static void _get_containing_repository_skel (
+ TAO_ServerRequest &req,
+ void *obj,
+ void *context,
+ CORBA::Environment &ACE_TRY_ENV =
+ TAO_default_environment ()
+ );
+
+ static void describe_skel (
+ TAO_ServerRequest &req,
+ void *obj,
+ void *context,
+ CORBA::Environment &ACE_TRY_ENV =
+ TAO_default_environment ()
+ );
+
+ static void move_skel (
+ TAO_ServerRequest &req,
+ void *obj,
+ void *context,
+ CORBA::Environment &ACE_TRY_ENV =
+ TAO_default_environment ()
+ );
+
+ static void _get_type_skel (
+ TAO_ServerRequest &req,
+ void *obj,
+ void *context,
+ CORBA::Environment &ACE_TRY_ENV =
+ TAO_default_environment ()
+ );
+
+ static void _get_def_kind_skel (
+ TAO_ServerRequest &req,
+ void *obj,
+ void *context,
+ CORBA::Environment &ACE_TRY_ENV =
+ TAO_default_environment ()
+ );
+
+ static void destroy_skel (
+ TAO_ServerRequest &req,
+ void *obj,
+ void *context,
+ CORBA::Environment &ACE_TRY_ENV =
+ TAO_default_environment ()
+ );
+
+
+#if (TAO_HAS_INTERCEPTORS == 1)
+ // Generation of interceptors related RequestInfo classes per operation.
+ // This needed to be able to store the arguments, exceptions, contexts
+ // and build the lists dynamically on demand so that unnecessary time overhead
+ // of building these lists when they arent used is avoided.
+ class TAO_ServerRequestInfo_CORBA_ValueDef_supported_interfaces_get : public TAO_ServerRequestInfo
+ {
+ public:
+ friend class POA_CORBA::ValueDef;
+ TAO_ServerRequestInfo_CORBA_ValueDef_supported_interfaces_get (
+ TAO_ServerRequest &_tao_server_request,
+ POA_CORBA::ValueDef *tao_impl,
+ CORBA::Environment &ACE_TRY_ENV =
+ TAO_default_environment ()
+ );
+
+ virtual Dynamic::ParameterList * arguments (
+ CORBA::Environment &ACE_TRY_ENV =
+ TAO_default_environment ()
+ )
+ ACE_THROW_SPEC ((CORBA::SystemException));
+
+ virtual Dynamic::ExceptionList * exceptions (
+ CORBA::Environment &ACE_TRY_ENV =
+ TAO_default_environment ()
+ )
+ ACE_THROW_SPEC ((CORBA::SystemException));
+
+ virtual CORBA::Any * result (
+ CORBA::Environment &ACE_TRY_ENV =
+ TAO_default_environment ()
+ )
+ ACE_THROW_SPEC ((CORBA::SystemException));
+
+ virtual char * target_most_derived_interface (
+ CORBA::Environment &ACE_TRY_ENV = TAO_default_environment ())
+ ACE_THROW_SPEC ((CORBA::SystemException));
+
+ virtual CORBA::Boolean target_is_a (
+ const char * id,
+ CORBA::Environment &ACE_TRY_ENV = TAO_default_environment ())
+ ACE_THROW_SPEC ((CORBA::SystemException));
+
+ private:
+ TAO_ServerRequestInfo_CORBA_ValueDef_supported_interfaces_get (const TAO_ServerRequestInfo_CORBA_ValueDef_supported_interfaces_get &);
+ void operator= (const TAO_ServerRequestInfo_CORBA_ValueDef_supported_interfaces_get &);
+
+ private:
+ POA_CORBA::ValueDef *_tao_impl;
+ void result (CORBA::InterfaceDefSeq * result);
+ // update the result
+ CORBA::InterfaceDefSeq * _result;
+ };
+
+ class TAO_ServerRequestInfo_CORBA_ValueDef_supported_interfaces_set : public TAO_ServerRequestInfo
+ {
+ public:
+ friend class POA_CORBA::ValueDef;
+ TAO_ServerRequestInfo_CORBA_ValueDef_supported_interfaces_set (
+ TAO_ServerRequest &_tao_server_request,
+ POA_CORBA::ValueDef *tao_impl,
+ const CORBA::InterfaceDefSeq & supported_interfaces,
+ CORBA::Environment &ACE_TRY_ENV =
+ TAO_default_environment ()
+ );
+
+ virtual Dynamic::ParameterList * arguments (
+ CORBA::Environment &ACE_TRY_ENV =
+ TAO_default_environment ()
+ )
+ ACE_THROW_SPEC ((CORBA::SystemException));
+
+ virtual Dynamic::ExceptionList * exceptions (
+ CORBA::Environment &ACE_TRY_ENV =
+ TAO_default_environment ()
+ )
+ ACE_THROW_SPEC ((CORBA::SystemException));
+
+ virtual CORBA::Any * result (
+ CORBA::Environment &ACE_TRY_ENV =
+ TAO_default_environment ()
+ )
+ ACE_THROW_SPEC ((CORBA::SystemException));
+
+ virtual char * target_most_derived_interface (
+ CORBA::Environment &ACE_TRY_ENV = TAO_default_environment ())
+ ACE_THROW_SPEC ((CORBA::SystemException));
+
+ virtual CORBA::Boolean target_is_a (
+ const char * id,
+ CORBA::Environment &ACE_TRY_ENV = TAO_default_environment ())
+ ACE_THROW_SPEC ((CORBA::SystemException));
+
+ private:
+ TAO_ServerRequestInfo_CORBA_ValueDef_supported_interfaces_set (const TAO_ServerRequestInfo_CORBA_ValueDef_supported_interfaces_set &);
+ void operator= (const TAO_ServerRequestInfo_CORBA_ValueDef_supported_interfaces_set &);
+
+ private:
+ POA_CORBA::ValueDef *_tao_impl;
+ const CORBA::InterfaceDefSeq & supported_interfaces_;
+
+ };
+
+ class TAO_ServerRequestInfo_CORBA_ValueDef_initializers_get : public TAO_ServerRequestInfo
+ {
+ public:
+ friend class POA_CORBA::ValueDef;
+ TAO_ServerRequestInfo_CORBA_ValueDef_initializers_get (
+ TAO_ServerRequest &_tao_server_request,
+ POA_CORBA::ValueDef *tao_impl,
+ CORBA::Environment &ACE_TRY_ENV =
+ TAO_default_environment ()
+ );
+
+ virtual Dynamic::ParameterList * arguments (
+ CORBA::Environment &ACE_TRY_ENV =
+ TAO_default_environment ()
+ )
+ ACE_THROW_SPEC ((CORBA::SystemException));
+
+ virtual Dynamic::ExceptionList * exceptions (
+ CORBA::Environment &ACE_TRY_ENV =
+ TAO_default_environment ()
+ )
+ ACE_THROW_SPEC ((CORBA::SystemException));
+
+ virtual CORBA::Any * result (
+ CORBA::Environment &ACE_TRY_ENV =
+ TAO_default_environment ()
+ )
+ ACE_THROW_SPEC ((CORBA::SystemException));
+
+ virtual char * target_most_derived_interface (
+ CORBA::Environment &ACE_TRY_ENV = TAO_default_environment ())
+ ACE_THROW_SPEC ((CORBA::SystemException));
+
+ virtual CORBA::Boolean target_is_a (
+ const char * id,
+ CORBA::Environment &ACE_TRY_ENV = TAO_default_environment ())
+ ACE_THROW_SPEC ((CORBA::SystemException));
+
+ private:
+ TAO_ServerRequestInfo_CORBA_ValueDef_initializers_get (const TAO_ServerRequestInfo_CORBA_ValueDef_initializers_get &);
+ void operator= (const TAO_ServerRequestInfo_CORBA_ValueDef_initializers_get &);
+
+ private:
+ POA_CORBA::ValueDef *_tao_impl;
+ void result (CORBA::InitializerSeq * result);
+ // update the result
+ CORBA::InitializerSeq * _result;
+ };
+
+ class TAO_ServerRequestInfo_CORBA_ValueDef_initializers_set : public TAO_ServerRequestInfo
+ {
+ public:
+ friend class POA_CORBA::ValueDef;
+ TAO_ServerRequestInfo_CORBA_ValueDef_initializers_set (
+ TAO_ServerRequest &_tao_server_request,
+ POA_CORBA::ValueDef *tao_impl,
+ const CORBA::InitializerSeq & initializers,
+ CORBA::Environment &ACE_TRY_ENV =
+ TAO_default_environment ()
+ );
+
+ virtual Dynamic::ParameterList * arguments (
+ CORBA::Environment &ACE_TRY_ENV =
+ TAO_default_environment ()
+ )
+ ACE_THROW_SPEC ((CORBA::SystemException));
+
+ virtual Dynamic::ExceptionList * exceptions (
+ CORBA::Environment &ACE_TRY_ENV =
+ TAO_default_environment ()
+ )
+ ACE_THROW_SPEC ((CORBA::SystemException));
+
+ virtual CORBA::Any * result (
+ CORBA::Environment &ACE_TRY_ENV =
+ TAO_default_environment ()
+ )
+ ACE_THROW_SPEC ((CORBA::SystemException));
+
+ virtual char * target_most_derived_interface (
+ CORBA::Environment &ACE_TRY_ENV = TAO_default_environment ())
+ ACE_THROW_SPEC ((CORBA::SystemException));
+
+ virtual CORBA::Boolean target_is_a (
+ const char * id,
+ CORBA::Environment &ACE_TRY_ENV = TAO_default_environment ())
+ ACE_THROW_SPEC ((CORBA::SystemException));
+
+ private:
+ TAO_ServerRequestInfo_CORBA_ValueDef_initializers_set (const TAO_ServerRequestInfo_CORBA_ValueDef_initializers_set &);
+ void operator= (const TAO_ServerRequestInfo_CORBA_ValueDef_initializers_set &);
+
+ private:
+ POA_CORBA::ValueDef *_tao_impl;
+ const CORBA::InitializerSeq & initializers_;
+
+ };
+
+ class TAO_ServerRequestInfo_CORBA_ValueDef_base_value_get : public TAO_ServerRequestInfo
+ {
+ public:
+ friend class POA_CORBA::ValueDef;
+ TAO_ServerRequestInfo_CORBA_ValueDef_base_value_get (
+ TAO_ServerRequest &_tao_server_request,
+ POA_CORBA::ValueDef *tao_impl,
+ CORBA::Environment &ACE_TRY_ENV =
+ TAO_default_environment ()
+ );
+
+ virtual Dynamic::ParameterList * arguments (
+ CORBA::Environment &ACE_TRY_ENV =
+ TAO_default_environment ()
+ )
+ ACE_THROW_SPEC ((CORBA::SystemException));
+
+ virtual Dynamic::ExceptionList * exceptions (
+ CORBA::Environment &ACE_TRY_ENV =
+ TAO_default_environment ()
+ )
+ ACE_THROW_SPEC ((CORBA::SystemException));
+
+ virtual CORBA::Any * result (
+ CORBA::Environment &ACE_TRY_ENV =
+ TAO_default_environment ()
+ )
+ ACE_THROW_SPEC ((CORBA::SystemException));
+
+ virtual char * target_most_derived_interface (
+ CORBA::Environment &ACE_TRY_ENV = TAO_default_environment ())
+ ACE_THROW_SPEC ((CORBA::SystemException));
+
+ virtual CORBA::Boolean target_is_a (
+ const char * id,
+ CORBA::Environment &ACE_TRY_ENV = TAO_default_environment ())
+ ACE_THROW_SPEC ((CORBA::SystemException));
+
+ private:
+ TAO_ServerRequestInfo_CORBA_ValueDef_base_value_get (const TAO_ServerRequestInfo_CORBA_ValueDef_base_value_get &);
+ void operator= (const TAO_ServerRequestInfo_CORBA_ValueDef_base_value_get &);
+
+ private:
+ POA_CORBA::ValueDef *_tao_impl;
+ void result (CORBA::ValueDef_ptr result);
+ // update the result
+ CORBA::ValueDef_ptr _result;
+ };
+
+ class TAO_ServerRequestInfo_CORBA_ValueDef_base_value_set : public TAO_ServerRequestInfo
+ {
+ public:
+ friend class POA_CORBA::ValueDef;
+ TAO_ServerRequestInfo_CORBA_ValueDef_base_value_set (
+ TAO_ServerRequest &_tao_server_request,
+ POA_CORBA::ValueDef *tao_impl,
+ CORBA::ValueDef_ptr base_value,
+ CORBA::Environment &ACE_TRY_ENV =
+ TAO_default_environment ()
+ );
+
+ virtual Dynamic::ParameterList * arguments (
+ CORBA::Environment &ACE_TRY_ENV =
+ TAO_default_environment ()
+ )
+ ACE_THROW_SPEC ((CORBA::SystemException));
+
+ virtual Dynamic::ExceptionList * exceptions (
+ CORBA::Environment &ACE_TRY_ENV =
+ TAO_default_environment ()
+ )
+ ACE_THROW_SPEC ((CORBA::SystemException));
+
+ virtual CORBA::Any * result (
+ CORBA::Environment &ACE_TRY_ENV =
+ TAO_default_environment ()
+ )
+ ACE_THROW_SPEC ((CORBA::SystemException));
+
+ virtual char * target_most_derived_interface (
+ CORBA::Environment &ACE_TRY_ENV = TAO_default_environment ())
+ ACE_THROW_SPEC ((CORBA::SystemException));
+
+ virtual CORBA::Boolean target_is_a (
+ const char * id,
+ CORBA::Environment &ACE_TRY_ENV = TAO_default_environment ())
+ ACE_THROW_SPEC ((CORBA::SystemException));
+
+ private:
+ TAO_ServerRequestInfo_CORBA_ValueDef_base_value_set (const TAO_ServerRequestInfo_CORBA_ValueDef_base_value_set &);
+ void operator= (const TAO_ServerRequestInfo_CORBA_ValueDef_base_value_set &);
+
+ private:
+ POA_CORBA::ValueDef *_tao_impl;
+ CORBA::ValueDef_ptr base_value_;
+
+ };
+
+ class TAO_ServerRequestInfo_CORBA_ValueDef_abstract_base_values_get : public TAO_ServerRequestInfo
+ {
+ public:
+ friend class POA_CORBA::ValueDef;
+ TAO_ServerRequestInfo_CORBA_ValueDef_abstract_base_values_get (
+ TAO_ServerRequest &_tao_server_request,
+ POA_CORBA::ValueDef *tao_impl,
+ CORBA::Environment &ACE_TRY_ENV =
+ TAO_default_environment ()
+ );
+
+ virtual Dynamic::ParameterList * arguments (
+ CORBA::Environment &ACE_TRY_ENV =
+ TAO_default_environment ()
+ )
+ ACE_THROW_SPEC ((CORBA::SystemException));
+
+ virtual Dynamic::ExceptionList * exceptions (
+ CORBA::Environment &ACE_TRY_ENV =
+ TAO_default_environment ()
+ )
+ ACE_THROW_SPEC ((CORBA::SystemException));
+
+ virtual CORBA::Any * result (
+ CORBA::Environment &ACE_TRY_ENV =
+ TAO_default_environment ()
+ )
+ ACE_THROW_SPEC ((CORBA::SystemException));
+
+ virtual char * target_most_derived_interface (
+ CORBA::Environment &ACE_TRY_ENV = TAO_default_environment ())
+ ACE_THROW_SPEC ((CORBA::SystemException));
+
+ virtual CORBA::Boolean target_is_a (
+ const char * id,
+ CORBA::Environment &ACE_TRY_ENV = TAO_default_environment ())
+ ACE_THROW_SPEC ((CORBA::SystemException));
+
+ private:
+ TAO_ServerRequestInfo_CORBA_ValueDef_abstract_base_values_get (const TAO_ServerRequestInfo_CORBA_ValueDef_abstract_base_values_get &);
+ void operator= (const TAO_ServerRequestInfo_CORBA_ValueDef_abstract_base_values_get &);
+
+ private:
+ POA_CORBA::ValueDef *_tao_impl;
+ void result (CORBA::ValueDefSeq * result);
+ // update the result
+ CORBA::ValueDefSeq * _result;
+ };
+
+ class TAO_ServerRequestInfo_CORBA_ValueDef_abstract_base_values_set : public TAO_ServerRequestInfo
+ {
+ public:
+ friend class POA_CORBA::ValueDef;
+ TAO_ServerRequestInfo_CORBA_ValueDef_abstract_base_values_set (
+ TAO_ServerRequest &_tao_server_request,
+ POA_CORBA::ValueDef *tao_impl,
+ const CORBA::ValueDefSeq & abstract_base_values,
+ CORBA::Environment &ACE_TRY_ENV =
+ TAO_default_environment ()
+ );
+
+ virtual Dynamic::ParameterList * arguments (
+ CORBA::Environment &ACE_TRY_ENV =
+ TAO_default_environment ()
+ )
+ ACE_THROW_SPEC ((CORBA::SystemException));
+
+ virtual Dynamic::ExceptionList * exceptions (
+ CORBA::Environment &ACE_TRY_ENV =
+ TAO_default_environment ()
+ )
+ ACE_THROW_SPEC ((CORBA::SystemException));
+
+ virtual CORBA::Any * result (
+ CORBA::Environment &ACE_TRY_ENV =
+ TAO_default_environment ()
+ )
+ ACE_THROW_SPEC ((CORBA::SystemException));
+
+ virtual char * target_most_derived_interface (
+ CORBA::Environment &ACE_TRY_ENV = TAO_default_environment ())
+ ACE_THROW_SPEC ((CORBA::SystemException));
+
+ virtual CORBA::Boolean target_is_a (
+ const char * id,
+ CORBA::Environment &ACE_TRY_ENV = TAO_default_environment ())
+ ACE_THROW_SPEC ((CORBA::SystemException));
+
+ private:
+ TAO_ServerRequestInfo_CORBA_ValueDef_abstract_base_values_set (const TAO_ServerRequestInfo_CORBA_ValueDef_abstract_base_values_set &);
+ void operator= (const TAO_ServerRequestInfo_CORBA_ValueDef_abstract_base_values_set &);
+
+ private:
+ POA_CORBA::ValueDef *_tao_impl;
+ const CORBA::ValueDefSeq & abstract_base_values_;
+
+ };
+
+ class TAO_ServerRequestInfo_CORBA_ValueDef_is_abstract_get : public TAO_ServerRequestInfo
+ {
+ public:
+ friend class POA_CORBA::ValueDef;
+ TAO_ServerRequestInfo_CORBA_ValueDef_is_abstract_get (
+ TAO_ServerRequest &_tao_server_request,
+ POA_CORBA::ValueDef *tao_impl,
+ CORBA::Environment &ACE_TRY_ENV =
+ TAO_default_environment ()
+ );
+
+ virtual Dynamic::ParameterList * arguments (
+ CORBA::Environment &ACE_TRY_ENV =
+ TAO_default_environment ()
+ )
+ ACE_THROW_SPEC ((CORBA::SystemException));
+
+ virtual Dynamic::ExceptionList * exceptions (
+ CORBA::Environment &ACE_TRY_ENV =
+ TAO_default_environment ()
+ )
+ ACE_THROW_SPEC ((CORBA::SystemException));
+
+ virtual CORBA::Any * result (
+ CORBA::Environment &ACE_TRY_ENV =
+ TAO_default_environment ()
+ )
+ ACE_THROW_SPEC ((CORBA::SystemException));
+
+ virtual char * target_most_derived_interface (
+ CORBA::Environment &ACE_TRY_ENV = TAO_default_environment ())
+ ACE_THROW_SPEC ((CORBA::SystemException));
+
+ virtual CORBA::Boolean target_is_a (
+ const char * id,
+ CORBA::Environment &ACE_TRY_ENV = TAO_default_environment ())
+ ACE_THROW_SPEC ((CORBA::SystemException));
+
+ private:
+ TAO_ServerRequestInfo_CORBA_ValueDef_is_abstract_get (const TAO_ServerRequestInfo_CORBA_ValueDef_is_abstract_get &);
+ void operator= (const TAO_ServerRequestInfo_CORBA_ValueDef_is_abstract_get &);
+
+ private:
+ POA_CORBA::ValueDef *_tao_impl;
+ void result (CORBA::Boolean result);
+ // update the result
+ CORBA::Boolean _result;
+ };
+
+ class TAO_ServerRequestInfo_CORBA_ValueDef_is_abstract_set : public TAO_ServerRequestInfo
+ {
+ public:
+ friend class POA_CORBA::ValueDef;
+ TAO_ServerRequestInfo_CORBA_ValueDef_is_abstract_set (
+ TAO_ServerRequest &_tao_server_request,
+ POA_CORBA::ValueDef *tao_impl,
+ const CORBA::Boolean & is_abstract,
+ CORBA::Environment &ACE_TRY_ENV =
+ TAO_default_environment ()
+ );
+
+ virtual Dynamic::ParameterList * arguments (
+ CORBA::Environment &ACE_TRY_ENV =
+ TAO_default_environment ()
+ )
+ ACE_THROW_SPEC ((CORBA::SystemException));
+
+ virtual Dynamic::ExceptionList * exceptions (
+ CORBA::Environment &ACE_TRY_ENV =
+ TAO_default_environment ()
+ )
+ ACE_THROW_SPEC ((CORBA::SystemException));
+
+ virtual CORBA::Any * result (
+ CORBA::Environment &ACE_TRY_ENV =
+ TAO_default_environment ()
+ )
+ ACE_THROW_SPEC ((CORBA::SystemException));
+
+ virtual char * target_most_derived_interface (
+ CORBA::Environment &ACE_TRY_ENV = TAO_default_environment ())
+ ACE_THROW_SPEC ((CORBA::SystemException));
+
+ virtual CORBA::Boolean target_is_a (
+ const char * id,
+ CORBA::Environment &ACE_TRY_ENV = TAO_default_environment ())
+ ACE_THROW_SPEC ((CORBA::SystemException));
+
+ private:
+ TAO_ServerRequestInfo_CORBA_ValueDef_is_abstract_set (const TAO_ServerRequestInfo_CORBA_ValueDef_is_abstract_set &);
+ void operator= (const TAO_ServerRequestInfo_CORBA_ValueDef_is_abstract_set &);
+
+ private:
+ POA_CORBA::ValueDef *_tao_impl;
+ const CORBA::Boolean & is_abstract_;
+
+ };
+
+ class TAO_ServerRequestInfo_CORBA_ValueDef_is_custom_get : public TAO_ServerRequestInfo
+ {
+ public:
+ friend class POA_CORBA::ValueDef;
+ TAO_ServerRequestInfo_CORBA_ValueDef_is_custom_get (
+ TAO_ServerRequest &_tao_server_request,
+ POA_CORBA::ValueDef *tao_impl,
+ CORBA::Environment &ACE_TRY_ENV =
+ TAO_default_environment ()
+ );
+
+ virtual Dynamic::ParameterList * arguments (
+ CORBA::Environment &ACE_TRY_ENV =
+ TAO_default_environment ()
+ )
+ ACE_THROW_SPEC ((CORBA::SystemException));
+
+ virtual Dynamic::ExceptionList * exceptions (
+ CORBA::Environment &ACE_TRY_ENV =
+ TAO_default_environment ()
+ )
+ ACE_THROW_SPEC ((CORBA::SystemException));
+
+ virtual CORBA::Any * result (
+ CORBA::Environment &ACE_TRY_ENV =
+ TAO_default_environment ()
+ )
+ ACE_THROW_SPEC ((CORBA::SystemException));
+
+ virtual char * target_most_derived_interface (
+ CORBA::Environment &ACE_TRY_ENV = TAO_default_environment ())
+ ACE_THROW_SPEC ((CORBA::SystemException));
+
+ virtual CORBA::Boolean target_is_a (
+ const char * id,
+ CORBA::Environment &ACE_TRY_ENV = TAO_default_environment ())
+ ACE_THROW_SPEC ((CORBA::SystemException));
+
+ private:
+ TAO_ServerRequestInfo_CORBA_ValueDef_is_custom_get (const TAO_ServerRequestInfo_CORBA_ValueDef_is_custom_get &);
+ void operator= (const TAO_ServerRequestInfo_CORBA_ValueDef_is_custom_get &);
+
+ private:
+ POA_CORBA::ValueDef *_tao_impl;
+ void result (CORBA::Boolean result);
+ // update the result
+ CORBA::Boolean _result;
+ };
+
+ class TAO_ServerRequestInfo_CORBA_ValueDef_is_custom_set : public TAO_ServerRequestInfo
+ {
+ public:
+ friend class POA_CORBA::ValueDef;
+ TAO_ServerRequestInfo_CORBA_ValueDef_is_custom_set (
+ TAO_ServerRequest &_tao_server_request,
+ POA_CORBA::ValueDef *tao_impl,
+ const CORBA::Boolean & is_custom,
+ CORBA::Environment &ACE_TRY_ENV =
+ TAO_default_environment ()
+ );
+
+ virtual Dynamic::ParameterList * arguments (
+ CORBA::Environment &ACE_TRY_ENV =
+ TAO_default_environment ()
+ )
+ ACE_THROW_SPEC ((CORBA::SystemException));
+
+ virtual Dynamic::ExceptionList * exceptions (
+ CORBA::Environment &ACE_TRY_ENV =
+ TAO_default_environment ()
+ )
+ ACE_THROW_SPEC ((CORBA::SystemException));
+
+ virtual CORBA::Any * result (
+ CORBA::Environment &ACE_TRY_ENV =
+ TAO_default_environment ()
+ )
+ ACE_THROW_SPEC ((CORBA::SystemException));
+
+ virtual char * target_most_derived_interface (
+ CORBA::Environment &ACE_TRY_ENV = TAO_default_environment ())
+ ACE_THROW_SPEC ((CORBA::SystemException));
+
+ virtual CORBA::Boolean target_is_a (
+ const char * id,
+ CORBA::Environment &ACE_TRY_ENV = TAO_default_environment ())
+ ACE_THROW_SPEC ((CORBA::SystemException));
+
+ private:
+ TAO_ServerRequestInfo_CORBA_ValueDef_is_custom_set (const TAO_ServerRequestInfo_CORBA_ValueDef_is_custom_set &);
+ void operator= (const TAO_ServerRequestInfo_CORBA_ValueDef_is_custom_set &);
+
+ private:
+ POA_CORBA::ValueDef *_tao_impl;
+ const CORBA::Boolean & is_custom_;
+
+ };
+
+ class TAO_ServerRequestInfo_CORBA_ValueDef_is_truncatable_get : public TAO_ServerRequestInfo
+ {
+ public:
+ friend class POA_CORBA::ValueDef;
+ TAO_ServerRequestInfo_CORBA_ValueDef_is_truncatable_get (
+ TAO_ServerRequest &_tao_server_request,
+ POA_CORBA::ValueDef *tao_impl,
+ CORBA::Environment &ACE_TRY_ENV =
+ TAO_default_environment ()
+ );
+
+ virtual Dynamic::ParameterList * arguments (
+ CORBA::Environment &ACE_TRY_ENV =
+ TAO_default_environment ()
+ )
+ ACE_THROW_SPEC ((CORBA::SystemException));
+
+ virtual Dynamic::ExceptionList * exceptions (
+ CORBA::Environment &ACE_TRY_ENV =
+ TAO_default_environment ()
+ )
+ ACE_THROW_SPEC ((CORBA::SystemException));
+
+ virtual CORBA::Any * result (
+ CORBA::Environment &ACE_TRY_ENV =
+ TAO_default_environment ()
+ )
+ ACE_THROW_SPEC ((CORBA::SystemException));
+
+ virtual char * target_most_derived_interface (
+ CORBA::Environment &ACE_TRY_ENV = TAO_default_environment ())
+ ACE_THROW_SPEC ((CORBA::SystemException));
+
+ virtual CORBA::Boolean target_is_a (
+ const char * id,
+ CORBA::Environment &ACE_TRY_ENV = TAO_default_environment ())
+ ACE_THROW_SPEC ((CORBA::SystemException));
+
+ private:
+ TAO_ServerRequestInfo_CORBA_ValueDef_is_truncatable_get (const TAO_ServerRequestInfo_CORBA_ValueDef_is_truncatable_get &);
+ void operator= (const TAO_ServerRequestInfo_CORBA_ValueDef_is_truncatable_get &);
+
+ private:
+ POA_CORBA::ValueDef *_tao_impl;
+ void result (CORBA::Boolean result);
+ // update the result
+ CORBA::Boolean _result;
+ };
+
+ class TAO_ServerRequestInfo_CORBA_ValueDef_is_truncatable_set : public TAO_ServerRequestInfo
+ {
+ public:
+ friend class POA_CORBA::ValueDef;
+ TAO_ServerRequestInfo_CORBA_ValueDef_is_truncatable_set (
+ TAO_ServerRequest &_tao_server_request,
+ POA_CORBA::ValueDef *tao_impl,
+ const CORBA::Boolean & is_truncatable,
+ CORBA::Environment &ACE_TRY_ENV =
+ TAO_default_environment ()
+ );
+
+ virtual Dynamic::ParameterList * arguments (
+ CORBA::Environment &ACE_TRY_ENV =
+ TAO_default_environment ()
+ )
+ ACE_THROW_SPEC ((CORBA::SystemException));
+
+ virtual Dynamic::ExceptionList * exceptions (
+ CORBA::Environment &ACE_TRY_ENV =
+ TAO_default_environment ()
+ )
+ ACE_THROW_SPEC ((CORBA::SystemException));
+
+ virtual CORBA::Any * result (
+ CORBA::Environment &ACE_TRY_ENV =
+ TAO_default_environment ()
+ )
+ ACE_THROW_SPEC ((CORBA::SystemException));
+
+ virtual char * target_most_derived_interface (
+ CORBA::Environment &ACE_TRY_ENV = TAO_default_environment ())
+ ACE_THROW_SPEC ((CORBA::SystemException));
+
+ virtual CORBA::Boolean target_is_a (
+ const char * id,
+ CORBA::Environment &ACE_TRY_ENV = TAO_default_environment ())
+ ACE_THROW_SPEC ((CORBA::SystemException));
+
+ private:
+ TAO_ServerRequestInfo_CORBA_ValueDef_is_truncatable_set (const TAO_ServerRequestInfo_CORBA_ValueDef_is_truncatable_set &);
+ void operator= (const TAO_ServerRequestInfo_CORBA_ValueDef_is_truncatable_set &);
+
+ private:
+ POA_CORBA::ValueDef *_tao_impl;
+ const CORBA::Boolean & is_truncatable_;
+
+ };
+
+ class TAO_ServerRequestInfo_CORBA_ValueDef_is_a : public TAO_ServerRequestInfo
+ {
+ public:
+ friend class POA_CORBA::ValueDef;
+ TAO_ServerRequestInfo_CORBA_ValueDef_is_a (
+ TAO_ServerRequest &_tao_server_request,
+ POA_CORBA::ValueDef *tao_impl,
+ const char * id,
+ CORBA::Environment &ACE_TRY_ENV =
+ TAO_default_environment ()
+ );
+
+ virtual Dynamic::ParameterList * arguments (
+ CORBA::Environment &ACE_TRY_ENV =
+ TAO_default_environment ()
+ )
+ ACE_THROW_SPEC ((CORBA::SystemException));
+
+ virtual Dynamic::ExceptionList * exceptions (
+ CORBA::Environment &ACE_TRY_ENV =
+ TAO_default_environment ()
+ )
+ ACE_THROW_SPEC ((CORBA::SystemException));
+
+ virtual CORBA::Any * result (
+ CORBA::Environment &ACE_TRY_ENV =
+ TAO_default_environment ()
+ )
+ ACE_THROW_SPEC ((CORBA::SystemException));
+
+ virtual char * target_most_derived_interface (
+ CORBA::Environment &ACE_TRY_ENV = TAO_default_environment ())
+ ACE_THROW_SPEC ((CORBA::SystemException));
+
+ virtual CORBA::Boolean target_is_a (
+ const char * id,
+ CORBA::Environment &ACE_TRY_ENV = TAO_default_environment ())
+ ACE_THROW_SPEC ((CORBA::SystemException));
+
+ private:
+ TAO_ServerRequestInfo_CORBA_ValueDef_is_a (const TAO_ServerRequestInfo_CORBA_ValueDef_is_a &);
+ void operator= (const TAO_ServerRequestInfo_CORBA_ValueDef_is_a &);
+
+ private:
+ POA_CORBA::ValueDef *_tao_impl;
+ const char * id_;
+ void result (CORBA::Boolean result);
+ // update the result
+ CORBA::Boolean _result;
+ };
+
+ class TAO_ServerRequestInfo_CORBA_ValueDef_describe_value : public TAO_ServerRequestInfo
+ {
+ public:
+ friend class POA_CORBA::ValueDef;
+ TAO_ServerRequestInfo_CORBA_ValueDef_describe_value (
+ TAO_ServerRequest &_tao_server_request,
+ POA_CORBA::ValueDef *tao_impl,
+ CORBA::Environment &ACE_TRY_ENV =
+ TAO_default_environment ()
+ );
+
+ virtual Dynamic::ParameterList * arguments (
+ CORBA::Environment &ACE_TRY_ENV =
+ TAO_default_environment ()
+ )
+ ACE_THROW_SPEC ((CORBA::SystemException));
+
+ virtual Dynamic::ExceptionList * exceptions (
+ CORBA::Environment &ACE_TRY_ENV =
+ TAO_default_environment ()
+ )
+ ACE_THROW_SPEC ((CORBA::SystemException));
+
+ virtual CORBA::Any * result (
+ CORBA::Environment &ACE_TRY_ENV =
+ TAO_default_environment ()
+ )
+ ACE_THROW_SPEC ((CORBA::SystemException));
+
+ virtual char * target_most_derived_interface (
+ CORBA::Environment &ACE_TRY_ENV = TAO_default_environment ())
+ ACE_THROW_SPEC ((CORBA::SystemException));
+
+ virtual CORBA::Boolean target_is_a (
+ const char * id,
+ CORBA::Environment &ACE_TRY_ENV = TAO_default_environment ())
+ ACE_THROW_SPEC ((CORBA::SystemException));
+
+ private:
+ TAO_ServerRequestInfo_CORBA_ValueDef_describe_value (const TAO_ServerRequestInfo_CORBA_ValueDef_describe_value &);
+ void operator= (const TAO_ServerRequestInfo_CORBA_ValueDef_describe_value &);
+
+ private:
+ POA_CORBA::ValueDef *_tao_impl;
+ void result (CORBA::ValueDef::FullValueDescription * result);
+ // update the result
+ CORBA::ValueDef::FullValueDescription * _result;
+ };
+
+ class TAO_ServerRequestInfo_CORBA_ValueDef_create_value_member : public TAO_ServerRequestInfo
+ {
+ public:
+ friend class POA_CORBA::ValueDef;
+ TAO_ServerRequestInfo_CORBA_ValueDef_create_value_member (
+ TAO_ServerRequest &_tao_server_request,
+ POA_CORBA::ValueDef *tao_impl,
+ const char * id,
+ const char * name,
+ const char * version,
+ CORBA::IDLType_ptr type,
+ const CORBA::Visibility & access,
+ CORBA::Environment &ACE_TRY_ENV =
+ TAO_default_environment ()
+ );
+
+ virtual Dynamic::ParameterList * arguments (
+ CORBA::Environment &ACE_TRY_ENV =
+ TAO_default_environment ()
+ )
+ ACE_THROW_SPEC ((CORBA::SystemException));
+
+ virtual Dynamic::ExceptionList * exceptions (
+ CORBA::Environment &ACE_TRY_ENV =
+ TAO_default_environment ()
+ )
+ ACE_THROW_SPEC ((CORBA::SystemException));
+
+ virtual CORBA::Any * result (
+ CORBA::Environment &ACE_TRY_ENV =
+ TAO_default_environment ()
+ )
+ ACE_THROW_SPEC ((CORBA::SystemException));
+
+ virtual char * target_most_derived_interface (
+ CORBA::Environment &ACE_TRY_ENV = TAO_default_environment ())
+ ACE_THROW_SPEC ((CORBA::SystemException));
+
+ virtual CORBA::Boolean target_is_a (
+ const char * id,
+ CORBA::Environment &ACE_TRY_ENV = TAO_default_environment ())
+ ACE_THROW_SPEC ((CORBA::SystemException));
+
+ private:
+ TAO_ServerRequestInfo_CORBA_ValueDef_create_value_member (const TAO_ServerRequestInfo_CORBA_ValueDef_create_value_member &);
+ void operator= (const TAO_ServerRequestInfo_CORBA_ValueDef_create_value_member &);
+
+ private:
+ POA_CORBA::ValueDef *_tao_impl;
+ const char * id_;
+ const char * name_;
+ const char * version_;
+ CORBA::IDLType_ptr type_;
+ const CORBA::Visibility & access_;
+ void result (CORBA::ValueMemberDef_ptr result);
+ // update the result
+ CORBA::ValueMemberDef_ptr _result;
+ };
+
+ class TAO_ServerRequestInfo_CORBA_ValueDef_create_attribute : public TAO_ServerRequestInfo
+ {
+ public:
+ friend class POA_CORBA::ValueDef;
+ TAO_ServerRequestInfo_CORBA_ValueDef_create_attribute (
+ TAO_ServerRequest &_tao_server_request,
+ POA_CORBA::ValueDef *tao_impl,
+ const char * id,
+ const char * name,
+ const char * version,
+ CORBA::IDLType_ptr type,
+ CORBA::AttributeMode & mode,
+ CORBA::Environment &ACE_TRY_ENV =
+ TAO_default_environment ()
+ );
+
+ virtual Dynamic::ParameterList * arguments (
+ CORBA::Environment &ACE_TRY_ENV =
+ TAO_default_environment ()
+ )
+ ACE_THROW_SPEC ((CORBA::SystemException));
+
+ virtual Dynamic::ExceptionList * exceptions (
+ CORBA::Environment &ACE_TRY_ENV =
+ TAO_default_environment ()
+ )
+ ACE_THROW_SPEC ((CORBA::SystemException));
+
+ virtual CORBA::Any * result (
+ CORBA::Environment &ACE_TRY_ENV =
+ TAO_default_environment ()
+ )
+ ACE_THROW_SPEC ((CORBA::SystemException));
+
+ virtual char * target_most_derived_interface (
+ CORBA::Environment &ACE_TRY_ENV = TAO_default_environment ())
+ ACE_THROW_SPEC ((CORBA::SystemException));
+
+ virtual CORBA::Boolean target_is_a (
+ const char * id,
+ CORBA::Environment &ACE_TRY_ENV = TAO_default_environment ())
+ ACE_THROW_SPEC ((CORBA::SystemException));
+
+ private:
+ TAO_ServerRequestInfo_CORBA_ValueDef_create_attribute (const TAO_ServerRequestInfo_CORBA_ValueDef_create_attribute &);
+ void operator= (const TAO_ServerRequestInfo_CORBA_ValueDef_create_attribute &);
+
+ private:
+ POA_CORBA::ValueDef *_tao_impl;
+ const char * id_;
+ const char * name_;
+ const char * version_;
+ CORBA::IDLType_ptr type_;
+ const CORBA::AttributeMode & mode_;
+ void result (CORBA::AttributeDef_ptr result);
+ // update the result
+ CORBA::AttributeDef_ptr _result;
+ };
+
+ class TAO_ServerRequestInfo_CORBA_ValueDef_create_operation : public TAO_ServerRequestInfo
+ {
+ public:
+ friend class POA_CORBA::ValueDef;
+ TAO_ServerRequestInfo_CORBA_ValueDef_create_operation (
+ TAO_ServerRequest &_tao_server_request,
+ POA_CORBA::ValueDef *tao_impl,
+ const char * id,
+ const char * name,
+ const char * version,
+ CORBA::IDLType_ptr result,
+ CORBA::OperationMode & mode,
+ const CORBA::ParDescriptionSeq & params,
+ const CORBA::ExceptionDefSeq & exceptions,
+ const CORBA::ContextIdSeq & contexts,
+ CORBA::Environment &ACE_TRY_ENV =
+ TAO_default_environment ()
+ );
+
+ virtual Dynamic::ParameterList * arguments (
+ CORBA::Environment &ACE_TRY_ENV =
+ TAO_default_environment ()
+ )
+ ACE_THROW_SPEC ((CORBA::SystemException));
+
+ virtual Dynamic::ExceptionList * exceptions (
+ CORBA::Environment &ACE_TRY_ENV =
+ TAO_default_environment ()
+ )
+ ACE_THROW_SPEC ((CORBA::SystemException));
+
+ virtual CORBA::Any * result (
+ CORBA::Environment &ACE_TRY_ENV =
+ TAO_default_environment ()
+ )
+ ACE_THROW_SPEC ((CORBA::SystemException));
+
+ virtual char * target_most_derived_interface (
+ CORBA::Environment &ACE_TRY_ENV = TAO_default_environment ())
+ ACE_THROW_SPEC ((CORBA::SystemException));
+
+ virtual CORBA::Boolean target_is_a (
+ const char * id,
+ CORBA::Environment &ACE_TRY_ENV = TAO_default_environment ())
+ ACE_THROW_SPEC ((CORBA::SystemException));
+
+ private:
+ TAO_ServerRequestInfo_CORBA_ValueDef_create_operation (const TAO_ServerRequestInfo_CORBA_ValueDef_create_operation &);
+ void operator= (const TAO_ServerRequestInfo_CORBA_ValueDef_create_operation &);
+
+ private:
+ POA_CORBA::ValueDef *_tao_impl;
+ const char * id_;
+ const char * name_;
+ const char * version_;
+ CORBA::IDLType_ptr result_;
+ const CORBA::OperationMode & mode_;
+ const CORBA::ParDescriptionSeq & params_;
+ const CORBA::ExceptionDefSeq & exceptions_;
+ const CORBA::ContextIdSeq & contexts_;
+ void result (CORBA::OperationDef_ptr result);
+ // update the result
+ CORBA::OperationDef_ptr _result;
+ };
+
+ #endif /* TAO_HAS_INTERCEPTORS */
+
+};
+
+
+///////////////////////////////////////////////////////////////////////
+// Strategized Proxy Broker Declaration
+//
+
+class _TAO_ValueDef_Strategized_Proxy_Broker : public virtual ::_TAO_ValueDef_Proxy_Broker
+{
+public:
+ _TAO_ValueDef_Strategized_Proxy_Broker (void);
+
+ virtual ~_TAO_ValueDef_Strategized_Proxy_Broker (void);
+
+ virtual ::_TAO_ValueDef_Proxy_Impl &select_proxy (
+ ::CORBA::ValueDef *object,
+ CORBA_Environment &ACE_TRY_ENV = TAO_default_environment ()
+ );
+
+private:
+
+// Helper methods that takes care to create the proxy
+// as soon as their use is necessary.
+ void create_proxy (
+ int strategy,
+ CORBA::Environment &ACE_TRY_ENV
+ );
+
+private:
+
+ // Caches the proxy implementations. The proxy implementation
+ // are totally stateless, and those can be shared by all the
+ // instances of a given IDL interface type.
+ ::_TAO_ValueDef_Proxy_Impl
+ *proxy_cache_[TAO_Collocation_Strategies::CS_LAST];
+
+ TAO_SYNCH_MUTEX mutex_;
+// This funxtion is used to get an handle to the unique instance
+// of the Strategized Proxy Broker that is available for a given
+// interface.
+
+public:
+ static _TAO_ValueDef_Strategized_Proxy_Broker *the_TAO_ValueDef_Strategized_Proxy_Broker (void);
+};
+
+
+//
+// End Strategized Proxy Broker Declaration
+///////////////////////////////////////////////////////////////////////
+
+
+///////////////////////////////////////////////////////////////////////
+// ThruPOA Impl. Declaration
+//
+
+class _TAO_ValueDef_ThruPOA_Proxy_Impl :
+ public virtual ::_TAO_ValueDef_Proxy_Impl,
+ public virtual TAO_ThruPOA_Object_Proxy_Impl,
+ public virtual ::POA_CORBA::_TAO_Container_ThruPOA_Proxy_Impl,
+ public virtual ::POA_CORBA::_TAO_Contained_ThruPOA_Proxy_Impl,
+ public virtual ::POA_CORBA::_TAO_IDLType_ThruPOA_Proxy_Impl
+
+{
+public:
+ _TAO_ValueDef_ThruPOA_Proxy_Impl (void);
+
+ virtual ~_TAO_ValueDef_ThruPOA_Proxy_Impl (void) { }
+
+ virtual CORBA::InterfaceDefSeq * supported_interfaces (
+ CORBA_Object *_collocated_tao_target_,
+ CORBA::Environment &ACE_TRY_ENV
+ )
+ ACE_THROW_SPEC ((
+ CORBA::SystemException
+ ));
+
+ virtual void supported_interfaces (
+ CORBA_Object *_collocated_tao_target_,
+ const CORBA::InterfaceDefSeq & supported_interfaces,
+ CORBA::Environment &ACE_TRY_ENV
+ )
+ ACE_THROW_SPEC ((
+ CORBA::SystemException
+ ));
+
+ virtual CORBA::InitializerSeq * initializers (
+ CORBA_Object *_collocated_tao_target_,
+ CORBA::Environment &ACE_TRY_ENV
+ )
+ ACE_THROW_SPEC ((
+ CORBA::SystemException
+ ));
+
+ virtual void initializers (
+ CORBA_Object *_collocated_tao_target_,
+ const CORBA::InitializerSeq & initializers,
+ CORBA::Environment &ACE_TRY_ENV
+ )
+ ACE_THROW_SPEC ((
+ CORBA::SystemException
+ ));
+
+ virtual CORBA::ValueDef_ptr base_value (
+ CORBA_Object *_collocated_tao_target_,
+ CORBA::Environment &ACE_TRY_ENV
+ )
+ ACE_THROW_SPEC ((
+ CORBA::SystemException
+ ));
+
+ virtual void base_value (
+ CORBA_Object *_collocated_tao_target_,
+ CORBA::ValueDef_ptr base_value,
+ CORBA::Environment &ACE_TRY_ENV
+ )
+ ACE_THROW_SPEC ((
+ CORBA::SystemException
+ ));
+
+ virtual CORBA::ValueDefSeq * abstract_base_values (
+ CORBA_Object *_collocated_tao_target_,
+ CORBA::Environment &ACE_TRY_ENV
+ )
+ ACE_THROW_SPEC ((
+ CORBA::SystemException
+ ));
+
+ virtual void abstract_base_values (
+ CORBA_Object *_collocated_tao_target_,
+ const CORBA::ValueDefSeq & abstract_base_values,
+ CORBA::Environment &ACE_TRY_ENV
+ )
+ ACE_THROW_SPEC ((
+ CORBA::SystemException
+ ));
+
+ virtual CORBA::Boolean is_abstract (
+ CORBA_Object *_collocated_tao_target_,
+ CORBA::Environment &ACE_TRY_ENV
+ )
+ ACE_THROW_SPEC ((
+ CORBA::SystemException
+ ));
+
+ virtual void is_abstract (
+ CORBA_Object *_collocated_tao_target_,
+ CORBA::Boolean is_abstract,
+ CORBA::Environment &ACE_TRY_ENV
+ )
+ ACE_THROW_SPEC ((
+ CORBA::SystemException
+ ));
+
+ virtual CORBA::Boolean is_custom (
+ CORBA_Object *_collocated_tao_target_,
+ CORBA::Environment &ACE_TRY_ENV
+ )
+ ACE_THROW_SPEC ((
+ CORBA::SystemException
+ ));
+
+ virtual void is_custom (
+ CORBA_Object *_collocated_tao_target_,
+ CORBA::Boolean is_custom,
+ CORBA::Environment &ACE_TRY_ENV
+ )
+ ACE_THROW_SPEC ((
+ CORBA::SystemException
+ ));
+
+ virtual CORBA::Boolean is_truncatable (
+ CORBA_Object *_collocated_tao_target_,
+ CORBA::Environment &ACE_TRY_ENV
+ )
+ ACE_THROW_SPEC ((
+ CORBA::SystemException
+ ));
+
+ virtual void is_truncatable (
+ CORBA_Object *_collocated_tao_target_,
+ CORBA::Boolean is_truncatable,
+ CORBA::Environment &ACE_TRY_ENV
+ )
+ ACE_THROW_SPEC ((
+ CORBA::SystemException
+ ));
+
+ virtual CORBA::Boolean is_a (
+ CORBA_Object *_collocated_tao_target_,
+ const char * id,
+ CORBA::Environment &ACE_TRY_ENV
+ )
+ ACE_THROW_SPEC ((
+ CORBA::SystemException
+ ));
+
+ virtual CORBA::ValueDef::FullValueDescription * describe_value (
+ CORBA_Object *_collocated_tao_target_,
+ CORBA::Environment &ACE_TRY_ENV
+ )
+ ACE_THROW_SPEC ((
+ CORBA::SystemException
+ ));
+
+ virtual CORBA::ValueMemberDef_ptr create_value_member (
+ CORBA_Object *_collocated_tao_target_,
+ const char * id,
+ const char * name,
+ const char * version,
+ CORBA::IDLType_ptr type,
+ CORBA::Visibility access,
+ CORBA::Environment &ACE_TRY_ENV
+ )
+ ACE_THROW_SPEC ((
+ CORBA::SystemException
+ ));
+
+ virtual CORBA::AttributeDef_ptr create_attribute (
+ CORBA_Object *_collocated_tao_target_,
+ const char * id,
+ const char * name,
+ const char * version,
+ CORBA::IDLType_ptr type,
+ CORBA::AttributeMode mode,
+ CORBA::Environment &ACE_TRY_ENV
+ )
+ ACE_THROW_SPEC ((
+ CORBA::SystemException
+ ));
+
+ virtual CORBA::OperationDef_ptr create_operation (
+ CORBA_Object *_collocated_tao_target_,
+ const char * id,
+ const char * name,
+ const char * version,
+ CORBA::IDLType_ptr result,
+ CORBA::OperationMode mode,
+ const CORBA::ParDescriptionSeq & params,
+ const CORBA::ExceptionDefSeq & exceptions,
+ const CORBA::ContextIdSeq & contexts,
+ CORBA::Environment &ACE_TRY_ENV
+ )
+ ACE_THROW_SPEC ((
+ CORBA::SystemException
+ ));
+
+};
+
+
+//
+// ThruPOA Proxy Impl. Declaration
+///////////////////////////////////////////////////////////////////////
+
+
+#if defined (ACE_HAS_USING_KEYWORD)
+// TIE class: Refer to CORBA v2.2, Section 20.34.4
+template <class T>
+class ValueDef_tie : public ValueDef
+{
+public:
+ ValueDef_tie (T &t);
+ // the T& ctor
+ ValueDef_tie (T &t, PortableServer::POA_ptr poa);
+ // ctor taking a POA
+ ValueDef_tie (T *tp, CORBA::Boolean release=1);
+ // ctor taking pointer and an ownership flag
+ ValueDef_tie (T *tp, PortableServer::POA_ptr poa, CORBA::Boolean release=1);
+ // ctor with T*, ownership flag and a POA
+ ~ValueDef_tie (void);
+ // dtor
+
+ // TIE specific functions
+ T *_tied_object (void);
+ // return the underlying object
+ void _tied_object (T &obj);
+ // set the underlying object
+ void _tied_object (T *obj, CORBA::Boolean release=1);
+ // set the underlying object and the ownership flag
+ CORBA::Boolean _is_owner (void);
+ // do we own it
+ void _is_owner (CORBA::Boolean b);
+ // set the ownership
+
+ // overridden ServantBase operations
+ PortableServer::POA_ptr _default_POA (
+ CORBA::Environment &ACE_TRY_ENV =
+ TAO_default_environment ()
+ );
+ CORBA::InterfaceDefSeq * supported_interfaces (
+ CORBA::Environment &ACE_TRY_ENV =
+ TAO_default_environment ()
+ )
+ ACE_THROW_SPEC ((
+ CORBA::SystemException
+ ));
+
+ void supported_interfaces (
+ const CORBA::InterfaceDefSeq & supported_interfaces,
+ CORBA::Environment &ACE_TRY_ENV =
+ TAO_default_environment ()
+ )
+ ACE_THROW_SPEC ((
+ CORBA::SystemException
+ ));
+
+ CORBA::InitializerSeq * initializers (
+ CORBA::Environment &ACE_TRY_ENV =
+ TAO_default_environment ()
+ )
+ ACE_THROW_SPEC ((
+ CORBA::SystemException
+ ));
+
+ void initializers (
+ const CORBA::InitializerSeq & initializers,
+ CORBA::Environment &ACE_TRY_ENV =
+ TAO_default_environment ()
+ )
+ ACE_THROW_SPEC ((
+ CORBA::SystemException
+ ));
+
+ CORBA::ValueDef_ptr base_value (
+ CORBA::Environment &ACE_TRY_ENV =
+ TAO_default_environment ()
+ )
+ ACE_THROW_SPEC ((
+ CORBA::SystemException
+ ));
+
+ void base_value (
+ CORBA::ValueDef_ptr base_value,
+ CORBA::Environment &ACE_TRY_ENV =
+ TAO_default_environment ()
+ )
+ ACE_THROW_SPEC ((
+ CORBA::SystemException
+ ));
+
+ CORBA::ValueDefSeq * abstract_base_values (
+ CORBA::Environment &ACE_TRY_ENV =
+ TAO_default_environment ()
+ )
+ ACE_THROW_SPEC ((
+ CORBA::SystemException
+ ));
+
+ void abstract_base_values (
+ const CORBA::ValueDefSeq & abstract_base_values,
+ CORBA::Environment &ACE_TRY_ENV =
+ TAO_default_environment ()
+ )
+ ACE_THROW_SPEC ((
+ CORBA::SystemException
+ ));
+
+ CORBA::Boolean is_abstract (
+ CORBA::Environment &ACE_TRY_ENV =
+ TAO_default_environment ()
+ )
+ ACE_THROW_SPEC ((
+ CORBA::SystemException
+ ));
+
+ void is_abstract (
+ CORBA::Boolean is_abstract,
+ CORBA::Environment &ACE_TRY_ENV =
+ TAO_default_environment ()
+ )
+ ACE_THROW_SPEC ((
+ CORBA::SystemException
+ ));
+
+ CORBA::Boolean is_custom (
+ CORBA::Environment &ACE_TRY_ENV =
+ TAO_default_environment ()
+ )
+ ACE_THROW_SPEC ((
+ CORBA::SystemException
+ ));
+
+ void is_custom (
+ CORBA::Boolean is_custom,
+ CORBA::Environment &ACE_TRY_ENV =
+ TAO_default_environment ()
+ )
+ ACE_THROW_SPEC ((
+ CORBA::SystemException
+ ));
+
+ CORBA::Boolean is_truncatable (
+ CORBA::Environment &ACE_TRY_ENV =
+ TAO_default_environment ()
+ )
+ ACE_THROW_SPEC ((
+ CORBA::SystemException
+ ));
+
+ void is_truncatable (
+ CORBA::Boolean is_truncatable,
+ CORBA::Environment &ACE_TRY_ENV =
+ TAO_default_environment ()
+ )
+ ACE_THROW_SPEC ((
+ CORBA::SystemException
+ ));
+
+ CORBA::Boolean is_a (
+ const char * id,
+ CORBA::Environment &ACE_TRY_ENV =
+ TAO_default_environment ()
+ )
+ ACE_THROW_SPEC ((
+ CORBA::SystemException
+ ));
+
+ CORBA::ValueDef::FullValueDescription * describe_value (
+ CORBA::Environment &ACE_TRY_ENV =
+ TAO_default_environment ()
+ )
+ ACE_THROW_SPEC ((
+ CORBA::SystemException
+ ));
+
+ CORBA::ValueMemberDef_ptr create_value_member (
+ const char * id,
+ const char * name,
+ const char * version,
+ CORBA::IDLType_ptr type,
+ CORBA::Visibility access,
+ CORBA::Environment &ACE_TRY_ENV =
+ TAO_default_environment ()
+ )
+ ACE_THROW_SPEC ((
+ CORBA::SystemException
+ ));
+
+ CORBA::AttributeDef_ptr create_attribute (
+ const char * id,
+ const char * name,
+ const char * version,
+ CORBA::IDLType_ptr type,
+ CORBA::AttributeMode mode,
+ CORBA::Environment &ACE_TRY_ENV =
+ TAO_default_environment ()
+ )
+ ACE_THROW_SPEC ((
+ CORBA::SystemException
+ ));
+
+ CORBA::OperationDef_ptr create_operation (
+ const char * id,
+ const char * name,
+ const char * version,
+ CORBA::IDLType_ptr result,
+ CORBA::OperationMode mode,
+ const CORBA::ParDescriptionSeq & params,
+ const CORBA::ExceptionDefSeq & exceptions,
+ const CORBA::ContextIdSeq & contexts,
+ CORBA::Environment &ACE_TRY_ENV =
+ TAO_default_environment ()
+ )
+ ACE_THROW_SPEC ((
+ CORBA::SystemException
+ ));
+
+ CORBA::Contained_ptr lookup (
+ const char * search_name,
+ CORBA::Environment &ACE_TRY_ENV =
+ TAO_default_environment ()
+ )
+ ACE_THROW_SPEC ((
+ CORBA::SystemException
+ ));
+
+ CORBA::ContainedSeq * contents (
+ CORBA::DefinitionKind limit_type,
+ CORBA::Boolean exclude_inherited,
+ CORBA::Environment &ACE_TRY_ENV =
+ TAO_default_environment ()
+ )
+ ACE_THROW_SPEC ((
+ CORBA::SystemException
+ ));
+
+ CORBA::ContainedSeq * lookup_name (
+ const char * search_name,
+ CORBA::Long levels_to_search,
+ CORBA::DefinitionKind limit_type,
+ CORBA::Boolean exclude_inherited,
+ CORBA::Environment &ACE_TRY_ENV =
+ TAO_default_environment ()
+ )
+ ACE_THROW_SPEC ((
+ CORBA::SystemException
+ ));
+
+ CORBA::Container::DescriptionSeq * describe_contents (
+ CORBA::DefinitionKind limit_type,
+ CORBA::Boolean exclude_inherited,
+ CORBA::Long max_returned_objs,
+ CORBA::Environment &ACE_TRY_ENV =
+ TAO_default_environment ()
+ )
+ ACE_THROW_SPEC ((
+ CORBA::SystemException
+ ));
+
+ CORBA::ModuleDef_ptr create_module (
+ const char * id,
+ const char * name,
+ const char * version,
+ CORBA::Environment &ACE_TRY_ENV =
+ TAO_default_environment ()
+ )
+ ACE_THROW_SPEC ((
+ CORBA::SystemException
+ ));
+
+ CORBA::ConstantDef_ptr create_constant (
+ const char * id,
+ const char * name,
+ const char * version,
+ CORBA::IDLType_ptr type,
+ const CORBA::Any & value,
+ CORBA::Environment &ACE_TRY_ENV =
+ TAO_default_environment ()
+ )
+ ACE_THROW_SPEC ((
+ CORBA::SystemException
+ ));
+
+ CORBA::StructDef_ptr create_struct (
+ const char * id,
+ const char * name,
+ const char * version,
+ const CORBA::StructMemberSeq & members,
+ CORBA::Environment &ACE_TRY_ENV =
+ TAO_default_environment ()
+ )
+ ACE_THROW_SPEC ((
+ CORBA::SystemException
+ ));
+
+ CORBA::UnionDef_ptr create_union (
+ const char * id,
+ const char * name,
+ const char * version,
+ CORBA::IDLType_ptr discriminator_type,
+ const CORBA::UnionMemberSeq & members,
+ CORBA::Environment &ACE_TRY_ENV =
+ TAO_default_environment ()
+ )
+ ACE_THROW_SPEC ((
+ CORBA::SystemException
+ ));
+
+ CORBA::EnumDef_ptr create_enum (
+ const char * id,
+ const char * name,
+ const char * version,
+ const CORBA::EnumMemberSeq & members,
+ CORBA::Environment &ACE_TRY_ENV =
+ TAO_default_environment ()
+ )
+ ACE_THROW_SPEC ((
+ CORBA::SystemException
+ ));
+
+ CORBA::AliasDef_ptr create_alias (
+ const char * id,
+ const char * name,
+ const char * version,
+ CORBA::IDLType_ptr original_type,
+ CORBA::Environment &ACE_TRY_ENV =
+ TAO_default_environment ()
+ )
+ ACE_THROW_SPEC ((
+ CORBA::SystemException
+ ));
+
+ CORBA::InterfaceDef_ptr create_interface (
+ const char * id,
+ const char * name,
+ const char * version,
+ const CORBA::InterfaceDefSeq & base_interfaces,
+ CORBA::Environment &ACE_TRY_ENV =
+ TAO_default_environment ()
+ )
+ ACE_THROW_SPEC ((
+ CORBA::SystemException
+ ));
+
+ CORBA::ValueDef_ptr create_value (
+ const char * id,
+ const char * name,
+ const char * version,
+ CORBA::Boolean is_custom,
+ CORBA::Boolean is_abstract,
+ CORBA::ValueDef_ptr base_value,
+ CORBA::Boolean is_truncatable,
+ const CORBA::ValueDefSeq & abstract_base_values,
+ const CORBA::InterfaceDefSeq & supported_interfaces,
+ const CORBA::InitializerSeq & initializers,
+ CORBA::Environment &ACE_TRY_ENV =
+ TAO_default_environment ()
+ )
+ ACE_THROW_SPEC ((
+ CORBA::SystemException
+ ));
+
+ CORBA::ValueBoxDef_ptr create_value_box (
+ const char * id,
+ const char * name,
+ const char * version,
+ CORBA::IDLType_ptr original_type_def,
+ CORBA::Environment &ACE_TRY_ENV =
+ TAO_default_environment ()
+ )
+ ACE_THROW_SPEC ((
+ CORBA::SystemException
+ ));
+
+ CORBA::ExceptionDef_ptr create_exception (
+ const char * id,
+ const char * name,
+ const char * version,
+ const CORBA::StructMemberSeq & members,
+ CORBA::Environment &ACE_TRY_ENV =
+ TAO_default_environment ()
+ )
+ ACE_THROW_SPEC ((
+ CORBA::SystemException
+ ));
+
+ CORBA::NativeDef_ptr create_native (
+ const char * id,
+ const char * name,
+ const char * version,
+ CORBA::Environment &ACE_TRY_ENV =
+ TAO_default_environment ()
+ )
+ ACE_THROW_SPEC ((
+ CORBA::SystemException
+ ));
+
+ CORBA::AbstractInterfaceDef_ptr create_abstract_interface (
+ const char * id,
+ const char * name,
+ const char * version,
+ const CORBA::AbstractInterfaceDefSeq & base_interfaces,
+ CORBA::Environment &ACE_TRY_ENV =
+ TAO_default_environment ()
+ )
+ ACE_THROW_SPEC ((
+ CORBA::SystemException
+ ));
+
+ CORBA::LocalInterfaceDef_ptr create_local_interface (
+ const char * id,
+ const char * name,
+ const char * version,
+ const CORBA::InterfaceDefSeq & base_interfaces,
+ CORBA::Environment &ACE_TRY_ENV =
+ TAO_default_environment ()
+ )
+ ACE_THROW_SPEC ((
+ CORBA::SystemException
+ ));
+
+ char * id (
+ CORBA::Environment &ACE_TRY_ENV =
+ TAO_default_environment ()
+ )
+ ACE_THROW_SPEC ((
+ CORBA::SystemException
+ ));
+
+ void id (
+ const char * id,
+ CORBA::Environment &ACE_TRY_ENV =
+ TAO_default_environment ()
+ )
+ ACE_THROW_SPEC ((
+ CORBA::SystemException
+ ));
+
+ char * name (
+ CORBA::Environment &ACE_TRY_ENV =
+ TAO_default_environment ()
+ )
+ ACE_THROW_SPEC ((
+ CORBA::SystemException
+ ));
+
+ void name (
+ const char * name,
+ CORBA::Environment &ACE_TRY_ENV =
+ TAO_default_environment ()
+ )
+ ACE_THROW_SPEC ((
+ CORBA::SystemException
+ ));
+
+ char * version (
+ CORBA::Environment &ACE_TRY_ENV =
+ TAO_default_environment ()
+ )
+ ACE_THROW_SPEC ((
+ CORBA::SystemException
+ ));
+
+ void version (
+ const char * version,
+ CORBA::Environment &ACE_TRY_ENV =
+ TAO_default_environment ()
+ )
+ ACE_THROW_SPEC ((
+ CORBA::SystemException
+ ));
+
+ CORBA::Container_ptr defined_in (
+ CORBA::Environment &ACE_TRY_ENV =
+ TAO_default_environment ()
+ )
+ ACE_THROW_SPEC ((
+ CORBA::SystemException
+ ));
+
+ char * absolute_name (
+ CORBA::Environment &ACE_TRY_ENV =
+ TAO_default_environment ()
+ )
+ ACE_THROW_SPEC ((
+ CORBA::SystemException
+ ));
+
+ CORBA::Repository_ptr containing_repository (
+ CORBA::Environment &ACE_TRY_ENV =
+ TAO_default_environment ()
+ )
+ ACE_THROW_SPEC ((
+ CORBA::SystemException
+ ));
+
+ CORBA::Contained::Description * describe (
+ CORBA::Environment &ACE_TRY_ENV =
+ TAO_default_environment ()
+ )
+ ACE_THROW_SPEC ((
+ CORBA::SystemException
+ ));
+
+ void move (
+ CORBA::Container_ptr new_container,
+ const char * new_name,
+ const char * new_version,
+ CORBA::Environment &ACE_TRY_ENV =
+ TAO_default_environment ()
+ )
+ ACE_THROW_SPEC ((
+ CORBA::SystemException
+ ));
+
+ CORBA::TypeCode_ptr type (
+ CORBA::Environment &ACE_TRY_ENV =
+ TAO_default_environment ()
+ )
+ ACE_THROW_SPEC ((
+ CORBA::SystemException
+ ));
+
+ CORBA::DefinitionKind def_kind (
+ CORBA::Environment &ACE_TRY_ENV =
+ TAO_default_environment ()
+ )
+ ACE_THROW_SPEC ((
+ CORBA::SystemException
+ ));
+
+ void destroy (
+ CORBA::Environment &ACE_TRY_ENV =
+ TAO_default_environment ()
+ )
+ ACE_THROW_SPEC ((
+ CORBA::SystemException
+ ));
+
+private:
+ T *ptr_;
+ PortableServer::POA_var poa_;
+ CORBA::Boolean rel_;
+
+ // copy and assignment are not allowed
+ ValueDef_tie (const ValueDef_tie &);
+ void operator= (const ValueDef_tie &);
+};
+
+#endif /* ACE_HAS_USING_KEYWORD */
+
+class ValueBoxDef;
+typedef ValueBoxDef *ValueBoxDef_ptr;
+// Forward Classes Declaration
+class _TAO_ValueBoxDef_ThruPOA_Proxy_Impl;
+class _TAO_ValueBoxDef_Strategized_Proxy_Broker;
+
+class ValueBoxDef : public virtual TypedefDef
+{
+protected:
+ ValueBoxDef (void);
+
+public:
+ ValueBoxDef (const ValueBoxDef& rhs);
+ virtual ~ValueBoxDef (void);
+
+
+ virtual CORBA::Boolean _is_a (
+ const char* logical_type_id,
+ CORBA::Environment &ACE_TRY_ENV =
+ TAO_default_environment ()
+ );
+
+ virtual void* _downcast (
+ const char* logical_type_id
+ );
+
+ static void _is_a_skel (
+ TAO_ServerRequest &req,
+ void *obj,
+ void *context,
+ CORBA::Environment &ACE_TRY_ENV =
+ TAO_default_environment ()
+ );
+
+ static void _non_existent_skel (
+ TAO_ServerRequest &req,
+ void *obj,
+ void *context,
+ CORBA::Environment &ACE_TRY_ENV =
+ TAO_default_environment ()
+ );
+
+ virtual void _dispatch (
+ TAO_ServerRequest &_tao_req,
+ void *_tao_context,
+ CORBA::Environment &ACE_TRY_ENV =
+ TAO_default_environment ()
+ );
+
+ ::CORBA::ValueBoxDef *_this (
+ CORBA::Environment &ACE_TRY_ENV =
+ TAO_default_environment ()
+ );
+
+ virtual const char* _interface_repository_id (void) const;
+
+ virtual CORBA::IDLType_ptr original_type_def (
+ CORBA::Environment &ACE_TRY_ENV =
+ TAO_default_environment ()
+ )
+ ACE_THROW_SPEC ((
+ CORBA::SystemException
+ )) = 0;
+
+ static void _get_original_type_def_skel (
+ TAO_ServerRequest &_tao_req,
+ void *_tao_obj,
+ void *_tao_context,
+ CORBA::Environment &ACE_TRY_ENV =
+ TAO_default_environment ()
+ );
+
+ virtual void original_type_def (
+ CORBA::IDLType_ptr original_type_def,
+ CORBA::Environment &ACE_TRY_ENV =
+ TAO_default_environment ()
+ )
+ ACE_THROW_SPEC ((
+ CORBA::SystemException
+ )) = 0;
+
+ static void _set_original_type_def_skel (
+ TAO_ServerRequest &_tao_req,
+ void *_tao_obj,
+ void *_tao_context,
+ CORBA::Environment &ACE_TRY_ENV =
+ TAO_default_environment ()
+ );
+
+ static void _get_id_skel (
+ TAO_ServerRequest &req,
+ void *obj,
+ void *context,
+ CORBA::Environment &ACE_TRY_ENV =
+ TAO_default_environment ()
+ );
+
+ static void _set_id_skel (
+ TAO_ServerRequest &req,
+ void *obj,
+ void *context,
+ CORBA::Environment &ACE_TRY_ENV =
+ TAO_default_environment ()
+ );
+
+ static void _get_name_skel (
+ TAO_ServerRequest &req,
+ void *obj,
+ void *context,
+ CORBA::Environment &ACE_TRY_ENV =
+ TAO_default_environment ()
+ );
+
+ static void _set_name_skel (
+ TAO_ServerRequest &req,
+ void *obj,
+ void *context,
+ CORBA::Environment &ACE_TRY_ENV =
+ TAO_default_environment ()
+ );
+
+ static void _get_version_skel (
+ TAO_ServerRequest &req,
+ void *obj,
+ void *context,
+ CORBA::Environment &ACE_TRY_ENV =
+ TAO_default_environment ()
+ );
+
+ static void _set_version_skel (
+ TAO_ServerRequest &req,
+ void *obj,
+ void *context,
+ CORBA::Environment &ACE_TRY_ENV =
+ TAO_default_environment ()
+ );
+
+ static void _get_defined_in_skel (
+ TAO_ServerRequest &req,
+ void *obj,
+ void *context,
+ CORBA::Environment &ACE_TRY_ENV =
+ TAO_default_environment ()
+ );
+
+ static void _get_absolute_name_skel (
+ TAO_ServerRequest &req,
+ void *obj,
+ void *context,
+ CORBA::Environment &ACE_TRY_ENV =
+ TAO_default_environment ()
+ );
+
+ static void _get_containing_repository_skel (
+ TAO_ServerRequest &req,
+ void *obj,
+ void *context,
+ CORBA::Environment &ACE_TRY_ENV =
+ TAO_default_environment ()
+ );
+
+ static void describe_skel (
+ TAO_ServerRequest &req,
+ void *obj,
+ void *context,
+ CORBA::Environment &ACE_TRY_ENV =
+ TAO_default_environment ()
+ );
+
+ static void move_skel (
+ TAO_ServerRequest &req,
+ void *obj,
+ void *context,
+ CORBA::Environment &ACE_TRY_ENV =
+ TAO_default_environment ()
+ );
+
+ static void _get_type_skel (
+ TAO_ServerRequest &req,
+ void *obj,
+ void *context,
+ CORBA::Environment &ACE_TRY_ENV =
+ TAO_default_environment ()
+ );
+
+ static void _get_def_kind_skel (
+ TAO_ServerRequest &req,
+ void *obj,
+ void *context,
+ CORBA::Environment &ACE_TRY_ENV =
+ TAO_default_environment ()
+ );
+
+ static void destroy_skel (
+ TAO_ServerRequest &req,
+ void *obj,
+ void *context,
+ CORBA::Environment &ACE_TRY_ENV =
+ TAO_default_environment ()
+ );
+
+
+#if (TAO_HAS_INTERCEPTORS == 1)
+ // Generation of interceptors related RequestInfo classes per operation.
+ // This needed to be able to store the arguments, exceptions, contexts
+ // and build the lists dynamically on demand so that unnecessary time overhead
+ // of building these lists when they arent used is avoided.
+ class TAO_ServerRequestInfo_CORBA_ValueBoxDef_original_type_def_get : public TAO_ServerRequestInfo
+ {
+ public:
+ friend class POA_CORBA::ValueBoxDef;
+ TAO_ServerRequestInfo_CORBA_ValueBoxDef_original_type_def_get (
+ TAO_ServerRequest &_tao_server_request,
+ POA_CORBA::ValueBoxDef *tao_impl,
+ CORBA::Environment &ACE_TRY_ENV =
+ TAO_default_environment ()
+ );
+
+ virtual Dynamic::ParameterList * arguments (
+ CORBA::Environment &ACE_TRY_ENV =
+ TAO_default_environment ()
+ )
+ ACE_THROW_SPEC ((CORBA::SystemException));
+
+ virtual Dynamic::ExceptionList * exceptions (
+ CORBA::Environment &ACE_TRY_ENV =
+ TAO_default_environment ()
+ )
+ ACE_THROW_SPEC ((CORBA::SystemException));
+
+ virtual CORBA::Any * result (
+ CORBA::Environment &ACE_TRY_ENV =
+ TAO_default_environment ()
+ )
+ ACE_THROW_SPEC ((CORBA::SystemException));
+
+ virtual char * target_most_derived_interface (
+ CORBA::Environment &ACE_TRY_ENV = TAO_default_environment ())
+ ACE_THROW_SPEC ((CORBA::SystemException));
+
+ virtual CORBA::Boolean target_is_a (
+ const char * id,
+ CORBA::Environment &ACE_TRY_ENV = TAO_default_environment ())
+ ACE_THROW_SPEC ((CORBA::SystemException));
+
+ private:
+ TAO_ServerRequestInfo_CORBA_ValueBoxDef_original_type_def_get (const TAO_ServerRequestInfo_CORBA_ValueBoxDef_original_type_def_get &);
+ void operator= (const TAO_ServerRequestInfo_CORBA_ValueBoxDef_original_type_def_get &);
+
+ private:
+ POA_CORBA::ValueBoxDef *_tao_impl;
+ void result (CORBA::IDLType_ptr result);
+ // update the result
+ CORBA::IDLType_ptr _result;
+ };
+
+ class TAO_ServerRequestInfo_CORBA_ValueBoxDef_original_type_def_set : public TAO_ServerRequestInfo
+ {
+ public:
+ friend class POA_CORBA::ValueBoxDef;
+ TAO_ServerRequestInfo_CORBA_ValueBoxDef_original_type_def_set (
+ TAO_ServerRequest &_tao_server_request,
+ POA_CORBA::ValueBoxDef *tao_impl,
+ CORBA::IDLType_ptr original_type_def,
+ CORBA::Environment &ACE_TRY_ENV =
+ TAO_default_environment ()
+ );
+
+ virtual Dynamic::ParameterList * arguments (
+ CORBA::Environment &ACE_TRY_ENV =
+ TAO_default_environment ()
+ )
+ ACE_THROW_SPEC ((CORBA::SystemException));
+
+ virtual Dynamic::ExceptionList * exceptions (
+ CORBA::Environment &ACE_TRY_ENV =
+ TAO_default_environment ()
+ )
+ ACE_THROW_SPEC ((CORBA::SystemException));
+
+ virtual CORBA::Any * result (
+ CORBA::Environment &ACE_TRY_ENV =
+ TAO_default_environment ()
+ )
+ ACE_THROW_SPEC ((CORBA::SystemException));
+
+ virtual char * target_most_derived_interface (
+ CORBA::Environment &ACE_TRY_ENV = TAO_default_environment ())
+ ACE_THROW_SPEC ((CORBA::SystemException));
+
+ virtual CORBA::Boolean target_is_a (
+ const char * id,
+ CORBA::Environment &ACE_TRY_ENV = TAO_default_environment ())
+ ACE_THROW_SPEC ((CORBA::SystemException));
+
+ private:
+ TAO_ServerRequestInfo_CORBA_ValueBoxDef_original_type_def_set (const TAO_ServerRequestInfo_CORBA_ValueBoxDef_original_type_def_set &);
+ void operator= (const TAO_ServerRequestInfo_CORBA_ValueBoxDef_original_type_def_set &);
+
+ private:
+ POA_CORBA::ValueBoxDef *_tao_impl;
+ CORBA::IDLType_ptr original_type_def_;
+
+ };
+
+ #endif /* TAO_HAS_INTERCEPTORS */
+
+};
+
+
+///////////////////////////////////////////////////////////////////////
+// Strategized Proxy Broker Declaration
+//
+
+class _TAO_ValueBoxDef_Strategized_Proxy_Broker : public virtual ::_TAO_ValueBoxDef_Proxy_Broker
+{
+public:
+ _TAO_ValueBoxDef_Strategized_Proxy_Broker (void);
+
+ virtual ~_TAO_ValueBoxDef_Strategized_Proxy_Broker (void);
+
+ virtual ::_TAO_ValueBoxDef_Proxy_Impl &select_proxy (
+ ::CORBA::ValueBoxDef *object,
+ CORBA_Environment &ACE_TRY_ENV = TAO_default_environment ()
+ );
+
+private:
+
+// Helper methods that takes care to create the proxy
+// as soon as their use is necessary.
+ void create_proxy (
+ int strategy,
+ CORBA::Environment &ACE_TRY_ENV
+ );
+
+private:
+
+ // Caches the proxy implementations. The proxy implementation
+ // are totally stateless, and those can be shared by all the
+ // instances of a given IDL interface type.
+ ::_TAO_ValueBoxDef_Proxy_Impl
+ *proxy_cache_[TAO_Collocation_Strategies::CS_LAST];
+
+ TAO_SYNCH_MUTEX mutex_;
+// This funxtion is used to get an handle to the unique instance
+// of the Strategized Proxy Broker that is available for a given
+// interface.
+
+public:
+ static _TAO_ValueBoxDef_Strategized_Proxy_Broker *the_TAO_ValueBoxDef_Strategized_Proxy_Broker (void);
+};
+
+
+//
+// End Strategized Proxy Broker Declaration
+///////////////////////////////////////////////////////////////////////
+
+
+///////////////////////////////////////////////////////////////////////
+// ThruPOA Impl. Declaration
+//
+
+class _TAO_ValueBoxDef_ThruPOA_Proxy_Impl :
+ public virtual ::_TAO_ValueBoxDef_Proxy_Impl,
+ public virtual TAO_ThruPOA_Object_Proxy_Impl,
+ public virtual ::POA_CORBA::_TAO_TypedefDef_ThruPOA_Proxy_Impl
+
+{
+public:
+ _TAO_ValueBoxDef_ThruPOA_Proxy_Impl (void);
+
+ virtual ~_TAO_ValueBoxDef_ThruPOA_Proxy_Impl (void) { }
+
+ virtual CORBA::IDLType_ptr original_type_def (
+ CORBA_Object *_collocated_tao_target_,
+ CORBA::Environment &ACE_TRY_ENV
+ )
+ ACE_THROW_SPEC ((
+ CORBA::SystemException
+ ));
+
+ virtual void original_type_def (
+ CORBA_Object *_collocated_tao_target_,
+ CORBA::IDLType_ptr original_type_def,
+ CORBA::Environment &ACE_TRY_ENV
+ )
+ ACE_THROW_SPEC ((
+ CORBA::SystemException
+ ));
+
+};
+
+
+//
+// ThruPOA Proxy Impl. Declaration
+///////////////////////////////////////////////////////////////////////
+
+
+#if defined (ACE_HAS_USING_KEYWORD)
+// TIE class: Refer to CORBA v2.2, Section 20.34.4
+template <class T>
+class ValueBoxDef_tie : public ValueBoxDef
+{
+public:
+ ValueBoxDef_tie (T &t);
+ // the T& ctor
+ ValueBoxDef_tie (T &t, PortableServer::POA_ptr poa);
+ // ctor taking a POA
+ ValueBoxDef_tie (T *tp, CORBA::Boolean release=1);
+ // ctor taking pointer and an ownership flag
+ ValueBoxDef_tie (T *tp, PortableServer::POA_ptr poa, CORBA::Boolean release=1);
+ // ctor with T*, ownership flag and a POA
+ ~ValueBoxDef_tie (void);
+ // dtor
+
+ // TIE specific functions
+ T *_tied_object (void);
+ // return the underlying object
+ void _tied_object (T &obj);
+ // set the underlying object
+ void _tied_object (T *obj, CORBA::Boolean release=1);
+ // set the underlying object and the ownership flag
+ CORBA::Boolean _is_owner (void);
+ // do we own it
+ void _is_owner (CORBA::Boolean b);
+ // set the ownership
+
+ // overridden ServantBase operations
+ PortableServer::POA_ptr _default_POA (
+ CORBA::Environment &ACE_TRY_ENV =
+ TAO_default_environment ()
+ );
+ CORBA::IDLType_ptr original_type_def (
+ CORBA::Environment &ACE_TRY_ENV =
+ TAO_default_environment ()
+ )
+ ACE_THROW_SPEC ((
+ CORBA::SystemException
+ ));
+
+ void original_type_def (
+ CORBA::IDLType_ptr original_type_def,
+ CORBA::Environment &ACE_TRY_ENV =
+ TAO_default_environment ()
+ )
+ ACE_THROW_SPEC ((
+ CORBA::SystemException
+ ));
+
+ char * id (
+ CORBA::Environment &ACE_TRY_ENV =
+ TAO_default_environment ()
+ )
+ ACE_THROW_SPEC ((
+ CORBA::SystemException
+ ));
+
+ void id (
+ const char * id,
+ CORBA::Environment &ACE_TRY_ENV =
+ TAO_default_environment ()
+ )
+ ACE_THROW_SPEC ((
+ CORBA::SystemException
+ ));
+
+ char * name (
+ CORBA::Environment &ACE_TRY_ENV =
+ TAO_default_environment ()
+ )
+ ACE_THROW_SPEC ((
+ CORBA::SystemException
+ ));
+
+ void name (
+ const char * name,
+ CORBA::Environment &ACE_TRY_ENV =
+ TAO_default_environment ()
+ )
+ ACE_THROW_SPEC ((
+ CORBA::SystemException
+ ));
+
+ char * version (
+ CORBA::Environment &ACE_TRY_ENV =
+ TAO_default_environment ()
+ )
+ ACE_THROW_SPEC ((
+ CORBA::SystemException
+ ));
+
+ void version (
+ const char * version,
+ CORBA::Environment &ACE_TRY_ENV =
+ TAO_default_environment ()
+ )
+ ACE_THROW_SPEC ((
+ CORBA::SystemException
+ ));
+
+ CORBA::Container_ptr defined_in (
+ CORBA::Environment &ACE_TRY_ENV =
+ TAO_default_environment ()
+ )
+ ACE_THROW_SPEC ((
+ CORBA::SystemException
+ ));
+
+ char * absolute_name (
+ CORBA::Environment &ACE_TRY_ENV =
+ TAO_default_environment ()
+ )
+ ACE_THROW_SPEC ((
+ CORBA::SystemException
+ ));
+
+ CORBA::Repository_ptr containing_repository (
+ CORBA::Environment &ACE_TRY_ENV =
+ TAO_default_environment ()
+ )
+ ACE_THROW_SPEC ((
+ CORBA::SystemException
+ ));
+
+ CORBA::Contained::Description * describe (
+ CORBA::Environment &ACE_TRY_ENV =
+ TAO_default_environment ()
+ )
+ ACE_THROW_SPEC ((
+ CORBA::SystemException
+ ));
+
+ void move (
+ CORBA::Container_ptr new_container,
+ const char * new_name,
+ const char * new_version,
+ CORBA::Environment &ACE_TRY_ENV =
+ TAO_default_environment ()
+ )
+ ACE_THROW_SPEC ((
+ CORBA::SystemException
+ ));
+
+ CORBA::TypeCode_ptr type (
+ CORBA::Environment &ACE_TRY_ENV =
+ TAO_default_environment ()
+ )
+ ACE_THROW_SPEC ((
+ CORBA::SystemException
+ ));
+
+ CORBA::DefinitionKind def_kind (
+ CORBA::Environment &ACE_TRY_ENV =
+ TAO_default_environment ()
+ )
+ ACE_THROW_SPEC ((
+ CORBA::SystemException
+ ));
+
+ void destroy (
+ CORBA::Environment &ACE_TRY_ENV =
+ TAO_default_environment ()
+ )
+ ACE_THROW_SPEC ((
+ CORBA::SystemException
+ ));
+
+private:
+ T *ptr_;
+ PortableServer::POA_var poa_;
+ CORBA::Boolean rel_;
+
+ // copy and assignment are not allowed
+ ValueBoxDef_tie (const ValueBoxDef_tie &);
+ void operator= (const ValueBoxDef_tie &);
+};
+
+#endif /* ACE_HAS_USING_KEYWORD */
+
+}
+TAO_NAMESPACE_CLOSE
+
+#include "IFR_ExtendedS_T.h"
+
+#if defined (__ACE_INLINE__)
+#include "IFR_ExtendedS.i"
+#endif /* defined INLINE */
+
+#if defined(_MSC_VER) && (_MSC_VER >= 1200)
+#pragma warning(pop)
+#endif /* _MSC_VER */
+
+#if defined (__BORLANDC__)
+#pragma option pop
+#endif /* __BORLANDC__ */
+
+#include "ace/post.h"
+#endif /* ifndef */
diff --git a/TAO/orbsvcs/IFR_Service/IFR_ExtendedS.i b/TAO/orbsvcs/IFR_Service/IFR_ExtendedS.i
new file mode 100644
index 00000000000..1bc11e85576
--- /dev/null
+++ b/TAO/orbsvcs/IFR_Service/IFR_ExtendedS.i
@@ -0,0 +1,936 @@
+// -*- C++ -*-
+//
+// $Id$
+
+// **** Code generated by the The ACE ORB (TAO) IDL Compiler ****
+// TAO and the TAO IDL Compiler have been developed by:
+// Center for Distributed Object Computing
+// Washington University
+// St. Louis, MO
+// USA
+// http://www.cs.wustl.edu/~schmidt/doc-center.html
+// and
+// Distributed Object Computing Laboratory
+// University of California at Irvine
+// Irvine, CA
+// USA
+// http://doc.ece.uci.edu/
+//
+// Information about TAO is available at:
+// http://www.cs.wustl.edu/~schmidt/TAO.html
+
+ACE_INLINE void POA_CORBA::FixedDef::_get_type_skel (
+ TAO_ServerRequest &req,
+ void *obj,
+ void *context,
+ CORBA::Environment &ACE_TRY_ENV
+ )
+{
+ POA_CORBA::IDLType_ptr impl = (POA_CORBA::FixedDef_ptr) obj;
+ POA_CORBA::IDLType::_get_type_skel (
+ req,
+ (POA_CORBA::IDLType_ptr) impl,
+ context,
+ ACE_TRY_ENV
+ );
+}
+ACE_INLINE void POA_CORBA::FixedDef::_get_def_kind_skel (
+ TAO_ServerRequest &req,
+ void *obj,
+ void *context,
+ CORBA::Environment &ACE_TRY_ENV
+ )
+{
+ POA_CORBA::IRObject_ptr impl = (POA_CORBA::FixedDef_ptr) obj;
+ POA_CORBA::IRObject::_get_def_kind_skel (
+ req,
+ (POA_CORBA::IRObject_ptr) impl,
+ context,
+ ACE_TRY_ENV
+ );
+}
+ACE_INLINE void POA_CORBA::FixedDef::destroy_skel (
+ TAO_ServerRequest &req,
+ void *obj,
+ void *context,
+ CORBA::Environment &ACE_TRY_ENV
+ )
+{
+ POA_CORBA::IRObject_ptr impl = (POA_CORBA::FixedDef_ptr) obj;
+ POA_CORBA::IRObject::destroy_skel (
+ req,
+ (POA_CORBA::IRObject_ptr) impl,
+ context,
+ ACE_TRY_ENV
+ );
+}
+ACE_INLINE void POA_CORBA::ValueMemberDef::_get_id_skel (
+ TAO_ServerRequest &req,
+ void *obj,
+ void *context,
+ CORBA::Environment &ACE_TRY_ENV
+ )
+{
+ POA_CORBA::Contained_ptr impl = (POA_CORBA::ValueMemberDef_ptr) obj;
+ POA_CORBA::Contained::_get_id_skel (
+ req,
+ (POA_CORBA::Contained_ptr) impl,
+ context,
+ ACE_TRY_ENV
+ );
+}
+ACE_INLINE void POA_CORBA::ValueMemberDef::_set_id_skel (
+ TAO_ServerRequest &req,
+ void *obj,
+ void *context,
+ CORBA::Environment &ACE_TRY_ENV
+ )
+{
+ POA_CORBA::Contained_ptr impl = (POA_CORBA::ValueMemberDef_ptr) obj;
+ POA_CORBA::Contained::_set_id_skel (
+ req,
+ (POA_CORBA::Contained_ptr) impl,
+ context,
+ ACE_TRY_ENV
+ );
+}
+ACE_INLINE void POA_CORBA::ValueMemberDef::_get_name_skel (
+ TAO_ServerRequest &req,
+ void *obj,
+ void *context,
+ CORBA::Environment &ACE_TRY_ENV
+ )
+{
+ POA_CORBA::Contained_ptr impl = (POA_CORBA::ValueMemberDef_ptr) obj;
+ POA_CORBA::Contained::_get_name_skel (
+ req,
+ (POA_CORBA::Contained_ptr) impl,
+ context,
+ ACE_TRY_ENV
+ );
+}
+ACE_INLINE void POA_CORBA::ValueMemberDef::_set_name_skel (
+ TAO_ServerRequest &req,
+ void *obj,
+ void *context,
+ CORBA::Environment &ACE_TRY_ENV
+ )
+{
+ POA_CORBA::Contained_ptr impl = (POA_CORBA::ValueMemberDef_ptr) obj;
+ POA_CORBA::Contained::_set_name_skel (
+ req,
+ (POA_CORBA::Contained_ptr) impl,
+ context,
+ ACE_TRY_ENV
+ );
+}
+ACE_INLINE void POA_CORBA::ValueMemberDef::_get_version_skel (
+ TAO_ServerRequest &req,
+ void *obj,
+ void *context,
+ CORBA::Environment &ACE_TRY_ENV
+ )
+{
+ POA_CORBA::Contained_ptr impl = (POA_CORBA::ValueMemberDef_ptr) obj;
+ POA_CORBA::Contained::_get_version_skel (
+ req,
+ (POA_CORBA::Contained_ptr) impl,
+ context,
+ ACE_TRY_ENV
+ );
+}
+ACE_INLINE void POA_CORBA::ValueMemberDef::_set_version_skel (
+ TAO_ServerRequest &req,
+ void *obj,
+ void *context,
+ CORBA::Environment &ACE_TRY_ENV
+ )
+{
+ POA_CORBA::Contained_ptr impl = (POA_CORBA::ValueMemberDef_ptr) obj;
+ POA_CORBA::Contained::_set_version_skel (
+ req,
+ (POA_CORBA::Contained_ptr) impl,
+ context,
+ ACE_TRY_ENV
+ );
+}
+ACE_INLINE void POA_CORBA::ValueMemberDef::_get_defined_in_skel (
+ TAO_ServerRequest &req,
+ void *obj,
+ void *context,
+ CORBA::Environment &ACE_TRY_ENV
+ )
+{
+ POA_CORBA::Contained_ptr impl = (POA_CORBA::ValueMemberDef_ptr) obj;
+ POA_CORBA::Contained::_get_defined_in_skel (
+ req,
+ (POA_CORBA::Contained_ptr) impl,
+ context,
+ ACE_TRY_ENV
+ );
+}
+ACE_INLINE void POA_CORBA::ValueMemberDef::_get_absolute_name_skel (
+ TAO_ServerRequest &req,
+ void *obj,
+ void *context,
+ CORBA::Environment &ACE_TRY_ENV
+ )
+{
+ POA_CORBA::Contained_ptr impl = (POA_CORBA::ValueMemberDef_ptr) obj;
+ POA_CORBA::Contained::_get_absolute_name_skel (
+ req,
+ (POA_CORBA::Contained_ptr) impl,
+ context,
+ ACE_TRY_ENV
+ );
+}
+ACE_INLINE void POA_CORBA::ValueMemberDef::_get_containing_repository_skel (
+ TAO_ServerRequest &req,
+ void *obj,
+ void *context,
+ CORBA::Environment &ACE_TRY_ENV
+ )
+{
+ POA_CORBA::Contained_ptr impl = (POA_CORBA::ValueMemberDef_ptr) obj;
+ POA_CORBA::Contained::_get_containing_repository_skel (
+ req,
+ (POA_CORBA::Contained_ptr) impl,
+ context,
+ ACE_TRY_ENV
+ );
+}
+ACE_INLINE void POA_CORBA::ValueMemberDef::describe_skel (
+ TAO_ServerRequest &req,
+ void *obj,
+ void *context,
+ CORBA::Environment &ACE_TRY_ENV
+ )
+{
+ POA_CORBA::Contained_ptr impl = (POA_CORBA::ValueMemberDef_ptr) obj;
+ POA_CORBA::Contained::describe_skel (
+ req,
+ (POA_CORBA::Contained_ptr) impl,
+ context,
+ ACE_TRY_ENV
+ );
+}
+ACE_INLINE void POA_CORBA::ValueMemberDef::move_skel (
+ TAO_ServerRequest &req,
+ void *obj,
+ void *context,
+ CORBA::Environment &ACE_TRY_ENV
+ )
+{
+ POA_CORBA::Contained_ptr impl = (POA_CORBA::ValueMemberDef_ptr) obj;
+ POA_CORBA::Contained::move_skel (
+ req,
+ (POA_CORBA::Contained_ptr) impl,
+ context,
+ ACE_TRY_ENV
+ );
+}
+ACE_INLINE void POA_CORBA::ValueMemberDef::_get_def_kind_skel (
+ TAO_ServerRequest &req,
+ void *obj,
+ void *context,
+ CORBA::Environment &ACE_TRY_ENV
+ )
+{
+ POA_CORBA::IRObject_ptr impl = (POA_CORBA::ValueMemberDef_ptr) obj;
+ POA_CORBA::IRObject::_get_def_kind_skel (
+ req,
+ (POA_CORBA::IRObject_ptr) impl,
+ context,
+ ACE_TRY_ENV
+ );
+}
+ACE_INLINE void POA_CORBA::ValueMemberDef::destroy_skel (
+ TAO_ServerRequest &req,
+ void *obj,
+ void *context,
+ CORBA::Environment &ACE_TRY_ENV
+ )
+{
+ POA_CORBA::IRObject_ptr impl = (POA_CORBA::ValueMemberDef_ptr) obj;
+ POA_CORBA::IRObject::destroy_skel (
+ req,
+ (POA_CORBA::IRObject_ptr) impl,
+ context,
+ ACE_TRY_ENV
+ );
+}
+ACE_INLINE void POA_CORBA::ValueDef::lookup_skel (
+ TAO_ServerRequest &req,
+ void *obj,
+ void *context,
+ CORBA::Environment &ACE_TRY_ENV
+ )
+{
+ POA_CORBA::Container_ptr impl = (POA_CORBA::ValueDef_ptr) obj;
+ POA_CORBA::Container::lookup_skel (
+ req,
+ (POA_CORBA::Container_ptr) impl,
+ context,
+ ACE_TRY_ENV
+ );
+}
+ACE_INLINE void POA_CORBA::ValueDef::contents_skel (
+ TAO_ServerRequest &req,
+ void *obj,
+ void *context,
+ CORBA::Environment &ACE_TRY_ENV
+ )
+{
+ POA_CORBA::Container_ptr impl = (POA_CORBA::ValueDef_ptr) obj;
+ POA_CORBA::Container::contents_skel (
+ req,
+ (POA_CORBA::Container_ptr) impl,
+ context,
+ ACE_TRY_ENV
+ );
+}
+ACE_INLINE void POA_CORBA::ValueDef::lookup_name_skel (
+ TAO_ServerRequest &req,
+ void *obj,
+ void *context,
+ CORBA::Environment &ACE_TRY_ENV
+ )
+{
+ POA_CORBA::Container_ptr impl = (POA_CORBA::ValueDef_ptr) obj;
+ POA_CORBA::Container::lookup_name_skel (
+ req,
+ (POA_CORBA::Container_ptr) impl,
+ context,
+ ACE_TRY_ENV
+ );
+}
+ACE_INLINE void POA_CORBA::ValueDef::describe_contents_skel (
+ TAO_ServerRequest &req,
+ void *obj,
+ void *context,
+ CORBA::Environment &ACE_TRY_ENV
+ )
+{
+ POA_CORBA::Container_ptr impl = (POA_CORBA::ValueDef_ptr) obj;
+ POA_CORBA::Container::describe_contents_skel (
+ req,
+ (POA_CORBA::Container_ptr) impl,
+ context,
+ ACE_TRY_ENV
+ );
+}
+ACE_INLINE void POA_CORBA::ValueDef::create_module_skel (
+ TAO_ServerRequest &req,
+ void *obj,
+ void *context,
+ CORBA::Environment &ACE_TRY_ENV
+ )
+{
+ POA_CORBA::Container_ptr impl = (POA_CORBA::ValueDef_ptr) obj;
+ POA_CORBA::Container::create_module_skel (
+ req,
+ (POA_CORBA::Container_ptr) impl,
+ context,
+ ACE_TRY_ENV
+ );
+}
+ACE_INLINE void POA_CORBA::ValueDef::create_constant_skel (
+ TAO_ServerRequest &req,
+ void *obj,
+ void *context,
+ CORBA::Environment &ACE_TRY_ENV
+ )
+{
+ POA_CORBA::Container_ptr impl = (POA_CORBA::ValueDef_ptr) obj;
+ POA_CORBA::Container::create_constant_skel (
+ req,
+ (POA_CORBA::Container_ptr) impl,
+ context,
+ ACE_TRY_ENV
+ );
+}
+ACE_INLINE void POA_CORBA::ValueDef::create_struct_skel (
+ TAO_ServerRequest &req,
+ void *obj,
+ void *context,
+ CORBA::Environment &ACE_TRY_ENV
+ )
+{
+ POA_CORBA::Container_ptr impl = (POA_CORBA::ValueDef_ptr) obj;
+ POA_CORBA::Container::create_struct_skel (
+ req,
+ (POA_CORBA::Container_ptr) impl,
+ context,
+ ACE_TRY_ENV
+ );
+}
+ACE_INLINE void POA_CORBA::ValueDef::create_union_skel (
+ TAO_ServerRequest &req,
+ void *obj,
+ void *context,
+ CORBA::Environment &ACE_TRY_ENV
+ )
+{
+ POA_CORBA::Container_ptr impl = (POA_CORBA::ValueDef_ptr) obj;
+ POA_CORBA::Container::create_union_skel (
+ req,
+ (POA_CORBA::Container_ptr) impl,
+ context,
+ ACE_TRY_ENV
+ );
+}
+ACE_INLINE void POA_CORBA::ValueDef::create_enum_skel (
+ TAO_ServerRequest &req,
+ void *obj,
+ void *context,
+ CORBA::Environment &ACE_TRY_ENV
+ )
+{
+ POA_CORBA::Container_ptr impl = (POA_CORBA::ValueDef_ptr) obj;
+ POA_CORBA::Container::create_enum_skel (
+ req,
+ (POA_CORBA::Container_ptr) impl,
+ context,
+ ACE_TRY_ENV
+ );
+}
+ACE_INLINE void POA_CORBA::ValueDef::create_alias_skel (
+ TAO_ServerRequest &req,
+ void *obj,
+ void *context,
+ CORBA::Environment &ACE_TRY_ENV
+ )
+{
+ POA_CORBA::Container_ptr impl = (POA_CORBA::ValueDef_ptr) obj;
+ POA_CORBA::Container::create_alias_skel (
+ req,
+ (POA_CORBA::Container_ptr) impl,
+ context,
+ ACE_TRY_ENV
+ );
+}
+ACE_INLINE void POA_CORBA::ValueDef::create_interface_skel (
+ TAO_ServerRequest &req,
+ void *obj,
+ void *context,
+ CORBA::Environment &ACE_TRY_ENV
+ )
+{
+ POA_CORBA::Container_ptr impl = (POA_CORBA::ValueDef_ptr) obj;
+ POA_CORBA::Container::create_interface_skel (
+ req,
+ (POA_CORBA::Container_ptr) impl,
+ context,
+ ACE_TRY_ENV
+ );
+}
+ACE_INLINE void POA_CORBA::ValueDef::create_value_skel (
+ TAO_ServerRequest &req,
+ void *obj,
+ void *context,
+ CORBA::Environment &ACE_TRY_ENV
+ )
+{
+ POA_CORBA::Container_ptr impl = (POA_CORBA::ValueDef_ptr) obj;
+ POA_CORBA::Container::create_value_skel (
+ req,
+ (POA_CORBA::Container_ptr) impl,
+ context,
+ ACE_TRY_ENV
+ );
+}
+ACE_INLINE void POA_CORBA::ValueDef::create_value_box_skel (
+ TAO_ServerRequest &req,
+ void *obj,
+ void *context,
+ CORBA::Environment &ACE_TRY_ENV
+ )
+{
+ POA_CORBA::Container_ptr impl = (POA_CORBA::ValueDef_ptr) obj;
+ POA_CORBA::Container::create_value_box_skel (
+ req,
+ (POA_CORBA::Container_ptr) impl,
+ context,
+ ACE_TRY_ENV
+ );
+}
+ACE_INLINE void POA_CORBA::ValueDef::create_exception_skel (
+ TAO_ServerRequest &req,
+ void *obj,
+ void *context,
+ CORBA::Environment &ACE_TRY_ENV
+ )
+{
+ POA_CORBA::Container_ptr impl = (POA_CORBA::ValueDef_ptr) obj;
+ POA_CORBA::Container::create_exception_skel (
+ req,
+ (POA_CORBA::Container_ptr) impl,
+ context,
+ ACE_TRY_ENV
+ );
+}
+ACE_INLINE void POA_CORBA::ValueDef::create_native_skel (
+ TAO_ServerRequest &req,
+ void *obj,
+ void *context,
+ CORBA::Environment &ACE_TRY_ENV
+ )
+{
+ POA_CORBA::Container_ptr impl = (POA_CORBA::ValueDef_ptr) obj;
+ POA_CORBA::Container::create_native_skel (
+ req,
+ (POA_CORBA::Container_ptr) impl,
+ context,
+ ACE_TRY_ENV
+ );
+}
+ACE_INLINE void POA_CORBA::ValueDef::create_abstract_interface_skel (
+ TAO_ServerRequest &req,
+ void *obj,
+ void *context,
+ CORBA::Environment &ACE_TRY_ENV
+ )
+{
+ POA_CORBA::Container_ptr impl = (POA_CORBA::ValueDef_ptr) obj;
+ POA_CORBA::Container::create_abstract_interface_skel (
+ req,
+ (POA_CORBA::Container_ptr) impl,
+ context,
+ ACE_TRY_ENV
+ );
+}
+ACE_INLINE void POA_CORBA::ValueDef::create_local_interface_skel (
+ TAO_ServerRequest &req,
+ void *obj,
+ void *context,
+ CORBA::Environment &ACE_TRY_ENV
+ )
+{
+ POA_CORBA::Container_ptr impl = (POA_CORBA::ValueDef_ptr) obj;
+ POA_CORBA::Container::create_local_interface_skel (
+ req,
+ (POA_CORBA::Container_ptr) impl,
+ context,
+ ACE_TRY_ENV
+ );
+}
+ACE_INLINE void POA_CORBA::ValueDef::_get_id_skel (
+ TAO_ServerRequest &req,
+ void *obj,
+ void *context,
+ CORBA::Environment &ACE_TRY_ENV
+ )
+{
+ POA_CORBA::Contained_ptr impl = (POA_CORBA::ValueDef_ptr) obj;
+ POA_CORBA::Contained::_get_id_skel (
+ req,
+ (POA_CORBA::Contained_ptr) impl,
+ context,
+ ACE_TRY_ENV
+ );
+}
+ACE_INLINE void POA_CORBA::ValueDef::_set_id_skel (
+ TAO_ServerRequest &req,
+ void *obj,
+ void *context,
+ CORBA::Environment &ACE_TRY_ENV
+ )
+{
+ POA_CORBA::Contained_ptr impl = (POA_CORBA::ValueDef_ptr) obj;
+ POA_CORBA::Contained::_set_id_skel (
+ req,
+ (POA_CORBA::Contained_ptr) impl,
+ context,
+ ACE_TRY_ENV
+ );
+}
+ACE_INLINE void POA_CORBA::ValueDef::_get_name_skel (
+ TAO_ServerRequest &req,
+ void *obj,
+ void *context,
+ CORBA::Environment &ACE_TRY_ENV
+ )
+{
+ POA_CORBA::Contained_ptr impl = (POA_CORBA::ValueDef_ptr) obj;
+ POA_CORBA::Contained::_get_name_skel (
+ req,
+ (POA_CORBA::Contained_ptr) impl,
+ context,
+ ACE_TRY_ENV
+ );
+}
+ACE_INLINE void POA_CORBA::ValueDef::_set_name_skel (
+ TAO_ServerRequest &req,
+ void *obj,
+ void *context,
+ CORBA::Environment &ACE_TRY_ENV
+ )
+{
+ POA_CORBA::Contained_ptr impl = (POA_CORBA::ValueDef_ptr) obj;
+ POA_CORBA::Contained::_set_name_skel (
+ req,
+ (POA_CORBA::Contained_ptr) impl,
+ context,
+ ACE_TRY_ENV
+ );
+}
+ACE_INLINE void POA_CORBA::ValueDef::_get_version_skel (
+ TAO_ServerRequest &req,
+ void *obj,
+ void *context,
+ CORBA::Environment &ACE_TRY_ENV
+ )
+{
+ POA_CORBA::Contained_ptr impl = (POA_CORBA::ValueDef_ptr) obj;
+ POA_CORBA::Contained::_get_version_skel (
+ req,
+ (POA_CORBA::Contained_ptr) impl,
+ context,
+ ACE_TRY_ENV
+ );
+}
+ACE_INLINE void POA_CORBA::ValueDef::_set_version_skel (
+ TAO_ServerRequest &req,
+ void *obj,
+ void *context,
+ CORBA::Environment &ACE_TRY_ENV
+ )
+{
+ POA_CORBA::Contained_ptr impl = (POA_CORBA::ValueDef_ptr) obj;
+ POA_CORBA::Contained::_set_version_skel (
+ req,
+ (POA_CORBA::Contained_ptr) impl,
+ context,
+ ACE_TRY_ENV
+ );
+}
+ACE_INLINE void POA_CORBA::ValueDef::_get_defined_in_skel (
+ TAO_ServerRequest &req,
+ void *obj,
+ void *context,
+ CORBA::Environment &ACE_TRY_ENV
+ )
+{
+ POA_CORBA::Contained_ptr impl = (POA_CORBA::ValueDef_ptr) obj;
+ POA_CORBA::Contained::_get_defined_in_skel (
+ req,
+ (POA_CORBA::Contained_ptr) impl,
+ context,
+ ACE_TRY_ENV
+ );
+}
+ACE_INLINE void POA_CORBA::ValueDef::_get_absolute_name_skel (
+ TAO_ServerRequest &req,
+ void *obj,
+ void *context,
+ CORBA::Environment &ACE_TRY_ENV
+ )
+{
+ POA_CORBA::Contained_ptr impl = (POA_CORBA::ValueDef_ptr) obj;
+ POA_CORBA::Contained::_get_absolute_name_skel (
+ req,
+ (POA_CORBA::Contained_ptr) impl,
+ context,
+ ACE_TRY_ENV
+ );
+}
+ACE_INLINE void POA_CORBA::ValueDef::_get_containing_repository_skel (
+ TAO_ServerRequest &req,
+ void *obj,
+ void *context,
+ CORBA::Environment &ACE_TRY_ENV
+ )
+{
+ POA_CORBA::Contained_ptr impl = (POA_CORBA::ValueDef_ptr) obj;
+ POA_CORBA::Contained::_get_containing_repository_skel (
+ req,
+ (POA_CORBA::Contained_ptr) impl,
+ context,
+ ACE_TRY_ENV
+ );
+}
+ACE_INLINE void POA_CORBA::ValueDef::describe_skel (
+ TAO_ServerRequest &req,
+ void *obj,
+ void *context,
+ CORBA::Environment &ACE_TRY_ENV
+ )
+{
+ POA_CORBA::Contained_ptr impl = (POA_CORBA::ValueDef_ptr) obj;
+ POA_CORBA::Contained::describe_skel (
+ req,
+ (POA_CORBA::Contained_ptr) impl,
+ context,
+ ACE_TRY_ENV
+ );
+}
+ACE_INLINE void POA_CORBA::ValueDef::move_skel (
+ TAO_ServerRequest &req,
+ void *obj,
+ void *context,
+ CORBA::Environment &ACE_TRY_ENV
+ )
+{
+ POA_CORBA::Contained_ptr impl = (POA_CORBA::ValueDef_ptr) obj;
+ POA_CORBA::Contained::move_skel (
+ req,
+ (POA_CORBA::Contained_ptr) impl,
+ context,
+ ACE_TRY_ENV
+ );
+}
+ACE_INLINE void POA_CORBA::ValueDef::_get_type_skel (
+ TAO_ServerRequest &req,
+ void *obj,
+ void *context,
+ CORBA::Environment &ACE_TRY_ENV
+ )
+{
+ POA_CORBA::IDLType_ptr impl = (POA_CORBA::ValueDef_ptr) obj;
+ POA_CORBA::IDLType::_get_type_skel (
+ req,
+ (POA_CORBA::IDLType_ptr) impl,
+ context,
+ ACE_TRY_ENV
+ );
+}
+ACE_INLINE void POA_CORBA::ValueDef::_get_def_kind_skel (
+ TAO_ServerRequest &req,
+ void *obj,
+ void *context,
+ CORBA::Environment &ACE_TRY_ENV
+ )
+{
+ POA_CORBA::IRObject_ptr impl = (POA_CORBA::ValueDef_ptr) obj;
+ POA_CORBA::IRObject::_get_def_kind_skel (
+ req,
+ (POA_CORBA::IRObject_ptr) impl,
+ context,
+ ACE_TRY_ENV
+ );
+}
+ACE_INLINE void POA_CORBA::ValueDef::destroy_skel (
+ TAO_ServerRequest &req,
+ void *obj,
+ void *context,
+ CORBA::Environment &ACE_TRY_ENV
+ )
+{
+ POA_CORBA::IRObject_ptr impl = (POA_CORBA::ValueDef_ptr) obj;
+ POA_CORBA::IRObject::destroy_skel (
+ req,
+ (POA_CORBA::IRObject_ptr) impl,
+ context,
+ ACE_TRY_ENV
+ );
+}
+ACE_INLINE void POA_CORBA::ValueBoxDef::_get_id_skel (
+ TAO_ServerRequest &req,
+ void *obj,
+ void *context,
+ CORBA::Environment &ACE_TRY_ENV
+ )
+{
+ POA_CORBA::Contained_ptr impl = (POA_CORBA::ValueBoxDef_ptr) obj;
+ POA_CORBA::Contained::_get_id_skel (
+ req,
+ (POA_CORBA::Contained_ptr) impl,
+ context,
+ ACE_TRY_ENV
+ );
+}
+ACE_INLINE void POA_CORBA::ValueBoxDef::_set_id_skel (
+ TAO_ServerRequest &req,
+ void *obj,
+ void *context,
+ CORBA::Environment &ACE_TRY_ENV
+ )
+{
+ POA_CORBA::Contained_ptr impl = (POA_CORBA::ValueBoxDef_ptr) obj;
+ POA_CORBA::Contained::_set_id_skel (
+ req,
+ (POA_CORBA::Contained_ptr) impl,
+ context,
+ ACE_TRY_ENV
+ );
+}
+ACE_INLINE void POA_CORBA::ValueBoxDef::_get_name_skel (
+ TAO_ServerRequest &req,
+ void *obj,
+ void *context,
+ CORBA::Environment &ACE_TRY_ENV
+ )
+{
+ POA_CORBA::Contained_ptr impl = (POA_CORBA::ValueBoxDef_ptr) obj;
+ POA_CORBA::Contained::_get_name_skel (
+ req,
+ (POA_CORBA::Contained_ptr) impl,
+ context,
+ ACE_TRY_ENV
+ );
+}
+ACE_INLINE void POA_CORBA::ValueBoxDef::_set_name_skel (
+ TAO_ServerRequest &req,
+ void *obj,
+ void *context,
+ CORBA::Environment &ACE_TRY_ENV
+ )
+{
+ POA_CORBA::Contained_ptr impl = (POA_CORBA::ValueBoxDef_ptr) obj;
+ POA_CORBA::Contained::_set_name_skel (
+ req,
+ (POA_CORBA::Contained_ptr) impl,
+ context,
+ ACE_TRY_ENV
+ );
+}
+ACE_INLINE void POA_CORBA::ValueBoxDef::_get_version_skel (
+ TAO_ServerRequest &req,
+ void *obj,
+ void *context,
+ CORBA::Environment &ACE_TRY_ENV
+ )
+{
+ POA_CORBA::Contained_ptr impl = (POA_CORBA::ValueBoxDef_ptr) obj;
+ POA_CORBA::Contained::_get_version_skel (
+ req,
+ (POA_CORBA::Contained_ptr) impl,
+ context,
+ ACE_TRY_ENV
+ );
+}
+ACE_INLINE void POA_CORBA::ValueBoxDef::_set_version_skel (
+ TAO_ServerRequest &req,
+ void *obj,
+ void *context,
+ CORBA::Environment &ACE_TRY_ENV
+ )
+{
+ POA_CORBA::Contained_ptr impl = (POA_CORBA::ValueBoxDef_ptr) obj;
+ POA_CORBA::Contained::_set_version_skel (
+ req,
+ (POA_CORBA::Contained_ptr) impl,
+ context,
+ ACE_TRY_ENV
+ );
+}
+ACE_INLINE void POA_CORBA::ValueBoxDef::_get_defined_in_skel (
+ TAO_ServerRequest &req,
+ void *obj,
+ void *context,
+ CORBA::Environment &ACE_TRY_ENV
+ )
+{
+ POA_CORBA::Contained_ptr impl = (POA_CORBA::ValueBoxDef_ptr) obj;
+ POA_CORBA::Contained::_get_defined_in_skel (
+ req,
+ (POA_CORBA::Contained_ptr) impl,
+ context,
+ ACE_TRY_ENV
+ );
+}
+ACE_INLINE void POA_CORBA::ValueBoxDef::_get_absolute_name_skel (
+ TAO_ServerRequest &req,
+ void *obj,
+ void *context,
+ CORBA::Environment &ACE_TRY_ENV
+ )
+{
+ POA_CORBA::Contained_ptr impl = (POA_CORBA::ValueBoxDef_ptr) obj;
+ POA_CORBA::Contained::_get_absolute_name_skel (
+ req,
+ (POA_CORBA::Contained_ptr) impl,
+ context,
+ ACE_TRY_ENV
+ );
+}
+ACE_INLINE void POA_CORBA::ValueBoxDef::_get_containing_repository_skel (
+ TAO_ServerRequest &req,
+ void *obj,
+ void *context,
+ CORBA::Environment &ACE_TRY_ENV
+ )
+{
+ POA_CORBA::Contained_ptr impl = (POA_CORBA::ValueBoxDef_ptr) obj;
+ POA_CORBA::Contained::_get_containing_repository_skel (
+ req,
+ (POA_CORBA::Contained_ptr) impl,
+ context,
+ ACE_TRY_ENV
+ );
+}
+ACE_INLINE void POA_CORBA::ValueBoxDef::describe_skel (
+ TAO_ServerRequest &req,
+ void *obj,
+ void *context,
+ CORBA::Environment &ACE_TRY_ENV
+ )
+{
+ POA_CORBA::Contained_ptr impl = (POA_CORBA::ValueBoxDef_ptr) obj;
+ POA_CORBA::Contained::describe_skel (
+ req,
+ (POA_CORBA::Contained_ptr) impl,
+ context,
+ ACE_TRY_ENV
+ );
+}
+ACE_INLINE void POA_CORBA::ValueBoxDef::move_skel (
+ TAO_ServerRequest &req,
+ void *obj,
+ void *context,
+ CORBA::Environment &ACE_TRY_ENV
+ )
+{
+ POA_CORBA::Contained_ptr impl = (POA_CORBA::ValueBoxDef_ptr) obj;
+ POA_CORBA::Contained::move_skel (
+ req,
+ (POA_CORBA::Contained_ptr) impl,
+ context,
+ ACE_TRY_ENV
+ );
+}
+ACE_INLINE void POA_CORBA::ValueBoxDef::_get_type_skel (
+ TAO_ServerRequest &req,
+ void *obj,
+ void *context,
+ CORBA::Environment &ACE_TRY_ENV
+ )
+{
+ POA_CORBA::IDLType_ptr impl = (POA_CORBA::ValueBoxDef_ptr) obj;
+ POA_CORBA::IDLType::_get_type_skel (
+ req,
+ (POA_CORBA::IDLType_ptr) impl,
+ context,
+ ACE_TRY_ENV
+ );
+}
+ACE_INLINE void POA_CORBA::ValueBoxDef::_get_def_kind_skel (
+ TAO_ServerRequest &req,
+ void *obj,
+ void *context,
+ CORBA::Environment &ACE_TRY_ENV
+ )
+{
+ POA_CORBA::IRObject_ptr impl = (POA_CORBA::ValueBoxDef_ptr) obj;
+ POA_CORBA::IRObject::_get_def_kind_skel (
+ req,
+ (POA_CORBA::IRObject_ptr) impl,
+ context,
+ ACE_TRY_ENV
+ );
+}
+ACE_INLINE void POA_CORBA::ValueBoxDef::destroy_skel (
+ TAO_ServerRequest &req,
+ void *obj,
+ void *context,
+ CORBA::Environment &ACE_TRY_ENV
+ )
+{
+ POA_CORBA::IRObject_ptr impl = (POA_CORBA::ValueBoxDef_ptr) obj;
+ POA_CORBA::IRObject::destroy_skel (
+ req,
+ (POA_CORBA::IRObject_ptr) impl,
+ context,
+ ACE_TRY_ENV
+ );
+}
diff --git a/TAO/orbsvcs/IFR_Service/IFR_ExtendedS_T.cpp b/TAO/orbsvcs/IFR_Service/IFR_ExtendedS_T.cpp
new file mode 100644
index 00000000000..2b71f3ae707
--- /dev/null
+++ b/TAO/orbsvcs/IFR_Service/IFR_ExtendedS_T.cpp
@@ -0,0 +1,32 @@
+// -*- C++ -*-
+//
+// $Id$
+
+// **** Code generated by the The ACE ORB (TAO) IDL Compiler ****
+// TAO and the TAO IDL Compiler have been developed by:
+// Center for Distributed Object Computing
+// Washington University
+// St. Louis, MO
+// USA
+// http://www.cs.wustl.edu/~schmidt/doc-center.html
+// and
+// Distributed Object Computing Laboratory
+// University of California at Irvine
+// Irvine, CA
+// USA
+// http://doc.ece.uci.edu/
+//
+// Information about TAO is available at:
+// http://www.cs.wustl.edu/~schmidt/TAO.html
+
+#ifndef TAO_IDL_IFR_EXTENDEDS_T_CPP
+#define TAO_IDL_IFR_EXTENDEDS_T_CPP
+
+#include "IFR_ExtendedS_T.h"
+
+#if !defined (__ACE_INLINE__)
+#include "IFR_ExtendedS_T.i"
+#endif /* !defined INLINE */
+
+
+#endif /* ifndef */
diff --git a/TAO/orbsvcs/IFR_Service/IFR_ExtendedS_T.h b/TAO/orbsvcs/IFR_Service/IFR_ExtendedS_T.h
new file mode 100644
index 00000000000..067cbcb37ad
--- /dev/null
+++ b/TAO/orbsvcs/IFR_Service/IFR_ExtendedS_T.h
@@ -0,0 +1,53 @@
+// -*- C++ -*-
+//
+// $Id$
+
+// **** Code generated by the The ACE ORB (TAO) IDL Compiler ****
+// TAO and the TAO IDL Compiler have been developed by:
+// Center for Distributed Object Computing
+// Washington University
+// St. Louis, MO
+// USA
+// http://www.cs.wustl.edu/~schmidt/doc-center.html
+// and
+// Distributed Object Computing Laboratory
+// University of California at Irvine
+// Irvine, CA
+// USA
+// http://doc.ece.uci.edu/
+//
+// Information about TAO is available at:
+// http://www.cs.wustl.edu/~schmidt/TAO.html
+
+#ifndef TAO_IDL_IFR_EXTENDEDS_T_H
+#define TAO_IDL_IFR_EXTENDEDS_T_H
+
+#include "ace/pre.h"
+#if defined(_MSC_VER)
+#if (_MSC_VER >= 1200)
+#pragma warning(push)
+#endif /* _MSC_VER >= 1200 */
+#pragma warning(disable:4250)
+#endif /* _MSC_VER */
+
+
+#if defined (__ACE_INLINE__)
+#include "IFR_ExtendedS_T.i"
+#endif /* defined INLINE */
+
+
+#if defined (ACE_TEMPLATES_REQUIRE_SOURCE)
+#include "IFR_ExtendedS_T.cpp"
+#endif /* defined REQUIRED SOURCE */
+
+
+#if defined (ACE_TEMPLATES_REQUIRE_PRAGMA)
+#pragma implementation ("IFR_ExtendedS_T.cpp")
+#endif /* defined REQUIRED PRAGMA */
+
+#if defined(_MSC_VER) && (_MSC_VER >= 1200)
+#pragma warning(pop)
+#endif /* _MSC_VER */
+
+#include "ace/post.h"
+#endif /* ifndef */
diff --git a/TAO/orbsvcs/IFR_Service/IFR_ExtendedS_T.i b/TAO/orbsvcs/IFR_Service/IFR_ExtendedS_T.i
new file mode 100644
index 00000000000..c21c9b0f9d5
--- /dev/null
+++ b/TAO/orbsvcs/IFR_Service/IFR_ExtendedS_T.i
@@ -0,0 +1,1758 @@
+// -*- C++ -*-
+//
+// $Id$
+
+// **** Code generated by the The ACE ORB (TAO) IDL Compiler ****
+// TAO and the TAO IDL Compiler have been developed by:
+// Center for Distributed Object Computing
+// Washington University
+// St. Louis, MO
+// USA
+// http://www.cs.wustl.edu/~schmidt/doc-center.html
+// and
+// Distributed Object Computing Laboratory
+// University of California at Irvine
+// Irvine, CA
+// USA
+// http://doc.ece.uci.edu/
+//
+// Information about TAO is available at:
+// http://www.cs.wustl.edu/~schmidt/TAO.html
+
+
+#if defined (ACE_HAS_USING_KEYWORD)
+template <class T> ACE_INLINE
+POA_CORBA::FixedDef_tie<T>::FixedDef_tie (T &t)
+ : ptr_ (&t),
+ poa_ (PortableServer::POA::_nil ()),
+ rel_ (0)
+{}
+
+template <class T> ACE_INLINE
+POA_CORBA::FixedDef_tie<T>::FixedDef_tie (T &t, PortableServer::POA_ptr poa)
+ : ptr_ (&t),
+ poa_ (PortableServer::POA::_duplicate (poa)),
+ rel_ (0)
+{}
+
+template <class T> ACE_INLINE
+POA_CORBA::FixedDef_tie<T>::FixedDef_tie (T *tp, CORBA::Boolean release)
+ : ptr_ (tp),
+ poa_ (PortableServer::POA::_nil ()),
+ rel_ (release)
+{}
+
+template <class T> ACE_INLINE
+POA_CORBA::FixedDef_tie<T>::FixedDef_tie (T *tp, PortableServer::POA_ptr poa, CORBA::Boolean release)
+ : ptr_ (tp),
+ poa_ (PortableServer::POA::_duplicate (poa)),
+ rel_ (release)
+{}
+
+template <class T> ACE_INLINE
+POA_CORBA::FixedDef_tie<T>::~FixedDef_tie (void)
+{
+ if (this->rel_) delete this->ptr_;
+}
+
+template <class T> ACE_INLINE T *
+POA_CORBA::FixedDef_tie<T>::_tied_object (void)
+{
+ return this->ptr_;
+}
+
+template <class T> ACE_INLINE void
+POA_CORBA::FixedDef_tie<T>::_tied_object (T &obj)
+{
+ if (this->rel_) delete this->ptr_;
+ this->ptr_ = &obj;
+ this->rel_ = 0;
+}
+
+template <class T> ACE_INLINE void
+POA_CORBA::FixedDef_tie<T>::_tied_object (T *obj, CORBA::Boolean release)
+{
+ if (this->rel_) delete this->ptr_;
+ this->ptr_ = obj;
+ this->rel_ = release;
+}
+
+template <class T> ACE_INLINE CORBA::Boolean
+POA_CORBA::FixedDef_tie<T>::_is_owner (void)
+{
+ return this->rel_;
+}
+
+template <class T> ACE_INLINE void
+POA_CORBA::FixedDef_tie<T>::_is_owner (CORBA::Boolean b)
+{
+ this->rel_ = b;
+}
+
+template <class T> ACE_INLINE PortableServer::POA_ptr
+POA_CORBA::FixedDef_tie<T>::_default_POA (CORBA::Environment &ACE_TRY_ENV)
+{
+ if (!CORBA::is_nil (this->poa_.in ()))
+ return PortableServer::POA::_duplicate (this->poa_.in ());
+
+ return this->FixedDef::_default_POA (ACE_TRY_ENV);
+}
+
+template <class T> ACE_INLINE
+CORBA::UShort POA_CORBA::FixedDef_tie<T>::digits (
+ CORBA::Environment &ACE_TRY_ENV
+ )
+ ACE_THROW_SPEC ((
+ CORBA::SystemException
+ ))
+{
+ return this->ptr_->digits (
+ACE_TRY_ENV
+ );
+}
+
+template <class T> ACE_INLINE
+void POA_CORBA::FixedDef_tie<T>::digits (
+ CORBA::UShort digits,
+ CORBA::Environment &ACE_TRY_ENV
+ )
+ ACE_THROW_SPEC ((
+ CORBA::SystemException
+ ))
+{
+ this->ptr_->digits (
+digits,
+ ACE_TRY_ENV
+ );
+}
+
+template <class T> ACE_INLINE
+CORBA::Short POA_CORBA::FixedDef_tie<T>::scale (
+ CORBA::Environment &ACE_TRY_ENV
+ )
+ ACE_THROW_SPEC ((
+ CORBA::SystemException
+ ))
+{
+ return this->ptr_->scale (
+ACE_TRY_ENV
+ );
+}
+
+template <class T> ACE_INLINE
+void POA_CORBA::FixedDef_tie<T>::scale (
+ CORBA::Short scale,
+ CORBA::Environment &ACE_TRY_ENV
+ )
+ ACE_THROW_SPEC ((
+ CORBA::SystemException
+ ))
+{
+ this->ptr_->scale (
+scale,
+ ACE_TRY_ENV
+ );
+}
+
+template <class T> ACE_INLINE
+CORBA::TypeCode_ptr POA_CORBA::FixedDef_tie<T>::type (
+ CORBA::Environment &ACE_TRY_ENV
+ )
+ ACE_THROW_SPEC ((
+ CORBA::SystemException
+ ))
+{
+ return this->ptr_->type (
+ACE_TRY_ENV
+ );
+}
+
+template <class T> ACE_INLINE
+CORBA::DefinitionKind POA_CORBA::FixedDef_tie<T>::def_kind (
+ CORBA::Environment &ACE_TRY_ENV
+ )
+ ACE_THROW_SPEC ((
+ CORBA::SystemException
+ ))
+{
+ return this->ptr_->def_kind (
+ACE_TRY_ENV
+ );
+}
+
+template <class T> ACE_INLINE
+void POA_CORBA::FixedDef_tie<T>::destroy (
+ CORBA::Environment &ACE_TRY_ENV
+ )
+ ACE_THROW_SPEC ((
+ CORBA::SystemException
+ ))
+{
+ this->ptr_->destroy (
+ACE_TRY_ENV
+ );
+}
+
+#endif /* ACE_HAS_USING_KEYWORD */
+
+#if defined (ACE_HAS_USING_KEYWORD)
+template <class T> ACE_INLINE
+POA_CORBA::ValueMemberDef_tie<T>::ValueMemberDef_tie (T &t)
+ : ptr_ (&t),
+ poa_ (PortableServer::POA::_nil ()),
+ rel_ (0)
+{}
+
+template <class T> ACE_INLINE
+POA_CORBA::ValueMemberDef_tie<T>::ValueMemberDef_tie (T &t, PortableServer::POA_ptr poa)
+ : ptr_ (&t),
+ poa_ (PortableServer::POA::_duplicate (poa)),
+ rel_ (0)
+{}
+
+template <class T> ACE_INLINE
+POA_CORBA::ValueMemberDef_tie<T>::ValueMemberDef_tie (T *tp, CORBA::Boolean release)
+ : ptr_ (tp),
+ poa_ (PortableServer::POA::_nil ()),
+ rel_ (release)
+{}
+
+template <class T> ACE_INLINE
+POA_CORBA::ValueMemberDef_tie<T>::ValueMemberDef_tie (T *tp, PortableServer::POA_ptr poa, CORBA::Boolean release)
+ : ptr_ (tp),
+ poa_ (PortableServer::POA::_duplicate (poa)),
+ rel_ (release)
+{}
+
+template <class T> ACE_INLINE
+POA_CORBA::ValueMemberDef_tie<T>::~ValueMemberDef_tie (void)
+{
+ if (this->rel_) delete this->ptr_;
+}
+
+template <class T> ACE_INLINE T *
+POA_CORBA::ValueMemberDef_tie<T>::_tied_object (void)
+{
+ return this->ptr_;
+}
+
+template <class T> ACE_INLINE void
+POA_CORBA::ValueMemberDef_tie<T>::_tied_object (T &obj)
+{
+ if (this->rel_) delete this->ptr_;
+ this->ptr_ = &obj;
+ this->rel_ = 0;
+}
+
+template <class T> ACE_INLINE void
+POA_CORBA::ValueMemberDef_tie<T>::_tied_object (T *obj, CORBA::Boolean release)
+{
+ if (this->rel_) delete this->ptr_;
+ this->ptr_ = obj;
+ this->rel_ = release;
+}
+
+template <class T> ACE_INLINE CORBA::Boolean
+POA_CORBA::ValueMemberDef_tie<T>::_is_owner (void)
+{
+ return this->rel_;
+}
+
+template <class T> ACE_INLINE void
+POA_CORBA::ValueMemberDef_tie<T>::_is_owner (CORBA::Boolean b)
+{
+ this->rel_ = b;
+}
+
+template <class T> ACE_INLINE PortableServer::POA_ptr
+POA_CORBA::ValueMemberDef_tie<T>::_default_POA (CORBA::Environment &ACE_TRY_ENV)
+{
+ if (!CORBA::is_nil (this->poa_.in ()))
+ return PortableServer::POA::_duplicate (this->poa_.in ());
+
+ return this->ValueMemberDef::_default_POA (ACE_TRY_ENV);
+}
+
+template <class T> ACE_INLINE
+CORBA::TypeCode_ptr POA_CORBA::ValueMemberDef_tie<T>::type (
+ CORBA::Environment &ACE_TRY_ENV
+ )
+ ACE_THROW_SPEC ((
+ CORBA::SystemException
+ ))
+{
+ return this->ptr_->type (
+ACE_TRY_ENV
+ );
+}
+
+template <class T> ACE_INLINE
+CORBA::IDLType_ptr POA_CORBA::ValueMemberDef_tie<T>::type_def (
+ CORBA::Environment &ACE_TRY_ENV
+ )
+ ACE_THROW_SPEC ((
+ CORBA::SystemException
+ ))
+{
+ return this->ptr_->type_def (
+ACE_TRY_ENV
+ );
+}
+
+template <class T> ACE_INLINE
+void POA_CORBA::ValueMemberDef_tie<T>::type_def (
+ CORBA::IDLType_ptr type_def,
+ CORBA::Environment &ACE_TRY_ENV
+ )
+ ACE_THROW_SPEC ((
+ CORBA::SystemException
+ ))
+{
+ this->ptr_->type_def (
+type_def,
+ ACE_TRY_ENV
+ );
+}
+
+template <class T> ACE_INLINE
+CORBA::Visibility POA_CORBA::ValueMemberDef_tie<T>::access (
+ CORBA::Environment &ACE_TRY_ENV
+ )
+ ACE_THROW_SPEC ((
+ CORBA::SystemException
+ ))
+{
+ return this->ptr_->access (
+ACE_TRY_ENV
+ );
+}
+
+template <class T> ACE_INLINE
+void POA_CORBA::ValueMemberDef_tie<T>::access (
+ CORBA::Visibility access,
+ CORBA::Environment &ACE_TRY_ENV
+ )
+ ACE_THROW_SPEC ((
+ CORBA::SystemException
+ ))
+{
+ this->ptr_->access (
+access,
+ ACE_TRY_ENV
+ );
+}
+
+template <class T> ACE_INLINE
+char * POA_CORBA::ValueMemberDef_tie<T>::id (
+ CORBA::Environment &ACE_TRY_ENV
+ )
+ ACE_THROW_SPEC ((
+ CORBA::SystemException
+ ))
+{
+ return this->ptr_->id (
+ACE_TRY_ENV
+ );
+}
+
+template <class T> ACE_INLINE
+void POA_CORBA::ValueMemberDef_tie<T>::id (
+ const char * id,
+ CORBA::Environment &ACE_TRY_ENV
+ )
+ ACE_THROW_SPEC ((
+ CORBA::SystemException
+ ))
+{
+ this->ptr_->id (
+id,
+ ACE_TRY_ENV
+ );
+}
+
+template <class T> ACE_INLINE
+char * POA_CORBA::ValueMemberDef_tie<T>::name (
+ CORBA::Environment &ACE_TRY_ENV
+ )
+ ACE_THROW_SPEC ((
+ CORBA::SystemException
+ ))
+{
+ return this->ptr_->name (
+ACE_TRY_ENV
+ );
+}
+
+template <class T> ACE_INLINE
+void POA_CORBA::ValueMemberDef_tie<T>::name (
+ const char * name,
+ CORBA::Environment &ACE_TRY_ENV
+ )
+ ACE_THROW_SPEC ((
+ CORBA::SystemException
+ ))
+{
+ this->ptr_->name (
+name,
+ ACE_TRY_ENV
+ );
+}
+
+template <class T> ACE_INLINE
+char * POA_CORBA::ValueMemberDef_tie<T>::version (
+ CORBA::Environment &ACE_TRY_ENV
+ )
+ ACE_THROW_SPEC ((
+ CORBA::SystemException
+ ))
+{
+ return this->ptr_->version (
+ACE_TRY_ENV
+ );
+}
+
+template <class T> ACE_INLINE
+void POA_CORBA::ValueMemberDef_tie<T>::version (
+ const char * version,
+ CORBA::Environment &ACE_TRY_ENV
+ )
+ ACE_THROW_SPEC ((
+ CORBA::SystemException
+ ))
+{
+ this->ptr_->version (
+version,
+ ACE_TRY_ENV
+ );
+}
+
+template <class T> ACE_INLINE
+CORBA::Container_ptr POA_CORBA::ValueMemberDef_tie<T>::defined_in (
+ CORBA::Environment &ACE_TRY_ENV
+ )
+ ACE_THROW_SPEC ((
+ CORBA::SystemException
+ ))
+{
+ return this->ptr_->defined_in (
+ACE_TRY_ENV
+ );
+}
+
+template <class T> ACE_INLINE
+char * POA_CORBA::ValueMemberDef_tie<T>::absolute_name (
+ CORBA::Environment &ACE_TRY_ENV
+ )
+ ACE_THROW_SPEC ((
+ CORBA::SystemException
+ ))
+{
+ return this->ptr_->absolute_name (
+ACE_TRY_ENV
+ );
+}
+
+template <class T> ACE_INLINE
+CORBA::Repository_ptr POA_CORBA::ValueMemberDef_tie<T>::containing_repository (
+ CORBA::Environment &ACE_TRY_ENV
+ )
+ ACE_THROW_SPEC ((
+ CORBA::SystemException
+ ))
+{
+ return this->ptr_->containing_repository (
+ACE_TRY_ENV
+ );
+}
+
+template <class T> ACE_INLINE
+CORBA::Contained::Description * POA_CORBA::ValueMemberDef_tie<T>::describe (
+ CORBA::Environment &ACE_TRY_ENV
+ )
+ ACE_THROW_SPEC ((
+ CORBA::SystemException
+ ))
+{
+ return this->ptr_->describe (
+ACE_TRY_ENV
+ );
+}
+
+template <class T> ACE_INLINE
+void POA_CORBA::ValueMemberDef_tie<T>::move (
+ CORBA::Container_ptr new_container,
+ const char * new_name,
+ const char * new_version,
+ CORBA::Environment &ACE_TRY_ENV
+ )
+ ACE_THROW_SPEC ((
+ CORBA::SystemException
+ ))
+{
+ this->ptr_->move (
+new_container,
+ new_name,
+ new_version,
+ ACE_TRY_ENV
+ );
+}
+
+template <class T> ACE_INLINE
+CORBA::DefinitionKind POA_CORBA::ValueMemberDef_tie<T>::def_kind (
+ CORBA::Environment &ACE_TRY_ENV
+ )
+ ACE_THROW_SPEC ((
+ CORBA::SystemException
+ ))
+{
+ return this->ptr_->def_kind (
+ACE_TRY_ENV
+ );
+}
+
+template <class T> ACE_INLINE
+void POA_CORBA::ValueMemberDef_tie<T>::destroy (
+ CORBA::Environment &ACE_TRY_ENV
+ )
+ ACE_THROW_SPEC ((
+ CORBA::SystemException
+ ))
+{
+ this->ptr_->destroy (
+ACE_TRY_ENV
+ );
+}
+
+#endif /* ACE_HAS_USING_KEYWORD */
+
+#if defined (ACE_HAS_USING_KEYWORD)
+template <class T> ACE_INLINE
+POA_CORBA::ValueDef_tie<T>::ValueDef_tie (T &t)
+ : ptr_ (&t),
+ poa_ (PortableServer::POA::_nil ()),
+ rel_ (0)
+{}
+
+template <class T> ACE_INLINE
+POA_CORBA::ValueDef_tie<T>::ValueDef_tie (T &t, PortableServer::POA_ptr poa)
+ : ptr_ (&t),
+ poa_ (PortableServer::POA::_duplicate (poa)),
+ rel_ (0)
+{}
+
+template <class T> ACE_INLINE
+POA_CORBA::ValueDef_tie<T>::ValueDef_tie (T *tp, CORBA::Boolean release)
+ : ptr_ (tp),
+ poa_ (PortableServer::POA::_nil ()),
+ rel_ (release)
+{}
+
+template <class T> ACE_INLINE
+POA_CORBA::ValueDef_tie<T>::ValueDef_tie (T *tp, PortableServer::POA_ptr poa, CORBA::Boolean release)
+ : ptr_ (tp),
+ poa_ (PortableServer::POA::_duplicate (poa)),
+ rel_ (release)
+{}
+
+template <class T> ACE_INLINE
+POA_CORBA::ValueDef_tie<T>::~ValueDef_tie (void)
+{
+ if (this->rel_) delete this->ptr_;
+}
+
+template <class T> ACE_INLINE T *
+POA_CORBA::ValueDef_tie<T>::_tied_object (void)
+{
+ return this->ptr_;
+}
+
+template <class T> ACE_INLINE void
+POA_CORBA::ValueDef_tie<T>::_tied_object (T &obj)
+{
+ if (this->rel_) delete this->ptr_;
+ this->ptr_ = &obj;
+ this->rel_ = 0;
+}
+
+template <class T> ACE_INLINE void
+POA_CORBA::ValueDef_tie<T>::_tied_object (T *obj, CORBA::Boolean release)
+{
+ if (this->rel_) delete this->ptr_;
+ this->ptr_ = obj;
+ this->rel_ = release;
+}
+
+template <class T> ACE_INLINE CORBA::Boolean
+POA_CORBA::ValueDef_tie<T>::_is_owner (void)
+{
+ return this->rel_;
+}
+
+template <class T> ACE_INLINE void
+POA_CORBA::ValueDef_tie<T>::_is_owner (CORBA::Boolean b)
+{
+ this->rel_ = b;
+}
+
+template <class T> ACE_INLINE PortableServer::POA_ptr
+POA_CORBA::ValueDef_tie<T>::_default_POA (CORBA::Environment &ACE_TRY_ENV)
+{
+ if (!CORBA::is_nil (this->poa_.in ()))
+ return PortableServer::POA::_duplicate (this->poa_.in ());
+
+ return this->ValueDef::_default_POA (ACE_TRY_ENV);
+}
+
+template <class T> ACE_INLINE
+CORBA::InterfaceDefSeq * POA_CORBA::ValueDef_tie<T>::supported_interfaces (
+ CORBA::Environment &ACE_TRY_ENV
+ )
+ ACE_THROW_SPEC ((
+ CORBA::SystemException
+ ))
+{
+ return this->ptr_->supported_interfaces (
+ACE_TRY_ENV
+ );
+}
+
+template <class T> ACE_INLINE
+void POA_CORBA::ValueDef_tie<T>::supported_interfaces (
+ const CORBA::InterfaceDefSeq & supported_interfaces,
+ CORBA::Environment &ACE_TRY_ENV
+ )
+ ACE_THROW_SPEC ((
+ CORBA::SystemException
+ ))
+{
+ this->ptr_->supported_interfaces (
+supported_interfaces,
+ ACE_TRY_ENV
+ );
+}
+
+template <class T> ACE_INLINE
+CORBA::InitializerSeq * POA_CORBA::ValueDef_tie<T>::initializers (
+ CORBA::Environment &ACE_TRY_ENV
+ )
+ ACE_THROW_SPEC ((
+ CORBA::SystemException
+ ))
+{
+ return this->ptr_->initializers (
+ACE_TRY_ENV
+ );
+}
+
+template <class T> ACE_INLINE
+void POA_CORBA::ValueDef_tie<T>::initializers (
+ const CORBA::InitializerSeq & initializers,
+ CORBA::Environment &ACE_TRY_ENV
+ )
+ ACE_THROW_SPEC ((
+ CORBA::SystemException
+ ))
+{
+ this->ptr_->initializers (
+initializers,
+ ACE_TRY_ENV
+ );
+}
+
+template <class T> ACE_INLINE
+CORBA::ValueDef_ptr POA_CORBA::ValueDef_tie<T>::base_value (
+ CORBA::Environment &ACE_TRY_ENV
+ )
+ ACE_THROW_SPEC ((
+ CORBA::SystemException
+ ))
+{
+ return this->ptr_->base_value (
+ACE_TRY_ENV
+ );
+}
+
+template <class T> ACE_INLINE
+void POA_CORBA::ValueDef_tie<T>::base_value (
+ CORBA::ValueDef_ptr base_value,
+ CORBA::Environment &ACE_TRY_ENV
+ )
+ ACE_THROW_SPEC ((
+ CORBA::SystemException
+ ))
+{
+ this->ptr_->base_value (
+base_value,
+ ACE_TRY_ENV
+ );
+}
+
+template <class T> ACE_INLINE
+CORBA::ValueDefSeq * POA_CORBA::ValueDef_tie<T>::abstract_base_values (
+ CORBA::Environment &ACE_TRY_ENV
+ )
+ ACE_THROW_SPEC ((
+ CORBA::SystemException
+ ))
+{
+ return this->ptr_->abstract_base_values (
+ACE_TRY_ENV
+ );
+}
+
+template <class T> ACE_INLINE
+void POA_CORBA::ValueDef_tie<T>::abstract_base_values (
+ const CORBA::ValueDefSeq & abstract_base_values,
+ CORBA::Environment &ACE_TRY_ENV
+ )
+ ACE_THROW_SPEC ((
+ CORBA::SystemException
+ ))
+{
+ this->ptr_->abstract_base_values (
+abstract_base_values,
+ ACE_TRY_ENV
+ );
+}
+
+template <class T> ACE_INLINE
+CORBA::Boolean POA_CORBA::ValueDef_tie<T>::is_abstract (
+ CORBA::Environment &ACE_TRY_ENV
+ )
+ ACE_THROW_SPEC ((
+ CORBA::SystemException
+ ))
+{
+ return this->ptr_->is_abstract (
+ACE_TRY_ENV
+ );
+}
+
+template <class T> ACE_INLINE
+void POA_CORBA::ValueDef_tie<T>::is_abstract (
+ CORBA::Boolean is_abstract,
+ CORBA::Environment &ACE_TRY_ENV
+ )
+ ACE_THROW_SPEC ((
+ CORBA::SystemException
+ ))
+{
+ this->ptr_->is_abstract (
+is_abstract,
+ ACE_TRY_ENV
+ );
+}
+
+template <class T> ACE_INLINE
+CORBA::Boolean POA_CORBA::ValueDef_tie<T>::is_custom (
+ CORBA::Environment &ACE_TRY_ENV
+ )
+ ACE_THROW_SPEC ((
+ CORBA::SystemException
+ ))
+{
+ return this->ptr_->is_custom (
+ACE_TRY_ENV
+ );
+}
+
+template <class T> ACE_INLINE
+void POA_CORBA::ValueDef_tie<T>::is_custom (
+ CORBA::Boolean is_custom,
+ CORBA::Environment &ACE_TRY_ENV
+ )
+ ACE_THROW_SPEC ((
+ CORBA::SystemException
+ ))
+{
+ this->ptr_->is_custom (
+is_custom,
+ ACE_TRY_ENV
+ );
+}
+
+template <class T> ACE_INLINE
+CORBA::Boolean POA_CORBA::ValueDef_tie<T>::is_truncatable (
+ CORBA::Environment &ACE_TRY_ENV
+ )
+ ACE_THROW_SPEC ((
+ CORBA::SystemException
+ ))
+{
+ return this->ptr_->is_truncatable (
+ACE_TRY_ENV
+ );
+}
+
+template <class T> ACE_INLINE
+void POA_CORBA::ValueDef_tie<T>::is_truncatable (
+ CORBA::Boolean is_truncatable,
+ CORBA::Environment &ACE_TRY_ENV
+ )
+ ACE_THROW_SPEC ((
+ CORBA::SystemException
+ ))
+{
+ this->ptr_->is_truncatable (
+is_truncatable,
+ ACE_TRY_ENV
+ );
+}
+
+template <class T> ACE_INLINE
+CORBA::Boolean POA_CORBA::ValueDef_tie<T>::is_a (
+ const char * id,
+ CORBA::Environment &ACE_TRY_ENV
+ )
+ ACE_THROW_SPEC ((
+ CORBA::SystemException
+ ))
+{
+ return this->ptr_->is_a (
+id,
+ ACE_TRY_ENV
+ );
+}
+
+template <class T> ACE_INLINE
+CORBA::ValueDef::FullValueDescription * POA_CORBA::ValueDef_tie<T>::describe_value (
+ CORBA::Environment &ACE_TRY_ENV
+ )
+ ACE_THROW_SPEC ((
+ CORBA::SystemException
+ ))
+{
+ return this->ptr_->describe_value (
+ACE_TRY_ENV
+ );
+}
+
+template <class T> ACE_INLINE
+CORBA::ValueMemberDef_ptr POA_CORBA::ValueDef_tie<T>::create_value_member (
+ const char * id,
+ const char * name,
+ const char * version,
+ CORBA::IDLType_ptr type,
+ CORBA::Visibility access,
+ CORBA::Environment &ACE_TRY_ENV
+ )
+ ACE_THROW_SPEC ((
+ CORBA::SystemException
+ ))
+{
+ return this->ptr_->create_value_member (
+id,
+ name,
+ version,
+ type,
+ access,
+ ACE_TRY_ENV
+ );
+}
+
+template <class T> ACE_INLINE
+CORBA::AttributeDef_ptr POA_CORBA::ValueDef_tie<T>::create_attribute (
+ const char * id,
+ const char * name,
+ const char * version,
+ CORBA::IDLType_ptr type,
+ CORBA::AttributeMode mode,
+ CORBA::Environment &ACE_TRY_ENV
+ )
+ ACE_THROW_SPEC ((
+ CORBA::SystemException
+ ))
+{
+ return this->ptr_->create_attribute (
+id,
+ name,
+ version,
+ type,
+ mode,
+ ACE_TRY_ENV
+ );
+}
+
+template <class T> ACE_INLINE
+CORBA::OperationDef_ptr POA_CORBA::ValueDef_tie<T>::create_operation (
+ const char * id,
+ const char * name,
+ const char * version,
+ CORBA::IDLType_ptr result,
+ CORBA::OperationMode mode,
+ const CORBA::ParDescriptionSeq & params,
+ const CORBA::ExceptionDefSeq & exceptions,
+ const CORBA::ContextIdSeq & contexts,
+ CORBA::Environment &ACE_TRY_ENV
+ )
+ ACE_THROW_SPEC ((
+ CORBA::SystemException
+ ))
+{
+ return this->ptr_->create_operation (
+id,
+ name,
+ version,
+ result,
+ mode,
+ params,
+ exceptions,
+ contexts,
+ ACE_TRY_ENV
+ );
+}
+
+template <class T> ACE_INLINE
+CORBA::Contained_ptr POA_CORBA::ValueDef_tie<T>::lookup (
+ const char * search_name,
+ CORBA::Environment &ACE_TRY_ENV
+ )
+ ACE_THROW_SPEC ((
+ CORBA::SystemException
+ ))
+{
+ return this->ptr_->lookup (
+search_name,
+ ACE_TRY_ENV
+ );
+}
+
+template <class T> ACE_INLINE
+CORBA::ContainedSeq * POA_CORBA::ValueDef_tie<T>::contents (
+ CORBA::DefinitionKind limit_type,
+ CORBA::Boolean exclude_inherited,
+ CORBA::Environment &ACE_TRY_ENV
+ )
+ ACE_THROW_SPEC ((
+ CORBA::SystemException
+ ))
+{
+ return this->ptr_->contents (
+limit_type,
+ exclude_inherited,
+ ACE_TRY_ENV
+ );
+}
+
+template <class T> ACE_INLINE
+CORBA::ContainedSeq * POA_CORBA::ValueDef_tie<T>::lookup_name (
+ const char * search_name,
+ CORBA::Long levels_to_search,
+ CORBA::DefinitionKind limit_type,
+ CORBA::Boolean exclude_inherited,
+ CORBA::Environment &ACE_TRY_ENV
+ )
+ ACE_THROW_SPEC ((
+ CORBA::SystemException
+ ))
+{
+ return this->ptr_->lookup_name (
+search_name,
+ levels_to_search,
+ limit_type,
+ exclude_inherited,
+ ACE_TRY_ENV
+ );
+}
+
+template <class T> ACE_INLINE
+CORBA::Container::DescriptionSeq * POA_CORBA::ValueDef_tie<T>::describe_contents (
+ CORBA::DefinitionKind limit_type,
+ CORBA::Boolean exclude_inherited,
+ CORBA::Long max_returned_objs,
+ CORBA::Environment &ACE_TRY_ENV
+ )
+ ACE_THROW_SPEC ((
+ CORBA::SystemException
+ ))
+{
+ return this->ptr_->describe_contents (
+limit_type,
+ exclude_inherited,
+ max_returned_objs,
+ ACE_TRY_ENV
+ );
+}
+
+template <class T> ACE_INLINE
+CORBA::ModuleDef_ptr POA_CORBA::ValueDef_tie<T>::create_module (
+ const char * id,
+ const char * name,
+ const char * version,
+ CORBA::Environment &ACE_TRY_ENV
+ )
+ ACE_THROW_SPEC ((
+ CORBA::SystemException
+ ))
+{
+ return this->ptr_->create_module (
+id,
+ name,
+ version,
+ ACE_TRY_ENV
+ );
+}
+
+template <class T> ACE_INLINE
+CORBA::ConstantDef_ptr POA_CORBA::ValueDef_tie<T>::create_constant (
+ const char * id,
+ const char * name,
+ const char * version,
+ CORBA::IDLType_ptr type,
+ const CORBA::Any & value,
+ CORBA::Environment &ACE_TRY_ENV
+ )
+ ACE_THROW_SPEC ((
+ CORBA::SystemException
+ ))
+{
+ return this->ptr_->create_constant (
+id,
+ name,
+ version,
+ type,
+ value,
+ ACE_TRY_ENV
+ );
+}
+
+template <class T> ACE_INLINE
+CORBA::StructDef_ptr POA_CORBA::ValueDef_tie<T>::create_struct (
+ const char * id,
+ const char * name,
+ const char * version,
+ const CORBA::StructMemberSeq & members,
+ CORBA::Environment &ACE_TRY_ENV
+ )
+ ACE_THROW_SPEC ((
+ CORBA::SystemException
+ ))
+{
+ return this->ptr_->create_struct (
+id,
+ name,
+ version,
+ members,
+ ACE_TRY_ENV
+ );
+}
+
+template <class T> ACE_INLINE
+CORBA::UnionDef_ptr POA_CORBA::ValueDef_tie<T>::create_union (
+ const char * id,
+ const char * name,
+ const char * version,
+ CORBA::IDLType_ptr discriminator_type,
+ const CORBA::UnionMemberSeq & members,
+ CORBA::Environment &ACE_TRY_ENV
+ )
+ ACE_THROW_SPEC ((
+ CORBA::SystemException
+ ))
+{
+ return this->ptr_->create_union (
+id,
+ name,
+ version,
+ discriminator_type,
+ members,
+ ACE_TRY_ENV
+ );
+}
+
+template <class T> ACE_INLINE
+CORBA::EnumDef_ptr POA_CORBA::ValueDef_tie<T>::create_enum (
+ const char * id,
+ const char * name,
+ const char * version,
+ const CORBA::EnumMemberSeq & members,
+ CORBA::Environment &ACE_TRY_ENV
+ )
+ ACE_THROW_SPEC ((
+ CORBA::SystemException
+ ))
+{
+ return this->ptr_->create_enum (
+id,
+ name,
+ version,
+ members,
+ ACE_TRY_ENV
+ );
+}
+
+template <class T> ACE_INLINE
+CORBA::AliasDef_ptr POA_CORBA::ValueDef_tie<T>::create_alias (
+ const char * id,
+ const char * name,
+ const char * version,
+ CORBA::IDLType_ptr original_type,
+ CORBA::Environment &ACE_TRY_ENV
+ )
+ ACE_THROW_SPEC ((
+ CORBA::SystemException
+ ))
+{
+ return this->ptr_->create_alias (
+id,
+ name,
+ version,
+ original_type,
+ ACE_TRY_ENV
+ );
+}
+
+template <class T> ACE_INLINE
+CORBA::InterfaceDef_ptr POA_CORBA::ValueDef_tie<T>::create_interface (
+ const char * id,
+ const char * name,
+ const char * version,
+ const CORBA::InterfaceDefSeq & base_interfaces,
+ CORBA::Environment &ACE_TRY_ENV
+ )
+ ACE_THROW_SPEC ((
+ CORBA::SystemException
+ ))
+{
+ return this->ptr_->create_interface (
+id,
+ name,
+ version,
+ base_interfaces,
+ ACE_TRY_ENV
+ );
+}
+
+template <class T> ACE_INLINE
+CORBA::ValueDef_ptr POA_CORBA::ValueDef_tie<T>::create_value (
+ const char * id,
+ const char * name,
+ const char * version,
+ CORBA::Boolean is_custom,
+ CORBA::Boolean is_abstract,
+ CORBA::ValueDef_ptr base_value,
+ CORBA::Boolean is_truncatable,
+ const CORBA::ValueDefSeq & abstract_base_values,
+ const CORBA::InterfaceDefSeq & supported_interfaces,
+ const CORBA::InitializerSeq & initializers,
+ CORBA::Environment &ACE_TRY_ENV
+ )
+ ACE_THROW_SPEC ((
+ CORBA::SystemException
+ ))
+{
+ return this->ptr_->create_value (
+id,
+ name,
+ version,
+ is_custom,
+ is_abstract,
+ base_value,
+ is_truncatable,
+ abstract_base_values,
+ supported_interfaces,
+ initializers,
+ ACE_TRY_ENV
+ );
+}
+
+template <class T> ACE_INLINE
+CORBA::ValueBoxDef_ptr POA_CORBA::ValueDef_tie<T>::create_value_box (
+ const char * id,
+ const char * name,
+ const char * version,
+ CORBA::IDLType_ptr original_type_def,
+ CORBA::Environment &ACE_TRY_ENV
+ )
+ ACE_THROW_SPEC ((
+ CORBA::SystemException
+ ))
+{
+ return this->ptr_->create_value_box (
+id,
+ name,
+ version,
+ original_type_def,
+ ACE_TRY_ENV
+ );
+}
+
+template <class T> ACE_INLINE
+CORBA::ExceptionDef_ptr POA_CORBA::ValueDef_tie<T>::create_exception (
+ const char * id,
+ const char * name,
+ const char * version,
+ const CORBA::StructMemberSeq & members,
+ CORBA::Environment &ACE_TRY_ENV
+ )
+ ACE_THROW_SPEC ((
+ CORBA::SystemException
+ ))
+{
+ return this->ptr_->create_exception (
+id,
+ name,
+ version,
+ members,
+ ACE_TRY_ENV
+ );
+}
+
+template <class T> ACE_INLINE
+CORBA::NativeDef_ptr POA_CORBA::ValueDef_tie<T>::create_native (
+ const char * id,
+ const char * name,
+ const char * version,
+ CORBA::Environment &ACE_TRY_ENV
+ )
+ ACE_THROW_SPEC ((
+ CORBA::SystemException
+ ))
+{
+ return this->ptr_->create_native (
+id,
+ name,
+ version,
+ ACE_TRY_ENV
+ );
+}
+
+template <class T> ACE_INLINE
+CORBA::AbstractInterfaceDef_ptr POA_CORBA::ValueDef_tie<T>::create_abstract_interface (
+ const char * id,
+ const char * name,
+ const char * version,
+ const CORBA::AbstractInterfaceDefSeq & base_interfaces,
+ CORBA::Environment &ACE_TRY_ENV
+ )
+ ACE_THROW_SPEC ((
+ CORBA::SystemException
+ ))
+{
+ return this->ptr_->create_abstract_interface (
+id,
+ name,
+ version,
+ base_interfaces,
+ ACE_TRY_ENV
+ );
+}
+
+template <class T> ACE_INLINE
+CORBA::LocalInterfaceDef_ptr POA_CORBA::ValueDef_tie<T>::create_local_interface (
+ const char * id,
+ const char * name,
+ const char * version,
+ const CORBA::InterfaceDefSeq & base_interfaces,
+ CORBA::Environment &ACE_TRY_ENV
+ )
+ ACE_THROW_SPEC ((
+ CORBA::SystemException
+ ))
+{
+ return this->ptr_->create_local_interface (
+id,
+ name,
+ version,
+ base_interfaces,
+ ACE_TRY_ENV
+ );
+}
+
+template <class T> ACE_INLINE
+char * POA_CORBA::ValueDef_tie<T>::id (
+ CORBA::Environment &ACE_TRY_ENV
+ )
+ ACE_THROW_SPEC ((
+ CORBA::SystemException
+ ))
+{
+ return this->ptr_->id (
+ACE_TRY_ENV
+ );
+}
+
+template <class T> ACE_INLINE
+void POA_CORBA::ValueDef_tie<T>::id (
+ const char * id,
+ CORBA::Environment &ACE_TRY_ENV
+ )
+ ACE_THROW_SPEC ((
+ CORBA::SystemException
+ ))
+{
+ this->ptr_->id (
+id,
+ ACE_TRY_ENV
+ );
+}
+
+template <class T> ACE_INLINE
+char * POA_CORBA::ValueDef_tie<T>::name (
+ CORBA::Environment &ACE_TRY_ENV
+ )
+ ACE_THROW_SPEC ((
+ CORBA::SystemException
+ ))
+{
+ return this->ptr_->name (
+ACE_TRY_ENV
+ );
+}
+
+template <class T> ACE_INLINE
+void POA_CORBA::ValueDef_tie<T>::name (
+ const char * name,
+ CORBA::Environment &ACE_TRY_ENV
+ )
+ ACE_THROW_SPEC ((
+ CORBA::SystemException
+ ))
+{
+ this->ptr_->name (
+name,
+ ACE_TRY_ENV
+ );
+}
+
+template <class T> ACE_INLINE
+char * POA_CORBA::ValueDef_tie<T>::version (
+ CORBA::Environment &ACE_TRY_ENV
+ )
+ ACE_THROW_SPEC ((
+ CORBA::SystemException
+ ))
+{
+ return this->ptr_->version (
+ACE_TRY_ENV
+ );
+}
+
+template <class T> ACE_INLINE
+void POA_CORBA::ValueDef_tie<T>::version (
+ const char * version,
+ CORBA::Environment &ACE_TRY_ENV
+ )
+ ACE_THROW_SPEC ((
+ CORBA::SystemException
+ ))
+{
+ this->ptr_->version (
+version,
+ ACE_TRY_ENV
+ );
+}
+
+template <class T> ACE_INLINE
+CORBA::Container_ptr POA_CORBA::ValueDef_tie<T>::defined_in (
+ CORBA::Environment &ACE_TRY_ENV
+ )
+ ACE_THROW_SPEC ((
+ CORBA::SystemException
+ ))
+{
+ return this->ptr_->defined_in (
+ACE_TRY_ENV
+ );
+}
+
+template <class T> ACE_INLINE
+char * POA_CORBA::ValueDef_tie<T>::absolute_name (
+ CORBA::Environment &ACE_TRY_ENV
+ )
+ ACE_THROW_SPEC ((
+ CORBA::SystemException
+ ))
+{
+ return this->ptr_->absolute_name (
+ACE_TRY_ENV
+ );
+}
+
+template <class T> ACE_INLINE
+CORBA::Repository_ptr POA_CORBA::ValueDef_tie<T>::containing_repository (
+ CORBA::Environment &ACE_TRY_ENV
+ )
+ ACE_THROW_SPEC ((
+ CORBA::SystemException
+ ))
+{
+ return this->ptr_->containing_repository (
+ACE_TRY_ENV
+ );
+}
+
+template <class T> ACE_INLINE
+CORBA::Contained::Description * POA_CORBA::ValueDef_tie<T>::describe (
+ CORBA::Environment &ACE_TRY_ENV
+ )
+ ACE_THROW_SPEC ((
+ CORBA::SystemException
+ ))
+{
+ return this->ptr_->describe (
+ACE_TRY_ENV
+ );
+}
+
+template <class T> ACE_INLINE
+void POA_CORBA::ValueDef_tie<T>::move (
+ CORBA::Container_ptr new_container,
+ const char * new_name,
+ const char * new_version,
+ CORBA::Environment &ACE_TRY_ENV
+ )
+ ACE_THROW_SPEC ((
+ CORBA::SystemException
+ ))
+{
+ this->ptr_->move (
+new_container,
+ new_name,
+ new_version,
+ ACE_TRY_ENV
+ );
+}
+
+template <class T> ACE_INLINE
+CORBA::TypeCode_ptr POA_CORBA::ValueDef_tie<T>::type (
+ CORBA::Environment &ACE_TRY_ENV
+ )
+ ACE_THROW_SPEC ((
+ CORBA::SystemException
+ ))
+{
+ return this->ptr_->type (
+ACE_TRY_ENV
+ );
+}
+
+template <class T> ACE_INLINE
+CORBA::DefinitionKind POA_CORBA::ValueDef_tie<T>::def_kind (
+ CORBA::Environment &ACE_TRY_ENV
+ )
+ ACE_THROW_SPEC ((
+ CORBA::SystemException
+ ))
+{
+ return this->ptr_->def_kind (
+ACE_TRY_ENV
+ );
+}
+
+template <class T> ACE_INLINE
+void POA_CORBA::ValueDef_tie<T>::destroy (
+ CORBA::Environment &ACE_TRY_ENV
+ )
+ ACE_THROW_SPEC ((
+ CORBA::SystemException
+ ))
+{
+ this->ptr_->destroy (
+ACE_TRY_ENV
+ );
+}
+
+#endif /* ACE_HAS_USING_KEYWORD */
+
+#if defined (ACE_HAS_USING_KEYWORD)
+template <class T> ACE_INLINE
+POA_CORBA::ValueBoxDef_tie<T>::ValueBoxDef_tie (T &t)
+ : ptr_ (&t),
+ poa_ (PortableServer::POA::_nil ()),
+ rel_ (0)
+{}
+
+template <class T> ACE_INLINE
+POA_CORBA::ValueBoxDef_tie<T>::ValueBoxDef_tie (T &t, PortableServer::POA_ptr poa)
+ : ptr_ (&t),
+ poa_ (PortableServer::POA::_duplicate (poa)),
+ rel_ (0)
+{}
+
+template <class T> ACE_INLINE
+POA_CORBA::ValueBoxDef_tie<T>::ValueBoxDef_tie (T *tp, CORBA::Boolean release)
+ : ptr_ (tp),
+ poa_ (PortableServer::POA::_nil ()),
+ rel_ (release)
+{}
+
+template <class T> ACE_INLINE
+POA_CORBA::ValueBoxDef_tie<T>::ValueBoxDef_tie (T *tp, PortableServer::POA_ptr poa, CORBA::Boolean release)
+ : ptr_ (tp),
+ poa_ (PortableServer::POA::_duplicate (poa)),
+ rel_ (release)
+{}
+
+template <class T> ACE_INLINE
+POA_CORBA::ValueBoxDef_tie<T>::~ValueBoxDef_tie (void)
+{
+ if (this->rel_) delete this->ptr_;
+}
+
+template <class T> ACE_INLINE T *
+POA_CORBA::ValueBoxDef_tie<T>::_tied_object (void)
+{
+ return this->ptr_;
+}
+
+template <class T> ACE_INLINE void
+POA_CORBA::ValueBoxDef_tie<T>::_tied_object (T &obj)
+{
+ if (this->rel_) delete this->ptr_;
+ this->ptr_ = &obj;
+ this->rel_ = 0;
+}
+
+template <class T> ACE_INLINE void
+POA_CORBA::ValueBoxDef_tie<T>::_tied_object (T *obj, CORBA::Boolean release)
+{
+ if (this->rel_) delete this->ptr_;
+ this->ptr_ = obj;
+ this->rel_ = release;
+}
+
+template <class T> ACE_INLINE CORBA::Boolean
+POA_CORBA::ValueBoxDef_tie<T>::_is_owner (void)
+{
+ return this->rel_;
+}
+
+template <class T> ACE_INLINE void
+POA_CORBA::ValueBoxDef_tie<T>::_is_owner (CORBA::Boolean b)
+{
+ this->rel_ = b;
+}
+
+template <class T> ACE_INLINE PortableServer::POA_ptr
+POA_CORBA::ValueBoxDef_tie<T>::_default_POA (CORBA::Environment &ACE_TRY_ENV)
+{
+ if (!CORBA::is_nil (this->poa_.in ()))
+ return PortableServer::POA::_duplicate (this->poa_.in ());
+
+ return this->ValueBoxDef::_default_POA (ACE_TRY_ENV);
+}
+
+template <class T> ACE_INLINE
+CORBA::IDLType_ptr POA_CORBA::ValueBoxDef_tie<T>::original_type_def (
+ CORBA::Environment &ACE_TRY_ENV
+ )
+ ACE_THROW_SPEC ((
+ CORBA::SystemException
+ ))
+{
+ return this->ptr_->original_type_def (
+ACE_TRY_ENV
+ );
+}
+
+template <class T> ACE_INLINE
+void POA_CORBA::ValueBoxDef_tie<T>::original_type_def (
+ CORBA::IDLType_ptr original_type_def,
+ CORBA::Environment &ACE_TRY_ENV
+ )
+ ACE_THROW_SPEC ((
+ CORBA::SystemException
+ ))
+{
+ this->ptr_->original_type_def (
+original_type_def,
+ ACE_TRY_ENV
+ );
+}
+
+template <class T> ACE_INLINE
+char * POA_CORBA::ValueBoxDef_tie<T>::id (
+ CORBA::Environment &ACE_TRY_ENV
+ )
+ ACE_THROW_SPEC ((
+ CORBA::SystemException
+ ))
+{
+ return this->ptr_->id (
+ACE_TRY_ENV
+ );
+}
+
+template <class T> ACE_INLINE
+void POA_CORBA::ValueBoxDef_tie<T>::id (
+ const char * id,
+ CORBA::Environment &ACE_TRY_ENV
+ )
+ ACE_THROW_SPEC ((
+ CORBA::SystemException
+ ))
+{
+ this->ptr_->id (
+id,
+ ACE_TRY_ENV
+ );
+}
+
+template <class T> ACE_INLINE
+char * POA_CORBA::ValueBoxDef_tie<T>::name (
+ CORBA::Environment &ACE_TRY_ENV
+ )
+ ACE_THROW_SPEC ((
+ CORBA::SystemException
+ ))
+{
+ return this->ptr_->name (
+ACE_TRY_ENV
+ );
+}
+
+template <class T> ACE_INLINE
+void POA_CORBA::ValueBoxDef_tie<T>::name (
+ const char * name,
+ CORBA::Environment &ACE_TRY_ENV
+ )
+ ACE_THROW_SPEC ((
+ CORBA::SystemException
+ ))
+{
+ this->ptr_->name (
+name,
+ ACE_TRY_ENV
+ );
+}
+
+template <class T> ACE_INLINE
+char * POA_CORBA::ValueBoxDef_tie<T>::version (
+ CORBA::Environment &ACE_TRY_ENV
+ )
+ ACE_THROW_SPEC ((
+ CORBA::SystemException
+ ))
+{
+ return this->ptr_->version (
+ACE_TRY_ENV
+ );
+}
+
+template <class T> ACE_INLINE
+void POA_CORBA::ValueBoxDef_tie<T>::version (
+ const char * version,
+ CORBA::Environment &ACE_TRY_ENV
+ )
+ ACE_THROW_SPEC ((
+ CORBA::SystemException
+ ))
+{
+ this->ptr_->version (
+version,
+ ACE_TRY_ENV
+ );
+}
+
+template <class T> ACE_INLINE
+CORBA::Container_ptr POA_CORBA::ValueBoxDef_tie<T>::defined_in (
+ CORBA::Environment &ACE_TRY_ENV
+ )
+ ACE_THROW_SPEC ((
+ CORBA::SystemException
+ ))
+{
+ return this->ptr_->defined_in (
+ACE_TRY_ENV
+ );
+}
+
+template <class T> ACE_INLINE
+char * POA_CORBA::ValueBoxDef_tie<T>::absolute_name (
+ CORBA::Environment &ACE_TRY_ENV
+ )
+ ACE_THROW_SPEC ((
+ CORBA::SystemException
+ ))
+{
+ return this->ptr_->absolute_name (
+ACE_TRY_ENV
+ );
+}
+
+template <class T> ACE_INLINE
+CORBA::Repository_ptr POA_CORBA::ValueBoxDef_tie<T>::containing_repository (
+ CORBA::Environment &ACE_TRY_ENV
+ )
+ ACE_THROW_SPEC ((
+ CORBA::SystemException
+ ))
+{
+ return this->ptr_->containing_repository (
+ACE_TRY_ENV
+ );
+}
+
+template <class T> ACE_INLINE
+CORBA::Contained::Description * POA_CORBA::ValueBoxDef_tie<T>::describe (
+ CORBA::Environment &ACE_TRY_ENV
+ )
+ ACE_THROW_SPEC ((
+ CORBA::SystemException
+ ))
+{
+ return this->ptr_->describe (
+ACE_TRY_ENV
+ );
+}
+
+template <class T> ACE_INLINE
+void POA_CORBA::ValueBoxDef_tie<T>::move (
+ CORBA::Container_ptr new_container,
+ const char * new_name,
+ const char * new_version,
+ CORBA::Environment &ACE_TRY_ENV
+ )
+ ACE_THROW_SPEC ((
+ CORBA::SystemException
+ ))
+{
+ this->ptr_->move (
+new_container,
+ new_name,
+ new_version,
+ ACE_TRY_ENV
+ );
+}
+
+template <class T> ACE_INLINE
+CORBA::TypeCode_ptr POA_CORBA::ValueBoxDef_tie<T>::type (
+ CORBA::Environment &ACE_TRY_ENV
+ )
+ ACE_THROW_SPEC ((
+ CORBA::SystemException
+ ))
+{
+ return this->ptr_->type (
+ACE_TRY_ENV
+ );
+}
+
+template <class T> ACE_INLINE
+CORBA::DefinitionKind POA_CORBA::ValueBoxDef_tie<T>::def_kind (
+ CORBA::Environment &ACE_TRY_ENV
+ )
+ ACE_THROW_SPEC ((
+ CORBA::SystemException
+ ))
+{
+ return this->ptr_->def_kind (
+ACE_TRY_ENV
+ );
+}
+
+template <class T> ACE_INLINE
+void POA_CORBA::ValueBoxDef_tie<T>::destroy (
+ CORBA::Environment &ACE_TRY_ENV
+ )
+ ACE_THROW_SPEC ((
+ CORBA::SystemException
+ ))
+{
+ this->ptr_->destroy (
+ACE_TRY_ENV
+ );
+}
+
+#endif /* ACE_HAS_USING_KEYWORD */
diff --git a/TAO/orbsvcs/IFR_Service/IFR_Service.bor b/TAO/orbsvcs/IFR_Service/IFR_Service.bor
index 064073a4015..3d245dc21b5 100644
--- a/TAO/orbsvcs/IFR_Service/IFR_Service.bor
+++ b/TAO/orbsvcs/IFR_Service/IFR_Service.bor
@@ -23,10 +23,13 @@ OBJFILES = \
$(OBJDIR)\FixedDef_i.obj \
$(OBJDIR)\HomeDef_i.obj \
$(OBJDIR)\IDLType_i.obj \
+ $(OBJDIR)\IFR_BaseS.obj \
+ $(OBJDIR)\IFR_BasicS.obj \
+ $(OBJDIR)\IFR_ComponentsS.obj \
+ $(OBJDIR)\IFR_ExtendedS.obj \
$(OBJDIR)\IFR_Server.obj \
$(OBJDIR)\IFR_Service.obj \
$(OBJDIR)\InterfaceDef_i.obj \
- $(OBJDIR)\InterfaceS.obj \
$(OBJDIR)\IRObject_i.obj \
$(OBJDIR)\ModuleDef_i.obj \
$(OBJDIR)\NativeDef_i.obj \
diff --git a/TAO/orbsvcs/IFR_Service/IFR_Service.cpp b/TAO/orbsvcs/IFR_Service/IFR_Service.cpp
index 9f6217c7c50..ac25c0f5e77 100644
--- a/TAO/orbsvcs/IFR_Service/IFR_Service.cpp
+++ b/TAO/orbsvcs/IFR_Service/IFR_Service.cpp
@@ -5,6 +5,7 @@
#include "ComponentRepository_i.h"
#include "Servant_Locator.h"
#include "Options.h"
+#include "IFR_ComponentsS.h"
#include "orbsvcs/IOR_Multicast.h"
#include "tao/IORTable/IORTable.h"
#include "ace/Auto_Ptr.h"
@@ -16,7 +17,7 @@ IFR_Service::IFR_Service (void)
ior_multicast_ (0),
config_ (0),
repo_impl_ (0),
- repository_ (IR_Repository::_nil ())
+ repository_ (CORBA_Repository::_nil ())
{
}
diff --git a/TAO/orbsvcs/IFR_Service/IFR_Service.dsp b/TAO/orbsvcs/IFR_Service/IFR_Service.dsp
index 9dfb6d1c9ec..f3e1ad73510 100644
--- a/TAO/orbsvcs/IFR_Service/IFR_Service.dsp
+++ b/TAO/orbsvcs/IFR_Service/IFR_Service.dsp
@@ -51,7 +51,7 @@ BSC32=bscmake.exe
# ADD BSC32 /nologo
LINK32=link.exe
# ADD BASE LINK32 kernel32.lib user32.lib gdi32.lib winspool.lib comdlg32.lib advapi32.lib shell32.lib ole32.lib oleaut32.lib uuid.lib odbc32.lib odbccp32.lib kernel32.lib user32.lib gdi32.lib winspool.lib comdlg32.lib advapi32.lib shell32.lib ole32.lib oleaut32.lib uuid.lib odbc32.lib odbccp32.lib /nologo /subsystem:console /machine:I386
-# ADD LINK32 TypeCodeFactory_DLL.lib TAO_Svc_Utils.lib TAO_IFR_Client.lib TAO_IORTable.lib TAO_PortableServer.lib TAO.lib ace.lib /nologo /subsystem:console /machine:I386 /libpath:"..\orbsvcs" /libpath:"..\..\tao\IFR_Client" /libpath:"..\..\tao\IORTable" /libpath:"..\..\tao\PortableServer" /libpath:"..\..\tao" /libpath:"..\..\..\ace"
+# ADD LINK32 TAO_TypeCodeFactory.lib TAO_Svc_Utils.lib TAO_IFR_Client.lib TAO_IORTable.lib TAO_PortableServer.lib TAO.lib ace.lib /nologo /subsystem:console /machine:I386 /libpath:"..\orbsvcs" /libpath:"..\..\tao\TypeCodeFactory" /libpath:"..\..\tao\IFR_Client" /libpath:"..\..\tao\IORTable" /libpath:"..\..\tao\PortableServer" /libpath:"..\..\tao" /libpath:"..\..\..\ace"
!ELSEIF "$(CFG)" == "IFR_Service - Win32 Debug"
@@ -76,7 +76,7 @@ BSC32=bscmake.exe
# ADD BSC32 /nologo
LINK32=link.exe
# ADD BASE LINK32 kernel32.lib user32.lib gdi32.lib winspool.lib comdlg32.lib advapi32.lib shell32.lib ole32.lib oleaut32.lib uuid.lib odbc32.lib odbccp32.lib kernel32.lib user32.lib gdi32.lib winspool.lib comdlg32.lib advapi32.lib shell32.lib ole32.lib oleaut32.lib uuid.lib odbc32.lib odbccp32.lib /nologo /subsystem:console /debug /machine:I386 /pdbtype:sept
-# ADD LINK32 TypeCodeFactory_DLLd.lib TAO_Svc_Utilsd.lib TAO_IFR_Clientd.lib TAO_IORTabled.lib TAO_PortableServerd.lib TAOd.lib aced.lib /nologo /subsystem:console /debug /machine:I386 /pdbtype:sept /libpath:"..\orbsvcs" /libpath:"..\..\tao\IFR_Client" /libpath:"..\..\tao\IORTable" /libpath:"..\..\tao\PortableServer" /libpath:"..\..\tao" /libpath:"..\..\..\ace"
+# ADD LINK32 TAO_TypeCodeFactoryd.lib TAO_Svc_Utilsd.lib TAO_IFR_Clientd.lib TAO_IORTabled.lib TAO_PortableServerd.lib TAOd.lib aced.lib /nologo /subsystem:console /debug /machine:I386 /pdbtype:sept /libpath:"..\orbsvcs" /libpath:"..\..\tao\TypeCodeFactory" /libpath:"..\..\tao\IFR_Client" /libpath:"..\..\tao\IORTable" /libpath:"..\..\tao\PortableServer" /libpath:"..\..\tao" /libpath:"..\..\..\ace"
!ENDIF
@@ -89,6 +89,10 @@ LINK32=link.exe
# PROP Default_Filter "cpp;c;cxx;rc;def;r;odl;idl;hpj;bat"
# Begin Source File
+SOURCE=.\AbstractInterfaceDef_i.cpp
+# End Source File
+# Begin Source File
+
SOURCE=.\AliasDef_i.cpp
# End Source File
# Begin Source File
@@ -161,6 +165,22 @@ SOURCE=.\IDLType_i.cpp
# End Source File
# Begin Source File
+SOURCE=.\IFR_BaseS.cpp
+# End Source File
+# Begin Source File
+
+SOURCE=.\IFR_BasicS.cpp
+# End Source File
+# Begin Source File
+
+SOURCE=.\IFR_ComponentsS.cpp
+# End Source File
+# Begin Source File
+
+SOURCE=.\IFR_ExtendedS.cpp
+# End Source File
+# Begin Source File
+
SOURCE=.\IFR_Server.cpp
# End Source File
# Begin Source File
@@ -173,11 +193,11 @@ SOURCE=.\InterfaceDef_i.cpp
# End Source File
# Begin Source File
-SOURCE=.\InterfaceS.cpp
+SOURCE=.\IRObject_i.cpp
# End Source File
# Begin Source File
-SOURCE=.\IRObject_i.cpp
+SOURCE=.\LocalInterfaceDef_i.cpp
# End Source File
# Begin Source File
@@ -273,6 +293,10 @@ SOURCE=.\WstringDef_i.cpp
# PROP Default_Filter "h;hpp;hxx;hm;inl"
# Begin Source File
+SOURCE=.\AbstractInterfaceDef_i.h
+# End Source File
+# Begin Source File
+
SOURCE=.\AliasDef_i.h
# End Source File
# Begin Source File
@@ -349,23 +373,47 @@ SOURCE=.\IDLType_i.h
# End Source File
# Begin Source File
-SOURCE=.\IFR_macro.h
+SOURCE=.\IFR_BaseS.h
# End Source File
# Begin Source File
-SOURCE=.\IFR_Service.h
+SOURCE=.\IFR_BaseS_T.h
# End Source File
# Begin Source File
-SOURCE=.\InterfaceDef_i.h
+SOURCE=.\IFR_BasicS.h
+# End Source File
+# Begin Source File
+
+SOURCE=.\IFR_BasicS_T.h
+# End Source File
+# Begin Source File
+
+SOURCE=.\IFR_ComponentsS.h
# End Source File
# Begin Source File
-SOURCE=.\InterfaceS.h
+SOURCE=.\IFR_ComponentsS_T.h
# End Source File
# Begin Source File
-SOURCE=.\InterfaceS_T.h
+SOURCE=.\IFR_ExtendedS.h
+# End Source File
+# Begin Source File
+
+SOURCE=.\IFR_ExtendedS_T.h
+# End Source File
+# Begin Source File
+
+SOURCE=.\IFR_macro.h
+# End Source File
+# Begin Source File
+
+SOURCE=.\IFR_Service.h
+# End Source File
+# Begin Source File
+
+SOURCE=.\InterfaceDef_i.h
# End Source File
# Begin Source File
@@ -373,6 +421,10 @@ SOURCE=.\IRObject_i.h
# End Source File
# Begin Source File
+SOURCE=.\LocalInterfaceDef_i.h
+# End Source File
+# Begin Source File
+
SOURCE=.\ModuleDef_i.h
# End Source File
# Begin Source File
@@ -461,11 +513,35 @@ SOURCE=.\WstringDef_i.h
# PROP Default_Filter "i"
# Begin Source File
-SOURCE=.\InterfaceS.i
+SOURCE=.\IFR_BaseS.i
+# End Source File
+# Begin Source File
+
+SOURCE=.\IFR_BaseS_T.i
+# End Source File
+# Begin Source File
+
+SOURCE=.\IFR_BasicS.i
+# End Source File
+# Begin Source File
+
+SOURCE=.\IFR_BasicS_T.i
+# End Source File
+# Begin Source File
+
+SOURCE=.\IFR_ComponentsS.i
+# End Source File
+# Begin Source File
+
+SOURCE=.\IFR_ComponentsS_T.i
+# End Source File
+# Begin Source File
+
+SOURCE=.\IFR_ExtendedS.i
# End Source File
# Begin Source File
-SOURCE=.\InterfaceS_T.i
+SOURCE=.\IFR_ExtendedS_T.i
# End Source File
# End Group
# End Target
diff --git a/TAO/orbsvcs/IFR_Service/IFR_Service.h b/TAO/orbsvcs/IFR_Service/IFR_Service.h
index e6cd2f8f546..b2cae2223d4 100644
--- a/TAO/orbsvcs/IFR_Service/IFR_Service.h
+++ b/TAO/orbsvcs/IFR_Service/IFR_Service.h
@@ -18,7 +18,6 @@
#include "tao/PortableServer/PortableServerC.h"
#include "tao/ORB.h"
-#include "tao/IFR_Client/ifrfwd.h"
#if !defined (ACE_LACKS_PRAGMA_ONCE)
# pragma once
@@ -97,7 +96,7 @@ protected:
TAO_Repository_i *repo_impl_;
// The IFR implementation instance.
- IR_Repository_ptr repository_;
+ CORBA_Repository_ptr repository_;
// The Interface Repository object reference.
CORBA::String_var ifr_ior_;
diff --git a/TAO/orbsvcs/IFR_Service/IRObject_i.cpp b/TAO/orbsvcs/IFR_Service/IRObject_i.cpp
index 30dfa8dad2a..3abb5555646 100644
--- a/TAO/orbsvcs/IFR_Service/IRObject_i.cpp
+++ b/TAO/orbsvcs/IFR_Service/IRObject_i.cpp
@@ -2,7 +2,6 @@
// $Id$
#include "IRObject_i.h"
-#include "Repository_i.h"
ACE_RCSID(IFR_Service, IRObject_i, "$Id$")
diff --git a/TAO/orbsvcs/IFR_Service/IRObject_i.h b/TAO/orbsvcs/IFR_Service/IRObject_i.h
index ca9e37a3e07..163bf1de855 100644
--- a/TAO/orbsvcs/IFR_Service/IRObject_i.h
+++ b/TAO/orbsvcs/IFR_Service/IRObject_i.h
@@ -10,7 +10,7 @@
// IRObject_i.h
//
// = DESCRIPTION
-// CORBA::IRObject servant class.
+// IRObject servant class.
//
// = AUTHOR
// Jeff Parsons <parsons@cs.wustl.edu>
@@ -20,7 +20,7 @@
#ifndef TAO_IROBJECT_I_H
#define TAO_IROBJECT_I_H
-#include "InterfaceS.h"
+#include "IFR_BaseS.h"
#include "ace/Configuration.h"
#if !defined (ACE_LACKS_PRAGMA_ONCE)
@@ -36,7 +36,7 @@
class TAO_Repository_i;
-class TAO_IRObject_i : public POA_CORBA_IRObject
+class TAO_IRObject_i : public POA_CORBA::IRObject
{
// = TITLE
// TAO_IRObject_i
@@ -52,7 +52,7 @@ public:
virtual ~TAO_IRObject_i (void);
// Destructor.
- virtual IR_DefinitionKind def_kind (
+ virtual CORBA::DefinitionKind def_kind (
CORBA::Environment &ACE_TRY_ENV =
TAO_default_environment ()
)
diff --git a/TAO/orbsvcs/IFR_Service/InterfaceDef_i.cpp b/TAO/orbsvcs/IFR_Service/InterfaceDef_i.cpp
index 5175d9390c5..e29a15b0951 100644
--- a/TAO/orbsvcs/IFR_Service/InterfaceDef_i.cpp
+++ b/TAO/orbsvcs/IFR_Service/InterfaceDef_i.cpp
@@ -24,11 +24,11 @@ TAO_InterfaceDef_i::~TAO_InterfaceDef_i (void)
{
}
-IR_DefinitionKind
+CORBA::DefinitionKind
TAO_InterfaceDef_i::def_kind (CORBA::Environment &)
ACE_THROW_SPEC ((CORBA::SystemException))
{
- return dk_Interface;
+ return CORBA::dk_Interface;
}
void
@@ -61,7 +61,7 @@ TAO_InterfaceDef_i::destroy_i (CORBA::Environment &ACE_TRY_ENV)
ACE_CHECK;
}
-IR_Contained::Description *
+CORBA_Contained::Description *
TAO_InterfaceDef_i::describe (CORBA::Environment &ACE_TRY_ENV)
ACE_THROW_SPEC ((CORBA::SystemException))
{
@@ -70,22 +70,22 @@ TAO_InterfaceDef_i::describe (CORBA::Environment &ACE_TRY_ENV)
return this->describe_i (ACE_TRY_ENV);
}
-IR_Contained::Description *
+CORBA_Contained::Description *
TAO_InterfaceDef_i::describe_i (CORBA::Environment &ACE_TRY_ENV)
ACE_THROW_SPEC ((CORBA::SystemException))
{
- IR_Contained::Description *desc_ptr = 0;
+ CORBA_Contained::Description *desc_ptr = 0;
ACE_NEW_THROW_EX (desc_ptr,
- IR_Contained::Description,
+ CORBA_Contained::Description,
CORBA::NO_MEMORY ());
ACE_CHECK_RETURN (0);
- IR_Contained::Description_var retval = desc_ptr;
+ CORBA_Contained::Description_var retval = desc_ptr;
retval->kind = this->def_kind (ACE_TRY_ENV);
ACE_CHECK_RETURN (0);
- IR_InterfaceDescription ifd;
+ CORBA_InterfaceDescription ifd;
ifd.name = this->name_i (ACE_TRY_ENV);
ACE_CHECK_RETURN (0);
@@ -105,107 +105,12 @@ TAO_InterfaceDef_i::describe_i (CORBA::Environment &ACE_TRY_ENV)
ACE_CHECK_RETURN (0);
CORBA::ULong i = 0;
- ACE_TString section_name;
- ACE_Unbounded_Queue<ACE_Configuration_Section_Key> key_queue;
-
- // Operations
- ACE_Configuration_Section_Key ops_key;
- int status =
- this->repo_->config ()->open_section (this->section_key_,
- "ops",
- 0,
- ops_key);
-
- u_int count = 0;
-
- if (status == 0)
- {
- this->repo_->config ()->get_integer_value (ops_key,
- "count",
- count);
-
- for (u_int j = 0; j < count; ++j)
- {
- ACE_Configuration_Section_Key op_key;
- CORBA::String_var section_name = this->int_to_string (j);
- status =
- this->repo_->config ()->open_section (ops_key,
- section_name.in (),
- 0,
- op_key);
-
- if (status == 0)
- key_queue.enqueue_tail (op_key);
- }
- }
-
- size_t size = key_queue.size ();
- ifd.operations.length (size);
-
- for (i = 0; i < size; ++i)
- {
- ACE_Configuration_Section_Key key;
- key_queue.dequeue_head (key);
-
- TAO_OperationDef_i op (this->repo_,
- key);
-
- ifd.operations[i] = op.make_description (ACE_TRY_ENV);
- ACE_CHECK_RETURN (0);
- }
-
- // Attributes
- ACE_Configuration_Section_Key attrs_key;
- status =
- this->repo_->config ()->open_section (this->section_key_,
- "attrs",
- 0,
- attrs_key);
-
- count = 0;
-
- if (status == 0)
- {
- this->repo_->config ()->get_integer_value (attrs_key,
- "count",
- count);
-
- for (u_int j = 0; j < count; ++j)
- {
- ACE_Configuration_Section_Key attr_key;
- CORBA::String_var section_name = this->int_to_string (j);
- status =
- this->repo_->config ()->open_section (attrs_key,
- section_name.in (),
- 0,
- attr_key);
-
- if (status == 0)
- key_queue.enqueue_tail (attr_key);
- }
- }
-
- size = key_queue.size ();
- ifd.attributes.length (size);
-
- for (i = 0; i < size; ++i)
- {
- ACE_Configuration_Section_Key key;
- key_queue.dequeue_head (key);
-
- TAO_AttributeDef_i attr (this->repo_,
- key);
-
- ifd.attributes[i] = attr.make_description (ACE_TRY_ENV);
- ACE_CHECK_RETURN (0);
- }
-
- IR_InterfaceDefSeq_var bases = this->base_interfaces_i (ACE_TRY_ENV);
+ CORBA_InterfaceDefSeq_var bases = this->base_interfaces_i (ACE_TRY_ENV);
ACE_CHECK_RETURN (0);
CORBA::ULong length = bases->length ();
- IR_RepositoryIdSeq repo_ids (length);
+ CORBA_RepositoryIdSeq repo_ids (length);
repo_ids.length (length);
@@ -237,15 +142,6 @@ TAO_InterfaceDef_i::describe_i (CORBA::Environment &ACE_TRY_ENV)
ifd.base_interfaces = repo_ids;
- ifd.type = this->type_i (ACE_TRY_ENV);
- ACE_CHECK_RETURN (0);
-
- ifd.is_abstract = this->is_abstract_i (ACE_TRY_ENV);
- ACE_CHECK_RETURN (0);
-
- ifd.is_local = this->is_local_i (ACE_TRY_ENV);
- ACE_CHECK_RETURN (0);
-
retval->value <<= ifd;
return retval._retn ();
@@ -281,7 +177,7 @@ TAO_InterfaceDef_i::type_i (CORBA::Environment &ACE_TRY_ENV)
ACE_TRY_ENV);
}
-IR_InterfaceDefSeq *
+CORBA_InterfaceDefSeq *
TAO_InterfaceDef_i::base_interfaces (CORBA::Environment &ACE_TRY_ENV)
ACE_THROW_SPEC ((CORBA::SystemException))
{
@@ -290,7 +186,7 @@ TAO_InterfaceDef_i::base_interfaces (CORBA::Environment &ACE_TRY_ENV)
return this->base_interfaces_i (ACE_TRY_ENV);
}
-IR_InterfaceDefSeq *
+CORBA_InterfaceDefSeq *
TAO_InterfaceDef_i::base_interfaces_i (CORBA::Environment &ACE_TRY_ENV)
ACE_THROW_SPEC ((CORBA::SystemException))
{
@@ -305,8 +201,8 @@ TAO_InterfaceDef_i::base_interfaces_i (CORBA::Environment &ACE_TRY_ENV)
u_int kind = 0;
ACE_Configuration::VALUETYPE type;
ACE_TString section_name, inherited_path;
- IR_DefinitionKind def_kind = dk_none;
- ACE_Unbounded_Queue<IR_DefinitionKind> kind_queue;
+ CORBA::DefinitionKind def_kind = CORBA::dk_none;
+ ACE_Unbounded_Queue<CORBA::DefinitionKind> kind_queue;
ACE_Unbounded_Queue<ACE_TString> path_queue;
ACE_Configuration_Section_Key base_key;
@@ -334,7 +230,7 @@ TAO_InterfaceDef_i::base_interfaces_i (CORBA::Environment &ACE_TRY_ENV)
"def_kind",
kind);
- def_kind = ACE_static_cast (IR_DefinitionKind, kind);
+ def_kind = ACE_static_cast (CORBA::DefinitionKind, kind);
kind_queue.enqueue_tail (def_kind);
}
@@ -342,18 +238,18 @@ TAO_InterfaceDef_i::base_interfaces_i (CORBA::Environment &ACE_TRY_ENV)
size_t size = kind_queue.size ();
- IR_InterfaceDefSeq *seq = 0;
+ CORBA_InterfaceDefSeq *seq = 0;
ACE_NEW_THROW_EX (seq,
- IR_InterfaceDefSeq (size),
+ CORBA_InterfaceDefSeq (size),
CORBA::NO_MEMORY ());
ACE_CHECK_RETURN (0);
seq->length (size);
- IR_InterfaceDefSeq_var retval = seq;
+ CORBA_InterfaceDefSeq_var retval = seq;
for (CORBA::ULong i = 0; i < size; ++i)
{
- IR_DefinitionKind def_kind;
+ CORBA::DefinitionKind def_kind;
kind_queue.dequeue_head (def_kind);
ACE_TString path;
@@ -367,7 +263,7 @@ TAO_InterfaceDef_i::base_interfaces_i (CORBA::Environment &ACE_TRY_ENV)
);
ACE_CHECK_RETURN (0);
- retval[i] = IR_InterfaceDef::_narrow (obj.in (),
+ retval[i] = CORBA_InterfaceDef::_narrow (obj.in (),
ACE_TRY_ENV);
ACE_CHECK_RETURN (0);
}
@@ -376,7 +272,7 @@ TAO_InterfaceDef_i::base_interfaces_i (CORBA::Environment &ACE_TRY_ENV)
}
void
-TAO_InterfaceDef_i::base_interfaces (const IR_InterfaceDefSeq &base_interfaces,
+TAO_InterfaceDef_i::base_interfaces (const CORBA_InterfaceDefSeq &base_interfaces,
CORBA::Environment &ACE_TRY_ENV)
ACE_THROW_SPEC ((CORBA::SystemException))
{
@@ -387,7 +283,7 @@ TAO_InterfaceDef_i::base_interfaces (const IR_InterfaceDefSeq &base_interfaces,
}
void
-TAO_InterfaceDef_i::base_interfaces_i (const IR_InterfaceDefSeq &base_interfaces,
+TAO_InterfaceDef_i::base_interfaces_i (const CORBA_InterfaceDefSeq &base_interfaces,
CORBA::Environment &ACE_TRY_ENV)
ACE_THROW_SPEC ((CORBA::SystemException))
{
@@ -443,92 +339,6 @@ TAO_InterfaceDef_i::base_interfaces_i (const IR_InterfaceDefSeq &base_interfaces
}
CORBA::Boolean
-TAO_InterfaceDef_i::is_abstract (CORBA::Environment &ACE_TRY_ENV)
- ACE_THROW_SPEC ((CORBA::SystemException))
-{
- TAO_IFR_READ_GUARD_RETURN (0);
-
- return this->is_abstract_i (ACE_TRY_ENV);
-}
-
-CORBA::Boolean
-TAO_InterfaceDef_i::is_abstract_i (CORBA::Environment &)
- ACE_THROW_SPEC ((CORBA::SystemException))
-{
- u_int is_abstract = 0;
-
- this->repo_->config ()->get_integer_value (this->section_key_,
- "is_abstract",
- is_abstract);
-
- return ACE_static_cast (CORBA::Boolean, is_abstract);;
-}
-
-void
-TAO_InterfaceDef_i::is_abstract (CORBA::Boolean is_abstract,
- CORBA::Environment &ACE_TRY_ENV)
- ACE_THROW_SPEC ((CORBA::SystemException))
-{
- TAO_IFR_WRITE_GUARD;
-
- this->is_abstract_i (is_abstract,
- ACE_TRY_ENV);
-}
-
-void
-TAO_InterfaceDef_i::is_abstract_i (CORBA::Boolean is_abstract,
- CORBA::Environment &)
- ACE_THROW_SPEC ((CORBA::SystemException))
-{
- this->repo_->config ()->set_integer_value (this->section_key_,
- "is_abstract",
- is_abstract);
-}
-
-CORBA::Boolean
-TAO_InterfaceDef_i::is_local (CORBA::Environment &ACE_TRY_ENV)
- ACE_THROW_SPEC ((CORBA::SystemException))
-{
- TAO_IFR_READ_GUARD_RETURN (0);
-
- return this->is_local_i (ACE_TRY_ENV);
-}
-
-CORBA::Boolean
-TAO_InterfaceDef_i::is_local_i (CORBA::Environment &)
- ACE_THROW_SPEC ((CORBA::SystemException))
-{
- u_int is_local = 0;
-
- this->repo_->config ()->get_integer_value (this->section_key_,
- "is_local",
- is_local);
-
- return ACE_static_cast (CORBA::Boolean, is_local);;
-}
-
-void
-TAO_InterfaceDef_i::is_local (CORBA::Boolean is_local,
- CORBA::Environment &ACE_TRY_ENV)
- ACE_THROW_SPEC ((CORBA::SystemException))
-{
- TAO_IFR_WRITE_GUARD;
-
- this->is_local_i (is_local,
- ACE_TRY_ENV);
-}
-
-void
-TAO_InterfaceDef_i::is_local_i (CORBA::Boolean is_local,
- CORBA::Environment &)
- ACE_THROW_SPEC ((CORBA::SystemException))
-{
- this->repo_->config ()->set_integer_value (this->section_key_,
- "is_local",
- is_local);
-}
-
-CORBA::Boolean
TAO_InterfaceDef_i::is_a (const char *interface_id,
CORBA::Environment &ACE_TRY_ENV)
ACE_THROW_SPEC ((CORBA::SystemException))
@@ -552,7 +362,7 @@ TAO_InterfaceDef_i::is_a_i (const char *interface_id,
return 1;
// Is it one of our ancestors' types?
- IR_InterfaceDefSeq_var bases = this->base_interfaces_i (ACE_TRY_ENV);
+ CORBA_InterfaceDefSeq_var bases = this->base_interfaces_i (ACE_TRY_ENV);
ACE_CHECK_RETURN (0);
CORBA::ULong length = bases->length ();
@@ -590,40 +400,210 @@ TAO_InterfaceDef_i::is_a_i (const char *interface_id,
return 0;
}
-IR_AttributeDef_ptr
+CORBA_InterfaceDef::FullInterfaceDescription *
+TAO_InterfaceDef_i::describe_interface (CORBA::Environment &ACE_TRY_ENV)
+ ACE_THROW_SPEC ((CORBA::SystemException))
+{
+ TAO_IFR_READ_GUARD_RETURN (0);
+
+ return this->describe_interface_i (ACE_TRY_ENV);
+}
+
+CORBA_InterfaceDef::FullInterfaceDescription *
+TAO_InterfaceDef_i::describe_interface_i (CORBA::Environment &ACE_TRY_ENV)
+ ACE_THROW_SPEC ((CORBA::SystemException))
+{
+ CORBA_InterfaceDef::FullInterfaceDescription *fifd = 0;
+ ACE_NEW_RETURN (fifd,
+ CORBA_InterfaceDef::FullInterfaceDescription,
+ 0);
+
+ CORBA_InterfaceDef::FullInterfaceDescription_var retval = fifd;
+
+ fifd->name = this->name_i (ACE_TRY_ENV);
+ ACE_CHECK_RETURN (0);
+
+ fifd->id = this->id_i (ACE_TRY_ENV);
+ ACE_CHECK_RETURN (0);
+
+ ACE_TString container_id;
+
+ this->repo_->config ()->get_string_value (this->section_key_,
+ "container_id",
+ container_id);
+
+ fifd->defined_in = container_id.c_str ();
+
+ fifd->version = this->version_i (ACE_TRY_ENV);
+ ACE_CHECK_RETURN (0);
+
+ CORBA::ULong i = 0;
+ ACE_TString section_name;
+ ACE_Unbounded_Queue<ACE_Configuration_Section_Key> key_queue;
+
+ // Operations
+ ACE_Configuration_Section_Key ops_key;
+ int status =
+ this->repo_->config ()->open_section (this->section_key_,
+ "ops",
+ 0,
+ ops_key);
+
+ u_int count = 0;
+
+ if (status == 0)
+ {
+ this->repo_->config ()->get_integer_value (ops_key,
+ "count",
+ count);
+
+ for (u_int j = 0; j < count; ++j)
+ {
+ ACE_Configuration_Section_Key op_key;
+ CORBA::String_var section_name = this->int_to_string (j);
+ status =
+ this->repo_->config ()->open_section (ops_key,
+ section_name.in (),
+ 0,
+ op_key);
+
+ if (status == 0)
+ key_queue.enqueue_tail (op_key);
+ }
+ }
+
+ size_t size = key_queue.size ();
+ fifd->operations.length (size);
+
+ for (i = 0; i < size; ++i)
+ {
+ ACE_Configuration_Section_Key key;
+ key_queue.dequeue_head (key);
+
+ TAO_OperationDef_i op (this->repo_,
+ key);
+
+ fifd->operations[i] = op.make_description (ACE_TRY_ENV);
+ ACE_CHECK_RETURN (0);
+ }
+
+ // Attributes
+ ACE_Configuration_Section_Key attrs_key;
+ status =
+ this->repo_->config ()->open_section (this->section_key_,
+ "attrs",
+ 0,
+ attrs_key);
+
+ count = 0;
+
+ if (status == 0)
+ {
+ this->repo_->config ()->get_integer_value (attrs_key,
+ "count",
+ count);
+
+ for (u_int j = 0; j < count; ++j)
+ {
+ ACE_Configuration_Section_Key attr_key;
+ CORBA::String_var section_name = this->int_to_string (j);
+ status =
+ this->repo_->config ()->open_section (attrs_key,
+ section_name.in (),
+ 0,
+ attr_key);
+
+ if (status == 0)
+ key_queue.enqueue_tail (attr_key);
+ }
+ }
+
+ size = key_queue.size ();
+ fifd->attributes.length (size);
+
+ for (i = 0; i < size; ++i)
+ {
+ ACE_Configuration_Section_Key key;
+ key_queue.dequeue_head (key);
+
+ TAO_AttributeDef_i attr (this->repo_,
+ key);
+
+ fifd->attributes[i] = attr.make_description (ACE_TRY_ENV);
+ ACE_CHECK_RETURN (0);
+ }
+
+ CORBA_InterfaceDefSeq_var bases = this->base_interfaces_i (ACE_TRY_ENV);
+ ACE_CHECK_RETURN (0);
+
+ CORBA::ULong length = bases->length ();
+
+ CORBA_RepositoryIdSeq repo_ids (length);
+
+ repo_ids.length (length);
+
+ PortableServer::ObjectId_var oid;
+ CORBA::String_var base_path;
+ ACE_Configuration_Section_Key base_key;
+
+ for (i = 0; i < length; ++i)
+ {
+ oid =
+ this->repo_->ir_poa ()->reference_to_id (bases[i],
+ ACE_TRY_ENV);
+ ACE_CHECK_RETURN (0);
+
+ base_path =
+ PortableServer::ObjectId_to_string (oid.in ());
+
+ this->repo_->config ()->expand_path (this->repo_->root_key (),
+ base_path.in (),
+ base_key,
+ 0);
+
+ TAO_InterfaceDef_i impl (this->repo_,
+ base_key);
+
+ repo_ids[i] = impl.id_i (ACE_TRY_ENV);
+ ACE_CHECK_RETURN (0);
+ }
+
+ fifd->base_interfaces = repo_ids;
+
+ fifd->type = this->type_i (ACE_TRY_ENV);
+ ACE_CHECK_RETURN (0);
+
+ return retval._retn ();
+}
+
+CORBA_AttributeDef_ptr
TAO_InterfaceDef_i::create_attribute (
const char *id,
const char *name,
const char *version,
- IR_IDLType_ptr type,
- IR_AttributeMode mode,
- const IR_ExceptionDefSeq &get_exceptions,
- const IR_ExceptionDefSeq &put_exceptions,
+ CORBA_IDLType_ptr type,
+ CORBA::AttributeMode mode,
CORBA::Environment &ACE_TRY_ENV
)
ACE_THROW_SPEC ((CORBA::SystemException))
{
- TAO_IFR_WRITE_GUARD_RETURN (IR_AttributeDef::_nil ());
+ TAO_IFR_WRITE_GUARD_RETURN (CORBA_AttributeDef::_nil ());
return this->create_attribute_i (id,
name,
version,
type,
mode,
- get_exceptions,
- put_exceptions,
ACE_TRY_ENV);
}
-IR_AttributeDef_ptr
+CORBA_AttributeDef_ptr
TAO_InterfaceDef_i::create_attribute_i (
const char *id,
const char *name,
const char *version,
- IR_IDLType_ptr type,
- IR_AttributeMode mode,
- const IR_ExceptionDefSeq &get_exceptions,
- const IR_ExceptionDefSeq &put_exceptions,
+ CORBA_IDLType_ptr type,
+ CORBA::AttributeMode mode,
CORBA::Environment &ACE_TRY_ENV
)
ACE_THROW_SPEC ((CORBA::SystemException))
@@ -631,10 +611,10 @@ TAO_InterfaceDef_i::create_attribute_i (
CORBA::Boolean bad_params = this->pre_exist (id,
name,
ACE_TRY_ENV);
- ACE_CHECK_RETURN (IR_AttributeDef::_nil ());
+ ACE_CHECK_RETURN (CORBA_AttributeDef::_nil ());
if (bad_params)
- return IR_AttributeDef::_nil ();
+ return CORBA_AttributeDef::_nil ();
ACE_Configuration_Section_Key attrs_key;
@@ -646,20 +626,20 @@ TAO_InterfaceDef_i::create_attribute_i (
ACE_Configuration_Section_Key new_key;
- // Common to all IR objects created in IR_Container.
+ // Common to all IR objects created in CORBA_Container.
ACE_TString path = this->create_common (attrs_key,
new_key,
id,
name,
version,
"attrs\\",
- dk_Attribute);
+ CORBA::dk_Attribute);
// Store the path to the attribute's type definition.
PortableServer::ObjectId_var oid =
this->repo_->ir_poa ()->reference_to_id (type,
ACE_TRY_ENV);
- ACE_CHECK_RETURN (IR_AttributeDef::_nil ());
+ ACE_CHECK_RETURN (CORBA_AttributeDef::_nil ());
CORBA::String_var type_path =
PortableServer::ObjectId_to_string (oid.in ());
@@ -675,6 +655,8 @@ TAO_InterfaceDef_i::create_attribute_i (
CORBA::ULong i = 0;
+#if 0 // CCM specific.
+
CORBA::ULong length = get_exceptions.length ();
if (length > 0)
@@ -694,7 +676,7 @@ TAO_InterfaceDef_i::create_attribute_i (
this->repo_->ir_poa ()->reference_to_id (get_exceptions[i],
ACE_TRY_ENV);
- ACE_CHECK_RETURN (IR_AttributeDef::_nil ());
+ ACE_CHECK_RETURN (CORBA_AttributeDef::_nil ());
CORBA::String_var get_except_path =
PortableServer::ObjectId_to_string (oid.in ());
@@ -726,7 +708,7 @@ TAO_InterfaceDef_i::create_attribute_i (
this->repo_->ir_poa ()->reference_to_id (put_exceptions[i],
ACE_TRY_ENV);
- ACE_CHECK_RETURN (IR_AttributeDef::_nil ());
+ ACE_CHECK_RETURN (CORBA_AttributeDef::_nil ());
CORBA::String_var put_except_path =
PortableServer::ObjectId_to_string (oid.in ());
@@ -739,34 +721,36 @@ TAO_InterfaceDef_i::create_attribute_i (
}
}
+#endif /* CCM specific. */
+
// Create the object reference.
CORBA::Object_var obj =
- this->repo_->servant_factory ()->create_objref (dk_Attribute,
+ this->repo_->servant_factory ()->create_objref (CORBA::dk_Attribute,
path.c_str (),
ACE_TRY_ENV);
- ACE_CHECK_RETURN (IR_AttributeDef::_nil ());
+ ACE_CHECK_RETURN (CORBA_AttributeDef::_nil ());
- IR_AttributeDef_var retval =
- IR_AttributeDef::_narrow (obj.in (),
+ CORBA_AttributeDef_var retval =
+ CORBA_AttributeDef::_narrow (obj.in (),
ACE_TRY_ENV);
- ACE_CHECK_RETURN (IR_AttributeDef::_nil ());
+ ACE_CHECK_RETURN (CORBA_AttributeDef::_nil ());
return retval._retn ();
}
-IR_OperationDef_ptr
+CORBA_OperationDef_ptr
TAO_InterfaceDef_i::create_operation (const char *id,
const char *name,
const char *version,
- IR_IDLType_ptr result,
- IR_OperationMode mode,
- const IR_ParDescriptionSeq &params,
- const IR_ExceptionDefSeq &exceptions,
- const IR_ContextIdSeq &contexts,
+ CORBA_IDLType_ptr result,
+ CORBA::OperationMode mode,
+ const CORBA_ParDescriptionSeq &params,
+ const CORBA_ExceptionDefSeq &exceptions,
+ const CORBA_ContextIdSeq &contexts,
CORBA::Environment &ACE_TRY_ENV)
ACE_THROW_SPEC ((CORBA::SystemException))
{
- TAO_IFR_WRITE_GUARD_RETURN (IR_OperationDef::_nil ());
+ TAO_IFR_WRITE_GUARD_RETURN (CORBA_OperationDef::_nil ());
return this->create_operation_i (id,
name,
@@ -779,25 +763,25 @@ TAO_InterfaceDef_i::create_operation (const char *id,
ACE_TRY_ENV);
}
-IR_OperationDef_ptr
+CORBA_OperationDef_ptr
TAO_InterfaceDef_i::create_operation_i (const char *id,
const char *name,
const char *version,
- IR_IDLType_ptr result,
- IR_OperationMode mode,
- const IR_ParDescriptionSeq &params,
- const IR_ExceptionDefSeq &exceptions,
- const IR_ContextIdSeq &contexts,
+ CORBA_IDLType_ptr result,
+ CORBA::OperationMode mode,
+ const CORBA_ParDescriptionSeq &params,
+ const CORBA_ExceptionDefSeq &exceptions,
+ const CORBA_ContextIdSeq &contexts,
CORBA::Environment &ACE_TRY_ENV)
ACE_THROW_SPEC ((CORBA::SystemException))
{
CORBA::Boolean bad_params = this->pre_exist (id,
name,
ACE_TRY_ENV);
- ACE_CHECK_RETURN (IR_OperationDef::_nil ());
+ ACE_CHECK_RETURN (CORBA_OperationDef::_nil ());
if (bad_params)
- return IR_OperationDef::_nil ();
+ return CORBA_OperationDef::_nil ();
ACE_Configuration_Section_Key ops_key;
@@ -809,20 +793,20 @@ TAO_InterfaceDef_i::create_operation_i (const char *id,
ACE_Configuration_Section_Key new_key;
- // Common to all IR objects created in IR_Container.
+ // Common to all IR objects created in CORBA_Container.
ACE_TString path = this->create_common (ops_key,
new_key,
id,
name,
version,
"ops\\",
- dk_Operation);
+ CORBA::dk_Operation);
// Get the path to our return type and store it.
PortableServer::ObjectId_var oid =
this->repo_->ir_poa ()->reference_to_id (result,
ACE_TRY_ENV);
- ACE_CHECK_RETURN (IR_OperationDef::_nil ());
+ ACE_CHECK_RETURN (CORBA_OperationDef::_nil ());
CORBA::String_var result_path =
PortableServer::ObjectId_to_string (oid.in ());
@@ -871,7 +855,7 @@ TAO_InterfaceDef_i::create_operation_i (const char *id,
this->repo_->ir_poa ()->reference_to_id (params[i].type_def.in (),
ACE_TRY_ENV);
- ACE_CHECK_RETURN (IR_OperationDef::_nil ());
+ ACE_CHECK_RETURN (CORBA_OperationDef::_nil ());
CORBA::String_var type_path =
PortableServer::ObjectId_to_string (oid.in ());
@@ -904,7 +888,7 @@ TAO_InterfaceDef_i::create_operation_i (const char *id,
this->repo_->ir_poa ()->reference_to_id (exceptions[i],
ACE_TRY_ENV);
- ACE_CHECK_RETURN (IR_OperationDef::_nil ());
+ ACE_CHECK_RETURN (CORBA_OperationDef::_nil ());
CORBA::String_var type_path =
PortableServer::ObjectId_to_string (oid.in ());
@@ -941,24 +925,24 @@ TAO_InterfaceDef_i::create_operation_i (const char *id,
// Create the object reference.
CORBA::Object_var obj =
- this->repo_->servant_factory ()->create_objref (dk_Operation,
+ this->repo_->servant_factory ()->create_objref (CORBA::dk_Operation,
path.c_str (),
ACE_TRY_ENV);
- ACE_CHECK_RETURN (IR_OperationDef::_nil ());
+ ACE_CHECK_RETURN (CORBA_OperationDef::_nil ());
- IR_OperationDef_var retval =
- IR_OperationDef::_narrow (obj.in (),
+ CORBA_OperationDef_var retval =
+ CORBA_OperationDef::_narrow (obj.in (),
ACE_TRY_ENV);
- ACE_CHECK_RETURN (IR_OperationDef::_nil ());
+ ACE_CHECK_RETURN (CORBA_OperationDef::_nil ());
return retval._retn ();
}
void
TAO_InterfaceDef_i::interface_contents (
- ACE_Unbounded_Queue<IR_DefinitionKind> &kind_queue,
+ ACE_Unbounded_Queue<CORBA::DefinitionKind> &kind_queue,
ACE_Unbounded_Queue<ACE_TString> &path_queue,
- IR_DefinitionKind limit_type,
+ CORBA::DefinitionKind limit_type,
CORBA::Boolean exclude_inherited,
CORBA::Environment &ACE_TRY_ENV
)
@@ -978,8 +962,8 @@ TAO_InterfaceDef_i::interface_contents (
int index = 0;
// Attributes
- if (limit_type == dk_Attribute
- || limit_type == dk_all)
+ if (limit_type == CORBA::dk_Attribute
+ || limit_type == CORBA::dk_all)
{
ACE_Configuration_Section_Key attrs_key;
this->repo_->config ()->open_section (this->section_key_,
@@ -992,7 +976,7 @@ TAO_InterfaceDef_i::interface_contents (
section_name)
== 0)
{
- kind_queue.enqueue_tail (dk_Attribute);
+ kind_queue.enqueue_tail (CORBA::dk_Attribute);
path_queue.enqueue_tail (
path + "\\attrs\\" + section_name.c_str ()
@@ -1001,8 +985,8 @@ TAO_InterfaceDef_i::interface_contents (
}
// Operations
- if (limit_type == dk_Operation
- || limit_type == dk_all)
+ if (limit_type == CORBA::dk_Operation
+ || limit_type == CORBA::dk_all)
{
index = 0;
@@ -1017,7 +1001,7 @@ TAO_InterfaceDef_i::interface_contents (
section_name)
== 0)
{
- kind_queue.enqueue_tail (dk_Operation);
+ kind_queue.enqueue_tail (CORBA::dk_Operation);
path_queue.enqueue_tail (
path + "\\ops\\" + section_name.c_str ()
diff --git a/TAO/orbsvcs/IFR_Service/InterfaceDef_i.h b/TAO/orbsvcs/IFR_Service/InterfaceDef_i.h
index 95685cf096f..697866ae605 100644
--- a/TAO/orbsvcs/IFR_Service/InterfaceDef_i.h
+++ b/TAO/orbsvcs/IFR_Service/InterfaceDef_i.h
@@ -10,7 +10,7 @@
// InterfaceDef_i.h
//
// = DESCRIPTION
-// IR_InterfaceDef servant class.
+// InterfaceDef servant class.
//
// = AUTHOR
// Jeff Parsons <parsons@cs.wustl.edu>
@@ -20,6 +20,7 @@
#ifndef TAO_INTERFACEDEF_I_H
#define TAO_INTERFACEDEF_I_H
+#include "Container_i.h"
#include "Contained_i.h"
#include "IDLType_i.h"
@@ -52,7 +53,7 @@ public:
virtual ~TAO_InterfaceDef_i (void);
// Destructor
- virtual IR_DefinitionKind def_kind (
+ virtual CORBA::DefinitionKind def_kind (
CORBA::Environment &ACE_TRY_ENV =
TAO_default_environment ()
)
@@ -72,14 +73,14 @@ public:
)
ACE_THROW_SPEC ((CORBA::SystemException));
- virtual IR_Contained::Description *describe (
+ virtual CORBA_Contained::Description *describe (
CORBA::Environment &ACE_TRY_ENV =
TAO_default_environment ()
)
ACE_THROW_SPEC ((CORBA::SystemException));
// From Contained_i's pure virtual function.
- virtual IR_Contained::Description *describe_i (
+ virtual CORBA_Contained::Description *describe_i (
CORBA::Environment &ACE_TRY_ENV =
TAO_default_environment ()
)
@@ -100,156 +101,112 @@ public:
ACE_THROW_SPEC ((CORBA::SystemException));
// From IDLType_i's pure virtual function.
- virtual IR_InterfaceDefSeq *base_interfaces (
+ virtual CORBA_InterfaceDefSeq *base_interfaces (
CORBA::Environment &ACE_TRY_ENV =
TAO_default_environment ()
)
ACE_THROW_SPEC ((CORBA::SystemException));
- IR_InterfaceDefSeq *base_interfaces_i (
+ CORBA_InterfaceDefSeq *base_interfaces_i (
CORBA::Environment &ACE_TRY_ENV =
TAO_default_environment ()
)
ACE_THROW_SPEC ((CORBA::SystemException));
virtual void base_interfaces (
- const IR_InterfaceDefSeq &base_interfaces,
+ const CORBA_InterfaceDefSeq &base_interfaces,
CORBA::Environment &ACE_TRY_ENV =
TAO_default_environment ()
)
ACE_THROW_SPEC ((CORBA::SystemException));
void base_interfaces_i (
- const IR_InterfaceDefSeq &base_interfaces,
+ const CORBA_InterfaceDefSeq &base_interfaces,
CORBA::Environment &ACE_TRY_ENV =
TAO_default_environment ()
)
ACE_THROW_SPEC ((CORBA::SystemException));
- virtual CORBA::Boolean is_abstract (
- CORBA::Environment &ACE_TRY_ENV =
- TAO_default_environment ()
- )
- ACE_THROW_SPEC ((CORBA::SystemException));
-
- CORBA::Boolean is_abstract_i (
- CORBA::Environment &ACE_TRY_ENV =
- TAO_default_environment ()
- )
- ACE_THROW_SPEC ((CORBA::SystemException));
-
- virtual void is_abstract (
- CORBA::Boolean is_abstract,
- CORBA::Environment &ACE_TRY_ENV =
- TAO_default_environment ()
- )
- ACE_THROW_SPEC ((CORBA::SystemException));
-
- void is_abstract_i (
- CORBA::Boolean is_abstract,
- CORBA::Environment &ACE_TRY_ENV =
- TAO_default_environment ()
- )
- ACE_THROW_SPEC ((CORBA::SystemException));
-
- virtual CORBA::Boolean is_local (
- CORBA::Environment &ACE_TRY_ENV =
- TAO_default_environment ()
- )
- ACE_THROW_SPEC ((CORBA::SystemException));
-
- CORBA::Boolean is_local_i (
- CORBA::Environment &ACE_TRY_ENV =
- TAO_default_environment ()
- )
- ACE_THROW_SPEC ((CORBA::SystemException));
-
- virtual void is_local (
- CORBA::Boolean is_local,
+ virtual CORBA::Boolean is_a (
+ const char *interface_id,
CORBA::Environment &ACE_TRY_ENV =
TAO_default_environment ()
)
ACE_THROW_SPEC ((CORBA::SystemException));
- void is_local_i (
- CORBA::Boolean is_local,
+ CORBA::Boolean is_a_i (
+ const char *interface_id,
CORBA::Environment &ACE_TRY_ENV =
TAO_default_environment ()
)
ACE_THROW_SPEC ((CORBA::SystemException));
- virtual CORBA::Boolean is_a (
- const char *interface_id,
+ virtual CORBA_InterfaceDef::FullInterfaceDescription *describe_interface (
CORBA::Environment &ACE_TRY_ENV =
TAO_default_environment ()
)
- ACE_THROW_SPEC ((CORBA::SystemException));
+ ACE_THROW_SPEC ((CORBA::SystemException));
- CORBA::Boolean is_a_i (
- const char *interface_id,
+ CORBA_InterfaceDef::FullInterfaceDescription *describe_interface_i (
CORBA::Environment &ACE_TRY_ENV =
TAO_default_environment ()
)
- ACE_THROW_SPEC ((CORBA::SystemException));
+ ACE_THROW_SPEC ((CORBA::SystemException));
- virtual IR_AttributeDef_ptr create_attribute (
+ virtual CORBA_AttributeDef_ptr create_attribute (
const char *id,
const char *name,
const char *version,
- IR_IDLType_ptr type,
- IR_AttributeMode mode,
- const IR_ExceptionDefSeq &get_exceptions,
- const IR_ExceptionDefSeq &put_exceptions,
+ CORBA_IDLType_ptr type,
+ CORBA::AttributeMode mode,
CORBA::Environment &ACE_TRY_ENV =
TAO_default_environment ()
)
ACE_THROW_SPEC ((CORBA::SystemException));
- IR_AttributeDef_ptr create_attribute_i (
+ CORBA_AttributeDef_ptr create_attribute_i (
const char *id,
const char *name,
const char *version,
- IR_IDLType_ptr type,
- IR_AttributeMode mode,
- const IR_ExceptionDefSeq &get_exceptions,
- const IR_ExceptionDefSeq &put_exceptions,
+ CORBA_IDLType_ptr type,
+ CORBA::AttributeMode mode,
CORBA::Environment &ACE_TRY_ENV =
TAO_default_environment ()
)
ACE_THROW_SPEC ((CORBA::SystemException));
- virtual IR_OperationDef_ptr create_operation (
+ virtual CORBA_OperationDef_ptr create_operation (
const char *id,
const char *name,
const char *version,
- IR_IDLType_ptr result,
- IR_OperationMode mode,
- const IR_ParDescriptionSeq &params,
- const IR_ExceptionDefSeq &exceptions,
- const IR_ContextIdSeq &contexts,
+ CORBA_IDLType_ptr result,
+ CORBA::OperationMode mode,
+ const CORBA_ParDescriptionSeq &params,
+ const CORBA_ExceptionDefSeq &exceptions,
+ const CORBA_ContextIdSeq &contexts,
CORBA::Environment &ACE_TRY_ENV =
TAO_default_environment ()
)
ACE_THROW_SPEC ((CORBA::SystemException));
- IR_OperationDef_ptr create_operation_i (
+ CORBA_OperationDef_ptr create_operation_i (
const char *id,
const char *name,
const char *version,
- IR_IDLType_ptr result,
- IR_OperationMode mode,
- const IR_ParDescriptionSeq &params,
- const IR_ExceptionDefSeq &exceptions,
- const IR_ContextIdSeq &contexts,
+ CORBA_IDLType_ptr result,
+ CORBA::OperationMode mode,
+ const CORBA_ParDescriptionSeq &params,
+ const CORBA_ExceptionDefSeq &exceptions,
+ const CORBA_ContextIdSeq &contexts,
CORBA::Environment &ACE_TRY_ENV =
TAO_default_environment ()
)
ACE_THROW_SPEC ((CORBA::SystemException));
void interface_contents (
- ACE_Unbounded_Queue<IR_DefinitionKind> &kind_queue,
+ ACE_Unbounded_Queue<CORBA::DefinitionKind> &kind_queue,
ACE_Unbounded_Queue<ACE_TString> &path_queue,
- IR_DefinitionKind limit_type,
+ CORBA::DefinitionKind limit_type,
CORBA::Boolean exclude_inherited,
CORBA::Environment &ACE_TRY_ENV =
TAO_default_environment ()
diff --git a/TAO/orbsvcs/IFR_Service/InterfaceS.cpp b/TAO/orbsvcs/IFR_Service/InterfaceS.cpp
deleted file mode 100644
index 97cbe2aa26f..00000000000
--- a/TAO/orbsvcs/IFR_Service/InterfaceS.cpp
+++ /dev/null
@@ -1,46153 +0,0 @@
-// -*- C++ -*-
-//
-// $Id$
-
-// **** Code generated by the The ACE ORB (TAO) IDL Compiler ****
-// TAO and the TAO IDL Compiler have been developed by:
-// Center for Distributed Object Computing
-// Washington University
-// St. Louis, MO
-// USA
-// http://www.cs.wustl.edu/~schmidt/doc-center.html
-// and
-// Distributed Object Computing Laboratory
-// University of California at Irvine
-// Irvine, CA
-// USA
-// http://doc.ece.uci.edu/
-//
-// Information about TAO is available at:
-// http://www.cs.wustl.edu/~schmidt/TAO.html
-
-#ifndef TAO_IDL_INTERFACES_CPP
-#define TAO_IDL_INTERFACES_CPP
-
-#include "InterfaceS.h"
-#include "tao/PortableServer/Object_Adapter.h"
-#include "tao/PortableServer/Operation_Table.h"
-
-ACE_RCSID(IFR_Service, InterfaceS, "$Id$")
-
-#if TAO_HAS_INTERCEPTORS == 1
-#include "tao/RequestInfo_Util.h"
-#endif /* TAO_HAS_INTERCEPTORS == 1 */
-
-#if defined (__BORLANDC__)
-#pragma option -w-rvl -w-rch -w-ccc -w-aus
-#endif /* __BORLANDC__ */
-
-#if !defined (__ACE_INLINE__)
-#include "InterfaceS.i"
-#endif /* !defined INLINE */
-
-class TAO_CORBA_IRObject_Perfect_Hash_OpTable : public TAO_Perfect_Hash_OpTable
-{
-private:
- unsigned int hash (const char *str, unsigned int len);
-public:
- const TAO_operation_db_entry * lookup (const char *str, unsigned int len);
-};
-/* starting time is 22:05:52 */
-/* C++ code produced by gperf version 2.8 (ACE version) */
-/* Command-line: gperf -m -M -J -c -C -D -E -T -f 0 -F 0 -a -o -t -p -K opname_ -L C++ -Z TAO_CORBA_IRObject_Perfect_Hash_OpTable -N lookup */
-unsigned int
-TAO_CORBA_IRObject_Perfect_Hash_OpTable::hash (const char *str, unsigned int len)
-{
- static const unsigned char asso_values[] =
- {
-#if defined (ACE_MVS)
- 15, 15, 15, 15, 15, 15, 15, 15, 15, 15,
- 15, 15, 15, 15, 15, 15, 15, 15, 15, 15,
- 15, 15, 15, 15, 15, 15, 15, 15, 15, 15,
- 15, 15, 15, 15, 15, 15, 15, 15, 15, 15,
- 15, 15, 15, 15, 15, 15, 15, 15, 15, 15,
- 15, 15, 15, 15, 15, 15, 15, 15, 15, 15,
- 15, 15, 15, 15, 15, 15, 15, 15, 15, 15,
- 15, 15, 15, 15, 15, 15, 15, 15, 15, 15,
- 15, 15, 15, 15, 15, 15, 15, 15, 15, 15,
- 15, 15, 15, 15, 15, 15, 15, 15, 15, 15,
- 15, 15, 15, 15, 15, 15, 15, 15, 15, 0,
- 15, 15, 15, 15, 15, 15, 15, 15, 15, 15,
- 15, 15, 15, 15, 15, 15, 15, 15, 15, 0,
- 15, 15, 0, 15, 15, 15, 15, 15, 15, 15,
- 15, 15, 15, 15, 15, 15, 15, 15, 15, 15,
- 15, 15, 15, 15, 15, 15, 15, 15, 15, 15,
- 15, 15, 15, 1, 15, 15, 15, 15, 0, 15,
- 15, 15, 15, 15, 15, 15, 15, 15, 15, 15,
- 15, 15, 15, 15, 15, 15, 15, 15, 15, 15,
- 15, 15, 15, 15, 15, 15, 15, 15, 15, 15,
- 15, 15, 15, 15, 15, 15, 15, 15, 15, 15,
- 15, 15, 15, 15, 15, 15, 15, 15, 15, 15,
- 15, 15, 15, 15, 15, 15, 15, 15, 15, 15,
- 15, 15, 15, 15, 15, 15, 15, 15, 15, 15,
- 15, 15, 15, 15, 15, 15, 15, 15, 15, 15,
- 15, 15, 15, 15, 15, 15,
-#else
- 15, 15, 15, 15, 15, 15, 15, 15, 15, 15,
- 15, 15, 15, 15, 15, 15, 15, 15, 15, 15,
- 15, 15, 15, 15, 15, 15, 15, 15, 15, 15,
- 15, 15, 15, 15, 15, 15, 15, 15, 15, 15,
- 15, 15, 15, 15, 15, 15, 15, 15, 15, 15,
- 15, 15, 15, 15, 15, 15, 15, 15, 15, 15,
- 15, 15, 15, 15, 15, 15, 15, 15, 15, 15,
- 15, 15, 15, 15, 15, 15, 15, 15, 15, 15,
- 15, 15, 15, 15, 15, 15, 15, 15, 15, 15,
- 15, 15, 15, 15, 15, 0, 15, 0, 15, 15,
- 0, 15, 15, 15, 15, 15, 15, 15, 15, 15,
- 15, 15, 15, 15, 15, 15, 1, 15, 15, 15,
- 15, 0, 15, 15, 15, 15, 15, 15,
-#endif /* ACE_MVS */
- };
- return len + asso_values[str[len - 1]] + asso_values[str[0]];
-}
-
-const class TAO_operation_db_entry *
-TAO_CORBA_IRObject_Perfect_Hash_OpTable::lookup (const char *str, unsigned int len)
-{
- enum
- {
- TOTAL_KEYWORDS = 4,
- MIN_WORD_LENGTH = 5,
- MAX_WORD_LENGTH = 13,
- MIN_HASH_VALUE = 5,
- MAX_HASH_VALUE = 14,
- HASH_VALUE_RANGE = 10,
- DUPLICATES = 0
- };
-
- static const class TAO_operation_db_entry wordlist[] =
- {
- {"",0},{"",0},{"",0},{"",0},{"",0},
- {"_is_a", &POA_CORBA_IRObject::_is_a_skel},
- {"",0},
- {"destroy", &POA_CORBA_IRObject::destroy_skel},
- {"",0},{"",0},{"",0},{"",0},{"",0},
- {"_get_def_kind", &POA_CORBA_IRObject::_get_def_kind_skel},
- {"_non_existent", &POA_CORBA_IRObject::_non_existent_skel},
- };
-
- if (len <= MAX_WORD_LENGTH && len >= MIN_WORD_LENGTH)
- {
- unsigned int key = hash (str, len);
-
- if (key <= MAX_HASH_VALUE && key >= MIN_HASH_VALUE)
- {
- const char *s = wordlist[key].opname_;
-
- if (*str == *s && !strncmp (str + 1, s + 1, len - 1))
- return &wordlist[key];
- }
- }
- return 0;
-}
-/* ending time is 22:05:52 */
-static TAO_CORBA_IRObject_Perfect_Hash_OpTable tao_CORBA_IRObject_optable;
-
-///////////////////////////////////////////////////////////////////////
-// Strategized Proxy Broker Implementation
-//
-
-// Factory function Implementation.
-_TAO_IRObject_Strategized_Proxy_Broker *
-_TAO_IRObject_Strategized_Proxy_Broker::the_TAO_IRObject_Strategized_Proxy_Broker (void)
-{
- static _TAO_IRObject_Strategized_Proxy_Broker strategized_proxy_broker;
- return &strategized_proxy_broker;
-}
-
-_TAO_IRObject_Strategized_Proxy_Broker::_TAO_IRObject_Strategized_Proxy_Broker (void)
-{
- for (int i = 0; i < TAO_Collocation_Strategies::CS_LAST; ++i)
- this->proxy_cache_[i] = 0;
-
-}
-
-_TAO_IRObject_Strategized_Proxy_Broker::~_TAO_IRObject_Strategized_Proxy_Broker (void)
-{
- for (int i = 0; i < TAO_Collocation_Strategies::CS_LAST; ++i)
- delete this->proxy_cache_[i];
-
-}
-
-_TAO_IRObject_Proxy_Impl&
-_TAO_IRObject_Strategized_Proxy_Broker::select_proxy (
- ::CORBA::IRObject *object,
- CORBA::Environment &ACE_TRY_ENV
- )
-{
- int strategy =
- TAO_ORB_Core::collocation_strategy (object);
-
- if (this->proxy_cache_[strategy] != 0)
- return *this->proxy_cache_[strategy];
-
- this->create_proxy (strategy, ACE_TRY_ENV);
- ACE_CHECK_RETURN (*this->proxy_cache_[strategy]);
-
- return *this->proxy_cache_[strategy];
-
-}
-
-void
-_TAO_IRObject_Strategized_Proxy_Broker::create_proxy (
- int strategy,
- CORBA::Environment &ACE_TRY_ENV
- )
-{
- ACE_GUARD (TAO_SYNCH_MUTEX, guard, this->mutex_);
-
- if (this->proxy_cache_[strategy] == 0)
- {
- switch (strategy)
- {
- case TAO_Collocation_Strategies::CS_THRU_POA_STRATEGY:
- ACE_NEW_THROW_EX (
- this->proxy_cache_[strategy],
- _TAO_IRObject_ThruPOA_Proxy_Impl,
- CORBA::NO_MEMORY ()
- );
- ACE_CHECK;
- break;
-
- case TAO_Collocation_Strategies::CS_REMOTE_STRATEGY:
- default:
- ACE_NEW_THROW_EX (
- this->proxy_cache_[strategy],
- ::_TAO_IRObject_Remote_Proxy_Impl,
- CORBA::NO_MEMORY ()
- );
- ACE_CHECK;
- break;
-
- }
-
- }
-}
-
-
-//
-// End Strategized Proxy Broker Implementation
-///////////////////////////////////////////////////////////////////////
-
-
-_TAO_IRObject_Proxy_Broker *
-_TAO_IRObject_Proxy_Broker_Factory_function (CORBA::Object_ptr obj)
-{
- ACE_UNUSED_ARG (obj);
- return _TAO_IRObject_Strategized_Proxy_Broker::the_TAO_IRObject_Strategized_Proxy_Broker();
-}
-
-int
-_TAO_IRObject_Proxy_Broker_Factory_Initializer (long _dummy_)
-{
- ACE_UNUSED_ARG (_dummy_);
-
- _TAO_IRObject_Proxy_Broker_Factory_function_pointer =
- _TAO_IRObject_Proxy_Broker_Factory_function;
-
- return 0;
-}
-
-static int _TAO_IRObject_Proxy_Broker_Stub_Factory_Initializer_Scarecrow =
- _TAO_IRObject_Proxy_Broker_Factory_Initializer (
- ACE_reinterpret_cast (
- long,
- _TAO_IRObject_Proxy_Broker_Factory_Initializer
- )
- );
-
-
-///////////////////////////////////////////////////////////////////////
-// ThruPOA Proxy Implementation
-//
-
-_TAO_IRObject_ThruPOA_Proxy_Impl::_TAO_IRObject_ThruPOA_Proxy_Impl (void)
-{}
-
-// ThruPOA Implementation of the IDL interface methods
-
-IR_DefinitionKind
-_TAO_IRObject_ThruPOA_Proxy_Impl::def_kind (
- CORBA_Object *_collocated_tao_target_,
- CORBA::Environment &ACE_TRY_ENV
- )
- ACE_THROW_SPEC ((
- CORBA::SystemException
- ))
-{
- IR_DefinitionKind _tao_retval;
- ACE_UNUSED_ARG (_tao_retval);
- TAO_Object_Adapter::Servant_Upcall servant_upcall (
- _collocated_tao_target_->_stubobj ()->servant_orb_var ()->orb_core ()
- );
- CORBA::Object_var forward_to;
- servant_upcall.prepare_for_upcall (
- _collocated_tao_target_->_object_key (),
- "def_kind",
- forward_to.out (),
- ACE_TRY_ENV
- );
- ACE_CHECK_RETURN (_tao_retval);
- return ACE_reinterpret_cast (
- POA_CORBA_IRObject_ptr,
- servant_upcall.servant ()->_downcast (
- "IDL:omg.org/CORBA/IRObject:1.0"
- )
- )->def_kind (
- ACE_TRY_ENV
- );
-}
-
-void
-_TAO_IRObject_ThruPOA_Proxy_Impl::destroy (
- CORBA_Object *_collocated_tao_target_,
- CORBA::Environment &ACE_TRY_ENV
- )
- ACE_THROW_SPEC ((
- CORBA::SystemException
- ))
-{
- TAO_Object_Adapter::Servant_Upcall servant_upcall (
- _collocated_tao_target_->_stubobj ()->servant_orb_var ()->orb_core ()
- );
- CORBA::Object_var forward_to;
- servant_upcall.prepare_for_upcall (
- _collocated_tao_target_->_object_key (),
- "destroy",
- forward_to.out (),
- ACE_TRY_ENV
- );
- ACE_CHECK;
- ACE_reinterpret_cast (
- POA_CORBA_IRObject_ptr,
- servant_upcall.servant ()->_downcast (
- "IDL:omg.org/CORBA/IRObject:1.0"
- )
- )->destroy (
- ACE_TRY_ENV
- );
- return;
-}
-
-//
-// End ThruPOA Proxy Implementation
-///////////////////////////////////////////////////////////////////////
-
-// skeleton constructor
-POA_CORBA_IRObject::POA_CORBA_IRObject (void)
-{
- this->optable_ = &tao_CORBA_IRObject_optable;
-}
-
-// copy ctor
-POA_CORBA_IRObject::POA_CORBA_IRObject (const POA_CORBA_IRObject& rhs)
- : TAO_ServantBase (rhs)
-{}
-
-// skeleton destructor
-POA_CORBA_IRObject::~POA_CORBA_IRObject (void)
-{
-}
-
-void POA_CORBA_IRObject::_get_def_kind_skel (
- TAO_ServerRequest &_tao_server_request,
- void *_tao_object_reference,
- void * /* context */,
- CORBA::Environment &ACE_TRY_ENV
- )
-{
- POA_CORBA_IRObject *_tao_impl = (POA_CORBA_IRObject *)_tao_object_reference;
-
- IR_DefinitionKind _tao_retval;
-
-#if (TAO_HAS_INTERCEPTORS == 1)
- TAO_ServerRequestInterceptor_Adapter _tao_vfr (
- _tao_server_request.orb_core ()->server_request_interceptors (),
- _tao_server_request.interceptor_count ()
- );
-
- POA_CORBA_IRObject::TAO_ServerRequestInfo_CORBA_IRObject_def_kind_get ri (
- _tao_server_request,
- _tao_impl,
- ACE_TRY_ENV
- );
-
- ACE_TRY
- {
- _tao_vfr.receive_request (&ri, ACE_TRY_ENV);
- ACE_TRY_CHECK;
-
-#endif /* TAO_HAS_INTERCEPTORS */
- _tao_retval =
- _tao_impl->def_kind (
- ACE_TRY_ENV
- );
- TAO_INTERCEPTOR_CHECK;
-
-#if (TAO_HAS_INTERCEPTORS == 1)
- IR_DefinitionKind _tao_retval_info = _tao_retval;
- ri.result (_tao_retval_info);
- ri.reply_status (PortableInterceptor::SUCCESSFUL);
- _tao_vfr.send_reply (&ri, ACE_TRY_ENV);
- ACE_TRY_CHECK;
- }
- ACE_CATCH (PortableInterceptor::ForwardRequest, exc)
- {
- ri.forward_reference (exc);
- _tao_vfr.send_other (
- &ri,
- ACE_TRY_ENV
- );
- ACE_TRY_CHECK;
- _tao_server_request.forward_location (exc.forward.in ());
- }
- ACE_CATCHANY
- {
- ri.exception (&ACE_ANY_EXCEPTION);
- _tao_vfr.send_exception (
- &ri,
- ACE_TRY_ENV
- );
- ACE_TRY_CHECK;
- ACE_RE_THROW;
- }
- ACE_ENDTRY;
- ACE_CHECK;
-#endif /* TAO_HAS_INTERCEPTORS */
-
- _tao_server_request.init_reply ();
-
- TAO_OutputCDR &_tao_out = _tao_server_request.outgoing ();
-
- if (!(
- (_tao_out << _tao_retval)
- ))
- ACE_THROW (CORBA::MARSHAL());
-
- // In case ACE_TRY_ENV is not used in this function
- ACE_UNUSED_ARG (ACE_TRY_ENV);
-}
-
-void POA_CORBA_IRObject::destroy_skel (
- TAO_ServerRequest &_tao_server_request,
- void *_tao_object_reference,
- void * /* context */,
- CORBA::Environment &ACE_TRY_ENV
-)
-{
- POA_CORBA_IRObject *_tao_impl = (POA_CORBA_IRObject *)_tao_object_reference;
-
- _tao_server_request.argument_flag (0);
-
-#if (TAO_HAS_INTERCEPTORS == 1)
- TAO_ServerRequestInterceptor_Adapter _tao_vfr (
- _tao_server_request.orb_core ()->server_request_interceptors (),
- _tao_server_request.interceptor_count ()
- );
-
- POA_CORBA_IRObject::TAO_ServerRequestInfo_CORBA_IRObject_destroy ri (
- _tao_server_request,
- _tao_impl,
- ACE_TRY_ENV
- );
-
- ACE_TRY
- {
- _tao_vfr.receive_request (&ri, ACE_TRY_ENV);
- ACE_TRY_CHECK;
-
-#endif /* TAO_HAS_INTERCEPTORS */
-
- _tao_impl->destroy (
- ACE_TRY_ENV
- );
- TAO_INTERCEPTOR_CHECK;
-
-#if (TAO_HAS_INTERCEPTORS == 1)
- ri.reply_status (PortableInterceptor::SUCCESSFUL);
- _tao_vfr.send_reply (&ri, ACE_TRY_ENV);
- ACE_TRY_CHECK;
- }
- ACE_CATCH (PortableInterceptor::ForwardRequest, exc)
- {
- ri.forward_reference (exc);
- _tao_vfr.send_other (
- &ri,
- ACE_TRY_ENV
- );
- ACE_TRY_CHECK;
- _tao_server_request.forward_location (exc.forward.in ());
- }
- ACE_CATCHANY
- {
- ri.exception (&ACE_ANY_EXCEPTION);
- _tao_vfr.send_exception (
- &ri,
- ACE_TRY_ENV
- );
- ACE_TRY_CHECK;
- ACE_RE_THROW;
- }
- ACE_ENDTRY;
- ACE_CHECK;
-#endif /* TAO_HAS_INTERCEPTORS */
-
- _tao_server_request.init_reply ();
-
- // In case ACE_TRY_ENV is not used in this function
- ACE_UNUSED_ARG (ACE_TRY_ENV);
-}
-
-void POA_CORBA_IRObject::_is_a_skel (
- TAO_ServerRequest &_tao_server_request,
- void * _tao_object_reference,
- void * /* context */,
- CORBA::Environment &ACE_TRY_ENV
- )
-{
- TAO_InputCDR &_tao_in = _tao_server_request.incoming ();
- POA_CORBA_IRObject *_tao_impl = (POA_CORBA_IRObject *) _tao_object_reference;
- CORBA::Boolean _tao_retval = 0;
- CORBA::String_var value;
- if (!((_tao_in >> value.out ())))
- ACE_THROW (CORBA::MARSHAL ());
-
- _tao_retval = _tao_impl->_is_a (value.in (), ACE_TRY_ENV);
- ACE_CHECK;
-
- _tao_server_request.init_reply ();
- TAO_OutputCDR &_tao_out = _tao_server_request.outgoing ();
- if (!((_tao_out << CORBA::Any::from_boolean (_tao_retval))))
- ACE_THROW (CORBA::MARSHAL ());
-}
-
-void POA_CORBA_IRObject::_non_existent_skel (
- TAO_ServerRequest &_tao_server_request,
- void * _tao_object_reference,
- void * /* context */,
- CORBA::Environment &ACE_TRY_ENV
- )
-{
- POA_CORBA_IRObject *_tao_impl = (POA_CORBA_IRObject *) _tao_object_reference;
- CORBA::Boolean _tao_retval = _tao_impl->_non_existent (ACE_TRY_ENV);
- ACE_CHECK;
-
- _tao_server_request.init_reply ();
- TAO_OutputCDR &_tao_out = _tao_server_request.outgoing ();
- if (!((_tao_out << CORBA::Any::from_boolean (_tao_retval))))
- ACE_THROW (CORBA::MARSHAL ());
-}
-
-CORBA::Boolean POA_CORBA_IRObject::_is_a (
- const char* value,
- CORBA::Environment &ACE_TRY_ENV
- )
-{
- if (
- (!ACE_OS::strcmp ((char *)value, "IDL:omg.org/CORBA/IRObject:1.0")) ||
- (!ACE_OS::strcmp ((char *)value, CORBA::_tc_Object->id (ACE_TRY_ENV))))
- return 1;
- else
- return 0;
-}
-
-void* POA_CORBA_IRObject::_downcast (
- const char* logical_type_id
- )
-{
-if (ACE_OS::strcmp (logical_type_id, "IDL:omg.org/CORBA/IRObject:1.0") == 0)
- return ACE_static_cast (POA_CORBA_IRObject_ptr, this);
- if (ACE_OS::strcmp (logical_type_id, "IDL:omg.org/CORBA/Object:1.0") == 0)
- return ACE_static_cast(PortableServer::Servant, this);
- return 0;
-}
-
-void POA_CORBA_IRObject::_dispatch (TAO_ServerRequest &req, void *context, CORBA::Environment &ACE_TRY_ENV)
-{
- this->synchronous_upcall_dispatch(req, context, this, ACE_TRY_ENV);
-}
-
-const char* POA_CORBA_IRObject::_interface_repository_id (void) const
-{
- return "IDL:omg.org/CORBA/IRObject:1.0";
-}
-
-CORBA::IRObject*
-POA_CORBA_IRObject::_this (CORBA_Environment &ACE_TRY_ENV)
-{
- TAO_Stub *stub = this->_create_stub (ACE_TRY_ENV);
- ACE_CHECK_RETURN (0);
-
- CORBA::Object_ptr tmp = CORBA::Object::_nil ();
-
- if (stub->servant_orb_var ()->orb_core ()->optimize_collocation_objects ())
- ACE_NEW_RETURN (tmp, CORBA::Object (stub, 1, this), 0);
- else
- ACE_NEW_RETURN (tmp, CORBA::Object (stub, 0, this), 0);
-
- CORBA::Object_var obj = tmp;
- return ::CORBA::IRObject::_unchecked_narrow (obj.in ());
-}
-
-#if (TAO_HAS_INTERCEPTORS == 1)
-POA_CORBA_IRObject::TAO_ServerRequestInfo_CORBA_IRObject_def_kind_get::TAO_ServerRequestInfo_CORBA_IRObject_def_kind_get (
- TAO_ServerRequest &_tao_server_request,
- POA_CORBA_IRObject *tao_impl,
- CORBA::Environment &
- )
- : TAO_ServerRequestInfo (_tao_server_request),
- _tao_impl (tao_impl)
-{}
-
-Dynamic::ParameterList *
-POA_CORBA_IRObject::TAO_ServerRequestInfo_CORBA_IRObject_def_kind_get::arguments (CORBA::Environment &ACE_TRY_ENV)
- ACE_THROW_SPEC ((CORBA::SystemException))
-{
- // Generate the argument list on demand.
- Dynamic::ParameterList *parameter_list =
- TAO_RequestInfo_Util::make_parameter_list (ACE_TRY_ENV);
- ACE_CHECK_RETURN (0);
-
- return parameter_list;
-}
-
-Dynamic::ExceptionList *
-POA_CORBA_IRObject::TAO_ServerRequestInfo_CORBA_IRObject_def_kind_get::exceptions (CORBA::Environment &ACE_TRY_ENV)
- ACE_THROW_SPEC ((CORBA::SystemException))
-{
- // Generate the exception list on demand.
- Dynamic::ExceptionList *exception_list =
- TAO_RequestInfo_Util::make_exception_list (ACE_TRY_ENV);
- ACE_CHECK_RETURN (0);
-
- return exception_list;
-}
-
-CORBA::Any *
-POA_CORBA_IRObject::TAO_ServerRequestInfo_CORBA_IRObject_def_kind_get::result (CORBA::Environment &ACE_TRY_ENV)
- ACE_THROW_SPEC ((CORBA::SystemException))
-{
- // Generate the result on demand.
- CORBA::Boolean tk_void_any = 0;
- CORBA::Any *result_any =
- TAO_RequestInfo_Util::make_any (tk_void_any, ACE_TRY_ENV);
- ACE_CHECK_RETURN (0);
-
- CORBA::Any_var safe_result_any = result_any;
-
- (*result_any) <<= this->_result;
-
- return safe_result_any._retn ();
-}
-
-char *
-POA_CORBA_IRObject::TAO_ServerRequestInfo_CORBA_IRObject_def_kind_get::target_most_derived_interface (
- CORBA::Environment &)
- ACE_THROW_SPEC ((CORBA::SystemException))
-{
- return
- CORBA::string_dup (this->_tao_impl->_interface_repository_id ());
-}
-
-CORBA::Boolean
-POA_CORBA_IRObject::TAO_ServerRequestInfo_CORBA_IRObject_def_kind_get::target_is_a (
- const char * id,
- CORBA::Environment &ACE_TRY_ENV)
- ACE_THROW_SPEC ((CORBA::SystemException))
-{
- return this->_tao_impl->_is_a (id, ACE_TRY_ENV);
-}
-
-void
-POA_CORBA_IRObject::TAO_ServerRequestInfo_CORBA_IRObject_def_kind_get::result (IR::DefinitionKind result)
-{
- // Update the result.
- this->_result = result;
-}
-
-POA_CORBA_IRObject::TAO_ServerRequestInfo_CORBA_IRObject_destroy::TAO_ServerRequestInfo_CORBA_IRObject_destroy (
- TAO_ServerRequest &_tao_server_request,
- POA_CORBA_IRObject *tao_impl,
- CORBA::Environment &
- )
- : TAO_ServerRequestInfo (_tao_server_request),
- _tao_impl (tao_impl)
-{}
-
-Dynamic::ParameterList *
-POA_CORBA_IRObject::TAO_ServerRequestInfo_CORBA_IRObject_destroy::arguments (CORBA::Environment &ACE_TRY_ENV)
- ACE_THROW_SPEC ((CORBA::SystemException))
-{
- // Generate the argument list on demand.
- Dynamic::ParameterList *parameter_list =
- TAO_RequestInfo_Util::make_parameter_list (ACE_TRY_ENV);
- ACE_CHECK_RETURN (0);
-
- return parameter_list;
-}
-
-Dynamic::ExceptionList *
-POA_CORBA_IRObject::TAO_ServerRequestInfo_CORBA_IRObject_destroy::exceptions (CORBA::Environment &ACE_TRY_ENV)
- ACE_THROW_SPEC ((CORBA::SystemException))
-{
- // Generate the exception list on demand.
- Dynamic::ExceptionList *exception_list =
- TAO_RequestInfo_Util::make_exception_list (ACE_TRY_ENV);
- ACE_CHECK_RETURN (0);
-
- return exception_list;
-}
-
-CORBA::Any *
-POA_CORBA_IRObject::TAO_ServerRequestInfo_CORBA_IRObject_destroy::result (CORBA::Environment &ACE_TRY_ENV)
- ACE_THROW_SPEC ((CORBA::SystemException))
-{
- // Generate the result on demand.
- CORBA::Boolean tk_void_any = 1;
- CORBA::Any *result_any =
- TAO_RequestInfo_Util::make_any (tk_void_any, ACE_TRY_ENV);
- ACE_CHECK_RETURN (0);
-
- return result_any;
-}
-
-char *
-POA_CORBA_IRObject::TAO_ServerRequestInfo_CORBA_IRObject_destroy::target_most_derived_interface (
- CORBA::Environment &)
- ACE_THROW_SPEC ((CORBA::SystemException))
-{
- return
- CORBA::string_dup (this->_tao_impl->_interface_repository_id ());
-}
-
-CORBA::Boolean
-POA_CORBA_IRObject::TAO_ServerRequestInfo_CORBA_IRObject_destroy::target_is_a (
- const char * id,
- CORBA::Environment &ACE_TRY_ENV)
- ACE_THROW_SPEC ((CORBA::SystemException))
-{
- return this->_tao_impl->_is_a (id, ACE_TRY_ENV);
-}
-
-#endif /* TAO_HAS_INTERCEPTORS */
-
-class TAO_IR_Contained_Perfect_Hash_OpTable : public TAO_Perfect_Hash_OpTable
-{
-private:
- unsigned int hash (const char *str, unsigned int len);
-public:
- const TAO_operation_db_entry * lookup (const char *str, unsigned int len);
-};
-/* starting time is 11:23:09 */
-/* C++ code produced by gperf version 2.8 (ACE version) */
-/* Command-line: gperf -m -M -J -c -C -D -E -T -f 0 -F 0 -a -o -t -p -K opname_ -L C++ -Z TAO_IR_Contained_Perfect_Hash_OpTable -N lookup */
-unsigned int
-TAO_IR_Contained_Perfect_Hash_OpTable::hash (const char *str, unsigned int len)
-{
- static const unsigned char asso_values[] =
- {
-#if defined (ACE_MVS)
- 37, 37, 37, 37, 37, 37, 37, 37, 37, 37,
- 37, 37, 37, 37, 37, 37, 37, 37, 37, 37,
- 37, 37, 37, 37, 37, 37, 37, 37, 37, 37,
- 37, 37, 37, 37, 37, 37, 37, 37, 37, 37,
- 37, 37, 37, 37, 37, 37, 37, 37, 37, 37,
- 37, 37, 37, 37, 37, 37, 37, 37, 37, 37,
- 37, 37, 37, 37, 37, 37, 37, 37, 37, 37,
- 37, 37, 37, 37, 37, 37, 37, 37, 37, 37,
- 37, 37, 37, 37, 37, 37, 37, 37, 37, 37,
- 37, 37, 37, 37, 37, 37, 37, 37, 37, 37,
- 37, 37, 37, 37, 37, 37, 37, 37, 37, 0,
- 37, 37, 37, 37, 37, 37, 37, 37, 37, 37,
- 37, 37, 37, 37, 37, 37, 37, 37, 37, 0,
- 37, 37, 0, 0, 37, 37, 37, 37, 37, 37,
- 37, 37, 37, 37, 37, 37, 37, 37, 0, 0,
- 37, 37, 37, 37, 37, 37, 37, 37, 37, 37,
- 37, 37, 37, 10, 37, 37, 37, 37, 10, 37,
- 37, 37, 37, 37, 37, 37, 37, 37, 37, 37,
- 37, 37, 37, 37, 37, 37, 37, 37, 37, 37,
- 37, 37, 37, 37, 37, 37, 37, 37, 37, 37,
- 37, 37, 37, 37, 37, 37, 37, 37, 37, 37,
- 37, 37, 37, 37, 37, 37, 37, 37, 37, 37,
- 37, 37, 37, 37, 37, 37, 37, 37, 37, 37,
- 37, 37, 37, 37, 37, 37, 37, 37, 37, 37,
- 37, 37, 37, 37, 37, 37, 37, 37, 37, 37,
- 37, 37, 37, 37, 37, 37,
-#else
- 37, 37, 37, 37, 37, 37, 37, 37, 37, 37,
- 37, 37, 37, 37, 37, 37, 37, 37, 37, 37,
- 37, 37, 37, 37, 37, 37, 37, 37, 37, 37,
- 37, 37, 37, 37, 37, 37, 37, 37, 37, 37,
- 37, 37, 37, 37, 37, 37, 37, 37, 37, 37,
- 37, 37, 37, 37, 37, 37, 37, 37, 37, 37,
- 37, 37, 37, 37, 37, 37, 37, 37, 37, 37,
- 37, 37, 37, 37, 37, 37, 37, 37, 37, 37,
- 37, 37, 37, 37, 37, 37, 37, 37, 37, 37,
- 37, 37, 37, 37, 37, 0, 37, 0, 37, 37,
- 0, 0, 37, 37, 37, 37, 37, 37, 37, 0,
- 0, 37, 37, 37, 37, 37, 10, 37, 37, 37,
- 37, 10, 37, 37, 37, 37, 37, 37,
-#endif /* ACE_MVS */
- };
- return len + asso_values[str[len - 1]] + asso_values[str[0]];
-}
-
-const class TAO_operation_db_entry *
-TAO_IR_Contained_Perfect_Hash_OpTable::lookup (const char *str, unsigned int len)
-{
- enum
- {
- TOTAL_KEYWORDS = 15,
- MIN_WORD_LENGTH = 4,
- MAX_WORD_LENGTH = 26,
- MIN_HASH_VALUE = 4,
- MAX_HASH_VALUE = 36,
- HASH_VALUE_RANGE = 33,
- DUPLICATES = 4
- };
-
- static const class TAO_operation_db_entry wordlist[] =
- {
- {"",0},{"",0},{"",0},{"",0},
- {"move", &POA_IR::Contained::move_skel},
- {"_is_a", &POA_IR::Contained::_is_a_skel},
- {"_get_id", &POA_IR::Contained::_get_id_skel},
- {"_set_id", &POA_IR::Contained::_set_id_skel},
- {"describe", &POA_IR::Contained::describe_skel},
- {"_get_name", &POA_IR::Contained::_get_name_skel},
- {"_set_name", &POA_IR::Contained::_set_name_skel},
- {"_get_version", &POA_IR::Contained::_get_version_skel},
- {"_set_version", &POA_IR::Contained::_set_version_skel},
- {"_get_def_kind", &POA_IR::Contained::_get_def_kind_skel},
- {"_get_defined_in", &POA_IR::Contained::_get_defined_in_skel},
- {"destroy", &POA_IR::Contained::destroy_skel},
- {"_get_absolute_name", &POA_IR::Contained::_get_absolute_name_skel},
- {"_non_existent", &POA_IR::Contained::_non_existent_skel},
- {"_get_containing_repository", &POA_IR::Contained::_get_containing_repository_skel},
- };
-
- static const signed char lookup[] =
- {
- -6, -2, -9, -2, 4, 5, -1, -43, 8, -43, -11, -2, -38, 13,
- -1, 14, -1, 15, 16, -1, -1, -1, -1, 17, -1, -1, -1, -1,
- -1, -1, -1, -1, -1, -1, -1, -1, 18,
- };
-
- if (len <= MAX_WORD_LENGTH && len >= MIN_WORD_LENGTH)
- {
- unsigned int key = hash (str, len);
-
- if (key <= MAX_HASH_VALUE && key >= MIN_HASH_VALUE)
- {
- int slot = lookup[key];
-
- if (slot >= 0 && slot < MAX_HASH_VALUE)
- {
- const char *s = wordlist[slot].opname_;
-
- if (*str == *s && !strncmp (str + 1, s + 1, len - 1))
- return &wordlist[slot];
- }
- else if (slot < 0 && slot >= -MAX_HASH_VALUE)
- return 0;
- else
- {
- unsigned int offset = key + slot + (slot > 0 ? -MAX_HASH_VALUE : MAX_HASH_VALUE);
- const class TAO_operation_db_entry *base = &wordlist[-lookup[offset]];
- const class TAO_operation_db_entry *ptr = base + -lookup[offset + 1];
-
- while (--ptr >= base)
- if (*str == *ptr->opname_ && !strncmp (str + 1, ptr->opname_ + 1, len - 1))
- return ptr;
- }
- }
- }
- return 0;
-}
-/* ending time is 11:23:09 */
-static TAO_IR_Contained_Perfect_Hash_OpTable tao_IR_Contained_optable;
-
-///////////////////////////////////////////////////////////////////////
-// Strategized Proxy Broker Implementation
-//
-
-// Factory function Implementation.
-POA_IR::_TAO_Contained_Strategized_Proxy_Broker *the_TAO_Contained_Strategized_Proxy_Broker (void)
-{
- static POA_IR::_TAO_Contained_Strategized_Proxy_Broker strategized_proxy_broker;
- return &strategized_proxy_broker;
-}
-
-POA_IR::_TAO_Contained_Strategized_Proxy_Broker::_TAO_Contained_Strategized_Proxy_Broker (void)
-{
- for (int i = 0; i < TAO_Collocation_Strategies::CS_LAST; ++i)
- this->proxy_cache_[i] = 0;
-
-}
-
-POA_IR::_TAO_Contained_Strategized_Proxy_Broker::~_TAO_Contained_Strategized_Proxy_Broker (void)
-{
- for (int i = 0; i < TAO_Collocation_Strategies::CS_LAST; ++i)
- delete this->proxy_cache_[i];
-
-}
-
-_TAO_Contained_Proxy_Impl&
-POA_IR::_TAO_Contained_Strategized_Proxy_Broker::select_proxy (
- ::IR_Contained *object,
- CORBA::Environment &ACE_TRY_ENV
- )
-{
- int strategy =
- TAO_ORB_Core::collocation_strategy (object);
-
- if (this->proxy_cache_[strategy] != 0)
- return *this->proxy_cache_[strategy];
-
- this->create_proxy (strategy, ACE_TRY_ENV);
- ACE_CHECK_RETURN (*this->proxy_cache_[strategy]);
-
- return *this->proxy_cache_[strategy];
-
-}
-
-void
-POA_IR::_TAO_Contained_Strategized_Proxy_Broker::create_proxy (
- int strategy,
- CORBA::Environment &ACE_TRY_ENV
- )
-{
- ACE_GUARD (TAO_SYNCH_MUTEX, guard, this->mutex_);
-
- if (this->proxy_cache_[strategy] == 0)
- {
- switch (strategy)
- {
- case TAO_Collocation_Strategies::CS_THRU_POA_STRATEGY:
- ACE_NEW_THROW_EX (
- this->proxy_cache_[strategy],
- POA_IR::_TAO_Contained_ThruPOA_Proxy_Impl,
- CORBA::NO_MEMORY ()
- );
- ACE_CHECK;
- break;
-
- case TAO_Collocation_Strategies::CS_REMOTE_STRATEGY:
- default:
- ACE_NEW_THROW_EX (
- this->proxy_cache_[strategy],
- _TAO_Contained_Remote_Proxy_Impl,
- CORBA::NO_MEMORY ()
- );
- ACE_CHECK;
- break;
-
- }
-
- }
-}
-
-
-//
-// End Strategized Proxy Broker Implementation
-///////////////////////////////////////////////////////////////////////
-
-
-_TAO_Contained_Proxy_Broker *
-_TAO_Contained_Proxy_Broker_Factory_function (CORBA::Object_ptr obj)
-{
- ACE_UNUSED_ARG (obj);
- return the_TAO_Contained_Strategized_Proxy_Broker();
-}
-
-int
-_TAO_Contained_Proxy_Broker_Factory_Initializer (long _dummy_)
-{
- ACE_UNUSED_ARG (_dummy_);
-
- _TAO_Contained_Proxy_Broker_Factory_function_pointer =
- _TAO_Contained_Proxy_Broker_Factory_function;
-
- return 0;
-}
-
-static int _TAO_Contained_Proxy_Broker_Stub_Factory_Initializer_Scarecrow =
- _TAO_Contained_Proxy_Broker_Factory_Initializer (ACE_reinterpret_cast (long, _TAO_Contained_Proxy_Broker_Factory_Initializer));
-
-
-///////////////////////////////////////////////////////////////////////
-// ThruPOA Proxy Implementation
-//
-
-POA_IR::_TAO_Contained_ThruPOA_Proxy_Impl::_TAO_Contained_ThruPOA_Proxy_Impl (void)
-{}
-
-// ThruPOA Implementation of the IDL interface methods
-
-char * POA_IR::_TAO_Contained_ThruPOA_Proxy_Impl::id (
- CORBA_Object *_collocated_tao_target_,
- CORBA::Environment &ACE_TRY_ENV
- )
- ACE_THROW_SPEC ((
- CORBA::SystemException
- ))
-{
- CORBA::String_var _tao_retval;
- ACE_UNUSED_ARG (_tao_retval);
- TAO_Object_Adapter::Servant_Upcall servant_upcall (
- _collocated_tao_target_->_stubobj ()->servant_orb_var ()->orb_core ()
- );
- CORBA::Object_var forward_to;
- servant_upcall.prepare_for_upcall (
- _collocated_tao_target_->_object_key (),
- "id",
- forward_to.out (),
- ACE_TRY_ENV
- );
- ACE_CHECK_RETURN (0);
- return ACE_reinterpret_cast (
- POA_IR::Contained_ptr,
- servant_upcall.servant ()->_downcast (
- "IDL:omg.org/IR/Contained:1.0"
- )
- )->id (
- ACE_TRY_ENV
- );
-}
-
-void POA_IR::_TAO_Contained_ThruPOA_Proxy_Impl::id (
- CORBA_Object *_collocated_tao_target_,
- const char * id,
- CORBA::Environment &ACE_TRY_ENV
- )
- ACE_THROW_SPEC ((
- CORBA::SystemException
- ))
-{
- TAO_Object_Adapter::Servant_Upcall servant_upcall (
- _collocated_tao_target_->_stubobj ()->servant_orb_var ()->orb_core ()
- );
- CORBA::Object_var forward_to;
- servant_upcall.prepare_for_upcall (
- _collocated_tao_target_->_object_key (),
- "id",
- forward_to.out (),
- ACE_TRY_ENV
- );
- ACE_CHECK;
- ACE_reinterpret_cast (
- POA_IR::Contained_ptr,
- servant_upcall.servant ()->_downcast (
- "IDL:omg.org/IR/Contained:1.0"
- )
- )->id (
- id,
- ACE_TRY_ENV
- );
- return;
-}
-
-char * POA_IR::_TAO_Contained_ThruPOA_Proxy_Impl::name (
- CORBA_Object *_collocated_tao_target_,
- CORBA::Environment &ACE_TRY_ENV
- )
- ACE_THROW_SPEC ((
- CORBA::SystemException
- ))
-{
- CORBA::String_var _tao_retval;
- ACE_UNUSED_ARG (_tao_retval);
- TAO_Object_Adapter::Servant_Upcall servant_upcall (
- _collocated_tao_target_->_stubobj ()->servant_orb_var ()->orb_core ()
- );
- CORBA::Object_var forward_to;
- servant_upcall.prepare_for_upcall (
- _collocated_tao_target_->_object_key (),
- "name",
- forward_to.out (),
- ACE_TRY_ENV
- );
- ACE_CHECK_RETURN (0);
- return ACE_reinterpret_cast (
- POA_IR::Contained_ptr,
- servant_upcall.servant ()->_downcast (
- "IDL:omg.org/IR/Contained:1.0"
- )
- )->name (
- ACE_TRY_ENV
- );
-}
-
-void POA_IR::_TAO_Contained_ThruPOA_Proxy_Impl::name (
- CORBA_Object *_collocated_tao_target_,
- const char * name,
- CORBA::Environment &ACE_TRY_ENV
- )
- ACE_THROW_SPEC ((
- CORBA::SystemException
- ))
-{
- TAO_Object_Adapter::Servant_Upcall servant_upcall (
- _collocated_tao_target_->_stubobj ()->servant_orb_var ()->orb_core ()
- );
- CORBA::Object_var forward_to;
- servant_upcall.prepare_for_upcall (
- _collocated_tao_target_->_object_key (),
- "name",
- forward_to.out (),
- ACE_TRY_ENV
- );
- ACE_CHECK;
- ACE_reinterpret_cast (
- POA_IR::Contained_ptr,
- servant_upcall.servant ()->_downcast (
- "IDL:omg.org/IR/Contained:1.0"
- )
- )->name (
- name,
- ACE_TRY_ENV
- );
- return;
-}
-
-char * POA_IR::_TAO_Contained_ThruPOA_Proxy_Impl::version (
- CORBA_Object *_collocated_tao_target_,
- CORBA::Environment &ACE_TRY_ENV
- )
- ACE_THROW_SPEC ((
- CORBA::SystemException
- ))
-{
- CORBA::String_var _tao_retval;
- ACE_UNUSED_ARG (_tao_retval);
- TAO_Object_Adapter::Servant_Upcall servant_upcall (
- _collocated_tao_target_->_stubobj ()->servant_orb_var ()->orb_core ()
- );
- CORBA::Object_var forward_to;
- servant_upcall.prepare_for_upcall (
- _collocated_tao_target_->_object_key (),
- "version",
- forward_to.out (),
- ACE_TRY_ENV
- );
- ACE_CHECK_RETURN (0);
- return ACE_reinterpret_cast (
- POA_IR::Contained_ptr,
- servant_upcall.servant ()->_downcast (
- "IDL:omg.org/IR/Contained:1.0"
- )
- )->version (
- ACE_TRY_ENV
- );
-}
-
-void POA_IR::_TAO_Contained_ThruPOA_Proxy_Impl::version (
- CORBA_Object *_collocated_tao_target_,
- const char * version,
- CORBA::Environment &ACE_TRY_ENV
- )
- ACE_THROW_SPEC ((
- CORBA::SystemException
- ))
-{
- TAO_Object_Adapter::Servant_Upcall servant_upcall (
- _collocated_tao_target_->_stubobj ()->servant_orb_var ()->orb_core ()
- );
- CORBA::Object_var forward_to;
- servant_upcall.prepare_for_upcall (
- _collocated_tao_target_->_object_key (),
- "version",
- forward_to.out (),
- ACE_TRY_ENV
- );
- ACE_CHECK;
- ACE_reinterpret_cast (
- POA_IR::Contained_ptr,
- servant_upcall.servant ()->_downcast (
- "IDL:omg.org/IR/Contained:1.0"
- )
- )->version (
- version,
- ACE_TRY_ENV
- );
- return;
-}
-
-IR_Container_ptr POA_IR::_TAO_Contained_ThruPOA_Proxy_Impl::defined_in (
- CORBA_Object *_collocated_tao_target_,
- CORBA::Environment &ACE_TRY_ENV
- )
- ACE_THROW_SPEC ((
- CORBA::SystemException
- ))
-{
- IR_Container_var _tao_retval;
- ACE_UNUSED_ARG (_tao_retval);
- TAO_Object_Adapter::Servant_Upcall servant_upcall (
- _collocated_tao_target_->_stubobj ()->servant_orb_var ()->orb_core ()
- );
- CORBA::Object_var forward_to;
- servant_upcall.prepare_for_upcall (
- _collocated_tao_target_->_object_key (),
- "defined_in",
- forward_to.out (),
- ACE_TRY_ENV
- );
- ACE_CHECK_RETURN (0);
- return ACE_reinterpret_cast (
- POA_IR::Contained_ptr,
- servant_upcall.servant ()->_downcast (
- "IDL:omg.org/IR/Contained:1.0"
- )
- )->defined_in (
- ACE_TRY_ENV
- );
-}
-
-char * POA_IR::_TAO_Contained_ThruPOA_Proxy_Impl::absolute_name (
- CORBA_Object *_collocated_tao_target_,
- CORBA::Environment &ACE_TRY_ENV
- )
- ACE_THROW_SPEC ((
- CORBA::SystemException
- ))
-{
- CORBA::String_var _tao_retval;
- ACE_UNUSED_ARG (_tao_retval);
- TAO_Object_Adapter::Servant_Upcall servant_upcall (
- _collocated_tao_target_->_stubobj ()->servant_orb_var ()->orb_core ()
- );
- CORBA::Object_var forward_to;
- servant_upcall.prepare_for_upcall (
- _collocated_tao_target_->_object_key (),
- "absolute_name",
- forward_to.out (),
- ACE_TRY_ENV
- );
- ACE_CHECK_RETURN (0);
- return ACE_reinterpret_cast (
- POA_IR::Contained_ptr,
- servant_upcall.servant ()->_downcast (
- "IDL:omg.org/IR/Contained:1.0"
- )
- )->absolute_name (
- ACE_TRY_ENV
- );
-}
-
-IR_Repository_ptr POA_IR::_TAO_Contained_ThruPOA_Proxy_Impl::containing_repository (
- CORBA_Object *_collocated_tao_target_,
- CORBA::Environment &ACE_TRY_ENV
- )
- ACE_THROW_SPEC ((
- CORBA::SystemException
- ))
-{
- IR_Repository_var _tao_retval;
- ACE_UNUSED_ARG (_tao_retval);
- TAO_Object_Adapter::Servant_Upcall servant_upcall (
- _collocated_tao_target_->_stubobj ()->servant_orb_var ()->orb_core ()
- );
- CORBA::Object_var forward_to;
- servant_upcall.prepare_for_upcall (
- _collocated_tao_target_->_object_key (),
- "containing_repository",
- forward_to.out (),
- ACE_TRY_ENV
- );
- ACE_CHECK_RETURN (0);
- return ACE_reinterpret_cast (
- POA_IR::Contained_ptr,
- servant_upcall.servant ()->_downcast (
- "IDL:omg.org/IR/Contained:1.0"
- )
- )->containing_repository (
- ACE_TRY_ENV
- );
-}
-
-IR_Contained::Description * POA_IR::_TAO_Contained_ThruPOA_Proxy_Impl::describe (
- CORBA_Object *_collocated_tao_target_,
- CORBA::Environment &ACE_TRY_ENV
- )
- ACE_THROW_SPEC ((
- CORBA::SystemException
- ))
-{
- IR_Contained::Description_var _tao_retval;
- ACE_UNUSED_ARG (_tao_retval);
- TAO_Object_Adapter::Servant_Upcall servant_upcall (
- _collocated_tao_target_->_stubobj ()->servant_orb_var ()->orb_core ()
- );
- CORBA::Object_var forward_to;
- servant_upcall.prepare_for_upcall (
- _collocated_tao_target_->_object_key (),
- "describe",
- forward_to.out (),
- ACE_TRY_ENV
- );
- ACE_CHECK_RETURN (0);
- return ACE_reinterpret_cast (
- POA_IR::Contained_ptr,
- servant_upcall.servant ()->_downcast (
- "IDL:omg.org/IR/Contained:1.0"
- )
- )->describe (
- ACE_TRY_ENV
- );
-}
-
-void POA_IR::_TAO_Contained_ThruPOA_Proxy_Impl::move (
- CORBA_Object *_collocated_tao_target_,
- IR_Container_ptr new_container,
- const char * new_name,
- const char * new_version,
- CORBA::Environment &ACE_TRY_ENV
- )
- ACE_THROW_SPEC ((
- CORBA::SystemException
- ))
-{
- TAO_Object_Adapter::Servant_Upcall servant_upcall (
- _collocated_tao_target_->_stubobj ()->servant_orb_var ()->orb_core ()
- );
- CORBA::Object_var forward_to;
- servant_upcall.prepare_for_upcall (
- _collocated_tao_target_->_object_key (),
- "move",
- forward_to.out (),
- ACE_TRY_ENV
- );
- ACE_CHECK;
- ACE_reinterpret_cast (
- POA_IR::Contained_ptr,
- servant_upcall.servant ()->_downcast (
- "IDL:omg.org/IR/Contained:1.0"
- )
- )->move (
- new_container,
- new_name,
- new_version,
- ACE_TRY_ENV
- );
- return;
-}
-
-//
-// End ThruPOA Proxy Implementation
-///////////////////////////////////////////////////////////////////////
-
-// skeleton constructor
-POA_IR::Contained::Contained (void)
-{
- this->optable_ = &tao_IR_Contained_optable;
-}
-
-// copy ctor
-POA_IR::Contained::Contained (const Contained& rhs)
- : POA_CORBA_IRObject (rhs),
- TAO_ServantBase (rhs)
-{}
-
-// skeleton destructor
-POA_IR::Contained::~Contained (void)
-{
-}
-
-void POA_IR::Contained::_get_id_skel (
- TAO_ServerRequest &_tao_server_request,
- void *_tao_object_reference,
- void * /* context */,
- CORBA::Environment &ACE_TRY_ENV
-)
-{
- POA_IR::Contained *_tao_impl = (POA_IR::Contained *)_tao_object_reference;
-
- CORBA::String_var _tao_retval;
-
-#if (TAO_HAS_INTERCEPTORS == 1)
- TAO_ServerRequestInterceptor_Adapter _tao_vfr (
- _tao_server_request.orb_core ()->server_request_interceptors (),
- _tao_server_request.interceptor_count ()
- );
-
- POA_IR::Contained::TAO_ServerRequestInfo_IR_Contained_id_get ri (
- _tao_server_request,
- _tao_impl,
- ACE_TRY_ENV
- );
-
- ACE_TRY
- {
- _tao_vfr.receive_request (&ri, ACE_TRY_ENV);
- ACE_TRY_CHECK;
-
-#endif /* TAO_HAS_INTERCEPTORS */
- _tao_retval =
- _tao_impl->id (
- ACE_TRY_ENV
- );
- TAO_INTERCEPTOR_CHECK;
-
-#if (TAO_HAS_INTERCEPTORS == 1)
- char * _tao_retval_info = _tao_retval._retn ();
- ri.result (_tao_retval_info);
- _tao_retval = _tao_retval_info;
- ri.reply_status (PortableInterceptor::SUCCESSFUL);
- _tao_vfr.send_reply (&ri, ACE_TRY_ENV);
- ACE_TRY_CHECK;
- }
- ACE_CATCH (PortableInterceptor::ForwardRequest, exc)
- {
- ri.forward_reference (exc);
- _tao_vfr.send_other (
- &ri,
- ACE_TRY_ENV
- );
- ACE_TRY_CHECK;
- _tao_server_request.forward_location (exc.forward.in ());
- }
- ACE_CATCHANY
- {
- ri.exception (&ACE_ANY_EXCEPTION);
- _tao_vfr.send_exception (
- &ri,
- ACE_TRY_ENV
- );
- ACE_TRY_CHECK;
- ACE_RE_THROW;
- }
- ACE_ENDTRY;
- ACE_CHECK;
-#endif /* TAO_HAS_INTERCEPTORS */
-
- _tao_server_request.init_reply ();
-
- TAO_OutputCDR &_tao_out = _tao_server_request.outgoing ();
-
- if (!(
- (_tao_out << _tao_retval.in ())
- ))
- ACE_THROW (CORBA::MARSHAL());
-
- // In case ACE_TRY_ENV is not used in this function
- ACE_UNUSED_ARG (ACE_TRY_ENV);
-}
-
-void POA_IR::Contained::_set_id_skel (
- TAO_ServerRequest &_tao_server_request,
- void *_tao_object_reference,
- void * /* context */,
- CORBA::Environment &ACE_TRY_ENV
-)
-{
- TAO_InputCDR &_tao_in = _tao_server_request.incoming ();
- POA_IR::Contained *_tao_impl = (POA_IR::Contained *)_tao_object_reference;
-
- _tao_server_request.argument_flag (0);
- CORBA::String_var id;
- if (!(
- (_tao_in >> id.out ())
- ))
- ACE_THROW (CORBA::MARSHAL());
-
-
-#if (TAO_HAS_INTERCEPTORS == 1)
- TAO_ServerRequestInterceptor_Adapter _tao_vfr (
- _tao_server_request.orb_core ()->server_request_interceptors (),
- _tao_server_request.interceptor_count ()
- );
-
- POA_IR::Contained::TAO_ServerRequestInfo_IR_Contained_id_set ri (
- _tao_server_request,
- _tao_impl,
- id.in (),
- ACE_TRY_ENV
- );
-
- ACE_TRY
- {
- _tao_vfr.receive_request (&ri, ACE_TRY_ENV);
- ACE_TRY_CHECK;
-
-#endif /* TAO_HAS_INTERCEPTORS */
-
- _tao_impl->id (
- id.in (),
- ACE_TRY_ENV
- );
- TAO_INTERCEPTOR_CHECK;
-
-#if (TAO_HAS_INTERCEPTORS == 1)
- ri.reply_status (PortableInterceptor::SUCCESSFUL);
- _tao_vfr.send_reply (&ri, ACE_TRY_ENV);
- ACE_TRY_CHECK;
- }
- ACE_CATCH (PortableInterceptor::ForwardRequest, exc)
- {
- ri.forward_reference (exc);
- _tao_vfr.send_other (
- &ri,
- ACE_TRY_ENV
- );
- ACE_TRY_CHECK;
- _tao_server_request.forward_location (exc.forward.in ());
- }
- ACE_CATCHANY
- {
- ri.exception (&ACE_ANY_EXCEPTION);
- _tao_vfr.send_exception (
- &ri,
- ACE_TRY_ENV
- );
- ACE_TRY_CHECK;
- ACE_RE_THROW;
- }
- ACE_ENDTRY;
- ACE_CHECK;
-#endif /* TAO_HAS_INTERCEPTORS */
-
- _tao_server_request.init_reply ();
-
- // In case ACE_TRY_ENV is not used in this function
- ACE_UNUSED_ARG (ACE_TRY_ENV);
-}
-
-void POA_IR::Contained::_get_name_skel (
- TAO_ServerRequest &_tao_server_request,
- void *_tao_object_reference,
- void * /* context */,
- CORBA::Environment &ACE_TRY_ENV
-)
-{
- POA_IR::Contained *_tao_impl = (POA_IR::Contained *)_tao_object_reference;
-
- CORBA::String_var _tao_retval;
-
-#if (TAO_HAS_INTERCEPTORS == 1)
- TAO_ServerRequestInterceptor_Adapter _tao_vfr (
- _tao_server_request.orb_core ()->server_request_interceptors (),
- _tao_server_request.interceptor_count ()
- );
-
- POA_IR::Contained::TAO_ServerRequestInfo_IR_Contained_name_get ri (
- _tao_server_request,
- _tao_impl,
- ACE_TRY_ENV
- );
-
- ACE_TRY
- {
- _tao_vfr.receive_request (&ri, ACE_TRY_ENV);
- ACE_TRY_CHECK;
-
-#endif /* TAO_HAS_INTERCEPTORS */
- _tao_retval =
- _tao_impl->name (
- ACE_TRY_ENV
- );
- TAO_INTERCEPTOR_CHECK;
-
-#if (TAO_HAS_INTERCEPTORS == 1)
- char * _tao_retval_info = _tao_retval._retn ();
- ri.result (_tao_retval_info);
- _tao_retval = _tao_retval_info;
- ri.reply_status (PortableInterceptor::SUCCESSFUL);
- _tao_vfr.send_reply (&ri, ACE_TRY_ENV);
- ACE_TRY_CHECK;
- }
- ACE_CATCH (PortableInterceptor::ForwardRequest, exc)
- {
- ri.forward_reference (exc);
- _tao_vfr.send_other (
- &ri,
- ACE_TRY_ENV
- );
- ACE_TRY_CHECK;
- _tao_server_request.forward_location (exc.forward.in ());
- }
- ACE_CATCHANY
- {
- ri.exception (&ACE_ANY_EXCEPTION);
- _tao_vfr.send_exception (
- &ri,
- ACE_TRY_ENV
- );
- ACE_TRY_CHECK;
- ACE_RE_THROW;
- }
- ACE_ENDTRY;
- ACE_CHECK;
-#endif /* TAO_HAS_INTERCEPTORS */
-
- _tao_server_request.init_reply ();
-
- TAO_OutputCDR &_tao_out = _tao_server_request.outgoing ();
-
- if (!(
- (_tao_out << _tao_retval.in ())
- ))
- ACE_THROW (CORBA::MARSHAL());
-
- // In case ACE_TRY_ENV is not used in this function
- ACE_UNUSED_ARG (ACE_TRY_ENV);
-}
-
-void POA_IR::Contained::_set_name_skel (
- TAO_ServerRequest &_tao_server_request,
- void *_tao_object_reference,
- void * /* context */,
- CORBA::Environment &ACE_TRY_ENV
-)
-{
- TAO_InputCDR &_tao_in = _tao_server_request.incoming ();
- POA_IR::Contained *_tao_impl = (POA_IR::Contained *)_tao_object_reference;
-
- _tao_server_request.argument_flag (0);
- CORBA::String_var name;
- if (!(
- (_tao_in >> name.out ())
- ))
- ACE_THROW (CORBA::MARSHAL());
-
-
-#if (TAO_HAS_INTERCEPTORS == 1)
- TAO_ServerRequestInterceptor_Adapter _tao_vfr (
- _tao_server_request.orb_core ()->server_request_interceptors (),
- _tao_server_request.interceptor_count ()
- );
-
- POA_IR::Contained::TAO_ServerRequestInfo_IR_Contained_name_set ri (
- _tao_server_request,
- _tao_impl,
- name.in (),
- ACE_TRY_ENV
- );
-
- ACE_TRY
- {
- _tao_vfr.receive_request (&ri, ACE_TRY_ENV);
- ACE_TRY_CHECK;
-
-#endif /* TAO_HAS_INTERCEPTORS */
-
- _tao_impl->name (
- name.in (),
- ACE_TRY_ENV
- );
- TAO_INTERCEPTOR_CHECK;
-
-#if (TAO_HAS_INTERCEPTORS == 1)
- ri.reply_status (PortableInterceptor::SUCCESSFUL);
- _tao_vfr.send_reply (&ri, ACE_TRY_ENV);
- ACE_TRY_CHECK;
- }
- ACE_CATCH (PortableInterceptor::ForwardRequest, exc)
- {
- ri.forward_reference (exc);
- _tao_vfr.send_other (
- &ri,
- ACE_TRY_ENV
- );
- ACE_TRY_CHECK;
- _tao_server_request.forward_location (exc.forward.in ());
- }
- ACE_CATCHANY
- {
- ri.exception (&ACE_ANY_EXCEPTION);
- _tao_vfr.send_exception (
- &ri,
- ACE_TRY_ENV
- );
- ACE_TRY_CHECK;
- ACE_RE_THROW;
- }
- ACE_ENDTRY;
- ACE_CHECK;
-#endif /* TAO_HAS_INTERCEPTORS */
-
- _tao_server_request.init_reply ();
-
- // In case ACE_TRY_ENV is not used in this function
- ACE_UNUSED_ARG (ACE_TRY_ENV);
-}
-
-void POA_IR::Contained::_get_version_skel (
- TAO_ServerRequest &_tao_server_request,
- void *_tao_object_reference,
- void * /* context */,
- CORBA::Environment &ACE_TRY_ENV
-)
-{
- POA_IR::Contained *_tao_impl = (POA_IR::Contained *)_tao_object_reference;
-
- CORBA::String_var _tao_retval;
-
-#if (TAO_HAS_INTERCEPTORS == 1)
- TAO_ServerRequestInterceptor_Adapter _tao_vfr (
- _tao_server_request.orb_core ()->server_request_interceptors (),
- _tao_server_request.interceptor_count ()
- );
-
- POA_IR::Contained::TAO_ServerRequestInfo_IR_Contained_version_get ri (
- _tao_server_request,
- _tao_impl,
- ACE_TRY_ENV
- );
-
- ACE_TRY
- {
- _tao_vfr.receive_request (&ri, ACE_TRY_ENV);
- ACE_TRY_CHECK;
-
-#endif /* TAO_HAS_INTERCEPTORS */
- _tao_retval =
- _tao_impl->version (
- ACE_TRY_ENV
- );
- TAO_INTERCEPTOR_CHECK;
-
-#if (TAO_HAS_INTERCEPTORS == 1)
- char * _tao_retval_info = _tao_retval._retn ();
- ri.result (_tao_retval_info);
- _tao_retval = _tao_retval_info;
- ri.reply_status (PortableInterceptor::SUCCESSFUL);
- _tao_vfr.send_reply (&ri, ACE_TRY_ENV);
- ACE_TRY_CHECK;
- }
- ACE_CATCH (PortableInterceptor::ForwardRequest, exc)
- {
- ri.forward_reference (exc);
- _tao_vfr.send_other (
- &ri,
- ACE_TRY_ENV
- );
- ACE_TRY_CHECK;
- _tao_server_request.forward_location (exc.forward.in ());
- }
- ACE_CATCHANY
- {
- ri.exception (&ACE_ANY_EXCEPTION);
- _tao_vfr.send_exception (
- &ri,
- ACE_TRY_ENV
- );
- ACE_TRY_CHECK;
- ACE_RE_THROW;
- }
- ACE_ENDTRY;
- ACE_CHECK;
-#endif /* TAO_HAS_INTERCEPTORS */
-
- _tao_server_request.init_reply ();
-
- TAO_OutputCDR &_tao_out = _tao_server_request.outgoing ();
-
- if (!(
- (_tao_out << _tao_retval.in ())
- ))
- ACE_THROW (CORBA::MARSHAL());
-
- // In case ACE_TRY_ENV is not used in this function
- ACE_UNUSED_ARG (ACE_TRY_ENV);
-}
-
-void POA_IR::Contained::_set_version_skel (
- TAO_ServerRequest &_tao_server_request,
- void *_tao_object_reference,
- void * /* context */,
- CORBA::Environment &ACE_TRY_ENV
-)
-{
- TAO_InputCDR &_tao_in = _tao_server_request.incoming ();
- POA_IR::Contained *_tao_impl = (POA_IR::Contained *)_tao_object_reference;
-
- _tao_server_request.argument_flag (0);
- CORBA::String_var version;
- if (!(
- (_tao_in >> version.out ())
- ))
- ACE_THROW (CORBA::MARSHAL());
-
-
-#if (TAO_HAS_INTERCEPTORS == 1)
- TAO_ServerRequestInterceptor_Adapter _tao_vfr (
- _tao_server_request.orb_core ()->server_request_interceptors (),
- _tao_server_request.interceptor_count ()
- );
-
- POA_IR::Contained::TAO_ServerRequestInfo_IR_Contained_version_set ri (
- _tao_server_request,
- _tao_impl,
- version.in (),
- ACE_TRY_ENV
- );
-
- ACE_TRY
- {
- _tao_vfr.receive_request (&ri, ACE_TRY_ENV);
- ACE_TRY_CHECK;
-
-#endif /* TAO_HAS_INTERCEPTORS */
-
- _tao_impl->version (
- version.in (),
- ACE_TRY_ENV
- );
- TAO_INTERCEPTOR_CHECK;
-
-#if (TAO_HAS_INTERCEPTORS == 1)
- ri.reply_status (PortableInterceptor::SUCCESSFUL);
- _tao_vfr.send_reply (&ri, ACE_TRY_ENV);
- ACE_TRY_CHECK;
- }
- ACE_CATCH (PortableInterceptor::ForwardRequest, exc)
- {
- ri.forward_reference (exc);
- _tao_vfr.send_other (
- &ri,
- ACE_TRY_ENV
- );
- ACE_TRY_CHECK;
- _tao_server_request.forward_location (exc.forward.in ());
- }
- ACE_CATCHANY
- {
- ri.exception (&ACE_ANY_EXCEPTION);
- _tao_vfr.send_exception (
- &ri,
- ACE_TRY_ENV
- );
- ACE_TRY_CHECK;
- ACE_RE_THROW;
- }
- ACE_ENDTRY;
- ACE_CHECK;
-#endif /* TAO_HAS_INTERCEPTORS */
-
- _tao_server_request.init_reply ();
-
- // In case ACE_TRY_ENV is not used in this function
- ACE_UNUSED_ARG (ACE_TRY_ENV);
-}
-
-void POA_IR::Contained::_get_defined_in_skel (
- TAO_ServerRequest &_tao_server_request,
- void *_tao_object_reference,
- void * /* context */,
- CORBA::Environment &ACE_TRY_ENV
-)
-{
- POA_IR::Contained *_tao_impl = (POA_IR::Contained *)_tao_object_reference;
-
- IR_Container_var _tao_retval;
-
-#if (TAO_HAS_INTERCEPTORS == 1)
- TAO_ServerRequestInterceptor_Adapter _tao_vfr (
- _tao_server_request.orb_core ()->server_request_interceptors (),
- _tao_server_request.interceptor_count ()
- );
-
- POA_IR::Contained::TAO_ServerRequestInfo_IR_Contained_defined_in_get ri (
- _tao_server_request,
- _tao_impl,
- ACE_TRY_ENV
- );
-
- ACE_TRY
- {
- _tao_vfr.receive_request (&ri, ACE_TRY_ENV);
- ACE_TRY_CHECK;
-
-#endif /* TAO_HAS_INTERCEPTORS */
- _tao_retval =
- _tao_impl->defined_in (
- ACE_TRY_ENV
- );
- TAO_INTERCEPTOR_CHECK;
-
-#if (TAO_HAS_INTERCEPTORS == 1)
- IR_Container_ptr _tao_retval_info = _tao_retval._retn ();
- ri.result (_tao_retval_info);
- _tao_retval = _tao_retval_info;
- ri.reply_status (PortableInterceptor::SUCCESSFUL);
- _tao_vfr.send_reply (&ri, ACE_TRY_ENV);
- ACE_TRY_CHECK;
- }
- ACE_CATCH (PortableInterceptor::ForwardRequest, exc)
- {
- ri.forward_reference (exc);
- _tao_vfr.send_other (
- &ri,
- ACE_TRY_ENV
- );
- ACE_TRY_CHECK;
- _tao_server_request.forward_location (exc.forward.in ());
- }
- ACE_CATCHANY
- {
- ri.exception (&ACE_ANY_EXCEPTION);
- _tao_vfr.send_exception (
- &ri,
- ACE_TRY_ENV
- );
- ACE_TRY_CHECK;
- ACE_RE_THROW;
- }
- ACE_ENDTRY;
- ACE_CHECK;
-#endif /* TAO_HAS_INTERCEPTORS */
-
- _tao_server_request.init_reply ();
-
- TAO_OutputCDR &_tao_out = _tao_server_request.outgoing ();
-
- if (!(
- (_tao_out << _tao_retval.in ())
- ))
- ACE_THROW (CORBA::MARSHAL());
-
- // In case ACE_TRY_ENV is not used in this function
- ACE_UNUSED_ARG (ACE_TRY_ENV);
-}
-
-void POA_IR::Contained::_get_absolute_name_skel (
- TAO_ServerRequest &_tao_server_request,
- void *_tao_object_reference,
- void * /* context */,
- CORBA::Environment &ACE_TRY_ENV
-)
-{
- POA_IR::Contained *_tao_impl = (POA_IR::Contained *)_tao_object_reference;
-
- CORBA::String_var _tao_retval;
-
-#if (TAO_HAS_INTERCEPTORS == 1)
- TAO_ServerRequestInterceptor_Adapter _tao_vfr (
- _tao_server_request.orb_core ()->server_request_interceptors (),
- _tao_server_request.interceptor_count ()
- );
-
- POA_IR::Contained::TAO_ServerRequestInfo_IR_Contained_absolute_name_get ri (
- _tao_server_request,
- _tao_impl,
- ACE_TRY_ENV
- );
-
- ACE_TRY
- {
- _tao_vfr.receive_request (&ri, ACE_TRY_ENV);
- ACE_TRY_CHECK;
-
-#endif /* TAO_HAS_INTERCEPTORS */
- _tao_retval =
- _tao_impl->absolute_name (
- ACE_TRY_ENV
- );
- TAO_INTERCEPTOR_CHECK;
-
-#if (TAO_HAS_INTERCEPTORS == 1)
- char * _tao_retval_info = _tao_retval._retn ();
- ri.result (_tao_retval_info);
- _tao_retval = _tao_retval_info;
- ri.reply_status (PortableInterceptor::SUCCESSFUL);
- _tao_vfr.send_reply (&ri, ACE_TRY_ENV);
- ACE_TRY_CHECK;
- }
- ACE_CATCH (PortableInterceptor::ForwardRequest, exc)
- {
- ri.forward_reference (exc);
- _tao_vfr.send_other (
- &ri,
- ACE_TRY_ENV
- );
- ACE_TRY_CHECK;
- _tao_server_request.forward_location (exc.forward.in ());
- }
- ACE_CATCHANY
- {
- ri.exception (&ACE_ANY_EXCEPTION);
- _tao_vfr.send_exception (
- &ri,
- ACE_TRY_ENV
- );
- ACE_TRY_CHECK;
- ACE_RE_THROW;
- }
- ACE_ENDTRY;
- ACE_CHECK;
-#endif /* TAO_HAS_INTERCEPTORS */
-
- _tao_server_request.init_reply ();
-
- TAO_OutputCDR &_tao_out = _tao_server_request.outgoing ();
-
- if (!(
- (_tao_out << _tao_retval.in ())
- ))
- ACE_THROW (CORBA::MARSHAL());
-
- // In case ACE_TRY_ENV is not used in this function
- ACE_UNUSED_ARG (ACE_TRY_ENV);
-}
-
-void POA_IR::Contained::_get_containing_repository_skel (
- TAO_ServerRequest &_tao_server_request,
- void *_tao_object_reference,
- void * /* context */,
- CORBA::Environment &ACE_TRY_ENV
-)
-{
- POA_IR::Contained *_tao_impl = (POA_IR::Contained *)_tao_object_reference;
-
- IR_Repository_var _tao_retval;
-
-#if (TAO_HAS_INTERCEPTORS == 1)
- TAO_ServerRequestInterceptor_Adapter _tao_vfr (
- _tao_server_request.orb_core ()->server_request_interceptors (),
- _tao_server_request.interceptor_count ()
- );
-
- POA_IR::Contained::TAO_ServerRequestInfo_IR_Contained_containing_repository_get ri (
- _tao_server_request,
- _tao_impl,
- ACE_TRY_ENV
- );
-
- ACE_TRY
- {
- _tao_vfr.receive_request (&ri, ACE_TRY_ENV);
- ACE_TRY_CHECK;
-
-#endif /* TAO_HAS_INTERCEPTORS */
- _tao_retval =
- _tao_impl->containing_repository (
- ACE_TRY_ENV
- );
- TAO_INTERCEPTOR_CHECK;
-
-#if (TAO_HAS_INTERCEPTORS == 1)
- IR_Repository_ptr _tao_retval_info = _tao_retval._retn ();
- ri.result (_tao_retval_info);
- _tao_retval = _tao_retval_info;
- ri.reply_status (PortableInterceptor::SUCCESSFUL);
- _tao_vfr.send_reply (&ri, ACE_TRY_ENV);
- ACE_TRY_CHECK;
- }
- ACE_CATCH (PortableInterceptor::ForwardRequest, exc)
- {
- ri.forward_reference (exc);
- _tao_vfr.send_other (
- &ri,
- ACE_TRY_ENV
- );
- ACE_TRY_CHECK;
- _tao_server_request.forward_location (exc.forward.in ());
- }
- ACE_CATCHANY
- {
- ri.exception (&ACE_ANY_EXCEPTION);
- _tao_vfr.send_exception (
- &ri,
- ACE_TRY_ENV
- );
- ACE_TRY_CHECK;
- ACE_RE_THROW;
- }
- ACE_ENDTRY;
- ACE_CHECK;
-#endif /* TAO_HAS_INTERCEPTORS */
-
- _tao_server_request.init_reply ();
-
- TAO_OutputCDR &_tao_out = _tao_server_request.outgoing ();
-
- if (!(
- (_tao_out << _tao_retval.in ())
- ))
- ACE_THROW (CORBA::MARSHAL());
-
- // In case ACE_TRY_ENV is not used in this function
- ACE_UNUSED_ARG (ACE_TRY_ENV);
-}
-
-void POA_IR::Contained::describe_skel (
- TAO_ServerRequest &_tao_server_request,
- void *_tao_object_reference,
- void * /* context */,
- CORBA::Environment &ACE_TRY_ENV
-)
-{
- POA_IR::Contained *_tao_impl = (POA_IR::Contained *)_tao_object_reference;
-
- IR_Contained::Description_var _tao_retval;
-
-#if (TAO_HAS_INTERCEPTORS == 1)
- TAO_ServerRequestInterceptor_Adapter _tao_vfr (
- _tao_server_request.orb_core ()->server_request_interceptors (),
- _tao_server_request.interceptor_count ()
- );
-
- POA_IR::Contained::TAO_ServerRequestInfo_IR_Contained_describe ri (
- _tao_server_request,
- _tao_impl,
- ACE_TRY_ENV
- );
-
- ACE_TRY
- {
- _tao_vfr.receive_request (&ri, ACE_TRY_ENV);
- ACE_TRY_CHECK;
-
-#endif /* TAO_HAS_INTERCEPTORS */
- _tao_retval =
- _tao_impl->describe (
- ACE_TRY_ENV
- );
- TAO_INTERCEPTOR_CHECK;
-
-#if (TAO_HAS_INTERCEPTORS == 1)
- IR_Contained::Description * _tao_retval_info = _tao_retval._retn ();
- ri.result (_tao_retval_info);
- _tao_retval = _tao_retval_info;
- ri.reply_status (PortableInterceptor::SUCCESSFUL);
- _tao_vfr.send_reply (&ri, ACE_TRY_ENV);
- ACE_TRY_CHECK;
- }
- ACE_CATCH (PortableInterceptor::ForwardRequest, exc)
- {
- ri.forward_reference (exc);
- _tao_vfr.send_other (
- &ri,
- ACE_TRY_ENV
- );
- ACE_TRY_CHECK;
- _tao_server_request.forward_location (exc.forward.in ());
- }
- ACE_CATCHANY
- {
- ri.exception (&ACE_ANY_EXCEPTION);
- _tao_vfr.send_exception (
- &ri,
- ACE_TRY_ENV
- );
- ACE_TRY_CHECK;
- ACE_RE_THROW;
- }
- ACE_ENDTRY;
- ACE_CHECK;
-#endif /* TAO_HAS_INTERCEPTORS */
-
- _tao_server_request.init_reply ();
-
- TAO_OutputCDR &_tao_out = _tao_server_request.outgoing ();
-
- if (!(
- (_tao_out << _tao_retval.in ())
- ))
- ACE_THROW (CORBA::MARSHAL());
-
- // In case ACE_TRY_ENV is not used in this function
- ACE_UNUSED_ARG (ACE_TRY_ENV);
-}
-
-void POA_IR::Contained::move_skel (
- TAO_ServerRequest &_tao_server_request,
- void *_tao_object_reference,
- void * /* context */,
- CORBA::Environment &ACE_TRY_ENV
-)
-{
- TAO_InputCDR &_tao_in = _tao_server_request.incoming ();
- POA_IR::Contained *_tao_impl = (POA_IR::Contained *)_tao_object_reference;
-
- _tao_server_request.argument_flag (0);
- IR_Container_var new_container;
- CORBA::String_var new_name;
- CORBA::String_var new_version;
- if (!(
- (_tao_in >> new_container.out ()) &&
- (_tao_in >> new_name.out ()) &&
- (_tao_in >> new_version.out ())
- ))
- ACE_THROW (CORBA::MARSHAL());
-
-
-#if (TAO_HAS_INTERCEPTORS == 1)
- TAO_ServerRequestInterceptor_Adapter _tao_vfr (
- _tao_server_request.orb_core ()->server_request_interceptors (),
- _tao_server_request.interceptor_count ()
- );
-
- POA_IR::Contained::TAO_ServerRequestInfo_IR_Contained_move ri (
- _tao_server_request,
- _tao_impl,
- new_container.in (),
- new_name.in (),
- new_version.in (),
- ACE_TRY_ENV
- );
-
- ACE_TRY
- {
- _tao_vfr.receive_request (&ri, ACE_TRY_ENV);
- ACE_TRY_CHECK;
-
-#endif /* TAO_HAS_INTERCEPTORS */
-
- _tao_impl->move (
- new_container.in (),
- new_name.in (),
- new_version.in (),
- ACE_TRY_ENV
- );
- TAO_INTERCEPTOR_CHECK;
-
-#if (TAO_HAS_INTERCEPTORS == 1)
- ri.reply_status (PortableInterceptor::SUCCESSFUL);
- _tao_vfr.send_reply (&ri, ACE_TRY_ENV);
- ACE_TRY_CHECK;
- }
- ACE_CATCH (PortableInterceptor::ForwardRequest, exc)
- {
- ri.forward_reference (exc);
- _tao_vfr.send_other (
- &ri,
- ACE_TRY_ENV
- );
- ACE_TRY_CHECK;
- _tao_server_request.forward_location (exc.forward.in ());
- }
- ACE_CATCHANY
- {
- ri.exception (&ACE_ANY_EXCEPTION);
- _tao_vfr.send_exception (
- &ri,
- ACE_TRY_ENV
- );
- ACE_TRY_CHECK;
- ACE_RE_THROW;
- }
- ACE_ENDTRY;
- ACE_CHECK;
-#endif /* TAO_HAS_INTERCEPTORS */
-
- _tao_server_request.init_reply ();
-
- // In case ACE_TRY_ENV is not used in this function
- ACE_UNUSED_ARG (ACE_TRY_ENV);
-}
-
-void POA_IR::Contained::_is_a_skel (
- TAO_ServerRequest &_tao_server_request,
- void * _tao_object_reference,
- void * /* context */,
- CORBA::Environment &ACE_TRY_ENV
- )
-{
- TAO_InputCDR &_tao_in = _tao_server_request.incoming ();
- POA_IR::Contained *_tao_impl = (POA_IR::Contained *) _tao_object_reference;
- CORBA::Boolean _tao_retval = 0;
- CORBA::String_var value;
- if (!((_tao_in >> value.out ())))
- ACE_THROW (CORBA::MARSHAL ());
-
- _tao_retval = _tao_impl->_is_a (value.in (), ACE_TRY_ENV);
- ACE_CHECK;
-
- _tao_server_request.init_reply ();
- TAO_OutputCDR &_tao_out = _tao_server_request.outgoing ();
- if (!((_tao_out << CORBA::Any::from_boolean (_tao_retval))))
- ACE_THROW (CORBA::MARSHAL ());
-}
-
-void POA_IR::Contained::_non_existent_skel (
- TAO_ServerRequest &_tao_server_request,
- void * _tao_object_reference,
- void * /* context */,
- CORBA::Environment &ACE_TRY_ENV
- )
-{
- POA_IR::Contained *_tao_impl = (POA_IR::Contained *) _tao_object_reference;
- CORBA::Boolean _tao_retval = _tao_impl->_non_existent (ACE_TRY_ENV);
- ACE_CHECK;
-
- _tao_server_request.init_reply ();
- TAO_OutputCDR &_tao_out = _tao_server_request.outgoing ();
- if (!((_tao_out << CORBA::Any::from_boolean (_tao_retval))))
- ACE_THROW (CORBA::MARSHAL ());
-}
-
-CORBA::Boolean POA_IR::Contained::_is_a (
- const char* value,
- CORBA::Environment &ACE_TRY_ENV
- )
-{
- if (
- (!ACE_OS::strcmp ((char *)value, "IDL:omg.org/IR/Contained:1.0")) ||
- (!ACE_OS::strcmp ((char *)value, "IDL:omg.org/CORBA/IRObject:1.0")) ||
- (!ACE_OS::strcmp ((char *)value, CORBA::_tc_Object->id (ACE_TRY_ENV))))
- return 1;
- else
- return 0;
-}
-
-void* POA_IR::Contained::_downcast (
- const char* logical_type_id
- )
-{
- if (ACE_OS::strcmp (logical_type_id, "IDL:omg.org/IR/Contained:1.0") == 0)
- return ACE_static_cast (POA_IR::Contained_ptr, this);
- if (ACE_OS::strcmp (logical_type_id, "IDL:omg.org/CORBA/IRObject:1.0") == 0)
- return ACE_static_cast (POA_CORBA_IRObject_ptr, this);
- if (ACE_OS::strcmp (logical_type_id, "IDL:omg.org/CORBA/Object:1.0") == 0)
- return ACE_static_cast(PortableServer::Servant, this);
- return 0;
-}
-
-void POA_IR::Contained::_dispatch (TAO_ServerRequest &req, void *context, CORBA::Environment &ACE_TRY_ENV)
-{
- this->synchronous_upcall_dispatch(req, context, this, ACE_TRY_ENV);
-}
-
-const char* POA_IR::Contained::_interface_repository_id (void) const
-{
- return "IDL:omg.org/IR/Contained:1.0";
-}
-
-IR_Contained*
-POA_IR::Contained::_this (CORBA_Environment &ACE_TRY_ENV)
-{
- TAO_Stub *stub = this->_create_stub (ACE_TRY_ENV);
- ACE_CHECK_RETURN (0);
-
- CORBA::Object_ptr tmp = CORBA::Object::_nil ();
-
- if (stub->servant_orb_var ()->orb_core ()->optimize_collocation_objects ())
- ACE_NEW_RETURN (tmp, CORBA::Object (stub, 1, this), 0);
- else
- ACE_NEW_RETURN (tmp, CORBA::Object (stub, 0, this), 0);
-
- CORBA::Object_var obj = tmp;
- return IR_Contained::_unchecked_narrow (obj.in ());
-}
-
-#if (TAO_HAS_INTERCEPTORS == 1)
-POA_IR::Contained::TAO_ServerRequestInfo_IR_Contained_id_get::TAO_ServerRequestInfo_IR_Contained_id_get (
- TAO_ServerRequest &_tao_server_request,
- POA_IR::Contained *tao_impl,
- CORBA::Environment &
- )
- : TAO_ServerRequestInfo (_tao_server_request),
- _tao_impl (tao_impl)
-{}
-
-Dynamic::ParameterList *
-POA_IR::Contained::TAO_ServerRequestInfo_IR_Contained_id_get::arguments (CORBA::Environment &ACE_TRY_ENV)
- ACE_THROW_SPEC ((CORBA::SystemException))
-{
- // Generate the argument list on demand.
- Dynamic::ParameterList *parameter_list =
- TAO_RequestInfo_Util::make_parameter_list (ACE_TRY_ENV);
- ACE_CHECK_RETURN (0);
-
- return parameter_list;
-}
-
-Dynamic::ExceptionList *
-POA_IR::Contained::TAO_ServerRequestInfo_IR_Contained_id_get::exceptions (CORBA::Environment &ACE_TRY_ENV)
- ACE_THROW_SPEC ((CORBA::SystemException))
-{
- // Generate the exception list on demand.
- Dynamic::ExceptionList *exception_list =
- TAO_RequestInfo_Util::make_exception_list (ACE_TRY_ENV);
- ACE_CHECK_RETURN (0);
-
- return exception_list;
-}
-
-CORBA::Any *
-POA_IR::Contained::TAO_ServerRequestInfo_IR_Contained_id_get::result (CORBA::Environment &ACE_TRY_ENV)
- ACE_THROW_SPEC ((CORBA::SystemException))
-{
- // Generate the result on demand.
- CORBA::Boolean tk_void_any = 0;
- CORBA::Any *result_any =
- TAO_RequestInfo_Util::make_any (tk_void_any, ACE_TRY_ENV);
- ACE_CHECK_RETURN (0);
-
- CORBA::Any_var safe_result_any = result_any;
-
- (*result_any) <<= this->_result;
-
- return safe_result_any._retn ();
-}
-
-char *
-POA_IR::Contained::TAO_ServerRequestInfo_IR_Contained_id_get::target_most_derived_interface (
- CORBA::Environment &)
- ACE_THROW_SPEC ((CORBA::SystemException))
-{
- return
- CORBA::string_dup (this->_tao_impl->_interface_repository_id ());
-}
-
-CORBA::Boolean
-POA_IR::Contained::TAO_ServerRequestInfo_IR_Contained_id_get::target_is_a (
- const char * id,
- CORBA::Environment &ACE_TRY_ENV)
- ACE_THROW_SPEC ((CORBA::SystemException))
-{
- return this->_tao_impl->_is_a (id, ACE_TRY_ENV);
-}
-
-void
-POA_IR::Contained::TAO_ServerRequestInfo_IR_Contained_id_get::result (char * result)
-{
- // Update the result.
- this->_result = result;
-}
-
-POA_IR::Contained::TAO_ServerRequestInfo_IR_Contained_id_set::TAO_ServerRequestInfo_IR_Contained_id_set (
- TAO_ServerRequest &_tao_server_request,
- POA_IR::Contained *tao_impl,
- const char * id,
- CORBA::Environment &
- )
- : TAO_ServerRequestInfo (_tao_server_request),
- _tao_impl (tao_impl),
- id_ (id)
-{}
-
-Dynamic::ParameterList *
-POA_IR::Contained::TAO_ServerRequestInfo_IR_Contained_id_set::arguments (CORBA::Environment &ACE_TRY_ENV)
- ACE_THROW_SPEC ((CORBA::SystemException))
-{
- // Generate the argument list on demand.
- Dynamic::ParameterList *parameter_list =
- TAO_RequestInfo_Util::make_parameter_list (ACE_TRY_ENV);
- ACE_CHECK_RETURN (0);
-
- Dynamic::ParameterList_var safe_parameter_list = parameter_list;
-
- CORBA::ULong length_id = parameter_list->length ();
- parameter_list->length (length_id + 1);
- (*parameter_list)[length_id].argument <<= id_;
- (*parameter_list)[length_id].mode = Dynamic::PARAM_IN;
-
- return safe_parameter_list._retn ();
-}
-
-Dynamic::ExceptionList *
-POA_IR::Contained::TAO_ServerRequestInfo_IR_Contained_id_set::exceptions (CORBA::Environment &ACE_TRY_ENV)
- ACE_THROW_SPEC ((CORBA::SystemException))
-{
- // Generate the exception list on demand.
- Dynamic::ExceptionList *exception_list =
- TAO_RequestInfo_Util::make_exception_list (ACE_TRY_ENV);
- ACE_CHECK_RETURN (0);
-
- return exception_list;
-}
-
-CORBA::Any *
-POA_IR::Contained::TAO_ServerRequestInfo_IR_Contained_id_set::result (CORBA::Environment &ACE_TRY_ENV)
- ACE_THROW_SPEC ((CORBA::SystemException))
-{
- // Generate the result on demand.
- CORBA::Boolean tk_void_any = 1;
- CORBA::Any *result_any =
- TAO_RequestInfo_Util::make_any (tk_void_any, ACE_TRY_ENV);
- ACE_CHECK_RETURN (0);
-
- return result_any;
-}
-
-char *
-POA_IR::Contained::TAO_ServerRequestInfo_IR_Contained_id_set::target_most_derived_interface (
- CORBA::Environment &)
- ACE_THROW_SPEC ((CORBA::SystemException))
-{
- return
- CORBA::string_dup (this->_tao_impl->_interface_repository_id ());
-}
-
-CORBA::Boolean
-POA_IR::Contained::TAO_ServerRequestInfo_IR_Contained_id_set::target_is_a (
- const char * id,
- CORBA::Environment &ACE_TRY_ENV)
- ACE_THROW_SPEC ((CORBA::SystemException))
-{
- return this->_tao_impl->_is_a (id, ACE_TRY_ENV);
-}
-
-POA_IR::Contained::TAO_ServerRequestInfo_IR_Contained_name_get::TAO_ServerRequestInfo_IR_Contained_name_get (
- TAO_ServerRequest &_tao_server_request,
- POA_IR::Contained *tao_impl,
- CORBA::Environment &
- )
- : TAO_ServerRequestInfo (_tao_server_request),
- _tao_impl (tao_impl)
-{}
-
-Dynamic::ParameterList *
-POA_IR::Contained::TAO_ServerRequestInfo_IR_Contained_name_get::arguments (CORBA::Environment &ACE_TRY_ENV)
- ACE_THROW_SPEC ((CORBA::SystemException))
-{
- // Generate the argument list on demand.
- Dynamic::ParameterList *parameter_list =
- TAO_RequestInfo_Util::make_parameter_list (ACE_TRY_ENV);
- ACE_CHECK_RETURN (0);
-
- return parameter_list;
-}
-
-Dynamic::ExceptionList *
-POA_IR::Contained::TAO_ServerRequestInfo_IR_Contained_name_get::exceptions (CORBA::Environment &ACE_TRY_ENV)
- ACE_THROW_SPEC ((CORBA::SystemException))
-{
- // Generate the exception list on demand.
- Dynamic::ExceptionList *exception_list =
- TAO_RequestInfo_Util::make_exception_list (ACE_TRY_ENV);
- ACE_CHECK_RETURN (0);
-
- return exception_list;
-}
-
-CORBA::Any *
-POA_IR::Contained::TAO_ServerRequestInfo_IR_Contained_name_get::result (CORBA::Environment &ACE_TRY_ENV)
- ACE_THROW_SPEC ((CORBA::SystemException))
-{
- // Generate the result on demand.
- CORBA::Boolean tk_void_any = 0;
- CORBA::Any *result_any =
- TAO_RequestInfo_Util::make_any (tk_void_any, ACE_TRY_ENV);
- ACE_CHECK_RETURN (0);
-
- CORBA::Any_var safe_result_any = result_any;
-
- (*result_any) <<= this->_result;
-
- return safe_result_any._retn ();
-}
-
-char *
-POA_IR::Contained::TAO_ServerRequestInfo_IR_Contained_name_get::target_most_derived_interface (
- CORBA::Environment &)
- ACE_THROW_SPEC ((CORBA::SystemException))
-{
- return
- CORBA::string_dup (this->_tao_impl->_interface_repository_id ());
-}
-
-CORBA::Boolean
-POA_IR::Contained::TAO_ServerRequestInfo_IR_Contained_name_get::target_is_a (
- const char * id,
- CORBA::Environment &ACE_TRY_ENV)
- ACE_THROW_SPEC ((CORBA::SystemException))
-{
- return this->_tao_impl->_is_a (id, ACE_TRY_ENV);
-}
-
-void
-POA_IR::Contained::TAO_ServerRequestInfo_IR_Contained_name_get::result (char * result)
-{
- // Update the result.
- this->_result = result;
-}
-
-POA_IR::Contained::TAO_ServerRequestInfo_IR_Contained_name_set::TAO_ServerRequestInfo_IR_Contained_name_set (
- TAO_ServerRequest &_tao_server_request,
- POA_IR::Contained *tao_impl,
- const char * name,
- CORBA::Environment &
- )
- : TAO_ServerRequestInfo (_tao_server_request),
- _tao_impl (tao_impl),
- name_ (name)
-{}
-
-Dynamic::ParameterList *
-POA_IR::Contained::TAO_ServerRequestInfo_IR_Contained_name_set::arguments (CORBA::Environment &ACE_TRY_ENV)
- ACE_THROW_SPEC ((CORBA::SystemException))
-{
- // Generate the argument list on demand.
- Dynamic::ParameterList *parameter_list =
- TAO_RequestInfo_Util::make_parameter_list (ACE_TRY_ENV);
- ACE_CHECK_RETURN (0);
-
- Dynamic::ParameterList_var safe_parameter_list = parameter_list;
-
- CORBA::ULong length_name = parameter_list->length ();
- parameter_list->length (length_name + 1);
- (*parameter_list)[length_name].argument <<= name_;
- (*parameter_list)[length_name].mode = Dynamic::PARAM_IN;
-
- return safe_parameter_list._retn ();
-}
-
-Dynamic::ExceptionList *
-POA_IR::Contained::TAO_ServerRequestInfo_IR_Contained_name_set::exceptions (CORBA::Environment &ACE_TRY_ENV)
- ACE_THROW_SPEC ((CORBA::SystemException))
-{
- // Generate the exception list on demand.
- Dynamic::ExceptionList *exception_list =
- TAO_RequestInfo_Util::make_exception_list (ACE_TRY_ENV);
- ACE_CHECK_RETURN (0);
-
- return exception_list;
-}
-
-CORBA::Any *
-POA_IR::Contained::TAO_ServerRequestInfo_IR_Contained_name_set::result (CORBA::Environment &ACE_TRY_ENV)
- ACE_THROW_SPEC ((CORBA::SystemException))
-{
- // Generate the result on demand.
- CORBA::Boolean tk_void_any = 1;
- CORBA::Any *result_any =
- TAO_RequestInfo_Util::make_any (tk_void_any, ACE_TRY_ENV);
- ACE_CHECK_RETURN (0);
-
- return result_any;
-}
-
-char *
-POA_IR::Contained::TAO_ServerRequestInfo_IR_Contained_name_set::target_most_derived_interface (
- CORBA::Environment &)
- ACE_THROW_SPEC ((CORBA::SystemException))
-{
- return
- CORBA::string_dup (this->_tao_impl->_interface_repository_id ());
-}
-
-CORBA::Boolean
-POA_IR::Contained::TAO_ServerRequestInfo_IR_Contained_name_set::target_is_a (
- const char * id,
- CORBA::Environment &ACE_TRY_ENV)
- ACE_THROW_SPEC ((CORBA::SystemException))
-{
- return this->_tao_impl->_is_a (id, ACE_TRY_ENV);
-}
-
-POA_IR::Contained::TAO_ServerRequestInfo_IR_Contained_version_get::TAO_ServerRequestInfo_IR_Contained_version_get (
- TAO_ServerRequest &_tao_server_request,
- POA_IR::Contained *tao_impl,
- CORBA::Environment &
- )
- : TAO_ServerRequestInfo (_tao_server_request),
- _tao_impl (tao_impl)
-{}
-
-Dynamic::ParameterList *
-POA_IR::Contained::TAO_ServerRequestInfo_IR_Contained_version_get::arguments (CORBA::Environment &ACE_TRY_ENV)
- ACE_THROW_SPEC ((CORBA::SystemException))
-{
- // Generate the argument list on demand.
- Dynamic::ParameterList *parameter_list =
- TAO_RequestInfo_Util::make_parameter_list (ACE_TRY_ENV);
- ACE_CHECK_RETURN (0);
-
- return parameter_list;
-}
-
-Dynamic::ExceptionList *
-POA_IR::Contained::TAO_ServerRequestInfo_IR_Contained_version_get::exceptions (CORBA::Environment &ACE_TRY_ENV)
- ACE_THROW_SPEC ((CORBA::SystemException))
-{
- // Generate the exception list on demand.
- Dynamic::ExceptionList *exception_list =
- TAO_RequestInfo_Util::make_exception_list (ACE_TRY_ENV);
- ACE_CHECK_RETURN (0);
-
- return exception_list;
-}
-
-CORBA::Any *
-POA_IR::Contained::TAO_ServerRequestInfo_IR_Contained_version_get::result (CORBA::Environment &ACE_TRY_ENV)
- ACE_THROW_SPEC ((CORBA::SystemException))
-{
- // Generate the result on demand.
- CORBA::Boolean tk_void_any = 0;
- CORBA::Any *result_any =
- TAO_RequestInfo_Util::make_any (tk_void_any, ACE_TRY_ENV);
- ACE_CHECK_RETURN (0);
-
- CORBA::Any_var safe_result_any = result_any;
-
- (*result_any) <<= this->_result;
-
- return safe_result_any._retn ();
-}
-
-char *
-POA_IR::Contained::TAO_ServerRequestInfo_IR_Contained_version_get::target_most_derived_interface (
- CORBA::Environment &)
- ACE_THROW_SPEC ((CORBA::SystemException))
-{
- return
- CORBA::string_dup (this->_tao_impl->_interface_repository_id ());
-}
-
-CORBA::Boolean
-POA_IR::Contained::TAO_ServerRequestInfo_IR_Contained_version_get::target_is_a (
- const char * id,
- CORBA::Environment &ACE_TRY_ENV)
- ACE_THROW_SPEC ((CORBA::SystemException))
-{
- return this->_tao_impl->_is_a (id, ACE_TRY_ENV);
-}
-
-void
-POA_IR::Contained::TAO_ServerRequestInfo_IR_Contained_version_get::result (char * result)
-{
- // Update the result.
- this->_result = result;
-}
-
-POA_IR::Contained::TAO_ServerRequestInfo_IR_Contained_version_set::TAO_ServerRequestInfo_IR_Contained_version_set (
- TAO_ServerRequest &_tao_server_request,
- POA_IR::Contained *tao_impl,
- const char * version,
- CORBA::Environment &
- )
- : TAO_ServerRequestInfo (_tao_server_request),
- _tao_impl (tao_impl),
- version_ (version)
-{}
-
-Dynamic::ParameterList *
-POA_IR::Contained::TAO_ServerRequestInfo_IR_Contained_version_set::arguments (CORBA::Environment &ACE_TRY_ENV)
- ACE_THROW_SPEC ((CORBA::SystemException))
-{
- // Generate the argument list on demand.
- Dynamic::ParameterList *parameter_list =
- TAO_RequestInfo_Util::make_parameter_list (ACE_TRY_ENV);
- ACE_CHECK_RETURN (0);
-
- Dynamic::ParameterList_var safe_parameter_list = parameter_list;
-
- CORBA::ULong length_version = parameter_list->length ();
- parameter_list->length (length_version + 1);
- (*parameter_list)[length_version].argument <<= version_;
- (*parameter_list)[length_version].mode = Dynamic::PARAM_IN;
-
- return safe_parameter_list._retn ();
-}
-
-Dynamic::ExceptionList *
-POA_IR::Contained::TAO_ServerRequestInfo_IR_Contained_version_set::exceptions (CORBA::Environment &ACE_TRY_ENV)
- ACE_THROW_SPEC ((CORBA::SystemException))
-{
- // Generate the exception list on demand.
- Dynamic::ExceptionList *exception_list =
- TAO_RequestInfo_Util::make_exception_list (ACE_TRY_ENV);
- ACE_CHECK_RETURN (0);
-
- return exception_list;
-}
-
-CORBA::Any *
-POA_IR::Contained::TAO_ServerRequestInfo_IR_Contained_version_set::result (CORBA::Environment &ACE_TRY_ENV)
- ACE_THROW_SPEC ((CORBA::SystemException))
-{
- // Generate the result on demand.
- CORBA::Boolean tk_void_any = 1;
- CORBA::Any *result_any =
- TAO_RequestInfo_Util::make_any (tk_void_any, ACE_TRY_ENV);
- ACE_CHECK_RETURN (0);
-
- return result_any;
-}
-
-char *
-POA_IR::Contained::TAO_ServerRequestInfo_IR_Contained_version_set::target_most_derived_interface (
- CORBA::Environment &)
- ACE_THROW_SPEC ((CORBA::SystemException))
-{
- return
- CORBA::string_dup (this->_tao_impl->_interface_repository_id ());
-}
-
-CORBA::Boolean
-POA_IR::Contained::TAO_ServerRequestInfo_IR_Contained_version_set::target_is_a (
- const char * id,
- CORBA::Environment &ACE_TRY_ENV)
- ACE_THROW_SPEC ((CORBA::SystemException))
-{
- return this->_tao_impl->_is_a (id, ACE_TRY_ENV);
-}
-
-POA_IR::Contained::TAO_ServerRequestInfo_IR_Contained_defined_in_get::TAO_ServerRequestInfo_IR_Contained_defined_in_get (
- TAO_ServerRequest &_tao_server_request,
- POA_IR::Contained *tao_impl,
- CORBA::Environment &
- )
- : TAO_ServerRequestInfo (_tao_server_request),
- _tao_impl (tao_impl)
-{}
-
-Dynamic::ParameterList *
-POA_IR::Contained::TAO_ServerRequestInfo_IR_Contained_defined_in_get::arguments (CORBA::Environment &ACE_TRY_ENV)
- ACE_THROW_SPEC ((CORBA::SystemException))
-{
- // Generate the argument list on demand.
- Dynamic::ParameterList *parameter_list =
- TAO_RequestInfo_Util::make_parameter_list (ACE_TRY_ENV);
- ACE_CHECK_RETURN (0);
-
- return parameter_list;
-}
-
-Dynamic::ExceptionList *
-POA_IR::Contained::TAO_ServerRequestInfo_IR_Contained_defined_in_get::exceptions (CORBA::Environment &ACE_TRY_ENV)
- ACE_THROW_SPEC ((CORBA::SystemException))
-{
- // Generate the exception list on demand.
- Dynamic::ExceptionList *exception_list =
- TAO_RequestInfo_Util::make_exception_list (ACE_TRY_ENV);
- ACE_CHECK_RETURN (0);
-
- return exception_list;
-}
-
-CORBA::Any *
-POA_IR::Contained::TAO_ServerRequestInfo_IR_Contained_defined_in_get::result (CORBA::Environment &ACE_TRY_ENV)
- ACE_THROW_SPEC ((CORBA::SystemException))
-{
- // Generate the result on demand.
- CORBA::Boolean tk_void_any = 0;
- CORBA::Any *result_any =
- TAO_RequestInfo_Util::make_any (tk_void_any, ACE_TRY_ENV);
- ACE_CHECK_RETURN (0);
-
- CORBA::Any_var safe_result_any = result_any;
-
- (*result_any) <<= this->_result;
-
- return safe_result_any._retn ();
-}
-
-char *
-POA_IR::Contained::TAO_ServerRequestInfo_IR_Contained_defined_in_get::target_most_derived_interface (
- CORBA::Environment &)
- ACE_THROW_SPEC ((CORBA::SystemException))
-{
- return
- CORBA::string_dup (this->_tao_impl->_interface_repository_id ());
-}
-
-CORBA::Boolean
-POA_IR::Contained::TAO_ServerRequestInfo_IR_Contained_defined_in_get::target_is_a (
- const char * id,
- CORBA::Environment &ACE_TRY_ENV)
- ACE_THROW_SPEC ((CORBA::SystemException))
-{
- return this->_tao_impl->_is_a (id, ACE_TRY_ENV);
-}
-
-void
-POA_IR::Contained::TAO_ServerRequestInfo_IR_Contained_defined_in_get::result (IR::Container_ptr result)
-{
- // Update the result.
- this->_result = result;
-}
-
-POA_IR::Contained::TAO_ServerRequestInfo_IR_Contained_absolute_name_get::TAO_ServerRequestInfo_IR_Contained_absolute_name_get (
- TAO_ServerRequest &_tao_server_request,
- POA_IR::Contained *tao_impl,
- CORBA::Environment &
- )
- : TAO_ServerRequestInfo (_tao_server_request),
- _tao_impl (tao_impl)
-{}
-
-Dynamic::ParameterList *
-POA_IR::Contained::TAO_ServerRequestInfo_IR_Contained_absolute_name_get::arguments (CORBA::Environment &ACE_TRY_ENV)
- ACE_THROW_SPEC ((CORBA::SystemException))
-{
- // Generate the argument list on demand.
- Dynamic::ParameterList *parameter_list =
- TAO_RequestInfo_Util::make_parameter_list (ACE_TRY_ENV);
- ACE_CHECK_RETURN (0);
-
- return parameter_list;
-}
-
-Dynamic::ExceptionList *
-POA_IR::Contained::TAO_ServerRequestInfo_IR_Contained_absolute_name_get::exceptions (CORBA::Environment &ACE_TRY_ENV)
- ACE_THROW_SPEC ((CORBA::SystemException))
-{
- // Generate the exception list on demand.
- Dynamic::ExceptionList *exception_list =
- TAO_RequestInfo_Util::make_exception_list (ACE_TRY_ENV);
- ACE_CHECK_RETURN (0);
-
- return exception_list;
-}
-
-CORBA::Any *
-POA_IR::Contained::TAO_ServerRequestInfo_IR_Contained_absolute_name_get::result (CORBA::Environment &ACE_TRY_ENV)
- ACE_THROW_SPEC ((CORBA::SystemException))
-{
- // Generate the result on demand.
- CORBA::Boolean tk_void_any = 0;
- CORBA::Any *result_any =
- TAO_RequestInfo_Util::make_any (tk_void_any, ACE_TRY_ENV);
- ACE_CHECK_RETURN (0);
-
- CORBA::Any_var safe_result_any = result_any;
-
- (*result_any) <<= this->_result;
-
- return safe_result_any._retn ();
-}
-
-char *
-POA_IR::Contained::TAO_ServerRequestInfo_IR_Contained_absolute_name_get::target_most_derived_interface (
- CORBA::Environment &)
- ACE_THROW_SPEC ((CORBA::SystemException))
-{
- return
- CORBA::string_dup (this->_tao_impl->_interface_repository_id ());
-}
-
-CORBA::Boolean
-POA_IR::Contained::TAO_ServerRequestInfo_IR_Contained_absolute_name_get::target_is_a (
- const char * id,
- CORBA::Environment &ACE_TRY_ENV)
- ACE_THROW_SPEC ((CORBA::SystemException))
-{
- return this->_tao_impl->_is_a (id, ACE_TRY_ENV);
-}
-
-void
-POA_IR::Contained::TAO_ServerRequestInfo_IR_Contained_absolute_name_get::result (char * result)
-{
- // Update the result.
- this->_result = result;
-}
-
-POA_IR::Contained::TAO_ServerRequestInfo_IR_Contained_containing_repository_get::TAO_ServerRequestInfo_IR_Contained_containing_repository_get (
- TAO_ServerRequest &_tao_server_request,
- POA_IR::Contained *tao_impl,
- CORBA::Environment &
- )
- : TAO_ServerRequestInfo (_tao_server_request),
- _tao_impl (tao_impl)
-{}
-
-Dynamic::ParameterList *
-POA_IR::Contained::TAO_ServerRequestInfo_IR_Contained_containing_repository_get::arguments (CORBA::Environment &ACE_TRY_ENV)
- ACE_THROW_SPEC ((CORBA::SystemException))
-{
- // Generate the argument list on demand.
- Dynamic::ParameterList *parameter_list =
- TAO_RequestInfo_Util::make_parameter_list (ACE_TRY_ENV);
- ACE_CHECK_RETURN (0);
-
- return parameter_list;
-}
-
-Dynamic::ExceptionList *
-POA_IR::Contained::TAO_ServerRequestInfo_IR_Contained_containing_repository_get::exceptions (CORBA::Environment &ACE_TRY_ENV)
- ACE_THROW_SPEC ((CORBA::SystemException))
-{
- // Generate the exception list on demand.
- Dynamic::ExceptionList *exception_list =
- TAO_RequestInfo_Util::make_exception_list (ACE_TRY_ENV);
- ACE_CHECK_RETURN (0);
-
- return exception_list;
-}
-
-CORBA::Any *
-POA_IR::Contained::TAO_ServerRequestInfo_IR_Contained_containing_repository_get::result (CORBA::Environment &ACE_TRY_ENV)
- ACE_THROW_SPEC ((CORBA::SystemException))
-{
- // Generate the result on demand.
- CORBA::Boolean tk_void_any = 0;
- CORBA::Any *result_any =
- TAO_RequestInfo_Util::make_any (tk_void_any, ACE_TRY_ENV);
- ACE_CHECK_RETURN (0);
-
- CORBA::Any_var safe_result_any = result_any;
-
- (*result_any) <<= this->_result;
-
- return safe_result_any._retn ();
-}
-
-char *
-POA_IR::Contained::TAO_ServerRequestInfo_IR_Contained_containing_repository_get::target_most_derived_interface (
- CORBA::Environment &)
- ACE_THROW_SPEC ((CORBA::SystemException))
-{
- return
- CORBA::string_dup (this->_tao_impl->_interface_repository_id ());
-}
-
-CORBA::Boolean
-POA_IR::Contained::TAO_ServerRequestInfo_IR_Contained_containing_repository_get::target_is_a (
- const char * id,
- CORBA::Environment &ACE_TRY_ENV)
- ACE_THROW_SPEC ((CORBA::SystemException))
-{
- return this->_tao_impl->_is_a (id, ACE_TRY_ENV);
-}
-
-void
-POA_IR::Contained::TAO_ServerRequestInfo_IR_Contained_containing_repository_get::result (IR::Repository_ptr result)
-{
- // Update the result.
- this->_result = result;
-}
-
-POA_IR::Contained::TAO_ServerRequestInfo_IR_Contained_describe::TAO_ServerRequestInfo_IR_Contained_describe (
- TAO_ServerRequest &_tao_server_request,
- POA_IR::Contained *tao_impl,
- CORBA::Environment &
- )
- : TAO_ServerRequestInfo (_tao_server_request),
- _tao_impl (tao_impl)
-{}
-
-Dynamic::ParameterList *
-POA_IR::Contained::TAO_ServerRequestInfo_IR_Contained_describe::arguments (CORBA::Environment &ACE_TRY_ENV)
- ACE_THROW_SPEC ((CORBA::SystemException))
-{
- // Generate the argument list on demand.
- Dynamic::ParameterList *parameter_list =
- TAO_RequestInfo_Util::make_parameter_list (ACE_TRY_ENV);
- ACE_CHECK_RETURN (0);
-
- return parameter_list;
-}
-
-Dynamic::ExceptionList *
-POA_IR::Contained::TAO_ServerRequestInfo_IR_Contained_describe::exceptions (CORBA::Environment &ACE_TRY_ENV)
- ACE_THROW_SPEC ((CORBA::SystemException))
-{
- // Generate the exception list on demand.
- Dynamic::ExceptionList *exception_list =
- TAO_RequestInfo_Util::make_exception_list (ACE_TRY_ENV);
- ACE_CHECK_RETURN (0);
-
- return exception_list;
-}
-
-CORBA::Any *
-POA_IR::Contained::TAO_ServerRequestInfo_IR_Contained_describe::result (CORBA::Environment &ACE_TRY_ENV)
- ACE_THROW_SPEC ((CORBA::SystemException))
-{
- // Generate the result on demand.
- CORBA::Boolean tk_void_any = 0;
- CORBA::Any *result_any =
- TAO_RequestInfo_Util::make_any (tk_void_any, ACE_TRY_ENV);
- ACE_CHECK_RETURN (0);
-
- CORBA::Any_var safe_result_any = result_any;
-
- (*result_any) <<= this->_result;
-
- return safe_result_any._retn ();
-}
-
-char *
-POA_IR::Contained::TAO_ServerRequestInfo_IR_Contained_describe::target_most_derived_interface (
- CORBA::Environment &)
- ACE_THROW_SPEC ((CORBA::SystemException))
-{
- return
- CORBA::string_dup (this->_tao_impl->_interface_repository_id ());
-}
-
-CORBA::Boolean
-POA_IR::Contained::TAO_ServerRequestInfo_IR_Contained_describe::target_is_a (
- const char * id,
- CORBA::Environment &ACE_TRY_ENV)
- ACE_THROW_SPEC ((CORBA::SystemException))
-{
- return this->_tao_impl->_is_a (id, ACE_TRY_ENV);
-}
-
-void
-POA_IR::Contained::TAO_ServerRequestInfo_IR_Contained_describe::result (IR::Contained::Description * result)
-{
- // Update the result.
- this->_result = result;
-}
-
-POA_IR::Contained::TAO_ServerRequestInfo_IR_Contained_move::TAO_ServerRequestInfo_IR_Contained_move (
- TAO_ServerRequest &_tao_server_request,
- POA_IR::Contained *tao_impl,
- IR_Container_ptr new_container,
- const char * new_name,
- const char * new_version,
- CORBA::Environment &
- )
- : TAO_ServerRequestInfo (_tao_server_request),
- _tao_impl (tao_impl),
- new_container_ (new_container),
- new_name_ (new_name),
- new_version_ (new_version)
-{}
-
-Dynamic::ParameterList *
-POA_IR::Contained::TAO_ServerRequestInfo_IR_Contained_move::arguments (CORBA::Environment &ACE_TRY_ENV)
- ACE_THROW_SPEC ((CORBA::SystemException))
-{
- // Generate the argument list on demand.
- Dynamic::ParameterList *parameter_list =
- TAO_RequestInfo_Util::make_parameter_list (ACE_TRY_ENV);
- ACE_CHECK_RETURN (0);
-
- Dynamic::ParameterList_var safe_parameter_list = parameter_list;
-
- CORBA::ULong length_new_container = parameter_list->length ();
- parameter_list->length (length_new_container + 1);
- (*parameter_list)[length_new_container].argument <<= this->new_container_;
-
- (*parameter_list)[length_new_container].mode = Dynamic::PARAM_IN;
-
- CORBA::ULong length_new_name = parameter_list->length ();
- parameter_list->length (length_new_name + 1);
- (*parameter_list)[length_new_name].argument <<= new_name_;
- (*parameter_list)[length_new_name].mode = Dynamic::PARAM_IN;
-
- CORBA::ULong length_new_version = parameter_list->length ();
- parameter_list->length (length_new_version + 1);
- (*parameter_list)[length_new_version].argument <<= new_version_;
- (*parameter_list)[length_new_version].mode = Dynamic::PARAM_IN;
-
- return safe_parameter_list._retn ();
-}
-
-Dynamic::ExceptionList *
-POA_IR::Contained::TAO_ServerRequestInfo_IR_Contained_move::exceptions (CORBA::Environment &ACE_TRY_ENV)
- ACE_THROW_SPEC ((CORBA::SystemException))
-{
- // Generate the exception list on demand.
- Dynamic::ExceptionList *exception_list =
- TAO_RequestInfo_Util::make_exception_list (ACE_TRY_ENV);
- ACE_CHECK_RETURN (0);
-
- return exception_list;
-}
-
-CORBA::Any *
-POA_IR::Contained::TAO_ServerRequestInfo_IR_Contained_move::result (CORBA::Environment &ACE_TRY_ENV)
- ACE_THROW_SPEC ((CORBA::SystemException))
-{
- // Generate the result on demand.
- CORBA::Boolean tk_void_any = 1;
- CORBA::Any *result_any =
- TAO_RequestInfo_Util::make_any (tk_void_any, ACE_TRY_ENV);
- ACE_CHECK_RETURN (0);
-
- return result_any;
-}
-
-char *
-POA_IR::Contained::TAO_ServerRequestInfo_IR_Contained_move::target_most_derived_interface (
- CORBA::Environment &)
- ACE_THROW_SPEC ((CORBA::SystemException))
-{
- return
- CORBA::string_dup (this->_tao_impl->_interface_repository_id ());
-}
-
-CORBA::Boolean
-POA_IR::Contained::TAO_ServerRequestInfo_IR_Contained_move::target_is_a (
- const char * id,
- CORBA::Environment &ACE_TRY_ENV)
- ACE_THROW_SPEC ((CORBA::SystemException))
-{
- return this->_tao_impl->_is_a (id, ACE_TRY_ENV);
-}
-
-#endif /* TAO_HAS_INTERCEPTORS */
-
-class TAO_IR_Container_Perfect_Hash_OpTable : public TAO_Perfect_Hash_OpTable
-{
-private:
- unsigned int hash (const char *str, unsigned int len);
-public:
- const TAO_operation_db_entry * lookup (const char *str, unsigned int len);
-};
-/* starting time is 11:23:09 */
-/* C++ code produced by gperf version 2.8 (ACE version) */
-/* Command-line: gperf -m -M -J -c -C -D -E -T -f 0 -F 0 -a -o -t -p -K opname_ -L C++ -Z TAO_IR_Container_Perfect_Hash_OpTable -N lookup */
-unsigned int
-TAO_IR_Container_Perfect_Hash_OpTable::hash (const char *str, unsigned int len)
-{
- static const unsigned char asso_values[] =
- {
-#if defined (ACE_MVS)
- 39, 39, 39, 39, 39, 39, 39, 39, 39, 39,
- 39, 39, 39, 39, 39, 39, 39, 39, 39, 39,
- 39, 39, 39, 39, 39, 39, 39, 39, 39, 39,
- 39, 39, 39, 39, 39, 39, 39, 39, 39, 39,
- 39, 39, 39, 39, 39, 39, 39, 39, 39, 39,
- 39, 39, 39, 39, 39, 39, 39, 39, 39, 39,
- 39, 39, 39, 39, 39, 39, 39, 39, 39, 39,
- 39, 39, 39, 39, 39, 39, 39, 39, 39, 39,
- 39, 39, 39, 39, 39, 39, 39, 39, 39, 39,
- 39, 39, 39, 39, 39, 39, 39, 39, 39, 39,
- 39, 39, 39, 39, 39, 39, 39, 39, 39, 15,
- 39, 39, 39, 39, 39, 39, 39, 39, 39, 39,
- 39, 39, 39, 39, 39, 39, 39, 39, 39, 0,
- 39, 0, 0, 0, 39, 39, 39, 39, 39, 39,
- 39, 39, 39, 39, 39, 39, 39, 0, 20, 5,
- 39, 0, 39, 39, 39, 39, 39, 39, 39, 39,
- 39, 39, 10, 10, 39, 39, 39, 10, 0, 39,
- 39, 39, 39, 39, 39, 39, 39, 39, 39, 39,
- 39, 39, 39, 39, 39, 39, 39, 39, 39, 39,
- 39, 39, 39, 39, 39, 39, 39, 39, 39, 39,
- 39, 39, 39, 39, 39, 39, 39, 39, 39, 39,
- 39, 39, 39, 39, 39, 39, 39, 39, 39, 39,
- 39, 39, 39, 39, 39, 39, 39, 39, 39, 39,
- 39, 39, 39, 39, 39, 39, 39, 39, 39, 39,
- 39, 39, 39, 39, 39, 39, 39, 39, 39, 39,
- 39, 39, 39, 39, 39, 39,
-#else
- 39, 39, 39, 39, 39, 39, 39, 39, 39, 39,
- 39, 39, 39, 39, 39, 39, 39, 39, 39, 39,
- 39, 39, 39, 39, 39, 39, 39, 39, 39, 39,
- 39, 39, 39, 39, 39, 39, 39, 39, 39, 39,
- 39, 39, 39, 39, 39, 39, 39, 39, 39, 39,
- 39, 39, 39, 39, 39, 39, 39, 39, 39, 39,
- 39, 39, 39, 39, 39, 39, 39, 39, 39, 39,
- 39, 39, 39, 39, 39, 39, 39, 39, 39, 39,
- 39, 39, 39, 39, 39, 39, 39, 39, 39, 39,
- 39, 39, 39, 39, 39, 15, 39, 0, 39, 0,
- 0, 0, 39, 39, 39, 39, 39, 39, 0, 20,
- 5, 39, 0, 39, 39, 10, 10, 39, 39, 39,
- 10, 0, 39, 39, 39, 39, 39, 39,
-#endif /* ACE_MVS */
- };
- return len + asso_values[str[len - 1]] + asso_values[str[0]];
-}
-
-const class TAO_operation_db_entry *
-TAO_IR_Container_Perfect_Hash_OpTable::lookup (const char *str, unsigned int len)
-{
- enum
- {
- TOTAL_KEYWORDS = 19,
- MIN_WORD_LENGTH = 5,
- MAX_WORD_LENGTH = 17,
- MIN_HASH_VALUE = 6,
- MAX_HASH_VALUE = 38,
- HASH_VALUE_RANGE = 33,
- DUPLICATES = 2
- };
-
- static const class TAO_operation_db_entry wordlist[] =
- {
- {"",0},{"",0},{"",0},{"",0},{"",0},{"",0},
- {"lookup", &POA_IR::Container::lookup_skel},
- {"destroy", &POA_IR::Container::destroy_skel},
- {"lookup_name", &POA_IR::Container::lookup_name_skel},
- {"create_value", &POA_IR::Container::create_value_skel},
- {"create_module", &POA_IR::Container::create_module_skel},
- {"create_native", &POA_IR::Container::create_native_skel},
- {"create_interface", &POA_IR::Container::create_interface_skel},
- {"create_union", &POA_IR::Container::create_union_skel},
- {"contents", &POA_IR::Container::contents_skel},
- {"_is_a", &POA_IR::Container::_is_a_skel},
- {"create_exception", &POA_IR::Container::create_exception_skel},
- {"create_alias", &POA_IR::Container::create_alias_skel},
- {"create_struct", &POA_IR::Container::create_struct_skel},
- {"create_constant", &POA_IR::Container::create_constant_skel},
- {"create_value_box", &POA_IR::Container::create_value_box_skel},
- {"describe_contents", &POA_IR::Container::describe_contents_skel},
- {"_get_def_kind", &POA_IR::Container::_get_def_kind_skel},
- {"create_enum", &POA_IR::Container::create_enum_skel},
- {"_non_existent", &POA_IR::Container::_non_existent_skel},
- };
-
- static const signed char lookup[] =
- {
- -1, -1, -1, -1, -1, -1, 6, 7, -1, -10, -2, 8, 9, -42,
- -1, -1, 12, 13, 14, -1, 15, 16, 17, 18, -1, 19, 20, 21,
- 22, -1, -1, 23, -1, -1, -1, -1, -1, -1, 24,
- };
-
- if (len <= MAX_WORD_LENGTH && len >= MIN_WORD_LENGTH)
- {
- unsigned int key = hash (str, len);
-
- if (key <= MAX_HASH_VALUE && key >= MIN_HASH_VALUE)
- {
- int slot = lookup[key];
-
- if (slot >= 0 && slot < MAX_HASH_VALUE)
- {
- const char *s = wordlist[slot].opname_;
-
- if (*str == *s && !strncmp (str + 1, s + 1, len - 1))
- return &wordlist[slot];
- }
- else if (slot < 0 && slot >= -MAX_HASH_VALUE)
- return 0;
- else
- {
- unsigned int offset = key + slot + (slot > 0 ? -MAX_HASH_VALUE : MAX_HASH_VALUE);
- const class TAO_operation_db_entry *base = &wordlist[-lookup[offset]];
- const class TAO_operation_db_entry *ptr = base + -lookup[offset + 1];
-
- while (--ptr >= base)
- if (*str == *ptr->opname_ && !strncmp (str + 1, ptr->opname_ + 1, len - 1))
- return ptr;
- }
- }
- }
- return 0;
-}
-/* ending time is 11:23:09 */
-static TAO_IR_Container_Perfect_Hash_OpTable tao_IR_Container_optable;
-
-///////////////////////////////////////////////////////////////////////
-// Strategized Proxy Broker Implementation
-//
-
-// Factory function Implementation.
-POA_IR::_TAO_Container_Strategized_Proxy_Broker *POA_IR::_TAO_Container_Strategized_Proxy_Broker::the_TAO_Container_Strategized_Proxy_Broker (void)
-{
- static POA_IR::_TAO_Container_Strategized_Proxy_Broker strategized_proxy_broker;
- return &strategized_proxy_broker;
-}
-
-POA_IR::_TAO_Container_Strategized_Proxy_Broker::_TAO_Container_Strategized_Proxy_Broker (void)
-{
- for (int i = 0; i < TAO_Collocation_Strategies::CS_LAST; ++i)
- this->proxy_cache_[i] = 0;
-
-}
-
-POA_IR::_TAO_Container_Strategized_Proxy_Broker::~_TAO_Container_Strategized_Proxy_Broker (void)
-{
- for (int i = 0; i < TAO_Collocation_Strategies::CS_LAST; ++i)
- delete this->proxy_cache_[i];
-
-}
-
-_TAO_Container_Proxy_Impl&
-POA_IR::_TAO_Container_Strategized_Proxy_Broker::select_proxy (
- IR_Container *object,
- CORBA::Environment &ACE_TRY_ENV
- )
-{
- int strategy =
- TAO_ORB_Core::collocation_strategy (object);
-
- if (this->proxy_cache_[strategy] != 0)
- return *this->proxy_cache_[strategy];
-
- this->create_proxy (strategy, ACE_TRY_ENV);
- ACE_CHECK_RETURN (*this->proxy_cache_[strategy]);
-
- return *this->proxy_cache_[strategy];
-
-}
-
-void
-POA_IR::_TAO_Container_Strategized_Proxy_Broker::create_proxy (
- int strategy,
- CORBA::Environment &ACE_TRY_ENV
- )
-{
- ACE_GUARD (TAO_SYNCH_MUTEX, guard, this->mutex_);
-
- if (this->proxy_cache_[strategy] == 0)
- {
- switch (strategy)
- {
- case TAO_Collocation_Strategies::CS_THRU_POA_STRATEGY:
- ACE_NEW_THROW_EX (
- this->proxy_cache_[strategy],
- _TAO_Container_ThruPOA_Proxy_Impl,
- CORBA::NO_MEMORY ()
- );
- ACE_CHECK;
- break;
-
- case TAO_Collocation_Strategies::CS_REMOTE_STRATEGY:
- default:
- ACE_NEW_THROW_EX (
- this->proxy_cache_[strategy],
- _TAO_Container_Remote_Proxy_Impl,
- CORBA::NO_MEMORY ()
- );
- ACE_CHECK;
- break;
-
- }
-
- }
-}
-
-
-//
-// End Strategized Proxy Broker Implementation
-///////////////////////////////////////////////////////////////////////
-
-
-_TAO_Container_Proxy_Broker *
-_TAO_Container_Proxy_Broker_Factory_function (CORBA::Object_ptr obj)
-{
- ACE_UNUSED_ARG (obj);
- return ::POA_IR::_TAO_Container_Strategized_Proxy_Broker::the_TAO_Container_Strategized_Proxy_Broker();
-}
-
-int
-_TAO_Container_Proxy_Broker_Factory_Initializer (long _dummy_)
-{
- ACE_UNUSED_ARG (_dummy_);
-
- _TAO_Container_Proxy_Broker_Factory_function_pointer =
- _TAO_Container_Proxy_Broker_Factory_function;
-
- return 0;
-}
-
-static int _TAO_Container_Proxy_Broker_Stub_Factory_Initializer_Scarecrow =
- _TAO_Container_Proxy_Broker_Factory_Initializer (ACE_reinterpret_cast (long, _TAO_Container_Proxy_Broker_Factory_Initializer));
-
-
-///////////////////////////////////////////////////////////////////////
-// ThruPOA Proxy Implementation
-//
-
-POA_IR::_TAO_Container_ThruPOA_Proxy_Impl::_TAO_Container_ThruPOA_Proxy_Impl (void)
-{}
-
-// ThruPOA Implementation of the IDL interface methods
-
-IR::Contained_ptr POA_IR::_TAO_Container_ThruPOA_Proxy_Impl::lookup (
- CORBA_Object *_collocated_tao_target_,
- const char * search_name,
- CORBA::Environment &ACE_TRY_ENV
- )
- ACE_THROW_SPEC ((
- CORBA::SystemException
- ))
-{
- IR_Contained_var _tao_retval;
- ACE_UNUSED_ARG (_tao_retval);
- TAO_Object_Adapter::Servant_Upcall servant_upcall (
- _collocated_tao_target_->_stubobj ()->servant_orb_var ()->orb_core ()
- );
- CORBA::Object_var forward_to;
- servant_upcall.prepare_for_upcall (
- _collocated_tao_target_->_object_key (),
- "lookup",
- forward_to.out (),
- ACE_TRY_ENV
- );
- ACE_CHECK_RETURN (0);
- return ACE_reinterpret_cast (
- POA_IR::Container_ptr,
- servant_upcall.servant ()->_downcast (
- "IDL:omg.org/IR/Container:1.0"
- )
- )->lookup (
- search_name,
- ACE_TRY_ENV
- );
-}
-
-IR_ContainedSeq * POA_IR::_TAO_Container_ThruPOA_Proxy_Impl::contents (
- CORBA_Object *_collocated_tao_target_,
- IR_DefinitionKind limit_type,
- CORBA::Boolean exclude_inherited,
- CORBA::Environment &ACE_TRY_ENV
- )
- ACE_THROW_SPEC ((
- CORBA::SystemException
- ))
-{
- IR_ContainedSeq_var _tao_retval;
- ACE_UNUSED_ARG (_tao_retval);
- TAO_Object_Adapter::Servant_Upcall servant_upcall (
- _collocated_tao_target_->_stubobj ()->servant_orb_var ()->orb_core ()
- );
- CORBA::Object_var forward_to;
- servant_upcall.prepare_for_upcall (
- _collocated_tao_target_->_object_key (),
- "contents",
- forward_to.out (),
- ACE_TRY_ENV
- );
- ACE_CHECK_RETURN (0);
- return ACE_reinterpret_cast (
- POA_IR::Container_ptr,
- servant_upcall.servant ()->_downcast (
- "IDL:omg.org/IR/Container:1.0"
- )
- )->contents (
- limit_type,
- exclude_inherited,
- ACE_TRY_ENV
- );
-}
-
-IR_ContainedSeq * POA_IR::_TAO_Container_ThruPOA_Proxy_Impl::lookup_name (
- CORBA_Object *_collocated_tao_target_,
- const char * search_name,
- CORBA::Long levels_to_search,
- IR_DefinitionKind limit_type,
- CORBA::Boolean exclude_inherited,
- CORBA::Environment &ACE_TRY_ENV
- )
- ACE_THROW_SPEC ((
- CORBA::SystemException
- ))
-{
- IR_ContainedSeq_var _tao_retval;
- ACE_UNUSED_ARG (_tao_retval);
- TAO_Object_Adapter::Servant_Upcall servant_upcall (
- _collocated_tao_target_->_stubobj ()->servant_orb_var ()->orb_core ()
- );
- CORBA::Object_var forward_to;
- servant_upcall.prepare_for_upcall (
- _collocated_tao_target_->_object_key (),
- "lookup_name",
- forward_to.out (),
- ACE_TRY_ENV
- );
- ACE_CHECK_RETURN (0);
- return ACE_reinterpret_cast (
- POA_IR::Container_ptr,
- servant_upcall.servant ()->_downcast (
- "IDL:omg.org/IR/Container:1.0"
- )
- )->lookup_name (
- search_name,
- levels_to_search,
- limit_type,
- exclude_inherited,
- ACE_TRY_ENV
- );
-}
-
-IR_Container::DescriptionSeq * POA_IR::_TAO_Container_ThruPOA_Proxy_Impl::describe_contents (
- CORBA_Object *_collocated_tao_target_,
- IR_DefinitionKind limit_type,
- CORBA::Boolean exclude_inherited,
- CORBA::Long max_returned_objs,
- CORBA::Environment &ACE_TRY_ENV
- )
- ACE_THROW_SPEC ((
- CORBA::SystemException
- ))
-{
- IR_Container::DescriptionSeq_var _tao_retval;
- ACE_UNUSED_ARG (_tao_retval);
- TAO_Object_Adapter::Servant_Upcall servant_upcall (
- _collocated_tao_target_->_stubobj ()->servant_orb_var ()->orb_core ()
- );
- CORBA::Object_var forward_to;
- servant_upcall.prepare_for_upcall (
- _collocated_tao_target_->_object_key (),
- "describe_contents",
- forward_to.out (),
- ACE_TRY_ENV
- );
- ACE_CHECK_RETURN (0);
- return ACE_reinterpret_cast (
- POA_IR::Container_ptr,
- servant_upcall.servant ()->_downcast (
- "IDL:omg.org/IR/Container:1.0"
- )
- )->describe_contents (
- limit_type,
- exclude_inherited,
- max_returned_objs,
- ACE_TRY_ENV
- );
-}
-
-IR_ModuleDef_ptr POA_IR::_TAO_Container_ThruPOA_Proxy_Impl::create_module (
- CORBA_Object *_collocated_tao_target_,
- const char * id,
- const char * name,
- const char * version,
- CORBA::Environment &ACE_TRY_ENV
- )
- ACE_THROW_SPEC ((
- CORBA::SystemException
- ))
-{
- IR_ModuleDef_var _tao_retval;
- ACE_UNUSED_ARG (_tao_retval);
- TAO_Object_Adapter::Servant_Upcall servant_upcall (
- _collocated_tao_target_->_stubobj ()->servant_orb_var ()->orb_core ()
- );
- CORBA::Object_var forward_to;
- servant_upcall.prepare_for_upcall (
- _collocated_tao_target_->_object_key (),
- "create_module",
- forward_to.out (),
- ACE_TRY_ENV
- );
- ACE_CHECK_RETURN (0);
- return ACE_reinterpret_cast (
- POA_IR::Container_ptr,
- servant_upcall.servant ()->_downcast (
- "IDL:omg.org/IR/Container:1.0"
- )
- )->create_module (
- id,
- name,
- version,
- ACE_TRY_ENV
- );
-}
-
-IR_ConstantDef_ptr POA_IR::_TAO_Container_ThruPOA_Proxy_Impl::create_constant (
- CORBA_Object *_collocated_tao_target_,
- const char * id,
- const char * name,
- const char * version,
- IR_IDLType_ptr type,
- const CORBA::Any & value,
- CORBA::Environment &ACE_TRY_ENV
- )
- ACE_THROW_SPEC ((
- CORBA::SystemException
- ))
-{
- IR_ConstantDef_var _tao_retval;
- ACE_UNUSED_ARG (_tao_retval);
- TAO_Object_Adapter::Servant_Upcall servant_upcall (
- _collocated_tao_target_->_stubobj ()->servant_orb_var ()->orb_core ()
- );
- CORBA::Object_var forward_to;
- servant_upcall.prepare_for_upcall (
- _collocated_tao_target_->_object_key (),
- "create_constant",
- forward_to.out (),
- ACE_TRY_ENV
- );
- ACE_CHECK_RETURN (0);
- return ACE_reinterpret_cast (
- POA_IR::Container_ptr,
- servant_upcall.servant ()->_downcast (
- "IDL:omg.org/IR/Container:1.0"
- )
- )->create_constant (
- id,
- name,
- version,
- type,
- value,
- ACE_TRY_ENV
- );
-}
-
-IR_StructDef_ptr POA_IR::_TAO_Container_ThruPOA_Proxy_Impl::create_struct (
- CORBA_Object *_collocated_tao_target_,
- const char * id,
- const char * name,
- const char * version,
- const IR_StructMemberSeq & members,
- CORBA::Environment &ACE_TRY_ENV
- )
- ACE_THROW_SPEC ((
- CORBA::SystemException
- ))
-{
- IR_StructDef_var _tao_retval;
- ACE_UNUSED_ARG (_tao_retval);
- TAO_Object_Adapter::Servant_Upcall servant_upcall (
- _collocated_tao_target_->_stubobj ()->servant_orb_var ()->orb_core ()
- );
- CORBA::Object_var forward_to;
- servant_upcall.prepare_for_upcall (
- _collocated_tao_target_->_object_key (),
- "create_struct",
- forward_to.out (),
- ACE_TRY_ENV
- );
- ACE_CHECK_RETURN (0);
- return ACE_reinterpret_cast (
- POA_IR::Container_ptr,
- servant_upcall.servant ()->_downcast (
- "IDL:omg.org/IR/Container:1.0"
- )
- )->create_struct (
- id,
- name,
- version,
- members,
- ACE_TRY_ENV
- );
-}
-
-IR_UnionDef_ptr POA_IR::_TAO_Container_ThruPOA_Proxy_Impl::create_union (
- CORBA_Object *_collocated_tao_target_,
- const char * id,
- const char * name,
- const char * version,
- IR_IDLType_ptr discriminator_type,
- const IR_UnionMemberSeq & members,
- CORBA::Environment &ACE_TRY_ENV
- )
- ACE_THROW_SPEC ((
- CORBA::SystemException
- ))
-{
- IR_UnionDef_var _tao_retval;
- ACE_UNUSED_ARG (_tao_retval);
- TAO_Object_Adapter::Servant_Upcall servant_upcall (
- _collocated_tao_target_->_stubobj ()->servant_orb_var ()->orb_core ()
- );
- CORBA::Object_var forward_to;
- servant_upcall.prepare_for_upcall (
- _collocated_tao_target_->_object_key (),
- "create_union",
- forward_to.out (),
- ACE_TRY_ENV
- );
- ACE_CHECK_RETURN (0);
- return ACE_reinterpret_cast (
- POA_IR::Container_ptr,
- servant_upcall.servant ()->_downcast (
- "IDL:omg.org/IR/Container:1.0"
- )
- )->create_union (
- id,
- name,
- version,
- discriminator_type,
- members,
- ACE_TRY_ENV
- );
-}
-
-IR_EnumDef_ptr POA_IR::_TAO_Container_ThruPOA_Proxy_Impl::create_enum (
- CORBA_Object *_collocated_tao_target_,
- const char * id,
- const char * name,
- const char * version,
- const IR_EnumMemberSeq & members,
- CORBA::Environment &ACE_TRY_ENV
- )
- ACE_THROW_SPEC ((
- CORBA::SystemException
- ))
-{
- IR_EnumDef_var _tao_retval;
- ACE_UNUSED_ARG (_tao_retval);
- TAO_Object_Adapter::Servant_Upcall servant_upcall (
- _collocated_tao_target_->_stubobj ()->servant_orb_var ()->orb_core ()
- );
- CORBA::Object_var forward_to;
- servant_upcall.prepare_for_upcall (
- _collocated_tao_target_->_object_key (),
- "create_enum",
- forward_to.out (),
- ACE_TRY_ENV
- );
- ACE_CHECK_RETURN (0);
- return ACE_reinterpret_cast (
- POA_IR::Container_ptr,
- servant_upcall.servant ()->_downcast (
- "IDL:omg.org/IR/Container:1.0"
- )
- )->create_enum (
- id,
- name,
- version,
- members,
- ACE_TRY_ENV
- );
-}
-
-IR_AliasDef_ptr POA_IR::_TAO_Container_ThruPOA_Proxy_Impl::create_alias (
- CORBA_Object *_collocated_tao_target_,
- const char * id,
- const char * name,
- const char * version,
- IR_IDLType_ptr original_type,
- CORBA::Environment &ACE_TRY_ENV
- )
- ACE_THROW_SPEC ((
- CORBA::SystemException
- ))
-{
- IR_AliasDef_var _tao_retval;
- ACE_UNUSED_ARG (_tao_retval);
- TAO_Object_Adapter::Servant_Upcall servant_upcall (
- _collocated_tao_target_->_stubobj ()->servant_orb_var ()->orb_core ()
- );
- CORBA::Object_var forward_to;
- servant_upcall.prepare_for_upcall (
- _collocated_tao_target_->_object_key (),
- "create_alias",
- forward_to.out (),
- ACE_TRY_ENV
- );
- ACE_CHECK_RETURN (0);
- return ACE_reinterpret_cast (
- POA_IR::Container_ptr,
- servant_upcall.servant ()->_downcast (
- "IDL:omg.org/IR/Container:1.0"
- )
- )->create_alias (
- id,
- name,
- version,
- original_type,
- ACE_TRY_ENV
- );
-}
-
-IR_InterfaceDef_ptr POA_IR::_TAO_Container_ThruPOA_Proxy_Impl::create_interface (
- CORBA_Object *_collocated_tao_target_,
- const char * id,
- const char * name,
- const char * version,
- const IR_InterfaceDefSeq & base_interfaces,
- CORBA::Boolean is_abstract,
- CORBA::Boolean is_local,
- CORBA::Environment &ACE_TRY_ENV
- )
- ACE_THROW_SPEC ((
- CORBA::SystemException
- ))
-{
- IR_InterfaceDef_var _tao_retval;
- ACE_UNUSED_ARG (_tao_retval);
- TAO_Object_Adapter::Servant_Upcall servant_upcall (
- _collocated_tao_target_->_stubobj ()->servant_orb_var ()->orb_core ()
- );
- CORBA::Object_var forward_to;
- servant_upcall.prepare_for_upcall (
- _collocated_tao_target_->_object_key (),
- "create_interface",
- forward_to.out (),
- ACE_TRY_ENV
- );
- ACE_CHECK_RETURN (0);
- return ACE_reinterpret_cast (
- POA_IR::Container_ptr,
- servant_upcall.servant ()->_downcast (
- "IDL:omg.org/IR/Container:1.0"
- )
- )->create_interface (
- id,
- name,
- version,
- base_interfaces,
- is_abstract,
- is_local,
- ACE_TRY_ENV
- );
-}
-
-IR_ValueDef_ptr POA_IR::_TAO_Container_ThruPOA_Proxy_Impl::create_value (
- CORBA_Object *_collocated_tao_target_,
- const char * id,
- const char * name,
- const char * version,
- CORBA::Boolean is_custom,
- CORBA::Boolean is_abstract,
- IR_ValueDef_ptr base_value,
- CORBA::Boolean is_truncatable,
- const IR_ValueDefSeq & abstract_base_values,
- const IR_InterfaceDefSeq & supported_interfaces,
- const IR_InitializerSeq & initializers,
- CORBA::Environment &ACE_TRY_ENV
- )
- ACE_THROW_SPEC ((
- CORBA::SystemException
- ))
-{
- IR_ValueDef_var _tao_retval;
- ACE_UNUSED_ARG (_tao_retval);
- TAO_Object_Adapter::Servant_Upcall servant_upcall (
- _collocated_tao_target_->_stubobj ()->servant_orb_var ()->orb_core ()
- );
- CORBA::Object_var forward_to;
- servant_upcall.prepare_for_upcall (
- _collocated_tao_target_->_object_key (),
- "create_value",
- forward_to.out (),
- ACE_TRY_ENV
- );
- ACE_CHECK_RETURN (0);
- return ACE_reinterpret_cast (
- POA_IR::Container_ptr,
- servant_upcall.servant ()->_downcast (
- "IDL:omg.org/IR/Container:1.0"
- )
- )->create_value (
- id,
- name,
- version,
- is_custom,
- is_abstract,
- base_value,
- is_truncatable,
- abstract_base_values,
- supported_interfaces,
- initializers,
- ACE_TRY_ENV
- );
-}
-
-IR_ValueBoxDef_ptr POA_IR::_TAO_Container_ThruPOA_Proxy_Impl::create_value_box (
- CORBA_Object *_collocated_tao_target_,
- const char * id,
- const char * name,
- const char * version,
- IR_IDLType_ptr original_type_def,
- CORBA::Environment &ACE_TRY_ENV
- )
- ACE_THROW_SPEC ((
- CORBA::SystemException
- ))
-{
- IR_ValueBoxDef_var _tao_retval;
- ACE_UNUSED_ARG (_tao_retval);
- TAO_Object_Adapter::Servant_Upcall servant_upcall (
- _collocated_tao_target_->_stubobj ()->servant_orb_var ()->orb_core ()
- );
- CORBA::Object_var forward_to;
- servant_upcall.prepare_for_upcall (
- _collocated_tao_target_->_object_key (),
- "create_value_box",
- forward_to.out (),
- ACE_TRY_ENV
- );
- ACE_CHECK_RETURN (0);
- return ACE_reinterpret_cast (
- POA_IR::Container_ptr,
- servant_upcall.servant ()->_downcast (
- "IDL:omg.org/IR/Container:1.0"
- )
- )->create_value_box (
- id,
- name,
- version,
- original_type_def,
- ACE_TRY_ENV
- );
-}
-
-IR_ExceptionDef_ptr POA_IR::_TAO_Container_ThruPOA_Proxy_Impl::create_exception (
- CORBA_Object *_collocated_tao_target_,
- const char * id,
- const char * name,
- const char * version,
- const IR_StructMemberSeq & members,
- CORBA::Environment &ACE_TRY_ENV
- )
- ACE_THROW_SPEC ((
- CORBA::SystemException
- ))
-{
- IR_ExceptionDef_var _tao_retval;
- ACE_UNUSED_ARG (_tao_retval);
- TAO_Object_Adapter::Servant_Upcall servant_upcall (
- _collocated_tao_target_->_stubobj ()->servant_orb_var ()->orb_core ()
- );
- CORBA::Object_var forward_to;
- servant_upcall.prepare_for_upcall (
- _collocated_tao_target_->_object_key (),
- "create_exception",
- forward_to.out (),
- ACE_TRY_ENV
- );
- ACE_CHECK_RETURN (0);
- return ACE_reinterpret_cast (
- POA_IR::Container_ptr,
- servant_upcall.servant ()->_downcast (
- "IDL:omg.org/IR/Container:1.0"
- )
- )->create_exception (
- id,
- name,
- version,
- members,
- ACE_TRY_ENV
- );
-}
-
-IR_NativeDef_ptr POA_IR::_TAO_Container_ThruPOA_Proxy_Impl::create_native (
- CORBA_Object *_collocated_tao_target_,
- const char * id,
- const char * name,
- const char * version,
- CORBA::Environment &ACE_TRY_ENV
- )
- ACE_THROW_SPEC ((
- CORBA::SystemException
- ))
-{
- IR_NativeDef_var _tao_retval;
- ACE_UNUSED_ARG (_tao_retval);
- TAO_Object_Adapter::Servant_Upcall servant_upcall (
- _collocated_tao_target_->_stubobj ()->servant_orb_var ()->orb_core ()
- );
- CORBA::Object_var forward_to;
- servant_upcall.prepare_for_upcall (
- _collocated_tao_target_->_object_key (),
- "create_native",
- forward_to.out (),
- ACE_TRY_ENV
- );
- ACE_CHECK_RETURN (0);
- return ACE_reinterpret_cast (
- POA_IR::Container_ptr,
- servant_upcall.servant ()->_downcast (
- "IDL:omg.org/IR/Container:1.0"
- )
- )->create_native (
- id,
- name,
- version,
- ACE_TRY_ENV
- );
-}
-
-//
-// End ThruPOA Proxy Implementation
-///////////////////////////////////////////////////////////////////////
-
-// skeleton constructor
-POA_IR::Container::Container (void)
-{
- this->optable_ = &tao_IR_Container_optable;
-}
-
-// copy ctor
-POA_IR::Container::Container (const Container& rhs)
- : POA_CORBA_IRObject (rhs),
- TAO_ServantBase (rhs)
-{}
-
-// skeleton destructor
-POA_IR::Container::~Container (void)
-{
-}
-
-void POA_IR::Container::lookup_skel (
- TAO_ServerRequest &_tao_server_request,
- void *_tao_object_reference,
- void * /* context */,
- CORBA::Environment &ACE_TRY_ENV
-)
-{
- TAO_InputCDR &_tao_in = _tao_server_request.incoming ();
- POA_IR::Container *_tao_impl = (POA_IR::Container *)_tao_object_reference;
-
- IR_Contained_var _tao_retval;
- CORBA::String_var search_name;
- if (!(
- (_tao_in >> search_name.out ())
- ))
- ACE_THROW (CORBA::MARSHAL () );
-
-#if (TAO_HAS_INTERCEPTORS == 1)
- TAO_ServerRequestInterceptor_Adapter _tao_vfr (
- _tao_server_request.orb_core ()->server_request_interceptors (),
- _tao_server_request.interceptor_count ()
- );
-
- POA_IR::Container::TAO_ServerRequestInfo_IR_Container_lookup ri (
- _tao_server_request,
- _tao_impl,
- search_name.in (),
- ACE_TRY_ENV
- );
-
- ACE_TRY
- {
- _tao_vfr.receive_request (&ri, ACE_TRY_ENV);
- ACE_TRY_CHECK;
-
-#endif /* TAO_HAS_INTERCEPTORS */
- _tao_retval =
- _tao_impl->lookup (
- search_name.in (),
- ACE_TRY_ENV
- );
- TAO_INTERCEPTOR_CHECK;
-
-#if (TAO_HAS_INTERCEPTORS == 1)
- IR_Contained_ptr _tao_retval_info = _tao_retval._retn ();
- ri.result (_tao_retval_info);
- _tao_retval = _tao_retval_info;
- ri.reply_status (PortableInterceptor::SUCCESSFUL);
- _tao_vfr.send_reply (&ri, ACE_TRY_ENV);
- ACE_TRY_CHECK;
- }
- ACE_CATCH (PortableInterceptor::ForwardRequest, exc)
- {
- ri.forward_reference (exc);
- _tao_vfr.send_other (
- &ri,
- ACE_TRY_ENV
- );
- ACE_TRY_CHECK;
- _tao_server_request.forward_location (exc.forward.in ());
- }
- ACE_CATCHANY
- {
- ri.exception (&ACE_ANY_EXCEPTION);
- _tao_vfr.send_exception (
- &ri,
- ACE_TRY_ENV
- );
- ACE_TRY_CHECK;
- ACE_RE_THROW;
- }
- ACE_ENDTRY;
- ACE_CHECK;
-#endif /* TAO_HAS_INTERCEPTORS */
-
- _tao_server_request.init_reply ();
-
- TAO_OutputCDR &_tao_out = _tao_server_request.outgoing ();
-
- if (!(
- (_tao_out << _tao_retval.in ())
- ))
- ACE_THROW (CORBA::MARSHAL());
-
- // In case ACE_TRY_ENV is not used in this function
- ACE_UNUSED_ARG (ACE_TRY_ENV);
-}
-
-void POA_IR::Container::contents_skel (
- TAO_ServerRequest &_tao_server_request,
- void *_tao_object_reference,
- void * /* context */,
- CORBA::Environment &ACE_TRY_ENV
-)
-{
- TAO_InputCDR &_tao_in = _tao_server_request.incoming ();
- POA_IR::Container *_tao_impl = (POA_IR::Container *)_tao_object_reference;
-
- IR_ContainedSeq_var _tao_retval;
- IR_DefinitionKind limit_type;
- CORBA::Boolean exclude_inherited;
- if (!(
- (_tao_in >> limit_type) &&
- (_tao_in >> CORBA::Any::to_boolean (exclude_inherited))
- ))
- ACE_THROW (CORBA::MARSHAL () );
-
-#if (TAO_HAS_INTERCEPTORS == 1)
- TAO_ServerRequestInterceptor_Adapter _tao_vfr (
- _tao_server_request.orb_core ()->server_request_interceptors (),
- _tao_server_request.interceptor_count ()
- );
-
- POA_IR::Container::TAO_ServerRequestInfo_IR_Container_contents ri (
- _tao_server_request,
- _tao_impl,
- limit_type,
- exclude_inherited,
- ACE_TRY_ENV
- );
-
- ACE_TRY
- {
- _tao_vfr.receive_request (&ri, ACE_TRY_ENV);
- ACE_TRY_CHECK;
-
-#endif /* TAO_HAS_INTERCEPTORS */
- _tao_retval =
- _tao_impl->contents (
- limit_type,
- exclude_inherited,
- ACE_TRY_ENV
- );
- TAO_INTERCEPTOR_CHECK;
-
-#if (TAO_HAS_INTERCEPTORS == 1)
- IR_ContainedSeq * _tao_retval_info = _tao_retval._retn ();
- ri.result (_tao_retval_info);
- _tao_retval = _tao_retval_info;
- ri.reply_status (PortableInterceptor::SUCCESSFUL);
- _tao_vfr.send_reply (&ri, ACE_TRY_ENV);
- ACE_TRY_CHECK;
- }
- ACE_CATCH (PortableInterceptor::ForwardRequest, exc)
- {
- ri.forward_reference (exc);
- _tao_vfr.send_other (
- &ri,
- ACE_TRY_ENV
- );
- ACE_TRY_CHECK;
- _tao_server_request.forward_location (exc.forward.in ());
- }
- ACE_CATCHANY
- {
- ri.exception (&ACE_ANY_EXCEPTION);
- _tao_vfr.send_exception (
- &ri,
- ACE_TRY_ENV
- );
- ACE_TRY_CHECK;
- ACE_RE_THROW;
- }
- ACE_ENDTRY;
- ACE_CHECK;
-#endif /* TAO_HAS_INTERCEPTORS */
-
- _tao_server_request.init_reply ();
-
- TAO_OutputCDR &_tao_out = _tao_server_request.outgoing ();
-
- if (!(
- (_tao_out << _tao_retval.in ())
- ))
- ACE_THROW (CORBA::MARSHAL());
-
- // In case ACE_TRY_ENV is not used in this function
- ACE_UNUSED_ARG (ACE_TRY_ENV);
-}
-
-void POA_IR::Container::lookup_name_skel (
- TAO_ServerRequest &_tao_server_request,
- void *_tao_object_reference,
- void * /* context */,
- CORBA::Environment &ACE_TRY_ENV
-)
-{
- TAO_InputCDR &_tao_in = _tao_server_request.incoming ();
- POA_IR::Container *_tao_impl = (POA_IR::Container *)_tao_object_reference;
-
- IR_ContainedSeq_var _tao_retval;
- CORBA::String_var search_name;
- CORBA::Long levels_to_search;
- IR_DefinitionKind limit_type;
- CORBA::Boolean exclude_inherited;
- if (!(
- (_tao_in >> search_name.out ()) &&
- (_tao_in >> levels_to_search) &&
- (_tao_in >> limit_type) &&
- (_tao_in >> CORBA::Any::to_boolean (exclude_inherited))
- ))
- ACE_THROW (CORBA::MARSHAL () );
-
-#if (TAO_HAS_INTERCEPTORS == 1)
- TAO_ServerRequestInterceptor_Adapter _tao_vfr (
- _tao_server_request.orb_core ()->server_request_interceptors (),
- _tao_server_request.interceptor_count ()
- );
-
- POA_IR::Container::TAO_ServerRequestInfo_IR_Container_lookup_name ri (
- _tao_server_request,
- _tao_impl,
- search_name.in (),
- levels_to_search,
- limit_type,
- exclude_inherited,
- ACE_TRY_ENV
- );
-
- ACE_TRY
- {
- _tao_vfr.receive_request (&ri, ACE_TRY_ENV);
- ACE_TRY_CHECK;
-
-#endif /* TAO_HAS_INTERCEPTORS */
- _tao_retval =
- _tao_impl->lookup_name (
- search_name.in (),
- levels_to_search,
- limit_type,
- exclude_inherited,
- ACE_TRY_ENV
- );
- TAO_INTERCEPTOR_CHECK;
-
-#if (TAO_HAS_INTERCEPTORS == 1)
- IR_ContainedSeq * _tao_retval_info = _tao_retval._retn ();
- ri.result (_tao_retval_info);
- _tao_retval = _tao_retval_info;
- ri.reply_status (PortableInterceptor::SUCCESSFUL);
- _tao_vfr.send_reply (&ri, ACE_TRY_ENV);
- ACE_TRY_CHECK;
- }
- ACE_CATCH (PortableInterceptor::ForwardRequest, exc)
- {
- ri.forward_reference (exc);
- _tao_vfr.send_other (
- &ri,
- ACE_TRY_ENV
- );
- ACE_TRY_CHECK;
- _tao_server_request.forward_location (exc.forward.in ());
- }
- ACE_CATCHANY
- {
- ri.exception (&ACE_ANY_EXCEPTION);
- _tao_vfr.send_exception (
- &ri,
- ACE_TRY_ENV
- );
- ACE_TRY_CHECK;
- ACE_RE_THROW;
- }
- ACE_ENDTRY;
- ACE_CHECK;
-#endif /* TAO_HAS_INTERCEPTORS */
-
- _tao_server_request.init_reply ();
-
- TAO_OutputCDR &_tao_out = _tao_server_request.outgoing ();
-
- if (!(
- (_tao_out << _tao_retval.in ())
- ))
- ACE_THROW (CORBA::MARSHAL());
-
- // In case ACE_TRY_ENV is not used in this function
- ACE_UNUSED_ARG (ACE_TRY_ENV);
-}
-
-void POA_IR::Container::describe_contents_skel (
- TAO_ServerRequest &_tao_server_request,
- void *_tao_object_reference,
- void * /* context */,
- CORBA::Environment &ACE_TRY_ENV
-)
-{
- TAO_InputCDR &_tao_in = _tao_server_request.incoming ();
- POA_IR::Container *_tao_impl = (POA_IR::Container *)_tao_object_reference;
-
- IR_Container::DescriptionSeq_var _tao_retval;
- IR_DefinitionKind limit_type;
- CORBA::Boolean exclude_inherited;
- CORBA::Long max_returned_objs;
- if (!(
- (_tao_in >> limit_type) &&
- (_tao_in >> CORBA::Any::to_boolean (exclude_inherited)) &&
- (_tao_in >> max_returned_objs)
- ))
- ACE_THROW (CORBA::MARSHAL () );
-
-#if (TAO_HAS_INTERCEPTORS == 1)
- TAO_ServerRequestInterceptor_Adapter _tao_vfr (
- _tao_server_request.orb_core ()->server_request_interceptors (),
- _tao_server_request.interceptor_count ()
- );
-
- POA_IR::Container::TAO_ServerRequestInfo_IR_Container_describe_contents ri (
- _tao_server_request,
- _tao_impl,
- limit_type,
- exclude_inherited,
- max_returned_objs,
- ACE_TRY_ENV
- );
-
- ACE_TRY
- {
- _tao_vfr.receive_request (&ri, ACE_TRY_ENV);
- ACE_TRY_CHECK;
-
-#endif /* TAO_HAS_INTERCEPTORS */
- _tao_retval =
- _tao_impl->describe_contents (
- limit_type,
- exclude_inherited,
- max_returned_objs,
- ACE_TRY_ENV
- );
- TAO_INTERCEPTOR_CHECK;
-
-#if (TAO_HAS_INTERCEPTORS == 1)
- IR_Container::DescriptionSeq * _tao_retval_info = _tao_retval._retn ();
- ri.result (_tao_retval_info);
- _tao_retval = _tao_retval_info;
- ri.reply_status (PortableInterceptor::SUCCESSFUL);
- _tao_vfr.send_reply (&ri, ACE_TRY_ENV);
- ACE_TRY_CHECK;
- }
- ACE_CATCH (PortableInterceptor::ForwardRequest, exc)
- {
- ri.forward_reference (exc);
- _tao_vfr.send_other (
- &ri,
- ACE_TRY_ENV
- );
- ACE_TRY_CHECK;
- _tao_server_request.forward_location (exc.forward.in ());
- }
- ACE_CATCHANY
- {
- ri.exception (&ACE_ANY_EXCEPTION);
- _tao_vfr.send_exception (
- &ri,
- ACE_TRY_ENV
- );
- ACE_TRY_CHECK;
- ACE_RE_THROW;
- }
- ACE_ENDTRY;
- ACE_CHECK;
-#endif /* TAO_HAS_INTERCEPTORS */
-
- _tao_server_request.init_reply ();
-
- TAO_OutputCDR &_tao_out = _tao_server_request.outgoing ();
-
- if (!(
- (_tao_out << _tao_retval.in ())
- ))
- ACE_THROW (CORBA::MARSHAL());
-
- // In case ACE_TRY_ENV is not used in this function
- ACE_UNUSED_ARG (ACE_TRY_ENV);
-}
-
-void POA_IR::Container::create_module_skel (
- TAO_ServerRequest &_tao_server_request,
- void *_tao_object_reference,
- void * /* context */,
- CORBA::Environment &ACE_TRY_ENV
-)
-{
- TAO_InputCDR &_tao_in = _tao_server_request.incoming ();
- POA_IR::Container *_tao_impl = (POA_IR::Container *)_tao_object_reference;
-
- IR_ModuleDef_var _tao_retval;
- CORBA::String_var id;
- CORBA::String_var name;
- CORBA::String_var version;
- if (!(
- (_tao_in >> id.out ()) &&
- (_tao_in >> name.out ()) &&
- (_tao_in >> version.out ())
- ))
- ACE_THROW (CORBA::MARSHAL () );
-
-#if (TAO_HAS_INTERCEPTORS == 1)
- TAO_ServerRequestInterceptor_Adapter _tao_vfr (
- _tao_server_request.orb_core ()->server_request_interceptors (),
- _tao_server_request.interceptor_count ()
- );
-
- POA_IR::Container::TAO_ServerRequestInfo_IR_Container_create_module ri (
- _tao_server_request,
- _tao_impl,
- id.in (),
- name.in (),
- version.in (),
- ACE_TRY_ENV
- );
-
- ACE_TRY
- {
- _tao_vfr.receive_request (&ri, ACE_TRY_ENV);
- ACE_TRY_CHECK;
-
-#endif /* TAO_HAS_INTERCEPTORS */
- _tao_retval =
- _tao_impl->create_module (
- id.in (),
- name.in (),
- version.in (),
- ACE_TRY_ENV
- );
- TAO_INTERCEPTOR_CHECK;
-
-#if (TAO_HAS_INTERCEPTORS == 1)
- IR_ModuleDef_ptr _tao_retval_info = _tao_retval._retn ();
- ri.result (_tao_retval_info);
- _tao_retval = _tao_retval_info;
- ri.reply_status (PortableInterceptor::SUCCESSFUL);
- _tao_vfr.send_reply (&ri, ACE_TRY_ENV);
- ACE_TRY_CHECK;
- }
- ACE_CATCH (PortableInterceptor::ForwardRequest, exc)
- {
- ri.forward_reference (exc);
- _tao_vfr.send_other (
- &ri,
- ACE_TRY_ENV
- );
- ACE_TRY_CHECK;
- _tao_server_request.forward_location (exc.forward.in ());
- }
- ACE_CATCHANY
- {
- ri.exception (&ACE_ANY_EXCEPTION);
- _tao_vfr.send_exception (
- &ri,
- ACE_TRY_ENV
- );
- ACE_TRY_CHECK;
- ACE_RE_THROW;
- }
- ACE_ENDTRY;
- ACE_CHECK;
-#endif /* TAO_HAS_INTERCEPTORS */
-
- _tao_server_request.init_reply ();
-
- TAO_OutputCDR &_tao_out = _tao_server_request.outgoing ();
-
- if (!(
- (_tao_out << _tao_retval.in ())
- ))
- ACE_THROW (CORBA::MARSHAL());
-
- // In case ACE_TRY_ENV is not used in this function
- ACE_UNUSED_ARG (ACE_TRY_ENV);
-}
-
-void POA_IR::Container::create_constant_skel (
- TAO_ServerRequest &_tao_server_request,
- void *_tao_object_reference,
- void * /* context */,
- CORBA::Environment &ACE_TRY_ENV
-)
-{
- TAO_InputCDR &_tao_in = _tao_server_request.incoming ();
- POA_IR::Container *_tao_impl = (POA_IR::Container *)_tao_object_reference;
-
- IR_ConstantDef_var _tao_retval;
- CORBA::String_var id;
- CORBA::String_var name;
- CORBA::String_var version;
- IR_IDLType_var type;
- CORBA::Any value;
- if (!(
- (_tao_in >> id.out ()) &&
- (_tao_in >> name.out ()) &&
- (_tao_in >> version.out ()) &&
- (_tao_in >> type.out ()) &&
- (_tao_in >> value)
- ))
- ACE_THROW (CORBA::MARSHAL () );
-
-#if (TAO_HAS_INTERCEPTORS == 1)
- TAO_ServerRequestInterceptor_Adapter _tao_vfr (
- _tao_server_request.orb_core ()->server_request_interceptors (),
- _tao_server_request.interceptor_count ()
- );
-
- POA_IR::Container::TAO_ServerRequestInfo_IR_Container_create_constant ri (
- _tao_server_request,
- _tao_impl,
- id.in (),
- name.in (),
- version.in (),
- type.in (),
- value,
- ACE_TRY_ENV
- );
-
- ACE_TRY
- {
- _tao_vfr.receive_request (&ri, ACE_TRY_ENV);
- ACE_TRY_CHECK;
-
-#endif /* TAO_HAS_INTERCEPTORS */
- _tao_retval =
- _tao_impl->create_constant (
- id.in (),
- name.in (),
- version.in (),
- type.in (),
- value,
- ACE_TRY_ENV
- );
- TAO_INTERCEPTOR_CHECK;
-
-#if (TAO_HAS_INTERCEPTORS == 1)
- IR_ConstantDef_ptr _tao_retval_info = _tao_retval._retn ();
- ri.result (_tao_retval_info);
- _tao_retval = _tao_retval_info;
- ri.reply_status (PortableInterceptor::SUCCESSFUL);
- _tao_vfr.send_reply (&ri, ACE_TRY_ENV);
- ACE_TRY_CHECK;
- }
- ACE_CATCH (PortableInterceptor::ForwardRequest, exc)
- {
- ri.forward_reference (exc);
- _tao_vfr.send_other (
- &ri,
- ACE_TRY_ENV
- );
- ACE_TRY_CHECK;
- _tao_server_request.forward_location (exc.forward.in ());
- }
- ACE_CATCHANY
- {
- ri.exception (&ACE_ANY_EXCEPTION);
- _tao_vfr.send_exception (
- &ri,
- ACE_TRY_ENV
- );
- ACE_TRY_CHECK;
- ACE_RE_THROW;
- }
- ACE_ENDTRY;
- ACE_CHECK;
-#endif /* TAO_HAS_INTERCEPTORS */
-
- _tao_server_request.init_reply ();
-
- TAO_OutputCDR &_tao_out = _tao_server_request.outgoing ();
-
- if (!(
- (_tao_out << _tao_retval.in ())
- ))
- ACE_THROW (CORBA::MARSHAL());
-
- // In case ACE_TRY_ENV is not used in this function
- ACE_UNUSED_ARG (ACE_TRY_ENV);
-}
-
-void POA_IR::Container::create_struct_skel (
- TAO_ServerRequest &_tao_server_request,
- void *_tao_object_reference,
- void * /* context */,
- CORBA::Environment &ACE_TRY_ENV
-)
-{
- TAO_InputCDR &_tao_in = _tao_server_request.incoming ();
- POA_IR::Container *_tao_impl = (POA_IR::Container *)_tao_object_reference;
-
- IR_StructDef_var _tao_retval;
- CORBA::String_var id;
- CORBA::String_var name;
- CORBA::String_var version;
- IR_StructMemberSeq members;
- if (!(
- (_tao_in >> id.out ()) &&
- (_tao_in >> name.out ()) &&
- (_tao_in >> version.out ()) &&
- (_tao_in >> members)
- ))
- ACE_THROW (CORBA::MARSHAL () );
-
-#if (TAO_HAS_INTERCEPTORS == 1)
- TAO_ServerRequestInterceptor_Adapter _tao_vfr (
- _tao_server_request.orb_core ()->server_request_interceptors (),
- _tao_server_request.interceptor_count ()
- );
-
- POA_IR::Container::TAO_ServerRequestInfo_IR_Container_create_struct ri (
- _tao_server_request,
- _tao_impl,
- id.in (),
- name.in (),
- version.in (),
- members,
- ACE_TRY_ENV
- );
-
- ACE_TRY
- {
- _tao_vfr.receive_request (&ri, ACE_TRY_ENV);
- ACE_TRY_CHECK;
-
-#endif /* TAO_HAS_INTERCEPTORS */
- _tao_retval =
- _tao_impl->create_struct (
- id.in (),
- name.in (),
- version.in (),
- members,
- ACE_TRY_ENV
- );
- TAO_INTERCEPTOR_CHECK;
-
-#if (TAO_HAS_INTERCEPTORS == 1)
- IR_StructDef_ptr _tao_retval_info = _tao_retval._retn ();
- ri.result (_tao_retval_info);
- _tao_retval = _tao_retval_info;
- ri.reply_status (PortableInterceptor::SUCCESSFUL);
- _tao_vfr.send_reply (&ri, ACE_TRY_ENV);
- ACE_TRY_CHECK;
- }
- ACE_CATCH (PortableInterceptor::ForwardRequest, exc)
- {
- ri.forward_reference (exc);
- _tao_vfr.send_other (
- &ri,
- ACE_TRY_ENV
- );
- ACE_TRY_CHECK;
- _tao_server_request.forward_location (exc.forward.in ());
- }
- ACE_CATCHANY
- {
- ri.exception (&ACE_ANY_EXCEPTION);
- _tao_vfr.send_exception (
- &ri,
- ACE_TRY_ENV
- );
- ACE_TRY_CHECK;
- ACE_RE_THROW;
- }
- ACE_ENDTRY;
- ACE_CHECK;
-#endif /* TAO_HAS_INTERCEPTORS */
-
- _tao_server_request.init_reply ();
-
- TAO_OutputCDR &_tao_out = _tao_server_request.outgoing ();
-
- if (!(
- (_tao_out << _tao_retval.in ())
- ))
- ACE_THROW (CORBA::MARSHAL());
-
- // In case ACE_TRY_ENV is not used in this function
- ACE_UNUSED_ARG (ACE_TRY_ENV);
-}
-
-void POA_IR::Container::create_union_skel (
- TAO_ServerRequest &_tao_server_request,
- void *_tao_object_reference,
- void * /* context */,
- CORBA::Environment &ACE_TRY_ENV
-)
-{
- TAO_InputCDR &_tao_in = _tao_server_request.incoming ();
- POA_IR::Container *_tao_impl = (POA_IR::Container *)_tao_object_reference;
-
- IR_UnionDef_var _tao_retval;
- CORBA::String_var id;
- CORBA::String_var name;
- CORBA::String_var version;
- IR_IDLType_var discriminator_type;
- IR_UnionMemberSeq members;
- if (!(
- (_tao_in >> id.out ()) &&
- (_tao_in >> name.out ()) &&
- (_tao_in >> version.out ()) &&
- (_tao_in >> discriminator_type.out ()) &&
- (_tao_in >> members)
- ))
- ACE_THROW (CORBA::MARSHAL () );
-
-#if (TAO_HAS_INTERCEPTORS == 1)
- TAO_ServerRequestInterceptor_Adapter _tao_vfr (
- _tao_server_request.orb_core ()->server_request_interceptors (),
- _tao_server_request.interceptor_count ()
- );
-
- POA_IR::Container::TAO_ServerRequestInfo_IR_Container_create_union ri (
- _tao_server_request,
- _tao_impl,
- id.in (),
- name.in (),
- version.in (),
- discriminator_type.in (),
- members,
- ACE_TRY_ENV
- );
-
- ACE_TRY
- {
- _tao_vfr.receive_request (&ri, ACE_TRY_ENV);
- ACE_TRY_CHECK;
-
-#endif /* TAO_HAS_INTERCEPTORS */
- _tao_retval =
- _tao_impl->create_union (
- id.in (),
- name.in (),
- version.in (),
- discriminator_type.in (),
- members,
- ACE_TRY_ENV
- );
- TAO_INTERCEPTOR_CHECK;
-
-#if (TAO_HAS_INTERCEPTORS == 1)
- IR_UnionDef_ptr _tao_retval_info = _tao_retval._retn ();
- ri.result (_tao_retval_info);
- _tao_retval = _tao_retval_info;
- ri.reply_status (PortableInterceptor::SUCCESSFUL);
- _tao_vfr.send_reply (&ri, ACE_TRY_ENV);
- ACE_TRY_CHECK;
- }
- ACE_CATCH (PortableInterceptor::ForwardRequest, exc)
- {
- ri.forward_reference (exc);
- _tao_vfr.send_other (
- &ri,
- ACE_TRY_ENV
- );
- ACE_TRY_CHECK;
- _tao_server_request.forward_location (exc.forward.in ());
- }
- ACE_CATCHANY
- {
- ri.exception (&ACE_ANY_EXCEPTION);
- _tao_vfr.send_exception (
- &ri,
- ACE_TRY_ENV
- );
- ACE_TRY_CHECK;
- ACE_RE_THROW;
- }
- ACE_ENDTRY;
- ACE_CHECK;
-#endif /* TAO_HAS_INTERCEPTORS */
-
- _tao_server_request.init_reply ();
-
- TAO_OutputCDR &_tao_out = _tao_server_request.outgoing ();
-
- if (!(
- (_tao_out << _tao_retval.in ())
- ))
- ACE_THROW (CORBA::MARSHAL());
-
- // In case ACE_TRY_ENV is not used in this function
- ACE_UNUSED_ARG (ACE_TRY_ENV);
-}
-
-void POA_IR::Container::create_enum_skel (
- TAO_ServerRequest &_tao_server_request,
- void *_tao_object_reference,
- void * /* context */,
- CORBA::Environment &ACE_TRY_ENV
- )
-{
- TAO_InputCDR &_tao_in = _tao_server_request.incoming ();
- POA_IR::Container *_tao_impl = (POA_IR::Container *)_tao_object_reference;
-
- IR_EnumDef_var _tao_retval;
- CORBA::String_var id;
- CORBA::String_var name;
- CORBA::String_var version;
- IR_EnumMemberSeq members;
- if (!(
- (_tao_in >> id.out ()) &&
- (_tao_in >> name.out ()) &&
- (_tao_in >> version.out ()) &&
- (_tao_in >> members)
- ))
- ACE_THROW (CORBA::MARSHAL () );
-
-#if (TAO_HAS_INTERCEPTORS == 1)
- TAO_ServerRequestInterceptor_Adapter _tao_vfr (
- _tao_server_request.orb_core ()->server_request_interceptors (),
- _tao_server_request.interceptor_count ()
- );
-
- POA_IR::Container::TAO_ServerRequestInfo_IR_Container_create_enum ri (
- _tao_server_request,
- _tao_impl,
- id.in (),
- name.in (),
- version.in (),
- members,
- ACE_TRY_ENV
- );
-
- ACE_TRY
- {
- _tao_vfr.receive_request (&ri, ACE_TRY_ENV);
- ACE_TRY_CHECK;
-
-#endif /* TAO_HAS_INTERCEPTORS */
- _tao_retval =
- _tao_impl->create_enum (
- id.in (),
- name.in (),
- version.in (),
- members,
- ACE_TRY_ENV
- );
- TAO_INTERCEPTOR_CHECK;
-
-#if (TAO_HAS_INTERCEPTORS == 1)
- IR_EnumDef_ptr _tao_retval_info = _tao_retval._retn ();
- ri.result (_tao_retval_info);
- _tao_retval = _tao_retval_info;
- ri.reply_status (PortableInterceptor::SUCCESSFUL);
- _tao_vfr.send_reply (&ri, ACE_TRY_ENV);
- ACE_TRY_CHECK;
- }
- ACE_CATCH (PortableInterceptor::ForwardRequest, exc)
- {
- ri.forward_reference (exc);
- _tao_vfr.send_other (
- &ri,
- ACE_TRY_ENV
- );
- ACE_TRY_CHECK;
- _tao_server_request.forward_location (exc.forward.in ());
- }
- ACE_CATCHANY
- {
- ri.exception (&ACE_ANY_EXCEPTION);
- _tao_vfr.send_exception (
- &ri,
- ACE_TRY_ENV
- );
- ACE_TRY_CHECK;
- ACE_RE_THROW;
- }
- ACE_ENDTRY;
- ACE_CHECK;
-#endif /* TAO_HAS_INTERCEPTORS */
-
- _tao_server_request.init_reply ();
-
- TAO_OutputCDR &_tao_out = _tao_server_request.outgoing ();
-
- if (!(
- (_tao_out << _tao_retval.in ())
- ))
- ACE_THROW (CORBA::MARSHAL());
-
- // In case ACE_TRY_ENV is not used in this function
- ACE_UNUSED_ARG (ACE_TRY_ENV);
-}
-
-void POA_IR::Container::create_alias_skel (
- TAO_ServerRequest &_tao_server_request,
- void *_tao_object_reference,
- void * /* context */,
- CORBA::Environment &ACE_TRY_ENV
-)
-{
- TAO_InputCDR &_tao_in = _tao_server_request.incoming ();
- POA_IR::Container *_tao_impl = (POA_IR::Container *)_tao_object_reference;
-
- IR_AliasDef_var _tao_retval;
- CORBA::String_var id;
- CORBA::String_var name;
- CORBA::String_var version;
- IR_IDLType_var original_type;
- if (!(
- (_tao_in >> id.out ()) &&
- (_tao_in >> name.out ()) &&
- (_tao_in >> version.out ()) &&
- (_tao_in >> original_type.out ())
- ))
- ACE_THROW (CORBA::MARSHAL () );
-
-#if (TAO_HAS_INTERCEPTORS == 1)
- TAO_ServerRequestInterceptor_Adapter _tao_vfr (
- _tao_server_request.orb_core ()->server_request_interceptors (),
- _tao_server_request.interceptor_count ()
- );
-
- POA_IR::Container::TAO_ServerRequestInfo_IR_Container_create_alias ri (
- _tao_server_request,
- _tao_impl,
- id.in (),
- name.in (),
- version.in (),
- original_type.in (),
- ACE_TRY_ENV
- );
-
- ACE_TRY
- {
- _tao_vfr.receive_request (&ri, ACE_TRY_ENV);
- ACE_TRY_CHECK;
-
-#endif /* TAO_HAS_INTERCEPTORS */
- _tao_retval =
- _tao_impl->create_alias (
- id.in (),
- name.in (),
- version.in (),
- original_type.in (),
- ACE_TRY_ENV
- );
- TAO_INTERCEPTOR_CHECK;
-
-#if (TAO_HAS_INTERCEPTORS == 1)
- IR_AliasDef_ptr _tao_retval_info = _tao_retval._retn ();
- ri.result (_tao_retval_info);
- _tao_retval = _tao_retval_info;
- ri.reply_status (PortableInterceptor::SUCCESSFUL);
- _tao_vfr.send_reply (&ri, ACE_TRY_ENV);
- ACE_TRY_CHECK;
- }
- ACE_CATCH (PortableInterceptor::ForwardRequest, exc)
- {
- ri.forward_reference (exc);
- _tao_vfr.send_other (
- &ri,
- ACE_TRY_ENV
- );
- ACE_TRY_CHECK;
- _tao_server_request.forward_location (exc.forward.in ());
- }
- ACE_CATCHANY
- {
- ri.exception (&ACE_ANY_EXCEPTION);
- _tao_vfr.send_exception (
- &ri,
- ACE_TRY_ENV
- );
- ACE_TRY_CHECK;
- ACE_RE_THROW;
- }
- ACE_ENDTRY;
- ACE_CHECK;
-#endif /* TAO_HAS_INTERCEPTORS */
-
- _tao_server_request.init_reply ();
-
- TAO_OutputCDR &_tao_out = _tao_server_request.outgoing ();
-
- if (!(
- (_tao_out << _tao_retval.in ())
- ))
- ACE_THROW (CORBA::MARSHAL());
-
- // In case ACE_TRY_ENV is not used in this function
- ACE_UNUSED_ARG (ACE_TRY_ENV);
-}
-
-void POA_IR::Container::create_interface_skel (
- TAO_ServerRequest &_tao_server_request,
- void *_tao_object_reference,
- void * /* context */,
- CORBA::Environment &ACE_TRY_ENV
-)
-{
- TAO_InputCDR &_tao_in = _tao_server_request.incoming ();
- POA_IR::Container *_tao_impl = (POA_IR::Container *)_tao_object_reference;
-
- IR_InterfaceDef_var _tao_retval;
- CORBA::String_var id;
- CORBA::String_var name;
- CORBA::String_var version;
- IR_InterfaceDefSeq base_interfaces;
- CORBA::Boolean is_abstract;
- CORBA::Boolean is_local;
- if (!(
- (_tao_in >> id.out ()) &&
- (_tao_in >> name.out ()) &&
- (_tao_in >> version.out ()) &&
- (_tao_in >> base_interfaces) &&
- (_tao_in >> CORBA::Any::to_boolean (is_abstract)) &&
- (_tao_in >> CORBA::Any::to_boolean (is_local))
- ))
- ACE_THROW (CORBA::MARSHAL () );
-
-#if (TAO_HAS_INTERCEPTORS == 1)
- TAO_ServerRequestInterceptor_Adapter _tao_vfr (
- _tao_server_request.orb_core ()->server_request_interceptors (),
- _tao_server_request.interceptor_count ()
- );
-
- POA_IR::Container::TAO_ServerRequestInfo_IR_Container_create_interface ri (
- _tao_server_request,
- _tao_impl,
- id.in (),
- name.in (),
- version.in (),
- base_interfaces,
- is_abstract,
- is_local,
- ACE_TRY_ENV
- );
-
- ACE_TRY
- {
- _tao_vfr.receive_request (&ri, ACE_TRY_ENV);
- ACE_TRY_CHECK;
-
-#endif /* TAO_HAS_INTERCEPTORS */
- _tao_retval =
- _tao_impl->create_interface (
- id.in (),
- name.in (),
- version.in (),
- base_interfaces,
- is_abstract,
- is_local,
- ACE_TRY_ENV
- );
- TAO_INTERCEPTOR_CHECK;
-
-#if (TAO_HAS_INTERCEPTORS == 1)
- IR_InterfaceDef_ptr _tao_retval_info = _tao_retval._retn ();
- ri.result (_tao_retval_info);
- _tao_retval = _tao_retval_info;
- ri.reply_status (PortableInterceptor::SUCCESSFUL);
- _tao_vfr.send_reply (&ri, ACE_TRY_ENV);
- ACE_TRY_CHECK;
- }
- ACE_CATCH (PortableInterceptor::ForwardRequest, exc)
- {
- ri.forward_reference (exc);
- _tao_vfr.send_other (
- &ri,
- ACE_TRY_ENV
- );
- ACE_TRY_CHECK;
- _tao_server_request.forward_location (exc.forward.in ());
- }
- ACE_CATCHANY
- {
- ri.exception (&ACE_ANY_EXCEPTION);
- _tao_vfr.send_exception (
- &ri,
- ACE_TRY_ENV
- );
- ACE_TRY_CHECK;
- ACE_RE_THROW;
- }
- ACE_ENDTRY;
- ACE_CHECK;
-#endif /* TAO_HAS_INTERCEPTORS */
-
- _tao_server_request.init_reply ();
-
- TAO_OutputCDR &_tao_out = _tao_server_request.outgoing ();
-
- if (!(
- (_tao_out << _tao_retval.in ())
- ))
- ACE_THROW (CORBA::MARSHAL());
-
- // In case ACE_TRY_ENV is not used in this function
- ACE_UNUSED_ARG (ACE_TRY_ENV);
-}
-
-void POA_IR::Container::create_value_skel (
- TAO_ServerRequest &_tao_server_request,
- void *_tao_object_reference,
- void * /* context */,
- CORBA::Environment &ACE_TRY_ENV
-)
-{
- TAO_InputCDR &_tao_in = _tao_server_request.incoming ();
- POA_IR::Container *_tao_impl = (POA_IR::Container *)_tao_object_reference;
-
- IR_ValueDef_var _tao_retval;
- CORBA::String_var id;
- CORBA::String_var name;
- CORBA::String_var version;
- CORBA::Boolean is_custom;
- CORBA::Boolean is_abstract;
- IR_ValueDef_var base_value;
- CORBA::Boolean is_truncatable;
- IR_ValueDefSeq abstract_base_values;
- IR_InterfaceDefSeq supported_interfaces;
- IR_InitializerSeq initializers;
- if (!(
- (_tao_in >> id.out ()) &&
- (_tao_in >> name.out ()) &&
- (_tao_in >> version.out ()) &&
- (_tao_in >> CORBA::Any::to_boolean (is_custom)) &&
- (_tao_in >> CORBA::Any::to_boolean (is_abstract)) &&
- (_tao_in >> base_value.out ()) &&
- (_tao_in >> CORBA::Any::to_boolean (is_truncatable)) &&
- (_tao_in >> abstract_base_values) &&
- (_tao_in >> supported_interfaces) &&
- (_tao_in >> initializers)
- ))
- ACE_THROW (CORBA::MARSHAL () );
-
-#if (TAO_HAS_INTERCEPTORS == 1)
- TAO_ServerRequestInterceptor_Adapter _tao_vfr (
- _tao_server_request.orb_core ()->server_request_interceptors (),
- _tao_server_request.interceptor_count ()
- );
-
- POA_IR::Container::TAO_ServerRequestInfo_IR_Container_create_value ri (
- _tao_server_request,
- _tao_impl,
- id.in (),
- name.in (),
- version.in (),
- is_custom,
- is_abstract,
- base_value.in (),
- is_truncatable,
- abstract_base_values,
- supported_interfaces,
- initializers,
- ACE_TRY_ENV
- );
-
- ACE_TRY
- {
- _tao_vfr.receive_request (&ri, ACE_TRY_ENV);
- ACE_TRY_CHECK;
-
-#endif /* TAO_HAS_INTERCEPTORS */
- _tao_retval =
- _tao_impl->create_value (
- id.in (),
- name.in (),
- version.in (),
- is_custom,
- is_abstract,
- base_value.in (),
- is_truncatable,
- abstract_base_values,
- supported_interfaces,
- initializers,
- ACE_TRY_ENV
- );
- TAO_INTERCEPTOR_CHECK;
-
-#if (TAO_HAS_INTERCEPTORS == 1)
- IR_ValueDef_ptr _tao_retval_info = _tao_retval._retn ();
- ri.result (_tao_retval_info);
- _tao_retval = _tao_retval_info;
- ri.reply_status (PortableInterceptor::SUCCESSFUL);
- _tao_vfr.send_reply (&ri, ACE_TRY_ENV);
- ACE_TRY_CHECK;
- }
- ACE_CATCH (PortableInterceptor::ForwardRequest, exc)
- {
- ri.forward_reference (exc);
- _tao_vfr.send_other (
- &ri,
- ACE_TRY_ENV
- );
- ACE_TRY_CHECK;
- _tao_server_request.forward_location (exc.forward.in ());
- }
- ACE_CATCHANY
- {
- ri.exception (&ACE_ANY_EXCEPTION);
- _tao_vfr.send_exception (
- &ri,
- ACE_TRY_ENV
- );
- ACE_TRY_CHECK;
- ACE_RE_THROW;
- }
- ACE_ENDTRY;
- ACE_CHECK;
-#endif /* TAO_HAS_INTERCEPTORS */
-
- _tao_server_request.init_reply ();
-
- TAO_OutputCDR &_tao_out = _tao_server_request.outgoing ();
-
- if (!(
- (_tao_out << _tao_retval.in ())
- ))
- ACE_THROW (CORBA::MARSHAL());
-
- // In case ACE_TRY_ENV is not used in this function
- ACE_UNUSED_ARG (ACE_TRY_ENV);
-}
-
-void POA_IR::Container::create_value_box_skel (
- TAO_ServerRequest &_tao_server_request,
- void *_tao_object_reference,
- void * /* context */,
- CORBA::Environment &ACE_TRY_ENV
-)
-{
- TAO_InputCDR &_tao_in = _tao_server_request.incoming ();
- POA_IR::Container *_tao_impl = (POA_IR::Container *)_tao_object_reference;
-
- IR_ValueBoxDef_var _tao_retval;
- CORBA::String_var id;
- CORBA::String_var name;
- CORBA::String_var version;
- IR_IDLType_var original_type_def;
- if (!(
- (_tao_in >> id.out ()) &&
- (_tao_in >> name.out ()) &&
- (_tao_in >> version.out ()) &&
- (_tao_in >> original_type_def.out ())
- ))
- ACE_THROW (CORBA::MARSHAL () );
-
-#if (TAO_HAS_INTERCEPTORS == 1)
- TAO_ServerRequestInterceptor_Adapter _tao_vfr (
- _tao_server_request.orb_core ()->server_request_interceptors (),
- _tao_server_request.interceptor_count ()
- );
-
- POA_IR::Container::TAO_ServerRequestInfo_IR_Container_create_value_box ri (
- _tao_server_request,
- _tao_impl,
- id.in (),
- name.in (),
- version.in (),
- original_type_def.in (),
- ACE_TRY_ENV
- );
-
- ACE_TRY
- {
- _tao_vfr.receive_request (&ri, ACE_TRY_ENV);
- ACE_TRY_CHECK;
-
-#endif /* TAO_HAS_INTERCEPTORS */
- _tao_retval =
- _tao_impl->create_value_box (
- id.in (),
- name.in (),
- version.in (),
- original_type_def.in (),
- ACE_TRY_ENV
- );
- TAO_INTERCEPTOR_CHECK;
-
-#if (TAO_HAS_INTERCEPTORS == 1)
- IR_ValueBoxDef_ptr _tao_retval_info = _tao_retval._retn ();
- ri.result (_tao_retval_info);
- _tao_retval = _tao_retval_info;
- ri.reply_status (PortableInterceptor::SUCCESSFUL);
- _tao_vfr.send_reply (&ri, ACE_TRY_ENV);
- ACE_TRY_CHECK;
- }
- ACE_CATCH (PortableInterceptor::ForwardRequest, exc)
- {
- ri.forward_reference (exc);
- _tao_vfr.send_other (
- &ri,
- ACE_TRY_ENV
- );
- ACE_TRY_CHECK;
- _tao_server_request.forward_location (exc.forward.in ());
- }
- ACE_CATCHANY
- {
- ri.exception (&ACE_ANY_EXCEPTION);
- _tao_vfr.send_exception (
- &ri,
- ACE_TRY_ENV
- );
- ACE_TRY_CHECK;
- ACE_RE_THROW;
- }
- ACE_ENDTRY;
- ACE_CHECK;
-#endif /* TAO_HAS_INTERCEPTORS */
-
- _tao_server_request.init_reply ();
-
- TAO_OutputCDR &_tao_out = _tao_server_request.outgoing ();
-
- if (!(
- (_tao_out << _tao_retval.in ())
- ))
- ACE_THROW (CORBA::MARSHAL());
-
- // In case ACE_TRY_ENV is not used in this function
- ACE_UNUSED_ARG (ACE_TRY_ENV);
-}
-
-void POA_IR::Container::create_exception_skel (
- TAO_ServerRequest &_tao_server_request,
- void *_tao_object_reference,
- void * /* context */,
- CORBA::Environment &ACE_TRY_ENV
-)
-{
- TAO_InputCDR &_tao_in = _tao_server_request.incoming ();
- POA_IR::Container *_tao_impl = (POA_IR::Container *)_tao_object_reference;
-
- IR_ExceptionDef_var _tao_retval;
- CORBA::String_var id;
- CORBA::String_var name;
- CORBA::String_var version;
- IR_StructMemberSeq members;
- if (!(
- (_tao_in >> id.out ()) &&
- (_tao_in >> name.out ()) &&
- (_tao_in >> version.out ()) &&
- (_tao_in >> members)
- ))
- ACE_THROW (CORBA::MARSHAL () );
-
-#if (TAO_HAS_INTERCEPTORS == 1)
- TAO_ServerRequestInterceptor_Adapter _tao_vfr (
- _tao_server_request.orb_core ()->server_request_interceptors (),
- _tao_server_request.interceptor_count ()
- );
-
- POA_IR::Container::TAO_ServerRequestInfo_IR_Container_create_exception ri (
- _tao_server_request,
- _tao_impl,
- id.in (),
- name.in (),
- version.in (),
- members,
- ACE_TRY_ENV
- );
-
- ACE_TRY
- {
- _tao_vfr.receive_request (&ri, ACE_TRY_ENV);
- ACE_TRY_CHECK;
-
-#endif /* TAO_HAS_INTERCEPTORS */
- _tao_retval =
- _tao_impl->create_exception (
- id.in (),
- name.in (),
- version.in (),
- members,
- ACE_TRY_ENV
- );
- TAO_INTERCEPTOR_CHECK;
-
-#if (TAO_HAS_INTERCEPTORS == 1)
- IR_ExceptionDef_ptr _tao_retval_info = _tao_retval._retn ();
- ri.result (_tao_retval_info);
- _tao_retval = _tao_retval_info;
- ri.reply_status (PortableInterceptor::SUCCESSFUL);
- _tao_vfr.send_reply (&ri, ACE_TRY_ENV);
- ACE_TRY_CHECK;
- }
- ACE_CATCH (PortableInterceptor::ForwardRequest, exc)
- {
- ri.forward_reference (exc);
- _tao_vfr.send_other (
- &ri,
- ACE_TRY_ENV
- );
- ACE_TRY_CHECK;
- _tao_server_request.forward_location (exc.forward.in ());
- }
- ACE_CATCHANY
- {
- ri.exception (&ACE_ANY_EXCEPTION);
- _tao_vfr.send_exception (
- &ri,
- ACE_TRY_ENV
- );
- ACE_TRY_CHECK;
- ACE_RE_THROW;
- }
- ACE_ENDTRY;
- ACE_CHECK;
-#endif /* TAO_HAS_INTERCEPTORS */
-
- _tao_server_request.init_reply ();
-
- TAO_OutputCDR &_tao_out = _tao_server_request.outgoing ();
-
- if (!(
- (_tao_out << _tao_retval.in ())
- ))
- ACE_THROW (CORBA::MARSHAL());
-
- // In case ACE_TRY_ENV is not used in this function
- ACE_UNUSED_ARG (ACE_TRY_ENV);
-}
-
-void POA_IR::Container::create_native_skel (
- TAO_ServerRequest &_tao_server_request,
- void *_tao_object_reference,
- void * /* context */,
- CORBA::Environment &ACE_TRY_ENV
-)
-{
- TAO_InputCDR &_tao_in = _tao_server_request.incoming ();
- POA_IR::Container *_tao_impl = (POA_IR::Container *)_tao_object_reference;
-
- IR_NativeDef_var _tao_retval;
- CORBA::String_var id;
- CORBA::String_var name;
- CORBA::String_var version;
- if (!(
- (_tao_in >> id.out ()) &&
- (_tao_in >> name.out ()) &&
- (_tao_in >> version.out ())
- ))
- ACE_THROW (CORBA::MARSHAL () );
-
-#if (TAO_HAS_INTERCEPTORS == 1)
- TAO_ServerRequestInterceptor_Adapter _tao_vfr (
- _tao_server_request.orb_core ()->server_request_interceptors (),
- _tao_server_request.interceptor_count ()
- );
-
- POA_IR::Container::TAO_ServerRequestInfo_IR_Container_create_native ri (
- _tao_server_request,
- _tao_impl,
- id.in (),
- name.in (),
- version.in (),
- ACE_TRY_ENV
- );
-
- ACE_TRY
- {
- _tao_vfr.receive_request (&ri, ACE_TRY_ENV);
- ACE_TRY_CHECK;
-
-#endif /* TAO_HAS_INTERCEPTORS */
- _tao_retval =
- _tao_impl->create_native (
- id.in (),
- name.in (),
- version.in (),
- ACE_TRY_ENV
- );
- TAO_INTERCEPTOR_CHECK;
-
-#if (TAO_HAS_INTERCEPTORS == 1)
- IR_NativeDef_ptr _tao_retval_info = _tao_retval._retn ();
- ri.result (_tao_retval_info);
- _tao_retval = _tao_retval_info;
- ri.reply_status (PortableInterceptor::SUCCESSFUL);
- _tao_vfr.send_reply (&ri, ACE_TRY_ENV);
- ACE_TRY_CHECK;
- }
- ACE_CATCH (PortableInterceptor::ForwardRequest, exc)
- {
- ri.forward_reference (exc);
- _tao_vfr.send_other (
- &ri,
- ACE_TRY_ENV
- );
- ACE_TRY_CHECK;
- _tao_server_request.forward_location (exc.forward.in ());
- }
- ACE_CATCHANY
- {
- ri.exception (&ACE_ANY_EXCEPTION);
- _tao_vfr.send_exception (
- &ri,
- ACE_TRY_ENV
- );
- ACE_TRY_CHECK;
- ACE_RE_THROW;
- }
- ACE_ENDTRY;
- ACE_CHECK;
-#endif /* TAO_HAS_INTERCEPTORS */
-
- _tao_server_request.init_reply ();
-
- TAO_OutputCDR &_tao_out = _tao_server_request.outgoing ();
-
- if (!(
- (_tao_out << _tao_retval.in ())
- ))
- ACE_THROW (CORBA::MARSHAL());
-
- // In case ACE_TRY_ENV is not used in this function
- ACE_UNUSED_ARG (ACE_TRY_ENV);
-}
-
-void POA_IR::Container::_is_a_skel (
- TAO_ServerRequest &_tao_server_request,
- void * _tao_object_reference,
- void * /* context */,
- CORBA::Environment &ACE_TRY_ENV
- )
-{
- TAO_InputCDR &_tao_in = _tao_server_request.incoming ();
- POA_IR::Container *_tao_impl = (POA_IR::Container *) _tao_object_reference;
- CORBA::Boolean _tao_retval = 0;
- CORBA::String_var value;
- if (!((_tao_in >> value.out ())))
- ACE_THROW (CORBA::MARSHAL ());
-
- _tao_retval = _tao_impl->_is_a (value.in (), ACE_TRY_ENV);
- ACE_CHECK;
-
- _tao_server_request.init_reply ();
- TAO_OutputCDR &_tao_out = _tao_server_request.outgoing ();
- if (!((_tao_out << CORBA::Any::from_boolean (_tao_retval))))
- ACE_THROW (CORBA::MARSHAL ());
-}
-
-void POA_IR::Container::_non_existent_skel (
- TAO_ServerRequest &_tao_server_request,
- void * _tao_object_reference,
- void * /* context */,
- CORBA::Environment &ACE_TRY_ENV
- )
-{
- POA_IR::Container *_tao_impl = (POA_IR::Container *) _tao_object_reference;
- CORBA::Boolean _tao_retval = _tao_impl->_non_existent (ACE_TRY_ENV);
- ACE_CHECK;
-
- _tao_server_request.init_reply ();
- TAO_OutputCDR &_tao_out = _tao_server_request.outgoing ();
- if (!((_tao_out << CORBA::Any::from_boolean (_tao_retval))))
- ACE_THROW (CORBA::MARSHAL ());
-}
-
-CORBA::Boolean POA_IR::Container::_is_a (
- const char* value,
- CORBA::Environment &ACE_TRY_ENV
- )
-{
- if (
- (!ACE_OS::strcmp ((char *)value, "IDL:omg.org/IR/Container:1.0")) ||
- (!ACE_OS::strcmp ((char *)value, "IDL:omg.org/CORBA/IRObject:1.0")) ||
- (!ACE_OS::strcmp ((char *)value, CORBA::_tc_Object->id (ACE_TRY_ENV))))
- return 1;
- else
- return 0;
-}
-
-void* POA_IR::Container::_downcast (
- const char* logical_type_id
- )
-{
- if (ACE_OS::strcmp (logical_type_id, "IDL:omg.org/IR/Container:1.0") == 0)
- return ACE_static_cast (POA_IR::Container_ptr, this);
- if (ACE_OS::strcmp (logical_type_id, "IDL:omg.org/CORBA/IRObject:1.0") == 0)
- return ACE_static_cast (POA_CORBA_IRObject_ptr, this);
- if (ACE_OS::strcmp (logical_type_id, "IDL:omg.org/CORBA/Object:1.0") == 0)
- return ACE_static_cast(PortableServer::Servant, this);
- return 0;
-}
-
-void POA_IR::Container::_dispatch (TAO_ServerRequest &req, void *context, CORBA::Environment &ACE_TRY_ENV)
-{
- this->synchronous_upcall_dispatch(req, context, this, ACE_TRY_ENV);
-}
-
-const char* POA_IR::Container::_interface_repository_id (void) const
-{
- return "IDL:omg.org/IR/Container:1.0";
-}
-
-IR::Container*
-POA_IR::Container::_this (CORBA_Environment &ACE_TRY_ENV)
-{
- TAO_Stub *stub = this->_create_stub (ACE_TRY_ENV);
- ACE_CHECK_RETURN (0);
-
- CORBA::Object_ptr tmp = CORBA::Object::_nil ();
-
- if (stub->servant_orb_var ()->orb_core ()->optimize_collocation_objects ())
- ACE_NEW_RETURN (tmp, CORBA::Object (stub, 1, this), 0);
- else
- ACE_NEW_RETURN (tmp, CORBA::Object (stub, 0, this), 0);
-
- CORBA::Object_var obj = tmp;
- return IR_Container::_unchecked_narrow (obj.in ());
-}
-
-#if (TAO_HAS_INTERCEPTORS == 1)
-POA_IR::Container::TAO_ServerRequestInfo_IR_Container_lookup::TAO_ServerRequestInfo_IR_Container_lookup (
- TAO_ServerRequest &_tao_server_request,
- POA_IR::Container *tao_impl,
- const char * search_name,
- CORBA::Environment &
- )
- : TAO_ServerRequestInfo (_tao_server_request),
- _tao_impl (tao_impl),
- search_name_ (search_name)
-{}
-
-Dynamic::ParameterList *
-POA_IR::Container::TAO_ServerRequestInfo_IR_Container_lookup::arguments (CORBA::Environment &ACE_TRY_ENV)
- ACE_THROW_SPEC ((CORBA::SystemException))
-{
- // Generate the argument list on demand.
- Dynamic::ParameterList *parameter_list =
- TAO_RequestInfo_Util::make_parameter_list (ACE_TRY_ENV);
- ACE_CHECK_RETURN (0);
-
- Dynamic::ParameterList_var safe_parameter_list = parameter_list;
-
- CORBA::ULong length_search_name = parameter_list->length ();
- parameter_list->length (length_search_name + 1);
- (*parameter_list)[length_search_name].argument <<= search_name_;
- (*parameter_list)[length_search_name].mode = Dynamic::PARAM_IN;
-
- return safe_parameter_list._retn ();
-}
-
-Dynamic::ExceptionList *
-POA_IR::Container::TAO_ServerRequestInfo_IR_Container_lookup::exceptions (CORBA::Environment &ACE_TRY_ENV)
- ACE_THROW_SPEC ((CORBA::SystemException))
-{
- // Generate the exception list on demand.
- Dynamic::ExceptionList *exception_list =
- TAO_RequestInfo_Util::make_exception_list (ACE_TRY_ENV);
- ACE_CHECK_RETURN (0);
-
- return exception_list;
-}
-
-CORBA::Any *
-POA_IR::Container::TAO_ServerRequestInfo_IR_Container_lookup::result (CORBA::Environment &ACE_TRY_ENV)
- ACE_THROW_SPEC ((CORBA::SystemException))
-{
- // Generate the result on demand.
- CORBA::Boolean tk_void_any = 0;
- CORBA::Any *result_any =
- TAO_RequestInfo_Util::make_any (tk_void_any, ACE_TRY_ENV);
- ACE_CHECK_RETURN (0);
-
- CORBA::Any_var safe_result_any = result_any;
-
- (*result_any) <<= this->_result;
-
- return safe_result_any._retn ();
-}
-
-char *
-POA_IR::Container::TAO_ServerRequestInfo_IR_Container_lookup::target_most_derived_interface (
- CORBA::Environment &)
- ACE_THROW_SPEC ((CORBA::SystemException))
-{
- return
- CORBA::string_dup (this->_tao_impl->_interface_repository_id ());
-}
-
-CORBA::Boolean
-POA_IR::Container::TAO_ServerRequestInfo_IR_Container_lookup::target_is_a (
- const char * id,
- CORBA::Environment &ACE_TRY_ENV)
- ACE_THROW_SPEC ((CORBA::SystemException))
-{
- return this->_tao_impl->_is_a (id, ACE_TRY_ENV);
-}
-
-void
-POA_IR::Container::TAO_ServerRequestInfo_IR_Container_lookup::result (IR::Contained_ptr result)
-{
- // Update the result.
- this->_result = result;
-}
-
-POA_IR::Container::TAO_ServerRequestInfo_IR_Container_contents::TAO_ServerRequestInfo_IR_Container_contents (
- TAO_ServerRequest &_tao_server_request,
- POA_IR::Container *tao_impl,
- IR_DefinitionKind & limit_type,
- const CORBA::Boolean & exclude_inherited,
- CORBA::Environment &
- )
- : TAO_ServerRequestInfo (_tao_server_request),
- _tao_impl (tao_impl),
- limit_type_ (limit_type),
- exclude_inherited_ (exclude_inherited)
-{}
-
-Dynamic::ParameterList *
-POA_IR::Container::TAO_ServerRequestInfo_IR_Container_contents::arguments (CORBA::Environment &ACE_TRY_ENV)
- ACE_THROW_SPEC ((CORBA::SystemException))
-{
- // Generate the argument list on demand.
- Dynamic::ParameterList *parameter_list =
- TAO_RequestInfo_Util::make_parameter_list (ACE_TRY_ENV);
- ACE_CHECK_RETURN (0);
-
- Dynamic::ParameterList_var safe_parameter_list = parameter_list;
-
- CORBA::ULong length_limit_type = parameter_list->length ();
- parameter_list->length (length_limit_type + 1);
- (*parameter_list)[length_limit_type].argument <<= this->limit_type_;
-
- (*parameter_list)[length_limit_type].mode = Dynamic::PARAM_IN;
-
- CORBA::ULong length_exclude_inherited = parameter_list->length ();
- parameter_list->length (length_exclude_inherited + 1);
- (*parameter_list)[length_exclude_inherited].argument <<= CORBA::Any::from_boolean (this->exclude_inherited_);
- (*parameter_list)[length_exclude_inherited].mode = Dynamic::PARAM_IN;
-
- return safe_parameter_list._retn ();
-}
-
-Dynamic::ExceptionList *
-POA_IR::Container::TAO_ServerRequestInfo_IR_Container_contents::exceptions (CORBA::Environment &ACE_TRY_ENV)
- ACE_THROW_SPEC ((CORBA::SystemException))
-{
- // Generate the exception list on demand.
- Dynamic::ExceptionList *exception_list =
- TAO_RequestInfo_Util::make_exception_list (ACE_TRY_ENV);
- ACE_CHECK_RETURN (0);
-
- return exception_list;
-}
-
-CORBA::Any *
-POA_IR::Container::TAO_ServerRequestInfo_IR_Container_contents::result (CORBA::Environment &ACE_TRY_ENV)
- ACE_THROW_SPEC ((CORBA::SystemException))
-{
- // Generate the result on demand.
- CORBA::Boolean tk_void_any = 0;
- CORBA::Any *result_any =
- TAO_RequestInfo_Util::make_any (tk_void_any, ACE_TRY_ENV);
- ACE_CHECK_RETURN (0);
-
- CORBA::Any_var safe_result_any = result_any;
-
- (*result_any) <<= this->_result;
-
- return safe_result_any._retn ();
-}
-
-char *
-POA_IR::Container::TAO_ServerRequestInfo_IR_Container_contents::target_most_derived_interface (
- CORBA::Environment &)
- ACE_THROW_SPEC ((CORBA::SystemException))
-{
- return
- CORBA::string_dup (this->_tao_impl->_interface_repository_id ());
-}
-
-CORBA::Boolean
-POA_IR::Container::TAO_ServerRequestInfo_IR_Container_contents::target_is_a (
- const char * id,
- CORBA::Environment &ACE_TRY_ENV)
- ACE_THROW_SPEC ((CORBA::SystemException))
-{
- return this->_tao_impl->_is_a (id, ACE_TRY_ENV);
-}
-
-void
-POA_IR::Container::TAO_ServerRequestInfo_IR_Container_contents::result (IR::ContainedSeq * result)
-{
- // Update the result.
- this->_result = result;
-}
-
-POA_IR::Container::TAO_ServerRequestInfo_IR_Container_lookup_name::TAO_ServerRequestInfo_IR_Container_lookup_name (
- TAO_ServerRequest &_tao_server_request,
- POA_IR::Container *tao_impl,
- const char * search_name,
- const CORBA::Long & levels_to_search,
- IR_DefinitionKind & limit_type,
- const CORBA::Boolean & exclude_inherited,
- CORBA::Environment &
- )
- : TAO_ServerRequestInfo (_tao_server_request),
- _tao_impl (tao_impl),
- search_name_ (search_name),
- levels_to_search_ (levels_to_search),
- limit_type_ (limit_type),
- exclude_inherited_ (exclude_inherited)
-{}
-
-Dynamic::ParameterList *
-POA_IR::Container::TAO_ServerRequestInfo_IR_Container_lookup_name::arguments (CORBA::Environment &ACE_TRY_ENV)
- ACE_THROW_SPEC ((CORBA::SystemException))
-{
- // Generate the argument list on demand.
- Dynamic::ParameterList *parameter_list =
- TAO_RequestInfo_Util::make_parameter_list (ACE_TRY_ENV);
- ACE_CHECK_RETURN (0);
-
- Dynamic::ParameterList_var safe_parameter_list = parameter_list;
-
- CORBA::ULong length_search_name = parameter_list->length ();
- parameter_list->length (length_search_name + 1);
- (*parameter_list)[length_search_name].argument <<= search_name_;
- (*parameter_list)[length_search_name].mode = Dynamic::PARAM_IN;
-
- CORBA::ULong length_levels_to_search = parameter_list->length ();
- parameter_list->length (length_levels_to_search + 1);
- (*parameter_list)[length_levels_to_search].argument <<= levels_to_search_;
- (*parameter_list)[length_levels_to_search].mode = Dynamic::PARAM_IN;
-
- CORBA::ULong length_limit_type = parameter_list->length ();
- parameter_list->length (length_limit_type + 1);
- (*parameter_list)[length_limit_type].argument <<= this->limit_type_;
-
- (*parameter_list)[length_limit_type].mode = Dynamic::PARAM_IN;
-
- CORBA::ULong length_exclude_inherited = parameter_list->length ();
- parameter_list->length (length_exclude_inherited + 1);
- (*parameter_list)[length_exclude_inherited].argument <<= CORBA::Any::from_boolean (this->exclude_inherited_);
- (*parameter_list)[length_exclude_inherited].mode = Dynamic::PARAM_IN;
-
- return safe_parameter_list._retn ();
-}
-
-Dynamic::ExceptionList *
-POA_IR::Container::TAO_ServerRequestInfo_IR_Container_lookup_name::exceptions (CORBA::Environment &ACE_TRY_ENV)
- ACE_THROW_SPEC ((CORBA::SystemException))
-{
- // Generate the exception list on demand.
- Dynamic::ExceptionList *exception_list =
- TAO_RequestInfo_Util::make_exception_list (ACE_TRY_ENV);
- ACE_CHECK_RETURN (0);
-
- return exception_list;
-}
-
-CORBA::Any *
-POA_IR::Container::TAO_ServerRequestInfo_IR_Container_lookup_name::result (CORBA::Environment &ACE_TRY_ENV)
- ACE_THROW_SPEC ((CORBA::SystemException))
-{
- // Generate the result on demand.
- CORBA::Boolean tk_void_any = 0;
- CORBA::Any *result_any =
- TAO_RequestInfo_Util::make_any (tk_void_any, ACE_TRY_ENV);
- ACE_CHECK_RETURN (0);
-
- CORBA::Any_var safe_result_any = result_any;
-
- (*result_any) <<= this->_result;
-
- return safe_result_any._retn ();
-}
-
-char *
-POA_IR::Container::TAO_ServerRequestInfo_IR_Container_lookup_name::target_most_derived_interface (
- CORBA::Environment &)
- ACE_THROW_SPEC ((CORBA::SystemException))
-{
- return
- CORBA::string_dup (this->_tao_impl->_interface_repository_id ());
-}
-
-CORBA::Boolean
-POA_IR::Container::TAO_ServerRequestInfo_IR_Container_lookup_name::target_is_a (
- const char * id,
- CORBA::Environment &ACE_TRY_ENV)
- ACE_THROW_SPEC ((CORBA::SystemException))
-{
- return this->_tao_impl->_is_a (id, ACE_TRY_ENV);
-}
-
-void
-POA_IR::Container::TAO_ServerRequestInfo_IR_Container_lookup_name::result (IR::ContainedSeq * result)
-{
- // Update the result.
- this->_result = result;
-}
-
-POA_IR::Container::TAO_ServerRequestInfo_IR_Container_describe_contents::TAO_ServerRequestInfo_IR_Container_describe_contents (
- TAO_ServerRequest &_tao_server_request,
- POA_IR::Container *tao_impl,
- IR_DefinitionKind & limit_type,
- const CORBA::Boolean & exclude_inherited,
- const CORBA::Long & max_returned_objs,
- CORBA::Environment &
- )
- : TAO_ServerRequestInfo (_tao_server_request),
- _tao_impl (tao_impl),
- limit_type_ (limit_type),
- exclude_inherited_ (exclude_inherited),
- max_returned_objs_ (max_returned_objs)
-{}
-
-Dynamic::ParameterList *
-POA_IR::Container::TAO_ServerRequestInfo_IR_Container_describe_contents::arguments (CORBA::Environment &ACE_TRY_ENV)
- ACE_THROW_SPEC ((CORBA::SystemException))
-{
- // Generate the argument list on demand.
- Dynamic::ParameterList *parameter_list =
- TAO_RequestInfo_Util::make_parameter_list (ACE_TRY_ENV);
- ACE_CHECK_RETURN (0);
-
- Dynamic::ParameterList_var safe_parameter_list = parameter_list;
-
- CORBA::ULong length_limit_type = parameter_list->length ();
- parameter_list->length (length_limit_type + 1);
- (*parameter_list)[length_limit_type].argument <<= this->limit_type_;
-
- (*parameter_list)[length_limit_type].mode = Dynamic::PARAM_IN;
-
- CORBA::ULong length_exclude_inherited = parameter_list->length ();
- parameter_list->length (length_exclude_inherited + 1);
- (*parameter_list)[length_exclude_inherited].argument <<= CORBA::Any::from_boolean (this->exclude_inherited_);
- (*parameter_list)[length_exclude_inherited].mode = Dynamic::PARAM_IN;
-
- CORBA::ULong length_max_returned_objs = parameter_list->length ();
- parameter_list->length (length_max_returned_objs + 1);
- (*parameter_list)[length_max_returned_objs].argument <<= max_returned_objs_;
- (*parameter_list)[length_max_returned_objs].mode = Dynamic::PARAM_IN;
-
- return safe_parameter_list._retn ();
-}
-
-Dynamic::ExceptionList *
-POA_IR::Container::TAO_ServerRequestInfo_IR_Container_describe_contents::exceptions (CORBA::Environment &ACE_TRY_ENV)
- ACE_THROW_SPEC ((CORBA::SystemException))
-{
- // Generate the exception list on demand.
- Dynamic::ExceptionList *exception_list =
- TAO_RequestInfo_Util::make_exception_list (ACE_TRY_ENV);
- ACE_CHECK_RETURN (0);
-
- return exception_list;
-}
-
-CORBA::Any *
-POA_IR::Container::TAO_ServerRequestInfo_IR_Container_describe_contents::result (CORBA::Environment &ACE_TRY_ENV)
- ACE_THROW_SPEC ((CORBA::SystemException))
-{
- // Generate the result on demand.
- CORBA::Boolean tk_void_any = 0;
- CORBA::Any *result_any =
- TAO_RequestInfo_Util::make_any (tk_void_any, ACE_TRY_ENV);
- ACE_CHECK_RETURN (0);
-
- CORBA::Any_var safe_result_any = result_any;
-
- (*result_any) <<= this->_result;
-
- return safe_result_any._retn ();
-}
-
-char *
-POA_IR::Container::TAO_ServerRequestInfo_IR_Container_describe_contents::target_most_derived_interface (
- CORBA::Environment &)
- ACE_THROW_SPEC ((CORBA::SystemException))
-{
- return
- CORBA::string_dup (this->_tao_impl->_interface_repository_id ());
-}
-
-CORBA::Boolean
-POA_IR::Container::TAO_ServerRequestInfo_IR_Container_describe_contents::target_is_a (
- const char * id,
- CORBA::Environment &ACE_TRY_ENV)
- ACE_THROW_SPEC ((CORBA::SystemException))
-{
- return this->_tao_impl->_is_a (id, ACE_TRY_ENV);
-}
-
-void
-POA_IR::Container::TAO_ServerRequestInfo_IR_Container_describe_contents::result (IR::Container::DescriptionSeq * result)
-{
- // Update the result.
- this->_result = result;
-}
-
-POA_IR::Container::TAO_ServerRequestInfo_IR_Container_create_module::TAO_ServerRequestInfo_IR_Container_create_module (
- TAO_ServerRequest &_tao_server_request,
- POA_IR::Container *tao_impl,
- const char * id,
- const char * name,
- const char * version,
- CORBA::Environment &
- )
- : TAO_ServerRequestInfo (_tao_server_request),
- _tao_impl (tao_impl),
- id_ (id),
- name_ (name),
- version_ (version)
-{}
-
-Dynamic::ParameterList *
-POA_IR::Container::TAO_ServerRequestInfo_IR_Container_create_module::arguments (CORBA::Environment &ACE_TRY_ENV)
- ACE_THROW_SPEC ((CORBA::SystemException))
-{
- // Generate the argument list on demand.
- Dynamic::ParameterList *parameter_list =
- TAO_RequestInfo_Util::make_parameter_list (ACE_TRY_ENV);
- ACE_CHECK_RETURN (0);
-
- Dynamic::ParameterList_var safe_parameter_list = parameter_list;
-
- CORBA::ULong length_id = parameter_list->length ();
- parameter_list->length (length_id + 1);
- (*parameter_list)[length_id].argument <<= id_;
- (*parameter_list)[length_id].mode = Dynamic::PARAM_IN;
-
- CORBA::ULong length_name = parameter_list->length ();
- parameter_list->length (length_name + 1);
- (*parameter_list)[length_name].argument <<= name_;
- (*parameter_list)[length_name].mode = Dynamic::PARAM_IN;
-
- CORBA::ULong length_version = parameter_list->length ();
- parameter_list->length (length_version + 1);
- (*parameter_list)[length_version].argument <<= version_;
- (*parameter_list)[length_version].mode = Dynamic::PARAM_IN;
-
- return safe_parameter_list._retn ();
-}
-
-Dynamic::ExceptionList *
-POA_IR::Container::TAO_ServerRequestInfo_IR_Container_create_module::exceptions (CORBA::Environment &ACE_TRY_ENV)
- ACE_THROW_SPEC ((CORBA::SystemException))
-{
- // Generate the exception list on demand.
- Dynamic::ExceptionList *exception_list =
- TAO_RequestInfo_Util::make_exception_list (ACE_TRY_ENV);
- ACE_CHECK_RETURN (0);
-
- return exception_list;
-}
-
-CORBA::Any *
-POA_IR::Container::TAO_ServerRequestInfo_IR_Container_create_module::result (CORBA::Environment &ACE_TRY_ENV)
- ACE_THROW_SPEC ((CORBA::SystemException))
-{
- // Generate the result on demand.
- CORBA::Boolean tk_void_any = 0;
- CORBA::Any *result_any =
- TAO_RequestInfo_Util::make_any (tk_void_any, ACE_TRY_ENV);
- ACE_CHECK_RETURN (0);
-
- CORBA::Any_var safe_result_any = result_any;
-
- (*result_any) <<= this->_result;
-
- return safe_result_any._retn ();
-}
-
-char *
-POA_IR::Container::TAO_ServerRequestInfo_IR_Container_create_module::target_most_derived_interface (
- CORBA::Environment &)
- ACE_THROW_SPEC ((CORBA::SystemException))
-{
- return
- CORBA::string_dup (this->_tao_impl->_interface_repository_id ());
-}
-
-CORBA::Boolean
-POA_IR::Container::TAO_ServerRequestInfo_IR_Container_create_module::target_is_a (
- const char * id,
- CORBA::Environment &ACE_TRY_ENV)
- ACE_THROW_SPEC ((CORBA::SystemException))
-{
- return this->_tao_impl->_is_a (id, ACE_TRY_ENV);
-}
-
-void
-POA_IR::Container::TAO_ServerRequestInfo_IR_Container_create_module::result (IR::ModuleDef_ptr result)
-{
- // Update the result.
- this->_result = result;
-}
-
-POA_IR::Container::TAO_ServerRequestInfo_IR_Container_create_constant::TAO_ServerRequestInfo_IR_Container_create_constant (
- TAO_ServerRequest &_tao_server_request,
- POA_IR::Container *tao_impl,
- const char * id,
- const char * name,
- const char * version,
- IR_IDLType_ptr type,
- const CORBA::Any & value,
- CORBA::Environment &
- )
- : TAO_ServerRequestInfo (_tao_server_request),
- _tao_impl (tao_impl),
- id_ (id),
- name_ (name),
- version_ (version),
- type_ (type),
- value_ (value)
-{}
-
-Dynamic::ParameterList *
-POA_IR::Container::TAO_ServerRequestInfo_IR_Container_create_constant::arguments (CORBA::Environment &ACE_TRY_ENV)
- ACE_THROW_SPEC ((CORBA::SystemException))
-{
- // Generate the argument list on demand.
- Dynamic::ParameterList *parameter_list =
- TAO_RequestInfo_Util::make_parameter_list (ACE_TRY_ENV);
- ACE_CHECK_RETURN (0);
-
- Dynamic::ParameterList_var safe_parameter_list = parameter_list;
-
- CORBA::ULong length_id = parameter_list->length ();
- parameter_list->length (length_id + 1);
- (*parameter_list)[length_id].argument <<= id_;
- (*parameter_list)[length_id].mode = Dynamic::PARAM_IN;
-
- CORBA::ULong length_name = parameter_list->length ();
- parameter_list->length (length_name + 1);
- (*parameter_list)[length_name].argument <<= name_;
- (*parameter_list)[length_name].mode = Dynamic::PARAM_IN;
-
- CORBA::ULong length_version = parameter_list->length ();
- parameter_list->length (length_version + 1);
- (*parameter_list)[length_version].argument <<= version_;
- (*parameter_list)[length_version].mode = Dynamic::PARAM_IN;
-
- CORBA::ULong length_type = parameter_list->length ();
- parameter_list->length (length_type + 1);
- (*parameter_list)[length_type].argument <<= this->type_;
-
- (*parameter_list)[length_type].mode = Dynamic::PARAM_IN;
-
- CORBA::ULong length_value = parameter_list->length ();
- parameter_list->length (length_value + 1);
- (*parameter_list)[length_value].argument <<= value_;
- (*parameter_list)[length_value].mode = Dynamic::PARAM_IN;
-
- return safe_parameter_list._retn ();
-}
-
-Dynamic::ExceptionList *
-POA_IR::Container::TAO_ServerRequestInfo_IR_Container_create_constant::exceptions (CORBA::Environment &ACE_TRY_ENV)
- ACE_THROW_SPEC ((CORBA::SystemException))
-{
- // Generate the exception list on demand.
- Dynamic::ExceptionList *exception_list =
- TAO_RequestInfo_Util::make_exception_list (ACE_TRY_ENV);
- ACE_CHECK_RETURN (0);
-
- return exception_list;
-}
-
-CORBA::Any *
-POA_IR::Container::TAO_ServerRequestInfo_IR_Container_create_constant::result (CORBA::Environment &ACE_TRY_ENV)
- ACE_THROW_SPEC ((CORBA::SystemException))
-{
- // Generate the result on demand.
- CORBA::Boolean tk_void_any = 0;
- CORBA::Any *result_any =
- TAO_RequestInfo_Util::make_any (tk_void_any, ACE_TRY_ENV);
- ACE_CHECK_RETURN (0);
-
- CORBA::Any_var safe_result_any = result_any;
-
- (*result_any) <<= this->_result;
-
- return safe_result_any._retn ();
-}
-
-char *
-POA_IR::Container::TAO_ServerRequestInfo_IR_Container_create_constant::target_most_derived_interface (
- CORBA::Environment &)
- ACE_THROW_SPEC ((CORBA::SystemException))
-{
- return
- CORBA::string_dup (this->_tao_impl->_interface_repository_id ());
-}
-
-CORBA::Boolean
-POA_IR::Container::TAO_ServerRequestInfo_IR_Container_create_constant::target_is_a (
- const char * id,
- CORBA::Environment &ACE_TRY_ENV)
- ACE_THROW_SPEC ((CORBA::SystemException))
-{
- return this->_tao_impl->_is_a (id, ACE_TRY_ENV);
-}
-
-void
-POA_IR::Container::TAO_ServerRequestInfo_IR_Container_create_constant::result (IR::ConstantDef_ptr result)
-{
- // Update the result.
- this->_result = result;
-}
-
-POA_IR::Container::TAO_ServerRequestInfo_IR_Container_create_struct::TAO_ServerRequestInfo_IR_Container_create_struct (
- TAO_ServerRequest &_tao_server_request,
- POA_IR::Container *tao_impl,
- const char * id,
- const char * name,
- const char * version,
- const IR_StructMemberSeq & members,
- CORBA::Environment &
- )
- : TAO_ServerRequestInfo (_tao_server_request),
- _tao_impl (tao_impl),
- id_ (id),
- name_ (name),
- version_ (version),
- members_ (members)
-{}
-
-Dynamic::ParameterList *
-POA_IR::Container::TAO_ServerRequestInfo_IR_Container_create_struct::arguments (CORBA::Environment &ACE_TRY_ENV)
- ACE_THROW_SPEC ((CORBA::SystemException))
-{
- // Generate the argument list on demand.
- Dynamic::ParameterList *parameter_list =
- TAO_RequestInfo_Util::make_parameter_list (ACE_TRY_ENV);
- ACE_CHECK_RETURN (0);
-
- Dynamic::ParameterList_var safe_parameter_list = parameter_list;
-
- CORBA::ULong length_id = parameter_list->length ();
- parameter_list->length (length_id + 1);
- (*parameter_list)[length_id].argument <<= id_;
- (*parameter_list)[length_id].mode = Dynamic::PARAM_IN;
-
- CORBA::ULong length_name = parameter_list->length ();
- parameter_list->length (length_name + 1);
- (*parameter_list)[length_name].argument <<= name_;
- (*parameter_list)[length_name].mode = Dynamic::PARAM_IN;
-
- CORBA::ULong length_version = parameter_list->length ();
- parameter_list->length (length_version + 1);
- (*parameter_list)[length_version].argument <<= version_;
- (*parameter_list)[length_version].mode = Dynamic::PARAM_IN;
-
- CORBA::ULong length_members = parameter_list->length ();
- parameter_list->length (length_members + 1);
- (*parameter_list)[length_members].argument <<= this->members_;
-
- (*parameter_list)[length_members].mode = Dynamic::PARAM_IN;
-
- return safe_parameter_list._retn ();
-}
-
-Dynamic::ExceptionList *
-POA_IR::Container::TAO_ServerRequestInfo_IR_Container_create_struct::exceptions (CORBA::Environment &ACE_TRY_ENV)
- ACE_THROW_SPEC ((CORBA::SystemException))
-{
- // Generate the exception list on demand.
- Dynamic::ExceptionList *exception_list =
- TAO_RequestInfo_Util::make_exception_list (ACE_TRY_ENV);
- ACE_CHECK_RETURN (0);
-
- return exception_list;
-}
-
-CORBA::Any *
-POA_IR::Container::TAO_ServerRequestInfo_IR_Container_create_struct::result (CORBA::Environment &ACE_TRY_ENV)
- ACE_THROW_SPEC ((CORBA::SystemException))
-{
- // Generate the result on demand.
- CORBA::Boolean tk_void_any = 0;
- CORBA::Any *result_any =
- TAO_RequestInfo_Util::make_any (tk_void_any, ACE_TRY_ENV);
- ACE_CHECK_RETURN (0);
-
- CORBA::Any_var safe_result_any = result_any;
-
- (*result_any) <<= this->_result;
-
- return safe_result_any._retn ();
-}
-
-char *
-POA_IR::Container::TAO_ServerRequestInfo_IR_Container_create_struct::target_most_derived_interface (
- CORBA::Environment &)
- ACE_THROW_SPEC ((CORBA::SystemException))
-{
- return
- CORBA::string_dup (this->_tao_impl->_interface_repository_id ());
-}
-
-CORBA::Boolean
-POA_IR::Container::TAO_ServerRequestInfo_IR_Container_create_struct::target_is_a (
- const char * id,
- CORBA::Environment &ACE_TRY_ENV)
- ACE_THROW_SPEC ((CORBA::SystemException))
-{
- return this->_tao_impl->_is_a (id, ACE_TRY_ENV);
-}
-
-void
-POA_IR::Container::TAO_ServerRequestInfo_IR_Container_create_struct::result (IR::StructDef_ptr result)
-{
- // Update the result.
- this->_result = result;
-}
-
-POA_IR::Container::TAO_ServerRequestInfo_IR_Container_create_union::TAO_ServerRequestInfo_IR_Container_create_union (
- TAO_ServerRequest &_tao_server_request,
- POA_IR::Container *tao_impl,
- const char * id,
- const char * name,
- const char * version,
- IR_IDLType_ptr discriminator_type,
- const IR_UnionMemberSeq & members,
- CORBA::Environment &
- )
- : TAO_ServerRequestInfo (_tao_server_request),
- _tao_impl (tao_impl),
- id_ (id),
- name_ (name),
- version_ (version),
- discriminator_type_ (discriminator_type),
- members_ (members)
-{}
-
-Dynamic::ParameterList *
-POA_IR::Container::TAO_ServerRequestInfo_IR_Container_create_union::arguments (CORBA::Environment &ACE_TRY_ENV)
- ACE_THROW_SPEC ((CORBA::SystemException))
-{
- // Generate the argument list on demand.
- Dynamic::ParameterList *parameter_list =
- TAO_RequestInfo_Util::make_parameter_list (ACE_TRY_ENV);
- ACE_CHECK_RETURN (0);
-
- Dynamic::ParameterList_var safe_parameter_list = parameter_list;
-
- CORBA::ULong length_id = parameter_list->length ();
- parameter_list->length (length_id + 1);
- (*parameter_list)[length_id].argument <<= id_;
- (*parameter_list)[length_id].mode = Dynamic::PARAM_IN;
-
- CORBA::ULong length_name = parameter_list->length ();
- parameter_list->length (length_name + 1);
- (*parameter_list)[length_name].argument <<= name_;
- (*parameter_list)[length_name].mode = Dynamic::PARAM_IN;
-
- CORBA::ULong length_version = parameter_list->length ();
- parameter_list->length (length_version + 1);
- (*parameter_list)[length_version].argument <<= version_;
- (*parameter_list)[length_version].mode = Dynamic::PARAM_IN;
-
- CORBA::ULong length_discriminator_type = parameter_list->length ();
- parameter_list->length (length_discriminator_type + 1);
- (*parameter_list)[length_discriminator_type].argument <<= this->discriminator_type_;
-
- (*parameter_list)[length_discriminator_type].mode = Dynamic::PARAM_IN;
-
- CORBA::ULong length_members = parameter_list->length ();
- parameter_list->length (length_members + 1);
- (*parameter_list)[length_members].argument <<= this->members_;
-
- (*parameter_list)[length_members].mode = Dynamic::PARAM_IN;
-
- return safe_parameter_list._retn ();
-}
-
-Dynamic::ExceptionList *
-POA_IR::Container::TAO_ServerRequestInfo_IR_Container_create_union::exceptions (CORBA::Environment &ACE_TRY_ENV)
- ACE_THROW_SPEC ((CORBA::SystemException))
-{
- // Generate the exception list on demand.
- Dynamic::ExceptionList *exception_list =
- TAO_RequestInfo_Util::make_exception_list (ACE_TRY_ENV);
- ACE_CHECK_RETURN (0);
-
- return exception_list;
-}
-
-CORBA::Any *
-POA_IR::Container::TAO_ServerRequestInfo_IR_Container_create_union::result (CORBA::Environment &ACE_TRY_ENV)
- ACE_THROW_SPEC ((CORBA::SystemException))
-{
- // Generate the result on demand.
- CORBA::Boolean tk_void_any = 0;
- CORBA::Any *result_any =
- TAO_RequestInfo_Util::make_any (tk_void_any, ACE_TRY_ENV);
- ACE_CHECK_RETURN (0);
-
- CORBA::Any_var safe_result_any = result_any;
-
- (*result_any) <<= this->_result;
-
- return safe_result_any._retn ();
-}
-
-char *
-POA_IR::Container::TAO_ServerRequestInfo_IR_Container_create_union::target_most_derived_interface (
- CORBA::Environment &)
- ACE_THROW_SPEC ((CORBA::SystemException))
-{
- return
- CORBA::string_dup (this->_tao_impl->_interface_repository_id ());
-}
-
-CORBA::Boolean
-POA_IR::Container::TAO_ServerRequestInfo_IR_Container_create_union::target_is_a (
- const char * id,
- CORBA::Environment &ACE_TRY_ENV)
- ACE_THROW_SPEC ((CORBA::SystemException))
-{
- return this->_tao_impl->_is_a (id, ACE_TRY_ENV);
-}
-
-void
-POA_IR::Container::TAO_ServerRequestInfo_IR_Container_create_union::result (IR::UnionDef_ptr result)
-{
- // Update the result.
- this->_result = result;
-}
-
-POA_IR::Container::TAO_ServerRequestInfo_IR_Container_create_enum::TAO_ServerRequestInfo_IR_Container_create_enum (
- TAO_ServerRequest &_tao_server_request,
- POA_IR::Container *tao_impl,
- const char * id,
- const char * name,
- const char * version,
- const IR_EnumMemberSeq & members,
- CORBA::Environment &
- )
- : TAO_ServerRequestInfo (_tao_server_request),
- _tao_impl (tao_impl),
- id_ (id),
- name_ (name),
- version_ (version),
- members_ (members)
-{}
-
-Dynamic::ParameterList *
-POA_IR::Container::TAO_ServerRequestInfo_IR_Container_create_enum::arguments (CORBA::Environment &ACE_TRY_ENV)
- ACE_THROW_SPEC ((CORBA::SystemException))
-{
- // Generate the argument list on demand.
- Dynamic::ParameterList *parameter_list =
- TAO_RequestInfo_Util::make_parameter_list (ACE_TRY_ENV);
- ACE_CHECK_RETURN (0);
-
- Dynamic::ParameterList_var safe_parameter_list = parameter_list;
-
- CORBA::ULong length_id = parameter_list->length ();
- parameter_list->length (length_id + 1);
- (*parameter_list)[length_id].argument <<= id_;
- (*parameter_list)[length_id].mode = Dynamic::PARAM_IN;
-
- CORBA::ULong length_name = parameter_list->length ();
- parameter_list->length (length_name + 1);
- (*parameter_list)[length_name].argument <<= name_;
- (*parameter_list)[length_name].mode = Dynamic::PARAM_IN;
-
- CORBA::ULong length_version = parameter_list->length ();
- parameter_list->length (length_version + 1);
- (*parameter_list)[length_version].argument <<= version_;
- (*parameter_list)[length_version].mode = Dynamic::PARAM_IN;
-
- CORBA::ULong length_members = parameter_list->length ();
- parameter_list->length (length_members + 1);
- (*parameter_list)[length_members].argument <<= this->members_;
-
- (*parameter_list)[length_members].mode = Dynamic::PARAM_IN;
-
- return safe_parameter_list._retn ();
-}
-
-Dynamic::ExceptionList *
-POA_IR::Container::TAO_ServerRequestInfo_IR_Container_create_enum::exceptions (CORBA::Environment &ACE_TRY_ENV)
- ACE_THROW_SPEC ((CORBA::SystemException))
-{
- // Generate the exception list on demand.
- Dynamic::ExceptionList *exception_list =
- TAO_RequestInfo_Util::make_exception_list (ACE_TRY_ENV);
- ACE_CHECK_RETURN (0);
-
- return exception_list;
-}
-
-CORBA::Any *
-POA_IR::Container::TAO_ServerRequestInfo_IR_Container_create_enum::result (CORBA::Environment &ACE_TRY_ENV)
- ACE_THROW_SPEC ((CORBA::SystemException))
-{
- // Generate the result on demand.
- CORBA::Boolean tk_void_any = 0;
- CORBA::Any *result_any =
- TAO_RequestInfo_Util::make_any (tk_void_any, ACE_TRY_ENV);
- ACE_CHECK_RETURN (0);
-
- CORBA::Any_var safe_result_any = result_any;
-
- (*result_any) <<= this->_result;
-
- return safe_result_any._retn ();
-}
-
-char *
-POA_IR::Container::TAO_ServerRequestInfo_IR_Container_create_enum::target_most_derived_interface (
- CORBA::Environment &)
- ACE_THROW_SPEC ((CORBA::SystemException))
-{
- return
- CORBA::string_dup (this->_tao_impl->_interface_repository_id ());
-}
-
-CORBA::Boolean
-POA_IR::Container::TAO_ServerRequestInfo_IR_Container_create_enum::target_is_a (
- const char * id,
- CORBA::Environment &ACE_TRY_ENV)
- ACE_THROW_SPEC ((CORBA::SystemException))
-{
- return this->_tao_impl->_is_a (id, ACE_TRY_ENV);
-}
-
-void
-POA_IR::Container::TAO_ServerRequestInfo_IR_Container_create_enum::result (IR::EnumDef_ptr result)
-{
- // Update the result.
- this->_result = result;
-}
-
-POA_IR::Container::TAO_ServerRequestInfo_IR_Container_create_alias::TAO_ServerRequestInfo_IR_Container_create_alias (
- TAO_ServerRequest &_tao_server_request,
- POA_IR::Container *tao_impl,
- const char * id,
- const char * name,
- const char * version,
- IR_IDLType_ptr original_type,
- CORBA::Environment &
- )
- : TAO_ServerRequestInfo (_tao_server_request),
- _tao_impl (tao_impl),
- id_ (id),
- name_ (name),
- version_ (version),
- original_type_ (original_type)
-{}
-
-Dynamic::ParameterList *
-POA_IR::Container::TAO_ServerRequestInfo_IR_Container_create_alias::arguments (CORBA::Environment &ACE_TRY_ENV)
- ACE_THROW_SPEC ((CORBA::SystemException))
-{
- // Generate the argument list on demand.
- Dynamic::ParameterList *parameter_list =
- TAO_RequestInfo_Util::make_parameter_list (ACE_TRY_ENV);
- ACE_CHECK_RETURN (0);
-
- Dynamic::ParameterList_var safe_parameter_list = parameter_list;
-
- CORBA::ULong length_id = parameter_list->length ();
- parameter_list->length (length_id + 1);
- (*parameter_list)[length_id].argument <<= id_;
- (*parameter_list)[length_id].mode = Dynamic::PARAM_IN;
-
- CORBA::ULong length_name = parameter_list->length ();
- parameter_list->length (length_name + 1);
- (*parameter_list)[length_name].argument <<= name_;
- (*parameter_list)[length_name].mode = Dynamic::PARAM_IN;
-
- CORBA::ULong length_version = parameter_list->length ();
- parameter_list->length (length_version + 1);
- (*parameter_list)[length_version].argument <<= version_;
- (*parameter_list)[length_version].mode = Dynamic::PARAM_IN;
-
- CORBA::ULong length_original_type = parameter_list->length ();
- parameter_list->length (length_original_type + 1);
- (*parameter_list)[length_original_type].argument <<= this->original_type_;
-
- (*parameter_list)[length_original_type].mode = Dynamic::PARAM_IN;
-
- return safe_parameter_list._retn ();
-}
-
-Dynamic::ExceptionList *
-POA_IR::Container::TAO_ServerRequestInfo_IR_Container_create_alias::exceptions (CORBA::Environment &ACE_TRY_ENV)
- ACE_THROW_SPEC ((CORBA::SystemException))
-{
- // Generate the exception list on demand.
- Dynamic::ExceptionList *exception_list =
- TAO_RequestInfo_Util::make_exception_list (ACE_TRY_ENV);
- ACE_CHECK_RETURN (0);
-
- return exception_list;
-}
-
-CORBA::Any *
-POA_IR::Container::TAO_ServerRequestInfo_IR_Container_create_alias::result (CORBA::Environment &ACE_TRY_ENV)
- ACE_THROW_SPEC ((CORBA::SystemException))
-{
- // Generate the result on demand.
- CORBA::Boolean tk_void_any = 0;
- CORBA::Any *result_any =
- TAO_RequestInfo_Util::make_any (tk_void_any, ACE_TRY_ENV);
- ACE_CHECK_RETURN (0);
-
- CORBA::Any_var safe_result_any = result_any;
-
- (*result_any) <<= this->_result;
-
- return safe_result_any._retn ();
-}
-
-char *
-POA_IR::Container::TAO_ServerRequestInfo_IR_Container_create_alias::target_most_derived_interface (
- CORBA::Environment &)
- ACE_THROW_SPEC ((CORBA::SystemException))
-{
- return
- CORBA::string_dup (this->_tao_impl->_interface_repository_id ());
-}
-
-CORBA::Boolean
-POA_IR::Container::TAO_ServerRequestInfo_IR_Container_create_alias::target_is_a (
- const char * id,
- CORBA::Environment &ACE_TRY_ENV)
- ACE_THROW_SPEC ((CORBA::SystemException))
-{
- return this->_tao_impl->_is_a (id, ACE_TRY_ENV);
-}
-
-void
-POA_IR::Container::TAO_ServerRequestInfo_IR_Container_create_alias::result (IR::AliasDef_ptr result)
-{
- // Update the result.
- this->_result = result;
-}
-
-POA_IR::Container::TAO_ServerRequestInfo_IR_Container_create_interface::TAO_ServerRequestInfo_IR_Container_create_interface (
- TAO_ServerRequest &_tao_server_request,
- POA_IR::Container *tao_impl,
- const char * id,
- const char * name,
- const char * version,
- const IR_InterfaceDefSeq & base_interfaces,
- const CORBA::Boolean & is_abstract,
- const CORBA::Boolean & is_local,
- CORBA::Environment &
- )
- : TAO_ServerRequestInfo (_tao_server_request),
- _tao_impl (tao_impl),
- id_ (id),
- name_ (name),
- version_ (version),
- base_interfaces_ (base_interfaces),
- is_abstract_ (is_abstract),
- is_local_ (is_local)
-{}
-
-Dynamic::ParameterList *
-POA_IR::Container::TAO_ServerRequestInfo_IR_Container_create_interface::arguments (CORBA::Environment &ACE_TRY_ENV)
- ACE_THROW_SPEC ((CORBA::SystemException))
-{
- // Generate the argument list on demand.
- Dynamic::ParameterList *parameter_list =
- TAO_RequestInfo_Util::make_parameter_list (ACE_TRY_ENV);
- ACE_CHECK_RETURN (0);
-
- Dynamic::ParameterList_var safe_parameter_list = parameter_list;
-
- CORBA::ULong length_id = parameter_list->length ();
- parameter_list->length (length_id + 1);
- (*parameter_list)[length_id].argument <<= id_;
- (*parameter_list)[length_id].mode = Dynamic::PARAM_IN;
-
- CORBA::ULong length_name = parameter_list->length ();
- parameter_list->length (length_name + 1);
- (*parameter_list)[length_name].argument <<= name_;
- (*parameter_list)[length_name].mode = Dynamic::PARAM_IN;
-
- CORBA::ULong length_version = parameter_list->length ();
- parameter_list->length (length_version + 1);
- (*parameter_list)[length_version].argument <<= version_;
- (*parameter_list)[length_version].mode = Dynamic::PARAM_IN;
-
- CORBA::ULong length_base_interfaces = parameter_list->length ();
- parameter_list->length (length_base_interfaces + 1);
- (*parameter_list)[length_base_interfaces].argument <<= this->base_interfaces_;
-
- (*parameter_list)[length_base_interfaces].mode = Dynamic::PARAM_IN;
-
- CORBA::ULong length_is_abstract = parameter_list->length ();
- parameter_list->length (length_is_abstract + 1);
- (*parameter_list)[length_is_abstract].argument <<= CORBA::Any::from_boolean (this->is_abstract_);
- (*parameter_list)[length_is_abstract].mode = Dynamic::PARAM_IN;
-
- CORBA::ULong length_is_local = parameter_list->length ();
- parameter_list->length (length_is_local + 1);
- (*parameter_list)[length_is_local].argument <<= CORBA::Any::from_boolean (this->is_local_);
- (*parameter_list)[length_is_local].mode = Dynamic::PARAM_IN;
-
- return safe_parameter_list._retn ();
-}
-
-Dynamic::ExceptionList *
-POA_IR::Container::TAO_ServerRequestInfo_IR_Container_create_interface::exceptions (CORBA::Environment &ACE_TRY_ENV)
- ACE_THROW_SPEC ((CORBA::SystemException))
-{
- // Generate the exception list on demand.
- Dynamic::ExceptionList *exception_list =
- TAO_RequestInfo_Util::make_exception_list (ACE_TRY_ENV);
- ACE_CHECK_RETURN (0);
-
- return exception_list;
-}
-
-CORBA::Any *
-POA_IR::Container::TAO_ServerRequestInfo_IR_Container_create_interface::result (CORBA::Environment &ACE_TRY_ENV)
- ACE_THROW_SPEC ((CORBA::SystemException))
-{
- // Generate the result on demand.
- CORBA::Boolean tk_void_any = 0;
- CORBA::Any *result_any =
- TAO_RequestInfo_Util::make_any (tk_void_any, ACE_TRY_ENV);
- ACE_CHECK_RETURN (0);
-
- CORBA::Any_var safe_result_any = result_any;
-
- (*result_any) <<= this->_result;
-
- return safe_result_any._retn ();
-}
-
-char *
-POA_IR::Container::TAO_ServerRequestInfo_IR_Container_create_interface::target_most_derived_interface (
- CORBA::Environment &)
- ACE_THROW_SPEC ((CORBA::SystemException))
-{
- return
- CORBA::string_dup (this->_tao_impl->_interface_repository_id ());
-}
-
-CORBA::Boolean
-POA_IR::Container::TAO_ServerRequestInfo_IR_Container_create_interface::target_is_a (
- const char * id,
- CORBA::Environment &ACE_TRY_ENV)
- ACE_THROW_SPEC ((CORBA::SystemException))
-{
- return this->_tao_impl->_is_a (id, ACE_TRY_ENV);
-}
-
-void
-POA_IR::Container::TAO_ServerRequestInfo_IR_Container_create_interface::result (IR::InterfaceDef_ptr result)
-{
- // Update the result.
- this->_result = result;
-}
-
-POA_IR::Container::TAO_ServerRequestInfo_IR_Container_create_value::TAO_ServerRequestInfo_IR_Container_create_value (
- TAO_ServerRequest &_tao_server_request,
- POA_IR::Container *tao_impl,
- const char * id,
- const char * name,
- const char * version,
- const CORBA::Boolean & is_custom,
- const CORBA::Boolean & is_abstract,
- IR_ValueDef_ptr base_value,
- const CORBA::Boolean & is_truncatable,
- const IR_ValueDefSeq & abstract_base_values,
- const IR_InterfaceDefSeq & supported_interfaces,
- const IR_InitializerSeq & initializers,
- CORBA::Environment &
- )
- : TAO_ServerRequestInfo (_tao_server_request),
- _tao_impl (tao_impl),
- id_ (id),
- name_ (name),
- version_ (version),
- is_custom_ (is_custom),
- is_abstract_ (is_abstract),
- base_value_ (base_value),
- is_truncatable_ (is_truncatable),
- abstract_base_values_ (abstract_base_values),
- supported_interfaces_ (supported_interfaces),
- initializers_ (initializers)
-{}
-
-Dynamic::ParameterList *
-POA_IR::Container::TAO_ServerRequestInfo_IR_Container_create_value::arguments (CORBA::Environment &ACE_TRY_ENV)
- ACE_THROW_SPEC ((CORBA::SystemException))
-{
- // Generate the argument list on demand.
- Dynamic::ParameterList *parameter_list =
- TAO_RequestInfo_Util::make_parameter_list (ACE_TRY_ENV);
- ACE_CHECK_RETURN (0);
-
- Dynamic::ParameterList_var safe_parameter_list = parameter_list;
-
- CORBA::ULong length_id = parameter_list->length ();
- parameter_list->length (length_id + 1);
- (*parameter_list)[length_id].argument <<= id_;
- (*parameter_list)[length_id].mode = Dynamic::PARAM_IN;
-
- CORBA::ULong length_name = parameter_list->length ();
- parameter_list->length (length_name + 1);
- (*parameter_list)[length_name].argument <<= name_;
- (*parameter_list)[length_name].mode = Dynamic::PARAM_IN;
-
- CORBA::ULong length_version = parameter_list->length ();
- parameter_list->length (length_version + 1);
- (*parameter_list)[length_version].argument <<= version_;
- (*parameter_list)[length_version].mode = Dynamic::PARAM_IN;
-
- CORBA::ULong length_is_custom = parameter_list->length ();
- parameter_list->length (length_is_custom + 1);
- (*parameter_list)[length_is_custom].argument <<= CORBA::Any::from_boolean (this->is_custom_);
- (*parameter_list)[length_is_custom].mode = Dynamic::PARAM_IN;
-
- CORBA::ULong length_is_abstract = parameter_list->length ();
- parameter_list->length (length_is_abstract + 1);
- (*parameter_list)[length_is_abstract].argument <<= CORBA::Any::from_boolean (this->is_abstract_);
- (*parameter_list)[length_is_abstract].mode = Dynamic::PARAM_IN;
-
- CORBA::ULong length_base_value = parameter_list->length ();
- parameter_list->length (length_base_value + 1);
- (*parameter_list)[length_base_value].argument <<= this->base_value_;
-
- (*parameter_list)[length_base_value].mode = Dynamic::PARAM_IN;
-
- CORBA::ULong length_is_truncatable = parameter_list->length ();
- parameter_list->length (length_is_truncatable + 1);
- (*parameter_list)[length_is_truncatable].argument <<= CORBA::Any::from_boolean (this->is_truncatable_);
- (*parameter_list)[length_is_truncatable].mode = Dynamic::PARAM_IN;
-
- CORBA::ULong length_abstract_base_values = parameter_list->length ();
- parameter_list->length (length_abstract_base_values + 1);
- (*parameter_list)[length_abstract_base_values].argument <<= this->abstract_base_values_;
-
- (*parameter_list)[length_abstract_base_values].mode = Dynamic::PARAM_IN;
-
- CORBA::ULong length_supported_interfaces = parameter_list->length ();
- parameter_list->length (length_supported_interfaces + 1);
- (*parameter_list)[length_supported_interfaces].argument <<= this->supported_interfaces_;
-
- (*parameter_list)[length_supported_interfaces].mode = Dynamic::PARAM_IN;
-
- CORBA::ULong length_initializers = parameter_list->length ();
- parameter_list->length (length_initializers + 1);
- (*parameter_list)[length_initializers].argument <<= this->initializers_;
-
- (*parameter_list)[length_initializers].mode = Dynamic::PARAM_IN;
-
- return safe_parameter_list._retn ();
-}
-
-Dynamic::ExceptionList *
-POA_IR::Container::TAO_ServerRequestInfo_IR_Container_create_value::exceptions (CORBA::Environment &ACE_TRY_ENV)
- ACE_THROW_SPEC ((CORBA::SystemException))
-{
- // Generate the exception list on demand.
- Dynamic::ExceptionList *exception_list =
- TAO_RequestInfo_Util::make_exception_list (ACE_TRY_ENV);
- ACE_CHECK_RETURN (0);
-
- return exception_list;
-}
-
-CORBA::Any *
-POA_IR::Container::TAO_ServerRequestInfo_IR_Container_create_value::result (CORBA::Environment &ACE_TRY_ENV)
- ACE_THROW_SPEC ((CORBA::SystemException))
-{
- // Generate the result on demand.
- CORBA::Boolean tk_void_any = 0;
- CORBA::Any *result_any =
- TAO_RequestInfo_Util::make_any (tk_void_any, ACE_TRY_ENV);
- ACE_CHECK_RETURN (0);
-
- CORBA::Any_var safe_result_any = result_any;
-
- (*result_any) <<= this->_result;
-
- return safe_result_any._retn ();
-}
-
-char *
-POA_IR::Container::TAO_ServerRequestInfo_IR_Container_create_value::target_most_derived_interface (
- CORBA::Environment &)
- ACE_THROW_SPEC ((CORBA::SystemException))
-{
- return
- CORBA::string_dup (this->_tao_impl->_interface_repository_id ());
-}
-
-CORBA::Boolean
-POA_IR::Container::TAO_ServerRequestInfo_IR_Container_create_value::target_is_a (
- const char * id,
- CORBA::Environment &ACE_TRY_ENV)
- ACE_THROW_SPEC ((CORBA::SystemException))
-{
- return this->_tao_impl->_is_a (id, ACE_TRY_ENV);
-}
-
-void
-POA_IR::Container::TAO_ServerRequestInfo_IR_Container_create_value::result (IR::ValueDef_ptr result)
-{
- // Update the result.
- this->_result = result;
-}
-
-POA_IR::Container::TAO_ServerRequestInfo_IR_Container_create_value_box::TAO_ServerRequestInfo_IR_Container_create_value_box (
- TAO_ServerRequest &_tao_server_request,
- POA_IR::Container *tao_impl,
- const char * id,
- const char * name,
- const char * version,
- IR_IDLType_ptr original_type_def,
- CORBA::Environment &
- )
- : TAO_ServerRequestInfo (_tao_server_request),
- _tao_impl (tao_impl),
- id_ (id),
- name_ (name),
- version_ (version),
- original_type_def_ (original_type_def)
-{}
-
-Dynamic::ParameterList *
-POA_IR::Container::TAO_ServerRequestInfo_IR_Container_create_value_box::arguments (CORBA::Environment &ACE_TRY_ENV)
- ACE_THROW_SPEC ((CORBA::SystemException))
-{
- // Generate the argument list on demand.
- Dynamic::ParameterList *parameter_list =
- TAO_RequestInfo_Util::make_parameter_list (ACE_TRY_ENV);
- ACE_CHECK_RETURN (0);
-
- Dynamic::ParameterList_var safe_parameter_list = parameter_list;
-
- CORBA::ULong length_id = parameter_list->length ();
- parameter_list->length (length_id + 1);
- (*parameter_list)[length_id].argument <<= id_;
- (*parameter_list)[length_id].mode = Dynamic::PARAM_IN;
-
- CORBA::ULong length_name = parameter_list->length ();
- parameter_list->length (length_name + 1);
- (*parameter_list)[length_name].argument <<= name_;
- (*parameter_list)[length_name].mode = Dynamic::PARAM_IN;
-
- CORBA::ULong length_version = parameter_list->length ();
- parameter_list->length (length_version + 1);
- (*parameter_list)[length_version].argument <<= version_;
- (*parameter_list)[length_version].mode = Dynamic::PARAM_IN;
-
- CORBA::ULong length_original_type_def = parameter_list->length ();
- parameter_list->length (length_original_type_def + 1);
- (*parameter_list)[length_original_type_def].argument <<= this->original_type_def_;
-
- (*parameter_list)[length_original_type_def].mode = Dynamic::PARAM_IN;
-
- return safe_parameter_list._retn ();
-}
-
-Dynamic::ExceptionList *
-POA_IR::Container::TAO_ServerRequestInfo_IR_Container_create_value_box::exceptions (CORBA::Environment &ACE_TRY_ENV)
- ACE_THROW_SPEC ((CORBA::SystemException))
-{
- // Generate the exception list on demand.
- Dynamic::ExceptionList *exception_list =
- TAO_RequestInfo_Util::make_exception_list (ACE_TRY_ENV);
- ACE_CHECK_RETURN (0);
-
- return exception_list;
-}
-
-CORBA::Any *
-POA_IR::Container::TAO_ServerRequestInfo_IR_Container_create_value_box::result (CORBA::Environment &ACE_TRY_ENV)
- ACE_THROW_SPEC ((CORBA::SystemException))
-{
- // Generate the result on demand.
- CORBA::Boolean tk_void_any = 0;
- CORBA::Any *result_any =
- TAO_RequestInfo_Util::make_any (tk_void_any, ACE_TRY_ENV);
- ACE_CHECK_RETURN (0);
-
- CORBA::Any_var safe_result_any = result_any;
-
- (*result_any) <<= this->_result;
-
- return safe_result_any._retn ();
-}
-
-char *
-POA_IR::Container::TAO_ServerRequestInfo_IR_Container_create_value_box::target_most_derived_interface (
- CORBA::Environment &)
- ACE_THROW_SPEC ((CORBA::SystemException))
-{
- return
- CORBA::string_dup (this->_tao_impl->_interface_repository_id ());
-}
-
-CORBA::Boolean
-POA_IR::Container::TAO_ServerRequestInfo_IR_Container_create_value_box::target_is_a (
- const char * id,
- CORBA::Environment &ACE_TRY_ENV)
- ACE_THROW_SPEC ((CORBA::SystemException))
-{
- return this->_tao_impl->_is_a (id, ACE_TRY_ENV);
-}
-
-void
-POA_IR::Container::TAO_ServerRequestInfo_IR_Container_create_value_box::result (IR::ValueBoxDef_ptr result)
-{
- // Update the result.
- this->_result = result;
-}
-
-POA_IR::Container::TAO_ServerRequestInfo_IR_Container_create_exception::TAO_ServerRequestInfo_IR_Container_create_exception (
- TAO_ServerRequest &_tao_server_request,
- POA_IR::Container *tao_impl,
- const char * id,
- const char * name,
- const char * version,
- const IR_StructMemberSeq & members,
- CORBA::Environment &
- )
- : TAO_ServerRequestInfo (_tao_server_request),
- _tao_impl (tao_impl),
- id_ (id),
- name_ (name),
- version_ (version),
- members_ (members)
-{}
-
-Dynamic::ParameterList *
-POA_IR::Container::TAO_ServerRequestInfo_IR_Container_create_exception::arguments (CORBA::Environment &ACE_TRY_ENV)
- ACE_THROW_SPEC ((CORBA::SystemException))
-{
- // Generate the argument list on demand.
- Dynamic::ParameterList *parameter_list =
- TAO_RequestInfo_Util::make_parameter_list (ACE_TRY_ENV);
- ACE_CHECK_RETURN (0);
-
- Dynamic::ParameterList_var safe_parameter_list = parameter_list;
-
- CORBA::ULong length_id = parameter_list->length ();
- parameter_list->length (length_id + 1);
- (*parameter_list)[length_id].argument <<= id_;
- (*parameter_list)[length_id].mode = Dynamic::PARAM_IN;
-
- CORBA::ULong length_name = parameter_list->length ();
- parameter_list->length (length_name + 1);
- (*parameter_list)[length_name].argument <<= name_;
- (*parameter_list)[length_name].mode = Dynamic::PARAM_IN;
-
- CORBA::ULong length_version = parameter_list->length ();
- parameter_list->length (length_version + 1);
- (*parameter_list)[length_version].argument <<= version_;
- (*parameter_list)[length_version].mode = Dynamic::PARAM_IN;
-
- CORBA::ULong length_members = parameter_list->length ();
- parameter_list->length (length_members + 1);
- (*parameter_list)[length_members].argument <<= this->members_;
-
- (*parameter_list)[length_members].mode = Dynamic::PARAM_IN;
-
- return safe_parameter_list._retn ();
-}
-
-Dynamic::ExceptionList *
-POA_IR::Container::TAO_ServerRequestInfo_IR_Container_create_exception::exceptions (CORBA::Environment &ACE_TRY_ENV)
- ACE_THROW_SPEC ((CORBA::SystemException))
-{
- // Generate the exception list on demand.
- Dynamic::ExceptionList *exception_list =
- TAO_RequestInfo_Util::make_exception_list (ACE_TRY_ENV);
- ACE_CHECK_RETURN (0);
-
- return exception_list;
-}
-
-CORBA::Any *
-POA_IR::Container::TAO_ServerRequestInfo_IR_Container_create_exception::result (CORBA::Environment &ACE_TRY_ENV)
- ACE_THROW_SPEC ((CORBA::SystemException))
-{
- // Generate the result on demand.
- CORBA::Boolean tk_void_any = 0;
- CORBA::Any *result_any =
- TAO_RequestInfo_Util::make_any (tk_void_any, ACE_TRY_ENV);
- ACE_CHECK_RETURN (0);
-
- CORBA::Any_var safe_result_any = result_any;
-
- (*result_any) <<= this->_result;
-
- return safe_result_any._retn ();
-}
-
-char *
-POA_IR::Container::TAO_ServerRequestInfo_IR_Container_create_exception::target_most_derived_interface (
- CORBA::Environment &)
- ACE_THROW_SPEC ((CORBA::SystemException))
-{
- return
- CORBA::string_dup (this->_tao_impl->_interface_repository_id ());
-}
-
-CORBA::Boolean
-POA_IR::Container::TAO_ServerRequestInfo_IR_Container_create_exception::target_is_a (
- const char * id,
- CORBA::Environment &ACE_TRY_ENV)
- ACE_THROW_SPEC ((CORBA::SystemException))
-{
- return this->_tao_impl->_is_a (id, ACE_TRY_ENV);
-}
-
-void
-POA_IR::Container::TAO_ServerRequestInfo_IR_Container_create_exception::result (IR::ExceptionDef_ptr result)
-{
- // Update the result.
- this->_result = result;
-}
-
-POA_IR::Container::TAO_ServerRequestInfo_IR_Container_create_native::TAO_ServerRequestInfo_IR_Container_create_native (
- TAO_ServerRequest &_tao_server_request,
- POA_IR::Container *tao_impl,
- const char * id,
- const char * name,
- const char * version,
- CORBA::Environment &
- )
- : TAO_ServerRequestInfo (_tao_server_request),
- _tao_impl (tao_impl),
- id_ (id),
- name_ (name),
- version_ (version)
-{}
-
-Dynamic::ParameterList *
-POA_IR::Container::TAO_ServerRequestInfo_IR_Container_create_native::arguments (CORBA::Environment &ACE_TRY_ENV)
- ACE_THROW_SPEC ((CORBA::SystemException))
-{
- // Generate the argument list on demand.
- Dynamic::ParameterList *parameter_list =
- TAO_RequestInfo_Util::make_parameter_list (ACE_TRY_ENV);
- ACE_CHECK_RETURN (0);
-
- Dynamic::ParameterList_var safe_parameter_list = parameter_list;
-
- CORBA::ULong length_id = parameter_list->length ();
- parameter_list->length (length_id + 1);
- (*parameter_list)[length_id].argument <<= id_;
- (*parameter_list)[length_id].mode = Dynamic::PARAM_IN;
-
- CORBA::ULong length_name = parameter_list->length ();
- parameter_list->length (length_name + 1);
- (*parameter_list)[length_name].argument <<= name_;
- (*parameter_list)[length_name].mode = Dynamic::PARAM_IN;
-
- CORBA::ULong length_version = parameter_list->length ();
- parameter_list->length (length_version + 1);
- (*parameter_list)[length_version].argument <<= version_;
- (*parameter_list)[length_version].mode = Dynamic::PARAM_IN;
-
- return safe_parameter_list._retn ();
-}
-
-Dynamic::ExceptionList *
-POA_IR::Container::TAO_ServerRequestInfo_IR_Container_create_native::exceptions (CORBA::Environment &ACE_TRY_ENV)
- ACE_THROW_SPEC ((CORBA::SystemException))
-{
- // Generate the exception list on demand.
- Dynamic::ExceptionList *exception_list =
- TAO_RequestInfo_Util::make_exception_list (ACE_TRY_ENV);
- ACE_CHECK_RETURN (0);
-
- return exception_list;
-}
-
-CORBA::Any *
-POA_IR::Container::TAO_ServerRequestInfo_IR_Container_create_native::result (CORBA::Environment &ACE_TRY_ENV)
- ACE_THROW_SPEC ((CORBA::SystemException))
-{
- // Generate the result on demand.
- CORBA::Boolean tk_void_any = 0;
- CORBA::Any *result_any =
- TAO_RequestInfo_Util::make_any (tk_void_any, ACE_TRY_ENV);
- ACE_CHECK_RETURN (0);
-
- CORBA::Any_var safe_result_any = result_any;
-
- (*result_any) <<= this->_result;
-
- return safe_result_any._retn ();
-}
-
-char *
-POA_IR::Container::TAO_ServerRequestInfo_IR_Container_create_native::target_most_derived_interface (
- CORBA::Environment &)
- ACE_THROW_SPEC ((CORBA::SystemException))
-{
- return
- CORBA::string_dup (this->_tao_impl->_interface_repository_id ());
-}
-
-CORBA::Boolean
-POA_IR::Container::TAO_ServerRequestInfo_IR_Container_create_native::target_is_a (
- const char * id,
- CORBA::Environment &ACE_TRY_ENV)
- ACE_THROW_SPEC ((CORBA::SystemException))
-{
- return this->_tao_impl->_is_a (id, ACE_TRY_ENV);
-}
-
-void
-POA_IR::Container::TAO_ServerRequestInfo_IR_Container_create_native::result (IR::NativeDef_ptr result)
-{
- // Update the result.
- this->_result = result;
-}
-
-#endif /* TAO_HAS_INTERCEPTORS */
-
-class TAO_IR_IDLType_Perfect_Hash_OpTable : public TAO_Perfect_Hash_OpTable
-{
-private:
- unsigned int hash (const char *str, unsigned int len);
-public:
- const TAO_operation_db_entry * lookup (const char *str, unsigned int len);
-};
-/* starting time is 11:23:09 */
-/* C++ code produced by gperf version 2.8 (ACE version) */
-/* Command-line: gperf -m -M -J -c -C -D -E -T -f 0 -F 0 -a -o -t -p -K opname_ -L C++ -Z TAO_IR_IDLType_Perfect_Hash_OpTable -N lookup */
-unsigned int
-TAO_IR_IDLType_Perfect_Hash_OpTable::hash (const char *str, unsigned int len)
-{
- static const unsigned char asso_values[] =
- {
-#if defined (ACE_MVS)
- 19, 19, 19, 19, 19, 19, 19, 19, 19, 19,
- 19, 19, 19, 19, 19, 19, 19, 19, 19, 19,
- 19, 19, 19, 19, 19, 19, 19, 19, 19, 19,
- 19, 19, 19, 19, 19, 19, 19, 19, 19, 19,
- 19, 19, 19, 19, 19, 19, 19, 19, 19, 19,
- 19, 19, 19, 19, 19, 19, 19, 19, 19, 19,
- 19, 19, 19, 19, 19, 19, 19, 19, 19, 19,
- 19, 19, 19, 19, 19, 19, 19, 19, 19, 19,
- 19, 19, 19, 19, 19, 19, 19, 19, 19, 19,
- 19, 19, 19, 19, 19, 19, 19, 19, 19, 19,
- 19, 19, 19, 19, 19, 19, 19, 19, 19, 0,
- 19, 19, 19, 19, 19, 19, 19, 19, 19, 19,
- 19, 19, 19, 19, 19, 19, 19, 19, 19, 0,
- 19, 19, 0, 0, 19, 19, 19, 19, 19, 19,
- 19, 19, 19, 19, 19, 19, 19, 19, 19, 19,
- 19, 19, 19, 19, 19, 19, 19, 19, 19, 19,
- 19, 19, 19, 5, 19, 19, 19, 19, 0, 19,
- 19, 19, 19, 19, 19, 19, 19, 19, 19, 19,
- 19, 19, 19, 19, 19, 19, 19, 19, 19, 19,
- 19, 19, 19, 19, 19, 19, 19, 19, 19, 19,
- 19, 19, 19, 19, 19, 19, 19, 19, 19, 19,
- 19, 19, 19, 19, 19, 19, 19, 19, 19, 19,
- 19, 19, 19, 19, 19, 19, 19, 19, 19, 19,
- 19, 19, 19, 19, 19, 19, 19, 19, 19, 19,
- 19, 19, 19, 19, 19, 19, 19, 19, 19, 19,
- 19, 19, 19, 19, 19, 19,
-#else
- 19, 19, 19, 19, 19, 19, 19, 19, 19, 19,
- 19, 19, 19, 19, 19, 19, 19, 19, 19, 19,
- 19, 19, 19, 19, 19, 19, 19, 19, 19, 19,
- 19, 19, 19, 19, 19, 19, 19, 19, 19, 19,
- 19, 19, 19, 19, 19, 19, 19, 19, 19, 19,
- 19, 19, 19, 19, 19, 19, 19, 19, 19, 19,
- 19, 19, 19, 19, 19, 19, 19, 19, 19, 19,
- 19, 19, 19, 19, 19, 19, 19, 19, 19, 19,
- 19, 19, 19, 19, 19, 19, 19, 19, 19, 19,
- 19, 19, 19, 19, 19, 0, 19, 0, 19, 19,
- 0, 0, 19, 19, 19, 19, 19, 19, 19, 19,
- 19, 19, 19, 19, 19, 19, 5, 19, 19, 19,
- 19, 0, 19, 19, 19, 19, 19, 19,
-#endif /* ACE_MVS */
- };
- return len + asso_values[str[len - 1]] + asso_values[str[0]];
-}
-
-const class TAO_operation_db_entry *
-TAO_IR_IDLType_Perfect_Hash_OpTable::lookup (const char *str, unsigned int len)
-{
- enum
- {
- TOTAL_KEYWORDS = 5,
- MIN_WORD_LENGTH = 5,
- MAX_WORD_LENGTH = 13,
- MIN_HASH_VALUE = 5,
- MAX_HASH_VALUE = 18,
- HASH_VALUE_RANGE = 14,
- DUPLICATES = 0
- };
-
- static const class TAO_operation_db_entry wordlist[] =
- {
- {"",0},{"",0},{"",0},{"",0},{"",0},
- {"_is_a", &POA_IR::IDLType::_is_a_skel},
- {"",0},
- {"destroy", &POA_IR::IDLType::destroy_skel},
- {"",0},
- {"_get_type", &POA_IR::IDLType::_get_type_skel},
- {"",0},{"",0},{"",0},
- {"_get_def_kind", &POA_IR::IDLType::_get_def_kind_skel},
- {"",0},{"",0},{"",0},{"",0},
- {"_non_existent", &POA_IR::IDLType::_non_existent_skel},
- };
-
- if (len <= MAX_WORD_LENGTH && len >= MIN_WORD_LENGTH)
- {
- unsigned int key = hash (str, len);
-
- if (key <= MAX_HASH_VALUE && key >= MIN_HASH_VALUE)
- {
- const char *s = wordlist[key].opname_;
-
- if (*str == *s && !strncmp (str + 1, s + 1, len - 1))
- return &wordlist[key];
- }
- }
- return 0;
-}
-/* ending time is 11:23:09 */
-static TAO_IR_IDLType_Perfect_Hash_OpTable tao_IR_IDLType_optable;
-
-///////////////////////////////////////////////////////////////////////
-// Strategized Proxy Broker Implementation
-//
-
-// Factory function Implementation.
-POA_IR::_TAO_IDLType_Strategized_Proxy_Broker *POA_IR::_TAO_IDLType_Strategized_Proxy_Broker::the_TAO_IDLType_Strategized_Proxy_Broker (void)
-{
- static POA_IR::_TAO_IDLType_Strategized_Proxy_Broker strategized_proxy_broker;
- return &strategized_proxy_broker;
-}
-
-POA_IR::_TAO_IDLType_Strategized_Proxy_Broker::_TAO_IDLType_Strategized_Proxy_Broker (void)
-{
- for (int i = 0; i < TAO_Collocation_Strategies::CS_LAST; ++i)
- this->proxy_cache_[i] = 0;
-
-}
-
-POA_IR::_TAO_IDLType_Strategized_Proxy_Broker::~_TAO_IDLType_Strategized_Proxy_Broker (void)
-{
- for (int i = 0; i < TAO_Collocation_Strategies::CS_LAST; ++i)
- delete this->proxy_cache_[i];
-
-}
-
-_TAO_IDLType_Proxy_Impl&
-POA_IR::_TAO_IDLType_Strategized_Proxy_Broker::select_proxy (
- IR_IDLType *object,
- CORBA::Environment &ACE_TRY_ENV
- )
-{
- int strategy =
- TAO_ORB_Core::collocation_strategy (object);
-
- if (this->proxy_cache_[strategy] != 0)
- return *this->proxy_cache_[strategy];
-
- this->create_proxy (strategy, ACE_TRY_ENV);
- ACE_CHECK_RETURN (*this->proxy_cache_[strategy]);
-
- return *this->proxy_cache_[strategy];
-
-}
-
-void
-POA_IR::_TAO_IDLType_Strategized_Proxy_Broker::create_proxy (
- int strategy,
- CORBA::Environment &ACE_TRY_ENV
- )
-{
- ACE_GUARD (TAO_SYNCH_MUTEX, guard, this->mutex_);
-
- if (this->proxy_cache_[strategy] == 0)
- {
- switch (strategy)
- {
- case TAO_Collocation_Strategies::CS_THRU_POA_STRATEGY:
- ACE_NEW_THROW_EX (
- this->proxy_cache_[strategy],
- _TAO_IDLType_ThruPOA_Proxy_Impl,
- CORBA::NO_MEMORY ()
- );
- ACE_CHECK;
- break;
-
- case TAO_Collocation_Strategies::CS_REMOTE_STRATEGY:
- default:
- ACE_NEW_THROW_EX (
- this->proxy_cache_[strategy],
- _TAO_IDLType_Remote_Proxy_Impl,
- CORBA::NO_MEMORY ()
- );
- ACE_CHECK;
- break;
-
- }
-
- }
-}
-
-
-//
-// End Strategized Proxy Broker Implementation
-///////////////////////////////////////////////////////////////////////
-
-
-_TAO_IDLType_Proxy_Broker *
-_TAO_IDLType_Proxy_Broker_Factory_function (CORBA::Object_ptr obj)
-{
- ACE_UNUSED_ARG (obj);
- return ::POA_IR::_TAO_IDLType_Strategized_Proxy_Broker::the_TAO_IDLType_Strategized_Proxy_Broker();
-}
-
-int
-_TAO_IDLType_Proxy_Broker_Factory_Initializer (long _dummy_)
-{
- ACE_UNUSED_ARG (_dummy_);
-
- _TAO_IDLType_Proxy_Broker_Factory_function_pointer =
- _TAO_IDLType_Proxy_Broker_Factory_function;
-
- return 0;
-}
-
-static int _TAO_IDLType_Proxy_Broker_Stub_Factory_Initializer_Scarecrow =
- _TAO_IDLType_Proxy_Broker_Factory_Initializer (ACE_reinterpret_cast (long, _TAO_IDLType_Proxy_Broker_Factory_Initializer));
-
-
-///////////////////////////////////////////////////////////////////////
-// ThruPOA Proxy Implementation
-//
-
-POA_IR::_TAO_IDLType_ThruPOA_Proxy_Impl::_TAO_IDLType_ThruPOA_Proxy_Impl (void)
-{}
-
-// ThruPOA Implementation of the IDL interface methods
-
-CORBA::TypeCode_ptr POA_IR::_TAO_IDLType_ThruPOA_Proxy_Impl::type (
- CORBA_Object *_collocated_tao_target_,
- CORBA::Environment &ACE_TRY_ENV
- )
- ACE_THROW_SPEC ((
- CORBA::SystemException
- ))
-{
- CORBA::TypeCode_var _tao_retval;
- ACE_UNUSED_ARG (_tao_retval);
- TAO_Object_Adapter::Servant_Upcall servant_upcall (
- _collocated_tao_target_->_stubobj ()->servant_orb_var ()->orb_core ()
- );
- CORBA::Object_var forward_to;
- servant_upcall.prepare_for_upcall (
- _collocated_tao_target_->_object_key (),
- "type",
- forward_to.out (),
- ACE_TRY_ENV
- );
- ACE_CHECK_RETURN (0);
- return ACE_reinterpret_cast (
- POA_IR::IDLType_ptr,
- servant_upcall.servant ()->_downcast (
- "IDL:omg.org/IR/IDLType:1.0"
- )
- )->type (
- ACE_TRY_ENV
- );
-}
-
-//
-// End ThruPOA Proxy Implementation
-///////////////////////////////////////////////////////////////////////
-
-// skeleton constructor
-POA_IR::IDLType::IDLType (void)
-{
- this->optable_ = &tao_IR_IDLType_optable;
-}
-
-// copy ctor
-POA_IR::IDLType::IDLType (const IDLType& rhs)
- : POA_CORBA_IRObject (rhs),
- TAO_ServantBase (rhs)
-{}
-
-// skeleton destructor
-POA_IR::IDLType::~IDLType (void)
-{
-}
-
-void POA_IR::IDLType::_get_type_skel (
- TAO_ServerRequest &_tao_server_request,
- void *_tao_object_reference,
- void * /* context */,
- CORBA::Environment &ACE_TRY_ENV
-)
-{
- POA_IR::IDLType *_tao_impl = (POA_IR::IDLType *)_tao_object_reference;
-
- CORBA::TypeCode_var _tao_retval;
-
-#if (TAO_HAS_INTERCEPTORS == 1)
- TAO_ServerRequestInterceptor_Adapter _tao_vfr (
- _tao_server_request.orb_core ()->server_request_interceptors (),
- _tao_server_request.interceptor_count ()
- );
-
- POA_IR::IDLType::TAO_ServerRequestInfo_IR_IDLType_type_get ri (
- _tao_server_request,
- _tao_impl,
- ACE_TRY_ENV
- );
-
- ACE_TRY
- {
- _tao_vfr.receive_request (&ri, ACE_TRY_ENV);
- ACE_TRY_CHECK;
-
-#endif /* TAO_HAS_INTERCEPTORS */
- _tao_retval =
- _tao_impl->type (
- ACE_TRY_ENV
- );
- TAO_INTERCEPTOR_CHECK;
-
-#if (TAO_HAS_INTERCEPTORS == 1)
- CORBA::TypeCode_ptr _tao_retval_info = _tao_retval._retn ();
- ri.result (_tao_retval_info);
- _tao_retval = _tao_retval_info;
- ri.reply_status (PortableInterceptor::SUCCESSFUL);
- _tao_vfr.send_reply (&ri, ACE_TRY_ENV);
- ACE_TRY_CHECK;
- }
- ACE_CATCH (PortableInterceptor::ForwardRequest, exc)
- {
- ri.forward_reference (exc);
- _tao_vfr.send_other (
- &ri,
- ACE_TRY_ENV
- );
- ACE_TRY_CHECK;
- _tao_server_request.forward_location (exc.forward.in ());
- }
- ACE_CATCHANY
- {
- ri.exception (&ACE_ANY_EXCEPTION);
- _tao_vfr.send_exception (
- &ri,
- ACE_TRY_ENV
- );
- ACE_TRY_CHECK;
- ACE_RE_THROW;
- }
- ACE_ENDTRY;
- ACE_CHECK;
-#endif /* TAO_HAS_INTERCEPTORS */
-
- _tao_server_request.init_reply ();
-
- TAO_OutputCDR &_tao_out = _tao_server_request.outgoing ();
-
- if (!(
- (_tao_out << _tao_retval.in ())
- ))
- ACE_THROW (CORBA::MARSHAL());
-
- // In case ACE_TRY_ENV is not used in this function
- ACE_UNUSED_ARG (ACE_TRY_ENV);
-}
-
-void POA_IR::IDLType::_is_a_skel (
- TAO_ServerRequest &_tao_server_request,
- void * _tao_object_reference,
- void * /* context */,
- CORBA::Environment &ACE_TRY_ENV
- )
-{
- TAO_InputCDR &_tao_in = _tao_server_request.incoming ();
- POA_IR::IDLType *_tao_impl = (POA_IR::IDLType *) _tao_object_reference;
- CORBA::Boolean _tao_retval = 0;
- CORBA::String_var value;
- if (!((_tao_in >> value.out ())))
- ACE_THROW (CORBA::MARSHAL ());
-
- _tao_retval = _tao_impl->_is_a (value.in (), ACE_TRY_ENV);
- ACE_CHECK;
-
- _tao_server_request.init_reply ();
- TAO_OutputCDR &_tao_out = _tao_server_request.outgoing ();
- if (!((_tao_out << CORBA::Any::from_boolean (_tao_retval))))
- ACE_THROW (CORBA::MARSHAL ());
-}
-
-void POA_IR::IDLType::_non_existent_skel (
- TAO_ServerRequest &_tao_server_request,
- void * _tao_object_reference,
- void * /* context */,
- CORBA::Environment &ACE_TRY_ENV
- )
-{
- POA_IR::IDLType *_tao_impl = (POA_IR::IDLType *) _tao_object_reference;
- CORBA::Boolean _tao_retval = _tao_impl->_non_existent (ACE_TRY_ENV);
- ACE_CHECK;
-
- _tao_server_request.init_reply ();
- TAO_OutputCDR &_tao_out = _tao_server_request.outgoing ();
- if (!((_tao_out << CORBA::Any::from_boolean (_tao_retval))))
- ACE_THROW (CORBA::MARSHAL ());
-}
-
-CORBA::Boolean POA_IR::IDLType::_is_a (
- const char* value,
- CORBA::Environment &ACE_TRY_ENV
- )
-{
- if (
- (!ACE_OS::strcmp ((char *)value, "IDL:omg.org/IR/IDLType:1.0")) ||
- (!ACE_OS::strcmp ((char *)value, "IDL:omg.org/CORBA/IRObject:1.0")) ||
- (!ACE_OS::strcmp ((char *)value, CORBA::_tc_Object->id (ACE_TRY_ENV))))
- return 1;
- else
- return 0;
-}
-
-void* POA_IR::IDLType::_downcast (
- const char* logical_type_id
- )
-{
- if (ACE_OS::strcmp (logical_type_id, "IDL:omg.org/IR/IDLType:1.0") == 0)
- return ACE_static_cast (POA_IR::IDLType_ptr, this);
- if (ACE_OS::strcmp (logical_type_id, "IDL:omg.org/CORBA/IRObject:1.0") == 0)
- return ACE_static_cast (POA_CORBA_IRObject_ptr, this);
- if (ACE_OS::strcmp (logical_type_id, "IDL:omg.org/CORBA/Object:1.0") == 0)
- return ACE_static_cast(PortableServer::Servant, this);
- return 0;
-}
-
-void POA_IR::IDLType::_dispatch (TAO_ServerRequest &req, void *context, CORBA::Environment &ACE_TRY_ENV)
-{
- this->synchronous_upcall_dispatch(req, context, this, ACE_TRY_ENV);
-}
-
-const char* POA_IR::IDLType::_interface_repository_id (void) const
-{
- return "IDL:omg.org/IR/IDLType:1.0";
-}
-
-IR::IDLType*
-POA_IR::IDLType::_this (CORBA_Environment &ACE_TRY_ENV)
-{
- TAO_Stub *stub = this->_create_stub (ACE_TRY_ENV);
- ACE_CHECK_RETURN (0);
-
- CORBA::Object_ptr tmp = CORBA::Object::_nil ();
-
- if (stub->servant_orb_var ()->orb_core ()->optimize_collocation_objects ())
- ACE_NEW_RETURN (tmp, CORBA::Object (stub, 1, this), 0);
- else
- ACE_NEW_RETURN (tmp, CORBA::Object (stub, 0, this), 0);
-
- CORBA::Object_var obj = tmp;
- return IR_IDLType::_unchecked_narrow (obj.in ());
-}
-
-#if (TAO_HAS_INTERCEPTORS == 1)
-POA_IR::IDLType::TAO_ServerRequestInfo_IR_IDLType_type_get::TAO_ServerRequestInfo_IR_IDLType_type_get (
- TAO_ServerRequest &_tao_server_request,
- POA_IR::IDLType *tao_impl,
- CORBA::Environment &
- )
- : TAO_ServerRequestInfo (_tao_server_request),
- _tao_impl (tao_impl)
-{}
-
-Dynamic::ParameterList *
-POA_IR::IDLType::TAO_ServerRequestInfo_IR_IDLType_type_get::arguments (CORBA::Environment &ACE_TRY_ENV)
- ACE_THROW_SPEC ((CORBA::SystemException))
-{
- // Generate the argument list on demand.
- Dynamic::ParameterList *parameter_list =
- TAO_RequestInfo_Util::make_parameter_list (ACE_TRY_ENV);
- ACE_CHECK_RETURN (0);
-
- return parameter_list;
-}
-
-Dynamic::ExceptionList *
-POA_IR::IDLType::TAO_ServerRequestInfo_IR_IDLType_type_get::exceptions (CORBA::Environment &ACE_TRY_ENV)
- ACE_THROW_SPEC ((CORBA::SystemException))
-{
- // Generate the exception list on demand.
- Dynamic::ExceptionList *exception_list =
- TAO_RequestInfo_Util::make_exception_list (ACE_TRY_ENV);
- ACE_CHECK_RETURN (0);
-
- return exception_list;
-}
-
-CORBA::Any *
-POA_IR::IDLType::TAO_ServerRequestInfo_IR_IDLType_type_get::result (CORBA::Environment &ACE_TRY_ENV)
- ACE_THROW_SPEC ((CORBA::SystemException))
-{
- // Generate the result on demand.
- CORBA::Boolean tk_void_any = 0;
- CORBA::Any *result_any =
- TAO_RequestInfo_Util::make_any (tk_void_any, ACE_TRY_ENV);
- ACE_CHECK_RETURN (0);
-
- CORBA::Any_var safe_result_any = result_any;
-
- (*result_any) <<= this->_result;
-
- return safe_result_any._retn ();
-}
-
-char *
-POA_IR::IDLType::TAO_ServerRequestInfo_IR_IDLType_type_get::target_most_derived_interface (
- CORBA::Environment &)
- ACE_THROW_SPEC ((CORBA::SystemException))
-{
- return
- CORBA::string_dup (this->_tao_impl->_interface_repository_id ());
-}
-
-CORBA::Boolean
-POA_IR::IDLType::TAO_ServerRequestInfo_IR_IDLType_type_get::target_is_a (
- const char * id,
- CORBA::Environment &ACE_TRY_ENV)
- ACE_THROW_SPEC ((CORBA::SystemException))
-{
- return this->_tao_impl->_is_a (id, ACE_TRY_ENV);
-}
-
-void
-POA_IR::IDLType::TAO_ServerRequestInfo_IR_IDLType_type_get::result (CORBA::TypeCode_ptr result)
-{
- // Update the result.
- this->_result = result;
-}
-
-#endif /* TAO_HAS_INTERCEPTORS */
-
-class TAO_IR_Repository_Perfect_Hash_OpTable : public TAO_Perfect_Hash_OpTable
-{
-private:
- unsigned int hash (const char *str, unsigned int len);
-public:
- const TAO_operation_db_entry * lookup (const char *str, unsigned int len);
-};
-/* starting time is 11:23:09 */
-/* C++ code produced by gperf version 2.8 (ACE version) */
-/* Command-line: gperf -m -M -J -c -C -D -E -T -f 0 -F 0 -a -o -t -p -K opname_ -L C++ -Z TAO_IR_Repository_Perfect_Hash_OpTable -N lookup */
-unsigned int
-TAO_IR_Repository_Perfect_Hash_OpTable::hash (const char *str, unsigned int len)
-{
- static const unsigned char asso_values[] =
- {
-#if defined (ACE_MVS)
- 71, 71, 71, 71, 71, 71, 71, 71, 71, 71,
- 71, 71, 71, 71, 71, 71, 71, 71, 71, 71,
- 71, 71, 71, 71, 71, 71, 71, 71, 71, 71,
- 71, 71, 71, 71, 71, 71, 71, 71, 71, 71,
- 71, 71, 71, 71, 71, 71, 71, 71, 71, 71,
- 71, 71, 71, 71, 71, 71, 71, 71, 71, 71,
- 71, 71, 71, 71, 71, 71, 71, 71, 71, 71,
- 71, 71, 71, 71, 71, 71, 71, 71, 71, 71,
- 71, 71, 71, 71, 71, 71, 71, 71, 71, 71,
- 71, 71, 71, 71, 71, 71, 71, 71, 71, 71,
- 71, 71, 71, 71, 71, 71, 71, 71, 71, 20,
- 71, 71, 71, 71, 71, 71, 71, 71, 71, 71,
- 71, 71, 71, 71, 71, 71, 71, 71, 71, 15,
- 71, 0, 23, 10, 71, 5, 71, 71, 71, 71,
- 71, 71, 71, 71, 71, 71, 71, 0, 0, 15,
- 71, 0, 71, 71, 71, 71, 71, 71, 71, 71,
- 71, 71, 30, 0, 71, 71, 71, 0, 0, 71,
- 71, 71, 71, 71, 71, 71, 71, 71, 71, 71,
- 71, 71, 71, 71, 71, 71, 71, 71, 71, 71,
- 71, 71, 71, 71, 71, 71, 71, 71, 71, 71,
- 71, 71, 71, 71, 71, 71, 71, 71, 71, 71,
- 71, 71, 71, 71, 71, 71, 71, 71, 71, 71,
- 71, 71, 71, 71, 71, 71, 71, 71, 71, 71,
- 71, 71, 71, 71, 71, 71, 71, 71, 71, 71,
- 71, 71, 71, 71, 71, 71, 71, 71, 71, 71,
- 71, 71, 71, 71, 71, 71,
-#else
- 71, 71, 71, 71, 71, 71, 71, 71, 71, 71,
- 71, 71, 71, 71, 71, 71, 71, 71, 71, 71,
- 71, 71, 71, 71, 71, 71, 71, 71, 71, 71,
- 71, 71, 71, 71, 71, 71, 71, 71, 71, 71,
- 71, 71, 71, 71, 71, 71, 71, 71, 71, 71,
- 71, 71, 71, 71, 71, 71, 71, 71, 71, 71,
- 71, 71, 71, 71, 71, 71, 71, 71, 71, 71,
- 71, 71, 71, 71, 71, 71, 71, 71, 71, 71,
- 71, 71, 71, 71, 71, 71, 71, 71, 71, 71,
- 71, 71, 71, 71, 71, 20, 71, 15, 71, 0,
- 23, 10, 71, 5, 71, 71, 71, 71, 0, 0,
- 15, 71, 0, 71, 71, 30, 0, 71, 71, 71,
- 0, 0, 71, 71, 71, 71, 71, 71,
-#endif /* ACE_MVS */
- };
- return len + asso_values[str[len - 1]] + asso_values[str[0]];
-}
-
-const class TAO_operation_db_entry *
-TAO_IR_Repository_Perfect_Hash_OpTable::lookup (const char *str, unsigned int len)
-{
- enum
- {
- TOTAL_KEYWORDS = 27,
- MIN_WORD_LENGTH = 5,
- MAX_WORD_LENGTH = 22,
- MIN_HASH_VALUE = 6,
- MAX_HASH_VALUE = 70,
- HASH_VALUE_RANGE = 65,
- DUPLICATES = 2
- };
-
- static const class TAO_operation_db_entry wordlist[] =
- {
- {"",0},{"",0},{"",0},{"",0},{"",0},{"",0},
- {"lookup", &POA_IR::Repository::lookup_skel},
- {"create_enum", &POA_IR::Repository::create_enum_skel},
- {"create_array", &POA_IR::Repository::create_array_skel},
- {"create_struct", &POA_IR::Repository::create_struct_skel},
- {"create_constant", &POA_IR::Repository::create_constant_skel},
- {"create_value_box", &POA_IR::Repository::create_value_box_skel},
- {"create_string", &POA_IR::Repository::create_string_skel},
- {"create_wstring", &POA_IR::Repository::create_wstring_skel},
- {"lookup_name", &POA_IR::Repository::lookup_name_skel},
- {"create_value", &POA_IR::Repository::create_value_skel},
- {"create_module", &POA_IR::Repository::create_module_skel},
- {"create_native", &POA_IR::Repository::create_native_skel},
- {"create_sequence", &POA_IR::Repository::create_sequence_skel},
- {"create_interface", &POA_IR::Repository::create_interface_skel},
- {"create_union", &POA_IR::Repository::create_union_skel},
- {"get_primitive", &POA_IR::Repository::get_primitive_skel},
- {"destroy", &POA_IR::Repository::destroy_skel},
- {"create_exception", &POA_IR::Repository::create_exception_skel},
- {"lookup_id", &POA_IR::Repository::lookup_id_skel},
- {"_non_existent", &POA_IR::Repository::_non_existent_skel},
- {"create_fixed", &POA_IR::Repository::create_fixed_skel},
- {"get_canonical_typecode", &POA_IR::Repository::get_canonical_typecode_skel},
- {"contents", &POA_IR::Repository::contents_skel},
- {"_is_a", &POA_IR::Repository::_is_a_skel},
- {"create_alias", &POA_IR::Repository::create_alias_skel},
- {"_get_def_kind", &POA_IR::Repository::_get_def_kind_skel},
- {"describe_contents", &POA_IR::Repository::describe_contents_skel},
- };
-
- static const signed char lookup[] =
- {
- -1, -1, -1, -1, -1, -1, 6, -1, -1, -16, -2, 7, 8, 9,
- -1, 10, 11, -1, 12, 13, -1, 14, 15, -84, -1, 18, 19, 20,
- 21, -1, 22, 23, 24, 25, -1, 26, -1, 27, 28, -1, 29, -1,
- 30, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1,
- 31, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1,
- 32,
- };
-
- if (len <= MAX_WORD_LENGTH && len >= MIN_WORD_LENGTH)
- {
- unsigned int key = hash (str, len);
-
- if (key <= MAX_HASH_VALUE && key >= MIN_HASH_VALUE)
- {
- int slot = lookup[key];
-
- if (slot >= 0 && slot < MAX_HASH_VALUE)
- {
- const char *s = wordlist[slot].opname_;
-
- if (*str == *s && !strncmp (str + 1, s + 1, len - 1))
- return &wordlist[slot];
- }
- else if (slot < 0 && slot >= -MAX_HASH_VALUE)
- return 0;
- else
- {
- unsigned int offset = key + slot + (slot > 0 ? -MAX_HASH_VALUE : MAX_HASH_VALUE);
- const class TAO_operation_db_entry *base = &wordlist[-lookup[offset]];
- const class TAO_operation_db_entry *ptr = base + -lookup[offset + 1];
-
- while (--ptr >= base)
- if (*str == *ptr->opname_ && !strncmp (str + 1, ptr->opname_ + 1, len - 1))
- return ptr;
- }
- }
- }
- return 0;
-}
-/* ending time is 11:23:09 */
-static TAO_IR_Repository_Perfect_Hash_OpTable tao_IR_Repository_optable;
-
-///////////////////////////////////////////////////////////////////////
-// Strategized Proxy Broker Implementation
-//
-
-// Factory function Implementation.
-POA_IR::_TAO_Repository_Strategized_Proxy_Broker *POA_IR::_TAO_Repository_Strategized_Proxy_Broker::the_TAO_Repository_Strategized_Proxy_Broker (void)
-{
- static POA_IR::_TAO_Repository_Strategized_Proxy_Broker strategized_proxy_broker;
- return &strategized_proxy_broker;
-}
-
-POA_IR::_TAO_Repository_Strategized_Proxy_Broker::_TAO_Repository_Strategized_Proxy_Broker (void)
-{
- for (int i = 0; i < TAO_Collocation_Strategies::CS_LAST; ++i)
- this->proxy_cache_[i] = 0;
-
-}
-
-POA_IR::_TAO_Repository_Strategized_Proxy_Broker::~_TAO_Repository_Strategized_Proxy_Broker (void)
-{
- for (int i = 0; i < TAO_Collocation_Strategies::CS_LAST; ++i)
- delete this->proxy_cache_[i];
-
-}
-
-_TAO_Repository_Proxy_Impl&
-POA_IR::_TAO_Repository_Strategized_Proxy_Broker::select_proxy (
- IR_Repository *object,
- CORBA::Environment &ACE_TRY_ENV
- )
-{
- int strategy =
- TAO_ORB_Core::collocation_strategy (object);
-
- if (this->proxy_cache_[strategy] != 0)
- return *this->proxy_cache_[strategy];
-
- this->create_proxy (strategy, ACE_TRY_ENV);
- ACE_CHECK_RETURN (*this->proxy_cache_[strategy]);
-
- return *this->proxy_cache_[strategy];
-
-}
-
-void
-POA_IR::_TAO_Repository_Strategized_Proxy_Broker::create_proxy (
- int strategy,
- CORBA::Environment &ACE_TRY_ENV
- )
-{
- ACE_GUARD (TAO_SYNCH_MUTEX, guard, this->mutex_);
-
- if (this->proxy_cache_[strategy] == 0)
- {
- switch (strategy)
- {
- case TAO_Collocation_Strategies::CS_THRU_POA_STRATEGY:
- ACE_NEW_THROW_EX (
- this->proxy_cache_[strategy],
- _TAO_Repository_ThruPOA_Proxy_Impl,
- CORBA::NO_MEMORY ()
- );
- ACE_CHECK;
- break;
-
- case TAO_Collocation_Strategies::CS_REMOTE_STRATEGY:
- default:
- ACE_NEW_THROW_EX (
- this->proxy_cache_[strategy],
- _TAO_Repository_Remote_Proxy_Impl,
- CORBA::NO_MEMORY ()
- );
- ACE_CHECK;
- break;
-
- }
-
- }
-}
-
-
-//
-// End Strategized Proxy Broker Implementation
-///////////////////////////////////////////////////////////////////////
-
-
-_TAO_Repository_Proxy_Broker *
-_TAO_Repository_Proxy_Broker_Factory_function (CORBA::Object_ptr obj)
-{
- ACE_UNUSED_ARG (obj);
- return ::POA_IR::_TAO_Repository_Strategized_Proxy_Broker::the_TAO_Repository_Strategized_Proxy_Broker();
-}
-
-int
-_TAO_Repository_Proxy_Broker_Factory_Initializer (long _dummy_)
-{
- ACE_UNUSED_ARG (_dummy_);
-
- _TAO_Repository_Proxy_Broker_Factory_function_pointer =
- _TAO_Repository_Proxy_Broker_Factory_function;
-
- return 0;
-}
-
-static int _TAO_Repository_Proxy_Broker_Stub_Factory_Initializer_Scarecrow =
- _TAO_Repository_Proxy_Broker_Factory_Initializer (ACE_reinterpret_cast (long, _TAO_Repository_Proxy_Broker_Factory_Initializer));
-
-
-///////////////////////////////////////////////////////////////////////
-// ThruPOA Proxy Implementation
-//
-
-POA_IR::_TAO_Repository_ThruPOA_Proxy_Impl::_TAO_Repository_ThruPOA_Proxy_Impl (void)
-{}
-
-// ThruPOA Implementation of the IDL interface methods
-
-IR::Contained_ptr POA_IR::_TAO_Repository_ThruPOA_Proxy_Impl::lookup_id (
- CORBA_Object *_collocated_tao_target_,
- const char * search_id,
- CORBA::Environment &ACE_TRY_ENV
- )
- ACE_THROW_SPEC ((
- CORBA::SystemException
- ))
-{
- IR_Contained_var _tao_retval;
- ACE_UNUSED_ARG (_tao_retval);
- TAO_Object_Adapter::Servant_Upcall servant_upcall (
- _collocated_tao_target_->_stubobj ()->servant_orb_var ()->orb_core ()
- );
- CORBA::Object_var forward_to;
- servant_upcall.prepare_for_upcall (
- _collocated_tao_target_->_object_key (),
- "lookup_id",
- forward_to.out (),
- ACE_TRY_ENV
- );
- ACE_CHECK_RETURN (0);
- return ACE_reinterpret_cast (
- POA_IR::Repository_ptr,
- servant_upcall.servant ()->_downcast (
- "IDL:omg.org/IR/Repository:1.0"
- )
- )->lookup_id (
- search_id,
- ACE_TRY_ENV
- );
-}
-
-CORBA::TypeCode_ptr POA_IR::_TAO_Repository_ThruPOA_Proxy_Impl::get_canonical_typecode (
- CORBA_Object *_collocated_tao_target_,
- CORBA::TypeCode_ptr tc,
- CORBA::Environment &ACE_TRY_ENV
- )
- ACE_THROW_SPEC ((
- CORBA::SystemException
- ))
-{
- CORBA::TypeCode_var _tao_retval;
- ACE_UNUSED_ARG (_tao_retval);
- TAO_Object_Adapter::Servant_Upcall servant_upcall (
- _collocated_tao_target_->_stubobj ()->servant_orb_var ()->orb_core ()
- );
- CORBA::Object_var forward_to;
- servant_upcall.prepare_for_upcall (
- _collocated_tao_target_->_object_key (),
- "get_canonical_typecode",
- forward_to.out (),
- ACE_TRY_ENV
- );
- ACE_CHECK_RETURN (0);
- return ACE_reinterpret_cast (
- POA_IR::Repository_ptr,
- servant_upcall.servant ()->_downcast (
- "IDL:omg.org/IR/Repository:1.0"
- )
- )->get_canonical_typecode (
- tc,
- ACE_TRY_ENV
- );
-}
-
-IR_PrimitiveDef_ptr POA_IR::_TAO_Repository_ThruPOA_Proxy_Impl::get_primitive (
- CORBA_Object *_collocated_tao_target_,
- IR_PrimitiveKind kind,
- CORBA::Environment &ACE_TRY_ENV
- )
- ACE_THROW_SPEC ((
- CORBA::SystemException
- ))
-{
- IR_PrimitiveDef_var _tao_retval;
- ACE_UNUSED_ARG (_tao_retval);
- TAO_Object_Adapter::Servant_Upcall servant_upcall (
- _collocated_tao_target_->_stubobj ()->servant_orb_var ()->orb_core ()
- );
- CORBA::Object_var forward_to;
- servant_upcall.prepare_for_upcall (
- _collocated_tao_target_->_object_key (),
- "get_primitive",
- forward_to.out (),
- ACE_TRY_ENV
- );
- ACE_CHECK_RETURN (0);
- return ACE_reinterpret_cast (
- POA_IR::Repository_ptr,
- servant_upcall.servant ()->_downcast (
- "IDL:omg.org/IR/Repository:1.0"
- )
- )->get_primitive (
- kind,
- ACE_TRY_ENV
- );
-}
-
-IR_StringDef_ptr POA_IR::_TAO_Repository_ThruPOA_Proxy_Impl::create_string (
- CORBA_Object *_collocated_tao_target_,
- CORBA::ULong bound,
- CORBA::Environment &ACE_TRY_ENV
- )
- ACE_THROW_SPEC ((
- CORBA::SystemException
- ))
-{
- IR_StringDef_var _tao_retval;
- ACE_UNUSED_ARG (_tao_retval);
- TAO_Object_Adapter::Servant_Upcall servant_upcall (
- _collocated_tao_target_->_stubobj ()->servant_orb_var ()->orb_core ()
- );
- CORBA::Object_var forward_to;
- servant_upcall.prepare_for_upcall (
- _collocated_tao_target_->_object_key (),
- "create_string",
- forward_to.out (),
- ACE_TRY_ENV
- );
- ACE_CHECK_RETURN (0);
- return ACE_reinterpret_cast (
- POA_IR::Repository_ptr,
- servant_upcall.servant ()->_downcast (
- "IDL:omg.org/IR/Repository:1.0"
- )
- )->create_string (
- bound,
- ACE_TRY_ENV
- );
-}
-
-IR_WstringDef_ptr POA_IR::_TAO_Repository_ThruPOA_Proxy_Impl::create_wstring (
- CORBA_Object *_collocated_tao_target_,
- CORBA::ULong bound,
- CORBA::Environment &ACE_TRY_ENV
- )
- ACE_THROW_SPEC ((
- CORBA::SystemException
- ))
-{
- IR_WstringDef_var _tao_retval;
- ACE_UNUSED_ARG (_tao_retval);
- TAO_Object_Adapter::Servant_Upcall servant_upcall (
- _collocated_tao_target_->_stubobj ()->servant_orb_var ()->orb_core ()
- );
- CORBA::Object_var forward_to;
- servant_upcall.prepare_for_upcall (
- _collocated_tao_target_->_object_key (),
- "create_wstring",
- forward_to.out (),
- ACE_TRY_ENV
- );
- ACE_CHECK_RETURN (0);
- return ACE_reinterpret_cast (
- POA_IR::Repository_ptr,
- servant_upcall.servant ()->_downcast (
- "IDL:omg.org/IR/Repository:1.0"
- )
- )->create_wstring (
- bound,
- ACE_TRY_ENV
- );
-}
-
-IR_SequenceDef_ptr POA_IR::_TAO_Repository_ThruPOA_Proxy_Impl::create_sequence (
- CORBA_Object *_collocated_tao_target_,
- CORBA::ULong bound,
- IR_IDLType_ptr element_type,
- CORBA::Environment &ACE_TRY_ENV
- )
- ACE_THROW_SPEC ((
- CORBA::SystemException
- ))
-{
- IR_SequenceDef_var _tao_retval;
- ACE_UNUSED_ARG (_tao_retval);
- TAO_Object_Adapter::Servant_Upcall servant_upcall (
- _collocated_tao_target_->_stubobj ()->servant_orb_var ()->orb_core ()
- );
- CORBA::Object_var forward_to;
- servant_upcall.prepare_for_upcall (
- _collocated_tao_target_->_object_key (),
- "create_sequence",
- forward_to.out (),
- ACE_TRY_ENV
- );
- ACE_CHECK_RETURN (0);
- return ACE_reinterpret_cast (
- POA_IR::Repository_ptr,
- servant_upcall.servant ()->_downcast (
- "IDL:omg.org/IR/Repository:1.0"
- )
- )->create_sequence (
- bound,
- element_type,
- ACE_TRY_ENV
- );
-}
-
-IR_ArrayDef_ptr POA_IR::_TAO_Repository_ThruPOA_Proxy_Impl::create_array (
- CORBA_Object *_collocated_tao_target_,
- CORBA::ULong length,
- IR_IDLType_ptr element_type,
- CORBA::Environment &ACE_TRY_ENV
- )
- ACE_THROW_SPEC ((
- CORBA::SystemException
- ))
-{
- IR_ArrayDef_var _tao_retval;
- ACE_UNUSED_ARG (_tao_retval);
- TAO_Object_Adapter::Servant_Upcall servant_upcall (
- _collocated_tao_target_->_stubobj ()->servant_orb_var ()->orb_core ()
- );
- CORBA::Object_var forward_to;
- servant_upcall.prepare_for_upcall (
- _collocated_tao_target_->_object_key (),
- "create_array",
- forward_to.out (),
- ACE_TRY_ENV
- );
- ACE_CHECK_RETURN (0);
- return ACE_reinterpret_cast (
- POA_IR::Repository_ptr,
- servant_upcall.servant ()->_downcast (
- "IDL:omg.org/IR/Repository:1.0"
- )
- )->create_array (
- length,
- element_type,
- ACE_TRY_ENV
- );
-}
-
-IR_FixedDef_ptr POA_IR::_TAO_Repository_ThruPOA_Proxy_Impl::create_fixed (
- CORBA_Object *_collocated_tao_target_,
- CORBA::UShort digits,
- CORBA::Short scale,
- CORBA::Environment &ACE_TRY_ENV
- )
- ACE_THROW_SPEC ((
- CORBA::SystemException
- ))
-{
- IR_FixedDef_var _tao_retval;
- ACE_UNUSED_ARG (_tao_retval);
- TAO_Object_Adapter::Servant_Upcall servant_upcall (
- _collocated_tao_target_->_stubobj ()->servant_orb_var ()->orb_core ()
- );
- CORBA::Object_var forward_to;
- servant_upcall.prepare_for_upcall (
- _collocated_tao_target_->_object_key (),
- "create_fixed",
- forward_to.out (),
- ACE_TRY_ENV
- );
- ACE_CHECK_RETURN (0);
- return ACE_reinterpret_cast (
- POA_IR::Repository_ptr,
- servant_upcall.servant ()->_downcast (
- "IDL:omg.org/IR/Repository:1.0"
- )
- )->create_fixed (
- digits,
- scale,
- ACE_TRY_ENV
- );
-}
-
-//
-// End ThruPOA Proxy Implementation
-///////////////////////////////////////////////////////////////////////
-
-// skeleton constructor
-POA_IR::Repository::Repository (void)
-{
- this->optable_ = &tao_IR_Repository_optable;
-}
-
-// copy ctor
-POA_IR::Repository::Repository (const Repository& rhs)
- : ACE_NESTED_CLASS (POA_IR,Container) (rhs),
- POA_CORBA_IRObject (rhs),
- TAO_ServantBase (rhs)
-{}
-
-// skeleton destructor
-POA_IR::Repository::~Repository (void)
-{
-}
-
-void POA_IR::Repository::lookup_id_skel (
- TAO_ServerRequest &_tao_server_request,
- void *_tao_object_reference,
- void * /* context */,
- CORBA::Environment &ACE_TRY_ENV
-)
-{
- TAO_InputCDR &_tao_in = _tao_server_request.incoming ();
- POA_IR::Repository *_tao_impl = (POA_IR::Repository *)_tao_object_reference;
-
- IR_Contained_var _tao_retval;
- CORBA::String_var search_id;
- if (!(
- (_tao_in >> search_id.out ())
- ))
- ACE_THROW (CORBA::MARSHAL () );
-
-#if (TAO_HAS_INTERCEPTORS == 1)
- TAO_ServerRequestInterceptor_Adapter _tao_vfr (
- _tao_server_request.orb_core ()->server_request_interceptors (),
- _tao_server_request.interceptor_count ()
- );
-
- POA_IR::Repository::TAO_ServerRequestInfo_IR_Repository_lookup_id ri (
- _tao_server_request,
- _tao_impl,
- search_id.in (),
- ACE_TRY_ENV
- );
-
- ACE_TRY
- {
- _tao_vfr.receive_request (&ri, ACE_TRY_ENV);
- ACE_TRY_CHECK;
-
-#endif /* TAO_HAS_INTERCEPTORS */
- _tao_retval =
- _tao_impl->lookup_id (
- search_id.in (),
- ACE_TRY_ENV
- );
- TAO_INTERCEPTOR_CHECK;
-
-#if (TAO_HAS_INTERCEPTORS == 1)
- IR_Contained_ptr _tao_retval_info = _tao_retval._retn ();
- ri.result (_tao_retval_info);
- _tao_retval = _tao_retval_info;
- ri.reply_status (PortableInterceptor::SUCCESSFUL);
- _tao_vfr.send_reply (&ri, ACE_TRY_ENV);
- ACE_TRY_CHECK;
- }
- ACE_CATCH (PortableInterceptor::ForwardRequest, exc)
- {
- ri.forward_reference (exc);
- _tao_vfr.send_other (
- &ri,
- ACE_TRY_ENV
- );
- ACE_TRY_CHECK;
- _tao_server_request.forward_location (exc.forward.in ());
- }
- ACE_CATCHANY
- {
- ri.exception (&ACE_ANY_EXCEPTION);
- _tao_vfr.send_exception (
- &ri,
- ACE_TRY_ENV
- );
- ACE_TRY_CHECK;
- ACE_RE_THROW;
- }
- ACE_ENDTRY;
- ACE_CHECK;
-#endif /* TAO_HAS_INTERCEPTORS */
-
- _tao_server_request.init_reply ();
-
- TAO_OutputCDR &_tao_out = _tao_server_request.outgoing ();
-
- if (!(
- (_tao_out << _tao_retval.in ())
- ))
- ACE_THROW (CORBA::MARSHAL());
-
- // In case ACE_TRY_ENV is not used in this function
- ACE_UNUSED_ARG (ACE_TRY_ENV);
-}
-
-void POA_IR::Repository::get_canonical_typecode_skel (
- TAO_ServerRequest &_tao_server_request,
- void *_tao_object_reference,
- void * /* context */,
- CORBA::Environment &ACE_TRY_ENV
-)
-{
- TAO_InputCDR &_tao_in = _tao_server_request.incoming ();
- POA_IR::Repository *_tao_impl = (POA_IR::Repository *)_tao_object_reference;
-
- CORBA::TypeCode_var _tao_retval;
- CORBA::TypeCode_var tc;
- if (!(
- (_tao_in >> tc.out ())
- ))
- ACE_THROW (CORBA::MARSHAL () );
-
-#if (TAO_HAS_INTERCEPTORS == 1)
- TAO_ServerRequestInterceptor_Adapter _tao_vfr (
- _tao_server_request.orb_core ()->server_request_interceptors (),
- _tao_server_request.interceptor_count ()
- );
-
- POA_IR::Repository::TAO_ServerRequestInfo_IR_Repository_get_canonical_typecode ri (
- _tao_server_request,
- _tao_impl,
- tc.in (),
- ACE_TRY_ENV
- );
-
- ACE_TRY
- {
- _tao_vfr.receive_request (&ri, ACE_TRY_ENV);
- ACE_TRY_CHECK;
-
-#endif /* TAO_HAS_INTERCEPTORS */
- _tao_retval =
- _tao_impl->get_canonical_typecode (
- tc.in (),
- ACE_TRY_ENV
- );
- TAO_INTERCEPTOR_CHECK;
-
-#if (TAO_HAS_INTERCEPTORS == 1)
- CORBA::TypeCode_ptr _tao_retval_info = _tao_retval._retn ();
- ri.result (_tao_retval_info);
- _tao_retval = _tao_retval_info;
- ri.reply_status (PortableInterceptor::SUCCESSFUL);
- _tao_vfr.send_reply (&ri, ACE_TRY_ENV);
- ACE_TRY_CHECK;
- }
- ACE_CATCH (PortableInterceptor::ForwardRequest, exc)
- {
- ri.forward_reference (exc);
- _tao_vfr.send_other (
- &ri,
- ACE_TRY_ENV
- );
- ACE_TRY_CHECK;
- _tao_server_request.forward_location (exc.forward.in ());
- }
- ACE_CATCHANY
- {
- ri.exception (&ACE_ANY_EXCEPTION);
- _tao_vfr.send_exception (
- &ri,
- ACE_TRY_ENV
- );
- ACE_TRY_CHECK;
- ACE_RE_THROW;
- }
- ACE_ENDTRY;
- ACE_CHECK;
-#endif /* TAO_HAS_INTERCEPTORS */
-
- _tao_server_request.init_reply ();
-
- TAO_OutputCDR &_tao_out = _tao_server_request.outgoing ();
-
- if (!(
- (_tao_out << _tao_retval.in ())
- ))
- ACE_THROW (CORBA::MARSHAL());
-
- // In case ACE_TRY_ENV is not used in this function
- ACE_UNUSED_ARG (ACE_TRY_ENV);
-}
-
-void POA_IR::Repository::get_primitive_skel (
- TAO_ServerRequest &_tao_server_request,
- void *_tao_object_reference,
- void * /* context */,
- CORBA::Environment &ACE_TRY_ENV
-)
-{
- TAO_InputCDR &_tao_in = _tao_server_request.incoming ();
- POA_IR::Repository *_tao_impl = (POA_IR::Repository *)_tao_object_reference;
-
- IR_PrimitiveDef_var _tao_retval;
- IR_PrimitiveKind kind;
- if (!(
- (_tao_in >> kind)
- ))
- ACE_THROW (CORBA::MARSHAL () );
-
-#if (TAO_HAS_INTERCEPTORS == 1)
- TAO_ServerRequestInterceptor_Adapter _tao_vfr (
- _tao_server_request.orb_core ()->server_request_interceptors (),
- _tao_server_request.interceptor_count ()
- );
-
- POA_IR::Repository::TAO_ServerRequestInfo_IR_Repository_get_primitive ri (
- _tao_server_request,
- _tao_impl,
- kind,
- ACE_TRY_ENV
- );
-
- ACE_TRY
- {
- _tao_vfr.receive_request (&ri, ACE_TRY_ENV);
- ACE_TRY_CHECK;
-
-#endif /* TAO_HAS_INTERCEPTORS */
- _tao_retval =
- _tao_impl->get_primitive (
- kind,
- ACE_TRY_ENV
- );
- TAO_INTERCEPTOR_CHECK;
-
-#if (TAO_HAS_INTERCEPTORS == 1)
- IR_PrimitiveDef_ptr _tao_retval_info = _tao_retval._retn ();
- ri.result (_tao_retval_info);
- _tao_retval = _tao_retval_info;
- ri.reply_status (PortableInterceptor::SUCCESSFUL);
- _tao_vfr.send_reply (&ri, ACE_TRY_ENV);
- ACE_TRY_CHECK;
- }
- ACE_CATCH (PortableInterceptor::ForwardRequest, exc)
- {
- ri.forward_reference (exc);
- _tao_vfr.send_other (
- &ri,
- ACE_TRY_ENV
- );
- ACE_TRY_CHECK;
- _tao_server_request.forward_location (exc.forward.in ());
- }
- ACE_CATCHANY
- {
- ri.exception (&ACE_ANY_EXCEPTION);
- _tao_vfr.send_exception (
- &ri,
- ACE_TRY_ENV
- );
- ACE_TRY_CHECK;
- ACE_RE_THROW;
- }
- ACE_ENDTRY;
- ACE_CHECK;
-#endif /* TAO_HAS_INTERCEPTORS */
-
- _tao_server_request.init_reply ();
-
- TAO_OutputCDR &_tao_out = _tao_server_request.outgoing ();
-
- if (!(
- (_tao_out << _tao_retval.in ())
- ))
- ACE_THROW (CORBA::MARSHAL());
-
- // In case ACE_TRY_ENV is not used in this function
- ACE_UNUSED_ARG (ACE_TRY_ENV);
-}
-
-void POA_IR::Repository::create_string_skel (
- TAO_ServerRequest &_tao_server_request,
- void *_tao_object_reference,
- void * /* context */,
- CORBA::Environment &ACE_TRY_ENV
-)
-{
- TAO_InputCDR &_tao_in = _tao_server_request.incoming ();
- POA_IR::Repository *_tao_impl = (POA_IR::Repository *)_tao_object_reference;
-
- IR_StringDef_var _tao_retval;
- CORBA::ULong bound;
- if (!(
- (_tao_in >> bound)
- ))
- ACE_THROW (CORBA::MARSHAL () );
-
-#if (TAO_HAS_INTERCEPTORS == 1)
- TAO_ServerRequestInterceptor_Adapter _tao_vfr (
- _tao_server_request.orb_core ()->server_request_interceptors (),
- _tao_server_request.interceptor_count ()
- );
-
- POA_IR::Repository::TAO_ServerRequestInfo_IR_Repository_create_string ri (
- _tao_server_request,
- _tao_impl,
- bound,
- ACE_TRY_ENV
- );
-
- ACE_TRY
- {
- _tao_vfr.receive_request (&ri, ACE_TRY_ENV);
- ACE_TRY_CHECK;
-
-#endif /* TAO_HAS_INTERCEPTORS */
- _tao_retval =
- _tao_impl->create_string (
- bound,
- ACE_TRY_ENV
- );
- TAO_INTERCEPTOR_CHECK;
-
-#if (TAO_HAS_INTERCEPTORS == 1)
- IR_StringDef_ptr _tao_retval_info = _tao_retval._retn ();
- ri.result (_tao_retval_info);
- _tao_retval = _tao_retval_info;
- ri.reply_status (PortableInterceptor::SUCCESSFUL);
- _tao_vfr.send_reply (&ri, ACE_TRY_ENV);
- ACE_TRY_CHECK;
- }
- ACE_CATCH (PortableInterceptor::ForwardRequest, exc)
- {
- ri.forward_reference (exc);
- _tao_vfr.send_other (
- &ri,
- ACE_TRY_ENV
- );
- ACE_TRY_CHECK;
- _tao_server_request.forward_location (exc.forward.in ());
- }
- ACE_CATCHANY
- {
- ri.exception (&ACE_ANY_EXCEPTION);
- _tao_vfr.send_exception (
- &ri,
- ACE_TRY_ENV
- );
- ACE_TRY_CHECK;
- ACE_RE_THROW;
- }
- ACE_ENDTRY;
- ACE_CHECK;
-#endif /* TAO_HAS_INTERCEPTORS */
-
- _tao_server_request.init_reply ();
-
- TAO_OutputCDR &_tao_out = _tao_server_request.outgoing ();
-
- if (!(
- (_tao_out << _tao_retval.in ())
- ))
- ACE_THROW (CORBA::MARSHAL());
-
- // In case ACE_TRY_ENV is not used in this function
- ACE_UNUSED_ARG (ACE_TRY_ENV);
-}
-
-void POA_IR::Repository::create_wstring_skel (
- TAO_ServerRequest &_tao_server_request,
- void *_tao_object_reference,
- void * /* context */,
- CORBA::Environment &ACE_TRY_ENV
-)
-{
- TAO_InputCDR &_tao_in = _tao_server_request.incoming ();
- POA_IR::Repository *_tao_impl = (POA_IR::Repository *)_tao_object_reference;
-
- IR_WstringDef_var _tao_retval;
- CORBA::ULong bound;
- if (!(
- (_tao_in >> bound)
- ))
- ACE_THROW (CORBA::MARSHAL () );
-
-#if (TAO_HAS_INTERCEPTORS == 1)
- TAO_ServerRequestInterceptor_Adapter _tao_vfr (
- _tao_server_request.orb_core ()->server_request_interceptors (),
- _tao_server_request.interceptor_count ()
- );
-
- POA_IR::Repository::TAO_ServerRequestInfo_IR_Repository_create_wstring ri (
- _tao_server_request,
- _tao_impl,
- bound,
- ACE_TRY_ENV
- );
-
- ACE_TRY
- {
- _tao_vfr.receive_request (&ri, ACE_TRY_ENV);
- ACE_TRY_CHECK;
-
-#endif /* TAO_HAS_INTERCEPTORS */
- _tao_retval =
- _tao_impl->create_wstring (
- bound,
- ACE_TRY_ENV
- );
- TAO_INTERCEPTOR_CHECK;
-
-#if (TAO_HAS_INTERCEPTORS == 1)
- IR_WstringDef_ptr _tao_retval_info = _tao_retval._retn ();
- ri.result (_tao_retval_info);
- _tao_retval = _tao_retval_info;
- ri.reply_status (PortableInterceptor::SUCCESSFUL);
- _tao_vfr.send_reply (&ri, ACE_TRY_ENV);
- ACE_TRY_CHECK;
- }
- ACE_CATCH (PortableInterceptor::ForwardRequest, exc)
- {
- ri.forward_reference (exc);
- _tao_vfr.send_other (
- &ri,
- ACE_TRY_ENV
- );
- ACE_TRY_CHECK;
- _tao_server_request.forward_location (exc.forward.in ());
- }
- ACE_CATCHANY
- {
- ri.exception (&ACE_ANY_EXCEPTION);
- _tao_vfr.send_exception (
- &ri,
- ACE_TRY_ENV
- );
- ACE_TRY_CHECK;
- ACE_RE_THROW;
- }
- ACE_ENDTRY;
- ACE_CHECK;
-#endif /* TAO_HAS_INTERCEPTORS */
-
- _tao_server_request.init_reply ();
-
- TAO_OutputCDR &_tao_out = _tao_server_request.outgoing ();
-
- if (!(
- (_tao_out << _tao_retval.in ())
- ))
- ACE_THROW (CORBA::MARSHAL());
-
- // In case ACE_TRY_ENV is not used in this function
- ACE_UNUSED_ARG (ACE_TRY_ENV);
-}
-
-void POA_IR::Repository::create_sequence_skel (
- TAO_ServerRequest &_tao_server_request,
- void *_tao_object_reference,
- void * /* context */,
- CORBA::Environment &ACE_TRY_ENV
-)
-{
- TAO_InputCDR &_tao_in = _tao_server_request.incoming ();
- POA_IR::Repository *_tao_impl = (POA_IR::Repository *)_tao_object_reference;
-
- IR_SequenceDef_var _tao_retval;
- CORBA::ULong bound;
- IR_IDLType_var element_type;
- if (!(
- (_tao_in >> bound) &&
- (_tao_in >> element_type.out ())
- ))
- ACE_THROW (CORBA::MARSHAL () );
-
-#if (TAO_HAS_INTERCEPTORS == 1)
- TAO_ServerRequestInterceptor_Adapter _tao_vfr (
- _tao_server_request.orb_core ()->server_request_interceptors (),
- _tao_server_request.interceptor_count ()
- );
-
- POA_IR::Repository::TAO_ServerRequestInfo_IR_Repository_create_sequence ri (
- _tao_server_request,
- _tao_impl,
- bound,
- element_type.in (),
- ACE_TRY_ENV
- );
-
- ACE_TRY
- {
- _tao_vfr.receive_request (&ri, ACE_TRY_ENV);
- ACE_TRY_CHECK;
-
-#endif /* TAO_HAS_INTERCEPTORS */
- _tao_retval =
- _tao_impl->create_sequence (
- bound,
- element_type.in (),
- ACE_TRY_ENV
- );
- TAO_INTERCEPTOR_CHECK;
-
-#if (TAO_HAS_INTERCEPTORS == 1)
- IR_SequenceDef_ptr _tao_retval_info = _tao_retval._retn ();
- ri.result (_tao_retval_info);
- _tao_retval = _tao_retval_info;
- ri.reply_status (PortableInterceptor::SUCCESSFUL);
- _tao_vfr.send_reply (&ri, ACE_TRY_ENV);
- ACE_TRY_CHECK;
- }
- ACE_CATCH (PortableInterceptor::ForwardRequest, exc)
- {
- ri.forward_reference (exc);
- _tao_vfr.send_other (
- &ri,
- ACE_TRY_ENV
- );
- ACE_TRY_CHECK;
- _tao_server_request.forward_location (exc.forward.in ());
- }
- ACE_CATCHANY
- {
- ri.exception (&ACE_ANY_EXCEPTION);
- _tao_vfr.send_exception (
- &ri,
- ACE_TRY_ENV
- );
- ACE_TRY_CHECK;
- ACE_RE_THROW;
- }
- ACE_ENDTRY;
- ACE_CHECK;
-#endif /* TAO_HAS_INTERCEPTORS */
-
- _tao_server_request.init_reply ();
-
- TAO_OutputCDR &_tao_out = _tao_server_request.outgoing ();
-
- if (!(
- (_tao_out << _tao_retval.in ())
- ))
- ACE_THROW (CORBA::MARSHAL());
-
- // In case ACE_TRY_ENV is not used in this function
- ACE_UNUSED_ARG (ACE_TRY_ENV);
-}
-
-void POA_IR::Repository::create_array_skel (
- TAO_ServerRequest &_tao_server_request,
- void *_tao_object_reference,
- void * /* context */,
- CORBA::Environment &ACE_TRY_ENV
-)
-{
- TAO_InputCDR &_tao_in = _tao_server_request.incoming ();
- POA_IR::Repository *_tao_impl = (POA_IR::Repository *)_tao_object_reference;
-
- IR_ArrayDef_var _tao_retval;
- CORBA::ULong length;
- IR_IDLType_var element_type;
- if (!(
- (_tao_in >> length) &&
- (_tao_in >> element_type.out ())
- ))
- ACE_THROW (CORBA::MARSHAL () );
-
-#if (TAO_HAS_INTERCEPTORS == 1)
- TAO_ServerRequestInterceptor_Adapter _tao_vfr (
- _tao_server_request.orb_core ()->server_request_interceptors (),
- _tao_server_request.interceptor_count ()
- );
-
- POA_IR::Repository::TAO_ServerRequestInfo_IR_Repository_create_array ri (
- _tao_server_request,
- _tao_impl,
- length,
- element_type.in (),
- ACE_TRY_ENV
- );
-
- ACE_TRY
- {
- _tao_vfr.receive_request (&ri, ACE_TRY_ENV);
- ACE_TRY_CHECK;
-
-#endif /* TAO_HAS_INTERCEPTORS */
- _tao_retval =
- _tao_impl->create_array (
- length,
- element_type.in (),
- ACE_TRY_ENV
- );
- TAO_INTERCEPTOR_CHECK;
-
-#if (TAO_HAS_INTERCEPTORS == 1)
- IR_ArrayDef_ptr _tao_retval_info = _tao_retval._retn ();
- ri.result (_tao_retval_info);
- _tao_retval = _tao_retval_info;
- ri.reply_status (PortableInterceptor::SUCCESSFUL);
- _tao_vfr.send_reply (&ri, ACE_TRY_ENV);
- ACE_TRY_CHECK;
- }
- ACE_CATCH (PortableInterceptor::ForwardRequest, exc)
- {
- ri.forward_reference (exc);
- _tao_vfr.send_other (
- &ri,
- ACE_TRY_ENV
- );
- ACE_TRY_CHECK;
- _tao_server_request.forward_location (exc.forward.in ());
- }
- ACE_CATCHANY
- {
- ri.exception (&ACE_ANY_EXCEPTION);
- _tao_vfr.send_exception (
- &ri,
- ACE_TRY_ENV
- );
- ACE_TRY_CHECK;
- ACE_RE_THROW;
- }
- ACE_ENDTRY;
- ACE_CHECK;
-#endif /* TAO_HAS_INTERCEPTORS */
-
- _tao_server_request.init_reply ();
-
- TAO_OutputCDR &_tao_out = _tao_server_request.outgoing ();
-
- if (!(
- (_tao_out << _tao_retval.in ())
- ))
- ACE_THROW (CORBA::MARSHAL());
-
- // In case ACE_TRY_ENV is not used in this function
- ACE_UNUSED_ARG (ACE_TRY_ENV);
-}
-
-void POA_IR::Repository::create_fixed_skel (
- TAO_ServerRequest &_tao_server_request,
- void *_tao_object_reference,
- void * /* context */,
- CORBA::Environment &ACE_TRY_ENV
-)
-{
- TAO_InputCDR &_tao_in = _tao_server_request.incoming ();
- POA_IR::Repository *_tao_impl = (POA_IR::Repository *)_tao_object_reference;
-
- IR_FixedDef_var _tao_retval;
- CORBA::UShort digits;
- CORBA::Short scale;
- if (!(
- (_tao_in >> digits) &&
- (_tao_in >> scale)
- ))
- ACE_THROW (CORBA::MARSHAL () );
-
-#if (TAO_HAS_INTERCEPTORS == 1)
- TAO_ServerRequestInterceptor_Adapter _tao_vfr (
- _tao_server_request.orb_core ()->server_request_interceptors (),
- _tao_server_request.interceptor_count ()
- );
-
- POA_IR::Repository::TAO_ServerRequestInfo_IR_Repository_create_fixed ri (
- _tao_server_request,
- _tao_impl,
- digits,
- scale,
- ACE_TRY_ENV
- );
-
- ACE_TRY
- {
- _tao_vfr.receive_request (&ri, ACE_TRY_ENV);
- ACE_TRY_CHECK;
-
-#endif /* TAO_HAS_INTERCEPTORS */
- _tao_retval =
- _tao_impl->create_fixed (
- digits,
- scale,
- ACE_TRY_ENV
- );
- TAO_INTERCEPTOR_CHECK;
-
-#if (TAO_HAS_INTERCEPTORS == 1)
- IR_FixedDef_ptr _tao_retval_info = _tao_retval._retn ();
- ri.result (_tao_retval_info);
- _tao_retval = _tao_retval_info;
- ri.reply_status (PortableInterceptor::SUCCESSFUL);
- _tao_vfr.send_reply (&ri, ACE_TRY_ENV);
- ACE_TRY_CHECK;
- }
- ACE_CATCH (PortableInterceptor::ForwardRequest, exc)
- {
- ri.forward_reference (exc);
- _tao_vfr.send_other (
- &ri,
- ACE_TRY_ENV
- );
- ACE_TRY_CHECK;
- _tao_server_request.forward_location (exc.forward.in ());
- }
- ACE_CATCHANY
- {
- ri.exception (&ACE_ANY_EXCEPTION);
- _tao_vfr.send_exception (
- &ri,
- ACE_TRY_ENV
- );
- ACE_TRY_CHECK;
- ACE_RE_THROW;
- }
- ACE_ENDTRY;
- ACE_CHECK;
-#endif /* TAO_HAS_INTERCEPTORS */
-
- _tao_server_request.init_reply ();
-
- TAO_OutputCDR &_tao_out = _tao_server_request.outgoing ();
-
- if (!(
- (_tao_out << _tao_retval.in ())
- ))
- ACE_THROW (CORBA::MARSHAL());
-
- // In case ACE_TRY_ENV is not used in this function
- ACE_UNUSED_ARG (ACE_TRY_ENV);
-}
-
-void POA_IR::Repository::_is_a_skel (
- TAO_ServerRequest &_tao_server_request,
- void * _tao_object_reference,
- void * /* context */,
- CORBA::Environment &ACE_TRY_ENV
- )
-{
- TAO_InputCDR &_tao_in = _tao_server_request.incoming ();
- POA_IR::Repository *_tao_impl = (POA_IR::Repository *) _tao_object_reference;
- CORBA::Boolean _tao_retval = 0;
- CORBA::String_var value;
- if (!((_tao_in >> value.out ())))
- ACE_THROW (CORBA::MARSHAL ());
-
- _tao_retval = _tao_impl->_is_a (value.in (), ACE_TRY_ENV);
- ACE_CHECK;
-
- _tao_server_request.init_reply ();
- TAO_OutputCDR &_tao_out = _tao_server_request.outgoing ();
- if (!((_tao_out << CORBA::Any::from_boolean (_tao_retval))))
- ACE_THROW (CORBA::MARSHAL ());
-}
-
-void POA_IR::Repository::_non_existent_skel (
- TAO_ServerRequest &_tao_server_request,
- void * _tao_object_reference,
- void * /* context */,
- CORBA::Environment &ACE_TRY_ENV
- )
-{
- POA_IR::Repository *_tao_impl = (POA_IR::Repository *) _tao_object_reference;
- CORBA::Boolean _tao_retval = _tao_impl->_non_existent (ACE_TRY_ENV);
- ACE_CHECK;
-
- _tao_server_request.init_reply ();
- TAO_OutputCDR &_tao_out = _tao_server_request.outgoing ();
- if (!((_tao_out << CORBA::Any::from_boolean (_tao_retval))))
- ACE_THROW (CORBA::MARSHAL ());
-}
-
-CORBA::Boolean POA_IR::Repository::_is_a (
- const char* value,
- CORBA::Environment &ACE_TRY_ENV
- )
-{
- if (
- (!ACE_OS::strcmp ((char *)value, "IDL:omg.org/IR/Repository:1.0")) ||
- (!ACE_OS::strcmp ((char *)value, "IDL:omg.org/IR/Container:1.0")) ||
- (!ACE_OS::strcmp ((char *)value, "IDL:omg.org/CORBA/IRObject:1.0")) ||
- (!ACE_OS::strcmp ((char *)value, CORBA::_tc_Object->id (ACE_TRY_ENV))))
- return 1;
- else
- return 0;
-}
-
-void* POA_IR::Repository::_downcast (
- const char* logical_type_id
- )
-{
- if (ACE_OS::strcmp (logical_type_id, "IDL:omg.org/IR/Repository:1.0") == 0)
- return ACE_static_cast (POA_IR::Repository_ptr, this);
- if (ACE_OS::strcmp (logical_type_id, "IDL:omg.org/IR/Container:1.0") == 0)
- return ACE_static_cast (POA_IR::Container_ptr, this);
- if (ACE_OS::strcmp (logical_type_id, "IDL:omg.org/CORBA/IRObject:1.0") == 0)
- return ACE_static_cast (POA_CORBA_IRObject_ptr, this);
- if (ACE_OS::strcmp (logical_type_id, "IDL:omg.org/CORBA/Object:1.0") == 0)
- return ACE_static_cast(PortableServer::Servant, this);
- return 0;
-}
-
-void POA_IR::Repository::_dispatch (TAO_ServerRequest &req, void *context, CORBA::Environment &ACE_TRY_ENV)
-{
- this->synchronous_upcall_dispatch(req, context, this, ACE_TRY_ENV);
-}
-
-const char* POA_IR::Repository::_interface_repository_id (void) const
-{
- return "IDL:omg.org/IR/Repository:1.0";
-}
-
-IR::Repository*
-POA_IR::Repository::_this (CORBA_Environment &ACE_TRY_ENV)
-{
- TAO_Stub *stub = this->_create_stub (ACE_TRY_ENV);
- ACE_CHECK_RETURN (0);
-
- CORBA::Object_ptr tmp = CORBA::Object::_nil ();
-
- if (stub->servant_orb_var ()->orb_core ()->optimize_collocation_objects ())
- ACE_NEW_RETURN (tmp, CORBA::Object (stub, 1, this), 0);
- else
- ACE_NEW_RETURN (tmp, CORBA::Object (stub, 0, this), 0);
-
- CORBA::Object_var obj = tmp;
- return IR_Repository::_unchecked_narrow (obj.in ());
-}
-
-#if (TAO_HAS_INTERCEPTORS == 1)
-POA_IR::Repository::TAO_ServerRequestInfo_IR_Repository_lookup_id::TAO_ServerRequestInfo_IR_Repository_lookup_id (
- TAO_ServerRequest &_tao_server_request,
- POA_IR::Repository *tao_impl,
- const char * search_id,
- CORBA::Environment &
- )
- : TAO_ServerRequestInfo (_tao_server_request),
- _tao_impl (tao_impl),
- search_id_ (search_id)
-{}
-
-Dynamic::ParameterList *
-POA_IR::Repository::TAO_ServerRequestInfo_IR_Repository_lookup_id::arguments (CORBA::Environment &ACE_TRY_ENV)
- ACE_THROW_SPEC ((CORBA::SystemException))
-{
- // Generate the argument list on demand.
- Dynamic::ParameterList *parameter_list =
- TAO_RequestInfo_Util::make_parameter_list (ACE_TRY_ENV);
- ACE_CHECK_RETURN (0);
-
- Dynamic::ParameterList_var safe_parameter_list = parameter_list;
-
- CORBA::ULong length_search_id = parameter_list->length ();
- parameter_list->length (length_search_id + 1);
- (*parameter_list)[length_search_id].argument <<= search_id_;
- (*parameter_list)[length_search_id].mode = Dynamic::PARAM_IN;
-
- return safe_parameter_list._retn ();
-}
-
-Dynamic::ExceptionList *
-POA_IR::Repository::TAO_ServerRequestInfo_IR_Repository_lookup_id::exceptions (CORBA::Environment &ACE_TRY_ENV)
- ACE_THROW_SPEC ((CORBA::SystemException))
-{
- // Generate the exception list on demand.
- Dynamic::ExceptionList *exception_list =
- TAO_RequestInfo_Util::make_exception_list (ACE_TRY_ENV);
- ACE_CHECK_RETURN (0);
-
- return exception_list;
-}
-
-CORBA::Any *
-POA_IR::Repository::TAO_ServerRequestInfo_IR_Repository_lookup_id::result (CORBA::Environment &ACE_TRY_ENV)
- ACE_THROW_SPEC ((CORBA::SystemException))
-{
- // Generate the result on demand.
- CORBA::Boolean tk_void_any = 0;
- CORBA::Any *result_any =
- TAO_RequestInfo_Util::make_any (tk_void_any, ACE_TRY_ENV);
- ACE_CHECK_RETURN (0);
-
- CORBA::Any_var safe_result_any = result_any;
-
- (*result_any) <<= this->_result;
-
- return safe_result_any._retn ();
-}
-
-char *
-POA_IR::Repository::TAO_ServerRequestInfo_IR_Repository_lookup_id::target_most_derived_interface (
- CORBA::Environment &)
- ACE_THROW_SPEC ((CORBA::SystemException))
-{
- return
- CORBA::string_dup (this->_tao_impl->_interface_repository_id ());
-}
-
-CORBA::Boolean
-POA_IR::Repository::TAO_ServerRequestInfo_IR_Repository_lookup_id::target_is_a (
- const char * id,
- CORBA::Environment &ACE_TRY_ENV)
- ACE_THROW_SPEC ((CORBA::SystemException))
-{
- return this->_tao_impl->_is_a (id, ACE_TRY_ENV);
-}
-
-void
-POA_IR::Repository::TAO_ServerRequestInfo_IR_Repository_lookup_id::result (IR::Contained_ptr result)
-{
- // Update the result.
- this->_result = result;
-}
-
-POA_IR::Repository::TAO_ServerRequestInfo_IR_Repository_get_canonical_typecode::TAO_ServerRequestInfo_IR_Repository_get_canonical_typecode (
- TAO_ServerRequest &_tao_server_request,
- POA_IR::Repository *tao_impl,
- CORBA::TypeCode_ptr tc,
- CORBA::Environment &
- )
- : TAO_ServerRequestInfo (_tao_server_request),
- _tao_impl (tao_impl),
- tc_ (tc)
-{}
-
-Dynamic::ParameterList *
-POA_IR::Repository::TAO_ServerRequestInfo_IR_Repository_get_canonical_typecode::arguments (CORBA::Environment &ACE_TRY_ENV)
- ACE_THROW_SPEC ((CORBA::SystemException))
-{
- // Generate the argument list on demand.
- Dynamic::ParameterList *parameter_list =
- TAO_RequestInfo_Util::make_parameter_list (ACE_TRY_ENV);
- ACE_CHECK_RETURN (0);
-
- Dynamic::ParameterList_var safe_parameter_list = parameter_list;
-
- CORBA::ULong length_tc = parameter_list->length ();
- parameter_list->length (length_tc + 1);
- (*parameter_list)[length_tc].argument <<= tc_;
- (*parameter_list)[length_tc].mode = Dynamic::PARAM_IN;
-
- return safe_parameter_list._retn ();
-}
-
-Dynamic::ExceptionList *
-POA_IR::Repository::TAO_ServerRequestInfo_IR_Repository_get_canonical_typecode::exceptions (CORBA::Environment &ACE_TRY_ENV)
- ACE_THROW_SPEC ((CORBA::SystemException))
-{
- // Generate the exception list on demand.
- Dynamic::ExceptionList *exception_list =
- TAO_RequestInfo_Util::make_exception_list (ACE_TRY_ENV);
- ACE_CHECK_RETURN (0);
-
- return exception_list;
-}
-
-CORBA::Any *
-POA_IR::Repository::TAO_ServerRequestInfo_IR_Repository_get_canonical_typecode::result (CORBA::Environment &ACE_TRY_ENV)
- ACE_THROW_SPEC ((CORBA::SystemException))
-{
- // Generate the result on demand.
- CORBA::Boolean tk_void_any = 0;
- CORBA::Any *result_any =
- TAO_RequestInfo_Util::make_any (tk_void_any, ACE_TRY_ENV);
- ACE_CHECK_RETURN (0);
-
- CORBA::Any_var safe_result_any = result_any;
-
- (*result_any) <<= this->_result;
-
- return safe_result_any._retn ();
-}
-
-char *
-POA_IR::Repository::TAO_ServerRequestInfo_IR_Repository_get_canonical_typecode::target_most_derived_interface (
- CORBA::Environment &)
- ACE_THROW_SPEC ((CORBA::SystemException))
-{
- return
- CORBA::string_dup (this->_tao_impl->_interface_repository_id ());
-}
-
-CORBA::Boolean
-POA_IR::Repository::TAO_ServerRequestInfo_IR_Repository_get_canonical_typecode::target_is_a (
- const char * id,
- CORBA::Environment &ACE_TRY_ENV)
- ACE_THROW_SPEC ((CORBA::SystemException))
-{
- return this->_tao_impl->_is_a (id, ACE_TRY_ENV);
-}
-
-void
-POA_IR::Repository::TAO_ServerRequestInfo_IR_Repository_get_canonical_typecode::result (CORBA::TypeCode_ptr result)
-{
- // Update the result.
- this->_result = result;
-}
-
-POA_IR::Repository::TAO_ServerRequestInfo_IR_Repository_get_primitive::TAO_ServerRequestInfo_IR_Repository_get_primitive (
- TAO_ServerRequest &_tao_server_request,
- POA_IR::Repository *tao_impl,
- IR_PrimitiveKind & kind,
- CORBA::Environment &
- )
- : TAO_ServerRequestInfo (_tao_server_request),
- _tao_impl (tao_impl),
- kind_ (kind)
-{}
-
-Dynamic::ParameterList *
-POA_IR::Repository::TAO_ServerRequestInfo_IR_Repository_get_primitive::arguments (CORBA::Environment &ACE_TRY_ENV)
- ACE_THROW_SPEC ((CORBA::SystemException))
-{
- // Generate the argument list on demand.
- Dynamic::ParameterList *parameter_list =
- TAO_RequestInfo_Util::make_parameter_list (ACE_TRY_ENV);
- ACE_CHECK_RETURN (0);
-
- Dynamic::ParameterList_var safe_parameter_list = parameter_list;
-
- CORBA::ULong length_kind = parameter_list->length ();
- parameter_list->length (length_kind + 1);
- (*parameter_list)[length_kind].argument <<= this->kind_;
-
- (*parameter_list)[length_kind].mode = Dynamic::PARAM_IN;
-
- return safe_parameter_list._retn ();
-}
-
-Dynamic::ExceptionList *
-POA_IR::Repository::TAO_ServerRequestInfo_IR_Repository_get_primitive::exceptions (CORBA::Environment &ACE_TRY_ENV)
- ACE_THROW_SPEC ((CORBA::SystemException))
-{
- // Generate the exception list on demand.
- Dynamic::ExceptionList *exception_list =
- TAO_RequestInfo_Util::make_exception_list (ACE_TRY_ENV);
- ACE_CHECK_RETURN (0);
-
- return exception_list;
-}
-
-CORBA::Any *
-POA_IR::Repository::TAO_ServerRequestInfo_IR_Repository_get_primitive::result (CORBA::Environment &ACE_TRY_ENV)
- ACE_THROW_SPEC ((CORBA::SystemException))
-{
- // Generate the result on demand.
- CORBA::Boolean tk_void_any = 0;
- CORBA::Any *result_any =
- TAO_RequestInfo_Util::make_any (tk_void_any, ACE_TRY_ENV);
- ACE_CHECK_RETURN (0);
-
- CORBA::Any_var safe_result_any = result_any;
-
- (*result_any) <<= this->_result;
-
- return safe_result_any._retn ();
-}
-
-char *
-POA_IR::Repository::TAO_ServerRequestInfo_IR_Repository_get_primitive::target_most_derived_interface (
- CORBA::Environment &)
- ACE_THROW_SPEC ((CORBA::SystemException))
-{
- return
- CORBA::string_dup (this->_tao_impl->_interface_repository_id ());
-}
-
-CORBA::Boolean
-POA_IR::Repository::TAO_ServerRequestInfo_IR_Repository_get_primitive::target_is_a (
- const char * id,
- CORBA::Environment &ACE_TRY_ENV)
- ACE_THROW_SPEC ((CORBA::SystemException))
-{
- return this->_tao_impl->_is_a (id, ACE_TRY_ENV);
-}
-
-void
-POA_IR::Repository::TAO_ServerRequestInfo_IR_Repository_get_primitive::result (IR::PrimitiveDef_ptr result)
-{
- // Update the result.
- this->_result = result;
-}
-
-POA_IR::Repository::TAO_ServerRequestInfo_IR_Repository_create_string::TAO_ServerRequestInfo_IR_Repository_create_string (
- TAO_ServerRequest &_tao_server_request,
- POA_IR::Repository *tao_impl,
- const CORBA::ULong & bound,
- CORBA::Environment &
- )
- : TAO_ServerRequestInfo (_tao_server_request),
- _tao_impl (tao_impl),
- bound_ (bound)
-{}
-
-Dynamic::ParameterList *
-POA_IR::Repository::TAO_ServerRequestInfo_IR_Repository_create_string::arguments (CORBA::Environment &ACE_TRY_ENV)
- ACE_THROW_SPEC ((CORBA::SystemException))
-{
- // Generate the argument list on demand.
- Dynamic::ParameterList *parameter_list =
- TAO_RequestInfo_Util::make_parameter_list (ACE_TRY_ENV);
- ACE_CHECK_RETURN (0);
-
- Dynamic::ParameterList_var safe_parameter_list = parameter_list;
-
- CORBA::ULong length_bound = parameter_list->length ();
- parameter_list->length (length_bound + 1);
- (*parameter_list)[length_bound].argument <<= bound_;
- (*parameter_list)[length_bound].mode = Dynamic::PARAM_IN;
-
- return safe_parameter_list._retn ();
-}
-
-Dynamic::ExceptionList *
-POA_IR::Repository::TAO_ServerRequestInfo_IR_Repository_create_string::exceptions (CORBA::Environment &ACE_TRY_ENV)
- ACE_THROW_SPEC ((CORBA::SystemException))
-{
- // Generate the exception list on demand.
- Dynamic::ExceptionList *exception_list =
- TAO_RequestInfo_Util::make_exception_list (ACE_TRY_ENV);
- ACE_CHECK_RETURN (0);
-
- return exception_list;
-}
-
-CORBA::Any *
-POA_IR::Repository::TAO_ServerRequestInfo_IR_Repository_create_string::result (CORBA::Environment &ACE_TRY_ENV)
- ACE_THROW_SPEC ((CORBA::SystemException))
-{
- // Generate the result on demand.
- CORBA::Boolean tk_void_any = 0;
- CORBA::Any *result_any =
- TAO_RequestInfo_Util::make_any (tk_void_any, ACE_TRY_ENV);
- ACE_CHECK_RETURN (0);
-
- CORBA::Any_var safe_result_any = result_any;
-
- (*result_any) <<= this->_result;
-
- return safe_result_any._retn ();
-}
-
-char *
-POA_IR::Repository::TAO_ServerRequestInfo_IR_Repository_create_string::target_most_derived_interface (
- CORBA::Environment &)
- ACE_THROW_SPEC ((CORBA::SystemException))
-{
- return
- CORBA::string_dup (this->_tao_impl->_interface_repository_id ());
-}
-
-CORBA::Boolean
-POA_IR::Repository::TAO_ServerRequestInfo_IR_Repository_create_string::target_is_a (
- const char * id,
- CORBA::Environment &ACE_TRY_ENV)
- ACE_THROW_SPEC ((CORBA::SystemException))
-{
- return this->_tao_impl->_is_a (id, ACE_TRY_ENV);
-}
-
-void
-POA_IR::Repository::TAO_ServerRequestInfo_IR_Repository_create_string::result (IR::StringDef_ptr result)
-{
- // Update the result.
- this->_result = result;
-}
-
-POA_IR::Repository::TAO_ServerRequestInfo_IR_Repository_create_wstring::TAO_ServerRequestInfo_IR_Repository_create_wstring (
- TAO_ServerRequest &_tao_server_request,
- POA_IR::Repository *tao_impl,
- const CORBA::ULong & bound,
- CORBA::Environment &
- )
- : TAO_ServerRequestInfo (_tao_server_request),
- _tao_impl (tao_impl),
- bound_ (bound)
-{}
-
-Dynamic::ParameterList *
-POA_IR::Repository::TAO_ServerRequestInfo_IR_Repository_create_wstring::arguments (CORBA::Environment &ACE_TRY_ENV)
- ACE_THROW_SPEC ((CORBA::SystemException))
-{
- // Generate the argument list on demand.
- Dynamic::ParameterList *parameter_list =
- TAO_RequestInfo_Util::make_parameter_list (ACE_TRY_ENV);
- ACE_CHECK_RETURN (0);
-
- Dynamic::ParameterList_var safe_parameter_list = parameter_list;
-
- CORBA::ULong length_bound = parameter_list->length ();
- parameter_list->length (length_bound + 1);
- (*parameter_list)[length_bound].argument <<= bound_;
- (*parameter_list)[length_bound].mode = Dynamic::PARAM_IN;
-
- return safe_parameter_list._retn ();
-}
-
-Dynamic::ExceptionList *
-POA_IR::Repository::TAO_ServerRequestInfo_IR_Repository_create_wstring::exceptions (CORBA::Environment &ACE_TRY_ENV)
- ACE_THROW_SPEC ((CORBA::SystemException))
-{
- // Generate the exception list on demand.
- Dynamic::ExceptionList *exception_list =
- TAO_RequestInfo_Util::make_exception_list (ACE_TRY_ENV);
- ACE_CHECK_RETURN (0);
-
- return exception_list;
-}
-
-CORBA::Any *
-POA_IR::Repository::TAO_ServerRequestInfo_IR_Repository_create_wstring::result (CORBA::Environment &ACE_TRY_ENV)
- ACE_THROW_SPEC ((CORBA::SystemException))
-{
- // Generate the result on demand.
- CORBA::Boolean tk_void_any = 0;
- CORBA::Any *result_any =
- TAO_RequestInfo_Util::make_any (tk_void_any, ACE_TRY_ENV);
- ACE_CHECK_RETURN (0);
-
- CORBA::Any_var safe_result_any = result_any;
-
- (*result_any) <<= this->_result;
-
- return safe_result_any._retn ();
-}
-
-char *
-POA_IR::Repository::TAO_ServerRequestInfo_IR_Repository_create_wstring::target_most_derived_interface (
- CORBA::Environment &)
- ACE_THROW_SPEC ((CORBA::SystemException))
-{
- return
- CORBA::string_dup (this->_tao_impl->_interface_repository_id ());
-}
-
-CORBA::Boolean
-POA_IR::Repository::TAO_ServerRequestInfo_IR_Repository_create_wstring::target_is_a (
- const char * id,
- CORBA::Environment &ACE_TRY_ENV)
- ACE_THROW_SPEC ((CORBA::SystemException))
-{
- return this->_tao_impl->_is_a (id, ACE_TRY_ENV);
-}
-
-void
-POA_IR::Repository::TAO_ServerRequestInfo_IR_Repository_create_wstring::result (IR::WstringDef_ptr result)
-{
- // Update the result.
- this->_result = result;
-}
-
-POA_IR::Repository::TAO_ServerRequestInfo_IR_Repository_create_sequence::TAO_ServerRequestInfo_IR_Repository_create_sequence (
- TAO_ServerRequest &_tao_server_request,
- POA_IR::Repository *tao_impl,
- const CORBA::ULong & bound,
- IR_IDLType_ptr element_type,
- CORBA::Environment &
- )
- : TAO_ServerRequestInfo (_tao_server_request),
- _tao_impl (tao_impl),
- bound_ (bound),
- element_type_ (element_type)
-{}
-
-Dynamic::ParameterList *
-POA_IR::Repository::TAO_ServerRequestInfo_IR_Repository_create_sequence::arguments (CORBA::Environment &ACE_TRY_ENV)
- ACE_THROW_SPEC ((CORBA::SystemException))
-{
- // Generate the argument list on demand.
- Dynamic::ParameterList *parameter_list =
- TAO_RequestInfo_Util::make_parameter_list (ACE_TRY_ENV);
- ACE_CHECK_RETURN (0);
-
- Dynamic::ParameterList_var safe_parameter_list = parameter_list;
-
- CORBA::ULong length_bound = parameter_list->length ();
- parameter_list->length (length_bound + 1);
- (*parameter_list)[length_bound].argument <<= bound_;
- (*parameter_list)[length_bound].mode = Dynamic::PARAM_IN;
-
- CORBA::ULong length_element_type = parameter_list->length ();
- parameter_list->length (length_element_type + 1);
- (*parameter_list)[length_element_type].argument <<= this->element_type_;
-
- (*parameter_list)[length_element_type].mode = Dynamic::PARAM_IN;
-
- return safe_parameter_list._retn ();
-}
-
-Dynamic::ExceptionList *
-POA_IR::Repository::TAO_ServerRequestInfo_IR_Repository_create_sequence::exceptions (CORBA::Environment &ACE_TRY_ENV)
- ACE_THROW_SPEC ((CORBA::SystemException))
-{
- // Generate the exception list on demand.
- Dynamic::ExceptionList *exception_list =
- TAO_RequestInfo_Util::make_exception_list (ACE_TRY_ENV);
- ACE_CHECK_RETURN (0);
-
- return exception_list;
-}
-
-CORBA::Any *
-POA_IR::Repository::TAO_ServerRequestInfo_IR_Repository_create_sequence::result (CORBA::Environment &ACE_TRY_ENV)
- ACE_THROW_SPEC ((CORBA::SystemException))
-{
- // Generate the result on demand.
- CORBA::Boolean tk_void_any = 0;
- CORBA::Any *result_any =
- TAO_RequestInfo_Util::make_any (tk_void_any, ACE_TRY_ENV);
- ACE_CHECK_RETURN (0);
-
- CORBA::Any_var safe_result_any = result_any;
-
- (*result_any) <<= this->_result;
-
- return safe_result_any._retn ();
-}
-
-char *
-POA_IR::Repository::TAO_ServerRequestInfo_IR_Repository_create_sequence::target_most_derived_interface (
- CORBA::Environment &)
- ACE_THROW_SPEC ((CORBA::SystemException))
-{
- return
- CORBA::string_dup (this->_tao_impl->_interface_repository_id ());
-}
-
-CORBA::Boolean
-POA_IR::Repository::TAO_ServerRequestInfo_IR_Repository_create_sequence::target_is_a (
- const char * id,
- CORBA::Environment &ACE_TRY_ENV)
- ACE_THROW_SPEC ((CORBA::SystemException))
-{
- return this->_tao_impl->_is_a (id, ACE_TRY_ENV);
-}
-
-void
-POA_IR::Repository::TAO_ServerRequestInfo_IR_Repository_create_sequence::result (IR::SequenceDef_ptr result)
-{
- // Update the result.
- this->_result = result;
-}
-
-POA_IR::Repository::TAO_ServerRequestInfo_IR_Repository_create_array::TAO_ServerRequestInfo_IR_Repository_create_array (
- TAO_ServerRequest &_tao_server_request,
- POA_IR::Repository *tao_impl,
- const CORBA::ULong & length,
- IR_IDLType_ptr element_type,
- CORBA::Environment &
- )
- : TAO_ServerRequestInfo (_tao_server_request),
- _tao_impl (tao_impl),
- length_ (length),
- element_type_ (element_type)
-{}
-
-Dynamic::ParameterList *
-POA_IR::Repository::TAO_ServerRequestInfo_IR_Repository_create_array::arguments (CORBA::Environment &ACE_TRY_ENV)
- ACE_THROW_SPEC ((CORBA::SystemException))
-{
- // Generate the argument list on demand.
- Dynamic::ParameterList *parameter_list =
- TAO_RequestInfo_Util::make_parameter_list (ACE_TRY_ENV);
- ACE_CHECK_RETURN (0);
-
- Dynamic::ParameterList_var safe_parameter_list = parameter_list;
-
- CORBA::ULong length_length = parameter_list->length ();
- parameter_list->length (length_length + 1);
- (*parameter_list)[length_length].argument <<= length_;
- (*parameter_list)[length_length].mode = Dynamic::PARAM_IN;
-
- CORBA::ULong length_element_type = parameter_list->length ();
- parameter_list->length (length_element_type + 1);
- (*parameter_list)[length_element_type].argument <<= this->element_type_;
-
- (*parameter_list)[length_element_type].mode = Dynamic::PARAM_IN;
-
- return safe_parameter_list._retn ();
-}
-
-Dynamic::ExceptionList *
-POA_IR::Repository::TAO_ServerRequestInfo_IR_Repository_create_array::exceptions (CORBA::Environment &ACE_TRY_ENV)
- ACE_THROW_SPEC ((CORBA::SystemException))
-{
- // Generate the exception list on demand.
- Dynamic::ExceptionList *exception_list =
- TAO_RequestInfo_Util::make_exception_list (ACE_TRY_ENV);
- ACE_CHECK_RETURN (0);
-
- return exception_list;
-}
-
-CORBA::Any *
-POA_IR::Repository::TAO_ServerRequestInfo_IR_Repository_create_array::result (CORBA::Environment &ACE_TRY_ENV)
- ACE_THROW_SPEC ((CORBA::SystemException))
-{
- // Generate the result on demand.
- CORBA::Boolean tk_void_any = 0;
- CORBA::Any *result_any =
- TAO_RequestInfo_Util::make_any (tk_void_any, ACE_TRY_ENV);
- ACE_CHECK_RETURN (0);
-
- CORBA::Any_var safe_result_any = result_any;
-
- (*result_any) <<= this->_result;
-
- return safe_result_any._retn ();
-}
-
-char *
-POA_IR::Repository::TAO_ServerRequestInfo_IR_Repository_create_array::target_most_derived_interface (
- CORBA::Environment &)
- ACE_THROW_SPEC ((CORBA::SystemException))
-{
- return
- CORBA::string_dup (this->_tao_impl->_interface_repository_id ());
-}
-
-CORBA::Boolean
-POA_IR::Repository::TAO_ServerRequestInfo_IR_Repository_create_array::target_is_a (
- const char * id,
- CORBA::Environment &ACE_TRY_ENV)
- ACE_THROW_SPEC ((CORBA::SystemException))
-{
- return this->_tao_impl->_is_a (id, ACE_TRY_ENV);
-}
-
-void
-POA_IR::Repository::TAO_ServerRequestInfo_IR_Repository_create_array::result (IR::ArrayDef_ptr result)
-{
- // Update the result.
- this->_result = result;
-}
-
-POA_IR::Repository::TAO_ServerRequestInfo_IR_Repository_create_fixed::TAO_ServerRequestInfo_IR_Repository_create_fixed (
- TAO_ServerRequest &_tao_server_request,
- POA_IR::Repository *tao_impl,
- const CORBA::UShort & digits,
- const CORBA::Short & scale,
- CORBA::Environment &
- )
- : TAO_ServerRequestInfo (_tao_server_request),
- _tao_impl (tao_impl),
- digits_ (digits),
- scale_ (scale)
-{}
-
-Dynamic::ParameterList *
-POA_IR::Repository::TAO_ServerRequestInfo_IR_Repository_create_fixed::arguments (CORBA::Environment &ACE_TRY_ENV)
- ACE_THROW_SPEC ((CORBA::SystemException))
-{
- // Generate the argument list on demand.
- Dynamic::ParameterList *parameter_list =
- TAO_RequestInfo_Util::make_parameter_list (ACE_TRY_ENV);
- ACE_CHECK_RETURN (0);
-
- Dynamic::ParameterList_var safe_parameter_list = parameter_list;
-
- CORBA::ULong length_digits = parameter_list->length ();
- parameter_list->length (length_digits + 1);
- (*parameter_list)[length_digits].argument <<= digits_;
- (*parameter_list)[length_digits].mode = Dynamic::PARAM_IN;
-
- CORBA::ULong length_scale = parameter_list->length ();
- parameter_list->length (length_scale + 1);
- (*parameter_list)[length_scale].argument <<= scale_;
- (*parameter_list)[length_scale].mode = Dynamic::PARAM_IN;
-
- return safe_parameter_list._retn ();
-}
-
-Dynamic::ExceptionList *
-POA_IR::Repository::TAO_ServerRequestInfo_IR_Repository_create_fixed::exceptions (CORBA::Environment &ACE_TRY_ENV)
- ACE_THROW_SPEC ((CORBA::SystemException))
-{
- // Generate the exception list on demand.
- Dynamic::ExceptionList *exception_list =
- TAO_RequestInfo_Util::make_exception_list (ACE_TRY_ENV);
- ACE_CHECK_RETURN (0);
-
- return exception_list;
-}
-
-CORBA::Any *
-POA_IR::Repository::TAO_ServerRequestInfo_IR_Repository_create_fixed::result (CORBA::Environment &ACE_TRY_ENV)
- ACE_THROW_SPEC ((CORBA::SystemException))
-{
- // Generate the result on demand.
- CORBA::Boolean tk_void_any = 0;
- CORBA::Any *result_any =
- TAO_RequestInfo_Util::make_any (tk_void_any, ACE_TRY_ENV);
- ACE_CHECK_RETURN (0);
-
- CORBA::Any_var safe_result_any = result_any;
-
- (*result_any) <<= this->_result;
-
- return safe_result_any._retn ();
-}
-
-char *
-POA_IR::Repository::TAO_ServerRequestInfo_IR_Repository_create_fixed::target_most_derived_interface (
- CORBA::Environment &)
- ACE_THROW_SPEC ((CORBA::SystemException))
-{
- return
- CORBA::string_dup (this->_tao_impl->_interface_repository_id ());
-}
-
-CORBA::Boolean
-POA_IR::Repository::TAO_ServerRequestInfo_IR_Repository_create_fixed::target_is_a (
- const char * id,
- CORBA::Environment &ACE_TRY_ENV)
- ACE_THROW_SPEC ((CORBA::SystemException))
-{
- return this->_tao_impl->_is_a (id, ACE_TRY_ENV);
-}
-
-void
-POA_IR::Repository::TAO_ServerRequestInfo_IR_Repository_create_fixed::result (IR::FixedDef_ptr result)
-{
- // Update the result.
- this->_result = result;
-}
-
-#endif /* TAO_HAS_INTERCEPTORS */
-
-class TAO_IR_ComponentRepository_Perfect_Hash_OpTable : public TAO_Perfect_Hash_OpTable
-{
-private:
- unsigned int hash (const char *str, unsigned int len);
-public:
- const TAO_operation_db_entry * lookup (const char *str, unsigned int len);
-};
-/* starting time is 11:23:09 */
-/* C++ code produced by gperf version 2.8 (ACE version) */
-/* Command-line: gperf -m -M -J -c -C -D -E -T -f 0 -F 0 -a -o -t -p -K opname_ -L C++ -Z TAO_IR_ComponentRepository_Perfect_Hash_OpTable -N lookup */
-unsigned int
-TAO_IR_ComponentRepository_Perfect_Hash_OpTable::hash (const char *str, unsigned int len)
-{
- static const unsigned char asso_values[] =
- {
-#if defined (ACE_MVS)
- 54, 54, 54, 54, 54, 54, 54, 54, 54, 54,
- 54, 54, 54, 54, 54, 54, 54, 54, 54, 54,
- 54, 54, 54, 54, 54, 54, 54, 54, 54, 54,
- 54, 54, 54, 54, 54, 54, 54, 54, 54, 54,
- 54, 54, 54, 54, 54, 54, 54, 54, 54, 54,
- 54, 54, 54, 54, 54, 54, 54, 54, 54, 54,
- 54, 54, 54, 54, 54, 54, 54, 54, 54, 54,
- 54, 54, 54, 54, 54, 54, 54, 54, 54, 54,
- 54, 54, 54, 54, 54, 54, 54, 54, 54, 54,
- 54, 54, 54, 54, 54, 54, 54, 54, 54, 54,
- 54, 54, 54, 54, 54, 54, 54, 54, 54, 15,
- 54, 54, 54, 54, 54, 54, 54, 54, 54, 54,
- 54, 54, 54, 54, 54, 54, 54, 54, 54, 5,
- 54, 0, 25, 15, 54, 10, 54, 54, 54, 54,
- 54, 54, 54, 54, 54, 54, 54, 10, 0, 3,
- 54, 25, 54, 54, 54, 54, 54, 54, 54, 54,
- 54, 54, 0, 5, 54, 54, 54, 0, 20, 54,
- 54, 54, 54, 54, 54, 54, 54, 54, 54, 54,
- 54, 54, 54, 54, 54, 54, 54, 54, 54, 54,
- 54, 54, 54, 54, 54, 54, 54, 54, 54, 54,
- 54, 54, 54, 54, 54, 54, 54, 54, 54, 54,
- 54, 54, 54, 54, 54, 54, 54, 54, 54, 54,
- 54, 54, 54, 54, 54, 54, 54, 54, 54, 54,
- 54, 54, 54, 54, 54, 54, 54, 54, 54, 54,
- 54, 54, 54, 54, 54, 54, 54, 54, 54, 54,
- 54, 54, 54, 54, 54, 54,
-#else
- 54, 54, 54, 54, 54, 54, 54, 54, 54, 54,
- 54, 54, 54, 54, 54, 54, 54, 54, 54, 54,
- 54, 54, 54, 54, 54, 54, 54, 54, 54, 54,
- 54, 54, 54, 54, 54, 54, 54, 54, 54, 54,
- 54, 54, 54, 54, 54, 54, 54, 54, 54, 54,
- 54, 54, 54, 54, 54, 54, 54, 54, 54, 54,
- 54, 54, 54, 54, 54, 54, 54, 54, 54, 54,
- 54, 54, 54, 54, 54, 54, 54, 54, 54, 54,
- 54, 54, 54, 54, 54, 54, 54, 54, 54, 54,
- 54, 54, 54, 54, 54, 15, 54, 5, 54, 0,
- 25, 15, 54, 10, 54, 54, 54, 54, 10, 0,
- 3, 54, 25, 54, 54, 0, 5, 54, 54, 54,
- 0, 20, 54, 54, 54, 54, 54, 54,
-#endif /* ACE_MVS */
- };
- return len + asso_values[str[len - 1]] + asso_values[str[0]];
-}
-
-const class TAO_operation_db_entry *
-TAO_IR_ComponentRepository_Perfect_Hash_OpTable::lookup (const char *str, unsigned int len)
-{
- enum
- {
- TOTAL_KEYWORDS = 29,
- MIN_WORD_LENGTH = 5,
- MAX_WORD_LENGTH = 22,
- MIN_HASH_VALUE = 8,
- MAX_HASH_VALUE = 53,
- HASH_VALUE_RANGE = 46,
- DUPLICATES = 2
- };
-
- static const class TAO_operation_db_entry wordlist[] =
- {
- {"",0},{"",0},{"",0},{"",0},{"",0},{"",0},{"",0},{"",0},
- {"contents", &POA_IR::ComponentRepository::contents_skel},
- {"create_enum", &POA_IR::ComponentRepository::create_enum_skel},
- {"create_alias", &POA_IR::ComponentRepository::create_alias_skel},
- {"create_union", &POA_IR::ComponentRepository::create_union_skel},
- {"create_value_box", &POA_IR::ComponentRepository::create_value_box_skel},
- {"create_struct", &POA_IR::ComponentRepository::create_struct_skel},
- {"create_exception", &POA_IR::ComponentRepository::create_exception_skel},
- {"create_constant", &POA_IR::ComponentRepository::create_constant_skel},
- {"create_component", &POA_IR::ComponentRepository::create_component_skel},
- {"create_string", &POA_IR::ComponentRepository::create_string_skel},
- {"create_wstring", &POA_IR::ComponentRepository::create_wstring_skel},
- {"_is_a", &POA_IR::ComponentRepository::_is_a_skel},
- {"create_home", &POA_IR::ComponentRepository::create_home_skel},
- {"create_value", &POA_IR::ComponentRepository::create_value_skel},
- {"create_module", &POA_IR::ComponentRepository::create_module_skel},
- {"create_native", &POA_IR::ComponentRepository::create_native_skel},
- {"create_sequence", &POA_IR::ComponentRepository::create_sequence_skel},
- {"create_interface", &POA_IR::ComponentRepository::create_interface_skel},
- {"create_array", &POA_IR::ComponentRepository::create_array_skel},
- {"_non_existent", &POA_IR::ComponentRepository::_non_existent_skel},
- {"lookup_name", &POA_IR::ComponentRepository::lookup_name_skel},
- {"create_fixed", &POA_IR::ComponentRepository::create_fixed_skel},
- {"get_primitive", &POA_IR::ComponentRepository::get_primitive_skel},
- {"lookup", &POA_IR::ComponentRepository::lookup_skel},
- {"describe_contents", &POA_IR::ComponentRepository::describe_contents_skel},
- {"lookup_id", &POA_IR::ComponentRepository::lookup_id_skel},
- {"get_canonical_typecode", &POA_IR::ComponentRepository::get_canonical_typecode_skel},
- {"destroy", &POA_IR::ComponentRepository::destroy_skel},
- {"_get_def_kind", &POA_IR::ComponentRepository::_get_def_kind_skel},
- };
-
- static const signed char lookup[] =
- {
- -1, -1, -1, -1, -1, -1, -1, -1, 8, -1, -1, 9, 10, -22,
- -2, 11, 12, -1, 13, 14, 15, 16, -1, 17, 18, 19, 20, 21,
- -68, -1, 24, 25, 26, 27, -1, -1, 28, 29, 30, -1, -1, 31,
- 32, -1, 33, -1, -1, 34, -1, -1, -1, -1, 35, 36,
- };
-
- if (len <= MAX_WORD_LENGTH && len >= MIN_WORD_LENGTH)
- {
- unsigned int key = hash (str, len);
-
- if (key <= MAX_HASH_VALUE && key >= MIN_HASH_VALUE)
- {
- int slot = lookup[key];
-
- if (slot >= 0 && slot < MAX_HASH_VALUE)
- {
- const char *s = wordlist[slot].opname_;
-
- if (*str == *s && !strncmp (str + 1, s + 1, len - 1))
- return &wordlist[slot];
- }
- else if (slot < 0 && slot >= -MAX_HASH_VALUE)
- return 0;
- else
- {
- unsigned int offset = key + slot + (slot > 0 ? -MAX_HASH_VALUE : MAX_HASH_VALUE);
- const class TAO_operation_db_entry *base = &wordlist[-lookup[offset]];
- const class TAO_operation_db_entry *ptr = base + -lookup[offset + 1];
-
- while (--ptr >= base)
- if (*str == *ptr->opname_ && !strncmp (str + 1, ptr->opname_ + 1, len - 1))
- return ptr;
- }
- }
- }
- return 0;
-}
-/* ending time is 11:23:09 */
-static TAO_IR_ComponentRepository_Perfect_Hash_OpTable tao_IR_ComponentRepository_optable;
-
-///////////////////////////////////////////////////////////////////////
-// Strategized Proxy Broker Implementation
-//
-
-// Factory function Implementation.
-POA_IR::_TAO_ComponentRepository_Strategized_Proxy_Broker *POA_IR::_TAO_ComponentRepository_Strategized_Proxy_Broker::the_TAO_ComponentRepository_Strategized_Proxy_Broker (void)
-{
- static POA_IR::_TAO_ComponentRepository_Strategized_Proxy_Broker strategized_proxy_broker;
- return &strategized_proxy_broker;
-}
-
-POA_IR::_TAO_ComponentRepository_Strategized_Proxy_Broker::_TAO_ComponentRepository_Strategized_Proxy_Broker (void)
-{
- for (int i = 0; i < TAO_Collocation_Strategies::CS_LAST; ++i)
- this->proxy_cache_[i] = 0;
-
-}
-
-POA_IR::_TAO_ComponentRepository_Strategized_Proxy_Broker::~_TAO_ComponentRepository_Strategized_Proxy_Broker (void)
-{
- for (int i = 0; i < TAO_Collocation_Strategies::CS_LAST; ++i)
- delete this->proxy_cache_[i];
-
-}
-
-_TAO_ComponentRepository_Proxy_Impl&
-POA_IR::_TAO_ComponentRepository_Strategized_Proxy_Broker::select_proxy (
- IR_ComponentRepository *object,
- CORBA::Environment &ACE_TRY_ENV
- )
-{
- int strategy =
- TAO_ORB_Core::collocation_strategy (object);
-
- if (this->proxy_cache_[strategy] != 0)
- return *this->proxy_cache_[strategy];
-
- this->create_proxy (strategy, ACE_TRY_ENV);
- ACE_CHECK_RETURN (*this->proxy_cache_[strategy]);
-
- return *this->proxy_cache_[strategy];
-
-}
-
-void
-POA_IR::_TAO_ComponentRepository_Strategized_Proxy_Broker::create_proxy (
- int strategy,
- CORBA::Environment &ACE_TRY_ENV
- )
-{
- ACE_GUARD (TAO_SYNCH_MUTEX, guard, this->mutex_);
-
- if (this->proxy_cache_[strategy] == 0)
- {
- switch (strategy)
- {
- case TAO_Collocation_Strategies::CS_THRU_POA_STRATEGY:
- ACE_NEW_THROW_EX (
- this->proxy_cache_[strategy],
- _TAO_ComponentRepository_ThruPOA_Proxy_Impl,
- CORBA::NO_MEMORY ()
- );
- ACE_CHECK;
- break;
-
- case TAO_Collocation_Strategies::CS_REMOTE_STRATEGY:
- default:
- ACE_NEW_THROW_EX (
- this->proxy_cache_[strategy],
- _TAO_ComponentRepository_Remote_Proxy_Impl,
- CORBA::NO_MEMORY ()
- );
- ACE_CHECK;
- break;
-
- }
-
- }
-}
-
-
-//
-// End Strategized Proxy Broker Implementation
-///////////////////////////////////////////////////////////////////////
-
-
-_TAO_ComponentRepository_Proxy_Broker *
-_TAO_ComponentRepository_Proxy_Broker_Factory_function (CORBA::Object_ptr obj)
-{
- ACE_UNUSED_ARG (obj);
- return ::POA_IR::_TAO_ComponentRepository_Strategized_Proxy_Broker::the_TAO_ComponentRepository_Strategized_Proxy_Broker();
-}
-
-int
-_TAO_ComponentRepository_Proxy_Broker_Factory_Initializer (long _dummy_)
-{
- ACE_UNUSED_ARG (_dummy_);
-
- _TAO_ComponentRepository_Proxy_Broker_Factory_function_pointer =
- _TAO_ComponentRepository_Proxy_Broker_Factory_function;
-
- return 0;
-}
-
-static int _TAO_ComponentRepository_Proxy_Broker_Stub_Factory_Initializer_Scarecrow =
- _TAO_ComponentRepository_Proxy_Broker_Factory_Initializer (ACE_reinterpret_cast (long, _TAO_ComponentRepository_Proxy_Broker_Factory_Initializer));
-
-
-///////////////////////////////////////////////////////////////////////
-// ThruPOA Proxy Implementation
-//
-
-POA_IR::_TAO_ComponentRepository_ThruPOA_Proxy_Impl::_TAO_ComponentRepository_ThruPOA_Proxy_Impl (void)
-{}
-
-// ThruPOA Implementation of the IDL interface methods
-
-IR_ComponentDef_ptr POA_IR::_TAO_ComponentRepository_ThruPOA_Proxy_Impl::create_component (
- CORBA_Object *_collocated_tao_target_,
- const char * id,
- const char * name,
- const char * version,
- IR_ComponentDef_ptr base_component,
- const IR_InterfaceDefSeq & supports_interfaces,
- CORBA::Environment &ACE_TRY_ENV
- )
- ACE_THROW_SPEC ((
- CORBA::SystemException
- ))
-{
- IR_ComponentDef_var _tao_retval;
- ACE_UNUSED_ARG (_tao_retval);
- TAO_Object_Adapter::Servant_Upcall servant_upcall (
- _collocated_tao_target_->_stubobj ()->servant_orb_var ()->orb_core ()
- );
- CORBA::Object_var forward_to;
- servant_upcall.prepare_for_upcall (
- _collocated_tao_target_->_object_key (),
- "create_component",
- forward_to.out (),
- ACE_TRY_ENV
- );
- ACE_CHECK_RETURN (0);
- return ACE_reinterpret_cast (
- POA_IR::ComponentRepository_ptr,
- servant_upcall.servant ()->_downcast (
- "IDL:omg.org/IR/ComponentRepository:1.0"
- )
- )->create_component (
- id,
- name,
- version,
- base_component,
- supports_interfaces,
- ACE_TRY_ENV
- );
-}
-
-IR_HomeDef_ptr POA_IR::_TAO_ComponentRepository_ThruPOA_Proxy_Impl::create_home (
- CORBA_Object *_collocated_tao_target_,
- const char * id,
- const char * name,
- const char * version,
- IR_HomeDef_ptr base_home,
- IR_ComponentDef_ptr managed_component,
- IR_ValueDef_ptr primary_key,
- CORBA::Environment &ACE_TRY_ENV
- )
- ACE_THROW_SPEC ((
- CORBA::SystemException
- ))
-{
- IR_HomeDef_var _tao_retval;
- ACE_UNUSED_ARG (_tao_retval);
- TAO_Object_Adapter::Servant_Upcall servant_upcall (
- _collocated_tao_target_->_stubobj ()->servant_orb_var ()->orb_core ()
- );
- CORBA::Object_var forward_to;
- servant_upcall.prepare_for_upcall (
- _collocated_tao_target_->_object_key (),
- "create_home",
- forward_to.out (),
- ACE_TRY_ENV
- );
- ACE_CHECK_RETURN (0);
- return ACE_reinterpret_cast (
- POA_IR::ComponentRepository_ptr,
- servant_upcall.servant ()->_downcast (
- "IDL:omg.org/IR/ComponentRepository:1.0"
- )
- )->create_home (
- id,
- name,
- version,
- base_home,
- managed_component,
- primary_key,
- ACE_TRY_ENV
- );
-}
-
-//
-// End ThruPOA Proxy Implementation
-///////////////////////////////////////////////////////////////////////
-
-// skeleton constructor
-POA_IR::ComponentRepository::ComponentRepository (void)
-{
- this->optable_ = &tao_IR_ComponentRepository_optable;
-}
-
-// copy ctor
-POA_IR::ComponentRepository::ComponentRepository (const ComponentRepository& rhs)
- : ACE_NESTED_CLASS (POA_IR,Repository) (rhs),
- ACE_NESTED_CLASS (POA_IR,Container) (rhs),
- POA_CORBA_IRObject (rhs),
- TAO_ServantBase (rhs)
-{}
-
-// skeleton destructor
-POA_IR::ComponentRepository::~ComponentRepository (void)
-{
-}
-
-void POA_IR::ComponentRepository::create_component_skel (
- TAO_ServerRequest &_tao_server_request,
- void *_tao_object_reference,
- void * /* context */,
- CORBA::Environment &ACE_TRY_ENV
-)
-{
- TAO_InputCDR &_tao_in = _tao_server_request.incoming ();
- POA_IR::ComponentRepository *_tao_impl = (POA_IR::ComponentRepository *)_tao_object_reference;
-
- IR_ComponentDef_var _tao_retval;
- CORBA::String_var id;
- CORBA::String_var name;
- CORBA::String_var version;
- IR_ComponentDef_var base_component;
- IR_InterfaceDefSeq supports_interfaces;
- if (!(
- (_tao_in >> id.out ()) &&
- (_tao_in >> name.out ()) &&
- (_tao_in >> version.out ()) &&
- (_tao_in >> base_component.out ()) &&
- (_tao_in >> supports_interfaces)
- ))
- ACE_THROW (CORBA::MARSHAL () );
-
-#if (TAO_HAS_INTERCEPTORS == 1)
- TAO_ServerRequestInterceptor_Adapter _tao_vfr (
- _tao_server_request.orb_core ()->server_request_interceptors (),
- _tao_server_request.interceptor_count ()
- );
-
- POA_IR::ComponentRepository::TAO_ServerRequestInfo_IR_ComponentRepository_create_component ri (
- _tao_server_request,
- _tao_impl,
- id.in (),
- name.in (),
- version.in (),
- base_component.in (),
- supports_interfaces,
- ACE_TRY_ENV
- );
-
- ACE_TRY
- {
- _tao_vfr.receive_request (&ri, ACE_TRY_ENV);
- ACE_TRY_CHECK;
-
-#endif /* TAO_HAS_INTERCEPTORS */
- _tao_retval =
- _tao_impl->create_component (
- id.in (),
- name.in (),
- version.in (),
- base_component.in (),
- supports_interfaces,
- ACE_TRY_ENV
- );
- TAO_INTERCEPTOR_CHECK;
-
-#if (TAO_HAS_INTERCEPTORS == 1)
- IR_ComponentDef_ptr _tao_retval_info = _tao_retval._retn ();
- ri.result (_tao_retval_info);
- _tao_retval = _tao_retval_info;
- ri.reply_status (PortableInterceptor::SUCCESSFUL);
- _tao_vfr.send_reply (&ri, ACE_TRY_ENV);
- ACE_TRY_CHECK;
- }
- ACE_CATCH (PortableInterceptor::ForwardRequest, exc)
- {
- ri.forward_reference (exc);
- _tao_vfr.send_other (
- &ri,
- ACE_TRY_ENV
- );
- ACE_TRY_CHECK;
- _tao_server_request.forward_location (exc.forward.in ());
- }
- ACE_CATCHANY
- {
- ri.exception (&ACE_ANY_EXCEPTION);
- _tao_vfr.send_exception (
- &ri,
- ACE_TRY_ENV
- );
- ACE_TRY_CHECK;
- ACE_RE_THROW;
- }
- ACE_ENDTRY;
- ACE_CHECK;
-#endif /* TAO_HAS_INTERCEPTORS */
-
- _tao_server_request.init_reply ();
-
- TAO_OutputCDR &_tao_out = _tao_server_request.outgoing ();
-
- if (!(
- (_tao_out << _tao_retval.in ())
- ))
- ACE_THROW (CORBA::MARSHAL());
-
- // In case ACE_TRY_ENV is not used in this function
- ACE_UNUSED_ARG (ACE_TRY_ENV);
-}
-
-void POA_IR::ComponentRepository::create_home_skel (
- TAO_ServerRequest &_tao_server_request,
- void *_tao_object_reference,
- void * /* context */,
- CORBA::Environment &ACE_TRY_ENV
-)
-{
- TAO_InputCDR &_tao_in = _tao_server_request.incoming ();
- POA_IR::ComponentRepository *_tao_impl = (POA_IR::ComponentRepository *)_tao_object_reference;
-
- IR_HomeDef_var _tao_retval;
- CORBA::String_var id;
- CORBA::String_var name;
- CORBA::String_var version;
- IR_HomeDef_var base_home;
- IR_ComponentDef_var managed_component;
- IR_ValueDef_var primary_key;
- if (!(
- (_tao_in >> id.out ()) &&
- (_tao_in >> name.out ()) &&
- (_tao_in >> version.out ()) &&
- (_tao_in >> base_home.out ()) &&
- (_tao_in >> managed_component.out ()) &&
- (_tao_in >> primary_key.out ())
- ))
- ACE_THROW (CORBA::MARSHAL () );
-
-#if (TAO_HAS_INTERCEPTORS == 1)
- TAO_ServerRequestInterceptor_Adapter _tao_vfr (
- _tao_server_request.orb_core ()->server_request_interceptors (),
- _tao_server_request.interceptor_count ()
- );
-
- POA_IR::ComponentRepository::TAO_ServerRequestInfo_IR_ComponentRepository_create_home ri (
- _tao_server_request,
- _tao_impl,
- id.in (),
- name.in (),
- version.in (),
- base_home.in (),
- managed_component.in (),
- primary_key.in (),
- ACE_TRY_ENV
- );
-
- ACE_TRY
- {
- _tao_vfr.receive_request (&ri, ACE_TRY_ENV);
- ACE_TRY_CHECK;
-
-#endif /* TAO_HAS_INTERCEPTORS */
- _tao_retval =
- _tao_impl->create_home (
- id.in (),
- name.in (),
- version.in (),
- base_home.in (),
- managed_component.in (),
- primary_key.in (),
- ACE_TRY_ENV
- );
- TAO_INTERCEPTOR_CHECK;
-
-#if (TAO_HAS_INTERCEPTORS == 1)
- IR_HomeDef_ptr _tao_retval_info = _tao_retval._retn ();
- ri.result (_tao_retval_info);
- _tao_retval = _tao_retval_info;
- ri.reply_status (PortableInterceptor::SUCCESSFUL);
- _tao_vfr.send_reply (&ri, ACE_TRY_ENV);
- ACE_TRY_CHECK;
- }
- ACE_CATCH (PortableInterceptor::ForwardRequest, exc)
- {
- ri.forward_reference (exc);
- _tao_vfr.send_other (
- &ri,
- ACE_TRY_ENV
- );
- ACE_TRY_CHECK;
- _tao_server_request.forward_location (exc.forward.in ());
- }
- ACE_CATCHANY
- {
- ri.exception (&ACE_ANY_EXCEPTION);
- _tao_vfr.send_exception (
- &ri,
- ACE_TRY_ENV
- );
- ACE_TRY_CHECK;
- ACE_RE_THROW;
- }
- ACE_ENDTRY;
- ACE_CHECK;
-#endif /* TAO_HAS_INTERCEPTORS */
-
- _tao_server_request.init_reply ();
-
- TAO_OutputCDR &_tao_out = _tao_server_request.outgoing ();
-
- if (!(
- (_tao_out << _tao_retval.in ())
- ))
- ACE_THROW (CORBA::MARSHAL());
-
- // In case ACE_TRY_ENV is not used in this function
- ACE_UNUSED_ARG (ACE_TRY_ENV);
-}
-
-void POA_IR::ComponentRepository::_is_a_skel (
- TAO_ServerRequest &_tao_server_request,
- void * _tao_object_reference,
- void * /* context */,
- CORBA::Environment &ACE_TRY_ENV
- )
-{
- TAO_InputCDR &_tao_in = _tao_server_request.incoming ();
- POA_IR::ComponentRepository *_tao_impl = (POA_IR::ComponentRepository *) _tao_object_reference;
- CORBA::Boolean _tao_retval = 0;
- CORBA::String_var value;
- if (!((_tao_in >> value.out ())))
- ACE_THROW (CORBA::MARSHAL ());
-
- _tao_retval = _tao_impl->_is_a (value.in (), ACE_TRY_ENV);
- ACE_CHECK;
-
- _tao_server_request.init_reply ();
- TAO_OutputCDR &_tao_out = _tao_server_request.outgoing ();
- if (!((_tao_out << CORBA::Any::from_boolean (_tao_retval))))
- ACE_THROW (CORBA::MARSHAL ());
-}
-
-void POA_IR::ComponentRepository::_non_existent_skel (
- TAO_ServerRequest &_tao_server_request,
- void * _tao_object_reference,
- void * /* context */,
- CORBA::Environment &ACE_TRY_ENV
- )
-{
- POA_IR::ComponentRepository *_tao_impl = (POA_IR::ComponentRepository *) _tao_object_reference;
- CORBA::Boolean _tao_retval = _tao_impl->_non_existent (ACE_TRY_ENV);
- ACE_CHECK;
-
- _tao_server_request.init_reply ();
- TAO_OutputCDR &_tao_out = _tao_server_request.outgoing ();
- if (!((_tao_out << CORBA::Any::from_boolean (_tao_retval))))
- ACE_THROW (CORBA::MARSHAL ());
-}
-
-CORBA::Boolean POA_IR::ComponentRepository::_is_a (
- const char* value,
- CORBA::Environment &ACE_TRY_ENV
- )
-{
- if (
- (!ACE_OS::strcmp ((char *)value, "IDL:omg.org/IR/ComponentRepository:1.0")) ||
- (!ACE_OS::strcmp ((char *)value, "IDL:omg.org/IR/Repository:1.0")) ||
- (!ACE_OS::strcmp ((char *)value, "IDL:omg.org/IR/Container:1.0")) ||
- (!ACE_OS::strcmp ((char *)value, "IDL:omg.org/CORBA/IRObject:1.0")) ||
- (!ACE_OS::strcmp ((char *)value, CORBA::_tc_Object->id (ACE_TRY_ENV))))
- return 1;
- else
- return 0;
-}
-
-void* POA_IR::ComponentRepository::_downcast (
- const char* logical_type_id
- )
-{
- if (ACE_OS::strcmp (logical_type_id, "IDL:omg.org/IR/ComponentRepository:1.0") == 0)
- return ACE_static_cast (POA_IR::ComponentRepository_ptr, this);
- if (ACE_OS::strcmp (logical_type_id, "IDL:omg.org/IR/Repository:1.0") == 0)
- return ACE_static_cast (POA_IR::Repository_ptr, this);
- if (ACE_OS::strcmp (logical_type_id, "IDL:omg.org/IR/Container:1.0") == 0)
- return ACE_static_cast (POA_IR::Container_ptr, this);
- if (ACE_OS::strcmp (logical_type_id, "IDL:omg.org/CORBA/IRObject:1.0") == 0)
- return ACE_static_cast (POA_CORBA_IRObject_ptr, this);
- if (ACE_OS::strcmp (logical_type_id, "IDL:omg.org/CORBA/Object:1.0") == 0)
- return ACE_static_cast(PortableServer::Servant, this);
- return 0;
-}
-
-void POA_IR::ComponentRepository::_dispatch (TAO_ServerRequest &req, void *context, CORBA::Environment &ACE_TRY_ENV)
-{
- this->synchronous_upcall_dispatch(req, context, this, ACE_TRY_ENV);
-}
-
-const char* POA_IR::ComponentRepository::_interface_repository_id (void) const
-{
- return "IDL:omg.org/IR/ComponentRepository:1.0";
-}
-
-IR::ComponentRepository*
-POA_IR::ComponentRepository::_this (CORBA_Environment &ACE_TRY_ENV)
-{
- TAO_Stub *stub = this->_create_stub (ACE_TRY_ENV);
- ACE_CHECK_RETURN (0);
-
- CORBA::Object_ptr tmp = CORBA::Object::_nil ();
-
- if (stub->servant_orb_var ()->orb_core ()->optimize_collocation_objects ())
- ACE_NEW_RETURN (tmp, CORBA::Object (stub, 1, this), 0);
- else
- ACE_NEW_RETURN (tmp, CORBA::Object (stub, 0, this), 0);
-
- CORBA::Object_var obj = tmp;
- return IR_ComponentRepository::_unchecked_narrow (obj.in ());
-}
-
-#if (TAO_HAS_INTERCEPTORS == 1)
-POA_IR::ComponentRepository::TAO_ServerRequestInfo_IR_ComponentRepository_create_component::TAO_ServerRequestInfo_IR_ComponentRepository_create_component (
- TAO_ServerRequest &_tao_server_request,
- POA_IR::ComponentRepository *tao_impl,
- const char * id,
- const char * name,
- const char * version,
- IR_ComponentDef_ptr base_component,
- const IR_InterfaceDefSeq & supports_interfaces,
- CORBA::Environment &
- )
- : TAO_ServerRequestInfo (_tao_server_request),
- _tao_impl (tao_impl),
- id_ (id),
- name_ (name),
- version_ (version),
- base_component_ (base_component),
- supports_interfaces_ (supports_interfaces)
-{}
-
-Dynamic::ParameterList *
-POA_IR::ComponentRepository::TAO_ServerRequestInfo_IR_ComponentRepository_create_component::arguments (CORBA::Environment &ACE_TRY_ENV)
- ACE_THROW_SPEC ((CORBA::SystemException))
-{
- // Generate the argument list on demand.
- Dynamic::ParameterList *parameter_list =
- TAO_RequestInfo_Util::make_parameter_list (ACE_TRY_ENV);
- ACE_CHECK_RETURN (0);
-
- Dynamic::ParameterList_var safe_parameter_list = parameter_list;
-
- CORBA::ULong length_id = parameter_list->length ();
- parameter_list->length (length_id + 1);
- (*parameter_list)[length_id].argument <<= id_;
- (*parameter_list)[length_id].mode = Dynamic::PARAM_IN;
-
- CORBA::ULong length_name = parameter_list->length ();
- parameter_list->length (length_name + 1);
- (*parameter_list)[length_name].argument <<= name_;
- (*parameter_list)[length_name].mode = Dynamic::PARAM_IN;
-
- CORBA::ULong length_version = parameter_list->length ();
- parameter_list->length (length_version + 1);
- (*parameter_list)[length_version].argument <<= version_;
- (*parameter_list)[length_version].mode = Dynamic::PARAM_IN;
-
- CORBA::ULong length_base_component = parameter_list->length ();
- parameter_list->length (length_base_component + 1);
- (*parameter_list)[length_base_component].argument <<= this->base_component_;
-
- (*parameter_list)[length_base_component].mode = Dynamic::PARAM_IN;
-
- CORBA::ULong length_supports_interfaces = parameter_list->length ();
- parameter_list->length (length_supports_interfaces + 1);
- (*parameter_list)[length_supports_interfaces].argument <<= this->supports_interfaces_;
-
- (*parameter_list)[length_supports_interfaces].mode = Dynamic::PARAM_IN;
-
- return safe_parameter_list._retn ();
-}
-
-Dynamic::ExceptionList *
-POA_IR::ComponentRepository::TAO_ServerRequestInfo_IR_ComponentRepository_create_component::exceptions (CORBA::Environment &ACE_TRY_ENV)
- ACE_THROW_SPEC ((CORBA::SystemException))
-{
- // Generate the exception list on demand.
- Dynamic::ExceptionList *exception_list =
- TAO_RequestInfo_Util::make_exception_list (ACE_TRY_ENV);
- ACE_CHECK_RETURN (0);
-
- return exception_list;
-}
-
-CORBA::Any *
-POA_IR::ComponentRepository::TAO_ServerRequestInfo_IR_ComponentRepository_create_component::result (CORBA::Environment &ACE_TRY_ENV)
- ACE_THROW_SPEC ((CORBA::SystemException))
-{
- // Generate the result on demand.
- CORBA::Boolean tk_void_any = 0;
- CORBA::Any *result_any =
- TAO_RequestInfo_Util::make_any (tk_void_any, ACE_TRY_ENV);
- ACE_CHECK_RETURN (0);
-
- CORBA::Any_var safe_result_any = result_any;
-
- (*result_any) <<= this->_result;
-
- return safe_result_any._retn ();
-}
-
-char *
-POA_IR::ComponentRepository::TAO_ServerRequestInfo_IR_ComponentRepository_create_component::target_most_derived_interface (
- CORBA::Environment &)
- ACE_THROW_SPEC ((CORBA::SystemException))
-{
- return
- CORBA::string_dup (this->_tao_impl->_interface_repository_id ());
-}
-
-CORBA::Boolean
-POA_IR::ComponentRepository::TAO_ServerRequestInfo_IR_ComponentRepository_create_component::target_is_a (
- const char * id,
- CORBA::Environment &ACE_TRY_ENV)
- ACE_THROW_SPEC ((CORBA::SystemException))
-{
- return this->_tao_impl->_is_a (id, ACE_TRY_ENV);
-}
-
-void
-POA_IR::ComponentRepository::TAO_ServerRequestInfo_IR_ComponentRepository_create_component::result (IR::ComponentDef_ptr result)
-{
- // Update the result.
- this->_result = result;
-}
-
-POA_IR::ComponentRepository::TAO_ServerRequestInfo_IR_ComponentRepository_create_home::TAO_ServerRequestInfo_IR_ComponentRepository_create_home (
- TAO_ServerRequest &_tao_server_request,
- POA_IR::ComponentRepository *tao_impl,
- const char * id,
- const char * name,
- const char * version,
- IR_HomeDef_ptr base_home,
- IR_ComponentDef_ptr managed_component,
- IR_ValueDef_ptr primary_key,
- CORBA::Environment &
- )
- : TAO_ServerRequestInfo (_tao_server_request),
- _tao_impl (tao_impl),
- id_ (id),
- name_ (name),
- version_ (version),
- base_home_ (base_home),
- managed_component_ (managed_component),
- primary_key_ (primary_key)
-{}
-
-Dynamic::ParameterList *
-POA_IR::ComponentRepository::TAO_ServerRequestInfo_IR_ComponentRepository_create_home::arguments (CORBA::Environment &ACE_TRY_ENV)
- ACE_THROW_SPEC ((CORBA::SystemException))
-{
- // Generate the argument list on demand.
- Dynamic::ParameterList *parameter_list =
- TAO_RequestInfo_Util::make_parameter_list (ACE_TRY_ENV);
- ACE_CHECK_RETURN (0);
-
- Dynamic::ParameterList_var safe_parameter_list = parameter_list;
-
- CORBA::ULong length_id = parameter_list->length ();
- parameter_list->length (length_id + 1);
- (*parameter_list)[length_id].argument <<= id_;
- (*parameter_list)[length_id].mode = Dynamic::PARAM_IN;
-
- CORBA::ULong length_name = parameter_list->length ();
- parameter_list->length (length_name + 1);
- (*parameter_list)[length_name].argument <<= name_;
- (*parameter_list)[length_name].mode = Dynamic::PARAM_IN;
-
- CORBA::ULong length_version = parameter_list->length ();
- parameter_list->length (length_version + 1);
- (*parameter_list)[length_version].argument <<= version_;
- (*parameter_list)[length_version].mode = Dynamic::PARAM_IN;
-
- CORBA::ULong length_base_home = parameter_list->length ();
- parameter_list->length (length_base_home + 1);
- (*parameter_list)[length_base_home].argument <<= this->base_home_;
-
- (*parameter_list)[length_base_home].mode = Dynamic::PARAM_IN;
-
- CORBA::ULong length_managed_component = parameter_list->length ();
- parameter_list->length (length_managed_component + 1);
- (*parameter_list)[length_managed_component].argument <<= this->managed_component_;
-
- (*parameter_list)[length_managed_component].mode = Dynamic::PARAM_IN;
-
- CORBA::ULong length_primary_key = parameter_list->length ();
- parameter_list->length (length_primary_key + 1);
- (*parameter_list)[length_primary_key].argument <<= this->primary_key_;
-
- (*parameter_list)[length_primary_key].mode = Dynamic::PARAM_IN;
-
- return safe_parameter_list._retn ();
-}
-
-Dynamic::ExceptionList *
-POA_IR::ComponentRepository::TAO_ServerRequestInfo_IR_ComponentRepository_create_home::exceptions (CORBA::Environment &ACE_TRY_ENV)
- ACE_THROW_SPEC ((CORBA::SystemException))
-{
- // Generate the exception list on demand.
- Dynamic::ExceptionList *exception_list =
- TAO_RequestInfo_Util::make_exception_list (ACE_TRY_ENV);
- ACE_CHECK_RETURN (0);
-
- return exception_list;
-}
-
-CORBA::Any *
-POA_IR::ComponentRepository::TAO_ServerRequestInfo_IR_ComponentRepository_create_home::result (CORBA::Environment &ACE_TRY_ENV)
- ACE_THROW_SPEC ((CORBA::SystemException))
-{
- // Generate the result on demand.
- CORBA::Boolean tk_void_any = 0;
- CORBA::Any *result_any =
- TAO_RequestInfo_Util::make_any (tk_void_any, ACE_TRY_ENV);
- ACE_CHECK_RETURN (0);
-
- CORBA::Any_var safe_result_any = result_any;
-
- (*result_any) <<= this->_result;
-
- return safe_result_any._retn ();
-}
-
-char *
-POA_IR::ComponentRepository::TAO_ServerRequestInfo_IR_ComponentRepository_create_home::target_most_derived_interface (
- CORBA::Environment &)
- ACE_THROW_SPEC ((CORBA::SystemException))
-{
- return
- CORBA::string_dup (this->_tao_impl->_interface_repository_id ());
-}
-
-CORBA::Boolean
-POA_IR::ComponentRepository::TAO_ServerRequestInfo_IR_ComponentRepository_create_home::target_is_a (
- const char * id,
- CORBA::Environment &ACE_TRY_ENV)
- ACE_THROW_SPEC ((CORBA::SystemException))
-{
- return this->_tao_impl->_is_a (id, ACE_TRY_ENV);
-}
-
-void
-POA_IR::ComponentRepository::TAO_ServerRequestInfo_IR_ComponentRepository_create_home::result (IR::HomeDef_ptr result)
-{
- // Update the result.
- this->_result = result;
-}
-
-#endif /* TAO_HAS_INTERCEPTORS */
-
-class TAO_IR_ModuleDef_Perfect_Hash_OpTable : public TAO_Perfect_Hash_OpTable
-{
-private:
- unsigned int hash (const char *str, unsigned int len);
-public:
- const TAO_operation_db_entry * lookup (const char *str, unsigned int len);
-};
-/* starting time is 11:23:09 */
-/* C++ code produced by gperf version 2.8 (ACE version) */
-/* Command-line: gperf -m -M -J -c -C -D -E -T -f 0 -F 0 -a -o -t -p -K opname_ -L C++ -Z TAO_IR_ModuleDef_Perfect_Hash_OpTable -N lookup */
-unsigned int
-TAO_IR_ModuleDef_Perfect_Hash_OpTable::hash (const char *str, unsigned int len)
-{
- static const unsigned char asso_values[] =
- {
-#if defined (ACE_MVS)
- 52, 52, 52, 52, 52, 52, 52, 52, 52, 52,
- 52, 52, 52, 52, 52, 52, 52, 52, 52, 52,
- 52, 52, 52, 52, 52, 52, 52, 52, 52, 52,
- 52, 52, 52, 52, 52, 52, 52, 52, 52, 52,
- 52, 52, 52, 52, 52, 52, 52, 52, 52, 52,
- 52, 52, 52, 52, 52, 52, 52, 52, 52, 52,
- 52, 52, 52, 52, 52, 52, 52, 52, 52, 52,
- 52, 52, 52, 52, 52, 52, 52, 52, 52, 52,
- 52, 52, 52, 52, 52, 52, 52, 52, 52, 52,
- 52, 52, 52, 52, 52, 52, 52, 52, 52, 52,
- 52, 52, 52, 52, 52, 52, 52, 52, 52, 10,
- 52, 52, 52, 52, 52, 52, 52, 52, 52, 52,
- 52, 52, 52, 52, 52, 52, 52, 52, 52, 0,
- 52, 0, 15, 0, 52, 52, 52, 52, 52, 52,
- 52, 52, 52, 52, 52, 52, 52, 20, 0, 5,
- 52, 10, 52, 52, 52, 52, 52, 52, 52, 52,
- 52, 52, 10, 20, 52, 52, 52, 10, 15, 52,
- 52, 52, 52, 52, 52, 52, 52, 52, 52, 52,
- 52, 52, 52, 52, 52, 52, 52, 52, 52, 52,
- 52, 52, 52, 52, 52, 52, 52, 52, 52, 52,
- 52, 52, 52, 52, 52, 52, 52, 52, 52, 52,
- 52, 52, 52, 52, 52, 52, 52, 52, 52, 52,
- 52, 52, 52, 52, 52, 52, 52, 52, 52, 52,
- 52, 52, 52, 52, 52, 52, 52, 52, 52, 52,
- 52, 52, 52, 52, 52, 52, 52, 52, 52, 52,
- 52, 52, 52, 52, 52, 52,
-#else
- 52, 52, 52, 52, 52, 52, 52, 52, 52, 52,
- 52, 52, 52, 52, 52, 52, 52, 52, 52, 52,
- 52, 52, 52, 52, 52, 52, 52, 52, 52, 52,
- 52, 52, 52, 52, 52, 52, 52, 52, 52, 52,
- 52, 52, 52, 52, 52, 52, 52, 52, 52, 52,
- 52, 52, 52, 52, 52, 52, 52, 52, 52, 52,
- 52, 52, 52, 52, 52, 52, 52, 52, 52, 52,
- 52, 52, 52, 52, 52, 52, 52, 52, 52, 52,
- 52, 52, 52, 52, 52, 52, 52, 52, 52, 52,
- 52, 52, 52, 52, 52, 10, 52, 0, 52, 0,
- 15, 0, 52, 52, 52, 52, 52, 52, 20, 0,
- 5, 52, 10, 52, 52, 10, 20, 52, 52, 52,
- 10, 15, 52, 52, 52, 52, 52, 52,
-#endif /* ACE_MVS */
- };
- return len + asso_values[str[len - 1]] + asso_values[str[0]];
-}
-
-const class TAO_operation_db_entry *
-TAO_IR_ModuleDef_Perfect_Hash_OpTable::lookup (const char *str, unsigned int len)
-{
- enum
- {
- TOTAL_KEYWORDS = 30,
- MIN_WORD_LENGTH = 4,
- MAX_WORD_LENGTH = 26,
- MIN_HASH_VALUE = 4,
- MAX_HASH_VALUE = 51,
- HASH_VALUE_RANGE = 48,
- DUPLICATES = 5
- };
-
- static const class TAO_operation_db_entry wordlist[] =
- {
- {"",0},{"",0},{"",0},{"",0},
- {"move", &POA_IR::ModuleDef::move_skel},
- {"create_enum", &POA_IR::ModuleDef::create_enum_skel},
- {"create_value", &POA_IR::ModuleDef::create_value_skel},
- {"create_module", &POA_IR::ModuleDef::create_module_skel},
- {"create_native", &POA_IR::ModuleDef::create_native_skel},
- {"_is_a", &POA_IR::ModuleDef::_is_a_skel},
- {"create_interface", &POA_IR::ModuleDef::create_interface_skel},
- {"create_union", &POA_IR::ModuleDef::create_union_skel},
- {"contents", &POA_IR::ModuleDef::contents_skel},
- {"_get_name", &POA_IR::ModuleDef::_get_name_skel},
- {"_set_name", &POA_IR::ModuleDef::_set_name_skel},
- {"create_exception", &POA_IR::ModuleDef::create_exception_skel},
- {"create_alias", &POA_IR::ModuleDef::create_alias_skel},
- {"describe", &POA_IR::ModuleDef::describe_skel},
- {"create_value_box", &POA_IR::ModuleDef::create_value_box_skel},
- {"_get_version", &POA_IR::ModuleDef::_get_version_skel},
- {"_set_version", &POA_IR::ModuleDef::_set_version_skel},
- {"_get_absolute_name", &POA_IR::ModuleDef::_get_absolute_name_skel},
- {"_get_defined_in", &POA_IR::ModuleDef::_get_defined_in_skel},
- {"lookup_name", &POA_IR::ModuleDef::lookup_name_skel},
- {"_get_id", &POA_IR::ModuleDef::_get_id_skel},
- {"_set_id", &POA_IR::ModuleDef::_set_id_skel},
- {"create_struct", &POA_IR::ModuleDef::create_struct_skel},
- {"create_constant", &POA_IR::ModuleDef::create_constant_skel},
- {"lookup", &POA_IR::ModuleDef::lookup_skel},
- {"destroy", &POA_IR::ModuleDef::destroy_skel},
- {"_get_def_kind", &POA_IR::ModuleDef::_get_def_kind_skel},
- {"describe_contents", &POA_IR::ModuleDef::describe_contents_skel},
- {"_non_existent", &POA_IR::ModuleDef::_non_existent_skel},
- {"_get_containing_repository", &POA_IR::ModuleDef::_get_containing_repository_skel},
- };
-
- static const signed char lookup[] =
- {
- -1, -1, -1, -1, 4, -7, -2, -13, -2, -19, -2, 5, 6, -59,
- -1, 9, 10, 11, 12, -63, -1, 15, 16, 17, -24, -2, 18, -69,
- 21, -1, 22, 23, -59, 26, -1, 27, 28, 29, 30, -1, -1, -1,
- 31, 32, -1, -1, -1, -1, -1, -1, -1, 33,
- };
-
- if (len <= MAX_WORD_LENGTH && len >= MIN_WORD_LENGTH)
- {
- unsigned int key = hash (str, len);
-
- if (key <= MAX_HASH_VALUE && key >= MIN_HASH_VALUE)
- {
- int slot = lookup[key];
-
- if (slot >= 0 && slot < MAX_HASH_VALUE)
- {
- const char *s = wordlist[slot].opname_;
-
- if (*str == *s && !strncmp (str + 1, s + 1, len - 1))
- return &wordlist[slot];
- }
- else if (slot < 0 && slot >= -MAX_HASH_VALUE)
- return 0;
- else
- {
- unsigned int offset = key + slot + (slot > 0 ? -MAX_HASH_VALUE : MAX_HASH_VALUE);
- const class TAO_operation_db_entry *base = &wordlist[-lookup[offset]];
- const class TAO_operation_db_entry *ptr = base + -lookup[offset + 1];
-
- while (--ptr >= base)
- if (*str == *ptr->opname_ && !strncmp (str + 1, ptr->opname_ + 1, len - 1))
- return ptr;
- }
- }
- }
- return 0;
-}
-/* ending time is 11:23:09 */
-static TAO_IR_ModuleDef_Perfect_Hash_OpTable tao_IR_ModuleDef_optable;
-
-///////////////////////////////////////////////////////////////////////
-// Strategized Proxy Broker Implementation
-//
-
-// Factory function Implementation.
-POA_IR::_TAO_ModuleDef_Strategized_Proxy_Broker *POA_IR::_TAO_ModuleDef_Strategized_Proxy_Broker::the_TAO_ModuleDef_Strategized_Proxy_Broker (void)
-{
- static POA_IR::_TAO_ModuleDef_Strategized_Proxy_Broker strategized_proxy_broker;
- return &strategized_proxy_broker;
-}
-
-POA_IR::_TAO_ModuleDef_Strategized_Proxy_Broker::_TAO_ModuleDef_Strategized_Proxy_Broker (void)
-{
- for (int i = 0; i < TAO_Collocation_Strategies::CS_LAST; ++i)
- this->proxy_cache_[i] = 0;
-
-}
-
-POA_IR::_TAO_ModuleDef_Strategized_Proxy_Broker::~_TAO_ModuleDef_Strategized_Proxy_Broker (void)
-{
- for (int i = 0; i < TAO_Collocation_Strategies::CS_LAST; ++i)
- delete this->proxy_cache_[i];
-
-}
-
-_TAO_ModuleDef_Proxy_Impl&
-POA_IR::_TAO_ModuleDef_Strategized_Proxy_Broker::select_proxy (
- IR_ModuleDef *object,
- CORBA::Environment &ACE_TRY_ENV
- )
-{
- int strategy =
- TAO_ORB_Core::collocation_strategy (object);
-
- if (this->proxy_cache_[strategy] != 0)
- return *this->proxy_cache_[strategy];
-
- this->create_proxy (strategy, ACE_TRY_ENV);
- ACE_CHECK_RETURN (*this->proxy_cache_[strategy]);
-
- return *this->proxy_cache_[strategy];
-
-}
-
-void
-POA_IR::_TAO_ModuleDef_Strategized_Proxy_Broker::create_proxy (
- int strategy,
- CORBA::Environment &ACE_TRY_ENV
- )
-{
- ACE_GUARD (TAO_SYNCH_MUTEX, guard, this->mutex_);
-
- if (this->proxy_cache_[strategy] == 0)
- {
- switch (strategy)
- {
- case TAO_Collocation_Strategies::CS_THRU_POA_STRATEGY:
- ACE_NEW_THROW_EX (
- this->proxy_cache_[strategy],
- _TAO_ModuleDef_ThruPOA_Proxy_Impl,
- CORBA::NO_MEMORY ()
- );
- ACE_CHECK;
- break;
-
- case TAO_Collocation_Strategies::CS_REMOTE_STRATEGY:
- default:
- ACE_NEW_THROW_EX (
- this->proxy_cache_[strategy],
- _TAO_ModuleDef_Remote_Proxy_Impl,
- CORBA::NO_MEMORY ()
- );
- ACE_CHECK;
- break;
-
- }
-
- }
-}
-
-
-//
-// End Strategized Proxy Broker Implementation
-///////////////////////////////////////////////////////////////////////
-
-
-_TAO_ModuleDef_Proxy_Broker *
-_TAO_ModuleDef_Proxy_Broker_Factory_function (CORBA::Object_ptr obj)
-{
- ACE_UNUSED_ARG (obj);
- return ::POA_IR::_TAO_ModuleDef_Strategized_Proxy_Broker::the_TAO_ModuleDef_Strategized_Proxy_Broker();
-}
-
-int
-_TAO_ModuleDef_Proxy_Broker_Factory_Initializer (long _dummy_)
-{
- ACE_UNUSED_ARG (_dummy_);
-
- _TAO_ModuleDef_Proxy_Broker_Factory_function_pointer =
- _TAO_ModuleDef_Proxy_Broker_Factory_function;
-
- return 0;
-}
-
-static int _TAO_ModuleDef_Proxy_Broker_Stub_Factory_Initializer_Scarecrow =
- _TAO_ModuleDef_Proxy_Broker_Factory_Initializer (ACE_reinterpret_cast (long, _TAO_ModuleDef_Proxy_Broker_Factory_Initializer));
-
-
-///////////////////////////////////////////////////////////////////////
-// ThruPOA Proxy Implementation
-//
-
-POA_IR::_TAO_ModuleDef_ThruPOA_Proxy_Impl::_TAO_ModuleDef_ThruPOA_Proxy_Impl (void)
-{}
-
-// ThruPOA Implementation of the IDL interface methods
-
-//
-// End ThruPOA Proxy Implementation
-///////////////////////////////////////////////////////////////////////
-
-// skeleton constructor
-POA_IR::ModuleDef::ModuleDef (void)
-{
- this->optable_ = &tao_IR_ModuleDef_optable;
-}
-
-// copy ctor
-POA_IR::ModuleDef::ModuleDef (const ModuleDef& rhs)
- : ACE_NESTED_CLASS (POA_IR,Container) (rhs),
- ACE_NESTED_CLASS (POA_IR,Contained) (rhs),
- POA_CORBA_IRObject (rhs),
- TAO_ServantBase (rhs)
-{}
-
-// skeleton destructor
-POA_IR::ModuleDef::~ModuleDef (void)
-{
-}
-
-void POA_IR::ModuleDef::_is_a_skel (
- TAO_ServerRequest &_tao_server_request,
- void * _tao_object_reference,
- void * /* context */,
- CORBA::Environment &ACE_TRY_ENV
- )
-{
- TAO_InputCDR &_tao_in = _tao_server_request.incoming ();
- POA_IR::ModuleDef *_tao_impl = (POA_IR::ModuleDef *) _tao_object_reference;
- CORBA::Boolean _tao_retval = 0;
- CORBA::String_var value;
- if (!((_tao_in >> value.out ())))
- ACE_THROW (CORBA::MARSHAL ());
-
- _tao_retval = _tao_impl->_is_a (value.in (), ACE_TRY_ENV);
- ACE_CHECK;
-
- _tao_server_request.init_reply ();
- TAO_OutputCDR &_tao_out = _tao_server_request.outgoing ();
- if (!((_tao_out << CORBA::Any::from_boolean (_tao_retval))))
- ACE_THROW (CORBA::MARSHAL ());
-}
-
-void POA_IR::ModuleDef::_non_existent_skel (
- TAO_ServerRequest &_tao_server_request,
- void * _tao_object_reference,
- void * /* context */,
- CORBA::Environment &ACE_TRY_ENV
- )
-{
- POA_IR::ModuleDef *_tao_impl = (POA_IR::ModuleDef *) _tao_object_reference;
- CORBA::Boolean _tao_retval = _tao_impl->_non_existent (ACE_TRY_ENV);
- ACE_CHECK;
-
- _tao_server_request.init_reply ();
- TAO_OutputCDR &_tao_out = _tao_server_request.outgoing ();
- if (!((_tao_out << CORBA::Any::from_boolean (_tao_retval))))
- ACE_THROW (CORBA::MARSHAL ());
-}
-
-CORBA::Boolean POA_IR::ModuleDef::_is_a (
- const char* value,
- CORBA::Environment &ACE_TRY_ENV
- )
-{
- if (
- (!ACE_OS::strcmp ((char *)value, "IDL:omg.org/IR/ModuleDef:1.0")) ||
- (!ACE_OS::strcmp ((char *)value, "IDL:omg.org/IR/Container:1.0")) ||
- (!ACE_OS::strcmp ((char *)value, "IDL:omg.org/IR/Contained:1.0")) ||
- (!ACE_OS::strcmp ((char *)value, "IDL:omg.org/CORBA/IRObject:1.0")) ||
- (!ACE_OS::strcmp ((char *)value, CORBA::_tc_Object->id (ACE_TRY_ENV))))
- return 1;
- else
- return 0;
-}
-
-void* POA_IR::ModuleDef::_downcast (
- const char* logical_type_id
- )
-{
- if (ACE_OS::strcmp (logical_type_id, "IDL:omg.org/IR/ModuleDef:1.0") == 0)
- return ACE_static_cast (POA_IR::ModuleDef_ptr, this);
- if (ACE_OS::strcmp (logical_type_id, "IDL:omg.org/IR/Container:1.0") == 0)
- return ACE_static_cast (POA_IR::Container_ptr, this);
- if (ACE_OS::strcmp (logical_type_id, "IDL:omg.org/IR/Contained:1.0") == 0)
- return ACE_static_cast (POA_IR::Contained_ptr, this);
- if (ACE_OS::strcmp (logical_type_id, "IDL:omg.org/CORBA/IRObject:1.0") == 0)
- return ACE_static_cast (POA_CORBA_IRObject_ptr, this);
- if (ACE_OS::strcmp (logical_type_id, "IDL:omg.org/CORBA/Object:1.0") == 0)
- return ACE_static_cast(PortableServer::Servant, this);
- return 0;
-}
-
-void POA_IR::ModuleDef::_dispatch (TAO_ServerRequest &req, void *context, CORBA::Environment &ACE_TRY_ENV)
-{
- this->synchronous_upcall_dispatch(req, context, this, ACE_TRY_ENV);
-}
-
-const char* POA_IR::ModuleDef::_interface_repository_id (void) const
-{
- return "IDL:omg.org/IR/ModuleDef:1.0";
-}
-
-IR::ModuleDef*
-POA_IR::ModuleDef::_this (CORBA_Environment &ACE_TRY_ENV)
-{
- TAO_Stub *stub = this->_create_stub (ACE_TRY_ENV);
- ACE_CHECK_RETURN (0);
-
- CORBA::Object_ptr tmp = CORBA::Object::_nil ();
-
- if (stub->servant_orb_var ()->orb_core ()->optimize_collocation_objects ())
- ACE_NEW_RETURN (tmp, CORBA::Object (stub, 1, this), 0);
- else
- ACE_NEW_RETURN (tmp, CORBA::Object (stub, 0, this), 0);
-
- CORBA::Object_var obj = tmp;
- return IR_ModuleDef::_unchecked_narrow (obj.in ());
-}
-
-#if (TAO_HAS_INTERCEPTORS == 1)
-#endif /* TAO_HAS_INTERCEPTORS */
-
-class TAO_IR_ConstantDef_Perfect_Hash_OpTable : public TAO_Perfect_Hash_OpTable
-{
-private:
- unsigned int hash (const char *str, unsigned int len);
-public:
- const TAO_operation_db_entry * lookup (const char *str, unsigned int len);
-};
-/* starting time is 11:23:09 */
-/* C++ code produced by gperf version 2.8 (ACE version) */
-/* Command-line: gperf -m -M -J -c -C -D -E -T -f 0 -F 0 -a -o -t -p -K opname_ -L C++ -Z TAO_IR_ConstantDef_Perfect_Hash_OpTable -N lookup */
-unsigned int
-TAO_IR_ConstantDef_Perfect_Hash_OpTable::hash (const char *str, unsigned int len)
-{
- static const unsigned char asso_values[] =
- {
-#if defined (ACE_MVS)
- 37, 37, 37, 37, 37, 37, 37, 37, 37, 37,
- 37, 37, 37, 37, 37, 37, 37, 37, 37, 37,
- 37, 37, 37, 37, 37, 37, 37, 37, 37, 37,
- 37, 37, 37, 37, 37, 37, 37, 37, 37, 37,
- 37, 37, 37, 37, 37, 37, 37, 37, 37, 37,
- 37, 37, 37, 37, 37, 37, 37, 37, 37, 37,
- 37, 37, 37, 37, 37, 37, 37, 37, 37, 37,
- 37, 37, 37, 37, 37, 37, 37, 37, 37, 37,
- 37, 37, 37, 37, 37, 37, 37, 37, 37, 37,
- 37, 37, 37, 37, 37, 37, 37, 37, 37, 37,
- 37, 37, 37, 37, 37, 37, 37, 37, 37, 0,
- 37, 37, 37, 37, 37, 37, 37, 37, 37, 37,
- 37, 37, 37, 37, 37, 37, 37, 37, 37, 0,
- 37, 37, 0, 0, 10, 37, 37, 37, 37, 37,
- 37, 37, 37, 37, 37, 37, 37, 37, 0, 0,
- 37, 37, 37, 37, 37, 37, 37, 37, 37, 37,
- 37, 37, 37, 15, 37, 37, 37, 37, 10, 37,
- 37, 37, 37, 37, 37, 37, 37, 37, 37, 37,
- 37, 37, 37, 37, 37, 37, 37, 37, 37, 37,
- 37, 37, 37, 37, 37, 37, 37, 37, 37, 37,
- 37, 37, 37, 37, 37, 37, 37, 37, 37, 37,
- 37, 37, 37, 37, 37, 37, 37, 37, 37, 37,
- 37, 37, 37, 37, 37, 37, 37, 37, 37, 37,
- 37, 37, 37, 37, 37, 37, 37, 37, 37, 37,
- 37, 37, 37, 37, 37, 37, 37, 37, 37, 37,
- 37, 37, 37, 37, 37, 37,
-#else
- 37, 37, 37, 37, 37, 37, 37, 37, 37, 37,
- 37, 37, 37, 37, 37, 37, 37, 37, 37, 37,
- 37, 37, 37, 37, 37, 37, 37, 37, 37, 37,
- 37, 37, 37, 37, 37, 37, 37, 37, 37, 37,
- 37, 37, 37, 37, 37, 37, 37, 37, 37, 37,
- 37, 37, 37, 37, 37, 37, 37, 37, 37, 37,
- 37, 37, 37, 37, 37, 37, 37, 37, 37, 37,
- 37, 37, 37, 37, 37, 37, 37, 37, 37, 37,
- 37, 37, 37, 37, 37, 37, 37, 37, 37, 37,
- 37, 37, 37, 37, 37, 0, 37, 0, 37, 37,
- 0, 0, 10, 37, 37, 37, 37, 37, 37, 0,
- 0, 37, 37, 37, 37, 37, 15, 37, 37, 37,
- 37, 10, 37, 37, 37, 37, 37, 37,
-#endif /* ACE_MVS */
- };
- return len + asso_values[str[len - 1]] + asso_values[str[0]];
-}
-
-const class TAO_operation_db_entry *
-TAO_IR_ConstantDef_Perfect_Hash_OpTable::lookup (const char *str, unsigned int len)
-{
- enum
- {
- TOTAL_KEYWORDS = 20,
- MIN_WORD_LENGTH = 4,
- MAX_WORD_LENGTH = 26,
- MIN_HASH_VALUE = 4,
- MAX_HASH_VALUE = 36,
- HASH_VALUE_RANGE = 33,
- DUPLICATES = 7
- };
-
- static const class TAO_operation_db_entry wordlist[] =
- {
- {"",0},{"",0},{"",0},{"",0},
- {"move", &POA_IR::ConstantDef::move_skel},
- {"_is_a", &POA_IR::ConstantDef::_is_a_skel},
- {"_get_id", &POA_IR::ConstantDef::_get_id_skel},
- {"_set_id", &POA_IR::ConstantDef::_set_id_skel},
- {"describe", &POA_IR::ConstantDef::describe_skel},
- {"_get_type", &POA_IR::ConstantDef::_get_type_skel},
- {"_set_name", &POA_IR::ConstantDef::_set_name_skel},
- {"_get_name", &POA_IR::ConstantDef::_get_name_skel},
- {"_get_value", &POA_IR::ConstantDef::_get_value_skel},
- {"_set_value", &POA_IR::ConstantDef::_set_value_skel},
- {"_get_version", &POA_IR::ConstantDef::_get_version_skel},
- {"_set_version", &POA_IR::ConstantDef::_set_version_skel},
- {"_get_def_kind", &POA_IR::ConstantDef::_get_def_kind_skel},
- {"_get_defined_in", &POA_IR::ConstantDef::_get_defined_in_skel},
- {"destroy", &POA_IR::ConstantDef::destroy_skel},
- {"_get_absolute_name", &POA_IR::ConstantDef::_get_absolute_name_skel},
- {"_get_type_def", &POA_IR::ConstantDef::_get_type_def_skel},
- {"_set_type_def", &POA_IR::ConstantDef::_set_type_def_skel},
- {"_non_existent", &POA_IR::ConstantDef::_non_existent_skel},
- {"_get_containing_repository", &POA_IR::ConstantDef::_get_containing_repository_skel},
- };
-
- static const signed char lookup[] =
- {
- -12, -2, -14, -2, 4, 5, -1, 53, 8, 46, -46, -1, -46, 16,
- -1, 17, -1, 18, 19, -9, -3, -20, -2, -38, -6, -2, -1, -1,
- 22, -1, -1, -1, -1, -1, -1, -1, 23,
- };
-
- if (len <= MAX_WORD_LENGTH && len >= MIN_WORD_LENGTH)
- {
- unsigned int key = hash (str, len);
-
- if (key <= MAX_HASH_VALUE && key >= MIN_HASH_VALUE)
- {
- int slot = lookup[key];
-
- if (slot >= 0 && slot < MAX_HASH_VALUE)
- {
- const char *s = wordlist[slot].opname_;
-
- if (*str == *s && !strncmp (str + 1, s + 1, len - 1))
- return &wordlist[slot];
- }
- else if (slot < 0 && slot >= -MAX_HASH_VALUE)
- return 0;
- else
- {
- unsigned int offset = key + slot + (slot > 0 ? -MAX_HASH_VALUE : MAX_HASH_VALUE);
- const class TAO_operation_db_entry *base = &wordlist[-lookup[offset]];
- const class TAO_operation_db_entry *ptr = base + -lookup[offset + 1];
-
- while (--ptr >= base)
- if (*str == *ptr->opname_ && !strncmp (str + 1, ptr->opname_ + 1, len - 1))
- return ptr;
- }
- }
- }
- return 0;
-}
-/* ending time is 11:23:09 */
-static TAO_IR_ConstantDef_Perfect_Hash_OpTable tao_IR_ConstantDef_optable;
-
-///////////////////////////////////////////////////////////////////////
-// Strategized Proxy Broker Implementation
-//
-
-// Factory function Implementation.
-POA_IR::_TAO_ConstantDef_Strategized_Proxy_Broker *POA_IR::_TAO_ConstantDef_Strategized_Proxy_Broker::the_TAO_ConstantDef_Strategized_Proxy_Broker (void)
-{
- static POA_IR::_TAO_ConstantDef_Strategized_Proxy_Broker strategized_proxy_broker;
- return &strategized_proxy_broker;
-}
-
-POA_IR::_TAO_ConstantDef_Strategized_Proxy_Broker::_TAO_ConstantDef_Strategized_Proxy_Broker (void)
-{
- for (int i = 0; i < TAO_Collocation_Strategies::CS_LAST; ++i)
- this->proxy_cache_[i] = 0;
-
-}
-
-POA_IR::_TAO_ConstantDef_Strategized_Proxy_Broker::~_TAO_ConstantDef_Strategized_Proxy_Broker (void)
-{
- for (int i = 0; i < TAO_Collocation_Strategies::CS_LAST; ++i)
- delete this->proxy_cache_[i];
-
-}
-
-_TAO_ConstantDef_Proxy_Impl&
-POA_IR::_TAO_ConstantDef_Strategized_Proxy_Broker::select_proxy (
- IR_ConstantDef *object,
- CORBA::Environment &ACE_TRY_ENV
- )
-{
- int strategy =
- TAO_ORB_Core::collocation_strategy (object);
-
- if (this->proxy_cache_[strategy] != 0)
- return *this->proxy_cache_[strategy];
-
- this->create_proxy (strategy, ACE_TRY_ENV);
- ACE_CHECK_RETURN (*this->proxy_cache_[strategy]);
-
- return *this->proxy_cache_[strategy];
-
-}
-
-void
-POA_IR::_TAO_ConstantDef_Strategized_Proxy_Broker::create_proxy (
- int strategy,
- CORBA::Environment &ACE_TRY_ENV
- )
-{
- ACE_GUARD (TAO_SYNCH_MUTEX, guard, this->mutex_);
-
- if (this->proxy_cache_[strategy] == 0)
- {
- switch (strategy)
- {
- case TAO_Collocation_Strategies::CS_THRU_POA_STRATEGY:
- ACE_NEW_THROW_EX (
- this->proxy_cache_[strategy],
- _TAO_ConstantDef_ThruPOA_Proxy_Impl,
- CORBA::NO_MEMORY ()
- );
- ACE_CHECK;
- break;
-
- case TAO_Collocation_Strategies::CS_REMOTE_STRATEGY:
- default:
- ACE_NEW_THROW_EX (
- this->proxy_cache_[strategy],
- _TAO_ConstantDef_Remote_Proxy_Impl,
- CORBA::NO_MEMORY ()
- );
- ACE_CHECK;
- break;
-
- }
-
- }
-}
-
-
-//
-// End Strategized Proxy Broker Implementation
-///////////////////////////////////////////////////////////////////////
-
-
-_TAO_ConstantDef_Proxy_Broker *
-_TAO_ConstantDef_Proxy_Broker_Factory_function (CORBA::Object_ptr obj)
-{
- ACE_UNUSED_ARG (obj);
- return ::POA_IR::_TAO_ConstantDef_Strategized_Proxy_Broker::the_TAO_ConstantDef_Strategized_Proxy_Broker();
-}
-
-int
-_TAO_ConstantDef_Proxy_Broker_Factory_Initializer (long _dummy_)
-{
- ACE_UNUSED_ARG (_dummy_);
-
- _TAO_ConstantDef_Proxy_Broker_Factory_function_pointer =
- _TAO_ConstantDef_Proxy_Broker_Factory_function;
-
- return 0;
-}
-
-static int _TAO_ConstantDef_Proxy_Broker_Stub_Factory_Initializer_Scarecrow =
- _TAO_ConstantDef_Proxy_Broker_Factory_Initializer (ACE_reinterpret_cast (long, _TAO_ConstantDef_Proxy_Broker_Factory_Initializer));
-
-
-///////////////////////////////////////////////////////////////////////
-// ThruPOA Proxy Implementation
-//
-
-POA_IR::_TAO_ConstantDef_ThruPOA_Proxy_Impl::_TAO_ConstantDef_ThruPOA_Proxy_Impl (void)
-{}
-
-// ThruPOA Implementation of the IDL interface methods
-
-CORBA::TypeCode_ptr POA_IR::_TAO_ConstantDef_ThruPOA_Proxy_Impl::type (
- CORBA_Object *_collocated_tao_target_,
- CORBA::Environment &ACE_TRY_ENV
- )
- ACE_THROW_SPEC ((
- CORBA::SystemException
- ))
-{
- CORBA::TypeCode_var _tao_retval;
- ACE_UNUSED_ARG (_tao_retval);
- TAO_Object_Adapter::Servant_Upcall servant_upcall (
- _collocated_tao_target_->_stubobj ()->servant_orb_var ()->orb_core ()
- );
- CORBA::Object_var forward_to;
- servant_upcall.prepare_for_upcall (
- _collocated_tao_target_->_object_key (),
- "type",
- forward_to.out (),
- ACE_TRY_ENV
- );
- ACE_CHECK_RETURN (0);
- return ACE_reinterpret_cast (
- POA_IR::ConstantDef_ptr,
- servant_upcall.servant ()->_downcast (
- "IDL:omg.org/IR/ConstantDef:1.0"
- )
- )->type (
- ACE_TRY_ENV
- );
-}
-
-IR_IDLType_ptr POA_IR::_TAO_ConstantDef_ThruPOA_Proxy_Impl::type_def (
- CORBA_Object *_collocated_tao_target_,
- CORBA::Environment &ACE_TRY_ENV
- )
- ACE_THROW_SPEC ((
- CORBA::SystemException
- ))
-{
- IR_IDLType_var _tao_retval;
- ACE_UNUSED_ARG (_tao_retval);
- TAO_Object_Adapter::Servant_Upcall servant_upcall (
- _collocated_tao_target_->_stubobj ()->servant_orb_var ()->orb_core ()
- );
- CORBA::Object_var forward_to;
- servant_upcall.prepare_for_upcall (
- _collocated_tao_target_->_object_key (),
- "type_def",
- forward_to.out (),
- ACE_TRY_ENV
- );
- ACE_CHECK_RETURN (0);
- return ACE_reinterpret_cast (
- POA_IR::ConstantDef_ptr,
- servant_upcall.servant ()->_downcast (
- "IDL:omg.org/IR/ConstantDef:1.0"
- )
- )->type_def (
- ACE_TRY_ENV
- );
-}
-
-void POA_IR::_TAO_ConstantDef_ThruPOA_Proxy_Impl::type_def (
- CORBA_Object *_collocated_tao_target_,
- IR_IDLType_ptr type_def,
- CORBA::Environment &ACE_TRY_ENV
- )
- ACE_THROW_SPEC ((
- CORBA::SystemException
- ))
-{
- TAO_Object_Adapter::Servant_Upcall servant_upcall (
- _collocated_tao_target_->_stubobj ()->servant_orb_var ()->orb_core ()
- );
- CORBA::Object_var forward_to;
- servant_upcall.prepare_for_upcall (
- _collocated_tao_target_->_object_key (),
- "type_def",
- forward_to.out (),
- ACE_TRY_ENV
- );
- ACE_CHECK;
- ACE_reinterpret_cast (
- POA_IR::ConstantDef_ptr,
- servant_upcall.servant ()->_downcast (
- "IDL:omg.org/IR/ConstantDef:1.0"
- )
- )->type_def (
- type_def,
- ACE_TRY_ENV
- );
- return;
-}
-
-CORBA::Any * POA_IR::_TAO_ConstantDef_ThruPOA_Proxy_Impl::value (
- CORBA_Object *_collocated_tao_target_,
- CORBA::Environment &ACE_TRY_ENV
- )
- ACE_THROW_SPEC ((
- CORBA::SystemException
- ))
-{
- CORBA::Any_var _tao_retval;
- ACE_UNUSED_ARG (_tao_retval);
- TAO_Object_Adapter::Servant_Upcall servant_upcall (
- _collocated_tao_target_->_stubobj ()->servant_orb_var ()->orb_core ()
- );
- CORBA::Object_var forward_to;
- servant_upcall.prepare_for_upcall (
- _collocated_tao_target_->_object_key (),
- "value",
- forward_to.out (),
- ACE_TRY_ENV
- );
- ACE_CHECK_RETURN (0);
- return ACE_reinterpret_cast (
- POA_IR::ConstantDef_ptr,
- servant_upcall.servant ()->_downcast (
- "IDL:omg.org/IR/ConstantDef:1.0"
- )
- )->value (
- ACE_TRY_ENV
- );
-}
-
-void POA_IR::_TAO_ConstantDef_ThruPOA_Proxy_Impl::value (
- CORBA_Object *_collocated_tao_target_,
- const CORBA::Any & value,
- CORBA::Environment &ACE_TRY_ENV
- )
- ACE_THROW_SPEC ((
- CORBA::SystemException
- ))
-{
- TAO_Object_Adapter::Servant_Upcall servant_upcall (
- _collocated_tao_target_->_stubobj ()->servant_orb_var ()->orb_core ()
- );
- CORBA::Object_var forward_to;
- servant_upcall.prepare_for_upcall (
- _collocated_tao_target_->_object_key (),
- "value",
- forward_to.out (),
- ACE_TRY_ENV
- );
- ACE_CHECK;
- ACE_reinterpret_cast (
- POA_IR::ConstantDef_ptr,
- servant_upcall.servant ()->_downcast (
- "IDL:omg.org/IR/ConstantDef:1.0"
- )
- )->value (
- value,
- ACE_TRY_ENV
- );
- return;
-}
-
-//
-// End ThruPOA Proxy Implementation
-///////////////////////////////////////////////////////////////////////
-
-// skeleton constructor
-POA_IR::ConstantDef::ConstantDef (void)
-{
- this->optable_ = &tao_IR_ConstantDef_optable;
-}
-
-// copy ctor
-POA_IR::ConstantDef::ConstantDef (const ConstantDef& rhs)
- : ACE_NESTED_CLASS (POA_IR,Contained) (rhs),
- POA_CORBA_IRObject (rhs),
- TAO_ServantBase (rhs)
-{}
-
-// skeleton destructor
-POA_IR::ConstantDef::~ConstantDef (void)
-{
-}
-
-void POA_IR::ConstantDef::_get_type_skel (
- TAO_ServerRequest &_tao_server_request,
- void *_tao_object_reference,
- void * /* context */,
- CORBA::Environment &ACE_TRY_ENV
-)
-{
- POA_IR::ConstantDef *_tao_impl = (POA_IR::ConstantDef *)_tao_object_reference;
-
- CORBA::TypeCode_var _tao_retval;
-
-#if (TAO_HAS_INTERCEPTORS == 1)
- TAO_ServerRequestInterceptor_Adapter _tao_vfr (
- _tao_server_request.orb_core ()->server_request_interceptors (),
- _tao_server_request.interceptor_count ()
- );
-
- POA_IR::ConstantDef::TAO_ServerRequestInfo_IR_ConstantDef_type_get ri (
- _tao_server_request,
- _tao_impl,
- ACE_TRY_ENV
- );
-
- ACE_TRY
- {
- _tao_vfr.receive_request (&ri, ACE_TRY_ENV);
- ACE_TRY_CHECK;
-
-#endif /* TAO_HAS_INTERCEPTORS */
- _tao_retval =
- _tao_impl->type (
- ACE_TRY_ENV
- );
- TAO_INTERCEPTOR_CHECK;
-
-#if (TAO_HAS_INTERCEPTORS == 1)
- CORBA::TypeCode_ptr _tao_retval_info = _tao_retval._retn ();
- ri.result (_tao_retval_info);
- _tao_retval = _tao_retval_info;
- ri.reply_status (PortableInterceptor::SUCCESSFUL);
- _tao_vfr.send_reply (&ri, ACE_TRY_ENV);
- ACE_TRY_CHECK;
- }
- ACE_CATCH (PortableInterceptor::ForwardRequest, exc)
- {
- ri.forward_reference (exc);
- _tao_vfr.send_other (
- &ri,
- ACE_TRY_ENV
- );
- ACE_TRY_CHECK;
- _tao_server_request.forward_location (exc.forward.in ());
- }
- ACE_CATCHANY
- {
- ri.exception (&ACE_ANY_EXCEPTION);
- _tao_vfr.send_exception (
- &ri,
- ACE_TRY_ENV
- );
- ACE_TRY_CHECK;
- ACE_RE_THROW;
- }
- ACE_ENDTRY;
- ACE_CHECK;
-#endif /* TAO_HAS_INTERCEPTORS */
-
- _tao_server_request.init_reply ();
-
- TAO_OutputCDR &_tao_out = _tao_server_request.outgoing ();
-
- if (!(
- (_tao_out << _tao_retval.in ())
- ))
- ACE_THROW (CORBA::MARSHAL());
-
- // In case ACE_TRY_ENV is not used in this function
- ACE_UNUSED_ARG (ACE_TRY_ENV);
-}
-
-void POA_IR::ConstantDef::_get_type_def_skel (
- TAO_ServerRequest &_tao_server_request,
- void *_tao_object_reference,
- void * /* context */,
- CORBA::Environment &ACE_TRY_ENV
-)
-{
- POA_IR::ConstantDef *_tao_impl = (POA_IR::ConstantDef *)_tao_object_reference;
-
- IR_IDLType_var _tao_retval;
-
-#if (TAO_HAS_INTERCEPTORS == 1)
- TAO_ServerRequestInterceptor_Adapter _tao_vfr (
- _tao_server_request.orb_core ()->server_request_interceptors (),
- _tao_server_request.interceptor_count ()
- );
-
- POA_IR::ConstantDef::TAO_ServerRequestInfo_IR_ConstantDef_type_def_get ri (
- _tao_server_request,
- _tao_impl,
- ACE_TRY_ENV
- );
-
- ACE_TRY
- {
- _tao_vfr.receive_request (&ri, ACE_TRY_ENV);
- ACE_TRY_CHECK;
-
-#endif /* TAO_HAS_INTERCEPTORS */
- _tao_retval =
- _tao_impl->type_def (
- ACE_TRY_ENV
- );
- TAO_INTERCEPTOR_CHECK;
-
-#if (TAO_HAS_INTERCEPTORS == 1)
- IR_IDLType_ptr _tao_retval_info = _tao_retval._retn ();
- ri.result (_tao_retval_info);
- _tao_retval = _tao_retval_info;
- ri.reply_status (PortableInterceptor::SUCCESSFUL);
- _tao_vfr.send_reply (&ri, ACE_TRY_ENV);
- ACE_TRY_CHECK;
- }
- ACE_CATCH (PortableInterceptor::ForwardRequest, exc)
- {
- ri.forward_reference (exc);
- _tao_vfr.send_other (
- &ri,
- ACE_TRY_ENV
- );
- ACE_TRY_CHECK;
- _tao_server_request.forward_location (exc.forward.in ());
- }
- ACE_CATCHANY
- {
- ri.exception (&ACE_ANY_EXCEPTION);
- _tao_vfr.send_exception (
- &ri,
- ACE_TRY_ENV
- );
- ACE_TRY_CHECK;
- ACE_RE_THROW;
- }
- ACE_ENDTRY;
- ACE_CHECK;
-#endif /* TAO_HAS_INTERCEPTORS */
-
- _tao_server_request.init_reply ();
-
- TAO_OutputCDR &_tao_out = _tao_server_request.outgoing ();
-
- if (!(
- (_tao_out << _tao_retval.in ())
- ))
- ACE_THROW (CORBA::MARSHAL());
-
- // In case ACE_TRY_ENV is not used in this function
- ACE_UNUSED_ARG (ACE_TRY_ENV);
-}
-
-void POA_IR::ConstantDef::_set_type_def_skel (
- TAO_ServerRequest &_tao_server_request,
- void *_tao_object_reference,
- void * /* context */,
- CORBA::Environment &ACE_TRY_ENV
-)
-{
- TAO_InputCDR &_tao_in = _tao_server_request.incoming ();
- POA_IR::ConstantDef *_tao_impl = (POA_IR::ConstantDef *)_tao_object_reference;
-
- IR_IDLType_var type_def;
- if (!(
- (_tao_in >> type_def.out ())
- ))
- ACE_THROW (CORBA::MARSHAL () );
-
-#if (TAO_HAS_INTERCEPTORS == 1)
- TAO_ServerRequestInterceptor_Adapter _tao_vfr (
- _tao_server_request.orb_core ()->server_request_interceptors (),
- _tao_server_request.interceptor_count ()
- );
-
- POA_IR::ConstantDef::TAO_ServerRequestInfo_IR_ConstantDef_type_def_set ri (
- _tao_server_request,
- _tao_impl,
- type_def.in (),
- ACE_TRY_ENV
- );
-
- ACE_TRY
- {
- _tao_vfr.receive_request (&ri, ACE_TRY_ENV);
- ACE_TRY_CHECK;
-
-#endif /* TAO_HAS_INTERCEPTORS */
-
- _tao_impl->type_def (
- type_def.in (),
- ACE_TRY_ENV
- );
- TAO_INTERCEPTOR_CHECK;
-
-#if (TAO_HAS_INTERCEPTORS == 1)
- ri.reply_status (PortableInterceptor::SUCCESSFUL);
- _tao_vfr.send_reply (&ri, ACE_TRY_ENV);
- ACE_TRY_CHECK;
- }
- ACE_CATCH (PortableInterceptor::ForwardRequest, exc)
- {
- ri.forward_reference (exc);
- _tao_vfr.send_other (
- &ri,
- ACE_TRY_ENV
- );
- ACE_TRY_CHECK;
- _tao_server_request.forward_location (exc.forward.in ());
- }
- ACE_CATCHANY
- {
- ri.exception (&ACE_ANY_EXCEPTION);
- _tao_vfr.send_exception (
- &ri,
- ACE_TRY_ENV
- );
- ACE_TRY_CHECK;
- ACE_RE_THROW;
- }
- ACE_ENDTRY;
- ACE_CHECK;
-#endif /* TAO_HAS_INTERCEPTORS */
-
- _tao_server_request.init_reply ();
-
- // In case ACE_TRY_ENV is not used in this function
- ACE_UNUSED_ARG (ACE_TRY_ENV);
-}
-
-void POA_IR::ConstantDef::_get_value_skel (
- TAO_ServerRequest &_tao_server_request,
- void *_tao_object_reference,
- void * /* context */,
- CORBA::Environment &ACE_TRY_ENV
-)
-{
- POA_IR::ConstantDef *_tao_impl = (POA_IR::ConstantDef *)_tao_object_reference;
-
- CORBA::Any_var _tao_retval;
-
-#if (TAO_HAS_INTERCEPTORS == 1)
- TAO_ServerRequestInterceptor_Adapter _tao_vfr (
- _tao_server_request.orb_core ()->server_request_interceptors (),
- _tao_server_request.interceptor_count ()
- );
-
- POA_IR::ConstantDef::TAO_ServerRequestInfo_IR_ConstantDef_value_get ri (
- _tao_server_request,
- _tao_impl,
- ACE_TRY_ENV
- );
-
- ACE_TRY
- {
- _tao_vfr.receive_request (&ri, ACE_TRY_ENV);
- ACE_TRY_CHECK;
-
-#endif /* TAO_HAS_INTERCEPTORS */
- _tao_retval =
- _tao_impl->value (
- ACE_TRY_ENV
- );
- TAO_INTERCEPTOR_CHECK;
-
-#if (TAO_HAS_INTERCEPTORS == 1)
- CORBA::Any * _tao_retval_info = _tao_retval._retn ();
- ri.result (_tao_retval_info);
- _tao_retval = _tao_retval_info;
- ri.reply_status (PortableInterceptor::SUCCESSFUL);
- _tao_vfr.send_reply (&ri, ACE_TRY_ENV);
- ACE_TRY_CHECK;
- }
- ACE_CATCH (PortableInterceptor::ForwardRequest, exc)
- {
- ri.forward_reference (exc);
- _tao_vfr.send_other (
- &ri,
- ACE_TRY_ENV
- );
- ACE_TRY_CHECK;
- _tao_server_request.forward_location (exc.forward.in ());
- }
- ACE_CATCHANY
- {
- ri.exception (&ACE_ANY_EXCEPTION);
- _tao_vfr.send_exception (
- &ri,
- ACE_TRY_ENV
- );
- ACE_TRY_CHECK;
- ACE_RE_THROW;
- }
- ACE_ENDTRY;
- ACE_CHECK;
-#endif /* TAO_HAS_INTERCEPTORS */
-
- _tao_server_request.init_reply ();
-
- TAO_OutputCDR &_tao_out = _tao_server_request.outgoing ();
-
- if (!(
- (_tao_out << _tao_retval.in ())
- ))
- ACE_THROW (CORBA::MARSHAL());
-
- // In case ACE_TRY_ENV is not used in this function
- ACE_UNUSED_ARG (ACE_TRY_ENV);
-}
-
-void POA_IR::ConstantDef::_set_value_skel (
- TAO_ServerRequest &_tao_server_request,
- void *_tao_object_reference,
- void * /* context */,
- CORBA::Environment &ACE_TRY_ENV
-)
-{
- TAO_InputCDR &_tao_in = _tao_server_request.incoming ();
- POA_IR::ConstantDef *_tao_impl = (POA_IR::ConstantDef *)_tao_object_reference;
-
- CORBA::Any value;
- if (!(
- (_tao_in >> value)
- ))
- ACE_THROW (CORBA::MARSHAL () );
-
-#if (TAO_HAS_INTERCEPTORS == 1)
- TAO_ServerRequestInterceptor_Adapter _tao_vfr (
- _tao_server_request.orb_core ()->server_request_interceptors (),
- _tao_server_request.interceptor_count ()
- );
-
- POA_IR::ConstantDef::TAO_ServerRequestInfo_IR_ConstantDef_value_set ri (
- _tao_server_request,
- _tao_impl,
- value,
- ACE_TRY_ENV
- );
-
- ACE_TRY
- {
- _tao_vfr.receive_request (&ri, ACE_TRY_ENV);
- ACE_TRY_CHECK;
-
-#endif /* TAO_HAS_INTERCEPTORS */
-
- _tao_impl->value (
- value,
- ACE_TRY_ENV
- );
- TAO_INTERCEPTOR_CHECK;
-
-#if (TAO_HAS_INTERCEPTORS == 1)
- ri.reply_status (PortableInterceptor::SUCCESSFUL);
- _tao_vfr.send_reply (&ri, ACE_TRY_ENV);
- ACE_TRY_CHECK;
- }
- ACE_CATCH (PortableInterceptor::ForwardRequest, exc)
- {
- ri.forward_reference (exc);
- _tao_vfr.send_other (
- &ri,
- ACE_TRY_ENV
- );
- ACE_TRY_CHECK;
- _tao_server_request.forward_location (exc.forward.in ());
- }
- ACE_CATCHANY
- {
- ri.exception (&ACE_ANY_EXCEPTION);
- _tao_vfr.send_exception (
- &ri,
- ACE_TRY_ENV
- );
- ACE_TRY_CHECK;
- ACE_RE_THROW;
- }
- ACE_ENDTRY;
- ACE_CHECK;
-#endif /* TAO_HAS_INTERCEPTORS */
-
- _tao_server_request.init_reply ();
-
- // In case ACE_TRY_ENV is not used in this function
- ACE_UNUSED_ARG (ACE_TRY_ENV);
-}
-
-void POA_IR::ConstantDef::_is_a_skel (
- TAO_ServerRequest &_tao_server_request,
- void * _tao_object_reference,
- void * /* context */,
- CORBA::Environment &ACE_TRY_ENV
- )
-{
- TAO_InputCDR &_tao_in = _tao_server_request.incoming ();
- POA_IR::ConstantDef *_tao_impl = (POA_IR::ConstantDef *) _tao_object_reference;
- CORBA::Boolean _tao_retval = 0;
- CORBA::String_var value;
- if (!((_tao_in >> value.out ())))
- ACE_THROW (CORBA::MARSHAL ());
-
- _tao_retval = _tao_impl->_is_a (value.in (), ACE_TRY_ENV);
- ACE_CHECK;
-
- _tao_server_request.init_reply ();
- TAO_OutputCDR &_tao_out = _tao_server_request.outgoing ();
- if (!((_tao_out << CORBA::Any::from_boolean (_tao_retval))))
- ACE_THROW (CORBA::MARSHAL ());
-}
-
-void POA_IR::ConstantDef::_non_existent_skel (
- TAO_ServerRequest &_tao_server_request,
- void * _tao_object_reference,
- void * /* context */,
- CORBA::Environment &ACE_TRY_ENV
- )
-{
- POA_IR::ConstantDef *_tao_impl = (POA_IR::ConstantDef *) _tao_object_reference;
- CORBA::Boolean _tao_retval = _tao_impl->_non_existent (ACE_TRY_ENV);
- ACE_CHECK;
-
- _tao_server_request.init_reply ();
- TAO_OutputCDR &_tao_out = _tao_server_request.outgoing ();
- if (!((_tao_out << CORBA::Any::from_boolean (_tao_retval))))
- ACE_THROW (CORBA::MARSHAL ());
-}
-
-CORBA::Boolean POA_IR::ConstantDef::_is_a (
- const char* value,
- CORBA::Environment &ACE_TRY_ENV
- )
-{
- if (
- (!ACE_OS::strcmp ((char *)value, "IDL:omg.org/IR/ConstantDef:1.0")) ||
- (!ACE_OS::strcmp ((char *)value, "IDL:omg.org/IR/Contained:1.0")) ||
- (!ACE_OS::strcmp ((char *)value, "IDL:omg.org/CORBA/IRObject:1.0")) ||
- (!ACE_OS::strcmp ((char *)value, CORBA::_tc_Object->id (ACE_TRY_ENV))))
- return 1;
- else
- return 0;
-}
-
-void* POA_IR::ConstantDef::_downcast (
- const char* logical_type_id
- )
-{
- if (ACE_OS::strcmp (logical_type_id, "IDL:omg.org/IR/ConstantDef:1.0") == 0)
- return ACE_static_cast (POA_IR::ConstantDef_ptr, this);
- if (ACE_OS::strcmp (logical_type_id, "IDL:omg.org/IR/Contained:1.0") == 0)
- return ACE_static_cast (POA_IR::Contained_ptr, this);
- if (ACE_OS::strcmp (logical_type_id, "IDL:omg.org/CORBA/IRObject:1.0") == 0)
- return ACE_static_cast (POA_CORBA_IRObject_ptr, this);
- if (ACE_OS::strcmp (logical_type_id, "IDL:omg.org/CORBA/Object:1.0") == 0)
- return ACE_static_cast(PortableServer::Servant, this);
- return 0;
-}
-
-void POA_IR::ConstantDef::_dispatch (TAO_ServerRequest &req, void *context, CORBA::Environment &ACE_TRY_ENV)
-{
- this->synchronous_upcall_dispatch(req, context, this, ACE_TRY_ENV);
-}
-
-const char* POA_IR::ConstantDef::_interface_repository_id (void) const
-{
- return "IDL:omg.org/IR/ConstantDef:1.0";
-}
-
-IR::ConstantDef*
-POA_IR::ConstantDef::_this (CORBA_Environment &ACE_TRY_ENV)
-{
- TAO_Stub *stub = this->_create_stub (ACE_TRY_ENV);
- ACE_CHECK_RETURN (0);
-
- CORBA::Object_ptr tmp = CORBA::Object::_nil ();
-
- if (stub->servant_orb_var ()->orb_core ()->optimize_collocation_objects ())
- ACE_NEW_RETURN (tmp, CORBA::Object (stub, 1, this), 0);
- else
- ACE_NEW_RETURN (tmp, CORBA::Object (stub, 0, this), 0);
-
- CORBA::Object_var obj = tmp;
- return IR_ConstantDef::_unchecked_narrow (obj.in ());
-}
-
-#if (TAO_HAS_INTERCEPTORS == 1)
-POA_IR::ConstantDef::TAO_ServerRequestInfo_IR_ConstantDef_type_get::TAO_ServerRequestInfo_IR_ConstantDef_type_get (
- TAO_ServerRequest &_tao_server_request,
- POA_IR::ConstantDef *tao_impl,
- CORBA::Environment &
- )
- : TAO_ServerRequestInfo (_tao_server_request),
- _tao_impl (tao_impl)
-{}
-
-Dynamic::ParameterList *
-POA_IR::ConstantDef::TAO_ServerRequestInfo_IR_ConstantDef_type_get::arguments (CORBA::Environment &ACE_TRY_ENV)
- ACE_THROW_SPEC ((CORBA::SystemException))
-{
- // Generate the argument list on demand.
- Dynamic::ParameterList *parameter_list =
- TAO_RequestInfo_Util::make_parameter_list (ACE_TRY_ENV);
- ACE_CHECK_RETURN (0);
-
- return parameter_list;
-}
-
-Dynamic::ExceptionList *
-POA_IR::ConstantDef::TAO_ServerRequestInfo_IR_ConstantDef_type_get::exceptions (CORBA::Environment &ACE_TRY_ENV)
- ACE_THROW_SPEC ((CORBA::SystemException))
-{
- // Generate the exception list on demand.
- Dynamic::ExceptionList *exception_list =
- TAO_RequestInfo_Util::make_exception_list (ACE_TRY_ENV);
- ACE_CHECK_RETURN (0);
-
- return exception_list;
-}
-
-CORBA::Any *
-POA_IR::ConstantDef::TAO_ServerRequestInfo_IR_ConstantDef_type_get::result (CORBA::Environment &ACE_TRY_ENV)
- ACE_THROW_SPEC ((CORBA::SystemException))
-{
- // Generate the result on demand.
- CORBA::Boolean tk_void_any = 0;
- CORBA::Any *result_any =
- TAO_RequestInfo_Util::make_any (tk_void_any, ACE_TRY_ENV);
- ACE_CHECK_RETURN (0);
-
- CORBA::Any_var safe_result_any = result_any;
-
- (*result_any) <<= this->_result;
-
- return safe_result_any._retn ();
-}
-
-char *
-POA_IR::ConstantDef::TAO_ServerRequestInfo_IR_ConstantDef_type_get::target_most_derived_interface (
- CORBA::Environment &)
- ACE_THROW_SPEC ((CORBA::SystemException))
-{
- return
- CORBA::string_dup (this->_tao_impl->_interface_repository_id ());
-}
-
-CORBA::Boolean
-POA_IR::ConstantDef::TAO_ServerRequestInfo_IR_ConstantDef_type_get::target_is_a (
- const char * id,
- CORBA::Environment &ACE_TRY_ENV)
- ACE_THROW_SPEC ((CORBA::SystemException))
-{
- return this->_tao_impl->_is_a (id, ACE_TRY_ENV);
-}
-
-void
-POA_IR::ConstantDef::TAO_ServerRequestInfo_IR_ConstantDef_type_get::result (CORBA::TypeCode_ptr result)
-{
- // Update the result.
- this->_result = result;
-}
-
-POA_IR::ConstantDef::TAO_ServerRequestInfo_IR_ConstantDef_type_def_get::TAO_ServerRequestInfo_IR_ConstantDef_type_def_get (
- TAO_ServerRequest &_tao_server_request,
- POA_IR::ConstantDef *tao_impl,
- CORBA::Environment &
- )
- : TAO_ServerRequestInfo (_tao_server_request),
- _tao_impl (tao_impl)
-{}
-
-Dynamic::ParameterList *
-POA_IR::ConstantDef::TAO_ServerRequestInfo_IR_ConstantDef_type_def_get::arguments (CORBA::Environment &ACE_TRY_ENV)
- ACE_THROW_SPEC ((CORBA::SystemException))
-{
- // Generate the argument list on demand.
- Dynamic::ParameterList *parameter_list =
- TAO_RequestInfo_Util::make_parameter_list (ACE_TRY_ENV);
- ACE_CHECK_RETURN (0);
-
- return parameter_list;
-}
-
-Dynamic::ExceptionList *
-POA_IR::ConstantDef::TAO_ServerRequestInfo_IR_ConstantDef_type_def_get::exceptions (CORBA::Environment &ACE_TRY_ENV)
- ACE_THROW_SPEC ((CORBA::SystemException))
-{
- // Generate the exception list on demand.
- Dynamic::ExceptionList *exception_list =
- TAO_RequestInfo_Util::make_exception_list (ACE_TRY_ENV);
- ACE_CHECK_RETURN (0);
-
- return exception_list;
-}
-
-CORBA::Any *
-POA_IR::ConstantDef::TAO_ServerRequestInfo_IR_ConstantDef_type_def_get::result (CORBA::Environment &ACE_TRY_ENV)
- ACE_THROW_SPEC ((CORBA::SystemException))
-{
- // Generate the result on demand.
- CORBA::Boolean tk_void_any = 0;
- CORBA::Any *result_any =
- TAO_RequestInfo_Util::make_any (tk_void_any, ACE_TRY_ENV);
- ACE_CHECK_RETURN (0);
-
- CORBA::Any_var safe_result_any = result_any;
-
- (*result_any) <<= this->_result;
-
- return safe_result_any._retn ();
-}
-
-char *
-POA_IR::ConstantDef::TAO_ServerRequestInfo_IR_ConstantDef_type_def_get::target_most_derived_interface (
- CORBA::Environment &)
- ACE_THROW_SPEC ((CORBA::SystemException))
-{
- return
- CORBA::string_dup (this->_tao_impl->_interface_repository_id ());
-}
-
-CORBA::Boolean
-POA_IR::ConstantDef::TAO_ServerRequestInfo_IR_ConstantDef_type_def_get::target_is_a (
- const char * id,
- CORBA::Environment &ACE_TRY_ENV)
- ACE_THROW_SPEC ((CORBA::SystemException))
-{
- return this->_tao_impl->_is_a (id, ACE_TRY_ENV);
-}
-
-void
-POA_IR::ConstantDef::TAO_ServerRequestInfo_IR_ConstantDef_type_def_get::result (IR::IDLType_ptr result)
-{
- // Update the result.
- this->_result = result;
-}
-
-POA_IR::ConstantDef::TAO_ServerRequestInfo_IR_ConstantDef_type_def_set::TAO_ServerRequestInfo_IR_ConstantDef_type_def_set (
- TAO_ServerRequest &_tao_server_request,
- POA_IR::ConstantDef *tao_impl,
- IR_IDLType_ptr type_def,
- CORBA::Environment &
- )
- : TAO_ServerRequestInfo (_tao_server_request),
- _tao_impl (tao_impl),
- type_def_ (type_def)
-{}
-
-Dynamic::ParameterList *
-POA_IR::ConstantDef::TAO_ServerRequestInfo_IR_ConstantDef_type_def_set::arguments (CORBA::Environment &ACE_TRY_ENV)
- ACE_THROW_SPEC ((CORBA::SystemException))
-{
- // Generate the argument list on demand.
- Dynamic::ParameterList *parameter_list =
- TAO_RequestInfo_Util::make_parameter_list (ACE_TRY_ENV);
- ACE_CHECK_RETURN (0);
-
- Dynamic::ParameterList_var safe_parameter_list = parameter_list;
-
- CORBA::ULong length_type_def = parameter_list->length ();
- parameter_list->length (length_type_def + 1);
- (*parameter_list)[length_type_def].argument <<= this->type_def_;
-
- (*parameter_list)[length_type_def].mode = Dynamic::PARAM_IN;
-
- return safe_parameter_list._retn ();
-}
-
-Dynamic::ExceptionList *
-POA_IR::ConstantDef::TAO_ServerRequestInfo_IR_ConstantDef_type_def_set::exceptions (CORBA::Environment &ACE_TRY_ENV)
- ACE_THROW_SPEC ((CORBA::SystemException))
-{
- // Generate the exception list on demand.
- Dynamic::ExceptionList *exception_list =
- TAO_RequestInfo_Util::make_exception_list (ACE_TRY_ENV);
- ACE_CHECK_RETURN (0);
-
- return exception_list;
-}
-
-CORBA::Any *
-POA_IR::ConstantDef::TAO_ServerRequestInfo_IR_ConstantDef_type_def_set::result (CORBA::Environment &ACE_TRY_ENV)
- ACE_THROW_SPEC ((CORBA::SystemException))
-{
- // Generate the result on demand.
- CORBA::Boolean tk_void_any = 1;
- CORBA::Any *result_any =
- TAO_RequestInfo_Util::make_any (tk_void_any, ACE_TRY_ENV);
- ACE_CHECK_RETURN (0);
-
- return result_any;
-}
-
-char *
-POA_IR::ConstantDef::TAO_ServerRequestInfo_IR_ConstantDef_type_def_set::target_most_derived_interface (
- CORBA::Environment &)
- ACE_THROW_SPEC ((CORBA::SystemException))
-{
- return
- CORBA::string_dup (this->_tao_impl->_interface_repository_id ());
-}
-
-CORBA::Boolean
-POA_IR::ConstantDef::TAO_ServerRequestInfo_IR_ConstantDef_type_def_set::target_is_a (
- const char * id,
- CORBA::Environment &ACE_TRY_ENV)
- ACE_THROW_SPEC ((CORBA::SystemException))
-{
- return this->_tao_impl->_is_a (id, ACE_TRY_ENV);
-}
-
-POA_IR::ConstantDef::TAO_ServerRequestInfo_IR_ConstantDef_value_get::TAO_ServerRequestInfo_IR_ConstantDef_value_get (
- TAO_ServerRequest &_tao_server_request,
- POA_IR::ConstantDef *tao_impl,
- CORBA::Environment &
- )
- : TAO_ServerRequestInfo (_tao_server_request),
- _tao_impl (tao_impl)
-{}
-
-Dynamic::ParameterList *
-POA_IR::ConstantDef::TAO_ServerRequestInfo_IR_ConstantDef_value_get::arguments (CORBA::Environment &ACE_TRY_ENV)
- ACE_THROW_SPEC ((CORBA::SystemException))
-{
- // Generate the argument list on demand.
- Dynamic::ParameterList *parameter_list =
- TAO_RequestInfo_Util::make_parameter_list (ACE_TRY_ENV);
- ACE_CHECK_RETURN (0);
-
- return parameter_list;
-}
-
-Dynamic::ExceptionList *
-POA_IR::ConstantDef::TAO_ServerRequestInfo_IR_ConstantDef_value_get::exceptions (CORBA::Environment &ACE_TRY_ENV)
- ACE_THROW_SPEC ((CORBA::SystemException))
-{
- // Generate the exception list on demand.
- Dynamic::ExceptionList *exception_list =
- TAO_RequestInfo_Util::make_exception_list (ACE_TRY_ENV);
- ACE_CHECK_RETURN (0);
-
- return exception_list;
-}
-
-CORBA::Any *
-POA_IR::ConstantDef::TAO_ServerRequestInfo_IR_ConstantDef_value_get::result (CORBA::Environment &ACE_TRY_ENV)
- ACE_THROW_SPEC ((CORBA::SystemException))
-{
- // Generate the result on demand.
- CORBA::Boolean tk_void_any = 0;
- CORBA::Any *result_any =
- TAO_RequestInfo_Util::make_any (tk_void_any, ACE_TRY_ENV);
- ACE_CHECK_RETURN (0);
-
- CORBA::Any_var safe_result_any = result_any;
-
- (*result_any) <<= this->_result;
-
- return safe_result_any._retn ();
-}
-
-char *
-POA_IR::ConstantDef::TAO_ServerRequestInfo_IR_ConstantDef_value_get::target_most_derived_interface (
- CORBA::Environment &)
- ACE_THROW_SPEC ((CORBA::SystemException))
-{
- return
- CORBA::string_dup (this->_tao_impl->_interface_repository_id ());
-}
-
-CORBA::Boolean
-POA_IR::ConstantDef::TAO_ServerRequestInfo_IR_ConstantDef_value_get::target_is_a (
- const char * id,
- CORBA::Environment &ACE_TRY_ENV)
- ACE_THROW_SPEC ((CORBA::SystemException))
-{
- return this->_tao_impl->_is_a (id, ACE_TRY_ENV);
-}
-
-void
-POA_IR::ConstantDef::TAO_ServerRequestInfo_IR_ConstantDef_value_get::result (CORBA::Any * result)
-{
- // Update the result.
- this->_result = result;
-}
-
-POA_IR::ConstantDef::TAO_ServerRequestInfo_IR_ConstantDef_value_set::TAO_ServerRequestInfo_IR_ConstantDef_value_set (
- TAO_ServerRequest &_tao_server_request,
- POA_IR::ConstantDef *tao_impl,
- const CORBA::Any & value,
- CORBA::Environment &
- )
- : TAO_ServerRequestInfo (_tao_server_request),
- _tao_impl (tao_impl),
- value_ (value)
-{}
-
-Dynamic::ParameterList *
-POA_IR::ConstantDef::TAO_ServerRequestInfo_IR_ConstantDef_value_set::arguments (CORBA::Environment &ACE_TRY_ENV)
- ACE_THROW_SPEC ((CORBA::SystemException))
-{
- // Generate the argument list on demand.
- Dynamic::ParameterList *parameter_list =
- TAO_RequestInfo_Util::make_parameter_list (ACE_TRY_ENV);
- ACE_CHECK_RETURN (0);
-
- Dynamic::ParameterList_var safe_parameter_list = parameter_list;
-
- CORBA::ULong length_value = parameter_list->length ();
- parameter_list->length (length_value + 1);
- (*parameter_list)[length_value].argument <<= value_;
- (*parameter_list)[length_value].mode = Dynamic::PARAM_IN;
-
- return safe_parameter_list._retn ();
-}
-
-Dynamic::ExceptionList *
-POA_IR::ConstantDef::TAO_ServerRequestInfo_IR_ConstantDef_value_set::exceptions (CORBA::Environment &ACE_TRY_ENV)
- ACE_THROW_SPEC ((CORBA::SystemException))
-{
- // Generate the exception list on demand.
- Dynamic::ExceptionList *exception_list =
- TAO_RequestInfo_Util::make_exception_list (ACE_TRY_ENV);
- ACE_CHECK_RETURN (0);
-
- return exception_list;
-}
-
-CORBA::Any *
-POA_IR::ConstantDef::TAO_ServerRequestInfo_IR_ConstantDef_value_set::result (CORBA::Environment &ACE_TRY_ENV)
- ACE_THROW_SPEC ((CORBA::SystemException))
-{
- // Generate the result on demand.
- CORBA::Boolean tk_void_any = 1;
- CORBA::Any *result_any =
- TAO_RequestInfo_Util::make_any (tk_void_any, ACE_TRY_ENV);
- ACE_CHECK_RETURN (0);
-
- return result_any;
-}
-
-char *
-POA_IR::ConstantDef::TAO_ServerRequestInfo_IR_ConstantDef_value_set::target_most_derived_interface (
- CORBA::Environment &)
- ACE_THROW_SPEC ((CORBA::SystemException))
-{
- return
- CORBA::string_dup (this->_tao_impl->_interface_repository_id ());
-}
-
-CORBA::Boolean
-POA_IR::ConstantDef::TAO_ServerRequestInfo_IR_ConstantDef_value_set::target_is_a (
- const char * id,
- CORBA::Environment &ACE_TRY_ENV)
- ACE_THROW_SPEC ((CORBA::SystemException))
-{
- return this->_tao_impl->_is_a (id, ACE_TRY_ENV);
-}
-
-#endif /* TAO_HAS_INTERCEPTORS */
-
-class TAO_IR_TypedefDef_Perfect_Hash_OpTable : public TAO_Perfect_Hash_OpTable
-{
-private:
- unsigned int hash (const char *str, unsigned int len);
-public:
- const TAO_operation_db_entry * lookup (const char *str, unsigned int len);
-};
-/* starting time is 11:23:09 */
-/* C++ code produced by gperf version 2.8 (ACE version) */
-/* Command-line: gperf -m -M -J -c -C -D -E -T -f 0 -F 0 -a -o -t -p -K opname_ -L C++ -Z TAO_IR_TypedefDef_Perfect_Hash_OpTable -N lookup */
-unsigned int
-TAO_IR_TypedefDef_Perfect_Hash_OpTable::hash (const char *str, unsigned int len)
-{
- static const unsigned char asso_values[] =
- {
-#if defined (ACE_MVS)
- 37, 37, 37, 37, 37, 37, 37, 37, 37, 37,
- 37, 37, 37, 37, 37, 37, 37, 37, 37, 37,
- 37, 37, 37, 37, 37, 37, 37, 37, 37, 37,
- 37, 37, 37, 37, 37, 37, 37, 37, 37, 37,
- 37, 37, 37, 37, 37, 37, 37, 37, 37, 37,
- 37, 37, 37, 37, 37, 37, 37, 37, 37, 37,
- 37, 37, 37, 37, 37, 37, 37, 37, 37, 37,
- 37, 37, 37, 37, 37, 37, 37, 37, 37, 37,
- 37, 37, 37, 37, 37, 37, 37, 37, 37, 37,
- 37, 37, 37, 37, 37, 37, 37, 37, 37, 37,
- 37, 37, 37, 37, 37, 37, 37, 37, 37, 0,
- 37, 37, 37, 37, 37, 37, 37, 37, 37, 37,
- 37, 37, 37, 37, 37, 37, 37, 37, 37, 0,
- 37, 37, 0, 0, 37, 37, 37, 37, 37, 37,
- 37, 37, 37, 37, 37, 37, 37, 37, 0, 0,
- 37, 37, 37, 37, 37, 37, 37, 37, 37, 37,
- 37, 37, 37, 10, 37, 37, 37, 37, 10, 37,
- 37, 37, 37, 37, 37, 37, 37, 37, 37, 37,
- 37, 37, 37, 37, 37, 37, 37, 37, 37, 37,
- 37, 37, 37, 37, 37, 37, 37, 37, 37, 37,
- 37, 37, 37, 37, 37, 37, 37, 37, 37, 37,
- 37, 37, 37, 37, 37, 37, 37, 37, 37, 37,
- 37, 37, 37, 37, 37, 37, 37, 37, 37, 37,
- 37, 37, 37, 37, 37, 37, 37, 37, 37, 37,
- 37, 37, 37, 37, 37, 37, 37, 37, 37, 37,
- 37, 37, 37, 37, 37, 37,
-#else
- 37, 37, 37, 37, 37, 37, 37, 37, 37, 37,
- 37, 37, 37, 37, 37, 37, 37, 37, 37, 37,
- 37, 37, 37, 37, 37, 37, 37, 37, 37, 37,
- 37, 37, 37, 37, 37, 37, 37, 37, 37, 37,
- 37, 37, 37, 37, 37, 37, 37, 37, 37, 37,
- 37, 37, 37, 37, 37, 37, 37, 37, 37, 37,
- 37, 37, 37, 37, 37, 37, 37, 37, 37, 37,
- 37, 37, 37, 37, 37, 37, 37, 37, 37, 37,
- 37, 37, 37, 37, 37, 37, 37, 37, 37, 37,
- 37, 37, 37, 37, 37, 0, 37, 0, 37, 37,
- 0, 0, 37, 37, 37, 37, 37, 37, 37, 0,
- 0, 37, 37, 37, 37, 37, 10, 37, 37, 37,
- 37, 10, 37, 37, 37, 37, 37, 37,
-#endif /* ACE_MVS */
- };
- return len + asso_values[str[len - 1]] + asso_values[str[0]];
-}
-
-const class TAO_operation_db_entry *
-TAO_IR_TypedefDef_Perfect_Hash_OpTable::lookup (const char *str, unsigned int len)
-{
- enum
- {
- TOTAL_KEYWORDS = 16,
- MIN_WORD_LENGTH = 4,
- MAX_WORD_LENGTH = 26,
- MIN_HASH_VALUE = 4,
- MAX_HASH_VALUE = 36,
- HASH_VALUE_RANGE = 33,
- DUPLICATES = 5
- };
-
- static const class TAO_operation_db_entry wordlist[] =
- {
- {"",0},{"",0},{"",0},{"",0},
- {"move", &POA_IR::TypedefDef::move_skel},
- {"_is_a", &POA_IR::TypedefDef::_is_a_skel},
- {"_get_id", &POA_IR::TypedefDef::_get_id_skel},
- {"_set_id", &POA_IR::TypedefDef::_set_id_skel},
- {"describe", &POA_IR::TypedefDef::describe_skel},
- {"_get_name", &POA_IR::TypedefDef::_get_name_skel},
- {"_get_type", &POA_IR::TypedefDef::_get_type_skel},
- {"_set_name", &POA_IR::TypedefDef::_set_name_skel},
- {"_get_version", &POA_IR::TypedefDef::_get_version_skel},
- {"_set_version", &POA_IR::TypedefDef::_set_version_skel},
- {"_get_def_kind", &POA_IR::TypedefDef::_get_def_kind_skel},
- {"_get_defined_in", &POA_IR::TypedefDef::_get_defined_in_skel},
- {"destroy", &POA_IR::TypedefDef::destroy_skel},
- {"_get_absolute_name", &POA_IR::TypedefDef::_get_absolute_name_skel},
- {"_non_existent", &POA_IR::TypedefDef::_non_existent_skel},
- {"_get_containing_repository", &POA_IR::TypedefDef::_get_containing_repository_skel},
- };
-
- static const signed char lookup[] =
- {
- -6, -2, -9, -3, 4, 5, -1, -43, 8, -43, -12, -2, -38, 14,
- -1, 15, -1, 16, 17, -1, -1, -1, -1, 18, -1, -1, -1, -1,
- -1, -1, -1, -1, -1, -1, -1, -1, 19,
- };
-
- if (len <= MAX_WORD_LENGTH && len >= MIN_WORD_LENGTH)
- {
- unsigned int key = hash (str, len);
-
- if (key <= MAX_HASH_VALUE && key >= MIN_HASH_VALUE)
- {
- int slot = lookup[key];
-
- if (slot >= 0 && slot < MAX_HASH_VALUE)
- {
- const char *s = wordlist[slot].opname_;
-
- if (*str == *s && !strncmp (str + 1, s + 1, len - 1))
- return &wordlist[slot];
- }
- else if (slot < 0 && slot >= -MAX_HASH_VALUE)
- return 0;
- else
- {
- unsigned int offset = key + slot + (slot > 0 ? -MAX_HASH_VALUE : MAX_HASH_VALUE);
- const class TAO_operation_db_entry *base = &wordlist[-lookup[offset]];
- const class TAO_operation_db_entry *ptr = base + -lookup[offset + 1];
-
- while (--ptr >= base)
- if (*str == *ptr->opname_ && !strncmp (str + 1, ptr->opname_ + 1, len - 1))
- return ptr;
- }
- }
- }
- return 0;
-}
-/* ending time is 11:23:09 */
-static TAO_IR_TypedefDef_Perfect_Hash_OpTable tao_IR_TypedefDef_optable;
-
-///////////////////////////////////////////////////////////////////////
-// Strategized Proxy Broker Implementation
-//
-
-// Factory function Implementation.
-POA_IR::_TAO_TypedefDef_Strategized_Proxy_Broker *POA_IR::_TAO_TypedefDef_Strategized_Proxy_Broker::the_TAO_TypedefDef_Strategized_Proxy_Broker (void)
-{
- static POA_IR::_TAO_TypedefDef_Strategized_Proxy_Broker strategized_proxy_broker;
- return &strategized_proxy_broker;
-}
-
-POA_IR::_TAO_TypedefDef_Strategized_Proxy_Broker::_TAO_TypedefDef_Strategized_Proxy_Broker (void)
-{
- for (int i = 0; i < TAO_Collocation_Strategies::CS_LAST; ++i)
- this->proxy_cache_[i] = 0;
-
-}
-
-POA_IR::_TAO_TypedefDef_Strategized_Proxy_Broker::~_TAO_TypedefDef_Strategized_Proxy_Broker (void)
-{
- for (int i = 0; i < TAO_Collocation_Strategies::CS_LAST; ++i)
- delete this->proxy_cache_[i];
-
-}
-
-_TAO_TypedefDef_Proxy_Impl&
-POA_IR::_TAO_TypedefDef_Strategized_Proxy_Broker::select_proxy (
- IR_TypedefDef *object,
- CORBA::Environment &ACE_TRY_ENV
- )
-{
- int strategy =
- TAO_ORB_Core::collocation_strategy (object);
-
- if (this->proxy_cache_[strategy] != 0)
- return *this->proxy_cache_[strategy];
-
- this->create_proxy (strategy, ACE_TRY_ENV);
- ACE_CHECK_RETURN (*this->proxy_cache_[strategy]);
-
- return *this->proxy_cache_[strategy];
-
-}
-
-void
-POA_IR::_TAO_TypedefDef_Strategized_Proxy_Broker::create_proxy (
- int strategy,
- CORBA::Environment &ACE_TRY_ENV
- )
-{
- ACE_GUARD (TAO_SYNCH_MUTEX, guard, this->mutex_);
-
- if (this->proxy_cache_[strategy] == 0)
- {
- switch (strategy)
- {
- case TAO_Collocation_Strategies::CS_THRU_POA_STRATEGY:
- ACE_NEW_THROW_EX (
- this->proxy_cache_[strategy],
- _TAO_TypedefDef_ThruPOA_Proxy_Impl,
- CORBA::NO_MEMORY ()
- );
- ACE_CHECK;
- break;
-
- case TAO_Collocation_Strategies::CS_REMOTE_STRATEGY:
- default:
- ACE_NEW_THROW_EX (
- this->proxy_cache_[strategy],
- _TAO_TypedefDef_Remote_Proxy_Impl,
- CORBA::NO_MEMORY ()
- );
- ACE_CHECK;
- break;
-
- }
-
- }
-}
-
-
-//
-// End Strategized Proxy Broker Implementation
-///////////////////////////////////////////////////////////////////////
-
-
-_TAO_TypedefDef_Proxy_Broker *
-_TAO_TypedefDef_Proxy_Broker_Factory_function (CORBA::Object_ptr obj)
-{
- ACE_UNUSED_ARG (obj);
- return ::POA_IR::_TAO_TypedefDef_Strategized_Proxy_Broker::the_TAO_TypedefDef_Strategized_Proxy_Broker();
-}
-
-int
-_TAO_TypedefDef_Proxy_Broker_Factory_Initializer (long _dummy_)
-{
- ACE_UNUSED_ARG (_dummy_);
-
- _TAO_TypedefDef_Proxy_Broker_Factory_function_pointer =
- _TAO_TypedefDef_Proxy_Broker_Factory_function;
-
- return 0;
-}
-
-static int _TAO_TypedefDef_Proxy_Broker_Stub_Factory_Initializer_Scarecrow =
- _TAO_TypedefDef_Proxy_Broker_Factory_Initializer (ACE_reinterpret_cast (long, _TAO_TypedefDef_Proxy_Broker_Factory_Initializer));
-
-
-///////////////////////////////////////////////////////////////////////
-// ThruPOA Proxy Implementation
-//
-
-POA_IR::_TAO_TypedefDef_ThruPOA_Proxy_Impl::_TAO_TypedefDef_ThruPOA_Proxy_Impl (void)
-{}
-
-// ThruPOA Implementation of the IDL interface methods
-
-//
-// End ThruPOA Proxy Implementation
-///////////////////////////////////////////////////////////////////////
-
-// skeleton constructor
-POA_IR::TypedefDef::TypedefDef (void)
-{
- this->optable_ = &tao_IR_TypedefDef_optable;
-}
-
-// copy ctor
-POA_IR::TypedefDef::TypedefDef (const TypedefDef& rhs)
- : ACE_NESTED_CLASS (POA_IR,Contained) (rhs),
- ACE_NESTED_CLASS (POA_IR,IDLType) (rhs),
- POA_CORBA_IRObject (rhs),
- TAO_ServantBase (rhs)
-{}
-
-// skeleton destructor
-POA_IR::TypedefDef::~TypedefDef (void)
-{
-}
-
-void POA_IR::TypedefDef::_is_a_skel (
- TAO_ServerRequest &_tao_server_request,
- void * _tao_object_reference,
- void * /* context */,
- CORBA::Environment &ACE_TRY_ENV
- )
-{
- TAO_InputCDR &_tao_in = _tao_server_request.incoming ();
- POA_IR::TypedefDef *_tao_impl = (POA_IR::TypedefDef *) _tao_object_reference;
- CORBA::Boolean _tao_retval = 0;
- CORBA::String_var value;
- if (!((_tao_in >> value.out ())))
- ACE_THROW (CORBA::MARSHAL ());
-
- _tao_retval = _tao_impl->_is_a (value.in (), ACE_TRY_ENV);
- ACE_CHECK;
-
- _tao_server_request.init_reply ();
- TAO_OutputCDR &_tao_out = _tao_server_request.outgoing ();
- if (!((_tao_out << CORBA::Any::from_boolean (_tao_retval))))
- ACE_THROW (CORBA::MARSHAL ());
-}
-
-void POA_IR::TypedefDef::_non_existent_skel (
- TAO_ServerRequest &_tao_server_request,
- void * _tao_object_reference,
- void * /* context */,
- CORBA::Environment &ACE_TRY_ENV
- )
-{
- POA_IR::TypedefDef *_tao_impl = (POA_IR::TypedefDef *) _tao_object_reference;
- CORBA::Boolean _tao_retval = _tao_impl->_non_existent (ACE_TRY_ENV);
- ACE_CHECK;
-
- _tao_server_request.init_reply ();
- TAO_OutputCDR &_tao_out = _tao_server_request.outgoing ();
- if (!((_tao_out << CORBA::Any::from_boolean (_tao_retval))))
- ACE_THROW (CORBA::MARSHAL ());
-}
-
-CORBA::Boolean POA_IR::TypedefDef::_is_a (
- const char* value,
- CORBA::Environment &ACE_TRY_ENV
- )
-{
- if (
- (!ACE_OS::strcmp ((char *)value, "IDL:omg.org/IR/TypedefDef:1.0")) ||
- (!ACE_OS::strcmp ((char *)value, "IDL:omg.org/IR/Contained:1.0")) ||
- (!ACE_OS::strcmp ((char *)value, "IDL:omg.org/IR/IDLType:1.0")) ||
- (!ACE_OS::strcmp ((char *)value, "IDL:omg.org/CORBA/IRObject:1.0")) ||
- (!ACE_OS::strcmp ((char *)value, CORBA::_tc_Object->id (ACE_TRY_ENV))))
- return 1;
- else
- return 0;
-}
-
-void* POA_IR::TypedefDef::_downcast (
- const char* logical_type_id
- )
-{
- if (ACE_OS::strcmp (logical_type_id, "IDL:omg.org/IR/TypedefDef:1.0") == 0)
- return ACE_static_cast (POA_IR::TypedefDef_ptr, this);
- if (ACE_OS::strcmp (logical_type_id, "IDL:omg.org/IR/Contained:1.0") == 0)
- return ACE_static_cast (POA_IR::Contained_ptr, this);
- if (ACE_OS::strcmp (logical_type_id, "IDL:omg.org/IR/IDLType:1.0") == 0)
- return ACE_static_cast (POA_IR::IDLType_ptr, this);
- if (ACE_OS::strcmp (logical_type_id, "IDL:omg.org/CORBA/IRObject:1.0") == 0)
- return ACE_static_cast (POA_CORBA_IRObject_ptr, this);
- if (ACE_OS::strcmp (logical_type_id, "IDL:omg.org/CORBA/Object:1.0") == 0)
- return ACE_static_cast(PortableServer::Servant, this);
- return 0;
-}
-
-void POA_IR::TypedefDef::_dispatch (TAO_ServerRequest &req, void *context, CORBA::Environment &ACE_TRY_ENV)
-{
- this->synchronous_upcall_dispatch(req, context, this, ACE_TRY_ENV);
-}
-
-const char* POA_IR::TypedefDef::_interface_repository_id (void) const
-{
- return "IDL:omg.org/IR/TypedefDef:1.0";
-}
-
-IR::TypedefDef*
-POA_IR::TypedefDef::_this (CORBA_Environment &ACE_TRY_ENV)
-{
- TAO_Stub *stub = this->_create_stub (ACE_TRY_ENV);
- ACE_CHECK_RETURN (0);
-
- CORBA::Object_ptr tmp = CORBA::Object::_nil ();
-
- if (stub->servant_orb_var ()->orb_core ()->optimize_collocation_objects ())
- ACE_NEW_RETURN (tmp, CORBA::Object (stub, 1, this), 0);
- else
- ACE_NEW_RETURN (tmp, CORBA::Object (stub, 0, this), 0);
-
- CORBA::Object_var obj = tmp;
- return IR_TypedefDef::_unchecked_narrow (obj.in ());
-}
-
-#if (TAO_HAS_INTERCEPTORS == 1)
-#endif /* TAO_HAS_INTERCEPTORS */
-
-class TAO_IR_StructDef_Perfect_Hash_OpTable : public TAO_Perfect_Hash_OpTable
-{
-private:
- unsigned int hash (const char *str, unsigned int len);
-public:
- const TAO_operation_db_entry * lookup (const char *str, unsigned int len);
-};
-/* starting time is 11:23:09 */
-/* C++ code produced by gperf version 2.8 (ACE version) */
-/* Command-line: gperf -m -M -J -c -C -D -E -T -f 0 -F 0 -a -o -t -p -K opname_ -L C++ -Z TAO_IR_StructDef_Perfect_Hash_OpTable -N lookup */
-unsigned int
-TAO_IR_StructDef_Perfect_Hash_OpTable::hash (const char *str, unsigned int len)
-{
- static const unsigned char asso_values[] =
- {
-#if defined (ACE_MVS)
- 52, 52, 52, 52, 52, 52, 52, 52, 52, 52,
- 52, 52, 52, 52, 52, 52, 52, 52, 52, 52,
- 52, 52, 52, 52, 52, 52, 52, 52, 52, 52,
- 52, 52, 52, 52, 52, 52, 52, 52, 52, 52,
- 52, 52, 52, 52, 52, 52, 52, 52, 52, 52,
- 52, 52, 52, 52, 52, 52, 52, 52, 52, 52,
- 52, 52, 52, 52, 52, 52, 52, 52, 52, 52,
- 52, 52, 52, 52, 52, 52, 52, 52, 52, 52,
- 52, 52, 52, 52, 52, 52, 52, 52, 52, 52,
- 52, 52, 52, 52, 52, 52, 52, 52, 52, 52,
- 52, 52, 52, 52, 52, 52, 52, 52, 52, 0,
- 52, 52, 52, 52, 52, 52, 52, 52, 52, 52,
- 52, 52, 52, 52, 52, 52, 52, 52, 52, 0,
- 52, 20, 3, 0, 52, 52, 52, 52, 52, 52,
- 52, 52, 52, 52, 52, 52, 52, 10, 15, 5,
- 52, 10, 52, 52, 52, 52, 52, 52, 52, 52,
- 52, 52, 15, 15, 52, 52, 52, 15, 5, 52,
- 52, 52, 52, 52, 52, 52, 52, 52, 52, 52,
- 52, 52, 52, 52, 52, 52, 52, 52, 52, 52,
- 52, 52, 52, 52, 52, 52, 52, 52, 52, 52,
- 52, 52, 52, 52, 52, 52, 52, 52, 52, 52,
- 52, 52, 52, 52, 52, 52, 52, 52, 52, 52,
- 52, 52, 52, 52, 52, 52, 52, 52, 52, 52,
- 52, 52, 52, 52, 52, 52, 52, 52, 52, 52,
- 52, 52, 52, 52, 52, 52, 52, 52, 52, 52,
- 52, 52, 52, 52, 52, 52,
-#else
- 52, 52, 52, 52, 52, 52, 52, 52, 52, 52,
- 52, 52, 52, 52, 52, 52, 52, 52, 52, 52,
- 52, 52, 52, 52, 52, 52, 52, 52, 52, 52,
- 52, 52, 52, 52, 52, 52, 52, 52, 52, 52,
- 52, 52, 52, 52, 52, 52, 52, 52, 52, 52,
- 52, 52, 52, 52, 52, 52, 52, 52, 52, 52,
- 52, 52, 52, 52, 52, 52, 52, 52, 52, 52,
- 52, 52, 52, 52, 52, 52, 52, 52, 52, 52,
- 52, 52, 52, 52, 52, 52, 52, 52, 52, 52,
- 52, 52, 52, 52, 52, 0, 52, 0, 52, 20,
- 3, 0, 52, 52, 52, 52, 52, 52, 10, 15,
- 5, 52, 10, 52, 52, 15, 15, 52, 52, 52,
- 15, 5, 52, 52, 52, 52, 52, 52,
-#endif /* ACE_MVS */
- };
- return len + asso_values[str[len - 1]] + asso_values[str[0]];
-}
-
-const class TAO_operation_db_entry *
-TAO_IR_StructDef_Perfect_Hash_OpTable::lookup (const char *str, unsigned int len)
-{
- enum
- {
- TOTAL_KEYWORDS = 33,
- MIN_WORD_LENGTH = 4,
- MAX_WORD_LENGTH = 26,
- MIN_HASH_VALUE = 5,
- MAX_HASH_VALUE = 51,
- HASH_VALUE_RANGE = 47,
- DUPLICATES = 7
- };
-
- static const class TAO_operation_db_entry wordlist[] =
- {
- {"",0},{"",0},{"",0},{"",0},{"",0},
- {"_is_a", &POA_IR::StructDef::_is_a_skel},
- {"_get_name", &POA_IR::StructDef::_get_name_skel},
- {"_get_type", &POA_IR::StructDef::_get_type_skel},
- {"_set_name", &POA_IR::StructDef::_set_name_skel},
- {"_get_id", &POA_IR::StructDef::_get_id_skel},
- {"_set_id", &POA_IR::StructDef::_set_id_skel},
- {"describe", &POA_IR::StructDef::describe_skel},
- {"destroy", &POA_IR::StructDef::destroy_skel},
- {"_get_def_kind", &POA_IR::StructDef::_get_def_kind_skel},
- {"_get_version", &POA_IR::StructDef::_get_version_skel},
- {"_set_version", &POA_IR::StructDef::_set_version_skel},
- {"_get_absolute_name", &POA_IR::StructDef::_get_absolute_name_skel},
- {"move", &POA_IR::StructDef::move_skel},
- {"_get_defined_in", &POA_IR::StructDef::_get_defined_in_skel},
- {"lookup_name", &POA_IR::StructDef::lookup_name_skel},
- {"lookup", &POA_IR::StructDef::lookup_skel},
- {"_get_members", &POA_IR::StructDef::_get_members_skel},
- {"_set_members", &POA_IR::StructDef::_set_members_skel},
- {"_non_existent", &POA_IR::StructDef::_non_existent_skel},
- {"_get_containing_repository", &POA_IR::StructDef::_get_containing_repository_skel},
- {"create_value", &POA_IR::StructDef::create_value_skel},
- {"create_module", &POA_IR::StructDef::create_module_skel},
- {"create_native", &POA_IR::StructDef::create_native_skel},
- {"describe_contents", &POA_IR::StructDef::describe_contents_skel},
- {"create_interface", &POA_IR::StructDef::create_interface_skel},
- {"create_union", &POA_IR::StructDef::create_union_skel},
- {"create_exception", &POA_IR::StructDef::create_exception_skel},
- {"contents", &POA_IR::StructDef::contents_skel},
- {"create_enum", &POA_IR::StructDef::create_enum_skel},
- {"create_alias", &POA_IR::StructDef::create_alias_skel},
- {"create_struct", &POA_IR::StructDef::create_struct_skel},
- {"create_constant", &POA_IR::StructDef::create_constant_skel},
- {"create_value_box", &POA_IR::StructDef::create_value_box_skel},
- };
-
- static const signed char lookup[] =
- {
- -1, -1, -1, -6, -3, 5, -1, -9, -2, -57, -54, 11, -1, -14,
- -2, 12, 13, -55, 16, 17, 18, 19, -1, -1, -21, -2, 20, -54,
- 23, -26, -2, 24, 25, -55, -1, 28, 29, 30, -1, -1, -1, 31,
- -1, 32, -1, -1, 33, 34, 35, -1, 36, 37,
- };
-
- if (len <= MAX_WORD_LENGTH && len >= MIN_WORD_LENGTH)
- {
- unsigned int key = hash (str, len);
-
- if (key <= MAX_HASH_VALUE && key >= MIN_HASH_VALUE)
- {
- int slot = lookup[key];
-
- if (slot >= 0 && slot < MAX_HASH_VALUE)
- {
- const char *s = wordlist[slot].opname_;
-
- if (*str == *s && !strncmp (str + 1, s + 1, len - 1))
- return &wordlist[slot];
- }
- else if (slot < 0 && slot >= -MAX_HASH_VALUE)
- return 0;
- else
- {
- unsigned int offset = key + slot + (slot > 0 ? -MAX_HASH_VALUE : MAX_HASH_VALUE);
- const class TAO_operation_db_entry *base = &wordlist[-lookup[offset]];
- const class TAO_operation_db_entry *ptr = base + -lookup[offset + 1];
-
- while (--ptr >= base)
- if (*str == *ptr->opname_ && !strncmp (str + 1, ptr->opname_ + 1, len - 1))
- return ptr;
- }
- }
- }
- return 0;
-}
-/* ending time is 11:23:09 */
-static TAO_IR_StructDef_Perfect_Hash_OpTable tao_IR_StructDef_optable;
-
-///////////////////////////////////////////////////////////////////////
-// Strategized Proxy Broker Implementation
-//
-
-// Factory function Implementation.
-POA_IR::_TAO_StructDef_Strategized_Proxy_Broker *POA_IR::_TAO_StructDef_Strategized_Proxy_Broker::the_TAO_StructDef_Strategized_Proxy_Broker (void)
-{
- static POA_IR::_TAO_StructDef_Strategized_Proxy_Broker strategized_proxy_broker;
- return &strategized_proxy_broker;
-}
-
-POA_IR::_TAO_StructDef_Strategized_Proxy_Broker::_TAO_StructDef_Strategized_Proxy_Broker (void)
-{
- for (int i = 0; i < TAO_Collocation_Strategies::CS_LAST; ++i)
- this->proxy_cache_[i] = 0;
-
-}
-
-POA_IR::_TAO_StructDef_Strategized_Proxy_Broker::~_TAO_StructDef_Strategized_Proxy_Broker (void)
-{
- for (int i = 0; i < TAO_Collocation_Strategies::CS_LAST; ++i)
- delete this->proxy_cache_[i];
-
-}
-
-_TAO_StructDef_Proxy_Impl&
-POA_IR::_TAO_StructDef_Strategized_Proxy_Broker::select_proxy (
- IR_StructDef *object,
- CORBA::Environment &ACE_TRY_ENV
- )
-{
- int strategy =
- TAO_ORB_Core::collocation_strategy (object);
-
- if (this->proxy_cache_[strategy] != 0)
- return *this->proxy_cache_[strategy];
-
- this->create_proxy (strategy, ACE_TRY_ENV);
- ACE_CHECK_RETURN (*this->proxy_cache_[strategy]);
-
- return *this->proxy_cache_[strategy];
-
-}
-
-void
-POA_IR::_TAO_StructDef_Strategized_Proxy_Broker::create_proxy (
- int strategy,
- CORBA::Environment &ACE_TRY_ENV
- )
-{
- ACE_GUARD (TAO_SYNCH_MUTEX, guard, this->mutex_);
-
- if (this->proxy_cache_[strategy] == 0)
- {
- switch (strategy)
- {
- case TAO_Collocation_Strategies::CS_THRU_POA_STRATEGY:
- ACE_NEW_THROW_EX (
- this->proxy_cache_[strategy],
- _TAO_StructDef_ThruPOA_Proxy_Impl,
- CORBA::NO_MEMORY ()
- );
- ACE_CHECK;
- break;
-
- case TAO_Collocation_Strategies::CS_REMOTE_STRATEGY:
- default:
- ACE_NEW_THROW_EX (
- this->proxy_cache_[strategy],
- _TAO_StructDef_Remote_Proxy_Impl,
- CORBA::NO_MEMORY ()
- );
- ACE_CHECK;
- break;
-
- }
-
- }
-}
-
-
-//
-// End Strategized Proxy Broker Implementation
-///////////////////////////////////////////////////////////////////////
-
-
-_TAO_StructDef_Proxy_Broker *
-_TAO_StructDef_Proxy_Broker_Factory_function (CORBA::Object_ptr obj)
-{
- ACE_UNUSED_ARG (obj);
- return ::POA_IR::_TAO_StructDef_Strategized_Proxy_Broker::the_TAO_StructDef_Strategized_Proxy_Broker();
-}
-
-int
-_TAO_StructDef_Proxy_Broker_Factory_Initializer (long _dummy_)
-{
- ACE_UNUSED_ARG (_dummy_);
-
- _TAO_StructDef_Proxy_Broker_Factory_function_pointer =
- _TAO_StructDef_Proxy_Broker_Factory_function;
-
- return 0;
-}
-
-static int _TAO_StructDef_Proxy_Broker_Stub_Factory_Initializer_Scarecrow =
- _TAO_StructDef_Proxy_Broker_Factory_Initializer (ACE_reinterpret_cast (long, _TAO_StructDef_Proxy_Broker_Factory_Initializer));
-
-
-///////////////////////////////////////////////////////////////////////
-// ThruPOA Proxy Implementation
-//
-
-POA_IR::_TAO_StructDef_ThruPOA_Proxy_Impl::_TAO_StructDef_ThruPOA_Proxy_Impl (void)
-{}
-
-// ThruPOA Implementation of the IDL interface methods
-
-IR_StructMemberSeq * POA_IR::_TAO_StructDef_ThruPOA_Proxy_Impl::members (
- CORBA_Object *_collocated_tao_target_,
- CORBA::Environment &ACE_TRY_ENV
- )
- ACE_THROW_SPEC ((
- CORBA::SystemException
- ))
-{
- IR_StructMemberSeq_var _tao_retval;
- ACE_UNUSED_ARG (_tao_retval);
- TAO_Object_Adapter::Servant_Upcall servant_upcall (
- _collocated_tao_target_->_stubobj ()->servant_orb_var ()->orb_core ()
- );
- CORBA::Object_var forward_to;
- servant_upcall.prepare_for_upcall (
- _collocated_tao_target_->_object_key (),
- "members",
- forward_to.out (),
- ACE_TRY_ENV
- );
- ACE_CHECK_RETURN (0);
- return ACE_reinterpret_cast (
- POA_IR::StructDef_ptr,
- servant_upcall.servant ()->_downcast (
- "IDL:omg.org/IR/StructDef:1.0"
- )
- )->members (
- ACE_TRY_ENV
- );
-}
-
-void POA_IR::_TAO_StructDef_ThruPOA_Proxy_Impl::members (
- CORBA_Object *_collocated_tao_target_,
- const IR_StructMemberSeq & members,
- CORBA::Environment &ACE_TRY_ENV
- )
- ACE_THROW_SPEC ((
- CORBA::SystemException
- ))
-{
- TAO_Object_Adapter::Servant_Upcall servant_upcall (
- _collocated_tao_target_->_stubobj ()->servant_orb_var ()->orb_core ()
- );
- CORBA::Object_var forward_to;
- servant_upcall.prepare_for_upcall (
- _collocated_tao_target_->_object_key (),
- "members",
- forward_to.out (),
- ACE_TRY_ENV
- );
- ACE_CHECK;
- ACE_reinterpret_cast (
- POA_IR::StructDef_ptr,
- servant_upcall.servant ()->_downcast (
- "IDL:omg.org/IR/StructDef:1.0"
- )
- )->members (
- members,
- ACE_TRY_ENV
- );
- return;
-}
-
-//
-// End ThruPOA Proxy Implementation
-///////////////////////////////////////////////////////////////////////
-
-// skeleton constructor
-POA_IR::StructDef::StructDef (void)
-{
- this->optable_ = &tao_IR_StructDef_optable;
-}
-
-// copy ctor
-POA_IR::StructDef::StructDef (const StructDef& rhs)
- : ACE_NESTED_CLASS (POA_IR,TypedefDef) (rhs),
- ACE_NESTED_CLASS (POA_IR,Container) (rhs),
- ACE_NESTED_CLASS (POA_IR,Contained) (rhs),
- ACE_NESTED_CLASS (POA_IR,IDLType) (rhs),
- POA_CORBA_IRObject (rhs),
- TAO_ServantBase (rhs)
-{}
-
-// skeleton destructor
-POA_IR::StructDef::~StructDef (void)
-{
-}
-
-void POA_IR::StructDef::_get_members_skel (
- TAO_ServerRequest &_tao_server_request,
- void *_tao_object_reference,
- void * /* context */,
- CORBA::Environment &ACE_TRY_ENV
-)
-{
- POA_IR::StructDef *_tao_impl = (POA_IR::StructDef *)_tao_object_reference;
-
- IR_StructMemberSeq_var _tao_retval;
-
-#if (TAO_HAS_INTERCEPTORS == 1)
- TAO_ServerRequestInterceptor_Adapter _tao_vfr (
- _tao_server_request.orb_core ()->server_request_interceptors (),
- _tao_server_request.interceptor_count ()
- );
-
- POA_IR::StructDef::TAO_ServerRequestInfo_IR_StructDef_members_get ri (
- _tao_server_request,
- _tao_impl,
- ACE_TRY_ENV
- );
-
- ACE_TRY
- {
- _tao_vfr.receive_request (&ri, ACE_TRY_ENV);
- ACE_TRY_CHECK;
-
-#endif /* TAO_HAS_INTERCEPTORS */
- _tao_retval =
- _tao_impl->members (
- ACE_TRY_ENV
- );
- TAO_INTERCEPTOR_CHECK;
-
-#if (TAO_HAS_INTERCEPTORS == 1)
- IR_StructMemberSeq * _tao_retval_info = _tao_retval._retn ();
- ri.result (_tao_retval_info);
- _tao_retval = _tao_retval_info;
- ri.reply_status (PortableInterceptor::SUCCESSFUL);
- _tao_vfr.send_reply (&ri, ACE_TRY_ENV);
- ACE_TRY_CHECK;
- }
- ACE_CATCH (PortableInterceptor::ForwardRequest, exc)
- {
- ri.forward_reference (exc);
- _tao_vfr.send_other (
- &ri,
- ACE_TRY_ENV
- );
- ACE_TRY_CHECK;
- _tao_server_request.forward_location (exc.forward.in ());
- }
- ACE_CATCHANY
- {
- ri.exception (&ACE_ANY_EXCEPTION);
- _tao_vfr.send_exception (
- &ri,
- ACE_TRY_ENV
- );
- ACE_TRY_CHECK;
- ACE_RE_THROW;
- }
- ACE_ENDTRY;
- ACE_CHECK;
-#endif /* TAO_HAS_INTERCEPTORS */
-
- _tao_server_request.init_reply ();
-
- TAO_OutputCDR &_tao_out = _tao_server_request.outgoing ();
-
- if (!(
- (_tao_out << _tao_retval.in ())
- ))
- ACE_THROW (CORBA::MARSHAL());
-
- // In case ACE_TRY_ENV is not used in this function
- ACE_UNUSED_ARG (ACE_TRY_ENV);
-}
-
-void POA_IR::StructDef::_set_members_skel (
- TAO_ServerRequest &_tao_server_request,
- void *_tao_object_reference,
- void * /* context */,
- CORBA::Environment &ACE_TRY_ENV
-)
-{
- TAO_InputCDR &_tao_in = _tao_server_request.incoming ();
- POA_IR::StructDef *_tao_impl = (POA_IR::StructDef *)_tao_object_reference;
-
- IR_StructMemberSeq members;
- if (!(
- (_tao_in >> members)
- ))
- ACE_THROW (CORBA::MARSHAL () );
-
-#if (TAO_HAS_INTERCEPTORS == 1)
- TAO_ServerRequestInterceptor_Adapter _tao_vfr (
- _tao_server_request.orb_core ()->server_request_interceptors (),
- _tao_server_request.interceptor_count ()
- );
-
- POA_IR::StructDef::TAO_ServerRequestInfo_IR_StructDef_members_set ri (
- _tao_server_request,
- _tao_impl,
- members,
- ACE_TRY_ENV
- );
-
- ACE_TRY
- {
- _tao_vfr.receive_request (&ri, ACE_TRY_ENV);
- ACE_TRY_CHECK;
-
-#endif /* TAO_HAS_INTERCEPTORS */
-
- _tao_impl->members (
- members,
- ACE_TRY_ENV
- );
- TAO_INTERCEPTOR_CHECK;
-
-#if (TAO_HAS_INTERCEPTORS == 1)
- ri.reply_status (PortableInterceptor::SUCCESSFUL);
- _tao_vfr.send_reply (&ri, ACE_TRY_ENV);
- ACE_TRY_CHECK;
- }
- ACE_CATCH (PortableInterceptor::ForwardRequest, exc)
- {
- ri.forward_reference (exc);
- _tao_vfr.send_other (
- &ri,
- ACE_TRY_ENV
- );
- ACE_TRY_CHECK;
- _tao_server_request.forward_location (exc.forward.in ());
- }
- ACE_CATCHANY
- {
- ri.exception (&ACE_ANY_EXCEPTION);
- _tao_vfr.send_exception (
- &ri,
- ACE_TRY_ENV
- );
- ACE_TRY_CHECK;
- ACE_RE_THROW;
- }
- ACE_ENDTRY;
- ACE_CHECK;
-#endif /* TAO_HAS_INTERCEPTORS */
-
- _tao_server_request.init_reply ();
-
- // In case ACE_TRY_ENV is not used in this function
- ACE_UNUSED_ARG (ACE_TRY_ENV);
-}
-
-void POA_IR::StructDef::_is_a_skel (
- TAO_ServerRequest &_tao_server_request,
- void * _tao_object_reference,
- void * /* context */,
- CORBA::Environment &ACE_TRY_ENV
- )
-{
- TAO_InputCDR &_tao_in = _tao_server_request.incoming ();
- POA_IR::StructDef *_tao_impl = (POA_IR::StructDef *) _tao_object_reference;
- CORBA::Boolean _tao_retval = 0;
- CORBA::String_var value;
- if (!((_tao_in >> value.out ())))
- ACE_THROW (CORBA::MARSHAL ());
-
- _tao_retval = _tao_impl->_is_a (value.in (), ACE_TRY_ENV);
- ACE_CHECK;
-
- _tao_server_request.init_reply ();
- TAO_OutputCDR &_tao_out = _tao_server_request.outgoing ();
- if (!((_tao_out << CORBA::Any::from_boolean (_tao_retval))))
- ACE_THROW (CORBA::MARSHAL ());
-}
-
-void POA_IR::StructDef::_non_existent_skel (
- TAO_ServerRequest &_tao_server_request,
- void * _tao_object_reference,
- void * /* context */,
- CORBA::Environment &ACE_TRY_ENV
- )
-{
- POA_IR::StructDef *_tao_impl = (POA_IR::StructDef *) _tao_object_reference;
- CORBA::Boolean _tao_retval = _tao_impl->_non_existent (ACE_TRY_ENV);
- ACE_CHECK;
-
- _tao_server_request.init_reply ();
- TAO_OutputCDR &_tao_out = _tao_server_request.outgoing ();
- if (!((_tao_out << CORBA::Any::from_boolean (_tao_retval))))
- ACE_THROW (CORBA::MARSHAL ());
-}
-
-CORBA::Boolean POA_IR::StructDef::_is_a (
- const char* value,
- CORBA::Environment &ACE_TRY_ENV
- )
-{
- if (
- (!ACE_OS::strcmp ((char *)value, "IDL:omg.org/IR/StructDef:1.0")) ||
- (!ACE_OS::strcmp ((char *)value, "IDL:omg.org/IR/TypedefDef:1.0")) ||
- (!ACE_OS::strcmp ((char *)value, "IDL:omg.org/IR/Container:1.0")) ||
- (!ACE_OS::strcmp ((char *)value, "IDL:omg.org/IR/Contained:1.0")) ||
- (!ACE_OS::strcmp ((char *)value, "IDL:omg.org/IR/IDLType:1.0")) ||
- (!ACE_OS::strcmp ((char *)value, "IDL:omg.org/CORBA/IRObject:1.0")) ||
- (!ACE_OS::strcmp ((char *)value, CORBA::_tc_Object->id (ACE_TRY_ENV))))
- return 1;
- else
- return 0;
-}
-
-void* POA_IR::StructDef::_downcast (
- const char* logical_type_id
- )
-{
- if (ACE_OS::strcmp (logical_type_id, "IDL:omg.org/IR/StructDef:1.0") == 0)
- return ACE_static_cast (POA_IR::StructDef_ptr, this);
- if (ACE_OS::strcmp (logical_type_id, "IDL:omg.org/IR/TypedefDef:1.0") == 0)
- return ACE_static_cast (POA_IR::TypedefDef_ptr, this);
- if (ACE_OS::strcmp (logical_type_id, "IDL:omg.org/IR/Container:1.0") == 0)
- return ACE_static_cast (POA_IR::Container_ptr, this);
- if (ACE_OS::strcmp (logical_type_id, "IDL:omg.org/IR/Contained:1.0") == 0)
- return ACE_static_cast (POA_IR::Contained_ptr, this);
- if (ACE_OS::strcmp (logical_type_id, "IDL:omg.org/IR/IDLType:1.0") == 0)
- return ACE_static_cast (POA_IR::IDLType_ptr, this);
- if (ACE_OS::strcmp (logical_type_id, "IDL:omg.org/CORBA/IRObject:1.0") == 0)
- return ACE_static_cast (POA_CORBA_IRObject_ptr, this);
- if (ACE_OS::strcmp (logical_type_id, "IDL:omg.org/CORBA/Object:1.0") == 0)
- return ACE_static_cast(PortableServer::Servant, this);
- return 0;
-}
-
-void POA_IR::StructDef::_dispatch (TAO_ServerRequest &req, void *context, CORBA::Environment &ACE_TRY_ENV)
-{
- this->synchronous_upcall_dispatch(req, context, this, ACE_TRY_ENV);
-}
-
-const char* POA_IR::StructDef::_interface_repository_id (void) const
-{
- return "IDL:omg.org/IR/StructDef:1.0";
-}
-
-IR::StructDef*
-POA_IR::StructDef::_this (CORBA_Environment &ACE_TRY_ENV)
-{
- TAO_Stub *stub = this->_create_stub (ACE_TRY_ENV);
- ACE_CHECK_RETURN (0);
-
- CORBA::Object_ptr tmp = CORBA::Object::_nil ();
-
- if (stub->servant_orb_var ()->orb_core ()->optimize_collocation_objects ())
- ACE_NEW_RETURN (tmp, CORBA::Object (stub, 1, this), 0);
- else
- ACE_NEW_RETURN (tmp, CORBA::Object (stub, 0, this), 0);
-
- CORBA::Object_var obj = tmp;
- return IR_StructDef::_unchecked_narrow (obj.in ());
-}
-
-#if (TAO_HAS_INTERCEPTORS == 1)
-POA_IR::StructDef::TAO_ServerRequestInfo_IR_StructDef_members_get::TAO_ServerRequestInfo_IR_StructDef_members_get (
- TAO_ServerRequest &_tao_server_request,
- POA_IR::StructDef *tao_impl,
- CORBA::Environment &
- )
- : TAO_ServerRequestInfo (_tao_server_request),
- _tao_impl (tao_impl)
-{}
-
-Dynamic::ParameterList *
-POA_IR::StructDef::TAO_ServerRequestInfo_IR_StructDef_members_get::arguments (CORBA::Environment &ACE_TRY_ENV)
- ACE_THROW_SPEC ((CORBA::SystemException))
-{
- // Generate the argument list on demand.
- Dynamic::ParameterList *parameter_list =
- TAO_RequestInfo_Util::make_parameter_list (ACE_TRY_ENV);
- ACE_CHECK_RETURN (0);
-
- return parameter_list;
-}
-
-Dynamic::ExceptionList *
-POA_IR::StructDef::TAO_ServerRequestInfo_IR_StructDef_members_get::exceptions (CORBA::Environment &ACE_TRY_ENV)
- ACE_THROW_SPEC ((CORBA::SystemException))
-{
- // Generate the exception list on demand.
- Dynamic::ExceptionList *exception_list =
- TAO_RequestInfo_Util::make_exception_list (ACE_TRY_ENV);
- ACE_CHECK_RETURN (0);
-
- return exception_list;
-}
-
-CORBA::Any *
-POA_IR::StructDef::TAO_ServerRequestInfo_IR_StructDef_members_get::result (CORBA::Environment &ACE_TRY_ENV)
- ACE_THROW_SPEC ((CORBA::SystemException))
-{
- // Generate the result on demand.
- CORBA::Boolean tk_void_any = 0;
- CORBA::Any *result_any =
- TAO_RequestInfo_Util::make_any (tk_void_any, ACE_TRY_ENV);
- ACE_CHECK_RETURN (0);
-
- CORBA::Any_var safe_result_any = result_any;
-
- (*result_any) <<= this->_result;
-
- return safe_result_any._retn ();
-}
-
-char *
-POA_IR::StructDef::TAO_ServerRequestInfo_IR_StructDef_members_get::target_most_derived_interface (
- CORBA::Environment &)
- ACE_THROW_SPEC ((CORBA::SystemException))
-{
- return
- CORBA::string_dup (this->_tao_impl->_interface_repository_id ());
-}
-
-CORBA::Boolean
-POA_IR::StructDef::TAO_ServerRequestInfo_IR_StructDef_members_get::target_is_a (
- const char * id,
- CORBA::Environment &ACE_TRY_ENV)
- ACE_THROW_SPEC ((CORBA::SystemException))
-{
- return this->_tao_impl->_is_a (id, ACE_TRY_ENV);
-}
-
-void
-POA_IR::StructDef::TAO_ServerRequestInfo_IR_StructDef_members_get::result (IR::StructMemberSeq * result)
-{
- // Update the result.
- this->_result = result;
-}
-
-POA_IR::StructDef::TAO_ServerRequestInfo_IR_StructDef_members_set::TAO_ServerRequestInfo_IR_StructDef_members_set (
- TAO_ServerRequest &_tao_server_request,
- POA_IR::StructDef *tao_impl,
- const IR_StructMemberSeq & members,
- CORBA::Environment &
- )
- : TAO_ServerRequestInfo (_tao_server_request),
- _tao_impl (tao_impl),
- members_ (members)
-{}
-
-Dynamic::ParameterList *
-POA_IR::StructDef::TAO_ServerRequestInfo_IR_StructDef_members_set::arguments (CORBA::Environment &ACE_TRY_ENV)
- ACE_THROW_SPEC ((CORBA::SystemException))
-{
- // Generate the argument list on demand.
- Dynamic::ParameterList *parameter_list =
- TAO_RequestInfo_Util::make_parameter_list (ACE_TRY_ENV);
- ACE_CHECK_RETURN (0);
-
- Dynamic::ParameterList_var safe_parameter_list = parameter_list;
-
- CORBA::ULong length_members = parameter_list->length ();
- parameter_list->length (length_members + 1);
- (*parameter_list)[length_members].argument <<= this->members_;
-
- (*parameter_list)[length_members].mode = Dynamic::PARAM_IN;
-
- return safe_parameter_list._retn ();
-}
-
-Dynamic::ExceptionList *
-POA_IR::StructDef::TAO_ServerRequestInfo_IR_StructDef_members_set::exceptions (CORBA::Environment &ACE_TRY_ENV)
- ACE_THROW_SPEC ((CORBA::SystemException))
-{
- // Generate the exception list on demand.
- Dynamic::ExceptionList *exception_list =
- TAO_RequestInfo_Util::make_exception_list (ACE_TRY_ENV);
- ACE_CHECK_RETURN (0);
-
- return exception_list;
-}
-
-CORBA::Any *
-POA_IR::StructDef::TAO_ServerRequestInfo_IR_StructDef_members_set::result (CORBA::Environment &ACE_TRY_ENV)
- ACE_THROW_SPEC ((CORBA::SystemException))
-{
- // Generate the result on demand.
- CORBA::Boolean tk_void_any = 1;
- CORBA::Any *result_any =
- TAO_RequestInfo_Util::make_any (tk_void_any, ACE_TRY_ENV);
- ACE_CHECK_RETURN (0);
-
- return result_any;
-}
-
-char *
-POA_IR::StructDef::TAO_ServerRequestInfo_IR_StructDef_members_set::target_most_derived_interface (
- CORBA::Environment &)
- ACE_THROW_SPEC ((CORBA::SystemException))
-{
- return
- CORBA::string_dup (this->_tao_impl->_interface_repository_id ());
-}
-
-CORBA::Boolean
-POA_IR::StructDef::TAO_ServerRequestInfo_IR_StructDef_members_set::target_is_a (
- const char * id,
- CORBA::Environment &ACE_TRY_ENV)
- ACE_THROW_SPEC ((CORBA::SystemException))
-{
- return this->_tao_impl->_is_a (id, ACE_TRY_ENV);
-}
-
-#endif /* TAO_HAS_INTERCEPTORS */
-
-class TAO_IR_UnionDef_Perfect_Hash_OpTable : public TAO_Perfect_Hash_OpTable
-{
-private:
- unsigned int hash (const char *str, unsigned int len);
-public:
- const TAO_operation_db_entry * lookup (const char *str, unsigned int len);
-};
-/* starting time is 11:23:09 */
-/* C++ code produced by gperf version 2.8 (ACE version) */
-/* Command-line: gperf -m -M -J -c -C -D -E -T -f 0 -F 0 -a -o -t -p -K opname_ -L C++ -Z TAO_IR_UnionDef_Perfect_Hash_OpTable -N lookup */
-unsigned int
-TAO_IR_UnionDef_Perfect_Hash_OpTable::hash (const char *str, unsigned int len)
-{
- static const unsigned char asso_values[] =
- {
-#if defined (ACE_MVS)
- 68, 68, 68, 68, 68, 68, 68, 68, 68, 68,
- 68, 68, 68, 68, 68, 68, 68, 68, 68, 68,
- 68, 68, 68, 68, 68, 68, 68, 68, 68, 68,
- 68, 68, 68, 68, 68, 68, 68, 68, 68, 68,
- 68, 68, 68, 68, 68, 68, 68, 68, 68, 68,
- 68, 68, 68, 68, 68, 68, 68, 68, 68, 68,
- 68, 68, 68, 68, 68, 68, 68, 68, 68, 68,
- 68, 68, 68, 68, 68, 68, 68, 68, 68, 68,
- 68, 68, 68, 68, 68, 68, 68, 68, 68, 68,
- 68, 68, 68, 68, 68, 68, 68, 68, 68, 68,
- 68, 68, 68, 68, 68, 68, 68, 68, 68, 0,
- 68, 68, 68, 68, 68, 68, 68, 68, 68, 68,
- 68, 68, 68, 68, 68, 68, 68, 68, 68, 0,
- 68, 25, 3, 0, 0, 68, 68, 68, 68, 68,
- 68, 68, 68, 68, 68, 68, 68, 10, 0, 10,
- 68, 10, 68, 68, 68, 68, 68, 68, 68, 68,
- 68, 68, 30, 15, 68, 68, 68, 5, 5, 68,
- 68, 68, 68, 68, 68, 68, 68, 68, 68, 68,
- 68, 68, 68, 68, 68, 68, 68, 68, 68, 68,
- 68, 68, 68, 68, 68, 68, 68, 68, 68, 68,
- 68, 68, 68, 68, 68, 68, 68, 68, 68, 68,
- 68, 68, 68, 68, 68, 68, 68, 68, 68, 68,
- 68, 68, 68, 68, 68, 68, 68, 68, 68, 68,
- 68, 68, 68, 68, 68, 68, 68, 68, 68, 68,
- 68, 68, 68, 68, 68, 68, 68, 68, 68, 68,
- 68, 68, 68, 68, 68, 68,
-#else
- 68, 68, 68, 68, 68, 68, 68, 68, 68, 68,
- 68, 68, 68, 68, 68, 68, 68, 68, 68, 68,
- 68, 68, 68, 68, 68, 68, 68, 68, 68, 68,
- 68, 68, 68, 68, 68, 68, 68, 68, 68, 68,
- 68, 68, 68, 68, 68, 68, 68, 68, 68, 68,
- 68, 68, 68, 68, 68, 68, 68, 68, 68, 68,
- 68, 68, 68, 68, 68, 68, 68, 68, 68, 68,
- 68, 68, 68, 68, 68, 68, 68, 68, 68, 68,
- 68, 68, 68, 68, 68, 68, 68, 68, 68, 68,
- 68, 68, 68, 68, 68, 0, 68, 0, 68, 25,
- 3, 0, 0, 68, 68, 68, 68, 68, 10, 0,
- 10, 68, 10, 68, 68, 30, 15, 68, 68, 68,
- 5, 5, 68, 68, 68, 68, 68, 68,
-#endif /* ACE_MVS */
- };
- return len + asso_values[str[len - 1]] + asso_values[str[0]];
-}
-
-const class TAO_operation_db_entry *
-TAO_IR_UnionDef_Perfect_Hash_OpTable::lookup (const char *str, unsigned int len)
-{
- enum
- {
- TOTAL_KEYWORDS = 36,
- MIN_WORD_LENGTH = 4,
- MAX_WORD_LENGTH = 27,
- MIN_HASH_VALUE = 4,
- MAX_HASH_VALUE = 67,
- HASH_VALUE_RANGE = 64,
- DUPLICATES = 8
- };
-
- static const class TAO_operation_db_entry wordlist[] =
- {
- {"",0},{"",0},{"",0},{"",0},
- {"move", &POA_IR::UnionDef::move_skel},
- {"_is_a", &POA_IR::UnionDef::_is_a_skel},
- {"_get_name", &POA_IR::UnionDef::_get_name_skel},
- {"_get_type", &POA_IR::UnionDef::_get_type_skel},
- {"_set_name", &POA_IR::UnionDef::_set_name_skel},
- {"_get_id", &POA_IR::UnionDef::_get_id_skel},
- {"_set_id", &POA_IR::UnionDef::_set_id_skel},
- {"describe", &POA_IR::UnionDef::describe_skel},
- {"destroy", &POA_IR::UnionDef::destroy_skel},
- {"_get_def_kind", &POA_IR::UnionDef::_get_def_kind_skel},
- {"_get_absolute_name", &POA_IR::UnionDef::_get_absolute_name_skel},
- {"lookup_name", &POA_IR::UnionDef::lookup_name_skel},
- {"_get_version", &POA_IR::UnionDef::_get_version_skel},
- {"_set_version", &POA_IR::UnionDef::_set_version_skel},
- {"_get_discriminator_type", &POA_IR::UnionDef::_get_discriminator_type_skel},
- {"_get_defined_in", &POA_IR::UnionDef::_get_defined_in_skel},
- {"lookup", &POA_IR::UnionDef::lookup_skel},
- {"_get_discriminator_type_def", &POA_IR::UnionDef::_get_discriminator_type_def_skel},
- {"_set_discriminator_type_def", &POA_IR::UnionDef::_set_discriminator_type_def_skel},
- {"_non_existent", &POA_IR::UnionDef::_non_existent_skel},
- {"_get_containing_repository", &POA_IR::UnionDef::_get_containing_repository_skel},
- {"create_enum", &POA_IR::UnionDef::create_enum_skel},
- {"create_value", &POA_IR::UnionDef::create_value_skel},
- {"create_module", &POA_IR::UnionDef::create_module_skel},
- {"create_native", &POA_IR::UnionDef::create_native_skel},
- {"create_interface", &POA_IR::UnionDef::create_interface_skel},
- {"_get_members", &POA_IR::UnionDef::_get_members_skel},
- {"_set_members", &POA_IR::UnionDef::_set_members_skel},
- {"create_value_box", &POA_IR::UnionDef::create_value_box_skel},
- {"create_union", &POA_IR::UnionDef::create_union_skel},
- {"describe_contents", &POA_IR::UnionDef::describe_contents_skel},
- {"create_exception", &POA_IR::UnionDef::create_exception_skel},
- {"create_struct", &POA_IR::UnionDef::create_struct_skel},
- {"create_constant", &POA_IR::UnionDef::create_constant_skel},
- {"contents", &POA_IR::UnionDef::contents_skel},
- {"create_alias", &POA_IR::UnionDef::create_alias_skel},
- };
-
- static const signed char lookup[] =
- {
- -1, -1, -6, -3, 4, 5, -1, -9, -2, -74, -70, 11, -1, -16,
- -2, 12, 13, -1, 14, -21, -2, 15, -76, 18, -1, 19, 20, -75,
- 23, -1, -1, 24, -1, -1, -27, -2, 25, 26, -71, -30, -2, 29,
- -70, -1, -1, -1, 32, 33, -1, -1, 34, 35, -1, 36, -1, 37,
- -1, -1, -1, -1, -1, -1, -1, 38, -1, -1, -1, 39,
- };
-
- if (len <= MAX_WORD_LENGTH && len >= MIN_WORD_LENGTH)
- {
- unsigned int key = hash (str, len);
-
- if (key <= MAX_HASH_VALUE && key >= MIN_HASH_VALUE)
- {
- int slot = lookup[key];
-
- if (slot >= 0 && slot < MAX_HASH_VALUE)
- {
- const char *s = wordlist[slot].opname_;
-
- if (*str == *s && !strncmp (str + 1, s + 1, len - 1))
- return &wordlist[slot];
- }
- else if (slot < 0 && slot >= -MAX_HASH_VALUE)
- return 0;
- else
- {
- unsigned int offset = key + slot + (slot > 0 ? -MAX_HASH_VALUE : MAX_HASH_VALUE);
- const class TAO_operation_db_entry *base = &wordlist[-lookup[offset]];
- const class TAO_operation_db_entry *ptr = base + -lookup[offset + 1];
-
- while (--ptr >= base)
- if (*str == *ptr->opname_ && !strncmp (str + 1, ptr->opname_ + 1, len - 1))
- return ptr;
- }
- }
- }
- return 0;
-}
-/* ending time is 11:23:09 */
-static TAO_IR_UnionDef_Perfect_Hash_OpTable tao_IR_UnionDef_optable;
-
-///////////////////////////////////////////////////////////////////////
-// Strategized Proxy Broker Implementation
-//
-
-// Factory function Implementation.
-POA_IR::_TAO_UnionDef_Strategized_Proxy_Broker *POA_IR::_TAO_UnionDef_Strategized_Proxy_Broker::the_TAO_UnionDef_Strategized_Proxy_Broker (void)
-{
- static POA_IR::_TAO_UnionDef_Strategized_Proxy_Broker strategized_proxy_broker;
- return &strategized_proxy_broker;
-}
-
-POA_IR::_TAO_UnionDef_Strategized_Proxy_Broker::_TAO_UnionDef_Strategized_Proxy_Broker (void)
-{
- for (int i = 0; i < TAO_Collocation_Strategies::CS_LAST; ++i)
- this->proxy_cache_[i] = 0;
-
-}
-
-POA_IR::_TAO_UnionDef_Strategized_Proxy_Broker::~_TAO_UnionDef_Strategized_Proxy_Broker (void)
-{
- for (int i = 0; i < TAO_Collocation_Strategies::CS_LAST; ++i)
- delete this->proxy_cache_[i];
-
-}
-
-_TAO_UnionDef_Proxy_Impl&
-POA_IR::_TAO_UnionDef_Strategized_Proxy_Broker::select_proxy (
- IR_UnionDef *object,
- CORBA::Environment &ACE_TRY_ENV
- )
-{
- int strategy =
- TAO_ORB_Core::collocation_strategy (object);
-
- if (this->proxy_cache_[strategy] != 0)
- return *this->proxy_cache_[strategy];
-
- this->create_proxy (strategy, ACE_TRY_ENV);
- ACE_CHECK_RETURN (*this->proxy_cache_[strategy]);
-
- return *this->proxy_cache_[strategy];
-
-}
-
-void
-POA_IR::_TAO_UnionDef_Strategized_Proxy_Broker::create_proxy (
- int strategy,
- CORBA::Environment &ACE_TRY_ENV
- )
-{
- ACE_GUARD (TAO_SYNCH_MUTEX, guard, this->mutex_);
-
- if (this->proxy_cache_[strategy] == 0)
- {
- switch (strategy)
- {
- case TAO_Collocation_Strategies::CS_THRU_POA_STRATEGY:
- ACE_NEW_THROW_EX (
- this->proxy_cache_[strategy],
- _TAO_UnionDef_ThruPOA_Proxy_Impl,
- CORBA::NO_MEMORY ()
- );
- ACE_CHECK;
- break;
-
- case TAO_Collocation_Strategies::CS_REMOTE_STRATEGY:
- default:
- ACE_NEW_THROW_EX (
- this->proxy_cache_[strategy],
- _TAO_UnionDef_Remote_Proxy_Impl,
- CORBA::NO_MEMORY ()
- );
- ACE_CHECK;
- break;
-
- }
-
- }
-}
-
-
-//
-// End Strategized Proxy Broker Implementation
-///////////////////////////////////////////////////////////////////////
-
-
-_TAO_UnionDef_Proxy_Broker *
-_TAO_UnionDef_Proxy_Broker_Factory_function (CORBA::Object_ptr obj)
-{
- ACE_UNUSED_ARG (obj);
- return ::POA_IR::_TAO_UnionDef_Strategized_Proxy_Broker::the_TAO_UnionDef_Strategized_Proxy_Broker();
-}
-
-int
-_TAO_UnionDef_Proxy_Broker_Factory_Initializer (long _dummy_)
-{
- ACE_UNUSED_ARG (_dummy_);
-
- _TAO_UnionDef_Proxy_Broker_Factory_function_pointer =
- _TAO_UnionDef_Proxy_Broker_Factory_function;
-
- return 0;
-}
-
-static int _TAO_UnionDef_Proxy_Broker_Stub_Factory_Initializer_Scarecrow =
- _TAO_UnionDef_Proxy_Broker_Factory_Initializer (ACE_reinterpret_cast (long, _TAO_UnionDef_Proxy_Broker_Factory_Initializer));
-
-
-///////////////////////////////////////////////////////////////////////
-// ThruPOA Proxy Implementation
-//
-
-POA_IR::_TAO_UnionDef_ThruPOA_Proxy_Impl::_TAO_UnionDef_ThruPOA_Proxy_Impl (void)
-{}
-
-// ThruPOA Implementation of the IDL interface methods
-
-CORBA::TypeCode_ptr POA_IR::_TAO_UnionDef_ThruPOA_Proxy_Impl::discriminator_type (
- CORBA_Object *_collocated_tao_target_,
- CORBA::Environment &ACE_TRY_ENV
- )
- ACE_THROW_SPEC ((
- CORBA::SystemException
- ))
-{
- CORBA::TypeCode_var _tao_retval;
- ACE_UNUSED_ARG (_tao_retval);
- TAO_Object_Adapter::Servant_Upcall servant_upcall (
- _collocated_tao_target_->_stubobj ()->servant_orb_var ()->orb_core ()
- );
- CORBA::Object_var forward_to;
- servant_upcall.prepare_for_upcall (
- _collocated_tao_target_->_object_key (),
- "discriminator_type",
- forward_to.out (),
- ACE_TRY_ENV
- );
- ACE_CHECK_RETURN (0);
- return ACE_reinterpret_cast (
- POA_IR::UnionDef_ptr,
- servant_upcall.servant ()->_downcast (
- "IDL:omg.org/IR/UnionDef:1.0"
- )
- )->discriminator_type (
- ACE_TRY_ENV
- );
-}
-
-IR_IDLType_ptr POA_IR::_TAO_UnionDef_ThruPOA_Proxy_Impl::discriminator_type_def (
- CORBA_Object *_collocated_tao_target_,
- CORBA::Environment &ACE_TRY_ENV
- )
- ACE_THROW_SPEC ((
- CORBA::SystemException
- ))
-{
- IR_IDLType_var _tao_retval;
- ACE_UNUSED_ARG (_tao_retval);
- TAO_Object_Adapter::Servant_Upcall servant_upcall (
- _collocated_tao_target_->_stubobj ()->servant_orb_var ()->orb_core ()
- );
- CORBA::Object_var forward_to;
- servant_upcall.prepare_for_upcall (
- _collocated_tao_target_->_object_key (),
- "discriminator_type_def",
- forward_to.out (),
- ACE_TRY_ENV
- );
- ACE_CHECK_RETURN (0);
- return ACE_reinterpret_cast (
- POA_IR::UnionDef_ptr,
- servant_upcall.servant ()->_downcast (
- "IDL:omg.org/IR/UnionDef:1.0"
- )
- )->discriminator_type_def (
- ACE_TRY_ENV
- );
-}
-
-void POA_IR::_TAO_UnionDef_ThruPOA_Proxy_Impl::discriminator_type_def (
- CORBA_Object *_collocated_tao_target_,
- IR_IDLType_ptr discriminator_type_def,
- CORBA::Environment &ACE_TRY_ENV
- )
- ACE_THROW_SPEC ((
- CORBA::SystemException
- ))
-{
- TAO_Object_Adapter::Servant_Upcall servant_upcall (
- _collocated_tao_target_->_stubobj ()->servant_orb_var ()->orb_core ()
- );
- CORBA::Object_var forward_to;
- servant_upcall.prepare_for_upcall (
- _collocated_tao_target_->_object_key (),
- "discriminator_type_def",
- forward_to.out (),
- ACE_TRY_ENV
- );
- ACE_CHECK;
- ACE_reinterpret_cast (
- POA_IR::UnionDef_ptr,
- servant_upcall.servant ()->_downcast (
- "IDL:omg.org/IR/UnionDef:1.0"
- )
- )->discriminator_type_def (
- discriminator_type_def,
- ACE_TRY_ENV
- );
- return;
-}
-
-IR_UnionMemberSeq * POA_IR::_TAO_UnionDef_ThruPOA_Proxy_Impl::members (
- CORBA_Object *_collocated_tao_target_,
- CORBA::Environment &ACE_TRY_ENV
- )
- ACE_THROW_SPEC ((
- CORBA::SystemException
- ))
-{
- IR_UnionMemberSeq_var _tao_retval;
- ACE_UNUSED_ARG (_tao_retval);
- TAO_Object_Adapter::Servant_Upcall servant_upcall (
- _collocated_tao_target_->_stubobj ()->servant_orb_var ()->orb_core ()
- );
- CORBA::Object_var forward_to;
- servant_upcall.prepare_for_upcall (
- _collocated_tao_target_->_object_key (),
- "members",
- forward_to.out (),
- ACE_TRY_ENV
- );
- ACE_CHECK_RETURN (0);
- return ACE_reinterpret_cast (
- POA_IR::UnionDef_ptr,
- servant_upcall.servant ()->_downcast (
- "IDL:omg.org/IR/UnionDef:1.0"
- )
- )->members (
- ACE_TRY_ENV
- );
-}
-
-void POA_IR::_TAO_UnionDef_ThruPOA_Proxy_Impl::members (
- CORBA_Object *_collocated_tao_target_,
- const IR_UnionMemberSeq & members,
- CORBA::Environment &ACE_TRY_ENV
- )
- ACE_THROW_SPEC ((
- CORBA::SystemException
- ))
-{
- TAO_Object_Adapter::Servant_Upcall servant_upcall (
- _collocated_tao_target_->_stubobj ()->servant_orb_var ()->orb_core ()
- );
- CORBA::Object_var forward_to;
- servant_upcall.prepare_for_upcall (
- _collocated_tao_target_->_object_key (),
- "members",
- forward_to.out (),
- ACE_TRY_ENV
- );
- ACE_CHECK;
- ACE_reinterpret_cast (
- POA_IR::UnionDef_ptr,
- servant_upcall.servant ()->_downcast (
- "IDL:omg.org/IR/UnionDef:1.0"
- )
- )->members (
- members,
- ACE_TRY_ENV
- );
- return;
-}
-
-//
-// End ThruPOA Proxy Implementation
-///////////////////////////////////////////////////////////////////////
-
-// skeleton constructor
-POA_IR::UnionDef::UnionDef (void)
-{
- this->optable_ = &tao_IR_UnionDef_optable;
-}
-
-// copy ctor
-POA_IR::UnionDef::UnionDef (const UnionDef& rhs)
- : ACE_NESTED_CLASS (POA_IR,TypedefDef) (rhs),
- ACE_NESTED_CLASS (POA_IR,Container) (rhs),
- ACE_NESTED_CLASS (POA_IR,Contained) (rhs),
- ACE_NESTED_CLASS (POA_IR,IDLType) (rhs),
- POA_CORBA_IRObject (rhs),
- TAO_ServantBase (rhs)
-{}
-
-// skeleton destructor
-POA_IR::UnionDef::~UnionDef (void)
-{
-}
-
-void POA_IR::UnionDef::_get_discriminator_type_skel (
- TAO_ServerRequest &_tao_server_request,
- void *_tao_object_reference,
- void * /* context */,
- CORBA::Environment &ACE_TRY_ENV
-)
-{
- POA_IR::UnionDef *_tao_impl = (POA_IR::UnionDef *)_tao_object_reference;
-
- CORBA::TypeCode_var _tao_retval;
-
-#if (TAO_HAS_INTERCEPTORS == 1)
- TAO_ServerRequestInterceptor_Adapter _tao_vfr (
- _tao_server_request.orb_core ()->server_request_interceptors (),
- _tao_server_request.interceptor_count ()
- );
-
- POA_IR::UnionDef::TAO_ServerRequestInfo_IR_UnionDef_discriminator_type_get ri (
- _tao_server_request,
- _tao_impl ,
- ACE_TRY_ENV
- );
-
- ACE_TRY
- {
- _tao_vfr.receive_request (&ri, ACE_TRY_ENV);
- ACE_TRY_CHECK;
-
-#endif /* TAO_HAS_INTERCEPTORS */
- _tao_retval =
- _tao_impl->discriminator_type (
- ACE_TRY_ENV
- );
- TAO_INTERCEPTOR_CHECK;
-
-#if (TAO_HAS_INTERCEPTORS == 1)
- CORBA::TypeCode_ptr _tao_retval_info = _tao_retval._retn ();
- ri.result (_tao_retval_info);
- _tao_retval = _tao_retval_info;
- ri.reply_status (PortableInterceptor::SUCCESSFUL);
- _tao_vfr.send_reply (&ri, ACE_TRY_ENV);
- ACE_TRY_CHECK;
- }
- ACE_CATCH (PortableInterceptor::ForwardRequest, exc)
- {
- ri.forward_reference (exc);
- _tao_vfr.send_other (
- &ri,
- ACE_TRY_ENV
- );
- ACE_TRY_CHECK;
- _tao_server_request.forward_location (exc.forward.in ());
- }
- ACE_CATCHANY
- {
- ri.exception (&ACE_ANY_EXCEPTION);
- _tao_vfr.send_exception (
- &ri,
- ACE_TRY_ENV
- );
- ACE_TRY_CHECK;
- ACE_RE_THROW;
- }
- ACE_ENDTRY;
- ACE_CHECK;
-#endif /* TAO_HAS_INTERCEPTORS */
-
- _tao_server_request.init_reply ();
-
- TAO_OutputCDR &_tao_out = _tao_server_request.outgoing ();
-
- if (!(
- (_tao_out << _tao_retval.in ())
- ))
- ACE_THROW (CORBA::MARSHAL());
-
- // In case ACE_TRY_ENV is not used in this function
- ACE_UNUSED_ARG (ACE_TRY_ENV);
-}
-
-void POA_IR::UnionDef::_get_discriminator_type_def_skel (
- TAO_ServerRequest &_tao_server_request,
- void *_tao_object_reference,
- void * /* context */,
- CORBA::Environment &ACE_TRY_ENV
-)
-{
- POA_IR::UnionDef *_tao_impl = (POA_IR::UnionDef *)_tao_object_reference;
-
- IR_IDLType_var _tao_retval;
-
-#if (TAO_HAS_INTERCEPTORS == 1)
- TAO_ServerRequestInterceptor_Adapter _tao_vfr (
- _tao_server_request.orb_core ()->server_request_interceptors (),
- _tao_server_request.interceptor_count ()
- );
-
- POA_IR::UnionDef::TAO_ServerRequestInfo_IR_UnionDef_discriminator_type_def_get ri (
- _tao_server_request,
- _tao_impl,
- ACE_TRY_ENV
- );
-
- ACE_TRY
- {
- _tao_vfr.receive_request (&ri, ACE_TRY_ENV);
- ACE_TRY_CHECK;
-
-#endif /* TAO_HAS_INTERCEPTORS */
- _tao_retval =
- _tao_impl->discriminator_type_def (
- ACE_TRY_ENV
- );
- TAO_INTERCEPTOR_CHECK;
-
-#if (TAO_HAS_INTERCEPTORS == 1)
- IR_IDLType_ptr _tao_retval_info = _tao_retval._retn ();
- ri.result (_tao_retval_info);
- _tao_retval = _tao_retval_info;
- ri.reply_status (PortableInterceptor::SUCCESSFUL);
- _tao_vfr.send_reply (&ri, ACE_TRY_ENV);
- ACE_TRY_CHECK;
- }
- ACE_CATCH (PortableInterceptor::ForwardRequest, exc)
- {
- ri.forward_reference (exc);
- _tao_vfr.send_other (
- &ri,
- ACE_TRY_ENV
- );
- ACE_TRY_CHECK;
- _tao_server_request.forward_location (exc.forward.in ());
- }
- ACE_CATCHANY
- {
- ri.exception (&ACE_ANY_EXCEPTION);
- _tao_vfr.send_exception (
- &ri,
- ACE_TRY_ENV
- );
- ACE_TRY_CHECK;
- ACE_RE_THROW;
- }
- ACE_ENDTRY;
- ACE_CHECK;
-#endif /* TAO_HAS_INTERCEPTORS */
-
- _tao_server_request.init_reply ();
-
- TAO_OutputCDR &_tao_out = _tao_server_request.outgoing ();
-
- if (!(
- (_tao_out << _tao_retval.in ())
- ))
- ACE_THROW (CORBA::MARSHAL());
-
- // In case ACE_TRY_ENV is not used in this function
- ACE_UNUSED_ARG (ACE_TRY_ENV);
-}
-
-void POA_IR::UnionDef::_set_discriminator_type_def_skel (
- TAO_ServerRequest &_tao_server_request,
- void *_tao_object_reference,
- void * /* context */,
- CORBA::Environment &ACE_TRY_ENV
-)
-{
- TAO_InputCDR &_tao_in = _tao_server_request.incoming ();
- POA_IR::UnionDef *_tao_impl = (POA_IR::UnionDef *)_tao_object_reference;
-
- IR_IDLType_var discriminator_type_def;
- if (!(
- (_tao_in >> discriminator_type_def.out ())
- ))
- ACE_THROW (CORBA::MARSHAL () );
-
-#if (TAO_HAS_INTERCEPTORS == 1)
- TAO_ServerRequestInterceptor_Adapter _tao_vfr (
- _tao_server_request.orb_core ()->server_request_interceptors (),
- _tao_server_request.interceptor_count ()
- );
-
- POA_IR::UnionDef::TAO_ServerRequestInfo_IR_UnionDef_discriminator_type_def_set ri (
- _tao_server_request,
- _tao_impl,
- discriminator_type_def.in (),
- ACE_TRY_ENV
- );
-
- ACE_TRY
- {
- _tao_vfr.receive_request (&ri, ACE_TRY_ENV);
- ACE_TRY_CHECK;
-
-#endif /* TAO_HAS_INTERCEPTORS */
-
- _tao_impl->discriminator_type_def (
- discriminator_type_def.in (),
- ACE_TRY_ENV
- );
- TAO_INTERCEPTOR_CHECK;
-
-#if (TAO_HAS_INTERCEPTORS == 1)
- ri.reply_status (PortableInterceptor::SUCCESSFUL);
- _tao_vfr.send_reply (&ri, ACE_TRY_ENV);
- ACE_TRY_CHECK;
- }
- ACE_CATCH (PortableInterceptor::ForwardRequest, exc)
- {
- ri.forward_reference (exc);
- _tao_vfr.send_other (
- &ri,
- ACE_TRY_ENV
- );
- ACE_TRY_CHECK;
- _tao_server_request.forward_location (exc.forward.in ());
- }
- ACE_CATCHANY
- {
- ri.exception (&ACE_ANY_EXCEPTION);
- _tao_vfr.send_exception (
- &ri,
- ACE_TRY_ENV
- );
- ACE_TRY_CHECK;
- ACE_RE_THROW;
- }
- ACE_ENDTRY;
- ACE_CHECK;
-#endif /* TAO_HAS_INTERCEPTORS */
-
- _tao_server_request.init_reply ();
-
- // In case ACE_TRY_ENV is not used in this function
- ACE_UNUSED_ARG (ACE_TRY_ENV);
-}
-
-void POA_IR::UnionDef::_get_members_skel (
- TAO_ServerRequest &_tao_server_request,
- void *_tao_object_reference,
- void * /* context */,
- CORBA::Environment &ACE_TRY_ENV
-)
-{
- POA_IR::UnionDef *_tao_impl = (POA_IR::UnionDef *)_tao_object_reference;
-
- IR_UnionMemberSeq_var _tao_retval;
-
-#if (TAO_HAS_INTERCEPTORS == 1)
- TAO_ServerRequestInterceptor_Adapter _tao_vfr (
- _tao_server_request.orb_core ()->server_request_interceptors (),
- _tao_server_request.interceptor_count ()
- );
-
- POA_IR::UnionDef::TAO_ServerRequestInfo_IR_UnionDef_members_get ri (
- _tao_server_request,
- _tao_impl,
- ACE_TRY_ENV
- );
-
- ACE_TRY
- {
- _tao_vfr.receive_request (&ri, ACE_TRY_ENV);
- ACE_TRY_CHECK;
-
-#endif /* TAO_HAS_INTERCEPTORS */
- _tao_retval =
- _tao_impl->members (
- ACE_TRY_ENV
- );
- TAO_INTERCEPTOR_CHECK;
-
-#if (TAO_HAS_INTERCEPTORS == 1)
- IR_UnionMemberSeq * _tao_retval_info = _tao_retval._retn ();
- ri.result (_tao_retval_info);
- _tao_retval = _tao_retval_info;
- ri.reply_status (PortableInterceptor::SUCCESSFUL);
- _tao_vfr.send_reply (&ri, ACE_TRY_ENV);
- ACE_TRY_CHECK;
- }
- ACE_CATCH (PortableInterceptor::ForwardRequest, exc)
- {
- ri.forward_reference (exc);
- _tao_vfr.send_other (
- &ri,
- ACE_TRY_ENV
- );
- ACE_TRY_CHECK;
- _tao_server_request.forward_location (exc.forward.in ());
- }
- ACE_CATCHANY
- {
- ri.exception (&ACE_ANY_EXCEPTION);
- _tao_vfr.send_exception (
- &ri,
- ACE_TRY_ENV
- );
- ACE_TRY_CHECK;
- ACE_RE_THROW;
- }
- ACE_ENDTRY;
- ACE_CHECK;
-#endif /* TAO_HAS_INTERCEPTORS */
-
- _tao_server_request.init_reply ();
-
- TAO_OutputCDR &_tao_out = _tao_server_request.outgoing ();
-
- if (!(
- (_tao_out << _tao_retval.in ())
- ))
- ACE_THROW (CORBA::MARSHAL());
-
- // In case ACE_TRY_ENV is not used in this function
- ACE_UNUSED_ARG (ACE_TRY_ENV);
-}
-
-void POA_IR::UnionDef::_set_members_skel (
- TAO_ServerRequest &_tao_server_request,
- void *_tao_object_reference,
- void * /* context */,
- CORBA::Environment &ACE_TRY_ENV
-)
-{
- TAO_InputCDR &_tao_in = _tao_server_request.incoming ();
- POA_IR::UnionDef *_tao_impl = (POA_IR::UnionDef *)_tao_object_reference;
-
- IR_UnionMemberSeq members;
- if (!(
- (_tao_in >> members)
- ))
- ACE_THROW (CORBA::MARSHAL () );
-
-#if (TAO_HAS_INTERCEPTORS == 1)
- TAO_ServerRequestInterceptor_Adapter _tao_vfr (
- _tao_server_request.orb_core ()->server_request_interceptors (),
- _tao_server_request.interceptor_count ()
- );
-
- POA_IR::UnionDef::TAO_ServerRequestInfo_IR_UnionDef_members_set ri (
- _tao_server_request,
- _tao_impl,
- members,
- ACE_TRY_ENV
- );
-
- ACE_TRY
- {
- _tao_vfr.receive_request (&ri, ACE_TRY_ENV);
- ACE_TRY_CHECK;
-
-#endif /* TAO_HAS_INTERCEPTORS */
-
- _tao_impl->members (
- members,
- ACE_TRY_ENV
- );
- TAO_INTERCEPTOR_CHECK;
-
-#if (TAO_HAS_INTERCEPTORS == 1)
- ri.reply_status (PortableInterceptor::SUCCESSFUL);
- _tao_vfr.send_reply (&ri, ACE_TRY_ENV);
- ACE_TRY_CHECK;
- }
- ACE_CATCH (PortableInterceptor::ForwardRequest, exc)
- {
- ri.forward_reference (exc);
- _tao_vfr.send_other (
- &ri,
- ACE_TRY_ENV
- );
- ACE_TRY_CHECK;
- _tao_server_request.forward_location (exc.forward.in ());
- }
- ACE_CATCHANY
- {
- ri.exception (&ACE_ANY_EXCEPTION);
- _tao_vfr.send_exception (
- &ri,
- ACE_TRY_ENV
- );
- ACE_TRY_CHECK;
- ACE_RE_THROW;
- }
- ACE_ENDTRY;
- ACE_CHECK;
-#endif /* TAO_HAS_INTERCEPTORS */
-
- _tao_server_request.init_reply ();
-
- // In case ACE_TRY_ENV is not used in this function
- ACE_UNUSED_ARG (ACE_TRY_ENV);
-}
-
-void POA_IR::UnionDef::_is_a_skel (
- TAO_ServerRequest &_tao_server_request,
- void * _tao_object_reference,
- void * /* context */,
- CORBA::Environment &ACE_TRY_ENV
- )
-{
- TAO_InputCDR &_tao_in = _tao_server_request.incoming ();
- POA_IR::UnionDef *_tao_impl = (POA_IR::UnionDef *) _tao_object_reference;
- CORBA::Boolean _tao_retval = 0;
- CORBA::String_var value;
- if (!((_tao_in >> value.out ())))
- ACE_THROW (CORBA::MARSHAL ());
-
- _tao_retval = _tao_impl->_is_a (value.in (), ACE_TRY_ENV);
- ACE_CHECK;
-
- _tao_server_request.init_reply ();
- TAO_OutputCDR &_tao_out = _tao_server_request.outgoing ();
- if (!((_tao_out << CORBA::Any::from_boolean (_tao_retval))))
- ACE_THROW (CORBA::MARSHAL ());
-}
-
-void POA_IR::UnionDef::_non_existent_skel (
- TAO_ServerRequest &_tao_server_request,
- void * _tao_object_reference,
- void * /* context */,
- CORBA::Environment &ACE_TRY_ENV
- )
-{
- POA_IR::UnionDef *_tao_impl = (POA_IR::UnionDef *) _tao_object_reference;
- CORBA::Boolean _tao_retval = _tao_impl->_non_existent (ACE_TRY_ENV);
- ACE_CHECK;
-
- _tao_server_request.init_reply ();
- TAO_OutputCDR &_tao_out = _tao_server_request.outgoing ();
- if (!((_tao_out << CORBA::Any::from_boolean (_tao_retval))))
- ACE_THROW (CORBA::MARSHAL ());
-}
-
-CORBA::Boolean POA_IR::UnionDef::_is_a (
- const char* value,
- CORBA::Environment &ACE_TRY_ENV
- )
-{
- if (
- (!ACE_OS::strcmp ((char *)value, "IDL:omg.org/IR/UnionDef:1.0")) ||
- (!ACE_OS::strcmp ((char *)value, "IDL:omg.org/IR/TypedefDef:1.0")) ||
- (!ACE_OS::strcmp ((char *)value, "IDL:omg.org/IR/Container:1.0")) ||
- (!ACE_OS::strcmp ((char *)value, "IDL:omg.org/IR/Contained:1.0")) ||
- (!ACE_OS::strcmp ((char *)value, "IDL:omg.org/IR/IDLType:1.0")) ||
- (!ACE_OS::strcmp ((char *)value, "IDL:omg.org/CORBA/IRObject:1.0")) ||
- (!ACE_OS::strcmp ((char *)value, CORBA::_tc_Object->id (ACE_TRY_ENV))))
- return 1;
- else
- return 0;
-}
-
-void* POA_IR::UnionDef::_downcast (
- const char* logical_type_id
- )
-{
- if (ACE_OS::strcmp (logical_type_id, "IDL:omg.org/IR/UnionDef:1.0") == 0)
- return ACE_static_cast (POA_IR::UnionDef_ptr, this);
- if (ACE_OS::strcmp (logical_type_id, "IDL:omg.org/IR/TypedefDef:1.0") == 0)
- return ACE_static_cast (POA_IR::TypedefDef_ptr, this);
- if (ACE_OS::strcmp (logical_type_id, "IDL:omg.org/IR/Container:1.0") == 0)
- return ACE_static_cast (POA_IR::Container_ptr, this);
- if (ACE_OS::strcmp (logical_type_id, "IDL:omg.org/IR/Contained:1.0") == 0)
- return ACE_static_cast (POA_IR::Contained_ptr, this);
- if (ACE_OS::strcmp (logical_type_id, "IDL:omg.org/IR/IDLType:1.0") == 0)
- return ACE_static_cast (POA_IR::IDLType_ptr, this);
- if (ACE_OS::strcmp (logical_type_id, "IDL:omg.org/CORBA/IRObject:1.0") == 0)
- return ACE_static_cast (POA_CORBA_IRObject_ptr, this);
- if (ACE_OS::strcmp (logical_type_id, "IDL:omg.org/CORBA/Object:1.0") == 0)
- return ACE_static_cast(PortableServer::Servant, this);
- return 0;
-}
-
-void POA_IR::UnionDef::_dispatch (TAO_ServerRequest &req, void *context, CORBA::Environment &ACE_TRY_ENV)
-{
- this->synchronous_upcall_dispatch(req, context, this, ACE_TRY_ENV);
-}
-
-const char* POA_IR::UnionDef::_interface_repository_id (void) const
-{
- return "IDL:omg.org/IR/UnionDef:1.0";
-}
-
-IR::UnionDef*
-POA_IR::UnionDef::_this (CORBA_Environment &ACE_TRY_ENV)
-{
- TAO_Stub *stub = this->_create_stub (ACE_TRY_ENV);
- ACE_CHECK_RETURN (0);
-
- CORBA::Object_ptr tmp = CORBA::Object::_nil ();
-
- if (stub->servant_orb_var ()->orb_core ()->optimize_collocation_objects ())
- ACE_NEW_RETURN (tmp, CORBA::Object (stub, 1, this), 0);
- else
- ACE_NEW_RETURN (tmp, CORBA::Object (stub, 0, this), 0);
-
- CORBA::Object_var obj = tmp;
- return IR_UnionDef::_unchecked_narrow (obj.in ());
-}
-
-#if (TAO_HAS_INTERCEPTORS == 1)
-POA_IR::UnionDef::TAO_ServerRequestInfo_IR_UnionDef_discriminator_type_get::TAO_ServerRequestInfo_IR_UnionDef_discriminator_type_get (
- TAO_ServerRequest &_tao_server_request,
- POA_IR::UnionDef *tao_impl,
- CORBA::Environment &
- )
- : TAO_ServerRequestInfo (_tao_server_request),
- _tao_impl (tao_impl)
-{}
-
-Dynamic::ParameterList *
-POA_IR::UnionDef::TAO_ServerRequestInfo_IR_UnionDef_discriminator_type_get::arguments (CORBA::Environment &ACE_TRY_ENV)
- ACE_THROW_SPEC ((CORBA::SystemException))
-{
- // Generate the argument list on demand.
- Dynamic::ParameterList *parameter_list =
- TAO_RequestInfo_Util::make_parameter_list (ACE_TRY_ENV);
- ACE_CHECK_RETURN (0);
-
- return parameter_list;
-}
-
-Dynamic::ExceptionList *
-POA_IR::UnionDef::TAO_ServerRequestInfo_IR_UnionDef_discriminator_type_get::exceptions (CORBA::Environment &ACE_TRY_ENV)
- ACE_THROW_SPEC ((CORBA::SystemException))
-{
- // Generate the exception list on demand.
- Dynamic::ExceptionList *exception_list =
- TAO_RequestInfo_Util::make_exception_list (ACE_TRY_ENV);
- ACE_CHECK_RETURN (0);
-
- return exception_list;
-}
-
-CORBA::Any *
-POA_IR::UnionDef::TAO_ServerRequestInfo_IR_UnionDef_discriminator_type_get::result (CORBA::Environment &ACE_TRY_ENV)
- ACE_THROW_SPEC ((CORBA::SystemException))
-{
- // Generate the result on demand.
- CORBA::Boolean tk_void_any = 0;
- CORBA::Any *result_any =
- TAO_RequestInfo_Util::make_any (tk_void_any, ACE_TRY_ENV);
- ACE_CHECK_RETURN (0);
-
- CORBA::Any_var safe_result_any = result_any;
-
- (*result_any) <<= this->_result;
-
- return safe_result_any._retn ();
-}
-
-char *
-POA_IR::UnionDef::TAO_ServerRequestInfo_IR_UnionDef_discriminator_type_get::target_most_derived_interface (
- CORBA::Environment &)
- ACE_THROW_SPEC ((CORBA::SystemException))
-{
- return
- CORBA::string_dup (this->_tao_impl->_interface_repository_id ());
-}
-
-CORBA::Boolean
-POA_IR::UnionDef::TAO_ServerRequestInfo_IR_UnionDef_discriminator_type_get::target_is_a (
- const char * id,
- CORBA::Environment &ACE_TRY_ENV)
- ACE_THROW_SPEC ((CORBA::SystemException))
-{
- return this->_tao_impl->_is_a (id, ACE_TRY_ENV);
-}
-
-void
-POA_IR::UnionDef::TAO_ServerRequestInfo_IR_UnionDef_discriminator_type_get::result (CORBA::TypeCode_ptr result)
-{
- // Update the result.
- this->_result = result;
-}
-
-POA_IR::UnionDef::TAO_ServerRequestInfo_IR_UnionDef_discriminator_type_def_get::TAO_ServerRequestInfo_IR_UnionDef_discriminator_type_def_get (
- TAO_ServerRequest &_tao_server_request,
- POA_IR::UnionDef *tao_impl,
- CORBA::Environment &
- )
- : TAO_ServerRequestInfo (_tao_server_request),
- _tao_impl (tao_impl)
-{}
-
-Dynamic::ParameterList *
-POA_IR::UnionDef::TAO_ServerRequestInfo_IR_UnionDef_discriminator_type_def_get::arguments (CORBA::Environment &ACE_TRY_ENV)
- ACE_THROW_SPEC ((CORBA::SystemException))
-{
- // Generate the argument list on demand.
- Dynamic::ParameterList *parameter_list =
- TAO_RequestInfo_Util::make_parameter_list (ACE_TRY_ENV);
- ACE_CHECK_RETURN (0);
-
- return parameter_list;
-}
-
-Dynamic::ExceptionList *
-POA_IR::UnionDef::TAO_ServerRequestInfo_IR_UnionDef_discriminator_type_def_get::exceptions (CORBA::Environment &ACE_TRY_ENV)
- ACE_THROW_SPEC ((CORBA::SystemException))
-{
- // Generate the exception list on demand.
- Dynamic::ExceptionList *exception_list =
- TAO_RequestInfo_Util::make_exception_list (ACE_TRY_ENV);
- ACE_CHECK_RETURN (0);
-
- return exception_list;
-}
-
-CORBA::Any *
-POA_IR::UnionDef::TAO_ServerRequestInfo_IR_UnionDef_discriminator_type_def_get::result (CORBA::Environment &ACE_TRY_ENV)
- ACE_THROW_SPEC ((CORBA::SystemException))
-{
- // Generate the result on demand.
- CORBA::Boolean tk_void_any = 0;
- CORBA::Any *result_any =
- TAO_RequestInfo_Util::make_any (tk_void_any, ACE_TRY_ENV);
- ACE_CHECK_RETURN (0);
-
- CORBA::Any_var safe_result_any = result_any;
-
- (*result_any) <<= this->_result;
-
- return safe_result_any._retn ();
-}
-
-char *
-POA_IR::UnionDef::TAO_ServerRequestInfo_IR_UnionDef_discriminator_type_def_get::target_most_derived_interface (
- CORBA::Environment &)
- ACE_THROW_SPEC ((CORBA::SystemException))
-{
- return
- CORBA::string_dup (this->_tao_impl->_interface_repository_id ());
-}
-
-CORBA::Boolean
-POA_IR::UnionDef::TAO_ServerRequestInfo_IR_UnionDef_discriminator_type_def_get::target_is_a (
- const char * id,
- CORBA::Environment &ACE_TRY_ENV)
- ACE_THROW_SPEC ((CORBA::SystemException))
-{
- return this->_tao_impl->_is_a (id, ACE_TRY_ENV);
-}
-
-void
-POA_IR::UnionDef::TAO_ServerRequestInfo_IR_UnionDef_discriminator_type_def_get::result (IR::IDLType_ptr result)
-{
- // Update the result.
- this->_result = result;
-}
-
-POA_IR::UnionDef::TAO_ServerRequestInfo_IR_UnionDef_discriminator_type_def_set::TAO_ServerRequestInfo_IR_UnionDef_discriminator_type_def_set (
- TAO_ServerRequest &_tao_server_request,
- POA_IR::UnionDef *tao_impl,
- IR_IDLType_ptr discriminator_type_def,
- CORBA::Environment &
- )
- : TAO_ServerRequestInfo (_tao_server_request),
- _tao_impl (tao_impl),
- discriminator_type_def_ (discriminator_type_def)
-{}
-
-Dynamic::ParameterList *
-POA_IR::UnionDef::TAO_ServerRequestInfo_IR_UnionDef_discriminator_type_def_set::arguments (CORBA::Environment &ACE_TRY_ENV)
- ACE_THROW_SPEC ((CORBA::SystemException))
-{
- // Generate the argument list on demand.
- Dynamic::ParameterList *parameter_list =
- TAO_RequestInfo_Util::make_parameter_list (ACE_TRY_ENV);
- ACE_CHECK_RETURN (0);
-
- Dynamic::ParameterList_var safe_parameter_list = parameter_list;
-
- CORBA::ULong length_discriminator_type_def = parameter_list->length ();
- parameter_list->length (length_discriminator_type_def + 1);
- (*parameter_list)[length_discriminator_type_def].argument <<= this->discriminator_type_def_;
-
- (*parameter_list)[length_discriminator_type_def].mode = Dynamic::PARAM_IN;
-
- return safe_parameter_list._retn ();
-}
-
-Dynamic::ExceptionList *
-POA_IR::UnionDef::TAO_ServerRequestInfo_IR_UnionDef_discriminator_type_def_set::exceptions (CORBA::Environment &ACE_TRY_ENV)
- ACE_THROW_SPEC ((CORBA::SystemException))
-{
- // Generate the exception list on demand.
- Dynamic::ExceptionList *exception_list =
- TAO_RequestInfo_Util::make_exception_list (ACE_TRY_ENV);
- ACE_CHECK_RETURN (0);
-
- return exception_list;
-}
-
-CORBA::Any *
-POA_IR::UnionDef::TAO_ServerRequestInfo_IR_UnionDef_discriminator_type_def_set::result (CORBA::Environment &ACE_TRY_ENV)
- ACE_THROW_SPEC ((CORBA::SystemException))
-{
- // Generate the result on demand.
- CORBA::Boolean tk_void_any = 1;
- CORBA::Any *result_any =
- TAO_RequestInfo_Util::make_any (tk_void_any, ACE_TRY_ENV);
- ACE_CHECK_RETURN (0);
-
- return result_any;
-}
-
-char *
-POA_IR::UnionDef::TAO_ServerRequestInfo_IR_UnionDef_discriminator_type_def_set::target_most_derived_interface (
- CORBA::Environment &)
- ACE_THROW_SPEC ((CORBA::SystemException))
-{
- return
- CORBA::string_dup (this->_tao_impl->_interface_repository_id ());
-}
-
-CORBA::Boolean
-POA_IR::UnionDef::TAO_ServerRequestInfo_IR_UnionDef_discriminator_type_def_set::target_is_a (
- const char * id,
- CORBA::Environment &ACE_TRY_ENV)
- ACE_THROW_SPEC ((CORBA::SystemException))
-{
- return this->_tao_impl->_is_a (id, ACE_TRY_ENV);
-}
-
-POA_IR::UnionDef::TAO_ServerRequestInfo_IR_UnionDef_members_get::TAO_ServerRequestInfo_IR_UnionDef_members_get (
- TAO_ServerRequest &_tao_server_request,
- POA_IR::UnionDef *tao_impl,
- CORBA::Environment &
- )
- : TAO_ServerRequestInfo (_tao_server_request),
- _tao_impl (tao_impl)
-{}
-
-Dynamic::ParameterList *
-POA_IR::UnionDef::TAO_ServerRequestInfo_IR_UnionDef_members_get::arguments (CORBA::Environment &ACE_TRY_ENV)
- ACE_THROW_SPEC ((CORBA::SystemException))
-{
- // Generate the argument list on demand.
- Dynamic::ParameterList *parameter_list =
- TAO_RequestInfo_Util::make_parameter_list (ACE_TRY_ENV);
- ACE_CHECK_RETURN (0);
-
- return parameter_list;
-}
-
-Dynamic::ExceptionList *
-POA_IR::UnionDef::TAO_ServerRequestInfo_IR_UnionDef_members_get::exceptions (CORBA::Environment &ACE_TRY_ENV)
- ACE_THROW_SPEC ((CORBA::SystemException))
-{
- // Generate the exception list on demand.
- Dynamic::ExceptionList *exception_list =
- TAO_RequestInfo_Util::make_exception_list (ACE_TRY_ENV);
- ACE_CHECK_RETURN (0);
-
- return exception_list;
-}
-
-CORBA::Any *
-POA_IR::UnionDef::TAO_ServerRequestInfo_IR_UnionDef_members_get::result (CORBA::Environment &ACE_TRY_ENV)
- ACE_THROW_SPEC ((CORBA::SystemException))
-{
- // Generate the result on demand.
- CORBA::Boolean tk_void_any = 0;
- CORBA::Any *result_any =
- TAO_RequestInfo_Util::make_any (tk_void_any, ACE_TRY_ENV);
- ACE_CHECK_RETURN (0);
-
- CORBA::Any_var safe_result_any = result_any;
-
- (*result_any) <<= this->_result;
-
- return safe_result_any._retn ();
-}
-
-char *
-POA_IR::UnionDef::TAO_ServerRequestInfo_IR_UnionDef_members_get::target_most_derived_interface (
- CORBA::Environment &)
- ACE_THROW_SPEC ((CORBA::SystemException))
-{
- return
- CORBA::string_dup (this->_tao_impl->_interface_repository_id ());
-}
-
-CORBA::Boolean
-POA_IR::UnionDef::TAO_ServerRequestInfo_IR_UnionDef_members_get::target_is_a (
- const char * id,
- CORBA::Environment &ACE_TRY_ENV)
- ACE_THROW_SPEC ((CORBA::SystemException))
-{
- return this->_tao_impl->_is_a (id, ACE_TRY_ENV);
-}
-
-void
-POA_IR::UnionDef::TAO_ServerRequestInfo_IR_UnionDef_members_get::result (IR::UnionMemberSeq * result)
-{
- // Update the result.
- this->_result = result;
-}
-
-POA_IR::UnionDef::TAO_ServerRequestInfo_IR_UnionDef_members_set::TAO_ServerRequestInfo_IR_UnionDef_members_set (
- TAO_ServerRequest &_tao_server_request,
- POA_IR::UnionDef *tao_impl,
- const IR_UnionMemberSeq & members,
- CORBA::Environment &
- )
- : TAO_ServerRequestInfo (_tao_server_request),
- _tao_impl (tao_impl),
- members_ (members)
-{}
-
-Dynamic::ParameterList *
-POA_IR::UnionDef::TAO_ServerRequestInfo_IR_UnionDef_members_set::arguments (CORBA::Environment &ACE_TRY_ENV)
- ACE_THROW_SPEC ((CORBA::SystemException))
-{
- // Generate the argument list on demand.
- Dynamic::ParameterList *parameter_list =
- TAO_RequestInfo_Util::make_parameter_list (ACE_TRY_ENV);
- ACE_CHECK_RETURN (0);
-
- Dynamic::ParameterList_var safe_parameter_list = parameter_list;
-
- CORBA::ULong length_members = parameter_list->length ();
- parameter_list->length (length_members + 1);
- (*parameter_list)[length_members].argument <<= this->members_;
-
- (*parameter_list)[length_members].mode = Dynamic::PARAM_IN;
-
- return safe_parameter_list._retn ();
-}
-
-Dynamic::ExceptionList *
-POA_IR::UnionDef::TAO_ServerRequestInfo_IR_UnionDef_members_set::exceptions (CORBA::Environment &ACE_TRY_ENV)
- ACE_THROW_SPEC ((CORBA::SystemException))
-{
- // Generate the exception list on demand.
- Dynamic::ExceptionList *exception_list =
- TAO_RequestInfo_Util::make_exception_list (ACE_TRY_ENV);
- ACE_CHECK_RETURN (0);
-
- return exception_list;
-}
-
-CORBA::Any *
-POA_IR::UnionDef::TAO_ServerRequestInfo_IR_UnionDef_members_set::result (CORBA::Environment &ACE_TRY_ENV)
- ACE_THROW_SPEC ((CORBA::SystemException))
-{
- // Generate the result on demand.
- CORBA::Boolean tk_void_any = 1;
- CORBA::Any *result_any =
- TAO_RequestInfo_Util::make_any (tk_void_any, ACE_TRY_ENV);
- ACE_CHECK_RETURN (0);
-
- return result_any;
-}
-
-char *
-POA_IR::UnionDef::TAO_ServerRequestInfo_IR_UnionDef_members_set::target_most_derived_interface (
- CORBA::Environment &)
- ACE_THROW_SPEC ((CORBA::SystemException))
-{
- return
- CORBA::string_dup (this->_tao_impl->_interface_repository_id ());
-}
-
-CORBA::Boolean
-POA_IR::UnionDef::TAO_ServerRequestInfo_IR_UnionDef_members_set::target_is_a (
- const char * id,
- CORBA::Environment &ACE_TRY_ENV)
- ACE_THROW_SPEC ((CORBA::SystemException))
-{
- return this->_tao_impl->_is_a (id, ACE_TRY_ENV);
-}
-
-#endif /* TAO_HAS_INTERCEPTORS */
-
-class TAO_IR_EnumDef_Perfect_Hash_OpTable : public TAO_Perfect_Hash_OpTable
-{
-private:
- unsigned int hash (const char *str, unsigned int len);
-public:
- const TAO_operation_db_entry * lookup (const char *str, unsigned int len);
-};
-/* starting time is 11:23:10 */
-/* C++ code produced by gperf version 2.8 (ACE version) */
-/* Command-line: gperf -m -M -J -c -C -D -E -T -f 0 -F 0 -a -o -t -p -K opname_ -L C++ -Z TAO_IR_EnumDef_Perfect_Hash_OpTable -N lookup */
-unsigned int
-TAO_IR_EnumDef_Perfect_Hash_OpTable::hash (const char *str, unsigned int len)
-{
- static const unsigned char asso_values[] =
- {
-#if defined (ACE_MVS)
- 37, 37, 37, 37, 37, 37, 37, 37, 37, 37,
- 37, 37, 37, 37, 37, 37, 37, 37, 37, 37,
- 37, 37, 37, 37, 37, 37, 37, 37, 37, 37,
- 37, 37, 37, 37, 37, 37, 37, 37, 37, 37,
- 37, 37, 37, 37, 37, 37, 37, 37, 37, 37,
- 37, 37, 37, 37, 37, 37, 37, 37, 37, 37,
- 37, 37, 37, 37, 37, 37, 37, 37, 37, 37,
- 37, 37, 37, 37, 37, 37, 37, 37, 37, 37,
- 37, 37, 37, 37, 37, 37, 37, 37, 37, 37,
- 37, 37, 37, 37, 37, 37, 37, 37, 37, 37,
- 37, 37, 37, 37, 37, 37, 37, 37, 37, 0,
- 37, 37, 37, 37, 37, 37, 37, 37, 37, 37,
- 37, 37, 37, 37, 37, 37, 37, 37, 37, 0,
- 37, 37, 0, 0, 37, 37, 37, 37, 37, 37,
- 37, 37, 37, 37, 37, 37, 37, 37, 0, 0,
- 37, 37, 37, 37, 37, 37, 37, 37, 37, 37,
- 37, 37, 10, 10, 37, 37, 37, 37, 10, 37,
- 37, 37, 37, 37, 37, 37, 37, 37, 37, 37,
- 37, 37, 37, 37, 37, 37, 37, 37, 37, 37,
- 37, 37, 37, 37, 37, 37, 37, 37, 37, 37,
- 37, 37, 37, 37, 37, 37, 37, 37, 37, 37,
- 37, 37, 37, 37, 37, 37, 37, 37, 37, 37,
- 37, 37, 37, 37, 37, 37, 37, 37, 37, 37,
- 37, 37, 37, 37, 37, 37, 37, 37, 37, 37,
- 37, 37, 37, 37, 37, 37, 37, 37, 37, 37,
- 37, 37, 37, 37, 37, 37,
-#else
- 37, 37, 37, 37, 37, 37, 37, 37, 37, 37,
- 37, 37, 37, 37, 37, 37, 37, 37, 37, 37,
- 37, 37, 37, 37, 37, 37, 37, 37, 37, 37,
- 37, 37, 37, 37, 37, 37, 37, 37, 37, 37,
- 37, 37, 37, 37, 37, 37, 37, 37, 37, 37,
- 37, 37, 37, 37, 37, 37, 37, 37, 37, 37,
- 37, 37, 37, 37, 37, 37, 37, 37, 37, 37,
- 37, 37, 37, 37, 37, 37, 37, 37, 37, 37,
- 37, 37, 37, 37, 37, 37, 37, 37, 37, 37,
- 37, 37, 37, 37, 37, 0, 37, 0, 37, 37,
- 0, 0, 37, 37, 37, 37, 37, 37, 37, 0,
- 0, 37, 37, 37, 37, 10, 10, 37, 37, 37,
- 37, 10, 37, 37, 37, 37, 37, 37,
-#endif /* ACE_MVS */
- };
- return len + asso_values[str[len - 1]] + asso_values[str[0]];
-}
-
-const class TAO_operation_db_entry *
-TAO_IR_EnumDef_Perfect_Hash_OpTable::lookup (const char *str, unsigned int len)
-{
- enum
- {
- TOTAL_KEYWORDS = 18,
- MIN_WORD_LENGTH = 4,
- MAX_WORD_LENGTH = 26,
- MIN_HASH_VALUE = 4,
- MAX_HASH_VALUE = 36,
- HASH_VALUE_RANGE = 33,
- DUPLICATES = 6
- };
-
- static const class TAO_operation_db_entry wordlist[] =
- {
- {"",0},{"",0},{"",0},{"",0},
- {"move", &POA_IR::EnumDef::move_skel},
- {"_is_a", &POA_IR::EnumDef::_is_a_skel},
- {"_get_id", &POA_IR::EnumDef::_get_id_skel},
- {"_set_id", &POA_IR::EnumDef::_set_id_skel},
- {"describe", &POA_IR::EnumDef::describe_skel},
- {"_get_name", &POA_IR::EnumDef::_get_name_skel},
- {"_get_type", &POA_IR::EnumDef::_get_type_skel},
- {"_set_name", &POA_IR::EnumDef::_set_name_skel},
- {"_get_version", &POA_IR::EnumDef::_get_version_skel},
- {"_set_version", &POA_IR::EnumDef::_set_version_skel},
- {"_get_def_kind", &POA_IR::EnumDef::_get_def_kind_skel},
- {"_get_defined_in", &POA_IR::EnumDef::_get_defined_in_skel},
- {"destroy", &POA_IR::EnumDef::destroy_skel},
- {"_get_absolute_name", &POA_IR::EnumDef::_get_absolute_name_skel},
- {"_get_members", &POA_IR::EnumDef::_get_members_skel},
- {"_set_members", &POA_IR::EnumDef::_set_members_skel},
- {"_non_existent", &POA_IR::EnumDef::_non_existent_skel},
- {"_get_containing_repository", &POA_IR::EnumDef::_get_containing_repository_skel},
- };
-
- static const signed char lookup[] =
- {
- -6, -2, -9, -3, 4, 5, -1, -43, 8, -43, -12, -2, -38, 14,
- -1, 15, -1, 16, 17, -1, -18, -2, -38, 20, -1, -1, -1, -1,
- -1, -1, -1, -1, -1, -1, -1, -1, 21,
- };
-
- if (len <= MAX_WORD_LENGTH && len >= MIN_WORD_LENGTH)
- {
- unsigned int key = hash (str, len);
-
- if (key <= MAX_HASH_VALUE && key >= MIN_HASH_VALUE)
- {
- int slot = lookup[key];
-
- if (slot >= 0 && slot < MAX_HASH_VALUE)
- {
- const char *s = wordlist[slot].opname_;
-
- if (*str == *s && !strncmp (str + 1, s + 1, len - 1))
- return &wordlist[slot];
- }
- else if (slot < 0 && slot >= -MAX_HASH_VALUE)
- return 0;
- else
- {
- unsigned int offset = key + slot + (slot > 0 ? -MAX_HASH_VALUE : MAX_HASH_VALUE);
- const class TAO_operation_db_entry *base = &wordlist[-lookup[offset]];
- const class TAO_operation_db_entry *ptr = base + -lookup[offset + 1];
-
- while (--ptr >= base)
- if (*str == *ptr->opname_ && !strncmp (str + 1, ptr->opname_ + 1, len - 1))
- return ptr;
- }
- }
- }
- return 0;
-}
-/* ending time is 11:23:10 */
-static TAO_IR_EnumDef_Perfect_Hash_OpTable tao_IR_EnumDef_optable;
-
-///////////////////////////////////////////////////////////////////////
-// Strategized Proxy Broker Implementation
-//
-
-// Factory function Implementation.
-POA_IR::_TAO_EnumDef_Strategized_Proxy_Broker *POA_IR::_TAO_EnumDef_Strategized_Proxy_Broker::the_TAO_EnumDef_Strategized_Proxy_Broker (void)
-{
- static POA_IR::_TAO_EnumDef_Strategized_Proxy_Broker strategized_proxy_broker;
- return &strategized_proxy_broker;
-}
-
-POA_IR::_TAO_EnumDef_Strategized_Proxy_Broker::_TAO_EnumDef_Strategized_Proxy_Broker (void)
-{
- for (int i = 0; i < TAO_Collocation_Strategies::CS_LAST; ++i)
- this->proxy_cache_[i] = 0;
-
-}
-
-POA_IR::_TAO_EnumDef_Strategized_Proxy_Broker::~_TAO_EnumDef_Strategized_Proxy_Broker (void)
-{
- for (int i = 0; i < TAO_Collocation_Strategies::CS_LAST; ++i)
- delete this->proxy_cache_[i];
-
-}
-
-_TAO_EnumDef_Proxy_Impl&
-POA_IR::_TAO_EnumDef_Strategized_Proxy_Broker::select_proxy (
- IR_EnumDef *object,
- CORBA::Environment &ACE_TRY_ENV
- )
-{
- int strategy =
- TAO_ORB_Core::collocation_strategy (object);
-
- if (this->proxy_cache_[strategy] != 0)
- return *this->proxy_cache_[strategy];
-
- this->create_proxy (strategy, ACE_TRY_ENV);
- ACE_CHECK_RETURN (*this->proxy_cache_[strategy]);
-
- return *this->proxy_cache_[strategy];
-
-}
-
-void
-POA_IR::_TAO_EnumDef_Strategized_Proxy_Broker::create_proxy (
- int strategy,
- CORBA::Environment &ACE_TRY_ENV
- )
-{
- ACE_GUARD (TAO_SYNCH_MUTEX, guard, this->mutex_);
-
- if (this->proxy_cache_[strategy] == 0)
- {
- switch (strategy)
- {
- case TAO_Collocation_Strategies::CS_THRU_POA_STRATEGY:
- ACE_NEW_THROW_EX (
- this->proxy_cache_[strategy],
- _TAO_EnumDef_ThruPOA_Proxy_Impl,
- CORBA::NO_MEMORY ()
- );
- ACE_CHECK;
- break;
-
- case TAO_Collocation_Strategies::CS_REMOTE_STRATEGY:
- default:
- ACE_NEW_THROW_EX (
- this->proxy_cache_[strategy],
- _TAO_EnumDef_Remote_Proxy_Impl,
- CORBA::NO_MEMORY ()
- );
- ACE_CHECK;
- break;
-
- }
-
- }
-}
-
-
-//
-// End Strategized Proxy Broker Implementation
-///////////////////////////////////////////////////////////////////////
-
-
-_TAO_EnumDef_Proxy_Broker *
-_TAO_EnumDef_Proxy_Broker_Factory_function (CORBA::Object_ptr obj)
-{
- ACE_UNUSED_ARG (obj);
- return ::POA_IR::_TAO_EnumDef_Strategized_Proxy_Broker::the_TAO_EnumDef_Strategized_Proxy_Broker();
-}
-
-int
-_TAO_EnumDef_Proxy_Broker_Factory_Initializer (long _dummy_)
-{
- ACE_UNUSED_ARG (_dummy_);
-
- _TAO_EnumDef_Proxy_Broker_Factory_function_pointer =
- _TAO_EnumDef_Proxy_Broker_Factory_function;
-
- return 0;
-}
-
-static int _TAO_EnumDef_Proxy_Broker_Stub_Factory_Initializer_Scarecrow =
- _TAO_EnumDef_Proxy_Broker_Factory_Initializer (ACE_reinterpret_cast (long, _TAO_EnumDef_Proxy_Broker_Factory_Initializer));
-
-
-///////////////////////////////////////////////////////////////////////
-// ThruPOA Proxy Implementation
-//
-
-POA_IR::_TAO_EnumDef_ThruPOA_Proxy_Impl::_TAO_EnumDef_ThruPOA_Proxy_Impl (void)
-{}
-
-// ThruPOA Implementation of the IDL interface methods
-
-IR::EnumMemberSeq * POA_IR::_TAO_EnumDef_ThruPOA_Proxy_Impl::members (
- CORBA_Object *_collocated_tao_target_,
- CORBA::Environment &ACE_TRY_ENV
- )
- ACE_THROW_SPEC ((
- CORBA::SystemException
- ))
-{
- IR_EnumMemberSeq_var _tao_retval;
- ACE_UNUSED_ARG (_tao_retval);
- TAO_Object_Adapter::Servant_Upcall servant_upcall (
- _collocated_tao_target_->_stubobj ()->servant_orb_var ()->orb_core ()
- );
- CORBA::Object_var forward_to;
- servant_upcall.prepare_for_upcall (
- _collocated_tao_target_->_object_key (),
- "members",
- forward_to.out (),
- ACE_TRY_ENV
- );
- ACE_CHECK_RETURN (0);
- return ACE_reinterpret_cast (
- POA_IR::EnumDef_ptr,
- servant_upcall.servant ()->_downcast (
- "IDL:omg.org/IR/EnumDef:1.0"
- )
- )->members (
- ACE_TRY_ENV
- );
-}
-
-void POA_IR::_TAO_EnumDef_ThruPOA_Proxy_Impl::members (
- CORBA_Object *_collocated_tao_target_,
- const IR_EnumMemberSeq & members,
- CORBA::Environment &ACE_TRY_ENV
- )
- ACE_THROW_SPEC ((
- CORBA::SystemException
- ))
-{
- TAO_Object_Adapter::Servant_Upcall servant_upcall (
- _collocated_tao_target_->_stubobj ()->servant_orb_var ()->orb_core ()
- );
- CORBA::Object_var forward_to;
- servant_upcall.prepare_for_upcall (
- _collocated_tao_target_->_object_key (),
- "members",
- forward_to.out (),
- ACE_TRY_ENV
- );
- ACE_CHECK;
- ACE_reinterpret_cast (
- POA_IR::EnumDef_ptr,
- servant_upcall.servant ()->_downcast (
- "IDL:omg.org/IR/EnumDef:1.0"
- )
- )->members (
- members,
- ACE_TRY_ENV
- );
- return;
-}
-
-//
-// End ThruPOA Proxy Implementation
-///////////////////////////////////////////////////////////////////////
-
-// skeleton constructor
-POA_IR::EnumDef::EnumDef (void)
-{
- this->optable_ = &tao_IR_EnumDef_optable;
-}
-
-// copy ctor
-POA_IR::EnumDef::EnumDef (const EnumDef& rhs)
- : ACE_NESTED_CLASS (POA_IR,TypedefDef) (rhs),
- ACE_NESTED_CLASS (POA_IR,Contained) (rhs),
- ACE_NESTED_CLASS (POA_IR,IDLType) (rhs),
- POA_CORBA_IRObject (rhs),
- TAO_ServantBase (rhs)
-{}
-
-// skeleton destructor
-POA_IR::EnumDef::~EnumDef (void)
-{
-}
-
-void POA_IR::EnumDef::_get_members_skel (
- TAO_ServerRequest &_tao_server_request,
- void *_tao_object_reference,
- void * /* context */,
- CORBA::Environment &ACE_TRY_ENV
-)
-{
- POA_IR::EnumDef *_tao_impl = (POA_IR::EnumDef *)_tao_object_reference;
-
- IR_EnumMemberSeq_var _tao_retval;
-
-#if (TAO_HAS_INTERCEPTORS == 1)
- TAO_ServerRequestInterceptor_Adapter _tao_vfr (
- _tao_server_request.orb_core ()->server_request_interceptors (),
- _tao_server_request.interceptor_count ()
- );
-
- POA_IR::EnumDef::TAO_ServerRequestInfo_IR_EnumDef_members_get ri (
- _tao_server_request,
- _tao_impl,
- ACE_TRY_ENV
- );
-
- ACE_TRY
- {
- _tao_vfr.receive_request (&ri, ACE_TRY_ENV);
- ACE_TRY_CHECK;
-
-#endif /* TAO_HAS_INTERCEPTORS */
- _tao_retval =
- _tao_impl->members (
- ACE_TRY_ENV
- );
- TAO_INTERCEPTOR_CHECK;
-
-#if (TAO_HAS_INTERCEPTORS == 1)
- IR_EnumMemberSeq * _tao_retval_info = _tao_retval._retn ();
- ri.result (_tao_retval_info);
- _tao_retval = _tao_retval_info;
- ri.reply_status (PortableInterceptor::SUCCESSFUL);
- _tao_vfr.send_reply (&ri, ACE_TRY_ENV);
- ACE_TRY_CHECK;
- }
- ACE_CATCH (PortableInterceptor::ForwardRequest, exc)
- {
- ri.forward_reference (exc);
- _tao_vfr.send_other (
- &ri,
- ACE_TRY_ENV
- );
- ACE_TRY_CHECK;
- _tao_server_request.forward_location (exc.forward.in ());
- }
- ACE_CATCHANY
- {
- ri.exception (&ACE_ANY_EXCEPTION);
- _tao_vfr.send_exception (
- &ri,
- ACE_TRY_ENV
- );
- ACE_TRY_CHECK;
- ACE_RE_THROW;
- }
- ACE_ENDTRY;
- ACE_CHECK;
-#endif /* TAO_HAS_INTERCEPTORS */
-
- _tao_server_request.init_reply ();
-
- TAO_OutputCDR &_tao_out = _tao_server_request.outgoing ();
-
- if (!(
- (_tao_out << _tao_retval.in ())
- ))
- ACE_THROW (CORBA::MARSHAL());
-
- // In case ACE_TRY_ENV is not used in this function
- ACE_UNUSED_ARG (ACE_TRY_ENV);
-}
-
-void POA_IR::EnumDef::_set_members_skel (
- TAO_ServerRequest &_tao_server_request,
- void *_tao_object_reference,
- void * /* context */,
- CORBA::Environment &ACE_TRY_ENV
-)
-{
- TAO_InputCDR &_tao_in = _tao_server_request.incoming ();
- POA_IR::EnumDef *_tao_impl = (POA_IR::EnumDef *)_tao_object_reference;
-
- IR_EnumMemberSeq members;
- if (!(
- (_tao_in >> members)
- ))
- ACE_THROW (CORBA::MARSHAL () );
-
-#if (TAO_HAS_INTERCEPTORS == 1)
- TAO_ServerRequestInterceptor_Adapter _tao_vfr (
- _tao_server_request.orb_core ()->server_request_interceptors (),
- _tao_server_request.interceptor_count ()
- );
-
- POA_IR::EnumDef::TAO_ServerRequestInfo_IR_EnumDef_members_set ri (
- _tao_server_request,
- _tao_impl,
- members,
- ACE_TRY_ENV
- );
-
- ACE_TRY
- {
- _tao_vfr.receive_request (&ri, ACE_TRY_ENV);
- ACE_TRY_CHECK;
-
-#endif /* TAO_HAS_INTERCEPTORS */
-
- _tao_impl->members (
- members,
- ACE_TRY_ENV
- );
- TAO_INTERCEPTOR_CHECK;
-
-#if (TAO_HAS_INTERCEPTORS == 1)
- ri.reply_status (PortableInterceptor::SUCCESSFUL);
- _tao_vfr.send_reply (&ri, ACE_TRY_ENV);
- ACE_TRY_CHECK;
- }
- ACE_CATCH (PortableInterceptor::ForwardRequest, exc)
- {
- ri.forward_reference (exc);
- _tao_vfr.send_other (
- &ri,
- ACE_TRY_ENV
- );
- ACE_TRY_CHECK;
- _tao_server_request.forward_location (exc.forward.in ());
- }
- ACE_CATCHANY
- {
- ri.exception (&ACE_ANY_EXCEPTION);
- _tao_vfr.send_exception (
- &ri,
- ACE_TRY_ENV
- );
- ACE_TRY_CHECK;
- ACE_RE_THROW;
- }
- ACE_ENDTRY;
- ACE_CHECK;
-#endif /* TAO_HAS_INTERCEPTORS */
-
- _tao_server_request.init_reply ();
-
- // In case ACE_TRY_ENV is not used in this function
- ACE_UNUSED_ARG (ACE_TRY_ENV);
-}
-
-void POA_IR::EnumDef::_is_a_skel (
- TAO_ServerRequest &_tao_server_request,
- void * _tao_object_reference,
- void * /* context */,
- CORBA::Environment &ACE_TRY_ENV
- )
-{
- TAO_InputCDR &_tao_in = _tao_server_request.incoming ();
- POA_IR::EnumDef *_tao_impl = (POA_IR::EnumDef *) _tao_object_reference;
- CORBA::Boolean _tao_retval = 0;
- CORBA::String_var value;
- if (!((_tao_in >> value.out ())))
- ACE_THROW (CORBA::MARSHAL ());
-
- _tao_retval = _tao_impl->_is_a (value.in (), ACE_TRY_ENV);
- ACE_CHECK;
-
- _tao_server_request.init_reply ();
- TAO_OutputCDR &_tao_out = _tao_server_request.outgoing ();
- if (!((_tao_out << CORBA::Any::from_boolean (_tao_retval))))
- ACE_THROW (CORBA::MARSHAL ());
-}
-
-void POA_IR::EnumDef::_non_existent_skel (
- TAO_ServerRequest &_tao_server_request,
- void * _tao_object_reference,
- void * /* context */,
- CORBA::Environment &ACE_TRY_ENV
- )
-{
- POA_IR::EnumDef *_tao_impl = (POA_IR::EnumDef *) _tao_object_reference;
- CORBA::Boolean _tao_retval = _tao_impl->_non_existent (ACE_TRY_ENV);
- ACE_CHECK;
-
- _tao_server_request.init_reply ();
- TAO_OutputCDR &_tao_out = _tao_server_request.outgoing ();
- if (!((_tao_out << CORBA::Any::from_boolean (_tao_retval))))
- ACE_THROW (CORBA::MARSHAL ());
-}
-
-CORBA::Boolean POA_IR::EnumDef::_is_a (
- const char* value,
- CORBA::Environment &ACE_TRY_ENV
- )
-{
- if (
- (!ACE_OS::strcmp ((char *)value, "IDL:omg.org/IR/EnumDef:1.0")) ||
- (!ACE_OS::strcmp ((char *)value, "IDL:omg.org/IR/TypedefDef:1.0")) ||
- (!ACE_OS::strcmp ((char *)value, "IDL:omg.org/IR/Contained:1.0")) ||
- (!ACE_OS::strcmp ((char *)value, "IDL:omg.org/IR/IDLType:1.0")) ||
- (!ACE_OS::strcmp ((char *)value, "IDL:omg.org/CORBA/IRObject:1.0")) ||
- (!ACE_OS::strcmp ((char *)value, CORBA::_tc_Object->id (ACE_TRY_ENV))))
- return 1;
- else
- return 0;
-}
-
-void* POA_IR::EnumDef::_downcast (
- const char* logical_type_id
- )
-{
- if (ACE_OS::strcmp (logical_type_id, "IDL:omg.org/IR/EnumDef:1.0") == 0)
- return ACE_static_cast (POA_IR::EnumDef_ptr, this);
- if (ACE_OS::strcmp (logical_type_id, "IDL:omg.org/IR/TypedefDef:1.0") == 0)
- return ACE_static_cast (POA_IR::TypedefDef_ptr, this);
- if (ACE_OS::strcmp (logical_type_id, "IDL:omg.org/IR/Contained:1.0") == 0)
- return ACE_static_cast (POA_IR::Contained_ptr, this);
- if (ACE_OS::strcmp (logical_type_id, "IDL:omg.org/IR/IDLType:1.0") == 0)
- return ACE_static_cast (POA_IR::IDLType_ptr, this);
- if (ACE_OS::strcmp (logical_type_id, "IDL:omg.org/CORBA/IRObject:1.0") == 0)
- return ACE_static_cast (POA_CORBA_IRObject_ptr, this);
- if (ACE_OS::strcmp (logical_type_id, "IDL:omg.org/CORBA/Object:1.0") == 0)
- return ACE_static_cast(PortableServer::Servant, this);
- return 0;
-}
-
-void POA_IR::EnumDef::_dispatch (TAO_ServerRequest &req, void *context, CORBA::Environment &ACE_TRY_ENV)
-{
- this->synchronous_upcall_dispatch(req, context, this, ACE_TRY_ENV);
-}
-
-const char* POA_IR::EnumDef::_interface_repository_id (void) const
-{
- return "IDL:omg.org/IR/EnumDef:1.0";
-}
-
-IR::EnumDef*
-POA_IR::EnumDef::_this (CORBA_Environment &ACE_TRY_ENV)
-{
- TAO_Stub *stub = this->_create_stub (ACE_TRY_ENV);
- ACE_CHECK_RETURN (0);
-
- CORBA::Object_ptr tmp = CORBA::Object::_nil ();
-
- if (stub->servant_orb_var ()->orb_core ()->optimize_collocation_objects ())
- ACE_NEW_RETURN (tmp, CORBA::Object (stub, 1, this), 0);
- else
- ACE_NEW_RETURN (tmp, CORBA::Object (stub, 0, this), 0);
-
- CORBA::Object_var obj = tmp;
- return IR_EnumDef::_unchecked_narrow (obj.in ());
-}
-
-#if (TAO_HAS_INTERCEPTORS == 1)
-POA_IR::EnumDef::TAO_ServerRequestInfo_IR_EnumDef_members_get::TAO_ServerRequestInfo_IR_EnumDef_members_get (
- TAO_ServerRequest &_tao_server_request,
- POA_IR::EnumDef *tao_impl,
- CORBA::Environment &
- )
- : TAO_ServerRequestInfo (_tao_server_request),
- _tao_impl (tao_impl)
-{}
-
-Dynamic::ParameterList *
-POA_IR::EnumDef::TAO_ServerRequestInfo_IR_EnumDef_members_get::arguments (CORBA::Environment &ACE_TRY_ENV)
- ACE_THROW_SPEC ((CORBA::SystemException))
-{
- // Generate the argument list on demand.
- Dynamic::ParameterList *parameter_list =
- TAO_RequestInfo_Util::make_parameter_list (ACE_TRY_ENV);
- ACE_CHECK_RETURN (0);
-
- return parameter_list;
-}
-
-Dynamic::ExceptionList *
-POA_IR::EnumDef::TAO_ServerRequestInfo_IR_EnumDef_members_get::exceptions (CORBA::Environment &ACE_TRY_ENV)
- ACE_THROW_SPEC ((CORBA::SystemException))
-{
- // Generate the exception list on demand.
- Dynamic::ExceptionList *exception_list =
- TAO_RequestInfo_Util::make_exception_list (ACE_TRY_ENV);
- ACE_CHECK_RETURN (0);
-
- return exception_list;
-}
-
-CORBA::Any *
-POA_IR::EnumDef::TAO_ServerRequestInfo_IR_EnumDef_members_get::result (CORBA::Environment &ACE_TRY_ENV)
- ACE_THROW_SPEC ((CORBA::SystemException))
-{
- // Generate the result on demand.
- CORBA::Boolean tk_void_any = 0;
- CORBA::Any *result_any =
- TAO_RequestInfo_Util::make_any (tk_void_any, ACE_TRY_ENV);
- ACE_CHECK_RETURN (0);
-
- CORBA::Any_var safe_result_any = result_any;
-
- (*result_any) <<= this->_result;
-
- return safe_result_any._retn ();
-}
-
-char *
-POA_IR::EnumDef::TAO_ServerRequestInfo_IR_EnumDef_members_get::target_most_derived_interface (
- CORBA::Environment &)
- ACE_THROW_SPEC ((CORBA::SystemException))
-{
- return
- CORBA::string_dup (this->_tao_impl->_interface_repository_id ());
-}
-
-CORBA::Boolean
-POA_IR::EnumDef::TAO_ServerRequestInfo_IR_EnumDef_members_get::target_is_a (
- const char * id,
- CORBA::Environment &ACE_TRY_ENV)
- ACE_THROW_SPEC ((CORBA::SystemException))
-{
- return this->_tao_impl->_is_a (id, ACE_TRY_ENV);
-}
-
-void
-POA_IR::EnumDef::TAO_ServerRequestInfo_IR_EnumDef_members_get::result (IR::EnumMemberSeq * result)
-{
- // Update the result.
- this->_result = result;
-}
-
-POA_IR::EnumDef::TAO_ServerRequestInfo_IR_EnumDef_members_set::TAO_ServerRequestInfo_IR_EnumDef_members_set (
- TAO_ServerRequest &_tao_server_request,
- POA_IR::EnumDef *tao_impl,
- const IR_EnumMemberSeq & members,
- CORBA::Environment &
- )
- : TAO_ServerRequestInfo (_tao_server_request),
- _tao_impl (tao_impl),
- members_ (members)
-{}
-
-Dynamic::ParameterList *
-POA_IR::EnumDef::TAO_ServerRequestInfo_IR_EnumDef_members_set::arguments (CORBA::Environment &ACE_TRY_ENV)
- ACE_THROW_SPEC ((CORBA::SystemException))
-{
- // Generate the argument list on demand.
- Dynamic::ParameterList *parameter_list =
- TAO_RequestInfo_Util::make_parameter_list (ACE_TRY_ENV);
- ACE_CHECK_RETURN (0);
-
- Dynamic::ParameterList_var safe_parameter_list = parameter_list;
-
- CORBA::ULong length_members = parameter_list->length ();
- parameter_list->length (length_members + 1);
- (*parameter_list)[length_members].argument <<= this->members_;
-
- (*parameter_list)[length_members].mode = Dynamic::PARAM_IN;
-
- return safe_parameter_list._retn ();
-}
-
-Dynamic::ExceptionList *
-POA_IR::EnumDef::TAO_ServerRequestInfo_IR_EnumDef_members_set::exceptions (CORBA::Environment &ACE_TRY_ENV)
- ACE_THROW_SPEC ((CORBA::SystemException))
-{
- // Generate the exception list on demand.
- Dynamic::ExceptionList *exception_list =
- TAO_RequestInfo_Util::make_exception_list (ACE_TRY_ENV);
- ACE_CHECK_RETURN (0);
-
- return exception_list;
-}
-
-CORBA::Any *
-POA_IR::EnumDef::TAO_ServerRequestInfo_IR_EnumDef_members_set::result (CORBA::Environment &ACE_TRY_ENV)
- ACE_THROW_SPEC ((CORBA::SystemException))
-{
- // Generate the result on demand.
- CORBA::Boolean tk_void_any = 1;
- CORBA::Any *result_any =
- TAO_RequestInfo_Util::make_any (tk_void_any, ACE_TRY_ENV);
- ACE_CHECK_RETURN (0);
-
- return result_any;
-}
-
-char *
-POA_IR::EnumDef::TAO_ServerRequestInfo_IR_EnumDef_members_set::target_most_derived_interface (
- CORBA::Environment &)
- ACE_THROW_SPEC ((CORBA::SystemException))
-{
- return
- CORBA::string_dup (this->_tao_impl->_interface_repository_id ());
-}
-
-CORBA::Boolean
-POA_IR::EnumDef::TAO_ServerRequestInfo_IR_EnumDef_members_set::target_is_a (
- const char * id,
- CORBA::Environment &ACE_TRY_ENV)
- ACE_THROW_SPEC ((CORBA::SystemException))
-{
- return this->_tao_impl->_is_a (id, ACE_TRY_ENV);
-}
-
-#endif /* TAO_HAS_INTERCEPTORS */
-
-class TAO_IR_AliasDef_Perfect_Hash_OpTable : public TAO_Perfect_Hash_OpTable
-{
-private:
- unsigned int hash (const char *str, unsigned int len);
-public:
- const TAO_operation_db_entry * lookup (const char *str, unsigned int len);
-};
-/* starting time is 11:23:10 */
-/* C++ code produced by gperf version 2.8 (ACE version) */
-/* Command-line: gperf -m -M -J -c -C -D -E -T -f 0 -F 0 -a -o -t -p -K opname_ -L C++ -Z TAO_IR_AliasDef_Perfect_Hash_OpTable -N lookup */
-unsigned int
-TAO_IR_AliasDef_Perfect_Hash_OpTable::hash (const char *str, unsigned int len)
-{
- static const unsigned char asso_values[] =
- {
-#if defined (ACE_MVS)
- 37, 37, 37, 37, 37, 37, 37, 37, 37, 37,
- 37, 37, 37, 37, 37, 37, 37, 37, 37, 37,
- 37, 37, 37, 37, 37, 37, 37, 37, 37, 37,
- 37, 37, 37, 37, 37, 37, 37, 37, 37, 37,
- 37, 37, 37, 37, 37, 37, 37, 37, 37, 37,
- 37, 37, 37, 37, 37, 37, 37, 37, 37, 37,
- 37, 37, 37, 37, 37, 37, 37, 37, 37, 37,
- 37, 37, 37, 37, 37, 37, 37, 37, 37, 37,
- 37, 37, 37, 37, 37, 37, 37, 37, 37, 37,
- 37, 37, 37, 37, 37, 37, 37, 37, 37, 37,
- 37, 37, 37, 37, 37, 37, 37, 37, 37, 0,
- 37, 37, 37, 37, 37, 37, 37, 37, 37, 37,
- 37, 37, 37, 37, 37, 37, 37, 37, 37, 0,
- 37, 37, 0, 0, 0, 37, 37, 37, 37, 37,
- 37, 37, 37, 37, 37, 37, 37, 37, 0, 0,
- 37, 37, 37, 37, 37, 37, 37, 37, 37, 37,
- 37, 37, 37, 10, 37, 37, 37, 37, 10, 37,
- 37, 37, 37, 37, 37, 37, 37, 37, 37, 37,
- 37, 37, 37, 37, 37, 37, 37, 37, 37, 37,
- 37, 37, 37, 37, 37, 37, 37, 37, 37, 37,
- 37, 37, 37, 37, 37, 37, 37, 37, 37, 37,
- 37, 37, 37, 37, 37, 37, 37, 37, 37, 37,
- 37, 37, 37, 37, 37, 37, 37, 37, 37, 37,
- 37, 37, 37, 37, 37, 37, 37, 37, 37, 37,
- 37, 37, 37, 37, 37, 37, 37, 37, 37, 37,
- 37, 37, 37, 37, 37, 37,
-#else
- 37, 37, 37, 37, 37, 37, 37, 37, 37, 37,
- 37, 37, 37, 37, 37, 37, 37, 37, 37, 37,
- 37, 37, 37, 37, 37, 37, 37, 37, 37, 37,
- 37, 37, 37, 37, 37, 37, 37, 37, 37, 37,
- 37, 37, 37, 37, 37, 37, 37, 37, 37, 37,
- 37, 37, 37, 37, 37, 37, 37, 37, 37, 37,
- 37, 37, 37, 37, 37, 37, 37, 37, 37, 37,
- 37, 37, 37, 37, 37, 37, 37, 37, 37, 37,
- 37, 37, 37, 37, 37, 37, 37, 37, 37, 37,
- 37, 37, 37, 37, 37, 0, 37, 0, 37, 37,
- 0, 0, 0, 37, 37, 37, 37, 37, 37, 0,
- 0, 37, 37, 37, 37, 37, 10, 37, 37, 37,
- 37, 10, 37, 37, 37, 37, 37, 37,
-#endif /* ACE_MVS */
- };
- return len + asso_values[str[len - 1]] + asso_values[str[0]];
-}
-
-const class TAO_operation_db_entry *
-TAO_IR_AliasDef_Perfect_Hash_OpTable::lookup (const char *str, unsigned int len)
-{
- enum
- {
- TOTAL_KEYWORDS = 18,
- MIN_WORD_LENGTH = 4,
- MAX_WORD_LENGTH = 26,
- MIN_HASH_VALUE = 4,
- MAX_HASH_VALUE = 36,
- HASH_VALUE_RANGE = 33,
- DUPLICATES = 6
- };
-
- static const class TAO_operation_db_entry wordlist[] =
- {
- {"",0},{"",0},{"",0},{"",0},
- {"move", &POA_IR::AliasDef::move_skel},
- {"_is_a", &POA_IR::AliasDef::_is_a_skel},
- {"_get_id", &POA_IR::AliasDef::_get_id_skel},
- {"_set_id", &POA_IR::AliasDef::_set_id_skel},
- {"describe", &POA_IR::AliasDef::describe_skel},
- {"_get_name", &POA_IR::AliasDef::_get_name_skel},
- {"_get_type", &POA_IR::AliasDef::_get_type_skel},
- {"_set_name", &POA_IR::AliasDef::_set_name_skel},
- {"_get_version", &POA_IR::AliasDef::_get_version_skel},
- {"_set_version", &POA_IR::AliasDef::_set_version_skel},
- {"_get_def_kind", &POA_IR::AliasDef::_get_def_kind_skel},
- {"_get_defined_in", &POA_IR::AliasDef::_get_defined_in_skel},
- {"destroy", &POA_IR::AliasDef::destroy_skel},
- {"_get_absolute_name", &POA_IR::AliasDef::_get_absolute_name_skel},
- {"_get_original_type_def", &POA_IR::AliasDef::_get_original_type_def_skel},
- {"_set_original_type_def", &POA_IR::AliasDef::_set_original_type_def_skel},
- {"_non_existent", &POA_IR::AliasDef::_non_existent_skel},
- {"_get_containing_repository", &POA_IR::AliasDef::_get_containing_repository_skel},
- };
-
- static const signed char lookup[] =
- {
- -6, -2, -9, -3, 4, 5, -1, -43, 8, -43, -12, -2, -38, 14,
- -1, 15, -1, 16, 17, -1, -18, -2, -38, 20, -1, -1, -1, -1,
- -1, -1, -1, -1, -1, -1, -1, -1, 21,
- };
-
- if (len <= MAX_WORD_LENGTH && len >= MIN_WORD_LENGTH)
- {
- unsigned int key = hash (str, len);
-
- if (key <= MAX_HASH_VALUE && key >= MIN_HASH_VALUE)
- {
- int slot = lookup[key];
-
- if (slot >= 0 && slot < MAX_HASH_VALUE)
- {
- const char *s = wordlist[slot].opname_;
-
- if (*str == *s && !strncmp (str + 1, s + 1, len - 1))
- return &wordlist[slot];
- }
- else if (slot < 0 && slot >= -MAX_HASH_VALUE)
- return 0;
- else
- {
- unsigned int offset = key + slot + (slot > 0 ? -MAX_HASH_VALUE : MAX_HASH_VALUE);
- const class TAO_operation_db_entry *base = &wordlist[-lookup[offset]];
- const class TAO_operation_db_entry *ptr = base + -lookup[offset + 1];
-
- while (--ptr >= base)
- if (*str == *ptr->opname_ && !strncmp (str + 1, ptr->opname_ + 1, len - 1))
- return ptr;
- }
- }
- }
- return 0;
-}
-/* ending time is 11:23:10 */
-static TAO_IR_AliasDef_Perfect_Hash_OpTable tao_IR_AliasDef_optable;
-
-///////////////////////////////////////////////////////////////////////
-// Strategized Proxy Broker Implementation
-//
-
-// Factory function Implementation.
-POA_IR::_TAO_AliasDef_Strategized_Proxy_Broker *POA_IR::_TAO_AliasDef_Strategized_Proxy_Broker::the_TAO_AliasDef_Strategized_Proxy_Broker (void)
-{
- static POA_IR::_TAO_AliasDef_Strategized_Proxy_Broker strategized_proxy_broker;
- return &strategized_proxy_broker;
-}
-
-POA_IR::_TAO_AliasDef_Strategized_Proxy_Broker::_TAO_AliasDef_Strategized_Proxy_Broker (void)
-{
- for (int i = 0; i < TAO_Collocation_Strategies::CS_LAST; ++i)
- this->proxy_cache_[i] = 0;
-
-}
-
-POA_IR::_TAO_AliasDef_Strategized_Proxy_Broker::~_TAO_AliasDef_Strategized_Proxy_Broker (void)
-{
- for (int i = 0; i < TAO_Collocation_Strategies::CS_LAST; ++i)
- delete this->proxy_cache_[i];
-
-}
-
-_TAO_AliasDef_Proxy_Impl&
-POA_IR::_TAO_AliasDef_Strategized_Proxy_Broker::select_proxy (
- IR_AliasDef *object,
- CORBA::Environment &ACE_TRY_ENV
- )
-{
- int strategy =
- TAO_ORB_Core::collocation_strategy (object);
-
- if (this->proxy_cache_[strategy] != 0)
- return *this->proxy_cache_[strategy];
-
- this->create_proxy (strategy, ACE_TRY_ENV);
- ACE_CHECK_RETURN (*this->proxy_cache_[strategy]);
-
- return *this->proxy_cache_[strategy];
-
-}
-
-void
-POA_IR::_TAO_AliasDef_Strategized_Proxy_Broker::create_proxy (
- int strategy,
- CORBA::Environment &ACE_TRY_ENV
- )
-{
- ACE_GUARD (TAO_SYNCH_MUTEX, guard, this->mutex_);
-
- if (this->proxy_cache_[strategy] == 0)
- {
- switch (strategy)
- {
- case TAO_Collocation_Strategies::CS_THRU_POA_STRATEGY:
- ACE_NEW_THROW_EX (
- this->proxy_cache_[strategy],
- _TAO_AliasDef_ThruPOA_Proxy_Impl,
- CORBA::NO_MEMORY ()
- );
- ACE_CHECK;
- break;
-
- case TAO_Collocation_Strategies::CS_REMOTE_STRATEGY:
- default:
- ACE_NEW_THROW_EX (
- this->proxy_cache_[strategy],
- _TAO_AliasDef_Remote_Proxy_Impl,
- CORBA::NO_MEMORY ()
- );
- ACE_CHECK;
- break;
-
- }
-
- }
-}
-
-
-//
-// End Strategized Proxy Broker Implementation
-///////////////////////////////////////////////////////////////////////
-
-
-_TAO_AliasDef_Proxy_Broker *
-_TAO_AliasDef_Proxy_Broker_Factory_function (CORBA::Object_ptr obj)
-{
- ACE_UNUSED_ARG (obj);
- return ::POA_IR::_TAO_AliasDef_Strategized_Proxy_Broker::the_TAO_AliasDef_Strategized_Proxy_Broker();
-}
-
-int
-_TAO_AliasDef_Proxy_Broker_Factory_Initializer (long _dummy_)
-{
- ACE_UNUSED_ARG (_dummy_);
-
- _TAO_AliasDef_Proxy_Broker_Factory_function_pointer =
- _TAO_AliasDef_Proxy_Broker_Factory_function;
-
- return 0;
-}
-
-static int _TAO_AliasDef_Proxy_Broker_Stub_Factory_Initializer_Scarecrow =
- _TAO_AliasDef_Proxy_Broker_Factory_Initializer (ACE_reinterpret_cast (long, _TAO_AliasDef_Proxy_Broker_Factory_Initializer));
-
-
-///////////////////////////////////////////////////////////////////////
-// ThruPOA Proxy Implementation
-//
-
-POA_IR::_TAO_AliasDef_ThruPOA_Proxy_Impl::_TAO_AliasDef_ThruPOA_Proxy_Impl (void)
-{}
-
-// ThruPOA Implementation of the IDL interface methods
-
-IR_IDLType_ptr POA_IR::_TAO_AliasDef_ThruPOA_Proxy_Impl::original_type_def (
- CORBA_Object *_collocated_tao_target_,
- CORBA::Environment &ACE_TRY_ENV
- )
- ACE_THROW_SPEC ((
- CORBA::SystemException
- ))
-{
- IR_IDLType_var _tao_retval;
- ACE_UNUSED_ARG (_tao_retval);
- TAO_Object_Adapter::Servant_Upcall servant_upcall (
- _collocated_tao_target_->_stubobj ()->servant_orb_var ()->orb_core ()
- );
- CORBA::Object_var forward_to;
- servant_upcall.prepare_for_upcall (
- _collocated_tao_target_->_object_key (),
- "original_type_def",
- forward_to.out (),
- ACE_TRY_ENV
- );
- ACE_CHECK_RETURN (0);
- return ACE_reinterpret_cast (
- POA_IR::AliasDef_ptr,
- servant_upcall.servant ()->_downcast (
- "IDL:omg.org/IR/AliasDef:1.0"
- )
- )->original_type_def (
- ACE_TRY_ENV
- );
-}
-
-void POA_IR::_TAO_AliasDef_ThruPOA_Proxy_Impl::original_type_def (
- CORBA_Object *_collocated_tao_target_,
- IR_IDLType_ptr original_type_def,
- CORBA::Environment &ACE_TRY_ENV
- )
- ACE_THROW_SPEC ((
- CORBA::SystemException
- ))
-{
- TAO_Object_Adapter::Servant_Upcall servant_upcall (
- _collocated_tao_target_->_stubobj ()->servant_orb_var ()->orb_core ()
- );
- CORBA::Object_var forward_to;
- servant_upcall.prepare_for_upcall (
- _collocated_tao_target_->_object_key (),
- "original_type_def",
- forward_to.out (),
- ACE_TRY_ENV
- );
- ACE_CHECK;
- ACE_reinterpret_cast (
- POA_IR::AliasDef_ptr,
- servant_upcall.servant ()->_downcast (
- "IDL:omg.org/IR/AliasDef:1.0"
- )
- )->original_type_def (
- original_type_def,
- ACE_TRY_ENV
- );
- return;
-}
-
-//
-// End ThruPOA Proxy Implementation
-///////////////////////////////////////////////////////////////////////
-
-// skeleton constructor
-POA_IR::AliasDef::AliasDef (void)
-{
- this->optable_ = &tao_IR_AliasDef_optable;
-}
-
-// copy ctor
-POA_IR::AliasDef::AliasDef (const AliasDef& rhs)
- : ACE_NESTED_CLASS (POA_IR,TypedefDef) (rhs),
- ACE_NESTED_CLASS (POA_IR,Contained) (rhs),
- ACE_NESTED_CLASS (POA_IR,IDLType) (rhs),
- POA_CORBA_IRObject (rhs),
- TAO_ServantBase (rhs)
-{}
-
-// skeleton destructor
-POA_IR::AliasDef::~AliasDef (void)
-{
-}
-
-void POA_IR::AliasDef::_get_original_type_def_skel (
- TAO_ServerRequest &_tao_server_request,
- void *_tao_object_reference,
- void * /* context */,
- CORBA::Environment &ACE_TRY_ENV
-)
-{
- POA_IR::AliasDef *_tao_impl = (POA_IR::AliasDef *)_tao_object_reference;
-
- IR_IDLType_var _tao_retval;
-
-#if (TAO_HAS_INTERCEPTORS == 1)
- TAO_ServerRequestInterceptor_Adapter _tao_vfr (
- _tao_server_request.orb_core ()->server_request_interceptors (),
- _tao_server_request.interceptor_count ()
- );
-
- POA_IR::AliasDef::TAO_ServerRequestInfo_IR_AliasDef_original_type_def_get ri (
- _tao_server_request,
- _tao_impl,
- ACE_TRY_ENV
- );
-
- ACE_TRY
- {
- _tao_vfr.receive_request (&ri, ACE_TRY_ENV);
- ACE_TRY_CHECK;
-
-#endif /* TAO_HAS_INTERCEPTORS */
- _tao_retval =
- _tao_impl->original_type_def (
- ACE_TRY_ENV
- );
- TAO_INTERCEPTOR_CHECK;
-
-#if (TAO_HAS_INTERCEPTORS == 1)
- IR_IDLType_ptr _tao_retval_info = _tao_retval._retn ();
- ri.result (_tao_retval_info);
- _tao_retval = _tao_retval_info;
- ri.reply_status (PortableInterceptor::SUCCESSFUL);
- _tao_vfr.send_reply (&ri, ACE_TRY_ENV);
- ACE_TRY_CHECK;
- }
- ACE_CATCH (PortableInterceptor::ForwardRequest, exc)
- {
- ri.forward_reference (exc);
- _tao_vfr.send_other (
- &ri,
- ACE_TRY_ENV
- );
- ACE_TRY_CHECK;
- _tao_server_request.forward_location (exc.forward.in ());
- }
- ACE_CATCHANY
- {
- ri.exception (&ACE_ANY_EXCEPTION);
- _tao_vfr.send_exception (
- &ri,
- ACE_TRY_ENV
- );
- ACE_TRY_CHECK;
- ACE_RE_THROW;
- }
- ACE_ENDTRY;
- ACE_CHECK;
-#endif /* TAO_HAS_INTERCEPTORS */
-
- _tao_server_request.init_reply ();
-
- TAO_OutputCDR &_tao_out = _tao_server_request.outgoing ();
-
- if (!(
- (_tao_out << _tao_retval.in ())
- ))
- ACE_THROW (CORBA::MARSHAL());
-
- // In case ACE_TRY_ENV is not used in this function
- ACE_UNUSED_ARG (ACE_TRY_ENV);
-}
-
-void POA_IR::AliasDef::_set_original_type_def_skel (
- TAO_ServerRequest &_tao_server_request,
- void *_tao_object_reference,
- void * /* context */,
- CORBA::Environment &ACE_TRY_ENV
-)
-{
- TAO_InputCDR &_tao_in = _tao_server_request.incoming ();
- POA_IR::AliasDef *_tao_impl = (POA_IR::AliasDef *)_tao_object_reference;
-
- IR_IDLType_var original_type_def;
- if (!(
- (_tao_in >> original_type_def.out ())
- ))
- ACE_THROW (CORBA::MARSHAL () );
-
-#if (TAO_HAS_INTERCEPTORS == 1)
- TAO_ServerRequestInterceptor_Adapter _tao_vfr (
- _tao_server_request.orb_core ()->server_request_interceptors (),
- _tao_server_request.interceptor_count ()
- );
-
- POA_IR::AliasDef::TAO_ServerRequestInfo_IR_AliasDef_original_type_def_set ri (
- _tao_server_request,
- _tao_impl,
- original_type_def.in (),
- ACE_TRY_ENV
- );
-
- ACE_TRY
- {
- _tao_vfr.receive_request (&ri, ACE_TRY_ENV);
- ACE_TRY_CHECK;
-
-#endif /* TAO_HAS_INTERCEPTORS */
-
- _tao_impl->original_type_def (
- original_type_def.in (),
- ACE_TRY_ENV
- );
- TAO_INTERCEPTOR_CHECK;
-
-#if (TAO_HAS_INTERCEPTORS == 1)
- ri.reply_status (PortableInterceptor::SUCCESSFUL);
- _tao_vfr.send_reply (&ri, ACE_TRY_ENV);
- ACE_TRY_CHECK;
- }
- ACE_CATCH (PortableInterceptor::ForwardRequest, exc)
- {
- ri.forward_reference (exc);
- _tao_vfr.send_other (
- &ri,
- ACE_TRY_ENV
- );
- ACE_TRY_CHECK;
- _tao_server_request.forward_location (exc.forward.in ());
- }
- ACE_CATCHANY
- {
- ri.exception (&ACE_ANY_EXCEPTION);
- _tao_vfr.send_exception (
- &ri,
- ACE_TRY_ENV
- );
- ACE_TRY_CHECK;
- ACE_RE_THROW;
- }
- ACE_ENDTRY;
- ACE_CHECK;
-#endif /* TAO_HAS_INTERCEPTORS */
-
- _tao_server_request.init_reply ();
-
- // In case ACE_TRY_ENV is not used in this function
- ACE_UNUSED_ARG (ACE_TRY_ENV);
-}
-
-void POA_IR::AliasDef::_is_a_skel (
- TAO_ServerRequest &_tao_server_request,
- void * _tao_object_reference,
- void * /* context */,
- CORBA::Environment &ACE_TRY_ENV
- )
-{
- TAO_InputCDR &_tao_in = _tao_server_request.incoming ();
- POA_IR::AliasDef *_tao_impl = (POA_IR::AliasDef *) _tao_object_reference;
- CORBA::Boolean _tao_retval = 0;
- CORBA::String_var value;
- if (!((_tao_in >> value.out ())))
- ACE_THROW (CORBA::MARSHAL ());
-
- _tao_retval = _tao_impl->_is_a (value.in (), ACE_TRY_ENV);
- ACE_CHECK;
-
- _tao_server_request.init_reply ();
- TAO_OutputCDR &_tao_out = _tao_server_request.outgoing ();
- if (!((_tao_out << CORBA::Any::from_boolean (_tao_retval))))
- ACE_THROW (CORBA::MARSHAL ());
-}
-
-void POA_IR::AliasDef::_non_existent_skel (
- TAO_ServerRequest &_tao_server_request,
- void * _tao_object_reference,
- void * /* context */,
- CORBA::Environment &ACE_TRY_ENV
- )
-{
- POA_IR::AliasDef *_tao_impl = (POA_IR::AliasDef *) _tao_object_reference;
- CORBA::Boolean _tao_retval = _tao_impl->_non_existent (ACE_TRY_ENV);
- ACE_CHECK;
-
- _tao_server_request.init_reply ();
- TAO_OutputCDR &_tao_out = _tao_server_request.outgoing ();
- if (!((_tao_out << CORBA::Any::from_boolean (_tao_retval))))
- ACE_THROW (CORBA::MARSHAL ());
-}
-
-CORBA::Boolean POA_IR::AliasDef::_is_a (
- const char* value,
- CORBA::Environment &ACE_TRY_ENV
- )
-{
- if (
- (!ACE_OS::strcmp ((char *)value, "IDL:omg.org/IR/AliasDef:1.0")) ||
- (!ACE_OS::strcmp ((char *)value, "IDL:omg.org/IR/TypedefDef:1.0")) ||
- (!ACE_OS::strcmp ((char *)value, "IDL:omg.org/IR/Contained:1.0")) ||
- (!ACE_OS::strcmp ((char *)value, "IDL:omg.org/IR/IDLType:1.0")) ||
- (!ACE_OS::strcmp ((char *)value, "IDL:omg.org/CORBA/IRObject:1.0")) ||
- (!ACE_OS::strcmp ((char *)value, CORBA::_tc_Object->id (ACE_TRY_ENV))))
- return 1;
- else
- return 0;
-}
-
-void* POA_IR::AliasDef::_downcast (
- const char* logical_type_id
- )
-{
- if (ACE_OS::strcmp (logical_type_id, "IDL:omg.org/IR/AliasDef:1.0") == 0)
- return ACE_static_cast (POA_IR::AliasDef_ptr, this);
- if (ACE_OS::strcmp (logical_type_id, "IDL:omg.org/IR/TypedefDef:1.0") == 0)
- return ACE_static_cast (POA_IR::TypedefDef_ptr, this);
- if (ACE_OS::strcmp (logical_type_id, "IDL:omg.org/IR/Contained:1.0") == 0)
- return ACE_static_cast (POA_IR::Contained_ptr, this);
- if (ACE_OS::strcmp (logical_type_id, "IDL:omg.org/IR/IDLType:1.0") == 0)
- return ACE_static_cast (POA_IR::IDLType_ptr, this);
- if (ACE_OS::strcmp (logical_type_id, "IDL:omg.org/CORBA/IRObject:1.0") == 0)
- return ACE_static_cast (POA_CORBA_IRObject_ptr, this);
- if (ACE_OS::strcmp (logical_type_id, "IDL:omg.org/CORBA/Object:1.0") == 0)
- return ACE_static_cast(PortableServer::Servant, this);
- return 0;
-}
-
-void POA_IR::AliasDef::_dispatch (TAO_ServerRequest &req, void *context, CORBA::Environment &ACE_TRY_ENV)
-{
- this->synchronous_upcall_dispatch(req, context, this, ACE_TRY_ENV);
-}
-
-const char* POA_IR::AliasDef::_interface_repository_id (void) const
-{
- return "IDL:omg.org/IR/AliasDef:1.0";
-}
-
-IR::AliasDef*
-POA_IR::AliasDef::_this (CORBA_Environment &ACE_TRY_ENV)
-{
- TAO_Stub *stub = this->_create_stub (ACE_TRY_ENV);
- ACE_CHECK_RETURN (0);
-
- CORBA::Object_ptr tmp = CORBA::Object::_nil ();
-
- if (stub->servant_orb_var ()->orb_core ()->optimize_collocation_objects ())
- ACE_NEW_RETURN (tmp, CORBA::Object (stub, 1, this), 0);
- else
- ACE_NEW_RETURN (tmp, CORBA::Object (stub, 0, this), 0);
-
- CORBA::Object_var obj = tmp;
- return IR_AliasDef::_unchecked_narrow (obj.in ());
-}
-
-#if (TAO_HAS_INTERCEPTORS == 1)
-POA_IR::AliasDef::TAO_ServerRequestInfo_IR_AliasDef_original_type_def_get::TAO_ServerRequestInfo_IR_AliasDef_original_type_def_get (
- TAO_ServerRequest &_tao_server_request,
- POA_IR::AliasDef *tao_impl,
- CORBA::Environment &
- )
- : TAO_ServerRequestInfo (_tao_server_request),
- _tao_impl (tao_impl)
-{}
-
-Dynamic::ParameterList *
-POA_IR::AliasDef::TAO_ServerRequestInfo_IR_AliasDef_original_type_def_get::arguments (CORBA::Environment &ACE_TRY_ENV)
- ACE_THROW_SPEC ((CORBA::SystemException))
-{
- // Generate the argument list on demand.
- Dynamic::ParameterList *parameter_list =
- TAO_RequestInfo_Util::make_parameter_list (ACE_TRY_ENV);
- ACE_CHECK_RETURN (0);
-
- return parameter_list;
-}
-
-Dynamic::ExceptionList *
-POA_IR::AliasDef::TAO_ServerRequestInfo_IR_AliasDef_original_type_def_get::exceptions (CORBA::Environment &ACE_TRY_ENV)
- ACE_THROW_SPEC ((CORBA::SystemException))
-{
- // Generate the exception list on demand.
- Dynamic::ExceptionList *exception_list =
- TAO_RequestInfo_Util::make_exception_list (ACE_TRY_ENV);
- ACE_CHECK_RETURN (0);
-
- return exception_list;
-}
-
-CORBA::Any *
-POA_IR::AliasDef::TAO_ServerRequestInfo_IR_AliasDef_original_type_def_get::result (CORBA::Environment &ACE_TRY_ENV)
- ACE_THROW_SPEC ((CORBA::SystemException))
-{
- // Generate the result on demand.
- CORBA::Boolean tk_void_any = 0;
- CORBA::Any *result_any =
- TAO_RequestInfo_Util::make_any (tk_void_any, ACE_TRY_ENV);
- ACE_CHECK_RETURN (0);
-
- CORBA::Any_var safe_result_any = result_any;
-
- (*result_any) <<= this->_result;
-
- return safe_result_any._retn ();
-}
-
-char *
-POA_IR::AliasDef::TAO_ServerRequestInfo_IR_AliasDef_original_type_def_get::target_most_derived_interface (
- CORBA::Environment &)
- ACE_THROW_SPEC ((CORBA::SystemException))
-{
- return
- CORBA::string_dup (this->_tao_impl->_interface_repository_id ());
-}
-
-CORBA::Boolean
-POA_IR::AliasDef::TAO_ServerRequestInfo_IR_AliasDef_original_type_def_get::target_is_a (
- const char * id,
- CORBA::Environment &ACE_TRY_ENV)
- ACE_THROW_SPEC ((CORBA::SystemException))
-{
- return this->_tao_impl->_is_a (id, ACE_TRY_ENV);
-}
-
-void
-POA_IR::AliasDef::TAO_ServerRequestInfo_IR_AliasDef_original_type_def_get::result (IR::IDLType_ptr result)
-{
- // Update the result.
- this->_result = result;
-}
-
-POA_IR::AliasDef::TAO_ServerRequestInfo_IR_AliasDef_original_type_def_set::TAO_ServerRequestInfo_IR_AliasDef_original_type_def_set (
- TAO_ServerRequest &_tao_server_request,
- POA_IR::AliasDef *tao_impl,
- IR_IDLType_ptr original_type_def,
- CORBA::Environment &
- )
- : TAO_ServerRequestInfo (_tao_server_request),
- _tao_impl (tao_impl),
- original_type_def_ (original_type_def)
-{}
-
-Dynamic::ParameterList *
-POA_IR::AliasDef::TAO_ServerRequestInfo_IR_AliasDef_original_type_def_set::arguments (CORBA::Environment &ACE_TRY_ENV)
- ACE_THROW_SPEC ((CORBA::SystemException))
-{
- // Generate the argument list on demand.
- Dynamic::ParameterList *parameter_list =
- TAO_RequestInfo_Util::make_parameter_list (ACE_TRY_ENV);
- ACE_CHECK_RETURN (0);
-
- Dynamic::ParameterList_var safe_parameter_list = parameter_list;
-
- CORBA::ULong length_original_type_def = parameter_list->length ();
- parameter_list->length (length_original_type_def + 1);
- (*parameter_list)[length_original_type_def].argument <<= this->original_type_def_;
-
- (*parameter_list)[length_original_type_def].mode = Dynamic::PARAM_IN;
-
- return safe_parameter_list._retn ();
-}
-
-Dynamic::ExceptionList *
-POA_IR::AliasDef::TAO_ServerRequestInfo_IR_AliasDef_original_type_def_set::exceptions (CORBA::Environment &ACE_TRY_ENV)
- ACE_THROW_SPEC ((CORBA::SystemException))
-{
- // Generate the exception list on demand.
- Dynamic::ExceptionList *exception_list =
- TAO_RequestInfo_Util::make_exception_list (ACE_TRY_ENV);
- ACE_CHECK_RETURN (0);
-
- return exception_list;
-}
-
-CORBA::Any *
-POA_IR::AliasDef::TAO_ServerRequestInfo_IR_AliasDef_original_type_def_set::result (CORBA::Environment &ACE_TRY_ENV)
- ACE_THROW_SPEC ((CORBA::SystemException))
-{
- // Generate the result on demand.
- CORBA::Boolean tk_void_any = 1;
- CORBA::Any *result_any =
- TAO_RequestInfo_Util::make_any (tk_void_any, ACE_TRY_ENV);
- ACE_CHECK_RETURN (0);
-
- return result_any;
-}
-
-char *
-POA_IR::AliasDef::TAO_ServerRequestInfo_IR_AliasDef_original_type_def_set::target_most_derived_interface (
- CORBA::Environment &)
- ACE_THROW_SPEC ((CORBA::SystemException))
-{
- return
- CORBA::string_dup (this->_tao_impl->_interface_repository_id ());
-}
-
-CORBA::Boolean
-POA_IR::AliasDef::TAO_ServerRequestInfo_IR_AliasDef_original_type_def_set::target_is_a (
- const char * id,
- CORBA::Environment &ACE_TRY_ENV)
- ACE_THROW_SPEC ((CORBA::SystemException))
-{
- return this->_tao_impl->_is_a (id, ACE_TRY_ENV);
-}
-
-#endif /* TAO_HAS_INTERCEPTORS */
-
-class TAO_IR_NativeDef_Perfect_Hash_OpTable : public TAO_Perfect_Hash_OpTable
-{
-private:
- unsigned int hash (const char *str, unsigned int len);
-public:
- const TAO_operation_db_entry * lookup (const char *str, unsigned int len);
-};
-/* starting time is 11:23:10 */
-/* C++ code produced by gperf version 2.8 (ACE version) */
-/* Command-line: gperf -m -M -J -c -C -D -E -T -f 0 -F 0 -a -o -t -p -K opname_ -L C++ -Z TAO_IR_NativeDef_Perfect_Hash_OpTable -N lookup */
-unsigned int
-TAO_IR_NativeDef_Perfect_Hash_OpTable::hash (const char *str, unsigned int len)
-{
- static const unsigned char asso_values[] =
- {
-#if defined (ACE_MVS)
- 37, 37, 37, 37, 37, 37, 37, 37, 37, 37,
- 37, 37, 37, 37, 37, 37, 37, 37, 37, 37,
- 37, 37, 37, 37, 37, 37, 37, 37, 37, 37,
- 37, 37, 37, 37, 37, 37, 37, 37, 37, 37,
- 37, 37, 37, 37, 37, 37, 37, 37, 37, 37,
- 37, 37, 37, 37, 37, 37, 37, 37, 37, 37,
- 37, 37, 37, 37, 37, 37, 37, 37, 37, 37,
- 37, 37, 37, 37, 37, 37, 37, 37, 37, 37,
- 37, 37, 37, 37, 37, 37, 37, 37, 37, 37,
- 37, 37, 37, 37, 37, 37, 37, 37, 37, 37,
- 37, 37, 37, 37, 37, 37, 37, 37, 37, 0,
- 37, 37, 37, 37, 37, 37, 37, 37, 37, 37,
- 37, 37, 37, 37, 37, 37, 37, 37, 37, 0,
- 37, 37, 0, 0, 37, 37, 37, 37, 37, 37,
- 37, 37, 37, 37, 37, 37, 37, 37, 0, 0,
- 37, 37, 37, 37, 37, 37, 37, 37, 37, 37,
- 37, 37, 37, 10, 37, 37, 37, 37, 10, 37,
- 37, 37, 37, 37, 37, 37, 37, 37, 37, 37,
- 37, 37, 37, 37, 37, 37, 37, 37, 37, 37,
- 37, 37, 37, 37, 37, 37, 37, 37, 37, 37,
- 37, 37, 37, 37, 37, 37, 37, 37, 37, 37,
- 37, 37, 37, 37, 37, 37, 37, 37, 37, 37,
- 37, 37, 37, 37, 37, 37, 37, 37, 37, 37,
- 37, 37, 37, 37, 37, 37, 37, 37, 37, 37,
- 37, 37, 37, 37, 37, 37, 37, 37, 37, 37,
- 37, 37, 37, 37, 37, 37,
-#else
- 37, 37, 37, 37, 37, 37, 37, 37, 37, 37,
- 37, 37, 37, 37, 37, 37, 37, 37, 37, 37,
- 37, 37, 37, 37, 37, 37, 37, 37, 37, 37,
- 37, 37, 37, 37, 37, 37, 37, 37, 37, 37,
- 37, 37, 37, 37, 37, 37, 37, 37, 37, 37,
- 37, 37, 37, 37, 37, 37, 37, 37, 37, 37,
- 37, 37, 37, 37, 37, 37, 37, 37, 37, 37,
- 37, 37, 37, 37, 37, 37, 37, 37, 37, 37,
- 37, 37, 37, 37, 37, 37, 37, 37, 37, 37,
- 37, 37, 37, 37, 37, 0, 37, 0, 37, 37,
- 0, 0, 37, 37, 37, 37, 37, 37, 37, 0,
- 0, 37, 37, 37, 37, 37, 10, 37, 37, 37,
- 37, 10, 37, 37, 37, 37, 37, 37,
-#endif /* ACE_MVS */
- };
- return len + asso_values[str[len - 1]] + asso_values[str[0]];
-}
-
-const class TAO_operation_db_entry *
-TAO_IR_NativeDef_Perfect_Hash_OpTable::lookup (const char *str, unsigned int len)
-{
- enum
- {
- TOTAL_KEYWORDS = 16,
- MIN_WORD_LENGTH = 4,
- MAX_WORD_LENGTH = 26,
- MIN_HASH_VALUE = 4,
- MAX_HASH_VALUE = 36,
- HASH_VALUE_RANGE = 33,
- DUPLICATES = 5
- };
-
- static const class TAO_operation_db_entry wordlist[] =
- {
- {"",0},{"",0},{"",0},{"",0},
- {"move", &POA_IR::NativeDef::move_skel},
- {"_is_a", &POA_IR::NativeDef::_is_a_skel},
- {"_get_id", &POA_IR::NativeDef::_get_id_skel},
- {"_set_id", &POA_IR::NativeDef::_set_id_skel},
- {"describe", &POA_IR::NativeDef::describe_skel},
- {"_get_name", &POA_IR::NativeDef::_get_name_skel},
- {"_get_type", &POA_IR::NativeDef::_get_type_skel},
- {"_set_name", &POA_IR::NativeDef::_set_name_skel},
- {"_get_version", &POA_IR::NativeDef::_get_version_skel},
- {"_set_version", &POA_IR::NativeDef::_set_version_skel},
- {"_get_def_kind", &POA_IR::NativeDef::_get_def_kind_skel},
- {"_get_defined_in", &POA_IR::NativeDef::_get_defined_in_skel},
- {"destroy", &POA_IR::NativeDef::destroy_skel},
- {"_get_absolute_name", &POA_IR::NativeDef::_get_absolute_name_skel},
- {"_non_existent", &POA_IR::NativeDef::_non_existent_skel},
- {"_get_containing_repository", &POA_IR::NativeDef::_get_containing_repository_skel},
- };
-
- static const signed char lookup[] =
- {
- -6, -2, -9, -3, 4, 5, -1, -43, 8, -43, -12, -2, -38, 14,
- -1, 15, -1, 16, 17, -1, -1, -1, -1, 18, -1, -1, -1, -1,
- -1, -1, -1, -1, -1, -1, -1, -1, 19,
- };
-
- if (len <= MAX_WORD_LENGTH && len >= MIN_WORD_LENGTH)
- {
- unsigned int key = hash (str, len);
-
- if (key <= MAX_HASH_VALUE && key >= MIN_HASH_VALUE)
- {
- int slot = lookup[key];
-
- if (slot >= 0 && slot < MAX_HASH_VALUE)
- {
- const char *s = wordlist[slot].opname_;
-
- if (*str == *s && !strncmp (str + 1, s + 1, len - 1))
- return &wordlist[slot];
- }
- else if (slot < 0 && slot >= -MAX_HASH_VALUE)
- return 0;
- else
- {
- unsigned int offset = key + slot + (slot > 0 ? -MAX_HASH_VALUE : MAX_HASH_VALUE);
- const class TAO_operation_db_entry *base = &wordlist[-lookup[offset]];
- const class TAO_operation_db_entry *ptr = base + -lookup[offset + 1];
-
- while (--ptr >= base)
- if (*str == *ptr->opname_ && !strncmp (str + 1, ptr->opname_ + 1, len - 1))
- return ptr;
- }
- }
- }
- return 0;
-}
-/* ending time is 11:23:10 */
-static TAO_IR_NativeDef_Perfect_Hash_OpTable tao_IR_NativeDef_optable;
-
-///////////////////////////////////////////////////////////////////////
-// Strategized Proxy Broker Implementation
-//
-
-// Factory function Implementation.
-POA_IR::_TAO_NativeDef_Strategized_Proxy_Broker *POA_IR::_TAO_NativeDef_Strategized_Proxy_Broker::the_TAO_NativeDef_Strategized_Proxy_Broker (void)
-{
- static POA_IR::_TAO_NativeDef_Strategized_Proxy_Broker strategized_proxy_broker;
- return &strategized_proxy_broker;
-}
-
-POA_IR::_TAO_NativeDef_Strategized_Proxy_Broker::_TAO_NativeDef_Strategized_Proxy_Broker (void)
-{
- for (int i = 0; i < TAO_Collocation_Strategies::CS_LAST; ++i)
- this->proxy_cache_[i] = 0;
-
-}
-
-POA_IR::_TAO_NativeDef_Strategized_Proxy_Broker::~_TAO_NativeDef_Strategized_Proxy_Broker (void)
-{
- for (int i = 0; i < TAO_Collocation_Strategies::CS_LAST; ++i)
- delete this->proxy_cache_[i];
-
-}
-
-_TAO_NativeDef_Proxy_Impl&
-POA_IR::_TAO_NativeDef_Strategized_Proxy_Broker::select_proxy (
- IR_NativeDef *object,
- CORBA::Environment &ACE_TRY_ENV
- )
-{
- int strategy =
- TAO_ORB_Core::collocation_strategy (object);
-
- if (this->proxy_cache_[strategy] != 0)
- return *this->proxy_cache_[strategy];
-
- this->create_proxy (strategy, ACE_TRY_ENV);
- ACE_CHECK_RETURN (*this->proxy_cache_[strategy]);
-
- return *this->proxy_cache_[strategy];
-
-}
-
-void
-POA_IR::_TAO_NativeDef_Strategized_Proxy_Broker::create_proxy (
- int strategy,
- CORBA::Environment &ACE_TRY_ENV
- )
-{
- ACE_GUARD (TAO_SYNCH_MUTEX, guard, this->mutex_);
-
- if (this->proxy_cache_[strategy] == 0)
- {
- switch (strategy)
- {
- case TAO_Collocation_Strategies::CS_THRU_POA_STRATEGY:
- ACE_NEW_THROW_EX (
- this->proxy_cache_[strategy],
- _TAO_NativeDef_ThruPOA_Proxy_Impl,
- CORBA::NO_MEMORY ()
- );
- ACE_CHECK;
- break;
-
- case TAO_Collocation_Strategies::CS_REMOTE_STRATEGY:
- default:
- ACE_NEW_THROW_EX (
- this->proxy_cache_[strategy],
- _TAO_NativeDef_Remote_Proxy_Impl,
- CORBA::NO_MEMORY ()
- );
- ACE_CHECK;
- break;
-
- }
-
- }
-}
-
-
-//
-// End Strategized Proxy Broker Implementation
-///////////////////////////////////////////////////////////////////////
-
-
-_TAO_NativeDef_Proxy_Broker *
-_TAO_NativeDef_Proxy_Broker_Factory_function (CORBA::Object_ptr obj)
-{
- ACE_UNUSED_ARG (obj);
- return ::POA_IR::_TAO_NativeDef_Strategized_Proxy_Broker::the_TAO_NativeDef_Strategized_Proxy_Broker();
-}
-
-int
-_TAO_NativeDef_Proxy_Broker_Factory_Initializer (long _dummy_)
-{
- ACE_UNUSED_ARG (_dummy_);
-
- _TAO_NativeDef_Proxy_Broker_Factory_function_pointer =
- _TAO_NativeDef_Proxy_Broker_Factory_function;
-
- return 0;
-}
-
-static int _TAO_NativeDef_Proxy_Broker_Stub_Factory_Initializer_Scarecrow =
- _TAO_NativeDef_Proxy_Broker_Factory_Initializer (ACE_reinterpret_cast (long, _TAO_NativeDef_Proxy_Broker_Factory_Initializer));
-
-
-///////////////////////////////////////////////////////////////////////
-// ThruPOA Proxy Implementation
-//
-
-POA_IR::_TAO_NativeDef_ThruPOA_Proxy_Impl::_TAO_NativeDef_ThruPOA_Proxy_Impl (void)
-{}
-
-// ThruPOA Implementation of the IDL interface methods
-
-//
-// End ThruPOA Proxy Implementation
-///////////////////////////////////////////////////////////////////////
-
-// skeleton constructor
-POA_IR::NativeDef::NativeDef (void)
-{
- this->optable_ = &tao_IR_NativeDef_optable;
-}
-
-// copy ctor
-POA_IR::NativeDef::NativeDef (const NativeDef& rhs)
- : ACE_NESTED_CLASS (POA_IR,TypedefDef) (rhs),
- ACE_NESTED_CLASS (POA_IR,Contained) (rhs),
- ACE_NESTED_CLASS (POA_IR,IDLType) (rhs),
- POA_CORBA_IRObject (rhs),
- TAO_ServantBase (rhs)
-{}
-
-// skeleton destructor
-POA_IR::NativeDef::~NativeDef (void)
-{
-}
-
-void POA_IR::NativeDef::_is_a_skel (
- TAO_ServerRequest &_tao_server_request,
- void * _tao_object_reference,
- void * /* context */,
- CORBA::Environment &ACE_TRY_ENV
- )
-{
- TAO_InputCDR &_tao_in = _tao_server_request.incoming ();
- POA_IR::NativeDef *_tao_impl = (POA_IR::NativeDef *) _tao_object_reference;
- CORBA::Boolean _tao_retval = 0;
- CORBA::String_var value;
- if (!((_tao_in >> value.out ())))
- ACE_THROW (CORBA::MARSHAL ());
-
- _tao_retval = _tao_impl->_is_a (value.in (), ACE_TRY_ENV);
- ACE_CHECK;
-
- _tao_server_request.init_reply ();
- TAO_OutputCDR &_tao_out = _tao_server_request.outgoing ();
- if (!((_tao_out << CORBA::Any::from_boolean (_tao_retval))))
- ACE_THROW (CORBA::MARSHAL ());
-}
-
-void POA_IR::NativeDef::_non_existent_skel (
- TAO_ServerRequest &_tao_server_request,
- void * _tao_object_reference,
- void * /* context */,
- CORBA::Environment &ACE_TRY_ENV
- )
-{
- POA_IR::NativeDef *_tao_impl = (POA_IR::NativeDef *) _tao_object_reference;
- CORBA::Boolean _tao_retval = _tao_impl->_non_existent (ACE_TRY_ENV);
- ACE_CHECK;
-
- _tao_server_request.init_reply ();
- TAO_OutputCDR &_tao_out = _tao_server_request.outgoing ();
- if (!((_tao_out << CORBA::Any::from_boolean (_tao_retval))))
- ACE_THROW (CORBA::MARSHAL ());
-}
-
-CORBA::Boolean POA_IR::NativeDef::_is_a (
- const char* value,
- CORBA::Environment &ACE_TRY_ENV
- )
-{
- if (
- (!ACE_OS::strcmp ((char *)value, "IDL:omg.org/IR/NativeDef:1.0")) ||
- (!ACE_OS::strcmp ((char *)value, "IDL:omg.org/IR/TypedefDef:1.0")) ||
- (!ACE_OS::strcmp ((char *)value, "IDL:omg.org/IR/Contained:1.0")) ||
- (!ACE_OS::strcmp ((char *)value, "IDL:omg.org/IR/IDLType:1.0")) ||
- (!ACE_OS::strcmp ((char *)value, "IDL:omg.org/CORBA/IRObject:1.0")) ||
- (!ACE_OS::strcmp ((char *)value, CORBA::_tc_Object->id (ACE_TRY_ENV))))
- return 1;
- else
- return 0;
-}
-
-void* POA_IR::NativeDef::_downcast (
- const char* logical_type_id
- )
-{
- if (ACE_OS::strcmp (logical_type_id, "IDL:omg.org/IR/NativeDef:1.0") == 0)
- return ACE_static_cast (POA_IR::NativeDef_ptr, this);
- if (ACE_OS::strcmp (logical_type_id, "IDL:omg.org/IR/TypedefDef:1.0") == 0)
- return ACE_static_cast (POA_IR::TypedefDef_ptr, this);
- if (ACE_OS::strcmp (logical_type_id, "IDL:omg.org/IR/Contained:1.0") == 0)
- return ACE_static_cast (POA_IR::Contained_ptr, this);
- if (ACE_OS::strcmp (logical_type_id, "IDL:omg.org/IR/IDLType:1.0") == 0)
- return ACE_static_cast (POA_IR::IDLType_ptr, this);
- if (ACE_OS::strcmp (logical_type_id, "IDL:omg.org/CORBA/IRObject:1.0") == 0)
- return ACE_static_cast (POA_CORBA_IRObject_ptr, this);
- if (ACE_OS::strcmp (logical_type_id, "IDL:omg.org/CORBA/Object:1.0") == 0)
- return ACE_static_cast(PortableServer::Servant, this);
- return 0;
-}
-
-void POA_IR::NativeDef::_dispatch (TAO_ServerRequest &req, void *context, CORBA::Environment &ACE_TRY_ENV)
-{
- this->synchronous_upcall_dispatch(req, context, this, ACE_TRY_ENV);
-}
-
-const char* POA_IR::NativeDef::_interface_repository_id (void) const
-{
- return "IDL:omg.org/IR/NativeDef:1.0";
-}
-
-IR::NativeDef*
-POA_IR::NativeDef::_this (CORBA_Environment &ACE_TRY_ENV)
-{
- TAO_Stub *stub = this->_create_stub (ACE_TRY_ENV);
- ACE_CHECK_RETURN (0);
-
- CORBA::Object_ptr tmp = CORBA::Object::_nil ();
-
- if (stub->servant_orb_var ()->orb_core ()->optimize_collocation_objects ())
- ACE_NEW_RETURN (tmp, CORBA::Object (stub, 1, this), 0);
- else
- ACE_NEW_RETURN (tmp, CORBA::Object (stub, 0, this), 0);
-
- CORBA::Object_var obj = tmp;
- return IR_NativeDef::_unchecked_narrow (obj.in ());
-}
-
-#if (TAO_HAS_INTERCEPTORS == 1)
-#endif /* TAO_HAS_INTERCEPTORS */
-
-class TAO_IR_PrimitiveDef_Perfect_Hash_OpTable : public TAO_Perfect_Hash_OpTable
-{
-private:
- unsigned int hash (const char *str, unsigned int len);
-public:
- const TAO_operation_db_entry * lookup (const char *str, unsigned int len);
-};
-/* starting time is 11:23:10 */
-/* C++ code produced by gperf version 2.8 (ACE version) */
-/* Command-line: gperf -m -M -J -c -C -D -E -T -f 0 -F 0 -a -o -t -p -K opname_ -L C++ -Z TAO_IR_PrimitiveDef_Perfect_Hash_OpTable -N lookup */
-unsigned int
-TAO_IR_PrimitiveDef_Perfect_Hash_OpTable::hash (const char *str, unsigned int len)
-{
- static const unsigned char asso_values[] =
- {
-#if defined (ACE_MVS)
- 19, 19, 19, 19, 19, 19, 19, 19, 19, 19,
- 19, 19, 19, 19, 19, 19, 19, 19, 19, 19,
- 19, 19, 19, 19, 19, 19, 19, 19, 19, 19,
- 19, 19, 19, 19, 19, 19, 19, 19, 19, 19,
- 19, 19, 19, 19, 19, 19, 19, 19, 19, 19,
- 19, 19, 19, 19, 19, 19, 19, 19, 19, 19,
- 19, 19, 19, 19, 19, 19, 19, 19, 19, 19,
- 19, 19, 19, 19, 19, 19, 19, 19, 19, 19,
- 19, 19, 19, 19, 19, 19, 19, 19, 19, 19,
- 19, 19, 19, 19, 19, 19, 19, 19, 19, 19,
- 19, 19, 19, 19, 19, 19, 19, 19, 19, 0,
- 19, 19, 19, 19, 19, 19, 19, 19, 19, 19,
- 19, 19, 19, 19, 19, 19, 19, 19, 19, 0,
- 19, 19, 0, 5, 19, 19, 19, 19, 19, 19,
- 19, 19, 19, 19, 19, 19, 19, 19, 19, 19,
- 19, 19, 19, 19, 19, 19, 19, 19, 19, 19,
- 19, 19, 19, 5, 19, 19, 19, 19, 0, 19,
- 19, 19, 19, 19, 19, 19, 19, 19, 19, 19,
- 19, 19, 19, 19, 19, 19, 19, 19, 19, 19,
- 19, 19, 19, 19, 19, 19, 19, 19, 19, 19,
- 19, 19, 19, 19, 19, 19, 19, 19, 19, 19,
- 19, 19, 19, 19, 19, 19, 19, 19, 19, 19,
- 19, 19, 19, 19, 19, 19, 19, 19, 19, 19,
- 19, 19, 19, 19, 19, 19, 19, 19, 19, 19,
- 19, 19, 19, 19, 19, 19, 19, 19, 19, 19,
- 19, 19, 19, 19, 19, 19,
-#else
- 19, 19, 19, 19, 19, 19, 19, 19, 19, 19,
- 19, 19, 19, 19, 19, 19, 19, 19, 19, 19,
- 19, 19, 19, 19, 19, 19, 19, 19, 19, 19,
- 19, 19, 19, 19, 19, 19, 19, 19, 19, 19,
- 19, 19, 19, 19, 19, 19, 19, 19, 19, 19,
- 19, 19, 19, 19, 19, 19, 19, 19, 19, 19,
- 19, 19, 19, 19, 19, 19, 19, 19, 19, 19,
- 19, 19, 19, 19, 19, 19, 19, 19, 19, 19,
- 19, 19, 19, 19, 19, 19, 19, 19, 19, 19,
- 19, 19, 19, 19, 19, 0, 19, 0, 19, 19,
- 0, 5, 19, 19, 19, 19, 19, 19, 19, 19,
- 19, 19, 19, 19, 19, 19, 5, 19, 19, 19,
- 19, 0, 19, 19, 19, 19, 19, 19,
-#endif /* ACE_MVS */
- };
- return len + asso_values[str[len - 1]] + asso_values[str[0]];
-}
-
-const class TAO_operation_db_entry *
-TAO_IR_PrimitiveDef_Perfect_Hash_OpTable::lookup (const char *str, unsigned int len)
-{
- enum
- {
- TOTAL_KEYWORDS = 6,
- MIN_WORD_LENGTH = 5,
- MAX_WORD_LENGTH = 13,
- MIN_HASH_VALUE = 5,
- MAX_HASH_VALUE = 18,
- HASH_VALUE_RANGE = 14,
- DUPLICATES = 0
- };
-
- static const class TAO_operation_db_entry wordlist[] =
- {
- {"",0},{"",0},{"",0},{"",0},{"",0},
- {"_is_a", &POA_IR::PrimitiveDef::_is_a_skel},
- {"",0},
- {"destroy", &POA_IR::PrimitiveDef::destroy_skel},
- {"",0},
- {"_get_kind", &POA_IR::PrimitiveDef::_get_kind_skel},
- {"",0},{"",0},{"",0},
- {"_get_def_kind", &POA_IR::PrimitiveDef::_get_def_kind_skel},
- {"_get_type", &POA_IR::PrimitiveDef::_get_type_skel},
- {"",0},{"",0},{"",0},
- {"_non_existent", &POA_IR::PrimitiveDef::_non_existent_skel},
- };
-
- if (len <= MAX_WORD_LENGTH && len >= MIN_WORD_LENGTH)
- {
- unsigned int key = hash (str, len);
-
- if (key <= MAX_HASH_VALUE && key >= MIN_HASH_VALUE)
- {
- const char *s = wordlist[key].opname_;
-
- if (*str == *s && !strncmp (str + 1, s + 1, len - 1))
- return &wordlist[key];
- }
- }
- return 0;
-}
-/* ending time is 11:23:10 */
-static TAO_IR_PrimitiveDef_Perfect_Hash_OpTable tao_IR_PrimitiveDef_optable;
-
-///////////////////////////////////////////////////////////////////////
-// Strategized Proxy Broker Implementation
-//
-
-// Factory function Implementation.
-POA_IR::_TAO_PrimitiveDef_Strategized_Proxy_Broker *POA_IR::_TAO_PrimitiveDef_Strategized_Proxy_Broker::the_TAO_PrimitiveDef_Strategized_Proxy_Broker (void)
-{
- static POA_IR::_TAO_PrimitiveDef_Strategized_Proxy_Broker strategized_proxy_broker;
- return &strategized_proxy_broker;
-}
-
-POA_IR::_TAO_PrimitiveDef_Strategized_Proxy_Broker::_TAO_PrimitiveDef_Strategized_Proxy_Broker (void)
-{
- for (int i = 0; i < TAO_Collocation_Strategies::CS_LAST; ++i)
- this->proxy_cache_[i] = 0;
-
-}
-
-POA_IR::_TAO_PrimitiveDef_Strategized_Proxy_Broker::~_TAO_PrimitiveDef_Strategized_Proxy_Broker (void)
-{
- for (int i = 0; i < TAO_Collocation_Strategies::CS_LAST; ++i)
- delete this->proxy_cache_[i];
-
-}
-
-_TAO_PrimitiveDef_Proxy_Impl&
-POA_IR::_TAO_PrimitiveDef_Strategized_Proxy_Broker::select_proxy (
- IR_PrimitiveDef *object,
- CORBA::Environment &ACE_TRY_ENV
- )
-{
- int strategy =
- TAO_ORB_Core::collocation_strategy (object);
-
- if (this->proxy_cache_[strategy] != 0)
- return *this->proxy_cache_[strategy];
-
- this->create_proxy (strategy, ACE_TRY_ENV);
- ACE_CHECK_RETURN (*this->proxy_cache_[strategy]);
-
- return *this->proxy_cache_[strategy];
-
-}
-
-void
-POA_IR::_TAO_PrimitiveDef_Strategized_Proxy_Broker::create_proxy (
- int strategy,
- CORBA::Environment &ACE_TRY_ENV
- )
-{
- ACE_GUARD (TAO_SYNCH_MUTEX, guard, this->mutex_);
-
- if (this->proxy_cache_[strategy] == 0)
- {
- switch (strategy)
- {
- case TAO_Collocation_Strategies::CS_THRU_POA_STRATEGY:
- ACE_NEW_THROW_EX (
- this->proxy_cache_[strategy],
- _TAO_PrimitiveDef_ThruPOA_Proxy_Impl,
- CORBA::NO_MEMORY ()
- );
- ACE_CHECK;
- break;
-
- case TAO_Collocation_Strategies::CS_REMOTE_STRATEGY:
- default:
- ACE_NEW_THROW_EX (
- this->proxy_cache_[strategy],
- _TAO_PrimitiveDef_Remote_Proxy_Impl,
- CORBA::NO_MEMORY ()
- );
- ACE_CHECK;
- break;
-
- }
-
- }
-}
-
-
-//
-// End Strategized Proxy Broker Implementation
-///////////////////////////////////////////////////////////////////////
-
-
-_TAO_PrimitiveDef_Proxy_Broker *
-_TAO_PrimitiveDef_Proxy_Broker_Factory_function (CORBA::Object_ptr obj)
-{
- ACE_UNUSED_ARG (obj);
- return ::POA_IR::_TAO_PrimitiveDef_Strategized_Proxy_Broker::the_TAO_PrimitiveDef_Strategized_Proxy_Broker();
-}
-
-int
-_TAO_PrimitiveDef_Proxy_Broker_Factory_Initializer (long _dummy_)
-{
- ACE_UNUSED_ARG (_dummy_);
-
- _TAO_PrimitiveDef_Proxy_Broker_Factory_function_pointer =
- _TAO_PrimitiveDef_Proxy_Broker_Factory_function;
-
- return 0;
-}
-
-static int _TAO_PrimitiveDef_Proxy_Broker_Stub_Factory_Initializer_Scarecrow =
- _TAO_PrimitiveDef_Proxy_Broker_Factory_Initializer (ACE_reinterpret_cast (long, _TAO_PrimitiveDef_Proxy_Broker_Factory_Initializer));
-
-
-///////////////////////////////////////////////////////////////////////
-// ThruPOA Proxy Implementation
-//
-
-POA_IR::_TAO_PrimitiveDef_ThruPOA_Proxy_Impl::_TAO_PrimitiveDef_ThruPOA_Proxy_Impl (void)
-{}
-
-// ThruPOA Implementation of the IDL interface methods
-
-IR_PrimitiveKind POA_IR::_TAO_PrimitiveDef_ThruPOA_Proxy_Impl::kind (
- CORBA_Object *_collocated_tao_target_,
- CORBA::Environment &ACE_TRY_ENV
- )
- ACE_THROW_SPEC ((
- CORBA::SystemException
- ))
-{
- IR_PrimitiveKind _tao_retval;
- ACE_UNUSED_ARG (_tao_retval);
- TAO_Object_Adapter::Servant_Upcall servant_upcall (
- _collocated_tao_target_->_stubobj ()->servant_orb_var ()->orb_core ()
- );
- CORBA::Object_var forward_to;
- servant_upcall.prepare_for_upcall (
- _collocated_tao_target_->_object_key (),
- "kind",
- forward_to.out (),
- ACE_TRY_ENV
- );
- ACE_CHECK_RETURN (_tao_retval);
- return ACE_reinterpret_cast (
- POA_IR::PrimitiveDef_ptr,
- servant_upcall.servant ()->_downcast (
- "IDL:omg.org/IR/PrimitiveDef:1.0"
- )
- )->kind (
- ACE_TRY_ENV
- );
-}
-
-//
-// End ThruPOA Proxy Implementation
-///////////////////////////////////////////////////////////////////////
-
-// skeleton constructor
-POA_IR::PrimitiveDef::PrimitiveDef (void)
-{
- this->optable_ = &tao_IR_PrimitiveDef_optable;
-}
-
-// copy ctor
-POA_IR::PrimitiveDef::PrimitiveDef (const PrimitiveDef& rhs)
- : ACE_NESTED_CLASS (POA_IR,IDLType) (rhs),
- POA_CORBA_IRObject (rhs),
- TAO_ServantBase (rhs)
-{}
-
-// skeleton destructor
-POA_IR::PrimitiveDef::~PrimitiveDef (void)
-{
-}
-
-void POA_IR::PrimitiveDef::_get_kind_skel (
- TAO_ServerRequest &_tao_server_request,
- void *_tao_object_reference,
- void * /* context */,
- CORBA::Environment &ACE_TRY_ENV
-)
-{
- POA_IR::PrimitiveDef *_tao_impl = (POA_IR::PrimitiveDef *)_tao_object_reference;
-
- IR_PrimitiveKind _tao_retval;
-
-#if (TAO_HAS_INTERCEPTORS == 1)
- TAO_ServerRequestInterceptor_Adapter _tao_vfr (
- _tao_server_request.orb_core ()->server_request_interceptors (),
- _tao_server_request.interceptor_count ()
- );
-
- POA_IR::PrimitiveDef::TAO_ServerRequestInfo_IR_PrimitiveDef_kind_get ri (
- _tao_server_request,
- _tao_impl,
- ACE_TRY_ENV
- );
-
- ACE_TRY
- {
- _tao_vfr.receive_request (&ri, ACE_TRY_ENV);
- ACE_TRY_CHECK;
-
-#endif /* TAO_HAS_INTERCEPTORS */
- _tao_retval =
- _tao_impl->kind (
- ACE_TRY_ENV
- );
- TAO_INTERCEPTOR_CHECK;
-
-#if (TAO_HAS_INTERCEPTORS == 1)
- IR_PrimitiveKind _tao_retval_info = _tao_retval;
- ri.result (_tao_retval_info);
- ri.reply_status (PortableInterceptor::SUCCESSFUL);
- _tao_vfr.send_reply (&ri, ACE_TRY_ENV);
- ACE_TRY_CHECK;
- }
- ACE_CATCH (PortableInterceptor::ForwardRequest, exc)
- {
- ri.forward_reference (exc);
- _tao_vfr.send_other (
- &ri,
- ACE_TRY_ENV
- );
- ACE_TRY_CHECK;
- _tao_server_request.forward_location (exc.forward.in ());
- }
- ACE_CATCHANY
- {
- ri.exception (&ACE_ANY_EXCEPTION);
- _tao_vfr.send_exception (
- &ri,
- ACE_TRY_ENV
- );
- ACE_TRY_CHECK;
- ACE_RE_THROW;
- }
- ACE_ENDTRY;
- ACE_CHECK;
-#endif /* TAO_HAS_INTERCEPTORS */
-
- _tao_server_request.init_reply ();
-
- TAO_OutputCDR &_tao_out = _tao_server_request.outgoing ();
-
- if (!(
- (_tao_out << _tao_retval)
- ))
- ACE_THROW (CORBA::MARSHAL());
-
- // In case ACE_TRY_ENV is not used in this function
- ACE_UNUSED_ARG (ACE_TRY_ENV);
-}
-
-void POA_IR::PrimitiveDef::_is_a_skel (
- TAO_ServerRequest &_tao_server_request,
- void * _tao_object_reference,
- void * /* context */,
- CORBA::Environment &ACE_TRY_ENV
- )
-{
- TAO_InputCDR &_tao_in = _tao_server_request.incoming ();
- POA_IR::PrimitiveDef *_tao_impl = (POA_IR::PrimitiveDef *) _tao_object_reference;
- CORBA::Boolean _tao_retval = 0;
- CORBA::String_var value;
- if (!((_tao_in >> value.out ())))
- ACE_THROW (CORBA::MARSHAL ());
-
- _tao_retval = _tao_impl->_is_a (value.in (), ACE_TRY_ENV);
- ACE_CHECK;
-
- _tao_server_request.init_reply ();
- TAO_OutputCDR &_tao_out = _tao_server_request.outgoing ();
- if (!((_tao_out << CORBA::Any::from_boolean (_tao_retval))))
- ACE_THROW (CORBA::MARSHAL ());
-}
-
-void POA_IR::PrimitiveDef::_non_existent_skel (
- TAO_ServerRequest &_tao_server_request,
- void * _tao_object_reference,
- void * /* context */,
- CORBA::Environment &ACE_TRY_ENV
- )
-{
- POA_IR::PrimitiveDef *_tao_impl = (POA_IR::PrimitiveDef *) _tao_object_reference;
- CORBA::Boolean _tao_retval = _tao_impl->_non_existent (ACE_TRY_ENV);
- ACE_CHECK;
-
- _tao_server_request.init_reply ();
- TAO_OutputCDR &_tao_out = _tao_server_request.outgoing ();
- if (!((_tao_out << CORBA::Any::from_boolean (_tao_retval))))
- ACE_THROW (CORBA::MARSHAL ());
-}
-
-CORBA::Boolean POA_IR::PrimitiveDef::_is_a (
- const char* value,
- CORBA::Environment &ACE_TRY_ENV
- )
-{
- if (
- (!ACE_OS::strcmp ((char *)value, "IDL:omg.org/IR/PrimitiveDef:1.0")) ||
- (!ACE_OS::strcmp ((char *)value, "IDL:omg.org/IR/IDLType:1.0")) ||
- (!ACE_OS::strcmp ((char *)value, "IDL:omg.org/CORBA/IRObject:1.0")) ||
- (!ACE_OS::strcmp ((char *)value, CORBA::_tc_Object->id (ACE_TRY_ENV))))
- return 1;
- else
- return 0;
-}
-
-void* POA_IR::PrimitiveDef::_downcast (
- const char* logical_type_id
- )
-{
- if (ACE_OS::strcmp (logical_type_id, "IDL:omg.org/IR/PrimitiveDef:1.0") == 0)
- return ACE_static_cast (POA_IR::PrimitiveDef_ptr, this);
- if (ACE_OS::strcmp (logical_type_id, "IDL:omg.org/IR/IDLType:1.0") == 0)
- return ACE_static_cast (POA_IR::IDLType_ptr, this);
- if (ACE_OS::strcmp (logical_type_id, "IDL:omg.org/CORBA/IRObject:1.0") == 0)
- return ACE_static_cast (POA_CORBA_IRObject_ptr, this);
- if (ACE_OS::strcmp (logical_type_id, "IDL:omg.org/CORBA/Object:1.0") == 0)
- return ACE_static_cast(PortableServer::Servant, this);
- return 0;
-}
-
-void POA_IR::PrimitiveDef::_dispatch (TAO_ServerRequest &req, void *context, CORBA::Environment &ACE_TRY_ENV)
-{
- this->synchronous_upcall_dispatch(req, context, this, ACE_TRY_ENV);
-}
-
-const char* POA_IR::PrimitiveDef::_interface_repository_id (void) const
-{
- return "IDL:omg.org/IR/PrimitiveDef:1.0";
-}
-
-IR::PrimitiveDef*
-POA_IR::PrimitiveDef::_this (CORBA_Environment &ACE_TRY_ENV)
-{
- TAO_Stub *stub = this->_create_stub (ACE_TRY_ENV);
- ACE_CHECK_RETURN (0);
-
- CORBA::Object_ptr tmp = CORBA::Object::_nil ();
-
- if (stub->servant_orb_var ()->orb_core ()->optimize_collocation_objects ())
- ACE_NEW_RETURN (tmp, CORBA::Object (stub, 1, this), 0);
- else
- ACE_NEW_RETURN (tmp, CORBA::Object (stub, 0, this), 0);
-
- CORBA::Object_var obj = tmp;
- return IR_PrimitiveDef::_unchecked_narrow (obj.in ());
-}
-
-#if (TAO_HAS_INTERCEPTORS == 1)
-POA_IR::PrimitiveDef::TAO_ServerRequestInfo_IR_PrimitiveDef_kind_get::TAO_ServerRequestInfo_IR_PrimitiveDef_kind_get (
- TAO_ServerRequest &_tao_server_request,
- POA_IR::PrimitiveDef *tao_impl,
- CORBA::Environment &
- )
- : TAO_ServerRequestInfo (_tao_server_request),
- _tao_impl (tao_impl)
-{}
-
-Dynamic::ParameterList *
-POA_IR::PrimitiveDef::TAO_ServerRequestInfo_IR_PrimitiveDef_kind_get::arguments (CORBA::Environment &ACE_TRY_ENV)
- ACE_THROW_SPEC ((CORBA::SystemException))
-{
- // Generate the argument list on demand.
- Dynamic::ParameterList *parameter_list =
- TAO_RequestInfo_Util::make_parameter_list (ACE_TRY_ENV);
- ACE_CHECK_RETURN (0);
-
- return parameter_list;
-}
-
-Dynamic::ExceptionList *
-POA_IR::PrimitiveDef::TAO_ServerRequestInfo_IR_PrimitiveDef_kind_get::exceptions (CORBA::Environment &ACE_TRY_ENV)
- ACE_THROW_SPEC ((CORBA::SystemException))
-{
- // Generate the exception list on demand.
- Dynamic::ExceptionList *exception_list =
- TAO_RequestInfo_Util::make_exception_list (ACE_TRY_ENV);
- ACE_CHECK_RETURN (0);
-
- return exception_list;
-}
-
-CORBA::Any *
-POA_IR::PrimitiveDef::TAO_ServerRequestInfo_IR_PrimitiveDef_kind_get::result (CORBA::Environment &ACE_TRY_ENV)
- ACE_THROW_SPEC ((CORBA::SystemException))
-{
- // Generate the result on demand.
- CORBA::Boolean tk_void_any = 0;
- CORBA::Any *result_any =
- TAO_RequestInfo_Util::make_any (tk_void_any, ACE_TRY_ENV);
- ACE_CHECK_RETURN (0);
-
- CORBA::Any_var safe_result_any = result_any;
-
- (*result_any) <<= this->_result;
-
- return safe_result_any._retn ();
-}
-
-char *
-POA_IR::PrimitiveDef::TAO_ServerRequestInfo_IR_PrimitiveDef_kind_get::target_most_derived_interface (
- CORBA::Environment &)
- ACE_THROW_SPEC ((CORBA::SystemException))
-{
- return
- CORBA::string_dup (this->_tao_impl->_interface_repository_id ());
-}
-
-CORBA::Boolean
-POA_IR::PrimitiveDef::TAO_ServerRequestInfo_IR_PrimitiveDef_kind_get::target_is_a (
- const char * id,
- CORBA::Environment &ACE_TRY_ENV)
- ACE_THROW_SPEC ((CORBA::SystemException))
-{
- return this->_tao_impl->_is_a (id, ACE_TRY_ENV);
-}
-
-void
-POA_IR::PrimitiveDef::TAO_ServerRequestInfo_IR_PrimitiveDef_kind_get::result (IR::PrimitiveKind result)
-{
- // Update the result.
- this->_result = result;
-}
-
-#endif /* TAO_HAS_INTERCEPTORS */
-
-class TAO_IR_StringDef_Perfect_Hash_OpTable : public TAO_Perfect_Hash_OpTable
-{
-private:
- unsigned int hash (const char *str, unsigned int len);
-public:
- const TAO_operation_db_entry * lookup (const char *str, unsigned int len);
-};
-/* starting time is 11:23:10 */
-/* C++ code produced by gperf version 2.8 (ACE version) */
-/* Command-line: gperf -m -M -J -c -C -D -E -T -f 0 -F 0 -a -o -t -p -K opname_ -L C++ -Z TAO_IR_StringDef_Perfect_Hash_OpTable -N lookup */
-unsigned int
-TAO_IR_StringDef_Perfect_Hash_OpTable::hash (const char *str, unsigned int len)
-{
- static const unsigned char asso_values[] =
- {
-#if defined (ACE_MVS)
- 19, 19, 19, 19, 19, 19, 19, 19, 19, 19,
- 19, 19, 19, 19, 19, 19, 19, 19, 19, 19,
- 19, 19, 19, 19, 19, 19, 19, 19, 19, 19,
- 19, 19, 19, 19, 19, 19, 19, 19, 19, 19,
- 19, 19, 19, 19, 19, 19, 19, 19, 19, 19,
- 19, 19, 19, 19, 19, 19, 19, 19, 19, 19,
- 19, 19, 19, 19, 19, 19, 19, 19, 19, 19,
- 19, 19, 19, 19, 19, 19, 19, 19, 19, 19,
- 19, 19, 19, 19, 19, 19, 19, 19, 19, 19,
- 19, 19, 19, 19, 19, 19, 19, 19, 19, 19,
- 19, 19, 19, 19, 19, 19, 19, 19, 19, 0,
- 19, 19, 19, 19, 19, 19, 19, 19, 19, 19,
- 19, 19, 19, 19, 19, 19, 19, 19, 19, 0,
- 19, 19, 0, 0, 19, 19, 19, 19, 19, 19,
- 19, 19, 19, 19, 19, 19, 19, 19, 19, 19,
- 19, 19, 19, 19, 19, 19, 19, 19, 19, 19,
- 19, 19, 19, 5, 19, 19, 19, 19, 0, 19,
- 19, 19, 19, 19, 19, 19, 19, 19, 19, 19,
- 19, 19, 19, 19, 19, 19, 19, 19, 19, 19,
- 19, 19, 19, 19, 19, 19, 19, 19, 19, 19,
- 19, 19, 19, 19, 19, 19, 19, 19, 19, 19,
- 19, 19, 19, 19, 19, 19, 19, 19, 19, 19,
- 19, 19, 19, 19, 19, 19, 19, 19, 19, 19,
- 19, 19, 19, 19, 19, 19, 19, 19, 19, 19,
- 19, 19, 19, 19, 19, 19, 19, 19, 19, 19,
- 19, 19, 19, 19, 19, 19,
-#else
- 19, 19, 19, 19, 19, 19, 19, 19, 19, 19,
- 19, 19, 19, 19, 19, 19, 19, 19, 19, 19,
- 19, 19, 19, 19, 19, 19, 19, 19, 19, 19,
- 19, 19, 19, 19, 19, 19, 19, 19, 19, 19,
- 19, 19, 19, 19, 19, 19, 19, 19, 19, 19,
- 19, 19, 19, 19, 19, 19, 19, 19, 19, 19,
- 19, 19, 19, 19, 19, 19, 19, 19, 19, 19,
- 19, 19, 19, 19, 19, 19, 19, 19, 19, 19,
- 19, 19, 19, 19, 19, 19, 19, 19, 19, 19,
- 19, 19, 19, 19, 19, 0, 19, 0, 19, 19,
- 0, 0, 19, 19, 19, 19, 19, 19, 19, 19,
- 19, 19, 19, 19, 19, 19, 5, 19, 19, 19,
- 19, 0, 19, 19, 19, 19, 19, 19,
-#endif /* ACE_MVS */
- };
- return len + asso_values[str[len - 1]] + asso_values[str[0]];
-}
-
-const class TAO_operation_db_entry *
-TAO_IR_StringDef_Perfect_Hash_OpTable::lookup (const char *str, unsigned int len)
-{
- enum
- {
- TOTAL_KEYWORDS = 7,
- MIN_WORD_LENGTH = 5,
- MAX_WORD_LENGTH = 13,
- MIN_HASH_VALUE = 5,
- MAX_HASH_VALUE = 18,
- HASH_VALUE_RANGE = 14,
- DUPLICATES = 2
- };
-
- static const class TAO_operation_db_entry wordlist[] =
- {
- {"",0},{"",0},{"",0},{"",0},{"",0},
- {"_is_a", &POA_IR::StringDef::_is_a_skel},
- {"destroy", &POA_IR::StringDef::destroy_skel},
- {"_get_type", &POA_IR::StringDef::_get_type_skel},
- {"_get_bound", &POA_IR::StringDef::_get_bound_skel},
- {"_set_bound", &POA_IR::StringDef::_set_bound_skel},
- {"_get_def_kind", &POA_IR::StringDef::_get_def_kind_skel},
- {"_non_existent", &POA_IR::StringDef::_non_existent_skel},
- };
-
- static const signed char lookup[] =
- {
- -1, -1, -1, -8, -2, 5, -1, 6, -1, 7, -25, -1, -1, 10,
- -1, -1, -1, -1, 11,
- };
-
- if (len <= MAX_WORD_LENGTH && len >= MIN_WORD_LENGTH)
- {
- unsigned int key = hash (str, len);
-
- if (key <= MAX_HASH_VALUE && key >= MIN_HASH_VALUE)
- {
- int slot = lookup[key];
-
- if (slot >= 0 && slot < MAX_HASH_VALUE)
- {
- const char *s = wordlist[slot].opname_;
-
- if (*str == *s && !strncmp (str + 1, s + 1, len - 1))
- return &wordlist[slot];
- }
- else if (slot < 0 && slot >= -MAX_HASH_VALUE)
- return 0;
- else
- {
- unsigned int offset = key + slot + (slot > 0 ? -MAX_HASH_VALUE : MAX_HASH_VALUE);
- const class TAO_operation_db_entry *base = &wordlist[-lookup[offset]];
- const class TAO_operation_db_entry *ptr = base + -lookup[offset + 1];
-
- while (--ptr >= base)
- if (*str == *ptr->opname_ && !strncmp (str + 1, ptr->opname_ + 1, len - 1))
- return ptr;
- }
- }
- }
- return 0;
-}
-/* ending time is 11:23:10 */
-static TAO_IR_StringDef_Perfect_Hash_OpTable tao_IR_StringDef_optable;
-
-///////////////////////////////////////////////////////////////////////
-// Strategized Proxy Broker Implementation
-//
-
-// Factory function Implementation.
-POA_IR::_TAO_StringDef_Strategized_Proxy_Broker *POA_IR::_TAO_StringDef_Strategized_Proxy_Broker::the_TAO_StringDef_Strategized_Proxy_Broker (void)
-{
- static POA_IR::_TAO_StringDef_Strategized_Proxy_Broker strategized_proxy_broker;
- return &strategized_proxy_broker;
-}
-
-POA_IR::_TAO_StringDef_Strategized_Proxy_Broker::_TAO_StringDef_Strategized_Proxy_Broker (void)
-{
- for (int i = 0; i < TAO_Collocation_Strategies::CS_LAST; ++i)
- this->proxy_cache_[i] = 0;
-
-}
-
-POA_IR::_TAO_StringDef_Strategized_Proxy_Broker::~_TAO_StringDef_Strategized_Proxy_Broker (void)
-{
- for (int i = 0; i < TAO_Collocation_Strategies::CS_LAST; ++i)
- delete this->proxy_cache_[i];
-
-}
-
-_TAO_StringDef_Proxy_Impl&
-POA_IR::_TAO_StringDef_Strategized_Proxy_Broker::select_proxy (
- IR_StringDef *object,
- CORBA::Environment &ACE_TRY_ENV
- )
-{
- int strategy =
- TAO_ORB_Core::collocation_strategy (object);
-
- if (this->proxy_cache_[strategy] != 0)
- return *this->proxy_cache_[strategy];
-
- this->create_proxy (strategy, ACE_TRY_ENV);
- ACE_CHECK_RETURN (*this->proxy_cache_[strategy]);
-
- return *this->proxy_cache_[strategy];
-
-}
-
-void
-POA_IR::_TAO_StringDef_Strategized_Proxy_Broker::create_proxy (
- int strategy,
- CORBA::Environment &ACE_TRY_ENV
- )
-{
- ACE_GUARD (TAO_SYNCH_MUTEX, guard, this->mutex_);
-
- if (this->proxy_cache_[strategy] == 0)
- {
- switch (strategy)
- {
- case TAO_Collocation_Strategies::CS_THRU_POA_STRATEGY:
- ACE_NEW_THROW_EX (
- this->proxy_cache_[strategy],
- _TAO_StringDef_ThruPOA_Proxy_Impl,
- CORBA::NO_MEMORY ()
- );
- ACE_CHECK;
- break;
-
- case TAO_Collocation_Strategies::CS_REMOTE_STRATEGY:
- default:
- ACE_NEW_THROW_EX (
- this->proxy_cache_[strategy],
- _TAO_StringDef_Remote_Proxy_Impl,
- CORBA::NO_MEMORY ()
- );
- ACE_CHECK;
- break;
-
- }
-
- }
-}
-
-
-//
-// End Strategized Proxy Broker Implementation
-///////////////////////////////////////////////////////////////////////
-
-
-_TAO_StringDef_Proxy_Broker *
-_TAO_StringDef_Proxy_Broker_Factory_function (CORBA::Object_ptr obj)
-{
- ACE_UNUSED_ARG (obj);
- return ::POA_IR::_TAO_StringDef_Strategized_Proxy_Broker::the_TAO_StringDef_Strategized_Proxy_Broker();
-}
-
-int
-_TAO_StringDef_Proxy_Broker_Factory_Initializer (long _dummy_)
-{
- ACE_UNUSED_ARG (_dummy_);
-
- _TAO_StringDef_Proxy_Broker_Factory_function_pointer =
- _TAO_StringDef_Proxy_Broker_Factory_function;
-
- return 0;
-}
-
-static int _TAO_StringDef_Proxy_Broker_Stub_Factory_Initializer_Scarecrow =
- _TAO_StringDef_Proxy_Broker_Factory_Initializer (ACE_reinterpret_cast (long, _TAO_StringDef_Proxy_Broker_Factory_Initializer));
-
-
-///////////////////////////////////////////////////////////////////////
-// ThruPOA Proxy Implementation
-//
-
-POA_IR::_TAO_StringDef_ThruPOA_Proxy_Impl::_TAO_StringDef_ThruPOA_Proxy_Impl (void)
-{}
-
-// ThruPOA Implementation of the IDL interface methods
-
-CORBA::ULong POA_IR::_TAO_StringDef_ThruPOA_Proxy_Impl::bound (
- CORBA_Object *_collocated_tao_target_,
- CORBA::Environment &ACE_TRY_ENV
- )
- ACE_THROW_SPEC ((
- CORBA::SystemException
- ))
-{
- CORBA::ULong _tao_retval = 0;
- ACE_UNUSED_ARG (_tao_retval);
- TAO_Object_Adapter::Servant_Upcall servant_upcall (
- _collocated_tao_target_->_stubobj ()->servant_orb_var ()->orb_core ()
- );
- CORBA::Object_var forward_to;
- servant_upcall.prepare_for_upcall (
- _collocated_tao_target_->_object_key (),
- "bound",
- forward_to.out (),
- ACE_TRY_ENV
- );
- ACE_CHECK_RETURN (_tao_retval);
- return ACE_reinterpret_cast (
- POA_IR::StringDef_ptr,
- servant_upcall.servant ()->_downcast (
- "IDL:omg.org/IR/StringDef:1.0"
- )
- )->bound (
- ACE_TRY_ENV
- );
-}
-
-void POA_IR::_TAO_StringDef_ThruPOA_Proxy_Impl::bound (
- CORBA_Object *_collocated_tao_target_,
- CORBA::ULong bound,
- CORBA::Environment &ACE_TRY_ENV
- )
- ACE_THROW_SPEC ((
- CORBA::SystemException
- ))
-{
- TAO_Object_Adapter::Servant_Upcall servant_upcall (
- _collocated_tao_target_->_stubobj ()->servant_orb_var ()->orb_core ()
- );
- CORBA::Object_var forward_to;
- servant_upcall.prepare_for_upcall (
- _collocated_tao_target_->_object_key (),
- "bound",
- forward_to.out (),
- ACE_TRY_ENV
- );
- ACE_CHECK;
- ACE_reinterpret_cast (
- POA_IR::StringDef_ptr,
- servant_upcall.servant ()->_downcast (
- "IDL:omg.org/IR/StringDef:1.0"
- )
- )->bound (
- bound,
- ACE_TRY_ENV
- );
- return;
-}
-
-//
-// End ThruPOA Proxy Implementation
-///////////////////////////////////////////////////////////////////////
-
-// skeleton constructor
-POA_IR::StringDef::StringDef (void)
-{
- this->optable_ = &tao_IR_StringDef_optable;
-}
-
-// copy ctor
-POA_IR::StringDef::StringDef (const StringDef& rhs)
- : ACE_NESTED_CLASS (POA_IR,IDLType) (rhs),
- POA_CORBA_IRObject (rhs),
- TAO_ServantBase (rhs)
-{}
-
-// skeleton destructor
-POA_IR::StringDef::~StringDef (void)
-{
-}
-
-void POA_IR::StringDef::_get_bound_skel (
- TAO_ServerRequest &_tao_server_request,
- void *_tao_object_reference,
- void * /* context */,
- CORBA::Environment &ACE_TRY_ENV
-)
-{
- POA_IR::StringDef *_tao_impl = (POA_IR::StringDef *)_tao_object_reference;
-
- CORBA::ULong _tao_retval = 0;
-
-#if (TAO_HAS_INTERCEPTORS == 1)
- TAO_ServerRequestInterceptor_Adapter _tao_vfr (
- _tao_server_request.orb_core ()->server_request_interceptors (),
- _tao_server_request.interceptor_count ()
- );
-
- POA_IR::StringDef::TAO_ServerRequestInfo_IR_StringDef_bound_get ri (
- _tao_server_request,
- _tao_impl,
- ACE_TRY_ENV
- );
-
- ACE_TRY
- {
- _tao_vfr.receive_request (&ri, ACE_TRY_ENV);
- ACE_TRY_CHECK;
-
-#endif /* TAO_HAS_INTERCEPTORS */
- _tao_retval =
- _tao_impl->bound (
- ACE_TRY_ENV
- );
- TAO_INTERCEPTOR_CHECK;
-
-#if (TAO_HAS_INTERCEPTORS == 1)
- CORBA::ULong _tao_retval_info = _tao_retval;
- ri.result (_tao_retval_info);
- ri.reply_status (PortableInterceptor::SUCCESSFUL);
- _tao_vfr.send_reply (&ri, ACE_TRY_ENV);
- ACE_TRY_CHECK;
- }
- ACE_CATCH (PortableInterceptor::ForwardRequest, exc)
- {
- ri.forward_reference (exc);
- _tao_vfr.send_other (
- &ri,
- ACE_TRY_ENV
- );
- ACE_TRY_CHECK;
- _tao_server_request.forward_location (exc.forward.in ());
- }
- ACE_CATCHANY
- {
- ri.exception (&ACE_ANY_EXCEPTION);
- _tao_vfr.send_exception (
- &ri,
- ACE_TRY_ENV
- );
- ACE_TRY_CHECK;
- ACE_RE_THROW;
- }
- ACE_ENDTRY;
- ACE_CHECK;
-#endif /* TAO_HAS_INTERCEPTORS */
-
- _tao_server_request.init_reply ();
-
- TAO_OutputCDR &_tao_out = _tao_server_request.outgoing ();
-
- if (!(
- (_tao_out << _tao_retval)
- ))
- ACE_THROW (CORBA::MARSHAL());
-
- // In case ACE_TRY_ENV is not used in this function
- ACE_UNUSED_ARG (ACE_TRY_ENV);
-}
-
-void POA_IR::StringDef::_set_bound_skel (
- TAO_ServerRequest &_tao_server_request,
- void *_tao_object_reference,
- void * /* context */,
- CORBA::Environment &ACE_TRY_ENV
-)
-{
- TAO_InputCDR &_tao_in = _tao_server_request.incoming ();
- POA_IR::StringDef *_tao_impl = (POA_IR::StringDef *)_tao_object_reference;
-
- CORBA::ULong bound;
- if (!(
- (_tao_in >> bound)
- ))
- ACE_THROW (CORBA::MARSHAL () );
-
-#if (TAO_HAS_INTERCEPTORS == 1)
- TAO_ServerRequestInterceptor_Adapter _tao_vfr (
- _tao_server_request.orb_core ()->server_request_interceptors (),
- _tao_server_request.interceptor_count ()
- );
-
- POA_IR::StringDef::TAO_ServerRequestInfo_IR_StringDef_bound_set ri (
- _tao_server_request,
- _tao_impl,
- bound,
- ACE_TRY_ENV
- );
-
- ACE_TRY
- {
- _tao_vfr.receive_request (&ri, ACE_TRY_ENV);
- ACE_TRY_CHECK;
-
-#endif /* TAO_HAS_INTERCEPTORS */
-
- _tao_impl->bound (
- bound,
- ACE_TRY_ENV
- );
- TAO_INTERCEPTOR_CHECK;
-
-#if (TAO_HAS_INTERCEPTORS == 1)
- ri.reply_status (PortableInterceptor::SUCCESSFUL);
- _tao_vfr.send_reply (&ri, ACE_TRY_ENV);
- ACE_TRY_CHECK;
- }
- ACE_CATCH (PortableInterceptor::ForwardRequest, exc)
- {
- ri.forward_reference (exc);
- _tao_vfr.send_other (
- &ri,
- ACE_TRY_ENV
- );
- ACE_TRY_CHECK;
- _tao_server_request.forward_location (exc.forward.in ());
- }
- ACE_CATCHANY
- {
- ri.exception (&ACE_ANY_EXCEPTION);
- _tao_vfr.send_exception (
- &ri,
- ACE_TRY_ENV
- );
- ACE_TRY_CHECK;
- ACE_RE_THROW;
- }
- ACE_ENDTRY;
- ACE_CHECK;
-#endif /* TAO_HAS_INTERCEPTORS */
-
- _tao_server_request.init_reply ();
-
- // In case ACE_TRY_ENV is not used in this function
- ACE_UNUSED_ARG (ACE_TRY_ENV);
-}
-
-void POA_IR::StringDef::_is_a_skel (
- TAO_ServerRequest &_tao_server_request,
- void * _tao_object_reference,
- void * /* context */,
- CORBA::Environment &ACE_TRY_ENV
- )
-{
- TAO_InputCDR &_tao_in = _tao_server_request.incoming ();
- POA_IR::StringDef *_tao_impl = (POA_IR::StringDef *) _tao_object_reference;
- CORBA::Boolean _tao_retval = 0;
- CORBA::String_var value;
- if (!((_tao_in >> value.out ())))
- ACE_THROW (CORBA::MARSHAL ());
-
- _tao_retval = _tao_impl->_is_a (value.in (), ACE_TRY_ENV);
- ACE_CHECK;
-
- _tao_server_request.init_reply ();
- TAO_OutputCDR &_tao_out = _tao_server_request.outgoing ();
- if (!((_tao_out << CORBA::Any::from_boolean (_tao_retval))))
- ACE_THROW (CORBA::MARSHAL ());
-}
-
-void POA_IR::StringDef::_non_existent_skel (
- TAO_ServerRequest &_tao_server_request,
- void * _tao_object_reference,
- void * /* context */,
- CORBA::Environment &ACE_TRY_ENV
- )
-{
- POA_IR::StringDef *_tao_impl = (POA_IR::StringDef *) _tao_object_reference;
- CORBA::Boolean _tao_retval = _tao_impl->_non_existent (ACE_TRY_ENV);
- ACE_CHECK;
-
- _tao_server_request.init_reply ();
- TAO_OutputCDR &_tao_out = _tao_server_request.outgoing ();
- if (!((_tao_out << CORBA::Any::from_boolean (_tao_retval))))
- ACE_THROW (CORBA::MARSHAL ());
-}
-
-CORBA::Boolean POA_IR::StringDef::_is_a (
- const char* value,
- CORBA::Environment &ACE_TRY_ENV
- )
-{
- if (
- (!ACE_OS::strcmp ((char *)value, "IDL:omg.org/IR/StringDef:1.0")) ||
- (!ACE_OS::strcmp ((char *)value, "IDL:omg.org/IR/IDLType:1.0")) ||
- (!ACE_OS::strcmp ((char *)value, "IDL:omg.org/CORBA/IRObject:1.0")) ||
- (!ACE_OS::strcmp ((char *)value, CORBA::_tc_Object->id (ACE_TRY_ENV))))
- return 1;
- else
- return 0;
-}
-
-void* POA_IR::StringDef::_downcast (
- const char* logical_type_id
- )
-{
- if (ACE_OS::strcmp (logical_type_id, "IDL:omg.org/IR/StringDef:1.0") == 0)
- return ACE_static_cast (POA_IR::StringDef_ptr, this);
- if (ACE_OS::strcmp (logical_type_id, "IDL:omg.org/IR/IDLType:1.0") == 0)
- return ACE_static_cast (POA_IR::IDLType_ptr, this);
- if (ACE_OS::strcmp (logical_type_id, "IDL:omg.org/CORBA/IRObject:1.0") == 0)
- return ACE_static_cast (POA_CORBA_IRObject_ptr, this);
- if (ACE_OS::strcmp (logical_type_id, "IDL:omg.org/CORBA/Object:1.0") == 0)
- return ACE_static_cast(PortableServer::Servant, this);
- return 0;
-}
-
-void POA_IR::StringDef::_dispatch (TAO_ServerRequest &req, void *context, CORBA::Environment &ACE_TRY_ENV)
-{
- this->synchronous_upcall_dispatch(req, context, this, ACE_TRY_ENV);
-}
-
-const char* POA_IR::StringDef::_interface_repository_id (void) const
-{
- return "IDL:omg.org/IR/StringDef:1.0";
-}
-
-IR::StringDef*
-POA_IR::StringDef::_this (CORBA_Environment &ACE_TRY_ENV)
-{
- TAO_Stub *stub = this->_create_stub (ACE_TRY_ENV);
- ACE_CHECK_RETURN (0);
-
- CORBA::Object_ptr tmp = CORBA::Object::_nil ();
-
- if (stub->servant_orb_var ()->orb_core ()->optimize_collocation_objects ())
- ACE_NEW_RETURN (tmp, CORBA::Object (stub, 1, this), 0);
- else
- ACE_NEW_RETURN (tmp, CORBA::Object (stub, 0, this), 0);
-
- CORBA::Object_var obj = tmp;
- return IR_StringDef::_unchecked_narrow (obj.in ());
-}
-
-#if (TAO_HAS_INTERCEPTORS == 1)
-POA_IR::StringDef::TAO_ServerRequestInfo_IR_StringDef_bound_get::TAO_ServerRequestInfo_IR_StringDef_bound_get (
- TAO_ServerRequest &_tao_server_request,
- POA_IR::StringDef *tao_impl,
- CORBA::Environment &
- )
- : TAO_ServerRequestInfo (_tao_server_request),
- _tao_impl (tao_impl)
-{}
-
-Dynamic::ParameterList *
-POA_IR::StringDef::TAO_ServerRequestInfo_IR_StringDef_bound_get::arguments (CORBA::Environment &ACE_TRY_ENV)
- ACE_THROW_SPEC ((CORBA::SystemException))
-{
- // Generate the argument list on demand.
- Dynamic::ParameterList *parameter_list =
- TAO_RequestInfo_Util::make_parameter_list (ACE_TRY_ENV);
- ACE_CHECK_RETURN (0);
-
- return parameter_list;
-}
-
-Dynamic::ExceptionList *
-POA_IR::StringDef::TAO_ServerRequestInfo_IR_StringDef_bound_get::exceptions (CORBA::Environment &ACE_TRY_ENV)
- ACE_THROW_SPEC ((CORBA::SystemException))
-{
- // Generate the exception list on demand.
- Dynamic::ExceptionList *exception_list =
- TAO_RequestInfo_Util::make_exception_list (ACE_TRY_ENV);
- ACE_CHECK_RETURN (0);
-
- return exception_list;
-}
-
-CORBA::Any *
-POA_IR::StringDef::TAO_ServerRequestInfo_IR_StringDef_bound_get::result (CORBA::Environment &ACE_TRY_ENV)
- ACE_THROW_SPEC ((CORBA::SystemException))
-{
- // Generate the result on demand.
- CORBA::Boolean tk_void_any = 0;
- CORBA::Any *result_any =
- TAO_RequestInfo_Util::make_any (tk_void_any, ACE_TRY_ENV);
- ACE_CHECK_RETURN (0);
-
- CORBA::Any_var safe_result_any = result_any;
-
- (*result_any) <<= this->_result;
-
- return safe_result_any._retn ();
-}
-
-char *
-POA_IR::StringDef::TAO_ServerRequestInfo_IR_StringDef_bound_get::target_most_derived_interface (
- CORBA::Environment &)
- ACE_THROW_SPEC ((CORBA::SystemException))
-{
- return
- CORBA::string_dup (this->_tao_impl->_interface_repository_id ());
-}
-
-CORBA::Boolean
-POA_IR::StringDef::TAO_ServerRequestInfo_IR_StringDef_bound_get::target_is_a (
- const char * id,
- CORBA::Environment &ACE_TRY_ENV)
- ACE_THROW_SPEC ((CORBA::SystemException))
-{
- return this->_tao_impl->_is_a (id, ACE_TRY_ENV);
-}
-
-void
-POA_IR::StringDef::TAO_ServerRequestInfo_IR_StringDef_bound_get::result (CORBA::ULong result)
-{
- // Update the result.
- this->_result = result;
-}
-
-POA_IR::StringDef::TAO_ServerRequestInfo_IR_StringDef_bound_set::TAO_ServerRequestInfo_IR_StringDef_bound_set (
- TAO_ServerRequest &_tao_server_request,
- POA_IR::StringDef *tao_impl,
- const CORBA::ULong & bound,
- CORBA::Environment &
- )
- : TAO_ServerRequestInfo (_tao_server_request),
- _tao_impl (tao_impl),
- bound_ (bound)
-{}
-
-Dynamic::ParameterList *
-POA_IR::StringDef::TAO_ServerRequestInfo_IR_StringDef_bound_set::arguments (CORBA::Environment &ACE_TRY_ENV)
- ACE_THROW_SPEC ((CORBA::SystemException))
-{
- // Generate the argument list on demand.
- Dynamic::ParameterList *parameter_list =
- TAO_RequestInfo_Util::make_parameter_list (ACE_TRY_ENV);
- ACE_CHECK_RETURN (0);
-
- Dynamic::ParameterList_var safe_parameter_list = parameter_list;
-
- CORBA::ULong length_bound = parameter_list->length ();
- parameter_list->length (length_bound + 1);
- (*parameter_list)[length_bound].argument <<= bound_;
- (*parameter_list)[length_bound].mode = Dynamic::PARAM_IN;
-
- return safe_parameter_list._retn ();
-}
-
-Dynamic::ExceptionList *
-POA_IR::StringDef::TAO_ServerRequestInfo_IR_StringDef_bound_set::exceptions (CORBA::Environment &ACE_TRY_ENV)
- ACE_THROW_SPEC ((CORBA::SystemException))
-{
- // Generate the exception list on demand.
- Dynamic::ExceptionList *exception_list =
- TAO_RequestInfo_Util::make_exception_list (ACE_TRY_ENV);
- ACE_CHECK_RETURN (0);
-
- return exception_list;
-}
-
-CORBA::Any *
-POA_IR::StringDef::TAO_ServerRequestInfo_IR_StringDef_bound_set::result (CORBA::Environment &ACE_TRY_ENV)
- ACE_THROW_SPEC ((CORBA::SystemException))
-{
- // Generate the result on demand.
- CORBA::Boolean tk_void_any = 1;
- CORBA::Any *result_any =
- TAO_RequestInfo_Util::make_any (tk_void_any, ACE_TRY_ENV);
- ACE_CHECK_RETURN (0);
-
- return result_any;
-}
-
-char *
-POA_IR::StringDef::TAO_ServerRequestInfo_IR_StringDef_bound_set::target_most_derived_interface (
- CORBA::Environment &)
- ACE_THROW_SPEC ((CORBA::SystemException))
-{
- return
- CORBA::string_dup (this->_tao_impl->_interface_repository_id ());
-}
-
-CORBA::Boolean
-POA_IR::StringDef::TAO_ServerRequestInfo_IR_StringDef_bound_set::target_is_a (
- const char * id,
- CORBA::Environment &ACE_TRY_ENV)
- ACE_THROW_SPEC ((CORBA::SystemException))
-{
- return this->_tao_impl->_is_a (id, ACE_TRY_ENV);
-}
-
-#endif /* TAO_HAS_INTERCEPTORS */
-
-class TAO_IR_WstringDef_Perfect_Hash_OpTable : public TAO_Perfect_Hash_OpTable
-{
-private:
- unsigned int hash (const char *str, unsigned int len);
-public:
- const TAO_operation_db_entry * lookup (const char *str, unsigned int len);
-};
-/* starting time is 11:23:10 */
-/* C++ code produced by gperf version 2.8 (ACE version) */
-/* Command-line: gperf -m -M -J -c -C -D -E -T -f 0 -F 0 -a -o -t -p -K opname_ -L C++ -Z TAO_IR_WstringDef_Perfect_Hash_OpTable -N lookup */
-unsigned int
-TAO_IR_WstringDef_Perfect_Hash_OpTable::hash (const char *str, unsigned int len)
-{
- static const unsigned char asso_values[] =
- {
-#if defined (ACE_MVS)
- 19, 19, 19, 19, 19, 19, 19, 19, 19, 19,
- 19, 19, 19, 19, 19, 19, 19, 19, 19, 19,
- 19, 19, 19, 19, 19, 19, 19, 19, 19, 19,
- 19, 19, 19, 19, 19, 19, 19, 19, 19, 19,
- 19, 19, 19, 19, 19, 19, 19, 19, 19, 19,
- 19, 19, 19, 19, 19, 19, 19, 19, 19, 19,
- 19, 19, 19, 19, 19, 19, 19, 19, 19, 19,
- 19, 19, 19, 19, 19, 19, 19, 19, 19, 19,
- 19, 19, 19, 19, 19, 19, 19, 19, 19, 19,
- 19, 19, 19, 19, 19, 19, 19, 19, 19, 19,
- 19, 19, 19, 19, 19, 19, 19, 19, 19, 0,
- 19, 19, 19, 19, 19, 19, 19, 19, 19, 19,
- 19, 19, 19, 19, 19, 19, 19, 19, 19, 0,
- 19, 19, 0, 0, 19, 19, 19, 19, 19, 19,
- 19, 19, 19, 19, 19, 19, 19, 19, 19, 19,
- 19, 19, 19, 19, 19, 19, 19, 19, 19, 19,
- 19, 19, 19, 5, 19, 19, 19, 19, 0, 19,
- 19, 19, 19, 19, 19, 19, 19, 19, 19, 19,
- 19, 19, 19, 19, 19, 19, 19, 19, 19, 19,
- 19, 19, 19, 19, 19, 19, 19, 19, 19, 19,
- 19, 19, 19, 19, 19, 19, 19, 19, 19, 19,
- 19, 19, 19, 19, 19, 19, 19, 19, 19, 19,
- 19, 19, 19, 19, 19, 19, 19, 19, 19, 19,
- 19, 19, 19, 19, 19, 19, 19, 19, 19, 19,
- 19, 19, 19, 19, 19, 19, 19, 19, 19, 19,
- 19, 19, 19, 19, 19, 19,
-#else
- 19, 19, 19, 19, 19, 19, 19, 19, 19, 19,
- 19, 19, 19, 19, 19, 19, 19, 19, 19, 19,
- 19, 19, 19, 19, 19, 19, 19, 19, 19, 19,
- 19, 19, 19, 19, 19, 19, 19, 19, 19, 19,
- 19, 19, 19, 19, 19, 19, 19, 19, 19, 19,
- 19, 19, 19, 19, 19, 19, 19, 19, 19, 19,
- 19, 19, 19, 19, 19, 19, 19, 19, 19, 19,
- 19, 19, 19, 19, 19, 19, 19, 19, 19, 19,
- 19, 19, 19, 19, 19, 19, 19, 19, 19, 19,
- 19, 19, 19, 19, 19, 0, 19, 0, 19, 19,
- 0, 0, 19, 19, 19, 19, 19, 19, 19, 19,
- 19, 19, 19, 19, 19, 19, 5, 19, 19, 19,
- 19, 0, 19, 19, 19, 19, 19, 19,
-#endif /* ACE_MVS */
- };
- return len + asso_values[str[len - 1]] + asso_values[str[0]];
-}
-
-const class TAO_operation_db_entry *
-TAO_IR_WstringDef_Perfect_Hash_OpTable::lookup (const char *str, unsigned int len)
-{
- enum
- {
- TOTAL_KEYWORDS = 7,
- MIN_WORD_LENGTH = 5,
- MAX_WORD_LENGTH = 13,
- MIN_HASH_VALUE = 5,
- MAX_HASH_VALUE = 18,
- HASH_VALUE_RANGE = 14,
- DUPLICATES = 2
- };
-
- static const class TAO_operation_db_entry wordlist[] =
- {
- {"",0},{"",0},{"",0},{"",0},{"",0},
- {"_is_a", &POA_IR::WstringDef::_is_a_skel},
- {"destroy", &POA_IR::WstringDef::destroy_skel},
- {"_get_type", &POA_IR::WstringDef::_get_type_skel},
- {"_get_bound", &POA_IR::WstringDef::_get_bound_skel},
- {"_set_bound", &POA_IR::WstringDef::_set_bound_skel},
- {"_get_def_kind", &POA_IR::WstringDef::_get_def_kind_skel},
- {"_non_existent", &POA_IR::WstringDef::_non_existent_skel},
- };
-
- static const signed char lookup[] =
- {
- -1, -1, -1, -8, -2, 5, -1, 6, -1, 7, -25, -1, -1, 10,
- -1, -1, -1, -1, 11,
- };
-
- if (len <= MAX_WORD_LENGTH && len >= MIN_WORD_LENGTH)
- {
- unsigned int key = hash (str, len);
-
- if (key <= MAX_HASH_VALUE && key >= MIN_HASH_VALUE)
- {
- int slot = lookup[key];
-
- if (slot >= 0 && slot < MAX_HASH_VALUE)
- {
- const char *s = wordlist[slot].opname_;
-
- if (*str == *s && !strncmp (str + 1, s + 1, len - 1))
- return &wordlist[slot];
- }
- else if (slot < 0 && slot >= -MAX_HASH_VALUE)
- return 0;
- else
- {
- unsigned int offset = key + slot + (slot > 0 ? -MAX_HASH_VALUE : MAX_HASH_VALUE);
- const class TAO_operation_db_entry *base = &wordlist[-lookup[offset]];
- const class TAO_operation_db_entry *ptr = base + -lookup[offset + 1];
-
- while (--ptr >= base)
- if (*str == *ptr->opname_ && !strncmp (str + 1, ptr->opname_ + 1, len - 1))
- return ptr;
- }
- }
- }
- return 0;
-}
-/* ending time is 11:23:10 */
-static TAO_IR_WstringDef_Perfect_Hash_OpTable tao_IR_WstringDef_optable;
-
-///////////////////////////////////////////////////////////////////////
-// Strategized Proxy Broker Implementation
-//
-
-// Factory function Implementation.
-POA_IR::_TAO_WstringDef_Strategized_Proxy_Broker *POA_IR::_TAO_WstringDef_Strategized_Proxy_Broker::the_TAO_WstringDef_Strategized_Proxy_Broker (void)
-{
- static POA_IR::_TAO_WstringDef_Strategized_Proxy_Broker strategized_proxy_broker;
- return &strategized_proxy_broker;
-}
-
-POA_IR::_TAO_WstringDef_Strategized_Proxy_Broker::_TAO_WstringDef_Strategized_Proxy_Broker (void)
-{
- for (int i = 0; i < TAO_Collocation_Strategies::CS_LAST; ++i)
- this->proxy_cache_[i] = 0;
-
-}
-
-POA_IR::_TAO_WstringDef_Strategized_Proxy_Broker::~_TAO_WstringDef_Strategized_Proxy_Broker (void)
-{
- for (int i = 0; i < TAO_Collocation_Strategies::CS_LAST; ++i)
- delete this->proxy_cache_[i];
-
-}
-
-_TAO_WstringDef_Proxy_Impl&
-POA_IR::_TAO_WstringDef_Strategized_Proxy_Broker::select_proxy (
- IR_WstringDef *object,
- CORBA::Environment &ACE_TRY_ENV
- )
-{
- int strategy =
- TAO_ORB_Core::collocation_strategy (object);
-
- if (this->proxy_cache_[strategy] != 0)
- return *this->proxy_cache_[strategy];
-
- this->create_proxy (strategy, ACE_TRY_ENV);
- ACE_CHECK_RETURN (*this->proxy_cache_[strategy]);
-
- return *this->proxy_cache_[strategy];
-
-}
-
-void
-POA_IR::_TAO_WstringDef_Strategized_Proxy_Broker::create_proxy (
- int strategy,
- CORBA::Environment &ACE_TRY_ENV
- )
-{
- ACE_GUARD (TAO_SYNCH_MUTEX, guard, this->mutex_);
-
- if (this->proxy_cache_[strategy] == 0)
- {
- switch (strategy)
- {
- case TAO_Collocation_Strategies::CS_THRU_POA_STRATEGY:
- ACE_NEW_THROW_EX (
- this->proxy_cache_[strategy],
- _TAO_WstringDef_ThruPOA_Proxy_Impl,
- CORBA::NO_MEMORY ()
- );
- ACE_CHECK;
- break;
-
- case TAO_Collocation_Strategies::CS_REMOTE_STRATEGY:
- default:
- ACE_NEW_THROW_EX (
- this->proxy_cache_[strategy],
- _TAO_WstringDef_Remote_Proxy_Impl,
- CORBA::NO_MEMORY ()
- );
- ACE_CHECK;
- break;
-
- }
-
- }
-}
-
-
-//
-// End Strategized Proxy Broker Implementation
-///////////////////////////////////////////////////////////////////////
-
-
-_TAO_WstringDef_Proxy_Broker *
-_TAO_WstringDef_Proxy_Broker_Factory_function (CORBA::Object_ptr obj)
-{
- ACE_UNUSED_ARG (obj);
- return ::POA_IR::_TAO_WstringDef_Strategized_Proxy_Broker::the_TAO_WstringDef_Strategized_Proxy_Broker();
-}
-
-int
-_TAO_WstringDef_Proxy_Broker_Factory_Initializer (long _dummy_)
-{
- ACE_UNUSED_ARG (_dummy_);
-
- _TAO_WstringDef_Proxy_Broker_Factory_function_pointer =
- _TAO_WstringDef_Proxy_Broker_Factory_function;
-
- return 0;
-}
-
-static int _TAO_WstringDef_Proxy_Broker_Stub_Factory_Initializer_Scarecrow =
- _TAO_WstringDef_Proxy_Broker_Factory_Initializer (ACE_reinterpret_cast (long, _TAO_WstringDef_Proxy_Broker_Factory_Initializer));
-
-
-///////////////////////////////////////////////////////////////////////
-// ThruPOA Proxy Implementation
-//
-
-POA_IR::_TAO_WstringDef_ThruPOA_Proxy_Impl::_TAO_WstringDef_ThruPOA_Proxy_Impl (void)
-{}
-
-// ThruPOA Implementation of the IDL interface methods
-
-CORBA::ULong POA_IR::_TAO_WstringDef_ThruPOA_Proxy_Impl::bound (
- CORBA_Object *_collocated_tao_target_,
- CORBA::Environment &ACE_TRY_ENV
- )
- ACE_THROW_SPEC ((
- CORBA::SystemException
- ))
-{
- CORBA::ULong _tao_retval = 0;
- ACE_UNUSED_ARG (_tao_retval);
- TAO_Object_Adapter::Servant_Upcall servant_upcall (
- _collocated_tao_target_->_stubobj ()->servant_orb_var ()->orb_core ()
- );
- CORBA::Object_var forward_to;
- servant_upcall.prepare_for_upcall (
- _collocated_tao_target_->_object_key (),
- "bound",
- forward_to.out (),
- ACE_TRY_ENV
- );
- ACE_CHECK_RETURN (_tao_retval);
- return ACE_reinterpret_cast (
- POA_IR::WstringDef_ptr,
- servant_upcall.servant ()->_downcast (
- "IDL:omg.org/IR/WstringDef:1.0"
- )
- )->bound (
- ACE_TRY_ENV
- );
-}
-
-void POA_IR::_TAO_WstringDef_ThruPOA_Proxy_Impl::bound (
- CORBA_Object *_collocated_tao_target_,
- CORBA::ULong bound,
- CORBA::Environment &ACE_TRY_ENV
- )
- ACE_THROW_SPEC ((
- CORBA::SystemException
- ))
-{
- TAO_Object_Adapter::Servant_Upcall servant_upcall (
- _collocated_tao_target_->_stubobj ()->servant_orb_var ()->orb_core ()
- );
- CORBA::Object_var forward_to;
- servant_upcall.prepare_for_upcall (
- _collocated_tao_target_->_object_key (),
- "bound",
- forward_to.out (),
- ACE_TRY_ENV
- );
- ACE_CHECK;
- ACE_reinterpret_cast (
- POA_IR::WstringDef_ptr,
- servant_upcall.servant ()->_downcast (
- "IDL:omg.org/IR/WstringDef:1.0"
- )
- )->bound (
- bound,
- ACE_TRY_ENV
- );
- return;
-}
-
-//
-// End ThruPOA Proxy Implementation
-///////////////////////////////////////////////////////////////////////
-
-// skeleton constructor
-POA_IR::WstringDef::WstringDef (void)
-{
- this->optable_ = &tao_IR_WstringDef_optable;
-}
-
-// copy ctor
-POA_IR::WstringDef::WstringDef (const WstringDef& rhs)
- : ACE_NESTED_CLASS (POA_IR,IDLType) (rhs),
- POA_CORBA_IRObject (rhs),
- TAO_ServantBase (rhs)
-{}
-
-// skeleton destructor
-POA_IR::WstringDef::~WstringDef (void)
-{
-}
-
-void POA_IR::WstringDef::_get_bound_skel (
- TAO_ServerRequest &_tao_server_request,
- void *_tao_object_reference,
- void * /* context */,
- CORBA::Environment &ACE_TRY_ENV
-)
-{
- POA_IR::WstringDef *_tao_impl = (POA_IR::WstringDef *)_tao_object_reference;
-
- CORBA::ULong _tao_retval = 0;
-
-#if (TAO_HAS_INTERCEPTORS == 1)
- TAO_ServerRequestInterceptor_Adapter _tao_vfr (
- _tao_server_request.orb_core ()->server_request_interceptors (),
- _tao_server_request.interceptor_count ()
- );
-
- POA_IR::WstringDef::TAO_ServerRequestInfo_IR_WstringDef_bound_get ri (
- _tao_server_request,
- _tao_impl,
- ACE_TRY_ENV
- );
-
- ACE_TRY
- {
- _tao_vfr.receive_request (&ri, ACE_TRY_ENV);
- ACE_TRY_CHECK;
-
-#endif /* TAO_HAS_INTERCEPTORS */
- _tao_retval =
- _tao_impl->bound (
- ACE_TRY_ENV
- );
- TAO_INTERCEPTOR_CHECK;
-
-#if (TAO_HAS_INTERCEPTORS == 1)
- CORBA::ULong _tao_retval_info = _tao_retval;
- ri.result (_tao_retval_info);
- ri.reply_status (PortableInterceptor::SUCCESSFUL);
- _tao_vfr.send_reply (&ri, ACE_TRY_ENV);
- ACE_TRY_CHECK;
- }
- ACE_CATCH (PortableInterceptor::ForwardRequest, exc)
- {
- ri.forward_reference (exc);
- _tao_vfr.send_other (
- &ri,
- ACE_TRY_ENV
- );
- ACE_TRY_CHECK;
- _tao_server_request.forward_location (exc.forward.in ());
- }
- ACE_CATCHANY
- {
- ri.exception (&ACE_ANY_EXCEPTION);
- _tao_vfr.send_exception (
- &ri,
- ACE_TRY_ENV
- );
- ACE_TRY_CHECK;
- ACE_RE_THROW;
- }
- ACE_ENDTRY;
- ACE_CHECK;
-#endif /* TAO_HAS_INTERCEPTORS */
-
- _tao_server_request.init_reply ();
-
- TAO_OutputCDR &_tao_out = _tao_server_request.outgoing ();
-
- if (!(
- (_tao_out << _tao_retval)
- ))
- ACE_THROW (CORBA::MARSHAL());
-
- // In case ACE_TRY_ENV is not used in this function
- ACE_UNUSED_ARG (ACE_TRY_ENV);
-}
-
-void POA_IR::WstringDef::_set_bound_skel (
- TAO_ServerRequest &_tao_server_request,
- void *_tao_object_reference,
- void * /* context */,
- CORBA::Environment &ACE_TRY_ENV
-)
-{
- TAO_InputCDR &_tao_in = _tao_server_request.incoming ();
- POA_IR::WstringDef *_tao_impl = (POA_IR::WstringDef *)_tao_object_reference;
-
- CORBA::ULong bound;
- if (!(
- (_tao_in >> bound)
- ))
- ACE_THROW (CORBA::MARSHAL () );
-
-#if (TAO_HAS_INTERCEPTORS == 1)
- TAO_ServerRequestInterceptor_Adapter _tao_vfr (
- _tao_server_request.orb_core ()->server_request_interceptors (),
- _tao_server_request.interceptor_count ()
- );
-
- POA_IR::WstringDef::TAO_ServerRequestInfo_IR_WstringDef_bound_set ri (
- _tao_server_request,
- _tao_impl,
- bound,
- ACE_TRY_ENV
- );
-
- ACE_TRY
- {
- _tao_vfr.receive_request (&ri, ACE_TRY_ENV);
- ACE_TRY_CHECK;
-
-#endif /* TAO_HAS_INTERCEPTORS */
-
- _tao_impl->bound (
- bound,
- ACE_TRY_ENV
- );
- TAO_INTERCEPTOR_CHECK;
-
-#if (TAO_HAS_INTERCEPTORS == 1)
- ri.reply_status (PortableInterceptor::SUCCESSFUL);
- _tao_vfr.send_reply (&ri, ACE_TRY_ENV);
- ACE_TRY_CHECK;
- }
- ACE_CATCH (PortableInterceptor::ForwardRequest, exc)
- {
- ri.forward_reference (exc);
- _tao_vfr.send_other (
- &ri,
- ACE_TRY_ENV
- );
- ACE_TRY_CHECK;
- _tao_server_request.forward_location (exc.forward.in ());
- }
- ACE_CATCHANY
- {
- ri.exception (&ACE_ANY_EXCEPTION);
- _tao_vfr.send_exception (
- &ri,
- ACE_TRY_ENV
- );
- ACE_TRY_CHECK;
- ACE_RE_THROW;
- }
- ACE_ENDTRY;
- ACE_CHECK;
-#endif /* TAO_HAS_INTERCEPTORS */
-
- _tao_server_request.init_reply ();
-
- // In case ACE_TRY_ENV is not used in this function
- ACE_UNUSED_ARG (ACE_TRY_ENV);
-}
-
-void POA_IR::WstringDef::_is_a_skel (
- TAO_ServerRequest &_tao_server_request,
- void * _tao_object_reference,
- void * /* context */,
- CORBA::Environment &ACE_TRY_ENV
- )
-{
- TAO_InputCDR &_tao_in = _tao_server_request.incoming ();
- POA_IR::WstringDef *_tao_impl = (POA_IR::WstringDef *) _tao_object_reference;
- CORBA::Boolean _tao_retval = 0;
- CORBA::String_var value;
- if (!((_tao_in >> value.out ())))
- ACE_THROW (CORBA::MARSHAL ());
-
- _tao_retval = _tao_impl->_is_a (value.in (), ACE_TRY_ENV);
- ACE_CHECK;
-
- _tao_server_request.init_reply ();
- TAO_OutputCDR &_tao_out = _tao_server_request.outgoing ();
- if (!((_tao_out << CORBA::Any::from_boolean (_tao_retval))))
- ACE_THROW (CORBA::MARSHAL ());
-}
-
-void POA_IR::WstringDef::_non_existent_skel (
- TAO_ServerRequest &_tao_server_request,
- void * _tao_object_reference,
- void * /* context */,
- CORBA::Environment &ACE_TRY_ENV
- )
-{
- POA_IR::WstringDef *_tao_impl = (POA_IR::WstringDef *) _tao_object_reference;
- CORBA::Boolean _tao_retval = _tao_impl->_non_existent (ACE_TRY_ENV);
- ACE_CHECK;
-
- _tao_server_request.init_reply ();
- TAO_OutputCDR &_tao_out = _tao_server_request.outgoing ();
- if (!((_tao_out << CORBA::Any::from_boolean (_tao_retval))))
- ACE_THROW (CORBA::MARSHAL ());
-}
-
-CORBA::Boolean POA_IR::WstringDef::_is_a (
- const char* value,
- CORBA::Environment &ACE_TRY_ENV
- )
-{
- if (
- (!ACE_OS::strcmp ((char *)value, "IDL:omg.org/IR/WstringDef:1.0")) ||
- (!ACE_OS::strcmp ((char *)value, "IDL:omg.org/IR/IDLType:1.0")) ||
- (!ACE_OS::strcmp ((char *)value, "IDL:omg.org/CORBA/IRObject:1.0")) ||
- (!ACE_OS::strcmp ((char *)value, CORBA::_tc_Object->id (ACE_TRY_ENV))))
- return 1;
- else
- return 0;
-}
-
-void* POA_IR::WstringDef::_downcast (
- const char* logical_type_id
- )
-{
- if (ACE_OS::strcmp (logical_type_id, "IDL:omg.org/IR/WstringDef:1.0") == 0)
- return ACE_static_cast (POA_IR::WstringDef_ptr, this);
- if (ACE_OS::strcmp (logical_type_id, "IDL:omg.org/IR/IDLType:1.0") == 0)
- return ACE_static_cast (POA_IR::IDLType_ptr, this);
- if (ACE_OS::strcmp (logical_type_id, "IDL:omg.org/CORBA/IRObject:1.0") == 0)
- return ACE_static_cast (POA_CORBA_IRObject_ptr, this);
- if (ACE_OS::strcmp (logical_type_id, "IDL:omg.org/CORBA/Object:1.0") == 0)
- return ACE_static_cast(PortableServer::Servant, this);
- return 0;
-}
-
-void POA_IR::WstringDef::_dispatch (TAO_ServerRequest &req, void *context, CORBA::Environment &ACE_TRY_ENV)
-{
- this->synchronous_upcall_dispatch(req, context, this, ACE_TRY_ENV);
-}
-
-const char* POA_IR::WstringDef::_interface_repository_id (void) const
-{
- return "IDL:omg.org/IR/WstringDef:1.0";
-}
-
-IR::WstringDef*
-POA_IR::WstringDef::_this (CORBA_Environment &ACE_TRY_ENV)
-{
- TAO_Stub *stub = this->_create_stub (ACE_TRY_ENV);
- ACE_CHECK_RETURN (0);
-
- CORBA::Object_ptr tmp = CORBA::Object::_nil ();
-
- if (stub->servant_orb_var ()->orb_core ()->optimize_collocation_objects ())
- ACE_NEW_RETURN (tmp, CORBA::Object (stub, 1, this), 0);
- else
- ACE_NEW_RETURN (tmp, CORBA::Object (stub, 0, this), 0);
-
- CORBA::Object_var obj = tmp;
- return IR_WstringDef::_unchecked_narrow (obj.in ());
-}
-
-#if (TAO_HAS_INTERCEPTORS == 1)
-POA_IR::WstringDef::TAO_ServerRequestInfo_IR_WstringDef_bound_get::TAO_ServerRequestInfo_IR_WstringDef_bound_get (
- TAO_ServerRequest &_tao_server_request,
- POA_IR::WstringDef *tao_impl,
- CORBA::Environment &
- )
- : TAO_ServerRequestInfo (_tao_server_request),
- _tao_impl (tao_impl)
-{}
-
-Dynamic::ParameterList *
-POA_IR::WstringDef::TAO_ServerRequestInfo_IR_WstringDef_bound_get::arguments (CORBA::Environment &ACE_TRY_ENV)
- ACE_THROW_SPEC ((CORBA::SystemException))
-{
- // Generate the argument list on demand.
- Dynamic::ParameterList *parameter_list =
- TAO_RequestInfo_Util::make_parameter_list (ACE_TRY_ENV);
- ACE_CHECK_RETURN (0);
-
- return parameter_list;
-}
-
-Dynamic::ExceptionList *
-POA_IR::WstringDef::TAO_ServerRequestInfo_IR_WstringDef_bound_get::exceptions (CORBA::Environment &ACE_TRY_ENV)
- ACE_THROW_SPEC ((CORBA::SystemException))
-{
- // Generate the exception list on demand.
- Dynamic::ExceptionList *exception_list =
- TAO_RequestInfo_Util::make_exception_list (ACE_TRY_ENV);
- ACE_CHECK_RETURN (0);
-
- return exception_list;
-}
-
-CORBA::Any *
-POA_IR::WstringDef::TAO_ServerRequestInfo_IR_WstringDef_bound_get::result (CORBA::Environment &ACE_TRY_ENV)
- ACE_THROW_SPEC ((CORBA::SystemException))
-{
- // Generate the result on demand.
- CORBA::Boolean tk_void_any = 0;
- CORBA::Any *result_any =
- TAO_RequestInfo_Util::make_any (tk_void_any, ACE_TRY_ENV);
- ACE_CHECK_RETURN (0);
-
- CORBA::Any_var safe_result_any = result_any;
-
- (*result_any) <<= this->_result;
-
- return safe_result_any._retn ();
-}
-
-char *
-POA_IR::WstringDef::TAO_ServerRequestInfo_IR_WstringDef_bound_get::target_most_derived_interface (
- CORBA::Environment &)
- ACE_THROW_SPEC ((CORBA::SystemException))
-{
- return
- CORBA::string_dup (this->_tao_impl->_interface_repository_id ());
-}
-
-CORBA::Boolean
-POA_IR::WstringDef::TAO_ServerRequestInfo_IR_WstringDef_bound_get::target_is_a (
- const char * id,
- CORBA::Environment &ACE_TRY_ENV)
- ACE_THROW_SPEC ((CORBA::SystemException))
-{
- return this->_tao_impl->_is_a (id, ACE_TRY_ENV);
-}
-
-void
-POA_IR::WstringDef::TAO_ServerRequestInfo_IR_WstringDef_bound_get::result (CORBA::ULong result)
-{
- // Update the result.
- this->_result = result;
-}
-
-POA_IR::WstringDef::TAO_ServerRequestInfo_IR_WstringDef_bound_set::TAO_ServerRequestInfo_IR_WstringDef_bound_set (
- TAO_ServerRequest &_tao_server_request,
- POA_IR::WstringDef *tao_impl,
- const CORBA::ULong & bound,
- CORBA::Environment &
- )
- : TAO_ServerRequestInfo (_tao_server_request),
- _tao_impl (tao_impl),
- bound_ (bound)
-{}
-
-Dynamic::ParameterList *
-POA_IR::WstringDef::TAO_ServerRequestInfo_IR_WstringDef_bound_set::arguments (CORBA::Environment &ACE_TRY_ENV)
- ACE_THROW_SPEC ((CORBA::SystemException))
-{
- // Generate the argument list on demand.
- Dynamic::ParameterList *parameter_list =
- TAO_RequestInfo_Util::make_parameter_list (ACE_TRY_ENV);
- ACE_CHECK_RETURN (0);
-
- Dynamic::ParameterList_var safe_parameter_list = parameter_list;
-
- CORBA::ULong length_bound = parameter_list->length ();
- parameter_list->length (length_bound + 1);
- (*parameter_list)[length_bound].argument <<= bound_;
- (*parameter_list)[length_bound].mode = Dynamic::PARAM_IN;
-
- return safe_parameter_list._retn ();
-}
-
-Dynamic::ExceptionList *
-POA_IR::WstringDef::TAO_ServerRequestInfo_IR_WstringDef_bound_set::exceptions (CORBA::Environment &ACE_TRY_ENV)
- ACE_THROW_SPEC ((CORBA::SystemException))
-{
- // Generate the exception list on demand.
- Dynamic::ExceptionList *exception_list =
- TAO_RequestInfo_Util::make_exception_list (ACE_TRY_ENV);
- ACE_CHECK_RETURN (0);
-
- return exception_list;
-}
-
-CORBA::Any *
-POA_IR::WstringDef::TAO_ServerRequestInfo_IR_WstringDef_bound_set::result (CORBA::Environment &ACE_TRY_ENV)
- ACE_THROW_SPEC ((CORBA::SystemException))
-{
- // Generate the result on demand.
- CORBA::Boolean tk_void_any = 1;
- CORBA::Any *result_any =
- TAO_RequestInfo_Util::make_any (tk_void_any, ACE_TRY_ENV);
- ACE_CHECK_RETURN (0);
-
- return result_any;
-}
-
-char *
-POA_IR::WstringDef::TAO_ServerRequestInfo_IR_WstringDef_bound_set::target_most_derived_interface (
- CORBA::Environment &)
- ACE_THROW_SPEC ((CORBA::SystemException))
-{
- return
- CORBA::string_dup (this->_tao_impl->_interface_repository_id ());
-}
-
-CORBA::Boolean
-POA_IR::WstringDef::TAO_ServerRequestInfo_IR_WstringDef_bound_set::target_is_a (
- const char * id,
- CORBA::Environment &ACE_TRY_ENV)
- ACE_THROW_SPEC ((CORBA::SystemException))
-{
- return this->_tao_impl->_is_a (id, ACE_TRY_ENV);
-}
-
-#endif /* TAO_HAS_INTERCEPTORS */
-
-class TAO_IR_FixedDef_Perfect_Hash_OpTable : public TAO_Perfect_Hash_OpTable
-{
-private:
- unsigned int hash (const char *str, unsigned int len);
-public:
- const TAO_operation_db_entry * lookup (const char *str, unsigned int len);
-};
-/* starting time is 11:23:10 */
-/* C++ code produced by gperf version 2.8 (ACE version) */
-/* Command-line: gperf -m -M -J -c -C -D -E -T -f 0 -F 0 -a -o -t -p -K opname_ -L C++ -Z TAO_IR_FixedDef_Perfect_Hash_OpTable -N lookup */
-unsigned int
-TAO_IR_FixedDef_Perfect_Hash_OpTable::hash (const char *str, unsigned int len)
-{
- static const unsigned char asso_values[] =
- {
-#if defined (ACE_MVS)
- 19, 19, 19, 19, 19, 19, 19, 19, 19, 19,
- 19, 19, 19, 19, 19, 19, 19, 19, 19, 19,
- 19, 19, 19, 19, 19, 19, 19, 19, 19, 19,
- 19, 19, 19, 19, 19, 19, 19, 19, 19, 19,
- 19, 19, 19, 19, 19, 19, 19, 19, 19, 19,
- 19, 19, 19, 19, 19, 19, 19, 19, 19, 19,
- 19, 19, 19, 19, 19, 19, 19, 19, 19, 19,
- 19, 19, 19, 19, 19, 19, 19, 19, 19, 19,
- 19, 19, 19, 19, 19, 19, 19, 19, 19, 19,
- 19, 19, 19, 19, 19, 19, 19, 19, 19, 19,
- 19, 19, 19, 19, 19, 19, 19, 19, 19, 0,
- 19, 19, 19, 19, 19, 19, 19, 19, 19, 19,
- 19, 19, 19, 19, 19, 19, 19, 19, 19, 0,
- 19, 19, 0, 0, 19, 19, 19, 19, 19, 19,
- 19, 19, 19, 19, 19, 19, 19, 19, 19, 19,
- 19, 19, 19, 19, 19, 19, 19, 19, 19, 19,
- 19, 19, 0, 5, 19, 19, 19, 19, 0, 19,
- 19, 19, 19, 19, 19, 19, 19, 19, 19, 19,
- 19, 19, 19, 19, 19, 19, 19, 19, 19, 19,
- 19, 19, 19, 19, 19, 19, 19, 19, 19, 19,
- 19, 19, 19, 19, 19, 19, 19, 19, 19, 19,
- 19, 19, 19, 19, 19, 19, 19, 19, 19, 19,
- 19, 19, 19, 19, 19, 19, 19, 19, 19, 19,
- 19, 19, 19, 19, 19, 19, 19, 19, 19, 19,
- 19, 19, 19, 19, 19, 19, 19, 19, 19, 19,
- 19, 19, 19, 19, 19, 19,
-#else
- 19, 19, 19, 19, 19, 19, 19, 19, 19, 19,
- 19, 19, 19, 19, 19, 19, 19, 19, 19, 19,
- 19, 19, 19, 19, 19, 19, 19, 19, 19, 19,
- 19, 19, 19, 19, 19, 19, 19, 19, 19, 19,
- 19, 19, 19, 19, 19, 19, 19, 19, 19, 19,
- 19, 19, 19, 19, 19, 19, 19, 19, 19, 19,
- 19, 19, 19, 19, 19, 19, 19, 19, 19, 19,
- 19, 19, 19, 19, 19, 19, 19, 19, 19, 19,
- 19, 19, 19, 19, 19, 19, 19, 19, 19, 19,
- 19, 19, 19, 19, 19, 0, 19, 0, 19, 19,
- 0, 0, 19, 19, 19, 19, 19, 19, 19, 19,
- 19, 19, 19, 19, 19, 0, 5, 19, 19, 19,
- 19, 0, 19, 19, 19, 19, 19, 19,
-#endif /* ACE_MVS */
- };
- return len + asso_values[str[len - 1]] + asso_values[str[0]];
-}
-
-const class TAO_operation_db_entry *
-TAO_IR_FixedDef_Perfect_Hash_OpTable::lookup (const char *str, unsigned int len)
-{
- enum
- {
- TOTAL_KEYWORDS = 9,
- MIN_WORD_LENGTH = 5,
- MAX_WORD_LENGTH = 13,
- MIN_HASH_VALUE = 5,
- MAX_HASH_VALUE = 18,
- HASH_VALUE_RANGE = 14,
- DUPLICATES = 3
- };
-
- static const class TAO_operation_db_entry wordlist[] =
- {
- {"",0},{"",0},{"",0},{"",0},{"",0},
- {"_is_a", &POA_IR::FixedDef::_is_a_skel},
- {"destroy", &POA_IR::FixedDef::destroy_skel},
- {"_get_type", &POA_IR::FixedDef::_get_type_skel},
- {"_get_scale", &POA_IR::FixedDef::_get_scale_skel},
- {"_set_scale", &POA_IR::FixedDef::_set_scale_skel},
- {"_get_digits", &POA_IR::FixedDef::_get_digits_skel},
- {"_set_digits", &POA_IR::FixedDef::_set_digits_skel},
- {"_get_def_kind", &POA_IR::FixedDef::_get_def_kind_skel},
- {"_non_existent", &POA_IR::FixedDef::_non_existent_skel},
- };
-
- static const signed char lookup[] =
- {
- -1, -8, -2, -10, -2, 5, -1, 6, -1, 7, -27, -26, -1, 12,
- -1, -1, -1, -1, 13,
- };
-
- if (len <= MAX_WORD_LENGTH && len >= MIN_WORD_LENGTH)
- {
- unsigned int key = hash (str, len);
-
- if (key <= MAX_HASH_VALUE && key >= MIN_HASH_VALUE)
- {
- int slot = lookup[key];
-
- if (slot >= 0 && slot < MAX_HASH_VALUE)
- {
- const char *s = wordlist[slot].opname_;
-
- if (*str == *s && !strncmp (str + 1, s + 1, len - 1))
- return &wordlist[slot];
- }
- else if (slot < 0 && slot >= -MAX_HASH_VALUE)
- return 0;
- else
- {
- unsigned int offset = key + slot + (slot > 0 ? -MAX_HASH_VALUE : MAX_HASH_VALUE);
- const class TAO_operation_db_entry *base = &wordlist[-lookup[offset]];
- const class TAO_operation_db_entry *ptr = base + -lookup[offset + 1];
-
- while (--ptr >= base)
- if (*str == *ptr->opname_ && !strncmp (str + 1, ptr->opname_ + 1, len - 1))
- return ptr;
- }
- }
- }
- return 0;
-}
-/* ending time is 11:23:10 */
-static TAO_IR_FixedDef_Perfect_Hash_OpTable tao_IR_FixedDef_optable;
-
-///////////////////////////////////////////////////////////////////////
-// Strategized Proxy Broker Implementation
-//
-
-// Factory function Implementation.
-POA_IR::_TAO_FixedDef_Strategized_Proxy_Broker *POA_IR::_TAO_FixedDef_Strategized_Proxy_Broker::the_TAO_FixedDef_Strategized_Proxy_Broker (void)
-{
- static POA_IR::_TAO_FixedDef_Strategized_Proxy_Broker strategized_proxy_broker;
- return &strategized_proxy_broker;
-}
-
-POA_IR::_TAO_FixedDef_Strategized_Proxy_Broker::_TAO_FixedDef_Strategized_Proxy_Broker (void)
-{
- for (int i = 0; i < TAO_Collocation_Strategies::CS_LAST; ++i)
- this->proxy_cache_[i] = 0;
-
-}
-
-POA_IR::_TAO_FixedDef_Strategized_Proxy_Broker::~_TAO_FixedDef_Strategized_Proxy_Broker (void)
-{
- for (int i = 0; i < TAO_Collocation_Strategies::CS_LAST; ++i)
- delete this->proxy_cache_[i];
-
-}
-
-_TAO_FixedDef_Proxy_Impl&
-POA_IR::_TAO_FixedDef_Strategized_Proxy_Broker::select_proxy (
- IR_FixedDef *object,
- CORBA::Environment &ACE_TRY_ENV
- )
-{
- int strategy =
- TAO_ORB_Core::collocation_strategy (object);
-
- if (this->proxy_cache_[strategy] != 0)
- return *this->proxy_cache_[strategy];
-
- this->create_proxy (strategy, ACE_TRY_ENV);
- ACE_CHECK_RETURN (*this->proxy_cache_[strategy]);
-
- return *this->proxy_cache_[strategy];
-
-}
-
-void
-POA_IR::_TAO_FixedDef_Strategized_Proxy_Broker::create_proxy (
- int strategy,
- CORBA::Environment &ACE_TRY_ENV
- )
-{
- ACE_GUARD (TAO_SYNCH_MUTEX, guard, this->mutex_);
-
- if (this->proxy_cache_[strategy] == 0)
- {
- switch (strategy)
- {
- case TAO_Collocation_Strategies::CS_THRU_POA_STRATEGY:
- ACE_NEW_THROW_EX (
- this->proxy_cache_[strategy],
- _TAO_FixedDef_ThruPOA_Proxy_Impl,
- CORBA::NO_MEMORY ()
- );
- ACE_CHECK;
- break;
-
- case TAO_Collocation_Strategies::CS_REMOTE_STRATEGY:
- default:
- ACE_NEW_THROW_EX (
- this->proxy_cache_[strategy],
- _TAO_FixedDef_Remote_Proxy_Impl,
- CORBA::NO_MEMORY ()
- );
- ACE_CHECK;
- break;
-
- }
-
- }
-}
-
-
-//
-// End Strategized Proxy Broker Implementation
-///////////////////////////////////////////////////////////////////////
-
-
-_TAO_FixedDef_Proxy_Broker *
-_TAO_FixedDef_Proxy_Broker_Factory_function (CORBA::Object_ptr obj)
-{
- ACE_UNUSED_ARG (obj);
- return ::POA_IR::_TAO_FixedDef_Strategized_Proxy_Broker::the_TAO_FixedDef_Strategized_Proxy_Broker();
-}
-
-int
-_TAO_FixedDef_Proxy_Broker_Factory_Initializer (long _dummy_)
-{
- ACE_UNUSED_ARG (_dummy_);
-
- _TAO_FixedDef_Proxy_Broker_Factory_function_pointer =
- _TAO_FixedDef_Proxy_Broker_Factory_function;
-
- return 0;
-}
-
-static int _TAO_FixedDef_Proxy_Broker_Stub_Factory_Initializer_Scarecrow =
- _TAO_FixedDef_Proxy_Broker_Factory_Initializer (ACE_reinterpret_cast (long, _TAO_FixedDef_Proxy_Broker_Factory_Initializer));
-
-
-///////////////////////////////////////////////////////////////////////
-// ThruPOA Proxy Implementation
-//
-
-POA_IR::_TAO_FixedDef_ThruPOA_Proxy_Impl::_TAO_FixedDef_ThruPOA_Proxy_Impl (void)
-{}
-
-// ThruPOA Implementation of the IDL interface methods
-
-CORBA::UShort POA_IR::_TAO_FixedDef_ThruPOA_Proxy_Impl::digits (
- CORBA_Object *_collocated_tao_target_,
- CORBA::Environment &ACE_TRY_ENV
- )
- ACE_THROW_SPEC ((
- CORBA::SystemException
- ))
-{
- CORBA::UShort _tao_retval = 0;
- ACE_UNUSED_ARG (_tao_retval);
- TAO_Object_Adapter::Servant_Upcall servant_upcall (
- _collocated_tao_target_->_stubobj ()->servant_orb_var ()->orb_core ()
- );
- CORBA::Object_var forward_to;
- servant_upcall.prepare_for_upcall (
- _collocated_tao_target_->_object_key (),
- "digits",
- forward_to.out (),
- ACE_TRY_ENV
- );
- ACE_CHECK_RETURN (_tao_retval);
- return ACE_reinterpret_cast (
- POA_IR::FixedDef_ptr,
- servant_upcall.servant ()->_downcast (
- "IDL:omg.org/IR/FixedDef:1.0"
- )
- )->digits (
- ACE_TRY_ENV
- );
-}
-
-void POA_IR::_TAO_FixedDef_ThruPOA_Proxy_Impl::digits (
- CORBA_Object *_collocated_tao_target_,
- CORBA::UShort digits,
- CORBA::Environment &ACE_TRY_ENV
- )
- ACE_THROW_SPEC ((
- CORBA::SystemException
- ))
-{
- TAO_Object_Adapter::Servant_Upcall servant_upcall (
- _collocated_tao_target_->_stubobj ()->servant_orb_var ()->orb_core ()
- );
- CORBA::Object_var forward_to;
- servant_upcall.prepare_for_upcall (
- _collocated_tao_target_->_object_key (),
- "digits",
- forward_to.out (),
- ACE_TRY_ENV
- );
- ACE_CHECK;
- ACE_reinterpret_cast (
- POA_IR::FixedDef_ptr,
- servant_upcall.servant ()->_downcast (
- "IDL:omg.org/IR/FixedDef:1.0"
- )
- )->digits (
- digits,
- ACE_TRY_ENV
- );
- return;
-}
-
-CORBA::Short POA_IR::_TAO_FixedDef_ThruPOA_Proxy_Impl::scale (
- CORBA_Object *_collocated_tao_target_,
- CORBA::Environment &ACE_TRY_ENV
- )
- ACE_THROW_SPEC ((
- CORBA::SystemException
- ))
-{
- CORBA::Short _tao_retval = 0;
- ACE_UNUSED_ARG (_tao_retval);
- TAO_Object_Adapter::Servant_Upcall servant_upcall (
- _collocated_tao_target_->_stubobj ()->servant_orb_var ()->orb_core ()
- );
- CORBA::Object_var forward_to;
- servant_upcall.prepare_for_upcall (
- _collocated_tao_target_->_object_key (),
- "scale",
- forward_to.out (),
- ACE_TRY_ENV
- );
- ACE_CHECK_RETURN (_tao_retval);
- return ACE_reinterpret_cast (
- POA_IR::FixedDef_ptr,
- servant_upcall.servant ()->_downcast (
- "IDL:omg.org/IR/FixedDef:1.0"
- )
- )->scale (
- ACE_TRY_ENV
- );
-}
-
-void POA_IR::_TAO_FixedDef_ThruPOA_Proxy_Impl::scale (
- CORBA_Object *_collocated_tao_target_,
- CORBA::Short scale,
- CORBA::Environment &ACE_TRY_ENV
- )
- ACE_THROW_SPEC ((
- CORBA::SystemException
- ))
-{
- TAO_Object_Adapter::Servant_Upcall servant_upcall (
- _collocated_tao_target_->_stubobj ()->servant_orb_var ()->orb_core ()
- );
- CORBA::Object_var forward_to;
- servant_upcall.prepare_for_upcall (
- _collocated_tao_target_->_object_key (),
- "scale",
- forward_to.out (),
- ACE_TRY_ENV
- );
- ACE_CHECK;
- ACE_reinterpret_cast (
- POA_IR::FixedDef_ptr,
- servant_upcall.servant ()->_downcast (
- "IDL:omg.org/IR/FixedDef:1.0"
- )
- )->scale (
- scale,
- ACE_TRY_ENV
- );
- return;
-}
-
-//
-// End ThruPOA Proxy Implementation
-///////////////////////////////////////////////////////////////////////
-
-// skeleton constructor
-POA_IR::FixedDef::FixedDef (void)
-{
- this->optable_ = &tao_IR_FixedDef_optable;
-}
-
-// copy ctor
-POA_IR::FixedDef::FixedDef (const FixedDef& rhs)
- : ACE_NESTED_CLASS (POA_IR,IDLType) (rhs),
- POA_CORBA_IRObject (rhs),
- TAO_ServantBase (rhs)
-{}
-
-// skeleton destructor
-POA_IR::FixedDef::~FixedDef (void)
-{
-}
-
-void POA_IR::FixedDef::_get_digits_skel (
- TAO_ServerRequest &_tao_server_request,
- void *_tao_object_reference,
- void * /* context */,
- CORBA::Environment &ACE_TRY_ENV
-)
-{
- POA_IR::FixedDef *_tao_impl = (POA_IR::FixedDef *)_tao_object_reference;
-
- CORBA::UShort _tao_retval = 0;
-
-#if (TAO_HAS_INTERCEPTORS == 1)
- TAO_ServerRequestInterceptor_Adapter _tao_vfr (
- _tao_server_request.orb_core ()->server_request_interceptors (),
- _tao_server_request.interceptor_count ()
- );
-
- POA_IR::FixedDef::TAO_ServerRequestInfo_IR_FixedDef_digits_get ri (
- _tao_server_request,
- _tao_impl,
- ACE_TRY_ENV
- );
-
- ACE_TRY
- {
- _tao_vfr.receive_request (&ri, ACE_TRY_ENV);
- ACE_TRY_CHECK;
-
-#endif /* TAO_HAS_INTERCEPTORS */
- _tao_retval =
- _tao_impl->digits (
- ACE_TRY_ENV
- );
- TAO_INTERCEPTOR_CHECK;
-
-#if (TAO_HAS_INTERCEPTORS == 1)
- CORBA::UShort _tao_retval_info = _tao_retval;
- ri.result (_tao_retval_info);
- ri.reply_status (PortableInterceptor::SUCCESSFUL);
- _tao_vfr.send_reply (&ri, ACE_TRY_ENV);
- ACE_TRY_CHECK;
- }
- ACE_CATCH (PortableInterceptor::ForwardRequest, exc)
- {
- ri.forward_reference (exc);
- _tao_vfr.send_other (
- &ri,
- ACE_TRY_ENV
- );
- ACE_TRY_CHECK;
- _tao_server_request.forward_location (exc.forward.in ());
- }
- ACE_CATCHANY
- {
- ri.exception (&ACE_ANY_EXCEPTION);
- _tao_vfr.send_exception (
- &ri,
- ACE_TRY_ENV
- );
- ACE_TRY_CHECK;
- ACE_RE_THROW;
- }
- ACE_ENDTRY;
- ACE_CHECK;
-#endif /* TAO_HAS_INTERCEPTORS */
-
- _tao_server_request.init_reply ();
-
- TAO_OutputCDR &_tao_out = _tao_server_request.outgoing ();
-
- if (!(
- (_tao_out << _tao_retval)
- ))
- ACE_THROW (CORBA::MARSHAL());
-
- // In case ACE_TRY_ENV is not used in this function
- ACE_UNUSED_ARG (ACE_TRY_ENV);
-}
-
-void POA_IR::FixedDef::_set_digits_skel (
- TAO_ServerRequest &_tao_server_request,
- void *_tao_object_reference,
- void * /* context */,
- CORBA::Environment &ACE_TRY_ENV
-)
-{
- TAO_InputCDR &_tao_in = _tao_server_request.incoming ();
- POA_IR::FixedDef *_tao_impl = (POA_IR::FixedDef *)_tao_object_reference;
-
- CORBA::UShort digits;
- if (!(
- (_tao_in >> digits)
- ))
- ACE_THROW (CORBA::MARSHAL () );
-
-#if (TAO_HAS_INTERCEPTORS == 1)
- TAO_ServerRequestInterceptor_Adapter _tao_vfr (
- _tao_server_request.orb_core ()->server_request_interceptors (),
- _tao_server_request.interceptor_count ()
- );
-
- POA_IR::FixedDef::TAO_ServerRequestInfo_IR_FixedDef_digits_set ri (
- _tao_server_request,
- _tao_impl,
- digits,
- ACE_TRY_ENV
- );
-
- ACE_TRY
- {
- _tao_vfr.receive_request (&ri, ACE_TRY_ENV);
- ACE_TRY_CHECK;
-
-#endif /* TAO_HAS_INTERCEPTORS */
-
- _tao_impl->digits (
- digits,
- ACE_TRY_ENV
- );
- TAO_INTERCEPTOR_CHECK;
-
-#if (TAO_HAS_INTERCEPTORS == 1)
- ri.reply_status (PortableInterceptor::SUCCESSFUL);
- _tao_vfr.send_reply (&ri, ACE_TRY_ENV);
- ACE_TRY_CHECK;
- }
- ACE_CATCH (PortableInterceptor::ForwardRequest, exc)
- {
- ri.forward_reference (exc);
- _tao_vfr.send_other (
- &ri,
- ACE_TRY_ENV
- );
- ACE_TRY_CHECK;
- _tao_server_request.forward_location (exc.forward.in ());
- }
- ACE_CATCHANY
- {
- ri.exception (&ACE_ANY_EXCEPTION);
- _tao_vfr.send_exception (
- &ri,
- ACE_TRY_ENV
- );
- ACE_TRY_CHECK;
- ACE_RE_THROW;
- }
- ACE_ENDTRY;
- ACE_CHECK;
-#endif /* TAO_HAS_INTERCEPTORS */
-
- _tao_server_request.init_reply ();
-
- // In case ACE_TRY_ENV is not used in this function
- ACE_UNUSED_ARG (ACE_TRY_ENV);
-}
-
-void POA_IR::FixedDef::_get_scale_skel (
- TAO_ServerRequest &_tao_server_request,
- void *_tao_object_reference,
- void * /* context */,
- CORBA::Environment &ACE_TRY_ENV
-)
-{
- POA_IR::FixedDef *_tao_impl = (POA_IR::FixedDef *)_tao_object_reference;
-
- CORBA::Short _tao_retval = 0;
-
-#if (TAO_HAS_INTERCEPTORS == 1)
- TAO_ServerRequestInterceptor_Adapter _tao_vfr (
- _tao_server_request.orb_core ()->server_request_interceptors (),
- _tao_server_request.interceptor_count ()
- );
-
- POA_IR::FixedDef::TAO_ServerRequestInfo_IR_FixedDef_scale_get ri (
- _tao_server_request,
- _tao_impl,
- ACE_TRY_ENV
- );
-
- ACE_TRY
- {
- _tao_vfr.receive_request (&ri, ACE_TRY_ENV);
- ACE_TRY_CHECK;
-
-#endif /* TAO_HAS_INTERCEPTORS */
- _tao_retval =
- _tao_impl->scale (
- ACE_TRY_ENV
- );
- TAO_INTERCEPTOR_CHECK;
-
-#if (TAO_HAS_INTERCEPTORS == 1)
- CORBA::Short _tao_retval_info = _tao_retval;
- ri.result (_tao_retval_info);
- ri.reply_status (PortableInterceptor::SUCCESSFUL);
- _tao_vfr.send_reply (&ri, ACE_TRY_ENV);
- ACE_TRY_CHECK;
- }
- ACE_CATCH (PortableInterceptor::ForwardRequest, exc)
- {
- ri.forward_reference (exc);
- _tao_vfr.send_other (
- &ri,
- ACE_TRY_ENV
- );
- ACE_TRY_CHECK;
- _tao_server_request.forward_location (exc.forward.in ());
- }
- ACE_CATCHANY
- {
- ri.exception (&ACE_ANY_EXCEPTION);
- _tao_vfr.send_exception (
- &ri,
- ACE_TRY_ENV
- );
- ACE_TRY_CHECK;
- ACE_RE_THROW;
- }
- ACE_ENDTRY;
- ACE_CHECK;
-#endif /* TAO_HAS_INTERCEPTORS */
-
- _tao_server_request.init_reply ();
-
- TAO_OutputCDR &_tao_out = _tao_server_request.outgoing ();
-
- if (!(
- (_tao_out << _tao_retval)
- ))
- ACE_THROW (CORBA::MARSHAL());
-
- // In case ACE_TRY_ENV is not used in this function
- ACE_UNUSED_ARG (ACE_TRY_ENV);
-}
-
-void POA_IR::FixedDef::_set_scale_skel (
- TAO_ServerRequest &_tao_server_request,
- void *_tao_object_reference,
- void * /* context */,
- CORBA::Environment &ACE_TRY_ENV
-)
-{
- TAO_InputCDR &_tao_in = _tao_server_request.incoming ();
- POA_IR::FixedDef *_tao_impl = (POA_IR::FixedDef *)_tao_object_reference;
-
- CORBA::Short scale;
- if (!(
- (_tao_in >> scale)
- ))
- ACE_THROW (CORBA::MARSHAL () );
-
-#if (TAO_HAS_INTERCEPTORS == 1)
- TAO_ServerRequestInterceptor_Adapter _tao_vfr (
- _tao_server_request.orb_core ()->server_request_interceptors (),
- _tao_server_request.interceptor_count ()
- );
-
- POA_IR::FixedDef::TAO_ServerRequestInfo_IR_FixedDef_scale_set ri (
- _tao_server_request,
- _tao_impl,
- scale,
- ACE_TRY_ENV
- );
-
- ACE_TRY
- {
- _tao_vfr.receive_request (&ri, ACE_TRY_ENV);
- ACE_TRY_CHECK;
-
-#endif /* TAO_HAS_INTERCEPTORS */
-
- _tao_impl->scale (
- scale,
- ACE_TRY_ENV
- );
- TAO_INTERCEPTOR_CHECK;
-
-#if (TAO_HAS_INTERCEPTORS == 1)
- ri.reply_status (PortableInterceptor::SUCCESSFUL);
- _tao_vfr.send_reply (&ri, ACE_TRY_ENV);
- ACE_TRY_CHECK;
- }
- ACE_CATCH (PortableInterceptor::ForwardRequest, exc)
- {
- ri.forward_reference (exc);
- _tao_vfr.send_other (
- &ri,
- ACE_TRY_ENV
- );
- ACE_TRY_CHECK;
- _tao_server_request.forward_location (exc.forward.in ());
- }
- ACE_CATCHANY
- {
- ri.exception (&ACE_ANY_EXCEPTION);
- _tao_vfr.send_exception (
- &ri,
- ACE_TRY_ENV
- );
- ACE_TRY_CHECK;
- ACE_RE_THROW;
- }
- ACE_ENDTRY;
- ACE_CHECK;
-#endif /* TAO_HAS_INTERCEPTORS */
-
- _tao_server_request.init_reply ();
-
- // In case ACE_TRY_ENV is not used in this function
- ACE_UNUSED_ARG (ACE_TRY_ENV);
-}
-
-void POA_IR::FixedDef::_is_a_skel (
- TAO_ServerRequest &_tao_server_request,
- void * _tao_object_reference,
- void * /* context */,
- CORBA::Environment &ACE_TRY_ENV
- )
-{
- TAO_InputCDR &_tao_in = _tao_server_request.incoming ();
- POA_IR::FixedDef *_tao_impl = (POA_IR::FixedDef *) _tao_object_reference;
- CORBA::Boolean _tao_retval = 0;
- CORBA::String_var value;
- if (!((_tao_in >> value.out ())))
- ACE_THROW (CORBA::MARSHAL ());
-
- _tao_retval = _tao_impl->_is_a (value.in (), ACE_TRY_ENV);
- ACE_CHECK;
-
- _tao_server_request.init_reply ();
- TAO_OutputCDR &_tao_out = _tao_server_request.outgoing ();
- if (!((_tao_out << CORBA::Any::from_boolean (_tao_retval))))
- ACE_THROW (CORBA::MARSHAL ());
-}
-
-void POA_IR::FixedDef::_non_existent_skel (
- TAO_ServerRequest &_tao_server_request,
- void * _tao_object_reference,
- void * /* context */,
- CORBA::Environment &ACE_TRY_ENV
- )
-{
- POA_IR::FixedDef *_tao_impl = (POA_IR::FixedDef *) _tao_object_reference;
- CORBA::Boolean _tao_retval = _tao_impl->_non_existent (ACE_TRY_ENV);
- ACE_CHECK;
-
- _tao_server_request.init_reply ();
- TAO_OutputCDR &_tao_out = _tao_server_request.outgoing ();
- if (!((_tao_out << CORBA::Any::from_boolean (_tao_retval))))
- ACE_THROW (CORBA::MARSHAL ());
-}
-
-CORBA::Boolean POA_IR::FixedDef::_is_a (
- const char* value,
- CORBA::Environment &ACE_TRY_ENV
- )
-{
- if (
- (!ACE_OS::strcmp ((char *)value, "IDL:omg.org/IR/FixedDef:1.0")) ||
- (!ACE_OS::strcmp ((char *)value, "IDL:omg.org/IR/IDLType:1.0")) ||
- (!ACE_OS::strcmp ((char *)value, "IDL:omg.org/CORBA/IRObject:1.0")) ||
- (!ACE_OS::strcmp ((char *)value, CORBA::_tc_Object->id (ACE_TRY_ENV))))
- return 1;
- else
- return 0;
-}
-
-void* POA_IR::FixedDef::_downcast (
- const char* logical_type_id
- )
-{
- if (ACE_OS::strcmp (logical_type_id, "IDL:omg.org/IR/FixedDef:1.0") == 0)
- return ACE_static_cast (POA_IR::FixedDef_ptr, this);
- if (ACE_OS::strcmp (logical_type_id, "IDL:omg.org/IR/IDLType:1.0") == 0)
- return ACE_static_cast (POA_IR::IDLType_ptr, this);
- if (ACE_OS::strcmp (logical_type_id, "IDL:omg.org/CORBA/IRObject:1.0") == 0)
- return ACE_static_cast (POA_CORBA_IRObject_ptr, this);
- if (ACE_OS::strcmp (logical_type_id, "IDL:omg.org/CORBA/Object:1.0") == 0)
- return ACE_static_cast(PortableServer::Servant, this);
- return 0;
-}
-
-void POA_IR::FixedDef::_dispatch (TAO_ServerRequest &req, void *context, CORBA::Environment &ACE_TRY_ENV)
-{
- this->synchronous_upcall_dispatch(req, context, this, ACE_TRY_ENV);
-}
-
-const char* POA_IR::FixedDef::_interface_repository_id (void) const
-{
- return "IDL:omg.org/IR/FixedDef:1.0";
-}
-
-IR::FixedDef*
-POA_IR::FixedDef::_this (CORBA_Environment &ACE_TRY_ENV)
-{
- TAO_Stub *stub = this->_create_stub (ACE_TRY_ENV);
- ACE_CHECK_RETURN (0);
-
- CORBA::Object_ptr tmp = CORBA::Object::_nil ();
-
- if (stub->servant_orb_var ()->orb_core ()->optimize_collocation_objects ())
- ACE_NEW_RETURN (tmp, CORBA::Object (stub, 1, this), 0);
- else
- ACE_NEW_RETURN (tmp, CORBA::Object (stub, 0, this), 0);
-
- CORBA::Object_var obj = tmp;
- return IR_FixedDef::_unchecked_narrow (obj.in ());
-}
-
-#if (TAO_HAS_INTERCEPTORS == 1)
-POA_IR::FixedDef::TAO_ServerRequestInfo_IR_FixedDef_digits_get::TAO_ServerRequestInfo_IR_FixedDef_digits_get (
- TAO_ServerRequest &_tao_server_request,
- POA_IR::FixedDef *tao_impl,
- CORBA::Environment &
- )
- : TAO_ServerRequestInfo (_tao_server_request),
- _tao_impl (tao_impl)
-{}
-
-Dynamic::ParameterList *
-POA_IR::FixedDef::TAO_ServerRequestInfo_IR_FixedDef_digits_get::arguments (CORBA::Environment &ACE_TRY_ENV)
- ACE_THROW_SPEC ((CORBA::SystemException))
-{
- // Generate the argument list on demand.
- Dynamic::ParameterList *parameter_list =
- TAO_RequestInfo_Util::make_parameter_list (ACE_TRY_ENV);
- ACE_CHECK_RETURN (0);
-
- return parameter_list;
-}
-
-Dynamic::ExceptionList *
-POA_IR::FixedDef::TAO_ServerRequestInfo_IR_FixedDef_digits_get::exceptions (CORBA::Environment &ACE_TRY_ENV)
- ACE_THROW_SPEC ((CORBA::SystemException))
-{
- // Generate the exception list on demand.
- Dynamic::ExceptionList *exception_list =
- TAO_RequestInfo_Util::make_exception_list (ACE_TRY_ENV);
- ACE_CHECK_RETURN (0);
-
- return exception_list;
-}
-
-CORBA::Any *
-POA_IR::FixedDef::TAO_ServerRequestInfo_IR_FixedDef_digits_get::result (CORBA::Environment &ACE_TRY_ENV)
- ACE_THROW_SPEC ((CORBA::SystemException))
-{
- // Generate the result on demand.
- CORBA::Boolean tk_void_any = 0;
- CORBA::Any *result_any =
- TAO_RequestInfo_Util::make_any (tk_void_any, ACE_TRY_ENV);
- ACE_CHECK_RETURN (0);
-
- CORBA::Any_var safe_result_any = result_any;
-
- (*result_any) <<= this->_result;
-
- return safe_result_any._retn ();
-}
-
-char *
-POA_IR::FixedDef::TAO_ServerRequestInfo_IR_FixedDef_digits_get::target_most_derived_interface (
- CORBA::Environment &)
- ACE_THROW_SPEC ((CORBA::SystemException))
-{
- return
- CORBA::string_dup (this->_tao_impl->_interface_repository_id ());
-}
-
-CORBA::Boolean
-POA_IR::FixedDef::TAO_ServerRequestInfo_IR_FixedDef_digits_get::target_is_a (
- const char * id,
- CORBA::Environment &ACE_TRY_ENV)
- ACE_THROW_SPEC ((CORBA::SystemException))
-{
- return this->_tao_impl->_is_a (id, ACE_TRY_ENV);
-}
-
-void
-POA_IR::FixedDef::TAO_ServerRequestInfo_IR_FixedDef_digits_get::result (CORBA::UShort result)
-{
- // Update the result.
- this->_result = result;
-}
-
-POA_IR::FixedDef::TAO_ServerRequestInfo_IR_FixedDef_digits_set::TAO_ServerRequestInfo_IR_FixedDef_digits_set (
- TAO_ServerRequest &_tao_server_request,
- POA_IR::FixedDef *tao_impl,
- const CORBA::UShort & digits,
- CORBA::Environment &
- )
- : TAO_ServerRequestInfo (_tao_server_request),
- _tao_impl (tao_impl),
- digits_ (digits)
-{}
-
-Dynamic::ParameterList *
-POA_IR::FixedDef::TAO_ServerRequestInfo_IR_FixedDef_digits_set::arguments (CORBA::Environment &ACE_TRY_ENV)
- ACE_THROW_SPEC ((CORBA::SystemException))
-{
- // Generate the argument list on demand.
- Dynamic::ParameterList *parameter_list =
- TAO_RequestInfo_Util::make_parameter_list (ACE_TRY_ENV);
- ACE_CHECK_RETURN (0);
-
- Dynamic::ParameterList_var safe_parameter_list = parameter_list;
-
- CORBA::ULong length_digits = parameter_list->length ();
- parameter_list->length (length_digits + 1);
- (*parameter_list)[length_digits].argument <<= digits_;
- (*parameter_list)[length_digits].mode = Dynamic::PARAM_IN;
-
- return safe_parameter_list._retn ();
-}
-
-Dynamic::ExceptionList *
-POA_IR::FixedDef::TAO_ServerRequestInfo_IR_FixedDef_digits_set::exceptions (CORBA::Environment &ACE_TRY_ENV)
- ACE_THROW_SPEC ((CORBA::SystemException))
-{
- // Generate the exception list on demand.
- Dynamic::ExceptionList *exception_list =
- TAO_RequestInfo_Util::make_exception_list (ACE_TRY_ENV);
- ACE_CHECK_RETURN (0);
-
- return exception_list;
-}
-
-CORBA::Any *
-POA_IR::FixedDef::TAO_ServerRequestInfo_IR_FixedDef_digits_set::result (CORBA::Environment &ACE_TRY_ENV)
- ACE_THROW_SPEC ((CORBA::SystemException))
-{
- // Generate the result on demand.
- CORBA::Boolean tk_void_any = 1;
- CORBA::Any *result_any =
- TAO_RequestInfo_Util::make_any (tk_void_any, ACE_TRY_ENV);
- ACE_CHECK_RETURN (0);
-
- return result_any;
-}
-
-char *
-POA_IR::FixedDef::TAO_ServerRequestInfo_IR_FixedDef_digits_set::target_most_derived_interface (
- CORBA::Environment &)
- ACE_THROW_SPEC ((CORBA::SystemException))
-{
- return
- CORBA::string_dup (this->_tao_impl->_interface_repository_id ());
-}
-
-CORBA::Boolean
-POA_IR::FixedDef::TAO_ServerRequestInfo_IR_FixedDef_digits_set::target_is_a (
- const char * id,
- CORBA::Environment &ACE_TRY_ENV)
- ACE_THROW_SPEC ((CORBA::SystemException))
-{
- return this->_tao_impl->_is_a (id, ACE_TRY_ENV);
-}
-
-POA_IR::FixedDef::TAO_ServerRequestInfo_IR_FixedDef_scale_get::TAO_ServerRequestInfo_IR_FixedDef_scale_get (
- TAO_ServerRequest &_tao_server_request,
- POA_IR::FixedDef *tao_impl,
- CORBA::Environment &
- )
- : TAO_ServerRequestInfo (_tao_server_request),
- _tao_impl (tao_impl)
-{}
-
-Dynamic::ParameterList *
-POA_IR::FixedDef::TAO_ServerRequestInfo_IR_FixedDef_scale_get::arguments (CORBA::Environment &ACE_TRY_ENV)
- ACE_THROW_SPEC ((CORBA::SystemException))
-{
- // Generate the argument list on demand.
- Dynamic::ParameterList *parameter_list =
- TAO_RequestInfo_Util::make_parameter_list (ACE_TRY_ENV);
- ACE_CHECK_RETURN (0);
-
- return parameter_list;
-}
-
-Dynamic::ExceptionList *
-POA_IR::FixedDef::TAO_ServerRequestInfo_IR_FixedDef_scale_get::exceptions (CORBA::Environment &ACE_TRY_ENV)
- ACE_THROW_SPEC ((CORBA::SystemException))
-{
- // Generate the exception list on demand.
- Dynamic::ExceptionList *exception_list =
- TAO_RequestInfo_Util::make_exception_list (ACE_TRY_ENV);
- ACE_CHECK_RETURN (0);
-
- return exception_list;
-}
-
-CORBA::Any *
-POA_IR::FixedDef::TAO_ServerRequestInfo_IR_FixedDef_scale_get::result (CORBA::Environment &ACE_TRY_ENV)
- ACE_THROW_SPEC ((CORBA::SystemException))
-{
- // Generate the result on demand.
- CORBA::Boolean tk_void_any = 0;
- CORBA::Any *result_any =
- TAO_RequestInfo_Util::make_any (tk_void_any, ACE_TRY_ENV);
- ACE_CHECK_RETURN (0);
-
- CORBA::Any_var safe_result_any = result_any;
-
- (*result_any) <<= this->_result;
-
- return safe_result_any._retn ();
-}
-
-char *
-POA_IR::FixedDef::TAO_ServerRequestInfo_IR_FixedDef_scale_get::target_most_derived_interface (
- CORBA::Environment &)
- ACE_THROW_SPEC ((CORBA::SystemException))
-{
- return
- CORBA::string_dup (this->_tao_impl->_interface_repository_id ());
-}
-
-CORBA::Boolean
-POA_IR::FixedDef::TAO_ServerRequestInfo_IR_FixedDef_scale_get::target_is_a (
- const char * id,
- CORBA::Environment &ACE_TRY_ENV)
- ACE_THROW_SPEC ((CORBA::SystemException))
-{
- return this->_tao_impl->_is_a (id, ACE_TRY_ENV);
-}
-
-void
-POA_IR::FixedDef::TAO_ServerRequestInfo_IR_FixedDef_scale_get::result (CORBA::Short result)
-{
- // Update the result.
- this->_result = result;
-}
-
-POA_IR::FixedDef::TAO_ServerRequestInfo_IR_FixedDef_scale_set::TAO_ServerRequestInfo_IR_FixedDef_scale_set (
- TAO_ServerRequest &_tao_server_request,
- POA_IR::FixedDef *tao_impl,
- const CORBA::Short & scale,
- CORBA::Environment &
- )
- : TAO_ServerRequestInfo (_tao_server_request),
- _tao_impl (tao_impl),
- scale_ (scale)
-{}
-
-Dynamic::ParameterList *
-POA_IR::FixedDef::TAO_ServerRequestInfo_IR_FixedDef_scale_set::arguments (CORBA::Environment &ACE_TRY_ENV)
- ACE_THROW_SPEC ((CORBA::SystemException))
-{
- // Generate the argument list on demand.
- Dynamic::ParameterList *parameter_list =
- TAO_RequestInfo_Util::make_parameter_list (ACE_TRY_ENV);
- ACE_CHECK_RETURN (0);
-
- Dynamic::ParameterList_var safe_parameter_list = parameter_list;
-
- CORBA::ULong length_scale = parameter_list->length ();
- parameter_list->length (length_scale + 1);
- (*parameter_list)[length_scale].argument <<= scale_;
- (*parameter_list)[length_scale].mode = Dynamic::PARAM_IN;
-
- return safe_parameter_list._retn ();
-}
-
-Dynamic::ExceptionList *
-POA_IR::FixedDef::TAO_ServerRequestInfo_IR_FixedDef_scale_set::exceptions (CORBA::Environment &ACE_TRY_ENV)
- ACE_THROW_SPEC ((CORBA::SystemException))
-{
- // Generate the exception list on demand.
- Dynamic::ExceptionList *exception_list =
- TAO_RequestInfo_Util::make_exception_list (ACE_TRY_ENV);
- ACE_CHECK_RETURN (0);
-
- return exception_list;
-}
-
-CORBA::Any *
-POA_IR::FixedDef::TAO_ServerRequestInfo_IR_FixedDef_scale_set::result (CORBA::Environment &ACE_TRY_ENV)
- ACE_THROW_SPEC ((CORBA::SystemException))
-{
- // Generate the result on demand.
- CORBA::Boolean tk_void_any = 1;
- CORBA::Any *result_any =
- TAO_RequestInfo_Util::make_any (tk_void_any, ACE_TRY_ENV);
- ACE_CHECK_RETURN (0);
-
- return result_any;
-}
-
-char *
-POA_IR::FixedDef::TAO_ServerRequestInfo_IR_FixedDef_scale_set::target_most_derived_interface (
- CORBA::Environment &)
- ACE_THROW_SPEC ((CORBA::SystemException))
-{
- return
- CORBA::string_dup (this->_tao_impl->_interface_repository_id ());
-}
-
-CORBA::Boolean
-POA_IR::FixedDef::TAO_ServerRequestInfo_IR_FixedDef_scale_set::target_is_a (
- const char * id,
- CORBA::Environment &ACE_TRY_ENV)
- ACE_THROW_SPEC ((CORBA::SystemException))
-{
- return this->_tao_impl->_is_a (id, ACE_TRY_ENV);
-}
-
-#endif /* TAO_HAS_INTERCEPTORS */
-
-class TAO_IR_SequenceDef_Perfect_Hash_OpTable : public TAO_Perfect_Hash_OpTable
-{
-private:
- unsigned int hash (const char *str, unsigned int len);
-public:
- const TAO_operation_db_entry * lookup (const char *str, unsigned int len);
-};
-/* starting time is 11:23:10 */
-/* C++ code produced by gperf version 2.8 (ACE version) */
-/* Command-line: gperf -m -M -J -c -C -D -E -T -f 0 -F 0 -a -o -t -p -K opname_ -L C++ -Z TAO_IR_SequenceDef_Perfect_Hash_OpTable -N lookup */
-unsigned int
-TAO_IR_SequenceDef_Perfect_Hash_OpTable::hash (const char *str, unsigned int len)
-{
- static const unsigned char asso_values[] =
- {
-#if defined (ACE_MVS)
- 22, 22, 22, 22, 22, 22, 22, 22, 22, 22,
- 22, 22, 22, 22, 22, 22, 22, 22, 22, 22,
- 22, 22, 22, 22, 22, 22, 22, 22, 22, 22,
- 22, 22, 22, 22, 22, 22, 22, 22, 22, 22,
- 22, 22, 22, 22, 22, 22, 22, 22, 22, 22,
- 22, 22, 22, 22, 22, 22, 22, 22, 22, 22,
- 22, 22, 22, 22, 22, 22, 22, 22, 22, 22,
- 22, 22, 22, 22, 22, 22, 22, 22, 22, 22,
- 22, 22, 22, 22, 22, 22, 22, 22, 22, 22,
- 22, 22, 22, 22, 22, 22, 22, 22, 22, 22,
- 22, 22, 22, 22, 22, 22, 22, 22, 22, 0,
- 22, 22, 22, 22, 22, 22, 22, 22, 22, 22,
- 22, 22, 22, 22, 22, 22, 22, 22, 22, 0,
- 22, 22, 0, 0, 0, 22, 22, 22, 22, 22,
- 22, 22, 22, 22, 22, 22, 22, 22, 22, 22,
- 22, 22, 22, 22, 22, 22, 22, 22, 22, 22,
- 22, 22, 22, 5, 22, 22, 22, 22, 0, 22,
- 22, 22, 22, 22, 22, 22, 22, 22, 22, 22,
- 22, 22, 22, 22, 22, 22, 22, 22, 22, 22,
- 22, 22, 22, 22, 22, 22, 22, 22, 22, 22,
- 22, 22, 22, 22, 22, 22, 22, 22, 22, 22,
- 22, 22, 22, 22, 22, 22, 22, 22, 22, 22,
- 22, 22, 22, 22, 22, 22, 22, 22, 22, 22,
- 22, 22, 22, 22, 22, 22, 22, 22, 22, 22,
- 22, 22, 22, 22, 22, 22, 22, 22, 22, 22,
- 22, 22, 22, 22, 22, 22,
-#else
- 22, 22, 22, 22, 22, 22, 22, 22, 22, 22,
- 22, 22, 22, 22, 22, 22, 22, 22, 22, 22,
- 22, 22, 22, 22, 22, 22, 22, 22, 22, 22,
- 22, 22, 22, 22, 22, 22, 22, 22, 22, 22,
- 22, 22, 22, 22, 22, 22, 22, 22, 22, 22,
- 22, 22, 22, 22, 22, 22, 22, 22, 22, 22,
- 22, 22, 22, 22, 22, 22, 22, 22, 22, 22,
- 22, 22, 22, 22, 22, 22, 22, 22, 22, 22,
- 22, 22, 22, 22, 22, 22, 22, 22, 22, 22,
- 22, 22, 22, 22, 22, 0, 22, 0, 22, 22,
- 0, 0, 0, 22, 22, 22, 22, 22, 22, 22,
- 22, 22, 22, 22, 22, 22, 5, 22, 22, 22,
- 22, 0, 22, 22, 22, 22, 22, 22,
-#endif /* ACE_MVS */
- };
- return len + asso_values[str[len - 1]] + asso_values[str[0]];
-}
-
-const class TAO_operation_db_entry *
-TAO_IR_SequenceDef_Perfect_Hash_OpTable::lookup (const char *str, unsigned int len)
-{
- enum
- {
- TOTAL_KEYWORDS = 10,
- MIN_WORD_LENGTH = 5,
- MAX_WORD_LENGTH = 21,
- MIN_HASH_VALUE = 5,
- MAX_HASH_VALUE = 21,
- HASH_VALUE_RANGE = 17,
- DUPLICATES = 3
- };
-
- static const class TAO_operation_db_entry wordlist[] =
- {
- {"",0},{"",0},{"",0},{"",0},{"",0},
- {"_is_a", &POA_IR::SequenceDef::_is_a_skel},
- {"destroy", &POA_IR::SequenceDef::destroy_skel},
- {"_get_type", &POA_IR::SequenceDef::_get_type_skel},
- {"_get_bound", &POA_IR::SequenceDef::_get_bound_skel},
- {"_set_bound", &POA_IR::SequenceDef::_set_bound_skel},
- {"_get_def_kind", &POA_IR::SequenceDef::_get_def_kind_skel},
- {"_get_element_type", &POA_IR::SequenceDef::_get_element_type_skel},
- {"_non_existent", &POA_IR::SequenceDef::_non_existent_skel},
- {"_get_element_type_def", &POA_IR::SequenceDef::_get_element_type_def_skel},
- {"_set_element_type_def", &POA_IR::SequenceDef::_set_element_type_def_skel},
- };
-
- static const signed char lookup[] =
- {
- -1, -1, -1, -8, -2, 5, -1, 6, -1, 7, -28, -1, -1, 10,
- -1, -1, -1, 11, 12, -13, -2, -23,
- };
-
- if (len <= MAX_WORD_LENGTH && len >= MIN_WORD_LENGTH)
- {
- unsigned int key = hash (str, len);
-
- if (key <= MAX_HASH_VALUE && key >= MIN_HASH_VALUE)
- {
- int slot = lookup[key];
-
- if (slot >= 0 && slot < MAX_HASH_VALUE)
- {
- const char *s = wordlist[slot].opname_;
-
- if (*str == *s && !strncmp (str + 1, s + 1, len - 1))
- return &wordlist[slot];
- }
- else if (slot < 0 && slot >= -MAX_HASH_VALUE)
- return 0;
- else
- {
- unsigned int offset = key + slot + (slot > 0 ? -MAX_HASH_VALUE : MAX_HASH_VALUE);
- const class TAO_operation_db_entry *base = &wordlist[-lookup[offset]];
- const class TAO_operation_db_entry *ptr = base + -lookup[offset + 1];
-
- while (--ptr >= base)
- if (*str == *ptr->opname_ && !strncmp (str + 1, ptr->opname_ + 1, len - 1))
- return ptr;
- }
- }
- }
- return 0;
-}
-/* ending time is 11:23:10 */
-static TAO_IR_SequenceDef_Perfect_Hash_OpTable tao_IR_SequenceDef_optable;
-
-///////////////////////////////////////////////////////////////////////
-// Strategized Proxy Broker Implementation
-//
-
-// Factory function Implementation.
-POA_IR::_TAO_SequenceDef_Strategized_Proxy_Broker *POA_IR::_TAO_SequenceDef_Strategized_Proxy_Broker::the_TAO_SequenceDef_Strategized_Proxy_Broker (void)
-{
- static POA_IR::_TAO_SequenceDef_Strategized_Proxy_Broker strategized_proxy_broker;
- return &strategized_proxy_broker;
-}
-
-POA_IR::_TAO_SequenceDef_Strategized_Proxy_Broker::_TAO_SequenceDef_Strategized_Proxy_Broker (void)
-{
- for (int i = 0; i < TAO_Collocation_Strategies::CS_LAST; ++i)
- this->proxy_cache_[i] = 0;
-
-}
-
-POA_IR::_TAO_SequenceDef_Strategized_Proxy_Broker::~_TAO_SequenceDef_Strategized_Proxy_Broker (void)
-{
- for (int i = 0; i < TAO_Collocation_Strategies::CS_LAST; ++i)
- delete this->proxy_cache_[i];
-
-}
-
-_TAO_SequenceDef_Proxy_Impl&
-POA_IR::_TAO_SequenceDef_Strategized_Proxy_Broker::select_proxy (
- IR_SequenceDef *object,
- CORBA::Environment &ACE_TRY_ENV
- )
-{
- int strategy =
- TAO_ORB_Core::collocation_strategy (object);
-
- if (this->proxy_cache_[strategy] != 0)
- return *this->proxy_cache_[strategy];
-
- this->create_proxy (strategy, ACE_TRY_ENV);
- ACE_CHECK_RETURN (*this->proxy_cache_[strategy]);
-
- return *this->proxy_cache_[strategy];
-
-}
-
-void
-POA_IR::_TAO_SequenceDef_Strategized_Proxy_Broker::create_proxy (
- int strategy,
- CORBA::Environment &ACE_TRY_ENV
- )
-{
- ACE_GUARD (TAO_SYNCH_MUTEX, guard, this->mutex_);
-
- if (this->proxy_cache_[strategy] == 0)
- {
- switch (strategy)
- {
- case TAO_Collocation_Strategies::CS_THRU_POA_STRATEGY:
- ACE_NEW_THROW_EX (
- this->proxy_cache_[strategy],
- _TAO_SequenceDef_ThruPOA_Proxy_Impl,
- CORBA::NO_MEMORY ()
- );
- ACE_CHECK;
- break;
-
- case TAO_Collocation_Strategies::CS_REMOTE_STRATEGY:
- default:
- ACE_NEW_THROW_EX (
- this->proxy_cache_[strategy],
- _TAO_SequenceDef_Remote_Proxy_Impl,
- CORBA::NO_MEMORY ()
- );
- ACE_CHECK;
- break;
-
- }
-
- }
-}
-
-
-//
-// End Strategized Proxy Broker Implementation
-///////////////////////////////////////////////////////////////////////
-
-
-_TAO_SequenceDef_Proxy_Broker *
-_TAO_SequenceDef_Proxy_Broker_Factory_function (CORBA::Object_ptr obj)
-{
- ACE_UNUSED_ARG (obj);
- return ::POA_IR::_TAO_SequenceDef_Strategized_Proxy_Broker::the_TAO_SequenceDef_Strategized_Proxy_Broker();
-}
-
-int
-_TAO_SequenceDef_Proxy_Broker_Factory_Initializer (long _dummy_)
-{
- ACE_UNUSED_ARG (_dummy_);
-
- _TAO_SequenceDef_Proxy_Broker_Factory_function_pointer =
- _TAO_SequenceDef_Proxy_Broker_Factory_function;
-
- return 0;
-}
-
-static int _TAO_SequenceDef_Proxy_Broker_Stub_Factory_Initializer_Scarecrow =
- _TAO_SequenceDef_Proxy_Broker_Factory_Initializer (ACE_reinterpret_cast (long, _TAO_SequenceDef_Proxy_Broker_Factory_Initializer));
-
-
-///////////////////////////////////////////////////////////////////////
-// ThruPOA Proxy Implementation
-//
-
-POA_IR::_TAO_SequenceDef_ThruPOA_Proxy_Impl::_TAO_SequenceDef_ThruPOA_Proxy_Impl (void)
-{}
-
-// ThruPOA Implementation of the IDL interface methods
-
-CORBA::ULong POA_IR::_TAO_SequenceDef_ThruPOA_Proxy_Impl::bound (
- CORBA_Object *_collocated_tao_target_,
- CORBA::Environment &ACE_TRY_ENV
- )
- ACE_THROW_SPEC ((
- CORBA::SystemException
- ))
-{
- CORBA::ULong _tao_retval = 0;
- ACE_UNUSED_ARG (_tao_retval);
- TAO_Object_Adapter::Servant_Upcall servant_upcall (
- _collocated_tao_target_->_stubobj ()->servant_orb_var ()->orb_core ()
- );
- CORBA::Object_var forward_to;
- servant_upcall.prepare_for_upcall (
- _collocated_tao_target_->_object_key (),
- "bound",
- forward_to.out (),
- ACE_TRY_ENV
- );
- ACE_CHECK_RETURN (_tao_retval);
- return ACE_reinterpret_cast (
- POA_IR::SequenceDef_ptr,
- servant_upcall.servant ()->_downcast (
- "IDL:omg.org/IR/SequenceDef:1.0"
- )
- )->bound (
- ACE_TRY_ENV
- );
-}
-
-void POA_IR::_TAO_SequenceDef_ThruPOA_Proxy_Impl::bound (
- CORBA_Object *_collocated_tao_target_,
- CORBA::ULong bound,
- CORBA::Environment &ACE_TRY_ENV
- )
- ACE_THROW_SPEC ((
- CORBA::SystemException
- ))
-{
- TAO_Object_Adapter::Servant_Upcall servant_upcall (
- _collocated_tao_target_->_stubobj ()->servant_orb_var ()->orb_core ()
- );
- CORBA::Object_var forward_to;
- servant_upcall.prepare_for_upcall (
- _collocated_tao_target_->_object_key (),
- "bound",
- forward_to.out (),
- ACE_TRY_ENV
- );
- ACE_CHECK;
- ACE_reinterpret_cast (
- POA_IR::SequenceDef_ptr,
- servant_upcall.servant ()->_downcast (
- "IDL:omg.org/IR/SequenceDef:1.0"
- )
- )->bound (
- bound,
- ACE_TRY_ENV
- );
- return;
-}
-
-CORBA::TypeCode_ptr POA_IR::_TAO_SequenceDef_ThruPOA_Proxy_Impl::element_type (
- CORBA_Object *_collocated_tao_target_,
- CORBA::Environment &ACE_TRY_ENV
- )
- ACE_THROW_SPEC ((
- CORBA::SystemException
- ))
-{
- CORBA::TypeCode_var _tao_retval;
- ACE_UNUSED_ARG (_tao_retval);
- TAO_Object_Adapter::Servant_Upcall servant_upcall (
- _collocated_tao_target_->_stubobj ()->servant_orb_var ()->orb_core ()
- );
- CORBA::Object_var forward_to;
- servant_upcall.prepare_for_upcall (
- _collocated_tao_target_->_object_key (),
- "element_type",
- forward_to.out (),
- ACE_TRY_ENV
- );
- ACE_CHECK_RETURN (0);
- return ACE_reinterpret_cast (
- POA_IR::SequenceDef_ptr,
- servant_upcall.servant ()->_downcast (
- "IDL:omg.org/IR/SequenceDef:1.0"
- )
- )->element_type (
- ACE_TRY_ENV
- );
-}
-
-IR_IDLType_ptr POA_IR::_TAO_SequenceDef_ThruPOA_Proxy_Impl::element_type_def (
- CORBA_Object *_collocated_tao_target_,
- CORBA::Environment &ACE_TRY_ENV
- )
- ACE_THROW_SPEC ((
- CORBA::SystemException
- ))
-{
- IR_IDLType_var _tao_retval;
- ACE_UNUSED_ARG (_tao_retval);
- TAO_Object_Adapter::Servant_Upcall servant_upcall (
- _collocated_tao_target_->_stubobj ()->servant_orb_var ()->orb_core ()
- );
- CORBA::Object_var forward_to;
- servant_upcall.prepare_for_upcall (
- _collocated_tao_target_->_object_key (),
- "element_type_def",
- forward_to.out (),
- ACE_TRY_ENV
- );
- ACE_CHECK_RETURN (0);
- return ACE_reinterpret_cast (
- POA_IR::SequenceDef_ptr,
- servant_upcall.servant ()->_downcast (
- "IDL:omg.org/IR/SequenceDef:1.0"
- )
- )->element_type_def (
- ACE_TRY_ENV
- );
-}
-
-void POA_IR::_TAO_SequenceDef_ThruPOA_Proxy_Impl::element_type_def (
- CORBA_Object *_collocated_tao_target_,
- IR_IDLType_ptr element_type_def,
- CORBA::Environment &ACE_TRY_ENV
- )
- ACE_THROW_SPEC ((
- CORBA::SystemException
- ))
-{
- TAO_Object_Adapter::Servant_Upcall servant_upcall (
- _collocated_tao_target_->_stubobj ()->servant_orb_var ()->orb_core ()
- );
- CORBA::Object_var forward_to;
- servant_upcall.prepare_for_upcall (
- _collocated_tao_target_->_object_key (),
- "element_type_def",
- forward_to.out (),
- ACE_TRY_ENV
- );
- ACE_CHECK;
- ACE_reinterpret_cast (
- POA_IR::SequenceDef_ptr,
- servant_upcall.servant ()->_downcast (
- "IDL:omg.org/IR/SequenceDef:1.0"
- )
- )->element_type_def (
- element_type_def,
- ACE_TRY_ENV
- );
- return;
-}
-
-//
-// End ThruPOA Proxy Implementation
-///////////////////////////////////////////////////////////////////////
-
-// skeleton constructor
-POA_IR::SequenceDef::SequenceDef (void)
-{
- this->optable_ = &tao_IR_SequenceDef_optable;
-}
-
-// copy ctor
-POA_IR::SequenceDef::SequenceDef (const SequenceDef& rhs)
- : ACE_NESTED_CLASS (POA_IR,IDLType) (rhs),
- POA_CORBA_IRObject (rhs),
- TAO_ServantBase (rhs)
-{}
-
-// skeleton destructor
-POA_IR::SequenceDef::~SequenceDef (void)
-{
-}
-
-void POA_IR::SequenceDef::_get_bound_skel (
- TAO_ServerRequest &_tao_server_request,
- void *_tao_object_reference,
- void * /* context */,
- CORBA::Environment &ACE_TRY_ENV
-)
-{
- POA_IR::SequenceDef *_tao_impl = (POA_IR::SequenceDef *)_tao_object_reference;
-
- CORBA::ULong _tao_retval = 0;
-
-#if (TAO_HAS_INTERCEPTORS == 1)
- TAO_ServerRequestInterceptor_Adapter _tao_vfr (
- _tao_server_request.orb_core ()->server_request_interceptors (),
- _tao_server_request.interceptor_count ()
- );
-
- POA_IR::SequenceDef::TAO_ServerRequestInfo_IR_SequenceDef_bound_get ri (
- _tao_server_request,
- _tao_impl,
- ACE_TRY_ENV
- );
-
- ACE_TRY
- {
- _tao_vfr.receive_request (&ri, ACE_TRY_ENV);
- ACE_TRY_CHECK;
-
-#endif /* TAO_HAS_INTERCEPTORS */
- _tao_retval =
- _tao_impl->bound (
- ACE_TRY_ENV
- );
- TAO_INTERCEPTOR_CHECK;
-
-#if (TAO_HAS_INTERCEPTORS == 1)
- CORBA::ULong _tao_retval_info = _tao_retval;
- ri.result (_tao_retval_info);
- ri.reply_status (PortableInterceptor::SUCCESSFUL);
- _tao_vfr.send_reply (&ri, ACE_TRY_ENV);
- ACE_TRY_CHECK;
- }
- ACE_CATCH (PortableInterceptor::ForwardRequest, exc)
- {
- ri.forward_reference (exc);
- _tao_vfr.send_other (
- &ri,
- ACE_TRY_ENV
- );
- ACE_TRY_CHECK;
- _tao_server_request.forward_location (exc.forward.in ());
- }
- ACE_CATCHANY
- {
- ri.exception (&ACE_ANY_EXCEPTION);
- _tao_vfr.send_exception (
- &ri,
- ACE_TRY_ENV
- );
- ACE_TRY_CHECK;
- ACE_RE_THROW;
- }
- ACE_ENDTRY;
- ACE_CHECK;
-#endif /* TAO_HAS_INTERCEPTORS */
-
- _tao_server_request.init_reply ();
-
- TAO_OutputCDR &_tao_out = _tao_server_request.outgoing ();
-
- if (!(
- (_tao_out << _tao_retval)
- ))
- ACE_THROW (CORBA::MARSHAL());
-
- // In case ACE_TRY_ENV is not used in this function
- ACE_UNUSED_ARG (ACE_TRY_ENV);
-}
-
-void POA_IR::SequenceDef::_set_bound_skel (
- TAO_ServerRequest &_tao_server_request,
- void *_tao_object_reference,
- void * /* context */,
- CORBA::Environment &ACE_TRY_ENV
-)
-{
- TAO_InputCDR &_tao_in = _tao_server_request.incoming ();
- POA_IR::SequenceDef *_tao_impl = (POA_IR::SequenceDef *)_tao_object_reference;
-
- CORBA::ULong bound;
- if (!(
- (_tao_in >> bound)
- ))
- ACE_THROW (CORBA::MARSHAL () );
-
-#if (TAO_HAS_INTERCEPTORS == 1)
- TAO_ServerRequestInterceptor_Adapter _tao_vfr (
- _tao_server_request.orb_core ()->server_request_interceptors (),
- _tao_server_request.interceptor_count ()
- );
-
- POA_IR::SequenceDef::TAO_ServerRequestInfo_IR_SequenceDef_bound_set ri (
- _tao_server_request,
- _tao_impl,
- bound,
- ACE_TRY_ENV
- );
-
- ACE_TRY
- {
- _tao_vfr.receive_request (&ri, ACE_TRY_ENV);
- ACE_TRY_CHECK;
-
-#endif /* TAO_HAS_INTERCEPTORS */
-
- _tao_impl->bound (
- bound,
- ACE_TRY_ENV
- );
- TAO_INTERCEPTOR_CHECK;
-
-#if (TAO_HAS_INTERCEPTORS == 1)
- ri.reply_status (PortableInterceptor::SUCCESSFUL);
- _tao_vfr.send_reply (&ri, ACE_TRY_ENV);
- ACE_TRY_CHECK;
- }
- ACE_CATCH (PortableInterceptor::ForwardRequest, exc)
- {
- ri.forward_reference (exc);
- _tao_vfr.send_other (
- &ri,
- ACE_TRY_ENV
- );
- ACE_TRY_CHECK;
- _tao_server_request.forward_location (exc.forward.in ());
- }
- ACE_CATCHANY
- {
- ri.exception (&ACE_ANY_EXCEPTION);
- _tao_vfr.send_exception (
- &ri,
- ACE_TRY_ENV
- );
- ACE_TRY_CHECK;
- ACE_RE_THROW;
- }
- ACE_ENDTRY;
- ACE_CHECK;
-#endif /* TAO_HAS_INTERCEPTORS */
-
- _tao_server_request.init_reply ();
-
- // In case ACE_TRY_ENV is not used in this function
- ACE_UNUSED_ARG (ACE_TRY_ENV);
-}
-
-void POA_IR::SequenceDef::_get_element_type_skel (
- TAO_ServerRequest &_tao_server_request,
- void *_tao_object_reference,
- void * /* context */,
- CORBA::Environment &ACE_TRY_ENV
-)
-{
- POA_IR::SequenceDef *_tao_impl = (POA_IR::SequenceDef *)_tao_object_reference;
-
- CORBA::TypeCode_var _tao_retval;
-
-#if (TAO_HAS_INTERCEPTORS == 1)
- TAO_ServerRequestInterceptor_Adapter _tao_vfr (
- _tao_server_request.orb_core ()->server_request_interceptors (),
- _tao_server_request.interceptor_count ()
- );
-
- POA_IR::SequenceDef::TAO_ServerRequestInfo_IR_SequenceDef_element_type_get ri (
- _tao_server_request,
- _tao_impl,
- ACE_TRY_ENV
- );
-
- ACE_TRY
- {
- _tao_vfr.receive_request (&ri, ACE_TRY_ENV);
- ACE_TRY_CHECK;
-
-#endif /* TAO_HAS_INTERCEPTORS */
- _tao_retval =
- _tao_impl->element_type (
- ACE_TRY_ENV
- );
- TAO_INTERCEPTOR_CHECK;
-
-#if (TAO_HAS_INTERCEPTORS == 1)
- CORBA::TypeCode_ptr _tao_retval_info = _tao_retval._retn ();
- ri.result (_tao_retval_info);
- _tao_retval = _tao_retval_info;
- ri.reply_status (PortableInterceptor::SUCCESSFUL);
- _tao_vfr.send_reply (&ri, ACE_TRY_ENV);
- ACE_TRY_CHECK;
- }
- ACE_CATCH (PortableInterceptor::ForwardRequest, exc)
- {
- ri.forward_reference (exc);
- _tao_vfr.send_other (
- &ri,
- ACE_TRY_ENV
- );
- ACE_TRY_CHECK;
- _tao_server_request.forward_location (exc.forward.in ());
- }
- ACE_CATCHANY
- {
- ri.exception (&ACE_ANY_EXCEPTION);
- _tao_vfr.send_exception (
- &ri,
- ACE_TRY_ENV
- );
- ACE_TRY_CHECK;
- ACE_RE_THROW;
- }
- ACE_ENDTRY;
- ACE_CHECK;
-#endif /* TAO_HAS_INTERCEPTORS */
-
- _tao_server_request.init_reply ();
-
- TAO_OutputCDR &_tao_out = _tao_server_request.outgoing ();
-
- if (!(
- (_tao_out << _tao_retval.in ())
- ))
- ACE_THROW (CORBA::MARSHAL());
-
- // In case ACE_TRY_ENV is not used in this function
- ACE_UNUSED_ARG (ACE_TRY_ENV);
-}
-
-void POA_IR::SequenceDef::_get_element_type_def_skel (
- TAO_ServerRequest &_tao_server_request,
- void *_tao_object_reference,
- void * /* context */,
- CORBA::Environment &ACE_TRY_ENV
-)
-{
- POA_IR::SequenceDef *_tao_impl = (POA_IR::SequenceDef *)_tao_object_reference;
-
- IR_IDLType_var _tao_retval;
-
-#if (TAO_HAS_INTERCEPTORS == 1)
- TAO_ServerRequestInterceptor_Adapter _tao_vfr (
- _tao_server_request.orb_core ()->server_request_interceptors (),
- _tao_server_request.interceptor_count ()
- );
-
- POA_IR::SequenceDef::TAO_ServerRequestInfo_IR_SequenceDef_element_type_def_get ri (
- _tao_server_request,
- _tao_impl,
- ACE_TRY_ENV
- );
-
- ACE_TRY
- {
- _tao_vfr.receive_request (&ri, ACE_TRY_ENV);
- ACE_TRY_CHECK;
-
-#endif /* TAO_HAS_INTERCEPTORS */
- _tao_retval =
- _tao_impl->element_type_def (
- ACE_TRY_ENV
- );
- TAO_INTERCEPTOR_CHECK;
-
-#if (TAO_HAS_INTERCEPTORS == 1)
- IR_IDLType_ptr _tao_retval_info = _tao_retval._retn ();
- ri.result (_tao_retval_info);
- _tao_retval = _tao_retval_info;
- ri.reply_status (PortableInterceptor::SUCCESSFUL);
- _tao_vfr.send_reply (&ri, ACE_TRY_ENV);
- ACE_TRY_CHECK;
- }
- ACE_CATCH (PortableInterceptor::ForwardRequest, exc)
- {
- ri.forward_reference (exc);
- _tao_vfr.send_other (
- &ri,
- ACE_TRY_ENV
- );
- ACE_TRY_CHECK;
- _tao_server_request.forward_location (exc.forward.in ());
- }
- ACE_CATCHANY
- {
- ri.exception (&ACE_ANY_EXCEPTION);
- _tao_vfr.send_exception (
- &ri,
- ACE_TRY_ENV
- );
- ACE_TRY_CHECK;
- ACE_RE_THROW;
- }
- ACE_ENDTRY;
- ACE_CHECK;
-#endif /* TAO_HAS_INTERCEPTORS */
-
- _tao_server_request.init_reply ();
-
- TAO_OutputCDR &_tao_out = _tao_server_request.outgoing ();
-
- if (!(
- (_tao_out << _tao_retval.in ())
- ))
- ACE_THROW (CORBA::MARSHAL());
-
- // In case ACE_TRY_ENV is not used in this function
- ACE_UNUSED_ARG (ACE_TRY_ENV);
-}
-
-void POA_IR::SequenceDef::_set_element_type_def_skel (
- TAO_ServerRequest &_tao_server_request,
- void *_tao_object_reference,
- void * /* context */,
- CORBA::Environment &ACE_TRY_ENV
-)
-{
- TAO_InputCDR &_tao_in = _tao_server_request.incoming ();
- POA_IR::SequenceDef *_tao_impl = (POA_IR::SequenceDef *)_tao_object_reference;
-
- IR_IDLType_var element_type_def;
- if (!(
- (_tao_in >> element_type_def.out ())
- ))
- ACE_THROW (CORBA::MARSHAL () );
-
-#if (TAO_HAS_INTERCEPTORS == 1)
- TAO_ServerRequestInterceptor_Adapter _tao_vfr (
- _tao_server_request.orb_core ()->server_request_interceptors (),
- _tao_server_request.interceptor_count ()
- );
-
- POA_IR::SequenceDef::TAO_ServerRequestInfo_IR_SequenceDef_element_type_def_set ri (
- _tao_server_request,
- _tao_impl,
- element_type_def.in (),
- ACE_TRY_ENV
- );
-
- ACE_TRY
- {
- _tao_vfr.receive_request (&ri, ACE_TRY_ENV);
- ACE_TRY_CHECK;
-
-#endif /* TAO_HAS_INTERCEPTORS */
-
- _tao_impl->element_type_def (
- element_type_def.in (),
- ACE_TRY_ENV
- );
- TAO_INTERCEPTOR_CHECK;
-
-#if (TAO_HAS_INTERCEPTORS == 1)
- ri.reply_status (PortableInterceptor::SUCCESSFUL);
- _tao_vfr.send_reply (&ri, ACE_TRY_ENV);
- ACE_TRY_CHECK;
- }
- ACE_CATCH (PortableInterceptor::ForwardRequest, exc)
- {
- ri.forward_reference (exc);
- _tao_vfr.send_other (
- &ri,
- ACE_TRY_ENV
- );
- ACE_TRY_CHECK;
- _tao_server_request.forward_location (exc.forward.in ());
- }
- ACE_CATCHANY
- {
- ri.exception (&ACE_ANY_EXCEPTION);
- _tao_vfr.send_exception (
- &ri,
- ACE_TRY_ENV
- );
- ACE_TRY_CHECK;
- ACE_RE_THROW;
- }
- ACE_ENDTRY;
- ACE_CHECK;
-#endif /* TAO_HAS_INTERCEPTORS */
-
- _tao_server_request.init_reply ();
-
- // In case ACE_TRY_ENV is not used in this function
- ACE_UNUSED_ARG (ACE_TRY_ENV);
-}
-
-void POA_IR::SequenceDef::_is_a_skel (
- TAO_ServerRequest &_tao_server_request,
- void * _tao_object_reference,
- void * /* context */,
- CORBA::Environment &ACE_TRY_ENV
- )
-{
- TAO_InputCDR &_tao_in = _tao_server_request.incoming ();
- POA_IR::SequenceDef *_tao_impl = (POA_IR::SequenceDef *) _tao_object_reference;
- CORBA::Boolean _tao_retval = 0;
- CORBA::String_var value;
- if (!((_tao_in >> value.out ())))
- ACE_THROW (CORBA::MARSHAL ());
-
- _tao_retval = _tao_impl->_is_a (value.in (), ACE_TRY_ENV);
- ACE_CHECK;
-
- _tao_server_request.init_reply ();
- TAO_OutputCDR &_tao_out = _tao_server_request.outgoing ();
- if (!((_tao_out << CORBA::Any::from_boolean (_tao_retval))))
- ACE_THROW (CORBA::MARSHAL ());
-}
-
-void POA_IR::SequenceDef::_non_existent_skel (
- TAO_ServerRequest &_tao_server_request,
- void * _tao_object_reference,
- void * /* context */,
- CORBA::Environment &ACE_TRY_ENV
- )
-{
- POA_IR::SequenceDef *_tao_impl = (POA_IR::SequenceDef *) _tao_object_reference;
- CORBA::Boolean _tao_retval = _tao_impl->_non_existent (ACE_TRY_ENV);
- ACE_CHECK;
-
- _tao_server_request.init_reply ();
- TAO_OutputCDR &_tao_out = _tao_server_request.outgoing ();
- if (!((_tao_out << CORBA::Any::from_boolean (_tao_retval))))
- ACE_THROW (CORBA::MARSHAL ());
-}
-
-CORBA::Boolean POA_IR::SequenceDef::_is_a (
- const char* value,
- CORBA::Environment &ACE_TRY_ENV
- )
-{
- if (
- (!ACE_OS::strcmp ((char *)value, "IDL:omg.org/IR/SequenceDef:1.0")) ||
- (!ACE_OS::strcmp ((char *)value, "IDL:omg.org/IR/IDLType:1.0")) ||
- (!ACE_OS::strcmp ((char *)value, "IDL:omg.org/CORBA/IRObject:1.0")) ||
- (!ACE_OS::strcmp ((char *)value, CORBA::_tc_Object->id (ACE_TRY_ENV))))
- return 1;
- else
- return 0;
-}
-
-void* POA_IR::SequenceDef::_downcast (
- const char* logical_type_id
- )
-{
- if (ACE_OS::strcmp (logical_type_id, "IDL:omg.org/IR/SequenceDef:1.0") == 0)
- return ACE_static_cast (POA_IR::SequenceDef_ptr, this);
- if (ACE_OS::strcmp (logical_type_id, "IDL:omg.org/IR/IDLType:1.0") == 0)
- return ACE_static_cast (POA_IR::IDLType_ptr, this);
- if (ACE_OS::strcmp (logical_type_id, "IDL:omg.org/CORBA/IRObject:1.0") == 0)
- return ACE_static_cast (POA_CORBA_IRObject_ptr, this);
- if (ACE_OS::strcmp (logical_type_id, "IDL:omg.org/CORBA/Object:1.0") == 0)
- return ACE_static_cast(PortableServer::Servant, this);
- return 0;
-}
-
-void POA_IR::SequenceDef::_dispatch (TAO_ServerRequest &req, void *context, CORBA::Environment &ACE_TRY_ENV)
-{
- this->synchronous_upcall_dispatch(req, context, this, ACE_TRY_ENV);
-}
-
-const char* POA_IR::SequenceDef::_interface_repository_id (void) const
-{
- return "IDL:omg.org/IR/SequenceDef:1.0";
-}
-
-IR::SequenceDef*
-POA_IR::SequenceDef::_this (CORBA_Environment &ACE_TRY_ENV)
-{
- TAO_Stub *stub = this->_create_stub (ACE_TRY_ENV);
- ACE_CHECK_RETURN (0);
-
- CORBA::Object_ptr tmp = CORBA::Object::_nil ();
-
- if (stub->servant_orb_var ()->orb_core ()->optimize_collocation_objects ())
- ACE_NEW_RETURN (tmp, CORBA::Object (stub, 1, this), 0);
- else
- ACE_NEW_RETURN (tmp, CORBA::Object (stub, 0, this), 0);
-
- CORBA::Object_var obj = tmp;
- return IR_SequenceDef::_unchecked_narrow (obj.in ());
-}
-
-#if (TAO_HAS_INTERCEPTORS == 1)
-POA_IR::SequenceDef::TAO_ServerRequestInfo_IR_SequenceDef_bound_get::TAO_ServerRequestInfo_IR_SequenceDef_bound_get (
- TAO_ServerRequest &_tao_server_request,
- POA_IR::SequenceDef *tao_impl,
- CORBA::Environment &
- )
- : TAO_ServerRequestInfo (_tao_server_request),
- _tao_impl (tao_impl)
-{}
-
-Dynamic::ParameterList *
-POA_IR::SequenceDef::TAO_ServerRequestInfo_IR_SequenceDef_bound_get::arguments (CORBA::Environment &ACE_TRY_ENV)
- ACE_THROW_SPEC ((CORBA::SystemException))
-{
- // Generate the argument list on demand.
- Dynamic::ParameterList *parameter_list =
- TAO_RequestInfo_Util::make_parameter_list (ACE_TRY_ENV);
- ACE_CHECK_RETURN (0);
-
- return parameter_list;
-}
-
-Dynamic::ExceptionList *
-POA_IR::SequenceDef::TAO_ServerRequestInfo_IR_SequenceDef_bound_get::exceptions (CORBA::Environment &ACE_TRY_ENV)
- ACE_THROW_SPEC ((CORBA::SystemException))
-{
- // Generate the exception list on demand.
- Dynamic::ExceptionList *exception_list =
- TAO_RequestInfo_Util::make_exception_list (ACE_TRY_ENV);
- ACE_CHECK_RETURN (0);
-
- return exception_list;
-}
-
-CORBA::Any *
-POA_IR::SequenceDef::TAO_ServerRequestInfo_IR_SequenceDef_bound_get::result (CORBA::Environment &ACE_TRY_ENV)
- ACE_THROW_SPEC ((CORBA::SystemException))
-{
- // Generate the result on demand.
- CORBA::Boolean tk_void_any = 0;
- CORBA::Any *result_any =
- TAO_RequestInfo_Util::make_any (tk_void_any, ACE_TRY_ENV);
- ACE_CHECK_RETURN (0);
-
- CORBA::Any_var safe_result_any = result_any;
-
- (*result_any) <<= this->_result;
-
- return safe_result_any._retn ();
-}
-
-char *
-POA_IR::SequenceDef::TAO_ServerRequestInfo_IR_SequenceDef_bound_get::target_most_derived_interface (
- CORBA::Environment &)
- ACE_THROW_SPEC ((CORBA::SystemException))
-{
- return
- CORBA::string_dup (this->_tao_impl->_interface_repository_id ());
-}
-
-CORBA::Boolean
-POA_IR::SequenceDef::TAO_ServerRequestInfo_IR_SequenceDef_bound_get::target_is_a (
- const char * id,
- CORBA::Environment &ACE_TRY_ENV)
- ACE_THROW_SPEC ((CORBA::SystemException))
-{
- return this->_tao_impl->_is_a (id, ACE_TRY_ENV);
-}
-
-void
-POA_IR::SequenceDef::TAO_ServerRequestInfo_IR_SequenceDef_bound_get::result (CORBA::ULong result)
-{
- // Update the result.
- this->_result = result;
-}
-
-POA_IR::SequenceDef::TAO_ServerRequestInfo_IR_SequenceDef_bound_set::TAO_ServerRequestInfo_IR_SequenceDef_bound_set (
- TAO_ServerRequest &_tao_server_request,
- POA_IR::SequenceDef *tao_impl,
- const CORBA::ULong & bound,
- CORBA::Environment &
- )
- : TAO_ServerRequestInfo (_tao_server_request),
- _tao_impl (tao_impl),
- bound_ (bound)
-{}
-
-Dynamic::ParameterList *
-POA_IR::SequenceDef::TAO_ServerRequestInfo_IR_SequenceDef_bound_set::arguments (CORBA::Environment &ACE_TRY_ENV)
- ACE_THROW_SPEC ((CORBA::SystemException))
-{
- // Generate the argument list on demand.
- Dynamic::ParameterList *parameter_list =
- TAO_RequestInfo_Util::make_parameter_list (ACE_TRY_ENV);
- ACE_CHECK_RETURN (0);
-
- Dynamic::ParameterList_var safe_parameter_list = parameter_list;
-
- CORBA::ULong length_bound = parameter_list->length ();
- parameter_list->length (length_bound + 1);
- (*parameter_list)[length_bound].argument <<= bound_;
- (*parameter_list)[length_bound].mode = Dynamic::PARAM_IN;
-
- return safe_parameter_list._retn ();
-}
-
-Dynamic::ExceptionList *
-POA_IR::SequenceDef::TAO_ServerRequestInfo_IR_SequenceDef_bound_set::exceptions (CORBA::Environment &ACE_TRY_ENV)
- ACE_THROW_SPEC ((CORBA::SystemException))
-{
- // Generate the exception list on demand.
- Dynamic::ExceptionList *exception_list =
- TAO_RequestInfo_Util::make_exception_list (ACE_TRY_ENV);
- ACE_CHECK_RETURN (0);
-
- return exception_list;
-}
-
-CORBA::Any *
-POA_IR::SequenceDef::TAO_ServerRequestInfo_IR_SequenceDef_bound_set::result (CORBA::Environment &ACE_TRY_ENV)
- ACE_THROW_SPEC ((CORBA::SystemException))
-{
- // Generate the result on demand.
- CORBA::Boolean tk_void_any = 1;
- CORBA::Any *result_any =
- TAO_RequestInfo_Util::make_any (tk_void_any, ACE_TRY_ENV);
- ACE_CHECK_RETURN (0);
-
- return result_any;
-}
-
-char *
-POA_IR::SequenceDef::TAO_ServerRequestInfo_IR_SequenceDef_bound_set::target_most_derived_interface (
- CORBA::Environment &)
- ACE_THROW_SPEC ((CORBA::SystemException))
-{
- return
- CORBA::string_dup (this->_tao_impl->_interface_repository_id ());
-}
-
-CORBA::Boolean
-POA_IR::SequenceDef::TAO_ServerRequestInfo_IR_SequenceDef_bound_set::target_is_a (
- const char * id,
- CORBA::Environment &ACE_TRY_ENV)
- ACE_THROW_SPEC ((CORBA::SystemException))
-{
- return this->_tao_impl->_is_a (id, ACE_TRY_ENV);
-}
-
-POA_IR::SequenceDef::TAO_ServerRequestInfo_IR_SequenceDef_element_type_get::TAO_ServerRequestInfo_IR_SequenceDef_element_type_get (
- TAO_ServerRequest &_tao_server_request,
- POA_IR::SequenceDef *tao_impl,
- CORBA::Environment &
- )
- : TAO_ServerRequestInfo (_tao_server_request),
- _tao_impl (tao_impl)
-{}
-
-Dynamic::ParameterList *
-POA_IR::SequenceDef::TAO_ServerRequestInfo_IR_SequenceDef_element_type_get::arguments (CORBA::Environment &ACE_TRY_ENV)
- ACE_THROW_SPEC ((CORBA::SystemException))
-{
- // Generate the argument list on demand.
- Dynamic::ParameterList *parameter_list =
- TAO_RequestInfo_Util::make_parameter_list (ACE_TRY_ENV);
- ACE_CHECK_RETURN (0);
-
- return parameter_list;
-}
-
-Dynamic::ExceptionList *
-POA_IR::SequenceDef::TAO_ServerRequestInfo_IR_SequenceDef_element_type_get::exceptions (CORBA::Environment &ACE_TRY_ENV)
- ACE_THROW_SPEC ((CORBA::SystemException))
-{
- // Generate the exception list on demand.
- Dynamic::ExceptionList *exception_list =
- TAO_RequestInfo_Util::make_exception_list (ACE_TRY_ENV);
- ACE_CHECK_RETURN (0);
-
- return exception_list;
-}
-
-CORBA::Any *
-POA_IR::SequenceDef::TAO_ServerRequestInfo_IR_SequenceDef_element_type_get::result (CORBA::Environment &ACE_TRY_ENV)
- ACE_THROW_SPEC ((CORBA::SystemException))
-{
- // Generate the result on demand.
- CORBA::Boolean tk_void_any = 0;
- CORBA::Any *result_any =
- TAO_RequestInfo_Util::make_any (tk_void_any, ACE_TRY_ENV);
- ACE_CHECK_RETURN (0);
-
- CORBA::Any_var safe_result_any = result_any;
-
- (*result_any) <<= this->_result;
-
- return safe_result_any._retn ();
-}
-
-char *
-POA_IR::SequenceDef::TAO_ServerRequestInfo_IR_SequenceDef_element_type_get::target_most_derived_interface (
- CORBA::Environment &)
- ACE_THROW_SPEC ((CORBA::SystemException))
-{
- return
- CORBA::string_dup (this->_tao_impl->_interface_repository_id ());
-}
-
-CORBA::Boolean
-POA_IR::SequenceDef::TAO_ServerRequestInfo_IR_SequenceDef_element_type_get::target_is_a (
- const char * id,
- CORBA::Environment &ACE_TRY_ENV)
- ACE_THROW_SPEC ((CORBA::SystemException))
-{
- return this->_tao_impl->_is_a (id, ACE_TRY_ENV);
-}
-
-void
-POA_IR::SequenceDef::TAO_ServerRequestInfo_IR_SequenceDef_element_type_get::result (CORBA::TypeCode_ptr result)
-{
- // Update the result.
- this->_result = result;
-}
-
-POA_IR::SequenceDef::TAO_ServerRequestInfo_IR_SequenceDef_element_type_def_get::TAO_ServerRequestInfo_IR_SequenceDef_element_type_def_get (
- TAO_ServerRequest &_tao_server_request,
- POA_IR::SequenceDef *tao_impl,
- CORBA::Environment &
- )
- : TAO_ServerRequestInfo (_tao_server_request),
- _tao_impl (tao_impl)
-{}
-
-Dynamic::ParameterList *
-POA_IR::SequenceDef::TAO_ServerRequestInfo_IR_SequenceDef_element_type_def_get::arguments (CORBA::Environment &ACE_TRY_ENV)
- ACE_THROW_SPEC ((CORBA::SystemException))
-{
- // Generate the argument list on demand.
- Dynamic::ParameterList *parameter_list =
- TAO_RequestInfo_Util::make_parameter_list (ACE_TRY_ENV);
- ACE_CHECK_RETURN (0);
-
- return parameter_list;
-}
-
-Dynamic::ExceptionList *
-POA_IR::SequenceDef::TAO_ServerRequestInfo_IR_SequenceDef_element_type_def_get::exceptions (CORBA::Environment &ACE_TRY_ENV)
- ACE_THROW_SPEC ((CORBA::SystemException))
-{
- // Generate the exception list on demand.
- Dynamic::ExceptionList *exception_list =
- TAO_RequestInfo_Util::make_exception_list (ACE_TRY_ENV);
- ACE_CHECK_RETURN (0);
-
- return exception_list;
-}
-
-CORBA::Any *
-POA_IR::SequenceDef::TAO_ServerRequestInfo_IR_SequenceDef_element_type_def_get::result (CORBA::Environment &ACE_TRY_ENV)
- ACE_THROW_SPEC ((CORBA::SystemException))
-{
- // Generate the result on demand.
- CORBA::Boolean tk_void_any = 0;
- CORBA::Any *result_any =
- TAO_RequestInfo_Util::make_any (tk_void_any, ACE_TRY_ENV);
- ACE_CHECK_RETURN (0);
-
- CORBA::Any_var safe_result_any = result_any;
-
- (*result_any) <<= this->_result;
-
- return safe_result_any._retn ();
-}
-
-char *
-POA_IR::SequenceDef::TAO_ServerRequestInfo_IR_SequenceDef_element_type_def_get::target_most_derived_interface (
- CORBA::Environment &)
- ACE_THROW_SPEC ((CORBA::SystemException))
-{
- return
- CORBA::string_dup (this->_tao_impl->_interface_repository_id ());
-}
-
-CORBA::Boolean
-POA_IR::SequenceDef::TAO_ServerRequestInfo_IR_SequenceDef_element_type_def_get::target_is_a (
- const char * id,
- CORBA::Environment &ACE_TRY_ENV)
- ACE_THROW_SPEC ((CORBA::SystemException))
-{
- return this->_tao_impl->_is_a (id, ACE_TRY_ENV);
-}
-
-void
-POA_IR::SequenceDef::TAO_ServerRequestInfo_IR_SequenceDef_element_type_def_get::result (IR::IDLType_ptr result)
-{
- // Update the result.
- this->_result = result;
-}
-
-POA_IR::SequenceDef::TAO_ServerRequestInfo_IR_SequenceDef_element_type_def_set::TAO_ServerRequestInfo_IR_SequenceDef_element_type_def_set (
- TAO_ServerRequest &_tao_server_request,
- POA_IR::SequenceDef *tao_impl,
- IR_IDLType_ptr element_type_def,
- CORBA::Environment &
- )
- : TAO_ServerRequestInfo (_tao_server_request),
- _tao_impl (tao_impl),
- element_type_def_ (element_type_def)
-{}
-
-Dynamic::ParameterList *
-POA_IR::SequenceDef::TAO_ServerRequestInfo_IR_SequenceDef_element_type_def_set::arguments (CORBA::Environment &ACE_TRY_ENV)
- ACE_THROW_SPEC ((CORBA::SystemException))
-{
- // Generate the argument list on demand.
- Dynamic::ParameterList *parameter_list =
- TAO_RequestInfo_Util::make_parameter_list (ACE_TRY_ENV);
- ACE_CHECK_RETURN (0);
-
- Dynamic::ParameterList_var safe_parameter_list = parameter_list;
-
- CORBA::ULong length_element_type_def = parameter_list->length ();
- parameter_list->length (length_element_type_def + 1);
- (*parameter_list)[length_element_type_def].argument <<= this->element_type_def_;
-
- (*parameter_list)[length_element_type_def].mode = Dynamic::PARAM_IN;
-
- return safe_parameter_list._retn ();
-}
-
-Dynamic::ExceptionList *
-POA_IR::SequenceDef::TAO_ServerRequestInfo_IR_SequenceDef_element_type_def_set::exceptions (CORBA::Environment &ACE_TRY_ENV)
- ACE_THROW_SPEC ((CORBA::SystemException))
-{
- // Generate the exception list on demand.
- Dynamic::ExceptionList *exception_list =
- TAO_RequestInfo_Util::make_exception_list (ACE_TRY_ENV);
- ACE_CHECK_RETURN (0);
-
- return exception_list;
-}
-
-CORBA::Any *
-POA_IR::SequenceDef::TAO_ServerRequestInfo_IR_SequenceDef_element_type_def_set::result (CORBA::Environment &ACE_TRY_ENV)
- ACE_THROW_SPEC ((CORBA::SystemException))
-{
- // Generate the result on demand.
- CORBA::Boolean tk_void_any = 1;
- CORBA::Any *result_any =
- TAO_RequestInfo_Util::make_any (tk_void_any, ACE_TRY_ENV);
- ACE_CHECK_RETURN (0);
-
- return result_any;
-}
-
-char *
-POA_IR::SequenceDef::TAO_ServerRequestInfo_IR_SequenceDef_element_type_def_set::target_most_derived_interface (
- CORBA::Environment &)
- ACE_THROW_SPEC ((CORBA::SystemException))
-{
- return
- CORBA::string_dup (this->_tao_impl->_interface_repository_id ());
-}
-
-CORBA::Boolean
-POA_IR::SequenceDef::TAO_ServerRequestInfo_IR_SequenceDef_element_type_def_set::target_is_a (
- const char * id,
- CORBA::Environment &ACE_TRY_ENV)
- ACE_THROW_SPEC ((CORBA::SystemException))
-{
- return this->_tao_impl->_is_a (id, ACE_TRY_ENV);
-}
-
-#endif /* TAO_HAS_INTERCEPTORS */
-
-class TAO_IR_ArrayDef_Perfect_Hash_OpTable : public TAO_Perfect_Hash_OpTable
-{
-private:
- unsigned int hash (const char *str, unsigned int len);
-public:
- const TAO_operation_db_entry * lookup (const char *str, unsigned int len);
-};
-/* starting time is 11:23:10 */
-/* C++ code produced by gperf version 2.8 (ACE version) */
-/* Command-line: gperf -m -M -J -c -C -D -E -T -f 0 -F 0 -a -o -t -p -K opname_ -L C++ -Z TAO_IR_ArrayDef_Perfect_Hash_OpTable -N lookup */
-unsigned int
-TAO_IR_ArrayDef_Perfect_Hash_OpTable::hash (const char *str, unsigned int len)
-{
- static const unsigned char asso_values[] =
- {
-#if defined (ACE_MVS)
- 22, 22, 22, 22, 22, 22, 22, 22, 22, 22,
- 22, 22, 22, 22, 22, 22, 22, 22, 22, 22,
- 22, 22, 22, 22, 22, 22, 22, 22, 22, 22,
- 22, 22, 22, 22, 22, 22, 22, 22, 22, 22,
- 22, 22, 22, 22, 22, 22, 22, 22, 22, 22,
- 22, 22, 22, 22, 22, 22, 22, 22, 22, 22,
- 22, 22, 22, 22, 22, 22, 22, 22, 22, 22,
- 22, 22, 22, 22, 22, 22, 22, 22, 22, 22,
- 22, 22, 22, 22, 22, 22, 22, 22, 22, 22,
- 22, 22, 22, 22, 22, 22, 22, 22, 22, 22,
- 22, 22, 22, 22, 22, 22, 22, 22, 22, 0,
- 22, 22, 22, 22, 22, 22, 22, 22, 22, 22,
- 22, 22, 22, 22, 22, 22, 22, 22, 22, 0,
- 22, 22, 0, 0, 0, 22, 0, 22, 22, 22,
- 22, 22, 22, 22, 22, 22, 22, 22, 22, 22,
- 22, 22, 22, 22, 22, 22, 22, 22, 22, 22,
- 22, 22, 22, 5, 22, 22, 22, 22, 0, 22,
- 22, 22, 22, 22, 22, 22, 22, 22, 22, 22,
- 22, 22, 22, 22, 22, 22, 22, 22, 22, 22,
- 22, 22, 22, 22, 22, 22, 22, 22, 22, 22,
- 22, 22, 22, 22, 22, 22, 22, 22, 22, 22,
- 22, 22, 22, 22, 22, 22, 22, 22, 22, 22,
- 22, 22, 22, 22, 22, 22, 22, 22, 22, 22,
- 22, 22, 22, 22, 22, 22, 22, 22, 22, 22,
- 22, 22, 22, 22, 22, 22, 22, 22, 22, 22,
- 22, 22, 22, 22, 22, 22,
-#else
- 22, 22, 22, 22, 22, 22, 22, 22, 22, 22,
- 22, 22, 22, 22, 22, 22, 22, 22, 22, 22,
- 22, 22, 22, 22, 22, 22, 22, 22, 22, 22,
- 22, 22, 22, 22, 22, 22, 22, 22, 22, 22,
- 22, 22, 22, 22, 22, 22, 22, 22, 22, 22,
- 22, 22, 22, 22, 22, 22, 22, 22, 22, 22,
- 22, 22, 22, 22, 22, 22, 22, 22, 22, 22,
- 22, 22, 22, 22, 22, 22, 22, 22, 22, 22,
- 22, 22, 22, 22, 22, 22, 22, 22, 22, 22,
- 22, 22, 22, 22, 22, 0, 22, 0, 22, 22,
- 0, 0, 0, 22, 0, 22, 22, 22, 22, 22,
- 22, 22, 22, 22, 22, 22, 5, 22, 22, 22,
- 22, 0, 22, 22, 22, 22, 22, 22,
-#endif /* ACE_MVS */
- };
- return len + asso_values[str[len - 1]] + asso_values[str[0]];
-}
-
-const class TAO_operation_db_entry *
-TAO_IR_ArrayDef_Perfect_Hash_OpTable::lookup (const char *str, unsigned int len)
-{
- enum
- {
- TOTAL_KEYWORDS = 10,
- MIN_WORD_LENGTH = 5,
- MAX_WORD_LENGTH = 21,
- MIN_HASH_VALUE = 5,
- MAX_HASH_VALUE = 21,
- HASH_VALUE_RANGE = 17,
- DUPLICATES = 3
- };
-
- static const class TAO_operation_db_entry wordlist[] =
- {
- {"",0},{"",0},{"",0},{"",0},{"",0},
- {"_is_a", &POA_IR::ArrayDef::_is_a_skel},
- {"destroy", &POA_IR::ArrayDef::destroy_skel},
- {"_get_type", &POA_IR::ArrayDef::_get_type_skel},
- {"_get_length", &POA_IR::ArrayDef::_get_length_skel},
- {"_set_length", &POA_IR::ArrayDef::_set_length_skel},
- {"_get_def_kind", &POA_IR::ArrayDef::_get_def_kind_skel},
- {"_get_element_type", &POA_IR::ArrayDef::_get_element_type_skel},
- {"_non_existent", &POA_IR::ArrayDef::_non_existent_skel},
- {"_get_element_type_def", &POA_IR::ArrayDef::_get_element_type_def_skel},
- {"_set_element_type_def", &POA_IR::ArrayDef::_set_element_type_def_skel},
- };
-
- static const signed char lookup[] =
- {
- -1, -1, -1, -8, -2, 5, -1, 6, -1, 7, -1, -29, -1, 10,
- -1, -1, -1, 11, 12, -13, -2, -23,
- };
-
- if (len <= MAX_WORD_LENGTH && len >= MIN_WORD_LENGTH)
- {
- unsigned int key = hash (str, len);
-
- if (key <= MAX_HASH_VALUE && key >= MIN_HASH_VALUE)
- {
- int slot = lookup[key];
-
- if (slot >= 0 && slot < MAX_HASH_VALUE)
- {
- const char *s = wordlist[slot].opname_;
-
- if (*str == *s && !strncmp (str + 1, s + 1, len - 1))
- return &wordlist[slot];
- }
- else if (slot < 0 && slot >= -MAX_HASH_VALUE)
- return 0;
- else
- {
- unsigned int offset = key + slot + (slot > 0 ? -MAX_HASH_VALUE : MAX_HASH_VALUE);
- const class TAO_operation_db_entry *base = &wordlist[-lookup[offset]];
- const class TAO_operation_db_entry *ptr = base + -lookup[offset + 1];
-
- while (--ptr >= base)
- if (*str == *ptr->opname_ && !strncmp (str + 1, ptr->opname_ + 1, len - 1))
- return ptr;
- }
- }
- }
- return 0;
-}
-/* ending time is 11:23:10 */
-static TAO_IR_ArrayDef_Perfect_Hash_OpTable tao_IR_ArrayDef_optable;
-
-///////////////////////////////////////////////////////////////////////
-// Strategized Proxy Broker Implementation
-//
-
-// Factory function Implementation.
-POA_IR::_TAO_ArrayDef_Strategized_Proxy_Broker *POA_IR::_TAO_ArrayDef_Strategized_Proxy_Broker::the_TAO_ArrayDef_Strategized_Proxy_Broker (void)
-{
- static POA_IR::_TAO_ArrayDef_Strategized_Proxy_Broker strategized_proxy_broker;
- return &strategized_proxy_broker;
-}
-
-POA_IR::_TAO_ArrayDef_Strategized_Proxy_Broker::_TAO_ArrayDef_Strategized_Proxy_Broker (void)
-{
- for (int i = 0; i < TAO_Collocation_Strategies::CS_LAST; ++i)
- this->proxy_cache_[i] = 0;
-
-}
-
-POA_IR::_TAO_ArrayDef_Strategized_Proxy_Broker::~_TAO_ArrayDef_Strategized_Proxy_Broker (void)
-{
- for (int i = 0; i < TAO_Collocation_Strategies::CS_LAST; ++i)
- delete this->proxy_cache_[i];
-
-}
-
-_TAO_ArrayDef_Proxy_Impl&
-POA_IR::_TAO_ArrayDef_Strategized_Proxy_Broker::select_proxy (
- IR_ArrayDef *object,
- CORBA::Environment &ACE_TRY_ENV
- )
-{
- int strategy =
- TAO_ORB_Core::collocation_strategy (object);
-
- if (this->proxy_cache_[strategy] != 0)
- return *this->proxy_cache_[strategy];
-
- this->create_proxy (strategy, ACE_TRY_ENV);
- ACE_CHECK_RETURN (*this->proxy_cache_[strategy]);
-
- return *this->proxy_cache_[strategy];
-
-}
-
-void
-POA_IR::_TAO_ArrayDef_Strategized_Proxy_Broker::create_proxy (
- int strategy,
- CORBA::Environment &ACE_TRY_ENV
- )
-{
- ACE_GUARD (TAO_SYNCH_MUTEX, guard, this->mutex_);
-
- if (this->proxy_cache_[strategy] == 0)
- {
- switch (strategy)
- {
- case TAO_Collocation_Strategies::CS_THRU_POA_STRATEGY:
- ACE_NEW_THROW_EX (
- this->proxy_cache_[strategy],
- _TAO_ArrayDef_ThruPOA_Proxy_Impl,
- CORBA::NO_MEMORY ()
- );
- ACE_CHECK;
- break;
-
- case TAO_Collocation_Strategies::CS_REMOTE_STRATEGY:
- default:
- ACE_NEW_THROW_EX (
- this->proxy_cache_[strategy],
- _TAO_ArrayDef_Remote_Proxy_Impl,
- CORBA::NO_MEMORY ()
- );
- ACE_CHECK;
- break;
-
- }
-
- }
-}
-
-
-//
-// End Strategized Proxy Broker Implementation
-///////////////////////////////////////////////////////////////////////
-
-
-_TAO_ArrayDef_Proxy_Broker *
-_TAO_ArrayDef_Proxy_Broker_Factory_function (CORBA::Object_ptr obj)
-{
- ACE_UNUSED_ARG (obj);
- return ::POA_IR::_TAO_ArrayDef_Strategized_Proxy_Broker::the_TAO_ArrayDef_Strategized_Proxy_Broker();
-}
-
-int
-_TAO_ArrayDef_Proxy_Broker_Factory_Initializer (long _dummy_)
-{
- ACE_UNUSED_ARG (_dummy_);
-
- _TAO_ArrayDef_Proxy_Broker_Factory_function_pointer =
- _TAO_ArrayDef_Proxy_Broker_Factory_function;
-
- return 0;
-}
-
-static int _TAO_ArrayDef_Proxy_Broker_Stub_Factory_Initializer_Scarecrow =
- _TAO_ArrayDef_Proxy_Broker_Factory_Initializer (ACE_reinterpret_cast (long, _TAO_ArrayDef_Proxy_Broker_Factory_Initializer));
-
-
-///////////////////////////////////////////////////////////////////////
-// ThruPOA Proxy Implementation
-//
-
-POA_IR::_TAO_ArrayDef_ThruPOA_Proxy_Impl::_TAO_ArrayDef_ThruPOA_Proxy_Impl (void)
-{}
-
-// ThruPOA Implementation of the IDL interface methods
-
-CORBA::ULong POA_IR::_TAO_ArrayDef_ThruPOA_Proxy_Impl::length (
- CORBA_Object *_collocated_tao_target_,
- CORBA::Environment &ACE_TRY_ENV
- )
- ACE_THROW_SPEC ((
- CORBA::SystemException
- ))
-{
- CORBA::ULong _tao_retval = 0;
- ACE_UNUSED_ARG (_tao_retval);
- TAO_Object_Adapter::Servant_Upcall servant_upcall (
- _collocated_tao_target_->_stubobj ()->servant_orb_var ()->orb_core ()
- );
- CORBA::Object_var forward_to;
- servant_upcall.prepare_for_upcall (
- _collocated_tao_target_->_object_key (),
- "length",
- forward_to.out (),
- ACE_TRY_ENV
- );
- ACE_CHECK_RETURN (_tao_retval);
- return ACE_reinterpret_cast (
- POA_IR::ArrayDef_ptr,
- servant_upcall.servant ()->_downcast (
- "IDL:omg.org/IR/ArrayDef:1.0"
- )
- )->length (
- ACE_TRY_ENV
- );
-}
-
-void POA_IR::_TAO_ArrayDef_ThruPOA_Proxy_Impl::length (
- CORBA_Object *_collocated_tao_target_,
- CORBA::ULong length,
- CORBA::Environment &ACE_TRY_ENV
- )
- ACE_THROW_SPEC ((
- CORBA::SystemException
- ))
-{
- TAO_Object_Adapter::Servant_Upcall servant_upcall (
- _collocated_tao_target_->_stubobj ()->servant_orb_var ()->orb_core ()
- );
- CORBA::Object_var forward_to;
- servant_upcall.prepare_for_upcall (
- _collocated_tao_target_->_object_key (),
- "length",
- forward_to.out (),
- ACE_TRY_ENV
- );
- ACE_CHECK;
- ACE_reinterpret_cast (
- POA_IR::ArrayDef_ptr,
- servant_upcall.servant ()->_downcast (
- "IDL:omg.org/IR/ArrayDef:1.0"
- )
- )->length (
- length,
- ACE_TRY_ENV
- );
- return;
-}
-
-CORBA::TypeCode_ptr POA_IR::_TAO_ArrayDef_ThruPOA_Proxy_Impl::element_type (
- CORBA_Object *_collocated_tao_target_,
- CORBA::Environment &ACE_TRY_ENV
- )
- ACE_THROW_SPEC ((
- CORBA::SystemException
- ))
-{
- CORBA::TypeCode_var _tao_retval;
- ACE_UNUSED_ARG (_tao_retval);
- TAO_Object_Adapter::Servant_Upcall servant_upcall (
- _collocated_tao_target_->_stubobj ()->servant_orb_var ()->orb_core ()
- );
- CORBA::Object_var forward_to;
- servant_upcall.prepare_for_upcall (
- _collocated_tao_target_->_object_key (),
- "element_type",
- forward_to.out (),
- ACE_TRY_ENV
- );
- ACE_CHECK_RETURN (0);
- return ACE_reinterpret_cast (
- POA_IR::ArrayDef_ptr,
- servant_upcall.servant ()->_downcast (
- "IDL:omg.org/IR/ArrayDef:1.0"
- )
- )->element_type (
- ACE_TRY_ENV
- );
-}
-
-IR_IDLType_ptr POA_IR::_TAO_ArrayDef_ThruPOA_Proxy_Impl::element_type_def (
- CORBA_Object *_collocated_tao_target_,
- CORBA::Environment &ACE_TRY_ENV
- )
- ACE_THROW_SPEC ((
- CORBA::SystemException
- ))
-{
- IR_IDLType_var _tao_retval;
- ACE_UNUSED_ARG (_tao_retval);
- TAO_Object_Adapter::Servant_Upcall servant_upcall (
- _collocated_tao_target_->_stubobj ()->servant_orb_var ()->orb_core ()
- );
- CORBA::Object_var forward_to;
- servant_upcall.prepare_for_upcall (
- _collocated_tao_target_->_object_key (),
- "element_type_def",
- forward_to.out (),
- ACE_TRY_ENV
- );
- ACE_CHECK_RETURN (0);
- return ACE_reinterpret_cast (
- POA_IR::ArrayDef_ptr,
- servant_upcall.servant ()->_downcast (
- "IDL:omg.org/IR/ArrayDef:1.0"
- )
- )->element_type_def (
- ACE_TRY_ENV
- );
-}
-
-void POA_IR::_TAO_ArrayDef_ThruPOA_Proxy_Impl::element_type_def (
- CORBA_Object *_collocated_tao_target_,
- IR_IDLType_ptr element_type_def,
- CORBA::Environment &ACE_TRY_ENV
- )
- ACE_THROW_SPEC ((
- CORBA::SystemException
- ))
-{
- TAO_Object_Adapter::Servant_Upcall servant_upcall (
- _collocated_tao_target_->_stubobj ()->servant_orb_var ()->orb_core ()
- );
- CORBA::Object_var forward_to;
- servant_upcall.prepare_for_upcall (
- _collocated_tao_target_->_object_key (),
- "element_type_def",
- forward_to.out (),
- ACE_TRY_ENV
- );
- ACE_CHECK;
- ACE_reinterpret_cast (
- POA_IR::ArrayDef_ptr,
- servant_upcall.servant ()->_downcast (
- "IDL:omg.org/IR/ArrayDef:1.0"
- )
- )->element_type_def (
- element_type_def,
- ACE_TRY_ENV
- );
- return;
-}
-
-//
-// End ThruPOA Proxy Implementation
-///////////////////////////////////////////////////////////////////////
-
-// skeleton constructor
-POA_IR::ArrayDef::ArrayDef (void)
-{
- this->optable_ = &tao_IR_ArrayDef_optable;
-}
-
-// copy ctor
-POA_IR::ArrayDef::ArrayDef (const ArrayDef& rhs)
- : ACE_NESTED_CLASS (POA_IR,IDLType) (rhs),
- POA_CORBA_IRObject (rhs),
- TAO_ServantBase (rhs)
-{}
-
-// skeleton destructor
-POA_IR::ArrayDef::~ArrayDef (void)
-{
-}
-
-void POA_IR::ArrayDef::_get_length_skel (
- TAO_ServerRequest &_tao_server_request,
- void *_tao_object_reference,
- void * /* context */,
- CORBA::Environment &ACE_TRY_ENV
-)
-{
- POA_IR::ArrayDef *_tao_impl = (POA_IR::ArrayDef *)_tao_object_reference;
-
- CORBA::ULong _tao_retval = 0;
-
-#if (TAO_HAS_INTERCEPTORS == 1)
- TAO_ServerRequestInterceptor_Adapter _tao_vfr (
- _tao_server_request.orb_core ()->server_request_interceptors (),
- _tao_server_request.interceptor_count ()
- );
-
- POA_IR::ArrayDef::TAO_ServerRequestInfo_IR_ArrayDef_length_get ri (
- _tao_server_request,
- _tao_impl,
- ACE_TRY_ENV
- );
-
- ACE_TRY
- {
- _tao_vfr.receive_request (&ri, ACE_TRY_ENV);
- ACE_TRY_CHECK;
-
-#endif /* TAO_HAS_INTERCEPTORS */
- _tao_retval =
- _tao_impl->length (
- ACE_TRY_ENV
- );
- TAO_INTERCEPTOR_CHECK;
-
-#if (TAO_HAS_INTERCEPTORS == 1)
- CORBA::ULong _tao_retval_info = _tao_retval;
- ri.result (_tao_retval_info);
- ri.reply_status (PortableInterceptor::SUCCESSFUL);
- _tao_vfr.send_reply (&ri, ACE_TRY_ENV);
- ACE_TRY_CHECK;
- }
- ACE_CATCH (PortableInterceptor::ForwardRequest, exc)
- {
- ri.forward_reference (exc);
- _tao_vfr.send_other (
- &ri,
- ACE_TRY_ENV
- );
- ACE_TRY_CHECK;
- _tao_server_request.forward_location (exc.forward.in ());
- }
- ACE_CATCHANY
- {
- ri.exception (&ACE_ANY_EXCEPTION);
- _tao_vfr.send_exception (
- &ri,
- ACE_TRY_ENV
- );
- ACE_TRY_CHECK;
- ACE_RE_THROW;
- }
- ACE_ENDTRY;
- ACE_CHECK;
-#endif /* TAO_HAS_INTERCEPTORS */
-
- _tao_server_request.init_reply ();
-
- TAO_OutputCDR &_tao_out = _tao_server_request.outgoing ();
-
- if (!(
- (_tao_out << _tao_retval)
- ))
- ACE_THROW (CORBA::MARSHAL());
-
- // In case ACE_TRY_ENV is not used in this function
- ACE_UNUSED_ARG (ACE_TRY_ENV);
-}
-
-void POA_IR::ArrayDef::_set_length_skel (
- TAO_ServerRequest &_tao_server_request,
- void *_tao_object_reference,
- void * /* context */,
- CORBA::Environment &ACE_TRY_ENV
-)
-{
- TAO_InputCDR &_tao_in = _tao_server_request.incoming ();
- POA_IR::ArrayDef *_tao_impl = (POA_IR::ArrayDef *)_tao_object_reference;
-
- CORBA::ULong length;
- if (!(
- (_tao_in >> length)
- ))
- ACE_THROW (CORBA::MARSHAL () );
-
-#if (TAO_HAS_INTERCEPTORS == 1)
- TAO_ServerRequestInterceptor_Adapter _tao_vfr (
- _tao_server_request.orb_core ()->server_request_interceptors (),
- _tao_server_request.interceptor_count ()
- );
-
- POA_IR::ArrayDef::TAO_ServerRequestInfo_IR_ArrayDef_length_set ri (
- _tao_server_request,
- _tao_impl,
- length,
- ACE_TRY_ENV
- );
-
- ACE_TRY
- {
- _tao_vfr.receive_request (&ri, ACE_TRY_ENV);
- ACE_TRY_CHECK;
-
-#endif /* TAO_HAS_INTERCEPTORS */
-
- _tao_impl->length (
- length,
- ACE_TRY_ENV
- );
- TAO_INTERCEPTOR_CHECK;
-
-#if (TAO_HAS_INTERCEPTORS == 1)
- ri.reply_status (PortableInterceptor::SUCCESSFUL);
- _tao_vfr.send_reply (&ri, ACE_TRY_ENV);
- ACE_TRY_CHECK;
- }
- ACE_CATCH (PortableInterceptor::ForwardRequest, exc)
- {
- ri.forward_reference (exc);
- _tao_vfr.send_other (
- &ri,
- ACE_TRY_ENV
- );
- ACE_TRY_CHECK;
- _tao_server_request.forward_location (exc.forward.in ());
- }
- ACE_CATCHANY
- {
- ri.exception (&ACE_ANY_EXCEPTION);
- _tao_vfr.send_exception (
- &ri,
- ACE_TRY_ENV
- );
- ACE_TRY_CHECK;
- ACE_RE_THROW;
- }
- ACE_ENDTRY;
- ACE_CHECK;
-#endif /* TAO_HAS_INTERCEPTORS */
-
- _tao_server_request.init_reply ();
-
- // In case ACE_TRY_ENV is not used in this function
- ACE_UNUSED_ARG (ACE_TRY_ENV);
-}
-
-void POA_IR::ArrayDef::_get_element_type_skel (
- TAO_ServerRequest &_tao_server_request,
- void *_tao_object_reference,
- void * /* context */,
- CORBA::Environment &ACE_TRY_ENV
-)
-{
- POA_IR::ArrayDef *_tao_impl = (POA_IR::ArrayDef *)_tao_object_reference;
-
- CORBA::TypeCode_var _tao_retval;
-
-#if (TAO_HAS_INTERCEPTORS == 1)
- TAO_ServerRequestInterceptor_Adapter _tao_vfr (
- _tao_server_request.orb_core ()->server_request_interceptors (),
- _tao_server_request.interceptor_count ()
- );
-
- POA_IR::ArrayDef::TAO_ServerRequestInfo_IR_ArrayDef_element_type_get ri (
- _tao_server_request,
- _tao_impl,
- ACE_TRY_ENV
- );
-
- ACE_TRY
- {
- _tao_vfr.receive_request (&ri, ACE_TRY_ENV);
- ACE_TRY_CHECK;
-
-#endif /* TAO_HAS_INTERCEPTORS */
- _tao_retval =
- _tao_impl->element_type (
- ACE_TRY_ENV
- );
- TAO_INTERCEPTOR_CHECK;
-
-#if (TAO_HAS_INTERCEPTORS == 1)
- CORBA::TypeCode_ptr _tao_retval_info = _tao_retval._retn ();
- ri.result (_tao_retval_info);
- _tao_retval = _tao_retval_info;
- ri.reply_status (PortableInterceptor::SUCCESSFUL);
- _tao_vfr.send_reply (&ri, ACE_TRY_ENV);
- ACE_TRY_CHECK;
- }
- ACE_CATCH (PortableInterceptor::ForwardRequest, exc)
- {
- ri.forward_reference (exc);
- _tao_vfr.send_other (
- &ri,
- ACE_TRY_ENV
- );
- ACE_TRY_CHECK;
- _tao_server_request.forward_location (exc.forward.in ());
- }
- ACE_CATCHANY
- {
- ri.exception (&ACE_ANY_EXCEPTION);
- _tao_vfr.send_exception (
- &ri,
- ACE_TRY_ENV
- );
- ACE_TRY_CHECK;
- ACE_RE_THROW;
- }
- ACE_ENDTRY;
- ACE_CHECK;
-#endif /* TAO_HAS_INTERCEPTORS */
-
- _tao_server_request.init_reply ();
-
- TAO_OutputCDR &_tao_out = _tao_server_request.outgoing ();
-
- if (!(
- (_tao_out << _tao_retval.in ())
- ))
- ACE_THROW (CORBA::MARSHAL());
-
- // In case ACE_TRY_ENV is not used in this function
- ACE_UNUSED_ARG (ACE_TRY_ENV);
-}
-
-void POA_IR::ArrayDef::_get_element_type_def_skel (
- TAO_ServerRequest &_tao_server_request,
- void *_tao_object_reference,
- void * /* context */,
- CORBA::Environment &ACE_TRY_ENV
-)
-{
- POA_IR::ArrayDef *_tao_impl = (POA_IR::ArrayDef *)_tao_object_reference;
-
- IR_IDLType_var _tao_retval;
-
-#if (TAO_HAS_INTERCEPTORS == 1)
- TAO_ServerRequestInterceptor_Adapter _tao_vfr (
- _tao_server_request.orb_core ()->server_request_interceptors (),
- _tao_server_request.interceptor_count ()
- );
-
- POA_IR::ArrayDef::TAO_ServerRequestInfo_IR_ArrayDef_element_type_def_get ri (
- _tao_server_request,
- _tao_impl,
- ACE_TRY_ENV
- );
-
- ACE_TRY
- {
- _tao_vfr.receive_request (&ri, ACE_TRY_ENV);
- ACE_TRY_CHECK;
-
-#endif /* TAO_HAS_INTERCEPTORS */
- _tao_retval =
- _tao_impl->element_type_def (
- ACE_TRY_ENV
- );
- TAO_INTERCEPTOR_CHECK;
-
-#if (TAO_HAS_INTERCEPTORS == 1)
- IR_IDLType_ptr _tao_retval_info = _tao_retval._retn ();
- ri.result (_tao_retval_info);
- _tao_retval = _tao_retval_info;
- ri.reply_status (PortableInterceptor::SUCCESSFUL);
- _tao_vfr.send_reply (&ri, ACE_TRY_ENV);
- ACE_TRY_CHECK;
- }
- ACE_CATCH (PortableInterceptor::ForwardRequest, exc)
- {
- ri.forward_reference (exc);
- _tao_vfr.send_other (
- &ri,
- ACE_TRY_ENV
- );
- ACE_TRY_CHECK;
- _tao_server_request.forward_location (exc.forward.in ());
- }
- ACE_CATCHANY
- {
- ri.exception (&ACE_ANY_EXCEPTION);
- _tao_vfr.send_exception (
- &ri,
- ACE_TRY_ENV
- );
- ACE_TRY_CHECK;
- ACE_RE_THROW;
- }
- ACE_ENDTRY;
- ACE_CHECK;
-#endif /* TAO_HAS_INTERCEPTORS */
-
- _tao_server_request.init_reply ();
-
- TAO_OutputCDR &_tao_out = _tao_server_request.outgoing ();
-
- if (!(
- (_tao_out << _tao_retval.in ())
- ))
- ACE_THROW (CORBA::MARSHAL());
-
- // In case ACE_TRY_ENV is not used in this function
- ACE_UNUSED_ARG (ACE_TRY_ENV);
-}
-
-void POA_IR::ArrayDef::_set_element_type_def_skel (
- TAO_ServerRequest &_tao_server_request,
- void *_tao_object_reference,
- void * /* context */,
- CORBA::Environment &ACE_TRY_ENV
-)
-{
- TAO_InputCDR &_tao_in = _tao_server_request.incoming ();
- POA_IR::ArrayDef *_tao_impl = (POA_IR::ArrayDef *)_tao_object_reference;
-
- IR_IDLType_var element_type_def;
- if (!(
- (_tao_in >> element_type_def.out ())
- ))
- ACE_THROW (CORBA::MARSHAL () );
-
-#if (TAO_HAS_INTERCEPTORS == 1)
- TAO_ServerRequestInterceptor_Adapter _tao_vfr (
- _tao_server_request.orb_core ()->server_request_interceptors (),
- _tao_server_request.interceptor_count ()
- );
-
- POA_IR::ArrayDef::TAO_ServerRequestInfo_IR_ArrayDef_element_type_def_set ri (
- _tao_server_request,
- _tao_impl,
- element_type_def.in (),
- ACE_TRY_ENV
- );
-
- ACE_TRY
- {
- _tao_vfr.receive_request (&ri, ACE_TRY_ENV);
- ACE_TRY_CHECK;
-
-#endif /* TAO_HAS_INTERCEPTORS */
-
- _tao_impl->element_type_def (
- element_type_def.in (),
- ACE_TRY_ENV
- );
- TAO_INTERCEPTOR_CHECK;
-
-#if (TAO_HAS_INTERCEPTORS == 1)
- ri.reply_status (PortableInterceptor::SUCCESSFUL);
- _tao_vfr.send_reply (&ri, ACE_TRY_ENV);
- ACE_TRY_CHECK;
- }
- ACE_CATCH (PortableInterceptor::ForwardRequest, exc)
- {
- ri.forward_reference (exc);
- _tao_vfr.send_other (
- &ri,
- ACE_TRY_ENV
- );
- ACE_TRY_CHECK;
- _tao_server_request.forward_location (exc.forward.in ());
- }
- ACE_CATCHANY
- {
- ri.exception (&ACE_ANY_EXCEPTION);
- _tao_vfr.send_exception (
- &ri,
- ACE_TRY_ENV
- );
- ACE_TRY_CHECK;
- ACE_RE_THROW;
- }
- ACE_ENDTRY;
- ACE_CHECK;
-#endif /* TAO_HAS_INTERCEPTORS */
-
- _tao_server_request.init_reply ();
-
- // In case ACE_TRY_ENV is not used in this function
- ACE_UNUSED_ARG (ACE_TRY_ENV);
-}
-
-void POA_IR::ArrayDef::_is_a_skel (
- TAO_ServerRequest &_tao_server_request,
- void * _tao_object_reference,
- void * /* context */,
- CORBA::Environment &ACE_TRY_ENV
- )
-{
- TAO_InputCDR &_tao_in = _tao_server_request.incoming ();
- POA_IR::ArrayDef *_tao_impl = (POA_IR::ArrayDef *) _tao_object_reference;
- CORBA::Boolean _tao_retval = 0;
- CORBA::String_var value;
- if (!((_tao_in >> value.out ())))
- ACE_THROW (CORBA::MARSHAL ());
-
- _tao_retval = _tao_impl->_is_a (value.in (), ACE_TRY_ENV);
- ACE_CHECK;
-
- _tao_server_request.init_reply ();
- TAO_OutputCDR &_tao_out = _tao_server_request.outgoing ();
- if (!((_tao_out << CORBA::Any::from_boolean (_tao_retval))))
- ACE_THROW (CORBA::MARSHAL ());
-}
-
-void POA_IR::ArrayDef::_non_existent_skel (
- TAO_ServerRequest &_tao_server_request,
- void * _tao_object_reference,
- void * /* context */,
- CORBA::Environment &ACE_TRY_ENV
- )
-{
- POA_IR::ArrayDef *_tao_impl = (POA_IR::ArrayDef *) _tao_object_reference;
- CORBA::Boolean _tao_retval = _tao_impl->_non_existent (ACE_TRY_ENV);
- ACE_CHECK;
-
- _tao_server_request.init_reply ();
- TAO_OutputCDR &_tao_out = _tao_server_request.outgoing ();
- if (!((_tao_out << CORBA::Any::from_boolean (_tao_retval))))
- ACE_THROW (CORBA::MARSHAL ());
-}
-
-CORBA::Boolean POA_IR::ArrayDef::_is_a (
- const char* value,
- CORBA::Environment &ACE_TRY_ENV
- )
-{
- if (
- (!ACE_OS::strcmp ((char *)value, "IDL:omg.org/IR/ArrayDef:1.0")) ||
- (!ACE_OS::strcmp ((char *)value, "IDL:omg.org/IR/IDLType:1.0")) ||
- (!ACE_OS::strcmp ((char *)value, "IDL:omg.org/CORBA/IRObject:1.0")) ||
- (!ACE_OS::strcmp ((char *)value, CORBA::_tc_Object->id (ACE_TRY_ENV))))
- return 1;
- else
- return 0;
-}
-
-void* POA_IR::ArrayDef::_downcast (
- const char* logical_type_id
- )
-{
- if (ACE_OS::strcmp (logical_type_id, "IDL:omg.org/IR/ArrayDef:1.0") == 0)
- return ACE_static_cast (POA_IR::ArrayDef_ptr, this);
- if (ACE_OS::strcmp (logical_type_id, "IDL:omg.org/IR/IDLType:1.0") == 0)
- return ACE_static_cast (POA_IR::IDLType_ptr, this);
- if (ACE_OS::strcmp (logical_type_id, "IDL:omg.org/CORBA/IRObject:1.0") == 0)
- return ACE_static_cast (POA_CORBA_IRObject_ptr, this);
- if (ACE_OS::strcmp (logical_type_id, "IDL:omg.org/CORBA/Object:1.0") == 0)
- return ACE_static_cast(PortableServer::Servant, this);
- return 0;
-}
-
-void POA_IR::ArrayDef::_dispatch (TAO_ServerRequest &req, void *context, CORBA::Environment &ACE_TRY_ENV)
-{
- this->synchronous_upcall_dispatch(req, context, this, ACE_TRY_ENV);
-}
-
-const char* POA_IR::ArrayDef::_interface_repository_id (void) const
-{
- return "IDL:omg.org/IR/ArrayDef:1.0";
-}
-
-IR::ArrayDef*
-POA_IR::ArrayDef::_this (CORBA_Environment &ACE_TRY_ENV)
-{
- TAO_Stub *stub = this->_create_stub (ACE_TRY_ENV);
- ACE_CHECK_RETURN (0);
-
- CORBA::Object_ptr tmp = CORBA::Object::_nil ();
-
- if (stub->servant_orb_var ()->orb_core ()->optimize_collocation_objects ())
- ACE_NEW_RETURN (tmp, CORBA::Object (stub, 1, this), 0);
- else
- ACE_NEW_RETURN (tmp, CORBA::Object (stub, 0, this), 0);
-
- CORBA::Object_var obj = tmp;
- return IR_ArrayDef::_unchecked_narrow (obj.in ());
-}
-
-#if (TAO_HAS_INTERCEPTORS == 1)
-POA_IR::ArrayDef::TAO_ServerRequestInfo_IR_ArrayDef_length_get::TAO_ServerRequestInfo_IR_ArrayDef_length_get (
- TAO_ServerRequest &_tao_server_request,
- POA_IR::ArrayDef *tao_impl,
- CORBA::Environment &
- )
- : TAO_ServerRequestInfo (_tao_server_request),
- _tao_impl (tao_impl)
-{}
-
-Dynamic::ParameterList *
-POA_IR::ArrayDef::TAO_ServerRequestInfo_IR_ArrayDef_length_get::arguments (CORBA::Environment &ACE_TRY_ENV)
- ACE_THROW_SPEC ((CORBA::SystemException))
-{
- // Generate the argument list on demand.
- Dynamic::ParameterList *parameter_list =
- TAO_RequestInfo_Util::make_parameter_list (ACE_TRY_ENV);
- ACE_CHECK_RETURN (0);
-
- return parameter_list;
-}
-
-Dynamic::ExceptionList *
-POA_IR::ArrayDef::TAO_ServerRequestInfo_IR_ArrayDef_length_get::exceptions (CORBA::Environment &ACE_TRY_ENV)
- ACE_THROW_SPEC ((CORBA::SystemException))
-{
- // Generate the exception list on demand.
- Dynamic::ExceptionList *exception_list =
- TAO_RequestInfo_Util::make_exception_list (ACE_TRY_ENV);
- ACE_CHECK_RETURN (0);
-
- return exception_list;
-}
-
-CORBA::Any *
-POA_IR::ArrayDef::TAO_ServerRequestInfo_IR_ArrayDef_length_get::result (CORBA::Environment &ACE_TRY_ENV)
- ACE_THROW_SPEC ((CORBA::SystemException))
-{
- // Generate the result on demand.
- CORBA::Boolean tk_void_any = 0;
- CORBA::Any *result_any =
- TAO_RequestInfo_Util::make_any (tk_void_any, ACE_TRY_ENV);
- ACE_CHECK_RETURN (0);
-
- CORBA::Any_var safe_result_any = result_any;
-
- (*result_any) <<= this->_result;
-
- return safe_result_any._retn ();
-}
-
-char *
-POA_IR::ArrayDef::TAO_ServerRequestInfo_IR_ArrayDef_length_get::target_most_derived_interface (
- CORBA::Environment &)
- ACE_THROW_SPEC ((CORBA::SystemException))
-{
- return
- CORBA::string_dup (this->_tao_impl->_interface_repository_id ());
-}
-
-CORBA::Boolean
-POA_IR::ArrayDef::TAO_ServerRequestInfo_IR_ArrayDef_length_get::target_is_a (
- const char * id,
- CORBA::Environment &ACE_TRY_ENV)
- ACE_THROW_SPEC ((CORBA::SystemException))
-{
- return this->_tao_impl->_is_a (id, ACE_TRY_ENV);
-}
-
-void
-POA_IR::ArrayDef::TAO_ServerRequestInfo_IR_ArrayDef_length_get::result (CORBA::ULong result)
-{
- // Update the result.
- this->_result = result;
-}
-
-POA_IR::ArrayDef::TAO_ServerRequestInfo_IR_ArrayDef_length_set::TAO_ServerRequestInfo_IR_ArrayDef_length_set (
- TAO_ServerRequest &_tao_server_request,
- POA_IR::ArrayDef *tao_impl,
- const CORBA::ULong & length,
- CORBA::Environment &
- )
- : TAO_ServerRequestInfo (_tao_server_request),
- _tao_impl (tao_impl),
- length_ (length)
-{}
-
-Dynamic::ParameterList *
-POA_IR::ArrayDef::TAO_ServerRequestInfo_IR_ArrayDef_length_set::arguments (CORBA::Environment &ACE_TRY_ENV)
- ACE_THROW_SPEC ((CORBA::SystemException))
-{
- // Generate the argument list on demand.
- Dynamic::ParameterList *parameter_list =
- TAO_RequestInfo_Util::make_parameter_list (ACE_TRY_ENV);
- ACE_CHECK_RETURN (0);
-
- Dynamic::ParameterList_var safe_parameter_list = parameter_list;
-
- CORBA::ULong length_length = parameter_list->length ();
- parameter_list->length (length_length + 1);
- (*parameter_list)[length_length].argument <<= length_;
- (*parameter_list)[length_length].mode = Dynamic::PARAM_IN;
-
- return safe_parameter_list._retn ();
-}
-
-Dynamic::ExceptionList *
-POA_IR::ArrayDef::TAO_ServerRequestInfo_IR_ArrayDef_length_set::exceptions (CORBA::Environment &ACE_TRY_ENV)
- ACE_THROW_SPEC ((CORBA::SystemException))
-{
- // Generate the exception list on demand.
- Dynamic::ExceptionList *exception_list =
- TAO_RequestInfo_Util::make_exception_list (ACE_TRY_ENV);
- ACE_CHECK_RETURN (0);
-
- return exception_list;
-}
-
-CORBA::Any *
-POA_IR::ArrayDef::TAO_ServerRequestInfo_IR_ArrayDef_length_set::result (CORBA::Environment &ACE_TRY_ENV)
- ACE_THROW_SPEC ((CORBA::SystemException))
-{
- // Generate the result on demand.
- CORBA::Boolean tk_void_any = 1;
- CORBA::Any *result_any =
- TAO_RequestInfo_Util::make_any (tk_void_any, ACE_TRY_ENV);
- ACE_CHECK_RETURN (0);
-
- return result_any;
-}
-
-char *
-POA_IR::ArrayDef::TAO_ServerRequestInfo_IR_ArrayDef_length_set::target_most_derived_interface (
- CORBA::Environment &)
- ACE_THROW_SPEC ((CORBA::SystemException))
-{
- return
- CORBA::string_dup (this->_tao_impl->_interface_repository_id ());
-}
-
-CORBA::Boolean
-POA_IR::ArrayDef::TAO_ServerRequestInfo_IR_ArrayDef_length_set::target_is_a (
- const char * id,
- CORBA::Environment &ACE_TRY_ENV)
- ACE_THROW_SPEC ((CORBA::SystemException))
-{
- return this->_tao_impl->_is_a (id, ACE_TRY_ENV);
-}
-
-POA_IR::ArrayDef::TAO_ServerRequestInfo_IR_ArrayDef_element_type_get::TAO_ServerRequestInfo_IR_ArrayDef_element_type_get (
- TAO_ServerRequest &_tao_server_request,
- POA_IR::ArrayDef *tao_impl,
- CORBA::Environment &
- )
- : TAO_ServerRequestInfo (_tao_server_request),
- _tao_impl (tao_impl)
-{}
-
-Dynamic::ParameterList *
-POA_IR::ArrayDef::TAO_ServerRequestInfo_IR_ArrayDef_element_type_get::arguments (CORBA::Environment &ACE_TRY_ENV)
- ACE_THROW_SPEC ((CORBA::SystemException))
-{
- // Generate the argument list on demand.
- Dynamic::ParameterList *parameter_list =
- TAO_RequestInfo_Util::make_parameter_list (ACE_TRY_ENV);
- ACE_CHECK_RETURN (0);
-
- return parameter_list;
-}
-
-Dynamic::ExceptionList *
-POA_IR::ArrayDef::TAO_ServerRequestInfo_IR_ArrayDef_element_type_get::exceptions (CORBA::Environment &ACE_TRY_ENV)
- ACE_THROW_SPEC ((CORBA::SystemException))
-{
- // Generate the exception list on demand.
- Dynamic::ExceptionList *exception_list =
- TAO_RequestInfo_Util::make_exception_list (ACE_TRY_ENV);
- ACE_CHECK_RETURN (0);
-
- return exception_list;
-}
-
-CORBA::Any *
-POA_IR::ArrayDef::TAO_ServerRequestInfo_IR_ArrayDef_element_type_get::result (CORBA::Environment &ACE_TRY_ENV)
- ACE_THROW_SPEC ((CORBA::SystemException))
-{
- // Generate the result on demand.
- CORBA::Boolean tk_void_any = 0;
- CORBA::Any *result_any =
- TAO_RequestInfo_Util::make_any (tk_void_any, ACE_TRY_ENV);
- ACE_CHECK_RETURN (0);
-
- CORBA::Any_var safe_result_any = result_any;
-
- (*result_any) <<= this->_result;
-
- return safe_result_any._retn ();
-}
-
-char *
-POA_IR::ArrayDef::TAO_ServerRequestInfo_IR_ArrayDef_element_type_get::target_most_derived_interface (
- CORBA::Environment &)
- ACE_THROW_SPEC ((CORBA::SystemException))
-{
- return
- CORBA::string_dup (this->_tao_impl->_interface_repository_id ());
-}
-
-CORBA::Boolean
-POA_IR::ArrayDef::TAO_ServerRequestInfo_IR_ArrayDef_element_type_get::target_is_a (
- const char * id,
- CORBA::Environment &ACE_TRY_ENV)
- ACE_THROW_SPEC ((CORBA::SystemException))
-{
- return this->_tao_impl->_is_a (id, ACE_TRY_ENV);
-}
-
-void
-POA_IR::ArrayDef::TAO_ServerRequestInfo_IR_ArrayDef_element_type_get::result (CORBA::TypeCode_ptr result)
-{
- // Update the result.
- this->_result = result;
-}
-
-POA_IR::ArrayDef::TAO_ServerRequestInfo_IR_ArrayDef_element_type_def_get::TAO_ServerRequestInfo_IR_ArrayDef_element_type_def_get (
- TAO_ServerRequest &_tao_server_request,
- POA_IR::ArrayDef *tao_impl,
- CORBA::Environment &
- )
- : TAO_ServerRequestInfo (_tao_server_request),
- _tao_impl (tao_impl)
-{}
-
-Dynamic::ParameterList *
-POA_IR::ArrayDef::TAO_ServerRequestInfo_IR_ArrayDef_element_type_def_get::arguments (CORBA::Environment &ACE_TRY_ENV)
- ACE_THROW_SPEC ((CORBA::SystemException))
-{
- // Generate the argument list on demand.
- Dynamic::ParameterList *parameter_list =
- TAO_RequestInfo_Util::make_parameter_list (ACE_TRY_ENV);
- ACE_CHECK_RETURN (0);
-
- return parameter_list;
-}
-
-Dynamic::ExceptionList *
-POA_IR::ArrayDef::TAO_ServerRequestInfo_IR_ArrayDef_element_type_def_get::exceptions (CORBA::Environment &ACE_TRY_ENV)
- ACE_THROW_SPEC ((CORBA::SystemException))
-{
- // Generate the exception list on demand.
- Dynamic::ExceptionList *exception_list =
- TAO_RequestInfo_Util::make_exception_list (ACE_TRY_ENV);
- ACE_CHECK_RETURN (0);
-
- return exception_list;
-}
-
-CORBA::Any *
-POA_IR::ArrayDef::TAO_ServerRequestInfo_IR_ArrayDef_element_type_def_get::result (CORBA::Environment &ACE_TRY_ENV)
- ACE_THROW_SPEC ((CORBA::SystemException))
-{
- // Generate the result on demand.
- CORBA::Boolean tk_void_any = 0;
- CORBA::Any *result_any =
- TAO_RequestInfo_Util::make_any (tk_void_any, ACE_TRY_ENV);
- ACE_CHECK_RETURN (0);
-
- CORBA::Any_var safe_result_any = result_any;
-
- (*result_any) <<= this->_result;
-
- return safe_result_any._retn ();
-}
-
-char *
-POA_IR::ArrayDef::TAO_ServerRequestInfo_IR_ArrayDef_element_type_def_get::target_most_derived_interface (
- CORBA::Environment &)
- ACE_THROW_SPEC ((CORBA::SystemException))
-{
- return
- CORBA::string_dup (this->_tao_impl->_interface_repository_id ());
-}
-
-CORBA::Boolean
-POA_IR::ArrayDef::TAO_ServerRequestInfo_IR_ArrayDef_element_type_def_get::target_is_a (
- const char * id,
- CORBA::Environment &ACE_TRY_ENV)
- ACE_THROW_SPEC ((CORBA::SystemException))
-{
- return this->_tao_impl->_is_a (id, ACE_TRY_ENV);
-}
-
-void
-POA_IR::ArrayDef::TAO_ServerRequestInfo_IR_ArrayDef_element_type_def_get::result (IR::IDLType_ptr result)
-{
- // Update the result.
- this->_result = result;
-}
-
-POA_IR::ArrayDef::TAO_ServerRequestInfo_IR_ArrayDef_element_type_def_set::TAO_ServerRequestInfo_IR_ArrayDef_element_type_def_set (
- TAO_ServerRequest &_tao_server_request,
- POA_IR::ArrayDef *tao_impl,
- IR_IDLType_ptr element_type_def,
- CORBA::Environment &
- )
- : TAO_ServerRequestInfo (_tao_server_request),
- _tao_impl (tao_impl),
- element_type_def_ (element_type_def)
-{}
-
-Dynamic::ParameterList *
-POA_IR::ArrayDef::TAO_ServerRequestInfo_IR_ArrayDef_element_type_def_set::arguments (CORBA::Environment &ACE_TRY_ENV)
- ACE_THROW_SPEC ((CORBA::SystemException))
-{
- // Generate the argument list on demand.
- Dynamic::ParameterList *parameter_list =
- TAO_RequestInfo_Util::make_parameter_list (ACE_TRY_ENV);
- ACE_CHECK_RETURN (0);
-
- Dynamic::ParameterList_var safe_parameter_list = parameter_list;
-
- CORBA::ULong length_element_type_def = parameter_list->length ();
- parameter_list->length (length_element_type_def + 1);
- (*parameter_list)[length_element_type_def].argument <<= this->element_type_def_;
-
- (*parameter_list)[length_element_type_def].mode = Dynamic::PARAM_IN;
-
- return safe_parameter_list._retn ();
-}
-
-Dynamic::ExceptionList *
-POA_IR::ArrayDef::TAO_ServerRequestInfo_IR_ArrayDef_element_type_def_set::exceptions (CORBA::Environment &ACE_TRY_ENV)
- ACE_THROW_SPEC ((CORBA::SystemException))
-{
- // Generate the exception list on demand.
- Dynamic::ExceptionList *exception_list =
- TAO_RequestInfo_Util::make_exception_list (ACE_TRY_ENV);
- ACE_CHECK_RETURN (0);
-
- return exception_list;
-}
-
-CORBA::Any *
-POA_IR::ArrayDef::TAO_ServerRequestInfo_IR_ArrayDef_element_type_def_set::result (CORBA::Environment &ACE_TRY_ENV)
- ACE_THROW_SPEC ((CORBA::SystemException))
-{
- // Generate the result on demand.
- CORBA::Boolean tk_void_any = 1;
- CORBA::Any *result_any =
- TAO_RequestInfo_Util::make_any (tk_void_any, ACE_TRY_ENV);
- ACE_CHECK_RETURN (0);
-
- return result_any;
-}
-
-char *
-POA_IR::ArrayDef::TAO_ServerRequestInfo_IR_ArrayDef_element_type_def_set::target_most_derived_interface (
- CORBA::Environment &)
- ACE_THROW_SPEC ((CORBA::SystemException))
-{
- return
- CORBA::string_dup (this->_tao_impl->_interface_repository_id ());
-}
-
-CORBA::Boolean
-POA_IR::ArrayDef::TAO_ServerRequestInfo_IR_ArrayDef_element_type_def_set::target_is_a (
- const char * id,
- CORBA::Environment &ACE_TRY_ENV)
- ACE_THROW_SPEC ((CORBA::SystemException))
-{
- return this->_tao_impl->_is_a (id, ACE_TRY_ENV);
-}
-
-#endif /* TAO_HAS_INTERCEPTORS */
-
-class TAO_IR_ExceptionDef_Perfect_Hash_OpTable : public TAO_Perfect_Hash_OpTable
-{
-private:
- unsigned int hash (const char *str, unsigned int len);
-public:
- const TAO_operation_db_entry * lookup (const char *str, unsigned int len);
-};
-/* starting time is 11:23:10 */
-/* C++ code produced by gperf version 2.8 (ACE version) */
-/* Command-line: gperf -m -M -J -c -C -D -E -T -f 0 -F 0 -a -o -t -p -K opname_ -L C++ -Z TAO_IR_ExceptionDef_Perfect_Hash_OpTable -N lookup */
-unsigned int
-TAO_IR_ExceptionDef_Perfect_Hash_OpTable::hash (const char *str, unsigned int len)
-{
- static const unsigned char asso_values[] =
- {
-#if defined (ACE_MVS)
- 52, 52, 52, 52, 52, 52, 52, 52, 52, 52,
- 52, 52, 52, 52, 52, 52, 52, 52, 52, 52,
- 52, 52, 52, 52, 52, 52, 52, 52, 52, 52,
- 52, 52, 52, 52, 52, 52, 52, 52, 52, 52,
- 52, 52, 52, 52, 52, 52, 52, 52, 52, 52,
- 52, 52, 52, 52, 52, 52, 52, 52, 52, 52,
- 52, 52, 52, 52, 52, 52, 52, 52, 52, 52,
- 52, 52, 52, 52, 52, 52, 52, 52, 52, 52,
- 52, 52, 52, 52, 52, 52, 52, 52, 52, 52,
- 52, 52, 52, 52, 52, 52, 52, 52, 52, 52,
- 52, 52, 52, 52, 52, 52, 52, 52, 52, 0,
- 52, 52, 52, 52, 52, 52, 52, 52, 52, 52,
- 52, 52, 52, 52, 52, 52, 52, 52, 52, 0,
- 52, 20, 3, 0, 52, 52, 52, 52, 52, 52,
- 52, 52, 52, 52, 52, 52, 52, 10, 15, 5,
- 52, 10, 52, 52, 52, 52, 52, 52, 52, 52,
- 52, 52, 15, 15, 52, 52, 52, 15, 5, 52,
- 52, 52, 52, 52, 52, 52, 52, 52, 52, 52,
- 52, 52, 52, 52, 52, 52, 52, 52, 52, 52,
- 52, 52, 52, 52, 52, 52, 52, 52, 52, 52,
- 52, 52, 52, 52, 52, 52, 52, 52, 52, 52,
- 52, 52, 52, 52, 52, 52, 52, 52, 52, 52,
- 52, 52, 52, 52, 52, 52, 52, 52, 52, 52,
- 52, 52, 52, 52, 52, 52, 52, 52, 52, 52,
- 52, 52, 52, 52, 52, 52, 52, 52, 52, 52,
- 52, 52, 52, 52, 52, 52,
-#else
- 52, 52, 52, 52, 52, 52, 52, 52, 52, 52,
- 52, 52, 52, 52, 52, 52, 52, 52, 52, 52,
- 52, 52, 52, 52, 52, 52, 52, 52, 52, 52,
- 52, 52, 52, 52, 52, 52, 52, 52, 52, 52,
- 52, 52, 52, 52, 52, 52, 52, 52, 52, 52,
- 52, 52, 52, 52, 52, 52, 52, 52, 52, 52,
- 52, 52, 52, 52, 52, 52, 52, 52, 52, 52,
- 52, 52, 52, 52, 52, 52, 52, 52, 52, 52,
- 52, 52, 52, 52, 52, 52, 52, 52, 52, 52,
- 52, 52, 52, 52, 52, 0, 52, 0, 52, 20,
- 3, 0, 52, 52, 52, 52, 52, 52, 10, 15,
- 5, 52, 10, 52, 52, 15, 15, 52, 52, 52,
- 15, 5, 52, 52, 52, 52, 52, 52,
-#endif /* ACE_MVS */
- };
- return len + asso_values[str[len - 1]] + asso_values[str[0]];
-}
-
-const class TAO_operation_db_entry *
-TAO_IR_ExceptionDef_Perfect_Hash_OpTable::lookup (const char *str, unsigned int len)
-{
- enum
- {
- TOTAL_KEYWORDS = 33,
- MIN_WORD_LENGTH = 4,
- MAX_WORD_LENGTH = 26,
- MIN_HASH_VALUE = 5,
- MAX_HASH_VALUE = 51,
- HASH_VALUE_RANGE = 47,
- DUPLICATES = 7
- };
-
- static const class TAO_operation_db_entry wordlist[] =
- {
- {"",0},{"",0},{"",0},{"",0},{"",0},
- {"_is_a", &POA_IR::ExceptionDef::_is_a_skel},
- {"_get_type", &POA_IR::ExceptionDef::_get_type_skel},
- {"_set_name", &POA_IR::ExceptionDef::_set_name_skel},
- {"_get_name", &POA_IR::ExceptionDef::_get_name_skel},
- {"_get_id", &POA_IR::ExceptionDef::_get_id_skel},
- {"_set_id", &POA_IR::ExceptionDef::_set_id_skel},
- {"describe", &POA_IR::ExceptionDef::describe_skel},
- {"destroy", &POA_IR::ExceptionDef::destroy_skel},
- {"_get_def_kind", &POA_IR::ExceptionDef::_get_def_kind_skel},
- {"_get_version", &POA_IR::ExceptionDef::_get_version_skel},
- {"_set_version", &POA_IR::ExceptionDef::_set_version_skel},
- {"_get_absolute_name", &POA_IR::ExceptionDef::_get_absolute_name_skel},
- {"move", &POA_IR::ExceptionDef::move_skel},
- {"_get_defined_in", &POA_IR::ExceptionDef::_get_defined_in_skel},
- {"lookup_name", &POA_IR::ExceptionDef::lookup_name_skel},
- {"lookup", &POA_IR::ExceptionDef::lookup_skel},
- {"_get_members", &POA_IR::ExceptionDef::_get_members_skel},
- {"_set_members", &POA_IR::ExceptionDef::_set_members_skel},
- {"_non_existent", &POA_IR::ExceptionDef::_non_existent_skel},
- {"_get_containing_repository", &POA_IR::ExceptionDef::_get_containing_repository_skel},
- {"create_value", &POA_IR::ExceptionDef::create_value_skel},
- {"create_module", &POA_IR::ExceptionDef::create_module_skel},
- {"create_native", &POA_IR::ExceptionDef::create_native_skel},
- {"describe_contents", &POA_IR::ExceptionDef::describe_contents_skel},
- {"create_interface", &POA_IR::ExceptionDef::create_interface_skel},
- {"create_union", &POA_IR::ExceptionDef::create_union_skel},
- {"create_exception", &POA_IR::ExceptionDef::create_exception_skel},
- {"contents", &POA_IR::ExceptionDef::contents_skel},
- {"create_enum", &POA_IR::ExceptionDef::create_enum_skel},
- {"create_alias", &POA_IR::ExceptionDef::create_alias_skel},
- {"create_struct", &POA_IR::ExceptionDef::create_struct_skel},
- {"create_constant", &POA_IR::ExceptionDef::create_constant_skel},
- {"create_value_box", &POA_IR::ExceptionDef::create_value_box_skel},
- };
-
- static const signed char lookup[] =
- {
- -1, -1, -1, -6, -3, 5, -1, -9, -2, -57, -54, 11, -1, -14,
- -2, 12, 13, -55, 16, 17, 18, 19, -1, -1, -21, -2, 20, -54,
- 23, -26, -2, 24, 25, -55, -1, 28, 29, 30, -1, -1, -1, 31,
- -1, 32, -1, -1, 33, 34, 35, -1, 36, 37,
- };
-
- if (len <= MAX_WORD_LENGTH && len >= MIN_WORD_LENGTH)
- {
- unsigned int key = hash (str, len);
-
- if (key <= MAX_HASH_VALUE && key >= MIN_HASH_VALUE)
- {
- int slot = lookup[key];
-
- if (slot >= 0 && slot < MAX_HASH_VALUE)
- {
- const char *s = wordlist[slot].opname_;
-
- if (*str == *s && !strncmp (str + 1, s + 1, len - 1))
- return &wordlist[slot];
- }
- else if (slot < 0 && slot >= -MAX_HASH_VALUE)
- return 0;
- else
- {
- unsigned int offset = key + slot + (slot > 0 ? -MAX_HASH_VALUE : MAX_HASH_VALUE);
- const class TAO_operation_db_entry *base = &wordlist[-lookup[offset]];
- const class TAO_operation_db_entry *ptr = base + -lookup[offset + 1];
-
- while (--ptr >= base)
- if (*str == *ptr->opname_ && !strncmp (str + 1, ptr->opname_ + 1, len - 1))
- return ptr;
- }
- }
- }
- return 0;
-}
-/* ending time is 11:23:10 */
-static TAO_IR_ExceptionDef_Perfect_Hash_OpTable tao_IR_ExceptionDef_optable;
-
-///////////////////////////////////////////////////////////////////////
-// Strategized Proxy Broker Implementation
-//
-
-// Factory function Implementation.
-POA_IR::_TAO_ExceptionDef_Strategized_Proxy_Broker *POA_IR::_TAO_ExceptionDef_Strategized_Proxy_Broker::the_TAO_ExceptionDef_Strategized_Proxy_Broker (void)
-{
- static POA_IR::_TAO_ExceptionDef_Strategized_Proxy_Broker strategized_proxy_broker;
- return &strategized_proxy_broker;
-}
-
-POA_IR::_TAO_ExceptionDef_Strategized_Proxy_Broker::_TAO_ExceptionDef_Strategized_Proxy_Broker (void)
-{
- for (int i = 0; i < TAO_Collocation_Strategies::CS_LAST; ++i)
- this->proxy_cache_[i] = 0;
-
-}
-
-POA_IR::_TAO_ExceptionDef_Strategized_Proxy_Broker::~_TAO_ExceptionDef_Strategized_Proxy_Broker (void)
-{
- for (int i = 0; i < TAO_Collocation_Strategies::CS_LAST; ++i)
- delete this->proxy_cache_[i];
-
-}
-
-_TAO_ExceptionDef_Proxy_Impl&
-POA_IR::_TAO_ExceptionDef_Strategized_Proxy_Broker::select_proxy (
- IR_ExceptionDef *object,
- CORBA::Environment &ACE_TRY_ENV
- )
-{
- int strategy =
- TAO_ORB_Core::collocation_strategy (object);
-
- if (this->proxy_cache_[strategy] != 0)
- return *this->proxy_cache_[strategy];
-
- this->create_proxy (strategy, ACE_TRY_ENV);
- ACE_CHECK_RETURN (*this->proxy_cache_[strategy]);
-
- return *this->proxy_cache_[strategy];
-
-}
-
-void
-POA_IR::_TAO_ExceptionDef_Strategized_Proxy_Broker::create_proxy (
- int strategy,
- CORBA::Environment &ACE_TRY_ENV
- )
-{
- ACE_GUARD (TAO_SYNCH_MUTEX, guard, this->mutex_);
-
- if (this->proxy_cache_[strategy] == 0)
- {
- switch (strategy)
- {
- case TAO_Collocation_Strategies::CS_THRU_POA_STRATEGY:
- ACE_NEW_THROW_EX (
- this->proxy_cache_[strategy],
- _TAO_ExceptionDef_ThruPOA_Proxy_Impl,
- CORBA::NO_MEMORY ()
- );
- ACE_CHECK;
- break;
-
- case TAO_Collocation_Strategies::CS_REMOTE_STRATEGY:
- default:
- ACE_NEW_THROW_EX (
- this->proxy_cache_[strategy],
- _TAO_ExceptionDef_Remote_Proxy_Impl,
- CORBA::NO_MEMORY ()
- );
- ACE_CHECK;
- break;
-
- }
-
- }
-}
-
-
-//
-// End Strategized Proxy Broker Implementation
-///////////////////////////////////////////////////////////////////////
-
-
-_TAO_ExceptionDef_Proxy_Broker *
-_TAO_ExceptionDef_Proxy_Broker_Factory_function (CORBA::Object_ptr obj)
-{
- ACE_UNUSED_ARG (obj);
- return ::POA_IR::_TAO_ExceptionDef_Strategized_Proxy_Broker::the_TAO_ExceptionDef_Strategized_Proxy_Broker();
-}
-
-int
-_TAO_ExceptionDef_Proxy_Broker_Factory_Initializer (long _dummy_)
-{
- ACE_UNUSED_ARG (_dummy_);
-
- _TAO_ExceptionDef_Proxy_Broker_Factory_function_pointer =
- _TAO_ExceptionDef_Proxy_Broker_Factory_function;
-
- return 0;
-}
-
-static int _TAO_ExceptionDef_Proxy_Broker_Stub_Factory_Initializer_Scarecrow =
- _TAO_ExceptionDef_Proxy_Broker_Factory_Initializer (ACE_reinterpret_cast (long, _TAO_ExceptionDef_Proxy_Broker_Factory_Initializer));
-
-
-///////////////////////////////////////////////////////////////////////
-// ThruPOA Proxy Implementation
-//
-
-POA_IR::_TAO_ExceptionDef_ThruPOA_Proxy_Impl::_TAO_ExceptionDef_ThruPOA_Proxy_Impl (void)
-{}
-
-// ThruPOA Implementation of the IDL interface methods
-
-CORBA::TypeCode_ptr POA_IR::_TAO_ExceptionDef_ThruPOA_Proxy_Impl::type (
- CORBA_Object *_collocated_tao_target_,
- CORBA::Environment &ACE_TRY_ENV
- )
- ACE_THROW_SPEC ((
- CORBA::SystemException
- ))
-{
- CORBA::TypeCode_var _tao_retval;
- ACE_UNUSED_ARG (_tao_retval);
- TAO_Object_Adapter::Servant_Upcall servant_upcall (
- _collocated_tao_target_->_stubobj ()->servant_orb_var ()->orb_core ()
- );
- CORBA::Object_var forward_to;
- servant_upcall.prepare_for_upcall (
- _collocated_tao_target_->_object_key (),
- "type",
- forward_to.out (),
- ACE_TRY_ENV
- );
- ACE_CHECK_RETURN (0);
- return ACE_reinterpret_cast (
- POA_IR::ExceptionDef_ptr,
- servant_upcall.servant ()->_downcast (
- "IDL:omg.org/IR/ExceptionDef:1.0"
- )
- )->type (
- ACE_TRY_ENV
- );
-}
-
-IR_StructMemberSeq * POA_IR::_TAO_ExceptionDef_ThruPOA_Proxy_Impl::members (
- CORBA_Object *_collocated_tao_target_,
- CORBA::Environment &ACE_TRY_ENV
- )
- ACE_THROW_SPEC ((
- CORBA::SystemException
- ))
-{
- IR_StructMemberSeq_var _tao_retval;
- ACE_UNUSED_ARG (_tao_retval);
- TAO_Object_Adapter::Servant_Upcall servant_upcall (
- _collocated_tao_target_->_stubobj ()->servant_orb_var ()->orb_core ()
- );
- CORBA::Object_var forward_to;
- servant_upcall.prepare_for_upcall (
- _collocated_tao_target_->_object_key (),
- "members",
- forward_to.out (),
- ACE_TRY_ENV
- );
- ACE_CHECK_RETURN (0);
- return ACE_reinterpret_cast (
- POA_IR::ExceptionDef_ptr,
- servant_upcall.servant ()->_downcast (
- "IDL:omg.org/IR/ExceptionDef:1.0"
- )
- )->members (
- ACE_TRY_ENV
- );
-}
-
-void POA_IR::_TAO_ExceptionDef_ThruPOA_Proxy_Impl::members (
- CORBA_Object *_collocated_tao_target_,
- const IR_StructMemberSeq & members,
- CORBA::Environment &ACE_TRY_ENV
- )
- ACE_THROW_SPEC ((
- CORBA::SystemException
- ))
-{
- TAO_Object_Adapter::Servant_Upcall servant_upcall (
- _collocated_tao_target_->_stubobj ()->servant_orb_var ()->orb_core ()
- );
- CORBA::Object_var forward_to;
- servant_upcall.prepare_for_upcall (
- _collocated_tao_target_->_object_key (),
- "members",
- forward_to.out (),
- ACE_TRY_ENV
- );
- ACE_CHECK;
- ACE_reinterpret_cast (
- POA_IR::ExceptionDef_ptr,
- servant_upcall.servant ()->_downcast (
- "IDL:omg.org/IR/ExceptionDef:1.0"
- )
- )->members (
- members,
- ACE_TRY_ENV
- );
- return;
-}
-
-//
-// End ThruPOA Proxy Implementation
-///////////////////////////////////////////////////////////////////////
-
-// skeleton constructor
-POA_IR::ExceptionDef::ExceptionDef (void)
-{
- this->optable_ = &tao_IR_ExceptionDef_optable;
-}
-
-// copy ctor
-POA_IR::ExceptionDef::ExceptionDef (const ExceptionDef& rhs)
- : ACE_NESTED_CLASS (POA_IR,Contained) (rhs),
- ACE_NESTED_CLASS (POA_IR,Container) (rhs),
- POA_CORBA_IRObject (rhs),
- TAO_ServantBase (rhs)
-{}
-
-// skeleton destructor
-POA_IR::ExceptionDef::~ExceptionDef (void)
-{
-}
-
-void POA_IR::ExceptionDef::_get_type_skel (
- TAO_ServerRequest &_tao_server_request,
- void *_tao_object_reference,
- void * /* context */,
- CORBA::Environment &ACE_TRY_ENV
-)
-{
- POA_IR::ExceptionDef *_tao_impl = (POA_IR::ExceptionDef *)_tao_object_reference;
-
- CORBA::TypeCode_var _tao_retval;
-
-#if (TAO_HAS_INTERCEPTORS == 1)
- TAO_ServerRequestInterceptor_Adapter _tao_vfr (
- _tao_server_request.orb_core ()->server_request_interceptors (),
- _tao_server_request.interceptor_count ()
- );
-
- POA_IR::ExceptionDef::TAO_ServerRequestInfo_IR_ExceptionDef_type_get ri (
- _tao_server_request,
- _tao_impl,
- ACE_TRY_ENV
- );
-
- ACE_TRY
- {
- _tao_vfr.receive_request (&ri, ACE_TRY_ENV);
- ACE_TRY_CHECK;
-
-#endif /* TAO_HAS_INTERCEPTORS */
- _tao_retval =
- _tao_impl->type (
- ACE_TRY_ENV
- );
- TAO_INTERCEPTOR_CHECK;
-
-#if (TAO_HAS_INTERCEPTORS == 1)
- CORBA::TypeCode_ptr _tao_retval_info = _tao_retval._retn ();
- ri.result (_tao_retval_info);
- _tao_retval = _tao_retval_info;
- ri.reply_status (PortableInterceptor::SUCCESSFUL);
- _tao_vfr.send_reply (&ri, ACE_TRY_ENV);
- ACE_TRY_CHECK;
- }
- ACE_CATCH (PortableInterceptor::ForwardRequest, exc)
- {
- ri.forward_reference (exc);
- _tao_vfr.send_other (
- &ri,
- ACE_TRY_ENV
- );
- ACE_TRY_CHECK;
- _tao_server_request.forward_location (exc.forward.in ());
- }
- ACE_CATCHANY
- {
- ri.exception (&ACE_ANY_EXCEPTION);
- _tao_vfr.send_exception (
- &ri,
- ACE_TRY_ENV
- );
- ACE_TRY_CHECK;
- ACE_RE_THROW;
- }
- ACE_ENDTRY;
- ACE_CHECK;
-#endif /* TAO_HAS_INTERCEPTORS */
-
- _tao_server_request.init_reply ();
-
- TAO_OutputCDR &_tao_out = _tao_server_request.outgoing ();
-
- if (!(
- (_tao_out << _tao_retval.in ())
- ))
- ACE_THROW (CORBA::MARSHAL());
-
- // In case ACE_TRY_ENV is not used in this function
- ACE_UNUSED_ARG (ACE_TRY_ENV);
-}
-
-void POA_IR::ExceptionDef::_get_members_skel (
- TAO_ServerRequest &_tao_server_request,
- void *_tao_object_reference,
- void * /* context */,
- CORBA::Environment &ACE_TRY_ENV
-)
-{
- POA_IR::ExceptionDef *_tao_impl = (POA_IR::ExceptionDef *)_tao_object_reference;
-
- IR_StructMemberSeq_var _tao_retval;
-
-#if (TAO_HAS_INTERCEPTORS == 1)
- TAO_ServerRequestInterceptor_Adapter _tao_vfr (
- _tao_server_request.orb_core ()->server_request_interceptors (),
- _tao_server_request.interceptor_count ()
- );
-
- POA_IR::ExceptionDef::TAO_ServerRequestInfo_IR_ExceptionDef_members_get ri (
- _tao_server_request,
- _tao_impl,
- ACE_TRY_ENV
- );
-
- ACE_TRY
- {
- _tao_vfr.receive_request (&ri, ACE_TRY_ENV);
- ACE_TRY_CHECK;
-
-#endif /* TAO_HAS_INTERCEPTORS */
- _tao_retval =
- _tao_impl->members (
- ACE_TRY_ENV
- );
- TAO_INTERCEPTOR_CHECK;
-
-#if (TAO_HAS_INTERCEPTORS == 1)
- IR_StructMemberSeq * _tao_retval_info = _tao_retval._retn ();
- ri.result (_tao_retval_info);
- _tao_retval = _tao_retval_info;
- ri.reply_status (PortableInterceptor::SUCCESSFUL);
- _tao_vfr.send_reply (&ri, ACE_TRY_ENV);
- ACE_TRY_CHECK;
- }
- ACE_CATCH (PortableInterceptor::ForwardRequest, exc)
- {
- ri.forward_reference (exc);
- _tao_vfr.send_other (
- &ri,
- ACE_TRY_ENV
- );
- ACE_TRY_CHECK;
- _tao_server_request.forward_location (exc.forward.in ());
- }
- ACE_CATCHANY
- {
- ri.exception (&ACE_ANY_EXCEPTION);
- _tao_vfr.send_exception (
- &ri,
- ACE_TRY_ENV
- );
- ACE_TRY_CHECK;
- ACE_RE_THROW;
- }
- ACE_ENDTRY;
- ACE_CHECK;
-#endif /* TAO_HAS_INTERCEPTORS */
-
- _tao_server_request.init_reply ();
-
- TAO_OutputCDR &_tao_out = _tao_server_request.outgoing ();
-
- if (!(
- (_tao_out << _tao_retval.in ())
- ))
- ACE_THROW (CORBA::MARSHAL());
-
- // In case ACE_TRY_ENV is not used in this function
- ACE_UNUSED_ARG (ACE_TRY_ENV);
-}
-
-void POA_IR::ExceptionDef::_set_members_skel (
- TAO_ServerRequest &_tao_server_request,
- void *_tao_object_reference,
- void * /* context */,
- CORBA::Environment &ACE_TRY_ENV
-)
-{
- TAO_InputCDR &_tao_in = _tao_server_request.incoming ();
- POA_IR::ExceptionDef *_tao_impl = (POA_IR::ExceptionDef *)_tao_object_reference;
-
- IR_StructMemberSeq members;
- if (!(
- (_tao_in >> members)
- ))
- ACE_THROW (CORBA::MARSHAL () );
-
-#if (TAO_HAS_INTERCEPTORS == 1)
- TAO_ServerRequestInterceptor_Adapter _tao_vfr (
- _tao_server_request.orb_core ()->server_request_interceptors (),
- _tao_server_request.interceptor_count ()
- );
-
- POA_IR::ExceptionDef::TAO_ServerRequestInfo_IR_ExceptionDef_members_set ri (
- _tao_server_request,
- _tao_impl,
- members,
- ACE_TRY_ENV
- );
-
- ACE_TRY
- {
- _tao_vfr.receive_request (&ri, ACE_TRY_ENV);
- ACE_TRY_CHECK;
-
-#endif /* TAO_HAS_INTERCEPTORS */
-
- _tao_impl->members (
- members,
- ACE_TRY_ENV
- );
- TAO_INTERCEPTOR_CHECK;
-
-#if (TAO_HAS_INTERCEPTORS == 1)
- ri.reply_status (PortableInterceptor::SUCCESSFUL);
- _tao_vfr.send_reply (&ri, ACE_TRY_ENV);
- ACE_TRY_CHECK;
- }
- ACE_CATCH (PortableInterceptor::ForwardRequest, exc)
- {
- ri.forward_reference (exc);
- _tao_vfr.send_other (
- &ri,
- ACE_TRY_ENV
- );
- ACE_TRY_CHECK;
- _tao_server_request.forward_location (exc.forward.in ());
- }
- ACE_CATCHANY
- {
- ri.exception (&ACE_ANY_EXCEPTION);
- _tao_vfr.send_exception (
- &ri,
- ACE_TRY_ENV
- );
- ACE_TRY_CHECK;
- ACE_RE_THROW;
- }
- ACE_ENDTRY;
- ACE_CHECK;
-#endif /* TAO_HAS_INTERCEPTORS */
-
- _tao_server_request.init_reply ();
-
- // In case ACE_TRY_ENV is not used in this function
- ACE_UNUSED_ARG (ACE_TRY_ENV);
-}
-
-void POA_IR::ExceptionDef::_is_a_skel (
- TAO_ServerRequest &_tao_server_request,
- void * _tao_object_reference,
- void * /* context */,
- CORBA::Environment &ACE_TRY_ENV
- )
-{
- TAO_InputCDR &_tao_in = _tao_server_request.incoming ();
- POA_IR::ExceptionDef *_tao_impl = (POA_IR::ExceptionDef *) _tao_object_reference;
- CORBA::Boolean _tao_retval = 0;
- CORBA::String_var value;
- if (!((_tao_in >> value.out ())))
- ACE_THROW (CORBA::MARSHAL ());
-
- _tao_retval = _tao_impl->_is_a (value.in (), ACE_TRY_ENV);
- ACE_CHECK;
-
- _tao_server_request.init_reply ();
- TAO_OutputCDR &_tao_out = _tao_server_request.outgoing ();
- if (!((_tao_out << CORBA::Any::from_boolean (_tao_retval))))
- ACE_THROW (CORBA::MARSHAL ());
-}
-
-void POA_IR::ExceptionDef::_non_existent_skel (
- TAO_ServerRequest &_tao_server_request,
- void * _tao_object_reference,
- void * /* context */,
- CORBA::Environment &ACE_TRY_ENV
- )
-{
- POA_IR::ExceptionDef *_tao_impl = (POA_IR::ExceptionDef *) _tao_object_reference;
- CORBA::Boolean _tao_retval = _tao_impl->_non_existent (ACE_TRY_ENV);
- ACE_CHECK;
-
- _tao_server_request.init_reply ();
- TAO_OutputCDR &_tao_out = _tao_server_request.outgoing ();
- if (!((_tao_out << CORBA::Any::from_boolean (_tao_retval))))
- ACE_THROW (CORBA::MARSHAL ());
-}
-
-CORBA::Boolean POA_IR::ExceptionDef::_is_a (
- const char* value,
- CORBA::Environment &ACE_TRY_ENV
- )
-{
- if (
- (!ACE_OS::strcmp ((char *)value, "IDL:omg.org/IR/ExceptionDef:1.0")) ||
- (!ACE_OS::strcmp ((char *)value, "IDL:omg.org/IR/Contained:1.0")) ||
- (!ACE_OS::strcmp ((char *)value, "IDL:omg.org/IR/Container:1.0")) ||
- (!ACE_OS::strcmp ((char *)value, "IDL:omg.org/CORBA/IRObject:1.0")) ||
- (!ACE_OS::strcmp ((char *)value, CORBA::_tc_Object->id (ACE_TRY_ENV))))
- return 1;
- else
- return 0;
-}
-
-void* POA_IR::ExceptionDef::_downcast (
- const char* logical_type_id
- )
-{
- if (ACE_OS::strcmp (logical_type_id, "IDL:omg.org/IR/ExceptionDef:1.0") == 0)
- return ACE_static_cast (POA_IR::ExceptionDef_ptr, this);
- if (ACE_OS::strcmp (logical_type_id, "IDL:omg.org/IR/Contained:1.0") == 0)
- return ACE_static_cast (POA_IR::Contained_ptr, this);
- if (ACE_OS::strcmp (logical_type_id, "IDL:omg.org/IR/Container:1.0") == 0)
- return ACE_static_cast (POA_IR::Container_ptr, this);
- if (ACE_OS::strcmp (logical_type_id, "IDL:omg.org/CORBA/IRObject:1.0") == 0)
- return ACE_static_cast (POA_CORBA_IRObject_ptr, this);
- if (ACE_OS::strcmp (logical_type_id, "IDL:omg.org/CORBA/Object:1.0") == 0)
- return ACE_static_cast(PortableServer::Servant, this);
- return 0;
-}
-
-void POA_IR::ExceptionDef::_dispatch (TAO_ServerRequest &req, void *context, CORBA::Environment &ACE_TRY_ENV)
-{
- this->synchronous_upcall_dispatch(req, context, this, ACE_TRY_ENV);
-}
-
-const char* POA_IR::ExceptionDef::_interface_repository_id (void) const
-{
- return "IDL:omg.org/IR/ExceptionDef:1.0";
-}
-
-#if (TAO_HAS_INTERCEPTORS == 1)
-POA_IR::ExceptionDef::TAO_ServerRequestInfo_IR_ExceptionDef_type_get::TAO_ServerRequestInfo_IR_ExceptionDef_type_get (
- TAO_ServerRequest &_tao_server_request,
- POA_IR::ExceptionDef *tao_impl,
- CORBA::Environment &
- )
- : TAO_ServerRequestInfo (_tao_server_request),
- _tao_impl (tao_impl)
-{}
-
-Dynamic::ParameterList *
-POA_IR::ExceptionDef::TAO_ServerRequestInfo_IR_ExceptionDef_type_get::arguments (CORBA::Environment &ACE_TRY_ENV)
- ACE_THROW_SPEC ((CORBA::SystemException))
-{
- // Generate the argument list on demand.
- Dynamic::ParameterList *parameter_list =
- TAO_RequestInfo_Util::make_parameter_list (ACE_TRY_ENV);
- ACE_CHECK_RETURN (0);
-
- return parameter_list;
-}
-
-Dynamic::ExceptionList *
-POA_IR::ExceptionDef::TAO_ServerRequestInfo_IR_ExceptionDef_type_get::exceptions (CORBA::Environment &ACE_TRY_ENV)
- ACE_THROW_SPEC ((CORBA::SystemException))
-{
- // Generate the exception list on demand.
- Dynamic::ExceptionList *exception_list =
- TAO_RequestInfo_Util::make_exception_list (ACE_TRY_ENV);
- ACE_CHECK_RETURN (0);
-
- return exception_list;
-}
-
-CORBA::Any *
-POA_IR::ExceptionDef::TAO_ServerRequestInfo_IR_ExceptionDef_type_get::result (CORBA::Environment &ACE_TRY_ENV)
- ACE_THROW_SPEC ((CORBA::SystemException))
-{
- // Generate the result on demand.
- CORBA::Boolean tk_void_any = 0;
- CORBA::Any *result_any =
- TAO_RequestInfo_Util::make_any (tk_void_any, ACE_TRY_ENV);
- ACE_CHECK_RETURN (0);
-
- CORBA::Any_var safe_result_any = result_any;
-
- (*result_any) <<= this->_result;
-
- return safe_result_any._retn ();
-}
-
-char *
-POA_IR::ExceptionDef::TAO_ServerRequestInfo_IR_ExceptionDef_type_get::target_most_derived_interface (
- CORBA::Environment &)
- ACE_THROW_SPEC ((CORBA::SystemException))
-{
- return
- CORBA::string_dup (this->_tao_impl->_interface_repository_id ());
-}
-
-CORBA::Boolean
-POA_IR::ExceptionDef::TAO_ServerRequestInfo_IR_ExceptionDef_type_get::target_is_a (
- const char * id,
- CORBA::Environment &ACE_TRY_ENV)
- ACE_THROW_SPEC ((CORBA::SystemException))
-{
- return this->_tao_impl->_is_a (id, ACE_TRY_ENV);
-}
-
-void
-POA_IR::ExceptionDef::TAO_ServerRequestInfo_IR_ExceptionDef_type_get::result (CORBA::TypeCode_ptr result)
-{
- // Update the result.
- this->_result = result;
-}
-
-POA_IR::ExceptionDef::TAO_ServerRequestInfo_IR_ExceptionDef_members_get::TAO_ServerRequestInfo_IR_ExceptionDef_members_get (
- TAO_ServerRequest &_tao_server_request,
- POA_IR::ExceptionDef *tao_impl,
- CORBA::Environment &
- )
- : TAO_ServerRequestInfo (_tao_server_request),
- _tao_impl (tao_impl)
-{}
-
-Dynamic::ParameterList *
-POA_IR::ExceptionDef::TAO_ServerRequestInfo_IR_ExceptionDef_members_get::arguments (CORBA::Environment &ACE_TRY_ENV)
- ACE_THROW_SPEC ((CORBA::SystemException))
-{
- // Generate the argument list on demand.
- Dynamic::ParameterList *parameter_list =
- TAO_RequestInfo_Util::make_parameter_list (ACE_TRY_ENV);
- ACE_CHECK_RETURN (0);
-
- return parameter_list;
-}
-
-Dynamic::ExceptionList *
-POA_IR::ExceptionDef::TAO_ServerRequestInfo_IR_ExceptionDef_members_get::exceptions (CORBA::Environment &ACE_TRY_ENV)
- ACE_THROW_SPEC ((CORBA::SystemException))
-{
- // Generate the exception list on demand.
- Dynamic::ExceptionList *exception_list =
- TAO_RequestInfo_Util::make_exception_list (ACE_TRY_ENV);
- ACE_CHECK_RETURN (0);
-
- return exception_list;
-}
-
-CORBA::Any *
-POA_IR::ExceptionDef::TAO_ServerRequestInfo_IR_ExceptionDef_members_get::result (CORBA::Environment &ACE_TRY_ENV)
- ACE_THROW_SPEC ((CORBA::SystemException))
-{
- // Generate the result on demand.
- CORBA::Boolean tk_void_any = 0;
- CORBA::Any *result_any =
- TAO_RequestInfo_Util::make_any (tk_void_any, ACE_TRY_ENV);
- ACE_CHECK_RETURN (0);
-
- CORBA::Any_var safe_result_any = result_any;
-
- (*result_any) <<= this->_result;
-
- return safe_result_any._retn ();
-}
-
-char *
-POA_IR::ExceptionDef::TAO_ServerRequestInfo_IR_ExceptionDef_members_get::target_most_derived_interface (
- CORBA::Environment &)
- ACE_THROW_SPEC ((CORBA::SystemException))
-{
- return
- CORBA::string_dup (this->_tao_impl->_interface_repository_id ());
-}
-
-CORBA::Boolean
-POA_IR::ExceptionDef::TAO_ServerRequestInfo_IR_ExceptionDef_members_get::target_is_a (
- const char * id,
- CORBA::Environment &ACE_TRY_ENV)
- ACE_THROW_SPEC ((CORBA::SystemException))
-{
- return this->_tao_impl->_is_a (id, ACE_TRY_ENV);
-}
-
-void
-POA_IR::ExceptionDef::TAO_ServerRequestInfo_IR_ExceptionDef_members_get::result (IR::StructMemberSeq * result)
-{
- // Update the result.
- this->_result = result;
-}
-
-POA_IR::ExceptionDef::TAO_ServerRequestInfo_IR_ExceptionDef_members_set::TAO_ServerRequestInfo_IR_ExceptionDef_members_set (
- TAO_ServerRequest &_tao_server_request,
- POA_IR::ExceptionDef *tao_impl,
- const IR_StructMemberSeq & members,
- CORBA::Environment &
- )
- : TAO_ServerRequestInfo (_tao_server_request),
- _tao_impl (tao_impl),
- members_ (members)
-{}
-
-Dynamic::ParameterList *
-POA_IR::ExceptionDef::TAO_ServerRequestInfo_IR_ExceptionDef_members_set::arguments (CORBA::Environment &ACE_TRY_ENV)
- ACE_THROW_SPEC ((CORBA::SystemException))
-{
- // Generate the argument list on demand.
- Dynamic::ParameterList *parameter_list =
- TAO_RequestInfo_Util::make_parameter_list (ACE_TRY_ENV);
- ACE_CHECK_RETURN (0);
-
- Dynamic::ParameterList_var safe_parameter_list = parameter_list;
-
- CORBA::ULong length_members = parameter_list->length ();
- parameter_list->length (length_members + 1);
- (*parameter_list)[length_members].argument <<= this->members_;
-
- (*parameter_list)[length_members].mode = Dynamic::PARAM_IN;
-
- return safe_parameter_list._retn ();
-}
-
-Dynamic::ExceptionList *
-POA_IR::ExceptionDef::TAO_ServerRequestInfo_IR_ExceptionDef_members_set::exceptions (CORBA::Environment &ACE_TRY_ENV)
- ACE_THROW_SPEC ((CORBA::SystemException))
-{
- // Generate the exception list on demand.
- Dynamic::ExceptionList *exception_list =
- TAO_RequestInfo_Util::make_exception_list (ACE_TRY_ENV);
- ACE_CHECK_RETURN (0);
-
- return exception_list;
-}
-
-CORBA::Any *
-POA_IR::ExceptionDef::TAO_ServerRequestInfo_IR_ExceptionDef_members_set::result (CORBA::Environment &ACE_TRY_ENV)
- ACE_THROW_SPEC ((CORBA::SystemException))
-{
- // Generate the result on demand.
- CORBA::Boolean tk_void_any = 1;
- CORBA::Any *result_any =
- TAO_RequestInfo_Util::make_any (tk_void_any, ACE_TRY_ENV);
- ACE_CHECK_RETURN (0);
-
- return result_any;
-}
-
-char *
-POA_IR::ExceptionDef::TAO_ServerRequestInfo_IR_ExceptionDef_members_set::target_most_derived_interface (
- CORBA::Environment &)
- ACE_THROW_SPEC ((CORBA::SystemException))
-{
- return
- CORBA::string_dup (this->_tao_impl->_interface_repository_id ());
-}
-
-CORBA::Boolean
-POA_IR::ExceptionDef::TAO_ServerRequestInfo_IR_ExceptionDef_members_set::target_is_a (
- const char * id,
- CORBA::Environment &ACE_TRY_ENV)
- ACE_THROW_SPEC ((CORBA::SystemException))
-{
- return this->_tao_impl->_is_a (id, ACE_TRY_ENV);
-}
-
-#endif /* TAO_HAS_INTERCEPTORS */
-
-class TAO_IR_AttributeDef_Perfect_Hash_OpTable : public TAO_Perfect_Hash_OpTable
-{
-private:
- unsigned int hash (const char *str, unsigned int len);
-public:
- const TAO_operation_db_entry * lookup (const char *str, unsigned int len);
-};
-/* starting time is 11:23:10 */
-/* C++ code produced by gperf version 2.8 (ACE version) */
-/* Command-line: gperf -m -M -J -c -C -D -E -T -f 0 -F 0 -a -o -t -p -K opname_ -L C++ -Z TAO_IR_AttributeDef_Perfect_Hash_OpTable -N lookup */
-unsigned int
-TAO_IR_AttributeDef_Perfect_Hash_OpTable::hash (const char *str, unsigned int len)
-{
- static const unsigned char asso_values[] =
- {
-#if defined (ACE_MVS)
- 37, 37, 37, 37, 37, 37, 37, 37, 37, 37,
- 37, 37, 37, 37, 37, 37, 37, 37, 37, 37,
- 37, 37, 37, 37, 37, 37, 37, 37, 37, 37,
- 37, 37, 37, 37, 37, 37, 37, 37, 37, 37,
- 37, 37, 37, 37, 37, 37, 37, 37, 37, 37,
- 37, 37, 37, 37, 37, 37, 37, 37, 37, 37,
- 37, 37, 37, 37, 37, 37, 37, 37, 37, 37,
- 37, 37, 37, 37, 37, 37, 37, 37, 37, 37,
- 37, 37, 37, 37, 37, 37, 37, 37, 37, 37,
- 37, 37, 37, 37, 37, 37, 37, 37, 37, 37,
- 37, 37, 37, 37, 37, 37, 37, 37, 37, 0,
- 37, 37, 37, 37, 37, 37, 37, 37, 37, 37,
- 37, 37, 37, 37, 37, 37, 37, 37, 37, 0,
- 37, 37, 0, 0, 10, 37, 37, 37, 37, 37,
- 37, 37, 37, 37, 37, 37, 37, 37, 0, 0,
- 37, 37, 37, 37, 37, 37, 37, 37, 37, 37,
- 37, 37, 37, 15, 37, 37, 37, 37, 10, 37,
- 37, 37, 37, 37, 37, 37, 37, 37, 37, 37,
- 37, 37, 37, 37, 37, 37, 37, 37, 37, 37,
- 37, 37, 37, 37, 37, 37, 37, 37, 37, 37,
- 37, 37, 37, 37, 37, 37, 37, 37, 37, 37,
- 37, 37, 37, 37, 37, 37, 37, 37, 37, 37,
- 37, 37, 37, 37, 37, 37, 37, 37, 37, 37,
- 37, 37, 37, 37, 37, 37, 37, 37, 37, 37,
- 37, 37, 37, 37, 37, 37, 37, 37, 37, 37,
- 37, 37, 37, 37, 37, 37,
-#else
- 37, 37, 37, 37, 37, 37, 37, 37, 37, 37,
- 37, 37, 37, 37, 37, 37, 37, 37, 37, 37,
- 37, 37, 37, 37, 37, 37, 37, 37, 37, 37,
- 37, 37, 37, 37, 37, 37, 37, 37, 37, 37,
- 37, 37, 37, 37, 37, 37, 37, 37, 37, 37,
- 37, 37, 37, 37, 37, 37, 37, 37, 37, 37,
- 37, 37, 37, 37, 37, 37, 37, 37, 37, 37,
- 37, 37, 37, 37, 37, 37, 37, 37, 37, 37,
- 37, 37, 37, 37, 37, 37, 37, 37, 37, 37,
- 37, 37, 37, 37, 37, 0, 37, 0, 37, 37,
- 0, 0, 10, 37, 37, 37, 37, 37, 37, 0,
- 0, 37, 37, 37, 37, 37, 15, 37, 37, 37,
- 37, 10, 37, 37, 37, 37, 37, 37,
-#endif /* ACE_MVS */
- };
- return len + asso_values[str[len - 1]] + asso_values[str[0]];
-}
-
-const class TAO_operation_db_entry *
-TAO_IR_AttributeDef_Perfect_Hash_OpTable::lookup (const char *str, unsigned int len)
-{
- enum
- {
- TOTAL_KEYWORDS = 20,
- MIN_WORD_LENGTH = 4,
- MAX_WORD_LENGTH = 26,
- MIN_HASH_VALUE = 4,
- MAX_HASH_VALUE = 36,
- HASH_VALUE_RANGE = 33,
- DUPLICATES = 8
- };
-
- static const class TAO_operation_db_entry wordlist[] =
- {
- {"",0},{"",0},{"",0},{"",0},
- {"move", &POA_IR::AttributeDef::move_skel},
- {"_is_a", &POA_IR::AttributeDef::_is_a_skel},
- {"_get_id", &POA_IR::AttributeDef::_get_id_skel},
- {"_set_id", &POA_IR::AttributeDef::_set_id_skel},
- {"describe", &POA_IR::AttributeDef::describe_skel},
- {"_get_type", &POA_IR::AttributeDef::_get_type_skel},
- {"_set_name", &POA_IR::AttributeDef::_set_name_skel},
- {"_get_name", &POA_IR::AttributeDef::_get_name_skel},
- {"_set_mode", &POA_IR::AttributeDef::_set_mode_skel},
- {"_get_mode", &POA_IR::AttributeDef::_get_mode_skel},
- {"_get_version", &POA_IR::AttributeDef::_get_version_skel},
- {"_set_version", &POA_IR::AttributeDef::_set_version_skel},
- {"_get_def_kind", &POA_IR::AttributeDef::_get_def_kind_skel},
- {"_get_defined_in", &POA_IR::AttributeDef::_get_defined_in_skel},
- {"destroy", &POA_IR::AttributeDef::destroy_skel},
- {"_get_absolute_name", &POA_IR::AttributeDef::_get_absolute_name_skel},
- {"_get_type_def", &POA_IR::AttributeDef::_get_type_def_skel},
- {"_set_type_def", &POA_IR::AttributeDef::_set_type_def_skel},
- {"_non_existent", &POA_IR::AttributeDef::_non_existent_skel},
- {"_get_containing_repository", &POA_IR::AttributeDef::_get_containing_repository_skel},
- };
-
- static const signed char lookup[] =
- {
- -6, -2, -9, -5, 4, 5, -1, -43, 8, -43, -14, -2, -38, 16,
- -1, 17, -1, 18, 19, -1, -1, -20, -2, -38, -1, -1, -1, -1,
- 22, -1, -1, -1, -1, -1, -1, -1, 23,
- };
-
- if (len <= MAX_WORD_LENGTH && len >= MIN_WORD_LENGTH)
- {
- unsigned int key = hash (str, len);
-
- if (key <= MAX_HASH_VALUE && key >= MIN_HASH_VALUE)
- {
- int slot = lookup[key];
-
- if (slot >= 0 && slot < MAX_HASH_VALUE)
- {
- const char *s = wordlist[slot].opname_;
-
- if (*str == *s && !strncmp (str + 1, s + 1, len - 1))
- return &wordlist[slot];
- }
- else if (slot < 0 && slot >= -MAX_HASH_VALUE)
- return 0;
- else
- {
- unsigned int offset = key + slot + (slot > 0 ? -MAX_HASH_VALUE : MAX_HASH_VALUE);
- const class TAO_operation_db_entry *base = &wordlist[-lookup[offset]];
- const class TAO_operation_db_entry *ptr = base + -lookup[offset + 1];
-
- while (--ptr >= base)
- if (*str == *ptr->opname_ && !strncmp (str + 1, ptr->opname_ + 1, len - 1))
- return ptr;
- }
- }
- }
- return 0;
-}
-/* ending time is 11:23:10 */
-static TAO_IR_AttributeDef_Perfect_Hash_OpTable tao_IR_AttributeDef_optable;
-
-///////////////////////////////////////////////////////////////////////
-// Strategized Proxy Broker Implementation
-//
-
-// Factory function Implementation.
-POA_IR::_TAO_AttributeDef_Strategized_Proxy_Broker *POA_IR::_TAO_AttributeDef_Strategized_Proxy_Broker::the_TAO_AttributeDef_Strategized_Proxy_Broker (void)
-{
- static POA_IR::_TAO_AttributeDef_Strategized_Proxy_Broker strategized_proxy_broker;
- return &strategized_proxy_broker;
-}
-
-POA_IR::_TAO_AttributeDef_Strategized_Proxy_Broker::_TAO_AttributeDef_Strategized_Proxy_Broker (void)
-{
- for (int i = 0; i < TAO_Collocation_Strategies::CS_LAST; ++i)
- this->proxy_cache_[i] = 0;
-
-}
-
-POA_IR::_TAO_AttributeDef_Strategized_Proxy_Broker::~_TAO_AttributeDef_Strategized_Proxy_Broker (void)
-{
- for (int i = 0; i < TAO_Collocation_Strategies::CS_LAST; ++i)
- delete this->proxy_cache_[i];
-
-}
-
-_TAO_AttributeDef_Proxy_Impl&
-POA_IR::_TAO_AttributeDef_Strategized_Proxy_Broker::select_proxy (
- IR_AttributeDef *object,
- CORBA::Environment &ACE_TRY_ENV
- )
-{
- int strategy =
- TAO_ORB_Core::collocation_strategy (object);
-
- if (this->proxy_cache_[strategy] != 0)
- return *this->proxy_cache_[strategy];
-
- this->create_proxy (strategy, ACE_TRY_ENV);
- ACE_CHECK_RETURN (*this->proxy_cache_[strategy]);
-
- return *this->proxy_cache_[strategy];
-
-}
-
-void
-POA_IR::_TAO_AttributeDef_Strategized_Proxy_Broker::create_proxy (
- int strategy,
- CORBA::Environment &ACE_TRY_ENV
- )
-{
- ACE_GUARD (TAO_SYNCH_MUTEX, guard, this->mutex_);
-
- if (this->proxy_cache_[strategy] == 0)
- {
- switch (strategy)
- {
- case TAO_Collocation_Strategies::CS_THRU_POA_STRATEGY:
- ACE_NEW_THROW_EX (
- this->proxy_cache_[strategy],
- _TAO_AttributeDef_ThruPOA_Proxy_Impl,
- CORBA::NO_MEMORY ()
- );
- ACE_CHECK;
- break;
-
- case TAO_Collocation_Strategies::CS_REMOTE_STRATEGY:
- default:
- ACE_NEW_THROW_EX (
- this->proxy_cache_[strategy],
- _TAO_AttributeDef_Remote_Proxy_Impl,
- CORBA::NO_MEMORY ()
- );
- ACE_CHECK;
- break;
-
- }
-
- }
-}
-
-
-//
-// End Strategized Proxy Broker Implementation
-///////////////////////////////////////////////////////////////////////
-
-
-_TAO_AttributeDef_Proxy_Broker *
-_TAO_AttributeDef_Proxy_Broker_Factory_function (CORBA::Object_ptr obj)
-{
- ACE_UNUSED_ARG (obj);
- return ::POA_IR::_TAO_AttributeDef_Strategized_Proxy_Broker::the_TAO_AttributeDef_Strategized_Proxy_Broker();
-}
-
-int
-_TAO_AttributeDef_Proxy_Broker_Factory_Initializer (long _dummy_)
-{
- ACE_UNUSED_ARG (_dummy_);
-
- _TAO_AttributeDef_Proxy_Broker_Factory_function_pointer =
- _TAO_AttributeDef_Proxy_Broker_Factory_function;
-
- return 0;
-}
-
-static int _TAO_AttributeDef_Proxy_Broker_Stub_Factory_Initializer_Scarecrow =
- _TAO_AttributeDef_Proxy_Broker_Factory_Initializer (ACE_reinterpret_cast (long, _TAO_AttributeDef_Proxy_Broker_Factory_Initializer));
-
-
-///////////////////////////////////////////////////////////////////////
-// ThruPOA Proxy Implementation
-//
-
-POA_IR::_TAO_AttributeDef_ThruPOA_Proxy_Impl::_TAO_AttributeDef_ThruPOA_Proxy_Impl (void)
-{}
-
-// ThruPOA Implementation of the IDL interface methods
-
-CORBA::TypeCode_ptr POA_IR::_TAO_AttributeDef_ThruPOA_Proxy_Impl::type (
- CORBA_Object *_collocated_tao_target_,
- CORBA::Environment &ACE_TRY_ENV
- )
- ACE_THROW_SPEC ((
- CORBA::SystemException
- ))
-{
- CORBA::TypeCode_var _tao_retval;
- ACE_UNUSED_ARG (_tao_retval);
- TAO_Object_Adapter::Servant_Upcall servant_upcall (
- _collocated_tao_target_->_stubobj ()->servant_orb_var ()->orb_core ()
- );
- CORBA::Object_var forward_to;
- servant_upcall.prepare_for_upcall (
- _collocated_tao_target_->_object_key (),
- "type",
- forward_to.out (),
- ACE_TRY_ENV
- );
- ACE_CHECK_RETURN (0);
- return ACE_reinterpret_cast (
- POA_IR::AttributeDef_ptr,
- servant_upcall.servant ()->_downcast (
- "IDL:omg.org/IR/AttributeDef:1.0"
- )
- )->type (
- ACE_TRY_ENV
- );
-}
-
-IR_IDLType_ptr POA_IR::_TAO_AttributeDef_ThruPOA_Proxy_Impl::type_def (
- CORBA_Object *_collocated_tao_target_,
- CORBA::Environment &ACE_TRY_ENV
- )
- ACE_THROW_SPEC ((
- CORBA::SystemException
- ))
-{
- IR_IDLType_var _tao_retval;
- ACE_UNUSED_ARG (_tao_retval);
- TAO_Object_Adapter::Servant_Upcall servant_upcall (
- _collocated_tao_target_->_stubobj ()->servant_orb_var ()->orb_core ()
- );
- CORBA::Object_var forward_to;
- servant_upcall.prepare_for_upcall (
- _collocated_tao_target_->_object_key (),
- "type_def",
- forward_to.out (),
- ACE_TRY_ENV
- );
- ACE_CHECK_RETURN (0);
- return ACE_reinterpret_cast (
- POA_IR::AttributeDef_ptr,
- servant_upcall.servant ()->_downcast (
- "IDL:omg.org/IR/AttributeDef:1.0"
- )
- )->type_def (
- ACE_TRY_ENV
- );
-}
-
-void POA_IR::_TAO_AttributeDef_ThruPOA_Proxy_Impl::type_def (
- CORBA_Object *_collocated_tao_target_,
- IR_IDLType_ptr type_def,
- CORBA::Environment &ACE_TRY_ENV
- )
- ACE_THROW_SPEC ((
- CORBA::SystemException
- ))
-{
- TAO_Object_Adapter::Servant_Upcall servant_upcall (
- _collocated_tao_target_->_stubobj ()->servant_orb_var ()->orb_core ()
- );
- CORBA::Object_var forward_to;
- servant_upcall.prepare_for_upcall (
- _collocated_tao_target_->_object_key (),
- "type_def",
- forward_to.out (),
- ACE_TRY_ENV
- );
- ACE_CHECK;
- ACE_reinterpret_cast (
- POA_IR::AttributeDef_ptr,
- servant_upcall.servant ()->_downcast (
- "IDL:omg.org/IR/AttributeDef:1.0"
- )
- )->type_def (
- type_def,
- ACE_TRY_ENV
- );
- return;
-}
-
-IR_AttributeMode POA_IR::_TAO_AttributeDef_ThruPOA_Proxy_Impl::mode (
- CORBA_Object *_collocated_tao_target_,
- CORBA::Environment &ACE_TRY_ENV
- )
- ACE_THROW_SPEC ((
- CORBA::SystemException
- ))
-{
- IR_AttributeMode _tao_retval;
- ACE_UNUSED_ARG (_tao_retval);
- TAO_Object_Adapter::Servant_Upcall servant_upcall (
- _collocated_tao_target_->_stubobj ()->servant_orb_var ()->orb_core ()
- );
- CORBA::Object_var forward_to;
- servant_upcall.prepare_for_upcall (
- _collocated_tao_target_->_object_key (),
- "mode",
- forward_to.out (),
- ACE_TRY_ENV
- );
- ACE_CHECK_RETURN (_tao_retval);
- return ACE_reinterpret_cast (
- POA_IR::AttributeDef_ptr,
- servant_upcall.servant ()->_downcast (
- "IDL:omg.org/IR/AttributeDef:1.0"
- )
- )->mode (
- ACE_TRY_ENV
- );
-}
-
-void POA_IR::_TAO_AttributeDef_ThruPOA_Proxy_Impl::mode (
- CORBA_Object *_collocated_tao_target_,
- IR_AttributeMode mode,
- CORBA::Environment &ACE_TRY_ENV
- )
- ACE_THROW_SPEC ((
- CORBA::SystemException
- ))
-{
- TAO_Object_Adapter::Servant_Upcall servant_upcall (
- _collocated_tao_target_->_stubobj ()->servant_orb_var ()->orb_core ()
- );
- CORBA::Object_var forward_to;
- servant_upcall.prepare_for_upcall (
- _collocated_tao_target_->_object_key (),
- "mode",
- forward_to.out (),
- ACE_TRY_ENV
- );
- ACE_CHECK;
- ACE_reinterpret_cast (
- POA_IR::AttributeDef_ptr,
- servant_upcall.servant ()->_downcast (
- "IDL:omg.org/IR/AttributeDef:1.0"
- )
- )->mode (
- mode,
- ACE_TRY_ENV
- );
- return;
-}
-
-//
-// End ThruPOA Proxy Implementation
-///////////////////////////////////////////////////////////////////////
-
-// skeleton constructor
-POA_IR::AttributeDef::AttributeDef (void)
-{
- this->optable_ = &tao_IR_AttributeDef_optable;
-}
-
-// copy ctor
-POA_IR::AttributeDef::AttributeDef (const AttributeDef& rhs)
- : ACE_NESTED_CLASS (POA_IR,Contained) (rhs),
- POA_CORBA_IRObject (rhs),
- TAO_ServantBase (rhs)
-{}
-
-// skeleton destructor
-POA_IR::AttributeDef::~AttributeDef (void)
-{
-}
-
-void POA_IR::AttributeDef::_get_type_skel (
- TAO_ServerRequest &_tao_server_request,
- void *_tao_object_reference,
- void * /* context */,
- CORBA::Environment &ACE_TRY_ENV
-)
-{
- POA_IR::AttributeDef *_tao_impl = (POA_IR::AttributeDef *)_tao_object_reference;
-
- CORBA::TypeCode_var _tao_retval;
-
-#if (TAO_HAS_INTERCEPTORS == 1)
- TAO_ServerRequestInterceptor_Adapter _tao_vfr (
- _tao_server_request.orb_core ()->server_request_interceptors (),
- _tao_server_request.interceptor_count ()
- );
-
- POA_IR::AttributeDef::TAO_ServerRequestInfo_IR_AttributeDef_type_get ri (
- _tao_server_request,
- _tao_impl,
- ACE_TRY_ENV
- );
-
- ACE_TRY
- {
- _tao_vfr.receive_request (&ri, ACE_TRY_ENV);
- ACE_TRY_CHECK;
-
-#endif /* TAO_HAS_INTERCEPTORS */
- _tao_retval =
- _tao_impl->type (
- ACE_TRY_ENV
- );
- TAO_INTERCEPTOR_CHECK;
-
-#if (TAO_HAS_INTERCEPTORS == 1)
- CORBA::TypeCode_ptr _tao_retval_info = _tao_retval._retn ();
- ri.result (_tao_retval_info);
- _tao_retval = _tao_retval_info;
- ri.reply_status (PortableInterceptor::SUCCESSFUL);
- _tao_vfr.send_reply (&ri, ACE_TRY_ENV);
- ACE_TRY_CHECK;
- }
- ACE_CATCH (PortableInterceptor::ForwardRequest, exc)
- {
- ri.forward_reference (exc);
- _tao_vfr.send_other (
- &ri,
- ACE_TRY_ENV
- );
- ACE_TRY_CHECK;
- _tao_server_request.forward_location (exc.forward.in ());
- }
- ACE_CATCHANY
- {
- ri.exception (&ACE_ANY_EXCEPTION);
- _tao_vfr.send_exception (
- &ri,
- ACE_TRY_ENV
- );
- ACE_TRY_CHECK;
- ACE_RE_THROW;
- }
- ACE_ENDTRY;
- ACE_CHECK;
-#endif /* TAO_HAS_INTERCEPTORS */
-
- _tao_server_request.init_reply ();
-
- TAO_OutputCDR &_tao_out = _tao_server_request.outgoing ();
-
- if (!(
- (_tao_out << _tao_retval.in ())
- ))
- ACE_THROW (CORBA::MARSHAL());
-
- // In case ACE_TRY_ENV is not used in this function
- ACE_UNUSED_ARG (ACE_TRY_ENV);
-}
-
-void POA_IR::AttributeDef::_get_type_def_skel (
- TAO_ServerRequest &_tao_server_request,
- void *_tao_object_reference,
- void * /* context */,
- CORBA::Environment &ACE_TRY_ENV
-)
-{
- POA_IR::AttributeDef *_tao_impl = (POA_IR::AttributeDef *)_tao_object_reference;
-
- IR_IDLType_var _tao_retval;
-
-#if (TAO_HAS_INTERCEPTORS == 1)
- TAO_ServerRequestInterceptor_Adapter _tao_vfr (
- _tao_server_request.orb_core ()->server_request_interceptors (),
- _tao_server_request.interceptor_count ()
- );
-
- POA_IR::AttributeDef::TAO_ServerRequestInfo_IR_AttributeDef_type_def_get ri (
- _tao_server_request,
- _tao_impl,
- ACE_TRY_ENV
- );
-
- ACE_TRY
- {
- _tao_vfr.receive_request (&ri, ACE_TRY_ENV);
- ACE_TRY_CHECK;
-
-#endif /* TAO_HAS_INTERCEPTORS */
- _tao_retval =
- _tao_impl->type_def (
- ACE_TRY_ENV
- );
- TAO_INTERCEPTOR_CHECK;
-
-#if (TAO_HAS_INTERCEPTORS == 1)
- IR_IDLType_ptr _tao_retval_info = _tao_retval._retn ();
- ri.result (_tao_retval_info);
- _tao_retval = _tao_retval_info;
- ri.reply_status (PortableInterceptor::SUCCESSFUL);
- _tao_vfr.send_reply (&ri, ACE_TRY_ENV);
- ACE_TRY_CHECK;
- }
- ACE_CATCH (PortableInterceptor::ForwardRequest, exc)
- {
- ri.forward_reference (exc);
- _tao_vfr.send_other (
- &ri,
- ACE_TRY_ENV
- );
- ACE_TRY_CHECK;
- _tao_server_request.forward_location (exc.forward.in ());
- }
- ACE_CATCHANY
- {
- ri.exception (&ACE_ANY_EXCEPTION);
- _tao_vfr.send_exception (
- &ri,
- ACE_TRY_ENV
- );
- ACE_TRY_CHECK;
- ACE_RE_THROW;
- }
- ACE_ENDTRY;
- ACE_CHECK;
-#endif /* TAO_HAS_INTERCEPTORS */
-
- _tao_server_request.init_reply ();
-
- TAO_OutputCDR &_tao_out = _tao_server_request.outgoing ();
-
- if (!(
- (_tao_out << _tao_retval.in ())
- ))
- ACE_THROW (CORBA::MARSHAL());
-
- // In case ACE_TRY_ENV is not used in this function
- ACE_UNUSED_ARG (ACE_TRY_ENV);
-}
-
-void POA_IR::AttributeDef::_set_type_def_skel (
- TAO_ServerRequest &_tao_server_request,
- void *_tao_object_reference,
- void * /* context */,
- CORBA::Environment &ACE_TRY_ENV
-)
-{
- TAO_InputCDR &_tao_in = _tao_server_request.incoming ();
- POA_IR::AttributeDef *_tao_impl = (POA_IR::AttributeDef *)_tao_object_reference;
-
- IR_IDLType_var type_def;
- if (!(
- (_tao_in >> type_def.out ())
- ))
- ACE_THROW (CORBA::MARSHAL () );
-
-#if (TAO_HAS_INTERCEPTORS == 1)
- TAO_ServerRequestInterceptor_Adapter _tao_vfr (
- _tao_server_request.orb_core ()->server_request_interceptors (),
- _tao_server_request.interceptor_count ()
- );
-
- POA_IR::AttributeDef::TAO_ServerRequestInfo_IR_AttributeDef_type_def_set ri (
- _tao_server_request,
- _tao_impl,
- type_def.in (),
- ACE_TRY_ENV
- );
-
- ACE_TRY
- {
- _tao_vfr.receive_request (&ri, ACE_TRY_ENV);
- ACE_TRY_CHECK;
-
-#endif /* TAO_HAS_INTERCEPTORS */
-
- _tao_impl->type_def (
- type_def.in (),
- ACE_TRY_ENV
- );
- TAO_INTERCEPTOR_CHECK;
-
-#if (TAO_HAS_INTERCEPTORS == 1)
- ri.reply_status (PortableInterceptor::SUCCESSFUL);
- _tao_vfr.send_reply (&ri, ACE_TRY_ENV);
- ACE_TRY_CHECK;
- }
- ACE_CATCH (PortableInterceptor::ForwardRequest, exc)
- {
- ri.forward_reference (exc);
- _tao_vfr.send_other (
- &ri,
- ACE_TRY_ENV
- );
- ACE_TRY_CHECK;
- _tao_server_request.forward_location (exc.forward.in ());
- }
- ACE_CATCHANY
- {
- ri.exception (&ACE_ANY_EXCEPTION);
- _tao_vfr.send_exception (
- &ri,
- ACE_TRY_ENV
- );
- ACE_TRY_CHECK;
- ACE_RE_THROW;
- }
- ACE_ENDTRY;
- ACE_CHECK;
-#endif /* TAO_HAS_INTERCEPTORS */
-
- _tao_server_request.init_reply ();
-
- // In case ACE_TRY_ENV is not used in this function
- ACE_UNUSED_ARG (ACE_TRY_ENV);
-}
-
-void POA_IR::AttributeDef::_get_mode_skel (
- TAO_ServerRequest &_tao_server_request,
- void *_tao_object_reference,
- void * /* context */,
- CORBA::Environment &ACE_TRY_ENV
-)
-{
- POA_IR::AttributeDef *_tao_impl = (POA_IR::AttributeDef *)_tao_object_reference;
-
- IR_AttributeMode _tao_retval;
-
-#if (TAO_HAS_INTERCEPTORS == 1)
- TAO_ServerRequestInterceptor_Adapter _tao_vfr (
- _tao_server_request.orb_core ()->server_request_interceptors (),
- _tao_server_request.interceptor_count ()
- );
-
- POA_IR::AttributeDef::TAO_ServerRequestInfo_IR_AttributeDef_mode_get ri (
- _tao_server_request,
- _tao_impl,
- ACE_TRY_ENV
- );
-
- ACE_TRY
- {
- _tao_vfr.receive_request (&ri, ACE_TRY_ENV);
- ACE_TRY_CHECK;
-
-#endif /* TAO_HAS_INTERCEPTORS */
- _tao_retval =
- _tao_impl->mode (
- ACE_TRY_ENV
- );
- TAO_INTERCEPTOR_CHECK;
-
-#if (TAO_HAS_INTERCEPTORS == 1)
- IR_AttributeMode _tao_retval_info = _tao_retval;
- ri.result (_tao_retval_info);
- ri.reply_status (PortableInterceptor::SUCCESSFUL);
- _tao_vfr.send_reply (&ri, ACE_TRY_ENV);
- ACE_TRY_CHECK;
- }
- ACE_CATCH (PortableInterceptor::ForwardRequest, exc)
- {
- ri.forward_reference (exc);
- _tao_vfr.send_other (
- &ri,
- ACE_TRY_ENV
- );
- ACE_TRY_CHECK;
- _tao_server_request.forward_location (exc.forward.in ());
- }
- ACE_CATCHANY
- {
- ri.exception (&ACE_ANY_EXCEPTION);
- _tao_vfr.send_exception (
- &ri,
- ACE_TRY_ENV
- );
- ACE_TRY_CHECK;
- ACE_RE_THROW;
- }
- ACE_ENDTRY;
- ACE_CHECK;
-#endif /* TAO_HAS_INTERCEPTORS */
-
- _tao_server_request.init_reply ();
-
- TAO_OutputCDR &_tao_out = _tao_server_request.outgoing ();
-
- if (!(
- (_tao_out << _tao_retval)
- ))
- ACE_THROW (CORBA::MARSHAL());
-
- // In case ACE_TRY_ENV is not used in this function
- ACE_UNUSED_ARG (ACE_TRY_ENV);
-}
-
-void POA_IR::AttributeDef::_set_mode_skel (
- TAO_ServerRequest &_tao_server_request,
- void *_tao_object_reference,
- void * /* context */,
- CORBA::Environment &ACE_TRY_ENV
-)
-{
- TAO_InputCDR &_tao_in = _tao_server_request.incoming ();
- POA_IR::AttributeDef *_tao_impl = (POA_IR::AttributeDef *)_tao_object_reference;
-
- IR_AttributeMode mode;
- if (!(
- (_tao_in >> mode)
- ))
- ACE_THROW (CORBA::MARSHAL () );
-
-#if (TAO_HAS_INTERCEPTORS == 1)
- TAO_ServerRequestInterceptor_Adapter _tao_vfr (
- _tao_server_request.orb_core ()->server_request_interceptors (),
- _tao_server_request.interceptor_count ()
- );
-
- POA_IR::AttributeDef::TAO_ServerRequestInfo_IR_AttributeDef_mode_set ri (
- _tao_server_request,
- _tao_impl,
- mode,
- ACE_TRY_ENV
- );
-
- ACE_TRY
- {
- _tao_vfr.receive_request (&ri, ACE_TRY_ENV);
- ACE_TRY_CHECK;
-
-#endif /* TAO_HAS_INTERCEPTORS */
-
- _tao_impl->mode (
- mode,
- ACE_TRY_ENV
- );
- TAO_INTERCEPTOR_CHECK;
-
-#if (TAO_HAS_INTERCEPTORS == 1)
- ri.reply_status (PortableInterceptor::SUCCESSFUL);
- _tao_vfr.send_reply (&ri, ACE_TRY_ENV);
- ACE_TRY_CHECK;
- }
- ACE_CATCH (PortableInterceptor::ForwardRequest, exc)
- {
- ri.forward_reference (exc);
- _tao_vfr.send_other (
- &ri,
- ACE_TRY_ENV
- );
- ACE_TRY_CHECK;
- _tao_server_request.forward_location (exc.forward.in ());
- }
- ACE_CATCHANY
- {
- ri.exception (&ACE_ANY_EXCEPTION);
- _tao_vfr.send_exception (
- &ri,
- ACE_TRY_ENV
- );
- ACE_TRY_CHECK;
- ACE_RE_THROW;
- }
- ACE_ENDTRY;
- ACE_CHECK;
-#endif /* TAO_HAS_INTERCEPTORS */
-
- _tao_server_request.init_reply ();
-
- // In case ACE_TRY_ENV is not used in this function
- ACE_UNUSED_ARG (ACE_TRY_ENV);
-}
-
-void POA_IR::AttributeDef::_is_a_skel (
- TAO_ServerRequest &_tao_server_request,
- void * _tao_object_reference,
- void * /* context */,
- CORBA::Environment &ACE_TRY_ENV
- )
-{
- TAO_InputCDR &_tao_in = _tao_server_request.incoming ();
- POA_IR::AttributeDef *_tao_impl = (POA_IR::AttributeDef *) _tao_object_reference;
- CORBA::Boolean _tao_retval = 0;
- CORBA::String_var value;
- if (!((_tao_in >> value.out ())))
- ACE_THROW (CORBA::MARSHAL ());
-
- _tao_retval = _tao_impl->_is_a (value.in (), ACE_TRY_ENV);
- ACE_CHECK;
-
- _tao_server_request.init_reply ();
- TAO_OutputCDR &_tao_out = _tao_server_request.outgoing ();
- if (!((_tao_out << CORBA::Any::from_boolean (_tao_retval))))
- ACE_THROW (CORBA::MARSHAL ());
-}
-
-void POA_IR::AttributeDef::_non_existent_skel (
- TAO_ServerRequest &_tao_server_request,
- void * _tao_object_reference,
- void * /* context */,
- CORBA::Environment &ACE_TRY_ENV
- )
-{
- POA_IR::AttributeDef *_tao_impl = (POA_IR::AttributeDef *) _tao_object_reference;
- CORBA::Boolean _tao_retval = _tao_impl->_non_existent (ACE_TRY_ENV);
- ACE_CHECK;
-
- _tao_server_request.init_reply ();
- TAO_OutputCDR &_tao_out = _tao_server_request.outgoing ();
- if (!((_tao_out << CORBA::Any::from_boolean (_tao_retval))))
- ACE_THROW (CORBA::MARSHAL ());
-}
-
-CORBA::Boolean POA_IR::AttributeDef::_is_a (
- const char* value,
- CORBA::Environment &ACE_TRY_ENV
- )
-{
- if (
- (!ACE_OS::strcmp ((char *)value, "IDL:omg.org/IR/AttributeDef:1.0")) ||
- (!ACE_OS::strcmp ((char *)value, "IDL:omg.org/IR/Contained:1.0")) ||
- (!ACE_OS::strcmp ((char *)value, "IDL:omg.org/CORBA/IRObject:1.0")) ||
- (!ACE_OS::strcmp ((char *)value, CORBA::_tc_Object->id (ACE_TRY_ENV))))
- return 1;
- else
- return 0;
-}
-
-void* POA_IR::AttributeDef::_downcast (
- const char* logical_type_id
- )
-{
- if (ACE_OS::strcmp (logical_type_id, "IDL:omg.org/IR/AttributeDef:1.0") == 0)
- return ACE_static_cast (POA_IR::AttributeDef_ptr, this);
- if (ACE_OS::strcmp (logical_type_id, "IDL:omg.org/IR/Contained:1.0") == 0)
- return ACE_static_cast (POA_IR::Contained_ptr, this);
- if (ACE_OS::strcmp (logical_type_id, "IDL:omg.org/CORBA/IRObject:1.0") == 0)
- return ACE_static_cast (POA_CORBA_IRObject_ptr, this);
- if (ACE_OS::strcmp (logical_type_id, "IDL:omg.org/CORBA/Object:1.0") == 0)
- return ACE_static_cast(PortableServer::Servant, this);
- return 0;
-}
-
-void POA_IR::AttributeDef::_dispatch (TAO_ServerRequest &req, void *context, CORBA::Environment &ACE_TRY_ENV)
-{
- this->synchronous_upcall_dispatch(req, context, this, ACE_TRY_ENV);
-}
-
-const char* POA_IR::AttributeDef::_interface_repository_id (void) const
-{
- return "IDL:omg.org/IR/AttributeDef:1.0";
-}
-
-IR::AttributeDef*
-POA_IR::AttributeDef::_this (CORBA_Environment &ACE_TRY_ENV)
-{
- TAO_Stub *stub = this->_create_stub (ACE_TRY_ENV);
- ACE_CHECK_RETURN (0);
-
- CORBA::Object_ptr tmp = CORBA::Object::_nil ();
-
- if (stub->servant_orb_var ()->orb_core ()->optimize_collocation_objects ())
- ACE_NEW_RETURN (tmp, CORBA::Object (stub, 1, this), 0);
- else
- ACE_NEW_RETURN (tmp, CORBA::Object (stub, 0, this), 0);
-
- CORBA::Object_var obj = tmp;
- return IR_AttributeDef::_unchecked_narrow (obj.in ());
-}
-
-#if (TAO_HAS_INTERCEPTORS == 1)
-POA_IR::AttributeDef::TAO_ServerRequestInfo_IR_AttributeDef_type_get::TAO_ServerRequestInfo_IR_AttributeDef_type_get (
- TAO_ServerRequest &_tao_server_request,
- POA_IR::AttributeDef *tao_impl,
- CORBA::Environment &
- )
- : TAO_ServerRequestInfo (_tao_server_request),
- _tao_impl (tao_impl)
-{}
-
-Dynamic::ParameterList *
-POA_IR::AttributeDef::TAO_ServerRequestInfo_IR_AttributeDef_type_get::arguments (CORBA::Environment &ACE_TRY_ENV)
- ACE_THROW_SPEC ((CORBA::SystemException))
-{
- // Generate the argument list on demand.
- Dynamic::ParameterList *parameter_list =
- TAO_RequestInfo_Util::make_parameter_list (ACE_TRY_ENV);
- ACE_CHECK_RETURN (0);
-
- return parameter_list;
-}
-
-Dynamic::ExceptionList *
-POA_IR::AttributeDef::TAO_ServerRequestInfo_IR_AttributeDef_type_get::exceptions (CORBA::Environment &ACE_TRY_ENV)
- ACE_THROW_SPEC ((CORBA::SystemException))
-{
- // Generate the exception list on demand.
- Dynamic::ExceptionList *exception_list =
- TAO_RequestInfo_Util::make_exception_list (ACE_TRY_ENV);
- ACE_CHECK_RETURN (0);
-
- return exception_list;
-}
-
-CORBA::Any *
-POA_IR::AttributeDef::TAO_ServerRequestInfo_IR_AttributeDef_type_get::result (CORBA::Environment &ACE_TRY_ENV)
- ACE_THROW_SPEC ((CORBA::SystemException))
-{
- // Generate the result on demand.
- CORBA::Boolean tk_void_any = 0;
- CORBA::Any *result_any =
- TAO_RequestInfo_Util::make_any (tk_void_any, ACE_TRY_ENV);
- ACE_CHECK_RETURN (0);
-
- CORBA::Any_var safe_result_any = result_any;
-
- (*result_any) <<= this->_result;
-
- return safe_result_any._retn ();
-}
-
-char *
-POA_IR::AttributeDef::TAO_ServerRequestInfo_IR_AttributeDef_type_get::target_most_derived_interface (
- CORBA::Environment &)
- ACE_THROW_SPEC ((CORBA::SystemException))
-{
- return
- CORBA::string_dup (this->_tao_impl->_interface_repository_id ());
-}
-
-CORBA::Boolean
-POA_IR::AttributeDef::TAO_ServerRequestInfo_IR_AttributeDef_type_get::target_is_a (
- const char * id,
- CORBA::Environment &ACE_TRY_ENV)
- ACE_THROW_SPEC ((CORBA::SystemException))
-{
- return this->_tao_impl->_is_a (id, ACE_TRY_ENV);
-}
-
-void
-POA_IR::AttributeDef::TAO_ServerRequestInfo_IR_AttributeDef_type_get::result (CORBA::TypeCode_ptr result)
-{
- // Update the result.
- this->_result = result;
-}
-
-POA_IR::AttributeDef::TAO_ServerRequestInfo_IR_AttributeDef_type_def_get::TAO_ServerRequestInfo_IR_AttributeDef_type_def_get (
- TAO_ServerRequest &_tao_server_request,
- POA_IR::AttributeDef *tao_impl,
- CORBA::Environment &
- )
- : TAO_ServerRequestInfo (_tao_server_request),
- _tao_impl (tao_impl)
-{}
-
-Dynamic::ParameterList *
-POA_IR::AttributeDef::TAO_ServerRequestInfo_IR_AttributeDef_type_def_get::arguments (CORBA::Environment &ACE_TRY_ENV)
- ACE_THROW_SPEC ((CORBA::SystemException))
-{
- // Generate the argument list on demand.
- Dynamic::ParameterList *parameter_list =
- TAO_RequestInfo_Util::make_parameter_list (ACE_TRY_ENV);
- ACE_CHECK_RETURN (0);
-
- return parameter_list;
-}
-
-Dynamic::ExceptionList *
-POA_IR::AttributeDef::TAO_ServerRequestInfo_IR_AttributeDef_type_def_get::exceptions (CORBA::Environment &ACE_TRY_ENV)
- ACE_THROW_SPEC ((CORBA::SystemException))
-{
- // Generate the exception list on demand.
- Dynamic::ExceptionList *exception_list =
- TAO_RequestInfo_Util::make_exception_list (ACE_TRY_ENV);
- ACE_CHECK_RETURN (0);
-
- return exception_list;
-}
-
-CORBA::Any *
-POA_IR::AttributeDef::TAO_ServerRequestInfo_IR_AttributeDef_type_def_get::result (CORBA::Environment &ACE_TRY_ENV)
- ACE_THROW_SPEC ((CORBA::SystemException))
-{
- // Generate the result on demand.
- CORBA::Boolean tk_void_any = 0;
- CORBA::Any *result_any =
- TAO_RequestInfo_Util::make_any (tk_void_any, ACE_TRY_ENV);
- ACE_CHECK_RETURN (0);
-
- CORBA::Any_var safe_result_any = result_any;
-
- (*result_any) <<= this->_result;
-
- return safe_result_any._retn ();
-}
-
-char *
-POA_IR::AttributeDef::TAO_ServerRequestInfo_IR_AttributeDef_type_def_get::target_most_derived_interface (
- CORBA::Environment &)
- ACE_THROW_SPEC ((CORBA::SystemException))
-{
- return
- CORBA::string_dup (this->_tao_impl->_interface_repository_id ());
-}
-
-CORBA::Boolean
-POA_IR::AttributeDef::TAO_ServerRequestInfo_IR_AttributeDef_type_def_get::target_is_a (
- const char * id,
- CORBA::Environment &ACE_TRY_ENV)
- ACE_THROW_SPEC ((CORBA::SystemException))
-{
- return this->_tao_impl->_is_a (id, ACE_TRY_ENV);
-}
-
-void
-POA_IR::AttributeDef::TAO_ServerRequestInfo_IR_AttributeDef_type_def_get::result (IR::IDLType_ptr result)
-{
- // Update the result.
- this->_result = result;
-}
-
-POA_IR::AttributeDef::TAO_ServerRequestInfo_IR_AttributeDef_type_def_set::TAO_ServerRequestInfo_IR_AttributeDef_type_def_set (
- TAO_ServerRequest &_tao_server_request,
- POA_IR::AttributeDef *tao_impl,
- IR_IDLType_ptr type_def,
- CORBA::Environment &
- )
- : TAO_ServerRequestInfo (_tao_server_request),
- _tao_impl (tao_impl),
- type_def_ (type_def)
-{}
-
-Dynamic::ParameterList *
-POA_IR::AttributeDef::TAO_ServerRequestInfo_IR_AttributeDef_type_def_set::arguments (CORBA::Environment &ACE_TRY_ENV)
- ACE_THROW_SPEC ((CORBA::SystemException))
-{
- // Generate the argument list on demand.
- Dynamic::ParameterList *parameter_list =
- TAO_RequestInfo_Util::make_parameter_list (ACE_TRY_ENV);
- ACE_CHECK_RETURN (0);
-
- Dynamic::ParameterList_var safe_parameter_list = parameter_list;
-
- CORBA::ULong length_type_def = parameter_list->length ();
- parameter_list->length (length_type_def + 1);
- (*parameter_list)[length_type_def].argument <<= this->type_def_;
-
- (*parameter_list)[length_type_def].mode = Dynamic::PARAM_IN;
-
- return safe_parameter_list._retn ();
-}
-
-Dynamic::ExceptionList *
-POA_IR::AttributeDef::TAO_ServerRequestInfo_IR_AttributeDef_type_def_set::exceptions (CORBA::Environment &ACE_TRY_ENV)
- ACE_THROW_SPEC ((CORBA::SystemException))
-{
- // Generate the exception list on demand.
- Dynamic::ExceptionList *exception_list =
- TAO_RequestInfo_Util::make_exception_list (ACE_TRY_ENV);
- ACE_CHECK_RETURN (0);
-
- return exception_list;
-}
-
-CORBA::Any *
-POA_IR::AttributeDef::TAO_ServerRequestInfo_IR_AttributeDef_type_def_set::result (CORBA::Environment &ACE_TRY_ENV)
- ACE_THROW_SPEC ((CORBA::SystemException))
-{
- // Generate the result on demand.
- CORBA::Boolean tk_void_any = 1;
- CORBA::Any *result_any =
- TAO_RequestInfo_Util::make_any (tk_void_any, ACE_TRY_ENV);
- ACE_CHECK_RETURN (0);
-
- return result_any;
-}
-
-char *
-POA_IR::AttributeDef::TAO_ServerRequestInfo_IR_AttributeDef_type_def_set::target_most_derived_interface (
- CORBA::Environment &)
- ACE_THROW_SPEC ((CORBA::SystemException))
-{
- return
- CORBA::string_dup (this->_tao_impl->_interface_repository_id ());
-}
-
-CORBA::Boolean
-POA_IR::AttributeDef::TAO_ServerRequestInfo_IR_AttributeDef_type_def_set::target_is_a (
- const char * id,
- CORBA::Environment &ACE_TRY_ENV)
- ACE_THROW_SPEC ((CORBA::SystemException))
-{
- return this->_tao_impl->_is_a (id, ACE_TRY_ENV);
-}
-
-POA_IR::AttributeDef::TAO_ServerRequestInfo_IR_AttributeDef_mode_get::TAO_ServerRequestInfo_IR_AttributeDef_mode_get (
- TAO_ServerRequest &_tao_server_request,
- POA_IR::AttributeDef *tao_impl,
- CORBA::Environment &
- )
- : TAO_ServerRequestInfo (_tao_server_request),
- _tao_impl (tao_impl)
-{}
-
-Dynamic::ParameterList *
-POA_IR::AttributeDef::TAO_ServerRequestInfo_IR_AttributeDef_mode_get::arguments (CORBA::Environment &ACE_TRY_ENV)
- ACE_THROW_SPEC ((CORBA::SystemException))
-{
- // Generate the argument list on demand.
- Dynamic::ParameterList *parameter_list =
- TAO_RequestInfo_Util::make_parameter_list (ACE_TRY_ENV);
- ACE_CHECK_RETURN (0);
-
- return parameter_list;
-}
-
-Dynamic::ExceptionList *
-POA_IR::AttributeDef::TAO_ServerRequestInfo_IR_AttributeDef_mode_get::exceptions (CORBA::Environment &ACE_TRY_ENV)
- ACE_THROW_SPEC ((CORBA::SystemException))
-{
- // Generate the exception list on demand.
- Dynamic::ExceptionList *exception_list =
- TAO_RequestInfo_Util::make_exception_list (ACE_TRY_ENV);
- ACE_CHECK_RETURN (0);
-
- return exception_list;
-}
-
-CORBA::Any *
-POA_IR::AttributeDef::TAO_ServerRequestInfo_IR_AttributeDef_mode_get::result (CORBA::Environment &ACE_TRY_ENV)
- ACE_THROW_SPEC ((CORBA::SystemException))
-{
- // Generate the result on demand.
- CORBA::Boolean tk_void_any = 0;
- CORBA::Any *result_any =
- TAO_RequestInfo_Util::make_any (tk_void_any, ACE_TRY_ENV);
- ACE_CHECK_RETURN (0);
-
- CORBA::Any_var safe_result_any = result_any;
-
- (*result_any) <<= this->_result;
-
- return safe_result_any._retn ();
-}
-
-char *
-POA_IR::AttributeDef::TAO_ServerRequestInfo_IR_AttributeDef_mode_get::target_most_derived_interface (
- CORBA::Environment &)
- ACE_THROW_SPEC ((CORBA::SystemException))
-{
- return
- CORBA::string_dup (this->_tao_impl->_interface_repository_id ());
-}
-
-CORBA::Boolean
-POA_IR::AttributeDef::TAO_ServerRequestInfo_IR_AttributeDef_mode_get::target_is_a (
- const char * id,
- CORBA::Environment &ACE_TRY_ENV)
- ACE_THROW_SPEC ((CORBA::SystemException))
-{
- return this->_tao_impl->_is_a (id, ACE_TRY_ENV);
-}
-
-void
-POA_IR::AttributeDef::TAO_ServerRequestInfo_IR_AttributeDef_mode_get::result (IR::AttributeMode result)
-{
- // Update the result.
- this->_result = result;
-}
-
-POA_IR::AttributeDef::TAO_ServerRequestInfo_IR_AttributeDef_mode_set::TAO_ServerRequestInfo_IR_AttributeDef_mode_set (
- TAO_ServerRequest &_tao_server_request,
- POA_IR::AttributeDef *tao_impl,
- IR_AttributeMode & mode,
- CORBA::Environment &
- )
- : TAO_ServerRequestInfo (_tao_server_request),
- _tao_impl (tao_impl),
- mode_ (mode)
-{}
-
-Dynamic::ParameterList *
-POA_IR::AttributeDef::TAO_ServerRequestInfo_IR_AttributeDef_mode_set::arguments (CORBA::Environment &ACE_TRY_ENV)
- ACE_THROW_SPEC ((CORBA::SystemException))
-{
- // Generate the argument list on demand.
- Dynamic::ParameterList *parameter_list =
- TAO_RequestInfo_Util::make_parameter_list (ACE_TRY_ENV);
- ACE_CHECK_RETURN (0);
-
- Dynamic::ParameterList_var safe_parameter_list = parameter_list;
-
- CORBA::ULong length_mode = parameter_list->length ();
- parameter_list->length (length_mode + 1);
- (*parameter_list)[length_mode].argument <<= this->mode_;
-
- (*parameter_list)[length_mode].mode = Dynamic::PARAM_IN;
-
- return safe_parameter_list._retn ();
-}
-
-Dynamic::ExceptionList *
-POA_IR::AttributeDef::TAO_ServerRequestInfo_IR_AttributeDef_mode_set::exceptions (CORBA::Environment &ACE_TRY_ENV)
- ACE_THROW_SPEC ((CORBA::SystemException))
-{
- // Generate the exception list on demand.
- Dynamic::ExceptionList *exception_list =
- TAO_RequestInfo_Util::make_exception_list (ACE_TRY_ENV);
- ACE_CHECK_RETURN (0);
-
- return exception_list;
-}
-
-CORBA::Any *
-POA_IR::AttributeDef::TAO_ServerRequestInfo_IR_AttributeDef_mode_set::result (CORBA::Environment &ACE_TRY_ENV)
- ACE_THROW_SPEC ((CORBA::SystemException))
-{
- // Generate the result on demand.
- CORBA::Boolean tk_void_any = 1;
- CORBA::Any *result_any =
- TAO_RequestInfo_Util::make_any (tk_void_any, ACE_TRY_ENV);
- ACE_CHECK_RETURN (0);
-
- return result_any;
-}
-
-char *
-POA_IR::AttributeDef::TAO_ServerRequestInfo_IR_AttributeDef_mode_set::target_most_derived_interface (
- CORBA::Environment &)
- ACE_THROW_SPEC ((CORBA::SystemException))
-{
- return
- CORBA::string_dup (this->_tao_impl->_interface_repository_id ());
-}
-
-CORBA::Boolean
-POA_IR::AttributeDef::TAO_ServerRequestInfo_IR_AttributeDef_mode_set::target_is_a (
- const char * id,
- CORBA::Environment &ACE_TRY_ENV)
- ACE_THROW_SPEC ((CORBA::SystemException))
-{
- return this->_tao_impl->_is_a (id, ACE_TRY_ENV);
-}
-
-#endif /* TAO_HAS_INTERCEPTORS */
-
-class TAO_IR_OperationDef_Perfect_Hash_OpTable : public TAO_Perfect_Hash_OpTable
-{
-private:
- unsigned int hash (const char *str, unsigned int len);
-public:
- const TAO_operation_db_entry * lookup (const char *str, unsigned int len);
-};
-/* starting time is 11:23:10 */
-/* C++ code produced by gperf version 2.8 (ACE version) */
-/* Command-line: gperf -m -M -J -c -C -D -E -T -f 0 -F 0 -a -o -t -p -K opname_ -L C++ -Z TAO_IR_OperationDef_Perfect_Hash_OpTable -N lookup */
-unsigned int
-TAO_IR_OperationDef_Perfect_Hash_OpTable::hash (const char *str, unsigned int len)
-{
- static const unsigned char asso_values[] =
- {
-#if defined (ACE_MVS)
- 37, 37, 37, 37, 37, 37, 37, 37, 37, 37,
- 37, 37, 37, 37, 37, 37, 37, 37, 37, 37,
- 37, 37, 37, 37, 37, 37, 37, 37, 37, 37,
- 37, 37, 37, 37, 37, 37, 37, 37, 37, 37,
- 37, 37, 37, 37, 37, 37, 37, 37, 37, 37,
- 37, 37, 37, 37, 37, 37, 37, 37, 37, 37,
- 37, 37, 37, 37, 37, 37, 37, 37, 37, 37,
- 37, 37, 37, 37, 37, 37, 37, 37, 37, 37,
- 37, 37, 37, 37, 37, 37, 37, 37, 37, 37,
- 37, 37, 37, 37, 37, 37, 37, 37, 37, 37,
- 37, 37, 37, 37, 37, 37, 37, 37, 37, 0,
- 37, 37, 37, 37, 37, 37, 37, 37, 37, 37,
- 37, 37, 37, 37, 37, 37, 37, 37, 37, 0,
- 37, 37, 15, 0, 10, 37, 37, 37, 37, 37,
- 37, 37, 37, 37, 37, 37, 37, 37, 0, 5,
- 37, 37, 37, 37, 37, 37, 37, 37, 37, 37,
- 37, 37, 0, 20, 37, 37, 37, 37, 10, 37,
- 37, 37, 37, 37, 37, 37, 37, 37, 37, 37,
- 37, 37, 37, 37, 37, 37, 37, 37, 37, 37,
- 37, 37, 37, 37, 37, 37, 37, 37, 37, 37,
- 37, 37, 37, 37, 37, 37, 37, 37, 37, 37,
- 37, 37, 37, 37, 37, 37, 37, 37, 37, 37,
- 37, 37, 37, 37, 37, 37, 37, 37, 37, 37,
- 37, 37, 37, 37, 37, 37, 37, 37, 37, 37,
- 37, 37, 37, 37, 37, 37, 37, 37, 37, 37,
- 37, 37, 37, 37, 37, 37,
-#else
- 37, 37, 37, 37, 37, 37, 37, 37, 37, 37,
- 37, 37, 37, 37, 37, 37, 37, 37, 37, 37,
- 37, 37, 37, 37, 37, 37, 37, 37, 37, 37,
- 37, 37, 37, 37, 37, 37, 37, 37, 37, 37,
- 37, 37, 37, 37, 37, 37, 37, 37, 37, 37,
- 37, 37, 37, 37, 37, 37, 37, 37, 37, 37,
- 37, 37, 37, 37, 37, 37, 37, 37, 37, 37,
- 37, 37, 37, 37, 37, 37, 37, 37, 37, 37,
- 37, 37, 37, 37, 37, 37, 37, 37, 37, 37,
- 37, 37, 37, 37, 37, 0, 37, 0, 37, 37,
- 15, 0, 10, 37, 37, 37, 37, 37, 37, 0,
- 5, 37, 37, 37, 37, 0, 20, 37, 37, 37,
- 37, 10, 37, 37, 37, 37, 37, 37,
-#endif /* ACE_MVS */
- };
- return len + asso_values[str[len - 1]] + asso_values[str[0]];
-}
-
-const class TAO_operation_db_entry *
-TAO_IR_OperationDef_Perfect_Hash_OpTable::lookup (const char *str, unsigned int len)
-{
- enum
- {
- TOTAL_KEYWORDS = 26,
- MIN_WORD_LENGTH = 4,
- MAX_WORD_LENGTH = 26,
- MIN_HASH_VALUE = 4,
- MAX_HASH_VALUE = 36,
- HASH_VALUE_RANGE = 33,
- DUPLICATES = 10
- };
-
- static const class TAO_operation_db_entry wordlist[] =
- {
- {"",0},{"",0},{"",0},{"",0},
- {"move", &POA_IR::OperationDef::move_skel},
- {"_is_a", &POA_IR::OperationDef::_is_a_skel},
- {"_get_mode", &POA_IR::OperationDef::_get_mode_skel},
- {"_set_name", &POA_IR::OperationDef::_set_name_skel},
- {"_get_name", &POA_IR::OperationDef::_get_name_skel},
- {"_set_mode", &POA_IR::OperationDef::_set_mode_skel},
- {"_get_params", &POA_IR::OperationDef::_get_params_skel},
- {"_set_params", &POA_IR::OperationDef::_set_params_skel},
- {"_get_contexts", &POA_IR::OperationDef::_get_contexts_skel},
- {"_set_contexts", &POA_IR::OperationDef::_set_contexts_skel},
- {"_get_exceptions", &POA_IR::OperationDef::_get_exceptions_skel},
- {"_set_exceptions", &POA_IR::OperationDef::_set_exceptions_skel},
- {"_get_version", &POA_IR::OperationDef::_get_version_skel},
- {"_set_version", &POA_IR::OperationDef::_set_version_skel},
- {"_get_absolute_name", &POA_IR::OperationDef::_get_absolute_name_skel},
- {"_get_defined_in", &POA_IR::OperationDef::_get_defined_in_skel},
- {"_get_id", &POA_IR::OperationDef::_get_id_skel},
- {"_set_id", &POA_IR::OperationDef::_set_id_skel},
- {"describe", &POA_IR::OperationDef::describe_skel},
- {"_get_result_def", &POA_IR::OperationDef::_get_result_def_skel},
- {"_set_result_def", &POA_IR::OperationDef::_set_result_def_skel},
- {"_get_def_kind", &POA_IR::OperationDef::_get_def_kind_skel},
- {"_get_result", &POA_IR::OperationDef::_get_result_skel},
- {"destroy", &POA_IR::OperationDef::destroy_skel},
- {"_non_existent", &POA_IR::OperationDef::_non_existent_skel},
- {"_get_containing_repository", &POA_IR::OperationDef::_get_containing_repository_skel},
- };
-
- if (len <= MAX_WORD_LENGTH && len >= MIN_WORD_LENGTH)
- {
- unsigned int key = hash (str, len);
-
- if (key <= MAX_HASH_VALUE && key >= MIN_HASH_VALUE)
- {
- {
- const class TAO_operation_db_entry *resword;
-
- switch (key)
- {
- case 4:
- resword = &wordlist[4]; break;
- case 5:
- resword = &wordlist[5]; break;
- case 9:
- resword = &wordlist[6];
- if (*str == *resword->opname_ && !strncmp (str + 1, resword->opname_ + 1, len - 1)) return resword;
- resword = &wordlist[7];
- if (*str == *resword->opname_ && !strncmp (str + 1, resword->opname_ + 1, len - 1)) return resword;
- resword = &wordlist[8];
- if (*str == *resword->opname_ && !strncmp (str + 1, resword->opname_ + 1, len - 1)) return resword;
- resword = &wordlist[9];
- if (*str == *resword->opname_ && !strncmp (str + 1, resword->opname_ + 1, len - 1)) return resword;
- return 0;
- case 11:
- resword = &wordlist[10];
- if (*str == *resword->opname_ && !strncmp (str + 1, resword->opname_ + 1, len - 1)) return resword;
- resword = &wordlist[11];
- if (*str == *resword->opname_ && !strncmp (str + 1, resword->opname_ + 1, len - 1)) return resword;
- return 0;
- case 13:
- resword = &wordlist[12];
- if (*str == *resword->opname_ && !strncmp (str + 1, resword->opname_ + 1, len - 1)) return resword;
- resword = &wordlist[13];
- if (*str == *resword->opname_ && !strncmp (str + 1, resword->opname_ + 1, len - 1)) return resword;
- return 0;
- case 15:
- resword = &wordlist[14];
- if (*str == *resword->opname_ && !strncmp (str + 1, resword->opname_ + 1, len - 1)) return resword;
- resword = &wordlist[15];
- if (*str == *resword->opname_ && !strncmp (str + 1, resword->opname_ + 1, len - 1)) return resword;
- return 0;
- case 17:
- resword = &wordlist[16];
- if (*str == *resword->opname_ && !strncmp (str + 1, resword->opname_ + 1, len - 1)) return resword;
- resword = &wordlist[17];
- if (*str == *resword->opname_ && !strncmp (str + 1, resword->opname_ + 1, len - 1)) return resword;
- return 0;
- case 18:
- resword = &wordlist[18]; break;
- case 20:
- resword = &wordlist[19]; break;
- case 22:
- resword = &wordlist[20];
- if (*str == *resword->opname_ && !strncmp (str + 1, resword->opname_ + 1, len - 1)) return resword;
- resword = &wordlist[21];
- if (*str == *resword->opname_ && !strncmp (str + 1, resword->opname_ + 1, len - 1)) return resword;
- return 0;
- case 23:
- resword = &wordlist[22]; break;
- case 25:
- resword = &wordlist[23];
- if (*str == *resword->opname_ && !strncmp (str + 1, resword->opname_ + 1, len - 1)) return resword;
- resword = &wordlist[24];
- if (*str == *resword->opname_ && !strncmp (str + 1, resword->opname_ + 1, len - 1)) return resword;
- return 0;
- case 28:
- resword = &wordlist[25]; break;
- case 31:
- resword = &wordlist[26]; break;
- case 32:
- resword = &wordlist[27]; break;
- case 33:
- resword = &wordlist[28]; break;
- case 36:
- resword = &wordlist[29]; break;
- default: return 0;
- }
- if (*str == *resword->opname_ && !strncmp (str + 1, resword->opname_ + 1, len - 1))
- return resword;
- return 0;
- }
- }
- }
- return 0;
-}
-/* ending time is 11:23:10 */
-static TAO_IR_OperationDef_Perfect_Hash_OpTable tao_IR_OperationDef_optable;
-
-///////////////////////////////////////////////////////////////////////
-// Strategized Proxy Broker Implementation
-//
-
-// Factory function Implementation.
-POA_IR::_TAO_OperationDef_Strategized_Proxy_Broker *POA_IR::_TAO_OperationDef_Strategized_Proxy_Broker::the_TAO_OperationDef_Strategized_Proxy_Broker (void)
-{
- static POA_IR::_TAO_OperationDef_Strategized_Proxy_Broker strategized_proxy_broker;
- return &strategized_proxy_broker;
-}
-
-POA_IR::_TAO_OperationDef_Strategized_Proxy_Broker::_TAO_OperationDef_Strategized_Proxy_Broker (void)
-{
- for (int i = 0; i < TAO_Collocation_Strategies::CS_LAST; ++i)
- this->proxy_cache_[i] = 0;
-
-}
-
-POA_IR::_TAO_OperationDef_Strategized_Proxy_Broker::~_TAO_OperationDef_Strategized_Proxy_Broker (void)
-{
- for (int i = 0; i < TAO_Collocation_Strategies::CS_LAST; ++i)
- delete this->proxy_cache_[i];
-
-}
-
-_TAO_OperationDef_Proxy_Impl&
-POA_IR::_TAO_OperationDef_Strategized_Proxy_Broker::select_proxy (
- IR_OperationDef *object,
- CORBA::Environment &ACE_TRY_ENV
- )
-{
- int strategy =
- TAO_ORB_Core::collocation_strategy (object);
-
- if (this->proxy_cache_[strategy] != 0)
- return *this->proxy_cache_[strategy];
-
- this->create_proxy (strategy, ACE_TRY_ENV);
- ACE_CHECK_RETURN (*this->proxy_cache_[strategy]);
-
- return *this->proxy_cache_[strategy];
-
-}
-
-void
-POA_IR::_TAO_OperationDef_Strategized_Proxy_Broker::create_proxy (
- int strategy,
- CORBA::Environment &ACE_TRY_ENV
- )
-{
- ACE_GUARD (TAO_SYNCH_MUTEX, guard, this->mutex_);
-
- if (this->proxy_cache_[strategy] == 0)
- {
- switch (strategy)
- {
- case TAO_Collocation_Strategies::CS_THRU_POA_STRATEGY:
- ACE_NEW_THROW_EX (
- this->proxy_cache_[strategy],
- _TAO_OperationDef_ThruPOA_Proxy_Impl,
- CORBA::NO_MEMORY ()
- );
- ACE_CHECK;
- break;
-
- case TAO_Collocation_Strategies::CS_REMOTE_STRATEGY:
- default:
- ACE_NEW_THROW_EX (
- this->proxy_cache_[strategy],
- _TAO_OperationDef_Remote_Proxy_Impl,
- CORBA::NO_MEMORY ()
- );
- ACE_CHECK;
- break;
-
- }
-
- }
-}
-
-
-//
-// End Strategized Proxy Broker Implementation
-///////////////////////////////////////////////////////////////////////
-
-
-_TAO_OperationDef_Proxy_Broker *
-_TAO_OperationDef_Proxy_Broker_Factory_function (CORBA::Object_ptr obj)
-{
- ACE_UNUSED_ARG (obj);
- return ::POA_IR::_TAO_OperationDef_Strategized_Proxy_Broker::the_TAO_OperationDef_Strategized_Proxy_Broker();
-}
-
-int
-_TAO_OperationDef_Proxy_Broker_Factory_Initializer (long _dummy_)
-{
- ACE_UNUSED_ARG (_dummy_);
-
- _TAO_OperationDef_Proxy_Broker_Factory_function_pointer =
- _TAO_OperationDef_Proxy_Broker_Factory_function;
-
- return 0;
-}
-
-static int _TAO_OperationDef_Proxy_Broker_Stub_Factory_Initializer_Scarecrow =
- _TAO_OperationDef_Proxy_Broker_Factory_Initializer (ACE_reinterpret_cast (long, _TAO_OperationDef_Proxy_Broker_Factory_Initializer));
-
-
-///////////////////////////////////////////////////////////////////////
-// ThruPOA Proxy Implementation
-//
-
-POA_IR::_TAO_OperationDef_ThruPOA_Proxy_Impl::_TAO_OperationDef_ThruPOA_Proxy_Impl (void)
-{}
-
-// ThruPOA Implementation of the IDL interface methods
-
-CORBA::TypeCode_ptr POA_IR::_TAO_OperationDef_ThruPOA_Proxy_Impl::result (
- CORBA_Object *_collocated_tao_target_,
- CORBA::Environment &ACE_TRY_ENV
- )
- ACE_THROW_SPEC ((
- CORBA::SystemException
- ))
-{
- CORBA::TypeCode_var _tao_retval;
- ACE_UNUSED_ARG (_tao_retval);
- TAO_Object_Adapter::Servant_Upcall servant_upcall (
- _collocated_tao_target_->_stubobj ()->servant_orb_var ()->orb_core ()
- );
- CORBA::Object_var forward_to;
- servant_upcall.prepare_for_upcall (
- _collocated_tao_target_->_object_key (),
- "result",
- forward_to.out (),
- ACE_TRY_ENV
- );
- ACE_CHECK_RETURN (0);
- return ACE_reinterpret_cast (
- POA_IR::OperationDef_ptr,
- servant_upcall.servant ()->_downcast (
- "IDL:omg.org/IR/OperationDef:1.0"
- )
- )->result (
- ACE_TRY_ENV
- );
-}
-
-IR_IDLType_ptr POA_IR::_TAO_OperationDef_ThruPOA_Proxy_Impl::result_def (
- CORBA_Object *_collocated_tao_target_,
- CORBA::Environment &ACE_TRY_ENV
- )
- ACE_THROW_SPEC ((
- CORBA::SystemException
- ))
-{
- IR_IDLType_var _tao_retval;
- ACE_UNUSED_ARG (_tao_retval);
- TAO_Object_Adapter::Servant_Upcall servant_upcall (
- _collocated_tao_target_->_stubobj ()->servant_orb_var ()->orb_core ()
- );
- CORBA::Object_var forward_to;
- servant_upcall.prepare_for_upcall (
- _collocated_tao_target_->_object_key (),
- "result_def",
- forward_to.out (),
- ACE_TRY_ENV
- );
- ACE_CHECK_RETURN (0);
- return ACE_reinterpret_cast (
- POA_IR::OperationDef_ptr,
- servant_upcall.servant ()->_downcast (
- "IDL:omg.org/IR/OperationDef:1.0"
- )
- )->result_def (
- ACE_TRY_ENV
- );
-}
-
-void POA_IR::_TAO_OperationDef_ThruPOA_Proxy_Impl::result_def (
- CORBA_Object *_collocated_tao_target_,
- IR_IDLType_ptr result_def,
- CORBA::Environment &ACE_TRY_ENV
- )
- ACE_THROW_SPEC ((
- CORBA::SystemException
- ))
-{
- TAO_Object_Adapter::Servant_Upcall servant_upcall (
- _collocated_tao_target_->_stubobj ()->servant_orb_var ()->orb_core ()
- );
- CORBA::Object_var forward_to;
- servant_upcall.prepare_for_upcall (
- _collocated_tao_target_->_object_key (),
- "result_def",
- forward_to.out (),
- ACE_TRY_ENV
- );
- ACE_CHECK;
- ACE_reinterpret_cast (
- POA_IR::OperationDef_ptr,
- servant_upcall.servant ()->_downcast (
- "IDL:omg.org/IR/OperationDef:1.0"
- )
- )->result_def (
- result_def,
- ACE_TRY_ENV
- );
- return;
-}
-
-IR_ParDescriptionSeq * POA_IR::_TAO_OperationDef_ThruPOA_Proxy_Impl::params (
- CORBA_Object *_collocated_tao_target_,
- CORBA::Environment &ACE_TRY_ENV
- )
- ACE_THROW_SPEC ((
- CORBA::SystemException
- ))
-{
- IR_ParDescriptionSeq_var _tao_retval;
- ACE_UNUSED_ARG (_tao_retval);
- TAO_Object_Adapter::Servant_Upcall servant_upcall (
- _collocated_tao_target_->_stubobj ()->servant_orb_var ()->orb_core ()
- );
- CORBA::Object_var forward_to;
- servant_upcall.prepare_for_upcall (
- _collocated_tao_target_->_object_key (),
- "params",
- forward_to.out (),
- ACE_TRY_ENV
- );
- ACE_CHECK_RETURN (0);
- return ACE_reinterpret_cast (
- POA_IR::OperationDef_ptr,
- servant_upcall.servant ()->_downcast (
- "IDL:omg.org/IR/OperationDef:1.0"
- )
- )->params (
- ACE_TRY_ENV
- );
-}
-
-void POA_IR::_TAO_OperationDef_ThruPOA_Proxy_Impl::params (
- CORBA_Object *_collocated_tao_target_,
- const IR_ParDescriptionSeq & params,
- CORBA::Environment &ACE_TRY_ENV
- )
- ACE_THROW_SPEC ((
- CORBA::SystemException
- ))
-{
- TAO_Object_Adapter::Servant_Upcall servant_upcall (
- _collocated_tao_target_->_stubobj ()->servant_orb_var ()->orb_core ()
- );
- CORBA::Object_var forward_to;
- servant_upcall.prepare_for_upcall (
- _collocated_tao_target_->_object_key (),
- "params",
- forward_to.out (),
- ACE_TRY_ENV
- );
- ACE_CHECK;
- ACE_reinterpret_cast (
- POA_IR::OperationDef_ptr,
- servant_upcall.servant ()->_downcast (
- "IDL:omg.org/IR/OperationDef:1.0"
- )
- )->params (
- params,
- ACE_TRY_ENV
- );
- return;
-}
-
-IR_OperationMode POA_IR::_TAO_OperationDef_ThruPOA_Proxy_Impl::mode (
- CORBA_Object *_collocated_tao_target_,
- CORBA::Environment &ACE_TRY_ENV
- )
- ACE_THROW_SPEC ((
- CORBA::SystemException
- ))
-{
- IR_OperationMode _tao_retval;
- ACE_UNUSED_ARG (_tao_retval);
- TAO_Object_Adapter::Servant_Upcall servant_upcall (
- _collocated_tao_target_->_stubobj ()->servant_orb_var ()->orb_core ()
- );
- CORBA::Object_var forward_to;
- servant_upcall.prepare_for_upcall (
- _collocated_tao_target_->_object_key (),
- "mode",
- forward_to.out (),
- ACE_TRY_ENV
- );
- ACE_CHECK_RETURN (_tao_retval);
- return ACE_reinterpret_cast (
- POA_IR::OperationDef_ptr,
- servant_upcall.servant ()->_downcast (
- "IDL:omg.org/IR/OperationDef:1.0"
- )
- )->mode (
- ACE_TRY_ENV
- );
-}
-
-void POA_IR::_TAO_OperationDef_ThruPOA_Proxy_Impl::mode (
- CORBA_Object *_collocated_tao_target_,
- IR_OperationMode mode,
- CORBA::Environment &ACE_TRY_ENV
- )
- ACE_THROW_SPEC ((
- CORBA::SystemException
- ))
-{
- TAO_Object_Adapter::Servant_Upcall servant_upcall (
- _collocated_tao_target_->_stubobj ()->servant_orb_var ()->orb_core ()
- );
- CORBA::Object_var forward_to;
- servant_upcall.prepare_for_upcall (
- _collocated_tao_target_->_object_key (),
- "mode",
- forward_to.out (),
- ACE_TRY_ENV
- );
- ACE_CHECK;
- ACE_reinterpret_cast (
- POA_IR::OperationDef_ptr,
- servant_upcall.servant ()->_downcast (
- "IDL:omg.org/IR/OperationDef:1.0"
- )
- )->mode (
- mode,
- ACE_TRY_ENV
- );
- return;
-}
-
-IR_ContextIdSeq * POA_IR::_TAO_OperationDef_ThruPOA_Proxy_Impl::contexts (
- CORBA_Object *_collocated_tao_target_,
- CORBA::Environment &ACE_TRY_ENV
- )
- ACE_THROW_SPEC ((
- CORBA::SystemException
- ))
-{
- IR_ContextIdSeq_var _tao_retval;
- ACE_UNUSED_ARG (_tao_retval);
- TAO_Object_Adapter::Servant_Upcall servant_upcall (
- _collocated_tao_target_->_stubobj ()->servant_orb_var ()->orb_core ()
- );
- CORBA::Object_var forward_to;
- servant_upcall.prepare_for_upcall (
- _collocated_tao_target_->_object_key (),
- "contexts",
- forward_to.out (),
- ACE_TRY_ENV
- );
- ACE_CHECK_RETURN (0);
- return ACE_reinterpret_cast (
- POA_IR::OperationDef_ptr,
- servant_upcall.servant ()->_downcast (
- "IDL:omg.org/IR/OperationDef:1.0"
- )
- )->contexts (
- ACE_TRY_ENV
- );
-}
-
-void POA_IR::_TAO_OperationDef_ThruPOA_Proxy_Impl::contexts (
- CORBA_Object *_collocated_tao_target_,
- const IR_ContextIdSeq & contexts,
- CORBA::Environment &ACE_TRY_ENV
- )
- ACE_THROW_SPEC ((
- CORBA::SystemException
- ))
-{
- TAO_Object_Adapter::Servant_Upcall servant_upcall (
- _collocated_tao_target_->_stubobj ()->servant_orb_var ()->orb_core ()
- );
- CORBA::Object_var forward_to;
- servant_upcall.prepare_for_upcall (
- _collocated_tao_target_->_object_key (),
- "contexts",
- forward_to.out (),
- ACE_TRY_ENV
- );
- ACE_CHECK;
- ACE_reinterpret_cast (
- POA_IR::OperationDef_ptr,
- servant_upcall.servant ()->_downcast (
- "IDL:omg.org/IR/OperationDef:1.0"
- )
- )->contexts (
- contexts,
- ACE_TRY_ENV
- );
- return;
-}
-
-IR_ExceptionDefSeq * POA_IR::_TAO_OperationDef_ThruPOA_Proxy_Impl::exceptions (
- CORBA_Object *_collocated_tao_target_,
- CORBA::Environment &ACE_TRY_ENV
- )
- ACE_THROW_SPEC ((
- CORBA::SystemException
- ))
-{
- IR_ExceptionDefSeq_var _tao_retval;
- ACE_UNUSED_ARG (_tao_retval);
- TAO_Object_Adapter::Servant_Upcall servant_upcall (
- _collocated_tao_target_->_stubobj ()->servant_orb_var ()->orb_core ()
- );
- CORBA::Object_var forward_to;
- servant_upcall.prepare_for_upcall (
- _collocated_tao_target_->_object_key (),
- "exceptions",
- forward_to.out (),
- ACE_TRY_ENV
- );
- ACE_CHECK_RETURN (0);
- return ACE_reinterpret_cast (
- POA_IR::OperationDef_ptr,
- servant_upcall.servant ()->_downcast (
- "IDL:omg.org/IR/OperationDef:1.0"
- )
- )->exceptions (
- ACE_TRY_ENV
- );
-}
-
-void POA_IR::_TAO_OperationDef_ThruPOA_Proxy_Impl::exceptions (
- CORBA_Object *_collocated_tao_target_,
- const IR_ExceptionDefSeq & exceptions,
- CORBA::Environment &ACE_TRY_ENV
- )
- ACE_THROW_SPEC ((
- CORBA::SystemException
- ))
-{
- TAO_Object_Adapter::Servant_Upcall servant_upcall (
- _collocated_tao_target_->_stubobj ()->servant_orb_var ()->orb_core ()
- );
- CORBA::Object_var forward_to;
- servant_upcall.prepare_for_upcall (
- _collocated_tao_target_->_object_key (),
- "exceptions",
- forward_to.out (),
- ACE_TRY_ENV
- );
- ACE_CHECK;
- ACE_reinterpret_cast (
- POA_IR::OperationDef_ptr,
- servant_upcall.servant ()->_downcast (
- "IDL:omg.org/IR/OperationDef:1.0"
- )
- )->exceptions (
- exceptions,
- ACE_TRY_ENV
- );
- return;
-}
-
-//
-// End ThruPOA Proxy Implementation
-///////////////////////////////////////////////////////////////////////
-
-// skeleton constructor
-POA_IR::OperationDef::OperationDef (void)
-{
- this->optable_ = &tao_IR_OperationDef_optable;
-}
-
-// copy ctor
-POA_IR::OperationDef::OperationDef (const OperationDef& rhs)
- : ACE_NESTED_CLASS (POA_IR,Contained) (rhs),
- POA_CORBA_IRObject (rhs),
- TAO_ServantBase (rhs)
-{}
-
-// skeleton destructor
-POA_IR::OperationDef::~OperationDef (void)
-{
-}
-
-void POA_IR::OperationDef::_get_result_skel (
- TAO_ServerRequest &_tao_server_request,
- void *_tao_object_reference,
- void * /* context */,
- CORBA::Environment &ACE_TRY_ENV
-)
-{
- POA_IR::OperationDef *_tao_impl = (POA_IR::OperationDef *)_tao_object_reference;
-
- CORBA::TypeCode_var _tao_retval;
-
-#if (TAO_HAS_INTERCEPTORS == 1)
- TAO_ServerRequestInterceptor_Adapter _tao_vfr (
- _tao_server_request.orb_core ()->server_request_interceptors (),
- _tao_server_request.interceptor_count ()
- );
-
- POA_IR::OperationDef::TAO_ServerRequestInfo_IR_OperationDef_result_get ri (
- _tao_server_request,
- _tao_impl,
- ACE_TRY_ENV
- );
-
- ACE_TRY
- {
- _tao_vfr.receive_request (&ri, ACE_TRY_ENV);
- ACE_TRY_CHECK;
-
-#endif /* TAO_HAS_INTERCEPTORS */
- _tao_retval =
- _tao_impl->result (
- ACE_TRY_ENV
- );
- TAO_INTERCEPTOR_CHECK;
-
-#if (TAO_HAS_INTERCEPTORS == 1)
- CORBA::TypeCode_ptr _tao_retval_info = _tao_retval._retn ();
- ri.result (_tao_retval_info);
- _tao_retval = _tao_retval_info;
- ri.reply_status (PortableInterceptor::SUCCESSFUL);
- _tao_vfr.send_reply (&ri, ACE_TRY_ENV);
- ACE_TRY_CHECK;
- }
- ACE_CATCH (PortableInterceptor::ForwardRequest, exc)
- {
- ri.forward_reference (exc);
- _tao_vfr.send_other (
- &ri,
- ACE_TRY_ENV
- );
- ACE_TRY_CHECK;
- _tao_server_request.forward_location (exc.forward.in ());
- }
- ACE_CATCHANY
- {
- ri.exception (&ACE_ANY_EXCEPTION);
- _tao_vfr.send_exception (
- &ri,
- ACE_TRY_ENV
- );
- ACE_TRY_CHECK;
- ACE_RE_THROW;
- }
- ACE_ENDTRY;
- ACE_CHECK;
-#endif /* TAO_HAS_INTERCEPTORS */
-
- _tao_server_request.init_reply ();
-
- TAO_OutputCDR &_tao_out = _tao_server_request.outgoing ();
-
- if (!(
- (_tao_out << _tao_retval.in ())
- ))
- ACE_THROW (CORBA::MARSHAL());
-
- // In case ACE_TRY_ENV is not used in this function
- ACE_UNUSED_ARG (ACE_TRY_ENV);
-}
-
-void POA_IR::OperationDef::_get_result_def_skel (
- TAO_ServerRequest &_tao_server_request,
- void *_tao_object_reference,
- void * /* context */,
- CORBA::Environment &ACE_TRY_ENV
-)
-{
- POA_IR::OperationDef *_tao_impl = (POA_IR::OperationDef *)_tao_object_reference;
-
- IR_IDLType_var _tao_retval;
-
-#if (TAO_HAS_INTERCEPTORS == 1)
- TAO_ServerRequestInterceptor_Adapter _tao_vfr (
- _tao_server_request.orb_core ()->server_request_interceptors (),
- _tao_server_request.interceptor_count ()
- );
-
- POA_IR::OperationDef::TAO_ServerRequestInfo_IR_OperationDef_result_def_get ri (
- _tao_server_request,
- _tao_impl,
- ACE_TRY_ENV
- );
-
- ACE_TRY
- {
- _tao_vfr.receive_request (&ri, ACE_TRY_ENV);
- ACE_TRY_CHECK;
-
-#endif /* TAO_HAS_INTERCEPTORS */
- _tao_retval =
- _tao_impl->result_def (
- ACE_TRY_ENV
- );
- TAO_INTERCEPTOR_CHECK;
-
-#if (TAO_HAS_INTERCEPTORS == 1)
- IR_IDLType_ptr _tao_retval_info = _tao_retval._retn ();
- ri.result (_tao_retval_info);
- _tao_retval = _tao_retval_info;
- ri.reply_status (PortableInterceptor::SUCCESSFUL);
- _tao_vfr.send_reply (&ri, ACE_TRY_ENV);
- ACE_TRY_CHECK;
- }
- ACE_CATCH (PortableInterceptor::ForwardRequest, exc)
- {
- ri.forward_reference (exc);
- _tao_vfr.send_other (
- &ri,
- ACE_TRY_ENV
- );
- ACE_TRY_CHECK;
- _tao_server_request.forward_location (exc.forward.in ());
- }
- ACE_CATCHANY
- {
- ri.exception (&ACE_ANY_EXCEPTION);
- _tao_vfr.send_exception (
- &ri,
- ACE_TRY_ENV
- );
- ACE_TRY_CHECK;
- ACE_RE_THROW;
- }
- ACE_ENDTRY;
- ACE_CHECK;
-#endif /* TAO_HAS_INTERCEPTORS */
-
- _tao_server_request.init_reply ();
-
- TAO_OutputCDR &_tao_out = _tao_server_request.outgoing ();
-
- if (!(
- (_tao_out << _tao_retval.in ())
- ))
- ACE_THROW (CORBA::MARSHAL());
-
- // In case ACE_TRY_ENV is not used in this function
- ACE_UNUSED_ARG (ACE_TRY_ENV);
-}
-
-void POA_IR::OperationDef::_set_result_def_skel (
- TAO_ServerRequest &_tao_server_request,
- void *_tao_object_reference,
- void * /* context */,
- CORBA::Environment &ACE_TRY_ENV
-)
-{
- TAO_InputCDR &_tao_in = _tao_server_request.incoming ();
- POA_IR::OperationDef *_tao_impl = (POA_IR::OperationDef *)_tao_object_reference;
-
- IR_IDLType_var result_def;
- if (!(
- (_tao_in >> result_def.out ())
- ))
- ACE_THROW (CORBA::MARSHAL () );
-
-#if (TAO_HAS_INTERCEPTORS == 1)
- TAO_ServerRequestInterceptor_Adapter _tao_vfr (
- _tao_server_request.orb_core ()->server_request_interceptors (),
- _tao_server_request.interceptor_count ()
- );
-
- POA_IR::OperationDef::TAO_ServerRequestInfo_IR_OperationDef_result_def_set ri (
- _tao_server_request,
- _tao_impl,
- result_def.in (),
- ACE_TRY_ENV
- );
-
- ACE_TRY
- {
- _tao_vfr.receive_request (&ri, ACE_TRY_ENV);
- ACE_TRY_CHECK;
-
-#endif /* TAO_HAS_INTERCEPTORS */
-
- _tao_impl->result_def (
- result_def.in (),
- ACE_TRY_ENV
- );
- TAO_INTERCEPTOR_CHECK;
-
-#if (TAO_HAS_INTERCEPTORS == 1)
- ri.reply_status (PortableInterceptor::SUCCESSFUL);
- _tao_vfr.send_reply (&ri, ACE_TRY_ENV);
- ACE_TRY_CHECK;
- }
- ACE_CATCH (PortableInterceptor::ForwardRequest, exc)
- {
- ri.forward_reference (exc);
- _tao_vfr.send_other (
- &ri,
- ACE_TRY_ENV
- );
- ACE_TRY_CHECK;
- _tao_server_request.forward_location (exc.forward.in ());
- }
- ACE_CATCHANY
- {
- ri.exception (&ACE_ANY_EXCEPTION);
- _tao_vfr.send_exception (
- &ri,
- ACE_TRY_ENV
- );
- ACE_TRY_CHECK;
- ACE_RE_THROW;
- }
- ACE_ENDTRY;
- ACE_CHECK;
-#endif /* TAO_HAS_INTERCEPTORS */
-
- _tao_server_request.init_reply ();
-
- // In case ACE_TRY_ENV is not used in this function
- ACE_UNUSED_ARG (ACE_TRY_ENV);
-}
-
-void POA_IR::OperationDef::_get_params_skel (
- TAO_ServerRequest &_tao_server_request,
- void *_tao_object_reference,
- void * /* context */,
- CORBA::Environment &ACE_TRY_ENV
-)
-{
- POA_IR::OperationDef *_tao_impl = (POA_IR::OperationDef *)_tao_object_reference;
-
- IR_ParDescriptionSeq_var _tao_retval;
-
-#if (TAO_HAS_INTERCEPTORS == 1)
- TAO_ServerRequestInterceptor_Adapter _tao_vfr (
- _tao_server_request.orb_core ()->server_request_interceptors (),
- _tao_server_request.interceptor_count ()
- );
-
- POA_IR::OperationDef::TAO_ServerRequestInfo_IR_OperationDef_params_get ri (
- _tao_server_request,
- _tao_impl ,
- ACE_TRY_ENV
- );
-
- ACE_TRY
- {
- _tao_vfr.receive_request (&ri, ACE_TRY_ENV);
- ACE_TRY_CHECK;
-
-#endif /* TAO_HAS_INTERCEPTORS */
- _tao_retval =
- _tao_impl->params (
- ACE_TRY_ENV
- );
- TAO_INTERCEPTOR_CHECK;
-
-#if (TAO_HAS_INTERCEPTORS == 1)
- IR_ParDescriptionSeq * _tao_retval_info = _tao_retval._retn ();
- ri.result (_tao_retval_info);
- _tao_retval = _tao_retval_info;
- ri.reply_status (PortableInterceptor::SUCCESSFUL);
- _tao_vfr.send_reply (&ri, ACE_TRY_ENV);
- ACE_TRY_CHECK;
- }
- ACE_CATCH (PortableInterceptor::ForwardRequest, exc)
- {
- ri.forward_reference (exc);
- _tao_vfr.send_other (
- &ri,
- ACE_TRY_ENV
- );
- ACE_TRY_CHECK;
- _tao_server_request.forward_location (exc.forward.in ());
- }
- ACE_CATCHANY
- {
- ri.exception (&ACE_ANY_EXCEPTION);
- _tao_vfr.send_exception (
- &ri,
- ACE_TRY_ENV
- );
- ACE_TRY_CHECK;
- ACE_RE_THROW;
- }
- ACE_ENDTRY;
- ACE_CHECK;
-#endif /* TAO_HAS_INTERCEPTORS */
-
- _tao_server_request.init_reply ();
-
- TAO_OutputCDR &_tao_out = _tao_server_request.outgoing ();
-
- if (!(
- (_tao_out << _tao_retval.in ())
- ))
- ACE_THROW (CORBA::MARSHAL());
-
- // In case ACE_TRY_ENV is not used in this function
- ACE_UNUSED_ARG (ACE_TRY_ENV);
-}
-
-void POA_IR::OperationDef::_set_params_skel (
- TAO_ServerRequest &_tao_server_request,
- void *_tao_object_reference,
- void * /* context */,
- CORBA::Environment &ACE_TRY_ENV
-)
-{
- TAO_InputCDR &_tao_in = _tao_server_request.incoming ();
- POA_IR::OperationDef *_tao_impl = (POA_IR::OperationDef *)_tao_object_reference;
-
- IR_ParDescriptionSeq params;
- if (!(
- (_tao_in >> params)
- ))
- ACE_THROW (CORBA::MARSHAL () );
-
-#if (TAO_HAS_INTERCEPTORS == 1)
- TAO_ServerRequestInterceptor_Adapter _tao_vfr (
- _tao_server_request.orb_core ()->server_request_interceptors (),
- _tao_server_request.interceptor_count ()
- );
-
- POA_IR::OperationDef::TAO_ServerRequestInfo_IR_OperationDef_params_set ri (
- _tao_server_request,
- _tao_impl,
- params,
- ACE_TRY_ENV
- );
-
- ACE_TRY
- {
- _tao_vfr.receive_request (&ri, ACE_TRY_ENV);
- ACE_TRY_CHECK;
-
-#endif /* TAO_HAS_INTERCEPTORS */
-
- _tao_impl->params (
- params,
- ACE_TRY_ENV
- );
- TAO_INTERCEPTOR_CHECK;
-
-#if (TAO_HAS_INTERCEPTORS == 1)
- ri.reply_status (PortableInterceptor::SUCCESSFUL);
- _tao_vfr.send_reply (&ri, ACE_TRY_ENV);
- ACE_TRY_CHECK;
- }
- ACE_CATCH (PortableInterceptor::ForwardRequest, exc)
- {
- ri.forward_reference (exc);
- _tao_vfr.send_other (
- &ri,
- ACE_TRY_ENV
- );
- ACE_TRY_CHECK;
- _tao_server_request.forward_location (exc.forward.in ());
- }
- ACE_CATCHANY
- {
- ri.exception (&ACE_ANY_EXCEPTION);
- _tao_vfr.send_exception (
- &ri,
- ACE_TRY_ENV
- );
- ACE_TRY_CHECK;
- ACE_RE_THROW;
- }
- ACE_ENDTRY;
- ACE_CHECK;
-#endif /* TAO_HAS_INTERCEPTORS */
-
- _tao_server_request.init_reply ();
-
- // In case ACE_TRY_ENV is not used in this function
- ACE_UNUSED_ARG (ACE_TRY_ENV);
-}
-
-void POA_IR::OperationDef::_get_mode_skel (
- TAO_ServerRequest &_tao_server_request,
- void *_tao_object_reference,
- void * /* context */,
- CORBA::Environment &ACE_TRY_ENV
-)
-{
- POA_IR::OperationDef *_tao_impl = (POA_IR::OperationDef *)_tao_object_reference;
-
- IR_OperationMode _tao_retval;
-
-#if (TAO_HAS_INTERCEPTORS == 1)
- TAO_ServerRequestInterceptor_Adapter _tao_vfr (
- _tao_server_request.orb_core ()->server_request_interceptors (),
- _tao_server_request.interceptor_count ()
- );
-
- POA_IR::OperationDef::TAO_ServerRequestInfo_IR_OperationDef_mode_get ri (
- _tao_server_request,
- _tao_impl,
- ACE_TRY_ENV
- );
-
- ACE_TRY
- {
- _tao_vfr.receive_request (&ri, ACE_TRY_ENV);
- ACE_TRY_CHECK;
-
-#endif /* TAO_HAS_INTERCEPTORS */
- _tao_retval =
- _tao_impl->mode (
- ACE_TRY_ENV
- );
- TAO_INTERCEPTOR_CHECK;
-
-#if (TAO_HAS_INTERCEPTORS == 1)
- IR_OperationMode _tao_retval_info = _tao_retval;
- ri.result (_tao_retval_info);
- ri.reply_status (PortableInterceptor::SUCCESSFUL);
- _tao_vfr.send_reply (&ri, ACE_TRY_ENV);
- ACE_TRY_CHECK;
- }
- ACE_CATCH (PortableInterceptor::ForwardRequest, exc)
- {
- ri.forward_reference (exc);
- _tao_vfr.send_other (
- &ri,
- ACE_TRY_ENV
- );
- ACE_TRY_CHECK;
- _tao_server_request.forward_location (exc.forward.in ());
- }
- ACE_CATCHANY
- {
- ri.exception (&ACE_ANY_EXCEPTION);
- _tao_vfr.send_exception (
- &ri,
- ACE_TRY_ENV
- );
- ACE_TRY_CHECK;
- ACE_RE_THROW;
- }
- ACE_ENDTRY;
- ACE_CHECK;
-#endif /* TAO_HAS_INTERCEPTORS */
-
- _tao_server_request.init_reply ();
-
- TAO_OutputCDR &_tao_out = _tao_server_request.outgoing ();
-
- if (!(
- (_tao_out << _tao_retval)
- ))
- ACE_THROW (CORBA::MARSHAL());
-
- // In case ACE_TRY_ENV is not used in this function
- ACE_UNUSED_ARG (ACE_TRY_ENV);
-}
-
-void POA_IR::OperationDef::_set_mode_skel (
- TAO_ServerRequest &_tao_server_request,
- void *_tao_object_reference,
- void * /* context */,
- CORBA::Environment &ACE_TRY_ENV
-)
-{
- TAO_InputCDR &_tao_in = _tao_server_request.incoming ();
- POA_IR::OperationDef *_tao_impl = (POA_IR::OperationDef *)_tao_object_reference;
-
- IR_OperationMode mode;
- if (!(
- (_tao_in >> mode)
- ))
- ACE_THROW (CORBA::MARSHAL () );
-
-#if (TAO_HAS_INTERCEPTORS == 1)
- TAO_ServerRequestInterceptor_Adapter _tao_vfr (
- _tao_server_request.orb_core ()->server_request_interceptors (),
- _tao_server_request.interceptor_count ()
- );
-
- POA_IR::OperationDef::TAO_ServerRequestInfo_IR_OperationDef_mode_set ri (
- _tao_server_request,
- _tao_impl,
- mode,
- ACE_TRY_ENV
- );
-
- ACE_TRY
- {
- _tao_vfr.receive_request (&ri, ACE_TRY_ENV);
- ACE_TRY_CHECK;
-
-#endif /* TAO_HAS_INTERCEPTORS */
-
- _tao_impl->mode (
- mode,
- ACE_TRY_ENV
- );
- TAO_INTERCEPTOR_CHECK;
-
-#if (TAO_HAS_INTERCEPTORS == 1)
- ri.reply_status (PortableInterceptor::SUCCESSFUL);
- _tao_vfr.send_reply (&ri, ACE_TRY_ENV);
- ACE_TRY_CHECK;
- }
- ACE_CATCH (PortableInterceptor::ForwardRequest, exc)
- {
- ri.forward_reference (exc);
- _tao_vfr.send_other (
- &ri,
- ACE_TRY_ENV
- );
- ACE_TRY_CHECK;
- _tao_server_request.forward_location (exc.forward.in ());
- }
- ACE_CATCHANY
- {
- ri.exception (&ACE_ANY_EXCEPTION);
- _tao_vfr.send_exception (
- &ri,
- ACE_TRY_ENV
- );
- ACE_TRY_CHECK;
- ACE_RE_THROW;
- }
- ACE_ENDTRY;
- ACE_CHECK;
-#endif /* TAO_HAS_INTERCEPTORS */
-
- _tao_server_request.init_reply ();
-
- // In case ACE_TRY_ENV is not used in this function
- ACE_UNUSED_ARG (ACE_TRY_ENV);
-}
-
-void POA_IR::OperationDef::_get_contexts_skel (
- TAO_ServerRequest &_tao_server_request,
- void *_tao_object_reference,
- void * /* context */,
- CORBA::Environment &ACE_TRY_ENV
-)
-{
- POA_IR::OperationDef *_tao_impl = (POA_IR::OperationDef *)_tao_object_reference;
-
- IR_ContextIdSeq_var _tao_retval;
-
-#if (TAO_HAS_INTERCEPTORS == 1)
- TAO_ServerRequestInterceptor_Adapter _tao_vfr (
- _tao_server_request.orb_core ()->server_request_interceptors (),
- _tao_server_request.interceptor_count ()
- );
-
- POA_IR::OperationDef::TAO_ServerRequestInfo_IR_OperationDef_contexts_get ri (
- _tao_server_request,
- _tao_impl,
- ACE_TRY_ENV
- );
-
- ACE_TRY
- {
- _tao_vfr.receive_request (&ri, ACE_TRY_ENV);
- ACE_TRY_CHECK;
-
-#endif /* TAO_HAS_INTERCEPTORS */
- _tao_retval =
- _tao_impl->contexts (
- ACE_TRY_ENV
- );
- TAO_INTERCEPTOR_CHECK;
-
-#if (TAO_HAS_INTERCEPTORS == 1)
- IR_ContextIdSeq * _tao_retval_info = _tao_retval._retn ();
- ri.result (_tao_retval_info);
- _tao_retval = _tao_retval_info;
- ri.reply_status (PortableInterceptor::SUCCESSFUL);
- _tao_vfr.send_reply (&ri, ACE_TRY_ENV);
- ACE_TRY_CHECK;
- }
- ACE_CATCH (PortableInterceptor::ForwardRequest, exc)
- {
- ri.forward_reference (exc);
- _tao_vfr.send_other (
- &ri,
- ACE_TRY_ENV
- );
- ACE_TRY_CHECK;
- _tao_server_request.forward_location (exc.forward.in ());
- }
- ACE_CATCHANY
- {
- ri.exception (&ACE_ANY_EXCEPTION);
- _tao_vfr.send_exception (
- &ri,
- ACE_TRY_ENV
- );
- ACE_TRY_CHECK;
- ACE_RE_THROW;
- }
- ACE_ENDTRY;
- ACE_CHECK;
-#endif /* TAO_HAS_INTERCEPTORS */
-
- _tao_server_request.init_reply ();
-
- TAO_OutputCDR &_tao_out = _tao_server_request.outgoing ();
-
- if (!(
- (_tao_out << _tao_retval.in ())
- ))
- ACE_THROW (CORBA::MARSHAL());
-
- // In case ACE_TRY_ENV is not used in this function
- ACE_UNUSED_ARG (ACE_TRY_ENV);
-}
-
-void POA_IR::OperationDef::_set_contexts_skel (
- TAO_ServerRequest &_tao_server_request,
- void *_tao_object_reference,
- void * /* context */,
- CORBA::Environment &ACE_TRY_ENV
-)
-{
- TAO_InputCDR &_tao_in = _tao_server_request.incoming ();
- POA_IR::OperationDef *_tao_impl = (POA_IR::OperationDef *)_tao_object_reference;
-
- IR_ContextIdSeq contexts;
- if (!(
- (_tao_in >> contexts)
- ))
- ACE_THROW (CORBA::MARSHAL () );
-
-#if (TAO_HAS_INTERCEPTORS == 1)
- TAO_ServerRequestInterceptor_Adapter _tao_vfr (
- _tao_server_request.orb_core ()->server_request_interceptors (),
- _tao_server_request.interceptor_count ()
- );
-
- POA_IR::OperationDef::TAO_ServerRequestInfo_IR_OperationDef_contexts_set ri (
- _tao_server_request,
- _tao_impl,
- contexts,
- ACE_TRY_ENV
- );
-
- ACE_TRY
- {
- _tao_vfr.receive_request (&ri, ACE_TRY_ENV);
- ACE_TRY_CHECK;
-
-#endif /* TAO_HAS_INTERCEPTORS */
-
- _tao_impl->contexts (
- contexts,
- ACE_TRY_ENV
- );
- TAO_INTERCEPTOR_CHECK;
-
-#if (TAO_HAS_INTERCEPTORS == 1)
- ri.reply_status (PortableInterceptor::SUCCESSFUL);
- _tao_vfr.send_reply (&ri, ACE_TRY_ENV);
- ACE_TRY_CHECK;
- }
- ACE_CATCH (PortableInterceptor::ForwardRequest, exc)
- {
- ri.forward_reference (exc);
- _tao_vfr.send_other (
- &ri,
- ACE_TRY_ENV
- );
- ACE_TRY_CHECK;
- _tao_server_request.forward_location (exc.forward.in ());
- }
- ACE_CATCHANY
- {
- ri.exception (&ACE_ANY_EXCEPTION);
- _tao_vfr.send_exception (
- &ri,
- ACE_TRY_ENV
- );
- ACE_TRY_CHECK;
- ACE_RE_THROW;
- }
- ACE_ENDTRY;
- ACE_CHECK;
-#endif /* TAO_HAS_INTERCEPTORS */
-
- _tao_server_request.init_reply ();
-
- // In case ACE_TRY_ENV is not used in this function
- ACE_UNUSED_ARG (ACE_TRY_ENV);
-}
-
-void POA_IR::OperationDef::_get_exceptions_skel (
- TAO_ServerRequest &_tao_server_request,
- void *_tao_object_reference,
- void * /* context */,
- CORBA::Environment &ACE_TRY_ENV
-)
-{
- POA_IR::OperationDef *_tao_impl = (POA_IR::OperationDef *)_tao_object_reference;
-
- IR_ExceptionDefSeq_var _tao_retval;
-
-#if (TAO_HAS_INTERCEPTORS == 1)
- TAO_ServerRequestInterceptor_Adapter _tao_vfr (
- _tao_server_request.orb_core ()->server_request_interceptors (),
- _tao_server_request.interceptor_count ()
- );
-
- POA_IR::OperationDef::TAO_ServerRequestInfo_IR_OperationDef_exceptions_get ri (
- _tao_server_request,
- _tao_impl,
- ACE_TRY_ENV
- );
-
- ACE_TRY
- {
- _tao_vfr.receive_request (&ri, ACE_TRY_ENV);
- ACE_TRY_CHECK;
-
-#endif /* TAO_HAS_INTERCEPTORS */
- _tao_retval =
- _tao_impl->exceptions (
- ACE_TRY_ENV
- );
- TAO_INTERCEPTOR_CHECK;
-
-#if (TAO_HAS_INTERCEPTORS == 1)
- IR_ExceptionDefSeq * _tao_retval_info = _tao_retval._retn ();
- ri.result (_tao_retval_info);
- _tao_retval = _tao_retval_info;
- ri.reply_status (PortableInterceptor::SUCCESSFUL);
- _tao_vfr.send_reply (&ri, ACE_TRY_ENV);
- ACE_TRY_CHECK;
- }
- ACE_CATCH (PortableInterceptor::ForwardRequest, exc)
- {
- ri.forward_reference (exc);
- _tao_vfr.send_other (
- &ri,
- ACE_TRY_ENV
- );
- ACE_TRY_CHECK;
- _tao_server_request.forward_location (exc.forward.in ());
- }
- ACE_CATCHANY
- {
- ri.exception (&ACE_ANY_EXCEPTION);
- _tao_vfr.send_exception (
- &ri,
- ACE_TRY_ENV
- );
- ACE_TRY_CHECK;
- ACE_RE_THROW;
- }
- ACE_ENDTRY;
- ACE_CHECK;
-#endif /* TAO_HAS_INTERCEPTORS */
-
- _tao_server_request.init_reply ();
-
- TAO_OutputCDR &_tao_out = _tao_server_request.outgoing ();
-
- if (!(
- (_tao_out << _tao_retval.in ())
- ))
- ACE_THROW (CORBA::MARSHAL());
-
- // In case ACE_TRY_ENV is not used in this function
- ACE_UNUSED_ARG (ACE_TRY_ENV);
-}
-
-void POA_IR::OperationDef::_set_exceptions_skel (
- TAO_ServerRequest &_tao_server_request,
- void *_tao_object_reference,
- void * /* context */,
- CORBA::Environment &ACE_TRY_ENV
-)
-{
- TAO_InputCDR &_tao_in = _tao_server_request.incoming ();
- POA_IR::OperationDef *_tao_impl = (POA_IR::OperationDef *)_tao_object_reference;
-
- IR_ExceptionDefSeq exceptions;
- if (!(
- (_tao_in >> exceptions)
- ))
- ACE_THROW (CORBA::MARSHAL () );
-
-#if (TAO_HAS_INTERCEPTORS == 1)
- TAO_ServerRequestInterceptor_Adapter _tao_vfr (
- _tao_server_request.orb_core ()->server_request_interceptors (),
- _tao_server_request.interceptor_count ()
- );
-
- POA_IR::OperationDef::TAO_ServerRequestInfo_IR_OperationDef_exceptions_set ri (
- _tao_server_request,
- _tao_impl,
- exceptions,
- ACE_TRY_ENV
- );
-
- ACE_TRY
- {
- _tao_vfr.receive_request (&ri, ACE_TRY_ENV);
- ACE_TRY_CHECK;
-
-#endif /* TAO_HAS_INTERCEPTORS */
-
- _tao_impl->exceptions (
- exceptions,
- ACE_TRY_ENV
- );
- TAO_INTERCEPTOR_CHECK;
-
-#if (TAO_HAS_INTERCEPTORS == 1)
- ri.reply_status (PortableInterceptor::SUCCESSFUL);
- _tao_vfr.send_reply (&ri, ACE_TRY_ENV);
- ACE_TRY_CHECK;
- }
- ACE_CATCH (PortableInterceptor::ForwardRequest, exc)
- {
- ri.forward_reference (exc);
- _tao_vfr.send_other (
- &ri,
- ACE_TRY_ENV
- );
- ACE_TRY_CHECK;
- _tao_server_request.forward_location (exc.forward.in ());
- }
- ACE_CATCHANY
- {
- ri.exception (&ACE_ANY_EXCEPTION);
- _tao_vfr.send_exception (
- &ri,
- ACE_TRY_ENV
- );
- ACE_TRY_CHECK;
- ACE_RE_THROW;
- }
- ACE_ENDTRY;
- ACE_CHECK;
-#endif /* TAO_HAS_INTERCEPTORS */
-
- _tao_server_request.init_reply ();
-
- // In case ACE_TRY_ENV is not used in this function
- ACE_UNUSED_ARG (ACE_TRY_ENV);
-}
-
-void POA_IR::OperationDef::_is_a_skel (
- TAO_ServerRequest &_tao_server_request,
- void * _tao_object_reference,
- void * /* context */,
- CORBA::Environment &ACE_TRY_ENV
- )
-{
- TAO_InputCDR &_tao_in = _tao_server_request.incoming ();
- POA_IR::OperationDef *_tao_impl = (POA_IR::OperationDef *) _tao_object_reference;
- CORBA::Boolean _tao_retval = 0;
- CORBA::String_var value;
- if (!((_tao_in >> value.out ())))
- ACE_THROW (CORBA::MARSHAL ());
-
- _tao_retval = _tao_impl->_is_a (value.in (), ACE_TRY_ENV);
- ACE_CHECK;
-
- _tao_server_request.init_reply ();
- TAO_OutputCDR &_tao_out = _tao_server_request.outgoing ();
- if (!((_tao_out << CORBA::Any::from_boolean (_tao_retval))))
- ACE_THROW (CORBA::MARSHAL ());
-}
-
-void POA_IR::OperationDef::_non_existent_skel (
- TAO_ServerRequest &_tao_server_request,
- void * _tao_object_reference,
- void * /* context */,
- CORBA::Environment &ACE_TRY_ENV
- )
-{
- POA_IR::OperationDef *_tao_impl = (POA_IR::OperationDef *) _tao_object_reference;
- CORBA::Boolean _tao_retval = _tao_impl->_non_existent (ACE_TRY_ENV);
- ACE_CHECK;
-
- _tao_server_request.init_reply ();
- TAO_OutputCDR &_tao_out = _tao_server_request.outgoing ();
- if (!((_tao_out << CORBA::Any::from_boolean (_tao_retval))))
- ACE_THROW (CORBA::MARSHAL ());
-}
-
-CORBA::Boolean POA_IR::OperationDef::_is_a (
- const char* value,
- CORBA::Environment &ACE_TRY_ENV
- )
-{
- if (
- (!ACE_OS::strcmp ((char *)value, "IDL:omg.org/IR/OperationDef:1.0")) ||
- (!ACE_OS::strcmp ((char *)value, "IDL:omg.org/IR/Contained:1.0")) ||
- (!ACE_OS::strcmp ((char *)value, "IDL:omg.org/CORBA/IRObject:1.0")) ||
- (!ACE_OS::strcmp ((char *)value, CORBA::_tc_Object->id (ACE_TRY_ENV))))
- return 1;
- else
- return 0;
-}
-
-void* POA_IR::OperationDef::_downcast (
- const char* logical_type_id
- )
-{
- if (ACE_OS::strcmp (logical_type_id, "IDL:omg.org/IR/OperationDef:1.0") == 0)
- return ACE_static_cast (POA_IR::OperationDef_ptr, this);
- if (ACE_OS::strcmp (logical_type_id, "IDL:omg.org/IR/Contained:1.0") == 0)
- return ACE_static_cast (POA_IR::Contained_ptr, this);
- if (ACE_OS::strcmp (logical_type_id, "IDL:omg.org/CORBA/IRObject:1.0") == 0)
- return ACE_static_cast (POA_CORBA_IRObject_ptr, this);
- if (ACE_OS::strcmp (logical_type_id, "IDL:omg.org/CORBA/Object:1.0") == 0)
- return ACE_static_cast(PortableServer::Servant, this);
- return 0;
-}
-
-void POA_IR::OperationDef::_dispatch (TAO_ServerRequest &req, void *context, CORBA::Environment &ACE_TRY_ENV)
-{
- this->synchronous_upcall_dispatch(req, context, this, ACE_TRY_ENV);
-}
-
-const char* POA_IR::OperationDef::_interface_repository_id (void) const
-{
- return "IDL:omg.org/IR/OperationDef:1.0";
-}
-
-IR::OperationDef*
-POA_IR::OperationDef::_this (CORBA_Environment &ACE_TRY_ENV)
-{
- TAO_Stub *stub = this->_create_stub (ACE_TRY_ENV);
- ACE_CHECK_RETURN (0);
-
- CORBA::Object_ptr tmp = CORBA::Object::_nil ();
-
- if (stub->servant_orb_var ()->orb_core ()->optimize_collocation_objects ())
- ACE_NEW_RETURN (tmp, CORBA::Object (stub, 1, this), 0);
- else
- ACE_NEW_RETURN (tmp, CORBA::Object (stub, 0, this), 0);
-
- CORBA::Object_var obj = tmp;
- return IR_OperationDef::_unchecked_narrow (obj.in ());
-}
-
-#if (TAO_HAS_INTERCEPTORS == 1)
-POA_IR::OperationDef::TAO_ServerRequestInfo_IR_OperationDef_result_get::TAO_ServerRequestInfo_IR_OperationDef_result_get (
- TAO_ServerRequest &_tao_server_request,
- POA_IR::OperationDef *tao_impl,
- CORBA::Environment &
- )
- : TAO_ServerRequestInfo (_tao_server_request),
- _tao_impl (tao_impl)
-{}
-
-Dynamic::ParameterList *
-POA_IR::OperationDef::TAO_ServerRequestInfo_IR_OperationDef_result_get::arguments (CORBA::Environment &ACE_TRY_ENV)
- ACE_THROW_SPEC ((CORBA::SystemException))
-{
- // Generate the argument list on demand.
- Dynamic::ParameterList *parameter_list =
- TAO_RequestInfo_Util::make_parameter_list (ACE_TRY_ENV);
- ACE_CHECK_RETURN (0);
-
- return parameter_list;
-}
-
-Dynamic::ExceptionList *
-POA_IR::OperationDef::TAO_ServerRequestInfo_IR_OperationDef_result_get::exceptions (CORBA::Environment &ACE_TRY_ENV)
- ACE_THROW_SPEC ((CORBA::SystemException))
-{
- // Generate the exception list on demand.
- Dynamic::ExceptionList *exception_list =
- TAO_RequestInfo_Util::make_exception_list (ACE_TRY_ENV);
- ACE_CHECK_RETURN (0);
-
- return exception_list;
-}
-
-CORBA::Any *
-POA_IR::OperationDef::TAO_ServerRequestInfo_IR_OperationDef_result_get::result (CORBA::Environment &ACE_TRY_ENV)
- ACE_THROW_SPEC ((CORBA::SystemException))
-{
- // Generate the result on demand.
- CORBA::Boolean tk_void_any = 0;
- CORBA::Any *result_any =
- TAO_RequestInfo_Util::make_any (tk_void_any, ACE_TRY_ENV);
- ACE_CHECK_RETURN (0);
-
- CORBA::Any_var safe_result_any = result_any;
-
- (*result_any) <<= this->_result;
-
- return safe_result_any._retn ();
-}
-
-char *
-POA_IR::OperationDef::TAO_ServerRequestInfo_IR_OperationDef_result_get::target_most_derived_interface (
- CORBA::Environment &)
- ACE_THROW_SPEC ((CORBA::SystemException))
-{
- return
- CORBA::string_dup (this->_tao_impl->_interface_repository_id ());
-}
-
-CORBA::Boolean
-POA_IR::OperationDef::TAO_ServerRequestInfo_IR_OperationDef_result_get::target_is_a (
- const char * id,
- CORBA::Environment &ACE_TRY_ENV)
- ACE_THROW_SPEC ((CORBA::SystemException))
-{
- return this->_tao_impl->_is_a (id, ACE_TRY_ENV);
-}
-
-void
-POA_IR::OperationDef::TAO_ServerRequestInfo_IR_OperationDef_result_get::result (CORBA::TypeCode_ptr result)
-{
- // Update the result.
- this->_result = result;
-}
-
-POA_IR::OperationDef::TAO_ServerRequestInfo_IR_OperationDef_result_def_get::TAO_ServerRequestInfo_IR_OperationDef_result_def_get (
- TAO_ServerRequest &_tao_server_request,
- POA_IR::OperationDef *tao_impl,
- CORBA::Environment &
- )
- : TAO_ServerRequestInfo (_tao_server_request),
- _tao_impl (tao_impl)
-{}
-
-Dynamic::ParameterList *
-POA_IR::OperationDef::TAO_ServerRequestInfo_IR_OperationDef_result_def_get::arguments (CORBA::Environment &ACE_TRY_ENV)
- ACE_THROW_SPEC ((CORBA::SystemException))
-{
- // Generate the argument list on demand.
- Dynamic::ParameterList *parameter_list =
- TAO_RequestInfo_Util::make_parameter_list (ACE_TRY_ENV);
- ACE_CHECK_RETURN (0);
-
- return parameter_list;
-}
-
-Dynamic::ExceptionList *
-POA_IR::OperationDef::TAO_ServerRequestInfo_IR_OperationDef_result_def_get::exceptions (CORBA::Environment &ACE_TRY_ENV)
- ACE_THROW_SPEC ((CORBA::SystemException))
-{
- // Generate the exception list on demand.
- Dynamic::ExceptionList *exception_list =
- TAO_RequestInfo_Util::make_exception_list (ACE_TRY_ENV);
- ACE_CHECK_RETURN (0);
-
- return exception_list;
-}
-
-CORBA::Any *
-POA_IR::OperationDef::TAO_ServerRequestInfo_IR_OperationDef_result_def_get::result (CORBA::Environment &ACE_TRY_ENV)
- ACE_THROW_SPEC ((CORBA::SystemException))
-{
- // Generate the result on demand.
- CORBA::Boolean tk_void_any = 0;
- CORBA::Any *result_any =
- TAO_RequestInfo_Util::make_any (tk_void_any, ACE_TRY_ENV);
- ACE_CHECK_RETURN (0);
-
- CORBA::Any_var safe_result_any = result_any;
-
- (*result_any) <<= this->_result;
-
- return safe_result_any._retn ();
-}
-
-char *
-POA_IR::OperationDef::TAO_ServerRequestInfo_IR_OperationDef_result_def_get::target_most_derived_interface (
- CORBA::Environment &)
- ACE_THROW_SPEC ((CORBA::SystemException))
-{
- return
- CORBA::string_dup (this->_tao_impl->_interface_repository_id ());
-}
-
-CORBA::Boolean
-POA_IR::OperationDef::TAO_ServerRequestInfo_IR_OperationDef_result_def_get::target_is_a (
- const char * id,
- CORBA::Environment &ACE_TRY_ENV)
- ACE_THROW_SPEC ((CORBA::SystemException))
-{
- return this->_tao_impl->_is_a (id, ACE_TRY_ENV);
-}
-
-void
-POA_IR::OperationDef::TAO_ServerRequestInfo_IR_OperationDef_result_def_get::result (IR::IDLType_ptr result)
-{
- // Update the result.
- this->_result = result;
-}
-
-POA_IR::OperationDef::TAO_ServerRequestInfo_IR_OperationDef_result_def_set::TAO_ServerRequestInfo_IR_OperationDef_result_def_set (
- TAO_ServerRequest &_tao_server_request,
- POA_IR::OperationDef *tao_impl,
- IR_IDLType_ptr result_def,
- CORBA::Environment &
- )
- : TAO_ServerRequestInfo (_tao_server_request),
- _tao_impl (tao_impl),
- result_def_ (result_def)
-{}
-
-Dynamic::ParameterList *
-POA_IR::OperationDef::TAO_ServerRequestInfo_IR_OperationDef_result_def_set::arguments (CORBA::Environment &ACE_TRY_ENV)
- ACE_THROW_SPEC ((CORBA::SystemException))
-{
- // Generate the argument list on demand.
- Dynamic::ParameterList *parameter_list =
- TAO_RequestInfo_Util::make_parameter_list (ACE_TRY_ENV);
- ACE_CHECK_RETURN (0);
-
- Dynamic::ParameterList_var safe_parameter_list = parameter_list;
-
- CORBA::ULong length_result_def = parameter_list->length ();
- parameter_list->length (length_result_def + 1);
- (*parameter_list)[length_result_def].argument <<= this->result_def_;
-
- (*parameter_list)[length_result_def].mode = Dynamic::PARAM_IN;
-
- return safe_parameter_list._retn ();
-}
-
-Dynamic::ExceptionList *
-POA_IR::OperationDef::TAO_ServerRequestInfo_IR_OperationDef_result_def_set::exceptions (CORBA::Environment &ACE_TRY_ENV)
- ACE_THROW_SPEC ((CORBA::SystemException))
-{
- // Generate the exception list on demand.
- Dynamic::ExceptionList *exception_list =
- TAO_RequestInfo_Util::make_exception_list (ACE_TRY_ENV);
- ACE_CHECK_RETURN (0);
-
- return exception_list;
-}
-
-CORBA::Any *
-POA_IR::OperationDef::TAO_ServerRequestInfo_IR_OperationDef_result_def_set::result (CORBA::Environment &ACE_TRY_ENV)
- ACE_THROW_SPEC ((CORBA::SystemException))
-{
- // Generate the result on demand.
- CORBA::Boolean tk_void_any = 1;
- CORBA::Any *result_any =
- TAO_RequestInfo_Util::make_any (tk_void_any, ACE_TRY_ENV);
- ACE_CHECK_RETURN (0);
-
- return result_any;
-}
-
-char *
-POA_IR::OperationDef::TAO_ServerRequestInfo_IR_OperationDef_result_def_set::target_most_derived_interface (
- CORBA::Environment &)
- ACE_THROW_SPEC ((CORBA::SystemException))
-{
- return
- CORBA::string_dup (this->_tao_impl->_interface_repository_id ());
-}
-
-CORBA::Boolean
-POA_IR::OperationDef::TAO_ServerRequestInfo_IR_OperationDef_result_def_set::target_is_a (
- const char * id,
- CORBA::Environment &ACE_TRY_ENV)
- ACE_THROW_SPEC ((CORBA::SystemException))
-{
- return this->_tao_impl->_is_a (id, ACE_TRY_ENV);
-}
-
-POA_IR::OperationDef::TAO_ServerRequestInfo_IR_OperationDef_params_get::TAO_ServerRequestInfo_IR_OperationDef_params_get (
- TAO_ServerRequest &_tao_server_request,
- POA_IR::OperationDef *tao_impl,
- CORBA::Environment &
- )
- : TAO_ServerRequestInfo (_tao_server_request),
- _tao_impl (tao_impl)
-{}
-
-Dynamic::ParameterList *
-POA_IR::OperationDef::TAO_ServerRequestInfo_IR_OperationDef_params_get::arguments (CORBA::Environment &ACE_TRY_ENV)
- ACE_THROW_SPEC ((CORBA::SystemException))
-{
- // Generate the argument list on demand.
- Dynamic::ParameterList *parameter_list =
- TAO_RequestInfo_Util::make_parameter_list (ACE_TRY_ENV);
- ACE_CHECK_RETURN (0);
-
- return parameter_list;
-}
-
-Dynamic::ExceptionList *
-POA_IR::OperationDef::TAO_ServerRequestInfo_IR_OperationDef_params_get::exceptions (CORBA::Environment &ACE_TRY_ENV)
- ACE_THROW_SPEC ((CORBA::SystemException))
-{
- // Generate the exception list on demand.
- Dynamic::ExceptionList *exception_list =
- TAO_RequestInfo_Util::make_exception_list (ACE_TRY_ENV);
- ACE_CHECK_RETURN (0);
-
- return exception_list;
-}
-
-CORBA::Any *
-POA_IR::OperationDef::TAO_ServerRequestInfo_IR_OperationDef_params_get::result (CORBA::Environment &ACE_TRY_ENV)
- ACE_THROW_SPEC ((CORBA::SystemException))
-{
- // Generate the result on demand.
- CORBA::Boolean tk_void_any = 0;
- CORBA::Any *result_any =
- TAO_RequestInfo_Util::make_any (tk_void_any, ACE_TRY_ENV);
- ACE_CHECK_RETURN (0);
-
- CORBA::Any_var safe_result_any = result_any;
-
- (*result_any) <<= this->_result;
-
- return safe_result_any._retn ();
-}
-
-char *
-POA_IR::OperationDef::TAO_ServerRequestInfo_IR_OperationDef_params_get::target_most_derived_interface (
- CORBA::Environment &)
- ACE_THROW_SPEC ((CORBA::SystemException))
-{
- return
- CORBA::string_dup (this->_tao_impl->_interface_repository_id ());
-}
-
-CORBA::Boolean
-POA_IR::OperationDef::TAO_ServerRequestInfo_IR_OperationDef_params_get::target_is_a (
- const char * id,
- CORBA::Environment &ACE_TRY_ENV)
- ACE_THROW_SPEC ((CORBA::SystemException))
-{
- return this->_tao_impl->_is_a (id, ACE_TRY_ENV);
-}
-
-void
-POA_IR::OperationDef::TAO_ServerRequestInfo_IR_OperationDef_params_get::result (IR::ParDescriptionSeq * result)
-{
- // Update the result.
- this->_result = result;
-}
-
-POA_IR::OperationDef::TAO_ServerRequestInfo_IR_OperationDef_params_set::TAO_ServerRequestInfo_IR_OperationDef_params_set (
- TAO_ServerRequest &_tao_server_request,
- POA_IR::OperationDef *tao_impl,
- const IR_ParDescriptionSeq & params,
- CORBA::Environment &
- )
- : TAO_ServerRequestInfo (_tao_server_request),
- _tao_impl (tao_impl),
- params_ (params)
-{}
-
-Dynamic::ParameterList *
-POA_IR::OperationDef::TAO_ServerRequestInfo_IR_OperationDef_params_set::arguments (CORBA::Environment &ACE_TRY_ENV)
- ACE_THROW_SPEC ((CORBA::SystemException))
-{
- // Generate the argument list on demand.
- Dynamic::ParameterList *parameter_list =
- TAO_RequestInfo_Util::make_parameter_list (ACE_TRY_ENV);
- ACE_CHECK_RETURN (0);
-
- Dynamic::ParameterList_var safe_parameter_list = parameter_list;
-
- CORBA::ULong length_params = parameter_list->length ();
- parameter_list->length (length_params + 1);
- (*parameter_list)[length_params].argument <<= this->params_;
-
- (*parameter_list)[length_params].mode = Dynamic::PARAM_IN;
-
- return safe_parameter_list._retn ();
-}
-
-Dynamic::ExceptionList *
-POA_IR::OperationDef::TAO_ServerRequestInfo_IR_OperationDef_params_set::exceptions (CORBA::Environment &ACE_TRY_ENV)
- ACE_THROW_SPEC ((CORBA::SystemException))
-{
- // Generate the exception list on demand.
- Dynamic::ExceptionList *exception_list =
- TAO_RequestInfo_Util::make_exception_list (ACE_TRY_ENV);
- ACE_CHECK_RETURN (0);
-
- return exception_list;
-}
-
-CORBA::Any *
-POA_IR::OperationDef::TAO_ServerRequestInfo_IR_OperationDef_params_set::result (CORBA::Environment &ACE_TRY_ENV)
- ACE_THROW_SPEC ((CORBA::SystemException))
-{
- // Generate the result on demand.
- CORBA::Boolean tk_void_any = 1;
- CORBA::Any *result_any =
- TAO_RequestInfo_Util::make_any (tk_void_any, ACE_TRY_ENV);
- ACE_CHECK_RETURN (0);
-
- return result_any;
-}
-
-char *
-POA_IR::OperationDef::TAO_ServerRequestInfo_IR_OperationDef_params_set::target_most_derived_interface (
- CORBA::Environment &)
- ACE_THROW_SPEC ((CORBA::SystemException))
-{
- return
- CORBA::string_dup (this->_tao_impl->_interface_repository_id ());
-}
-
-CORBA::Boolean
-POA_IR::OperationDef::TAO_ServerRequestInfo_IR_OperationDef_params_set::target_is_a (
- const char * id,
- CORBA::Environment &ACE_TRY_ENV)
- ACE_THROW_SPEC ((CORBA::SystemException))
-{
- return this->_tao_impl->_is_a (id, ACE_TRY_ENV);
-}
-
-POA_IR::OperationDef::TAO_ServerRequestInfo_IR_OperationDef_mode_get::TAO_ServerRequestInfo_IR_OperationDef_mode_get (
- TAO_ServerRequest &_tao_server_request,
- POA_IR::OperationDef *tao_impl,
- CORBA::Environment &
- )
- : TAO_ServerRequestInfo (_tao_server_request),
- _tao_impl (tao_impl)
-{}
-
-Dynamic::ParameterList *
-POA_IR::OperationDef::TAO_ServerRequestInfo_IR_OperationDef_mode_get::arguments (CORBA::Environment &ACE_TRY_ENV)
- ACE_THROW_SPEC ((CORBA::SystemException))
-{
- // Generate the argument list on demand.
- Dynamic::ParameterList *parameter_list =
- TAO_RequestInfo_Util::make_parameter_list (ACE_TRY_ENV);
- ACE_CHECK_RETURN (0);
-
- return parameter_list;
-}
-
-Dynamic::ExceptionList *
-POA_IR::OperationDef::TAO_ServerRequestInfo_IR_OperationDef_mode_get::exceptions (CORBA::Environment &ACE_TRY_ENV)
- ACE_THROW_SPEC ((CORBA::SystemException))
-{
- // Generate the exception list on demand.
- Dynamic::ExceptionList *exception_list =
- TAO_RequestInfo_Util::make_exception_list (ACE_TRY_ENV);
- ACE_CHECK_RETURN (0);
-
- return exception_list;
-}
-
-CORBA::Any *
-POA_IR::OperationDef::TAO_ServerRequestInfo_IR_OperationDef_mode_get::result (CORBA::Environment &ACE_TRY_ENV)
- ACE_THROW_SPEC ((CORBA::SystemException))
-{
- // Generate the result on demand.
- CORBA::Boolean tk_void_any = 0;
- CORBA::Any *result_any =
- TAO_RequestInfo_Util::make_any (tk_void_any, ACE_TRY_ENV);
- ACE_CHECK_RETURN (0);
-
- CORBA::Any_var safe_result_any = result_any;
-
- (*result_any) <<= this->_result;
-
- return safe_result_any._retn ();
-}
-
-char *
-POA_IR::OperationDef::TAO_ServerRequestInfo_IR_OperationDef_mode_get::target_most_derived_interface (
- CORBA::Environment &)
- ACE_THROW_SPEC ((CORBA::SystemException))
-{
- return
- CORBA::string_dup (this->_tao_impl->_interface_repository_id ());
-}
-
-CORBA::Boolean
-POA_IR::OperationDef::TAO_ServerRequestInfo_IR_OperationDef_mode_get::target_is_a (
- const char * id,
- CORBA::Environment &ACE_TRY_ENV)
- ACE_THROW_SPEC ((CORBA::SystemException))
-{
- return this->_tao_impl->_is_a (id, ACE_TRY_ENV);
-}
-
-void
-POA_IR::OperationDef::TAO_ServerRequestInfo_IR_OperationDef_mode_get::result (IR::OperationMode result)
-{
- // Update the result.
- this->_result = result;
-}
-
-POA_IR::OperationDef::TAO_ServerRequestInfo_IR_OperationDef_mode_set::TAO_ServerRequestInfo_IR_OperationDef_mode_set (
- TAO_ServerRequest &_tao_server_request,
- POA_IR::OperationDef *tao_impl,
- IR_OperationMode & mode,
- CORBA::Environment &
- )
- : TAO_ServerRequestInfo (_tao_server_request),
- _tao_impl (tao_impl),
- mode_ (mode)
-{}
-
-Dynamic::ParameterList *
-POA_IR::OperationDef::TAO_ServerRequestInfo_IR_OperationDef_mode_set::arguments (CORBA::Environment &ACE_TRY_ENV)
- ACE_THROW_SPEC ((CORBA::SystemException))
-{
- // Generate the argument list on demand.
- Dynamic::ParameterList *parameter_list =
- TAO_RequestInfo_Util::make_parameter_list (ACE_TRY_ENV);
- ACE_CHECK_RETURN (0);
-
- Dynamic::ParameterList_var safe_parameter_list = parameter_list;
-
- CORBA::ULong length_mode = parameter_list->length ();
- parameter_list->length (length_mode + 1);
- (*parameter_list)[length_mode].argument <<= this->mode_;
-
- (*parameter_list)[length_mode].mode = Dynamic::PARAM_IN;
-
- return safe_parameter_list._retn ();
-}
-
-Dynamic::ExceptionList *
-POA_IR::OperationDef::TAO_ServerRequestInfo_IR_OperationDef_mode_set::exceptions (CORBA::Environment &ACE_TRY_ENV)
- ACE_THROW_SPEC ((CORBA::SystemException))
-{
- // Generate the exception list on demand.
- Dynamic::ExceptionList *exception_list =
- TAO_RequestInfo_Util::make_exception_list (ACE_TRY_ENV);
- ACE_CHECK_RETURN (0);
-
- return exception_list;
-}
-
-CORBA::Any *
-POA_IR::OperationDef::TAO_ServerRequestInfo_IR_OperationDef_mode_set::result (CORBA::Environment &ACE_TRY_ENV)
- ACE_THROW_SPEC ((CORBA::SystemException))
-{
- // Generate the result on demand.
- CORBA::Boolean tk_void_any = 1;
- CORBA::Any *result_any =
- TAO_RequestInfo_Util::make_any (tk_void_any, ACE_TRY_ENV);
- ACE_CHECK_RETURN (0);
-
- return result_any;
-}
-
-char *
-POA_IR::OperationDef::TAO_ServerRequestInfo_IR_OperationDef_mode_set::target_most_derived_interface (
- CORBA::Environment &)
- ACE_THROW_SPEC ((CORBA::SystemException))
-{
- return
- CORBA::string_dup (this->_tao_impl->_interface_repository_id ());
-}
-
-CORBA::Boolean
-POA_IR::OperationDef::TAO_ServerRequestInfo_IR_OperationDef_mode_set::target_is_a (
- const char * id,
- CORBA::Environment &ACE_TRY_ENV)
- ACE_THROW_SPEC ((CORBA::SystemException))
-{
- return this->_tao_impl->_is_a (id, ACE_TRY_ENV);
-}
-
-POA_IR::OperationDef::TAO_ServerRequestInfo_IR_OperationDef_contexts_get::TAO_ServerRequestInfo_IR_OperationDef_contexts_get (
- TAO_ServerRequest &_tao_server_request,
- POA_IR::OperationDef *tao_impl,
- CORBA::Environment &
- )
- : TAO_ServerRequestInfo (_tao_server_request),
- _tao_impl (tao_impl)
-{}
-
-Dynamic::ParameterList *
-POA_IR::OperationDef::TAO_ServerRequestInfo_IR_OperationDef_contexts_get::arguments (CORBA::Environment &ACE_TRY_ENV)
- ACE_THROW_SPEC ((CORBA::SystemException))
-{
- // Generate the argument list on demand.
- Dynamic::ParameterList *parameter_list =
- TAO_RequestInfo_Util::make_parameter_list (ACE_TRY_ENV);
- ACE_CHECK_RETURN (0);
-
- return parameter_list;
-}
-
-Dynamic::ExceptionList *
-POA_IR::OperationDef::TAO_ServerRequestInfo_IR_OperationDef_contexts_get::exceptions (CORBA::Environment &ACE_TRY_ENV)
- ACE_THROW_SPEC ((CORBA::SystemException))
-{
- // Generate the exception list on demand.
- Dynamic::ExceptionList *exception_list =
- TAO_RequestInfo_Util::make_exception_list (ACE_TRY_ENV);
- ACE_CHECK_RETURN (0);
-
- return exception_list;
-}
-
-CORBA::Any *
-POA_IR::OperationDef::TAO_ServerRequestInfo_IR_OperationDef_contexts_get::result (CORBA::Environment &ACE_TRY_ENV)
- ACE_THROW_SPEC ((CORBA::SystemException))
-{
- // Generate the result on demand.
- CORBA::Boolean tk_void_any = 0;
- CORBA::Any *result_any =
- TAO_RequestInfo_Util::make_any (tk_void_any, ACE_TRY_ENV);
- ACE_CHECK_RETURN (0);
-
- CORBA::Any_var safe_result_any = result_any;
-
- (*result_any) <<= this->_result;
-
- return safe_result_any._retn ();
-}
-
-char *
-POA_IR::OperationDef::TAO_ServerRequestInfo_IR_OperationDef_contexts_get::target_most_derived_interface (
- CORBA::Environment &)
- ACE_THROW_SPEC ((CORBA::SystemException))
-{
- return
- CORBA::string_dup (this->_tao_impl->_interface_repository_id ());
-}
-
-CORBA::Boolean
-POA_IR::OperationDef::TAO_ServerRequestInfo_IR_OperationDef_contexts_get::target_is_a (
- const char * id,
- CORBA::Environment &ACE_TRY_ENV)
- ACE_THROW_SPEC ((CORBA::SystemException))
-{
- return this->_tao_impl->_is_a (id, ACE_TRY_ENV);
-}
-
-void
-POA_IR::OperationDef::TAO_ServerRequestInfo_IR_OperationDef_contexts_get::result (IR::ContextIdSeq * result)
-{
- // Update the result.
- this->_result = result;
-}
-
-POA_IR::OperationDef::TAO_ServerRequestInfo_IR_OperationDef_contexts_set::TAO_ServerRequestInfo_IR_OperationDef_contexts_set (
- TAO_ServerRequest &_tao_server_request,
- POA_IR::OperationDef *tao_impl,
- const IR_ContextIdSeq & contexts,
- CORBA::Environment &
- )
- : TAO_ServerRequestInfo (_tao_server_request),
- _tao_impl (tao_impl),
- contexts_ (contexts)
-{}
-
-Dynamic::ParameterList *
-POA_IR::OperationDef::TAO_ServerRequestInfo_IR_OperationDef_contexts_set::arguments (CORBA::Environment &ACE_TRY_ENV)
- ACE_THROW_SPEC ((CORBA::SystemException))
-{
- // Generate the argument list on demand.
- Dynamic::ParameterList *parameter_list =
- TAO_RequestInfo_Util::make_parameter_list (ACE_TRY_ENV);
- ACE_CHECK_RETURN (0);
-
- Dynamic::ParameterList_var safe_parameter_list = parameter_list;
-
- CORBA::ULong length_contexts = parameter_list->length ();
- parameter_list->length (length_contexts + 1);
- (*parameter_list)[length_contexts].argument <<= this->contexts_;
-
- (*parameter_list)[length_contexts].mode = Dynamic::PARAM_IN;
-
- return safe_parameter_list._retn ();
-}
-
-Dynamic::ExceptionList *
-POA_IR::OperationDef::TAO_ServerRequestInfo_IR_OperationDef_contexts_set::exceptions (CORBA::Environment &ACE_TRY_ENV)
- ACE_THROW_SPEC ((CORBA::SystemException))
-{
- // Generate the exception list on demand.
- Dynamic::ExceptionList *exception_list =
- TAO_RequestInfo_Util::make_exception_list (ACE_TRY_ENV);
- ACE_CHECK_RETURN (0);
-
- return exception_list;
-}
-
-CORBA::Any *
-POA_IR::OperationDef::TAO_ServerRequestInfo_IR_OperationDef_contexts_set::result (CORBA::Environment &ACE_TRY_ENV)
- ACE_THROW_SPEC ((CORBA::SystemException))
-{
- // Generate the result on demand.
- CORBA::Boolean tk_void_any = 1;
- CORBA::Any *result_any =
- TAO_RequestInfo_Util::make_any (tk_void_any, ACE_TRY_ENV);
- ACE_CHECK_RETURN (0);
-
- return result_any;
-}
-
-char *
-POA_IR::OperationDef::TAO_ServerRequestInfo_IR_OperationDef_contexts_set::target_most_derived_interface (
- CORBA::Environment &)
- ACE_THROW_SPEC ((CORBA::SystemException))
-{
- return
- CORBA::string_dup (this->_tao_impl->_interface_repository_id ());
-}
-
-CORBA::Boolean
-POA_IR::OperationDef::TAO_ServerRequestInfo_IR_OperationDef_contexts_set::target_is_a (
- const char * id,
- CORBA::Environment &ACE_TRY_ENV)
- ACE_THROW_SPEC ((CORBA::SystemException))
-{
- return this->_tao_impl->_is_a (id, ACE_TRY_ENV);
-}
-
-POA_IR::OperationDef::TAO_ServerRequestInfo_IR_OperationDef_exceptions_get::TAO_ServerRequestInfo_IR_OperationDef_exceptions_get (
- TAO_ServerRequest &_tao_server_request,
- POA_IR::OperationDef *tao_impl,
- CORBA::Environment &
- )
- : TAO_ServerRequestInfo (_tao_server_request),
- _tao_impl (tao_impl)
-{}
-
-Dynamic::ParameterList *
-POA_IR::OperationDef::TAO_ServerRequestInfo_IR_OperationDef_exceptions_get::arguments (CORBA::Environment &ACE_TRY_ENV)
- ACE_THROW_SPEC ((CORBA::SystemException))
-{
- // Generate the argument list on demand.
- Dynamic::ParameterList *parameter_list =
- TAO_RequestInfo_Util::make_parameter_list (ACE_TRY_ENV);
- ACE_CHECK_RETURN (0);
-
- return parameter_list;
-}
-
-Dynamic::ExceptionList *
-POA_IR::OperationDef::TAO_ServerRequestInfo_IR_OperationDef_exceptions_get::exceptions (CORBA::Environment &ACE_TRY_ENV)
- ACE_THROW_SPEC ((CORBA::SystemException))
-{
- // Generate the exception list on demand.
- Dynamic::ExceptionList *exception_list =
- TAO_RequestInfo_Util::make_exception_list (ACE_TRY_ENV);
- ACE_CHECK_RETURN (0);
-
- return exception_list;
-}
-
-CORBA::Any *
-POA_IR::OperationDef::TAO_ServerRequestInfo_IR_OperationDef_exceptions_get::result (CORBA::Environment &ACE_TRY_ENV)
- ACE_THROW_SPEC ((CORBA::SystemException))
-{
- // Generate the result on demand.
- CORBA::Boolean tk_void_any = 0;
- CORBA::Any *result_any =
- TAO_RequestInfo_Util::make_any (tk_void_any, ACE_TRY_ENV);
- ACE_CHECK_RETURN (0);
-
- CORBA::Any_var safe_result_any = result_any;
-
- (*result_any) <<= this->_result;
-
- return safe_result_any._retn ();
-}
-
-char *
-POA_IR::OperationDef::TAO_ServerRequestInfo_IR_OperationDef_exceptions_get::target_most_derived_interface (
- CORBA::Environment &)
- ACE_THROW_SPEC ((CORBA::SystemException))
-{
- return
- CORBA::string_dup (this->_tao_impl->_interface_repository_id ());
-}
-
-CORBA::Boolean
-POA_IR::OperationDef::TAO_ServerRequestInfo_IR_OperationDef_exceptions_get::target_is_a (
- const char * id,
- CORBA::Environment &ACE_TRY_ENV)
- ACE_THROW_SPEC ((CORBA::SystemException))
-{
- return this->_tao_impl->_is_a (id, ACE_TRY_ENV);
-}
-
-void
-POA_IR::OperationDef::TAO_ServerRequestInfo_IR_OperationDef_exceptions_get::result (IR::ExceptionDefSeq * result)
-{
- // Update the result.
- this->_result = result;
-}
-
-POA_IR::OperationDef::TAO_ServerRequestInfo_IR_OperationDef_exceptions_set::TAO_ServerRequestInfo_IR_OperationDef_exceptions_set (
- TAO_ServerRequest &_tao_server_request,
- POA_IR::OperationDef *tao_impl,
- const IR_ExceptionDefSeq & exceptions,
- CORBA::Environment &
- )
- : TAO_ServerRequestInfo (_tao_server_request),
- _tao_impl (tao_impl),
- exceptions_ (exceptions)
-{}
-
-Dynamic::ParameterList *
-POA_IR::OperationDef::TAO_ServerRequestInfo_IR_OperationDef_exceptions_set::arguments (CORBA::Environment &ACE_TRY_ENV)
- ACE_THROW_SPEC ((CORBA::SystemException))
-{
- // Generate the argument list on demand.
- Dynamic::ParameterList *parameter_list =
- TAO_RequestInfo_Util::make_parameter_list (ACE_TRY_ENV);
- ACE_CHECK_RETURN (0);
-
- Dynamic::ParameterList_var safe_parameter_list = parameter_list;
-
- CORBA::ULong length_exceptions = parameter_list->length ();
- parameter_list->length (length_exceptions + 1);
- (*parameter_list)[length_exceptions].argument <<= this->exceptions_;
-
- (*parameter_list)[length_exceptions].mode = Dynamic::PARAM_IN;
-
- return safe_parameter_list._retn ();
-}
-
-Dynamic::ExceptionList *
-POA_IR::OperationDef::TAO_ServerRequestInfo_IR_OperationDef_exceptions_set::exceptions (CORBA::Environment &ACE_TRY_ENV)
- ACE_THROW_SPEC ((CORBA::SystemException))
-{
- // Generate the exception list on demand.
- Dynamic::ExceptionList *exception_list =
- TAO_RequestInfo_Util::make_exception_list (ACE_TRY_ENV);
- ACE_CHECK_RETURN (0);
-
- return exception_list;
-}
-
-CORBA::Any *
-POA_IR::OperationDef::TAO_ServerRequestInfo_IR_OperationDef_exceptions_set::result (CORBA::Environment &ACE_TRY_ENV)
- ACE_THROW_SPEC ((CORBA::SystemException))
-{
- // Generate the result on demand.
- CORBA::Boolean tk_void_any = 1;
- CORBA::Any *result_any =
- TAO_RequestInfo_Util::make_any (tk_void_any, ACE_TRY_ENV);
- ACE_CHECK_RETURN (0);
-
- return result_any;
-}
-
-char *
-POA_IR::OperationDef::TAO_ServerRequestInfo_IR_OperationDef_exceptions_set::target_most_derived_interface (
- CORBA::Environment &)
- ACE_THROW_SPEC ((CORBA::SystemException))
-{
- return
- CORBA::string_dup (this->_tao_impl->_interface_repository_id ());
-}
-
-CORBA::Boolean
-POA_IR::OperationDef::TAO_ServerRequestInfo_IR_OperationDef_exceptions_set::target_is_a (
- const char * id,
- CORBA::Environment &ACE_TRY_ENV)
- ACE_THROW_SPEC ((CORBA::SystemException))
-{
- return this->_tao_impl->_is_a (id, ACE_TRY_ENV);
-}
-
-#endif /* TAO_HAS_INTERCEPTORS */
-
-class TAO_IR_InterfaceDef_Perfect_Hash_OpTable : public TAO_Perfect_Hash_OpTable
-{
-private:
- unsigned int hash (const char *str, unsigned int len);
-public:
- const TAO_operation_db_entry * lookup (const char *str, unsigned int len);
-};
-/* starting time is 11:23:10 */
-/* C++ code produced by gperf version 2.8 (ACE version) */
-/* Command-line: gperf -m -M -J -c -C -D -E -T -f 0 -F 0 -a -o -t -p -K opname_ -L C++ -Z TAO_IR_InterfaceDef_Perfect_Hash_OpTable -N lookup */
-unsigned int
-TAO_IR_InterfaceDef_Perfect_Hash_OpTable::hash (const char *str, unsigned int len)
-{
- static const unsigned char asso_values[] =
- {
-#if defined (ACE_MVS)
- 66, 66, 66, 66, 66, 66, 66, 66, 66, 66,
- 66, 66, 66, 66, 66, 66, 66, 66, 66, 66,
- 66, 66, 66, 66, 66, 66, 66, 66, 66, 66,
- 66, 66, 66, 66, 66, 66, 66, 66, 66, 66,
- 66, 66, 66, 66, 66, 66, 66, 66, 66, 66,
- 66, 66, 66, 66, 66, 66, 66, 66, 66, 66,
- 66, 66, 66, 66, 66, 66, 66, 66, 66, 66,
- 66, 66, 66, 66, 66, 66, 66, 66, 66, 66,
- 66, 66, 66, 66, 66, 66, 66, 66, 66, 66,
- 66, 66, 66, 66, 66, 66, 66, 66, 66, 66,
- 66, 66, 66, 66, 66, 66, 66, 66, 66, 0,
- 66, 66, 66, 66, 66, 66, 66, 66, 66, 66,
- 66, 66, 66, 66, 66, 66, 66, 66, 66, 0,
- 66, 20, 8, 0, 66, 66, 66, 10, 66, 66,
- 66, 66, 66, 66, 66, 66, 66, 0, 0, 5,
- 66, 0, 66, 66, 66, 66, 66, 66, 66, 66,
- 66, 66, 10, 30, 66, 66, 66, 20, 25, 66,
- 66, 66, 66, 66, 66, 66, 66, 66, 66, 66,
- 66, 66, 66, 66, 66, 66, 66, 66, 66, 66,
- 66, 66, 66, 66, 66, 66, 66, 66, 66, 66,
- 66, 66, 66, 66, 66, 66, 66, 66, 66, 66,
- 66, 66, 66, 66, 66, 66, 66, 66, 66, 66,
- 66, 66, 66, 66, 66, 66, 66, 66, 66, 66,
- 66, 66, 66, 66, 66, 66, 66, 66, 66, 66,
- 66, 66, 66, 66, 66, 66, 66, 66, 66, 66,
- 66, 66, 66, 66, 66, 66,
-#else
- 66, 66, 66, 66, 66, 66, 66, 66, 66, 66,
- 66, 66, 66, 66, 66, 66, 66, 66, 66, 66,
- 66, 66, 66, 66, 66, 66, 66, 66, 66, 66,
- 66, 66, 66, 66, 66, 66, 66, 66, 66, 66,
- 66, 66, 66, 66, 66, 66, 66, 66, 66, 66,
- 66, 66, 66, 66, 66, 66, 66, 66, 66, 66,
- 66, 66, 66, 66, 66, 66, 66, 66, 66, 66,
- 66, 66, 66, 66, 66, 66, 66, 66, 66, 66,
- 66, 66, 66, 66, 66, 66, 66, 66, 66, 66,
- 66, 66, 66, 66, 66, 0, 66, 0, 66, 20,
- 8, 0, 66, 66, 66, 10, 66, 66, 0, 0,
- 5, 66, 0, 66, 66, 10, 30, 66, 66, 66,
- 20, 25, 66, 66, 66, 66, 66, 66,
-#endif /* ACE_MVS */
- };
- return len + asso_values[str[len - 1]] + asso_values[str[0]];
-}
-
-const class TAO_operation_db_entry *
-TAO_IR_InterfaceDef_Perfect_Hash_OpTable::lookup (const char *str, unsigned int len)
-{
- enum
- {
- TOTAL_KEYWORDS = 40,
- MIN_WORD_LENGTH = 4,
- MAX_WORD_LENGTH = 26,
- MIN_HASH_VALUE = 4,
- MAX_HASH_VALUE = 65,
- HASH_VALUE_RANGE = 62,
- DUPLICATES = 11
- };
-
- static const class TAO_operation_db_entry wordlist[] =
- {
- {"",0},{"",0},{"",0},{"",0},
- {"move", &POA_IR::InterfaceDef::move_skel},
- {"_is_a", &POA_IR::InterfaceDef::_is_a_skel},
- {"lookup", &POA_IR::InterfaceDef::lookup_skel},
- {"_get_name", &POA_IR::InterfaceDef::_get_name_skel},
- {"_get_type", &POA_IR::InterfaceDef::_get_type_skel},
- {"_set_name", &POA_IR::InterfaceDef::_set_name_skel},
- {"lookup_name", &POA_IR::InterfaceDef::lookup_name_skel},
- {"_get_is_local", &POA_IR::InterfaceDef::_get_is_local_skel},
- {"_set_is_local", &POA_IR::InterfaceDef::_set_is_local_skel},
- {"is_a", &POA_IR::InterfaceDef::is_a_skel},
- {"_get_id", &POA_IR::InterfaceDef::_get_id_skel},
- {"_set_id", &POA_IR::InterfaceDef::_set_id_skel},
- {"describe", &POA_IR::InterfaceDef::describe_skel},
- {"_get_version", &POA_IR::InterfaceDef::_get_version_skel},
- {"_set_version", &POA_IR::InterfaceDef::_set_version_skel},
- {"_get_absolute_name", &POA_IR::InterfaceDef::_get_absolute_name_skel},
- {"_get_defined_in", &POA_IR::InterfaceDef::_get_defined_in_skel},
- {"_get_def_kind", &POA_IR::InterfaceDef::_get_def_kind_skel},
- {"_get_base_interfaces", &POA_IR::InterfaceDef::_get_base_interfaces_skel},
- {"_set_base_interfaces", &POA_IR::InterfaceDef::_set_base_interfaces_skel},
- {"create_enum", &POA_IR::InterfaceDef::create_enum_skel},
- {"create_value", &POA_IR::InterfaceDef::create_value_skel},
- {"create_module", &POA_IR::InterfaceDef::create_module_skel},
- {"create_native", &POA_IR::InterfaceDef::create_native_skel},
- {"describe_contents", &POA_IR::InterfaceDef::describe_contents_skel},
- {"create_attribute", &POA_IR::InterfaceDef::create_attribute_skel},
- {"create_interface", &POA_IR::InterfaceDef::create_interface_skel},
- {"create_union", &POA_IR::InterfaceDef::create_union_skel},
- {"contents", &POA_IR::InterfaceDef::contents_skel},
- {"destroy", &POA_IR::InterfaceDef::destroy_skel},
- {"create_operation", &POA_IR::InterfaceDef::create_operation_skel},
- {"create_exception", &POA_IR::InterfaceDef::create_exception_skel},
- {"create_alias", &POA_IR::InterfaceDef::create_alias_skel},
- {"_non_existent", &POA_IR::InterfaceDef::_non_existent_skel},
- {"_get_is_abstract", &POA_IR::InterfaceDef::_get_is_abstract_skel},
- {"_set_is_abstract", &POA_IR::InterfaceDef::_set_is_abstract_skel},
- {"_get_containing_repository", &POA_IR::InterfaceDef::_get_containing_repository_skel},
- {"create_value_box", &POA_IR::InterfaceDef::create_value_box_skel},
- {"create_struct", &POA_IR::InterfaceDef::create_struct_skel},
- {"create_constant", &POA_IR::InterfaceDef::create_constant_skel},
- };
-
- static const signed char lookup[] =
- {
- -11, -2, -14, -2, 4, 5, 6, -17, -2, 103, -1, 10, -1, -78,
- 13, -78, 16, -75, 19, -1, 20, 21, -22, -2, -26, -2, -29, -2,
- -34, -2, -73, 24, 25, -74, -1, 28, -75, 31, 32, -1, 33, -78,
- 36, 37, -38, -2, -67, -7, -3, -1, -1, 40, -1, -1, -1, -1,
- 41, -1, -1, -1, -1, -1, -1, 42, -1, 43,
- };
-
- if (len <= MAX_WORD_LENGTH && len >= MIN_WORD_LENGTH)
- {
- unsigned int key = hash (str, len);
-
- if (key <= MAX_HASH_VALUE && key >= MIN_HASH_VALUE)
- {
- int slot = lookup[key];
-
- if (slot >= 0 && slot < MAX_HASH_VALUE)
- {
- const char *s = wordlist[slot].opname_;
-
- if (*str == *s && !strncmp (str + 1, s + 1, len - 1))
- return &wordlist[slot];
- }
- else if (slot < 0 && slot >= -MAX_HASH_VALUE)
- return 0;
- else
- {
- unsigned int offset = key + slot + (slot > 0 ? -MAX_HASH_VALUE : MAX_HASH_VALUE);
- const class TAO_operation_db_entry *base = &wordlist[-lookup[offset]];
- const class TAO_operation_db_entry *ptr = base + -lookup[offset + 1];
-
- while (--ptr >= base)
- if (*str == *ptr->opname_ && !strncmp (str + 1, ptr->opname_ + 1, len - 1))
- return ptr;
- }
- }
- }
- return 0;
-}
-/* ending time is 11:23:10 */
-static TAO_IR_InterfaceDef_Perfect_Hash_OpTable tao_IR_InterfaceDef_optable;
-
-///////////////////////////////////////////////////////////////////////
-// Strategized Proxy Broker Implementation
-//
-
-// Factory function Implementation.
-POA_IR::_TAO_InterfaceDef_Strategized_Proxy_Broker *POA_IR::_TAO_InterfaceDef_Strategized_Proxy_Broker::the_TAO_InterfaceDef_Strategized_Proxy_Broker (void)
-{
- static POA_IR::_TAO_InterfaceDef_Strategized_Proxy_Broker strategized_proxy_broker;
- return &strategized_proxy_broker;
-}
-
-POA_IR::_TAO_InterfaceDef_Strategized_Proxy_Broker::_TAO_InterfaceDef_Strategized_Proxy_Broker (void)
-{
- for (int i = 0; i < TAO_Collocation_Strategies::CS_LAST; ++i)
- this->proxy_cache_[i] = 0;
-
-}
-
-POA_IR::_TAO_InterfaceDef_Strategized_Proxy_Broker::~_TAO_InterfaceDef_Strategized_Proxy_Broker (void)
-{
- for (int i = 0; i < TAO_Collocation_Strategies::CS_LAST; ++i)
- delete this->proxy_cache_[i];
-
-}
-
-_TAO_InterfaceDef_Proxy_Impl&
-POA_IR::_TAO_InterfaceDef_Strategized_Proxy_Broker::select_proxy (
- IR_InterfaceDef *object,
- CORBA::Environment &ACE_TRY_ENV
- )
-{
- int strategy =
- TAO_ORB_Core::collocation_strategy (object);
-
- if (this->proxy_cache_[strategy] != 0)
- return *this->proxy_cache_[strategy];
-
- this->create_proxy (strategy, ACE_TRY_ENV);
- ACE_CHECK_RETURN (*this->proxy_cache_[strategy]);
-
- return *this->proxy_cache_[strategy];
-
-}
-
-void
-POA_IR::_TAO_InterfaceDef_Strategized_Proxy_Broker::create_proxy (
- int strategy,
- CORBA::Environment &ACE_TRY_ENV
- )
-{
- ACE_GUARD (TAO_SYNCH_MUTEX, guard, this->mutex_);
-
- if (this->proxy_cache_[strategy] == 0)
- {
- switch (strategy)
- {
- case TAO_Collocation_Strategies::CS_THRU_POA_STRATEGY:
- ACE_NEW_THROW_EX (
- this->proxy_cache_[strategy],
- _TAO_InterfaceDef_ThruPOA_Proxy_Impl,
- CORBA::NO_MEMORY ()
- );
- ACE_CHECK;
- break;
-
- case TAO_Collocation_Strategies::CS_REMOTE_STRATEGY:
- default:
- ACE_NEW_THROW_EX (
- this->proxy_cache_[strategy],
- _TAO_InterfaceDef_Remote_Proxy_Impl,
- CORBA::NO_MEMORY ()
- );
- ACE_CHECK;
- break;
-
- }
-
- }
-}
-
-
-//
-// End Strategized Proxy Broker Implementation
-///////////////////////////////////////////////////////////////////////
-
-
-_TAO_InterfaceDef_Proxy_Broker *
-_TAO_InterfaceDef_Proxy_Broker_Factory_function (CORBA::Object_ptr obj)
-{
- ACE_UNUSED_ARG (obj);
- return ::POA_IR::_TAO_InterfaceDef_Strategized_Proxy_Broker::the_TAO_InterfaceDef_Strategized_Proxy_Broker();
-}
-
-int
-_TAO_InterfaceDef_Proxy_Broker_Factory_Initializer (long _dummy_)
-{
- ACE_UNUSED_ARG (_dummy_);
-
- _TAO_InterfaceDef_Proxy_Broker_Factory_function_pointer =
- _TAO_InterfaceDef_Proxy_Broker_Factory_function;
-
- return 0;
-}
-
-static int _TAO_InterfaceDef_Proxy_Broker_Stub_Factory_Initializer_Scarecrow =
- _TAO_InterfaceDef_Proxy_Broker_Factory_Initializer (ACE_reinterpret_cast (long, _TAO_InterfaceDef_Proxy_Broker_Factory_Initializer));
-
-
-///////////////////////////////////////////////////////////////////////
-// ThruPOA Proxy Implementation
-//
-
-POA_IR::_TAO_InterfaceDef_ThruPOA_Proxy_Impl::_TAO_InterfaceDef_ThruPOA_Proxy_Impl (void)
-{}
-
-// ThruPOA Implementation of the IDL interface methods
-
-IR_InterfaceDefSeq * POA_IR::_TAO_InterfaceDef_ThruPOA_Proxy_Impl::base_interfaces (
- CORBA_Object *_collocated_tao_target_,
- CORBA::Environment &ACE_TRY_ENV
- )
- ACE_THROW_SPEC ((
- CORBA::SystemException
- ))
-{
- IR_InterfaceDefSeq_var _tao_retval;
- ACE_UNUSED_ARG (_tao_retval);
- TAO_Object_Adapter::Servant_Upcall servant_upcall (
- _collocated_tao_target_->_stubobj ()->servant_orb_var ()->orb_core ()
- );
- CORBA::Object_var forward_to;
- servant_upcall.prepare_for_upcall (
- _collocated_tao_target_->_object_key (),
- "base_interfaces",
- forward_to.out (),
- ACE_TRY_ENV
- );
- ACE_CHECK_RETURN (0);
- return ACE_reinterpret_cast (
- POA_IR::InterfaceDef_ptr,
- servant_upcall.servant ()->_downcast (
- "IDL:omg.org/IR/InterfaceDef:1.0"
- )
- )->base_interfaces (
- ACE_TRY_ENV
- );
-}
-
-void POA_IR::_TAO_InterfaceDef_ThruPOA_Proxy_Impl::base_interfaces (
- CORBA_Object *_collocated_tao_target_,
- const IR_InterfaceDefSeq & base_interfaces,
- CORBA::Environment &ACE_TRY_ENV
- )
- ACE_THROW_SPEC ((
- CORBA::SystemException
- ))
-{
- TAO_Object_Adapter::Servant_Upcall servant_upcall (
- _collocated_tao_target_->_stubobj ()->servant_orb_var ()->orb_core ()
- );
- CORBA::Object_var forward_to;
- servant_upcall.prepare_for_upcall (
- _collocated_tao_target_->_object_key (),
- "base_interfaces",
- forward_to.out (),
- ACE_TRY_ENV
- );
- ACE_CHECK;
- ACE_reinterpret_cast (
- POA_IR::InterfaceDef_ptr,
- servant_upcall.servant ()->_downcast (
- "IDL:omg.org/IR/InterfaceDef:1.0"
- )
- )->base_interfaces (
- base_interfaces,
- ACE_TRY_ENV
- );
- return;
-}
-
-CORBA::Boolean POA_IR::_TAO_InterfaceDef_ThruPOA_Proxy_Impl::is_abstract (
- CORBA_Object *_collocated_tao_target_,
- CORBA::Environment &ACE_TRY_ENV
- )
- ACE_THROW_SPEC ((
- CORBA::SystemException
- ))
-{
- CORBA::Boolean _tao_retval = 0;
- ACE_UNUSED_ARG (_tao_retval);
- TAO_Object_Adapter::Servant_Upcall servant_upcall (
- _collocated_tao_target_->_stubobj ()->servant_orb_var ()->orb_core ()
- );
- CORBA::Object_var forward_to;
- servant_upcall.prepare_for_upcall (
- _collocated_tao_target_->_object_key (),
- "is_abstract",
- forward_to.out (),
- ACE_TRY_ENV
- );
- ACE_CHECK_RETURN (_tao_retval);
- return ACE_reinterpret_cast (
- POA_IR::InterfaceDef_ptr,
- servant_upcall.servant ()->_downcast (
- "IDL:omg.org/IR/InterfaceDef:1.0"
- )
- )->is_abstract (
- ACE_TRY_ENV
- );
-}
-
-void POA_IR::_TAO_InterfaceDef_ThruPOA_Proxy_Impl::is_abstract (
- CORBA_Object *_collocated_tao_target_,
- CORBA::Boolean is_abstract,
- CORBA::Environment &ACE_TRY_ENV
- )
- ACE_THROW_SPEC ((
- CORBA::SystemException
- ))
-{
- TAO_Object_Adapter::Servant_Upcall servant_upcall (
- _collocated_tao_target_->_stubobj ()->servant_orb_var ()->orb_core ()
- );
- CORBA::Object_var forward_to;
- servant_upcall.prepare_for_upcall (
- _collocated_tao_target_->_object_key (),
- "is_abstract",
- forward_to.out (),
- ACE_TRY_ENV
- );
- ACE_CHECK;
- ACE_reinterpret_cast (
- POA_IR::InterfaceDef_ptr,
- servant_upcall.servant ()->_downcast (
- "IDL:omg.org/IR/InterfaceDef:1.0"
- )
- )->is_abstract (
- is_abstract,
- ACE_TRY_ENV
- );
- return;
-}
-
-CORBA::Boolean POA_IR::_TAO_InterfaceDef_ThruPOA_Proxy_Impl::is_local (
- CORBA_Object *_collocated_tao_target_,
- CORBA::Environment &ACE_TRY_ENV
- )
- ACE_THROW_SPEC ((
- CORBA::SystemException
- ))
-{
- CORBA::Boolean _tao_retval = 0;
- ACE_UNUSED_ARG (_tao_retval);
- TAO_Object_Adapter::Servant_Upcall servant_upcall (
- _collocated_tao_target_->_stubobj ()->servant_orb_var ()->orb_core ()
- );
- CORBA::Object_var forward_to;
- servant_upcall.prepare_for_upcall (
- _collocated_tao_target_->_object_key (),
- "is_local",
- forward_to.out (),
- ACE_TRY_ENV
- );
- ACE_CHECK_RETURN (_tao_retval);
- return ACE_reinterpret_cast (
- POA_IR::InterfaceDef_ptr,
- servant_upcall.servant ()->_downcast (
- "IDL:omg.org/IR/InterfaceDef:1.0"
- )
- )->is_local (
- ACE_TRY_ENV
- );
-}
-
-void POA_IR::_TAO_InterfaceDef_ThruPOA_Proxy_Impl::is_local (
- CORBA_Object *_collocated_tao_target_,
- CORBA::Boolean is_local,
- CORBA::Environment &ACE_TRY_ENV
- )
- ACE_THROW_SPEC ((
- CORBA::SystemException
- ))
-{
- TAO_Object_Adapter::Servant_Upcall servant_upcall (
- _collocated_tao_target_->_stubobj ()->servant_orb_var ()->orb_core ()
- );
- CORBA::Object_var forward_to;
- servant_upcall.prepare_for_upcall (
- _collocated_tao_target_->_object_key (),
- "is_local",
- forward_to.out (),
- ACE_TRY_ENV
- );
- ACE_CHECK;
- ACE_reinterpret_cast (
- POA_IR::InterfaceDef_ptr,
- servant_upcall.servant ()->_downcast (
- "IDL:omg.org/IR/InterfaceDef:1.0"
- )
- )->is_local (
- is_local,
- ACE_TRY_ENV
- );
- return;
-}
-
-CORBA::Boolean POA_IR::_TAO_InterfaceDef_ThruPOA_Proxy_Impl::is_a (
- CORBA_Object *_collocated_tao_target_,
- const char * interface_id,
- CORBA::Environment &ACE_TRY_ENV
- )
- ACE_THROW_SPEC ((
- CORBA::SystemException
- ))
-{
- CORBA::Boolean _tao_retval = 0;
- ACE_UNUSED_ARG (_tao_retval);
- TAO_Object_Adapter::Servant_Upcall servant_upcall (
- _collocated_tao_target_->_stubobj ()->servant_orb_var ()->orb_core ()
- );
- CORBA::Object_var forward_to;
- servant_upcall.prepare_for_upcall (
- _collocated_tao_target_->_object_key (),
- "is_a",
- forward_to.out (),
- ACE_TRY_ENV
- );
- ACE_CHECK_RETURN (_tao_retval);
- return ACE_reinterpret_cast (
- POA_IR::InterfaceDef_ptr,
- servant_upcall.servant ()->_downcast (
- "IDL:omg.org/IR/InterfaceDef:1.0"
- )
- )->is_a (
- interface_id,
- ACE_TRY_ENV
- );
-}
-
-IR_AttributeDef_ptr POA_IR::_TAO_InterfaceDef_ThruPOA_Proxy_Impl::create_attribute (
- CORBA_Object *_collocated_tao_target_,
- const char * id,
- const char * name,
- const char * version,
- IR_IDLType_ptr type,
- IR_AttributeMode mode,
- const IR_ExceptionDefSeq & get_exceptions,
- const IR_ExceptionDefSeq & put_exceptions,
- CORBA::Environment &ACE_TRY_ENV
- )
- ACE_THROW_SPEC ((
- CORBA::SystemException
- ))
-{
- IR_AttributeDef_var _tao_retval;
- ACE_UNUSED_ARG (_tao_retval);
- TAO_Object_Adapter::Servant_Upcall servant_upcall (
- _collocated_tao_target_->_stubobj ()->servant_orb_var ()->orb_core ()
- );
- CORBA::Object_var forward_to;
- servant_upcall.prepare_for_upcall (
- _collocated_tao_target_->_object_key (),
- "create_attribute",
- forward_to.out (),
- ACE_TRY_ENV
- );
- ACE_CHECK_RETURN (0);
- return ACE_reinterpret_cast (
- POA_IR::InterfaceDef_ptr,
- servant_upcall.servant ()->_downcast (
- "IDL:omg.org/IR/InterfaceDef:1.0"
- )
- )->create_attribute (
- id,
- name,
- version,
- type,
- mode,
- get_exceptions,
- put_exceptions,
- ACE_TRY_ENV
- );
-}
-
-IR_OperationDef_ptr POA_IR::_TAO_InterfaceDef_ThruPOA_Proxy_Impl::create_operation (
- CORBA_Object *_collocated_tao_target_,
- const char * id,
- const char * name,
- const char * version,
- IR_IDLType_ptr result,
- IR_OperationMode mode,
- const IR_ParDescriptionSeq & params,
- const IR_ExceptionDefSeq & exceptions,
- const IR_ContextIdSeq & contexts,
- CORBA::Environment &ACE_TRY_ENV
- )
- ACE_THROW_SPEC ((
- CORBA::SystemException
- ))
-{
- IR_OperationDef_var _tao_retval;
- ACE_UNUSED_ARG (_tao_retval);
- TAO_Object_Adapter::Servant_Upcall servant_upcall (
- _collocated_tao_target_->_stubobj ()->servant_orb_var ()->orb_core ()
- );
- CORBA::Object_var forward_to;
- servant_upcall.prepare_for_upcall (
- _collocated_tao_target_->_object_key (),
- "create_operation",
- forward_to.out (),
- ACE_TRY_ENV
- );
- ACE_CHECK_RETURN (0);
- return ACE_reinterpret_cast (
- POA_IR::InterfaceDef_ptr,
- servant_upcall.servant ()->_downcast (
- "IDL:omg.org/IR/InterfaceDef:1.0"
- )
- )->create_operation (
- id,
- name,
- version,
- result,
- mode,
- params,
- exceptions,
- contexts,
- ACE_TRY_ENV
- );
-}
-
-//
-// End ThruPOA Proxy Implementation
-///////////////////////////////////////////////////////////////////////
-
-// skeleton constructor
-POA_IR::InterfaceDef::InterfaceDef (void)
-{
- this->optable_ = &tao_IR_InterfaceDef_optable;
-}
-
-// copy ctor
-POA_IR::InterfaceDef::InterfaceDef (const InterfaceDef& rhs)
- : ACE_NESTED_CLASS (POA_IR,Container) (rhs),
- ACE_NESTED_CLASS (POA_IR,Contained) (rhs),
- ACE_NESTED_CLASS (POA_IR,IDLType) (rhs),
- POA_CORBA_IRObject (rhs),
- TAO_ServantBase (rhs)
-{}
-
-// skeleton destructor
-POA_IR::InterfaceDef::~InterfaceDef (void)
-{
-}
-
-void POA_IR::InterfaceDef::_get_base_interfaces_skel (
- TAO_ServerRequest &_tao_server_request,
- void *_tao_object_reference,
- void * /* context */,
- CORBA::Environment &ACE_TRY_ENV
-)
-{
- POA_IR::InterfaceDef *_tao_impl = (POA_IR::InterfaceDef *)_tao_object_reference;
-
- IR_InterfaceDefSeq_var _tao_retval;
-
-#if (TAO_HAS_INTERCEPTORS == 1)
- TAO_ServerRequestInterceptor_Adapter _tao_vfr (
- _tao_server_request.orb_core ()->server_request_interceptors (),
- _tao_server_request.interceptor_count ()
- );
-
- POA_IR::InterfaceDef::TAO_ServerRequestInfo_IR_InterfaceDef_base_interfaces_get ri (
- _tao_server_request,
- _tao_impl,
- ACE_TRY_ENV
- );
-
- ACE_TRY
- {
- _tao_vfr.receive_request (&ri, ACE_TRY_ENV);
- ACE_TRY_CHECK;
-
-#endif /* TAO_HAS_INTERCEPTORS */
- _tao_retval =
- _tao_impl->base_interfaces (
- ACE_TRY_ENV
- );
- TAO_INTERCEPTOR_CHECK;
-
-#if (TAO_HAS_INTERCEPTORS == 1)
- IR_InterfaceDefSeq * _tao_retval_info = _tao_retval._retn ();
- ri.result (_tao_retval_info);
- _tao_retval = _tao_retval_info;
- ri.reply_status (PortableInterceptor::SUCCESSFUL);
- _tao_vfr.send_reply (&ri, ACE_TRY_ENV);
- ACE_TRY_CHECK;
- }
- ACE_CATCH (PortableInterceptor::ForwardRequest, exc)
- {
- ri.forward_reference (exc);
- _tao_vfr.send_other (
- &ri,
- ACE_TRY_ENV
- );
- ACE_TRY_CHECK;
- _tao_server_request.forward_location (exc.forward.in ());
- }
- ACE_CATCHANY
- {
- ri.exception (&ACE_ANY_EXCEPTION);
- _tao_vfr.send_exception (
- &ri,
- ACE_TRY_ENV
- );
- ACE_TRY_CHECK;
- ACE_RE_THROW;
- }
- ACE_ENDTRY;
- ACE_CHECK;
-#endif /* TAO_HAS_INTERCEPTORS */
-
- _tao_server_request.init_reply ();
-
- TAO_OutputCDR &_tao_out = _tao_server_request.outgoing ();
-
- if (!(
- (_tao_out << _tao_retval.in ())
- ))
- ACE_THROW (CORBA::MARSHAL());
-
- // In case ACE_TRY_ENV is not used in this function
- ACE_UNUSED_ARG (ACE_TRY_ENV);
-}
-
-void POA_IR::InterfaceDef::_set_base_interfaces_skel (
- TAO_ServerRequest &_tao_server_request,
- void *_tao_object_reference,
- void * /* context */,
- CORBA::Environment &ACE_TRY_ENV
-)
-{
- TAO_InputCDR &_tao_in = _tao_server_request.incoming ();
- POA_IR::InterfaceDef *_tao_impl = (POA_IR::InterfaceDef *)_tao_object_reference;
-
- IR_InterfaceDefSeq base_interfaces;
- if (!(
- (_tao_in >> base_interfaces)
- ))
- ACE_THROW (CORBA::MARSHAL () );
-
-#if (TAO_HAS_INTERCEPTORS == 1)
- TAO_ServerRequestInterceptor_Adapter _tao_vfr (
- _tao_server_request.orb_core ()->server_request_interceptors (),
- _tao_server_request.interceptor_count ()
- );
-
- POA_IR::InterfaceDef::TAO_ServerRequestInfo_IR_InterfaceDef_base_interfaces_set ri (
- _tao_server_request,
- _tao_impl,
- base_interfaces,
- ACE_TRY_ENV
- );
-
- ACE_TRY
- {
- _tao_vfr.receive_request (&ri, ACE_TRY_ENV);
- ACE_TRY_CHECK;
-
-#endif /* TAO_HAS_INTERCEPTORS */
-
- _tao_impl->base_interfaces (
- base_interfaces,
- ACE_TRY_ENV
- );
- TAO_INTERCEPTOR_CHECK;
-
-#if (TAO_HAS_INTERCEPTORS == 1)
- ri.reply_status (PortableInterceptor::SUCCESSFUL);
- _tao_vfr.send_reply (&ri, ACE_TRY_ENV);
- ACE_TRY_CHECK;
- }
- ACE_CATCH (PortableInterceptor::ForwardRequest, exc)
- {
- ri.forward_reference (exc);
- _tao_vfr.send_other (
- &ri,
- ACE_TRY_ENV
- );
- ACE_TRY_CHECK;
- _tao_server_request.forward_location (exc.forward.in ());
- }
- ACE_CATCHANY
- {
- ri.exception (&ACE_ANY_EXCEPTION);
- _tao_vfr.send_exception (
- &ri,
- ACE_TRY_ENV
- );
- ACE_TRY_CHECK;
- ACE_RE_THROW;
- }
- ACE_ENDTRY;
- ACE_CHECK;
-#endif /* TAO_HAS_INTERCEPTORS */
-
- _tao_server_request.init_reply ();
-
- // In case ACE_TRY_ENV is not used in this function
- ACE_UNUSED_ARG (ACE_TRY_ENV);
-}
-
-void POA_IR::InterfaceDef::_get_is_abstract_skel (
- TAO_ServerRequest &_tao_server_request,
- void *_tao_object_reference,
- void * /* context */,
- CORBA::Environment &ACE_TRY_ENV
-)
-{
- POA_IR::InterfaceDef *_tao_impl = (POA_IR::InterfaceDef *)_tao_object_reference;
-
- CORBA::Boolean _tao_retval = 0;
-
-#if (TAO_HAS_INTERCEPTORS == 1)
- TAO_ServerRequestInterceptor_Adapter _tao_vfr (
- _tao_server_request.orb_core ()->server_request_interceptors (),
- _tao_server_request.interceptor_count ()
- );
-
- POA_IR::InterfaceDef::TAO_ServerRequestInfo_IR_InterfaceDef_is_abstract_get ri (
- _tao_server_request,
- _tao_impl,
- ACE_TRY_ENV
- );
-
- ACE_TRY
- {
- _tao_vfr.receive_request (&ri, ACE_TRY_ENV);
- ACE_TRY_CHECK;
-
-#endif /* TAO_HAS_INTERCEPTORS */
- _tao_retval =
- _tao_impl->is_abstract (
- ACE_TRY_ENV
- );
- TAO_INTERCEPTOR_CHECK;
-
-#if (TAO_HAS_INTERCEPTORS == 1)
- CORBA::Boolean _tao_retval_info = _tao_retval;
- ri.result (_tao_retval_info);
- ri.reply_status (PortableInterceptor::SUCCESSFUL);
- _tao_vfr.send_reply (&ri, ACE_TRY_ENV);
- ACE_TRY_CHECK;
- }
- ACE_CATCH (PortableInterceptor::ForwardRequest, exc)
- {
- ri.forward_reference (exc);
- _tao_vfr.send_other (
- &ri,
- ACE_TRY_ENV
- );
- ACE_TRY_CHECK;
- _tao_server_request.forward_location (exc.forward.in ());
- }
- ACE_CATCHANY
- {
- ri.exception (&ACE_ANY_EXCEPTION);
- _tao_vfr.send_exception (
- &ri,
- ACE_TRY_ENV
- );
- ACE_TRY_CHECK;
- ACE_RE_THROW;
- }
- ACE_ENDTRY;
- ACE_CHECK;
-#endif /* TAO_HAS_INTERCEPTORS */
-
- _tao_server_request.init_reply ();
-
- TAO_OutputCDR &_tao_out = _tao_server_request.outgoing ();
-
- if (!(
- (_tao_out << CORBA::Any::from_boolean (_tao_retval))
- ))
- ACE_THROW (CORBA::MARSHAL());
-
- // In case ACE_TRY_ENV is not used in this function
- ACE_UNUSED_ARG (ACE_TRY_ENV);
-}
-
-void POA_IR::InterfaceDef::_set_is_abstract_skel (
- TAO_ServerRequest &_tao_server_request,
- void *_tao_object_reference,
- void * /* context */,
- CORBA::Environment &ACE_TRY_ENV
-)
-{
- TAO_InputCDR &_tao_in = _tao_server_request.incoming ();
- POA_IR::InterfaceDef *_tao_impl = (POA_IR::InterfaceDef *)_tao_object_reference;
-
- CORBA::Boolean is_abstract;
- if (!(
- (_tao_in >> CORBA::Any::to_boolean (is_abstract))
- ))
- ACE_THROW (CORBA::MARSHAL () );
-
-#if (TAO_HAS_INTERCEPTORS == 1)
- TAO_ServerRequestInterceptor_Adapter _tao_vfr (
- _tao_server_request.orb_core ()->server_request_interceptors (),
- _tao_server_request.interceptor_count ()
- );
-
- POA_IR::InterfaceDef::TAO_ServerRequestInfo_IR_InterfaceDef_is_abstract_set ri (
- _tao_server_request,
- _tao_impl,
- is_abstract,
- ACE_TRY_ENV
- );
-
- ACE_TRY
- {
- _tao_vfr.receive_request (&ri, ACE_TRY_ENV);
- ACE_TRY_CHECK;
-
-#endif /* TAO_HAS_INTERCEPTORS */
-
- _tao_impl->is_abstract (
- is_abstract,
- ACE_TRY_ENV
- );
- TAO_INTERCEPTOR_CHECK;
-
-#if (TAO_HAS_INTERCEPTORS == 1)
- ri.reply_status (PortableInterceptor::SUCCESSFUL);
- _tao_vfr.send_reply (&ri, ACE_TRY_ENV);
- ACE_TRY_CHECK;
- }
- ACE_CATCH (PortableInterceptor::ForwardRequest, exc)
- {
- ri.forward_reference (exc);
- _tao_vfr.send_other (
- &ri,
- ACE_TRY_ENV
- );
- ACE_TRY_CHECK;
- _tao_server_request.forward_location (exc.forward.in ());
- }
- ACE_CATCHANY
- {
- ri.exception (&ACE_ANY_EXCEPTION);
- _tao_vfr.send_exception (
- &ri,
- ACE_TRY_ENV
- );
- ACE_TRY_CHECK;
- ACE_RE_THROW;
- }
- ACE_ENDTRY;
- ACE_CHECK;
-#endif /* TAO_HAS_INTERCEPTORS */
-
- _tao_server_request.init_reply ();
-
- // In case ACE_TRY_ENV is not used in this function
- ACE_UNUSED_ARG (ACE_TRY_ENV);
-}
-
-void POA_IR::InterfaceDef::_get_is_local_skel (
- TAO_ServerRequest &_tao_server_request,
- void *_tao_object_reference,
- void * /* context */,
- CORBA::Environment &ACE_TRY_ENV
-)
-{
- POA_IR::InterfaceDef *_tao_impl = (POA_IR::InterfaceDef *)_tao_object_reference;
-
- CORBA::Boolean _tao_retval = 0;
-
-#if (TAO_HAS_INTERCEPTORS == 1)
- TAO_ServerRequestInterceptor_Adapter _tao_vfr (
- _tao_server_request.orb_core ()->server_request_interceptors (),
- _tao_server_request.interceptor_count ()
- );
-
- POA_IR::InterfaceDef::TAO_ServerRequestInfo_IR_InterfaceDef_is_local_get ri (
- _tao_server_request,
- _tao_impl,
- ACE_TRY_ENV
- );
-
- ACE_TRY
- {
- _tao_vfr.receive_request (&ri, ACE_TRY_ENV);
- ACE_TRY_CHECK;
-
-#endif /* TAO_HAS_INTERCEPTORS */
- _tao_retval =
- _tao_impl->is_local (
- ACE_TRY_ENV
- );
- TAO_INTERCEPTOR_CHECK;
-
-#if (TAO_HAS_INTERCEPTORS == 1)
- CORBA::Boolean _tao_retval_info = _tao_retval;
- ri.result (_tao_retval_info);
- ri.reply_status (PortableInterceptor::SUCCESSFUL);
- _tao_vfr.send_reply (&ri, ACE_TRY_ENV);
- ACE_TRY_CHECK;
- }
- ACE_CATCH (PortableInterceptor::ForwardRequest, exc)
- {
- ri.forward_reference (exc);
- _tao_vfr.send_other (
- &ri,
- ACE_TRY_ENV
- );
- ACE_TRY_CHECK;
- _tao_server_request.forward_location (exc.forward.in ());
- }
- ACE_CATCHANY
- {
- ri.exception (&ACE_ANY_EXCEPTION);
- _tao_vfr.send_exception (
- &ri,
- ACE_TRY_ENV
- );
- ACE_TRY_CHECK;
- ACE_RE_THROW;
- }
- ACE_ENDTRY;
- ACE_CHECK;
-#endif /* TAO_HAS_INTERCEPTORS */
-
- _tao_server_request.init_reply ();
-
- TAO_OutputCDR &_tao_out = _tao_server_request.outgoing ();
-
- if (!(
- (_tao_out << CORBA::Any::from_boolean (_tao_retval))
- ))
- ACE_THROW (CORBA::MARSHAL());
-
- // In case ACE_TRY_ENV is not used in this function
- ACE_UNUSED_ARG (ACE_TRY_ENV);
-}
-
-void POA_IR::InterfaceDef::_set_is_local_skel (
- TAO_ServerRequest &_tao_server_request,
- void *_tao_object_reference,
- void * /* context */,
- CORBA::Environment &ACE_TRY_ENV
-)
-{
- TAO_InputCDR &_tao_in = _tao_server_request.incoming ();
- POA_IR::InterfaceDef *_tao_impl = (POA_IR::InterfaceDef *)_tao_object_reference;
-
- CORBA::Boolean is_local;
- if (!(
- (_tao_in >> CORBA::Any::to_boolean (is_local))
- ))
- ACE_THROW (CORBA::MARSHAL () );
-
-#if (TAO_HAS_INTERCEPTORS == 1)
- TAO_ServerRequestInterceptor_Adapter _tao_vfr (
- _tao_server_request.orb_core ()->server_request_interceptors (),
- _tao_server_request.interceptor_count ()
- );
-
- POA_IR::InterfaceDef::TAO_ServerRequestInfo_IR_InterfaceDef_is_local_set ri (
- _tao_server_request,
- _tao_impl,
- is_local,
- ACE_TRY_ENV
- );
-
- ACE_TRY
- {
- _tao_vfr.receive_request (&ri, ACE_TRY_ENV);
- ACE_TRY_CHECK;
-
-#endif /* TAO_HAS_INTERCEPTORS */
-
- _tao_impl->is_local (
- is_local,
- ACE_TRY_ENV
- );
- TAO_INTERCEPTOR_CHECK;
-
-#if (TAO_HAS_INTERCEPTORS == 1)
- ri.reply_status (PortableInterceptor::SUCCESSFUL);
- _tao_vfr.send_reply (&ri, ACE_TRY_ENV);
- ACE_TRY_CHECK;
- }
- ACE_CATCH (PortableInterceptor::ForwardRequest, exc)
- {
- ri.forward_reference (exc);
- _tao_vfr.send_other (
- &ri,
- ACE_TRY_ENV
- );
- ACE_TRY_CHECK;
- _tao_server_request.forward_location (exc.forward.in ());
- }
- ACE_CATCHANY
- {
- ri.exception (&ACE_ANY_EXCEPTION);
- _tao_vfr.send_exception (
- &ri,
- ACE_TRY_ENV
- );
- ACE_TRY_CHECK;
- ACE_RE_THROW;
- }
- ACE_ENDTRY;
- ACE_CHECK;
-#endif /* TAO_HAS_INTERCEPTORS */
-
- _tao_server_request.init_reply ();
-
- // In case ACE_TRY_ENV is not used in this function
- ACE_UNUSED_ARG (ACE_TRY_ENV);
-}
-
-void POA_IR::InterfaceDef::is_a_skel (
- TAO_ServerRequest &_tao_server_request,
- void *_tao_object_reference,
- void * /* context */,
- CORBA::Environment &ACE_TRY_ENV
-)
-{
- TAO_InputCDR &_tao_in = _tao_server_request.incoming ();
- POA_IR::InterfaceDef *_tao_impl = (POA_IR::InterfaceDef *)_tao_object_reference;
-
- CORBA::Boolean _tao_retval = 0;
- CORBA::String_var interface_id;
- if (!(
- (_tao_in >> interface_id.out ())
- ))
- ACE_THROW (CORBA::MARSHAL () );
-
-#if (TAO_HAS_INTERCEPTORS == 1)
- TAO_ServerRequestInterceptor_Adapter _tao_vfr (
- _tao_server_request.orb_core ()->server_request_interceptors (),
- _tao_server_request.interceptor_count ()
- );
-
- POA_IR::InterfaceDef::TAO_ServerRequestInfo_IR_InterfaceDef_is_a ri (
- _tao_server_request,
- _tao_impl,
- interface_id.in (),
- ACE_TRY_ENV
- );
-
- ACE_TRY
- {
- _tao_vfr.receive_request (&ri, ACE_TRY_ENV);
- ACE_TRY_CHECK;
-
-#endif /* TAO_HAS_INTERCEPTORS */
- _tao_retval =
- _tao_impl->is_a (
- interface_id.in (),
- ACE_TRY_ENV
- );
- TAO_INTERCEPTOR_CHECK;
-
-#if (TAO_HAS_INTERCEPTORS == 1)
- CORBA::Boolean _tao_retval_info = _tao_retval;
- ri.result (_tao_retval_info);
- ri.reply_status (PortableInterceptor::SUCCESSFUL);
- _tao_vfr.send_reply (&ri, ACE_TRY_ENV);
- ACE_TRY_CHECK;
- }
- ACE_CATCH (PortableInterceptor::ForwardRequest, exc)
- {
- ri.forward_reference (exc);
- _tao_vfr.send_other (
- &ri,
- ACE_TRY_ENV
- );
- ACE_TRY_CHECK;
- _tao_server_request.forward_location (exc.forward.in ());
- }
- ACE_CATCHANY
- {
- ri.exception (&ACE_ANY_EXCEPTION);
- _tao_vfr.send_exception (
- &ri,
- ACE_TRY_ENV
- );
- ACE_TRY_CHECK;
- ACE_RE_THROW;
- }
- ACE_ENDTRY;
- ACE_CHECK;
-#endif /* TAO_HAS_INTERCEPTORS */
-
- _tao_server_request.init_reply ();
-
- TAO_OutputCDR &_tao_out = _tao_server_request.outgoing ();
-
- if (!(
- (_tao_out << CORBA::Any::from_boolean (_tao_retval))
- ))
- ACE_THROW (CORBA::MARSHAL());
-
- // In case ACE_TRY_ENV is not used in this function
- ACE_UNUSED_ARG (ACE_TRY_ENV);
-}
-
-void POA_IR::InterfaceDef::create_attribute_skel (
- TAO_ServerRequest &_tao_server_request,
- void *_tao_object_reference,
- void * /* context */,
- CORBA::Environment &ACE_TRY_ENV
-)
-{
- TAO_InputCDR &_tao_in = _tao_server_request.incoming ();
- POA_IR::InterfaceDef *_tao_impl = (POA_IR::InterfaceDef *)_tao_object_reference;
-
- IR_AttributeDef_var _tao_retval;
- CORBA::String_var id;
- CORBA::String_var name;
- CORBA::String_var version;
- IR_IDLType_var type;
- IR_AttributeMode mode;
- IR_ExceptionDefSeq get_exceptions;
- IR_ExceptionDefSeq put_exceptions;
- if (!(
- (_tao_in >> id.out ()) &&
- (_tao_in >> name.out ()) &&
- (_tao_in >> version.out ()) &&
- (_tao_in >> type.out ()) &&
- (_tao_in >> mode) &&
- (_tao_in >> get_exceptions) &&
- (_tao_in >> put_exceptions)
- ))
- ACE_THROW (CORBA::MARSHAL () );
-
-#if (TAO_HAS_INTERCEPTORS == 1)
- TAO_ServerRequestInterceptor_Adapter _tao_vfr (
- _tao_server_request.orb_core ()->server_request_interceptors (),
- _tao_server_request.interceptor_count ()
- );
-
- POA_IR::InterfaceDef::TAO_ServerRequestInfo_IR_InterfaceDef_create_attribute ri (
- _tao_server_request,
- _tao_impl,
- id.in (),
- name.in (),
- version.in (),
- type.in (),
- mode,
- get_exceptions,
- put_exceptions,
- ACE_TRY_ENV
- );
-
- ACE_TRY
- {
- _tao_vfr.receive_request (&ri, ACE_TRY_ENV);
- ACE_TRY_CHECK;
-
-#endif /* TAO_HAS_INTERCEPTORS */
- _tao_retval =
- _tao_impl->create_attribute (
- id.in (),
- name.in (),
- version.in (),
- type.in (),
- mode,
- get_exceptions,
- put_exceptions,
- ACE_TRY_ENV
- );
- TAO_INTERCEPTOR_CHECK;
-
-#if (TAO_HAS_INTERCEPTORS == 1)
- IR_AttributeDef_ptr _tao_retval_info = _tao_retval._retn ();
- ri.result (_tao_retval_info);
- _tao_retval = _tao_retval_info;
- ri.reply_status (PortableInterceptor::SUCCESSFUL);
- _tao_vfr.send_reply (&ri, ACE_TRY_ENV);
- ACE_TRY_CHECK;
- }
- ACE_CATCH (PortableInterceptor::ForwardRequest, exc)
- {
- ri.forward_reference (exc);
- _tao_vfr.send_other (
- &ri,
- ACE_TRY_ENV
- );
- ACE_TRY_CHECK;
- _tao_server_request.forward_location (exc.forward.in ());
- }
- ACE_CATCHANY
- {
- ri.exception (&ACE_ANY_EXCEPTION);
- _tao_vfr.send_exception (
- &ri,
- ACE_TRY_ENV
- );
- ACE_TRY_CHECK;
- ACE_RE_THROW;
- }
- ACE_ENDTRY;
- ACE_CHECK;
-#endif /* TAO_HAS_INTERCEPTORS */
-
- _tao_server_request.init_reply ();
-
- TAO_OutputCDR &_tao_out = _tao_server_request.outgoing ();
-
- if (!(
- (_tao_out << _tao_retval.in ())
- ))
- ACE_THROW (CORBA::MARSHAL());
-
- // In case ACE_TRY_ENV is not used in this function
- ACE_UNUSED_ARG (ACE_TRY_ENV);
-}
-
-void POA_IR::InterfaceDef::create_operation_skel (
- TAO_ServerRequest &_tao_server_request,
- void *_tao_object_reference,
- void * /* context */,
- CORBA::Environment &ACE_TRY_ENV
-)
-{
- TAO_InputCDR &_tao_in = _tao_server_request.incoming ();
- POA_IR::InterfaceDef *_tao_impl = (POA_IR::InterfaceDef *)_tao_object_reference;
-
- IR_OperationDef_var _tao_retval;
- CORBA::String_var id;
- CORBA::String_var name;
- CORBA::String_var version;
- IR_IDLType_var result;
- IR_OperationMode mode;
- IR_ParDescriptionSeq params;
- IR_ExceptionDefSeq exceptions;
- IR_ContextIdSeq contexts;
- if (!(
- (_tao_in >> id.out ()) &&
- (_tao_in >> name.out ()) &&
- (_tao_in >> version.out ()) &&
- (_tao_in >> result.out ()) &&
- (_tao_in >> mode) &&
- (_tao_in >> params) &&
- (_tao_in >> exceptions) &&
- (_tao_in >> contexts)
- ))
- ACE_THROW (CORBA::MARSHAL () );
-
-#if (TAO_HAS_INTERCEPTORS == 1)
- TAO_ServerRequestInterceptor_Adapter _tao_vfr (
- _tao_server_request.orb_core ()->server_request_interceptors (),
- _tao_server_request.interceptor_count ()
- );
-
- POA_IR::InterfaceDef::TAO_ServerRequestInfo_IR_InterfaceDef_create_operation ri (
- _tao_server_request,
- _tao_impl,
- id.in (),
- name.in (),
- version.in (),
- result.in (),
- mode,
- params,
- exceptions,
- contexts,
- ACE_TRY_ENV
- );
-
- ACE_TRY
- {
- _tao_vfr.receive_request (&ri, ACE_TRY_ENV);
- ACE_TRY_CHECK;
-
-#endif /* TAO_HAS_INTERCEPTORS */
- _tao_retval =
- _tao_impl->create_operation (
- id.in (),
- name.in (),
- version.in (),
- result.in (),
- mode,
- params,
- exceptions,
- contexts,
- ACE_TRY_ENV
- );
- TAO_INTERCEPTOR_CHECK;
-
-#if (TAO_HAS_INTERCEPTORS == 1)
- IR_OperationDef_ptr _tao_retval_info = _tao_retval._retn ();
- ri.result (_tao_retval_info);
- _tao_retval = _tao_retval_info;
- ri.reply_status (PortableInterceptor::SUCCESSFUL);
- _tao_vfr.send_reply (&ri, ACE_TRY_ENV);
- ACE_TRY_CHECK;
- }
- ACE_CATCH (PortableInterceptor::ForwardRequest, exc)
- {
- ri.forward_reference (exc);
- _tao_vfr.send_other (
- &ri,
- ACE_TRY_ENV
- );
- ACE_TRY_CHECK;
- _tao_server_request.forward_location (exc.forward.in ());
- }
- ACE_CATCHANY
- {
- ri.exception (&ACE_ANY_EXCEPTION);
- _tao_vfr.send_exception (
- &ri,
- ACE_TRY_ENV
- );
- ACE_TRY_CHECK;
- ACE_RE_THROW;
- }
- ACE_ENDTRY;
- ACE_CHECK;
-#endif /* TAO_HAS_INTERCEPTORS */
-
- _tao_server_request.init_reply ();
-
- TAO_OutputCDR &_tao_out = _tao_server_request.outgoing ();
-
- if (!(
- (_tao_out << _tao_retval.in ())
- ))
- ACE_THROW (CORBA::MARSHAL());
-
- // In case ACE_TRY_ENV is not used in this function
- ACE_UNUSED_ARG (ACE_TRY_ENV);
-}
-
-void POA_IR::InterfaceDef::_is_a_skel (
- TAO_ServerRequest &_tao_server_request,
- void * _tao_object_reference,
- void * /* context */,
- CORBA::Environment &ACE_TRY_ENV
- )
-{
- TAO_InputCDR &_tao_in = _tao_server_request.incoming ();
- POA_IR::InterfaceDef *_tao_impl = (POA_IR::InterfaceDef *) _tao_object_reference;
- CORBA::Boolean _tao_retval = 0;
- CORBA::String_var value;
- if (!((_tao_in >> value.out ())))
- ACE_THROW (CORBA::MARSHAL ());
-
- _tao_retval = _tao_impl->_is_a (value.in (), ACE_TRY_ENV);
- ACE_CHECK;
-
- _tao_server_request.init_reply ();
- TAO_OutputCDR &_tao_out = _tao_server_request.outgoing ();
- if (!((_tao_out << CORBA::Any::from_boolean (_tao_retval))))
- ACE_THROW (CORBA::MARSHAL ());
-}
-
-void POA_IR::InterfaceDef::_non_existent_skel (
- TAO_ServerRequest &_tao_server_request,
- void * _tao_object_reference,
- void * /* context */,
- CORBA::Environment &ACE_TRY_ENV
- )
-{
- POA_IR::InterfaceDef *_tao_impl = (POA_IR::InterfaceDef *) _tao_object_reference;
- CORBA::Boolean _tao_retval = _tao_impl->_non_existent (ACE_TRY_ENV);
- ACE_CHECK;
-
- _tao_server_request.init_reply ();
- TAO_OutputCDR &_tao_out = _tao_server_request.outgoing ();
- if (!((_tao_out << CORBA::Any::from_boolean (_tao_retval))))
- ACE_THROW (CORBA::MARSHAL ());
-}
-
-CORBA::Boolean POA_IR::InterfaceDef::_is_a (
- const char* value,
- CORBA::Environment &ACE_TRY_ENV
- )
-{
- if (
- (!ACE_OS::strcmp ((char *)value, "IDL:omg.org/IR/InterfaceDef:1.0")) ||
- (!ACE_OS::strcmp ((char *)value, "IDL:omg.org/IR/Container:1.0")) ||
- (!ACE_OS::strcmp ((char *)value, "IDL:omg.org/IR/Contained:1.0")) ||
- (!ACE_OS::strcmp ((char *)value, "IDL:omg.org/IR/IDLType:1.0")) ||
- (!ACE_OS::strcmp ((char *)value, "IDL:omg.org/CORBA/IRObject:1.0")) ||
- (!ACE_OS::strcmp ((char *)value, CORBA::_tc_Object->id (ACE_TRY_ENV))))
- return 1;
- else
- return 0;
-}
-
-void* POA_IR::InterfaceDef::_downcast (
- const char* logical_type_id
- )
-{
- if (ACE_OS::strcmp (logical_type_id, "IDL:omg.org/IR/InterfaceDef:1.0") == 0)
- return ACE_static_cast (POA_IR::InterfaceDef_ptr, this);
- if (ACE_OS::strcmp (logical_type_id, "IDL:omg.org/IR/Container:1.0") == 0)
- return ACE_static_cast (POA_IR::Container_ptr, this);
- if (ACE_OS::strcmp (logical_type_id, "IDL:omg.org/IR/Contained:1.0") == 0)
- return ACE_static_cast (POA_IR::Contained_ptr, this);
- if (ACE_OS::strcmp (logical_type_id, "IDL:omg.org/IR/IDLType:1.0") == 0)
- return ACE_static_cast (POA_IR::IDLType_ptr, this);
- if (ACE_OS::strcmp (logical_type_id, "IDL:omg.org/CORBA/IRObject:1.0") == 0)
- return ACE_static_cast (POA_CORBA_IRObject_ptr, this);
- if (ACE_OS::strcmp (logical_type_id, "IDL:omg.org/CORBA/Object:1.0") == 0)
- return ACE_static_cast(PortableServer::Servant, this);
- return 0;
-}
-
-void POA_IR::InterfaceDef::_dispatch (TAO_ServerRequest &req, void *context, CORBA::Environment &ACE_TRY_ENV)
-{
- this->synchronous_upcall_dispatch(req, context, this, ACE_TRY_ENV);
-}
-
-const char* POA_IR::InterfaceDef::_interface_repository_id (void) const
-{
- return "IDL:omg.org/IR/InterfaceDef:1.0";
-}
-
-IR::InterfaceDef*
-POA_IR::InterfaceDef::_this (CORBA_Environment &ACE_TRY_ENV)
-{
- TAO_Stub *stub = this->_create_stub (ACE_TRY_ENV);
- ACE_CHECK_RETURN (0);
-
- CORBA::Object_ptr tmp = CORBA::Object::_nil ();
-
- if (stub->servant_orb_var ()->orb_core ()->optimize_collocation_objects ())
- ACE_NEW_RETURN (tmp, CORBA::Object (stub, 1, this), 0);
- else
- ACE_NEW_RETURN (tmp, CORBA::Object (stub, 0, this), 0);
-
- CORBA::Object_var obj = tmp;
- return IR_InterfaceDef::_unchecked_narrow (obj.in ());
-}
-
-#if (TAO_HAS_INTERCEPTORS == 1)
-POA_IR::InterfaceDef::TAO_ServerRequestInfo_IR_InterfaceDef_base_interfaces_get::TAO_ServerRequestInfo_IR_InterfaceDef_base_interfaces_get (
- TAO_ServerRequest &_tao_server_request,
- POA_IR::InterfaceDef *tao_impl,
- CORBA::Environment &
- )
- : TAO_ServerRequestInfo (_tao_server_request),
- _tao_impl (tao_impl)
-{}
-
-Dynamic::ParameterList *
-POA_IR::InterfaceDef::TAO_ServerRequestInfo_IR_InterfaceDef_base_interfaces_get::arguments (CORBA::Environment &ACE_TRY_ENV)
- ACE_THROW_SPEC ((CORBA::SystemException))
-{
- // Generate the argument list on demand.
- Dynamic::ParameterList *parameter_list =
- TAO_RequestInfo_Util::make_parameter_list (ACE_TRY_ENV);
- ACE_CHECK_RETURN (0);
-
- return parameter_list;
-}
-
-Dynamic::ExceptionList *
-POA_IR::InterfaceDef::TAO_ServerRequestInfo_IR_InterfaceDef_base_interfaces_get::exceptions (CORBA::Environment &ACE_TRY_ENV)
- ACE_THROW_SPEC ((CORBA::SystemException))
-{
- // Generate the exception list on demand.
- Dynamic::ExceptionList *exception_list =
- TAO_RequestInfo_Util::make_exception_list (ACE_TRY_ENV);
- ACE_CHECK_RETURN (0);
-
- return exception_list;
-}
-
-CORBA::Any *
-POA_IR::InterfaceDef::TAO_ServerRequestInfo_IR_InterfaceDef_base_interfaces_get::result (CORBA::Environment &ACE_TRY_ENV)
- ACE_THROW_SPEC ((CORBA::SystemException))
-{
- // Generate the result on demand.
- CORBA::Boolean tk_void_any = 0;
- CORBA::Any *result_any =
- TAO_RequestInfo_Util::make_any (tk_void_any, ACE_TRY_ENV);
- ACE_CHECK_RETURN (0);
-
- CORBA::Any_var safe_result_any = result_any;
-
- (*result_any) <<= this->_result;
-
- return safe_result_any._retn ();
-}
-
-char *
-POA_IR::InterfaceDef::TAO_ServerRequestInfo_IR_InterfaceDef_base_interfaces_get::target_most_derived_interface (
- CORBA::Environment &)
- ACE_THROW_SPEC ((CORBA::SystemException))
-{
- return
- CORBA::string_dup (this->_tao_impl->_interface_repository_id ());
-}
-
-CORBA::Boolean
-POA_IR::InterfaceDef::TAO_ServerRequestInfo_IR_InterfaceDef_base_interfaces_get::target_is_a (
- const char * id,
- CORBA::Environment &ACE_TRY_ENV)
- ACE_THROW_SPEC ((CORBA::SystemException))
-{
- return this->_tao_impl->_is_a (id, ACE_TRY_ENV);
-}
-
-void
-POA_IR::InterfaceDef::TAO_ServerRequestInfo_IR_InterfaceDef_base_interfaces_get::result (IR::InterfaceDefSeq * result)
-{
- // Update the result.
- this->_result = result;
-}
-
-POA_IR::InterfaceDef::TAO_ServerRequestInfo_IR_InterfaceDef_base_interfaces_set::TAO_ServerRequestInfo_IR_InterfaceDef_base_interfaces_set (
- TAO_ServerRequest &_tao_server_request,
- POA_IR::InterfaceDef *tao_impl,
- const IR_InterfaceDefSeq & base_interfaces,
- CORBA::Environment &
- )
- : TAO_ServerRequestInfo (_tao_server_request),
- _tao_impl (tao_impl),
- base_interfaces_ (base_interfaces)
-{}
-
-Dynamic::ParameterList *
-POA_IR::InterfaceDef::TAO_ServerRequestInfo_IR_InterfaceDef_base_interfaces_set::arguments (CORBA::Environment &ACE_TRY_ENV)
- ACE_THROW_SPEC ((CORBA::SystemException))
-{
- // Generate the argument list on demand.
- Dynamic::ParameterList *parameter_list =
- TAO_RequestInfo_Util::make_parameter_list (ACE_TRY_ENV);
- ACE_CHECK_RETURN (0);
-
- Dynamic::ParameterList_var safe_parameter_list = parameter_list;
-
- CORBA::ULong length_base_interfaces = parameter_list->length ();
- parameter_list->length (length_base_interfaces + 1);
- (*parameter_list)[length_base_interfaces].argument <<= this->base_interfaces_;
-
- (*parameter_list)[length_base_interfaces].mode = Dynamic::PARAM_IN;
-
- return safe_parameter_list._retn ();
-}
-
-Dynamic::ExceptionList *
-POA_IR::InterfaceDef::TAO_ServerRequestInfo_IR_InterfaceDef_base_interfaces_set::exceptions (CORBA::Environment &ACE_TRY_ENV)
- ACE_THROW_SPEC ((CORBA::SystemException))
-{
- // Generate the exception list on demand.
- Dynamic::ExceptionList *exception_list =
- TAO_RequestInfo_Util::make_exception_list (ACE_TRY_ENV);
- ACE_CHECK_RETURN (0);
-
- return exception_list;
-}
-
-CORBA::Any *
-POA_IR::InterfaceDef::TAO_ServerRequestInfo_IR_InterfaceDef_base_interfaces_set::result (CORBA::Environment &ACE_TRY_ENV)
- ACE_THROW_SPEC ((CORBA::SystemException))
-{
- // Generate the result on demand.
- CORBA::Boolean tk_void_any = 1;
- CORBA::Any *result_any =
- TAO_RequestInfo_Util::make_any (tk_void_any, ACE_TRY_ENV);
- ACE_CHECK_RETURN (0);
-
- return result_any;
-}
-
-char *
-POA_IR::InterfaceDef::TAO_ServerRequestInfo_IR_InterfaceDef_base_interfaces_set::target_most_derived_interface (
- CORBA::Environment &)
- ACE_THROW_SPEC ((CORBA::SystemException))
-{
- return
- CORBA::string_dup (this->_tao_impl->_interface_repository_id ());
-}
-
-CORBA::Boolean
-POA_IR::InterfaceDef::TAO_ServerRequestInfo_IR_InterfaceDef_base_interfaces_set::target_is_a (
- const char * id,
- CORBA::Environment &ACE_TRY_ENV)
- ACE_THROW_SPEC ((CORBA::SystemException))
-{
- return this->_tao_impl->_is_a (id, ACE_TRY_ENV);
-}
-
-POA_IR::InterfaceDef::TAO_ServerRequestInfo_IR_InterfaceDef_is_abstract_get::TAO_ServerRequestInfo_IR_InterfaceDef_is_abstract_get (
- TAO_ServerRequest &_tao_server_request,
- POA_IR::InterfaceDef *tao_impl,
- CORBA::Environment &
- )
- : TAO_ServerRequestInfo (_tao_server_request),
- _tao_impl (tao_impl)
-{}
-
-Dynamic::ParameterList *
-POA_IR::InterfaceDef::TAO_ServerRequestInfo_IR_InterfaceDef_is_abstract_get::arguments (CORBA::Environment &ACE_TRY_ENV)
- ACE_THROW_SPEC ((CORBA::SystemException))
-{
- // Generate the argument list on demand.
- Dynamic::ParameterList *parameter_list =
- TAO_RequestInfo_Util::make_parameter_list (ACE_TRY_ENV);
- ACE_CHECK_RETURN (0);
-
- return parameter_list;
-}
-
-Dynamic::ExceptionList *
-POA_IR::InterfaceDef::TAO_ServerRequestInfo_IR_InterfaceDef_is_abstract_get::exceptions (CORBA::Environment &ACE_TRY_ENV)
- ACE_THROW_SPEC ((CORBA::SystemException))
-{
- // Generate the exception list on demand.
- Dynamic::ExceptionList *exception_list =
- TAO_RequestInfo_Util::make_exception_list (ACE_TRY_ENV);
- ACE_CHECK_RETURN (0);
-
- return exception_list;
-}
-
-CORBA::Any *
-POA_IR::InterfaceDef::TAO_ServerRequestInfo_IR_InterfaceDef_is_abstract_get::result (CORBA::Environment &ACE_TRY_ENV)
- ACE_THROW_SPEC ((CORBA::SystemException))
-{
- // Generate the result on demand.
- CORBA::Boolean tk_void_any = 0;
- CORBA::Any *result_any =
- TAO_RequestInfo_Util::make_any (tk_void_any, ACE_TRY_ENV);
- ACE_CHECK_RETURN (0);
-
- CORBA::Any_var safe_result_any = result_any;
-
- (*result_any) <<= CORBA::Any::from_boolean (this->_result);
-
- return safe_result_any._retn ();
-}
-
-char *
-POA_IR::InterfaceDef::TAO_ServerRequestInfo_IR_InterfaceDef_is_abstract_get::target_most_derived_interface (
- CORBA::Environment &)
- ACE_THROW_SPEC ((CORBA::SystemException))
-{
- return
- CORBA::string_dup (this->_tao_impl->_interface_repository_id ());
-}
-
-CORBA::Boolean
-POA_IR::InterfaceDef::TAO_ServerRequestInfo_IR_InterfaceDef_is_abstract_get::target_is_a (
- const char * id,
- CORBA::Environment &ACE_TRY_ENV)
- ACE_THROW_SPEC ((CORBA::SystemException))
-{
- return this->_tao_impl->_is_a (id, ACE_TRY_ENV);
-}
-
-void
-POA_IR::InterfaceDef::TAO_ServerRequestInfo_IR_InterfaceDef_is_abstract_get::result (CORBA::Boolean result)
-{
- // Update the result.
- this->_result = result;
-}
-
-POA_IR::InterfaceDef::TAO_ServerRequestInfo_IR_InterfaceDef_is_abstract_set::TAO_ServerRequestInfo_IR_InterfaceDef_is_abstract_set (
- TAO_ServerRequest &_tao_server_request,
- POA_IR::InterfaceDef *tao_impl,
- const CORBA::Boolean & is_abstract,
- CORBA::Environment &
- )
- : TAO_ServerRequestInfo (_tao_server_request),
- _tao_impl (tao_impl),
- is_abstract_ (is_abstract)
-{}
-
-Dynamic::ParameterList *
-POA_IR::InterfaceDef::TAO_ServerRequestInfo_IR_InterfaceDef_is_abstract_set::arguments (CORBA::Environment &ACE_TRY_ENV)
- ACE_THROW_SPEC ((CORBA::SystemException))
-{
- // Generate the argument list on demand.
- Dynamic::ParameterList *parameter_list =
- TAO_RequestInfo_Util::make_parameter_list (ACE_TRY_ENV);
- ACE_CHECK_RETURN (0);
-
- Dynamic::ParameterList_var safe_parameter_list = parameter_list;
-
- CORBA::ULong length_is_abstract = parameter_list->length ();
- parameter_list->length (length_is_abstract + 1);
- (*parameter_list)[length_is_abstract].argument <<= CORBA::Any::from_boolean (this->is_abstract_);
- (*parameter_list)[length_is_abstract].mode = Dynamic::PARAM_IN;
-
- return safe_parameter_list._retn ();
-}
-
-Dynamic::ExceptionList *
-POA_IR::InterfaceDef::TAO_ServerRequestInfo_IR_InterfaceDef_is_abstract_set::exceptions (CORBA::Environment &ACE_TRY_ENV)
- ACE_THROW_SPEC ((CORBA::SystemException))
-{
- // Generate the exception list on demand.
- Dynamic::ExceptionList *exception_list =
- TAO_RequestInfo_Util::make_exception_list (ACE_TRY_ENV);
- ACE_CHECK_RETURN (0);
-
- return exception_list;
-}
-
-CORBA::Any *
-POA_IR::InterfaceDef::TAO_ServerRequestInfo_IR_InterfaceDef_is_abstract_set::result (CORBA::Environment &ACE_TRY_ENV)
- ACE_THROW_SPEC ((CORBA::SystemException))
-{
- // Generate the result on demand.
- CORBA::Boolean tk_void_any = 1;
- CORBA::Any *result_any =
- TAO_RequestInfo_Util::make_any (tk_void_any, ACE_TRY_ENV);
- ACE_CHECK_RETURN (0);
-
- return result_any;
-}
-
-char *
-POA_IR::InterfaceDef::TAO_ServerRequestInfo_IR_InterfaceDef_is_abstract_set::target_most_derived_interface (
- CORBA::Environment &)
- ACE_THROW_SPEC ((CORBA::SystemException))
-{
- return
- CORBA::string_dup (this->_tao_impl->_interface_repository_id ());
-}
-
-CORBA::Boolean
-POA_IR::InterfaceDef::TAO_ServerRequestInfo_IR_InterfaceDef_is_abstract_set::target_is_a (
- const char * id,
- CORBA::Environment &ACE_TRY_ENV)
- ACE_THROW_SPEC ((CORBA::SystemException))
-{
- return this->_tao_impl->_is_a (id, ACE_TRY_ENV);
-}
-
-POA_IR::InterfaceDef::TAO_ServerRequestInfo_IR_InterfaceDef_is_local_get::TAO_ServerRequestInfo_IR_InterfaceDef_is_local_get (
- TAO_ServerRequest &_tao_server_request,
- POA_IR::InterfaceDef *tao_impl,
- CORBA::Environment &
- )
- : TAO_ServerRequestInfo (_tao_server_request),
- _tao_impl (tao_impl)
-{}
-
-Dynamic::ParameterList *
-POA_IR::InterfaceDef::TAO_ServerRequestInfo_IR_InterfaceDef_is_local_get::arguments (CORBA::Environment &ACE_TRY_ENV)
- ACE_THROW_SPEC ((CORBA::SystemException))
-{
- // Generate the argument list on demand.
- Dynamic::ParameterList *parameter_list =
- TAO_RequestInfo_Util::make_parameter_list (ACE_TRY_ENV);
- ACE_CHECK_RETURN (0);
-
- return parameter_list;
-}
-
-Dynamic::ExceptionList *
-POA_IR::InterfaceDef::TAO_ServerRequestInfo_IR_InterfaceDef_is_local_get::exceptions (CORBA::Environment &ACE_TRY_ENV)
- ACE_THROW_SPEC ((CORBA::SystemException))
-{
- // Generate the exception list on demand.
- Dynamic::ExceptionList *exception_list =
- TAO_RequestInfo_Util::make_exception_list (ACE_TRY_ENV);
- ACE_CHECK_RETURN (0);
-
- return exception_list;
-}
-
-CORBA::Any *
-POA_IR::InterfaceDef::TAO_ServerRequestInfo_IR_InterfaceDef_is_local_get::result (CORBA::Environment &ACE_TRY_ENV)
- ACE_THROW_SPEC ((CORBA::SystemException))
-{
- // Generate the result on demand.
- CORBA::Boolean tk_void_any = 0;
- CORBA::Any *result_any =
- TAO_RequestInfo_Util::make_any (tk_void_any, ACE_TRY_ENV);
- ACE_CHECK_RETURN (0);
-
- CORBA::Any_var safe_result_any = result_any;
-
- (*result_any) <<= CORBA::Any::from_boolean (this->_result);
-
- return safe_result_any._retn ();
-}
-
-char *
-POA_IR::InterfaceDef::TAO_ServerRequestInfo_IR_InterfaceDef_is_local_get::target_most_derived_interface (
- CORBA::Environment &)
- ACE_THROW_SPEC ((CORBA::SystemException))
-{
- return
- CORBA::string_dup (this->_tao_impl->_interface_repository_id ());
-}
-
-CORBA::Boolean
-POA_IR::InterfaceDef::TAO_ServerRequestInfo_IR_InterfaceDef_is_local_get::target_is_a (
- const char * id,
- CORBA::Environment &ACE_TRY_ENV)
- ACE_THROW_SPEC ((CORBA::SystemException))
-{
- return this->_tao_impl->_is_a (id, ACE_TRY_ENV);
-}
-
-void
-POA_IR::InterfaceDef::TAO_ServerRequestInfo_IR_InterfaceDef_is_local_get::result (CORBA::Boolean result)
-{
- // Update the result.
- this->_result = result;
-}
-
-POA_IR::InterfaceDef::TAO_ServerRequestInfo_IR_InterfaceDef_is_local_set::TAO_ServerRequestInfo_IR_InterfaceDef_is_local_set (
- TAO_ServerRequest &_tao_server_request,
- POA_IR::InterfaceDef *tao_impl,
- const CORBA::Boolean & is_local,
- CORBA::Environment &
- )
- : TAO_ServerRequestInfo (_tao_server_request),
- _tao_impl (tao_impl),
- is_local_ (is_local)
-{}
-
-Dynamic::ParameterList *
-POA_IR::InterfaceDef::TAO_ServerRequestInfo_IR_InterfaceDef_is_local_set::arguments (CORBA::Environment &ACE_TRY_ENV)
- ACE_THROW_SPEC ((CORBA::SystemException))
-{
- // Generate the argument list on demand.
- Dynamic::ParameterList *parameter_list =
- TAO_RequestInfo_Util::make_parameter_list (ACE_TRY_ENV);
- ACE_CHECK_RETURN (0);
-
- Dynamic::ParameterList_var safe_parameter_list = parameter_list;
-
- CORBA::ULong length_is_local = parameter_list->length ();
- parameter_list->length (length_is_local + 1);
- (*parameter_list)[length_is_local].argument <<= CORBA::Any::from_boolean (this->is_local_);
- (*parameter_list)[length_is_local].mode = Dynamic::PARAM_IN;
-
- return safe_parameter_list._retn ();
-}
-
-Dynamic::ExceptionList *
-POA_IR::InterfaceDef::TAO_ServerRequestInfo_IR_InterfaceDef_is_local_set::exceptions (CORBA::Environment &ACE_TRY_ENV)
- ACE_THROW_SPEC ((CORBA::SystemException))
-{
- // Generate the exception list on demand.
- Dynamic::ExceptionList *exception_list =
- TAO_RequestInfo_Util::make_exception_list (ACE_TRY_ENV);
- ACE_CHECK_RETURN (0);
-
- return exception_list;
-}
-
-CORBA::Any *
-POA_IR::InterfaceDef::TAO_ServerRequestInfo_IR_InterfaceDef_is_local_set::result (CORBA::Environment &ACE_TRY_ENV)
- ACE_THROW_SPEC ((CORBA::SystemException))
-{
- // Generate the result on demand.
- CORBA::Boolean tk_void_any = 1;
- CORBA::Any *result_any =
- TAO_RequestInfo_Util::make_any (tk_void_any, ACE_TRY_ENV);
- ACE_CHECK_RETURN (0);
-
- return result_any;
-}
-
-char *
-POA_IR::InterfaceDef::TAO_ServerRequestInfo_IR_InterfaceDef_is_local_set::target_most_derived_interface (
- CORBA::Environment &)
- ACE_THROW_SPEC ((CORBA::SystemException))
-{
- return
- CORBA::string_dup (this->_tao_impl->_interface_repository_id ());
-}
-
-CORBA::Boolean
-POA_IR::InterfaceDef::TAO_ServerRequestInfo_IR_InterfaceDef_is_local_set::target_is_a (
- const char * id,
- CORBA::Environment &ACE_TRY_ENV)
- ACE_THROW_SPEC ((CORBA::SystemException))
-{
- return this->_tao_impl->_is_a (id, ACE_TRY_ENV);
-}
-
-POA_IR::InterfaceDef::TAO_ServerRequestInfo_IR_InterfaceDef_is_a::TAO_ServerRequestInfo_IR_InterfaceDef_is_a (
- TAO_ServerRequest &_tao_server_request,
- POA_IR::InterfaceDef *tao_impl,
- const char * interface_id,
- CORBA::Environment &
- )
- : TAO_ServerRequestInfo (_tao_server_request),
- _tao_impl (tao_impl),
- interface_id_ (interface_id)
-{}
-
-Dynamic::ParameterList *
-POA_IR::InterfaceDef::TAO_ServerRequestInfo_IR_InterfaceDef_is_a::arguments (CORBA::Environment &ACE_TRY_ENV)
- ACE_THROW_SPEC ((CORBA::SystemException))
-{
- // Generate the argument list on demand.
- Dynamic::ParameterList *parameter_list =
- TAO_RequestInfo_Util::make_parameter_list (ACE_TRY_ENV);
- ACE_CHECK_RETURN (0);
-
- Dynamic::ParameterList_var safe_parameter_list = parameter_list;
-
- CORBA::ULong length_interface_id = parameter_list->length ();
- parameter_list->length (length_interface_id + 1);
- (*parameter_list)[length_interface_id].argument <<= interface_id_;
- (*parameter_list)[length_interface_id].mode = Dynamic::PARAM_IN;
-
- return safe_parameter_list._retn ();
-}
-
-Dynamic::ExceptionList *
-POA_IR::InterfaceDef::TAO_ServerRequestInfo_IR_InterfaceDef_is_a::exceptions (CORBA::Environment &ACE_TRY_ENV)
- ACE_THROW_SPEC ((CORBA::SystemException))
-{
- // Generate the exception list on demand.
- Dynamic::ExceptionList *exception_list =
- TAO_RequestInfo_Util::make_exception_list (ACE_TRY_ENV);
- ACE_CHECK_RETURN (0);
-
- return exception_list;
-}
-
-CORBA::Any *
-POA_IR::InterfaceDef::TAO_ServerRequestInfo_IR_InterfaceDef_is_a::result (CORBA::Environment &ACE_TRY_ENV)
- ACE_THROW_SPEC ((CORBA::SystemException))
-{
- // Generate the result on demand.
- CORBA::Boolean tk_void_any = 0;
- CORBA::Any *result_any =
- TAO_RequestInfo_Util::make_any (tk_void_any, ACE_TRY_ENV);
- ACE_CHECK_RETURN (0);
-
- CORBA::Any_var safe_result_any = result_any;
-
- (*result_any) <<= CORBA::Any::from_boolean (this->_result);
-
- return safe_result_any._retn ();
-}
-
-char *
-POA_IR::InterfaceDef::TAO_ServerRequestInfo_IR_InterfaceDef_is_a::target_most_derived_interface (
- CORBA::Environment &)
- ACE_THROW_SPEC ((CORBA::SystemException))
-{
- return
- CORBA::string_dup (this->_tao_impl->_interface_repository_id ());
-}
-
-CORBA::Boolean
-POA_IR::InterfaceDef::TAO_ServerRequestInfo_IR_InterfaceDef_is_a::target_is_a (
- const char * id,
- CORBA::Environment &ACE_TRY_ENV)
- ACE_THROW_SPEC ((CORBA::SystemException))
-{
- return this->_tao_impl->_is_a (id, ACE_TRY_ENV);
-}
-
-void
-POA_IR::InterfaceDef::TAO_ServerRequestInfo_IR_InterfaceDef_is_a::result (CORBA::Boolean result)
-{
- // Update the result.
- this->_result = result;
-}
-
-POA_IR::InterfaceDef::TAO_ServerRequestInfo_IR_InterfaceDef_create_attribute::TAO_ServerRequestInfo_IR_InterfaceDef_create_attribute (
- TAO_ServerRequest &_tao_server_request,
- POA_IR::InterfaceDef *tao_impl,
- const char * id,
- const char * name,
- const char * version,
- IR_IDLType_ptr type,
- IR_AttributeMode & mode,
- const IR_ExceptionDefSeq & get_exceptions,
- const IR_ExceptionDefSeq & put_exceptions,
- CORBA::Environment &
- )
- : TAO_ServerRequestInfo (_tao_server_request),
- _tao_impl (tao_impl),
- id_ (id),
- name_ (name),
- version_ (version),
- type_ (type),
- mode_ (mode),
- get_exceptions_ (get_exceptions),
- put_exceptions_ (put_exceptions)
-{}
-
-Dynamic::ParameterList *
-POA_IR::InterfaceDef::TAO_ServerRequestInfo_IR_InterfaceDef_create_attribute::arguments (CORBA::Environment &ACE_TRY_ENV)
- ACE_THROW_SPEC ((CORBA::SystemException))
-{
- // Generate the argument list on demand.
- Dynamic::ParameterList *parameter_list =
- TAO_RequestInfo_Util::make_parameter_list (ACE_TRY_ENV);
- ACE_CHECK_RETURN (0);
-
- Dynamic::ParameterList_var safe_parameter_list = parameter_list;
-
- CORBA::ULong length_id = parameter_list->length ();
- parameter_list->length (length_id + 1);
- (*parameter_list)[length_id].argument <<= id_;
- (*parameter_list)[length_id].mode = Dynamic::PARAM_IN;
-
- CORBA::ULong length_name = parameter_list->length ();
- parameter_list->length (length_name + 1);
- (*parameter_list)[length_name].argument <<= name_;
- (*parameter_list)[length_name].mode = Dynamic::PARAM_IN;
-
- CORBA::ULong length_version = parameter_list->length ();
- parameter_list->length (length_version + 1);
- (*parameter_list)[length_version].argument <<= version_;
- (*parameter_list)[length_version].mode = Dynamic::PARAM_IN;
-
- CORBA::ULong length_type = parameter_list->length ();
- parameter_list->length (length_type + 1);
- (*parameter_list)[length_type].argument <<= this->type_;
-
- (*parameter_list)[length_type].mode = Dynamic::PARAM_IN;
-
- CORBA::ULong length_mode = parameter_list->length ();
- parameter_list->length (length_mode + 1);
- (*parameter_list)[length_mode].argument <<= this->mode_;
-
- (*parameter_list)[length_mode].mode = Dynamic::PARAM_IN;
-
- CORBA::ULong length_get_exceptions = parameter_list->length ();
- parameter_list->length (length_get_exceptions + 1);
- (*parameter_list)[length_get_exceptions].argument <<= this->get_exceptions_;
-
- (*parameter_list)[length_get_exceptions].mode = Dynamic::PARAM_IN;
-
- CORBA::ULong length_put_exceptions = parameter_list->length ();
- parameter_list->length (length_put_exceptions + 1);
- (*parameter_list)[length_put_exceptions].argument <<= this->put_exceptions_;
-
- (*parameter_list)[length_put_exceptions].mode = Dynamic::PARAM_IN;
-
- return safe_parameter_list._retn ();
-}
-
-Dynamic::ExceptionList *
-POA_IR::InterfaceDef::TAO_ServerRequestInfo_IR_InterfaceDef_create_attribute::exceptions (CORBA::Environment &ACE_TRY_ENV)
- ACE_THROW_SPEC ((CORBA::SystemException))
-{
- // Generate the exception list on demand.
- Dynamic::ExceptionList *exception_list =
- TAO_RequestInfo_Util::make_exception_list (ACE_TRY_ENV);
- ACE_CHECK_RETURN (0);
-
- return exception_list;
-}
-
-CORBA::Any *
-POA_IR::InterfaceDef::TAO_ServerRequestInfo_IR_InterfaceDef_create_attribute::result (CORBA::Environment &ACE_TRY_ENV)
- ACE_THROW_SPEC ((CORBA::SystemException))
-{
- // Generate the result on demand.
- CORBA::Boolean tk_void_any = 0;
- CORBA::Any *result_any =
- TAO_RequestInfo_Util::make_any (tk_void_any, ACE_TRY_ENV);
- ACE_CHECK_RETURN (0);
-
- CORBA::Any_var safe_result_any = result_any;
-
- (*result_any) <<= this->_result;
-
- return safe_result_any._retn ();
-}
-
-char *
-POA_IR::InterfaceDef::TAO_ServerRequestInfo_IR_InterfaceDef_create_attribute::target_most_derived_interface (
- CORBA::Environment &)
- ACE_THROW_SPEC ((CORBA::SystemException))
-{
- return
- CORBA::string_dup (this->_tao_impl->_interface_repository_id ());
-}
-
-CORBA::Boolean
-POA_IR::InterfaceDef::TAO_ServerRequestInfo_IR_InterfaceDef_create_attribute::target_is_a (
- const char * id,
- CORBA::Environment &ACE_TRY_ENV)
- ACE_THROW_SPEC ((CORBA::SystemException))
-{
- return this->_tao_impl->_is_a (id, ACE_TRY_ENV);
-}
-
-void
-POA_IR::InterfaceDef::TAO_ServerRequestInfo_IR_InterfaceDef_create_attribute::result (IR::AttributeDef_ptr result)
-{
- // Update the result.
- this->_result = result;
-}
-
-POA_IR::InterfaceDef::TAO_ServerRequestInfo_IR_InterfaceDef_create_operation::TAO_ServerRequestInfo_IR_InterfaceDef_create_operation (
- TAO_ServerRequest &_tao_server_request,
- POA_IR::InterfaceDef *tao_impl,
- const char * id,
- const char * name,
- const char * version,
- IR_IDLType_ptr result,
- IR_OperationMode & mode,
- const IR_ParDescriptionSeq & params,
- const IR_ExceptionDefSeq & exceptions,
- const IR_ContextIdSeq & contexts,
- CORBA::Environment &
- )
- : TAO_ServerRequestInfo (_tao_server_request),
- _tao_impl (tao_impl),
- id_ (id),
- name_ (name),
- version_ (version),
- result_ (result),
- mode_ (mode),
- params_ (params),
- exceptions_ (exceptions),
- contexts_ (contexts)
-{}
-
-Dynamic::ParameterList *
-POA_IR::InterfaceDef::TAO_ServerRequestInfo_IR_InterfaceDef_create_operation::arguments (CORBA::Environment &ACE_TRY_ENV)
- ACE_THROW_SPEC ((CORBA::SystemException))
-{
- // Generate the argument list on demand.
- Dynamic::ParameterList *parameter_list =
- TAO_RequestInfo_Util::make_parameter_list (ACE_TRY_ENV);
- ACE_CHECK_RETURN (0);
-
- Dynamic::ParameterList_var safe_parameter_list = parameter_list;
-
- CORBA::ULong length_id = parameter_list->length ();
- parameter_list->length (length_id + 1);
- (*parameter_list)[length_id].argument <<= id_;
- (*parameter_list)[length_id].mode = Dynamic::PARAM_IN;
-
- CORBA::ULong length_name = parameter_list->length ();
- parameter_list->length (length_name + 1);
- (*parameter_list)[length_name].argument <<= name_;
- (*parameter_list)[length_name].mode = Dynamic::PARAM_IN;
-
- CORBA::ULong length_version = parameter_list->length ();
- parameter_list->length (length_version + 1);
- (*parameter_list)[length_version].argument <<= version_;
- (*parameter_list)[length_version].mode = Dynamic::PARAM_IN;
-
- CORBA::ULong length_result = parameter_list->length ();
- parameter_list->length (length_result + 1);
- (*parameter_list)[length_result].argument <<= this->result_;
-
- (*parameter_list)[length_result].mode = Dynamic::PARAM_IN;
-
- CORBA::ULong length_mode = parameter_list->length ();
- parameter_list->length (length_mode + 1);
- (*parameter_list)[length_mode].argument <<= this->mode_;
-
- (*parameter_list)[length_mode].mode = Dynamic::PARAM_IN;
-
- CORBA::ULong length_params = parameter_list->length ();
- parameter_list->length (length_params + 1);
- (*parameter_list)[length_params].argument <<= this->params_;
-
- (*parameter_list)[length_params].mode = Dynamic::PARAM_IN;
-
- CORBA::ULong length_exceptions = parameter_list->length ();
- parameter_list->length (length_exceptions + 1);
- (*parameter_list)[length_exceptions].argument <<= this->exceptions_;
-
- (*parameter_list)[length_exceptions].mode = Dynamic::PARAM_IN;
-
- CORBA::ULong length_contexts = parameter_list->length ();
- parameter_list->length (length_contexts + 1);
- (*parameter_list)[length_contexts].argument <<= this->contexts_;
-
- (*parameter_list)[length_contexts].mode = Dynamic::PARAM_IN;
-
- return safe_parameter_list._retn ();
-}
-
-Dynamic::ExceptionList *
-POA_IR::InterfaceDef::TAO_ServerRequestInfo_IR_InterfaceDef_create_operation::exceptions (CORBA::Environment &ACE_TRY_ENV)
- ACE_THROW_SPEC ((CORBA::SystemException))
-{
- // Generate the exception list on demand.
- Dynamic::ExceptionList *exception_list =
- TAO_RequestInfo_Util::make_exception_list (ACE_TRY_ENV);
- ACE_CHECK_RETURN (0);
-
- return exception_list;
-}
-
-CORBA::Any *
-POA_IR::InterfaceDef::TAO_ServerRequestInfo_IR_InterfaceDef_create_operation::result (CORBA::Environment &ACE_TRY_ENV)
- ACE_THROW_SPEC ((CORBA::SystemException))
-{
- // Generate the result on demand.
- CORBA::Boolean tk_void_any = 0;
- CORBA::Any *result_any =
- TAO_RequestInfo_Util::make_any (tk_void_any, ACE_TRY_ENV);
- ACE_CHECK_RETURN (0);
-
- CORBA::Any_var safe_result_any = result_any;
-
- (*result_any) <<= this->_result;
-
- return safe_result_any._retn ();
-}
-
-char *
-POA_IR::InterfaceDef::TAO_ServerRequestInfo_IR_InterfaceDef_create_operation::target_most_derived_interface (
- CORBA::Environment &)
- ACE_THROW_SPEC ((CORBA::SystemException))
-{
- return
- CORBA::string_dup (this->_tao_impl->_interface_repository_id ());
-}
-
-CORBA::Boolean
-POA_IR::InterfaceDef::TAO_ServerRequestInfo_IR_InterfaceDef_create_operation::target_is_a (
- const char * id,
- CORBA::Environment &ACE_TRY_ENV)
- ACE_THROW_SPEC ((CORBA::SystemException))
-{
- return this->_tao_impl->_is_a (id, ACE_TRY_ENV);
-}
-
-void
-POA_IR::InterfaceDef::TAO_ServerRequestInfo_IR_InterfaceDef_create_operation::result (IR::OperationDef_ptr result)
-{
- // Update the result.
- this->_result = result;
-}
-
-#endif /* TAO_HAS_INTERCEPTORS */
-
-class TAO_IR_ValueMemberDef_Perfect_Hash_OpTable : public TAO_Perfect_Hash_OpTable
-{
-private:
- unsigned int hash (const char *str, unsigned int len);
-public:
- const TAO_operation_db_entry * lookup (const char *str, unsigned int len);
-};
-/* starting time is 11:23:10 */
-/* C++ code produced by gperf version 2.8 (ACE version) */
-/* Command-line: gperf -m -M -J -c -C -D -E -T -f 0 -F 0 -a -o -t -p -K opname_ -L C++ -Z TAO_IR_ValueMemberDef_Perfect_Hash_OpTable -N lookup */
-unsigned int
-TAO_IR_ValueMemberDef_Perfect_Hash_OpTable::hash (const char *str, unsigned int len)
-{
- static const unsigned char asso_values[] =
- {
-#if defined (ACE_MVS)
- 37, 37, 37, 37, 37, 37, 37, 37, 37, 37,
- 37, 37, 37, 37, 37, 37, 37, 37, 37, 37,
- 37, 37, 37, 37, 37, 37, 37, 37, 37, 37,
- 37, 37, 37, 37, 37, 37, 37, 37, 37, 37,
- 37, 37, 37, 37, 37, 37, 37, 37, 37, 37,
- 37, 37, 37, 37, 37, 37, 37, 37, 37, 37,
- 37, 37, 37, 37, 37, 37, 37, 37, 37, 37,
- 37, 37, 37, 37, 37, 37, 37, 37, 37, 37,
- 37, 37, 37, 37, 37, 37, 37, 37, 37, 37,
- 37, 37, 37, 37, 37, 37, 37, 37, 37, 37,
- 37, 37, 37, 37, 37, 37, 37, 37, 37, 0,
- 37, 37, 37, 37, 37, 37, 37, 37, 37, 37,
- 37, 37, 37, 37, 37, 37, 37, 37, 37, 0,
- 37, 37, 0, 0, 10, 37, 37, 37, 37, 37,
- 37, 37, 37, 37, 37, 37, 37, 37, 0, 0,
- 37, 37, 37, 37, 37, 37, 37, 37, 37, 37,
- 37, 37, 0, 15, 37, 37, 37, 37, 10, 37,
- 37, 37, 37, 37, 37, 37, 37, 37, 37, 37,
- 37, 37, 37, 37, 37, 37, 37, 37, 37, 37,
- 37, 37, 37, 37, 37, 37, 37, 37, 37, 37,
- 37, 37, 37, 37, 37, 37, 37, 37, 37, 37,
- 37, 37, 37, 37, 37, 37, 37, 37, 37, 37,
- 37, 37, 37, 37, 37, 37, 37, 37, 37, 37,
- 37, 37, 37, 37, 37, 37, 37, 37, 37, 37,
- 37, 37, 37, 37, 37, 37, 37, 37, 37, 37,
- 37, 37, 37, 37, 37, 37,
-#else
- 37, 37, 37, 37, 37, 37, 37, 37, 37, 37,
- 37, 37, 37, 37, 37, 37, 37, 37, 37, 37,
- 37, 37, 37, 37, 37, 37, 37, 37, 37, 37,
- 37, 37, 37, 37, 37, 37, 37, 37, 37, 37,
- 37, 37, 37, 37, 37, 37, 37, 37, 37, 37,
- 37, 37, 37, 37, 37, 37, 37, 37, 37, 37,
- 37, 37, 37, 37, 37, 37, 37, 37, 37, 37,
- 37, 37, 37, 37, 37, 37, 37, 37, 37, 37,
- 37, 37, 37, 37, 37, 37, 37, 37, 37, 37,
- 37, 37, 37, 37, 37, 0, 37, 0, 37, 37,
- 0, 0, 10, 37, 37, 37, 37, 37, 37, 0,
- 0, 37, 37, 37, 37, 0, 15, 37, 37, 37,
- 37, 10, 37, 37, 37, 37, 37, 37,
-#endif /* ACE_MVS */
- };
- return len + asso_values[str[len - 1]] + asso_values[str[0]];
-}
-
-const class TAO_operation_db_entry *
-TAO_IR_ValueMemberDef_Perfect_Hash_OpTable::lookup (const char *str, unsigned int len)
-{
- enum
- {
- TOTAL_KEYWORDS = 20,
- MIN_WORD_LENGTH = 4,
- MAX_WORD_LENGTH = 26,
- MIN_HASH_VALUE = 4,
- MAX_HASH_VALUE = 36,
- HASH_VALUE_RANGE = 33,
- DUPLICATES = 7
- };
-
- static const class TAO_operation_db_entry wordlist[] =
- {
- {"",0},{"",0},{"",0},{"",0},
- {"move", &POA_IR::ValueMemberDef::move_skel},
- {"_is_a", &POA_IR::ValueMemberDef::_is_a_skel},
- {"_get_id", &POA_IR::ValueMemberDef::_get_id_skel},
- {"_set_id", &POA_IR::ValueMemberDef::_set_id_skel},
- {"describe", &POA_IR::ValueMemberDef::describe_skel},
- {"_get_type", &POA_IR::ValueMemberDef::_get_type_skel},
- {"_set_name", &POA_IR::ValueMemberDef::_set_name_skel},
- {"_get_name", &POA_IR::ValueMemberDef::_get_name_skel},
- {"_get_access", &POA_IR::ValueMemberDef::_get_access_skel},
- {"_set_access", &POA_IR::ValueMemberDef::_set_access_skel},
- {"_get_version", &POA_IR::ValueMemberDef::_get_version_skel},
- {"_set_version", &POA_IR::ValueMemberDef::_set_version_skel},
- {"_get_def_kind", &POA_IR::ValueMemberDef::_get_def_kind_skel},
- {"_get_defined_in", &POA_IR::ValueMemberDef::_get_defined_in_skel},
- {"destroy", &POA_IR::ValueMemberDef::destroy_skel},
- {"_get_absolute_name", &POA_IR::ValueMemberDef::_get_absolute_name_skel},
- {"_get_type_def", &POA_IR::ValueMemberDef::_get_type_def_skel},
- {"_set_type_def", &POA_IR::ValueMemberDef::_set_type_def_skel},
- {"_non_existent", &POA_IR::ValueMemberDef::_non_existent_skel},
- {"_get_containing_repository", &POA_IR::ValueMemberDef::_get_containing_repository_skel},
- };
-
- static const signed char lookup[] =
- {
- -12, -2, -14, -2, 4, 5, -1, 53, 8, 46, -1, -47, -46, 16,
- -1, 17, -1, 18, 19, -9, -3, -20, -2, -38, -6, -2, -1, -1,
- 22, -1, -1, -1, -1, -1, -1, -1, 23,
- };
-
- if (len <= MAX_WORD_LENGTH && len >= MIN_WORD_LENGTH)
- {
- unsigned int key = hash (str, len);
-
- if (key <= MAX_HASH_VALUE && key >= MIN_HASH_VALUE)
- {
- int slot = lookup[key];
-
- if (slot >= 0 && slot < MAX_HASH_VALUE)
- {
- const char *s = wordlist[slot].opname_;
-
- if (*str == *s && !strncmp (str + 1, s + 1, len - 1))
- return &wordlist[slot];
- }
- else if (slot < 0 && slot >= -MAX_HASH_VALUE)
- return 0;
- else
- {
- unsigned int offset = key + slot + (slot > 0 ? -MAX_HASH_VALUE : MAX_HASH_VALUE);
- const class TAO_operation_db_entry *base = &wordlist[-lookup[offset]];
- const class TAO_operation_db_entry *ptr = base + -lookup[offset + 1];
-
- while (--ptr >= base)
- if (*str == *ptr->opname_ && !strncmp (str + 1, ptr->opname_ + 1, len - 1))
- return ptr;
- }
- }
- }
- return 0;
-}
-/* ending time is 11:23:10 */
-static TAO_IR_ValueMemberDef_Perfect_Hash_OpTable tao_IR_ValueMemberDef_optable;
-
-///////////////////////////////////////////////////////////////////////
-// Strategized Proxy Broker Implementation
-//
-
-// Factory function Implementation.
-POA_IR::_TAO_ValueMemberDef_Strategized_Proxy_Broker *POA_IR::_TAO_ValueMemberDef_Strategized_Proxy_Broker::the_TAO_ValueMemberDef_Strategized_Proxy_Broker (void)
-{
- static POA_IR::_TAO_ValueMemberDef_Strategized_Proxy_Broker strategized_proxy_broker;
- return &strategized_proxy_broker;
-}
-
-POA_IR::_TAO_ValueMemberDef_Strategized_Proxy_Broker::_TAO_ValueMemberDef_Strategized_Proxy_Broker (void)
-{
- for (int i = 0; i < TAO_Collocation_Strategies::CS_LAST; ++i)
- this->proxy_cache_[i] = 0;
-
-}
-
-POA_IR::_TAO_ValueMemberDef_Strategized_Proxy_Broker::~_TAO_ValueMemberDef_Strategized_Proxy_Broker (void)
-{
- for (int i = 0; i < TAO_Collocation_Strategies::CS_LAST; ++i)
- delete this->proxy_cache_[i];
-
-}
-
-_TAO_ValueMemberDef_Proxy_Impl&
-POA_IR::_TAO_ValueMemberDef_Strategized_Proxy_Broker::select_proxy (
- IR_ValueMemberDef *object,
- CORBA::Environment &ACE_TRY_ENV
- )
-{
- int strategy =
- TAO_ORB_Core::collocation_strategy (object);
-
- if (this->proxy_cache_[strategy] != 0)
- return *this->proxy_cache_[strategy];
-
- this->create_proxy (strategy, ACE_TRY_ENV);
- ACE_CHECK_RETURN (*this->proxy_cache_[strategy]);
-
- return *this->proxy_cache_[strategy];
-
-}
-
-void
-POA_IR::_TAO_ValueMemberDef_Strategized_Proxy_Broker::create_proxy (
- int strategy,
- CORBA::Environment &ACE_TRY_ENV
- )
-{
- ACE_GUARD (TAO_SYNCH_MUTEX, guard, this->mutex_);
-
- if (this->proxy_cache_[strategy] == 0)
- {
- switch (strategy)
- {
- case TAO_Collocation_Strategies::CS_THRU_POA_STRATEGY:
- ACE_NEW_THROW_EX (
- this->proxy_cache_[strategy],
- _TAO_ValueMemberDef_ThruPOA_Proxy_Impl,
- CORBA::NO_MEMORY ()
- );
- ACE_CHECK;
- break;
-
- case TAO_Collocation_Strategies::CS_REMOTE_STRATEGY:
- default:
- ACE_NEW_THROW_EX (
- this->proxy_cache_[strategy],
- _TAO_ValueMemberDef_Remote_Proxy_Impl,
- CORBA::NO_MEMORY ()
- );
- ACE_CHECK;
- break;
-
- }
-
- }
-}
-
-
-//
-// End Strategized Proxy Broker Implementation
-///////////////////////////////////////////////////////////////////////
-
-
-_TAO_ValueMemberDef_Proxy_Broker *
-_TAO_ValueMemberDef_Proxy_Broker_Factory_function (CORBA::Object_ptr obj)
-{
- ACE_UNUSED_ARG (obj);
- return ::POA_IR::_TAO_ValueMemberDef_Strategized_Proxy_Broker::the_TAO_ValueMemberDef_Strategized_Proxy_Broker();
-}
-
-int
-_TAO_ValueMemberDef_Proxy_Broker_Factory_Initializer (long _dummy_)
-{
- ACE_UNUSED_ARG (_dummy_);
-
- _TAO_ValueMemberDef_Proxy_Broker_Factory_function_pointer =
- _TAO_ValueMemberDef_Proxy_Broker_Factory_function;
-
- return 0;
-}
-
-static int _TAO_ValueMemberDef_Proxy_Broker_Stub_Factory_Initializer_Scarecrow =
- _TAO_ValueMemberDef_Proxy_Broker_Factory_Initializer (ACE_reinterpret_cast (long, _TAO_ValueMemberDef_Proxy_Broker_Factory_Initializer));
-
-
-///////////////////////////////////////////////////////////////////////
-// ThruPOA Proxy Implementation
-//
-
-POA_IR::_TAO_ValueMemberDef_ThruPOA_Proxy_Impl::_TAO_ValueMemberDef_ThruPOA_Proxy_Impl (void)
-{}
-
-// ThruPOA Implementation of the IDL interface methods
-
-CORBA::TypeCode_ptr POA_IR::_TAO_ValueMemberDef_ThruPOA_Proxy_Impl::type (
- CORBA_Object *_collocated_tao_target_,
- CORBA::Environment &ACE_TRY_ENV
- )
- ACE_THROW_SPEC ((
- CORBA::SystemException
- ))
-{
- CORBA::TypeCode_var _tao_retval;
- ACE_UNUSED_ARG (_tao_retval);
- TAO_Object_Adapter::Servant_Upcall servant_upcall (
- _collocated_tao_target_->_stubobj ()->servant_orb_var ()->orb_core ()
- );
- CORBA::Object_var forward_to;
- servant_upcall.prepare_for_upcall (
- _collocated_tao_target_->_object_key (),
- "type",
- forward_to.out (),
- ACE_TRY_ENV
- );
- ACE_CHECK_RETURN (0);
- return ACE_reinterpret_cast (
- POA_IR::ValueMemberDef_ptr,
- servant_upcall.servant ()->_downcast (
- "IDL:omg.org/IR/ValueMemberDef:1.0"
- )
- )->type (
- ACE_TRY_ENV
- );
-}
-
-IR_IDLType_ptr POA_IR::_TAO_ValueMemberDef_ThruPOA_Proxy_Impl::type_def (
- CORBA_Object *_collocated_tao_target_,
- CORBA::Environment &ACE_TRY_ENV
- )
- ACE_THROW_SPEC ((
- CORBA::SystemException
- ))
-{
- IR_IDLType_var _tao_retval;
- ACE_UNUSED_ARG (_tao_retval);
- TAO_Object_Adapter::Servant_Upcall servant_upcall (
- _collocated_tao_target_->_stubobj ()->servant_orb_var ()->orb_core ()
- );
- CORBA::Object_var forward_to;
- servant_upcall.prepare_for_upcall (
- _collocated_tao_target_->_object_key (),
- "type_def",
- forward_to.out (),
- ACE_TRY_ENV
- );
- ACE_CHECK_RETURN (0);
- return ACE_reinterpret_cast (
- POA_IR::ValueMemberDef_ptr,
- servant_upcall.servant ()->_downcast (
- "IDL:omg.org/IR/ValueMemberDef:1.0"
- )
- )->type_def (
- ACE_TRY_ENV
- );
-}
-
-void POA_IR::_TAO_ValueMemberDef_ThruPOA_Proxy_Impl::type_def (
- CORBA_Object *_collocated_tao_target_,
- IR_IDLType_ptr type_def,
- CORBA::Environment &ACE_TRY_ENV
- )
- ACE_THROW_SPEC ((
- CORBA::SystemException
- ))
-{
- TAO_Object_Adapter::Servant_Upcall servant_upcall (
- _collocated_tao_target_->_stubobj ()->servant_orb_var ()->orb_core ()
- );
- CORBA::Object_var forward_to;
- servant_upcall.prepare_for_upcall (
- _collocated_tao_target_->_object_key (),
- "type_def",
- forward_to.out (),
- ACE_TRY_ENV
- );
- ACE_CHECK;
- ACE_reinterpret_cast (
- POA_IR::ValueMemberDef_ptr,
- servant_upcall.servant ()->_downcast (
- "IDL:omg.org/IR/ValueMemberDef:1.0"
- )
- )->type_def (
- type_def,
- ACE_TRY_ENV
- );
- return;
-}
-
-CORBA::Visibility POA_IR::_TAO_ValueMemberDef_ThruPOA_Proxy_Impl::access (
- CORBA_Object *_collocated_tao_target_,
- CORBA::Environment &ACE_TRY_ENV
- )
- ACE_THROW_SPEC ((
- CORBA::SystemException
- ))
-{
- CORBA::Visibility _tao_retval = 0;
- ACE_UNUSED_ARG (_tao_retval);
- TAO_Object_Adapter::Servant_Upcall servant_upcall (
- _collocated_tao_target_->_stubobj ()->servant_orb_var ()->orb_core ()
- );
- CORBA::Object_var forward_to;
- servant_upcall.prepare_for_upcall (
- _collocated_tao_target_->_object_key (),
- "access",
- forward_to.out (),
- ACE_TRY_ENV
- );
- ACE_CHECK_RETURN (_tao_retval);
- return ACE_reinterpret_cast (
- POA_IR::ValueMemberDef_ptr,
- servant_upcall.servant ()->_downcast (
- "IDL:omg.org/IR/ValueMemberDef:1.0"
- )
- )->access (
- ACE_TRY_ENV
- );
-}
-
-void POA_IR::_TAO_ValueMemberDef_ThruPOA_Proxy_Impl::access (
- CORBA_Object *_collocated_tao_target_,
- CORBA::Visibility access,
- CORBA::Environment &ACE_TRY_ENV
- )
- ACE_THROW_SPEC ((
- CORBA::SystemException
- ))
-{
- TAO_Object_Adapter::Servant_Upcall servant_upcall (
- _collocated_tao_target_->_stubobj ()->servant_orb_var ()->orb_core ()
- );
- CORBA::Object_var forward_to;
- servant_upcall.prepare_for_upcall (
- _collocated_tao_target_->_object_key (),
- "access",
- forward_to.out (),
- ACE_TRY_ENV
- );
- ACE_CHECK;
- ACE_reinterpret_cast (
- POA_IR::ValueMemberDef_ptr,
- servant_upcall.servant ()->_downcast (
- "IDL:omg.org/IR/ValueMemberDef:1.0"
- )
- )->access (
- access,
- ACE_TRY_ENV
- );
- return;
-}
-
-//
-// End ThruPOA Proxy Implementation
-///////////////////////////////////////////////////////////////////////
-
-// skeleton constructor
-POA_IR::ValueMemberDef::ValueMemberDef (void)
-{
- this->optable_ = &tao_IR_ValueMemberDef_optable;
-}
-
-// copy ctor
-POA_IR::ValueMemberDef::ValueMemberDef (const ValueMemberDef& rhs)
- : ACE_NESTED_CLASS (POA_IR,Contained) (rhs),
- POA_CORBA_IRObject (rhs),
- TAO_ServantBase (rhs)
-{}
-
-// skeleton destructor
-POA_IR::ValueMemberDef::~ValueMemberDef (void)
-{
-}
-
-void POA_IR::ValueMemberDef::_get_type_skel (
- TAO_ServerRequest &_tao_server_request,
- void *_tao_object_reference,
- void * /* context */,
- CORBA::Environment &ACE_TRY_ENV
-)
-{
- POA_IR::ValueMemberDef *_tao_impl = (POA_IR::ValueMemberDef *)_tao_object_reference;
-
- CORBA::TypeCode_var _tao_retval;
-
-#if (TAO_HAS_INTERCEPTORS == 1)
- TAO_ServerRequestInterceptor_Adapter _tao_vfr (
- _tao_server_request.orb_core ()->server_request_interceptors (),
- _tao_server_request.interceptor_count ()
- );
-
- POA_IR::ValueMemberDef::TAO_ServerRequestInfo_IR_ValueMemberDef_type_get ri (
- _tao_server_request,
- _tao_impl,
- ACE_TRY_ENV
- );
-
- ACE_TRY
- {
- _tao_vfr.receive_request (&ri, ACE_TRY_ENV);
- ACE_TRY_CHECK;
-
-#endif /* TAO_HAS_INTERCEPTORS */
- _tao_retval =
- _tao_impl->type (
- ACE_TRY_ENV
- );
- TAO_INTERCEPTOR_CHECK;
-
-#if (TAO_HAS_INTERCEPTORS == 1)
- CORBA::TypeCode_ptr _tao_retval_info = _tao_retval._retn ();
- ri.result (_tao_retval_info);
- _tao_retval = _tao_retval_info;
- ri.reply_status (PortableInterceptor::SUCCESSFUL);
- _tao_vfr.send_reply (&ri, ACE_TRY_ENV);
- ACE_TRY_CHECK;
- }
- ACE_CATCH (PortableInterceptor::ForwardRequest, exc)
- {
- ri.forward_reference (exc);
- _tao_vfr.send_other (
- &ri,
- ACE_TRY_ENV
- );
- ACE_TRY_CHECK;
- _tao_server_request.forward_location (exc.forward.in ());
- }
- ACE_CATCHANY
- {
- ri.exception (&ACE_ANY_EXCEPTION);
- _tao_vfr.send_exception (
- &ri,
- ACE_TRY_ENV
- );
- ACE_TRY_CHECK;
- ACE_RE_THROW;
- }
- ACE_ENDTRY;
- ACE_CHECK;
-#endif /* TAO_HAS_INTERCEPTORS */
-
- _tao_server_request.init_reply ();
-
- TAO_OutputCDR &_tao_out = _tao_server_request.outgoing ();
-
- if (!(
- (_tao_out << _tao_retval.in ())
- ))
- ACE_THROW (CORBA::MARSHAL());
-
- // In case ACE_TRY_ENV is not used in this function
- ACE_UNUSED_ARG (ACE_TRY_ENV);
-}
-
-void POA_IR::ValueMemberDef::_get_type_def_skel (
- TAO_ServerRequest &_tao_server_request,
- void *_tao_object_reference,
- void * /* context */,
- CORBA::Environment &ACE_TRY_ENV
-)
-{
- POA_IR::ValueMemberDef *_tao_impl = (POA_IR::ValueMemberDef *)_tao_object_reference;
-
- IR_IDLType_var _tao_retval;
-
-#if (TAO_HAS_INTERCEPTORS == 1)
- TAO_ServerRequestInterceptor_Adapter _tao_vfr (
- _tao_server_request.orb_core ()->server_request_interceptors (),
- _tao_server_request.interceptor_count ()
- );
-
- POA_IR::ValueMemberDef::TAO_ServerRequestInfo_IR_ValueMemberDef_type_def_get ri (
- _tao_server_request,
- _tao_impl,
- ACE_TRY_ENV
- );
-
- ACE_TRY
- {
- _tao_vfr.receive_request (&ri, ACE_TRY_ENV);
- ACE_TRY_CHECK;
-
-#endif /* TAO_HAS_INTERCEPTORS */
- _tao_retval =
- _tao_impl->type_def (
- ACE_TRY_ENV
- );
- TAO_INTERCEPTOR_CHECK;
-
-#if (TAO_HAS_INTERCEPTORS == 1)
- IR_IDLType_ptr _tao_retval_info = _tao_retval._retn ();
- ri.result (_tao_retval_info);
- _tao_retval = _tao_retval_info;
- ri.reply_status (PortableInterceptor::SUCCESSFUL);
- _tao_vfr.send_reply (&ri, ACE_TRY_ENV);
- ACE_TRY_CHECK;
- }
- ACE_CATCH (PortableInterceptor::ForwardRequest, exc)
- {
- ri.forward_reference (exc);
- _tao_vfr.send_other (
- &ri,
- ACE_TRY_ENV
- );
- ACE_TRY_CHECK;
- _tao_server_request.forward_location (exc.forward.in ());
- }
- ACE_CATCHANY
- {
- ri.exception (&ACE_ANY_EXCEPTION);
- _tao_vfr.send_exception (
- &ri,
- ACE_TRY_ENV
- );
- ACE_TRY_CHECK;
- ACE_RE_THROW;
- }
- ACE_ENDTRY;
- ACE_CHECK;
-#endif /* TAO_HAS_INTERCEPTORS */
-
- _tao_server_request.init_reply ();
-
- TAO_OutputCDR &_tao_out = _tao_server_request.outgoing ();
-
- if (!(
- (_tao_out << _tao_retval.in ())
- ))
- ACE_THROW (CORBA::MARSHAL());
-
- // In case ACE_TRY_ENV is not used in this function
- ACE_UNUSED_ARG (ACE_TRY_ENV);
-}
-
-void POA_IR::ValueMemberDef::_set_type_def_skel (
- TAO_ServerRequest &_tao_server_request,
- void *_tao_object_reference,
- void * /* context */,
- CORBA::Environment &ACE_TRY_ENV
-)
-{
- TAO_InputCDR &_tao_in = _tao_server_request.incoming ();
- POA_IR::ValueMemberDef *_tao_impl = (POA_IR::ValueMemberDef *)_tao_object_reference;
-
- IR_IDLType_var type_def;
- if (!(
- (_tao_in >> type_def.out ())
- ))
- ACE_THROW (CORBA::MARSHAL () );
-
-#if (TAO_HAS_INTERCEPTORS == 1)
- TAO_ServerRequestInterceptor_Adapter _tao_vfr (
- _tao_server_request.orb_core ()->server_request_interceptors (),
- _tao_server_request.interceptor_count ()
- );
-
- POA_IR::ValueMemberDef::TAO_ServerRequestInfo_IR_ValueMemberDef_type_def_set ri (
- _tao_server_request,
- _tao_impl,
- type_def.in (),
- ACE_TRY_ENV
- );
-
- ACE_TRY
- {
- _tao_vfr.receive_request (&ri, ACE_TRY_ENV);
- ACE_TRY_CHECK;
-
-#endif /* TAO_HAS_INTERCEPTORS */
-
- _tao_impl->type_def (
- type_def.in (),
- ACE_TRY_ENV
- );
- TAO_INTERCEPTOR_CHECK;
-
-#if (TAO_HAS_INTERCEPTORS == 1)
- ri.reply_status (PortableInterceptor::SUCCESSFUL);
- _tao_vfr.send_reply (&ri, ACE_TRY_ENV);
- ACE_TRY_CHECK;
- }
- ACE_CATCH (PortableInterceptor::ForwardRequest, exc)
- {
- ri.forward_reference (exc);
- _tao_vfr.send_other (
- &ri,
- ACE_TRY_ENV
- );
- ACE_TRY_CHECK;
- _tao_server_request.forward_location (exc.forward.in ());
- }
- ACE_CATCHANY
- {
- ri.exception (&ACE_ANY_EXCEPTION);
- _tao_vfr.send_exception (
- &ri,
- ACE_TRY_ENV
- );
- ACE_TRY_CHECK;
- ACE_RE_THROW;
- }
- ACE_ENDTRY;
- ACE_CHECK;
-#endif /* TAO_HAS_INTERCEPTORS */
-
- _tao_server_request.init_reply ();
-
- // In case ACE_TRY_ENV is not used in this function
- ACE_UNUSED_ARG (ACE_TRY_ENV);
-}
-
-void POA_IR::ValueMemberDef::_get_access_skel (
- TAO_ServerRequest &_tao_server_request,
- void *_tao_object_reference,
- void * /* context */,
- CORBA::Environment &ACE_TRY_ENV
-)
-{
- POA_IR::ValueMemberDef *_tao_impl = (POA_IR::ValueMemberDef *)_tao_object_reference;
-
- CORBA::Visibility _tao_retval = 0;
-
-#if (TAO_HAS_INTERCEPTORS == 1)
- TAO_ServerRequestInterceptor_Adapter _tao_vfr (
- _tao_server_request.orb_core ()->server_request_interceptors (),
- _tao_server_request.interceptor_count ()
- );
-
- POA_IR::ValueMemberDef::TAO_ServerRequestInfo_IR_ValueMemberDef_access_get ri (
- _tao_server_request,
- _tao_impl,
- ACE_TRY_ENV
- );
-
- ACE_TRY
- {
- _tao_vfr.receive_request (&ri, ACE_TRY_ENV);
- ACE_TRY_CHECK;
-
-#endif /* TAO_HAS_INTERCEPTORS */
- _tao_retval =
- _tao_impl->access (
- ACE_TRY_ENV
- );
- TAO_INTERCEPTOR_CHECK;
-
-#if (TAO_HAS_INTERCEPTORS == 1)
- CORBA::Visibility _tao_retval_info = _tao_retval;
- ri.result (_tao_retval_info);
- ri.reply_status (PortableInterceptor::SUCCESSFUL);
- _tao_vfr.send_reply (&ri, ACE_TRY_ENV);
- ACE_TRY_CHECK;
- }
- ACE_CATCH (PortableInterceptor::ForwardRequest, exc)
- {
- ri.forward_reference (exc);
- _tao_vfr.send_other (
- &ri,
- ACE_TRY_ENV
- );
- ACE_TRY_CHECK;
- _tao_server_request.forward_location (exc.forward.in ());
- }
- ACE_CATCHANY
- {
- ri.exception (&ACE_ANY_EXCEPTION);
- _tao_vfr.send_exception (
- &ri,
- ACE_TRY_ENV
- );
- ACE_TRY_CHECK;
- ACE_RE_THROW;
- }
- ACE_ENDTRY;
- ACE_CHECK;
-#endif /* TAO_HAS_INTERCEPTORS */
-
- _tao_server_request.init_reply ();
-
- TAO_OutputCDR &_tao_out = _tao_server_request.outgoing ();
-
- if (!(
- (_tao_out << _tao_retval)
- ))
- ACE_THROW (CORBA::MARSHAL());
-
- // In case ACE_TRY_ENV is not used in this function
- ACE_UNUSED_ARG (ACE_TRY_ENV);
-}
-
-void POA_IR::ValueMemberDef::_set_access_skel (
- TAO_ServerRequest &_tao_server_request,
- void *_tao_object_reference,
- void * /* context */,
- CORBA::Environment &ACE_TRY_ENV
-)
-{
- TAO_InputCDR &_tao_in = _tao_server_request.incoming ();
- POA_IR::ValueMemberDef *_tao_impl = (POA_IR::ValueMemberDef *)_tao_object_reference;
-
- CORBA::Visibility access;
- if (!(
- (_tao_in >> access)
- ))
- ACE_THROW (CORBA::MARSHAL () );
-
-#if (TAO_HAS_INTERCEPTORS == 1)
- TAO_ServerRequestInterceptor_Adapter _tao_vfr (
- _tao_server_request.orb_core ()->server_request_interceptors (),
- _tao_server_request.interceptor_count ()
- );
-
- POA_IR::ValueMemberDef::TAO_ServerRequestInfo_IR_ValueMemberDef_access_set ri (
- _tao_server_request,
- _tao_impl ,
- access,
- ACE_TRY_ENV
- );
-
- ACE_TRY
- {
- _tao_vfr.receive_request (&ri, ACE_TRY_ENV);
- ACE_TRY_CHECK;
-
-#endif /* TAO_HAS_INTERCEPTORS */
-
- _tao_impl->access (
- access,
- ACE_TRY_ENV
- );
- TAO_INTERCEPTOR_CHECK;
-
-#if (TAO_HAS_INTERCEPTORS == 1)
- ri.reply_status (PortableInterceptor::SUCCESSFUL);
- _tao_vfr.send_reply (&ri, ACE_TRY_ENV);
- ACE_TRY_CHECK;
- }
- ACE_CATCH (PortableInterceptor::ForwardRequest, exc)
- {
- ri.forward_reference (exc);
- _tao_vfr.send_other (
- &ri,
- ACE_TRY_ENV
- );
- ACE_TRY_CHECK;
- _tao_server_request.forward_location (exc.forward.in ());
- }
- ACE_CATCHANY
- {
- ri.exception (&ACE_ANY_EXCEPTION);
- _tao_vfr.send_exception (
- &ri,
- ACE_TRY_ENV
- );
- ACE_TRY_CHECK;
- ACE_RE_THROW;
- }
- ACE_ENDTRY;
- ACE_CHECK;
-#endif /* TAO_HAS_INTERCEPTORS */
-
- _tao_server_request.init_reply ();
-
- // In case ACE_TRY_ENV is not used in this function
- ACE_UNUSED_ARG (ACE_TRY_ENV);
-}
-
-void POA_IR::ValueMemberDef::_is_a_skel (
- TAO_ServerRequest &_tao_server_request,
- void * _tao_object_reference,
- void * /* context */,
- CORBA::Environment &ACE_TRY_ENV
- )
-{
- TAO_InputCDR &_tao_in = _tao_server_request.incoming ();
- POA_IR::ValueMemberDef *_tao_impl = (POA_IR::ValueMemberDef *) _tao_object_reference;
- CORBA::Boolean _tao_retval = 0;
- CORBA::String_var value;
- if (!((_tao_in >> value.out ())))
- ACE_THROW (CORBA::MARSHAL ());
-
- _tao_retval = _tao_impl->_is_a (value.in (), ACE_TRY_ENV);
- ACE_CHECK;
-
- _tao_server_request.init_reply ();
- TAO_OutputCDR &_tao_out = _tao_server_request.outgoing ();
- if (!((_tao_out << CORBA::Any::from_boolean (_tao_retval))))
- ACE_THROW (CORBA::MARSHAL ());
-}
-
-void POA_IR::ValueMemberDef::_non_existent_skel (
- TAO_ServerRequest &_tao_server_request,
- void * _tao_object_reference,
- void * /* context */,
- CORBA::Environment &ACE_TRY_ENV
- )
-{
- POA_IR::ValueMemberDef *_tao_impl = (POA_IR::ValueMemberDef *) _tao_object_reference;
- CORBA::Boolean _tao_retval = _tao_impl->_non_existent (ACE_TRY_ENV);
- ACE_CHECK;
-
- _tao_server_request.init_reply ();
- TAO_OutputCDR &_tao_out = _tao_server_request.outgoing ();
- if (!((_tao_out << CORBA::Any::from_boolean (_tao_retval))))
- ACE_THROW (CORBA::MARSHAL ());
-}
-
-CORBA::Boolean POA_IR::ValueMemberDef::_is_a (
- const char* value,
- CORBA::Environment &ACE_TRY_ENV
- )
-{
- if (
- (!ACE_OS::strcmp ((char *)value, "IDL:omg.org/IR/ValueMemberDef:1.0")) ||
- (!ACE_OS::strcmp ((char *)value, "IDL:omg.org/IR/Contained:1.0")) ||
- (!ACE_OS::strcmp ((char *)value, "IDL:omg.org/CORBA/IRObject:1.0")) ||
- (!ACE_OS::strcmp ((char *)value, CORBA::_tc_Object->id (ACE_TRY_ENV))))
- return 1;
- else
- return 0;
-}
-
-void* POA_IR::ValueMemberDef::_downcast (
- const char* logical_type_id
- )
-{
- if (ACE_OS::strcmp (logical_type_id, "IDL:omg.org/IR/ValueMemberDef:1.0") == 0)
- return ACE_static_cast (POA_IR::ValueMemberDef_ptr, this);
- if (ACE_OS::strcmp (logical_type_id, "IDL:omg.org/IR/Contained:1.0") == 0)
- return ACE_static_cast (POA_IR::Contained_ptr, this);
- if (ACE_OS::strcmp (logical_type_id, "IDL:omg.org/CORBA/IRObject:1.0") == 0)
- return ACE_static_cast (POA_CORBA_IRObject_ptr, this);
- if (ACE_OS::strcmp (logical_type_id, "IDL:omg.org/CORBA/Object:1.0") == 0)
- return ACE_static_cast(PortableServer::Servant, this);
- return 0;
-}
-
-void POA_IR::ValueMemberDef::_dispatch (TAO_ServerRequest &req, void *context, CORBA::Environment &ACE_TRY_ENV)
-{
- this->synchronous_upcall_dispatch(req, context, this, ACE_TRY_ENV);
-}
-
-const char* POA_IR::ValueMemberDef::_interface_repository_id (void) const
-{
- return "IDL:omg.org/IR/ValueMemberDef:1.0";
-}
-
-IR::ValueMemberDef*
-POA_IR::ValueMemberDef::_this (CORBA_Environment &ACE_TRY_ENV)
-{
- TAO_Stub *stub = this->_create_stub (ACE_TRY_ENV);
- ACE_CHECK_RETURN (0);
-
- CORBA::Object_ptr tmp = CORBA::Object::_nil ();
-
- if (stub->servant_orb_var ()->orb_core ()->optimize_collocation_objects ())
- ACE_NEW_RETURN (tmp, CORBA::Object (stub, 1, this), 0);
- else
- ACE_NEW_RETURN (tmp, CORBA::Object (stub, 0, this), 0);
-
- CORBA::Object_var obj = tmp;
- return IR_ValueMemberDef::_unchecked_narrow (obj.in ());
-}
-
-#if (TAO_HAS_INTERCEPTORS == 1)
-POA_IR::ValueMemberDef::TAO_ServerRequestInfo_IR_ValueMemberDef_type_get::TAO_ServerRequestInfo_IR_ValueMemberDef_type_get (
- TAO_ServerRequest &_tao_server_request,
- POA_IR::ValueMemberDef *tao_impl,
- CORBA::Environment &
- )
- : TAO_ServerRequestInfo (_tao_server_request),
- _tao_impl (tao_impl)
-{}
-
-Dynamic::ParameterList *
-POA_IR::ValueMemberDef::TAO_ServerRequestInfo_IR_ValueMemberDef_type_get::arguments (CORBA::Environment &ACE_TRY_ENV)
- ACE_THROW_SPEC ((CORBA::SystemException))
-{
- // Generate the argument list on demand.
- Dynamic::ParameterList *parameter_list =
- TAO_RequestInfo_Util::make_parameter_list (ACE_TRY_ENV);
- ACE_CHECK_RETURN (0);
-
- return parameter_list;
-}
-
-Dynamic::ExceptionList *
-POA_IR::ValueMemberDef::TAO_ServerRequestInfo_IR_ValueMemberDef_type_get::exceptions (CORBA::Environment &ACE_TRY_ENV)
- ACE_THROW_SPEC ((CORBA::SystemException))
-{
- // Generate the exception list on demand.
- Dynamic::ExceptionList *exception_list =
- TAO_RequestInfo_Util::make_exception_list (ACE_TRY_ENV);
- ACE_CHECK_RETURN (0);
-
- return exception_list;
-}
-
-CORBA::Any *
-POA_IR::ValueMemberDef::TAO_ServerRequestInfo_IR_ValueMemberDef_type_get::result (CORBA::Environment &ACE_TRY_ENV)
- ACE_THROW_SPEC ((CORBA::SystemException))
-{
- // Generate the result on demand.
- CORBA::Boolean tk_void_any = 0;
- CORBA::Any *result_any =
- TAO_RequestInfo_Util::make_any (tk_void_any, ACE_TRY_ENV);
- ACE_CHECK_RETURN (0);
-
- CORBA::Any_var safe_result_any = result_any;
-
- (*result_any) <<= this->_result;
-
- return safe_result_any._retn ();
-}
-
-char *
-POA_IR::ValueMemberDef::TAO_ServerRequestInfo_IR_ValueMemberDef_type_get::target_most_derived_interface (
- CORBA::Environment &)
- ACE_THROW_SPEC ((CORBA::SystemException))
-{
- return
- CORBA::string_dup (this->_tao_impl->_interface_repository_id ());
-}
-
-CORBA::Boolean
-POA_IR::ValueMemberDef::TAO_ServerRequestInfo_IR_ValueMemberDef_type_get::target_is_a (
- const char * id,
- CORBA::Environment &ACE_TRY_ENV)
- ACE_THROW_SPEC ((CORBA::SystemException))
-{
- return this->_tao_impl->_is_a (id, ACE_TRY_ENV);
-}
-
-void
-POA_IR::ValueMemberDef::TAO_ServerRequestInfo_IR_ValueMemberDef_type_get::result (CORBA::TypeCode_ptr result)
-{
- // Update the result.
- this->_result = result;
-}
-
-POA_IR::ValueMemberDef::TAO_ServerRequestInfo_IR_ValueMemberDef_type_def_get::TAO_ServerRequestInfo_IR_ValueMemberDef_type_def_get (
- TAO_ServerRequest &_tao_server_request,
- POA_IR::ValueMemberDef *tao_impl,
- CORBA::Environment &
- )
- : TAO_ServerRequestInfo (_tao_server_request),
- _tao_impl (tao_impl)
-{}
-
-Dynamic::ParameterList *
-POA_IR::ValueMemberDef::TAO_ServerRequestInfo_IR_ValueMemberDef_type_def_get::arguments (CORBA::Environment &ACE_TRY_ENV)
- ACE_THROW_SPEC ((CORBA::SystemException))
-{
- // Generate the argument list on demand.
- Dynamic::ParameterList *parameter_list =
- TAO_RequestInfo_Util::make_parameter_list (ACE_TRY_ENV);
- ACE_CHECK_RETURN (0);
-
- return parameter_list;
-}
-
-Dynamic::ExceptionList *
-POA_IR::ValueMemberDef::TAO_ServerRequestInfo_IR_ValueMemberDef_type_def_get::exceptions (CORBA::Environment &ACE_TRY_ENV)
- ACE_THROW_SPEC ((CORBA::SystemException))
-{
- // Generate the exception list on demand.
- Dynamic::ExceptionList *exception_list =
- TAO_RequestInfo_Util::make_exception_list (ACE_TRY_ENV);
- ACE_CHECK_RETURN (0);
-
- return exception_list;
-}
-
-CORBA::Any *
-POA_IR::ValueMemberDef::TAO_ServerRequestInfo_IR_ValueMemberDef_type_def_get::result (CORBA::Environment &ACE_TRY_ENV)
- ACE_THROW_SPEC ((CORBA::SystemException))
-{
- // Generate the result on demand.
- CORBA::Boolean tk_void_any = 0;
- CORBA::Any *result_any =
- TAO_RequestInfo_Util::make_any (tk_void_any, ACE_TRY_ENV);
- ACE_CHECK_RETURN (0);
-
- CORBA::Any_var safe_result_any = result_any;
-
- (*result_any) <<= this->_result;
-
- return safe_result_any._retn ();
-}
-
-char *
-POA_IR::ValueMemberDef::TAO_ServerRequestInfo_IR_ValueMemberDef_type_def_get::target_most_derived_interface (
- CORBA::Environment &)
- ACE_THROW_SPEC ((CORBA::SystemException))
-{
- return
- CORBA::string_dup (this->_tao_impl->_interface_repository_id ());
-}
-
-CORBA::Boolean
-POA_IR::ValueMemberDef::TAO_ServerRequestInfo_IR_ValueMemberDef_type_def_get::target_is_a (
- const char * id,
- CORBA::Environment &ACE_TRY_ENV)
- ACE_THROW_SPEC ((CORBA::SystemException))
-{
- return this->_tao_impl->_is_a (id, ACE_TRY_ENV);
-}
-
-void
-POA_IR::ValueMemberDef::TAO_ServerRequestInfo_IR_ValueMemberDef_type_def_get::result (IR::IDLType_ptr result)
-{
- // Update the result.
- this->_result = result;
-}
-
-POA_IR::ValueMemberDef::TAO_ServerRequestInfo_IR_ValueMemberDef_type_def_set::TAO_ServerRequestInfo_IR_ValueMemberDef_type_def_set (
- TAO_ServerRequest &_tao_server_request,
- POA_IR::ValueMemberDef *tao_impl,
- IR_IDLType_ptr type_def,
- CORBA::Environment &
- )
- : TAO_ServerRequestInfo (_tao_server_request),
- _tao_impl (tao_impl),
- type_def_ (type_def)
-{}
-
-Dynamic::ParameterList *
-POA_IR::ValueMemberDef::TAO_ServerRequestInfo_IR_ValueMemberDef_type_def_set::arguments (CORBA::Environment &ACE_TRY_ENV)
- ACE_THROW_SPEC ((CORBA::SystemException))
-{
- // Generate the argument list on demand.
- Dynamic::ParameterList *parameter_list =
- TAO_RequestInfo_Util::make_parameter_list (ACE_TRY_ENV);
- ACE_CHECK_RETURN (0);
-
- Dynamic::ParameterList_var safe_parameter_list = parameter_list;
-
- CORBA::ULong length_type_def = parameter_list->length ();
- parameter_list->length (length_type_def + 1);
- (*parameter_list)[length_type_def].argument <<= this->type_def_;
-
- (*parameter_list)[length_type_def].mode = Dynamic::PARAM_IN;
-
- return safe_parameter_list._retn ();
-}
-
-Dynamic::ExceptionList *
-POA_IR::ValueMemberDef::TAO_ServerRequestInfo_IR_ValueMemberDef_type_def_set::exceptions (CORBA::Environment &ACE_TRY_ENV)
- ACE_THROW_SPEC ((CORBA::SystemException))
-{
- // Generate the exception list on demand.
- Dynamic::ExceptionList *exception_list =
- TAO_RequestInfo_Util::make_exception_list (ACE_TRY_ENV);
- ACE_CHECK_RETURN (0);
-
- return exception_list;
-}
-
-CORBA::Any *
-POA_IR::ValueMemberDef::TAO_ServerRequestInfo_IR_ValueMemberDef_type_def_set::result (CORBA::Environment &ACE_TRY_ENV)
- ACE_THROW_SPEC ((CORBA::SystemException))
-{
- // Generate the result on demand.
- CORBA::Boolean tk_void_any = 1;
- CORBA::Any *result_any =
- TAO_RequestInfo_Util::make_any (tk_void_any, ACE_TRY_ENV);
- ACE_CHECK_RETURN (0);
-
- return result_any;
-}
-
-char *
-POA_IR::ValueMemberDef::TAO_ServerRequestInfo_IR_ValueMemberDef_type_def_set::target_most_derived_interface (
- CORBA::Environment &)
- ACE_THROW_SPEC ((CORBA::SystemException))
-{
- return
- CORBA::string_dup (this->_tao_impl->_interface_repository_id ());
-}
-
-CORBA::Boolean
-POA_IR::ValueMemberDef::TAO_ServerRequestInfo_IR_ValueMemberDef_type_def_set::target_is_a (
- const char * id,
- CORBA::Environment &ACE_TRY_ENV)
- ACE_THROW_SPEC ((CORBA::SystemException))
-{
- return this->_tao_impl->_is_a (id, ACE_TRY_ENV);
-}
-
-POA_IR::ValueMemberDef::TAO_ServerRequestInfo_IR_ValueMemberDef_access_get::TAO_ServerRequestInfo_IR_ValueMemberDef_access_get (
- TAO_ServerRequest &_tao_server_request,
- POA_IR::ValueMemberDef *tao_impl,
- CORBA::Environment &
- )
- : TAO_ServerRequestInfo (_tao_server_request),
- _tao_impl (tao_impl)
-{}
-
-Dynamic::ParameterList *
-POA_IR::ValueMemberDef::TAO_ServerRequestInfo_IR_ValueMemberDef_access_get::arguments (CORBA::Environment &ACE_TRY_ENV)
- ACE_THROW_SPEC ((CORBA::SystemException))
-{
- // Generate the argument list on demand.
- Dynamic::ParameterList *parameter_list =
- TAO_RequestInfo_Util::make_parameter_list (ACE_TRY_ENV);
- ACE_CHECK_RETURN (0);
-
- return parameter_list;
-}
-
-Dynamic::ExceptionList *
-POA_IR::ValueMemberDef::TAO_ServerRequestInfo_IR_ValueMemberDef_access_get::exceptions (CORBA::Environment &ACE_TRY_ENV)
- ACE_THROW_SPEC ((CORBA::SystemException))
-{
- // Generate the exception list on demand.
- Dynamic::ExceptionList *exception_list =
- TAO_RequestInfo_Util::make_exception_list (ACE_TRY_ENV);
- ACE_CHECK_RETURN (0);
-
- return exception_list;
-}
-
-CORBA::Any *
-POA_IR::ValueMemberDef::TAO_ServerRequestInfo_IR_ValueMemberDef_access_get::result (CORBA::Environment &ACE_TRY_ENV)
- ACE_THROW_SPEC ((CORBA::SystemException))
-{
- // Generate the result on demand.
- CORBA::Boolean tk_void_any = 0;
- CORBA::Any *result_any =
- TAO_RequestInfo_Util::make_any (tk_void_any, ACE_TRY_ENV);
- ACE_CHECK_RETURN (0);
-
- CORBA::Any_var safe_result_any = result_any;
-
- (*result_any) <<= this->_result;
-
- return safe_result_any._retn ();
-}
-
-char *
-POA_IR::ValueMemberDef::TAO_ServerRequestInfo_IR_ValueMemberDef_access_get::target_most_derived_interface (
- CORBA::Environment &)
- ACE_THROW_SPEC ((CORBA::SystemException))
-{
- return
- CORBA::string_dup (this->_tao_impl->_interface_repository_id ());
-}
-
-CORBA::Boolean
-POA_IR::ValueMemberDef::TAO_ServerRequestInfo_IR_ValueMemberDef_access_get::target_is_a (
- const char * id,
- CORBA::Environment &ACE_TRY_ENV)
- ACE_THROW_SPEC ((CORBA::SystemException))
-{
- return this->_tao_impl->_is_a (id, ACE_TRY_ENV);
-}
-
-void
-POA_IR::ValueMemberDef::TAO_ServerRequestInfo_IR_ValueMemberDef_access_get::result (CORBA::Visibility result)
-{
- // Update the result.
- this->_result = result;
-}
-
-POA_IR::ValueMemberDef::TAO_ServerRequestInfo_IR_ValueMemberDef_access_set::TAO_ServerRequestInfo_IR_ValueMemberDef_access_set (
- TAO_ServerRequest &_tao_server_request,
- POA_IR::ValueMemberDef *tao_impl,
- const CORBA::Visibility & access,
- CORBA::Environment &
- )
- : TAO_ServerRequestInfo (_tao_server_request),
- _tao_impl (tao_impl),
- access_ (access)
-{}
-
-Dynamic::ParameterList *
-POA_IR::ValueMemberDef::TAO_ServerRequestInfo_IR_ValueMemberDef_access_set::arguments (CORBA::Environment &ACE_TRY_ENV)
- ACE_THROW_SPEC ((CORBA::SystemException))
-{
- // Generate the argument list on demand.
- Dynamic::ParameterList *parameter_list =
- TAO_RequestInfo_Util::make_parameter_list (ACE_TRY_ENV);
- ACE_CHECK_RETURN (0);
-
- Dynamic::ParameterList_var safe_parameter_list = parameter_list;
-
- CORBA::ULong length_access = parameter_list->length ();
- parameter_list->length (length_access + 1);
- (*parameter_list)[length_access].argument <<= access_;
- (*parameter_list)[length_access].mode = Dynamic::PARAM_IN;
-
- return safe_parameter_list._retn ();
-}
-
-Dynamic::ExceptionList *
-POA_IR::ValueMemberDef::TAO_ServerRequestInfo_IR_ValueMemberDef_access_set::exceptions (CORBA::Environment &ACE_TRY_ENV)
- ACE_THROW_SPEC ((CORBA::SystemException))
-{
- // Generate the exception list on demand.
- Dynamic::ExceptionList *exception_list =
- TAO_RequestInfo_Util::make_exception_list (ACE_TRY_ENV);
- ACE_CHECK_RETURN (0);
-
- return exception_list;
-}
-
-CORBA::Any *
-POA_IR::ValueMemberDef::TAO_ServerRequestInfo_IR_ValueMemberDef_access_set::result (CORBA::Environment &ACE_TRY_ENV)
- ACE_THROW_SPEC ((CORBA::SystemException))
-{
- // Generate the result on demand.
- CORBA::Boolean tk_void_any = 1;
- CORBA::Any *result_any =
- TAO_RequestInfo_Util::make_any (tk_void_any, ACE_TRY_ENV);
- ACE_CHECK_RETURN (0);
-
- return result_any;
-}
-
-char *
-POA_IR::ValueMemberDef::TAO_ServerRequestInfo_IR_ValueMemberDef_access_set::target_most_derived_interface (
- CORBA::Environment &)
- ACE_THROW_SPEC ((CORBA::SystemException))
-{
- return
- CORBA::string_dup (this->_tao_impl->_interface_repository_id ());
-}
-
-CORBA::Boolean
-POA_IR::ValueMemberDef::TAO_ServerRequestInfo_IR_ValueMemberDef_access_set::target_is_a (
- const char * id,
- CORBA::Environment &ACE_TRY_ENV)
- ACE_THROW_SPEC ((CORBA::SystemException))
-{
- return this->_tao_impl->_is_a (id, ACE_TRY_ENV);
-}
-
-#endif /* TAO_HAS_INTERCEPTORS */
-
-class TAO_IR_ValueDef_Perfect_Hash_OpTable : public TAO_Perfect_Hash_OpTable
-{
-private:
- unsigned int hash (const char *str, unsigned int len);
-public:
- const TAO_operation_db_entry * lookup (const char *str, unsigned int len);
-};
-/* starting time is 11:23:11 */
-/* C++ code produced by gperf version 2.8 (ACE version) */
-/* Command-line: gperf -m -M -J -c -C -D -E -T -f 0 -F 0 -a -o -t -p -K opname_ -L C++ -Z TAO_IR_ValueDef_Perfect_Hash_OpTable -N lookup */
-unsigned int
-TAO_IR_ValueDef_Perfect_Hash_OpTable::hash (const char *str, unsigned int len)
-{
- static const unsigned char asso_values[] =
- {
-#if defined (ACE_MVS)
- 86, 86, 86, 86, 86, 86, 86, 86, 86, 86,
- 86, 86, 86, 86, 86, 86, 86, 86, 86, 86,
- 86, 86, 86, 86, 86, 86, 86, 86, 86, 86,
- 86, 86, 86, 86, 86, 86, 86, 86, 86, 86,
- 86, 86, 86, 86, 86, 86, 86, 86, 86, 86,
- 86, 86, 86, 86, 86, 86, 86, 86, 86, 86,
- 86, 86, 86, 86, 86, 86, 86, 86, 86, 86,
- 86, 86, 86, 86, 86, 86, 86, 86, 86, 86,
- 86, 86, 86, 86, 86, 86, 86, 86, 86, 86,
- 86, 86, 86, 86, 86, 86, 86, 86, 86, 86,
- 86, 86, 86, 86, 86, 86, 86, 86, 86, 0,
- 86, 86, 86, 86, 86, 86, 86, 86, 86, 86,
- 86, 86, 86, 86, 86, 86, 86, 86, 86, 0,
- 86, 50, 35, 0, 86, 86, 86, 20, 86, 86,
- 86, 86, 86, 86, 86, 86, 86, 0, 0, 15,
- 86, 0, 86, 0, 86, 86, 86, 86, 86, 86,
- 86, 86, 20, 20, 86, 86, 86, 5, 5, 86,
- 86, 86, 86, 86, 86, 86, 86, 86, 86, 86,
- 86, 86, 86, 86, 86, 86, 86, 86, 86, 86,
- 86, 86, 86, 86, 86, 86, 86, 86, 86, 86,
- 86, 86, 86, 86, 86, 86, 86, 86, 86, 86,
- 86, 86, 86, 86, 86, 86, 86, 86, 86, 86,
- 86, 86, 86, 86, 86, 86, 86, 86, 86, 86,
- 86, 86, 86, 86, 86, 86, 86, 86, 86, 86,
- 86, 86, 86, 86, 86, 86, 86, 86, 86, 86,
- 86, 86, 86, 86, 86, 86,
-#else
- 86, 86, 86, 86, 86, 86, 86, 86, 86, 86,
- 86, 86, 86, 86, 86, 86, 86, 86, 86, 86,
- 86, 86, 86, 86, 86, 86, 86, 86, 86, 86,
- 86, 86, 86, 86, 86, 86, 86, 86, 86, 86,
- 86, 86, 86, 86, 86, 86, 86, 86, 86, 86,
- 86, 86, 86, 86, 86, 86, 86, 86, 86, 86,
- 86, 86, 86, 86, 86, 86, 86, 86, 86, 86,
- 86, 86, 86, 86, 86, 86, 86, 86, 86, 86,
- 86, 86, 86, 86, 86, 86, 86, 86, 86, 86,
- 86, 86, 86, 86, 86, 0, 86, 0, 86, 50,
- 35, 0, 86, 86, 86, 20, 86, 86, 0, 0,
- 15, 86, 0, 86, 0, 20, 20, 86, 86, 86,
- 5, 5, 86, 86, 86, 86, 86, 86,
-#endif /* ACE_MVS */
- };
- return len + asso_values[str[len - 1]] + asso_values[str[0]];
-}
-
-const class TAO_operation_db_entry *
-TAO_IR_ValueDef_Perfect_Hash_OpTable::lookup (const char *str, unsigned int len)
-{
- enum
- {
- TOTAL_KEYWORDS = 49,
- MIN_WORD_LENGTH = 4,
- MAX_WORD_LENGTH = 26,
- MIN_HASH_VALUE = 4,
- MAX_HASH_VALUE = 85,
- HASH_VALUE_RANGE = 82,
- DUPLICATES = 16
- };
-
- static const class TAO_operation_db_entry wordlist[] =
- {
- {"",0},{"",0},{"",0},{"",0},
- {"move", &POA_IR::ValueDef::move_skel},
- {"_is_a", &POA_IR::ValueDef::_is_a_skel},
- {"lookup", &POA_IR::ValueDef::lookup_skel},
- {"_get_name", &POA_IR::ValueDef::_get_name_skel},
- {"_get_type", &POA_IR::ValueDef::_get_type_skel},
- {"_set_name", &POA_IR::ValueDef::_set_name_skel},
- {"lookup_name", &POA_IR::ValueDef::lookup_name_skel},
- {"_get_is_custom", &POA_IR::ValueDef::_get_is_custom_skel},
- {"_set_is_custom", &POA_IR::ValueDef::_set_is_custom_skel},
- {"_get_base_value", &POA_IR::ValueDef::_get_base_value_skel},
- {"_set_base_value", &POA_IR::ValueDef::_set_base_value_skel},
- {"_get_absolute_name", &POA_IR::ValueDef::_get_absolute_name_skel},
- {"_get_is_truncatable", &POA_IR::ValueDef::_get_is_truncatable_skel},
- {"_set_is_truncatable", &POA_IR::ValueDef::_set_is_truncatable_skel},
- {"is_a", &POA_IR::ValueDef::is_a_skel},
- {"_get_version", &POA_IR::ValueDef::_get_version_skel},
- {"_set_version", &POA_IR::ValueDef::_set_version_skel},
- {"_get_defined_in", &POA_IR::ValueDef::_get_defined_in_skel},
- {"_get_containing_repository", &POA_IR::ValueDef::_get_containing_repository_skel},
- {"_non_existent", &POA_IR::ValueDef::_non_existent_skel},
- {"_get_is_abstract", &POA_IR::ValueDef::_get_is_abstract_skel},
- {"_set_is_abstract", &POA_IR::ValueDef::_set_is_abstract_skel},
- {"_get_initializers", &POA_IR::ValueDef::_get_initializers_skel},
- {"_set_initializers", &POA_IR::ValueDef::_set_initializers_skel},
- {"_get_id", &POA_IR::ValueDef::_get_id_skel},
- {"_set_id", &POA_IR::ValueDef::_set_id_skel},
- {"describe", &POA_IR::ValueDef::describe_skel},
- {"_get_supported_interfaces", &POA_IR::ValueDef::_get_supported_interfaces_skel},
- {"_set_abstract_base_values", &POA_IR::ValueDef::_set_abstract_base_values_skel},
- {"_get_abstract_base_values", &POA_IR::ValueDef::_get_abstract_base_values_skel},
- {"_set_supported_interfaces", &POA_IR::ValueDef::_set_supported_interfaces_skel},
- {"destroy", &POA_IR::ValueDef::destroy_skel},
- {"_get_def_kind", &POA_IR::ValueDef::_get_def_kind_skel},
- {"create_enum", &POA_IR::ValueDef::create_enum_skel},
- {"create_value", &POA_IR::ValueDef::create_value_skel},
- {"create_module", &POA_IR::ValueDef::create_module_skel},
- {"create_native", &POA_IR::ValueDef::create_native_skel},
- {"create_attribute", &POA_IR::ValueDef::create_attribute_skel},
- {"create_interface", &POA_IR::ValueDef::create_interface_skel},
- {"create_value_member", &POA_IR::ValueDef::create_value_member_skel},
- {"create_value_box", &POA_IR::ValueDef::create_value_box_skel},
- {"describe_contents", &POA_IR::ValueDef::describe_contents_skel},
- {"create_union", &POA_IR::ValueDef::create_union_skel},
- {"contents", &POA_IR::ValueDef::contents_skel},
- {"create_operation", &POA_IR::ValueDef::create_operation_skel},
- {"create_exception", &POA_IR::ValueDef::create_exception_skel},
- {"create_alias", &POA_IR::ValueDef::create_alias_skel},
- {"create_struct", &POA_IR::ValueDef::create_struct_skel},
- {"create_constant", &POA_IR::ValueDef::create_constant_skel},
- };
-
- static const signed char lookup[] =
- {
- -1, -1, -7, -3, 4, 5, 6, -11, -2, -92, -1, 10, -13, -2,
- -92, -88, -16, -2, 15, -88, -1, -1, -1, -1, 18, -19, -2, -87,
- -24, -2, 21, 22, -1, 23, -26, -2, -93, -88, -28, -2, -31, -4,
- -89, 30, -1, -90, -1, 35, 36, -1, -1, -1, -1, -1, -1, -1,
- -1, -1, -1, -39, -2, 37, 38, -89, -41, -2, -87, -1, -1, 43,
- -1, 44, 45, -1, -1, -1, -1, 46, 47, -48, -2, -87, 50, 51,
- -1, 52,
- };
-
- if (len <= MAX_WORD_LENGTH && len >= MIN_WORD_LENGTH)
- {
- unsigned int key = hash (str, len);
-
- if (key <= MAX_HASH_VALUE && key >= MIN_HASH_VALUE)
- {
- int slot = lookup[key];
-
- if (slot >= 0 && slot < MAX_HASH_VALUE)
- {
- const char *s = wordlist[slot].opname_;
-
- if (*str == *s && !strncmp (str + 1, s + 1, len - 1))
- return &wordlist[slot];
- }
- else if (slot < 0 && slot >= -MAX_HASH_VALUE)
- return 0;
- else
- {
- unsigned int offset = key + slot + (slot > 0 ? -MAX_HASH_VALUE : MAX_HASH_VALUE);
- const class TAO_operation_db_entry *base = &wordlist[-lookup[offset]];
- const class TAO_operation_db_entry *ptr = base + -lookup[offset + 1];
-
- while (--ptr >= base)
- if (*str == *ptr->opname_ && !strncmp (str + 1, ptr->opname_ + 1, len - 1))
- return ptr;
- }
- }
- }
- return 0;
-}
-/* ending time is 11:23:11 */
-static TAO_IR_ValueDef_Perfect_Hash_OpTable tao_IR_ValueDef_optable;
-
-///////////////////////////////////////////////////////////////////////
-// Strategized Proxy Broker Implementation
-//
-
-// Factory function Implementation.
-POA_IR::_TAO_ValueDef_Strategized_Proxy_Broker *POA_IR::_TAO_ValueDef_Strategized_Proxy_Broker::the_TAO_ValueDef_Strategized_Proxy_Broker (void)
-{
- static POA_IR::_TAO_ValueDef_Strategized_Proxy_Broker strategized_proxy_broker;
- return &strategized_proxy_broker;
-}
-
-POA_IR::_TAO_ValueDef_Strategized_Proxy_Broker::_TAO_ValueDef_Strategized_Proxy_Broker (void)
-{
- for (int i = 0; i < TAO_Collocation_Strategies::CS_LAST; ++i)
- this->proxy_cache_[i] = 0;
-
-}
-
-POA_IR::_TAO_ValueDef_Strategized_Proxy_Broker::~_TAO_ValueDef_Strategized_Proxy_Broker (void)
-{
- for (int i = 0; i < TAO_Collocation_Strategies::CS_LAST; ++i)
- delete this->proxy_cache_[i];
-
-}
-
-_TAO_ValueDef_Proxy_Impl&
-POA_IR::_TAO_ValueDef_Strategized_Proxy_Broker::select_proxy (
- IR_ValueDef *object,
- CORBA::Environment &ACE_TRY_ENV
- )
-{
- int strategy =
- TAO_ORB_Core::collocation_strategy (object);
-
- if (this->proxy_cache_[strategy] != 0)
- return *this->proxy_cache_[strategy];
-
- this->create_proxy (strategy, ACE_TRY_ENV);
- ACE_CHECK_RETURN (*this->proxy_cache_[strategy]);
-
- return *this->proxy_cache_[strategy];
-
-}
-
-void
-POA_IR::_TAO_ValueDef_Strategized_Proxy_Broker::create_proxy (
- int strategy,
- CORBA::Environment &ACE_TRY_ENV
- )
-{
- ACE_GUARD (TAO_SYNCH_MUTEX, guard, this->mutex_);
-
- if (this->proxy_cache_[strategy] == 0)
- {
- switch (strategy)
- {
- case TAO_Collocation_Strategies::CS_THRU_POA_STRATEGY:
- ACE_NEW_THROW_EX (
- this->proxy_cache_[strategy],
- _TAO_ValueDef_ThruPOA_Proxy_Impl,
- CORBA::NO_MEMORY ()
- );
- ACE_CHECK;
- break;
-
- case TAO_Collocation_Strategies::CS_REMOTE_STRATEGY:
- default:
- ACE_NEW_THROW_EX (
- this->proxy_cache_[strategy],
- _TAO_ValueDef_Remote_Proxy_Impl,
- CORBA::NO_MEMORY ()
- );
- ACE_CHECK;
- break;
-
- }
-
- }
-}
-
-
-//
-// End Strategized Proxy Broker Implementation
-///////////////////////////////////////////////////////////////////////
-
-
-_TAO_ValueDef_Proxy_Broker *
-_TAO_ValueDef_Proxy_Broker_Factory_function (CORBA::Object_ptr obj)
-{
- ACE_UNUSED_ARG (obj);
- return ::POA_IR::_TAO_ValueDef_Strategized_Proxy_Broker::the_TAO_ValueDef_Strategized_Proxy_Broker();
-}
-
-int
-_TAO_ValueDef_Proxy_Broker_Factory_Initializer (long _dummy_)
-{
- ACE_UNUSED_ARG (_dummy_);
-
- _TAO_ValueDef_Proxy_Broker_Factory_function_pointer =
- _TAO_ValueDef_Proxy_Broker_Factory_function;
-
- return 0;
-}
-
-static int _TAO_ValueDef_Proxy_Broker_Stub_Factory_Initializer_Scarecrow =
- _TAO_ValueDef_Proxy_Broker_Factory_Initializer (ACE_reinterpret_cast (long, _TAO_ValueDef_Proxy_Broker_Factory_Initializer));
-
-
-///////////////////////////////////////////////////////////////////////
-// ThruPOA Proxy Implementation
-//
-
-POA_IR::_TAO_ValueDef_ThruPOA_Proxy_Impl::_TAO_ValueDef_ThruPOA_Proxy_Impl (void)
-{}
-
-// ThruPOA Implementation of the IDL interface methods
-
-IR_InterfaceDefSeq * POA_IR::_TAO_ValueDef_ThruPOA_Proxy_Impl::supported_interfaces (
- CORBA_Object *_collocated_tao_target_,
- CORBA::Environment &ACE_TRY_ENV
- )
- ACE_THROW_SPEC ((
- CORBA::SystemException
- ))
-{
- IR_InterfaceDefSeq_var _tao_retval;
- ACE_UNUSED_ARG (_tao_retval);
- TAO_Object_Adapter::Servant_Upcall servant_upcall (
- _collocated_tao_target_->_stubobj ()->servant_orb_var ()->orb_core ()
- );
- CORBA::Object_var forward_to;
- servant_upcall.prepare_for_upcall (
- _collocated_tao_target_->_object_key (),
- "supported_interfaces",
- forward_to.out (),
- ACE_TRY_ENV
- );
- ACE_CHECK_RETURN (0);
- return ACE_reinterpret_cast (
- POA_IR::ValueDef_ptr,
- servant_upcall.servant ()->_downcast (
- "IDL:omg.org/IR/ValueDef:1.0"
- )
- )->supported_interfaces (
- ACE_TRY_ENV
- );
-}
-
-void POA_IR::_TAO_ValueDef_ThruPOA_Proxy_Impl::supported_interfaces (
- CORBA_Object *_collocated_tao_target_,
- const IR_InterfaceDefSeq & supported_interfaces,
- CORBA::Environment &ACE_TRY_ENV
- )
- ACE_THROW_SPEC ((
- CORBA::SystemException
- ))
-{
- TAO_Object_Adapter::Servant_Upcall servant_upcall (
- _collocated_tao_target_->_stubobj ()->servant_orb_var ()->orb_core ()
- );
- CORBA::Object_var forward_to;
- servant_upcall.prepare_for_upcall (
- _collocated_tao_target_->_object_key (),
- "supported_interfaces",
- forward_to.out (),
- ACE_TRY_ENV
- );
- ACE_CHECK;
- ACE_reinterpret_cast (
- POA_IR::ValueDef_ptr,
- servant_upcall.servant ()->_downcast (
- "IDL:omg.org/IR/ValueDef:1.0"
- )
- )->supported_interfaces (
- supported_interfaces,
- ACE_TRY_ENV
- );
- return;
-}
-
-IR_InitializerSeq * POA_IR::_TAO_ValueDef_ThruPOA_Proxy_Impl::initializers (
- CORBA_Object *_collocated_tao_target_,
- CORBA::Environment &ACE_TRY_ENV
- )
- ACE_THROW_SPEC ((
- CORBA::SystemException
- ))
-{
- IR_InitializerSeq_var _tao_retval;
- ACE_UNUSED_ARG (_tao_retval);
- TAO_Object_Adapter::Servant_Upcall servant_upcall (
- _collocated_tao_target_->_stubobj ()->servant_orb_var ()->orb_core ()
- );
- CORBA::Object_var forward_to;
- servant_upcall.prepare_for_upcall (
- _collocated_tao_target_->_object_key (),
- "initializers",
- forward_to.out (),
- ACE_TRY_ENV
- );
- ACE_CHECK_RETURN (0);
- return ACE_reinterpret_cast (
- POA_IR::ValueDef_ptr,
- servant_upcall.servant ()->_downcast (
- "IDL:omg.org/IR/ValueDef:1.0"
- )
- )->initializers (
- ACE_TRY_ENV
- );
-}
-
-void POA_IR::_TAO_ValueDef_ThruPOA_Proxy_Impl::initializers (
- CORBA_Object *_collocated_tao_target_,
- const IR_InitializerSeq & initializers,
- CORBA::Environment &ACE_TRY_ENV
- )
- ACE_THROW_SPEC ((
- CORBA::SystemException
- ))
-{
- TAO_Object_Adapter::Servant_Upcall servant_upcall (
- _collocated_tao_target_->_stubobj ()->servant_orb_var ()->orb_core ()
- );
- CORBA::Object_var forward_to;
- servant_upcall.prepare_for_upcall (
- _collocated_tao_target_->_object_key (),
- "initializers",
- forward_to.out (),
- ACE_TRY_ENV
- );
- ACE_CHECK;
- ACE_reinterpret_cast (
- POA_IR::ValueDef_ptr,
- servant_upcall.servant ()->_downcast (
- "IDL:omg.org/IR/ValueDef:1.0"
- )
- )->initializers (
- initializers,
- ACE_TRY_ENV
- );
- return;
-}
-
-IR_ValueDef_ptr POA_IR::_TAO_ValueDef_ThruPOA_Proxy_Impl::base_value (
- CORBA_Object *_collocated_tao_target_,
- CORBA::Environment &ACE_TRY_ENV
- )
- ACE_THROW_SPEC ((
- CORBA::SystemException
- ))
-{
- IR_ValueDef_var _tao_retval;
- ACE_UNUSED_ARG (_tao_retval);
- TAO_Object_Adapter::Servant_Upcall servant_upcall (
- _collocated_tao_target_->_stubobj ()->servant_orb_var ()->orb_core ()
- );
- CORBA::Object_var forward_to;
- servant_upcall.prepare_for_upcall (
- _collocated_tao_target_->_object_key (),
- "base_value",
- forward_to.out (),
- ACE_TRY_ENV
- );
- ACE_CHECK_RETURN (0);
- return ACE_reinterpret_cast (
- POA_IR::ValueDef_ptr,
- servant_upcall.servant ()->_downcast (
- "IDL:omg.org/IR/ValueDef:1.0"
- )
- )->base_value (
- ACE_TRY_ENV
- );
-}
-
-void POA_IR::_TAO_ValueDef_ThruPOA_Proxy_Impl::base_value (
- CORBA_Object *_collocated_tao_target_,
- IR_ValueDef_ptr base_value,
- CORBA::Environment &ACE_TRY_ENV
- )
- ACE_THROW_SPEC ((
- CORBA::SystemException
- ))
-{
- TAO_Object_Adapter::Servant_Upcall servant_upcall (
- _collocated_tao_target_->_stubobj ()->servant_orb_var ()->orb_core ()
- );
- CORBA::Object_var forward_to;
- servant_upcall.prepare_for_upcall (
- _collocated_tao_target_->_object_key (),
- "base_value",
- forward_to.out (),
- ACE_TRY_ENV
- );
- ACE_CHECK;
- ACE_reinterpret_cast (
- POA_IR::ValueDef_ptr,
- servant_upcall.servant ()->_downcast (
- "IDL:omg.org/IR/ValueDef:1.0"
- )
- )->base_value (
- base_value,
- ACE_TRY_ENV
- );
- return;
-}
-
-IR_ValueDefSeq * POA_IR::_TAO_ValueDef_ThruPOA_Proxy_Impl::abstract_base_values (
- CORBA_Object *_collocated_tao_target_,
- CORBA::Environment &ACE_TRY_ENV
- )
- ACE_THROW_SPEC ((
- CORBA::SystemException
- ))
-{
- IR_ValueDefSeq_var _tao_retval;
- ACE_UNUSED_ARG (_tao_retval);
- TAO_Object_Adapter::Servant_Upcall servant_upcall (
- _collocated_tao_target_->_stubobj ()->servant_orb_var ()->orb_core ()
- );
- CORBA::Object_var forward_to;
- servant_upcall.prepare_for_upcall (
- _collocated_tao_target_->_object_key (),
- "abstract_base_values",
- forward_to.out (),
- ACE_TRY_ENV
- );
- ACE_CHECK_RETURN (0);
- return ACE_reinterpret_cast (
- POA_IR::ValueDef_ptr,
- servant_upcall.servant ()->_downcast (
- "IDL:omg.org/IR/ValueDef:1.0"
- )
- )->abstract_base_values (
- ACE_TRY_ENV
- );
-}
-
-void POA_IR::_TAO_ValueDef_ThruPOA_Proxy_Impl::abstract_base_values (
- CORBA_Object *_collocated_tao_target_,
- const IR_ValueDefSeq & abstract_base_values,
- CORBA::Environment &ACE_TRY_ENV
- )
- ACE_THROW_SPEC ((
- CORBA::SystemException
- ))
-{
- TAO_Object_Adapter::Servant_Upcall servant_upcall (
- _collocated_tao_target_->_stubobj ()->servant_orb_var ()->orb_core ()
- );
- CORBA::Object_var forward_to;
- servant_upcall.prepare_for_upcall (
- _collocated_tao_target_->_object_key (),
- "abstract_base_values",
- forward_to.out (),
- ACE_TRY_ENV
- );
- ACE_CHECK;
- ACE_reinterpret_cast (
- POA_IR::ValueDef_ptr,
- servant_upcall.servant ()->_downcast (
- "IDL:omg.org/IR/ValueDef:1.0"
- )
- )->abstract_base_values (
- abstract_base_values,
- ACE_TRY_ENV
- );
- return;
-}
-
-CORBA::Boolean POA_IR::_TAO_ValueDef_ThruPOA_Proxy_Impl::is_abstract (
- CORBA_Object *_collocated_tao_target_,
- CORBA::Environment &ACE_TRY_ENV
- )
- ACE_THROW_SPEC ((
- CORBA::SystemException
- ))
-{
- CORBA::Boolean _tao_retval = 0;
- ACE_UNUSED_ARG (_tao_retval);
- TAO_Object_Adapter::Servant_Upcall servant_upcall (
- _collocated_tao_target_->_stubobj ()->servant_orb_var ()->orb_core ()
- );
- CORBA::Object_var forward_to;
- servant_upcall.prepare_for_upcall (
- _collocated_tao_target_->_object_key (),
- "is_abstract",
- forward_to.out (),
- ACE_TRY_ENV
- );
- ACE_CHECK_RETURN (_tao_retval);
- return ACE_reinterpret_cast (
- POA_IR::ValueDef_ptr,
- servant_upcall.servant ()->_downcast (
- "IDL:omg.org/IR/ValueDef:1.0"
- )
- )->is_abstract (
- ACE_TRY_ENV
- );
-}
-
-void POA_IR::_TAO_ValueDef_ThruPOA_Proxy_Impl::is_abstract (
- CORBA_Object *_collocated_tao_target_,
- CORBA::Boolean is_abstract,
- CORBA::Environment &ACE_TRY_ENV
- )
- ACE_THROW_SPEC ((
- CORBA::SystemException
- ))
-{
- TAO_Object_Adapter::Servant_Upcall servant_upcall (
- _collocated_tao_target_->_stubobj ()->servant_orb_var ()->orb_core ()
- );
- CORBA::Object_var forward_to;
- servant_upcall.prepare_for_upcall (
- _collocated_tao_target_->_object_key (),
- "is_abstract",
- forward_to.out (),
- ACE_TRY_ENV
- );
- ACE_CHECK;
- ACE_reinterpret_cast (
- POA_IR::ValueDef_ptr,
- servant_upcall.servant ()->_downcast (
- "IDL:omg.org/IR/ValueDef:1.0"
- )
- )->is_abstract (
- is_abstract,
- ACE_TRY_ENV
- );
- return;
-}
-
-CORBA::Boolean POA_IR::_TAO_ValueDef_ThruPOA_Proxy_Impl::is_custom (
- CORBA_Object *_collocated_tao_target_,
- CORBA::Environment &ACE_TRY_ENV
- )
- ACE_THROW_SPEC ((
- CORBA::SystemException
- ))
-{
- CORBA::Boolean _tao_retval = 0;
- ACE_UNUSED_ARG (_tao_retval);
- TAO_Object_Adapter::Servant_Upcall servant_upcall (
- _collocated_tao_target_->_stubobj ()->servant_orb_var ()->orb_core ()
- );
- CORBA::Object_var forward_to;
- servant_upcall.prepare_for_upcall (
- _collocated_tao_target_->_object_key (),
- "is_custom",
- forward_to.out (),
- ACE_TRY_ENV
- );
- ACE_CHECK_RETURN (_tao_retval);
- return ACE_reinterpret_cast (
- POA_IR::ValueDef_ptr,
- servant_upcall.servant ()->_downcast (
- "IDL:omg.org/IR/ValueDef:1.0"
- )
- )->is_custom (
- ACE_TRY_ENV
- );
-}
-
-void POA_IR::_TAO_ValueDef_ThruPOA_Proxy_Impl::is_custom (
- CORBA_Object *_collocated_tao_target_,
- CORBA::Boolean is_custom,
- CORBA::Environment &ACE_TRY_ENV
- )
- ACE_THROW_SPEC ((
- CORBA::SystemException
- ))
-{
- TAO_Object_Adapter::Servant_Upcall servant_upcall (
- _collocated_tao_target_->_stubobj ()->servant_orb_var ()->orb_core ()
- );
- CORBA::Object_var forward_to;
- servant_upcall.prepare_for_upcall (
- _collocated_tao_target_->_object_key (),
- "is_custom",
- forward_to.out (),
- ACE_TRY_ENV
- );
- ACE_CHECK;
- ACE_reinterpret_cast (
- POA_IR::ValueDef_ptr,
- servant_upcall.servant ()->_downcast (
- "IDL:omg.org/IR/ValueDef:1.0"
- )
- )->is_custom (
- is_custom,
- ACE_TRY_ENV
- );
- return;
-}
-
-CORBA::Boolean POA_IR::_TAO_ValueDef_ThruPOA_Proxy_Impl::is_truncatable (
- CORBA_Object *_collocated_tao_target_,
- CORBA::Environment &ACE_TRY_ENV
- )
- ACE_THROW_SPEC ((
- CORBA::SystemException
- ))
-{
- CORBA::Boolean _tao_retval = 0;
- ACE_UNUSED_ARG (_tao_retval);
- TAO_Object_Adapter::Servant_Upcall servant_upcall (
- _collocated_tao_target_->_stubobj ()->servant_orb_var ()->orb_core ()
- );
- CORBA::Object_var forward_to;
- servant_upcall.prepare_for_upcall (
- _collocated_tao_target_->_object_key (),
- "is_truncatable",
- forward_to.out (),
- ACE_TRY_ENV
- );
- ACE_CHECK_RETURN (_tao_retval);
- return ACE_reinterpret_cast (
- POA_IR::ValueDef_ptr,
- servant_upcall.servant ()->_downcast (
- "IDL:omg.org/IR/ValueDef:1.0"
- )
- )->is_truncatable (
- ACE_TRY_ENV
- );
-}
-
-void POA_IR::_TAO_ValueDef_ThruPOA_Proxy_Impl::is_truncatable (
- CORBA_Object *_collocated_tao_target_,
- CORBA::Boolean is_truncatable,
- CORBA::Environment &ACE_TRY_ENV
- )
- ACE_THROW_SPEC ((
- CORBA::SystemException
- ))
-{
- TAO_Object_Adapter::Servant_Upcall servant_upcall (
- _collocated_tao_target_->_stubobj ()->servant_orb_var ()->orb_core ()
- );
- CORBA::Object_var forward_to;
- servant_upcall.prepare_for_upcall (
- _collocated_tao_target_->_object_key (),
- "is_truncatable",
- forward_to.out (),
- ACE_TRY_ENV
- );
- ACE_CHECK;
- ACE_reinterpret_cast (
- POA_IR::ValueDef_ptr,
- servant_upcall.servant ()->_downcast (
- "IDL:omg.org/IR/ValueDef:1.0"
- )
- )->is_truncatable (
- is_truncatable,
- ACE_TRY_ENV
- );
- return;
-}
-
-CORBA::Boolean POA_IR::_TAO_ValueDef_ThruPOA_Proxy_Impl::is_a (
- CORBA_Object *_collocated_tao_target_,
- const char * id,
- CORBA::Environment &ACE_TRY_ENV
- )
- ACE_THROW_SPEC ((
- CORBA::SystemException
- ))
-{
- CORBA::Boolean _tao_retval = 0;
- ACE_UNUSED_ARG (_tao_retval);
- TAO_Object_Adapter::Servant_Upcall servant_upcall (
- _collocated_tao_target_->_stubobj ()->servant_orb_var ()->orb_core ()
- );
- CORBA::Object_var forward_to;
- servant_upcall.prepare_for_upcall (
- _collocated_tao_target_->_object_key (),
- "is_a",
- forward_to.out (),
- ACE_TRY_ENV
- );
- ACE_CHECK_RETURN (_tao_retval);
- return ACE_reinterpret_cast (
- POA_IR::ValueDef_ptr,
- servant_upcall.servant ()->_downcast (
- "IDL:omg.org/IR/ValueDef:1.0"
- )
- )->is_a (
- id,
- ACE_TRY_ENV
- );
-}
-
-IR_ValueMemberDef_ptr POA_IR::_TAO_ValueDef_ThruPOA_Proxy_Impl::create_value_member (
- CORBA_Object *_collocated_tao_target_,
- const char * id,
- const char * name,
- const char * version,
- IR_IDLType_ptr type,
- CORBA::Visibility access,
- CORBA::Environment &ACE_TRY_ENV
- )
- ACE_THROW_SPEC ((
- CORBA::SystemException
- ))
-{
- IR_ValueMemberDef_var _tao_retval;
- ACE_UNUSED_ARG (_tao_retval);
- TAO_Object_Adapter::Servant_Upcall servant_upcall (
- _collocated_tao_target_->_stubobj ()->servant_orb_var ()->orb_core ()
- );
- CORBA::Object_var forward_to;
- servant_upcall.prepare_for_upcall (
- _collocated_tao_target_->_object_key (),
- "create_value_member",
- forward_to.out (),
- ACE_TRY_ENV
- );
- ACE_CHECK_RETURN (0);
- return ACE_reinterpret_cast (
- POA_IR::ValueDef_ptr,
- servant_upcall.servant ()->_downcast (
- "IDL:omg.org/IR/ValueDef:1.0"
- )
- )->create_value_member (
- id,
- name,
- version,
- type,
- access,
- ACE_TRY_ENV
- );
-}
-
-IR_AttributeDef_ptr POA_IR::_TAO_ValueDef_ThruPOA_Proxy_Impl::create_attribute (
- CORBA_Object *_collocated_tao_target_,
- const char * id,
- const char * name,
- const char * version,
- IR_IDLType_ptr type,
- IR_AttributeMode mode,
- const IR_ExceptionDefSeq & get_exceptions,
- const IR_ExceptionDefSeq & put_exceptions,
- CORBA::Environment &ACE_TRY_ENV
- )
- ACE_THROW_SPEC ((
- CORBA::SystemException
- ))
-{
- IR_AttributeDef_var _tao_retval;
- ACE_UNUSED_ARG (_tao_retval);
- TAO_Object_Adapter::Servant_Upcall servant_upcall (
- _collocated_tao_target_->_stubobj ()->servant_orb_var ()->orb_core ()
- );
- CORBA::Object_var forward_to;
- servant_upcall.prepare_for_upcall (
- _collocated_tao_target_->_object_key (),
- "create_attribute",
- forward_to.out (),
- ACE_TRY_ENV
- );
- ACE_CHECK_RETURN (0);
- return ACE_reinterpret_cast (
- POA_IR::ValueDef_ptr,
- servant_upcall.servant ()->_downcast (
- "IDL:omg.org/IR/ValueDef:1.0"
- )
- )->create_attribute (
- id,
- name,
- version,
- type,
- mode,
- get_exceptions,
- put_exceptions,
- ACE_TRY_ENV
- );
-}
-
-IR_OperationDef_ptr POA_IR::_TAO_ValueDef_ThruPOA_Proxy_Impl::create_operation (
- CORBA_Object *_collocated_tao_target_,
- const char * id,
- const char * name,
- const char * version,
- IR_IDLType_ptr result,
- IR_OperationMode mode,
- const IR_ParDescriptionSeq & params,
- const IR_ExceptionDefSeq & exceptions,
- const IR_ContextIdSeq & contexts,
- CORBA::Environment &ACE_TRY_ENV
- )
- ACE_THROW_SPEC ((
- CORBA::SystemException
- ))
-{
- IR_OperationDef_var _tao_retval;
- ACE_UNUSED_ARG (_tao_retval);
- TAO_Object_Adapter::Servant_Upcall servant_upcall (
- _collocated_tao_target_->_stubobj ()->servant_orb_var ()->orb_core ()
- );
- CORBA::Object_var forward_to;
- servant_upcall.prepare_for_upcall (
- _collocated_tao_target_->_object_key (),
- "create_operation",
- forward_to.out (),
- ACE_TRY_ENV
- );
- ACE_CHECK_RETURN (0);
- return ACE_reinterpret_cast (
- POA_IR::ValueDef_ptr,
- servant_upcall.servant ()->_downcast (
- "IDL:omg.org/IR/ValueDef:1.0"
- )
- )->create_operation (
- id,
- name,
- version,
- result,
- mode,
- params,
- exceptions,
- contexts,
- ACE_TRY_ENV
- );
-}
-
-//
-// End ThruPOA Proxy Implementation
-///////////////////////////////////////////////////////////////////////
-
-// skeleton constructor
-POA_IR::ValueDef::ValueDef (void)
-{
- this->optable_ = &tao_IR_ValueDef_optable;
-}
-
-// copy ctor
-POA_IR::ValueDef::ValueDef (const ValueDef& rhs)
- : ACE_NESTED_CLASS (POA_IR,Container) (rhs),
- ACE_NESTED_CLASS (POA_IR,Contained) (rhs),
- ACE_NESTED_CLASS (POA_IR,IDLType) (rhs),
- POA_CORBA_IRObject (rhs),
- TAO_ServantBase (rhs)
-{}
-
-// skeleton destructor
-POA_IR::ValueDef::~ValueDef (void)
-{
-}
-
-void POA_IR::ValueDef::_get_supported_interfaces_skel (
- TAO_ServerRequest &_tao_server_request,
- void *_tao_object_reference,
- void * /* context */,
- CORBA::Environment &ACE_TRY_ENV
-)
-{
- POA_IR::ValueDef *_tao_impl = (POA_IR::ValueDef *)_tao_object_reference;
-
- IR_InterfaceDefSeq_var _tao_retval;
-
-#if (TAO_HAS_INTERCEPTORS == 1)
- TAO_ServerRequestInterceptor_Adapter _tao_vfr (
- _tao_server_request.orb_core ()->server_request_interceptors (),
- _tao_server_request.interceptor_count ()
- );
-
- POA_IR::ValueDef::TAO_ServerRequestInfo_IR_ValueDef_supported_interfaces_get ri (
- _tao_server_request,
- _tao_impl,
- ACE_TRY_ENV
- );
-
- ACE_TRY
- {
- _tao_vfr.receive_request (&ri, ACE_TRY_ENV);
- ACE_TRY_CHECK;
-
-#endif /* TAO_HAS_INTERCEPTORS */
- _tao_retval =
- _tao_impl->supported_interfaces (
- ACE_TRY_ENV
- );
- TAO_INTERCEPTOR_CHECK;
-
-#if (TAO_HAS_INTERCEPTORS == 1)
- IR_InterfaceDefSeq * _tao_retval_info = _tao_retval._retn ();
- ri.result (_tao_retval_info);
- _tao_retval = _tao_retval_info;
- ri.reply_status (PortableInterceptor::SUCCESSFUL);
- _tao_vfr.send_reply (&ri, ACE_TRY_ENV);
- ACE_TRY_CHECK;
- }
- ACE_CATCH (PortableInterceptor::ForwardRequest, exc)
- {
- ri.forward_reference (exc);
- _tao_vfr.send_other (
- &ri,
- ACE_TRY_ENV
- );
- ACE_TRY_CHECK;
- _tao_server_request.forward_location (exc.forward.in ());
- }
- ACE_CATCHANY
- {
- ri.exception (&ACE_ANY_EXCEPTION);
- _tao_vfr.send_exception (
- &ri,
- ACE_TRY_ENV
- );
- ACE_TRY_CHECK;
- ACE_RE_THROW;
- }
- ACE_ENDTRY;
- ACE_CHECK;
-#endif /* TAO_HAS_INTERCEPTORS */
-
- _tao_server_request.init_reply ();
-
- TAO_OutputCDR &_tao_out = _tao_server_request.outgoing ();
-
- if (!(
- (_tao_out << _tao_retval.in ())
- ))
- ACE_THROW (CORBA::MARSHAL());
-
- // In case ACE_TRY_ENV is not used in this function
- ACE_UNUSED_ARG (ACE_TRY_ENV);
-}
-
-void POA_IR::ValueDef::_set_supported_interfaces_skel (
- TAO_ServerRequest &_tao_server_request,
- void *_tao_object_reference,
- void * /* context */,
- CORBA::Environment &ACE_TRY_ENV
-)
-{
- TAO_InputCDR &_tao_in = _tao_server_request.incoming ();
- POA_IR::ValueDef *_tao_impl = (POA_IR::ValueDef *)_tao_object_reference;
-
- IR_InterfaceDefSeq supported_interfaces;
- if (!(
- (_tao_in >> supported_interfaces)
- ))
- ACE_THROW (CORBA::MARSHAL () );
-
-#if (TAO_HAS_INTERCEPTORS == 1)
- TAO_ServerRequestInterceptor_Adapter _tao_vfr (
- _tao_server_request.orb_core ()->server_request_interceptors (),
- _tao_server_request.interceptor_count ()
- );
-
- POA_IR::ValueDef::TAO_ServerRequestInfo_IR_ValueDef_supported_interfaces_set ri (
- _tao_server_request,
- _tao_impl,
- supported_interfaces,
- ACE_TRY_ENV
- );
-
- ACE_TRY
- {
- _tao_vfr.receive_request (&ri, ACE_TRY_ENV);
- ACE_TRY_CHECK;
-
-#endif /* TAO_HAS_INTERCEPTORS */
-
- _tao_impl->supported_interfaces (
- supported_interfaces,
- ACE_TRY_ENV
- );
- TAO_INTERCEPTOR_CHECK;
-
-#if (TAO_HAS_INTERCEPTORS == 1)
- ri.reply_status (PortableInterceptor::SUCCESSFUL);
- _tao_vfr.send_reply (&ri, ACE_TRY_ENV);
- ACE_TRY_CHECK;
- }
- ACE_CATCH (PortableInterceptor::ForwardRequest, exc)
- {
- ri.forward_reference (exc);
- _tao_vfr.send_other (
- &ri,
- ACE_TRY_ENV
- );
- ACE_TRY_CHECK;
- _tao_server_request.forward_location (exc.forward.in ());
- }
- ACE_CATCHANY
- {
- ri.exception (&ACE_ANY_EXCEPTION);
- _tao_vfr.send_exception (
- &ri,
- ACE_TRY_ENV
- );
- ACE_TRY_CHECK;
- ACE_RE_THROW;
- }
- ACE_ENDTRY;
- ACE_CHECK;
-#endif /* TAO_HAS_INTERCEPTORS */
-
- _tao_server_request.init_reply ();
-
- // In case ACE_TRY_ENV is not used in this function
- ACE_UNUSED_ARG (ACE_TRY_ENV);
-}
-
-void POA_IR::ValueDef::_get_initializers_skel (
- TAO_ServerRequest &_tao_server_request,
- void *_tao_object_reference,
- void * /* context */,
- CORBA::Environment &ACE_TRY_ENV
-)
-{
- POA_IR::ValueDef *_tao_impl = (POA_IR::ValueDef *)_tao_object_reference;
-
- IR_InitializerSeq_var _tao_retval;
-
-#if (TAO_HAS_INTERCEPTORS == 1)
- TAO_ServerRequestInterceptor_Adapter _tao_vfr (
- _tao_server_request.orb_core ()->server_request_interceptors (),
- _tao_server_request.interceptor_count ()
- );
-
- POA_IR::ValueDef::TAO_ServerRequestInfo_IR_ValueDef_initializers_get ri (
- _tao_server_request,
- _tao_impl,
- ACE_TRY_ENV
- );
-
- ACE_TRY
- {
- _tao_vfr.receive_request (&ri, ACE_TRY_ENV);
- ACE_TRY_CHECK;
-
-#endif /* TAO_HAS_INTERCEPTORS */
- _tao_retval =
- _tao_impl->initializers (
- ACE_TRY_ENV
- );
- TAO_INTERCEPTOR_CHECK;
-
-#if (TAO_HAS_INTERCEPTORS == 1)
- IR_InitializerSeq * _tao_retval_info = _tao_retval._retn ();
- ri.result (_tao_retval_info);
- _tao_retval = _tao_retval_info;
- ri.reply_status (PortableInterceptor::SUCCESSFUL);
- _tao_vfr.send_reply (&ri, ACE_TRY_ENV);
- ACE_TRY_CHECK;
- }
- ACE_CATCH (PortableInterceptor::ForwardRequest, exc)
- {
- ri.forward_reference (exc);
- _tao_vfr.send_other (
- &ri,
- ACE_TRY_ENV
- );
- ACE_TRY_CHECK;
- _tao_server_request.forward_location (exc.forward.in ());
- }
- ACE_CATCHANY
- {
- ri.exception (&ACE_ANY_EXCEPTION);
- _tao_vfr.send_exception (
- &ri,
- ACE_TRY_ENV
- );
- ACE_TRY_CHECK;
- ACE_RE_THROW;
- }
- ACE_ENDTRY;
- ACE_CHECK;
-#endif /* TAO_HAS_INTERCEPTORS */
-
- _tao_server_request.init_reply ();
-
- TAO_OutputCDR &_tao_out = _tao_server_request.outgoing ();
-
- if (!(
- (_tao_out << _tao_retval.in ())
- ))
- ACE_THROW (CORBA::MARSHAL());
-
- // In case ACE_TRY_ENV is not used in this function
- ACE_UNUSED_ARG (ACE_TRY_ENV);
-}
-
-void POA_IR::ValueDef::_set_initializers_skel (
- TAO_ServerRequest &_tao_server_request,
- void *_tao_object_reference,
- void * /* context */,
- CORBA::Environment &ACE_TRY_ENV
-)
-{
- TAO_InputCDR &_tao_in = _tao_server_request.incoming ();
- POA_IR::ValueDef *_tao_impl = (POA_IR::ValueDef *)_tao_object_reference;
-
- IR_InitializerSeq initializers;
- if (!(
- (_tao_in >> initializers)
- ))
- ACE_THROW (CORBA::MARSHAL () );
-
-#if (TAO_HAS_INTERCEPTORS == 1)
- TAO_ServerRequestInterceptor_Adapter _tao_vfr (
- _tao_server_request.orb_core ()->server_request_interceptors (),
- _tao_server_request.interceptor_count ()
- );
-
- POA_IR::ValueDef::TAO_ServerRequestInfo_IR_ValueDef_initializers_set ri (
- _tao_server_request,
- _tao_impl,
- initializers,
- ACE_TRY_ENV
- );
-
- ACE_TRY
- {
- _tao_vfr.receive_request (&ri, ACE_TRY_ENV);
- ACE_TRY_CHECK;
-
-#endif /* TAO_HAS_INTERCEPTORS */
-
- _tao_impl->initializers (
- initializers,
- ACE_TRY_ENV
- );
- TAO_INTERCEPTOR_CHECK;
-
-#if (TAO_HAS_INTERCEPTORS == 1)
- ri.reply_status (PortableInterceptor::SUCCESSFUL);
- _tao_vfr.send_reply (&ri, ACE_TRY_ENV);
- ACE_TRY_CHECK;
- }
- ACE_CATCH (PortableInterceptor::ForwardRequest, exc)
- {
- ri.forward_reference (exc);
- _tao_vfr.send_other (
- &ri,
- ACE_TRY_ENV
- );
- ACE_TRY_CHECK;
- _tao_server_request.forward_location (exc.forward.in ());
- }
- ACE_CATCHANY
- {
- ri.exception (&ACE_ANY_EXCEPTION);
- _tao_vfr.send_exception (
- &ri,
- ACE_TRY_ENV
- );
- ACE_TRY_CHECK;
- ACE_RE_THROW;
- }
- ACE_ENDTRY;
- ACE_CHECK;
-#endif /* TAO_HAS_INTERCEPTORS */
-
- _tao_server_request.init_reply ();
-
- // In case ACE_TRY_ENV is not used in this function
- ACE_UNUSED_ARG (ACE_TRY_ENV);
-}
-
-void POA_IR::ValueDef::_get_base_value_skel (
- TAO_ServerRequest &_tao_server_request,
- void *_tao_object_reference,
- void * /* context */,
- CORBA::Environment &ACE_TRY_ENV
-)
-{
- POA_IR::ValueDef *_tao_impl = (POA_IR::ValueDef *)_tao_object_reference;
-
- IR_ValueDef_var _tao_retval;
-
-#if (TAO_HAS_INTERCEPTORS == 1)
- TAO_ServerRequestInterceptor_Adapter _tao_vfr (
- _tao_server_request.orb_core ()->server_request_interceptors (),
- _tao_server_request.interceptor_count ()
- );
-
- POA_IR::ValueDef::TAO_ServerRequestInfo_IR_ValueDef_base_value_get ri (
- _tao_server_request,
- _tao_impl,
- ACE_TRY_ENV
- );
-
- ACE_TRY
- {
- _tao_vfr.receive_request (&ri, ACE_TRY_ENV);
- ACE_TRY_CHECK;
-
-#endif /* TAO_HAS_INTERCEPTORS */
- _tao_retval =
- _tao_impl->base_value (
- ACE_TRY_ENV
- );
- TAO_INTERCEPTOR_CHECK;
-
-#if (TAO_HAS_INTERCEPTORS == 1)
- IR_ValueDef_ptr _tao_retval_info = _tao_retval._retn ();
- ri.result (_tao_retval_info);
- _tao_retval = _tao_retval_info;
- ri.reply_status (PortableInterceptor::SUCCESSFUL);
- _tao_vfr.send_reply (&ri, ACE_TRY_ENV);
- ACE_TRY_CHECK;
- }
- ACE_CATCH (PortableInterceptor::ForwardRequest, exc)
- {
- ri.forward_reference (exc);
- _tao_vfr.send_other (
- &ri,
- ACE_TRY_ENV
- );
- ACE_TRY_CHECK;
- _tao_server_request.forward_location (exc.forward.in ());
- }
- ACE_CATCHANY
- {
- ri.exception (&ACE_ANY_EXCEPTION);
- _tao_vfr.send_exception (
- &ri,
- ACE_TRY_ENV
- );
- ACE_TRY_CHECK;
- ACE_RE_THROW;
- }
- ACE_ENDTRY;
- ACE_CHECK;
-#endif /* TAO_HAS_INTERCEPTORS */
-
- _tao_server_request.init_reply ();
-
- TAO_OutputCDR &_tao_out = _tao_server_request.outgoing ();
-
- if (!(
- (_tao_out << _tao_retval.in ())
- ))
- ACE_THROW (CORBA::MARSHAL());
-
- // In case ACE_TRY_ENV is not used in this function
- ACE_UNUSED_ARG (ACE_TRY_ENV);
-}
-
-void POA_IR::ValueDef::_set_base_value_skel (
- TAO_ServerRequest &_tao_server_request,
- void *_tao_object_reference,
- void * /* context */,
- CORBA::Environment &ACE_TRY_ENV
-)
-{
- TAO_InputCDR &_tao_in = _tao_server_request.incoming ();
- POA_IR::ValueDef *_tao_impl = (POA_IR::ValueDef *)_tao_object_reference;
-
- IR_ValueDef_var base_value;
- if (!(
- (_tao_in >> base_value.out ())
- ))
- ACE_THROW (CORBA::MARSHAL () );
-
-#if (TAO_HAS_INTERCEPTORS == 1)
- TAO_ServerRequestInterceptor_Adapter _tao_vfr (
- _tao_server_request.orb_core ()->server_request_interceptors (),
- _tao_server_request.interceptor_count ()
- );
-
- POA_IR::ValueDef::TAO_ServerRequestInfo_IR_ValueDef_base_value_set ri (
- _tao_server_request,
- _tao_impl,
- base_value.in (),
- ACE_TRY_ENV
- );
-
- ACE_TRY
- {
- _tao_vfr.receive_request (&ri, ACE_TRY_ENV);
- ACE_TRY_CHECK;
-
-#endif /* TAO_HAS_INTERCEPTORS */
-
- _tao_impl->base_value (
- base_value.in (),
- ACE_TRY_ENV
- );
- TAO_INTERCEPTOR_CHECK;
-
-#if (TAO_HAS_INTERCEPTORS == 1)
- ri.reply_status (PortableInterceptor::SUCCESSFUL);
- _tao_vfr.send_reply (&ri, ACE_TRY_ENV);
- ACE_TRY_CHECK;
- }
- ACE_CATCH (PortableInterceptor::ForwardRequest, exc)
- {
- ri.forward_reference (exc);
- _tao_vfr.send_other (
- &ri,
- ACE_TRY_ENV
- );
- ACE_TRY_CHECK;
- _tao_server_request.forward_location (exc.forward.in ());
- }
- ACE_CATCHANY
- {
- ri.exception (&ACE_ANY_EXCEPTION);
- _tao_vfr.send_exception (
- &ri,
- ACE_TRY_ENV
- );
- ACE_TRY_CHECK;
- ACE_RE_THROW;
- }
- ACE_ENDTRY;
- ACE_CHECK;
-#endif /* TAO_HAS_INTERCEPTORS */
-
- _tao_server_request.init_reply ();
-
- // In case ACE_TRY_ENV is not used in this function
- ACE_UNUSED_ARG (ACE_TRY_ENV);
-}
-
-void POA_IR::ValueDef::_get_abstract_base_values_skel (
- TAO_ServerRequest &_tao_server_request,
- void *_tao_object_reference,
- void * /* context */,
- CORBA::Environment &ACE_TRY_ENV
-)
-{
- POA_IR::ValueDef *_tao_impl = (POA_IR::ValueDef *)_tao_object_reference;
-
- IR_ValueDefSeq_var _tao_retval;
-
-#if (TAO_HAS_INTERCEPTORS == 1)
- TAO_ServerRequestInterceptor_Adapter _tao_vfr (
- _tao_server_request.orb_core ()->server_request_interceptors (),
- _tao_server_request.interceptor_count ()
- );
-
- POA_IR::ValueDef::TAO_ServerRequestInfo_IR_ValueDef_abstract_base_values_get ri (
- _tao_server_request,
- _tao_impl,
- ACE_TRY_ENV
- );
-
- ACE_TRY
- {
- _tao_vfr.receive_request (&ri, ACE_TRY_ENV);
- ACE_TRY_CHECK;
-
-#endif /* TAO_HAS_INTERCEPTORS */
- _tao_retval =
- _tao_impl->abstract_base_values (
- ACE_TRY_ENV
- );
- TAO_INTERCEPTOR_CHECK;
-
-#if (TAO_HAS_INTERCEPTORS == 1)
- IR_ValueDefSeq * _tao_retval_info = _tao_retval._retn ();
- ri.result (_tao_retval_info);
- _tao_retval = _tao_retval_info;
- ri.reply_status (PortableInterceptor::SUCCESSFUL);
- _tao_vfr.send_reply (&ri, ACE_TRY_ENV);
- ACE_TRY_CHECK;
- }
- ACE_CATCH (PortableInterceptor::ForwardRequest, exc)
- {
- ri.forward_reference (exc);
- _tao_vfr.send_other (
- &ri,
- ACE_TRY_ENV
- );
- ACE_TRY_CHECK;
- _tao_server_request.forward_location (exc.forward.in ());
- }
- ACE_CATCHANY
- {
- ri.exception (&ACE_ANY_EXCEPTION);
- _tao_vfr.send_exception (
- &ri,
- ACE_TRY_ENV
- );
- ACE_TRY_CHECK;
- ACE_RE_THROW;
- }
- ACE_ENDTRY;
- ACE_CHECK;
-#endif /* TAO_HAS_INTERCEPTORS */
-
- _tao_server_request.init_reply ();
-
- TAO_OutputCDR &_tao_out = _tao_server_request.outgoing ();
-
- if (!(
- (_tao_out << _tao_retval.in ())
- ))
- ACE_THROW (CORBA::MARSHAL());
-
- // In case ACE_TRY_ENV is not used in this function
- ACE_UNUSED_ARG (ACE_TRY_ENV);
-}
-
-void POA_IR::ValueDef::_set_abstract_base_values_skel (
- TAO_ServerRequest &_tao_server_request,
- void *_tao_object_reference,
- void * /* context */,
- CORBA::Environment &ACE_TRY_ENV
-)
-{
- TAO_InputCDR &_tao_in = _tao_server_request.incoming ();
- POA_IR::ValueDef *_tao_impl = (POA_IR::ValueDef *)_tao_object_reference;
-
- IR_ValueDefSeq abstract_base_values;
- if (!(
- (_tao_in >> abstract_base_values)
- ))
- ACE_THROW (CORBA::MARSHAL () );
-
-#if (TAO_HAS_INTERCEPTORS == 1)
- TAO_ServerRequestInterceptor_Adapter _tao_vfr (
- _tao_server_request.orb_core ()->server_request_interceptors (),
- _tao_server_request.interceptor_count ()
- );
-
- POA_IR::ValueDef::TAO_ServerRequestInfo_IR_ValueDef_abstract_base_values_set ri (
- _tao_server_request,
- _tao_impl,
- abstract_base_values,
- ACE_TRY_ENV
- );
-
- ACE_TRY
- {
- _tao_vfr.receive_request (&ri, ACE_TRY_ENV);
- ACE_TRY_CHECK;
-
-#endif /* TAO_HAS_INTERCEPTORS */
-
- _tao_impl->abstract_base_values (
- abstract_base_values,
- ACE_TRY_ENV
- );
- TAO_INTERCEPTOR_CHECK;
-
-#if (TAO_HAS_INTERCEPTORS == 1)
- ri.reply_status (PortableInterceptor::SUCCESSFUL);
- _tao_vfr.send_reply (&ri, ACE_TRY_ENV);
- ACE_TRY_CHECK;
- }
- ACE_CATCH (PortableInterceptor::ForwardRequest, exc)
- {
- ri.forward_reference (exc);
- _tao_vfr.send_other (
- &ri,
- ACE_TRY_ENV
- );
- ACE_TRY_CHECK;
- _tao_server_request.forward_location (exc.forward.in ());
- }
- ACE_CATCHANY
- {
- ri.exception (&ACE_ANY_EXCEPTION);
- _tao_vfr.send_exception (
- &ri,
- ACE_TRY_ENV
- );
- ACE_TRY_CHECK;
- ACE_RE_THROW;
- }
- ACE_ENDTRY;
- ACE_CHECK;
-#endif /* TAO_HAS_INTERCEPTORS */
-
- _tao_server_request.init_reply ();
-
- // In case ACE_TRY_ENV is not used in this function
- ACE_UNUSED_ARG (ACE_TRY_ENV);
-}
-
-void POA_IR::ValueDef::_get_is_abstract_skel (
- TAO_ServerRequest &_tao_server_request,
- void *_tao_object_reference,
- void * /* context */,
- CORBA::Environment &ACE_TRY_ENV
-)
-{
- POA_IR::ValueDef *_tao_impl = (POA_IR::ValueDef *)_tao_object_reference;
-
- CORBA::Boolean _tao_retval = 0;
-
-#if (TAO_HAS_INTERCEPTORS == 1)
- TAO_ServerRequestInterceptor_Adapter _tao_vfr (
- _tao_server_request.orb_core ()->server_request_interceptors (),
- _tao_server_request.interceptor_count ()
- );
-
- POA_IR::ValueDef::TAO_ServerRequestInfo_IR_ValueDef_is_abstract_get ri (
- _tao_server_request,
- _tao_impl,
- ACE_TRY_ENV
- );
-
- ACE_TRY
- {
- _tao_vfr.receive_request (&ri, ACE_TRY_ENV);
- ACE_TRY_CHECK;
-
-#endif /* TAO_HAS_INTERCEPTORS */
- _tao_retval =
- _tao_impl->is_abstract (
- ACE_TRY_ENV
- );
- TAO_INTERCEPTOR_CHECK;
-
-#if (TAO_HAS_INTERCEPTORS == 1)
- CORBA::Boolean _tao_retval_info = _tao_retval;
- ri.result (_tao_retval_info);
- ri.reply_status (PortableInterceptor::SUCCESSFUL);
- _tao_vfr.send_reply (&ri, ACE_TRY_ENV);
- ACE_TRY_CHECK;
- }
- ACE_CATCH (PortableInterceptor::ForwardRequest, exc)
- {
- ri.forward_reference (exc);
- _tao_vfr.send_other (
- &ri,
- ACE_TRY_ENV
- );
- ACE_TRY_CHECK;
- _tao_server_request.forward_location (exc.forward.in ());
- }
- ACE_CATCHANY
- {
- ri.exception (&ACE_ANY_EXCEPTION);
- _tao_vfr.send_exception (
- &ri,
- ACE_TRY_ENV
- );
- ACE_TRY_CHECK;
- ACE_RE_THROW;
- }
- ACE_ENDTRY;
- ACE_CHECK;
-#endif /* TAO_HAS_INTERCEPTORS */
-
- _tao_server_request.init_reply ();
-
- TAO_OutputCDR &_tao_out = _tao_server_request.outgoing ();
-
- if (!(
- (_tao_out << CORBA::Any::from_boolean (_tao_retval))
- ))
- ACE_THROW (CORBA::MARSHAL());
-
- // In case ACE_TRY_ENV is not used in this function
- ACE_UNUSED_ARG (ACE_TRY_ENV);
-}
-
-void POA_IR::ValueDef::_set_is_abstract_skel (
- TAO_ServerRequest &_tao_server_request,
- void *_tao_object_reference,
- void * /* context */,
- CORBA::Environment &ACE_TRY_ENV
-)
-{
- TAO_InputCDR &_tao_in = _tao_server_request.incoming ();
- POA_IR::ValueDef *_tao_impl = (POA_IR::ValueDef *)_tao_object_reference;
-
- CORBA::Boolean is_abstract;
- if (!(
- (_tao_in >> CORBA::Any::to_boolean (is_abstract))
- ))
- ACE_THROW (CORBA::MARSHAL () );
-
-#if (TAO_HAS_INTERCEPTORS == 1)
- TAO_ServerRequestInterceptor_Adapter _tao_vfr (
- _tao_server_request.orb_core ()->server_request_interceptors (),
- _tao_server_request.interceptor_count ()
- );
-
- POA_IR::ValueDef::TAO_ServerRequestInfo_IR_ValueDef_is_abstract_set ri (
- _tao_server_request,
- _tao_impl,
- is_abstract,
- ACE_TRY_ENV
- );
-
- ACE_TRY
- {
- _tao_vfr.receive_request (&ri, ACE_TRY_ENV);
- ACE_TRY_CHECK;
-
-#endif /* TAO_HAS_INTERCEPTORS */
-
- _tao_impl->is_abstract (
- is_abstract,
- ACE_TRY_ENV
- );
- TAO_INTERCEPTOR_CHECK;
-
-#if (TAO_HAS_INTERCEPTORS == 1)
- ri.reply_status (PortableInterceptor::SUCCESSFUL);
- _tao_vfr.send_reply (&ri, ACE_TRY_ENV);
- ACE_TRY_CHECK;
- }
- ACE_CATCH (PortableInterceptor::ForwardRequest, exc)
- {
- ri.forward_reference (exc);
- _tao_vfr.send_other (
- &ri,
- ACE_TRY_ENV
- );
- ACE_TRY_CHECK;
- _tao_server_request.forward_location (exc.forward.in ());
- }
- ACE_CATCHANY
- {
- ri.exception (&ACE_ANY_EXCEPTION);
- _tao_vfr.send_exception (
- &ri,
- ACE_TRY_ENV
- );
- ACE_TRY_CHECK;
- ACE_RE_THROW;
- }
- ACE_ENDTRY;
- ACE_CHECK;
-#endif /* TAO_HAS_INTERCEPTORS */
-
- _tao_server_request.init_reply ();
-
- // In case ACE_TRY_ENV is not used in this function
- ACE_UNUSED_ARG (ACE_TRY_ENV);
-}
-
-void POA_IR::ValueDef::_get_is_custom_skel (
- TAO_ServerRequest &_tao_server_request,
- void *_tao_object_reference,
- void * /* context */,
- CORBA::Environment &ACE_TRY_ENV
-)
-{
- POA_IR::ValueDef *_tao_impl = (POA_IR::ValueDef *)_tao_object_reference;
-
- CORBA::Boolean _tao_retval = 0;
-
-#if (TAO_HAS_INTERCEPTORS == 1)
- TAO_ServerRequestInterceptor_Adapter _tao_vfr (
- _tao_server_request.orb_core ()->server_request_interceptors (),
- _tao_server_request.interceptor_count ()
- );
-
- POA_IR::ValueDef::TAO_ServerRequestInfo_IR_ValueDef_is_custom_get ri (
- _tao_server_request,
- _tao_impl,
- ACE_TRY_ENV
- );
-
- ACE_TRY
- {
- _tao_vfr.receive_request (&ri, ACE_TRY_ENV);
- ACE_TRY_CHECK;
-
-#endif /* TAO_HAS_INTERCEPTORS */
- _tao_retval =
- _tao_impl->is_custom (
- ACE_TRY_ENV
- );
- TAO_INTERCEPTOR_CHECK;
-
-#if (TAO_HAS_INTERCEPTORS == 1)
- CORBA::Boolean _tao_retval_info = _tao_retval;
- ri.result (_tao_retval_info);
- ri.reply_status (PortableInterceptor::SUCCESSFUL);
- _tao_vfr.send_reply (&ri, ACE_TRY_ENV);
- ACE_TRY_CHECK;
- }
- ACE_CATCH (PortableInterceptor::ForwardRequest, exc)
- {
- ri.forward_reference (exc);
- _tao_vfr.send_other (
- &ri,
- ACE_TRY_ENV
- );
- ACE_TRY_CHECK;
- _tao_server_request.forward_location (exc.forward.in ());
- }
- ACE_CATCHANY
- {
- ri.exception (&ACE_ANY_EXCEPTION);
- _tao_vfr.send_exception (
- &ri,
- ACE_TRY_ENV
- );
- ACE_TRY_CHECK;
- ACE_RE_THROW;
- }
- ACE_ENDTRY;
- ACE_CHECK;
-#endif /* TAO_HAS_INTERCEPTORS */
-
- _tao_server_request.init_reply ();
-
- TAO_OutputCDR &_tao_out = _tao_server_request.outgoing ();
-
- if (!(
- (_tao_out << CORBA::Any::from_boolean (_tao_retval))
- ))
- ACE_THROW (CORBA::MARSHAL());
-
- // In case ACE_TRY_ENV is not used in this function
- ACE_UNUSED_ARG (ACE_TRY_ENV);
-}
-
-void POA_IR::ValueDef::_set_is_custom_skel (
- TAO_ServerRequest &_tao_server_request,
- void *_tao_object_reference,
- void * /* context */,
- CORBA::Environment &ACE_TRY_ENV
-)
-{
- TAO_InputCDR &_tao_in = _tao_server_request.incoming ();
- POA_IR::ValueDef *_tao_impl = (POA_IR::ValueDef *)_tao_object_reference;
-
- CORBA::Boolean is_custom;
- if (!(
- (_tao_in >> CORBA::Any::to_boolean (is_custom))
- ))
- ACE_THROW (CORBA::MARSHAL () );
-
-#if (TAO_HAS_INTERCEPTORS == 1)
- TAO_ServerRequestInterceptor_Adapter _tao_vfr (
- _tao_server_request.orb_core ()->server_request_interceptors (),
- _tao_server_request.interceptor_count ()
- );
-
- POA_IR::ValueDef::TAO_ServerRequestInfo_IR_ValueDef_is_custom_set ri (
- _tao_server_request,
- _tao_impl,
- is_custom,
- ACE_TRY_ENV
- );
-
- ACE_TRY
- {
- _tao_vfr.receive_request (&ri, ACE_TRY_ENV);
- ACE_TRY_CHECK;
-
-#endif /* TAO_HAS_INTERCEPTORS */
-
- _tao_impl->is_custom (
- is_custom,
- ACE_TRY_ENV
- );
- TAO_INTERCEPTOR_CHECK;
-
-#if (TAO_HAS_INTERCEPTORS == 1)
- ri.reply_status (PortableInterceptor::SUCCESSFUL);
- _tao_vfr.send_reply (&ri, ACE_TRY_ENV);
- ACE_TRY_CHECK;
- }
- ACE_CATCH (PortableInterceptor::ForwardRequest, exc)
- {
- ri.forward_reference (exc);
- _tao_vfr.send_other (
- &ri,
- ACE_TRY_ENV
- );
- ACE_TRY_CHECK;
- _tao_server_request.forward_location (exc.forward.in ());
- }
- ACE_CATCHANY
- {
- ri.exception (&ACE_ANY_EXCEPTION);
- _tao_vfr.send_exception (
- &ri,
- ACE_TRY_ENV
- );
- ACE_TRY_CHECK;
- ACE_RE_THROW;
- }
- ACE_ENDTRY;
- ACE_CHECK;
-#endif /* TAO_HAS_INTERCEPTORS */
-
- _tao_server_request.init_reply ();
-
- // In case ACE_TRY_ENV is not used in this function
- ACE_UNUSED_ARG (ACE_TRY_ENV);
-}
-
-void POA_IR::ValueDef::_get_is_truncatable_skel (
- TAO_ServerRequest &_tao_server_request,
- void *_tao_object_reference,
- void * /* context */,
- CORBA::Environment &ACE_TRY_ENV
-)
-{
- POA_IR::ValueDef *_tao_impl = (POA_IR::ValueDef *)_tao_object_reference;
-
- CORBA::Boolean _tao_retval = 0;
-
-#if (TAO_HAS_INTERCEPTORS == 1)
- TAO_ServerRequestInterceptor_Adapter _tao_vfr (
- _tao_server_request.orb_core ()->server_request_interceptors (),
- _tao_server_request.interceptor_count ()
- );
-
- POA_IR::ValueDef::TAO_ServerRequestInfo_IR_ValueDef_is_truncatable_get ri (
- _tao_server_request,
- _tao_impl,
- ACE_TRY_ENV
- );
-
- ACE_TRY
- {
- _tao_vfr.receive_request (&ri, ACE_TRY_ENV);
- ACE_TRY_CHECK;
-
-#endif /* TAO_HAS_INTERCEPTORS */
- _tao_retval =
- _tao_impl->is_truncatable (
- ACE_TRY_ENV
- );
- TAO_INTERCEPTOR_CHECK;
-
-#if (TAO_HAS_INTERCEPTORS == 1)
- CORBA::Boolean _tao_retval_info = _tao_retval;
- ri.result (_tao_retval_info);
- ri.reply_status (PortableInterceptor::SUCCESSFUL);
- _tao_vfr.send_reply (&ri, ACE_TRY_ENV);
- ACE_TRY_CHECK;
- }
- ACE_CATCH (PortableInterceptor::ForwardRequest, exc)
- {
- ri.forward_reference (exc);
- _tao_vfr.send_other (
- &ri,
- ACE_TRY_ENV
- );
- ACE_TRY_CHECK;
- _tao_server_request.forward_location (exc.forward.in ());
- }
- ACE_CATCHANY
- {
- ri.exception (&ACE_ANY_EXCEPTION);
- _tao_vfr.send_exception (
- &ri,
- ACE_TRY_ENV
- );
- ACE_TRY_CHECK;
- ACE_RE_THROW;
- }
- ACE_ENDTRY;
- ACE_CHECK;
-#endif /* TAO_HAS_INTERCEPTORS */
-
- _tao_server_request.init_reply ();
-
- TAO_OutputCDR &_tao_out = _tao_server_request.outgoing ();
-
- if (!(
- (_tao_out << CORBA::Any::from_boolean (_tao_retval))
- ))
- ACE_THROW (CORBA::MARSHAL());
-
- // In case ACE_TRY_ENV is not used in this function
- ACE_UNUSED_ARG (ACE_TRY_ENV);
-}
-
-void POA_IR::ValueDef::_set_is_truncatable_skel (
- TAO_ServerRequest &_tao_server_request,
- void *_tao_object_reference,
- void * /* context */,
- CORBA::Environment &ACE_TRY_ENV
-)
-{
- TAO_InputCDR &_tao_in = _tao_server_request.incoming ();
- POA_IR::ValueDef *_tao_impl = (POA_IR::ValueDef *)_tao_object_reference;
-
- CORBA::Boolean is_truncatable;
- if (!(
- (_tao_in >> CORBA::Any::to_boolean (is_truncatable))
- ))
- ACE_THROW (CORBA::MARSHAL () );
-
-#if (TAO_HAS_INTERCEPTORS == 1)
- TAO_ServerRequestInterceptor_Adapter _tao_vfr (
- _tao_server_request.orb_core ()->server_request_interceptors (),
- _tao_server_request.interceptor_count ()
- );
-
- POA_IR::ValueDef::TAO_ServerRequestInfo_IR_ValueDef_is_truncatable_set ri (
- _tao_server_request,
- _tao_impl,
- is_truncatable,
- ACE_TRY_ENV
- );
-
- ACE_TRY
- {
- _tao_vfr.receive_request (&ri, ACE_TRY_ENV);
- ACE_TRY_CHECK;
-
-#endif /* TAO_HAS_INTERCEPTORS */
-
- _tao_impl->is_truncatable (
- is_truncatable,
- ACE_TRY_ENV
- );
- TAO_INTERCEPTOR_CHECK;
-
-#if (TAO_HAS_INTERCEPTORS == 1)
- ri.reply_status (PortableInterceptor::SUCCESSFUL);
- _tao_vfr.send_reply (&ri, ACE_TRY_ENV);
- ACE_TRY_CHECK;
- }
- ACE_CATCH (PortableInterceptor::ForwardRequest, exc)
- {
- ri.forward_reference (exc);
- _tao_vfr.send_other (
- &ri,
- ACE_TRY_ENV
- );
- ACE_TRY_CHECK;
- _tao_server_request.forward_location (exc.forward.in ());
- }
- ACE_CATCHANY
- {
- ri.exception (&ACE_ANY_EXCEPTION);
- _tao_vfr.send_exception (
- &ri,
- ACE_TRY_ENV
- );
- ACE_TRY_CHECK;
- ACE_RE_THROW;
- }
- ACE_ENDTRY;
- ACE_CHECK;
-#endif /* TAO_HAS_INTERCEPTORS */
-
- _tao_server_request.init_reply ();
-
- // In case ACE_TRY_ENV is not used in this function
- ACE_UNUSED_ARG (ACE_TRY_ENV);
-}
-
-void POA_IR::ValueDef::is_a_skel (
- TAO_ServerRequest &_tao_server_request,
- void *_tao_object_reference,
- void * /* context */,
- CORBA::Environment &ACE_TRY_ENV
-)
-{
- TAO_InputCDR &_tao_in = _tao_server_request.incoming ();
- POA_IR::ValueDef *_tao_impl = (POA_IR::ValueDef *)_tao_object_reference;
-
- CORBA::Boolean _tao_retval = 0;
- CORBA::String_var id;
- if (!(
- (_tao_in >> id.out ())
- ))
- ACE_THROW (CORBA::MARSHAL () );
-
-#if (TAO_HAS_INTERCEPTORS == 1)
- TAO_ServerRequestInterceptor_Adapter _tao_vfr (
- _tao_server_request.orb_core ()->server_request_interceptors (),
- _tao_server_request.interceptor_count ()
- );
-
- POA_IR::ValueDef::TAO_ServerRequestInfo_IR_ValueDef_is_a ri (
- _tao_server_request,
- _tao_impl,
- id.in (),
- ACE_TRY_ENV
- );
-
- ACE_TRY
- {
- _tao_vfr.receive_request (&ri, ACE_TRY_ENV);
- ACE_TRY_CHECK;
-
-#endif /* TAO_HAS_INTERCEPTORS */
- _tao_retval =
- _tao_impl->is_a (
- id.in (),
- ACE_TRY_ENV
- );
- TAO_INTERCEPTOR_CHECK;
-
-#if (TAO_HAS_INTERCEPTORS == 1)
- CORBA::Boolean _tao_retval_info = _tao_retval;
- ri.result (_tao_retval_info);
- ri.reply_status (PortableInterceptor::SUCCESSFUL);
- _tao_vfr.send_reply (&ri, ACE_TRY_ENV);
- ACE_TRY_CHECK;
- }
- ACE_CATCH (PortableInterceptor::ForwardRequest, exc)
- {
- ri.forward_reference (exc);
- _tao_vfr.send_other (
- &ri,
- ACE_TRY_ENV
- );
- ACE_TRY_CHECK;
- _tao_server_request.forward_location (exc.forward.in ());
- }
- ACE_CATCHANY
- {
- ri.exception (&ACE_ANY_EXCEPTION);
- _tao_vfr.send_exception (
- &ri,
- ACE_TRY_ENV
- );
- ACE_TRY_CHECK;
- ACE_RE_THROW;
- }
- ACE_ENDTRY;
- ACE_CHECK;
-#endif /* TAO_HAS_INTERCEPTORS */
-
- _tao_server_request.init_reply ();
-
- TAO_OutputCDR &_tao_out = _tao_server_request.outgoing ();
-
- if (!(
- (_tao_out << CORBA::Any::from_boolean (_tao_retval))
- ))
- ACE_THROW (CORBA::MARSHAL());
-
- // In case ACE_TRY_ENV is not used in this function
- ACE_UNUSED_ARG (ACE_TRY_ENV);
-}
-
-void POA_IR::ValueDef::create_value_member_skel (
- TAO_ServerRequest &_tao_server_request,
- void *_tao_object_reference,
- void * /* context */,
- CORBA::Environment &ACE_TRY_ENV
-)
-{
- TAO_InputCDR &_tao_in = _tao_server_request.incoming ();
- POA_IR::ValueDef *_tao_impl = (POA_IR::ValueDef *)_tao_object_reference;
-
- IR_ValueMemberDef_var _tao_retval;
- CORBA::String_var id;
- CORBA::String_var name;
- CORBA::String_var version;
- IR_IDLType_var type;
- CORBA::Visibility access;
- if (!(
- (_tao_in >> id.out ()) &&
- (_tao_in >> name.out ()) &&
- (_tao_in >> version.out ()) &&
- (_tao_in >> type.out ()) &&
- (_tao_in >> access)
- ))
- ACE_THROW (CORBA::MARSHAL () );
-
-#if (TAO_HAS_INTERCEPTORS == 1)
- TAO_ServerRequestInterceptor_Adapter _tao_vfr (
- _tao_server_request.orb_core ()->server_request_interceptors (),
- _tao_server_request.interceptor_count ()
- );
-
- POA_IR::ValueDef::TAO_ServerRequestInfo_IR_ValueDef_create_value_member ri (
- _tao_server_request,
- _tao_impl,
- id.in (),
- name.in (),
- version.in (),
- type.in (),
- access,
- ACE_TRY_ENV
- );
-
- ACE_TRY
- {
- _tao_vfr.receive_request (&ri, ACE_TRY_ENV);
- ACE_TRY_CHECK;
-
-#endif /* TAO_HAS_INTERCEPTORS */
- _tao_retval =
- _tao_impl->create_value_member (
- id.in (),
- name.in (),
- version.in (),
- type.in (),
- access,
- ACE_TRY_ENV
- );
- TAO_INTERCEPTOR_CHECK;
-
-#if (TAO_HAS_INTERCEPTORS == 1)
- IR_ValueMemberDef_ptr _tao_retval_info = _tao_retval._retn ();
- ri.result (_tao_retval_info);
- _tao_retval = _tao_retval_info;
- ri.reply_status (PortableInterceptor::SUCCESSFUL);
- _tao_vfr.send_reply (&ri, ACE_TRY_ENV);
- ACE_TRY_CHECK;
- }
- ACE_CATCH (PortableInterceptor::ForwardRequest, exc)
- {
- ri.forward_reference (exc);
- _tao_vfr.send_other (
- &ri,
- ACE_TRY_ENV
- );
- ACE_TRY_CHECK;
- _tao_server_request.forward_location (exc.forward.in ());
- }
- ACE_CATCHANY
- {
- ri.exception (&ACE_ANY_EXCEPTION);
- _tao_vfr.send_exception (
- &ri,
- ACE_TRY_ENV
- );
- ACE_TRY_CHECK;
- ACE_RE_THROW;
- }
- ACE_ENDTRY;
- ACE_CHECK;
-#endif /* TAO_HAS_INTERCEPTORS */
-
- _tao_server_request.init_reply ();
-
- TAO_OutputCDR &_tao_out = _tao_server_request.outgoing ();
-
- if (!(
- (_tao_out << _tao_retval.in ())
- ))
- ACE_THROW (CORBA::MARSHAL());
-
- // In case ACE_TRY_ENV is not used in this function
- ACE_UNUSED_ARG (ACE_TRY_ENV);
-}
-
-void POA_IR::ValueDef::create_attribute_skel (
- TAO_ServerRequest &_tao_server_request,
- void *_tao_object_reference,
- void * /* context */,
- CORBA::Environment &ACE_TRY_ENV
-)
-{
- TAO_InputCDR &_tao_in = _tao_server_request.incoming ();
- POA_IR::ValueDef *_tao_impl = (POA_IR::ValueDef *)_tao_object_reference;
-
- IR_AttributeDef_var _tao_retval;
- CORBA::String_var id;
- CORBA::String_var name;
- CORBA::String_var version;
- IR_IDLType_var type;
- IR_AttributeMode mode;
- IR_ExceptionDefSeq get_exceptions;
- IR_ExceptionDefSeq put_exceptions;
- if (!(
- (_tao_in >> id.out ()) &&
- (_tao_in >> name.out ()) &&
- (_tao_in >> version.out ()) &&
- (_tao_in >> type.out ()) &&
- (_tao_in >> mode) &&
- (_tao_in >> get_exceptions) &&
- (_tao_in >> put_exceptions)
- ))
- ACE_THROW (CORBA::MARSHAL () );
-
-#if (TAO_HAS_INTERCEPTORS == 1)
- TAO_ServerRequestInterceptor_Adapter _tao_vfr (
- _tao_server_request.orb_core ()->server_request_interceptors (),
- _tao_server_request.interceptor_count ()
- );
-
- POA_IR::ValueDef::TAO_ServerRequestInfo_IR_ValueDef_create_attribute ri (
- _tao_server_request,
- _tao_impl,
- id.in (),
- name.in (),
- version.in (),
- type.in (),
- mode,
- get_exceptions,
- put_exceptions,
- ACE_TRY_ENV
- );
-
- ACE_TRY
- {
- _tao_vfr.receive_request (&ri, ACE_TRY_ENV);
- ACE_TRY_CHECK;
-
-#endif /* TAO_HAS_INTERCEPTORS */
- _tao_retval =
- _tao_impl->create_attribute (
- id.in (),
- name.in (),
- version.in (),
- type.in (),
- mode,
- get_exceptions,
- put_exceptions,
- ACE_TRY_ENV
- );
- TAO_INTERCEPTOR_CHECK;
-
-#if (TAO_HAS_INTERCEPTORS == 1)
- IR_AttributeDef_ptr _tao_retval_info = _tao_retval._retn ();
- ri.result (_tao_retval_info);
- _tao_retval = _tao_retval_info;
- ri.reply_status (PortableInterceptor::SUCCESSFUL);
- _tao_vfr.send_reply (&ri, ACE_TRY_ENV);
- ACE_TRY_CHECK;
- }
- ACE_CATCH (PortableInterceptor::ForwardRequest, exc)
- {
- ri.forward_reference (exc);
- _tao_vfr.send_other (
- &ri,
- ACE_TRY_ENV
- );
- ACE_TRY_CHECK;
- _tao_server_request.forward_location (exc.forward.in ());
- }
- ACE_CATCHANY
- {
- ri.exception (&ACE_ANY_EXCEPTION);
- _tao_vfr.send_exception (
- &ri,
- ACE_TRY_ENV
- );
- ACE_TRY_CHECK;
- ACE_RE_THROW;
- }
- ACE_ENDTRY;
- ACE_CHECK;
-#endif /* TAO_HAS_INTERCEPTORS */
-
- _tao_server_request.init_reply ();
-
- TAO_OutputCDR &_tao_out = _tao_server_request.outgoing ();
-
- if (!(
- (_tao_out << _tao_retval.in ())
- ))
- ACE_THROW (CORBA::MARSHAL());
-
- // In case ACE_TRY_ENV is not used in this function
- ACE_UNUSED_ARG (ACE_TRY_ENV);
-}
-
-void POA_IR::ValueDef::create_operation_skel (
- TAO_ServerRequest &_tao_server_request,
- void *_tao_object_reference,
- void * /* context */,
- CORBA::Environment &ACE_TRY_ENV
-)
-{
- TAO_InputCDR &_tao_in = _tao_server_request.incoming ();
- POA_IR::ValueDef *_tao_impl = (POA_IR::ValueDef *)_tao_object_reference;
-
- IR_OperationDef_var _tao_retval;
- CORBA::String_var id;
- CORBA::String_var name;
- CORBA::String_var version;
- IR_IDLType_var result;
- IR_OperationMode mode;
- IR_ParDescriptionSeq params;
- IR_ExceptionDefSeq exceptions;
- IR_ContextIdSeq contexts;
- if (!(
- (_tao_in >> id.out ()) &&
- (_tao_in >> name.out ()) &&
- (_tao_in >> version.out ()) &&
- (_tao_in >> result.out ()) &&
- (_tao_in >> mode) &&
- (_tao_in >> params) &&
- (_tao_in >> exceptions) &&
- (_tao_in >> contexts)
- ))
- ACE_THROW (CORBA::MARSHAL () );
-
-#if (TAO_HAS_INTERCEPTORS == 1)
- TAO_ServerRequestInterceptor_Adapter _tao_vfr (
- _tao_server_request.orb_core ()->server_request_interceptors (),
- _tao_server_request.interceptor_count ()
- );
-
- POA_IR::ValueDef::TAO_ServerRequestInfo_IR_ValueDef_create_operation ri (
- _tao_server_request,
- _tao_impl,
- id.in (),
- name.in (),
- version.in (),
- result.in (),
- mode,
- params,
- exceptions,
- contexts,
- ACE_TRY_ENV
- );
-
- ACE_TRY
- {
- _tao_vfr.receive_request (&ri, ACE_TRY_ENV);
- ACE_TRY_CHECK;
-
-#endif /* TAO_HAS_INTERCEPTORS */
- _tao_retval =
- _tao_impl->create_operation (
- id.in (),
- name.in (),
- version.in (),
- result.in (),
- mode,
- params,
- exceptions,
- contexts,
- ACE_TRY_ENV
- );
- TAO_INTERCEPTOR_CHECK;
-
-#if (TAO_HAS_INTERCEPTORS == 1)
- IR_OperationDef_ptr _tao_retval_info = _tao_retval._retn ();
- ri.result (_tao_retval_info);
- _tao_retval = _tao_retval_info;
- ri.reply_status (PortableInterceptor::SUCCESSFUL);
- _tao_vfr.send_reply (&ri, ACE_TRY_ENV);
- ACE_TRY_CHECK;
- }
- ACE_CATCH (PortableInterceptor::ForwardRequest, exc)
- {
- ri.forward_reference (exc);
- _tao_vfr.send_other (
- &ri,
- ACE_TRY_ENV
- );
- ACE_TRY_CHECK;
- _tao_server_request.forward_location (exc.forward.in ());
- }
- ACE_CATCHANY
- {
- ri.exception (&ACE_ANY_EXCEPTION);
- _tao_vfr.send_exception (
- &ri,
- ACE_TRY_ENV
- );
- ACE_TRY_CHECK;
- ACE_RE_THROW;
- }
- ACE_ENDTRY;
- ACE_CHECK;
-#endif /* TAO_HAS_INTERCEPTORS */
-
- _tao_server_request.init_reply ();
-
- TAO_OutputCDR &_tao_out = _tao_server_request.outgoing ();
-
- if (!(
- (_tao_out << _tao_retval.in ())
- ))
- ACE_THROW (CORBA::MARSHAL());
-
- // In case ACE_TRY_ENV is not used in this function
- ACE_UNUSED_ARG (ACE_TRY_ENV);
-}
-
-void POA_IR::ValueDef::_is_a_skel (
- TAO_ServerRequest &_tao_server_request,
- void * _tao_object_reference,
- void * /* context */,
- CORBA::Environment &ACE_TRY_ENV
- )
-{
- TAO_InputCDR &_tao_in = _tao_server_request.incoming ();
- POA_IR::ValueDef *_tao_impl = (POA_IR::ValueDef *) _tao_object_reference;
- CORBA::Boolean _tao_retval = 0;
- CORBA::String_var value;
- if (!((_tao_in >> value.out ())))
- ACE_THROW (CORBA::MARSHAL ());
-
- _tao_retval = _tao_impl->_is_a (value.in (), ACE_TRY_ENV);
- ACE_CHECK;
-
- _tao_server_request.init_reply ();
- TAO_OutputCDR &_tao_out = _tao_server_request.outgoing ();
- if (!((_tao_out << CORBA::Any::from_boolean (_tao_retval))))
- ACE_THROW (CORBA::MARSHAL ());
-}
-
-void POA_IR::ValueDef::_non_existent_skel (
- TAO_ServerRequest &_tao_server_request,
- void * _tao_object_reference,
- void * /* context */,
- CORBA::Environment &ACE_TRY_ENV
- )
-{
- POA_IR::ValueDef *_tao_impl = (POA_IR::ValueDef *) _tao_object_reference;
- CORBA::Boolean _tao_retval = _tao_impl->_non_existent (ACE_TRY_ENV);
- ACE_CHECK;
-
- _tao_server_request.init_reply ();
- TAO_OutputCDR &_tao_out = _tao_server_request.outgoing ();
- if (!((_tao_out << CORBA::Any::from_boolean (_tao_retval))))
- ACE_THROW (CORBA::MARSHAL ());
-}
-
-CORBA::Boolean POA_IR::ValueDef::_is_a (
- const char* value,
- CORBA::Environment &ACE_TRY_ENV
- )
-{
- if (
- (!ACE_OS::strcmp ((char *)value, "IDL:omg.org/IR/ValueDef:1.0")) ||
- (!ACE_OS::strcmp ((char *)value, "IDL:omg.org/IR/Container:1.0")) ||
- (!ACE_OS::strcmp ((char *)value, "IDL:omg.org/IR/Contained:1.0")) ||
- (!ACE_OS::strcmp ((char *)value, "IDL:omg.org/IR/IDLType:1.0")) ||
- (!ACE_OS::strcmp ((char *)value, "IDL:omg.org/CORBA/IRObject:1.0")) ||
- (!ACE_OS::strcmp ((char *)value, CORBA::_tc_Object->id (ACE_TRY_ENV))))
- return 1;
- else
- return 0;
-}
-
-void* POA_IR::ValueDef::_downcast (
- const char* logical_type_id
- )
-{
- if (ACE_OS::strcmp (logical_type_id, "IDL:omg.org/IR/ValueDef:1.0") == 0)
- return ACE_static_cast (POA_IR::ValueDef_ptr, this);
- if (ACE_OS::strcmp (logical_type_id, "IDL:omg.org/IR/Container:1.0") == 0)
- return ACE_static_cast (POA_IR::Container_ptr, this);
- if (ACE_OS::strcmp (logical_type_id, "IDL:omg.org/IR/Contained:1.0") == 0)
- return ACE_static_cast (POA_IR::Contained_ptr, this);
- if (ACE_OS::strcmp (logical_type_id, "IDL:omg.org/IR/IDLType:1.0") == 0)
- return ACE_static_cast (POA_IR::IDLType_ptr, this);
- if (ACE_OS::strcmp (logical_type_id, "IDL:omg.org/CORBA/IRObject:1.0") == 0)
- return ACE_static_cast (POA_CORBA_IRObject_ptr, this);
- if (ACE_OS::strcmp (logical_type_id, "IDL:omg.org/CORBA/Object:1.0") == 0)
- return ACE_static_cast(PortableServer::Servant, this);
- return 0;
-}
-
-void POA_IR::ValueDef::_dispatch (TAO_ServerRequest &req, void *context, CORBA::Environment &ACE_TRY_ENV)
-{
- this->synchronous_upcall_dispatch(req, context, this, ACE_TRY_ENV);
-}
-
-const char* POA_IR::ValueDef::_interface_repository_id (void) const
-{
- return "IDL:omg.org/IR/ValueDef:1.0";
-}
-
-IR::ValueDef*
-POA_IR::ValueDef::_this (CORBA_Environment &ACE_TRY_ENV)
-{
- TAO_Stub *stub = this->_create_stub (ACE_TRY_ENV);
- ACE_CHECK_RETURN (0);
-
- CORBA::Object_ptr tmp = CORBA::Object::_nil ();
-
- if (stub->servant_orb_var ()->orb_core ()->optimize_collocation_objects ())
- ACE_NEW_RETURN (tmp, CORBA::Object (stub, 1, this), 0);
- else
- ACE_NEW_RETURN (tmp, CORBA::Object (stub, 0, this), 0);
-
- CORBA::Object_var obj = tmp;
- return IR_ValueDef::_unchecked_narrow (obj.in ());
-}
-
-#if (TAO_HAS_INTERCEPTORS == 1)
-POA_IR::ValueDef::TAO_ServerRequestInfo_IR_ValueDef_supported_interfaces_get::TAO_ServerRequestInfo_IR_ValueDef_supported_interfaces_get (
- TAO_ServerRequest &_tao_server_request,
- POA_IR::ValueDef *tao_impl,
- CORBA::Environment &
- )
- : TAO_ServerRequestInfo (_tao_server_request),
- _tao_impl (tao_impl)
-{}
-
-Dynamic::ParameterList *
-POA_IR::ValueDef::TAO_ServerRequestInfo_IR_ValueDef_supported_interfaces_get::arguments (CORBA::Environment &ACE_TRY_ENV)
- ACE_THROW_SPEC ((CORBA::SystemException))
-{
- // Generate the argument list on demand.
- Dynamic::ParameterList *parameter_list =
- TAO_RequestInfo_Util::make_parameter_list (ACE_TRY_ENV);
- ACE_CHECK_RETURN (0);
-
- return parameter_list;
-}
-
-Dynamic::ExceptionList *
-POA_IR::ValueDef::TAO_ServerRequestInfo_IR_ValueDef_supported_interfaces_get::exceptions (CORBA::Environment &ACE_TRY_ENV)
- ACE_THROW_SPEC ((CORBA::SystemException))
-{
- // Generate the exception list on demand.
- Dynamic::ExceptionList *exception_list =
- TAO_RequestInfo_Util::make_exception_list (ACE_TRY_ENV);
- ACE_CHECK_RETURN (0);
-
- return exception_list;
-}
-
-CORBA::Any *
-POA_IR::ValueDef::TAO_ServerRequestInfo_IR_ValueDef_supported_interfaces_get::result (CORBA::Environment &ACE_TRY_ENV)
- ACE_THROW_SPEC ((CORBA::SystemException))
-{
- // Generate the result on demand.
- CORBA::Boolean tk_void_any = 0;
- CORBA::Any *result_any =
- TAO_RequestInfo_Util::make_any (tk_void_any, ACE_TRY_ENV);
- ACE_CHECK_RETURN (0);
-
- CORBA::Any_var safe_result_any = result_any;
-
- (*result_any) <<= this->_result;
-
- return safe_result_any._retn ();
-}
-
-char *
-POA_IR::ValueDef::TAO_ServerRequestInfo_IR_ValueDef_supported_interfaces_get::target_most_derived_interface (
- CORBA::Environment &)
- ACE_THROW_SPEC ((CORBA::SystemException))
-{
- return
- CORBA::string_dup (this->_tao_impl->_interface_repository_id ());
-}
-
-CORBA::Boolean
-POA_IR::ValueDef::TAO_ServerRequestInfo_IR_ValueDef_supported_interfaces_get::target_is_a (
- const char * id,
- CORBA::Environment &ACE_TRY_ENV)
- ACE_THROW_SPEC ((CORBA::SystemException))
-{
- return this->_tao_impl->_is_a (id, ACE_TRY_ENV);
-}
-
-void
-POA_IR::ValueDef::TAO_ServerRequestInfo_IR_ValueDef_supported_interfaces_get::result (IR::InterfaceDefSeq * result)
-{
- // Update the result.
- this->_result = result;
-}
-
-POA_IR::ValueDef::TAO_ServerRequestInfo_IR_ValueDef_supported_interfaces_set::TAO_ServerRequestInfo_IR_ValueDef_supported_interfaces_set (
- TAO_ServerRequest &_tao_server_request,
- POA_IR::ValueDef *tao_impl,
- const IR_InterfaceDefSeq & supported_interfaces,
- CORBA::Environment &
- )
- : TAO_ServerRequestInfo (_tao_server_request),
- _tao_impl (tao_impl),
- supported_interfaces_ (supported_interfaces)
-{}
-
-Dynamic::ParameterList *
-POA_IR::ValueDef::TAO_ServerRequestInfo_IR_ValueDef_supported_interfaces_set::arguments (CORBA::Environment &ACE_TRY_ENV)
- ACE_THROW_SPEC ((CORBA::SystemException))
-{
- // Generate the argument list on demand.
- Dynamic::ParameterList *parameter_list =
- TAO_RequestInfo_Util::make_parameter_list (ACE_TRY_ENV);
- ACE_CHECK_RETURN (0);
-
- Dynamic::ParameterList_var safe_parameter_list = parameter_list;
-
- CORBA::ULong length_supported_interfaces = parameter_list->length ();
- parameter_list->length (length_supported_interfaces + 1);
- (*parameter_list)[length_supported_interfaces].argument <<= this->supported_interfaces_;
-
- (*parameter_list)[length_supported_interfaces].mode = Dynamic::PARAM_IN;
-
- return safe_parameter_list._retn ();
-}
-
-Dynamic::ExceptionList *
-POA_IR::ValueDef::TAO_ServerRequestInfo_IR_ValueDef_supported_interfaces_set::exceptions (CORBA::Environment &ACE_TRY_ENV)
- ACE_THROW_SPEC ((CORBA::SystemException))
-{
- // Generate the exception list on demand.
- Dynamic::ExceptionList *exception_list =
- TAO_RequestInfo_Util::make_exception_list (ACE_TRY_ENV);
- ACE_CHECK_RETURN (0);
-
- return exception_list;
-}
-
-CORBA::Any *
-POA_IR::ValueDef::TAO_ServerRequestInfo_IR_ValueDef_supported_interfaces_set::result (CORBA::Environment &ACE_TRY_ENV)
- ACE_THROW_SPEC ((CORBA::SystemException))
-{
- // Generate the result on demand.
- CORBA::Boolean tk_void_any = 1;
- CORBA::Any *result_any =
- TAO_RequestInfo_Util::make_any (tk_void_any, ACE_TRY_ENV);
- ACE_CHECK_RETURN (0);
-
- return result_any;
-}
-
-char *
-POA_IR::ValueDef::TAO_ServerRequestInfo_IR_ValueDef_supported_interfaces_set::target_most_derived_interface (
- CORBA::Environment &)
- ACE_THROW_SPEC ((CORBA::SystemException))
-{
- return
- CORBA::string_dup (this->_tao_impl->_interface_repository_id ());
-}
-
-CORBA::Boolean
-POA_IR::ValueDef::TAO_ServerRequestInfo_IR_ValueDef_supported_interfaces_set::target_is_a (
- const char * id,
- CORBA::Environment &ACE_TRY_ENV)
- ACE_THROW_SPEC ((CORBA::SystemException))
-{
- return this->_tao_impl->_is_a (id, ACE_TRY_ENV);
-}
-
-POA_IR::ValueDef::TAO_ServerRequestInfo_IR_ValueDef_initializers_get::TAO_ServerRequestInfo_IR_ValueDef_initializers_get (
- TAO_ServerRequest &_tao_server_request,
- POA_IR::ValueDef *tao_impl,
- CORBA::Environment &
- )
- : TAO_ServerRequestInfo (_tao_server_request),
- _tao_impl (tao_impl)
-{}
-
-Dynamic::ParameterList *
-POA_IR::ValueDef::TAO_ServerRequestInfo_IR_ValueDef_initializers_get::arguments (CORBA::Environment &ACE_TRY_ENV)
- ACE_THROW_SPEC ((CORBA::SystemException))
-{
- // Generate the argument list on demand.
- Dynamic::ParameterList *parameter_list =
- TAO_RequestInfo_Util::make_parameter_list (ACE_TRY_ENV);
- ACE_CHECK_RETURN (0);
-
- return parameter_list;
-}
-
-Dynamic::ExceptionList *
-POA_IR::ValueDef::TAO_ServerRequestInfo_IR_ValueDef_initializers_get::exceptions (CORBA::Environment &ACE_TRY_ENV)
- ACE_THROW_SPEC ((CORBA::SystemException))
-{
- // Generate the exception list on demand.
- Dynamic::ExceptionList *exception_list =
- TAO_RequestInfo_Util::make_exception_list (ACE_TRY_ENV);
- ACE_CHECK_RETURN (0);
-
- return exception_list;
-}
-
-CORBA::Any *
-POA_IR::ValueDef::TAO_ServerRequestInfo_IR_ValueDef_initializers_get::result (CORBA::Environment &ACE_TRY_ENV)
- ACE_THROW_SPEC ((CORBA::SystemException))
-{
- // Generate the result on demand.
- CORBA::Boolean tk_void_any = 0;
- CORBA::Any *result_any =
- TAO_RequestInfo_Util::make_any (tk_void_any, ACE_TRY_ENV);
- ACE_CHECK_RETURN (0);
-
- CORBA::Any_var safe_result_any = result_any;
-
- (*result_any) <<= this->_result;
-
- return safe_result_any._retn ();
-}
-
-char *
-POA_IR::ValueDef::TAO_ServerRequestInfo_IR_ValueDef_initializers_get::target_most_derived_interface (
- CORBA::Environment &)
- ACE_THROW_SPEC ((CORBA::SystemException))
-{
- return
- CORBA::string_dup (this->_tao_impl->_interface_repository_id ());
-}
-
-CORBA::Boolean
-POA_IR::ValueDef::TAO_ServerRequestInfo_IR_ValueDef_initializers_get::target_is_a (
- const char * id,
- CORBA::Environment &ACE_TRY_ENV)
- ACE_THROW_SPEC ((CORBA::SystemException))
-{
- return this->_tao_impl->_is_a (id, ACE_TRY_ENV);
-}
-
-void
-POA_IR::ValueDef::TAO_ServerRequestInfo_IR_ValueDef_initializers_get::result (IR::InitializerSeq * result)
-{
- // Update the result.
- this->_result = result;
-}
-
-POA_IR::ValueDef::TAO_ServerRequestInfo_IR_ValueDef_initializers_set::TAO_ServerRequestInfo_IR_ValueDef_initializers_set (
- TAO_ServerRequest &_tao_server_request,
- POA_IR::ValueDef *tao_impl,
- const IR_InitializerSeq & initializers,
- CORBA::Environment &
- )
- : TAO_ServerRequestInfo (_tao_server_request),
- _tao_impl (tao_impl),
- initializers_ (initializers)
-{}
-
-Dynamic::ParameterList *
-POA_IR::ValueDef::TAO_ServerRequestInfo_IR_ValueDef_initializers_set::arguments (CORBA::Environment &ACE_TRY_ENV)
- ACE_THROW_SPEC ((CORBA::SystemException))
-{
- // Generate the argument list on demand.
- Dynamic::ParameterList *parameter_list =
- TAO_RequestInfo_Util::make_parameter_list (ACE_TRY_ENV);
- ACE_CHECK_RETURN (0);
-
- Dynamic::ParameterList_var safe_parameter_list = parameter_list;
-
- CORBA::ULong length_initializers = parameter_list->length ();
- parameter_list->length (length_initializers + 1);
- (*parameter_list)[length_initializers].argument <<= this->initializers_;
-
- (*parameter_list)[length_initializers].mode = Dynamic::PARAM_IN;
-
- return safe_parameter_list._retn ();
-}
-
-Dynamic::ExceptionList *
-POA_IR::ValueDef::TAO_ServerRequestInfo_IR_ValueDef_initializers_set::exceptions (CORBA::Environment &ACE_TRY_ENV)
- ACE_THROW_SPEC ((CORBA::SystemException))
-{
- // Generate the exception list on demand.
- Dynamic::ExceptionList *exception_list =
- TAO_RequestInfo_Util::make_exception_list (ACE_TRY_ENV);
- ACE_CHECK_RETURN (0);
-
- return exception_list;
-}
-
-CORBA::Any *
-POA_IR::ValueDef::TAO_ServerRequestInfo_IR_ValueDef_initializers_set::result (CORBA::Environment &ACE_TRY_ENV)
- ACE_THROW_SPEC ((CORBA::SystemException))
-{
- // Generate the result on demand.
- CORBA::Boolean tk_void_any = 1;
- CORBA::Any *result_any =
- TAO_RequestInfo_Util::make_any (tk_void_any, ACE_TRY_ENV);
- ACE_CHECK_RETURN (0);
-
- return result_any;
-}
-
-char *
-POA_IR::ValueDef::TAO_ServerRequestInfo_IR_ValueDef_initializers_set::target_most_derived_interface (
- CORBA::Environment &)
- ACE_THROW_SPEC ((CORBA::SystemException))
-{
- return
- CORBA::string_dup (this->_tao_impl->_interface_repository_id ());
-}
-
-CORBA::Boolean
-POA_IR::ValueDef::TAO_ServerRequestInfo_IR_ValueDef_initializers_set::target_is_a (
- const char * id,
- CORBA::Environment &ACE_TRY_ENV)
- ACE_THROW_SPEC ((CORBA::SystemException))
-{
- return this->_tao_impl->_is_a (id, ACE_TRY_ENV);
-}
-
-POA_IR::ValueDef::TAO_ServerRequestInfo_IR_ValueDef_base_value_get::TAO_ServerRequestInfo_IR_ValueDef_base_value_get (
- TAO_ServerRequest &_tao_server_request,
- POA_IR::ValueDef *tao_impl,
- CORBA::Environment &
- )
- : TAO_ServerRequestInfo (_tao_server_request),
- _tao_impl (tao_impl)
-{}
-
-Dynamic::ParameterList *
-POA_IR::ValueDef::TAO_ServerRequestInfo_IR_ValueDef_base_value_get::arguments (CORBA::Environment &ACE_TRY_ENV)
- ACE_THROW_SPEC ((CORBA::SystemException))
-{
- // Generate the argument list on demand.
- Dynamic::ParameterList *parameter_list =
- TAO_RequestInfo_Util::make_parameter_list (ACE_TRY_ENV);
- ACE_CHECK_RETURN (0);
-
- return parameter_list;
-}
-
-Dynamic::ExceptionList *
-POA_IR::ValueDef::TAO_ServerRequestInfo_IR_ValueDef_base_value_get::exceptions (CORBA::Environment &ACE_TRY_ENV)
- ACE_THROW_SPEC ((CORBA::SystemException))
-{
- // Generate the exception list on demand.
- Dynamic::ExceptionList *exception_list =
- TAO_RequestInfo_Util::make_exception_list (ACE_TRY_ENV);
- ACE_CHECK_RETURN (0);
-
- return exception_list;
-}
-
-CORBA::Any *
-POA_IR::ValueDef::TAO_ServerRequestInfo_IR_ValueDef_base_value_get::result (CORBA::Environment &ACE_TRY_ENV)
- ACE_THROW_SPEC ((CORBA::SystemException))
-{
- // Generate the result on demand.
- CORBA::Boolean tk_void_any = 0;
- CORBA::Any *result_any =
- TAO_RequestInfo_Util::make_any (tk_void_any, ACE_TRY_ENV);
- ACE_CHECK_RETURN (0);
-
- CORBA::Any_var safe_result_any = result_any;
-
- (*result_any) <<= this->_result;
-
- return safe_result_any._retn ();
-}
-
-char *
-POA_IR::ValueDef::TAO_ServerRequestInfo_IR_ValueDef_base_value_get::target_most_derived_interface (
- CORBA::Environment &)
- ACE_THROW_SPEC ((CORBA::SystemException))
-{
- return
- CORBA::string_dup (this->_tao_impl->_interface_repository_id ());
-}
-
-CORBA::Boolean
-POA_IR::ValueDef::TAO_ServerRequestInfo_IR_ValueDef_base_value_get::target_is_a (
- const char * id,
- CORBA::Environment &ACE_TRY_ENV)
- ACE_THROW_SPEC ((CORBA::SystemException))
-{
- return this->_tao_impl->_is_a (id, ACE_TRY_ENV);
-}
-
-void
-POA_IR::ValueDef::TAO_ServerRequestInfo_IR_ValueDef_base_value_get::result (IR::ValueDef_ptr result)
-{
- // Update the result.
- this->_result = result;
-}
-
-POA_IR::ValueDef::TAO_ServerRequestInfo_IR_ValueDef_base_value_set::TAO_ServerRequestInfo_IR_ValueDef_base_value_set (
- TAO_ServerRequest &_tao_server_request,
- POA_IR::ValueDef *tao_impl ,
- IR_ValueDef_ptr base_value,
- CORBA::Environment &
- )
- : TAO_ServerRequestInfo (_tao_server_request),
- _tao_impl (tao_impl),
- base_value_ (base_value)
-{}
-
-Dynamic::ParameterList *
-POA_IR::ValueDef::TAO_ServerRequestInfo_IR_ValueDef_base_value_set::arguments (CORBA::Environment &ACE_TRY_ENV)
- ACE_THROW_SPEC ((CORBA::SystemException))
-{
- // Generate the argument list on demand.
- Dynamic::ParameterList *parameter_list =
- TAO_RequestInfo_Util::make_parameter_list (ACE_TRY_ENV);
- ACE_CHECK_RETURN (0);
-
- Dynamic::ParameterList_var safe_parameter_list = parameter_list;
-
- CORBA::ULong length_base_value = parameter_list->length ();
- parameter_list->length (length_base_value + 1);
- (*parameter_list)[length_base_value].argument <<= this->base_value_;
-
- (*parameter_list)[length_base_value].mode = Dynamic::PARAM_IN;
-
- return safe_parameter_list._retn ();
-}
-
-Dynamic::ExceptionList *
-POA_IR::ValueDef::TAO_ServerRequestInfo_IR_ValueDef_base_value_set::exceptions (CORBA::Environment &ACE_TRY_ENV)
- ACE_THROW_SPEC ((CORBA::SystemException))
-{
- // Generate the exception list on demand.
- Dynamic::ExceptionList *exception_list =
- TAO_RequestInfo_Util::make_exception_list (ACE_TRY_ENV);
- ACE_CHECK_RETURN (0);
-
- return exception_list;
-}
-
-CORBA::Any *
-POA_IR::ValueDef::TAO_ServerRequestInfo_IR_ValueDef_base_value_set::result (CORBA::Environment &ACE_TRY_ENV)
- ACE_THROW_SPEC ((CORBA::SystemException))
-{
- // Generate the result on demand.
- CORBA::Boolean tk_void_any = 1;
- CORBA::Any *result_any =
- TAO_RequestInfo_Util::make_any (tk_void_any, ACE_TRY_ENV);
- ACE_CHECK_RETURN (0);
-
- return result_any;
-}
-
-char *
-POA_IR::ValueDef::TAO_ServerRequestInfo_IR_ValueDef_base_value_set::target_most_derived_interface (
- CORBA::Environment &)
- ACE_THROW_SPEC ((CORBA::SystemException))
-{
- return
- CORBA::string_dup (this->_tao_impl->_interface_repository_id ());
-}
-
-CORBA::Boolean
-POA_IR::ValueDef::TAO_ServerRequestInfo_IR_ValueDef_base_value_set::target_is_a (
- const char * id,
- CORBA::Environment &ACE_TRY_ENV)
- ACE_THROW_SPEC ((CORBA::SystemException))
-{
- return this->_tao_impl->_is_a (id, ACE_TRY_ENV);
-}
-
-POA_IR::ValueDef::TAO_ServerRequestInfo_IR_ValueDef_abstract_base_values_get::TAO_ServerRequestInfo_IR_ValueDef_abstract_base_values_get (
- TAO_ServerRequest &_tao_server_request,
- POA_IR::ValueDef *tao_impl,
- CORBA::Environment &
- )
- : TAO_ServerRequestInfo (_tao_server_request),
- _tao_impl (tao_impl)
-{}
-
-Dynamic::ParameterList *
-POA_IR::ValueDef::TAO_ServerRequestInfo_IR_ValueDef_abstract_base_values_get::arguments (CORBA::Environment &ACE_TRY_ENV)
- ACE_THROW_SPEC ((CORBA::SystemException))
-{
- // Generate the argument list on demand.
- Dynamic::ParameterList *parameter_list =
- TAO_RequestInfo_Util::make_parameter_list (ACE_TRY_ENV);
- ACE_CHECK_RETURN (0);
-
- return parameter_list;
-}
-
-Dynamic::ExceptionList *
-POA_IR::ValueDef::TAO_ServerRequestInfo_IR_ValueDef_abstract_base_values_get::exceptions (CORBA::Environment &ACE_TRY_ENV)
- ACE_THROW_SPEC ((CORBA::SystemException))
-{
- // Generate the exception list on demand.
- Dynamic::ExceptionList *exception_list =
- TAO_RequestInfo_Util::make_exception_list (ACE_TRY_ENV);
- ACE_CHECK_RETURN (0);
-
- return exception_list;
-}
-
-CORBA::Any *
-POA_IR::ValueDef::TAO_ServerRequestInfo_IR_ValueDef_abstract_base_values_get::result (CORBA::Environment &ACE_TRY_ENV)
- ACE_THROW_SPEC ((CORBA::SystemException))
-{
- // Generate the result on demand.
- CORBA::Boolean tk_void_any = 0;
- CORBA::Any *result_any =
- TAO_RequestInfo_Util::make_any (tk_void_any, ACE_TRY_ENV);
- ACE_CHECK_RETURN (0);
-
- CORBA::Any_var safe_result_any = result_any;
-
- (*result_any) <<= this->_result;
-
- return safe_result_any._retn ();
-}
-
-char *
-POA_IR::ValueDef::TAO_ServerRequestInfo_IR_ValueDef_abstract_base_values_get::target_most_derived_interface (
- CORBA::Environment &)
- ACE_THROW_SPEC ((CORBA::SystemException))
-{
- return
- CORBA::string_dup (this->_tao_impl->_interface_repository_id ());
-}
-
-CORBA::Boolean
-POA_IR::ValueDef::TAO_ServerRequestInfo_IR_ValueDef_abstract_base_values_get::target_is_a (
- const char * id,
- CORBA::Environment &ACE_TRY_ENV)
- ACE_THROW_SPEC ((CORBA::SystemException))
-{
- return this->_tao_impl->_is_a (id, ACE_TRY_ENV);
-}
-
-void
-POA_IR::ValueDef::TAO_ServerRequestInfo_IR_ValueDef_abstract_base_values_get::result (IR::ValueDefSeq * result)
-{
- // Update the result.
- this->_result = result;
-}
-
-POA_IR::ValueDef::TAO_ServerRequestInfo_IR_ValueDef_abstract_base_values_set::TAO_ServerRequestInfo_IR_ValueDef_abstract_base_values_set (
- TAO_ServerRequest &_tao_server_request,
- POA_IR::ValueDef *tao_impl,
- const IR_ValueDefSeq & abstract_base_values,
- CORBA::Environment &
- )
- : TAO_ServerRequestInfo (_tao_server_request),
- _tao_impl (tao_impl),
- abstract_base_values_ (abstract_base_values)
-{}
-
-Dynamic::ParameterList *
-POA_IR::ValueDef::TAO_ServerRequestInfo_IR_ValueDef_abstract_base_values_set::arguments (CORBA::Environment &ACE_TRY_ENV)
- ACE_THROW_SPEC ((CORBA::SystemException))
-{
- // Generate the argument list on demand.
- Dynamic::ParameterList *parameter_list =
- TAO_RequestInfo_Util::make_parameter_list (ACE_TRY_ENV);
- ACE_CHECK_RETURN (0);
-
- Dynamic::ParameterList_var safe_parameter_list = parameter_list;
-
- CORBA::ULong length_abstract_base_values = parameter_list->length ();
- parameter_list->length (length_abstract_base_values + 1);
- (*parameter_list)[length_abstract_base_values].argument <<= this->abstract_base_values_;
-
- (*parameter_list)[length_abstract_base_values].mode = Dynamic::PARAM_IN;
-
- return safe_parameter_list._retn ();
-}
-
-Dynamic::ExceptionList *
-POA_IR::ValueDef::TAO_ServerRequestInfo_IR_ValueDef_abstract_base_values_set::exceptions (CORBA::Environment &ACE_TRY_ENV)
- ACE_THROW_SPEC ((CORBA::SystemException))
-{
- // Generate the exception list on demand.
- Dynamic::ExceptionList *exception_list =
- TAO_RequestInfo_Util::make_exception_list (ACE_TRY_ENV);
- ACE_CHECK_RETURN (0);
-
- return exception_list;
-}
-
-CORBA::Any *
-POA_IR::ValueDef::TAO_ServerRequestInfo_IR_ValueDef_abstract_base_values_set::result (CORBA::Environment &ACE_TRY_ENV)
- ACE_THROW_SPEC ((CORBA::SystemException))
-{
- // Generate the result on demand.
- CORBA::Boolean tk_void_any = 1;
- CORBA::Any *result_any =
- TAO_RequestInfo_Util::make_any (tk_void_any, ACE_TRY_ENV);
- ACE_CHECK_RETURN (0);
-
- return result_any;
-}
-
-char *
-POA_IR::ValueDef::TAO_ServerRequestInfo_IR_ValueDef_abstract_base_values_set::target_most_derived_interface (
- CORBA::Environment &)
- ACE_THROW_SPEC ((CORBA::SystemException))
-{
- return
- CORBA::string_dup (this->_tao_impl->_interface_repository_id ());
-}
-
-CORBA::Boolean
-POA_IR::ValueDef::TAO_ServerRequestInfo_IR_ValueDef_abstract_base_values_set::target_is_a (
- const char * id,
- CORBA::Environment &ACE_TRY_ENV)
- ACE_THROW_SPEC ((CORBA::SystemException))
-{
- return this->_tao_impl->_is_a (id, ACE_TRY_ENV);
-}
-
-POA_IR::ValueDef::TAO_ServerRequestInfo_IR_ValueDef_is_abstract_get::TAO_ServerRequestInfo_IR_ValueDef_is_abstract_get (
- TAO_ServerRequest &_tao_server_request,
- POA_IR::ValueDef *tao_impl,
- CORBA::Environment &
- )
- : TAO_ServerRequestInfo (_tao_server_request),
- _tao_impl (tao_impl)
-{}
-
-Dynamic::ParameterList *
-POA_IR::ValueDef::TAO_ServerRequestInfo_IR_ValueDef_is_abstract_get::arguments (CORBA::Environment &ACE_TRY_ENV)
- ACE_THROW_SPEC ((CORBA::SystemException))
-{
- // Generate the argument list on demand.
- Dynamic::ParameterList *parameter_list =
- TAO_RequestInfo_Util::make_parameter_list (ACE_TRY_ENV);
- ACE_CHECK_RETURN (0);
-
- return parameter_list;
-}
-
-Dynamic::ExceptionList *
-POA_IR::ValueDef::TAO_ServerRequestInfo_IR_ValueDef_is_abstract_get::exceptions (CORBA::Environment &ACE_TRY_ENV)
- ACE_THROW_SPEC ((CORBA::SystemException))
-{
- // Generate the exception list on demand.
- Dynamic::ExceptionList *exception_list =
- TAO_RequestInfo_Util::make_exception_list (ACE_TRY_ENV);
- ACE_CHECK_RETURN (0);
-
- return exception_list;
-}
-
-CORBA::Any *
-POA_IR::ValueDef::TAO_ServerRequestInfo_IR_ValueDef_is_abstract_get::result (CORBA::Environment &ACE_TRY_ENV)
- ACE_THROW_SPEC ((CORBA::SystemException))
-{
- // Generate the result on demand.
- CORBA::Boolean tk_void_any = 0;
- CORBA::Any *result_any =
- TAO_RequestInfo_Util::make_any (tk_void_any, ACE_TRY_ENV);
- ACE_CHECK_RETURN (0);
-
- CORBA::Any_var safe_result_any = result_any;
-
- (*result_any) <<= CORBA::Any::from_boolean (this->_result);
-
- return safe_result_any._retn ();
-}
-
-char *
-POA_IR::ValueDef::TAO_ServerRequestInfo_IR_ValueDef_is_abstract_get::target_most_derived_interface (
- CORBA::Environment &)
- ACE_THROW_SPEC ((CORBA::SystemException))
-{
- return
- CORBA::string_dup (this->_tao_impl->_interface_repository_id ());
-}
-
-CORBA::Boolean
-POA_IR::ValueDef::TAO_ServerRequestInfo_IR_ValueDef_is_abstract_get::target_is_a (
- const char * id,
- CORBA::Environment &ACE_TRY_ENV)
- ACE_THROW_SPEC ((CORBA::SystemException))
-{
- return this->_tao_impl->_is_a (id, ACE_TRY_ENV);
-}
-
-void
-POA_IR::ValueDef::TAO_ServerRequestInfo_IR_ValueDef_is_abstract_get::result (CORBA::Boolean result)
-{
- // Update the result.
- this->_result = result;
-}
-
-POA_IR::ValueDef::TAO_ServerRequestInfo_IR_ValueDef_is_abstract_set::TAO_ServerRequestInfo_IR_ValueDef_is_abstract_set (
- TAO_ServerRequest &_tao_server_request,
- POA_IR::ValueDef *tao_impl,
- const CORBA::Boolean & is_abstract,
- CORBA::Environment &
- )
- : TAO_ServerRequestInfo (_tao_server_request),
- _tao_impl (tao_impl),
- is_abstract_ (is_abstract)
-{}
-
-Dynamic::ParameterList *
-POA_IR::ValueDef::TAO_ServerRequestInfo_IR_ValueDef_is_abstract_set::arguments (CORBA::Environment &ACE_TRY_ENV)
- ACE_THROW_SPEC ((CORBA::SystemException))
-{
- // Generate the argument list on demand.
- Dynamic::ParameterList *parameter_list =
- TAO_RequestInfo_Util::make_parameter_list (ACE_TRY_ENV);
- ACE_CHECK_RETURN (0);
-
- Dynamic::ParameterList_var safe_parameter_list = parameter_list;
-
- CORBA::ULong length_is_abstract = parameter_list->length ();
- parameter_list->length (length_is_abstract + 1);
- (*parameter_list)[length_is_abstract].argument <<= CORBA::Any::from_boolean (this->is_abstract_);
- (*parameter_list)[length_is_abstract].mode = Dynamic::PARAM_IN;
-
- return safe_parameter_list._retn ();
-}
-
-Dynamic::ExceptionList *
-POA_IR::ValueDef::TAO_ServerRequestInfo_IR_ValueDef_is_abstract_set::exceptions (CORBA::Environment &ACE_TRY_ENV)
- ACE_THROW_SPEC ((CORBA::SystemException))
-{
- // Generate the exception list on demand.
- Dynamic::ExceptionList *exception_list =
- TAO_RequestInfo_Util::make_exception_list (ACE_TRY_ENV);
- ACE_CHECK_RETURN (0);
-
- return exception_list;
-}
-
-CORBA::Any *
-POA_IR::ValueDef::TAO_ServerRequestInfo_IR_ValueDef_is_abstract_set::result (CORBA::Environment &ACE_TRY_ENV)
- ACE_THROW_SPEC ((CORBA::SystemException))
-{
- // Generate the result on demand.
- CORBA::Boolean tk_void_any = 1;
- CORBA::Any *result_any =
- TAO_RequestInfo_Util::make_any (tk_void_any, ACE_TRY_ENV);
- ACE_CHECK_RETURN (0);
-
- return result_any;
-}
-
-char *
-POA_IR::ValueDef::TAO_ServerRequestInfo_IR_ValueDef_is_abstract_set::target_most_derived_interface (
- CORBA::Environment &)
- ACE_THROW_SPEC ((CORBA::SystemException))
-{
- return
- CORBA::string_dup (this->_tao_impl->_interface_repository_id ());
-}
-
-CORBA::Boolean
-POA_IR::ValueDef::TAO_ServerRequestInfo_IR_ValueDef_is_abstract_set::target_is_a (
- const char * id,
- CORBA::Environment &ACE_TRY_ENV)
- ACE_THROW_SPEC ((CORBA::SystemException))
-{
- return this->_tao_impl->_is_a (id, ACE_TRY_ENV);
-}
-
-POA_IR::ValueDef::TAO_ServerRequestInfo_IR_ValueDef_is_custom_get::TAO_ServerRequestInfo_IR_ValueDef_is_custom_get (
- TAO_ServerRequest &_tao_server_request,
- POA_IR::ValueDef *tao_impl,
- CORBA::Environment &
- )
- : TAO_ServerRequestInfo (_tao_server_request),
- _tao_impl (tao_impl)
-{}
-
-Dynamic::ParameterList *
-POA_IR::ValueDef::TAO_ServerRequestInfo_IR_ValueDef_is_custom_get::arguments (CORBA::Environment &ACE_TRY_ENV)
- ACE_THROW_SPEC ((CORBA::SystemException))
-{
- // Generate the argument list on demand.
- Dynamic::ParameterList *parameter_list =
- TAO_RequestInfo_Util::make_parameter_list (ACE_TRY_ENV);
- ACE_CHECK_RETURN (0);
-
- return parameter_list;
-}
-
-Dynamic::ExceptionList *
-POA_IR::ValueDef::TAO_ServerRequestInfo_IR_ValueDef_is_custom_get::exceptions (CORBA::Environment &ACE_TRY_ENV)
- ACE_THROW_SPEC ((CORBA::SystemException))
-{
- // Generate the exception list on demand.
- Dynamic::ExceptionList *exception_list =
- TAO_RequestInfo_Util::make_exception_list (ACE_TRY_ENV);
- ACE_CHECK_RETURN (0);
-
- return exception_list;
-}
-
-CORBA::Any *
-POA_IR::ValueDef::TAO_ServerRequestInfo_IR_ValueDef_is_custom_get::result (CORBA::Environment &ACE_TRY_ENV)
- ACE_THROW_SPEC ((CORBA::SystemException))
-{
- // Generate the result on demand.
- CORBA::Boolean tk_void_any = 0;
- CORBA::Any *result_any =
- TAO_RequestInfo_Util::make_any (tk_void_any, ACE_TRY_ENV);
- ACE_CHECK_RETURN (0);
-
- CORBA::Any_var safe_result_any = result_any;
-
- (*result_any) <<= CORBA::Any::from_boolean (this->_result);
-
- return safe_result_any._retn ();
-}
-
-char *
-POA_IR::ValueDef::TAO_ServerRequestInfo_IR_ValueDef_is_custom_get::target_most_derived_interface (
- CORBA::Environment &)
- ACE_THROW_SPEC ((CORBA::SystemException))
-{
- return
- CORBA::string_dup (this->_tao_impl->_interface_repository_id ());
-}
-
-CORBA::Boolean
-POA_IR::ValueDef::TAO_ServerRequestInfo_IR_ValueDef_is_custom_get::target_is_a (
- const char * id,
- CORBA::Environment &ACE_TRY_ENV)
- ACE_THROW_SPEC ((CORBA::SystemException))
-{
- return this->_tao_impl->_is_a (id, ACE_TRY_ENV);
-}
-
-void
-POA_IR::ValueDef::TAO_ServerRequestInfo_IR_ValueDef_is_custom_get::result (CORBA::Boolean result)
-{
- // Update the result.
- this->_result = result;
-}
-
-POA_IR::ValueDef::TAO_ServerRequestInfo_IR_ValueDef_is_custom_set::TAO_ServerRequestInfo_IR_ValueDef_is_custom_set (
- TAO_ServerRequest &_tao_server_request,
- POA_IR::ValueDef *tao_impl,
- const CORBA::Boolean & is_custom,
- CORBA::Environment &
- )
- : TAO_ServerRequestInfo (_tao_server_request),
- _tao_impl (tao_impl),
- is_custom_ (is_custom)
-{}
-
-Dynamic::ParameterList *
-POA_IR::ValueDef::TAO_ServerRequestInfo_IR_ValueDef_is_custom_set::arguments (CORBA::Environment &ACE_TRY_ENV)
- ACE_THROW_SPEC ((CORBA::SystemException))
-{
- // Generate the argument list on demand.
- Dynamic::ParameterList *parameter_list =
- TAO_RequestInfo_Util::make_parameter_list (ACE_TRY_ENV);
- ACE_CHECK_RETURN (0);
-
- Dynamic::ParameterList_var safe_parameter_list = parameter_list;
-
- CORBA::ULong length_is_custom = parameter_list->length ();
- parameter_list->length (length_is_custom + 1);
- (*parameter_list)[length_is_custom].argument <<= CORBA::Any::from_boolean (this->is_custom_);
- (*parameter_list)[length_is_custom].mode = Dynamic::PARAM_IN;
-
- return safe_parameter_list._retn ();
-}
-
-Dynamic::ExceptionList *
-POA_IR::ValueDef::TAO_ServerRequestInfo_IR_ValueDef_is_custom_set::exceptions (CORBA::Environment &ACE_TRY_ENV)
- ACE_THROW_SPEC ((CORBA::SystemException))
-{
- // Generate the exception list on demand.
- Dynamic::ExceptionList *exception_list =
- TAO_RequestInfo_Util::make_exception_list (ACE_TRY_ENV);
- ACE_CHECK_RETURN (0);
-
- return exception_list;
-}
-
-CORBA::Any *
-POA_IR::ValueDef::TAO_ServerRequestInfo_IR_ValueDef_is_custom_set::result (CORBA::Environment &ACE_TRY_ENV)
- ACE_THROW_SPEC ((CORBA::SystemException))
-{
- // Generate the result on demand.
- CORBA::Boolean tk_void_any = 1;
- CORBA::Any *result_any =
- TAO_RequestInfo_Util::make_any (tk_void_any, ACE_TRY_ENV);
- ACE_CHECK_RETURN (0);
-
- return result_any;
-}
-
-char *
-POA_IR::ValueDef::TAO_ServerRequestInfo_IR_ValueDef_is_custom_set::target_most_derived_interface (
- CORBA::Environment &)
- ACE_THROW_SPEC ((CORBA::SystemException))
-{
- return
- CORBA::string_dup (this->_tao_impl->_interface_repository_id ());
-}
-
-CORBA::Boolean
-POA_IR::ValueDef::TAO_ServerRequestInfo_IR_ValueDef_is_custom_set::target_is_a (
- const char * id,
- CORBA::Environment &ACE_TRY_ENV)
- ACE_THROW_SPEC ((CORBA::SystemException))
-{
- return this->_tao_impl->_is_a (id, ACE_TRY_ENV);
-}
-
-POA_IR::ValueDef::TAO_ServerRequestInfo_IR_ValueDef_is_truncatable_get::TAO_ServerRequestInfo_IR_ValueDef_is_truncatable_get (
- TAO_ServerRequest &_tao_server_request,
- POA_IR::ValueDef *tao_impl,
- CORBA::Environment &
- )
- : TAO_ServerRequestInfo (_tao_server_request),
- _tao_impl (tao_impl)
-{}
-
-Dynamic::ParameterList *
-POA_IR::ValueDef::TAO_ServerRequestInfo_IR_ValueDef_is_truncatable_get::arguments (CORBA::Environment &ACE_TRY_ENV)
- ACE_THROW_SPEC ((CORBA::SystemException))
-{
- // Generate the argument list on demand.
- Dynamic::ParameterList *parameter_list =
- TAO_RequestInfo_Util::make_parameter_list (ACE_TRY_ENV);
- ACE_CHECK_RETURN (0);
-
- return parameter_list;
-}
-
-Dynamic::ExceptionList *
-POA_IR::ValueDef::TAO_ServerRequestInfo_IR_ValueDef_is_truncatable_get::exceptions (CORBA::Environment &ACE_TRY_ENV)
- ACE_THROW_SPEC ((CORBA::SystemException))
-{
- // Generate the exception list on demand.
- Dynamic::ExceptionList *exception_list =
- TAO_RequestInfo_Util::make_exception_list (ACE_TRY_ENV);
- ACE_CHECK_RETURN (0);
-
- return exception_list;
-}
-
-CORBA::Any *
-POA_IR::ValueDef::TAO_ServerRequestInfo_IR_ValueDef_is_truncatable_get::result (CORBA::Environment &ACE_TRY_ENV)
- ACE_THROW_SPEC ((CORBA::SystemException))
-{
- // Generate the result on demand.
- CORBA::Boolean tk_void_any = 0;
- CORBA::Any *result_any =
- TAO_RequestInfo_Util::make_any (tk_void_any, ACE_TRY_ENV);
- ACE_CHECK_RETURN (0);
-
- CORBA::Any_var safe_result_any = result_any;
-
- (*result_any) <<= CORBA::Any::from_boolean (this->_result);
-
- return safe_result_any._retn ();
-}
-
-char *
-POA_IR::ValueDef::TAO_ServerRequestInfo_IR_ValueDef_is_truncatable_get::target_most_derived_interface (
- CORBA::Environment &)
- ACE_THROW_SPEC ((CORBA::SystemException))
-{
- return
- CORBA::string_dup (this->_tao_impl->_interface_repository_id ());
-}
-
-CORBA::Boolean
-POA_IR::ValueDef::TAO_ServerRequestInfo_IR_ValueDef_is_truncatable_get::target_is_a (
- const char * id,
- CORBA::Environment &ACE_TRY_ENV)
- ACE_THROW_SPEC ((CORBA::SystemException))
-{
- return this->_tao_impl->_is_a (id, ACE_TRY_ENV);
-}
-
-void
-POA_IR::ValueDef::TAO_ServerRequestInfo_IR_ValueDef_is_truncatable_get::result (CORBA::Boolean result)
-{
- // Update the result.
- this->_result = result;
-}
-
-POA_IR::ValueDef::TAO_ServerRequestInfo_IR_ValueDef_is_truncatable_set::TAO_ServerRequestInfo_IR_ValueDef_is_truncatable_set (
- TAO_ServerRequest &_tao_server_request,
- POA_IR::ValueDef *tao_impl,
- const CORBA::Boolean & is_truncatable,
- CORBA::Environment &
- )
- : TAO_ServerRequestInfo (_tao_server_request),
- _tao_impl (tao_impl),
- is_truncatable_ (is_truncatable)
-{}
-
-Dynamic::ParameterList *
-POA_IR::ValueDef::TAO_ServerRequestInfo_IR_ValueDef_is_truncatable_set::arguments (CORBA::Environment &ACE_TRY_ENV)
- ACE_THROW_SPEC ((CORBA::SystemException))
-{
- // Generate the argument list on demand.
- Dynamic::ParameterList *parameter_list =
- TAO_RequestInfo_Util::make_parameter_list (ACE_TRY_ENV);
- ACE_CHECK_RETURN (0);
-
- Dynamic::ParameterList_var safe_parameter_list = parameter_list;
-
- CORBA::ULong length_is_truncatable = parameter_list->length ();
- parameter_list->length (length_is_truncatable + 1);
- (*parameter_list)[length_is_truncatable].argument <<= CORBA::Any::from_boolean (this->is_truncatable_);
- (*parameter_list)[length_is_truncatable].mode = Dynamic::PARAM_IN;
-
- return safe_parameter_list._retn ();
-}
-
-Dynamic::ExceptionList *
-POA_IR::ValueDef::TAO_ServerRequestInfo_IR_ValueDef_is_truncatable_set::exceptions (CORBA::Environment &ACE_TRY_ENV)
- ACE_THROW_SPEC ((CORBA::SystemException))
-{
- // Generate the exception list on demand.
- Dynamic::ExceptionList *exception_list =
- TAO_RequestInfo_Util::make_exception_list (ACE_TRY_ENV);
- ACE_CHECK_RETURN (0);
-
- return exception_list;
-}
-
-CORBA::Any *
-POA_IR::ValueDef::TAO_ServerRequestInfo_IR_ValueDef_is_truncatable_set::result (CORBA::Environment &ACE_TRY_ENV)
- ACE_THROW_SPEC ((CORBA::SystemException))
-{
- // Generate the result on demand.
- CORBA::Boolean tk_void_any = 1;
- CORBA::Any *result_any =
- TAO_RequestInfo_Util::make_any (tk_void_any, ACE_TRY_ENV);
- ACE_CHECK_RETURN (0);
-
- return result_any;
-}
-
-char *
-POA_IR::ValueDef::TAO_ServerRequestInfo_IR_ValueDef_is_truncatable_set::target_most_derived_interface (
- CORBA::Environment &)
- ACE_THROW_SPEC ((CORBA::SystemException))
-{
- return
- CORBA::string_dup (this->_tao_impl->_interface_repository_id ());
-}
-
-CORBA::Boolean
-POA_IR::ValueDef::TAO_ServerRequestInfo_IR_ValueDef_is_truncatable_set::target_is_a (
- const char * id,
- CORBA::Environment &ACE_TRY_ENV)
- ACE_THROW_SPEC ((CORBA::SystemException))
-{
- return this->_tao_impl->_is_a (id, ACE_TRY_ENV);
-}
-
-POA_IR::ValueDef::TAO_ServerRequestInfo_IR_ValueDef_is_a::TAO_ServerRequestInfo_IR_ValueDef_is_a (
- TAO_ServerRequest &_tao_server_request,
- POA_IR::ValueDef *tao_impl,
- const char * id,
- CORBA::Environment &
- )
- : TAO_ServerRequestInfo (_tao_server_request),
- _tao_impl (tao_impl),
- id_ (id)
-{}
-
-Dynamic::ParameterList *
-POA_IR::ValueDef::TAO_ServerRequestInfo_IR_ValueDef_is_a::arguments (CORBA::Environment &ACE_TRY_ENV)
- ACE_THROW_SPEC ((CORBA::SystemException))
-{
- // Generate the argument list on demand.
- Dynamic::ParameterList *parameter_list =
- TAO_RequestInfo_Util::make_parameter_list (ACE_TRY_ENV);
- ACE_CHECK_RETURN (0);
-
- Dynamic::ParameterList_var safe_parameter_list = parameter_list;
-
- CORBA::ULong length_id = parameter_list->length ();
- parameter_list->length (length_id + 1);
- (*parameter_list)[length_id].argument <<= id_;
- (*parameter_list)[length_id].mode = Dynamic::PARAM_IN;
-
- return safe_parameter_list._retn ();
-}
-
-Dynamic::ExceptionList *
-POA_IR::ValueDef::TAO_ServerRequestInfo_IR_ValueDef_is_a::exceptions (CORBA::Environment &ACE_TRY_ENV)
- ACE_THROW_SPEC ((CORBA::SystemException))
-{
- // Generate the exception list on demand.
- Dynamic::ExceptionList *exception_list =
- TAO_RequestInfo_Util::make_exception_list (ACE_TRY_ENV);
- ACE_CHECK_RETURN (0);
-
- return exception_list;
-}
-
-CORBA::Any *
-POA_IR::ValueDef::TAO_ServerRequestInfo_IR_ValueDef_is_a::result (CORBA::Environment &ACE_TRY_ENV)
- ACE_THROW_SPEC ((CORBA::SystemException))
-{
- // Generate the result on demand.
- CORBA::Boolean tk_void_any = 0;
- CORBA::Any *result_any =
- TAO_RequestInfo_Util::make_any (tk_void_any, ACE_TRY_ENV);
- ACE_CHECK_RETURN (0);
-
- CORBA::Any_var safe_result_any = result_any;
-
- (*result_any) <<= CORBA::Any::from_boolean (this->_result);
-
- return safe_result_any._retn ();
-}
-
-char *
-POA_IR::ValueDef::TAO_ServerRequestInfo_IR_ValueDef_is_a::target_most_derived_interface (
- CORBA::Environment &)
- ACE_THROW_SPEC ((CORBA::SystemException))
-{
- return
- CORBA::string_dup (this->_tao_impl->_interface_repository_id ());
-}
-
-CORBA::Boolean
-POA_IR::ValueDef::TAO_ServerRequestInfo_IR_ValueDef_is_a::target_is_a (
- const char * id,
- CORBA::Environment &ACE_TRY_ENV)
- ACE_THROW_SPEC ((CORBA::SystemException))
-{
- return this->_tao_impl->_is_a (id, ACE_TRY_ENV);
-}
-
-void
-POA_IR::ValueDef::TAO_ServerRequestInfo_IR_ValueDef_is_a::result (CORBA::Boolean result)
-{
- // Update the result.
- this->_result = result;
-}
-
-POA_IR::ValueDef::TAO_ServerRequestInfo_IR_ValueDef_create_value_member::TAO_ServerRequestInfo_IR_ValueDef_create_value_member (
- TAO_ServerRequest &_tao_server_request,
- POA_IR::ValueDef *tao_impl,
- const char * id,
- const char * name,
- const char * version,
- IR_IDLType_ptr type,
- const CORBA::Visibility & access,
- CORBA::Environment &
- )
- : TAO_ServerRequestInfo (_tao_server_request),
- _tao_impl (tao_impl),
- id_ (id),
- name_ (name),
- version_ (version),
- type_ (type),
- access_ (access)
-{}
-
-Dynamic::ParameterList *
-POA_IR::ValueDef::TAO_ServerRequestInfo_IR_ValueDef_create_value_member::arguments (CORBA::Environment &ACE_TRY_ENV)
- ACE_THROW_SPEC ((CORBA::SystemException))
-{
- // Generate the argument list on demand.
- Dynamic::ParameterList *parameter_list =
- TAO_RequestInfo_Util::make_parameter_list (ACE_TRY_ENV);
- ACE_CHECK_RETURN (0);
-
- Dynamic::ParameterList_var safe_parameter_list = parameter_list;
-
- CORBA::ULong length_id = parameter_list->length ();
- parameter_list->length (length_id + 1);
- (*parameter_list)[length_id].argument <<= id_;
- (*parameter_list)[length_id].mode = Dynamic::PARAM_IN;
-
- CORBA::ULong length_name = parameter_list->length ();
- parameter_list->length (length_name + 1);
- (*parameter_list)[length_name].argument <<= name_;
- (*parameter_list)[length_name].mode = Dynamic::PARAM_IN;
-
- CORBA::ULong length_version = parameter_list->length ();
- parameter_list->length (length_version + 1);
- (*parameter_list)[length_version].argument <<= version_;
- (*parameter_list)[length_version].mode = Dynamic::PARAM_IN;
-
- CORBA::ULong length_type = parameter_list->length ();
- parameter_list->length (length_type + 1);
- (*parameter_list)[length_type].argument <<= this->type_;
-
- (*parameter_list)[length_type].mode = Dynamic::PARAM_IN;
-
- CORBA::ULong length_access = parameter_list->length ();
- parameter_list->length (length_access + 1);
- (*parameter_list)[length_access].argument <<= access_;
- (*parameter_list)[length_access].mode = Dynamic::PARAM_IN;
-
- return safe_parameter_list._retn ();
-}
-
-Dynamic::ExceptionList *
-POA_IR::ValueDef::TAO_ServerRequestInfo_IR_ValueDef_create_value_member::exceptions (CORBA::Environment &ACE_TRY_ENV)
- ACE_THROW_SPEC ((CORBA::SystemException))
-{
- // Generate the exception list on demand.
- Dynamic::ExceptionList *exception_list =
- TAO_RequestInfo_Util::make_exception_list (ACE_TRY_ENV);
- ACE_CHECK_RETURN (0);
-
- return exception_list;
-}
-
-CORBA::Any *
-POA_IR::ValueDef::TAO_ServerRequestInfo_IR_ValueDef_create_value_member::result (CORBA::Environment &ACE_TRY_ENV)
- ACE_THROW_SPEC ((CORBA::SystemException))
-{
- // Generate the result on demand.
- CORBA::Boolean tk_void_any = 0;
- CORBA::Any *result_any =
- TAO_RequestInfo_Util::make_any (tk_void_any, ACE_TRY_ENV);
- ACE_CHECK_RETURN (0);
-
- CORBA::Any_var safe_result_any = result_any;
-
- (*result_any) <<= this->_result;
-
- return safe_result_any._retn ();
-}
-
-char *
-POA_IR::ValueDef::TAO_ServerRequestInfo_IR_ValueDef_create_value_member::target_most_derived_interface (
- CORBA::Environment &)
- ACE_THROW_SPEC ((CORBA::SystemException))
-{
- return
- CORBA::string_dup (this->_tao_impl->_interface_repository_id ());
-}
-
-CORBA::Boolean
-POA_IR::ValueDef::TAO_ServerRequestInfo_IR_ValueDef_create_value_member::target_is_a (
- const char * id,
- CORBA::Environment &ACE_TRY_ENV)
- ACE_THROW_SPEC ((CORBA::SystemException))
-{
- return this->_tao_impl->_is_a (id, ACE_TRY_ENV);
-}
-
-void
-POA_IR::ValueDef::TAO_ServerRequestInfo_IR_ValueDef_create_value_member::result (IR::ValueMemberDef_ptr result)
-{
- // Update the result.
- this->_result = result;
-}
-
-POA_IR::ValueDef::TAO_ServerRequestInfo_IR_ValueDef_create_attribute::TAO_ServerRequestInfo_IR_ValueDef_create_attribute (
- TAO_ServerRequest &_tao_server_request,
- POA_IR::ValueDef *tao_impl,
- const char * id,
- const char * name,
- const char * version,
- IR_IDLType_ptr type,
- IR_AttributeMode & mode,
- const IR_ExceptionDefSeq & get_exceptions,
- const IR_ExceptionDefSeq & put_exceptions,
- CORBA::Environment &
- )
- : TAO_ServerRequestInfo (_tao_server_request),
- _tao_impl (tao_impl),
- id_ (id),
- name_ (name),
- version_ (version),
- type_ (type),
- mode_ (mode),
- get_exceptions_ (get_exceptions),
- put_exceptions_ (put_exceptions)
-{}
-
-Dynamic::ParameterList *
-POA_IR::ValueDef::TAO_ServerRequestInfo_IR_ValueDef_create_attribute::arguments (CORBA::Environment &ACE_TRY_ENV)
- ACE_THROW_SPEC ((CORBA::SystemException))
-{
- // Generate the argument list on demand.
- Dynamic::ParameterList *parameter_list =
- TAO_RequestInfo_Util::make_parameter_list (ACE_TRY_ENV);
- ACE_CHECK_RETURN (0);
-
- Dynamic::ParameterList_var safe_parameter_list = parameter_list;
-
- CORBA::ULong length_id = parameter_list->length ();
- parameter_list->length (length_id + 1);
- (*parameter_list)[length_id].argument <<= id_;
- (*parameter_list)[length_id].mode = Dynamic::PARAM_IN;
-
- CORBA::ULong length_name = parameter_list->length ();
- parameter_list->length (length_name + 1);
- (*parameter_list)[length_name].argument <<= name_;
- (*parameter_list)[length_name].mode = Dynamic::PARAM_IN;
-
- CORBA::ULong length_version = parameter_list->length ();
- parameter_list->length (length_version + 1);
- (*parameter_list)[length_version].argument <<= version_;
- (*parameter_list)[length_version].mode = Dynamic::PARAM_IN;
-
- CORBA::ULong length_type = parameter_list->length ();
- parameter_list->length (length_type + 1);
- (*parameter_list)[length_type].argument <<= this->type_;
-
- (*parameter_list)[length_type].mode = Dynamic::PARAM_IN;
-
- CORBA::ULong length_mode = parameter_list->length ();
- parameter_list->length (length_mode + 1);
- (*parameter_list)[length_mode].argument <<= this->mode_;
-
- (*parameter_list)[length_mode].mode = Dynamic::PARAM_IN;
-
- CORBA::ULong length_get_exceptions = parameter_list->length ();
- parameter_list->length (length_get_exceptions + 1);
- (*parameter_list)[length_get_exceptions].argument <<= this->get_exceptions_;
-
- (*parameter_list)[length_get_exceptions].mode = Dynamic::PARAM_IN;
-
- CORBA::ULong length_put_exceptions = parameter_list->length ();
- parameter_list->length (length_put_exceptions + 1);
- (*parameter_list)[length_put_exceptions].argument <<= this->put_exceptions_;
-
- (*parameter_list)[length_put_exceptions].mode = Dynamic::PARAM_IN;
-
- return safe_parameter_list._retn ();
-}
-
-Dynamic::ExceptionList *
-POA_IR::ValueDef::TAO_ServerRequestInfo_IR_ValueDef_create_attribute::exceptions (CORBA::Environment &ACE_TRY_ENV)
- ACE_THROW_SPEC ((CORBA::SystemException))
-{
- // Generate the exception list on demand.
- Dynamic::ExceptionList *exception_list =
- TAO_RequestInfo_Util::make_exception_list (ACE_TRY_ENV);
- ACE_CHECK_RETURN (0);
-
- return exception_list;
-}
-
-CORBA::Any *
-POA_IR::ValueDef::TAO_ServerRequestInfo_IR_ValueDef_create_attribute::result (CORBA::Environment &ACE_TRY_ENV)
- ACE_THROW_SPEC ((CORBA::SystemException))
-{
- // Generate the result on demand.
- CORBA::Boolean tk_void_any = 0;
- CORBA::Any *result_any =
- TAO_RequestInfo_Util::make_any (tk_void_any, ACE_TRY_ENV);
- ACE_CHECK_RETURN (0);
-
- CORBA::Any_var safe_result_any = result_any;
-
- (*result_any) <<= this->_result;
-
- return safe_result_any._retn ();
-}
-
-char *
-POA_IR::ValueDef::TAO_ServerRequestInfo_IR_ValueDef_create_attribute::target_most_derived_interface (
- CORBA::Environment &)
- ACE_THROW_SPEC ((CORBA::SystemException))
-{
- return
- CORBA::string_dup (this->_tao_impl->_interface_repository_id ());
-}
-
-CORBA::Boolean
-POA_IR::ValueDef::TAO_ServerRequestInfo_IR_ValueDef_create_attribute::target_is_a (
- const char * id,
- CORBA::Environment &ACE_TRY_ENV)
- ACE_THROW_SPEC ((CORBA::SystemException))
-{
- return this->_tao_impl->_is_a (id, ACE_TRY_ENV);
-}
-
-void
-POA_IR::ValueDef::TAO_ServerRequestInfo_IR_ValueDef_create_attribute::result (IR::AttributeDef_ptr result)
-{
- // Update the result.
- this->_result = result;
-}
-
-POA_IR::ValueDef::TAO_ServerRequestInfo_IR_ValueDef_create_operation::TAO_ServerRequestInfo_IR_ValueDef_create_operation (
- TAO_ServerRequest &_tao_server_request,
- POA_IR::ValueDef *tao_impl,
- const char * id,
- const char * name,
- const char * version,
- IR_IDLType_ptr result,
- IR_OperationMode & mode,
- const IR_ParDescriptionSeq & params,
- const IR_ExceptionDefSeq & exceptions,
- const IR_ContextIdSeq & contexts,
- CORBA::Environment &
- )
- : TAO_ServerRequestInfo (_tao_server_request),
- _tao_impl (tao_impl),
- id_ (id),
- name_ (name),
- version_ (version),
- result_ (result),
- mode_ (mode),
- params_ (params),
- exceptions_ (exceptions),
- contexts_ (contexts)
-{}
-
-Dynamic::ParameterList *
-POA_IR::ValueDef::TAO_ServerRequestInfo_IR_ValueDef_create_operation::arguments (CORBA::Environment &ACE_TRY_ENV)
- ACE_THROW_SPEC ((CORBA::SystemException))
-{
- // Generate the argument list on demand.
- Dynamic::ParameterList *parameter_list =
- TAO_RequestInfo_Util::make_parameter_list (ACE_TRY_ENV);
- ACE_CHECK_RETURN (0);
-
- Dynamic::ParameterList_var safe_parameter_list = parameter_list;
-
- CORBA::ULong length_id = parameter_list->length ();
- parameter_list->length (length_id + 1);
- (*parameter_list)[length_id].argument <<= id_;
- (*parameter_list)[length_id].mode = Dynamic::PARAM_IN;
-
- CORBA::ULong length_name = parameter_list->length ();
- parameter_list->length (length_name + 1);
- (*parameter_list)[length_name].argument <<= name_;
- (*parameter_list)[length_name].mode = Dynamic::PARAM_IN;
-
- CORBA::ULong length_version = parameter_list->length ();
- parameter_list->length (length_version + 1);
- (*parameter_list)[length_version].argument <<= version_;
- (*parameter_list)[length_version].mode = Dynamic::PARAM_IN;
-
- CORBA::ULong length_result = parameter_list->length ();
- parameter_list->length (length_result + 1);
- (*parameter_list)[length_result].argument <<= this->result_;
-
- (*parameter_list)[length_result].mode = Dynamic::PARAM_IN;
-
- CORBA::ULong length_mode = parameter_list->length ();
- parameter_list->length (length_mode + 1);
- (*parameter_list)[length_mode].argument <<= this->mode_;
-
- (*parameter_list)[length_mode].mode = Dynamic::PARAM_IN;
-
- CORBA::ULong length_params = parameter_list->length ();
- parameter_list->length (length_params + 1);
- (*parameter_list)[length_params].argument <<= this->params_;
-
- (*parameter_list)[length_params].mode = Dynamic::PARAM_IN;
-
- CORBA::ULong length_exceptions = parameter_list->length ();
- parameter_list->length (length_exceptions + 1);
- (*parameter_list)[length_exceptions].argument <<= this->exceptions_;
-
- (*parameter_list)[length_exceptions].mode = Dynamic::PARAM_IN;
-
- CORBA::ULong length_contexts = parameter_list->length ();
- parameter_list->length (length_contexts + 1);
- (*parameter_list)[length_contexts].argument <<= this->contexts_;
-
- (*parameter_list)[length_contexts].mode = Dynamic::PARAM_IN;
-
- return safe_parameter_list._retn ();
-}
-
-Dynamic::ExceptionList *
-POA_IR::ValueDef::TAO_ServerRequestInfo_IR_ValueDef_create_operation::exceptions (CORBA::Environment &ACE_TRY_ENV)
- ACE_THROW_SPEC ((CORBA::SystemException))
-{
- // Generate the exception list on demand.
- Dynamic::ExceptionList *exception_list =
- TAO_RequestInfo_Util::make_exception_list (ACE_TRY_ENV);
- ACE_CHECK_RETURN (0);
-
- return exception_list;
-}
-
-CORBA::Any *
-POA_IR::ValueDef::TAO_ServerRequestInfo_IR_ValueDef_create_operation::result (CORBA::Environment &ACE_TRY_ENV)
- ACE_THROW_SPEC ((CORBA::SystemException))
-{
- // Generate the result on demand.
- CORBA::Boolean tk_void_any = 0;
- CORBA::Any *result_any =
- TAO_RequestInfo_Util::make_any (tk_void_any, ACE_TRY_ENV);
- ACE_CHECK_RETURN (0);
-
- CORBA::Any_var safe_result_any = result_any;
-
- (*result_any) <<= this->_result;
-
- return safe_result_any._retn ();
-}
-
-char *
-POA_IR::ValueDef::TAO_ServerRequestInfo_IR_ValueDef_create_operation::target_most_derived_interface (
- CORBA::Environment &)
- ACE_THROW_SPEC ((CORBA::SystemException))
-{
- return
- CORBA::string_dup (this->_tao_impl->_interface_repository_id ());
-}
-
-CORBA::Boolean
-POA_IR::ValueDef::TAO_ServerRequestInfo_IR_ValueDef_create_operation::target_is_a (
- const char * id,
- CORBA::Environment &ACE_TRY_ENV)
- ACE_THROW_SPEC ((CORBA::SystemException))
-{
- return this->_tao_impl->_is_a (id, ACE_TRY_ENV);
-}
-
-void
-POA_IR::ValueDef::TAO_ServerRequestInfo_IR_ValueDef_create_operation::result (IR::OperationDef_ptr result)
-{
- // Update the result.
- this->_result = result;
-}
-
-#endif /* TAO_HAS_INTERCEPTORS */
-
-class TAO_IR_ValueBoxDef_Perfect_Hash_OpTable : public TAO_Perfect_Hash_OpTable
-{
-private:
- unsigned int hash (const char *str, unsigned int len);
-public:
- const TAO_operation_db_entry * lookup (const char *str, unsigned int len);
-};
-/* starting time is 11:23:11 */
-/* C++ code produced by gperf version 2.8 (ACE version) */
-/* Command-line: gperf -m -M -J -c -C -D -E -T -f 0 -F 0 -a -o -t -p -K opname_ -L C++ -Z TAO_IR_ValueBoxDef_Perfect_Hash_OpTable -N lookup */
-unsigned int
-TAO_IR_ValueBoxDef_Perfect_Hash_OpTable::hash (const char *str, unsigned int len)
-{
- static const unsigned char asso_values[] =
- {
-#if defined (ACE_MVS)
- 37, 37, 37, 37, 37, 37, 37, 37, 37, 37,
- 37, 37, 37, 37, 37, 37, 37, 37, 37, 37,
- 37, 37, 37, 37, 37, 37, 37, 37, 37, 37,
- 37, 37, 37, 37, 37, 37, 37, 37, 37, 37,
- 37, 37, 37, 37, 37, 37, 37, 37, 37, 37,
- 37, 37, 37, 37, 37, 37, 37, 37, 37, 37,
- 37, 37, 37, 37, 37, 37, 37, 37, 37, 37,
- 37, 37, 37, 37, 37, 37, 37, 37, 37, 37,
- 37, 37, 37, 37, 37, 37, 37, 37, 37, 37,
- 37, 37, 37, 37, 37, 37, 37, 37, 37, 37,
- 37, 37, 37, 37, 37, 37, 37, 37, 37, 0,
- 37, 37, 37, 37, 37, 37, 37, 37, 37, 37,
- 37, 37, 37, 37, 37, 37, 37, 37, 37, 0,
- 37, 37, 0, 0, 0, 37, 37, 37, 37, 37,
- 37, 37, 37, 37, 37, 37, 37, 37, 0, 0,
- 37, 37, 37, 37, 37, 37, 37, 37, 37, 37,
- 37, 37, 37, 10, 37, 37, 37, 37, 10, 37,
- 37, 37, 37, 37, 37, 37, 37, 37, 37, 37,
- 37, 37, 37, 37, 37, 37, 37, 37, 37, 37,
- 37, 37, 37, 37, 37, 37, 37, 37, 37, 37,
- 37, 37, 37, 37, 37, 37, 37, 37, 37, 37,
- 37, 37, 37, 37, 37, 37, 37, 37, 37, 37,
- 37, 37, 37, 37, 37, 37, 37, 37, 37, 37,
- 37, 37, 37, 37, 37, 37, 37, 37, 37, 37,
- 37, 37, 37, 37, 37, 37, 37, 37, 37, 37,
- 37, 37, 37, 37, 37, 37,
-#else
- 37, 37, 37, 37, 37, 37, 37, 37, 37, 37,
- 37, 37, 37, 37, 37, 37, 37, 37, 37, 37,
- 37, 37, 37, 37, 37, 37, 37, 37, 37, 37,
- 37, 37, 37, 37, 37, 37, 37, 37, 37, 37,
- 37, 37, 37, 37, 37, 37, 37, 37, 37, 37,
- 37, 37, 37, 37, 37, 37, 37, 37, 37, 37,
- 37, 37, 37, 37, 37, 37, 37, 37, 37, 37,
- 37, 37, 37, 37, 37, 37, 37, 37, 37, 37,
- 37, 37, 37, 37, 37, 37, 37, 37, 37, 37,
- 37, 37, 37, 37, 37, 0, 37, 0, 37, 37,
- 0, 0, 0, 37, 37, 37, 37, 37, 37, 0,
- 0, 37, 37, 37, 37, 37, 10, 37, 37, 37,
- 37, 10, 37, 37, 37, 37, 37, 37,
-#endif /* ACE_MVS */
- };
- return len + asso_values[str[len - 1]] + asso_values[str[0]];
-}
-
-const class TAO_operation_db_entry *
-TAO_IR_ValueBoxDef_Perfect_Hash_OpTable::lookup (const char *str, unsigned int len)
-{
- enum
- {
- TOTAL_KEYWORDS = 18,
- MIN_WORD_LENGTH = 4,
- MAX_WORD_LENGTH = 26,
- MIN_HASH_VALUE = 4,
- MAX_HASH_VALUE = 36,
- HASH_VALUE_RANGE = 33,
- DUPLICATES = 6
- };
-
- static const class TAO_operation_db_entry wordlist[] =
- {
- {"",0},{"",0},{"",0},{"",0},
- {"move", &POA_IR::ValueBoxDef::move_skel},
- {"_is_a", &POA_IR::ValueBoxDef::_is_a_skel},
- {"_get_id", &POA_IR::ValueBoxDef::_get_id_skel},
- {"_set_id", &POA_IR::ValueBoxDef::_set_id_skel},
- {"describe", &POA_IR::ValueBoxDef::describe_skel},
- {"_get_name", &POA_IR::ValueBoxDef::_get_name_skel},
- {"_get_type", &POA_IR::ValueBoxDef::_get_type_skel},
- {"_set_name", &POA_IR::ValueBoxDef::_set_name_skel},
- {"_get_version", &POA_IR::ValueBoxDef::_get_version_skel},
- {"_set_version", &POA_IR::ValueBoxDef::_set_version_skel},
- {"_get_def_kind", &POA_IR::ValueBoxDef::_get_def_kind_skel},
- {"_get_defined_in", &POA_IR::ValueBoxDef::_get_defined_in_skel},
- {"destroy", &POA_IR::ValueBoxDef::destroy_skel},
- {"_get_absolute_name", &POA_IR::ValueBoxDef::_get_absolute_name_skel},
- {"_get_original_type_def", &POA_IR::ValueBoxDef::_get_original_type_def_skel},
- {"_set_original_type_def", &POA_IR::ValueBoxDef::_set_original_type_def_skel},
- {"_non_existent", &POA_IR::ValueBoxDef::_non_existent_skel},
- {"_get_containing_repository", &POA_IR::ValueBoxDef::_get_containing_repository_skel},
- };
-
- static const signed char lookup[] =
- {
- -6, -2, -9, -3, 4, 5, -1, -43, 8, -43, -12, -2, -38, 14,
- -1, 15, -1, 16, 17, -1, -18, -2, -38, 20, -1, -1, -1, -1,
- -1, -1, -1, -1, -1, -1, -1, -1, 21,
- };
-
- if (len <= MAX_WORD_LENGTH && len >= MIN_WORD_LENGTH)
- {
- unsigned int key = hash (str, len);
-
- if (key <= MAX_HASH_VALUE && key >= MIN_HASH_VALUE)
- {
- int slot = lookup[key];
-
- if (slot >= 0 && slot < MAX_HASH_VALUE)
- {
- const char *s = wordlist[slot].opname_;
-
- if (*str == *s && !strncmp (str + 1, s + 1, len - 1))
- return &wordlist[slot];
- }
- else if (slot < 0 && slot >= -MAX_HASH_VALUE)
- return 0;
- else
- {
- unsigned int offset = key + slot + (slot > 0 ? -MAX_HASH_VALUE : MAX_HASH_VALUE);
- const class TAO_operation_db_entry *base = &wordlist[-lookup[offset]];
- const class TAO_operation_db_entry *ptr = base + -lookup[offset + 1];
-
- while (--ptr >= base)
- if (*str == *ptr->opname_ && !strncmp (str + 1, ptr->opname_ + 1, len - 1))
- return ptr;
- }
- }
- }
- return 0;
-}
-/* ending time is 11:23:11 */
-static TAO_IR_ValueBoxDef_Perfect_Hash_OpTable tao_IR_ValueBoxDef_optable;
-
-///////////////////////////////////////////////////////////////////////
-// Strategized Proxy Broker Implementation
-//
-
-// Factory function Implementation.
-POA_IR::_TAO_ValueBoxDef_Strategized_Proxy_Broker *POA_IR::_TAO_ValueBoxDef_Strategized_Proxy_Broker::the_TAO_ValueBoxDef_Strategized_Proxy_Broker (void)
-{
- static POA_IR::_TAO_ValueBoxDef_Strategized_Proxy_Broker strategized_proxy_broker;
- return &strategized_proxy_broker;
-}
-
-POA_IR::_TAO_ValueBoxDef_Strategized_Proxy_Broker::_TAO_ValueBoxDef_Strategized_Proxy_Broker (void)
-{
- for (int i = 0; i < TAO_Collocation_Strategies::CS_LAST; ++i)
- this->proxy_cache_[i] = 0;
-
-}
-
-POA_IR::_TAO_ValueBoxDef_Strategized_Proxy_Broker::~_TAO_ValueBoxDef_Strategized_Proxy_Broker (void)
-{
- for (int i = 0; i < TAO_Collocation_Strategies::CS_LAST; ++i)
- delete this->proxy_cache_[i];
-
-}
-
-_TAO_ValueBoxDef_Proxy_Impl&
-POA_IR::_TAO_ValueBoxDef_Strategized_Proxy_Broker::select_proxy (
- IR_ValueBoxDef *object,
- CORBA::Environment &ACE_TRY_ENV
- )
-{
- int strategy =
- TAO_ORB_Core::collocation_strategy (object);
-
- if (this->proxy_cache_[strategy] != 0)
- return *this->proxy_cache_[strategy];
-
- this->create_proxy (strategy, ACE_TRY_ENV);
- ACE_CHECK_RETURN (*this->proxy_cache_[strategy]);
-
- return *this->proxy_cache_[strategy];
-
-}
-
-void
-POA_IR::_TAO_ValueBoxDef_Strategized_Proxy_Broker::create_proxy (
- int strategy,
- CORBA::Environment &ACE_TRY_ENV
- )
-{
- ACE_GUARD (TAO_SYNCH_MUTEX, guard, this->mutex_);
-
- if (this->proxy_cache_[strategy] == 0)
- {
- switch (strategy)
- {
- case TAO_Collocation_Strategies::CS_THRU_POA_STRATEGY:
- ACE_NEW_THROW_EX (
- this->proxy_cache_[strategy],
- _TAO_ValueBoxDef_ThruPOA_Proxy_Impl,
- CORBA::NO_MEMORY ()
- );
- ACE_CHECK;
- break;
-
- case TAO_Collocation_Strategies::CS_REMOTE_STRATEGY:
- default:
- ACE_NEW_THROW_EX (
- this->proxy_cache_[strategy],
- _TAO_ValueBoxDef_Remote_Proxy_Impl,
- CORBA::NO_MEMORY ()
- );
- ACE_CHECK;
- break;
-
- }
-
- }
-}
-
-
-//
-// End Strategized Proxy Broker Implementation
-///////////////////////////////////////////////////////////////////////
-
-
-_TAO_ValueBoxDef_Proxy_Broker *
-_TAO_ValueBoxDef_Proxy_Broker_Factory_function (CORBA::Object_ptr obj)
-{
- ACE_UNUSED_ARG (obj);
- return ::POA_IR::_TAO_ValueBoxDef_Strategized_Proxy_Broker::the_TAO_ValueBoxDef_Strategized_Proxy_Broker();
-}
-
-int
-_TAO_ValueBoxDef_Proxy_Broker_Factory_Initializer (long _dummy_)
-{
- ACE_UNUSED_ARG (_dummy_);
-
- _TAO_ValueBoxDef_Proxy_Broker_Factory_function_pointer =
- _TAO_ValueBoxDef_Proxy_Broker_Factory_function;
-
- return 0;
-}
-
-static int _TAO_ValueBoxDef_Proxy_Broker_Stub_Factory_Initializer_Scarecrow =
- _TAO_ValueBoxDef_Proxy_Broker_Factory_Initializer (ACE_reinterpret_cast (long, _TAO_ValueBoxDef_Proxy_Broker_Factory_Initializer));
-
-
-///////////////////////////////////////////////////////////////////////
-// ThruPOA Proxy Implementation
-//
-
-POA_IR::_TAO_ValueBoxDef_ThruPOA_Proxy_Impl::_TAO_ValueBoxDef_ThruPOA_Proxy_Impl (void)
-{}
-
-// ThruPOA Implementation of the IDL interface methods
-
-IR_IDLType_ptr POA_IR::_TAO_ValueBoxDef_ThruPOA_Proxy_Impl::original_type_def (
- CORBA_Object *_collocated_tao_target_,
- CORBA::Environment &ACE_TRY_ENV
- )
- ACE_THROW_SPEC ((
- CORBA::SystemException
- ))
-{
- IR_IDLType_var _tao_retval;
- ACE_UNUSED_ARG (_tao_retval);
- TAO_Object_Adapter::Servant_Upcall servant_upcall (
- _collocated_tao_target_->_stubobj ()->servant_orb_var ()->orb_core ()
- );
- CORBA::Object_var forward_to;
- servant_upcall.prepare_for_upcall (
- _collocated_tao_target_->_object_key (),
- "original_type_def",
- forward_to.out (),
- ACE_TRY_ENV
- );
- ACE_CHECK_RETURN (0);
- return ACE_reinterpret_cast (
- POA_IR::ValueBoxDef_ptr,
- servant_upcall.servant ()->_downcast (
- "IDL:omg.org/IR/ValueBoxDef:1.0"
- )
- )->original_type_def (
- ACE_TRY_ENV
- );
-}
-
-void POA_IR::_TAO_ValueBoxDef_ThruPOA_Proxy_Impl::original_type_def (
- CORBA_Object *_collocated_tao_target_,
- IR_IDLType_ptr original_type_def,
- CORBA::Environment &ACE_TRY_ENV
- )
- ACE_THROW_SPEC ((
- CORBA::SystemException
- ))
-{
- TAO_Object_Adapter::Servant_Upcall servant_upcall (
- _collocated_tao_target_->_stubobj ()->servant_orb_var ()->orb_core ()
- );
- CORBA::Object_var forward_to;
- servant_upcall.prepare_for_upcall (
- _collocated_tao_target_->_object_key (),
- "original_type_def",
- forward_to.out (),
- ACE_TRY_ENV
- );
- ACE_CHECK;
- ACE_reinterpret_cast (
- POA_IR::ValueBoxDef_ptr,
- servant_upcall.servant ()->_downcast (
- "IDL:omg.org/IR/ValueBoxDef:1.0"
- )
- )->original_type_def (
- original_type_def,
- ACE_TRY_ENV
- );
- return;
-}
-
-//
-// End ThruPOA Proxy Implementation
-///////////////////////////////////////////////////////////////////////
-
-// skeleton constructor
-POA_IR::ValueBoxDef::ValueBoxDef (void)
-{
- this->optable_ = &tao_IR_ValueBoxDef_optable;
-}
-
-// copy ctor
-POA_IR::ValueBoxDef::ValueBoxDef (const ValueBoxDef& rhs)
- : ACE_NESTED_CLASS (POA_IR,TypedefDef) (rhs),
- ACE_NESTED_CLASS (POA_IR,Contained) (rhs),
- ACE_NESTED_CLASS (POA_IR,IDLType) (rhs),
- POA_CORBA_IRObject (rhs),
- TAO_ServantBase (rhs)
-{}
-
-// skeleton destructor
-POA_IR::ValueBoxDef::~ValueBoxDef (void)
-{
-}
-
-void POA_IR::ValueBoxDef::_get_original_type_def_skel (
- TAO_ServerRequest &_tao_server_request,
- void *_tao_object_reference,
- void * /* context */,
- CORBA::Environment &ACE_TRY_ENV
-)
-{
- POA_IR::ValueBoxDef *_tao_impl = (POA_IR::ValueBoxDef *)_tao_object_reference;
-
- IR_IDLType_var _tao_retval;
-
-#if (TAO_HAS_INTERCEPTORS == 1)
- TAO_ServerRequestInterceptor_Adapter _tao_vfr (
- _tao_server_request.orb_core ()->server_request_interceptors (),
- _tao_server_request.interceptor_count ()
- );
-
- POA_IR::ValueBoxDef::TAO_ServerRequestInfo_IR_ValueBoxDef_original_type_def_get ri (
- _tao_server_request,
- _tao_impl,
- ACE_TRY_ENV
- );
-
- ACE_TRY
- {
- _tao_vfr.receive_request (&ri, ACE_TRY_ENV);
- ACE_TRY_CHECK;
-
-#endif /* TAO_HAS_INTERCEPTORS */
- _tao_retval =
- _tao_impl->original_type_def (
- ACE_TRY_ENV
- );
- TAO_INTERCEPTOR_CHECK;
-
-#if (TAO_HAS_INTERCEPTORS == 1)
- IR_IDLType_ptr _tao_retval_info = _tao_retval._retn ();
- ri.result (_tao_retval_info);
- _tao_retval = _tao_retval_info;
- ri.reply_status (PortableInterceptor::SUCCESSFUL);
- _tao_vfr.send_reply (&ri, ACE_TRY_ENV);
- ACE_TRY_CHECK;
- }
- ACE_CATCH (PortableInterceptor::ForwardRequest, exc)
- {
- ri.forward_reference (exc);
- _tao_vfr.send_other (
- &ri,
- ACE_TRY_ENV
- );
- ACE_TRY_CHECK;
- _tao_server_request.forward_location (exc.forward.in ());
- }
- ACE_CATCHANY
- {
- ri.exception (&ACE_ANY_EXCEPTION);
- _tao_vfr.send_exception (
- &ri,
- ACE_TRY_ENV
- );
- ACE_TRY_CHECK;
- ACE_RE_THROW;
- }
- ACE_ENDTRY;
- ACE_CHECK;
-#endif /* TAO_HAS_INTERCEPTORS */
-
- _tao_server_request.init_reply ();
-
- TAO_OutputCDR &_tao_out = _tao_server_request.outgoing ();
-
- if (!(
- (_tao_out << _tao_retval.in ())
- ))
- ACE_THROW (CORBA::MARSHAL());
-
- // In case ACE_TRY_ENV is not used in this function
- ACE_UNUSED_ARG (ACE_TRY_ENV);
-}
-
-void POA_IR::ValueBoxDef::_set_original_type_def_skel (
- TAO_ServerRequest &_tao_server_request,
- void *_tao_object_reference,
- void * /* context */,
- CORBA::Environment &ACE_TRY_ENV
-)
-{
- TAO_InputCDR &_tao_in = _tao_server_request.incoming ();
- POA_IR::ValueBoxDef *_tao_impl = (POA_IR::ValueBoxDef *)_tao_object_reference;
-
- IR_IDLType_var original_type_def;
- if (!(
- (_tao_in >> original_type_def.out ())
- ))
- ACE_THROW (CORBA::MARSHAL () );
-
-#if (TAO_HAS_INTERCEPTORS == 1)
- TAO_ServerRequestInterceptor_Adapter _tao_vfr (
- _tao_server_request.orb_core ()->server_request_interceptors (),
- _tao_server_request.interceptor_count ()
- );
-
- POA_IR::ValueBoxDef::TAO_ServerRequestInfo_IR_ValueBoxDef_original_type_def_set ri (
- _tao_server_request,
- _tao_impl,
- original_type_def.in (),
- ACE_TRY_ENV
- );
-
- ACE_TRY
- {
- _tao_vfr.receive_request (&ri, ACE_TRY_ENV);
- ACE_TRY_CHECK;
-
-#endif /* TAO_HAS_INTERCEPTORS */
-
- _tao_impl->original_type_def (
- original_type_def.in (),
- ACE_TRY_ENV
- );
- TAO_INTERCEPTOR_CHECK;
-
-#if (TAO_HAS_INTERCEPTORS == 1)
- ri.reply_status (PortableInterceptor::SUCCESSFUL);
- _tao_vfr.send_reply (&ri, ACE_TRY_ENV);
- ACE_TRY_CHECK;
- }
- ACE_CATCH (PortableInterceptor::ForwardRequest, exc)
- {
- ri.forward_reference (exc);
- _tao_vfr.send_other (
- &ri,
- ACE_TRY_ENV
- );
- ACE_TRY_CHECK;
- _tao_server_request.forward_location (exc.forward.in ());
- }
- ACE_CATCHANY
- {
- ri.exception (&ACE_ANY_EXCEPTION);
- _tao_vfr.send_exception (
- &ri,
- ACE_TRY_ENV
- );
- ACE_TRY_CHECK;
- ACE_RE_THROW;
- }
- ACE_ENDTRY;
- ACE_CHECK;
-#endif /* TAO_HAS_INTERCEPTORS */
-
- _tao_server_request.init_reply ();
-
- // In case ACE_TRY_ENV is not used in this function
- ACE_UNUSED_ARG (ACE_TRY_ENV);
-}
-
-void POA_IR::ValueBoxDef::_is_a_skel (
- TAO_ServerRequest &_tao_server_request,
- void * _tao_object_reference,
- void * /* context */,
- CORBA::Environment &ACE_TRY_ENV
- )
-{
- TAO_InputCDR &_tao_in = _tao_server_request.incoming ();
- POA_IR::ValueBoxDef *_tao_impl = (POA_IR::ValueBoxDef *) _tao_object_reference;
- CORBA::Boolean _tao_retval = 0;
- CORBA::String_var value;
- if (!((_tao_in >> value.out ())))
- ACE_THROW (CORBA::MARSHAL ());
-
- _tao_retval = _tao_impl->_is_a (value.in (), ACE_TRY_ENV);
- ACE_CHECK;
-
- _tao_server_request.init_reply ();
- TAO_OutputCDR &_tao_out = _tao_server_request.outgoing ();
- if (!((_tao_out << CORBA::Any::from_boolean (_tao_retval))))
- ACE_THROW (CORBA::MARSHAL ());
-}
-
-void POA_IR::ValueBoxDef::_non_existent_skel (
- TAO_ServerRequest &_tao_server_request,
- void * _tao_object_reference,
- void * /* context */,
- CORBA::Environment &ACE_TRY_ENV
- )
-{
- POA_IR::ValueBoxDef *_tao_impl = (POA_IR::ValueBoxDef *) _tao_object_reference;
- CORBA::Boolean _tao_retval = _tao_impl->_non_existent (ACE_TRY_ENV);
- ACE_CHECK;
-
- _tao_server_request.init_reply ();
- TAO_OutputCDR &_tao_out = _tao_server_request.outgoing ();
- if (!((_tao_out << CORBA::Any::from_boolean (_tao_retval))))
- ACE_THROW (CORBA::MARSHAL ());
-}
-
-CORBA::Boolean POA_IR::ValueBoxDef::_is_a (
- const char* value,
- CORBA::Environment &ACE_TRY_ENV
- )
-{
- if (
- (!ACE_OS::strcmp ((char *)value, "IDL:omg.org/IR/ValueBoxDef:1.0")) ||
- (!ACE_OS::strcmp ((char *)value, "IDL:omg.org/IR/TypedefDef:1.0")) ||
- (!ACE_OS::strcmp ((char *)value, "IDL:omg.org/IR/Contained:1.0")) ||
- (!ACE_OS::strcmp ((char *)value, "IDL:omg.org/IR/IDLType:1.0")) ||
- (!ACE_OS::strcmp ((char *)value, "IDL:omg.org/CORBA/IRObject:1.0")) ||
- (!ACE_OS::strcmp ((char *)value, CORBA::_tc_Object->id (ACE_TRY_ENV))))
- return 1;
- else
- return 0;
-}
-
-void* POA_IR::ValueBoxDef::_downcast (
- const char* logical_type_id
- )
-{
- if (ACE_OS::strcmp (logical_type_id, "IDL:omg.org/IR/ValueBoxDef:1.0") == 0)
- return ACE_static_cast (POA_IR::ValueBoxDef_ptr, this);
- if (ACE_OS::strcmp (logical_type_id, "IDL:omg.org/IR/TypedefDef:1.0") == 0)
- return ACE_static_cast (POA_IR::TypedefDef_ptr, this);
- if (ACE_OS::strcmp (logical_type_id, "IDL:omg.org/IR/Contained:1.0") == 0)
- return ACE_static_cast (POA_IR::Contained_ptr, this);
- if (ACE_OS::strcmp (logical_type_id, "IDL:omg.org/IR/IDLType:1.0") == 0)
- return ACE_static_cast (POA_IR::IDLType_ptr, this);
- if (ACE_OS::strcmp (logical_type_id, "IDL:omg.org/CORBA/IRObject:1.0") == 0)
- return ACE_static_cast (POA_CORBA_IRObject_ptr, this);
- if (ACE_OS::strcmp (logical_type_id, "IDL:omg.org/CORBA/Object:1.0") == 0)
- return ACE_static_cast(PortableServer::Servant, this);
- return 0;
-}
-
-void POA_IR::ValueBoxDef::_dispatch (TAO_ServerRequest &req, void *context, CORBA::Environment &ACE_TRY_ENV)
-{
- this->synchronous_upcall_dispatch(req, context, this, ACE_TRY_ENV);
-}
-
-const char* POA_IR::ValueBoxDef::_interface_repository_id (void) const
-{
- return "IDL:omg.org/IR/ValueBoxDef:1.0";
-}
-
-IR::ValueBoxDef*
-POA_IR::ValueBoxDef::_this (CORBA_Environment &ACE_TRY_ENV)
-{
- TAO_Stub *stub = this->_create_stub (ACE_TRY_ENV);
- ACE_CHECK_RETURN (0);
-
- CORBA::Object_ptr tmp = CORBA::Object::_nil ();
-
- if (stub->servant_orb_var ()->orb_core ()->optimize_collocation_objects ())
- ACE_NEW_RETURN (tmp, CORBA::Object (stub, 1, this), 0);
- else
- ACE_NEW_RETURN (tmp, CORBA::Object (stub, 0, this), 0);
-
- CORBA::Object_var obj = tmp;
- return IR_ValueBoxDef::_unchecked_narrow (obj.in ());
-}
-
-#if (TAO_HAS_INTERCEPTORS == 1)
-POA_IR::ValueBoxDef::TAO_ServerRequestInfo_IR_ValueBoxDef_original_type_def_get::TAO_ServerRequestInfo_IR_ValueBoxDef_original_type_def_get (
- TAO_ServerRequest &_tao_server_request,
- POA_IR::ValueBoxDef *tao_impl,
- CORBA::Environment &
- )
- : TAO_ServerRequestInfo (_tao_server_request),
- _tao_impl (tao_impl)
-{}
-
-Dynamic::ParameterList *
-POA_IR::ValueBoxDef::TAO_ServerRequestInfo_IR_ValueBoxDef_original_type_def_get::arguments (CORBA::Environment &ACE_TRY_ENV)
- ACE_THROW_SPEC ((CORBA::SystemException))
-{
- // Generate the argument list on demand.
- Dynamic::ParameterList *parameter_list =
- TAO_RequestInfo_Util::make_parameter_list (ACE_TRY_ENV);
- ACE_CHECK_RETURN (0);
-
- return parameter_list;
-}
-
-Dynamic::ExceptionList *
-POA_IR::ValueBoxDef::TAO_ServerRequestInfo_IR_ValueBoxDef_original_type_def_get::exceptions (CORBA::Environment &ACE_TRY_ENV)
- ACE_THROW_SPEC ((CORBA::SystemException))
-{
- // Generate the exception list on demand.
- Dynamic::ExceptionList *exception_list =
- TAO_RequestInfo_Util::make_exception_list (ACE_TRY_ENV);
- ACE_CHECK_RETURN (0);
-
- return exception_list;
-}
-
-CORBA::Any *
-POA_IR::ValueBoxDef::TAO_ServerRequestInfo_IR_ValueBoxDef_original_type_def_get::result (CORBA::Environment &ACE_TRY_ENV)
- ACE_THROW_SPEC ((CORBA::SystemException))
-{
- // Generate the result on demand.
- CORBA::Boolean tk_void_any = 0;
- CORBA::Any *result_any =
- TAO_RequestInfo_Util::make_any (tk_void_any, ACE_TRY_ENV);
- ACE_CHECK_RETURN (0);
-
- CORBA::Any_var safe_result_any = result_any;
-
- (*result_any) <<= this->_result;
-
- return safe_result_any._retn ();
-}
-
-char *
-POA_IR::ValueBoxDef::TAO_ServerRequestInfo_IR_ValueBoxDef_original_type_def_get::target_most_derived_interface (
- CORBA::Environment &)
- ACE_THROW_SPEC ((CORBA::SystemException))
-{
- return
- CORBA::string_dup (this->_tao_impl->_interface_repository_id ());
-}
-
-CORBA::Boolean
-POA_IR::ValueBoxDef::TAO_ServerRequestInfo_IR_ValueBoxDef_original_type_def_get::target_is_a (
- const char * id,
- CORBA::Environment &ACE_TRY_ENV)
- ACE_THROW_SPEC ((CORBA::SystemException))
-{
- return this->_tao_impl->_is_a (id, ACE_TRY_ENV);
-}
-
-void
-POA_IR::ValueBoxDef::TAO_ServerRequestInfo_IR_ValueBoxDef_original_type_def_get::result (IR::IDLType_ptr result)
-{
- // Update the result.
- this->_result = result;
-}
-
-POA_IR::ValueBoxDef::TAO_ServerRequestInfo_IR_ValueBoxDef_original_type_def_set::TAO_ServerRequestInfo_IR_ValueBoxDef_original_type_def_set (
- TAO_ServerRequest &_tao_server_request,
- POA_IR::ValueBoxDef *tao_impl,
- IR_IDLType_ptr original_type_def,
- CORBA::Environment &
- )
- : TAO_ServerRequestInfo (_tao_server_request),
- _tao_impl (tao_impl),
- original_type_def_ (original_type_def)
-{}
-
-Dynamic::ParameterList *
-POA_IR::ValueBoxDef::TAO_ServerRequestInfo_IR_ValueBoxDef_original_type_def_set::arguments (CORBA::Environment &ACE_TRY_ENV)
- ACE_THROW_SPEC ((CORBA::SystemException))
-{
- // Generate the argument list on demand.
- Dynamic::ParameterList *parameter_list =
- TAO_RequestInfo_Util::make_parameter_list (ACE_TRY_ENV);
- ACE_CHECK_RETURN (0);
-
- Dynamic::ParameterList_var safe_parameter_list = parameter_list;
-
- CORBA::ULong length_original_type_def = parameter_list->length ();
- parameter_list->length (length_original_type_def + 1);
- (*parameter_list)[length_original_type_def].argument <<= this->original_type_def_;
-
- (*parameter_list)[length_original_type_def].mode = Dynamic::PARAM_IN;
-
- return safe_parameter_list._retn ();
-}
-
-Dynamic::ExceptionList *
-POA_IR::ValueBoxDef::TAO_ServerRequestInfo_IR_ValueBoxDef_original_type_def_set::exceptions (CORBA::Environment &ACE_TRY_ENV)
- ACE_THROW_SPEC ((CORBA::SystemException))
-{
- // Generate the exception list on demand.
- Dynamic::ExceptionList *exception_list =
- TAO_RequestInfo_Util::make_exception_list (ACE_TRY_ENV);
- ACE_CHECK_RETURN (0);
-
- return exception_list;
-}
-
-CORBA::Any *
-POA_IR::ValueBoxDef::TAO_ServerRequestInfo_IR_ValueBoxDef_original_type_def_set::result (CORBA::Environment &ACE_TRY_ENV)
- ACE_THROW_SPEC ((CORBA::SystemException))
-{
- // Generate the result on demand.
- CORBA::Boolean tk_void_any = 1;
- CORBA::Any *result_any =
- TAO_RequestInfo_Util::make_any (tk_void_any, ACE_TRY_ENV);
- ACE_CHECK_RETURN (0);
-
- return result_any;
-}
-
-char *
-POA_IR::ValueBoxDef::TAO_ServerRequestInfo_IR_ValueBoxDef_original_type_def_set::target_most_derived_interface (
- CORBA::Environment &)
- ACE_THROW_SPEC ((CORBA::SystemException))
-{
- return
- CORBA::string_dup (this->_tao_impl->_interface_repository_id ());
-}
-
-CORBA::Boolean
-POA_IR::ValueBoxDef::TAO_ServerRequestInfo_IR_ValueBoxDef_original_type_def_set::target_is_a (
- const char * id,
- CORBA::Environment &ACE_TRY_ENV)
- ACE_THROW_SPEC ((CORBA::SystemException))
-{
- return this->_tao_impl->_is_a (id, ACE_TRY_ENV);
-}
-
-#endif /* TAO_HAS_INTERCEPTORS */
-
-class TAO_IR_ProvidesDef_Perfect_Hash_OpTable : public TAO_Perfect_Hash_OpTable
-{
-private:
- unsigned int hash (const char *str, unsigned int len);
-public:
- const TAO_operation_db_entry * lookup (const char *str, unsigned int len);
-};
-/* starting time is 11:23:11 */
-/* C++ code produced by gperf version 2.8 (ACE version) */
-/* Command-line: gperf -m -M -J -c -C -D -E -T -f 0 -F 0 -a -o -t -p -K opname_ -L C++ -Z TAO_IR_ProvidesDef_Perfect_Hash_OpTable -N lookup */
-unsigned int
-TAO_IR_ProvidesDef_Perfect_Hash_OpTable::hash (const char *str, unsigned int len)
-{
- static const unsigned char asso_values[] =
- {
-#if defined (ACE_MVS)
- 37, 37, 37, 37, 37, 37, 37, 37, 37, 37,
- 37, 37, 37, 37, 37, 37, 37, 37, 37, 37,
- 37, 37, 37, 37, 37, 37, 37, 37, 37, 37,
- 37, 37, 37, 37, 37, 37, 37, 37, 37, 37,
- 37, 37, 37, 37, 37, 37, 37, 37, 37, 37,
- 37, 37, 37, 37, 37, 37, 37, 37, 37, 37,
- 37, 37, 37, 37, 37, 37, 37, 37, 37, 37,
- 37, 37, 37, 37, 37, 37, 37, 37, 37, 37,
- 37, 37, 37, 37, 37, 37, 37, 37, 37, 37,
- 37, 37, 37, 37, 37, 37, 37, 37, 37, 37,
- 37, 37, 37, 37, 37, 37, 37, 37, 37, 0,
- 37, 37, 37, 37, 37, 37, 37, 37, 37, 37,
- 37, 37, 37, 37, 37, 37, 37, 37, 37, 0,
- 37, 37, 0, 0, 37, 37, 37, 37, 37, 37,
- 37, 37, 37, 37, 37, 37, 37, 37, 0, 0,
- 37, 37, 37, 37, 37, 37, 37, 37, 37, 37,
- 37, 37, 37, 10, 37, 37, 37, 37, 10, 37,
- 37, 37, 37, 37, 37, 37, 37, 37, 37, 37,
- 37, 37, 37, 37, 37, 37, 37, 37, 37, 37,
- 37, 37, 37, 37, 37, 37, 37, 37, 37, 37,
- 37, 37, 37, 37, 37, 37, 37, 37, 37, 37,
- 37, 37, 37, 37, 37, 37, 37, 37, 37, 37,
- 37, 37, 37, 37, 37, 37, 37, 37, 37, 37,
- 37, 37, 37, 37, 37, 37, 37, 37, 37, 37,
- 37, 37, 37, 37, 37, 37, 37, 37, 37, 37,
- 37, 37, 37, 37, 37, 37,
-#else
- 37, 37, 37, 37, 37, 37, 37, 37, 37, 37,
- 37, 37, 37, 37, 37, 37, 37, 37, 37, 37,
- 37, 37, 37, 37, 37, 37, 37, 37, 37, 37,
- 37, 37, 37, 37, 37, 37, 37, 37, 37, 37,
- 37, 37, 37, 37, 37, 37, 37, 37, 37, 37,
- 37, 37, 37, 37, 37, 37, 37, 37, 37, 37,
- 37, 37, 37, 37, 37, 37, 37, 37, 37, 37,
- 37, 37, 37, 37, 37, 37, 37, 37, 37, 37,
- 37, 37, 37, 37, 37, 37, 37, 37, 37, 37,
- 37, 37, 37, 37, 37, 0, 37, 0, 37, 37,
- 0, 0, 37, 37, 37, 37, 37, 37, 37, 0,
- 0, 37, 37, 37, 37, 37, 10, 37, 37, 37,
- 37, 10, 37, 37, 37, 37, 37, 37,
-#endif /* ACE_MVS */
- };
- return len + asso_values[str[len - 1]] + asso_values[str[0]];
-}
-
-const class TAO_operation_db_entry *
-TAO_IR_ProvidesDef_Perfect_Hash_OpTable::lookup (const char *str, unsigned int len)
-{
- enum
- {
- TOTAL_KEYWORDS = 16,
- MIN_WORD_LENGTH = 4,
- MAX_WORD_LENGTH = 26,
- MIN_HASH_VALUE = 4,
- MAX_HASH_VALUE = 36,
- HASH_VALUE_RANGE = 33,
- DUPLICATES = 4
- };
-
- static const class TAO_operation_db_entry wordlist[] =
- {
- {"",0},{"",0},{"",0},{"",0},
- {"move", &POA_IR::ProvidesDef::move_skel},
- {"_is_a", &POA_IR::ProvidesDef::_is_a_skel},
- {"_get_id", &POA_IR::ProvidesDef::_get_id_skel},
- {"_set_id", &POA_IR::ProvidesDef::_set_id_skel},
- {"describe", &POA_IR::ProvidesDef::describe_skel},
- {"_get_name", &POA_IR::ProvidesDef::_get_name_skel},
- {"_set_name", &POA_IR::ProvidesDef::_set_name_skel},
- {"_get_version", &POA_IR::ProvidesDef::_get_version_skel},
- {"_set_version", &POA_IR::ProvidesDef::_set_version_skel},
- {"_get_def_kind", &POA_IR::ProvidesDef::_get_def_kind_skel},
- {"_get_defined_in", &POA_IR::ProvidesDef::_get_defined_in_skel},
- {"destroy", &POA_IR::ProvidesDef::destroy_skel},
- {"_get_absolute_name", &POA_IR::ProvidesDef::_get_absolute_name_skel},
- {"_get_interface_type", &POA_IR::ProvidesDef::_get_interface_type_skel},
- {"_non_existent", &POA_IR::ProvidesDef::_non_existent_skel},
- {"_get_containing_repository", &POA_IR::ProvidesDef::_get_containing_repository_skel},
- };
-
- static const signed char lookup[] =
- {
- -6, -2, -9, -2, 4, 5, -1, -43, 8, -43, -11, -2, -38, 13,
- -1, 14, -1, 15, 16, 17, -1, -1, -1, 18, -1, -1, -1, -1,
- -1, -1, -1, -1, -1, -1, -1, -1, 19,
- };
-
- if (len <= MAX_WORD_LENGTH && len >= MIN_WORD_LENGTH)
- {
- unsigned int key = hash (str, len);
-
- if (key <= MAX_HASH_VALUE && key >= MIN_HASH_VALUE)
- {
- int slot = lookup[key];
-
- if (slot >= 0 && slot < MAX_HASH_VALUE)
- {
- const char *s = wordlist[slot].opname_;
-
- if (*str == *s && !strncmp (str + 1, s + 1, len - 1))
- return &wordlist[slot];
- }
- else if (slot < 0 && slot >= -MAX_HASH_VALUE)
- return 0;
- else
- {
- unsigned int offset = key + slot + (slot > 0 ? -MAX_HASH_VALUE : MAX_HASH_VALUE);
- const class TAO_operation_db_entry *base = &wordlist[-lookup[offset]];
- const class TAO_operation_db_entry *ptr = base + -lookup[offset + 1];
-
- while (--ptr >= base)
- if (*str == *ptr->opname_ && !strncmp (str + 1, ptr->opname_ + 1, len - 1))
- return ptr;
- }
- }
- }
- return 0;
-}
-/* ending time is 11:23:11 */
-static TAO_IR_ProvidesDef_Perfect_Hash_OpTable tao_IR_ProvidesDef_optable;
-
-///////////////////////////////////////////////////////////////////////
-// Strategized Proxy Broker Implementation
-//
-
-// Factory function Implementation.
-POA_IR::_TAO_ProvidesDef_Strategized_Proxy_Broker *POA_IR::_TAO_ProvidesDef_Strategized_Proxy_Broker::the_TAO_ProvidesDef_Strategized_Proxy_Broker (void)
-{
- static POA_IR::_TAO_ProvidesDef_Strategized_Proxy_Broker strategized_proxy_broker;
- return &strategized_proxy_broker;
-}
-
-POA_IR::_TAO_ProvidesDef_Strategized_Proxy_Broker::_TAO_ProvidesDef_Strategized_Proxy_Broker (void)
-{
- for (int i = 0; i < TAO_Collocation_Strategies::CS_LAST; ++i)
- this->proxy_cache_[i] = 0;
-
-}
-
-POA_IR::_TAO_ProvidesDef_Strategized_Proxy_Broker::~_TAO_ProvidesDef_Strategized_Proxy_Broker (void)
-{
- for (int i = 0; i < TAO_Collocation_Strategies::CS_LAST; ++i)
- delete this->proxy_cache_[i];
-
-}
-
-_TAO_ProvidesDef_Proxy_Impl&
-POA_IR::_TAO_ProvidesDef_Strategized_Proxy_Broker::select_proxy (
- IR_ProvidesDef *object,
- CORBA::Environment &ACE_TRY_ENV
- )
-{
- int strategy =
- TAO_ORB_Core::collocation_strategy (object);
-
- if (this->proxy_cache_[strategy] != 0)
- return *this->proxy_cache_[strategy];
-
- this->create_proxy (strategy, ACE_TRY_ENV);
- ACE_CHECK_RETURN (*this->proxy_cache_[strategy]);
-
- return *this->proxy_cache_[strategy];
-
-}
-
-void
-POA_IR::_TAO_ProvidesDef_Strategized_Proxy_Broker::create_proxy (
- int strategy,
- CORBA::Environment &ACE_TRY_ENV
- )
-{
- ACE_GUARD (TAO_SYNCH_MUTEX, guard, this->mutex_);
-
- if (this->proxy_cache_[strategy] == 0)
- {
- switch (strategy)
- {
- case TAO_Collocation_Strategies::CS_THRU_POA_STRATEGY:
- ACE_NEW_THROW_EX (
- this->proxy_cache_[strategy],
- _TAO_ProvidesDef_ThruPOA_Proxy_Impl,
- CORBA::NO_MEMORY ()
- );
- ACE_CHECK;
- break;
-
- case TAO_Collocation_Strategies::CS_REMOTE_STRATEGY:
- default:
- ACE_NEW_THROW_EX (
- this->proxy_cache_[strategy],
- _TAO_ProvidesDef_Remote_Proxy_Impl,
- CORBA::NO_MEMORY ()
- );
- ACE_CHECK;
- break;
-
- }
-
- }
-}
-
-
-//
-// End Strategized Proxy Broker Implementation
-///////////////////////////////////////////////////////////////////////
-
-
-_TAO_ProvidesDef_Proxy_Broker *
-_TAO_ProvidesDef_Proxy_Broker_Factory_function (CORBA::Object_ptr obj)
-{
- ACE_UNUSED_ARG (obj);
- return ::POA_IR::_TAO_ProvidesDef_Strategized_Proxy_Broker::the_TAO_ProvidesDef_Strategized_Proxy_Broker();
-}
-
-int
-_TAO_ProvidesDef_Proxy_Broker_Factory_Initializer (long _dummy_)
-{
- ACE_UNUSED_ARG (_dummy_);
-
- _TAO_ProvidesDef_Proxy_Broker_Factory_function_pointer =
- _TAO_ProvidesDef_Proxy_Broker_Factory_function;
-
- return 0;
-}
-
-static int _TAO_ProvidesDef_Proxy_Broker_Stub_Factory_Initializer_Scarecrow =
- _TAO_ProvidesDef_Proxy_Broker_Factory_Initializer (ACE_reinterpret_cast (long, _TAO_ProvidesDef_Proxy_Broker_Factory_Initializer));
-
-
-///////////////////////////////////////////////////////////////////////
-// ThruPOA Proxy Implementation
-//
-
-POA_IR::_TAO_ProvidesDef_ThruPOA_Proxy_Impl::_TAO_ProvidesDef_ThruPOA_Proxy_Impl (void)
-{}
-
-// ThruPOA Implementation of the IDL interface methods
-
-IR_InterfaceDef_ptr POA_IR::_TAO_ProvidesDef_ThruPOA_Proxy_Impl::interface_type (
- CORBA_Object *_collocated_tao_target_,
- CORBA::Environment &ACE_TRY_ENV
- )
- ACE_THROW_SPEC ((
- CORBA::SystemException
- ))
-{
- IR_InterfaceDef_var _tao_retval;
- ACE_UNUSED_ARG (_tao_retval);
- TAO_Object_Adapter::Servant_Upcall servant_upcall (
- _collocated_tao_target_->_stubobj ()->servant_orb_var ()->orb_core ()
- );
- CORBA::Object_var forward_to;
- servant_upcall.prepare_for_upcall (
- _collocated_tao_target_->_object_key (),
- "interface_type",
- forward_to.out (),
- ACE_TRY_ENV
- );
- ACE_CHECK_RETURN (0);
- return ACE_reinterpret_cast (
- POA_IR::ProvidesDef_ptr,
- servant_upcall.servant ()->_downcast (
- "IDL:omg.org/IR/ProvidesDef:1.0"
- )
- )->interface_type (
- ACE_TRY_ENV
- );
-}
-
-//
-// End ThruPOA Proxy Implementation
-///////////////////////////////////////////////////////////////////////
-
-// skeleton constructor
-POA_IR::ProvidesDef::ProvidesDef (void)
-{
- this->optable_ = &tao_IR_ProvidesDef_optable;
-}
-
-// copy ctor
-POA_IR::ProvidesDef::ProvidesDef (const ProvidesDef& rhs)
- : ACE_NESTED_CLASS (POA_IR,Contained) (rhs),
- POA_CORBA_IRObject (rhs),
- TAO_ServantBase (rhs)
-{}
-
-// skeleton destructor
-POA_IR::ProvidesDef::~ProvidesDef (void)
-{
-}
-
-void POA_IR::ProvidesDef::_get_interface_type_skel (
- TAO_ServerRequest &_tao_server_request,
- void *_tao_object_reference,
- void * /* context */,
- CORBA::Environment &ACE_TRY_ENV
-)
-{
- POA_IR::ProvidesDef *_tao_impl = (POA_IR::ProvidesDef *)_tao_object_reference;
-
- IR_InterfaceDef_var _tao_retval;
-
-#if (TAO_HAS_INTERCEPTORS == 1)
- TAO_ServerRequestInterceptor_Adapter _tao_vfr (
- _tao_server_request.orb_core ()->server_request_interceptors (),
- _tao_server_request.interceptor_count ()
- );
-
- POA_IR::ProvidesDef::TAO_ServerRequestInfo_IR_ProvidesDef_interface_type_get ri (
- _tao_server_request,
- _tao_impl,
- ACE_TRY_ENV
- );
-
- ACE_TRY
- {
- _tao_vfr.receive_request (&ri, ACE_TRY_ENV);
- ACE_TRY_CHECK;
-
-#endif /* TAO_HAS_INTERCEPTORS */
- _tao_retval =
- _tao_impl->interface_type (
- ACE_TRY_ENV
- );
- TAO_INTERCEPTOR_CHECK;
-
-#if (TAO_HAS_INTERCEPTORS == 1)
- IR_InterfaceDef_ptr _tao_retval_info = _tao_retval._retn ();
- ri.result (_tao_retval_info);
- _tao_retval = _tao_retval_info;
- ri.reply_status (PortableInterceptor::SUCCESSFUL);
- _tao_vfr.send_reply (&ri, ACE_TRY_ENV);
- ACE_TRY_CHECK;
- }
- ACE_CATCH (PortableInterceptor::ForwardRequest, exc)
- {
- ri.forward_reference (exc);
- _tao_vfr.send_other (
- &ri,
- ACE_TRY_ENV
- );
- ACE_TRY_CHECK;
- _tao_server_request.forward_location (exc.forward.in ());
- }
- ACE_CATCHANY
- {
- ri.exception (&ACE_ANY_EXCEPTION);
- _tao_vfr.send_exception (
- &ri,
- ACE_TRY_ENV
- );
- ACE_TRY_CHECK;
- ACE_RE_THROW;
- }
- ACE_ENDTRY;
- ACE_CHECK;
-#endif /* TAO_HAS_INTERCEPTORS */
-
- _tao_server_request.init_reply ();
-
- TAO_OutputCDR &_tao_out = _tao_server_request.outgoing ();
-
- if (!(
- (_tao_out << _tao_retval.in ())
- ))
- ACE_THROW (CORBA::MARSHAL());
-
- // In case ACE_TRY_ENV is not used in this function
- ACE_UNUSED_ARG (ACE_TRY_ENV);
-}
-
-void POA_IR::ProvidesDef::_is_a_skel (
- TAO_ServerRequest &_tao_server_request,
- void * _tao_object_reference,
- void * /* context */,
- CORBA::Environment &ACE_TRY_ENV
- )
-{
- TAO_InputCDR &_tao_in = _tao_server_request.incoming ();
- POA_IR::ProvidesDef *_tao_impl = (POA_IR::ProvidesDef *) _tao_object_reference;
- CORBA::Boolean _tao_retval = 0;
- CORBA::String_var value;
- if (!((_tao_in >> value.out ())))
- ACE_THROW (CORBA::MARSHAL ());
-
- _tao_retval = _tao_impl->_is_a (value.in (), ACE_TRY_ENV);
- ACE_CHECK;
-
- _tao_server_request.init_reply ();
- TAO_OutputCDR &_tao_out = _tao_server_request.outgoing ();
- if (!((_tao_out << CORBA::Any::from_boolean (_tao_retval))))
- ACE_THROW (CORBA::MARSHAL ());
-}
-
-void POA_IR::ProvidesDef::_non_existent_skel (
- TAO_ServerRequest &_tao_server_request,
- void * _tao_object_reference,
- void * /* context */,
- CORBA::Environment &ACE_TRY_ENV
- )
-{
- POA_IR::ProvidesDef *_tao_impl = (POA_IR::ProvidesDef *) _tao_object_reference;
- CORBA::Boolean _tao_retval = _tao_impl->_non_existent (ACE_TRY_ENV);
- ACE_CHECK;
-
- _tao_server_request.init_reply ();
- TAO_OutputCDR &_tao_out = _tao_server_request.outgoing ();
- if (!((_tao_out << CORBA::Any::from_boolean (_tao_retval))))
- ACE_THROW (CORBA::MARSHAL ());
-}
-
-CORBA::Boolean POA_IR::ProvidesDef::_is_a (
- const char* value,
- CORBA::Environment &ACE_TRY_ENV
- )
-{
- if (
- (!ACE_OS::strcmp ((char *)value, "IDL:omg.org/IR/ProvidesDef:1.0")) ||
- (!ACE_OS::strcmp ((char *)value, "IDL:omg.org/IR/Contained:1.0")) ||
- (!ACE_OS::strcmp ((char *)value, "IDL:omg.org/CORBA/IRObject:1.0")) ||
- (!ACE_OS::strcmp ((char *)value, CORBA::_tc_Object->id (ACE_TRY_ENV))))
- return 1;
- else
- return 0;
-}
-
-void* POA_IR::ProvidesDef::_downcast (
- const char* logical_type_id
- )
-{
- if (ACE_OS::strcmp (logical_type_id, "IDL:omg.org/IR/ProvidesDef:1.0") == 0)
- return ACE_static_cast (POA_IR::ProvidesDef_ptr, this);
- if (ACE_OS::strcmp (logical_type_id, "IDL:omg.org/IR/Contained:1.0") == 0)
- return ACE_static_cast (POA_IR::Contained_ptr, this);
- if (ACE_OS::strcmp (logical_type_id, "IDL:omg.org/CORBA/IRObject:1.0") == 0)
- return ACE_static_cast (POA_CORBA_IRObject_ptr, this);
- if (ACE_OS::strcmp (logical_type_id, "IDL:omg.org/CORBA/Object:1.0") == 0)
- return ACE_static_cast(PortableServer::Servant, this);
- return 0;
-}
-
-void POA_IR::ProvidesDef::_dispatch (TAO_ServerRequest &req, void *context, CORBA::Environment &ACE_TRY_ENV)
-{
- this->synchronous_upcall_dispatch(req, context, this, ACE_TRY_ENV);
-}
-
-const char* POA_IR::ProvidesDef::_interface_repository_id (void) const
-{
- return "IDL:omg.org/IR/ProvidesDef:1.0";
-}
-
-IR::ProvidesDef*
-POA_IR::ProvidesDef::_this (CORBA_Environment &ACE_TRY_ENV)
-{
- TAO_Stub *stub = this->_create_stub (ACE_TRY_ENV);
- ACE_CHECK_RETURN (0);
-
- CORBA::Object_ptr tmp = CORBA::Object::_nil ();
-
- if (stub->servant_orb_var ()->orb_core ()->optimize_collocation_objects ())
- ACE_NEW_RETURN (tmp, CORBA::Object (stub, 1, this), 0);
- else
- ACE_NEW_RETURN (tmp, CORBA::Object (stub, 0, this), 0);
-
- CORBA::Object_var obj = tmp;
- return IR_ProvidesDef::_unchecked_narrow (obj.in ());
-}
-
-#if (TAO_HAS_INTERCEPTORS == 1)
-POA_IR::ProvidesDef::TAO_ServerRequestInfo_IR_ProvidesDef_interface_type_get::TAO_ServerRequestInfo_IR_ProvidesDef_interface_type_get (
- TAO_ServerRequest &_tao_server_request,
- POA_IR::ProvidesDef *tao_impl,
- CORBA::Environment &
- )
- : TAO_ServerRequestInfo (_tao_server_request),
- _tao_impl (tao_impl)
-{}
-
-Dynamic::ParameterList *
-POA_IR::ProvidesDef::TAO_ServerRequestInfo_IR_ProvidesDef_interface_type_get::arguments (CORBA::Environment &ACE_TRY_ENV)
- ACE_THROW_SPEC ((CORBA::SystemException))
-{
- // Generate the argument list on demand.
- Dynamic::ParameterList *parameter_list =
- TAO_RequestInfo_Util::make_parameter_list (ACE_TRY_ENV);
- ACE_CHECK_RETURN (0);
-
- return parameter_list;
-}
-
-Dynamic::ExceptionList *
-POA_IR::ProvidesDef::TAO_ServerRequestInfo_IR_ProvidesDef_interface_type_get::exceptions (CORBA::Environment &ACE_TRY_ENV)
- ACE_THROW_SPEC ((CORBA::SystemException))
-{
- // Generate the exception list on demand.
- Dynamic::ExceptionList *exception_list =
- TAO_RequestInfo_Util::make_exception_list (ACE_TRY_ENV);
- ACE_CHECK_RETURN (0);
-
- return exception_list;
-}
-
-CORBA::Any *
-POA_IR::ProvidesDef::TAO_ServerRequestInfo_IR_ProvidesDef_interface_type_get::result (CORBA::Environment &ACE_TRY_ENV)
- ACE_THROW_SPEC ((CORBA::SystemException))
-{
- // Generate the result on demand.
- CORBA::Boolean tk_void_any = 0;
- CORBA::Any *result_any =
- TAO_RequestInfo_Util::make_any (tk_void_any, ACE_TRY_ENV);
- ACE_CHECK_RETURN (0);
-
- CORBA::Any_var safe_result_any = result_any;
-
- (*result_any) <<= this->_result;
-
- return safe_result_any._retn ();
-}
-
-char *
-POA_IR::ProvidesDef::TAO_ServerRequestInfo_IR_ProvidesDef_interface_type_get::target_most_derived_interface (
- CORBA::Environment &)
- ACE_THROW_SPEC ((CORBA::SystemException))
-{
- return
- CORBA::string_dup (this->_tao_impl->_interface_repository_id ());
-}
-
-CORBA::Boolean
-POA_IR::ProvidesDef::TAO_ServerRequestInfo_IR_ProvidesDef_interface_type_get::target_is_a (
- const char * id,
- CORBA::Environment &ACE_TRY_ENV)
- ACE_THROW_SPEC ((CORBA::SystemException))
-{
- return this->_tao_impl->_is_a (id, ACE_TRY_ENV);
-}
-
-void
-POA_IR::ProvidesDef::TAO_ServerRequestInfo_IR_ProvidesDef_interface_type_get::result (IR::InterfaceDef_ptr result)
-{
- // Update the result.
- this->_result = result;
-}
-
-#endif /* TAO_HAS_INTERCEPTORS */
-
-class TAO_IR_UsesDef_Perfect_Hash_OpTable : public TAO_Perfect_Hash_OpTable
-{
-private:
- unsigned int hash (const char *str, unsigned int len);
-public:
- const TAO_operation_db_entry * lookup (const char *str, unsigned int len);
-};
-/* starting time is 11:23:11 */
-/* C++ code produced by gperf version 2.8 (ACE version) */
-/* Command-line: gperf -m -M -J -c -C -D -E -T -f 0 -F 0 -a -o -t -p -K opname_ -L C++ -Z TAO_IR_UsesDef_Perfect_Hash_OpTable -N lookup */
-unsigned int
-TAO_IR_UsesDef_Perfect_Hash_OpTable::hash (const char *str, unsigned int len)
-{
- static const unsigned char asso_values[] =
- {
-#if defined (ACE_MVS)
- 37, 37, 37, 37, 37, 37, 37, 37, 37, 37,
- 37, 37, 37, 37, 37, 37, 37, 37, 37, 37,
- 37, 37, 37, 37, 37, 37, 37, 37, 37, 37,
- 37, 37, 37, 37, 37, 37, 37, 37, 37, 37,
- 37, 37, 37, 37, 37, 37, 37, 37, 37, 37,
- 37, 37, 37, 37, 37, 37, 37, 37, 37, 37,
- 37, 37, 37, 37, 37, 37, 37, 37, 37, 37,
- 37, 37, 37, 37, 37, 37, 37, 37, 37, 37,
- 37, 37, 37, 37, 37, 37, 37, 37, 37, 37,
- 37, 37, 37, 37, 37, 37, 37, 37, 37, 37,
- 37, 37, 37, 37, 37, 37, 37, 37, 37, 0,
- 37, 37, 37, 37, 37, 37, 37, 37, 37, 37,
- 37, 37, 37, 37, 37, 37, 37, 37, 37, 0,
- 37, 37, 0, 0, 37, 37, 37, 37, 37, 37,
- 37, 37, 37, 37, 37, 37, 37, 37, 0, 0,
- 37, 37, 37, 37, 37, 37, 37, 37, 37, 37,
- 37, 37, 37, 10, 37, 37, 37, 37, 10, 37,
- 37, 37, 37, 37, 37, 37, 37, 37, 37, 37,
- 37, 37, 37, 37, 37, 37, 37, 37, 37, 37,
- 37, 37, 37, 37, 37, 37, 37, 37, 37, 37,
- 37, 37, 37, 37, 37, 37, 37, 37, 37, 37,
- 37, 37, 37, 37, 37, 37, 37, 37, 37, 37,
- 37, 37, 37, 37, 37, 37, 37, 37, 37, 37,
- 37, 37, 37, 37, 37, 37, 37, 37, 37, 37,
- 37, 37, 37, 37, 37, 37, 37, 37, 37, 37,
- 37, 37, 37, 37, 37, 37,
-#else
- 37, 37, 37, 37, 37, 37, 37, 37, 37, 37,
- 37, 37, 37, 37, 37, 37, 37, 37, 37, 37,
- 37, 37, 37, 37, 37, 37, 37, 37, 37, 37,
- 37, 37, 37, 37, 37, 37, 37, 37, 37, 37,
- 37, 37, 37, 37, 37, 37, 37, 37, 37, 37,
- 37, 37, 37, 37, 37, 37, 37, 37, 37, 37,
- 37, 37, 37, 37, 37, 37, 37, 37, 37, 37,
- 37, 37, 37, 37, 37, 37, 37, 37, 37, 37,
- 37, 37, 37, 37, 37, 37, 37, 37, 37, 37,
- 37, 37, 37, 37, 37, 0, 37, 0, 37, 37,
- 0, 0, 37, 37, 37, 37, 37, 37, 37, 0,
- 0, 37, 37, 37, 37, 37, 10, 37, 37, 37,
- 37, 10, 37, 37, 37, 37, 37, 37,
-#endif /* ACE_MVS */
- };
- return len + asso_values[str[len - 1]] + asso_values[str[0]];
-}
-
-const class TAO_operation_db_entry *
-TAO_IR_UsesDef_Perfect_Hash_OpTable::lookup (const char *str, unsigned int len)
-{
- enum
- {
- TOTAL_KEYWORDS = 17,
- MIN_WORD_LENGTH = 4,
- MAX_WORD_LENGTH = 26,
- MIN_HASH_VALUE = 4,
- MAX_HASH_VALUE = 36,
- HASH_VALUE_RANGE = 33,
- DUPLICATES = 4
- };
-
- static const class TAO_operation_db_entry wordlist[] =
- {
- {"",0},{"",0},{"",0},{"",0},
- {"move", &POA_IR::UsesDef::move_skel},
- {"_is_a", &POA_IR::UsesDef::_is_a_skel},
- {"_get_id", &POA_IR::UsesDef::_get_id_skel},
- {"_set_id", &POA_IR::UsesDef::_set_id_skel},
- {"describe", &POA_IR::UsesDef::describe_skel},
- {"_get_name", &POA_IR::UsesDef::_get_name_skel},
- {"_set_name", &POA_IR::UsesDef::_set_name_skel},
- {"_get_version", &POA_IR::UsesDef::_get_version_skel},
- {"_set_version", &POA_IR::UsesDef::_set_version_skel},
- {"_get_def_kind", &POA_IR::UsesDef::_get_def_kind_skel},
- {"_get_defined_in", &POA_IR::UsesDef::_get_defined_in_skel},
- {"_get_is_multiple", &POA_IR::UsesDef::_get_is_multiple_skel},
- {"destroy", &POA_IR::UsesDef::destroy_skel},
- {"_get_absolute_name", &POA_IR::UsesDef::_get_absolute_name_skel},
- {"_get_interface_type", &POA_IR::UsesDef::_get_interface_type_skel},
- {"_non_existent", &POA_IR::UsesDef::_non_existent_skel},
- {"_get_containing_repository", &POA_IR::UsesDef::_get_containing_repository_skel},
- };
-
- static const signed char lookup[] =
- {
- -6, -2, -9, -2, 4, 5, -1, -43, 8, -43, -11, -2, -38, 13,
- -1, 14, 15, 16, 17, 18, -1, -1, -1, 19, -1, -1, -1, -1,
- -1, -1, -1, -1, -1, -1, -1, -1, 20,
- };
-
- if (len <= MAX_WORD_LENGTH && len >= MIN_WORD_LENGTH)
- {
- unsigned int key = hash (str, len);
-
- if (key <= MAX_HASH_VALUE && key >= MIN_HASH_VALUE)
- {
- int slot = lookup[key];
-
- if (slot >= 0 && slot < MAX_HASH_VALUE)
- {
- const char *s = wordlist[slot].opname_;
-
- if (*str == *s && !strncmp (str + 1, s + 1, len - 1))
- return &wordlist[slot];
- }
- else if (slot < 0 && slot >= -MAX_HASH_VALUE)
- return 0;
- else
- {
- unsigned int offset = key + slot + (slot > 0 ? -MAX_HASH_VALUE : MAX_HASH_VALUE);
- const class TAO_operation_db_entry *base = &wordlist[-lookup[offset]];
- const class TAO_operation_db_entry *ptr = base + -lookup[offset + 1];
-
- while (--ptr >= base)
- if (*str == *ptr->opname_ && !strncmp (str + 1, ptr->opname_ + 1, len - 1))
- return ptr;
- }
- }
- }
- return 0;
-}
-/* ending time is 11:23:11 */
-static TAO_IR_UsesDef_Perfect_Hash_OpTable tao_IR_UsesDef_optable;
-
-///////////////////////////////////////////////////////////////////////
-// Strategized Proxy Broker Implementation
-//
-
-// Factory function Implementation.
-POA_IR::_TAO_UsesDef_Strategized_Proxy_Broker *POA_IR::_TAO_UsesDef_Strategized_Proxy_Broker::the_TAO_UsesDef_Strategized_Proxy_Broker (void)
-{
- static POA_IR::_TAO_UsesDef_Strategized_Proxy_Broker strategized_proxy_broker;
- return &strategized_proxy_broker;
-}
-
-POA_IR::_TAO_UsesDef_Strategized_Proxy_Broker::_TAO_UsesDef_Strategized_Proxy_Broker (void)
-{
- for (int i = 0; i < TAO_Collocation_Strategies::CS_LAST; ++i)
- this->proxy_cache_[i] = 0;
-
-}
-
-POA_IR::_TAO_UsesDef_Strategized_Proxy_Broker::~_TAO_UsesDef_Strategized_Proxy_Broker (void)
-{
- for (int i = 0; i < TAO_Collocation_Strategies::CS_LAST; ++i)
- delete this->proxy_cache_[i];
-
-}
-
-_TAO_UsesDef_Proxy_Impl&
-POA_IR::_TAO_UsesDef_Strategized_Proxy_Broker::select_proxy (
- IR_UsesDef *object,
- CORBA::Environment &ACE_TRY_ENV
- )
-{
- int strategy =
- TAO_ORB_Core::collocation_strategy (object);
-
- if (this->proxy_cache_[strategy] != 0)
- return *this->proxy_cache_[strategy];
-
- this->create_proxy (strategy, ACE_TRY_ENV);
- ACE_CHECK_RETURN (*this->proxy_cache_[strategy]);
-
- return *this->proxy_cache_[strategy];
-
-}
-
-void
-POA_IR::_TAO_UsesDef_Strategized_Proxy_Broker::create_proxy (
- int strategy,
- CORBA::Environment &ACE_TRY_ENV
- )
-{
- ACE_GUARD (TAO_SYNCH_MUTEX, guard, this->mutex_);
-
- if (this->proxy_cache_[strategy] == 0)
- {
- switch (strategy)
- {
- case TAO_Collocation_Strategies::CS_THRU_POA_STRATEGY:
- ACE_NEW_THROW_EX (
- this->proxy_cache_[strategy],
- _TAO_UsesDef_ThruPOA_Proxy_Impl,
- CORBA::NO_MEMORY ()
- );
- ACE_CHECK;
- break;
-
- case TAO_Collocation_Strategies::CS_REMOTE_STRATEGY:
- default:
- ACE_NEW_THROW_EX (
- this->proxy_cache_[strategy],
- _TAO_UsesDef_Remote_Proxy_Impl,
- CORBA::NO_MEMORY ()
- );
- ACE_CHECK;
- break;
-
- }
-
- }
-}
-
-
-//
-// End Strategized Proxy Broker Implementation
-///////////////////////////////////////////////////////////////////////
-
-
-_TAO_UsesDef_Proxy_Broker *
-_TAO_UsesDef_Proxy_Broker_Factory_function (CORBA::Object_ptr obj)
-{
- ACE_UNUSED_ARG (obj);
- return ::POA_IR::_TAO_UsesDef_Strategized_Proxy_Broker::the_TAO_UsesDef_Strategized_Proxy_Broker();
-}
-
-int
-_TAO_UsesDef_Proxy_Broker_Factory_Initializer (long _dummy_)
-{
- ACE_UNUSED_ARG (_dummy_);
-
- _TAO_UsesDef_Proxy_Broker_Factory_function_pointer =
- _TAO_UsesDef_Proxy_Broker_Factory_function;
-
- return 0;
-}
-
-static int _TAO_UsesDef_Proxy_Broker_Stub_Factory_Initializer_Scarecrow =
- _TAO_UsesDef_Proxy_Broker_Factory_Initializer (ACE_reinterpret_cast (long, _TAO_UsesDef_Proxy_Broker_Factory_Initializer));
-
-
-///////////////////////////////////////////////////////////////////////
-// ThruPOA Proxy Implementation
-//
-
-POA_IR::_TAO_UsesDef_ThruPOA_Proxy_Impl::_TAO_UsesDef_ThruPOA_Proxy_Impl (void)
-{}
-
-// ThruPOA Implementation of the IDL interface methods
-
-IR_InterfaceDef_ptr POA_IR::_TAO_UsesDef_ThruPOA_Proxy_Impl::interface_type (
- CORBA_Object *_collocated_tao_target_,
- CORBA::Environment &ACE_TRY_ENV
- )
- ACE_THROW_SPEC ((
- CORBA::SystemException
- ))
-{
- IR_InterfaceDef_var _tao_retval;
- ACE_UNUSED_ARG (_tao_retval);
- TAO_Object_Adapter::Servant_Upcall servant_upcall (
- _collocated_tao_target_->_stubobj ()->servant_orb_var ()->orb_core ()
- );
- CORBA::Object_var forward_to;
- servant_upcall.prepare_for_upcall (
- _collocated_tao_target_->_object_key (),
- "interface_type",
- forward_to.out (),
- ACE_TRY_ENV
- );
- ACE_CHECK_RETURN (0);
- return ACE_reinterpret_cast (
- POA_IR::UsesDef_ptr,
- servant_upcall.servant ()->_downcast (
- "IDL:omg.org/IR/UsesDef:1.0"
- )
- )->interface_type (
- ACE_TRY_ENV
- );
-}
-
-CORBA::Boolean POA_IR::_TAO_UsesDef_ThruPOA_Proxy_Impl::is_multiple (
- CORBA_Object *_collocated_tao_target_,
- CORBA::Environment &ACE_TRY_ENV
- )
- ACE_THROW_SPEC ((
- CORBA::SystemException
- ))
-{
- CORBA::Boolean _tao_retval = 0;
- ACE_UNUSED_ARG (_tao_retval);
- TAO_Object_Adapter::Servant_Upcall servant_upcall (
- _collocated_tao_target_->_stubobj ()->servant_orb_var ()->orb_core ()
- );
- CORBA::Object_var forward_to;
- servant_upcall.prepare_for_upcall (
- _collocated_tao_target_->_object_key (),
- "is_multiple",
- forward_to.out (),
- ACE_TRY_ENV
- );
- ACE_CHECK_RETURN (_tao_retval);
- return ACE_reinterpret_cast (
- POA_IR::UsesDef_ptr,
- servant_upcall.servant ()->_downcast (
- "IDL:omg.org/IR/UsesDef:1.0"
- )
- )->is_multiple (
- ACE_TRY_ENV
- );
-}
-
-//
-// End ThruPOA Proxy Implementation
-///////////////////////////////////////////////////////////////////////
-
-// skeleton constructor
-POA_IR::UsesDef::UsesDef (void)
-{
- this->optable_ = &tao_IR_UsesDef_optable;
-}
-
-// copy ctor
-POA_IR::UsesDef::UsesDef (const UsesDef& rhs)
- : ACE_NESTED_CLASS (POA_IR,Contained) (rhs),
- POA_CORBA_IRObject (rhs),
- TAO_ServantBase (rhs)
-{}
-
-// skeleton destructor
-POA_IR::UsesDef::~UsesDef (void)
-{
-}
-
-void POA_IR::UsesDef::_get_interface_type_skel (
- TAO_ServerRequest &_tao_server_request,
- void *_tao_object_reference,
- void * /* context */,
- CORBA::Environment &ACE_TRY_ENV
-)
-{
- POA_IR::UsesDef *_tao_impl = (POA_IR::UsesDef *)_tao_object_reference;
-
- IR_InterfaceDef_var _tao_retval;
-
-#if (TAO_HAS_INTERCEPTORS == 1)
- TAO_ServerRequestInterceptor_Adapter _tao_vfr (
- _tao_server_request.orb_core ()->server_request_interceptors (),
- _tao_server_request.interceptor_count ()
- );
-
- POA_IR::UsesDef::TAO_ServerRequestInfo_IR_UsesDef_interface_type_get ri (
- _tao_server_request,
- _tao_impl,
- ACE_TRY_ENV
- );
-
- ACE_TRY
- {
- _tao_vfr.receive_request (&ri, ACE_TRY_ENV);
- ACE_TRY_CHECK;
-
-#endif /* TAO_HAS_INTERCEPTORS */
- _tao_retval =
- _tao_impl->interface_type (
- ACE_TRY_ENV
- );
- TAO_INTERCEPTOR_CHECK;
-
-#if (TAO_HAS_INTERCEPTORS == 1)
- IR_InterfaceDef_ptr _tao_retval_info = _tao_retval._retn ();
- ri.result (_tao_retval_info);
- _tao_retval = _tao_retval_info;
- ri.reply_status (PortableInterceptor::SUCCESSFUL);
- _tao_vfr.send_reply (&ri, ACE_TRY_ENV);
- ACE_TRY_CHECK;
- }
- ACE_CATCH (PortableInterceptor::ForwardRequest, exc)
- {
- ri.forward_reference (exc);
- _tao_vfr.send_other (
- &ri,
- ACE_TRY_ENV
- );
- ACE_TRY_CHECK;
- _tao_server_request.forward_location (exc.forward.in ());
- }
- ACE_CATCHANY
- {
- ri.exception (&ACE_ANY_EXCEPTION);
- _tao_vfr.send_exception (
- &ri,
- ACE_TRY_ENV
- );
- ACE_TRY_CHECK;
- ACE_RE_THROW;
- }
- ACE_ENDTRY;
- ACE_CHECK;
-#endif /* TAO_HAS_INTERCEPTORS */
-
- _tao_server_request.init_reply ();
-
- TAO_OutputCDR &_tao_out = _tao_server_request.outgoing ();
-
- if (!(
- (_tao_out << _tao_retval.in ())
- ))
- ACE_THROW (CORBA::MARSHAL());
-
- // In case ACE_TRY_ENV is not used in this function
- ACE_UNUSED_ARG (ACE_TRY_ENV);
-}
-
-void POA_IR::UsesDef::_get_is_multiple_skel (
- TAO_ServerRequest &_tao_server_request,
- void *_tao_object_reference,
- void * /* context */,
- CORBA::Environment &ACE_TRY_ENV
-)
-{
- POA_IR::UsesDef *_tao_impl = (POA_IR::UsesDef *)_tao_object_reference;
-
- CORBA::Boolean _tao_retval = 0;
-
-#if (TAO_HAS_INTERCEPTORS == 1)
- TAO_ServerRequestInterceptor_Adapter _tao_vfr (
- _tao_server_request.orb_core ()->server_request_interceptors (),
- _tao_server_request.interceptor_count ()
- );
-
- POA_IR::UsesDef::TAO_ServerRequestInfo_IR_UsesDef_is_multiple_get ri (
- _tao_server_request,
- _tao_impl,
- ACE_TRY_ENV
- );
-
- ACE_TRY
- {
- _tao_vfr.receive_request (&ri, ACE_TRY_ENV);
- ACE_TRY_CHECK;
-
-#endif /* TAO_HAS_INTERCEPTORS */
- _tao_retval =
- _tao_impl->is_multiple (
- ACE_TRY_ENV
- );
- TAO_INTERCEPTOR_CHECK;
-
-#if (TAO_HAS_INTERCEPTORS == 1)
- CORBA::Boolean _tao_retval_info = _tao_retval;
- ri.result (_tao_retval_info);
- ri.reply_status (PortableInterceptor::SUCCESSFUL);
- _tao_vfr.send_reply (&ri, ACE_TRY_ENV);
- ACE_TRY_CHECK;
- }
- ACE_CATCH (PortableInterceptor::ForwardRequest, exc)
- {
- ri.forward_reference (exc);
- _tao_vfr.send_other (
- &ri,
- ACE_TRY_ENV
- );
- ACE_TRY_CHECK;
- _tao_server_request.forward_location (exc.forward.in ());
- }
- ACE_CATCHANY
- {
- ri.exception (&ACE_ANY_EXCEPTION);
- _tao_vfr.send_exception (
- &ri,
- ACE_TRY_ENV
- );
- ACE_TRY_CHECK;
- ACE_RE_THROW;
- }
- ACE_ENDTRY;
- ACE_CHECK;
-#endif /* TAO_HAS_INTERCEPTORS */
-
- _tao_server_request.init_reply ();
-
- TAO_OutputCDR &_tao_out = _tao_server_request.outgoing ();
-
- if (!(
- (_tao_out << CORBA::Any::from_boolean (_tao_retval))
- ))
- ACE_THROW (CORBA::MARSHAL());
-
- // In case ACE_TRY_ENV is not used in this function
- ACE_UNUSED_ARG (ACE_TRY_ENV);
-}
-
-void POA_IR::UsesDef::_is_a_skel (
- TAO_ServerRequest &_tao_server_request,
- void * _tao_object_reference,
- void * /* context */,
- CORBA::Environment &ACE_TRY_ENV
- )
-{
- TAO_InputCDR &_tao_in = _tao_server_request.incoming ();
- POA_IR::UsesDef *_tao_impl = (POA_IR::UsesDef *) _tao_object_reference;
- CORBA::Boolean _tao_retval = 0;
- CORBA::String_var value;
- if (!((_tao_in >> value.out ())))
- ACE_THROW (CORBA::MARSHAL ());
-
- _tao_retval = _tao_impl->_is_a (value.in (), ACE_TRY_ENV);
- ACE_CHECK;
-
- _tao_server_request.init_reply ();
- TAO_OutputCDR &_tao_out = _tao_server_request.outgoing ();
- if (!((_tao_out << CORBA::Any::from_boolean (_tao_retval))))
- ACE_THROW (CORBA::MARSHAL ());
-}
-
-void POA_IR::UsesDef::_non_existent_skel (
- TAO_ServerRequest &_tao_server_request,
- void * _tao_object_reference,
- void * /* context */,
- CORBA::Environment &ACE_TRY_ENV
- )
-{
- POA_IR::UsesDef *_tao_impl = (POA_IR::UsesDef *) _tao_object_reference;
- CORBA::Boolean _tao_retval = _tao_impl->_non_existent (ACE_TRY_ENV);
- ACE_CHECK;
-
- _tao_server_request.init_reply ();
- TAO_OutputCDR &_tao_out = _tao_server_request.outgoing ();
- if (!((_tao_out << CORBA::Any::from_boolean (_tao_retval))))
- ACE_THROW (CORBA::MARSHAL ());
-}
-
-CORBA::Boolean POA_IR::UsesDef::_is_a (
- const char* value,
- CORBA::Environment &ACE_TRY_ENV
- )
-{
- if (
- (!ACE_OS::strcmp ((char *)value, "IDL:omg.org/IR/UsesDef:1.0")) ||
- (!ACE_OS::strcmp ((char *)value, "IDL:omg.org/IR/Contained:1.0")) ||
- (!ACE_OS::strcmp ((char *)value, "IDL:omg.org/CORBA/IRObject:1.0")) ||
- (!ACE_OS::strcmp ((char *)value, CORBA::_tc_Object->id (ACE_TRY_ENV))))
- return 1;
- else
- return 0;
-}
-
-void* POA_IR::UsesDef::_downcast (
- const char* logical_type_id
- )
-{
- if (ACE_OS::strcmp (logical_type_id, "IDL:omg.org/IR/UsesDef:1.0") == 0)
- return ACE_static_cast (POA_IR::UsesDef_ptr, this);
- if (ACE_OS::strcmp (logical_type_id, "IDL:omg.org/IR/Contained:1.0") == 0)
- return ACE_static_cast (POA_IR::Contained_ptr, this);
- if (ACE_OS::strcmp (logical_type_id, "IDL:omg.org/CORBA/IRObject:1.0") == 0)
- return ACE_static_cast (POA_CORBA_IRObject_ptr, this);
- if (ACE_OS::strcmp (logical_type_id, "IDL:omg.org/CORBA/Object:1.0") == 0)
- return ACE_static_cast(PortableServer::Servant, this);
- return 0;
-}
-
-void POA_IR::UsesDef::_dispatch (TAO_ServerRequest &req, void *context, CORBA::Environment &ACE_TRY_ENV)
-{
- this->synchronous_upcall_dispatch(req, context, this, ACE_TRY_ENV);
-}
-
-const char* POA_IR::UsesDef::_interface_repository_id (void) const
-{
- return "IDL:omg.org/IR/UsesDef:1.0";
-}
-
-IR::UsesDef*
-POA_IR::UsesDef::_this (CORBA_Environment &ACE_TRY_ENV)
-{
- TAO_Stub *stub = this->_create_stub (ACE_TRY_ENV);
- ACE_CHECK_RETURN (0);
-
- CORBA::Object_ptr tmp = CORBA::Object::_nil ();
-
- if (stub->servant_orb_var ()->orb_core ()->optimize_collocation_objects ())
- ACE_NEW_RETURN (tmp, CORBA::Object (stub, 1, this), 0);
- else
- ACE_NEW_RETURN (tmp, CORBA::Object (stub, 0, this), 0);
-
- CORBA::Object_var obj = tmp;
- return IR_UsesDef::_unchecked_narrow (obj.in ());
-}
-
-#if (TAO_HAS_INTERCEPTORS == 1)
-POA_IR::UsesDef::TAO_ServerRequestInfo_IR_UsesDef_interface_type_get::TAO_ServerRequestInfo_IR_UsesDef_interface_type_get (
- TAO_ServerRequest &_tao_server_request,
- POA_IR::UsesDef *tao_impl,
- CORBA::Environment &
- )
- : TAO_ServerRequestInfo (_tao_server_request),
- _tao_impl (tao_impl)
-{}
-
-Dynamic::ParameterList *
-POA_IR::UsesDef::TAO_ServerRequestInfo_IR_UsesDef_interface_type_get::arguments (CORBA::Environment &ACE_TRY_ENV)
- ACE_THROW_SPEC ((CORBA::SystemException))
-{
- // Generate the argument list on demand.
- Dynamic::ParameterList *parameter_list =
- TAO_RequestInfo_Util::make_parameter_list (ACE_TRY_ENV);
- ACE_CHECK_RETURN (0);
-
- return parameter_list;
-}
-
-Dynamic::ExceptionList *
-POA_IR::UsesDef::TAO_ServerRequestInfo_IR_UsesDef_interface_type_get::exceptions (CORBA::Environment &ACE_TRY_ENV)
- ACE_THROW_SPEC ((CORBA::SystemException))
-{
- // Generate the exception list on demand.
- Dynamic::ExceptionList *exception_list =
- TAO_RequestInfo_Util::make_exception_list (ACE_TRY_ENV);
- ACE_CHECK_RETURN (0);
-
- return exception_list;
-}
-
-CORBA::Any *
-POA_IR::UsesDef::TAO_ServerRequestInfo_IR_UsesDef_interface_type_get::result (CORBA::Environment &ACE_TRY_ENV)
- ACE_THROW_SPEC ((CORBA::SystemException))
-{
- // Generate the result on demand.
- CORBA::Boolean tk_void_any = 0;
- CORBA::Any *result_any =
- TAO_RequestInfo_Util::make_any (tk_void_any, ACE_TRY_ENV);
- ACE_CHECK_RETURN (0);
-
- CORBA::Any_var safe_result_any = result_any;
-
- (*result_any) <<= this->_result;
-
- return safe_result_any._retn ();
-}
-
-char *
-POA_IR::UsesDef::TAO_ServerRequestInfo_IR_UsesDef_interface_type_get::target_most_derived_interface (
- CORBA::Environment &)
- ACE_THROW_SPEC ((CORBA::SystemException))
-{
- return
- CORBA::string_dup (this->_tao_impl->_interface_repository_id ());
-}
-
-CORBA::Boolean
-POA_IR::UsesDef::TAO_ServerRequestInfo_IR_UsesDef_interface_type_get::target_is_a (
- const char * id,
- CORBA::Environment &ACE_TRY_ENV)
- ACE_THROW_SPEC ((CORBA::SystemException))
-{
- return this->_tao_impl->_is_a (id, ACE_TRY_ENV);
-}
-
-void
-POA_IR::UsesDef::TAO_ServerRequestInfo_IR_UsesDef_interface_type_get::result (IR::InterfaceDef_ptr result)
-{
- // Update the result.
- this->_result = result;
-}
-
-POA_IR::UsesDef::TAO_ServerRequestInfo_IR_UsesDef_is_multiple_get::TAO_ServerRequestInfo_IR_UsesDef_is_multiple_get (
- TAO_ServerRequest &_tao_server_request,
- POA_IR::UsesDef *tao_impl,
- CORBA::Environment &
- )
- : TAO_ServerRequestInfo (_tao_server_request),
- _tao_impl (tao_impl)
-{}
-
-Dynamic::ParameterList *
-POA_IR::UsesDef::TAO_ServerRequestInfo_IR_UsesDef_is_multiple_get::arguments (CORBA::Environment &ACE_TRY_ENV)
- ACE_THROW_SPEC ((CORBA::SystemException))
-{
- // Generate the argument list on demand.
- Dynamic::ParameterList *parameter_list =
- TAO_RequestInfo_Util::make_parameter_list (ACE_TRY_ENV);
- ACE_CHECK_RETURN (0);
-
- return parameter_list;
-}
-
-Dynamic::ExceptionList *
-POA_IR::UsesDef::TAO_ServerRequestInfo_IR_UsesDef_is_multiple_get::exceptions (CORBA::Environment &ACE_TRY_ENV)
- ACE_THROW_SPEC ((CORBA::SystemException))
-{
- // Generate the exception list on demand.
- Dynamic::ExceptionList *exception_list =
- TAO_RequestInfo_Util::make_exception_list (ACE_TRY_ENV);
- ACE_CHECK_RETURN (0);
-
- return exception_list;
-}
-
-CORBA::Any *
-POA_IR::UsesDef::TAO_ServerRequestInfo_IR_UsesDef_is_multiple_get::result (CORBA::Environment &ACE_TRY_ENV)
- ACE_THROW_SPEC ((CORBA::SystemException))
-{
- // Generate the result on demand.
- CORBA::Boolean tk_void_any = 0;
- CORBA::Any *result_any =
- TAO_RequestInfo_Util::make_any (tk_void_any, ACE_TRY_ENV);
- ACE_CHECK_RETURN (0);
-
- CORBA::Any_var safe_result_any = result_any;
-
- (*result_any) <<= CORBA::Any::from_boolean (this->_result);
-
- return safe_result_any._retn ();
-}
-
-char *
-POA_IR::UsesDef::TAO_ServerRequestInfo_IR_UsesDef_is_multiple_get::target_most_derived_interface (
- CORBA::Environment &)
- ACE_THROW_SPEC ((CORBA::SystemException))
-{
- return
- CORBA::string_dup (this->_tao_impl->_interface_repository_id ());
-}
-
-CORBA::Boolean
-POA_IR::UsesDef::TAO_ServerRequestInfo_IR_UsesDef_is_multiple_get::target_is_a (
- const char * id,
- CORBA::Environment &ACE_TRY_ENV)
- ACE_THROW_SPEC ((CORBA::SystemException))
-{
- return this->_tao_impl->_is_a (id, ACE_TRY_ENV);
-}
-
-void
-POA_IR::UsesDef::TAO_ServerRequestInfo_IR_UsesDef_is_multiple_get::result (CORBA::Boolean result)
-{
- // Update the result.
- this->_result = result;
-}
-
-#endif /* TAO_HAS_INTERCEPTORS */
-
-class TAO_IR_EventDef_Perfect_Hash_OpTable : public TAO_Perfect_Hash_OpTable
-{
-private:
- unsigned int hash (const char *str, unsigned int len);
-public:
- const TAO_operation_db_entry * lookup (const char *str, unsigned int len);
-};
-/* starting time is 11:23:11 */
-/* C++ code produced by gperf version 2.8 (ACE version) */
-/* Command-line: gperf -m -M -J -c -C -D -E -T -f 0 -F 0 -a -o -t -p -K opname_ -L C++ -Z TAO_IR_EventDef_Perfect_Hash_OpTable -N lookup */
-unsigned int
-TAO_IR_EventDef_Perfect_Hash_OpTable::hash (const char *str, unsigned int len)
-{
- static const unsigned char asso_values[] =
- {
-#if defined (ACE_MVS)
- 37, 37, 37, 37, 37, 37, 37, 37, 37, 37,
- 37, 37, 37, 37, 37, 37, 37, 37, 37, 37,
- 37, 37, 37, 37, 37, 37, 37, 37, 37, 37,
- 37, 37, 37, 37, 37, 37, 37, 37, 37, 37,
- 37, 37, 37, 37, 37, 37, 37, 37, 37, 37,
- 37, 37, 37, 37, 37, 37, 37, 37, 37, 37,
- 37, 37, 37, 37, 37, 37, 37, 37, 37, 37,
- 37, 37, 37, 37, 37, 37, 37, 37, 37, 37,
- 37, 37, 37, 37, 37, 37, 37, 37, 37, 37,
- 37, 37, 37, 37, 37, 37, 37, 37, 37, 37,
- 37, 37, 37, 37, 37, 37, 37, 37, 37, 0,
- 37, 37, 37, 37, 37, 37, 37, 37, 37, 37,
- 37, 37, 37, 37, 37, 37, 37, 37, 37, 0,
- 37, 37, 0, 0, 37, 37, 37, 10, 37, 37,
- 37, 37, 37, 37, 37, 37, 37, 37, 0, 0,
- 37, 37, 37, 37, 37, 37, 37, 37, 37, 37,
- 37, 37, 37, 10, 37, 37, 37, 37, 10, 37,
- 37, 37, 37, 37, 37, 37, 37, 37, 37, 37,
- 37, 37, 37, 37, 37, 37, 37, 37, 37, 37,
- 37, 37, 37, 37, 37, 37, 37, 37, 37, 37,
- 37, 37, 37, 37, 37, 37, 37, 37, 37, 37,
- 37, 37, 37, 37, 37, 37, 37, 37, 37, 37,
- 37, 37, 37, 37, 37, 37, 37, 37, 37, 37,
- 37, 37, 37, 37, 37, 37, 37, 37, 37, 37,
- 37, 37, 37, 37, 37, 37, 37, 37, 37, 37,
- 37, 37, 37, 37, 37, 37,
-#else
- 37, 37, 37, 37, 37, 37, 37, 37, 37, 37,
- 37, 37, 37, 37, 37, 37, 37, 37, 37, 37,
- 37, 37, 37, 37, 37, 37, 37, 37, 37, 37,
- 37, 37, 37, 37, 37, 37, 37, 37, 37, 37,
- 37, 37, 37, 37, 37, 37, 37, 37, 37, 37,
- 37, 37, 37, 37, 37, 37, 37, 37, 37, 37,
- 37, 37, 37, 37, 37, 37, 37, 37, 37, 37,
- 37, 37, 37, 37, 37, 37, 37, 37, 37, 37,
- 37, 37, 37, 37, 37, 37, 37, 37, 37, 37,
- 37, 37, 37, 37, 37, 0, 37, 0, 37, 37,
- 0, 0, 37, 37, 37, 10, 37, 37, 37, 0,
- 0, 37, 37, 37, 37, 37, 10, 37, 37, 37,
- 37, 10, 37, 37, 37, 37, 37, 37,
-#endif /* ACE_MVS */
- };
- return len + asso_values[str[len - 1]] + asso_values[str[0]];
-}
-
-const class TAO_operation_db_entry *
-TAO_IR_EventDef_Perfect_Hash_OpTable::lookup (const char *str, unsigned int len)
-{
- enum
- {
- TOTAL_KEYWORDS = 17,
- MIN_WORD_LENGTH = 4,
- MAX_WORD_LENGTH = 26,
- MIN_HASH_VALUE = 4,
- MAX_HASH_VALUE = 36,
- HASH_VALUE_RANGE = 33,
- DUPLICATES = 4
- };
-
- static const class TAO_operation_db_entry wordlist[] =
- {
- {"",0},{"",0},{"",0},{"",0},
- {"move", &POA_IR::EventDef::move_skel},
- {"_is_a", &POA_IR::EventDef::_is_a_skel},
- {"_get_id", &POA_IR::EventDef::_get_id_skel},
- {"_set_id", &POA_IR::EventDef::_set_id_skel},
- {"describe", &POA_IR::EventDef::describe_skel},
- {"_get_name", &POA_IR::EventDef::_get_name_skel},
- {"_set_name", &POA_IR::EventDef::_set_name_skel},
- {"_get_version", &POA_IR::EventDef::_get_version_skel},
- {"_set_version", &POA_IR::EventDef::_set_version_skel},
- {"_get_def_kind", &POA_IR::EventDef::_get_def_kind_skel},
- {"is_a", &POA_IR::EventDef::is_a_skel},
- {"_get_defined_in", &POA_IR::EventDef::_get_defined_in_skel},
- {"destroy", &POA_IR::EventDef::destroy_skel},
- {"_get_absolute_name", &POA_IR::EventDef::_get_absolute_name_skel},
- {"_get_event", &POA_IR::EventDef::_get_event_skel},
- {"_non_existent", &POA_IR::EventDef::_non_existent_skel},
- {"_get_containing_repository", &POA_IR::EventDef::_get_containing_repository_skel},
- };
-
- static const signed char lookup[] =
- {
- -6, -2, -9, -2, 4, 5, -1, -43, 8, -43, -11, -2, -38, 13,
- 14, 15, -1, 16, 17, -1, 18, -1, -1, 19, -1, -1, -1, -1,
- -1, -1, -1, -1, -1, -1, -1, -1, 20,
- };
-
- if (len <= MAX_WORD_LENGTH && len >= MIN_WORD_LENGTH)
- {
- unsigned int key = hash (str, len);
-
- if (key <= MAX_HASH_VALUE && key >= MIN_HASH_VALUE)
- {
- int slot = lookup[key];
-
- if (slot >= 0 && slot < MAX_HASH_VALUE)
- {
- const char *s = wordlist[slot].opname_;
-
- if (*str == *s && !strncmp (str + 1, s + 1, len - 1))
- return &wordlist[slot];
- }
- else if (slot < 0 && slot >= -MAX_HASH_VALUE)
- return 0;
- else
- {
- unsigned int offset = key + slot + (slot > 0 ? -MAX_HASH_VALUE : MAX_HASH_VALUE);
- const class TAO_operation_db_entry *base = &wordlist[-lookup[offset]];
- const class TAO_operation_db_entry *ptr = base + -lookup[offset + 1];
-
- while (--ptr >= base)
- if (*str == *ptr->opname_ && !strncmp (str + 1, ptr->opname_ + 1, len - 1))
- return ptr;
- }
- }
- }
- return 0;
-}
-/* ending time is 11:23:11 */
-static TAO_IR_EventDef_Perfect_Hash_OpTable tao_IR_EventDef_optable;
-
-///////////////////////////////////////////////////////////////////////
-// Strategized Proxy Broker Implementation
-//
-
-// Factory function Implementation.
-POA_IR::_TAO_EventDef_Strategized_Proxy_Broker *POA_IR::_TAO_EventDef_Strategized_Proxy_Broker::the_TAO_EventDef_Strategized_Proxy_Broker (void)
-{
- static POA_IR::_TAO_EventDef_Strategized_Proxy_Broker strategized_proxy_broker;
- return &strategized_proxy_broker;
-}
-
-POA_IR::_TAO_EventDef_Strategized_Proxy_Broker::_TAO_EventDef_Strategized_Proxy_Broker (void)
-{
- for (int i = 0; i < TAO_Collocation_Strategies::CS_LAST; ++i)
- this->proxy_cache_[i] = 0;
-
-}
-
-POA_IR::_TAO_EventDef_Strategized_Proxy_Broker::~_TAO_EventDef_Strategized_Proxy_Broker (void)
-{
- for (int i = 0; i < TAO_Collocation_Strategies::CS_LAST; ++i)
- delete this->proxy_cache_[i];
-
-}
-
-_TAO_EventDef_Proxy_Impl&
-POA_IR::_TAO_EventDef_Strategized_Proxy_Broker::select_proxy (
- IR_EventDef *object,
- CORBA::Environment &ACE_TRY_ENV
- )
-{
- int strategy =
- TAO_ORB_Core::collocation_strategy (object);
-
- if (this->proxy_cache_[strategy] != 0)
- return *this->proxy_cache_[strategy];
-
- this->create_proxy (strategy, ACE_TRY_ENV);
- ACE_CHECK_RETURN (*this->proxy_cache_[strategy]);
-
- return *this->proxy_cache_[strategy];
-
-}
-
-void
-POA_IR::_TAO_EventDef_Strategized_Proxy_Broker::create_proxy (
- int strategy,
- CORBA::Environment &ACE_TRY_ENV
- )
-{
- ACE_GUARD (TAO_SYNCH_MUTEX, guard, this->mutex_);
-
- if (this->proxy_cache_[strategy] == 0)
- {
- switch (strategy)
- {
- case TAO_Collocation_Strategies::CS_THRU_POA_STRATEGY:
- ACE_NEW_THROW_EX (
- this->proxy_cache_[strategy],
- _TAO_EventDef_ThruPOA_Proxy_Impl,
- CORBA::NO_MEMORY ()
- );
- ACE_CHECK;
- break;
-
- case TAO_Collocation_Strategies::CS_REMOTE_STRATEGY:
- default:
- ACE_NEW_THROW_EX (
- this->proxy_cache_[strategy],
- _TAO_EventDef_Remote_Proxy_Impl,
- CORBA::NO_MEMORY ()
- );
- ACE_CHECK;
- break;
-
- }
-
- }
-}
-
-
-//
-// End Strategized Proxy Broker Implementation
-///////////////////////////////////////////////////////////////////////
-
-
-_TAO_EventDef_Proxy_Broker *
-_TAO_EventDef_Proxy_Broker_Factory_function (CORBA::Object_ptr obj)
-{
- ACE_UNUSED_ARG (obj);
- return ::POA_IR::_TAO_EventDef_Strategized_Proxy_Broker::the_TAO_EventDef_Strategized_Proxy_Broker();
-}
-
-int
-_TAO_EventDef_Proxy_Broker_Factory_Initializer (long _dummy_)
-{
- ACE_UNUSED_ARG (_dummy_);
-
- _TAO_EventDef_Proxy_Broker_Factory_function_pointer =
- _TAO_EventDef_Proxy_Broker_Factory_function;
-
- return 0;
-}
-
-static int _TAO_EventDef_Proxy_Broker_Stub_Factory_Initializer_Scarecrow =
- _TAO_EventDef_Proxy_Broker_Factory_Initializer (ACE_reinterpret_cast (long, _TAO_EventDef_Proxy_Broker_Factory_Initializer));
-
-
-///////////////////////////////////////////////////////////////////////
-// ThruPOA Proxy Implementation
-//
-
-POA_IR::_TAO_EventDef_ThruPOA_Proxy_Impl::_TAO_EventDef_ThruPOA_Proxy_Impl (void)
-{}
-
-// ThruPOA Implementation of the IDL interface methods
-
-CORBA::Boolean POA_IR::_TAO_EventDef_ThruPOA_Proxy_Impl::is_a (
- CORBA_Object *_collocated_tao_target_,
- const char * event_id,
- CORBA::Environment &ACE_TRY_ENV
- )
- ACE_THROW_SPEC ((
- CORBA::SystemException
- ))
-{
- CORBA::Boolean _tao_retval = 0;
- ACE_UNUSED_ARG (_tao_retval);
- TAO_Object_Adapter::Servant_Upcall servant_upcall (
- _collocated_tao_target_->_stubobj ()->servant_orb_var ()->orb_core ()
- );
- CORBA::Object_var forward_to;
- servant_upcall.prepare_for_upcall (
- _collocated_tao_target_->_object_key (),
- "is_a",
- forward_to.out (),
- ACE_TRY_ENV
- );
- ACE_CHECK_RETURN (_tao_retval);
- return ACE_reinterpret_cast (
- POA_IR::EventDef_ptr,
- servant_upcall.servant ()->_downcast (
- "IDL:omg.org/IR/EventDef:1.0"
- )
- )->is_a (
- event_id,
- ACE_TRY_ENV
- );
-}
-
-IR_ValueDef_ptr POA_IR::_TAO_EventDef_ThruPOA_Proxy_Impl::event (
- CORBA_Object *_collocated_tao_target_,
- CORBA::Environment &ACE_TRY_ENV
- )
- ACE_THROW_SPEC ((
- CORBA::SystemException
- ))
-{
- IR_ValueDef_var _tao_retval;
- ACE_UNUSED_ARG (_tao_retval);
- TAO_Object_Adapter::Servant_Upcall servant_upcall (
- _collocated_tao_target_->_stubobj ()->servant_orb_var ()->orb_core ()
- );
- CORBA::Object_var forward_to;
- servant_upcall.prepare_for_upcall (
- _collocated_tao_target_->_object_key (),
- "event",
- forward_to.out (),
- ACE_TRY_ENV
- );
- ACE_CHECK_RETURN (0);
- return ACE_reinterpret_cast (
- POA_IR::EventDef_ptr,
- servant_upcall.servant ()->_downcast (
- "IDL:omg.org/IR/EventDef:1.0"
- )
- )->event (
- ACE_TRY_ENV
- );
-}
-
-//
-// End ThruPOA Proxy Implementation
-///////////////////////////////////////////////////////////////////////
-
-// skeleton constructor
-POA_IR::EventDef::EventDef (void)
-{
- this->optable_ = &tao_IR_EventDef_optable;
-}
-
-// copy ctor
-POA_IR::EventDef::EventDef (const EventDef& rhs)
- : ACE_NESTED_CLASS (POA_IR,Contained) (rhs),
- POA_CORBA_IRObject (rhs),
- TAO_ServantBase (rhs)
-{}
-
-// skeleton destructor
-POA_IR::EventDef::~EventDef (void)
-{
-}
-
-void POA_IR::EventDef::is_a_skel (
- TAO_ServerRequest &_tao_server_request,
- void *_tao_object_reference,
- void * /* context */,
- CORBA::Environment &ACE_TRY_ENV
-)
-{
- TAO_InputCDR &_tao_in = _tao_server_request.incoming ();
- POA_IR::EventDef *_tao_impl = (POA_IR::EventDef *)_tao_object_reference;
-
- CORBA::Boolean _tao_retval = 0;
- CORBA::String_var event_id;
- if (!(
- (_tao_in >> event_id.out ())
- ))
- ACE_THROW (CORBA::MARSHAL () );
-
-#if (TAO_HAS_INTERCEPTORS == 1)
- TAO_ServerRequestInterceptor_Adapter _tao_vfr (
- _tao_server_request.orb_core ()->server_request_interceptors (),
- _tao_server_request.interceptor_count ()
- );
-
- POA_IR::EventDef::TAO_ServerRequestInfo_IR_EventDef_is_a ri (
- _tao_server_request,
- _tao_impl,
- event_id.in (),
- ACE_TRY_ENV
- );
-
- ACE_TRY
- {
- _tao_vfr.receive_request (&ri, ACE_TRY_ENV);
- ACE_TRY_CHECK;
-
-#endif /* TAO_HAS_INTERCEPTORS */
- _tao_retval =
- _tao_impl->is_a (
- event_id.in (),
- ACE_TRY_ENV
- );
- TAO_INTERCEPTOR_CHECK;
-
-#if (TAO_HAS_INTERCEPTORS == 1)
- CORBA::Boolean _tao_retval_info = _tao_retval;
- ri.result (_tao_retval_info);
- ri.reply_status (PortableInterceptor::SUCCESSFUL);
- _tao_vfr.send_reply (&ri, ACE_TRY_ENV);
- ACE_TRY_CHECK;
- }
- ACE_CATCH (PortableInterceptor::ForwardRequest, exc)
- {
- ri.forward_reference (exc);
- _tao_vfr.send_other (
- &ri,
- ACE_TRY_ENV
- );
- ACE_TRY_CHECK;
- _tao_server_request.forward_location (exc.forward.in ());
- }
- ACE_CATCHANY
- {
- ri.exception (&ACE_ANY_EXCEPTION);
- _tao_vfr.send_exception (
- &ri,
- ACE_TRY_ENV
- );
- ACE_TRY_CHECK;
- ACE_RE_THROW;
- }
- ACE_ENDTRY;
- ACE_CHECK;
-#endif /* TAO_HAS_INTERCEPTORS */
-
- _tao_server_request.init_reply ();
-
- TAO_OutputCDR &_tao_out = _tao_server_request.outgoing ();
-
- if (!(
- (_tao_out << CORBA::Any::from_boolean (_tao_retval))
- ))
- ACE_THROW (CORBA::MARSHAL());
-
- // In case ACE_TRY_ENV is not used in this function
- ACE_UNUSED_ARG (ACE_TRY_ENV);
-}
-
-void POA_IR::EventDef::_get_event_skel (
- TAO_ServerRequest &_tao_server_request,
- void *_tao_object_reference,
- void * /* context */,
- CORBA::Environment &ACE_TRY_ENV
-)
-{
- POA_IR::EventDef *_tao_impl = (POA_IR::EventDef *)_tao_object_reference;
-
- IR_ValueDef_var _tao_retval;
-
-#if (TAO_HAS_INTERCEPTORS == 1)
- TAO_ServerRequestInterceptor_Adapter _tao_vfr (
- _tao_server_request.orb_core ()->server_request_interceptors (),
- _tao_server_request.interceptor_count ()
- );
-
- POA_IR::EventDef::TAO_ServerRequestInfo_IR_EventDef_event_get ri (
- _tao_server_request,
- _tao_impl,
- ACE_TRY_ENV
- );
-
- ACE_TRY
- {
- _tao_vfr.receive_request (&ri, ACE_TRY_ENV);
- ACE_TRY_CHECK;
-
-#endif /* TAO_HAS_INTERCEPTORS */
- _tao_retval =
- _tao_impl->event (
- ACE_TRY_ENV
- );
- TAO_INTERCEPTOR_CHECK;
-
-#if (TAO_HAS_INTERCEPTORS == 1)
- IR_ValueDef_ptr _tao_retval_info = _tao_retval._retn ();
- ri.result (_tao_retval_info);
- _tao_retval = _tao_retval_info;
- ri.reply_status (PortableInterceptor::SUCCESSFUL);
- _tao_vfr.send_reply (&ri, ACE_TRY_ENV);
- ACE_TRY_CHECK;
- }
- ACE_CATCH (PortableInterceptor::ForwardRequest, exc)
- {
- ri.forward_reference (exc);
- _tao_vfr.send_other (
- &ri,
- ACE_TRY_ENV
- );
- ACE_TRY_CHECK;
- _tao_server_request.forward_location (exc.forward.in ());
- }
- ACE_CATCHANY
- {
- ri.exception (&ACE_ANY_EXCEPTION);
- _tao_vfr.send_exception (
- &ri,
- ACE_TRY_ENV
- );
- ACE_TRY_CHECK;
- ACE_RE_THROW;
- }
- ACE_ENDTRY;
- ACE_CHECK;
-#endif /* TAO_HAS_INTERCEPTORS */
-
- _tao_server_request.init_reply ();
-
- TAO_OutputCDR &_tao_out = _tao_server_request.outgoing ();
-
- if (!(
- (_tao_out << _tao_retval.in ())
- ))
- ACE_THROW (CORBA::MARSHAL());
-
- // In case ACE_TRY_ENV is not used in this function
- ACE_UNUSED_ARG (ACE_TRY_ENV);
-}
-
-void POA_IR::EventDef::_is_a_skel (
- TAO_ServerRequest &_tao_server_request,
- void * _tao_object_reference,
- void * /* context */,
- CORBA::Environment &ACE_TRY_ENV
- )
-{
- TAO_InputCDR &_tao_in = _tao_server_request.incoming ();
- POA_IR::EventDef *_tao_impl = (POA_IR::EventDef *) _tao_object_reference;
- CORBA::Boolean _tao_retval = 0;
- CORBA::String_var value;
- if (!((_tao_in >> value.out ())))
- ACE_THROW (CORBA::MARSHAL ());
-
- _tao_retval = _tao_impl->_is_a (value.in (), ACE_TRY_ENV);
- ACE_CHECK;
-
- _tao_server_request.init_reply ();
- TAO_OutputCDR &_tao_out = _tao_server_request.outgoing ();
- if (!((_tao_out << CORBA::Any::from_boolean (_tao_retval))))
- ACE_THROW (CORBA::MARSHAL ());
-}
-
-void POA_IR::EventDef::_non_existent_skel (
- TAO_ServerRequest &_tao_server_request,
- void * _tao_object_reference,
- void * /* context */,
- CORBA::Environment &ACE_TRY_ENV
- )
-{
- POA_IR::EventDef *_tao_impl = (POA_IR::EventDef *) _tao_object_reference;
- CORBA::Boolean _tao_retval = _tao_impl->_non_existent (ACE_TRY_ENV);
- ACE_CHECK;
-
- _tao_server_request.init_reply ();
- TAO_OutputCDR &_tao_out = _tao_server_request.outgoing ();
- if (!((_tao_out << CORBA::Any::from_boolean (_tao_retval))))
- ACE_THROW (CORBA::MARSHAL ());
-}
-
-CORBA::Boolean POA_IR::EventDef::_is_a (
- const char* value,
- CORBA::Environment &ACE_TRY_ENV
- )
-{
- if (
- (!ACE_OS::strcmp ((char *)value, "IDL:omg.org/IR/EventDef:1.0")) ||
- (!ACE_OS::strcmp ((char *)value, "IDL:omg.org/IR/Contained:1.0")) ||
- (!ACE_OS::strcmp ((char *)value, "IDL:omg.org/CORBA/IRObject:1.0")) ||
- (!ACE_OS::strcmp ((char *)value, CORBA::_tc_Object->id (ACE_TRY_ENV))))
- return 1;
- else
- return 0;
-}
-
-void* POA_IR::EventDef::_downcast (
- const char* logical_type_id
- )
-{
- if (ACE_OS::strcmp (logical_type_id, "IDL:omg.org/IR/EventDef:1.0") == 0)
- return ACE_static_cast (POA_IR::EventDef_ptr, this);
- if (ACE_OS::strcmp (logical_type_id, "IDL:omg.org/IR/Contained:1.0") == 0)
- return ACE_static_cast (POA_IR::Contained_ptr, this);
- if (ACE_OS::strcmp (logical_type_id, "IDL:omg.org/CORBA/IRObject:1.0") == 0)
- return ACE_static_cast (POA_CORBA_IRObject_ptr, this);
- if (ACE_OS::strcmp (logical_type_id, "IDL:omg.org/CORBA/Object:1.0") == 0)
- return ACE_static_cast(PortableServer::Servant, this);
- return 0;
-}
-
-void POA_IR::EventDef::_dispatch (TAO_ServerRequest &req, void *context, CORBA::Environment &ACE_TRY_ENV)
-{
- this->synchronous_upcall_dispatch(req, context, this, ACE_TRY_ENV);
-}
-
-const char* POA_IR::EventDef::_interface_repository_id (void) const
-{
- return "IDL:omg.org/IR/EventDef:1.0";
-}
-
-IR::EventDef*
-POA_IR::EventDef::_this (CORBA_Environment &ACE_TRY_ENV)
-{
- TAO_Stub *stub = this->_create_stub (ACE_TRY_ENV);
- ACE_CHECK_RETURN (0);
-
- CORBA::Object_ptr tmp = CORBA::Object::_nil ();
-
- if (stub->servant_orb_var ()->orb_core ()->optimize_collocation_objects ())
- ACE_NEW_RETURN (tmp, CORBA::Object (stub, 1, this), 0);
- else
- ACE_NEW_RETURN (tmp, CORBA::Object (stub, 0, this), 0);
-
- CORBA::Object_var obj = tmp;
- return IR_EventDef::_unchecked_narrow (obj.in ());
-}
-
-#if (TAO_HAS_INTERCEPTORS == 1)
-POA_IR::EventDef::TAO_ServerRequestInfo_IR_EventDef_is_a::TAO_ServerRequestInfo_IR_EventDef_is_a (
- TAO_ServerRequest &_tao_server_request,
- POA_IR::EventDef *tao_impl,
- const char * event_id,
- CORBA::Environment &
- )
- : TAO_ServerRequestInfo (_tao_server_request),
- _tao_impl (tao_impl),
- event_id_ (event_id)
-{}
-
-Dynamic::ParameterList *
-POA_IR::EventDef::TAO_ServerRequestInfo_IR_EventDef_is_a::arguments (CORBA::Environment &ACE_TRY_ENV)
- ACE_THROW_SPEC ((CORBA::SystemException))
-{
- // Generate the argument list on demand.
- Dynamic::ParameterList *parameter_list =
- TAO_RequestInfo_Util::make_parameter_list (ACE_TRY_ENV);
- ACE_CHECK_RETURN (0);
-
- Dynamic::ParameterList_var safe_parameter_list = parameter_list;
-
- CORBA::ULong length_event_id = parameter_list->length ();
- parameter_list->length (length_event_id + 1);
- (*parameter_list)[length_event_id].argument <<= event_id_;
- (*parameter_list)[length_event_id].mode = Dynamic::PARAM_IN;
-
- return safe_parameter_list._retn ();
-}
-
-Dynamic::ExceptionList *
-POA_IR::EventDef::TAO_ServerRequestInfo_IR_EventDef_is_a::exceptions (CORBA::Environment &ACE_TRY_ENV)
- ACE_THROW_SPEC ((CORBA::SystemException))
-{
- // Generate the exception list on demand.
- Dynamic::ExceptionList *exception_list =
- TAO_RequestInfo_Util::make_exception_list (ACE_TRY_ENV);
- ACE_CHECK_RETURN (0);
-
- return exception_list;
-}
-
-CORBA::Any *
-POA_IR::EventDef::TAO_ServerRequestInfo_IR_EventDef_is_a::result (CORBA::Environment &ACE_TRY_ENV)
- ACE_THROW_SPEC ((CORBA::SystemException))
-{
- // Generate the result on demand.
- CORBA::Boolean tk_void_any = 0;
- CORBA::Any *result_any =
- TAO_RequestInfo_Util::make_any (tk_void_any, ACE_TRY_ENV);
- ACE_CHECK_RETURN (0);
-
- CORBA::Any_var safe_result_any = result_any;
-
- (*result_any) <<= CORBA::Any::from_boolean (this->_result);
-
- return safe_result_any._retn ();
-}
-
-char *
-POA_IR::EventDef::TAO_ServerRequestInfo_IR_EventDef_is_a::target_most_derived_interface (
- CORBA::Environment &)
- ACE_THROW_SPEC ((CORBA::SystemException))
-{
- return
- CORBA::string_dup (this->_tao_impl->_interface_repository_id ());
-}
-
-CORBA::Boolean
-POA_IR::EventDef::TAO_ServerRequestInfo_IR_EventDef_is_a::target_is_a (
- const char * id,
- CORBA::Environment &ACE_TRY_ENV)
- ACE_THROW_SPEC ((CORBA::SystemException))
-{
- return this->_tao_impl->_is_a (id, ACE_TRY_ENV);
-}
-
-void
-POA_IR::EventDef::TAO_ServerRequestInfo_IR_EventDef_is_a::result (CORBA::Boolean result)
-{
- // Update the result.
- this->_result = result;
-}
-
-POA_IR::EventDef::TAO_ServerRequestInfo_IR_EventDef_event_get::TAO_ServerRequestInfo_IR_EventDef_event_get (
- TAO_ServerRequest &_tao_server_request,
- POA_IR::EventDef *tao_impl,
- CORBA::Environment &
- )
- : TAO_ServerRequestInfo (_tao_server_request),
- _tao_impl (tao_impl)
-{}
-
-Dynamic::ParameterList *
-POA_IR::EventDef::TAO_ServerRequestInfo_IR_EventDef_event_get::arguments (CORBA::Environment &ACE_TRY_ENV)
- ACE_THROW_SPEC ((CORBA::SystemException))
-{
- // Generate the argument list on demand.
- Dynamic::ParameterList *parameter_list =
- TAO_RequestInfo_Util::make_parameter_list (ACE_TRY_ENV);
- ACE_CHECK_RETURN (0);
-
- return parameter_list;
-}
-
-Dynamic::ExceptionList *
-POA_IR::EventDef::TAO_ServerRequestInfo_IR_EventDef_event_get::exceptions (CORBA::Environment &ACE_TRY_ENV)
- ACE_THROW_SPEC ((CORBA::SystemException))
-{
- // Generate the exception list on demand.
- Dynamic::ExceptionList *exception_list =
- TAO_RequestInfo_Util::make_exception_list (ACE_TRY_ENV);
- ACE_CHECK_RETURN (0);
-
- return exception_list;
-}
-
-CORBA::Any *
-POA_IR::EventDef::TAO_ServerRequestInfo_IR_EventDef_event_get::result (CORBA::Environment &ACE_TRY_ENV)
- ACE_THROW_SPEC ((CORBA::SystemException))
-{
- // Generate the result on demand.
- CORBA::Boolean tk_void_any = 0;
- CORBA::Any *result_any =
- TAO_RequestInfo_Util::make_any (tk_void_any, ACE_TRY_ENV);
- ACE_CHECK_RETURN (0);
-
- CORBA::Any_var safe_result_any = result_any;
-
- (*result_any) <<= this->_result;
-
- return safe_result_any._retn ();
-}
-
-char *
-POA_IR::EventDef::TAO_ServerRequestInfo_IR_EventDef_event_get::target_most_derived_interface (
- CORBA::Environment &)
- ACE_THROW_SPEC ((CORBA::SystemException))
-{
- return
- CORBA::string_dup (this->_tao_impl->_interface_repository_id ());
-}
-
-CORBA::Boolean
-POA_IR::EventDef::TAO_ServerRequestInfo_IR_EventDef_event_get::target_is_a (
- const char * id,
- CORBA::Environment &ACE_TRY_ENV)
- ACE_THROW_SPEC ((CORBA::SystemException))
-{
- return this->_tao_impl->_is_a (id, ACE_TRY_ENV);
-}
-
-void
-POA_IR::EventDef::TAO_ServerRequestInfo_IR_EventDef_event_get::result (IR::ValueDef_ptr result)
-{
- // Update the result.
- this->_result = result;
-}
-
-#endif /* TAO_HAS_INTERCEPTORS */
-
-class TAO_IR_EmitsDef_Perfect_Hash_OpTable : public TAO_Perfect_Hash_OpTable
-{
-private:
- unsigned int hash (const char *str, unsigned int len);
-public:
- const TAO_operation_db_entry * lookup (const char *str, unsigned int len);
-};
-/* starting time is 11:23:11 */
-/* C++ code produced by gperf version 2.8 (ACE version) */
-/* Command-line: gperf -m -M -J -c -C -D -E -T -f 0 -F 0 -a -o -t -p -K opname_ -L C++ -Z TAO_IR_EmitsDef_Perfect_Hash_OpTable -N lookup */
-unsigned int
-TAO_IR_EmitsDef_Perfect_Hash_OpTable::hash (const char *str, unsigned int len)
-{
- static const unsigned char asso_values[] =
- {
-#if defined (ACE_MVS)
- 37, 37, 37, 37, 37, 37, 37, 37, 37, 37,
- 37, 37, 37, 37, 37, 37, 37, 37, 37, 37,
- 37, 37, 37, 37, 37, 37, 37, 37, 37, 37,
- 37, 37, 37, 37, 37, 37, 37, 37, 37, 37,
- 37, 37, 37, 37, 37, 37, 37, 37, 37, 37,
- 37, 37, 37, 37, 37, 37, 37, 37, 37, 37,
- 37, 37, 37, 37, 37, 37, 37, 37, 37, 37,
- 37, 37, 37, 37, 37, 37, 37, 37, 37, 37,
- 37, 37, 37, 37, 37, 37, 37, 37, 37, 37,
- 37, 37, 37, 37, 37, 37, 37, 37, 37, 37,
- 37, 37, 37, 37, 37, 37, 37, 37, 37, 0,
- 37, 37, 37, 37, 37, 37, 37, 37, 37, 37,
- 37, 37, 37, 37, 37, 37, 37, 37, 37, 0,
- 37, 37, 0, 0, 37, 37, 37, 10, 37, 37,
- 37, 37, 37, 37, 37, 37, 37, 37, 0, 0,
- 37, 37, 37, 37, 37, 37, 37, 37, 37, 37,
- 37, 37, 37, 10, 37, 37, 37, 37, 10, 37,
- 37, 37, 37, 37, 37, 37, 37, 37, 37, 37,
- 37, 37, 37, 37, 37, 37, 37, 37, 37, 37,
- 37, 37, 37, 37, 37, 37, 37, 37, 37, 37,
- 37, 37, 37, 37, 37, 37, 37, 37, 37, 37,
- 37, 37, 37, 37, 37, 37, 37, 37, 37, 37,
- 37, 37, 37, 37, 37, 37, 37, 37, 37, 37,
- 37, 37, 37, 37, 37, 37, 37, 37, 37, 37,
- 37, 37, 37, 37, 37, 37, 37, 37, 37, 37,
- 37, 37, 37, 37, 37, 37,
-#else
- 37, 37, 37, 37, 37, 37, 37, 37, 37, 37,
- 37, 37, 37, 37, 37, 37, 37, 37, 37, 37,
- 37, 37, 37, 37, 37, 37, 37, 37, 37, 37,
- 37, 37, 37, 37, 37, 37, 37, 37, 37, 37,
- 37, 37, 37, 37, 37, 37, 37, 37, 37, 37,
- 37, 37, 37, 37, 37, 37, 37, 37, 37, 37,
- 37, 37, 37, 37, 37, 37, 37, 37, 37, 37,
- 37, 37, 37, 37, 37, 37, 37, 37, 37, 37,
- 37, 37, 37, 37, 37, 37, 37, 37, 37, 37,
- 37, 37, 37, 37, 37, 0, 37, 0, 37, 37,
- 0, 0, 37, 37, 37, 10, 37, 37, 37, 0,
- 0, 37, 37, 37, 37, 37, 10, 37, 37, 37,
- 37, 10, 37, 37, 37, 37, 37, 37,
-#endif /* ACE_MVS */
- };
- return len + asso_values[str[len - 1]] + asso_values[str[0]];
-}
-
-const class TAO_operation_db_entry *
-TAO_IR_EmitsDef_Perfect_Hash_OpTable::lookup (const char *str, unsigned int len)
-{
- enum
- {
- TOTAL_KEYWORDS = 17,
- MIN_WORD_LENGTH = 4,
- MAX_WORD_LENGTH = 26,
- MIN_HASH_VALUE = 4,
- MAX_HASH_VALUE = 36,
- HASH_VALUE_RANGE = 33,
- DUPLICATES = 4
- };
-
- static const class TAO_operation_db_entry wordlist[] =
- {
- {"",0},{"",0},{"",0},{"",0},
- {"move", &POA_IR::EmitsDef::move_skel},
- {"_is_a", &POA_IR::EmitsDef::_is_a_skel},
- {"_get_id", &POA_IR::EmitsDef::_get_id_skel},
- {"_set_id", &POA_IR::EmitsDef::_set_id_skel},
- {"describe", &POA_IR::EmitsDef::describe_skel},
- {"_get_name", &POA_IR::EmitsDef::_get_name_skel},
- {"_set_name", &POA_IR::EmitsDef::_set_name_skel},
- {"_get_version", &POA_IR::EmitsDef::_get_version_skel},
- {"_set_version", &POA_IR::EmitsDef::_set_version_skel},
- {"_get_def_kind", &POA_IR::EmitsDef::_get_def_kind_skel},
- {"is_a", &POA_IR::EmitsDef::is_a_skel},
- {"_get_defined_in", &POA_IR::EmitsDef::_get_defined_in_skel},
- {"destroy", &POA_IR::EmitsDef::destroy_skel},
- {"_get_absolute_name", &POA_IR::EmitsDef::_get_absolute_name_skel},
- {"_get_event", &POA_IR::EmitsDef::_get_event_skel},
- {"_non_existent", &POA_IR::EmitsDef::_non_existent_skel},
- {"_get_containing_repository", &POA_IR::EmitsDef::_get_containing_repository_skel},
- };
-
- static const signed char lookup[] =
- {
- -6, -2, -9, -2, 4, 5, -1, -43, 8, -43, -11, -2, -38, 13,
- 14, 15, -1, 16, 17, -1, 18, -1, -1, 19, -1, -1, -1, -1,
- -1, -1, -1, -1, -1, -1, -1, -1, 20,
- };
-
- if (len <= MAX_WORD_LENGTH && len >= MIN_WORD_LENGTH)
- {
- unsigned int key = hash (str, len);
-
- if (key <= MAX_HASH_VALUE && key >= MIN_HASH_VALUE)
- {
- int slot = lookup[key];
-
- if (slot >= 0 && slot < MAX_HASH_VALUE)
- {
- const char *s = wordlist[slot].opname_;
-
- if (*str == *s && !strncmp (str + 1, s + 1, len - 1))
- return &wordlist[slot];
- }
- else if (slot < 0 && slot >= -MAX_HASH_VALUE)
- return 0;
- else
- {
- unsigned int offset = key + slot + (slot > 0 ? -MAX_HASH_VALUE : MAX_HASH_VALUE);
- const class TAO_operation_db_entry *base = &wordlist[-lookup[offset]];
- const class TAO_operation_db_entry *ptr = base + -lookup[offset + 1];
-
- while (--ptr >= base)
- if (*str == *ptr->opname_ && !strncmp (str + 1, ptr->opname_ + 1, len - 1))
- return ptr;
- }
- }
- }
- return 0;
-}
-/* ending time is 11:23:11 */
-static TAO_IR_EmitsDef_Perfect_Hash_OpTable tao_IR_EmitsDef_optable;
-
-///////////////////////////////////////////////////////////////////////
-// Strategized Proxy Broker Implementation
-//
-
-// Factory function Implementation.
-POA_IR::_TAO_EmitsDef_Strategized_Proxy_Broker *POA_IR::_TAO_EmitsDef_Strategized_Proxy_Broker::the_TAO_EmitsDef_Strategized_Proxy_Broker (void)
-{
- static POA_IR::_TAO_EmitsDef_Strategized_Proxy_Broker strategized_proxy_broker;
- return &strategized_proxy_broker;
-}
-
-POA_IR::_TAO_EmitsDef_Strategized_Proxy_Broker::_TAO_EmitsDef_Strategized_Proxy_Broker (void)
-{
- for (int i = 0; i < TAO_Collocation_Strategies::CS_LAST; ++i)
- this->proxy_cache_[i] = 0;
-
-}
-
-POA_IR::_TAO_EmitsDef_Strategized_Proxy_Broker::~_TAO_EmitsDef_Strategized_Proxy_Broker (void)
-{
- for (int i = 0; i < TAO_Collocation_Strategies::CS_LAST; ++i)
- delete this->proxy_cache_[i];
-
-}
-
-_TAO_EmitsDef_Proxy_Impl&
-POA_IR::_TAO_EmitsDef_Strategized_Proxy_Broker::select_proxy (
- IR_EmitsDef *object,
- CORBA::Environment &ACE_TRY_ENV
- )
-{
- int strategy =
- TAO_ORB_Core::collocation_strategy (object);
-
- if (this->proxy_cache_[strategy] != 0)
- return *this->proxy_cache_[strategy];
-
- this->create_proxy (strategy, ACE_TRY_ENV);
- ACE_CHECK_RETURN (*this->proxy_cache_[strategy]);
-
- return *this->proxy_cache_[strategy];
-
-}
-
-void
-POA_IR::_TAO_EmitsDef_Strategized_Proxy_Broker::create_proxy (
- int strategy,
- CORBA::Environment &ACE_TRY_ENV
- )
-{
- ACE_GUARD (TAO_SYNCH_MUTEX, guard, this->mutex_);
-
- if (this->proxy_cache_[strategy] == 0)
- {
- switch (strategy)
- {
- case TAO_Collocation_Strategies::CS_THRU_POA_STRATEGY:
- ACE_NEW_THROW_EX (
- this->proxy_cache_[strategy],
- _TAO_EmitsDef_ThruPOA_Proxy_Impl,
- CORBA::NO_MEMORY ()
- );
- ACE_CHECK;
- break;
-
- case TAO_Collocation_Strategies::CS_REMOTE_STRATEGY:
- default:
- ACE_NEW_THROW_EX (
- this->proxy_cache_[strategy],
- _TAO_EmitsDef_Remote_Proxy_Impl,
- CORBA::NO_MEMORY ()
- );
- ACE_CHECK;
- break;
-
- }
-
- }
-}
-
-
-//
-// End Strategized Proxy Broker Implementation
-///////////////////////////////////////////////////////////////////////
-
-
-_TAO_EmitsDef_Proxy_Broker *
-_TAO_EmitsDef_Proxy_Broker_Factory_function (CORBA::Object_ptr obj)
-{
- ACE_UNUSED_ARG (obj);
- return ::POA_IR::_TAO_EmitsDef_Strategized_Proxy_Broker::the_TAO_EmitsDef_Strategized_Proxy_Broker();
-}
-
-int
-_TAO_EmitsDef_Proxy_Broker_Factory_Initializer (long _dummy_)
-{
- ACE_UNUSED_ARG (_dummy_);
-
- _TAO_EmitsDef_Proxy_Broker_Factory_function_pointer =
- _TAO_EmitsDef_Proxy_Broker_Factory_function;
-
- return 0;
-}
-
-static int _TAO_EmitsDef_Proxy_Broker_Stub_Factory_Initializer_Scarecrow =
- _TAO_EmitsDef_Proxy_Broker_Factory_Initializer (ACE_reinterpret_cast (long, _TAO_EmitsDef_Proxy_Broker_Factory_Initializer));
-
-
-///////////////////////////////////////////////////////////////////////
-// ThruPOA Proxy Implementation
-//
-
-POA_IR::_TAO_EmitsDef_ThruPOA_Proxy_Impl::_TAO_EmitsDef_ThruPOA_Proxy_Impl (void)
-{}
-
-// ThruPOA Implementation of the IDL interface methods
-
-//
-// End ThruPOA Proxy Implementation
-///////////////////////////////////////////////////////////////////////
-
-// skeleton constructor
-POA_IR::EmitsDef::EmitsDef (void)
-{
- this->optable_ = &tao_IR_EmitsDef_optable;
-}
-
-// copy ctor
-POA_IR::EmitsDef::EmitsDef (const EmitsDef& rhs)
- : ACE_NESTED_CLASS (POA_IR,EventDef) (rhs),
- ACE_NESTED_CLASS (POA_IR,Contained) (rhs),
- POA_CORBA_IRObject (rhs),
- TAO_ServantBase (rhs)
-{}
-
-// skeleton destructor
-POA_IR::EmitsDef::~EmitsDef (void)
-{
-}
-
-void POA_IR::EmitsDef::_is_a_skel (
- TAO_ServerRequest &_tao_server_request,
- void * _tao_object_reference,
- void * /* context */,
- CORBA::Environment &ACE_TRY_ENV
- )
-{
- TAO_InputCDR &_tao_in = _tao_server_request.incoming ();
- POA_IR::EmitsDef *_tao_impl = (POA_IR::EmitsDef *) _tao_object_reference;
- CORBA::Boolean _tao_retval = 0;
- CORBA::String_var value;
- if (!((_tao_in >> value.out ())))
- ACE_THROW (CORBA::MARSHAL ());
-
- _tao_retval = _tao_impl->_is_a (value.in (), ACE_TRY_ENV);
- ACE_CHECK;
-
- _tao_server_request.init_reply ();
- TAO_OutputCDR &_tao_out = _tao_server_request.outgoing ();
- if (!((_tao_out << CORBA::Any::from_boolean (_tao_retval))))
- ACE_THROW (CORBA::MARSHAL ());
-}
-
-void POA_IR::EmitsDef::_non_existent_skel (
- TAO_ServerRequest &_tao_server_request,
- void * _tao_object_reference,
- void * /* context */,
- CORBA::Environment &ACE_TRY_ENV
- )
-{
- POA_IR::EmitsDef *_tao_impl = (POA_IR::EmitsDef *) _tao_object_reference;
- CORBA::Boolean _tao_retval = _tao_impl->_non_existent (ACE_TRY_ENV);
- ACE_CHECK;
-
- _tao_server_request.init_reply ();
- TAO_OutputCDR &_tao_out = _tao_server_request.outgoing ();
- if (!((_tao_out << CORBA::Any::from_boolean (_tao_retval))))
- ACE_THROW (CORBA::MARSHAL ());
-}
-
-CORBA::Boolean POA_IR::EmitsDef::_is_a (
- const char* value,
- CORBA::Environment &ACE_TRY_ENV
- )
-{
- if (
- (!ACE_OS::strcmp ((char *)value, "IDL:omg.org/IR/EmitsDef:1.0")) ||
- (!ACE_OS::strcmp ((char *)value, "IDL:omg.org/IR/EventDef:1.0")) ||
- (!ACE_OS::strcmp ((char *)value, "IDL:omg.org/IR/Contained:1.0")) ||
- (!ACE_OS::strcmp ((char *)value, "IDL:omg.org/CORBA/IRObject:1.0")) ||
- (!ACE_OS::strcmp ((char *)value, CORBA::_tc_Object->id (ACE_TRY_ENV))))
- return 1;
- else
- return 0;
-}
-
-void* POA_IR::EmitsDef::_downcast (
- const char* logical_type_id
- )
-{
- if (ACE_OS::strcmp (logical_type_id, "IDL:omg.org/IR/EmitsDef:1.0") == 0)
- return ACE_static_cast (POA_IR::EmitsDef_ptr, this);
- if (ACE_OS::strcmp (logical_type_id, "IDL:omg.org/IR/EventDef:1.0") == 0)
- return ACE_static_cast (POA_IR::EventDef_ptr, this);
- if (ACE_OS::strcmp (logical_type_id, "IDL:omg.org/IR/Contained:1.0") == 0)
- return ACE_static_cast (POA_IR::Contained_ptr, this);
- if (ACE_OS::strcmp (logical_type_id, "IDL:omg.org/CORBA/IRObject:1.0") == 0)
- return ACE_static_cast (POA_CORBA_IRObject_ptr, this);
- if (ACE_OS::strcmp (logical_type_id, "IDL:omg.org/CORBA/Object:1.0") == 0)
- return ACE_static_cast(PortableServer::Servant, this);
- return 0;
-}
-
-void POA_IR::EmitsDef::_dispatch (TAO_ServerRequest &req, void *context, CORBA::Environment &ACE_TRY_ENV)
-{
- this->synchronous_upcall_dispatch(req, context, this, ACE_TRY_ENV);
-}
-
-const char* POA_IR::EmitsDef::_interface_repository_id (void) const
-{
- return "IDL:omg.org/IR/EmitsDef:1.0";
-}
-
-IR::EmitsDef*
-POA_IR::EmitsDef::_this (CORBA_Environment &ACE_TRY_ENV)
-{
- TAO_Stub *stub = this->_create_stub (ACE_TRY_ENV);
- ACE_CHECK_RETURN (0);
-
- CORBA::Object_ptr tmp = CORBA::Object::_nil ();
-
- if (stub->servant_orb_var ()->orb_core ()->optimize_collocation_objects ())
- ACE_NEW_RETURN (tmp, CORBA::Object (stub, 1, this), 0);
- else
- ACE_NEW_RETURN (tmp, CORBA::Object (stub, 0, this), 0);
-
- CORBA::Object_var obj = tmp;
- return IR_EmitsDef::_unchecked_narrow (obj.in ());
-}
-
-#if (TAO_HAS_INTERCEPTORS == 1)
-#endif /* TAO_HAS_INTERCEPTORS */
-
-class TAO_IR_PublishesDef_Perfect_Hash_OpTable : public TAO_Perfect_Hash_OpTable
-{
-private:
- unsigned int hash (const char *str, unsigned int len);
-public:
- const TAO_operation_db_entry * lookup (const char *str, unsigned int len);
-};
-/* starting time is 11:23:11 */
-/* C++ code produced by gperf version 2.8 (ACE version) */
-/* Command-line: gperf -m -M -J -c -C -D -E -T -f 0 -F 0 -a -o -t -p -K opname_ -L C++ -Z TAO_IR_PublishesDef_Perfect_Hash_OpTable -N lookup */
-unsigned int
-TAO_IR_PublishesDef_Perfect_Hash_OpTable::hash (const char *str, unsigned int len)
-{
- static const unsigned char asso_values[] =
- {
-#if defined (ACE_MVS)
- 37, 37, 37, 37, 37, 37, 37, 37, 37, 37,
- 37, 37, 37, 37, 37, 37, 37, 37, 37, 37,
- 37, 37, 37, 37, 37, 37, 37, 37, 37, 37,
- 37, 37, 37, 37, 37, 37, 37, 37, 37, 37,
- 37, 37, 37, 37, 37, 37, 37, 37, 37, 37,
- 37, 37, 37, 37, 37, 37, 37, 37, 37, 37,
- 37, 37, 37, 37, 37, 37, 37, 37, 37, 37,
- 37, 37, 37, 37, 37, 37, 37, 37, 37, 37,
- 37, 37, 37, 37, 37, 37, 37, 37, 37, 37,
- 37, 37, 37, 37, 37, 37, 37, 37, 37, 37,
- 37, 37, 37, 37, 37, 37, 37, 37, 37, 0,
- 37, 37, 37, 37, 37, 37, 37, 37, 37, 37,
- 37, 37, 37, 37, 37, 37, 37, 37, 37, 0,
- 37, 37, 0, 0, 37, 37, 37, 10, 37, 37,
- 37, 37, 37, 37, 37, 37, 37, 37, 0, 0,
- 37, 37, 37, 37, 37, 37, 37, 37, 37, 37,
- 37, 37, 37, 10, 37, 37, 37, 37, 10, 37,
- 37, 37, 37, 37, 37, 37, 37, 37, 37, 37,
- 37, 37, 37, 37, 37, 37, 37, 37, 37, 37,
- 37, 37, 37, 37, 37, 37, 37, 37, 37, 37,
- 37, 37, 37, 37, 37, 37, 37, 37, 37, 37,
- 37, 37, 37, 37, 37, 37, 37, 37, 37, 37,
- 37, 37, 37, 37, 37, 37, 37, 37, 37, 37,
- 37, 37, 37, 37, 37, 37, 37, 37, 37, 37,
- 37, 37, 37, 37, 37, 37, 37, 37, 37, 37,
- 37, 37, 37, 37, 37, 37,
-#else
- 37, 37, 37, 37, 37, 37, 37, 37, 37, 37,
- 37, 37, 37, 37, 37, 37, 37, 37, 37, 37,
- 37, 37, 37, 37, 37, 37, 37, 37, 37, 37,
- 37, 37, 37, 37, 37, 37, 37, 37, 37, 37,
- 37, 37, 37, 37, 37, 37, 37, 37, 37, 37,
- 37, 37, 37, 37, 37, 37, 37, 37, 37, 37,
- 37, 37, 37, 37, 37, 37, 37, 37, 37, 37,
- 37, 37, 37, 37, 37, 37, 37, 37, 37, 37,
- 37, 37, 37, 37, 37, 37, 37, 37, 37, 37,
- 37, 37, 37, 37, 37, 0, 37, 0, 37, 37,
- 0, 0, 37, 37, 37, 10, 37, 37, 37, 0,
- 0, 37, 37, 37, 37, 37, 10, 37, 37, 37,
- 37, 10, 37, 37, 37, 37, 37, 37,
-#endif /* ACE_MVS */
- };
- return len + asso_values[str[len - 1]] + asso_values[str[0]];
-}
-
-const class TAO_operation_db_entry *
-TAO_IR_PublishesDef_Perfect_Hash_OpTable::lookup (const char *str, unsigned int len)
-{
- enum
- {
- TOTAL_KEYWORDS = 17,
- MIN_WORD_LENGTH = 4,
- MAX_WORD_LENGTH = 26,
- MIN_HASH_VALUE = 4,
- MAX_HASH_VALUE = 36,
- HASH_VALUE_RANGE = 33,
- DUPLICATES = 4
- };
-
- static const class TAO_operation_db_entry wordlist[] =
- {
- {"",0},{"",0},{"",0},{"",0},
- {"move", &POA_IR::PublishesDef::move_skel},
- {"_is_a", &POA_IR::PublishesDef::_is_a_skel},
- {"_get_id", &POA_IR::PublishesDef::_get_id_skel},
- {"_set_id", &POA_IR::PublishesDef::_set_id_skel},
- {"describe", &POA_IR::PublishesDef::describe_skel},
- {"_get_name", &POA_IR::PublishesDef::_get_name_skel},
- {"_set_name", &POA_IR::PublishesDef::_set_name_skel},
- {"_get_version", &POA_IR::PublishesDef::_get_version_skel},
- {"_set_version", &POA_IR::PublishesDef::_set_version_skel},
- {"_get_def_kind", &POA_IR::PublishesDef::_get_def_kind_skel},
- {"is_a", &POA_IR::PublishesDef::is_a_skel},
- {"_get_defined_in", &POA_IR::PublishesDef::_get_defined_in_skel},
- {"destroy", &POA_IR::PublishesDef::destroy_skel},
- {"_get_absolute_name", &POA_IR::PublishesDef::_get_absolute_name_skel},
- {"_get_event", &POA_IR::PublishesDef::_get_event_skel},
- {"_non_existent", &POA_IR::PublishesDef::_non_existent_skel},
- {"_get_containing_repository", &POA_IR::PublishesDef::_get_containing_repository_skel},
- };
-
- static const signed char lookup[] =
- {
- -6, -2, -9, -2, 4, 5, -1, -43, 8, -43, -11, -2, -38, 13,
- 14, 15, -1, 16, 17, -1, 18, -1, -1, 19, -1, -1, -1, -1,
- -1, -1, -1, -1, -1, -1, -1, -1, 20,
- };
-
- if (len <= MAX_WORD_LENGTH && len >= MIN_WORD_LENGTH)
- {
- unsigned int key = hash (str, len);
-
- if (key <= MAX_HASH_VALUE && key >= MIN_HASH_VALUE)
- {
- int slot = lookup[key];
-
- if (slot >= 0 && slot < MAX_HASH_VALUE)
- {
- const char *s = wordlist[slot].opname_;
-
- if (*str == *s && !strncmp (str + 1, s + 1, len - 1))
- return &wordlist[slot];
- }
- else if (slot < 0 && slot >= -MAX_HASH_VALUE)
- return 0;
- else
- {
- unsigned int offset = key + slot + (slot > 0 ? -MAX_HASH_VALUE : MAX_HASH_VALUE);
- const class TAO_operation_db_entry *base = &wordlist[-lookup[offset]];
- const class TAO_operation_db_entry *ptr = base + -lookup[offset + 1];
-
- while (--ptr >= base)
- if (*str == *ptr->opname_ && !strncmp (str + 1, ptr->opname_ + 1, len - 1))
- return ptr;
- }
- }
- }
- return 0;
-}
-/* ending time is 11:23:11 */
-static TAO_IR_PublishesDef_Perfect_Hash_OpTable tao_IR_PublishesDef_optable;
-
-///////////////////////////////////////////////////////////////////////
-// Strategized Proxy Broker Implementation
-//
-
-// Factory function Implementation.
-POA_IR::_TAO_PublishesDef_Strategized_Proxy_Broker *POA_IR::_TAO_PublishesDef_Strategized_Proxy_Broker::the_TAO_PublishesDef_Strategized_Proxy_Broker (void)
-{
- static POA_IR::_TAO_PublishesDef_Strategized_Proxy_Broker strategized_proxy_broker;
- return &strategized_proxy_broker;
-}
-
-POA_IR::_TAO_PublishesDef_Strategized_Proxy_Broker::_TAO_PublishesDef_Strategized_Proxy_Broker (void)
-{
- for (int i = 0; i < TAO_Collocation_Strategies::CS_LAST; ++i)
- this->proxy_cache_[i] = 0;
-
-}
-
-POA_IR::_TAO_PublishesDef_Strategized_Proxy_Broker::~_TAO_PublishesDef_Strategized_Proxy_Broker (void)
-{
- for (int i = 0; i < TAO_Collocation_Strategies::CS_LAST; ++i)
- delete this->proxy_cache_[i];
-
-}
-
-_TAO_PublishesDef_Proxy_Impl&
-POA_IR::_TAO_PublishesDef_Strategized_Proxy_Broker::select_proxy (
- IR_PublishesDef *object,
- CORBA::Environment &ACE_TRY_ENV
- )
-{
- int strategy =
- TAO_ORB_Core::collocation_strategy (object);
-
- if (this->proxy_cache_[strategy] != 0)
- return *this->proxy_cache_[strategy];
-
- this->create_proxy (strategy, ACE_TRY_ENV);
- ACE_CHECK_RETURN (*this->proxy_cache_[strategy]);
-
- return *this->proxy_cache_[strategy];
-
-}
-
-void
-POA_IR::_TAO_PublishesDef_Strategized_Proxy_Broker::create_proxy (
- int strategy,
- CORBA::Environment &ACE_TRY_ENV
- )
-{
- ACE_GUARD (TAO_SYNCH_MUTEX, guard, this->mutex_);
-
- if (this->proxy_cache_[strategy] == 0)
- {
- switch (strategy)
- {
- case TAO_Collocation_Strategies::CS_THRU_POA_STRATEGY:
- ACE_NEW_THROW_EX (
- this->proxy_cache_[strategy],
- _TAO_PublishesDef_ThruPOA_Proxy_Impl,
- CORBA::NO_MEMORY ()
- );
- ACE_CHECK;
- break;
-
- case TAO_Collocation_Strategies::CS_REMOTE_STRATEGY:
- default:
- ACE_NEW_THROW_EX (
- this->proxy_cache_[strategy],
- _TAO_PublishesDef_Remote_Proxy_Impl,
- CORBA::NO_MEMORY ()
- );
- ACE_CHECK;
- break;
-
- }
-
- }
-}
-
-
-//
-// End Strategized Proxy Broker Implementation
-///////////////////////////////////////////////////////////////////////
-
-
-_TAO_PublishesDef_Proxy_Broker *
-_TAO_PublishesDef_Proxy_Broker_Factory_function (CORBA::Object_ptr obj)
-{
- ACE_UNUSED_ARG (obj);
- return ::POA_IR::_TAO_PublishesDef_Strategized_Proxy_Broker::the_TAO_PublishesDef_Strategized_Proxy_Broker();
-}
-
-int
-_TAO_PublishesDef_Proxy_Broker_Factory_Initializer (long _dummy_)
-{
- ACE_UNUSED_ARG (_dummy_);
-
- _TAO_PublishesDef_Proxy_Broker_Factory_function_pointer =
- _TAO_PublishesDef_Proxy_Broker_Factory_function;
-
- return 0;
-}
-
-static int _TAO_PublishesDef_Proxy_Broker_Stub_Factory_Initializer_Scarecrow =
- _TAO_PublishesDef_Proxy_Broker_Factory_Initializer (ACE_reinterpret_cast (long, _TAO_PublishesDef_Proxy_Broker_Factory_Initializer));
-
-
-///////////////////////////////////////////////////////////////////////
-// ThruPOA Proxy Implementation
-//
-
-POA_IR::_TAO_PublishesDef_ThruPOA_Proxy_Impl::_TAO_PublishesDef_ThruPOA_Proxy_Impl (void)
-{}
-
-// ThruPOA Implementation of the IDL interface methods
-
-//
-// End ThruPOA Proxy Implementation
-///////////////////////////////////////////////////////////////////////
-
-// skeleton constructor
-POA_IR::PublishesDef::PublishesDef (void)
-{
- this->optable_ = &tao_IR_PublishesDef_optable;
-}
-
-// copy ctor
-POA_IR::PublishesDef::PublishesDef (const PublishesDef& rhs)
- : ACE_NESTED_CLASS (POA_IR,EventDef) (rhs),
- ACE_NESTED_CLASS (POA_IR,Contained) (rhs),
- POA_CORBA_IRObject (rhs),
- TAO_ServantBase (rhs)
-{}
-
-// skeleton destructor
-POA_IR::PublishesDef::~PublishesDef (void)
-{
-}
-
-void POA_IR::PublishesDef::_is_a_skel (
- TAO_ServerRequest &_tao_server_request,
- void * _tao_object_reference,
- void * /* context */,
- CORBA::Environment &ACE_TRY_ENV
- )
-{
- TAO_InputCDR &_tao_in = _tao_server_request.incoming ();
- POA_IR::PublishesDef *_tao_impl = (POA_IR::PublishesDef *) _tao_object_reference;
- CORBA::Boolean _tao_retval = 0;
- CORBA::String_var value;
- if (!((_tao_in >> value.out ())))
- ACE_THROW (CORBA::MARSHAL ());
-
- _tao_retval = _tao_impl->_is_a (value.in (), ACE_TRY_ENV);
- ACE_CHECK;
-
- _tao_server_request.init_reply ();
- TAO_OutputCDR &_tao_out = _tao_server_request.outgoing ();
- if (!((_tao_out << CORBA::Any::from_boolean (_tao_retval))))
- ACE_THROW (CORBA::MARSHAL ());
-}
-
-void POA_IR::PublishesDef::_non_existent_skel (
- TAO_ServerRequest &_tao_server_request,
- void * _tao_object_reference,
- void * /* context */,
- CORBA::Environment &ACE_TRY_ENV
- )
-{
- POA_IR::PublishesDef *_tao_impl = (POA_IR::PublishesDef *) _tao_object_reference;
- CORBA::Boolean _tao_retval = _tao_impl->_non_existent (ACE_TRY_ENV);
- ACE_CHECK;
-
- _tao_server_request.init_reply ();
- TAO_OutputCDR &_tao_out = _tao_server_request.outgoing ();
- if (!((_tao_out << CORBA::Any::from_boolean (_tao_retval))))
- ACE_THROW (CORBA::MARSHAL ());
-}
-
-CORBA::Boolean POA_IR::PublishesDef::_is_a (
- const char* value,
- CORBA::Environment &ACE_TRY_ENV
- )
-{
- if (
- (!ACE_OS::strcmp ((char *)value, "IDL:omg.org/IR/PublishesDef:1.0")) ||
- (!ACE_OS::strcmp ((char *)value, "IDL:omg.org/IR/EventDef:1.0")) ||
- (!ACE_OS::strcmp ((char *)value, "IDL:omg.org/IR/Contained:1.0")) ||
- (!ACE_OS::strcmp ((char *)value, "IDL:omg.org/CORBA/IRObject:1.0")) ||
- (!ACE_OS::strcmp ((char *)value, CORBA::_tc_Object->id (ACE_TRY_ENV))))
- return 1;
- else
- return 0;
-}
-
-void* POA_IR::PublishesDef::_downcast (
- const char* logical_type_id
- )
-{
- if (ACE_OS::strcmp (logical_type_id, "IDL:omg.org/IR/PublishesDef:1.0") == 0)
- return ACE_static_cast (POA_IR::PublishesDef_ptr, this);
- if (ACE_OS::strcmp (logical_type_id, "IDL:omg.org/IR/EventDef:1.0") == 0)
- return ACE_static_cast (POA_IR::EventDef_ptr, this);
- if (ACE_OS::strcmp (logical_type_id, "IDL:omg.org/IR/Contained:1.0") == 0)
- return ACE_static_cast (POA_IR::Contained_ptr, this);
- if (ACE_OS::strcmp (logical_type_id, "IDL:omg.org/CORBA/IRObject:1.0") == 0)
- return ACE_static_cast (POA_CORBA_IRObject_ptr, this);
- if (ACE_OS::strcmp (logical_type_id, "IDL:omg.org/CORBA/Object:1.0") == 0)
- return ACE_static_cast(PortableServer::Servant, this);
- return 0;
-}
-
-void POA_IR::PublishesDef::_dispatch (TAO_ServerRequest &req, void *context, CORBA::Environment &ACE_TRY_ENV)
-{
- this->synchronous_upcall_dispatch(req, context, this, ACE_TRY_ENV);
-}
-
-const char* POA_IR::PublishesDef::_interface_repository_id (void) const
-{
- return "IDL:omg.org/IR/PublishesDef:1.0";
-}
-
-IR::PublishesDef*
-POA_IR::PublishesDef::_this (CORBA_Environment &ACE_TRY_ENV)
-{
- TAO_Stub *stub = this->_create_stub (ACE_TRY_ENV);
- ACE_CHECK_RETURN (0);
-
- CORBA::Object_ptr tmp = CORBA::Object::_nil ();
-
- if (stub->servant_orb_var ()->orb_core ()->optimize_collocation_objects ())
- ACE_NEW_RETURN (tmp, CORBA::Object (stub, 1, this), 0);
- else
- ACE_NEW_RETURN (tmp, CORBA::Object (stub, 0, this), 0);
-
- CORBA::Object_var obj = tmp;
- return IR_PublishesDef::_unchecked_narrow (obj.in ());
-}
-
-#if (TAO_HAS_INTERCEPTORS == 1)
-#endif /* TAO_HAS_INTERCEPTORS */
-
-class TAO_IR_ConsumesDef_Perfect_Hash_OpTable : public TAO_Perfect_Hash_OpTable
-{
-private:
- unsigned int hash (const char *str, unsigned int len);
-public:
- const TAO_operation_db_entry * lookup (const char *str, unsigned int len);
-};
-/* starting time is 11:23:11 */
-/* C++ code produced by gperf version 2.8 (ACE version) */
-/* Command-line: gperf -m -M -J -c -C -D -E -T -f 0 -F 0 -a -o -t -p -K opname_ -L C++ -Z TAO_IR_ConsumesDef_Perfect_Hash_OpTable -N lookup */
-unsigned int
-TAO_IR_ConsumesDef_Perfect_Hash_OpTable::hash (const char *str, unsigned int len)
-{
- static const unsigned char asso_values[] =
- {
-#if defined (ACE_MVS)
- 37, 37, 37, 37, 37, 37, 37, 37, 37, 37,
- 37, 37, 37, 37, 37, 37, 37, 37, 37, 37,
- 37, 37, 37, 37, 37, 37, 37, 37, 37, 37,
- 37, 37, 37, 37, 37, 37, 37, 37, 37, 37,
- 37, 37, 37, 37, 37, 37, 37, 37, 37, 37,
- 37, 37, 37, 37, 37, 37, 37, 37, 37, 37,
- 37, 37, 37, 37, 37, 37, 37, 37, 37, 37,
- 37, 37, 37, 37, 37, 37, 37, 37, 37, 37,
- 37, 37, 37, 37, 37, 37, 37, 37, 37, 37,
- 37, 37, 37, 37, 37, 37, 37, 37, 37, 37,
- 37, 37, 37, 37, 37, 37, 37, 37, 37, 0,
- 37, 37, 37, 37, 37, 37, 37, 37, 37, 37,
- 37, 37, 37, 37, 37, 37, 37, 37, 37, 0,
- 37, 37, 0, 0, 37, 37, 37, 10, 37, 37,
- 37, 37, 37, 37, 37, 37, 37, 37, 0, 0,
- 37, 37, 37, 37, 37, 37, 37, 37, 37, 37,
- 37, 37, 37, 10, 37, 37, 37, 37, 10, 37,
- 37, 37, 37, 37, 37, 37, 37, 37, 37, 37,
- 37, 37, 37, 37, 37, 37, 37, 37, 37, 37,
- 37, 37, 37, 37, 37, 37, 37, 37, 37, 37,
- 37, 37, 37, 37, 37, 37, 37, 37, 37, 37,
- 37, 37, 37, 37, 37, 37, 37, 37, 37, 37,
- 37, 37, 37, 37, 37, 37, 37, 37, 37, 37,
- 37, 37, 37, 37, 37, 37, 37, 37, 37, 37,
- 37, 37, 37, 37, 37, 37, 37, 37, 37, 37,
- 37, 37, 37, 37, 37, 37,
-#else
- 37, 37, 37, 37, 37, 37, 37, 37, 37, 37,
- 37, 37, 37, 37, 37, 37, 37, 37, 37, 37,
- 37, 37, 37, 37, 37, 37, 37, 37, 37, 37,
- 37, 37, 37, 37, 37, 37, 37, 37, 37, 37,
- 37, 37, 37, 37, 37, 37, 37, 37, 37, 37,
- 37, 37, 37, 37, 37, 37, 37, 37, 37, 37,
- 37, 37, 37, 37, 37, 37, 37, 37, 37, 37,
- 37, 37, 37, 37, 37, 37, 37, 37, 37, 37,
- 37, 37, 37, 37, 37, 37, 37, 37, 37, 37,
- 37, 37, 37, 37, 37, 0, 37, 0, 37, 37,
- 0, 0, 37, 37, 37, 10, 37, 37, 37, 0,
- 0, 37, 37, 37, 37, 37, 10, 37, 37, 37,
- 37, 10, 37, 37, 37, 37, 37, 37,
-#endif /* ACE_MVS */
- };
- return len + asso_values[str[len - 1]] + asso_values[str[0]];
-}
-
-const class TAO_operation_db_entry *
-TAO_IR_ConsumesDef_Perfect_Hash_OpTable::lookup (const char *str, unsigned int len)
-{
- enum
- {
- TOTAL_KEYWORDS = 17,
- MIN_WORD_LENGTH = 4,
- MAX_WORD_LENGTH = 26,
- MIN_HASH_VALUE = 4,
- MAX_HASH_VALUE = 36,
- HASH_VALUE_RANGE = 33,
- DUPLICATES = 4
- };
-
- static const class TAO_operation_db_entry wordlist[] =
- {
- {"",0},{"",0},{"",0},{"",0},
- {"move", &POA_IR::ConsumesDef::move_skel},
- {"_is_a", &POA_IR::ConsumesDef::_is_a_skel},
- {"_get_id", &POA_IR::ConsumesDef::_get_id_skel},
- {"_set_id", &POA_IR::ConsumesDef::_set_id_skel},
- {"describe", &POA_IR::ConsumesDef::describe_skel},
- {"_get_name", &POA_IR::ConsumesDef::_get_name_skel},
- {"_set_name", &POA_IR::ConsumesDef::_set_name_skel},
- {"_get_version", &POA_IR::ConsumesDef::_get_version_skel},
- {"_set_version", &POA_IR::ConsumesDef::_set_version_skel},
- {"_get_def_kind", &POA_IR::ConsumesDef::_get_def_kind_skel},
- {"is_a", &POA_IR::ConsumesDef::is_a_skel},
- {"_get_defined_in", &POA_IR::ConsumesDef::_get_defined_in_skel},
- {"destroy", &POA_IR::ConsumesDef::destroy_skel},
- {"_get_absolute_name", &POA_IR::ConsumesDef::_get_absolute_name_skel},
- {"_get_event", &POA_IR::ConsumesDef::_get_event_skel},
- {"_non_existent", &POA_IR::ConsumesDef::_non_existent_skel},
- {"_get_containing_repository", &POA_IR::ConsumesDef::_get_containing_repository_skel},
- };
-
- static const signed char lookup[] =
- {
- -6, -2, -9, -2, 4, 5, -1, -43, 8, -43, -11, -2, -38, 13,
- 14, 15, -1, 16, 17, -1, 18, -1, -1, 19, -1, -1, -1, -1,
- -1, -1, -1, -1, -1, -1, -1, -1, 20,
- };
-
- if (len <= MAX_WORD_LENGTH && len >= MIN_WORD_LENGTH)
- {
- unsigned int key = hash (str, len);
-
- if (key <= MAX_HASH_VALUE && key >= MIN_HASH_VALUE)
- {
- int slot = lookup[key];
-
- if (slot >= 0 && slot < MAX_HASH_VALUE)
- {
- const char *s = wordlist[slot].opname_;
-
- if (*str == *s && !strncmp (str + 1, s + 1, len - 1))
- return &wordlist[slot];
- }
- else if (slot < 0 && slot >= -MAX_HASH_VALUE)
- return 0;
- else
- {
- unsigned int offset = key + slot + (slot > 0 ? -MAX_HASH_VALUE : MAX_HASH_VALUE);
- const class TAO_operation_db_entry *base = &wordlist[-lookup[offset]];
- const class TAO_operation_db_entry *ptr = base + -lookup[offset + 1];
-
- while (--ptr >= base)
- if (*str == *ptr->opname_ && !strncmp (str + 1, ptr->opname_ + 1, len - 1))
- return ptr;
- }
- }
- }
- return 0;
-}
-/* ending time is 11:23:11 */
-static TAO_IR_ConsumesDef_Perfect_Hash_OpTable tao_IR_ConsumesDef_optable;
-
-///////////////////////////////////////////////////////////////////////
-// Strategized Proxy Broker Implementation
-//
-
-// Factory function Implementation.
-POA_IR::_TAO_ConsumesDef_Strategized_Proxy_Broker *POA_IR::_TAO_ConsumesDef_Strategized_Proxy_Broker::the_TAO_ConsumesDef_Strategized_Proxy_Broker (void)
-{
- static POA_IR::_TAO_ConsumesDef_Strategized_Proxy_Broker strategized_proxy_broker;
- return &strategized_proxy_broker;
-}
-
-POA_IR::_TAO_ConsumesDef_Strategized_Proxy_Broker::_TAO_ConsumesDef_Strategized_Proxy_Broker (void)
-{
- for (int i = 0; i < TAO_Collocation_Strategies::CS_LAST; ++i)
- this->proxy_cache_[i] = 0;
-
-}
-
-POA_IR::_TAO_ConsumesDef_Strategized_Proxy_Broker::~_TAO_ConsumesDef_Strategized_Proxy_Broker (void)
-{
- for (int i = 0; i < TAO_Collocation_Strategies::CS_LAST; ++i)
- delete this->proxy_cache_[i];
-
-}
-
-_TAO_ConsumesDef_Proxy_Impl&
-POA_IR::_TAO_ConsumesDef_Strategized_Proxy_Broker::select_proxy (
- IR_ConsumesDef *object,
- CORBA::Environment &ACE_TRY_ENV
- )
-{
- int strategy =
- TAO_ORB_Core::collocation_strategy (object);
-
- if (this->proxy_cache_[strategy] != 0)
- return *this->proxy_cache_[strategy];
-
- this->create_proxy (strategy, ACE_TRY_ENV);
- ACE_CHECK_RETURN (*this->proxy_cache_[strategy]);
-
- return *this->proxy_cache_[strategy];
-
-}
-
-void
-POA_IR::_TAO_ConsumesDef_Strategized_Proxy_Broker::create_proxy (
- int strategy,
- CORBA::Environment &ACE_TRY_ENV
- )
-{
- ACE_GUARD (TAO_SYNCH_MUTEX, guard, this->mutex_);
-
- if (this->proxy_cache_[strategy] == 0)
- {
- switch (strategy)
- {
- case TAO_Collocation_Strategies::CS_THRU_POA_STRATEGY:
- ACE_NEW_THROW_EX (
- this->proxy_cache_[strategy],
- _TAO_ConsumesDef_ThruPOA_Proxy_Impl,
- CORBA::NO_MEMORY ()
- );
- ACE_CHECK;
- break;
-
- case TAO_Collocation_Strategies::CS_REMOTE_STRATEGY:
- default:
- ACE_NEW_THROW_EX (
- this->proxy_cache_[strategy],
- _TAO_ConsumesDef_Remote_Proxy_Impl,
- CORBA::NO_MEMORY ()
- );
- ACE_CHECK;
- break;
-
- }
-
- }
-}
-
-
-//
-// End Strategized Proxy Broker Implementation
-///////////////////////////////////////////////////////////////////////
-
-
-_TAO_ConsumesDef_Proxy_Broker *
-_TAO_ConsumesDef_Proxy_Broker_Factory_function (CORBA::Object_ptr obj)
-{
- ACE_UNUSED_ARG (obj);
- return ::POA_IR::_TAO_ConsumesDef_Strategized_Proxy_Broker::the_TAO_ConsumesDef_Strategized_Proxy_Broker();
-}
-
-int
-_TAO_ConsumesDef_Proxy_Broker_Factory_Initializer (long _dummy_)
-{
- ACE_UNUSED_ARG (_dummy_);
-
- _TAO_ConsumesDef_Proxy_Broker_Factory_function_pointer =
- _TAO_ConsumesDef_Proxy_Broker_Factory_function;
-
- return 0;
-}
-
-static int _TAO_ConsumesDef_Proxy_Broker_Stub_Factory_Initializer_Scarecrow =
- _TAO_ConsumesDef_Proxy_Broker_Factory_Initializer (ACE_reinterpret_cast (long, _TAO_ConsumesDef_Proxy_Broker_Factory_Initializer));
-
-
-///////////////////////////////////////////////////////////////////////
-// ThruPOA Proxy Implementation
-//
-
-POA_IR::_TAO_ConsumesDef_ThruPOA_Proxy_Impl::_TAO_ConsumesDef_ThruPOA_Proxy_Impl (void)
-{}
-
-// ThruPOA Implementation of the IDL interface methods
-
-//
-// End ThruPOA Proxy Implementation
-///////////////////////////////////////////////////////////////////////
-
-// skeleton constructor
-POA_IR::ConsumesDef::ConsumesDef (void)
-{
- this->optable_ = &tao_IR_ConsumesDef_optable;
-}
-
-// copy ctor
-POA_IR::ConsumesDef::ConsumesDef (const ConsumesDef& rhs)
- : ACE_NESTED_CLASS (POA_IR,EventDef) (rhs),
- ACE_NESTED_CLASS (POA_IR,Contained) (rhs),
- POA_CORBA_IRObject (rhs),
- TAO_ServantBase (rhs)
-{}
-
-// skeleton destructor
-POA_IR::ConsumesDef::~ConsumesDef (void)
-{
-}
-
-void POA_IR::ConsumesDef::_is_a_skel (
- TAO_ServerRequest &_tao_server_request,
- void * _tao_object_reference,
- void * /* context */,
- CORBA::Environment &ACE_TRY_ENV
- )
-{
- TAO_InputCDR &_tao_in = _tao_server_request.incoming ();
- POA_IR::ConsumesDef *_tao_impl = (POA_IR::ConsumesDef *) _tao_object_reference;
- CORBA::Boolean _tao_retval = 0;
- CORBA::String_var value;
- if (!((_tao_in >> value.out ())))
- ACE_THROW (CORBA::MARSHAL ());
-
- _tao_retval = _tao_impl->_is_a (value.in (), ACE_TRY_ENV);
- ACE_CHECK;
-
- _tao_server_request.init_reply ();
- TAO_OutputCDR &_tao_out = _tao_server_request.outgoing ();
- if (!((_tao_out << CORBA::Any::from_boolean (_tao_retval))))
- ACE_THROW (CORBA::MARSHAL ());
-}
-
-void POA_IR::ConsumesDef::_non_existent_skel (
- TAO_ServerRequest &_tao_server_request,
- void * _tao_object_reference,
- void * /* context */,
- CORBA::Environment &ACE_TRY_ENV
- )
-{
- POA_IR::ConsumesDef *_tao_impl = (POA_IR::ConsumesDef *) _tao_object_reference;
- CORBA::Boolean _tao_retval = _tao_impl->_non_existent (ACE_TRY_ENV);
- ACE_CHECK;
-
- _tao_server_request.init_reply ();
- TAO_OutputCDR &_tao_out = _tao_server_request.outgoing ();
- if (!((_tao_out << CORBA::Any::from_boolean (_tao_retval))))
- ACE_THROW (CORBA::MARSHAL ());
-}
-
-CORBA::Boolean POA_IR::ConsumesDef::_is_a (
- const char* value,
- CORBA::Environment &ACE_TRY_ENV
- )
-{
- if (
- (!ACE_OS::strcmp ((char *)value, "IDL:omg.org/IR/ConsumesDef:1.0")) ||
- (!ACE_OS::strcmp ((char *)value, "IDL:omg.org/IR/EventDef:1.0")) ||
- (!ACE_OS::strcmp ((char *)value, "IDL:omg.org/IR/Contained:1.0")) ||
- (!ACE_OS::strcmp ((char *)value, "IDL:omg.org/CORBA/IRObject:1.0")) ||
- (!ACE_OS::strcmp ((char *)value, CORBA::_tc_Object->id (ACE_TRY_ENV))))
- return 1;
- else
- return 0;
-}
-
-void* POA_IR::ConsumesDef::_downcast (
- const char* logical_type_id
- )
-{
- if (ACE_OS::strcmp (logical_type_id, "IDL:omg.org/IR/ConsumesDef:1.0") == 0)
- return ACE_static_cast (POA_IR::ConsumesDef_ptr, this);
- if (ACE_OS::strcmp (logical_type_id, "IDL:omg.org/IR/EventDef:1.0") == 0)
- return ACE_static_cast (POA_IR::EventDef_ptr, this);
- if (ACE_OS::strcmp (logical_type_id, "IDL:omg.org/IR/Contained:1.0") == 0)
- return ACE_static_cast (POA_IR::Contained_ptr, this);
- if (ACE_OS::strcmp (logical_type_id, "IDL:omg.org/CORBA/IRObject:1.0") == 0)
- return ACE_static_cast (POA_CORBA_IRObject_ptr, this);
- if (ACE_OS::strcmp (logical_type_id, "IDL:omg.org/CORBA/Object:1.0") == 0)
- return ACE_static_cast(PortableServer::Servant, this);
- return 0;
-}
-
-void POA_IR::ConsumesDef::_dispatch (TAO_ServerRequest &req, void *context, CORBA::Environment &ACE_TRY_ENV)
-{
- this->synchronous_upcall_dispatch(req, context, this, ACE_TRY_ENV);
-}
-
-const char* POA_IR::ConsumesDef::_interface_repository_id (void) const
-{
- return "IDL:omg.org/IR/ConsumesDef:1.0";
-}
-
-IR::ConsumesDef*
-POA_IR::ConsumesDef::_this (CORBA_Environment &ACE_TRY_ENV)
-{
- TAO_Stub *stub = this->_create_stub (ACE_TRY_ENV);
- ACE_CHECK_RETURN (0);
-
- CORBA::Object_ptr tmp = CORBA::Object::_nil ();
-
- if (stub->servant_orb_var ()->orb_core ()->optimize_collocation_objects ())
- ACE_NEW_RETURN (tmp, CORBA::Object (stub, 1, this), 0);
- else
- ACE_NEW_RETURN (tmp, CORBA::Object (stub, 0, this), 0);
-
- CORBA::Object_var obj = tmp;
- return IR_ConsumesDef::_unchecked_narrow (obj.in ());
-}
-
-#if (TAO_HAS_INTERCEPTORS == 1)
-#endif /* TAO_HAS_INTERCEPTORS */
-
-class TAO_IR_ComponentDef_Perfect_Hash_OpTable : public TAO_Perfect_Hash_OpTable
-{
-private:
- unsigned int hash (const char *str, unsigned int len);
-public:
- const TAO_operation_db_entry * lookup (const char *str, unsigned int len);
-};
-/* starting time is 11:23:11 */
-/* C++ code produced by gperf version 2.8 (ACE version) */
-/* Command-line: gperf -m -M -J -c -C -D -E -T -f 0 -F 0 -a -o -t -p -K opname_ -L C++ -Z TAO_IR_ComponentDef_Perfect_Hash_OpTable -N lookup */
-unsigned int
-TAO_IR_ComponentDef_Perfect_Hash_OpTable::hash (const char *str, unsigned int len)
-{
- static const unsigned char asso_values[] =
- {
-#if defined (ACE_MVS)
- 82, 82, 82, 82, 82, 82, 82, 82, 82, 82,
- 82, 82, 82, 82, 82, 82, 82, 82, 82, 82,
- 82, 82, 82, 82, 82, 82, 82, 82, 82, 82,
- 82, 82, 82, 82, 82, 82, 82, 82, 82, 82,
- 82, 82, 82, 82, 82, 82, 82, 82, 82, 82,
- 82, 82, 82, 82, 82, 82, 82, 82, 82, 82,
- 82, 82, 82, 82, 82, 82, 82, 82, 82, 82,
- 82, 82, 82, 82, 82, 82, 82, 82, 82, 82,
- 82, 82, 82, 82, 82, 82, 82, 82, 82, 82,
- 82, 82, 82, 82, 82, 82, 82, 82, 82, 82,
- 82, 82, 82, 82, 82, 82, 82, 82, 82, 0,
- 82, 82, 82, 82, 82, 82, 82, 82, 82, 82,
- 82, 82, 82, 82, 82, 82, 82, 82, 82, 0,
- 82, 30, 5, 10, 82, 82, 82, 0, 82, 82,
- 82, 82, 82, 82, 82, 82, 82, 45, 30, 15,
- 82, 30, 82, 82, 82, 82, 82, 82, 82, 82,
- 82, 82, 0, 20, 82, 82, 82, 30, 25, 82,
- 82, 82, 82, 82, 82, 82, 82, 82, 82, 82,
- 82, 82, 82, 82, 82, 82, 82, 82, 82, 82,
- 82, 82, 82, 82, 82, 82, 82, 82, 82, 82,
- 82, 82, 82, 82, 82, 82, 82, 82, 82, 82,
- 82, 82, 82, 82, 82, 82, 82, 82, 82, 82,
- 82, 82, 82, 82, 82, 82, 82, 82, 82, 82,
- 82, 82, 82, 82, 82, 82, 82, 82, 82, 82,
- 82, 82, 82, 82, 82, 82, 82, 82, 82, 82,
- 82, 82, 82, 82, 82, 82,
-#else
- 82, 82, 82, 82, 82, 82, 82, 82, 82, 82,
- 82, 82, 82, 82, 82, 82, 82, 82, 82, 82,
- 82, 82, 82, 82, 82, 82, 82, 82, 82, 82,
- 82, 82, 82, 82, 82, 82, 82, 82, 82, 82,
- 82, 82, 82, 82, 82, 82, 82, 82, 82, 82,
- 82, 82, 82, 82, 82, 82, 82, 82, 82, 82,
- 82, 82, 82, 82, 82, 82, 82, 82, 82, 82,
- 82, 82, 82, 82, 82, 82, 82, 82, 82, 82,
- 82, 82, 82, 82, 82, 82, 82, 82, 82, 82,
- 82, 82, 82, 82, 82, 0, 82, 0, 82, 30,
- 5, 10, 82, 82, 82, 0, 82, 82, 45, 30,
- 15, 82, 30, 82, 82, 0, 20, 82, 82, 82,
- 30, 25, 82, 82, 82, 82, 82, 82,
-#endif /* ACE_MVS */
- };
- return len + asso_values[str[len - 1]] + asso_values[str[0]];
-}
-
-const class TAO_operation_db_entry *
-TAO_IR_ComponentDef_Perfect_Hash_OpTable::lookup (const char *str, unsigned int len)
-{
- enum
- {
- TOTAL_KEYWORDS = 54,
- MIN_WORD_LENGTH = 4,
- MAX_WORD_LENGTH = 26,
- MIN_HASH_VALUE = 4,
- MAX_HASH_VALUE = 81,
- HASH_VALUE_RANGE = 78,
- DUPLICATES = 16
- };
-
- static const class TAO_operation_db_entry wordlist[] =
- {
- {"",0},{"",0},{"",0},{"",0},
- {"is_a", &POA_IR::ComponentDef::is_a_skel},
- {"_is_a", &POA_IR::ComponentDef::_is_a_skel},
- {"_get_id", &POA_IR::ComponentDef::_get_id_skel},
- {"_set_id", &POA_IR::ComponentDef::_set_id_skel},
- {"_get_emits_events", &POA_IR::ComponentDef::_get_emits_events_skel},
- {"_get_def_kind", &POA_IR::ComponentDef::_get_def_kind_skel},
- {"_get_name", &POA_IR::ComponentDef::_get_name_skel},
- {"_get_type", &POA_IR::ComponentDef::_get_type_skel},
- {"_set_name", &POA_IR::ComponentDef::_set_name_skel},
- {"_get_uses_interfaces", &POA_IR::ComponentDef::_get_uses_interfaces_skel},
- {"_set_base_interfaces", &POA_IR::ComponentDef::_set_base_interfaces_skel},
- {"_get_base_interfaces", &POA_IR::ComponentDef::_get_base_interfaces_skel},
- {"_get_consumes_events", &POA_IR::ComponentDef::_get_consumes_events_skel},
- {"_get_publishes_events", &POA_IR::ComponentDef::_get_publishes_events_skel},
- {"describe_contents", &POA_IR::ComponentDef::describe_contents_skel},
- {"describe", &POA_IR::ComponentDef::describe_skel},
- {"_get_provides_interfaces", &POA_IR::ComponentDef::_get_provides_interfaces_skel},
- {"_get_supported_interfaces", &POA_IR::ComponentDef::_get_supported_interfaces_skel},
- {"_set_supported_interfaces", &POA_IR::ComponentDef::_set_supported_interfaces_skel},
- {"_get_version", &POA_IR::ComponentDef::_get_version_skel},
- {"_set_version", &POA_IR::ComponentDef::_set_version_skel},
- {"_get_absolute_name", &POA_IR::ComponentDef::_get_absolute_name_skel},
- {"_get_defined_in", &POA_IR::ComponentDef::_get_defined_in_skel},
- {"_non_existent", &POA_IR::ComponentDef::_non_existent_skel},
- {"_get_is_abstract", &POA_IR::ComponentDef::_get_is_abstract_skel},
- {"_set_is_abstract", &POA_IR::ComponentDef::_set_is_abstract_skel},
- {"destroy", &POA_IR::ComponentDef::destroy_skel},
- {"contents", &POA_IR::ComponentDef::contents_skel},
- {"_get_base_component", &POA_IR::ComponentDef::_get_base_component_skel},
- {"create_uses", &POA_IR::ComponentDef::create_uses_skel},
- {"create_emits", &POA_IR::ComponentDef::create_emits_skel},
- {"create_alias", &POA_IR::ComponentDef::create_alias_skel},
- {"_get_is_basic", &POA_IR::ComponentDef::_get_is_basic_skel},
- {"move", &POA_IR::ComponentDef::move_skel},
- {"create_provides", &POA_IR::ComponentDef::create_provides_skel},
- {"create_consumes", &POA_IR::ComponentDef::create_consumes_skel},
- {"create_publishes", &POA_IR::ComponentDef::create_publishes_skel},
- {"_get_containing_repository", &POA_IR::ComponentDef::_get_containing_repository_skel},
- {"create_value", &POA_IR::ComponentDef::create_value_skel},
- {"create_module", &POA_IR::ComponentDef::create_module_skel},
- {"create_native", &POA_IR::ComponentDef::create_native_skel},
- {"create_attribute", &POA_IR::ComponentDef::create_attribute_skel},
- {"create_interface", &POA_IR::ComponentDef::create_interface_skel},
- {"create_union", &POA_IR::ComponentDef::create_union_skel},
- {"_get_is_local", &POA_IR::ComponentDef::_get_is_local_skel},
- {"_set_is_local", &POA_IR::ComponentDef::_set_is_local_skel},
- {"create_operation", &POA_IR::ComponentDef::create_operation_skel},
- {"create_exception", &POA_IR::ComponentDef::create_exception_skel},
- {"create_struct", &POA_IR::ComponentDef::create_struct_skel},
- {"create_constant", &POA_IR::ComponentDef::create_constant_skel},
- {"lookup_name", &POA_IR::ComponentDef::lookup_name_skel},
- {"create_enum", &POA_IR::ComponentDef::create_enum_skel},
- {"create_value_box", &POA_IR::ComponentDef::create_value_box_skel},
- {"lookup", &POA_IR::ComponentDef::lookup_skel},
- };
-
- static const signed char lookup[] =
- {
- -1, -1, -6, -2, 4, 5, -10, -3, -13, -4, -21, -2, -91, -23,
- -2, -28, -2, 8, 9, -94, -93, 17, 18, 19, 20, -96, -1, -95,
- 25, -1, 26, -34, -2, 27, -38, -2, -102, 30, 31, 32, -1, 33,
- -92, 36, 37, -92, 40, -43, -2, -45, -2, 41, 42, -87, -48, -2,
- -88, 47, -85, -50, -2, -83, -1, 52, -1, 53, 54, -1, -1, -1,
- -1, 55, -1, -1, -1, -1, 56, -1, -1, -1, -1, 57,
- };
-
- if (len <= MAX_WORD_LENGTH && len >= MIN_WORD_LENGTH)
- {
- unsigned int key = hash (str, len);
-
- if (key <= MAX_HASH_VALUE && key >= MIN_HASH_VALUE)
- {
- int slot = lookup[key];
-
- if (slot >= 0 && slot < MAX_HASH_VALUE)
- {
- const char *s = wordlist[slot].opname_;
-
- if (*str == *s && !strncmp (str + 1, s + 1, len - 1))
- return &wordlist[slot];
- }
- else if (slot < 0 && slot >= -MAX_HASH_VALUE)
- return 0;
- else
- {
- unsigned int offset = key + slot + (slot > 0 ? -MAX_HASH_VALUE : MAX_HASH_VALUE);
- const class TAO_operation_db_entry *base = &wordlist[-lookup[offset]];
- const class TAO_operation_db_entry *ptr = base + -lookup[offset + 1];
-
- while (--ptr >= base)
- if (*str == *ptr->opname_ && !strncmp (str + 1, ptr->opname_ + 1, len - 1))
- return ptr;
- }
- }
- }
- return 0;
-}
-/* ending time is 11:23:11 */
-static TAO_IR_ComponentDef_Perfect_Hash_OpTable tao_IR_ComponentDef_optable;
-
-///////////////////////////////////////////////////////////////////////
-// Strategized Proxy Broker Implementation
-//
-
-// Factory function Implementation.
-POA_IR::_TAO_ComponentDef_Strategized_Proxy_Broker *POA_IR::_TAO_ComponentDef_Strategized_Proxy_Broker::the_TAO_ComponentDef_Strategized_Proxy_Broker (void)
-{
- static POA_IR::_TAO_ComponentDef_Strategized_Proxy_Broker strategized_proxy_broker;
- return &strategized_proxy_broker;
-}
-
-POA_IR::_TAO_ComponentDef_Strategized_Proxy_Broker::_TAO_ComponentDef_Strategized_Proxy_Broker (void)
-{
- for (int i = 0; i < TAO_Collocation_Strategies::CS_LAST; ++i)
- this->proxy_cache_[i] = 0;
-
-}
-
-POA_IR::_TAO_ComponentDef_Strategized_Proxy_Broker::~_TAO_ComponentDef_Strategized_Proxy_Broker (void)
-{
- for (int i = 0; i < TAO_Collocation_Strategies::CS_LAST; ++i)
- delete this->proxy_cache_[i];
-
-}
-
-_TAO_ComponentDef_Proxy_Impl&
-POA_IR::_TAO_ComponentDef_Strategized_Proxy_Broker::select_proxy (
- IR_ComponentDef *object,
- CORBA::Environment &ACE_TRY_ENV
- )
-{
- int strategy =
- TAO_ORB_Core::collocation_strategy (object);
-
- if (this->proxy_cache_[strategy] != 0)
- return *this->proxy_cache_[strategy];
-
- this->create_proxy (strategy, ACE_TRY_ENV);
- ACE_CHECK_RETURN (*this->proxy_cache_[strategy]);
-
- return *this->proxy_cache_[strategy];
-
-}
-
-void
-POA_IR::_TAO_ComponentDef_Strategized_Proxy_Broker::create_proxy (
- int strategy,
- CORBA::Environment &ACE_TRY_ENV
- )
-{
- ACE_GUARD (TAO_SYNCH_MUTEX, guard, this->mutex_);
-
- if (this->proxy_cache_[strategy] == 0)
- {
- switch (strategy)
- {
- case TAO_Collocation_Strategies::CS_THRU_POA_STRATEGY:
- ACE_NEW_THROW_EX (
- this->proxy_cache_[strategy],
- _TAO_ComponentDef_ThruPOA_Proxy_Impl,
- CORBA::NO_MEMORY ()
- );
- ACE_CHECK;
- break;
-
- case TAO_Collocation_Strategies::CS_REMOTE_STRATEGY:
- default:
- ACE_NEW_THROW_EX (
- this->proxy_cache_[strategy],
- _TAO_ComponentDef_Remote_Proxy_Impl,
- CORBA::NO_MEMORY ()
- );
- ACE_CHECK;
- break;
-
- }
-
- }
-}
-
-
-//
-// End Strategized Proxy Broker Implementation
-///////////////////////////////////////////////////////////////////////
-
-
-_TAO_ComponentDef_Proxy_Broker *
-_TAO_ComponentDef_Proxy_Broker_Factory_function (CORBA::Object_ptr obj)
-{
- ACE_UNUSED_ARG (obj);
- return ::POA_IR::_TAO_ComponentDef_Strategized_Proxy_Broker::the_TAO_ComponentDef_Strategized_Proxy_Broker();
-}
-
-int
-_TAO_ComponentDef_Proxy_Broker_Factory_Initializer (long _dummy_)
-{
- ACE_UNUSED_ARG (_dummy_);
-
- _TAO_ComponentDef_Proxy_Broker_Factory_function_pointer =
- _TAO_ComponentDef_Proxy_Broker_Factory_function;
-
- return 0;
-}
-
-static int _TAO_ComponentDef_Proxy_Broker_Stub_Factory_Initializer_Scarecrow =
- _TAO_ComponentDef_Proxy_Broker_Factory_Initializer (ACE_reinterpret_cast (long, _TAO_ComponentDef_Proxy_Broker_Factory_Initializer));
-
-
-///////////////////////////////////////////////////////////////////////
-// ThruPOA Proxy Implementation
-//
-
-POA_IR::_TAO_ComponentDef_ThruPOA_Proxy_Impl::_TAO_ComponentDef_ThruPOA_Proxy_Impl (void)
-{}
-
-// ThruPOA Implementation of the IDL interface methods
-
-IR_InterfaceDefSeq * POA_IR::_TAO_ComponentDef_ThruPOA_Proxy_Impl::supported_interfaces (
- CORBA_Object *_collocated_tao_target_,
- CORBA::Environment &ACE_TRY_ENV
- )
- ACE_THROW_SPEC ((
- CORBA::SystemException
- ))
-{
- IR_InterfaceDefSeq_var _tao_retval;
- ACE_UNUSED_ARG (_tao_retval);
- TAO_Object_Adapter::Servant_Upcall servant_upcall (
- _collocated_tao_target_->_stubobj ()->servant_orb_var ()->orb_core ()
- );
- CORBA::Object_var forward_to;
- servant_upcall.prepare_for_upcall (
- _collocated_tao_target_->_object_key (),
- "supported_interfaces",
- forward_to.out (),
- ACE_TRY_ENV
- );
- ACE_CHECK_RETURN (0);
- return ACE_reinterpret_cast (
- POA_IR::ComponentDef_ptr,
- servant_upcall.servant ()->_downcast (
- "IDL:omg.org/IR/ComponentDef:1.0"
- )
- )->supported_interfaces (
- ACE_TRY_ENV
- );
-}
-
-void POA_IR::_TAO_ComponentDef_ThruPOA_Proxy_Impl::supported_interfaces (
- CORBA_Object *_collocated_tao_target_,
- const IR_InterfaceDefSeq & supported_interfaces,
- CORBA::Environment &ACE_TRY_ENV
- )
- ACE_THROW_SPEC ((
- CORBA::SystemException
- ))
-{
- TAO_Object_Adapter::Servant_Upcall servant_upcall (
- _collocated_tao_target_->_stubobj ()->servant_orb_var ()->orb_core ()
- );
- CORBA::Object_var forward_to;
- servant_upcall.prepare_for_upcall (
- _collocated_tao_target_->_object_key (),
- "supported_interfaces",
- forward_to.out (),
- ACE_TRY_ENV
- );
- ACE_CHECK;
- ACE_reinterpret_cast (
- POA_IR::ComponentDef_ptr,
- servant_upcall.servant ()->_downcast (
- "IDL:omg.org/IR/ComponentDef:1.0"
- )
- )->supported_interfaces (
- supported_interfaces,
- ACE_TRY_ENV
- );
- return;
-}
-
-IR_ComponentDef_ptr POA_IR::_TAO_ComponentDef_ThruPOA_Proxy_Impl::base_component (
- CORBA_Object *_collocated_tao_target_,
- CORBA::Environment &ACE_TRY_ENV
- )
- ACE_THROW_SPEC ((
- CORBA::SystemException
- ))
-{
- IR_ComponentDef_var _tao_retval;
- ACE_UNUSED_ARG (_tao_retval);
- TAO_Object_Adapter::Servant_Upcall servant_upcall (
- _collocated_tao_target_->_stubobj ()->servant_orb_var ()->orb_core ()
- );
- CORBA::Object_var forward_to;
- servant_upcall.prepare_for_upcall (
- _collocated_tao_target_->_object_key (),
- "base_component",
- forward_to.out (),
- ACE_TRY_ENV
- );
- ACE_CHECK_RETURN (0);
- return ACE_reinterpret_cast (
- POA_IR::ComponentDef_ptr,
- servant_upcall.servant ()->_downcast (
- "IDL:omg.org/IR/ComponentDef:1.0"
- )
- )->base_component (
- ACE_TRY_ENV
- );
-}
-
-IR_ProvidesDefSeq * POA_IR::_TAO_ComponentDef_ThruPOA_Proxy_Impl::provides_interfaces (
- CORBA_Object *_collocated_tao_target_,
- CORBA::Environment &ACE_TRY_ENV
- )
- ACE_THROW_SPEC ((
- CORBA::SystemException
- ))
-{
- IR_ProvidesDefSeq_var _tao_retval;
- ACE_UNUSED_ARG (_tao_retval);
- TAO_Object_Adapter::Servant_Upcall servant_upcall (
- _collocated_tao_target_->_stubobj ()->servant_orb_var ()->orb_core ()
- );
- CORBA::Object_var forward_to;
- servant_upcall.prepare_for_upcall (
- _collocated_tao_target_->_object_key (),
- "provides_interfaces",
- forward_to.out (),
- ACE_TRY_ENV
- );
- ACE_CHECK_RETURN (0);
- return ACE_reinterpret_cast (
- POA_IR::ComponentDef_ptr,
- servant_upcall.servant ()->_downcast (
- "IDL:omg.org/IR/ComponentDef:1.0"
- )
- )->provides_interfaces (
- ACE_TRY_ENV
- );
-}
-
-IR_UsesDefSeq * POA_IR::_TAO_ComponentDef_ThruPOA_Proxy_Impl::uses_interfaces (
- CORBA_Object *_collocated_tao_target_,
- CORBA::Environment &ACE_TRY_ENV
- )
- ACE_THROW_SPEC ((
- CORBA::SystemException
- ))
-{
- IR_UsesDefSeq_var _tao_retval;
- ACE_UNUSED_ARG (_tao_retval);
- TAO_Object_Adapter::Servant_Upcall servant_upcall (
- _collocated_tao_target_->_stubobj ()->servant_orb_var ()->orb_core ()
- );
- CORBA::Object_var forward_to;
- servant_upcall.prepare_for_upcall (
- _collocated_tao_target_->_object_key (),
- "uses_interfaces",
- forward_to.out (),
- ACE_TRY_ENV
- );
- ACE_CHECK_RETURN (0);
- return ACE_reinterpret_cast (
- POA_IR::ComponentDef_ptr,
- servant_upcall.servant ()->_downcast (
- "IDL:omg.org/IR/ComponentDef:1.0"
- )
- )->uses_interfaces (
- ACE_TRY_ENV
- );
-}
-
-IR_EmitsDefSeq * POA_IR::_TAO_ComponentDef_ThruPOA_Proxy_Impl::emits_events (
- CORBA_Object *_collocated_tao_target_,
- CORBA::Environment &ACE_TRY_ENV
- )
- ACE_THROW_SPEC ((
- CORBA::SystemException
- ))
-{
- IR_EmitsDefSeq_var _tao_retval;
- ACE_UNUSED_ARG (_tao_retval);
- TAO_Object_Adapter::Servant_Upcall servant_upcall (
- _collocated_tao_target_->_stubobj ()->servant_orb_var ()->orb_core ()
- );
- CORBA::Object_var forward_to;
- servant_upcall.prepare_for_upcall (
- _collocated_tao_target_->_object_key (),
- "emits_events",
- forward_to.out (),
- ACE_TRY_ENV
- );
- ACE_CHECK_RETURN (0);
- return ACE_reinterpret_cast (
- POA_IR::ComponentDef_ptr,
- servant_upcall.servant ()->_downcast (
- "IDL:omg.org/IR/ComponentDef:1.0"
- )
- )->emits_events (
- ACE_TRY_ENV
- );
-}
-
-IR_PublishesDefSeq * POA_IR::_TAO_ComponentDef_ThruPOA_Proxy_Impl::publishes_events (
- CORBA_Object *_collocated_tao_target_,
- CORBA::Environment &ACE_TRY_ENV
- )
- ACE_THROW_SPEC ((
- CORBA::SystemException
- ))
-{
- IR_PublishesDefSeq_var _tao_retval;
- ACE_UNUSED_ARG (_tao_retval);
- TAO_Object_Adapter::Servant_Upcall servant_upcall (
- _collocated_tao_target_->_stubobj ()->servant_orb_var ()->orb_core ()
- );
- CORBA::Object_var forward_to;
- servant_upcall.prepare_for_upcall (
- _collocated_tao_target_->_object_key (),
- "publishes_events",
- forward_to.out (),
- ACE_TRY_ENV
- );
- ACE_CHECK_RETURN (0);
- return ACE_reinterpret_cast (
- POA_IR::ComponentDef_ptr,
- servant_upcall.servant ()->_downcast (
- "IDL:omg.org/IR/ComponentDef:1.0"
- )
- )->publishes_events (
- ACE_TRY_ENV
- );
-}
-
-IR_ConsumesDefSeq * POA_IR::_TAO_ComponentDef_ThruPOA_Proxy_Impl::consumes_events (
- CORBA_Object *_collocated_tao_target_,
- CORBA::Environment &ACE_TRY_ENV
- )
- ACE_THROW_SPEC ((
- CORBA::SystemException
- ))
-{
- IR_ConsumesDefSeq_var _tao_retval;
- ACE_UNUSED_ARG (_tao_retval);
- TAO_Object_Adapter::Servant_Upcall servant_upcall (
- _collocated_tao_target_->_stubobj ()->servant_orb_var ()->orb_core ()
- );
- CORBA::Object_var forward_to;
- servant_upcall.prepare_for_upcall (
- _collocated_tao_target_->_object_key (),
- "consumes_events",
- forward_to.out (),
- ACE_TRY_ENV
- );
- ACE_CHECK_RETURN (0);
- return ACE_reinterpret_cast (
- POA_IR::ComponentDef_ptr,
- servant_upcall.servant ()->_downcast (
- "IDL:omg.org/IR/ComponentDef:1.0"
- )
- )->consumes_events (
- ACE_TRY_ENV
- );
-}
-
-CORBA::Boolean POA_IR::_TAO_ComponentDef_ThruPOA_Proxy_Impl::is_basic (
- CORBA_Object *_collocated_tao_target_,
- CORBA::Environment &ACE_TRY_ENV
- )
- ACE_THROW_SPEC ((
- CORBA::SystemException
- ))
-{
- CORBA::Boolean _tao_retval = 0;
- ACE_UNUSED_ARG (_tao_retval);
- TAO_Object_Adapter::Servant_Upcall servant_upcall (
- _collocated_tao_target_->_stubobj ()->servant_orb_var ()->orb_core ()
- );
- CORBA::Object_var forward_to;
- servant_upcall.prepare_for_upcall (
- _collocated_tao_target_->_object_key (),
- "is_basic",
- forward_to.out (),
- ACE_TRY_ENV
- );
- ACE_CHECK_RETURN (_tao_retval);
- return ACE_reinterpret_cast (
- POA_IR::ComponentDef_ptr,
- servant_upcall.servant ()->_downcast (
- "IDL:omg.org/IR/ComponentDef:1.0"
- )
- )->is_basic (
- ACE_TRY_ENV
- );
-}
-
-IR_ProvidesDef_ptr POA_IR::_TAO_ComponentDef_ThruPOA_Proxy_Impl::create_provides (
- CORBA_Object *_collocated_tao_target_,
- const char * id,
- const char * name,
- const char * version,
- IR_InterfaceDef_ptr interface_type,
- CORBA::Environment &ACE_TRY_ENV
- )
- ACE_THROW_SPEC ((
- CORBA::SystemException
- ))
-{
- IR_ProvidesDef_var _tao_retval;
- ACE_UNUSED_ARG (_tao_retval);
- TAO_Object_Adapter::Servant_Upcall servant_upcall (
- _collocated_tao_target_->_stubobj ()->servant_orb_var ()->orb_core ()
- );
- CORBA::Object_var forward_to;
- servant_upcall.prepare_for_upcall (
- _collocated_tao_target_->_object_key (),
- "create_provides",
- forward_to.out (),
- ACE_TRY_ENV
- );
- ACE_CHECK_RETURN (0);
- return ACE_reinterpret_cast (
- POA_IR::ComponentDef_ptr,
- servant_upcall.servant ()->_downcast (
- "IDL:omg.org/IR/ComponentDef:1.0"
- )
- )->create_provides (
- id,
- name,
- version,
- interface_type,
- ACE_TRY_ENV
- );
-}
-
-IR_UsesDef_ptr POA_IR::_TAO_ComponentDef_ThruPOA_Proxy_Impl::create_uses (
- CORBA_Object *_collocated_tao_target_,
- const char * id,
- const char * name,
- const char * version,
- IR_InterfaceDef_ptr interface_type,
- CORBA::Boolean is_multiple,
- CORBA::Environment &ACE_TRY_ENV
- )
- ACE_THROW_SPEC ((
- CORBA::SystemException
- ))
-{
- IR_UsesDef_var _tao_retval;
- ACE_UNUSED_ARG (_tao_retval);
- TAO_Object_Adapter::Servant_Upcall servant_upcall (
- _collocated_tao_target_->_stubobj ()->servant_orb_var ()->orb_core ()
- );
- CORBA::Object_var forward_to;
- servant_upcall.prepare_for_upcall (
- _collocated_tao_target_->_object_key (),
- "create_uses",
- forward_to.out (),
- ACE_TRY_ENV
- );
- ACE_CHECK_RETURN (0);
- return ACE_reinterpret_cast (
- POA_IR::ComponentDef_ptr,
- servant_upcall.servant ()->_downcast (
- "IDL:omg.org/IR/ComponentDef:1.0"
- )
- )->create_uses (
- id,
- name,
- version,
- interface_type,
- is_multiple,
- ACE_TRY_ENV
- );
-}
-
-IR_EmitsDef_ptr POA_IR::_TAO_ComponentDef_ThruPOA_Proxy_Impl::create_emits (
- CORBA_Object *_collocated_tao_target_,
- const char * id,
- const char * name,
- const char * version,
- IR_ValueDef_ptr value,
- CORBA::Environment &ACE_TRY_ENV
- )
- ACE_THROW_SPEC ((
- CORBA::SystemException
- ))
-{
- IR_EmitsDef_var _tao_retval;
- ACE_UNUSED_ARG (_tao_retval);
- TAO_Object_Adapter::Servant_Upcall servant_upcall (
- _collocated_tao_target_->_stubobj ()->servant_orb_var ()->orb_core ()
- );
- CORBA::Object_var forward_to;
- servant_upcall.prepare_for_upcall (
- _collocated_tao_target_->_object_key (),
- "create_emits",
- forward_to.out (),
- ACE_TRY_ENV
- );
- ACE_CHECK_RETURN (0);
- return ACE_reinterpret_cast (
- POA_IR::ComponentDef_ptr,
- servant_upcall.servant ()->_downcast (
- "IDL:omg.org/IR/ComponentDef:1.0"
- )
- )->create_emits (
- id,
- name,
- version,
- value,
- ACE_TRY_ENV
- );
-}
-
-IR_PublishesDef_ptr POA_IR::_TAO_ComponentDef_ThruPOA_Proxy_Impl::create_publishes (
- CORBA_Object *_collocated_tao_target_,
- const char * id,
- const char * name,
- const char * version,
- IR_ValueDef_ptr value,
- CORBA::Environment &ACE_TRY_ENV
- )
- ACE_THROW_SPEC ((
- CORBA::SystemException
- ))
-{
- IR_PublishesDef_var _tao_retval;
- ACE_UNUSED_ARG (_tao_retval);
- TAO_Object_Adapter::Servant_Upcall servant_upcall (
- _collocated_tao_target_->_stubobj ()->servant_orb_var ()->orb_core ()
- );
- CORBA::Object_var forward_to;
- servant_upcall.prepare_for_upcall (
- _collocated_tao_target_->_object_key (),
- "create_publishes",
- forward_to.out (),
- ACE_TRY_ENV
- );
- ACE_CHECK_RETURN (0);
- return ACE_reinterpret_cast (
- POA_IR::ComponentDef_ptr,
- servant_upcall.servant ()->_downcast (
- "IDL:omg.org/IR/ComponentDef:1.0"
- )
- )->create_publishes (
- id,
- name,
- version,
- value,
- ACE_TRY_ENV
- );
-}
-
-IR_ConsumesDef_ptr POA_IR::_TAO_ComponentDef_ThruPOA_Proxy_Impl::create_consumes (
- CORBA_Object *_collocated_tao_target_,
- const char * id,
- const char * name,
- const char * version,
- IR_ValueDef_ptr value,
- CORBA::Environment &ACE_TRY_ENV
- )
- ACE_THROW_SPEC ((
- CORBA::SystemException
- ))
-{
- IR_ConsumesDef_var _tao_retval;
- ACE_UNUSED_ARG (_tao_retval);
- TAO_Object_Adapter::Servant_Upcall servant_upcall (
- _collocated_tao_target_->_stubobj ()->servant_orb_var ()->orb_core ()
- );
- CORBA::Object_var forward_to;
- servant_upcall.prepare_for_upcall (
- _collocated_tao_target_->_object_key (),
- "create_consumes",
- forward_to.out (),
- ACE_TRY_ENV
- );
- ACE_CHECK_RETURN (0);
- return ACE_reinterpret_cast (
- POA_IR::ComponentDef_ptr,
- servant_upcall.servant ()->_downcast (
- "IDL:omg.org/IR/ComponentDef:1.0"
- )
- )->create_consumes (
- id,
- name,
- version,
- value,
- ACE_TRY_ENV
- );
-}
-
-//
-// End ThruPOA Proxy Implementation
-///////////////////////////////////////////////////////////////////////
-
-// skeleton constructor
-POA_IR::ComponentDef::ComponentDef (void)
-{
- this->optable_ = &tao_IR_ComponentDef_optable;
-}
-
-// copy ctor
-POA_IR::ComponentDef::ComponentDef (const ComponentDef& rhs)
- : ACE_NESTED_CLASS (POA_IR,InterfaceDef) (rhs),
- ACE_NESTED_CLASS (POA_IR,Container) (rhs),
- ACE_NESTED_CLASS (POA_IR,Contained) (rhs),
- ACE_NESTED_CLASS (POA_IR,IDLType) (rhs),
- POA_CORBA_IRObject (rhs),
- TAO_ServantBase (rhs)
-{}
-
-// skeleton destructor
-POA_IR::ComponentDef::~ComponentDef (void)
-{
-}
-
-void POA_IR::ComponentDef::_get_supported_interfaces_skel (
- TAO_ServerRequest &_tao_server_request,
- void *_tao_object_reference,
- void * /* context */,
- CORBA::Environment &ACE_TRY_ENV
-)
-{
- POA_IR::ComponentDef *_tao_impl = (POA_IR::ComponentDef *)_tao_object_reference;
-
- IR_InterfaceDefSeq_var _tao_retval;
-
-#if (TAO_HAS_INTERCEPTORS == 1)
- TAO_ServerRequestInterceptor_Adapter _tao_vfr (
- _tao_server_request.orb_core ()->server_request_interceptors (),
- _tao_server_request.interceptor_count ()
- );
-
- POA_IR::ComponentDef::TAO_ServerRequestInfo_IR_ComponentDef_supported_interfaces_get ri (
- _tao_server_request,
- _tao_impl,
- ACE_TRY_ENV
- );
-
- ACE_TRY
- {
- _tao_vfr.receive_request (&ri, ACE_TRY_ENV);
- ACE_TRY_CHECK;
-
-#endif /* TAO_HAS_INTERCEPTORS */
- _tao_retval =
- _tao_impl->supported_interfaces (
- ACE_TRY_ENV
- );
- TAO_INTERCEPTOR_CHECK;
-
-#if (TAO_HAS_INTERCEPTORS == 1)
- IR_InterfaceDefSeq * _tao_retval_info = _tao_retval._retn ();
- ri.result (_tao_retval_info);
- _tao_retval = _tao_retval_info;
- ri.reply_status (PortableInterceptor::SUCCESSFUL);
- _tao_vfr.send_reply (&ri, ACE_TRY_ENV);
- ACE_TRY_CHECK;
- }
- ACE_CATCH (PortableInterceptor::ForwardRequest, exc)
- {
- ri.forward_reference (exc);
- _tao_vfr.send_other (
- &ri,
- ACE_TRY_ENV
- );
- ACE_TRY_CHECK;
- _tao_server_request.forward_location (exc.forward.in ());
- }
- ACE_CATCHANY
- {
- ri.exception (&ACE_ANY_EXCEPTION);
- _tao_vfr.send_exception (
- &ri,
- ACE_TRY_ENV
- );
- ACE_TRY_CHECK;
- ACE_RE_THROW;
- }
- ACE_ENDTRY;
- ACE_CHECK;
-#endif /* TAO_HAS_INTERCEPTORS */
-
- _tao_server_request.init_reply ();
-
- TAO_OutputCDR &_tao_out = _tao_server_request.outgoing ();
-
- if (!(
- (_tao_out << _tao_retval.in ())
- ))
- ACE_THROW (CORBA::MARSHAL());
-
- // In case ACE_TRY_ENV is not used in this function
- ACE_UNUSED_ARG (ACE_TRY_ENV);
-}
-
-void POA_IR::ComponentDef::_set_supported_interfaces_skel (
- TAO_ServerRequest &_tao_server_request,
- void *_tao_object_reference,
- void * /* context */,
- CORBA::Environment &ACE_TRY_ENV
-)
-{
- TAO_InputCDR &_tao_in = _tao_server_request.incoming ();
- POA_IR::ComponentDef *_tao_impl = (POA_IR::ComponentDef *)_tao_object_reference;
-
- IR_InterfaceDefSeq supported_interfaces;
- if (!(
- (_tao_in >> supported_interfaces)
- ))
- ACE_THROW (CORBA::MARSHAL () );
-
-#if (TAO_HAS_INTERCEPTORS == 1)
- TAO_ServerRequestInterceptor_Adapter _tao_vfr (
- _tao_server_request.orb_core ()->server_request_interceptors (),
- _tao_server_request.interceptor_count ()
- );
-
- POA_IR::ComponentDef::TAO_ServerRequestInfo_IR_ComponentDef_supported_interfaces_set ri (
- _tao_server_request,
- _tao_impl,
- supported_interfaces,
- ACE_TRY_ENV
- );
-
- ACE_TRY
- {
- _tao_vfr.receive_request (&ri, ACE_TRY_ENV);
- ACE_TRY_CHECK;
-
-#endif /* TAO_HAS_INTERCEPTORS */
-
- _tao_impl->supported_interfaces (
- supported_interfaces,
- ACE_TRY_ENV
- );
- TAO_INTERCEPTOR_CHECK;
-
-#if (TAO_HAS_INTERCEPTORS == 1)
- ri.reply_status (PortableInterceptor::SUCCESSFUL);
- _tao_vfr.send_reply (&ri, ACE_TRY_ENV);
- ACE_TRY_CHECK;
- }
- ACE_CATCH (PortableInterceptor::ForwardRequest, exc)
- {
- ri.forward_reference (exc);
- _tao_vfr.send_other (
- &ri,
- ACE_TRY_ENV
- );
- ACE_TRY_CHECK;
- _tao_server_request.forward_location (exc.forward.in ());
- }
- ACE_CATCHANY
- {
- ri.exception (&ACE_ANY_EXCEPTION);
- _tao_vfr.send_exception (
- &ri,
- ACE_TRY_ENV
- );
- ACE_TRY_CHECK;
- ACE_RE_THROW;
- }
- ACE_ENDTRY;
- ACE_CHECK;
-#endif /* TAO_HAS_INTERCEPTORS */
-
- _tao_server_request.init_reply ();
-
- // In case ACE_TRY_ENV is not used in this function
- ACE_UNUSED_ARG (ACE_TRY_ENV);
-}
-
-void POA_IR::ComponentDef::_get_base_component_skel (
- TAO_ServerRequest &_tao_server_request,
- void *_tao_object_reference,
- void * /* context */,
- CORBA::Environment &ACE_TRY_ENV
-)
-{
- POA_IR::ComponentDef *_tao_impl = (POA_IR::ComponentDef *)_tao_object_reference;
-
- IR_ComponentDef_var _tao_retval;
-
-#if (TAO_HAS_INTERCEPTORS == 1)
- TAO_ServerRequestInterceptor_Adapter _tao_vfr (
- _tao_server_request.orb_core ()->server_request_interceptors (),
- _tao_server_request.interceptor_count ()
- );
-
- POA_IR::ComponentDef::TAO_ServerRequestInfo_IR_ComponentDef_base_component_get ri (
- _tao_server_request,
- _tao_impl,
- ACE_TRY_ENV
- );
-
- ACE_TRY
- {
- _tao_vfr.receive_request (&ri, ACE_TRY_ENV);
- ACE_TRY_CHECK;
-
-#endif /* TAO_HAS_INTERCEPTORS */
- _tao_retval =
- _tao_impl->base_component (
- ACE_TRY_ENV
- );
- TAO_INTERCEPTOR_CHECK;
-
-#if (TAO_HAS_INTERCEPTORS == 1)
- IR_ComponentDef_ptr _tao_retval_info = _tao_retval._retn ();
- ri.result (_tao_retval_info);
- _tao_retval = _tao_retval_info;
- ri.reply_status (PortableInterceptor::SUCCESSFUL);
- _tao_vfr.send_reply (&ri, ACE_TRY_ENV);
- ACE_TRY_CHECK;
- }
- ACE_CATCH (PortableInterceptor::ForwardRequest, exc)
- {
- ri.forward_reference (exc);
- _tao_vfr.send_other (
- &ri,
- ACE_TRY_ENV
- );
- ACE_TRY_CHECK;
- _tao_server_request.forward_location (exc.forward.in ());
- }
- ACE_CATCHANY
- {
- ri.exception (&ACE_ANY_EXCEPTION);
- _tao_vfr.send_exception (
- &ri,
- ACE_TRY_ENV
- );
- ACE_TRY_CHECK;
- ACE_RE_THROW;
- }
- ACE_ENDTRY;
- ACE_CHECK;
-#endif /* TAO_HAS_INTERCEPTORS */
-
- _tao_server_request.init_reply ();
-
- TAO_OutputCDR &_tao_out = _tao_server_request.outgoing ();
-
- if (!(
- (_tao_out << _tao_retval.in ())
- ))
- ACE_THROW (CORBA::MARSHAL());
-
- // In case ACE_TRY_ENV is not used in this function
- ACE_UNUSED_ARG (ACE_TRY_ENV);
-}
-
-void POA_IR::ComponentDef::_get_provides_interfaces_skel (
- TAO_ServerRequest &_tao_server_request,
- void *_tao_object_reference,
- void * /* context */,
- CORBA::Environment &ACE_TRY_ENV
-)
-{
- POA_IR::ComponentDef *_tao_impl = (POA_IR::ComponentDef *)_tao_object_reference;
-
- IR_ProvidesDefSeq_var _tao_retval;
-
-#if (TAO_HAS_INTERCEPTORS == 1)
- TAO_ServerRequestInterceptor_Adapter _tao_vfr (
- _tao_server_request.orb_core ()->server_request_interceptors (),
- _tao_server_request.interceptor_count ()
- );
-
- POA_IR::ComponentDef::TAO_ServerRequestInfo_IR_ComponentDef_provides_interfaces_get ri (
- _tao_server_request,
- _tao_impl,
- ACE_TRY_ENV
- );
-
- ACE_TRY
- {
- _tao_vfr.receive_request (&ri, ACE_TRY_ENV);
- ACE_TRY_CHECK;
-
-#endif /* TAO_HAS_INTERCEPTORS */
- _tao_retval =
- _tao_impl->provides_interfaces (
- ACE_TRY_ENV
- );
- TAO_INTERCEPTOR_CHECK;
-
-#if (TAO_HAS_INTERCEPTORS == 1)
- IR_ProvidesDefSeq * _tao_retval_info = _tao_retval._retn ();
- ri.result (_tao_retval_info);
- _tao_retval = _tao_retval_info;
- ri.reply_status (PortableInterceptor::SUCCESSFUL);
- _tao_vfr.send_reply (&ri, ACE_TRY_ENV);
- ACE_TRY_CHECK;
- }
- ACE_CATCH (PortableInterceptor::ForwardRequest, exc)
- {
- ri.forward_reference (exc);
- _tao_vfr.send_other (
- &ri,
- ACE_TRY_ENV
- );
- ACE_TRY_CHECK;
- _tao_server_request.forward_location (exc.forward.in ());
- }
- ACE_CATCHANY
- {
- ri.exception (&ACE_ANY_EXCEPTION);
- _tao_vfr.send_exception (
- &ri,
- ACE_TRY_ENV
- );
- ACE_TRY_CHECK;
- ACE_RE_THROW;
- }
- ACE_ENDTRY;
- ACE_CHECK;
-#endif /* TAO_HAS_INTERCEPTORS */
-
- _tao_server_request.init_reply ();
-
- TAO_OutputCDR &_tao_out = _tao_server_request.outgoing ();
-
- if (!(
- (_tao_out << _tao_retval.in ())
- ))
- ACE_THROW (CORBA::MARSHAL());
-
- // In case ACE_TRY_ENV is not used in this function
- ACE_UNUSED_ARG (ACE_TRY_ENV);
-}
-
-void POA_IR::ComponentDef::_get_uses_interfaces_skel (
- TAO_ServerRequest &_tao_server_request,
- void *_tao_object_reference,
- void * /* context */,
- CORBA::Environment &ACE_TRY_ENV
-)
-{
- POA_IR::ComponentDef *_tao_impl = (POA_IR::ComponentDef *)_tao_object_reference;
-
- IR_UsesDefSeq_var _tao_retval;
-
-#if (TAO_HAS_INTERCEPTORS == 1)
- TAO_ServerRequestInterceptor_Adapter _tao_vfr (
- _tao_server_request.orb_core ()->server_request_interceptors (),
- _tao_server_request.interceptor_count ()
- );
-
- POA_IR::ComponentDef::TAO_ServerRequestInfo_IR_ComponentDef_uses_interfaces_get ri (
- _tao_server_request,
- _tao_impl,
- ACE_TRY_ENV
- );
-
- ACE_TRY
- {
- _tao_vfr.receive_request (&ri, ACE_TRY_ENV);
- ACE_TRY_CHECK;
-
-#endif /* TAO_HAS_INTERCEPTORS */
- _tao_retval =
- _tao_impl->uses_interfaces (
- ACE_TRY_ENV
- );
- TAO_INTERCEPTOR_CHECK;
-
-#if (TAO_HAS_INTERCEPTORS == 1)
- IR_UsesDefSeq * _tao_retval_info = _tao_retval._retn ();
- ri.result (_tao_retval_info);
- _tao_retval = _tao_retval_info;
- ri.reply_status (PortableInterceptor::SUCCESSFUL);
- _tao_vfr.send_reply (&ri, ACE_TRY_ENV);
- ACE_TRY_CHECK;
- }
- ACE_CATCH (PortableInterceptor::ForwardRequest, exc)
- {
- ri.forward_reference (exc);
- _tao_vfr.send_other (
- &ri,
- ACE_TRY_ENV
- );
- ACE_TRY_CHECK;
- _tao_server_request.forward_location (exc.forward.in ());
- }
- ACE_CATCHANY
- {
- ri.exception (&ACE_ANY_EXCEPTION);
- _tao_vfr.send_exception (
- &ri,
- ACE_TRY_ENV
- );
- ACE_TRY_CHECK;
- ACE_RE_THROW;
- }
- ACE_ENDTRY;
- ACE_CHECK;
-#endif /* TAO_HAS_INTERCEPTORS */
-
- _tao_server_request.init_reply ();
-
- TAO_OutputCDR &_tao_out = _tao_server_request.outgoing ();
-
- if (!(
- (_tao_out << _tao_retval.in ())
- ))
- ACE_THROW (CORBA::MARSHAL());
-
- // In case ACE_TRY_ENV is not used in this function
- ACE_UNUSED_ARG (ACE_TRY_ENV);
-}
-
-void POA_IR::ComponentDef::_get_emits_events_skel (
- TAO_ServerRequest &_tao_server_request,
- void *_tao_object_reference,
- void * /* context */,
- CORBA::Environment &ACE_TRY_ENV
-)
-{
- POA_IR::ComponentDef *_tao_impl = (POA_IR::ComponentDef *)_tao_object_reference;
-
- IR_EmitsDefSeq_var _tao_retval;
-
-#if (TAO_HAS_INTERCEPTORS == 1)
- TAO_ServerRequestInterceptor_Adapter _tao_vfr (
- _tao_server_request.orb_core ()->server_request_interceptors (),
- _tao_server_request.interceptor_count ()
- );
-
- POA_IR::ComponentDef::TAO_ServerRequestInfo_IR_ComponentDef_emits_events_get ri (
- _tao_server_request,
- _tao_impl,
- ACE_TRY_ENV
- );
-
- ACE_TRY
- {
- _tao_vfr.receive_request (&ri, ACE_TRY_ENV);
- ACE_TRY_CHECK;
-
-#endif /* TAO_HAS_INTERCEPTORS */
- _tao_retval =
- _tao_impl->emits_events (
- ACE_TRY_ENV
- );
- TAO_INTERCEPTOR_CHECK;
-
-#if (TAO_HAS_INTERCEPTORS == 1)
- IR_EmitsDefSeq * _tao_retval_info = _tao_retval._retn ();
- ri.result (_tao_retval_info);
- _tao_retval = _tao_retval_info;
- ri.reply_status (PortableInterceptor::SUCCESSFUL);
- _tao_vfr.send_reply (&ri, ACE_TRY_ENV);
- ACE_TRY_CHECK;
- }
- ACE_CATCH (PortableInterceptor::ForwardRequest, exc)
- {
- ri.forward_reference (exc);
- _tao_vfr.send_other (
- &ri,
- ACE_TRY_ENV
- );
- ACE_TRY_CHECK;
- _tao_server_request.forward_location (exc.forward.in ());
- }
- ACE_CATCHANY
- {
- ri.exception (&ACE_ANY_EXCEPTION);
- _tao_vfr.send_exception (
- &ri,
- ACE_TRY_ENV
- );
- ACE_TRY_CHECK;
- ACE_RE_THROW;
- }
- ACE_ENDTRY;
- ACE_CHECK;
-#endif /* TAO_HAS_INTERCEPTORS */
-
- _tao_server_request.init_reply ();
-
- TAO_OutputCDR &_tao_out = _tao_server_request.outgoing ();
-
- if (!(
- (_tao_out << _tao_retval.in ())
- ))
- ACE_THROW (CORBA::MARSHAL());
-
- // In case ACE_TRY_ENV is not used in this function
- ACE_UNUSED_ARG (ACE_TRY_ENV);
-}
-
-void POA_IR::ComponentDef::_get_publishes_events_skel (
- TAO_ServerRequest &_tao_server_request,
- void *_tao_object_reference,
- void * /* context */,
- CORBA::Environment &ACE_TRY_ENV
-)
-{
- POA_IR::ComponentDef *_tao_impl = (POA_IR::ComponentDef *)_tao_object_reference;
-
- IR_PublishesDefSeq_var _tao_retval;
-
-#if (TAO_HAS_INTERCEPTORS == 1)
- TAO_ServerRequestInterceptor_Adapter _tao_vfr (
- _tao_server_request.orb_core ()->server_request_interceptors (),
- _tao_server_request.interceptor_count ()
- );
-
- POA_IR::ComponentDef::TAO_ServerRequestInfo_IR_ComponentDef_publishes_events_get ri (
- _tao_server_request,
- _tao_impl,
- ACE_TRY_ENV
- );
-
- ACE_TRY
- {
- _tao_vfr.receive_request (&ri, ACE_TRY_ENV);
- ACE_TRY_CHECK;
-
-#endif /* TAO_HAS_INTERCEPTORS */
- _tao_retval =
- _tao_impl->publishes_events (
- ACE_TRY_ENV
- );
- TAO_INTERCEPTOR_CHECK;
-
-#if (TAO_HAS_INTERCEPTORS == 1)
- IR_PublishesDefSeq * _tao_retval_info = _tao_retval._retn ();
- ri.result (_tao_retval_info);
- _tao_retval = _tao_retval_info;
- ri.reply_status (PortableInterceptor::SUCCESSFUL);
- _tao_vfr.send_reply (&ri, ACE_TRY_ENV);
- ACE_TRY_CHECK;
- }
- ACE_CATCH (PortableInterceptor::ForwardRequest, exc)
- {
- ri.forward_reference (exc);
- _tao_vfr.send_other (
- &ri,
- ACE_TRY_ENV
- );
- ACE_TRY_CHECK;
- _tao_server_request.forward_location (exc.forward.in ());
- }
- ACE_CATCHANY
- {
- ri.exception (&ACE_ANY_EXCEPTION);
- _tao_vfr.send_exception (
- &ri,
- ACE_TRY_ENV
- );
- ACE_TRY_CHECK;
- ACE_RE_THROW;
- }
- ACE_ENDTRY;
- ACE_CHECK;
-#endif /* TAO_HAS_INTERCEPTORS */
-
- _tao_server_request.init_reply ();
-
- TAO_OutputCDR &_tao_out = _tao_server_request.outgoing ();
-
- if (!(
- (_tao_out << _tao_retval.in ())
- ))
- ACE_THROW (CORBA::MARSHAL());
-
- // In case ACE_TRY_ENV is not used in this function
- ACE_UNUSED_ARG (ACE_TRY_ENV);
-}
-
-void POA_IR::ComponentDef::_get_consumes_events_skel (
- TAO_ServerRequest &_tao_server_request,
- void *_tao_object_reference,
- void * /* context */,
- CORBA::Environment &ACE_TRY_ENV
-)
-{
- POA_IR::ComponentDef *_tao_impl = (POA_IR::ComponentDef *)_tao_object_reference;
-
- IR_ConsumesDefSeq_var _tao_retval;
-
-#if (TAO_HAS_INTERCEPTORS == 1)
- TAO_ServerRequestInterceptor_Adapter _tao_vfr (
- _tao_server_request.orb_core ()->server_request_interceptors (),
- _tao_server_request.interceptor_count ()
- );
-
- POA_IR::ComponentDef::TAO_ServerRequestInfo_IR_ComponentDef_consumes_events_get ri (
- _tao_server_request,
- _tao_impl,
- ACE_TRY_ENV
- );
-
- ACE_TRY
- {
- _tao_vfr.receive_request (&ri, ACE_TRY_ENV);
- ACE_TRY_CHECK;
-
-#endif /* TAO_HAS_INTERCEPTORS */
- _tao_retval =
- _tao_impl->consumes_events (
- ACE_TRY_ENV
- );
- TAO_INTERCEPTOR_CHECK;
-
-#if (TAO_HAS_INTERCEPTORS == 1)
- IR_ConsumesDefSeq * _tao_retval_info = _tao_retval._retn ();
- ri.result (_tao_retval_info);
- _tao_retval = _tao_retval_info;
- ri.reply_status (PortableInterceptor::SUCCESSFUL);
- _tao_vfr.send_reply (&ri, ACE_TRY_ENV);
- ACE_TRY_CHECK;
- }
- ACE_CATCH (PortableInterceptor::ForwardRequest, exc)
- {
- ri.forward_reference (exc);
- _tao_vfr.send_other (
- &ri,
- ACE_TRY_ENV
- );
- ACE_TRY_CHECK;
- _tao_server_request.forward_location (exc.forward.in ());
- }
- ACE_CATCHANY
- {
- ri.exception (&ACE_ANY_EXCEPTION);
- _tao_vfr.send_exception (
- &ri,
- ACE_TRY_ENV
- );
- ACE_TRY_CHECK;
- ACE_RE_THROW;
- }
- ACE_ENDTRY;
- ACE_CHECK;
-#endif /* TAO_HAS_INTERCEPTORS */
-
- _tao_server_request.init_reply ();
-
- TAO_OutputCDR &_tao_out = _tao_server_request.outgoing ();
-
- if (!(
- (_tao_out << _tao_retval.in ())
- ))
- ACE_THROW (CORBA::MARSHAL());
-
- // In case ACE_TRY_ENV is not used in this function
- ACE_UNUSED_ARG (ACE_TRY_ENV);
-}
-
-void POA_IR::ComponentDef::_get_is_basic_skel (
- TAO_ServerRequest &_tao_server_request,
- void *_tao_object_reference,
- void * /* context */,
- CORBA::Environment &ACE_TRY_ENV
-)
-{
- POA_IR::ComponentDef *_tao_impl = (POA_IR::ComponentDef *)_tao_object_reference;
-
- CORBA::Boolean _tao_retval = 0;
-
-#if (TAO_HAS_INTERCEPTORS == 1)
- TAO_ServerRequestInterceptor_Adapter _tao_vfr (
- _tao_server_request.orb_core ()->server_request_interceptors (),
- _tao_server_request.interceptor_count ()
- );
-
- POA_IR::ComponentDef::TAO_ServerRequestInfo_IR_ComponentDef_is_basic_get ri (
- _tao_server_request,
- _tao_impl,
- ACE_TRY_ENV
- );
-
- ACE_TRY
- {
- _tao_vfr.receive_request (&ri, ACE_TRY_ENV);
- ACE_TRY_CHECK;
-
-#endif /* TAO_HAS_INTERCEPTORS */
- _tao_retval =
- _tao_impl->is_basic (
- ACE_TRY_ENV
- );
- TAO_INTERCEPTOR_CHECK;
-
-#if (TAO_HAS_INTERCEPTORS == 1)
- CORBA::Boolean _tao_retval_info = _tao_retval;
- ri.result (_tao_retval_info);
- ri.reply_status (PortableInterceptor::SUCCESSFUL);
- _tao_vfr.send_reply (&ri, ACE_TRY_ENV);
- ACE_TRY_CHECK;
- }
- ACE_CATCH (PortableInterceptor::ForwardRequest, exc)
- {
- ri.forward_reference (exc);
- _tao_vfr.send_other (
- &ri,
- ACE_TRY_ENV
- );
- ACE_TRY_CHECK;
- _tao_server_request.forward_location (exc.forward.in ());
- }
- ACE_CATCHANY
- {
- ri.exception (&ACE_ANY_EXCEPTION);
- _tao_vfr.send_exception (
- &ri,
- ACE_TRY_ENV
- );
- ACE_TRY_CHECK;
- ACE_RE_THROW;
- }
- ACE_ENDTRY;
- ACE_CHECK;
-#endif /* TAO_HAS_INTERCEPTORS */
-
- _tao_server_request.init_reply ();
-
- TAO_OutputCDR &_tao_out = _tao_server_request.outgoing ();
-
- if (!(
- (_tao_out << CORBA::Any::from_boolean (_tao_retval))
- ))
- ACE_THROW (CORBA::MARSHAL());
-
- // In case ACE_TRY_ENV is not used in this function
- ACE_UNUSED_ARG (ACE_TRY_ENV);
-}
-
-void POA_IR::ComponentDef::create_provides_skel (
- TAO_ServerRequest &_tao_server_request,
- void *_tao_object_reference,
- void * /* context */,
- CORBA::Environment &ACE_TRY_ENV
-)
-{
- TAO_InputCDR &_tao_in = _tao_server_request.incoming ();
- POA_IR::ComponentDef *_tao_impl = (POA_IR::ComponentDef *)_tao_object_reference;
-
- IR_ProvidesDef_var _tao_retval;
- CORBA::String_var id;
- CORBA::String_var name;
- CORBA::String_var version;
- IR_InterfaceDef_var interface_type;
- if (!(
- (_tao_in >> id.out ()) &&
- (_tao_in >> name.out ()) &&
- (_tao_in >> version.out ()) &&
- (_tao_in >> interface_type.out ())
- ))
- ACE_THROW (CORBA::MARSHAL () );
-
-#if (TAO_HAS_INTERCEPTORS == 1)
- TAO_ServerRequestInterceptor_Adapter _tao_vfr (
- _tao_server_request.orb_core ()->server_request_interceptors (),
- _tao_server_request.interceptor_count ()
- );
-
- POA_IR::ComponentDef::TAO_ServerRequestInfo_IR_ComponentDef_create_provides ri (
- _tao_server_request,
- _tao_impl,
- id.in (),
- name.in (),
- version.in (),
- interface_type.in (),
- ACE_TRY_ENV
- );
-
- ACE_TRY
- {
- _tao_vfr.receive_request (&ri, ACE_TRY_ENV);
- ACE_TRY_CHECK;
-
-#endif /* TAO_HAS_INTERCEPTORS */
- _tao_retval =
- _tao_impl->create_provides (
- id.in (),
- name.in (),
- version.in (),
- interface_type.in (),
- ACE_TRY_ENV
- );
- TAO_INTERCEPTOR_CHECK;
-
-#if (TAO_HAS_INTERCEPTORS == 1)
- IR_ProvidesDef_ptr _tao_retval_info = _tao_retval._retn ();
- ri.result (_tao_retval_info);
- _tao_retval = _tao_retval_info;
- ri.reply_status (PortableInterceptor::SUCCESSFUL);
- _tao_vfr.send_reply (&ri, ACE_TRY_ENV);
- ACE_TRY_CHECK;
- }
- ACE_CATCH (PortableInterceptor::ForwardRequest, exc)
- {
- ri.forward_reference (exc);
- _tao_vfr.send_other (
- &ri,
- ACE_TRY_ENV
- );
- ACE_TRY_CHECK;
- _tao_server_request.forward_location (exc.forward.in ());
- }
- ACE_CATCHANY
- {
- ri.exception (&ACE_ANY_EXCEPTION);
- _tao_vfr.send_exception (
- &ri,
- ACE_TRY_ENV
- );
- ACE_TRY_CHECK;
- ACE_RE_THROW;
- }
- ACE_ENDTRY;
- ACE_CHECK;
-#endif /* TAO_HAS_INTERCEPTORS */
-
- _tao_server_request.init_reply ();
-
- TAO_OutputCDR &_tao_out = _tao_server_request.outgoing ();
-
- if (!(
- (_tao_out << _tao_retval.in ())
- ))
- ACE_THROW (CORBA::MARSHAL());
-
- // In case ACE_TRY_ENV is not used in this function
- ACE_UNUSED_ARG (ACE_TRY_ENV);
-}
-
-void POA_IR::ComponentDef::create_uses_skel (
- TAO_ServerRequest &_tao_server_request,
- void *_tao_object_reference,
- void * /* context */,
- CORBA::Environment &ACE_TRY_ENV
-)
-{
- TAO_InputCDR &_tao_in = _tao_server_request.incoming ();
- POA_IR::ComponentDef *_tao_impl = (POA_IR::ComponentDef *)_tao_object_reference;
-
- IR_UsesDef_var _tao_retval;
- CORBA::String_var id;
- CORBA::String_var name;
- CORBA::String_var version;
- IR_InterfaceDef_var interface_type;
- CORBA::Boolean is_multiple;
- if (!(
- (_tao_in >> id.out ()) &&
- (_tao_in >> name.out ()) &&
- (_tao_in >> version.out ()) &&
- (_tao_in >> interface_type.out ()) &&
- (_tao_in >> CORBA::Any::to_boolean (is_multiple))
- ))
- ACE_THROW (CORBA::MARSHAL () );
-
-#if (TAO_HAS_INTERCEPTORS == 1)
- TAO_ServerRequestInterceptor_Adapter _tao_vfr (
- _tao_server_request.orb_core ()->server_request_interceptors (),
- _tao_server_request.interceptor_count ()
- );
-
- POA_IR::ComponentDef::TAO_ServerRequestInfo_IR_ComponentDef_create_uses ri (
- _tao_server_request,
- _tao_impl,
- id.in (),
- name.in (),
- version.in (),
- interface_type.in (),
- is_multiple,
- ACE_TRY_ENV
- );
-
- ACE_TRY
- {
- _tao_vfr.receive_request (&ri, ACE_TRY_ENV);
- ACE_TRY_CHECK;
-
-#endif /* TAO_HAS_INTERCEPTORS */
- _tao_retval =
- _tao_impl->create_uses (
- id.in (),
- name.in (),
- version.in (),
- interface_type.in (),
- is_multiple,
- ACE_TRY_ENV
- );
- TAO_INTERCEPTOR_CHECK;
-
-#if (TAO_HAS_INTERCEPTORS == 1)
- IR_UsesDef_ptr _tao_retval_info = _tao_retval._retn ();
- ri.result (_tao_retval_info);
- _tao_retval = _tao_retval_info;
- ri.reply_status (PortableInterceptor::SUCCESSFUL);
- _tao_vfr.send_reply (&ri, ACE_TRY_ENV);
- ACE_TRY_CHECK;
- }
- ACE_CATCH (PortableInterceptor::ForwardRequest, exc)
- {
- ri.forward_reference (exc);
- _tao_vfr.send_other (
- &ri,
- ACE_TRY_ENV
- );
- ACE_TRY_CHECK;
- _tao_server_request.forward_location (exc.forward.in ());
- }
- ACE_CATCHANY
- {
- ri.exception (&ACE_ANY_EXCEPTION);
- _tao_vfr.send_exception (
- &ri,
- ACE_TRY_ENV
- );
- ACE_TRY_CHECK;
- ACE_RE_THROW;
- }
- ACE_ENDTRY;
- ACE_CHECK;
-#endif /* TAO_HAS_INTERCEPTORS */
-
- _tao_server_request.init_reply ();
-
- TAO_OutputCDR &_tao_out = _tao_server_request.outgoing ();
-
- if (!(
- (_tao_out << _tao_retval.in ())
- ))
- ACE_THROW (CORBA::MARSHAL());
-
- // In case ACE_TRY_ENV is not used in this function
- ACE_UNUSED_ARG (ACE_TRY_ENV);
-}
-
-void POA_IR::ComponentDef::create_emits_skel (
- TAO_ServerRequest &_tao_server_request,
- void *_tao_object_reference,
- void * /* context */,
- CORBA::Environment &ACE_TRY_ENV
-)
-{
- TAO_InputCDR &_tao_in = _tao_server_request.incoming ();
- POA_IR::ComponentDef *_tao_impl = (POA_IR::ComponentDef *)_tao_object_reference;
-
- IR_EmitsDef_var _tao_retval;
- CORBA::String_var id;
- CORBA::String_var name;
- CORBA::String_var version;
- IR_ValueDef_var value;
- if (!(
- (_tao_in >> id.out ()) &&
- (_tao_in >> name.out ()) &&
- (_tao_in >> version.out ()) &&
- (_tao_in >> value.out ())
- ))
- ACE_THROW (CORBA::MARSHAL () );
-
-#if (TAO_HAS_INTERCEPTORS == 1)
- TAO_ServerRequestInterceptor_Adapter _tao_vfr (
- _tao_server_request.orb_core ()->server_request_interceptors (),
- _tao_server_request.interceptor_count ()
- );
-
- POA_IR::ComponentDef::TAO_ServerRequestInfo_IR_ComponentDef_create_emits ri (
- _tao_server_request,
- _tao_impl,
- id.in (),
- name.in (),
- version.in (),
- value.in (),
- ACE_TRY_ENV
- );
-
- ACE_TRY
- {
- _tao_vfr.receive_request (&ri, ACE_TRY_ENV);
- ACE_TRY_CHECK;
-
-#endif /* TAO_HAS_INTERCEPTORS */
- _tao_retval =
- _tao_impl->create_emits (
- id.in (),
- name.in (),
- version.in (),
- value.in (),
- ACE_TRY_ENV
- );
- TAO_INTERCEPTOR_CHECK;
-
-#if (TAO_HAS_INTERCEPTORS == 1)
- IR_EmitsDef_ptr _tao_retval_info = _tao_retval._retn ();
- ri.result (_tao_retval_info);
- _tao_retval = _tao_retval_info;
- ri.reply_status (PortableInterceptor::SUCCESSFUL);
- _tao_vfr.send_reply (&ri, ACE_TRY_ENV);
- ACE_TRY_CHECK;
- }
- ACE_CATCH (PortableInterceptor::ForwardRequest, exc)
- {
- ri.forward_reference (exc);
- _tao_vfr.send_other (
- &ri,
- ACE_TRY_ENV
- );
- ACE_TRY_CHECK;
- _tao_server_request.forward_location (exc.forward.in ());
- }
- ACE_CATCHANY
- {
- ri.exception (&ACE_ANY_EXCEPTION);
- _tao_vfr.send_exception (
- &ri,
- ACE_TRY_ENV
- );
- ACE_TRY_CHECK;
- ACE_RE_THROW;
- }
- ACE_ENDTRY;
- ACE_CHECK;
-#endif /* TAO_HAS_INTERCEPTORS */
-
- _tao_server_request.init_reply ();
-
- TAO_OutputCDR &_tao_out = _tao_server_request.outgoing ();
-
- if (!(
- (_tao_out << _tao_retval.in ())
- ))
- ACE_THROW (CORBA::MARSHAL());
-
- // In case ACE_TRY_ENV is not used in this function
- ACE_UNUSED_ARG (ACE_TRY_ENV);
-}
-
-void POA_IR::ComponentDef::create_publishes_skel (
- TAO_ServerRequest &_tao_server_request,
- void *_tao_object_reference,
- void * /* context */,
- CORBA::Environment &ACE_TRY_ENV
-)
-{
- TAO_InputCDR &_tao_in = _tao_server_request.incoming ();
- POA_IR::ComponentDef *_tao_impl = (POA_IR::ComponentDef *)_tao_object_reference;
-
- IR_PublishesDef_var _tao_retval;
- CORBA::String_var id;
- CORBA::String_var name;
- CORBA::String_var version;
- IR_ValueDef_var value;
- if (!(
- (_tao_in >> id.out ()) &&
- (_tao_in >> name.out ()) &&
- (_tao_in >> version.out ()) &&
- (_tao_in >> value.out ())
- ))
- ACE_THROW (CORBA::MARSHAL () );
-
-#if (TAO_HAS_INTERCEPTORS == 1)
- TAO_ServerRequestInterceptor_Adapter _tao_vfr (
- _tao_server_request.orb_core ()->server_request_interceptors (),
- _tao_server_request.interceptor_count ()
- );
-
- POA_IR::ComponentDef::TAO_ServerRequestInfo_IR_ComponentDef_create_publishes ri (
- _tao_server_request,
- _tao_impl,
- id.in (),
- name.in (),
- version.in (),
- value.in (),
- ACE_TRY_ENV
- );
-
- ACE_TRY
- {
- _tao_vfr.receive_request (&ri, ACE_TRY_ENV);
- ACE_TRY_CHECK;
-
-#endif /* TAO_HAS_INTERCEPTORS */
- _tao_retval =
- _tao_impl->create_publishes (
- id.in (),
- name.in (),
- version.in (),
- value.in (),
- ACE_TRY_ENV
- );
- TAO_INTERCEPTOR_CHECK;
-
-#if (TAO_HAS_INTERCEPTORS == 1)
- IR_PublishesDef_ptr _tao_retval_info = _tao_retval._retn ();
- ri.result (_tao_retval_info);
- _tao_retval = _tao_retval_info;
- ri.reply_status (PortableInterceptor::SUCCESSFUL);
- _tao_vfr.send_reply (&ri, ACE_TRY_ENV);
- ACE_TRY_CHECK;
- }
- ACE_CATCH (PortableInterceptor::ForwardRequest, exc)
- {
- ri.forward_reference (exc);
- _tao_vfr.send_other (
- &ri,
- ACE_TRY_ENV
- );
- ACE_TRY_CHECK;
- _tao_server_request.forward_location (exc.forward.in ());
- }
- ACE_CATCHANY
- {
- ri.exception (&ACE_ANY_EXCEPTION);
- _tao_vfr.send_exception (
- &ri,
- ACE_TRY_ENV
- );
- ACE_TRY_CHECK;
- ACE_RE_THROW;
- }
- ACE_ENDTRY;
- ACE_CHECK;
-#endif /* TAO_HAS_INTERCEPTORS */
-
- _tao_server_request.init_reply ();
-
- TAO_OutputCDR &_tao_out = _tao_server_request.outgoing ();
-
- if (!(
- (_tao_out << _tao_retval.in ())
- ))
- ACE_THROW (CORBA::MARSHAL());
-
- // In case ACE_TRY_ENV is not used in this function
- ACE_UNUSED_ARG (ACE_TRY_ENV);
-}
-
-void POA_IR::ComponentDef::create_consumes_skel (
- TAO_ServerRequest &_tao_server_request,
- void *_tao_object_reference,
- void * /* context */,
- CORBA::Environment &ACE_TRY_ENV
-)
-{
- TAO_InputCDR &_tao_in = _tao_server_request.incoming ();
- POA_IR::ComponentDef *_tao_impl = (POA_IR::ComponentDef *)_tao_object_reference;
-
- IR_ConsumesDef_var _tao_retval;
- CORBA::String_var id;
- CORBA::String_var name;
- CORBA::String_var version;
- IR_ValueDef_var value;
- if (!(
- (_tao_in >> id.out ()) &&
- (_tao_in >> name.out ()) &&
- (_tao_in >> version.out ()) &&
- (_tao_in >> value.out ())
- ))
- ACE_THROW (CORBA::MARSHAL () );
-
-#if (TAO_HAS_INTERCEPTORS == 1)
- TAO_ServerRequestInterceptor_Adapter _tao_vfr (
- _tao_server_request.orb_core ()->server_request_interceptors (),
- _tao_server_request.interceptor_count ()
- );
-
- POA_IR::ComponentDef::TAO_ServerRequestInfo_IR_ComponentDef_create_consumes ri (
- _tao_server_request,
- _tao_impl,
- id.in (),
- name.in (),
- version.in (),
- value.in (),
- ACE_TRY_ENV
- );
-
- ACE_TRY
- {
- _tao_vfr.receive_request (&ri, ACE_TRY_ENV);
- ACE_TRY_CHECK;
-
-#endif /* TAO_HAS_INTERCEPTORS */
- _tao_retval =
- _tao_impl->create_consumes (
- id.in (),
- name.in (),
- version.in (),
- value.in (),
- ACE_TRY_ENV
- );
- TAO_INTERCEPTOR_CHECK;
-
-#if (TAO_HAS_INTERCEPTORS == 1)
- IR_ConsumesDef_ptr _tao_retval_info = _tao_retval._retn ();
- ri.result (_tao_retval_info);
- _tao_retval = _tao_retval_info;
- ri.reply_status (PortableInterceptor::SUCCESSFUL);
- _tao_vfr.send_reply (&ri, ACE_TRY_ENV);
- ACE_TRY_CHECK;
- }
- ACE_CATCH (PortableInterceptor::ForwardRequest, exc)
- {
- ri.forward_reference (exc);
- _tao_vfr.send_other (
- &ri,
- ACE_TRY_ENV
- );
- ACE_TRY_CHECK;
- _tao_server_request.forward_location (exc.forward.in ());
- }
- ACE_CATCHANY
- {
- ri.exception (&ACE_ANY_EXCEPTION);
- _tao_vfr.send_exception (
- &ri,
- ACE_TRY_ENV
- );
- ACE_TRY_CHECK;
- ACE_RE_THROW;
- }
- ACE_ENDTRY;
- ACE_CHECK;
-#endif /* TAO_HAS_INTERCEPTORS */
-
- _tao_server_request.init_reply ();
-
- TAO_OutputCDR &_tao_out = _tao_server_request.outgoing ();
-
- if (!(
- (_tao_out << _tao_retval.in ())
- ))
- ACE_THROW (CORBA::MARSHAL());
-
- // In case ACE_TRY_ENV is not used in this function
- ACE_UNUSED_ARG (ACE_TRY_ENV);
-}
-
-void POA_IR::ComponentDef::_is_a_skel (
- TAO_ServerRequest &_tao_server_request,
- void * _tao_object_reference,
- void * /* context */,
- CORBA::Environment &ACE_TRY_ENV
- )
-{
- TAO_InputCDR &_tao_in = _tao_server_request.incoming ();
- POA_IR::ComponentDef *_tao_impl = (POA_IR::ComponentDef *) _tao_object_reference;
- CORBA::Boolean _tao_retval = 0;
- CORBA::String_var value;
- if (!((_tao_in >> value.out ())))
- ACE_THROW (CORBA::MARSHAL ());
-
- _tao_retval = _tao_impl->_is_a (value.in (), ACE_TRY_ENV);
- ACE_CHECK;
-
- _tao_server_request.init_reply ();
- TAO_OutputCDR &_tao_out = _tao_server_request.outgoing ();
- if (!((_tao_out << CORBA::Any::from_boolean (_tao_retval))))
- ACE_THROW (CORBA::MARSHAL ());
-}
-
-void POA_IR::ComponentDef::_non_existent_skel (
- TAO_ServerRequest &_tao_server_request,
- void * _tao_object_reference,
- void * /* context */,
- CORBA::Environment &ACE_TRY_ENV
- )
-{
- POA_IR::ComponentDef *_tao_impl = (POA_IR::ComponentDef *) _tao_object_reference;
- CORBA::Boolean _tao_retval = _tao_impl->_non_existent (ACE_TRY_ENV);
- ACE_CHECK;
-
- _tao_server_request.init_reply ();
- TAO_OutputCDR &_tao_out = _tao_server_request.outgoing ();
- if (!((_tao_out << CORBA::Any::from_boolean (_tao_retval))))
- ACE_THROW (CORBA::MARSHAL ());
-}
-
-CORBA::Boolean POA_IR::ComponentDef::_is_a (
- const char* value,
- CORBA::Environment &ACE_TRY_ENV
- )
-{
- if (
- (!ACE_OS::strcmp ((char *)value, "IDL:omg.org/IR/ComponentDef:1.0")) ||
- (!ACE_OS::strcmp ((char *)value, "IDL:omg.org/IR/InterfaceDef:1.0")) ||
- (!ACE_OS::strcmp ((char *)value, "IDL:omg.org/IR/Container:1.0")) ||
- (!ACE_OS::strcmp ((char *)value, "IDL:omg.org/IR/Contained:1.0")) ||
- (!ACE_OS::strcmp ((char *)value, "IDL:omg.org/IR/IDLType:1.0")) ||
- (!ACE_OS::strcmp ((char *)value, "IDL:omg.org/CORBA/IRObject:1.0")) ||
- (!ACE_OS::strcmp ((char *)value, CORBA::_tc_Object->id (ACE_TRY_ENV))))
- return 1;
- else
- return 0;
-}
-
-void* POA_IR::ComponentDef::_downcast (
- const char* logical_type_id
- )
-{
- if (ACE_OS::strcmp (logical_type_id, "IDL:omg.org/IR/ComponentDef:1.0") == 0)
- return ACE_static_cast (POA_IR::ComponentDef_ptr, this);
- if (ACE_OS::strcmp (logical_type_id, "IDL:omg.org/IR/InterfaceDef:1.0") == 0)
- return ACE_static_cast (POA_IR::InterfaceDef_ptr, this);
- if (ACE_OS::strcmp (logical_type_id, "IDL:omg.org/IR/Container:1.0") == 0)
- return ACE_static_cast (POA_IR::Container_ptr, this);
- if (ACE_OS::strcmp (logical_type_id, "IDL:omg.org/IR/Contained:1.0") == 0)
- return ACE_static_cast (POA_IR::Contained_ptr, this);
- if (ACE_OS::strcmp (logical_type_id, "IDL:omg.org/IR/IDLType:1.0") == 0)
- return ACE_static_cast (POA_IR::IDLType_ptr, this);
- if (ACE_OS::strcmp (logical_type_id, "IDL:omg.org/CORBA/IRObject:1.0") == 0)
- return ACE_static_cast (POA_CORBA_IRObject_ptr, this);
- if (ACE_OS::strcmp (logical_type_id, "IDL:omg.org/CORBA/Object:1.0") == 0)
- return ACE_static_cast(PortableServer::Servant, this);
- return 0;
-}
-
-void POA_IR::ComponentDef::_dispatch (TAO_ServerRequest &req, void *context, CORBA::Environment &ACE_TRY_ENV)
-{
- this->synchronous_upcall_dispatch(req, context, this, ACE_TRY_ENV);
-}
-
-const char* POA_IR::ComponentDef::_interface_repository_id (void) const
-{
- return "IDL:omg.org/IR/ComponentDef:1.0";
-}
-
-IR::ComponentDef*
-POA_IR::ComponentDef::_this (CORBA_Environment &ACE_TRY_ENV)
-{
- TAO_Stub *stub = this->_create_stub (ACE_TRY_ENV);
- ACE_CHECK_RETURN (0);
-
- CORBA::Object_ptr tmp = CORBA::Object::_nil ();
-
- if (stub->servant_orb_var ()->orb_core ()->optimize_collocation_objects ())
- ACE_NEW_RETURN (tmp, CORBA::Object (stub, 1, this), 0);
- else
- ACE_NEW_RETURN (tmp, CORBA::Object (stub, 0, this), 0);
-
- CORBA::Object_var obj = tmp;
- return IR_ComponentDef::_unchecked_narrow (obj.in ());
-}
-
-#if (TAO_HAS_INTERCEPTORS == 1)
-POA_IR::ComponentDef::TAO_ServerRequestInfo_IR_ComponentDef_supported_interfaces_get::TAO_ServerRequestInfo_IR_ComponentDef_supported_interfaces_get (
- TAO_ServerRequest &_tao_server_request,
- POA_IR::ComponentDef *tao_impl,
- CORBA::Environment &
- )
- : TAO_ServerRequestInfo (_tao_server_request),
- _tao_impl (tao_impl)
-{}
-
-Dynamic::ParameterList *
-POA_IR::ComponentDef::TAO_ServerRequestInfo_IR_ComponentDef_supported_interfaces_get::arguments (CORBA::Environment &ACE_TRY_ENV)
- ACE_THROW_SPEC ((CORBA::SystemException))
-{
- // Generate the argument list on demand.
- Dynamic::ParameterList *parameter_list =
- TAO_RequestInfo_Util::make_parameter_list (ACE_TRY_ENV);
- ACE_CHECK_RETURN (0);
-
- return parameter_list;
-}
-
-Dynamic::ExceptionList *
-POA_IR::ComponentDef::TAO_ServerRequestInfo_IR_ComponentDef_supported_interfaces_get::exceptions (CORBA::Environment &ACE_TRY_ENV)
- ACE_THROW_SPEC ((CORBA::SystemException))
-{
- // Generate the exception list on demand.
- Dynamic::ExceptionList *exception_list =
- TAO_RequestInfo_Util::make_exception_list (ACE_TRY_ENV);
- ACE_CHECK_RETURN (0);
-
- return exception_list;
-}
-
-CORBA::Any *
-POA_IR::ComponentDef::TAO_ServerRequestInfo_IR_ComponentDef_supported_interfaces_get::result (CORBA::Environment &ACE_TRY_ENV)
- ACE_THROW_SPEC ((CORBA::SystemException))
-{
- // Generate the result on demand.
- CORBA::Boolean tk_void_any = 0;
- CORBA::Any *result_any =
- TAO_RequestInfo_Util::make_any (tk_void_any, ACE_TRY_ENV);
- ACE_CHECK_RETURN (0);
-
- CORBA::Any_var safe_result_any = result_any;
-
- (*result_any) <<= this->_result;
-
- return safe_result_any._retn ();
-}
-
-char *
-POA_IR::ComponentDef::TAO_ServerRequestInfo_IR_ComponentDef_supported_interfaces_get::target_most_derived_interface (
- CORBA::Environment &)
- ACE_THROW_SPEC ((CORBA::SystemException))
-{
- return
- CORBA::string_dup (this->_tao_impl->_interface_repository_id ());
-}
-
-CORBA::Boolean
-POA_IR::ComponentDef::TAO_ServerRequestInfo_IR_ComponentDef_supported_interfaces_get::target_is_a (
- const char * id,
- CORBA::Environment &ACE_TRY_ENV)
- ACE_THROW_SPEC ((CORBA::SystemException))
-{
- return this->_tao_impl->_is_a (id, ACE_TRY_ENV);
-}
-
-void
-POA_IR::ComponentDef::TAO_ServerRequestInfo_IR_ComponentDef_supported_interfaces_get::result (IR::InterfaceDefSeq * result)
-{
- // Update the result.
- this->_result = result;
-}
-
-POA_IR::ComponentDef::TAO_ServerRequestInfo_IR_ComponentDef_supported_interfaces_set::TAO_ServerRequestInfo_IR_ComponentDef_supported_interfaces_set (
- TAO_ServerRequest &_tao_server_request,
- POA_IR::ComponentDef *tao_impl,
- const IR_InterfaceDefSeq & supported_interfaces,
- CORBA::Environment &
- )
- : TAO_ServerRequestInfo (_tao_server_request),
- _tao_impl (tao_impl),
- supported_interfaces_ (supported_interfaces)
-{}
-
-Dynamic::ParameterList *
-POA_IR::ComponentDef::TAO_ServerRequestInfo_IR_ComponentDef_supported_interfaces_set::arguments (CORBA::Environment &ACE_TRY_ENV)
- ACE_THROW_SPEC ((CORBA::SystemException))
-{
- // Generate the argument list on demand.
- Dynamic::ParameterList *parameter_list =
- TAO_RequestInfo_Util::make_parameter_list (ACE_TRY_ENV);
- ACE_CHECK_RETURN (0);
-
- Dynamic::ParameterList_var safe_parameter_list = parameter_list;
-
- CORBA::ULong length_supported_interfaces = parameter_list->length ();
- parameter_list->length (length_supported_interfaces + 1);
- (*parameter_list)[length_supported_interfaces].argument <<= this->supported_interfaces_;
-
- (*parameter_list)[length_supported_interfaces].mode = Dynamic::PARAM_IN;
-
- return safe_parameter_list._retn ();
-}
-
-Dynamic::ExceptionList *
-POA_IR::ComponentDef::TAO_ServerRequestInfo_IR_ComponentDef_supported_interfaces_set::exceptions (CORBA::Environment &ACE_TRY_ENV)
- ACE_THROW_SPEC ((CORBA::SystemException))
-{
- // Generate the exception list on demand.
- Dynamic::ExceptionList *exception_list =
- TAO_RequestInfo_Util::make_exception_list (ACE_TRY_ENV);
- ACE_CHECK_RETURN (0);
-
- return exception_list;
-}
-
-CORBA::Any *
-POA_IR::ComponentDef::TAO_ServerRequestInfo_IR_ComponentDef_supported_interfaces_set::result (CORBA::Environment &ACE_TRY_ENV)
- ACE_THROW_SPEC ((CORBA::SystemException))
-{
- // Generate the result on demand.
- CORBA::Boolean tk_void_any = 1;
- CORBA::Any *result_any =
- TAO_RequestInfo_Util::make_any (tk_void_any, ACE_TRY_ENV);
- ACE_CHECK_RETURN (0);
-
- return result_any;
-}
-
-char *
-POA_IR::ComponentDef::TAO_ServerRequestInfo_IR_ComponentDef_supported_interfaces_set::target_most_derived_interface (
- CORBA::Environment &)
- ACE_THROW_SPEC ((CORBA::SystemException))
-{
- return
- CORBA::string_dup (this->_tao_impl->_interface_repository_id ());
-}
-
-CORBA::Boolean
-POA_IR::ComponentDef::TAO_ServerRequestInfo_IR_ComponentDef_supported_interfaces_set::target_is_a (
- const char * id,
- CORBA::Environment &ACE_TRY_ENV)
- ACE_THROW_SPEC ((CORBA::SystemException))
-{
- return this->_tao_impl->_is_a (id, ACE_TRY_ENV);
-}
-
-POA_IR::ComponentDef::TAO_ServerRequestInfo_IR_ComponentDef_base_component_get::TAO_ServerRequestInfo_IR_ComponentDef_base_component_get (
- TAO_ServerRequest &_tao_server_request,
- POA_IR::ComponentDef *tao_impl,
- CORBA::Environment &
- )
- : TAO_ServerRequestInfo (_tao_server_request),
- _tao_impl (tao_impl)
-{}
-
-Dynamic::ParameterList *
-POA_IR::ComponentDef::TAO_ServerRequestInfo_IR_ComponentDef_base_component_get::arguments (CORBA::Environment &ACE_TRY_ENV)
- ACE_THROW_SPEC ((CORBA::SystemException))
-{
- // Generate the argument list on demand.
- Dynamic::ParameterList *parameter_list =
- TAO_RequestInfo_Util::make_parameter_list (ACE_TRY_ENV);
- ACE_CHECK_RETURN (0);
-
- return parameter_list;
-}
-
-Dynamic::ExceptionList *
-POA_IR::ComponentDef::TAO_ServerRequestInfo_IR_ComponentDef_base_component_get::exceptions (CORBA::Environment &ACE_TRY_ENV)
- ACE_THROW_SPEC ((CORBA::SystemException))
-{
- // Generate the exception list on demand.
- Dynamic::ExceptionList *exception_list =
- TAO_RequestInfo_Util::make_exception_list (ACE_TRY_ENV);
- ACE_CHECK_RETURN (0);
-
- return exception_list;
-}
-
-CORBA::Any *
-POA_IR::ComponentDef::TAO_ServerRequestInfo_IR_ComponentDef_base_component_get::result (CORBA::Environment &ACE_TRY_ENV)
- ACE_THROW_SPEC ((CORBA::SystemException))
-{
- // Generate the result on demand.
- CORBA::Boolean tk_void_any = 0;
- CORBA::Any *result_any =
- TAO_RequestInfo_Util::make_any (tk_void_any, ACE_TRY_ENV);
- ACE_CHECK_RETURN (0);
-
- CORBA::Any_var safe_result_any = result_any;
-
- (*result_any) <<= this->_result;
-
- return safe_result_any._retn ();
-}
-
-char *
-POA_IR::ComponentDef::TAO_ServerRequestInfo_IR_ComponentDef_base_component_get::target_most_derived_interface (
- CORBA::Environment &)
- ACE_THROW_SPEC ((CORBA::SystemException))
-{
- return
- CORBA::string_dup (this->_tao_impl->_interface_repository_id ());
-}
-
-CORBA::Boolean
-POA_IR::ComponentDef::TAO_ServerRequestInfo_IR_ComponentDef_base_component_get::target_is_a (
- const char * id,
- CORBA::Environment &ACE_TRY_ENV)
- ACE_THROW_SPEC ((CORBA::SystemException))
-{
- return this->_tao_impl->_is_a (id, ACE_TRY_ENV);
-}
-
-void
-POA_IR::ComponentDef::TAO_ServerRequestInfo_IR_ComponentDef_base_component_get::result (IR::ComponentDef_ptr result)
-{
- // Update the result.
- this->_result = result;
-}
-
-POA_IR::ComponentDef::TAO_ServerRequestInfo_IR_ComponentDef_provides_interfaces_get::TAO_ServerRequestInfo_IR_ComponentDef_provides_interfaces_get (
- TAO_ServerRequest &_tao_server_request,
- POA_IR::ComponentDef *tao_impl,
- CORBA::Environment &
- )
- : TAO_ServerRequestInfo (_tao_server_request),
- _tao_impl (tao_impl)
-{}
-
-Dynamic::ParameterList *
-POA_IR::ComponentDef::TAO_ServerRequestInfo_IR_ComponentDef_provides_interfaces_get::arguments (CORBA::Environment &ACE_TRY_ENV)
- ACE_THROW_SPEC ((CORBA::SystemException))
-{
- // Generate the argument list on demand.
- Dynamic::ParameterList *parameter_list =
- TAO_RequestInfo_Util::make_parameter_list (ACE_TRY_ENV);
- ACE_CHECK_RETURN (0);
-
- return parameter_list;
-}
-
-Dynamic::ExceptionList *
-POA_IR::ComponentDef::TAO_ServerRequestInfo_IR_ComponentDef_provides_interfaces_get::exceptions (CORBA::Environment &ACE_TRY_ENV)
- ACE_THROW_SPEC ((CORBA::SystemException))
-{
- // Generate the exception list on demand.
- Dynamic::ExceptionList *exception_list =
- TAO_RequestInfo_Util::make_exception_list (ACE_TRY_ENV);
- ACE_CHECK_RETURN (0);
-
- return exception_list;
-}
-
-CORBA::Any *
-POA_IR::ComponentDef::TAO_ServerRequestInfo_IR_ComponentDef_provides_interfaces_get::result (CORBA::Environment &ACE_TRY_ENV)
- ACE_THROW_SPEC ((CORBA::SystemException))
-{
- // Generate the result on demand.
- CORBA::Boolean tk_void_any = 0;
- CORBA::Any *result_any =
- TAO_RequestInfo_Util::make_any (tk_void_any, ACE_TRY_ENV);
- ACE_CHECK_RETURN (0);
-
- CORBA::Any_var safe_result_any = result_any;
-
- (*result_any) <<= this->_result;
-
- return safe_result_any._retn ();
-}
-
-char *
-POA_IR::ComponentDef::TAO_ServerRequestInfo_IR_ComponentDef_provides_interfaces_get::target_most_derived_interface (
- CORBA::Environment &)
- ACE_THROW_SPEC ((CORBA::SystemException))
-{
- return
- CORBA::string_dup (this->_tao_impl->_interface_repository_id ());
-}
-
-CORBA::Boolean
-POA_IR::ComponentDef::TAO_ServerRequestInfo_IR_ComponentDef_provides_interfaces_get::target_is_a (
- const char * id,
- CORBA::Environment &ACE_TRY_ENV)
- ACE_THROW_SPEC ((CORBA::SystemException))
-{
- return this->_tao_impl->_is_a (id, ACE_TRY_ENV);
-}
-
-void
-POA_IR::ComponentDef::TAO_ServerRequestInfo_IR_ComponentDef_provides_interfaces_get::result (IR::ProvidesDefSeq * result)
-{
- // Update the result.
- this->_result = result;
-}
-
-POA_IR::ComponentDef::TAO_ServerRequestInfo_IR_ComponentDef_uses_interfaces_get::TAO_ServerRequestInfo_IR_ComponentDef_uses_interfaces_get (
- TAO_ServerRequest &_tao_server_request,
- POA_IR::ComponentDef *tao_impl,
- CORBA::Environment &
- )
- : TAO_ServerRequestInfo (_tao_server_request),
- _tao_impl (tao_impl)
-{}
-
-Dynamic::ParameterList *
-POA_IR::ComponentDef::TAO_ServerRequestInfo_IR_ComponentDef_uses_interfaces_get::arguments (CORBA::Environment &ACE_TRY_ENV)
- ACE_THROW_SPEC ((CORBA::SystemException))
-{
- // Generate the argument list on demand.
- Dynamic::ParameterList *parameter_list =
- TAO_RequestInfo_Util::make_parameter_list (ACE_TRY_ENV);
- ACE_CHECK_RETURN (0);
-
- return parameter_list;
-}
-
-Dynamic::ExceptionList *
-POA_IR::ComponentDef::TAO_ServerRequestInfo_IR_ComponentDef_uses_interfaces_get::exceptions (CORBA::Environment &ACE_TRY_ENV)
- ACE_THROW_SPEC ((CORBA::SystemException))
-{
- // Generate the exception list on demand.
- Dynamic::ExceptionList *exception_list =
- TAO_RequestInfo_Util::make_exception_list (ACE_TRY_ENV);
- ACE_CHECK_RETURN (0);
-
- return exception_list;
-}
-
-CORBA::Any *
-POA_IR::ComponentDef::TAO_ServerRequestInfo_IR_ComponentDef_uses_interfaces_get::result (CORBA::Environment &ACE_TRY_ENV)
- ACE_THROW_SPEC ((CORBA::SystemException))
-{
- // Generate the result on demand.
- CORBA::Boolean tk_void_any = 0;
- CORBA::Any *result_any =
- TAO_RequestInfo_Util::make_any (tk_void_any, ACE_TRY_ENV);
- ACE_CHECK_RETURN (0);
-
- CORBA::Any_var safe_result_any = result_any;
-
- (*result_any) <<= this->_result;
-
- return safe_result_any._retn ();
-}
-
-char *
-POA_IR::ComponentDef::TAO_ServerRequestInfo_IR_ComponentDef_uses_interfaces_get::target_most_derived_interface (
- CORBA::Environment &)
- ACE_THROW_SPEC ((CORBA::SystemException))
-{
- return
- CORBA::string_dup (this->_tao_impl->_interface_repository_id ());
-}
-
-CORBA::Boolean
-POA_IR::ComponentDef::TAO_ServerRequestInfo_IR_ComponentDef_uses_interfaces_get::target_is_a (
- const char * id,
- CORBA::Environment &ACE_TRY_ENV)
- ACE_THROW_SPEC ((CORBA::SystemException))
-{
- return this->_tao_impl->_is_a (id, ACE_TRY_ENV);
-}
-
-void
-POA_IR::ComponentDef::TAO_ServerRequestInfo_IR_ComponentDef_uses_interfaces_get::result (IR::UsesDefSeq * result)
-{
- // Update the result.
- this->_result = result;
-}
-
-POA_IR::ComponentDef::TAO_ServerRequestInfo_IR_ComponentDef_emits_events_get::TAO_ServerRequestInfo_IR_ComponentDef_emits_events_get (
- TAO_ServerRequest &_tao_server_request,
- POA_IR::ComponentDef *tao_impl,
- CORBA::Environment &
- )
- : TAO_ServerRequestInfo (_tao_server_request),
- _tao_impl (tao_impl)
-{}
-
-Dynamic::ParameterList *
-POA_IR::ComponentDef::TAO_ServerRequestInfo_IR_ComponentDef_emits_events_get::arguments (CORBA::Environment &ACE_TRY_ENV)
- ACE_THROW_SPEC ((CORBA::SystemException))
-{
- // Generate the argument list on demand.
- Dynamic::ParameterList *parameter_list =
- TAO_RequestInfo_Util::make_parameter_list (ACE_TRY_ENV);
- ACE_CHECK_RETURN (0);
-
- return parameter_list;
-}
-
-Dynamic::ExceptionList *
-POA_IR::ComponentDef::TAO_ServerRequestInfo_IR_ComponentDef_emits_events_get::exceptions (CORBA::Environment &ACE_TRY_ENV)
- ACE_THROW_SPEC ((CORBA::SystemException))
-{
- // Generate the exception list on demand.
- Dynamic::ExceptionList *exception_list =
- TAO_RequestInfo_Util::make_exception_list (ACE_TRY_ENV);
- ACE_CHECK_RETURN (0);
-
- return exception_list;
-}
-
-CORBA::Any *
-POA_IR::ComponentDef::TAO_ServerRequestInfo_IR_ComponentDef_emits_events_get::result (CORBA::Environment &ACE_TRY_ENV)
- ACE_THROW_SPEC ((CORBA::SystemException))
-{
- // Generate the result on demand.
- CORBA::Boolean tk_void_any = 0;
- CORBA::Any *result_any =
- TAO_RequestInfo_Util::make_any (tk_void_any, ACE_TRY_ENV);
- ACE_CHECK_RETURN (0);
-
- CORBA::Any_var safe_result_any = result_any;
-
- (*result_any) <<= this->_result;
-
- return safe_result_any._retn ();
-}
-
-char *
-POA_IR::ComponentDef::TAO_ServerRequestInfo_IR_ComponentDef_emits_events_get::target_most_derived_interface (
- CORBA::Environment &)
- ACE_THROW_SPEC ((CORBA::SystemException))
-{
- return
- CORBA::string_dup (this->_tao_impl->_interface_repository_id ());
-}
-
-CORBA::Boolean
-POA_IR::ComponentDef::TAO_ServerRequestInfo_IR_ComponentDef_emits_events_get::target_is_a (
- const char * id,
- CORBA::Environment &ACE_TRY_ENV)
- ACE_THROW_SPEC ((CORBA::SystemException))
-{
- return this->_tao_impl->_is_a (id, ACE_TRY_ENV);
-}
-
-void
-POA_IR::ComponentDef::TAO_ServerRequestInfo_IR_ComponentDef_emits_events_get::result (IR::EmitsDefSeq * result)
-{
- // Update the result.
- this->_result = result;
-}
-
-POA_IR::ComponentDef::TAO_ServerRequestInfo_IR_ComponentDef_publishes_events_get::TAO_ServerRequestInfo_IR_ComponentDef_publishes_events_get (
- TAO_ServerRequest &_tao_server_request,
- POA_IR::ComponentDef *tao_impl,
- CORBA::Environment &
- )
- : TAO_ServerRequestInfo (_tao_server_request),
- _tao_impl (tao_impl)
-{}
-
-Dynamic::ParameterList *
-POA_IR::ComponentDef::TAO_ServerRequestInfo_IR_ComponentDef_publishes_events_get::arguments (CORBA::Environment &ACE_TRY_ENV)
- ACE_THROW_SPEC ((CORBA::SystemException))
-{
- // Generate the argument list on demand.
- Dynamic::ParameterList *parameter_list =
- TAO_RequestInfo_Util::make_parameter_list (ACE_TRY_ENV);
- ACE_CHECK_RETURN (0);
-
- return parameter_list;
-}
-
-Dynamic::ExceptionList *
-POA_IR::ComponentDef::TAO_ServerRequestInfo_IR_ComponentDef_publishes_events_get::exceptions (CORBA::Environment &ACE_TRY_ENV)
- ACE_THROW_SPEC ((CORBA::SystemException))
-{
- // Generate the exception list on demand.
- Dynamic::ExceptionList *exception_list =
- TAO_RequestInfo_Util::make_exception_list (ACE_TRY_ENV);
- ACE_CHECK_RETURN (0);
-
- return exception_list;
-}
-
-CORBA::Any *
-POA_IR::ComponentDef::TAO_ServerRequestInfo_IR_ComponentDef_publishes_events_get::result (CORBA::Environment &ACE_TRY_ENV)
- ACE_THROW_SPEC ((CORBA::SystemException))
-{
- // Generate the result on demand.
- CORBA::Boolean tk_void_any = 0;
- CORBA::Any *result_any =
- TAO_RequestInfo_Util::make_any (tk_void_any, ACE_TRY_ENV);
- ACE_CHECK_RETURN (0);
-
- CORBA::Any_var safe_result_any = result_any;
-
- (*result_any) <<= this->_result;
-
- return safe_result_any._retn ();
-}
-
-char *
-POA_IR::ComponentDef::TAO_ServerRequestInfo_IR_ComponentDef_publishes_events_get::target_most_derived_interface (
- CORBA::Environment &)
- ACE_THROW_SPEC ((CORBA::SystemException))
-{
- return
- CORBA::string_dup (this->_tao_impl->_interface_repository_id ());
-}
-
-CORBA::Boolean
-POA_IR::ComponentDef::TAO_ServerRequestInfo_IR_ComponentDef_publishes_events_get::target_is_a (
- const char * id,
- CORBA::Environment &ACE_TRY_ENV)
- ACE_THROW_SPEC ((CORBA::SystemException))
-{
- return this->_tao_impl->_is_a (id, ACE_TRY_ENV);
-}
-
-void
-POA_IR::ComponentDef::TAO_ServerRequestInfo_IR_ComponentDef_publishes_events_get::result (IR::PublishesDefSeq * result)
-{
- // Update the result.
- this->_result = result;
-}
-
-POA_IR::ComponentDef::TAO_ServerRequestInfo_IR_ComponentDef_consumes_events_get::TAO_ServerRequestInfo_IR_ComponentDef_consumes_events_get (
- TAO_ServerRequest &_tao_server_request,
- POA_IR::ComponentDef *tao_impl,
- CORBA::Environment &
- )
- : TAO_ServerRequestInfo (_tao_server_request),
- _tao_impl (tao_impl)
-{}
-
-Dynamic::ParameterList *
-POA_IR::ComponentDef::TAO_ServerRequestInfo_IR_ComponentDef_consumes_events_get::arguments (CORBA::Environment &ACE_TRY_ENV)
- ACE_THROW_SPEC ((CORBA::SystemException))
-{
- // Generate the argument list on demand.
- Dynamic::ParameterList *parameter_list =
- TAO_RequestInfo_Util::make_parameter_list (ACE_TRY_ENV);
- ACE_CHECK_RETURN (0);
-
- return parameter_list;
-}
-
-Dynamic::ExceptionList *
-POA_IR::ComponentDef::TAO_ServerRequestInfo_IR_ComponentDef_consumes_events_get::exceptions (CORBA::Environment &ACE_TRY_ENV)
- ACE_THROW_SPEC ((CORBA::SystemException))
-{
- // Generate the exception list on demand.
- Dynamic::ExceptionList *exception_list =
- TAO_RequestInfo_Util::make_exception_list (ACE_TRY_ENV);
- ACE_CHECK_RETURN (0);
-
- return exception_list;
-}
-
-CORBA::Any *
-POA_IR::ComponentDef::TAO_ServerRequestInfo_IR_ComponentDef_consumes_events_get::result (CORBA::Environment &ACE_TRY_ENV)
- ACE_THROW_SPEC ((CORBA::SystemException))
-{
- // Generate the result on demand.
- CORBA::Boolean tk_void_any = 0;
- CORBA::Any *result_any =
- TAO_RequestInfo_Util::make_any (tk_void_any, ACE_TRY_ENV);
- ACE_CHECK_RETURN (0);
-
- CORBA::Any_var safe_result_any = result_any;
-
- (*result_any) <<= this->_result;
-
- return safe_result_any._retn ();
-}
-
-char *
-POA_IR::ComponentDef::TAO_ServerRequestInfo_IR_ComponentDef_consumes_events_get::target_most_derived_interface (
- CORBA::Environment &)
- ACE_THROW_SPEC ((CORBA::SystemException))
-{
- return
- CORBA::string_dup (this->_tao_impl->_interface_repository_id ());
-}
-
-CORBA::Boolean
-POA_IR::ComponentDef::TAO_ServerRequestInfo_IR_ComponentDef_consumes_events_get::target_is_a (
- const char * id,
- CORBA::Environment &ACE_TRY_ENV)
- ACE_THROW_SPEC ((CORBA::SystemException))
-{
- return this->_tao_impl->_is_a (id, ACE_TRY_ENV);
-}
-
-void
-POA_IR::ComponentDef::TAO_ServerRequestInfo_IR_ComponentDef_consumes_events_get::result (IR::ConsumesDefSeq * result)
-{
- // Update the result.
- this->_result = result;
-}
-
-POA_IR::ComponentDef::TAO_ServerRequestInfo_IR_ComponentDef_is_basic_get::TAO_ServerRequestInfo_IR_ComponentDef_is_basic_get (
- TAO_ServerRequest &_tao_server_request,
- POA_IR::ComponentDef *tao_impl,
- CORBA::Environment &
- )
- : TAO_ServerRequestInfo (_tao_server_request),
- _tao_impl (tao_impl)
-{}
-
-Dynamic::ParameterList *
-POA_IR::ComponentDef::TAO_ServerRequestInfo_IR_ComponentDef_is_basic_get::arguments (CORBA::Environment &ACE_TRY_ENV)
- ACE_THROW_SPEC ((CORBA::SystemException))
-{
- // Generate the argument list on demand.
- Dynamic::ParameterList *parameter_list =
- TAO_RequestInfo_Util::make_parameter_list (ACE_TRY_ENV);
- ACE_CHECK_RETURN (0);
-
- return parameter_list;
-}
-
-Dynamic::ExceptionList *
-POA_IR::ComponentDef::TAO_ServerRequestInfo_IR_ComponentDef_is_basic_get::exceptions (CORBA::Environment &ACE_TRY_ENV)
- ACE_THROW_SPEC ((CORBA::SystemException))
-{
- // Generate the exception list on demand.
- Dynamic::ExceptionList *exception_list =
- TAO_RequestInfo_Util::make_exception_list (ACE_TRY_ENV);
- ACE_CHECK_RETURN (0);
-
- return exception_list;
-}
-
-CORBA::Any *
-POA_IR::ComponentDef::TAO_ServerRequestInfo_IR_ComponentDef_is_basic_get::result (CORBA::Environment &ACE_TRY_ENV)
- ACE_THROW_SPEC ((CORBA::SystemException))
-{
- // Generate the result on demand.
- CORBA::Boolean tk_void_any = 0;
- CORBA::Any *result_any =
- TAO_RequestInfo_Util::make_any (tk_void_any, ACE_TRY_ENV);
- ACE_CHECK_RETURN (0);
-
- CORBA::Any_var safe_result_any = result_any;
-
- (*result_any) <<= CORBA::Any::from_boolean (this->_result);
-
- return safe_result_any._retn ();
-}
-
-char *
-POA_IR::ComponentDef::TAO_ServerRequestInfo_IR_ComponentDef_is_basic_get::target_most_derived_interface (
- CORBA::Environment &)
- ACE_THROW_SPEC ((CORBA::SystemException))
-{
- return
- CORBA::string_dup (this->_tao_impl->_interface_repository_id ());
-}
-
-CORBA::Boolean
-POA_IR::ComponentDef::TAO_ServerRequestInfo_IR_ComponentDef_is_basic_get::target_is_a (
- const char * id,
- CORBA::Environment &ACE_TRY_ENV)
- ACE_THROW_SPEC ((CORBA::SystemException))
-{
- return this->_tao_impl->_is_a (id, ACE_TRY_ENV);
-}
-
-void
-POA_IR::ComponentDef::TAO_ServerRequestInfo_IR_ComponentDef_is_basic_get::result (CORBA::Boolean result)
-{
- // Update the result.
- this->_result = result;
-}
-
-POA_IR::ComponentDef::TAO_ServerRequestInfo_IR_ComponentDef_create_provides::TAO_ServerRequestInfo_IR_ComponentDef_create_provides (
- TAO_ServerRequest &_tao_server_request,
- POA_IR::ComponentDef *tao_impl,
- const char * id,
- const char * name,
- const char * version,
- IR_InterfaceDef_ptr interface_type,
- CORBA::Environment &
- )
- : TAO_ServerRequestInfo (_tao_server_request),
- _tao_impl (tao_impl),
- id_ (id),
- name_ (name),
- version_ (version),
- interface_type_ (interface_type)
-{}
-
-Dynamic::ParameterList *
-POA_IR::ComponentDef::TAO_ServerRequestInfo_IR_ComponentDef_create_provides::arguments (CORBA::Environment &ACE_TRY_ENV)
- ACE_THROW_SPEC ((CORBA::SystemException))
-{
- // Generate the argument list on demand.
- Dynamic::ParameterList *parameter_list =
- TAO_RequestInfo_Util::make_parameter_list (ACE_TRY_ENV);
- ACE_CHECK_RETURN (0);
-
- Dynamic::ParameterList_var safe_parameter_list = parameter_list;
-
- CORBA::ULong length_id = parameter_list->length ();
- parameter_list->length (length_id + 1);
- (*parameter_list)[length_id].argument <<= id_;
- (*parameter_list)[length_id].mode = Dynamic::PARAM_IN;
-
- CORBA::ULong length_name = parameter_list->length ();
- parameter_list->length (length_name + 1);
- (*parameter_list)[length_name].argument <<= name_;
- (*parameter_list)[length_name].mode = Dynamic::PARAM_IN;
-
- CORBA::ULong length_version = parameter_list->length ();
- parameter_list->length (length_version + 1);
- (*parameter_list)[length_version].argument <<= version_;
- (*parameter_list)[length_version].mode = Dynamic::PARAM_IN;
-
- CORBA::ULong length_interface_type = parameter_list->length ();
- parameter_list->length (length_interface_type + 1);
- (*parameter_list)[length_interface_type].argument <<= this->interface_type_;
-
- (*parameter_list)[length_interface_type].mode = Dynamic::PARAM_IN;
-
- return safe_parameter_list._retn ();
-}
-
-Dynamic::ExceptionList *
-POA_IR::ComponentDef::TAO_ServerRequestInfo_IR_ComponentDef_create_provides::exceptions (CORBA::Environment &ACE_TRY_ENV)
- ACE_THROW_SPEC ((CORBA::SystemException))
-{
- // Generate the exception list on demand.
- Dynamic::ExceptionList *exception_list =
- TAO_RequestInfo_Util::make_exception_list (ACE_TRY_ENV);
- ACE_CHECK_RETURN (0);
-
- return exception_list;
-}
-
-CORBA::Any *
-POA_IR::ComponentDef::TAO_ServerRequestInfo_IR_ComponentDef_create_provides::result (CORBA::Environment &ACE_TRY_ENV)
- ACE_THROW_SPEC ((CORBA::SystemException))
-{
- // Generate the result on demand.
- CORBA::Boolean tk_void_any = 0;
- CORBA::Any *result_any =
- TAO_RequestInfo_Util::make_any (tk_void_any, ACE_TRY_ENV);
- ACE_CHECK_RETURN (0);
-
- CORBA::Any_var safe_result_any = result_any;
-
- (*result_any) <<= this->_result;
-
- return safe_result_any._retn ();
-}
-
-char *
-POA_IR::ComponentDef::TAO_ServerRequestInfo_IR_ComponentDef_create_provides::target_most_derived_interface (
- CORBA::Environment &)
- ACE_THROW_SPEC ((CORBA::SystemException))
-{
- return
- CORBA::string_dup (this->_tao_impl->_interface_repository_id ());
-}
-
-CORBA::Boolean
-POA_IR::ComponentDef::TAO_ServerRequestInfo_IR_ComponentDef_create_provides::target_is_a (
- const char * id,
- CORBA::Environment &ACE_TRY_ENV)
- ACE_THROW_SPEC ((CORBA::SystemException))
-{
- return this->_tao_impl->_is_a (id, ACE_TRY_ENV);
-}
-
-void
-POA_IR::ComponentDef::TAO_ServerRequestInfo_IR_ComponentDef_create_provides::result (IR::ProvidesDef_ptr result)
-{
- // Update the result.
- this->_result = result;
-}
-
-POA_IR::ComponentDef::TAO_ServerRequestInfo_IR_ComponentDef_create_uses::TAO_ServerRequestInfo_IR_ComponentDef_create_uses (
- TAO_ServerRequest &_tao_server_request,
- POA_IR::ComponentDef *tao_impl,
- const char * id,
- const char * name,
- const char * version,
- IR_InterfaceDef_ptr interface_type,
- const CORBA::Boolean & is_multiple,
- CORBA::Environment &
- )
- : TAO_ServerRequestInfo (_tao_server_request),
- _tao_impl (tao_impl),
- id_ (id),
- name_ (name),
- version_ (version),
- interface_type_ (interface_type),
- is_multiple_ (is_multiple)
-{}
-
-Dynamic::ParameterList *
-POA_IR::ComponentDef::TAO_ServerRequestInfo_IR_ComponentDef_create_uses::arguments (CORBA::Environment &ACE_TRY_ENV)
- ACE_THROW_SPEC ((CORBA::SystemException))
-{
- // Generate the argument list on demand.
- Dynamic::ParameterList *parameter_list =
- TAO_RequestInfo_Util::make_parameter_list (ACE_TRY_ENV);
- ACE_CHECK_RETURN (0);
-
- Dynamic::ParameterList_var safe_parameter_list = parameter_list;
-
- CORBA::ULong length_id = parameter_list->length ();
- parameter_list->length (length_id + 1);
- (*parameter_list)[length_id].argument <<= id_;
- (*parameter_list)[length_id].mode = Dynamic::PARAM_IN;
-
- CORBA::ULong length_name = parameter_list->length ();
- parameter_list->length (length_name + 1);
- (*parameter_list)[length_name].argument <<= name_;
- (*parameter_list)[length_name].mode = Dynamic::PARAM_IN;
-
- CORBA::ULong length_version = parameter_list->length ();
- parameter_list->length (length_version + 1);
- (*parameter_list)[length_version].argument <<= version_;
- (*parameter_list)[length_version].mode = Dynamic::PARAM_IN;
-
- CORBA::ULong length_interface_type = parameter_list->length ();
- parameter_list->length (length_interface_type + 1);
- (*parameter_list)[length_interface_type].argument <<= this->interface_type_;
-
- (*parameter_list)[length_interface_type].mode = Dynamic::PARAM_IN;
-
- CORBA::ULong length_is_multiple = parameter_list->length ();
- parameter_list->length (length_is_multiple + 1);
- (*parameter_list)[length_is_multiple].argument <<= CORBA::Any::from_boolean (this->is_multiple_);
- (*parameter_list)[length_is_multiple].mode = Dynamic::PARAM_IN;
-
- return safe_parameter_list._retn ();
-}
-
-Dynamic::ExceptionList *
-POA_IR::ComponentDef::TAO_ServerRequestInfo_IR_ComponentDef_create_uses::exceptions (CORBA::Environment &ACE_TRY_ENV)
- ACE_THROW_SPEC ((CORBA::SystemException))
-{
- // Generate the exception list on demand.
- Dynamic::ExceptionList *exception_list =
- TAO_RequestInfo_Util::make_exception_list (ACE_TRY_ENV);
- ACE_CHECK_RETURN (0);
-
- return exception_list;
-}
-
-CORBA::Any *
-POA_IR::ComponentDef::TAO_ServerRequestInfo_IR_ComponentDef_create_uses::result (CORBA::Environment &ACE_TRY_ENV)
- ACE_THROW_SPEC ((CORBA::SystemException))
-{
- // Generate the result on demand.
- CORBA::Boolean tk_void_any = 0;
- CORBA::Any *result_any =
- TAO_RequestInfo_Util::make_any (tk_void_any, ACE_TRY_ENV);
- ACE_CHECK_RETURN (0);
-
- CORBA::Any_var safe_result_any = result_any;
-
- (*result_any) <<= this->_result;
-
- return safe_result_any._retn ();
-}
-
-char *
-POA_IR::ComponentDef::TAO_ServerRequestInfo_IR_ComponentDef_create_uses::target_most_derived_interface (
- CORBA::Environment &)
- ACE_THROW_SPEC ((CORBA::SystemException))
-{
- return
- CORBA::string_dup (this->_tao_impl->_interface_repository_id ());
-}
-
-CORBA::Boolean
-POA_IR::ComponentDef::TAO_ServerRequestInfo_IR_ComponentDef_create_uses::target_is_a (
- const char * id,
- CORBA::Environment &ACE_TRY_ENV)
- ACE_THROW_SPEC ((CORBA::SystemException))
-{
- return this->_tao_impl->_is_a (id, ACE_TRY_ENV);
-}
-
-void
-POA_IR::ComponentDef::TAO_ServerRequestInfo_IR_ComponentDef_create_uses::result (IR::UsesDef_ptr result)
-{
- // Update the result.
- this->_result = result;
-}
-
-POA_IR::ComponentDef::TAO_ServerRequestInfo_IR_ComponentDef_create_emits::TAO_ServerRequestInfo_IR_ComponentDef_create_emits (
- TAO_ServerRequest &_tao_server_request,
- POA_IR::ComponentDef *tao_impl,
- const char * id,
- const char * name,
- const char * version,
- IR_ValueDef_ptr value,
- CORBA::Environment &
- )
- : TAO_ServerRequestInfo (_tao_server_request),
- _tao_impl (tao_impl),
- id_ (id),
- name_ (name),
- version_ (version),
- value_ (value)
-{}
-
-Dynamic::ParameterList *
-POA_IR::ComponentDef::TAO_ServerRequestInfo_IR_ComponentDef_create_emits::arguments (CORBA::Environment &ACE_TRY_ENV)
- ACE_THROW_SPEC ((CORBA::SystemException))
-{
- // Generate the argument list on demand.
- Dynamic::ParameterList *parameter_list =
- TAO_RequestInfo_Util::make_parameter_list (ACE_TRY_ENV);
- ACE_CHECK_RETURN (0);
-
- Dynamic::ParameterList_var safe_parameter_list = parameter_list;
-
- CORBA::ULong length_id = parameter_list->length ();
- parameter_list->length (length_id + 1);
- (*parameter_list)[length_id].argument <<= id_;
- (*parameter_list)[length_id].mode = Dynamic::PARAM_IN;
-
- CORBA::ULong length_name = parameter_list->length ();
- parameter_list->length (length_name + 1);
- (*parameter_list)[length_name].argument <<= name_;
- (*parameter_list)[length_name].mode = Dynamic::PARAM_IN;
-
- CORBA::ULong length_version = parameter_list->length ();
- parameter_list->length (length_version + 1);
- (*parameter_list)[length_version].argument <<= version_;
- (*parameter_list)[length_version].mode = Dynamic::PARAM_IN;
-
- CORBA::ULong length_value = parameter_list->length ();
- parameter_list->length (length_value + 1);
- (*parameter_list)[length_value].argument <<= this->value_;
-
- (*parameter_list)[length_value].mode = Dynamic::PARAM_IN;
-
- return safe_parameter_list._retn ();
-}
-
-Dynamic::ExceptionList *
-POA_IR::ComponentDef::TAO_ServerRequestInfo_IR_ComponentDef_create_emits::exceptions (CORBA::Environment &ACE_TRY_ENV)
- ACE_THROW_SPEC ((CORBA::SystemException))
-{
- // Generate the exception list on demand.
- Dynamic::ExceptionList *exception_list =
- TAO_RequestInfo_Util::make_exception_list (ACE_TRY_ENV);
- ACE_CHECK_RETURN (0);
-
- return exception_list;
-}
-
-CORBA::Any *
-POA_IR::ComponentDef::TAO_ServerRequestInfo_IR_ComponentDef_create_emits::result (CORBA::Environment &ACE_TRY_ENV)
- ACE_THROW_SPEC ((CORBA::SystemException))
-{
- // Generate the result on demand.
- CORBA::Boolean tk_void_any = 0;
- CORBA::Any *result_any =
- TAO_RequestInfo_Util::make_any (tk_void_any, ACE_TRY_ENV);
- ACE_CHECK_RETURN (0);
-
- CORBA::Any_var safe_result_any = result_any;
-
- (*result_any) <<= this->_result;
-
- return safe_result_any._retn ();
-}
-
-char *
-POA_IR::ComponentDef::TAO_ServerRequestInfo_IR_ComponentDef_create_emits::target_most_derived_interface (
- CORBA::Environment &)
- ACE_THROW_SPEC ((CORBA::SystemException))
-{
- return
- CORBA::string_dup (this->_tao_impl->_interface_repository_id ());
-}
-
-CORBA::Boolean
-POA_IR::ComponentDef::TAO_ServerRequestInfo_IR_ComponentDef_create_emits::target_is_a (
- const char * id,
- CORBA::Environment &ACE_TRY_ENV)
- ACE_THROW_SPEC ((CORBA::SystemException))
-{
- return this->_tao_impl->_is_a (id, ACE_TRY_ENV);
-}
-
-void
-POA_IR::ComponentDef::TAO_ServerRequestInfo_IR_ComponentDef_create_emits::result (IR::EmitsDef_ptr result)
-{
- // Update the result.
- this->_result = result;
-}
-
-POA_IR::ComponentDef::TAO_ServerRequestInfo_IR_ComponentDef_create_publishes::TAO_ServerRequestInfo_IR_ComponentDef_create_publishes (
- TAO_ServerRequest &_tao_server_request,
- POA_IR::ComponentDef *tao_impl,
- const char * id,
- const char * name,
- const char * version,
- IR_ValueDef_ptr value,
- CORBA::Environment &
- )
- : TAO_ServerRequestInfo (_tao_server_request),
- _tao_impl (tao_impl),
- id_ (id),
- name_ (name),
- version_ (version),
- value_ (value)
-{}
-
-Dynamic::ParameterList *
-POA_IR::ComponentDef::TAO_ServerRequestInfo_IR_ComponentDef_create_publishes::arguments (CORBA::Environment &ACE_TRY_ENV)
- ACE_THROW_SPEC ((CORBA::SystemException))
-{
- // Generate the argument list on demand.
- Dynamic::ParameterList *parameter_list =
- TAO_RequestInfo_Util::make_parameter_list (ACE_TRY_ENV);
- ACE_CHECK_RETURN (0);
-
- Dynamic::ParameterList_var safe_parameter_list = parameter_list;
-
- CORBA::ULong length_id = parameter_list->length ();
- parameter_list->length (length_id + 1);
- (*parameter_list)[length_id].argument <<= id_;
- (*parameter_list)[length_id].mode = Dynamic::PARAM_IN;
-
- CORBA::ULong length_name = parameter_list->length ();
- parameter_list->length (length_name + 1);
- (*parameter_list)[length_name].argument <<= name_;
- (*parameter_list)[length_name].mode = Dynamic::PARAM_IN;
-
- CORBA::ULong length_version = parameter_list->length ();
- parameter_list->length (length_version + 1);
- (*parameter_list)[length_version].argument <<= version_;
- (*parameter_list)[length_version].mode = Dynamic::PARAM_IN;
-
- CORBA::ULong length_value = parameter_list->length ();
- parameter_list->length (length_value + 1);
- (*parameter_list)[length_value].argument <<= this->value_;
-
- (*parameter_list)[length_value].mode = Dynamic::PARAM_IN;
-
- return safe_parameter_list._retn ();
-}
-
-Dynamic::ExceptionList *
-POA_IR::ComponentDef::TAO_ServerRequestInfo_IR_ComponentDef_create_publishes::exceptions (CORBA::Environment &ACE_TRY_ENV)
- ACE_THROW_SPEC ((CORBA::SystemException))
-{
- // Generate the exception list on demand.
- Dynamic::ExceptionList *exception_list =
- TAO_RequestInfo_Util::make_exception_list (ACE_TRY_ENV);
- ACE_CHECK_RETURN (0);
-
- return exception_list;
-}
-
-CORBA::Any *
-POA_IR::ComponentDef::TAO_ServerRequestInfo_IR_ComponentDef_create_publishes::result (CORBA::Environment &ACE_TRY_ENV)
- ACE_THROW_SPEC ((CORBA::SystemException))
-{
- // Generate the result on demand.
- CORBA::Boolean tk_void_any = 0;
- CORBA::Any *result_any =
- TAO_RequestInfo_Util::make_any (tk_void_any, ACE_TRY_ENV);
- ACE_CHECK_RETURN (0);
-
- CORBA::Any_var safe_result_any = result_any;
-
- (*result_any) <<= this->_result;
-
- return safe_result_any._retn ();
-}
-
-char *
-POA_IR::ComponentDef::TAO_ServerRequestInfo_IR_ComponentDef_create_publishes::target_most_derived_interface (
- CORBA::Environment &)
- ACE_THROW_SPEC ((CORBA::SystemException))
-{
- return
- CORBA::string_dup (this->_tao_impl->_interface_repository_id ());
-}
-
-CORBA::Boolean
-POA_IR::ComponentDef::TAO_ServerRequestInfo_IR_ComponentDef_create_publishes::target_is_a (
- const char * id,
- CORBA::Environment &ACE_TRY_ENV)
- ACE_THROW_SPEC ((CORBA::SystemException))
-{
- return this->_tao_impl->_is_a (id, ACE_TRY_ENV);
-}
-
-void
-POA_IR::ComponentDef::TAO_ServerRequestInfo_IR_ComponentDef_create_publishes::result (IR::PublishesDef_ptr result)
-{
- // Update the result.
- this->_result = result;
-}
-
-POA_IR::ComponentDef::TAO_ServerRequestInfo_IR_ComponentDef_create_consumes::TAO_ServerRequestInfo_IR_ComponentDef_create_consumes (
- TAO_ServerRequest &_tao_server_request,
- POA_IR::ComponentDef *tao_impl,
- const char * id,
- const char * name,
- const char * version,
- IR_ValueDef_ptr value,
- CORBA::Environment &
- )
- : TAO_ServerRequestInfo (_tao_server_request),
- _tao_impl (tao_impl),
- id_ (id),
- name_ (name),
- version_ (version),
- value_ (value)
-{}
-
-Dynamic::ParameterList *
-POA_IR::ComponentDef::TAO_ServerRequestInfo_IR_ComponentDef_create_consumes::arguments (CORBA::Environment &ACE_TRY_ENV)
- ACE_THROW_SPEC ((CORBA::SystemException))
-{
- // Generate the argument list on demand.
- Dynamic::ParameterList *parameter_list =
- TAO_RequestInfo_Util::make_parameter_list (ACE_TRY_ENV);
- ACE_CHECK_RETURN (0);
-
- Dynamic::ParameterList_var safe_parameter_list = parameter_list;
-
- CORBA::ULong length_id = parameter_list->length ();
- parameter_list->length (length_id + 1);
- (*parameter_list)[length_id].argument <<= id_;
- (*parameter_list)[length_id].mode = Dynamic::PARAM_IN;
-
- CORBA::ULong length_name = parameter_list->length ();
- parameter_list->length (length_name + 1);
- (*parameter_list)[length_name].argument <<= name_;
- (*parameter_list)[length_name].mode = Dynamic::PARAM_IN;
-
- CORBA::ULong length_version = parameter_list->length ();
- parameter_list->length (length_version + 1);
- (*parameter_list)[length_version].argument <<= version_;
- (*parameter_list)[length_version].mode = Dynamic::PARAM_IN;
-
- CORBA::ULong length_value = parameter_list->length ();
- parameter_list->length (length_value + 1);
- (*parameter_list)[length_value].argument <<= this->value_;
-
- (*parameter_list)[length_value].mode = Dynamic::PARAM_IN;
-
- return safe_parameter_list._retn ();
-}
-
-Dynamic::ExceptionList *
-POA_IR::ComponentDef::TAO_ServerRequestInfo_IR_ComponentDef_create_consumes::exceptions (CORBA::Environment &ACE_TRY_ENV)
- ACE_THROW_SPEC ((CORBA::SystemException))
-{
- // Generate the exception list on demand.
- Dynamic::ExceptionList *exception_list =
- TAO_RequestInfo_Util::make_exception_list (ACE_TRY_ENV);
- ACE_CHECK_RETURN (0);
-
- return exception_list;
-}
-
-CORBA::Any *
-POA_IR::ComponentDef::TAO_ServerRequestInfo_IR_ComponentDef_create_consumes::result (CORBA::Environment &ACE_TRY_ENV)
- ACE_THROW_SPEC ((CORBA::SystemException))
-{
- // Generate the result on demand.
- CORBA::Boolean tk_void_any = 0;
- CORBA::Any *result_any =
- TAO_RequestInfo_Util::make_any (tk_void_any, ACE_TRY_ENV);
- ACE_CHECK_RETURN (0);
-
- CORBA::Any_var safe_result_any = result_any;
-
- (*result_any) <<= this->_result;
-
- return safe_result_any._retn ();
-}
-
-char *
-POA_IR::ComponentDef::TAO_ServerRequestInfo_IR_ComponentDef_create_consumes::target_most_derived_interface (
- CORBA::Environment &)
- ACE_THROW_SPEC ((CORBA::SystemException))
-{
- return
- CORBA::string_dup (this->_tao_impl->_interface_repository_id ());
-}
-
-CORBA::Boolean
-POA_IR::ComponentDef::TAO_ServerRequestInfo_IR_ComponentDef_create_consumes::target_is_a (
- const char * id,
- CORBA::Environment &ACE_TRY_ENV)
- ACE_THROW_SPEC ((CORBA::SystemException))
-{
- return this->_tao_impl->_is_a (id, ACE_TRY_ENV);
-}
-
-void
-POA_IR::ComponentDef::TAO_ServerRequestInfo_IR_ComponentDef_create_consumes::result (IR::ConsumesDef_ptr result)
-{
- // Update the result.
- this->_result = result;
-}
-
-#endif /* TAO_HAS_INTERCEPTORS */
-
-class TAO_IR_PrimaryKeyDef_Perfect_Hash_OpTable : public TAO_Perfect_Hash_OpTable
-{
-private:
- unsigned int hash (const char *str, unsigned int len);
-public:
- const TAO_operation_db_entry * lookup (const char *str, unsigned int len);
-};
-/* starting time is 11:23:11 */
-/* C++ code produced by gperf version 2.8 (ACE version) */
-/* Command-line: gperf -m -M -J -c -C -D -E -T -f 0 -F 0 -a -o -t -p -K opname_ -L C++ -Z TAO_IR_PrimaryKeyDef_Perfect_Hash_OpTable -N lookup */
-unsigned int
-TAO_IR_PrimaryKeyDef_Perfect_Hash_OpTable::hash (const char *str, unsigned int len)
-{
- static const unsigned char asso_values[] =
- {
-#if defined (ACE_MVS)
- 32, 32, 32, 32, 32, 32, 32, 32, 32, 32,
- 32, 32, 32, 32, 32, 32, 32, 32, 32, 32,
- 32, 32, 32, 32, 32, 32, 32, 32, 32, 32,
- 32, 32, 32, 32, 32, 32, 32, 32, 32, 32,
- 32, 32, 32, 32, 32, 32, 32, 32, 32, 32,
- 32, 32, 32, 32, 32, 32, 32, 32, 32, 32,
- 32, 32, 32, 32, 32, 32, 32, 32, 32, 32,
- 32, 32, 32, 32, 32, 32, 32, 32, 32, 32,
- 32, 32, 32, 32, 32, 32, 32, 32, 32, 32,
- 32, 32, 32, 32, 32, 32, 32, 32, 32, 32,
- 32, 32, 32, 32, 32, 32, 32, 32, 32, 0,
- 32, 32, 32, 32, 32, 32, 32, 32, 32, 32,
- 32, 32, 32, 32, 32, 32, 32, 32, 32, 0,
- 32, 32, 0, 0, 32, 32, 32, 10, 32, 32,
- 32, 32, 32, 32, 32, 32, 32, 32, 0, 5,
- 32, 32, 32, 32, 32, 32, 32, 32, 32, 32,
- 32, 32, 32, 10, 32, 32, 32, 32, 5, 32,
- 32, 32, 32, 32, 32, 32, 32, 32, 32, 32,
- 32, 32, 32, 32, 32, 32, 32, 32, 32, 32,
- 32, 32, 32, 32, 32, 32, 32, 32, 32, 32,
- 32, 32, 32, 32, 32, 32, 32, 32, 32, 32,
- 32, 32, 32, 32, 32, 32, 32, 32, 32, 32,
- 32, 32, 32, 32, 32, 32, 32, 32, 32, 32,
- 32, 32, 32, 32, 32, 32, 32, 32, 32, 32,
- 32, 32, 32, 32, 32, 32, 32, 32, 32, 32,
- 32, 32, 32, 32, 32, 32,
-#else
- 32, 32, 32, 32, 32, 32, 32, 32, 32, 32,
- 32, 32, 32, 32, 32, 32, 32, 32, 32, 32,
- 32, 32, 32, 32, 32, 32, 32, 32, 32, 32,
- 32, 32, 32, 32, 32, 32, 32, 32, 32, 32,
- 32, 32, 32, 32, 32, 32, 32, 32, 32, 32,
- 32, 32, 32, 32, 32, 32, 32, 32, 32, 32,
- 32, 32, 32, 32, 32, 32, 32, 32, 32, 32,
- 32, 32, 32, 32, 32, 32, 32, 32, 32, 32,
- 32, 32, 32, 32, 32, 32, 32, 32, 32, 32,
- 32, 32, 32, 32, 32, 0, 32, 0, 32, 32,
- 0, 0, 32, 32, 32, 10, 32, 32, 32, 0,
- 5, 32, 32, 32, 32, 32, 10, 32, 32, 32,
- 32, 5, 32, 32, 32, 32, 32, 32,
-#endif /* ACE_MVS */
- };
- return len + asso_values[str[len - 1]] + asso_values[str[0]];
-}
-
-const class TAO_operation_db_entry *
-TAO_IR_PrimaryKeyDef_Perfect_Hash_OpTable::lookup (const char *str, unsigned int len)
-{
- enum
- {
- TOTAL_KEYWORDS = 17,
- MIN_WORD_LENGTH = 4,
- MAX_WORD_LENGTH = 26,
- MIN_HASH_VALUE = 4,
- MAX_HASH_VALUE = 31,
- HASH_VALUE_RANGE = 28,
- DUPLICATES = 4
- };
-
- static const class TAO_operation_db_entry wordlist[] =
- {
- {"",0},{"",0},{"",0},{"",0},
- {"move", &POA_IR::PrimaryKeyDef::move_skel},
- {"_is_a", &POA_IR::PrimaryKeyDef::_is_a_skel},
- {"_get_id", &POA_IR::PrimaryKeyDef::_get_id_skel},
- {"_set_id", &POA_IR::PrimaryKeyDef::_set_id_skel},
- {"describe", &POA_IR::PrimaryKeyDef::describe_skel},
- {"_get_name", &POA_IR::PrimaryKeyDef::_get_name_skel},
- {"_set_name", &POA_IR::PrimaryKeyDef::_set_name_skel},
- {"destroy", &POA_IR::PrimaryKeyDef::destroy_skel},
- {"_get_def_kind", &POA_IR::PrimaryKeyDef::_get_def_kind_skel},
- {"is_a", &POA_IR::PrimaryKeyDef::is_a_skel},
- {"_get_version", &POA_IR::PrimaryKeyDef::_get_version_skel},
- {"_set_version", &POA_IR::PrimaryKeyDef::_set_version_skel},
- {"_get_absolute_name", &POA_IR::PrimaryKeyDef::_get_absolute_name_skel},
- {"_get_defined_in", &POA_IR::PrimaryKeyDef::_get_defined_in_skel},
- {"_get_primary_key", &POA_IR::PrimaryKeyDef::_get_primary_key_skel},
- {"_non_existent", &POA_IR::PrimaryKeyDef::_non_existent_skel},
- {"_get_containing_repository", &POA_IR::PrimaryKeyDef::_get_containing_repository_skel},
- };
-
- static const signed char lookup[] =
- {
- -6, -2, -9, -2, 4, 5, -1, -38, 8, -38, -1, -1, 11, 12,
- 13, -14, -2, -33, 16, -1, 17, 18, -1, 19, -1, -1, -1, -1,
- -1, -1, -1, 20,
- };
-
- if (len <= MAX_WORD_LENGTH && len >= MIN_WORD_LENGTH)
- {
- unsigned int key = hash (str, len);
-
- if (key <= MAX_HASH_VALUE && key >= MIN_HASH_VALUE)
- {
- int slot = lookup[key];
-
- if (slot >= 0 && slot < MAX_HASH_VALUE)
- {
- const char *s = wordlist[slot].opname_;
-
- if (*str == *s && !strncmp (str + 1, s + 1, len - 1))
- return &wordlist[slot];
- }
- else if (slot < 0 && slot >= -MAX_HASH_VALUE)
- return 0;
- else
- {
- unsigned int offset = key + slot + (slot > 0 ? -MAX_HASH_VALUE : MAX_HASH_VALUE);
- const class TAO_operation_db_entry *base = &wordlist[-lookup[offset]];
- const class TAO_operation_db_entry *ptr = base + -lookup[offset + 1];
-
- while (--ptr >= base)
- if (*str == *ptr->opname_ && !strncmp (str + 1, ptr->opname_ + 1, len - 1))
- return ptr;
- }
- }
- }
- return 0;
-}
-/* ending time is 11:23:11 */
-static TAO_IR_PrimaryKeyDef_Perfect_Hash_OpTable tao_IR_PrimaryKeyDef_optable;
-
-///////////////////////////////////////////////////////////////////////
-// Strategized Proxy Broker Implementation
-//
-
-// Factory function Implementation.
-POA_IR::_TAO_PrimaryKeyDef_Strategized_Proxy_Broker *POA_IR::_TAO_PrimaryKeyDef_Strategized_Proxy_Broker::the_TAO_PrimaryKeyDef_Strategized_Proxy_Broker (void)
-{
- static POA_IR::_TAO_PrimaryKeyDef_Strategized_Proxy_Broker strategized_proxy_broker;
- return &strategized_proxy_broker;
-}
-
-POA_IR::_TAO_PrimaryKeyDef_Strategized_Proxy_Broker::_TAO_PrimaryKeyDef_Strategized_Proxy_Broker (void)
-{
- for (int i = 0; i < TAO_Collocation_Strategies::CS_LAST; ++i)
- this->proxy_cache_[i] = 0;
-
-}
-
-POA_IR::_TAO_PrimaryKeyDef_Strategized_Proxy_Broker::~_TAO_PrimaryKeyDef_Strategized_Proxy_Broker (void)
-{
- for (int i = 0; i < TAO_Collocation_Strategies::CS_LAST; ++i)
- delete this->proxy_cache_[i];
-
-}
-
-_TAO_PrimaryKeyDef_Proxy_Impl&
-POA_IR::_TAO_PrimaryKeyDef_Strategized_Proxy_Broker::select_proxy (
- IR_PrimaryKeyDef *object,
- CORBA::Environment &ACE_TRY_ENV
- )
-{
- int strategy =
- TAO_ORB_Core::collocation_strategy (object);
-
- if (this->proxy_cache_[strategy] != 0)
- return *this->proxy_cache_[strategy];
-
- this->create_proxy (strategy, ACE_TRY_ENV);
- ACE_CHECK_RETURN (*this->proxy_cache_[strategy]);
-
- return *this->proxy_cache_[strategy];
-
-}
-
-void
-POA_IR::_TAO_PrimaryKeyDef_Strategized_Proxy_Broker::create_proxy (
- int strategy,
- CORBA::Environment &ACE_TRY_ENV
- )
-{
- ACE_GUARD (TAO_SYNCH_MUTEX, guard, this->mutex_);
-
- if (this->proxy_cache_[strategy] == 0)
- {
- switch (strategy)
- {
- case TAO_Collocation_Strategies::CS_THRU_POA_STRATEGY:
- ACE_NEW_THROW_EX (
- this->proxy_cache_[strategy],
- _TAO_PrimaryKeyDef_ThruPOA_Proxy_Impl,
- CORBA::NO_MEMORY ()
- );
- ACE_CHECK;
- break;
-
- case TAO_Collocation_Strategies::CS_REMOTE_STRATEGY:
- default:
- ACE_NEW_THROW_EX (
- this->proxy_cache_[strategy],
- _TAO_PrimaryKeyDef_Remote_Proxy_Impl,
- CORBA::NO_MEMORY ()
- );
- ACE_CHECK;
- break;
-
- }
-
- }
-}
-
-
-//
-// End Strategized Proxy Broker Implementation
-///////////////////////////////////////////////////////////////////////
-
-
-_TAO_PrimaryKeyDef_Proxy_Broker *
-_TAO_PrimaryKeyDef_Proxy_Broker_Factory_function (CORBA::Object_ptr obj)
-{
- ACE_UNUSED_ARG (obj);
- return ::POA_IR::_TAO_PrimaryKeyDef_Strategized_Proxy_Broker::the_TAO_PrimaryKeyDef_Strategized_Proxy_Broker();
-}
-
-int
-_TAO_PrimaryKeyDef_Proxy_Broker_Factory_Initializer (long _dummy_)
-{
- ACE_UNUSED_ARG (_dummy_);
-
- _TAO_PrimaryKeyDef_Proxy_Broker_Factory_function_pointer =
- _TAO_PrimaryKeyDef_Proxy_Broker_Factory_function;
-
- return 0;
-}
-
-static int _TAO_PrimaryKeyDef_Proxy_Broker_Stub_Factory_Initializer_Scarecrow =
- _TAO_PrimaryKeyDef_Proxy_Broker_Factory_Initializer (ACE_reinterpret_cast (long, _TAO_PrimaryKeyDef_Proxy_Broker_Factory_Initializer));
-
-
-///////////////////////////////////////////////////////////////////////
-// ThruPOA Proxy Implementation
-//
-
-POA_IR::_TAO_PrimaryKeyDef_ThruPOA_Proxy_Impl::_TAO_PrimaryKeyDef_ThruPOA_Proxy_Impl (void)
-{}
-
-// ThruPOA Implementation of the IDL interface methods
-
-CORBA::Boolean POA_IR::_TAO_PrimaryKeyDef_ThruPOA_Proxy_Impl::is_a (
- CORBA_Object *_collocated_tao_target_,
- const char * primary_key_id,
- CORBA::Environment &ACE_TRY_ENV
- )
- ACE_THROW_SPEC ((
- CORBA::SystemException
- ))
-{
- CORBA::Boolean _tao_retval = 0;
- ACE_UNUSED_ARG (_tao_retval);
- TAO_Object_Adapter::Servant_Upcall servant_upcall (
- _collocated_tao_target_->_stubobj ()->servant_orb_var ()->orb_core ()
- );
- CORBA::Object_var forward_to;
- servant_upcall.prepare_for_upcall (
- _collocated_tao_target_->_object_key (),
- "is_a",
- forward_to.out (),
- ACE_TRY_ENV
- );
- ACE_CHECK_RETURN (_tao_retval);
- return ACE_reinterpret_cast (
- POA_IR::PrimaryKeyDef_ptr,
- servant_upcall.servant ()->_downcast (
- "IDL:omg.org/IR/PrimaryKeyDef:1.0"
- )
- )->is_a (
- primary_key_id,
- ACE_TRY_ENV
- );
-}
-
-IR_ValueDef_ptr POA_IR::_TAO_PrimaryKeyDef_ThruPOA_Proxy_Impl::primary_key (
- CORBA_Object *_collocated_tao_target_,
- CORBA::Environment &ACE_TRY_ENV
- )
- ACE_THROW_SPEC ((
- CORBA::SystemException
- ))
-{
- IR_ValueDef_var _tao_retval;
- ACE_UNUSED_ARG (_tao_retval);
- TAO_Object_Adapter::Servant_Upcall servant_upcall (
- _collocated_tao_target_->_stubobj ()->servant_orb_var ()->orb_core ()
- );
- CORBA::Object_var forward_to;
- servant_upcall.prepare_for_upcall (
- _collocated_tao_target_->_object_key (),
- "primary_key",
- forward_to.out (),
- ACE_TRY_ENV
- );
- ACE_CHECK_RETURN (0);
- return ACE_reinterpret_cast (
- POA_IR::PrimaryKeyDef_ptr,
- servant_upcall.servant ()->_downcast (
- "IDL:omg.org/IR/PrimaryKeyDef:1.0"
- )
- )->primary_key (
- ACE_TRY_ENV
- );
-}
-
-//
-// End ThruPOA Proxy Implementation
-///////////////////////////////////////////////////////////////////////
-
-// skeleton constructor
-POA_IR::PrimaryKeyDef::PrimaryKeyDef (void)
-{
- this->optable_ = &tao_IR_PrimaryKeyDef_optable;
-}
-
-// copy ctor
-POA_IR::PrimaryKeyDef::PrimaryKeyDef (const PrimaryKeyDef& rhs)
- : ACE_NESTED_CLASS (POA_IR,Contained) (rhs),
- POA_CORBA_IRObject (rhs),
- TAO_ServantBase (rhs)
-{}
-
-// skeleton destructor
-POA_IR::PrimaryKeyDef::~PrimaryKeyDef (void)
-{
-}
-
-void POA_IR::PrimaryKeyDef::is_a_skel (
- TAO_ServerRequest &_tao_server_request,
- void *_tao_object_reference,
- void * /* context */,
- CORBA::Environment &ACE_TRY_ENV
-)
-{
- TAO_InputCDR &_tao_in = _tao_server_request.incoming ();
- POA_IR::PrimaryKeyDef *_tao_impl = (POA_IR::PrimaryKeyDef *)_tao_object_reference;
-
- CORBA::Boolean _tao_retval = 0;
- CORBA::String_var primary_key_id;
- if (!(
- (_tao_in >> primary_key_id.out ())
- ))
- ACE_THROW (CORBA::MARSHAL () );
-
-#if (TAO_HAS_INTERCEPTORS == 1)
- TAO_ServerRequestInterceptor_Adapter _tao_vfr (
- _tao_server_request.orb_core ()->server_request_interceptors (),
- _tao_server_request.interceptor_count ()
- );
-
- POA_IR::PrimaryKeyDef::TAO_ServerRequestInfo_IR_PrimaryKeyDef_is_a ri (
- _tao_server_request,
- _tao_impl,
- primary_key_id.in (),
- ACE_TRY_ENV
- );
-
- ACE_TRY
- {
- _tao_vfr.receive_request (&ri, ACE_TRY_ENV);
- ACE_TRY_CHECK;
-
-#endif /* TAO_HAS_INTERCEPTORS */
- _tao_retval =
- _tao_impl->is_a (
- primary_key_id.in (),
- ACE_TRY_ENV
- );
- TAO_INTERCEPTOR_CHECK;
-
-#if (TAO_HAS_INTERCEPTORS == 1)
- CORBA::Boolean _tao_retval_info = _tao_retval;
- ri.result (_tao_retval_info);
- ri.reply_status (PortableInterceptor::SUCCESSFUL);
- _tao_vfr.send_reply (&ri, ACE_TRY_ENV);
- ACE_TRY_CHECK;
- }
- ACE_CATCH (PortableInterceptor::ForwardRequest, exc)
- {
- ri.forward_reference (exc);
- _tao_vfr.send_other (
- &ri,
- ACE_TRY_ENV
- );
- ACE_TRY_CHECK;
- _tao_server_request.forward_location (exc.forward.in ());
- }
- ACE_CATCHANY
- {
- ri.exception (&ACE_ANY_EXCEPTION);
- _tao_vfr.send_exception (
- &ri,
- ACE_TRY_ENV
- );
- ACE_TRY_CHECK;
- ACE_RE_THROW;
- }
- ACE_ENDTRY;
- ACE_CHECK;
-#endif /* TAO_HAS_INTERCEPTORS */
-
- _tao_server_request.init_reply ();
-
- TAO_OutputCDR &_tao_out = _tao_server_request.outgoing ();
-
- if (!(
- (_tao_out << CORBA::Any::from_boolean (_tao_retval))
- ))
- ACE_THROW (CORBA::MARSHAL());
-
- // In case ACE_TRY_ENV is not used in this function
- ACE_UNUSED_ARG (ACE_TRY_ENV);
-}
-
-void POA_IR::PrimaryKeyDef::_get_primary_key_skel (
- TAO_ServerRequest &_tao_server_request,
- void *_tao_object_reference,
- void * /* context */,
- CORBA::Environment &ACE_TRY_ENV
-)
-{
- POA_IR::PrimaryKeyDef *_tao_impl = (POA_IR::PrimaryKeyDef *)_tao_object_reference;
-
- IR_ValueDef_var _tao_retval;
-
-#if (TAO_HAS_INTERCEPTORS == 1)
- TAO_ServerRequestInterceptor_Adapter _tao_vfr (
- _tao_server_request.orb_core ()->server_request_interceptors (),
- _tao_server_request.interceptor_count ()
- );
-
- POA_IR::PrimaryKeyDef::TAO_ServerRequestInfo_IR_PrimaryKeyDef_primary_key_get ri (
- _tao_server_request,
- _tao_impl,
- ACE_TRY_ENV
- );
-
- ACE_TRY
- {
- _tao_vfr.receive_request (&ri, ACE_TRY_ENV);
- ACE_TRY_CHECK;
-
-#endif /* TAO_HAS_INTERCEPTORS */
- _tao_retval =
- _tao_impl->primary_key (
- ACE_TRY_ENV
- );
- TAO_INTERCEPTOR_CHECK;
-
-#if (TAO_HAS_INTERCEPTORS == 1)
- IR_ValueDef_ptr _tao_retval_info = _tao_retval._retn ();
- ri.result (_tao_retval_info);
- _tao_retval = _tao_retval_info;
- ri.reply_status (PortableInterceptor::SUCCESSFUL);
- _tao_vfr.send_reply (&ri, ACE_TRY_ENV);
- ACE_TRY_CHECK;
- }
- ACE_CATCH (PortableInterceptor::ForwardRequest, exc)
- {
- ri.forward_reference (exc);
- _tao_vfr.send_other (
- &ri,
- ACE_TRY_ENV
- );
- ACE_TRY_CHECK;
- _tao_server_request.forward_location (exc.forward.in ());
- }
- ACE_CATCHANY
- {
- ri.exception (&ACE_ANY_EXCEPTION);
- _tao_vfr.send_exception (
- &ri,
- ACE_TRY_ENV
- );
- ACE_TRY_CHECK;
- ACE_RE_THROW;
- }
- ACE_ENDTRY;
- ACE_CHECK;
-#endif /* TAO_HAS_INTERCEPTORS */
-
- _tao_server_request.init_reply ();
-
- TAO_OutputCDR &_tao_out = _tao_server_request.outgoing ();
-
- if (!(
- (_tao_out << _tao_retval.in ())
- ))
- ACE_THROW (CORBA::MARSHAL());
-
- // In case ACE_TRY_ENV is not used in this function
- ACE_UNUSED_ARG (ACE_TRY_ENV);
-}
-
-void POA_IR::PrimaryKeyDef::_is_a_skel (
- TAO_ServerRequest &_tao_server_request,
- void * _tao_object_reference,
- void * /* context */,
- CORBA::Environment &ACE_TRY_ENV
- )
-{
- TAO_InputCDR &_tao_in = _tao_server_request.incoming ();
- POA_IR::PrimaryKeyDef *_tao_impl = (POA_IR::PrimaryKeyDef *) _tao_object_reference;
- CORBA::Boolean _tao_retval = 0;
- CORBA::String_var value;
- if (!((_tao_in >> value.out ())))
- ACE_THROW (CORBA::MARSHAL ());
-
- _tao_retval = _tao_impl->_is_a (value.in (), ACE_TRY_ENV);
- ACE_CHECK;
-
- _tao_server_request.init_reply ();
- TAO_OutputCDR &_tao_out = _tao_server_request.outgoing ();
- if (!((_tao_out << CORBA::Any::from_boolean (_tao_retval))))
- ACE_THROW (CORBA::MARSHAL ());
-}
-
-void POA_IR::PrimaryKeyDef::_non_existent_skel (
- TAO_ServerRequest &_tao_server_request,
- void * _tao_object_reference,
- void * /* context */,
- CORBA::Environment &ACE_TRY_ENV
- )
-{
- POA_IR::PrimaryKeyDef *_tao_impl = (POA_IR::PrimaryKeyDef *) _tao_object_reference;
- CORBA::Boolean _tao_retval = _tao_impl->_non_existent (ACE_TRY_ENV);
- ACE_CHECK;
-
- _tao_server_request.init_reply ();
- TAO_OutputCDR &_tao_out = _tao_server_request.outgoing ();
- if (!((_tao_out << CORBA::Any::from_boolean (_tao_retval))))
- ACE_THROW (CORBA::MARSHAL ());
-}
-
-CORBA::Boolean POA_IR::PrimaryKeyDef::_is_a (
- const char* value,
- CORBA::Environment &ACE_TRY_ENV
- )
-{
- if (
- (!ACE_OS::strcmp ((char *)value, "IDL:omg.org/IR/PrimaryKeyDef:1.0")) ||
- (!ACE_OS::strcmp ((char *)value, "IDL:omg.org/IR/Contained:1.0")) ||
- (!ACE_OS::strcmp ((char *)value, "IDL:omg.org/CORBA/IRObject:1.0")) ||
- (!ACE_OS::strcmp ((char *)value, CORBA::_tc_Object->id (ACE_TRY_ENV))))
- return 1;
- else
- return 0;
-}
-
-void* POA_IR::PrimaryKeyDef::_downcast (
- const char* logical_type_id
- )
-{
- if (ACE_OS::strcmp (logical_type_id, "IDL:omg.org/IR/PrimaryKeyDef:1.0") == 0)
- return ACE_static_cast (POA_IR::PrimaryKeyDef_ptr, this);
- if (ACE_OS::strcmp (logical_type_id, "IDL:omg.org/IR/Contained:1.0") == 0)
- return ACE_static_cast (POA_IR::Contained_ptr, this);
- if (ACE_OS::strcmp (logical_type_id, "IDL:omg.org/CORBA/IRObject:1.0") == 0)
- return ACE_static_cast (POA_CORBA_IRObject_ptr, this);
- if (ACE_OS::strcmp (logical_type_id, "IDL:omg.org/CORBA/Object:1.0") == 0)
- return ACE_static_cast(PortableServer::Servant, this);
- return 0;
-}
-
-void POA_IR::PrimaryKeyDef::_dispatch (TAO_ServerRequest &req, void *context, CORBA::Environment &ACE_TRY_ENV)
-{
- this->synchronous_upcall_dispatch(req, context, this, ACE_TRY_ENV);
-}
-
-const char* POA_IR::PrimaryKeyDef::_interface_repository_id (void) const
-{
- return "IDL:omg.org/IR/PrimaryKeyDef:1.0";
-}
-
-IR::PrimaryKeyDef*
-POA_IR::PrimaryKeyDef::_this (CORBA_Environment &ACE_TRY_ENV)
-{
- TAO_Stub *stub = this->_create_stub (ACE_TRY_ENV);
- ACE_CHECK_RETURN (0);
-
- CORBA::Object_ptr tmp = CORBA::Object::_nil ();
-
- if (stub->servant_orb_var ()->orb_core ()->optimize_collocation_objects ())
- ACE_NEW_RETURN (tmp, CORBA::Object (stub, 1, this), 0);
- else
- ACE_NEW_RETURN (tmp, CORBA::Object (stub, 0, this), 0);
-
- CORBA::Object_var obj = tmp;
- return IR_PrimaryKeyDef::_unchecked_narrow (obj.in ());
-}
-
-#if (TAO_HAS_INTERCEPTORS == 1)
-POA_IR::PrimaryKeyDef::TAO_ServerRequestInfo_IR_PrimaryKeyDef_is_a::TAO_ServerRequestInfo_IR_PrimaryKeyDef_is_a (
- TAO_ServerRequest &_tao_server_request,
- POA_IR::PrimaryKeyDef *tao_impl,
- const char * primary_key_id,
- CORBA::Environment &
- )
- : TAO_ServerRequestInfo (_tao_server_request),
- _tao_impl (tao_impl),
- primary_key_id_ (primary_key_id)
-{}
-
-Dynamic::ParameterList *
-POA_IR::PrimaryKeyDef::TAO_ServerRequestInfo_IR_PrimaryKeyDef_is_a::arguments (CORBA::Environment &ACE_TRY_ENV)
- ACE_THROW_SPEC ((CORBA::SystemException))
-{
- // Generate the argument list on demand.
- Dynamic::ParameterList *parameter_list =
- TAO_RequestInfo_Util::make_parameter_list (ACE_TRY_ENV);
- ACE_CHECK_RETURN (0);
-
- Dynamic::ParameterList_var safe_parameter_list = parameter_list;
-
- CORBA::ULong length_primary_key_id = parameter_list->length ();
- parameter_list->length (length_primary_key_id + 1);
- (*parameter_list)[length_primary_key_id].argument <<= primary_key_id_;
- (*parameter_list)[length_primary_key_id].mode = Dynamic::PARAM_IN;
-
- return safe_parameter_list._retn ();
-}
-
-Dynamic::ExceptionList *
-POA_IR::PrimaryKeyDef::TAO_ServerRequestInfo_IR_PrimaryKeyDef_is_a::exceptions (CORBA::Environment &ACE_TRY_ENV)
- ACE_THROW_SPEC ((CORBA::SystemException))
-{
- // Generate the exception list on demand.
- Dynamic::ExceptionList *exception_list =
- TAO_RequestInfo_Util::make_exception_list (ACE_TRY_ENV);
- ACE_CHECK_RETURN (0);
-
- return exception_list;
-}
-
-CORBA::Any *
-POA_IR::PrimaryKeyDef::TAO_ServerRequestInfo_IR_PrimaryKeyDef_is_a::result (CORBA::Environment &ACE_TRY_ENV)
- ACE_THROW_SPEC ((CORBA::SystemException))
-{
- // Generate the result on demand.
- CORBA::Boolean tk_void_any = 0;
- CORBA::Any *result_any =
- TAO_RequestInfo_Util::make_any (tk_void_any, ACE_TRY_ENV);
- ACE_CHECK_RETURN (0);
-
- CORBA::Any_var safe_result_any = result_any;
-
- (*result_any) <<= CORBA::Any::from_boolean (this->_result);
-
- return safe_result_any._retn ();
-}
-
-char *
-POA_IR::PrimaryKeyDef::TAO_ServerRequestInfo_IR_PrimaryKeyDef_is_a::target_most_derived_interface (
- CORBA::Environment &)
- ACE_THROW_SPEC ((CORBA::SystemException))
-{
- return
- CORBA::string_dup (this->_tao_impl->_interface_repository_id ());
-}
-
-CORBA::Boolean
-POA_IR::PrimaryKeyDef::TAO_ServerRequestInfo_IR_PrimaryKeyDef_is_a::target_is_a (
- const char * id,
- CORBA::Environment &ACE_TRY_ENV)
- ACE_THROW_SPEC ((CORBA::SystemException))
-{
- return this->_tao_impl->_is_a (id, ACE_TRY_ENV);
-}
-
-void
-POA_IR::PrimaryKeyDef::TAO_ServerRequestInfo_IR_PrimaryKeyDef_is_a::result (CORBA::Boolean result)
-{
- // Update the result.
- this->_result = result;
-}
-
-POA_IR::PrimaryKeyDef::TAO_ServerRequestInfo_IR_PrimaryKeyDef_primary_key_get::TAO_ServerRequestInfo_IR_PrimaryKeyDef_primary_key_get (
- TAO_ServerRequest &_tao_server_request,
- POA_IR::PrimaryKeyDef *tao_impl,
- CORBA::Environment &
- )
- : TAO_ServerRequestInfo (_tao_server_request),
- _tao_impl (tao_impl)
-{}
-
-Dynamic::ParameterList *
-POA_IR::PrimaryKeyDef::TAO_ServerRequestInfo_IR_PrimaryKeyDef_primary_key_get::arguments (CORBA::Environment &ACE_TRY_ENV)
- ACE_THROW_SPEC ((CORBA::SystemException))
-{
- // Generate the argument list on demand.
- Dynamic::ParameterList *parameter_list =
- TAO_RequestInfo_Util::make_parameter_list (ACE_TRY_ENV);
- ACE_CHECK_RETURN (0);
-
- return parameter_list;
-}
-
-Dynamic::ExceptionList *
-POA_IR::PrimaryKeyDef::TAO_ServerRequestInfo_IR_PrimaryKeyDef_primary_key_get::exceptions (CORBA::Environment &ACE_TRY_ENV)
- ACE_THROW_SPEC ((CORBA::SystemException))
-{
- // Generate the exception list on demand.
- Dynamic::ExceptionList *exception_list =
- TAO_RequestInfo_Util::make_exception_list (ACE_TRY_ENV);
- ACE_CHECK_RETURN (0);
-
- return exception_list;
-}
-
-CORBA::Any *
-POA_IR::PrimaryKeyDef::TAO_ServerRequestInfo_IR_PrimaryKeyDef_primary_key_get::result (CORBA::Environment &ACE_TRY_ENV)
- ACE_THROW_SPEC ((CORBA::SystemException))
-{
- // Generate the result on demand.
- CORBA::Boolean tk_void_any = 0;
- CORBA::Any *result_any =
- TAO_RequestInfo_Util::make_any (tk_void_any, ACE_TRY_ENV);
- ACE_CHECK_RETURN (0);
-
- CORBA::Any_var safe_result_any = result_any;
-
- (*result_any) <<= this->_result;
-
- return safe_result_any._retn ();
-}
-
-char *
-POA_IR::PrimaryKeyDef::TAO_ServerRequestInfo_IR_PrimaryKeyDef_primary_key_get::target_most_derived_interface (
- CORBA::Environment &)
- ACE_THROW_SPEC ((CORBA::SystemException))
-{
- return
- CORBA::string_dup (this->_tao_impl->_interface_repository_id ());
-}
-
-CORBA::Boolean
-POA_IR::PrimaryKeyDef::TAO_ServerRequestInfo_IR_PrimaryKeyDef_primary_key_get::target_is_a (
- const char * id,
- CORBA::Environment &ACE_TRY_ENV)
- ACE_THROW_SPEC ((CORBA::SystemException))
-{
- return this->_tao_impl->_is_a (id, ACE_TRY_ENV);
-}
-
-void
-POA_IR::PrimaryKeyDef::TAO_ServerRequestInfo_IR_PrimaryKeyDef_primary_key_get::result (IR::ValueDef_ptr result)
-{
- // Update the result.
- this->_result = result;
-}
-
-#endif /* TAO_HAS_INTERCEPTORS */
-
-class TAO_IR_FactoryDef_Perfect_Hash_OpTable : public TAO_Perfect_Hash_OpTable
-{
-private:
- unsigned int hash (const char *str, unsigned int len);
-public:
- const TAO_operation_db_entry * lookup (const char *str, unsigned int len);
-};
-/* starting time is 11:23:11 */
-/* C++ code produced by gperf version 2.8 (ACE version) */
-/* Command-line: gperf -m -M -J -c -C -D -E -T -f 0 -F 0 -a -o -t -p -K opname_ -L C++ -Z TAO_IR_FactoryDef_Perfect_Hash_OpTable -N lookup */
-unsigned int
-TAO_IR_FactoryDef_Perfect_Hash_OpTable::hash (const char *str, unsigned int len)
-{
- static const unsigned char asso_values[] =
- {
-#if defined (ACE_MVS)
- 37, 37, 37, 37, 37, 37, 37, 37, 37, 37,
- 37, 37, 37, 37, 37, 37, 37, 37, 37, 37,
- 37, 37, 37, 37, 37, 37, 37, 37, 37, 37,
- 37, 37, 37, 37, 37, 37, 37, 37, 37, 37,
- 37, 37, 37, 37, 37, 37, 37, 37, 37, 37,
- 37, 37, 37, 37, 37, 37, 37, 37, 37, 37,
- 37, 37, 37, 37, 37, 37, 37, 37, 37, 37,
- 37, 37, 37, 37, 37, 37, 37, 37, 37, 37,
- 37, 37, 37, 37, 37, 37, 37, 37, 37, 37,
- 37, 37, 37, 37, 37, 37, 37, 37, 37, 37,
- 37, 37, 37, 37, 37, 37, 37, 37, 37, 0,
- 37, 37, 37, 37, 37, 37, 37, 37, 37, 37,
- 37, 37, 37, 37, 37, 37, 37, 37, 37, 0,
- 37, 37, 15, 0, 10, 37, 37, 37, 37, 37,
- 37, 37, 37, 37, 37, 37, 37, 37, 0, 5,
- 37, 37, 37, 37, 37, 37, 37, 37, 37, 37,
- 37, 37, 0, 20, 37, 37, 37, 37, 10, 37,
- 37, 37, 37, 37, 37, 37, 37, 37, 37, 37,
- 37, 37, 37, 37, 37, 37, 37, 37, 37, 37,
- 37, 37, 37, 37, 37, 37, 37, 37, 37, 37,
- 37, 37, 37, 37, 37, 37, 37, 37, 37, 37,
- 37, 37, 37, 37, 37, 37, 37, 37, 37, 37,
- 37, 37, 37, 37, 37, 37, 37, 37, 37, 37,
- 37, 37, 37, 37, 37, 37, 37, 37, 37, 37,
- 37, 37, 37, 37, 37, 37, 37, 37, 37, 37,
- 37, 37, 37, 37, 37, 37,
-#else
- 37, 37, 37, 37, 37, 37, 37, 37, 37, 37,
- 37, 37, 37, 37, 37, 37, 37, 37, 37, 37,
- 37, 37, 37, 37, 37, 37, 37, 37, 37, 37,
- 37, 37, 37, 37, 37, 37, 37, 37, 37, 37,
- 37, 37, 37, 37, 37, 37, 37, 37, 37, 37,
- 37, 37, 37, 37, 37, 37, 37, 37, 37, 37,
- 37, 37, 37, 37, 37, 37, 37, 37, 37, 37,
- 37, 37, 37, 37, 37, 37, 37, 37, 37, 37,
- 37, 37, 37, 37, 37, 37, 37, 37, 37, 37,
- 37, 37, 37, 37, 37, 0, 37, 0, 37, 37,
- 15, 0, 10, 37, 37, 37, 37, 37, 37, 0,
- 5, 37, 37, 37, 37, 0, 20, 37, 37, 37,
- 37, 10, 37, 37, 37, 37, 37, 37,
-#endif /* ACE_MVS */
- };
- return len + asso_values[str[len - 1]] + asso_values[str[0]];
-}
-
-const class TAO_operation_db_entry *
-TAO_IR_FactoryDef_Perfect_Hash_OpTable::lookup (const char *str, unsigned int len)
-{
- enum
- {
- TOTAL_KEYWORDS = 26,
- MIN_WORD_LENGTH = 4,
- MAX_WORD_LENGTH = 26,
- MIN_HASH_VALUE = 4,
- MAX_HASH_VALUE = 36,
- HASH_VALUE_RANGE = 33,
- DUPLICATES = 10
- };
-
- static const class TAO_operation_db_entry wordlist[] =
- {
- {"",0},{"",0},{"",0},{"",0},
- {"move", &POA_IR::FactoryDef::move_skel},
- {"_is_a", &POA_IR::FactoryDef::_is_a_skel},
- {"_get_mode", &POA_IR::FactoryDef::_get_mode_skel},
- {"_set_name", &POA_IR::FactoryDef::_set_name_skel},
- {"_get_name", &POA_IR::FactoryDef::_get_name_skel},
- {"_set_mode", &POA_IR::FactoryDef::_set_mode_skel},
- {"_get_params", &POA_IR::FactoryDef::_get_params_skel},
- {"_set_params", &POA_IR::FactoryDef::_set_params_skel},
- {"_get_contexts", &POA_IR::FactoryDef::_get_contexts_skel},
- {"_set_contexts", &POA_IR::FactoryDef::_set_contexts_skel},
- {"_get_exceptions", &POA_IR::FactoryDef::_get_exceptions_skel},
- {"_set_exceptions", &POA_IR::FactoryDef::_set_exceptions_skel},
- {"_get_version", &POA_IR::FactoryDef::_get_version_skel},
- {"_set_version", &POA_IR::FactoryDef::_set_version_skel},
- {"_get_absolute_name", &POA_IR::FactoryDef::_get_absolute_name_skel},
- {"_get_defined_in", &POA_IR::FactoryDef::_get_defined_in_skel},
- {"_get_id", &POA_IR::FactoryDef::_get_id_skel},
- {"_set_id", &POA_IR::FactoryDef::_set_id_skel},
- {"describe", &POA_IR::FactoryDef::describe_skel},
- {"_get_result_def", &POA_IR::FactoryDef::_get_result_def_skel},
- {"_set_result_def", &POA_IR::FactoryDef::_set_result_def_skel},
- {"_get_def_kind", &POA_IR::FactoryDef::_get_def_kind_skel},
- {"_get_result", &POA_IR::FactoryDef::_get_result_skel},
- {"destroy", &POA_IR::FactoryDef::destroy_skel},
- {"_non_existent", &POA_IR::FactoryDef::_non_existent_skel},
- {"_get_containing_repository", &POA_IR::FactoryDef::_get_containing_repository_skel},
- };
-
- if (len <= MAX_WORD_LENGTH && len >= MIN_WORD_LENGTH)
- {
- unsigned int key = hash (str, len);
-
- if (key <= MAX_HASH_VALUE && key >= MIN_HASH_VALUE)
- {
- {
- const class TAO_operation_db_entry *resword;
-
- switch (key)
- {
- case 4:
- resword = &wordlist[4]; break;
- case 5:
- resword = &wordlist[5]; break;
- case 9:
- resword = &wordlist[6];
- if (*str == *resword->opname_ && !strncmp (str + 1, resword->opname_ + 1, len - 1)) return resword;
- resword = &wordlist[7];
- if (*str == *resword->opname_ && !strncmp (str + 1, resword->opname_ + 1, len - 1)) return resword;
- resword = &wordlist[8];
- if (*str == *resword->opname_ && !strncmp (str + 1, resword->opname_ + 1, len - 1)) return resword;
- resword = &wordlist[9];
- if (*str == *resword->opname_ && !strncmp (str + 1, resword->opname_ + 1, len - 1)) return resword;
- return 0;
- case 11:
- resword = &wordlist[10];
- if (*str == *resword->opname_ && !strncmp (str + 1, resword->opname_ + 1, len - 1)) return resword;
- resword = &wordlist[11];
- if (*str == *resword->opname_ && !strncmp (str + 1, resword->opname_ + 1, len - 1)) return resword;
- return 0;
- case 13:
- resword = &wordlist[12];
- if (*str == *resword->opname_ && !strncmp (str + 1, resword->opname_ + 1, len - 1)) return resword;
- resword = &wordlist[13];
- if (*str == *resword->opname_ && !strncmp (str + 1, resword->opname_ + 1, len - 1)) return resword;
- return 0;
- case 15:
- resword = &wordlist[14];
- if (*str == *resword->opname_ && !strncmp (str + 1, resword->opname_ + 1, len - 1)) return resword;
- resword = &wordlist[15];
- if (*str == *resword->opname_ && !strncmp (str + 1, resword->opname_ + 1, len - 1)) return resword;
- return 0;
- case 17:
- resword = &wordlist[16];
- if (*str == *resword->opname_ && !strncmp (str + 1, resword->opname_ + 1, len - 1)) return resword;
- resword = &wordlist[17];
- if (*str == *resword->opname_ && !strncmp (str + 1, resword->opname_ + 1, len - 1)) return resword;
- return 0;
- case 18:
- resword = &wordlist[18]; break;
- case 20:
- resword = &wordlist[19]; break;
- case 22:
- resword = &wordlist[20];
- if (*str == *resword->opname_ && !strncmp (str + 1, resword->opname_ + 1, len - 1)) return resword;
- resword = &wordlist[21];
- if (*str == *resword->opname_ && !strncmp (str + 1, resword->opname_ + 1, len - 1)) return resword;
- return 0;
- case 23:
- resword = &wordlist[22]; break;
- case 25:
- resword = &wordlist[23];
- if (*str == *resword->opname_ && !strncmp (str + 1, resword->opname_ + 1, len - 1)) return resword;
- resword = &wordlist[24];
- if (*str == *resword->opname_ && !strncmp (str + 1, resword->opname_ + 1, len - 1)) return resword;
- return 0;
- case 28:
- resword = &wordlist[25]; break;
- case 31:
- resword = &wordlist[26]; break;
- case 32:
- resword = &wordlist[27]; break;
- case 33:
- resword = &wordlist[28]; break;
- case 36:
- resword = &wordlist[29]; break;
- default: return 0;
- }
- if (*str == *resword->opname_ && !strncmp (str + 1, resword->opname_ + 1, len - 1))
- return resword;
- return 0;
- }
- }
- }
- return 0;
-}
-/* ending time is 11:23:11 */
-static TAO_IR_FactoryDef_Perfect_Hash_OpTable tao_IR_FactoryDef_optable;
-
-///////////////////////////////////////////////////////////////////////
-// Strategized Proxy Broker Implementation
-//
-
-// Factory function Implementation.
-POA_IR::_TAO_FactoryDef_Strategized_Proxy_Broker *POA_IR::_TAO_FactoryDef_Strategized_Proxy_Broker::the_TAO_FactoryDef_Strategized_Proxy_Broker (void)
-{
- static POA_IR::_TAO_FactoryDef_Strategized_Proxy_Broker strategized_proxy_broker;
- return &strategized_proxy_broker;
-}
-
-POA_IR::_TAO_FactoryDef_Strategized_Proxy_Broker::_TAO_FactoryDef_Strategized_Proxy_Broker (void)
-{
- for (int i = 0; i < TAO_Collocation_Strategies::CS_LAST; ++i)
- this->proxy_cache_[i] = 0;
-
-}
-
-POA_IR::_TAO_FactoryDef_Strategized_Proxy_Broker::~_TAO_FactoryDef_Strategized_Proxy_Broker (void)
-{
- for (int i = 0; i < TAO_Collocation_Strategies::CS_LAST; ++i)
- delete this->proxy_cache_[i];
-
-}
-
-_TAO_FactoryDef_Proxy_Impl&
-POA_IR::_TAO_FactoryDef_Strategized_Proxy_Broker::select_proxy (
- IR_FactoryDef *object,
- CORBA::Environment &ACE_TRY_ENV
- )
-{
- int strategy =
- TAO_ORB_Core::collocation_strategy (object);
-
- if (this->proxy_cache_[strategy] != 0)
- return *this->proxy_cache_[strategy];
-
- this->create_proxy (strategy, ACE_TRY_ENV);
- ACE_CHECK_RETURN (*this->proxy_cache_[strategy]);
-
- return *this->proxy_cache_[strategy];
-
-}
-
-void
-POA_IR::_TAO_FactoryDef_Strategized_Proxy_Broker::create_proxy (
- int strategy,
- CORBA::Environment &ACE_TRY_ENV
- )
-{
- ACE_GUARD (TAO_SYNCH_MUTEX, guard, this->mutex_);
-
- if (this->proxy_cache_[strategy] == 0)
- {
- switch (strategy)
- {
- case TAO_Collocation_Strategies::CS_THRU_POA_STRATEGY:
- ACE_NEW_THROW_EX (
- this->proxy_cache_[strategy],
- _TAO_FactoryDef_ThruPOA_Proxy_Impl,
- CORBA::NO_MEMORY ()
- );
- ACE_CHECK;
- break;
-
- case TAO_Collocation_Strategies::CS_REMOTE_STRATEGY:
- default:
- ACE_NEW_THROW_EX (
- this->proxy_cache_[strategy],
- _TAO_FactoryDef_Remote_Proxy_Impl,
- CORBA::NO_MEMORY ()
- );
- ACE_CHECK;
- break;
-
- }
-
- }
-}
-
-
-//
-// End Strategized Proxy Broker Implementation
-///////////////////////////////////////////////////////////////////////
-
-
-_TAO_FactoryDef_Proxy_Broker *
-_TAO_FactoryDef_Proxy_Broker_Factory_function (CORBA::Object_ptr obj)
-{
- ACE_UNUSED_ARG (obj);
- return ::POA_IR::_TAO_FactoryDef_Strategized_Proxy_Broker::the_TAO_FactoryDef_Strategized_Proxy_Broker();
-}
-
-int
-_TAO_FactoryDef_Proxy_Broker_Factory_Initializer (long _dummy_)
-{
- ACE_UNUSED_ARG (_dummy_);
-
- _TAO_FactoryDef_Proxy_Broker_Factory_function_pointer =
- _TAO_FactoryDef_Proxy_Broker_Factory_function;
-
- return 0;
-}
-
-static int _TAO_FactoryDef_Proxy_Broker_Stub_Factory_Initializer_Scarecrow =
- _TAO_FactoryDef_Proxy_Broker_Factory_Initializer (ACE_reinterpret_cast (long, _TAO_FactoryDef_Proxy_Broker_Factory_Initializer));
-
-
-///////////////////////////////////////////////////////////////////////
-// ThruPOA Proxy Implementation
-//
-
-POA_IR::_TAO_FactoryDef_ThruPOA_Proxy_Impl::_TAO_FactoryDef_ThruPOA_Proxy_Impl (void)
-{}
-
-// ThruPOA Implementation of the IDL interface methods
-
-//
-// End ThruPOA Proxy Implementation
-///////////////////////////////////////////////////////////////////////
-
-// skeleton constructor
-POA_IR::FactoryDef::FactoryDef (void)
-{
- this->optable_ = &tao_IR_FactoryDef_optable;
-}
-
-// copy ctor
-POA_IR::FactoryDef::FactoryDef (const FactoryDef& rhs)
- : ACE_NESTED_CLASS (POA_IR,OperationDef) (rhs),
- ACE_NESTED_CLASS (POA_IR,Contained) (rhs),
- POA_CORBA_IRObject (rhs),
- TAO_ServantBase (rhs)
-{}
-
-// skeleton destructor
-POA_IR::FactoryDef::~FactoryDef (void)
-{
-}
-
-void POA_IR::FactoryDef::_is_a_skel (
- TAO_ServerRequest &_tao_server_request,
- void * _tao_object_reference,
- void * /* context */,
- CORBA::Environment &ACE_TRY_ENV
- )
-{
- TAO_InputCDR &_tao_in = _tao_server_request.incoming ();
- POA_IR::FactoryDef *_tao_impl = (POA_IR::FactoryDef *) _tao_object_reference;
- CORBA::Boolean _tao_retval = 0;
- CORBA::String_var value;
- if (!((_tao_in >> value.out ())))
- ACE_THROW (CORBA::MARSHAL ());
-
- _tao_retval = _tao_impl->_is_a (value.in (), ACE_TRY_ENV);
- ACE_CHECK;
-
- _tao_server_request.init_reply ();
- TAO_OutputCDR &_tao_out = _tao_server_request.outgoing ();
- if (!((_tao_out << CORBA::Any::from_boolean (_tao_retval))))
- ACE_THROW (CORBA::MARSHAL ());
-}
-
-void POA_IR::FactoryDef::_non_existent_skel (
- TAO_ServerRequest &_tao_server_request,
- void * _tao_object_reference,
- void * /* context */,
- CORBA::Environment &ACE_TRY_ENV
- )
-{
- POA_IR::FactoryDef *_tao_impl = (POA_IR::FactoryDef *) _tao_object_reference;
- CORBA::Boolean _tao_retval = _tao_impl->_non_existent (ACE_TRY_ENV);
- ACE_CHECK;
-
- _tao_server_request.init_reply ();
- TAO_OutputCDR &_tao_out = _tao_server_request.outgoing ();
- if (!((_tao_out << CORBA::Any::from_boolean (_tao_retval))))
- ACE_THROW (CORBA::MARSHAL ());
-}
-
-CORBA::Boolean POA_IR::FactoryDef::_is_a (
- const char* value,
- CORBA::Environment &ACE_TRY_ENV
- )
-{
- if (
- (!ACE_OS::strcmp ((char *)value, "IDL:omg.org/IR/FactoryDef:1.0")) ||
- (!ACE_OS::strcmp ((char *)value, "IDL:omg.org/IR/OperationDef:1.0")) ||
- (!ACE_OS::strcmp ((char *)value, "IDL:omg.org/IR/Contained:1.0")) ||
- (!ACE_OS::strcmp ((char *)value, "IDL:omg.org/CORBA/IRObject:1.0")) ||
- (!ACE_OS::strcmp ((char *)value, CORBA::_tc_Object->id (ACE_TRY_ENV))))
- return 1;
- else
- return 0;
-}
-
-void* POA_IR::FactoryDef::_downcast (
- const char* logical_type_id
- )
-{
- if (ACE_OS::strcmp (logical_type_id, "IDL:omg.org/IR/FactoryDef:1.0") == 0)
- return ACE_static_cast (POA_IR::FactoryDef_ptr, this);
- if (ACE_OS::strcmp (logical_type_id, "IDL:omg.org/IR/OperationDef:1.0") == 0)
- return ACE_static_cast (POA_IR::OperationDef_ptr, this);
- if (ACE_OS::strcmp (logical_type_id, "IDL:omg.org/IR/Contained:1.0") == 0)
- return ACE_static_cast (POA_IR::Contained_ptr, this);
- if (ACE_OS::strcmp (logical_type_id, "IDL:omg.org/CORBA/IRObject:1.0") == 0)
- return ACE_static_cast (POA_CORBA_IRObject_ptr, this);
- if (ACE_OS::strcmp (logical_type_id, "IDL:omg.org/CORBA/Object:1.0") == 0)
- return ACE_static_cast(PortableServer::Servant, this);
- return 0;
-}
-
-void POA_IR::FactoryDef::_dispatch (TAO_ServerRequest &req, void *context, CORBA::Environment &ACE_TRY_ENV)
-{
- this->synchronous_upcall_dispatch(req, context, this, ACE_TRY_ENV);
-}
-
-const char* POA_IR::FactoryDef::_interface_repository_id (void) const
-{
- return "IDL:omg.org/IR/FactoryDef:1.0";
-}
-
-IR::FactoryDef*
-POA_IR::FactoryDef::_this (CORBA_Environment &ACE_TRY_ENV)
-{
- TAO_Stub *stub = this->_create_stub (ACE_TRY_ENV);
- ACE_CHECK_RETURN (0);
-
- CORBA::Object_ptr tmp = CORBA::Object::_nil ();
-
- if (stub->servant_orb_var ()->orb_core ()->optimize_collocation_objects ())
- ACE_NEW_RETURN (tmp, CORBA::Object (stub, 1, this), 0);
- else
- ACE_NEW_RETURN (tmp, CORBA::Object (stub, 0, this), 0);
-
- CORBA::Object_var obj = tmp;
- return IR_FactoryDef::_unchecked_narrow (obj.in ());
-}
-
-#if (TAO_HAS_INTERCEPTORS == 1)
-#endif /* TAO_HAS_INTERCEPTORS */
-
-class TAO_IR_FinderDef_Perfect_Hash_OpTable : public TAO_Perfect_Hash_OpTable
-{
-private:
- unsigned int hash (const char *str, unsigned int len);
-public:
- const TAO_operation_db_entry * lookup (const char *str, unsigned int len);
-};
-/* starting time is 11:23:11 */
-/* C++ code produced by gperf version 2.8 (ACE version) */
-/* Command-line: gperf -m -M -J -c -C -D -E -T -f 0 -F 0 -a -o -t -p -K opname_ -L C++ -Z TAO_IR_FinderDef_Perfect_Hash_OpTable -N lookup */
-unsigned int
-TAO_IR_FinderDef_Perfect_Hash_OpTable::hash (const char *str, unsigned int len)
-{
- static const unsigned char asso_values[] =
- {
-#if defined (ACE_MVS)
- 37, 37, 37, 37, 37, 37, 37, 37, 37, 37,
- 37, 37, 37, 37, 37, 37, 37, 37, 37, 37,
- 37, 37, 37, 37, 37, 37, 37, 37, 37, 37,
- 37, 37, 37, 37, 37, 37, 37, 37, 37, 37,
- 37, 37, 37, 37, 37, 37, 37, 37, 37, 37,
- 37, 37, 37, 37, 37, 37, 37, 37, 37, 37,
- 37, 37, 37, 37, 37, 37, 37, 37, 37, 37,
- 37, 37, 37, 37, 37, 37, 37, 37, 37, 37,
- 37, 37, 37, 37, 37, 37, 37, 37, 37, 37,
- 37, 37, 37, 37, 37, 37, 37, 37, 37, 37,
- 37, 37, 37, 37, 37, 37, 37, 37, 37, 0,
- 37, 37, 37, 37, 37, 37, 37, 37, 37, 37,
- 37, 37, 37, 37, 37, 37, 37, 37, 37, 0,
- 37, 37, 15, 0, 10, 37, 37, 37, 37, 37,
- 37, 37, 37, 37, 37, 37, 37, 37, 0, 5,
- 37, 37, 37, 37, 37, 37, 37, 37, 37, 37,
- 37, 37, 0, 20, 37, 37, 37, 37, 10, 37,
- 37, 37, 37, 37, 37, 37, 37, 37, 37, 37,
- 37, 37, 37, 37, 37, 37, 37, 37, 37, 37,
- 37, 37, 37, 37, 37, 37, 37, 37, 37, 37,
- 37, 37, 37, 37, 37, 37, 37, 37, 37, 37,
- 37, 37, 37, 37, 37, 37, 37, 37, 37, 37,
- 37, 37, 37, 37, 37, 37, 37, 37, 37, 37,
- 37, 37, 37, 37, 37, 37, 37, 37, 37, 37,
- 37, 37, 37, 37, 37, 37, 37, 37, 37, 37,
- 37, 37, 37, 37, 37, 37,
-#else
- 37, 37, 37, 37, 37, 37, 37, 37, 37, 37,
- 37, 37, 37, 37, 37, 37, 37, 37, 37, 37,
- 37, 37, 37, 37, 37, 37, 37, 37, 37, 37,
- 37, 37, 37, 37, 37, 37, 37, 37, 37, 37,
- 37, 37, 37, 37, 37, 37, 37, 37, 37, 37,
- 37, 37, 37, 37, 37, 37, 37, 37, 37, 37,
- 37, 37, 37, 37, 37, 37, 37, 37, 37, 37,
- 37, 37, 37, 37, 37, 37, 37, 37, 37, 37,
- 37, 37, 37, 37, 37, 37, 37, 37, 37, 37,
- 37, 37, 37, 37, 37, 0, 37, 0, 37, 37,
- 15, 0, 10, 37, 37, 37, 37, 37, 37, 0,
- 5, 37, 37, 37, 37, 0, 20, 37, 37, 37,
- 37, 10, 37, 37, 37, 37, 37, 37,
-#endif /* ACE_MVS */
- };
- return len + asso_values[str[len - 1]] + asso_values[str[0]];
-}
-
-const class TAO_operation_db_entry *
-TAO_IR_FinderDef_Perfect_Hash_OpTable::lookup (const char *str, unsigned int len)
-{
- enum
- {
- TOTAL_KEYWORDS = 26,
- MIN_WORD_LENGTH = 4,
- MAX_WORD_LENGTH = 26,
- MIN_HASH_VALUE = 4,
- MAX_HASH_VALUE = 36,
- HASH_VALUE_RANGE = 33,
- DUPLICATES = 10
- };
-
- static const class TAO_operation_db_entry wordlist[] =
- {
- {"",0},{"",0},{"",0},{"",0},
- {"move", &POA_IR::FinderDef::move_skel},
- {"_is_a", &POA_IR::FinderDef::_is_a_skel},
- {"_get_mode", &POA_IR::FinderDef::_get_mode_skel},
- {"_set_name", &POA_IR::FinderDef::_set_name_skel},
- {"_get_name", &POA_IR::FinderDef::_get_name_skel},
- {"_set_mode", &POA_IR::FinderDef::_set_mode_skel},
- {"_get_params", &POA_IR::FinderDef::_get_params_skel},
- {"_set_params", &POA_IR::FinderDef::_set_params_skel},
- {"_get_contexts", &POA_IR::FinderDef::_get_contexts_skel},
- {"_set_contexts", &POA_IR::FinderDef::_set_contexts_skel},
- {"_get_exceptions", &POA_IR::FinderDef::_get_exceptions_skel},
- {"_set_exceptions", &POA_IR::FinderDef::_set_exceptions_skel},
- {"_get_version", &POA_IR::FinderDef::_get_version_skel},
- {"_set_version", &POA_IR::FinderDef::_set_version_skel},
- {"_get_absolute_name", &POA_IR::FinderDef::_get_absolute_name_skel},
- {"_get_defined_in", &POA_IR::FinderDef::_get_defined_in_skel},
- {"_get_id", &POA_IR::FinderDef::_get_id_skel},
- {"_set_id", &POA_IR::FinderDef::_set_id_skel},
- {"describe", &POA_IR::FinderDef::describe_skel},
- {"_get_result_def", &POA_IR::FinderDef::_get_result_def_skel},
- {"_set_result_def", &POA_IR::FinderDef::_set_result_def_skel},
- {"_get_def_kind", &POA_IR::FinderDef::_get_def_kind_skel},
- {"_get_result", &POA_IR::FinderDef::_get_result_skel},
- {"destroy", &POA_IR::FinderDef::destroy_skel},
- {"_non_existent", &POA_IR::FinderDef::_non_existent_skel},
- {"_get_containing_repository", &POA_IR::FinderDef::_get_containing_repository_skel},
- };
-
- if (len <= MAX_WORD_LENGTH && len >= MIN_WORD_LENGTH)
- {
- unsigned int key = hash (str, len);
-
- if (key <= MAX_HASH_VALUE && key >= MIN_HASH_VALUE)
- {
- {
- const class TAO_operation_db_entry *resword;
-
- switch (key)
- {
- case 4:
- resword = &wordlist[4]; break;
- case 5:
- resword = &wordlist[5]; break;
- case 9:
- resword = &wordlist[6];
- if (*str == *resword->opname_ && !strncmp (str + 1, resword->opname_ + 1, len - 1)) return resword;
- resword = &wordlist[7];
- if (*str == *resword->opname_ && !strncmp (str + 1, resword->opname_ + 1, len - 1)) return resword;
- resword = &wordlist[8];
- if (*str == *resword->opname_ && !strncmp (str + 1, resword->opname_ + 1, len - 1)) return resword;
- resword = &wordlist[9];
- if (*str == *resword->opname_ && !strncmp (str + 1, resword->opname_ + 1, len - 1)) return resword;
- return 0;
- case 11:
- resword = &wordlist[10];
- if (*str == *resword->opname_ && !strncmp (str + 1, resword->opname_ + 1, len - 1)) return resword;
- resword = &wordlist[11];
- if (*str == *resword->opname_ && !strncmp (str + 1, resword->opname_ + 1, len - 1)) return resword;
- return 0;
- case 13:
- resword = &wordlist[12];
- if (*str == *resword->opname_ && !strncmp (str + 1, resword->opname_ + 1, len - 1)) return resword;
- resword = &wordlist[13];
- if (*str == *resword->opname_ && !strncmp (str + 1, resword->opname_ + 1, len - 1)) return resword;
- return 0;
- case 15:
- resword = &wordlist[14];
- if (*str == *resword->opname_ && !strncmp (str + 1, resword->opname_ + 1, len - 1)) return resword;
- resword = &wordlist[15];
- if (*str == *resword->opname_ && !strncmp (str + 1, resword->opname_ + 1, len - 1)) return resword;
- return 0;
- case 17:
- resword = &wordlist[16];
- if (*str == *resword->opname_ && !strncmp (str + 1, resword->opname_ + 1, len - 1)) return resword;
- resword = &wordlist[17];
- if (*str == *resword->opname_ && !strncmp (str + 1, resword->opname_ + 1, len - 1)) return resword;
- return 0;
- case 18:
- resword = &wordlist[18]; break;
- case 20:
- resword = &wordlist[19]; break;
- case 22:
- resword = &wordlist[20];
- if (*str == *resword->opname_ && !strncmp (str + 1, resword->opname_ + 1, len - 1)) return resword;
- resword = &wordlist[21];
- if (*str == *resword->opname_ && !strncmp (str + 1, resword->opname_ + 1, len - 1)) return resword;
- return 0;
- case 23:
- resword = &wordlist[22]; break;
- case 25:
- resword = &wordlist[23];
- if (*str == *resword->opname_ && !strncmp (str + 1, resword->opname_ + 1, len - 1)) return resword;
- resword = &wordlist[24];
- if (*str == *resword->opname_ && !strncmp (str + 1, resword->opname_ + 1, len - 1)) return resword;
- return 0;
- case 28:
- resword = &wordlist[25]; break;
- case 31:
- resword = &wordlist[26]; break;
- case 32:
- resword = &wordlist[27]; break;
- case 33:
- resword = &wordlist[28]; break;
- case 36:
- resword = &wordlist[29]; break;
- default: return 0;
- }
- if (*str == *resword->opname_ && !strncmp (str + 1, resword->opname_ + 1, len - 1))
- return resword;
- return 0;
- }
- }
- }
- return 0;
-}
-/* ending time is 11:23:11 */
-static TAO_IR_FinderDef_Perfect_Hash_OpTable tao_IR_FinderDef_optable;
-
-///////////////////////////////////////////////////////////////////////
-// Strategized Proxy Broker Implementation
-//
-
-// Factory function Implementation.
-POA_IR::_TAO_FinderDef_Strategized_Proxy_Broker *POA_IR::_TAO_FinderDef_Strategized_Proxy_Broker::the_TAO_FinderDef_Strategized_Proxy_Broker (void)
-{
- static POA_IR::_TAO_FinderDef_Strategized_Proxy_Broker strategized_proxy_broker;
- return &strategized_proxy_broker;
-}
-
-POA_IR::_TAO_FinderDef_Strategized_Proxy_Broker::_TAO_FinderDef_Strategized_Proxy_Broker (void)
-{
- for (int i = 0; i < TAO_Collocation_Strategies::CS_LAST; ++i)
- this->proxy_cache_[i] = 0;
-
-}
-
-POA_IR::_TAO_FinderDef_Strategized_Proxy_Broker::~_TAO_FinderDef_Strategized_Proxy_Broker (void)
-{
- for (int i = 0; i < TAO_Collocation_Strategies::CS_LAST; ++i)
- delete this->proxy_cache_[i];
-
-}
-
-_TAO_FinderDef_Proxy_Impl&
-POA_IR::_TAO_FinderDef_Strategized_Proxy_Broker::select_proxy (
- IR_FinderDef *object,
- CORBA::Environment &ACE_TRY_ENV
- )
-{
- int strategy =
- TAO_ORB_Core::collocation_strategy (object);
-
- if (this->proxy_cache_[strategy] != 0)
- return *this->proxy_cache_[strategy];
-
- this->create_proxy (strategy, ACE_TRY_ENV);
- ACE_CHECK_RETURN (*this->proxy_cache_[strategy]);
-
- return *this->proxy_cache_[strategy];
-
-}
-
-void
-POA_IR::_TAO_FinderDef_Strategized_Proxy_Broker::create_proxy (
- int strategy,
- CORBA::Environment &ACE_TRY_ENV
- )
-{
- ACE_GUARD (TAO_SYNCH_MUTEX, guard, this->mutex_);
-
- if (this->proxy_cache_[strategy] == 0)
- {
- switch (strategy)
- {
- case TAO_Collocation_Strategies::CS_THRU_POA_STRATEGY:
- ACE_NEW_THROW_EX (
- this->proxy_cache_[strategy],
- _TAO_FinderDef_ThruPOA_Proxy_Impl,
- CORBA::NO_MEMORY ()
- );
- ACE_CHECK;
- break;
-
- case TAO_Collocation_Strategies::CS_REMOTE_STRATEGY:
- default:
- ACE_NEW_THROW_EX (
- this->proxy_cache_[strategy],
- _TAO_FinderDef_Remote_Proxy_Impl,
- CORBA::NO_MEMORY ()
- );
- ACE_CHECK;
- break;
-
- }
-
- }
-}
-
-
-//
-// End Strategized Proxy Broker Implementation
-///////////////////////////////////////////////////////////////////////
-
-
-_TAO_FinderDef_Proxy_Broker *
-_TAO_FinderDef_Proxy_Broker_Factory_function (CORBA::Object_ptr obj)
-{
- ACE_UNUSED_ARG (obj);
- return ::POA_IR::_TAO_FinderDef_Strategized_Proxy_Broker::the_TAO_FinderDef_Strategized_Proxy_Broker();
-}
-
-int
-_TAO_FinderDef_Proxy_Broker_Factory_Initializer (long _dummy_)
-{
- ACE_UNUSED_ARG (_dummy_);
-
- _TAO_FinderDef_Proxy_Broker_Factory_function_pointer =
- _TAO_FinderDef_Proxy_Broker_Factory_function;
-
- return 0;
-}
-
-static int _TAO_FinderDef_Proxy_Broker_Stub_Factory_Initializer_Scarecrow =
- _TAO_FinderDef_Proxy_Broker_Factory_Initializer (ACE_reinterpret_cast (long, _TAO_FinderDef_Proxy_Broker_Factory_Initializer));
-
-
-///////////////////////////////////////////////////////////////////////
-// ThruPOA Proxy Implementation
-//
-
-POA_IR::_TAO_FinderDef_ThruPOA_Proxy_Impl::_TAO_FinderDef_ThruPOA_Proxy_Impl (void)
-{}
-
-// ThruPOA Implementation of the IDL interface methods
-
-//
-// End ThruPOA Proxy Implementation
-///////////////////////////////////////////////////////////////////////
-
-// skeleton constructor
-POA_IR::FinderDef::FinderDef (void)
-{
- this->optable_ = &tao_IR_FinderDef_optable;
-}
-
-// copy ctor
-POA_IR::FinderDef::FinderDef (const FinderDef& rhs)
- : ACE_NESTED_CLASS (POA_IR,OperationDef) (rhs),
- ACE_NESTED_CLASS (POA_IR,Contained) (rhs),
- POA_CORBA_IRObject (rhs),
- TAO_ServantBase (rhs)
-{}
-
-// skeleton destructor
-POA_IR::FinderDef::~FinderDef (void)
-{
-}
-
-void POA_IR::FinderDef::_is_a_skel (
- TAO_ServerRequest &_tao_server_request,
- void * _tao_object_reference,
- void * /* context */,
- CORBA::Environment &ACE_TRY_ENV
- )
-{
- TAO_InputCDR &_tao_in = _tao_server_request.incoming ();
- POA_IR::FinderDef *_tao_impl = (POA_IR::FinderDef *) _tao_object_reference;
- CORBA::Boolean _tao_retval = 0;
- CORBA::String_var value;
- if (!((_tao_in >> value.out ())))
- ACE_THROW (CORBA::MARSHAL ());
-
- _tao_retval = _tao_impl->_is_a (value.in (), ACE_TRY_ENV);
- ACE_CHECK;
-
- _tao_server_request.init_reply ();
- TAO_OutputCDR &_tao_out = _tao_server_request.outgoing ();
- if (!((_tao_out << CORBA::Any::from_boolean (_tao_retval))))
- ACE_THROW (CORBA::MARSHAL ());
-}
-
-void POA_IR::FinderDef::_non_existent_skel (
- TAO_ServerRequest &_tao_server_request,
- void * _tao_object_reference,
- void * /* context */,
- CORBA::Environment &ACE_TRY_ENV
- )
-{
- POA_IR::FinderDef *_tao_impl = (POA_IR::FinderDef *) _tao_object_reference;
- CORBA::Boolean _tao_retval = _tao_impl->_non_existent (ACE_TRY_ENV);
- ACE_CHECK;
-
- _tao_server_request.init_reply ();
- TAO_OutputCDR &_tao_out = _tao_server_request.outgoing ();
- if (!((_tao_out << CORBA::Any::from_boolean (_tao_retval))))
- ACE_THROW (CORBA::MARSHAL ());
-}
-
-CORBA::Boolean POA_IR::FinderDef::_is_a (
- const char* value,
- CORBA::Environment &ACE_TRY_ENV
- )
-{
- if (
- (!ACE_OS::strcmp ((char *)value, "IDL:omg.org/IR/FinderDef:1.0")) ||
- (!ACE_OS::strcmp ((char *)value, "IDL:omg.org/IR/OperationDef:1.0")) ||
- (!ACE_OS::strcmp ((char *)value, "IDL:omg.org/IR/Contained:1.0")) ||
- (!ACE_OS::strcmp ((char *)value, "IDL:omg.org/CORBA/IRObject:1.0")) ||
- (!ACE_OS::strcmp ((char *)value, CORBA::_tc_Object->id (ACE_TRY_ENV))))
- return 1;
- else
- return 0;
-}
-
-void* POA_IR::FinderDef::_downcast (
- const char* logical_type_id
- )
-{
- if (ACE_OS::strcmp (logical_type_id, "IDL:omg.org/IR/FinderDef:1.0") == 0)
- return ACE_static_cast (POA_IR::FinderDef_ptr, this);
- if (ACE_OS::strcmp (logical_type_id, "IDL:omg.org/IR/OperationDef:1.0") == 0)
- return ACE_static_cast (POA_IR::OperationDef_ptr, this);
- if (ACE_OS::strcmp (logical_type_id, "IDL:omg.org/IR/Contained:1.0") == 0)
- return ACE_static_cast (POA_IR::Contained_ptr, this);
- if (ACE_OS::strcmp (logical_type_id, "IDL:omg.org/CORBA/IRObject:1.0") == 0)
- return ACE_static_cast (POA_CORBA_IRObject_ptr, this);
- if (ACE_OS::strcmp (logical_type_id, "IDL:omg.org/CORBA/Object:1.0") == 0)
- return ACE_static_cast(PortableServer::Servant, this);
- return 0;
-}
-
-void POA_IR::FinderDef::_dispatch (TAO_ServerRequest &req, void *context, CORBA::Environment &ACE_TRY_ENV)
-{
- this->synchronous_upcall_dispatch(req, context, this, ACE_TRY_ENV);
-}
-
-const char* POA_IR::FinderDef::_interface_repository_id (void) const
-{
- return "IDL:omg.org/IR/FinderDef:1.0";
-}
-
-IR::FinderDef*
-POA_IR::FinderDef::_this (CORBA_Environment &ACE_TRY_ENV)
-{
- TAO_Stub *stub = this->_create_stub (ACE_TRY_ENV);
- ACE_CHECK_RETURN (0);
-
- CORBA::Object_ptr tmp = CORBA::Object::_nil ();
-
- if (stub->servant_orb_var ()->orb_core ()->optimize_collocation_objects ())
- ACE_NEW_RETURN (tmp, CORBA::Object (stub, 1, this), 0);
- else
- ACE_NEW_RETURN (tmp, CORBA::Object (stub, 0, this), 0);
-
- CORBA::Object_var obj = tmp;
- return IR_FinderDef::_unchecked_narrow (obj.in ());
-}
-
-#if (TAO_HAS_INTERCEPTORS == 1)
-#endif /* TAO_HAS_INTERCEPTORS */
-
-class TAO_IR_HomeDef_Perfect_Hash_OpTable : public TAO_Perfect_Hash_OpTable
-{
-private:
- unsigned int hash (const char *str, unsigned int len);
-public:
- const TAO_operation_db_entry * lookup (const char *str, unsigned int len);
-};
-/* starting time is 11:23:11 */
-/* C++ code produced by gperf version 2.8 (ACE version) */
-/* Command-line: gperf -m -M -J -c -C -D -E -T -f 0 -F 0 -a -o -t -p -K opname_ -L C++ -Z TAO_IR_HomeDef_Perfect_Hash_OpTable -N lookup */
-unsigned int
-TAO_IR_HomeDef_Perfect_Hash_OpTable::hash (const char *str, unsigned int len)
-{
- static const unsigned char asso_values[] =
- {
-#if defined (ACE_MVS)
- 89, 89, 89, 89, 89, 89, 89, 89, 89, 89,
- 89, 89, 89, 89, 89, 89, 89, 89, 89, 89,
- 89, 89, 89, 89, 89, 89, 89, 89, 89, 89,
- 89, 89, 89, 89, 89, 89, 89, 89, 89, 89,
- 89, 89, 89, 89, 89, 89, 89, 89, 89, 89,
- 89, 89, 89, 89, 89, 89, 89, 89, 89, 89,
- 89, 89, 89, 89, 89, 89, 89, 89, 89, 89,
- 89, 89, 89, 89, 89, 89, 89, 89, 89, 89,
- 89, 89, 89, 89, 89, 89, 89, 89, 89, 89,
- 89, 89, 89, 89, 89, 89, 89, 89, 89, 89,
- 89, 89, 89, 89, 89, 89, 89, 89, 89, 0,
- 89, 89, 89, 89, 89, 89, 89, 89, 89, 89,
- 89, 89, 89, 89, 89, 89, 89, 89, 89, 0,
- 89, 15, 0, 45, 89, 89, 89, 0, 89, 89,
- 89, 89, 89, 89, 89, 89, 89, 5, 0, 10,
- 89, 0, 89, 5, 89, 89, 89, 89, 89, 89,
- 89, 89, 15, 30, 89, 89, 89, 0, 55, 89,
- 89, 89, 89, 89, 89, 89, 89, 89, 89, 89,
- 89, 89, 89, 89, 89, 89, 89, 89, 89, 89,
- 89, 89, 89, 89, 89, 89, 89, 89, 89, 89,
- 89, 89, 89, 89, 89, 89, 89, 89, 89, 89,
- 89, 89, 89, 89, 89, 89, 89, 89, 89, 89,
- 89, 89, 89, 89, 89, 89, 89, 89, 89, 89,
- 89, 89, 89, 89, 89, 89, 89, 89, 89, 89,
- 89, 89, 89, 89, 89, 89, 89, 89, 89, 89,
- 89, 89, 89, 89, 89, 89,
-#else
- 89, 89, 89, 89, 89, 89, 89, 89, 89, 89,
- 89, 89, 89, 89, 89, 89, 89, 89, 89, 89,
- 89, 89, 89, 89, 89, 89, 89, 89, 89, 89,
- 89, 89, 89, 89, 89, 89, 89, 89, 89, 89,
- 89, 89, 89, 89, 89, 89, 89, 89, 89, 89,
- 89, 89, 89, 89, 89, 89, 89, 89, 89, 89,
- 89, 89, 89, 89, 89, 89, 89, 89, 89, 89,
- 89, 89, 89, 89, 89, 89, 89, 89, 89, 89,
- 89, 89, 89, 89, 89, 89, 89, 89, 89, 89,
- 89, 89, 89, 89, 89, 0, 89, 0, 89, 15,
- 0, 45, 89, 89, 89, 0, 89, 89, 5, 0,
- 10, 89, 0, 89, 5, 15, 30, 89, 89, 89,
- 0, 55, 89, 89, 89, 89, 89, 89,
-#endif /* ACE_MVS */
- };
- return len + asso_values[str[len - 1]] + asso_values[str[0]];
-}
-
-const class TAO_operation_db_entry *
-TAO_IR_HomeDef_Perfect_Hash_OpTable::lookup (const char *str, unsigned int len)
-{
- enum
- {
- TOTAL_KEYWORDS = 49,
- MIN_WORD_LENGTH = 4,
- MAX_WORD_LENGTH = 26,
- MIN_HASH_VALUE = 4,
- MAX_HASH_VALUE = 88,
- HASH_VALUE_RANGE = 85,
- DUPLICATES = 11
- };
-
- static const class TAO_operation_db_entry wordlist[] =
- {
- {"",0},{"",0},{"",0},{"",0},
- {"is_a", &POA_IR::HomeDef::is_a_skel},
- {"_is_a", &POA_IR::HomeDef::_is_a_skel},
- {"_get_id", &POA_IR::HomeDef::_get_id_skel},
- {"_set_id", &POA_IR::HomeDef::_set_id_skel},
- {"lookup", &POA_IR::HomeDef::lookup_skel},
- {"_get_def_kind", &POA_IR::HomeDef::_get_def_kind_skel},
- {"_get_is_local", &POA_IR::HomeDef::_get_is_local_skel},
- {"_set_is_local", &POA_IR::HomeDef::_set_is_local_skel},
- {"_get_version", &POA_IR::HomeDef::_get_version_skel},
- {"_set_version", &POA_IR::HomeDef::_set_version_skel},
- {"_get_defined_in", &POA_IR::HomeDef::_get_defined_in_skel},
- {"create_enum", &POA_IR::HomeDef::create_enum_skel},
- {"_get_finders", &POA_IR::HomeDef::_get_finders_skel},
- {"_get_is_basic", &POA_IR::HomeDef::_get_is_basic_skel},
- {"_get_factories", &POA_IR::HomeDef::_get_factories_skel},
- {"create_value_box", &POA_IR::HomeDef::create_value_box_skel},
- {"describe_contents", &POA_IR::HomeDef::describe_contents_skel},
- {"create_finder", &POA_IR::HomeDef::create_finder_skel},
- {"_get_base_interfaces", &POA_IR::HomeDef::_get_base_interfaces_skel},
- {"_set_base_interfaces", &POA_IR::HomeDef::_set_base_interfaces_skel},
- {"create_union", &POA_IR::HomeDef::create_union_skel},
- {"contents", &POA_IR::HomeDef::contents_skel},
- {"create_operation", &POA_IR::HomeDef::create_operation_skel},
- {"create_exception", &POA_IR::HomeDef::create_exception_skel},
- {"create_alias", &POA_IR::HomeDef::create_alias_skel},
- {"_non_existent", &POA_IR::HomeDef::_non_existent_skel},
- {"_get_is_abstract", &POA_IR::HomeDef::_get_is_abstract_skel},
- {"_set_is_abstract", &POA_IR::HomeDef::_set_is_abstract_skel},
- {"move", &POA_IR::HomeDef::move_skel},
- {"_get_managed_component", &POA_IR::HomeDef::_get_managed_component_skel},
- {"describe", &POA_IR::HomeDef::describe_skel},
- {"_get_name", &POA_IR::HomeDef::_get_name_skel},
- {"_get_type", &POA_IR::HomeDef::_get_type_skel},
- {"_set_name", &POA_IR::HomeDef::_set_name_skel},
- {"create_struct", &POA_IR::HomeDef::create_struct_skel},
- {"_get_base_home", &POA_IR::HomeDef::_get_base_home_skel},
- {"create_constant", &POA_IR::HomeDef::create_constant_skel},
- {"lookup_name", &POA_IR::HomeDef::lookup_name_skel},
- {"destroy", &POA_IR::HomeDef::destroy_skel},
- {"_get_absolute_name", &POA_IR::HomeDef::_get_absolute_name_skel},
- {"_get_primary_key", &POA_IR::HomeDef::_get_primary_key_skel},
- {"create_value", &POA_IR::HomeDef::create_value_skel},
- {"create_module", &POA_IR::HomeDef::create_module_skel},
- {"create_native", &POA_IR::HomeDef::create_native_skel},
- {"create_attribute", &POA_IR::HomeDef::create_attribute_skel},
- {"create_interface", &POA_IR::HomeDef::create_interface_skel},
- {"_get_containing_repository", &POA_IR::HomeDef::_get_containing_repository_skel},
- {"create_factory", &POA_IR::HomeDef::create_factory_skel},
- {"create_primary_key", &POA_IR::HomeDef::create_primary_key_skel},
- };
-
- static const signed char lookup[] =
- {
- -1, -1, -6, -2, 4, 5, -1, -93, -1, -1, -1, 8, -1, 9,
- -1, -1, -10, -2, -90, -1, -12, -2, -90, -22, -2, 14, 15, 16,
- 17, 18, -1, 19, 20, 21, -1, -100, -1, 24, 25, -26, -2, -90,
- 28, 29, -30, -2, -90, -1, -1, 32, -35, -3, 33, 34, -92, -1,
- -1, -1, 38, 39, 40, 41, 42, 43, -1, -1, -1, -1, -1, -46,
- -2, 44, 45, -92, -48, -2, -90, -1, -1, -1, -1, 50, -1, -1,
- 51, -1, -1, -1, 52,
- };
-
- if (len <= MAX_WORD_LENGTH && len >= MIN_WORD_LENGTH)
- {
- unsigned int key = hash (str, len);
-
- if (key <= MAX_HASH_VALUE && key >= MIN_HASH_VALUE)
- {
- int slot = lookup[key];
-
- if (slot >= 0 && slot < MAX_HASH_VALUE)
- {
- const char *s = wordlist[slot].opname_;
-
- if (*str == *s && !strncmp (str + 1, s + 1, len - 1))
- return &wordlist[slot];
- }
- else if (slot < 0 && slot >= -MAX_HASH_VALUE)
- return 0;
- else
- {
- unsigned int offset = key + slot + (slot > 0 ? -MAX_HASH_VALUE : MAX_HASH_VALUE);
- const class TAO_operation_db_entry *base = &wordlist[-lookup[offset]];
- const class TAO_operation_db_entry *ptr = base + -lookup[offset + 1];
-
- while (--ptr >= base)
- if (*str == *ptr->opname_ && !strncmp (str + 1, ptr->opname_ + 1, len - 1))
- return ptr;
- }
- }
- }
- return 0;
-}
-/* ending time is 11:23:11 */
-static TAO_IR_HomeDef_Perfect_Hash_OpTable tao_IR_HomeDef_optable;
-
-///////////////////////////////////////////////////////////////////////
-// Strategized Proxy Broker Implementation
-//
-
-// Factory function Implementation.
-POA_IR::_TAO_HomeDef_Strategized_Proxy_Broker *POA_IR::_TAO_HomeDef_Strategized_Proxy_Broker::the_TAO_HomeDef_Strategized_Proxy_Broker (void)
-{
- static POA_IR::_TAO_HomeDef_Strategized_Proxy_Broker strategized_proxy_broker;
- return &strategized_proxy_broker;
-}
-
-POA_IR::_TAO_HomeDef_Strategized_Proxy_Broker::_TAO_HomeDef_Strategized_Proxy_Broker (void)
-{
- for (int i = 0; i < TAO_Collocation_Strategies::CS_LAST; ++i)
- this->proxy_cache_[i] = 0;
-
-}
-
-POA_IR::_TAO_HomeDef_Strategized_Proxy_Broker::~_TAO_HomeDef_Strategized_Proxy_Broker (void)
-{
- for (int i = 0; i < TAO_Collocation_Strategies::CS_LAST; ++i)
- delete this->proxy_cache_[i];
-
-}
-
-_TAO_HomeDef_Proxy_Impl&
-POA_IR::_TAO_HomeDef_Strategized_Proxy_Broker::select_proxy (
- IR_HomeDef *object,
- CORBA::Environment &ACE_TRY_ENV
- )
-{
- int strategy =
- TAO_ORB_Core::collocation_strategy (object);
-
- if (this->proxy_cache_[strategy] != 0)
- return *this->proxy_cache_[strategy];
-
- this->create_proxy (strategy, ACE_TRY_ENV);
- ACE_CHECK_RETURN (*this->proxy_cache_[strategy]);
-
- return *this->proxy_cache_[strategy];
-
-}
-
-void
-POA_IR::_TAO_HomeDef_Strategized_Proxy_Broker::create_proxy (
- int strategy,
- CORBA::Environment &ACE_TRY_ENV
- )
-{
- ACE_GUARD (TAO_SYNCH_MUTEX, guard, this->mutex_);
-
- if (this->proxy_cache_[strategy] == 0)
- {
- switch (strategy)
- {
- case TAO_Collocation_Strategies::CS_THRU_POA_STRATEGY:
- ACE_NEW_THROW_EX (
- this->proxy_cache_[strategy],
- _TAO_HomeDef_ThruPOA_Proxy_Impl,
- CORBA::NO_MEMORY ()
- );
- ACE_CHECK;
- break;
-
- case TAO_Collocation_Strategies::CS_REMOTE_STRATEGY:
- default:
- ACE_NEW_THROW_EX (
- this->proxy_cache_[strategy],
- _TAO_HomeDef_Remote_Proxy_Impl,
- CORBA::NO_MEMORY ()
- );
- ACE_CHECK;
- break;
-
- }
-
- }
-}
-
-
-//
-// End Strategized Proxy Broker Implementation
-///////////////////////////////////////////////////////////////////////
-
-
-_TAO_HomeDef_Proxy_Broker *
-_TAO_HomeDef_Proxy_Broker_Factory_function (CORBA::Object_ptr obj)
-{
- ACE_UNUSED_ARG (obj);
- return ::POA_IR::_TAO_HomeDef_Strategized_Proxy_Broker::the_TAO_HomeDef_Strategized_Proxy_Broker();
-}
-
-int
-_TAO_HomeDef_Proxy_Broker_Factory_Initializer (long _dummy_)
-{
- ACE_UNUSED_ARG (_dummy_);
-
- _TAO_HomeDef_Proxy_Broker_Factory_function_pointer =
- _TAO_HomeDef_Proxy_Broker_Factory_function;
-
- return 0;
-}
-
-static int _TAO_HomeDef_Proxy_Broker_Stub_Factory_Initializer_Scarecrow =
- _TAO_HomeDef_Proxy_Broker_Factory_Initializer (ACE_reinterpret_cast (long, _TAO_HomeDef_Proxy_Broker_Factory_Initializer));
-
-
-///////////////////////////////////////////////////////////////////////
-// ThruPOA Proxy Implementation
-//
-
-POA_IR::_TAO_HomeDef_ThruPOA_Proxy_Impl::_TAO_HomeDef_ThruPOA_Proxy_Impl (void)
-{}
-
-// ThruPOA Implementation of the IDL interface methods
-
-IR_HomeDef_ptr POA_IR::_TAO_HomeDef_ThruPOA_Proxy_Impl::base_home (
- CORBA_Object *_collocated_tao_target_,
- CORBA::Environment &ACE_TRY_ENV
- )
- ACE_THROW_SPEC ((
- CORBA::SystemException
- ))
-{
- IR_HomeDef_var _tao_retval;
- ACE_UNUSED_ARG (_tao_retval);
- TAO_Object_Adapter::Servant_Upcall servant_upcall (
- _collocated_tao_target_->_stubobj ()->servant_orb_var ()->orb_core ()
- );
- CORBA::Object_var forward_to;
- servant_upcall.prepare_for_upcall (
- _collocated_tao_target_->_object_key (),
- "base_home",
- forward_to.out (),
- ACE_TRY_ENV
- );
- ACE_CHECK_RETURN (0);
- return ACE_reinterpret_cast (
- POA_IR::HomeDef_ptr,
- servant_upcall.servant ()->_downcast (
- "IDL:omg.org/IR/HomeDef:1.0"
- )
- )->base_home (
- ACE_TRY_ENV
- );
-}
-
-IR_ComponentDef_ptr POA_IR::_TAO_HomeDef_ThruPOA_Proxy_Impl::managed_component (
- CORBA_Object *_collocated_tao_target_,
- CORBA::Environment &ACE_TRY_ENV
- )
- ACE_THROW_SPEC ((
- CORBA::SystemException
- ))
-{
- IR_ComponentDef_var _tao_retval;
- ACE_UNUSED_ARG (_tao_retval);
- TAO_Object_Adapter::Servant_Upcall servant_upcall (
- _collocated_tao_target_->_stubobj ()->servant_orb_var ()->orb_core ()
- );
- CORBA::Object_var forward_to;
- servant_upcall.prepare_for_upcall (
- _collocated_tao_target_->_object_key (),
- "managed_component",
- forward_to.out (),
- ACE_TRY_ENV
- );
- ACE_CHECK_RETURN (0);
- return ACE_reinterpret_cast (
- POA_IR::HomeDef_ptr,
- servant_upcall.servant ()->_downcast (
- "IDL:omg.org/IR/HomeDef:1.0"
- )
- )->managed_component (
- ACE_TRY_ENV
- );
-}
-
-IR_PrimaryKeyDef_ptr POA_IR::_TAO_HomeDef_ThruPOA_Proxy_Impl::primary_key (
- CORBA_Object *_collocated_tao_target_,
- CORBA::Environment &ACE_TRY_ENV
- )
- ACE_THROW_SPEC ((
- CORBA::SystemException
- ))
-{
- IR_PrimaryKeyDef_var _tao_retval;
- ACE_UNUSED_ARG (_tao_retval);
- TAO_Object_Adapter::Servant_Upcall servant_upcall (
- _collocated_tao_target_->_stubobj ()->servant_orb_var ()->orb_core ()
- );
- CORBA::Object_var forward_to;
- servant_upcall.prepare_for_upcall (
- _collocated_tao_target_->_object_key (),
- "primary_key",
- forward_to.out (),
- ACE_TRY_ENV
- );
- ACE_CHECK_RETURN (0);
- return ACE_reinterpret_cast (
- POA_IR::HomeDef_ptr,
- servant_upcall.servant ()->_downcast (
- "IDL:omg.org/IR/HomeDef:1.0"
- )
- )->primary_key (
- ACE_TRY_ENV
- );
-}
-
-IR_FactoryDefSeq * POA_IR::_TAO_HomeDef_ThruPOA_Proxy_Impl::factories (
- CORBA_Object *_collocated_tao_target_,
- CORBA::Environment &ACE_TRY_ENV
- )
- ACE_THROW_SPEC ((
- CORBA::SystemException
- ))
-{
- IR_FactoryDefSeq_var _tao_retval;
- ACE_UNUSED_ARG (_tao_retval);
- TAO_Object_Adapter::Servant_Upcall servant_upcall (
- _collocated_tao_target_->_stubobj ()->servant_orb_var ()->orb_core ()
- );
- CORBA::Object_var forward_to;
- servant_upcall.prepare_for_upcall (
- _collocated_tao_target_->_object_key (),
- "factories",
- forward_to.out (),
- ACE_TRY_ENV
- );
- ACE_CHECK_RETURN (0);
- return ACE_reinterpret_cast (
- POA_IR::HomeDef_ptr,
- servant_upcall.servant ()->_downcast (
- "IDL:omg.org/IR/HomeDef:1.0"
- )
- )->factories (
- ACE_TRY_ENV
- );
-}
-
-IR_FinderDefSeq * POA_IR::_TAO_HomeDef_ThruPOA_Proxy_Impl::finders (
- CORBA_Object *_collocated_tao_target_,
- CORBA::Environment &ACE_TRY_ENV
- )
- ACE_THROW_SPEC ((
- CORBA::SystemException
- ))
-{
- IR_FinderDefSeq_var _tao_retval;
- ACE_UNUSED_ARG (_tao_retval);
- TAO_Object_Adapter::Servant_Upcall servant_upcall (
- _collocated_tao_target_->_stubobj ()->servant_orb_var ()->orb_core ()
- );
- CORBA::Object_var forward_to;
- servant_upcall.prepare_for_upcall (
- _collocated_tao_target_->_object_key (),
- "finders",
- forward_to.out (),
- ACE_TRY_ENV
- );
- ACE_CHECK_RETURN (0);
- return ACE_reinterpret_cast (
- POA_IR::HomeDef_ptr,
- servant_upcall.servant ()->_downcast (
- "IDL:omg.org/IR/HomeDef:1.0"
- )
- )->finders (
- ACE_TRY_ENV
- );
-}
-
-CORBA::Boolean POA_IR::_TAO_HomeDef_ThruPOA_Proxy_Impl::is_basic (
- CORBA_Object *_collocated_tao_target_,
- CORBA::Environment &ACE_TRY_ENV
- )
- ACE_THROW_SPEC ((
- CORBA::SystemException
- ))
-{
- CORBA::Boolean _tao_retval = 0;
- ACE_UNUSED_ARG (_tao_retval);
- TAO_Object_Adapter::Servant_Upcall servant_upcall (
- _collocated_tao_target_->_stubobj ()->servant_orb_var ()->orb_core ()
- );
- CORBA::Object_var forward_to;
- servant_upcall.prepare_for_upcall (
- _collocated_tao_target_->_object_key (),
- "is_basic",
- forward_to.out (),
- ACE_TRY_ENV
- );
- ACE_CHECK_RETURN (_tao_retval);
- return ACE_reinterpret_cast (
- POA_IR::HomeDef_ptr,
- servant_upcall.servant ()->_downcast (
- "IDL:omg.org/IR/HomeDef:1.0"
- )
- )->is_basic (
- ACE_TRY_ENV
- );
-}
-
-IR_PrimaryKeyDef_ptr POA_IR::_TAO_HomeDef_ThruPOA_Proxy_Impl::create_primary_key (
- CORBA_Object *_collocated_tao_target_,
- const char * id,
- const char * name,
- const char * version,
- IR_ValueDef_ptr primary_key,
- CORBA::Environment &ACE_TRY_ENV
- )
- ACE_THROW_SPEC ((
- CORBA::SystemException
- ))
-{
- IR_PrimaryKeyDef_var _tao_retval;
- ACE_UNUSED_ARG (_tao_retval);
- TAO_Object_Adapter::Servant_Upcall servant_upcall (
- _collocated_tao_target_->_stubobj ()->servant_orb_var ()->orb_core ()
- );
- CORBA::Object_var forward_to;
- servant_upcall.prepare_for_upcall (
- _collocated_tao_target_->_object_key (),
- "create_primary_key",
- forward_to.out (),
- ACE_TRY_ENV
- );
- ACE_CHECK_RETURN (0);
- return ACE_reinterpret_cast (
- POA_IR::HomeDef_ptr,
- servant_upcall.servant ()->_downcast (
- "IDL:omg.org/IR/HomeDef:1.0"
- )
- )->create_primary_key (
- id,
- name,
- version,
- primary_key,
- ACE_TRY_ENV
- );
-}
-
-IR_FactoryDef_ptr POA_IR::_TAO_HomeDef_ThruPOA_Proxy_Impl::create_factory (
- CORBA_Object *_collocated_tao_target_,
- const char * id,
- const char * name,
- const char * version,
- const IR_ParDescriptionSeq & params,
- const IR_ExceptionDefSeq & exceptions,
- CORBA::Environment &ACE_TRY_ENV
- )
- ACE_THROW_SPEC ((
- CORBA::SystemException
- ))
-{
- IR_FactoryDef_var _tao_retval;
- ACE_UNUSED_ARG (_tao_retval);
- TAO_Object_Adapter::Servant_Upcall servant_upcall (
- _collocated_tao_target_->_stubobj ()->servant_orb_var ()->orb_core ()
- );
- CORBA::Object_var forward_to;
- servant_upcall.prepare_for_upcall (
- _collocated_tao_target_->_object_key (),
- "create_factory",
- forward_to.out (),
- ACE_TRY_ENV
- );
- ACE_CHECK_RETURN (0);
- return ACE_reinterpret_cast (
- POA_IR::HomeDef_ptr,
- servant_upcall.servant ()->_downcast (
- "IDL:omg.org/IR/HomeDef:1.0"
- )
- )->create_factory (
- id,
- name,
- version,
- params,
- exceptions,
- ACE_TRY_ENV
- );
-}
-
-IR_FinderDef_ptr POA_IR::_TAO_HomeDef_ThruPOA_Proxy_Impl::create_finder (
- CORBA_Object *_collocated_tao_target_,
- const char * id,
- const char * name,
- const char * version,
- const IR_ParDescriptionSeq & params,
- const IR_ExceptionDefSeq & exceptions,
- CORBA::Environment &ACE_TRY_ENV
- )
- ACE_THROW_SPEC ((
- CORBA::SystemException
- ))
-{
- IR_FinderDef_var _tao_retval;
- ACE_UNUSED_ARG (_tao_retval);
- TAO_Object_Adapter::Servant_Upcall servant_upcall (
- _collocated_tao_target_->_stubobj ()->servant_orb_var ()->orb_core ()
- );
- CORBA::Object_var forward_to;
- servant_upcall.prepare_for_upcall (
- _collocated_tao_target_->_object_key (),
- "create_finder",
- forward_to.out (),
- ACE_TRY_ENV
- );
- ACE_CHECK_RETURN (0);
- return ACE_reinterpret_cast (
- POA_IR::HomeDef_ptr,
- servant_upcall.servant ()->_downcast (
- "IDL:omg.org/IR/HomeDef:1.0"
- )
- )->create_finder (
- id,
- name,
- version,
- params,
- exceptions,
- ACE_TRY_ENV
- );
-}
-
-//
-// End ThruPOA Proxy Implementation
-///////////////////////////////////////////////////////////////////////
-
-// skeleton constructor
-POA_IR::HomeDef::HomeDef (void)
-{
- this->optable_ = &tao_IR_HomeDef_optable;
-}
-
-// copy ctor
-POA_IR::HomeDef::HomeDef (const HomeDef& rhs)
- : ACE_NESTED_CLASS (POA_IR,InterfaceDef) (rhs),
- ACE_NESTED_CLASS (POA_IR,Container) (rhs),
- ACE_NESTED_CLASS (POA_IR,Contained) (rhs),
- ACE_NESTED_CLASS (POA_IR,IDLType) (rhs),
- POA_CORBA_IRObject (rhs),
- TAO_ServantBase (rhs)
-{}
-
-// skeleton destructor
-POA_IR::HomeDef::~HomeDef (void)
-{
-}
-
-void POA_IR::HomeDef::_get_base_home_skel (
- TAO_ServerRequest &_tao_server_request,
- void *_tao_object_reference,
- void * /* context */,
- CORBA::Environment &ACE_TRY_ENV
-)
-{
- POA_IR::HomeDef *_tao_impl = (POA_IR::HomeDef *)_tao_object_reference;
-
- IR_HomeDef_var _tao_retval;
-
-#if (TAO_HAS_INTERCEPTORS == 1)
- TAO_ServerRequestInterceptor_Adapter _tao_vfr (
- _tao_server_request.orb_core ()->server_request_interceptors (),
- _tao_server_request.interceptor_count ()
- );
-
- POA_IR::HomeDef::TAO_ServerRequestInfo_IR_HomeDef_base_home_get ri (
- _tao_server_request,
- _tao_impl,
- ACE_TRY_ENV
- );
-
- ACE_TRY
- {
- _tao_vfr.receive_request (&ri, ACE_TRY_ENV);
- ACE_TRY_CHECK;
-
-#endif /* TAO_HAS_INTERCEPTORS */
- _tao_retval =
- _tao_impl->base_home (
- ACE_TRY_ENV
- );
- TAO_INTERCEPTOR_CHECK;
-
-#if (TAO_HAS_INTERCEPTORS == 1)
- IR_HomeDef_ptr _tao_retval_info = _tao_retval._retn ();
- ri.result (_tao_retval_info);
- _tao_retval = _tao_retval_info;
- ri.reply_status (PortableInterceptor::SUCCESSFUL);
- _tao_vfr.send_reply (&ri, ACE_TRY_ENV);
- ACE_TRY_CHECK;
- }
- ACE_CATCH (PortableInterceptor::ForwardRequest, exc)
- {
- ri.forward_reference (exc);
- _tao_vfr.send_other (
- &ri,
- ACE_TRY_ENV
- );
- ACE_TRY_CHECK;
- _tao_server_request.forward_location (exc.forward.in ());
- }
- ACE_CATCHANY
- {
- ri.exception (&ACE_ANY_EXCEPTION);
- _tao_vfr.send_exception (
- &ri,
- ACE_TRY_ENV
- );
- ACE_TRY_CHECK;
- ACE_RE_THROW;
- }
- ACE_ENDTRY;
- ACE_CHECK;
-#endif /* TAO_HAS_INTERCEPTORS */
-
- _tao_server_request.init_reply ();
-
- TAO_OutputCDR &_tao_out = _tao_server_request.outgoing ();
-
- if (!(
- (_tao_out << _tao_retval.in ())
- ))
- ACE_THROW (CORBA::MARSHAL());
-
- // In case ACE_TRY_ENV is not used in this function
- ACE_UNUSED_ARG (ACE_TRY_ENV);
-}
-
-void POA_IR::HomeDef::_get_managed_component_skel (
- TAO_ServerRequest &_tao_server_request,
- void *_tao_object_reference,
- void * /* context */,
- CORBA::Environment &ACE_TRY_ENV
-)
-{
- POA_IR::HomeDef *_tao_impl = (POA_IR::HomeDef *)_tao_object_reference;
-
- IR_ComponentDef_var _tao_retval;
-
-#if (TAO_HAS_INTERCEPTORS == 1)
- TAO_ServerRequestInterceptor_Adapter _tao_vfr (
- _tao_server_request.orb_core ()->server_request_interceptors (),
- _tao_server_request.interceptor_count ()
- );
-
- POA_IR::HomeDef::TAO_ServerRequestInfo_IR_HomeDef_managed_component_get ri (
- _tao_server_request,
- _tao_impl,
- ACE_TRY_ENV
- );
-
- ACE_TRY
- {
- _tao_vfr.receive_request (&ri, ACE_TRY_ENV);
- ACE_TRY_CHECK;
-
-#endif /* TAO_HAS_INTERCEPTORS */
- _tao_retval =
- _tao_impl->managed_component (
- ACE_TRY_ENV
- );
- TAO_INTERCEPTOR_CHECK;
-
-#if (TAO_HAS_INTERCEPTORS == 1)
- IR_ComponentDef_ptr _tao_retval_info = _tao_retval._retn ();
- ri.result (_tao_retval_info);
- _tao_retval = _tao_retval_info;
- ri.reply_status (PortableInterceptor::SUCCESSFUL);
- _tao_vfr.send_reply (&ri, ACE_TRY_ENV);
- ACE_TRY_CHECK;
- }
- ACE_CATCH (PortableInterceptor::ForwardRequest, exc)
- {
- ri.forward_reference (exc);
- _tao_vfr.send_other (
- &ri,
- ACE_TRY_ENV
- );
- ACE_TRY_CHECK;
- _tao_server_request.forward_location (exc.forward.in ());
- }
- ACE_CATCHANY
- {
- ri.exception (&ACE_ANY_EXCEPTION);
- _tao_vfr.send_exception (
- &ri,
- ACE_TRY_ENV
- );
- ACE_TRY_CHECK;
- ACE_RE_THROW;
- }
- ACE_ENDTRY;
- ACE_CHECK;
-#endif /* TAO_HAS_INTERCEPTORS */
-
- _tao_server_request.init_reply ();
-
- TAO_OutputCDR &_tao_out = _tao_server_request.outgoing ();
-
- if (!(
- (_tao_out << _tao_retval.in ())
- ))
- ACE_THROW (CORBA::MARSHAL());
-
- // In case ACE_TRY_ENV is not used in this function
- ACE_UNUSED_ARG (ACE_TRY_ENV);
-}
-
-void POA_IR::HomeDef::_get_primary_key_skel (
- TAO_ServerRequest &_tao_server_request,
- void *_tao_object_reference,
- void * /* context */,
- CORBA::Environment &ACE_TRY_ENV
-)
-{
- POA_IR::HomeDef *_tao_impl = (POA_IR::HomeDef *)_tao_object_reference;
-
- IR_PrimaryKeyDef_var _tao_retval;
-
-#if (TAO_HAS_INTERCEPTORS == 1)
- TAO_ServerRequestInterceptor_Adapter _tao_vfr (
- _tao_server_request.orb_core ()->server_request_interceptors (),
- _tao_server_request.interceptor_count ()
- );
-
- POA_IR::HomeDef::TAO_ServerRequestInfo_IR_HomeDef_primary_key_get ri (
- _tao_server_request,
- _tao_impl,
- ACE_TRY_ENV
- );
-
- ACE_TRY
- {
- _tao_vfr.receive_request (&ri, ACE_TRY_ENV);
- ACE_TRY_CHECK;
-
-#endif /* TAO_HAS_INTERCEPTORS */
- _tao_retval =
- _tao_impl->primary_key (
- ACE_TRY_ENV
- );
- TAO_INTERCEPTOR_CHECK;
-
-#if (TAO_HAS_INTERCEPTORS == 1)
- IR_PrimaryKeyDef_ptr _tao_retval_info = _tao_retval._retn ();
- ri.result (_tao_retval_info);
- _tao_retval = _tao_retval_info;
- ri.reply_status (PortableInterceptor::SUCCESSFUL);
- _tao_vfr.send_reply (&ri, ACE_TRY_ENV);
- ACE_TRY_CHECK;
- }
- ACE_CATCH (PortableInterceptor::ForwardRequest, exc)
- {
- ri.forward_reference (exc);
- _tao_vfr.send_other (
- &ri,
- ACE_TRY_ENV
- );
- ACE_TRY_CHECK;
- _tao_server_request.forward_location (exc.forward.in ());
- }
- ACE_CATCHANY
- {
- ri.exception (&ACE_ANY_EXCEPTION);
- _tao_vfr.send_exception (
- &ri,
- ACE_TRY_ENV
- );
- ACE_TRY_CHECK;
- ACE_RE_THROW;
- }
- ACE_ENDTRY;
- ACE_CHECK;
-#endif /* TAO_HAS_INTERCEPTORS */
-
- _tao_server_request.init_reply ();
-
- TAO_OutputCDR &_tao_out = _tao_server_request.outgoing ();
-
- if (!(
- (_tao_out << _tao_retval.in ())
- ))
- ACE_THROW (CORBA::MARSHAL());
-
- // In case ACE_TRY_ENV is not used in this function
- ACE_UNUSED_ARG (ACE_TRY_ENV);
-}
-
-void POA_IR::HomeDef::_get_factories_skel (
- TAO_ServerRequest &_tao_server_request,
- void *_tao_object_reference,
- void * /* context */,
- CORBA::Environment &ACE_TRY_ENV
-)
-{
- POA_IR::HomeDef *_tao_impl = (POA_IR::HomeDef *)_tao_object_reference;
-
- IR_FactoryDefSeq_var _tao_retval;
-
-#if (TAO_HAS_INTERCEPTORS == 1)
- TAO_ServerRequestInterceptor_Adapter _tao_vfr (
- _tao_server_request.orb_core ()->server_request_interceptors (),
- _tao_server_request.interceptor_count ()
- );
-
- POA_IR::HomeDef::TAO_ServerRequestInfo_IR_HomeDef_factories_get ri (
- _tao_server_request,
- _tao_impl,
- ACE_TRY_ENV
- );
-
- ACE_TRY
- {
- _tao_vfr.receive_request (&ri, ACE_TRY_ENV);
- ACE_TRY_CHECK;
-
-#endif /* TAO_HAS_INTERCEPTORS */
- _tao_retval =
- _tao_impl->factories (
- ACE_TRY_ENV
- );
- TAO_INTERCEPTOR_CHECK;
-
-#if (TAO_HAS_INTERCEPTORS == 1)
- IR_FactoryDefSeq * _tao_retval_info = _tao_retval._retn ();
- ri.result (_tao_retval_info);
- _tao_retval = _tao_retval_info;
- ri.reply_status (PortableInterceptor::SUCCESSFUL);
- _tao_vfr.send_reply (&ri, ACE_TRY_ENV);
- ACE_TRY_CHECK;
- }
- ACE_CATCH (PortableInterceptor::ForwardRequest, exc)
- {
- ri.forward_reference (exc);
- _tao_vfr.send_other (
- &ri,
- ACE_TRY_ENV
- );
- ACE_TRY_CHECK;
- _tao_server_request.forward_location (exc.forward.in ());
- }
- ACE_CATCHANY
- {
- ri.exception (&ACE_ANY_EXCEPTION);
- _tao_vfr.send_exception (
- &ri,
- ACE_TRY_ENV
- );
- ACE_TRY_CHECK;
- ACE_RE_THROW;
- }
- ACE_ENDTRY;
- ACE_CHECK;
-#endif /* TAO_HAS_INTERCEPTORS */
-
- _tao_server_request.init_reply ();
-
- TAO_OutputCDR &_tao_out = _tao_server_request.outgoing ();
-
- if (!(
- (_tao_out << _tao_retval.in ())
- ))
- ACE_THROW (CORBA::MARSHAL());
-
- // In case ACE_TRY_ENV is not used in this function
- ACE_UNUSED_ARG (ACE_TRY_ENV);
-}
-
-void POA_IR::HomeDef::_get_finders_skel (
- TAO_ServerRequest &_tao_server_request,
- void *_tao_object_reference,
- void * /* context */,
- CORBA::Environment &ACE_TRY_ENV
-)
-{
- POA_IR::HomeDef *_tao_impl = (POA_IR::HomeDef *)_tao_object_reference;
-
- IR_FinderDefSeq_var _tao_retval;
-
-#if (TAO_HAS_INTERCEPTORS == 1)
- TAO_ServerRequestInterceptor_Adapter _tao_vfr (
- _tao_server_request.orb_core ()->server_request_interceptors (),
- _tao_server_request.interceptor_count ()
- );
-
- POA_IR::HomeDef::TAO_ServerRequestInfo_IR_HomeDef_finders_get ri (
- _tao_server_request,
- _tao_impl,
- ACE_TRY_ENV
- );
-
- ACE_TRY
- {
- _tao_vfr.receive_request (&ri, ACE_TRY_ENV);
- ACE_TRY_CHECK;
-
-#endif /* TAO_HAS_INTERCEPTORS */
- _tao_retval =
- _tao_impl->finders (
- ACE_TRY_ENV
- );
- TAO_INTERCEPTOR_CHECK;
-
-#if (TAO_HAS_INTERCEPTORS == 1)
- IR_FinderDefSeq * _tao_retval_info = _tao_retval._retn ();
- ri.result (_tao_retval_info);
- _tao_retval = _tao_retval_info;
- ri.reply_status (PortableInterceptor::SUCCESSFUL);
- _tao_vfr.send_reply (&ri, ACE_TRY_ENV);
- ACE_TRY_CHECK;
- }
- ACE_CATCH (PortableInterceptor::ForwardRequest, exc)
- {
- ri.forward_reference (exc);
- _tao_vfr.send_other (
- &ri,
- ACE_TRY_ENV
- );
- ACE_TRY_CHECK;
- _tao_server_request.forward_location (exc.forward.in ());
- }
- ACE_CATCHANY
- {
- ri.exception (&ACE_ANY_EXCEPTION);
- _tao_vfr.send_exception (
- &ri,
- ACE_TRY_ENV
- );
- ACE_TRY_CHECK;
- ACE_RE_THROW;
- }
- ACE_ENDTRY;
- ACE_CHECK;
-#endif /* TAO_HAS_INTERCEPTORS */
-
- _tao_server_request.init_reply ();
-
- TAO_OutputCDR &_tao_out = _tao_server_request.outgoing ();
-
- if (!(
- (_tao_out << _tao_retval.in ())
- ))
- ACE_THROW (CORBA::MARSHAL());
-
- // In case ACE_TRY_ENV is not used in this function
- ACE_UNUSED_ARG (ACE_TRY_ENV);
-}
-
-void POA_IR::HomeDef::_get_is_basic_skel (
- TAO_ServerRequest &_tao_server_request,
- void *_tao_object_reference,
- void * /* context */,
- CORBA::Environment &ACE_TRY_ENV
-)
-{
- POA_IR::HomeDef *_tao_impl = (POA_IR::HomeDef *)_tao_object_reference;
-
- CORBA::Boolean _tao_retval = 0;
-
-#if (TAO_HAS_INTERCEPTORS == 1)
- TAO_ServerRequestInterceptor_Adapter _tao_vfr (
- _tao_server_request.orb_core ()->server_request_interceptors (),
- _tao_server_request.interceptor_count ()
- );
-
- POA_IR::HomeDef::TAO_ServerRequestInfo_IR_HomeDef_is_basic_get ri (
- _tao_server_request,
- _tao_impl,
- ACE_TRY_ENV
- );
-
- ACE_TRY
- {
- _tao_vfr.receive_request (&ri, ACE_TRY_ENV);
- ACE_TRY_CHECK;
-
-#endif /* TAO_HAS_INTERCEPTORS */
- _tao_retval =
- _tao_impl->is_basic (
- ACE_TRY_ENV
- );
- TAO_INTERCEPTOR_CHECK;
-
-#if (TAO_HAS_INTERCEPTORS == 1)
- CORBA::Boolean _tao_retval_info = _tao_retval;
- ri.result (_tao_retval_info);
- ri.reply_status (PortableInterceptor::SUCCESSFUL);
- _tao_vfr.send_reply (&ri, ACE_TRY_ENV);
- ACE_TRY_CHECK;
- }
- ACE_CATCH (PortableInterceptor::ForwardRequest, exc)
- {
- ri.forward_reference (exc);
- _tao_vfr.send_other (
- &ri,
- ACE_TRY_ENV
- );
- ACE_TRY_CHECK;
- _tao_server_request.forward_location (exc.forward.in ());
- }
- ACE_CATCHANY
- {
- ri.exception (&ACE_ANY_EXCEPTION);
- _tao_vfr.send_exception (
- &ri,
- ACE_TRY_ENV
- );
- ACE_TRY_CHECK;
- ACE_RE_THROW;
- }
- ACE_ENDTRY;
- ACE_CHECK;
-#endif /* TAO_HAS_INTERCEPTORS */
-
- _tao_server_request.init_reply ();
-
- TAO_OutputCDR &_tao_out = _tao_server_request.outgoing ();
-
- if (!(
- (_tao_out << CORBA::Any::from_boolean (_tao_retval))
- ))
- ACE_THROW (CORBA::MARSHAL());
-
- // In case ACE_TRY_ENV is not used in this function
- ACE_UNUSED_ARG (ACE_TRY_ENV);
-}
-
-void POA_IR::HomeDef::create_primary_key_skel (
- TAO_ServerRequest &_tao_server_request,
- void *_tao_object_reference,
- void * /* context */,
- CORBA::Environment &ACE_TRY_ENV
-)
-{
- TAO_InputCDR &_tao_in = _tao_server_request.incoming ();
- POA_IR::HomeDef *_tao_impl = (POA_IR::HomeDef *)_tao_object_reference;
-
- IR_PrimaryKeyDef_var _tao_retval;
- CORBA::String_var id;
- CORBA::String_var name;
- CORBA::String_var version;
- IR_ValueDef_var primary_key;
- if (!(
- (_tao_in >> id.out ()) &&
- (_tao_in >> name.out ()) &&
- (_tao_in >> version.out ()) &&
- (_tao_in >> primary_key.out ())
- ))
- ACE_THROW (CORBA::MARSHAL () );
-
-#if (TAO_HAS_INTERCEPTORS == 1)
- TAO_ServerRequestInterceptor_Adapter _tao_vfr (
- _tao_server_request.orb_core ()->server_request_interceptors (),
- _tao_server_request.interceptor_count ()
- );
-
- POA_IR::HomeDef::TAO_ServerRequestInfo_IR_HomeDef_create_primary_key ri (
- _tao_server_request,
- _tao_impl,
- id.in (),
- name.in (),
- version.in (),
- primary_key.in (),
- ACE_TRY_ENV
- );
-
- ACE_TRY
- {
- _tao_vfr.receive_request (&ri, ACE_TRY_ENV);
- ACE_TRY_CHECK;
-
-#endif /* TAO_HAS_INTERCEPTORS */
- _tao_retval =
- _tao_impl->create_primary_key (
- id.in (),
- name.in (),
- version.in (),
- primary_key.in (),
- ACE_TRY_ENV
- );
- TAO_INTERCEPTOR_CHECK;
-
-#if (TAO_HAS_INTERCEPTORS == 1)
- IR_PrimaryKeyDef_ptr _tao_retval_info = _tao_retval._retn ();
- ri.result (_tao_retval_info);
- _tao_retval = _tao_retval_info;
- ri.reply_status (PortableInterceptor::SUCCESSFUL);
- _tao_vfr.send_reply (&ri, ACE_TRY_ENV);
- ACE_TRY_CHECK;
- }
- ACE_CATCH (PortableInterceptor::ForwardRequest, exc)
- {
- ri.forward_reference (exc);
- _tao_vfr.send_other (
- &ri,
- ACE_TRY_ENV
- );
- ACE_TRY_CHECK;
- _tao_server_request.forward_location (exc.forward.in ());
- }
- ACE_CATCHANY
- {
- ri.exception (&ACE_ANY_EXCEPTION);
- _tao_vfr.send_exception (
- &ri,
- ACE_TRY_ENV
- );
- ACE_TRY_CHECK;
- ACE_RE_THROW;
- }
- ACE_ENDTRY;
- ACE_CHECK;
-#endif /* TAO_HAS_INTERCEPTORS */
-
- _tao_server_request.init_reply ();
-
- TAO_OutputCDR &_tao_out = _tao_server_request.outgoing ();
-
- if (!(
- (_tao_out << _tao_retval.in ())
- ))
- ACE_THROW (CORBA::MARSHAL());
-
- // In case ACE_TRY_ENV is not used in this function
- ACE_UNUSED_ARG (ACE_TRY_ENV);
-}
-
-void POA_IR::HomeDef::create_factory_skel (
- TAO_ServerRequest &_tao_server_request,
- void *_tao_object_reference,
- void * /* context */,
- CORBA::Environment &ACE_TRY_ENV
-)
-{
- TAO_InputCDR &_tao_in = _tao_server_request.incoming ();
- POA_IR::HomeDef *_tao_impl = (POA_IR::HomeDef *)_tao_object_reference;
-
- IR_FactoryDef_var _tao_retval;
- CORBA::String_var id;
- CORBA::String_var name;
- CORBA::String_var version;
- IR_ParDescriptionSeq params;
- IR_ExceptionDefSeq exceptions;
- if (!(
- (_tao_in >> id.out ()) &&
- (_tao_in >> name.out ()) &&
- (_tao_in >> version.out ()) &&
- (_tao_in >> params) &&
- (_tao_in >> exceptions)
- ))
- ACE_THROW (CORBA::MARSHAL () );
-
-#if (TAO_HAS_INTERCEPTORS == 1)
- TAO_ServerRequestInterceptor_Adapter _tao_vfr (
- _tao_server_request.orb_core ()->server_request_interceptors (),
- _tao_server_request.interceptor_count ()
- );
-
- POA_IR::HomeDef::TAO_ServerRequestInfo_IR_HomeDef_create_factory ri (
- _tao_server_request,
- _tao_impl,
- id.in (),
- name.in (),
- version.in (),
- params,
- exceptions,
- ACE_TRY_ENV
- );
-
- ACE_TRY
- {
- _tao_vfr.receive_request (&ri, ACE_TRY_ENV);
- ACE_TRY_CHECK;
-
-#endif /* TAO_HAS_INTERCEPTORS */
- _tao_retval =
- _tao_impl->create_factory (
- id.in (),
- name.in (),
- version.in (),
- params,
- exceptions,
- ACE_TRY_ENV
- );
- TAO_INTERCEPTOR_CHECK;
-
-#if (TAO_HAS_INTERCEPTORS == 1)
- IR_FactoryDef_ptr _tao_retval_info = _tao_retval._retn ();
- ri.result (_tao_retval_info);
- _tao_retval = _tao_retval_info;
- ri.reply_status (PortableInterceptor::SUCCESSFUL);
- _tao_vfr.send_reply (&ri, ACE_TRY_ENV);
- ACE_TRY_CHECK;
- }
- ACE_CATCH (PortableInterceptor::ForwardRequest, exc)
- {
- ri.forward_reference (exc);
- _tao_vfr.send_other (
- &ri,
- ACE_TRY_ENV
- );
- ACE_TRY_CHECK;
- _tao_server_request.forward_location (exc.forward.in ());
- }
- ACE_CATCHANY
- {
- ri.exception (&ACE_ANY_EXCEPTION);
- _tao_vfr.send_exception (
- &ri,
- ACE_TRY_ENV
- );
- ACE_TRY_CHECK;
- ACE_RE_THROW;
- }
- ACE_ENDTRY;
- ACE_CHECK;
-#endif /* TAO_HAS_INTERCEPTORS */
-
- _tao_server_request.init_reply ();
-
- TAO_OutputCDR &_tao_out = _tao_server_request.outgoing ();
-
- if (!(
- (_tao_out << _tao_retval.in ())
- ))
- ACE_THROW (CORBA::MARSHAL());
-
- // In case ACE_TRY_ENV is not used in this function
- ACE_UNUSED_ARG (ACE_TRY_ENV);
-}
-
-void POA_IR::HomeDef::create_finder_skel (
- TAO_ServerRequest &_tao_server_request,
- void *_tao_object_reference,
- void * /* context */,
- CORBA::Environment &ACE_TRY_ENV
-)
-{
- TAO_InputCDR &_tao_in = _tao_server_request.incoming ();
- POA_IR::HomeDef *_tao_impl = (POA_IR::HomeDef *)_tao_object_reference;
-
- IR_FinderDef_var _tao_retval;
- CORBA::String_var id;
- CORBA::String_var name;
- CORBA::String_var version;
- IR_ParDescriptionSeq params;
- IR_ExceptionDefSeq exceptions;
- if (!(
- (_tao_in >> id.out ()) &&
- (_tao_in >> name.out ()) &&
- (_tao_in >> version.out ()) &&
- (_tao_in >> params) &&
- (_tao_in >> exceptions)
- ))
- ACE_THROW (CORBA::MARSHAL () );
-
-#if (TAO_HAS_INTERCEPTORS == 1)
- TAO_ServerRequestInterceptor_Adapter _tao_vfr (
- _tao_server_request.orb_core ()->server_request_interceptors (),
- _tao_server_request.interceptor_count ()
- );
-
- POA_IR::HomeDef::TAO_ServerRequestInfo_IR_HomeDef_create_finder ri (
- _tao_server_request,
- _tao_impl,
- id.in (),
- name.in (),
- version.in (),
- params,
- exceptions,
- ACE_TRY_ENV
- );
-
- ACE_TRY
- {
- _tao_vfr.receive_request (&ri, ACE_TRY_ENV);
- ACE_TRY_CHECK;
-
-#endif /* TAO_HAS_INTERCEPTORS */
- _tao_retval =
- _tao_impl->create_finder (
- id.in (),
- name.in (),
- version.in (),
- params,
- exceptions,
- ACE_TRY_ENV
- );
- TAO_INTERCEPTOR_CHECK;
-
-#if (TAO_HAS_INTERCEPTORS == 1)
- IR_FinderDef_ptr _tao_retval_info = _tao_retval._retn ();
- ri.result (_tao_retval_info);
- _tao_retval = _tao_retval_info;
- ri.reply_status (PortableInterceptor::SUCCESSFUL);
- _tao_vfr.send_reply (&ri, ACE_TRY_ENV);
- ACE_TRY_CHECK;
- }
- ACE_CATCH (PortableInterceptor::ForwardRequest, exc)
- {
- ri.forward_reference (exc);
- _tao_vfr.send_other (
- &ri,
- ACE_TRY_ENV
- );
- ACE_TRY_CHECK;
- _tao_server_request.forward_location (exc.forward.in ());
- }
- ACE_CATCHANY
- {
- ri.exception (&ACE_ANY_EXCEPTION);
- _tao_vfr.send_exception (
- &ri,
- ACE_TRY_ENV
- );
- ACE_TRY_CHECK;
- ACE_RE_THROW;
- }
- ACE_ENDTRY;
- ACE_CHECK;
-#endif /* TAO_HAS_INTERCEPTORS */
-
- _tao_server_request.init_reply ();
-
- TAO_OutputCDR &_tao_out = _tao_server_request.outgoing ();
-
- if (!(
- (_tao_out << _tao_retval.in ())
- ))
- ACE_THROW (CORBA::MARSHAL());
-
- // In case ACE_TRY_ENV is not used in this function
- ACE_UNUSED_ARG (ACE_TRY_ENV);
-}
-
-void POA_IR::HomeDef::_is_a_skel (
- TAO_ServerRequest &_tao_server_request,
- void * _tao_object_reference,
- void * /* context */,
- CORBA::Environment &ACE_TRY_ENV
- )
-{
- TAO_InputCDR &_tao_in = _tao_server_request.incoming ();
- POA_IR::HomeDef *_tao_impl = (POA_IR::HomeDef *) _tao_object_reference;
- CORBA::Boolean _tao_retval = 0;
- CORBA::String_var value;
- if (!((_tao_in >> value.out ())))
- ACE_THROW (CORBA::MARSHAL ());
-
- _tao_retval = _tao_impl->_is_a (value.in (), ACE_TRY_ENV);
- ACE_CHECK;
-
- _tao_server_request.init_reply ();
- TAO_OutputCDR &_tao_out = _tao_server_request.outgoing ();
- if (!((_tao_out << CORBA::Any::from_boolean (_tao_retval))))
- ACE_THROW (CORBA::MARSHAL ());
-}
-
-void POA_IR::HomeDef::_non_existent_skel (
- TAO_ServerRequest &_tao_server_request,
- void * _tao_object_reference,
- void * /* context */,
- CORBA::Environment &ACE_TRY_ENV
- )
-{
- POA_IR::HomeDef *_tao_impl = (POA_IR::HomeDef *) _tao_object_reference;
- CORBA::Boolean _tao_retval = _tao_impl->_non_existent (ACE_TRY_ENV);
- ACE_CHECK;
-
- _tao_server_request.init_reply ();
- TAO_OutputCDR &_tao_out = _tao_server_request.outgoing ();
- if (!((_tao_out << CORBA::Any::from_boolean (_tao_retval))))
- ACE_THROW (CORBA::MARSHAL ());
-}
-
-CORBA::Boolean POA_IR::HomeDef::_is_a (
- const char* value,
- CORBA::Environment &ACE_TRY_ENV
- )
-{
- if (
- (!ACE_OS::strcmp ((char *)value, "IDL:omg.org/IR/HomeDef:1.0")) ||
- (!ACE_OS::strcmp ((char *)value, "IDL:omg.org/IR/InterfaceDef:1.0")) ||
- (!ACE_OS::strcmp ((char *)value, "IDL:omg.org/IR/Container:1.0")) ||
- (!ACE_OS::strcmp ((char *)value, "IDL:omg.org/IR/Contained:1.0")) ||
- (!ACE_OS::strcmp ((char *)value, "IDL:omg.org/IR/IDLType:1.0")) ||
- (!ACE_OS::strcmp ((char *)value, "IDL:omg.org/CORBA/IRObject:1.0")) ||
- (!ACE_OS::strcmp ((char *)value, CORBA::_tc_Object->id (ACE_TRY_ENV))))
- return 1;
- else
- return 0;
-}
-
-void* POA_IR::HomeDef::_downcast (
- const char* logical_type_id
- )
-{
- if (ACE_OS::strcmp (logical_type_id, "IDL:omg.org/IR/HomeDef:1.0") == 0)
- return ACE_static_cast (POA_IR::HomeDef_ptr, this);
- if (ACE_OS::strcmp (logical_type_id, "IDL:omg.org/IR/InterfaceDef:1.0") == 0)
- return ACE_static_cast (POA_IR::InterfaceDef_ptr, this);
- if (ACE_OS::strcmp (logical_type_id, "IDL:omg.org/IR/Container:1.0") == 0)
- return ACE_static_cast (POA_IR::Container_ptr, this);
- if (ACE_OS::strcmp (logical_type_id, "IDL:omg.org/IR/Contained:1.0") == 0)
- return ACE_static_cast (POA_IR::Contained_ptr, this);
- if (ACE_OS::strcmp (logical_type_id, "IDL:omg.org/IR/IDLType:1.0") == 0)
- return ACE_static_cast (POA_IR::IDLType_ptr, this);
- if (ACE_OS::strcmp (logical_type_id, "IDL:omg.org/CORBA/IRObject:1.0") == 0)
- return ACE_static_cast (POA_CORBA_IRObject_ptr, this);
- if (ACE_OS::strcmp (logical_type_id, "IDL:omg.org/CORBA/Object:1.0") == 0)
- return ACE_static_cast(PortableServer::Servant, this);
- return 0;
-}
-
-void POA_IR::HomeDef::_dispatch (TAO_ServerRequest &req, void *context, CORBA::Environment &ACE_TRY_ENV)
-{
- this->synchronous_upcall_dispatch(req, context, this, ACE_TRY_ENV);
-}
-
-const char* POA_IR::HomeDef::_interface_repository_id (void) const
-{
- return "IDL:omg.org/IR/HomeDef:1.0";
-}
-
-IR::HomeDef*
-POA_IR::HomeDef::_this (CORBA_Environment &ACE_TRY_ENV)
-{
- TAO_Stub *stub = this->_create_stub (ACE_TRY_ENV);
- ACE_CHECK_RETURN (0);
-
- CORBA::Object_ptr tmp = CORBA::Object::_nil ();
-
- if (stub->servant_orb_var ()->orb_core ()->optimize_collocation_objects ())
- ACE_NEW_RETURN (tmp, CORBA::Object (stub, 1, this), 0);
- else
- ACE_NEW_RETURN (tmp, CORBA::Object (stub, 0, this), 0);
-
- CORBA::Object_var obj = tmp;
- return IR_HomeDef::_unchecked_narrow (obj.in ());
-}
-
-#if (TAO_HAS_INTERCEPTORS == 1)
-POA_IR::HomeDef::TAO_ServerRequestInfo_IR_HomeDef_base_home_get::TAO_ServerRequestInfo_IR_HomeDef_base_home_get (
- TAO_ServerRequest &_tao_server_request,
- POA_IR::HomeDef *tao_impl,
- CORBA::Environment &
- )
- : TAO_ServerRequestInfo (_tao_server_request),
- _tao_impl (tao_impl)
-{}
-
-Dynamic::ParameterList *
-POA_IR::HomeDef::TAO_ServerRequestInfo_IR_HomeDef_base_home_get::arguments (CORBA::Environment &ACE_TRY_ENV)
- ACE_THROW_SPEC ((CORBA::SystemException))
-{
- // Generate the argument list on demand.
- Dynamic::ParameterList *parameter_list =
- TAO_RequestInfo_Util::make_parameter_list (ACE_TRY_ENV);
- ACE_CHECK_RETURN (0);
-
- return parameter_list;
-}
-
-Dynamic::ExceptionList *
-POA_IR::HomeDef::TAO_ServerRequestInfo_IR_HomeDef_base_home_get::exceptions (CORBA::Environment &ACE_TRY_ENV)
- ACE_THROW_SPEC ((CORBA::SystemException))
-{
- // Generate the exception list on demand.
- Dynamic::ExceptionList *exception_list =
- TAO_RequestInfo_Util::make_exception_list (ACE_TRY_ENV);
- ACE_CHECK_RETURN (0);
-
- return exception_list;
-}
-
-CORBA::Any *
-POA_IR::HomeDef::TAO_ServerRequestInfo_IR_HomeDef_base_home_get::result (CORBA::Environment &ACE_TRY_ENV)
- ACE_THROW_SPEC ((CORBA::SystemException))
-{
- // Generate the result on demand.
- CORBA::Boolean tk_void_any = 0;
- CORBA::Any *result_any =
- TAO_RequestInfo_Util::make_any (tk_void_any, ACE_TRY_ENV);
- ACE_CHECK_RETURN (0);
-
- CORBA::Any_var safe_result_any = result_any;
-
- (*result_any) <<= this->_result;
-
- return safe_result_any._retn ();
-}
-
-char *
-POA_IR::HomeDef::TAO_ServerRequestInfo_IR_HomeDef_base_home_get::target_most_derived_interface (
- CORBA::Environment &)
- ACE_THROW_SPEC ((CORBA::SystemException))
-{
- return
- CORBA::string_dup (this->_tao_impl->_interface_repository_id ());
-}
-
-CORBA::Boolean
-POA_IR::HomeDef::TAO_ServerRequestInfo_IR_HomeDef_base_home_get::target_is_a (
- const char * id,
- CORBA::Environment &ACE_TRY_ENV)
- ACE_THROW_SPEC ((CORBA::SystemException))
-{
- return this->_tao_impl->_is_a (id, ACE_TRY_ENV);
-}
-
-void
-POA_IR::HomeDef::TAO_ServerRequestInfo_IR_HomeDef_base_home_get::result (IR::HomeDef_ptr result)
-{
- // Update the result.
- this->_result = result;
-}
-
-POA_IR::HomeDef::TAO_ServerRequestInfo_IR_HomeDef_managed_component_get::TAO_ServerRequestInfo_IR_HomeDef_managed_component_get (
- TAO_ServerRequest &_tao_server_request,
- POA_IR::HomeDef *tao_impl,
- CORBA::Environment &
- )
- : TAO_ServerRequestInfo (_tao_server_request),
- _tao_impl (tao_impl)
-{}
-
-Dynamic::ParameterList *
-POA_IR::HomeDef::TAO_ServerRequestInfo_IR_HomeDef_managed_component_get::arguments (CORBA::Environment &ACE_TRY_ENV)
- ACE_THROW_SPEC ((CORBA::SystemException))
-{
- // Generate the argument list on demand.
- Dynamic::ParameterList *parameter_list =
- TAO_RequestInfo_Util::make_parameter_list (ACE_TRY_ENV);
- ACE_CHECK_RETURN (0);
-
- return parameter_list;
-}
-
-Dynamic::ExceptionList *
-POA_IR::HomeDef::TAO_ServerRequestInfo_IR_HomeDef_managed_component_get::exceptions (CORBA::Environment &ACE_TRY_ENV)
- ACE_THROW_SPEC ((CORBA::SystemException))
-{
- // Generate the exception list on demand.
- Dynamic::ExceptionList *exception_list =
- TAO_RequestInfo_Util::make_exception_list (ACE_TRY_ENV);
- ACE_CHECK_RETURN (0);
-
- return exception_list;
-}
-
-CORBA::Any *
-POA_IR::HomeDef::TAO_ServerRequestInfo_IR_HomeDef_managed_component_get::result (CORBA::Environment &ACE_TRY_ENV)
- ACE_THROW_SPEC ((CORBA::SystemException))
-{
- // Generate the result on demand.
- CORBA::Boolean tk_void_any = 0;
- CORBA::Any *result_any =
- TAO_RequestInfo_Util::make_any (tk_void_any, ACE_TRY_ENV);
- ACE_CHECK_RETURN (0);
-
- CORBA::Any_var safe_result_any = result_any;
-
- (*result_any) <<= this->_result;
-
- return safe_result_any._retn ();
-}
-
-char *
-POA_IR::HomeDef::TAO_ServerRequestInfo_IR_HomeDef_managed_component_get::target_most_derived_interface (
- CORBA::Environment &)
- ACE_THROW_SPEC ((CORBA::SystemException))
-{
- return
- CORBA::string_dup (this->_tao_impl->_interface_repository_id ());
-}
-
-CORBA::Boolean
-POA_IR::HomeDef::TAO_ServerRequestInfo_IR_HomeDef_managed_component_get::target_is_a (
- const char * id,
- CORBA::Environment &ACE_TRY_ENV)
- ACE_THROW_SPEC ((CORBA::SystemException))
-{
- return this->_tao_impl->_is_a (id, ACE_TRY_ENV);
-}
-
-void
-POA_IR::HomeDef::TAO_ServerRequestInfo_IR_HomeDef_managed_component_get::result (IR::ComponentDef_ptr result)
-{
- // Update the result.
- this->_result = result;
-}
-
-POA_IR::HomeDef::TAO_ServerRequestInfo_IR_HomeDef_primary_key_get::TAO_ServerRequestInfo_IR_HomeDef_primary_key_get (
- TAO_ServerRequest &_tao_server_request,
- POA_IR::HomeDef *tao_impl,
- CORBA::Environment &
- )
- : TAO_ServerRequestInfo (_tao_server_request),
- _tao_impl (tao_impl)
-{}
-
-Dynamic::ParameterList *
-POA_IR::HomeDef::TAO_ServerRequestInfo_IR_HomeDef_primary_key_get::arguments (CORBA::Environment &ACE_TRY_ENV)
- ACE_THROW_SPEC ((CORBA::SystemException))
-{
- // Generate the argument list on demand.
- Dynamic::ParameterList *parameter_list =
- TAO_RequestInfo_Util::make_parameter_list (ACE_TRY_ENV);
- ACE_CHECK_RETURN (0);
-
- return parameter_list;
-}
-
-Dynamic::ExceptionList *
-POA_IR::HomeDef::TAO_ServerRequestInfo_IR_HomeDef_primary_key_get::exceptions (CORBA::Environment &ACE_TRY_ENV)
- ACE_THROW_SPEC ((CORBA::SystemException))
-{
- // Generate the exception list on demand.
- Dynamic::ExceptionList *exception_list =
- TAO_RequestInfo_Util::make_exception_list (ACE_TRY_ENV);
- ACE_CHECK_RETURN (0);
-
- return exception_list;
-}
-
-CORBA::Any *
-POA_IR::HomeDef::TAO_ServerRequestInfo_IR_HomeDef_primary_key_get::result (CORBA::Environment &ACE_TRY_ENV)
- ACE_THROW_SPEC ((CORBA::SystemException))
-{
- // Generate the result on demand.
- CORBA::Boolean tk_void_any = 0;
- CORBA::Any *result_any =
- TAO_RequestInfo_Util::make_any (tk_void_any, ACE_TRY_ENV);
- ACE_CHECK_RETURN (0);
-
- CORBA::Any_var safe_result_any = result_any;
-
- (*result_any) <<= this->_result;
-
- return safe_result_any._retn ();
-}
-
-char *
-POA_IR::HomeDef::TAO_ServerRequestInfo_IR_HomeDef_primary_key_get::target_most_derived_interface (
- CORBA::Environment &)
- ACE_THROW_SPEC ((CORBA::SystemException))
-{
- return
- CORBA::string_dup (this->_tao_impl->_interface_repository_id ());
-}
-
-CORBA::Boolean
-POA_IR::HomeDef::TAO_ServerRequestInfo_IR_HomeDef_primary_key_get::target_is_a (
- const char * id,
- CORBA::Environment &ACE_TRY_ENV)
- ACE_THROW_SPEC ((CORBA::SystemException))
-{
- return this->_tao_impl->_is_a (id, ACE_TRY_ENV);
-}
-
-void
-POA_IR::HomeDef::TAO_ServerRequestInfo_IR_HomeDef_primary_key_get::result (IR::PrimaryKeyDef_ptr result)
-{
- // Update the result.
- this->_result = result;
-}
-
-POA_IR::HomeDef::TAO_ServerRequestInfo_IR_HomeDef_factories_get::TAO_ServerRequestInfo_IR_HomeDef_factories_get (
- TAO_ServerRequest &_tao_server_request,
- POA_IR::HomeDef *tao_impl,
- CORBA::Environment &
- )
- : TAO_ServerRequestInfo (_tao_server_request),
- _tao_impl (tao_impl)
-{}
-
-Dynamic::ParameterList *
-POA_IR::HomeDef::TAO_ServerRequestInfo_IR_HomeDef_factories_get::arguments (CORBA::Environment &ACE_TRY_ENV)
- ACE_THROW_SPEC ((CORBA::SystemException))
-{
- // Generate the argument list on demand.
- Dynamic::ParameterList *parameter_list =
- TAO_RequestInfo_Util::make_parameter_list (ACE_TRY_ENV);
- ACE_CHECK_RETURN (0);
-
- return parameter_list;
-}
-
-Dynamic::ExceptionList *
-POA_IR::HomeDef::TAO_ServerRequestInfo_IR_HomeDef_factories_get::exceptions (CORBA::Environment &ACE_TRY_ENV)
- ACE_THROW_SPEC ((CORBA::SystemException))
-{
- // Generate the exception list on demand.
- Dynamic::ExceptionList *exception_list =
- TAO_RequestInfo_Util::make_exception_list (ACE_TRY_ENV);
- ACE_CHECK_RETURN (0);
-
- return exception_list;
-}
-
-CORBA::Any *
-POA_IR::HomeDef::TAO_ServerRequestInfo_IR_HomeDef_factories_get::result (CORBA::Environment &ACE_TRY_ENV)
- ACE_THROW_SPEC ((CORBA::SystemException))
-{
- // Generate the result on demand.
- CORBA::Boolean tk_void_any = 0;
- CORBA::Any *result_any =
- TAO_RequestInfo_Util::make_any (tk_void_any, ACE_TRY_ENV);
- ACE_CHECK_RETURN (0);
-
- CORBA::Any_var safe_result_any = result_any;
-
- (*result_any) <<= this->_result;
-
- return safe_result_any._retn ();
-}
-
-char *
-POA_IR::HomeDef::TAO_ServerRequestInfo_IR_HomeDef_factories_get::target_most_derived_interface (
- CORBA::Environment &)
- ACE_THROW_SPEC ((CORBA::SystemException))
-{
- return
- CORBA::string_dup (this->_tao_impl->_interface_repository_id ());
-}
-
-CORBA::Boolean
-POA_IR::HomeDef::TAO_ServerRequestInfo_IR_HomeDef_factories_get::target_is_a (
- const char * id,
- CORBA::Environment &ACE_TRY_ENV)
- ACE_THROW_SPEC ((CORBA::SystemException))
-{
- return this->_tao_impl->_is_a (id, ACE_TRY_ENV);
-}
-
-void
-POA_IR::HomeDef::TAO_ServerRequestInfo_IR_HomeDef_factories_get::result (IR::FactoryDefSeq * result)
-{
- // Update the result.
- this->_result = result;
-}
-
-POA_IR::HomeDef::TAO_ServerRequestInfo_IR_HomeDef_finders_get::TAO_ServerRequestInfo_IR_HomeDef_finders_get (
- TAO_ServerRequest &_tao_server_request,
- POA_IR::HomeDef *tao_impl,
- CORBA::Environment &
- )
- : TAO_ServerRequestInfo (_tao_server_request),
- _tao_impl (tao_impl)
-{}
-
-Dynamic::ParameterList *
-POA_IR::HomeDef::TAO_ServerRequestInfo_IR_HomeDef_finders_get::arguments (CORBA::Environment &ACE_TRY_ENV)
- ACE_THROW_SPEC ((CORBA::SystemException))
-{
- // Generate the argument list on demand.
- Dynamic::ParameterList *parameter_list =
- TAO_RequestInfo_Util::make_parameter_list (ACE_TRY_ENV);
- ACE_CHECK_RETURN (0);
-
- return parameter_list;
-}
-
-Dynamic::ExceptionList *
-POA_IR::HomeDef::TAO_ServerRequestInfo_IR_HomeDef_finders_get::exceptions (CORBA::Environment &ACE_TRY_ENV)
- ACE_THROW_SPEC ((CORBA::SystemException))
-{
- // Generate the exception list on demand.
- Dynamic::ExceptionList *exception_list =
- TAO_RequestInfo_Util::make_exception_list (ACE_TRY_ENV);
- ACE_CHECK_RETURN (0);
-
- return exception_list;
-}
-
-CORBA::Any *
-POA_IR::HomeDef::TAO_ServerRequestInfo_IR_HomeDef_finders_get::result (CORBA::Environment &ACE_TRY_ENV)
- ACE_THROW_SPEC ((CORBA::SystemException))
-{
- // Generate the result on demand.
- CORBA::Boolean tk_void_any = 0;
- CORBA::Any *result_any =
- TAO_RequestInfo_Util::make_any (tk_void_any, ACE_TRY_ENV);
- ACE_CHECK_RETURN (0);
-
- CORBA::Any_var safe_result_any = result_any;
-
- (*result_any) <<= this->_result;
-
- return safe_result_any._retn ();
-}
-
-char *
-POA_IR::HomeDef::TAO_ServerRequestInfo_IR_HomeDef_finders_get::target_most_derived_interface (
- CORBA::Environment &)
- ACE_THROW_SPEC ((CORBA::SystemException))
-{
- return
- CORBA::string_dup (this->_tao_impl->_interface_repository_id ());
-}
-
-CORBA::Boolean
-POA_IR::HomeDef::TAO_ServerRequestInfo_IR_HomeDef_finders_get::target_is_a (
- const char * id,
- CORBA::Environment &ACE_TRY_ENV)
- ACE_THROW_SPEC ((CORBA::SystemException))
-{
- return this->_tao_impl->_is_a (id, ACE_TRY_ENV);
-}
-
-void
-POA_IR::HomeDef::TAO_ServerRequestInfo_IR_HomeDef_finders_get::result (IR::FinderDefSeq * result)
-{
- // Update the result.
- this->_result = result;
-}
-
-POA_IR::HomeDef::TAO_ServerRequestInfo_IR_HomeDef_is_basic_get::TAO_ServerRequestInfo_IR_HomeDef_is_basic_get (
- TAO_ServerRequest &_tao_server_request,
- POA_IR::HomeDef *tao_impl,
- CORBA::Environment &
- )
- : TAO_ServerRequestInfo (_tao_server_request),
- _tao_impl (tao_impl)
-{}
-
-Dynamic::ParameterList *
-POA_IR::HomeDef::TAO_ServerRequestInfo_IR_HomeDef_is_basic_get::arguments (CORBA::Environment &ACE_TRY_ENV)
- ACE_THROW_SPEC ((CORBA::SystemException))
-{
- // Generate the argument list on demand.
- Dynamic::ParameterList *parameter_list =
- TAO_RequestInfo_Util::make_parameter_list (ACE_TRY_ENV);
- ACE_CHECK_RETURN (0);
-
- return parameter_list;
-}
-
-Dynamic::ExceptionList *
-POA_IR::HomeDef::TAO_ServerRequestInfo_IR_HomeDef_is_basic_get::exceptions (CORBA::Environment &ACE_TRY_ENV)
- ACE_THROW_SPEC ((CORBA::SystemException))
-{
- // Generate the exception list on demand.
- Dynamic::ExceptionList *exception_list =
- TAO_RequestInfo_Util::make_exception_list (ACE_TRY_ENV);
- ACE_CHECK_RETURN (0);
-
- return exception_list;
-}
-
-CORBA::Any *
-POA_IR::HomeDef::TAO_ServerRequestInfo_IR_HomeDef_is_basic_get::result (CORBA::Environment &ACE_TRY_ENV)
- ACE_THROW_SPEC ((CORBA::SystemException))
-{
- // Generate the result on demand.
- CORBA::Boolean tk_void_any = 0;
- CORBA::Any *result_any =
- TAO_RequestInfo_Util::make_any (tk_void_any, ACE_TRY_ENV);
- ACE_CHECK_RETURN (0);
-
- CORBA::Any_var safe_result_any = result_any;
-
- (*result_any) <<= CORBA::Any::from_boolean (this->_result);
-
- return safe_result_any._retn ();
-}
-
-char *
-POA_IR::HomeDef::TAO_ServerRequestInfo_IR_HomeDef_is_basic_get::target_most_derived_interface (
- CORBA::Environment &)
- ACE_THROW_SPEC ((CORBA::SystemException))
-{
- return
- CORBA::string_dup (this->_tao_impl->_interface_repository_id ());
-}
-
-CORBA::Boolean
-POA_IR::HomeDef::TAO_ServerRequestInfo_IR_HomeDef_is_basic_get::target_is_a (
- const char * id,
- CORBA::Environment &ACE_TRY_ENV)
- ACE_THROW_SPEC ((CORBA::SystemException))
-{
- return this->_tao_impl->_is_a (id, ACE_TRY_ENV);
-}
-
-void
-POA_IR::HomeDef::TAO_ServerRequestInfo_IR_HomeDef_is_basic_get::result (CORBA::Boolean result)
-{
- // Update the result.
- this->_result = result;
-}
-
-POA_IR::HomeDef::TAO_ServerRequestInfo_IR_HomeDef_create_primary_key::TAO_ServerRequestInfo_IR_HomeDef_create_primary_key (
- TAO_ServerRequest &_tao_server_request,
- POA_IR::HomeDef *tao_impl,
- const char * id,
- const char * name,
- const char * version,
- IR_ValueDef_ptr primary_key,
- CORBA::Environment &
- )
- : TAO_ServerRequestInfo (_tao_server_request),
- _tao_impl (tao_impl),
- id_ (id),
- name_ (name),
- version_ (version),
- primary_key_ (primary_key)
-{}
-
-Dynamic::ParameterList *
-POA_IR::HomeDef::TAO_ServerRequestInfo_IR_HomeDef_create_primary_key::arguments (CORBA::Environment &ACE_TRY_ENV)
- ACE_THROW_SPEC ((CORBA::SystemException))
-{
- // Generate the argument list on demand.
- Dynamic::ParameterList *parameter_list =
- TAO_RequestInfo_Util::make_parameter_list (ACE_TRY_ENV);
- ACE_CHECK_RETURN (0);
-
- Dynamic::ParameterList_var safe_parameter_list = parameter_list;
-
- CORBA::ULong length_id = parameter_list->length ();
- parameter_list->length (length_id + 1);
- (*parameter_list)[length_id].argument <<= id_;
- (*parameter_list)[length_id].mode = Dynamic::PARAM_IN;
-
- CORBA::ULong length_name = parameter_list->length ();
- parameter_list->length (length_name + 1);
- (*parameter_list)[length_name].argument <<= name_;
- (*parameter_list)[length_name].mode = Dynamic::PARAM_IN;
-
- CORBA::ULong length_version = parameter_list->length ();
- parameter_list->length (length_version + 1);
- (*parameter_list)[length_version].argument <<= version_;
- (*parameter_list)[length_version].mode = Dynamic::PARAM_IN;
-
- CORBA::ULong length_primary_key = parameter_list->length ();
- parameter_list->length (length_primary_key + 1);
- (*parameter_list)[length_primary_key].argument <<= this->primary_key_;
-
- (*parameter_list)[length_primary_key].mode = Dynamic::PARAM_IN;
-
- return safe_parameter_list._retn ();
-}
-
-Dynamic::ExceptionList *
-POA_IR::HomeDef::TAO_ServerRequestInfo_IR_HomeDef_create_primary_key::exceptions (CORBA::Environment &ACE_TRY_ENV)
- ACE_THROW_SPEC ((CORBA::SystemException))
-{
- // Generate the exception list on demand.
- Dynamic::ExceptionList *exception_list =
- TAO_RequestInfo_Util::make_exception_list (ACE_TRY_ENV);
- ACE_CHECK_RETURN (0);
-
- return exception_list;
-}
-
-CORBA::Any *
-POA_IR::HomeDef::TAO_ServerRequestInfo_IR_HomeDef_create_primary_key::result (CORBA::Environment &ACE_TRY_ENV)
- ACE_THROW_SPEC ((CORBA::SystemException))
-{
- // Generate the result on demand.
- CORBA::Boolean tk_void_any = 0;
- CORBA::Any *result_any =
- TAO_RequestInfo_Util::make_any (tk_void_any, ACE_TRY_ENV);
- ACE_CHECK_RETURN (0);
-
- CORBA::Any_var safe_result_any = result_any;
-
- (*result_any) <<= this->_result;
-
- return safe_result_any._retn ();
-}
-
-char *
-POA_IR::HomeDef::TAO_ServerRequestInfo_IR_HomeDef_create_primary_key::target_most_derived_interface (
- CORBA::Environment &)
- ACE_THROW_SPEC ((CORBA::SystemException))
-{
- return
- CORBA::string_dup (this->_tao_impl->_interface_repository_id ());
-}
-
-CORBA::Boolean
-POA_IR::HomeDef::TAO_ServerRequestInfo_IR_HomeDef_create_primary_key::target_is_a (
- const char * id,
- CORBA::Environment &ACE_TRY_ENV)
- ACE_THROW_SPEC ((CORBA::SystemException))
-{
- return this->_tao_impl->_is_a (id, ACE_TRY_ENV);
-}
-
-void
-POA_IR::HomeDef::TAO_ServerRequestInfo_IR_HomeDef_create_primary_key::result (IR::PrimaryKeyDef_ptr result)
-{
- // Update the result.
- this->_result = result;
-}
-
-POA_IR::HomeDef::TAO_ServerRequestInfo_IR_HomeDef_create_factory::TAO_ServerRequestInfo_IR_HomeDef_create_factory (
- TAO_ServerRequest &_tao_server_request,
- POA_IR::HomeDef *tao_impl,
- const char * id,
- const char * name,
- const char * version,
- const IR_ParDescriptionSeq & params,
- const IR_ExceptionDefSeq & exceptions,
- CORBA::Environment &
- )
- : TAO_ServerRequestInfo (_tao_server_request),
- _tao_impl (tao_impl),
- id_ (id),
- name_ (name),
- version_ (version),
- params_ (params),
- exceptions_ (exceptions)
-{}
-
-Dynamic::ParameterList *
-POA_IR::HomeDef::TAO_ServerRequestInfo_IR_HomeDef_create_factory::arguments (CORBA::Environment &ACE_TRY_ENV)
- ACE_THROW_SPEC ((CORBA::SystemException))
-{
- // Generate the argument list on demand.
- Dynamic::ParameterList *parameter_list =
- TAO_RequestInfo_Util::make_parameter_list (ACE_TRY_ENV);
- ACE_CHECK_RETURN (0);
-
- Dynamic::ParameterList_var safe_parameter_list = parameter_list;
-
- CORBA::ULong length_id = parameter_list->length ();
- parameter_list->length (length_id + 1);
- (*parameter_list)[length_id].argument <<= id_;
- (*parameter_list)[length_id].mode = Dynamic::PARAM_IN;
-
- CORBA::ULong length_name = parameter_list->length ();
- parameter_list->length (length_name + 1);
- (*parameter_list)[length_name].argument <<= name_;
- (*parameter_list)[length_name].mode = Dynamic::PARAM_IN;
-
- CORBA::ULong length_version = parameter_list->length ();
- parameter_list->length (length_version + 1);
- (*parameter_list)[length_version].argument <<= version_;
- (*parameter_list)[length_version].mode = Dynamic::PARAM_IN;
-
- CORBA::ULong length_params = parameter_list->length ();
- parameter_list->length (length_params + 1);
- (*parameter_list)[length_params].argument <<= this->params_;
-
- (*parameter_list)[length_params].mode = Dynamic::PARAM_IN;
-
- CORBA::ULong length_exceptions = parameter_list->length ();
- parameter_list->length (length_exceptions + 1);
- (*parameter_list)[length_exceptions].argument <<= this->exceptions_;
-
- (*parameter_list)[length_exceptions].mode = Dynamic::PARAM_IN;
-
- return safe_parameter_list._retn ();
-}
-
-Dynamic::ExceptionList *
-POA_IR::HomeDef::TAO_ServerRequestInfo_IR_HomeDef_create_factory::exceptions (CORBA::Environment &ACE_TRY_ENV)
- ACE_THROW_SPEC ((CORBA::SystemException))
-{
- // Generate the exception list on demand.
- Dynamic::ExceptionList *exception_list =
- TAO_RequestInfo_Util::make_exception_list (ACE_TRY_ENV);
- ACE_CHECK_RETURN (0);
-
- return exception_list;
-}
-
-CORBA::Any *
-POA_IR::HomeDef::TAO_ServerRequestInfo_IR_HomeDef_create_factory::result (CORBA::Environment &ACE_TRY_ENV)
- ACE_THROW_SPEC ((CORBA::SystemException))
-{
- // Generate the result on demand.
- CORBA::Boolean tk_void_any = 0;
- CORBA::Any *result_any =
- TAO_RequestInfo_Util::make_any (tk_void_any, ACE_TRY_ENV);
- ACE_CHECK_RETURN (0);
-
- CORBA::Any_var safe_result_any = result_any;
-
- (*result_any) <<= this->_result;
-
- return safe_result_any._retn ();
-}
-
-char *
-POA_IR::HomeDef::TAO_ServerRequestInfo_IR_HomeDef_create_factory::target_most_derived_interface (
- CORBA::Environment &)
- ACE_THROW_SPEC ((CORBA::SystemException))
-{
- return
- CORBA::string_dup (this->_tao_impl->_interface_repository_id ());
-}
-
-CORBA::Boolean
-POA_IR::HomeDef::TAO_ServerRequestInfo_IR_HomeDef_create_factory::target_is_a (
- const char * id,
- CORBA::Environment &ACE_TRY_ENV)
- ACE_THROW_SPEC ((CORBA::SystemException))
-{
- return this->_tao_impl->_is_a (id, ACE_TRY_ENV);
-}
-
-void
-POA_IR::HomeDef::TAO_ServerRequestInfo_IR_HomeDef_create_factory::result (IR::FactoryDef_ptr result)
-{
- // Update the result.
- this->_result = result;
-}
-
-POA_IR::HomeDef::TAO_ServerRequestInfo_IR_HomeDef_create_finder::TAO_ServerRequestInfo_IR_HomeDef_create_finder (
- TAO_ServerRequest &_tao_server_request,
- POA_IR::HomeDef *tao_impl,
- const char * id,
- const char * name,
- const char * version,
- const IR_ParDescriptionSeq & params,
- const IR_ExceptionDefSeq & exceptions,
- CORBA::Environment &
- )
- : TAO_ServerRequestInfo (_tao_server_request),
- _tao_impl (tao_impl),
- id_ (id),
- name_ (name),
- version_ (version),
- params_ (params),
- exceptions_ (exceptions)
-{}
-
-Dynamic::ParameterList *
-POA_IR::HomeDef::TAO_ServerRequestInfo_IR_HomeDef_create_finder::arguments (CORBA::Environment &ACE_TRY_ENV)
- ACE_THROW_SPEC ((CORBA::SystemException))
-{
- // Generate the argument list on demand.
- Dynamic::ParameterList *parameter_list =
- TAO_RequestInfo_Util::make_parameter_list (ACE_TRY_ENV);
- ACE_CHECK_RETURN (0);
-
- Dynamic::ParameterList_var safe_parameter_list = parameter_list;
-
- CORBA::ULong length_id = parameter_list->length ();
- parameter_list->length (length_id + 1);
- (*parameter_list)[length_id].argument <<= id_;
- (*parameter_list)[length_id].mode = Dynamic::PARAM_IN;
-
- CORBA::ULong length_name = parameter_list->length ();
- parameter_list->length (length_name + 1);
- (*parameter_list)[length_name].argument <<= name_;
- (*parameter_list)[length_name].mode = Dynamic::PARAM_IN;
-
- CORBA::ULong length_version = parameter_list->length ();
- parameter_list->length (length_version + 1);
- (*parameter_list)[length_version].argument <<= version_;
- (*parameter_list)[length_version].mode = Dynamic::PARAM_IN;
-
- CORBA::ULong length_params = parameter_list->length ();
- parameter_list->length (length_params + 1);
- (*parameter_list)[length_params].argument <<= this->params_;
-
- (*parameter_list)[length_params].mode = Dynamic::PARAM_IN;
-
- CORBA::ULong length_exceptions = parameter_list->length ();
- parameter_list->length (length_exceptions + 1);
- (*parameter_list)[length_exceptions].argument <<= this->exceptions_;
-
- (*parameter_list)[length_exceptions].mode = Dynamic::PARAM_IN;
-
- return safe_parameter_list._retn ();
-}
-
-Dynamic::ExceptionList *
-POA_IR::HomeDef::TAO_ServerRequestInfo_IR_HomeDef_create_finder::exceptions (CORBA::Environment &ACE_TRY_ENV)
- ACE_THROW_SPEC ((CORBA::SystemException))
-{
- // Generate the exception list on demand.
- Dynamic::ExceptionList *exception_list =
- TAO_RequestInfo_Util::make_exception_list (ACE_TRY_ENV);
- ACE_CHECK_RETURN (0);
-
- return exception_list;
-}
-
-CORBA::Any *
-POA_IR::HomeDef::TAO_ServerRequestInfo_IR_HomeDef_create_finder::result (CORBA::Environment &ACE_TRY_ENV)
- ACE_THROW_SPEC ((CORBA::SystemException))
-{
- // Generate the result on demand.
- CORBA::Boolean tk_void_any = 0;
- CORBA::Any *result_any =
- TAO_RequestInfo_Util::make_any (tk_void_any, ACE_TRY_ENV);
- ACE_CHECK_RETURN (0);
-
- CORBA::Any_var safe_result_any = result_any;
-
- (*result_any) <<= this->_result;
-
- return safe_result_any._retn ();
-}
-
-char *
-POA_IR::HomeDef::TAO_ServerRequestInfo_IR_HomeDef_create_finder::target_most_derived_interface (
- CORBA::Environment &)
- ACE_THROW_SPEC ((CORBA::SystemException))
-{
- return
- CORBA::string_dup (this->_tao_impl->_interface_repository_id ());
-}
-
-CORBA::Boolean
-POA_IR::HomeDef::TAO_ServerRequestInfo_IR_HomeDef_create_finder::target_is_a (
- const char * id,
- CORBA::Environment &ACE_TRY_ENV)
- ACE_THROW_SPEC ((CORBA::SystemException))
-{
- return this->_tao_impl->_is_a (id, ACE_TRY_ENV);
-}
-
-void
-POA_IR::HomeDef::TAO_ServerRequestInfo_IR_HomeDef_create_finder::result (IR::FinderDef_ptr result)
-{
- // Update the result.
- this->_result = result;
-}
-
-#endif /* TAO_HAS_INTERCEPTORS */
-
-#endif /* ifndef TAO_IDL_INTERFACES_CPP */
diff --git a/TAO/orbsvcs/IFR_Service/InterfaceS.h b/TAO/orbsvcs/IFR_Service/InterfaceS.h
deleted file mode 100644
index 6e478ebcee2..00000000000
--- a/TAO/orbsvcs/IFR_Service/InterfaceS.h
+++ /dev/null
@@ -1,30903 +0,0 @@
-// -*- C++ -*-
-//
-// $Id$
-
-// **** Code generated by the The ACE ORB (TAO) IDL Compiler ****
-// TAO and the TAO IDL Compiler have been developed by:
-// Center for Distributed Object Computing
-// Washington University
-// St. Louis, MO
-// USA
-// http://www.cs.wustl.edu/~schmidt/doc-center.html
-// and
-// Distributed Object Computing Laboratory
-// University of California at Irvine
-// Irvine, CA
-// USA
-// http://doc.ece.uci.edu/
-//
-// Information about TAO is available at:
-// http://www.cs.wustl.edu/~schmidt/TAO.html
-
-#ifndef TAO_IDL_INTERFACES_H
-#define TAO_IDL_INTERFACES_H
-#include "ace/pre.h"
-
-#include "tao/IFR_Client/InterfaceC.h"
-
-#if !defined (ACE_LACKS_PRAGMA_ONCE)
-# pragma once
-#endif /* ACE_LACKS_PRAGMA_ONCE */
-
-#include "tao/PortableServer/Operation_Table.h"
-#include "tao/PortableServer/Object_Adapter.h"
-#include "tao/PortableServer/ThruPOA_Object_Proxy_Impl.h"
-#include "tao/PortableServer/ServerRequestInfo.h"
-#include "tao/PortableInterceptor.h"
-#include "tao/Stub.h"
-#include "tao/ORB_Core.h"
-#include "tao/TAO_Server_Request.h"
-
-#if defined(_MSC_VER)
-#if (_MSC_VER >= 1200)
-#pragma warning(push)
-#endif /* _MSC_VER >= 1200 */
-#pragma warning(disable:4250)
-#endif /* _MSC_VER */
-
-#if defined (__BORLANDC__)
-#pragma option push -w-rvl -w-rch -w-ccc -w-inl
-#endif /* __BORLANDC__ */
-
-class POA_CORBA_IRObject;
-typedef POA_CORBA_IRObject *POA_CORBA_IRObject_ptr;
-// Forward Classes Declaration
-class _TAO_IRObject_ThruPOA_Proxy_Impl;
-class _TAO_IRObject_Strategized_Proxy_Broker;
-
-class POA_CORBA_IRObject : public virtual PortableServer::ServantBase
-{
-protected:
- POA_CORBA_IRObject (void);
-
-public:
- POA_CORBA_IRObject (const POA_CORBA_IRObject& rhs);
- virtual ~POA_CORBA_IRObject (void);
-
- virtual CORBA::Boolean _is_a (
- const char* logical_type_id,
- CORBA::Environment &ACE_TRY_ENV =
- TAO_default_environment ()
- );
-
- virtual void* _downcast (
- const char* logical_type_id
- );
-
- static void _is_a_skel (
- TAO_ServerRequest &req,
- void *obj,
- void *context,
- CORBA::Environment &ACE_TRY_ENV =
- TAO_default_environment ()
- );
-
- static void _non_existent_skel (
- TAO_ServerRequest &req,
- void *obj,
- void *context,
- CORBA::Environment &ACE_TRY_ENV =
- TAO_default_environment ()
- );
-
- virtual void _dispatch (
- TAO_ServerRequest &_tao_req,
- void *_tao_context,
- CORBA::Environment &ACE_TRY_ENV =
- TAO_default_environment ()
- );
-
- ::CORBA::IRObject *_this (
- CORBA::Environment &ACE_TRY_ENV =
- TAO_default_environment ()
- );
-
- virtual const char* _interface_repository_id (void) const;
-
- virtual IR_DefinitionKind def_kind (
- CORBA::Environment &ACE_TRY_ENV =
- TAO_default_environment ()
- )
- ACE_THROW_SPEC ((
- CORBA::SystemException
- )) = 0;
-
- static void _get_def_kind_skel (
- TAO_ServerRequest &_tao_req,
- void *_tao_obj,
- void *_tao_context,
- CORBA::Environment &ACE_TRY_ENV =
- TAO_default_environment ()
- );
-
- virtual void destroy (
- CORBA::Environment &ACE_TRY_ENV =
- TAO_default_environment ()
- )
- ACE_THROW_SPEC ((
- CORBA::SystemException
- )) = 0;
-
- static void destroy_skel (
- TAO_ServerRequest &_tao_req,
- void *_tao_obj,
- void *_tao_context,
- CORBA::Environment &ACE_TRY_ENV =
- TAO_default_environment ()
- );
-
-#if (TAO_HAS_INTERCEPTORS == 1)
- // Generation of interceptors related RequestInfo classes per operation.
- // This needed to be able to store the arguments, exceptions, contexts
- // and build the lists dynamically on demand so that unnecessary time overhead
- // of building these lists when they arent used is avoided.
- class TAO_ServerRequestInfo_CORBA_IRObject_def_kind_get : public TAO_ServerRequestInfo
- {
- public:
- friend class POA_CORBA_IRObject;
- TAO_ServerRequestInfo_CORBA_IRObject_def_kind_get (
- TAO_ServerRequest &_tao_server_request,
- POA_CORBA_IRObject *tao_impl
- ,
- CORBA::Environment &ACE_TRY_ENV =
- TAO_default_environment ()
- );
-
- virtual Dynamic::ParameterList * arguments (
- CORBA::Environment &ACE_TRY_ENV =
- TAO_default_environment ()
- )
- ACE_THROW_SPEC ((CORBA::SystemException));
-
- virtual Dynamic::ExceptionList * exceptions (
- CORBA::Environment &ACE_TRY_ENV =
- TAO_default_environment ()
- )
- ACE_THROW_SPEC ((CORBA::SystemException));
-
- virtual CORBA::Any * result (
- CORBA::Environment &ACE_TRY_ENV =
- TAO_default_environment ()
- )
- ACE_THROW_SPEC ((CORBA::SystemException));
-
- virtual char * target_most_derived_interface (
- CORBA::Environment &ACE_TRY_ENV = TAO_default_environment ())
- ACE_THROW_SPEC ((CORBA::SystemException));
-
- virtual CORBA::Boolean target_is_a (
- const char * id,
- CORBA::Environment &ACE_TRY_ENV = TAO_default_environment ())
- ACE_THROW_SPEC ((CORBA::SystemException));
-
-
- private:
- TAO_ServerRequestInfo_CORBA_IRObject_def_kind_get (const TAO_ServerRequestInfo_CORBA_IRObject_def_kind_get &);
- void operator= (const TAO_ServerRequestInfo_CORBA_IRObject_def_kind_get &);
-
- private:
- POA_CORBA_IRObject *_tao_impl;
- void result (IR::DefinitionKind result);
- // update the result
- IR_DefinitionKind _result;
- };
-
- class TAO_ServerRequestInfo_CORBA_IRObject_destroy : public TAO_ServerRequestInfo
- {
- public:
- friend class POA_CORBA_IRObject;
- TAO_ServerRequestInfo_CORBA_IRObject_destroy (
- TAO_ServerRequest &_tao_server_request,
- POA_CORBA_IRObject *tao_impl
- ,
- CORBA::Environment &ACE_TRY_ENV =
- TAO_default_environment ()
- );
-
- virtual Dynamic::ParameterList * arguments (
- CORBA::Environment &ACE_TRY_ENV =
- TAO_default_environment ()
- )
- ACE_THROW_SPEC ((CORBA::SystemException));
-
- virtual Dynamic::ExceptionList * exceptions (
- CORBA::Environment &ACE_TRY_ENV =
- TAO_default_environment ()
- )
- ACE_THROW_SPEC ((CORBA::SystemException));
-
- virtual CORBA::Any * result (
- CORBA::Environment &ACE_TRY_ENV =
- TAO_default_environment ()
- )
- ACE_THROW_SPEC ((CORBA::SystemException));
-
- virtual char * target_most_derived_interface (
- CORBA::Environment &ACE_TRY_ENV = TAO_default_environment ())
- ACE_THROW_SPEC ((CORBA::SystemException));
-
- virtual CORBA::Boolean target_is_a (
- const char * id,
- CORBA::Environment &ACE_TRY_ENV = TAO_default_environment ())
- ACE_THROW_SPEC ((CORBA::SystemException));
-
-
- private:
- TAO_ServerRequestInfo_CORBA_IRObject_destroy (const TAO_ServerRequestInfo_CORBA_IRObject_destroy &);
- void operator= (const TAO_ServerRequestInfo_CORBA_IRObject_destroy &);
-
- private:
- POA_CORBA_IRObject *_tao_impl;
- };
-
-#endif /* TAO_HAS_INTERCEPTORS */
-
-};
-
-///////////////////////////////////////////////////////////////////////
-// Strategized Proxy Broker Declaration
-//
-
-class _TAO_IRObject_Strategized_Proxy_Broker
- : public virtual _TAO_IRObject_Proxy_Broker
-{
-public:
- _TAO_IRObject_Strategized_Proxy_Broker (void);
-
- virtual ~_TAO_IRObject_Strategized_Proxy_Broker (void);
-
- virtual _TAO_IRObject_Proxy_Impl &select_proxy (
- CORBA_IRObject *object,
- CORBA_Environment &ACE_TRY_ENV = TAO_default_environment ()
- );
-
-private:
-
-// Helper methods that takes care to create the proxy
-// as soon as their use is necessary.
- void create_proxy (
- int strategy,
- CORBA::Environment &ACE_TRY_ENV
- );
-
-private:
-
- // Caches the proxy implementations. The proxy implementation
- // are totally stateless, and those can be shared by all the
- // instances of a given IDL interface type.
- _TAO_IRObject_Proxy_Impl *proxy_cache_[TAO_Collocation_Strategies::CS_LAST];
-
- TAO_SYNCH_MUTEX mutex_;
-// This funxtion is used to get an handle to the unique instance
-// of the Strategized Proxy Broker that is available for a given
-// interface.
-
-public:
- static _TAO_IRObject_Strategized_Proxy_Broker *the_TAO_IRObject_Strategized_Proxy_Broker (void);
-};
-
-
-//
-// End Strategized Proxy Broker Declaration
-///////////////////////////////////////////////////////////////////////
-
-
-///////////////////////////////////////////////////////////////////////
-// ThruPOA Impl. Declaration
-//
-
-class _TAO_IRObject_ThruPOA_Proxy_Impl
- : public virtual _TAO_IRObject_Proxy_Impl,
- public virtual TAO_ThruPOA_Object_Proxy_Impl
-{
-public:
- _TAO_IRObject_ThruPOA_Proxy_Impl (void);
-
- virtual ~_TAO_IRObject_ThruPOA_Proxy_Impl (void) { }
-
- virtual IR_DefinitionKind def_kind (
- CORBA_Object *_collocated_tao_target_,
- CORBA::Environment &ACE_TRY_ENV
- )
- ACE_THROW_SPEC ((
- CORBA::SystemException
- ));
-
- virtual void destroy (
- CORBA_Object *_collocated_tao_target_,
- CORBA::Environment &ACE_TRY_ENV
- )
- ACE_THROW_SPEC ((
- CORBA::SystemException
- ));
-
-};
-
-//
-// ThruPOA Proxy Impl. Declaration
-///////////////////////////////////////////////////////////////////////
-
-TAO_NAMESPACE POA_IR
-{
- class Contained;
- typedef Contained *Contained_ptr;
- // Forward Classes Declaration
- class _TAO_Contained_ThruPOA_Proxy_Impl;
- class _TAO_Contained_Strategized_Proxy_Broker;
-
- class Contained : public virtual POA_CORBA_IRObject
- {
- protected:
- Contained (void);
-
- public:
- Contained (const Contained& rhs);
- virtual ~Contained (void);
-
- virtual CORBA::Boolean _is_a (
- const char* logical_type_id,
- CORBA::Environment &ACE_TRY_ENV =
- TAO_default_environment ()
- );
-
- virtual void* _downcast (
- const char* logical_type_id
- );
-
- static void _is_a_skel (
- TAO_ServerRequest &req,
- void *obj,
- void *context,
- CORBA::Environment &ACE_TRY_ENV =
- TAO_default_environment ()
- );
-
- static void _non_existent_skel (
- TAO_ServerRequest &req,
- void *obj,
- void *context,
- CORBA::Environment &ACE_TRY_ENV =
- TAO_default_environment ()
- );
-
- virtual void _dispatch (
- TAO_ServerRequest &_tao_req,
- void *_tao_context,
- CORBA::Environment &ACE_TRY_ENV =
- TAO_default_environment ()
- );
-
- IR_Contained *_this (
- CORBA::Environment &ACE_TRY_ENV =
- TAO_default_environment ()
- );
-
- virtual const char *_interface_repository_id (void) const;
-
- virtual char *id (
- CORBA::Environment &ACE_TRY_ENV =
- TAO_default_environment ()
- )
- ACE_THROW_SPEC ((
- CORBA::SystemException
- )) = 0;
-
- static void _get_id_skel (
- TAO_ServerRequest &_tao_req,
- void *_tao_obj,
- void *_tao_context,
- CORBA::Environment &ACE_TRY_ENV =
- TAO_default_environment ()
- );
-
- virtual void id (
- const char *id,
- CORBA::Environment &ACE_TRY_ENV =
- TAO_default_environment ()
- )
- ACE_THROW_SPEC ((
- CORBA::SystemException
- )) = 0;
-
- static void _set_id_skel (
- TAO_ServerRequest &_tao_req,
- void *_tao_obj,
- void *_tao_context,
- CORBA::Environment &ACE_TRY_ENV =
- TAO_default_environment ()
- );
-
- virtual char *name (
- CORBA::Environment &ACE_TRY_ENV =
- TAO_default_environment ()
- )
- ACE_THROW_SPEC ((
- CORBA::SystemException
- )) = 0;
-
- static void _get_name_skel (
- TAO_ServerRequest &_tao_req,
- void *_tao_obj,
- void *_tao_context,
- CORBA::Environment &ACE_TRY_ENV =
- TAO_default_environment ()
- );
-
- virtual void name (
- const char *name,
- CORBA::Environment &ACE_TRY_ENV =
- TAO_default_environment ()
- )
- ACE_THROW_SPEC ((
- CORBA::SystemException
- )) = 0;
-
- static void _set_name_skel (
- TAO_ServerRequest &_tao_req,
- void *_tao_obj,
- void *_tao_context,
- CORBA::Environment &ACE_TRY_ENV =
- TAO_default_environment ()
- );
-
- virtual char *version (
- CORBA::Environment &ACE_TRY_ENV =
- TAO_default_environment ()
- )
- ACE_THROW_SPEC ((
- CORBA::SystemException
- )) = 0;
-
- static void _get_version_skel (
- TAO_ServerRequest &_tao_req,
- void *_tao_obj,
- void *_tao_context,
- CORBA::Environment &ACE_TRY_ENV =
- TAO_default_environment ()
- );
-
- virtual void version (
- const char * version,
- CORBA::Environment &ACE_TRY_ENV =
- TAO_default_environment ()
- )
- ACE_THROW_SPEC ((
- CORBA::SystemException
- )) = 0;
-
- static void _set_version_skel (
- TAO_ServerRequest &_tao_req,
- void *_tao_obj,
- void *_tao_context,
- CORBA::Environment &ACE_TRY_ENV =
- TAO_default_environment ()
- );
-
- virtual IR_Container_ptr defined_in (
- CORBA::Environment &ACE_TRY_ENV =
- TAO_default_environment ()
- )
- ACE_THROW_SPEC ((
- CORBA::SystemException
- )) = 0;
-
- static void _get_defined_in_skel (
- TAO_ServerRequest &_tao_req,
- void *_tao_obj,
- void *_tao_context,
- CORBA::Environment &ACE_TRY_ENV =
- TAO_default_environment ()
- );
-
- virtual char *absolute_name (
- CORBA::Environment &ACE_TRY_ENV =
- TAO_default_environment ()
- )
- ACE_THROW_SPEC ((
- CORBA::SystemException
- )) = 0;
-
- static void _get_absolute_name_skel (
- TAO_ServerRequest &_tao_req,
- void *_tao_obj,
- void *_tao_context,
- CORBA::Environment &ACE_TRY_ENV =
- TAO_default_environment ()
- );
-
- virtual IR_Repository_ptr containing_repository (
- CORBA::Environment &ACE_TRY_ENV =
- TAO_default_environment ()
- )
- ACE_THROW_SPEC ((
- CORBA::SystemException
- )) = 0;
-
- static void _get_containing_repository_skel (
- TAO_ServerRequest &_tao_req,
- void *_tao_obj,
- void *_tao_context,
- CORBA::Environment &ACE_TRY_ENV =
- TAO_default_environment ()
- );
-
- virtual IR_Contained::Description *describe (
- CORBA::Environment &ACE_TRY_ENV =
- TAO_default_environment ()
- )
- ACE_THROW_SPEC ((
- CORBA::SystemException
- )) = 0;
-
- static void describe_skel (
- TAO_ServerRequest &_tao_req,
- void *_tao_obj,
- void *_tao_context,
- CORBA::Environment &ACE_TRY_ENV =
- TAO_default_environment ()
- );
-
- virtual void move (
- IR_Container_ptr new_container,
- const char *new_name,
- const char *new_version,
- CORBA::Environment &ACE_TRY_ENV =
- TAO_default_environment ()
- )
- ACE_THROW_SPEC ((
- CORBA::SystemException
- )) = 0;
-
- static void move_skel (
- TAO_ServerRequest &_tao_req,
- void *_tao_obj,
- void *_tao_context,
- CORBA::Environment &ACE_TRY_ENV =
- TAO_default_environment ()
- );
-
- static void _get_def_kind_skel (
- TAO_ServerRequest &req,
- void *obj,
- void *context,
- CORBA::Environment &env =
- TAO_default_environment ()
- );
-
- static void destroy_skel (
- TAO_ServerRequest &req,
- void *obj,
- void *context,
- CORBA::Environment &env =
- TAO_default_environment ()
- );
-
-#if (TAO_HAS_INTERCEPTORS == 1)
- // Generation of interceptors related RequestInfo classes per operation.
- // This needed to be able to store the arguments, exceptions, contexts
- // and build the lists dynamically on demand so that unnecessary time overhead
- // of building these lists when they arent used is avoided.
- class TAO_ServerRequestInfo_IR_Contained_id_get : public TAO_ServerRequestInfo
- {
- public:
- friend class POA_IR::Contained;
- TAO_ServerRequestInfo_IR_Contained_id_get (
- TAO_ServerRequest &_tao_server_request,
- POA_IR::Contained *tao_impl
- ,
- CORBA::Environment &ACE_TRY_ENV =
- TAO_default_environment ()
- );
-
- virtual Dynamic::ParameterList * arguments (
- CORBA::Environment &ACE_TRY_ENV =
- TAO_default_environment ()
- )
- ACE_THROW_SPEC ((CORBA::SystemException));
-
- virtual Dynamic::ExceptionList * exceptions (
- CORBA::Environment &ACE_TRY_ENV =
- TAO_default_environment ()
- )
- ACE_THROW_SPEC ((CORBA::SystemException));
-
- virtual CORBA::Any * result (
- CORBA::Environment &ACE_TRY_ENV =
- TAO_default_environment ()
- )
- ACE_THROW_SPEC ((CORBA::SystemException));
-
- virtual char * target_most_derived_interface (
- CORBA::Environment &ACE_TRY_ENV = TAO_default_environment ())
- ACE_THROW_SPEC ((CORBA::SystemException));
-
- virtual CORBA::Boolean target_is_a (
- const char * id,
- CORBA::Environment &ACE_TRY_ENV = TAO_default_environment ())
- ACE_THROW_SPEC ((CORBA::SystemException));
-
-
- private:
- TAO_ServerRequestInfo_IR_Contained_id_get (const TAO_ServerRequestInfo_IR_Contained_id_get &);
- void operator= (const TAO_ServerRequestInfo_IR_Contained_id_get &);
-
- private:
- POA_IR::Contained *_tao_impl;
- void result (char *result);
- // update the result
- char * _result;
- };
-
- class TAO_ServerRequestInfo_IR_Contained_id_set : public TAO_ServerRequestInfo
- {
- public:
- friend class POA_IR::Contained;
- TAO_ServerRequestInfo_IR_Contained_id_set (
- TAO_ServerRequest &_tao_server_request,
- POA_IR::Contained *tao_impl
- ,
- const char * id,
- CORBA::Environment &ACE_TRY_ENV =
- TAO_default_environment ()
- );
-
- virtual Dynamic::ParameterList * arguments (
- CORBA::Environment &ACE_TRY_ENV =
- TAO_default_environment ()
- )
- ACE_THROW_SPEC ((CORBA::SystemException));
-
- virtual Dynamic::ExceptionList * exceptions (
- CORBA::Environment &ACE_TRY_ENV =
- TAO_default_environment ()
- )
- ACE_THROW_SPEC ((CORBA::SystemException));
-
- virtual CORBA::Any * result (
- CORBA::Environment &ACE_TRY_ENV =
- TAO_default_environment ()
- )
- ACE_THROW_SPEC ((CORBA::SystemException));
-
- virtual char * target_most_derived_interface (
- CORBA::Environment &ACE_TRY_ENV = TAO_default_environment ())
- ACE_THROW_SPEC ((CORBA::SystemException));
-
- virtual CORBA::Boolean target_is_a (
- const char * id,
- CORBA::Environment &ACE_TRY_ENV = TAO_default_environment ())
- ACE_THROW_SPEC ((CORBA::SystemException));
-
-
- private:
- TAO_ServerRequestInfo_IR_Contained_id_set (const TAO_ServerRequestInfo_IR_Contained_id_set &);
- void operator= (const TAO_ServerRequestInfo_IR_Contained_id_set &);
-
- private:
- POA_IR::Contained *_tao_impl;
- const char * id_;
- };
-
- class TAO_ServerRequestInfo_IR_Contained_name_get : public TAO_ServerRequestInfo
- {
- public:
- friend class POA_IR::Contained;
- TAO_ServerRequestInfo_IR_Contained_name_get (
- TAO_ServerRequest &_tao_server_request,
- POA_IR::Contained *tao_impl
- ,
- CORBA::Environment &ACE_TRY_ENV =
- TAO_default_environment ()
- );
-
- virtual Dynamic::ParameterList * arguments (
- CORBA::Environment &ACE_TRY_ENV =
- TAO_default_environment ()
- )
- ACE_THROW_SPEC ((CORBA::SystemException));
-
- virtual Dynamic::ExceptionList * exceptions (
- CORBA::Environment &ACE_TRY_ENV =
- TAO_default_environment ()
- )
- ACE_THROW_SPEC ((CORBA::SystemException));
-
- virtual CORBA::Any * result (
- CORBA::Environment &ACE_TRY_ENV =
- TAO_default_environment ()
- )
- ACE_THROW_SPEC ((CORBA::SystemException));
-
- virtual char * target_most_derived_interface (
- CORBA::Environment &ACE_TRY_ENV = TAO_default_environment ())
- ACE_THROW_SPEC ((CORBA::SystemException));
-
- virtual CORBA::Boolean target_is_a (
- const char * id,
- CORBA::Environment &ACE_TRY_ENV = TAO_default_environment ())
- ACE_THROW_SPEC ((CORBA::SystemException));
-
-
- private:
- TAO_ServerRequestInfo_IR_Contained_name_get (const TAO_ServerRequestInfo_IR_Contained_name_get &);
- void operator= (const TAO_ServerRequestInfo_IR_Contained_name_get &);
-
- private:
- POA_IR::Contained *_tao_impl;
- void result (char * result);
- // update the result
- char * _result;
- };
-
- class TAO_ServerRequestInfo_IR_Contained_name_set : public TAO_ServerRequestInfo
- {
- public:
- friend class POA_IR::Contained;
- TAO_ServerRequestInfo_IR_Contained_name_set (
- TAO_ServerRequest &_tao_server_request,
- POA_IR::Contained *tao_impl
- ,
- const char * name,
- CORBA::Environment &ACE_TRY_ENV =
- TAO_default_environment ()
- );
-
- virtual Dynamic::ParameterList * arguments (
- CORBA::Environment &ACE_TRY_ENV =
- TAO_default_environment ()
- )
- ACE_THROW_SPEC ((CORBA::SystemException));
-
- virtual Dynamic::ExceptionList * exceptions (
- CORBA::Environment &ACE_TRY_ENV =
- TAO_default_environment ()
- )
- ACE_THROW_SPEC ((CORBA::SystemException));
-
- virtual CORBA::Any * result (
- CORBA::Environment &ACE_TRY_ENV =
- TAO_default_environment ()
- )
- ACE_THROW_SPEC ((CORBA::SystemException));
-
- virtual char * target_most_derived_interface (
- CORBA::Environment &ACE_TRY_ENV = TAO_default_environment ())
- ACE_THROW_SPEC ((CORBA::SystemException));
-
- virtual CORBA::Boolean target_is_a (
- const char * id,
- CORBA::Environment &ACE_TRY_ENV = TAO_default_environment ())
- ACE_THROW_SPEC ((CORBA::SystemException));
-
-
- private:
- TAO_ServerRequestInfo_IR_Contained_name_set (const TAO_ServerRequestInfo_IR_Contained_name_set &);
- void operator= (const TAO_ServerRequestInfo_IR_Contained_name_set &);
-
- private:
- POA_IR::Contained *_tao_impl;
- const char * name_;
- };
-
- class TAO_ServerRequestInfo_IR_Contained_version_get : public TAO_ServerRequestInfo
- {
- public:
- friend class POA_IR::Contained;
- TAO_ServerRequestInfo_IR_Contained_version_get (
- TAO_ServerRequest &_tao_server_request,
- POA_IR::Contained *tao_impl
- ,
- CORBA::Environment &ACE_TRY_ENV =
- TAO_default_environment ()
- );
-
- virtual Dynamic::ParameterList * arguments (
- CORBA::Environment &ACE_TRY_ENV =
- TAO_default_environment ()
- )
- ACE_THROW_SPEC ((CORBA::SystemException));
-
- virtual Dynamic::ExceptionList * exceptions (
- CORBA::Environment &ACE_TRY_ENV =
- TAO_default_environment ()
- )
- ACE_THROW_SPEC ((CORBA::SystemException));
-
- virtual CORBA::Any * result (
- CORBA::Environment &ACE_TRY_ENV =
- TAO_default_environment ()
- )
- ACE_THROW_SPEC ((CORBA::SystemException));
-
- virtual char * target_most_derived_interface (
- CORBA::Environment &ACE_TRY_ENV = TAO_default_environment ())
- ACE_THROW_SPEC ((CORBA::SystemException));
-
- virtual CORBA::Boolean target_is_a (
- const char * id,
- CORBA::Environment &ACE_TRY_ENV = TAO_default_environment ())
- ACE_THROW_SPEC ((CORBA::SystemException));
-
-
- private:
- TAO_ServerRequestInfo_IR_Contained_version_get (const TAO_ServerRequestInfo_IR_Contained_version_get &);
- void operator= (const TAO_ServerRequestInfo_IR_Contained_version_get &);
-
- private:
- POA_IR::Contained *_tao_impl;
- void result (char * result);
- // update the result
- char * _result;
- };
-
- class TAO_ServerRequestInfo_IR_Contained_version_set : public TAO_ServerRequestInfo
- {
- public:
- friend class POA_IR::Contained;
- TAO_ServerRequestInfo_IR_Contained_version_set (
- TAO_ServerRequest &_tao_server_request,
- POA_IR::Contained *tao_impl
- ,
- const char * version,
- CORBA::Environment &ACE_TRY_ENV =
- TAO_default_environment ()
- );
-
- virtual Dynamic::ParameterList * arguments (
- CORBA::Environment &ACE_TRY_ENV =
- TAO_default_environment ()
- )
- ACE_THROW_SPEC ((CORBA::SystemException));
-
- virtual Dynamic::ExceptionList * exceptions (
- CORBA::Environment &ACE_TRY_ENV =
- TAO_default_environment ()
- )
- ACE_THROW_SPEC ((CORBA::SystemException));
-
- virtual CORBA::Any * result (
- CORBA::Environment &ACE_TRY_ENV =
- TAO_default_environment ()
- )
- ACE_THROW_SPEC ((CORBA::SystemException));
-
- virtual char * target_most_derived_interface (
- CORBA::Environment &ACE_TRY_ENV = TAO_default_environment ())
- ACE_THROW_SPEC ((CORBA::SystemException));
-
- virtual CORBA::Boolean target_is_a (
- const char * id,
- CORBA::Environment &ACE_TRY_ENV = TAO_default_environment ())
- ACE_THROW_SPEC ((CORBA::SystemException));
-
-
- private:
- TAO_ServerRequestInfo_IR_Contained_version_set (const TAO_ServerRequestInfo_IR_Contained_version_set &);
- void operator= (const TAO_ServerRequestInfo_IR_Contained_version_set &);
-
- private:
- POA_IR::Contained *_tao_impl;
- const char * version_;
- };
-
- class TAO_ServerRequestInfo_IR_Contained_defined_in_get : public TAO_ServerRequestInfo
- {
- public:
- friend class POA_IR::Contained;
- TAO_ServerRequestInfo_IR_Contained_defined_in_get (
- TAO_ServerRequest &_tao_server_request,
- POA_IR::Contained *tao_impl
- ,
- CORBA::Environment &ACE_TRY_ENV =
- TAO_default_environment ()
- );
-
- virtual Dynamic::ParameterList * arguments (
- CORBA::Environment &ACE_TRY_ENV =
- TAO_default_environment ()
- )
- ACE_THROW_SPEC ((CORBA::SystemException));
-
- virtual Dynamic::ExceptionList * exceptions (
- CORBA::Environment &ACE_TRY_ENV =
- TAO_default_environment ()
- )
- ACE_THROW_SPEC ((CORBA::SystemException));
-
- virtual CORBA::Any * result (
- CORBA::Environment &ACE_TRY_ENV =
- TAO_default_environment ()
- )
- ACE_THROW_SPEC ((CORBA::SystemException));
-
- virtual char * target_most_derived_interface (
- CORBA::Environment &ACE_TRY_ENV = TAO_default_environment ())
- ACE_THROW_SPEC ((CORBA::SystemException));
-
- virtual CORBA::Boolean target_is_a (
- const char * id,
- CORBA::Environment &ACE_TRY_ENV = TAO_default_environment ())
- ACE_THROW_SPEC ((CORBA::SystemException));
-
-
- private:
- TAO_ServerRequestInfo_IR_Contained_defined_in_get (const TAO_ServerRequestInfo_IR_Contained_defined_in_get &);
- void operator= (const TAO_ServerRequestInfo_IR_Contained_defined_in_get &);
-
- private:
- POA_IR::Contained *_tao_impl;
- void result (IR::Container_ptr result);
- // update the result
- IR_Container_ptr _result;
- };
-
- class TAO_ServerRequestInfo_IR_Contained_absolute_name_get : public TAO_ServerRequestInfo
- {
- public:
- friend class POA_IR::Contained;
- TAO_ServerRequestInfo_IR_Contained_absolute_name_get (
- TAO_ServerRequest &_tao_server_request,
- POA_IR::Contained *tao_impl
- ,
- CORBA::Environment &ACE_TRY_ENV =
- TAO_default_environment ()
- );
-
- virtual Dynamic::ParameterList * arguments (
- CORBA::Environment &ACE_TRY_ENV =
- TAO_default_environment ()
- )
- ACE_THROW_SPEC ((CORBA::SystemException));
-
- virtual Dynamic::ExceptionList * exceptions (
- CORBA::Environment &ACE_TRY_ENV =
- TAO_default_environment ()
- )
- ACE_THROW_SPEC ((CORBA::SystemException));
-
- virtual CORBA::Any * result (
- CORBA::Environment &ACE_TRY_ENV =
- TAO_default_environment ()
- )
- ACE_THROW_SPEC ((CORBA::SystemException));
-
- virtual char * target_most_derived_interface (
- CORBA::Environment &ACE_TRY_ENV = TAO_default_environment ())
- ACE_THROW_SPEC ((CORBA::SystemException));
-
- virtual CORBA::Boolean target_is_a (
- const char * id,
- CORBA::Environment &ACE_TRY_ENV = TAO_default_environment ())
- ACE_THROW_SPEC ((CORBA::SystemException));
-
-
- private:
- TAO_ServerRequestInfo_IR_Contained_absolute_name_get (const TAO_ServerRequestInfo_IR_Contained_absolute_name_get &);
- void operator= (const TAO_ServerRequestInfo_IR_Contained_absolute_name_get &);
-
- private:
- POA_IR::Contained *_tao_impl;
- void result (char * result);
- // update the result
- char * _result;
- };
-
- class TAO_ServerRequestInfo_IR_Contained_containing_repository_get : public TAO_ServerRequestInfo
- {
- public:
- friend class POA_IR::Contained;
- TAO_ServerRequestInfo_IR_Contained_containing_repository_get (
- TAO_ServerRequest &_tao_server_request,
- POA_IR::Contained *tao_impl
- ,
- CORBA::Environment &ACE_TRY_ENV =
- TAO_default_environment ()
- );
-
- virtual Dynamic::ParameterList * arguments (
- CORBA::Environment &ACE_TRY_ENV =
- TAO_default_environment ()
- )
- ACE_THROW_SPEC ((CORBA::SystemException));
-
- virtual Dynamic::ExceptionList * exceptions (
- CORBA::Environment &ACE_TRY_ENV =
- TAO_default_environment ()
- )
- ACE_THROW_SPEC ((CORBA::SystemException));
-
- virtual CORBA::Any * result (
- CORBA::Environment &ACE_TRY_ENV =
- TAO_default_environment ()
- )
- ACE_THROW_SPEC ((CORBA::SystemException));
-
- virtual char * target_most_derived_interface (
- CORBA::Environment &ACE_TRY_ENV = TAO_default_environment ())
- ACE_THROW_SPEC ((CORBA::SystemException));
-
- virtual CORBA::Boolean target_is_a (
- const char * id,
- CORBA::Environment &ACE_TRY_ENV = TAO_default_environment ())
- ACE_THROW_SPEC ((CORBA::SystemException));
-
-
- private:
- TAO_ServerRequestInfo_IR_Contained_containing_repository_get (const TAO_ServerRequestInfo_IR_Contained_containing_repository_get &);
- void operator= (const TAO_ServerRequestInfo_IR_Contained_containing_repository_get &);
-
- private:
- POA_IR::Contained *_tao_impl;
- void result (IR::Repository_ptr result);
- // update the result
- IR_Repository_ptr _result;
- };
-
- class TAO_ServerRequestInfo_IR_Contained_describe : public TAO_ServerRequestInfo
- {
- public:
- friend class POA_IR::Contained;
- TAO_ServerRequestInfo_IR_Contained_describe (
- TAO_ServerRequest &_tao_server_request,
- POA_IR::Contained *tao_impl
- ,
- CORBA::Environment &ACE_TRY_ENV =
- TAO_default_environment ()
- );
-
- virtual Dynamic::ParameterList * arguments (
- CORBA::Environment &ACE_TRY_ENV =
- TAO_default_environment ()
- )
- ACE_THROW_SPEC ((CORBA::SystemException));
-
- virtual Dynamic::ExceptionList * exceptions (
- CORBA::Environment &ACE_TRY_ENV =
- TAO_default_environment ()
- )
- ACE_THROW_SPEC ((CORBA::SystemException));
-
- virtual CORBA::Any * result (
- CORBA::Environment &ACE_TRY_ENV =
- TAO_default_environment ()
- )
- ACE_THROW_SPEC ((CORBA::SystemException));
-
- virtual char * target_most_derived_interface (
- CORBA::Environment &ACE_TRY_ENV = TAO_default_environment ())
- ACE_THROW_SPEC ((CORBA::SystemException));
-
- virtual CORBA::Boolean target_is_a (
- const char * id,
- CORBA::Environment &ACE_TRY_ENV = TAO_default_environment ())
- ACE_THROW_SPEC ((CORBA::SystemException));
-
-
- private:
- TAO_ServerRequestInfo_IR_Contained_describe (const TAO_ServerRequestInfo_IR_Contained_describe &);
- void operator= (const TAO_ServerRequestInfo_IR_Contained_describe &);
-
- private:
- POA_IR::Contained *_tao_impl;
- void result (IR::Contained::Description * result);
- // update the result
- IR_Contained::Description * _result;
- };
-
- class TAO_ServerRequestInfo_IR_Contained_move : public TAO_ServerRequestInfo
- {
- public:
- friend class POA_IR::Contained;
- TAO_ServerRequestInfo_IR_Contained_move (
- TAO_ServerRequest &_tao_server_request,
- POA_IR::Contained *tao_impl
- ,
- IR_Container_ptr new_container,
- const char * new_name,
- const char * new_version,
- CORBA::Environment &ACE_TRY_ENV =
- TAO_default_environment ()
- );
-
- virtual Dynamic::ParameterList * arguments (
- CORBA::Environment &ACE_TRY_ENV =
- TAO_default_environment ()
- )
- ACE_THROW_SPEC ((CORBA::SystemException));
-
- virtual Dynamic::ExceptionList * exceptions (
- CORBA::Environment &ACE_TRY_ENV =
- TAO_default_environment ()
- )
- ACE_THROW_SPEC ((CORBA::SystemException));
-
- virtual CORBA::Any * result (
- CORBA::Environment &ACE_TRY_ENV =
- TAO_default_environment ()
- )
- ACE_THROW_SPEC ((CORBA::SystemException));
-
- virtual char * target_most_derived_interface (
- CORBA::Environment &ACE_TRY_ENV = TAO_default_environment ())
- ACE_THROW_SPEC ((CORBA::SystemException));
-
- virtual CORBA::Boolean target_is_a (
- const char * id,
- CORBA::Environment &ACE_TRY_ENV = TAO_default_environment ())
- ACE_THROW_SPEC ((CORBA::SystemException));
-
-
- private:
- TAO_ServerRequestInfo_IR_Contained_move (const TAO_ServerRequestInfo_IR_Contained_move &);
- void operator= (const TAO_ServerRequestInfo_IR_Contained_move &);
-
- private:
- POA_IR::Contained *_tao_impl;
- IR_Container_ptr new_container_;
- const char * new_name_;
- const char * new_version_;
- };
-
-#endif /* TAO_HAS_INTERCEPTORS */
-
-};
-
-///////////////////////////////////////////////////////////////////////
-// Strategized Proxy Broker Declaration
-//
-
-class _TAO_Contained_Strategized_Proxy_Broker : public virtual _TAO_Contained_Proxy_Broker
-{
-public:
- _TAO_Contained_Strategized_Proxy_Broker (void);
-
- virtual ~_TAO_Contained_Strategized_Proxy_Broker (void);
-
- virtual _TAO_Contained_Proxy_Impl &select_proxy (
- IR_Contained *object,
- CORBA_Environment &ACE_TRY_ENV = TAO_default_environment ()
- );
-
-private:
-
-// Helper methods that takes care to create the proxy
-// as soon as their use is necessary.
- void create_proxy (
- int strategy,
- CORBA::Environment &ACE_TRY_ENV
- );
-
-private:
-
- // Caches the proxy implementations. The proxy implementation
- // are totally stateless, and those can be shared by all the
- // instances of a given IDL interface type.
- _TAO_Contained_Proxy_Impl
- *proxy_cache_[TAO_Collocation_Strategies::CS_LAST];
-
- TAO_SYNCH_MUTEX mutex_;
-// This funxtion is used to get an handle to the unique instance
-// of the Strategized Proxy Broker that is available for a given
-// interface.
-
-public:
- static _TAO_Contained_Strategized_Proxy_Broker *the_TAO_Contained_Strategized_Proxy_Broker (void);
-};
-
-//
-// End Strategized Proxy Broker Declaration
-///////////////////////////////////////////////////////////////////////
-
-
-///////////////////////////////////////////////////////////////////////
-// ThruPOA Impl. Declaration
-//
-
-class _TAO_Contained_ThruPOA_Proxy_Impl :
- public virtual _TAO_Contained_Proxy_Impl,
- public virtual TAO_ThruPOA_Object_Proxy_Impl,
- public virtual _TAO_IRObject_ThruPOA_Proxy_Impl
-
-{
-public:
- _TAO_Contained_ThruPOA_Proxy_Impl (void);
-
- virtual ~_TAO_Contained_ThruPOA_Proxy_Impl (void) { }
-
- virtual char * id (
- CORBA_Object *_collocated_tao_target_,
- CORBA::Environment &ACE_TRY_ENV
- )
- ACE_THROW_SPEC ((
- CORBA::SystemException
- ));
-
- virtual void id (
- CORBA_Object *_collocated_tao_target_,
- const char * id,
- CORBA::Environment &ACE_TRY_ENV
- )
- ACE_THROW_SPEC ((
- CORBA::SystemException
- ));
-
- virtual char * name (
- CORBA_Object *_collocated_tao_target_,
- CORBA::Environment &ACE_TRY_ENV
- )
- ACE_THROW_SPEC ((
- CORBA::SystemException
- ));
-
- virtual void name (
- CORBA_Object *_collocated_tao_target_,
- const char * name,
- CORBA::Environment &ACE_TRY_ENV
- )
- ACE_THROW_SPEC ((
- CORBA::SystemException
- ));
-
- virtual char * version (
- CORBA_Object *_collocated_tao_target_,
- CORBA::Environment &ACE_TRY_ENV
- )
- ACE_THROW_SPEC ((
- CORBA::SystemException
- ));
-
- virtual void version (
- CORBA_Object *_collocated_tao_target_,
- const char * version,
- CORBA::Environment &ACE_TRY_ENV
- )
- ACE_THROW_SPEC ((
- CORBA::SystemException
- ));
-
- virtual IR_Container_ptr defined_in (
- CORBA_Object *_collocated_tao_target_,
- CORBA::Environment &ACE_TRY_ENV
- )
- ACE_THROW_SPEC ((
- CORBA::SystemException
- ));
-
- virtual char * absolute_name (
- CORBA_Object *_collocated_tao_target_,
- CORBA::Environment &ACE_TRY_ENV
- )
- ACE_THROW_SPEC ((
- CORBA::SystemException
- ));
-
- virtual IR_Repository_ptr containing_repository (
- CORBA_Object *_collocated_tao_target_,
- CORBA::Environment &ACE_TRY_ENV
- )
- ACE_THROW_SPEC ((
- CORBA::SystemException
- ));
-
- virtual IR_Contained::Description * describe (
- CORBA_Object *_collocated_tao_target_,
- CORBA::Environment &ACE_TRY_ENV
- )
- ACE_THROW_SPEC ((
- CORBA::SystemException
- ));
-
- virtual void move (
- CORBA_Object *_collocated_tao_target_,
- IR_Container_ptr new_container,
- const char * new_name,
- const char * new_version,
- CORBA::Environment &ACE_TRY_ENV
- )
- ACE_THROW_SPEC ((
- CORBA::SystemException
- ));
-
-};
-
-
-//
-// ThruPOA Proxy Impl. Declaration
-///////////////////////////////////////////////////////////////////////
-
-#if defined (ACE_HAS_USING_KEYWORD)
- // TIE class: Refer to CORBA v2.2, Section 20.34.4
- template <class T>
- class Contained_tie : public Contained
- {
- public:
- Contained_tie (T &t);
- // the T& ctor
- Contained_tie (T &t, PortableServer::POA_ptr poa);
- // ctor taking a POA
- Contained_tie (T *tp, CORBA::Boolean release=1);
- // ctor taking pointer and an ownership flag
- Contained_tie (T *tp, PortableServer::POA_ptr poa, CORBA::Boolean release=1);
- // ctor with T*, ownership flag and a POA
- ~Contained_tie (void);
- // dtor
-
- // TIE specific functions
- T *_tied_object (void);
- // return the underlying object
- void _tied_object (T &obj);
- // set the underlying object
- void _tied_object (T *obj, CORBA::Boolean release=1);
- // set the underlying object and the ownership flag
- CORBA::Boolean _is_owner (void);
- // do we own it
- void _is_owner (CORBA::Boolean b);
- // set the ownership
-
- // overridden ServantBase operations
- PortableServer::POA_ptr _default_POA (
- CORBA::Environment &env =
- TAO_default_environment ()
- );
- char * id (
- CORBA::Environment &ACE_TRY_ENV =
- TAO_default_environment ()
- )
- ACE_THROW_SPEC ((
- CORBA::SystemException
- ));
-
- void id (
- const char * id,
- CORBA::Environment &ACE_TRY_ENV =
- TAO_default_environment ()
- )
- ACE_THROW_SPEC ((
- CORBA::SystemException
- ));
-
- char * name (
- CORBA::Environment &ACE_TRY_ENV =
- TAO_default_environment ()
- )
- ACE_THROW_SPEC ((
- CORBA::SystemException
- ));
-
- void name (
- const char * name,
- CORBA::Environment &ACE_TRY_ENV =
- TAO_default_environment ()
- )
- ACE_THROW_SPEC ((
- CORBA::SystemException
- ));
-
- char * version (
- CORBA::Environment &ACE_TRY_ENV =
- TAO_default_environment ()
- )
- ACE_THROW_SPEC ((
- CORBA::SystemException
- ));
-
- void version (
- const char * version,
- CORBA::Environment &ACE_TRY_ENV =
- TAO_default_environment ()
- )
- ACE_THROW_SPEC ((
- CORBA::SystemException
- ));
-
- IR_Container_ptr defined_in (
- CORBA::Environment &ACE_TRY_ENV =
- TAO_default_environment ()
- )
- ACE_THROW_SPEC ((
- CORBA::SystemException
- ));
-
- char * absolute_name (
- CORBA::Environment &ACE_TRY_ENV =
- TAO_default_environment ()
- )
- ACE_THROW_SPEC ((
- CORBA::SystemException
- ));
-
- IR_Repository_ptr containing_repository (
- CORBA::Environment &ACE_TRY_ENV =
- TAO_default_environment ()
- )
- ACE_THROW_SPEC ((
- CORBA::SystemException
- ));
-
- IR_Contained::Description * describe (
- CORBA::Environment &ACE_TRY_ENV =
- TAO_default_environment ()
- )
- ACE_THROW_SPEC ((
- CORBA::SystemException
- ));
-
- void move (
- IR_Container_ptr new_container,
- const char * new_name,
- const char * new_version,
- CORBA::Environment &ACE_TRY_ENV =
- TAO_default_environment ()
- )
- ACE_THROW_SPEC ((
- CORBA::SystemException
- ));
-
- IR_DefinitionKind def_kind (
- CORBA::Environment &ACE_TRY_ENV =
- TAO_default_environment ()
- )
- ACE_THROW_SPEC ((
- CORBA::SystemException
- ));
-
- void destroy (
- CORBA::Environment &ACE_TRY_ENV =
- TAO_default_environment ()
- )
- ACE_THROW_SPEC ((
- CORBA::SystemException
- ));
-
-private:
- T *ptr_;
- PortableServer::POA_var poa_;
- CORBA::Boolean rel_;
-
- // copy and assignment are not allowed
- Contained_tie (const Contained_tie &);
- void operator= (const Contained_tie &);
- };
-
-#endif /* ACE_HAS_USING_KEYWORD */
-
- class Container;
- typedef Container *Container_ptr;
- // Forward Classes Declaration
- class _TAO_Container_ThruPOA_Proxy_Impl;
- class _TAO_Container_Strategized_Proxy_Broker;
-
- class Container : public virtual POA_CORBA_IRObject
- {
- protected:
- Container (void);
-
- public:
- Container (const Container& rhs);
- virtual ~Container (void);
-
-
- virtual CORBA::Boolean _is_a (
- const char *logical_type_id,
- CORBA::Environment &ACE_TRY_ENV =
- TAO_default_environment ()
- );
-
- virtual void *_downcast (
- const char *logical_type_id
- );
-
- static void _is_a_skel (
- TAO_ServerRequest &req,
- void *obj,
- void *context,
- CORBA::Environment &ACE_TRY_ENV =
- TAO_default_environment ()
- );
-
- static void _non_existent_skel (
- TAO_ServerRequest &req,
- void *obj,
- void *context,
- CORBA::Environment &ACE_TRY_ENV =
- TAO_default_environment ()
- );
-
- virtual void _dispatch (
- TAO_ServerRequest &_tao_req,
- void *_tao_context,
- CORBA::Environment &ACE_TRY_ENV =
- TAO_default_environment ()
- );
-
- IR_Container *_this (
- CORBA::Environment &ACE_TRY_ENV =
- TAO_default_environment ()
- );
-
- virtual const char *_interface_repository_id (void) const;
-
- virtual IR_Contained_ptr lookup (
- const char *search_name,
- CORBA::Environment &ACE_TRY_ENV =
- TAO_default_environment ()
- )
- ACE_THROW_SPEC ((
- CORBA::SystemException
- )) = 0;
-
- static void lookup_skel (
- TAO_ServerRequest &_tao_req,
- void *_tao_obj,
- void *_tao_context,
- CORBA::Environment &ACE_TRY_ENV =
- TAO_default_environment ()
- );
-
- virtual IR_ContainedSeq *contents (
- IR_DefinitionKind limit_type,
- CORBA::Boolean exclude_inherited,
- CORBA::Environment &ACE_TRY_ENV =
- TAO_default_environment ()
- )
- ACE_THROW_SPEC ((
- CORBA::SystemException
- )) = 0;
-
- static void contents_skel (
- TAO_ServerRequest &_tao_req,
- void *_tao_obj,
- void *_tao_context,
- CORBA::Environment &ACE_TRY_ENV =
- TAO_default_environment ()
- );
-
- virtual IR_ContainedSeq *lookup_name (
- const char *search_name,
- CORBA::Long levels_to_search,
- IR_DefinitionKind limit_type,
- CORBA::Boolean exclude_inherited,
- CORBA::Environment &ACE_TRY_ENV =
- TAO_default_environment ()
- )
- ACE_THROW_SPEC ((
- CORBA::SystemException
- )) = 0;
-
- static void lookup_name_skel (
- TAO_ServerRequest &_tao_req,
- void *_tao_obj,
- void *_tao_context,
- CORBA::Environment &ACE_TRY_ENV =
- TAO_default_environment ()
- );
-
- virtual IR_Container::DescriptionSeq *describe_contents (
- IR_DefinitionKind limit_type,
- CORBA::Boolean exclude_inherited,
- CORBA::Long max_returned_objs,
- CORBA::Environment &ACE_TRY_ENV =
- TAO_default_environment ()
- )
- ACE_THROW_SPEC ((
- CORBA::SystemException
- )) = 0;
-
- static void describe_contents_skel (
- TAO_ServerRequest &_tao_req,
- void *_tao_obj,
- void *_tao_context,
- CORBA::Environment &ACE_TRY_ENV =
- TAO_default_environment ()
- );
-
- virtual IR_ModuleDef_ptr create_module (
- const char *id,
- const char *name,
- const char *version,
- CORBA::Environment &ACE_TRY_ENV =
- TAO_default_environment ()
- )
- ACE_THROW_SPEC ((
- CORBA::SystemException
- )) = 0;
-
- static void create_module_skel (
- TAO_ServerRequest &_tao_req,
- void *_tao_obj,
- void *_tao_context,
- CORBA::Environment &ACE_TRY_ENV =
- TAO_default_environment ()
- );
-
- virtual IR_ConstantDef_ptr create_constant (
- const char *id,
- const char *name,
- const char *version,
- IR_IDLType_ptr type,
- const CORBA::Any & value,
- CORBA::Environment &ACE_TRY_ENV =
- TAO_default_environment ()
- )
- ACE_THROW_SPEC ((
- CORBA::SystemException
- )) = 0;
-
- static void create_constant_skel (
- TAO_ServerRequest &_tao_req,
- void *_tao_obj,
- void *_tao_context,
- CORBA::Environment &ACE_TRY_ENV =
- TAO_default_environment ()
- );
-
- virtual IR_StructDef_ptr create_struct (
- const char *id,
- const char *name,
- const char *version,
- const IR_StructMemberSeq &members,
- CORBA::Environment &ACE_TRY_ENV =
- TAO_default_environment ()
- )
- ACE_THROW_SPEC ((
- CORBA::SystemException
- )) = 0;
-
- static void create_struct_skel (
- TAO_ServerRequest &_tao_req,
- void *_tao_obj,
- void *_tao_context,
- CORBA::Environment &ACE_TRY_ENV =
- TAO_default_environment ()
- );
-
- virtual IR_UnionDef_ptr create_union (
- const char *id,
- const char *name,
- const char *version,
- IR_IDLType_ptr discriminator_type,
- const IR_UnionMemberSeq &members,
- CORBA::Environment &ACE_TRY_ENV =
- TAO_default_environment ()
- )
- ACE_THROW_SPEC ((
- CORBA::SystemException
- )) = 0;
-
- static void create_union_skel (
- TAO_ServerRequest &_tao_req,
- void *_tao_obj,
- void *_tao_context,
- CORBA::Environment &ACE_TRY_ENV =
- TAO_default_environment ()
- );
-
- virtual IR_EnumDef_ptr create_enum (
- const char * id,
- const char * name,
- const char * version,
- const IR_EnumMemberSeq &members,
- CORBA::Environment &ACE_TRY_ENV =
- TAO_default_environment ()
- )
- ACE_THROW_SPEC ((
- CORBA::SystemException
- )) = 0;
-
- static void create_enum_skel (
- TAO_ServerRequest &_tao_req,
- void *_tao_obj,
- void *_tao_context,
- CORBA::Environment &ACE_TRY_ENV =
- TAO_default_environment ()
- );
-
- virtual IR_AliasDef_ptr create_alias (
- const char *id,
- const char *name,
- const char *version,
- IR_IDLType_ptr original_type,
- CORBA::Environment &ACE_TRY_ENV =
- TAO_default_environment ()
- )
- ACE_THROW_SPEC ((
- CORBA::SystemException
- )) = 0;
-
- static void create_alias_skel (
- TAO_ServerRequest &_tao_req,
- void *_tao_obj,
- void *_tao_context,
- CORBA::Environment &ACE_TRY_ENV =
- TAO_default_environment ()
- );
-
- virtual IR_InterfaceDef_ptr create_interface (
- const char *id,
- const char *name,
- const char *version,
- const IR_InterfaceDefSeq &base_interfaces,
- CORBA::Boolean is_abstract,
- CORBA::Boolean is_local,
- CORBA::Environment &ACE_TRY_ENV =
- TAO_default_environment ()
- )
- ACE_THROW_SPEC ((
- CORBA::SystemException
- )) = 0;
-
- static void create_interface_skel (
- TAO_ServerRequest &_tao_req,
- void *_tao_obj,
- void *_tao_context,
- CORBA::Environment &ACE_TRY_ENV =
- TAO_default_environment ()
- );
-
- virtual IR_ValueDef_ptr create_value (
- const char *id,
- const char *name,
- const char *version,
- CORBA::Boolean is_custom,
- CORBA::Boolean is_abstract,
- IR_ValueDef_ptr base_value,
- CORBA::Boolean is_truncatable,
- const IR_ValueDefSeq &abstract_base_values,
- const IR_InterfaceDefSeq &supported_interfaces,
- const IR_InitializerSeq &initializers,
- CORBA::Environment &ACE_TRY_ENV =
- TAO_default_environment ()
- )
- ACE_THROW_SPEC ((
- CORBA::SystemException
- )) = 0;
-
- static void create_value_skel (
- TAO_ServerRequest &_tao_req,
- void *_tao_obj,
- void *_tao_context,
- CORBA::Environment &ACE_TRY_ENV =
- TAO_default_environment ()
- );
-
- virtual IR_ValueBoxDef_ptr create_value_box (
- const char *id,
- const char *name,
- const char *version,
- IR_IDLType_ptr original_type_def,
- CORBA::Environment &ACE_TRY_ENV =
- TAO_default_environment ()
- )
- ACE_THROW_SPEC ((
- CORBA::SystemException
- )) = 0;
-
- static void create_value_box_skel (
- TAO_ServerRequest &_tao_req,
- void *_tao_obj,
- void *_tao_context,
- CORBA::Environment &ACE_TRY_ENV =
- TAO_default_environment ()
- );
-
- virtual IR_ExceptionDef_ptr create_exception (
- const char *id,
- const char *name,
- const char *version,
- const IR_StructMemberSeq &members,
- CORBA::Environment &ACE_TRY_ENV =
- TAO_default_environment ()
- )
- ACE_THROW_SPEC ((
- CORBA::SystemException
- )) = 0;
-
- static void create_exception_skel (
- TAO_ServerRequest &_tao_req,
- void *_tao_obj,
- void *_tao_context,
- CORBA::Environment &ACE_TRY_ENV =
- TAO_default_environment ()
- );
-
- virtual IR_NativeDef_ptr create_native (
- const char *id,
- const char *name,
- const char *version,
- CORBA::Environment &ACE_TRY_ENV =
- TAO_default_environment ()
- )
- ACE_THROW_SPEC ((
- CORBA::SystemException
- )) = 0;
-
- static void create_native_skel (
- TAO_ServerRequest &_tao_req,
- void *_tao_obj,
- void *_tao_context,
- CORBA::Environment &ACE_TRY_ENV =
- TAO_default_environment ()
- );
-
- static void _get_def_kind_skel (
- TAO_ServerRequest &req,
- void *obj,
- void *context,
- CORBA::Environment &env =
- TAO_default_environment ()
- );
-
- static void destroy_skel (
- TAO_ServerRequest &req,
- void *obj,
- void *context,
- CORBA::Environment &env =
- TAO_default_environment ()
- );
-
-#if (TAO_HAS_INTERCEPTORS == 1)
- // Generation of interceptors related RequestInfo classes per operation.
- // This needed to be able to store the arguments, exceptions, contexts
- // and build the lists dynamically on demand so that unnecessary time overhead
- // of building these lists when they arent used is avoided.
- class TAO_ServerRequestInfo_IR_Container_lookup : public TAO_ServerRequestInfo
- {
- public:
- friend class POA_IR::Container;
- TAO_ServerRequestInfo_IR_Container_lookup (
- TAO_ServerRequest &_tao_server_request,
- POA_IR::Container *tao_impl
- ,
- const char * search_name,
- CORBA::Environment &ACE_TRY_ENV =
- TAO_default_environment ()
- );
-
- virtual Dynamic::ParameterList * arguments (
- CORBA::Environment &ACE_TRY_ENV =
- TAO_default_environment ()
- )
- ACE_THROW_SPEC ((CORBA::SystemException));
-
- virtual Dynamic::ExceptionList * exceptions (
- CORBA::Environment &ACE_TRY_ENV =
- TAO_default_environment ()
- )
- ACE_THROW_SPEC ((CORBA::SystemException));
-
- virtual CORBA::Any * result (
- CORBA::Environment &ACE_TRY_ENV =
- TAO_default_environment ()
- )
- ACE_THROW_SPEC ((CORBA::SystemException));
-
- virtual char * target_most_derived_interface (
- CORBA::Environment &ACE_TRY_ENV = TAO_default_environment ())
- ACE_THROW_SPEC ((CORBA::SystemException));
-
- virtual CORBA::Boolean target_is_a (
- const char * id,
- CORBA::Environment &ACE_TRY_ENV = TAO_default_environment ())
- ACE_THROW_SPEC ((CORBA::SystemException));
-
-
- private:
- TAO_ServerRequestInfo_IR_Container_lookup (const TAO_ServerRequestInfo_IR_Container_lookup &);
- void operator= (const TAO_ServerRequestInfo_IR_Container_lookup &);
-
- private:
- POA_IR::Container *_tao_impl;
- const char * search_name_;
- void result (IR::Contained_ptr result);
- // update the result
- IR_Contained_ptr _result;
- };
-
- class TAO_ServerRequestInfo_IR_Container_contents : public TAO_ServerRequestInfo
- {
- public:
- friend class POA_IR::Container;
- TAO_ServerRequestInfo_IR_Container_contents (
- TAO_ServerRequest &_tao_server_request,
- POA_IR::Container *tao_impl
- ,
- IR_DefinitionKind & limit_type,
- const CORBA::Boolean & exclude_inherited,
- CORBA::Environment &ACE_TRY_ENV =
- TAO_default_environment ()
- );
-
- virtual Dynamic::ParameterList * arguments (
- CORBA::Environment &ACE_TRY_ENV =
- TAO_default_environment ()
- )
- ACE_THROW_SPEC ((CORBA::SystemException));
-
- virtual Dynamic::ExceptionList * exceptions (
- CORBA::Environment &ACE_TRY_ENV =
- TAO_default_environment ()
- )
- ACE_THROW_SPEC ((CORBA::SystemException));
-
- virtual CORBA::Any * result (
- CORBA::Environment &ACE_TRY_ENV =
- TAO_default_environment ()
- )
- ACE_THROW_SPEC ((CORBA::SystemException));
-
- virtual char * target_most_derived_interface (
- CORBA::Environment &ACE_TRY_ENV = TAO_default_environment ())
- ACE_THROW_SPEC ((CORBA::SystemException));
-
- virtual CORBA::Boolean target_is_a (
- const char * id,
- CORBA::Environment &ACE_TRY_ENV = TAO_default_environment ())
- ACE_THROW_SPEC ((CORBA::SystemException));
-
-
- private:
- TAO_ServerRequestInfo_IR_Container_contents (const TAO_ServerRequestInfo_IR_Container_contents &);
- void operator= (const TAO_ServerRequestInfo_IR_Container_contents &);
-
- private:
- POA_IR::Container *_tao_impl;
- const IR_DefinitionKind & limit_type_;
- const CORBA::Boolean & exclude_inherited_;
- void result (IR::ContainedSeq * result);
- // update the result
- IR_ContainedSeq * _result;
- };
-
- class TAO_ServerRequestInfo_IR_Container_lookup_name : public TAO_ServerRequestInfo
- {
- public:
- friend class POA_IR::Container;
- TAO_ServerRequestInfo_IR_Container_lookup_name (
- TAO_ServerRequest &_tao_server_request,
- POA_IR::Container *tao_impl
- ,
- const char * search_name,
- const CORBA::Long & levels_to_search,
- IR_DefinitionKind & limit_type,
- const CORBA::Boolean & exclude_inherited,
- CORBA::Environment &ACE_TRY_ENV =
- TAO_default_environment ()
- );
-
- virtual Dynamic::ParameterList * arguments (
- CORBA::Environment &ACE_TRY_ENV =
- TAO_default_environment ()
- )
- ACE_THROW_SPEC ((CORBA::SystemException));
-
- virtual Dynamic::ExceptionList * exceptions (
- CORBA::Environment &ACE_TRY_ENV =
- TAO_default_environment ()
- )
- ACE_THROW_SPEC ((CORBA::SystemException));
-
- virtual CORBA::Any * result (
- CORBA::Environment &ACE_TRY_ENV =
- TAO_default_environment ()
- )
- ACE_THROW_SPEC ((CORBA::SystemException));
-
- virtual char * target_most_derived_interface (
- CORBA::Environment &ACE_TRY_ENV = TAO_default_environment ())
- ACE_THROW_SPEC ((CORBA::SystemException));
-
- virtual CORBA::Boolean target_is_a (
- const char * id,
- CORBA::Environment &ACE_TRY_ENV = TAO_default_environment ())
- ACE_THROW_SPEC ((CORBA::SystemException));
-
-
- private:
- TAO_ServerRequestInfo_IR_Container_lookup_name (const TAO_ServerRequestInfo_IR_Container_lookup_name &);
- void operator= (const TAO_ServerRequestInfo_IR_Container_lookup_name &);
-
- private:
- POA_IR::Container *_tao_impl;
- const char * search_name_;
- const CORBA::Long & levels_to_search_;
- const IR_DefinitionKind & limit_type_;
- const CORBA::Boolean & exclude_inherited_;
- void result (IR::ContainedSeq * result);
- // update the result
- IR_ContainedSeq * _result;
- };
-
- class TAO_ServerRequestInfo_IR_Container_describe_contents : public TAO_ServerRequestInfo
- {
- public:
- friend class POA_IR::Container;
- TAO_ServerRequestInfo_IR_Container_describe_contents (
- TAO_ServerRequest &_tao_server_request,
- POA_IR::Container *tao_impl
- ,
- IR_DefinitionKind & limit_type,
- const CORBA::Boolean & exclude_inherited,
- const CORBA::Long & max_returned_objs,
- CORBA::Environment &ACE_TRY_ENV =
- TAO_default_environment ()
- );
-
- virtual Dynamic::ParameterList * arguments (
- CORBA::Environment &ACE_TRY_ENV =
- TAO_default_environment ()
- )
- ACE_THROW_SPEC ((CORBA::SystemException));
-
- virtual Dynamic::ExceptionList * exceptions (
- CORBA::Environment &ACE_TRY_ENV =
- TAO_default_environment ()
- )
- ACE_THROW_SPEC ((CORBA::SystemException));
-
- virtual CORBA::Any * result (
- CORBA::Environment &ACE_TRY_ENV =
- TAO_default_environment ()
- )
- ACE_THROW_SPEC ((CORBA::SystemException));
-
- virtual char * target_most_derived_interface (
- CORBA::Environment &ACE_TRY_ENV = TAO_default_environment ())
- ACE_THROW_SPEC ((CORBA::SystemException));
-
- virtual CORBA::Boolean target_is_a (
- const char * id,
- CORBA::Environment &ACE_TRY_ENV = TAO_default_environment ())
- ACE_THROW_SPEC ((CORBA::SystemException));
-
-
- private:
- TAO_ServerRequestInfo_IR_Container_describe_contents (const TAO_ServerRequestInfo_IR_Container_describe_contents &);
- void operator= (const TAO_ServerRequestInfo_IR_Container_describe_contents &);
-
- private:
- POA_IR::Container *_tao_impl;
- const IR_DefinitionKind & limit_type_;
- const CORBA::Boolean & exclude_inherited_;
- const CORBA::Long & max_returned_objs_;
- void result (IR::Container::DescriptionSeq * result);
- // update the result
- IR_Container::DescriptionSeq * _result;
- };
-
- class TAO_ServerRequestInfo_IR_Container_create_module : public TAO_ServerRequestInfo
- {
- public:
- friend class POA_IR::Container;
- TAO_ServerRequestInfo_IR_Container_create_module (
- TAO_ServerRequest &_tao_server_request,
- POA_IR::Container *tao_impl
- ,
- const char * id,
- const char * name,
- const char * version,
- CORBA::Environment &ACE_TRY_ENV =
- TAO_default_environment ()
- );
-
- virtual Dynamic::ParameterList * arguments (
- CORBA::Environment &ACE_TRY_ENV =
- TAO_default_environment ()
- )
- ACE_THROW_SPEC ((CORBA::SystemException));
-
- virtual Dynamic::ExceptionList * exceptions (
- CORBA::Environment &ACE_TRY_ENV =
- TAO_default_environment ()
- )
- ACE_THROW_SPEC ((CORBA::SystemException));
-
- virtual CORBA::Any * result (
- CORBA::Environment &ACE_TRY_ENV =
- TAO_default_environment ()
- )
- ACE_THROW_SPEC ((CORBA::SystemException));
-
- virtual char * target_most_derived_interface (
- CORBA::Environment &ACE_TRY_ENV = TAO_default_environment ())
- ACE_THROW_SPEC ((CORBA::SystemException));
-
- virtual CORBA::Boolean target_is_a (
- const char * id,
- CORBA::Environment &ACE_TRY_ENV = TAO_default_environment ())
- ACE_THROW_SPEC ((CORBA::SystemException));
-
-
- private:
- TAO_ServerRequestInfo_IR_Container_create_module (const TAO_ServerRequestInfo_IR_Container_create_module &);
- void operator= (const TAO_ServerRequestInfo_IR_Container_create_module &);
-
- private:
- POA_IR::Container *_tao_impl;
- const char * id_;
- const char * name_;
- const char * version_;
- void result (IR::ModuleDef_ptr result);
- // update the result
- IR_ModuleDef_ptr _result;
- };
-
- class TAO_ServerRequestInfo_IR_Container_create_constant : public TAO_ServerRequestInfo
- {
- public:
- friend class POA_IR::Container;
- TAO_ServerRequestInfo_IR_Container_create_constant (
- TAO_ServerRequest &_tao_server_request,
- POA_IR::Container *tao_impl
- ,
- const char * id,
- const char * name,
- const char * version,
- IR_IDLType_ptr type,
- const CORBA::Any & value,
- CORBA::Environment &ACE_TRY_ENV =
- TAO_default_environment ()
- );
-
- virtual Dynamic::ParameterList * arguments (
- CORBA::Environment &ACE_TRY_ENV =
- TAO_default_environment ()
- )
- ACE_THROW_SPEC ((CORBA::SystemException));
-
- virtual Dynamic::ExceptionList * exceptions (
- CORBA::Environment &ACE_TRY_ENV =
- TAO_default_environment ()
- )
- ACE_THROW_SPEC ((CORBA::SystemException));
-
- virtual CORBA::Any * result (
- CORBA::Environment &ACE_TRY_ENV =
- TAO_default_environment ()
- )
- ACE_THROW_SPEC ((CORBA::SystemException));
-
- virtual char * target_most_derived_interface (
- CORBA::Environment &ACE_TRY_ENV = TAO_default_environment ())
- ACE_THROW_SPEC ((CORBA::SystemException));
-
- virtual CORBA::Boolean target_is_a (
- const char * id,
- CORBA::Environment &ACE_TRY_ENV = TAO_default_environment ())
- ACE_THROW_SPEC ((CORBA::SystemException));
-
-
- private:
- TAO_ServerRequestInfo_IR_Container_create_constant (const TAO_ServerRequestInfo_IR_Container_create_constant &);
- void operator= (const TAO_ServerRequestInfo_IR_Container_create_constant &);
-
- private:
- POA_IR::Container *_tao_impl;
- const char * id_;
- const char * name_;
- const char * version_;
- IR_IDLType_ptr type_;
- const CORBA::Any & value_;
- void result (IR::ConstantDef_ptr result);
- // update the result
- IR_ConstantDef_ptr _result;
- };
-
- class TAO_ServerRequestInfo_IR_Container_create_struct : public TAO_ServerRequestInfo
- {
- public:
- friend class POA_IR::Container;
- TAO_ServerRequestInfo_IR_Container_create_struct (
- TAO_ServerRequest &_tao_server_request,
- POA_IR::Container *tao_impl
- ,
- const char * id,
- const char * name,
- const char * version,
- const IR_StructMemberSeq & members,
- CORBA::Environment &ACE_TRY_ENV =
- TAO_default_environment ()
- );
-
- virtual Dynamic::ParameterList * arguments (
- CORBA::Environment &ACE_TRY_ENV =
- TAO_default_environment ()
- )
- ACE_THROW_SPEC ((CORBA::SystemException));
-
- virtual Dynamic::ExceptionList * exceptions (
- CORBA::Environment &ACE_TRY_ENV =
- TAO_default_environment ()
- )
- ACE_THROW_SPEC ((CORBA::SystemException));
-
- virtual CORBA::Any * result (
- CORBA::Environment &ACE_TRY_ENV =
- TAO_default_environment ()
- )
- ACE_THROW_SPEC ((CORBA::SystemException));
-
- virtual char * target_most_derived_interface (
- CORBA::Environment &ACE_TRY_ENV = TAO_default_environment ())
- ACE_THROW_SPEC ((CORBA::SystemException));
-
- virtual CORBA::Boolean target_is_a (
- const char * id,
- CORBA::Environment &ACE_TRY_ENV = TAO_default_environment ())
- ACE_THROW_SPEC ((CORBA::SystemException));
-
-
- private:
- TAO_ServerRequestInfo_IR_Container_create_struct (const TAO_ServerRequestInfo_IR_Container_create_struct &);
- void operator= (const TAO_ServerRequestInfo_IR_Container_create_struct &);
-
- private:
- POA_IR::Container *_tao_impl;
- const char * id_;
- const char * name_;
- const char * version_;
- const IR_StructMemberSeq & members_;
- void result (IR::StructDef_ptr result);
- // update the result
- IR_StructDef_ptr _result;
- };
-
- class TAO_ServerRequestInfo_IR_Container_create_union : public TAO_ServerRequestInfo
- {
- public:
- friend class POA_IR::Container;
- TAO_ServerRequestInfo_IR_Container_create_union (
- TAO_ServerRequest &_tao_server_request,
- POA_IR::Container *tao_impl
- ,
- const char * id,
- const char * name,
- const char * version,
- IR_IDLType_ptr discriminator_type,
- const IR_UnionMemberSeq & members,
- CORBA::Environment &ACE_TRY_ENV =
- TAO_default_environment ()
- );
-
- virtual Dynamic::ParameterList * arguments (
- CORBA::Environment &ACE_TRY_ENV =
- TAO_default_environment ()
- )
- ACE_THROW_SPEC ((CORBA::SystemException));
-
- virtual Dynamic::ExceptionList * exceptions (
- CORBA::Environment &ACE_TRY_ENV =
- TAO_default_environment ()
- )
- ACE_THROW_SPEC ((CORBA::SystemException));
-
- virtual CORBA::Any * result (
- CORBA::Environment &ACE_TRY_ENV =
- TAO_default_environment ()
- )
- ACE_THROW_SPEC ((CORBA::SystemException));
-
- virtual char * target_most_derived_interface (
- CORBA::Environment &ACE_TRY_ENV = TAO_default_environment ())
- ACE_THROW_SPEC ((CORBA::SystemException));
-
- virtual CORBA::Boolean target_is_a (
- const char * id,
- CORBA::Environment &ACE_TRY_ENV = TAO_default_environment ())
- ACE_THROW_SPEC ((CORBA::SystemException));
-
-
- private:
- TAO_ServerRequestInfo_IR_Container_create_union (const TAO_ServerRequestInfo_IR_Container_create_union &);
- void operator= (const TAO_ServerRequestInfo_IR_Container_create_union &);
-
- private:
- POA_IR::Container *_tao_impl;
- const char * id_;
- const char * name_;
- const char * version_;
- IR_IDLType_ptr discriminator_type_;
- const IR_UnionMemberSeq & members_;
- void result (IR::UnionDef_ptr result);
- // update the result
- IR_UnionDef_ptr _result;
- };
-
- class TAO_ServerRequestInfo_IR_Container_create_enum : public TAO_ServerRequestInfo
- {
- public:
- friend class POA_IR::Container;
- TAO_ServerRequestInfo_IR_Container_create_enum (
- TAO_ServerRequest &_tao_server_request,
- POA_IR::Container *tao_impl
- ,
- const char * id,
- const char * name,
- const char * version,
- const IR_EnumMemberSeq & members,
- CORBA::Environment &ACE_TRY_ENV =
- TAO_default_environment ()
- );
-
- virtual Dynamic::ParameterList * arguments (
- CORBA::Environment &ACE_TRY_ENV =
- TAO_default_environment ()
- )
- ACE_THROW_SPEC ((CORBA::SystemException));
-
- virtual Dynamic::ExceptionList * exceptions (
- CORBA::Environment &ACE_TRY_ENV =
- TAO_default_environment ()
- )
- ACE_THROW_SPEC ((CORBA::SystemException));
-
- virtual CORBA::Any * result (
- CORBA::Environment &ACE_TRY_ENV =
- TAO_default_environment ()
- )
- ACE_THROW_SPEC ((CORBA::SystemException));
-
- virtual char * target_most_derived_interface (
- CORBA::Environment &ACE_TRY_ENV = TAO_default_environment ())
- ACE_THROW_SPEC ((CORBA::SystemException));
-
- virtual CORBA::Boolean target_is_a (
- const char * id,
- CORBA::Environment &ACE_TRY_ENV = TAO_default_environment ())
- ACE_THROW_SPEC ((CORBA::SystemException));
-
-
- private:
- TAO_ServerRequestInfo_IR_Container_create_enum (const TAO_ServerRequestInfo_IR_Container_create_enum &);
- void operator= (const TAO_ServerRequestInfo_IR_Container_create_enum &);
-
- private:
- POA_IR::Container *_tao_impl;
- const char * id_;
- const char * name_;
- const char * version_;
- const IR_EnumMemberSeq & members_;
- void result (IR::EnumDef_ptr result);
- // update the result
- IR_EnumDef_ptr _result;
- };
-
- class TAO_ServerRequestInfo_IR_Container_create_alias : public TAO_ServerRequestInfo
- {
- public:
- friend class POA_IR::Container;
- TAO_ServerRequestInfo_IR_Container_create_alias (
- TAO_ServerRequest &_tao_server_request,
- POA_IR::Container *tao_impl
- ,
- const char * id,
- const char * name,
- const char * version,
- IR_IDLType_ptr original_type,
- CORBA::Environment &ACE_TRY_ENV =
- TAO_default_environment ()
- );
-
- virtual Dynamic::ParameterList * arguments (
- CORBA::Environment &ACE_TRY_ENV =
- TAO_default_environment ()
- )
- ACE_THROW_SPEC ((CORBA::SystemException));
-
- virtual Dynamic::ExceptionList * exceptions (
- CORBA::Environment &ACE_TRY_ENV =
- TAO_default_environment ()
- )
- ACE_THROW_SPEC ((CORBA::SystemException));
-
- virtual CORBA::Any * result (
- CORBA::Environment &ACE_TRY_ENV =
- TAO_default_environment ()
- )
- ACE_THROW_SPEC ((CORBA::SystemException));
-
- virtual char * target_most_derived_interface (
- CORBA::Environment &ACE_TRY_ENV = TAO_default_environment ())
- ACE_THROW_SPEC ((CORBA::SystemException));
-
- virtual CORBA::Boolean target_is_a (
- const char * id,
- CORBA::Environment &ACE_TRY_ENV = TAO_default_environment ())
- ACE_THROW_SPEC ((CORBA::SystemException));
-
-
- private:
- TAO_ServerRequestInfo_IR_Container_create_alias (const TAO_ServerRequestInfo_IR_Container_create_alias &);
- void operator= (const TAO_ServerRequestInfo_IR_Container_create_alias &);
-
- private:
- POA_IR::Container *_tao_impl;
- const char * id_;
- const char * name_;
- const char * version_;
- IR_IDLType_ptr original_type_;
- void result (IR::AliasDef_ptr result);
- // update the result
- IR_AliasDef_ptr _result;
- };
-
- class TAO_ServerRequestInfo_IR_Container_create_interface : public TAO_ServerRequestInfo
- {
- public:
- friend class POA_IR::Container;
- TAO_ServerRequestInfo_IR_Container_create_interface (
- TAO_ServerRequest &_tao_server_request,
- POA_IR::Container *tao_impl
- ,
- const char * id,
- const char * name,
- const char * version,
- const IR_InterfaceDefSeq & base_interfaces,
- const CORBA::Boolean & is_abstract,
- const CORBA::Boolean & is_local,
- CORBA::Environment &ACE_TRY_ENV =
- TAO_default_environment ()
- );
-
- virtual Dynamic::ParameterList * arguments (
- CORBA::Environment &ACE_TRY_ENV =
- TAO_default_environment ()
- )
- ACE_THROW_SPEC ((CORBA::SystemException));
-
- virtual Dynamic::ExceptionList * exceptions (
- CORBA::Environment &ACE_TRY_ENV =
- TAO_default_environment ()
- )
- ACE_THROW_SPEC ((CORBA::SystemException));
-
- virtual CORBA::Any * result (
- CORBA::Environment &ACE_TRY_ENV =
- TAO_default_environment ()
- )
- ACE_THROW_SPEC ((CORBA::SystemException));
-
- virtual char * target_most_derived_interface (
- CORBA::Environment &ACE_TRY_ENV = TAO_default_environment ())
- ACE_THROW_SPEC ((CORBA::SystemException));
-
- virtual CORBA::Boolean target_is_a (
- const char * id,
- CORBA::Environment &ACE_TRY_ENV = TAO_default_environment ())
- ACE_THROW_SPEC ((CORBA::SystemException));
-
-
- private:
- TAO_ServerRequestInfo_IR_Container_create_interface (const TAO_ServerRequestInfo_IR_Container_create_interface &);
- void operator= (const TAO_ServerRequestInfo_IR_Container_create_interface &);
-
- private:
- POA_IR::Container *_tao_impl;
- const char * id_;
- const char * name_;
- const char * version_;
- const IR_InterfaceDefSeq & base_interfaces_;
- const CORBA::Boolean & is_abstract_;
- const CORBA::Boolean & is_local_;
- void result (IR::InterfaceDef_ptr result);
- // update the result
- IR_InterfaceDef_ptr _result;
- };
-
- class TAO_ServerRequestInfo_IR_Container_create_value : public TAO_ServerRequestInfo
- {
- public:
- friend class POA_IR::Container;
- TAO_ServerRequestInfo_IR_Container_create_value (
- TAO_ServerRequest &_tao_server_request,
- POA_IR::Container *tao_impl
- ,
- const char * id,
- const char * name,
- const char * version,
- const CORBA::Boolean & is_custom,
- const CORBA::Boolean & is_abstract,
- IR_ValueDef_ptr base_value,
- const CORBA::Boolean & is_truncatable,
- const IR_ValueDefSeq & abstract_base_values,
- const IR_InterfaceDefSeq & supported_interfaces,
- const IR_InitializerSeq & initializers,
- CORBA::Environment &ACE_TRY_ENV =
- TAO_default_environment ()
- );
-
- virtual Dynamic::ParameterList * arguments (
- CORBA::Environment &ACE_TRY_ENV =
- TAO_default_environment ()
- )
- ACE_THROW_SPEC ((CORBA::SystemException));
-
- virtual Dynamic::ExceptionList * exceptions (
- CORBA::Environment &ACE_TRY_ENV =
- TAO_default_environment ()
- )
- ACE_THROW_SPEC ((CORBA::SystemException));
-
- virtual CORBA::Any * result (
- CORBA::Environment &ACE_TRY_ENV =
- TAO_default_environment ()
- )
- ACE_THROW_SPEC ((CORBA::SystemException));
-
- virtual char * target_most_derived_interface (
- CORBA::Environment &ACE_TRY_ENV = TAO_default_environment ())
- ACE_THROW_SPEC ((CORBA::SystemException));
-
- virtual CORBA::Boolean target_is_a (
- const char * id,
- CORBA::Environment &ACE_TRY_ENV = TAO_default_environment ())
- ACE_THROW_SPEC ((CORBA::SystemException));
-
-
- private:
- TAO_ServerRequestInfo_IR_Container_create_value (const TAO_ServerRequestInfo_IR_Container_create_value &);
- void operator= (const TAO_ServerRequestInfo_IR_Container_create_value &);
-
- private:
- POA_IR::Container *_tao_impl;
- const char * id_;
- const char * name_;
- const char * version_;
- const CORBA::Boolean & is_custom_;
- const CORBA::Boolean & is_abstract_;
- IR_ValueDef_ptr base_value_;
- const CORBA::Boolean & is_truncatable_;
- const IR_ValueDefSeq & abstract_base_values_;
- const IR_InterfaceDefSeq & supported_interfaces_;
- const IR_InitializerSeq & initializers_;
- void result (IR::ValueDef_ptr result);
- // update the result
- IR_ValueDef_ptr _result;
- };
-
- class TAO_ServerRequestInfo_IR_Container_create_value_box : public TAO_ServerRequestInfo
- {
- public:
- friend class POA_IR::Container;
- TAO_ServerRequestInfo_IR_Container_create_value_box (
- TAO_ServerRequest &_tao_server_request,
- POA_IR::Container *tao_impl
- ,
- const char * id,
- const char * name,
- const char * version,
- IR_IDLType_ptr original_type_def,
- CORBA::Environment &ACE_TRY_ENV =
- TAO_default_environment ()
- );
-
- virtual Dynamic::ParameterList * arguments (
- CORBA::Environment &ACE_TRY_ENV =
- TAO_default_environment ()
- )
- ACE_THROW_SPEC ((CORBA::SystemException));
-
- virtual Dynamic::ExceptionList * exceptions (
- CORBA::Environment &ACE_TRY_ENV =
- TAO_default_environment ()
- )
- ACE_THROW_SPEC ((CORBA::SystemException));
-
- virtual CORBA::Any * result (
- CORBA::Environment &ACE_TRY_ENV =
- TAO_default_environment ()
- )
- ACE_THROW_SPEC ((CORBA::SystemException));
-
- virtual char * target_most_derived_interface (
- CORBA::Environment &ACE_TRY_ENV = TAO_default_environment ())
- ACE_THROW_SPEC ((CORBA::SystemException));
-
- virtual CORBA::Boolean target_is_a (
- const char * id,
- CORBA::Environment &ACE_TRY_ENV = TAO_default_environment ())
- ACE_THROW_SPEC ((CORBA::SystemException));
-
-
- private:
- TAO_ServerRequestInfo_IR_Container_create_value_box (const TAO_ServerRequestInfo_IR_Container_create_value_box &);
- void operator= (const TAO_ServerRequestInfo_IR_Container_create_value_box &);
-
- private:
- POA_IR::Container *_tao_impl;
- const char * id_;
- const char * name_;
- const char * version_;
- IR_IDLType_ptr original_type_def_;
- void result (IR::ValueBoxDef_ptr result);
- // update the result
- IR_ValueBoxDef_ptr _result;
- };
-
- class TAO_ServerRequestInfo_IR_Container_create_exception : public TAO_ServerRequestInfo
- {
- public:
- friend class POA_IR::Container;
- TAO_ServerRequestInfo_IR_Container_create_exception (
- TAO_ServerRequest &_tao_server_request,
- POA_IR::Container *tao_impl
- ,
- const char * id,
- const char * name,
- const char * version,
- const IR_StructMemberSeq & members,
- CORBA::Environment &ACE_TRY_ENV =
- TAO_default_environment ()
- );
-
- virtual Dynamic::ParameterList * arguments (
- CORBA::Environment &ACE_TRY_ENV =
- TAO_default_environment ()
- )
- ACE_THROW_SPEC ((CORBA::SystemException));
-
- virtual Dynamic::ExceptionList * exceptions (
- CORBA::Environment &ACE_TRY_ENV =
- TAO_default_environment ()
- )
- ACE_THROW_SPEC ((CORBA::SystemException));
-
- virtual CORBA::Any * result (
- CORBA::Environment &ACE_TRY_ENV =
- TAO_default_environment ()
- )
- ACE_THROW_SPEC ((CORBA::SystemException));
-
- virtual char * target_most_derived_interface (
- CORBA::Environment &ACE_TRY_ENV = TAO_default_environment ())
- ACE_THROW_SPEC ((CORBA::SystemException));
-
- virtual CORBA::Boolean target_is_a (
- const char * id,
- CORBA::Environment &ACE_TRY_ENV = TAO_default_environment ())
- ACE_THROW_SPEC ((CORBA::SystemException));
-
-
- private:
- TAO_ServerRequestInfo_IR_Container_create_exception (const TAO_ServerRequestInfo_IR_Container_create_exception &);
- void operator= (const TAO_ServerRequestInfo_IR_Container_create_exception &);
-
- private:
- POA_IR::Container *_tao_impl;
- const char * id_;
- const char * name_;
- const char * version_;
- const IR_StructMemberSeq & members_;
- void result (IR::ExceptionDef_ptr result);
- // update the result
- IR_ExceptionDef_ptr _result;
- };
-
- class TAO_ServerRequestInfo_IR_Container_create_native : public TAO_ServerRequestInfo
- {
- public:
- friend class POA_IR::Container;
- TAO_ServerRequestInfo_IR_Container_create_native (
- TAO_ServerRequest &_tao_server_request,
- POA_IR::Container *tao_impl
- ,
- const char * id,
- const char * name,
- const char * version,
- CORBA::Environment &ACE_TRY_ENV =
- TAO_default_environment ()
- );
-
- virtual Dynamic::ParameterList * arguments (
- CORBA::Environment &ACE_TRY_ENV =
- TAO_default_environment ()
- )
- ACE_THROW_SPEC ((CORBA::SystemException));
-
- virtual Dynamic::ExceptionList * exceptions (
- CORBA::Environment &ACE_TRY_ENV =
- TAO_default_environment ()
- )
- ACE_THROW_SPEC ((CORBA::SystemException));
-
- virtual CORBA::Any * result (
- CORBA::Environment &ACE_TRY_ENV =
- TAO_default_environment ()
- )
- ACE_THROW_SPEC ((CORBA::SystemException));
-
- virtual char * target_most_derived_interface (
- CORBA::Environment &ACE_TRY_ENV = TAO_default_environment ())
- ACE_THROW_SPEC ((CORBA::SystemException));
-
- virtual CORBA::Boolean target_is_a (
- const char * id,
- CORBA::Environment &ACE_TRY_ENV = TAO_default_environment ())
- ACE_THROW_SPEC ((CORBA::SystemException));
-
-
- private:
- TAO_ServerRequestInfo_IR_Container_create_native (const TAO_ServerRequestInfo_IR_Container_create_native &);
- void operator= (const TAO_ServerRequestInfo_IR_Container_create_native &);
-
- private:
- POA_IR::Container *_tao_impl;
- const char * id_;
- const char * name_;
- const char * version_;
- void result (IR::NativeDef_ptr result);
- // update the result
- IR_NativeDef_ptr _result;
- };
-
-#endif /* TAO_HAS_INTERCEPTORS */
-
- };
-
-///////////////////////////////////////////////////////////////////////
-// Strategized Proxy Broker Declaration
-//
-
-class _TAO_Container_Strategized_Proxy_Broker : public virtual _TAO_Container_Proxy_Broker
-{
-public:
- _TAO_Container_Strategized_Proxy_Broker (void);
-
- virtual ~_TAO_Container_Strategized_Proxy_Broker (void);
-
- virtual _TAO_Container_Proxy_Impl &select_proxy (
- IR_Container *object,
- CORBA_Environment &ACE_TRY_ENV = TAO_default_environment ()
- );
-
-private:
-
-// Helper methods that takes care to create the proxy
-// as soon as their use is necessary.
- void create_proxy (
- int strategy,
- CORBA::Environment &ACE_TRY_ENV
- );
-
-private:
-
- // Caches the proxy implementations. The proxy implementation
- // are totally stateless, and those can be shared by all the
- // instances of a given IDL interface type.
- _TAO_Container_Proxy_Impl
- *proxy_cache_[TAO_Collocation_Strategies::CS_LAST];
-
- TAO_SYNCH_MUTEX mutex_;
-// This funxtion is used to get an handle to the unique instance
-// of the Strategized Proxy Broker that is available for a given
-// interface.
-
-public:
- static _TAO_Container_Strategized_Proxy_Broker *the_TAO_Container_Strategized_Proxy_Broker (void);
-};
-
-//
-// End Strategized Proxy Broker Declaration
-///////////////////////////////////////////////////////////////////////
-
-
-///////////////////////////////////////////////////////////////////////
-// ThruPOA Impl. Declaration
-//
-
-class _TAO_Container_ThruPOA_Proxy_Impl :
- public virtual _TAO_Container_Proxy_Impl,
- public virtual TAO_ThruPOA_Object_Proxy_Impl,
- public virtual _TAO_IRObject_ThruPOA_Proxy_Impl
-
-{
-public:
- _TAO_Container_ThruPOA_Proxy_Impl (void);
-
- virtual ~_TAO_Container_ThruPOA_Proxy_Impl (void) { }
-
- virtual IR_Contained_ptr lookup (
- CORBA_Object *_collocated_tao_target_,
- const char * search_name,
- CORBA::Environment &ACE_TRY_ENV
- )
- ACE_THROW_SPEC ((
- CORBA::SystemException
- ));
-
- virtual IR_ContainedSeq * contents (
- CORBA_Object *_collocated_tao_target_,
- IR_DefinitionKind limit_type,
- CORBA::Boolean exclude_inherited,
- CORBA::Environment &ACE_TRY_ENV
- )
- ACE_THROW_SPEC ((
- CORBA::SystemException
- ));
-
- virtual IR_ContainedSeq * lookup_name (
- CORBA_Object *_collocated_tao_target_,
- const char * search_name,
- CORBA::Long levels_to_search,
- IR_DefinitionKind limit_type,
- CORBA::Boolean exclude_inherited,
- CORBA::Environment &ACE_TRY_ENV
- )
- ACE_THROW_SPEC ((
- CORBA::SystemException
- ));
-
- virtual IR_Container::DescriptionSeq * describe_contents (
- CORBA_Object *_collocated_tao_target_,
- IR_DefinitionKind limit_type,
- CORBA::Boolean exclude_inherited,
- CORBA::Long max_returned_objs,
- CORBA::Environment &ACE_TRY_ENV
- )
- ACE_THROW_SPEC ((
- CORBA::SystemException
- ));
-
- virtual IR_ModuleDef_ptr create_module (
- CORBA_Object *_collocated_tao_target_,
- const char * id,
- const char * name,
- const char * version,
- CORBA::Environment &ACE_TRY_ENV
- )
- ACE_THROW_SPEC ((
- CORBA::SystemException
- ));
-
- virtual IR_ConstantDef_ptr create_constant (
- CORBA_Object *_collocated_tao_target_,
- const char * id,
- const char * name,
- const char * version,
- IR_IDLType_ptr type,
- const CORBA::Any & value,
- CORBA::Environment &ACE_TRY_ENV
- )
- ACE_THROW_SPEC ((
- CORBA::SystemException
- ));
-
- virtual IR_StructDef_ptr create_struct (
- CORBA_Object *_collocated_tao_target_,
- const char * id,
- const char * name,
- const char * version,
- const IR_StructMemberSeq & members,
- CORBA::Environment &ACE_TRY_ENV
- )
- ACE_THROW_SPEC ((
- CORBA::SystemException
- ));
-
- virtual IR_UnionDef_ptr create_union (
- CORBA_Object *_collocated_tao_target_,
- const char * id,
- const char * name,
- const char * version,
- IR_IDLType_ptr discriminator_type,
- const IR_UnionMemberSeq & members,
- CORBA::Environment &ACE_TRY_ENV
- )
- ACE_THROW_SPEC ((
- CORBA::SystemException
- ));
-
- virtual IR_EnumDef_ptr create_enum (
- CORBA_Object *_collocated_tao_target_,
- const char * id,
- const char * name,
- const char * version,
- const IR_EnumMemberSeq & members,
- CORBA::Environment &ACE_TRY_ENV
- )
- ACE_THROW_SPEC ((
- CORBA::SystemException
- ));
-
- virtual IR_AliasDef_ptr create_alias (
- CORBA_Object *_collocated_tao_target_,
- const char * id,
- const char * name,
- const char * version,
- IR_IDLType_ptr original_type,
- CORBA::Environment &ACE_TRY_ENV
- )
- ACE_THROW_SPEC ((
- CORBA::SystemException
- ));
-
- virtual IR_InterfaceDef_ptr create_interface (
- CORBA_Object *_collocated_tao_target_,
- const char * id,
- const char * name,
- const char * version,
- const IR_InterfaceDefSeq & base_interfaces,
- CORBA::Boolean is_abstract,
- CORBA::Boolean is_local,
- CORBA::Environment &ACE_TRY_ENV
- )
- ACE_THROW_SPEC ((
- CORBA::SystemException
- ));
-
- virtual IR_ValueDef_ptr create_value (
- CORBA_Object *_collocated_tao_target_,
- const char * id,
- const char * name,
- const char * version,
- CORBA::Boolean is_custom,
- CORBA::Boolean is_abstract,
- IR_ValueDef_ptr base_value,
- CORBA::Boolean is_truncatable,
- const IR_ValueDefSeq & abstract_base_values,
- const IR_InterfaceDefSeq & supported_interfaces,
- const IR_InitializerSeq & initializers,
- CORBA::Environment &ACE_TRY_ENV
- )
- ACE_THROW_SPEC ((
- CORBA::SystemException
- ));
-
- virtual IR_ValueBoxDef_ptr create_value_box (
- CORBA_Object *_collocated_tao_target_,
- const char * id,
- const char * name,
- const char * version,
- IR_IDLType_ptr original_type_def,
- CORBA::Environment &ACE_TRY_ENV
- )
- ACE_THROW_SPEC ((
- CORBA::SystemException
- ));
-
- virtual IR_ExceptionDef_ptr create_exception (
- CORBA_Object *_collocated_tao_target_,
- const char * id,
- const char * name,
- const char * version,
- const IR_StructMemberSeq & members,
- CORBA::Environment &ACE_TRY_ENV
- )
- ACE_THROW_SPEC ((
- CORBA::SystemException
- ));
-
- virtual IR_NativeDef_ptr create_native (
- CORBA_Object *_collocated_tao_target_,
- const char * id,
- const char * name,
- const char * version,
- CORBA::Environment &ACE_TRY_ENV
- )
- ACE_THROW_SPEC ((
- CORBA::SystemException
- ));
-
-};
-
-
-//
-// ThruPOA Proxy Impl. Declaration
-///////////////////////////////////////////////////////////////////////
-
-#if defined (ACE_HAS_USING_KEYWORD)
- // TIE class: Refer to CORBA v2.2, Section 20.34.4
- template <class T>
- class Container_tie : public Container
- {
- public:
- Container_tie (T &t);
- // the T& ctor
- Container_tie (T &t, PortableServer::POA_ptr poa);
- // ctor taking a POA
- Container_tie (T *tp, CORBA::Boolean release=1);
- // ctor taking pointer and an ownership flag
- Container_tie (T *tp, PortableServer::POA_ptr poa, CORBA::Boolean release=1);
- // ctor with T*, ownership flag and a POA
- ~Container_tie (void);
- // dtor
-
- // TIE specific functions
- T *_tied_object (void);
- // return the underlying object
- void _tied_object (T &obj);
- // set the underlying object
- void _tied_object (T *obj, CORBA::Boolean release=1);
- // set the underlying object and the ownership flag
- CORBA::Boolean _is_owner (void);
- // do we own it
- void _is_owner (CORBA::Boolean b);
- // set the ownership
-
- // overridden ServantBase operations
- PortableServer::POA_ptr _default_POA (
- CORBA::Environment &env =
- TAO_default_environment ()
- );
- IR_Contained_ptr lookup (
- const char * search_name,
- CORBA::Environment &ACE_TRY_ENV =
- TAO_default_environment ()
- )
- ACE_THROW_SPEC ((
- CORBA::SystemException
- ));
-
- IR_ContainedSeq * contents (
- IR_DefinitionKind limit_type,
- CORBA::Boolean exclude_inherited,
- CORBA::Environment &ACE_TRY_ENV =
- TAO_default_environment ()
- )
- ACE_THROW_SPEC ((
- CORBA::SystemException
- ));
-
- IR_ContainedSeq * lookup_name (
- const char * search_name,
- CORBA::Long levels_to_search,
- IR_DefinitionKind limit_type,
- CORBA::Boolean exclude_inherited,
- CORBA::Environment &ACE_TRY_ENV =
- TAO_default_environment ()
- )
- ACE_THROW_SPEC ((
- CORBA::SystemException
- ));
-
- IR_Container::DescriptionSeq * describe_contents (
- IR_DefinitionKind limit_type,
- CORBA::Boolean exclude_inherited,
- CORBA::Long max_returned_objs,
- CORBA::Environment &ACE_TRY_ENV =
- TAO_default_environment ()
- )
- ACE_THROW_SPEC ((
- CORBA::SystemException
- ));
-
- IR_ModuleDef_ptr create_module (
- const char * id,
- const char * name,
- const char * version,
- CORBA::Environment &ACE_TRY_ENV =
- TAO_default_environment ()
- )
- ACE_THROW_SPEC ((
- CORBA::SystemException
- ));
-
- IR_ConstantDef_ptr create_constant (
- const char * id,
- const char * name,
- const char * version,
- IR_IDLType_ptr type,
- const CORBA::Any & value,
- CORBA::Environment &ACE_TRY_ENV =
- TAO_default_environment ()
- )
- ACE_THROW_SPEC ((
- CORBA::SystemException
- ));
-
- IR_StructDef_ptr create_struct (
- const char * id,
- const char * name,
- const char * version,
- const IR_StructMemberSeq & members,
- CORBA::Environment &ACE_TRY_ENV =
- TAO_default_environment ()
- )
- ACE_THROW_SPEC ((
- CORBA::SystemException
- ));
-
- IR_UnionDef_ptr create_union (
- const char * id,
- const char * name,
- const char * version,
- IR_IDLType_ptr discriminator_type,
- const IR_UnionMemberSeq & members,
- CORBA::Environment &ACE_TRY_ENV =
- TAO_default_environment ()
- )
- ACE_THROW_SPEC ((
- CORBA::SystemException
- ));
-
- IR_EnumDef_ptr create_enum (
- const char * id,
- const char * name,
- const char * version,
- const IR_EnumMemberSeq & members,
- CORBA::Environment &ACE_TRY_ENV =
- TAO_default_environment ()
- )
- ACE_THROW_SPEC ((
- CORBA::SystemException
- ));
-
- IR_AliasDef_ptr create_alias (
- const char * id,
- const char * name,
- const char * version,
- IR_IDLType_ptr original_type,
- CORBA::Environment &ACE_TRY_ENV =
- TAO_default_environment ()
- )
- ACE_THROW_SPEC ((
- CORBA::SystemException
- ));
-
- IR_InterfaceDef_ptr create_interface (
- const char * id,
- const char * name,
- const char * version,
- const IR_InterfaceDefSeq & base_interfaces,
- CORBA::Boolean is_abstract,
- CORBA::Boolean is_local,
- CORBA::Environment &ACE_TRY_ENV =
- TAO_default_environment ()
- )
- ACE_THROW_SPEC ((
- CORBA::SystemException
- ));
-
- IR_ValueDef_ptr create_value (
- const char * id,
- const char * name,
- const char * version,
- CORBA::Boolean is_custom,
- CORBA::Boolean is_abstract,
- IR_ValueDef_ptr base_value,
- CORBA::Boolean is_truncatable,
- const IR_ValueDefSeq & abstract_base_values,
- const IR_InterfaceDefSeq & supported_interfaces,
- const IR_InitializerSeq & initializers,
- CORBA::Environment &ACE_TRY_ENV =
- TAO_default_environment ()
- )
- ACE_THROW_SPEC ((
- CORBA::SystemException
- ));
-
- IR_ValueBoxDef_ptr create_value_box (
- const char * id,
- const char * name,
- const char * version,
- IR_IDLType_ptr original_type_def,
- CORBA::Environment &ACE_TRY_ENV =
- TAO_default_environment ()
- )
- ACE_THROW_SPEC ((
- CORBA::SystemException
- ));
-
- IR_ExceptionDef_ptr create_exception (
- const char * id,
- const char * name,
- const char * version,
- const IR_StructMemberSeq & members,
- CORBA::Environment &ACE_TRY_ENV =
- TAO_default_environment ()
- )
- ACE_THROW_SPEC ((
- CORBA::SystemException
- ));
-
- IR_NativeDef_ptr create_native (
- const char * id,
- const char * name,
- const char * version,
- CORBA::Environment &ACE_TRY_ENV =
- TAO_default_environment ()
- )
- ACE_THROW_SPEC ((
- CORBA::SystemException
- ));
-
- IR_DefinitionKind def_kind (
- CORBA::Environment &ACE_TRY_ENV =
- TAO_default_environment ()
- )
- ACE_THROW_SPEC ((
- CORBA::SystemException
- ));
-
- void destroy (
- CORBA::Environment &ACE_TRY_ENV =
- TAO_default_environment ()
- )
- ACE_THROW_SPEC ((
- CORBA::SystemException
- ));
-
-private:
- T *ptr_;
- PortableServer::POA_var poa_;
- CORBA::Boolean rel_;
-
- // copy and assignment are not allowed
- Container_tie (const Container_tie &);
- void operator= (const Container_tie &);
- };
-
-#endif /* ACE_HAS_USING_KEYWORD */
-
- class IDLType;
- typedef IDLType *IDLType_ptr;
- // Forward Classes Declaration
- class _TAO_IDLType_ThruPOA_Proxy_Impl;
- class _TAO_IDLType_Strategized_Proxy_Broker;
-
- class IDLType : public virtual POA_CORBA_IRObject
- {
- protected:
- IDLType (void);
-
- public:
- IDLType (const IDLType& rhs);
- virtual ~IDLType (void);
-
-
- virtual CORBA::Boolean _is_a (
- const char* logical_type_id,
- CORBA::Environment &ACE_TRY_ENV =
- TAO_default_environment ()
- );
-
- virtual void* _downcast (
- const char* logical_type_id
- );
-
- static void _is_a_skel (
- TAO_ServerRequest &req,
- void *obj,
- void *context,
- CORBA::Environment &ACE_TRY_ENV =
- TAO_default_environment ()
- );
-
- static void _non_existent_skel (
- TAO_ServerRequest &req,
- void *obj,
- void *context,
- CORBA::Environment &ACE_TRY_ENV =
- TAO_default_environment ()
- );
-
- virtual void _dispatch (
- TAO_ServerRequest &_tao_req,
- void *_tao_context,
- CORBA::Environment &ACE_TRY_ENV =
- TAO_default_environment ()
- );
-
- IR_IDLType *_this (
- CORBA::Environment &ACE_TRY_ENV =
- TAO_default_environment ()
- );
-
- virtual const char* _interface_repository_id (void) const;
-
- virtual CORBA::TypeCode_ptr type (
- CORBA::Environment &ACE_TRY_ENV =
- TAO_default_environment ()
- )
- ACE_THROW_SPEC ((
- CORBA::SystemException
- )) = 0;
-
- static void _get_type_skel (
- TAO_ServerRequest &_tao_req,
- void *_tao_obj,
- void *_tao_context,
- CORBA::Environment &ACE_TRY_ENV =
- TAO_default_environment ()
- );
-
- static void _get_def_kind_skel (
- TAO_ServerRequest &req,
- void *obj,
- void *context,
- CORBA::Environment &env =
- TAO_default_environment ()
- );
-
- static void destroy_skel (
- TAO_ServerRequest &req,
- void *obj,
- void *context,
- CORBA::Environment &env =
- TAO_default_environment ()
- );
-
-
-#if (TAO_HAS_INTERCEPTORS == 1)
- // Generation of interceptors related RequestInfo classes per operation.
- // This needed to be able to store the arguments, exceptions, contexts
- // and build the lists dynamically on demand so that unnecessary time overhead
- // of building these lists when they arent used is avoided.
- class TAO_ServerRequestInfo_IR_IDLType_type_get : public TAO_ServerRequestInfo
- {
- public:
- friend class POA_IR::IDLType;
- TAO_ServerRequestInfo_IR_IDLType_type_get (
- TAO_ServerRequest &_tao_server_request,
- POA_IR::IDLType *tao_impl
- ,
- CORBA::Environment &ACE_TRY_ENV =
- TAO_default_environment ()
- );
-
- virtual Dynamic::ParameterList * arguments (
- CORBA::Environment &ACE_TRY_ENV =
- TAO_default_environment ()
- )
- ACE_THROW_SPEC ((CORBA::SystemException));
-
- virtual Dynamic::ExceptionList * exceptions (
- CORBA::Environment &ACE_TRY_ENV =
- TAO_default_environment ()
- )
- ACE_THROW_SPEC ((CORBA::SystemException));
-
- virtual CORBA::Any * result (
- CORBA::Environment &ACE_TRY_ENV =
- TAO_default_environment ()
- )
- ACE_THROW_SPEC ((CORBA::SystemException));
-
- virtual char * target_most_derived_interface (
- CORBA::Environment &ACE_TRY_ENV = TAO_default_environment ())
- ACE_THROW_SPEC ((CORBA::SystemException));
-
- virtual CORBA::Boolean target_is_a (
- const char * id,
- CORBA::Environment &ACE_TRY_ENV = TAO_default_environment ())
- ACE_THROW_SPEC ((CORBA::SystemException));
-
-
- private:
- TAO_ServerRequestInfo_IR_IDLType_type_get (const TAO_ServerRequestInfo_IR_IDLType_type_get &);
- void operator= (const TAO_ServerRequestInfo_IR_IDLType_type_get &);
-
- private:
- POA_IR::IDLType *_tao_impl;
- void result (CORBA::TypeCode_ptr result);
- // update the result
- CORBA::TypeCode_ptr _result;
- };
-
-#endif /* TAO_HAS_INTERCEPTORS */
-
- };
-
-///////////////////////////////////////////////////////////////////////
-// Strategized Proxy Broker Declaration
-//
-
-class _TAO_IDLType_Strategized_Proxy_Broker : public virtual _TAO_IDLType_Proxy_Broker
-{
-public:
- _TAO_IDLType_Strategized_Proxy_Broker (void);
-
- virtual ~_TAO_IDLType_Strategized_Proxy_Broker (void);
-
- virtual _TAO_IDLType_Proxy_Impl &select_proxy (
- IR_IDLType *object,
- CORBA_Environment &ACE_TRY_ENV = TAO_default_environment ()
- );
-
-private:
-
-// Helper methods that takes care to create the proxy
-// as soon as their use is necessary.
- void create_proxy (
- int strategy,
- CORBA::Environment &ACE_TRY_ENV
- );
-
-private:
-
- // Caches the proxy implementations. The proxy implementation
- // are totally stateless, and those can be shared by all the
- // instances of a given IDL interface type.
- _TAO_IDLType_Proxy_Impl
- *proxy_cache_[TAO_Collocation_Strategies::CS_LAST];
-
- TAO_SYNCH_MUTEX mutex_;
-// This funxtion is used to get an handle to the unique instance
-// of the Strategized Proxy Broker that is available for a given
-// interface.
-
-public:
- static _TAO_IDLType_Strategized_Proxy_Broker *the_TAO_IDLType_Strategized_Proxy_Broker (void);
-};
-
-//
-// End Strategized Proxy Broker Declaration
-///////////////////////////////////////////////////////////////////////
-
-
-///////////////////////////////////////////////////////////////////////
-// ThruPOA Impl. Declaration
-//
-
-class _TAO_IDLType_ThruPOA_Proxy_Impl :
- public virtual _TAO_IDLType_Proxy_Impl,
- public virtual TAO_ThruPOA_Object_Proxy_Impl,
- public virtual _TAO_IRObject_ThruPOA_Proxy_Impl
-
-{
-public:
- _TAO_IDLType_ThruPOA_Proxy_Impl (void);
-
- virtual ~_TAO_IDLType_ThruPOA_Proxy_Impl (void) { }
-
- virtual CORBA::TypeCode_ptr type (
- CORBA_Object *_collocated_tao_target_,
- CORBA::Environment &ACE_TRY_ENV
- )
- ACE_THROW_SPEC ((
- CORBA::SystemException
- ));
-
-};
-
-
-//
-// ThruPOA Proxy Impl. Declaration
-///////////////////////////////////////////////////////////////////////
-
-#if defined (ACE_HAS_USING_KEYWORD)
- // TIE class: Refer to CORBA v2.2, Section 20.34.4
- template <class T>
- class IDLType_tie : public IDLType
- {
- public:
- IDLType_tie (T &t);
- // the T& ctor
- IDLType_tie (T &t, PortableServer::POA_ptr poa);
- // ctor taking a POA
- IDLType_tie (T *tp, CORBA::Boolean release=1);
- // ctor taking pointer and an ownership flag
- IDLType_tie (T *tp, PortableServer::POA_ptr poa, CORBA::Boolean release=1);
- // ctor with T*, ownership flag and a POA
- ~IDLType_tie (void);
- // dtor
-
- // TIE specific functions
- T *_tied_object (void);
- // return the underlying object
- void _tied_object (T &obj);
- // set the underlying object
- void _tied_object (T *obj, CORBA::Boolean release=1);
- // set the underlying object and the ownership flag
- CORBA::Boolean _is_owner (void);
- // do we own it
- void _is_owner (CORBA::Boolean b);
- // set the ownership
-
- // overridden ServantBase operations
- PortableServer::POA_ptr _default_POA (
- CORBA::Environment &env =
- TAO_default_environment ()
- );
- CORBA::TypeCode_ptr type (
- CORBA::Environment &ACE_TRY_ENV =
- TAO_default_environment ()
- )
- ACE_THROW_SPEC ((
- CORBA::SystemException
- ));
-
- IR_DefinitionKind def_kind (
- CORBA::Environment &ACE_TRY_ENV =
- TAO_default_environment ()
- )
- ACE_THROW_SPEC ((
- CORBA::SystemException
- ));
-
- void destroy (
- CORBA::Environment &ACE_TRY_ENV =
- TAO_default_environment ()
- )
- ACE_THROW_SPEC ((
- CORBA::SystemException
- ));
-
-private:
- T *ptr_;
- PortableServer::POA_var poa_;
- CORBA::Boolean rel_;
-
- // copy and assignment are not allowed
- IDLType_tie (const IDLType_tie &);
- void operator= (const IDLType_tie &);
- };
-
-#endif /* ACE_HAS_USING_KEYWORD */
-
- class Repository;
- typedef Repository *Repository_ptr;
- // Forward Classes Declaration
- class _TAO_Repository_ThruPOA_Proxy_Impl;
- class _TAO_Repository_Strategized_Proxy_Broker;
-
- class Repository : public virtual Container
- {
- protected:
- Repository (void);
-
- public:
- Repository (const Repository& rhs);
- virtual ~Repository (void);
-
-
- virtual CORBA::Boolean _is_a (
- const char* logical_type_id,
- CORBA::Environment &ACE_TRY_ENV =
- TAO_default_environment ()
- );
-
- virtual void* _downcast (
- const char* logical_type_id
- );
-
- static void _is_a_skel (
- TAO_ServerRequest &req,
- void *obj,
- void *context,
- CORBA::Environment &ACE_TRY_ENV =
- TAO_default_environment ()
- );
-
- static void _non_existent_skel (
- TAO_ServerRequest &req,
- void *obj,
- void *context,
- CORBA::Environment &ACE_TRY_ENV =
- TAO_default_environment ()
- );
-
- virtual void _dispatch (
- TAO_ServerRequest &_tao_req,
- void *_tao_context,
- CORBA::Environment &ACE_TRY_ENV =
- TAO_default_environment ()
- );
-
- IR_Repository *_this (
- CORBA::Environment &ACE_TRY_ENV =
- TAO_default_environment ()
- );
-
- virtual const char* _interface_repository_id (void) const;
-
- virtual IR_Contained_ptr lookup_id (
- const char * search_id,
- CORBA::Environment &ACE_TRY_ENV =
- TAO_default_environment ()
- )
- ACE_THROW_SPEC ((
- CORBA::SystemException
- )) = 0;
-
- static void lookup_id_skel (
- TAO_ServerRequest &_tao_req,
- void *_tao_obj,
- void *_tao_context,
- CORBA::Environment &ACE_TRY_ENV =
- TAO_default_environment ()
- );
-
- virtual CORBA::TypeCode_ptr get_canonical_typecode (
- CORBA::TypeCode_ptr tc,
- CORBA::Environment &ACE_TRY_ENV =
- TAO_default_environment ()
- )
- ACE_THROW_SPEC ((
- CORBA::SystemException
- )) = 0;
-
- static void get_canonical_typecode_skel (
- TAO_ServerRequest &_tao_req,
- void *_tao_obj,
- void *_tao_context,
- CORBA::Environment &ACE_TRY_ENV =
- TAO_default_environment ()
- );
-
- virtual IR_PrimitiveDef_ptr get_primitive (
- IR_PrimitiveKind kind,
- CORBA::Environment &ACE_TRY_ENV =
- TAO_default_environment ()
- )
- ACE_THROW_SPEC ((
- CORBA::SystemException
- )) = 0;
-
- static void get_primitive_skel (
- TAO_ServerRequest &_tao_req,
- void *_tao_obj,
- void *_tao_context,
- CORBA::Environment &ACE_TRY_ENV =
- TAO_default_environment ()
- );
-
- virtual IR_StringDef_ptr create_string (
- CORBA::ULong bound,
- CORBA::Environment &ACE_TRY_ENV =
- TAO_default_environment ()
- )
- ACE_THROW_SPEC ((
- CORBA::SystemException
- )) = 0;
-
- static void create_string_skel (
- TAO_ServerRequest &_tao_req,
- void *_tao_obj,
- void *_tao_context,
- CORBA::Environment &ACE_TRY_ENV =
- TAO_default_environment ()
- );
-
- virtual IR_WstringDef_ptr create_wstring (
- CORBA::ULong bound,
- CORBA::Environment &ACE_TRY_ENV =
- TAO_default_environment ()
- )
- ACE_THROW_SPEC ((
- CORBA::SystemException
- )) = 0;
-
- static void create_wstring_skel (
- TAO_ServerRequest &_tao_req,
- void *_tao_obj,
- void *_tao_context,
- CORBA::Environment &ACE_TRY_ENV =
- TAO_default_environment ()
- );
-
- virtual IR_SequenceDef_ptr create_sequence (
- CORBA::ULong bound,
- IR_IDLType_ptr element_type,
- CORBA::Environment &ACE_TRY_ENV =
- TAO_default_environment ()
- )
- ACE_THROW_SPEC ((
- CORBA::SystemException
- )) = 0;
-
- static void create_sequence_skel (
- TAO_ServerRequest &_tao_req,
- void *_tao_obj,
- void *_tao_context,
- CORBA::Environment &ACE_TRY_ENV =
- TAO_default_environment ()
- );
-
- virtual IR_ArrayDef_ptr create_array (
- CORBA::ULong length,
- IR_IDLType_ptr element_type,
- CORBA::Environment &ACE_TRY_ENV =
- TAO_default_environment ()
- )
- ACE_THROW_SPEC ((
- CORBA::SystemException
- )) = 0;
-
- static void create_array_skel (
- TAO_ServerRequest &_tao_req,
- void *_tao_obj,
- void *_tao_context,
- CORBA::Environment &ACE_TRY_ENV =
- TAO_default_environment ()
- );
-
- virtual IR_FixedDef_ptr create_fixed (
- CORBA::UShort digits,
- CORBA::Short scale,
- CORBA::Environment &ACE_TRY_ENV =
- TAO_default_environment ()
- )
- ACE_THROW_SPEC ((
- CORBA::SystemException
- )) = 0;
-
- static void create_fixed_skel (
- TAO_ServerRequest &_tao_req,
- void *_tao_obj,
- void *_tao_context,
- CORBA::Environment &ACE_TRY_ENV =
- TAO_default_environment ()
- );
-
- static void lookup_skel (
- TAO_ServerRequest &req,
- void *obj,
- void *context,
- CORBA::Environment &env =
- TAO_default_environment ()
- );
-
- static void contents_skel (
- TAO_ServerRequest &req,
- void *obj,
- void *context,
- CORBA::Environment &env =
- TAO_default_environment ()
- );
-
- static void lookup_name_skel (
- TAO_ServerRequest &req,
- void *obj,
- void *context,
- CORBA::Environment &env =
- TAO_default_environment ()
- );
-
- static void describe_contents_skel (
- TAO_ServerRequest &req,
- void *obj,
- void *context,
- CORBA::Environment &env =
- TAO_default_environment ()
- );
-
- static void create_module_skel (
- TAO_ServerRequest &req,
- void *obj,
- void *context,
- CORBA::Environment &env =
- TAO_default_environment ()
- );
-
- static void create_constant_skel (
- TAO_ServerRequest &req,
- void *obj,
- void *context,
- CORBA::Environment &env =
- TAO_default_environment ()
- );
-
- static void create_struct_skel (
- TAO_ServerRequest &req,
- void *obj,
- void *context,
- CORBA::Environment &env =
- TAO_default_environment ()
- );
-
- static void create_union_skel (
- TAO_ServerRequest &req,
- void *obj,
- void *context,
- CORBA::Environment &env =
- TAO_default_environment ()
- );
-
- static void create_enum_skel (
- TAO_ServerRequest &req,
- void *obj,
- void *context,
- CORBA::Environment &env =
- TAO_default_environment ()
- );
-
- static void create_alias_skel (
- TAO_ServerRequest &req,
- void *obj,
- void *context,
- CORBA::Environment &env =
- TAO_default_environment ()
- );
-
- static void create_interface_skel (
- TAO_ServerRequest &req,
- void *obj,
- void *context,
- CORBA::Environment &env =
- TAO_default_environment ()
- );
-
- static void create_value_skel (
- TAO_ServerRequest &req,
- void *obj,
- void *context,
- CORBA::Environment &env =
- TAO_default_environment ()
- );
-
- static void create_value_box_skel (
- TAO_ServerRequest &req,
- void *obj,
- void *context,
- CORBA::Environment &env =
- TAO_default_environment ()
- );
-
- static void create_exception_skel (
- TAO_ServerRequest &req,
- void *obj,
- void *context,
- CORBA::Environment &env =
- TAO_default_environment ()
- );
-
- static void create_native_skel (
- TAO_ServerRequest &req,
- void *obj,
- void *context,
- CORBA::Environment &env =
- TAO_default_environment ()
- );
-
- static void _get_def_kind_skel (
- TAO_ServerRequest &req,
- void *obj,
- void *context,
- CORBA::Environment &env =
- TAO_default_environment ()
- );
-
- static void destroy_skel (
- TAO_ServerRequest &req,
- void *obj,
- void *context,
- CORBA::Environment &env =
- TAO_default_environment ()
- );
-
-#if (TAO_HAS_INTERCEPTORS == 1)
- // Generation of interceptors related RequestInfo classes per operation.
- // This needed to be able to store the arguments, exceptions, contexts
- // and build the lists dynamically on demand so that unnecessary time overhead
- // of building these lists when they arent used is avoided.
- class TAO_ServerRequestInfo_IR_Repository_lookup_id : public TAO_ServerRequestInfo
- {
- public:
- friend class POA_IR::Repository;
- TAO_ServerRequestInfo_IR_Repository_lookup_id (
- TAO_ServerRequest &_tao_server_request,
- POA_IR::Repository *tao_impl
- ,
- const char * search_id,
- CORBA::Environment &ACE_TRY_ENV =
- TAO_default_environment ()
- );
-
- virtual Dynamic::ParameterList * arguments (
- CORBA::Environment &ACE_TRY_ENV =
- TAO_default_environment ()
- )
- ACE_THROW_SPEC ((CORBA::SystemException));
-
- virtual Dynamic::ExceptionList * exceptions (
- CORBA::Environment &ACE_TRY_ENV =
- TAO_default_environment ()
- )
- ACE_THROW_SPEC ((CORBA::SystemException));
-
- virtual CORBA::Any * result (
- CORBA::Environment &ACE_TRY_ENV =
- TAO_default_environment ()
- )
- ACE_THROW_SPEC ((CORBA::SystemException));
-
- virtual char * target_most_derived_interface (
- CORBA::Environment &ACE_TRY_ENV = TAO_default_environment ())
- ACE_THROW_SPEC ((CORBA::SystemException));
-
- virtual CORBA::Boolean target_is_a (
- const char * id,
- CORBA::Environment &ACE_TRY_ENV = TAO_default_environment ())
- ACE_THROW_SPEC ((CORBA::SystemException));
-
-
- private:
- TAO_ServerRequestInfo_IR_Repository_lookup_id (const TAO_ServerRequestInfo_IR_Repository_lookup_id &);
- void operator= (const TAO_ServerRequestInfo_IR_Repository_lookup_id &);
-
- private:
- POA_IR::Repository *_tao_impl;
- const char * search_id_;
- void result (IR::Contained_ptr result);
- // update the result
- IR_Contained_ptr _result;
- };
-
- class TAO_ServerRequestInfo_IR_Repository_get_canonical_typecode : public TAO_ServerRequestInfo
- {
- public:
- friend class POA_IR::Repository;
- TAO_ServerRequestInfo_IR_Repository_get_canonical_typecode (
- TAO_ServerRequest &_tao_server_request,
- POA_IR::Repository *tao_impl
- ,
- CORBA::TypeCode_ptr tc,
- CORBA::Environment &ACE_TRY_ENV =
- TAO_default_environment ()
- );
-
- virtual Dynamic::ParameterList * arguments (
- CORBA::Environment &ACE_TRY_ENV =
- TAO_default_environment ()
- )
- ACE_THROW_SPEC ((CORBA::SystemException));
-
- virtual Dynamic::ExceptionList * exceptions (
- CORBA::Environment &ACE_TRY_ENV =
- TAO_default_environment ()
- )
- ACE_THROW_SPEC ((CORBA::SystemException));
-
- virtual CORBA::Any * result (
- CORBA::Environment &ACE_TRY_ENV =
- TAO_default_environment ()
- )
- ACE_THROW_SPEC ((CORBA::SystemException));
-
- virtual char * target_most_derived_interface (
- CORBA::Environment &ACE_TRY_ENV = TAO_default_environment ())
- ACE_THROW_SPEC ((CORBA::SystemException));
-
- virtual CORBA::Boolean target_is_a (
- const char * id,
- CORBA::Environment &ACE_TRY_ENV = TAO_default_environment ())
- ACE_THROW_SPEC ((CORBA::SystemException));
-
-
- private:
- TAO_ServerRequestInfo_IR_Repository_get_canonical_typecode (const TAO_ServerRequestInfo_IR_Repository_get_canonical_typecode &);
- void operator= (const TAO_ServerRequestInfo_IR_Repository_get_canonical_typecode &);
-
- private:
- POA_IR::Repository *_tao_impl;
- CORBA::TypeCode_ptr tc_;
- void result (CORBA::TypeCode_ptr result);
- // update the result
- CORBA::TypeCode_ptr _result;
- };
-
- class TAO_ServerRequestInfo_IR_Repository_get_primitive : public TAO_ServerRequestInfo
- {
- public:
- friend class POA_IR::Repository;
- TAO_ServerRequestInfo_IR_Repository_get_primitive (
- TAO_ServerRequest &_tao_server_request,
- POA_IR::Repository *tao_impl
- ,
- IR_PrimitiveKind & kind,
- CORBA::Environment &ACE_TRY_ENV =
- TAO_default_environment ()
- );
-
- virtual Dynamic::ParameterList * arguments (
- CORBA::Environment &ACE_TRY_ENV =
- TAO_default_environment ()
- )
- ACE_THROW_SPEC ((CORBA::SystemException));
-
- virtual Dynamic::ExceptionList * exceptions (
- CORBA::Environment &ACE_TRY_ENV =
- TAO_default_environment ()
- )
- ACE_THROW_SPEC ((CORBA::SystemException));
-
- virtual CORBA::Any * result (
- CORBA::Environment &ACE_TRY_ENV =
- TAO_default_environment ()
- )
- ACE_THROW_SPEC ((CORBA::SystemException));
-
- virtual char * target_most_derived_interface (
- CORBA::Environment &ACE_TRY_ENV = TAO_default_environment ())
- ACE_THROW_SPEC ((CORBA::SystemException));
-
- virtual CORBA::Boolean target_is_a (
- const char * id,
- CORBA::Environment &ACE_TRY_ENV = TAO_default_environment ())
- ACE_THROW_SPEC ((CORBA::SystemException));
-
-
- private:
- TAO_ServerRequestInfo_IR_Repository_get_primitive (const TAO_ServerRequestInfo_IR_Repository_get_primitive &);
- void operator= (const TAO_ServerRequestInfo_IR_Repository_get_primitive &);
-
- private:
- POA_IR::Repository *_tao_impl;
- const IR_PrimitiveKind & kind_;
- void result (IR::PrimitiveDef_ptr result);
- // update the result
- IR_PrimitiveDef_ptr _result;
- };
-
- class TAO_ServerRequestInfo_IR_Repository_create_string : public TAO_ServerRequestInfo
- {
- public:
- friend class POA_IR::Repository;
- TAO_ServerRequestInfo_IR_Repository_create_string (
- TAO_ServerRequest &_tao_server_request,
- POA_IR::Repository *tao_impl
- ,
- const CORBA::ULong & bound,
- CORBA::Environment &ACE_TRY_ENV =
- TAO_default_environment ()
- );
-
- virtual Dynamic::ParameterList * arguments (
- CORBA::Environment &ACE_TRY_ENV =
- TAO_default_environment ()
- )
- ACE_THROW_SPEC ((CORBA::SystemException));
-
- virtual Dynamic::ExceptionList * exceptions (
- CORBA::Environment &ACE_TRY_ENV =
- TAO_default_environment ()
- )
- ACE_THROW_SPEC ((CORBA::SystemException));
-
- virtual CORBA::Any * result (
- CORBA::Environment &ACE_TRY_ENV =
- TAO_default_environment ()
- )
- ACE_THROW_SPEC ((CORBA::SystemException));
-
- virtual char * target_most_derived_interface (
- CORBA::Environment &ACE_TRY_ENV = TAO_default_environment ())
- ACE_THROW_SPEC ((CORBA::SystemException));
-
- virtual CORBA::Boolean target_is_a (
- const char * id,
- CORBA::Environment &ACE_TRY_ENV = TAO_default_environment ())
- ACE_THROW_SPEC ((CORBA::SystemException));
-
-
- private:
- TAO_ServerRequestInfo_IR_Repository_create_string (const TAO_ServerRequestInfo_IR_Repository_create_string &);
- void operator= (const TAO_ServerRequestInfo_IR_Repository_create_string &);
-
- private:
- POA_IR::Repository *_tao_impl;
- const CORBA::ULong & bound_;
- void result (IR::StringDef_ptr result);
- // update the result
- IR_StringDef_ptr _result;
- };
-
- class TAO_ServerRequestInfo_IR_Repository_create_wstring : public TAO_ServerRequestInfo
- {
- public:
- friend class POA_IR::Repository;
- TAO_ServerRequestInfo_IR_Repository_create_wstring (
- TAO_ServerRequest &_tao_server_request,
- POA_IR::Repository *tao_impl
- ,
- const CORBA::ULong & bound,
- CORBA::Environment &ACE_TRY_ENV =
- TAO_default_environment ()
- );
-
- virtual Dynamic::ParameterList * arguments (
- CORBA::Environment &ACE_TRY_ENV =
- TAO_default_environment ()
- )
- ACE_THROW_SPEC ((CORBA::SystemException));
-
- virtual Dynamic::ExceptionList * exceptions (
- CORBA::Environment &ACE_TRY_ENV =
- TAO_default_environment ()
- )
- ACE_THROW_SPEC ((CORBA::SystemException));
-
- virtual CORBA::Any * result (
- CORBA::Environment &ACE_TRY_ENV =
- TAO_default_environment ()
- )
- ACE_THROW_SPEC ((CORBA::SystemException));
-
- virtual char * target_most_derived_interface (
- CORBA::Environment &ACE_TRY_ENV = TAO_default_environment ())
- ACE_THROW_SPEC ((CORBA::SystemException));
-
- virtual CORBA::Boolean target_is_a (
- const char * id,
- CORBA::Environment &ACE_TRY_ENV = TAO_default_environment ())
- ACE_THROW_SPEC ((CORBA::SystemException));
-
-
- private:
- TAO_ServerRequestInfo_IR_Repository_create_wstring (const TAO_ServerRequestInfo_IR_Repository_create_wstring &);
- void operator= (const TAO_ServerRequestInfo_IR_Repository_create_wstring &);
-
- private:
- POA_IR::Repository *_tao_impl;
- const CORBA::ULong & bound_;
- void result (IR::WstringDef_ptr result);
- // update the result
- IR_WstringDef_ptr _result;
- };
-
- class TAO_ServerRequestInfo_IR_Repository_create_sequence : public TAO_ServerRequestInfo
- {
- public:
- friend class POA_IR::Repository;
- TAO_ServerRequestInfo_IR_Repository_create_sequence (
- TAO_ServerRequest &_tao_server_request,
- POA_IR::Repository *tao_impl
- ,
- const CORBA::ULong & bound,
- IR_IDLType_ptr element_type,
- CORBA::Environment &ACE_TRY_ENV =
- TAO_default_environment ()
- );
-
- virtual Dynamic::ParameterList * arguments (
- CORBA::Environment &ACE_TRY_ENV =
- TAO_default_environment ()
- )
- ACE_THROW_SPEC ((CORBA::SystemException));
-
- virtual Dynamic::ExceptionList * exceptions (
- CORBA::Environment &ACE_TRY_ENV =
- TAO_default_environment ()
- )
- ACE_THROW_SPEC ((CORBA::SystemException));
-
- virtual CORBA::Any * result (
- CORBA::Environment &ACE_TRY_ENV =
- TAO_default_environment ()
- )
- ACE_THROW_SPEC ((CORBA::SystemException));
-
- virtual char * target_most_derived_interface (
- CORBA::Environment &ACE_TRY_ENV = TAO_default_environment ())
- ACE_THROW_SPEC ((CORBA::SystemException));
-
- virtual CORBA::Boolean target_is_a (
- const char * id,
- CORBA::Environment &ACE_TRY_ENV = TAO_default_environment ())
- ACE_THROW_SPEC ((CORBA::SystemException));
-
-
- private:
- TAO_ServerRequestInfo_IR_Repository_create_sequence (const TAO_ServerRequestInfo_IR_Repository_create_sequence &);
- void operator= (const TAO_ServerRequestInfo_IR_Repository_create_sequence &);
-
- private:
- POA_IR::Repository *_tao_impl;
- const CORBA::ULong & bound_;
- IR_IDLType_ptr element_type_;
- void result (IR::SequenceDef_ptr result);
- // update the result
- IR_SequenceDef_ptr _result;
- };
-
- class TAO_ServerRequestInfo_IR_Repository_create_array : public TAO_ServerRequestInfo
- {
- public:
- friend class POA_IR::Repository;
- TAO_ServerRequestInfo_IR_Repository_create_array (
- TAO_ServerRequest &_tao_server_request,
- POA_IR::Repository *tao_impl
- ,
- const CORBA::ULong & length,
- IR_IDLType_ptr element_type,
- CORBA::Environment &ACE_TRY_ENV =
- TAO_default_environment ()
- );
-
- virtual Dynamic::ParameterList * arguments (
- CORBA::Environment &ACE_TRY_ENV =
- TAO_default_environment ()
- )
- ACE_THROW_SPEC ((CORBA::SystemException));
-
- virtual Dynamic::ExceptionList * exceptions (
- CORBA::Environment &ACE_TRY_ENV =
- TAO_default_environment ()
- )
- ACE_THROW_SPEC ((CORBA::SystemException));
-
- virtual CORBA::Any * result (
- CORBA::Environment &ACE_TRY_ENV =
- TAO_default_environment ()
- )
- ACE_THROW_SPEC ((CORBA::SystemException));
-
- virtual char * target_most_derived_interface (
- CORBA::Environment &ACE_TRY_ENV = TAO_default_environment ())
- ACE_THROW_SPEC ((CORBA::SystemException));
-
- virtual CORBA::Boolean target_is_a (
- const char * id,
- CORBA::Environment &ACE_TRY_ENV = TAO_default_environment ())
- ACE_THROW_SPEC ((CORBA::SystemException));
-
-
- private:
- TAO_ServerRequestInfo_IR_Repository_create_array (const TAO_ServerRequestInfo_IR_Repository_create_array &);
- void operator= (const TAO_ServerRequestInfo_IR_Repository_create_array &);
-
- private:
- POA_IR::Repository *_tao_impl;
- const CORBA::ULong & length_;
- IR_IDLType_ptr element_type_;
- void result (IR::ArrayDef_ptr result);
- // update the result
- IR_ArrayDef_ptr _result;
- };
-
- class TAO_ServerRequestInfo_IR_Repository_create_fixed : public TAO_ServerRequestInfo
- {
- public:
- friend class POA_IR::Repository;
- TAO_ServerRequestInfo_IR_Repository_create_fixed (
- TAO_ServerRequest &_tao_server_request,
- POA_IR::Repository *tao_impl
- ,
- const CORBA::UShort & digits,
- const CORBA::Short & scale,
- CORBA::Environment &ACE_TRY_ENV =
- TAO_default_environment ()
- );
-
- virtual Dynamic::ParameterList * arguments (
- CORBA::Environment &ACE_TRY_ENV =
- TAO_default_environment ()
- )
- ACE_THROW_SPEC ((CORBA::SystemException));
-
- virtual Dynamic::ExceptionList * exceptions (
- CORBA::Environment &ACE_TRY_ENV =
- TAO_default_environment ()
- )
- ACE_THROW_SPEC ((CORBA::SystemException));
-
- virtual CORBA::Any * result (
- CORBA::Environment &ACE_TRY_ENV =
- TAO_default_environment ()
- )
- ACE_THROW_SPEC ((CORBA::SystemException));
-
- virtual char * target_most_derived_interface (
- CORBA::Environment &ACE_TRY_ENV = TAO_default_environment ())
- ACE_THROW_SPEC ((CORBA::SystemException));
-
- virtual CORBA::Boolean target_is_a (
- const char * id,
- CORBA::Environment &ACE_TRY_ENV = TAO_default_environment ())
- ACE_THROW_SPEC ((CORBA::SystemException));
-
-
- private:
- TAO_ServerRequestInfo_IR_Repository_create_fixed (const TAO_ServerRequestInfo_IR_Repository_create_fixed &);
- void operator= (const TAO_ServerRequestInfo_IR_Repository_create_fixed &);
-
- private:
- POA_IR::Repository *_tao_impl;
- const CORBA::UShort & digits_;
- const CORBA::Short & scale_;
- void result (IR::FixedDef_ptr result);
- // update the result
- IR_FixedDef_ptr _result;
- };
-
-#endif /* TAO_HAS_INTERCEPTORS */
-
- };
-
-///////////////////////////////////////////////////////////////////////
-// Strategized Proxy Broker Declaration
-//
-
-class _TAO_Repository_Strategized_Proxy_Broker : public virtual _TAO_Repository_Proxy_Broker
-{
-public:
- _TAO_Repository_Strategized_Proxy_Broker (void);
-
- virtual ~_TAO_Repository_Strategized_Proxy_Broker (void);
-
- virtual _TAO_Repository_Proxy_Impl &select_proxy (
- IR_Repository *object,
- CORBA_Environment &ACE_TRY_ENV = TAO_default_environment ()
- );
-
-private:
-
-// Helper methods that takes care to create the proxy
-// as soon as their use is necessary.
- void create_proxy (
- int strategy,
- CORBA::Environment &ACE_TRY_ENV
- );
-
-private:
-
- // Caches the proxy implementations. The proxy implementation
- // are totally stateless, and those can be shared by all the
- // instances of a given IDL interface type.
- _TAO_Repository_Proxy_Impl
- *proxy_cache_[TAO_Collocation_Strategies::CS_LAST];
-
- TAO_SYNCH_MUTEX mutex_;
-// This funxtion is used to get an handle to the unique instance
-// of the Strategized Proxy Broker that is available for a given
-// interface.
-
-public:
- static _TAO_Repository_Strategized_Proxy_Broker *the_TAO_Repository_Strategized_Proxy_Broker (void);
-};
-
-//
-// End Strategized Proxy Broker Declaration
-///////////////////////////////////////////////////////////////////////
-
-
-///////////////////////////////////////////////////////////////////////
-// ThruPOA Impl. Declaration
-//
-
-class _TAO_Repository_ThruPOA_Proxy_Impl :
- public virtual _TAO_Repository_Proxy_Impl,
- public virtual TAO_ThruPOA_Object_Proxy_Impl,
- public virtual _TAO_Container_ThruPOA_Proxy_Impl
-
-{
-public:
- _TAO_Repository_ThruPOA_Proxy_Impl (void);
-
- virtual ~_TAO_Repository_ThruPOA_Proxy_Impl (void) { }
-
- virtual IR_Contained_ptr lookup_id (
- CORBA_Object *_collocated_tao_target_,
- const char * search_id,
- CORBA::Environment &ACE_TRY_ENV
- )
- ACE_THROW_SPEC ((
- CORBA::SystemException
- ));
-
- virtual CORBA::TypeCode_ptr get_canonical_typecode (
- CORBA_Object *_collocated_tao_target_,
- CORBA::TypeCode_ptr tc,
- CORBA::Environment &ACE_TRY_ENV
- )
- ACE_THROW_SPEC ((
- CORBA::SystemException
- ));
-
- virtual IR_PrimitiveDef_ptr get_primitive (
- CORBA_Object *_collocated_tao_target_,
- IR_PrimitiveKind kind,
- CORBA::Environment &ACE_TRY_ENV
- )
- ACE_THROW_SPEC ((
- CORBA::SystemException
- ));
-
- virtual IR_StringDef_ptr create_string (
- CORBA_Object *_collocated_tao_target_,
- CORBA::ULong bound,
- CORBA::Environment &ACE_TRY_ENV
- )
- ACE_THROW_SPEC ((
- CORBA::SystemException
- ));
-
- virtual IR_WstringDef_ptr create_wstring (
- CORBA_Object *_collocated_tao_target_,
- CORBA::ULong bound,
- CORBA::Environment &ACE_TRY_ENV
- )
- ACE_THROW_SPEC ((
- CORBA::SystemException
- ));
-
- virtual IR_SequenceDef_ptr create_sequence (
- CORBA_Object *_collocated_tao_target_,
- CORBA::ULong bound,
- IR_IDLType_ptr element_type,
- CORBA::Environment &ACE_TRY_ENV
- )
- ACE_THROW_SPEC ((
- CORBA::SystemException
- ));
-
- virtual IR_ArrayDef_ptr create_array (
- CORBA_Object *_collocated_tao_target_,
- CORBA::ULong length,
- IR_IDLType_ptr element_type,
- CORBA::Environment &ACE_TRY_ENV
- )
- ACE_THROW_SPEC ((
- CORBA::SystemException
- ));
-
- virtual IR_FixedDef_ptr create_fixed (
- CORBA_Object *_collocated_tao_target_,
- CORBA::UShort digits,
- CORBA::Short scale,
- CORBA::Environment &ACE_TRY_ENV
- )
- ACE_THROW_SPEC ((
- CORBA::SystemException
- ));
-
-};
-
-
-//
-// ThruPOA Proxy Impl. Declaration
-///////////////////////////////////////////////////////////////////////
-
-#if defined (ACE_HAS_USING_KEYWORD)
- // TIE class: Refer to CORBA v2.2, Section 20.34.4
- template <class T>
- class Repository_tie : public virtual Repository,
- public virtual PortableServer::RefCountServantBase
- {
- public:
- Repository_tie (T &t);
- // the T& ctor
- Repository_tie (T &t, PortableServer::POA_ptr poa);
- // ctor taking a POA
- Repository_tie (T *tp, CORBA::Boolean release=1);
- // ctor taking pointer and an ownership flag
- Repository_tie (T *tp, PortableServer::POA_ptr poa, CORBA::Boolean release=1);
- // ctor with T*, ownership flag and a POA
- ~Repository_tie (void);
- // dtor
-
- // TIE specific functions
- T *_tied_object (void);
- // return the underlying object
- void _tied_object (T &obj);
- // set the underlying object
- void _tied_object (T *obj, CORBA::Boolean release=1);
- // set the underlying object and the ownership flag
- CORBA::Boolean _is_owner (void);
- // do we own it
- void _is_owner (CORBA::Boolean b);
- // set the ownership
-
- // overridden ServantBase operations
- PortableServer::POA_ptr _default_POA (
- CORBA::Environment &env =
- TAO_default_environment ()
- );
- IR_Contained_ptr lookup_id (
- const char * search_id,
- CORBA::Environment &ACE_TRY_ENV =
- TAO_default_environment ()
- )
- ACE_THROW_SPEC ((
- CORBA::SystemException
- ));
-
- CORBA::TypeCode_ptr get_canonical_typecode (
- CORBA::TypeCode_ptr tc,
- CORBA::Environment &ACE_TRY_ENV =
- TAO_default_environment ()
- )
- ACE_THROW_SPEC ((
- CORBA::SystemException
- ));
-
- IR_PrimitiveDef_ptr get_primitive (
- IR_PrimitiveKind kind,
- CORBA::Environment &ACE_TRY_ENV =
- TAO_default_environment ()
- )
- ACE_THROW_SPEC ((
- CORBA::SystemException
- ));
-
- IR_StringDef_ptr create_string (
- CORBA::ULong bound,
- CORBA::Environment &ACE_TRY_ENV =
- TAO_default_environment ()
- )
- ACE_THROW_SPEC ((
- CORBA::SystemException
- ));
-
- IR_WstringDef_ptr create_wstring (
- CORBA::ULong bound,
- CORBA::Environment &ACE_TRY_ENV =
- TAO_default_environment ()
- )
- ACE_THROW_SPEC ((
- CORBA::SystemException
- ));
-
- IR_SequenceDef_ptr create_sequence (
- CORBA::ULong bound,
- IR_IDLType_ptr element_type,
- CORBA::Environment &ACE_TRY_ENV =
- TAO_default_environment ()
- )
- ACE_THROW_SPEC ((
- CORBA::SystemException
- ));
-
- IR_ArrayDef_ptr create_array (
- CORBA::ULong length,
- IR_IDLType_ptr element_type,
- CORBA::Environment &ACE_TRY_ENV =
- TAO_default_environment ()
- )
- ACE_THROW_SPEC ((
- CORBA::SystemException
- ));
-
- IR_FixedDef_ptr create_fixed (
- CORBA::UShort digits,
- CORBA::Short scale,
- CORBA::Environment &ACE_TRY_ENV =
- TAO_default_environment ()
- )
- ACE_THROW_SPEC ((
- CORBA::SystemException
- ));
-
- IR_Contained_ptr lookup (
- const char * search_name,
- CORBA::Environment &ACE_TRY_ENV =
- TAO_default_environment ()
- )
- ACE_THROW_SPEC ((
- CORBA::SystemException
- ));
-
- IR_ContainedSeq * contents (
- IR_DefinitionKind limit_type,
- CORBA::Boolean exclude_inherited,
- CORBA::Environment &ACE_TRY_ENV =
- TAO_default_environment ()
- )
- ACE_THROW_SPEC ((
- CORBA::SystemException
- ));
-
- IR_ContainedSeq * lookup_name (
- const char * search_name,
- CORBA::Long levels_to_search,
- IR_DefinitionKind limit_type,
- CORBA::Boolean exclude_inherited,
- CORBA::Environment &ACE_TRY_ENV =
- TAO_default_environment ()
- )
- ACE_THROW_SPEC ((
- CORBA::SystemException
- ));
-
- IR_Container::DescriptionSeq * describe_contents (
- IR_DefinitionKind limit_type,
- CORBA::Boolean exclude_inherited,
- CORBA::Long max_returned_objs,
- CORBA::Environment &ACE_TRY_ENV =
- TAO_default_environment ()
- )
- ACE_THROW_SPEC ((
- CORBA::SystemException
- ));
-
- IR_ModuleDef_ptr create_module (
- const char * id,
- const char * name,
- const char * version,
- CORBA::Environment &ACE_TRY_ENV =
- TAO_default_environment ()
- )
- ACE_THROW_SPEC ((
- CORBA::SystemException
- ));
-
- IR_ConstantDef_ptr create_constant (
- const char * id,
- const char * name,
- const char * version,
- IR_IDLType_ptr type,
- const CORBA::Any & value,
- CORBA::Environment &ACE_TRY_ENV =
- TAO_default_environment ()
- )
- ACE_THROW_SPEC ((
- CORBA::SystemException
- ));
-
- IR_StructDef_ptr create_struct (
- const char * id,
- const char * name,
- const char * version,
- const IR_StructMemberSeq & members,
- CORBA::Environment &ACE_TRY_ENV =
- TAO_default_environment ()
- )
- ACE_THROW_SPEC ((
- CORBA::SystemException
- ));
-
- IR_UnionDef_ptr create_union (
- const char * id,
- const char * name,
- const char * version,
- IR_IDLType_ptr discriminator_type,
- const IR_UnionMemberSeq & members,
- CORBA::Environment &ACE_TRY_ENV =
- TAO_default_environment ()
- )
- ACE_THROW_SPEC ((
- CORBA::SystemException
- ));
-
- IR_EnumDef_ptr create_enum (
- const char * id,
- const char * name,
- const char * version,
- const IR_EnumMemberSeq & members,
- CORBA::Environment &ACE_TRY_ENV =
- TAO_default_environment ()
- )
- ACE_THROW_SPEC ((
- CORBA::SystemException
- ));
-
- IR_AliasDef_ptr create_alias (
- const char * id,
- const char * name,
- const char * version,
- IR_IDLType_ptr original_type,
- CORBA::Environment &ACE_TRY_ENV =
- TAO_default_environment ()
- )
- ACE_THROW_SPEC ((
- CORBA::SystemException
- ));
-
- IR_InterfaceDef_ptr create_interface (
- const char * id,
- const char * name,
- const char * version,
- const IR_InterfaceDefSeq & base_interfaces,
- CORBA::Boolean is_abstract,
- CORBA::Boolean is_local,
- CORBA::Environment &ACE_TRY_ENV =
- TAO_default_environment ()
- )
- ACE_THROW_SPEC ((
- CORBA::SystemException
- ));
-
- IR_ValueDef_ptr create_value (
- const char * id,
- const char * name,
- const char * version,
- CORBA::Boolean is_custom,
- CORBA::Boolean is_abstract,
- IR_ValueDef_ptr base_value,
- CORBA::Boolean is_truncatable,
- const IR_ValueDefSeq & abstract_base_values,
- const IR_InterfaceDefSeq & supported_interfaces,
- const IR_InitializerSeq & initializers,
- CORBA::Environment &ACE_TRY_ENV =
- TAO_default_environment ()
- )
- ACE_THROW_SPEC ((
- CORBA::SystemException
- ));
-
- IR_ValueBoxDef_ptr create_value_box (
- const char * id,
- const char * name,
- const char * version,
- IR_IDLType_ptr original_type_def,
- CORBA::Environment &ACE_TRY_ENV =
- TAO_default_environment ()
- )
- ACE_THROW_SPEC ((
- CORBA::SystemException
- ));
-
- IR_ExceptionDef_ptr create_exception (
- const char * id,
- const char * name,
- const char * version,
- const IR_StructMemberSeq & members,
- CORBA::Environment &ACE_TRY_ENV =
- TAO_default_environment ()
- )
- ACE_THROW_SPEC ((
- CORBA::SystemException
- ));
-
- IR_NativeDef_ptr create_native (
- const char * id,
- const char * name,
- const char * version,
- CORBA::Environment &ACE_TRY_ENV =
- TAO_default_environment ()
- )
- ACE_THROW_SPEC ((
- CORBA::SystemException
- ));
-
- IR_DefinitionKind def_kind (
- CORBA::Environment &ACE_TRY_ENV =
- TAO_default_environment ()
- )
- ACE_THROW_SPEC ((
- CORBA::SystemException
- ));
-
- void destroy (
- CORBA::Environment &ACE_TRY_ENV =
- TAO_default_environment ()
- )
- ACE_THROW_SPEC ((
- CORBA::SystemException
- ));
-
-private:
- T *ptr_;
- PortableServer::POA_var poa_;
- CORBA::Boolean rel_;
-
- // copy and assignment are not allowed
- Repository_tie (const Repository_tie &);
- void operator= (const Repository_tie &);
- };
-
-#endif /* ACE_HAS_USING_KEYWORD */
-
- class ComponentRepository;
- typedef ComponentRepository *ComponentRepository_ptr;
- // Forward Classes Declaration
- class _TAO_ComponentRepository_ThruPOA_Proxy_Impl;
- class _TAO_ComponentRepository_Strategized_Proxy_Broker;
-
- class ComponentRepository : public virtual Repository
- {
- protected:
- ComponentRepository (void);
-
- public:
- ComponentRepository (const ComponentRepository& rhs);
- virtual ~ComponentRepository (void);
-
-
- virtual CORBA::Boolean _is_a (
- const char* logical_type_id,
- CORBA::Environment &ACE_TRY_ENV =
- TAO_default_environment ()
- );
-
- virtual void* _downcast (
- const char* logical_type_id
- );
-
- static void _is_a_skel (
- TAO_ServerRequest &req,
- void *obj,
- void *context,
- CORBA::Environment &ACE_TRY_ENV =
- TAO_default_environment ()
- );
-
- static void _non_existent_skel (
- TAO_ServerRequest &req,
- void *obj,
- void *context,
- CORBA::Environment &ACE_TRY_ENV =
- TAO_default_environment ()
- );
-
- virtual void _dispatch (
- TAO_ServerRequest &_tao_req,
- void *_tao_context,
- CORBA::Environment &ACE_TRY_ENV =
- TAO_default_environment ()
- );
-
- IR_ComponentRepository *_this (
- CORBA::Environment &ACE_TRY_ENV =
- TAO_default_environment ()
- );
-
- virtual const char* _interface_repository_id (void) const;
-
- virtual IR_ComponentDef_ptr create_component (
- const char * id,
- const char * name,
- const char * version,
- IR_ComponentDef_ptr base_component,
- const IR_InterfaceDefSeq & supports_interfaces,
- CORBA::Environment &ACE_TRY_ENV =
- TAO_default_environment ()
- )
- ACE_THROW_SPEC ((
- CORBA::SystemException
- )) = 0;
-
- static void create_component_skel (
- TAO_ServerRequest &_tao_req,
- void *_tao_obj,
- void *_tao_context,
- CORBA::Environment &ACE_TRY_ENV =
- TAO_default_environment ()
- );
-
- virtual IR_HomeDef_ptr create_home (
- const char * id,
- const char * name,
- const char * version,
- IR_HomeDef_ptr base_home,
- IR_ComponentDef_ptr managed_component,
- IR_ValueDef_ptr primary_key,
- CORBA::Environment &ACE_TRY_ENV =
- TAO_default_environment ()
- )
- ACE_THROW_SPEC ((
- CORBA::SystemException
- )) = 0;
-
- static void create_home_skel (
- TAO_ServerRequest &_tao_req,
- void *_tao_obj,
- void *_tao_context,
- CORBA::Environment &ACE_TRY_ENV =
- TAO_default_environment ()
- );
-
- static void lookup_id_skel (
- TAO_ServerRequest &req,
- void *obj,
- void *context,
- CORBA::Environment &env =
- TAO_default_environment ()
- );
-
- static void get_canonical_typecode_skel (
- TAO_ServerRequest &req,
- void *obj,
- void *context,
- CORBA::Environment &env =
- TAO_default_environment ()
- );
-
- static void get_primitive_skel (
- TAO_ServerRequest &req,
- void *obj,
- void *context,
- CORBA::Environment &env =
- TAO_default_environment ()
- );
-
- static void create_string_skel (
- TAO_ServerRequest &req,
- void *obj,
- void *context,
- CORBA::Environment &env =
- TAO_default_environment ()
- );
-
- static void create_wstring_skel (
- TAO_ServerRequest &req,
- void *obj,
- void *context,
- CORBA::Environment &env =
- TAO_default_environment ()
- );
-
- static void create_sequence_skel (
- TAO_ServerRequest &req,
- void *obj,
- void *context,
- CORBA::Environment &env =
- TAO_default_environment ()
- );
-
- static void create_array_skel (
- TAO_ServerRequest &req,
- void *obj,
- void *context,
- CORBA::Environment &env =
- TAO_default_environment ()
- );
-
- static void create_fixed_skel (
- TAO_ServerRequest &req,
- void *obj,
- void *context,
- CORBA::Environment &env =
- TAO_default_environment ()
- );
-
- static void lookup_skel (
- TAO_ServerRequest &req,
- void *obj,
- void *context,
- CORBA::Environment &env =
- TAO_default_environment ()
- );
-
- static void contents_skel (
- TAO_ServerRequest &req,
- void *obj,
- void *context,
- CORBA::Environment &env =
- TAO_default_environment ()
- );
-
- static void lookup_name_skel (
- TAO_ServerRequest &req,
- void *obj,
- void *context,
- CORBA::Environment &env =
- TAO_default_environment ()
- );
-
- static void describe_contents_skel (
- TAO_ServerRequest &req,
- void *obj,
- void *context,
- CORBA::Environment &env =
- TAO_default_environment ()
- );
-
- static void create_module_skel (
- TAO_ServerRequest &req,
- void *obj,
- void *context,
- CORBA::Environment &env =
- TAO_default_environment ()
- );
-
- static void create_constant_skel (
- TAO_ServerRequest &req,
- void *obj,
- void *context,
- CORBA::Environment &env =
- TAO_default_environment ()
- );
-
- static void create_struct_skel (
- TAO_ServerRequest &req,
- void *obj,
- void *context,
- CORBA::Environment &env =
- TAO_default_environment ()
- );
-
- static void create_union_skel (
- TAO_ServerRequest &req,
- void *obj,
- void *context,
- CORBA::Environment &env =
- TAO_default_environment ()
- );
-
- static void create_enum_skel (
- TAO_ServerRequest &req,
- void *obj,
- void *context,
- CORBA::Environment &env =
- TAO_default_environment ()
- );
-
- static void create_alias_skel (
- TAO_ServerRequest &req,
- void *obj,
- void *context,
- CORBA::Environment &env =
- TAO_default_environment ()
- );
-
- static void create_interface_skel (
- TAO_ServerRequest &req,
- void *obj,
- void *context,
- CORBA::Environment &env =
- TAO_default_environment ()
- );
-
- static void create_value_skel (
- TAO_ServerRequest &req,
- void *obj,
- void *context,
- CORBA::Environment &env =
- TAO_default_environment ()
- );
-
- static void create_value_box_skel (
- TAO_ServerRequest &req,
- void *obj,
- void *context,
- CORBA::Environment &env =
- TAO_default_environment ()
- );
-
- static void create_exception_skel (
- TAO_ServerRequest &req,
- void *obj,
- void *context,
- CORBA::Environment &env =
- TAO_default_environment ()
- );
-
- static void create_native_skel (
- TAO_ServerRequest &req,
- void *obj,
- void *context,
- CORBA::Environment &env =
- TAO_default_environment ()
- );
-
- static void _get_def_kind_skel (
- TAO_ServerRequest &req,
- void *obj,
- void *context,
- CORBA::Environment &env =
- TAO_default_environment ()
- );
-
- static void destroy_skel (
- TAO_ServerRequest &req,
- void *obj,
- void *context,
- CORBA::Environment &env =
- TAO_default_environment ()
- );
-
-#if (TAO_HAS_INTERCEPTORS == 1)
- // Generation of interceptors related RequestInfo classes per operation.
- // This needed to be able to store the arguments, exceptions, contexts
- // and build the lists dynamically on demand so that unnecessary time overhead
- // of building these lists when they arent used is avoided.
- class TAO_ServerRequestInfo_IR_ComponentRepository_create_component : public TAO_ServerRequestInfo
- {
- public:
- friend class POA_IR::ComponentRepository;
- TAO_ServerRequestInfo_IR_ComponentRepository_create_component (
- TAO_ServerRequest &_tao_server_request,
- POA_IR::ComponentRepository *tao_impl
- ,
- const char * id,
- const char * name,
- const char * version,
- IR_ComponentDef_ptr base_component,
- const IR_InterfaceDefSeq & supports_interfaces,
- CORBA::Environment &ACE_TRY_ENV =
- TAO_default_environment ()
- );
-
- virtual Dynamic::ParameterList * arguments (
- CORBA::Environment &ACE_TRY_ENV =
- TAO_default_environment ()
- )
- ACE_THROW_SPEC ((CORBA::SystemException));
-
- virtual Dynamic::ExceptionList * exceptions (
- CORBA::Environment &ACE_TRY_ENV =
- TAO_default_environment ()
- )
- ACE_THROW_SPEC ((CORBA::SystemException));
-
- virtual CORBA::Any * result (
- CORBA::Environment &ACE_TRY_ENV =
- TAO_default_environment ()
- )
- ACE_THROW_SPEC ((CORBA::SystemException));
-
- virtual char * target_most_derived_interface (
- CORBA::Environment &ACE_TRY_ENV = TAO_default_environment ())
- ACE_THROW_SPEC ((CORBA::SystemException));
-
- virtual CORBA::Boolean target_is_a (
- const char * id,
- CORBA::Environment &ACE_TRY_ENV = TAO_default_environment ())
- ACE_THROW_SPEC ((CORBA::SystemException));
-
-
- private:
- TAO_ServerRequestInfo_IR_ComponentRepository_create_component (const TAO_ServerRequestInfo_IR_ComponentRepository_create_component &);
- void operator= (const TAO_ServerRequestInfo_IR_ComponentRepository_create_component &);
-
- private:
- POA_IR::ComponentRepository *_tao_impl;
- const char * id_;
- const char * name_;
- const char * version_;
- IR_ComponentDef_ptr base_component_;
- const IR_InterfaceDefSeq & supports_interfaces_;
- void result (IR::ComponentDef_ptr result);
- // update the result
- IR_ComponentDef_ptr _result;
- };
-
- class TAO_ServerRequestInfo_IR_ComponentRepository_create_home : public TAO_ServerRequestInfo
- {
- public:
- friend class POA_IR::ComponentRepository;
- TAO_ServerRequestInfo_IR_ComponentRepository_create_home (
- TAO_ServerRequest &_tao_server_request,
- POA_IR::ComponentRepository *tao_impl
- ,
- const char * id,
- const char * name,
- const char * version,
- IR_HomeDef_ptr base_home,
- IR_ComponentDef_ptr managed_component,
- IR_ValueDef_ptr primary_key,
- CORBA::Environment &ACE_TRY_ENV =
- TAO_default_environment ()
- );
-
- virtual Dynamic::ParameterList * arguments (
- CORBA::Environment &ACE_TRY_ENV =
- TAO_default_environment ()
- )
- ACE_THROW_SPEC ((CORBA::SystemException));
-
- virtual Dynamic::ExceptionList * exceptions (
- CORBA::Environment &ACE_TRY_ENV =
- TAO_default_environment ()
- )
- ACE_THROW_SPEC ((CORBA::SystemException));
-
- virtual CORBA::Any * result (
- CORBA::Environment &ACE_TRY_ENV =
- TAO_default_environment ()
- )
- ACE_THROW_SPEC ((CORBA::SystemException));
-
- virtual char * target_most_derived_interface (
- CORBA::Environment &ACE_TRY_ENV = TAO_default_environment ())
- ACE_THROW_SPEC ((CORBA::SystemException));
-
- virtual CORBA::Boolean target_is_a (
- const char * id,
- CORBA::Environment &ACE_TRY_ENV = TAO_default_environment ())
- ACE_THROW_SPEC ((CORBA::SystemException));
-
-
- private:
- TAO_ServerRequestInfo_IR_ComponentRepository_create_home (const TAO_ServerRequestInfo_IR_ComponentRepository_create_home &);
- void operator= (const TAO_ServerRequestInfo_IR_ComponentRepository_create_home &);
-
- private:
- POA_IR::ComponentRepository *_tao_impl;
- const char * id_;
- const char * name_;
- const char * version_;
- IR_HomeDef_ptr base_home_;
- IR_ComponentDef_ptr managed_component_;
- IR_ValueDef_ptr primary_key_;
- void result (IR::HomeDef_ptr result);
- // update the result
- IR_HomeDef_ptr _result;
- };
-
-#endif /* TAO_HAS_INTERCEPTORS */
-
- };
-
-///////////////////////////////////////////////////////////////////////
-// Strategized Proxy Broker Declaration
-//
-
-class _TAO_ComponentRepository_Strategized_Proxy_Broker : public virtual _TAO_ComponentRepository_Proxy_Broker
-{
-public:
- _TAO_ComponentRepository_Strategized_Proxy_Broker (void);
-
- virtual ~_TAO_ComponentRepository_Strategized_Proxy_Broker (void);
-
- virtual _TAO_ComponentRepository_Proxy_Impl &select_proxy (
- IR_ComponentRepository *object,
- CORBA_Environment &ACE_TRY_ENV = TAO_default_environment ()
- );
-
-private:
-
-// Helper methods that takes care to create the proxy
-// as soon as their use is necessary.
- void create_proxy (
- int strategy,
- CORBA::Environment &ACE_TRY_ENV
- );
-
-private:
-
- // Caches the proxy implementations. The proxy implementation
- // are totally stateless, and those can be shared by all the
- // instances of a given IDL interface type.
- _TAO_ComponentRepository_Proxy_Impl
- *proxy_cache_[TAO_Collocation_Strategies::CS_LAST];
-
- TAO_SYNCH_MUTEX mutex_;
-// This funxtion is used to get an handle to the unique instance
-// of the Strategized Proxy Broker that is available for a given
-// interface.
-
-public:
- static _TAO_ComponentRepository_Strategized_Proxy_Broker *the_TAO_ComponentRepository_Strategized_Proxy_Broker (void);
-};
-
-//
-// End Strategized Proxy Broker Declaration
-///////////////////////////////////////////////////////////////////////
-
-
-///////////////////////////////////////////////////////////////////////
-// ThruPOA Impl. Declaration
-//
-
-class _TAO_ComponentRepository_ThruPOA_Proxy_Impl :
- public virtual _TAO_ComponentRepository_Proxy_Impl,
- public virtual TAO_ThruPOA_Object_Proxy_Impl,
- public virtual ::POA_IR::_TAO_Repository_ThruPOA_Proxy_Impl
-
-{
-public:
- _TAO_ComponentRepository_ThruPOA_Proxy_Impl (void);
-
- virtual ~_TAO_ComponentRepository_ThruPOA_Proxy_Impl (void) { }
-
- virtual IR_ComponentDef_ptr create_component (
- CORBA_Object *_collocated_tao_target_,
- const char * id,
- const char * name,
- const char * version,
- IR_ComponentDef_ptr base_component,
- const IR_InterfaceDefSeq & supports_interfaces,
- CORBA::Environment &ACE_TRY_ENV
- )
- ACE_THROW_SPEC ((
- CORBA::SystemException
- ));
-
- virtual IR_HomeDef_ptr create_home (
- CORBA_Object *_collocated_tao_target_,
- const char * id,
- const char * name,
- const char * version,
- IR_HomeDef_ptr base_home,
- IR_ComponentDef_ptr managed_component,
- IR_ValueDef_ptr primary_key,
- CORBA::Environment &ACE_TRY_ENV
- )
- ACE_THROW_SPEC ((
- CORBA::SystemException
- ));
-};
-
-
-//
-// ThruPOA Proxy Impl. Declaration
-///////////////////////////////////////////////////////////////////////
-
-#if defined (ACE_HAS_USING_KEYWORD)
- // TIE class: Refer to CORBA v2.2, Section 20.34.4
- template <class T>
- class ComponentRepository_tie
- : public virtual ComponentRepository,
- public virtual PortableServer::RefCountServantBase
- {
- public:
- ComponentRepository_tie (T &t);
- // the T& ctor
- ComponentRepository_tie (T &t, PortableServer::POA_ptr poa);
- // ctor taking a POA
- ComponentRepository_tie (T *tp, CORBA::Boolean release=1);
- // ctor taking pointer and an ownership flag
- ComponentRepository_tie (T *tp, PortableServer::POA_ptr poa, CORBA::Boolean release=1);
- // ctor with T*, ownership flag and a POA
- ~ComponentRepository_tie (void);
- // dtor
-
- // TIE specific functions
- T *_tied_object (void);
- // return the underlying object
- void _tied_object (T &obj);
- // set the underlying object
- void _tied_object (T *obj, CORBA::Boolean release=1);
- // set the underlying object and the ownership flag
- CORBA::Boolean _is_owner (void);
- // do we own it
- void _is_owner (CORBA::Boolean b);
- // set the ownership
-
- // overridden ServantBase operations
- PortableServer::POA_ptr _default_POA (
- CORBA::Environment &env =
- TAO_default_environment ()
- );
- IR_ComponentDef_ptr create_component (
- const char * id,
- const char * name,
- const char * version,
- IR_ComponentDef_ptr base_component,
- const IR_InterfaceDefSeq & supports_interfaces,
- CORBA::Environment &ACE_TRY_ENV =
- TAO_default_environment ()
- )
- ACE_THROW_SPEC ((
- CORBA::SystemException
- ));
-
- IR_HomeDef_ptr create_home (
- const char * id,
- const char * name,
- const char * version,
- IR_HomeDef_ptr base_home,
- IR_ComponentDef_ptr managed_component,
- IR_ValueDef_ptr primary_key,
- CORBA::Environment &ACE_TRY_ENV =
- TAO_default_environment ()
- )
- ACE_THROW_SPEC ((
- CORBA::SystemException
- ));
-
- IR_Contained_ptr lookup_id (
- const char * search_id,
- CORBA::Environment &ACE_TRY_ENV =
- TAO_default_environment ()
- )
- ACE_THROW_SPEC ((
- CORBA::SystemException
- ));
-
- CORBA::TypeCode_ptr get_canonical_typecode (
- CORBA::TypeCode_ptr tc,
- CORBA::Environment &ACE_TRY_ENV =
- TAO_default_environment ()
- )
- ACE_THROW_SPEC ((
- CORBA::SystemException
- ));
-
- IR_PrimitiveDef_ptr get_primitive (
- IR_PrimitiveKind kind,
- CORBA::Environment &ACE_TRY_ENV =
- TAO_default_environment ()
- )
- ACE_THROW_SPEC ((
- CORBA::SystemException
- ));
-
- IR_StringDef_ptr create_string (
- CORBA::ULong bound,
- CORBA::Environment &ACE_TRY_ENV =
- TAO_default_environment ()
- )
- ACE_THROW_SPEC ((
- CORBA::SystemException
- ));
-
- IR_WstringDef_ptr create_wstring (
- CORBA::ULong bound,
- CORBA::Environment &ACE_TRY_ENV =
- TAO_default_environment ()
- )
- ACE_THROW_SPEC ((
- CORBA::SystemException
- ));
-
- IR_SequenceDef_ptr create_sequence (
- CORBA::ULong bound,
- IR_IDLType_ptr element_type,
- CORBA::Environment &ACE_TRY_ENV =
- TAO_default_environment ()
- )
- ACE_THROW_SPEC ((
- CORBA::SystemException
- ));
-
- IR_ArrayDef_ptr create_array (
- CORBA::ULong length,
- IR_IDLType_ptr element_type,
- CORBA::Environment &ACE_TRY_ENV =
- TAO_default_environment ()
- )
- ACE_THROW_SPEC ((
- CORBA::SystemException
- ));
-
- IR_FixedDef_ptr create_fixed (
- CORBA::UShort digits,
- CORBA::Short scale,
- CORBA::Environment &ACE_TRY_ENV =
- TAO_default_environment ()
- )
- ACE_THROW_SPEC ((
- CORBA::SystemException
- ));
-
- IR_Contained_ptr lookup (
- const char * search_name,
- CORBA::Environment &ACE_TRY_ENV =
- TAO_default_environment ()
- )
- ACE_THROW_SPEC ((
- CORBA::SystemException
- ));
-
- IR_ContainedSeq * contents (
- IR_DefinitionKind limit_type,
- CORBA::Boolean exclude_inherited,
- CORBA::Environment &ACE_TRY_ENV =
- TAO_default_environment ()
- )
- ACE_THROW_SPEC ((
- CORBA::SystemException
- ));
-
- IR_ContainedSeq * lookup_name (
- const char * search_name,
- CORBA::Long levels_to_search,
- IR_DefinitionKind limit_type,
- CORBA::Boolean exclude_inherited,
- CORBA::Environment &ACE_TRY_ENV =
- TAO_default_environment ()
- )
- ACE_THROW_SPEC ((
- CORBA::SystemException
- ));
-
- IR_Container::DescriptionSeq * describe_contents (
- IR_DefinitionKind limit_type,
- CORBA::Boolean exclude_inherited,
- CORBA::Long max_returned_objs,
- CORBA::Environment &ACE_TRY_ENV =
- TAO_default_environment ()
- )
- ACE_THROW_SPEC ((
- CORBA::SystemException
- ));
-
- IR_ModuleDef_ptr create_module (
- const char * id,
- const char * name,
- const char * version,
- CORBA::Environment &ACE_TRY_ENV =
- TAO_default_environment ()
- )
- ACE_THROW_SPEC ((
- CORBA::SystemException
- ));
-
- IR_ConstantDef_ptr create_constant (
- const char * id,
- const char * name,
- const char * version,
- IR_IDLType_ptr type,
- const CORBA::Any & value,
- CORBA::Environment &ACE_TRY_ENV =
- TAO_default_environment ()
- )
- ACE_THROW_SPEC ((
- CORBA::SystemException
- ));
-
- IR_StructDef_ptr create_struct (
- const char * id,
- const char * name,
- const char * version,
- const IR_StructMemberSeq & members,
- CORBA::Environment &ACE_TRY_ENV =
- TAO_default_environment ()
- )
- ACE_THROW_SPEC ((
- CORBA::SystemException
- ));
-
- IR_UnionDef_ptr create_union (
- const char * id,
- const char * name,
- const char * version,
- IR_IDLType_ptr discriminator_type,
- const IR_UnionMemberSeq & members,
- CORBA::Environment &ACE_TRY_ENV =
- TAO_default_environment ()
- )
- ACE_THROW_SPEC ((
- CORBA::SystemException
- ));
-
- IR_EnumDef_ptr create_enum (
- const char * id,
- const char * name,
- const char * version,
- const IR_EnumMemberSeq & members,
- CORBA::Environment &ACE_TRY_ENV =
- TAO_default_environment ()
- )
- ACE_THROW_SPEC ((
- CORBA::SystemException
- ));
-
- IR_AliasDef_ptr create_alias (
- const char * id,
- const char * name,
- const char * version,
- IR_IDLType_ptr original_type,
- CORBA::Environment &ACE_TRY_ENV =
- TAO_default_environment ()
- )
- ACE_THROW_SPEC ((
- CORBA::SystemException
- ));
-
- IR_InterfaceDef_ptr create_interface (
- const char * id,
- const char * name,
- const char * version,
- const IR_InterfaceDefSeq & base_interfaces,
- CORBA::Boolean is_abstract,
- CORBA::Boolean is_local,
- CORBA::Environment &ACE_TRY_ENV =
- TAO_default_environment ()
- )
- ACE_THROW_SPEC ((
- CORBA::SystemException
- ));
-
- IR_ValueDef_ptr create_value (
- const char * id,
- const char * name,
- const char * version,
- CORBA::Boolean is_custom,
- CORBA::Boolean is_abstract,
- IR_ValueDef_ptr base_value,
- CORBA::Boolean is_truncatable,
- const IR_ValueDefSeq & abstract_base_values,
- const IR_InterfaceDefSeq & supported_interfaces,
- const IR_InitializerSeq & initializers,
- CORBA::Environment &ACE_TRY_ENV =
- TAO_default_environment ()
- )
- ACE_THROW_SPEC ((
- CORBA::SystemException
- ));
-
- IR_ValueBoxDef_ptr create_value_box (
- const char * id,
- const char * name,
- const char * version,
- IR_IDLType_ptr original_type_def,
- CORBA::Environment &ACE_TRY_ENV =
- TAO_default_environment ()
- )
- ACE_THROW_SPEC ((
- CORBA::SystemException
- ));
-
- IR_ExceptionDef_ptr create_exception (
- const char * id,
- const char * name,
- const char * version,
- const IR_StructMemberSeq & members,
- CORBA::Environment &ACE_TRY_ENV =
- TAO_default_environment ()
- )
- ACE_THROW_SPEC ((
- CORBA::SystemException
- ));
-
- IR_NativeDef_ptr create_native (
- const char * id,
- const char * name,
- const char * version,
- CORBA::Environment &ACE_TRY_ENV =
- TAO_default_environment ()
- )
- ACE_THROW_SPEC ((
- CORBA::SystemException
- ));
-
- IR_DefinitionKind def_kind (
- CORBA::Environment &ACE_TRY_ENV =
- TAO_default_environment ()
- )
- ACE_THROW_SPEC ((
- CORBA::SystemException
- ));
-
- void destroy (
- CORBA::Environment &ACE_TRY_ENV =
- TAO_default_environment ()
- )
- ACE_THROW_SPEC ((
- CORBA::SystemException
- ));
-
-private:
- T *ptr_;
- PortableServer::POA_var poa_;
- CORBA::Boolean rel_;
-
- // copy and assignment are not allowed
- ComponentRepository_tie (const ComponentRepository_tie &);
- void operator= (const ComponentRepository_tie &);
- };
-
-#endif /* ACE_HAS_USING_KEYWORD */
-
- class ModuleDef;
- typedef ModuleDef *ModuleDef_ptr;
- // Forward Classes Declaration
- class _TAO_ModuleDef_ThruPOA_Proxy_Impl;
- class _TAO_ModuleDef_Strategized_Proxy_Broker;
-
- class ModuleDef : public virtual Container,
- public virtual Contained
- {
- protected:
- ModuleDef (void);
-
- public:
- ModuleDef (const ModuleDef& rhs);
- virtual ~ModuleDef (void);
-
-
- virtual CORBA::Boolean _is_a (
- const char* logical_type_id,
- CORBA::Environment &ACE_TRY_ENV =
- TAO_default_environment ()
- );
-
- virtual void* _downcast (
- const char* logical_type_id
- );
-
- static void _is_a_skel (
- TAO_ServerRequest &req,
- void *obj,
- void *context,
- CORBA::Environment &ACE_TRY_ENV =
- TAO_default_environment ()
- );
-
- static void _non_existent_skel (
- TAO_ServerRequest &req,
- void *obj,
- void *context,
- CORBA::Environment &ACE_TRY_ENV =
- TAO_default_environment ()
- );
-
- virtual void _dispatch (
- TAO_ServerRequest &_tao_req,
- void *_tao_context,
- CORBA::Environment &ACE_TRY_ENV =
- TAO_default_environment ()
- );
-
- IR_ModuleDef *_this (
- CORBA::Environment &ACE_TRY_ENV =
- TAO_default_environment ()
- );
-
- virtual const char* _interface_repository_id (void) const;
-
- static void lookup_skel (
- TAO_ServerRequest &req,
- void *obj,
- void *context,
- CORBA::Environment &env =
- TAO_default_environment ()
- );
-
- static void contents_skel (
- TAO_ServerRequest &req,
- void *obj,
- void *context,
- CORBA::Environment &env =
- TAO_default_environment ()
- );
-
- static void lookup_name_skel (
- TAO_ServerRequest &req,
- void *obj,
- void *context,
- CORBA::Environment &env =
- TAO_default_environment ()
- );
-
- static void describe_contents_skel (
- TAO_ServerRequest &req,
- void *obj,
- void *context,
- CORBA::Environment &env =
- TAO_default_environment ()
- );
-
- static void create_module_skel (
- TAO_ServerRequest &req,
- void *obj,
- void *context,
- CORBA::Environment &env =
- TAO_default_environment ()
- );
-
- static void create_constant_skel (
- TAO_ServerRequest &req,
- void *obj,
- void *context,
- CORBA::Environment &env =
- TAO_default_environment ()
- );
-
- static void create_struct_skel (
- TAO_ServerRequest &req,
- void *obj,
- void *context,
- CORBA::Environment &env =
- TAO_default_environment ()
- );
-
- static void create_union_skel (
- TAO_ServerRequest &req,
- void *obj,
- void *context,
- CORBA::Environment &env =
- TAO_default_environment ()
- );
-
- static void create_enum_skel (
- TAO_ServerRequest &req,
- void *obj,
- void *context,
- CORBA::Environment &env =
- TAO_default_environment ()
- );
-
- static void create_alias_skel (
- TAO_ServerRequest &req,
- void *obj,
- void *context,
- CORBA::Environment &env =
- TAO_default_environment ()
- );
-
- static void create_interface_skel (
- TAO_ServerRequest &req,
- void *obj,
- void *context,
- CORBA::Environment &env =
- TAO_default_environment ()
- );
-
- static void create_value_skel (
- TAO_ServerRequest &req,
- void *obj,
- void *context,
- CORBA::Environment &env =
- TAO_default_environment ()
- );
-
- static void create_value_box_skel (
- TAO_ServerRequest &req,
- void *obj,
- void *context,
- CORBA::Environment &env =
- TAO_default_environment ()
- );
-
- static void create_exception_skel (
- TAO_ServerRequest &req,
- void *obj,
- void *context,
- CORBA::Environment &env =
- TAO_default_environment ()
- );
-
- static void create_native_skel (
- TAO_ServerRequest &req,
- void *obj,
- void *context,
- CORBA::Environment &env =
- TAO_default_environment ()
- );
-
- static void _get_id_skel (
- TAO_ServerRequest &req,
- void *obj,
- void *context,
- CORBA::Environment &env =
- TAO_default_environment ()
- );
-
- static void _set_id_skel (
- TAO_ServerRequest &req,
- void *obj,
- void *context,
- CORBA::Environment &env =
- TAO_default_environment ()
- );
-
- static void _get_name_skel (
- TAO_ServerRequest &req,
- void *obj,
- void *context,
- CORBA::Environment &env =
- TAO_default_environment ()
- );
-
- static void _set_name_skel (
- TAO_ServerRequest &req,
- void *obj,
- void *context,
- CORBA::Environment &env =
- TAO_default_environment ()
- );
-
- static void _get_version_skel (
- TAO_ServerRequest &req,
- void *obj,
- void *context,
- CORBA::Environment &env =
- TAO_default_environment ()
- );
-
- static void _set_version_skel (
- TAO_ServerRequest &req,
- void *obj,
- void *context,
- CORBA::Environment &env =
- TAO_default_environment ()
- );
-
- static void _get_defined_in_skel (
- TAO_ServerRequest &req,
- void *obj,
- void *context,
- CORBA::Environment &env =
- TAO_default_environment ()
- );
-
- static void _get_absolute_name_skel (
- TAO_ServerRequest &req,
- void *obj,
- void *context,
- CORBA::Environment &env =
- TAO_default_environment ()
- );
-
- static void _get_containing_repository_skel (
- TAO_ServerRequest &req,
- void *obj,
- void *context,
- CORBA::Environment &env =
- TAO_default_environment ()
- );
-
- static void describe_skel (
- TAO_ServerRequest &req,
- void *obj,
- void *context,
- CORBA::Environment &env =
- TAO_default_environment ()
- );
-
- static void move_skel (
- TAO_ServerRequest &req,
- void *obj,
- void *context,
- CORBA::Environment &env =
- TAO_default_environment ()
- );
-
- static void _get_def_kind_skel (
- TAO_ServerRequest &req,
- void *obj,
- void *context,
- CORBA::Environment &env =
- TAO_default_environment ()
- );
-
- static void destroy_skel (
- TAO_ServerRequest &req,
- void *obj,
- void *context,
- CORBA::Environment &env =
- TAO_default_environment ()
- );
-
-#if (TAO_HAS_INTERCEPTORS == 1)
- // Generation of interceptors related RequestInfo classes per operation.
- // This needed to be able to store the arguments, exceptions, contexts
- // and build the lists dynamically on demand so that unnecessary time overhead
- // of building these lists when they arent used is avoided.
-#endif /* TAO_HAS_INTERCEPTORS */
-
- };
-
-///////////////////////////////////////////////////////////////////////
-// Strategized Proxy Broker Declaration
-//
-
-class _TAO_ModuleDef_Strategized_Proxy_Broker : public virtual _TAO_ModuleDef_Proxy_Broker
-{
-public:
- _TAO_ModuleDef_Strategized_Proxy_Broker (void);
-
- virtual ~_TAO_ModuleDef_Strategized_Proxy_Broker (void);
-
- virtual _TAO_ModuleDef_Proxy_Impl &select_proxy (
- IR_ModuleDef *object,
- CORBA_Environment &ACE_TRY_ENV = TAO_default_environment ()
- );
-
-private:
-
-// Helper methods that takes care to create the proxy
-// as soon as their use is necessary.
- void create_proxy (
- int strategy,
- CORBA::Environment &ACE_TRY_ENV
- );
-
-private:
-
- // Caches the proxy implementations. The proxy implementation
- // are totally stateless, and those can be shared by all the
- // instances of a given IDL interface type.
- _TAO_ModuleDef_Proxy_Impl
- *proxy_cache_[TAO_Collocation_Strategies::CS_LAST];
-
- TAO_SYNCH_MUTEX mutex_;
-// This funxtion is used to get an handle to the unique instance
-// of the Strategized Proxy Broker that is available for a given
-// interface.
-
-public:
- static _TAO_ModuleDef_Strategized_Proxy_Broker *the_TAO_ModuleDef_Strategized_Proxy_Broker (void);
-};
-
-//
-// End Strategized Proxy Broker Declaration
-///////////////////////////////////////////////////////////////////////
-
-
-///////////////////////////////////////////////////////////////////////
-// ThruPOA Impl. Declaration
-//
-
-class _TAO_ModuleDef_ThruPOA_Proxy_Impl :
- public virtual _TAO_ModuleDef_Proxy_Impl,
- public virtual TAO_ThruPOA_Object_Proxy_Impl,
- public virtual ::POA_IR::_TAO_Container_ThruPOA_Proxy_Impl,
- public virtual ::POA_IR::_TAO_Contained_ThruPOA_Proxy_Impl
-
-{
-public:
- _TAO_ModuleDef_ThruPOA_Proxy_Impl (void);
-
- virtual ~_TAO_ModuleDef_ThruPOA_Proxy_Impl (void) { }
-
-};
-
-
-//
-// ThruPOA Proxy Impl. Declaration
-///////////////////////////////////////////////////////////////////////
-
-#if defined (ACE_HAS_USING_KEYWORD)
- // TIE class: Refer to CORBA v2.2, Section 20.34.4
- template <class T>
- class ModuleDef_tie : public ModuleDef
- {
- public:
- ModuleDef_tie (T &t);
- // the T& ctor
- ModuleDef_tie (T &t, PortableServer::POA_ptr poa);
- // ctor taking a POA
- ModuleDef_tie (T *tp, CORBA::Boolean release=1);
- // ctor taking pointer and an ownership flag
- ModuleDef_tie (T *tp, PortableServer::POA_ptr poa, CORBA::Boolean release=1);
- // ctor with T*, ownership flag and a POA
- ~ModuleDef_tie (void);
- // dtor
-
- // TIE specific functions
- T *_tied_object (void);
- // return the underlying object
- void _tied_object (T &obj);
- // set the underlying object
- void _tied_object (T *obj, CORBA::Boolean release=1);
- // set the underlying object and the ownership flag
- CORBA::Boolean _is_owner (void);
- // do we own it
- void _is_owner (CORBA::Boolean b);
- // set the ownership
-
- // overridden ServantBase operations
- PortableServer::POA_ptr _default_POA (
- CORBA::Environment &env =
- TAO_default_environment ()
- );
- IR_Contained_ptr lookup (
- const char * search_name,
- CORBA::Environment &ACE_TRY_ENV =
- TAO_default_environment ()
- )
- ACE_THROW_SPEC ((
- CORBA::SystemException
- ));
-
- IR_ContainedSeq * contents (
- IR_DefinitionKind limit_type,
- CORBA::Boolean exclude_inherited,
- CORBA::Environment &ACE_TRY_ENV =
- TAO_default_environment ()
- )
- ACE_THROW_SPEC ((
- CORBA::SystemException
- ));
-
- IR_ContainedSeq * lookup_name (
- const char * search_name,
- CORBA::Long levels_to_search,
- IR_DefinitionKind limit_type,
- CORBA::Boolean exclude_inherited,
- CORBA::Environment &ACE_TRY_ENV =
- TAO_default_environment ()
- )
- ACE_THROW_SPEC ((
- CORBA::SystemException
- ));
-
- IR_Container::DescriptionSeq * describe_contents (
- IR_DefinitionKind limit_type,
- CORBA::Boolean exclude_inherited,
- CORBA::Long max_returned_objs,
- CORBA::Environment &ACE_TRY_ENV =
- TAO_default_environment ()
- )
- ACE_THROW_SPEC ((
- CORBA::SystemException
- ));
-
- IR_ModuleDef_ptr create_module (
- const char * id,
- const char * name,
- const char * version,
- CORBA::Environment &ACE_TRY_ENV =
- TAO_default_environment ()
- )
- ACE_THROW_SPEC ((
- CORBA::SystemException
- ));
-
- IR_ConstantDef_ptr create_constant (
- const char * id,
- const char * name,
- const char * version,
- IR_IDLType_ptr type,
- const CORBA::Any & value,
- CORBA::Environment &ACE_TRY_ENV =
- TAO_default_environment ()
- )
- ACE_THROW_SPEC ((
- CORBA::SystemException
- ));
-
- IR_StructDef_ptr create_struct (
- const char * id,
- const char * name,
- const char * version,
- const IR_StructMemberSeq & members,
- CORBA::Environment &ACE_TRY_ENV =
- TAO_default_environment ()
- )
- ACE_THROW_SPEC ((
- CORBA::SystemException
- ));
-
- IR_UnionDef_ptr create_union (
- const char * id,
- const char * name,
- const char * version,
- IR_IDLType_ptr discriminator_type,
- const IR_UnionMemberSeq & members,
- CORBA::Environment &ACE_TRY_ENV =
- TAO_default_environment ()
- )
- ACE_THROW_SPEC ((
- CORBA::SystemException
- ));
-
- IR_EnumDef_ptr create_enum (
- const char * id,
- const char * name,
- const char * version,
- const IR_EnumMemberSeq & members,
- CORBA::Environment &ACE_TRY_ENV =
- TAO_default_environment ()
- )
- ACE_THROW_SPEC ((
- CORBA::SystemException
- ));
-
- IR_AliasDef_ptr create_alias (
- const char * id,
- const char * name,
- const char * version,
- IR_IDLType_ptr original_type,
- CORBA::Environment &ACE_TRY_ENV =
- TAO_default_environment ()
- )
- ACE_THROW_SPEC ((
- CORBA::SystemException
- ));
-
- IR_InterfaceDef_ptr create_interface (
- const char * id,
- const char * name,
- const char * version,
- const IR_InterfaceDefSeq & base_interfaces,
- CORBA::Boolean is_abstract,
- CORBA::Boolean is_local,
- CORBA::Environment &ACE_TRY_ENV =
- TAO_default_environment ()
- )
- ACE_THROW_SPEC ((
- CORBA::SystemException
- ));
-
- IR_ValueDef_ptr create_value (
- const char * id,
- const char * name,
- const char * version,
- CORBA::Boolean is_custom,
- CORBA::Boolean is_abstract,
- IR_ValueDef_ptr base_value,
- CORBA::Boolean is_truncatable,
- const IR_ValueDefSeq & abstract_base_values,
- const IR_InterfaceDefSeq & supported_interfaces,
- const IR_InitializerSeq & initializers,
- CORBA::Environment &ACE_TRY_ENV =
- TAO_default_environment ()
- )
- ACE_THROW_SPEC ((
- CORBA::SystemException
- ));
-
- IR_ValueBoxDef_ptr create_value_box (
- const char * id,
- const char * name,
- const char * version,
- IR_IDLType_ptr original_type_def,
- CORBA::Environment &ACE_TRY_ENV =
- TAO_default_environment ()
- )
- ACE_THROW_SPEC ((
- CORBA::SystemException
- ));
-
- IR_ExceptionDef_ptr create_exception (
- const char * id,
- const char * name,
- const char * version,
- const IR_StructMemberSeq & members,
- CORBA::Environment &ACE_TRY_ENV =
- TAO_default_environment ()
- )
- ACE_THROW_SPEC ((
- CORBA::SystemException
- ));
-
- IR_NativeDef_ptr create_native (
- const char * id,
- const char * name,
- const char * version,
- CORBA::Environment &ACE_TRY_ENV =
- TAO_default_environment ()
- )
- ACE_THROW_SPEC ((
- CORBA::SystemException
- ));
-
- char * id (
- CORBA::Environment &ACE_TRY_ENV =
- TAO_default_environment ()
- )
- ACE_THROW_SPEC ((
- CORBA::SystemException
- ));
-
- void id (
- const char * id,
- CORBA::Environment &ACE_TRY_ENV =
- TAO_default_environment ()
- )
- ACE_THROW_SPEC ((
- CORBA::SystemException
- ));
-
- char * name (
- CORBA::Environment &ACE_TRY_ENV =
- TAO_default_environment ()
- )
- ACE_THROW_SPEC ((
- CORBA::SystemException
- ));
-
- void name (
- const char * name,
- CORBA::Environment &ACE_TRY_ENV =
- TAO_default_environment ()
- )
- ACE_THROW_SPEC ((
- CORBA::SystemException
- ));
-
- char * version (
- CORBA::Environment &ACE_TRY_ENV =
- TAO_default_environment ()
- )
- ACE_THROW_SPEC ((
- CORBA::SystemException
- ));
-
- void version (
- const char * version,
- CORBA::Environment &ACE_TRY_ENV =
- TAO_default_environment ()
- )
- ACE_THROW_SPEC ((
- CORBA::SystemException
- ));
-
- IR_Container_ptr defined_in (
- CORBA::Environment &ACE_TRY_ENV =
- TAO_default_environment ()
- )
- ACE_THROW_SPEC ((
- CORBA::SystemException
- ));
-
- char * absolute_name (
- CORBA::Environment &ACE_TRY_ENV =
- TAO_default_environment ()
- )
- ACE_THROW_SPEC ((
- CORBA::SystemException
- ));
-
- IR_Repository_ptr containing_repository (
- CORBA::Environment &ACE_TRY_ENV =
- TAO_default_environment ()
- )
- ACE_THROW_SPEC ((
- CORBA::SystemException
- ));
-
- IR_Contained::Description * describe (
- CORBA::Environment &ACE_TRY_ENV =
- TAO_default_environment ()
- )
- ACE_THROW_SPEC ((
- CORBA::SystemException
- ));
-
- void move (
- IR_Container_ptr new_container,
- const char * new_name,
- const char * new_version,
- CORBA::Environment &ACE_TRY_ENV =
- TAO_default_environment ()
- )
- ACE_THROW_SPEC ((
- CORBA::SystemException
- ));
-
- IR_DefinitionKind def_kind (
- CORBA::Environment &ACE_TRY_ENV =
- TAO_default_environment ()
- )
- ACE_THROW_SPEC ((
- CORBA::SystemException
- ));
-
- void destroy (
- CORBA::Environment &ACE_TRY_ENV =
- TAO_default_environment ()
- )
- ACE_THROW_SPEC ((
- CORBA::SystemException
- ));
-
-private:
- T *ptr_;
- PortableServer::POA_var poa_;
- CORBA::Boolean rel_;
-
- // copy and assignment are not allowed
- ModuleDef_tie (const ModuleDef_tie &);
- void operator= (const ModuleDef_tie &);
- };
-
-#endif /* ACE_HAS_USING_KEYWORD */
-
- class ConstantDef;
- typedef ConstantDef *ConstantDef_ptr;
- // Forward Classes Declaration
- class _TAO_ConstantDef_ThruPOA_Proxy_Impl;
- class _TAO_ConstantDef_Strategized_Proxy_Broker;
-
- class ConstantDef : public virtual Contained
- {
- protected:
- ConstantDef (void);
-
- public:
- ConstantDef (const ConstantDef& rhs);
- virtual ~ConstantDef (void);
-
-
- virtual CORBA::Boolean _is_a (
- const char* logical_type_id,
- CORBA::Environment &ACE_TRY_ENV =
- TAO_default_environment ()
- );
-
- virtual void* _downcast (
- const char* logical_type_id
- );
-
- static void _is_a_skel (
- TAO_ServerRequest &req,
- void *obj,
- void *context,
- CORBA::Environment &ACE_TRY_ENV =
- TAO_default_environment ()
- );
-
- static void _non_existent_skel (
- TAO_ServerRequest &req,
- void *obj,
- void *context,
- CORBA::Environment &ACE_TRY_ENV =
- TAO_default_environment ()
- );
-
- virtual void _dispatch (
- TAO_ServerRequest &_tao_req,
- void *_tao_context,
- CORBA::Environment &ACE_TRY_ENV =
- TAO_default_environment ()
- );
-
- IR_ConstantDef *_this (
- CORBA::Environment &ACE_TRY_ENV =
- TAO_default_environment ()
- );
-
- virtual const char* _interface_repository_id (void) const;
-
- virtual CORBA::TypeCode_ptr type (
- CORBA::Environment &ACE_TRY_ENV =
- TAO_default_environment ()
- )
- ACE_THROW_SPEC ((
- CORBA::SystemException
- )) = 0;
-
- static void _get_type_skel (
- TAO_ServerRequest &_tao_req,
- void *_tao_obj,
- void *_tao_context,
- CORBA::Environment &ACE_TRY_ENV =
- TAO_default_environment ()
- );
-
- virtual IR_IDLType_ptr type_def (
- CORBA::Environment &ACE_TRY_ENV =
- TAO_default_environment ()
- )
- ACE_THROW_SPEC ((
- CORBA::SystemException
- )) = 0;
-
- static void _get_type_def_skel (
- TAO_ServerRequest &_tao_req,
- void *_tao_obj,
- void *_tao_context,
- CORBA::Environment &ACE_TRY_ENV =
- TAO_default_environment ()
- );
-
- virtual void type_def (
- IR_IDLType_ptr type_def,
- CORBA::Environment &ACE_TRY_ENV =
- TAO_default_environment ()
- )
- ACE_THROW_SPEC ((
- CORBA::SystemException
- )) = 0;
-
- static void _set_type_def_skel (
- TAO_ServerRequest &_tao_req,
- void *_tao_obj,
- void *_tao_context,
- CORBA::Environment &ACE_TRY_ENV =
- TAO_default_environment ()
- );
-
- virtual CORBA::Any * value (
- CORBA::Environment &ACE_TRY_ENV =
- TAO_default_environment ()
- )
- ACE_THROW_SPEC ((
- CORBA::SystemException
- )) = 0;
-
- static void _get_value_skel (
- TAO_ServerRequest &_tao_req,
- void *_tao_obj,
- void *_tao_context,
- CORBA::Environment &ACE_TRY_ENV =
- TAO_default_environment ()
- );
-
- virtual void value (
- const CORBA::Any & value,
- CORBA::Environment &ACE_TRY_ENV =
- TAO_default_environment ()
- )
- ACE_THROW_SPEC ((
- CORBA::SystemException
- )) = 0;
-
- static void _set_value_skel (
- TAO_ServerRequest &_tao_req,
- void *_tao_obj,
- void *_tao_context,
- CORBA::Environment &ACE_TRY_ENV =
- TAO_default_environment ()
- );
-
- static void _get_id_skel (
- TAO_ServerRequest &req,
- void *obj,
- void *context,
- CORBA::Environment &env =
- TAO_default_environment ()
- );
-
- static void _set_id_skel (
- TAO_ServerRequest &req,
- void *obj,
- void *context,
- CORBA::Environment &env =
- TAO_default_environment ()
- );
-
- static void _get_name_skel (
- TAO_ServerRequest &req,
- void *obj,
- void *context,
- CORBA::Environment &env =
- TAO_default_environment ()
- );
-
- static void _set_name_skel (
- TAO_ServerRequest &req,
- void *obj,
- void *context,
- CORBA::Environment &env =
- TAO_default_environment ()
- );
-
- static void _get_version_skel (
- TAO_ServerRequest &req,
- void *obj,
- void *context,
- CORBA::Environment &env =
- TAO_default_environment ()
- );
-
- static void _set_version_skel (
- TAO_ServerRequest &req,
- void *obj,
- void *context,
- CORBA::Environment &env =
- TAO_default_environment ()
- );
-
- static void _get_defined_in_skel (
- TAO_ServerRequest &req,
- void *obj,
- void *context,
- CORBA::Environment &env =
- TAO_default_environment ()
- );
-
- static void _get_absolute_name_skel (
- TAO_ServerRequest &req,
- void *obj,
- void *context,
- CORBA::Environment &env =
- TAO_default_environment ()
- );
-
- static void _get_containing_repository_skel (
- TAO_ServerRequest &req,
- void *obj,
- void *context,
- CORBA::Environment &env =
- TAO_default_environment ()
- );
-
- static void describe_skel (
- TAO_ServerRequest &req,
- void *obj,
- void *context,
- CORBA::Environment &env =
- TAO_default_environment ()
- );
-
- static void move_skel (
- TAO_ServerRequest &req,
- void *obj,
- void *context,
- CORBA::Environment &env =
- TAO_default_environment ()
- );
-
- static void _get_def_kind_skel (
- TAO_ServerRequest &req,
- void *obj,
- void *context,
- CORBA::Environment &env =
- TAO_default_environment ()
- );
-
- static void destroy_skel (
- TAO_ServerRequest &req,
- void *obj,
- void *context,
- CORBA::Environment &env =
- TAO_default_environment ()
- );
-
-#if (TAO_HAS_INTERCEPTORS == 1)
- // Generation of interceptors related RequestInfo classes per operation.
- // This needed to be able to store the arguments, exceptions, contexts
- // and build the lists dynamically on demand so that unnecessary time overhead
- // of building these lists when they arent used is avoided.
- class TAO_ServerRequestInfo_IR_ConstantDef_type_get : public TAO_ServerRequestInfo
- {
- public:
- friend class POA_IR::ConstantDef;
- TAO_ServerRequestInfo_IR_ConstantDef_type_get (
- TAO_ServerRequest &_tao_server_request,
- POA_IR::ConstantDef *tao_impl
- ,
- CORBA::Environment &ACE_TRY_ENV =
- TAO_default_environment ()
- );
-
- virtual Dynamic::ParameterList * arguments (
- CORBA::Environment &ACE_TRY_ENV =
- TAO_default_environment ()
- )
- ACE_THROW_SPEC ((CORBA::SystemException));
-
- virtual Dynamic::ExceptionList * exceptions (
- CORBA::Environment &ACE_TRY_ENV =
- TAO_default_environment ()
- )
- ACE_THROW_SPEC ((CORBA::SystemException));
-
- virtual CORBA::Any * result (
- CORBA::Environment &ACE_TRY_ENV =
- TAO_default_environment ()
- )
- ACE_THROW_SPEC ((CORBA::SystemException));
-
- virtual char * target_most_derived_interface (
- CORBA::Environment &ACE_TRY_ENV = TAO_default_environment ())
- ACE_THROW_SPEC ((CORBA::SystemException));
-
- virtual CORBA::Boolean target_is_a (
- const char * id,
- CORBA::Environment &ACE_TRY_ENV = TAO_default_environment ())
- ACE_THROW_SPEC ((CORBA::SystemException));
-
-
- private:
- TAO_ServerRequestInfo_IR_ConstantDef_type_get (const TAO_ServerRequestInfo_IR_ConstantDef_type_get &);
- void operator= (const TAO_ServerRequestInfo_IR_ConstantDef_type_get &);
-
- private:
- POA_IR::ConstantDef *_tao_impl;
- void result (CORBA::TypeCode_ptr result);
- // update the result
- CORBA::TypeCode_ptr _result;
- };
-
- class TAO_ServerRequestInfo_IR_ConstantDef_type_def_get : public TAO_ServerRequestInfo
- {
- public:
- friend class POA_IR::ConstantDef;
- TAO_ServerRequestInfo_IR_ConstantDef_type_def_get (
- TAO_ServerRequest &_tao_server_request,
- POA_IR::ConstantDef *tao_impl
- ,
- CORBA::Environment &ACE_TRY_ENV =
- TAO_default_environment ()
- );
-
- virtual Dynamic::ParameterList * arguments (
- CORBA::Environment &ACE_TRY_ENV =
- TAO_default_environment ()
- )
- ACE_THROW_SPEC ((CORBA::SystemException));
-
- virtual Dynamic::ExceptionList * exceptions (
- CORBA::Environment &ACE_TRY_ENV =
- TAO_default_environment ()
- )
- ACE_THROW_SPEC ((CORBA::SystemException));
-
- virtual CORBA::Any * result (
- CORBA::Environment &ACE_TRY_ENV =
- TAO_default_environment ()
- )
- ACE_THROW_SPEC ((CORBA::SystemException));
-
- virtual char * target_most_derived_interface (
- CORBA::Environment &ACE_TRY_ENV = TAO_default_environment ())
- ACE_THROW_SPEC ((CORBA::SystemException));
-
- virtual CORBA::Boolean target_is_a (
- const char * id,
- CORBA::Environment &ACE_TRY_ENV = TAO_default_environment ())
- ACE_THROW_SPEC ((CORBA::SystemException));
-
-
- private:
- TAO_ServerRequestInfo_IR_ConstantDef_type_def_get (const TAO_ServerRequestInfo_IR_ConstantDef_type_def_get &);
- void operator= (const TAO_ServerRequestInfo_IR_ConstantDef_type_def_get &);
-
- private:
- POA_IR::ConstantDef *_tao_impl;
- void result (IR::IDLType_ptr result);
- // update the result
- IR_IDLType_ptr _result;
- };
-
- class TAO_ServerRequestInfo_IR_ConstantDef_type_def_set : public TAO_ServerRequestInfo
- {
- public:
- friend class POA_IR::ConstantDef;
- TAO_ServerRequestInfo_IR_ConstantDef_type_def_set (
- TAO_ServerRequest &_tao_server_request,
- POA_IR::ConstantDef *tao_impl
- ,
- IR_IDLType_ptr type_def,
- CORBA::Environment &ACE_TRY_ENV =
- TAO_default_environment ()
- );
-
- virtual Dynamic::ParameterList * arguments (
- CORBA::Environment &ACE_TRY_ENV =
- TAO_default_environment ()
- )
- ACE_THROW_SPEC ((CORBA::SystemException));
-
- virtual Dynamic::ExceptionList * exceptions (
- CORBA::Environment &ACE_TRY_ENV =
- TAO_default_environment ()
- )
- ACE_THROW_SPEC ((CORBA::SystemException));
-
- virtual CORBA::Any * result (
- CORBA::Environment &ACE_TRY_ENV =
- TAO_default_environment ()
- )
- ACE_THROW_SPEC ((CORBA::SystemException));
-
- virtual char * target_most_derived_interface (
- CORBA::Environment &ACE_TRY_ENV = TAO_default_environment ())
- ACE_THROW_SPEC ((CORBA::SystemException));
-
- virtual CORBA::Boolean target_is_a (
- const char * id,
- CORBA::Environment &ACE_TRY_ENV = TAO_default_environment ())
- ACE_THROW_SPEC ((CORBA::SystemException));
-
-
- private:
- TAO_ServerRequestInfo_IR_ConstantDef_type_def_set (const TAO_ServerRequestInfo_IR_ConstantDef_type_def_set &);
- void operator= (const TAO_ServerRequestInfo_IR_ConstantDef_type_def_set &);
-
- private:
- POA_IR::ConstantDef *_tao_impl;
- IR_IDLType_ptr type_def_;
- };
-
- class TAO_ServerRequestInfo_IR_ConstantDef_value_get : public TAO_ServerRequestInfo
- {
- public:
- friend class POA_IR::ConstantDef;
- TAO_ServerRequestInfo_IR_ConstantDef_value_get (
- TAO_ServerRequest &_tao_server_request,
- POA_IR::ConstantDef *tao_impl
- ,
- CORBA::Environment &ACE_TRY_ENV =
- TAO_default_environment ()
- );
-
- virtual Dynamic::ParameterList * arguments (
- CORBA::Environment &ACE_TRY_ENV =
- TAO_default_environment ()
- )
- ACE_THROW_SPEC ((CORBA::SystemException));
-
- virtual Dynamic::ExceptionList * exceptions (
- CORBA::Environment &ACE_TRY_ENV =
- TAO_default_environment ()
- )
- ACE_THROW_SPEC ((CORBA::SystemException));
-
- virtual CORBA::Any * result (
- CORBA::Environment &ACE_TRY_ENV =
- TAO_default_environment ()
- )
- ACE_THROW_SPEC ((CORBA::SystemException));
-
- virtual char * target_most_derived_interface (
- CORBA::Environment &ACE_TRY_ENV = TAO_default_environment ())
- ACE_THROW_SPEC ((CORBA::SystemException));
-
- virtual CORBA::Boolean target_is_a (
- const char * id,
- CORBA::Environment &ACE_TRY_ENV = TAO_default_environment ())
- ACE_THROW_SPEC ((CORBA::SystemException));
-
-
- private:
- TAO_ServerRequestInfo_IR_ConstantDef_value_get (const TAO_ServerRequestInfo_IR_ConstantDef_value_get &);
- void operator= (const TAO_ServerRequestInfo_IR_ConstantDef_value_get &);
-
- private:
- POA_IR::ConstantDef *_tao_impl;
- void result (CORBA::Any * result);
- // update the result
- CORBA::Any * _result;
- };
-
- class TAO_ServerRequestInfo_IR_ConstantDef_value_set : public TAO_ServerRequestInfo
- {
- public:
- friend class POA_IR::ConstantDef;
- TAO_ServerRequestInfo_IR_ConstantDef_value_set (
- TAO_ServerRequest &_tao_server_request,
- POA_IR::ConstantDef *tao_impl
- ,
- const CORBA::Any & value,
- CORBA::Environment &ACE_TRY_ENV =
- TAO_default_environment ()
- );
-
- virtual Dynamic::ParameterList * arguments (
- CORBA::Environment &ACE_TRY_ENV =
- TAO_default_environment ()
- )
- ACE_THROW_SPEC ((CORBA::SystemException));
-
- virtual Dynamic::ExceptionList * exceptions (
- CORBA::Environment &ACE_TRY_ENV =
- TAO_default_environment ()
- )
- ACE_THROW_SPEC ((CORBA::SystemException));
-
- virtual CORBA::Any * result (
- CORBA::Environment &ACE_TRY_ENV =
- TAO_default_environment ()
- )
- ACE_THROW_SPEC ((CORBA::SystemException));
-
- virtual char * target_most_derived_interface (
- CORBA::Environment &ACE_TRY_ENV = TAO_default_environment ())
- ACE_THROW_SPEC ((CORBA::SystemException));
-
- virtual CORBA::Boolean target_is_a (
- const char * id,
- CORBA::Environment &ACE_TRY_ENV = TAO_default_environment ())
- ACE_THROW_SPEC ((CORBA::SystemException));
-
-
- private:
- TAO_ServerRequestInfo_IR_ConstantDef_value_set (const TAO_ServerRequestInfo_IR_ConstantDef_value_set &);
- void operator= (const TAO_ServerRequestInfo_IR_ConstantDef_value_set &);
-
- private:
- POA_IR::ConstantDef *_tao_impl;
- const CORBA::Any & value_;
- };
-
-#endif /* TAO_HAS_INTERCEPTORS */
-
- };
-
-///////////////////////////////////////////////////////////////////////
-// Strategized Proxy Broker Declaration
-//
-
-class _TAO_ConstantDef_Strategized_Proxy_Broker : public virtual _TAO_ConstantDef_Proxy_Broker
-{
-public:
- _TAO_ConstantDef_Strategized_Proxy_Broker (void);
-
- virtual ~_TAO_ConstantDef_Strategized_Proxy_Broker (void);
-
- virtual _TAO_ConstantDef_Proxy_Impl &select_proxy (
- IR_ConstantDef *object,
- CORBA_Environment &ACE_TRY_ENV = TAO_default_environment ()
- );
-
-private:
-
-// Helper methods that takes care to create the proxy
-// as soon as their use is necessary.
- void create_proxy (
- int strategy,
- CORBA::Environment &ACE_TRY_ENV
- );
-
-private:
-
- // Caches the proxy implementations. The proxy implementation
- // are totally stateless, and those can be shared by all the
- // instances of a given IDL interface type.
- _TAO_ConstantDef_Proxy_Impl
- *proxy_cache_[TAO_Collocation_Strategies::CS_LAST];
-
- TAO_SYNCH_MUTEX mutex_;
-// This funxtion is used to get an handle to the unique instance
-// of the Strategized Proxy Broker that is available for a given
-// interface.
-
-public:
- static _TAO_ConstantDef_Strategized_Proxy_Broker *the_TAO_ConstantDef_Strategized_Proxy_Broker (void);
-};
-
-//
-// End Strategized Proxy Broker Declaration
-///////////////////////////////////////////////////////////////////////
-
-
-///////////////////////////////////////////////////////////////////////
-// ThruPOA Impl. Declaration
-//
-
-class _TAO_ConstantDef_ThruPOA_Proxy_Impl :
- public virtual _TAO_ConstantDef_Proxy_Impl,
- public virtual TAO_ThruPOA_Object_Proxy_Impl,
- public virtual ::POA_IR::_TAO_Contained_ThruPOA_Proxy_Impl
-
-{
-public:
- _TAO_ConstantDef_ThruPOA_Proxy_Impl (void);
-
- virtual ~_TAO_ConstantDef_ThruPOA_Proxy_Impl (void) { }
-
- virtual CORBA::TypeCode_ptr type (
- CORBA_Object *_collocated_tao_target_,
- CORBA::Environment &ACE_TRY_ENV
- )
- ACE_THROW_SPEC ((
- CORBA::SystemException
- ));
-
- virtual IR_IDLType_ptr type_def (
- CORBA_Object *_collocated_tao_target_,
- CORBA::Environment &ACE_TRY_ENV
- )
- ACE_THROW_SPEC ((
- CORBA::SystemException
- ));
-
- virtual void type_def (
- CORBA_Object *_collocated_tao_target_,
- IR_IDLType_ptr type_def,
- CORBA::Environment &ACE_TRY_ENV
- )
- ACE_THROW_SPEC ((
- CORBA::SystemException
- ));
-
- virtual CORBA::Any * value (
- CORBA_Object *_collocated_tao_target_,
- CORBA::Environment &ACE_TRY_ENV
- )
- ACE_THROW_SPEC ((
- CORBA::SystemException
- ));
-
- virtual void value (
- CORBA_Object *_collocated_tao_target_,
- const CORBA::Any & value,
- CORBA::Environment &ACE_TRY_ENV
- )
- ACE_THROW_SPEC ((
- CORBA::SystemException
- ));
-
-};
-
-
-//
-// ThruPOA Proxy Impl. Declaration
-///////////////////////////////////////////////////////////////////////
-
-#if defined (ACE_HAS_USING_KEYWORD)
- // TIE class: Refer to CORBA v2.2, Section 20.34.4
- template <class T>
- class ConstantDef_tie : public ConstantDef
- {
- public:
- ConstantDef_tie (T &t);
- // the T& ctor
- ConstantDef_tie (T &t, PortableServer::POA_ptr poa);
- // ctor taking a POA
- ConstantDef_tie (T *tp, CORBA::Boolean release=1);
- // ctor taking pointer and an ownership flag
- ConstantDef_tie (T *tp, PortableServer::POA_ptr poa, CORBA::Boolean release=1);
- // ctor with T*, ownership flag and a POA
- ~ConstantDef_tie (void);
- // dtor
-
- // TIE specific functions
- T *_tied_object (void);
- // return the underlying object
- void _tied_object (T &obj);
- // set the underlying object
- void _tied_object (T *obj, CORBA::Boolean release=1);
- // set the underlying object and the ownership flag
- CORBA::Boolean _is_owner (void);
- // do we own it
- void _is_owner (CORBA::Boolean b);
- // set the ownership
-
- // overridden ServantBase operations
- PortableServer::POA_ptr _default_POA (
- CORBA::Environment &env =
- TAO_default_environment ()
- );
- CORBA::TypeCode_ptr type (
- CORBA::Environment &ACE_TRY_ENV =
- TAO_default_environment ()
- )
- ACE_THROW_SPEC ((
- CORBA::SystemException
- ));
-
- IR_IDLType_ptr type_def (
- CORBA::Environment &ACE_TRY_ENV =
- TAO_default_environment ()
- )
- ACE_THROW_SPEC ((
- CORBA::SystemException
- ));
-
- void type_def (
- IR_IDLType_ptr type_def,
- CORBA::Environment &ACE_TRY_ENV =
- TAO_default_environment ()
- )
- ACE_THROW_SPEC ((
- CORBA::SystemException
- ));
-
- CORBA::Any * value (
- CORBA::Environment &ACE_TRY_ENV =
- TAO_default_environment ()
- )
- ACE_THROW_SPEC ((
- CORBA::SystemException
- ));
-
- void value (
- const CORBA::Any & value,
- CORBA::Environment &ACE_TRY_ENV =
- TAO_default_environment ()
- )
- ACE_THROW_SPEC ((
- CORBA::SystemException
- ));
-
- char * id (
- CORBA::Environment &ACE_TRY_ENV =
- TAO_default_environment ()
- )
- ACE_THROW_SPEC ((
- CORBA::SystemException
- ));
-
- void id (
- const char * id,
- CORBA::Environment &ACE_TRY_ENV =
- TAO_default_environment ()
- )
- ACE_THROW_SPEC ((
- CORBA::SystemException
- ));
-
- char * name (
- CORBA::Environment &ACE_TRY_ENV =
- TAO_default_environment ()
- )
- ACE_THROW_SPEC ((
- CORBA::SystemException
- ));
-
- void name (
- const char * name,
- CORBA::Environment &ACE_TRY_ENV =
- TAO_default_environment ()
- )
- ACE_THROW_SPEC ((
- CORBA::SystemException
- ));
-
- char * version (
- CORBA::Environment &ACE_TRY_ENV =
- TAO_default_environment ()
- )
- ACE_THROW_SPEC ((
- CORBA::SystemException
- ));
-
- void version (
- const char * version,
- CORBA::Environment &ACE_TRY_ENV =
- TAO_default_environment ()
- )
- ACE_THROW_SPEC ((
- CORBA::SystemException
- ));
-
- IR_Container_ptr defined_in (
- CORBA::Environment &ACE_TRY_ENV =
- TAO_default_environment ()
- )
- ACE_THROW_SPEC ((
- CORBA::SystemException
- ));
-
- char * absolute_name (
- CORBA::Environment &ACE_TRY_ENV =
- TAO_default_environment ()
- )
- ACE_THROW_SPEC ((
- CORBA::SystemException
- ));
-
- IR_Repository_ptr containing_repository (
- CORBA::Environment &ACE_TRY_ENV =
- TAO_default_environment ()
- )
- ACE_THROW_SPEC ((
- CORBA::SystemException
- ));
-
- IR_Contained::Description * describe (
- CORBA::Environment &ACE_TRY_ENV =
- TAO_default_environment ()
- )
- ACE_THROW_SPEC ((
- CORBA::SystemException
- ));
-
- void move (
- IR_Container_ptr new_container,
- const char * new_name,
- const char * new_version,
- CORBA::Environment &ACE_TRY_ENV =
- TAO_default_environment ()
- )
- ACE_THROW_SPEC ((
- CORBA::SystemException
- ));
-
- IR_DefinitionKind def_kind (
- CORBA::Environment &ACE_TRY_ENV =
- TAO_default_environment ()
- )
- ACE_THROW_SPEC ((
- CORBA::SystemException
- ));
-
- void destroy (
- CORBA::Environment &ACE_TRY_ENV =
- TAO_default_environment ()
- )
- ACE_THROW_SPEC ((
- CORBA::SystemException
- ));
-
-private:
- T *ptr_;
- PortableServer::POA_var poa_;
- CORBA::Boolean rel_;
-
- // copy and assignment are not allowed
- ConstantDef_tie (const ConstantDef_tie &);
- void operator= (const ConstantDef_tie &);
- };
-
-#endif /* ACE_HAS_USING_KEYWORD */
-
- class TypedefDef;
- typedef TypedefDef *TypedefDef_ptr;
- // Forward Classes Declaration
- class _TAO_TypedefDef_ThruPOA_Proxy_Impl;
- class _TAO_TypedefDef_Strategized_Proxy_Broker;
-
- class TypedefDef : public virtual Contained, public virtual IDLType
- {
- protected:
- TypedefDef (void);
-
- public:
- TypedefDef (const TypedefDef& rhs);
- virtual ~TypedefDef (void);
-
-
- virtual CORBA::Boolean _is_a (
- const char* logical_type_id,
- CORBA::Environment &ACE_TRY_ENV =
- TAO_default_environment ()
- );
-
- virtual void* _downcast (
- const char* logical_type_id
- );
-
- static void _is_a_skel (
- TAO_ServerRequest &req,
- void *obj,
- void *context,
- CORBA::Environment &ACE_TRY_ENV =
- TAO_default_environment ()
- );
-
- static void _non_existent_skel (
- TAO_ServerRequest &req,
- void *obj,
- void *context,
- CORBA::Environment &ACE_TRY_ENV =
- TAO_default_environment ()
- );
-
- virtual void _dispatch (
- TAO_ServerRequest &_tao_req,
- void *_tao_context,
- CORBA::Environment &ACE_TRY_ENV =
- TAO_default_environment ()
- );
-
- IR_TypedefDef *_this (
- CORBA::Environment &ACE_TRY_ENV =
- TAO_default_environment ()
- );
-
- virtual const char* _interface_repository_id (void) const;
-
- static void _get_id_skel (
- TAO_ServerRequest &req,
- void *obj,
- void *context,
- CORBA::Environment &env =
- TAO_default_environment ()
- );
-
- static void _set_id_skel (
- TAO_ServerRequest &req,
- void *obj,
- void *context,
- CORBA::Environment &env =
- TAO_default_environment ()
- );
-
- static void _get_name_skel (
- TAO_ServerRequest &req,
- void *obj,
- void *context,
- CORBA::Environment &env =
- TAO_default_environment ()
- );
-
- static void _set_name_skel (
- TAO_ServerRequest &req,
- void *obj,
- void *context,
- CORBA::Environment &env =
- TAO_default_environment ()
- );
-
- static void _get_version_skel (
- TAO_ServerRequest &req,
- void *obj,
- void *context,
- CORBA::Environment &env =
- TAO_default_environment ()
- );
-
- static void _set_version_skel (
- TAO_ServerRequest &req,
- void *obj,
- void *context,
- CORBA::Environment &env =
- TAO_default_environment ()
- );
-
- static void _get_defined_in_skel (
- TAO_ServerRequest &req,
- void *obj,
- void *context,
- CORBA::Environment &env =
- TAO_default_environment ()
- );
-
- static void _get_absolute_name_skel (
- TAO_ServerRequest &req,
- void *obj,
- void *context,
- CORBA::Environment &env =
- TAO_default_environment ()
- );
-
- static void _get_containing_repository_skel (
- TAO_ServerRequest &req,
- void *obj,
- void *context,
- CORBA::Environment &env =
- TAO_default_environment ()
- );
-
- static void describe_skel (
- TAO_ServerRequest &req,
- void *obj,
- void *context,
- CORBA::Environment &env =
- TAO_default_environment ()
- );
-
- static void move_skel (
- TAO_ServerRequest &req,
- void *obj,
- void *context,
- CORBA::Environment &env =
- TAO_default_environment ()
- );
-
- static void _get_type_skel (
- TAO_ServerRequest &req,
- void *obj,
- void *context,
- CORBA::Environment &env =
- TAO_default_environment ()
- );
-
- static void _get_def_kind_skel (
- TAO_ServerRequest &req,
- void *obj,
- void *context,
- CORBA::Environment &env =
- TAO_default_environment ()
- );
-
- static void destroy_skel (
- TAO_ServerRequest &req,
- void *obj,
- void *context,
- CORBA::Environment &env =
- TAO_default_environment ()
- );
-
-#if (TAO_HAS_INTERCEPTORS == 1)
- // Generation of interceptors related RequestInfo classes per operation.
- // This needed to be able to store the arguments, exceptions, contexts
- // and build the lists dynamically on demand so that unnecessary time overhead
- // of building these lists when they arent used is avoided.
-#endif /* TAO_HAS_INTERCEPTORS */
-
- };
-
-///////////////////////////////////////////////////////////////////////
-// Strategized Proxy Broker Declaration
-//
-
-class _TAO_TypedefDef_Strategized_Proxy_Broker : public virtual _TAO_TypedefDef_Proxy_Broker
-{
-public:
- _TAO_TypedefDef_Strategized_Proxy_Broker (void);
-
- virtual ~_TAO_TypedefDef_Strategized_Proxy_Broker (void);
-
- virtual _TAO_TypedefDef_Proxy_Impl &select_proxy (
- IR_TypedefDef *object,
- CORBA_Environment &ACE_TRY_ENV = TAO_default_environment ()
- );
-
-private:
-
-// Helper methods that takes care to create the proxy
-// as soon as their use is necessary.
- void create_proxy (
- int strategy,
- CORBA::Environment &ACE_TRY_ENV
- );
-
-private:
-
- // Caches the proxy implementations. The proxy implementation
- // are totally stateless, and those can be shared by all the
- // instances of a given IDL interface type.
- _TAO_TypedefDef_Proxy_Impl
- *proxy_cache_[TAO_Collocation_Strategies::CS_LAST];
-
- TAO_SYNCH_MUTEX mutex_;
-// This funxtion is used to get an handle to the unique instance
-// of the Strategized Proxy Broker that is available for a given
-// interface.
-
-public:
- static _TAO_TypedefDef_Strategized_Proxy_Broker *the_TAO_TypedefDef_Strategized_Proxy_Broker (void);
-};
-
-//
-// End Strategized Proxy Broker Declaration
-///////////////////////////////////////////////////////////////////////
-
-
-///////////////////////////////////////////////////////////////////////
-// ThruPOA Impl. Declaration
-//
-
-class _TAO_TypedefDef_ThruPOA_Proxy_Impl :
- public virtual _TAO_TypedefDef_Proxy_Impl,
- public virtual TAO_ThruPOA_Object_Proxy_Impl,
- public virtual ::POA_IR::_TAO_Contained_ThruPOA_Proxy_Impl,
- public virtual ::POA_IR::_TAO_IDLType_ThruPOA_Proxy_Impl
-
-{
-public:
- _TAO_TypedefDef_ThruPOA_Proxy_Impl (void);
-
- virtual ~_TAO_TypedefDef_ThruPOA_Proxy_Impl (void) { }
-
-};
-
-
-//
-// ThruPOA Proxy Impl. Declaration
-///////////////////////////////////////////////////////////////////////
-
-#if defined (ACE_HAS_USING_KEYWORD)
- // TIE class: Refer to CORBA v2.2, Section 20.34.4
- template <class T>
- class TypedefDef_tie : public TypedefDef
- {
- public:
- TypedefDef_tie (T &t);
- // the T& ctor
- TypedefDef_tie (T &t, PortableServer::POA_ptr poa);
- // ctor taking a POA
- TypedefDef_tie (T *tp, CORBA::Boolean release=1);
- // ctor taking pointer and an ownership flag
- TypedefDef_tie (T *tp, PortableServer::POA_ptr poa, CORBA::Boolean release=1);
- // ctor with T*, ownership flag and a POA
- ~TypedefDef_tie (void);
- // dtor
-
- // TIE specific functions
- T *_tied_object (void);
- // return the underlying object
- void _tied_object (T &obj);
- // set the underlying object
- void _tied_object (T *obj, CORBA::Boolean release=1);
- // set the underlying object and the ownership flag
- CORBA::Boolean _is_owner (void);
- // do we own it
- void _is_owner (CORBA::Boolean b);
- // set the ownership
-
- // overridden ServantBase operations
- PortableServer::POA_ptr _default_POA (
- CORBA::Environment &env =
- TAO_default_environment ()
- );
- char * id (
- CORBA::Environment &ACE_TRY_ENV =
- TAO_default_environment ()
- )
- ACE_THROW_SPEC ((
- CORBA::SystemException
- ));
-
- void id (
- const char * id,
- CORBA::Environment &ACE_TRY_ENV =
- TAO_default_environment ()
- )
- ACE_THROW_SPEC ((
- CORBA::SystemException
- ));
-
- char * name (
- CORBA::Environment &ACE_TRY_ENV =
- TAO_default_environment ()
- )
- ACE_THROW_SPEC ((
- CORBA::SystemException
- ));
-
- void name (
- const char * name,
- CORBA::Environment &ACE_TRY_ENV =
- TAO_default_environment ()
- )
- ACE_THROW_SPEC ((
- CORBA::SystemException
- ));
-
- char * version (
- CORBA::Environment &ACE_TRY_ENV =
- TAO_default_environment ()
- )
- ACE_THROW_SPEC ((
- CORBA::SystemException
- ));
-
- void version (
- const char * version,
- CORBA::Environment &ACE_TRY_ENV =
- TAO_default_environment ()
- )
- ACE_THROW_SPEC ((
- CORBA::SystemException
- ));
-
- IR_Container_ptr defined_in (
- CORBA::Environment &ACE_TRY_ENV =
- TAO_default_environment ()
- )
- ACE_THROW_SPEC ((
- CORBA::SystemException
- ));
-
- char * absolute_name (
- CORBA::Environment &ACE_TRY_ENV =
- TAO_default_environment ()
- )
- ACE_THROW_SPEC ((
- CORBA::SystemException
- ));
-
- IR_Repository_ptr containing_repository (
- CORBA::Environment &ACE_TRY_ENV =
- TAO_default_environment ()
- )
- ACE_THROW_SPEC ((
- CORBA::SystemException
- ));
-
- IR_Contained::Description * describe (
- CORBA::Environment &ACE_TRY_ENV =
- TAO_default_environment ()
- )
- ACE_THROW_SPEC ((
- CORBA::SystemException
- ));
-
- void move (
- IR_Container_ptr new_container,
- const char * new_name,
- const char * new_version,
- CORBA::Environment &ACE_TRY_ENV =
- TAO_default_environment ()
- )
- ACE_THROW_SPEC ((
- CORBA::SystemException
- ));
-
- CORBA::TypeCode_ptr type (
- CORBA::Environment &ACE_TRY_ENV =
- TAO_default_environment ()
- )
- ACE_THROW_SPEC ((
- CORBA::SystemException
- ));
-
- IR_DefinitionKind def_kind (
- CORBA::Environment &ACE_TRY_ENV =
- TAO_default_environment ()
- )
- ACE_THROW_SPEC ((
- CORBA::SystemException
- ));
-
- void destroy (
- CORBA::Environment &ACE_TRY_ENV =
- TAO_default_environment ()
- )
- ACE_THROW_SPEC ((
- CORBA::SystemException
- ));
-
-private:
- T *ptr_;
- PortableServer::POA_var poa_;
- CORBA::Boolean rel_;
-
- // copy and assignment are not allowed
- TypedefDef_tie (const TypedefDef_tie &);
- void operator= (const TypedefDef_tie &);
- };
-
-#endif /* ACE_HAS_USING_KEYWORD */
-
- class StructDef;
- typedef StructDef *StructDef_ptr;
- // Forward Classes Declaration
- class _TAO_StructDef_ThruPOA_Proxy_Impl;
- class _TAO_StructDef_Strategized_Proxy_Broker;
-
- class StructDef : public virtual TypedefDef, public virtual Container
- {
- protected:
- StructDef (void);
-
- public:
- StructDef (const StructDef& rhs);
- virtual ~StructDef (void);
-
-
- virtual CORBA::Boolean _is_a (
- const char* logical_type_id,
- CORBA::Environment &ACE_TRY_ENV =
- TAO_default_environment ()
- );
-
- virtual void* _downcast (
- const char* logical_type_id
- );
-
- static void _is_a_skel (
- TAO_ServerRequest &req,
- void *obj,
- void *context,
- CORBA::Environment &ACE_TRY_ENV =
- TAO_default_environment ()
- );
-
- static void _non_existent_skel (
- TAO_ServerRequest &req,
- void *obj,
- void *context,
- CORBA::Environment &ACE_TRY_ENV =
- TAO_default_environment ()
- );
-
- virtual void _dispatch (
- TAO_ServerRequest &_tao_req,
- void *_tao_context,
- CORBA::Environment &ACE_TRY_ENV =
- TAO_default_environment ()
- );
-
- IR_StructDef *_this (
- CORBA::Environment &ACE_TRY_ENV =
- TAO_default_environment ()
- );
-
- virtual const char* _interface_repository_id (void) const;
-
- virtual IR_StructMemberSeq * members (
- CORBA::Environment &ACE_TRY_ENV =
- TAO_default_environment ()
- )
- ACE_THROW_SPEC ((
- CORBA::SystemException
- )) = 0;
-
- static void _get_members_skel (
- TAO_ServerRequest &_tao_req,
- void *_tao_obj,
- void *_tao_context,
- CORBA::Environment &ACE_TRY_ENV =
- TAO_default_environment ()
- );
-
- virtual void members (
- const IR_StructMemberSeq & members,
- CORBA::Environment &ACE_TRY_ENV =
- TAO_default_environment ()
- )
- ACE_THROW_SPEC ((
- CORBA::SystemException
- )) = 0;
-
- static void _set_members_skel (
- TAO_ServerRequest &_tao_req,
- void *_tao_obj,
- void *_tao_context,
- CORBA::Environment &ACE_TRY_ENV =
- TAO_default_environment ()
- );
-
- static void lookup_skel (
- TAO_ServerRequest &req,
- void *obj,
- void *context,
- CORBA::Environment &env =
- TAO_default_environment ()
- );
-
- static void contents_skel (
- TAO_ServerRequest &req,
- void *obj,
- void *context,
- CORBA::Environment &env =
- TAO_default_environment ()
- );
-
- static void lookup_name_skel (
- TAO_ServerRequest &req,
- void *obj,
- void *context,
- CORBA::Environment &env =
- TAO_default_environment ()
- );
-
- static void describe_contents_skel (
- TAO_ServerRequest &req,
- void *obj,
- void *context,
- CORBA::Environment &env =
- TAO_default_environment ()
- );
-
- static void create_module_skel (
- TAO_ServerRequest &req,
- void *obj,
- void *context,
- CORBA::Environment &env =
- TAO_default_environment ()
- );
-
- static void create_constant_skel (
- TAO_ServerRequest &req,
- void *obj,
- void *context,
- CORBA::Environment &env =
- TAO_default_environment ()
- );
-
- static void create_struct_skel (
- TAO_ServerRequest &req,
- void *obj,
- void *context,
- CORBA::Environment &env =
- TAO_default_environment ()
- );
-
- static void create_union_skel (
- TAO_ServerRequest &req,
- void *obj,
- void *context,
- CORBA::Environment &env =
- TAO_default_environment ()
- );
-
- static void create_enum_skel (
- TAO_ServerRequest &req,
- void *obj,
- void *context,
- CORBA::Environment &env =
- TAO_default_environment ()
- );
-
- static void create_alias_skel (
- TAO_ServerRequest &req,
- void *obj,
- void *context,
- CORBA::Environment &env =
- TAO_default_environment ()
- );
-
- static void create_interface_skel (
- TAO_ServerRequest &req,
- void *obj,
- void *context,
- CORBA::Environment &env =
- TAO_default_environment ()
- );
-
- static void create_value_skel (
- TAO_ServerRequest &req,
- void *obj,
- void *context,
- CORBA::Environment &env =
- TAO_default_environment ()
- );
-
- static void create_value_box_skel (
- TAO_ServerRequest &req,
- void *obj,
- void *context,
- CORBA::Environment &env =
- TAO_default_environment ()
- );
-
- static void create_exception_skel (
- TAO_ServerRequest &req,
- void *obj,
- void *context,
- CORBA::Environment &env =
- TAO_default_environment ()
- );
-
- static void create_native_skel (
- TAO_ServerRequest &req,
- void *obj,
- void *context,
- CORBA::Environment &env =
- TAO_default_environment ()
- );
-
- static void _get_id_skel (
- TAO_ServerRequest &req,
- void *obj,
- void *context,
- CORBA::Environment &env =
- TAO_default_environment ()
- );
-
- static void _set_id_skel (
- TAO_ServerRequest &req,
- void *obj,
- void *context,
- CORBA::Environment &env =
- TAO_default_environment ()
- );
-
- static void _get_name_skel (
- TAO_ServerRequest &req,
- void *obj,
- void *context,
- CORBA::Environment &env =
- TAO_default_environment ()
- );
-
- static void _set_name_skel (
- TAO_ServerRequest &req,
- void *obj,
- void *context,
- CORBA::Environment &env =
- TAO_default_environment ()
- );
-
- static void _get_version_skel (
- TAO_ServerRequest &req,
- void *obj,
- void *context,
- CORBA::Environment &env =
- TAO_default_environment ()
- );
-
- static void _set_version_skel (
- TAO_ServerRequest &req,
- void *obj,
- void *context,
- CORBA::Environment &env =
- TAO_default_environment ()
- );
-
- static void _get_defined_in_skel (
- TAO_ServerRequest &req,
- void *obj,
- void *context,
- CORBA::Environment &env =
- TAO_default_environment ()
- );
-
- static void _get_absolute_name_skel (
- TAO_ServerRequest &req,
- void *obj,
- void *context,
- CORBA::Environment &env =
- TAO_default_environment ()
- );
-
- static void _get_containing_repository_skel (
- TAO_ServerRequest &req,
- void *obj,
- void *context,
- CORBA::Environment &env =
- TAO_default_environment ()
- );
-
- static void describe_skel (
- TAO_ServerRequest &req,
- void *obj,
- void *context,
- CORBA::Environment &env =
- TAO_default_environment ()
- );
-
- static void move_skel (
- TAO_ServerRequest &req,
- void *obj,
- void *context,
- CORBA::Environment &env =
- TAO_default_environment ()
- );
-
- static void _get_type_skel (
- TAO_ServerRequest &req,
- void *obj,
- void *context,
- CORBA::Environment &env =
- TAO_default_environment ()
- );
-
- static void _get_def_kind_skel (
- TAO_ServerRequest &req,
- void *obj,
- void *context,
- CORBA::Environment &env =
- TAO_default_environment ()
- );
-
- static void destroy_skel (
- TAO_ServerRequest &req,
- void *obj,
- void *context,
- CORBA::Environment &env =
- TAO_default_environment ()
- );
-
-#if (TAO_HAS_INTERCEPTORS == 1)
- // Generation of interceptors related RequestInfo classes per operation.
- // This needed to be able to store the arguments, exceptions, contexts
- // and build the lists dynamically on demand so that unnecessary time overhead
- // of building these lists when they arent used is avoided.
- class TAO_ServerRequestInfo_IR_StructDef_members_get : public TAO_ServerRequestInfo
- {
- public:
- friend class POA_IR::StructDef;
- TAO_ServerRequestInfo_IR_StructDef_members_get (
- TAO_ServerRequest &_tao_server_request,
- POA_IR::StructDef *tao_impl
- ,
- CORBA::Environment &ACE_TRY_ENV =
- TAO_default_environment ()
- );
-
- virtual Dynamic::ParameterList * arguments (
- CORBA::Environment &ACE_TRY_ENV =
- TAO_default_environment ()
- )
- ACE_THROW_SPEC ((CORBA::SystemException));
-
- virtual Dynamic::ExceptionList * exceptions (
- CORBA::Environment &ACE_TRY_ENV =
- TAO_default_environment ()
- )
- ACE_THROW_SPEC ((CORBA::SystemException));
-
- virtual CORBA::Any * result (
- CORBA::Environment &ACE_TRY_ENV =
- TAO_default_environment ()
- )
- ACE_THROW_SPEC ((CORBA::SystemException));
-
- virtual char * target_most_derived_interface (
- CORBA::Environment &ACE_TRY_ENV = TAO_default_environment ())
- ACE_THROW_SPEC ((CORBA::SystemException));
-
- virtual CORBA::Boolean target_is_a (
- const char * id,
- CORBA::Environment &ACE_TRY_ENV = TAO_default_environment ())
- ACE_THROW_SPEC ((CORBA::SystemException));
-
-
- private:
- TAO_ServerRequestInfo_IR_StructDef_members_get (const TAO_ServerRequestInfo_IR_StructDef_members_get &);
- void operator= (const TAO_ServerRequestInfo_IR_StructDef_members_get &);
-
- private:
- POA_IR::StructDef *_tao_impl;
- void result (IR::StructMemberSeq * result);
- // update the result
- IR_StructMemberSeq * _result;
- };
-
- class TAO_ServerRequestInfo_IR_StructDef_members_set : public TAO_ServerRequestInfo
- {
- public:
- friend class POA_IR::StructDef;
- TAO_ServerRequestInfo_IR_StructDef_members_set (
- TAO_ServerRequest &_tao_server_request,
- POA_IR::StructDef *tao_impl
- ,
- const IR_StructMemberSeq & members,
- CORBA::Environment &ACE_TRY_ENV =
- TAO_default_environment ()
- );
-
- virtual Dynamic::ParameterList * arguments (
- CORBA::Environment &ACE_TRY_ENV =
- TAO_default_environment ()
- )
- ACE_THROW_SPEC ((CORBA::SystemException));
-
- virtual Dynamic::ExceptionList * exceptions (
- CORBA::Environment &ACE_TRY_ENV =
- TAO_default_environment ()
- )
- ACE_THROW_SPEC ((CORBA::SystemException));
-
- virtual CORBA::Any * result (
- CORBA::Environment &ACE_TRY_ENV =
- TAO_default_environment ()
- )
- ACE_THROW_SPEC ((CORBA::SystemException));
-
- virtual char * target_most_derived_interface (
- CORBA::Environment &ACE_TRY_ENV = TAO_default_environment ())
- ACE_THROW_SPEC ((CORBA::SystemException));
-
- virtual CORBA::Boolean target_is_a (
- const char * id,
- CORBA::Environment &ACE_TRY_ENV = TAO_default_environment ())
- ACE_THROW_SPEC ((CORBA::SystemException));
-
-
- private:
- TAO_ServerRequestInfo_IR_StructDef_members_set (const TAO_ServerRequestInfo_IR_StructDef_members_set &);
- void operator= (const TAO_ServerRequestInfo_IR_StructDef_members_set &);
-
- private:
- POA_IR::StructDef *_tao_impl;
- const IR_StructMemberSeq & members_;
- };
-
-#endif /* TAO_HAS_INTERCEPTORS */
-
- };
-
-///////////////////////////////////////////////////////////////////////
-// Strategized Proxy Broker Declaration
-//
-
-class _TAO_StructDef_Strategized_Proxy_Broker : public virtual _TAO_StructDef_Proxy_Broker
-{
-public:
- _TAO_StructDef_Strategized_Proxy_Broker (void);
-
- virtual ~_TAO_StructDef_Strategized_Proxy_Broker (void);
-
- virtual _TAO_StructDef_Proxy_Impl &select_proxy (
- IR_StructDef *object,
- CORBA_Environment &ACE_TRY_ENV = TAO_default_environment ()
- );
-
-private:
-
-// Helper methods that takes care to create the proxy
-// as soon as their use is necessary.
- void create_proxy (
- int strategy,
- CORBA::Environment &ACE_TRY_ENV
- );
-
-private:
-
- // Caches the proxy implementations. The proxy implementation
- // are totally stateless, and those can be shared by all the
- // instances of a given IDL interface type.
- _TAO_StructDef_Proxy_Impl
- *proxy_cache_[TAO_Collocation_Strategies::CS_LAST];
-
- TAO_SYNCH_MUTEX mutex_;
-// This funxtion is used to get an handle to the unique instance
-// of the Strategized Proxy Broker that is available for a given
-// interface.
-
-public:
- static _TAO_StructDef_Strategized_Proxy_Broker *the_TAO_StructDef_Strategized_Proxy_Broker (void);
-};
-
-//
-// End Strategized Proxy Broker Declaration
-///////////////////////////////////////////////////////////////////////
-
-
-///////////////////////////////////////////////////////////////////////
-// ThruPOA Impl. Declaration
-//
-
-class _TAO_StructDef_ThruPOA_Proxy_Impl :
- public virtual _TAO_StructDef_Proxy_Impl,
- public virtual TAO_ThruPOA_Object_Proxy_Impl,
- public virtual ::POA_IR::_TAO_TypedefDef_ThruPOA_Proxy_Impl,
- public virtual ::POA_IR::_TAO_Container_ThruPOA_Proxy_Impl
-
-{
-public:
- _TAO_StructDef_ThruPOA_Proxy_Impl (void);
-
- virtual ~_TAO_StructDef_ThruPOA_Proxy_Impl (void) { }
-
- virtual IR_StructMemberSeq * members (
- CORBA_Object *_collocated_tao_target_,
- CORBA::Environment &ACE_TRY_ENV
- )
- ACE_THROW_SPEC ((
- CORBA::SystemException
- ));
-
- virtual void members (
- CORBA_Object *_collocated_tao_target_,
- const IR_StructMemberSeq & members,
- CORBA::Environment &ACE_TRY_ENV
- )
- ACE_THROW_SPEC ((
- CORBA::SystemException
- ));
-
-};
-
-
-//
-// ThruPOA Proxy Impl. Declaration
-///////////////////////////////////////////////////////////////////////
-
-#if defined (ACE_HAS_USING_KEYWORD)
- // TIE class: Refer to CORBA v2.2, Section 20.34.4
- template <class T>
- class StructDef_tie : public StructDef
- {
- public:
- StructDef_tie (T &t);
- // the T& ctor
- StructDef_tie (T &t, PortableServer::POA_ptr poa);
- // ctor taking a POA
- StructDef_tie (T *tp, CORBA::Boolean release=1);
- // ctor taking pointer and an ownership flag
- StructDef_tie (T *tp, PortableServer::POA_ptr poa, CORBA::Boolean release=1);
- // ctor with T*, ownership flag and a POA
- ~StructDef_tie (void);
- // dtor
-
- // TIE specific functions
- T *_tied_object (void);
- // return the underlying object
- void _tied_object (T &obj);
- // set the underlying object
- void _tied_object (T *obj, CORBA::Boolean release=1);
- // set the underlying object and the ownership flag
- CORBA::Boolean _is_owner (void);
- // do we own it
- void _is_owner (CORBA::Boolean b);
- // set the ownership
-
- // overridden ServantBase operations
- PortableServer::POA_ptr _default_POA (
- CORBA::Environment &env =
- TAO_default_environment ()
- );
- IR_StructMemberSeq * members (
- CORBA::Environment &ACE_TRY_ENV =
- TAO_default_environment ()
- )
- ACE_THROW_SPEC ((
- CORBA::SystemException
- ));
-
- void members (
- const IR_StructMemberSeq & members,
- CORBA::Environment &ACE_TRY_ENV =
- TAO_default_environment ()
- )
- ACE_THROW_SPEC ((
- CORBA::SystemException
- ));
-
- IR_Contained_ptr lookup (
- const char * search_name,
- CORBA::Environment &ACE_TRY_ENV =
- TAO_default_environment ()
- )
- ACE_THROW_SPEC ((
- CORBA::SystemException
- ));
-
- IR_ContainedSeq * contents (
- IR_DefinitionKind limit_type,
- CORBA::Boolean exclude_inherited,
- CORBA::Environment &ACE_TRY_ENV =
- TAO_default_environment ()
- )
- ACE_THROW_SPEC ((
- CORBA::SystemException
- ));
-
- IR_ContainedSeq * lookup_name (
- const char * search_name,
- CORBA::Long levels_to_search,
- IR_DefinitionKind limit_type,
- CORBA::Boolean exclude_inherited,
- CORBA::Environment &ACE_TRY_ENV =
- TAO_default_environment ()
- )
- ACE_THROW_SPEC ((
- CORBA::SystemException
- ));
-
- IR_Container::DescriptionSeq * describe_contents (
- IR_DefinitionKind limit_type,
- CORBA::Boolean exclude_inherited,
- CORBA::Long max_returned_objs,
- CORBA::Environment &ACE_TRY_ENV =
- TAO_default_environment ()
- )
- ACE_THROW_SPEC ((
- CORBA::SystemException
- ));
-
- IR_ModuleDef_ptr create_module (
- const char * id,
- const char * name,
- const char * version,
- CORBA::Environment &ACE_TRY_ENV =
- TAO_default_environment ()
- )
- ACE_THROW_SPEC ((
- CORBA::SystemException
- ));
-
- IR_ConstantDef_ptr create_constant (
- const char * id,
- const char * name,
- const char * version,
- IR_IDLType_ptr type,
- const CORBA::Any & value,
- CORBA::Environment &ACE_TRY_ENV =
- TAO_default_environment ()
- )
- ACE_THROW_SPEC ((
- CORBA::SystemException
- ));
-
- IR_StructDef_ptr create_struct (
- const char * id,
- const char * name,
- const char * version,
- const IR_StructMemberSeq & members,
- CORBA::Environment &ACE_TRY_ENV =
- TAO_default_environment ()
- )
- ACE_THROW_SPEC ((
- CORBA::SystemException
- ));
-
- IR_UnionDef_ptr create_union (
- const char * id,
- const char * name,
- const char * version,
- IR_IDLType_ptr discriminator_type,
- const IR_UnionMemberSeq & members,
- CORBA::Environment &ACE_TRY_ENV =
- TAO_default_environment ()
- )
- ACE_THROW_SPEC ((
- CORBA::SystemException
- ));
-
- IR_EnumDef_ptr create_enum (
- const char * id,
- const char * name,
- const char * version,
- const IR_EnumMemberSeq & members,
- CORBA::Environment &ACE_TRY_ENV =
- TAO_default_environment ()
- )
- ACE_THROW_SPEC ((
- CORBA::SystemException
- ));
-
- IR_AliasDef_ptr create_alias (
- const char * id,
- const char * name,
- const char * version,
- IR_IDLType_ptr original_type,
- CORBA::Environment &ACE_TRY_ENV =
- TAO_default_environment ()
- )
- ACE_THROW_SPEC ((
- CORBA::SystemException
- ));
-
- IR_InterfaceDef_ptr create_interface (
- const char * id,
- const char * name,
- const char * version,
- const IR_InterfaceDefSeq & base_interfaces,
- CORBA::Boolean is_abstract,
- CORBA::Boolean is_local,
- CORBA::Environment &ACE_TRY_ENV =
- TAO_default_environment ()
- )
- ACE_THROW_SPEC ((
- CORBA::SystemException
- ));
-
- IR_ValueDef_ptr create_value (
- const char * id,
- const char * name,
- const char * version,
- CORBA::Boolean is_custom,
- CORBA::Boolean is_abstract,
- IR_ValueDef_ptr base_value,
- CORBA::Boolean is_truncatable,
- const IR_ValueDefSeq & abstract_base_values,
- const IR_InterfaceDefSeq & supported_interfaces,
- const IR_InitializerSeq & initializers,
- CORBA::Environment &ACE_TRY_ENV =
- TAO_default_environment ()
- )
- ACE_THROW_SPEC ((
- CORBA::SystemException
- ));
-
- IR_ValueBoxDef_ptr create_value_box (
- const char * id,
- const char * name,
- const char * version,
- IR_IDLType_ptr original_type_def,
- CORBA::Environment &ACE_TRY_ENV =
- TAO_default_environment ()
- )
- ACE_THROW_SPEC ((
- CORBA::SystemException
- ));
-
- IR_ExceptionDef_ptr create_exception (
- const char * id,
- const char * name,
- const char * version,
- const IR_StructMemberSeq & members,
- CORBA::Environment &ACE_TRY_ENV =
- TAO_default_environment ()
- )
- ACE_THROW_SPEC ((
- CORBA::SystemException
- ));
-
- IR_NativeDef_ptr create_native (
- const char * id,
- const char * name,
- const char * version,
- CORBA::Environment &ACE_TRY_ENV =
- TAO_default_environment ()
- )
- ACE_THROW_SPEC ((
- CORBA::SystemException
- ));
-
- char * id (
- CORBA::Environment &ACE_TRY_ENV =
- TAO_default_environment ()
- )
- ACE_THROW_SPEC ((
- CORBA::SystemException
- ));
-
- void id (
- const char * id,
- CORBA::Environment &ACE_TRY_ENV =
- TAO_default_environment ()
- )
- ACE_THROW_SPEC ((
- CORBA::SystemException
- ));
-
- char * name (
- CORBA::Environment &ACE_TRY_ENV =
- TAO_default_environment ()
- )
- ACE_THROW_SPEC ((
- CORBA::SystemException
- ));
-
- void name (
- const char * name,
- CORBA::Environment &ACE_TRY_ENV =
- TAO_default_environment ()
- )
- ACE_THROW_SPEC ((
- CORBA::SystemException
- ));
-
- char * version (
- CORBA::Environment &ACE_TRY_ENV =
- TAO_default_environment ()
- )
- ACE_THROW_SPEC ((
- CORBA::SystemException
- ));
-
- void version (
- const char * version,
- CORBA::Environment &ACE_TRY_ENV =
- TAO_default_environment ()
- )
- ACE_THROW_SPEC ((
- CORBA::SystemException
- ));
-
- IR_Container_ptr defined_in (
- CORBA::Environment &ACE_TRY_ENV =
- TAO_default_environment ()
- )
- ACE_THROW_SPEC ((
- CORBA::SystemException
- ));
-
- char * absolute_name (
- CORBA::Environment &ACE_TRY_ENV =
- TAO_default_environment ()
- )
- ACE_THROW_SPEC ((
- CORBA::SystemException
- ));
-
- IR_Repository_ptr containing_repository (
- CORBA::Environment &ACE_TRY_ENV =
- TAO_default_environment ()
- )
- ACE_THROW_SPEC ((
- CORBA::SystemException
- ));
-
- IR_Contained::Description * describe (
- CORBA::Environment &ACE_TRY_ENV =
- TAO_default_environment ()
- )
- ACE_THROW_SPEC ((
- CORBA::SystemException
- ));
-
- void move (
- IR_Container_ptr new_container,
- const char * new_name,
- const char * new_version,
- CORBA::Environment &ACE_TRY_ENV =
- TAO_default_environment ()
- )
- ACE_THROW_SPEC ((
- CORBA::SystemException
- ));
-
- CORBA::TypeCode_ptr type (
- CORBA::Environment &ACE_TRY_ENV =
- TAO_default_environment ()
- )
- ACE_THROW_SPEC ((
- CORBA::SystemException
- ));
-
- IR_DefinitionKind def_kind (
- CORBA::Environment &ACE_TRY_ENV =
- TAO_default_environment ()
- )
- ACE_THROW_SPEC ((
- CORBA::SystemException
- ));
-
- void destroy (
- CORBA::Environment &ACE_TRY_ENV =
- TAO_default_environment ()
- )
- ACE_THROW_SPEC ((
- CORBA::SystemException
- ));
-
-private:
- T *ptr_;
- PortableServer::POA_var poa_;
- CORBA::Boolean rel_;
-
- // copy and assignment are not allowed
- StructDef_tie (const StructDef_tie &);
- void operator= (const StructDef_tie &);
- };
-
-#endif /* ACE_HAS_USING_KEYWORD */
-
- class UnionDef;
- typedef UnionDef *UnionDef_ptr;
- // Forward Classes Declaration
- class _TAO_UnionDef_ThruPOA_Proxy_Impl;
- class _TAO_UnionDef_Strategized_Proxy_Broker;
-
- class UnionDef : public virtual TypedefDef, public virtual Container
- {
- protected:
- UnionDef (void);
-
- public:
- UnionDef (const UnionDef& rhs);
- virtual ~UnionDef (void);
-
-
- virtual CORBA::Boolean _is_a (
- const char* logical_type_id,
- CORBA::Environment &ACE_TRY_ENV =
- TAO_default_environment ()
- );
-
- virtual void* _downcast (
- const char* logical_type_id
- );
-
- static void _is_a_skel (
- TAO_ServerRequest &req,
- void *obj,
- void *context,
- CORBA::Environment &ACE_TRY_ENV =
- TAO_default_environment ()
- );
-
- static void _non_existent_skel (
- TAO_ServerRequest &req,
- void *obj,
- void *context,
- CORBA::Environment &ACE_TRY_ENV =
- TAO_default_environment ()
- );
-
- virtual void _dispatch (
- TAO_ServerRequest &_tao_req,
- void *_tao_context,
- CORBA::Environment &ACE_TRY_ENV =
- TAO_default_environment ()
- );
-
- IR_UnionDef *_this (
- CORBA::Environment &ACE_TRY_ENV =
- TAO_default_environment ()
- );
-
- virtual const char* _interface_repository_id (void) const;
-
- virtual CORBA::TypeCode_ptr discriminator_type (
- CORBA::Environment &ACE_TRY_ENV =
- TAO_default_environment ()
- )
- ACE_THROW_SPEC ((
- CORBA::SystemException
- )) = 0;
-
- static void _get_discriminator_type_skel (
- TAO_ServerRequest &_tao_req,
- void *_tao_obj,
- void *_tao_context,
- CORBA::Environment &ACE_TRY_ENV =
- TAO_default_environment ()
- );
-
- virtual IR_IDLType_ptr discriminator_type_def (
- CORBA::Environment &ACE_TRY_ENV =
- TAO_default_environment ()
- )
- ACE_THROW_SPEC ((
- CORBA::SystemException
- )) = 0;
-
- static void _get_discriminator_type_def_skel (
- TAO_ServerRequest &_tao_req,
- void *_tao_obj,
- void *_tao_context,
- CORBA::Environment &ACE_TRY_ENV =
- TAO_default_environment ()
- );
-
- virtual void discriminator_type_def (
- IR_IDLType_ptr discriminator_type_def,
- CORBA::Environment &ACE_TRY_ENV =
- TAO_default_environment ()
- )
- ACE_THROW_SPEC ((
- CORBA::SystemException
- )) = 0;
-
- static void _set_discriminator_type_def_skel (
- TAO_ServerRequest &_tao_req,
- void *_tao_obj,
- void *_tao_context,
- CORBA::Environment &ACE_TRY_ENV =
- TAO_default_environment ()
- );
-
- virtual IR_UnionMemberSeq * members (
- CORBA::Environment &ACE_TRY_ENV =
- TAO_default_environment ()
- )
- ACE_THROW_SPEC ((
- CORBA::SystemException
- )) = 0;
-
- static void _get_members_skel (
- TAO_ServerRequest &_tao_req,
- void *_tao_obj,
- void *_tao_context,
- CORBA::Environment &ACE_TRY_ENV =
- TAO_default_environment ()
- );
-
- virtual void members (
- const IR_UnionMemberSeq & members,
- CORBA::Environment &ACE_TRY_ENV =
- TAO_default_environment ()
- )
- ACE_THROW_SPEC ((
- CORBA::SystemException
- )) = 0;
-
- static void _set_members_skel (
- TAO_ServerRequest &_tao_req,
- void *_tao_obj,
- void *_tao_context,
- CORBA::Environment &ACE_TRY_ENV =
- TAO_default_environment ()
- );
-
- static void lookup_skel (
- TAO_ServerRequest &req,
- void *obj,
- void *context,
- CORBA::Environment &env =
- TAO_default_environment ()
- );
-
- static void contents_skel (
- TAO_ServerRequest &req,
- void *obj,
- void *context,
- CORBA::Environment &env =
- TAO_default_environment ()
- );
-
- static void lookup_name_skel (
- TAO_ServerRequest &req,
- void *obj,
- void *context,
- CORBA::Environment &env =
- TAO_default_environment ()
- );
-
- static void describe_contents_skel (
- TAO_ServerRequest &req,
- void *obj,
- void *context,
- CORBA::Environment &env =
- TAO_default_environment ()
- );
-
- static void create_module_skel (
- TAO_ServerRequest &req,
- void *obj,
- void *context,
- CORBA::Environment &env =
- TAO_default_environment ()
- );
-
- static void create_constant_skel (
- TAO_ServerRequest &req,
- void *obj,
- void *context,
- CORBA::Environment &env =
- TAO_default_environment ()
- );
-
- static void create_struct_skel (
- TAO_ServerRequest &req,
- void *obj,
- void *context,
- CORBA::Environment &env =
- TAO_default_environment ()
- );
-
- static void create_union_skel (
- TAO_ServerRequest &req,
- void *obj,
- void *context,
- CORBA::Environment &env =
- TAO_default_environment ()
- );
-
- static void create_enum_skel (
- TAO_ServerRequest &req,
- void *obj,
- void *context,
- CORBA::Environment &env =
- TAO_default_environment ()
- );
-
- static void create_alias_skel (
- TAO_ServerRequest &req,
- void *obj,
- void *context,
- CORBA::Environment &env =
- TAO_default_environment ()
- );
-
- static void create_interface_skel (
- TAO_ServerRequest &req,
- void *obj,
- void *context,
- CORBA::Environment &env =
- TAO_default_environment ()
- );
-
- static void create_value_skel (
- TAO_ServerRequest &req,
- void *obj,
- void *context,
- CORBA::Environment &env =
- TAO_default_environment ()
- );
-
- static void create_value_box_skel (
- TAO_ServerRequest &req,
- void *obj,
- void *context,
- CORBA::Environment &env =
- TAO_default_environment ()
- );
-
- static void create_exception_skel (
- TAO_ServerRequest &req,
- void *obj,
- void *context,
- CORBA::Environment &env =
- TAO_default_environment ()
- );
-
- static void create_native_skel (
- TAO_ServerRequest &req,
- void *obj,
- void *context,
- CORBA::Environment &env =
- TAO_default_environment ()
- );
-
- static void _get_id_skel (
- TAO_ServerRequest &req,
- void *obj,
- void *context,
- CORBA::Environment &env =
- TAO_default_environment ()
- );
-
- static void _set_id_skel (
- TAO_ServerRequest &req,
- void *obj,
- void *context,
- CORBA::Environment &env =
- TAO_default_environment ()
- );
-
- static void _get_name_skel (
- TAO_ServerRequest &req,
- void *obj,
- void *context,
- CORBA::Environment &env =
- TAO_default_environment ()
- );
-
- static void _set_name_skel (
- TAO_ServerRequest &req,
- void *obj,
- void *context,
- CORBA::Environment &env =
- TAO_default_environment ()
- );
-
- static void _get_version_skel (
- TAO_ServerRequest &req,
- void *obj,
- void *context,
- CORBA::Environment &env =
- TAO_default_environment ()
- );
-
- static void _set_version_skel (
- TAO_ServerRequest &req,
- void *obj,
- void *context,
- CORBA::Environment &env =
- TAO_default_environment ()
- );
-
- static void _get_defined_in_skel (
- TAO_ServerRequest &req,
- void *obj,
- void *context,
- CORBA::Environment &env =
- TAO_default_environment ()
- );
-
- static void _get_absolute_name_skel (
- TAO_ServerRequest &req,
- void *obj,
- void *context,
- CORBA::Environment &env =
- TAO_default_environment ()
- );
-
- static void _get_containing_repository_skel (
- TAO_ServerRequest &req,
- void *obj,
- void *context,
- CORBA::Environment &env =
- TAO_default_environment ()
- );
-
- static void describe_skel (
- TAO_ServerRequest &req,
- void *obj,
- void *context,
- CORBA::Environment &env =
- TAO_default_environment ()
- );
-
- static void move_skel (
- TAO_ServerRequest &req,
- void *obj,
- void *context,
- CORBA::Environment &env =
- TAO_default_environment ()
- );
-
- static void _get_type_skel (
- TAO_ServerRequest &req,
- void *obj,
- void *context,
- CORBA::Environment &env =
- TAO_default_environment ()
- );
-
- static void _get_def_kind_skel (
- TAO_ServerRequest &req,
- void *obj,
- void *context,
- CORBA::Environment &env =
- TAO_default_environment ()
- );
-
- static void destroy_skel (
- TAO_ServerRequest &req,
- void *obj,
- void *context,
- CORBA::Environment &env =
- TAO_default_environment ()
- );
-
-#if (TAO_HAS_INTERCEPTORS == 1)
- // Generation of interceptors related RequestInfo classes per operation.
- // This needed to be able to store the arguments, exceptions, contexts
- // and build the lists dynamically on demand so that unnecessary time overhead
- // of building these lists when they arent used is avoided.
- class TAO_ServerRequestInfo_IR_UnionDef_discriminator_type_get : public TAO_ServerRequestInfo
- {
- public:
- friend class POA_IR::UnionDef;
- TAO_ServerRequestInfo_IR_UnionDef_discriminator_type_get (
- TAO_ServerRequest &_tao_server_request,
- POA_IR::UnionDef *tao_impl
- ,
- CORBA::Environment &ACE_TRY_ENV =
- TAO_default_environment ()
- );
-
- virtual Dynamic::ParameterList * arguments (
- CORBA::Environment &ACE_TRY_ENV =
- TAO_default_environment ()
- )
- ACE_THROW_SPEC ((CORBA::SystemException));
-
- virtual Dynamic::ExceptionList * exceptions (
- CORBA::Environment &ACE_TRY_ENV =
- TAO_default_environment ()
- )
- ACE_THROW_SPEC ((CORBA::SystemException));
-
- virtual CORBA::Any * result (
- CORBA::Environment &ACE_TRY_ENV =
- TAO_default_environment ()
- )
- ACE_THROW_SPEC ((CORBA::SystemException));
-
- virtual char * target_most_derived_interface (
- CORBA::Environment &ACE_TRY_ENV = TAO_default_environment ())
- ACE_THROW_SPEC ((CORBA::SystemException));
-
- virtual CORBA::Boolean target_is_a (
- const char * id,
- CORBA::Environment &ACE_TRY_ENV = TAO_default_environment ())
- ACE_THROW_SPEC ((CORBA::SystemException));
-
-
- private:
- TAO_ServerRequestInfo_IR_UnionDef_discriminator_type_get (const TAO_ServerRequestInfo_IR_UnionDef_discriminator_type_get &);
- void operator= (const TAO_ServerRequestInfo_IR_UnionDef_discriminator_type_get &);
-
- private:
- POA_IR::UnionDef *_tao_impl;
- void result (CORBA::TypeCode_ptr result);
- // update the result
- CORBA::TypeCode_ptr _result;
- };
-
- class TAO_ServerRequestInfo_IR_UnionDef_discriminator_type_def_get : public TAO_ServerRequestInfo
- {
- public:
- friend class POA_IR::UnionDef;
- TAO_ServerRequestInfo_IR_UnionDef_discriminator_type_def_get (
- TAO_ServerRequest &_tao_server_request,
- POA_IR::UnionDef *tao_impl
- ,
- CORBA::Environment &ACE_TRY_ENV =
- TAO_default_environment ()
- );
-
- virtual Dynamic::ParameterList * arguments (
- CORBA::Environment &ACE_TRY_ENV =
- TAO_default_environment ()
- )
- ACE_THROW_SPEC ((CORBA::SystemException));
-
- virtual Dynamic::ExceptionList * exceptions (
- CORBA::Environment &ACE_TRY_ENV =
- TAO_default_environment ()
- )
- ACE_THROW_SPEC ((CORBA::SystemException));
-
- virtual CORBA::Any * result (
- CORBA::Environment &ACE_TRY_ENV =
- TAO_default_environment ()
- )
- ACE_THROW_SPEC ((CORBA::SystemException));
-
- virtual char * target_most_derived_interface (
- CORBA::Environment &ACE_TRY_ENV = TAO_default_environment ())
- ACE_THROW_SPEC ((CORBA::SystemException));
-
- virtual CORBA::Boolean target_is_a (
- const char * id,
- CORBA::Environment &ACE_TRY_ENV = TAO_default_environment ())
- ACE_THROW_SPEC ((CORBA::SystemException));
-
-
- private:
- TAO_ServerRequestInfo_IR_UnionDef_discriminator_type_def_get (const TAO_ServerRequestInfo_IR_UnionDef_discriminator_type_def_get &);
- void operator= (const TAO_ServerRequestInfo_IR_UnionDef_discriminator_type_def_get &);
-
- private:
- POA_IR::UnionDef *_tao_impl;
- void result (IR::IDLType_ptr result);
- // update the result
- IR_IDLType_ptr _result;
- };
-
- class TAO_ServerRequestInfo_IR_UnionDef_discriminator_type_def_set : public TAO_ServerRequestInfo
- {
- public:
- friend class POA_IR::UnionDef;
- TAO_ServerRequestInfo_IR_UnionDef_discriminator_type_def_set (
- TAO_ServerRequest &_tao_server_request,
- POA_IR::UnionDef *tao_impl
- ,
- IR_IDLType_ptr discriminator_type_def,
- CORBA::Environment &ACE_TRY_ENV =
- TAO_default_environment ()
- );
-
- virtual Dynamic::ParameterList * arguments (
- CORBA::Environment &ACE_TRY_ENV =
- TAO_default_environment ()
- )
- ACE_THROW_SPEC ((CORBA::SystemException));
-
- virtual Dynamic::ExceptionList * exceptions (
- CORBA::Environment &ACE_TRY_ENV =
- TAO_default_environment ()
- )
- ACE_THROW_SPEC ((CORBA::SystemException));
-
- virtual CORBA::Any * result (
- CORBA::Environment &ACE_TRY_ENV =
- TAO_default_environment ()
- )
- ACE_THROW_SPEC ((CORBA::SystemException));
-
- virtual char * target_most_derived_interface (
- CORBA::Environment &ACE_TRY_ENV = TAO_default_environment ())
- ACE_THROW_SPEC ((CORBA::SystemException));
-
- virtual CORBA::Boolean target_is_a (
- const char * id,
- CORBA::Environment &ACE_TRY_ENV = TAO_default_environment ())
- ACE_THROW_SPEC ((CORBA::SystemException));
-
-
- private:
- TAO_ServerRequestInfo_IR_UnionDef_discriminator_type_def_set (const TAO_ServerRequestInfo_IR_UnionDef_discriminator_type_def_set &);
- void operator= (const TAO_ServerRequestInfo_IR_UnionDef_discriminator_type_def_set &);
-
- private:
- POA_IR::UnionDef *_tao_impl;
- IR_IDLType_ptr discriminator_type_def_;
- };
-
- class TAO_ServerRequestInfo_IR_UnionDef_members_get : public TAO_ServerRequestInfo
- {
- public:
- friend class POA_IR::UnionDef;
- TAO_ServerRequestInfo_IR_UnionDef_members_get (
- TAO_ServerRequest &_tao_server_request,
- POA_IR::UnionDef *tao_impl
- ,
- CORBA::Environment &ACE_TRY_ENV =
- TAO_default_environment ()
- );
-
- virtual Dynamic::ParameterList * arguments (
- CORBA::Environment &ACE_TRY_ENV =
- TAO_default_environment ()
- )
- ACE_THROW_SPEC ((CORBA::SystemException));
-
- virtual Dynamic::ExceptionList * exceptions (
- CORBA::Environment &ACE_TRY_ENV =
- TAO_default_environment ()
- )
- ACE_THROW_SPEC ((CORBA::SystemException));
-
- virtual CORBA::Any * result (
- CORBA::Environment &ACE_TRY_ENV =
- TAO_default_environment ()
- )
- ACE_THROW_SPEC ((CORBA::SystemException));
-
- virtual char * target_most_derived_interface (
- CORBA::Environment &ACE_TRY_ENV = TAO_default_environment ())
- ACE_THROW_SPEC ((CORBA::SystemException));
-
- virtual CORBA::Boolean target_is_a (
- const char * id,
- CORBA::Environment &ACE_TRY_ENV = TAO_default_environment ())
- ACE_THROW_SPEC ((CORBA::SystemException));
-
-
- private:
- TAO_ServerRequestInfo_IR_UnionDef_members_get (const TAO_ServerRequestInfo_IR_UnionDef_members_get &);
- void operator= (const TAO_ServerRequestInfo_IR_UnionDef_members_get &);
-
- private:
- POA_IR::UnionDef *_tao_impl;
- void result (IR::UnionMemberSeq * result);
- // update the result
- IR_UnionMemberSeq * _result;
- };
-
- class TAO_ServerRequestInfo_IR_UnionDef_members_set : public TAO_ServerRequestInfo
- {
- public:
- friend class POA_IR::UnionDef;
- TAO_ServerRequestInfo_IR_UnionDef_members_set (
- TAO_ServerRequest &_tao_server_request,
- POA_IR::UnionDef *tao_impl
- ,
- const IR_UnionMemberSeq & members,
- CORBA::Environment &ACE_TRY_ENV =
- TAO_default_environment ()
- );
-
- virtual Dynamic::ParameterList * arguments (
- CORBA::Environment &ACE_TRY_ENV =
- TAO_default_environment ()
- )
- ACE_THROW_SPEC ((CORBA::SystemException));
-
- virtual Dynamic::ExceptionList * exceptions (
- CORBA::Environment &ACE_TRY_ENV =
- TAO_default_environment ()
- )
- ACE_THROW_SPEC ((CORBA::SystemException));
-
- virtual CORBA::Any * result (
- CORBA::Environment &ACE_TRY_ENV =
- TAO_default_environment ()
- )
- ACE_THROW_SPEC ((CORBA::SystemException));
-
- virtual char * target_most_derived_interface (
- CORBA::Environment &ACE_TRY_ENV = TAO_default_environment ())
- ACE_THROW_SPEC ((CORBA::SystemException));
-
- virtual CORBA::Boolean target_is_a (
- const char * id,
- CORBA::Environment &ACE_TRY_ENV = TAO_default_environment ())
- ACE_THROW_SPEC ((CORBA::SystemException));
-
-
- private:
- TAO_ServerRequestInfo_IR_UnionDef_members_set (const TAO_ServerRequestInfo_IR_UnionDef_members_set &);
- void operator= (const TAO_ServerRequestInfo_IR_UnionDef_members_set &);
-
- private:
- POA_IR::UnionDef *_tao_impl;
- const IR_UnionMemberSeq & members_;
- };
-
-#endif /* TAO_HAS_INTERCEPTORS */
-
- };
-
-///////////////////////////////////////////////////////////////////////
-// Strategized Proxy Broker Declaration
-//
-
-class _TAO_UnionDef_Strategized_Proxy_Broker : public virtual _TAO_UnionDef_Proxy_Broker
-{
-public:
- _TAO_UnionDef_Strategized_Proxy_Broker (void);
-
- virtual ~_TAO_UnionDef_Strategized_Proxy_Broker (void);
-
- virtual _TAO_UnionDef_Proxy_Impl &select_proxy (
- IR_UnionDef *object,
- CORBA_Environment &ACE_TRY_ENV = TAO_default_environment ()
- );
-
-private:
-
-// Helper methods that takes care to create the proxy
-// as soon as their use is necessary.
- void create_proxy (
- int strategy,
- CORBA::Environment &ACE_TRY_ENV
- );
-
-private:
-
- // Caches the proxy implementations. The proxy implementation
- // are totally stateless, and those can be shared by all the
- // instances of a given IDL interface type.
- _TAO_UnionDef_Proxy_Impl
- *proxy_cache_[TAO_Collocation_Strategies::CS_LAST];
-
- TAO_SYNCH_MUTEX mutex_;
-// This funxtion is used to get an handle to the unique instance
-// of the Strategized Proxy Broker that is available for a given
-// interface.
-
-public:
- static _TAO_UnionDef_Strategized_Proxy_Broker *the_TAO_UnionDef_Strategized_Proxy_Broker (void);
-};
-
-//
-// End Strategized Proxy Broker Declaration
-///////////////////////////////////////////////////////////////////////
-
-
-///////////////////////////////////////////////////////////////////////
-// ThruPOA Impl. Declaration
-//
-
-class _TAO_UnionDef_ThruPOA_Proxy_Impl :
- public virtual _TAO_UnionDef_Proxy_Impl,
- public virtual TAO_ThruPOA_Object_Proxy_Impl,
- public virtual ::POA_IR::_TAO_TypedefDef_ThruPOA_Proxy_Impl,
- public virtual ::POA_IR::_TAO_Container_ThruPOA_Proxy_Impl
-
-{
-public:
- _TAO_UnionDef_ThruPOA_Proxy_Impl (void);
-
- virtual ~_TAO_UnionDef_ThruPOA_Proxy_Impl (void) { }
-
- virtual CORBA::TypeCode_ptr discriminator_type (
- CORBA_Object *_collocated_tao_target_,
- CORBA::Environment &ACE_TRY_ENV
- )
- ACE_THROW_SPEC ((
- CORBA::SystemException
- ));
-
- virtual IR_IDLType_ptr discriminator_type_def (
- CORBA_Object *_collocated_tao_target_,
- CORBA::Environment &ACE_TRY_ENV
- )
- ACE_THROW_SPEC ((
- CORBA::SystemException
- ));
-
- virtual void discriminator_type_def (
- CORBA_Object *_collocated_tao_target_,
- IR_IDLType_ptr discriminator_type_def,
- CORBA::Environment &ACE_TRY_ENV
- )
- ACE_THROW_SPEC ((
- CORBA::SystemException
- ));
-
- virtual IR_UnionMemberSeq * members (
- CORBA_Object *_collocated_tao_target_,
- CORBA::Environment &ACE_TRY_ENV
- )
- ACE_THROW_SPEC ((
- CORBA::SystemException
- ));
-
- virtual void members (
- CORBA_Object *_collocated_tao_target_,
- const IR_UnionMemberSeq & members,
- CORBA::Environment &ACE_TRY_ENV
- )
- ACE_THROW_SPEC ((
- CORBA::SystemException
- ));
-
-};
-
-
-//
-// ThruPOA Proxy Impl. Declaration
-///////////////////////////////////////////////////////////////////////
-
-#if defined (ACE_HAS_USING_KEYWORD)
- // TIE class: Refer to CORBA v2.2, Section 20.34.4
- template <class T>
- class UnionDef_tie : public UnionDef
- {
- public:
- UnionDef_tie (T &t);
- // the T& ctor
- UnionDef_tie (T &t, PortableServer::POA_ptr poa);
- // ctor taking a POA
- UnionDef_tie (T *tp, CORBA::Boolean release=1);
- // ctor taking pointer and an ownership flag
- UnionDef_tie (T *tp, PortableServer::POA_ptr poa, CORBA::Boolean release=1);
- // ctor with T*, ownership flag and a POA
- ~UnionDef_tie (void);
- // dtor
-
- // TIE specific functions
- T *_tied_object (void);
- // return the underlying object
- void _tied_object (T &obj);
- // set the underlying object
- void _tied_object (T *obj, CORBA::Boolean release=1);
- // set the underlying object and the ownership flag
- CORBA::Boolean _is_owner (void);
- // do we own it
- void _is_owner (CORBA::Boolean b);
- // set the ownership
-
- // overridden ServantBase operations
- PortableServer::POA_ptr _default_POA (
- CORBA::Environment &env =
- TAO_default_environment ()
- );
- CORBA::TypeCode_ptr discriminator_type (
- CORBA::Environment &ACE_TRY_ENV =
- TAO_default_environment ()
- )
- ACE_THROW_SPEC ((
- CORBA::SystemException
- ));
-
- IR_IDLType_ptr discriminator_type_def (
- CORBA::Environment &ACE_TRY_ENV =
- TAO_default_environment ()
- )
- ACE_THROW_SPEC ((
- CORBA::SystemException
- ));
-
- void discriminator_type_def (
- IR_IDLType_ptr discriminator_type_def,
- CORBA::Environment &ACE_TRY_ENV =
- TAO_default_environment ()
- )
- ACE_THROW_SPEC ((
- CORBA::SystemException
- ));
-
- IR_UnionMemberSeq * members (
- CORBA::Environment &ACE_TRY_ENV =
- TAO_default_environment ()
- )
- ACE_THROW_SPEC ((
- CORBA::SystemException
- ));
-
- void members (
- const IR_UnionMemberSeq & members,
- CORBA::Environment &ACE_TRY_ENV =
- TAO_default_environment ()
- )
- ACE_THROW_SPEC ((
- CORBA::SystemException
- ));
-
- IR_Contained_ptr lookup (
- const char * search_name,
- CORBA::Environment &ACE_TRY_ENV =
- TAO_default_environment ()
- )
- ACE_THROW_SPEC ((
- CORBA::SystemException
- ));
-
- IR_ContainedSeq * contents (
- IR_DefinitionKind limit_type,
- CORBA::Boolean exclude_inherited,
- CORBA::Environment &ACE_TRY_ENV =
- TAO_default_environment ()
- )
- ACE_THROW_SPEC ((
- CORBA::SystemException
- ));
-
- IR_ContainedSeq * lookup_name (
- const char * search_name,
- CORBA::Long levels_to_search,
- IR_DefinitionKind limit_type,
- CORBA::Boolean exclude_inherited,
- CORBA::Environment &ACE_TRY_ENV =
- TAO_default_environment ()
- )
- ACE_THROW_SPEC ((
- CORBA::SystemException
- ));
-
- IR_Container::DescriptionSeq * describe_contents (
- IR_DefinitionKind limit_type,
- CORBA::Boolean exclude_inherited,
- CORBA::Long max_returned_objs,
- CORBA::Environment &ACE_TRY_ENV =
- TAO_default_environment ()
- )
- ACE_THROW_SPEC ((
- CORBA::SystemException
- ));
-
- IR_ModuleDef_ptr create_module (
- const char * id,
- const char * name,
- const char * version,
- CORBA::Environment &ACE_TRY_ENV =
- TAO_default_environment ()
- )
- ACE_THROW_SPEC ((
- CORBA::SystemException
- ));
-
- IR_ConstantDef_ptr create_constant (
- const char * id,
- const char * name,
- const char * version,
- IR_IDLType_ptr type,
- const CORBA::Any & value,
- CORBA::Environment &ACE_TRY_ENV =
- TAO_default_environment ()
- )
- ACE_THROW_SPEC ((
- CORBA::SystemException
- ));
-
- IR_StructDef_ptr create_struct (
- const char * id,
- const char * name,
- const char * version,
- const IR_StructMemberSeq & members,
- CORBA::Environment &ACE_TRY_ENV =
- TAO_default_environment ()
- )
- ACE_THROW_SPEC ((
- CORBA::SystemException
- ));
-
- IR_UnionDef_ptr create_union (
- const char * id,
- const char * name,
- const char * version,
- IR_IDLType_ptr discriminator_type,
- const IR_UnionMemberSeq & members,
- CORBA::Environment &ACE_TRY_ENV =
- TAO_default_environment ()
- )
- ACE_THROW_SPEC ((
- CORBA::SystemException
- ));
-
- IR_EnumDef_ptr create_enum (
- const char * id,
- const char * name,
- const char * version,
- const IR_EnumMemberSeq & members,
- CORBA::Environment &ACE_TRY_ENV =
- TAO_default_environment ()
- )
- ACE_THROW_SPEC ((
- CORBA::SystemException
- ));
-
- IR_AliasDef_ptr create_alias (
- const char * id,
- const char * name,
- const char * version,
- IR_IDLType_ptr original_type,
- CORBA::Environment &ACE_TRY_ENV =
- TAO_default_environment ()
- )
- ACE_THROW_SPEC ((
- CORBA::SystemException
- ));
-
- IR_InterfaceDef_ptr create_interface (
- const char * id,
- const char * name,
- const char * version,
- const IR_InterfaceDefSeq & base_interfaces,
- CORBA::Boolean is_abstract,
- CORBA::Boolean is_local,
- CORBA::Environment &ACE_TRY_ENV =
- TAO_default_environment ()
- )
- ACE_THROW_SPEC ((
- CORBA::SystemException
- ));
-
- IR_ValueDef_ptr create_value (
- const char * id,
- const char * name,
- const char * version,
- CORBA::Boolean is_custom,
- CORBA::Boolean is_abstract,
- IR_ValueDef_ptr base_value,
- CORBA::Boolean is_truncatable,
- const IR_ValueDefSeq & abstract_base_values,
- const IR_InterfaceDefSeq & supported_interfaces,
- const IR_InitializerSeq & initializers,
- CORBA::Environment &ACE_TRY_ENV =
- TAO_default_environment ()
- )
- ACE_THROW_SPEC ((
- CORBA::SystemException
- ));
-
- IR_ValueBoxDef_ptr create_value_box (
- const char * id,
- const char * name,
- const char * version,
- IR_IDLType_ptr original_type_def,
- CORBA::Environment &ACE_TRY_ENV =
- TAO_default_environment ()
- )
- ACE_THROW_SPEC ((
- CORBA::SystemException
- ));
-
- IR_ExceptionDef_ptr create_exception (
- const char * id,
- const char * name,
- const char * version,
- const IR_StructMemberSeq & members,
- CORBA::Environment &ACE_TRY_ENV =
- TAO_default_environment ()
- )
- ACE_THROW_SPEC ((
- CORBA::SystemException
- ));
-
- IR_NativeDef_ptr create_native (
- const char * id,
- const char * name,
- const char * version,
- CORBA::Environment &ACE_TRY_ENV =
- TAO_default_environment ()
- )
- ACE_THROW_SPEC ((
- CORBA::SystemException
- ));
-
- char * id (
- CORBA::Environment &ACE_TRY_ENV =
- TAO_default_environment ()
- )
- ACE_THROW_SPEC ((
- CORBA::SystemException
- ));
-
- void id (
- const char * id,
- CORBA::Environment &ACE_TRY_ENV =
- TAO_default_environment ()
- )
- ACE_THROW_SPEC ((
- CORBA::SystemException
- ));
-
- char * name (
- CORBA::Environment &ACE_TRY_ENV =
- TAO_default_environment ()
- )
- ACE_THROW_SPEC ((
- CORBA::SystemException
- ));
-
- void name (
- const char * name,
- CORBA::Environment &ACE_TRY_ENV =
- TAO_default_environment ()
- )
- ACE_THROW_SPEC ((
- CORBA::SystemException
- ));
-
- char * version (
- CORBA::Environment &ACE_TRY_ENV =
- TAO_default_environment ()
- )
- ACE_THROW_SPEC ((
- CORBA::SystemException
- ));
-
- void version (
- const char * version,
- CORBA::Environment &ACE_TRY_ENV =
- TAO_default_environment ()
- )
- ACE_THROW_SPEC ((
- CORBA::SystemException
- ));
-
- IR_Container_ptr defined_in (
- CORBA::Environment &ACE_TRY_ENV =
- TAO_default_environment ()
- )
- ACE_THROW_SPEC ((
- CORBA::SystemException
- ));
-
- char * absolute_name (
- CORBA::Environment &ACE_TRY_ENV =
- TAO_default_environment ()
- )
- ACE_THROW_SPEC ((
- CORBA::SystemException
- ));
-
- IR_Repository_ptr containing_repository (
- CORBA::Environment &ACE_TRY_ENV =
- TAO_default_environment ()
- )
- ACE_THROW_SPEC ((
- CORBA::SystemException
- ));
-
- IR_Contained::Description * describe (
- CORBA::Environment &ACE_TRY_ENV =
- TAO_default_environment ()
- )
- ACE_THROW_SPEC ((
- CORBA::SystemException
- ));
-
- void move (
- IR_Container_ptr new_container,
- const char * new_name,
- const char * new_version,
- CORBA::Environment &ACE_TRY_ENV =
- TAO_default_environment ()
- )
- ACE_THROW_SPEC ((
- CORBA::SystemException
- ));
-
- CORBA::TypeCode_ptr type (
- CORBA::Environment &ACE_TRY_ENV =
- TAO_default_environment ()
- )
- ACE_THROW_SPEC ((
- CORBA::SystemException
- ));
-
- IR_DefinitionKind def_kind (
- CORBA::Environment &ACE_TRY_ENV =
- TAO_default_environment ()
- )
- ACE_THROW_SPEC ((
- CORBA::SystemException
- ));
-
- void destroy (
- CORBA::Environment &ACE_TRY_ENV =
- TAO_default_environment ()
- )
- ACE_THROW_SPEC ((
- CORBA::SystemException
- ));
-
-private:
- T *ptr_;
- PortableServer::POA_var poa_;
- CORBA::Boolean rel_;
-
- // copy and assignment are not allowed
- UnionDef_tie (const UnionDef_tie &);
- void operator= (const UnionDef_tie &);
- };
-
-#endif /* ACE_HAS_USING_KEYWORD */
-
- class EnumDef;
- typedef EnumDef *EnumDef_ptr;
- // Forward Classes Declaration
- class _TAO_EnumDef_ThruPOA_Proxy_Impl;
- class _TAO_EnumDef_Strategized_Proxy_Broker;
-
- class EnumDef : public virtual TypedefDef
- {
- protected:
- EnumDef (void);
-
- public:
- EnumDef (const EnumDef& rhs);
- virtual ~EnumDef (void);
-
-
- virtual CORBA::Boolean _is_a (
- const char* logical_type_id,
- CORBA::Environment &ACE_TRY_ENV =
- TAO_default_environment ()
- );
-
- virtual void* _downcast (
- const char* logical_type_id
- );
-
- static void _is_a_skel (
- TAO_ServerRequest &req,
- void *obj,
- void *context,
- CORBA::Environment &ACE_TRY_ENV =
- TAO_default_environment ()
- );
-
- static void _non_existent_skel (
- TAO_ServerRequest &req,
- void *obj,
- void *context,
- CORBA::Environment &ACE_TRY_ENV =
- TAO_default_environment ()
- );
-
- virtual void _dispatch (
- TAO_ServerRequest &_tao_req,
- void *_tao_context,
- CORBA::Environment &ACE_TRY_ENV =
- TAO_default_environment ()
- );
-
- IR_EnumDef *_this (
- CORBA::Environment &ACE_TRY_ENV =
- TAO_default_environment ()
- );
-
- virtual const char* _interface_repository_id (void) const;
-
- virtual IR_EnumMemberSeq * members (
- CORBA::Environment &ACE_TRY_ENV =
- TAO_default_environment ()
- )
- ACE_THROW_SPEC ((
- CORBA::SystemException
- )) = 0;
-
- static void _get_members_skel (
- TAO_ServerRequest &_tao_req,
- void *_tao_obj,
- void *_tao_context,
- CORBA::Environment &ACE_TRY_ENV =
- TAO_default_environment ()
- );
-
- virtual void members (
- const IR_EnumMemberSeq & members,
- CORBA::Environment &ACE_TRY_ENV =
- TAO_default_environment ()
- )
- ACE_THROW_SPEC ((
- CORBA::SystemException
- )) = 0;
-
- static void _set_members_skel (
- TAO_ServerRequest &_tao_req,
- void *_tao_obj,
- void *_tao_context,
- CORBA::Environment &ACE_TRY_ENV =
- TAO_default_environment ()
- );
-
- static void _get_id_skel (
- TAO_ServerRequest &req,
- void *obj,
- void *context,
- CORBA::Environment &env =
- TAO_default_environment ()
- );
-
- static void _set_id_skel (
- TAO_ServerRequest &req,
- void *obj,
- void *context,
- CORBA::Environment &env =
- TAO_default_environment ()
- );
-
- static void _get_name_skel (
- TAO_ServerRequest &req,
- void *obj,
- void *context,
- CORBA::Environment &env =
- TAO_default_environment ()
- );
-
- static void _set_name_skel (
- TAO_ServerRequest &req,
- void *obj,
- void *context,
- CORBA::Environment &env =
- TAO_default_environment ()
- );
-
- static void _get_version_skel (
- TAO_ServerRequest &req,
- void *obj,
- void *context,
- CORBA::Environment &env =
- TAO_default_environment ()
- );
-
- static void _set_version_skel (
- TAO_ServerRequest &req,
- void *obj,
- void *context,
- CORBA::Environment &env =
- TAO_default_environment ()
- );
-
- static void _get_defined_in_skel (
- TAO_ServerRequest &req,
- void *obj,
- void *context,
- CORBA::Environment &env =
- TAO_default_environment ()
- );
-
- static void _get_absolute_name_skel (
- TAO_ServerRequest &req,
- void *obj,
- void *context,
- CORBA::Environment &env =
- TAO_default_environment ()
- );
-
- static void _get_containing_repository_skel (
- TAO_ServerRequest &req,
- void *obj,
- void *context,
- CORBA::Environment &env =
- TAO_default_environment ()
- );
-
- static void describe_skel (
- TAO_ServerRequest &req,
- void *obj,
- void *context,
- CORBA::Environment &env =
- TAO_default_environment ()
- );
-
- static void move_skel (
- TAO_ServerRequest &req,
- void *obj,
- void *context,
- CORBA::Environment &env =
- TAO_default_environment ()
- );
-
- static void _get_type_skel (
- TAO_ServerRequest &req,
- void *obj,
- void *context,
- CORBA::Environment &env =
- TAO_default_environment ()
- );
-
- static void _get_def_kind_skel (
- TAO_ServerRequest &req,
- void *obj,
- void *context,
- CORBA::Environment &env =
- TAO_default_environment ()
- );
-
- static void destroy_skel (
- TAO_ServerRequest &req,
- void *obj,
- void *context,
- CORBA::Environment &env =
- TAO_default_environment ()
- );
-
-#if (TAO_HAS_INTERCEPTORS == 1)
- // Generation of interceptors related RequestInfo classes per operation.
- // This needed to be able to store the arguments, exceptions, contexts
- // and build the lists dynamically on demand so that unnecessary time overhead
- // of building these lists when they arent used is avoided.
- class TAO_ServerRequestInfo_IR_EnumDef_members_get : public TAO_ServerRequestInfo
- {
- public:
- friend class POA_IR::EnumDef;
- TAO_ServerRequestInfo_IR_EnumDef_members_get (
- TAO_ServerRequest &_tao_server_request,
- POA_IR::EnumDef *tao_impl
- ,
- CORBA::Environment &ACE_TRY_ENV =
- TAO_default_environment ()
- );
-
- virtual Dynamic::ParameterList * arguments (
- CORBA::Environment &ACE_TRY_ENV =
- TAO_default_environment ()
- )
- ACE_THROW_SPEC ((CORBA::SystemException));
-
- virtual Dynamic::ExceptionList * exceptions (
- CORBA::Environment &ACE_TRY_ENV =
- TAO_default_environment ()
- )
- ACE_THROW_SPEC ((CORBA::SystemException));
-
- virtual CORBA::Any * result (
- CORBA::Environment &ACE_TRY_ENV =
- TAO_default_environment ()
- )
- ACE_THROW_SPEC ((CORBA::SystemException));
-
- virtual char * target_most_derived_interface (
- CORBA::Environment &ACE_TRY_ENV = TAO_default_environment ())
- ACE_THROW_SPEC ((CORBA::SystemException));
-
- virtual CORBA::Boolean target_is_a (
- const char * id,
- CORBA::Environment &ACE_TRY_ENV = TAO_default_environment ())
- ACE_THROW_SPEC ((CORBA::SystemException));
-
-
- private:
- TAO_ServerRequestInfo_IR_EnumDef_members_get (const TAO_ServerRequestInfo_IR_EnumDef_members_get &);
- void operator= (const TAO_ServerRequestInfo_IR_EnumDef_members_get &);
-
- private:
- POA_IR::EnumDef *_tao_impl;
- void result (IR::EnumMemberSeq * result);
- // update the result
- IR_EnumMemberSeq * _result;
- };
-
- class TAO_ServerRequestInfo_IR_EnumDef_members_set : public TAO_ServerRequestInfo
- {
- public:
- friend class POA_IR::EnumDef;
- TAO_ServerRequestInfo_IR_EnumDef_members_set (
- TAO_ServerRequest &_tao_server_request,
- POA_IR::EnumDef *tao_impl
- ,
- const IR_EnumMemberSeq & members,
- CORBA::Environment &ACE_TRY_ENV =
- TAO_default_environment ()
- );
-
- virtual Dynamic::ParameterList * arguments (
- CORBA::Environment &ACE_TRY_ENV =
- TAO_default_environment ()
- )
- ACE_THROW_SPEC ((CORBA::SystemException));
-
- virtual Dynamic::ExceptionList * exceptions (
- CORBA::Environment &ACE_TRY_ENV =
- TAO_default_environment ()
- )
- ACE_THROW_SPEC ((CORBA::SystemException));
-
- virtual CORBA::Any * result (
- CORBA::Environment &ACE_TRY_ENV =
- TAO_default_environment ()
- )
- ACE_THROW_SPEC ((CORBA::SystemException));
-
- virtual char * target_most_derived_interface (
- CORBA::Environment &ACE_TRY_ENV = TAO_default_environment ())
- ACE_THROW_SPEC ((CORBA::SystemException));
-
- virtual CORBA::Boolean target_is_a (
- const char * id,
- CORBA::Environment &ACE_TRY_ENV = TAO_default_environment ())
- ACE_THROW_SPEC ((CORBA::SystemException));
-
-
- private:
- TAO_ServerRequestInfo_IR_EnumDef_members_set (const TAO_ServerRequestInfo_IR_EnumDef_members_set &);
- void operator= (const TAO_ServerRequestInfo_IR_EnumDef_members_set &);
-
- private:
- POA_IR::EnumDef *_tao_impl;
- const IR_EnumMemberSeq & members_;
- };
-
-#endif /* TAO_HAS_INTERCEPTORS */
-
- };
-
-///////////////////////////////////////////////////////////////////////
-// Strategized Proxy Broker Declaration
-//
-
-class _TAO_EnumDef_Strategized_Proxy_Broker : public virtual _TAO_EnumDef_Proxy_Broker
-{
-public:
- _TAO_EnumDef_Strategized_Proxy_Broker (void);
-
- virtual ~_TAO_EnumDef_Strategized_Proxy_Broker (void);
-
- virtual _TAO_EnumDef_Proxy_Impl &select_proxy (
- IR_EnumDef *object,
- CORBA_Environment &ACE_TRY_ENV = TAO_default_environment ()
- );
-
-private:
-
-// Helper methods that takes care to create the proxy
-// as soon as their use is necessary.
- void create_proxy (
- int strategy,
- CORBA::Environment &ACE_TRY_ENV
- );
-
-private:
-
- // Caches the proxy implementations. The proxy implementation
- // are totally stateless, and those can be shared by all the
- // instances of a given IDL interface type.
- _TAO_EnumDef_Proxy_Impl
- *proxy_cache_[TAO_Collocation_Strategies::CS_LAST];
-
- TAO_SYNCH_MUTEX mutex_;
-// This funxtion is used to get an handle to the unique instance
-// of the Strategized Proxy Broker that is available for a given
-// interface.
-
-public:
- static _TAO_EnumDef_Strategized_Proxy_Broker *the_TAO_EnumDef_Strategized_Proxy_Broker (void);
-};
-
-//
-// End Strategized Proxy Broker Declaration
-///////////////////////////////////////////////////////////////////////
-
-
-///////////////////////////////////////////////////////////////////////
-// ThruPOA Impl. Declaration
-//
-
-class _TAO_EnumDef_ThruPOA_Proxy_Impl :
- public virtual _TAO_EnumDef_Proxy_Impl,
- public virtual TAO_ThruPOA_Object_Proxy_Impl,
- public virtual ::POA_IR::_TAO_TypedefDef_ThruPOA_Proxy_Impl
-
-{
-public:
- _TAO_EnumDef_ThruPOA_Proxy_Impl (void);
-
- virtual ~_TAO_EnumDef_ThruPOA_Proxy_Impl (void) { }
-
- virtual IR_EnumMemberSeq * members (
- CORBA_Object *_collocated_tao_target_,
- CORBA::Environment &ACE_TRY_ENV
- )
- ACE_THROW_SPEC ((
- CORBA::SystemException
- ));
-
- virtual void members (
- CORBA_Object *_collocated_tao_target_,
- const IR_EnumMemberSeq & members,
- CORBA::Environment &ACE_TRY_ENV
- )
- ACE_THROW_SPEC ((
- CORBA::SystemException
- ));
-
-};
-
-
-//
-// ThruPOA Proxy Impl. Declaration
-///////////////////////////////////////////////////////////////////////
-
-#if defined (ACE_HAS_USING_KEYWORD)
- // TIE class: Refer to CORBA v2.2, Section 20.34.4
- template <class T>
- class EnumDef_tie : public EnumDef
- {
- public:
- EnumDef_tie (T &t);
- // the T& ctor
- EnumDef_tie (T &t, PortableServer::POA_ptr poa);
- // ctor taking a POA
- EnumDef_tie (T *tp, CORBA::Boolean release=1);
- // ctor taking pointer and an ownership flag
- EnumDef_tie (T *tp, PortableServer::POA_ptr poa, CORBA::Boolean release=1);
- // ctor with T*, ownership flag and a POA
- ~EnumDef_tie (void);
- // dtor
-
- // TIE specific functions
- T *_tied_object (void);
- // return the underlying object
- void _tied_object (T &obj);
- // set the underlying object
- void _tied_object (T *obj, CORBA::Boolean release=1);
- // set the underlying object and the ownership flag
- CORBA::Boolean _is_owner (void);
- // do we own it
- void _is_owner (CORBA::Boolean b);
- // set the ownership
-
- // overridden ServantBase operations
- PortableServer::POA_ptr _default_POA (
- CORBA::Environment &env =
- TAO_default_environment ()
- );
- IR_EnumMemberSeq * members (
- CORBA::Environment &ACE_TRY_ENV =
- TAO_default_environment ()
- )
- ACE_THROW_SPEC ((
- CORBA::SystemException
- ));
-
- void members (
- const IR_EnumMemberSeq & members,
- CORBA::Environment &ACE_TRY_ENV =
- TAO_default_environment ()
- )
- ACE_THROW_SPEC ((
- CORBA::SystemException
- ));
-
- char * id (
- CORBA::Environment &ACE_TRY_ENV =
- TAO_default_environment ()
- )
- ACE_THROW_SPEC ((
- CORBA::SystemException
- ));
-
- void id (
- const char * id,
- CORBA::Environment &ACE_TRY_ENV =
- TAO_default_environment ()
- )
- ACE_THROW_SPEC ((
- CORBA::SystemException
- ));
-
- char * name (
- CORBA::Environment &ACE_TRY_ENV =
- TAO_default_environment ()
- )
- ACE_THROW_SPEC ((
- CORBA::SystemException
- ));
-
- void name (
- const char * name,
- CORBA::Environment &ACE_TRY_ENV =
- TAO_default_environment ()
- )
- ACE_THROW_SPEC ((
- CORBA::SystemException
- ));
-
- char * version (
- CORBA::Environment &ACE_TRY_ENV =
- TAO_default_environment ()
- )
- ACE_THROW_SPEC ((
- CORBA::SystemException
- ));
-
- void version (
- const char * version,
- CORBA::Environment &ACE_TRY_ENV =
- TAO_default_environment ()
- )
- ACE_THROW_SPEC ((
- CORBA::SystemException
- ));
-
- IR_Container_ptr defined_in (
- CORBA::Environment &ACE_TRY_ENV =
- TAO_default_environment ()
- )
- ACE_THROW_SPEC ((
- CORBA::SystemException
- ));
-
- char * absolute_name (
- CORBA::Environment &ACE_TRY_ENV =
- TAO_default_environment ()
- )
- ACE_THROW_SPEC ((
- CORBA::SystemException
- ));
-
- IR_Repository_ptr containing_repository (
- CORBA::Environment &ACE_TRY_ENV =
- TAO_default_environment ()
- )
- ACE_THROW_SPEC ((
- CORBA::SystemException
- ));
-
- IR_Contained::Description * describe (
- CORBA::Environment &ACE_TRY_ENV =
- TAO_default_environment ()
- )
- ACE_THROW_SPEC ((
- CORBA::SystemException
- ));
-
- void move (
- IR_Container_ptr new_container,
- const char * new_name,
- const char * new_version,
- CORBA::Environment &ACE_TRY_ENV =
- TAO_default_environment ()
- )
- ACE_THROW_SPEC ((
- CORBA::SystemException
- ));
-
- CORBA::TypeCode_ptr type (
- CORBA::Environment &ACE_TRY_ENV =
- TAO_default_environment ()
- )
- ACE_THROW_SPEC ((
- CORBA::SystemException
- ));
-
- IR_DefinitionKind def_kind (
- CORBA::Environment &ACE_TRY_ENV =
- TAO_default_environment ()
- )
- ACE_THROW_SPEC ((
- CORBA::SystemException
- ));
-
- void destroy (
- CORBA::Environment &ACE_TRY_ENV =
- TAO_default_environment ()
- )
- ACE_THROW_SPEC ((
- CORBA::SystemException
- ));
-
-private:
- T *ptr_;
- PortableServer::POA_var poa_;
- CORBA::Boolean rel_;
-
- // copy and assignment are not allowed
- EnumDef_tie (const EnumDef_tie &);
- void operator= (const EnumDef_tie &);
- };
-
-#endif /* ACE_HAS_USING_KEYWORD */
-
- class AliasDef;
- typedef AliasDef *AliasDef_ptr;
- // Forward Classes Declaration
- class _TAO_AliasDef_ThruPOA_Proxy_Impl;
- class _TAO_AliasDef_Strategized_Proxy_Broker;
-
- class AliasDef : public virtual TypedefDef
- {
- protected:
- AliasDef (void);
-
- public:
- AliasDef (const AliasDef& rhs);
- virtual ~AliasDef (void);
-
-
- virtual CORBA::Boolean _is_a (
- const char* logical_type_id,
- CORBA::Environment &ACE_TRY_ENV =
- TAO_default_environment ()
- );
-
- virtual void* _downcast (
- const char* logical_type_id
- );
-
- static void _is_a_skel (
- TAO_ServerRequest &req,
- void *obj,
- void *context,
- CORBA::Environment &ACE_TRY_ENV =
- TAO_default_environment ()
- );
-
- static void _non_existent_skel (
- TAO_ServerRequest &req,
- void *obj,
- void *context,
- CORBA::Environment &ACE_TRY_ENV =
- TAO_default_environment ()
- );
-
- virtual void _dispatch (
- TAO_ServerRequest &_tao_req,
- void *_tao_context,
- CORBA::Environment &ACE_TRY_ENV =
- TAO_default_environment ()
- );
-
- IR_AliasDef *_this (
- CORBA::Environment &ACE_TRY_ENV =
- TAO_default_environment ()
- );
-
- virtual const char* _interface_repository_id (void) const;
-
- virtual IR_IDLType_ptr original_type_def (
- CORBA::Environment &ACE_TRY_ENV =
- TAO_default_environment ()
- )
- ACE_THROW_SPEC ((
- CORBA::SystemException
- )) = 0;
-
- static void _get_original_type_def_skel (
- TAO_ServerRequest &_tao_req,
- void *_tao_obj,
- void *_tao_context,
- CORBA::Environment &ACE_TRY_ENV =
- TAO_default_environment ()
- );
-
- virtual void original_type_def (
- IR_IDLType_ptr original_type_def,
- CORBA::Environment &ACE_TRY_ENV =
- TAO_default_environment ()
- )
- ACE_THROW_SPEC ((
- CORBA::SystemException
- )) = 0;
-
- static void _set_original_type_def_skel (
- TAO_ServerRequest &_tao_req,
- void *_tao_obj,
- void *_tao_context,
- CORBA::Environment &ACE_TRY_ENV =
- TAO_default_environment ()
- );
-
- static void _get_id_skel (
- TAO_ServerRequest &req,
- void *obj,
- void *context,
- CORBA::Environment &env =
- TAO_default_environment ()
- );
-
- static void _set_id_skel (
- TAO_ServerRequest &req,
- void *obj,
- void *context,
- CORBA::Environment &env =
- TAO_default_environment ()
- );
-
- static void _get_name_skel (
- TAO_ServerRequest &req,
- void *obj,
- void *context,
- CORBA::Environment &env =
- TAO_default_environment ()
- );
-
- static void _set_name_skel (
- TAO_ServerRequest &req,
- void *obj,
- void *context,
- CORBA::Environment &env =
- TAO_default_environment ()
- );
-
- static void _get_version_skel (
- TAO_ServerRequest &req,
- void *obj,
- void *context,
- CORBA::Environment &env =
- TAO_default_environment ()
- );
-
- static void _set_version_skel (
- TAO_ServerRequest &req,
- void *obj,
- void *context,
- CORBA::Environment &env =
- TAO_default_environment ()
- );
-
- static void _get_defined_in_skel (
- TAO_ServerRequest &req,
- void *obj,
- void *context,
- CORBA::Environment &env =
- TAO_default_environment ()
- );
-
- static void _get_absolute_name_skel (
- TAO_ServerRequest &req,
- void *obj,
- void *context,
- CORBA::Environment &env =
- TAO_default_environment ()
- );
-
- static void _get_containing_repository_skel (
- TAO_ServerRequest &req,
- void *obj,
- void *context,
- CORBA::Environment &env =
- TAO_default_environment ()
- );
-
- static void describe_skel (
- TAO_ServerRequest &req,
- void *obj,
- void *context,
- CORBA::Environment &env =
- TAO_default_environment ()
- );
-
- static void move_skel (
- TAO_ServerRequest &req,
- void *obj,
- void *context,
- CORBA::Environment &env =
- TAO_default_environment ()
- );
-
- static void _get_type_skel (
- TAO_ServerRequest &req,
- void *obj,
- void *context,
- CORBA::Environment &env =
- TAO_default_environment ()
- );
-
- static void _get_def_kind_skel (
- TAO_ServerRequest &req,
- void *obj,
- void *context,
- CORBA::Environment &env =
- TAO_default_environment ()
- );
-
- static void destroy_skel (
- TAO_ServerRequest &req,
- void *obj,
- void *context,
- CORBA::Environment &env =
- TAO_default_environment ()
- );
-
-#if (TAO_HAS_INTERCEPTORS == 1)
- // Generation of interceptors related RequestInfo classes per operation.
- // This needed to be able to store the arguments, exceptions, contexts
- // and build the lists dynamically on demand so that unnecessary time overhead
- // of building these lists when they arent used is avoided.
- class TAO_ServerRequestInfo_IR_AliasDef_original_type_def_get : public TAO_ServerRequestInfo
- {
- public:
- friend class POA_IR::AliasDef;
- TAO_ServerRequestInfo_IR_AliasDef_original_type_def_get (
- TAO_ServerRequest &_tao_server_request,
- POA_IR::AliasDef *tao_impl
- ,
- CORBA::Environment &ACE_TRY_ENV =
- TAO_default_environment ()
- );
-
- virtual Dynamic::ParameterList * arguments (
- CORBA::Environment &ACE_TRY_ENV =
- TAO_default_environment ()
- )
- ACE_THROW_SPEC ((CORBA::SystemException));
-
- virtual Dynamic::ExceptionList * exceptions (
- CORBA::Environment &ACE_TRY_ENV =
- TAO_default_environment ()
- )
- ACE_THROW_SPEC ((CORBA::SystemException));
-
- virtual CORBA::Any * result (
- CORBA::Environment &ACE_TRY_ENV =
- TAO_default_environment ()
- )
- ACE_THROW_SPEC ((CORBA::SystemException));
-
- virtual char * target_most_derived_interface (
- CORBA::Environment &ACE_TRY_ENV = TAO_default_environment ())
- ACE_THROW_SPEC ((CORBA::SystemException));
-
- virtual CORBA::Boolean target_is_a (
- const char * id,
- CORBA::Environment &ACE_TRY_ENV = TAO_default_environment ())
- ACE_THROW_SPEC ((CORBA::SystemException));
-
-
- private:
- TAO_ServerRequestInfo_IR_AliasDef_original_type_def_get (const TAO_ServerRequestInfo_IR_AliasDef_original_type_def_get &);
- void operator= (const TAO_ServerRequestInfo_IR_AliasDef_original_type_def_get &);
-
- private:
- POA_IR::AliasDef *_tao_impl;
- void result (IR::IDLType_ptr result);
- // update the result
- IR_IDLType_ptr _result;
- };
-
- class TAO_ServerRequestInfo_IR_AliasDef_original_type_def_set : public TAO_ServerRequestInfo
- {
- public:
- friend class POA_IR::AliasDef;
- TAO_ServerRequestInfo_IR_AliasDef_original_type_def_set (
- TAO_ServerRequest &_tao_server_request,
- POA_IR::AliasDef *tao_impl
- ,
- IR_IDLType_ptr original_type_def,
- CORBA::Environment &ACE_TRY_ENV =
- TAO_default_environment ()
- );
-
- virtual Dynamic::ParameterList * arguments (
- CORBA::Environment &ACE_TRY_ENV =
- TAO_default_environment ()
- )
- ACE_THROW_SPEC ((CORBA::SystemException));
-
- virtual Dynamic::ExceptionList * exceptions (
- CORBA::Environment &ACE_TRY_ENV =
- TAO_default_environment ()
- )
- ACE_THROW_SPEC ((CORBA::SystemException));
-
- virtual CORBA::Any * result (
- CORBA::Environment &ACE_TRY_ENV =
- TAO_default_environment ()
- )
- ACE_THROW_SPEC ((CORBA::SystemException));
-
- virtual char * target_most_derived_interface (
- CORBA::Environment &ACE_TRY_ENV = TAO_default_environment ())
- ACE_THROW_SPEC ((CORBA::SystemException));
-
- virtual CORBA::Boolean target_is_a (
- const char * id,
- CORBA::Environment &ACE_TRY_ENV = TAO_default_environment ())
- ACE_THROW_SPEC ((CORBA::SystemException));
-
-
- private:
- TAO_ServerRequestInfo_IR_AliasDef_original_type_def_set (const TAO_ServerRequestInfo_IR_AliasDef_original_type_def_set &);
- void operator= (const TAO_ServerRequestInfo_IR_AliasDef_original_type_def_set &);
-
- private:
- POA_IR::AliasDef *_tao_impl;
- IR_IDLType_ptr original_type_def_;
- };
-
-#endif /* TAO_HAS_INTERCEPTORS */
-
- };
-
-///////////////////////////////////////////////////////////////////////
-// Strategized Proxy Broker Declaration
-//
-
-class _TAO_AliasDef_Strategized_Proxy_Broker : public virtual _TAO_AliasDef_Proxy_Broker
-{
-public:
- _TAO_AliasDef_Strategized_Proxy_Broker (void);
-
- virtual ~_TAO_AliasDef_Strategized_Proxy_Broker (void);
-
- virtual _TAO_AliasDef_Proxy_Impl &select_proxy (
- IR_AliasDef *object,
- CORBA_Environment &ACE_TRY_ENV = TAO_default_environment ()
- );
-
-private:
-
-// Helper methods that takes care to create the proxy
-// as soon as their use is necessary.
- void create_proxy (
- int strategy,
- CORBA::Environment &ACE_TRY_ENV
- );
-
-private:
-
- // Caches the proxy implementations. The proxy implementation
- // are totally stateless, and those can be shared by all the
- // instances of a given IDL interface type.
- _TAO_AliasDef_Proxy_Impl
- *proxy_cache_[TAO_Collocation_Strategies::CS_LAST];
-
- TAO_SYNCH_MUTEX mutex_;
-// This funxtion is used to get an handle to the unique instance
-// of the Strategized Proxy Broker that is available for a given
-// interface.
-
-public:
- static _TAO_AliasDef_Strategized_Proxy_Broker *the_TAO_AliasDef_Strategized_Proxy_Broker (void);
-};
-
-//
-// End Strategized Proxy Broker Declaration
-///////////////////////////////////////////////////////////////////////
-
-
-///////////////////////////////////////////////////////////////////////
-// ThruPOA Impl. Declaration
-//
-
-class _TAO_AliasDef_ThruPOA_Proxy_Impl :
- public virtual _TAO_AliasDef_Proxy_Impl,
- public virtual TAO_ThruPOA_Object_Proxy_Impl,
- public virtual ::POA_IR::_TAO_TypedefDef_ThruPOA_Proxy_Impl
-
-{
-public:
- _TAO_AliasDef_ThruPOA_Proxy_Impl (void);
-
- virtual ~_TAO_AliasDef_ThruPOA_Proxy_Impl (void) { }
-
- virtual IR_IDLType_ptr original_type_def (
- CORBA_Object *_collocated_tao_target_,
- CORBA::Environment &ACE_TRY_ENV
- )
- ACE_THROW_SPEC ((
- CORBA::SystemException
- ));
-
- virtual void original_type_def (
- CORBA_Object *_collocated_tao_target_,
- IR_IDLType_ptr original_type_def,
- CORBA::Environment &ACE_TRY_ENV
- )
- ACE_THROW_SPEC ((
- CORBA::SystemException
- ));
-
-};
-
-
-//
-// ThruPOA Proxy Impl. Declaration
-///////////////////////////////////////////////////////////////////////
-
-#if defined (ACE_HAS_USING_KEYWORD)
- // TIE class: Refer to CORBA v2.2, Section 20.34.4
- template <class T>
- class AliasDef_tie : public AliasDef
- {
- public:
- AliasDef_tie (T &t);
- // the T& ctor
- AliasDef_tie (T &t, PortableServer::POA_ptr poa);
- // ctor taking a POA
- AliasDef_tie (T *tp, CORBA::Boolean release=1);
- // ctor taking pointer and an ownership flag
- AliasDef_tie (T *tp, PortableServer::POA_ptr poa, CORBA::Boolean release=1);
- // ctor with T*, ownership flag and a POA
- ~AliasDef_tie (void);
- // dtor
-
- // TIE specific functions
- T *_tied_object (void);
- // return the underlying object
- void _tied_object (T &obj);
- // set the underlying object
- void _tied_object (T *obj, CORBA::Boolean release=1);
- // set the underlying object and the ownership flag
- CORBA::Boolean _is_owner (void);
- // do we own it
- void _is_owner (CORBA::Boolean b);
- // set the ownership
-
- // overridden ServantBase operations
- PortableServer::POA_ptr _default_POA (
- CORBA::Environment &env =
- TAO_default_environment ()
- );
- IR_IDLType_ptr original_type_def (
- CORBA::Environment &ACE_TRY_ENV =
- TAO_default_environment ()
- )
- ACE_THROW_SPEC ((
- CORBA::SystemException
- ));
-
- void original_type_def (
- IR_IDLType_ptr original_type_def,
- CORBA::Environment &ACE_TRY_ENV =
- TAO_default_environment ()
- )
- ACE_THROW_SPEC ((
- CORBA::SystemException
- ));
-
- char * id (
- CORBA::Environment &ACE_TRY_ENV =
- TAO_default_environment ()
- )
- ACE_THROW_SPEC ((
- CORBA::SystemException
- ));
-
- void id (
- const char * id,
- CORBA::Environment &ACE_TRY_ENV =
- TAO_default_environment ()
- )
- ACE_THROW_SPEC ((
- CORBA::SystemException
- ));
-
- char * name (
- CORBA::Environment &ACE_TRY_ENV =
- TAO_default_environment ()
- )
- ACE_THROW_SPEC ((
- CORBA::SystemException
- ));
-
- void name (
- const char * name,
- CORBA::Environment &ACE_TRY_ENV =
- TAO_default_environment ()
- )
- ACE_THROW_SPEC ((
- CORBA::SystemException
- ));
-
- char * version (
- CORBA::Environment &ACE_TRY_ENV =
- TAO_default_environment ()
- )
- ACE_THROW_SPEC ((
- CORBA::SystemException
- ));
-
- void version (
- const char * version,
- CORBA::Environment &ACE_TRY_ENV =
- TAO_default_environment ()
- )
- ACE_THROW_SPEC ((
- CORBA::SystemException
- ));
-
- IR_Container_ptr defined_in (
- CORBA::Environment &ACE_TRY_ENV =
- TAO_default_environment ()
- )
- ACE_THROW_SPEC ((
- CORBA::SystemException
- ));
-
- char * absolute_name (
- CORBA::Environment &ACE_TRY_ENV =
- TAO_default_environment ()
- )
- ACE_THROW_SPEC ((
- CORBA::SystemException
- ));
-
- IR_Repository_ptr containing_repository (
- CORBA::Environment &ACE_TRY_ENV =
- TAO_default_environment ()
- )
- ACE_THROW_SPEC ((
- CORBA::SystemException
- ));
-
- IR_Contained::Description * describe (
- CORBA::Environment &ACE_TRY_ENV =
- TAO_default_environment ()
- )
- ACE_THROW_SPEC ((
- CORBA::SystemException
- ));
-
- void move (
- IR_Container_ptr new_container,
- const char * new_name,
- const char * new_version,
- CORBA::Environment &ACE_TRY_ENV =
- TAO_default_environment ()
- )
- ACE_THROW_SPEC ((
- CORBA::SystemException
- ));
-
- CORBA::TypeCode_ptr type (
- CORBA::Environment &ACE_TRY_ENV =
- TAO_default_environment ()
- )
- ACE_THROW_SPEC ((
- CORBA::SystemException
- ));
-
- IR_DefinitionKind def_kind (
- CORBA::Environment &ACE_TRY_ENV =
- TAO_default_environment ()
- )
- ACE_THROW_SPEC ((
- CORBA::SystemException
- ));
-
- void destroy (
- CORBA::Environment &ACE_TRY_ENV =
- TAO_default_environment ()
- )
- ACE_THROW_SPEC ((
- CORBA::SystemException
- ));
-
-private:
- T *ptr_;
- PortableServer::POA_var poa_;
- CORBA::Boolean rel_;
-
- // copy and assignment are not allowed
- AliasDef_tie (const AliasDef_tie &);
- void operator= (const AliasDef_tie &);
- };
-
-#endif /* ACE_HAS_USING_KEYWORD */
-
- class NativeDef;
- typedef NativeDef *NativeDef_ptr;
- // Forward Classes Declaration
- class _TAO_NativeDef_ThruPOA_Proxy_Impl;
- class _TAO_NativeDef_Strategized_Proxy_Broker;
-
- class NativeDef : public virtual TypedefDef
- {
- protected:
- NativeDef (void);
-
- public:
- NativeDef (const NativeDef& rhs);
- virtual ~NativeDef (void);
-
-
- virtual CORBA::Boolean _is_a (
- const char* logical_type_id,
- CORBA::Environment &ACE_TRY_ENV =
- TAO_default_environment ()
- );
-
- virtual void* _downcast (
- const char* logical_type_id
- );
-
- static void _is_a_skel (
- TAO_ServerRequest &req,
- void *obj,
- void *context,
- CORBA::Environment &ACE_TRY_ENV =
- TAO_default_environment ()
- );
-
- static void _non_existent_skel (
- TAO_ServerRequest &req,
- void *obj,
- void *context,
- CORBA::Environment &ACE_TRY_ENV =
- TAO_default_environment ()
- );
-
- virtual void _dispatch (
- TAO_ServerRequest &_tao_req,
- void *_tao_context,
- CORBA::Environment &ACE_TRY_ENV =
- TAO_default_environment ()
- );
-
- IR_NativeDef *_this (
- CORBA::Environment &ACE_TRY_ENV =
- TAO_default_environment ()
- );
-
- virtual const char* _interface_repository_id (void) const;
-
- static void _get_id_skel (
- TAO_ServerRequest &req,
- void *obj,
- void *context,
- CORBA::Environment &env =
- TAO_default_environment ()
- );
-
- static void _set_id_skel (
- TAO_ServerRequest &req,
- void *obj,
- void *context,
- CORBA::Environment &env =
- TAO_default_environment ()
- );
-
- static void _get_name_skel (
- TAO_ServerRequest &req,
- void *obj,
- void *context,
- CORBA::Environment &env =
- TAO_default_environment ()
- );
-
- static void _set_name_skel (
- TAO_ServerRequest &req,
- void *obj,
- void *context,
- CORBA::Environment &env =
- TAO_default_environment ()
- );
-
- static void _get_version_skel (
- TAO_ServerRequest &req,
- void *obj,
- void *context,
- CORBA::Environment &env =
- TAO_default_environment ()
- );
-
- static void _set_version_skel (
- TAO_ServerRequest &req,
- void *obj,
- void *context,
- CORBA::Environment &env =
- TAO_default_environment ()
- );
-
- static void _get_defined_in_skel (
- TAO_ServerRequest &req,
- void *obj,
- void *context,
- CORBA::Environment &env =
- TAO_default_environment ()
- );
-
- static void _get_absolute_name_skel (
- TAO_ServerRequest &req,
- void *obj,
- void *context,
- CORBA::Environment &env =
- TAO_default_environment ()
- );
-
- static void _get_containing_repository_skel (
- TAO_ServerRequest &req,
- void *obj,
- void *context,
- CORBA::Environment &env =
- TAO_default_environment ()
- );
-
- static void describe_skel (
- TAO_ServerRequest &req,
- void *obj,
- void *context,
- CORBA::Environment &env =
- TAO_default_environment ()
- );
-
- static void move_skel (
- TAO_ServerRequest &req,
- void *obj,
- void *context,
- CORBA::Environment &env =
- TAO_default_environment ()
- );
-
- static void _get_type_skel (
- TAO_ServerRequest &req,
- void *obj,
- void *context,
- CORBA::Environment &env =
- TAO_default_environment ()
- );
-
- static void _get_def_kind_skel (
- TAO_ServerRequest &req,
- void *obj,
- void *context,
- CORBA::Environment &env =
- TAO_default_environment ()
- );
-
- static void destroy_skel (
- TAO_ServerRequest &req,
- void *obj,
- void *context,
- CORBA::Environment &env =
- TAO_default_environment ()
- );
-
-#if (TAO_HAS_INTERCEPTORS == 1)
- // Generation of interceptors related RequestInfo classes per operation.
- // This needed to be able to store the arguments, exceptions, contexts
- // and build the lists dynamically on demand so that unnecessary time overhead
- // of building these lists when they arent used is avoided.
-#endif /* TAO_HAS_INTERCEPTORS */
-
- };
-
-///////////////////////////////////////////////////////////////////////
-// Strategized Proxy Broker Declaration
-//
-
-class _TAO_NativeDef_Strategized_Proxy_Broker : public virtual _TAO_NativeDef_Proxy_Broker
-{
-public:
- _TAO_NativeDef_Strategized_Proxy_Broker (void);
-
- virtual ~_TAO_NativeDef_Strategized_Proxy_Broker (void);
-
- virtual _TAO_NativeDef_Proxy_Impl &select_proxy (
- IR_NativeDef *object,
- CORBA_Environment &ACE_TRY_ENV = TAO_default_environment ()
- );
-
-private:
-
-// Helper methods that takes care to create the proxy
-// as soon as their use is necessary.
- void create_proxy (
- int strategy,
- CORBA::Environment &ACE_TRY_ENV
- );
-
-private:
-
- // Caches the proxy implementations. The proxy implementation
- // are totally stateless, and those can be shared by all the
- // instances of a given IDL interface type.
- _TAO_NativeDef_Proxy_Impl
- *proxy_cache_[TAO_Collocation_Strategies::CS_LAST];
-
- TAO_SYNCH_MUTEX mutex_;
-// This funxtion is used to get an handle to the unique instance
-// of the Strategized Proxy Broker that is available for a given
-// interface.
-
-public:
- static _TAO_NativeDef_Strategized_Proxy_Broker *the_TAO_NativeDef_Strategized_Proxy_Broker (void);
-};
-
-//
-// End Strategized Proxy Broker Declaration
-///////////////////////////////////////////////////////////////////////
-
-
-///////////////////////////////////////////////////////////////////////
-// ThruPOA Impl. Declaration
-//
-
-class _TAO_NativeDef_ThruPOA_Proxy_Impl :
- public virtual _TAO_NativeDef_Proxy_Impl,
- public virtual TAO_ThruPOA_Object_Proxy_Impl,
- public virtual ::POA_IR::_TAO_TypedefDef_ThruPOA_Proxy_Impl
-
-{
-public:
- _TAO_NativeDef_ThruPOA_Proxy_Impl (void);
-
- virtual ~_TAO_NativeDef_ThruPOA_Proxy_Impl (void) { }
-
-};
-
-
-//
-// ThruPOA Proxy Impl. Declaration
-///////////////////////////////////////////////////////////////////////
-
-#if defined (ACE_HAS_USING_KEYWORD)
- // TIE class: Refer to CORBA v2.2, Section 20.34.4
- template <class T>
- class NativeDef_tie : public NativeDef
- {
- public:
- NativeDef_tie (T &t);
- // the T& ctor
- NativeDef_tie (T &t, PortableServer::POA_ptr poa);
- // ctor taking a POA
- NativeDef_tie (T *tp, CORBA::Boolean release=1);
- // ctor taking pointer and an ownership flag
- NativeDef_tie (T *tp, PortableServer::POA_ptr poa, CORBA::Boolean release=1);
- // ctor with T*, ownership flag and a POA
- ~NativeDef_tie (void);
- // dtor
-
- // TIE specific functions
- T *_tied_object (void);
- // return the underlying object
- void _tied_object (T &obj);
- // set the underlying object
- void _tied_object (T *obj, CORBA::Boolean release=1);
- // set the underlying object and the ownership flag
- CORBA::Boolean _is_owner (void);
- // do we own it
- void _is_owner (CORBA::Boolean b);
- // set the ownership
-
- // overridden ServantBase operations
- PortableServer::POA_ptr _default_POA (
- CORBA::Environment &env =
- TAO_default_environment ()
- );
- char * id (
- CORBA::Environment &ACE_TRY_ENV =
- TAO_default_environment ()
- )
- ACE_THROW_SPEC ((
- CORBA::SystemException
- ));
-
- void id (
- const char * id,
- CORBA::Environment &ACE_TRY_ENV =
- TAO_default_environment ()
- )
- ACE_THROW_SPEC ((
- CORBA::SystemException
- ));
-
- char * name (
- CORBA::Environment &ACE_TRY_ENV =
- TAO_default_environment ()
- )
- ACE_THROW_SPEC ((
- CORBA::SystemException
- ));
-
- void name (
- const char * name,
- CORBA::Environment &ACE_TRY_ENV =
- TAO_default_environment ()
- )
- ACE_THROW_SPEC ((
- CORBA::SystemException
- ));
-
- char * version (
- CORBA::Environment &ACE_TRY_ENV =
- TAO_default_environment ()
- )
- ACE_THROW_SPEC ((
- CORBA::SystemException
- ));
-
- void version (
- const char * version,
- CORBA::Environment &ACE_TRY_ENV =
- TAO_default_environment ()
- )
- ACE_THROW_SPEC ((
- CORBA::SystemException
- ));
-
- IR_Container_ptr defined_in (
- CORBA::Environment &ACE_TRY_ENV =
- TAO_default_environment ()
- )
- ACE_THROW_SPEC ((
- CORBA::SystemException
- ));
-
- char * absolute_name (
- CORBA::Environment &ACE_TRY_ENV =
- TAO_default_environment ()
- )
- ACE_THROW_SPEC ((
- CORBA::SystemException
- ));
-
- IR_Repository_ptr containing_repository (
- CORBA::Environment &ACE_TRY_ENV =
- TAO_default_environment ()
- )
- ACE_THROW_SPEC ((
- CORBA::SystemException
- ));
-
- IR_Contained::Description * describe (
- CORBA::Environment &ACE_TRY_ENV =
- TAO_default_environment ()
- )
- ACE_THROW_SPEC ((
- CORBA::SystemException
- ));
-
- void move (
- IR_Container_ptr new_container,
- const char * new_name,
- const char * new_version,
- CORBA::Environment &ACE_TRY_ENV =
- TAO_default_environment ()
- )
- ACE_THROW_SPEC ((
- CORBA::SystemException
- ));
-
- CORBA::TypeCode_ptr type (
- CORBA::Environment &ACE_TRY_ENV =
- TAO_default_environment ()
- )
- ACE_THROW_SPEC ((
- CORBA::SystemException
- ));
-
- IR_DefinitionKind def_kind (
- CORBA::Environment &ACE_TRY_ENV =
- TAO_default_environment ()
- )
- ACE_THROW_SPEC ((
- CORBA::SystemException
- ));
-
- void destroy (
- CORBA::Environment &ACE_TRY_ENV =
- TAO_default_environment ()
- )
- ACE_THROW_SPEC ((
- CORBA::SystemException
- ));
-
-private:
- T *ptr_;
- PortableServer::POA_var poa_;
- CORBA::Boolean rel_;
-
- // copy and assignment are not allowed
- NativeDef_tie (const NativeDef_tie &);
- void operator= (const NativeDef_tie &);
- };
-
-#endif /* ACE_HAS_USING_KEYWORD */
-
- class PrimitiveDef;
- typedef PrimitiveDef *PrimitiveDef_ptr;
- // Forward Classes Declaration
- class _TAO_PrimitiveDef_ThruPOA_Proxy_Impl;
- class _TAO_PrimitiveDef_Strategized_Proxy_Broker;
-
- class PrimitiveDef : public virtual IDLType
- {
- protected:
- PrimitiveDef (void);
-
- public:
- PrimitiveDef (const PrimitiveDef& rhs);
- virtual ~PrimitiveDef (void);
-
-
- virtual CORBA::Boolean _is_a (
- const char* logical_type_id,
- CORBA::Environment &ACE_TRY_ENV =
- TAO_default_environment ()
- );
-
- virtual void* _downcast (
- const char* logical_type_id
- );
-
- static void _is_a_skel (
- TAO_ServerRequest &req,
- void *obj,
- void *context,
- CORBA::Environment &ACE_TRY_ENV =
- TAO_default_environment ()
- );
-
- static void _non_existent_skel (
- TAO_ServerRequest &req,
- void *obj,
- void *context,
- CORBA::Environment &ACE_TRY_ENV =
- TAO_default_environment ()
- );
-
- virtual void _dispatch (
- TAO_ServerRequest &_tao_req,
- void *_tao_context,
- CORBA::Environment &ACE_TRY_ENV =
- TAO_default_environment ()
- );
-
- IR_PrimitiveDef *_this (
- CORBA::Environment &ACE_TRY_ENV =
- TAO_default_environment ()
- );
-
- virtual const char* _interface_repository_id (void) const;
-
- virtual IR_PrimitiveKind kind (
- CORBA::Environment &ACE_TRY_ENV =
- TAO_default_environment ()
- )
- ACE_THROW_SPEC ((
- CORBA::SystemException
- )) = 0;
-
- static void _get_kind_skel (
- TAO_ServerRequest &_tao_req,
- void *_tao_obj,
- void *_tao_context,
- CORBA::Environment &ACE_TRY_ENV =
- TAO_default_environment ()
- );
-
- static void _get_type_skel (
- TAO_ServerRequest &req,
- void *obj,
- void *context,
- CORBA::Environment &env =
- TAO_default_environment ()
- );
-
- static void _get_def_kind_skel (
- TAO_ServerRequest &req,
- void *obj,
- void *context,
- CORBA::Environment &env =
- TAO_default_environment ()
- );
-
- static void destroy_skel (
- TAO_ServerRequest &req,
- void *obj,
- void *context,
- CORBA::Environment &env =
- TAO_default_environment ()
- );
-
-#if (TAO_HAS_INTERCEPTORS == 1)
- // Generation of interceptors related RequestInfo classes per operation.
- // This needed to be able to store the arguments, exceptions, contexts
- // and build the lists dynamically on demand so that unnecessary time overhead
- // of building these lists when they arent used is avoided.
- class TAO_ServerRequestInfo_IR_PrimitiveDef_kind_get : public TAO_ServerRequestInfo
- {
- public:
- friend class POA_IR::PrimitiveDef;
- TAO_ServerRequestInfo_IR_PrimitiveDef_kind_get (
- TAO_ServerRequest &_tao_server_request,
- POA_IR::PrimitiveDef *tao_impl
- ,
- CORBA::Environment &ACE_TRY_ENV =
- TAO_default_environment ()
- );
-
- virtual Dynamic::ParameterList * arguments (
- CORBA::Environment &ACE_TRY_ENV =
- TAO_default_environment ()
- )
- ACE_THROW_SPEC ((CORBA::SystemException));
-
- virtual Dynamic::ExceptionList * exceptions (
- CORBA::Environment &ACE_TRY_ENV =
- TAO_default_environment ()
- )
- ACE_THROW_SPEC ((CORBA::SystemException));
-
- virtual CORBA::Any * result (
- CORBA::Environment &ACE_TRY_ENV =
- TAO_default_environment ()
- )
- ACE_THROW_SPEC ((CORBA::SystemException));
-
- virtual char * target_most_derived_interface (
- CORBA::Environment &ACE_TRY_ENV = TAO_default_environment ())
- ACE_THROW_SPEC ((CORBA::SystemException));
-
- virtual CORBA::Boolean target_is_a (
- const char * id,
- CORBA::Environment &ACE_TRY_ENV = TAO_default_environment ())
- ACE_THROW_SPEC ((CORBA::SystemException));
-
-
- private:
- TAO_ServerRequestInfo_IR_PrimitiveDef_kind_get (const TAO_ServerRequestInfo_IR_PrimitiveDef_kind_get &);
- void operator= (const TAO_ServerRequestInfo_IR_PrimitiveDef_kind_get &);
-
- private:
- POA_IR::PrimitiveDef *_tao_impl;
- void result (IR::PrimitiveKind result);
- // update the result
- IR_PrimitiveKind _result;
- };
-
-#endif /* TAO_HAS_INTERCEPTORS */
-
- };
-
-///////////////////////////////////////////////////////////////////////
-// Strategized Proxy Broker Declaration
-//
-
-class _TAO_PrimitiveDef_Strategized_Proxy_Broker : public virtual _TAO_PrimitiveDef_Proxy_Broker
-{
-public:
- _TAO_PrimitiveDef_Strategized_Proxy_Broker (void);
-
- virtual ~_TAO_PrimitiveDef_Strategized_Proxy_Broker (void);
-
- virtual _TAO_PrimitiveDef_Proxy_Impl &select_proxy (
- IR_PrimitiveDef *object,
- CORBA_Environment &ACE_TRY_ENV = TAO_default_environment ()
- );
-
-private:
-
-// Helper methods that takes care to create the proxy
-// as soon as their use is necessary.
- void create_proxy (
- int strategy,
- CORBA::Environment &ACE_TRY_ENV
- );
-
-private:
-
- // Caches the proxy implementations. The proxy implementation
- // are totally stateless, and those can be shared by all the
- // instances of a given IDL interface type.
- _TAO_PrimitiveDef_Proxy_Impl
- *proxy_cache_[TAO_Collocation_Strategies::CS_LAST];
-
- TAO_SYNCH_MUTEX mutex_;
-// This funxtion is used to get an handle to the unique instance
-// of the Strategized Proxy Broker that is available for a given
-// interface.
-
-public:
- static _TAO_PrimitiveDef_Strategized_Proxy_Broker *the_TAO_PrimitiveDef_Strategized_Proxy_Broker (void);
-};
-
-//
-// End Strategized Proxy Broker Declaration
-///////////////////////////////////////////////////////////////////////
-
-
-///////////////////////////////////////////////////////////////////////
-// ThruPOA Impl. Declaration
-//
-
-class _TAO_PrimitiveDef_ThruPOA_Proxy_Impl :
- public virtual _TAO_PrimitiveDef_Proxy_Impl,
- public virtual TAO_ThruPOA_Object_Proxy_Impl,
- public virtual ::POA_IR::_TAO_IDLType_ThruPOA_Proxy_Impl
-
-{
-public:
- _TAO_PrimitiveDef_ThruPOA_Proxy_Impl (void);
-
- virtual ~_TAO_PrimitiveDef_ThruPOA_Proxy_Impl (void) { }
-
- virtual IR_PrimitiveKind kind (
- CORBA_Object *_collocated_tao_target_,
- CORBA::Environment &ACE_TRY_ENV
- )
- ACE_THROW_SPEC ((
- CORBA::SystemException
- ));
-
-};
-
-
-//
-// ThruPOA Proxy Impl. Declaration
-///////////////////////////////////////////////////////////////////////
-
-#if defined (ACE_HAS_USING_KEYWORD)
- // TIE class: Refer to CORBA v2.2, Section 20.34.4
- template <class T>
- class PrimitiveDef_tie : public PrimitiveDef
- {
- public:
- PrimitiveDef_tie (T &t);
- // the T& ctor
- PrimitiveDef_tie (T &t, PortableServer::POA_ptr poa);
- // ctor taking a POA
- PrimitiveDef_tie (T *tp, CORBA::Boolean release=1);
- // ctor taking pointer and an ownership flag
- PrimitiveDef_tie (T *tp, PortableServer::POA_ptr poa, CORBA::Boolean release=1);
- // ctor with T*, ownership flag and a POA
- ~PrimitiveDef_tie (void);
- // dtor
-
- // TIE specific functions
- T *_tied_object (void);
- // return the underlying object
- void _tied_object (T &obj);
- // set the underlying object
- void _tied_object (T *obj, CORBA::Boolean release=1);
- // set the underlying object and the ownership flag
- CORBA::Boolean _is_owner (void);
- // do we own it
- void _is_owner (CORBA::Boolean b);
- // set the ownership
-
- // overridden ServantBase operations
- PortableServer::POA_ptr _default_POA (
- CORBA::Environment &env =
- TAO_default_environment ()
- );
- IR_PrimitiveKind kind (
- CORBA::Environment &ACE_TRY_ENV =
- TAO_default_environment ()
- )
- ACE_THROW_SPEC ((
- CORBA::SystemException
- ));
-
- CORBA::TypeCode_ptr type (
- CORBA::Environment &ACE_TRY_ENV =
- TAO_default_environment ()
- )
- ACE_THROW_SPEC ((
- CORBA::SystemException
- ));
-
- IR_DefinitionKind def_kind (
- CORBA::Environment &ACE_TRY_ENV =
- TAO_default_environment ()
- )
- ACE_THROW_SPEC ((
- CORBA::SystemException
- ));
-
- void destroy (
- CORBA::Environment &ACE_TRY_ENV =
- TAO_default_environment ()
- )
- ACE_THROW_SPEC ((
- CORBA::SystemException
- ));
-
-private:
- T *ptr_;
- PortableServer::POA_var poa_;
- CORBA::Boolean rel_;
-
- // copy and assignment are not allowed
- PrimitiveDef_tie (const PrimitiveDef_tie &);
- void operator= (const PrimitiveDef_tie &);
- };
-
-#endif /* ACE_HAS_USING_KEYWORD */
-
- class StringDef;
- typedef StringDef *StringDef_ptr;
- // Forward Classes Declaration
- class _TAO_StringDef_ThruPOA_Proxy_Impl;
- class _TAO_StringDef_Strategized_Proxy_Broker;
-
- class StringDef : public virtual IDLType
- {
- protected:
- StringDef (void);
-
- public:
- StringDef (const StringDef& rhs);
- virtual ~StringDef (void);
-
-
- virtual CORBA::Boolean _is_a (
- const char* logical_type_id,
- CORBA::Environment &ACE_TRY_ENV =
- TAO_default_environment ()
- );
-
- virtual void* _downcast (
- const char* logical_type_id
- );
-
- static void _is_a_skel (
- TAO_ServerRequest &req,
- void *obj,
- void *context,
- CORBA::Environment &ACE_TRY_ENV =
- TAO_default_environment ()
- );
-
- static void _non_existent_skel (
- TAO_ServerRequest &req,
- void *obj,
- void *context,
- CORBA::Environment &ACE_TRY_ENV =
- TAO_default_environment ()
- );
-
- virtual void _dispatch (
- TAO_ServerRequest &_tao_req,
- void *_tao_context,
- CORBA::Environment &ACE_TRY_ENV =
- TAO_default_environment ()
- );
-
- IR_StringDef *_this (
- CORBA::Environment &ACE_TRY_ENV =
- TAO_default_environment ()
- );
-
- virtual const char* _interface_repository_id (void) const;
-
- virtual CORBA::ULong bound (
- CORBA::Environment &ACE_TRY_ENV =
- TAO_default_environment ()
- )
- ACE_THROW_SPEC ((
- CORBA::SystemException
- )) = 0;
-
- static void _get_bound_skel (
- TAO_ServerRequest &_tao_req,
- void *_tao_obj,
- void *_tao_context,
- CORBA::Environment &ACE_TRY_ENV =
- TAO_default_environment ()
- );
-
- virtual void bound (
- CORBA::ULong bound,
- CORBA::Environment &ACE_TRY_ENV =
- TAO_default_environment ()
- )
- ACE_THROW_SPEC ((
- CORBA::SystemException
- )) = 0;
-
- static void _set_bound_skel (
- TAO_ServerRequest &_tao_req,
- void *_tao_obj,
- void *_tao_context,
- CORBA::Environment &ACE_TRY_ENV =
- TAO_default_environment ()
- );
-
- static void _get_type_skel (
- TAO_ServerRequest &req,
- void *obj,
- void *context,
- CORBA::Environment &env =
- TAO_default_environment ()
- );
-
- static void _get_def_kind_skel (
- TAO_ServerRequest &req,
- void *obj,
- void *context,
- CORBA::Environment &env =
- TAO_default_environment ()
- );
-
- static void destroy_skel (
- TAO_ServerRequest &req,
- void *obj,
- void *context,
- CORBA::Environment &env =
- TAO_default_environment ()
- );
-
-#if (TAO_HAS_INTERCEPTORS == 1)
- // Generation of interceptors related RequestInfo classes per operation.
- // This needed to be able to store the arguments, exceptions, contexts
- // and build the lists dynamically on demand so that unnecessary time overhead
- // of building these lists when they arent used is avoided.
- class TAO_ServerRequestInfo_IR_StringDef_bound_get : public TAO_ServerRequestInfo
- {
- public:
- friend class POA_IR::StringDef;
- TAO_ServerRequestInfo_IR_StringDef_bound_get (
- TAO_ServerRequest &_tao_server_request,
- POA_IR::StringDef *tao_impl
- ,
- CORBA::Environment &ACE_TRY_ENV =
- TAO_default_environment ()
- );
-
- virtual Dynamic::ParameterList * arguments (
- CORBA::Environment &ACE_TRY_ENV =
- TAO_default_environment ()
- )
- ACE_THROW_SPEC ((CORBA::SystemException));
-
- virtual Dynamic::ExceptionList * exceptions (
- CORBA::Environment &ACE_TRY_ENV =
- TAO_default_environment ()
- )
- ACE_THROW_SPEC ((CORBA::SystemException));
-
- virtual CORBA::Any * result (
- CORBA::Environment &ACE_TRY_ENV =
- TAO_default_environment ()
- )
- ACE_THROW_SPEC ((CORBA::SystemException));
-
- virtual char * target_most_derived_interface (
- CORBA::Environment &ACE_TRY_ENV = TAO_default_environment ())
- ACE_THROW_SPEC ((CORBA::SystemException));
-
- virtual CORBA::Boolean target_is_a (
- const char * id,
- CORBA::Environment &ACE_TRY_ENV = TAO_default_environment ())
- ACE_THROW_SPEC ((CORBA::SystemException));
-
-
- private:
- TAO_ServerRequestInfo_IR_StringDef_bound_get (const TAO_ServerRequestInfo_IR_StringDef_bound_get &);
- void operator= (const TAO_ServerRequestInfo_IR_StringDef_bound_get &);
-
- private:
- POA_IR::StringDef *_tao_impl;
- void result (CORBA::ULong result);
- // update the result
- CORBA::ULong _result;
- };
-
- class TAO_ServerRequestInfo_IR_StringDef_bound_set : public TAO_ServerRequestInfo
- {
- public:
- friend class POA_IR::StringDef;
- TAO_ServerRequestInfo_IR_StringDef_bound_set (
- TAO_ServerRequest &_tao_server_request,
- POA_IR::StringDef *tao_impl
- ,
- const CORBA::ULong & bound,
- CORBA::Environment &ACE_TRY_ENV =
- TAO_default_environment ()
- );
-
- virtual Dynamic::ParameterList * arguments (
- CORBA::Environment &ACE_TRY_ENV =
- TAO_default_environment ()
- )
- ACE_THROW_SPEC ((CORBA::SystemException));
-
- virtual Dynamic::ExceptionList * exceptions (
- CORBA::Environment &ACE_TRY_ENV =
- TAO_default_environment ()
- )
- ACE_THROW_SPEC ((CORBA::SystemException));
-
- virtual CORBA::Any * result (
- CORBA::Environment &ACE_TRY_ENV =
- TAO_default_environment ()
- )
- ACE_THROW_SPEC ((CORBA::SystemException));
-
- virtual char * target_most_derived_interface (
- CORBA::Environment &ACE_TRY_ENV = TAO_default_environment ())
- ACE_THROW_SPEC ((CORBA::SystemException));
-
- virtual CORBA::Boolean target_is_a (
- const char * id,
- CORBA::Environment &ACE_TRY_ENV = TAO_default_environment ())
- ACE_THROW_SPEC ((CORBA::SystemException));
-
-
- private:
- TAO_ServerRequestInfo_IR_StringDef_bound_set (const TAO_ServerRequestInfo_IR_StringDef_bound_set &);
- void operator= (const TAO_ServerRequestInfo_IR_StringDef_bound_set &);
-
- private:
- POA_IR::StringDef *_tao_impl;
- const CORBA::ULong & bound_;
- };
-
-#endif /* TAO_HAS_INTERCEPTORS */
-
- };
-
-///////////////////////////////////////////////////////////////////////
-// Strategized Proxy Broker Declaration
-//
-
-class _TAO_StringDef_Strategized_Proxy_Broker : public virtual _TAO_StringDef_Proxy_Broker
-{
-public:
- _TAO_StringDef_Strategized_Proxy_Broker (void);
-
- virtual ~_TAO_StringDef_Strategized_Proxy_Broker (void);
-
- virtual _TAO_StringDef_Proxy_Impl &select_proxy (
- IR_StringDef *object,
- CORBA_Environment &ACE_TRY_ENV = TAO_default_environment ()
- );
-
-private:
-
-// Helper methods that takes care to create the proxy
-// as soon as their use is necessary.
- void create_proxy (
- int strategy,
- CORBA::Environment &ACE_TRY_ENV
- );
-
-private:
-
- // Caches the proxy implementations. The proxy implementation
- // are totally stateless, and those can be shared by all the
- // instances of a given IDL interface type.
- _TAO_StringDef_Proxy_Impl
- *proxy_cache_[TAO_Collocation_Strategies::CS_LAST];
-
- TAO_SYNCH_MUTEX mutex_;
-// This funxtion is used to get an handle to the unique instance
-// of the Strategized Proxy Broker that is available for a given
-// interface.
-
-public:
- static _TAO_StringDef_Strategized_Proxy_Broker *the_TAO_StringDef_Strategized_Proxy_Broker (void);
-};
-
-//
-// End Strategized Proxy Broker Declaration
-///////////////////////////////////////////////////////////////////////
-
-
-///////////////////////////////////////////////////////////////////////
-// ThruPOA Impl. Declaration
-//
-
-class _TAO_StringDef_ThruPOA_Proxy_Impl :
- public virtual _TAO_StringDef_Proxy_Impl,
- public virtual TAO_ThruPOA_Object_Proxy_Impl,
- public virtual ::POA_IR::_TAO_IDLType_ThruPOA_Proxy_Impl
-
-{
-public:
- _TAO_StringDef_ThruPOA_Proxy_Impl (void);
-
- virtual ~_TAO_StringDef_ThruPOA_Proxy_Impl (void) { }
-
- virtual CORBA::ULong bound (
- CORBA_Object *_collocated_tao_target_,
- CORBA::Environment &ACE_TRY_ENV
- )
- ACE_THROW_SPEC ((
- CORBA::SystemException
- ));
-
- virtual void bound (
- CORBA_Object *_collocated_tao_target_,
- CORBA::ULong bound,
- CORBA::Environment &ACE_TRY_ENV
- )
- ACE_THROW_SPEC ((
- CORBA::SystemException
- ));
-
-};
-
-
-//
-// ThruPOA Proxy Impl. Declaration
-///////////////////////////////////////////////////////////////////////
-
-#if defined (ACE_HAS_USING_KEYWORD)
- // TIE class: Refer to CORBA v2.2, Section 20.34.4
- template <class T>
- class StringDef_tie : public StringDef
- {
- public:
- StringDef_tie (T &t);
- // the T& ctor
- StringDef_tie (T &t, PortableServer::POA_ptr poa);
- // ctor taking a POA
- StringDef_tie (T *tp, CORBA::Boolean release=1);
- // ctor taking pointer and an ownership flag
- StringDef_tie (T *tp, PortableServer::POA_ptr poa, CORBA::Boolean release=1);
- // ctor with T*, ownership flag and a POA
- ~StringDef_tie (void);
- // dtor
-
- // TIE specific functions
- T *_tied_object (void);
- // return the underlying object
- void _tied_object (T &obj);
- // set the underlying object
- void _tied_object (T *obj, CORBA::Boolean release=1);
- // set the underlying object and the ownership flag
- CORBA::Boolean _is_owner (void);
- // do we own it
- void _is_owner (CORBA::Boolean b);
- // set the ownership
-
- // overridden ServantBase operations
- PortableServer::POA_ptr _default_POA (
- CORBA::Environment &env =
- TAO_default_environment ()
- );
- CORBA::ULong bound (
- CORBA::Environment &ACE_TRY_ENV =
- TAO_default_environment ()
- )
- ACE_THROW_SPEC ((
- CORBA::SystemException
- ));
-
- void bound (
- CORBA::ULong bound,
- CORBA::Environment &ACE_TRY_ENV =
- TAO_default_environment ()
- )
- ACE_THROW_SPEC ((
- CORBA::SystemException
- ));
-
- CORBA::TypeCode_ptr type (
- CORBA::Environment &ACE_TRY_ENV =
- TAO_default_environment ()
- )
- ACE_THROW_SPEC ((
- CORBA::SystemException
- ));
-
- IR_DefinitionKind def_kind (
- CORBA::Environment &ACE_TRY_ENV =
- TAO_default_environment ()
- )
- ACE_THROW_SPEC ((
- CORBA::SystemException
- ));
-
- void destroy (
- CORBA::Environment &ACE_TRY_ENV =
- TAO_default_environment ()
- )
- ACE_THROW_SPEC ((
- CORBA::SystemException
- ));
-
-private:
- T *ptr_;
- PortableServer::POA_var poa_;
- CORBA::Boolean rel_;
-
- // copy and assignment are not allowed
- StringDef_tie (const StringDef_tie &);
- void operator= (const StringDef_tie &);
- };
-
-#endif /* ACE_HAS_USING_KEYWORD */
-
- class WstringDef;
- typedef WstringDef *WstringDef_ptr;
- // Forward Classes Declaration
- class _TAO_WstringDef_ThruPOA_Proxy_Impl;
- class _TAO_WstringDef_Strategized_Proxy_Broker;
-
- class WstringDef : public virtual IDLType
- {
- protected:
- WstringDef (void);
-
- public:
- WstringDef (const WstringDef& rhs);
- virtual ~WstringDef (void);
-
-
- virtual CORBA::Boolean _is_a (
- const char* logical_type_id,
- CORBA::Environment &ACE_TRY_ENV =
- TAO_default_environment ()
- );
-
- virtual void* _downcast (
- const char* logical_type_id
- );
-
- static void _is_a_skel (
- TAO_ServerRequest &req,
- void *obj,
- void *context,
- CORBA::Environment &ACE_TRY_ENV =
- TAO_default_environment ()
- );
-
- static void _non_existent_skel (
- TAO_ServerRequest &req,
- void *obj,
- void *context,
- CORBA::Environment &ACE_TRY_ENV =
- TAO_default_environment ()
- );
-
- virtual void _dispatch (
- TAO_ServerRequest &_tao_req,
- void *_tao_context,
- CORBA::Environment &ACE_TRY_ENV =
- TAO_default_environment ()
- );
-
- IR_WstringDef *_this (
- CORBA::Environment &ACE_TRY_ENV =
- TAO_default_environment ()
- );
-
- virtual const char* _interface_repository_id (void) const;
-
- virtual CORBA::ULong bound (
- CORBA::Environment &ACE_TRY_ENV =
- TAO_default_environment ()
- )
- ACE_THROW_SPEC ((
- CORBA::SystemException
- )) = 0;
-
- static void _get_bound_skel (
- TAO_ServerRequest &_tao_req,
- void *_tao_obj,
- void *_tao_context,
- CORBA::Environment &ACE_TRY_ENV =
- TAO_default_environment ()
- );
-
- virtual void bound (
- CORBA::ULong bound,
- CORBA::Environment &ACE_TRY_ENV =
- TAO_default_environment ()
- )
- ACE_THROW_SPEC ((
- CORBA::SystemException
- )) = 0;
-
- static void _set_bound_skel (
- TAO_ServerRequest &_tao_req,
- void *_tao_obj,
- void *_tao_context,
- CORBA::Environment &ACE_TRY_ENV =
- TAO_default_environment ()
- );
-
- static void _get_type_skel (
- TAO_ServerRequest &req,
- void *obj,
- void *context,
- CORBA::Environment &env =
- TAO_default_environment ()
- );
-
- static void _get_def_kind_skel (
- TAO_ServerRequest &req,
- void *obj,
- void *context,
- CORBA::Environment &env =
- TAO_default_environment ()
- );
-
- static void destroy_skel (
- TAO_ServerRequest &req,
- void *obj,
- void *context,
- CORBA::Environment &env =
- TAO_default_environment ()
- );
-
-#if (TAO_HAS_INTERCEPTORS == 1)
- // Generation of interceptors related RequestInfo classes per operation.
- // This needed to be able to store the arguments, exceptions, contexts
- // and build the lists dynamically on demand so that unnecessary time overhead
- // of building these lists when they arent used is avoided.
- class TAO_ServerRequestInfo_IR_WstringDef_bound_get : public TAO_ServerRequestInfo
- {
- public:
- friend class POA_IR::WstringDef;
- TAO_ServerRequestInfo_IR_WstringDef_bound_get (
- TAO_ServerRequest &_tao_server_request,
- POA_IR::WstringDef *tao_impl
- ,
- CORBA::Environment &ACE_TRY_ENV =
- TAO_default_environment ()
- );
-
- virtual Dynamic::ParameterList * arguments (
- CORBA::Environment &ACE_TRY_ENV =
- TAO_default_environment ()
- )
- ACE_THROW_SPEC ((CORBA::SystemException));
-
- virtual Dynamic::ExceptionList * exceptions (
- CORBA::Environment &ACE_TRY_ENV =
- TAO_default_environment ()
- )
- ACE_THROW_SPEC ((CORBA::SystemException));
-
- virtual CORBA::Any * result (
- CORBA::Environment &ACE_TRY_ENV =
- TAO_default_environment ()
- )
- ACE_THROW_SPEC ((CORBA::SystemException));
-
- virtual char * target_most_derived_interface (
- CORBA::Environment &ACE_TRY_ENV = TAO_default_environment ())
- ACE_THROW_SPEC ((CORBA::SystemException));
-
- virtual CORBA::Boolean target_is_a (
- const char * id,
- CORBA::Environment &ACE_TRY_ENV = TAO_default_environment ())
- ACE_THROW_SPEC ((CORBA::SystemException));
-
-
- private:
- TAO_ServerRequestInfo_IR_WstringDef_bound_get (const TAO_ServerRequestInfo_IR_WstringDef_bound_get &);
- void operator= (const TAO_ServerRequestInfo_IR_WstringDef_bound_get &);
-
- private:
- POA_IR::WstringDef *_tao_impl;
- void result (CORBA::ULong result);
- // update the result
- CORBA::ULong _result;
- };
-
- class TAO_ServerRequestInfo_IR_WstringDef_bound_set : public TAO_ServerRequestInfo
- {
- public:
- friend class POA_IR::WstringDef;
- TAO_ServerRequestInfo_IR_WstringDef_bound_set (
- TAO_ServerRequest &_tao_server_request,
- POA_IR::WstringDef *tao_impl
- ,
- const CORBA::ULong & bound,
- CORBA::Environment &ACE_TRY_ENV =
- TAO_default_environment ()
- );
-
- virtual Dynamic::ParameterList * arguments (
- CORBA::Environment &ACE_TRY_ENV =
- TAO_default_environment ()
- )
- ACE_THROW_SPEC ((CORBA::SystemException));
-
- virtual Dynamic::ExceptionList * exceptions (
- CORBA::Environment &ACE_TRY_ENV =
- TAO_default_environment ()
- )
- ACE_THROW_SPEC ((CORBA::SystemException));
-
- virtual CORBA::Any * result (
- CORBA::Environment &ACE_TRY_ENV =
- TAO_default_environment ()
- )
- ACE_THROW_SPEC ((CORBA::SystemException));
-
- virtual char * target_most_derived_interface (
- CORBA::Environment &ACE_TRY_ENV = TAO_default_environment ())
- ACE_THROW_SPEC ((CORBA::SystemException));
-
- virtual CORBA::Boolean target_is_a (
- const char * id,
- CORBA::Environment &ACE_TRY_ENV = TAO_default_environment ())
- ACE_THROW_SPEC ((CORBA::SystemException));
-
-
- private:
- TAO_ServerRequestInfo_IR_WstringDef_bound_set (const TAO_ServerRequestInfo_IR_WstringDef_bound_set &);
- void operator= (const TAO_ServerRequestInfo_IR_WstringDef_bound_set &);
-
- private:
- POA_IR::WstringDef *_tao_impl;
- const CORBA::ULong & bound_;
- };
-
-#endif /* TAO_HAS_INTERCEPTORS */
-
- };
-
-///////////////////////////////////////////////////////////////////////
-// Strategized Proxy Broker Declaration
-//
-
-class _TAO_WstringDef_Strategized_Proxy_Broker : public virtual _TAO_WstringDef_Proxy_Broker
-{
-public:
- _TAO_WstringDef_Strategized_Proxy_Broker (void);
-
- virtual ~_TAO_WstringDef_Strategized_Proxy_Broker (void);
-
- virtual _TAO_WstringDef_Proxy_Impl &select_proxy (
- IR_WstringDef *object,
- CORBA_Environment &ACE_TRY_ENV = TAO_default_environment ()
- );
-
-private:
-
-// Helper methods that takes care to create the proxy
-// as soon as their use is necessary.
- void create_proxy (
- int strategy,
- CORBA::Environment &ACE_TRY_ENV
- );
-
-private:
-
- // Caches the proxy implementations. The proxy implementation
- // are totally stateless, and those can be shared by all the
- // instances of a given IDL interface type.
- _TAO_WstringDef_Proxy_Impl
- *proxy_cache_[TAO_Collocation_Strategies::CS_LAST];
-
- TAO_SYNCH_MUTEX mutex_;
-// This funxtion is used to get an handle to the unique instance
-// of the Strategized Proxy Broker that is available for a given
-// interface.
-
-public:
- static _TAO_WstringDef_Strategized_Proxy_Broker *the_TAO_WstringDef_Strategized_Proxy_Broker (void);
-};
-
-//
-// End Strategized Proxy Broker Declaration
-///////////////////////////////////////////////////////////////////////
-
-
-///////////////////////////////////////////////////////////////////////
-// ThruPOA Impl. Declaration
-//
-
-class _TAO_WstringDef_ThruPOA_Proxy_Impl :
- public virtual _TAO_WstringDef_Proxy_Impl,
- public virtual TAO_ThruPOA_Object_Proxy_Impl,
- public virtual ::POA_IR::_TAO_IDLType_ThruPOA_Proxy_Impl
-
-{
-public:
- _TAO_WstringDef_ThruPOA_Proxy_Impl (void);
-
- virtual ~_TAO_WstringDef_ThruPOA_Proxy_Impl (void) { }
-
- virtual CORBA::ULong bound (
- CORBA_Object *_collocated_tao_target_,
- CORBA::Environment &ACE_TRY_ENV
- )
- ACE_THROW_SPEC ((
- CORBA::SystemException
- ));
-
- virtual void bound (
- CORBA_Object *_collocated_tao_target_,
- CORBA::ULong bound,
- CORBA::Environment &ACE_TRY_ENV
- )
- ACE_THROW_SPEC ((
- CORBA::SystemException
- ));
-
-};
-
-
-//
-// ThruPOA Proxy Impl. Declaration
-///////////////////////////////////////////////////////////////////////
-
-#if defined (ACE_HAS_USING_KEYWORD)
- // TIE class: Refer to CORBA v2.2, Section 20.34.4
- template <class T>
- class WstringDef_tie : public WstringDef
- {
- public:
- WstringDef_tie (T &t);
- // the T& ctor
- WstringDef_tie (T &t, PortableServer::POA_ptr poa);
- // ctor taking a POA
- WstringDef_tie (T *tp, CORBA::Boolean release=1);
- // ctor taking pointer and an ownership flag
- WstringDef_tie (T *tp, PortableServer::POA_ptr poa, CORBA::Boolean release=1);
- // ctor with T*, ownership flag and a POA
- ~WstringDef_tie (void);
- // dtor
-
- // TIE specific functions
- T *_tied_object (void);
- // return the underlying object
- void _tied_object (T &obj);
- // set the underlying object
- void _tied_object (T *obj, CORBA::Boolean release=1);
- // set the underlying object and the ownership flag
- CORBA::Boolean _is_owner (void);
- // do we own it
- void _is_owner (CORBA::Boolean b);
- // set the ownership
-
- // overridden ServantBase operations
- PortableServer::POA_ptr _default_POA (
- CORBA::Environment &env =
- TAO_default_environment ()
- );
- CORBA::ULong bound (
- CORBA::Environment &ACE_TRY_ENV =
- TAO_default_environment ()
- )
- ACE_THROW_SPEC ((
- CORBA::SystemException
- ));
-
- void bound (
- CORBA::ULong bound,
- CORBA::Environment &ACE_TRY_ENV =
- TAO_default_environment ()
- )
- ACE_THROW_SPEC ((
- CORBA::SystemException
- ));
-
- CORBA::TypeCode_ptr type (
- CORBA::Environment &ACE_TRY_ENV =
- TAO_default_environment ()
- )
- ACE_THROW_SPEC ((
- CORBA::SystemException
- ));
-
- IR_DefinitionKind def_kind (
- CORBA::Environment &ACE_TRY_ENV =
- TAO_default_environment ()
- )
- ACE_THROW_SPEC ((
- CORBA::SystemException
- ));
-
- void destroy (
- CORBA::Environment &ACE_TRY_ENV =
- TAO_default_environment ()
- )
- ACE_THROW_SPEC ((
- CORBA::SystemException
- ));
-
-private:
- T *ptr_;
- PortableServer::POA_var poa_;
- CORBA::Boolean rel_;
-
- // copy and assignment are not allowed
- WstringDef_tie (const WstringDef_tie &);
- void operator= (const WstringDef_tie &);
- };
-
-#endif /* ACE_HAS_USING_KEYWORD */
-
- class FixedDef;
- typedef FixedDef *FixedDef_ptr;
- // Forward Classes Declaration
- class _TAO_FixedDef_ThruPOA_Proxy_Impl;
- class _TAO_FixedDef_Strategized_Proxy_Broker;
-
- class FixedDef : public virtual IDLType
- {
- protected:
- FixedDef (void);
-
- public:
- FixedDef (const FixedDef& rhs);
- virtual ~FixedDef (void);
-
-
- virtual CORBA::Boolean _is_a (
- const char* logical_type_id,
- CORBA::Environment &ACE_TRY_ENV =
- TAO_default_environment ()
- );
-
- virtual void* _downcast (
- const char* logical_type_id
- );
-
- static void _is_a_skel (
- TAO_ServerRequest &req,
- void *obj,
- void *context,
- CORBA::Environment &ACE_TRY_ENV =
- TAO_default_environment ()
- );
-
- static void _non_existent_skel (
- TAO_ServerRequest &req,
- void *obj,
- void *context,
- CORBA::Environment &ACE_TRY_ENV =
- TAO_default_environment ()
- );
-
- virtual void _dispatch (
- TAO_ServerRequest &_tao_req,
- void *_tao_context,
- CORBA::Environment &ACE_TRY_ENV =
- TAO_default_environment ()
- );
-
- IR_FixedDef *_this (
- CORBA::Environment &ACE_TRY_ENV =
- TAO_default_environment ()
- );
-
- virtual const char* _interface_repository_id (void) const;
-
- virtual CORBA::UShort digits (
- CORBA::Environment &ACE_TRY_ENV =
- TAO_default_environment ()
- )
- ACE_THROW_SPEC ((
- CORBA::SystemException
- )) = 0;
-
- static void _get_digits_skel (
- TAO_ServerRequest &_tao_req,
- void *_tao_obj,
- void *_tao_context,
- CORBA::Environment &ACE_TRY_ENV =
- TAO_default_environment ()
- );
-
- virtual void digits (
- CORBA::UShort digits,
- CORBA::Environment &ACE_TRY_ENV =
- TAO_default_environment ()
- )
- ACE_THROW_SPEC ((
- CORBA::SystemException
- )) = 0;
-
- static void _set_digits_skel (
- TAO_ServerRequest &_tao_req,
- void *_tao_obj,
- void *_tao_context,
- CORBA::Environment &ACE_TRY_ENV =
- TAO_default_environment ()
- );
-
- virtual CORBA::Short scale (
- CORBA::Environment &ACE_TRY_ENV =
- TAO_default_environment ()
- )
- ACE_THROW_SPEC ((
- CORBA::SystemException
- )) = 0;
-
- static void _get_scale_skel (
- TAO_ServerRequest &_tao_req,
- void *_tao_obj,
- void *_tao_context,
- CORBA::Environment &ACE_TRY_ENV =
- TAO_default_environment ()
- );
-
- virtual void scale (
- CORBA::Short scale,
- CORBA::Environment &ACE_TRY_ENV =
- TAO_default_environment ()
- )
- ACE_THROW_SPEC ((
- CORBA::SystemException
- )) = 0;
-
- static void _set_scale_skel (
- TAO_ServerRequest &_tao_req,
- void *_tao_obj,
- void *_tao_context,
- CORBA::Environment &ACE_TRY_ENV =
- TAO_default_environment ()
- );
-
- static void _get_type_skel (
- TAO_ServerRequest &req,
- void *obj,
- void *context,
- CORBA::Environment &env =
- TAO_default_environment ()
- );
-
- static void _get_def_kind_skel (
- TAO_ServerRequest &req,
- void *obj,
- void *context,
- CORBA::Environment &env =
- TAO_default_environment ()
- );
-
- static void destroy_skel (
- TAO_ServerRequest &req,
- void *obj,
- void *context,
- CORBA::Environment &env =
- TAO_default_environment ()
- );
-
-#if (TAO_HAS_INTERCEPTORS == 1)
- // Generation of interceptors related RequestInfo classes per operation.
- // This needed to be able to store the arguments, exceptions, contexts
- // and build the lists dynamically on demand so that unnecessary time overhead
- // of building these lists when they arent used is avoided.
- class TAO_ServerRequestInfo_IR_FixedDef_digits_get : public TAO_ServerRequestInfo
- {
- public:
- friend class POA_IR::FixedDef;
- TAO_ServerRequestInfo_IR_FixedDef_digits_get (
- TAO_ServerRequest &_tao_server_request,
- POA_IR::FixedDef *tao_impl
- ,
- CORBA::Environment &ACE_TRY_ENV =
- TAO_default_environment ()
- );
-
- virtual Dynamic::ParameterList * arguments (
- CORBA::Environment &ACE_TRY_ENV =
- TAO_default_environment ()
- )
- ACE_THROW_SPEC ((CORBA::SystemException));
-
- virtual Dynamic::ExceptionList * exceptions (
- CORBA::Environment &ACE_TRY_ENV =
- TAO_default_environment ()
- )
- ACE_THROW_SPEC ((CORBA::SystemException));
-
- virtual CORBA::Any * result (
- CORBA::Environment &ACE_TRY_ENV =
- TAO_default_environment ()
- )
- ACE_THROW_SPEC ((CORBA::SystemException));
-
- virtual char * target_most_derived_interface (
- CORBA::Environment &ACE_TRY_ENV = TAO_default_environment ())
- ACE_THROW_SPEC ((CORBA::SystemException));
-
- virtual CORBA::Boolean target_is_a (
- const char * id,
- CORBA::Environment &ACE_TRY_ENV = TAO_default_environment ())
- ACE_THROW_SPEC ((CORBA::SystemException));
-
-
- private:
- TAO_ServerRequestInfo_IR_FixedDef_digits_get (const TAO_ServerRequestInfo_IR_FixedDef_digits_get &);
- void operator= (const TAO_ServerRequestInfo_IR_FixedDef_digits_get &);
-
- private:
- POA_IR::FixedDef *_tao_impl;
- void result (CORBA::UShort result);
- // update the result
- CORBA::UShort _result;
- };
-
- class TAO_ServerRequestInfo_IR_FixedDef_digits_set : public TAO_ServerRequestInfo
- {
- public:
- friend class POA_IR::FixedDef;
- TAO_ServerRequestInfo_IR_FixedDef_digits_set (
- TAO_ServerRequest &_tao_server_request,
- POA_IR::FixedDef *tao_impl
- ,
- const CORBA::UShort & digits,
- CORBA::Environment &ACE_TRY_ENV =
- TAO_default_environment ()
- );
-
- virtual Dynamic::ParameterList * arguments (
- CORBA::Environment &ACE_TRY_ENV =
- TAO_default_environment ()
- )
- ACE_THROW_SPEC ((CORBA::SystemException));
-
- virtual Dynamic::ExceptionList * exceptions (
- CORBA::Environment &ACE_TRY_ENV =
- TAO_default_environment ()
- )
- ACE_THROW_SPEC ((CORBA::SystemException));
-
- virtual CORBA::Any * result (
- CORBA::Environment &ACE_TRY_ENV =
- TAO_default_environment ()
- )
- ACE_THROW_SPEC ((CORBA::SystemException));
-
- virtual char * target_most_derived_interface (
- CORBA::Environment &ACE_TRY_ENV = TAO_default_environment ())
- ACE_THROW_SPEC ((CORBA::SystemException));
-
- virtual CORBA::Boolean target_is_a (
- const char * id,
- CORBA::Environment &ACE_TRY_ENV = TAO_default_environment ())
- ACE_THROW_SPEC ((CORBA::SystemException));
-
-
- private:
- TAO_ServerRequestInfo_IR_FixedDef_digits_set (const TAO_ServerRequestInfo_IR_FixedDef_digits_set &);
- void operator= (const TAO_ServerRequestInfo_IR_FixedDef_digits_set &);
-
- private:
- POA_IR::FixedDef *_tao_impl;
- const CORBA::UShort & digits_;
- };
-
- class TAO_ServerRequestInfo_IR_FixedDef_scale_get : public TAO_ServerRequestInfo
- {
- public:
- friend class POA_IR::FixedDef;
- TAO_ServerRequestInfo_IR_FixedDef_scale_get (
- TAO_ServerRequest &_tao_server_request,
- POA_IR::FixedDef *tao_impl
- ,
- CORBA::Environment &ACE_TRY_ENV =
- TAO_default_environment ()
- );
-
- virtual Dynamic::ParameterList * arguments (
- CORBA::Environment &ACE_TRY_ENV =
- TAO_default_environment ()
- )
- ACE_THROW_SPEC ((CORBA::SystemException));
-
- virtual Dynamic::ExceptionList * exceptions (
- CORBA::Environment &ACE_TRY_ENV =
- TAO_default_environment ()
- )
- ACE_THROW_SPEC ((CORBA::SystemException));
-
- virtual CORBA::Any * result (
- CORBA::Environment &ACE_TRY_ENV =
- TAO_default_environment ()
- )
- ACE_THROW_SPEC ((CORBA::SystemException));
-
- virtual char * target_most_derived_interface (
- CORBA::Environment &ACE_TRY_ENV = TAO_default_environment ())
- ACE_THROW_SPEC ((CORBA::SystemException));
-
- virtual CORBA::Boolean target_is_a (
- const char * id,
- CORBA::Environment &ACE_TRY_ENV = TAO_default_environment ())
- ACE_THROW_SPEC ((CORBA::SystemException));
-
-
- private:
- TAO_ServerRequestInfo_IR_FixedDef_scale_get (const TAO_ServerRequestInfo_IR_FixedDef_scale_get &);
- void operator= (const TAO_ServerRequestInfo_IR_FixedDef_scale_get &);
-
- private:
- POA_IR::FixedDef *_tao_impl;
- void result (CORBA::Short result);
- // update the result
- CORBA::Short _result;
- };
-
- class TAO_ServerRequestInfo_IR_FixedDef_scale_set : public TAO_ServerRequestInfo
- {
- public:
- friend class POA_IR::FixedDef;
- TAO_ServerRequestInfo_IR_FixedDef_scale_set (
- TAO_ServerRequest &_tao_server_request,
- POA_IR::FixedDef *tao_impl
- ,
- const CORBA::Short & scale,
- CORBA::Environment &ACE_TRY_ENV =
- TAO_default_environment ()
- );
-
- virtual Dynamic::ParameterList * arguments (
- CORBA::Environment &ACE_TRY_ENV =
- TAO_default_environment ()
- )
- ACE_THROW_SPEC ((CORBA::SystemException));
-
- virtual Dynamic::ExceptionList * exceptions (
- CORBA::Environment &ACE_TRY_ENV =
- TAO_default_environment ()
- )
- ACE_THROW_SPEC ((CORBA::SystemException));
-
- virtual CORBA::Any * result (
- CORBA::Environment &ACE_TRY_ENV =
- TAO_default_environment ()
- )
- ACE_THROW_SPEC ((CORBA::SystemException));
-
- virtual char * target_most_derived_interface (
- CORBA::Environment &ACE_TRY_ENV = TAO_default_environment ())
- ACE_THROW_SPEC ((CORBA::SystemException));
-
- virtual CORBA::Boolean target_is_a (
- const char * id,
- CORBA::Environment &ACE_TRY_ENV = TAO_default_environment ())
- ACE_THROW_SPEC ((CORBA::SystemException));
-
-
- private:
- TAO_ServerRequestInfo_IR_FixedDef_scale_set (const TAO_ServerRequestInfo_IR_FixedDef_scale_set &);
- void operator= (const TAO_ServerRequestInfo_IR_FixedDef_scale_set &);
-
- private:
- POA_IR::FixedDef *_tao_impl;
- const CORBA::Short & scale_;
- };
-
-#endif /* TAO_HAS_INTERCEPTORS */
-
- };
-
-///////////////////////////////////////////////////////////////////////
-// Strategized Proxy Broker Declaration
-//
-
-class _TAO_FixedDef_Strategized_Proxy_Broker : public virtual _TAO_FixedDef_Proxy_Broker
-{
-public:
- _TAO_FixedDef_Strategized_Proxy_Broker (void);
-
- virtual ~_TAO_FixedDef_Strategized_Proxy_Broker (void);
-
- virtual _TAO_FixedDef_Proxy_Impl &select_proxy (
- IR_FixedDef *object,
- CORBA_Environment &ACE_TRY_ENV = TAO_default_environment ()
- );
-
-private:
-
-// Helper methods that takes care to create the proxy
-// as soon as their use is necessary.
- void create_proxy (
- int strategy,
- CORBA::Environment &ACE_TRY_ENV
- );
-
-private:
-
- // Caches the proxy implementations. The proxy implementation
- // are totally stateless, and those can be shared by all the
- // instances of a given IDL interface type.
- _TAO_FixedDef_Proxy_Impl
- *proxy_cache_[TAO_Collocation_Strategies::CS_LAST];
-
- TAO_SYNCH_MUTEX mutex_;
-// This funxtion is used to get an handle to the unique instance
-// of the Strategized Proxy Broker that is available for a given
-// interface.
-
-public:
- static _TAO_FixedDef_Strategized_Proxy_Broker *the_TAO_FixedDef_Strategized_Proxy_Broker (void);
-};
-
-//
-// End Strategized Proxy Broker Declaration
-///////////////////////////////////////////////////////////////////////
-
-
-///////////////////////////////////////////////////////////////////////
-// ThruPOA Impl. Declaration
-//
-
-class _TAO_FixedDef_ThruPOA_Proxy_Impl :
- public virtual _TAO_FixedDef_Proxy_Impl,
- public virtual TAO_ThruPOA_Object_Proxy_Impl,
- public virtual ::POA_IR::_TAO_IDLType_ThruPOA_Proxy_Impl
-
-{
-public:
- _TAO_FixedDef_ThruPOA_Proxy_Impl (void);
-
- virtual ~_TAO_FixedDef_ThruPOA_Proxy_Impl (void) { }
-
- virtual CORBA::UShort digits (
- CORBA_Object *_collocated_tao_target_,
- CORBA::Environment &ACE_TRY_ENV
- )
- ACE_THROW_SPEC ((
- CORBA::SystemException
- ));
-
- virtual void digits (
- CORBA_Object *_collocated_tao_target_,
- CORBA::UShort digits,
- CORBA::Environment &ACE_TRY_ENV
- )
- ACE_THROW_SPEC ((
- CORBA::SystemException
- ));
-
- virtual CORBA::Short scale (
- CORBA_Object *_collocated_tao_target_,
- CORBA::Environment &ACE_TRY_ENV
- )
- ACE_THROW_SPEC ((
- CORBA::SystemException
- ));
-
- virtual void scale (
- CORBA_Object *_collocated_tao_target_,
- CORBA::Short scale,
- CORBA::Environment &ACE_TRY_ENV
- )
- ACE_THROW_SPEC ((
- CORBA::SystemException
- ));
-
-};
-
-
-//
-// ThruPOA Proxy Impl. Declaration
-///////////////////////////////////////////////////////////////////////
-
-#if defined (ACE_HAS_USING_KEYWORD)
- // TIE class: Refer to CORBA v2.2, Section 20.34.4
- template <class T>
- class FixedDef_tie : public FixedDef
- {
- public:
- FixedDef_tie (T &t);
- // the T& ctor
- FixedDef_tie (T &t, PortableServer::POA_ptr poa);
- // ctor taking a POA
- FixedDef_tie (T *tp, CORBA::Boolean release=1);
- // ctor taking pointer and an ownership flag
- FixedDef_tie (T *tp, PortableServer::POA_ptr poa, CORBA::Boolean release=1);
- // ctor with T*, ownership flag and a POA
- ~FixedDef_tie (void);
- // dtor
-
- // TIE specific functions
- T *_tied_object (void);
- // return the underlying object
- void _tied_object (T &obj);
- // set the underlying object
- void _tied_object (T *obj, CORBA::Boolean release=1);
- // set the underlying object and the ownership flag
- CORBA::Boolean _is_owner (void);
- // do we own it
- void _is_owner (CORBA::Boolean b);
- // set the ownership
-
- // overridden ServantBase operations
- PortableServer::POA_ptr _default_POA (
- CORBA::Environment &env =
- TAO_default_environment ()
- );
- CORBA::UShort digits (
- CORBA::Environment &ACE_TRY_ENV =
- TAO_default_environment ()
- )
- ACE_THROW_SPEC ((
- CORBA::SystemException
- ));
-
- void digits (
- CORBA::UShort digits,
- CORBA::Environment &ACE_TRY_ENV =
- TAO_default_environment ()
- )
- ACE_THROW_SPEC ((
- CORBA::SystemException
- ));
-
- CORBA::Short scale (
- CORBA::Environment &ACE_TRY_ENV =
- TAO_default_environment ()
- )
- ACE_THROW_SPEC ((
- CORBA::SystemException
- ));
-
- void scale (
- CORBA::Short scale,
- CORBA::Environment &ACE_TRY_ENV =
- TAO_default_environment ()
- )
- ACE_THROW_SPEC ((
- CORBA::SystemException
- ));
-
- CORBA::TypeCode_ptr type (
- CORBA::Environment &ACE_TRY_ENV =
- TAO_default_environment ()
- )
- ACE_THROW_SPEC ((
- CORBA::SystemException
- ));
-
- IR_DefinitionKind def_kind (
- CORBA::Environment &ACE_TRY_ENV =
- TAO_default_environment ()
- )
- ACE_THROW_SPEC ((
- CORBA::SystemException
- ));
-
- void destroy (
- CORBA::Environment &ACE_TRY_ENV =
- TAO_default_environment ()
- )
- ACE_THROW_SPEC ((
- CORBA::SystemException
- ));
-
-private:
- T *ptr_;
- PortableServer::POA_var poa_;
- CORBA::Boolean rel_;
-
- // copy and assignment are not allowed
- FixedDef_tie (const FixedDef_tie &);
- void operator= (const FixedDef_tie &);
- };
-
-#endif /* ACE_HAS_USING_KEYWORD */
-
- class SequenceDef;
- typedef SequenceDef *SequenceDef_ptr;
- // Forward Classes Declaration
- class _TAO_SequenceDef_ThruPOA_Proxy_Impl;
- class _TAO_SequenceDef_Strategized_Proxy_Broker;
-
- class SequenceDef : public virtual IDLType
- {
- protected:
- SequenceDef (void);
-
- public:
- SequenceDef (const SequenceDef& rhs);
- virtual ~SequenceDef (void);
-
-
- virtual CORBA::Boolean _is_a (
- const char* logical_type_id,
- CORBA::Environment &ACE_TRY_ENV =
- TAO_default_environment ()
- );
-
- virtual void* _downcast (
- const char* logical_type_id
- );
-
- static void _is_a_skel (
- TAO_ServerRequest &req,
- void *obj,
- void *context,
- CORBA::Environment &ACE_TRY_ENV =
- TAO_default_environment ()
- );
-
- static void _non_existent_skel (
- TAO_ServerRequest &req,
- void *obj,
- void *context,
- CORBA::Environment &ACE_TRY_ENV =
- TAO_default_environment ()
- );
-
- virtual void _dispatch (
- TAO_ServerRequest &_tao_req,
- void *_tao_context,
- CORBA::Environment &ACE_TRY_ENV =
- TAO_default_environment ()
- );
-
- IR_SequenceDef *_this (
- CORBA::Environment &ACE_TRY_ENV =
- TAO_default_environment ()
- );
-
- virtual const char* _interface_repository_id (void) const;
-
- virtual CORBA::ULong bound (
- CORBA::Environment &ACE_TRY_ENV =
- TAO_default_environment ()
- )
- ACE_THROW_SPEC ((
- CORBA::SystemException
- )) = 0;
-
- static void _get_bound_skel (
- TAO_ServerRequest &_tao_req,
- void *_tao_obj,
- void *_tao_context,
- CORBA::Environment &ACE_TRY_ENV =
- TAO_default_environment ()
- );
-
- virtual void bound (
- CORBA::ULong bound,
- CORBA::Environment &ACE_TRY_ENV =
- TAO_default_environment ()
- )
- ACE_THROW_SPEC ((
- CORBA::SystemException
- )) = 0;
-
- static void _set_bound_skel (
- TAO_ServerRequest &_tao_req,
- void *_tao_obj,
- void *_tao_context,
- CORBA::Environment &ACE_TRY_ENV =
- TAO_default_environment ()
- );
-
- virtual CORBA::TypeCode_ptr element_type (
- CORBA::Environment &ACE_TRY_ENV =
- TAO_default_environment ()
- )
- ACE_THROW_SPEC ((
- CORBA::SystemException
- )) = 0;
-
- static void _get_element_type_skel (
- TAO_ServerRequest &_tao_req,
- void *_tao_obj,
- void *_tao_context,
- CORBA::Environment &ACE_TRY_ENV =
- TAO_default_environment ()
- );
-
- virtual IR_IDLType_ptr element_type_def (
- CORBA::Environment &ACE_TRY_ENV =
- TAO_default_environment ()
- )
- ACE_THROW_SPEC ((
- CORBA::SystemException
- )) = 0;
-
- static void _get_element_type_def_skel (
- TAO_ServerRequest &_tao_req,
- void *_tao_obj,
- void *_tao_context,
- CORBA::Environment &ACE_TRY_ENV =
- TAO_default_environment ()
- );
-
- virtual void element_type_def (
- IR_IDLType_ptr element_type_def,
- CORBA::Environment &ACE_TRY_ENV =
- TAO_default_environment ()
- )
- ACE_THROW_SPEC ((
- CORBA::SystemException
- )) = 0;
-
- static void _set_element_type_def_skel (
- TAO_ServerRequest &_tao_req,
- void *_tao_obj,
- void *_tao_context,
- CORBA::Environment &ACE_TRY_ENV =
- TAO_default_environment ()
- );
-
- static void _get_type_skel (
- TAO_ServerRequest &req,
- void *obj,
- void *context,
- CORBA::Environment &env =
- TAO_default_environment ()
- );
-
- static void _get_def_kind_skel (
- TAO_ServerRequest &req,
- void *obj,
- void *context,
- CORBA::Environment &env =
- TAO_default_environment ()
- );
-
- static void destroy_skel (
- TAO_ServerRequest &req,
- void *obj,
- void *context,
- CORBA::Environment &env =
- TAO_default_environment ()
- );
-
-#if (TAO_HAS_INTERCEPTORS == 1)
- // Generation of interceptors related RequestInfo classes per operation.
- // This needed to be able to store the arguments, exceptions, contexts
- // and build the lists dynamically on demand so that unnecessary time overhead
- // of building these lists when they arent used is avoided.
- class TAO_ServerRequestInfo_IR_SequenceDef_bound_get : public TAO_ServerRequestInfo
- {
- public:
- friend class POA_IR::SequenceDef;
- TAO_ServerRequestInfo_IR_SequenceDef_bound_get (
- TAO_ServerRequest &_tao_server_request,
- POA_IR::SequenceDef *tao_impl
- ,
- CORBA::Environment &ACE_TRY_ENV =
- TAO_default_environment ()
- );
-
- virtual Dynamic::ParameterList * arguments (
- CORBA::Environment &ACE_TRY_ENV =
- TAO_default_environment ()
- )
- ACE_THROW_SPEC ((CORBA::SystemException));
-
- virtual Dynamic::ExceptionList * exceptions (
- CORBA::Environment &ACE_TRY_ENV =
- TAO_default_environment ()
- )
- ACE_THROW_SPEC ((CORBA::SystemException));
-
- virtual CORBA::Any * result (
- CORBA::Environment &ACE_TRY_ENV =
- TAO_default_environment ()
- )
- ACE_THROW_SPEC ((CORBA::SystemException));
-
- virtual char * target_most_derived_interface (
- CORBA::Environment &ACE_TRY_ENV = TAO_default_environment ())
- ACE_THROW_SPEC ((CORBA::SystemException));
-
- virtual CORBA::Boolean target_is_a (
- const char * id,
- CORBA::Environment &ACE_TRY_ENV = TAO_default_environment ())
- ACE_THROW_SPEC ((CORBA::SystemException));
-
-
- private:
- TAO_ServerRequestInfo_IR_SequenceDef_bound_get (const TAO_ServerRequestInfo_IR_SequenceDef_bound_get &);
- void operator= (const TAO_ServerRequestInfo_IR_SequenceDef_bound_get &);
-
- private:
- POA_IR::SequenceDef *_tao_impl;
- void result (CORBA::ULong result);
- // update the result
- CORBA::ULong _result;
- };
-
- class TAO_ServerRequestInfo_IR_SequenceDef_bound_set : public TAO_ServerRequestInfo
- {
- public:
- friend class POA_IR::SequenceDef;
- TAO_ServerRequestInfo_IR_SequenceDef_bound_set (
- TAO_ServerRequest &_tao_server_request,
- POA_IR::SequenceDef *tao_impl
- ,
- const CORBA::ULong & bound,
- CORBA::Environment &ACE_TRY_ENV =
- TAO_default_environment ()
- );
-
- virtual Dynamic::ParameterList * arguments (
- CORBA::Environment &ACE_TRY_ENV =
- TAO_default_environment ()
- )
- ACE_THROW_SPEC ((CORBA::SystemException));
-
- virtual Dynamic::ExceptionList * exceptions (
- CORBA::Environment &ACE_TRY_ENV =
- TAO_default_environment ()
- )
- ACE_THROW_SPEC ((CORBA::SystemException));
-
- virtual CORBA::Any * result (
- CORBA::Environment &ACE_TRY_ENV =
- TAO_default_environment ()
- )
- ACE_THROW_SPEC ((CORBA::SystemException));
-
- virtual char * target_most_derived_interface (
- CORBA::Environment &ACE_TRY_ENV = TAO_default_environment ())
- ACE_THROW_SPEC ((CORBA::SystemException));
-
- virtual CORBA::Boolean target_is_a (
- const char * id,
- CORBA::Environment &ACE_TRY_ENV = TAO_default_environment ())
- ACE_THROW_SPEC ((CORBA::SystemException));
-
-
- private:
- TAO_ServerRequestInfo_IR_SequenceDef_bound_set (const TAO_ServerRequestInfo_IR_SequenceDef_bound_set &);
- void operator= (const TAO_ServerRequestInfo_IR_SequenceDef_bound_set &);
-
- private:
- POA_IR::SequenceDef *_tao_impl;
- const CORBA::ULong & bound_;
- };
-
- class TAO_ServerRequestInfo_IR_SequenceDef_element_type_get : public TAO_ServerRequestInfo
- {
- public:
- friend class POA_IR::SequenceDef;
- TAO_ServerRequestInfo_IR_SequenceDef_element_type_get (
- TAO_ServerRequest &_tao_server_request,
- POA_IR::SequenceDef *tao_impl
- ,
- CORBA::Environment &ACE_TRY_ENV =
- TAO_default_environment ()
- );
-
- virtual Dynamic::ParameterList * arguments (
- CORBA::Environment &ACE_TRY_ENV =
- TAO_default_environment ()
- )
- ACE_THROW_SPEC ((CORBA::SystemException));
-
- virtual Dynamic::ExceptionList * exceptions (
- CORBA::Environment &ACE_TRY_ENV =
- TAO_default_environment ()
- )
- ACE_THROW_SPEC ((CORBA::SystemException));
-
- virtual CORBA::Any * result (
- CORBA::Environment &ACE_TRY_ENV =
- TAO_default_environment ()
- )
- ACE_THROW_SPEC ((CORBA::SystemException));
-
- virtual char * target_most_derived_interface (
- CORBA::Environment &ACE_TRY_ENV = TAO_default_environment ())
- ACE_THROW_SPEC ((CORBA::SystemException));
-
- virtual CORBA::Boolean target_is_a (
- const char * id,
- CORBA::Environment &ACE_TRY_ENV = TAO_default_environment ())
- ACE_THROW_SPEC ((CORBA::SystemException));
-
-
- private:
- TAO_ServerRequestInfo_IR_SequenceDef_element_type_get (const TAO_ServerRequestInfo_IR_SequenceDef_element_type_get &);
- void operator= (const TAO_ServerRequestInfo_IR_SequenceDef_element_type_get &);
-
- private:
- POA_IR::SequenceDef *_tao_impl;
- void result (CORBA::TypeCode_ptr result);
- // update the result
- CORBA::TypeCode_ptr _result;
- };
-
- class TAO_ServerRequestInfo_IR_SequenceDef_element_type_def_get : public TAO_ServerRequestInfo
- {
- public:
- friend class POA_IR::SequenceDef;
- TAO_ServerRequestInfo_IR_SequenceDef_element_type_def_get (
- TAO_ServerRequest &_tao_server_request,
- POA_IR::SequenceDef *tao_impl
- ,
- CORBA::Environment &ACE_TRY_ENV =
- TAO_default_environment ()
- );
-
- virtual Dynamic::ParameterList * arguments (
- CORBA::Environment &ACE_TRY_ENV =
- TAO_default_environment ()
- )
- ACE_THROW_SPEC ((CORBA::SystemException));
-
- virtual Dynamic::ExceptionList * exceptions (
- CORBA::Environment &ACE_TRY_ENV =
- TAO_default_environment ()
- )
- ACE_THROW_SPEC ((CORBA::SystemException));
-
- virtual CORBA::Any * result (
- CORBA::Environment &ACE_TRY_ENV =
- TAO_default_environment ()
- )
- ACE_THROW_SPEC ((CORBA::SystemException));
-
- virtual char * target_most_derived_interface (
- CORBA::Environment &ACE_TRY_ENV = TAO_default_environment ())
- ACE_THROW_SPEC ((CORBA::SystemException));
-
- virtual CORBA::Boolean target_is_a (
- const char * id,
- CORBA::Environment &ACE_TRY_ENV = TAO_default_environment ())
- ACE_THROW_SPEC ((CORBA::SystemException));
-
-
- private:
- TAO_ServerRequestInfo_IR_SequenceDef_element_type_def_get (const TAO_ServerRequestInfo_IR_SequenceDef_element_type_def_get &);
- void operator= (const TAO_ServerRequestInfo_IR_SequenceDef_element_type_def_get &);
-
- private:
- POA_IR::SequenceDef *_tao_impl;
- void result (IR::IDLType_ptr result);
- // update the result
- IR_IDLType_ptr _result;
- };
-
- class TAO_ServerRequestInfo_IR_SequenceDef_element_type_def_set : public TAO_ServerRequestInfo
- {
- public:
- friend class POA_IR::SequenceDef;
- TAO_ServerRequestInfo_IR_SequenceDef_element_type_def_set (
- TAO_ServerRequest &_tao_server_request,
- POA_IR::SequenceDef *tao_impl
- ,
- IR_IDLType_ptr element_type_def,
- CORBA::Environment &ACE_TRY_ENV =
- TAO_default_environment ()
- );
-
- virtual Dynamic::ParameterList * arguments (
- CORBA::Environment &ACE_TRY_ENV =
- TAO_default_environment ()
- )
- ACE_THROW_SPEC ((CORBA::SystemException));
-
- virtual Dynamic::ExceptionList * exceptions (
- CORBA::Environment &ACE_TRY_ENV =
- TAO_default_environment ()
- )
- ACE_THROW_SPEC ((CORBA::SystemException));
-
- virtual CORBA::Any * result (
- CORBA::Environment &ACE_TRY_ENV =
- TAO_default_environment ()
- )
- ACE_THROW_SPEC ((CORBA::SystemException));
-
- virtual char * target_most_derived_interface (
- CORBA::Environment &ACE_TRY_ENV = TAO_default_environment ())
- ACE_THROW_SPEC ((CORBA::SystemException));
-
- virtual CORBA::Boolean target_is_a (
- const char * id,
- CORBA::Environment &ACE_TRY_ENV = TAO_default_environment ())
- ACE_THROW_SPEC ((CORBA::SystemException));
-
-
- private:
- TAO_ServerRequestInfo_IR_SequenceDef_element_type_def_set (const TAO_ServerRequestInfo_IR_SequenceDef_element_type_def_set &);
- void operator= (const TAO_ServerRequestInfo_IR_SequenceDef_element_type_def_set &);
-
- private:
- POA_IR::SequenceDef *_tao_impl;
- IR_IDLType_ptr element_type_def_;
- };
-
-#endif /* TAO_HAS_INTERCEPTORS */
-
- };
-
-///////////////////////////////////////////////////////////////////////
-// Strategized Proxy Broker Declaration
-//
-
-class _TAO_SequenceDef_Strategized_Proxy_Broker : public virtual _TAO_SequenceDef_Proxy_Broker
-{
-public:
- _TAO_SequenceDef_Strategized_Proxy_Broker (void);
-
- virtual ~_TAO_SequenceDef_Strategized_Proxy_Broker (void);
-
- virtual _TAO_SequenceDef_Proxy_Impl &select_proxy (
- IR_SequenceDef *object,
- CORBA_Environment &ACE_TRY_ENV = TAO_default_environment ()
- );
-
-private:
-
-// Helper methods that takes care to create the proxy
-// as soon as their use is necessary.
- void create_proxy (
- int strategy,
- CORBA::Environment &ACE_TRY_ENV
- );
-
-private:
-
- // Caches the proxy implementations. The proxy implementation
- // are totally stateless, and those can be shared by all the
- // instances of a given IDL interface type.
- _TAO_SequenceDef_Proxy_Impl
- *proxy_cache_[TAO_Collocation_Strategies::CS_LAST];
-
- TAO_SYNCH_MUTEX mutex_;
-// This funxtion is used to get an handle to the unique instance
-// of the Strategized Proxy Broker that is available for a given
-// interface.
-
-public:
- static _TAO_SequenceDef_Strategized_Proxy_Broker *the_TAO_SequenceDef_Strategized_Proxy_Broker (void);
-};
-
-//
-// End Strategized Proxy Broker Declaration
-///////////////////////////////////////////////////////////////////////
-
-
-///////////////////////////////////////////////////////////////////////
-// ThruPOA Impl. Declaration
-//
-
-class _TAO_SequenceDef_ThruPOA_Proxy_Impl :
- public virtual _TAO_SequenceDef_Proxy_Impl,
- public virtual TAO_ThruPOA_Object_Proxy_Impl,
- public virtual ::POA_IR::_TAO_IDLType_ThruPOA_Proxy_Impl
-
-{
-public:
- _TAO_SequenceDef_ThruPOA_Proxy_Impl (void);
-
- virtual ~_TAO_SequenceDef_ThruPOA_Proxy_Impl (void) { }
-
- virtual CORBA::ULong bound (
- CORBA_Object *_collocated_tao_target_,
- CORBA::Environment &ACE_TRY_ENV
- )
- ACE_THROW_SPEC ((
- CORBA::SystemException
- ));
-
- virtual void bound (
- CORBA_Object *_collocated_tao_target_,
- CORBA::ULong bound,
- CORBA::Environment &ACE_TRY_ENV
- )
- ACE_THROW_SPEC ((
- CORBA::SystemException
- ));
-
- virtual CORBA::TypeCode_ptr element_type (
- CORBA_Object *_collocated_tao_target_,
- CORBA::Environment &ACE_TRY_ENV
- )
- ACE_THROW_SPEC ((
- CORBA::SystemException
- ));
-
- virtual IR_IDLType_ptr element_type_def (
- CORBA_Object *_collocated_tao_target_,
- CORBA::Environment &ACE_TRY_ENV
- )
- ACE_THROW_SPEC ((
- CORBA::SystemException
- ));
-
- virtual void element_type_def (
- CORBA_Object *_collocated_tao_target_,
- IR_IDLType_ptr element_type_def,
- CORBA::Environment &ACE_TRY_ENV
- )
- ACE_THROW_SPEC ((
- CORBA::SystemException
- ));
-
-};
-
-
-//
-// ThruPOA Proxy Impl. Declaration
-///////////////////////////////////////////////////////////////////////
-
-#if defined (ACE_HAS_USING_KEYWORD)
- // TIE class: Refer to CORBA v2.2, Section 20.34.4
- template <class T>
- class SequenceDef_tie : public SequenceDef
- {
- public:
- SequenceDef_tie (T &t);
- // the T& ctor
- SequenceDef_tie (T &t, PortableServer::POA_ptr poa);
- // ctor taking a POA
- SequenceDef_tie (T *tp, CORBA::Boolean release=1);
- // ctor taking pointer and an ownership flag
- SequenceDef_tie (T *tp, PortableServer::POA_ptr poa, CORBA::Boolean release=1);
- // ctor with T*, ownership flag and a POA
- ~SequenceDef_tie (void);
- // dtor
-
- // TIE specific functions
- T *_tied_object (void);
- // return the underlying object
- void _tied_object (T &obj);
- // set the underlying object
- void _tied_object (T *obj, CORBA::Boolean release=1);
- // set the underlying object and the ownership flag
- CORBA::Boolean _is_owner (void);
- // do we own it
- void _is_owner (CORBA::Boolean b);
- // set the ownership
-
- // overridden ServantBase operations
- PortableServer::POA_ptr _default_POA (
- CORBA::Environment &env =
- TAO_default_environment ()
- );
- CORBA::ULong bound (
- CORBA::Environment &ACE_TRY_ENV =
- TAO_default_environment ()
- )
- ACE_THROW_SPEC ((
- CORBA::SystemException
- ));
-
- void bound (
- CORBA::ULong bound,
- CORBA::Environment &ACE_TRY_ENV =
- TAO_default_environment ()
- )
- ACE_THROW_SPEC ((
- CORBA::SystemException
- ));
-
- CORBA::TypeCode_ptr element_type (
- CORBA::Environment &ACE_TRY_ENV =
- TAO_default_environment ()
- )
- ACE_THROW_SPEC ((
- CORBA::SystemException
- ));
-
- IR_IDLType_ptr element_type_def (
- CORBA::Environment &ACE_TRY_ENV =
- TAO_default_environment ()
- )
- ACE_THROW_SPEC ((
- CORBA::SystemException
- ));
-
- void element_type_def (
- IR_IDLType_ptr element_type_def,
- CORBA::Environment &ACE_TRY_ENV =
- TAO_default_environment ()
- )
- ACE_THROW_SPEC ((
- CORBA::SystemException
- ));
-
- CORBA::TypeCode_ptr type (
- CORBA::Environment &ACE_TRY_ENV =
- TAO_default_environment ()
- )
- ACE_THROW_SPEC ((
- CORBA::SystemException
- ));
-
- IR_DefinitionKind def_kind (
- CORBA::Environment &ACE_TRY_ENV =
- TAO_default_environment ()
- )
- ACE_THROW_SPEC ((
- CORBA::SystemException
- ));
-
- void destroy (
- CORBA::Environment &ACE_TRY_ENV =
- TAO_default_environment ()
- )
- ACE_THROW_SPEC ((
- CORBA::SystemException
- ));
-
-private:
- T *ptr_;
- PortableServer::POA_var poa_;
- CORBA::Boolean rel_;
-
- // copy and assignment are not allowed
- SequenceDef_tie (const SequenceDef_tie &);
- void operator= (const SequenceDef_tie &);
- };
-
-#endif /* ACE_HAS_USING_KEYWORD */
-
- class ArrayDef;
- typedef ArrayDef *ArrayDef_ptr;
- // Forward Classes Declaration
- class _TAO_ArrayDef_ThruPOA_Proxy_Impl;
- class _TAO_ArrayDef_Strategized_Proxy_Broker;
-
- class ArrayDef : public virtual IDLType
- {
- protected:
- ArrayDef (void);
-
- public:
- ArrayDef (const ArrayDef& rhs);
- virtual ~ArrayDef (void);
-
-
- virtual CORBA::Boolean _is_a (
- const char* logical_type_id,
- CORBA::Environment &ACE_TRY_ENV =
- TAO_default_environment ()
- );
-
- virtual void* _downcast (
- const char* logical_type_id
- );
-
- static void _is_a_skel (
- TAO_ServerRequest &req,
- void *obj,
- void *context,
- CORBA::Environment &ACE_TRY_ENV =
- TAO_default_environment ()
- );
-
- static void _non_existent_skel (
- TAO_ServerRequest &req,
- void *obj,
- void *context,
- CORBA::Environment &ACE_TRY_ENV =
- TAO_default_environment ()
- );
-
- virtual void _dispatch (
- TAO_ServerRequest &_tao_req,
- void *_tao_context,
- CORBA::Environment &ACE_TRY_ENV =
- TAO_default_environment ()
- );
-
- IR_ArrayDef *_this (
- CORBA::Environment &ACE_TRY_ENV =
- TAO_default_environment ()
- );
-
- virtual const char* _interface_repository_id (void) const;
-
- virtual CORBA::ULong length (
- CORBA::Environment &ACE_TRY_ENV =
- TAO_default_environment ()
- )
- ACE_THROW_SPEC ((
- CORBA::SystemException
- )) = 0;
-
- static void _get_length_skel (
- TAO_ServerRequest &_tao_req,
- void *_tao_obj,
- void *_tao_context,
- CORBA::Environment &ACE_TRY_ENV =
- TAO_default_environment ()
- );
-
- virtual void length (
- CORBA::ULong length,
- CORBA::Environment &ACE_TRY_ENV =
- TAO_default_environment ()
- )
- ACE_THROW_SPEC ((
- CORBA::SystemException
- )) = 0;
-
- static void _set_length_skel (
- TAO_ServerRequest &_tao_req,
- void *_tao_obj,
- void *_tao_context,
- CORBA::Environment &ACE_TRY_ENV =
- TAO_default_environment ()
- );
-
- virtual CORBA::TypeCode_ptr element_type (
- CORBA::Environment &ACE_TRY_ENV =
- TAO_default_environment ()
- )
- ACE_THROW_SPEC ((
- CORBA::SystemException
- )) = 0;
-
- static void _get_element_type_skel (
- TAO_ServerRequest &_tao_req,
- void *_tao_obj,
- void *_tao_context,
- CORBA::Environment &ACE_TRY_ENV =
- TAO_default_environment ()
- );
-
- virtual IR_IDLType_ptr element_type_def (
- CORBA::Environment &ACE_TRY_ENV =
- TAO_default_environment ()
- )
- ACE_THROW_SPEC ((
- CORBA::SystemException
- )) = 0;
-
- static void _get_element_type_def_skel (
- TAO_ServerRequest &_tao_req,
- void *_tao_obj,
- void *_tao_context,
- CORBA::Environment &ACE_TRY_ENV =
- TAO_default_environment ()
- );
-
- virtual void element_type_def (
- IR_IDLType_ptr element_type_def,
- CORBA::Environment &ACE_TRY_ENV =
- TAO_default_environment ()
- )
- ACE_THROW_SPEC ((
- CORBA::SystemException
- )) = 0;
-
- static void _set_element_type_def_skel (
- TAO_ServerRequest &_tao_req,
- void *_tao_obj,
- void *_tao_context,
- CORBA::Environment &ACE_TRY_ENV =
- TAO_default_environment ()
- );
-
- static void _get_type_skel (
- TAO_ServerRequest &req,
- void *obj,
- void *context,
- CORBA::Environment &env =
- TAO_default_environment ()
- );
-
- static void _get_def_kind_skel (
- TAO_ServerRequest &req,
- void *obj,
- void *context,
- CORBA::Environment &env =
- TAO_default_environment ()
- );
-
- static void destroy_skel (
- TAO_ServerRequest &req,
- void *obj,
- void *context,
- CORBA::Environment &env =
- TAO_default_environment ()
- );
-
-#if (TAO_HAS_INTERCEPTORS == 1)
- // Generation of interceptors related RequestInfo classes per operation.
- // This needed to be able to store the arguments, exceptions, contexts
- // and build the lists dynamically on demand so that unnecessary time overhead
- // of building these lists when they arent used is avoided.
- class TAO_ServerRequestInfo_IR_ArrayDef_length_get : public TAO_ServerRequestInfo
- {
- public:
- friend class POA_IR::ArrayDef;
- TAO_ServerRequestInfo_IR_ArrayDef_length_get (
- TAO_ServerRequest &_tao_server_request,
- POA_IR::ArrayDef *tao_impl
- ,
- CORBA::Environment &ACE_TRY_ENV =
- TAO_default_environment ()
- );
-
- virtual Dynamic::ParameterList * arguments (
- CORBA::Environment &ACE_TRY_ENV =
- TAO_default_environment ()
- )
- ACE_THROW_SPEC ((CORBA::SystemException));
-
- virtual Dynamic::ExceptionList * exceptions (
- CORBA::Environment &ACE_TRY_ENV =
- TAO_default_environment ()
- )
- ACE_THROW_SPEC ((CORBA::SystemException));
-
- virtual CORBA::Any * result (
- CORBA::Environment &ACE_TRY_ENV =
- TAO_default_environment ()
- )
- ACE_THROW_SPEC ((CORBA::SystemException));
-
- virtual char * target_most_derived_interface (
- CORBA::Environment &ACE_TRY_ENV = TAO_default_environment ())
- ACE_THROW_SPEC ((CORBA::SystemException));
-
- virtual CORBA::Boolean target_is_a (
- const char * id,
- CORBA::Environment &ACE_TRY_ENV = TAO_default_environment ())
- ACE_THROW_SPEC ((CORBA::SystemException));
-
-
- private:
- TAO_ServerRequestInfo_IR_ArrayDef_length_get (const TAO_ServerRequestInfo_IR_ArrayDef_length_get &);
- void operator= (const TAO_ServerRequestInfo_IR_ArrayDef_length_get &);
-
- private:
- POA_IR::ArrayDef *_tao_impl;
- void result (CORBA::ULong result);
- // update the result
- CORBA::ULong _result;
- };
-
- class TAO_ServerRequestInfo_IR_ArrayDef_length_set : public TAO_ServerRequestInfo
- {
- public:
- friend class POA_IR::ArrayDef;
- TAO_ServerRequestInfo_IR_ArrayDef_length_set (
- TAO_ServerRequest &_tao_server_request,
- POA_IR::ArrayDef *tao_impl
- ,
- const CORBA::ULong & length,
- CORBA::Environment &ACE_TRY_ENV =
- TAO_default_environment ()
- );
-
- virtual Dynamic::ParameterList * arguments (
- CORBA::Environment &ACE_TRY_ENV =
- TAO_default_environment ()
- )
- ACE_THROW_SPEC ((CORBA::SystemException));
-
- virtual Dynamic::ExceptionList * exceptions (
- CORBA::Environment &ACE_TRY_ENV =
- TAO_default_environment ()
- )
- ACE_THROW_SPEC ((CORBA::SystemException));
-
- virtual CORBA::Any * result (
- CORBA::Environment &ACE_TRY_ENV =
- TAO_default_environment ()
- )
- ACE_THROW_SPEC ((CORBA::SystemException));
-
- virtual char * target_most_derived_interface (
- CORBA::Environment &ACE_TRY_ENV = TAO_default_environment ())
- ACE_THROW_SPEC ((CORBA::SystemException));
-
- virtual CORBA::Boolean target_is_a (
- const char * id,
- CORBA::Environment &ACE_TRY_ENV = TAO_default_environment ())
- ACE_THROW_SPEC ((CORBA::SystemException));
-
-
- private:
- TAO_ServerRequestInfo_IR_ArrayDef_length_set (const TAO_ServerRequestInfo_IR_ArrayDef_length_set &);
- void operator= (const TAO_ServerRequestInfo_IR_ArrayDef_length_set &);
-
- private:
- POA_IR::ArrayDef *_tao_impl;
- const CORBA::ULong & length_;
- };
-
- class TAO_ServerRequestInfo_IR_ArrayDef_element_type_get : public TAO_ServerRequestInfo
- {
- public:
- friend class POA_IR::ArrayDef;
- TAO_ServerRequestInfo_IR_ArrayDef_element_type_get (
- TAO_ServerRequest &_tao_server_request,
- POA_IR::ArrayDef *tao_impl
- ,
- CORBA::Environment &ACE_TRY_ENV =
- TAO_default_environment ()
- );
-
- virtual Dynamic::ParameterList * arguments (
- CORBA::Environment &ACE_TRY_ENV =
- TAO_default_environment ()
- )
- ACE_THROW_SPEC ((CORBA::SystemException));
-
- virtual Dynamic::ExceptionList * exceptions (
- CORBA::Environment &ACE_TRY_ENV =
- TAO_default_environment ()
- )
- ACE_THROW_SPEC ((CORBA::SystemException));
-
- virtual CORBA::Any * result (
- CORBA::Environment &ACE_TRY_ENV =
- TAO_default_environment ()
- )
- ACE_THROW_SPEC ((CORBA::SystemException));
-
- virtual char * target_most_derived_interface (
- CORBA::Environment &ACE_TRY_ENV = TAO_default_environment ())
- ACE_THROW_SPEC ((CORBA::SystemException));
-
- virtual CORBA::Boolean target_is_a (
- const char * id,
- CORBA::Environment &ACE_TRY_ENV = TAO_default_environment ())
- ACE_THROW_SPEC ((CORBA::SystemException));
-
-
- private:
- TAO_ServerRequestInfo_IR_ArrayDef_element_type_get (const TAO_ServerRequestInfo_IR_ArrayDef_element_type_get &);
- void operator= (const TAO_ServerRequestInfo_IR_ArrayDef_element_type_get &);
-
- private:
- POA_IR::ArrayDef *_tao_impl;
- void result (CORBA::TypeCode_ptr result);
- // update the result
- CORBA::TypeCode_ptr _result;
- };
-
- class TAO_ServerRequestInfo_IR_ArrayDef_element_type_def_get : public TAO_ServerRequestInfo
- {
- public:
- friend class POA_IR::ArrayDef;
- TAO_ServerRequestInfo_IR_ArrayDef_element_type_def_get (
- TAO_ServerRequest &_tao_server_request,
- POA_IR::ArrayDef *tao_impl
- ,
- CORBA::Environment &ACE_TRY_ENV =
- TAO_default_environment ()
- );
-
- virtual Dynamic::ParameterList * arguments (
- CORBA::Environment &ACE_TRY_ENV =
- TAO_default_environment ()
- )
- ACE_THROW_SPEC ((CORBA::SystemException));
-
- virtual Dynamic::ExceptionList * exceptions (
- CORBA::Environment &ACE_TRY_ENV =
- TAO_default_environment ()
- )
- ACE_THROW_SPEC ((CORBA::SystemException));
-
- virtual CORBA::Any * result (
- CORBA::Environment &ACE_TRY_ENV =
- TAO_default_environment ()
- )
- ACE_THROW_SPEC ((CORBA::SystemException));
-
- virtual char * target_most_derived_interface (
- CORBA::Environment &ACE_TRY_ENV = TAO_default_environment ())
- ACE_THROW_SPEC ((CORBA::SystemException));
-
- virtual CORBA::Boolean target_is_a (
- const char * id,
- CORBA::Environment &ACE_TRY_ENV = TAO_default_environment ())
- ACE_THROW_SPEC ((CORBA::SystemException));
-
-
- private:
- TAO_ServerRequestInfo_IR_ArrayDef_element_type_def_get (const TAO_ServerRequestInfo_IR_ArrayDef_element_type_def_get &);
- void operator= (const TAO_ServerRequestInfo_IR_ArrayDef_element_type_def_get &);
-
- private:
- POA_IR::ArrayDef *_tao_impl;
- void result (IR::IDLType_ptr result);
- // update the result
- IR_IDLType_ptr _result;
- };
-
- class TAO_ServerRequestInfo_IR_ArrayDef_element_type_def_set : public TAO_ServerRequestInfo
- {
- public:
- friend class POA_IR::ArrayDef;
- TAO_ServerRequestInfo_IR_ArrayDef_element_type_def_set (
- TAO_ServerRequest &_tao_server_request,
- POA_IR::ArrayDef *tao_impl
- ,
- IR_IDLType_ptr element_type_def,
- CORBA::Environment &ACE_TRY_ENV =
- TAO_default_environment ()
- );
-
- virtual Dynamic::ParameterList * arguments (
- CORBA::Environment &ACE_TRY_ENV =
- TAO_default_environment ()
- )
- ACE_THROW_SPEC ((CORBA::SystemException));
-
- virtual Dynamic::ExceptionList * exceptions (
- CORBA::Environment &ACE_TRY_ENV =
- TAO_default_environment ()
- )
- ACE_THROW_SPEC ((CORBA::SystemException));
-
- virtual CORBA::Any * result (
- CORBA::Environment &ACE_TRY_ENV =
- TAO_default_environment ()
- )
- ACE_THROW_SPEC ((CORBA::SystemException));
-
- virtual char * target_most_derived_interface (
- CORBA::Environment &ACE_TRY_ENV = TAO_default_environment ())
- ACE_THROW_SPEC ((CORBA::SystemException));
-
- virtual CORBA::Boolean target_is_a (
- const char * id,
- CORBA::Environment &ACE_TRY_ENV = TAO_default_environment ())
- ACE_THROW_SPEC ((CORBA::SystemException));
-
-
- private:
- TAO_ServerRequestInfo_IR_ArrayDef_element_type_def_set (const TAO_ServerRequestInfo_IR_ArrayDef_element_type_def_set &);
- void operator= (const TAO_ServerRequestInfo_IR_ArrayDef_element_type_def_set &);
-
- private:
- POA_IR::ArrayDef *_tao_impl;
- IR_IDLType_ptr element_type_def_;
- };
-
-#endif /* TAO_HAS_INTERCEPTORS */
-
- };
-
-///////////////////////////////////////////////////////////////////////
-// Strategized Proxy Broker Declaration
-//
-
-class _TAO_ArrayDef_Strategized_Proxy_Broker : public virtual _TAO_ArrayDef_Proxy_Broker
-{
-public:
- _TAO_ArrayDef_Strategized_Proxy_Broker (void);
-
- virtual ~_TAO_ArrayDef_Strategized_Proxy_Broker (void);
-
- virtual _TAO_ArrayDef_Proxy_Impl &select_proxy (
- IR_ArrayDef *object,
- CORBA_Environment &ACE_TRY_ENV = TAO_default_environment ()
- );
-
-private:
-
-// Helper methods that takes care to create the proxy
-// as soon as their use is necessary.
- void create_proxy (
- int strategy,
- CORBA::Environment &ACE_TRY_ENV
- );
-
-private:
-
- // Caches the proxy implementations. The proxy implementation
- // are totally stateless, and those can be shared by all the
- // instances of a given IDL interface type.
- _TAO_ArrayDef_Proxy_Impl
- *proxy_cache_[TAO_Collocation_Strategies::CS_LAST];
-
- TAO_SYNCH_MUTEX mutex_;
-// This funxtion is used to get an handle to the unique instance
-// of the Strategized Proxy Broker that is available for a given
-// interface.
-
-public:
- static _TAO_ArrayDef_Strategized_Proxy_Broker *the_TAO_ArrayDef_Strategized_Proxy_Broker (void);
-};
-
-//
-// End Strategized Proxy Broker Declaration
-///////////////////////////////////////////////////////////////////////
-
-
-///////////////////////////////////////////////////////////////////////
-// ThruPOA Impl. Declaration
-//
-
-class _TAO_ArrayDef_ThruPOA_Proxy_Impl :
- public virtual _TAO_ArrayDef_Proxy_Impl,
- public virtual TAO_ThruPOA_Object_Proxy_Impl,
- public virtual ::POA_IR::_TAO_IDLType_ThruPOA_Proxy_Impl
-
-{
-public:
- _TAO_ArrayDef_ThruPOA_Proxy_Impl (void);
-
- virtual ~_TAO_ArrayDef_ThruPOA_Proxy_Impl (void) { }
-
- virtual CORBA::ULong length (
- CORBA_Object *_collocated_tao_target_,
- CORBA::Environment &ACE_TRY_ENV
- )
- ACE_THROW_SPEC ((
- CORBA::SystemException
- ));
-
- virtual void length (
- CORBA_Object *_collocated_tao_target_,
- CORBA::ULong length,
- CORBA::Environment &ACE_TRY_ENV
- )
- ACE_THROW_SPEC ((
- CORBA::SystemException
- ));
-
- virtual CORBA::TypeCode_ptr element_type (
- CORBA_Object *_collocated_tao_target_,
- CORBA::Environment &ACE_TRY_ENV
- )
- ACE_THROW_SPEC ((
- CORBA::SystemException
- ));
-
- virtual IR_IDLType_ptr element_type_def (
- CORBA_Object *_collocated_tao_target_,
- CORBA::Environment &ACE_TRY_ENV
- )
- ACE_THROW_SPEC ((
- CORBA::SystemException
- ));
-
- virtual void element_type_def (
- CORBA_Object *_collocated_tao_target_,
- IR_IDLType_ptr element_type_def,
- CORBA::Environment &ACE_TRY_ENV
- )
- ACE_THROW_SPEC ((
- CORBA::SystemException
- ));
-
-};
-
-
-//
-// ThruPOA Proxy Impl. Declaration
-///////////////////////////////////////////////////////////////////////
-
-#if defined (ACE_HAS_USING_KEYWORD)
- // TIE class: Refer to CORBA v2.2, Section 20.34.4
- template <class T>
- class ArrayDef_tie : public ArrayDef
- {
- public:
- ArrayDef_tie (T &t);
- // the T& ctor
- ArrayDef_tie (T &t, PortableServer::POA_ptr poa);
- // ctor taking a POA
- ArrayDef_tie (T *tp, CORBA::Boolean release=1);
- // ctor taking pointer and an ownership flag
- ArrayDef_tie (T *tp, PortableServer::POA_ptr poa, CORBA::Boolean release=1);
- // ctor with T*, ownership flag and a POA
- ~ArrayDef_tie (void);
- // dtor
-
- // TIE specific functions
- T *_tied_object (void);
- // return the underlying object
- void _tied_object (T &obj);
- // set the underlying object
- void _tied_object (T *obj, CORBA::Boolean release=1);
- // set the underlying object and the ownership flag
- CORBA::Boolean _is_owner (void);
- // do we own it
- void _is_owner (CORBA::Boolean b);
- // set the ownership
-
- // overridden ServantBase operations
- PortableServer::POA_ptr _default_POA (
- CORBA::Environment &env =
- TAO_default_environment ()
- );
- CORBA::ULong length (
- CORBA::Environment &ACE_TRY_ENV =
- TAO_default_environment ()
- )
- ACE_THROW_SPEC ((
- CORBA::SystemException
- ));
-
- void length (
- CORBA::ULong length,
- CORBA::Environment &ACE_TRY_ENV =
- TAO_default_environment ()
- )
- ACE_THROW_SPEC ((
- CORBA::SystemException
- ));
-
- CORBA::TypeCode_ptr element_type (
- CORBA::Environment &ACE_TRY_ENV =
- TAO_default_environment ()
- )
- ACE_THROW_SPEC ((
- CORBA::SystemException
- ));
-
- IR_IDLType_ptr element_type_def (
- CORBA::Environment &ACE_TRY_ENV =
- TAO_default_environment ()
- )
- ACE_THROW_SPEC ((
- CORBA::SystemException
- ));
-
- void element_type_def (
- IR_IDLType_ptr element_type_def,
- CORBA::Environment &ACE_TRY_ENV =
- TAO_default_environment ()
- )
- ACE_THROW_SPEC ((
- CORBA::SystemException
- ));
-
- CORBA::TypeCode_ptr type (
- CORBA::Environment &ACE_TRY_ENV =
- TAO_default_environment ()
- )
- ACE_THROW_SPEC ((
- CORBA::SystemException
- ));
-
- IR_DefinitionKind def_kind (
- CORBA::Environment &ACE_TRY_ENV =
- TAO_default_environment ()
- )
- ACE_THROW_SPEC ((
- CORBA::SystemException
- ));
-
- void destroy (
- CORBA::Environment &ACE_TRY_ENV =
- TAO_default_environment ()
- )
- ACE_THROW_SPEC ((
- CORBA::SystemException
- ));
-
-private:
- T *ptr_;
- PortableServer::POA_var poa_;
- CORBA::Boolean rel_;
-
- // copy and assignment are not allowed
- ArrayDef_tie (const ArrayDef_tie &);
- void operator= (const ArrayDef_tie &);
- };
-
-#endif /* ACE_HAS_USING_KEYWORD */
-
- class ExceptionDef;
- typedef ExceptionDef *ExceptionDef_ptr;
- // Forward Classes Declaration
- class _TAO_ExceptionDef_ThruPOA_Proxy_Impl;
- class _TAO_ExceptionDef_Strategized_Proxy_Broker;
-
- class ExceptionDef : public virtual Contained, public virtual Container
- {
- protected:
- ExceptionDef (void);
-
- public:
- ExceptionDef (const ExceptionDef& rhs);
- virtual ~ExceptionDef (void);
-
-
- virtual CORBA::Boolean _is_a (
- const char* logical_type_id,
- CORBA::Environment &ACE_TRY_ENV =
- TAO_default_environment ()
- );
-
- virtual void* _downcast (
- const char* logical_type_id
- );
-
- static void _is_a_skel (
- TAO_ServerRequest &req,
- void *obj,
- void *context,
- CORBA::Environment &ACE_TRY_ENV =
- TAO_default_environment ()
- );
-
- static void _non_existent_skel (
- TAO_ServerRequest &req,
- void *obj,
- void *context,
- CORBA::Environment &ACE_TRY_ENV =
- TAO_default_environment ()
- );
-
- virtual void _dispatch (
- TAO_ServerRequest &_tao_req,
- void *_tao_context,
- CORBA::Environment &ACE_TRY_ENV =
- TAO_default_environment ()
- );
-
- IR_ExceptionDef *_this (
- CORBA::Environment &ACE_TRY_ENV =
- TAO_default_environment ()
- );
-
- virtual const char* _interface_repository_id (void) const;
-
- virtual CORBA::TypeCode_ptr type (
- CORBA::Environment &ACE_TRY_ENV =
- TAO_default_environment ()
- )
- ACE_THROW_SPEC ((
- CORBA::SystemException
- )) = 0;
-
- static void _get_type_skel (
- TAO_ServerRequest &_tao_req,
- void *_tao_obj,
- void *_tao_context,
- CORBA::Environment &ACE_TRY_ENV =
- TAO_default_environment ()
- );
-
- virtual IR_StructMemberSeq * members (
- CORBA::Environment &ACE_TRY_ENV =
- TAO_default_environment ()
- )
- ACE_THROW_SPEC ((
- CORBA::SystemException
- )) = 0;
-
- static void _get_members_skel (
- TAO_ServerRequest &_tao_req,
- void *_tao_obj,
- void *_tao_context,
- CORBA::Environment &ACE_TRY_ENV =
- TAO_default_environment ()
- );
-
- virtual void members (
- const IR_StructMemberSeq & members,
- CORBA::Environment &ACE_TRY_ENV =
- TAO_default_environment ()
- )
- ACE_THROW_SPEC ((
- CORBA::SystemException
- )) = 0;
-
- static void _set_members_skel (
- TAO_ServerRequest &_tao_req,
- void *_tao_obj,
- void *_tao_context,
- CORBA::Environment &ACE_TRY_ENV =
- TAO_default_environment ()
- );
-
- static void _get_id_skel (
- TAO_ServerRequest &req,
- void *obj,
- void *context,
- CORBA::Environment &env =
- TAO_default_environment ()
- );
-
- static void _set_id_skel (
- TAO_ServerRequest &req,
- void *obj,
- void *context,
- CORBA::Environment &env =
- TAO_default_environment ()
- );
-
- static void _get_name_skel (
- TAO_ServerRequest &req,
- void *obj,
- void *context,
- CORBA::Environment &env =
- TAO_default_environment ()
- );
-
- static void _set_name_skel (
- TAO_ServerRequest &req,
- void *obj,
- void *context,
- CORBA::Environment &env =
- TAO_default_environment ()
- );
-
- static void _get_version_skel (
- TAO_ServerRequest &req,
- void *obj,
- void *context,
- CORBA::Environment &env =
- TAO_default_environment ()
- );
-
- static void _set_version_skel (
- TAO_ServerRequest &req,
- void *obj,
- void *context,
- CORBA::Environment &env =
- TAO_default_environment ()
- );
-
- static void _get_defined_in_skel (
- TAO_ServerRequest &req,
- void *obj,
- void *context,
- CORBA::Environment &env =
- TAO_default_environment ()
- );
-
- static void _get_absolute_name_skel (
- TAO_ServerRequest &req,
- void *obj,
- void *context,
- CORBA::Environment &env =
- TAO_default_environment ()
- );
-
- static void _get_containing_repository_skel (
- TAO_ServerRequest &req,
- void *obj,
- void *context,
- CORBA::Environment &env =
- TAO_default_environment ()
- );
-
- static void describe_skel (
- TAO_ServerRequest &req,
- void *obj,
- void *context,
- CORBA::Environment &env =
- TAO_default_environment ()
- );
-
- static void move_skel (
- TAO_ServerRequest &req,
- void *obj,
- void *context,
- CORBA::Environment &env =
- TAO_default_environment ()
- );
-
- static void lookup_skel (
- TAO_ServerRequest &req,
- void *obj,
- void *context,
- CORBA::Environment &env =
- TAO_default_environment ()
- );
-
- static void contents_skel (
- TAO_ServerRequest &req,
- void *obj,
- void *context,
- CORBA::Environment &env =
- TAO_default_environment ()
- );
-
- static void lookup_name_skel (
- TAO_ServerRequest &req,
- void *obj,
- void *context,
- CORBA::Environment &env =
- TAO_default_environment ()
- );
-
- static void describe_contents_skel (
- TAO_ServerRequest &req,
- void *obj,
- void *context,
- CORBA::Environment &env =
- TAO_default_environment ()
- );
-
- static void create_module_skel (
- TAO_ServerRequest &req,
- void *obj,
- void *context,
- CORBA::Environment &env =
- TAO_default_environment ()
- );
-
- static void create_constant_skel (
- TAO_ServerRequest &req,
- void *obj,
- void *context,
- CORBA::Environment &env =
- TAO_default_environment ()
- );
-
- static void create_struct_skel (
- TAO_ServerRequest &req,
- void *obj,
- void *context,
- CORBA::Environment &env =
- TAO_default_environment ()
- );
-
- static void create_union_skel (
- TAO_ServerRequest &req,
- void *obj,
- void *context,
- CORBA::Environment &env =
- TAO_default_environment ()
- );
-
- static void create_enum_skel (
- TAO_ServerRequest &req,
- void *obj,
- void *context,
- CORBA::Environment &env =
- TAO_default_environment ()
- );
-
- static void create_alias_skel (
- TAO_ServerRequest &req,
- void *obj,
- void *context,
- CORBA::Environment &env =
- TAO_default_environment ()
- );
-
- static void create_interface_skel (
- TAO_ServerRequest &req,
- void *obj,
- void *context,
- CORBA::Environment &env =
- TAO_default_environment ()
- );
-
- static void create_value_skel (
- TAO_ServerRequest &req,
- void *obj,
- void *context,
- CORBA::Environment &env =
- TAO_default_environment ()
- );
-
- static void create_value_box_skel (
- TAO_ServerRequest &req,
- void *obj,
- void *context,
- CORBA::Environment &env =
- TAO_default_environment ()
- );
-
- static void create_exception_skel (
- TAO_ServerRequest &req,
- void *obj,
- void *context,
- CORBA::Environment &env =
- TAO_default_environment ()
- );
-
- static void create_native_skel (
- TAO_ServerRequest &req,
- void *obj,
- void *context,
- CORBA::Environment &env =
- TAO_default_environment ()
- );
-
- static void _get_def_kind_skel (
- TAO_ServerRequest &req,
- void *obj,
- void *context,
- CORBA::Environment &env =
- TAO_default_environment ()
- );
-
- static void destroy_skel (
- TAO_ServerRequest &req,
- void *obj,
- void *context,
- CORBA::Environment &env =
- TAO_default_environment ()
- );
-
-#if (TAO_HAS_INTERCEPTORS == 1)
- // Generation of interceptors related RequestInfo classes per operation.
- // This needed to be able to store the arguments, exceptions, contexts
- // and build the lists dynamically on demand so that unnecessary time overhead
- // of building these lists when they arent used is avoided.
- class TAO_ServerRequestInfo_IR_ExceptionDef_type_get : public TAO_ServerRequestInfo
- {
- public:
- friend class POA_IR::ExceptionDef;
- TAO_ServerRequestInfo_IR_ExceptionDef_type_get (
- TAO_ServerRequest &_tao_server_request,
- POA_IR::ExceptionDef *tao_impl
- ,
- CORBA::Environment &ACE_TRY_ENV =
- TAO_default_environment ()
- );
-
- virtual Dynamic::ParameterList * arguments (
- CORBA::Environment &ACE_TRY_ENV =
- TAO_default_environment ()
- )
- ACE_THROW_SPEC ((CORBA::SystemException));
-
- virtual Dynamic::ExceptionList * exceptions (
- CORBA::Environment &ACE_TRY_ENV =
- TAO_default_environment ()
- )
- ACE_THROW_SPEC ((CORBA::SystemException));
-
- virtual CORBA::Any * result (
- CORBA::Environment &ACE_TRY_ENV =
- TAO_default_environment ()
- )
- ACE_THROW_SPEC ((CORBA::SystemException));
-
- virtual char * target_most_derived_interface (
- CORBA::Environment &ACE_TRY_ENV = TAO_default_environment ())
- ACE_THROW_SPEC ((CORBA::SystemException));
-
- virtual CORBA::Boolean target_is_a (
- const char * id,
- CORBA::Environment &ACE_TRY_ENV = TAO_default_environment ())
- ACE_THROW_SPEC ((CORBA::SystemException));
-
-
- private:
- TAO_ServerRequestInfo_IR_ExceptionDef_type_get (const TAO_ServerRequestInfo_IR_ExceptionDef_type_get &);
- void operator= (const TAO_ServerRequestInfo_IR_ExceptionDef_type_get &);
-
- private:
- POA_IR::ExceptionDef *_tao_impl;
- void result (CORBA::TypeCode_ptr result);
- // update the result
- CORBA::TypeCode_ptr _result;
- };
-
- class TAO_ServerRequestInfo_IR_ExceptionDef_members_get : public TAO_ServerRequestInfo
- {
- public:
- friend class POA_IR::ExceptionDef;
- TAO_ServerRequestInfo_IR_ExceptionDef_members_get (
- TAO_ServerRequest &_tao_server_request,
- POA_IR::ExceptionDef *tao_impl
- ,
- CORBA::Environment &ACE_TRY_ENV =
- TAO_default_environment ()
- );
-
- virtual Dynamic::ParameterList * arguments (
- CORBA::Environment &ACE_TRY_ENV =
- TAO_default_environment ()
- )
- ACE_THROW_SPEC ((CORBA::SystemException));
-
- virtual Dynamic::ExceptionList * exceptions (
- CORBA::Environment &ACE_TRY_ENV =
- TAO_default_environment ()
- )
- ACE_THROW_SPEC ((CORBA::SystemException));
-
- virtual CORBA::Any * result (
- CORBA::Environment &ACE_TRY_ENV =
- TAO_default_environment ()
- )
- ACE_THROW_SPEC ((CORBA::SystemException));
-
- virtual char * target_most_derived_interface (
- CORBA::Environment &ACE_TRY_ENV = TAO_default_environment ())
- ACE_THROW_SPEC ((CORBA::SystemException));
-
- virtual CORBA::Boolean target_is_a (
- const char * id,
- CORBA::Environment &ACE_TRY_ENV = TAO_default_environment ())
- ACE_THROW_SPEC ((CORBA::SystemException));
-
-
- private:
- TAO_ServerRequestInfo_IR_ExceptionDef_members_get (const TAO_ServerRequestInfo_IR_ExceptionDef_members_get &);
- void operator= (const TAO_ServerRequestInfo_IR_ExceptionDef_members_get &);
-
- private:
- POA_IR::ExceptionDef *_tao_impl;
- void result (IR::StructMemberSeq * result);
- // update the result
- IR_StructMemberSeq * _result;
- };
-
- class TAO_ServerRequestInfo_IR_ExceptionDef_members_set : public TAO_ServerRequestInfo
- {
- public:
- friend class POA_IR::ExceptionDef;
- TAO_ServerRequestInfo_IR_ExceptionDef_members_set (
- TAO_ServerRequest &_tao_server_request,
- POA_IR::ExceptionDef *tao_impl
- ,
- const IR_StructMemberSeq & members,
- CORBA::Environment &ACE_TRY_ENV =
- TAO_default_environment ()
- );
-
- virtual Dynamic::ParameterList * arguments (
- CORBA::Environment &ACE_TRY_ENV =
- TAO_default_environment ()
- )
- ACE_THROW_SPEC ((CORBA::SystemException));
-
- virtual Dynamic::ExceptionList * exceptions (
- CORBA::Environment &ACE_TRY_ENV =
- TAO_default_environment ()
- )
- ACE_THROW_SPEC ((CORBA::SystemException));
-
- virtual CORBA::Any * result (
- CORBA::Environment &ACE_TRY_ENV =
- TAO_default_environment ()
- )
- ACE_THROW_SPEC ((CORBA::SystemException));
-
- virtual char * target_most_derived_interface (
- CORBA::Environment &ACE_TRY_ENV = TAO_default_environment ())
- ACE_THROW_SPEC ((CORBA::SystemException));
-
- virtual CORBA::Boolean target_is_a (
- const char * id,
- CORBA::Environment &ACE_TRY_ENV = TAO_default_environment ())
- ACE_THROW_SPEC ((CORBA::SystemException));
-
-
- private:
- TAO_ServerRequestInfo_IR_ExceptionDef_members_set (const TAO_ServerRequestInfo_IR_ExceptionDef_members_set &);
- void operator= (const TAO_ServerRequestInfo_IR_ExceptionDef_members_set &);
-
- private:
- POA_IR::ExceptionDef *_tao_impl;
- const IR_StructMemberSeq & members_;
- };
-
-#endif /* TAO_HAS_INTERCEPTORS */
-
- };
-
-///////////////////////////////////////////////////////////////////////
-// Strategized Proxy Broker Declaration
-//
-
-class _TAO_ExceptionDef_Strategized_Proxy_Broker : public virtual _TAO_ExceptionDef_Proxy_Broker
-{
-public:
- _TAO_ExceptionDef_Strategized_Proxy_Broker (void);
-
- virtual ~_TAO_ExceptionDef_Strategized_Proxy_Broker (void);
-
- virtual _TAO_ExceptionDef_Proxy_Impl &select_proxy (
- IR_ExceptionDef *object,
- CORBA_Environment &ACE_TRY_ENV = TAO_default_environment ()
- );
-
-private:
-
-// Helper methods that takes care to create the proxy
-// as soon as their use is necessary.
- void create_proxy (
- int strategy,
- CORBA::Environment &ACE_TRY_ENV
- );
-
-private:
-
- // Caches the proxy implementations. The proxy implementation
- // are totally stateless, and those can be shared by all the
- // instances of a given IDL interface type.
- _TAO_ExceptionDef_Proxy_Impl
- *proxy_cache_[TAO_Collocation_Strategies::CS_LAST];
-
- TAO_SYNCH_MUTEX mutex_;
-// This funxtion is used to get an handle to the unique instance
-// of the Strategized Proxy Broker that is available for a given
-// interface.
-
-public:
- static _TAO_ExceptionDef_Strategized_Proxy_Broker *the_TAO_ExceptionDef_Strategized_Proxy_Broker (void);
-};
-
-//
-// End Strategized Proxy Broker Declaration
-///////////////////////////////////////////////////////////////////////
-
-
-///////////////////////////////////////////////////////////////////////
-// ThruPOA Impl. Declaration
-//
-
-class _TAO_ExceptionDef_ThruPOA_Proxy_Impl :
- public virtual _TAO_ExceptionDef_Proxy_Impl,
- public virtual TAO_ThruPOA_Object_Proxy_Impl,
- public virtual ::POA_IR::_TAO_Contained_ThruPOA_Proxy_Impl,
- public virtual ::POA_IR::_TAO_Container_ThruPOA_Proxy_Impl
-
-{
-public:
- _TAO_ExceptionDef_ThruPOA_Proxy_Impl (void);
-
- virtual ~_TAO_ExceptionDef_ThruPOA_Proxy_Impl (void) { }
-
- virtual CORBA::TypeCode_ptr type (
- CORBA_Object *_collocated_tao_target_,
- CORBA::Environment &ACE_TRY_ENV
- )
- ACE_THROW_SPEC ((
- CORBA::SystemException
- ));
-
- virtual IR_StructMemberSeq * members (
- CORBA_Object *_collocated_tao_target_,
- CORBA::Environment &ACE_TRY_ENV
- )
- ACE_THROW_SPEC ((
- CORBA::SystemException
- ));
-
- virtual void members (
- CORBA_Object *_collocated_tao_target_,
- const IR_StructMemberSeq & members,
- CORBA::Environment &ACE_TRY_ENV
- )
- ACE_THROW_SPEC ((
- CORBA::SystemException
- ));
-
-};
-
-
-//
-// ThruPOA Proxy Impl. Declaration
-///////////////////////////////////////////////////////////////////////
-
-#if defined (ACE_HAS_USING_KEYWORD)
- // TIE class: Refer to CORBA v2.2, Section 20.34.4
- template <class T>
- class ExceptionDef_tie : public ExceptionDef
- {
- public:
- ExceptionDef_tie (T &t);
- // the T& ctor
- ExceptionDef_tie (T &t, PortableServer::POA_ptr poa);
- // ctor taking a POA
- ExceptionDef_tie (T *tp, CORBA::Boolean release=1);
- // ctor taking pointer and an ownership flag
- ExceptionDef_tie (T *tp, PortableServer::POA_ptr poa, CORBA::Boolean release=1);
- // ctor with T*, ownership flag and a POA
- ~ExceptionDef_tie (void);
- // dtor
-
- // TIE specific functions
- T *_tied_object (void);
- // return the underlying object
- void _tied_object (T &obj);
- // set the underlying object
- void _tied_object (T *obj, CORBA::Boolean release=1);
- // set the underlying object and the ownership flag
- CORBA::Boolean _is_owner (void);
- // do we own it
- void _is_owner (CORBA::Boolean b);
- // set the ownership
-
- // overridden ServantBase operations
- PortableServer::POA_ptr _default_POA (
- CORBA::Environment &env =
- TAO_default_environment ()
- );
- CORBA::TypeCode_ptr type (
- CORBA::Environment &ACE_TRY_ENV =
- TAO_default_environment ()
- )
- ACE_THROW_SPEC ((
- CORBA::SystemException
- ));
-
- IR_StructMemberSeq * members (
- CORBA::Environment &ACE_TRY_ENV =
- TAO_default_environment ()
- )
- ACE_THROW_SPEC ((
- CORBA::SystemException
- ));
-
- void members (
- const IR_StructMemberSeq & members,
- CORBA::Environment &ACE_TRY_ENV =
- TAO_default_environment ()
- )
- ACE_THROW_SPEC ((
- CORBA::SystemException
- ));
-
- char * id (
- CORBA::Environment &ACE_TRY_ENV =
- TAO_default_environment ()
- )
- ACE_THROW_SPEC ((
- CORBA::SystemException
- ));
-
- void id (
- const char * id,
- CORBA::Environment &ACE_TRY_ENV =
- TAO_default_environment ()
- )
- ACE_THROW_SPEC ((
- CORBA::SystemException
- ));
-
- char * name (
- CORBA::Environment &ACE_TRY_ENV =
- TAO_default_environment ()
- )
- ACE_THROW_SPEC ((
- CORBA::SystemException
- ));
-
- void name (
- const char * name,
- CORBA::Environment &ACE_TRY_ENV =
- TAO_default_environment ()
- )
- ACE_THROW_SPEC ((
- CORBA::SystemException
- ));
-
- char * version (
- CORBA::Environment &ACE_TRY_ENV =
- TAO_default_environment ()
- )
- ACE_THROW_SPEC ((
- CORBA::SystemException
- ));
-
- void version (
- const char * version,
- CORBA::Environment &ACE_TRY_ENV =
- TAO_default_environment ()
- )
- ACE_THROW_SPEC ((
- CORBA::SystemException
- ));
-
- IR_Container_ptr defined_in (
- CORBA::Environment &ACE_TRY_ENV =
- TAO_default_environment ()
- )
- ACE_THROW_SPEC ((
- CORBA::SystemException
- ));
-
- char * absolute_name (
- CORBA::Environment &ACE_TRY_ENV =
- TAO_default_environment ()
- )
- ACE_THROW_SPEC ((
- CORBA::SystemException
- ));
-
- IR_Repository_ptr containing_repository (
- CORBA::Environment &ACE_TRY_ENV =
- TAO_default_environment ()
- )
- ACE_THROW_SPEC ((
- CORBA::SystemException
- ));
-
- IR_Contained::Description * describe (
- CORBA::Environment &ACE_TRY_ENV =
- TAO_default_environment ()
- )
- ACE_THROW_SPEC ((
- CORBA::SystemException
- ));
-
- void move (
- IR_Container_ptr new_container,
- const char * new_name,
- const char * new_version,
- CORBA::Environment &ACE_TRY_ENV =
- TAO_default_environment ()
- )
- ACE_THROW_SPEC ((
- CORBA::SystemException
- ));
-
- IR_Contained_ptr lookup (
- const char * search_name,
- CORBA::Environment &ACE_TRY_ENV =
- TAO_default_environment ()
- )
- ACE_THROW_SPEC ((
- CORBA::SystemException
- ));
-
- IR_ContainedSeq * contents (
- IR_DefinitionKind limit_type,
- CORBA::Boolean exclude_inherited,
- CORBA::Environment &ACE_TRY_ENV =
- TAO_default_environment ()
- )
- ACE_THROW_SPEC ((
- CORBA::SystemException
- ));
-
- IR_ContainedSeq * lookup_name (
- const char * search_name,
- CORBA::Long levels_to_search,
- IR_DefinitionKind limit_type,
- CORBA::Boolean exclude_inherited,
- CORBA::Environment &ACE_TRY_ENV =
- TAO_default_environment ()
- )
- ACE_THROW_SPEC ((
- CORBA::SystemException
- ));
-
- IR_Container::DescriptionSeq * describe_contents (
- IR_DefinitionKind limit_type,
- CORBA::Boolean exclude_inherited,
- CORBA::Long max_returned_objs,
- CORBA::Environment &ACE_TRY_ENV =
- TAO_default_environment ()
- )
- ACE_THROW_SPEC ((
- CORBA::SystemException
- ));
-
- IR_ModuleDef_ptr create_module (
- const char * id,
- const char * name,
- const char * version,
- CORBA::Environment &ACE_TRY_ENV =
- TAO_default_environment ()
- )
- ACE_THROW_SPEC ((
- CORBA::SystemException
- ));
-
- IR_ConstantDef_ptr create_constant (
- const char * id,
- const char * name,
- const char * version,
- IR_IDLType_ptr type,
- const CORBA::Any & value,
- CORBA::Environment &ACE_TRY_ENV =
- TAO_default_environment ()
- )
- ACE_THROW_SPEC ((
- CORBA::SystemException
- ));
-
- IR_StructDef_ptr create_struct (
- const char * id,
- const char * name,
- const char * version,
- const IR_StructMemberSeq & members,
- CORBA::Environment &ACE_TRY_ENV =
- TAO_default_environment ()
- )
- ACE_THROW_SPEC ((
- CORBA::SystemException
- ));
-
- IR_UnionDef_ptr create_union (
- const char * id,
- const char * name,
- const char * version,
- IR_IDLType_ptr discriminator_type,
- const IR_UnionMemberSeq & members,
- CORBA::Environment &ACE_TRY_ENV =
- TAO_default_environment ()
- )
- ACE_THROW_SPEC ((
- CORBA::SystemException
- ));
-
- IR_EnumDef_ptr create_enum (
- const char * id,
- const char * name,
- const char * version,
- const IR_EnumMemberSeq & members,
- CORBA::Environment &ACE_TRY_ENV =
- TAO_default_environment ()
- )
- ACE_THROW_SPEC ((
- CORBA::SystemException
- ));
-
- IR_AliasDef_ptr create_alias (
- const char * id,
- const char * name,
- const char * version,
- IR_IDLType_ptr original_type,
- CORBA::Environment &ACE_TRY_ENV =
- TAO_default_environment ()
- )
- ACE_THROW_SPEC ((
- CORBA::SystemException
- ));
-
- IR_InterfaceDef_ptr create_interface (
- const char * id,
- const char * name,
- const char * version,
- const IR_InterfaceDefSeq & base_interfaces,
- CORBA::Boolean is_abstract,
- CORBA::Boolean is_local,
- CORBA::Environment &ACE_TRY_ENV =
- TAO_default_environment ()
- )
- ACE_THROW_SPEC ((
- CORBA::SystemException
- ));
-
- IR_ValueDef_ptr create_value (
- const char * id,
- const char * name,
- const char * version,
- CORBA::Boolean is_custom,
- CORBA::Boolean is_abstract,
- IR_ValueDef_ptr base_value,
- CORBA::Boolean is_truncatable,
- const IR_ValueDefSeq & abstract_base_values,
- const IR_InterfaceDefSeq & supported_interfaces,
- const IR_InitializerSeq & initializers,
- CORBA::Environment &ACE_TRY_ENV =
- TAO_default_environment ()
- )
- ACE_THROW_SPEC ((
- CORBA::SystemException
- ));
-
- IR_ValueBoxDef_ptr create_value_box (
- const char * id,
- const char * name,
- const char * version,
- IR_IDLType_ptr original_type_def,
- CORBA::Environment &ACE_TRY_ENV =
- TAO_default_environment ()
- )
- ACE_THROW_SPEC ((
- CORBA::SystemException
- ));
-
- IR_ExceptionDef_ptr create_exception (
- const char * id,
- const char * name,
- const char * version,
- const IR_StructMemberSeq & members,
- CORBA::Environment &ACE_TRY_ENV =
- TAO_default_environment ()
- )
- ACE_THROW_SPEC ((
- CORBA::SystemException
- ));
-
- IR_NativeDef_ptr create_native (
- const char * id,
- const char * name,
- const char * version,
- CORBA::Environment &ACE_TRY_ENV =
- TAO_default_environment ()
- )
- ACE_THROW_SPEC ((
- CORBA::SystemException
- ));
-
- IR_DefinitionKind def_kind (
- CORBA::Environment &ACE_TRY_ENV =
- TAO_default_environment ()
- )
- ACE_THROW_SPEC ((
- CORBA::SystemException
- ));
-
- void destroy (
- CORBA::Environment &ACE_TRY_ENV =
- TAO_default_environment ()
- )
- ACE_THROW_SPEC ((
- CORBA::SystemException
- ));
-
-private:
- T *ptr_;
- PortableServer::POA_var poa_;
- CORBA::Boolean rel_;
-
- // copy and assignment are not allowed
- ExceptionDef_tie (const ExceptionDef_tie &);
- void operator= (const ExceptionDef_tie &);
- };
-
-#endif /* ACE_HAS_USING_KEYWORD */
-
- class AttributeDef;
- typedef AttributeDef *AttributeDef_ptr;
- // Forward Classes Declaration
- class _TAO_AttributeDef_ThruPOA_Proxy_Impl;
- class _TAO_AttributeDef_Strategized_Proxy_Broker;
-
- class AttributeDef : public virtual Contained
- {
- protected:
- AttributeDef (void);
-
- public:
- AttributeDef (const AttributeDef& rhs);
- virtual ~AttributeDef (void);
-
-
- virtual CORBA::Boolean _is_a (
- const char* logical_type_id,
- CORBA::Environment &ACE_TRY_ENV =
- TAO_default_environment ()
- );
-
- virtual void* _downcast (
- const char* logical_type_id
- );
-
- static void _is_a_skel (
- TAO_ServerRequest &req,
- void *obj,
- void *context,
- CORBA::Environment &ACE_TRY_ENV =
- TAO_default_environment ()
- );
-
- static void _non_existent_skel (
- TAO_ServerRequest &req,
- void *obj,
- void *context,
- CORBA::Environment &ACE_TRY_ENV =
- TAO_default_environment ()
- );
-
- virtual void _dispatch (
- TAO_ServerRequest &_tao_req,
- void *_tao_context,
- CORBA::Environment &ACE_TRY_ENV =
- TAO_default_environment ()
- );
-
- IR_AttributeDef *_this (
- CORBA::Environment &ACE_TRY_ENV =
- TAO_default_environment ()
- );
-
- virtual const char* _interface_repository_id (void) const;
-
- virtual CORBA::TypeCode_ptr type (
- CORBA::Environment &ACE_TRY_ENV =
- TAO_default_environment ()
- )
- ACE_THROW_SPEC ((
- CORBA::SystemException
- )) = 0;
-
- static void _get_type_skel (
- TAO_ServerRequest &_tao_req,
- void *_tao_obj,
- void *_tao_context,
- CORBA::Environment &ACE_TRY_ENV =
- TAO_default_environment ()
- );
-
- virtual IR_IDLType_ptr type_def (
- CORBA::Environment &ACE_TRY_ENV =
- TAO_default_environment ()
- )
- ACE_THROW_SPEC ((
- CORBA::SystemException
- )) = 0;
-
- static void _get_type_def_skel (
- TAO_ServerRequest &_tao_req,
- void *_tao_obj,
- void *_tao_context,
- CORBA::Environment &ACE_TRY_ENV =
- TAO_default_environment ()
- );
-
- virtual void type_def (
- IR_IDLType_ptr type_def,
- CORBA::Environment &ACE_TRY_ENV =
- TAO_default_environment ()
- )
- ACE_THROW_SPEC ((
- CORBA::SystemException
- )) = 0;
-
- static void _set_type_def_skel (
- TAO_ServerRequest &_tao_req,
- void *_tao_obj,
- void *_tao_context,
- CORBA::Environment &ACE_TRY_ENV =
- TAO_default_environment ()
- );
-
- virtual IR_AttributeMode mode (
- CORBA::Environment &ACE_TRY_ENV =
- TAO_default_environment ()
- )
- ACE_THROW_SPEC ((
- CORBA::SystemException
- )) = 0;
-
- static void _get_mode_skel (
- TAO_ServerRequest &_tao_req,
- void *_tao_obj,
- void *_tao_context,
- CORBA::Environment &ACE_TRY_ENV =
- TAO_default_environment ()
- );
-
- virtual void mode (
- IR_AttributeMode mode,
- CORBA::Environment &ACE_TRY_ENV =
- TAO_default_environment ()
- )
- ACE_THROW_SPEC ((
- CORBA::SystemException
- )) = 0;
-
- static void _set_mode_skel (
- TAO_ServerRequest &_tao_req,
- void *_tao_obj,
- void *_tao_context,
- CORBA::Environment &ACE_TRY_ENV =
- TAO_default_environment ()
- );
-
- static void _get_id_skel (
- TAO_ServerRequest &req,
- void *obj,
- void *context,
- CORBA::Environment &env =
- TAO_default_environment ()
- );
-
- static void _set_id_skel (
- TAO_ServerRequest &req,
- void *obj,
- void *context,
- CORBA::Environment &env =
- TAO_default_environment ()
- );
-
- static void _get_name_skel (
- TAO_ServerRequest &req,
- void *obj,
- void *context,
- CORBA::Environment &env =
- TAO_default_environment ()
- );
-
- static void _set_name_skel (
- TAO_ServerRequest &req,
- void *obj,
- void *context,
- CORBA::Environment &env =
- TAO_default_environment ()
- );
-
- static void _get_version_skel (
- TAO_ServerRequest &req,
- void *obj,
- void *context,
- CORBA::Environment &env =
- TAO_default_environment ()
- );
-
- static void _set_version_skel (
- TAO_ServerRequest &req,
- void *obj,
- void *context,
- CORBA::Environment &env =
- TAO_default_environment ()
- );
-
- static void _get_defined_in_skel (
- TAO_ServerRequest &req,
- void *obj,
- void *context,
- CORBA::Environment &env =
- TAO_default_environment ()
- );
-
- static void _get_absolute_name_skel (
- TAO_ServerRequest &req,
- void *obj,
- void *context,
- CORBA::Environment &env =
- TAO_default_environment ()
- );
-
- static void _get_containing_repository_skel (
- TAO_ServerRequest &req,
- void *obj,
- void *context,
- CORBA::Environment &env =
- TAO_default_environment ()
- );
-
- static void describe_skel (
- TAO_ServerRequest &req,
- void *obj,
- void *context,
- CORBA::Environment &env =
- TAO_default_environment ()
- );
-
- static void move_skel (
- TAO_ServerRequest &req,
- void *obj,
- void *context,
- CORBA::Environment &env =
- TAO_default_environment ()
- );
-
- static void _get_def_kind_skel (
- TAO_ServerRequest &req,
- void *obj,
- void *context,
- CORBA::Environment &env =
- TAO_default_environment ()
- );
-
- static void destroy_skel (
- TAO_ServerRequest &req,
- void *obj,
- void *context,
- CORBA::Environment &env =
- TAO_default_environment ()
- );
-
-#if (TAO_HAS_INTERCEPTORS == 1)
- // Generation of interceptors related RequestInfo classes per operation.
- // This needed to be able to store the arguments, exceptions, contexts
- // and build the lists dynamically on demand so that unnecessary time overhead
- // of building these lists when they arent used is avoided.
- class TAO_ServerRequestInfo_IR_AttributeDef_type_get : public TAO_ServerRequestInfo
- {
- public:
- friend class POA_IR::AttributeDef;
- TAO_ServerRequestInfo_IR_AttributeDef_type_get (
- TAO_ServerRequest &_tao_server_request,
- POA_IR::AttributeDef *tao_impl
- ,
- CORBA::Environment &ACE_TRY_ENV =
- TAO_default_environment ()
- );
-
- virtual Dynamic::ParameterList * arguments (
- CORBA::Environment &ACE_TRY_ENV =
- TAO_default_environment ()
- )
- ACE_THROW_SPEC ((CORBA::SystemException));
-
- virtual Dynamic::ExceptionList * exceptions (
- CORBA::Environment &ACE_TRY_ENV =
- TAO_default_environment ()
- )
- ACE_THROW_SPEC ((CORBA::SystemException));
-
- virtual CORBA::Any * result (
- CORBA::Environment &ACE_TRY_ENV =
- TAO_default_environment ()
- )
- ACE_THROW_SPEC ((CORBA::SystemException));
-
- virtual char * target_most_derived_interface (
- CORBA::Environment &ACE_TRY_ENV = TAO_default_environment ())
- ACE_THROW_SPEC ((CORBA::SystemException));
-
- virtual CORBA::Boolean target_is_a (
- const char * id,
- CORBA::Environment &ACE_TRY_ENV = TAO_default_environment ())
- ACE_THROW_SPEC ((CORBA::SystemException));
-
-
- private:
- TAO_ServerRequestInfo_IR_AttributeDef_type_get (const TAO_ServerRequestInfo_IR_AttributeDef_type_get &);
- void operator= (const TAO_ServerRequestInfo_IR_AttributeDef_type_get &);
-
- private:
- POA_IR::AttributeDef *_tao_impl;
- void result (CORBA::TypeCode_ptr result);
- // update the result
- CORBA::TypeCode_ptr _result;
- };
-
- class TAO_ServerRequestInfo_IR_AttributeDef_type_def_get : public TAO_ServerRequestInfo
- {
- public:
- friend class POA_IR::AttributeDef;
- TAO_ServerRequestInfo_IR_AttributeDef_type_def_get (
- TAO_ServerRequest &_tao_server_request,
- POA_IR::AttributeDef *tao_impl
- ,
- CORBA::Environment &ACE_TRY_ENV =
- TAO_default_environment ()
- );
-
- virtual Dynamic::ParameterList * arguments (
- CORBA::Environment &ACE_TRY_ENV =
- TAO_default_environment ()
- )
- ACE_THROW_SPEC ((CORBA::SystemException));
-
- virtual Dynamic::ExceptionList * exceptions (
- CORBA::Environment &ACE_TRY_ENV =
- TAO_default_environment ()
- )
- ACE_THROW_SPEC ((CORBA::SystemException));
-
- virtual CORBA::Any * result (
- CORBA::Environment &ACE_TRY_ENV =
- TAO_default_environment ()
- )
- ACE_THROW_SPEC ((CORBA::SystemException));
-
- virtual char * target_most_derived_interface (
- CORBA::Environment &ACE_TRY_ENV = TAO_default_environment ())
- ACE_THROW_SPEC ((CORBA::SystemException));
-
- virtual CORBA::Boolean target_is_a (
- const char * id,
- CORBA::Environment &ACE_TRY_ENV = TAO_default_environment ())
- ACE_THROW_SPEC ((CORBA::SystemException));
-
-
- private:
- TAO_ServerRequestInfo_IR_AttributeDef_type_def_get (const TAO_ServerRequestInfo_IR_AttributeDef_type_def_get &);
- void operator= (const TAO_ServerRequestInfo_IR_AttributeDef_type_def_get &);
-
- private:
- POA_IR::AttributeDef *_tao_impl;
- void result (IR::IDLType_ptr result);
- // update the result
- IR_IDLType_ptr _result;
- };
-
- class TAO_ServerRequestInfo_IR_AttributeDef_type_def_set : public TAO_ServerRequestInfo
- {
- public:
- friend class POA_IR::AttributeDef;
- TAO_ServerRequestInfo_IR_AttributeDef_type_def_set (
- TAO_ServerRequest &_tao_server_request,
- POA_IR::AttributeDef *tao_impl
- ,
- IR_IDLType_ptr type_def,
- CORBA::Environment &ACE_TRY_ENV =
- TAO_default_environment ()
- );
-
- virtual Dynamic::ParameterList * arguments (
- CORBA::Environment &ACE_TRY_ENV =
- TAO_default_environment ()
- )
- ACE_THROW_SPEC ((CORBA::SystemException));
-
- virtual Dynamic::ExceptionList * exceptions (
- CORBA::Environment &ACE_TRY_ENV =
- TAO_default_environment ()
- )
- ACE_THROW_SPEC ((CORBA::SystemException));
-
- virtual CORBA::Any * result (
- CORBA::Environment &ACE_TRY_ENV =
- TAO_default_environment ()
- )
- ACE_THROW_SPEC ((CORBA::SystemException));
-
- virtual char * target_most_derived_interface (
- CORBA::Environment &ACE_TRY_ENV = TAO_default_environment ())
- ACE_THROW_SPEC ((CORBA::SystemException));
-
- virtual CORBA::Boolean target_is_a (
- const char * id,
- CORBA::Environment &ACE_TRY_ENV = TAO_default_environment ())
- ACE_THROW_SPEC ((CORBA::SystemException));
-
-
- private:
- TAO_ServerRequestInfo_IR_AttributeDef_type_def_set (const TAO_ServerRequestInfo_IR_AttributeDef_type_def_set &);
- void operator= (const TAO_ServerRequestInfo_IR_AttributeDef_type_def_set &);
-
- private:
- POA_IR::AttributeDef *_tao_impl;
- IR_IDLType_ptr type_def_;
- };
-
- class TAO_ServerRequestInfo_IR_AttributeDef_mode_get : public TAO_ServerRequestInfo
- {
- public:
- friend class POA_IR::AttributeDef;
- TAO_ServerRequestInfo_IR_AttributeDef_mode_get (
- TAO_ServerRequest &_tao_server_request,
- POA_IR::AttributeDef *tao_impl
- ,
- CORBA::Environment &ACE_TRY_ENV =
- TAO_default_environment ()
- );
-
- virtual Dynamic::ParameterList * arguments (
- CORBA::Environment &ACE_TRY_ENV =
- TAO_default_environment ()
- )
- ACE_THROW_SPEC ((CORBA::SystemException));
-
- virtual Dynamic::ExceptionList * exceptions (
- CORBA::Environment &ACE_TRY_ENV =
- TAO_default_environment ()
- )
- ACE_THROW_SPEC ((CORBA::SystemException));
-
- virtual CORBA::Any * result (
- CORBA::Environment &ACE_TRY_ENV =
- TAO_default_environment ()
- )
- ACE_THROW_SPEC ((CORBA::SystemException));
-
- virtual char * target_most_derived_interface (
- CORBA::Environment &ACE_TRY_ENV = TAO_default_environment ())
- ACE_THROW_SPEC ((CORBA::SystemException));
-
- virtual CORBA::Boolean target_is_a (
- const char * id,
- CORBA::Environment &ACE_TRY_ENV = TAO_default_environment ())
- ACE_THROW_SPEC ((CORBA::SystemException));
-
-
- private:
- TAO_ServerRequestInfo_IR_AttributeDef_mode_get (const TAO_ServerRequestInfo_IR_AttributeDef_mode_get &);
- void operator= (const TAO_ServerRequestInfo_IR_AttributeDef_mode_get &);
-
- private:
- POA_IR::AttributeDef *_tao_impl;
- void result (IR::AttributeMode result);
- // update the result
- IR_AttributeMode _result;
- };
-
- class TAO_ServerRequestInfo_IR_AttributeDef_mode_set : public TAO_ServerRequestInfo
- {
- public:
- friend class POA_IR::AttributeDef;
- TAO_ServerRequestInfo_IR_AttributeDef_mode_set (
- TAO_ServerRequest &_tao_server_request,
- POA_IR::AttributeDef *tao_impl
- ,
- IR_AttributeMode & mode,
- CORBA::Environment &ACE_TRY_ENV =
- TAO_default_environment ()
- );
-
- virtual Dynamic::ParameterList * arguments (
- CORBA::Environment &ACE_TRY_ENV =
- TAO_default_environment ()
- )
- ACE_THROW_SPEC ((CORBA::SystemException));
-
- virtual Dynamic::ExceptionList * exceptions (
- CORBA::Environment &ACE_TRY_ENV =
- TAO_default_environment ()
- )
- ACE_THROW_SPEC ((CORBA::SystemException));
-
- virtual CORBA::Any * result (
- CORBA::Environment &ACE_TRY_ENV =
- TAO_default_environment ()
- )
- ACE_THROW_SPEC ((CORBA::SystemException));
-
- virtual char * target_most_derived_interface (
- CORBA::Environment &ACE_TRY_ENV = TAO_default_environment ())
- ACE_THROW_SPEC ((CORBA::SystemException));
-
- virtual CORBA::Boolean target_is_a (
- const char * id,
- CORBA::Environment &ACE_TRY_ENV = TAO_default_environment ())
- ACE_THROW_SPEC ((CORBA::SystemException));
-
-
- private:
- TAO_ServerRequestInfo_IR_AttributeDef_mode_set (const TAO_ServerRequestInfo_IR_AttributeDef_mode_set &);
- void operator= (const TAO_ServerRequestInfo_IR_AttributeDef_mode_set &);
-
- private:
- POA_IR::AttributeDef *_tao_impl;
- const IR_AttributeMode & mode_;
- };
-
-#endif /* TAO_HAS_INTERCEPTORS */
-
- };
-
-///////////////////////////////////////////////////////////////////////
-// Strategized Proxy Broker Declaration
-//
-
-class _TAO_AttributeDef_Strategized_Proxy_Broker : public virtual _TAO_AttributeDef_Proxy_Broker
-{
-public:
- _TAO_AttributeDef_Strategized_Proxy_Broker (void);
-
- virtual ~_TAO_AttributeDef_Strategized_Proxy_Broker (void);
-
- virtual _TAO_AttributeDef_Proxy_Impl &select_proxy (
- IR_AttributeDef *object,
- CORBA_Environment &ACE_TRY_ENV = TAO_default_environment ()
- );
-
-private:
-
-// Helper methods that takes care to create the proxy
-// as soon as their use is necessary.
- void create_proxy (
- int strategy,
- CORBA::Environment &ACE_TRY_ENV
- );
-
-private:
-
- // Caches the proxy implementations. The proxy implementation
- // are totally stateless, and those can be shared by all the
- // instances of a given IDL interface type.
- _TAO_AttributeDef_Proxy_Impl
- *proxy_cache_[TAO_Collocation_Strategies::CS_LAST];
-
- TAO_SYNCH_MUTEX mutex_;
-// This funxtion is used to get an handle to the unique instance
-// of the Strategized Proxy Broker that is available for a given
-// interface.
-
-public:
- static _TAO_AttributeDef_Strategized_Proxy_Broker *the_TAO_AttributeDef_Strategized_Proxy_Broker (void);
-};
-
-//
-// End Strategized Proxy Broker Declaration
-///////////////////////////////////////////////////////////////////////
-
-
-///////////////////////////////////////////////////////////////////////
-// ThruPOA Impl. Declaration
-//
-
-class _TAO_AttributeDef_ThruPOA_Proxy_Impl :
- public virtual _TAO_AttributeDef_Proxy_Impl,
- public virtual TAO_ThruPOA_Object_Proxy_Impl,
- public virtual ::POA_IR::_TAO_Contained_ThruPOA_Proxy_Impl
-
-{
-public:
- _TAO_AttributeDef_ThruPOA_Proxy_Impl (void);
-
- virtual ~_TAO_AttributeDef_ThruPOA_Proxy_Impl (void) { }
-
- virtual CORBA::TypeCode_ptr type (
- CORBA_Object *_collocated_tao_target_,
- CORBA::Environment &ACE_TRY_ENV
- )
- ACE_THROW_SPEC ((
- CORBA::SystemException
- ));
-
- virtual IR_IDLType_ptr type_def (
- CORBA_Object *_collocated_tao_target_,
- CORBA::Environment &ACE_TRY_ENV
- )
- ACE_THROW_SPEC ((
- CORBA::SystemException
- ));
-
- virtual void type_def (
- CORBA_Object *_collocated_tao_target_,
- IR_IDLType_ptr type_def,
- CORBA::Environment &ACE_TRY_ENV
- )
- ACE_THROW_SPEC ((
- CORBA::SystemException
- ));
-
- virtual IR_AttributeMode mode (
- CORBA_Object *_collocated_tao_target_,
- CORBA::Environment &ACE_TRY_ENV
- )
- ACE_THROW_SPEC ((
- CORBA::SystemException
- ));
-
- virtual void mode (
- CORBA_Object *_collocated_tao_target_,
- IR_AttributeMode mode,
- CORBA::Environment &ACE_TRY_ENV
- )
- ACE_THROW_SPEC ((
- CORBA::SystemException
- ));
-
-};
-
-
-//
-// ThruPOA Proxy Impl. Declaration
-///////////////////////////////////////////////////////////////////////
-
-#if defined (ACE_HAS_USING_KEYWORD)
- // TIE class: Refer to CORBA v2.2, Section 20.34.4
- template <class T>
- class AttributeDef_tie : public AttributeDef
- {
- public:
- AttributeDef_tie (T &t);
- // the T& ctor
- AttributeDef_tie (T &t, PortableServer::POA_ptr poa);
- // ctor taking a POA
- AttributeDef_tie (T *tp, CORBA::Boolean release=1);
- // ctor taking pointer and an ownership flag
- AttributeDef_tie (T *tp, PortableServer::POA_ptr poa, CORBA::Boolean release=1);
- // ctor with T*, ownership flag and a POA
- ~AttributeDef_tie (void);
- // dtor
-
- // TIE specific functions
- T *_tied_object (void);
- // return the underlying object
- void _tied_object (T &obj);
- // set the underlying object
- void _tied_object (T *obj, CORBA::Boolean release=1);
- // set the underlying object and the ownership flag
- CORBA::Boolean _is_owner (void);
- // do we own it
- void _is_owner (CORBA::Boolean b);
- // set the ownership
-
- // overridden ServantBase operations
- PortableServer::POA_ptr _default_POA (
- CORBA::Environment &env =
- TAO_default_environment ()
- );
- CORBA::TypeCode_ptr type (
- CORBA::Environment &ACE_TRY_ENV =
- TAO_default_environment ()
- )
- ACE_THROW_SPEC ((
- CORBA::SystemException
- ));
-
- IR_IDLType_ptr type_def (
- CORBA::Environment &ACE_TRY_ENV =
- TAO_default_environment ()
- )
- ACE_THROW_SPEC ((
- CORBA::SystemException
- ));
-
- void type_def (
- IR_IDLType_ptr type_def,
- CORBA::Environment &ACE_TRY_ENV =
- TAO_default_environment ()
- )
- ACE_THROW_SPEC ((
- CORBA::SystemException
- ));
-
- IR_AttributeMode mode (
- CORBA::Environment &ACE_TRY_ENV =
- TAO_default_environment ()
- )
- ACE_THROW_SPEC ((
- CORBA::SystemException
- ));
-
- void mode (
- IR_AttributeMode mode,
- CORBA::Environment &ACE_TRY_ENV =
- TAO_default_environment ()
- )
- ACE_THROW_SPEC ((
- CORBA::SystemException
- ));
-
- char * id (
- CORBA::Environment &ACE_TRY_ENV =
- TAO_default_environment ()
- )
- ACE_THROW_SPEC ((
- CORBA::SystemException
- ));
-
- void id (
- const char * id,
- CORBA::Environment &ACE_TRY_ENV =
- TAO_default_environment ()
- )
- ACE_THROW_SPEC ((
- CORBA::SystemException
- ));
-
- char * name (
- CORBA::Environment &ACE_TRY_ENV =
- TAO_default_environment ()
- )
- ACE_THROW_SPEC ((
- CORBA::SystemException
- ));
-
- void name (
- const char * name,
- CORBA::Environment &ACE_TRY_ENV =
- TAO_default_environment ()
- )
- ACE_THROW_SPEC ((
- CORBA::SystemException
- ));
-
- char * version (
- CORBA::Environment &ACE_TRY_ENV =
- TAO_default_environment ()
- )
- ACE_THROW_SPEC ((
- CORBA::SystemException
- ));
-
- void version (
- const char * version,
- CORBA::Environment &ACE_TRY_ENV =
- TAO_default_environment ()
- )
- ACE_THROW_SPEC ((
- CORBA::SystemException
- ));
-
- IR_Container_ptr defined_in (
- CORBA::Environment &ACE_TRY_ENV =
- TAO_default_environment ()
- )
- ACE_THROW_SPEC ((
- CORBA::SystemException
- ));
-
- char * absolute_name (
- CORBA::Environment &ACE_TRY_ENV =
- TAO_default_environment ()
- )
- ACE_THROW_SPEC ((
- CORBA::SystemException
- ));
-
- IR_Repository_ptr containing_repository (
- CORBA::Environment &ACE_TRY_ENV =
- TAO_default_environment ()
- )
- ACE_THROW_SPEC ((
- CORBA::SystemException
- ));
-
- IR_Contained::Description * describe (
- CORBA::Environment &ACE_TRY_ENV =
- TAO_default_environment ()
- )
- ACE_THROW_SPEC ((
- CORBA::SystemException
- ));
-
- void move (
- IR_Container_ptr new_container,
- const char * new_name,
- const char * new_version,
- CORBA::Environment &ACE_TRY_ENV =
- TAO_default_environment ()
- )
- ACE_THROW_SPEC ((
- CORBA::SystemException
- ));
-
- IR_DefinitionKind def_kind (
- CORBA::Environment &ACE_TRY_ENV =
- TAO_default_environment ()
- )
- ACE_THROW_SPEC ((
- CORBA::SystemException
- ));
-
- void destroy (
- CORBA::Environment &ACE_TRY_ENV =
- TAO_default_environment ()
- )
- ACE_THROW_SPEC ((
- CORBA::SystemException
- ));
-
-private:
- T *ptr_;
- PortableServer::POA_var poa_;
- CORBA::Boolean rel_;
-
- // copy and assignment are not allowed
- AttributeDef_tie (const AttributeDef_tie &);
- void operator= (const AttributeDef_tie &);
- };
-
-#endif /* ACE_HAS_USING_KEYWORD */
-
- class OperationDef;
- typedef OperationDef *OperationDef_ptr;
- // Forward Classes Declaration
- class _TAO_OperationDef_ThruPOA_Proxy_Impl;
- class _TAO_OperationDef_Strategized_Proxy_Broker;
-
- class OperationDef : public virtual Contained
- {
- protected:
- OperationDef (void);
-
- public:
- OperationDef (const OperationDef& rhs);
- virtual ~OperationDef (void);
-
-
- virtual CORBA::Boolean _is_a (
- const char* logical_type_id,
- CORBA::Environment &ACE_TRY_ENV =
- TAO_default_environment ()
- );
-
- virtual void* _downcast (
- const char* logical_type_id
- );
-
- static void _is_a_skel (
- TAO_ServerRequest &req,
- void *obj,
- void *context,
- CORBA::Environment &ACE_TRY_ENV =
- TAO_default_environment ()
- );
-
- static void _non_existent_skel (
- TAO_ServerRequest &req,
- void *obj,
- void *context,
- CORBA::Environment &ACE_TRY_ENV =
- TAO_default_environment ()
- );
-
- virtual void _dispatch (
- TAO_ServerRequest &_tao_req,
- void *_tao_context,
- CORBA::Environment &ACE_TRY_ENV =
- TAO_default_environment ()
- );
-
- IR_OperationDef *_this (
- CORBA::Environment &ACE_TRY_ENV =
- TAO_default_environment ()
- );
-
- virtual const char* _interface_repository_id (void) const;
-
- virtual CORBA::TypeCode_ptr result (
- CORBA::Environment &ACE_TRY_ENV =
- TAO_default_environment ()
- )
- ACE_THROW_SPEC ((
- CORBA::SystemException
- )) = 0;
-
- static void _get_result_skel (
- TAO_ServerRequest &_tao_req,
- void *_tao_obj,
- void *_tao_context,
- CORBA::Environment &ACE_TRY_ENV =
- TAO_default_environment ()
- );
-
- virtual IR_IDLType_ptr result_def (
- CORBA::Environment &ACE_TRY_ENV =
- TAO_default_environment ()
- )
- ACE_THROW_SPEC ((
- CORBA::SystemException
- )) = 0;
-
- static void _get_result_def_skel (
- TAO_ServerRequest &_tao_req,
- void *_tao_obj,
- void *_tao_context,
- CORBA::Environment &ACE_TRY_ENV =
- TAO_default_environment ()
- );
-
- virtual void result_def (
- IR_IDLType_ptr result_def,
- CORBA::Environment &ACE_TRY_ENV =
- TAO_default_environment ()
- )
- ACE_THROW_SPEC ((
- CORBA::SystemException
- )) = 0;
-
- static void _set_result_def_skel (
- TAO_ServerRequest &_tao_req,
- void *_tao_obj,
- void *_tao_context,
- CORBA::Environment &ACE_TRY_ENV =
- TAO_default_environment ()
- );
-
- virtual IR_ParDescriptionSeq * params (
- CORBA::Environment &ACE_TRY_ENV =
- TAO_default_environment ()
- )
- ACE_THROW_SPEC ((
- CORBA::SystemException
- )) = 0;
-
- static void _get_params_skel (
- TAO_ServerRequest &_tao_req,
- void *_tao_obj,
- void *_tao_context,
- CORBA::Environment &ACE_TRY_ENV =
- TAO_default_environment ()
- );
-
- virtual void params (
- const IR_ParDescriptionSeq & params,
- CORBA::Environment &ACE_TRY_ENV =
- TAO_default_environment ()
- )
- ACE_THROW_SPEC ((
- CORBA::SystemException
- )) = 0;
-
- static void _set_params_skel (
- TAO_ServerRequest &_tao_req,
- void *_tao_obj,
- void *_tao_context,
- CORBA::Environment &ACE_TRY_ENV =
- TAO_default_environment ()
- );
-
- virtual IR_OperationMode mode (
- CORBA::Environment &ACE_TRY_ENV =
- TAO_default_environment ()
- )
- ACE_THROW_SPEC ((
- CORBA::SystemException
- )) = 0;
-
- static void _get_mode_skel (
- TAO_ServerRequest &_tao_req,
- void *_tao_obj,
- void *_tao_context,
- CORBA::Environment &ACE_TRY_ENV =
- TAO_default_environment ()
- );
-
- virtual void mode (
- IR_OperationMode mode,
- CORBA::Environment &ACE_TRY_ENV =
- TAO_default_environment ()
- )
- ACE_THROW_SPEC ((
- CORBA::SystemException
- )) = 0;
-
- static void _set_mode_skel (
- TAO_ServerRequest &_tao_req,
- void *_tao_obj,
- void *_tao_context,
- CORBA::Environment &ACE_TRY_ENV =
- TAO_default_environment ()
- );
-
- virtual IR_ContextIdSeq * contexts (
- CORBA::Environment &ACE_TRY_ENV =
- TAO_default_environment ()
- )
- ACE_THROW_SPEC ((
- CORBA::SystemException
- )) = 0;
-
- static void _get_contexts_skel (
- TAO_ServerRequest &_tao_req,
- void *_tao_obj,
- void *_tao_context,
- CORBA::Environment &ACE_TRY_ENV =
- TAO_default_environment ()
- );
-
- virtual void contexts (
- const IR_ContextIdSeq & contexts,
- CORBA::Environment &ACE_TRY_ENV =
- TAO_default_environment ()
- )
- ACE_THROW_SPEC ((
- CORBA::SystemException
- )) = 0;
-
- static void _set_contexts_skel (
- TAO_ServerRequest &_tao_req,
- void *_tao_obj,
- void *_tao_context,
- CORBA::Environment &ACE_TRY_ENV =
- TAO_default_environment ()
- );
-
- virtual IR_ExceptionDefSeq * exceptions (
- CORBA::Environment &ACE_TRY_ENV =
- TAO_default_environment ()
- )
- ACE_THROW_SPEC ((
- CORBA::SystemException
- )) = 0;
-
- static void _get_exceptions_skel (
- TAO_ServerRequest &_tao_req,
- void *_tao_obj,
- void *_tao_context,
- CORBA::Environment &ACE_TRY_ENV =
- TAO_default_environment ()
- );
-
- virtual void exceptions (
- const IR_ExceptionDefSeq & exceptions,
- CORBA::Environment &ACE_TRY_ENV =
- TAO_default_environment ()
- )
- ACE_THROW_SPEC ((
- CORBA::SystemException
- )) = 0;
-
- static void _set_exceptions_skel (
- TAO_ServerRequest &_tao_req,
- void *_tao_obj,
- void *_tao_context,
- CORBA::Environment &ACE_TRY_ENV =
- TAO_default_environment ()
- );
-
- static void _get_id_skel (
- TAO_ServerRequest &req,
- void *obj,
- void *context,
- CORBA::Environment &env =
- TAO_default_environment ()
- );
-
- static void _set_id_skel (
- TAO_ServerRequest &req,
- void *obj,
- void *context,
- CORBA::Environment &env =
- TAO_default_environment ()
- );
-
- static void _get_name_skel (
- TAO_ServerRequest &req,
- void *obj,
- void *context,
- CORBA::Environment &env =
- TAO_default_environment ()
- );
-
- static void _set_name_skel (
- TAO_ServerRequest &req,
- void *obj,
- void *context,
- CORBA::Environment &env =
- TAO_default_environment ()
- );
-
- static void _get_version_skel (
- TAO_ServerRequest &req,
- void *obj,
- void *context,
- CORBA::Environment &env =
- TAO_default_environment ()
- );
-
- static void _set_version_skel (
- TAO_ServerRequest &req,
- void *obj,
- void *context,
- CORBA::Environment &env =
- TAO_default_environment ()
- );
-
- static void _get_defined_in_skel (
- TAO_ServerRequest &req,
- void *obj,
- void *context,
- CORBA::Environment &env =
- TAO_default_environment ()
- );
-
- static void _get_absolute_name_skel (
- TAO_ServerRequest &req,
- void *obj,
- void *context,
- CORBA::Environment &env =
- TAO_default_environment ()
- );
-
- static void _get_containing_repository_skel (
- TAO_ServerRequest &req,
- void *obj,
- void *context,
- CORBA::Environment &env =
- TAO_default_environment ()
- );
-
- static void describe_skel (
- TAO_ServerRequest &req,
- void *obj,
- void *context,
- CORBA::Environment &env =
- TAO_default_environment ()
- );
-
- static void move_skel (
- TAO_ServerRequest &req,
- void *obj,
- void *context,
- CORBA::Environment &env =
- TAO_default_environment ()
- );
-
- static void _get_def_kind_skel (
- TAO_ServerRequest &req,
- void *obj,
- void *context,
- CORBA::Environment &env =
- TAO_default_environment ()
- );
-
- static void destroy_skel (
- TAO_ServerRequest &req,
- void *obj,
- void *context,
- CORBA::Environment &env =
- TAO_default_environment ()
- );
-
-#if (TAO_HAS_INTERCEPTORS == 1)
- // Generation of interceptors related RequestInfo classes per operation.
- // This needed to be able to store the arguments, exceptions, contexts
- // and build the lists dynamically on demand so that unnecessary time overhead
- // of building these lists when they arent used is avoided.
- class TAO_ServerRequestInfo_IR_OperationDef_result_get : public TAO_ServerRequestInfo
- {
- public:
- friend class POA_IR::OperationDef;
- TAO_ServerRequestInfo_IR_OperationDef_result_get (
- TAO_ServerRequest &_tao_server_request,
- POA_IR::OperationDef *tao_impl
- ,
- CORBA::Environment &ACE_TRY_ENV =
- TAO_default_environment ()
- );
-
- virtual Dynamic::ParameterList * arguments (
- CORBA::Environment &ACE_TRY_ENV =
- TAO_default_environment ()
- )
- ACE_THROW_SPEC ((CORBA::SystemException));
-
- virtual Dynamic::ExceptionList * exceptions (
- CORBA::Environment &ACE_TRY_ENV =
- TAO_default_environment ()
- )
- ACE_THROW_SPEC ((CORBA::SystemException));
-
- virtual CORBA::Any * result (
- CORBA::Environment &ACE_TRY_ENV =
- TAO_default_environment ()
- )
- ACE_THROW_SPEC ((CORBA::SystemException));
-
- virtual char * target_most_derived_interface (
- CORBA::Environment &ACE_TRY_ENV = TAO_default_environment ())
- ACE_THROW_SPEC ((CORBA::SystemException));
-
- virtual CORBA::Boolean target_is_a (
- const char * id,
- CORBA::Environment &ACE_TRY_ENV = TAO_default_environment ())
- ACE_THROW_SPEC ((CORBA::SystemException));
-
-
- private:
- TAO_ServerRequestInfo_IR_OperationDef_result_get (const TAO_ServerRequestInfo_IR_OperationDef_result_get &);
- void operator= (const TAO_ServerRequestInfo_IR_OperationDef_result_get &);
-
- private:
- POA_IR::OperationDef *_tao_impl;
- void result (CORBA::TypeCode_ptr result);
- // update the result
- CORBA::TypeCode_ptr _result;
- };
-
- class TAO_ServerRequestInfo_IR_OperationDef_result_def_get : public TAO_ServerRequestInfo
- {
- public:
- friend class POA_IR::OperationDef;
- TAO_ServerRequestInfo_IR_OperationDef_result_def_get (
- TAO_ServerRequest &_tao_server_request,
- POA_IR::OperationDef *tao_impl
- ,
- CORBA::Environment &ACE_TRY_ENV =
- TAO_default_environment ()
- );
-
- virtual Dynamic::ParameterList * arguments (
- CORBA::Environment &ACE_TRY_ENV =
- TAO_default_environment ()
- )
- ACE_THROW_SPEC ((CORBA::SystemException));
-
- virtual Dynamic::ExceptionList * exceptions (
- CORBA::Environment &ACE_TRY_ENV =
- TAO_default_environment ()
- )
- ACE_THROW_SPEC ((CORBA::SystemException));
-
- virtual CORBA::Any * result (
- CORBA::Environment &ACE_TRY_ENV =
- TAO_default_environment ()
- )
- ACE_THROW_SPEC ((CORBA::SystemException));
-
- virtual char * target_most_derived_interface (
- CORBA::Environment &ACE_TRY_ENV = TAO_default_environment ())
- ACE_THROW_SPEC ((CORBA::SystemException));
-
- virtual CORBA::Boolean target_is_a (
- const char * id,
- CORBA::Environment &ACE_TRY_ENV = TAO_default_environment ())
- ACE_THROW_SPEC ((CORBA::SystemException));
-
-
- private:
- TAO_ServerRequestInfo_IR_OperationDef_result_def_get (const TAO_ServerRequestInfo_IR_OperationDef_result_def_get &);
- void operator= (const TAO_ServerRequestInfo_IR_OperationDef_result_def_get &);
-
- private:
- POA_IR::OperationDef *_tao_impl;
- void result (IR::IDLType_ptr result);
- // update the result
- IR_IDLType_ptr _result;
- };
-
- class TAO_ServerRequestInfo_IR_OperationDef_result_def_set : public TAO_ServerRequestInfo
- {
- public:
- friend class POA_IR::OperationDef;
- TAO_ServerRequestInfo_IR_OperationDef_result_def_set (
- TAO_ServerRequest &_tao_server_request,
- POA_IR::OperationDef *tao_impl
- ,
- IR_IDLType_ptr result_def,
- CORBA::Environment &ACE_TRY_ENV =
- TAO_default_environment ()
- );
-
- virtual Dynamic::ParameterList * arguments (
- CORBA::Environment &ACE_TRY_ENV =
- TAO_default_environment ()
- )
- ACE_THROW_SPEC ((CORBA::SystemException));
-
- virtual Dynamic::ExceptionList * exceptions (
- CORBA::Environment &ACE_TRY_ENV =
- TAO_default_environment ()
- )
- ACE_THROW_SPEC ((CORBA::SystemException));
-
- virtual CORBA::Any * result (
- CORBA::Environment &ACE_TRY_ENV =
- TAO_default_environment ()
- )
- ACE_THROW_SPEC ((CORBA::SystemException));
-
- virtual char * target_most_derived_interface (
- CORBA::Environment &ACE_TRY_ENV = TAO_default_environment ())
- ACE_THROW_SPEC ((CORBA::SystemException));
-
- virtual CORBA::Boolean target_is_a (
- const char * id,
- CORBA::Environment &ACE_TRY_ENV = TAO_default_environment ())
- ACE_THROW_SPEC ((CORBA::SystemException));
-
-
- private:
- TAO_ServerRequestInfo_IR_OperationDef_result_def_set (const TAO_ServerRequestInfo_IR_OperationDef_result_def_set &);
- void operator= (const TAO_ServerRequestInfo_IR_OperationDef_result_def_set &);
-
- private:
- POA_IR::OperationDef *_tao_impl;
- IR_IDLType_ptr result_def_;
- };
-
- class TAO_ServerRequestInfo_IR_OperationDef_params_get : public TAO_ServerRequestInfo
- {
- public:
- friend class POA_IR::OperationDef;
- TAO_ServerRequestInfo_IR_OperationDef_params_get (
- TAO_ServerRequest &_tao_server_request,
- POA_IR::OperationDef *tao_impl
- ,
- CORBA::Environment &ACE_TRY_ENV =
- TAO_default_environment ()
- );
-
- virtual Dynamic::ParameterList * arguments (
- CORBA::Environment &ACE_TRY_ENV =
- TAO_default_environment ()
- )
- ACE_THROW_SPEC ((CORBA::SystemException));
-
- virtual Dynamic::ExceptionList * exceptions (
- CORBA::Environment &ACE_TRY_ENV =
- TAO_default_environment ()
- )
- ACE_THROW_SPEC ((CORBA::SystemException));
-
- virtual CORBA::Any * result (
- CORBA::Environment &ACE_TRY_ENV =
- TAO_default_environment ()
- )
- ACE_THROW_SPEC ((CORBA::SystemException));
-
- virtual char * target_most_derived_interface (
- CORBA::Environment &ACE_TRY_ENV = TAO_default_environment ())
- ACE_THROW_SPEC ((CORBA::SystemException));
-
- virtual CORBA::Boolean target_is_a (
- const char * id,
- CORBA::Environment &ACE_TRY_ENV = TAO_default_environment ())
- ACE_THROW_SPEC ((CORBA::SystemException));
-
-
- private:
- TAO_ServerRequestInfo_IR_OperationDef_params_get (const TAO_ServerRequestInfo_IR_OperationDef_params_get &);
- void operator= (const TAO_ServerRequestInfo_IR_OperationDef_params_get &);
-
- private:
- POA_IR::OperationDef *_tao_impl;
- void result (IR::ParDescriptionSeq * result);
- // update the result
- IR_ParDescriptionSeq * _result;
- };
-
- class TAO_ServerRequestInfo_IR_OperationDef_params_set : public TAO_ServerRequestInfo
- {
- public:
- friend class POA_IR::OperationDef;
- TAO_ServerRequestInfo_IR_OperationDef_params_set (
- TAO_ServerRequest &_tao_server_request,
- POA_IR::OperationDef *tao_impl
- ,
- const IR_ParDescriptionSeq & params,
- CORBA::Environment &ACE_TRY_ENV =
- TAO_default_environment ()
- );
-
- virtual Dynamic::ParameterList * arguments (
- CORBA::Environment &ACE_TRY_ENV =
- TAO_default_environment ()
- )
- ACE_THROW_SPEC ((CORBA::SystemException));
-
- virtual Dynamic::ExceptionList * exceptions (
- CORBA::Environment &ACE_TRY_ENV =
- TAO_default_environment ()
- )
- ACE_THROW_SPEC ((CORBA::SystemException));
-
- virtual CORBA::Any * result (
- CORBA::Environment &ACE_TRY_ENV =
- TAO_default_environment ()
- )
- ACE_THROW_SPEC ((CORBA::SystemException));
-
- virtual char * target_most_derived_interface (
- CORBA::Environment &ACE_TRY_ENV = TAO_default_environment ())
- ACE_THROW_SPEC ((CORBA::SystemException));
-
- virtual CORBA::Boolean target_is_a (
- const char * id,
- CORBA::Environment &ACE_TRY_ENV = TAO_default_environment ())
- ACE_THROW_SPEC ((CORBA::SystemException));
-
-
- private:
- TAO_ServerRequestInfo_IR_OperationDef_params_set (const TAO_ServerRequestInfo_IR_OperationDef_params_set &);
- void operator= (const TAO_ServerRequestInfo_IR_OperationDef_params_set &);
-
- private:
- POA_IR::OperationDef *_tao_impl;
- const IR_ParDescriptionSeq & params_;
- };
-
- class TAO_ServerRequestInfo_IR_OperationDef_mode_get : public TAO_ServerRequestInfo
- {
- public:
- friend class POA_IR::OperationDef;
- TAO_ServerRequestInfo_IR_OperationDef_mode_get (
- TAO_ServerRequest &_tao_server_request,
- POA_IR::OperationDef *tao_impl
- ,
- CORBA::Environment &ACE_TRY_ENV =
- TAO_default_environment ()
- );
-
- virtual Dynamic::ParameterList * arguments (
- CORBA::Environment &ACE_TRY_ENV =
- TAO_default_environment ()
- )
- ACE_THROW_SPEC ((CORBA::SystemException));
-
- virtual Dynamic::ExceptionList * exceptions (
- CORBA::Environment &ACE_TRY_ENV =
- TAO_default_environment ()
- )
- ACE_THROW_SPEC ((CORBA::SystemException));
-
- virtual CORBA::Any * result (
- CORBA::Environment &ACE_TRY_ENV =
- TAO_default_environment ()
- )
- ACE_THROW_SPEC ((CORBA::SystemException));
-
- virtual char * target_most_derived_interface (
- CORBA::Environment &ACE_TRY_ENV = TAO_default_environment ())
- ACE_THROW_SPEC ((CORBA::SystemException));
-
- virtual CORBA::Boolean target_is_a (
- const char * id,
- CORBA::Environment &ACE_TRY_ENV = TAO_default_environment ())
- ACE_THROW_SPEC ((CORBA::SystemException));
-
-
- private:
- TAO_ServerRequestInfo_IR_OperationDef_mode_get (const TAO_ServerRequestInfo_IR_OperationDef_mode_get &);
- void operator= (const TAO_ServerRequestInfo_IR_OperationDef_mode_get &);
-
- private:
- POA_IR::OperationDef *_tao_impl;
- void result (IR::OperationMode result);
- // update the result
- IR_OperationMode _result;
- };
-
- class TAO_ServerRequestInfo_IR_OperationDef_mode_set : public TAO_ServerRequestInfo
- {
- public:
- friend class POA_IR::OperationDef;
- TAO_ServerRequestInfo_IR_OperationDef_mode_set (
- TAO_ServerRequest &_tao_server_request,
- POA_IR::OperationDef *tao_impl
- ,
- IR_OperationMode & mode,
- CORBA::Environment &ACE_TRY_ENV =
- TAO_default_environment ()
- );
-
- virtual Dynamic::ParameterList * arguments (
- CORBA::Environment &ACE_TRY_ENV =
- TAO_default_environment ()
- )
- ACE_THROW_SPEC ((CORBA::SystemException));
-
- virtual Dynamic::ExceptionList * exceptions (
- CORBA::Environment &ACE_TRY_ENV =
- TAO_default_environment ()
- )
- ACE_THROW_SPEC ((CORBA::SystemException));
-
- virtual CORBA::Any * result (
- CORBA::Environment &ACE_TRY_ENV =
- TAO_default_environment ()
- )
- ACE_THROW_SPEC ((CORBA::SystemException));
-
- virtual char * target_most_derived_interface (
- CORBA::Environment &ACE_TRY_ENV = TAO_default_environment ())
- ACE_THROW_SPEC ((CORBA::SystemException));
-
- virtual CORBA::Boolean target_is_a (
- const char * id,
- CORBA::Environment &ACE_TRY_ENV = TAO_default_environment ())
- ACE_THROW_SPEC ((CORBA::SystemException));
-
-
- private:
- TAO_ServerRequestInfo_IR_OperationDef_mode_set (const TAO_ServerRequestInfo_IR_OperationDef_mode_set &);
- void operator= (const TAO_ServerRequestInfo_IR_OperationDef_mode_set &);
-
- private:
- POA_IR::OperationDef *_tao_impl;
- const IR_OperationMode & mode_;
- };
-
- class TAO_ServerRequestInfo_IR_OperationDef_contexts_get : public TAO_ServerRequestInfo
- {
- public:
- friend class POA_IR::OperationDef;
- TAO_ServerRequestInfo_IR_OperationDef_contexts_get (
- TAO_ServerRequest &_tao_server_request,
- POA_IR::OperationDef *tao_impl
- ,
- CORBA::Environment &ACE_TRY_ENV =
- TAO_default_environment ()
- );
-
- virtual Dynamic::ParameterList * arguments (
- CORBA::Environment &ACE_TRY_ENV =
- TAO_default_environment ()
- )
- ACE_THROW_SPEC ((CORBA::SystemException));
-
- virtual Dynamic::ExceptionList * exceptions (
- CORBA::Environment &ACE_TRY_ENV =
- TAO_default_environment ()
- )
- ACE_THROW_SPEC ((CORBA::SystemException));
-
- virtual CORBA::Any * result (
- CORBA::Environment &ACE_TRY_ENV =
- TAO_default_environment ()
- )
- ACE_THROW_SPEC ((CORBA::SystemException));
-
- virtual char * target_most_derived_interface (
- CORBA::Environment &ACE_TRY_ENV = TAO_default_environment ())
- ACE_THROW_SPEC ((CORBA::SystemException));
-
- virtual CORBA::Boolean target_is_a (
- const char * id,
- CORBA::Environment &ACE_TRY_ENV = TAO_default_environment ())
- ACE_THROW_SPEC ((CORBA::SystemException));
-
-
- private:
- TAO_ServerRequestInfo_IR_OperationDef_contexts_get (const TAO_ServerRequestInfo_IR_OperationDef_contexts_get &);
- void operator= (const TAO_ServerRequestInfo_IR_OperationDef_contexts_get &);
-
- private:
- POA_IR::OperationDef *_tao_impl;
- void result (IR::ContextIdSeq * result);
- // update the result
- IR_ContextIdSeq * _result;
- };
-
- class TAO_ServerRequestInfo_IR_OperationDef_contexts_set : public TAO_ServerRequestInfo
- {
- public:
- friend class POA_IR::OperationDef;
- TAO_ServerRequestInfo_IR_OperationDef_contexts_set (
- TAO_ServerRequest &_tao_server_request,
- POA_IR::OperationDef *tao_impl
- ,
- const IR_ContextIdSeq & contexts,
- CORBA::Environment &ACE_TRY_ENV =
- TAO_default_environment ()
- );
-
- virtual Dynamic::ParameterList * arguments (
- CORBA::Environment &ACE_TRY_ENV =
- TAO_default_environment ()
- )
- ACE_THROW_SPEC ((CORBA::SystemException));
-
- virtual Dynamic::ExceptionList * exceptions (
- CORBA::Environment &ACE_TRY_ENV =
- TAO_default_environment ()
- )
- ACE_THROW_SPEC ((CORBA::SystemException));
-
- virtual CORBA::Any * result (
- CORBA::Environment &ACE_TRY_ENV =
- TAO_default_environment ()
- )
- ACE_THROW_SPEC ((CORBA::SystemException));
-
- virtual char * target_most_derived_interface (
- CORBA::Environment &ACE_TRY_ENV = TAO_default_environment ())
- ACE_THROW_SPEC ((CORBA::SystemException));
-
- virtual CORBA::Boolean target_is_a (
- const char * id,
- CORBA::Environment &ACE_TRY_ENV = TAO_default_environment ())
- ACE_THROW_SPEC ((CORBA::SystemException));
-
-
- private:
- TAO_ServerRequestInfo_IR_OperationDef_contexts_set (const TAO_ServerRequestInfo_IR_OperationDef_contexts_set &);
- void operator= (const TAO_ServerRequestInfo_IR_OperationDef_contexts_set &);
-
- private:
- POA_IR::OperationDef *_tao_impl;
- const IR_ContextIdSeq & contexts_;
- };
-
- class TAO_ServerRequestInfo_IR_OperationDef_exceptions_get : public TAO_ServerRequestInfo
- {
- public:
- friend class POA_IR::OperationDef;
- TAO_ServerRequestInfo_IR_OperationDef_exceptions_get (
- TAO_ServerRequest &_tao_server_request,
- POA_IR::OperationDef *tao_impl
- ,
- CORBA::Environment &ACE_TRY_ENV =
- TAO_default_environment ()
- );
-
- virtual Dynamic::ParameterList * arguments (
- CORBA::Environment &ACE_TRY_ENV =
- TAO_default_environment ()
- )
- ACE_THROW_SPEC ((CORBA::SystemException));
-
- virtual Dynamic::ExceptionList * exceptions (
- CORBA::Environment &ACE_TRY_ENV =
- TAO_default_environment ()
- )
- ACE_THROW_SPEC ((CORBA::SystemException));
-
- virtual CORBA::Any * result (
- CORBA::Environment &ACE_TRY_ENV =
- TAO_default_environment ()
- )
- ACE_THROW_SPEC ((CORBA::SystemException));
-
- virtual char * target_most_derived_interface (
- CORBA::Environment &ACE_TRY_ENV = TAO_default_environment ())
- ACE_THROW_SPEC ((CORBA::SystemException));
-
- virtual CORBA::Boolean target_is_a (
- const char * id,
- CORBA::Environment &ACE_TRY_ENV = TAO_default_environment ())
- ACE_THROW_SPEC ((CORBA::SystemException));
-
-
- private:
- TAO_ServerRequestInfo_IR_OperationDef_exceptions_get (const TAO_ServerRequestInfo_IR_OperationDef_exceptions_get &);
- void operator= (const TAO_ServerRequestInfo_IR_OperationDef_exceptions_get &);
-
- private:
- POA_IR::OperationDef *_tao_impl;
- void result (IR::ExceptionDefSeq * result);
- // update the result
- IR_ExceptionDefSeq * _result;
- };
-
- class TAO_ServerRequestInfo_IR_OperationDef_exceptions_set : public TAO_ServerRequestInfo
- {
- public:
- friend class POA_IR::OperationDef;
- TAO_ServerRequestInfo_IR_OperationDef_exceptions_set (
- TAO_ServerRequest &_tao_server_request,
- POA_IR::OperationDef *tao_impl
- ,
- const IR_ExceptionDefSeq & exceptions,
- CORBA::Environment &ACE_TRY_ENV =
- TAO_default_environment ()
- );
-
- virtual Dynamic::ParameterList * arguments (
- CORBA::Environment &ACE_TRY_ENV =
- TAO_default_environment ()
- )
- ACE_THROW_SPEC ((CORBA::SystemException));
-
- virtual Dynamic::ExceptionList * exceptions (
- CORBA::Environment &ACE_TRY_ENV =
- TAO_default_environment ()
- )
- ACE_THROW_SPEC ((CORBA::SystemException));
-
- virtual CORBA::Any * result (
- CORBA::Environment &ACE_TRY_ENV =
- TAO_default_environment ()
- )
- ACE_THROW_SPEC ((CORBA::SystemException));
-
- virtual char * target_most_derived_interface (
- CORBA::Environment &ACE_TRY_ENV = TAO_default_environment ())
- ACE_THROW_SPEC ((CORBA::SystemException));
-
- virtual CORBA::Boolean target_is_a (
- const char * id,
- CORBA::Environment &ACE_TRY_ENV = TAO_default_environment ())
- ACE_THROW_SPEC ((CORBA::SystemException));
-
-
- private:
- TAO_ServerRequestInfo_IR_OperationDef_exceptions_set (const TAO_ServerRequestInfo_IR_OperationDef_exceptions_set &);
- void operator= (const TAO_ServerRequestInfo_IR_OperationDef_exceptions_set &);
-
- private:
- POA_IR::OperationDef *_tao_impl;
- const IR_ExceptionDefSeq & exceptions_;
- };
-
-#endif /* TAO_HAS_INTERCEPTORS */
-
- };
-
-///////////////////////////////////////////////////////////////////////
-// Strategized Proxy Broker Declaration
-//
-
-class _TAO_OperationDef_Strategized_Proxy_Broker : public virtual _TAO_OperationDef_Proxy_Broker
-{
-public:
- _TAO_OperationDef_Strategized_Proxy_Broker (void);
-
- virtual ~_TAO_OperationDef_Strategized_Proxy_Broker (void);
-
- virtual _TAO_OperationDef_Proxy_Impl &select_proxy (
- IR_OperationDef *object,
- CORBA_Environment &ACE_TRY_ENV = TAO_default_environment ()
- );
-
-private:
-
-// Helper methods that takes care to create the proxy
-// as soon as their use is necessary.
- void create_proxy (
- int strategy,
- CORBA::Environment &ACE_TRY_ENV
- );
-
-private:
-
- // Caches the proxy implementations. The proxy implementation
- // are totally stateless, and those can be shared by all the
- // instances of a given IDL interface type.
- _TAO_OperationDef_Proxy_Impl
- *proxy_cache_[TAO_Collocation_Strategies::CS_LAST];
-
- TAO_SYNCH_MUTEX mutex_;
-// This funxtion is used to get an handle to the unique instance
-// of the Strategized Proxy Broker that is available for a given
-// interface.
-
-public:
- static _TAO_OperationDef_Strategized_Proxy_Broker *the_TAO_OperationDef_Strategized_Proxy_Broker (void);
-};
-
-//
-// End Strategized Proxy Broker Declaration
-///////////////////////////////////////////////////////////////////////
-
-
-///////////////////////////////////////////////////////////////////////
-// ThruPOA Impl. Declaration
-//
-
-class _TAO_OperationDef_ThruPOA_Proxy_Impl :
- public virtual _TAO_OperationDef_Proxy_Impl,
- public virtual TAO_ThruPOA_Object_Proxy_Impl,
- public virtual ::POA_IR::_TAO_Contained_ThruPOA_Proxy_Impl
-
-{
-public:
- _TAO_OperationDef_ThruPOA_Proxy_Impl (void);
-
- virtual ~_TAO_OperationDef_ThruPOA_Proxy_Impl (void) { }
-
- virtual CORBA::TypeCode_ptr result (
- CORBA_Object *_collocated_tao_target_,
- CORBA::Environment &ACE_TRY_ENV
- )
- ACE_THROW_SPEC ((
- CORBA::SystemException
- ));
-
- virtual IR_IDLType_ptr result_def (
- CORBA_Object *_collocated_tao_target_,
- CORBA::Environment &ACE_TRY_ENV
- )
- ACE_THROW_SPEC ((
- CORBA::SystemException
- ));
-
- virtual void result_def (
- CORBA_Object *_collocated_tao_target_,
- IR_IDLType_ptr result_def,
- CORBA::Environment &ACE_TRY_ENV
- )
- ACE_THROW_SPEC ((
- CORBA::SystemException
- ));
-
- virtual IR_ParDescriptionSeq * params (
- CORBA_Object *_collocated_tao_target_,
- CORBA::Environment &ACE_TRY_ENV
- )
- ACE_THROW_SPEC ((
- CORBA::SystemException
- ));
-
- virtual void params (
- CORBA_Object *_collocated_tao_target_,
- const IR_ParDescriptionSeq & params,
- CORBA::Environment &ACE_TRY_ENV
- )
- ACE_THROW_SPEC ((
- CORBA::SystemException
- ));
-
- virtual IR_OperationMode mode (
- CORBA_Object *_collocated_tao_target_,
- CORBA::Environment &ACE_TRY_ENV
- )
- ACE_THROW_SPEC ((
- CORBA::SystemException
- ));
-
- virtual void mode (
- CORBA_Object *_collocated_tao_target_,
- IR_OperationMode mode,
- CORBA::Environment &ACE_TRY_ENV
- )
- ACE_THROW_SPEC ((
- CORBA::SystemException
- ));
-
- virtual IR_ContextIdSeq * contexts (
- CORBA_Object *_collocated_tao_target_,
- CORBA::Environment &ACE_TRY_ENV
- )
- ACE_THROW_SPEC ((
- CORBA::SystemException
- ));
-
- virtual void contexts (
- CORBA_Object *_collocated_tao_target_,
- const IR_ContextIdSeq & contexts,
- CORBA::Environment &ACE_TRY_ENV
- )
- ACE_THROW_SPEC ((
- CORBA::SystemException
- ));
-
- virtual IR_ExceptionDefSeq * exceptions (
- CORBA_Object *_collocated_tao_target_,
- CORBA::Environment &ACE_TRY_ENV
- )
- ACE_THROW_SPEC ((
- CORBA::SystemException
- ));
-
- virtual void exceptions (
- CORBA_Object *_collocated_tao_target_,
- const IR_ExceptionDefSeq & exceptions,
- CORBA::Environment &ACE_TRY_ENV
- )
- ACE_THROW_SPEC ((
- CORBA::SystemException
- ));
-
-};
-
-
-//
-// ThruPOA Proxy Impl. Declaration
-///////////////////////////////////////////////////////////////////////
-
-#if defined (ACE_HAS_USING_KEYWORD)
- // TIE class: Refer to CORBA v2.2, Section 20.34.4
- template <class T>
- class OperationDef_tie : public OperationDef
- {
- public:
- OperationDef_tie (T &t);
- // the T& ctor
- OperationDef_tie (T &t, PortableServer::POA_ptr poa);
- // ctor taking a POA
- OperationDef_tie (T *tp, CORBA::Boolean release=1);
- // ctor taking pointer and an ownership flag
- OperationDef_tie (T *tp, PortableServer::POA_ptr poa, CORBA::Boolean release=1);
- // ctor with T*, ownership flag and a POA
- ~OperationDef_tie (void);
- // dtor
-
- // TIE specific functions
- T *_tied_object (void);
- // return the underlying object
- void _tied_object (T &obj);
- // set the underlying object
- void _tied_object (T *obj, CORBA::Boolean release=1);
- // set the underlying object and the ownership flag
- CORBA::Boolean _is_owner (void);
- // do we own it
- void _is_owner (CORBA::Boolean b);
- // set the ownership
-
- // overridden ServantBase operations
- PortableServer::POA_ptr _default_POA (
- CORBA::Environment &env =
- TAO_default_environment ()
- );
- CORBA::TypeCode_ptr result (
- CORBA::Environment &ACE_TRY_ENV =
- TAO_default_environment ()
- )
- ACE_THROW_SPEC ((
- CORBA::SystemException
- ));
-
- IR_IDLType_ptr result_def (
- CORBA::Environment &ACE_TRY_ENV =
- TAO_default_environment ()
- )
- ACE_THROW_SPEC ((
- CORBA::SystemException
- ));
-
- void result_def (
- IR_IDLType_ptr result_def,
- CORBA::Environment &ACE_TRY_ENV =
- TAO_default_environment ()
- )
- ACE_THROW_SPEC ((
- CORBA::SystemException
- ));
-
- IR_ParDescriptionSeq * params (
- CORBA::Environment &ACE_TRY_ENV =
- TAO_default_environment ()
- )
- ACE_THROW_SPEC ((
- CORBA::SystemException
- ));
-
- void params (
- const IR_ParDescriptionSeq & params,
- CORBA::Environment &ACE_TRY_ENV =
- TAO_default_environment ()
- )
- ACE_THROW_SPEC ((
- CORBA::SystemException
- ));
-
- IR_OperationMode mode (
- CORBA::Environment &ACE_TRY_ENV =
- TAO_default_environment ()
- )
- ACE_THROW_SPEC ((
- CORBA::SystemException
- ));
-
- void mode (
- IR_OperationMode mode,
- CORBA::Environment &ACE_TRY_ENV =
- TAO_default_environment ()
- )
- ACE_THROW_SPEC ((
- CORBA::SystemException
- ));
-
- IR_ContextIdSeq * contexts (
- CORBA::Environment &ACE_TRY_ENV =
- TAO_default_environment ()
- )
- ACE_THROW_SPEC ((
- CORBA::SystemException
- ));
-
- void contexts (
- const IR_ContextIdSeq & contexts,
- CORBA::Environment &ACE_TRY_ENV =
- TAO_default_environment ()
- )
- ACE_THROW_SPEC ((
- CORBA::SystemException
- ));
-
- IR_ExceptionDefSeq * exceptions (
- CORBA::Environment &ACE_TRY_ENV =
- TAO_default_environment ()
- )
- ACE_THROW_SPEC ((
- CORBA::SystemException
- ));
-
- void exceptions (
- const IR_ExceptionDefSeq & exceptions,
- CORBA::Environment &ACE_TRY_ENV =
- TAO_default_environment ()
- )
- ACE_THROW_SPEC ((
- CORBA::SystemException
- ));
-
- char * id (
- CORBA::Environment &ACE_TRY_ENV =
- TAO_default_environment ()
- )
- ACE_THROW_SPEC ((
- CORBA::SystemException
- ));
-
- void id (
- const char * id,
- CORBA::Environment &ACE_TRY_ENV =
- TAO_default_environment ()
- )
- ACE_THROW_SPEC ((
- CORBA::SystemException
- ));
-
- char * name (
- CORBA::Environment &ACE_TRY_ENV =
- TAO_default_environment ()
- )
- ACE_THROW_SPEC ((
- CORBA::SystemException
- ));
-
- void name (
- const char * name,
- CORBA::Environment &ACE_TRY_ENV =
- TAO_default_environment ()
- )
- ACE_THROW_SPEC ((
- CORBA::SystemException
- ));
-
- char * version (
- CORBA::Environment &ACE_TRY_ENV =
- TAO_default_environment ()
- )
- ACE_THROW_SPEC ((
- CORBA::SystemException
- ));
-
- void version (
- const char * version,
- CORBA::Environment &ACE_TRY_ENV =
- TAO_default_environment ()
- )
- ACE_THROW_SPEC ((
- CORBA::SystemException
- ));
-
- IR_Container_ptr defined_in (
- CORBA::Environment &ACE_TRY_ENV =
- TAO_default_environment ()
- )
- ACE_THROW_SPEC ((
- CORBA::SystemException
- ));
-
- char * absolute_name (
- CORBA::Environment &ACE_TRY_ENV =
- TAO_default_environment ()
- )
- ACE_THROW_SPEC ((
- CORBA::SystemException
- ));
-
- IR_Repository_ptr containing_repository (
- CORBA::Environment &ACE_TRY_ENV =
- TAO_default_environment ()
- )
- ACE_THROW_SPEC ((
- CORBA::SystemException
- ));
-
- IR_Contained::Description * describe (
- CORBA::Environment &ACE_TRY_ENV =
- TAO_default_environment ()
- )
- ACE_THROW_SPEC ((
- CORBA::SystemException
- ));
-
- void move (
- IR_Container_ptr new_container,
- const char * new_name,
- const char * new_version,
- CORBA::Environment &ACE_TRY_ENV =
- TAO_default_environment ()
- )
- ACE_THROW_SPEC ((
- CORBA::SystemException
- ));
-
- IR_DefinitionKind def_kind (
- CORBA::Environment &ACE_TRY_ENV =
- TAO_default_environment ()
- )
- ACE_THROW_SPEC ((
- CORBA::SystemException
- ));
-
- void destroy (
- CORBA::Environment &ACE_TRY_ENV =
- TAO_default_environment ()
- )
- ACE_THROW_SPEC ((
- CORBA::SystemException
- ));
-
-private:
- T *ptr_;
- PortableServer::POA_var poa_;
- CORBA::Boolean rel_;
-
- // copy and assignment are not allowed
- OperationDef_tie (const OperationDef_tie &);
- void operator= (const OperationDef_tie &);
- };
-
-#endif /* ACE_HAS_USING_KEYWORD */
-
- class InterfaceDef;
- typedef InterfaceDef *InterfaceDef_ptr;
- // Forward Classes Declaration
- class _TAO_InterfaceDef_ThruPOA_Proxy_Impl;
- class _TAO_InterfaceDef_Strategized_Proxy_Broker;
-
- class InterfaceDef : public virtual Container, public virtual Contained, public virtual IDLType
- {
- protected:
- InterfaceDef (void);
-
- public:
- InterfaceDef (const InterfaceDef& rhs);
- virtual ~InterfaceDef (void);
-
-
- virtual CORBA::Boolean _is_a (
- const char* logical_type_id,
- CORBA::Environment &ACE_TRY_ENV =
- TAO_default_environment ()
- );
-
- virtual void* _downcast (
- const char* logical_type_id
- );
-
- static void _is_a_skel (
- TAO_ServerRequest &req,
- void *obj,
- void *context,
- CORBA::Environment &ACE_TRY_ENV =
- TAO_default_environment ()
- );
-
- static void _non_existent_skel (
- TAO_ServerRequest &req,
- void *obj,
- void *context,
- CORBA::Environment &ACE_TRY_ENV =
- TAO_default_environment ()
- );
-
- virtual void _dispatch (
- TAO_ServerRequest &_tao_req,
- void *_tao_context,
- CORBA::Environment &ACE_TRY_ENV =
- TAO_default_environment ()
- );
-
- IR_InterfaceDef *_this (
- CORBA::Environment &ACE_TRY_ENV =
- TAO_default_environment ()
- );
-
- virtual const char* _interface_repository_id (void) const;
-
- virtual IR_InterfaceDefSeq * base_interfaces (
- CORBA::Environment &ACE_TRY_ENV =
- TAO_default_environment ()
- )
- ACE_THROW_SPEC ((
- CORBA::SystemException
- )) = 0;
-
- static void _get_base_interfaces_skel (
- TAO_ServerRequest &_tao_req,
- void *_tao_obj,
- void *_tao_context,
- CORBA::Environment &ACE_TRY_ENV =
- TAO_default_environment ()
- );
-
- virtual void base_interfaces (
- const IR_InterfaceDefSeq & base_interfaces,
- CORBA::Environment &ACE_TRY_ENV =
- TAO_default_environment ()
- )
- ACE_THROW_SPEC ((
- CORBA::SystemException
- )) = 0;
-
- static void _set_base_interfaces_skel (
- TAO_ServerRequest &_tao_req,
- void *_tao_obj,
- void *_tao_context,
- CORBA::Environment &ACE_TRY_ENV =
- TAO_default_environment ()
- );
-
- virtual CORBA::Boolean is_abstract (
- CORBA::Environment &ACE_TRY_ENV =
- TAO_default_environment ()
- )
- ACE_THROW_SPEC ((
- CORBA::SystemException
- )) = 0;
-
- static void _get_is_abstract_skel (
- TAO_ServerRequest &_tao_req,
- void *_tao_obj,
- void *_tao_context,
- CORBA::Environment &ACE_TRY_ENV =
- TAO_default_environment ()
- );
-
- virtual void is_abstract (
- CORBA::Boolean is_abstract,
- CORBA::Environment &ACE_TRY_ENV =
- TAO_default_environment ()
- )
- ACE_THROW_SPEC ((
- CORBA::SystemException
- )) = 0;
-
- static void _set_is_abstract_skel (
- TAO_ServerRequest &_tao_req,
- void *_tao_obj,
- void *_tao_context,
- CORBA::Environment &ACE_TRY_ENV =
- TAO_default_environment ()
- );
-
- virtual CORBA::Boolean is_local (
- CORBA::Environment &ACE_TRY_ENV =
- TAO_default_environment ()
- )
- ACE_THROW_SPEC ((
- CORBA::SystemException
- )) = 0;
-
- static void _get_is_local_skel (
- TAO_ServerRequest &_tao_req,
- void *_tao_obj,
- void *_tao_context,
- CORBA::Environment &ACE_TRY_ENV =
- TAO_default_environment ()
- );
-
- virtual void is_local (
- CORBA::Boolean is_local,
- CORBA::Environment &ACE_TRY_ENV =
- TAO_default_environment ()
- )
- ACE_THROW_SPEC ((
- CORBA::SystemException
- )) = 0;
-
- static void _set_is_local_skel (
- TAO_ServerRequest &_tao_req,
- void *_tao_obj,
- void *_tao_context,
- CORBA::Environment &ACE_TRY_ENV =
- TAO_default_environment ()
- );
-
- virtual CORBA::Boolean is_a (
- const char * interface_id,
- CORBA::Environment &ACE_TRY_ENV =
- TAO_default_environment ()
- )
- ACE_THROW_SPEC ((
- CORBA::SystemException
- )) = 0;
-
- static void is_a_skel (
- TAO_ServerRequest &_tao_req,
- void *_tao_obj,
- void *_tao_context,
- CORBA::Environment &ACE_TRY_ENV =
- TAO_default_environment ()
- );
-
- virtual IR_AttributeDef_ptr create_attribute (
- const char * id,
- const char * name,
- const char * version,
- IR_IDLType_ptr type,
- IR_AttributeMode mode,
- const IR_ExceptionDefSeq & get_exceptions,
- const IR_ExceptionDefSeq & put_exceptions,
- CORBA::Environment &ACE_TRY_ENV =
- TAO_default_environment ()
- )
- ACE_THROW_SPEC ((
- CORBA::SystemException
- )) = 0;
-
- static void create_attribute_skel (
- TAO_ServerRequest &_tao_req,
- void *_tao_obj,
- void *_tao_context,
- CORBA::Environment &ACE_TRY_ENV =
- TAO_default_environment ()
- );
-
- virtual IR_OperationDef_ptr create_operation (
- const char * id,
- const char * name,
- const char * version,
- IR_IDLType_ptr result,
- IR_OperationMode mode,
- const IR_ParDescriptionSeq & params,
- const IR_ExceptionDefSeq & exceptions,
- const IR_ContextIdSeq & contexts,
- CORBA::Environment &ACE_TRY_ENV =
- TAO_default_environment ()
- )
- ACE_THROW_SPEC ((
- CORBA::SystemException
- )) = 0;
-
- static void create_operation_skel (
- TAO_ServerRequest &_tao_req,
- void *_tao_obj,
- void *_tao_context,
- CORBA::Environment &ACE_TRY_ENV =
- TAO_default_environment ()
- );
-
- static void lookup_skel (
- TAO_ServerRequest &req,
- void *obj,
- void *context,
- CORBA::Environment &env =
- TAO_default_environment ()
- );
-
- static void contents_skel (
- TAO_ServerRequest &req,
- void *obj,
- void *context,
- CORBA::Environment &env =
- TAO_default_environment ()
- );
-
- static void lookup_name_skel (
- TAO_ServerRequest &req,
- void *obj,
- void *context,
- CORBA::Environment &env =
- TAO_default_environment ()
- );
-
- static void describe_contents_skel (
- TAO_ServerRequest &req,
- void *obj,
- void *context,
- CORBA::Environment &env =
- TAO_default_environment ()
- );
-
- static void create_module_skel (
- TAO_ServerRequest &req,
- void *obj,
- void *context,
- CORBA::Environment &env =
- TAO_default_environment ()
- );
-
- static void create_constant_skel (
- TAO_ServerRequest &req,
- void *obj,
- void *context,
- CORBA::Environment &env =
- TAO_default_environment ()
- );
-
- static void create_struct_skel (
- TAO_ServerRequest &req,
- void *obj,
- void *context,
- CORBA::Environment &env =
- TAO_default_environment ()
- );
-
- static void create_union_skel (
- TAO_ServerRequest &req,
- void *obj,
- void *context,
- CORBA::Environment &env =
- TAO_default_environment ()
- );
-
- static void create_enum_skel (
- TAO_ServerRequest &req,
- void *obj,
- void *context,
- CORBA::Environment &env =
- TAO_default_environment ()
- );
-
- static void create_alias_skel (
- TAO_ServerRequest &req,
- void *obj,
- void *context,
- CORBA::Environment &env =
- TAO_default_environment ()
- );
-
- static void create_interface_skel (
- TAO_ServerRequest &req,
- void *obj,
- void *context,
- CORBA::Environment &env =
- TAO_default_environment ()
- );
-
- static void create_value_skel (
- TAO_ServerRequest &req,
- void *obj,
- void *context,
- CORBA::Environment &env =
- TAO_default_environment ()
- );
-
- static void create_value_box_skel (
- TAO_ServerRequest &req,
- void *obj,
- void *context,
- CORBA::Environment &env =
- TAO_default_environment ()
- );
-
- static void create_exception_skel (
- TAO_ServerRequest &req,
- void *obj,
- void *context,
- CORBA::Environment &env =
- TAO_default_environment ()
- );
-
- static void create_native_skel (
- TAO_ServerRequest &req,
- void *obj,
- void *context,
- CORBA::Environment &env =
- TAO_default_environment ()
- );
-
- static void _get_id_skel (
- TAO_ServerRequest &req,
- void *obj,
- void *context,
- CORBA::Environment &env =
- TAO_default_environment ()
- );
-
- static void _set_id_skel (
- TAO_ServerRequest &req,
- void *obj,
- void *context,
- CORBA::Environment &env =
- TAO_default_environment ()
- );
-
- static void _get_name_skel (
- TAO_ServerRequest &req,
- void *obj,
- void *context,
- CORBA::Environment &env =
- TAO_default_environment ()
- );
-
- static void _set_name_skel (
- TAO_ServerRequest &req,
- void *obj,
- void *context,
- CORBA::Environment &env =
- TAO_default_environment ()
- );
-
- static void _get_version_skel (
- TAO_ServerRequest &req,
- void *obj,
- void *context,
- CORBA::Environment &env =
- TAO_default_environment ()
- );
-
- static void _set_version_skel (
- TAO_ServerRequest &req,
- void *obj,
- void *context,
- CORBA::Environment &env =
- TAO_default_environment ()
- );
-
- static void _get_defined_in_skel (
- TAO_ServerRequest &req,
- void *obj,
- void *context,
- CORBA::Environment &env =
- TAO_default_environment ()
- );
-
- static void _get_absolute_name_skel (
- TAO_ServerRequest &req,
- void *obj,
- void *context,
- CORBA::Environment &env =
- TAO_default_environment ()
- );
-
- static void _get_containing_repository_skel (
- TAO_ServerRequest &req,
- void *obj,
- void *context,
- CORBA::Environment &env =
- TAO_default_environment ()
- );
-
- static void describe_skel (
- TAO_ServerRequest &req,
- void *obj,
- void *context,
- CORBA::Environment &env =
- TAO_default_environment ()
- );
-
- static void move_skel (
- TAO_ServerRequest &req,
- void *obj,
- void *context,
- CORBA::Environment &env =
- TAO_default_environment ()
- );
-
- static void _get_type_skel (
- TAO_ServerRequest &req,
- void *obj,
- void *context,
- CORBA::Environment &env =
- TAO_default_environment ()
- );
-
- static void _get_def_kind_skel (
- TAO_ServerRequest &req,
- void *obj,
- void *context,
- CORBA::Environment &env =
- TAO_default_environment ()
- );
-
- static void destroy_skel (
- TAO_ServerRequest &req,
- void *obj,
- void *context,
- CORBA::Environment &env =
- TAO_default_environment ()
- );
-
-#if (TAO_HAS_INTERCEPTORS == 1)
- // Generation of interceptors related RequestInfo classes per operation.
- // This needed to be able to store the arguments, exceptions, contexts
- // and build the lists dynamically on demand so that unnecessary time overhead
- // of building these lists when they arent used is avoided.
- class TAO_ServerRequestInfo_IR_InterfaceDef_base_interfaces_get : public TAO_ServerRequestInfo
- {
- public:
- friend class POA_IR::InterfaceDef;
- TAO_ServerRequestInfo_IR_InterfaceDef_base_interfaces_get (
- TAO_ServerRequest &_tao_server_request,
- POA_IR::InterfaceDef *tao_impl
- ,
- CORBA::Environment &ACE_TRY_ENV =
- TAO_default_environment ()
- );
-
- virtual Dynamic::ParameterList * arguments (
- CORBA::Environment &ACE_TRY_ENV =
- TAO_default_environment ()
- )
- ACE_THROW_SPEC ((CORBA::SystemException));
-
- virtual Dynamic::ExceptionList * exceptions (
- CORBA::Environment &ACE_TRY_ENV =
- TAO_default_environment ()
- )
- ACE_THROW_SPEC ((CORBA::SystemException));
-
- virtual CORBA::Any * result (
- CORBA::Environment &ACE_TRY_ENV =
- TAO_default_environment ()
- )
- ACE_THROW_SPEC ((CORBA::SystemException));
-
- virtual char * target_most_derived_interface (
- CORBA::Environment &ACE_TRY_ENV = TAO_default_environment ())
- ACE_THROW_SPEC ((CORBA::SystemException));
-
- virtual CORBA::Boolean target_is_a (
- const char * id,
- CORBA::Environment &ACE_TRY_ENV = TAO_default_environment ())
- ACE_THROW_SPEC ((CORBA::SystemException));
-
-
- private:
- TAO_ServerRequestInfo_IR_InterfaceDef_base_interfaces_get (const TAO_ServerRequestInfo_IR_InterfaceDef_base_interfaces_get &);
- void operator= (const TAO_ServerRequestInfo_IR_InterfaceDef_base_interfaces_get &);
-
- private:
- POA_IR::InterfaceDef *_tao_impl;
- void result (IR::InterfaceDefSeq * result);
- // update the result
- IR_InterfaceDefSeq * _result;
- };
-
- class TAO_ServerRequestInfo_IR_InterfaceDef_base_interfaces_set : public TAO_ServerRequestInfo
- {
- public:
- friend class POA_IR::InterfaceDef;
- TAO_ServerRequestInfo_IR_InterfaceDef_base_interfaces_set (
- TAO_ServerRequest &_tao_server_request,
- POA_IR::InterfaceDef *tao_impl
- ,
- const IR_InterfaceDefSeq & base_interfaces,
- CORBA::Environment &ACE_TRY_ENV =
- TAO_default_environment ()
- );
-
- virtual Dynamic::ParameterList * arguments (
- CORBA::Environment &ACE_TRY_ENV =
- TAO_default_environment ()
- )
- ACE_THROW_SPEC ((CORBA::SystemException));
-
- virtual Dynamic::ExceptionList * exceptions (
- CORBA::Environment &ACE_TRY_ENV =
- TAO_default_environment ()
- )
- ACE_THROW_SPEC ((CORBA::SystemException));
-
- virtual CORBA::Any * result (
- CORBA::Environment &ACE_TRY_ENV =
- TAO_default_environment ()
- )
- ACE_THROW_SPEC ((CORBA::SystemException));
-
- virtual char * target_most_derived_interface (
- CORBA::Environment &ACE_TRY_ENV = TAO_default_environment ())
- ACE_THROW_SPEC ((CORBA::SystemException));
-
- virtual CORBA::Boolean target_is_a (
- const char * id,
- CORBA::Environment &ACE_TRY_ENV = TAO_default_environment ())
- ACE_THROW_SPEC ((CORBA::SystemException));
-
-
- private:
- TAO_ServerRequestInfo_IR_InterfaceDef_base_interfaces_set (const TAO_ServerRequestInfo_IR_InterfaceDef_base_interfaces_set &);
- void operator= (const TAO_ServerRequestInfo_IR_InterfaceDef_base_interfaces_set &);
-
- private:
- POA_IR::InterfaceDef *_tao_impl;
- const IR_InterfaceDefSeq & base_interfaces_;
- };
-
- class TAO_ServerRequestInfo_IR_InterfaceDef_is_abstract_get : public TAO_ServerRequestInfo
- {
- public:
- friend class POA_IR::InterfaceDef;
- TAO_ServerRequestInfo_IR_InterfaceDef_is_abstract_get (
- TAO_ServerRequest &_tao_server_request,
- POA_IR::InterfaceDef *tao_impl
- ,
- CORBA::Environment &ACE_TRY_ENV =
- TAO_default_environment ()
- );
-
- virtual Dynamic::ParameterList * arguments (
- CORBA::Environment &ACE_TRY_ENV =
- TAO_default_environment ()
- )
- ACE_THROW_SPEC ((CORBA::SystemException));
-
- virtual Dynamic::ExceptionList * exceptions (
- CORBA::Environment &ACE_TRY_ENV =
- TAO_default_environment ()
- )
- ACE_THROW_SPEC ((CORBA::SystemException));
-
- virtual CORBA::Any * result (
- CORBA::Environment &ACE_TRY_ENV =
- TAO_default_environment ()
- )
- ACE_THROW_SPEC ((CORBA::SystemException));
-
- virtual char * target_most_derived_interface (
- CORBA::Environment &ACE_TRY_ENV = TAO_default_environment ())
- ACE_THROW_SPEC ((CORBA::SystemException));
-
- virtual CORBA::Boolean target_is_a (
- const char * id,
- CORBA::Environment &ACE_TRY_ENV = TAO_default_environment ())
- ACE_THROW_SPEC ((CORBA::SystemException));
-
-
- private:
- TAO_ServerRequestInfo_IR_InterfaceDef_is_abstract_get (const TAO_ServerRequestInfo_IR_InterfaceDef_is_abstract_get &);
- void operator= (const TAO_ServerRequestInfo_IR_InterfaceDef_is_abstract_get &);
-
- private:
- POA_IR::InterfaceDef *_tao_impl;
- void result (CORBA::Boolean result);
- // update the result
- CORBA::Boolean _result;
- };
-
- class TAO_ServerRequestInfo_IR_InterfaceDef_is_abstract_set : public TAO_ServerRequestInfo
- {
- public:
- friend class POA_IR::InterfaceDef;
- TAO_ServerRequestInfo_IR_InterfaceDef_is_abstract_set (
- TAO_ServerRequest &_tao_server_request,
- POA_IR::InterfaceDef *tao_impl
- ,
- const CORBA::Boolean & is_abstract,
- CORBA::Environment &ACE_TRY_ENV =
- TAO_default_environment ()
- );
-
- virtual Dynamic::ParameterList * arguments (
- CORBA::Environment &ACE_TRY_ENV =
- TAO_default_environment ()
- )
- ACE_THROW_SPEC ((CORBA::SystemException));
-
- virtual Dynamic::ExceptionList * exceptions (
- CORBA::Environment &ACE_TRY_ENV =
- TAO_default_environment ()
- )
- ACE_THROW_SPEC ((CORBA::SystemException));
-
- virtual CORBA::Any * result (
- CORBA::Environment &ACE_TRY_ENV =
- TAO_default_environment ()
- )
- ACE_THROW_SPEC ((CORBA::SystemException));
-
- virtual char * target_most_derived_interface (
- CORBA::Environment &ACE_TRY_ENV = TAO_default_environment ())
- ACE_THROW_SPEC ((CORBA::SystemException));
-
- virtual CORBA::Boolean target_is_a (
- const char * id,
- CORBA::Environment &ACE_TRY_ENV = TAO_default_environment ())
- ACE_THROW_SPEC ((CORBA::SystemException));
-
-
- private:
- TAO_ServerRequestInfo_IR_InterfaceDef_is_abstract_set (const TAO_ServerRequestInfo_IR_InterfaceDef_is_abstract_set &);
- void operator= (const TAO_ServerRequestInfo_IR_InterfaceDef_is_abstract_set &);
-
- private:
- POA_IR::InterfaceDef *_tao_impl;
- const CORBA::Boolean & is_abstract_;
- };
-
- class TAO_ServerRequestInfo_IR_InterfaceDef_is_local_get : public TAO_ServerRequestInfo
- {
- public:
- friend class POA_IR::InterfaceDef;
- TAO_ServerRequestInfo_IR_InterfaceDef_is_local_get (
- TAO_ServerRequest &_tao_server_request,
- POA_IR::InterfaceDef *tao_impl
- ,
- CORBA::Environment &ACE_TRY_ENV =
- TAO_default_environment ()
- );
-
- virtual Dynamic::ParameterList * arguments (
- CORBA::Environment &ACE_TRY_ENV =
- TAO_default_environment ()
- )
- ACE_THROW_SPEC ((CORBA::SystemException));
-
- virtual Dynamic::ExceptionList * exceptions (
- CORBA::Environment &ACE_TRY_ENV =
- TAO_default_environment ()
- )
- ACE_THROW_SPEC ((CORBA::SystemException));
-
- virtual CORBA::Any * result (
- CORBA::Environment &ACE_TRY_ENV =
- TAO_default_environment ()
- )
- ACE_THROW_SPEC ((CORBA::SystemException));
-
- virtual char * target_most_derived_interface (
- CORBA::Environment &ACE_TRY_ENV = TAO_default_environment ())
- ACE_THROW_SPEC ((CORBA::SystemException));
-
- virtual CORBA::Boolean target_is_a (
- const char * id,
- CORBA::Environment &ACE_TRY_ENV = TAO_default_environment ())
- ACE_THROW_SPEC ((CORBA::SystemException));
-
-
- private:
- TAO_ServerRequestInfo_IR_InterfaceDef_is_local_get (const TAO_ServerRequestInfo_IR_InterfaceDef_is_local_get &);
- void operator= (const TAO_ServerRequestInfo_IR_InterfaceDef_is_local_get &);
-
- private:
- POA_IR::InterfaceDef *_tao_impl;
- void result (CORBA::Boolean result);
- // update the result
- CORBA::Boolean _result;
- };
-
- class TAO_ServerRequestInfo_IR_InterfaceDef_is_local_set : public TAO_ServerRequestInfo
- {
- public:
- friend class POA_IR::InterfaceDef;
- TAO_ServerRequestInfo_IR_InterfaceDef_is_local_set (
- TAO_ServerRequest &_tao_server_request,
- POA_IR::InterfaceDef *tao_impl
- ,
- const CORBA::Boolean & is_local,
- CORBA::Environment &ACE_TRY_ENV =
- TAO_default_environment ()
- );
-
- virtual Dynamic::ParameterList * arguments (
- CORBA::Environment &ACE_TRY_ENV =
- TAO_default_environment ()
- )
- ACE_THROW_SPEC ((CORBA::SystemException));
-
- virtual Dynamic::ExceptionList * exceptions (
- CORBA::Environment &ACE_TRY_ENV =
- TAO_default_environment ()
- )
- ACE_THROW_SPEC ((CORBA::SystemException));
-
- virtual CORBA::Any * result (
- CORBA::Environment &ACE_TRY_ENV =
- TAO_default_environment ()
- )
- ACE_THROW_SPEC ((CORBA::SystemException));
-
- virtual char * target_most_derived_interface (
- CORBA::Environment &ACE_TRY_ENV = TAO_default_environment ())
- ACE_THROW_SPEC ((CORBA::SystemException));
-
- virtual CORBA::Boolean target_is_a (
- const char * id,
- CORBA::Environment &ACE_TRY_ENV = TAO_default_environment ())
- ACE_THROW_SPEC ((CORBA::SystemException));
-
-
- private:
- TAO_ServerRequestInfo_IR_InterfaceDef_is_local_set (const TAO_ServerRequestInfo_IR_InterfaceDef_is_local_set &);
- void operator= (const TAO_ServerRequestInfo_IR_InterfaceDef_is_local_set &);
-
- private:
- POA_IR::InterfaceDef *_tao_impl;
- const CORBA::Boolean & is_local_;
- };
-
- class TAO_ServerRequestInfo_IR_InterfaceDef_is_a : public TAO_ServerRequestInfo
- {
- public:
- friend class POA_IR::InterfaceDef;
- TAO_ServerRequestInfo_IR_InterfaceDef_is_a (
- TAO_ServerRequest &_tao_server_request,
- POA_IR::InterfaceDef *tao_impl
- ,
- const char * interface_id,
- CORBA::Environment &ACE_TRY_ENV =
- TAO_default_environment ()
- );
-
- virtual Dynamic::ParameterList * arguments (
- CORBA::Environment &ACE_TRY_ENV =
- TAO_default_environment ()
- )
- ACE_THROW_SPEC ((CORBA::SystemException));
-
- virtual Dynamic::ExceptionList * exceptions (
- CORBA::Environment &ACE_TRY_ENV =
- TAO_default_environment ()
- )
- ACE_THROW_SPEC ((CORBA::SystemException));
-
- virtual CORBA::Any * result (
- CORBA::Environment &ACE_TRY_ENV =
- TAO_default_environment ()
- )
- ACE_THROW_SPEC ((CORBA::SystemException));
-
- virtual char * target_most_derived_interface (
- CORBA::Environment &ACE_TRY_ENV = TAO_default_environment ())
- ACE_THROW_SPEC ((CORBA::SystemException));
-
- virtual CORBA::Boolean target_is_a (
- const char * id,
- CORBA::Environment &ACE_TRY_ENV = TAO_default_environment ())
- ACE_THROW_SPEC ((CORBA::SystemException));
-
-
- private:
- TAO_ServerRequestInfo_IR_InterfaceDef_is_a (const TAO_ServerRequestInfo_IR_InterfaceDef_is_a &);
- void operator= (const TAO_ServerRequestInfo_IR_InterfaceDef_is_a &);
-
- private:
- POA_IR::InterfaceDef *_tao_impl;
- const char * interface_id_;
- void result (CORBA::Boolean result);
- // update the result
- CORBA::Boolean _result;
- };
-
- class TAO_ServerRequestInfo_IR_InterfaceDef_create_attribute : public TAO_ServerRequestInfo
- {
- public:
- friend class POA_IR::InterfaceDef;
- TAO_ServerRequestInfo_IR_InterfaceDef_create_attribute (
- TAO_ServerRequest &_tao_server_request,
- POA_IR::InterfaceDef *tao_impl
- ,
- const char * id,
- const char * name,
- const char * version,
- IR_IDLType_ptr type,
- IR_AttributeMode & mode,
- const IR_ExceptionDefSeq & get_exceptions,
- const IR_ExceptionDefSeq & put_exceptions,
- CORBA::Environment &ACE_TRY_ENV =
- TAO_default_environment ()
- );
-
- virtual Dynamic::ParameterList * arguments (
- CORBA::Environment &ACE_TRY_ENV =
- TAO_default_environment ()
- )
- ACE_THROW_SPEC ((CORBA::SystemException));
-
- virtual Dynamic::ExceptionList * exceptions (
- CORBA::Environment &ACE_TRY_ENV =
- TAO_default_environment ()
- )
- ACE_THROW_SPEC ((CORBA::SystemException));
-
- virtual CORBA::Any * result (
- CORBA::Environment &ACE_TRY_ENV =
- TAO_default_environment ()
- )
- ACE_THROW_SPEC ((CORBA::SystemException));
-
- virtual char * target_most_derived_interface (
- CORBA::Environment &ACE_TRY_ENV = TAO_default_environment ())
- ACE_THROW_SPEC ((CORBA::SystemException));
-
- virtual CORBA::Boolean target_is_a (
- const char * id,
- CORBA::Environment &ACE_TRY_ENV = TAO_default_environment ())
- ACE_THROW_SPEC ((CORBA::SystemException));
-
-
- private:
- TAO_ServerRequestInfo_IR_InterfaceDef_create_attribute (const TAO_ServerRequestInfo_IR_InterfaceDef_create_attribute &);
- void operator= (const TAO_ServerRequestInfo_IR_InterfaceDef_create_attribute &);
-
- private:
- POA_IR::InterfaceDef *_tao_impl;
- const char * id_;
- const char * name_;
- const char * version_;
- IR_IDLType_ptr type_;
- const IR_AttributeMode & mode_;
- const IR_ExceptionDefSeq & get_exceptions_;
- const IR_ExceptionDefSeq & put_exceptions_;
- void result (IR::AttributeDef_ptr result);
- // update the result
- IR_AttributeDef_ptr _result;
- };
-
- class TAO_ServerRequestInfo_IR_InterfaceDef_create_operation : public TAO_ServerRequestInfo
- {
- public:
- friend class POA_IR::InterfaceDef;
- TAO_ServerRequestInfo_IR_InterfaceDef_create_operation (
- TAO_ServerRequest &_tao_server_request,
- POA_IR::InterfaceDef *tao_impl
- ,
- const char * id,
- const char * name,
- const char * version,
- IR_IDLType_ptr result,
- IR_OperationMode & mode,
- const IR_ParDescriptionSeq & params,
- const IR_ExceptionDefSeq & exceptions,
- const IR_ContextIdSeq & contexts,
- CORBA::Environment &ACE_TRY_ENV =
- TAO_default_environment ()
- );
-
- virtual Dynamic::ParameterList * arguments (
- CORBA::Environment &ACE_TRY_ENV =
- TAO_default_environment ()
- )
- ACE_THROW_SPEC ((CORBA::SystemException));
-
- virtual Dynamic::ExceptionList * exceptions (
- CORBA::Environment &ACE_TRY_ENV =
- TAO_default_environment ()
- )
- ACE_THROW_SPEC ((CORBA::SystemException));
-
- virtual CORBA::Any * result (
- CORBA::Environment &ACE_TRY_ENV =
- TAO_default_environment ()
- )
- ACE_THROW_SPEC ((CORBA::SystemException));
-
- virtual char * target_most_derived_interface (
- CORBA::Environment &ACE_TRY_ENV = TAO_default_environment ())
- ACE_THROW_SPEC ((CORBA::SystemException));
-
- virtual CORBA::Boolean target_is_a (
- const char * id,
- CORBA::Environment &ACE_TRY_ENV = TAO_default_environment ())
- ACE_THROW_SPEC ((CORBA::SystemException));
-
-
- private:
- TAO_ServerRequestInfo_IR_InterfaceDef_create_operation (const TAO_ServerRequestInfo_IR_InterfaceDef_create_operation &);
- void operator= (const TAO_ServerRequestInfo_IR_InterfaceDef_create_operation &);
-
- private:
- POA_IR::InterfaceDef *_tao_impl;
- const char * id_;
- const char * name_;
- const char * version_;
- IR_IDLType_ptr result_;
- const IR_OperationMode & mode_;
- const IR_ParDescriptionSeq & params_;
- const IR_ExceptionDefSeq & exceptions_;
- const IR_ContextIdSeq & contexts_;
- void result (IR::OperationDef_ptr result);
- // update the result
- IR_OperationDef_ptr _result;
- };
-
-#endif /* TAO_HAS_INTERCEPTORS */
-
- };
-
-///////////////////////////////////////////////////////////////////////
-// Strategized Proxy Broker Declaration
-//
-
-class _TAO_InterfaceDef_Strategized_Proxy_Broker : public virtual _TAO_InterfaceDef_Proxy_Broker
-{
-public:
- _TAO_InterfaceDef_Strategized_Proxy_Broker (void);
-
- virtual ~_TAO_InterfaceDef_Strategized_Proxy_Broker (void);
-
- virtual _TAO_InterfaceDef_Proxy_Impl &select_proxy (
- IR_InterfaceDef *object,
- CORBA_Environment &ACE_TRY_ENV = TAO_default_environment ()
- );
-
-private:
-
-// Helper methods that takes care to create the proxy
-// as soon as their use is necessary.
- void create_proxy (
- int strategy,
- CORBA::Environment &ACE_TRY_ENV
- );
-
-private:
-
- // Caches the proxy implementations. The proxy implementation
- // are totally stateless, and those can be shared by all the
- // instances of a given IDL interface type.
- _TAO_InterfaceDef_Proxy_Impl
- *proxy_cache_[TAO_Collocation_Strategies::CS_LAST];
-
- TAO_SYNCH_MUTEX mutex_;
-// This funxtion is used to get an handle to the unique instance
-// of the Strategized Proxy Broker that is available for a given
-// interface.
-
-public:
- static _TAO_InterfaceDef_Strategized_Proxy_Broker *the_TAO_InterfaceDef_Strategized_Proxy_Broker (void);
-};
-
-//
-// End Strategized Proxy Broker Declaration
-///////////////////////////////////////////////////////////////////////
-
-
-///////////////////////////////////////////////////////////////////////
-// ThruPOA Impl. Declaration
-//
-
-class _TAO_InterfaceDef_ThruPOA_Proxy_Impl :
- public virtual _TAO_InterfaceDef_Proxy_Impl,
- public virtual TAO_ThruPOA_Object_Proxy_Impl,
- public virtual ::POA_IR::_TAO_Container_ThruPOA_Proxy_Impl,
- public virtual ::POA_IR::_TAO_Contained_ThruPOA_Proxy_Impl,
- public virtual ::POA_IR::_TAO_IDLType_ThruPOA_Proxy_Impl
-
-{
-public:
- _TAO_InterfaceDef_ThruPOA_Proxy_Impl (void);
-
- virtual ~_TAO_InterfaceDef_ThruPOA_Proxy_Impl (void) { }
-
- virtual IR_InterfaceDefSeq * base_interfaces (
- CORBA_Object *_collocated_tao_target_,
- CORBA::Environment &ACE_TRY_ENV
- )
- ACE_THROW_SPEC ((
- CORBA::SystemException
- ));
-
- virtual void base_interfaces (
- CORBA_Object *_collocated_tao_target_,
- const IR_InterfaceDefSeq & base_interfaces,
- CORBA::Environment &ACE_TRY_ENV
- )
- ACE_THROW_SPEC ((
- CORBA::SystemException
- ));
-
- virtual CORBA::Boolean is_abstract (
- CORBA_Object *_collocated_tao_target_,
- CORBA::Environment &ACE_TRY_ENV
- )
- ACE_THROW_SPEC ((
- CORBA::SystemException
- ));
-
- virtual void is_abstract (
- CORBA_Object *_collocated_tao_target_,
- CORBA::Boolean is_abstract,
- CORBA::Environment &ACE_TRY_ENV
- )
- ACE_THROW_SPEC ((
- CORBA::SystemException
- ));
-
- virtual CORBA::Boolean is_local (
- CORBA_Object *_collocated_tao_target_,
- CORBA::Environment &ACE_TRY_ENV
- )
- ACE_THROW_SPEC ((
- CORBA::SystemException
- ));
-
- virtual void is_local (
- CORBA_Object *_collocated_tao_target_,
- CORBA::Boolean is_local,
- CORBA::Environment &ACE_TRY_ENV
- )
- ACE_THROW_SPEC ((
- CORBA::SystemException
- ));
-
- virtual CORBA::Boolean is_a (
- CORBA_Object *_collocated_tao_target_,
- const char * interface_id,
- CORBA::Environment &ACE_TRY_ENV
- )
- ACE_THROW_SPEC ((
- CORBA::SystemException
- ));
-
- virtual IR_AttributeDef_ptr create_attribute (
- CORBA_Object *_collocated_tao_target_,
- const char * id,
- const char * name,
- const char * version,
- IR_IDLType_ptr type,
- IR_AttributeMode mode,
- const IR_ExceptionDefSeq & get_exceptions,
- const IR_ExceptionDefSeq & put_exceptions,
- CORBA::Environment &ACE_TRY_ENV
- )
- ACE_THROW_SPEC ((
- CORBA::SystemException
- ));
-
- virtual IR_OperationDef_ptr create_operation (
- CORBA_Object *_collocated_tao_target_,
- const char * id,
- const char * name,
- const char * version,
- IR_IDLType_ptr result,
- IR_OperationMode mode,
- const IR_ParDescriptionSeq & params,
- const IR_ExceptionDefSeq & exceptions,
- const IR_ContextIdSeq & contexts,
- CORBA::Environment &ACE_TRY_ENV
- )
- ACE_THROW_SPEC ((
- CORBA::SystemException
- ));
-
-};
-
-
-//
-// ThruPOA Proxy Impl. Declaration
-///////////////////////////////////////////////////////////////////////
-
-#if defined (ACE_HAS_USING_KEYWORD)
- // TIE class: Refer to CORBA v2.2, Section 20.34.4
- template <class T>
- class InterfaceDef_tie : public InterfaceDef
- {
- public:
- InterfaceDef_tie (T &t);
- // the T& ctor
- InterfaceDef_tie (T &t, PortableServer::POA_ptr poa);
- // ctor taking a POA
- InterfaceDef_tie (T *tp, CORBA::Boolean release=1);
- // ctor taking pointer and an ownership flag
- InterfaceDef_tie (T *tp, PortableServer::POA_ptr poa, CORBA::Boolean release=1);
- // ctor with T*, ownership flag and a POA
- ~InterfaceDef_tie (void);
- // dtor
-
- // TIE specific functions
- T *_tied_object (void);
- // return the underlying object
- void _tied_object (T &obj);
- // set the underlying object
- void _tied_object (T *obj, CORBA::Boolean release=1);
- // set the underlying object and the ownership flag
- CORBA::Boolean _is_owner (void);
- // do we own it
- void _is_owner (CORBA::Boolean b);
- // set the ownership
-
- // overridden ServantBase operations
- PortableServer::POA_ptr _default_POA (
- CORBA::Environment &env =
- TAO_default_environment ()
- );
- IR_InterfaceDefSeq * base_interfaces (
- CORBA::Environment &ACE_TRY_ENV =
- TAO_default_environment ()
- )
- ACE_THROW_SPEC ((
- CORBA::SystemException
- ));
-
- void base_interfaces (
- const IR_InterfaceDefSeq & base_interfaces,
- CORBA::Environment &ACE_TRY_ENV =
- TAO_default_environment ()
- )
- ACE_THROW_SPEC ((
- CORBA::SystemException
- ));
-
- CORBA::Boolean is_abstract (
- CORBA::Environment &ACE_TRY_ENV =
- TAO_default_environment ()
- )
- ACE_THROW_SPEC ((
- CORBA::SystemException
- ));
-
- void is_abstract (
- CORBA::Boolean is_abstract,
- CORBA::Environment &ACE_TRY_ENV =
- TAO_default_environment ()
- )
- ACE_THROW_SPEC ((
- CORBA::SystemException
- ));
-
- CORBA::Boolean is_local (
- CORBA::Environment &ACE_TRY_ENV =
- TAO_default_environment ()
- )
- ACE_THROW_SPEC ((
- CORBA::SystemException
- ));
-
- void is_local (
- CORBA::Boolean is_local,
- CORBA::Environment &ACE_TRY_ENV =
- TAO_default_environment ()
- )
- ACE_THROW_SPEC ((
- CORBA::SystemException
- ));
-
- CORBA::Boolean is_a (
- const char * interface_id,
- CORBA::Environment &ACE_TRY_ENV =
- TAO_default_environment ()
- )
- ACE_THROW_SPEC ((
- CORBA::SystemException
- ));
-
- IR_AttributeDef_ptr create_attribute (
- const char * id,
- const char * name,
- const char * version,
- IR_IDLType_ptr type,
- IR_AttributeMode mode,
- const IR_ExceptionDefSeq & get_exceptions,
- const IR_ExceptionDefSeq & put_exceptions,
- CORBA::Environment &ACE_TRY_ENV =
- TAO_default_environment ()
- )
- ACE_THROW_SPEC ((
- CORBA::SystemException
- ));
-
- IR_OperationDef_ptr create_operation (
- const char * id,
- const char * name,
- const char * version,
- IR_IDLType_ptr result,
- IR_OperationMode mode,
- const IR_ParDescriptionSeq & params,
- const IR_ExceptionDefSeq & exceptions,
- const IR_ContextIdSeq & contexts,
- CORBA::Environment &ACE_TRY_ENV =
- TAO_default_environment ()
- )
- ACE_THROW_SPEC ((
- CORBA::SystemException
- ));
-
- IR_Contained_ptr lookup (
- const char * search_name,
- CORBA::Environment &ACE_TRY_ENV =
- TAO_default_environment ()
- )
- ACE_THROW_SPEC ((
- CORBA::SystemException
- ));
-
- IR_ContainedSeq * contents (
- IR_DefinitionKind limit_type,
- CORBA::Boolean exclude_inherited,
- CORBA::Environment &ACE_TRY_ENV =
- TAO_default_environment ()
- )
- ACE_THROW_SPEC ((
- CORBA::SystemException
- ));
-
- IR_ContainedSeq * lookup_name (
- const char * search_name,
- CORBA::Long levels_to_search,
- IR_DefinitionKind limit_type,
- CORBA::Boolean exclude_inherited,
- CORBA::Environment &ACE_TRY_ENV =
- TAO_default_environment ()
- )
- ACE_THROW_SPEC ((
- CORBA::SystemException
- ));
-
- IR_Container::DescriptionSeq * describe_contents (
- IR_DefinitionKind limit_type,
- CORBA::Boolean exclude_inherited,
- CORBA::Long max_returned_objs,
- CORBA::Environment &ACE_TRY_ENV =
- TAO_default_environment ()
- )
- ACE_THROW_SPEC ((
- CORBA::SystemException
- ));
-
- IR_ModuleDef_ptr create_module (
- const char * id,
- const char * name,
- const char * version,
- CORBA::Environment &ACE_TRY_ENV =
- TAO_default_environment ()
- )
- ACE_THROW_SPEC ((
- CORBA::SystemException
- ));
-
- IR_ConstantDef_ptr create_constant (
- const char * id,
- const char * name,
- const char * version,
- IR_IDLType_ptr type,
- const CORBA::Any & value,
- CORBA::Environment &ACE_TRY_ENV =
- TAO_default_environment ()
- )
- ACE_THROW_SPEC ((
- CORBA::SystemException
- ));
-
- IR_StructDef_ptr create_struct (
- const char * id,
- const char * name,
- const char * version,
- const IR_StructMemberSeq & members,
- CORBA::Environment &ACE_TRY_ENV =
- TAO_default_environment ()
- )
- ACE_THROW_SPEC ((
- CORBA::SystemException
- ));
-
- IR_UnionDef_ptr create_union (
- const char * id,
- const char * name,
- const char * version,
- IR_IDLType_ptr discriminator_type,
- const IR_UnionMemberSeq & members,
- CORBA::Environment &ACE_TRY_ENV =
- TAO_default_environment ()
- )
- ACE_THROW_SPEC ((
- CORBA::SystemException
- ));
-
- IR_EnumDef_ptr create_enum (
- const char * id,
- const char * name,
- const char * version,
- const IR_EnumMemberSeq & members,
- CORBA::Environment &ACE_TRY_ENV =
- TAO_default_environment ()
- )
- ACE_THROW_SPEC ((
- CORBA::SystemException
- ));
-
- IR_AliasDef_ptr create_alias (
- const char * id,
- const char * name,
- const char * version,
- IR_IDLType_ptr original_type,
- CORBA::Environment &ACE_TRY_ENV =
- TAO_default_environment ()
- )
- ACE_THROW_SPEC ((
- CORBA::SystemException
- ));
-
- IR_InterfaceDef_ptr create_interface (
- const char * id,
- const char * name,
- const char * version,
- const IR_InterfaceDefSeq & base_interfaces,
- CORBA::Boolean is_abstract,
- CORBA::Boolean is_local,
- CORBA::Environment &ACE_TRY_ENV =
- TAO_default_environment ()
- )
- ACE_THROW_SPEC ((
- CORBA::SystemException
- ));
-
- IR_ValueDef_ptr create_value (
- const char * id,
- const char * name,
- const char * version,
- CORBA::Boolean is_custom,
- CORBA::Boolean is_abstract,
- IR_ValueDef_ptr base_value,
- CORBA::Boolean is_truncatable,
- const IR_ValueDefSeq & abstract_base_values,
- const IR_InterfaceDefSeq & supported_interfaces,
- const IR_InitializerSeq & initializers,
- CORBA::Environment &ACE_TRY_ENV =
- TAO_default_environment ()
- )
- ACE_THROW_SPEC ((
- CORBA::SystemException
- ));
-
- IR_ValueBoxDef_ptr create_value_box (
- const char * id,
- const char * name,
- const char * version,
- IR_IDLType_ptr original_type_def,
- CORBA::Environment &ACE_TRY_ENV =
- TAO_default_environment ()
- )
- ACE_THROW_SPEC ((
- CORBA::SystemException
- ));
-
- IR_ExceptionDef_ptr create_exception (
- const char * id,
- const char * name,
- const char * version,
- const IR_StructMemberSeq & members,
- CORBA::Environment &ACE_TRY_ENV =
- TAO_default_environment ()
- )
- ACE_THROW_SPEC ((
- CORBA::SystemException
- ));
-
- IR_NativeDef_ptr create_native (
- const char * id,
- const char * name,
- const char * version,
- CORBA::Environment &ACE_TRY_ENV =
- TAO_default_environment ()
- )
- ACE_THROW_SPEC ((
- CORBA::SystemException
- ));
-
- char * id (
- CORBA::Environment &ACE_TRY_ENV =
- TAO_default_environment ()
- )
- ACE_THROW_SPEC ((
- CORBA::SystemException
- ));
-
- void id (
- const char * id,
- CORBA::Environment &ACE_TRY_ENV =
- TAO_default_environment ()
- )
- ACE_THROW_SPEC ((
- CORBA::SystemException
- ));
-
- char * name (
- CORBA::Environment &ACE_TRY_ENV =
- TAO_default_environment ()
- )
- ACE_THROW_SPEC ((
- CORBA::SystemException
- ));
-
- void name (
- const char * name,
- CORBA::Environment &ACE_TRY_ENV =
- TAO_default_environment ()
- )
- ACE_THROW_SPEC ((
- CORBA::SystemException
- ));
-
- char * version (
- CORBA::Environment &ACE_TRY_ENV =
- TAO_default_environment ()
- )
- ACE_THROW_SPEC ((
- CORBA::SystemException
- ));
-
- void version (
- const char * version,
- CORBA::Environment &ACE_TRY_ENV =
- TAO_default_environment ()
- )
- ACE_THROW_SPEC ((
- CORBA::SystemException
- ));
-
- IR_Container_ptr defined_in (
- CORBA::Environment &ACE_TRY_ENV =
- TAO_default_environment ()
- )
- ACE_THROW_SPEC ((
- CORBA::SystemException
- ));
-
- char * absolute_name (
- CORBA::Environment &ACE_TRY_ENV =
- TAO_default_environment ()
- )
- ACE_THROW_SPEC ((
- CORBA::SystemException
- ));
-
- IR_Repository_ptr containing_repository (
- CORBA::Environment &ACE_TRY_ENV =
- TAO_default_environment ()
- )
- ACE_THROW_SPEC ((
- CORBA::SystemException
- ));
-
- IR_Contained::Description * describe (
- CORBA::Environment &ACE_TRY_ENV =
- TAO_default_environment ()
- )
- ACE_THROW_SPEC ((
- CORBA::SystemException
- ));
-
- void move (
- IR_Container_ptr new_container,
- const char * new_name,
- const char * new_version,
- CORBA::Environment &ACE_TRY_ENV =
- TAO_default_environment ()
- )
- ACE_THROW_SPEC ((
- CORBA::SystemException
- ));
-
- CORBA::TypeCode_ptr type (
- CORBA::Environment &ACE_TRY_ENV =
- TAO_default_environment ()
- )
- ACE_THROW_SPEC ((
- CORBA::SystemException
- ));
-
- IR_DefinitionKind def_kind (
- CORBA::Environment &ACE_TRY_ENV =
- TAO_default_environment ()
- )
- ACE_THROW_SPEC ((
- CORBA::SystemException
- ));
-
- void destroy (
- CORBA::Environment &ACE_TRY_ENV =
- TAO_default_environment ()
- )
- ACE_THROW_SPEC ((
- CORBA::SystemException
- ));
-
-private:
- T *ptr_;
- PortableServer::POA_var poa_;
- CORBA::Boolean rel_;
-
- // copy and assignment are not allowed
- InterfaceDef_tie (const InterfaceDef_tie &);
- void operator= (const InterfaceDef_tie &);
- };
-
-#endif /* ACE_HAS_USING_KEYWORD */
-
- class ValueMemberDef;
- typedef ValueMemberDef *ValueMemberDef_ptr;
- // Forward Classes Declaration
- class _TAO_ValueMemberDef_ThruPOA_Proxy_Impl;
- class _TAO_ValueMemberDef_Strategized_Proxy_Broker;
-
- class ValueMemberDef : public virtual Contained
- {
- protected:
- ValueMemberDef (void);
-
- public:
- ValueMemberDef (const ValueMemberDef& rhs);
- virtual ~ValueMemberDef (void);
-
-
- virtual CORBA::Boolean _is_a (
- const char* logical_type_id,
- CORBA::Environment &ACE_TRY_ENV =
- TAO_default_environment ()
- );
-
- virtual void* _downcast (
- const char* logical_type_id
- );
-
- static void _is_a_skel (
- TAO_ServerRequest &req,
- void *obj,
- void *context,
- CORBA::Environment &ACE_TRY_ENV =
- TAO_default_environment ()
- );
-
- static void _non_existent_skel (
- TAO_ServerRequest &req,
- void *obj,
- void *context,
- CORBA::Environment &ACE_TRY_ENV =
- TAO_default_environment ()
- );
-
- virtual void _dispatch (
- TAO_ServerRequest &_tao_req,
- void *_tao_context,
- CORBA::Environment &ACE_TRY_ENV =
- TAO_default_environment ()
- );
-
- IR_ValueMemberDef *_this (
- CORBA::Environment &ACE_TRY_ENV =
- TAO_default_environment ()
- );
-
- virtual const char* _interface_repository_id (void) const;
-
- virtual CORBA::TypeCode_ptr type (
- CORBA::Environment &ACE_TRY_ENV =
- TAO_default_environment ()
- )
- ACE_THROW_SPEC ((
- CORBA::SystemException
- )) = 0;
-
- static void _get_type_skel (
- TAO_ServerRequest &_tao_req,
- void *_tao_obj,
- void *_tao_context,
- CORBA::Environment &ACE_TRY_ENV =
- TAO_default_environment ()
- );
-
- virtual IR_IDLType_ptr type_def (
- CORBA::Environment &ACE_TRY_ENV =
- TAO_default_environment ()
- )
- ACE_THROW_SPEC ((
- CORBA::SystemException
- )) = 0;
-
- static void _get_type_def_skel (
- TAO_ServerRequest &_tao_req,
- void *_tao_obj,
- void *_tao_context,
- CORBA::Environment &ACE_TRY_ENV =
- TAO_default_environment ()
- );
-
- virtual void type_def (
- IR_IDLType_ptr type_def,
- CORBA::Environment &ACE_TRY_ENV =
- TAO_default_environment ()
- )
- ACE_THROW_SPEC ((
- CORBA::SystemException
- )) = 0;
-
- static void _set_type_def_skel (
- TAO_ServerRequest &_tao_req,
- void *_tao_obj,
- void *_tao_context,
- CORBA::Environment &ACE_TRY_ENV =
- TAO_default_environment ()
- );
-
- virtual CORBA::Visibility access (
- CORBA::Environment &ACE_TRY_ENV =
- TAO_default_environment ()
- )
- ACE_THROW_SPEC ((
- CORBA::SystemException
- )) = 0;
-
- static void _get_access_skel (
- TAO_ServerRequest &_tao_req,
- void *_tao_obj,
- void *_tao_context,
- CORBA::Environment &ACE_TRY_ENV =
- TAO_default_environment ()
- );
-
- virtual void access (
- CORBA::Visibility access,
- CORBA::Environment &ACE_TRY_ENV =
- TAO_default_environment ()
- )
- ACE_THROW_SPEC ((
- CORBA::SystemException
- )) = 0;
-
- static void _set_access_skel (
- TAO_ServerRequest &_tao_req,
- void *_tao_obj,
- void *_tao_context,
- CORBA::Environment &ACE_TRY_ENV =
- TAO_default_environment ()
- );
-
- static void _get_id_skel (
- TAO_ServerRequest &req,
- void *obj,
- void *context,
- CORBA::Environment &env =
- TAO_default_environment ()
- );
-
- static void _set_id_skel (
- TAO_ServerRequest &req,
- void *obj,
- void *context,
- CORBA::Environment &env =
- TAO_default_environment ()
- );
-
- static void _get_name_skel (
- TAO_ServerRequest &req,
- void *obj,
- void *context,
- CORBA::Environment &env =
- TAO_default_environment ()
- );
-
- static void _set_name_skel (
- TAO_ServerRequest &req,
- void *obj,
- void *context,
- CORBA::Environment &env =
- TAO_default_environment ()
- );
-
- static void _get_version_skel (
- TAO_ServerRequest &req,
- void *obj,
- void *context,
- CORBA::Environment &env =
- TAO_default_environment ()
- );
-
- static void _set_version_skel (
- TAO_ServerRequest &req,
- void *obj,
- void *context,
- CORBA::Environment &env =
- TAO_default_environment ()
- );
-
- static void _get_defined_in_skel (
- TAO_ServerRequest &req,
- void *obj,
- void *context,
- CORBA::Environment &env =
- TAO_default_environment ()
- );
-
- static void _get_absolute_name_skel (
- TAO_ServerRequest &req,
- void *obj,
- void *context,
- CORBA::Environment &env =
- TAO_default_environment ()
- );
-
- static void _get_containing_repository_skel (
- TAO_ServerRequest &req,
- void *obj,
- void *context,
- CORBA::Environment &env =
- TAO_default_environment ()
- );
-
- static void describe_skel (
- TAO_ServerRequest &req,
- void *obj,
- void *context,
- CORBA::Environment &env =
- TAO_default_environment ()
- );
-
- static void move_skel (
- TAO_ServerRequest &req,
- void *obj,
- void *context,
- CORBA::Environment &env =
- TAO_default_environment ()
- );
-
- static void _get_def_kind_skel (
- TAO_ServerRequest &req,
- void *obj,
- void *context,
- CORBA::Environment &env =
- TAO_default_environment ()
- );
-
- static void destroy_skel (
- TAO_ServerRequest &req,
- void *obj,
- void *context,
- CORBA::Environment &env =
- TAO_default_environment ()
- );
-
-#if (TAO_HAS_INTERCEPTORS == 1)
- // Generation of interceptors related RequestInfo classes per operation.
- // This needed to be able to store the arguments, exceptions, contexts
- // and build the lists dynamically on demand so that unnecessary time overhead
- // of building these lists when they arent used is avoided.
- class TAO_ServerRequestInfo_IR_ValueMemberDef_type_get : public TAO_ServerRequestInfo
- {
- public:
- friend class POA_IR::ValueMemberDef;
- TAO_ServerRequestInfo_IR_ValueMemberDef_type_get (
- TAO_ServerRequest &_tao_server_request,
- POA_IR::ValueMemberDef *tao_impl
- ,
- CORBA::Environment &ACE_TRY_ENV =
- TAO_default_environment ()
- );
-
- virtual Dynamic::ParameterList * arguments (
- CORBA::Environment &ACE_TRY_ENV =
- TAO_default_environment ()
- )
- ACE_THROW_SPEC ((CORBA::SystemException));
-
- virtual Dynamic::ExceptionList * exceptions (
- CORBA::Environment &ACE_TRY_ENV =
- TAO_default_environment ()
- )
- ACE_THROW_SPEC ((CORBA::SystemException));
-
- virtual CORBA::Any * result (
- CORBA::Environment &ACE_TRY_ENV =
- TAO_default_environment ()
- )
- ACE_THROW_SPEC ((CORBA::SystemException));
-
- virtual char * target_most_derived_interface (
- CORBA::Environment &ACE_TRY_ENV = TAO_default_environment ())
- ACE_THROW_SPEC ((CORBA::SystemException));
-
- virtual CORBA::Boolean target_is_a (
- const char * id,
- CORBA::Environment &ACE_TRY_ENV = TAO_default_environment ())
- ACE_THROW_SPEC ((CORBA::SystemException));
-
-
- private:
- TAO_ServerRequestInfo_IR_ValueMemberDef_type_get (const TAO_ServerRequestInfo_IR_ValueMemberDef_type_get &);
- void operator= (const TAO_ServerRequestInfo_IR_ValueMemberDef_type_get &);
-
- private:
- POA_IR::ValueMemberDef *_tao_impl;
- void result (CORBA::TypeCode_ptr result);
- // update the result
- CORBA::TypeCode_ptr _result;
- };
-
- class TAO_ServerRequestInfo_IR_ValueMemberDef_type_def_get : public TAO_ServerRequestInfo
- {
- public:
- friend class POA_IR::ValueMemberDef;
- TAO_ServerRequestInfo_IR_ValueMemberDef_type_def_get (
- TAO_ServerRequest &_tao_server_request,
- POA_IR::ValueMemberDef *tao_impl
- ,
- CORBA::Environment &ACE_TRY_ENV =
- TAO_default_environment ()
- );
-
- virtual Dynamic::ParameterList * arguments (
- CORBA::Environment &ACE_TRY_ENV =
- TAO_default_environment ()
- )
- ACE_THROW_SPEC ((CORBA::SystemException));
-
- virtual Dynamic::ExceptionList * exceptions (
- CORBA::Environment &ACE_TRY_ENV =
- TAO_default_environment ()
- )
- ACE_THROW_SPEC ((CORBA::SystemException));
-
- virtual CORBA::Any * result (
- CORBA::Environment &ACE_TRY_ENV =
- TAO_default_environment ()
- )
- ACE_THROW_SPEC ((CORBA::SystemException));
-
- virtual char * target_most_derived_interface (
- CORBA::Environment &ACE_TRY_ENV = TAO_default_environment ())
- ACE_THROW_SPEC ((CORBA::SystemException));
-
- virtual CORBA::Boolean target_is_a (
- const char * id,
- CORBA::Environment &ACE_TRY_ENV = TAO_default_environment ())
- ACE_THROW_SPEC ((CORBA::SystemException));
-
-
- private:
- TAO_ServerRequestInfo_IR_ValueMemberDef_type_def_get (const TAO_ServerRequestInfo_IR_ValueMemberDef_type_def_get &);
- void operator= (const TAO_ServerRequestInfo_IR_ValueMemberDef_type_def_get &);
-
- private:
- POA_IR::ValueMemberDef *_tao_impl;
- void result (IR::IDLType_ptr result);
- // update the result
- IR_IDLType_ptr _result;
- };
-
- class TAO_ServerRequestInfo_IR_ValueMemberDef_type_def_set : public TAO_ServerRequestInfo
- {
- public:
- friend class POA_IR::ValueMemberDef;
- TAO_ServerRequestInfo_IR_ValueMemberDef_type_def_set (
- TAO_ServerRequest &_tao_server_request,
- POA_IR::ValueMemberDef *tao_impl
- ,
- IR_IDLType_ptr type_def,
- CORBA::Environment &ACE_TRY_ENV =
- TAO_default_environment ()
- );
-
- virtual Dynamic::ParameterList * arguments (
- CORBA::Environment &ACE_TRY_ENV =
- TAO_default_environment ()
- )
- ACE_THROW_SPEC ((CORBA::SystemException));
-
- virtual Dynamic::ExceptionList * exceptions (
- CORBA::Environment &ACE_TRY_ENV =
- TAO_default_environment ()
- )
- ACE_THROW_SPEC ((CORBA::SystemException));
-
- virtual CORBA::Any * result (
- CORBA::Environment &ACE_TRY_ENV =
- TAO_default_environment ()
- )
- ACE_THROW_SPEC ((CORBA::SystemException));
-
- virtual char * target_most_derived_interface (
- CORBA::Environment &ACE_TRY_ENV = TAO_default_environment ())
- ACE_THROW_SPEC ((CORBA::SystemException));
-
- virtual CORBA::Boolean target_is_a (
- const char * id,
- CORBA::Environment &ACE_TRY_ENV = TAO_default_environment ())
- ACE_THROW_SPEC ((CORBA::SystemException));
-
-
- private:
- TAO_ServerRequestInfo_IR_ValueMemberDef_type_def_set (const TAO_ServerRequestInfo_IR_ValueMemberDef_type_def_set &);
- void operator= (const TAO_ServerRequestInfo_IR_ValueMemberDef_type_def_set &);
-
- private:
- POA_IR::ValueMemberDef *_tao_impl;
- IR_IDLType_ptr type_def_;
- };
-
- class TAO_ServerRequestInfo_IR_ValueMemberDef_access_get : public TAO_ServerRequestInfo
- {
- public:
- friend class POA_IR::ValueMemberDef;
- TAO_ServerRequestInfo_IR_ValueMemberDef_access_get (
- TAO_ServerRequest &_tao_server_request,
- POA_IR::ValueMemberDef *tao_impl
- ,
- CORBA::Environment &ACE_TRY_ENV =
- TAO_default_environment ()
- );
-
- virtual Dynamic::ParameterList * arguments (
- CORBA::Environment &ACE_TRY_ENV =
- TAO_default_environment ()
- )
- ACE_THROW_SPEC ((CORBA::SystemException));
-
- virtual Dynamic::ExceptionList * exceptions (
- CORBA::Environment &ACE_TRY_ENV =
- TAO_default_environment ()
- )
- ACE_THROW_SPEC ((CORBA::SystemException));
-
- virtual CORBA::Any * result (
- CORBA::Environment &ACE_TRY_ENV =
- TAO_default_environment ()
- )
- ACE_THROW_SPEC ((CORBA::SystemException));
-
- virtual char * target_most_derived_interface (
- CORBA::Environment &ACE_TRY_ENV = TAO_default_environment ())
- ACE_THROW_SPEC ((CORBA::SystemException));
-
- virtual CORBA::Boolean target_is_a (
- const char * id,
- CORBA::Environment &ACE_TRY_ENV = TAO_default_environment ())
- ACE_THROW_SPEC ((CORBA::SystemException));
-
-
- private:
- TAO_ServerRequestInfo_IR_ValueMemberDef_access_get (const TAO_ServerRequestInfo_IR_ValueMemberDef_access_get &);
- void operator= (const TAO_ServerRequestInfo_IR_ValueMemberDef_access_get &);
-
- private:
- POA_IR::ValueMemberDef *_tao_impl;
- void result (CORBA::Visibility result);
- // update the result
- CORBA::Visibility _result;
- };
-
- class TAO_ServerRequestInfo_IR_ValueMemberDef_access_set : public TAO_ServerRequestInfo
- {
- public:
- friend class POA_IR::ValueMemberDef;
- TAO_ServerRequestInfo_IR_ValueMemberDef_access_set (
- TAO_ServerRequest &_tao_server_request,
- POA_IR::ValueMemberDef *tao_impl
- ,
- const CORBA::Visibility & access,
- CORBA::Environment &ACE_TRY_ENV =
- TAO_default_environment ()
- );
-
- virtual Dynamic::ParameterList * arguments (
- CORBA::Environment &ACE_TRY_ENV =
- TAO_default_environment ()
- )
- ACE_THROW_SPEC ((CORBA::SystemException));
-
- virtual Dynamic::ExceptionList * exceptions (
- CORBA::Environment &ACE_TRY_ENV =
- TAO_default_environment ()
- )
- ACE_THROW_SPEC ((CORBA::SystemException));
-
- virtual CORBA::Any * result (
- CORBA::Environment &ACE_TRY_ENV =
- TAO_default_environment ()
- )
- ACE_THROW_SPEC ((CORBA::SystemException));
-
- virtual char * target_most_derived_interface (
- CORBA::Environment &ACE_TRY_ENV = TAO_default_environment ())
- ACE_THROW_SPEC ((CORBA::SystemException));
-
- virtual CORBA::Boolean target_is_a (
- const char * id,
- CORBA::Environment &ACE_TRY_ENV = TAO_default_environment ())
- ACE_THROW_SPEC ((CORBA::SystemException));
-
-
- private:
- TAO_ServerRequestInfo_IR_ValueMemberDef_access_set (const TAO_ServerRequestInfo_IR_ValueMemberDef_access_set &);
- void operator= (const TAO_ServerRequestInfo_IR_ValueMemberDef_access_set &);
-
- private:
- POA_IR::ValueMemberDef *_tao_impl;
- const CORBA::Visibility & access_;
- };
-
-#endif /* TAO_HAS_INTERCEPTORS */
-
- };
-
-///////////////////////////////////////////////////////////////////////
-// Strategized Proxy Broker Declaration
-//
-
-class _TAO_ValueMemberDef_Strategized_Proxy_Broker : public virtual _TAO_ValueMemberDef_Proxy_Broker
-{
-public:
- _TAO_ValueMemberDef_Strategized_Proxy_Broker (void);
-
- virtual ~_TAO_ValueMemberDef_Strategized_Proxy_Broker (void);
-
- virtual _TAO_ValueMemberDef_Proxy_Impl &select_proxy (
- IR_ValueMemberDef *object,
- CORBA_Environment &ACE_TRY_ENV = TAO_default_environment ()
- );
-
-private:
-
-// Helper methods that takes care to create the proxy
-// as soon as their use is necessary.
- void create_proxy (
- int strategy,
- CORBA::Environment &ACE_TRY_ENV
- );
-
-private:
-
- // Caches the proxy implementations. The proxy implementation
- // are totally stateless, and those can be shared by all the
- // instances of a given IDL interface type.
- _TAO_ValueMemberDef_Proxy_Impl
- *proxy_cache_[TAO_Collocation_Strategies::CS_LAST];
-
- TAO_SYNCH_MUTEX mutex_;
-// This funxtion is used to get an handle to the unique instance
-// of the Strategized Proxy Broker that is available for a given
-// interface.
-
-public:
- static _TAO_ValueMemberDef_Strategized_Proxy_Broker *the_TAO_ValueMemberDef_Strategized_Proxy_Broker (void);
-};
-
-//
-// End Strategized Proxy Broker Declaration
-///////////////////////////////////////////////////////////////////////
-
-
-///////////////////////////////////////////////////////////////////////
-// ThruPOA Impl. Declaration
-//
-
-class _TAO_ValueMemberDef_ThruPOA_Proxy_Impl :
- public virtual _TAO_ValueMemberDef_Proxy_Impl,
- public virtual TAO_ThruPOA_Object_Proxy_Impl,
- public virtual ::POA_IR::_TAO_Contained_ThruPOA_Proxy_Impl
-
-{
-public:
- _TAO_ValueMemberDef_ThruPOA_Proxy_Impl (void);
-
- virtual ~_TAO_ValueMemberDef_ThruPOA_Proxy_Impl (void) { }
-
- virtual CORBA::TypeCode_ptr type (
- CORBA_Object *_collocated_tao_target_,
- CORBA::Environment &ACE_TRY_ENV
- )
- ACE_THROW_SPEC ((
- CORBA::SystemException
- ));
-
- virtual IR_IDLType_ptr type_def (
- CORBA_Object *_collocated_tao_target_,
- CORBA::Environment &ACE_TRY_ENV
- )
- ACE_THROW_SPEC ((
- CORBA::SystemException
- ));
-
- virtual void type_def (
- CORBA_Object *_collocated_tao_target_,
- IR_IDLType_ptr type_def,
- CORBA::Environment &ACE_TRY_ENV
- )
- ACE_THROW_SPEC ((
- CORBA::SystemException
- ));
-
- virtual CORBA::Visibility access (
- CORBA_Object *_collocated_tao_target_,
- CORBA::Environment &ACE_TRY_ENV
- )
- ACE_THROW_SPEC ((
- CORBA::SystemException
- ));
-
- virtual void access (
- CORBA_Object *_collocated_tao_target_,
- CORBA::Visibility access,
- CORBA::Environment &ACE_TRY_ENV
- )
- ACE_THROW_SPEC ((
- CORBA::SystemException
- ));
-
-};
-
-
-//
-// ThruPOA Proxy Impl. Declaration
-///////////////////////////////////////////////////////////////////////
-
-#if defined (ACE_HAS_USING_KEYWORD)
- // TIE class: Refer to CORBA v2.2, Section 20.34.4
- template <class T>
- class ValueMemberDef_tie : public ValueMemberDef
- {
- public:
- ValueMemberDef_tie (T &t);
- // the T& ctor
- ValueMemberDef_tie (T &t, PortableServer::POA_ptr poa);
- // ctor taking a POA
- ValueMemberDef_tie (T *tp, CORBA::Boolean release=1);
- // ctor taking pointer and an ownership flag
- ValueMemberDef_tie (T *tp, PortableServer::POA_ptr poa, CORBA::Boolean release=1);
- // ctor with T*, ownership flag and a POA
- ~ValueMemberDef_tie (void);
- // dtor
-
- // TIE specific functions
- T *_tied_object (void);
- // return the underlying object
- void _tied_object (T &obj);
- // set the underlying object
- void _tied_object (T *obj, CORBA::Boolean release=1);
- // set the underlying object and the ownership flag
- CORBA::Boolean _is_owner (void);
- // do we own it
- void _is_owner (CORBA::Boolean b);
- // set the ownership
-
- // overridden ServantBase operations
- PortableServer::POA_ptr _default_POA (
- CORBA::Environment &env =
- TAO_default_environment ()
- );
- CORBA::TypeCode_ptr type (
- CORBA::Environment &ACE_TRY_ENV =
- TAO_default_environment ()
- )
- ACE_THROW_SPEC ((
- CORBA::SystemException
- ));
-
- IR_IDLType_ptr type_def (
- CORBA::Environment &ACE_TRY_ENV =
- TAO_default_environment ()
- )
- ACE_THROW_SPEC ((
- CORBA::SystemException
- ));
-
- void type_def (
- IR_IDLType_ptr type_def,
- CORBA::Environment &ACE_TRY_ENV =
- TAO_default_environment ()
- )
- ACE_THROW_SPEC ((
- CORBA::SystemException
- ));
-
- CORBA::Visibility access (
- CORBA::Environment &ACE_TRY_ENV =
- TAO_default_environment ()
- )
- ACE_THROW_SPEC ((
- CORBA::SystemException
- ));
-
- void access (
- CORBA::Visibility access,
- CORBA::Environment &ACE_TRY_ENV =
- TAO_default_environment ()
- )
- ACE_THROW_SPEC ((
- CORBA::SystemException
- ));
-
- char * id (
- CORBA::Environment &ACE_TRY_ENV =
- TAO_default_environment ()
- )
- ACE_THROW_SPEC ((
- CORBA::SystemException
- ));
-
- void id (
- const char * id,
- CORBA::Environment &ACE_TRY_ENV =
- TAO_default_environment ()
- )
- ACE_THROW_SPEC ((
- CORBA::SystemException
- ));
-
- char * name (
- CORBA::Environment &ACE_TRY_ENV =
- TAO_default_environment ()
- )
- ACE_THROW_SPEC ((
- CORBA::SystemException
- ));
-
- void name (
- const char * name,
- CORBA::Environment &ACE_TRY_ENV =
- TAO_default_environment ()
- )
- ACE_THROW_SPEC ((
- CORBA::SystemException
- ));
-
- char * version (
- CORBA::Environment &ACE_TRY_ENV =
- TAO_default_environment ()
- )
- ACE_THROW_SPEC ((
- CORBA::SystemException
- ));
-
- void version (
- const char * version,
- CORBA::Environment &ACE_TRY_ENV =
- TAO_default_environment ()
- )
- ACE_THROW_SPEC ((
- CORBA::SystemException
- ));
-
- IR_Container_ptr defined_in (
- CORBA::Environment &ACE_TRY_ENV =
- TAO_default_environment ()
- )
- ACE_THROW_SPEC ((
- CORBA::SystemException
- ));
-
- char * absolute_name (
- CORBA::Environment &ACE_TRY_ENV =
- TAO_default_environment ()
- )
- ACE_THROW_SPEC ((
- CORBA::SystemException
- ));
-
- IR_Repository_ptr containing_repository (
- CORBA::Environment &ACE_TRY_ENV =
- TAO_default_environment ()
- )
- ACE_THROW_SPEC ((
- CORBA::SystemException
- ));
-
- IR_Contained::Description * describe (
- CORBA::Environment &ACE_TRY_ENV =
- TAO_default_environment ()
- )
- ACE_THROW_SPEC ((
- CORBA::SystemException
- ));
-
- void move (
- IR_Container_ptr new_container,
- const char * new_name,
- const char * new_version,
- CORBA::Environment &ACE_TRY_ENV =
- TAO_default_environment ()
- )
- ACE_THROW_SPEC ((
- CORBA::SystemException
- ));
-
- IR_DefinitionKind def_kind (
- CORBA::Environment &ACE_TRY_ENV =
- TAO_default_environment ()
- )
- ACE_THROW_SPEC ((
- CORBA::SystemException
- ));
-
- void destroy (
- CORBA::Environment &ACE_TRY_ENV =
- TAO_default_environment ()
- )
- ACE_THROW_SPEC ((
- CORBA::SystemException
- ));
-
-private:
- T *ptr_;
- PortableServer::POA_var poa_;
- CORBA::Boolean rel_;
-
- // copy and assignment are not allowed
- ValueMemberDef_tie (const ValueMemberDef_tie &);
- void operator= (const ValueMemberDef_tie &);
- };
-
-#endif /* ACE_HAS_USING_KEYWORD */
-
- class ValueDef;
- typedef ValueDef *ValueDef_ptr;
- // Forward Classes Declaration
- class _TAO_ValueDef_ThruPOA_Proxy_Impl;
- class _TAO_ValueDef_Strategized_Proxy_Broker;
-
- class ValueDef : public virtual Container, public virtual Contained, public virtual IDLType
- {
- protected:
- ValueDef (void);
-
- public:
- ValueDef (const ValueDef& rhs);
- virtual ~ValueDef (void);
-
-
- virtual CORBA::Boolean _is_a (
- const char* logical_type_id,
- CORBA::Environment &ACE_TRY_ENV =
- TAO_default_environment ()
- );
-
- virtual void* _downcast (
- const char* logical_type_id
- );
-
- static void _is_a_skel (
- TAO_ServerRequest &req,
- void *obj,
- void *context,
- CORBA::Environment &ACE_TRY_ENV =
- TAO_default_environment ()
- );
-
- static void _non_existent_skel (
- TAO_ServerRequest &req,
- void *obj,
- void *context,
- CORBA::Environment &ACE_TRY_ENV =
- TAO_default_environment ()
- );
-
- virtual void _dispatch (
- TAO_ServerRequest &_tao_req,
- void *_tao_context,
- CORBA::Environment &ACE_TRY_ENV =
- TAO_default_environment ()
- );
-
- IR_ValueDef *_this (
- CORBA::Environment &ACE_TRY_ENV =
- TAO_default_environment ()
- );
-
- virtual const char* _interface_repository_id (void) const;
-
- virtual IR_InterfaceDefSeq * supported_interfaces (
- CORBA::Environment &ACE_TRY_ENV =
- TAO_default_environment ()
- )
- ACE_THROW_SPEC ((
- CORBA::SystemException
- )) = 0;
-
- static void _get_supported_interfaces_skel (
- TAO_ServerRequest &_tao_req,
- void *_tao_obj,
- void *_tao_context,
- CORBA::Environment &ACE_TRY_ENV =
- TAO_default_environment ()
- );
-
- virtual void supported_interfaces (
- const IR_InterfaceDefSeq & supported_interfaces,
- CORBA::Environment &ACE_TRY_ENV =
- TAO_default_environment ()
- )
- ACE_THROW_SPEC ((
- CORBA::SystemException
- )) = 0;
-
- static void _set_supported_interfaces_skel (
- TAO_ServerRequest &_tao_req,
- void *_tao_obj,
- void *_tao_context,
- CORBA::Environment &ACE_TRY_ENV =
- TAO_default_environment ()
- );
-
- virtual IR_InitializerSeq * initializers (
- CORBA::Environment &ACE_TRY_ENV =
- TAO_default_environment ()
- )
- ACE_THROW_SPEC ((
- CORBA::SystemException
- )) = 0;
-
- static void _get_initializers_skel (
- TAO_ServerRequest &_tao_req,
- void *_tao_obj,
- void *_tao_context,
- CORBA::Environment &ACE_TRY_ENV =
- TAO_default_environment ()
- );
-
- virtual void initializers (
- const IR_InitializerSeq & initializers,
- CORBA::Environment &ACE_TRY_ENV =
- TAO_default_environment ()
- )
- ACE_THROW_SPEC ((
- CORBA::SystemException
- )) = 0;
-
- static void _set_initializers_skel (
- TAO_ServerRequest &_tao_req,
- void *_tao_obj,
- void *_tao_context,
- CORBA::Environment &ACE_TRY_ENV =
- TAO_default_environment ()
- );
-
- virtual IR_ValueDef_ptr base_value (
- CORBA::Environment &ACE_TRY_ENV =
- TAO_default_environment ()
- )
- ACE_THROW_SPEC ((
- CORBA::SystemException
- )) = 0;
-
- static void _get_base_value_skel (
- TAO_ServerRequest &_tao_req,
- void *_tao_obj,
- void *_tao_context,
- CORBA::Environment &ACE_TRY_ENV =
- TAO_default_environment ()
- );
-
- virtual void base_value (
- IR_ValueDef_ptr base_value,
- CORBA::Environment &ACE_TRY_ENV =
- TAO_default_environment ()
- )
- ACE_THROW_SPEC ((
- CORBA::SystemException
- )) = 0;
-
- static void _set_base_value_skel (
- TAO_ServerRequest &_tao_req,
- void *_tao_obj,
- void *_tao_context,
- CORBA::Environment &ACE_TRY_ENV =
- TAO_default_environment ()
- );
-
- virtual IR_ValueDefSeq * abstract_base_values (
- CORBA::Environment &ACE_TRY_ENV =
- TAO_default_environment ()
- )
- ACE_THROW_SPEC ((
- CORBA::SystemException
- )) = 0;
-
- static void _get_abstract_base_values_skel (
- TAO_ServerRequest &_tao_req,
- void *_tao_obj,
- void *_tao_context,
- CORBA::Environment &ACE_TRY_ENV =
- TAO_default_environment ()
- );
-
- virtual void abstract_base_values (
- const IR_ValueDefSeq & abstract_base_values,
- CORBA::Environment &ACE_TRY_ENV =
- TAO_default_environment ()
- )
- ACE_THROW_SPEC ((
- CORBA::SystemException
- )) = 0;
-
- static void _set_abstract_base_values_skel (
- TAO_ServerRequest &_tao_req,
- void *_tao_obj,
- void *_tao_context,
- CORBA::Environment &ACE_TRY_ENV =
- TAO_default_environment ()
- );
-
- virtual CORBA::Boolean is_abstract (
- CORBA::Environment &ACE_TRY_ENV =
- TAO_default_environment ()
- )
- ACE_THROW_SPEC ((
- CORBA::SystemException
- )) = 0;
-
- static void _get_is_abstract_skel (
- TAO_ServerRequest &_tao_req,
- void *_tao_obj,
- void *_tao_context,
- CORBA::Environment &ACE_TRY_ENV =
- TAO_default_environment ()
- );
-
- virtual void is_abstract (
- CORBA::Boolean is_abstract,
- CORBA::Environment &ACE_TRY_ENV =
- TAO_default_environment ()
- )
- ACE_THROW_SPEC ((
- CORBA::SystemException
- )) = 0;
-
- static void _set_is_abstract_skel (
- TAO_ServerRequest &_tao_req,
- void *_tao_obj,
- void *_tao_context,
- CORBA::Environment &ACE_TRY_ENV =
- TAO_default_environment ()
- );
-
- virtual CORBA::Boolean is_custom (
- CORBA::Environment &ACE_TRY_ENV =
- TAO_default_environment ()
- )
- ACE_THROW_SPEC ((
- CORBA::SystemException
- )) = 0;
-
- static void _get_is_custom_skel (
- TAO_ServerRequest &_tao_req,
- void *_tao_obj,
- void *_tao_context,
- CORBA::Environment &ACE_TRY_ENV =
- TAO_default_environment ()
- );
-
- virtual void is_custom (
- CORBA::Boolean is_custom,
- CORBA::Environment &ACE_TRY_ENV =
- TAO_default_environment ()
- )
- ACE_THROW_SPEC ((
- CORBA::SystemException
- )) = 0;
-
- static void _set_is_custom_skel (
- TAO_ServerRequest &_tao_req,
- void *_tao_obj,
- void *_tao_context,
- CORBA::Environment &ACE_TRY_ENV =
- TAO_default_environment ()
- );
-
- virtual CORBA::Boolean is_truncatable (
- CORBA::Environment &ACE_TRY_ENV =
- TAO_default_environment ()
- )
- ACE_THROW_SPEC ((
- CORBA::SystemException
- )) = 0;
-
- static void _get_is_truncatable_skel (
- TAO_ServerRequest &_tao_req,
- void *_tao_obj,
- void *_tao_context,
- CORBA::Environment &ACE_TRY_ENV =
- TAO_default_environment ()
- );
-
- virtual void is_truncatable (
- CORBA::Boolean is_truncatable,
- CORBA::Environment &ACE_TRY_ENV =
- TAO_default_environment ()
- )
- ACE_THROW_SPEC ((
- CORBA::SystemException
- )) = 0;
-
- static void _set_is_truncatable_skel (
- TAO_ServerRequest &_tao_req,
- void *_tao_obj,
- void *_tao_context,
- CORBA::Environment &ACE_TRY_ENV =
- TAO_default_environment ()
- );
-
- virtual CORBA::Boolean is_a (
- const char * id,
- CORBA::Environment &ACE_TRY_ENV =
- TAO_default_environment ()
- )
- ACE_THROW_SPEC ((
- CORBA::SystemException
- )) = 0;
-
- static void is_a_skel (
- TAO_ServerRequest &_tao_req,
- void *_tao_obj,
- void *_tao_context,
- CORBA::Environment &ACE_TRY_ENV =
- TAO_default_environment ()
- );
-
- virtual IR_ValueMemberDef_ptr create_value_member (
- const char * id,
- const char * name,
- const char * version,
- IR_IDLType_ptr type,
- CORBA::Visibility access,
- CORBA::Environment &ACE_TRY_ENV =
- TAO_default_environment ()
- )
- ACE_THROW_SPEC ((
- CORBA::SystemException
- )) = 0;
-
- static void create_value_member_skel (
- TAO_ServerRequest &_tao_req,
- void *_tao_obj,
- void *_tao_context,
- CORBA::Environment &ACE_TRY_ENV =
- TAO_default_environment ()
- );
-
- virtual IR_AttributeDef_ptr create_attribute (
- const char * id,
- const char * name,
- const char * version,
- IR_IDLType_ptr type,
- IR_AttributeMode mode,
- const IR_ExceptionDefSeq & get_exceptions,
- const IR_ExceptionDefSeq & put_exceptions,
- CORBA::Environment &ACE_TRY_ENV =
- TAO_default_environment ()
- )
- ACE_THROW_SPEC ((
- CORBA::SystemException
- )) = 0;
-
- static void create_attribute_skel (
- TAO_ServerRequest &_tao_req,
- void *_tao_obj,
- void *_tao_context,
- CORBA::Environment &ACE_TRY_ENV =
- TAO_default_environment ()
- );
-
- virtual IR_OperationDef_ptr create_operation (
- const char * id,
- const char * name,
- const char * version,
- IR_IDLType_ptr result,
- IR_OperationMode mode,
- const IR_ParDescriptionSeq & params,
- const IR_ExceptionDefSeq & exceptions,
- const IR_ContextIdSeq & contexts,
- CORBA::Environment &ACE_TRY_ENV =
- TAO_default_environment ()
- )
- ACE_THROW_SPEC ((
- CORBA::SystemException
- )) = 0;
-
- static void create_operation_skel (
- TAO_ServerRequest &_tao_req,
- void *_tao_obj,
- void *_tao_context,
- CORBA::Environment &ACE_TRY_ENV =
- TAO_default_environment ()
- );
-
- static void lookup_skel (
- TAO_ServerRequest &req,
- void *obj,
- void *context,
- CORBA::Environment &env =
- TAO_default_environment ()
- );
-
- static void contents_skel (
- TAO_ServerRequest &req,
- void *obj,
- void *context,
- CORBA::Environment &env =
- TAO_default_environment ()
- );
-
- static void lookup_name_skel (
- TAO_ServerRequest &req,
- void *obj,
- void *context,
- CORBA::Environment &env =
- TAO_default_environment ()
- );
-
- static void describe_contents_skel (
- TAO_ServerRequest &req,
- void *obj,
- void *context,
- CORBA::Environment &env =
- TAO_default_environment ()
- );
-
- static void create_module_skel (
- TAO_ServerRequest &req,
- void *obj,
- void *context,
- CORBA::Environment &env =
- TAO_default_environment ()
- );
-
- static void create_constant_skel (
- TAO_ServerRequest &req,
- void *obj,
- void *context,
- CORBA::Environment &env =
- TAO_default_environment ()
- );
-
- static void create_struct_skel (
- TAO_ServerRequest &req,
- void *obj,
- void *context,
- CORBA::Environment &env =
- TAO_default_environment ()
- );
-
- static void create_union_skel (
- TAO_ServerRequest &req,
- void *obj,
- void *context,
- CORBA::Environment &env =
- TAO_default_environment ()
- );
-
- static void create_enum_skel (
- TAO_ServerRequest &req,
- void *obj,
- void *context,
- CORBA::Environment &env =
- TAO_default_environment ()
- );
-
- static void create_alias_skel (
- TAO_ServerRequest &req,
- void *obj,
- void *context,
- CORBA::Environment &env =
- TAO_default_environment ()
- );
-
- static void create_interface_skel (
- TAO_ServerRequest &req,
- void *obj,
- void *context,
- CORBA::Environment &env =
- TAO_default_environment ()
- );
-
- static void create_value_skel (
- TAO_ServerRequest &req,
- void *obj,
- void *context,
- CORBA::Environment &env =
- TAO_default_environment ()
- );
-
- static void create_value_box_skel (
- TAO_ServerRequest &req,
- void *obj,
- void *context,
- CORBA::Environment &env =
- TAO_default_environment ()
- );
-
- static void create_exception_skel (
- TAO_ServerRequest &req,
- void *obj,
- void *context,
- CORBA::Environment &env =
- TAO_default_environment ()
- );
-
- static void create_native_skel (
- TAO_ServerRequest &req,
- void *obj,
- void *context,
- CORBA::Environment &env =
- TAO_default_environment ()
- );
-
- static void _get_id_skel (
- TAO_ServerRequest &req,
- void *obj,
- void *context,
- CORBA::Environment &env =
- TAO_default_environment ()
- );
-
- static void _set_id_skel (
- TAO_ServerRequest &req,
- void *obj,
- void *context,
- CORBA::Environment &env =
- TAO_default_environment ()
- );
-
- static void _get_name_skel (
- TAO_ServerRequest &req,
- void *obj,
- void *context,
- CORBA::Environment &env =
- TAO_default_environment ()
- );
-
- static void _set_name_skel (
- TAO_ServerRequest &req,
- void *obj,
- void *context,
- CORBA::Environment &env =
- TAO_default_environment ()
- );
-
- static void _get_version_skel (
- TAO_ServerRequest &req,
- void *obj,
- void *context,
- CORBA::Environment &env =
- TAO_default_environment ()
- );
-
- static void _set_version_skel (
- TAO_ServerRequest &req,
- void *obj,
- void *context,
- CORBA::Environment &env =
- TAO_default_environment ()
- );
-
- static void _get_defined_in_skel (
- TAO_ServerRequest &req,
- void *obj,
- void *context,
- CORBA::Environment &env =
- TAO_default_environment ()
- );
-
- static void _get_absolute_name_skel (
- TAO_ServerRequest &req,
- void *obj,
- void *context,
- CORBA::Environment &env =
- TAO_default_environment ()
- );
-
- static void _get_containing_repository_skel (
- TAO_ServerRequest &req,
- void *obj,
- void *context,
- CORBA::Environment &env =
- TAO_default_environment ()
- );
-
- static void describe_skel (
- TAO_ServerRequest &req,
- void *obj,
- void *context,
- CORBA::Environment &env =
- TAO_default_environment ()
- );
-
- static void move_skel (
- TAO_ServerRequest &req,
- void *obj,
- void *context,
- CORBA::Environment &env =
- TAO_default_environment ()
- );
-
- static void _get_type_skel (
- TAO_ServerRequest &req,
- void *obj,
- void *context,
- CORBA::Environment &env =
- TAO_default_environment ()
- );
-
- static void _get_def_kind_skel (
- TAO_ServerRequest &req,
- void *obj,
- void *context,
- CORBA::Environment &env =
- TAO_default_environment ()
- );
-
- static void destroy_skel (
- TAO_ServerRequest &req,
- void *obj,
- void *context,
- CORBA::Environment &env =
- TAO_default_environment ()
- );
-
-#if (TAO_HAS_INTERCEPTORS == 1)
- // Generation of interceptors related RequestInfo classes per operation.
- // This needed to be able to store the arguments, exceptions, contexts
- // and build the lists dynamically on demand so that unnecessary time overhead
- // of building these lists when they arent used is avoided.
- class TAO_ServerRequestInfo_IR_ValueDef_supported_interfaces_get : public TAO_ServerRequestInfo
- {
- public:
- friend class POA_IR::ValueDef;
- TAO_ServerRequestInfo_IR_ValueDef_supported_interfaces_get (
- TAO_ServerRequest &_tao_server_request,
- POA_IR::ValueDef *tao_impl
- ,
- CORBA::Environment &ACE_TRY_ENV =
- TAO_default_environment ()
- );
-
- virtual Dynamic::ParameterList * arguments (
- CORBA::Environment &ACE_TRY_ENV =
- TAO_default_environment ()
- )
- ACE_THROW_SPEC ((CORBA::SystemException));
-
- virtual Dynamic::ExceptionList * exceptions (
- CORBA::Environment &ACE_TRY_ENV =
- TAO_default_environment ()
- )
- ACE_THROW_SPEC ((CORBA::SystemException));
-
- virtual CORBA::Any * result (
- CORBA::Environment &ACE_TRY_ENV =
- TAO_default_environment ()
- )
- ACE_THROW_SPEC ((CORBA::SystemException));
-
- virtual char * target_most_derived_interface (
- CORBA::Environment &ACE_TRY_ENV = TAO_default_environment ())
- ACE_THROW_SPEC ((CORBA::SystemException));
-
- virtual CORBA::Boolean target_is_a (
- const char * id,
- CORBA::Environment &ACE_TRY_ENV = TAO_default_environment ())
- ACE_THROW_SPEC ((CORBA::SystemException));
-
-
- private:
- TAO_ServerRequestInfo_IR_ValueDef_supported_interfaces_get (const TAO_ServerRequestInfo_IR_ValueDef_supported_interfaces_get &);
- void operator= (const TAO_ServerRequestInfo_IR_ValueDef_supported_interfaces_get &);
-
- private:
- POA_IR::ValueDef *_tao_impl;
- void result (IR::InterfaceDefSeq * result);
- // update the result
- IR_InterfaceDefSeq * _result;
- };
-
- class TAO_ServerRequestInfo_IR_ValueDef_supported_interfaces_set : public TAO_ServerRequestInfo
- {
- public:
- friend class POA_IR::ValueDef;
- TAO_ServerRequestInfo_IR_ValueDef_supported_interfaces_set (
- TAO_ServerRequest &_tao_server_request,
- POA_IR::ValueDef *tao_impl
- ,
- const IR_InterfaceDefSeq & supported_interfaces,
- CORBA::Environment &ACE_TRY_ENV =
- TAO_default_environment ()
- );
-
- virtual Dynamic::ParameterList * arguments (
- CORBA::Environment &ACE_TRY_ENV =
- TAO_default_environment ()
- )
- ACE_THROW_SPEC ((CORBA::SystemException));
-
- virtual Dynamic::ExceptionList * exceptions (
- CORBA::Environment &ACE_TRY_ENV =
- TAO_default_environment ()
- )
- ACE_THROW_SPEC ((CORBA::SystemException));
-
- virtual CORBA::Any * result (
- CORBA::Environment &ACE_TRY_ENV =
- TAO_default_environment ()
- )
- ACE_THROW_SPEC ((CORBA::SystemException));
-
- virtual char * target_most_derived_interface (
- CORBA::Environment &ACE_TRY_ENV = TAO_default_environment ())
- ACE_THROW_SPEC ((CORBA::SystemException));
-
- virtual CORBA::Boolean target_is_a (
- const char * id,
- CORBA::Environment &ACE_TRY_ENV = TAO_default_environment ())
- ACE_THROW_SPEC ((CORBA::SystemException));
-
-
- private:
- TAO_ServerRequestInfo_IR_ValueDef_supported_interfaces_set (const TAO_ServerRequestInfo_IR_ValueDef_supported_interfaces_set &);
- void operator= (const TAO_ServerRequestInfo_IR_ValueDef_supported_interfaces_set &);
-
- private:
- POA_IR::ValueDef *_tao_impl;
- const IR_InterfaceDefSeq & supported_interfaces_;
- };
-
- class TAO_ServerRequestInfo_IR_ValueDef_initializers_get : public TAO_ServerRequestInfo
- {
- public:
- friend class POA_IR::ValueDef;
- TAO_ServerRequestInfo_IR_ValueDef_initializers_get (
- TAO_ServerRequest &_tao_server_request,
- POA_IR::ValueDef *tao_impl
- ,
- CORBA::Environment &ACE_TRY_ENV =
- TAO_default_environment ()
- );
-
- virtual Dynamic::ParameterList * arguments (
- CORBA::Environment &ACE_TRY_ENV =
- TAO_default_environment ()
- )
- ACE_THROW_SPEC ((CORBA::SystemException));
-
- virtual Dynamic::ExceptionList * exceptions (
- CORBA::Environment &ACE_TRY_ENV =
- TAO_default_environment ()
- )
- ACE_THROW_SPEC ((CORBA::SystemException));
-
- virtual CORBA::Any * result (
- CORBA::Environment &ACE_TRY_ENV =
- TAO_default_environment ()
- )
- ACE_THROW_SPEC ((CORBA::SystemException));
-
- virtual char * target_most_derived_interface (
- CORBA::Environment &ACE_TRY_ENV = TAO_default_environment ())
- ACE_THROW_SPEC ((CORBA::SystemException));
-
- virtual CORBA::Boolean target_is_a (
- const char * id,
- CORBA::Environment &ACE_TRY_ENV = TAO_default_environment ())
- ACE_THROW_SPEC ((CORBA::SystemException));
-
-
- private:
- TAO_ServerRequestInfo_IR_ValueDef_initializers_get (const TAO_ServerRequestInfo_IR_ValueDef_initializers_get &);
- void operator= (const TAO_ServerRequestInfo_IR_ValueDef_initializers_get &);
-
- private:
- POA_IR::ValueDef *_tao_impl;
- void result (IR::InitializerSeq * result);
- // update the result
- IR_InitializerSeq * _result;
- };
-
- class TAO_ServerRequestInfo_IR_ValueDef_initializers_set : public TAO_ServerRequestInfo
- {
- public:
- friend class POA_IR::ValueDef;
- TAO_ServerRequestInfo_IR_ValueDef_initializers_set (
- TAO_ServerRequest &_tao_server_request,
- POA_IR::ValueDef *tao_impl
- ,
- const IR_InitializerSeq & initializers,
- CORBA::Environment &ACE_TRY_ENV =
- TAO_default_environment ()
- );
-
- virtual Dynamic::ParameterList * arguments (
- CORBA::Environment &ACE_TRY_ENV =
- TAO_default_environment ()
- )
- ACE_THROW_SPEC ((CORBA::SystemException));
-
- virtual Dynamic::ExceptionList * exceptions (
- CORBA::Environment &ACE_TRY_ENV =
- TAO_default_environment ()
- )
- ACE_THROW_SPEC ((CORBA::SystemException));
-
- virtual CORBA::Any * result (
- CORBA::Environment &ACE_TRY_ENV =
- TAO_default_environment ()
- )
- ACE_THROW_SPEC ((CORBA::SystemException));
-
- virtual char * target_most_derived_interface (
- CORBA::Environment &ACE_TRY_ENV = TAO_default_environment ())
- ACE_THROW_SPEC ((CORBA::SystemException));
-
- virtual CORBA::Boolean target_is_a (
- const char * id,
- CORBA::Environment &ACE_TRY_ENV = TAO_default_environment ())
- ACE_THROW_SPEC ((CORBA::SystemException));
-
-
- private:
- TAO_ServerRequestInfo_IR_ValueDef_initializers_set (const TAO_ServerRequestInfo_IR_ValueDef_initializers_set &);
- void operator= (const TAO_ServerRequestInfo_IR_ValueDef_initializers_set &);
-
- private:
- POA_IR::ValueDef *_tao_impl;
- const IR_InitializerSeq & initializers_;
- };
-
- class TAO_ServerRequestInfo_IR_ValueDef_base_value_get : public TAO_ServerRequestInfo
- {
- public:
- friend class POA_IR::ValueDef;
- TAO_ServerRequestInfo_IR_ValueDef_base_value_get (
- TAO_ServerRequest &_tao_server_request,
- POA_IR::ValueDef *tao_impl
- ,
- CORBA::Environment &ACE_TRY_ENV =
- TAO_default_environment ()
- );
-
- virtual Dynamic::ParameterList * arguments (
- CORBA::Environment &ACE_TRY_ENV =
- TAO_default_environment ()
- )
- ACE_THROW_SPEC ((CORBA::SystemException));
-
- virtual Dynamic::ExceptionList * exceptions (
- CORBA::Environment &ACE_TRY_ENV =
- TAO_default_environment ()
- )
- ACE_THROW_SPEC ((CORBA::SystemException));
-
- virtual CORBA::Any * result (
- CORBA::Environment &ACE_TRY_ENV =
- TAO_default_environment ()
- )
- ACE_THROW_SPEC ((CORBA::SystemException));
-
- virtual char * target_most_derived_interface (
- CORBA::Environment &ACE_TRY_ENV = TAO_default_environment ())
- ACE_THROW_SPEC ((CORBA::SystemException));
-
- virtual CORBA::Boolean target_is_a (
- const char * id,
- CORBA::Environment &ACE_TRY_ENV = TAO_default_environment ())
- ACE_THROW_SPEC ((CORBA::SystemException));
-
-
- private:
- TAO_ServerRequestInfo_IR_ValueDef_base_value_get (const TAO_ServerRequestInfo_IR_ValueDef_base_value_get &);
- void operator= (const TAO_ServerRequestInfo_IR_ValueDef_base_value_get &);
-
- private:
- POA_IR::ValueDef *_tao_impl;
- void result (IR::ValueDef_ptr result);
- // update the result
- IR_ValueDef_ptr _result;
- };
-
- class TAO_ServerRequestInfo_IR_ValueDef_base_value_set : public TAO_ServerRequestInfo
- {
- public:
- friend class POA_IR::ValueDef;
- TAO_ServerRequestInfo_IR_ValueDef_base_value_set (
- TAO_ServerRequest &_tao_server_request,
- POA_IR::ValueDef *tao_impl
- ,
- IR_ValueDef_ptr base_value,
- CORBA::Environment &ACE_TRY_ENV =
- TAO_default_environment ()
- );
-
- virtual Dynamic::ParameterList * arguments (
- CORBA::Environment &ACE_TRY_ENV =
- TAO_default_environment ()
- )
- ACE_THROW_SPEC ((CORBA::SystemException));
-
- virtual Dynamic::ExceptionList * exceptions (
- CORBA::Environment &ACE_TRY_ENV =
- TAO_default_environment ()
- )
- ACE_THROW_SPEC ((CORBA::SystemException));
-
- virtual CORBA::Any * result (
- CORBA::Environment &ACE_TRY_ENV =
- TAO_default_environment ()
- )
- ACE_THROW_SPEC ((CORBA::SystemException));
-
- virtual char * target_most_derived_interface (
- CORBA::Environment &ACE_TRY_ENV = TAO_default_environment ())
- ACE_THROW_SPEC ((CORBA::SystemException));
-
- virtual CORBA::Boolean target_is_a (
- const char * id,
- CORBA::Environment &ACE_TRY_ENV = TAO_default_environment ())
- ACE_THROW_SPEC ((CORBA::SystemException));
-
-
- private:
- TAO_ServerRequestInfo_IR_ValueDef_base_value_set (const TAO_ServerRequestInfo_IR_ValueDef_base_value_set &);
- void operator= (const TAO_ServerRequestInfo_IR_ValueDef_base_value_set &);
-
- private:
- POA_IR::ValueDef *_tao_impl;
- IR_ValueDef_ptr base_value_;
- };
-
- class TAO_ServerRequestInfo_IR_ValueDef_abstract_base_values_get : public TAO_ServerRequestInfo
- {
- public:
- friend class POA_IR::ValueDef;
- TAO_ServerRequestInfo_IR_ValueDef_abstract_base_values_get (
- TAO_ServerRequest &_tao_server_request,
- POA_IR::ValueDef *tao_impl
- ,
- CORBA::Environment &ACE_TRY_ENV =
- TAO_default_environment ()
- );
-
- virtual Dynamic::ParameterList * arguments (
- CORBA::Environment &ACE_TRY_ENV =
- TAO_default_environment ()
- )
- ACE_THROW_SPEC ((CORBA::SystemException));
-
- virtual Dynamic::ExceptionList * exceptions (
- CORBA::Environment &ACE_TRY_ENV =
- TAO_default_environment ()
- )
- ACE_THROW_SPEC ((CORBA::SystemException));
-
- virtual CORBA::Any * result (
- CORBA::Environment &ACE_TRY_ENV =
- TAO_default_environment ()
- )
- ACE_THROW_SPEC ((CORBA::SystemException));
-
- virtual char * target_most_derived_interface (
- CORBA::Environment &ACE_TRY_ENV = TAO_default_environment ())
- ACE_THROW_SPEC ((CORBA::SystemException));
-
- virtual CORBA::Boolean target_is_a (
- const char * id,
- CORBA::Environment &ACE_TRY_ENV = TAO_default_environment ())
- ACE_THROW_SPEC ((CORBA::SystemException));
-
-
- private:
- TAO_ServerRequestInfo_IR_ValueDef_abstract_base_values_get (const TAO_ServerRequestInfo_IR_ValueDef_abstract_base_values_get &);
- void operator= (const TAO_ServerRequestInfo_IR_ValueDef_abstract_base_values_get &);
-
- private:
- POA_IR::ValueDef *_tao_impl;
- void result (IR::ValueDefSeq * result);
- // update the result
- IR_ValueDefSeq * _result;
- };
-
- class TAO_ServerRequestInfo_IR_ValueDef_abstract_base_values_set : public TAO_ServerRequestInfo
- {
- public:
- friend class POA_IR::ValueDef;
- TAO_ServerRequestInfo_IR_ValueDef_abstract_base_values_set (
- TAO_ServerRequest &_tao_server_request,
- POA_IR::ValueDef *tao_impl
- ,
- const IR_ValueDefSeq & abstract_base_values,
- CORBA::Environment &ACE_TRY_ENV =
- TAO_default_environment ()
- );
-
- virtual Dynamic::ParameterList * arguments (
- CORBA::Environment &ACE_TRY_ENV =
- TAO_default_environment ()
- )
- ACE_THROW_SPEC ((CORBA::SystemException));
-
- virtual Dynamic::ExceptionList * exceptions (
- CORBA::Environment &ACE_TRY_ENV =
- TAO_default_environment ()
- )
- ACE_THROW_SPEC ((CORBA::SystemException));
-
- virtual CORBA::Any * result (
- CORBA::Environment &ACE_TRY_ENV =
- TAO_default_environment ()
- )
- ACE_THROW_SPEC ((CORBA::SystemException));
-
- virtual char * target_most_derived_interface (
- CORBA::Environment &ACE_TRY_ENV = TAO_default_environment ())
- ACE_THROW_SPEC ((CORBA::SystemException));
-
- virtual CORBA::Boolean target_is_a (
- const char * id,
- CORBA::Environment &ACE_TRY_ENV = TAO_default_environment ())
- ACE_THROW_SPEC ((CORBA::SystemException));
-
-
- private:
- TAO_ServerRequestInfo_IR_ValueDef_abstract_base_values_set (const TAO_ServerRequestInfo_IR_ValueDef_abstract_base_values_set &);
- void operator= (const TAO_ServerRequestInfo_IR_ValueDef_abstract_base_values_set &);
-
- private:
- POA_IR::ValueDef *_tao_impl;
- const IR_ValueDefSeq & abstract_base_values_;
- };
-
- class TAO_ServerRequestInfo_IR_ValueDef_is_abstract_get : public TAO_ServerRequestInfo
- {
- public:
- friend class POA_IR::ValueDef;
- TAO_ServerRequestInfo_IR_ValueDef_is_abstract_get (
- TAO_ServerRequest &_tao_server_request,
- POA_IR::ValueDef *tao_impl
- ,
- CORBA::Environment &ACE_TRY_ENV =
- TAO_default_environment ()
- );
-
- virtual Dynamic::ParameterList * arguments (
- CORBA::Environment &ACE_TRY_ENV =
- TAO_default_environment ()
- )
- ACE_THROW_SPEC ((CORBA::SystemException));
-
- virtual Dynamic::ExceptionList * exceptions (
- CORBA::Environment &ACE_TRY_ENV =
- TAO_default_environment ()
- )
- ACE_THROW_SPEC ((CORBA::SystemException));
-
- virtual CORBA::Any * result (
- CORBA::Environment &ACE_TRY_ENV =
- TAO_default_environment ()
- )
- ACE_THROW_SPEC ((CORBA::SystemException));
-
- virtual char * target_most_derived_interface (
- CORBA::Environment &ACE_TRY_ENV = TAO_default_environment ())
- ACE_THROW_SPEC ((CORBA::SystemException));
-
- virtual CORBA::Boolean target_is_a (
- const char * id,
- CORBA::Environment &ACE_TRY_ENV = TAO_default_environment ())
- ACE_THROW_SPEC ((CORBA::SystemException));
-
-
- private:
- TAO_ServerRequestInfo_IR_ValueDef_is_abstract_get (const TAO_ServerRequestInfo_IR_ValueDef_is_abstract_get &);
- void operator= (const TAO_ServerRequestInfo_IR_ValueDef_is_abstract_get &);
-
- private:
- POA_IR::ValueDef *_tao_impl;
- void result (CORBA::Boolean result);
- // update the result
- CORBA::Boolean _result;
- };
-
- class TAO_ServerRequestInfo_IR_ValueDef_is_abstract_set : public TAO_ServerRequestInfo
- {
- public:
- friend class POA_IR::ValueDef;
- TAO_ServerRequestInfo_IR_ValueDef_is_abstract_set (
- TAO_ServerRequest &_tao_server_request,
- POA_IR::ValueDef *tao_impl
- ,
- const CORBA::Boolean & is_abstract,
- CORBA::Environment &ACE_TRY_ENV =
- TAO_default_environment ()
- );
-
- virtual Dynamic::ParameterList * arguments (
- CORBA::Environment &ACE_TRY_ENV =
- TAO_default_environment ()
- )
- ACE_THROW_SPEC ((CORBA::SystemException));
-
- virtual Dynamic::ExceptionList * exceptions (
- CORBA::Environment &ACE_TRY_ENV =
- TAO_default_environment ()
- )
- ACE_THROW_SPEC ((CORBA::SystemException));
-
- virtual CORBA::Any * result (
- CORBA::Environment &ACE_TRY_ENV =
- TAO_default_environment ()
- )
- ACE_THROW_SPEC ((CORBA::SystemException));
-
- virtual char * target_most_derived_interface (
- CORBA::Environment &ACE_TRY_ENV = TAO_default_environment ())
- ACE_THROW_SPEC ((CORBA::SystemException));
-
- virtual CORBA::Boolean target_is_a (
- const char * id,
- CORBA::Environment &ACE_TRY_ENV = TAO_default_environment ())
- ACE_THROW_SPEC ((CORBA::SystemException));
-
-
- private:
- TAO_ServerRequestInfo_IR_ValueDef_is_abstract_set (const TAO_ServerRequestInfo_IR_ValueDef_is_abstract_set &);
- void operator= (const TAO_ServerRequestInfo_IR_ValueDef_is_abstract_set &);
-
- private:
- POA_IR::ValueDef *_tao_impl;
- const CORBA::Boolean & is_abstract_;
- };
-
- class TAO_ServerRequestInfo_IR_ValueDef_is_custom_get : public TAO_ServerRequestInfo
- {
- public:
- friend class POA_IR::ValueDef;
- TAO_ServerRequestInfo_IR_ValueDef_is_custom_get (
- TAO_ServerRequest &_tao_server_request,
- POA_IR::ValueDef *tao_impl
- ,
- CORBA::Environment &ACE_TRY_ENV =
- TAO_default_environment ()
- );
-
- virtual Dynamic::ParameterList * arguments (
- CORBA::Environment &ACE_TRY_ENV =
- TAO_default_environment ()
- )
- ACE_THROW_SPEC ((CORBA::SystemException));
-
- virtual Dynamic::ExceptionList * exceptions (
- CORBA::Environment &ACE_TRY_ENV =
- TAO_default_environment ()
- )
- ACE_THROW_SPEC ((CORBA::SystemException));
-
- virtual CORBA::Any * result (
- CORBA::Environment &ACE_TRY_ENV =
- TAO_default_environment ()
- )
- ACE_THROW_SPEC ((CORBA::SystemException));
-
- virtual char * target_most_derived_interface (
- CORBA::Environment &ACE_TRY_ENV = TAO_default_environment ())
- ACE_THROW_SPEC ((CORBA::SystemException));
-
- virtual CORBA::Boolean target_is_a (
- const char * id,
- CORBA::Environment &ACE_TRY_ENV = TAO_default_environment ())
- ACE_THROW_SPEC ((CORBA::SystemException));
-
-
- private:
- TAO_ServerRequestInfo_IR_ValueDef_is_custom_get (const TAO_ServerRequestInfo_IR_ValueDef_is_custom_get &);
- void operator= (const TAO_ServerRequestInfo_IR_ValueDef_is_custom_get &);
-
- private:
- POA_IR::ValueDef *_tao_impl;
- void result (CORBA::Boolean result);
- // update the result
- CORBA::Boolean _result;
- };
-
- class TAO_ServerRequestInfo_IR_ValueDef_is_custom_set : public TAO_ServerRequestInfo
- {
- public:
- friend class POA_IR::ValueDef;
- TAO_ServerRequestInfo_IR_ValueDef_is_custom_set (
- TAO_ServerRequest &_tao_server_request,
- POA_IR::ValueDef *tao_impl
- ,
- const CORBA::Boolean & is_custom,
- CORBA::Environment &ACE_TRY_ENV =
- TAO_default_environment ()
- );
-
- virtual Dynamic::ParameterList * arguments (
- CORBA::Environment &ACE_TRY_ENV =
- TAO_default_environment ()
- )
- ACE_THROW_SPEC ((CORBA::SystemException));
-
- virtual Dynamic::ExceptionList * exceptions (
- CORBA::Environment &ACE_TRY_ENV =
- TAO_default_environment ()
- )
- ACE_THROW_SPEC ((CORBA::SystemException));
-
- virtual CORBA::Any * result (
- CORBA::Environment &ACE_TRY_ENV =
- TAO_default_environment ()
- )
- ACE_THROW_SPEC ((CORBA::SystemException));
-
- virtual char * target_most_derived_interface (
- CORBA::Environment &ACE_TRY_ENV = TAO_default_environment ())
- ACE_THROW_SPEC ((CORBA::SystemException));
-
- virtual CORBA::Boolean target_is_a (
- const char * id,
- CORBA::Environment &ACE_TRY_ENV = TAO_default_environment ())
- ACE_THROW_SPEC ((CORBA::SystemException));
-
-
- private:
- TAO_ServerRequestInfo_IR_ValueDef_is_custom_set (const TAO_ServerRequestInfo_IR_ValueDef_is_custom_set &);
- void operator= (const TAO_ServerRequestInfo_IR_ValueDef_is_custom_set &);
-
- private:
- POA_IR::ValueDef *_tao_impl;
- const CORBA::Boolean & is_custom_;
- };
-
- class TAO_ServerRequestInfo_IR_ValueDef_is_truncatable_get : public TAO_ServerRequestInfo
- {
- public:
- friend class POA_IR::ValueDef;
- TAO_ServerRequestInfo_IR_ValueDef_is_truncatable_get (
- TAO_ServerRequest &_tao_server_request,
- POA_IR::ValueDef *tao_impl
- ,
- CORBA::Environment &ACE_TRY_ENV =
- TAO_default_environment ()
- );
-
- virtual Dynamic::ParameterList * arguments (
- CORBA::Environment &ACE_TRY_ENV =
- TAO_default_environment ()
- )
- ACE_THROW_SPEC ((CORBA::SystemException));
-
- virtual Dynamic::ExceptionList * exceptions (
- CORBA::Environment &ACE_TRY_ENV =
- TAO_default_environment ()
- )
- ACE_THROW_SPEC ((CORBA::SystemException));
-
- virtual CORBA::Any * result (
- CORBA::Environment &ACE_TRY_ENV =
- TAO_default_environment ()
- )
- ACE_THROW_SPEC ((CORBA::SystemException));
-
- virtual char * target_most_derived_interface (
- CORBA::Environment &ACE_TRY_ENV = TAO_default_environment ())
- ACE_THROW_SPEC ((CORBA::SystemException));
-
- virtual CORBA::Boolean target_is_a (
- const char * id,
- CORBA::Environment &ACE_TRY_ENV = TAO_default_environment ())
- ACE_THROW_SPEC ((CORBA::SystemException));
-
-
- private:
- TAO_ServerRequestInfo_IR_ValueDef_is_truncatable_get (const TAO_ServerRequestInfo_IR_ValueDef_is_truncatable_get &);
- void operator= (const TAO_ServerRequestInfo_IR_ValueDef_is_truncatable_get &);
-
- private:
- POA_IR::ValueDef *_tao_impl;
- void result (CORBA::Boolean result);
- // update the result
- CORBA::Boolean _result;
- };
-
- class TAO_ServerRequestInfo_IR_ValueDef_is_truncatable_set : public TAO_ServerRequestInfo
- {
- public:
- friend class POA_IR::ValueDef;
- TAO_ServerRequestInfo_IR_ValueDef_is_truncatable_set (
- TAO_ServerRequest &_tao_server_request,
- POA_IR::ValueDef *tao_impl
- ,
- const CORBA::Boolean & is_truncatable,
- CORBA::Environment &ACE_TRY_ENV =
- TAO_default_environment ()
- );
-
- virtual Dynamic::ParameterList * arguments (
- CORBA::Environment &ACE_TRY_ENV =
- TAO_default_environment ()
- )
- ACE_THROW_SPEC ((CORBA::SystemException));
-
- virtual Dynamic::ExceptionList * exceptions (
- CORBA::Environment &ACE_TRY_ENV =
- TAO_default_environment ()
- )
- ACE_THROW_SPEC ((CORBA::SystemException));
-
- virtual CORBA::Any * result (
- CORBA::Environment &ACE_TRY_ENV =
- TAO_default_environment ()
- )
- ACE_THROW_SPEC ((CORBA::SystemException));
-
- virtual char * target_most_derived_interface (
- CORBA::Environment &ACE_TRY_ENV = TAO_default_environment ())
- ACE_THROW_SPEC ((CORBA::SystemException));
-
- virtual CORBA::Boolean target_is_a (
- const char * id,
- CORBA::Environment &ACE_TRY_ENV = TAO_default_environment ())
- ACE_THROW_SPEC ((CORBA::SystemException));
-
-
- private:
- TAO_ServerRequestInfo_IR_ValueDef_is_truncatable_set (const TAO_ServerRequestInfo_IR_ValueDef_is_truncatable_set &);
- void operator= (const TAO_ServerRequestInfo_IR_ValueDef_is_truncatable_set &);
-
- private:
- POA_IR::ValueDef *_tao_impl;
- const CORBA::Boolean & is_truncatable_;
- };
-
- class TAO_ServerRequestInfo_IR_ValueDef_is_a : public TAO_ServerRequestInfo
- {
- public:
- friend class POA_IR::ValueDef;
- TAO_ServerRequestInfo_IR_ValueDef_is_a (
- TAO_ServerRequest &_tao_server_request,
- POA_IR::ValueDef *tao_impl
- ,
- const char * id,
- CORBA::Environment &ACE_TRY_ENV =
- TAO_default_environment ()
- );
-
- virtual Dynamic::ParameterList * arguments (
- CORBA::Environment &ACE_TRY_ENV =
- TAO_default_environment ()
- )
- ACE_THROW_SPEC ((CORBA::SystemException));
-
- virtual Dynamic::ExceptionList * exceptions (
- CORBA::Environment &ACE_TRY_ENV =
- TAO_default_environment ()
- )
- ACE_THROW_SPEC ((CORBA::SystemException));
-
- virtual CORBA::Any * result (
- CORBA::Environment &ACE_TRY_ENV =
- TAO_default_environment ()
- )
- ACE_THROW_SPEC ((CORBA::SystemException));
-
- virtual char * target_most_derived_interface (
- CORBA::Environment &ACE_TRY_ENV = TAO_default_environment ())
- ACE_THROW_SPEC ((CORBA::SystemException));
-
- virtual CORBA::Boolean target_is_a (
- const char * id,
- CORBA::Environment &ACE_TRY_ENV = TAO_default_environment ())
- ACE_THROW_SPEC ((CORBA::SystemException));
-
-
- private:
- TAO_ServerRequestInfo_IR_ValueDef_is_a (const TAO_ServerRequestInfo_IR_ValueDef_is_a &);
- void operator= (const TAO_ServerRequestInfo_IR_ValueDef_is_a &);
-
- private:
- POA_IR::ValueDef *_tao_impl;
- const char * id_;
- void result (CORBA::Boolean result);
- // update the result
- CORBA::Boolean _result;
- };
-
- class TAO_ServerRequestInfo_IR_ValueDef_create_value_member : public TAO_ServerRequestInfo
- {
- public:
- friend class POA_IR::ValueDef;
- TAO_ServerRequestInfo_IR_ValueDef_create_value_member (
- TAO_ServerRequest &_tao_server_request,
- POA_IR::ValueDef *tao_impl
- ,
- const char * id,
- const char * name,
- const char * version,
- IR_IDLType_ptr type,
- const CORBA::Visibility & access,
- CORBA::Environment &ACE_TRY_ENV =
- TAO_default_environment ()
- );
-
- virtual Dynamic::ParameterList * arguments (
- CORBA::Environment &ACE_TRY_ENV =
- TAO_default_environment ()
- )
- ACE_THROW_SPEC ((CORBA::SystemException));
-
- virtual Dynamic::ExceptionList * exceptions (
- CORBA::Environment &ACE_TRY_ENV =
- TAO_default_environment ()
- )
- ACE_THROW_SPEC ((CORBA::SystemException));
-
- virtual CORBA::Any * result (
- CORBA::Environment &ACE_TRY_ENV =
- TAO_default_environment ()
- )
- ACE_THROW_SPEC ((CORBA::SystemException));
-
- virtual char * target_most_derived_interface (
- CORBA::Environment &ACE_TRY_ENV = TAO_default_environment ())
- ACE_THROW_SPEC ((CORBA::SystemException));
-
- virtual CORBA::Boolean target_is_a (
- const char * id,
- CORBA::Environment &ACE_TRY_ENV = TAO_default_environment ())
- ACE_THROW_SPEC ((CORBA::SystemException));
-
-
- private:
- TAO_ServerRequestInfo_IR_ValueDef_create_value_member (const TAO_ServerRequestInfo_IR_ValueDef_create_value_member &);
- void operator= (const TAO_ServerRequestInfo_IR_ValueDef_create_value_member &);
-
- private:
- POA_IR::ValueDef *_tao_impl;
- const char * id_;
- const char * name_;
- const char * version_;
- IR_IDLType_ptr type_;
- const CORBA::Visibility & access_;
- void result (IR::ValueMemberDef_ptr result);
- // update the result
- IR_ValueMemberDef_ptr _result;
- };
-
- class TAO_ServerRequestInfo_IR_ValueDef_create_attribute : public TAO_ServerRequestInfo
- {
- public:
- friend class POA_IR::ValueDef;
- TAO_ServerRequestInfo_IR_ValueDef_create_attribute (
- TAO_ServerRequest &_tao_server_request,
- POA_IR::ValueDef *tao_impl
- ,
- const char * id,
- const char * name,
- const char * version,
- IR_IDLType_ptr type,
- IR_AttributeMode & mode,
- const IR_ExceptionDefSeq & get_exceptions,
- const IR_ExceptionDefSeq & put_exceptions,
- CORBA::Environment &ACE_TRY_ENV =
- TAO_default_environment ()
- );
-
- virtual Dynamic::ParameterList * arguments (
- CORBA::Environment &ACE_TRY_ENV =
- TAO_default_environment ()
- )
- ACE_THROW_SPEC ((CORBA::SystemException));
-
- virtual Dynamic::ExceptionList * exceptions (
- CORBA::Environment &ACE_TRY_ENV =
- TAO_default_environment ()
- )
- ACE_THROW_SPEC ((CORBA::SystemException));
-
- virtual CORBA::Any * result (
- CORBA::Environment &ACE_TRY_ENV =
- TAO_default_environment ()
- )
- ACE_THROW_SPEC ((CORBA::SystemException));
-
- virtual char * target_most_derived_interface (
- CORBA::Environment &ACE_TRY_ENV = TAO_default_environment ())
- ACE_THROW_SPEC ((CORBA::SystemException));
-
- virtual CORBA::Boolean target_is_a (
- const char * id,
- CORBA::Environment &ACE_TRY_ENV = TAO_default_environment ())
- ACE_THROW_SPEC ((CORBA::SystemException));
-
-
- private:
- TAO_ServerRequestInfo_IR_ValueDef_create_attribute (const TAO_ServerRequestInfo_IR_ValueDef_create_attribute &);
- void operator= (const TAO_ServerRequestInfo_IR_ValueDef_create_attribute &);
-
- private:
- POA_IR::ValueDef *_tao_impl;
- const char * id_;
- const char * name_;
- const char * version_;
- IR_IDLType_ptr type_;
- const IR_AttributeMode & mode_;
- const IR_ExceptionDefSeq & get_exceptions_;
- const IR_ExceptionDefSeq & put_exceptions_;
- void result (IR::AttributeDef_ptr result);
- // update the result
- IR_AttributeDef_ptr _result;
- };
-
- class TAO_ServerRequestInfo_IR_ValueDef_create_operation : public TAO_ServerRequestInfo
- {
- public:
- friend class POA_IR::ValueDef;
- TAO_ServerRequestInfo_IR_ValueDef_create_operation (
- TAO_ServerRequest &_tao_server_request,
- POA_IR::ValueDef *tao_impl
- ,
- const char * id,
- const char * name,
- const char * version,
- IR_IDLType_ptr result,
- IR_OperationMode & mode,
- const IR_ParDescriptionSeq & params,
- const IR_ExceptionDefSeq & exceptions,
- const IR_ContextIdSeq & contexts,
- CORBA::Environment &ACE_TRY_ENV =
- TAO_default_environment ()
- );
-
- virtual Dynamic::ParameterList * arguments (
- CORBA::Environment &ACE_TRY_ENV =
- TAO_default_environment ()
- )
- ACE_THROW_SPEC ((CORBA::SystemException));
-
- virtual Dynamic::ExceptionList * exceptions (
- CORBA::Environment &ACE_TRY_ENV =
- TAO_default_environment ()
- )
- ACE_THROW_SPEC ((CORBA::SystemException));
-
- virtual CORBA::Any * result (
- CORBA::Environment &ACE_TRY_ENV =
- TAO_default_environment ()
- )
- ACE_THROW_SPEC ((CORBA::SystemException));
-
- virtual char * target_most_derived_interface (
- CORBA::Environment &ACE_TRY_ENV = TAO_default_environment ())
- ACE_THROW_SPEC ((CORBA::SystemException));
-
- virtual CORBA::Boolean target_is_a (
- const char * id,
- CORBA::Environment &ACE_TRY_ENV = TAO_default_environment ())
- ACE_THROW_SPEC ((CORBA::SystemException));
-
-
- private:
- TAO_ServerRequestInfo_IR_ValueDef_create_operation (const TAO_ServerRequestInfo_IR_ValueDef_create_operation &);
- void operator= (const TAO_ServerRequestInfo_IR_ValueDef_create_operation &);
-
- private:
- POA_IR::ValueDef *_tao_impl;
- const char * id_;
- const char * name_;
- const char * version_;
- IR_IDLType_ptr result_;
- const IR_OperationMode & mode_;
- const IR_ParDescriptionSeq & params_;
- const IR_ExceptionDefSeq & exceptions_;
- const IR_ContextIdSeq & contexts_;
- void result (IR::OperationDef_ptr result);
- // update the result
- IR_OperationDef_ptr _result;
- };
-
-#endif /* TAO_HAS_INTERCEPTORS */
-
- };
-
-///////////////////////////////////////////////////////////////////////
-// Strategized Proxy Broker Declaration
-//
-
-class _TAO_ValueDef_Strategized_Proxy_Broker : public virtual _TAO_ValueDef_Proxy_Broker
-{
-public:
- _TAO_ValueDef_Strategized_Proxy_Broker (void);
-
- virtual ~_TAO_ValueDef_Strategized_Proxy_Broker (void);
-
- virtual _TAO_ValueDef_Proxy_Impl &select_proxy (
- IR_ValueDef *object,
- CORBA_Environment &ACE_TRY_ENV = TAO_default_environment ()
- );
-
-private:
-
-// Helper methods that takes care to create the proxy
-// as soon as their use is necessary.
- void create_proxy (
- int strategy,
- CORBA::Environment &ACE_TRY_ENV
- );
-
-private:
-
- // Caches the proxy implementations. The proxy implementation
- // are totally stateless, and those can be shared by all the
- // instances of a given IDL interface type.
- _TAO_ValueDef_Proxy_Impl
- *proxy_cache_[TAO_Collocation_Strategies::CS_LAST];
-
- TAO_SYNCH_MUTEX mutex_;
-// This funxtion is used to get an handle to the unique instance
-// of the Strategized Proxy Broker that is available for a given
-// interface.
-
-public:
- static _TAO_ValueDef_Strategized_Proxy_Broker *the_TAO_ValueDef_Strategized_Proxy_Broker (void);
-};
-
-//
-// End Strategized Proxy Broker Declaration
-///////////////////////////////////////////////////////////////////////
-
-
-///////////////////////////////////////////////////////////////////////
-// ThruPOA Impl. Declaration
-//
-
-class _TAO_ValueDef_ThruPOA_Proxy_Impl :
- public virtual _TAO_ValueDef_Proxy_Impl,
- public virtual TAO_ThruPOA_Object_Proxy_Impl,
- public virtual ::POA_IR::_TAO_Container_ThruPOA_Proxy_Impl,
- public virtual ::POA_IR::_TAO_Contained_ThruPOA_Proxy_Impl,
- public virtual ::POA_IR::_TAO_IDLType_ThruPOA_Proxy_Impl
-
-{
-public:
- _TAO_ValueDef_ThruPOA_Proxy_Impl (void);
-
- virtual ~_TAO_ValueDef_ThruPOA_Proxy_Impl (void) { }
-
- virtual IR_InterfaceDefSeq * supported_interfaces (
- CORBA_Object *_collocated_tao_target_,
- CORBA::Environment &ACE_TRY_ENV
- )
- ACE_THROW_SPEC ((
- CORBA::SystemException
- ));
-
- virtual void supported_interfaces (
- CORBA_Object *_collocated_tao_target_,
- const IR_InterfaceDefSeq & supported_interfaces,
- CORBA::Environment &ACE_TRY_ENV
- )
- ACE_THROW_SPEC ((
- CORBA::SystemException
- ));
-
- virtual IR_InitializerSeq * initializers (
- CORBA_Object *_collocated_tao_target_,
- CORBA::Environment &ACE_TRY_ENV
- )
- ACE_THROW_SPEC ((
- CORBA::SystemException
- ));
-
- virtual void initializers (
- CORBA_Object *_collocated_tao_target_,
- const IR_InitializerSeq & initializers,
- CORBA::Environment &ACE_TRY_ENV
- )
- ACE_THROW_SPEC ((
- CORBA::SystemException
- ));
-
- virtual IR_ValueDef_ptr base_value (
- CORBA_Object *_collocated_tao_target_,
- CORBA::Environment &ACE_TRY_ENV
- )
- ACE_THROW_SPEC ((
- CORBA::SystemException
- ));
-
- virtual void base_value (
- CORBA_Object *_collocated_tao_target_,
- IR_ValueDef_ptr base_value,
- CORBA::Environment &ACE_TRY_ENV
- )
- ACE_THROW_SPEC ((
- CORBA::SystemException
- ));
-
- virtual IR_ValueDefSeq * abstract_base_values (
- CORBA_Object *_collocated_tao_target_,
- CORBA::Environment &ACE_TRY_ENV
- )
- ACE_THROW_SPEC ((
- CORBA::SystemException
- ));
-
- virtual void abstract_base_values (
- CORBA_Object *_collocated_tao_target_,
- const IR_ValueDefSeq & abstract_base_values,
- CORBA::Environment &ACE_TRY_ENV
- )
- ACE_THROW_SPEC ((
- CORBA::SystemException
- ));
-
- virtual CORBA::Boolean is_abstract (
- CORBA_Object *_collocated_tao_target_,
- CORBA::Environment &ACE_TRY_ENV
- )
- ACE_THROW_SPEC ((
- CORBA::SystemException
- ));
-
- virtual void is_abstract (
- CORBA_Object *_collocated_tao_target_,
- CORBA::Boolean is_abstract,
- CORBA::Environment &ACE_TRY_ENV
- )
- ACE_THROW_SPEC ((
- CORBA::SystemException
- ));
-
- virtual CORBA::Boolean is_custom (
- CORBA_Object *_collocated_tao_target_,
- CORBA::Environment &ACE_TRY_ENV
- )
- ACE_THROW_SPEC ((
- CORBA::SystemException
- ));
-
- virtual void is_custom (
- CORBA_Object *_collocated_tao_target_,
- CORBA::Boolean is_custom,
- CORBA::Environment &ACE_TRY_ENV
- )
- ACE_THROW_SPEC ((
- CORBA::SystemException
- ));
-
- virtual CORBA::Boolean is_truncatable (
- CORBA_Object *_collocated_tao_target_,
- CORBA::Environment &ACE_TRY_ENV
- )
- ACE_THROW_SPEC ((
- CORBA::SystemException
- ));
-
- virtual void is_truncatable (
- CORBA_Object *_collocated_tao_target_,
- CORBA::Boolean is_truncatable,
- CORBA::Environment &ACE_TRY_ENV
- )
- ACE_THROW_SPEC ((
- CORBA::SystemException
- ));
-
- virtual CORBA::Boolean is_a (
- CORBA_Object *_collocated_tao_target_,
- const char * id,
- CORBA::Environment &ACE_TRY_ENV
- )
- ACE_THROW_SPEC ((
- CORBA::SystemException
- ));
-
- virtual IR_ValueMemberDef_ptr create_value_member (
- CORBA_Object *_collocated_tao_target_,
- const char * id,
- const char * name,
- const char * version,
- IR_IDLType_ptr type,
- CORBA::Visibility access,
- CORBA::Environment &ACE_TRY_ENV
- )
- ACE_THROW_SPEC ((
- CORBA::SystemException
- ));
-
- virtual IR_AttributeDef_ptr create_attribute (
- CORBA_Object *_collocated_tao_target_,
- const char * id,
- const char * name,
- const char * version,
- IR_IDLType_ptr type,
- IR_AttributeMode mode,
- const IR_ExceptionDefSeq & get_exceptions,
- const IR_ExceptionDefSeq & put_exceptions,
- CORBA::Environment &ACE_TRY_ENV
- )
- ACE_THROW_SPEC ((
- CORBA::SystemException
- ));
-
- virtual IR_OperationDef_ptr create_operation (
- CORBA_Object *_collocated_tao_target_,
- const char * id,
- const char * name,
- const char * version,
- IR_IDLType_ptr result,
- IR_OperationMode mode,
- const IR_ParDescriptionSeq & params,
- const IR_ExceptionDefSeq & exceptions,
- const IR_ContextIdSeq & contexts,
- CORBA::Environment &ACE_TRY_ENV
- )
- ACE_THROW_SPEC ((
- CORBA::SystemException
- ));
-
-};
-
-
-//
-// ThruPOA Proxy Impl. Declaration
-///////////////////////////////////////////////////////////////////////
-
-#if defined (ACE_HAS_USING_KEYWORD)
- // TIE class: Refer to CORBA v2.2, Section 20.34.4
- template <class T>
- class ValueDef_tie : public ValueDef
- {
- public:
- ValueDef_tie (T &t);
- // the T& ctor
- ValueDef_tie (T &t, PortableServer::POA_ptr poa);
- // ctor taking a POA
- ValueDef_tie (T *tp, CORBA::Boolean release=1);
- // ctor taking pointer and an ownership flag
- ValueDef_tie (T *tp, PortableServer::POA_ptr poa, CORBA::Boolean release=1);
- // ctor with T*, ownership flag and a POA
- ~ValueDef_tie (void);
- // dtor
-
- // TIE specific functions
- T *_tied_object (void);
- // return the underlying object
- void _tied_object (T &obj);
- // set the underlying object
- void _tied_object (T *obj, CORBA::Boolean release=1);
- // set the underlying object and the ownership flag
- CORBA::Boolean _is_owner (void);
- // do we own it
- void _is_owner (CORBA::Boolean b);
- // set the ownership
-
- // overridden ServantBase operations
- PortableServer::POA_ptr _default_POA (
- CORBA::Environment &env =
- TAO_default_environment ()
- );
- IR_InterfaceDefSeq * supported_interfaces (
- CORBA::Environment &ACE_TRY_ENV =
- TAO_default_environment ()
- )
- ACE_THROW_SPEC ((
- CORBA::SystemException
- ));
-
- void supported_interfaces (
- const IR_InterfaceDefSeq & supported_interfaces,
- CORBA::Environment &ACE_TRY_ENV =
- TAO_default_environment ()
- )
- ACE_THROW_SPEC ((
- CORBA::SystemException
- ));
-
- IR_InitializerSeq * initializers (
- CORBA::Environment &ACE_TRY_ENV =
- TAO_default_environment ()
- )
- ACE_THROW_SPEC ((
- CORBA::SystemException
- ));
-
- void initializers (
- const IR_InitializerSeq & initializers,
- CORBA::Environment &ACE_TRY_ENV =
- TAO_default_environment ()
- )
- ACE_THROW_SPEC ((
- CORBA::SystemException
- ));
-
- IR_ValueDef_ptr base_value (
- CORBA::Environment &ACE_TRY_ENV =
- TAO_default_environment ()
- )
- ACE_THROW_SPEC ((
- CORBA::SystemException
- ));
-
- void base_value (
- IR_ValueDef_ptr base_value,
- CORBA::Environment &ACE_TRY_ENV =
- TAO_default_environment ()
- )
- ACE_THROW_SPEC ((
- CORBA::SystemException
- ));
-
- IR_ValueDefSeq * abstract_base_values (
- CORBA::Environment &ACE_TRY_ENV =
- TAO_default_environment ()
- )
- ACE_THROW_SPEC ((
- CORBA::SystemException
- ));
-
- void abstract_base_values (
- const IR_ValueDefSeq & abstract_base_values,
- CORBA::Environment &ACE_TRY_ENV =
- TAO_default_environment ()
- )
- ACE_THROW_SPEC ((
- CORBA::SystemException
- ));
-
- CORBA::Boolean is_abstract (
- CORBA::Environment &ACE_TRY_ENV =
- TAO_default_environment ()
- )
- ACE_THROW_SPEC ((
- CORBA::SystemException
- ));
-
- void is_abstract (
- CORBA::Boolean is_abstract,
- CORBA::Environment &ACE_TRY_ENV =
- TAO_default_environment ()
- )
- ACE_THROW_SPEC ((
- CORBA::SystemException
- ));
-
- CORBA::Boolean is_custom (
- CORBA::Environment &ACE_TRY_ENV =
- TAO_default_environment ()
- )
- ACE_THROW_SPEC ((
- CORBA::SystemException
- ));
-
- void is_custom (
- CORBA::Boolean is_custom,
- CORBA::Environment &ACE_TRY_ENV =
- TAO_default_environment ()
- )
- ACE_THROW_SPEC ((
- CORBA::SystemException
- ));
-
- CORBA::Boolean is_truncatable (
- CORBA::Environment &ACE_TRY_ENV =
- TAO_default_environment ()
- )
- ACE_THROW_SPEC ((
- CORBA::SystemException
- ));
-
- void is_truncatable (
- CORBA::Boolean is_truncatable,
- CORBA::Environment &ACE_TRY_ENV =
- TAO_default_environment ()
- )
- ACE_THROW_SPEC ((
- CORBA::SystemException
- ));
-
- CORBA::Boolean is_a (
- const char * id,
- CORBA::Environment &ACE_TRY_ENV =
- TAO_default_environment ()
- )
- ACE_THROW_SPEC ((
- CORBA::SystemException
- ));
-
- IR_ValueMemberDef_ptr create_value_member (
- const char * id,
- const char * name,
- const char * version,
- IR_IDLType_ptr type,
- CORBA::Visibility access,
- CORBA::Environment &ACE_TRY_ENV =
- TAO_default_environment ()
- )
- ACE_THROW_SPEC ((
- CORBA::SystemException
- ));
-
- IR_AttributeDef_ptr create_attribute (
- const char * id,
- const char * name,
- const char * version,
- IR_IDLType_ptr type,
- IR_AttributeMode mode,
- const IR_ExceptionDefSeq & get_exceptions,
- const IR_ExceptionDefSeq & put_exceptions,
- CORBA::Environment &ACE_TRY_ENV =
- TAO_default_environment ()
- )
- ACE_THROW_SPEC ((
- CORBA::SystemException
- ));
-
- IR_OperationDef_ptr create_operation (
- const char * id,
- const char * name,
- const char * version,
- IR_IDLType_ptr result,
- IR_OperationMode mode,
- const IR_ParDescriptionSeq & params,
- const IR_ExceptionDefSeq & exceptions,
- const IR_ContextIdSeq & contexts,
- CORBA::Environment &ACE_TRY_ENV =
- TAO_default_environment ()
- )
- ACE_THROW_SPEC ((
- CORBA::SystemException
- ));
-
- IR_Contained_ptr lookup (
- const char * search_name,
- CORBA::Environment &ACE_TRY_ENV =
- TAO_default_environment ()
- )
- ACE_THROW_SPEC ((
- CORBA::SystemException
- ));
-
- IR_ContainedSeq * contents (
- IR_DefinitionKind limit_type,
- CORBA::Boolean exclude_inherited,
- CORBA::Environment &ACE_TRY_ENV =
- TAO_default_environment ()
- )
- ACE_THROW_SPEC ((
- CORBA::SystemException
- ));
-
- IR_ContainedSeq * lookup_name (
- const char * search_name,
- CORBA::Long levels_to_search,
- IR_DefinitionKind limit_type,
- CORBA::Boolean exclude_inherited,
- CORBA::Environment &ACE_TRY_ENV =
- TAO_default_environment ()
- )
- ACE_THROW_SPEC ((
- CORBA::SystemException
- ));
-
- IR_Container::DescriptionSeq * describe_contents (
- IR_DefinitionKind limit_type,
- CORBA::Boolean exclude_inherited,
- CORBA::Long max_returned_objs,
- CORBA::Environment &ACE_TRY_ENV =
- TAO_default_environment ()
- )
- ACE_THROW_SPEC ((
- CORBA::SystemException
- ));
-
- IR_ModuleDef_ptr create_module (
- const char * id,
- const char * name,
- const char * version,
- CORBA::Environment &ACE_TRY_ENV =
- TAO_default_environment ()
- )
- ACE_THROW_SPEC ((
- CORBA::SystemException
- ));
-
- IR_ConstantDef_ptr create_constant (
- const char * id,
- const char * name,
- const char * version,
- IR_IDLType_ptr type,
- const CORBA::Any & value,
- CORBA::Environment &ACE_TRY_ENV =
- TAO_default_environment ()
- )
- ACE_THROW_SPEC ((
- CORBA::SystemException
- ));
-
- IR_StructDef_ptr create_struct (
- const char * id,
- const char * name,
- const char * version,
- const IR_StructMemberSeq & members,
- CORBA::Environment &ACE_TRY_ENV =
- TAO_default_environment ()
- )
- ACE_THROW_SPEC ((
- CORBA::SystemException
- ));
-
- IR_UnionDef_ptr create_union (
- const char * id,
- const char * name,
- const char * version,
- IR_IDLType_ptr discriminator_type,
- const IR_UnionMemberSeq & members,
- CORBA::Environment &ACE_TRY_ENV =
- TAO_default_environment ()
- )
- ACE_THROW_SPEC ((
- CORBA::SystemException
- ));
-
- IR_EnumDef_ptr create_enum (
- const char * id,
- const char * name,
- const char * version,
- const IR_EnumMemberSeq & members,
- CORBA::Environment &ACE_TRY_ENV =
- TAO_default_environment ()
- )
- ACE_THROW_SPEC ((
- CORBA::SystemException
- ));
-
- IR_AliasDef_ptr create_alias (
- const char * id,
- const char * name,
- const char * version,
- IR_IDLType_ptr original_type,
- CORBA::Environment &ACE_TRY_ENV =
- TAO_default_environment ()
- )
- ACE_THROW_SPEC ((
- CORBA::SystemException
- ));
-
- IR_InterfaceDef_ptr create_interface (
- const char * id,
- const char * name,
- const char * version,
- const IR_InterfaceDefSeq & base_interfaces,
- CORBA::Boolean is_abstract,
- CORBA::Boolean is_local,
- CORBA::Environment &ACE_TRY_ENV =
- TAO_default_environment ()
- )
- ACE_THROW_SPEC ((
- CORBA::SystemException
- ));
-
- IR_ValueDef_ptr create_value (
- const char * id,
- const char * name,
- const char * version,
- CORBA::Boolean is_custom,
- CORBA::Boolean is_abstract,
- IR_ValueDef_ptr base_value,
- CORBA::Boolean is_truncatable,
- const IR_ValueDefSeq & abstract_base_values,
- const IR_InterfaceDefSeq & supported_interfaces,
- const IR_InitializerSeq & initializers,
- CORBA::Environment &ACE_TRY_ENV =
- TAO_default_environment ()
- )
- ACE_THROW_SPEC ((
- CORBA::SystemException
- ));
-
- IR_ValueBoxDef_ptr create_value_box (
- const char * id,
- const char * name,
- const char * version,
- IR_IDLType_ptr original_type_def,
- CORBA::Environment &ACE_TRY_ENV =
- TAO_default_environment ()
- )
- ACE_THROW_SPEC ((
- CORBA::SystemException
- ));
-
- IR_ExceptionDef_ptr create_exception (
- const char * id,
- const char * name,
- const char * version,
- const IR_StructMemberSeq & members,
- CORBA::Environment &ACE_TRY_ENV =
- TAO_default_environment ()
- )
- ACE_THROW_SPEC ((
- CORBA::SystemException
- ));
-
- IR_NativeDef_ptr create_native (
- const char * id,
- const char * name,
- const char * version,
- CORBA::Environment &ACE_TRY_ENV =
- TAO_default_environment ()
- )
- ACE_THROW_SPEC ((
- CORBA::SystemException
- ));
-
- char * id (
- CORBA::Environment &ACE_TRY_ENV =
- TAO_default_environment ()
- )
- ACE_THROW_SPEC ((
- CORBA::SystemException
- ));
-
- void id (
- const char * id,
- CORBA::Environment &ACE_TRY_ENV =
- TAO_default_environment ()
- )
- ACE_THROW_SPEC ((
- CORBA::SystemException
- ));
-
- char * name (
- CORBA::Environment &ACE_TRY_ENV =
- TAO_default_environment ()
- )
- ACE_THROW_SPEC ((
- CORBA::SystemException
- ));
-
- void name (
- const char * name,
- CORBA::Environment &ACE_TRY_ENV =
- TAO_default_environment ()
- )
- ACE_THROW_SPEC ((
- CORBA::SystemException
- ));
-
- char * version (
- CORBA::Environment &ACE_TRY_ENV =
- TAO_default_environment ()
- )
- ACE_THROW_SPEC ((
- CORBA::SystemException
- ));
-
- void version (
- const char * version,
- CORBA::Environment &ACE_TRY_ENV =
- TAO_default_environment ()
- )
- ACE_THROW_SPEC ((
- CORBA::SystemException
- ));
-
- IR_Container_ptr defined_in (
- CORBA::Environment &ACE_TRY_ENV =
- TAO_default_environment ()
- )
- ACE_THROW_SPEC ((
- CORBA::SystemException
- ));
-
- char * absolute_name (
- CORBA::Environment &ACE_TRY_ENV =
- TAO_default_environment ()
- )
- ACE_THROW_SPEC ((
- CORBA::SystemException
- ));
-
- IR_Repository_ptr containing_repository (
- CORBA::Environment &ACE_TRY_ENV =
- TAO_default_environment ()
- )
- ACE_THROW_SPEC ((
- CORBA::SystemException
- ));
-
- IR_Contained::Description * describe (
- CORBA::Environment &ACE_TRY_ENV =
- TAO_default_environment ()
- )
- ACE_THROW_SPEC ((
- CORBA::SystemException
- ));
-
- void move (
- IR_Container_ptr new_container,
- const char * new_name,
- const char * new_version,
- CORBA::Environment &ACE_TRY_ENV =
- TAO_default_environment ()
- )
- ACE_THROW_SPEC ((
- CORBA::SystemException
- ));
-
- CORBA::TypeCode_ptr type (
- CORBA::Environment &ACE_TRY_ENV =
- TAO_default_environment ()
- )
- ACE_THROW_SPEC ((
- CORBA::SystemException
- ));
-
- IR_DefinitionKind def_kind (
- CORBA::Environment &ACE_TRY_ENV =
- TAO_default_environment ()
- )
- ACE_THROW_SPEC ((
- CORBA::SystemException
- ));
-
- void destroy (
- CORBA::Environment &ACE_TRY_ENV =
- TAO_default_environment ()
- )
- ACE_THROW_SPEC ((
- CORBA::SystemException
- ));
-
-private:
- T *ptr_;
- PortableServer::POA_var poa_;
- CORBA::Boolean rel_;
-
- // copy and assignment are not allowed
- ValueDef_tie (const ValueDef_tie &);
- void operator= (const ValueDef_tie &);
- };
-
-#endif /* ACE_HAS_USING_KEYWORD */
-
- class ValueBoxDef;
- typedef ValueBoxDef *ValueBoxDef_ptr;
- // Forward Classes Declaration
- class _TAO_ValueBoxDef_ThruPOA_Proxy_Impl;
- class _TAO_ValueBoxDef_Strategized_Proxy_Broker;
-
- class ValueBoxDef : public virtual TypedefDef
- {
- protected:
- ValueBoxDef (void);
-
- public:
- ValueBoxDef (const ValueBoxDef& rhs);
- virtual ~ValueBoxDef (void);
-
-
- virtual CORBA::Boolean _is_a (
- const char* logical_type_id,
- CORBA::Environment &ACE_TRY_ENV =
- TAO_default_environment ()
- );
-
- virtual void* _downcast (
- const char* logical_type_id
- );
-
- static void _is_a_skel (
- TAO_ServerRequest &req,
- void *obj,
- void *context,
- CORBA::Environment &ACE_TRY_ENV =
- TAO_default_environment ()
- );
-
- static void _non_existent_skel (
- TAO_ServerRequest &req,
- void *obj,
- void *context,
- CORBA::Environment &ACE_TRY_ENV =
- TAO_default_environment ()
- );
-
- virtual void _dispatch (
- TAO_ServerRequest &_tao_req,
- void *_tao_context,
- CORBA::Environment &ACE_TRY_ENV =
- TAO_default_environment ()
- );
-
- IR_ValueBoxDef *_this (
- CORBA::Environment &ACE_TRY_ENV =
- TAO_default_environment ()
- );
-
- virtual const char* _interface_repository_id (void) const;
-
- virtual IR_IDLType_ptr original_type_def (
- CORBA::Environment &ACE_TRY_ENV =
- TAO_default_environment ()
- )
- ACE_THROW_SPEC ((
- CORBA::SystemException
- )) = 0;
-
- static void _get_original_type_def_skel (
- TAO_ServerRequest &_tao_req,
- void *_tao_obj,
- void *_tao_context,
- CORBA::Environment &ACE_TRY_ENV =
- TAO_default_environment ()
- );
-
- virtual void original_type_def (
- IR_IDLType_ptr original_type_def,
- CORBA::Environment &ACE_TRY_ENV =
- TAO_default_environment ()
- )
- ACE_THROW_SPEC ((
- CORBA::SystemException
- )) = 0;
-
- static void _set_original_type_def_skel (
- TAO_ServerRequest &_tao_req,
- void *_tao_obj,
- void *_tao_context,
- CORBA::Environment &ACE_TRY_ENV =
- TAO_default_environment ()
- );
-
- static void _get_id_skel (
- TAO_ServerRequest &req,
- void *obj,
- void *context,
- CORBA::Environment &env =
- TAO_default_environment ()
- );
-
- static void _set_id_skel (
- TAO_ServerRequest &req,
- void *obj,
- void *context,
- CORBA::Environment &env =
- TAO_default_environment ()
- );
-
- static void _get_name_skel (
- TAO_ServerRequest &req,
- void *obj,
- void *context,
- CORBA::Environment &env =
- TAO_default_environment ()
- );
-
- static void _set_name_skel (
- TAO_ServerRequest &req,
- void *obj,
- void *context,
- CORBA::Environment &env =
- TAO_default_environment ()
- );
-
- static void _get_version_skel (
- TAO_ServerRequest &req,
- void *obj,
- void *context,
- CORBA::Environment &env =
- TAO_default_environment ()
- );
-
- static void _set_version_skel (
- TAO_ServerRequest &req,
- void *obj,
- void *context,
- CORBA::Environment &env =
- TAO_default_environment ()
- );
-
- static void _get_defined_in_skel (
- TAO_ServerRequest &req,
- void *obj,
- void *context,
- CORBA::Environment &env =
- TAO_default_environment ()
- );
-
- static void _get_absolute_name_skel (
- TAO_ServerRequest &req,
- void *obj,
- void *context,
- CORBA::Environment &env =
- TAO_default_environment ()
- );
-
- static void _get_containing_repository_skel (
- TAO_ServerRequest &req,
- void *obj,
- void *context,
- CORBA::Environment &env =
- TAO_default_environment ()
- );
-
- static void describe_skel (
- TAO_ServerRequest &req,
- void *obj,
- void *context,
- CORBA::Environment &env =
- TAO_default_environment ()
- );
-
- static void move_skel (
- TAO_ServerRequest &req,
- void *obj,
- void *context,
- CORBA::Environment &env =
- TAO_default_environment ()
- );
-
- static void _get_type_skel (
- TAO_ServerRequest &req,
- void *obj,
- void *context,
- CORBA::Environment &env =
- TAO_default_environment ()
- );
-
- static void _get_def_kind_skel (
- TAO_ServerRequest &req,
- void *obj,
- void *context,
- CORBA::Environment &env =
- TAO_default_environment ()
- );
-
- static void destroy_skel (
- TAO_ServerRequest &req,
- void *obj,
- void *context,
- CORBA::Environment &env =
- TAO_default_environment ()
- );
-
-#if (TAO_HAS_INTERCEPTORS == 1)
- // Generation of interceptors related RequestInfo classes per operation.
- // This needed to be able to store the arguments, exceptions, contexts
- // and build the lists dynamically on demand so that unnecessary time overhead
- // of building these lists when they arent used is avoided.
- class TAO_ServerRequestInfo_IR_ValueBoxDef_original_type_def_get : public TAO_ServerRequestInfo
- {
- public:
- friend class POA_IR::ValueBoxDef;
- TAO_ServerRequestInfo_IR_ValueBoxDef_original_type_def_get (
- TAO_ServerRequest &_tao_server_request,
- POA_IR::ValueBoxDef *tao_impl
- ,
- CORBA::Environment &ACE_TRY_ENV =
- TAO_default_environment ()
- );
-
- virtual Dynamic::ParameterList * arguments (
- CORBA::Environment &ACE_TRY_ENV =
- TAO_default_environment ()
- )
- ACE_THROW_SPEC ((CORBA::SystemException));
-
- virtual Dynamic::ExceptionList * exceptions (
- CORBA::Environment &ACE_TRY_ENV =
- TAO_default_environment ()
- )
- ACE_THROW_SPEC ((CORBA::SystemException));
-
- virtual CORBA::Any * result (
- CORBA::Environment &ACE_TRY_ENV =
- TAO_default_environment ()
- )
- ACE_THROW_SPEC ((CORBA::SystemException));
-
- virtual char * target_most_derived_interface (
- CORBA::Environment &ACE_TRY_ENV = TAO_default_environment ())
- ACE_THROW_SPEC ((CORBA::SystemException));
-
- virtual CORBA::Boolean target_is_a (
- const char * id,
- CORBA::Environment &ACE_TRY_ENV = TAO_default_environment ())
- ACE_THROW_SPEC ((CORBA::SystemException));
-
-
- private:
- TAO_ServerRequestInfo_IR_ValueBoxDef_original_type_def_get (const TAO_ServerRequestInfo_IR_ValueBoxDef_original_type_def_get &);
- void operator= (const TAO_ServerRequestInfo_IR_ValueBoxDef_original_type_def_get &);
-
- private:
- POA_IR::ValueBoxDef *_tao_impl;
- void result (IR::IDLType_ptr result);
- // update the result
- IR_IDLType_ptr _result;
- };
-
- class TAO_ServerRequestInfo_IR_ValueBoxDef_original_type_def_set : public TAO_ServerRequestInfo
- {
- public:
- friend class POA_IR::ValueBoxDef;
- TAO_ServerRequestInfo_IR_ValueBoxDef_original_type_def_set (
- TAO_ServerRequest &_tao_server_request,
- POA_IR::ValueBoxDef *tao_impl
- ,
- IR_IDLType_ptr original_type_def,
- CORBA::Environment &ACE_TRY_ENV =
- TAO_default_environment ()
- );
-
- virtual Dynamic::ParameterList * arguments (
- CORBA::Environment &ACE_TRY_ENV =
- TAO_default_environment ()
- )
- ACE_THROW_SPEC ((CORBA::SystemException));
-
- virtual Dynamic::ExceptionList * exceptions (
- CORBA::Environment &ACE_TRY_ENV =
- TAO_default_environment ()
- )
- ACE_THROW_SPEC ((CORBA::SystemException));
-
- virtual CORBA::Any * result (
- CORBA::Environment &ACE_TRY_ENV =
- TAO_default_environment ()
- )
- ACE_THROW_SPEC ((CORBA::SystemException));
-
- virtual char * target_most_derived_interface (
- CORBA::Environment &ACE_TRY_ENV = TAO_default_environment ())
- ACE_THROW_SPEC ((CORBA::SystemException));
-
- virtual CORBA::Boolean target_is_a (
- const char * id,
- CORBA::Environment &ACE_TRY_ENV = TAO_default_environment ())
- ACE_THROW_SPEC ((CORBA::SystemException));
-
-
- private:
- TAO_ServerRequestInfo_IR_ValueBoxDef_original_type_def_set (const TAO_ServerRequestInfo_IR_ValueBoxDef_original_type_def_set &);
- void operator= (const TAO_ServerRequestInfo_IR_ValueBoxDef_original_type_def_set &);
-
- private:
- POA_IR::ValueBoxDef *_tao_impl;
- IR_IDLType_ptr original_type_def_;
- };
-
-#endif /* TAO_HAS_INTERCEPTORS */
-
- };
-
-///////////////////////////////////////////////////////////////////////
-// Strategized Proxy Broker Declaration
-//
-
-class _TAO_ValueBoxDef_Strategized_Proxy_Broker : public virtual _TAO_ValueBoxDef_Proxy_Broker
-{
-public:
- _TAO_ValueBoxDef_Strategized_Proxy_Broker (void);
-
- virtual ~_TAO_ValueBoxDef_Strategized_Proxy_Broker (void);
-
- virtual _TAO_ValueBoxDef_Proxy_Impl &select_proxy (
- IR_ValueBoxDef *object,
- CORBA_Environment &ACE_TRY_ENV = TAO_default_environment ()
- );
-
-private:
-
-// Helper methods that takes care to create the proxy
-// as soon as their use is necessary.
- void create_proxy (
- int strategy,
- CORBA::Environment &ACE_TRY_ENV
- );
-
-private:
-
- // Caches the proxy implementations. The proxy implementation
- // are totally stateless, and those can be shared by all the
- // instances of a given IDL interface type.
- _TAO_ValueBoxDef_Proxy_Impl
- *proxy_cache_[TAO_Collocation_Strategies::CS_LAST];
-
- TAO_SYNCH_MUTEX mutex_;
-// This funxtion is used to get an handle to the unique instance
-// of the Strategized Proxy Broker that is available for a given
-// interface.
-
-public:
- static _TAO_ValueBoxDef_Strategized_Proxy_Broker *the_TAO_ValueBoxDef_Strategized_Proxy_Broker (void);
-};
-
-//
-// End Strategized Proxy Broker Declaration
-///////////////////////////////////////////////////////////////////////
-
-
-///////////////////////////////////////////////////////////////////////
-// ThruPOA Impl. Declaration
-//
-
-class _TAO_ValueBoxDef_ThruPOA_Proxy_Impl :
- public virtual _TAO_ValueBoxDef_Proxy_Impl,
- public virtual TAO_ThruPOA_Object_Proxy_Impl,
- public virtual ::POA_IR::_TAO_TypedefDef_ThruPOA_Proxy_Impl
-
-{
-public:
- _TAO_ValueBoxDef_ThruPOA_Proxy_Impl (void);
-
- virtual ~_TAO_ValueBoxDef_ThruPOA_Proxy_Impl (void) { }
-
- virtual IR_IDLType_ptr original_type_def (
- CORBA_Object *_collocated_tao_target_,
- CORBA::Environment &ACE_TRY_ENV
- )
- ACE_THROW_SPEC ((
- CORBA::SystemException
- ));
-
- virtual void original_type_def (
- CORBA_Object *_collocated_tao_target_,
- IR_IDLType_ptr original_type_def,
- CORBA::Environment &ACE_TRY_ENV
- )
- ACE_THROW_SPEC ((
- CORBA::SystemException
- ));
-
-};
-
-
-//
-// ThruPOA Proxy Impl. Declaration
-///////////////////////////////////////////////////////////////////////
-
-#if defined (ACE_HAS_USING_KEYWORD)
- // TIE class: Refer to CORBA v2.2, Section 20.34.4
- template <class T>
- class ValueBoxDef_tie : public ValueBoxDef
- {
- public:
- ValueBoxDef_tie (T &t);
- // the T& ctor
- ValueBoxDef_tie (T &t, PortableServer::POA_ptr poa);
- // ctor taking a POA
- ValueBoxDef_tie (T *tp, CORBA::Boolean release=1);
- // ctor taking pointer and an ownership flag
- ValueBoxDef_tie (T *tp, PortableServer::POA_ptr poa, CORBA::Boolean release=1);
- // ctor with T*, ownership flag and a POA
- ~ValueBoxDef_tie (void);
- // dtor
-
- // TIE specific functions
- T *_tied_object (void);
- // return the underlying object
- void _tied_object (T &obj);
- // set the underlying object
- void _tied_object (T *obj, CORBA::Boolean release=1);
- // set the underlying object and the ownership flag
- CORBA::Boolean _is_owner (void);
- // do we own it
- void _is_owner (CORBA::Boolean b);
- // set the ownership
-
- // overridden ServantBase operations
- PortableServer::POA_ptr _default_POA (
- CORBA::Environment &env =
- TAO_default_environment ()
- );
- IR_IDLType_ptr original_type_def (
- CORBA::Environment &ACE_TRY_ENV =
- TAO_default_environment ()
- )
- ACE_THROW_SPEC ((
- CORBA::SystemException
- ));
-
- void original_type_def (
- IR_IDLType_ptr original_type_def,
- CORBA::Environment &ACE_TRY_ENV =
- TAO_default_environment ()
- )
- ACE_THROW_SPEC ((
- CORBA::SystemException
- ));
-
- char * id (
- CORBA::Environment &ACE_TRY_ENV =
- TAO_default_environment ()
- )
- ACE_THROW_SPEC ((
- CORBA::SystemException
- ));
-
- void id (
- const char * id,
- CORBA::Environment &ACE_TRY_ENV =
- TAO_default_environment ()
- )
- ACE_THROW_SPEC ((
- CORBA::SystemException
- ));
-
- char * name (
- CORBA::Environment &ACE_TRY_ENV =
- TAO_default_environment ()
- )
- ACE_THROW_SPEC ((
- CORBA::SystemException
- ));
-
- void name (
- const char * name,
- CORBA::Environment &ACE_TRY_ENV =
- TAO_default_environment ()
- )
- ACE_THROW_SPEC ((
- CORBA::SystemException
- ));
-
- char * version (
- CORBA::Environment &ACE_TRY_ENV =
- TAO_default_environment ()
- )
- ACE_THROW_SPEC ((
- CORBA::SystemException
- ));
-
- void version (
- const char * version,
- CORBA::Environment &ACE_TRY_ENV =
- TAO_default_environment ()
- )
- ACE_THROW_SPEC ((
- CORBA::SystemException
- ));
-
- IR_Container_ptr defined_in (
- CORBA::Environment &ACE_TRY_ENV =
- TAO_default_environment ()
- )
- ACE_THROW_SPEC ((
- CORBA::SystemException
- ));
-
- char * absolute_name (
- CORBA::Environment &ACE_TRY_ENV =
- TAO_default_environment ()
- )
- ACE_THROW_SPEC ((
- CORBA::SystemException
- ));
-
- IR_Repository_ptr containing_repository (
- CORBA::Environment &ACE_TRY_ENV =
- TAO_default_environment ()
- )
- ACE_THROW_SPEC ((
- CORBA::SystemException
- ));
-
- IR_Contained::Description * describe (
- CORBA::Environment &ACE_TRY_ENV =
- TAO_default_environment ()
- )
- ACE_THROW_SPEC ((
- CORBA::SystemException
- ));
-
- void move (
- IR_Container_ptr new_container,
- const char * new_name,
- const char * new_version,
- CORBA::Environment &ACE_TRY_ENV =
- TAO_default_environment ()
- )
- ACE_THROW_SPEC ((
- CORBA::SystemException
- ));
-
- CORBA::TypeCode_ptr type (
- CORBA::Environment &ACE_TRY_ENV =
- TAO_default_environment ()
- )
- ACE_THROW_SPEC ((
- CORBA::SystemException
- ));
-
- IR_DefinitionKind def_kind (
- CORBA::Environment &ACE_TRY_ENV =
- TAO_default_environment ()
- )
- ACE_THROW_SPEC ((
- CORBA::SystemException
- ));
-
- void destroy (
- CORBA::Environment &ACE_TRY_ENV =
- TAO_default_environment ()
- )
- ACE_THROW_SPEC ((
- CORBA::SystemException
- ));
-
-private:
- T *ptr_;
- PortableServer::POA_var poa_;
- CORBA::Boolean rel_;
-
- // copy and assignment are not allowed
- ValueBoxDef_tie (const ValueBoxDef_tie &);
- void operator= (const ValueBoxDef_tie &);
- };
-
-#endif /* ACE_HAS_USING_KEYWORD */
-
- class ProvidesDef;
- typedef ProvidesDef *ProvidesDef_ptr;
- // Forward Classes Declaration
- class _TAO_ProvidesDef_ThruPOA_Proxy_Impl;
- class _TAO_ProvidesDef_Strategized_Proxy_Broker;
-
- class ProvidesDef : public virtual Contained
- {
- protected:
- ProvidesDef (void);
-
- public:
- ProvidesDef (const ProvidesDef& rhs);
- virtual ~ProvidesDef (void);
-
-
- virtual CORBA::Boolean _is_a (
- const char* logical_type_id,
- CORBA::Environment &ACE_TRY_ENV =
- TAO_default_environment ()
- );
-
- virtual void* _downcast (
- const char* logical_type_id
- );
-
- static void _is_a_skel (
- TAO_ServerRequest &req,
- void *obj,
- void *context,
- CORBA::Environment &ACE_TRY_ENV =
- TAO_default_environment ()
- );
-
- static void _non_existent_skel (
- TAO_ServerRequest &req,
- void *obj,
- void *context,
- CORBA::Environment &ACE_TRY_ENV =
- TAO_default_environment ()
- );
-
- virtual void _dispatch (
- TAO_ServerRequest &_tao_req,
- void *_tao_context,
- CORBA::Environment &ACE_TRY_ENV =
- TAO_default_environment ()
- );
-
- IR_ProvidesDef *_this (
- CORBA::Environment &ACE_TRY_ENV =
- TAO_default_environment ()
- );
-
- virtual const char* _interface_repository_id (void) const;
-
- virtual IR_InterfaceDef_ptr interface_type (
- CORBA::Environment &ACE_TRY_ENV =
- TAO_default_environment ()
- )
- ACE_THROW_SPEC ((
- CORBA::SystemException
- )) = 0;
-
- static void _get_interface_type_skel (
- TAO_ServerRequest &_tao_req,
- void *_tao_obj,
- void *_tao_context,
- CORBA::Environment &ACE_TRY_ENV =
- TAO_default_environment ()
- );
-
- static void _get_id_skel (
- TAO_ServerRequest &req,
- void *obj,
- void *context,
- CORBA::Environment &env =
- TAO_default_environment ()
- );
-
- static void _set_id_skel (
- TAO_ServerRequest &req,
- void *obj,
- void *context,
- CORBA::Environment &env =
- TAO_default_environment ()
- );
-
- static void _get_name_skel (
- TAO_ServerRequest &req,
- void *obj,
- void *context,
- CORBA::Environment &env =
- TAO_default_environment ()
- );
-
- static void _set_name_skel (
- TAO_ServerRequest &req,
- void *obj,
- void *context,
- CORBA::Environment &env =
- TAO_default_environment ()
- );
-
- static void _get_version_skel (
- TAO_ServerRequest &req,
- void *obj,
- void *context,
- CORBA::Environment &env =
- TAO_default_environment ()
- );
-
- static void _set_version_skel (
- TAO_ServerRequest &req,
- void *obj,
- void *context,
- CORBA::Environment &env =
- TAO_default_environment ()
- );
-
- static void _get_defined_in_skel (
- TAO_ServerRequest &req,
- void *obj,
- void *context,
- CORBA::Environment &env =
- TAO_default_environment ()
- );
-
- static void _get_absolute_name_skel (
- TAO_ServerRequest &req,
- void *obj,
- void *context,
- CORBA::Environment &env =
- TAO_default_environment ()
- );
-
- static void _get_containing_repository_skel (
- TAO_ServerRequest &req,
- void *obj,
- void *context,
- CORBA::Environment &env =
- TAO_default_environment ()
- );
-
- static void describe_skel (
- TAO_ServerRequest &req,
- void *obj,
- void *context,
- CORBA::Environment &env =
- TAO_default_environment ()
- );
-
- static void move_skel (
- TAO_ServerRequest &req,
- void *obj,
- void *context,
- CORBA::Environment &env =
- TAO_default_environment ()
- );
-
- static void _get_def_kind_skel (
- TAO_ServerRequest &req,
- void *obj,
- void *context,
- CORBA::Environment &env =
- TAO_default_environment ()
- );
-
- static void destroy_skel (
- TAO_ServerRequest &req,
- void *obj,
- void *context,
- CORBA::Environment &env =
- TAO_default_environment ()
- );
-
-#if (TAO_HAS_INTERCEPTORS == 1)
- // Generation of interceptors related RequestInfo classes per operation.
- // This needed to be able to store the arguments, exceptions, contexts
- // and build the lists dynamically on demand so that unnecessary time overhead
- // of building these lists when they arent used is avoided.
- class TAO_ServerRequestInfo_IR_ProvidesDef_interface_type_get : public TAO_ServerRequestInfo
- {
- public:
- friend class POA_IR::ProvidesDef;
- TAO_ServerRequestInfo_IR_ProvidesDef_interface_type_get (
- TAO_ServerRequest &_tao_server_request,
- POA_IR::ProvidesDef *tao_impl
- ,
- CORBA::Environment &ACE_TRY_ENV =
- TAO_default_environment ()
- );
-
- virtual Dynamic::ParameterList * arguments (
- CORBA::Environment &ACE_TRY_ENV =
- TAO_default_environment ()
- )
- ACE_THROW_SPEC ((CORBA::SystemException));
-
- virtual Dynamic::ExceptionList * exceptions (
- CORBA::Environment &ACE_TRY_ENV =
- TAO_default_environment ()
- )
- ACE_THROW_SPEC ((CORBA::SystemException));
-
- virtual CORBA::Any * result (
- CORBA::Environment &ACE_TRY_ENV =
- TAO_default_environment ()
- )
- ACE_THROW_SPEC ((CORBA::SystemException));
-
- virtual char * target_most_derived_interface (
- CORBA::Environment &ACE_TRY_ENV = TAO_default_environment ())
- ACE_THROW_SPEC ((CORBA::SystemException));
-
- virtual CORBA::Boolean target_is_a (
- const char * id,
- CORBA::Environment &ACE_TRY_ENV = TAO_default_environment ())
- ACE_THROW_SPEC ((CORBA::SystemException));
-
-
- private:
- TAO_ServerRequestInfo_IR_ProvidesDef_interface_type_get (const TAO_ServerRequestInfo_IR_ProvidesDef_interface_type_get &);
- void operator= (const TAO_ServerRequestInfo_IR_ProvidesDef_interface_type_get &);
-
- private:
- POA_IR::ProvidesDef *_tao_impl;
- void result (IR::InterfaceDef_ptr result);
- // update the result
- IR_InterfaceDef_ptr _result;
- };
-
-#endif /* TAO_HAS_INTERCEPTORS */
-
- };
-
-///////////////////////////////////////////////////////////////////////
-// Strategized Proxy Broker Declaration
-//
-
-class _TAO_ProvidesDef_Strategized_Proxy_Broker : public virtual _TAO_ProvidesDef_Proxy_Broker
-{
-public:
- _TAO_ProvidesDef_Strategized_Proxy_Broker (void);
-
- virtual ~_TAO_ProvidesDef_Strategized_Proxy_Broker (void);
-
- virtual _TAO_ProvidesDef_Proxy_Impl &select_proxy (
- IR_ProvidesDef *object,
- CORBA_Environment &ACE_TRY_ENV = TAO_default_environment ()
- );
-
-private:
-
-// Helper methods that takes care to create the proxy
-// as soon as their use is necessary.
- void create_proxy (
- int strategy,
- CORBA::Environment &ACE_TRY_ENV
- );
-
-private:
-
- // Caches the proxy implementations. The proxy implementation
- // are totally stateless, and those can be shared by all the
- // instances of a given IDL interface type.
- _TAO_ProvidesDef_Proxy_Impl
- *proxy_cache_[TAO_Collocation_Strategies::CS_LAST];
-
- TAO_SYNCH_MUTEX mutex_;
-// This funxtion is used to get an handle to the unique instance
-// of the Strategized Proxy Broker that is available for a given
-// interface.
-
-public:
- static _TAO_ProvidesDef_Strategized_Proxy_Broker *the_TAO_ProvidesDef_Strategized_Proxy_Broker (void);
-};
-
-//
-// End Strategized Proxy Broker Declaration
-///////////////////////////////////////////////////////////////////////
-
-
-///////////////////////////////////////////////////////////////////////
-// ThruPOA Impl. Declaration
-//
-
-class _TAO_ProvidesDef_ThruPOA_Proxy_Impl :
- public virtual _TAO_ProvidesDef_Proxy_Impl,
- public virtual TAO_ThruPOA_Object_Proxy_Impl,
- public virtual ::POA_IR::_TAO_Contained_ThruPOA_Proxy_Impl
-
-{
-public:
- _TAO_ProvidesDef_ThruPOA_Proxy_Impl (void);
-
- virtual ~_TAO_ProvidesDef_ThruPOA_Proxy_Impl (void) { }
-
- virtual IR_InterfaceDef_ptr interface_type (
- CORBA_Object *_collocated_tao_target_,
- CORBA::Environment &ACE_TRY_ENV
- )
- ACE_THROW_SPEC ((
- CORBA::SystemException
- ));
-
-};
-
-
-//
-// ThruPOA Proxy Impl. Declaration
-///////////////////////////////////////////////////////////////////////
-
-#if defined (ACE_HAS_USING_KEYWORD)
- // TIE class: Refer to CORBA v2.2, Section 20.34.4
- template <class T>
- class ProvidesDef_tie : public ProvidesDef
- {
- public:
- ProvidesDef_tie (T &t);
- // the T& ctor
- ProvidesDef_tie (T &t, PortableServer::POA_ptr poa);
- // ctor taking a POA
- ProvidesDef_tie (T *tp, CORBA::Boolean release=1);
- // ctor taking pointer and an ownership flag
- ProvidesDef_tie (T *tp, PortableServer::POA_ptr poa, CORBA::Boolean release=1);
- // ctor with T*, ownership flag and a POA
- ~ProvidesDef_tie (void);
- // dtor
-
- // TIE specific functions
- T *_tied_object (void);
- // return the underlying object
- void _tied_object (T &obj);
- // set the underlying object
- void _tied_object (T *obj, CORBA::Boolean release=1);
- // set the underlying object and the ownership flag
- CORBA::Boolean _is_owner (void);
- // do we own it
- void _is_owner (CORBA::Boolean b);
- // set the ownership
-
- // overridden ServantBase operations
- PortableServer::POA_ptr _default_POA (
- CORBA::Environment &env =
- TAO_default_environment ()
- );
- IR_InterfaceDef_ptr interface_type (
- CORBA::Environment &ACE_TRY_ENV =
- TAO_default_environment ()
- )
- ACE_THROW_SPEC ((
- CORBA::SystemException
- ));
-
- char * id (
- CORBA::Environment &ACE_TRY_ENV =
- TAO_default_environment ()
- )
- ACE_THROW_SPEC ((
- CORBA::SystemException
- ));
-
- void id (
- const char * id,
- CORBA::Environment &ACE_TRY_ENV =
- TAO_default_environment ()
- )
- ACE_THROW_SPEC ((
- CORBA::SystemException
- ));
-
- char * name (
- CORBA::Environment &ACE_TRY_ENV =
- TAO_default_environment ()
- )
- ACE_THROW_SPEC ((
- CORBA::SystemException
- ));
-
- void name (
- const char * name,
- CORBA::Environment &ACE_TRY_ENV =
- TAO_default_environment ()
- )
- ACE_THROW_SPEC ((
- CORBA::SystemException
- ));
-
- char * version (
- CORBA::Environment &ACE_TRY_ENV =
- TAO_default_environment ()
- )
- ACE_THROW_SPEC ((
- CORBA::SystemException
- ));
-
- void version (
- const char * version,
- CORBA::Environment &ACE_TRY_ENV =
- TAO_default_environment ()
- )
- ACE_THROW_SPEC ((
- CORBA::SystemException
- ));
-
- IR_Container_ptr defined_in (
- CORBA::Environment &ACE_TRY_ENV =
- TAO_default_environment ()
- )
- ACE_THROW_SPEC ((
- CORBA::SystemException
- ));
-
- char * absolute_name (
- CORBA::Environment &ACE_TRY_ENV =
- TAO_default_environment ()
- )
- ACE_THROW_SPEC ((
- CORBA::SystemException
- ));
-
- IR_Repository_ptr containing_repository (
- CORBA::Environment &ACE_TRY_ENV =
- TAO_default_environment ()
- )
- ACE_THROW_SPEC ((
- CORBA::SystemException
- ));
-
- IR_Contained::Description * describe (
- CORBA::Environment &ACE_TRY_ENV =
- TAO_default_environment ()
- )
- ACE_THROW_SPEC ((
- CORBA::SystemException
- ));
-
- void move (
- IR_Container_ptr new_container,
- const char * new_name,
- const char * new_version,
- CORBA::Environment &ACE_TRY_ENV =
- TAO_default_environment ()
- )
- ACE_THROW_SPEC ((
- CORBA::SystemException
- ));
-
- IR_DefinitionKind def_kind (
- CORBA::Environment &ACE_TRY_ENV =
- TAO_default_environment ()
- )
- ACE_THROW_SPEC ((
- CORBA::SystemException
- ));
-
- void destroy (
- CORBA::Environment &ACE_TRY_ENV =
- TAO_default_environment ()
- )
- ACE_THROW_SPEC ((
- CORBA::SystemException
- ));
-
-private:
- T *ptr_;
- PortableServer::POA_var poa_;
- CORBA::Boolean rel_;
-
- // copy and assignment are not allowed
- ProvidesDef_tie (const ProvidesDef_tie &);
- void operator= (const ProvidesDef_tie &);
- };
-
-#endif /* ACE_HAS_USING_KEYWORD */
-
- class UsesDef;
- typedef UsesDef *UsesDef_ptr;
- // Forward Classes Declaration
- class _TAO_UsesDef_ThruPOA_Proxy_Impl;
- class _TAO_UsesDef_Strategized_Proxy_Broker;
-
- class UsesDef : public virtual Contained
- {
- protected:
- UsesDef (void);
-
- public:
- UsesDef (const UsesDef& rhs);
- virtual ~UsesDef (void);
-
-
- virtual CORBA::Boolean _is_a (
- const char* logical_type_id,
- CORBA::Environment &ACE_TRY_ENV =
- TAO_default_environment ()
- );
-
- virtual void* _downcast (
- const char* logical_type_id
- );
-
- static void _is_a_skel (
- TAO_ServerRequest &req,
- void *obj,
- void *context,
- CORBA::Environment &ACE_TRY_ENV =
- TAO_default_environment ()
- );
-
- static void _non_existent_skel (
- TAO_ServerRequest &req,
- void *obj,
- void *context,
- CORBA::Environment &ACE_TRY_ENV =
- TAO_default_environment ()
- );
-
- virtual void _dispatch (
- TAO_ServerRequest &_tao_req,
- void *_tao_context,
- CORBA::Environment &ACE_TRY_ENV =
- TAO_default_environment ()
- );
-
- IR_UsesDef *_this (
- CORBA::Environment &ACE_TRY_ENV =
- TAO_default_environment ()
- );
-
- virtual const char* _interface_repository_id (void) const;
-
- virtual IR_InterfaceDef_ptr interface_type (
- CORBA::Environment &ACE_TRY_ENV =
- TAO_default_environment ()
- )
- ACE_THROW_SPEC ((
- CORBA::SystemException
- )) = 0;
-
- static void _get_interface_type_skel (
- TAO_ServerRequest &_tao_req,
- void *_tao_obj,
- void *_tao_context,
- CORBA::Environment &ACE_TRY_ENV =
- TAO_default_environment ()
- );
-
- virtual CORBA::Boolean is_multiple (
- CORBA::Environment &ACE_TRY_ENV =
- TAO_default_environment ()
- )
- ACE_THROW_SPEC ((
- CORBA::SystemException
- )) = 0;
-
- static void _get_is_multiple_skel (
- TAO_ServerRequest &_tao_req,
- void *_tao_obj,
- void *_tao_context,
- CORBA::Environment &ACE_TRY_ENV =
- TAO_default_environment ()
- );
-
- static void _get_id_skel (
- TAO_ServerRequest &req,
- void *obj,
- void *context,
- CORBA::Environment &env =
- TAO_default_environment ()
- );
-
- static void _set_id_skel (
- TAO_ServerRequest &req,
- void *obj,
- void *context,
- CORBA::Environment &env =
- TAO_default_environment ()
- );
-
- static void _get_name_skel (
- TAO_ServerRequest &req,
- void *obj,
- void *context,
- CORBA::Environment &env =
- TAO_default_environment ()
- );
-
- static void _set_name_skel (
- TAO_ServerRequest &req,
- void *obj,
- void *context,
- CORBA::Environment &env =
- TAO_default_environment ()
- );
-
- static void _get_version_skel (
- TAO_ServerRequest &req,
- void *obj,
- void *context,
- CORBA::Environment &env =
- TAO_default_environment ()
- );
-
- static void _set_version_skel (
- TAO_ServerRequest &req,
- void *obj,
- void *context,
- CORBA::Environment &env =
- TAO_default_environment ()
- );
-
- static void _get_defined_in_skel (
- TAO_ServerRequest &req,
- void *obj,
- void *context,
- CORBA::Environment &env =
- TAO_default_environment ()
- );
-
- static void _get_absolute_name_skel (
- TAO_ServerRequest &req,
- void *obj,
- void *context,
- CORBA::Environment &env =
- TAO_default_environment ()
- );
-
- static void _get_containing_repository_skel (
- TAO_ServerRequest &req,
- void *obj,
- void *context,
- CORBA::Environment &env =
- TAO_default_environment ()
- );
-
- static void describe_skel (
- TAO_ServerRequest &req,
- void *obj,
- void *context,
- CORBA::Environment &env =
- TAO_default_environment ()
- );
-
- static void move_skel (
- TAO_ServerRequest &req,
- void *obj,
- void *context,
- CORBA::Environment &env =
- TAO_default_environment ()
- );
-
- static void _get_def_kind_skel (
- TAO_ServerRequest &req,
- void *obj,
- void *context,
- CORBA::Environment &env =
- TAO_default_environment ()
- );
-
- static void destroy_skel (
- TAO_ServerRequest &req,
- void *obj,
- void *context,
- CORBA::Environment &env =
- TAO_default_environment ()
- );
-
-#if (TAO_HAS_INTERCEPTORS == 1)
- // Generation of interceptors related RequestInfo classes per operation.
- // This needed to be able to store the arguments, exceptions, contexts
- // and build the lists dynamically on demand so that unnecessary time overhead
- // of building these lists when they arent used is avoided.
- class TAO_ServerRequestInfo_IR_UsesDef_interface_type_get : public TAO_ServerRequestInfo
- {
- public:
- friend class POA_IR::UsesDef;
- TAO_ServerRequestInfo_IR_UsesDef_interface_type_get (
- TAO_ServerRequest &_tao_server_request,
- POA_IR::UsesDef *tao_impl
- ,
- CORBA::Environment &ACE_TRY_ENV =
- TAO_default_environment ()
- );
-
- virtual Dynamic::ParameterList * arguments (
- CORBA::Environment &ACE_TRY_ENV =
- TAO_default_environment ()
- )
- ACE_THROW_SPEC ((CORBA::SystemException));
-
- virtual Dynamic::ExceptionList * exceptions (
- CORBA::Environment &ACE_TRY_ENV =
- TAO_default_environment ()
- )
- ACE_THROW_SPEC ((CORBA::SystemException));
-
- virtual CORBA::Any * result (
- CORBA::Environment &ACE_TRY_ENV =
- TAO_default_environment ()
- )
- ACE_THROW_SPEC ((CORBA::SystemException));
-
- virtual char * target_most_derived_interface (
- CORBA::Environment &ACE_TRY_ENV = TAO_default_environment ())
- ACE_THROW_SPEC ((CORBA::SystemException));
-
- virtual CORBA::Boolean target_is_a (
- const char * id,
- CORBA::Environment &ACE_TRY_ENV = TAO_default_environment ())
- ACE_THROW_SPEC ((CORBA::SystemException));
-
-
- private:
- TAO_ServerRequestInfo_IR_UsesDef_interface_type_get (const TAO_ServerRequestInfo_IR_UsesDef_interface_type_get &);
- void operator= (const TAO_ServerRequestInfo_IR_UsesDef_interface_type_get &);
-
- private:
- POA_IR::UsesDef *_tao_impl;
- void result (IR::InterfaceDef_ptr result);
- // update the result
- IR_InterfaceDef_ptr _result;
- };
-
- class TAO_ServerRequestInfo_IR_UsesDef_is_multiple_get : public TAO_ServerRequestInfo
- {
- public:
- friend class POA_IR::UsesDef;
- TAO_ServerRequestInfo_IR_UsesDef_is_multiple_get (
- TAO_ServerRequest &_tao_server_request,
- POA_IR::UsesDef *tao_impl
- ,
- CORBA::Environment &ACE_TRY_ENV =
- TAO_default_environment ()
- );
-
- virtual Dynamic::ParameterList * arguments (
- CORBA::Environment &ACE_TRY_ENV =
- TAO_default_environment ()
- )
- ACE_THROW_SPEC ((CORBA::SystemException));
-
- virtual Dynamic::ExceptionList * exceptions (
- CORBA::Environment &ACE_TRY_ENV =
- TAO_default_environment ()
- )
- ACE_THROW_SPEC ((CORBA::SystemException));
-
- virtual CORBA::Any * result (
- CORBA::Environment &ACE_TRY_ENV =
- TAO_default_environment ()
- )
- ACE_THROW_SPEC ((CORBA::SystemException));
-
- virtual char * target_most_derived_interface (
- CORBA::Environment &ACE_TRY_ENV = TAO_default_environment ())
- ACE_THROW_SPEC ((CORBA::SystemException));
-
- virtual CORBA::Boolean target_is_a (
- const char * id,
- CORBA::Environment &ACE_TRY_ENV = TAO_default_environment ())
- ACE_THROW_SPEC ((CORBA::SystemException));
-
-
- private:
- TAO_ServerRequestInfo_IR_UsesDef_is_multiple_get (const TAO_ServerRequestInfo_IR_UsesDef_is_multiple_get &);
- void operator= (const TAO_ServerRequestInfo_IR_UsesDef_is_multiple_get &);
-
- private:
- POA_IR::UsesDef *_tao_impl;
- void result (CORBA::Boolean result);
- // update the result
- CORBA::Boolean _result;
- };
-
-#endif /* TAO_HAS_INTERCEPTORS */
-
- };
-
-///////////////////////////////////////////////////////////////////////
-// Strategized Proxy Broker Declaration
-//
-
-class _TAO_UsesDef_Strategized_Proxy_Broker : public virtual _TAO_UsesDef_Proxy_Broker
-{
-public:
- _TAO_UsesDef_Strategized_Proxy_Broker (void);
-
- virtual ~_TAO_UsesDef_Strategized_Proxy_Broker (void);
-
- virtual _TAO_UsesDef_Proxy_Impl &select_proxy (
- IR_UsesDef *object,
- CORBA_Environment &ACE_TRY_ENV = TAO_default_environment ()
- );
-
-private:
-
-// Helper methods that takes care to create the proxy
-// as soon as their use is necessary.
- void create_proxy (
- int strategy,
- CORBA::Environment &ACE_TRY_ENV
- );
-
-private:
-
- // Caches the proxy implementations. The proxy implementation
- // are totally stateless, and those can be shared by all the
- // instances of a given IDL interface type.
- _TAO_UsesDef_Proxy_Impl
- *proxy_cache_[TAO_Collocation_Strategies::CS_LAST];
-
- TAO_SYNCH_MUTEX mutex_;
-// This funxtion is used to get an handle to the unique instance
-// of the Strategized Proxy Broker that is available for a given
-// interface.
-
-public:
- static _TAO_UsesDef_Strategized_Proxy_Broker *the_TAO_UsesDef_Strategized_Proxy_Broker (void);
-};
-
-//
-// End Strategized Proxy Broker Declaration
-///////////////////////////////////////////////////////////////////////
-
-
-///////////////////////////////////////////////////////////////////////
-// ThruPOA Impl. Declaration
-//
-
-class _TAO_UsesDef_ThruPOA_Proxy_Impl :
- public virtual _TAO_UsesDef_Proxy_Impl,
- public virtual TAO_ThruPOA_Object_Proxy_Impl,
- public virtual ::POA_IR::_TAO_Contained_ThruPOA_Proxy_Impl
-
-{
-public:
- _TAO_UsesDef_ThruPOA_Proxy_Impl (void);
-
- virtual ~_TAO_UsesDef_ThruPOA_Proxy_Impl (void) { }
-
- virtual IR_InterfaceDef_ptr interface_type (
- CORBA_Object *_collocated_tao_target_,
- CORBA::Environment &ACE_TRY_ENV
- )
- ACE_THROW_SPEC ((
- CORBA::SystemException
- ));
-
- virtual CORBA::Boolean is_multiple (
- CORBA_Object *_collocated_tao_target_,
- CORBA::Environment &ACE_TRY_ENV
- )
- ACE_THROW_SPEC ((
- CORBA::SystemException
- ));
-
-};
-
-
-//
-// ThruPOA Proxy Impl. Declaration
-///////////////////////////////////////////////////////////////////////
-
-#if defined (ACE_HAS_USING_KEYWORD)
- // TIE class: Refer to CORBA v2.2, Section 20.34.4
- template <class T>
- class UsesDef_tie : public UsesDef
- {
- public:
- UsesDef_tie (T &t);
- // the T& ctor
- UsesDef_tie (T &t, PortableServer::POA_ptr poa);
- // ctor taking a POA
- UsesDef_tie (T *tp, CORBA::Boolean release=1);
- // ctor taking pointer and an ownership flag
- UsesDef_tie (T *tp, PortableServer::POA_ptr poa, CORBA::Boolean release=1);
- // ctor with T*, ownership flag and a POA
- ~UsesDef_tie (void);
- // dtor
-
- // TIE specific functions
- T *_tied_object (void);
- // return the underlying object
- void _tied_object (T &obj);
- // set the underlying object
- void _tied_object (T *obj, CORBA::Boolean release=1);
- // set the underlying object and the ownership flag
- CORBA::Boolean _is_owner (void);
- // do we own it
- void _is_owner (CORBA::Boolean b);
- // set the ownership
-
- // overridden ServantBase operations
- PortableServer::POA_ptr _default_POA (
- CORBA::Environment &env =
- TAO_default_environment ()
- );
- IR_InterfaceDef_ptr interface_type (
- CORBA::Environment &ACE_TRY_ENV =
- TAO_default_environment ()
- )
- ACE_THROW_SPEC ((
- CORBA::SystemException
- ));
-
- CORBA::Boolean is_multiple (
- CORBA::Environment &ACE_TRY_ENV =
- TAO_default_environment ()
- )
- ACE_THROW_SPEC ((
- CORBA::SystemException
- ));
-
- char * id (
- CORBA::Environment &ACE_TRY_ENV =
- TAO_default_environment ()
- )
- ACE_THROW_SPEC ((
- CORBA::SystemException
- ));
-
- void id (
- const char * id,
- CORBA::Environment &ACE_TRY_ENV =
- TAO_default_environment ()
- )
- ACE_THROW_SPEC ((
- CORBA::SystemException
- ));
-
- char * name (
- CORBA::Environment &ACE_TRY_ENV =
- TAO_default_environment ()
- )
- ACE_THROW_SPEC ((
- CORBA::SystemException
- ));
-
- void name (
- const char * name,
- CORBA::Environment &ACE_TRY_ENV =
- TAO_default_environment ()
- )
- ACE_THROW_SPEC ((
- CORBA::SystemException
- ));
-
- char * version (
- CORBA::Environment &ACE_TRY_ENV =
- TAO_default_environment ()
- )
- ACE_THROW_SPEC ((
- CORBA::SystemException
- ));
-
- void version (
- const char * version,
- CORBA::Environment &ACE_TRY_ENV =
- TAO_default_environment ()
- )
- ACE_THROW_SPEC ((
- CORBA::SystemException
- ));
-
- IR_Container_ptr defined_in (
- CORBA::Environment &ACE_TRY_ENV =
- TAO_default_environment ()
- )
- ACE_THROW_SPEC ((
- CORBA::SystemException
- ));
-
- char * absolute_name (
- CORBA::Environment &ACE_TRY_ENV =
- TAO_default_environment ()
- )
- ACE_THROW_SPEC ((
- CORBA::SystemException
- ));
-
- IR_Repository_ptr containing_repository (
- CORBA::Environment &ACE_TRY_ENV =
- TAO_default_environment ()
- )
- ACE_THROW_SPEC ((
- CORBA::SystemException
- ));
-
- IR_Contained::Description * describe (
- CORBA::Environment &ACE_TRY_ENV =
- TAO_default_environment ()
- )
- ACE_THROW_SPEC ((
- CORBA::SystemException
- ));
-
- void move (
- IR_Container_ptr new_container,
- const char * new_name,
- const char * new_version,
- CORBA::Environment &ACE_TRY_ENV =
- TAO_default_environment ()
- )
- ACE_THROW_SPEC ((
- CORBA::SystemException
- ));
-
- IR_DefinitionKind def_kind (
- CORBA::Environment &ACE_TRY_ENV =
- TAO_default_environment ()
- )
- ACE_THROW_SPEC ((
- CORBA::SystemException
- ));
-
- void destroy (
- CORBA::Environment &ACE_TRY_ENV =
- TAO_default_environment ()
- )
- ACE_THROW_SPEC ((
- CORBA::SystemException
- ));
-
-private:
- T *ptr_;
- PortableServer::POA_var poa_;
- CORBA::Boolean rel_;
-
- // copy and assignment are not allowed
- UsesDef_tie (const UsesDef_tie &);
- void operator= (const UsesDef_tie &);
- };
-
-#endif /* ACE_HAS_USING_KEYWORD */
-
- class EventDef;
- typedef EventDef *EventDef_ptr;
- // Forward Classes Declaration
- class _TAO_EventDef_ThruPOA_Proxy_Impl;
- class _TAO_EventDef_Strategized_Proxy_Broker;
-
- class EventDef : public virtual Contained
- {
- protected:
- EventDef (void);
-
- public:
- EventDef (const EventDef& rhs);
- virtual ~EventDef (void);
-
-
- virtual CORBA::Boolean _is_a (
- const char* logical_type_id,
- CORBA::Environment &ACE_TRY_ENV =
- TAO_default_environment ()
- );
-
- virtual void* _downcast (
- const char* logical_type_id
- );
-
- static void _is_a_skel (
- TAO_ServerRequest &req,
- void *obj,
- void *context,
- CORBA::Environment &ACE_TRY_ENV =
- TAO_default_environment ()
- );
-
- static void _non_existent_skel (
- TAO_ServerRequest &req,
- void *obj,
- void *context,
- CORBA::Environment &ACE_TRY_ENV =
- TAO_default_environment ()
- );
-
- virtual void _dispatch (
- TAO_ServerRequest &_tao_req,
- void *_tao_context,
- CORBA::Environment &ACE_TRY_ENV =
- TAO_default_environment ()
- );
-
- IR_EventDef *_this (
- CORBA::Environment &ACE_TRY_ENV =
- TAO_default_environment ()
- );
-
- virtual const char* _interface_repository_id (void) const;
-
- virtual CORBA::Boolean is_a (
- const char * event_id,
- CORBA::Environment &ACE_TRY_ENV =
- TAO_default_environment ()
- )
- ACE_THROW_SPEC ((
- CORBA::SystemException
- )) = 0;
-
- static void is_a_skel (
- TAO_ServerRequest &_tao_req,
- void *_tao_obj,
- void *_tao_context,
- CORBA::Environment &ACE_TRY_ENV =
- TAO_default_environment ()
- );
-
- virtual IR_ValueDef_ptr event (
- CORBA::Environment &ACE_TRY_ENV =
- TAO_default_environment ()
- )
- ACE_THROW_SPEC ((
- CORBA::SystemException
- )) = 0;
-
- static void _get_event_skel (
- TAO_ServerRequest &_tao_req,
- void *_tao_obj,
- void *_tao_context,
- CORBA::Environment &ACE_TRY_ENV =
- TAO_default_environment ()
- );
-
- static void _get_id_skel (
- TAO_ServerRequest &req,
- void *obj,
- void *context,
- CORBA::Environment &env =
- TAO_default_environment ()
- );
-
- static void _set_id_skel (
- TAO_ServerRequest &req,
- void *obj,
- void *context,
- CORBA::Environment &env =
- TAO_default_environment ()
- );
-
- static void _get_name_skel (
- TAO_ServerRequest &req,
- void *obj,
- void *context,
- CORBA::Environment &env =
- TAO_default_environment ()
- );
-
- static void _set_name_skel (
- TAO_ServerRequest &req,
- void *obj,
- void *context,
- CORBA::Environment &env =
- TAO_default_environment ()
- );
-
- static void _get_version_skel (
- TAO_ServerRequest &req,
- void *obj,
- void *context,
- CORBA::Environment &env =
- TAO_default_environment ()
- );
-
- static void _set_version_skel (
- TAO_ServerRequest &req,
- void *obj,
- void *context,
- CORBA::Environment &env =
- TAO_default_environment ()
- );
-
- static void _get_defined_in_skel (
- TAO_ServerRequest &req,
- void *obj,
- void *context,
- CORBA::Environment &env =
- TAO_default_environment ()
- );
-
- static void _get_absolute_name_skel (
- TAO_ServerRequest &req,
- void *obj,
- void *context,
- CORBA::Environment &env =
- TAO_default_environment ()
- );
-
- static void _get_containing_repository_skel (
- TAO_ServerRequest &req,
- void *obj,
- void *context,
- CORBA::Environment &env =
- TAO_default_environment ()
- );
-
- static void describe_skel (
- TAO_ServerRequest &req,
- void *obj,
- void *context,
- CORBA::Environment &env =
- TAO_default_environment ()
- );
-
- static void move_skel (
- TAO_ServerRequest &req,
- void *obj,
- void *context,
- CORBA::Environment &env =
- TAO_default_environment ()
- );
-
- static void _get_def_kind_skel (
- TAO_ServerRequest &req,
- void *obj,
- void *context,
- CORBA::Environment &env =
- TAO_default_environment ()
- );
-
- static void destroy_skel (
- TAO_ServerRequest &req,
- void *obj,
- void *context,
- CORBA::Environment &env =
- TAO_default_environment ()
- );
-
-#if (TAO_HAS_INTERCEPTORS == 1)
- // Generation of interceptors related RequestInfo classes per operation.
- // This needed to be able to store the arguments, exceptions, contexts
- // and build the lists dynamically on demand so that unnecessary time overhead
- // of building these lists when they arent used is avoided.
- class TAO_ServerRequestInfo_IR_EventDef_is_a : public TAO_ServerRequestInfo
- {
- public:
- friend class POA_IR::EventDef;
- TAO_ServerRequestInfo_IR_EventDef_is_a (
- TAO_ServerRequest &_tao_server_request,
- POA_IR::EventDef *tao_impl
- ,
- const char * event_id,
- CORBA::Environment &ACE_TRY_ENV =
- TAO_default_environment ()
- );
-
- virtual Dynamic::ParameterList * arguments (
- CORBA::Environment &ACE_TRY_ENV =
- TAO_default_environment ()
- )
- ACE_THROW_SPEC ((CORBA::SystemException));
-
- virtual Dynamic::ExceptionList * exceptions (
- CORBA::Environment &ACE_TRY_ENV =
- TAO_default_environment ()
- )
- ACE_THROW_SPEC ((CORBA::SystemException));
-
- virtual CORBA::Any * result (
- CORBA::Environment &ACE_TRY_ENV =
- TAO_default_environment ()
- )
- ACE_THROW_SPEC ((CORBA::SystemException));
-
- virtual char * target_most_derived_interface (
- CORBA::Environment &ACE_TRY_ENV = TAO_default_environment ())
- ACE_THROW_SPEC ((CORBA::SystemException));
-
- virtual CORBA::Boolean target_is_a (
- const char * id,
- CORBA::Environment &ACE_TRY_ENV = TAO_default_environment ())
- ACE_THROW_SPEC ((CORBA::SystemException));
-
-
- private:
- TAO_ServerRequestInfo_IR_EventDef_is_a (const TAO_ServerRequestInfo_IR_EventDef_is_a &);
- void operator= (const TAO_ServerRequestInfo_IR_EventDef_is_a &);
-
- private:
- POA_IR::EventDef *_tao_impl;
- const char * event_id_;
- void result (CORBA::Boolean result);
- // update the result
- CORBA::Boolean _result;
- };
-
- class TAO_ServerRequestInfo_IR_EventDef_event_get : public TAO_ServerRequestInfo
- {
- public:
- friend class POA_IR::EventDef;
- TAO_ServerRequestInfo_IR_EventDef_event_get (
- TAO_ServerRequest &_tao_server_request,
- POA_IR::EventDef *tao_impl
- ,
- CORBA::Environment &ACE_TRY_ENV =
- TAO_default_environment ()
- );
-
- virtual Dynamic::ParameterList * arguments (
- CORBA::Environment &ACE_TRY_ENV =
- TAO_default_environment ()
- )
- ACE_THROW_SPEC ((CORBA::SystemException));
-
- virtual Dynamic::ExceptionList * exceptions (
- CORBA::Environment &ACE_TRY_ENV =
- TAO_default_environment ()
- )
- ACE_THROW_SPEC ((CORBA::SystemException));
-
- virtual CORBA::Any * result (
- CORBA::Environment &ACE_TRY_ENV =
- TAO_default_environment ()
- )
- ACE_THROW_SPEC ((CORBA::SystemException));
-
- virtual char * target_most_derived_interface (
- CORBA::Environment &ACE_TRY_ENV = TAO_default_environment ())
- ACE_THROW_SPEC ((CORBA::SystemException));
-
- virtual CORBA::Boolean target_is_a (
- const char * id,
- CORBA::Environment &ACE_TRY_ENV = TAO_default_environment ())
- ACE_THROW_SPEC ((CORBA::SystemException));
-
-
- private:
- TAO_ServerRequestInfo_IR_EventDef_event_get (const TAO_ServerRequestInfo_IR_EventDef_event_get &);
- void operator= (const TAO_ServerRequestInfo_IR_EventDef_event_get &);
-
- private:
- POA_IR::EventDef *_tao_impl;
- void result (IR::ValueDef_ptr result);
- // update the result
- IR_ValueDef_ptr _result;
- };
-
-#endif /* TAO_HAS_INTERCEPTORS */
-
- };
-
-///////////////////////////////////////////////////////////////////////
-// Strategized Proxy Broker Declaration
-//
-
-class _TAO_EventDef_Strategized_Proxy_Broker : public virtual _TAO_EventDef_Proxy_Broker
-{
-public:
- _TAO_EventDef_Strategized_Proxy_Broker (void);
-
- virtual ~_TAO_EventDef_Strategized_Proxy_Broker (void);
-
- virtual _TAO_EventDef_Proxy_Impl &select_proxy (
- IR_EventDef *object,
- CORBA_Environment &ACE_TRY_ENV = TAO_default_environment ()
- );
-
-private:
-
-// Helper methods that takes care to create the proxy
-// as soon as their use is necessary.
- void create_proxy (
- int strategy,
- CORBA::Environment &ACE_TRY_ENV
- );
-
-private:
-
- // Caches the proxy implementations. The proxy implementation
- // are totally stateless, and those can be shared by all the
- // instances of a given IDL interface type.
- _TAO_EventDef_Proxy_Impl
- *proxy_cache_[TAO_Collocation_Strategies::CS_LAST];
-
- TAO_SYNCH_MUTEX mutex_;
-// This funxtion is used to get an handle to the unique instance
-// of the Strategized Proxy Broker that is available for a given
-// interface.
-
-public:
- static _TAO_EventDef_Strategized_Proxy_Broker *the_TAO_EventDef_Strategized_Proxy_Broker (void);
-};
-
-//
-// End Strategized Proxy Broker Declaration
-///////////////////////////////////////////////////////////////////////
-
-
-///////////////////////////////////////////////////////////////////////
-// ThruPOA Impl. Declaration
-//
-
-class _TAO_EventDef_ThruPOA_Proxy_Impl :
- public virtual _TAO_EventDef_Proxy_Impl,
- public virtual TAO_ThruPOA_Object_Proxy_Impl,
- public virtual ::POA_IR::_TAO_Contained_ThruPOA_Proxy_Impl
-
-{
-public:
- _TAO_EventDef_ThruPOA_Proxy_Impl (void);
-
- virtual ~_TAO_EventDef_ThruPOA_Proxy_Impl (void) { }
-
- virtual CORBA::Boolean is_a (
- CORBA_Object *_collocated_tao_target_,
- const char * event_id,
- CORBA::Environment &ACE_TRY_ENV
- )
- ACE_THROW_SPEC ((
- CORBA::SystemException
- ));
-
- virtual IR_ValueDef_ptr event (
- CORBA_Object *_collocated_tao_target_,
- CORBA::Environment &ACE_TRY_ENV
- )
- ACE_THROW_SPEC ((
- CORBA::SystemException
- ));
-
-};
-
-
-//
-// ThruPOA Proxy Impl. Declaration
-///////////////////////////////////////////////////////////////////////
-
-#if defined (ACE_HAS_USING_KEYWORD)
- // TIE class: Refer to CORBA v2.2, Section 20.34.4
- template <class T>
- class EventDef_tie : public EventDef
- {
- public:
- EventDef_tie (T &t);
- // the T& ctor
- EventDef_tie (T &t, PortableServer::POA_ptr poa);
- // ctor taking a POA
- EventDef_tie (T *tp, CORBA::Boolean release=1);
- // ctor taking pointer and an ownership flag
- EventDef_tie (T *tp, PortableServer::POA_ptr poa, CORBA::Boolean release=1);
- // ctor with T*, ownership flag and a POA
- ~EventDef_tie (void);
- // dtor
-
- // TIE specific functions
- T *_tied_object (void);
- // return the underlying object
- void _tied_object (T &obj);
- // set the underlying object
- void _tied_object (T *obj, CORBA::Boolean release=1);
- // set the underlying object and the ownership flag
- CORBA::Boolean _is_owner (void);
- // do we own it
- void _is_owner (CORBA::Boolean b);
- // set the ownership
-
- // overridden ServantBase operations
- PortableServer::POA_ptr _default_POA (
- CORBA::Environment &env =
- TAO_default_environment ()
- );
- CORBA::Boolean is_a (
- const char * event_id,
- CORBA::Environment &ACE_TRY_ENV =
- TAO_default_environment ()
- )
- ACE_THROW_SPEC ((
- CORBA::SystemException
- ));
-
- IR_ValueDef_ptr event (
- CORBA::Environment &ACE_TRY_ENV =
- TAO_default_environment ()
- )
- ACE_THROW_SPEC ((
- CORBA::SystemException
- ));
-
- char * id (
- CORBA::Environment &ACE_TRY_ENV =
- TAO_default_environment ()
- )
- ACE_THROW_SPEC ((
- CORBA::SystemException
- ));
-
- void id (
- const char * id,
- CORBA::Environment &ACE_TRY_ENV =
- TAO_default_environment ()
- )
- ACE_THROW_SPEC ((
- CORBA::SystemException
- ));
-
- char * name (
- CORBA::Environment &ACE_TRY_ENV =
- TAO_default_environment ()
- )
- ACE_THROW_SPEC ((
- CORBA::SystemException
- ));
-
- void name (
- const char * name,
- CORBA::Environment &ACE_TRY_ENV =
- TAO_default_environment ()
- )
- ACE_THROW_SPEC ((
- CORBA::SystemException
- ));
-
- char * version (
- CORBA::Environment &ACE_TRY_ENV =
- TAO_default_environment ()
- )
- ACE_THROW_SPEC ((
- CORBA::SystemException
- ));
-
- void version (
- const char * version,
- CORBA::Environment &ACE_TRY_ENV =
- TAO_default_environment ()
- )
- ACE_THROW_SPEC ((
- CORBA::SystemException
- ));
-
- IR_Container_ptr defined_in (
- CORBA::Environment &ACE_TRY_ENV =
- TAO_default_environment ()
- )
- ACE_THROW_SPEC ((
- CORBA::SystemException
- ));
-
- char * absolute_name (
- CORBA::Environment &ACE_TRY_ENV =
- TAO_default_environment ()
- )
- ACE_THROW_SPEC ((
- CORBA::SystemException
- ));
-
- IR_Repository_ptr containing_repository (
- CORBA::Environment &ACE_TRY_ENV =
- TAO_default_environment ()
- )
- ACE_THROW_SPEC ((
- CORBA::SystemException
- ));
-
- IR_Contained::Description * describe (
- CORBA::Environment &ACE_TRY_ENV =
- TAO_default_environment ()
- )
- ACE_THROW_SPEC ((
- CORBA::SystemException
- ));
-
- void move (
- IR_Container_ptr new_container,
- const char * new_name,
- const char * new_version,
- CORBA::Environment &ACE_TRY_ENV =
- TAO_default_environment ()
- )
- ACE_THROW_SPEC ((
- CORBA::SystemException
- ));
-
- IR_DefinitionKind def_kind (
- CORBA::Environment &ACE_TRY_ENV =
- TAO_default_environment ()
- )
- ACE_THROW_SPEC ((
- CORBA::SystemException
- ));
-
- void destroy (
- CORBA::Environment &ACE_TRY_ENV =
- TAO_default_environment ()
- )
- ACE_THROW_SPEC ((
- CORBA::SystemException
- ));
-
-private:
- T *ptr_;
- PortableServer::POA_var poa_;
- CORBA::Boolean rel_;
-
- // copy and assignment are not allowed
- EventDef_tie (const EventDef_tie &);
- void operator= (const EventDef_tie &);
- };
-
-#endif /* ACE_HAS_USING_KEYWORD */
-
- class EmitsDef;
- typedef EmitsDef *EmitsDef_ptr;
- // Forward Classes Declaration
- class _TAO_EmitsDef_ThruPOA_Proxy_Impl;
- class _TAO_EmitsDef_Strategized_Proxy_Broker;
-
- class EmitsDef : public virtual EventDef
- {
- protected:
- EmitsDef (void);
-
- public:
- EmitsDef (const EmitsDef& rhs);
- virtual ~EmitsDef (void);
-
-
- virtual CORBA::Boolean _is_a (
- const char* logical_type_id,
- CORBA::Environment &ACE_TRY_ENV =
- TAO_default_environment ()
- );
-
- virtual void* _downcast (
- const char* logical_type_id
- );
-
- static void _is_a_skel (
- TAO_ServerRequest &req,
- void *obj,
- void *context,
- CORBA::Environment &ACE_TRY_ENV =
- TAO_default_environment ()
- );
-
- static void _non_existent_skel (
- TAO_ServerRequest &req,
- void *obj,
- void *context,
- CORBA::Environment &ACE_TRY_ENV =
- TAO_default_environment ()
- );
-
- virtual void _dispatch (
- TAO_ServerRequest &_tao_req,
- void *_tao_context,
- CORBA::Environment &ACE_TRY_ENV =
- TAO_default_environment ()
- );
-
- IR_EmitsDef *_this (
- CORBA::Environment &ACE_TRY_ENV =
- TAO_default_environment ()
- );
-
- virtual const char* _interface_repository_id (void) const;
-
- static void is_a_skel (
- TAO_ServerRequest &req,
- void *obj,
- void *context,
- CORBA::Environment &env =
- TAO_default_environment ()
- );
-
- static void _get_event_skel (
- TAO_ServerRequest &req,
- void *obj,
- void *context,
- CORBA::Environment &env =
- TAO_default_environment ()
- );
-
- static void _get_id_skel (
- TAO_ServerRequest &req,
- void *obj,
- void *context,
- CORBA::Environment &env =
- TAO_default_environment ()
- );
-
- static void _set_id_skel (
- TAO_ServerRequest &req,
- void *obj,
- void *context,
- CORBA::Environment &env =
- TAO_default_environment ()
- );
-
- static void _get_name_skel (
- TAO_ServerRequest &req,
- void *obj,
- void *context,
- CORBA::Environment &env =
- TAO_default_environment ()
- );
-
- static void _set_name_skel (
- TAO_ServerRequest &req,
- void *obj,
- void *context,
- CORBA::Environment &env =
- TAO_default_environment ()
- );
-
- static void _get_version_skel (
- TAO_ServerRequest &req,
- void *obj,
- void *context,
- CORBA::Environment &env =
- TAO_default_environment ()
- );
-
- static void _set_version_skel (
- TAO_ServerRequest &req,
- void *obj,
- void *context,
- CORBA::Environment &env =
- TAO_default_environment ()
- );
-
- static void _get_defined_in_skel (
- TAO_ServerRequest &req,
- void *obj,
- void *context,
- CORBA::Environment &env =
- TAO_default_environment ()
- );
-
- static void _get_absolute_name_skel (
- TAO_ServerRequest &req,
- void *obj,
- void *context,
- CORBA::Environment &env =
- TAO_default_environment ()
- );
-
- static void _get_containing_repository_skel (
- TAO_ServerRequest &req,
- void *obj,
- void *context,
- CORBA::Environment &env =
- TAO_default_environment ()
- );
-
- static void describe_skel (
- TAO_ServerRequest &req,
- void *obj,
- void *context,
- CORBA::Environment &env =
- TAO_default_environment ()
- );
-
- static void move_skel (
- TAO_ServerRequest &req,
- void *obj,
- void *context,
- CORBA::Environment &env =
- TAO_default_environment ()
- );
-
- static void _get_def_kind_skel (
- TAO_ServerRequest &req,
- void *obj,
- void *context,
- CORBA::Environment &env =
- TAO_default_environment ()
- );
-
- static void destroy_skel (
- TAO_ServerRequest &req,
- void *obj,
- void *context,
- CORBA::Environment &env =
- TAO_default_environment ()
- );
-
-#if (TAO_HAS_INTERCEPTORS == 1)
- // Generation of interceptors related RequestInfo classes per operation.
- // This needed to be able to store the arguments, exceptions, contexts
- // and build the lists dynamically on demand so that unnecessary time overhead
- // of building these lists when they arent used is avoided.
-#endif /* TAO_HAS_INTERCEPTORS */
-
- };
-
-///////////////////////////////////////////////////////////////////////
-// Strategized Proxy Broker Declaration
-//
-
-class _TAO_EmitsDef_Strategized_Proxy_Broker : public virtual _TAO_EmitsDef_Proxy_Broker
-{
-public:
- _TAO_EmitsDef_Strategized_Proxy_Broker (void);
-
- virtual ~_TAO_EmitsDef_Strategized_Proxy_Broker (void);
-
- virtual _TAO_EmitsDef_Proxy_Impl &select_proxy (
- IR_EmitsDef *object,
- CORBA_Environment &ACE_TRY_ENV = TAO_default_environment ()
- );
-
-private:
-
-// Helper methods that takes care to create the proxy
-// as soon as their use is necessary.
- void create_proxy (
- int strategy,
- CORBA::Environment &ACE_TRY_ENV
- );
-
-private:
-
- // Caches the proxy implementations. The proxy implementation
- // are totally stateless, and those can be shared by all the
- // instances of a given IDL interface type.
- _TAO_EmitsDef_Proxy_Impl
- *proxy_cache_[TAO_Collocation_Strategies::CS_LAST];
-
- TAO_SYNCH_MUTEX mutex_;
-// This funxtion is used to get an handle to the unique instance
-// of the Strategized Proxy Broker that is available for a given
-// interface.
-
-public:
- static _TAO_EmitsDef_Strategized_Proxy_Broker *the_TAO_EmitsDef_Strategized_Proxy_Broker (void);
-};
-
-//
-// End Strategized Proxy Broker Declaration
-///////////////////////////////////////////////////////////////////////
-
-
-///////////////////////////////////////////////////////////////////////
-// ThruPOA Impl. Declaration
-//
-
-class _TAO_EmitsDef_ThruPOA_Proxy_Impl :
- public virtual _TAO_EmitsDef_Proxy_Impl,
- public virtual TAO_ThruPOA_Object_Proxy_Impl,
- public virtual ::POA_IR::_TAO_EventDef_ThruPOA_Proxy_Impl
-
-{
-public:
- _TAO_EmitsDef_ThruPOA_Proxy_Impl (void);
-
- virtual ~_TAO_EmitsDef_ThruPOA_Proxy_Impl (void) { }
-
-};
-
-
-//
-// ThruPOA Proxy Impl. Declaration
-///////////////////////////////////////////////////////////////////////
-
-#if defined (ACE_HAS_USING_KEYWORD)
- // TIE class: Refer to CORBA v2.2, Section 20.34.4
- template <class T>
- class EmitsDef_tie : public EmitsDef
- {
- public:
- EmitsDef_tie (T &t);
- // the T& ctor
- EmitsDef_tie (T &t, PortableServer::POA_ptr poa);
- // ctor taking a POA
- EmitsDef_tie (T *tp, CORBA::Boolean release=1);
- // ctor taking pointer and an ownership flag
- EmitsDef_tie (T *tp, PortableServer::POA_ptr poa, CORBA::Boolean release=1);
- // ctor with T*, ownership flag and a POA
- ~EmitsDef_tie (void);
- // dtor
-
- // TIE specific functions
- T *_tied_object (void);
- // return the underlying object
- void _tied_object (T &obj);
- // set the underlying object
- void _tied_object (T *obj, CORBA::Boolean release=1);
- // set the underlying object and the ownership flag
- CORBA::Boolean _is_owner (void);
- // do we own it
- void _is_owner (CORBA::Boolean b);
- // set the ownership
-
- // overridden ServantBase operations
- PortableServer::POA_ptr _default_POA (
- CORBA::Environment &env =
- TAO_default_environment ()
- );
- CORBA::Boolean is_a (
- const char * event_id,
- CORBA::Environment &ACE_TRY_ENV =
- TAO_default_environment ()
- )
- ACE_THROW_SPEC ((
- CORBA::SystemException
- ));
-
- IR_ValueDef_ptr event (
- CORBA::Environment &ACE_TRY_ENV =
- TAO_default_environment ()
- )
- ACE_THROW_SPEC ((
- CORBA::SystemException
- ));
-
- char * id (
- CORBA::Environment &ACE_TRY_ENV =
- TAO_default_environment ()
- )
- ACE_THROW_SPEC ((
- CORBA::SystemException
- ));
-
- void id (
- const char * id,
- CORBA::Environment &ACE_TRY_ENV =
- TAO_default_environment ()
- )
- ACE_THROW_SPEC ((
- CORBA::SystemException
- ));
-
- char * name (
- CORBA::Environment &ACE_TRY_ENV =
- TAO_default_environment ()
- )
- ACE_THROW_SPEC ((
- CORBA::SystemException
- ));
-
- void name (
- const char * name,
- CORBA::Environment &ACE_TRY_ENV =
- TAO_default_environment ()
- )
- ACE_THROW_SPEC ((
- CORBA::SystemException
- ));
-
- char * version (
- CORBA::Environment &ACE_TRY_ENV =
- TAO_default_environment ()
- )
- ACE_THROW_SPEC ((
- CORBA::SystemException
- ));
-
- void version (
- const char * version,
- CORBA::Environment &ACE_TRY_ENV =
- TAO_default_environment ()
- )
- ACE_THROW_SPEC ((
- CORBA::SystemException
- ));
-
- IR_Container_ptr defined_in (
- CORBA::Environment &ACE_TRY_ENV =
- TAO_default_environment ()
- )
- ACE_THROW_SPEC ((
- CORBA::SystemException
- ));
-
- char * absolute_name (
- CORBA::Environment &ACE_TRY_ENV =
- TAO_default_environment ()
- )
- ACE_THROW_SPEC ((
- CORBA::SystemException
- ));
-
- IR_Repository_ptr containing_repository (
- CORBA::Environment &ACE_TRY_ENV =
- TAO_default_environment ()
- )
- ACE_THROW_SPEC ((
- CORBA::SystemException
- ));
-
- IR_Contained::Description * describe (
- CORBA::Environment &ACE_TRY_ENV =
- TAO_default_environment ()
- )
- ACE_THROW_SPEC ((
- CORBA::SystemException
- ));
-
- void move (
- IR_Container_ptr new_container,
- const char * new_name,
- const char * new_version,
- CORBA::Environment &ACE_TRY_ENV =
- TAO_default_environment ()
- )
- ACE_THROW_SPEC ((
- CORBA::SystemException
- ));
-
- IR_DefinitionKind def_kind (
- CORBA::Environment &ACE_TRY_ENV =
- TAO_default_environment ()
- )
- ACE_THROW_SPEC ((
- CORBA::SystemException
- ));
-
- void destroy (
- CORBA::Environment &ACE_TRY_ENV =
- TAO_default_environment ()
- )
- ACE_THROW_SPEC ((
- CORBA::SystemException
- ));
-
-private:
- T *ptr_;
- PortableServer::POA_var poa_;
- CORBA::Boolean rel_;
-
- // copy and assignment are not allowed
- EmitsDef_tie (const EmitsDef_tie &);
- void operator= (const EmitsDef_tie &);
- };
-
-#endif /* ACE_HAS_USING_KEYWORD */
-
- class PublishesDef;
- typedef PublishesDef *PublishesDef_ptr;
- // Forward Classes Declaration
- class _TAO_PublishesDef_ThruPOA_Proxy_Impl;
- class _TAO_PublishesDef_Strategized_Proxy_Broker;
-
- class PublishesDef : public virtual EventDef
- {
- protected:
- PublishesDef (void);
-
- public:
- PublishesDef (const PublishesDef& rhs);
- virtual ~PublishesDef (void);
-
-
- virtual CORBA::Boolean _is_a (
- const char* logical_type_id,
- CORBA::Environment &ACE_TRY_ENV =
- TAO_default_environment ()
- );
-
- virtual void* _downcast (
- const char* logical_type_id
- );
-
- static void _is_a_skel (
- TAO_ServerRequest &req,
- void *obj,
- void *context,
- CORBA::Environment &ACE_TRY_ENV =
- TAO_default_environment ()
- );
-
- static void _non_existent_skel (
- TAO_ServerRequest &req,
- void *obj,
- void *context,
- CORBA::Environment &ACE_TRY_ENV =
- TAO_default_environment ()
- );
-
- virtual void _dispatch (
- TAO_ServerRequest &_tao_req,
- void *_tao_context,
- CORBA::Environment &ACE_TRY_ENV =
- TAO_default_environment ()
- );
-
- IR_PublishesDef *_this (
- CORBA::Environment &ACE_TRY_ENV =
- TAO_default_environment ()
- );
-
- virtual const char* _interface_repository_id (void) const;
-
- static void is_a_skel (
- TAO_ServerRequest &req,
- void *obj,
- void *context,
- CORBA::Environment &env =
- TAO_default_environment ()
- );
-
- static void _get_event_skel (
- TAO_ServerRequest &req,
- void *obj,
- void *context,
- CORBA::Environment &env =
- TAO_default_environment ()
- );
-
- static void _get_id_skel (
- TAO_ServerRequest &req,
- void *obj,
- void *context,
- CORBA::Environment &env =
- TAO_default_environment ()
- );
-
- static void _set_id_skel (
- TAO_ServerRequest &req,
- void *obj,
- void *context,
- CORBA::Environment &env =
- TAO_default_environment ()
- );
-
- static void _get_name_skel (
- TAO_ServerRequest &req,
- void *obj,
- void *context,
- CORBA::Environment &env =
- TAO_default_environment ()
- );
-
- static void _set_name_skel (
- TAO_ServerRequest &req,
- void *obj,
- void *context,
- CORBA::Environment &env =
- TAO_default_environment ()
- );
-
- static void _get_version_skel (
- TAO_ServerRequest &req,
- void *obj,
- void *context,
- CORBA::Environment &env =
- TAO_default_environment ()
- );
-
- static void _set_version_skel (
- TAO_ServerRequest &req,
- void *obj,
- void *context,
- CORBA::Environment &env =
- TAO_default_environment ()
- );
-
- static void _get_defined_in_skel (
- TAO_ServerRequest &req,
- void *obj,
- void *context,
- CORBA::Environment &env =
- TAO_default_environment ()
- );
-
- static void _get_absolute_name_skel (
- TAO_ServerRequest &req,
- void *obj,
- void *context,
- CORBA::Environment &env =
- TAO_default_environment ()
- );
-
- static void _get_containing_repository_skel (
- TAO_ServerRequest &req,
- void *obj,
- void *context,
- CORBA::Environment &env =
- TAO_default_environment ()
- );
-
- static void describe_skel (
- TAO_ServerRequest &req,
- void *obj,
- void *context,
- CORBA::Environment &env =
- TAO_default_environment ()
- );
-
- static void move_skel (
- TAO_ServerRequest &req,
- void *obj,
- void *context,
- CORBA::Environment &env =
- TAO_default_environment ()
- );
-
- static void _get_def_kind_skel (
- TAO_ServerRequest &req,
- void *obj,
- void *context,
- CORBA::Environment &env =
- TAO_default_environment ()
- );
-
- static void destroy_skel (
- TAO_ServerRequest &req,
- void *obj,
- void *context,
- CORBA::Environment &env =
- TAO_default_environment ()
- );
-
-#if (TAO_HAS_INTERCEPTORS == 1)
- // Generation of interceptors related RequestInfo classes per operation.
- // This needed to be able to store the arguments, exceptions, contexts
- // and build the lists dynamically on demand so that unnecessary time overhead
- // of building these lists when they arent used is avoided.
-#endif /* TAO_HAS_INTERCEPTORS */
-
- };
-
-///////////////////////////////////////////////////////////////////////
-// Strategized Proxy Broker Declaration
-//
-
-class _TAO_PublishesDef_Strategized_Proxy_Broker : public virtual _TAO_PublishesDef_Proxy_Broker
-{
-public:
- _TAO_PublishesDef_Strategized_Proxy_Broker (void);
-
- virtual ~_TAO_PublishesDef_Strategized_Proxy_Broker (void);
-
- virtual _TAO_PublishesDef_Proxy_Impl &select_proxy (
- IR_PublishesDef *object,
- CORBA_Environment &ACE_TRY_ENV = TAO_default_environment ()
- );
-
-private:
-
-// Helper methods that takes care to create the proxy
-// as soon as their use is necessary.
- void create_proxy (
- int strategy,
- CORBA::Environment &ACE_TRY_ENV
- );
-
-private:
-
- // Caches the proxy implementations. The proxy implementation
- // are totally stateless, and those can be shared by all the
- // instances of a given IDL interface type.
- _TAO_PublishesDef_Proxy_Impl
- *proxy_cache_[TAO_Collocation_Strategies::CS_LAST];
-
- TAO_SYNCH_MUTEX mutex_;
-// This funxtion is used to get an handle to the unique instance
-// of the Strategized Proxy Broker that is available for a given
-// interface.
-
-public:
- static _TAO_PublishesDef_Strategized_Proxy_Broker *the_TAO_PublishesDef_Strategized_Proxy_Broker (void);
-};
-
-//
-// End Strategized Proxy Broker Declaration
-///////////////////////////////////////////////////////////////////////
-
-
-///////////////////////////////////////////////////////////////////////
-// ThruPOA Impl. Declaration
-//
-
-class _TAO_PublishesDef_ThruPOA_Proxy_Impl :
- public virtual _TAO_PublishesDef_Proxy_Impl,
- public virtual TAO_ThruPOA_Object_Proxy_Impl,
- public virtual ::POA_IR::_TAO_EventDef_ThruPOA_Proxy_Impl
-
-{
-public:
- _TAO_PublishesDef_ThruPOA_Proxy_Impl (void);
-
- virtual ~_TAO_PublishesDef_ThruPOA_Proxy_Impl (void) { }
-
-};
-
-
-//
-// ThruPOA Proxy Impl. Declaration
-///////////////////////////////////////////////////////////////////////
-
-#if defined (ACE_HAS_USING_KEYWORD)
- // TIE class: Refer to CORBA v2.2, Section 20.34.4
- template <class T>
- class PublishesDef_tie : public PublishesDef
- {
- public:
- PublishesDef_tie (T &t);
- // the T& ctor
- PublishesDef_tie (T &t, PortableServer::POA_ptr poa);
- // ctor taking a POA
- PublishesDef_tie (T *tp, CORBA::Boolean release=1);
- // ctor taking pointer and an ownership flag
- PublishesDef_tie (T *tp, PortableServer::POA_ptr poa, CORBA::Boolean release=1);
- // ctor with T*, ownership flag and a POA
- ~PublishesDef_tie (void);
- // dtor
-
- // TIE specific functions
- T *_tied_object (void);
- // return the underlying object
- void _tied_object (T &obj);
- // set the underlying object
- void _tied_object (T *obj, CORBA::Boolean release=1);
- // set the underlying object and the ownership flag
- CORBA::Boolean _is_owner (void);
- // do we own it
- void _is_owner (CORBA::Boolean b);
- // set the ownership
-
- // overridden ServantBase operations
- PortableServer::POA_ptr _default_POA (
- CORBA::Environment &env =
- TAO_default_environment ()
- );
- CORBA::Boolean is_a (
- const char * event_id,
- CORBA::Environment &ACE_TRY_ENV =
- TAO_default_environment ()
- )
- ACE_THROW_SPEC ((
- CORBA::SystemException
- ));
-
- IR_ValueDef_ptr event (
- CORBA::Environment &ACE_TRY_ENV =
- TAO_default_environment ()
- )
- ACE_THROW_SPEC ((
- CORBA::SystemException
- ));
-
- char * id (
- CORBA::Environment &ACE_TRY_ENV =
- TAO_default_environment ()
- )
- ACE_THROW_SPEC ((
- CORBA::SystemException
- ));
-
- void id (
- const char * id,
- CORBA::Environment &ACE_TRY_ENV =
- TAO_default_environment ()
- )
- ACE_THROW_SPEC ((
- CORBA::SystemException
- ));
-
- char * name (
- CORBA::Environment &ACE_TRY_ENV =
- TAO_default_environment ()
- )
- ACE_THROW_SPEC ((
- CORBA::SystemException
- ));
-
- void name (
- const char * name,
- CORBA::Environment &ACE_TRY_ENV =
- TAO_default_environment ()
- )
- ACE_THROW_SPEC ((
- CORBA::SystemException
- ));
-
- char * version (
- CORBA::Environment &ACE_TRY_ENV =
- TAO_default_environment ()
- )
- ACE_THROW_SPEC ((
- CORBA::SystemException
- ));
-
- void version (
- const char * version,
- CORBA::Environment &ACE_TRY_ENV =
- TAO_default_environment ()
- )
- ACE_THROW_SPEC ((
- CORBA::SystemException
- ));
-
- IR_Container_ptr defined_in (
- CORBA::Environment &ACE_TRY_ENV =
- TAO_default_environment ()
- )
- ACE_THROW_SPEC ((
- CORBA::SystemException
- ));
-
- char * absolute_name (
- CORBA::Environment &ACE_TRY_ENV =
- TAO_default_environment ()
- )
- ACE_THROW_SPEC ((
- CORBA::SystemException
- ));
-
- IR_Repository_ptr containing_repository (
- CORBA::Environment &ACE_TRY_ENV =
- TAO_default_environment ()
- )
- ACE_THROW_SPEC ((
- CORBA::SystemException
- ));
-
- IR_Contained::Description * describe (
- CORBA::Environment &ACE_TRY_ENV =
- TAO_default_environment ()
- )
- ACE_THROW_SPEC ((
- CORBA::SystemException
- ));
-
- void move (
- IR_Container_ptr new_container,
- const char * new_name,
- const char * new_version,
- CORBA::Environment &ACE_TRY_ENV =
- TAO_default_environment ()
- )
- ACE_THROW_SPEC ((
- CORBA::SystemException
- ));
-
- IR_DefinitionKind def_kind (
- CORBA::Environment &ACE_TRY_ENV =
- TAO_default_environment ()
- )
- ACE_THROW_SPEC ((
- CORBA::SystemException
- ));
-
- void destroy (
- CORBA::Environment &ACE_TRY_ENV =
- TAO_default_environment ()
- )
- ACE_THROW_SPEC ((
- CORBA::SystemException
- ));
-
-private:
- T *ptr_;
- PortableServer::POA_var poa_;
- CORBA::Boolean rel_;
-
- // copy and assignment are not allowed
- PublishesDef_tie (const PublishesDef_tie &);
- void operator= (const PublishesDef_tie &);
- };
-
-#endif /* ACE_HAS_USING_KEYWORD */
-
- class ConsumesDef;
- typedef ConsumesDef *ConsumesDef_ptr;
- // Forward Classes Declaration
- class _TAO_ConsumesDef_ThruPOA_Proxy_Impl;
- class _TAO_ConsumesDef_Strategized_Proxy_Broker;
-
- class ConsumesDef : public virtual EventDef
- {
- protected:
- ConsumesDef (void);
-
- public:
- ConsumesDef (const ConsumesDef& rhs);
- virtual ~ConsumesDef (void);
-
-
- virtual CORBA::Boolean _is_a (
- const char* logical_type_id,
- CORBA::Environment &ACE_TRY_ENV =
- TAO_default_environment ()
- );
-
- virtual void* _downcast (
- const char* logical_type_id
- );
-
- static void _is_a_skel (
- TAO_ServerRequest &req,
- void *obj,
- void *context,
- CORBA::Environment &ACE_TRY_ENV =
- TAO_default_environment ()
- );
-
- static void _non_existent_skel (
- TAO_ServerRequest &req,
- void *obj,
- void *context,
- CORBA::Environment &ACE_TRY_ENV =
- TAO_default_environment ()
- );
-
- virtual void _dispatch (
- TAO_ServerRequest &_tao_req,
- void *_tao_context,
- CORBA::Environment &ACE_TRY_ENV =
- TAO_default_environment ()
- );
-
- IR_ConsumesDef *_this (
- CORBA::Environment &ACE_TRY_ENV =
- TAO_default_environment ()
- );
-
- virtual const char* _interface_repository_id (void) const;
-
- static void is_a_skel (
- TAO_ServerRequest &req,
- void *obj,
- void *context,
- CORBA::Environment &env =
- TAO_default_environment ()
- );
-
- static void _get_event_skel (
- TAO_ServerRequest &req,
- void *obj,
- void *context,
- CORBA::Environment &env =
- TAO_default_environment ()
- );
-
- static void _get_id_skel (
- TAO_ServerRequest &req,
- void *obj,
- void *context,
- CORBA::Environment &env =
- TAO_default_environment ()
- );
-
- static void _set_id_skel (
- TAO_ServerRequest &req,
- void *obj,
- void *context,
- CORBA::Environment &env =
- TAO_default_environment ()
- );
-
- static void _get_name_skel (
- TAO_ServerRequest &req,
- void *obj,
- void *context,
- CORBA::Environment &env =
- TAO_default_environment ()
- );
-
- static void _set_name_skel (
- TAO_ServerRequest &req,
- void *obj,
- void *context,
- CORBA::Environment &env =
- TAO_default_environment ()
- );
-
- static void _get_version_skel (
- TAO_ServerRequest &req,
- void *obj,
- void *context,
- CORBA::Environment &env =
- TAO_default_environment ()
- );
-
- static void _set_version_skel (
- TAO_ServerRequest &req,
- void *obj,
- void *context,
- CORBA::Environment &env =
- TAO_default_environment ()
- );
-
- static void _get_defined_in_skel (
- TAO_ServerRequest &req,
- void *obj,
- void *context,
- CORBA::Environment &env =
- TAO_default_environment ()
- );
-
- static void _get_absolute_name_skel (
- TAO_ServerRequest &req,
- void *obj,
- void *context,
- CORBA::Environment &env =
- TAO_default_environment ()
- );
-
- static void _get_containing_repository_skel (
- TAO_ServerRequest &req,
- void *obj,
- void *context,
- CORBA::Environment &env =
- TAO_default_environment ()
- );
-
- static void describe_skel (
- TAO_ServerRequest &req,
- void *obj,
- void *context,
- CORBA::Environment &env =
- TAO_default_environment ()
- );
-
- static void move_skel (
- TAO_ServerRequest &req,
- void *obj,
- void *context,
- CORBA::Environment &env =
- TAO_default_environment ()
- );
-
- static void _get_def_kind_skel (
- TAO_ServerRequest &req,
- void *obj,
- void *context,
- CORBA::Environment &env =
- TAO_default_environment ()
- );
-
- static void destroy_skel (
- TAO_ServerRequest &req,
- void *obj,
- void *context,
- CORBA::Environment &env =
- TAO_default_environment ()
- );
-
-#if (TAO_HAS_INTERCEPTORS == 1)
- // Generation of interceptors related RequestInfo classes per operation.
- // This needed to be able to store the arguments, exceptions, contexts
- // and build the lists dynamically on demand so that unnecessary time overhead
- // of building these lists when they arent used is avoided.
-#endif /* TAO_HAS_INTERCEPTORS */
-
- };
-
-///////////////////////////////////////////////////////////////////////
-// Strategized Proxy Broker Declaration
-//
-
-class _TAO_ConsumesDef_Strategized_Proxy_Broker : public virtual _TAO_ConsumesDef_Proxy_Broker
-{
-public:
- _TAO_ConsumesDef_Strategized_Proxy_Broker (void);
-
- virtual ~_TAO_ConsumesDef_Strategized_Proxy_Broker (void);
-
- virtual _TAO_ConsumesDef_Proxy_Impl &select_proxy (
- IR_ConsumesDef *object,
- CORBA_Environment &ACE_TRY_ENV = TAO_default_environment ()
- );
-
-private:
-
-// Helper methods that takes care to create the proxy
-// as soon as their use is necessary.
- void create_proxy (
- int strategy,
- CORBA::Environment &ACE_TRY_ENV
- );
-
-private:
-
- // Caches the proxy implementations. The proxy implementation
- // are totally stateless, and those can be shared by all the
- // instances of a given IDL interface type.
- _TAO_ConsumesDef_Proxy_Impl
- *proxy_cache_[TAO_Collocation_Strategies::CS_LAST];
-
- TAO_SYNCH_MUTEX mutex_;
-// This funxtion is used to get an handle to the unique instance
-// of the Strategized Proxy Broker that is available for a given
-// interface.
-
-public:
- static _TAO_ConsumesDef_Strategized_Proxy_Broker *the_TAO_ConsumesDef_Strategized_Proxy_Broker (void);
-};
-
-//
-// End Strategized Proxy Broker Declaration
-///////////////////////////////////////////////////////////////////////
-
-
-///////////////////////////////////////////////////////////////////////
-// ThruPOA Impl. Declaration
-//
-
-class _TAO_ConsumesDef_ThruPOA_Proxy_Impl :
- public virtual _TAO_ConsumesDef_Proxy_Impl,
- public virtual TAO_ThruPOA_Object_Proxy_Impl,
- public virtual ::POA_IR::_TAO_EventDef_ThruPOA_Proxy_Impl
-
-{
-public:
- _TAO_ConsumesDef_ThruPOA_Proxy_Impl (void);
-
- virtual ~_TAO_ConsumesDef_ThruPOA_Proxy_Impl (void) { }
-
-};
-
-
-//
-// ThruPOA Proxy Impl. Declaration
-///////////////////////////////////////////////////////////////////////
-
-#if defined (ACE_HAS_USING_KEYWORD)
- // TIE class: Refer to CORBA v2.2, Section 20.34.4
- template <class T>
- class ConsumesDef_tie : public ConsumesDef
- {
- public:
- ConsumesDef_tie (T &t);
- // the T& ctor
- ConsumesDef_tie (T &t, PortableServer::POA_ptr poa);
- // ctor taking a POA
- ConsumesDef_tie (T *tp, CORBA::Boolean release=1);
- // ctor taking pointer and an ownership flag
- ConsumesDef_tie (T *tp, PortableServer::POA_ptr poa, CORBA::Boolean release=1);
- // ctor with T*, ownership flag and a POA
- ~ConsumesDef_tie (void);
- // dtor
-
- // TIE specific functions
- T *_tied_object (void);
- // return the underlying object
- void _tied_object (T &obj);
- // set the underlying object
- void _tied_object (T *obj, CORBA::Boolean release=1);
- // set the underlying object and the ownership flag
- CORBA::Boolean _is_owner (void);
- // do we own it
- void _is_owner (CORBA::Boolean b);
- // set the ownership
-
- // overridden ServantBase operations
- PortableServer::POA_ptr _default_POA (
- CORBA::Environment &env =
- TAO_default_environment ()
- );
- CORBA::Boolean is_a (
- const char * event_id,
- CORBA::Environment &ACE_TRY_ENV =
- TAO_default_environment ()
- )
- ACE_THROW_SPEC ((
- CORBA::SystemException
- ));
-
- IR_ValueDef_ptr event (
- CORBA::Environment &ACE_TRY_ENV =
- TAO_default_environment ()
- )
- ACE_THROW_SPEC ((
- CORBA::SystemException
- ));
-
- char * id (
- CORBA::Environment &ACE_TRY_ENV =
- TAO_default_environment ()
- )
- ACE_THROW_SPEC ((
- CORBA::SystemException
- ));
-
- void id (
- const char * id,
- CORBA::Environment &ACE_TRY_ENV =
- TAO_default_environment ()
- )
- ACE_THROW_SPEC ((
- CORBA::SystemException
- ));
-
- char * name (
- CORBA::Environment &ACE_TRY_ENV =
- TAO_default_environment ()
- )
- ACE_THROW_SPEC ((
- CORBA::SystemException
- ));
-
- void name (
- const char * name,
- CORBA::Environment &ACE_TRY_ENV =
- TAO_default_environment ()
- )
- ACE_THROW_SPEC ((
- CORBA::SystemException
- ));
-
- char * version (
- CORBA::Environment &ACE_TRY_ENV =
- TAO_default_environment ()
- )
- ACE_THROW_SPEC ((
- CORBA::SystemException
- ));
-
- void version (
- const char * version,
- CORBA::Environment &ACE_TRY_ENV =
- TAO_default_environment ()
- )
- ACE_THROW_SPEC ((
- CORBA::SystemException
- ));
-
- IR_Container_ptr defined_in (
- CORBA::Environment &ACE_TRY_ENV =
- TAO_default_environment ()
- )
- ACE_THROW_SPEC ((
- CORBA::SystemException
- ));
-
- char * absolute_name (
- CORBA::Environment &ACE_TRY_ENV =
- TAO_default_environment ()
- )
- ACE_THROW_SPEC ((
- CORBA::SystemException
- ));
-
- IR_Repository_ptr containing_repository (
- CORBA::Environment &ACE_TRY_ENV =
- TAO_default_environment ()
- )
- ACE_THROW_SPEC ((
- CORBA::SystemException
- ));
-
- IR_Contained::Description * describe (
- CORBA::Environment &ACE_TRY_ENV =
- TAO_default_environment ()
- )
- ACE_THROW_SPEC ((
- CORBA::SystemException
- ));
-
- void move (
- IR_Container_ptr new_container,
- const char * new_name,
- const char * new_version,
- CORBA::Environment &ACE_TRY_ENV =
- TAO_default_environment ()
- )
- ACE_THROW_SPEC ((
- CORBA::SystemException
- ));
-
- IR_DefinitionKind def_kind (
- CORBA::Environment &ACE_TRY_ENV =
- TAO_default_environment ()
- )
- ACE_THROW_SPEC ((
- CORBA::SystemException
- ));
-
- void destroy (
- CORBA::Environment &ACE_TRY_ENV =
- TAO_default_environment ()
- )
- ACE_THROW_SPEC ((
- CORBA::SystemException
- ));
-
-private:
- T *ptr_;
- PortableServer::POA_var poa_;
- CORBA::Boolean rel_;
-
- // copy and assignment are not allowed
- ConsumesDef_tie (const ConsumesDef_tie &);
- void operator= (const ConsumesDef_tie &);
- };
-
-#endif /* ACE_HAS_USING_KEYWORD */
-
- class ComponentDef;
- typedef ComponentDef *ComponentDef_ptr;
- // Forward Classes Declaration
- class _TAO_ComponentDef_ThruPOA_Proxy_Impl;
- class _TAO_ComponentDef_Strategized_Proxy_Broker;
-
- class ComponentDef : public virtual InterfaceDef
- {
- protected:
- ComponentDef (void);
-
- public:
- ComponentDef (const ComponentDef& rhs);
- virtual ~ComponentDef (void);
-
-
- virtual CORBA::Boolean _is_a (
- const char* logical_type_id,
- CORBA::Environment &ACE_TRY_ENV =
- TAO_default_environment ()
- );
-
- virtual void* _downcast (
- const char* logical_type_id
- );
-
- static void _is_a_skel (
- TAO_ServerRequest &req,
- void *obj,
- void *context,
- CORBA::Environment &ACE_TRY_ENV =
- TAO_default_environment ()
- );
-
- static void _non_existent_skel (
- TAO_ServerRequest &req,
- void *obj,
- void *context,
- CORBA::Environment &ACE_TRY_ENV =
- TAO_default_environment ()
- );
-
- virtual void _dispatch (
- TAO_ServerRequest &_tao_req,
- void *_tao_context,
- CORBA::Environment &ACE_TRY_ENV =
- TAO_default_environment ()
- );
-
- IR_ComponentDef *_this (
- CORBA::Environment &ACE_TRY_ENV =
- TAO_default_environment ()
- );
-
- virtual const char* _interface_repository_id (void) const;
-
- virtual IR_InterfaceDefSeq * supported_interfaces (
- CORBA::Environment &ACE_TRY_ENV =
- TAO_default_environment ()
- )
- ACE_THROW_SPEC ((
- CORBA::SystemException
- )) = 0;
-
- static void _get_supported_interfaces_skel (
- TAO_ServerRequest &_tao_req,
- void *_tao_obj,
- void *_tao_context,
- CORBA::Environment &ACE_TRY_ENV =
- TAO_default_environment ()
- );
-
- virtual void supported_interfaces (
- const IR_InterfaceDefSeq & supported_interfaces,
- CORBA::Environment &ACE_TRY_ENV =
- TAO_default_environment ()
- )
- ACE_THROW_SPEC ((
- CORBA::SystemException
- )) = 0;
-
- static void _set_supported_interfaces_skel (
- TAO_ServerRequest &_tao_req,
- void *_tao_obj,
- void *_tao_context,
- CORBA::Environment &ACE_TRY_ENV =
- TAO_default_environment ()
- );
-
- virtual IR_ComponentDef_ptr base_component (
- CORBA::Environment &ACE_TRY_ENV =
- TAO_default_environment ()
- )
- ACE_THROW_SPEC ((
- CORBA::SystemException
- )) = 0;
-
- static void _get_base_component_skel (
- TAO_ServerRequest &_tao_req,
- void *_tao_obj,
- void *_tao_context,
- CORBA::Environment &ACE_TRY_ENV =
- TAO_default_environment ()
- );
-
- virtual IR_ProvidesDefSeq * provides_interfaces (
- CORBA::Environment &ACE_TRY_ENV =
- TAO_default_environment ()
- )
- ACE_THROW_SPEC ((
- CORBA::SystemException
- )) = 0;
-
- static void _get_provides_interfaces_skel (
- TAO_ServerRequest &_tao_req,
- void *_tao_obj,
- void *_tao_context,
- CORBA::Environment &ACE_TRY_ENV =
- TAO_default_environment ()
- );
-
- virtual IR_UsesDefSeq * uses_interfaces (
- CORBA::Environment &ACE_TRY_ENV =
- TAO_default_environment ()
- )
- ACE_THROW_SPEC ((
- CORBA::SystemException
- )) = 0;
-
- static void _get_uses_interfaces_skel (
- TAO_ServerRequest &_tao_req,
- void *_tao_obj,
- void *_tao_context,
- CORBA::Environment &ACE_TRY_ENV =
- TAO_default_environment ()
- );
-
- virtual IR_EmitsDefSeq * emits_events (
- CORBA::Environment &ACE_TRY_ENV =
- TAO_default_environment ()
- )
- ACE_THROW_SPEC ((
- CORBA::SystemException
- )) = 0;
-
- static void _get_emits_events_skel (
- TAO_ServerRequest &_tao_req,
- void *_tao_obj,
- void *_tao_context,
- CORBA::Environment &ACE_TRY_ENV =
- TAO_default_environment ()
- );
-
- virtual IR_PublishesDefSeq * publishes_events (
- CORBA::Environment &ACE_TRY_ENV =
- TAO_default_environment ()
- )
- ACE_THROW_SPEC ((
- CORBA::SystemException
- )) = 0;
-
- static void _get_publishes_events_skel (
- TAO_ServerRequest &_tao_req,
- void *_tao_obj,
- void *_tao_context,
- CORBA::Environment &ACE_TRY_ENV =
- TAO_default_environment ()
- );
-
- virtual IR_ConsumesDefSeq * consumes_events (
- CORBA::Environment &ACE_TRY_ENV =
- TAO_default_environment ()
- )
- ACE_THROW_SPEC ((
- CORBA::SystemException
- )) = 0;
-
- static void _get_consumes_events_skel (
- TAO_ServerRequest &_tao_req,
- void *_tao_obj,
- void *_tao_context,
- CORBA::Environment &ACE_TRY_ENV =
- TAO_default_environment ()
- );
-
- virtual CORBA::Boolean is_basic (
- CORBA::Environment &ACE_TRY_ENV =
- TAO_default_environment ()
- )
- ACE_THROW_SPEC ((
- CORBA::SystemException
- )) = 0;
-
- static void _get_is_basic_skel (
- TAO_ServerRequest &_tao_req,
- void *_tao_obj,
- void *_tao_context,
- CORBA::Environment &ACE_TRY_ENV =
- TAO_default_environment ()
- );
-
- virtual IR_ProvidesDef_ptr create_provides (
- const char * id,
- const char * name,
- const char * version,
- IR_InterfaceDef_ptr interface_type,
- CORBA::Environment &ACE_TRY_ENV =
- TAO_default_environment ()
- )
- ACE_THROW_SPEC ((
- CORBA::SystemException
- )) = 0;
-
- static void create_provides_skel (
- TAO_ServerRequest &_tao_req,
- void *_tao_obj,
- void *_tao_context,
- CORBA::Environment &ACE_TRY_ENV =
- TAO_default_environment ()
- );
-
- virtual IR_UsesDef_ptr create_uses (
- const char * id,
- const char * name,
- const char * version,
- IR_InterfaceDef_ptr interface_type,
- CORBA::Boolean is_multiple,
- CORBA::Environment &ACE_TRY_ENV =
- TAO_default_environment ()
- )
- ACE_THROW_SPEC ((
- CORBA::SystemException
- )) = 0;
-
- static void create_uses_skel (
- TAO_ServerRequest &_tao_req,
- void *_tao_obj,
- void *_tao_context,
- CORBA::Environment &ACE_TRY_ENV =
- TAO_default_environment ()
- );
-
- virtual IR_EmitsDef_ptr create_emits (
- const char * id,
- const char * name,
- const char * version,
- IR_ValueDef_ptr value,
- CORBA::Environment &ACE_TRY_ENV =
- TAO_default_environment ()
- )
- ACE_THROW_SPEC ((
- CORBA::SystemException
- )) = 0;
-
- static void create_emits_skel (
- TAO_ServerRequest &_tao_req,
- void *_tao_obj,
- void *_tao_context,
- CORBA::Environment &ACE_TRY_ENV =
- TAO_default_environment ()
- );
-
- virtual IR_PublishesDef_ptr create_publishes (
- const char * id,
- const char * name,
- const char * version,
- IR_ValueDef_ptr value,
- CORBA::Environment &ACE_TRY_ENV =
- TAO_default_environment ()
- )
- ACE_THROW_SPEC ((
- CORBA::SystemException
- )) = 0;
-
- static void create_publishes_skel (
- TAO_ServerRequest &_tao_req,
- void *_tao_obj,
- void *_tao_context,
- CORBA::Environment &ACE_TRY_ENV =
- TAO_default_environment ()
- );
-
- virtual IR_ConsumesDef_ptr create_consumes (
- const char * id,
- const char * name,
- const char * version,
- IR_ValueDef_ptr value,
- CORBA::Environment &ACE_TRY_ENV =
- TAO_default_environment ()
- )
- ACE_THROW_SPEC ((
- CORBA::SystemException
- )) = 0;
-
- static void create_consumes_skel (
- TAO_ServerRequest &_tao_req,
- void *_tao_obj,
- void *_tao_context,
- CORBA::Environment &ACE_TRY_ENV =
- TAO_default_environment ()
- );
-
- static void _get_base_interfaces_skel (
- TAO_ServerRequest &req,
- void *obj,
- void *context,
- CORBA::Environment &env =
- TAO_default_environment ()
- );
-
- static void _set_base_interfaces_skel (
- TAO_ServerRequest &req,
- void *obj,
- void *context,
- CORBA::Environment &env =
- TAO_default_environment ()
- );
-
- static void _get_is_abstract_skel (
- TAO_ServerRequest &req,
- void *obj,
- void *context,
- CORBA::Environment &env =
- TAO_default_environment ()
- );
-
- static void _set_is_abstract_skel (
- TAO_ServerRequest &req,
- void *obj,
- void *context,
- CORBA::Environment &env =
- TAO_default_environment ()
- );
-
- static void _get_is_local_skel (
- TAO_ServerRequest &req,
- void *obj,
- void *context,
- CORBA::Environment &env =
- TAO_default_environment ()
- );
-
- static void _set_is_local_skel (
- TAO_ServerRequest &req,
- void *obj,
- void *context,
- CORBA::Environment &env =
- TAO_default_environment ()
- );
-
- static void is_a_skel (
- TAO_ServerRequest &req,
- void *obj,
- void *context,
- CORBA::Environment &env =
- TAO_default_environment ()
- );
-
- static void create_attribute_skel (
- TAO_ServerRequest &req,
- void *obj,
- void *context,
- CORBA::Environment &env =
- TAO_default_environment ()
- );
-
- static void create_operation_skel (
- TAO_ServerRequest &req,
- void *obj,
- void *context,
- CORBA::Environment &env =
- TAO_default_environment ()
- );
-
- static void lookup_skel (
- TAO_ServerRequest &req,
- void *obj,
- void *context,
- CORBA::Environment &env =
- TAO_default_environment ()
- );
-
- static void contents_skel (
- TAO_ServerRequest &req,
- void *obj,
- void *context,
- CORBA::Environment &env =
- TAO_default_environment ()
- );
-
- static void lookup_name_skel (
- TAO_ServerRequest &req,
- void *obj,
- void *context,
- CORBA::Environment &env =
- TAO_default_environment ()
- );
-
- static void describe_contents_skel (
- TAO_ServerRequest &req,
- void *obj,
- void *context,
- CORBA::Environment &env =
- TAO_default_environment ()
- );
-
- static void create_module_skel (
- TAO_ServerRequest &req,
- void *obj,
- void *context,
- CORBA::Environment &env =
- TAO_default_environment ()
- );
-
- static void create_constant_skel (
- TAO_ServerRequest &req,
- void *obj,
- void *context,
- CORBA::Environment &env =
- TAO_default_environment ()
- );
-
- static void create_struct_skel (
- TAO_ServerRequest &req,
- void *obj,
- void *context,
- CORBA::Environment &env =
- TAO_default_environment ()
- );
-
- static void create_union_skel (
- TAO_ServerRequest &req,
- void *obj,
- void *context,
- CORBA::Environment &env =
- TAO_default_environment ()
- );
-
- static void create_enum_skel (
- TAO_ServerRequest &req,
- void *obj,
- void *context,
- CORBA::Environment &env =
- TAO_default_environment ()
- );
-
- static void create_alias_skel (
- TAO_ServerRequest &req,
- void *obj,
- void *context,
- CORBA::Environment &env =
- TAO_default_environment ()
- );
-
- static void create_interface_skel (
- TAO_ServerRequest &req,
- void *obj,
- void *context,
- CORBA::Environment &env =
- TAO_default_environment ()
- );
-
- static void create_value_skel (
- TAO_ServerRequest &req,
- void *obj,
- void *context,
- CORBA::Environment &env =
- TAO_default_environment ()
- );
-
- static void create_value_box_skel (
- TAO_ServerRequest &req,
- void *obj,
- void *context,
- CORBA::Environment &env =
- TAO_default_environment ()
- );
-
- static void create_exception_skel (
- TAO_ServerRequest &req,
- void *obj,
- void *context,
- CORBA::Environment &env =
- TAO_default_environment ()
- );
-
- static void create_native_skel (
- TAO_ServerRequest &req,
- void *obj,
- void *context,
- CORBA::Environment &env =
- TAO_default_environment ()
- );
-
- static void _get_id_skel (
- TAO_ServerRequest &req,
- void *obj,
- void *context,
- CORBA::Environment &env =
- TAO_default_environment ()
- );
-
- static void _set_id_skel (
- TAO_ServerRequest &req,
- void *obj,
- void *context,
- CORBA::Environment &env =
- TAO_default_environment ()
- );
-
- static void _get_name_skel (
- TAO_ServerRequest &req,
- void *obj,
- void *context,
- CORBA::Environment &env =
- TAO_default_environment ()
- );
-
- static void _set_name_skel (
- TAO_ServerRequest &req,
- void *obj,
- void *context,
- CORBA::Environment &env =
- TAO_default_environment ()
- );
-
- static void _get_version_skel (
- TAO_ServerRequest &req,
- void *obj,
- void *context,
- CORBA::Environment &env =
- TAO_default_environment ()
- );
-
- static void _set_version_skel (
- TAO_ServerRequest &req,
- void *obj,
- void *context,
- CORBA::Environment &env =
- TAO_default_environment ()
- );
-
- static void _get_defined_in_skel (
- TAO_ServerRequest &req,
- void *obj,
- void *context,
- CORBA::Environment &env =
- TAO_default_environment ()
- );
-
- static void _get_absolute_name_skel (
- TAO_ServerRequest &req,
- void *obj,
- void *context,
- CORBA::Environment &env =
- TAO_default_environment ()
- );
-
- static void _get_containing_repository_skel (
- TAO_ServerRequest &req,
- void *obj,
- void *context,
- CORBA::Environment &env =
- TAO_default_environment ()
- );
-
- static void describe_skel (
- TAO_ServerRequest &req,
- void *obj,
- void *context,
- CORBA::Environment &env =
- TAO_default_environment ()
- );
-
- static void move_skel (
- TAO_ServerRequest &req,
- void *obj,
- void *context,
- CORBA::Environment &env =
- TAO_default_environment ()
- );
-
- static void _get_type_skel (
- TAO_ServerRequest &req,
- void *obj,
- void *context,
- CORBA::Environment &env =
- TAO_default_environment ()
- );
-
- static void _get_def_kind_skel (
- TAO_ServerRequest &req,
- void *obj,
- void *context,
- CORBA::Environment &env =
- TAO_default_environment ()
- );
-
- static void destroy_skel (
- TAO_ServerRequest &req,
- void *obj,
- void *context,
- CORBA::Environment &env =
- TAO_default_environment ()
- );
-
-#if (TAO_HAS_INTERCEPTORS == 1)
- // Generation of interceptors related RequestInfo classes per operation.
- // This needed to be able to store the arguments, exceptions, contexts
- // and build the lists dynamically on demand so that unnecessary time overhead
- // of building these lists when they arent used is avoided.
- class TAO_ServerRequestInfo_IR_ComponentDef_supported_interfaces_get : public TAO_ServerRequestInfo
- {
- public:
- friend class POA_IR::ComponentDef;
- TAO_ServerRequestInfo_IR_ComponentDef_supported_interfaces_get (
- TAO_ServerRequest &_tao_server_request,
- POA_IR::ComponentDef *tao_impl
- ,
- CORBA::Environment &ACE_TRY_ENV =
- TAO_default_environment ()
- );
-
- virtual Dynamic::ParameterList * arguments (
- CORBA::Environment &ACE_TRY_ENV =
- TAO_default_environment ()
- )
- ACE_THROW_SPEC ((CORBA::SystemException));
-
- virtual Dynamic::ExceptionList * exceptions (
- CORBA::Environment &ACE_TRY_ENV =
- TAO_default_environment ()
- )
- ACE_THROW_SPEC ((CORBA::SystemException));
-
- virtual CORBA::Any * result (
- CORBA::Environment &ACE_TRY_ENV =
- TAO_default_environment ()
- )
- ACE_THROW_SPEC ((CORBA::SystemException));
-
- virtual char * target_most_derived_interface (
- CORBA::Environment &ACE_TRY_ENV = TAO_default_environment ())
- ACE_THROW_SPEC ((CORBA::SystemException));
-
- virtual CORBA::Boolean target_is_a (
- const char * id,
- CORBA::Environment &ACE_TRY_ENV = TAO_default_environment ())
- ACE_THROW_SPEC ((CORBA::SystemException));
-
-
- private:
- TAO_ServerRequestInfo_IR_ComponentDef_supported_interfaces_get (const TAO_ServerRequestInfo_IR_ComponentDef_supported_interfaces_get &);
- void operator= (const TAO_ServerRequestInfo_IR_ComponentDef_supported_interfaces_get &);
-
- private:
- POA_IR::ComponentDef *_tao_impl;
- void result (IR::InterfaceDefSeq * result);
- // update the result
- IR_InterfaceDefSeq * _result;
- };
-
- class TAO_ServerRequestInfo_IR_ComponentDef_supported_interfaces_set : public TAO_ServerRequestInfo
- {
- public:
- friend class POA_IR::ComponentDef;
- TAO_ServerRequestInfo_IR_ComponentDef_supported_interfaces_set (
- TAO_ServerRequest &_tao_server_request,
- POA_IR::ComponentDef *tao_impl
- ,
- const IR_InterfaceDefSeq & supported_interfaces,
- CORBA::Environment &ACE_TRY_ENV =
- TAO_default_environment ()
- );
-
- virtual Dynamic::ParameterList * arguments (
- CORBA::Environment &ACE_TRY_ENV =
- TAO_default_environment ()
- )
- ACE_THROW_SPEC ((CORBA::SystemException));
-
- virtual Dynamic::ExceptionList * exceptions (
- CORBA::Environment &ACE_TRY_ENV =
- TAO_default_environment ()
- )
- ACE_THROW_SPEC ((CORBA::SystemException));
-
- virtual CORBA::Any * result (
- CORBA::Environment &ACE_TRY_ENV =
- TAO_default_environment ()
- )
- ACE_THROW_SPEC ((CORBA::SystemException));
-
- virtual char * target_most_derived_interface (
- CORBA::Environment &ACE_TRY_ENV = TAO_default_environment ())
- ACE_THROW_SPEC ((CORBA::SystemException));
-
- virtual CORBA::Boolean target_is_a (
- const char * id,
- CORBA::Environment &ACE_TRY_ENV = TAO_default_environment ())
- ACE_THROW_SPEC ((CORBA::SystemException));
-
-
- private:
- TAO_ServerRequestInfo_IR_ComponentDef_supported_interfaces_set (const TAO_ServerRequestInfo_IR_ComponentDef_supported_interfaces_set &);
- void operator= (const TAO_ServerRequestInfo_IR_ComponentDef_supported_interfaces_set &);
-
- private:
- POA_IR::ComponentDef *_tao_impl;
- const IR_InterfaceDefSeq & supported_interfaces_;
- };
-
- class TAO_ServerRequestInfo_IR_ComponentDef_base_component_get : public TAO_ServerRequestInfo
- {
- public:
- friend class POA_IR::ComponentDef;
- TAO_ServerRequestInfo_IR_ComponentDef_base_component_get (
- TAO_ServerRequest &_tao_server_request,
- POA_IR::ComponentDef *tao_impl
- ,
- CORBA::Environment &ACE_TRY_ENV =
- TAO_default_environment ()
- );
-
- virtual Dynamic::ParameterList * arguments (
- CORBA::Environment &ACE_TRY_ENV =
- TAO_default_environment ()
- )
- ACE_THROW_SPEC ((CORBA::SystemException));
-
- virtual Dynamic::ExceptionList * exceptions (
- CORBA::Environment &ACE_TRY_ENV =
- TAO_default_environment ()
- )
- ACE_THROW_SPEC ((CORBA::SystemException));
-
- virtual CORBA::Any * result (
- CORBA::Environment &ACE_TRY_ENV =
- TAO_default_environment ()
- )
- ACE_THROW_SPEC ((CORBA::SystemException));
-
- virtual char * target_most_derived_interface (
- CORBA::Environment &ACE_TRY_ENV = TAO_default_environment ())
- ACE_THROW_SPEC ((CORBA::SystemException));
-
- virtual CORBA::Boolean target_is_a (
- const char * id,
- CORBA::Environment &ACE_TRY_ENV = TAO_default_environment ())
- ACE_THROW_SPEC ((CORBA::SystemException));
-
-
- private:
- TAO_ServerRequestInfo_IR_ComponentDef_base_component_get (const TAO_ServerRequestInfo_IR_ComponentDef_base_component_get &);
- void operator= (const TAO_ServerRequestInfo_IR_ComponentDef_base_component_get &);
-
- private:
- POA_IR::ComponentDef *_tao_impl;
- void result (IR::ComponentDef_ptr result);
- // update the result
- IR_ComponentDef_ptr _result;
- };
-
- class TAO_ServerRequestInfo_IR_ComponentDef_provides_interfaces_get : public TAO_ServerRequestInfo
- {
- public:
- friend class POA_IR::ComponentDef;
- TAO_ServerRequestInfo_IR_ComponentDef_provides_interfaces_get (
- TAO_ServerRequest &_tao_server_request,
- POA_IR::ComponentDef *tao_impl
- ,
- CORBA::Environment &ACE_TRY_ENV =
- TAO_default_environment ()
- );
-
- virtual Dynamic::ParameterList * arguments (
- CORBA::Environment &ACE_TRY_ENV =
- TAO_default_environment ()
- )
- ACE_THROW_SPEC ((CORBA::SystemException));
-
- virtual Dynamic::ExceptionList * exceptions (
- CORBA::Environment &ACE_TRY_ENV =
- TAO_default_environment ()
- )
- ACE_THROW_SPEC ((CORBA::SystemException));
-
- virtual CORBA::Any * result (
- CORBA::Environment &ACE_TRY_ENV =
- TAO_default_environment ()
- )
- ACE_THROW_SPEC ((CORBA::SystemException));
-
- virtual char * target_most_derived_interface (
- CORBA::Environment &ACE_TRY_ENV = TAO_default_environment ())
- ACE_THROW_SPEC ((CORBA::SystemException));
-
- virtual CORBA::Boolean target_is_a (
- const char * id,
- CORBA::Environment &ACE_TRY_ENV = TAO_default_environment ())
- ACE_THROW_SPEC ((CORBA::SystemException));
-
-
- private:
- TAO_ServerRequestInfo_IR_ComponentDef_provides_interfaces_get (const TAO_ServerRequestInfo_IR_ComponentDef_provides_interfaces_get &);
- void operator= (const TAO_ServerRequestInfo_IR_ComponentDef_provides_interfaces_get &);
-
- private:
- POA_IR::ComponentDef *_tao_impl;
- void result (IR::ProvidesDefSeq * result);
- // update the result
- IR_ProvidesDefSeq * _result;
- };
-
- class TAO_ServerRequestInfo_IR_ComponentDef_uses_interfaces_get : public TAO_ServerRequestInfo
- {
- public:
- friend class POA_IR::ComponentDef;
- TAO_ServerRequestInfo_IR_ComponentDef_uses_interfaces_get (
- TAO_ServerRequest &_tao_server_request,
- POA_IR::ComponentDef *tao_impl
- ,
- CORBA::Environment &ACE_TRY_ENV =
- TAO_default_environment ()
- );
-
- virtual Dynamic::ParameterList * arguments (
- CORBA::Environment &ACE_TRY_ENV =
- TAO_default_environment ()
- )
- ACE_THROW_SPEC ((CORBA::SystemException));
-
- virtual Dynamic::ExceptionList * exceptions (
- CORBA::Environment &ACE_TRY_ENV =
- TAO_default_environment ()
- )
- ACE_THROW_SPEC ((CORBA::SystemException));
-
- virtual CORBA::Any * result (
- CORBA::Environment &ACE_TRY_ENV =
- TAO_default_environment ()
- )
- ACE_THROW_SPEC ((CORBA::SystemException));
-
- virtual char * target_most_derived_interface (
- CORBA::Environment &ACE_TRY_ENV = TAO_default_environment ())
- ACE_THROW_SPEC ((CORBA::SystemException));
-
- virtual CORBA::Boolean target_is_a (
- const char * id,
- CORBA::Environment &ACE_TRY_ENV = TAO_default_environment ())
- ACE_THROW_SPEC ((CORBA::SystemException));
-
-
- private:
- TAO_ServerRequestInfo_IR_ComponentDef_uses_interfaces_get (const TAO_ServerRequestInfo_IR_ComponentDef_uses_interfaces_get &);
- void operator= (const TAO_ServerRequestInfo_IR_ComponentDef_uses_interfaces_get &);
-
- private:
- POA_IR::ComponentDef *_tao_impl;
- void result (IR::UsesDefSeq * result);
- // update the result
- IR_UsesDefSeq * _result;
- };
-
- class TAO_ServerRequestInfo_IR_ComponentDef_emits_events_get : public TAO_ServerRequestInfo
- {
- public:
- friend class POA_IR::ComponentDef;
- TAO_ServerRequestInfo_IR_ComponentDef_emits_events_get (
- TAO_ServerRequest &_tao_server_request,
- POA_IR::ComponentDef *tao_impl
- ,
- CORBA::Environment &ACE_TRY_ENV =
- TAO_default_environment ()
- );
-
- virtual Dynamic::ParameterList * arguments (
- CORBA::Environment &ACE_TRY_ENV =
- TAO_default_environment ()
- )
- ACE_THROW_SPEC ((CORBA::SystemException));
-
- virtual Dynamic::ExceptionList * exceptions (
- CORBA::Environment &ACE_TRY_ENV =
- TAO_default_environment ()
- )
- ACE_THROW_SPEC ((CORBA::SystemException));
-
- virtual CORBA::Any * result (
- CORBA::Environment &ACE_TRY_ENV =
- TAO_default_environment ()
- )
- ACE_THROW_SPEC ((CORBA::SystemException));
-
- virtual char * target_most_derived_interface (
- CORBA::Environment &ACE_TRY_ENV = TAO_default_environment ())
- ACE_THROW_SPEC ((CORBA::SystemException));
-
- virtual CORBA::Boolean target_is_a (
- const char * id,
- CORBA::Environment &ACE_TRY_ENV = TAO_default_environment ())
- ACE_THROW_SPEC ((CORBA::SystemException));
-
-
- private:
- TAO_ServerRequestInfo_IR_ComponentDef_emits_events_get (const TAO_ServerRequestInfo_IR_ComponentDef_emits_events_get &);
- void operator= (const TAO_ServerRequestInfo_IR_ComponentDef_emits_events_get &);
-
- private:
- POA_IR::ComponentDef *_tao_impl;
- void result (IR::EmitsDefSeq * result);
- // update the result
- IR_EmitsDefSeq * _result;
- };
-
- class TAO_ServerRequestInfo_IR_ComponentDef_publishes_events_get : public TAO_ServerRequestInfo
- {
- public:
- friend class POA_IR::ComponentDef;
- TAO_ServerRequestInfo_IR_ComponentDef_publishes_events_get (
- TAO_ServerRequest &_tao_server_request,
- POA_IR::ComponentDef *tao_impl
- ,
- CORBA::Environment &ACE_TRY_ENV =
- TAO_default_environment ()
- );
-
- virtual Dynamic::ParameterList * arguments (
- CORBA::Environment &ACE_TRY_ENV =
- TAO_default_environment ()
- )
- ACE_THROW_SPEC ((CORBA::SystemException));
-
- virtual Dynamic::ExceptionList * exceptions (
- CORBA::Environment &ACE_TRY_ENV =
- TAO_default_environment ()
- )
- ACE_THROW_SPEC ((CORBA::SystemException));
-
- virtual CORBA::Any * result (
- CORBA::Environment &ACE_TRY_ENV =
- TAO_default_environment ()
- )
- ACE_THROW_SPEC ((CORBA::SystemException));
-
- virtual char * target_most_derived_interface (
- CORBA::Environment &ACE_TRY_ENV = TAO_default_environment ())
- ACE_THROW_SPEC ((CORBA::SystemException));
-
- virtual CORBA::Boolean target_is_a (
- const char * id,
- CORBA::Environment &ACE_TRY_ENV = TAO_default_environment ())
- ACE_THROW_SPEC ((CORBA::SystemException));
-
-
- private:
- TAO_ServerRequestInfo_IR_ComponentDef_publishes_events_get (const TAO_ServerRequestInfo_IR_ComponentDef_publishes_events_get &);
- void operator= (const TAO_ServerRequestInfo_IR_ComponentDef_publishes_events_get &);
-
- private:
- POA_IR::ComponentDef *_tao_impl;
- void result (IR::PublishesDefSeq * result);
- // update the result
- IR_PublishesDefSeq * _result;
- };
-
- class TAO_ServerRequestInfo_IR_ComponentDef_consumes_events_get : public TAO_ServerRequestInfo
- {
- public:
- friend class POA_IR::ComponentDef;
- TAO_ServerRequestInfo_IR_ComponentDef_consumes_events_get (
- TAO_ServerRequest &_tao_server_request,
- POA_IR::ComponentDef *tao_impl
- ,
- CORBA::Environment &ACE_TRY_ENV =
- TAO_default_environment ()
- );
-
- virtual Dynamic::ParameterList * arguments (
- CORBA::Environment &ACE_TRY_ENV =
- TAO_default_environment ()
- )
- ACE_THROW_SPEC ((CORBA::SystemException));
-
- virtual Dynamic::ExceptionList * exceptions (
- CORBA::Environment &ACE_TRY_ENV =
- TAO_default_environment ()
- )
- ACE_THROW_SPEC ((CORBA::SystemException));
-
- virtual CORBA::Any * result (
- CORBA::Environment &ACE_TRY_ENV =
- TAO_default_environment ()
- )
- ACE_THROW_SPEC ((CORBA::SystemException));
-
- virtual char * target_most_derived_interface (
- CORBA::Environment &ACE_TRY_ENV = TAO_default_environment ())
- ACE_THROW_SPEC ((CORBA::SystemException));
-
- virtual CORBA::Boolean target_is_a (
- const char * id,
- CORBA::Environment &ACE_TRY_ENV = TAO_default_environment ())
- ACE_THROW_SPEC ((CORBA::SystemException));
-
-
- private:
- TAO_ServerRequestInfo_IR_ComponentDef_consumes_events_get (const TAO_ServerRequestInfo_IR_ComponentDef_consumes_events_get &);
- void operator= (const TAO_ServerRequestInfo_IR_ComponentDef_consumes_events_get &);
-
- private:
- POA_IR::ComponentDef *_tao_impl;
- void result (IR::ConsumesDefSeq * result);
- // update the result
- IR_ConsumesDefSeq * _result;
- };
-
- class TAO_ServerRequestInfo_IR_ComponentDef_is_basic_get : public TAO_ServerRequestInfo
- {
- public:
- friend class POA_IR::ComponentDef;
- TAO_ServerRequestInfo_IR_ComponentDef_is_basic_get (
- TAO_ServerRequest &_tao_server_request,
- POA_IR::ComponentDef *tao_impl
- ,
- CORBA::Environment &ACE_TRY_ENV =
- TAO_default_environment ()
- );
-
- virtual Dynamic::ParameterList * arguments (
- CORBA::Environment &ACE_TRY_ENV =
- TAO_default_environment ()
- )
- ACE_THROW_SPEC ((CORBA::SystemException));
-
- virtual Dynamic::ExceptionList * exceptions (
- CORBA::Environment &ACE_TRY_ENV =
- TAO_default_environment ()
- )
- ACE_THROW_SPEC ((CORBA::SystemException));
-
- virtual CORBA::Any * result (
- CORBA::Environment &ACE_TRY_ENV =
- TAO_default_environment ()
- )
- ACE_THROW_SPEC ((CORBA::SystemException));
-
- virtual char * target_most_derived_interface (
- CORBA::Environment &ACE_TRY_ENV = TAO_default_environment ())
- ACE_THROW_SPEC ((CORBA::SystemException));
-
- virtual CORBA::Boolean target_is_a (
- const char * id,
- CORBA::Environment &ACE_TRY_ENV = TAO_default_environment ())
- ACE_THROW_SPEC ((CORBA::SystemException));
-
-
- private:
- TAO_ServerRequestInfo_IR_ComponentDef_is_basic_get (const TAO_ServerRequestInfo_IR_ComponentDef_is_basic_get &);
- void operator= (const TAO_ServerRequestInfo_IR_ComponentDef_is_basic_get &);
-
- private:
- POA_IR::ComponentDef *_tao_impl;
- void result (CORBA::Boolean result);
- // update the result
- CORBA::Boolean _result;
- };
-
- class TAO_ServerRequestInfo_IR_ComponentDef_create_provides : public TAO_ServerRequestInfo
- {
- public:
- friend class POA_IR::ComponentDef;
- TAO_ServerRequestInfo_IR_ComponentDef_create_provides (
- TAO_ServerRequest &_tao_server_request,
- POA_IR::ComponentDef *tao_impl
- ,
- const char * id,
- const char * name,
- const char * version,
- IR_InterfaceDef_ptr interface_type,
- CORBA::Environment &ACE_TRY_ENV =
- TAO_default_environment ()
- );
-
- virtual Dynamic::ParameterList * arguments (
- CORBA::Environment &ACE_TRY_ENV =
- TAO_default_environment ()
- )
- ACE_THROW_SPEC ((CORBA::SystemException));
-
- virtual Dynamic::ExceptionList * exceptions (
- CORBA::Environment &ACE_TRY_ENV =
- TAO_default_environment ()
- )
- ACE_THROW_SPEC ((CORBA::SystemException));
-
- virtual CORBA::Any * result (
- CORBA::Environment &ACE_TRY_ENV =
- TAO_default_environment ()
- )
- ACE_THROW_SPEC ((CORBA::SystemException));
-
- virtual char * target_most_derived_interface (
- CORBA::Environment &ACE_TRY_ENV = TAO_default_environment ())
- ACE_THROW_SPEC ((CORBA::SystemException));
-
- virtual CORBA::Boolean target_is_a (
- const char * id,
- CORBA::Environment &ACE_TRY_ENV = TAO_default_environment ())
- ACE_THROW_SPEC ((CORBA::SystemException));
-
-
- private:
- TAO_ServerRequestInfo_IR_ComponentDef_create_provides (const TAO_ServerRequestInfo_IR_ComponentDef_create_provides &);
- void operator= (const TAO_ServerRequestInfo_IR_ComponentDef_create_provides &);
-
- private:
- POA_IR::ComponentDef *_tao_impl;
- const char * id_;
- const char * name_;
- const char * version_;
- IR_InterfaceDef_ptr interface_type_;
- void result (IR::ProvidesDef_ptr result);
- // update the result
- IR_ProvidesDef_ptr _result;
- };
-
- class TAO_ServerRequestInfo_IR_ComponentDef_create_uses : public TAO_ServerRequestInfo
- {
- public:
- friend class POA_IR::ComponentDef;
- TAO_ServerRequestInfo_IR_ComponentDef_create_uses (
- TAO_ServerRequest &_tao_server_request,
- POA_IR::ComponentDef *tao_impl
- ,
- const char * id,
- const char * name,
- const char * version,
- IR_InterfaceDef_ptr interface_type,
- const CORBA::Boolean & is_multiple,
- CORBA::Environment &ACE_TRY_ENV =
- TAO_default_environment ()
- );
-
- virtual Dynamic::ParameterList * arguments (
- CORBA::Environment &ACE_TRY_ENV =
- TAO_default_environment ()
- )
- ACE_THROW_SPEC ((CORBA::SystemException));
-
- virtual Dynamic::ExceptionList * exceptions (
- CORBA::Environment &ACE_TRY_ENV =
- TAO_default_environment ()
- )
- ACE_THROW_SPEC ((CORBA::SystemException));
-
- virtual CORBA::Any * result (
- CORBA::Environment &ACE_TRY_ENV =
- TAO_default_environment ()
- )
- ACE_THROW_SPEC ((CORBA::SystemException));
-
- virtual char * target_most_derived_interface (
- CORBA::Environment &ACE_TRY_ENV = TAO_default_environment ())
- ACE_THROW_SPEC ((CORBA::SystemException));
-
- virtual CORBA::Boolean target_is_a (
- const char * id,
- CORBA::Environment &ACE_TRY_ENV = TAO_default_environment ())
- ACE_THROW_SPEC ((CORBA::SystemException));
-
-
- private:
- TAO_ServerRequestInfo_IR_ComponentDef_create_uses (const TAO_ServerRequestInfo_IR_ComponentDef_create_uses &);
- void operator= (const TAO_ServerRequestInfo_IR_ComponentDef_create_uses &);
-
- private:
- POA_IR::ComponentDef *_tao_impl;
- const char * id_;
- const char * name_;
- const char * version_;
- IR_InterfaceDef_ptr interface_type_;
- const CORBA::Boolean & is_multiple_;
- void result (IR::UsesDef_ptr result);
- // update the result
- IR_UsesDef_ptr _result;
- };
-
- class TAO_ServerRequestInfo_IR_ComponentDef_create_emits : public TAO_ServerRequestInfo
- {
- public:
- friend class POA_IR::ComponentDef;
- TAO_ServerRequestInfo_IR_ComponentDef_create_emits (
- TAO_ServerRequest &_tao_server_request,
- POA_IR::ComponentDef *tao_impl
- ,
- const char * id,
- const char * name,
- const char * version,
- IR_ValueDef_ptr value,
- CORBA::Environment &ACE_TRY_ENV =
- TAO_default_environment ()
- );
-
- virtual Dynamic::ParameterList * arguments (
- CORBA::Environment &ACE_TRY_ENV =
- TAO_default_environment ()
- )
- ACE_THROW_SPEC ((CORBA::SystemException));
-
- virtual Dynamic::ExceptionList * exceptions (
- CORBA::Environment &ACE_TRY_ENV =
- TAO_default_environment ()
- )
- ACE_THROW_SPEC ((CORBA::SystemException));
-
- virtual CORBA::Any * result (
- CORBA::Environment &ACE_TRY_ENV =
- TAO_default_environment ()
- )
- ACE_THROW_SPEC ((CORBA::SystemException));
-
- virtual char * target_most_derived_interface (
- CORBA::Environment &ACE_TRY_ENV = TAO_default_environment ())
- ACE_THROW_SPEC ((CORBA::SystemException));
-
- virtual CORBA::Boolean target_is_a (
- const char * id,
- CORBA::Environment &ACE_TRY_ENV = TAO_default_environment ())
- ACE_THROW_SPEC ((CORBA::SystemException));
-
-
- private:
- TAO_ServerRequestInfo_IR_ComponentDef_create_emits (const TAO_ServerRequestInfo_IR_ComponentDef_create_emits &);
- void operator= (const TAO_ServerRequestInfo_IR_ComponentDef_create_emits &);
-
- private:
- POA_IR::ComponentDef *_tao_impl;
- const char * id_;
- const char * name_;
- const char * version_;
- IR_ValueDef_ptr value_;
- void result (IR::EmitsDef_ptr result);
- // update the result
- IR_EmitsDef_ptr _result;
- };
-
- class TAO_ServerRequestInfo_IR_ComponentDef_create_publishes : public TAO_ServerRequestInfo
- {
- public:
- friend class POA_IR::ComponentDef;
- TAO_ServerRequestInfo_IR_ComponentDef_create_publishes (
- TAO_ServerRequest &_tao_server_request,
- POA_IR::ComponentDef *tao_impl
- ,
- const char * id,
- const char * name,
- const char * version,
- IR_ValueDef_ptr value,
- CORBA::Environment &ACE_TRY_ENV =
- TAO_default_environment ()
- );
-
- virtual Dynamic::ParameterList * arguments (
- CORBA::Environment &ACE_TRY_ENV =
- TAO_default_environment ()
- )
- ACE_THROW_SPEC ((CORBA::SystemException));
-
- virtual Dynamic::ExceptionList * exceptions (
- CORBA::Environment &ACE_TRY_ENV =
- TAO_default_environment ()
- )
- ACE_THROW_SPEC ((CORBA::SystemException));
-
- virtual CORBA::Any * result (
- CORBA::Environment &ACE_TRY_ENV =
- TAO_default_environment ()
- )
- ACE_THROW_SPEC ((CORBA::SystemException));
-
- virtual char * target_most_derived_interface (
- CORBA::Environment &ACE_TRY_ENV = TAO_default_environment ())
- ACE_THROW_SPEC ((CORBA::SystemException));
-
- virtual CORBA::Boolean target_is_a (
- const char * id,
- CORBA::Environment &ACE_TRY_ENV = TAO_default_environment ())
- ACE_THROW_SPEC ((CORBA::SystemException));
-
-
- private:
- TAO_ServerRequestInfo_IR_ComponentDef_create_publishes (const TAO_ServerRequestInfo_IR_ComponentDef_create_publishes &);
- void operator= (const TAO_ServerRequestInfo_IR_ComponentDef_create_publishes &);
-
- private:
- POA_IR::ComponentDef *_tao_impl;
- const char * id_;
- const char * name_;
- const char * version_;
- IR_ValueDef_ptr value_;
- void result (IR::PublishesDef_ptr result);
- // update the result
- IR_PublishesDef_ptr _result;
- };
-
- class TAO_ServerRequestInfo_IR_ComponentDef_create_consumes : public TAO_ServerRequestInfo
- {
- public:
- friend class POA_IR::ComponentDef;
- TAO_ServerRequestInfo_IR_ComponentDef_create_consumes (
- TAO_ServerRequest &_tao_server_request,
- POA_IR::ComponentDef *tao_impl
- ,
- const char * id,
- const char * name,
- const char * version,
- IR_ValueDef_ptr value,
- CORBA::Environment &ACE_TRY_ENV =
- TAO_default_environment ()
- );
-
- virtual Dynamic::ParameterList * arguments (
- CORBA::Environment &ACE_TRY_ENV =
- TAO_default_environment ()
- )
- ACE_THROW_SPEC ((CORBA::SystemException));
-
- virtual Dynamic::ExceptionList * exceptions (
- CORBA::Environment &ACE_TRY_ENV =
- TAO_default_environment ()
- )
- ACE_THROW_SPEC ((CORBA::SystemException));
-
- virtual CORBA::Any * result (
- CORBA::Environment &ACE_TRY_ENV =
- TAO_default_environment ()
- )
- ACE_THROW_SPEC ((CORBA::SystemException));
-
- virtual char * target_most_derived_interface (
- CORBA::Environment &ACE_TRY_ENV = TAO_default_environment ())
- ACE_THROW_SPEC ((CORBA::SystemException));
-
- virtual CORBA::Boolean target_is_a (
- const char * id,
- CORBA::Environment &ACE_TRY_ENV = TAO_default_environment ())
- ACE_THROW_SPEC ((CORBA::SystemException));
-
-
- private:
- TAO_ServerRequestInfo_IR_ComponentDef_create_consumes (const TAO_ServerRequestInfo_IR_ComponentDef_create_consumes &);
- void operator= (const TAO_ServerRequestInfo_IR_ComponentDef_create_consumes &);
-
- private:
- POA_IR::ComponentDef *_tao_impl;
- const char * id_;
- const char * name_;
- const char * version_;
- IR_ValueDef_ptr value_;
- void result (IR::ConsumesDef_ptr result);
- // update the result
- IR_ConsumesDef_ptr _result;
- };
-
-#endif /* TAO_HAS_INTERCEPTORS */
-
- };
-
-///////////////////////////////////////////////////////////////////////
-// Strategized Proxy Broker Declaration
-//
-
-class _TAO_ComponentDef_Strategized_Proxy_Broker : public virtual _TAO_ComponentDef_Proxy_Broker
-{
-public:
- _TAO_ComponentDef_Strategized_Proxy_Broker (void);
-
- virtual ~_TAO_ComponentDef_Strategized_Proxy_Broker (void);
-
- virtual _TAO_ComponentDef_Proxy_Impl &select_proxy (
- IR_ComponentDef *object,
- CORBA_Environment &ACE_TRY_ENV = TAO_default_environment ()
- );
-
-private:
-
-// Helper methods that takes care to create the proxy
-// as soon as their use is necessary.
- void create_proxy (
- int strategy,
- CORBA::Environment &ACE_TRY_ENV
- );
-
-private:
-
- // Caches the proxy implementations. The proxy implementation
- // are totally stateless, and those can be shared by all the
- // instances of a given IDL interface type.
- _TAO_ComponentDef_Proxy_Impl
- *proxy_cache_[TAO_Collocation_Strategies::CS_LAST];
-
- TAO_SYNCH_MUTEX mutex_;
-// This funxtion is used to get an handle to the unique instance
-// of the Strategized Proxy Broker that is available for a given
-// interface.
-
-public:
- static _TAO_ComponentDef_Strategized_Proxy_Broker *the_TAO_ComponentDef_Strategized_Proxy_Broker (void);
-};
-
-//
-// End Strategized Proxy Broker Declaration
-///////////////////////////////////////////////////////////////////////
-
-
-///////////////////////////////////////////////////////////////////////
-// ThruPOA Impl. Declaration
-//
-
-class _TAO_ComponentDef_ThruPOA_Proxy_Impl :
- public virtual _TAO_ComponentDef_Proxy_Impl,
- public virtual TAO_ThruPOA_Object_Proxy_Impl,
- public virtual ::POA_IR::_TAO_InterfaceDef_ThruPOA_Proxy_Impl
-
-{
-public:
- _TAO_ComponentDef_ThruPOA_Proxy_Impl (void);
-
- virtual ~_TAO_ComponentDef_ThruPOA_Proxy_Impl (void) { }
-
- virtual IR_InterfaceDefSeq * supported_interfaces (
- CORBA_Object *_collocated_tao_target_,
- CORBA::Environment &ACE_TRY_ENV
- )
- ACE_THROW_SPEC ((
- CORBA::SystemException
- ));
-
- virtual void supported_interfaces (
- CORBA_Object *_collocated_tao_target_,
- const IR_InterfaceDefSeq & supported_interfaces,
- CORBA::Environment &ACE_TRY_ENV
- )
- ACE_THROW_SPEC ((
- CORBA::SystemException
- ));
-
- virtual IR_ComponentDef_ptr base_component (
- CORBA_Object *_collocated_tao_target_,
- CORBA::Environment &ACE_TRY_ENV
- )
- ACE_THROW_SPEC ((
- CORBA::SystemException
- ));
-
- virtual IR_ProvidesDefSeq * provides_interfaces (
- CORBA_Object *_collocated_tao_target_,
- CORBA::Environment &ACE_TRY_ENV
- )
- ACE_THROW_SPEC ((
- CORBA::SystemException
- ));
-
- virtual IR_UsesDefSeq * uses_interfaces (
- CORBA_Object *_collocated_tao_target_,
- CORBA::Environment &ACE_TRY_ENV
- )
- ACE_THROW_SPEC ((
- CORBA::SystemException
- ));
-
- virtual IR_EmitsDefSeq * emits_events (
- CORBA_Object *_collocated_tao_target_,
- CORBA::Environment &ACE_TRY_ENV
- )
- ACE_THROW_SPEC ((
- CORBA::SystemException
- ));
-
- virtual IR_PublishesDefSeq * publishes_events (
- CORBA_Object *_collocated_tao_target_,
- CORBA::Environment &ACE_TRY_ENV
- )
- ACE_THROW_SPEC ((
- CORBA::SystemException
- ));
-
- virtual IR_ConsumesDefSeq * consumes_events (
- CORBA_Object *_collocated_tao_target_,
- CORBA::Environment &ACE_TRY_ENV
- )
- ACE_THROW_SPEC ((
- CORBA::SystemException
- ));
-
- virtual CORBA::Boolean is_basic (
- CORBA_Object *_collocated_tao_target_,
- CORBA::Environment &ACE_TRY_ENV
- )
- ACE_THROW_SPEC ((
- CORBA::SystemException
- ));
-
- virtual IR_ProvidesDef_ptr create_provides (
- CORBA_Object *_collocated_tao_target_,
- const char * id,
- const char * name,
- const char * version,
- IR_InterfaceDef_ptr interface_type,
- CORBA::Environment &ACE_TRY_ENV
- )
- ACE_THROW_SPEC ((
- CORBA::SystemException
- ));
-
- virtual IR_UsesDef_ptr create_uses (
- CORBA_Object *_collocated_tao_target_,
- const char * id,
- const char * name,
- const char * version,
- IR_InterfaceDef_ptr interface_type,
- CORBA::Boolean is_multiple,
- CORBA::Environment &ACE_TRY_ENV
- )
- ACE_THROW_SPEC ((
- CORBA::SystemException
- ));
-
- virtual IR_EmitsDef_ptr create_emits (
- CORBA_Object *_collocated_tao_target_,
- const char * id,
- const char * name,
- const char * version,
- IR_ValueDef_ptr value,
- CORBA::Environment &ACE_TRY_ENV
- )
- ACE_THROW_SPEC ((
- CORBA::SystemException
- ));
-
- virtual IR_PublishesDef_ptr create_publishes (
- CORBA_Object *_collocated_tao_target_,
- const char * id,
- const char * name,
- const char * version,
- IR_ValueDef_ptr value,
- CORBA::Environment &ACE_TRY_ENV
- )
- ACE_THROW_SPEC ((
- CORBA::SystemException
- ));
-
- virtual IR_ConsumesDef_ptr create_consumes (
- CORBA_Object *_collocated_tao_target_,
- const char * id,
- const char * name,
- const char * version,
- IR_ValueDef_ptr value,
- CORBA::Environment &ACE_TRY_ENV
- )
- ACE_THROW_SPEC ((
- CORBA::SystemException
- ));
-
-};
-
-
-//
-// ThruPOA Proxy Impl. Declaration
-///////////////////////////////////////////////////////////////////////
-
-#if defined (ACE_HAS_USING_KEYWORD)
- // TIE class: Refer to CORBA v2.2, Section 20.34.4
- template <class T>
- class ComponentDef_tie : public ComponentDef
- {
- public:
- ComponentDef_tie (T &t);
- // the T& ctor
- ComponentDef_tie (T &t, PortableServer::POA_ptr poa);
- // ctor taking a POA
- ComponentDef_tie (T *tp, CORBA::Boolean release=1);
- // ctor taking pointer and an ownership flag
- ComponentDef_tie (T *tp, PortableServer::POA_ptr poa, CORBA::Boolean release=1);
- // ctor with T*, ownership flag and a POA
- ~ComponentDef_tie (void);
- // dtor
-
- // TIE specific functions
- T *_tied_object (void);
- // return the underlying object
- void _tied_object (T &obj);
- // set the underlying object
- void _tied_object (T *obj, CORBA::Boolean release=1);
- // set the underlying object and the ownership flag
- CORBA::Boolean _is_owner (void);
- // do we own it
- void _is_owner (CORBA::Boolean b);
- // set the ownership
-
- // overridden ServantBase operations
- PortableServer::POA_ptr _default_POA (
- CORBA::Environment &env =
- TAO_default_environment ()
- );
- IR_InterfaceDefSeq * supported_interfaces (
- CORBA::Environment &ACE_TRY_ENV =
- TAO_default_environment ()
- )
- ACE_THROW_SPEC ((
- CORBA::SystemException
- ));
-
- void supported_interfaces (
- const IR_InterfaceDefSeq & supported_interfaces,
- CORBA::Environment &ACE_TRY_ENV =
- TAO_default_environment ()
- )
- ACE_THROW_SPEC ((
- CORBA::SystemException
- ));
-
- IR_ComponentDef_ptr base_component (
- CORBA::Environment &ACE_TRY_ENV =
- TAO_default_environment ()
- )
- ACE_THROW_SPEC ((
- CORBA::SystemException
- ));
-
- IR_ProvidesDefSeq * provides_interfaces (
- CORBA::Environment &ACE_TRY_ENV =
- TAO_default_environment ()
- )
- ACE_THROW_SPEC ((
- CORBA::SystemException
- ));
-
- IR_UsesDefSeq * uses_interfaces (
- CORBA::Environment &ACE_TRY_ENV =
- TAO_default_environment ()
- )
- ACE_THROW_SPEC ((
- CORBA::SystemException
- ));
-
- IR_EmitsDefSeq * emits_events (
- CORBA::Environment &ACE_TRY_ENV =
- TAO_default_environment ()
- )
- ACE_THROW_SPEC ((
- CORBA::SystemException
- ));
-
- IR_PublishesDefSeq * publishes_events (
- CORBA::Environment &ACE_TRY_ENV =
- TAO_default_environment ()
- )
- ACE_THROW_SPEC ((
- CORBA::SystemException
- ));
-
- IR_ConsumesDefSeq * consumes_events (
- CORBA::Environment &ACE_TRY_ENV =
- TAO_default_environment ()
- )
- ACE_THROW_SPEC ((
- CORBA::SystemException
- ));
-
- CORBA::Boolean is_basic (
- CORBA::Environment &ACE_TRY_ENV =
- TAO_default_environment ()
- )
- ACE_THROW_SPEC ((
- CORBA::SystemException
- ));
-
- IR_ProvidesDef_ptr create_provides (
- const char * id,
- const char * name,
- const char * version,
- IR_InterfaceDef_ptr interface_type,
- CORBA::Environment &ACE_TRY_ENV =
- TAO_default_environment ()
- )
- ACE_THROW_SPEC ((
- CORBA::SystemException
- ));
-
- IR_UsesDef_ptr create_uses (
- const char * id,
- const char * name,
- const char * version,
- IR_InterfaceDef_ptr interface_type,
- CORBA::Boolean is_multiple,
- CORBA::Environment &ACE_TRY_ENV =
- TAO_default_environment ()
- )
- ACE_THROW_SPEC ((
- CORBA::SystemException
- ));
-
- IR_EmitsDef_ptr create_emits (
- const char * id,
- const char * name,
- const char * version,
- IR_ValueDef_ptr value,
- CORBA::Environment &ACE_TRY_ENV =
- TAO_default_environment ()
- )
- ACE_THROW_SPEC ((
- CORBA::SystemException
- ));
-
- IR_PublishesDef_ptr create_publishes (
- const char * id,
- const char * name,
- const char * version,
- IR_ValueDef_ptr value,
- CORBA::Environment &ACE_TRY_ENV =
- TAO_default_environment ()
- )
- ACE_THROW_SPEC ((
- CORBA::SystemException
- ));
-
- IR_ConsumesDef_ptr create_consumes (
- const char * id,
- const char * name,
- const char * version,
- IR_ValueDef_ptr value,
- CORBA::Environment &ACE_TRY_ENV =
- TAO_default_environment ()
- )
- ACE_THROW_SPEC ((
- CORBA::SystemException
- ));
-
- IR_InterfaceDefSeq * base_interfaces (
- CORBA::Environment &ACE_TRY_ENV =
- TAO_default_environment ()
- )
- ACE_THROW_SPEC ((
- CORBA::SystemException
- ));
-
- void base_interfaces (
- const IR_InterfaceDefSeq & base_interfaces,
- CORBA::Environment &ACE_TRY_ENV =
- TAO_default_environment ()
- )
- ACE_THROW_SPEC ((
- CORBA::SystemException
- ));
-
- CORBA::Boolean is_abstract (
- CORBA::Environment &ACE_TRY_ENV =
- TAO_default_environment ()
- )
- ACE_THROW_SPEC ((
- CORBA::SystemException
- ));
-
- void is_abstract (
- CORBA::Boolean is_abstract,
- CORBA::Environment &ACE_TRY_ENV =
- TAO_default_environment ()
- )
- ACE_THROW_SPEC ((
- CORBA::SystemException
- ));
-
- CORBA::Boolean is_local (
- CORBA::Environment &ACE_TRY_ENV =
- TAO_default_environment ()
- )
- ACE_THROW_SPEC ((
- CORBA::SystemException
- ));
-
- void is_local (
- CORBA::Boolean is_local,
- CORBA::Environment &ACE_TRY_ENV =
- TAO_default_environment ()
- )
- ACE_THROW_SPEC ((
- CORBA::SystemException
- ));
-
- CORBA::Boolean is_a (
- const char * interface_id,
- CORBA::Environment &ACE_TRY_ENV =
- TAO_default_environment ()
- )
- ACE_THROW_SPEC ((
- CORBA::SystemException
- ));
-
- IR_AttributeDef_ptr create_attribute (
- const char * id,
- const char * name,
- const char * version,
- IR_IDLType_ptr type,
- IR_AttributeMode mode,
- const IR_ExceptionDefSeq & get_exceptions,
- const IR_ExceptionDefSeq & put_exceptions,
- CORBA::Environment &ACE_TRY_ENV =
- TAO_default_environment ()
- )
- ACE_THROW_SPEC ((
- CORBA::SystemException
- ));
-
- IR_OperationDef_ptr create_operation (
- const char * id,
- const char * name,
- const char * version,
- IR_IDLType_ptr result,
- IR_OperationMode mode,
- const IR_ParDescriptionSeq & params,
- const IR_ExceptionDefSeq & exceptions,
- const IR_ContextIdSeq & contexts,
- CORBA::Environment &ACE_TRY_ENV =
- TAO_default_environment ()
- )
- ACE_THROW_SPEC ((
- CORBA::SystemException
- ));
-
- IR_Contained_ptr lookup (
- const char * search_name,
- CORBA::Environment &ACE_TRY_ENV =
- TAO_default_environment ()
- )
- ACE_THROW_SPEC ((
- CORBA::SystemException
- ));
-
- IR_ContainedSeq * contents (
- IR_DefinitionKind limit_type,
- CORBA::Boolean exclude_inherited,
- CORBA::Environment &ACE_TRY_ENV =
- TAO_default_environment ()
- )
- ACE_THROW_SPEC ((
- CORBA::SystemException
- ));
-
- IR_ContainedSeq * lookup_name (
- const char * search_name,
- CORBA::Long levels_to_search,
- IR_DefinitionKind limit_type,
- CORBA::Boolean exclude_inherited,
- CORBA::Environment &ACE_TRY_ENV =
- TAO_default_environment ()
- )
- ACE_THROW_SPEC ((
- CORBA::SystemException
- ));
-
- IR_Container::DescriptionSeq * describe_contents (
- IR_DefinitionKind limit_type,
- CORBA::Boolean exclude_inherited,
- CORBA::Long max_returned_objs,
- CORBA::Environment &ACE_TRY_ENV =
- TAO_default_environment ()
- )
- ACE_THROW_SPEC ((
- CORBA::SystemException
- ));
-
- IR_ModuleDef_ptr create_module (
- const char * id,
- const char * name,
- const char * version,
- CORBA::Environment &ACE_TRY_ENV =
- TAO_default_environment ()
- )
- ACE_THROW_SPEC ((
- CORBA::SystemException
- ));
-
- IR_ConstantDef_ptr create_constant (
- const char * id,
- const char * name,
- const char * version,
- IR_IDLType_ptr type,
- const CORBA::Any & value,
- CORBA::Environment &ACE_TRY_ENV =
- TAO_default_environment ()
- )
- ACE_THROW_SPEC ((
- CORBA::SystemException
- ));
-
- IR_StructDef_ptr create_struct (
- const char * id,
- const char * name,
- const char * version,
- const IR_StructMemberSeq & members,
- CORBA::Environment &ACE_TRY_ENV =
- TAO_default_environment ()
- )
- ACE_THROW_SPEC ((
- CORBA::SystemException
- ));
-
- IR_UnionDef_ptr create_union (
- const char * id,
- const char * name,
- const char * version,
- IR_IDLType_ptr discriminator_type,
- const IR_UnionMemberSeq & members,
- CORBA::Environment &ACE_TRY_ENV =
- TAO_default_environment ()
- )
- ACE_THROW_SPEC ((
- CORBA::SystemException
- ));
-
- IR_EnumDef_ptr create_enum (
- const char * id,
- const char * name,
- const char * version,
- const IR_EnumMemberSeq & members,
- CORBA::Environment &ACE_TRY_ENV =
- TAO_default_environment ()
- )
- ACE_THROW_SPEC ((
- CORBA::SystemException
- ));
-
- IR_AliasDef_ptr create_alias (
- const char * id,
- const char * name,
- const char * version,
- IR_IDLType_ptr original_type,
- CORBA::Environment &ACE_TRY_ENV =
- TAO_default_environment ()
- )
- ACE_THROW_SPEC ((
- CORBA::SystemException
- ));
-
- IR_InterfaceDef_ptr create_interface (
- const char * id,
- const char * name,
- const char * version,
- const IR_InterfaceDefSeq & base_interfaces,
- CORBA::Boolean is_abstract,
- CORBA::Boolean is_local,
- CORBA::Environment &ACE_TRY_ENV =
- TAO_default_environment ()
- )
- ACE_THROW_SPEC ((
- CORBA::SystemException
- ));
-
- IR_ValueDef_ptr create_value (
- const char * id,
- const char * name,
- const char * version,
- CORBA::Boolean is_custom,
- CORBA::Boolean is_abstract,
- IR_ValueDef_ptr base_value,
- CORBA::Boolean is_truncatable,
- const IR_ValueDefSeq & abstract_base_values,
- const IR_InterfaceDefSeq & supported_interfaces,
- const IR_InitializerSeq & initializers,
- CORBA::Environment &ACE_TRY_ENV =
- TAO_default_environment ()
- )
- ACE_THROW_SPEC ((
- CORBA::SystemException
- ));
-
- IR_ValueBoxDef_ptr create_value_box (
- const char * id,
- const char * name,
- const char * version,
- IR_IDLType_ptr original_type_def,
- CORBA::Environment &ACE_TRY_ENV =
- TAO_default_environment ()
- )
- ACE_THROW_SPEC ((
- CORBA::SystemException
- ));
-
- IR_ExceptionDef_ptr create_exception (
- const char * id,
- const char * name,
- const char * version,
- const IR_StructMemberSeq & members,
- CORBA::Environment &ACE_TRY_ENV =
- TAO_default_environment ()
- )
- ACE_THROW_SPEC ((
- CORBA::SystemException
- ));
-
- IR_NativeDef_ptr create_native (
- const char * id,
- const char * name,
- const char * version,
- CORBA::Environment &ACE_TRY_ENV =
- TAO_default_environment ()
- )
- ACE_THROW_SPEC ((
- CORBA::SystemException
- ));
-
- char * id (
- CORBA::Environment &ACE_TRY_ENV =
- TAO_default_environment ()
- )
- ACE_THROW_SPEC ((
- CORBA::SystemException
- ));
-
- void id (
- const char * id,
- CORBA::Environment &ACE_TRY_ENV =
- TAO_default_environment ()
- )
- ACE_THROW_SPEC ((
- CORBA::SystemException
- ));
-
- char * name (
- CORBA::Environment &ACE_TRY_ENV =
- TAO_default_environment ()
- )
- ACE_THROW_SPEC ((
- CORBA::SystemException
- ));
-
- void name (
- const char * name,
- CORBA::Environment &ACE_TRY_ENV =
- TAO_default_environment ()
- )
- ACE_THROW_SPEC ((
- CORBA::SystemException
- ));
-
- char * version (
- CORBA::Environment &ACE_TRY_ENV =
- TAO_default_environment ()
- )
- ACE_THROW_SPEC ((
- CORBA::SystemException
- ));
-
- void version (
- const char * version,
- CORBA::Environment &ACE_TRY_ENV =
- TAO_default_environment ()
- )
- ACE_THROW_SPEC ((
- CORBA::SystemException
- ));
-
- IR_Container_ptr defined_in (
- CORBA::Environment &ACE_TRY_ENV =
- TAO_default_environment ()
- )
- ACE_THROW_SPEC ((
- CORBA::SystemException
- ));
-
- char * absolute_name (
- CORBA::Environment &ACE_TRY_ENV =
- TAO_default_environment ()
- )
- ACE_THROW_SPEC ((
- CORBA::SystemException
- ));
-
- IR_Repository_ptr containing_repository (
- CORBA::Environment &ACE_TRY_ENV =
- TAO_default_environment ()
- )
- ACE_THROW_SPEC ((
- CORBA::SystemException
- ));
-
- IR_Contained::Description * describe (
- CORBA::Environment &ACE_TRY_ENV =
- TAO_default_environment ()
- )
- ACE_THROW_SPEC ((
- CORBA::SystemException
- ));
-
- void move (
- IR_Container_ptr new_container,
- const char * new_name,
- const char * new_version,
- CORBA::Environment &ACE_TRY_ENV =
- TAO_default_environment ()
- )
- ACE_THROW_SPEC ((
- CORBA::SystemException
- ));
-
- CORBA::TypeCode_ptr type (
- CORBA::Environment &ACE_TRY_ENV =
- TAO_default_environment ()
- )
- ACE_THROW_SPEC ((
- CORBA::SystemException
- ));
-
- IR_DefinitionKind def_kind (
- CORBA::Environment &ACE_TRY_ENV =
- TAO_default_environment ()
- )
- ACE_THROW_SPEC ((
- CORBA::SystemException
- ));
-
- void destroy (
- CORBA::Environment &ACE_TRY_ENV =
- TAO_default_environment ()
- )
- ACE_THROW_SPEC ((
- CORBA::SystemException
- ));
-
-private:
- T *ptr_;
- PortableServer::POA_var poa_;
- CORBA::Boolean rel_;
-
- // copy and assignment are not allowed
- ComponentDef_tie (const ComponentDef_tie &);
- void operator= (const ComponentDef_tie &);
- };
-
-#endif /* ACE_HAS_USING_KEYWORD */
-
- class PrimaryKeyDef;
- typedef PrimaryKeyDef *PrimaryKeyDef_ptr;
- // Forward Classes Declaration
- class _TAO_PrimaryKeyDef_ThruPOA_Proxy_Impl;
- class _TAO_PrimaryKeyDef_Strategized_Proxy_Broker;
-
- class PrimaryKeyDef : public virtual Contained
- {
- protected:
- PrimaryKeyDef (void);
-
- public:
- PrimaryKeyDef (const PrimaryKeyDef& rhs);
- virtual ~PrimaryKeyDef (void);
-
-
- virtual CORBA::Boolean _is_a (
- const char* logical_type_id,
- CORBA::Environment &ACE_TRY_ENV =
- TAO_default_environment ()
- );
-
- virtual void* _downcast (
- const char* logical_type_id
- );
-
- static void _is_a_skel (
- TAO_ServerRequest &req,
- void *obj,
- void *context,
- CORBA::Environment &ACE_TRY_ENV =
- TAO_default_environment ()
- );
-
- static void _non_existent_skel (
- TAO_ServerRequest &req,
- void *obj,
- void *context,
- CORBA::Environment &ACE_TRY_ENV =
- TAO_default_environment ()
- );
-
- virtual void _dispatch (
- TAO_ServerRequest &_tao_req,
- void *_tao_context,
- CORBA::Environment &ACE_TRY_ENV =
- TAO_default_environment ()
- );
-
- IR_PrimaryKeyDef *_this (
- CORBA::Environment &ACE_TRY_ENV =
- TAO_default_environment ()
- );
-
- virtual const char* _interface_repository_id (void) const;
-
- virtual CORBA::Boolean is_a (
- const char * primary_key_id,
- CORBA::Environment &ACE_TRY_ENV =
- TAO_default_environment ()
- )
- ACE_THROW_SPEC ((
- CORBA::SystemException
- )) = 0;
-
- static void is_a_skel (
- TAO_ServerRequest &_tao_req,
- void *_tao_obj,
- void *_tao_context,
- CORBA::Environment &ACE_TRY_ENV =
- TAO_default_environment ()
- );
-
- virtual IR_ValueDef_ptr primary_key (
- CORBA::Environment &ACE_TRY_ENV =
- TAO_default_environment ()
- )
- ACE_THROW_SPEC ((
- CORBA::SystemException
- )) = 0;
-
- static void _get_primary_key_skel (
- TAO_ServerRequest &_tao_req,
- void *_tao_obj,
- void *_tao_context,
- CORBA::Environment &ACE_TRY_ENV =
- TAO_default_environment ()
- );
-
- static void _get_id_skel (
- TAO_ServerRequest &req,
- void *obj,
- void *context,
- CORBA::Environment &env =
- TAO_default_environment ()
- );
-
- static void _set_id_skel (
- TAO_ServerRequest &req,
- void *obj,
- void *context,
- CORBA::Environment &env =
- TAO_default_environment ()
- );
-
- static void _get_name_skel (
- TAO_ServerRequest &req,
- void *obj,
- void *context,
- CORBA::Environment &env =
- TAO_default_environment ()
- );
-
- static void _set_name_skel (
- TAO_ServerRequest &req,
- void *obj,
- void *context,
- CORBA::Environment &env =
- TAO_default_environment ()
- );
-
- static void _get_version_skel (
- TAO_ServerRequest &req,
- void *obj,
- void *context,
- CORBA::Environment &env =
- TAO_default_environment ()
- );
-
- static void _set_version_skel (
- TAO_ServerRequest &req,
- void *obj,
- void *context,
- CORBA::Environment &env =
- TAO_default_environment ()
- );
-
- static void _get_defined_in_skel (
- TAO_ServerRequest &req,
- void *obj,
- void *context,
- CORBA::Environment &env =
- TAO_default_environment ()
- );
-
- static void _get_absolute_name_skel (
- TAO_ServerRequest &req,
- void *obj,
- void *context,
- CORBA::Environment &env =
- TAO_default_environment ()
- );
-
- static void _get_containing_repository_skel (
- TAO_ServerRequest &req,
- void *obj,
- void *context,
- CORBA::Environment &env =
- TAO_default_environment ()
- );
-
- static void describe_skel (
- TAO_ServerRequest &req,
- void *obj,
- void *context,
- CORBA::Environment &env =
- TAO_default_environment ()
- );
-
- static void move_skel (
- TAO_ServerRequest &req,
- void *obj,
- void *context,
- CORBA::Environment &env =
- TAO_default_environment ()
- );
-
- static void _get_def_kind_skel (
- TAO_ServerRequest &req,
- void *obj,
- void *context,
- CORBA::Environment &env =
- TAO_default_environment ()
- );
-
- static void destroy_skel (
- TAO_ServerRequest &req,
- void *obj,
- void *context,
- CORBA::Environment &env =
- TAO_default_environment ()
- );
-
-#if (TAO_HAS_INTERCEPTORS == 1)
- // Generation of interceptors related RequestInfo classes per operation.
- // This needed to be able to store the arguments, exceptions, contexts
- // and build the lists dynamically on demand so that unnecessary time overhead
- // of building these lists when they arent used is avoided.
- class TAO_ServerRequestInfo_IR_PrimaryKeyDef_is_a : public TAO_ServerRequestInfo
- {
- public:
- friend class POA_IR::PrimaryKeyDef;
- TAO_ServerRequestInfo_IR_PrimaryKeyDef_is_a (
- TAO_ServerRequest &_tao_server_request,
- POA_IR::PrimaryKeyDef *tao_impl
- ,
- const char * primary_key_id,
- CORBA::Environment &ACE_TRY_ENV =
- TAO_default_environment ()
- );
-
- virtual Dynamic::ParameterList * arguments (
- CORBA::Environment &ACE_TRY_ENV =
- TAO_default_environment ()
- )
- ACE_THROW_SPEC ((CORBA::SystemException));
-
- virtual Dynamic::ExceptionList * exceptions (
- CORBA::Environment &ACE_TRY_ENV =
- TAO_default_environment ()
- )
- ACE_THROW_SPEC ((CORBA::SystemException));
-
- virtual CORBA::Any * result (
- CORBA::Environment &ACE_TRY_ENV =
- TAO_default_environment ()
- )
- ACE_THROW_SPEC ((CORBA::SystemException));
-
- virtual char * target_most_derived_interface (
- CORBA::Environment &ACE_TRY_ENV = TAO_default_environment ())
- ACE_THROW_SPEC ((CORBA::SystemException));
-
- virtual CORBA::Boolean target_is_a (
- const char * id,
- CORBA::Environment &ACE_TRY_ENV = TAO_default_environment ())
- ACE_THROW_SPEC ((CORBA::SystemException));
-
-
- private:
- TAO_ServerRequestInfo_IR_PrimaryKeyDef_is_a (const TAO_ServerRequestInfo_IR_PrimaryKeyDef_is_a &);
- void operator= (const TAO_ServerRequestInfo_IR_PrimaryKeyDef_is_a &);
-
- private:
- POA_IR::PrimaryKeyDef *_tao_impl;
- const char * primary_key_id_;
- void result (CORBA::Boolean result);
- // update the result
- CORBA::Boolean _result;
- };
-
- class TAO_ServerRequestInfo_IR_PrimaryKeyDef_primary_key_get : public TAO_ServerRequestInfo
- {
- public:
- friend class POA_IR::PrimaryKeyDef;
- TAO_ServerRequestInfo_IR_PrimaryKeyDef_primary_key_get (
- TAO_ServerRequest &_tao_server_request,
- POA_IR::PrimaryKeyDef *tao_impl
- ,
- CORBA::Environment &ACE_TRY_ENV =
- TAO_default_environment ()
- );
-
- virtual Dynamic::ParameterList * arguments (
- CORBA::Environment &ACE_TRY_ENV =
- TAO_default_environment ()
- )
- ACE_THROW_SPEC ((CORBA::SystemException));
-
- virtual Dynamic::ExceptionList * exceptions (
- CORBA::Environment &ACE_TRY_ENV =
- TAO_default_environment ()
- )
- ACE_THROW_SPEC ((CORBA::SystemException));
-
- virtual CORBA::Any * result (
- CORBA::Environment &ACE_TRY_ENV =
- TAO_default_environment ()
- )
- ACE_THROW_SPEC ((CORBA::SystemException));
-
- virtual char * target_most_derived_interface (
- CORBA::Environment &ACE_TRY_ENV = TAO_default_environment ())
- ACE_THROW_SPEC ((CORBA::SystemException));
-
- virtual CORBA::Boolean target_is_a (
- const char * id,
- CORBA::Environment &ACE_TRY_ENV = TAO_default_environment ())
- ACE_THROW_SPEC ((CORBA::SystemException));
-
-
- private:
- TAO_ServerRequestInfo_IR_PrimaryKeyDef_primary_key_get (const TAO_ServerRequestInfo_IR_PrimaryKeyDef_primary_key_get &);
- void operator= (const TAO_ServerRequestInfo_IR_PrimaryKeyDef_primary_key_get &);
-
- private:
- POA_IR::PrimaryKeyDef *_tao_impl;
- void result (IR::ValueDef_ptr result);
- // update the result
- IR_ValueDef_ptr _result;
- };
-
-#endif /* TAO_HAS_INTERCEPTORS */
-
- };
-
-///////////////////////////////////////////////////////////////////////
-// Strategized Proxy Broker Declaration
-//
-
-class _TAO_PrimaryKeyDef_Strategized_Proxy_Broker : public virtual _TAO_PrimaryKeyDef_Proxy_Broker
-{
-public:
- _TAO_PrimaryKeyDef_Strategized_Proxy_Broker (void);
-
- virtual ~_TAO_PrimaryKeyDef_Strategized_Proxy_Broker (void);
-
- virtual _TAO_PrimaryKeyDef_Proxy_Impl &select_proxy (
- IR_PrimaryKeyDef *object,
- CORBA_Environment &ACE_TRY_ENV = TAO_default_environment ()
- );
-
-private:
-
-// Helper methods that takes care to create the proxy
-// as soon as their use is necessary.
- void create_proxy (
- int strategy,
- CORBA::Environment &ACE_TRY_ENV
- );
-
-private:
-
- // Caches the proxy implementations. The proxy implementation
- // are totally stateless, and those can be shared by all the
- // instances of a given IDL interface type.
- _TAO_PrimaryKeyDef_Proxy_Impl
- *proxy_cache_[TAO_Collocation_Strategies::CS_LAST];
-
- TAO_SYNCH_MUTEX mutex_;
-// This funxtion is used to get an handle to the unique instance
-// of the Strategized Proxy Broker that is available for a given
-// interface.
-
-public:
- static _TAO_PrimaryKeyDef_Strategized_Proxy_Broker *the_TAO_PrimaryKeyDef_Strategized_Proxy_Broker (void);
-};
-
-//
-// End Strategized Proxy Broker Declaration
-///////////////////////////////////////////////////////////////////////
-
-
-///////////////////////////////////////////////////////////////////////
-// ThruPOA Impl. Declaration
-//
-
-class _TAO_PrimaryKeyDef_ThruPOA_Proxy_Impl :
- public virtual _TAO_PrimaryKeyDef_Proxy_Impl,
- public virtual TAO_ThruPOA_Object_Proxy_Impl,
- public virtual ::POA_IR::_TAO_Contained_ThruPOA_Proxy_Impl
-
-{
-public:
- _TAO_PrimaryKeyDef_ThruPOA_Proxy_Impl (void);
-
- virtual ~_TAO_PrimaryKeyDef_ThruPOA_Proxy_Impl (void) { }
-
- virtual CORBA::Boolean is_a (
- CORBA_Object *_collocated_tao_target_,
- const char * primary_key_id,
- CORBA::Environment &ACE_TRY_ENV
- )
- ACE_THROW_SPEC ((
- CORBA::SystemException
- ));
-
- virtual IR_ValueDef_ptr primary_key (
- CORBA_Object *_collocated_tao_target_,
- CORBA::Environment &ACE_TRY_ENV
- )
- ACE_THROW_SPEC ((
- CORBA::SystemException
- ));
-
-};
-
-
-//
-// ThruPOA Proxy Impl. Declaration
-///////////////////////////////////////////////////////////////////////
-
-#if defined (ACE_HAS_USING_KEYWORD)
- // TIE class: Refer to CORBA v2.2, Section 20.34.4
- template <class T>
- class PrimaryKeyDef_tie : public PrimaryKeyDef
- {
- public:
- PrimaryKeyDef_tie (T &t);
- // the T& ctor
- PrimaryKeyDef_tie (T &t, PortableServer::POA_ptr poa);
- // ctor taking a POA
- PrimaryKeyDef_tie (T *tp, CORBA::Boolean release=1);
- // ctor taking pointer and an ownership flag
- PrimaryKeyDef_tie (T *tp, PortableServer::POA_ptr poa, CORBA::Boolean release=1);
- // ctor with T*, ownership flag and a POA
- ~PrimaryKeyDef_tie (void);
- // dtor
-
- // TIE specific functions
- T *_tied_object (void);
- // return the underlying object
- void _tied_object (T &obj);
- // set the underlying object
- void _tied_object (T *obj, CORBA::Boolean release=1);
- // set the underlying object and the ownership flag
- CORBA::Boolean _is_owner (void);
- // do we own it
- void _is_owner (CORBA::Boolean b);
- // set the ownership
-
- // overridden ServantBase operations
- PortableServer::POA_ptr _default_POA (
- CORBA::Environment &env =
- TAO_default_environment ()
- );
- CORBA::Boolean is_a (
- const char * primary_key_id,
- CORBA::Environment &ACE_TRY_ENV =
- TAO_default_environment ()
- )
- ACE_THROW_SPEC ((
- CORBA::SystemException
- ));
-
- IR_ValueDef_ptr primary_key (
- CORBA::Environment &ACE_TRY_ENV =
- TAO_default_environment ()
- )
- ACE_THROW_SPEC ((
- CORBA::SystemException
- ));
-
- char * id (
- CORBA::Environment &ACE_TRY_ENV =
- TAO_default_environment ()
- )
- ACE_THROW_SPEC ((
- CORBA::SystemException
- ));
-
- void id (
- const char * id,
- CORBA::Environment &ACE_TRY_ENV =
- TAO_default_environment ()
- )
- ACE_THROW_SPEC ((
- CORBA::SystemException
- ));
-
- char * name (
- CORBA::Environment &ACE_TRY_ENV =
- TAO_default_environment ()
- )
- ACE_THROW_SPEC ((
- CORBA::SystemException
- ));
-
- void name (
- const char * name,
- CORBA::Environment &ACE_TRY_ENV =
- TAO_default_environment ()
- )
- ACE_THROW_SPEC ((
- CORBA::SystemException
- ));
-
- char * version (
- CORBA::Environment &ACE_TRY_ENV =
- TAO_default_environment ()
- )
- ACE_THROW_SPEC ((
- CORBA::SystemException
- ));
-
- void version (
- const char * version,
- CORBA::Environment &ACE_TRY_ENV =
- TAO_default_environment ()
- )
- ACE_THROW_SPEC ((
- CORBA::SystemException
- ));
-
- IR_Container_ptr defined_in (
- CORBA::Environment &ACE_TRY_ENV =
- TAO_default_environment ()
- )
- ACE_THROW_SPEC ((
- CORBA::SystemException
- ));
-
- char * absolute_name (
- CORBA::Environment &ACE_TRY_ENV =
- TAO_default_environment ()
- )
- ACE_THROW_SPEC ((
- CORBA::SystemException
- ));
-
- IR_Repository_ptr containing_repository (
- CORBA::Environment &ACE_TRY_ENV =
- TAO_default_environment ()
- )
- ACE_THROW_SPEC ((
- CORBA::SystemException
- ));
-
- IR_Contained::Description * describe (
- CORBA::Environment &ACE_TRY_ENV =
- TAO_default_environment ()
- )
- ACE_THROW_SPEC ((
- CORBA::SystemException
- ));
-
- void move (
- IR_Container_ptr new_container,
- const char * new_name,
- const char * new_version,
- CORBA::Environment &ACE_TRY_ENV =
- TAO_default_environment ()
- )
- ACE_THROW_SPEC ((
- CORBA::SystemException
- ));
-
- IR_DefinitionKind def_kind (
- CORBA::Environment &ACE_TRY_ENV =
- TAO_default_environment ()
- )
- ACE_THROW_SPEC ((
- CORBA::SystemException
- ));
-
- void destroy (
- CORBA::Environment &ACE_TRY_ENV =
- TAO_default_environment ()
- )
- ACE_THROW_SPEC ((
- CORBA::SystemException
- ));
-
-private:
- T *ptr_;
- PortableServer::POA_var poa_;
- CORBA::Boolean rel_;
-
- // copy and assignment are not allowed
- PrimaryKeyDef_tie (const PrimaryKeyDef_tie &);
- void operator= (const PrimaryKeyDef_tie &);
- };
-
-#endif /* ACE_HAS_USING_KEYWORD */
-
- class FactoryDef;
- typedef FactoryDef *FactoryDef_ptr;
- // Forward Classes Declaration
- class _TAO_FactoryDef_ThruPOA_Proxy_Impl;
- class _TAO_FactoryDef_Strategized_Proxy_Broker;
-
- class FactoryDef : public virtual OperationDef
- {
- protected:
- FactoryDef (void);
-
- public:
- FactoryDef (const FactoryDef& rhs);
- virtual ~FactoryDef (void);
-
-
- virtual CORBA::Boolean _is_a (
- const char* logical_type_id,
- CORBA::Environment &ACE_TRY_ENV =
- TAO_default_environment ()
- );
-
- virtual void* _downcast (
- const char* logical_type_id
- );
-
- static void _is_a_skel (
- TAO_ServerRequest &req,
- void *obj,
- void *context,
- CORBA::Environment &ACE_TRY_ENV =
- TAO_default_environment ()
- );
-
- static void _non_existent_skel (
- TAO_ServerRequest &req,
- void *obj,
- void *context,
- CORBA::Environment &ACE_TRY_ENV =
- TAO_default_environment ()
- );
-
- virtual void _dispatch (
- TAO_ServerRequest &_tao_req,
- void *_tao_context,
- CORBA::Environment &ACE_TRY_ENV =
- TAO_default_environment ()
- );
-
- IR_FactoryDef *_this (
- CORBA::Environment &ACE_TRY_ENV =
- TAO_default_environment ()
- );
-
- virtual const char* _interface_repository_id (void) const;
-
- static void _get_result_skel (
- TAO_ServerRequest &req,
- void *obj,
- void *context,
- CORBA::Environment &env =
- TAO_default_environment ()
- );
-
- static void _get_result_def_skel (
- TAO_ServerRequest &req,
- void *obj,
- void *context,
- CORBA::Environment &env =
- TAO_default_environment ()
- );
-
- static void _set_result_def_skel (
- TAO_ServerRequest &req,
- void *obj,
- void *context,
- CORBA::Environment &env =
- TAO_default_environment ()
- );
-
- static void _get_params_skel (
- TAO_ServerRequest &req,
- void *obj,
- void *context,
- CORBA::Environment &env =
- TAO_default_environment ()
- );
-
- static void _set_params_skel (
- TAO_ServerRequest &req,
- void *obj,
- void *context,
- CORBA::Environment &env =
- TAO_default_environment ()
- );
-
- static void _get_mode_skel (
- TAO_ServerRequest &req,
- void *obj,
- void *context,
- CORBA::Environment &env =
- TAO_default_environment ()
- );
-
- static void _set_mode_skel (
- TAO_ServerRequest &req,
- void *obj,
- void *context,
- CORBA::Environment &env =
- TAO_default_environment ()
- );
-
- static void _get_contexts_skel (
- TAO_ServerRequest &req,
- void *obj,
- void *context,
- CORBA::Environment &env =
- TAO_default_environment ()
- );
-
- static void _set_contexts_skel (
- TAO_ServerRequest &req,
- void *obj,
- void *context,
- CORBA::Environment &env =
- TAO_default_environment ()
- );
-
- static void _get_exceptions_skel (
- TAO_ServerRequest &req,
- void *obj,
- void *context,
- CORBA::Environment &env =
- TAO_default_environment ()
- );
-
- static void _set_exceptions_skel (
- TAO_ServerRequest &req,
- void *obj,
- void *context,
- CORBA::Environment &env =
- TAO_default_environment ()
- );
-
- static void _get_id_skel (
- TAO_ServerRequest &req,
- void *obj,
- void *context,
- CORBA::Environment &env =
- TAO_default_environment ()
- );
-
- static void _set_id_skel (
- TAO_ServerRequest &req,
- void *obj,
- void *context,
- CORBA::Environment &env =
- TAO_default_environment ()
- );
-
- static void _get_name_skel (
- TAO_ServerRequest &req,
- void *obj,
- void *context,
- CORBA::Environment &env =
- TAO_default_environment ()
- );
-
- static void _set_name_skel (
- TAO_ServerRequest &req,
- void *obj,
- void *context,
- CORBA::Environment &env =
- TAO_default_environment ()
- );
-
- static void _get_version_skel (
- TAO_ServerRequest &req,
- void *obj,
- void *context,
- CORBA::Environment &env =
- TAO_default_environment ()
- );
-
- static void _set_version_skel (
- TAO_ServerRequest &req,
- void *obj,
- void *context,
- CORBA::Environment &env =
- TAO_default_environment ()
- );
-
- static void _get_defined_in_skel (
- TAO_ServerRequest &req,
- void *obj,
- void *context,
- CORBA::Environment &env =
- TAO_default_environment ()
- );
-
- static void _get_absolute_name_skel (
- TAO_ServerRequest &req,
- void *obj,
- void *context,
- CORBA::Environment &env =
- TAO_default_environment ()
- );
-
- static void _get_containing_repository_skel (
- TAO_ServerRequest &req,
- void *obj,
- void *context,
- CORBA::Environment &env =
- TAO_default_environment ()
- );
-
- static void describe_skel (
- TAO_ServerRequest &req,
- void *obj,
- void *context,
- CORBA::Environment &env =
- TAO_default_environment ()
- );
-
- static void move_skel (
- TAO_ServerRequest &req,
- void *obj,
- void *context,
- CORBA::Environment &env =
- TAO_default_environment ()
- );
-
- static void _get_def_kind_skel (
- TAO_ServerRequest &req,
- void *obj,
- void *context,
- CORBA::Environment &env =
- TAO_default_environment ()
- );
-
- static void destroy_skel (
- TAO_ServerRequest &req,
- void *obj,
- void *context,
- CORBA::Environment &env =
- TAO_default_environment ()
- );
-
-#if (TAO_HAS_INTERCEPTORS == 1)
- // Generation of interceptors related RequestInfo classes per operation.
- // This needed to be able to store the arguments, exceptions, contexts
- // and build the lists dynamically on demand so that unnecessary time overhead
- // of building these lists when they arent used is avoided.
-#endif /* TAO_HAS_INTERCEPTORS */
-
- };
-
-///////////////////////////////////////////////////////////////////////
-// Strategized Proxy Broker Declaration
-//
-
-class _TAO_FactoryDef_Strategized_Proxy_Broker : public virtual _TAO_FactoryDef_Proxy_Broker
-{
-public:
- _TAO_FactoryDef_Strategized_Proxy_Broker (void);
-
- virtual ~_TAO_FactoryDef_Strategized_Proxy_Broker (void);
-
- virtual _TAO_FactoryDef_Proxy_Impl &select_proxy (
- IR_FactoryDef *object,
- CORBA_Environment &ACE_TRY_ENV = TAO_default_environment ()
- );
-
-private:
-
-// Helper methods that takes care to create the proxy
-// as soon as their use is necessary.
- void create_proxy (
- int strategy,
- CORBA::Environment &ACE_TRY_ENV
- );
-
-private:
-
- // Caches the proxy implementations. The proxy implementation
- // are totally stateless, and those can be shared by all the
- // instances of a given IDL interface type.
- _TAO_FactoryDef_Proxy_Impl
- *proxy_cache_[TAO_Collocation_Strategies::CS_LAST];
-
- TAO_SYNCH_MUTEX mutex_;
-// This funxtion is used to get an handle to the unique instance
-// of the Strategized Proxy Broker that is available for a given
-// interface.
-
-public:
- static _TAO_FactoryDef_Strategized_Proxy_Broker *the_TAO_FactoryDef_Strategized_Proxy_Broker (void);
-};
-
-//
-// End Strategized Proxy Broker Declaration
-///////////////////////////////////////////////////////////////////////
-
-
-///////////////////////////////////////////////////////////////////////
-// ThruPOA Impl. Declaration
-//
-
-class _TAO_FactoryDef_ThruPOA_Proxy_Impl :
- public virtual _TAO_FactoryDef_Proxy_Impl,
- public virtual TAO_ThruPOA_Object_Proxy_Impl,
- public virtual ::POA_IR::_TAO_OperationDef_ThruPOA_Proxy_Impl
-
-{
-public:
- _TAO_FactoryDef_ThruPOA_Proxy_Impl (void);
-
- virtual ~_TAO_FactoryDef_ThruPOA_Proxy_Impl (void) { }
-
-};
-
-
-//
-// ThruPOA Proxy Impl. Declaration
-///////////////////////////////////////////////////////////////////////
-
-#if defined (ACE_HAS_USING_KEYWORD)
- // TIE class: Refer to CORBA v2.2, Section 20.34.4
- template <class T>
- class FactoryDef_tie : public FactoryDef
- {
- public:
- FactoryDef_tie (T &t);
- // the T& ctor
- FactoryDef_tie (T &t, PortableServer::POA_ptr poa);
- // ctor taking a POA
- FactoryDef_tie (T *tp, CORBA::Boolean release=1);
- // ctor taking pointer and an ownership flag
- FactoryDef_tie (T *tp, PortableServer::POA_ptr poa, CORBA::Boolean release=1);
- // ctor with T*, ownership flag and a POA
- ~FactoryDef_tie (void);
- // dtor
-
- // TIE specific functions
- T *_tied_object (void);
- // return the underlying object
- void _tied_object (T &obj);
- // set the underlying object
- void _tied_object (T *obj, CORBA::Boolean release=1);
- // set the underlying object and the ownership flag
- CORBA::Boolean _is_owner (void);
- // do we own it
- void _is_owner (CORBA::Boolean b);
- // set the ownership
-
- // overridden ServantBase operations
- PortableServer::POA_ptr _default_POA (
- CORBA::Environment &env =
- TAO_default_environment ()
- );
- CORBA::TypeCode_ptr result (
- CORBA::Environment &ACE_TRY_ENV =
- TAO_default_environment ()
- )
- ACE_THROW_SPEC ((
- CORBA::SystemException
- ));
-
- IR_IDLType_ptr result_def (
- CORBA::Environment &ACE_TRY_ENV =
- TAO_default_environment ()
- )
- ACE_THROW_SPEC ((
- CORBA::SystemException
- ));
-
- void result_def (
- IR_IDLType_ptr result_def,
- CORBA::Environment &ACE_TRY_ENV =
- TAO_default_environment ()
- )
- ACE_THROW_SPEC ((
- CORBA::SystemException
- ));
-
- IR_ParDescriptionSeq * params (
- CORBA::Environment &ACE_TRY_ENV =
- TAO_default_environment ()
- )
- ACE_THROW_SPEC ((
- CORBA::SystemException
- ));
-
- void params (
- const IR_ParDescriptionSeq & params,
- CORBA::Environment &ACE_TRY_ENV =
- TAO_default_environment ()
- )
- ACE_THROW_SPEC ((
- CORBA::SystemException
- ));
-
- IR_OperationMode mode (
- CORBA::Environment &ACE_TRY_ENV =
- TAO_default_environment ()
- )
- ACE_THROW_SPEC ((
- CORBA::SystemException
- ));
-
- void mode (
- IR_OperationMode mode,
- CORBA::Environment &ACE_TRY_ENV =
- TAO_default_environment ()
- )
- ACE_THROW_SPEC ((
- CORBA::SystemException
- ));
-
- IR_ContextIdSeq * contexts (
- CORBA::Environment &ACE_TRY_ENV =
- TAO_default_environment ()
- )
- ACE_THROW_SPEC ((
- CORBA::SystemException
- ));
-
- void contexts (
- const IR_ContextIdSeq & contexts,
- CORBA::Environment &ACE_TRY_ENV =
- TAO_default_environment ()
- )
- ACE_THROW_SPEC ((
- CORBA::SystemException
- ));
-
- IR_ExceptionDefSeq * exceptions (
- CORBA::Environment &ACE_TRY_ENV =
- TAO_default_environment ()
- )
- ACE_THROW_SPEC ((
- CORBA::SystemException
- ));
-
- void exceptions (
- const IR_ExceptionDefSeq & exceptions,
- CORBA::Environment &ACE_TRY_ENV =
- TAO_default_environment ()
- )
- ACE_THROW_SPEC ((
- CORBA::SystemException
- ));
-
- char * id (
- CORBA::Environment &ACE_TRY_ENV =
- TAO_default_environment ()
- )
- ACE_THROW_SPEC ((
- CORBA::SystemException
- ));
-
- void id (
- const char * id,
- CORBA::Environment &ACE_TRY_ENV =
- TAO_default_environment ()
- )
- ACE_THROW_SPEC ((
- CORBA::SystemException
- ));
-
- char * name (
- CORBA::Environment &ACE_TRY_ENV =
- TAO_default_environment ()
- )
- ACE_THROW_SPEC ((
- CORBA::SystemException
- ));
-
- void name (
- const char * name,
- CORBA::Environment &ACE_TRY_ENV =
- TAO_default_environment ()
- )
- ACE_THROW_SPEC ((
- CORBA::SystemException
- ));
-
- char * version (
- CORBA::Environment &ACE_TRY_ENV =
- TAO_default_environment ()
- )
- ACE_THROW_SPEC ((
- CORBA::SystemException
- ));
-
- void version (
- const char * version,
- CORBA::Environment &ACE_TRY_ENV =
- TAO_default_environment ()
- )
- ACE_THROW_SPEC ((
- CORBA::SystemException
- ));
-
- IR_Container_ptr defined_in (
- CORBA::Environment &ACE_TRY_ENV =
- TAO_default_environment ()
- )
- ACE_THROW_SPEC ((
- CORBA::SystemException
- ));
-
- char * absolute_name (
- CORBA::Environment &ACE_TRY_ENV =
- TAO_default_environment ()
- )
- ACE_THROW_SPEC ((
- CORBA::SystemException
- ));
-
- IR_Repository_ptr containing_repository (
- CORBA::Environment &ACE_TRY_ENV =
- TAO_default_environment ()
- )
- ACE_THROW_SPEC ((
- CORBA::SystemException
- ));
-
- IR_Contained::Description * describe (
- CORBA::Environment &ACE_TRY_ENV =
- TAO_default_environment ()
- )
- ACE_THROW_SPEC ((
- CORBA::SystemException
- ));
-
- void move (
- IR_Container_ptr new_container,
- const char * new_name,
- const char * new_version,
- CORBA::Environment &ACE_TRY_ENV =
- TAO_default_environment ()
- )
- ACE_THROW_SPEC ((
- CORBA::SystemException
- ));
-
- IR_DefinitionKind def_kind (
- CORBA::Environment &ACE_TRY_ENV =
- TAO_default_environment ()
- )
- ACE_THROW_SPEC ((
- CORBA::SystemException
- ));
-
- void destroy (
- CORBA::Environment &ACE_TRY_ENV =
- TAO_default_environment ()
- )
- ACE_THROW_SPEC ((
- CORBA::SystemException
- ));
-
-private:
- T *ptr_;
- PortableServer::POA_var poa_;
- CORBA::Boolean rel_;
-
- // copy and assignment are not allowed
- FactoryDef_tie (const FactoryDef_tie &);
- void operator= (const FactoryDef_tie &);
- };
-
-#endif /* ACE_HAS_USING_KEYWORD */
-
- class FinderDef;
- typedef FinderDef *FinderDef_ptr;
- // Forward Classes Declaration
- class _TAO_FinderDef_ThruPOA_Proxy_Impl;
- class _TAO_FinderDef_Strategized_Proxy_Broker;
-
- class FinderDef : public virtual OperationDef
- {
- protected:
- FinderDef (void);
-
- public:
- FinderDef (const FinderDef& rhs);
- virtual ~FinderDef (void);
-
-
- virtual CORBA::Boolean _is_a (
- const char* logical_type_id,
- CORBA::Environment &ACE_TRY_ENV =
- TAO_default_environment ()
- );
-
- virtual void* _downcast (
- const char* logical_type_id
- );
-
- static void _is_a_skel (
- TAO_ServerRequest &req,
- void *obj,
- void *context,
- CORBA::Environment &ACE_TRY_ENV =
- TAO_default_environment ()
- );
-
- static void _non_existent_skel (
- TAO_ServerRequest &req,
- void *obj,
- void *context,
- CORBA::Environment &ACE_TRY_ENV =
- TAO_default_environment ()
- );
-
- virtual void _dispatch (
- TAO_ServerRequest &_tao_req,
- void *_tao_context,
- CORBA::Environment &ACE_TRY_ENV =
- TAO_default_environment ()
- );
-
- IR_FinderDef *_this (
- CORBA::Environment &ACE_TRY_ENV =
- TAO_default_environment ()
- );
-
- virtual const char* _interface_repository_id (void) const;
-
- static void _get_result_skel (
- TAO_ServerRequest &req,
- void *obj,
- void *context,
- CORBA::Environment &env =
- TAO_default_environment ()
- );
-
- static void _get_result_def_skel (
- TAO_ServerRequest &req,
- void *obj,
- void *context,
- CORBA::Environment &env =
- TAO_default_environment ()
- );
-
- static void _set_result_def_skel (
- TAO_ServerRequest &req,
- void *obj,
- void *context,
- CORBA::Environment &env =
- TAO_default_environment ()
- );
-
- static void _get_params_skel (
- TAO_ServerRequest &req,
- void *obj,
- void *context,
- CORBA::Environment &env =
- TAO_default_environment ()
- );
-
- static void _set_params_skel (
- TAO_ServerRequest &req,
- void *obj,
- void *context,
- CORBA::Environment &env =
- TAO_default_environment ()
- );
-
- static void _get_mode_skel (
- TAO_ServerRequest &req,
- void *obj,
- void *context,
- CORBA::Environment &env =
- TAO_default_environment ()
- );
-
- static void _set_mode_skel (
- TAO_ServerRequest &req,
- void *obj,
- void *context,
- CORBA::Environment &env =
- TAO_default_environment ()
- );
-
- static void _get_contexts_skel (
- TAO_ServerRequest &req,
- void *obj,
- void *context,
- CORBA::Environment &env =
- TAO_default_environment ()
- );
-
- static void _set_contexts_skel (
- TAO_ServerRequest &req,
- void *obj,
- void *context,
- CORBA::Environment &env =
- TAO_default_environment ()
- );
-
- static void _get_exceptions_skel (
- TAO_ServerRequest &req,
- void *obj,
- void *context,
- CORBA::Environment &env =
- TAO_default_environment ()
- );
-
- static void _set_exceptions_skel (
- TAO_ServerRequest &req,
- void *obj,
- void *context,
- CORBA::Environment &env =
- TAO_default_environment ()
- );
-
- static void _get_id_skel (
- TAO_ServerRequest &req,
- void *obj,
- void *context,
- CORBA::Environment &env =
- TAO_default_environment ()
- );
-
- static void _set_id_skel (
- TAO_ServerRequest &req,
- void *obj,
- void *context,
- CORBA::Environment &env =
- TAO_default_environment ()
- );
-
- static void _get_name_skel (
- TAO_ServerRequest &req,
- void *obj,
- void *context,
- CORBA::Environment &env =
- TAO_default_environment ()
- );
-
- static void _set_name_skel (
- TAO_ServerRequest &req,
- void *obj,
- void *context,
- CORBA::Environment &env =
- TAO_default_environment ()
- );
-
- static void _get_version_skel (
- TAO_ServerRequest &req,
- void *obj,
- void *context,
- CORBA::Environment &env =
- TAO_default_environment ()
- );
-
- static void _set_version_skel (
- TAO_ServerRequest &req,
- void *obj,
- void *context,
- CORBA::Environment &env =
- TAO_default_environment ()
- );
-
- static void _get_defined_in_skel (
- TAO_ServerRequest &req,
- void *obj,
- void *context,
- CORBA::Environment &env =
- TAO_default_environment ()
- );
-
- static void _get_absolute_name_skel (
- TAO_ServerRequest &req,
- void *obj,
- void *context,
- CORBA::Environment &env =
- TAO_default_environment ()
- );
-
- static void _get_containing_repository_skel (
- TAO_ServerRequest &req,
- void *obj,
- void *context,
- CORBA::Environment &env =
- TAO_default_environment ()
- );
-
- static void describe_skel (
- TAO_ServerRequest &req,
- void *obj,
- void *context,
- CORBA::Environment &env =
- TAO_default_environment ()
- );
-
- static void move_skel (
- TAO_ServerRequest &req,
- void *obj,
- void *context,
- CORBA::Environment &env =
- TAO_default_environment ()
- );
-
- static void _get_def_kind_skel (
- TAO_ServerRequest &req,
- void *obj,
- void *context,
- CORBA::Environment &env =
- TAO_default_environment ()
- );
-
- static void destroy_skel (
- TAO_ServerRequest &req,
- void *obj,
- void *context,
- CORBA::Environment &env =
- TAO_default_environment ()
- );
-
-#if (TAO_HAS_INTERCEPTORS == 1)
- // Generation of interceptors related RequestInfo classes per operation.
- // This needed to be able to store the arguments, exceptions, contexts
- // and build the lists dynamically on demand so that unnecessary time overhead
- // of building these lists when they arent used is avoided.
-#endif /* TAO_HAS_INTERCEPTORS */
-
- };
-
-///////////////////////////////////////////////////////////////////////
-// Strategized Proxy Broker Declaration
-//
-
-class _TAO_FinderDef_Strategized_Proxy_Broker : public virtual _TAO_FinderDef_Proxy_Broker
-{
-public:
- _TAO_FinderDef_Strategized_Proxy_Broker (void);
-
- virtual ~_TAO_FinderDef_Strategized_Proxy_Broker (void);
-
- virtual _TAO_FinderDef_Proxy_Impl &select_proxy (
- IR_FinderDef *object,
- CORBA_Environment &ACE_TRY_ENV = TAO_default_environment ()
- );
-
-private:
-
-// Helper methods that takes care to create the proxy
-// as soon as their use is necessary.
- void create_proxy (
- int strategy,
- CORBA::Environment &ACE_TRY_ENV
- );
-
-private:
-
- // Caches the proxy implementations. The proxy implementation
- // are totally stateless, and those can be shared by all the
- // instances of a given IDL interface type.
- _TAO_FinderDef_Proxy_Impl
- *proxy_cache_[TAO_Collocation_Strategies::CS_LAST];
-
- TAO_SYNCH_MUTEX mutex_;
-// This funxtion is used to get an handle to the unique instance
-// of the Strategized Proxy Broker that is available for a given
-// interface.
-
-public:
- static _TAO_FinderDef_Strategized_Proxy_Broker *the_TAO_FinderDef_Strategized_Proxy_Broker (void);
-};
-
-//
-// End Strategized Proxy Broker Declaration
-///////////////////////////////////////////////////////////////////////
-
-
-///////////////////////////////////////////////////////////////////////
-// ThruPOA Impl. Declaration
-//
-
-class _TAO_FinderDef_ThruPOA_Proxy_Impl :
- public virtual _TAO_FinderDef_Proxy_Impl,
- public virtual TAO_ThruPOA_Object_Proxy_Impl,
- public virtual ::POA_IR::_TAO_OperationDef_ThruPOA_Proxy_Impl
-
-{
-public:
- _TAO_FinderDef_ThruPOA_Proxy_Impl (void);
-
- virtual ~_TAO_FinderDef_ThruPOA_Proxy_Impl (void) { }
-
-};
-
-
-//
-// ThruPOA Proxy Impl. Declaration
-///////////////////////////////////////////////////////////////////////
-
-#if defined (ACE_HAS_USING_KEYWORD)
- // TIE class: Refer to CORBA v2.2, Section 20.34.4
- template <class T>
- class FinderDef_tie : public FinderDef
- {
- public:
- FinderDef_tie (T &t);
- // the T& ctor
- FinderDef_tie (T &t, PortableServer::POA_ptr poa);
- // ctor taking a POA
- FinderDef_tie (T *tp, CORBA::Boolean release=1);
- // ctor taking pointer and an ownership flag
- FinderDef_tie (T *tp, PortableServer::POA_ptr poa, CORBA::Boolean release=1);
- // ctor with T*, ownership flag and a POA
- ~FinderDef_tie (void);
- // dtor
-
- // TIE specific functions
- T *_tied_object (void);
- // return the underlying object
- void _tied_object (T &obj);
- // set the underlying object
- void _tied_object (T *obj, CORBA::Boolean release=1);
- // set the underlying object and the ownership flag
- CORBA::Boolean _is_owner (void);
- // do we own it
- void _is_owner (CORBA::Boolean b);
- // set the ownership
-
- // overridden ServantBase operations
- PortableServer::POA_ptr _default_POA (
- CORBA::Environment &env =
- TAO_default_environment ()
- );
- CORBA::TypeCode_ptr result (
- CORBA::Environment &ACE_TRY_ENV =
- TAO_default_environment ()
- )
- ACE_THROW_SPEC ((
- CORBA::SystemException
- ));
-
- IR_IDLType_ptr result_def (
- CORBA::Environment &ACE_TRY_ENV =
- TAO_default_environment ()
- )
- ACE_THROW_SPEC ((
- CORBA::SystemException
- ));
-
- void result_def (
- IR_IDLType_ptr result_def,
- CORBA::Environment &ACE_TRY_ENV =
- TAO_default_environment ()
- )
- ACE_THROW_SPEC ((
- CORBA::SystemException
- ));
-
- IR_ParDescriptionSeq * params (
- CORBA::Environment &ACE_TRY_ENV =
- TAO_default_environment ()
- )
- ACE_THROW_SPEC ((
- CORBA::SystemException
- ));
-
- void params (
- const IR_ParDescriptionSeq & params,
- CORBA::Environment &ACE_TRY_ENV =
- TAO_default_environment ()
- )
- ACE_THROW_SPEC ((
- CORBA::SystemException
- ));
-
- IR_OperationMode mode (
- CORBA::Environment &ACE_TRY_ENV =
- TAO_default_environment ()
- )
- ACE_THROW_SPEC ((
- CORBA::SystemException
- ));
-
- void mode (
- IR_OperationMode mode,
- CORBA::Environment &ACE_TRY_ENV =
- TAO_default_environment ()
- )
- ACE_THROW_SPEC ((
- CORBA::SystemException
- ));
-
- IR_ContextIdSeq * contexts (
- CORBA::Environment &ACE_TRY_ENV =
- TAO_default_environment ()
- )
- ACE_THROW_SPEC ((
- CORBA::SystemException
- ));
-
- void contexts (
- const IR_ContextIdSeq & contexts,
- CORBA::Environment &ACE_TRY_ENV =
- TAO_default_environment ()
- )
- ACE_THROW_SPEC ((
- CORBA::SystemException
- ));
-
- IR_ExceptionDefSeq * exceptions (
- CORBA::Environment &ACE_TRY_ENV =
- TAO_default_environment ()
- )
- ACE_THROW_SPEC ((
- CORBA::SystemException
- ));
-
- void exceptions (
- const IR_ExceptionDefSeq & exceptions,
- CORBA::Environment &ACE_TRY_ENV =
- TAO_default_environment ()
- )
- ACE_THROW_SPEC ((
- CORBA::SystemException
- ));
-
- char * id (
- CORBA::Environment &ACE_TRY_ENV =
- TAO_default_environment ()
- )
- ACE_THROW_SPEC ((
- CORBA::SystemException
- ));
-
- void id (
- const char * id,
- CORBA::Environment &ACE_TRY_ENV =
- TAO_default_environment ()
- )
- ACE_THROW_SPEC ((
- CORBA::SystemException
- ));
-
- char * name (
- CORBA::Environment &ACE_TRY_ENV =
- TAO_default_environment ()
- )
- ACE_THROW_SPEC ((
- CORBA::SystemException
- ));
-
- void name (
- const char * name,
- CORBA::Environment &ACE_TRY_ENV =
- TAO_default_environment ()
- )
- ACE_THROW_SPEC ((
- CORBA::SystemException
- ));
-
- char * version (
- CORBA::Environment &ACE_TRY_ENV =
- TAO_default_environment ()
- )
- ACE_THROW_SPEC ((
- CORBA::SystemException
- ));
-
- void version (
- const char * version,
- CORBA::Environment &ACE_TRY_ENV =
- TAO_default_environment ()
- )
- ACE_THROW_SPEC ((
- CORBA::SystemException
- ));
-
- IR_Container_ptr defined_in (
- CORBA::Environment &ACE_TRY_ENV =
- TAO_default_environment ()
- )
- ACE_THROW_SPEC ((
- CORBA::SystemException
- ));
-
- char * absolute_name (
- CORBA::Environment &ACE_TRY_ENV =
- TAO_default_environment ()
- )
- ACE_THROW_SPEC ((
- CORBA::SystemException
- ));
-
- IR_Repository_ptr containing_repository (
- CORBA::Environment &ACE_TRY_ENV =
- TAO_default_environment ()
- )
- ACE_THROW_SPEC ((
- CORBA::SystemException
- ));
-
- IR_Contained::Description * describe (
- CORBA::Environment &ACE_TRY_ENV =
- TAO_default_environment ()
- )
- ACE_THROW_SPEC ((
- CORBA::SystemException
- ));
-
- void move (
- IR_Container_ptr new_container,
- const char * new_name,
- const char * new_version,
- CORBA::Environment &ACE_TRY_ENV =
- TAO_default_environment ()
- )
- ACE_THROW_SPEC ((
- CORBA::SystemException
- ));
-
- IR_DefinitionKind def_kind (
- CORBA::Environment &ACE_TRY_ENV =
- TAO_default_environment ()
- )
- ACE_THROW_SPEC ((
- CORBA::SystemException
- ));
-
- void destroy (
- CORBA::Environment &ACE_TRY_ENV =
- TAO_default_environment ()
- )
- ACE_THROW_SPEC ((
- CORBA::SystemException
- ));
-
-private:
- T *ptr_;
- PortableServer::POA_var poa_;
- CORBA::Boolean rel_;
-
- // copy and assignment are not allowed
- FinderDef_tie (const FinderDef_tie &);
- void operator= (const FinderDef_tie &);
- };
-
-#endif /* ACE_HAS_USING_KEYWORD */
-
- class HomeDef;
- typedef HomeDef *HomeDef_ptr;
- // Forward Classes Declaration
- class _TAO_HomeDef_ThruPOA_Proxy_Impl;
- class _TAO_HomeDef_Strategized_Proxy_Broker;
-
- class HomeDef : public virtual InterfaceDef
- {
- protected:
- HomeDef (void);
-
- public:
- HomeDef (const HomeDef& rhs);
- virtual ~HomeDef (void);
-
-
- virtual CORBA::Boolean _is_a (
- const char* logical_type_id,
- CORBA::Environment &ACE_TRY_ENV =
- TAO_default_environment ()
- );
-
- virtual void* _downcast (
- const char* logical_type_id
- );
-
- static void _is_a_skel (
- TAO_ServerRequest &req,
- void *obj,
- void *context,
- CORBA::Environment &ACE_TRY_ENV =
- TAO_default_environment ()
- );
-
- static void _non_existent_skel (
- TAO_ServerRequest &req,
- void *obj,
- void *context,
- CORBA::Environment &ACE_TRY_ENV =
- TAO_default_environment ()
- );
-
- virtual void _dispatch (
- TAO_ServerRequest &_tao_req,
- void *_tao_context,
- CORBA::Environment &ACE_TRY_ENV =
- TAO_default_environment ()
- );
-
- IR_HomeDef *_this (
- CORBA::Environment &ACE_TRY_ENV =
- TAO_default_environment ()
- );
-
- virtual const char* _interface_repository_id (void) const;
-
- virtual IR_HomeDef_ptr base_home (
- CORBA::Environment &ACE_TRY_ENV =
- TAO_default_environment ()
- )
- ACE_THROW_SPEC ((
- CORBA::SystemException
- )) = 0;
-
- static void _get_base_home_skel (
- TAO_ServerRequest &_tao_req,
- void *_tao_obj,
- void *_tao_context,
- CORBA::Environment &ACE_TRY_ENV =
- TAO_default_environment ()
- );
-
- virtual IR_ComponentDef_ptr managed_component (
- CORBA::Environment &ACE_TRY_ENV =
- TAO_default_environment ()
- )
- ACE_THROW_SPEC ((
- CORBA::SystemException
- )) = 0;
-
- static void _get_managed_component_skel (
- TAO_ServerRequest &_tao_req,
- void *_tao_obj,
- void *_tao_context,
- CORBA::Environment &ACE_TRY_ENV =
- TAO_default_environment ()
- );
-
- virtual IR_PrimaryKeyDef_ptr primary_key (
- CORBA::Environment &ACE_TRY_ENV =
- TAO_default_environment ()
- )
- ACE_THROW_SPEC ((
- CORBA::SystemException
- )) = 0;
-
- static void _get_primary_key_skel (
- TAO_ServerRequest &_tao_req,
- void *_tao_obj,
- void *_tao_context,
- CORBA::Environment &ACE_TRY_ENV =
- TAO_default_environment ()
- );
-
- virtual IR_FactoryDefSeq * factories (
- CORBA::Environment &ACE_TRY_ENV =
- TAO_default_environment ()
- )
- ACE_THROW_SPEC ((
- CORBA::SystemException
- )) = 0;
-
- static void _get_factories_skel (
- TAO_ServerRequest &_tao_req,
- void *_tao_obj,
- void *_tao_context,
- CORBA::Environment &ACE_TRY_ENV =
- TAO_default_environment ()
- );
-
- virtual IR_FinderDefSeq * finders (
- CORBA::Environment &ACE_TRY_ENV =
- TAO_default_environment ()
- )
- ACE_THROW_SPEC ((
- CORBA::SystemException
- )) = 0;
-
- static void _get_finders_skel (
- TAO_ServerRequest &_tao_req,
- void *_tao_obj,
- void *_tao_context,
- CORBA::Environment &ACE_TRY_ENV =
- TAO_default_environment ()
- );
-
- virtual CORBA::Boolean is_basic (
- CORBA::Environment &ACE_TRY_ENV =
- TAO_default_environment ()
- )
- ACE_THROW_SPEC ((
- CORBA::SystemException
- )) = 0;
-
- static void _get_is_basic_skel (
- TAO_ServerRequest &_tao_req,
- void *_tao_obj,
- void *_tao_context,
- CORBA::Environment &ACE_TRY_ENV =
- TAO_default_environment ()
- );
-
- virtual IR_PrimaryKeyDef_ptr create_primary_key (
- const char * id,
- const char * name,
- const char * version,
- IR_ValueDef_ptr primary_key,
- CORBA::Environment &ACE_TRY_ENV =
- TAO_default_environment ()
- )
- ACE_THROW_SPEC ((
- CORBA::SystemException
- )) = 0;
-
- static void create_primary_key_skel (
- TAO_ServerRequest &_tao_req,
- void *_tao_obj,
- void *_tao_context,
- CORBA::Environment &ACE_TRY_ENV =
- TAO_default_environment ()
- );
-
- virtual IR_FactoryDef_ptr create_factory (
- const char * id,
- const char * name,
- const char * version,
- const IR_ParDescriptionSeq & params,
- const IR_ExceptionDefSeq & exceptions,
- CORBA::Environment &ACE_TRY_ENV =
- TAO_default_environment ()
- )
- ACE_THROW_SPEC ((
- CORBA::SystemException
- )) = 0;
-
- static void create_factory_skel (
- TAO_ServerRequest &_tao_req,
- void *_tao_obj,
- void *_tao_context,
- CORBA::Environment &ACE_TRY_ENV =
- TAO_default_environment ()
- );
-
- virtual IR_FinderDef_ptr create_finder (
- const char * id,
- const char * name,
- const char * version,
- const IR_ParDescriptionSeq & params,
- const IR_ExceptionDefSeq & exceptions,
- CORBA::Environment &ACE_TRY_ENV =
- TAO_default_environment ()
- )
- ACE_THROW_SPEC ((
- CORBA::SystemException
- )) = 0;
-
- static void create_finder_skel (
- TAO_ServerRequest &_tao_req,
- void *_tao_obj,
- void *_tao_context,
- CORBA::Environment &ACE_TRY_ENV =
- TAO_default_environment ()
- );
-
- static void _get_base_interfaces_skel (
- TAO_ServerRequest &req,
- void *obj,
- void *context,
- CORBA::Environment &env =
- TAO_default_environment ()
- );
-
- static void _set_base_interfaces_skel (
- TAO_ServerRequest &req,
- void *obj,
- void *context,
- CORBA::Environment &env =
- TAO_default_environment ()
- );
-
- static void _get_is_abstract_skel (
- TAO_ServerRequest &req,
- void *obj,
- void *context,
- CORBA::Environment &env =
- TAO_default_environment ()
- );
-
- static void _set_is_abstract_skel (
- TAO_ServerRequest &req,
- void *obj,
- void *context,
- CORBA::Environment &env =
- TAO_default_environment ()
- );
-
- static void _get_is_local_skel (
- TAO_ServerRequest &req,
- void *obj,
- void *context,
- CORBA::Environment &env =
- TAO_default_environment ()
- );
-
- static void _set_is_local_skel (
- TAO_ServerRequest &req,
- void *obj,
- void *context,
- CORBA::Environment &env =
- TAO_default_environment ()
- );
-
- static void is_a_skel (
- TAO_ServerRequest &req,
- void *obj,
- void *context,
- CORBA::Environment &env =
- TAO_default_environment ()
- );
-
- static void create_attribute_skel (
- TAO_ServerRequest &req,
- void *obj,
- void *context,
- CORBA::Environment &env =
- TAO_default_environment ()
- );
-
- static void create_operation_skel (
- TAO_ServerRequest &req,
- void *obj,
- void *context,
- CORBA::Environment &env =
- TAO_default_environment ()
- );
-
- static void lookup_skel (
- TAO_ServerRequest &req,
- void *obj,
- void *context,
- CORBA::Environment &env =
- TAO_default_environment ()
- );
-
- static void contents_skel (
- TAO_ServerRequest &req,
- void *obj,
- void *context,
- CORBA::Environment &env =
- TAO_default_environment ()
- );
-
- static void lookup_name_skel (
- TAO_ServerRequest &req,
- void *obj,
- void *context,
- CORBA::Environment &env =
- TAO_default_environment ()
- );
-
- static void describe_contents_skel (
- TAO_ServerRequest &req,
- void *obj,
- void *context,
- CORBA::Environment &env =
- TAO_default_environment ()
- );
-
- static void create_module_skel (
- TAO_ServerRequest &req,
- void *obj,
- void *context,
- CORBA::Environment &env =
- TAO_default_environment ()
- );
-
- static void create_constant_skel (
- TAO_ServerRequest &req,
- void *obj,
- void *context,
- CORBA::Environment &env =
- TAO_default_environment ()
- );
-
- static void create_struct_skel (
- TAO_ServerRequest &req,
- void *obj,
- void *context,
- CORBA::Environment &env =
- TAO_default_environment ()
- );
-
- static void create_union_skel (
- TAO_ServerRequest &req,
- void *obj,
- void *context,
- CORBA::Environment &env =
- TAO_default_environment ()
- );
-
- static void create_enum_skel (
- TAO_ServerRequest &req,
- void *obj,
- void *context,
- CORBA::Environment &env =
- TAO_default_environment ()
- );
-
- static void create_alias_skel (
- TAO_ServerRequest &req,
- void *obj,
- void *context,
- CORBA::Environment &env =
- TAO_default_environment ()
- );
-
- static void create_interface_skel (
- TAO_ServerRequest &req,
- void *obj,
- void *context,
- CORBA::Environment &env =
- TAO_default_environment ()
- );
-
- static void create_value_skel (
- TAO_ServerRequest &req,
- void *obj,
- void *context,
- CORBA::Environment &env =
- TAO_default_environment ()
- );
-
- static void create_value_box_skel (
- TAO_ServerRequest &req,
- void *obj,
- void *context,
- CORBA::Environment &env =
- TAO_default_environment ()
- );
-
- static void create_exception_skel (
- TAO_ServerRequest &req,
- void *obj,
- void *context,
- CORBA::Environment &env =
- TAO_default_environment ()
- );
-
- static void create_native_skel (
- TAO_ServerRequest &req,
- void *obj,
- void *context,
- CORBA::Environment &env =
- TAO_default_environment ()
- );
-
- static void _get_id_skel (
- TAO_ServerRequest &req,
- void *obj,
- void *context,
- CORBA::Environment &env =
- TAO_default_environment ()
- );
-
- static void _set_id_skel (
- TAO_ServerRequest &req,
- void *obj,
- void *context,
- CORBA::Environment &env =
- TAO_default_environment ()
- );
-
- static void _get_name_skel (
- TAO_ServerRequest &req,
- void *obj,
- void *context,
- CORBA::Environment &env =
- TAO_default_environment ()
- );
-
- static void _set_name_skel (
- TAO_ServerRequest &req,
- void *obj,
- void *context,
- CORBA::Environment &env =
- TAO_default_environment ()
- );
-
- static void _get_version_skel (
- TAO_ServerRequest &req,
- void *obj,
- void *context,
- CORBA::Environment &env =
- TAO_default_environment ()
- );
-
- static void _set_version_skel (
- TAO_ServerRequest &req,
- void *obj,
- void *context,
- CORBA::Environment &env =
- TAO_default_environment ()
- );
-
- static void _get_defined_in_skel (
- TAO_ServerRequest &req,
- void *obj,
- void *context,
- CORBA::Environment &env =
- TAO_default_environment ()
- );
-
- static void _get_absolute_name_skel (
- TAO_ServerRequest &req,
- void *obj,
- void *context,
- CORBA::Environment &env =
- TAO_default_environment ()
- );
-
- static void _get_containing_repository_skel (
- TAO_ServerRequest &req,
- void *obj,
- void *context,
- CORBA::Environment &env =
- TAO_default_environment ()
- );
-
- static void describe_skel (
- TAO_ServerRequest &req,
- void *obj,
- void *context,
- CORBA::Environment &env =
- TAO_default_environment ()
- );
-
- static void move_skel (
- TAO_ServerRequest &req,
- void *obj,
- void *context,
- CORBA::Environment &env =
- TAO_default_environment ()
- );
-
- static void _get_type_skel (
- TAO_ServerRequest &req,
- void *obj,
- void *context,
- CORBA::Environment &env =
- TAO_default_environment ()
- );
-
- static void _get_def_kind_skel (
- TAO_ServerRequest &req,
- void *obj,
- void *context,
- CORBA::Environment &env =
- TAO_default_environment ()
- );
-
- static void destroy_skel (
- TAO_ServerRequest &req,
- void *obj,
- void *context,
- CORBA::Environment &env =
- TAO_default_environment ()
- );
-
-#if (TAO_HAS_INTERCEPTORS == 1)
- // Generation of interceptors related RequestInfo classes per operation.
- // This needed to be able to store the arguments, exceptions, contexts
- // and build the lists dynamically on demand so that unnecessary time overhead
- // of building these lists when they arent used is avoided.
- class TAO_ServerRequestInfo_IR_HomeDef_base_home_get : public TAO_ServerRequestInfo
- {
- public:
- friend class POA_IR::HomeDef;
- TAO_ServerRequestInfo_IR_HomeDef_base_home_get (
- TAO_ServerRequest &_tao_server_request,
- POA_IR::HomeDef *tao_impl
- ,
- CORBA::Environment &ACE_TRY_ENV =
- TAO_default_environment ()
- );
-
- virtual Dynamic::ParameterList * arguments (
- CORBA::Environment &ACE_TRY_ENV =
- TAO_default_environment ()
- )
- ACE_THROW_SPEC ((CORBA::SystemException));
-
- virtual Dynamic::ExceptionList * exceptions (
- CORBA::Environment &ACE_TRY_ENV =
- TAO_default_environment ()
- )
- ACE_THROW_SPEC ((CORBA::SystemException));
-
- virtual CORBA::Any * result (
- CORBA::Environment &ACE_TRY_ENV =
- TAO_default_environment ()
- )
- ACE_THROW_SPEC ((CORBA::SystemException));
-
- virtual char * target_most_derived_interface (
- CORBA::Environment &ACE_TRY_ENV = TAO_default_environment ())
- ACE_THROW_SPEC ((CORBA::SystemException));
-
- virtual CORBA::Boolean target_is_a (
- const char * id,
- CORBA::Environment &ACE_TRY_ENV = TAO_default_environment ())
- ACE_THROW_SPEC ((CORBA::SystemException));
-
-
- private:
- TAO_ServerRequestInfo_IR_HomeDef_base_home_get (const TAO_ServerRequestInfo_IR_HomeDef_base_home_get &);
- void operator= (const TAO_ServerRequestInfo_IR_HomeDef_base_home_get &);
-
- private:
- POA_IR::HomeDef *_tao_impl;
- void result (IR::HomeDef_ptr result);
- // update the result
- IR_HomeDef_ptr _result;
- };
-
- class TAO_ServerRequestInfo_IR_HomeDef_managed_component_get : public TAO_ServerRequestInfo
- {
- public:
- friend class POA_IR::HomeDef;
- TAO_ServerRequestInfo_IR_HomeDef_managed_component_get (
- TAO_ServerRequest &_tao_server_request,
- POA_IR::HomeDef *tao_impl
- ,
- CORBA::Environment &ACE_TRY_ENV =
- TAO_default_environment ()
- );
-
- virtual Dynamic::ParameterList * arguments (
- CORBA::Environment &ACE_TRY_ENV =
- TAO_default_environment ()
- )
- ACE_THROW_SPEC ((CORBA::SystemException));
-
- virtual Dynamic::ExceptionList * exceptions (
- CORBA::Environment &ACE_TRY_ENV =
- TAO_default_environment ()
- )
- ACE_THROW_SPEC ((CORBA::SystemException));
-
- virtual CORBA::Any * result (
- CORBA::Environment &ACE_TRY_ENV =
- TAO_default_environment ()
- )
- ACE_THROW_SPEC ((CORBA::SystemException));
-
- virtual char * target_most_derived_interface (
- CORBA::Environment &ACE_TRY_ENV = TAO_default_environment ())
- ACE_THROW_SPEC ((CORBA::SystemException));
-
- virtual CORBA::Boolean target_is_a (
- const char * id,
- CORBA::Environment &ACE_TRY_ENV = TAO_default_environment ())
- ACE_THROW_SPEC ((CORBA::SystemException));
-
-
- private:
- TAO_ServerRequestInfo_IR_HomeDef_managed_component_get (const TAO_ServerRequestInfo_IR_HomeDef_managed_component_get &);
- void operator= (const TAO_ServerRequestInfo_IR_HomeDef_managed_component_get &);
-
- private:
- POA_IR::HomeDef *_tao_impl;
- void result (IR::ComponentDef_ptr result);
- // update the result
- IR_ComponentDef_ptr _result;
- };
-
- class TAO_ServerRequestInfo_IR_HomeDef_primary_key_get : public TAO_ServerRequestInfo
- {
- public:
- friend class POA_IR::HomeDef;
- TAO_ServerRequestInfo_IR_HomeDef_primary_key_get (
- TAO_ServerRequest &_tao_server_request,
- POA_IR::HomeDef *tao_impl
- ,
- CORBA::Environment &ACE_TRY_ENV =
- TAO_default_environment ()
- );
-
- virtual Dynamic::ParameterList * arguments (
- CORBA::Environment &ACE_TRY_ENV =
- TAO_default_environment ()
- )
- ACE_THROW_SPEC ((CORBA::SystemException));
-
- virtual Dynamic::ExceptionList * exceptions (
- CORBA::Environment &ACE_TRY_ENV =
- TAO_default_environment ()
- )
- ACE_THROW_SPEC ((CORBA::SystemException));
-
- virtual CORBA::Any * result (
- CORBA::Environment &ACE_TRY_ENV =
- TAO_default_environment ()
- )
- ACE_THROW_SPEC ((CORBA::SystemException));
-
- virtual char * target_most_derived_interface (
- CORBA::Environment &ACE_TRY_ENV = TAO_default_environment ())
- ACE_THROW_SPEC ((CORBA::SystemException));
-
- virtual CORBA::Boolean target_is_a (
- const char * id,
- CORBA::Environment &ACE_TRY_ENV = TAO_default_environment ())
- ACE_THROW_SPEC ((CORBA::SystemException));
-
-
- private:
- TAO_ServerRequestInfo_IR_HomeDef_primary_key_get (const TAO_ServerRequestInfo_IR_HomeDef_primary_key_get &);
- void operator= (const TAO_ServerRequestInfo_IR_HomeDef_primary_key_get &);
-
- private:
- POA_IR::HomeDef *_tao_impl;
- void result (IR::PrimaryKeyDef_ptr result);
- // update the result
- IR_PrimaryKeyDef_ptr _result;
- };
-
- class TAO_ServerRequestInfo_IR_HomeDef_factories_get : public TAO_ServerRequestInfo
- {
- public:
- friend class POA_IR::HomeDef;
- TAO_ServerRequestInfo_IR_HomeDef_factories_get (
- TAO_ServerRequest &_tao_server_request,
- POA_IR::HomeDef *tao_impl
- ,
- CORBA::Environment &ACE_TRY_ENV =
- TAO_default_environment ()
- );
-
- virtual Dynamic::ParameterList * arguments (
- CORBA::Environment &ACE_TRY_ENV =
- TAO_default_environment ()
- )
- ACE_THROW_SPEC ((CORBA::SystemException));
-
- virtual Dynamic::ExceptionList * exceptions (
- CORBA::Environment &ACE_TRY_ENV =
- TAO_default_environment ()
- )
- ACE_THROW_SPEC ((CORBA::SystemException));
-
- virtual CORBA::Any * result (
- CORBA::Environment &ACE_TRY_ENV =
- TAO_default_environment ()
- )
- ACE_THROW_SPEC ((CORBA::SystemException));
-
- virtual char * target_most_derived_interface (
- CORBA::Environment &ACE_TRY_ENV = TAO_default_environment ())
- ACE_THROW_SPEC ((CORBA::SystemException));
-
- virtual CORBA::Boolean target_is_a (
- const char * id,
- CORBA::Environment &ACE_TRY_ENV = TAO_default_environment ())
- ACE_THROW_SPEC ((CORBA::SystemException));
-
-
- private:
- TAO_ServerRequestInfo_IR_HomeDef_factories_get (const TAO_ServerRequestInfo_IR_HomeDef_factories_get &);
- void operator= (const TAO_ServerRequestInfo_IR_HomeDef_factories_get &);
-
- private:
- POA_IR::HomeDef *_tao_impl;
- void result (IR::FactoryDefSeq * result);
- // update the result
- IR_FactoryDefSeq * _result;
- };
-
- class TAO_ServerRequestInfo_IR_HomeDef_finders_get : public TAO_ServerRequestInfo
- {
- public:
- friend class POA_IR::HomeDef;
- TAO_ServerRequestInfo_IR_HomeDef_finders_get (
- TAO_ServerRequest &_tao_server_request,
- POA_IR::HomeDef *tao_impl
- ,
- CORBA::Environment &ACE_TRY_ENV =
- TAO_default_environment ()
- );
-
- virtual Dynamic::ParameterList * arguments (
- CORBA::Environment &ACE_TRY_ENV =
- TAO_default_environment ()
- )
- ACE_THROW_SPEC ((CORBA::SystemException));
-
- virtual Dynamic::ExceptionList * exceptions (
- CORBA::Environment &ACE_TRY_ENV =
- TAO_default_environment ()
- )
- ACE_THROW_SPEC ((CORBA::SystemException));
-
- virtual CORBA::Any * result (
- CORBA::Environment &ACE_TRY_ENV =
- TAO_default_environment ()
- )
- ACE_THROW_SPEC ((CORBA::SystemException));
-
- virtual char * target_most_derived_interface (
- CORBA::Environment &ACE_TRY_ENV = TAO_default_environment ())
- ACE_THROW_SPEC ((CORBA::SystemException));
-
- virtual CORBA::Boolean target_is_a (
- const char * id,
- CORBA::Environment &ACE_TRY_ENV = TAO_default_environment ())
- ACE_THROW_SPEC ((CORBA::SystemException));
-
-
- private:
- TAO_ServerRequestInfo_IR_HomeDef_finders_get (const TAO_ServerRequestInfo_IR_HomeDef_finders_get &);
- void operator= (const TAO_ServerRequestInfo_IR_HomeDef_finders_get &);
-
- private:
- POA_IR::HomeDef *_tao_impl;
- void result (IR::FinderDefSeq * result);
- // update the result
- IR_FinderDefSeq * _result;
- };
-
- class TAO_ServerRequestInfo_IR_HomeDef_is_basic_get : public TAO_ServerRequestInfo
- {
- public:
- friend class POA_IR::HomeDef;
- TAO_ServerRequestInfo_IR_HomeDef_is_basic_get (
- TAO_ServerRequest &_tao_server_request,
- POA_IR::HomeDef *tao_impl
- ,
- CORBA::Environment &ACE_TRY_ENV =
- TAO_default_environment ()
- );
-
- virtual Dynamic::ParameterList * arguments (
- CORBA::Environment &ACE_TRY_ENV =
- TAO_default_environment ()
- )
- ACE_THROW_SPEC ((CORBA::SystemException));
-
- virtual Dynamic::ExceptionList * exceptions (
- CORBA::Environment &ACE_TRY_ENV =
- TAO_default_environment ()
- )
- ACE_THROW_SPEC ((CORBA::SystemException));
-
- virtual CORBA::Any * result (
- CORBA::Environment &ACE_TRY_ENV =
- TAO_default_environment ()
- )
- ACE_THROW_SPEC ((CORBA::SystemException));
-
- virtual char * target_most_derived_interface (
- CORBA::Environment &ACE_TRY_ENV = TAO_default_environment ())
- ACE_THROW_SPEC ((CORBA::SystemException));
-
- virtual CORBA::Boolean target_is_a (
- const char * id,
- CORBA::Environment &ACE_TRY_ENV = TAO_default_environment ())
- ACE_THROW_SPEC ((CORBA::SystemException));
-
-
- private:
- TAO_ServerRequestInfo_IR_HomeDef_is_basic_get (const TAO_ServerRequestInfo_IR_HomeDef_is_basic_get &);
- void operator= (const TAO_ServerRequestInfo_IR_HomeDef_is_basic_get &);
-
- private:
- POA_IR::HomeDef *_tao_impl;
- void result (CORBA::Boolean result);
- // update the result
- CORBA::Boolean _result;
- };
-
- class TAO_ServerRequestInfo_IR_HomeDef_create_primary_key : public TAO_ServerRequestInfo
- {
- public:
- friend class POA_IR::HomeDef;
- TAO_ServerRequestInfo_IR_HomeDef_create_primary_key (
- TAO_ServerRequest &_tao_server_request,
- POA_IR::HomeDef *tao_impl
- ,
- const char * id,
- const char * name,
- const char * version,
- IR_ValueDef_ptr primary_key,
- CORBA::Environment &ACE_TRY_ENV =
- TAO_default_environment ()
- );
-
- virtual Dynamic::ParameterList * arguments (
- CORBA::Environment &ACE_TRY_ENV =
- TAO_default_environment ()
- )
- ACE_THROW_SPEC ((CORBA::SystemException));
-
- virtual Dynamic::ExceptionList * exceptions (
- CORBA::Environment &ACE_TRY_ENV =
- TAO_default_environment ()
- )
- ACE_THROW_SPEC ((CORBA::SystemException));
-
- virtual CORBA::Any * result (
- CORBA::Environment &ACE_TRY_ENV =
- TAO_default_environment ()
- )
- ACE_THROW_SPEC ((CORBA::SystemException));
-
- virtual char * target_most_derived_interface (
- CORBA::Environment &ACE_TRY_ENV = TAO_default_environment ())
- ACE_THROW_SPEC ((CORBA::SystemException));
-
- virtual CORBA::Boolean target_is_a (
- const char * id,
- CORBA::Environment &ACE_TRY_ENV = TAO_default_environment ())
- ACE_THROW_SPEC ((CORBA::SystemException));
-
-
- private:
- TAO_ServerRequestInfo_IR_HomeDef_create_primary_key (const TAO_ServerRequestInfo_IR_HomeDef_create_primary_key &);
- void operator= (const TAO_ServerRequestInfo_IR_HomeDef_create_primary_key &);
-
- private:
- POA_IR::HomeDef *_tao_impl;
- const char * id_;
- const char * name_;
- const char * version_;
- IR_ValueDef_ptr primary_key_;
- void result (IR::PrimaryKeyDef_ptr result);
- // update the result
- IR_PrimaryKeyDef_ptr _result;
- };
-
- class TAO_ServerRequestInfo_IR_HomeDef_create_factory : public TAO_ServerRequestInfo
- {
- public:
- friend class POA_IR::HomeDef;
- TAO_ServerRequestInfo_IR_HomeDef_create_factory (
- TAO_ServerRequest &_tao_server_request,
- POA_IR::HomeDef *tao_impl
- ,
- const char * id,
- const char * name,
- const char * version,
- const IR_ParDescriptionSeq & params,
- const IR_ExceptionDefSeq & exceptions,
- CORBA::Environment &ACE_TRY_ENV =
- TAO_default_environment ()
- );
-
- virtual Dynamic::ParameterList * arguments (
- CORBA::Environment &ACE_TRY_ENV =
- TAO_default_environment ()
- )
- ACE_THROW_SPEC ((CORBA::SystemException));
-
- virtual Dynamic::ExceptionList * exceptions (
- CORBA::Environment &ACE_TRY_ENV =
- TAO_default_environment ()
- )
- ACE_THROW_SPEC ((CORBA::SystemException));
-
- virtual CORBA::Any * result (
- CORBA::Environment &ACE_TRY_ENV =
- TAO_default_environment ()
- )
- ACE_THROW_SPEC ((CORBA::SystemException));
-
- virtual char * target_most_derived_interface (
- CORBA::Environment &ACE_TRY_ENV = TAO_default_environment ())
- ACE_THROW_SPEC ((CORBA::SystemException));
-
- virtual CORBA::Boolean target_is_a (
- const char * id,
- CORBA::Environment &ACE_TRY_ENV = TAO_default_environment ())
- ACE_THROW_SPEC ((CORBA::SystemException));
-
-
- private:
- TAO_ServerRequestInfo_IR_HomeDef_create_factory (const TAO_ServerRequestInfo_IR_HomeDef_create_factory &);
- void operator= (const TAO_ServerRequestInfo_IR_HomeDef_create_factory &);
-
- private:
- POA_IR::HomeDef *_tao_impl;
- const char * id_;
- const char * name_;
- const char * version_;
- const IR_ParDescriptionSeq & params_;
- const IR_ExceptionDefSeq & exceptions_;
- void result (IR::FactoryDef_ptr result);
- // update the result
- IR_FactoryDef_ptr _result;
- };
-
- class TAO_ServerRequestInfo_IR_HomeDef_create_finder : public TAO_ServerRequestInfo
- {
- public:
- friend class POA_IR::HomeDef;
- TAO_ServerRequestInfo_IR_HomeDef_create_finder (
- TAO_ServerRequest &_tao_server_request,
- POA_IR::HomeDef *tao_impl
- ,
- const char * id,
- const char * name,
- const char * version,
- const IR_ParDescriptionSeq & params,
- const IR_ExceptionDefSeq & exceptions,
- CORBA::Environment &ACE_TRY_ENV =
- TAO_default_environment ()
- );
-
- virtual Dynamic::ParameterList * arguments (
- CORBA::Environment &ACE_TRY_ENV =
- TAO_default_environment ()
- )
- ACE_THROW_SPEC ((CORBA::SystemException));
-
- virtual Dynamic::ExceptionList * exceptions (
- CORBA::Environment &ACE_TRY_ENV =
- TAO_default_environment ()
- )
- ACE_THROW_SPEC ((CORBA::SystemException));
-
- virtual CORBA::Any * result (
- CORBA::Environment &ACE_TRY_ENV =
- TAO_default_environment ()
- )
- ACE_THROW_SPEC ((CORBA::SystemException));
-
- virtual char * target_most_derived_interface (
- CORBA::Environment &ACE_TRY_ENV = TAO_default_environment ())
- ACE_THROW_SPEC ((CORBA::SystemException));
-
- virtual CORBA::Boolean target_is_a (
- const char * id,
- CORBA::Environment &ACE_TRY_ENV = TAO_default_environment ())
- ACE_THROW_SPEC ((CORBA::SystemException));
-
-
- private:
- TAO_ServerRequestInfo_IR_HomeDef_create_finder (const TAO_ServerRequestInfo_IR_HomeDef_create_finder &);
- void operator= (const TAO_ServerRequestInfo_IR_HomeDef_create_finder &);
-
- private:
- POA_IR::HomeDef *_tao_impl;
- const char * id_;
- const char * name_;
- const char * version_;
- const IR_ParDescriptionSeq & params_;
- const IR_ExceptionDefSeq & exceptions_;
- void result (IR::FinderDef_ptr result);
- // update the result
- IR_FinderDef_ptr _result;
- };
-
-#endif /* TAO_HAS_INTERCEPTORS */
-
- };
-
-///////////////////////////////////////////////////////////////////////
-// Strategized Proxy Broker Declaration
-//
-
-class _TAO_HomeDef_Strategized_Proxy_Broker : public virtual _TAO_HomeDef_Proxy_Broker
-{
-public:
- _TAO_HomeDef_Strategized_Proxy_Broker (void);
-
- virtual ~_TAO_HomeDef_Strategized_Proxy_Broker (void);
-
- virtual _TAO_HomeDef_Proxy_Impl &select_proxy (
- IR_HomeDef *object,
- CORBA_Environment &ACE_TRY_ENV = TAO_default_environment ()
- );
-
-private:
-
-// Helper methods that takes care to create the proxy
-// as soon as their use is necessary.
- void create_proxy (
- int strategy,
- CORBA::Environment &ACE_TRY_ENV
- );
-
-private:
-
- // Caches the proxy implementations. The proxy implementation
- // are totally stateless, and those can be shared by all the
- // instances of a given IDL interface type.
- _TAO_HomeDef_Proxy_Impl
- *proxy_cache_[TAO_Collocation_Strategies::CS_LAST];
-
- TAO_SYNCH_MUTEX mutex_;
-// This funxtion is used to get an handle to the unique instance
-// of the Strategized Proxy Broker that is available for a given
-// interface.
-
-public:
- static _TAO_HomeDef_Strategized_Proxy_Broker *the_TAO_HomeDef_Strategized_Proxy_Broker (void);
-};
-
-//
-// End Strategized Proxy Broker Declaration
-///////////////////////////////////////////////////////////////////////
-
-
-///////////////////////////////////////////////////////////////////////
-// ThruPOA Impl. Declaration
-//
-
-class _TAO_HomeDef_ThruPOA_Proxy_Impl :
- public virtual _TAO_HomeDef_Proxy_Impl,
- public virtual TAO_ThruPOA_Object_Proxy_Impl,
- public virtual ::POA_IR::_TAO_InterfaceDef_ThruPOA_Proxy_Impl
-
-{
-public:
- _TAO_HomeDef_ThruPOA_Proxy_Impl (void);
-
- virtual ~_TAO_HomeDef_ThruPOA_Proxy_Impl (void) { }
-
- virtual IR_HomeDef_ptr base_home (
- CORBA_Object *_collocated_tao_target_,
- CORBA::Environment &ACE_TRY_ENV
- )
- ACE_THROW_SPEC ((
- CORBA::SystemException
- ));
-
- virtual IR_ComponentDef_ptr managed_component (
- CORBA_Object *_collocated_tao_target_,
- CORBA::Environment &ACE_TRY_ENV
- )
- ACE_THROW_SPEC ((
- CORBA::SystemException
- ));
-
- virtual IR_PrimaryKeyDef_ptr primary_key (
- CORBA_Object *_collocated_tao_target_,
- CORBA::Environment &ACE_TRY_ENV
- )
- ACE_THROW_SPEC ((
- CORBA::SystemException
- ));
-
- virtual IR_FactoryDefSeq * factories (
- CORBA_Object *_collocated_tao_target_,
- CORBA::Environment &ACE_TRY_ENV
- )
- ACE_THROW_SPEC ((
- CORBA::SystemException
- ));
-
- virtual IR_FinderDefSeq * finders (
- CORBA_Object *_collocated_tao_target_,
- CORBA::Environment &ACE_TRY_ENV
- )
- ACE_THROW_SPEC ((
- CORBA::SystemException
- ));
-
- virtual CORBA::Boolean is_basic (
- CORBA_Object *_collocated_tao_target_,
- CORBA::Environment &ACE_TRY_ENV
- )
- ACE_THROW_SPEC ((
- CORBA::SystemException
- ));
-
- virtual IR_PrimaryKeyDef_ptr create_primary_key (
- CORBA_Object *_collocated_tao_target_,
- const char * id,
- const char * name,
- const char * version,
- IR_ValueDef_ptr primary_key,
- CORBA::Environment &ACE_TRY_ENV
- )
- ACE_THROW_SPEC ((
- CORBA::SystemException
- ));
-
- virtual IR_FactoryDef_ptr create_factory (
- CORBA_Object *_collocated_tao_target_,
- const char * id,
- const char * name,
- const char * version,
- const IR_ParDescriptionSeq & params,
- const IR_ExceptionDefSeq & exceptions,
- CORBA::Environment &ACE_TRY_ENV
- )
- ACE_THROW_SPEC ((
- CORBA::SystemException
- ));
-
- virtual IR_FinderDef_ptr create_finder (
- CORBA_Object *_collocated_tao_target_,
- const char * id,
- const char * name,
- const char * version,
- const IR_ParDescriptionSeq & params,
- const IR_ExceptionDefSeq & exceptions,
- CORBA::Environment &ACE_TRY_ENV
- )
- ACE_THROW_SPEC ((
- CORBA::SystemException
- ));
-
-};
-
-
-//
-// ThruPOA Proxy Impl. Declaration
-///////////////////////////////////////////////////////////////////////
-
-#if defined (ACE_HAS_USING_KEYWORD)
- // TIE class: Refer to CORBA v2.2, Section 20.34.4
- template <class T>
- class HomeDef_tie : public HomeDef
- {
- public:
- HomeDef_tie (T &t);
- // the T& ctor
- HomeDef_tie (T &t, PortableServer::POA_ptr poa);
- // ctor taking a POA
- HomeDef_tie (T *tp, CORBA::Boolean release=1);
- // ctor taking pointer and an ownership flag
- HomeDef_tie (T *tp, PortableServer::POA_ptr poa, CORBA::Boolean release=1);
- // ctor with T*, ownership flag and a POA
- ~HomeDef_tie (void);
- // dtor
-
- // TIE specific functions
- T *_tied_object (void);
- // return the underlying object
- void _tied_object (T &obj);
- // set the underlying object
- void _tied_object (T *obj, CORBA::Boolean release=1);
- // set the underlying object and the ownership flag
- CORBA::Boolean _is_owner (void);
- // do we own it
- void _is_owner (CORBA::Boolean b);
- // set the ownership
-
- // overridden ServantBase operations
- PortableServer::POA_ptr _default_POA (
- CORBA::Environment &env =
- TAO_default_environment ()
- );
- IR_HomeDef_ptr base_home (
- CORBA::Environment &ACE_TRY_ENV =
- TAO_default_environment ()
- )
- ACE_THROW_SPEC ((
- CORBA::SystemException
- ));
-
- IR_ComponentDef_ptr managed_component (
- CORBA::Environment &ACE_TRY_ENV =
- TAO_default_environment ()
- )
- ACE_THROW_SPEC ((
- CORBA::SystemException
- ));
-
- IR_PrimaryKeyDef_ptr primary_key (
- CORBA::Environment &ACE_TRY_ENV =
- TAO_default_environment ()
- )
- ACE_THROW_SPEC ((
- CORBA::SystemException
- ));
-
- IR_FactoryDefSeq * factories (
- CORBA::Environment &ACE_TRY_ENV =
- TAO_default_environment ()
- )
- ACE_THROW_SPEC ((
- CORBA::SystemException
- ));
-
- IR_FinderDefSeq * finders (
- CORBA::Environment &ACE_TRY_ENV =
- TAO_default_environment ()
- )
- ACE_THROW_SPEC ((
- CORBA::SystemException
- ));
-
- CORBA::Boolean is_basic (
- CORBA::Environment &ACE_TRY_ENV =
- TAO_default_environment ()
- )
- ACE_THROW_SPEC ((
- CORBA::SystemException
- ));
-
- IR_PrimaryKeyDef_ptr create_primary_key (
- const char * id,
- const char * name,
- const char * version,
- IR_ValueDef_ptr primary_key,
- CORBA::Environment &ACE_TRY_ENV =
- TAO_default_environment ()
- )
- ACE_THROW_SPEC ((
- CORBA::SystemException
- ));
-
- IR_FactoryDef_ptr create_factory (
- const char * id,
- const char * name,
- const char * version,
- const IR_ParDescriptionSeq & params,
- const IR_ExceptionDefSeq & exceptions,
- CORBA::Environment &ACE_TRY_ENV =
- TAO_default_environment ()
- )
- ACE_THROW_SPEC ((
- CORBA::SystemException
- ));
-
- IR_FinderDef_ptr create_finder (
- const char * id,
- const char * name,
- const char * version,
- const IR_ParDescriptionSeq & params,
- const IR_ExceptionDefSeq & exceptions,
- CORBA::Environment &ACE_TRY_ENV =
- TAO_default_environment ()
- )
- ACE_THROW_SPEC ((
- CORBA::SystemException
- ));
-
- IR_InterfaceDefSeq * base_interfaces (
- CORBA::Environment &ACE_TRY_ENV =
- TAO_default_environment ()
- )
- ACE_THROW_SPEC ((
- CORBA::SystemException
- ));
-
- void base_interfaces (
- const IR_InterfaceDefSeq & base_interfaces,
- CORBA::Environment &ACE_TRY_ENV =
- TAO_default_environment ()
- )
- ACE_THROW_SPEC ((
- CORBA::SystemException
- ));
-
- CORBA::Boolean is_abstract (
- CORBA::Environment &ACE_TRY_ENV =
- TAO_default_environment ()
- )
- ACE_THROW_SPEC ((
- CORBA::SystemException
- ));
-
- void is_abstract (
- CORBA::Boolean is_abstract,
- CORBA::Environment &ACE_TRY_ENV =
- TAO_default_environment ()
- )
- ACE_THROW_SPEC ((
- CORBA::SystemException
- ));
-
- CORBA::Boolean is_local (
- CORBA::Environment &ACE_TRY_ENV =
- TAO_default_environment ()
- )
- ACE_THROW_SPEC ((
- CORBA::SystemException
- ));
-
- void is_local (
- CORBA::Boolean is_local,
- CORBA::Environment &ACE_TRY_ENV =
- TAO_default_environment ()
- )
- ACE_THROW_SPEC ((
- CORBA::SystemException
- ));
-
- CORBA::Boolean is_a (
- const char * interface_id,
- CORBA::Environment &ACE_TRY_ENV =
- TAO_default_environment ()
- )
- ACE_THROW_SPEC ((
- CORBA::SystemException
- ));
-
- IR_AttributeDef_ptr create_attribute (
- const char * id,
- const char * name,
- const char * version,
- IR_IDLType_ptr type,
- IR_AttributeMode mode,
- const IR_ExceptionDefSeq & get_exceptions,
- const IR_ExceptionDefSeq & put_exceptions,
- CORBA::Environment &ACE_TRY_ENV =
- TAO_default_environment ()
- )
- ACE_THROW_SPEC ((
- CORBA::SystemException
- ));
-
- IR_OperationDef_ptr create_operation (
- const char * id,
- const char * name,
- const char * version,
- IR_IDLType_ptr result,
- IR_OperationMode mode,
- const IR_ParDescriptionSeq & params,
- const IR_ExceptionDefSeq & exceptions,
- const IR_ContextIdSeq & contexts,
- CORBA::Environment &ACE_TRY_ENV =
- TAO_default_environment ()
- )
- ACE_THROW_SPEC ((
- CORBA::SystemException
- ));
-
- IR_Contained_ptr lookup (
- const char * search_name,
- CORBA::Environment &ACE_TRY_ENV =
- TAO_default_environment ()
- )
- ACE_THROW_SPEC ((
- CORBA::SystemException
- ));
-
- IR_ContainedSeq * contents (
- IR_DefinitionKind limit_type,
- CORBA::Boolean exclude_inherited,
- CORBA::Environment &ACE_TRY_ENV =
- TAO_default_environment ()
- )
- ACE_THROW_SPEC ((
- CORBA::SystemException
- ));
-
- IR_ContainedSeq * lookup_name (
- const char * search_name,
- CORBA::Long levels_to_search,
- IR_DefinitionKind limit_type,
- CORBA::Boolean exclude_inherited,
- CORBA::Environment &ACE_TRY_ENV =
- TAO_default_environment ()
- )
- ACE_THROW_SPEC ((
- CORBA::SystemException
- ));
-
- IR_Container::DescriptionSeq * describe_contents (
- IR_DefinitionKind limit_type,
- CORBA::Boolean exclude_inherited,
- CORBA::Long max_returned_objs,
- CORBA::Environment &ACE_TRY_ENV =
- TAO_default_environment ()
- )
- ACE_THROW_SPEC ((
- CORBA::SystemException
- ));
-
- IR_ModuleDef_ptr create_module (
- const char * id,
- const char * name,
- const char * version,
- CORBA::Environment &ACE_TRY_ENV =
- TAO_default_environment ()
- )
- ACE_THROW_SPEC ((
- CORBA::SystemException
- ));
-
- IR_ConstantDef_ptr create_constant (
- const char * id,
- const char * name,
- const char * version,
- IR_IDLType_ptr type,
- const CORBA::Any & value,
- CORBA::Environment &ACE_TRY_ENV =
- TAO_default_environment ()
- )
- ACE_THROW_SPEC ((
- CORBA::SystemException
- ));
-
- IR_StructDef_ptr create_struct (
- const char * id,
- const char * name,
- const char * version,
- const IR_StructMemberSeq & members,
- CORBA::Environment &ACE_TRY_ENV =
- TAO_default_environment ()
- )
- ACE_THROW_SPEC ((
- CORBA::SystemException
- ));
-
- IR_UnionDef_ptr create_union (
- const char * id,
- const char * name,
- const char * version,
- IR_IDLType_ptr discriminator_type,
- const IR_UnionMemberSeq & members,
- CORBA::Environment &ACE_TRY_ENV =
- TAO_default_environment ()
- )
- ACE_THROW_SPEC ((
- CORBA::SystemException
- ));
-
- IR_EnumDef_ptr create_enum (
- const char * id,
- const char * name,
- const char * version,
- const IR_EnumMemberSeq & members,
- CORBA::Environment &ACE_TRY_ENV =
- TAO_default_environment ()
- )
- ACE_THROW_SPEC ((
- CORBA::SystemException
- ));
-
- IR_AliasDef_ptr create_alias (
- const char * id,
- const char * name,
- const char * version,
- IR_IDLType_ptr original_type,
- CORBA::Environment &ACE_TRY_ENV =
- TAO_default_environment ()
- )
- ACE_THROW_SPEC ((
- CORBA::SystemException
- ));
-
- IR_InterfaceDef_ptr create_interface (
- const char * id,
- const char * name,
- const char * version,
- const IR_InterfaceDefSeq & base_interfaces,
- CORBA::Boolean is_abstract,
- CORBA::Boolean is_local,
- CORBA::Environment &ACE_TRY_ENV =
- TAO_default_environment ()
- )
- ACE_THROW_SPEC ((
- CORBA::SystemException
- ));
-
- IR_ValueDef_ptr create_value (
- const char * id,
- const char * name,
- const char * version,
- CORBA::Boolean is_custom,
- CORBA::Boolean is_abstract,
- IR_ValueDef_ptr base_value,
- CORBA::Boolean is_truncatable,
- const IR_ValueDefSeq & abstract_base_values,
- const IR_InterfaceDefSeq & supported_interfaces,
- const IR_InitializerSeq & initializers,
- CORBA::Environment &ACE_TRY_ENV =
- TAO_default_environment ()
- )
- ACE_THROW_SPEC ((
- CORBA::SystemException
- ));
-
- IR_ValueBoxDef_ptr create_value_box (
- const char * id,
- const char * name,
- const char * version,
- IR_IDLType_ptr original_type_def,
- CORBA::Environment &ACE_TRY_ENV =
- TAO_default_environment ()
- )
- ACE_THROW_SPEC ((
- CORBA::SystemException
- ));
-
- IR_ExceptionDef_ptr create_exception (
- const char * id,
- const char * name,
- const char * version,
- const IR_StructMemberSeq & members,
- CORBA::Environment &ACE_TRY_ENV =
- TAO_default_environment ()
- )
- ACE_THROW_SPEC ((
- CORBA::SystemException
- ));
-
- IR_NativeDef_ptr create_native (
- const char * id,
- const char * name,
- const char * version,
- CORBA::Environment &ACE_TRY_ENV =
- TAO_default_environment ()
- )
- ACE_THROW_SPEC ((
- CORBA::SystemException
- ));
-
- char * id (
- CORBA::Environment &ACE_TRY_ENV =
- TAO_default_environment ()
- )
- ACE_THROW_SPEC ((
- CORBA::SystemException
- ));
-
- void id (
- const char * id,
- CORBA::Environment &ACE_TRY_ENV =
- TAO_default_environment ()
- )
- ACE_THROW_SPEC ((
- CORBA::SystemException
- ));
-
- char * name (
- CORBA::Environment &ACE_TRY_ENV =
- TAO_default_environment ()
- )
- ACE_THROW_SPEC ((
- CORBA::SystemException
- ));
-
- void name (
- const char * name,
- CORBA::Environment &ACE_TRY_ENV =
- TAO_default_environment ()
- )
- ACE_THROW_SPEC ((
- CORBA::SystemException
- ));
-
- char * version (
- CORBA::Environment &ACE_TRY_ENV =
- TAO_default_environment ()
- )
- ACE_THROW_SPEC ((
- CORBA::SystemException
- ));
-
- void version (
- const char * version,
- CORBA::Environment &ACE_TRY_ENV =
- TAO_default_environment ()
- )
- ACE_THROW_SPEC ((
- CORBA::SystemException
- ));
-
- IR_Container_ptr defined_in (
- CORBA::Environment &ACE_TRY_ENV =
- TAO_default_environment ()
- )
- ACE_THROW_SPEC ((
- CORBA::SystemException
- ));
-
- char * absolute_name (
- CORBA::Environment &ACE_TRY_ENV =
- TAO_default_environment ()
- )
- ACE_THROW_SPEC ((
- CORBA::SystemException
- ));
-
- IR_Repository_ptr containing_repository (
- CORBA::Environment &ACE_TRY_ENV =
- TAO_default_environment ()
- )
- ACE_THROW_SPEC ((
- CORBA::SystemException
- ));
-
- IR_Contained::Description * describe (
- CORBA::Environment &ACE_TRY_ENV =
- TAO_default_environment ()
- )
- ACE_THROW_SPEC ((
- CORBA::SystemException
- ));
-
- void move (
- IR_Container_ptr new_container,
- const char * new_name,
- const char * new_version,
- CORBA::Environment &ACE_TRY_ENV =
- TAO_default_environment ()
- )
- ACE_THROW_SPEC ((
- CORBA::SystemException
- ));
-
- CORBA::TypeCode_ptr type (
- CORBA::Environment &ACE_TRY_ENV =
- TAO_default_environment ()
- )
- ACE_THROW_SPEC ((
- CORBA::SystemException
- ));
-
- IR_DefinitionKind def_kind (
- CORBA::Environment &ACE_TRY_ENV =
- TAO_default_environment ()
- )
- ACE_THROW_SPEC ((
- CORBA::SystemException
- ));
-
- void destroy (
- CORBA::Environment &ACE_TRY_ENV =
- TAO_default_environment ()
- )
- ACE_THROW_SPEC ((
- CORBA::SystemException
- ));
-
-private:
- T *ptr_;
- PortableServer::POA_var poa_;
- CORBA::Boolean rel_;
-
- // copy and assignment are not allowed
- HomeDef_tie (const HomeDef_tie &);
- void operator= (const HomeDef_tie &);
- };
-
-#endif /* ACE_HAS_USING_KEYWORD */
-
-}
-TAO_NAMESPACE_CLOSE
-
-#include "InterfaceS_T.h"
-
-#if defined (__ACE_INLINE__)
-#include "InterfaceS.i"
-#endif /* defined INLINE */
-
-#if defined(_MSC_VER) && (_MSC_VER >= 1200)
-#pragma warning(pop)
-#endif /* _MSC_VER */
-
-#if defined (__BORLANDC__)
-#pragma option pop
-#endif /* __BORLANDC__ */
-
-#include "ace/post.h"
-#endif /* ifndef TAO_IDL_INTERFACES_H */
diff --git a/TAO/orbsvcs/IFR_Service/InterfaceS.i b/TAO/orbsvcs/IFR_Service/InterfaceS.i
deleted file mode 100644
index 0758eb58b50..00000000000
--- a/TAO/orbsvcs/IFR_Service/InterfaceS.i
+++ /dev/null
@@ -1,8725 +0,0 @@
-/* -*- C++ -*- */
-//$Id$
-
-// ****** Code generated by the The ACE ORB (TAO) IDL Compiler *******
-// TAO and the TAO IDL Compiler have been developed by the Center for
-// Distributed Object Computing at Washington University, St. Louis.
-//
-// Information about TAO is available at:
-// http://www.cs.wustl.edu/~schmidt/TAO.html
-
-ACE_INLINE void POA_IR::Contained::_get_def_kind_skel (
- TAO_ServerRequest &req,
- void *obj,
- void *context,
- CORBA::Environment &env
- )
-{
- POA_CORBA_IRObject_ptr impl = (POA_IR::Contained_ptr) obj;
- POA_CORBA_IRObject::_get_def_kind_skel (
- req,
- (POA_CORBA_IRObject_ptr) impl,
- context,
- env
- );
-}
-ACE_INLINE void POA_IR::Contained::destroy_skel (
- TAO_ServerRequest &req,
- void *obj,
- void *context,
- CORBA::Environment &env
- )
-{
- POA_CORBA_IRObject_ptr impl = (POA_IR::Contained_ptr) obj;
- POA_CORBA_IRObject::destroy_skel (
- req,
- (POA_CORBA_IRObject_ptr) impl,
- context,
- env
- );
-}
-ACE_INLINE void POA_IR::Container::_get_def_kind_skel (
- TAO_ServerRequest &req,
- void *obj,
- void *context,
- CORBA::Environment &env
- )
-{
- POA_CORBA_IRObject_ptr impl = (POA_IR::Container_ptr) obj;
- POA_CORBA_IRObject::_get_def_kind_skel (
- req,
- (POA_CORBA_IRObject_ptr) impl,
- context,
- env
- );
-}
-ACE_INLINE void POA_IR::Container::destroy_skel (
- TAO_ServerRequest &req,
- void *obj,
- void *context,
- CORBA::Environment &env
- )
-{
- POA_CORBA_IRObject_ptr impl = (POA_IR::Container_ptr) obj;
- POA_CORBA_IRObject::destroy_skel (
- req,
- (POA_CORBA_IRObject_ptr) impl,
- context,
- env
- );
-}
-ACE_INLINE void POA_IR::IDLType::_get_def_kind_skel (
- TAO_ServerRequest &req,
- void *obj,
- void *context,
- CORBA::Environment &env
- )
-{
- POA_CORBA_IRObject_ptr impl = (POA_IR::IDLType_ptr) obj;
- POA_CORBA_IRObject::_get_def_kind_skel (
- req,
- (POA_CORBA_IRObject_ptr) impl,
- context,
- env
- );
-}
-ACE_INLINE void POA_IR::IDLType::destroy_skel (
- TAO_ServerRequest &req,
- void *obj,
- void *context,
- CORBA::Environment &env
- )
-{
- POA_CORBA_IRObject_ptr impl = (POA_IR::IDLType_ptr) obj;
- POA_CORBA_IRObject::destroy_skel (
- req,
- (POA_CORBA_IRObject_ptr) impl,
- context,
- env
- );
-}
-ACE_INLINE void POA_IR::Repository::lookup_skel (
- TAO_ServerRequest &req,
- void *obj,
- void *context,
- CORBA::Environment &env
- )
-{
- POA_IR::Container_ptr impl = (POA_IR::Repository_ptr) obj;
- POA_IR::Container::lookup_skel (
- req,
- (POA_IR::Container_ptr) impl,
- context,
- env
- );
-}
-ACE_INLINE void POA_IR::Repository::contents_skel (
- TAO_ServerRequest &req,
- void *obj,
- void *context,
- CORBA::Environment &env
- )
-{
- POA_IR::Container_ptr impl = (POA_IR::Repository_ptr) obj;
- POA_IR::Container::contents_skel (
- req,
- (POA_IR::Container_ptr) impl,
- context,
- env
- );
-}
-ACE_INLINE void POA_IR::Repository::lookup_name_skel (
- TAO_ServerRequest &req,
- void *obj,
- void *context,
- CORBA::Environment &env
- )
-{
- POA_IR::Container_ptr impl = (POA_IR::Repository_ptr) obj;
- POA_IR::Container::lookup_name_skel (
- req,
- (POA_IR::Container_ptr) impl,
- context,
- env
- );
-}
-ACE_INLINE void POA_IR::Repository::describe_contents_skel (
- TAO_ServerRequest &req,
- void *obj,
- void *context,
- CORBA::Environment &env
- )
-{
- POA_IR::Container_ptr impl = (POA_IR::Repository_ptr) obj;
- POA_IR::Container::describe_contents_skel (
- req,
- (POA_IR::Container_ptr) impl,
- context,
- env
- );
-}
-ACE_INLINE void POA_IR::Repository::create_module_skel (
- TAO_ServerRequest &req,
- void *obj,
- void *context,
- CORBA::Environment &env
- )
-{
- POA_IR::Container_ptr impl = (POA_IR::Repository_ptr) obj;
- POA_IR::Container::create_module_skel (
- req,
- (POA_IR::Container_ptr) impl,
- context,
- env
- );
-}
-ACE_INLINE void POA_IR::Repository::create_constant_skel (
- TAO_ServerRequest &req,
- void *obj,
- void *context,
- CORBA::Environment &env
- )
-{
- POA_IR::Container_ptr impl = (POA_IR::Repository_ptr) obj;
- POA_IR::Container::create_constant_skel (
- req,
- (POA_IR::Container_ptr) impl,
- context,
- env
- );
-}
-ACE_INLINE void POA_IR::Repository::create_struct_skel (
- TAO_ServerRequest &req,
- void *obj,
- void *context,
- CORBA::Environment &env
- )
-{
- POA_IR::Container_ptr impl = (POA_IR::Repository_ptr) obj;
- POA_IR::Container::create_struct_skel (
- req,
- (POA_IR::Container_ptr) impl,
- context,
- env
- );
-}
-ACE_INLINE void POA_IR::Repository::create_union_skel (
- TAO_ServerRequest &req,
- void *obj,
- void *context,
- CORBA::Environment &env
- )
-{
- POA_IR::Container_ptr impl = (POA_IR::Repository_ptr) obj;
- POA_IR::Container::create_union_skel (
- req,
- (POA_IR::Container_ptr) impl,
- context,
- env
- );
-}
-ACE_INLINE void POA_IR::Repository::create_enum_skel (
- TAO_ServerRequest &req,
- void *obj,
- void *context,
- CORBA::Environment &env
- )
-{
- POA_IR::Container_ptr impl = (POA_IR::Repository_ptr) obj;
- POA_IR::Container::create_enum_skel (
- req,
- (POA_IR::Container_ptr) impl,
- context,
- env
- );
-}
-ACE_INLINE void POA_IR::Repository::create_alias_skel (
- TAO_ServerRequest &req,
- void *obj,
- void *context,
- CORBA::Environment &env
- )
-{
- POA_IR::Container_ptr impl = (POA_IR::Repository_ptr) obj;
- POA_IR::Container::create_alias_skel (
- req,
- (POA_IR::Container_ptr) impl,
- context,
- env
- );
-}
-ACE_INLINE void POA_IR::Repository::create_interface_skel (
- TAO_ServerRequest &req,
- void *obj,
- void *context,
- CORBA::Environment &env
- )
-{
- POA_IR::Container_ptr impl = (POA_IR::Repository_ptr) obj;
- POA_IR::Container::create_interface_skel (
- req,
- (POA_IR::Container_ptr) impl,
- context,
- env
- );
-}
-ACE_INLINE void POA_IR::Repository::create_value_skel (
- TAO_ServerRequest &req,
- void *obj,
- void *context,
- CORBA::Environment &env
- )
-{
- POA_IR::Container_ptr impl = (POA_IR::Repository_ptr) obj;
- POA_IR::Container::create_value_skel (
- req,
- (POA_IR::Container_ptr) impl,
- context,
- env
- );
-}
-ACE_INLINE void POA_IR::Repository::create_value_box_skel (
- TAO_ServerRequest &req,
- void *obj,
- void *context,
- CORBA::Environment &env
- )
-{
- POA_IR::Container_ptr impl = (POA_IR::Repository_ptr) obj;
- POA_IR::Container::create_value_box_skel (
- req,
- (POA_IR::Container_ptr) impl,
- context,
- env
- );
-}
-ACE_INLINE void POA_IR::Repository::create_exception_skel (
- TAO_ServerRequest &req,
- void *obj,
- void *context,
- CORBA::Environment &env
- )
-{
- POA_IR::Container_ptr impl = (POA_IR::Repository_ptr) obj;
- POA_IR::Container::create_exception_skel (
- req,
- (POA_IR::Container_ptr) impl,
- context,
- env
- );
-}
-ACE_INLINE void POA_IR::Repository::create_native_skel (
- TAO_ServerRequest &req,
- void *obj,
- void *context,
- CORBA::Environment &env
- )
-{
- POA_IR::Container_ptr impl = (POA_IR::Repository_ptr) obj;
- POA_IR::Container::create_native_skel (
- req,
- (POA_IR::Container_ptr) impl,
- context,
- env
- );
-}
-ACE_INLINE void POA_IR::Repository::_get_def_kind_skel (
- TAO_ServerRequest &req,
- void *obj,
- void *context,
- CORBA::Environment &env
- )
-{
- POA_CORBA_IRObject_ptr impl = (POA_IR::Repository_ptr) obj;
- POA_CORBA_IRObject::_get_def_kind_skel (
- req,
- (POA_CORBA_IRObject_ptr) impl,
- context,
- env
- );
-}
-ACE_INLINE void POA_IR::Repository::destroy_skel (
- TAO_ServerRequest &req,
- void *obj,
- void *context,
- CORBA::Environment &env
- )
-{
- POA_CORBA_IRObject_ptr impl = (POA_IR::Repository_ptr) obj;
- POA_CORBA_IRObject::destroy_skel (
- req,
- (POA_CORBA_IRObject_ptr) impl,
- context,
- env
- );
-}
-ACE_INLINE void POA_IR::ComponentRepository::lookup_id_skel (
- TAO_ServerRequest &req,
- void *obj,
- void *context,
- CORBA::Environment &env
- )
-{
- POA_IR::Repository_ptr impl = (POA_IR::ComponentRepository_ptr) obj;
- POA_IR::Repository::lookup_id_skel (
- req,
- (POA_IR::Repository_ptr) impl,
- context,
- env
- );
-}
-ACE_INLINE void POA_IR::ComponentRepository::get_canonical_typecode_skel (
- TAO_ServerRequest &req,
- void *obj,
- void *context,
- CORBA::Environment &env
- )
-{
- POA_IR::Repository_ptr impl = (POA_IR::ComponentRepository_ptr) obj;
- POA_IR::Repository::get_canonical_typecode_skel (
- req,
- (POA_IR::Repository_ptr) impl,
- context,
- env
- );
-}
-ACE_INLINE void POA_IR::ComponentRepository::get_primitive_skel (
- TAO_ServerRequest &req,
- void *obj,
- void *context,
- CORBA::Environment &env
- )
-{
- POA_IR::Repository_ptr impl = (POA_IR::ComponentRepository_ptr) obj;
- POA_IR::Repository::get_primitive_skel (
- req,
- (POA_IR::Repository_ptr) impl,
- context,
- env
- );
-}
-ACE_INLINE void POA_IR::ComponentRepository::create_string_skel (
- TAO_ServerRequest &req,
- void *obj,
- void *context,
- CORBA::Environment &env
- )
-{
- POA_IR::Repository_ptr impl = (POA_IR::ComponentRepository_ptr) obj;
- POA_IR::Repository::create_string_skel (
- req,
- (POA_IR::Repository_ptr) impl,
- context,
- env
- );
-}
-ACE_INLINE void POA_IR::ComponentRepository::create_wstring_skel (
- TAO_ServerRequest &req,
- void *obj,
- void *context,
- CORBA::Environment &env
- )
-{
- POA_IR::Repository_ptr impl = (POA_IR::ComponentRepository_ptr) obj;
- POA_IR::Repository::create_wstring_skel (
- req,
- (POA_IR::Repository_ptr) impl,
- context,
- env
- );
-}
-ACE_INLINE void POA_IR::ComponentRepository::create_sequence_skel (
- TAO_ServerRequest &req,
- void *obj,
- void *context,
- CORBA::Environment &env
- )
-{
- POA_IR::Repository_ptr impl = (POA_IR::ComponentRepository_ptr) obj;
- POA_IR::Repository::create_sequence_skel (
- req,
- (POA_IR::Repository_ptr) impl,
- context,
- env
- );
-}
-ACE_INLINE void POA_IR::ComponentRepository::create_array_skel (
- TAO_ServerRequest &req,
- void *obj,
- void *context,
- CORBA::Environment &env
- )
-{
- POA_IR::Repository_ptr impl = (POA_IR::ComponentRepository_ptr) obj;
- POA_IR::Repository::create_array_skel (
- req,
- (POA_IR::Repository_ptr) impl,
- context,
- env
- );
-}
-ACE_INLINE void POA_IR::ComponentRepository::create_fixed_skel (
- TAO_ServerRequest &req,
- void *obj,
- void *context,
- CORBA::Environment &env
- )
-{
- POA_IR::Repository_ptr impl = (POA_IR::ComponentRepository_ptr) obj;
- POA_IR::Repository::create_fixed_skel (
- req,
- (POA_IR::Repository_ptr) impl,
- context,
- env
- );
-}
-ACE_INLINE void POA_IR::ComponentRepository::lookup_skel (
- TAO_ServerRequest &req,
- void *obj,
- void *context,
- CORBA::Environment &env
- )
-{
- POA_IR::Container_ptr impl = (POA_IR::ComponentRepository_ptr) obj;
- POA_IR::Container::lookup_skel (
- req,
- (POA_IR::Container_ptr) impl,
- context,
- env
- );
-}
-ACE_INLINE void POA_IR::ComponentRepository::contents_skel (
- TAO_ServerRequest &req,
- void *obj,
- void *context,
- CORBA::Environment &env
- )
-{
- POA_IR::Container_ptr impl = (POA_IR::ComponentRepository_ptr) obj;
- POA_IR::Container::contents_skel (
- req,
- (POA_IR::Container_ptr) impl,
- context,
- env
- );
-}
-ACE_INLINE void POA_IR::ComponentRepository::lookup_name_skel (
- TAO_ServerRequest &req,
- void *obj,
- void *context,
- CORBA::Environment &env
- )
-{
- POA_IR::Container_ptr impl = (POA_IR::ComponentRepository_ptr) obj;
- POA_IR::Container::lookup_name_skel (
- req,
- (POA_IR::Container_ptr) impl,
- context,
- env
- );
-}
-ACE_INLINE void POA_IR::ComponentRepository::describe_contents_skel (
- TAO_ServerRequest &req,
- void *obj,
- void *context,
- CORBA::Environment &env
- )
-{
- POA_IR::Container_ptr impl = (POA_IR::ComponentRepository_ptr) obj;
- POA_IR::Container::describe_contents_skel (
- req,
- (POA_IR::Container_ptr) impl,
- context,
- env
- );
-}
-ACE_INLINE void POA_IR::ComponentRepository::create_module_skel (
- TAO_ServerRequest &req,
- void *obj,
- void *context,
- CORBA::Environment &env
- )
-{
- POA_IR::Container_ptr impl = (POA_IR::ComponentRepository_ptr) obj;
- POA_IR::Container::create_module_skel (
- req,
- (POA_IR::Container_ptr) impl,
- context,
- env
- );
-}
-ACE_INLINE void POA_IR::ComponentRepository::create_constant_skel (
- TAO_ServerRequest &req,
- void *obj,
- void *context,
- CORBA::Environment &env
- )
-{
- POA_IR::Container_ptr impl = (POA_IR::ComponentRepository_ptr) obj;
- POA_IR::Container::create_constant_skel (
- req,
- (POA_IR::Container_ptr) impl,
- context,
- env
- );
-}
-ACE_INLINE void POA_IR::ComponentRepository::create_struct_skel (
- TAO_ServerRequest &req,
- void *obj,
- void *context,
- CORBA::Environment &env
- )
-{
- POA_IR::Container_ptr impl = (POA_IR::ComponentRepository_ptr) obj;
- POA_IR::Container::create_struct_skel (
- req,
- (POA_IR::Container_ptr) impl,
- context,
- env
- );
-}
-ACE_INLINE void POA_IR::ComponentRepository::create_union_skel (
- TAO_ServerRequest &req,
- void *obj,
- void *context,
- CORBA::Environment &env
- )
-{
- POA_IR::Container_ptr impl = (POA_IR::ComponentRepository_ptr) obj;
- POA_IR::Container::create_union_skel (
- req,
- (POA_IR::Container_ptr) impl,
- context,
- env
- );
-}
-ACE_INLINE void POA_IR::ComponentRepository::create_enum_skel (
- TAO_ServerRequest &req,
- void *obj,
- void *context,
- CORBA::Environment &env
- )
-{
- POA_IR::Container_ptr impl = (POA_IR::ComponentRepository_ptr) obj;
- POA_IR::Container::create_enum_skel (
- req,
- (POA_IR::Container_ptr) impl,
- context,
- env
- );
-}
-ACE_INLINE void POA_IR::ComponentRepository::create_alias_skel (
- TAO_ServerRequest &req,
- void *obj,
- void *context,
- CORBA::Environment &env
- )
-{
- POA_IR::Container_ptr impl = (POA_IR::ComponentRepository_ptr) obj;
- POA_IR::Container::create_alias_skel (
- req,
- (POA_IR::Container_ptr) impl,
- context,
- env
- );
-}
-ACE_INLINE void POA_IR::ComponentRepository::create_interface_skel (
- TAO_ServerRequest &req,
- void *obj,
- void *context,
- CORBA::Environment &env
- )
-{
- POA_IR::Container_ptr impl = (POA_IR::ComponentRepository_ptr) obj;
- POA_IR::Container::create_interface_skel (
- req,
- (POA_IR::Container_ptr) impl,
- context,
- env
- );
-}
-ACE_INLINE void POA_IR::ComponentRepository::create_value_skel (
- TAO_ServerRequest &req,
- void *obj,
- void *context,
- CORBA::Environment &env
- )
-{
- POA_IR::Container_ptr impl = (POA_IR::ComponentRepository_ptr) obj;
- POA_IR::Container::create_value_skel (
- req,
- (POA_IR::Container_ptr) impl,
- context,
- env
- );
-}
-ACE_INLINE void POA_IR::ComponentRepository::create_value_box_skel (
- TAO_ServerRequest &req,
- void *obj,
- void *context,
- CORBA::Environment &env
- )
-{
- POA_IR::Container_ptr impl = (POA_IR::ComponentRepository_ptr) obj;
- POA_IR::Container::create_value_box_skel (
- req,
- (POA_IR::Container_ptr) impl,
- context,
- env
- );
-}
-ACE_INLINE void POA_IR::ComponentRepository::create_exception_skel (
- TAO_ServerRequest &req,
- void *obj,
- void *context,
- CORBA::Environment &env
- )
-{
- POA_IR::Container_ptr impl = (POA_IR::ComponentRepository_ptr) obj;
- POA_IR::Container::create_exception_skel (
- req,
- (POA_IR::Container_ptr) impl,
- context,
- env
- );
-}
-ACE_INLINE void POA_IR::ComponentRepository::create_native_skel (
- TAO_ServerRequest &req,
- void *obj,
- void *context,
- CORBA::Environment &env
- )
-{
- POA_IR::Container_ptr impl = (POA_IR::ComponentRepository_ptr) obj;
- POA_IR::Container::create_native_skel (
- req,
- (POA_IR::Container_ptr) impl,
- context,
- env
- );
-}
-ACE_INLINE void POA_IR::ComponentRepository::_get_def_kind_skel (
- TAO_ServerRequest &req,
- void *obj,
- void *context,
- CORBA::Environment &env
- )
-{
- POA_CORBA_IRObject_ptr impl = (POA_IR::ComponentRepository_ptr) obj;
- POA_CORBA_IRObject::_get_def_kind_skel (
- req,
- (POA_CORBA_IRObject_ptr) impl,
- context,
- env
- );
-}
-ACE_INLINE void POA_IR::ComponentRepository::destroy_skel (
- TAO_ServerRequest &req,
- void *obj,
- void *context,
- CORBA::Environment &env
- )
-{
- POA_CORBA_IRObject_ptr impl = (POA_IR::ComponentRepository_ptr) obj;
- POA_CORBA_IRObject::destroy_skel (
- req,
- (POA_CORBA_IRObject_ptr) impl,
- context,
- env
- );
-}
-ACE_INLINE void POA_IR::ModuleDef::lookup_skel (
- TAO_ServerRequest &req,
- void *obj,
- void *context,
- CORBA::Environment &env
- )
-{
- POA_IR::Container_ptr impl = (POA_IR::ModuleDef_ptr) obj;
- POA_IR::Container::lookup_skel (
- req,
- (POA_IR::Container_ptr) impl,
- context,
- env
- );
-}
-ACE_INLINE void POA_IR::ModuleDef::contents_skel (
- TAO_ServerRequest &req,
- void *obj,
- void *context,
- CORBA::Environment &env
- )
-{
- POA_IR::Container_ptr impl = (POA_IR::ModuleDef_ptr) obj;
- POA_IR::Container::contents_skel (
- req,
- (POA_IR::Container_ptr) impl,
- context,
- env
- );
-}
-ACE_INLINE void POA_IR::ModuleDef::lookup_name_skel (
- TAO_ServerRequest &req,
- void *obj,
- void *context,
- CORBA::Environment &env
- )
-{
- POA_IR::Container_ptr impl = (POA_IR::ModuleDef_ptr) obj;
- POA_IR::Container::lookup_name_skel (
- req,
- (POA_IR::Container_ptr) impl,
- context,
- env
- );
-}
-ACE_INLINE void POA_IR::ModuleDef::describe_contents_skel (
- TAO_ServerRequest &req,
- void *obj,
- void *context,
- CORBA::Environment &env
- )
-{
- POA_IR::Container_ptr impl = (POA_IR::ModuleDef_ptr) obj;
- POA_IR::Container::describe_contents_skel (
- req,
- (POA_IR::Container_ptr) impl,
- context,
- env
- );
-}
-ACE_INLINE void POA_IR::ModuleDef::create_module_skel (
- TAO_ServerRequest &req,
- void *obj,
- void *context,
- CORBA::Environment &env
- )
-{
- POA_IR::Container_ptr impl = (POA_IR::ModuleDef_ptr) obj;
- POA_IR::Container::create_module_skel (
- req,
- (POA_IR::Container_ptr) impl,
- context,
- env
- );
-}
-ACE_INLINE void POA_IR::ModuleDef::create_constant_skel (
- TAO_ServerRequest &req,
- void *obj,
- void *context,
- CORBA::Environment &env
- )
-{
- POA_IR::Container_ptr impl = (POA_IR::ModuleDef_ptr) obj;
- POA_IR::Container::create_constant_skel (
- req,
- (POA_IR::Container_ptr) impl,
- context,
- env
- );
-}
-ACE_INLINE void POA_IR::ModuleDef::create_struct_skel (
- TAO_ServerRequest &req,
- void *obj,
- void *context,
- CORBA::Environment &env
- )
-{
- POA_IR::Container_ptr impl = (POA_IR::ModuleDef_ptr) obj;
- POA_IR::Container::create_struct_skel (
- req,
- (POA_IR::Container_ptr) impl,
- context,
- env
- );
-}
-ACE_INLINE void POA_IR::ModuleDef::create_union_skel (
- TAO_ServerRequest &req,
- void *obj,
- void *context,
- CORBA::Environment &env
- )
-{
- POA_IR::Container_ptr impl = (POA_IR::ModuleDef_ptr) obj;
- POA_IR::Container::create_union_skel (
- req,
- (POA_IR::Container_ptr) impl,
- context,
- env
- );
-}
-ACE_INLINE void POA_IR::ModuleDef::create_enum_skel (
- TAO_ServerRequest &req,
- void *obj,
- void *context,
- CORBA::Environment &env
- )
-{
- POA_IR::Container_ptr impl = (POA_IR::ModuleDef_ptr) obj;
- POA_IR::Container::create_enum_skel (
- req,
- (POA_IR::Container_ptr) impl,
- context,
- env
- );
-}
-ACE_INLINE void POA_IR::ModuleDef::create_alias_skel (
- TAO_ServerRequest &req,
- void *obj,
- void *context,
- CORBA::Environment &env
- )
-{
- POA_IR::Container_ptr impl = (POA_IR::ModuleDef_ptr) obj;
- POA_IR::Container::create_alias_skel (
- req,
- (POA_IR::Container_ptr) impl,
- context,
- env
- );
-}
-ACE_INLINE void POA_IR::ModuleDef::create_interface_skel (
- TAO_ServerRequest &req,
- void *obj,
- void *context,
- CORBA::Environment &env
- )
-{
- POA_IR::Container_ptr impl = (POA_IR::ModuleDef_ptr) obj;
- POA_IR::Container::create_interface_skel (
- req,
- (POA_IR::Container_ptr) impl,
- context,
- env
- );
-}
-ACE_INLINE void POA_IR::ModuleDef::create_value_skel (
- TAO_ServerRequest &req,
- void *obj,
- void *context,
- CORBA::Environment &env
- )
-{
- POA_IR::Container_ptr impl = (POA_IR::ModuleDef_ptr) obj;
- POA_IR::Container::create_value_skel (
- req,
- (POA_IR::Container_ptr) impl,
- context,
- env
- );
-}
-ACE_INLINE void POA_IR::ModuleDef::create_value_box_skel (
- TAO_ServerRequest &req,
- void *obj,
- void *context,
- CORBA::Environment &env
- )
-{
- POA_IR::Container_ptr impl = (POA_IR::ModuleDef_ptr) obj;
- POA_IR::Container::create_value_box_skel (
- req,
- (POA_IR::Container_ptr) impl,
- context,
- env
- );
-}
-ACE_INLINE void POA_IR::ModuleDef::create_exception_skel (
- TAO_ServerRequest &req,
- void *obj,
- void *context,
- CORBA::Environment &env
- )
-{
- POA_IR::Container_ptr impl = (POA_IR::ModuleDef_ptr) obj;
- POA_IR::Container::create_exception_skel (
- req,
- (POA_IR::Container_ptr) impl,
- context,
- env
- );
-}
-ACE_INLINE void POA_IR::ModuleDef::create_native_skel (
- TAO_ServerRequest &req,
- void *obj,
- void *context,
- CORBA::Environment &env
- )
-{
- POA_IR::Container_ptr impl = (POA_IR::ModuleDef_ptr) obj;
- POA_IR::Container::create_native_skel (
- req,
- (POA_IR::Container_ptr) impl,
- context,
- env
- );
-}
-ACE_INLINE void POA_IR::ModuleDef::_get_id_skel (
- TAO_ServerRequest &req,
- void *obj,
- void *context,
- CORBA::Environment &env
- )
-{
- POA_IR::Contained_ptr impl = (POA_IR::ModuleDef_ptr) obj;
- POA_IR::Contained::_get_id_skel (
- req,
- (POA_IR::Contained_ptr) impl,
- context,
- env
- );
-}
-ACE_INLINE void POA_IR::ModuleDef::_set_id_skel (
- TAO_ServerRequest &req,
- void *obj,
- void *context,
- CORBA::Environment &env
- )
-{
- POA_IR::Contained_ptr impl = (POA_IR::ModuleDef_ptr) obj;
- POA_IR::Contained::_set_id_skel (
- req,
- (POA_IR::Contained_ptr) impl,
- context,
- env
- );
-}
-ACE_INLINE void POA_IR::ModuleDef::_get_name_skel (
- TAO_ServerRequest &req,
- void *obj,
- void *context,
- CORBA::Environment &env
- )
-{
- POA_IR::Contained_ptr impl = (POA_IR::ModuleDef_ptr) obj;
- POA_IR::Contained::_get_name_skel (
- req,
- (POA_IR::Contained_ptr) impl,
- context,
- env
- );
-}
-ACE_INLINE void POA_IR::ModuleDef::_set_name_skel (
- TAO_ServerRequest &req,
- void *obj,
- void *context,
- CORBA::Environment &env
- )
-{
- POA_IR::Contained_ptr impl = (POA_IR::ModuleDef_ptr) obj;
- POA_IR::Contained::_set_name_skel (
- req,
- (POA_IR::Contained_ptr) impl,
- context,
- env
- );
-}
-ACE_INLINE void POA_IR::ModuleDef::_get_version_skel (
- TAO_ServerRequest &req,
- void *obj,
- void *context,
- CORBA::Environment &env
- )
-{
- POA_IR::Contained_ptr impl = (POA_IR::ModuleDef_ptr) obj;
- POA_IR::Contained::_get_version_skel (
- req,
- (POA_IR::Contained_ptr) impl,
- context,
- env
- );
-}
-ACE_INLINE void POA_IR::ModuleDef::_set_version_skel (
- TAO_ServerRequest &req,
- void *obj,
- void *context,
- CORBA::Environment &env
- )
-{
- POA_IR::Contained_ptr impl = (POA_IR::ModuleDef_ptr) obj;
- POA_IR::Contained::_set_version_skel (
- req,
- (POA_IR::Contained_ptr) impl,
- context,
- env
- );
-}
-ACE_INLINE void POA_IR::ModuleDef::_get_defined_in_skel (
- TAO_ServerRequest &req,
- void *obj,
- void *context,
- CORBA::Environment &env
- )
-{
- POA_IR::Contained_ptr impl = (POA_IR::ModuleDef_ptr) obj;
- POA_IR::Contained::_get_defined_in_skel (
- req,
- (POA_IR::Contained_ptr) impl,
- context,
- env
- );
-}
-ACE_INLINE void POA_IR::ModuleDef::_get_absolute_name_skel (
- TAO_ServerRequest &req,
- void *obj,
- void *context,
- CORBA::Environment &env
- )
-{
- POA_IR::Contained_ptr impl = (POA_IR::ModuleDef_ptr) obj;
- POA_IR::Contained::_get_absolute_name_skel (
- req,
- (POA_IR::Contained_ptr) impl,
- context,
- env
- );
-}
-ACE_INLINE void POA_IR::ModuleDef::_get_containing_repository_skel (
- TAO_ServerRequest &req,
- void *obj,
- void *context,
- CORBA::Environment &env
- )
-{
- POA_IR::Contained_ptr impl = (POA_IR::ModuleDef_ptr) obj;
- POA_IR::Contained::_get_containing_repository_skel (
- req,
- (POA_IR::Contained_ptr) impl,
- context,
- env
- );
-}
-ACE_INLINE void POA_IR::ModuleDef::describe_skel (
- TAO_ServerRequest &req,
- void *obj,
- void *context,
- CORBA::Environment &env
- )
-{
- POA_IR::Contained_ptr impl = (POA_IR::ModuleDef_ptr) obj;
- POA_IR::Contained::describe_skel (
- req,
- (POA_IR::Contained_ptr) impl,
- context,
- env
- );
-}
-ACE_INLINE void POA_IR::ModuleDef::move_skel (
- TAO_ServerRequest &req,
- void *obj,
- void *context,
- CORBA::Environment &env
- )
-{
- POA_IR::Contained_ptr impl = (POA_IR::ModuleDef_ptr) obj;
- POA_IR::Contained::move_skel (
- req,
- (POA_IR::Contained_ptr) impl,
- context,
- env
- );
-}
-ACE_INLINE void POA_IR::ModuleDef::_get_def_kind_skel (
- TAO_ServerRequest &req,
- void *obj,
- void *context,
- CORBA::Environment &env
- )
-{
- POA_CORBA_IRObject_ptr impl = (POA_IR::ModuleDef_ptr) obj;
- POA_CORBA_IRObject::_get_def_kind_skel (
- req,
- (POA_CORBA_IRObject_ptr) impl,
- context,
- env
- );
-}
-ACE_INLINE void POA_IR::ModuleDef::destroy_skel (
- TAO_ServerRequest &req,
- void *obj,
- void *context,
- CORBA::Environment &env
- )
-{
- POA_CORBA_IRObject_ptr impl = (POA_IR::ModuleDef_ptr) obj;
- POA_CORBA_IRObject::destroy_skel (
- req,
- (POA_CORBA_IRObject_ptr) impl,
- context,
- env
- );
-}
-ACE_INLINE void POA_IR::ConstantDef::_get_id_skel (
- TAO_ServerRequest &req,
- void *obj,
- void *context,
- CORBA::Environment &env
- )
-{
- POA_IR::Contained_ptr impl = (POA_IR::ConstantDef_ptr) obj;
- POA_IR::Contained::_get_id_skel (
- req,
- (POA_IR::Contained_ptr) impl,
- context,
- env
- );
-}
-ACE_INLINE void POA_IR::ConstantDef::_set_id_skel (
- TAO_ServerRequest &req,
- void *obj,
- void *context,
- CORBA::Environment &env
- )
-{
- POA_IR::Contained_ptr impl = (POA_IR::ConstantDef_ptr) obj;
- POA_IR::Contained::_set_id_skel (
- req,
- (POA_IR::Contained_ptr) impl,
- context,
- env
- );
-}
-ACE_INLINE void POA_IR::ConstantDef::_get_name_skel (
- TAO_ServerRequest &req,
- void *obj,
- void *context,
- CORBA::Environment &env
- )
-{
- POA_IR::Contained_ptr impl = (POA_IR::ConstantDef_ptr) obj;
- POA_IR::Contained::_get_name_skel (
- req,
- (POA_IR::Contained_ptr) impl,
- context,
- env
- );
-}
-ACE_INLINE void POA_IR::ConstantDef::_set_name_skel (
- TAO_ServerRequest &req,
- void *obj,
- void *context,
- CORBA::Environment &env
- )
-{
- POA_IR::Contained_ptr impl = (POA_IR::ConstantDef_ptr) obj;
- POA_IR::Contained::_set_name_skel (
- req,
- (POA_IR::Contained_ptr) impl,
- context,
- env
- );
-}
-ACE_INLINE void POA_IR::ConstantDef::_get_version_skel (
- TAO_ServerRequest &req,
- void *obj,
- void *context,
- CORBA::Environment &env
- )
-{
- POA_IR::Contained_ptr impl = (POA_IR::ConstantDef_ptr) obj;
- POA_IR::Contained::_get_version_skel (
- req,
- (POA_IR::Contained_ptr) impl,
- context,
- env
- );
-}
-ACE_INLINE void POA_IR::ConstantDef::_set_version_skel (
- TAO_ServerRequest &req,
- void *obj,
- void *context,
- CORBA::Environment &env
- )
-{
- POA_IR::Contained_ptr impl = (POA_IR::ConstantDef_ptr) obj;
- POA_IR::Contained::_set_version_skel (
- req,
- (POA_IR::Contained_ptr) impl,
- context,
- env
- );
-}
-ACE_INLINE void POA_IR::ConstantDef::_get_defined_in_skel (
- TAO_ServerRequest &req,
- void *obj,
- void *context,
- CORBA::Environment &env
- )
-{
- POA_IR::Contained_ptr impl = (POA_IR::ConstantDef_ptr) obj;
- POA_IR::Contained::_get_defined_in_skel (
- req,
- (POA_IR::Contained_ptr) impl,
- context,
- env
- );
-}
-ACE_INLINE void POA_IR::ConstantDef::_get_absolute_name_skel (
- TAO_ServerRequest &req,
- void *obj,
- void *context,
- CORBA::Environment &env
- )
-{
- POA_IR::Contained_ptr impl = (POA_IR::ConstantDef_ptr) obj;
- POA_IR::Contained::_get_absolute_name_skel (
- req,
- (POA_IR::Contained_ptr) impl,
- context,
- env
- );
-}
-ACE_INLINE void POA_IR::ConstantDef::_get_containing_repository_skel (
- TAO_ServerRequest &req,
- void *obj,
- void *context,
- CORBA::Environment &env
- )
-{
- POA_IR::Contained_ptr impl = (POA_IR::ConstantDef_ptr) obj;
- POA_IR::Contained::_get_containing_repository_skel (
- req,
- (POA_IR::Contained_ptr) impl,
- context,
- env
- );
-}
-ACE_INLINE void POA_IR::ConstantDef::describe_skel (
- TAO_ServerRequest &req,
- void *obj,
- void *context,
- CORBA::Environment &env
- )
-{
- POA_IR::Contained_ptr impl = (POA_IR::ConstantDef_ptr) obj;
- POA_IR::Contained::describe_skel (
- req,
- (POA_IR::Contained_ptr) impl,
- context,
- env
- );
-}
-ACE_INLINE void POA_IR::ConstantDef::move_skel (
- TAO_ServerRequest &req,
- void *obj,
- void *context,
- CORBA::Environment &env
- )
-{
- POA_IR::Contained_ptr impl = (POA_IR::ConstantDef_ptr) obj;
- POA_IR::Contained::move_skel (
- req,
- (POA_IR::Contained_ptr) impl,
- context,
- env
- );
-}
-ACE_INLINE void POA_IR::ConstantDef::_get_def_kind_skel (
- TAO_ServerRequest &req,
- void *obj,
- void *context,
- CORBA::Environment &env
- )
-{
- POA_CORBA_IRObject_ptr impl = (POA_IR::ConstantDef_ptr) obj;
- POA_CORBA_IRObject::_get_def_kind_skel (
- req,
- (POA_CORBA_IRObject_ptr) impl,
- context,
- env
- );
-}
-ACE_INLINE void POA_IR::ConstantDef::destroy_skel (
- TAO_ServerRequest &req,
- void *obj,
- void *context,
- CORBA::Environment &env
- )
-{
- POA_CORBA_IRObject_ptr impl = (POA_IR::ConstantDef_ptr) obj;
- POA_CORBA_IRObject::destroy_skel (
- req,
- (POA_CORBA_IRObject_ptr) impl,
- context,
- env
- );
-}
-ACE_INLINE void POA_IR::TypedefDef::_get_id_skel (
- TAO_ServerRequest &req,
- void *obj,
- void *context,
- CORBA::Environment &env
- )
-{
- POA_IR::Contained_ptr impl = (POA_IR::TypedefDef_ptr) obj;
- POA_IR::Contained::_get_id_skel (
- req,
- (POA_IR::Contained_ptr) impl,
- context,
- env
- );
-}
-ACE_INLINE void POA_IR::TypedefDef::_set_id_skel (
- TAO_ServerRequest &req,
- void *obj,
- void *context,
- CORBA::Environment &env
- )
-{
- POA_IR::Contained_ptr impl = (POA_IR::TypedefDef_ptr) obj;
- POA_IR::Contained::_set_id_skel (
- req,
- (POA_IR::Contained_ptr) impl,
- context,
- env
- );
-}
-ACE_INLINE void POA_IR::TypedefDef::_get_name_skel (
- TAO_ServerRequest &req,
- void *obj,
- void *context,
- CORBA::Environment &env
- )
-{
- POA_IR::Contained_ptr impl = (POA_IR::TypedefDef_ptr) obj;
- POA_IR::Contained::_get_name_skel (
- req,
- (POA_IR::Contained_ptr) impl,
- context,
- env
- );
-}
-ACE_INLINE void POA_IR::TypedefDef::_set_name_skel (
- TAO_ServerRequest &req,
- void *obj,
- void *context,
- CORBA::Environment &env
- )
-{
- POA_IR::Contained_ptr impl = (POA_IR::TypedefDef_ptr) obj;
- POA_IR::Contained::_set_name_skel (
- req,
- (POA_IR::Contained_ptr) impl,
- context,
- env
- );
-}
-ACE_INLINE void POA_IR::TypedefDef::_get_version_skel (
- TAO_ServerRequest &req,
- void *obj,
- void *context,
- CORBA::Environment &env
- )
-{
- POA_IR::Contained_ptr impl = (POA_IR::TypedefDef_ptr) obj;
- POA_IR::Contained::_get_version_skel (
- req,
- (POA_IR::Contained_ptr) impl,
- context,
- env
- );
-}
-ACE_INLINE void POA_IR::TypedefDef::_set_version_skel (
- TAO_ServerRequest &req,
- void *obj,
- void *context,
- CORBA::Environment &env
- )
-{
- POA_IR::Contained_ptr impl = (POA_IR::TypedefDef_ptr) obj;
- POA_IR::Contained::_set_version_skel (
- req,
- (POA_IR::Contained_ptr) impl,
- context,
- env
- );
-}
-ACE_INLINE void POA_IR::TypedefDef::_get_defined_in_skel (
- TAO_ServerRequest &req,
- void *obj,
- void *context,
- CORBA::Environment &env
- )
-{
- POA_IR::Contained_ptr impl = (POA_IR::TypedefDef_ptr) obj;
- POA_IR::Contained::_get_defined_in_skel (
- req,
- (POA_IR::Contained_ptr) impl,
- context,
- env
- );
-}
-ACE_INLINE void POA_IR::TypedefDef::_get_absolute_name_skel (
- TAO_ServerRequest &req,
- void *obj,
- void *context,
- CORBA::Environment &env
- )
-{
- POA_IR::Contained_ptr impl = (POA_IR::TypedefDef_ptr) obj;
- POA_IR::Contained::_get_absolute_name_skel (
- req,
- (POA_IR::Contained_ptr) impl,
- context,
- env
- );
-}
-ACE_INLINE void POA_IR::TypedefDef::_get_containing_repository_skel (
- TAO_ServerRequest &req,
- void *obj,
- void *context,
- CORBA::Environment &env
- )
-{
- POA_IR::Contained_ptr impl = (POA_IR::TypedefDef_ptr) obj;
- POA_IR::Contained::_get_containing_repository_skel (
- req,
- (POA_IR::Contained_ptr) impl,
- context,
- env
- );
-}
-ACE_INLINE void POA_IR::TypedefDef::describe_skel (
- TAO_ServerRequest &req,
- void *obj,
- void *context,
- CORBA::Environment &env
- )
-{
- POA_IR::Contained_ptr impl = (POA_IR::TypedefDef_ptr) obj;
- POA_IR::Contained::describe_skel (
- req,
- (POA_IR::Contained_ptr) impl,
- context,
- env
- );
-}
-ACE_INLINE void POA_IR::TypedefDef::move_skel (
- TAO_ServerRequest &req,
- void *obj,
- void *context,
- CORBA::Environment &env
- )
-{
- POA_IR::Contained_ptr impl = (POA_IR::TypedefDef_ptr) obj;
- POA_IR::Contained::move_skel (
- req,
- (POA_IR::Contained_ptr) impl,
- context,
- env
- );
-}
-ACE_INLINE void POA_IR::TypedefDef::_get_type_skel (
- TAO_ServerRequest &req,
- void *obj,
- void *context,
- CORBA::Environment &env
- )
-{
- POA_IR::IDLType_ptr impl = (POA_IR::TypedefDef_ptr) obj;
- POA_IR::IDLType::_get_type_skel (
- req,
- (POA_IR::IDLType_ptr) impl,
- context,
- env
- );
-}
-ACE_INLINE void POA_IR::TypedefDef::_get_def_kind_skel (
- TAO_ServerRequest &req,
- void *obj,
- void *context,
- CORBA::Environment &env
- )
-{
- POA_CORBA_IRObject_ptr impl = (POA_IR::TypedefDef_ptr) obj;
- POA_CORBA_IRObject::_get_def_kind_skel (
- req,
- (POA_CORBA_IRObject_ptr) impl,
- context,
- env
- );
-}
-ACE_INLINE void POA_IR::TypedefDef::destroy_skel (
- TAO_ServerRequest &req,
- void *obj,
- void *context,
- CORBA::Environment &env
- )
-{
- POA_CORBA_IRObject_ptr impl = (POA_IR::TypedefDef_ptr) obj;
- POA_CORBA_IRObject::destroy_skel (
- req,
- (POA_CORBA_IRObject_ptr) impl,
- context,
- env
- );
-}
-ACE_INLINE void POA_IR::StructDef::lookup_skel (
- TAO_ServerRequest &req,
- void *obj,
- void *context,
- CORBA::Environment &env
- )
-{
- POA_IR::Container_ptr impl = (POA_IR::StructDef_ptr) obj;
- POA_IR::Container::lookup_skel (
- req,
- (POA_IR::Container_ptr) impl,
- context,
- env
- );
-}
-ACE_INLINE void POA_IR::StructDef::contents_skel (
- TAO_ServerRequest &req,
- void *obj,
- void *context,
- CORBA::Environment &env
- )
-{
- POA_IR::Container_ptr impl = (POA_IR::StructDef_ptr) obj;
- POA_IR::Container::contents_skel (
- req,
- (POA_IR::Container_ptr) impl,
- context,
- env
- );
-}
-ACE_INLINE void POA_IR::StructDef::lookup_name_skel (
- TAO_ServerRequest &req,
- void *obj,
- void *context,
- CORBA::Environment &env
- )
-{
- POA_IR::Container_ptr impl = (POA_IR::StructDef_ptr) obj;
- POA_IR::Container::lookup_name_skel (
- req,
- (POA_IR::Container_ptr) impl,
- context,
- env
- );
-}
-ACE_INLINE void POA_IR::StructDef::describe_contents_skel (
- TAO_ServerRequest &req,
- void *obj,
- void *context,
- CORBA::Environment &env
- )
-{
- POA_IR::Container_ptr impl = (POA_IR::StructDef_ptr) obj;
- POA_IR::Container::describe_contents_skel (
- req,
- (POA_IR::Container_ptr) impl,
- context,
- env
- );
-}
-ACE_INLINE void POA_IR::StructDef::create_module_skel (
- TAO_ServerRequest &req,
- void *obj,
- void *context,
- CORBA::Environment &env
- )
-{
- POA_IR::Container_ptr impl = (POA_IR::StructDef_ptr) obj;
- POA_IR::Container::create_module_skel (
- req,
- (POA_IR::Container_ptr) impl,
- context,
- env
- );
-}
-ACE_INLINE void POA_IR::StructDef::create_constant_skel (
- TAO_ServerRequest &req,
- void *obj,
- void *context,
- CORBA::Environment &env
- )
-{
- POA_IR::Container_ptr impl = (POA_IR::StructDef_ptr) obj;
- POA_IR::Container::create_constant_skel (
- req,
- (POA_IR::Container_ptr) impl,
- context,
- env
- );
-}
-ACE_INLINE void POA_IR::StructDef::create_struct_skel (
- TAO_ServerRequest &req,
- void *obj,
- void *context,
- CORBA::Environment &env
- )
-{
- POA_IR::Container_ptr impl = (POA_IR::StructDef_ptr) obj;
- POA_IR::Container::create_struct_skel (
- req,
- (POA_IR::Container_ptr) impl,
- context,
- env
- );
-}
-ACE_INLINE void POA_IR::StructDef::create_union_skel (
- TAO_ServerRequest &req,
- void *obj,
- void *context,
- CORBA::Environment &env
- )
-{
- POA_IR::Container_ptr impl = (POA_IR::StructDef_ptr) obj;
- POA_IR::Container::create_union_skel (
- req,
- (POA_IR::Container_ptr) impl,
- context,
- env
- );
-}
-ACE_INLINE void POA_IR::StructDef::create_enum_skel (
- TAO_ServerRequest &req,
- void *obj,
- void *context,
- CORBA::Environment &env
- )
-{
- POA_IR::Container_ptr impl = (POA_IR::StructDef_ptr) obj;
- POA_IR::Container::create_enum_skel (
- req,
- (POA_IR::Container_ptr) impl,
- context,
- env
- );
-}
-ACE_INLINE void POA_IR::StructDef::create_alias_skel (
- TAO_ServerRequest &req,
- void *obj,
- void *context,
- CORBA::Environment &env
- )
-{
- POA_IR::Container_ptr impl = (POA_IR::StructDef_ptr) obj;
- POA_IR::Container::create_alias_skel (
- req,
- (POA_IR::Container_ptr) impl,
- context,
- env
- );
-}
-ACE_INLINE void POA_IR::StructDef::create_interface_skel (
- TAO_ServerRequest &req,
- void *obj,
- void *context,
- CORBA::Environment &env
- )
-{
- POA_IR::Container_ptr impl = (POA_IR::StructDef_ptr) obj;
- POA_IR::Container::create_interface_skel (
- req,
- (POA_IR::Container_ptr) impl,
- context,
- env
- );
-}
-ACE_INLINE void POA_IR::StructDef::create_value_skel (
- TAO_ServerRequest &req,
- void *obj,
- void *context,
- CORBA::Environment &env
- )
-{
- POA_IR::Container_ptr impl = (POA_IR::StructDef_ptr) obj;
- POA_IR::Container::create_value_skel (
- req,
- (POA_IR::Container_ptr) impl,
- context,
- env
- );
-}
-ACE_INLINE void POA_IR::StructDef::create_value_box_skel (
- TAO_ServerRequest &req,
- void *obj,
- void *context,
- CORBA::Environment &env
- )
-{
- POA_IR::Container_ptr impl = (POA_IR::StructDef_ptr) obj;
- POA_IR::Container::create_value_box_skel (
- req,
- (POA_IR::Container_ptr) impl,
- context,
- env
- );
-}
-ACE_INLINE void POA_IR::StructDef::create_exception_skel (
- TAO_ServerRequest &req,
- void *obj,
- void *context,
- CORBA::Environment &env
- )
-{
- POA_IR::Container_ptr impl = (POA_IR::StructDef_ptr) obj;
- POA_IR::Container::create_exception_skel (
- req,
- (POA_IR::Container_ptr) impl,
- context,
- env
- );
-}
-ACE_INLINE void POA_IR::StructDef::create_native_skel (
- TAO_ServerRequest &req,
- void *obj,
- void *context,
- CORBA::Environment &env
- )
-{
- POA_IR::Container_ptr impl = (POA_IR::StructDef_ptr) obj;
- POA_IR::Container::create_native_skel (
- req,
- (POA_IR::Container_ptr) impl,
- context,
- env
- );
-}
-ACE_INLINE void POA_IR::StructDef::_get_id_skel (
- TAO_ServerRequest &req,
- void *obj,
- void *context,
- CORBA::Environment &env
- )
-{
- POA_IR::Contained_ptr impl = (POA_IR::StructDef_ptr) obj;
- POA_IR::Contained::_get_id_skel (
- req,
- (POA_IR::Contained_ptr) impl,
- context,
- env
- );
-}
-ACE_INLINE void POA_IR::StructDef::_set_id_skel (
- TAO_ServerRequest &req,
- void *obj,
- void *context,
- CORBA::Environment &env
- )
-{
- POA_IR::Contained_ptr impl = (POA_IR::StructDef_ptr) obj;
- POA_IR::Contained::_set_id_skel (
- req,
- (POA_IR::Contained_ptr) impl,
- context,
- env
- );
-}
-ACE_INLINE void POA_IR::StructDef::_get_name_skel (
- TAO_ServerRequest &req,
- void *obj,
- void *context,
- CORBA::Environment &env
- )
-{
- POA_IR::Contained_ptr impl = (POA_IR::StructDef_ptr) obj;
- POA_IR::Contained::_get_name_skel (
- req,
- (POA_IR::Contained_ptr) impl,
- context,
- env
- );
-}
-ACE_INLINE void POA_IR::StructDef::_set_name_skel (
- TAO_ServerRequest &req,
- void *obj,
- void *context,
- CORBA::Environment &env
- )
-{
- POA_IR::Contained_ptr impl = (POA_IR::StructDef_ptr) obj;
- POA_IR::Contained::_set_name_skel (
- req,
- (POA_IR::Contained_ptr) impl,
- context,
- env
- );
-}
-ACE_INLINE void POA_IR::StructDef::_get_version_skel (
- TAO_ServerRequest &req,
- void *obj,
- void *context,
- CORBA::Environment &env
- )
-{
- POA_IR::Contained_ptr impl = (POA_IR::StructDef_ptr) obj;
- POA_IR::Contained::_get_version_skel (
- req,
- (POA_IR::Contained_ptr) impl,
- context,
- env
- );
-}
-ACE_INLINE void POA_IR::StructDef::_set_version_skel (
- TAO_ServerRequest &req,
- void *obj,
- void *context,
- CORBA::Environment &env
- )
-{
- POA_IR::Contained_ptr impl = (POA_IR::StructDef_ptr) obj;
- POA_IR::Contained::_set_version_skel (
- req,
- (POA_IR::Contained_ptr) impl,
- context,
- env
- );
-}
-ACE_INLINE void POA_IR::StructDef::_get_defined_in_skel (
- TAO_ServerRequest &req,
- void *obj,
- void *context,
- CORBA::Environment &env
- )
-{
- POA_IR::Contained_ptr impl = (POA_IR::StructDef_ptr) obj;
- POA_IR::Contained::_get_defined_in_skel (
- req,
- (POA_IR::Contained_ptr) impl,
- context,
- env
- );
-}
-ACE_INLINE void POA_IR::StructDef::_get_absolute_name_skel (
- TAO_ServerRequest &req,
- void *obj,
- void *context,
- CORBA::Environment &env
- )
-{
- POA_IR::Contained_ptr impl = (POA_IR::StructDef_ptr) obj;
- POA_IR::Contained::_get_absolute_name_skel (
- req,
- (POA_IR::Contained_ptr) impl,
- context,
- env
- );
-}
-ACE_INLINE void POA_IR::StructDef::_get_containing_repository_skel (
- TAO_ServerRequest &req,
- void *obj,
- void *context,
- CORBA::Environment &env
- )
-{
- POA_IR::Contained_ptr impl = (POA_IR::StructDef_ptr) obj;
- POA_IR::Contained::_get_containing_repository_skel (
- req,
- (POA_IR::Contained_ptr) impl,
- context,
- env
- );
-}
-ACE_INLINE void POA_IR::StructDef::describe_skel (
- TAO_ServerRequest &req,
- void *obj,
- void *context,
- CORBA::Environment &env
- )
-{
- POA_IR::Contained_ptr impl = (POA_IR::StructDef_ptr) obj;
- POA_IR::Contained::describe_skel (
- req,
- (POA_IR::Contained_ptr) impl,
- context,
- env
- );
-}
-ACE_INLINE void POA_IR::StructDef::move_skel (
- TAO_ServerRequest &req,
- void *obj,
- void *context,
- CORBA::Environment &env
- )
-{
- POA_IR::Contained_ptr impl = (POA_IR::StructDef_ptr) obj;
- POA_IR::Contained::move_skel (
- req,
- (POA_IR::Contained_ptr) impl,
- context,
- env
- );
-}
-ACE_INLINE void POA_IR::StructDef::_get_type_skel (
- TAO_ServerRequest &req,
- void *obj,
- void *context,
- CORBA::Environment &env
- )
-{
- POA_IR::IDLType_ptr impl = (POA_IR::StructDef_ptr) obj;
- POA_IR::IDLType::_get_type_skel (
- req,
- (POA_IR::IDLType_ptr) impl,
- context,
- env
- );
-}
-ACE_INLINE void POA_IR::StructDef::_get_def_kind_skel (
- TAO_ServerRequest &req,
- void *obj,
- void *context,
- CORBA::Environment &env
- )
-{
- POA_CORBA_IRObject_ptr impl = (POA_IR::StructDef_ptr) obj;
- POA_CORBA_IRObject::_get_def_kind_skel (
- req,
- (POA_CORBA_IRObject_ptr) impl,
- context,
- env
- );
-}
-ACE_INLINE void POA_IR::StructDef::destroy_skel (
- TAO_ServerRequest &req,
- void *obj,
- void *context,
- CORBA::Environment &env
- )
-{
- POA_CORBA_IRObject_ptr impl = (POA_IR::StructDef_ptr) obj;
- POA_CORBA_IRObject::destroy_skel (
- req,
- (POA_CORBA_IRObject_ptr) impl,
- context,
- env
- );
-}
-ACE_INLINE void POA_IR::UnionDef::lookup_skel (
- TAO_ServerRequest &req,
- void *obj,
- void *context,
- CORBA::Environment &env
- )
-{
- POA_IR::Container_ptr impl = (POA_IR::UnionDef_ptr) obj;
- POA_IR::Container::lookup_skel (
- req,
- (POA_IR::Container_ptr) impl,
- context,
- env
- );
-}
-ACE_INLINE void POA_IR::UnionDef::contents_skel (
- TAO_ServerRequest &req,
- void *obj,
- void *context,
- CORBA::Environment &env
- )
-{
- POA_IR::Container_ptr impl = (POA_IR::UnionDef_ptr) obj;
- POA_IR::Container::contents_skel (
- req,
- (POA_IR::Container_ptr) impl,
- context,
- env
- );
-}
-ACE_INLINE void POA_IR::UnionDef::lookup_name_skel (
- TAO_ServerRequest &req,
- void *obj,
- void *context,
- CORBA::Environment &env
- )
-{
- POA_IR::Container_ptr impl = (POA_IR::UnionDef_ptr) obj;
- POA_IR::Container::lookup_name_skel (
- req,
- (POA_IR::Container_ptr) impl,
- context,
- env
- );
-}
-ACE_INLINE void POA_IR::UnionDef::describe_contents_skel (
- TAO_ServerRequest &req,
- void *obj,
- void *context,
- CORBA::Environment &env
- )
-{
- POA_IR::Container_ptr impl = (POA_IR::UnionDef_ptr) obj;
- POA_IR::Container::describe_contents_skel (
- req,
- (POA_IR::Container_ptr) impl,
- context,
- env
- );
-}
-ACE_INLINE void POA_IR::UnionDef::create_module_skel (
- TAO_ServerRequest &req,
- void *obj,
- void *context,
- CORBA::Environment &env
- )
-{
- POA_IR::Container_ptr impl = (POA_IR::UnionDef_ptr) obj;
- POA_IR::Container::create_module_skel (
- req,
- (POA_IR::Container_ptr) impl,
- context,
- env
- );
-}
-ACE_INLINE void POA_IR::UnionDef::create_constant_skel (
- TAO_ServerRequest &req,
- void *obj,
- void *context,
- CORBA::Environment &env
- )
-{
- POA_IR::Container_ptr impl = (POA_IR::UnionDef_ptr) obj;
- POA_IR::Container::create_constant_skel (
- req,
- (POA_IR::Container_ptr) impl,
- context,
- env
- );
-}
-ACE_INLINE void POA_IR::UnionDef::create_struct_skel (
- TAO_ServerRequest &req,
- void *obj,
- void *context,
- CORBA::Environment &env
- )
-{
- POA_IR::Container_ptr impl = (POA_IR::UnionDef_ptr) obj;
- POA_IR::Container::create_struct_skel (
- req,
- (POA_IR::Container_ptr) impl,
- context,
- env
- );
-}
-ACE_INLINE void POA_IR::UnionDef::create_union_skel (
- TAO_ServerRequest &req,
- void *obj,
- void *context,
- CORBA::Environment &env
- )
-{
- POA_IR::Container_ptr impl = (POA_IR::UnionDef_ptr) obj;
- POA_IR::Container::create_union_skel (
- req,
- (POA_IR::Container_ptr) impl,
- context,
- env
- );
-}
-ACE_INLINE void POA_IR::UnionDef::create_enum_skel (
- TAO_ServerRequest &req,
- void *obj,
- void *context,
- CORBA::Environment &env
- )
-{
- POA_IR::Container_ptr impl = (POA_IR::UnionDef_ptr) obj;
- POA_IR::Container::create_enum_skel (
- req,
- (POA_IR::Container_ptr) impl,
- context,
- env
- );
-}
-ACE_INLINE void POA_IR::UnionDef::create_alias_skel (
- TAO_ServerRequest &req,
- void *obj,
- void *context,
- CORBA::Environment &env
- )
-{
- POA_IR::Container_ptr impl = (POA_IR::UnionDef_ptr) obj;
- POA_IR::Container::create_alias_skel (
- req,
- (POA_IR::Container_ptr) impl,
- context,
- env
- );
-}
-ACE_INLINE void POA_IR::UnionDef::create_interface_skel (
- TAO_ServerRequest &req,
- void *obj,
- void *context,
- CORBA::Environment &env
- )
-{
- POA_IR::Container_ptr impl = (POA_IR::UnionDef_ptr) obj;
- POA_IR::Container::create_interface_skel (
- req,
- (POA_IR::Container_ptr) impl,
- context,
- env
- );
-}
-ACE_INLINE void POA_IR::UnionDef::create_value_skel (
- TAO_ServerRequest &req,
- void *obj,
- void *context,
- CORBA::Environment &env
- )
-{
- POA_IR::Container_ptr impl = (POA_IR::UnionDef_ptr) obj;
- POA_IR::Container::create_value_skel (
- req,
- (POA_IR::Container_ptr) impl,
- context,
- env
- );
-}
-ACE_INLINE void POA_IR::UnionDef::create_value_box_skel (
- TAO_ServerRequest &req,
- void *obj,
- void *context,
- CORBA::Environment &env
- )
-{
- POA_IR::Container_ptr impl = (POA_IR::UnionDef_ptr) obj;
- POA_IR::Container::create_value_box_skel (
- req,
- (POA_IR::Container_ptr) impl,
- context,
- env
- );
-}
-ACE_INLINE void POA_IR::UnionDef::create_exception_skel (
- TAO_ServerRequest &req,
- void *obj,
- void *context,
- CORBA::Environment &env
- )
-{
- POA_IR::Container_ptr impl = (POA_IR::UnionDef_ptr) obj;
- POA_IR::Container::create_exception_skel (
- req,
- (POA_IR::Container_ptr) impl,
- context,
- env
- );
-}
-ACE_INLINE void POA_IR::UnionDef::create_native_skel (
- TAO_ServerRequest &req,
- void *obj,
- void *context,
- CORBA::Environment &env
- )
-{
- POA_IR::Container_ptr impl = (POA_IR::UnionDef_ptr) obj;
- POA_IR::Container::create_native_skel (
- req,
- (POA_IR::Container_ptr) impl,
- context,
- env
- );
-}
-ACE_INLINE void POA_IR::UnionDef::_get_id_skel (
- TAO_ServerRequest &req,
- void *obj,
- void *context,
- CORBA::Environment &env
- )
-{
- POA_IR::Contained_ptr impl = (POA_IR::UnionDef_ptr) obj;
- POA_IR::Contained::_get_id_skel (
- req,
- (POA_IR::Contained_ptr) impl,
- context,
- env
- );
-}
-ACE_INLINE void POA_IR::UnionDef::_set_id_skel (
- TAO_ServerRequest &req,
- void *obj,
- void *context,
- CORBA::Environment &env
- )
-{
- POA_IR::Contained_ptr impl = (POA_IR::UnionDef_ptr) obj;
- POA_IR::Contained::_set_id_skel (
- req,
- (POA_IR::Contained_ptr) impl,
- context,
- env
- );
-}
-ACE_INLINE void POA_IR::UnionDef::_get_name_skel (
- TAO_ServerRequest &req,
- void *obj,
- void *context,
- CORBA::Environment &env
- )
-{
- POA_IR::Contained_ptr impl = (POA_IR::UnionDef_ptr) obj;
- POA_IR::Contained::_get_name_skel (
- req,
- (POA_IR::Contained_ptr) impl,
- context,
- env
- );
-}
-ACE_INLINE void POA_IR::UnionDef::_set_name_skel (
- TAO_ServerRequest &req,
- void *obj,
- void *context,
- CORBA::Environment &env
- )
-{
- POA_IR::Contained_ptr impl = (POA_IR::UnionDef_ptr) obj;
- POA_IR::Contained::_set_name_skel (
- req,
- (POA_IR::Contained_ptr) impl,
- context,
- env
- );
-}
-ACE_INLINE void POA_IR::UnionDef::_get_version_skel (
- TAO_ServerRequest &req,
- void *obj,
- void *context,
- CORBA::Environment &env
- )
-{
- POA_IR::Contained_ptr impl = (POA_IR::UnionDef_ptr) obj;
- POA_IR::Contained::_get_version_skel (
- req,
- (POA_IR::Contained_ptr) impl,
- context,
- env
- );
-}
-ACE_INLINE void POA_IR::UnionDef::_set_version_skel (
- TAO_ServerRequest &req,
- void *obj,
- void *context,
- CORBA::Environment &env
- )
-{
- POA_IR::Contained_ptr impl = (POA_IR::UnionDef_ptr) obj;
- POA_IR::Contained::_set_version_skel (
- req,
- (POA_IR::Contained_ptr) impl,
- context,
- env
- );
-}
-ACE_INLINE void POA_IR::UnionDef::_get_defined_in_skel (
- TAO_ServerRequest &req,
- void *obj,
- void *context,
- CORBA::Environment &env
- )
-{
- POA_IR::Contained_ptr impl = (POA_IR::UnionDef_ptr) obj;
- POA_IR::Contained::_get_defined_in_skel (
- req,
- (POA_IR::Contained_ptr) impl,
- context,
- env
- );
-}
-ACE_INLINE void POA_IR::UnionDef::_get_absolute_name_skel (
- TAO_ServerRequest &req,
- void *obj,
- void *context,
- CORBA::Environment &env
- )
-{
- POA_IR::Contained_ptr impl = (POA_IR::UnionDef_ptr) obj;
- POA_IR::Contained::_get_absolute_name_skel (
- req,
- (POA_IR::Contained_ptr) impl,
- context,
- env
- );
-}
-ACE_INLINE void POA_IR::UnionDef::_get_containing_repository_skel (
- TAO_ServerRequest &req,
- void *obj,
- void *context,
- CORBA::Environment &env
- )
-{
- POA_IR::Contained_ptr impl = (POA_IR::UnionDef_ptr) obj;
- POA_IR::Contained::_get_containing_repository_skel (
- req,
- (POA_IR::Contained_ptr) impl,
- context,
- env
- );
-}
-ACE_INLINE void POA_IR::UnionDef::describe_skel (
- TAO_ServerRequest &req,
- void *obj,
- void *context,
- CORBA::Environment &env
- )
-{
- POA_IR::Contained_ptr impl = (POA_IR::UnionDef_ptr) obj;
- POA_IR::Contained::describe_skel (
- req,
- (POA_IR::Contained_ptr) impl,
- context,
- env
- );
-}
-ACE_INLINE void POA_IR::UnionDef::move_skel (
- TAO_ServerRequest &req,
- void *obj,
- void *context,
- CORBA::Environment &env
- )
-{
- POA_IR::Contained_ptr impl = (POA_IR::UnionDef_ptr) obj;
- POA_IR::Contained::move_skel (
- req,
- (POA_IR::Contained_ptr) impl,
- context,
- env
- );
-}
-ACE_INLINE void POA_IR::UnionDef::_get_type_skel (
- TAO_ServerRequest &req,
- void *obj,
- void *context,
- CORBA::Environment &env
- )
-{
- POA_IR::IDLType_ptr impl = (POA_IR::UnionDef_ptr) obj;
- POA_IR::IDLType::_get_type_skel (
- req,
- (POA_IR::IDLType_ptr) impl,
- context,
- env
- );
-}
-ACE_INLINE void POA_IR::UnionDef::_get_def_kind_skel (
- TAO_ServerRequest &req,
- void *obj,
- void *context,
- CORBA::Environment &env
- )
-{
- POA_CORBA_IRObject_ptr impl = (POA_IR::UnionDef_ptr) obj;
- POA_CORBA_IRObject::_get_def_kind_skel (
- req,
- (POA_CORBA_IRObject_ptr) impl,
- context,
- env
- );
-}
-ACE_INLINE void POA_IR::UnionDef::destroy_skel (
- TAO_ServerRequest &req,
- void *obj,
- void *context,
- CORBA::Environment &env
- )
-{
- POA_CORBA_IRObject_ptr impl = (POA_IR::UnionDef_ptr) obj;
- POA_CORBA_IRObject::destroy_skel (
- req,
- (POA_CORBA_IRObject_ptr) impl,
- context,
- env
- );
-}
-ACE_INLINE void POA_IR::EnumDef::_get_id_skel (
- TAO_ServerRequest &req,
- void *obj,
- void *context,
- CORBA::Environment &env
- )
-{
- POA_IR::Contained_ptr impl = (POA_IR::EnumDef_ptr) obj;
- POA_IR::Contained::_get_id_skel (
- req,
- (POA_IR::Contained_ptr) impl,
- context,
- env
- );
-}
-ACE_INLINE void POA_IR::EnumDef::_set_id_skel (
- TAO_ServerRequest &req,
- void *obj,
- void *context,
- CORBA::Environment &env
- )
-{
- POA_IR::Contained_ptr impl = (POA_IR::EnumDef_ptr) obj;
- POA_IR::Contained::_set_id_skel (
- req,
- (POA_IR::Contained_ptr) impl,
- context,
- env
- );
-}
-ACE_INLINE void POA_IR::EnumDef::_get_name_skel (
- TAO_ServerRequest &req,
- void *obj,
- void *context,
- CORBA::Environment &env
- )
-{
- POA_IR::Contained_ptr impl = (POA_IR::EnumDef_ptr) obj;
- POA_IR::Contained::_get_name_skel (
- req,
- (POA_IR::Contained_ptr) impl,
- context,
- env
- );
-}
-ACE_INLINE void POA_IR::EnumDef::_set_name_skel (
- TAO_ServerRequest &req,
- void *obj,
- void *context,
- CORBA::Environment &env
- )
-{
- POA_IR::Contained_ptr impl = (POA_IR::EnumDef_ptr) obj;
- POA_IR::Contained::_set_name_skel (
- req,
- (POA_IR::Contained_ptr) impl,
- context,
- env
- );
-}
-ACE_INLINE void POA_IR::EnumDef::_get_version_skel (
- TAO_ServerRequest &req,
- void *obj,
- void *context,
- CORBA::Environment &env
- )
-{
- POA_IR::Contained_ptr impl = (POA_IR::EnumDef_ptr) obj;
- POA_IR::Contained::_get_version_skel (
- req,
- (POA_IR::Contained_ptr) impl,
- context,
- env
- );
-}
-ACE_INLINE void POA_IR::EnumDef::_set_version_skel (
- TAO_ServerRequest &req,
- void *obj,
- void *context,
- CORBA::Environment &env
- )
-{
- POA_IR::Contained_ptr impl = (POA_IR::EnumDef_ptr) obj;
- POA_IR::Contained::_set_version_skel (
- req,
- (POA_IR::Contained_ptr) impl,
- context,
- env
- );
-}
-ACE_INLINE void POA_IR::EnumDef::_get_defined_in_skel (
- TAO_ServerRequest &req,
- void *obj,
- void *context,
- CORBA::Environment &env
- )
-{
- POA_IR::Contained_ptr impl = (POA_IR::EnumDef_ptr) obj;
- POA_IR::Contained::_get_defined_in_skel (
- req,
- (POA_IR::Contained_ptr) impl,
- context,
- env
- );
-}
-ACE_INLINE void POA_IR::EnumDef::_get_absolute_name_skel (
- TAO_ServerRequest &req,
- void *obj,
- void *context,
- CORBA::Environment &env
- )
-{
- POA_IR::Contained_ptr impl = (POA_IR::EnumDef_ptr) obj;
- POA_IR::Contained::_get_absolute_name_skel (
- req,
- (POA_IR::Contained_ptr) impl,
- context,
- env
- );
-}
-ACE_INLINE void POA_IR::EnumDef::_get_containing_repository_skel (
- TAO_ServerRequest &req,
- void *obj,
- void *context,
- CORBA::Environment &env
- )
-{
- POA_IR::Contained_ptr impl = (POA_IR::EnumDef_ptr) obj;
- POA_IR::Contained::_get_containing_repository_skel (
- req,
- (POA_IR::Contained_ptr) impl,
- context,
- env
- );
-}
-ACE_INLINE void POA_IR::EnumDef::describe_skel (
- TAO_ServerRequest &req,
- void *obj,
- void *context,
- CORBA::Environment &env
- )
-{
- POA_IR::Contained_ptr impl = (POA_IR::EnumDef_ptr) obj;
- POA_IR::Contained::describe_skel (
- req,
- (POA_IR::Contained_ptr) impl,
- context,
- env
- );
-}
-ACE_INLINE void POA_IR::EnumDef::move_skel (
- TAO_ServerRequest &req,
- void *obj,
- void *context,
- CORBA::Environment &env
- )
-{
- POA_IR::Contained_ptr impl = (POA_IR::EnumDef_ptr) obj;
- POA_IR::Contained::move_skel (
- req,
- (POA_IR::Contained_ptr) impl,
- context,
- env
- );
-}
-ACE_INLINE void POA_IR::EnumDef::_get_type_skel (
- TAO_ServerRequest &req,
- void *obj,
- void *context,
- CORBA::Environment &env
- )
-{
- POA_IR::IDLType_ptr impl = (POA_IR::EnumDef_ptr) obj;
- POA_IR::IDLType::_get_type_skel (
- req,
- (POA_IR::IDLType_ptr) impl,
- context,
- env
- );
-}
-ACE_INLINE void POA_IR::EnumDef::_get_def_kind_skel (
- TAO_ServerRequest &req,
- void *obj,
- void *context,
- CORBA::Environment &env
- )
-{
- POA_CORBA_IRObject_ptr impl = (POA_IR::EnumDef_ptr) obj;
- POA_CORBA_IRObject::_get_def_kind_skel (
- req,
- (POA_CORBA_IRObject_ptr) impl,
- context,
- env
- );
-}
-ACE_INLINE void POA_IR::EnumDef::destroy_skel (
- TAO_ServerRequest &req,
- void *obj,
- void *context,
- CORBA::Environment &env
- )
-{
- POA_CORBA_IRObject_ptr impl = (POA_IR::EnumDef_ptr) obj;
- POA_CORBA_IRObject::destroy_skel (
- req,
- (POA_CORBA_IRObject_ptr) impl,
- context,
- env
- );
-}
-ACE_INLINE void POA_IR::AliasDef::_get_id_skel (
- TAO_ServerRequest &req,
- void *obj,
- void *context,
- CORBA::Environment &env
- )
-{
- POA_IR::Contained_ptr impl = (POA_IR::AliasDef_ptr) obj;
- POA_IR::Contained::_get_id_skel (
- req,
- (POA_IR::Contained_ptr) impl,
- context,
- env
- );
-}
-ACE_INLINE void POA_IR::AliasDef::_set_id_skel (
- TAO_ServerRequest &req,
- void *obj,
- void *context,
- CORBA::Environment &env
- )
-{
- POA_IR::Contained_ptr impl = (POA_IR::AliasDef_ptr) obj;
- POA_IR::Contained::_set_id_skel (
- req,
- (POA_IR::Contained_ptr) impl,
- context,
- env
- );
-}
-ACE_INLINE void POA_IR::AliasDef::_get_name_skel (
- TAO_ServerRequest &req,
- void *obj,
- void *context,
- CORBA::Environment &env
- )
-{
- POA_IR::Contained_ptr impl = (POA_IR::AliasDef_ptr) obj;
- POA_IR::Contained::_get_name_skel (
- req,
- (POA_IR::Contained_ptr) impl,
- context,
- env
- );
-}
-ACE_INLINE void POA_IR::AliasDef::_set_name_skel (
- TAO_ServerRequest &req,
- void *obj,
- void *context,
- CORBA::Environment &env
- )
-{
- POA_IR::Contained_ptr impl = (POA_IR::AliasDef_ptr) obj;
- POA_IR::Contained::_set_name_skel (
- req,
- (POA_IR::Contained_ptr) impl,
- context,
- env
- );
-}
-ACE_INLINE void POA_IR::AliasDef::_get_version_skel (
- TAO_ServerRequest &req,
- void *obj,
- void *context,
- CORBA::Environment &env
- )
-{
- POA_IR::Contained_ptr impl = (POA_IR::AliasDef_ptr) obj;
- POA_IR::Contained::_get_version_skel (
- req,
- (POA_IR::Contained_ptr) impl,
- context,
- env
- );
-}
-ACE_INLINE void POA_IR::AliasDef::_set_version_skel (
- TAO_ServerRequest &req,
- void *obj,
- void *context,
- CORBA::Environment &env
- )
-{
- POA_IR::Contained_ptr impl = (POA_IR::AliasDef_ptr) obj;
- POA_IR::Contained::_set_version_skel (
- req,
- (POA_IR::Contained_ptr) impl,
- context,
- env
- );
-}
-ACE_INLINE void POA_IR::AliasDef::_get_defined_in_skel (
- TAO_ServerRequest &req,
- void *obj,
- void *context,
- CORBA::Environment &env
- )
-{
- POA_IR::Contained_ptr impl = (POA_IR::AliasDef_ptr) obj;
- POA_IR::Contained::_get_defined_in_skel (
- req,
- (POA_IR::Contained_ptr) impl,
- context,
- env
- );
-}
-ACE_INLINE void POA_IR::AliasDef::_get_absolute_name_skel (
- TAO_ServerRequest &req,
- void *obj,
- void *context,
- CORBA::Environment &env
- )
-{
- POA_IR::Contained_ptr impl = (POA_IR::AliasDef_ptr) obj;
- POA_IR::Contained::_get_absolute_name_skel (
- req,
- (POA_IR::Contained_ptr) impl,
- context,
- env
- );
-}
-ACE_INLINE void POA_IR::AliasDef::_get_containing_repository_skel (
- TAO_ServerRequest &req,
- void *obj,
- void *context,
- CORBA::Environment &env
- )
-{
- POA_IR::Contained_ptr impl = (POA_IR::AliasDef_ptr) obj;
- POA_IR::Contained::_get_containing_repository_skel (
- req,
- (POA_IR::Contained_ptr) impl,
- context,
- env
- );
-}
-ACE_INLINE void POA_IR::AliasDef::describe_skel (
- TAO_ServerRequest &req,
- void *obj,
- void *context,
- CORBA::Environment &env
- )
-{
- POA_IR::Contained_ptr impl = (POA_IR::AliasDef_ptr) obj;
- POA_IR::Contained::describe_skel (
- req,
- (POA_IR::Contained_ptr) impl,
- context,
- env
- );
-}
-ACE_INLINE void POA_IR::AliasDef::move_skel (
- TAO_ServerRequest &req,
- void *obj,
- void *context,
- CORBA::Environment &env
- )
-{
- POA_IR::Contained_ptr impl = (POA_IR::AliasDef_ptr) obj;
- POA_IR::Contained::move_skel (
- req,
- (POA_IR::Contained_ptr) impl,
- context,
- env
- );
-}
-ACE_INLINE void POA_IR::AliasDef::_get_type_skel (
- TAO_ServerRequest &req,
- void *obj,
- void *context,
- CORBA::Environment &env
- )
-{
- POA_IR::IDLType_ptr impl = (POA_IR::AliasDef_ptr) obj;
- POA_IR::IDLType::_get_type_skel (
- req,
- (POA_IR::IDLType_ptr) impl,
- context,
- env
- );
-}
-ACE_INLINE void POA_IR::AliasDef::_get_def_kind_skel (
- TAO_ServerRequest &req,
- void *obj,
- void *context,
- CORBA::Environment &env
- )
-{
- POA_CORBA_IRObject_ptr impl = (POA_IR::AliasDef_ptr) obj;
- POA_CORBA_IRObject::_get_def_kind_skel (
- req,
- (POA_CORBA_IRObject_ptr) impl,
- context,
- env
- );
-}
-ACE_INLINE void POA_IR::AliasDef::destroy_skel (
- TAO_ServerRequest &req,
- void *obj,
- void *context,
- CORBA::Environment &env
- )
-{
- POA_CORBA_IRObject_ptr impl = (POA_IR::AliasDef_ptr) obj;
- POA_CORBA_IRObject::destroy_skel (
- req,
- (POA_CORBA_IRObject_ptr) impl,
- context,
- env
- );
-}
-ACE_INLINE void POA_IR::NativeDef::_get_id_skel (
- TAO_ServerRequest &req,
- void *obj,
- void *context,
- CORBA::Environment &env
- )
-{
- POA_IR::Contained_ptr impl = (POA_IR::NativeDef_ptr) obj;
- POA_IR::Contained::_get_id_skel (
- req,
- (POA_IR::Contained_ptr) impl,
- context,
- env
- );
-}
-ACE_INLINE void POA_IR::NativeDef::_set_id_skel (
- TAO_ServerRequest &req,
- void *obj,
- void *context,
- CORBA::Environment &env
- )
-{
- POA_IR::Contained_ptr impl = (POA_IR::NativeDef_ptr) obj;
- POA_IR::Contained::_set_id_skel (
- req,
- (POA_IR::Contained_ptr) impl,
- context,
- env
- );
-}
-ACE_INLINE void POA_IR::NativeDef::_get_name_skel (
- TAO_ServerRequest &req,
- void *obj,
- void *context,
- CORBA::Environment &env
- )
-{
- POA_IR::Contained_ptr impl = (POA_IR::NativeDef_ptr) obj;
- POA_IR::Contained::_get_name_skel (
- req,
- (POA_IR::Contained_ptr) impl,
- context,
- env
- );
-}
-ACE_INLINE void POA_IR::NativeDef::_set_name_skel (
- TAO_ServerRequest &req,
- void *obj,
- void *context,
- CORBA::Environment &env
- )
-{
- POA_IR::Contained_ptr impl = (POA_IR::NativeDef_ptr) obj;
- POA_IR::Contained::_set_name_skel (
- req,
- (POA_IR::Contained_ptr) impl,
- context,
- env
- );
-}
-ACE_INLINE void POA_IR::NativeDef::_get_version_skel (
- TAO_ServerRequest &req,
- void *obj,
- void *context,
- CORBA::Environment &env
- )
-{
- POA_IR::Contained_ptr impl = (POA_IR::NativeDef_ptr) obj;
- POA_IR::Contained::_get_version_skel (
- req,
- (POA_IR::Contained_ptr) impl,
- context,
- env
- );
-}
-ACE_INLINE void POA_IR::NativeDef::_set_version_skel (
- TAO_ServerRequest &req,
- void *obj,
- void *context,
- CORBA::Environment &env
- )
-{
- POA_IR::Contained_ptr impl = (POA_IR::NativeDef_ptr) obj;
- POA_IR::Contained::_set_version_skel (
- req,
- (POA_IR::Contained_ptr) impl,
- context,
- env
- );
-}
-ACE_INLINE void POA_IR::NativeDef::_get_defined_in_skel (
- TAO_ServerRequest &req,
- void *obj,
- void *context,
- CORBA::Environment &env
- )
-{
- POA_IR::Contained_ptr impl = (POA_IR::NativeDef_ptr) obj;
- POA_IR::Contained::_get_defined_in_skel (
- req,
- (POA_IR::Contained_ptr) impl,
- context,
- env
- );
-}
-ACE_INLINE void POA_IR::NativeDef::_get_absolute_name_skel (
- TAO_ServerRequest &req,
- void *obj,
- void *context,
- CORBA::Environment &env
- )
-{
- POA_IR::Contained_ptr impl = (POA_IR::NativeDef_ptr) obj;
- POA_IR::Contained::_get_absolute_name_skel (
- req,
- (POA_IR::Contained_ptr) impl,
- context,
- env
- );
-}
-ACE_INLINE void POA_IR::NativeDef::_get_containing_repository_skel (
- TAO_ServerRequest &req,
- void *obj,
- void *context,
- CORBA::Environment &env
- )
-{
- POA_IR::Contained_ptr impl = (POA_IR::NativeDef_ptr) obj;
- POA_IR::Contained::_get_containing_repository_skel (
- req,
- (POA_IR::Contained_ptr) impl,
- context,
- env
- );
-}
-ACE_INLINE void POA_IR::NativeDef::describe_skel (
- TAO_ServerRequest &req,
- void *obj,
- void *context,
- CORBA::Environment &env
- )
-{
- POA_IR::Contained_ptr impl = (POA_IR::NativeDef_ptr) obj;
- POA_IR::Contained::describe_skel (
- req,
- (POA_IR::Contained_ptr) impl,
- context,
- env
- );
-}
-ACE_INLINE void POA_IR::NativeDef::move_skel (
- TAO_ServerRequest &req,
- void *obj,
- void *context,
- CORBA::Environment &env
- )
-{
- POA_IR::Contained_ptr impl = (POA_IR::NativeDef_ptr) obj;
- POA_IR::Contained::move_skel (
- req,
- (POA_IR::Contained_ptr) impl,
- context,
- env
- );
-}
-ACE_INLINE void POA_IR::NativeDef::_get_type_skel (
- TAO_ServerRequest &req,
- void *obj,
- void *context,
- CORBA::Environment &env
- )
-{
- POA_IR::IDLType_ptr impl = (POA_IR::NativeDef_ptr) obj;
- POA_IR::IDLType::_get_type_skel (
- req,
- (POA_IR::IDLType_ptr) impl,
- context,
- env
- );
-}
-ACE_INLINE void POA_IR::NativeDef::_get_def_kind_skel (
- TAO_ServerRequest &req,
- void *obj,
- void *context,
- CORBA::Environment &env
- )
-{
- POA_CORBA_IRObject_ptr impl = (POA_IR::NativeDef_ptr) obj;
- POA_CORBA_IRObject::_get_def_kind_skel (
- req,
- (POA_CORBA_IRObject_ptr) impl,
- context,
- env
- );
-}
-ACE_INLINE void POA_IR::NativeDef::destroy_skel (
- TAO_ServerRequest &req,
- void *obj,
- void *context,
- CORBA::Environment &env
- )
-{
- POA_CORBA_IRObject_ptr impl = (POA_IR::NativeDef_ptr) obj;
- POA_CORBA_IRObject::destroy_skel (
- req,
- (POA_CORBA_IRObject_ptr) impl,
- context,
- env
- );
-}
-ACE_INLINE void POA_IR::PrimitiveDef::_get_type_skel (
- TAO_ServerRequest &req,
- void *obj,
- void *context,
- CORBA::Environment &env
- )
-{
- POA_IR::IDLType_ptr impl = (POA_IR::PrimitiveDef_ptr) obj;
- POA_IR::IDLType::_get_type_skel (
- req,
- (POA_IR::IDLType_ptr) impl,
- context,
- env
- );
-}
-ACE_INLINE void POA_IR::PrimitiveDef::_get_def_kind_skel (
- TAO_ServerRequest &req,
- void *obj,
- void *context,
- CORBA::Environment &env
- )
-{
- POA_CORBA_IRObject_ptr impl = (POA_IR::PrimitiveDef_ptr) obj;
- POA_CORBA_IRObject::_get_def_kind_skel (
- req,
- (POA_CORBA_IRObject_ptr) impl,
- context,
- env
- );
-}
-ACE_INLINE void POA_IR::PrimitiveDef::destroy_skel (
- TAO_ServerRequest &req,
- void *obj,
- void *context,
- CORBA::Environment &env
- )
-{
- POA_CORBA_IRObject_ptr impl = (POA_IR::PrimitiveDef_ptr) obj;
- POA_CORBA_IRObject::destroy_skel (
- req,
- (POA_CORBA_IRObject_ptr) impl,
- context,
- env
- );
-}
-ACE_INLINE void POA_IR::StringDef::_get_type_skel (
- TAO_ServerRequest &req,
- void *obj,
- void *context,
- CORBA::Environment &env
- )
-{
- POA_IR::IDLType_ptr impl = (POA_IR::StringDef_ptr) obj;
- POA_IR::IDLType::_get_type_skel (
- req,
- (POA_IR::IDLType_ptr) impl,
- context,
- env
- );
-}
-ACE_INLINE void POA_IR::StringDef::_get_def_kind_skel (
- TAO_ServerRequest &req,
- void *obj,
- void *context,
- CORBA::Environment &env
- )
-{
- POA_CORBA_IRObject_ptr impl = (POA_IR::StringDef_ptr) obj;
- POA_CORBA_IRObject::_get_def_kind_skel (
- req,
- (POA_CORBA_IRObject_ptr) impl,
- context,
- env
- );
-}
-ACE_INLINE void POA_IR::StringDef::destroy_skel (
- TAO_ServerRequest &req,
- void *obj,
- void *context,
- CORBA::Environment &env
- )
-{
- POA_CORBA_IRObject_ptr impl = (POA_IR::StringDef_ptr) obj;
- POA_CORBA_IRObject::destroy_skel (
- req,
- (POA_CORBA_IRObject_ptr) impl,
- context,
- env
- );
-}
-ACE_INLINE void POA_IR::WstringDef::_get_type_skel (
- TAO_ServerRequest &req,
- void *obj,
- void *context,
- CORBA::Environment &env
- )
-{
- POA_IR::IDLType_ptr impl = (POA_IR::WstringDef_ptr) obj;
- POA_IR::IDLType::_get_type_skel (
- req,
- (POA_IR::IDLType_ptr) impl,
- context,
- env
- );
-}
-ACE_INLINE void POA_IR::WstringDef::_get_def_kind_skel (
- TAO_ServerRequest &req,
- void *obj,
- void *context,
- CORBA::Environment &env
- )
-{
- POA_CORBA_IRObject_ptr impl = (POA_IR::WstringDef_ptr) obj;
- POA_CORBA_IRObject::_get_def_kind_skel (
- req,
- (POA_CORBA_IRObject_ptr) impl,
- context,
- env
- );
-}
-ACE_INLINE void POA_IR::WstringDef::destroy_skel (
- TAO_ServerRequest &req,
- void *obj,
- void *context,
- CORBA::Environment &env
- )
-{
- POA_CORBA_IRObject_ptr impl = (POA_IR::WstringDef_ptr) obj;
- POA_CORBA_IRObject::destroy_skel (
- req,
- (POA_CORBA_IRObject_ptr) impl,
- context,
- env
- );
-}
-ACE_INLINE void POA_IR::FixedDef::_get_type_skel (
- TAO_ServerRequest &req,
- void *obj,
- void *context,
- CORBA::Environment &env
- )
-{
- POA_IR::IDLType_ptr impl = (POA_IR::FixedDef_ptr) obj;
- POA_IR::IDLType::_get_type_skel (
- req,
- (POA_IR::IDLType_ptr) impl,
- context,
- env
- );
-}
-ACE_INLINE void POA_IR::FixedDef::_get_def_kind_skel (
- TAO_ServerRequest &req,
- void *obj,
- void *context,
- CORBA::Environment &env
- )
-{
- POA_CORBA_IRObject_ptr impl = (POA_IR::FixedDef_ptr) obj;
- POA_CORBA_IRObject::_get_def_kind_skel (
- req,
- (POA_CORBA_IRObject_ptr) impl,
- context,
- env
- );
-}
-ACE_INLINE void POA_IR::FixedDef::destroy_skel (
- TAO_ServerRequest &req,
- void *obj,
- void *context,
- CORBA::Environment &env
- )
-{
- POA_CORBA_IRObject_ptr impl = (POA_IR::FixedDef_ptr) obj;
- POA_CORBA_IRObject::destroy_skel (
- req,
- (POA_CORBA_IRObject_ptr) impl,
- context,
- env
- );
-}
-ACE_INLINE void POA_IR::SequenceDef::_get_type_skel (
- TAO_ServerRequest &req,
- void *obj,
- void *context,
- CORBA::Environment &env
- )
-{
- POA_IR::IDLType_ptr impl = (POA_IR::SequenceDef_ptr) obj;
- POA_IR::IDLType::_get_type_skel (
- req,
- (POA_IR::IDLType_ptr) impl,
- context,
- env
- );
-}
-ACE_INLINE void POA_IR::SequenceDef::_get_def_kind_skel (
- TAO_ServerRequest &req,
- void *obj,
- void *context,
- CORBA::Environment &env
- )
-{
- POA_CORBA_IRObject_ptr impl = (POA_IR::SequenceDef_ptr) obj;
- POA_CORBA_IRObject::_get_def_kind_skel (
- req,
- (POA_CORBA_IRObject_ptr) impl,
- context,
- env
- );
-}
-ACE_INLINE void POA_IR::SequenceDef::destroy_skel (
- TAO_ServerRequest &req,
- void *obj,
- void *context,
- CORBA::Environment &env
- )
-{
- POA_CORBA_IRObject_ptr impl = (POA_IR::SequenceDef_ptr) obj;
- POA_CORBA_IRObject::destroy_skel (
- req,
- (POA_CORBA_IRObject_ptr) impl,
- context,
- env
- );
-}
-ACE_INLINE void POA_IR::ArrayDef::_get_type_skel (
- TAO_ServerRequest &req,
- void *obj,
- void *context,
- CORBA::Environment &env
- )
-{
- POA_IR::IDLType_ptr impl = (POA_IR::ArrayDef_ptr) obj;
- POA_IR::IDLType::_get_type_skel (
- req,
- (POA_IR::IDLType_ptr) impl,
- context,
- env
- );
-}
-ACE_INLINE void POA_IR::ArrayDef::_get_def_kind_skel (
- TAO_ServerRequest &req,
- void *obj,
- void *context,
- CORBA::Environment &env
- )
-{
- POA_CORBA_IRObject_ptr impl = (POA_IR::ArrayDef_ptr) obj;
- POA_CORBA_IRObject::_get_def_kind_skel (
- req,
- (POA_CORBA_IRObject_ptr) impl,
- context,
- env
- );
-}
-ACE_INLINE void POA_IR::ArrayDef::destroy_skel (
- TAO_ServerRequest &req,
- void *obj,
- void *context,
- CORBA::Environment &env
- )
-{
- POA_CORBA_IRObject_ptr impl = (POA_IR::ArrayDef_ptr) obj;
- POA_CORBA_IRObject::destroy_skel (
- req,
- (POA_CORBA_IRObject_ptr) impl,
- context,
- env
- );
-}
-ACE_INLINE void POA_IR::ExceptionDef::_get_id_skel (
- TAO_ServerRequest &req,
- void *obj,
- void *context,
- CORBA::Environment &env
- )
-{
- POA_IR::Contained_ptr impl = (POA_IR::ExceptionDef_ptr) obj;
- POA_IR::Contained::_get_id_skel (
- req,
- (POA_IR::Contained_ptr) impl,
- context,
- env
- );
-}
-ACE_INLINE void POA_IR::ExceptionDef::_set_id_skel (
- TAO_ServerRequest &req,
- void *obj,
- void *context,
- CORBA::Environment &env
- )
-{
- POA_IR::Contained_ptr impl = (POA_IR::ExceptionDef_ptr) obj;
- POA_IR::Contained::_set_id_skel (
- req,
- (POA_IR::Contained_ptr) impl,
- context,
- env
- );
-}
-ACE_INLINE void POA_IR::ExceptionDef::_get_name_skel (
- TAO_ServerRequest &req,
- void *obj,
- void *context,
- CORBA::Environment &env
- )
-{
- POA_IR::Contained_ptr impl = (POA_IR::ExceptionDef_ptr) obj;
- POA_IR::Contained::_get_name_skel (
- req,
- (POA_IR::Contained_ptr) impl,
- context,
- env
- );
-}
-ACE_INLINE void POA_IR::ExceptionDef::_set_name_skel (
- TAO_ServerRequest &req,
- void *obj,
- void *context,
- CORBA::Environment &env
- )
-{
- POA_IR::Contained_ptr impl = (POA_IR::ExceptionDef_ptr) obj;
- POA_IR::Contained::_set_name_skel (
- req,
- (POA_IR::Contained_ptr) impl,
- context,
- env
- );
-}
-ACE_INLINE void POA_IR::ExceptionDef::_get_version_skel (
- TAO_ServerRequest &req,
- void *obj,
- void *context,
- CORBA::Environment &env
- )
-{
- POA_IR::Contained_ptr impl = (POA_IR::ExceptionDef_ptr) obj;
- POA_IR::Contained::_get_version_skel (
- req,
- (POA_IR::Contained_ptr) impl,
- context,
- env
- );
-}
-ACE_INLINE void POA_IR::ExceptionDef::_set_version_skel (
- TAO_ServerRequest &req,
- void *obj,
- void *context,
- CORBA::Environment &env
- )
-{
- POA_IR::Contained_ptr impl = (POA_IR::ExceptionDef_ptr) obj;
- POA_IR::Contained::_set_version_skel (
- req,
- (POA_IR::Contained_ptr) impl,
- context,
- env
- );
-}
-ACE_INLINE void POA_IR::ExceptionDef::_get_defined_in_skel (
- TAO_ServerRequest &req,
- void *obj,
- void *context,
- CORBA::Environment &env
- )
-{
- POA_IR::Contained_ptr impl = (POA_IR::ExceptionDef_ptr) obj;
- POA_IR::Contained::_get_defined_in_skel (
- req,
- (POA_IR::Contained_ptr) impl,
- context,
- env
- );
-}
-ACE_INLINE void POA_IR::ExceptionDef::_get_absolute_name_skel (
- TAO_ServerRequest &req,
- void *obj,
- void *context,
- CORBA::Environment &env
- )
-{
- POA_IR::Contained_ptr impl = (POA_IR::ExceptionDef_ptr) obj;
- POA_IR::Contained::_get_absolute_name_skel (
- req,
- (POA_IR::Contained_ptr) impl,
- context,
- env
- );
-}
-ACE_INLINE void POA_IR::ExceptionDef::_get_containing_repository_skel (
- TAO_ServerRequest &req,
- void *obj,
- void *context,
- CORBA::Environment &env
- )
-{
- POA_IR::Contained_ptr impl = (POA_IR::ExceptionDef_ptr) obj;
- POA_IR::Contained::_get_containing_repository_skel (
- req,
- (POA_IR::Contained_ptr) impl,
- context,
- env
- );
-}
-ACE_INLINE void POA_IR::ExceptionDef::describe_skel (
- TAO_ServerRequest &req,
- void *obj,
- void *context,
- CORBA::Environment &env
- )
-{
- POA_IR::Contained_ptr impl = (POA_IR::ExceptionDef_ptr) obj;
- POA_IR::Contained::describe_skel (
- req,
- (POA_IR::Contained_ptr) impl,
- context,
- env
- );
-}
-ACE_INLINE void POA_IR::ExceptionDef::move_skel (
- TAO_ServerRequest &req,
- void *obj,
- void *context,
- CORBA::Environment &env
- )
-{
- POA_IR::Contained_ptr impl = (POA_IR::ExceptionDef_ptr) obj;
- POA_IR::Contained::move_skel (
- req,
- (POA_IR::Contained_ptr) impl,
- context,
- env
- );
-}
-ACE_INLINE void POA_IR::ExceptionDef::lookup_skel (
- TAO_ServerRequest &req,
- void *obj,
- void *context,
- CORBA::Environment &env
- )
-{
- POA_IR::Container_ptr impl = (POA_IR::ExceptionDef_ptr) obj;
- POA_IR::Container::lookup_skel (
- req,
- (POA_IR::Container_ptr) impl,
- context,
- env
- );
-}
-ACE_INLINE void POA_IR::ExceptionDef::contents_skel (
- TAO_ServerRequest &req,
- void *obj,
- void *context,
- CORBA::Environment &env
- )
-{
- POA_IR::Container_ptr impl = (POA_IR::ExceptionDef_ptr) obj;
- POA_IR::Container::contents_skel (
- req,
- (POA_IR::Container_ptr) impl,
- context,
- env
- );
-}
-ACE_INLINE void POA_IR::ExceptionDef::lookup_name_skel (
- TAO_ServerRequest &req,
- void *obj,
- void *context,
- CORBA::Environment &env
- )
-{
- POA_IR::Container_ptr impl = (POA_IR::ExceptionDef_ptr) obj;
- POA_IR::Container::lookup_name_skel (
- req,
- (POA_IR::Container_ptr) impl,
- context,
- env
- );
-}
-ACE_INLINE void POA_IR::ExceptionDef::describe_contents_skel (
- TAO_ServerRequest &req,
- void *obj,
- void *context,
- CORBA::Environment &env
- )
-{
- POA_IR::Container_ptr impl = (POA_IR::ExceptionDef_ptr) obj;
- POA_IR::Container::describe_contents_skel (
- req,
- (POA_IR::Container_ptr) impl,
- context,
- env
- );
-}
-ACE_INLINE void POA_IR::ExceptionDef::create_module_skel (
- TAO_ServerRequest &req,
- void *obj,
- void *context,
- CORBA::Environment &env
- )
-{
- POA_IR::Container_ptr impl = (POA_IR::ExceptionDef_ptr) obj;
- POA_IR::Container::create_module_skel (
- req,
- (POA_IR::Container_ptr) impl,
- context,
- env
- );
-}
-ACE_INLINE void POA_IR::ExceptionDef::create_constant_skel (
- TAO_ServerRequest &req,
- void *obj,
- void *context,
- CORBA::Environment &env
- )
-{
- POA_IR::Container_ptr impl = (POA_IR::ExceptionDef_ptr) obj;
- POA_IR::Container::create_constant_skel (
- req,
- (POA_IR::Container_ptr) impl,
- context,
- env
- );
-}
-ACE_INLINE void POA_IR::ExceptionDef::create_struct_skel (
- TAO_ServerRequest &req,
- void *obj,
- void *context,
- CORBA::Environment &env
- )
-{
- POA_IR::Container_ptr impl = (POA_IR::ExceptionDef_ptr) obj;
- POA_IR::Container::create_struct_skel (
- req,
- (POA_IR::Container_ptr) impl,
- context,
- env
- );
-}
-ACE_INLINE void POA_IR::ExceptionDef::create_union_skel (
- TAO_ServerRequest &req,
- void *obj,
- void *context,
- CORBA::Environment &env
- )
-{
- POA_IR::Container_ptr impl = (POA_IR::ExceptionDef_ptr) obj;
- POA_IR::Container::create_union_skel (
- req,
- (POA_IR::Container_ptr) impl,
- context,
- env
- );
-}
-ACE_INLINE void POA_IR::ExceptionDef::create_enum_skel (
- TAO_ServerRequest &req,
- void *obj,
- void *context,
- CORBA::Environment &env
- )
-{
- POA_IR::Container_ptr impl = (POA_IR::ExceptionDef_ptr) obj;
- POA_IR::Container::create_enum_skel (
- req,
- (POA_IR::Container_ptr) impl,
- context,
- env
- );
-}
-ACE_INLINE void POA_IR::ExceptionDef::create_alias_skel (
- TAO_ServerRequest &req,
- void *obj,
- void *context,
- CORBA::Environment &env
- )
-{
- POA_IR::Container_ptr impl = (POA_IR::ExceptionDef_ptr) obj;
- POA_IR::Container::create_alias_skel (
- req,
- (POA_IR::Container_ptr) impl,
- context,
- env
- );
-}
-ACE_INLINE void POA_IR::ExceptionDef::create_interface_skel (
- TAO_ServerRequest &req,
- void *obj,
- void *context,
- CORBA::Environment &env
- )
-{
- POA_IR::Container_ptr impl = (POA_IR::ExceptionDef_ptr) obj;
- POA_IR::Container::create_interface_skel (
- req,
- (POA_IR::Container_ptr) impl,
- context,
- env
- );
-}
-ACE_INLINE void POA_IR::ExceptionDef::create_value_skel (
- TAO_ServerRequest &req,
- void *obj,
- void *context,
- CORBA::Environment &env
- )
-{
- POA_IR::Container_ptr impl = (POA_IR::ExceptionDef_ptr) obj;
- POA_IR::Container::create_value_skel (
- req,
- (POA_IR::Container_ptr) impl,
- context,
- env
- );
-}
-ACE_INLINE void POA_IR::ExceptionDef::create_value_box_skel (
- TAO_ServerRequest &req,
- void *obj,
- void *context,
- CORBA::Environment &env
- )
-{
- POA_IR::Container_ptr impl = (POA_IR::ExceptionDef_ptr) obj;
- POA_IR::Container::create_value_box_skel (
- req,
- (POA_IR::Container_ptr) impl,
- context,
- env
- );
-}
-ACE_INLINE void POA_IR::ExceptionDef::create_exception_skel (
- TAO_ServerRequest &req,
- void *obj,
- void *context,
- CORBA::Environment &env
- )
-{
- POA_IR::Container_ptr impl = (POA_IR::ExceptionDef_ptr) obj;
- POA_IR::Container::create_exception_skel (
- req,
- (POA_IR::Container_ptr) impl,
- context,
- env
- );
-}
-ACE_INLINE void POA_IR::ExceptionDef::create_native_skel (
- TAO_ServerRequest &req,
- void *obj,
- void *context,
- CORBA::Environment &env
- )
-{
- POA_IR::Container_ptr impl = (POA_IR::ExceptionDef_ptr) obj;
- POA_IR::Container::create_native_skel (
- req,
- (POA_IR::Container_ptr) impl,
- context,
- env
- );
-}
-ACE_INLINE void POA_IR::ExceptionDef::_get_def_kind_skel (
- TAO_ServerRequest &req,
- void *obj,
- void *context,
- CORBA::Environment &env
- )
-{
- POA_CORBA_IRObject_ptr impl = (POA_IR::ExceptionDef_ptr) obj;
- POA_CORBA_IRObject::_get_def_kind_skel (
- req,
- (POA_CORBA_IRObject_ptr) impl,
- context,
- env
- );
-}
-ACE_INLINE void POA_IR::ExceptionDef::destroy_skel (
- TAO_ServerRequest &req,
- void *obj,
- void *context,
- CORBA::Environment &env
- )
-{
- POA_CORBA_IRObject_ptr impl = (POA_IR::ExceptionDef_ptr) obj;
- POA_CORBA_IRObject::destroy_skel (
- req,
- (POA_CORBA_IRObject_ptr) impl,
- context,
- env
- );
-}
-ACE_INLINE void POA_IR::AttributeDef::_get_id_skel (
- TAO_ServerRequest &req,
- void *obj,
- void *context,
- CORBA::Environment &env
- )
-{
- POA_IR::Contained_ptr impl = (POA_IR::AttributeDef_ptr) obj;
- POA_IR::Contained::_get_id_skel (
- req,
- (POA_IR::Contained_ptr) impl,
- context,
- env
- );
-}
-ACE_INLINE void POA_IR::AttributeDef::_set_id_skel (
- TAO_ServerRequest &req,
- void *obj,
- void *context,
- CORBA::Environment &env
- )
-{
- POA_IR::Contained_ptr impl = (POA_IR::AttributeDef_ptr) obj;
- POA_IR::Contained::_set_id_skel (
- req,
- (POA_IR::Contained_ptr) impl,
- context,
- env
- );
-}
-ACE_INLINE void POA_IR::AttributeDef::_get_name_skel (
- TAO_ServerRequest &req,
- void *obj,
- void *context,
- CORBA::Environment &env
- )
-{
- POA_IR::Contained_ptr impl = (POA_IR::AttributeDef_ptr) obj;
- POA_IR::Contained::_get_name_skel (
- req,
- (POA_IR::Contained_ptr) impl,
- context,
- env
- );
-}
-ACE_INLINE void POA_IR::AttributeDef::_set_name_skel (
- TAO_ServerRequest &req,
- void *obj,
- void *context,
- CORBA::Environment &env
- )
-{
- POA_IR::Contained_ptr impl = (POA_IR::AttributeDef_ptr) obj;
- POA_IR::Contained::_set_name_skel (
- req,
- (POA_IR::Contained_ptr) impl,
- context,
- env
- );
-}
-ACE_INLINE void POA_IR::AttributeDef::_get_version_skel (
- TAO_ServerRequest &req,
- void *obj,
- void *context,
- CORBA::Environment &env
- )
-{
- POA_IR::Contained_ptr impl = (POA_IR::AttributeDef_ptr) obj;
- POA_IR::Contained::_get_version_skel (
- req,
- (POA_IR::Contained_ptr) impl,
- context,
- env
- );
-}
-ACE_INLINE void POA_IR::AttributeDef::_set_version_skel (
- TAO_ServerRequest &req,
- void *obj,
- void *context,
- CORBA::Environment &env
- )
-{
- POA_IR::Contained_ptr impl = (POA_IR::AttributeDef_ptr) obj;
- POA_IR::Contained::_set_version_skel (
- req,
- (POA_IR::Contained_ptr) impl,
- context,
- env
- );
-}
-ACE_INLINE void POA_IR::AttributeDef::_get_defined_in_skel (
- TAO_ServerRequest &req,
- void *obj,
- void *context,
- CORBA::Environment &env
- )
-{
- POA_IR::Contained_ptr impl = (POA_IR::AttributeDef_ptr) obj;
- POA_IR::Contained::_get_defined_in_skel (
- req,
- (POA_IR::Contained_ptr) impl,
- context,
- env
- );
-}
-ACE_INLINE void POA_IR::AttributeDef::_get_absolute_name_skel (
- TAO_ServerRequest &req,
- void *obj,
- void *context,
- CORBA::Environment &env
- )
-{
- POA_IR::Contained_ptr impl = (POA_IR::AttributeDef_ptr) obj;
- POA_IR::Contained::_get_absolute_name_skel (
- req,
- (POA_IR::Contained_ptr) impl,
- context,
- env
- );
-}
-ACE_INLINE void POA_IR::AttributeDef::_get_containing_repository_skel (
- TAO_ServerRequest &req,
- void *obj,
- void *context,
- CORBA::Environment &env
- )
-{
- POA_IR::Contained_ptr impl = (POA_IR::AttributeDef_ptr) obj;
- POA_IR::Contained::_get_containing_repository_skel (
- req,
- (POA_IR::Contained_ptr) impl,
- context,
- env
- );
-}
-ACE_INLINE void POA_IR::AttributeDef::describe_skel (
- TAO_ServerRequest &req,
- void *obj,
- void *context,
- CORBA::Environment &env
- )
-{
- POA_IR::Contained_ptr impl = (POA_IR::AttributeDef_ptr) obj;
- POA_IR::Contained::describe_skel (
- req,
- (POA_IR::Contained_ptr) impl,
- context,
- env
- );
-}
-ACE_INLINE void POA_IR::AttributeDef::move_skel (
- TAO_ServerRequest &req,
- void *obj,
- void *context,
- CORBA::Environment &env
- )
-{
- POA_IR::Contained_ptr impl = (POA_IR::AttributeDef_ptr) obj;
- POA_IR::Contained::move_skel (
- req,
- (POA_IR::Contained_ptr) impl,
- context,
- env
- );
-}
-ACE_INLINE void POA_IR::AttributeDef::_get_def_kind_skel (
- TAO_ServerRequest &req,
- void *obj,
- void *context,
- CORBA::Environment &env
- )
-{
- POA_CORBA_IRObject_ptr impl = (POA_IR::AttributeDef_ptr) obj;
- POA_CORBA_IRObject::_get_def_kind_skel (
- req,
- (POA_CORBA_IRObject_ptr) impl,
- context,
- env
- );
-}
-ACE_INLINE void POA_IR::AttributeDef::destroy_skel (
- TAO_ServerRequest &req,
- void *obj,
- void *context,
- CORBA::Environment &env
- )
-{
- POA_CORBA_IRObject_ptr impl = (POA_IR::AttributeDef_ptr) obj;
- POA_CORBA_IRObject::destroy_skel (
- req,
- (POA_CORBA_IRObject_ptr) impl,
- context,
- env
- );
-}
-ACE_INLINE void POA_IR::OperationDef::_get_id_skel (
- TAO_ServerRequest &req,
- void *obj,
- void *context,
- CORBA::Environment &env
- )
-{
- POA_IR::Contained_ptr impl = (POA_IR::OperationDef_ptr) obj;
- POA_IR::Contained::_get_id_skel (
- req,
- (POA_IR::Contained_ptr) impl,
- context,
- env
- );
-}
-ACE_INLINE void POA_IR::OperationDef::_set_id_skel (
- TAO_ServerRequest &req,
- void *obj,
- void *context,
- CORBA::Environment &env
- )
-{
- POA_IR::Contained_ptr impl = (POA_IR::OperationDef_ptr) obj;
- POA_IR::Contained::_set_id_skel (
- req,
- (POA_IR::Contained_ptr) impl,
- context,
- env
- );
-}
-ACE_INLINE void POA_IR::OperationDef::_get_name_skel (
- TAO_ServerRequest &req,
- void *obj,
- void *context,
- CORBA::Environment &env
- )
-{
- POA_IR::Contained_ptr impl = (POA_IR::OperationDef_ptr) obj;
- POA_IR::Contained::_get_name_skel (
- req,
- (POA_IR::Contained_ptr) impl,
- context,
- env
- );
-}
-ACE_INLINE void POA_IR::OperationDef::_set_name_skel (
- TAO_ServerRequest &req,
- void *obj,
- void *context,
- CORBA::Environment &env
- )
-{
- POA_IR::Contained_ptr impl = (POA_IR::OperationDef_ptr) obj;
- POA_IR::Contained::_set_name_skel (
- req,
- (POA_IR::Contained_ptr) impl,
- context,
- env
- );
-}
-ACE_INLINE void POA_IR::OperationDef::_get_version_skel (
- TAO_ServerRequest &req,
- void *obj,
- void *context,
- CORBA::Environment &env
- )
-{
- POA_IR::Contained_ptr impl = (POA_IR::OperationDef_ptr) obj;
- POA_IR::Contained::_get_version_skel (
- req,
- (POA_IR::Contained_ptr) impl,
- context,
- env
- );
-}
-ACE_INLINE void POA_IR::OperationDef::_set_version_skel (
- TAO_ServerRequest &req,
- void *obj,
- void *context,
- CORBA::Environment &env
- )
-{
- POA_IR::Contained_ptr impl = (POA_IR::OperationDef_ptr) obj;
- POA_IR::Contained::_set_version_skel (
- req,
- (POA_IR::Contained_ptr) impl,
- context,
- env
- );
-}
-ACE_INLINE void POA_IR::OperationDef::_get_defined_in_skel (
- TAO_ServerRequest &req,
- void *obj,
- void *context,
- CORBA::Environment &env
- )
-{
- POA_IR::Contained_ptr impl = (POA_IR::OperationDef_ptr) obj;
- POA_IR::Contained::_get_defined_in_skel (
- req,
- (POA_IR::Contained_ptr) impl,
- context,
- env
- );
-}
-ACE_INLINE void POA_IR::OperationDef::_get_absolute_name_skel (
- TAO_ServerRequest &req,
- void *obj,
- void *context,
- CORBA::Environment &env
- )
-{
- POA_IR::Contained_ptr impl = (POA_IR::OperationDef_ptr) obj;
- POA_IR::Contained::_get_absolute_name_skel (
- req,
- (POA_IR::Contained_ptr) impl,
- context,
- env
- );
-}
-ACE_INLINE void POA_IR::OperationDef::_get_containing_repository_skel (
- TAO_ServerRequest &req,
- void *obj,
- void *context,
- CORBA::Environment &env
- )
-{
- POA_IR::Contained_ptr impl = (POA_IR::OperationDef_ptr) obj;
- POA_IR::Contained::_get_containing_repository_skel (
- req,
- (POA_IR::Contained_ptr) impl,
- context,
- env
- );
-}
-ACE_INLINE void POA_IR::OperationDef::describe_skel (
- TAO_ServerRequest &req,
- void *obj,
- void *context,
- CORBA::Environment &env
- )
-{
- POA_IR::Contained_ptr impl = (POA_IR::OperationDef_ptr) obj;
- POA_IR::Contained::describe_skel (
- req,
- (POA_IR::Contained_ptr) impl,
- context,
- env
- );
-}
-ACE_INLINE void POA_IR::OperationDef::move_skel (
- TAO_ServerRequest &req,
- void *obj,
- void *context,
- CORBA::Environment &env
- )
-{
- POA_IR::Contained_ptr impl = (POA_IR::OperationDef_ptr) obj;
- POA_IR::Contained::move_skel (
- req,
- (POA_IR::Contained_ptr) impl,
- context,
- env
- );
-}
-ACE_INLINE void POA_IR::OperationDef::_get_def_kind_skel (
- TAO_ServerRequest &req,
- void *obj,
- void *context,
- CORBA::Environment &env
- )
-{
- POA_CORBA_IRObject_ptr impl = (POA_IR::OperationDef_ptr) obj;
- POA_CORBA_IRObject::_get_def_kind_skel (
- req,
- (POA_CORBA_IRObject_ptr) impl,
- context,
- env
- );
-}
-ACE_INLINE void POA_IR::OperationDef::destroy_skel (
- TAO_ServerRequest &req,
- void *obj,
- void *context,
- CORBA::Environment &env
- )
-{
- POA_CORBA_IRObject_ptr impl = (POA_IR::OperationDef_ptr) obj;
- POA_CORBA_IRObject::destroy_skel (
- req,
- (POA_CORBA_IRObject_ptr) impl,
- context,
- env
- );
-}
-ACE_INLINE void POA_IR::InterfaceDef::lookup_skel (
- TAO_ServerRequest &req,
- void *obj,
- void *context,
- CORBA::Environment &env
- )
-{
- POA_IR::Container_ptr impl = (POA_IR::InterfaceDef_ptr) obj;
- POA_IR::Container::lookup_skel (
- req,
- (POA_IR::Container_ptr) impl,
- context,
- env
- );
-}
-ACE_INLINE void POA_IR::InterfaceDef::contents_skel (
- TAO_ServerRequest &req,
- void *obj,
- void *context,
- CORBA::Environment &env
- )
-{
- POA_IR::Container_ptr impl = (POA_IR::InterfaceDef_ptr) obj;
- POA_IR::Container::contents_skel (
- req,
- (POA_IR::Container_ptr) impl,
- context,
- env
- );
-}
-ACE_INLINE void POA_IR::InterfaceDef::lookup_name_skel (
- TAO_ServerRequest &req,
- void *obj,
- void *context,
- CORBA::Environment &env
- )
-{
- POA_IR::Container_ptr impl = (POA_IR::InterfaceDef_ptr) obj;
- POA_IR::Container::lookup_name_skel (
- req,
- (POA_IR::Container_ptr) impl,
- context,
- env
- );
-}
-ACE_INLINE void POA_IR::InterfaceDef::describe_contents_skel (
- TAO_ServerRequest &req,
- void *obj,
- void *context,
- CORBA::Environment &env
- )
-{
- POA_IR::Container_ptr impl = (POA_IR::InterfaceDef_ptr) obj;
- POA_IR::Container::describe_contents_skel (
- req,
- (POA_IR::Container_ptr) impl,
- context,
- env
- );
-}
-ACE_INLINE void POA_IR::InterfaceDef::create_module_skel (
- TAO_ServerRequest &req,
- void *obj,
- void *context,
- CORBA::Environment &env
- )
-{
- POA_IR::Container_ptr impl = (POA_IR::InterfaceDef_ptr) obj;
- POA_IR::Container::create_module_skel (
- req,
- (POA_IR::Container_ptr) impl,
- context,
- env
- );
-}
-ACE_INLINE void POA_IR::InterfaceDef::create_constant_skel (
- TAO_ServerRequest &req,
- void *obj,
- void *context,
- CORBA::Environment &env
- )
-{
- POA_IR::Container_ptr impl = (POA_IR::InterfaceDef_ptr) obj;
- POA_IR::Container::create_constant_skel (
- req,
- (POA_IR::Container_ptr) impl,
- context,
- env
- );
-}
-ACE_INLINE void POA_IR::InterfaceDef::create_struct_skel (
- TAO_ServerRequest &req,
- void *obj,
- void *context,
- CORBA::Environment &env
- )
-{
- POA_IR::Container_ptr impl = (POA_IR::InterfaceDef_ptr) obj;
- POA_IR::Container::create_struct_skel (
- req,
- (POA_IR::Container_ptr) impl,
- context,
- env
- );
-}
-ACE_INLINE void POA_IR::InterfaceDef::create_union_skel (
- TAO_ServerRequest &req,
- void *obj,
- void *context,
- CORBA::Environment &env
- )
-{
- POA_IR::Container_ptr impl = (POA_IR::InterfaceDef_ptr) obj;
- POA_IR::Container::create_union_skel (
- req,
- (POA_IR::Container_ptr) impl,
- context,
- env
- );
-}
-ACE_INLINE void POA_IR::InterfaceDef::create_enum_skel (
- TAO_ServerRequest &req,
- void *obj,
- void *context,
- CORBA::Environment &env
- )
-{
- POA_IR::Container_ptr impl = (POA_IR::InterfaceDef_ptr) obj;
- POA_IR::Container::create_enum_skel (
- req,
- (POA_IR::Container_ptr) impl,
- context,
- env
- );
-}
-ACE_INLINE void POA_IR::InterfaceDef::create_alias_skel (
- TAO_ServerRequest &req,
- void *obj,
- void *context,
- CORBA::Environment &env
- )
-{
- POA_IR::Container_ptr impl = (POA_IR::InterfaceDef_ptr) obj;
- POA_IR::Container::create_alias_skel (
- req,
- (POA_IR::Container_ptr) impl,
- context,
- env
- );
-}
-ACE_INLINE void POA_IR::InterfaceDef::create_interface_skel (
- TAO_ServerRequest &req,
- void *obj,
- void *context,
- CORBA::Environment &env
- )
-{
- POA_IR::Container_ptr impl = (POA_IR::InterfaceDef_ptr) obj;
- POA_IR::Container::create_interface_skel (
- req,
- (POA_IR::Container_ptr) impl,
- context,
- env
- );
-}
-ACE_INLINE void POA_IR::InterfaceDef::create_value_skel (
- TAO_ServerRequest &req,
- void *obj,
- void *context,
- CORBA::Environment &env
- )
-{
- POA_IR::Container_ptr impl = (POA_IR::InterfaceDef_ptr) obj;
- POA_IR::Container::create_value_skel (
- req,
- (POA_IR::Container_ptr) impl,
- context,
- env
- );
-}
-ACE_INLINE void POA_IR::InterfaceDef::create_value_box_skel (
- TAO_ServerRequest &req,
- void *obj,
- void *context,
- CORBA::Environment &env
- )
-{
- POA_IR::Container_ptr impl = (POA_IR::InterfaceDef_ptr) obj;
- POA_IR::Container::create_value_box_skel (
- req,
- (POA_IR::Container_ptr) impl,
- context,
- env
- );
-}
-ACE_INLINE void POA_IR::InterfaceDef::create_exception_skel (
- TAO_ServerRequest &req,
- void *obj,
- void *context,
- CORBA::Environment &env
- )
-{
- POA_IR::Container_ptr impl = (POA_IR::InterfaceDef_ptr) obj;
- POA_IR::Container::create_exception_skel (
- req,
- (POA_IR::Container_ptr) impl,
- context,
- env
- );
-}
-ACE_INLINE void POA_IR::InterfaceDef::create_native_skel (
- TAO_ServerRequest &req,
- void *obj,
- void *context,
- CORBA::Environment &env
- )
-{
- POA_IR::Container_ptr impl = (POA_IR::InterfaceDef_ptr) obj;
- POA_IR::Container::create_native_skel (
- req,
- (POA_IR::Container_ptr) impl,
- context,
- env
- );
-}
-ACE_INLINE void POA_IR::InterfaceDef::_get_id_skel (
- TAO_ServerRequest &req,
- void *obj,
- void *context,
- CORBA::Environment &env
- )
-{
- POA_IR::Contained_ptr impl = (POA_IR::InterfaceDef_ptr) obj;
- POA_IR::Contained::_get_id_skel (
- req,
- (POA_IR::Contained_ptr) impl,
- context,
- env
- );
-}
-ACE_INLINE void POA_IR::InterfaceDef::_set_id_skel (
- TAO_ServerRequest &req,
- void *obj,
- void *context,
- CORBA::Environment &env
- )
-{
- POA_IR::Contained_ptr impl = (POA_IR::InterfaceDef_ptr) obj;
- POA_IR::Contained::_set_id_skel (
- req,
- (POA_IR::Contained_ptr) impl,
- context,
- env
- );
-}
-ACE_INLINE void POA_IR::InterfaceDef::_get_name_skel (
- TAO_ServerRequest &req,
- void *obj,
- void *context,
- CORBA::Environment &env
- )
-{
- POA_IR::Contained_ptr impl = (POA_IR::InterfaceDef_ptr) obj;
- POA_IR::Contained::_get_name_skel (
- req,
- (POA_IR::Contained_ptr) impl,
- context,
- env
- );
-}
-ACE_INLINE void POA_IR::InterfaceDef::_set_name_skel (
- TAO_ServerRequest &req,
- void *obj,
- void *context,
- CORBA::Environment &env
- )
-{
- POA_IR::Contained_ptr impl = (POA_IR::InterfaceDef_ptr) obj;
- POA_IR::Contained::_set_name_skel (
- req,
- (POA_IR::Contained_ptr) impl,
- context,
- env
- );
-}
-ACE_INLINE void POA_IR::InterfaceDef::_get_version_skel (
- TAO_ServerRequest &req,
- void *obj,
- void *context,
- CORBA::Environment &env
- )
-{
- POA_IR::Contained_ptr impl = (POA_IR::InterfaceDef_ptr) obj;
- POA_IR::Contained::_get_version_skel (
- req,
- (POA_IR::Contained_ptr) impl,
- context,
- env
- );
-}
-ACE_INLINE void POA_IR::InterfaceDef::_set_version_skel (
- TAO_ServerRequest &req,
- void *obj,
- void *context,
- CORBA::Environment &env
- )
-{
- POA_IR::Contained_ptr impl = (POA_IR::InterfaceDef_ptr) obj;
- POA_IR::Contained::_set_version_skel (
- req,
- (POA_IR::Contained_ptr) impl,
- context,
- env
- );
-}
-ACE_INLINE void POA_IR::InterfaceDef::_get_defined_in_skel (
- TAO_ServerRequest &req,
- void *obj,
- void *context,
- CORBA::Environment &env
- )
-{
- POA_IR::Contained_ptr impl = (POA_IR::InterfaceDef_ptr) obj;
- POA_IR::Contained::_get_defined_in_skel (
- req,
- (POA_IR::Contained_ptr) impl,
- context,
- env
- );
-}
-ACE_INLINE void POA_IR::InterfaceDef::_get_absolute_name_skel (
- TAO_ServerRequest &req,
- void *obj,
- void *context,
- CORBA::Environment &env
- )
-{
- POA_IR::Contained_ptr impl = (POA_IR::InterfaceDef_ptr) obj;
- POA_IR::Contained::_get_absolute_name_skel (
- req,
- (POA_IR::Contained_ptr) impl,
- context,
- env
- );
-}
-ACE_INLINE void POA_IR::InterfaceDef::_get_containing_repository_skel (
- TAO_ServerRequest &req,
- void *obj,
- void *context,
- CORBA::Environment &env
- )
-{
- POA_IR::Contained_ptr impl = (POA_IR::InterfaceDef_ptr) obj;
- POA_IR::Contained::_get_containing_repository_skel (
- req,
- (POA_IR::Contained_ptr) impl,
- context,
- env
- );
-}
-ACE_INLINE void POA_IR::InterfaceDef::describe_skel (
- TAO_ServerRequest &req,
- void *obj,
- void *context,
- CORBA::Environment &env
- )
-{
- POA_IR::Contained_ptr impl = (POA_IR::InterfaceDef_ptr) obj;
- POA_IR::Contained::describe_skel (
- req,
- (POA_IR::Contained_ptr) impl,
- context,
- env
- );
-}
-ACE_INLINE void POA_IR::InterfaceDef::move_skel (
- TAO_ServerRequest &req,
- void *obj,
- void *context,
- CORBA::Environment &env
- )
-{
- POA_IR::Contained_ptr impl = (POA_IR::InterfaceDef_ptr) obj;
- POA_IR::Contained::move_skel (
- req,
- (POA_IR::Contained_ptr) impl,
- context,
- env
- );
-}
-ACE_INLINE void POA_IR::InterfaceDef::_get_type_skel (
- TAO_ServerRequest &req,
- void *obj,
- void *context,
- CORBA::Environment &env
- )
-{
- POA_IR::IDLType_ptr impl = (POA_IR::InterfaceDef_ptr) obj;
- POA_IR::IDLType::_get_type_skel (
- req,
- (POA_IR::IDLType_ptr) impl,
- context,
- env
- );
-}
-ACE_INLINE void POA_IR::InterfaceDef::_get_def_kind_skel (
- TAO_ServerRequest &req,
- void *obj,
- void *context,
- CORBA::Environment &env
- )
-{
- POA_CORBA_IRObject_ptr impl = (POA_IR::InterfaceDef_ptr) obj;
- POA_CORBA_IRObject::_get_def_kind_skel (
- req,
- (POA_CORBA_IRObject_ptr) impl,
- context,
- env
- );
-}
-ACE_INLINE void POA_IR::InterfaceDef::destroy_skel (
- TAO_ServerRequest &req,
- void *obj,
- void *context,
- CORBA::Environment &env
- )
-{
- POA_CORBA_IRObject_ptr impl = (POA_IR::InterfaceDef_ptr) obj;
- POA_CORBA_IRObject::destroy_skel (
- req,
- (POA_CORBA_IRObject_ptr) impl,
- context,
- env
- );
-}
-ACE_INLINE void POA_IR::ValueMemberDef::_get_id_skel (
- TAO_ServerRequest &req,
- void *obj,
- void *context,
- CORBA::Environment &env
- )
-{
- POA_IR::Contained_ptr impl = (POA_IR::ValueMemberDef_ptr) obj;
- POA_IR::Contained::_get_id_skel (
- req,
- (POA_IR::Contained_ptr) impl,
- context,
- env
- );
-}
-ACE_INLINE void POA_IR::ValueMemberDef::_set_id_skel (
- TAO_ServerRequest &req,
- void *obj,
- void *context,
- CORBA::Environment &env
- )
-{
- POA_IR::Contained_ptr impl = (POA_IR::ValueMemberDef_ptr) obj;
- POA_IR::Contained::_set_id_skel (
- req,
- (POA_IR::Contained_ptr) impl,
- context,
- env
- );
-}
-ACE_INLINE void POA_IR::ValueMemberDef::_get_name_skel (
- TAO_ServerRequest &req,
- void *obj,
- void *context,
- CORBA::Environment &env
- )
-{
- POA_IR::Contained_ptr impl = (POA_IR::ValueMemberDef_ptr) obj;
- POA_IR::Contained::_get_name_skel (
- req,
- (POA_IR::Contained_ptr) impl,
- context,
- env
- );
-}
-ACE_INLINE void POA_IR::ValueMemberDef::_set_name_skel (
- TAO_ServerRequest &req,
- void *obj,
- void *context,
- CORBA::Environment &env
- )
-{
- POA_IR::Contained_ptr impl = (POA_IR::ValueMemberDef_ptr) obj;
- POA_IR::Contained::_set_name_skel (
- req,
- (POA_IR::Contained_ptr) impl,
- context,
- env
- );
-}
-ACE_INLINE void POA_IR::ValueMemberDef::_get_version_skel (
- TAO_ServerRequest &req,
- void *obj,
- void *context,
- CORBA::Environment &env
- )
-{
- POA_IR::Contained_ptr impl = (POA_IR::ValueMemberDef_ptr) obj;
- POA_IR::Contained::_get_version_skel (
- req,
- (POA_IR::Contained_ptr) impl,
- context,
- env
- );
-}
-ACE_INLINE void POA_IR::ValueMemberDef::_set_version_skel (
- TAO_ServerRequest &req,
- void *obj,
- void *context,
- CORBA::Environment &env
- )
-{
- POA_IR::Contained_ptr impl = (POA_IR::ValueMemberDef_ptr) obj;
- POA_IR::Contained::_set_version_skel (
- req,
- (POA_IR::Contained_ptr) impl,
- context,
- env
- );
-}
-ACE_INLINE void POA_IR::ValueMemberDef::_get_defined_in_skel (
- TAO_ServerRequest &req,
- void *obj,
- void *context,
- CORBA::Environment &env
- )
-{
- POA_IR::Contained_ptr impl = (POA_IR::ValueMemberDef_ptr) obj;
- POA_IR::Contained::_get_defined_in_skel (
- req,
- (POA_IR::Contained_ptr) impl,
- context,
- env
- );
-}
-ACE_INLINE void POA_IR::ValueMemberDef::_get_absolute_name_skel (
- TAO_ServerRequest &req,
- void *obj,
- void *context,
- CORBA::Environment &env
- )
-{
- POA_IR::Contained_ptr impl = (POA_IR::ValueMemberDef_ptr) obj;
- POA_IR::Contained::_get_absolute_name_skel (
- req,
- (POA_IR::Contained_ptr) impl,
- context,
- env
- );
-}
-ACE_INLINE void POA_IR::ValueMemberDef::_get_containing_repository_skel (
- TAO_ServerRequest &req,
- void *obj,
- void *context,
- CORBA::Environment &env
- )
-{
- POA_IR::Contained_ptr impl = (POA_IR::ValueMemberDef_ptr) obj;
- POA_IR::Contained::_get_containing_repository_skel (
- req,
- (POA_IR::Contained_ptr) impl,
- context,
- env
- );
-}
-ACE_INLINE void POA_IR::ValueMemberDef::describe_skel (
- TAO_ServerRequest &req,
- void *obj,
- void *context,
- CORBA::Environment &env
- )
-{
- POA_IR::Contained_ptr impl = (POA_IR::ValueMemberDef_ptr) obj;
- POA_IR::Contained::describe_skel (
- req,
- (POA_IR::Contained_ptr) impl,
- context,
- env
- );
-}
-ACE_INLINE void POA_IR::ValueMemberDef::move_skel (
- TAO_ServerRequest &req,
- void *obj,
- void *context,
- CORBA::Environment &env
- )
-{
- POA_IR::Contained_ptr impl = (POA_IR::ValueMemberDef_ptr) obj;
- POA_IR::Contained::move_skel (
- req,
- (POA_IR::Contained_ptr) impl,
- context,
- env
- );
-}
-ACE_INLINE void POA_IR::ValueMemberDef::_get_def_kind_skel (
- TAO_ServerRequest &req,
- void *obj,
- void *context,
- CORBA::Environment &env
- )
-{
- POA_CORBA_IRObject_ptr impl = (POA_IR::ValueMemberDef_ptr) obj;
- POA_CORBA_IRObject::_get_def_kind_skel (
- req,
- (POA_CORBA_IRObject_ptr) impl,
- context,
- env
- );
-}
-ACE_INLINE void POA_IR::ValueMemberDef::destroy_skel (
- TAO_ServerRequest &req,
- void *obj,
- void *context,
- CORBA::Environment &env
- )
-{
- POA_CORBA_IRObject_ptr impl = (POA_IR::ValueMemberDef_ptr) obj;
- POA_CORBA_IRObject::destroy_skel (
- req,
- (POA_CORBA_IRObject_ptr) impl,
- context,
- env
- );
-}
-ACE_INLINE void POA_IR::ValueDef::lookup_skel (
- TAO_ServerRequest &req,
- void *obj,
- void *context,
- CORBA::Environment &env
- )
-{
- POA_IR::Container_ptr impl = (POA_IR::ValueDef_ptr) obj;
- POA_IR::Container::lookup_skel (
- req,
- (POA_IR::Container_ptr) impl,
- context,
- env
- );
-}
-ACE_INLINE void POA_IR::ValueDef::contents_skel (
- TAO_ServerRequest &req,
- void *obj,
- void *context,
- CORBA::Environment &env
- )
-{
- POA_IR::Container_ptr impl = (POA_IR::ValueDef_ptr) obj;
- POA_IR::Container::contents_skel (
- req,
- (POA_IR::Container_ptr) impl,
- context,
- env
- );
-}
-ACE_INLINE void POA_IR::ValueDef::lookup_name_skel (
- TAO_ServerRequest &req,
- void *obj,
- void *context,
- CORBA::Environment &env
- )
-{
- POA_IR::Container_ptr impl = (POA_IR::ValueDef_ptr) obj;
- POA_IR::Container::lookup_name_skel (
- req,
- (POA_IR::Container_ptr) impl,
- context,
- env
- );
-}
-ACE_INLINE void POA_IR::ValueDef::describe_contents_skel (
- TAO_ServerRequest &req,
- void *obj,
- void *context,
- CORBA::Environment &env
- )
-{
- POA_IR::Container_ptr impl = (POA_IR::ValueDef_ptr) obj;
- POA_IR::Container::describe_contents_skel (
- req,
- (POA_IR::Container_ptr) impl,
- context,
- env
- );
-}
-ACE_INLINE void POA_IR::ValueDef::create_module_skel (
- TAO_ServerRequest &req,
- void *obj,
- void *context,
- CORBA::Environment &env
- )
-{
- POA_IR::Container_ptr impl = (POA_IR::ValueDef_ptr) obj;
- POA_IR::Container::create_module_skel (
- req,
- (POA_IR::Container_ptr) impl,
- context,
- env
- );
-}
-ACE_INLINE void POA_IR::ValueDef::create_constant_skel (
- TAO_ServerRequest &req,
- void *obj,
- void *context,
- CORBA::Environment &env
- )
-{
- POA_IR::Container_ptr impl = (POA_IR::ValueDef_ptr) obj;
- POA_IR::Container::create_constant_skel (
- req,
- (POA_IR::Container_ptr) impl,
- context,
- env
- );
-}
-ACE_INLINE void POA_IR::ValueDef::create_struct_skel (
- TAO_ServerRequest &req,
- void *obj,
- void *context,
- CORBA::Environment &env
- )
-{
- POA_IR::Container_ptr impl = (POA_IR::ValueDef_ptr) obj;
- POA_IR::Container::create_struct_skel (
- req,
- (POA_IR::Container_ptr) impl,
- context,
- env
- );
-}
-ACE_INLINE void POA_IR::ValueDef::create_union_skel (
- TAO_ServerRequest &req,
- void *obj,
- void *context,
- CORBA::Environment &env
- )
-{
- POA_IR::Container_ptr impl = (POA_IR::ValueDef_ptr) obj;
- POA_IR::Container::create_union_skel (
- req,
- (POA_IR::Container_ptr) impl,
- context,
- env
- );
-}
-ACE_INLINE void POA_IR::ValueDef::create_enum_skel (
- TAO_ServerRequest &req,
- void *obj,
- void *context,
- CORBA::Environment &env
- )
-{
- POA_IR::Container_ptr impl = (POA_IR::ValueDef_ptr) obj;
- POA_IR::Container::create_enum_skel (
- req,
- (POA_IR::Container_ptr) impl,
- context,
- env
- );
-}
-ACE_INLINE void POA_IR::ValueDef::create_alias_skel (
- TAO_ServerRequest &req,
- void *obj,
- void *context,
- CORBA::Environment &env
- )
-{
- POA_IR::Container_ptr impl = (POA_IR::ValueDef_ptr) obj;
- POA_IR::Container::create_alias_skel (
- req,
- (POA_IR::Container_ptr) impl,
- context,
- env
- );
-}
-ACE_INLINE void POA_IR::ValueDef::create_interface_skel (
- TAO_ServerRequest &req,
- void *obj,
- void *context,
- CORBA::Environment &env
- )
-{
- POA_IR::Container_ptr impl = (POA_IR::ValueDef_ptr) obj;
- POA_IR::Container::create_interface_skel (
- req,
- (POA_IR::Container_ptr) impl,
- context,
- env
- );
-}
-ACE_INLINE void POA_IR::ValueDef::create_value_skel (
- TAO_ServerRequest &req,
- void *obj,
- void *context,
- CORBA::Environment &env
- )
-{
- POA_IR::Container_ptr impl = (POA_IR::ValueDef_ptr) obj;
- POA_IR::Container::create_value_skel (
- req,
- (POA_IR::Container_ptr) impl,
- context,
- env
- );
-}
-ACE_INLINE void POA_IR::ValueDef::create_value_box_skel (
- TAO_ServerRequest &req,
- void *obj,
- void *context,
- CORBA::Environment &env
- )
-{
- POA_IR::Container_ptr impl = (POA_IR::ValueDef_ptr) obj;
- POA_IR::Container::create_value_box_skel (
- req,
- (POA_IR::Container_ptr) impl,
- context,
- env
- );
-}
-ACE_INLINE void POA_IR::ValueDef::create_exception_skel (
- TAO_ServerRequest &req,
- void *obj,
- void *context,
- CORBA::Environment &env
- )
-{
- POA_IR::Container_ptr impl = (POA_IR::ValueDef_ptr) obj;
- POA_IR::Container::create_exception_skel (
- req,
- (POA_IR::Container_ptr) impl,
- context,
- env
- );
-}
-ACE_INLINE void POA_IR::ValueDef::create_native_skel (
- TAO_ServerRequest &req,
- void *obj,
- void *context,
- CORBA::Environment &env
- )
-{
- POA_IR::Container_ptr impl = (POA_IR::ValueDef_ptr) obj;
- POA_IR::Container::create_native_skel (
- req,
- (POA_IR::Container_ptr) impl,
- context,
- env
- );
-}
-ACE_INLINE void POA_IR::ValueDef::_get_id_skel (
- TAO_ServerRequest &req,
- void *obj,
- void *context,
- CORBA::Environment &env
- )
-{
- POA_IR::Contained_ptr impl = (POA_IR::ValueDef_ptr) obj;
- POA_IR::Contained::_get_id_skel (
- req,
- (POA_IR::Contained_ptr) impl,
- context,
- env
- );
-}
-ACE_INLINE void POA_IR::ValueDef::_set_id_skel (
- TAO_ServerRequest &req,
- void *obj,
- void *context,
- CORBA::Environment &env
- )
-{
- POA_IR::Contained_ptr impl = (POA_IR::ValueDef_ptr) obj;
- POA_IR::Contained::_set_id_skel (
- req,
- (POA_IR::Contained_ptr) impl,
- context,
- env
- );
-}
-ACE_INLINE void POA_IR::ValueDef::_get_name_skel (
- TAO_ServerRequest &req,
- void *obj,
- void *context,
- CORBA::Environment &env
- )
-{
- POA_IR::Contained_ptr impl = (POA_IR::ValueDef_ptr) obj;
- POA_IR::Contained::_get_name_skel (
- req,
- (POA_IR::Contained_ptr) impl,
- context,
- env
- );
-}
-ACE_INLINE void POA_IR::ValueDef::_set_name_skel (
- TAO_ServerRequest &req,
- void *obj,
- void *context,
- CORBA::Environment &env
- )
-{
- POA_IR::Contained_ptr impl = (POA_IR::ValueDef_ptr) obj;
- POA_IR::Contained::_set_name_skel (
- req,
- (POA_IR::Contained_ptr) impl,
- context,
- env
- );
-}
-ACE_INLINE void POA_IR::ValueDef::_get_version_skel (
- TAO_ServerRequest &req,
- void *obj,
- void *context,
- CORBA::Environment &env
- )
-{
- POA_IR::Contained_ptr impl = (POA_IR::ValueDef_ptr) obj;
- POA_IR::Contained::_get_version_skel (
- req,
- (POA_IR::Contained_ptr) impl,
- context,
- env
- );
-}
-ACE_INLINE void POA_IR::ValueDef::_set_version_skel (
- TAO_ServerRequest &req,
- void *obj,
- void *context,
- CORBA::Environment &env
- )
-{
- POA_IR::Contained_ptr impl = (POA_IR::ValueDef_ptr) obj;
- POA_IR::Contained::_set_version_skel (
- req,
- (POA_IR::Contained_ptr) impl,
- context,
- env
- );
-}
-ACE_INLINE void POA_IR::ValueDef::_get_defined_in_skel (
- TAO_ServerRequest &req,
- void *obj,
- void *context,
- CORBA::Environment &env
- )
-{
- POA_IR::Contained_ptr impl = (POA_IR::ValueDef_ptr) obj;
- POA_IR::Contained::_get_defined_in_skel (
- req,
- (POA_IR::Contained_ptr) impl,
- context,
- env
- );
-}
-ACE_INLINE void POA_IR::ValueDef::_get_absolute_name_skel (
- TAO_ServerRequest &req,
- void *obj,
- void *context,
- CORBA::Environment &env
- )
-{
- POA_IR::Contained_ptr impl = (POA_IR::ValueDef_ptr) obj;
- POA_IR::Contained::_get_absolute_name_skel (
- req,
- (POA_IR::Contained_ptr) impl,
- context,
- env
- );
-}
-ACE_INLINE void POA_IR::ValueDef::_get_containing_repository_skel (
- TAO_ServerRequest &req,
- void *obj,
- void *context,
- CORBA::Environment &env
- )
-{
- POA_IR::Contained_ptr impl = (POA_IR::ValueDef_ptr) obj;
- POA_IR::Contained::_get_containing_repository_skel (
- req,
- (POA_IR::Contained_ptr) impl,
- context,
- env
- );
-}
-ACE_INLINE void POA_IR::ValueDef::describe_skel (
- TAO_ServerRequest &req,
- void *obj,
- void *context,
- CORBA::Environment &env
- )
-{
- POA_IR::Contained_ptr impl = (POA_IR::ValueDef_ptr) obj;
- POA_IR::Contained::describe_skel (
- req,
- (POA_IR::Contained_ptr) impl,
- context,
- env
- );
-}
-ACE_INLINE void POA_IR::ValueDef::move_skel (
- TAO_ServerRequest &req,
- void *obj,
- void *context,
- CORBA::Environment &env
- )
-{
- POA_IR::Contained_ptr impl = (POA_IR::ValueDef_ptr) obj;
- POA_IR::Contained::move_skel (
- req,
- (POA_IR::Contained_ptr) impl,
- context,
- env
- );
-}
-ACE_INLINE void POA_IR::ValueDef::_get_type_skel (
- TAO_ServerRequest &req,
- void *obj,
- void *context,
- CORBA::Environment &env
- )
-{
- POA_IR::IDLType_ptr impl = (POA_IR::ValueDef_ptr) obj;
- POA_IR::IDLType::_get_type_skel (
- req,
- (POA_IR::IDLType_ptr) impl,
- context,
- env
- );
-}
-ACE_INLINE void POA_IR::ValueDef::_get_def_kind_skel (
- TAO_ServerRequest &req,
- void *obj,
- void *context,
- CORBA::Environment &env
- )
-{
- POA_CORBA_IRObject_ptr impl = (POA_IR::ValueDef_ptr) obj;
- POA_CORBA_IRObject::_get_def_kind_skel (
- req,
- (POA_CORBA_IRObject_ptr) impl,
- context,
- env
- );
-}
-ACE_INLINE void POA_IR::ValueDef::destroy_skel (
- TAO_ServerRequest &req,
- void *obj,
- void *context,
- CORBA::Environment &env
- )
-{
- POA_CORBA_IRObject_ptr impl = (POA_IR::ValueDef_ptr) obj;
- POA_CORBA_IRObject::destroy_skel (
- req,
- (POA_CORBA_IRObject_ptr) impl,
- context,
- env
- );
-}
-ACE_INLINE void POA_IR::ValueBoxDef::_get_id_skel (
- TAO_ServerRequest &req,
- void *obj,
- void *context,
- CORBA::Environment &env
- )
-{
- POA_IR::Contained_ptr impl = (POA_IR::ValueBoxDef_ptr) obj;
- POA_IR::Contained::_get_id_skel (
- req,
- (POA_IR::Contained_ptr) impl,
- context,
- env
- );
-}
-ACE_INLINE void POA_IR::ValueBoxDef::_set_id_skel (
- TAO_ServerRequest &req,
- void *obj,
- void *context,
- CORBA::Environment &env
- )
-{
- POA_IR::Contained_ptr impl = (POA_IR::ValueBoxDef_ptr) obj;
- POA_IR::Contained::_set_id_skel (
- req,
- (POA_IR::Contained_ptr) impl,
- context,
- env
- );
-}
-ACE_INLINE void POA_IR::ValueBoxDef::_get_name_skel (
- TAO_ServerRequest &req,
- void *obj,
- void *context,
- CORBA::Environment &env
- )
-{
- POA_IR::Contained_ptr impl = (POA_IR::ValueBoxDef_ptr) obj;
- POA_IR::Contained::_get_name_skel (
- req,
- (POA_IR::Contained_ptr) impl,
- context,
- env
- );
-}
-ACE_INLINE void POA_IR::ValueBoxDef::_set_name_skel (
- TAO_ServerRequest &req,
- void *obj,
- void *context,
- CORBA::Environment &env
- )
-{
- POA_IR::Contained_ptr impl = (POA_IR::ValueBoxDef_ptr) obj;
- POA_IR::Contained::_set_name_skel (
- req,
- (POA_IR::Contained_ptr) impl,
- context,
- env
- );
-}
-ACE_INLINE void POA_IR::ValueBoxDef::_get_version_skel (
- TAO_ServerRequest &req,
- void *obj,
- void *context,
- CORBA::Environment &env
- )
-{
- POA_IR::Contained_ptr impl = (POA_IR::ValueBoxDef_ptr) obj;
- POA_IR::Contained::_get_version_skel (
- req,
- (POA_IR::Contained_ptr) impl,
- context,
- env
- );
-}
-ACE_INLINE void POA_IR::ValueBoxDef::_set_version_skel (
- TAO_ServerRequest &req,
- void *obj,
- void *context,
- CORBA::Environment &env
- )
-{
- POA_IR::Contained_ptr impl = (POA_IR::ValueBoxDef_ptr) obj;
- POA_IR::Contained::_set_version_skel (
- req,
- (POA_IR::Contained_ptr) impl,
- context,
- env
- );
-}
-ACE_INLINE void POA_IR::ValueBoxDef::_get_defined_in_skel (
- TAO_ServerRequest &req,
- void *obj,
- void *context,
- CORBA::Environment &env
- )
-{
- POA_IR::Contained_ptr impl = (POA_IR::ValueBoxDef_ptr) obj;
- POA_IR::Contained::_get_defined_in_skel (
- req,
- (POA_IR::Contained_ptr) impl,
- context,
- env
- );
-}
-ACE_INLINE void POA_IR::ValueBoxDef::_get_absolute_name_skel (
- TAO_ServerRequest &req,
- void *obj,
- void *context,
- CORBA::Environment &env
- )
-{
- POA_IR::Contained_ptr impl = (POA_IR::ValueBoxDef_ptr) obj;
- POA_IR::Contained::_get_absolute_name_skel (
- req,
- (POA_IR::Contained_ptr) impl,
- context,
- env
- );
-}
-ACE_INLINE void POA_IR::ValueBoxDef::_get_containing_repository_skel (
- TAO_ServerRequest &req,
- void *obj,
- void *context,
- CORBA::Environment &env
- )
-{
- POA_IR::Contained_ptr impl = (POA_IR::ValueBoxDef_ptr) obj;
- POA_IR::Contained::_get_containing_repository_skel (
- req,
- (POA_IR::Contained_ptr) impl,
- context,
- env
- );
-}
-ACE_INLINE void POA_IR::ValueBoxDef::describe_skel (
- TAO_ServerRequest &req,
- void *obj,
- void *context,
- CORBA::Environment &env
- )
-{
- POA_IR::Contained_ptr impl = (POA_IR::ValueBoxDef_ptr) obj;
- POA_IR::Contained::describe_skel (
- req,
- (POA_IR::Contained_ptr) impl,
- context,
- env
- );
-}
-ACE_INLINE void POA_IR::ValueBoxDef::move_skel (
- TAO_ServerRequest &req,
- void *obj,
- void *context,
- CORBA::Environment &env
- )
-{
- POA_IR::Contained_ptr impl = (POA_IR::ValueBoxDef_ptr) obj;
- POA_IR::Contained::move_skel (
- req,
- (POA_IR::Contained_ptr) impl,
- context,
- env
- );
-}
-ACE_INLINE void POA_IR::ValueBoxDef::_get_type_skel (
- TAO_ServerRequest &req,
- void *obj,
- void *context,
- CORBA::Environment &env
- )
-{
- POA_IR::IDLType_ptr impl = (POA_IR::ValueBoxDef_ptr) obj;
- POA_IR::IDLType::_get_type_skel (
- req,
- (POA_IR::IDLType_ptr) impl,
- context,
- env
- );
-}
-ACE_INLINE void POA_IR::ValueBoxDef::_get_def_kind_skel (
- TAO_ServerRequest &req,
- void *obj,
- void *context,
- CORBA::Environment &env
- )
-{
- POA_CORBA_IRObject_ptr impl = (POA_IR::ValueBoxDef_ptr) obj;
- POA_CORBA_IRObject::_get_def_kind_skel (
- req,
- (POA_CORBA_IRObject_ptr) impl,
- context,
- env
- );
-}
-ACE_INLINE void POA_IR::ValueBoxDef::destroy_skel (
- TAO_ServerRequest &req,
- void *obj,
- void *context,
- CORBA::Environment &env
- )
-{
- POA_CORBA_IRObject_ptr impl = (POA_IR::ValueBoxDef_ptr) obj;
- POA_CORBA_IRObject::destroy_skel (
- req,
- (POA_CORBA_IRObject_ptr) impl,
- context,
- env
- );
-}
-ACE_INLINE void POA_IR::ProvidesDef::_get_id_skel (
- TAO_ServerRequest &req,
- void *obj,
- void *context,
- CORBA::Environment &env
- )
-{
- POA_IR::Contained_ptr impl = (POA_IR::ProvidesDef_ptr) obj;
- POA_IR::Contained::_get_id_skel (
- req,
- (POA_IR::Contained_ptr) impl,
- context,
- env
- );
-}
-ACE_INLINE void POA_IR::ProvidesDef::_set_id_skel (
- TAO_ServerRequest &req,
- void *obj,
- void *context,
- CORBA::Environment &env
- )
-{
- POA_IR::Contained_ptr impl = (POA_IR::ProvidesDef_ptr) obj;
- POA_IR::Contained::_set_id_skel (
- req,
- (POA_IR::Contained_ptr) impl,
- context,
- env
- );
-}
-ACE_INLINE void POA_IR::ProvidesDef::_get_name_skel (
- TAO_ServerRequest &req,
- void *obj,
- void *context,
- CORBA::Environment &env
- )
-{
- POA_IR::Contained_ptr impl = (POA_IR::ProvidesDef_ptr) obj;
- POA_IR::Contained::_get_name_skel (
- req,
- (POA_IR::Contained_ptr) impl,
- context,
- env
- );
-}
-ACE_INLINE void POA_IR::ProvidesDef::_set_name_skel (
- TAO_ServerRequest &req,
- void *obj,
- void *context,
- CORBA::Environment &env
- )
-{
- POA_IR::Contained_ptr impl = (POA_IR::ProvidesDef_ptr) obj;
- POA_IR::Contained::_set_name_skel (
- req,
- (POA_IR::Contained_ptr) impl,
- context,
- env
- );
-}
-ACE_INLINE void POA_IR::ProvidesDef::_get_version_skel (
- TAO_ServerRequest &req,
- void *obj,
- void *context,
- CORBA::Environment &env
- )
-{
- POA_IR::Contained_ptr impl = (POA_IR::ProvidesDef_ptr) obj;
- POA_IR::Contained::_get_version_skel (
- req,
- (POA_IR::Contained_ptr) impl,
- context,
- env
- );
-}
-ACE_INLINE void POA_IR::ProvidesDef::_set_version_skel (
- TAO_ServerRequest &req,
- void *obj,
- void *context,
- CORBA::Environment &env
- )
-{
- POA_IR::Contained_ptr impl = (POA_IR::ProvidesDef_ptr) obj;
- POA_IR::Contained::_set_version_skel (
- req,
- (POA_IR::Contained_ptr) impl,
- context,
- env
- );
-}
-ACE_INLINE void POA_IR::ProvidesDef::_get_defined_in_skel (
- TAO_ServerRequest &req,
- void *obj,
- void *context,
- CORBA::Environment &env
- )
-{
- POA_IR::Contained_ptr impl = (POA_IR::ProvidesDef_ptr) obj;
- POA_IR::Contained::_get_defined_in_skel (
- req,
- (POA_IR::Contained_ptr) impl,
- context,
- env
- );
-}
-ACE_INLINE void POA_IR::ProvidesDef::_get_absolute_name_skel (
- TAO_ServerRequest &req,
- void *obj,
- void *context,
- CORBA::Environment &env
- )
-{
- POA_IR::Contained_ptr impl = (POA_IR::ProvidesDef_ptr) obj;
- POA_IR::Contained::_get_absolute_name_skel (
- req,
- (POA_IR::Contained_ptr) impl,
- context,
- env
- );
-}
-ACE_INLINE void POA_IR::ProvidesDef::_get_containing_repository_skel (
- TAO_ServerRequest &req,
- void *obj,
- void *context,
- CORBA::Environment &env
- )
-{
- POA_IR::Contained_ptr impl = (POA_IR::ProvidesDef_ptr) obj;
- POA_IR::Contained::_get_containing_repository_skel (
- req,
- (POA_IR::Contained_ptr) impl,
- context,
- env
- );
-}
-ACE_INLINE void POA_IR::ProvidesDef::describe_skel (
- TAO_ServerRequest &req,
- void *obj,
- void *context,
- CORBA::Environment &env
- )
-{
- POA_IR::Contained_ptr impl = (POA_IR::ProvidesDef_ptr) obj;
- POA_IR::Contained::describe_skel (
- req,
- (POA_IR::Contained_ptr) impl,
- context,
- env
- );
-}
-ACE_INLINE void POA_IR::ProvidesDef::move_skel (
- TAO_ServerRequest &req,
- void *obj,
- void *context,
- CORBA::Environment &env
- )
-{
- POA_IR::Contained_ptr impl = (POA_IR::ProvidesDef_ptr) obj;
- POA_IR::Contained::move_skel (
- req,
- (POA_IR::Contained_ptr) impl,
- context,
- env
- );
-}
-ACE_INLINE void POA_IR::ProvidesDef::_get_def_kind_skel (
- TAO_ServerRequest &req,
- void *obj,
- void *context,
- CORBA::Environment &env
- )
-{
- POA_CORBA_IRObject_ptr impl = (POA_IR::ProvidesDef_ptr) obj;
- POA_CORBA_IRObject::_get_def_kind_skel (
- req,
- (POA_CORBA_IRObject_ptr) impl,
- context,
- env
- );
-}
-ACE_INLINE void POA_IR::ProvidesDef::destroy_skel (
- TAO_ServerRequest &req,
- void *obj,
- void *context,
- CORBA::Environment &env
- )
-{
- POA_CORBA_IRObject_ptr impl = (POA_IR::ProvidesDef_ptr) obj;
- POA_CORBA_IRObject::destroy_skel (
- req,
- (POA_CORBA_IRObject_ptr) impl,
- context,
- env
- );
-}
-ACE_INLINE void POA_IR::UsesDef::_get_id_skel (
- TAO_ServerRequest &req,
- void *obj,
- void *context,
- CORBA::Environment &env
- )
-{
- POA_IR::Contained_ptr impl = (POA_IR::UsesDef_ptr) obj;
- POA_IR::Contained::_get_id_skel (
- req,
- (POA_IR::Contained_ptr) impl,
- context,
- env
- );
-}
-ACE_INLINE void POA_IR::UsesDef::_set_id_skel (
- TAO_ServerRequest &req,
- void *obj,
- void *context,
- CORBA::Environment &env
- )
-{
- POA_IR::Contained_ptr impl = (POA_IR::UsesDef_ptr) obj;
- POA_IR::Contained::_set_id_skel (
- req,
- (POA_IR::Contained_ptr) impl,
- context,
- env
- );
-}
-ACE_INLINE void POA_IR::UsesDef::_get_name_skel (
- TAO_ServerRequest &req,
- void *obj,
- void *context,
- CORBA::Environment &env
- )
-{
- POA_IR::Contained_ptr impl = (POA_IR::UsesDef_ptr) obj;
- POA_IR::Contained::_get_name_skel (
- req,
- (POA_IR::Contained_ptr) impl,
- context,
- env
- );
-}
-ACE_INLINE void POA_IR::UsesDef::_set_name_skel (
- TAO_ServerRequest &req,
- void *obj,
- void *context,
- CORBA::Environment &env
- )
-{
- POA_IR::Contained_ptr impl = (POA_IR::UsesDef_ptr) obj;
- POA_IR::Contained::_set_name_skel (
- req,
- (POA_IR::Contained_ptr) impl,
- context,
- env
- );
-}
-ACE_INLINE void POA_IR::UsesDef::_get_version_skel (
- TAO_ServerRequest &req,
- void *obj,
- void *context,
- CORBA::Environment &env
- )
-{
- POA_IR::Contained_ptr impl = (POA_IR::UsesDef_ptr) obj;
- POA_IR::Contained::_get_version_skel (
- req,
- (POA_IR::Contained_ptr) impl,
- context,
- env
- );
-}
-ACE_INLINE void POA_IR::UsesDef::_set_version_skel (
- TAO_ServerRequest &req,
- void *obj,
- void *context,
- CORBA::Environment &env
- )
-{
- POA_IR::Contained_ptr impl = (POA_IR::UsesDef_ptr) obj;
- POA_IR::Contained::_set_version_skel (
- req,
- (POA_IR::Contained_ptr) impl,
- context,
- env
- );
-}
-ACE_INLINE void POA_IR::UsesDef::_get_defined_in_skel (
- TAO_ServerRequest &req,
- void *obj,
- void *context,
- CORBA::Environment &env
- )
-{
- POA_IR::Contained_ptr impl = (POA_IR::UsesDef_ptr) obj;
- POA_IR::Contained::_get_defined_in_skel (
- req,
- (POA_IR::Contained_ptr) impl,
- context,
- env
- );
-}
-ACE_INLINE void POA_IR::UsesDef::_get_absolute_name_skel (
- TAO_ServerRequest &req,
- void *obj,
- void *context,
- CORBA::Environment &env
- )
-{
- POA_IR::Contained_ptr impl = (POA_IR::UsesDef_ptr) obj;
- POA_IR::Contained::_get_absolute_name_skel (
- req,
- (POA_IR::Contained_ptr) impl,
- context,
- env
- );
-}
-ACE_INLINE void POA_IR::UsesDef::_get_containing_repository_skel (
- TAO_ServerRequest &req,
- void *obj,
- void *context,
- CORBA::Environment &env
- )
-{
- POA_IR::Contained_ptr impl = (POA_IR::UsesDef_ptr) obj;
- POA_IR::Contained::_get_containing_repository_skel (
- req,
- (POA_IR::Contained_ptr) impl,
- context,
- env
- );
-}
-ACE_INLINE void POA_IR::UsesDef::describe_skel (
- TAO_ServerRequest &req,
- void *obj,
- void *context,
- CORBA::Environment &env
- )
-{
- POA_IR::Contained_ptr impl = (POA_IR::UsesDef_ptr) obj;
- POA_IR::Contained::describe_skel (
- req,
- (POA_IR::Contained_ptr) impl,
- context,
- env
- );
-}
-ACE_INLINE void POA_IR::UsesDef::move_skel (
- TAO_ServerRequest &req,
- void *obj,
- void *context,
- CORBA::Environment &env
- )
-{
- POA_IR::Contained_ptr impl = (POA_IR::UsesDef_ptr) obj;
- POA_IR::Contained::move_skel (
- req,
- (POA_IR::Contained_ptr) impl,
- context,
- env
- );
-}
-ACE_INLINE void POA_IR::UsesDef::_get_def_kind_skel (
- TAO_ServerRequest &req,
- void *obj,
- void *context,
- CORBA::Environment &env
- )
-{
- POA_CORBA_IRObject_ptr impl = (POA_IR::UsesDef_ptr) obj;
- POA_CORBA_IRObject::_get_def_kind_skel (
- req,
- (POA_CORBA_IRObject_ptr) impl,
- context,
- env
- );
-}
-ACE_INLINE void POA_IR::UsesDef::destroy_skel (
- TAO_ServerRequest &req,
- void *obj,
- void *context,
- CORBA::Environment &env
- )
-{
- POA_CORBA_IRObject_ptr impl = (POA_IR::UsesDef_ptr) obj;
- POA_CORBA_IRObject::destroy_skel (
- req,
- (POA_CORBA_IRObject_ptr) impl,
- context,
- env
- );
-}
-ACE_INLINE void POA_IR::EventDef::_get_id_skel (
- TAO_ServerRequest &req,
- void *obj,
- void *context,
- CORBA::Environment &env
- )
-{
- POA_IR::Contained_ptr impl = (POA_IR::EventDef_ptr) obj;
- POA_IR::Contained::_get_id_skel (
- req,
- (POA_IR::Contained_ptr) impl,
- context,
- env
- );
-}
-ACE_INLINE void POA_IR::EventDef::_set_id_skel (
- TAO_ServerRequest &req,
- void *obj,
- void *context,
- CORBA::Environment &env
- )
-{
- POA_IR::Contained_ptr impl = (POA_IR::EventDef_ptr) obj;
- POA_IR::Contained::_set_id_skel (
- req,
- (POA_IR::Contained_ptr) impl,
- context,
- env
- );
-}
-ACE_INLINE void POA_IR::EventDef::_get_name_skel (
- TAO_ServerRequest &req,
- void *obj,
- void *context,
- CORBA::Environment &env
- )
-{
- POA_IR::Contained_ptr impl = (POA_IR::EventDef_ptr) obj;
- POA_IR::Contained::_get_name_skel (
- req,
- (POA_IR::Contained_ptr) impl,
- context,
- env
- );
-}
-ACE_INLINE void POA_IR::EventDef::_set_name_skel (
- TAO_ServerRequest &req,
- void *obj,
- void *context,
- CORBA::Environment &env
- )
-{
- POA_IR::Contained_ptr impl = (POA_IR::EventDef_ptr) obj;
- POA_IR::Contained::_set_name_skel (
- req,
- (POA_IR::Contained_ptr) impl,
- context,
- env
- );
-}
-ACE_INLINE void POA_IR::EventDef::_get_version_skel (
- TAO_ServerRequest &req,
- void *obj,
- void *context,
- CORBA::Environment &env
- )
-{
- POA_IR::Contained_ptr impl = (POA_IR::EventDef_ptr) obj;
- POA_IR::Contained::_get_version_skel (
- req,
- (POA_IR::Contained_ptr) impl,
- context,
- env
- );
-}
-ACE_INLINE void POA_IR::EventDef::_set_version_skel (
- TAO_ServerRequest &req,
- void *obj,
- void *context,
- CORBA::Environment &env
- )
-{
- POA_IR::Contained_ptr impl = (POA_IR::EventDef_ptr) obj;
- POA_IR::Contained::_set_version_skel (
- req,
- (POA_IR::Contained_ptr) impl,
- context,
- env
- );
-}
-ACE_INLINE void POA_IR::EventDef::_get_defined_in_skel (
- TAO_ServerRequest &req,
- void *obj,
- void *context,
- CORBA::Environment &env
- )
-{
- POA_IR::Contained_ptr impl = (POA_IR::EventDef_ptr) obj;
- POA_IR::Contained::_get_defined_in_skel (
- req,
- (POA_IR::Contained_ptr) impl,
- context,
- env
- );
-}
-ACE_INLINE void POA_IR::EventDef::_get_absolute_name_skel (
- TAO_ServerRequest &req,
- void *obj,
- void *context,
- CORBA::Environment &env
- )
-{
- POA_IR::Contained_ptr impl = (POA_IR::EventDef_ptr) obj;
- POA_IR::Contained::_get_absolute_name_skel (
- req,
- (POA_IR::Contained_ptr) impl,
- context,
- env
- );
-}
-ACE_INLINE void POA_IR::EventDef::_get_containing_repository_skel (
- TAO_ServerRequest &req,
- void *obj,
- void *context,
- CORBA::Environment &env
- )
-{
- POA_IR::Contained_ptr impl = (POA_IR::EventDef_ptr) obj;
- POA_IR::Contained::_get_containing_repository_skel (
- req,
- (POA_IR::Contained_ptr) impl,
- context,
- env
- );
-}
-ACE_INLINE void POA_IR::EventDef::describe_skel (
- TAO_ServerRequest &req,
- void *obj,
- void *context,
- CORBA::Environment &env
- )
-{
- POA_IR::Contained_ptr impl = (POA_IR::EventDef_ptr) obj;
- POA_IR::Contained::describe_skel (
- req,
- (POA_IR::Contained_ptr) impl,
- context,
- env
- );
-}
-ACE_INLINE void POA_IR::EventDef::move_skel (
- TAO_ServerRequest &req,
- void *obj,
- void *context,
- CORBA::Environment &env
- )
-{
- POA_IR::Contained_ptr impl = (POA_IR::EventDef_ptr) obj;
- POA_IR::Contained::move_skel (
- req,
- (POA_IR::Contained_ptr) impl,
- context,
- env
- );
-}
-ACE_INLINE void POA_IR::EventDef::_get_def_kind_skel (
- TAO_ServerRequest &req,
- void *obj,
- void *context,
- CORBA::Environment &env
- )
-{
- POA_CORBA_IRObject_ptr impl = (POA_IR::EventDef_ptr) obj;
- POA_CORBA_IRObject::_get_def_kind_skel (
- req,
- (POA_CORBA_IRObject_ptr) impl,
- context,
- env
- );
-}
-ACE_INLINE void POA_IR::EventDef::destroy_skel (
- TAO_ServerRequest &req,
- void *obj,
- void *context,
- CORBA::Environment &env
- )
-{
- POA_CORBA_IRObject_ptr impl = (POA_IR::EventDef_ptr) obj;
- POA_CORBA_IRObject::destroy_skel (
- req,
- (POA_CORBA_IRObject_ptr) impl,
- context,
- env
- );
-}
-ACE_INLINE void POA_IR::EmitsDef::is_a_skel (
- TAO_ServerRequest &req,
- void *obj,
- void *context,
- CORBA::Environment &env
- )
-{
- POA_IR::EventDef_ptr impl = (POA_IR::EmitsDef_ptr) obj;
- POA_IR::EventDef::is_a_skel (
- req,
- (POA_IR::EventDef_ptr) impl,
- context,
- env
- );
-}
-ACE_INLINE void POA_IR::EmitsDef::_get_event_skel (
- TAO_ServerRequest &req,
- void *obj,
- void *context,
- CORBA::Environment &env
- )
-{
- POA_IR::EventDef_ptr impl = (POA_IR::EmitsDef_ptr) obj;
- POA_IR::EventDef::_get_event_skel (
- req,
- (POA_IR::EventDef_ptr) impl,
- context,
- env
- );
-}
-ACE_INLINE void POA_IR::EmitsDef::_get_id_skel (
- TAO_ServerRequest &req,
- void *obj,
- void *context,
- CORBA::Environment &env
- )
-{
- POA_IR::Contained_ptr impl = (POA_IR::EmitsDef_ptr) obj;
- POA_IR::Contained::_get_id_skel (
- req,
- (POA_IR::Contained_ptr) impl,
- context,
- env
- );
-}
-ACE_INLINE void POA_IR::EmitsDef::_set_id_skel (
- TAO_ServerRequest &req,
- void *obj,
- void *context,
- CORBA::Environment &env
- )
-{
- POA_IR::Contained_ptr impl = (POA_IR::EmitsDef_ptr) obj;
- POA_IR::Contained::_set_id_skel (
- req,
- (POA_IR::Contained_ptr) impl,
- context,
- env
- );
-}
-ACE_INLINE void POA_IR::EmitsDef::_get_name_skel (
- TAO_ServerRequest &req,
- void *obj,
- void *context,
- CORBA::Environment &env
- )
-{
- POA_IR::Contained_ptr impl = (POA_IR::EmitsDef_ptr) obj;
- POA_IR::Contained::_get_name_skel (
- req,
- (POA_IR::Contained_ptr) impl,
- context,
- env
- );
-}
-ACE_INLINE void POA_IR::EmitsDef::_set_name_skel (
- TAO_ServerRequest &req,
- void *obj,
- void *context,
- CORBA::Environment &env
- )
-{
- POA_IR::Contained_ptr impl = (POA_IR::EmitsDef_ptr) obj;
- POA_IR::Contained::_set_name_skel (
- req,
- (POA_IR::Contained_ptr) impl,
- context,
- env
- );
-}
-ACE_INLINE void POA_IR::EmitsDef::_get_version_skel (
- TAO_ServerRequest &req,
- void *obj,
- void *context,
- CORBA::Environment &env
- )
-{
- POA_IR::Contained_ptr impl = (POA_IR::EmitsDef_ptr) obj;
- POA_IR::Contained::_get_version_skel (
- req,
- (POA_IR::Contained_ptr) impl,
- context,
- env
- );
-}
-ACE_INLINE void POA_IR::EmitsDef::_set_version_skel (
- TAO_ServerRequest &req,
- void *obj,
- void *context,
- CORBA::Environment &env
- )
-{
- POA_IR::Contained_ptr impl = (POA_IR::EmitsDef_ptr) obj;
- POA_IR::Contained::_set_version_skel (
- req,
- (POA_IR::Contained_ptr) impl,
- context,
- env
- );
-}
-ACE_INLINE void POA_IR::EmitsDef::_get_defined_in_skel (
- TAO_ServerRequest &req,
- void *obj,
- void *context,
- CORBA::Environment &env
- )
-{
- POA_IR::Contained_ptr impl = (POA_IR::EmitsDef_ptr) obj;
- POA_IR::Contained::_get_defined_in_skel (
- req,
- (POA_IR::Contained_ptr) impl,
- context,
- env
- );
-}
-ACE_INLINE void POA_IR::EmitsDef::_get_absolute_name_skel (
- TAO_ServerRequest &req,
- void *obj,
- void *context,
- CORBA::Environment &env
- )
-{
- POA_IR::Contained_ptr impl = (POA_IR::EmitsDef_ptr) obj;
- POA_IR::Contained::_get_absolute_name_skel (
- req,
- (POA_IR::Contained_ptr) impl,
- context,
- env
- );
-}
-ACE_INLINE void POA_IR::EmitsDef::_get_containing_repository_skel (
- TAO_ServerRequest &req,
- void *obj,
- void *context,
- CORBA::Environment &env
- )
-{
- POA_IR::Contained_ptr impl = (POA_IR::EmitsDef_ptr) obj;
- POA_IR::Contained::_get_containing_repository_skel (
- req,
- (POA_IR::Contained_ptr) impl,
- context,
- env
- );
-}
-ACE_INLINE void POA_IR::EmitsDef::describe_skel (
- TAO_ServerRequest &req,
- void *obj,
- void *context,
- CORBA::Environment &env
- )
-{
- POA_IR::Contained_ptr impl = (POA_IR::EmitsDef_ptr) obj;
- POA_IR::Contained::describe_skel (
- req,
- (POA_IR::Contained_ptr) impl,
- context,
- env
- );
-}
-ACE_INLINE void POA_IR::EmitsDef::move_skel (
- TAO_ServerRequest &req,
- void *obj,
- void *context,
- CORBA::Environment &env
- )
-{
- POA_IR::Contained_ptr impl = (POA_IR::EmitsDef_ptr) obj;
- POA_IR::Contained::move_skel (
- req,
- (POA_IR::Contained_ptr) impl,
- context,
- env
- );
-}
-ACE_INLINE void POA_IR::EmitsDef::_get_def_kind_skel (
- TAO_ServerRequest &req,
- void *obj,
- void *context,
- CORBA::Environment &env
- )
-{
- POA_CORBA_IRObject_ptr impl = (POA_IR::EmitsDef_ptr) obj;
- POA_CORBA_IRObject::_get_def_kind_skel (
- req,
- (POA_CORBA_IRObject_ptr) impl,
- context,
- env
- );
-}
-ACE_INLINE void POA_IR::EmitsDef::destroy_skel (
- TAO_ServerRequest &req,
- void *obj,
- void *context,
- CORBA::Environment &env
- )
-{
- POA_CORBA_IRObject_ptr impl = (POA_IR::EmitsDef_ptr) obj;
- POA_CORBA_IRObject::destroy_skel (
- req,
- (POA_CORBA_IRObject_ptr) impl,
- context,
- env
- );
-}
-ACE_INLINE void POA_IR::PublishesDef::is_a_skel (
- TAO_ServerRequest &req,
- void *obj,
- void *context,
- CORBA::Environment &env
- )
-{
- POA_IR::EventDef_ptr impl = (POA_IR::PublishesDef_ptr) obj;
- POA_IR::EventDef::is_a_skel (
- req,
- (POA_IR::EventDef_ptr) impl,
- context,
- env
- );
-}
-ACE_INLINE void POA_IR::PublishesDef::_get_event_skel (
- TAO_ServerRequest &req,
- void *obj,
- void *context,
- CORBA::Environment &env
- )
-{
- POA_IR::EventDef_ptr impl = (POA_IR::PublishesDef_ptr) obj;
- POA_IR::EventDef::_get_event_skel (
- req,
- (POA_IR::EventDef_ptr) impl,
- context,
- env
- );
-}
-ACE_INLINE void POA_IR::PublishesDef::_get_id_skel (
- TAO_ServerRequest &req,
- void *obj,
- void *context,
- CORBA::Environment &env
- )
-{
- POA_IR::Contained_ptr impl = (POA_IR::PublishesDef_ptr) obj;
- POA_IR::Contained::_get_id_skel (
- req,
- (POA_IR::Contained_ptr) impl,
- context,
- env
- );
-}
-ACE_INLINE void POA_IR::PublishesDef::_set_id_skel (
- TAO_ServerRequest &req,
- void *obj,
- void *context,
- CORBA::Environment &env
- )
-{
- POA_IR::Contained_ptr impl = (POA_IR::PublishesDef_ptr) obj;
- POA_IR::Contained::_set_id_skel (
- req,
- (POA_IR::Contained_ptr) impl,
- context,
- env
- );
-}
-ACE_INLINE void POA_IR::PublishesDef::_get_name_skel (
- TAO_ServerRequest &req,
- void *obj,
- void *context,
- CORBA::Environment &env
- )
-{
- POA_IR::Contained_ptr impl = (POA_IR::PublishesDef_ptr) obj;
- POA_IR::Contained::_get_name_skel (
- req,
- (POA_IR::Contained_ptr) impl,
- context,
- env
- );
-}
-ACE_INLINE void POA_IR::PublishesDef::_set_name_skel (
- TAO_ServerRequest &req,
- void *obj,
- void *context,
- CORBA::Environment &env
- )
-{
- POA_IR::Contained_ptr impl = (POA_IR::PublishesDef_ptr) obj;
- POA_IR::Contained::_set_name_skel (
- req,
- (POA_IR::Contained_ptr) impl,
- context,
- env
- );
-}
-ACE_INLINE void POA_IR::PublishesDef::_get_version_skel (
- TAO_ServerRequest &req,
- void *obj,
- void *context,
- CORBA::Environment &env
- )
-{
- POA_IR::Contained_ptr impl = (POA_IR::PublishesDef_ptr) obj;
- POA_IR::Contained::_get_version_skel (
- req,
- (POA_IR::Contained_ptr) impl,
- context,
- env
- );
-}
-ACE_INLINE void POA_IR::PublishesDef::_set_version_skel (
- TAO_ServerRequest &req,
- void *obj,
- void *context,
- CORBA::Environment &env
- )
-{
- POA_IR::Contained_ptr impl = (POA_IR::PublishesDef_ptr) obj;
- POA_IR::Contained::_set_version_skel (
- req,
- (POA_IR::Contained_ptr) impl,
- context,
- env
- );
-}
-ACE_INLINE void POA_IR::PublishesDef::_get_defined_in_skel (
- TAO_ServerRequest &req,
- void *obj,
- void *context,
- CORBA::Environment &env
- )
-{
- POA_IR::Contained_ptr impl = (POA_IR::PublishesDef_ptr) obj;
- POA_IR::Contained::_get_defined_in_skel (
- req,
- (POA_IR::Contained_ptr) impl,
- context,
- env
- );
-}
-ACE_INLINE void POA_IR::PublishesDef::_get_absolute_name_skel (
- TAO_ServerRequest &req,
- void *obj,
- void *context,
- CORBA::Environment &env
- )
-{
- POA_IR::Contained_ptr impl = (POA_IR::PublishesDef_ptr) obj;
- POA_IR::Contained::_get_absolute_name_skel (
- req,
- (POA_IR::Contained_ptr) impl,
- context,
- env
- );
-}
-ACE_INLINE void POA_IR::PublishesDef::_get_containing_repository_skel (
- TAO_ServerRequest &req,
- void *obj,
- void *context,
- CORBA::Environment &env
- )
-{
- POA_IR::Contained_ptr impl = (POA_IR::PublishesDef_ptr) obj;
- POA_IR::Contained::_get_containing_repository_skel (
- req,
- (POA_IR::Contained_ptr) impl,
- context,
- env
- );
-}
-ACE_INLINE void POA_IR::PublishesDef::describe_skel (
- TAO_ServerRequest &req,
- void *obj,
- void *context,
- CORBA::Environment &env
- )
-{
- POA_IR::Contained_ptr impl = (POA_IR::PublishesDef_ptr) obj;
- POA_IR::Contained::describe_skel (
- req,
- (POA_IR::Contained_ptr) impl,
- context,
- env
- );
-}
-ACE_INLINE void POA_IR::PublishesDef::move_skel (
- TAO_ServerRequest &req,
- void *obj,
- void *context,
- CORBA::Environment &env
- )
-{
- POA_IR::Contained_ptr impl = (POA_IR::PublishesDef_ptr) obj;
- POA_IR::Contained::move_skel (
- req,
- (POA_IR::Contained_ptr) impl,
- context,
- env
- );
-}
-ACE_INLINE void POA_IR::PublishesDef::_get_def_kind_skel (
- TAO_ServerRequest &req,
- void *obj,
- void *context,
- CORBA::Environment &env
- )
-{
- POA_CORBA_IRObject_ptr impl = (POA_IR::PublishesDef_ptr) obj;
- POA_CORBA_IRObject::_get_def_kind_skel (
- req,
- (POA_CORBA_IRObject_ptr) impl,
- context,
- env
- );
-}
-ACE_INLINE void POA_IR::PublishesDef::destroy_skel (
- TAO_ServerRequest &req,
- void *obj,
- void *context,
- CORBA::Environment &env
- )
-{
- POA_CORBA_IRObject_ptr impl = (POA_IR::PublishesDef_ptr) obj;
- POA_CORBA_IRObject::destroy_skel (
- req,
- (POA_CORBA_IRObject_ptr) impl,
- context,
- env
- );
-}
-ACE_INLINE void POA_IR::ConsumesDef::is_a_skel (
- TAO_ServerRequest &req,
- void *obj,
- void *context,
- CORBA::Environment &env
- )
-{
- POA_IR::EventDef_ptr impl = (POA_IR::ConsumesDef_ptr) obj;
- POA_IR::EventDef::is_a_skel (
- req,
- (POA_IR::EventDef_ptr) impl,
- context,
- env
- );
-}
-ACE_INLINE void POA_IR::ConsumesDef::_get_event_skel (
- TAO_ServerRequest &req,
- void *obj,
- void *context,
- CORBA::Environment &env
- )
-{
- POA_IR::EventDef_ptr impl = (POA_IR::ConsumesDef_ptr) obj;
- POA_IR::EventDef::_get_event_skel (
- req,
- (POA_IR::EventDef_ptr) impl,
- context,
- env
- );
-}
-ACE_INLINE void POA_IR::ConsumesDef::_get_id_skel (
- TAO_ServerRequest &req,
- void *obj,
- void *context,
- CORBA::Environment &env
- )
-{
- POA_IR::Contained_ptr impl = (POA_IR::ConsumesDef_ptr) obj;
- POA_IR::Contained::_get_id_skel (
- req,
- (POA_IR::Contained_ptr) impl,
- context,
- env
- );
-}
-ACE_INLINE void POA_IR::ConsumesDef::_set_id_skel (
- TAO_ServerRequest &req,
- void *obj,
- void *context,
- CORBA::Environment &env
- )
-{
- POA_IR::Contained_ptr impl = (POA_IR::ConsumesDef_ptr) obj;
- POA_IR::Contained::_set_id_skel (
- req,
- (POA_IR::Contained_ptr) impl,
- context,
- env
- );
-}
-ACE_INLINE void POA_IR::ConsumesDef::_get_name_skel (
- TAO_ServerRequest &req,
- void *obj,
- void *context,
- CORBA::Environment &env
- )
-{
- POA_IR::Contained_ptr impl = (POA_IR::ConsumesDef_ptr) obj;
- POA_IR::Contained::_get_name_skel (
- req,
- (POA_IR::Contained_ptr) impl,
- context,
- env
- );
-}
-ACE_INLINE void POA_IR::ConsumesDef::_set_name_skel (
- TAO_ServerRequest &req,
- void *obj,
- void *context,
- CORBA::Environment &env
- )
-{
- POA_IR::Contained_ptr impl = (POA_IR::ConsumesDef_ptr) obj;
- POA_IR::Contained::_set_name_skel (
- req,
- (POA_IR::Contained_ptr) impl,
- context,
- env
- );
-}
-ACE_INLINE void POA_IR::ConsumesDef::_get_version_skel (
- TAO_ServerRequest &req,
- void *obj,
- void *context,
- CORBA::Environment &env
- )
-{
- POA_IR::Contained_ptr impl = (POA_IR::ConsumesDef_ptr) obj;
- POA_IR::Contained::_get_version_skel (
- req,
- (POA_IR::Contained_ptr) impl,
- context,
- env
- );
-}
-ACE_INLINE void POA_IR::ConsumesDef::_set_version_skel (
- TAO_ServerRequest &req,
- void *obj,
- void *context,
- CORBA::Environment &env
- )
-{
- POA_IR::Contained_ptr impl = (POA_IR::ConsumesDef_ptr) obj;
- POA_IR::Contained::_set_version_skel (
- req,
- (POA_IR::Contained_ptr) impl,
- context,
- env
- );
-}
-ACE_INLINE void POA_IR::ConsumesDef::_get_defined_in_skel (
- TAO_ServerRequest &req,
- void *obj,
- void *context,
- CORBA::Environment &env
- )
-{
- POA_IR::Contained_ptr impl = (POA_IR::ConsumesDef_ptr) obj;
- POA_IR::Contained::_get_defined_in_skel (
- req,
- (POA_IR::Contained_ptr) impl,
- context,
- env
- );
-}
-ACE_INLINE void POA_IR::ConsumesDef::_get_absolute_name_skel (
- TAO_ServerRequest &req,
- void *obj,
- void *context,
- CORBA::Environment &env
- )
-{
- POA_IR::Contained_ptr impl = (POA_IR::ConsumesDef_ptr) obj;
- POA_IR::Contained::_get_absolute_name_skel (
- req,
- (POA_IR::Contained_ptr) impl,
- context,
- env
- );
-}
-ACE_INLINE void POA_IR::ConsumesDef::_get_containing_repository_skel (
- TAO_ServerRequest &req,
- void *obj,
- void *context,
- CORBA::Environment &env
- )
-{
- POA_IR::Contained_ptr impl = (POA_IR::ConsumesDef_ptr) obj;
- POA_IR::Contained::_get_containing_repository_skel (
- req,
- (POA_IR::Contained_ptr) impl,
- context,
- env
- );
-}
-ACE_INLINE void POA_IR::ConsumesDef::describe_skel (
- TAO_ServerRequest &req,
- void *obj,
- void *context,
- CORBA::Environment &env
- )
-{
- POA_IR::Contained_ptr impl = (POA_IR::ConsumesDef_ptr) obj;
- POA_IR::Contained::describe_skel (
- req,
- (POA_IR::Contained_ptr) impl,
- context,
- env
- );
-}
-ACE_INLINE void POA_IR::ConsumesDef::move_skel (
- TAO_ServerRequest &req,
- void *obj,
- void *context,
- CORBA::Environment &env
- )
-{
- POA_IR::Contained_ptr impl = (POA_IR::ConsumesDef_ptr) obj;
- POA_IR::Contained::move_skel (
- req,
- (POA_IR::Contained_ptr) impl,
- context,
- env
- );
-}
-ACE_INLINE void POA_IR::ConsumesDef::_get_def_kind_skel (
- TAO_ServerRequest &req,
- void *obj,
- void *context,
- CORBA::Environment &env
- )
-{
- POA_CORBA_IRObject_ptr impl = (POA_IR::ConsumesDef_ptr) obj;
- POA_CORBA_IRObject::_get_def_kind_skel (
- req,
- (POA_CORBA_IRObject_ptr) impl,
- context,
- env
- );
-}
-ACE_INLINE void POA_IR::ConsumesDef::destroy_skel (
- TAO_ServerRequest &req,
- void *obj,
- void *context,
- CORBA::Environment &env
- )
-{
- POA_CORBA_IRObject_ptr impl = (POA_IR::ConsumesDef_ptr) obj;
- POA_CORBA_IRObject::destroy_skel (
- req,
- (POA_CORBA_IRObject_ptr) impl,
- context,
- env
- );
-}
-ACE_INLINE void POA_IR::ComponentDef::_get_base_interfaces_skel (
- TAO_ServerRequest &req,
- void *obj,
- void *context,
- CORBA::Environment &env
- )
-{
- POA_IR::InterfaceDef_ptr impl = (POA_IR::ComponentDef_ptr) obj;
- POA_IR::InterfaceDef::_get_base_interfaces_skel (
- req,
- (POA_IR::InterfaceDef_ptr) impl,
- context,
- env
- );
-}
-ACE_INLINE void POA_IR::ComponentDef::_set_base_interfaces_skel (
- TAO_ServerRequest &req,
- void *obj,
- void *context,
- CORBA::Environment &env
- )
-{
- POA_IR::InterfaceDef_ptr impl = (POA_IR::ComponentDef_ptr) obj;
- POA_IR::InterfaceDef::_set_base_interfaces_skel (
- req,
- (POA_IR::InterfaceDef_ptr) impl,
- context,
- env
- );
-}
-ACE_INLINE void POA_IR::ComponentDef::_get_is_abstract_skel (
- TAO_ServerRequest &req,
- void *obj,
- void *context,
- CORBA::Environment &env
- )
-{
- POA_IR::InterfaceDef_ptr impl = (POA_IR::ComponentDef_ptr) obj;
- POA_IR::InterfaceDef::_get_is_abstract_skel (
- req,
- (POA_IR::InterfaceDef_ptr) impl,
- context,
- env
- );
-}
-ACE_INLINE void POA_IR::ComponentDef::_set_is_abstract_skel (
- TAO_ServerRequest &req,
- void *obj,
- void *context,
- CORBA::Environment &env
- )
-{
- POA_IR::InterfaceDef_ptr impl = (POA_IR::ComponentDef_ptr) obj;
- POA_IR::InterfaceDef::_set_is_abstract_skel (
- req,
- (POA_IR::InterfaceDef_ptr) impl,
- context,
- env
- );
-}
-ACE_INLINE void POA_IR::ComponentDef::_get_is_local_skel (
- TAO_ServerRequest &req,
- void *obj,
- void *context,
- CORBA::Environment &env
- )
-{
- POA_IR::InterfaceDef_ptr impl = (POA_IR::ComponentDef_ptr) obj;
- POA_IR::InterfaceDef::_get_is_local_skel (
- req,
- (POA_IR::InterfaceDef_ptr) impl,
- context,
- env
- );
-}
-ACE_INLINE void POA_IR::ComponentDef::_set_is_local_skel (
- TAO_ServerRequest &req,
- void *obj,
- void *context,
- CORBA::Environment &env
- )
-{
- POA_IR::InterfaceDef_ptr impl = (POA_IR::ComponentDef_ptr) obj;
- POA_IR::InterfaceDef::_set_is_local_skel (
- req,
- (POA_IR::InterfaceDef_ptr) impl,
- context,
- env
- );
-}
-ACE_INLINE void POA_IR::ComponentDef::is_a_skel (
- TAO_ServerRequest &req,
- void *obj,
- void *context,
- CORBA::Environment &env
- )
-{
- POA_IR::InterfaceDef_ptr impl = (POA_IR::ComponentDef_ptr) obj;
- POA_IR::InterfaceDef::is_a_skel (
- req,
- (POA_IR::InterfaceDef_ptr) impl,
- context,
- env
- );
-}
-ACE_INLINE void POA_IR::ComponentDef::create_attribute_skel (
- TAO_ServerRequest &req,
- void *obj,
- void *context,
- CORBA::Environment &env
- )
-{
- POA_IR::InterfaceDef_ptr impl = (POA_IR::ComponentDef_ptr) obj;
- POA_IR::InterfaceDef::create_attribute_skel (
- req,
- (POA_IR::InterfaceDef_ptr) impl,
- context,
- env
- );
-}
-ACE_INLINE void POA_IR::ComponentDef::create_operation_skel (
- TAO_ServerRequest &req,
- void *obj,
- void *context,
- CORBA::Environment &env
- )
-{
- POA_IR::InterfaceDef_ptr impl = (POA_IR::ComponentDef_ptr) obj;
- POA_IR::InterfaceDef::create_operation_skel (
- req,
- (POA_IR::InterfaceDef_ptr) impl,
- context,
- env
- );
-}
-ACE_INLINE void POA_IR::ComponentDef::lookup_skel (
- TAO_ServerRequest &req,
- void *obj,
- void *context,
- CORBA::Environment &env
- )
-{
- POA_IR::Container_ptr impl = (POA_IR::ComponentDef_ptr) obj;
- POA_IR::Container::lookup_skel (
- req,
- (POA_IR::Container_ptr) impl,
- context,
- env
- );
-}
-ACE_INLINE void POA_IR::ComponentDef::contents_skel (
- TAO_ServerRequest &req,
- void *obj,
- void *context,
- CORBA::Environment &env
- )
-{
- POA_IR::Container_ptr impl = (POA_IR::ComponentDef_ptr) obj;
- POA_IR::Container::contents_skel (
- req,
- (POA_IR::Container_ptr) impl,
- context,
- env
- );
-}
-ACE_INLINE void POA_IR::ComponentDef::lookup_name_skel (
- TAO_ServerRequest &req,
- void *obj,
- void *context,
- CORBA::Environment &env
- )
-{
- POA_IR::Container_ptr impl = (POA_IR::ComponentDef_ptr) obj;
- POA_IR::Container::lookup_name_skel (
- req,
- (POA_IR::Container_ptr) impl,
- context,
- env
- );
-}
-ACE_INLINE void POA_IR::ComponentDef::describe_contents_skel (
- TAO_ServerRequest &req,
- void *obj,
- void *context,
- CORBA::Environment &env
- )
-{
- POA_IR::Container_ptr impl = (POA_IR::ComponentDef_ptr) obj;
- POA_IR::Container::describe_contents_skel (
- req,
- (POA_IR::Container_ptr) impl,
- context,
- env
- );
-}
-ACE_INLINE void POA_IR::ComponentDef::create_module_skel (
- TAO_ServerRequest &req,
- void *obj,
- void *context,
- CORBA::Environment &env
- )
-{
- POA_IR::Container_ptr impl = (POA_IR::ComponentDef_ptr) obj;
- POA_IR::Container::create_module_skel (
- req,
- (POA_IR::Container_ptr) impl,
- context,
- env
- );
-}
-ACE_INLINE void POA_IR::ComponentDef::create_constant_skel (
- TAO_ServerRequest &req,
- void *obj,
- void *context,
- CORBA::Environment &env
- )
-{
- POA_IR::Container_ptr impl = (POA_IR::ComponentDef_ptr) obj;
- POA_IR::Container::create_constant_skel (
- req,
- (POA_IR::Container_ptr) impl,
- context,
- env
- );
-}
-ACE_INLINE void POA_IR::ComponentDef::create_struct_skel (
- TAO_ServerRequest &req,
- void *obj,
- void *context,
- CORBA::Environment &env
- )
-{
- POA_IR::Container_ptr impl = (POA_IR::ComponentDef_ptr) obj;
- POA_IR::Container::create_struct_skel (
- req,
- (POA_IR::Container_ptr) impl,
- context,
- env
- );
-}
-ACE_INLINE void POA_IR::ComponentDef::create_union_skel (
- TAO_ServerRequest &req,
- void *obj,
- void *context,
- CORBA::Environment &env
- )
-{
- POA_IR::Container_ptr impl = (POA_IR::ComponentDef_ptr) obj;
- POA_IR::Container::create_union_skel (
- req,
- (POA_IR::Container_ptr) impl,
- context,
- env
- );
-}
-ACE_INLINE void POA_IR::ComponentDef::create_enum_skel (
- TAO_ServerRequest &req,
- void *obj,
- void *context,
- CORBA::Environment &env
- )
-{
- POA_IR::Container_ptr impl = (POA_IR::ComponentDef_ptr) obj;
- POA_IR::Container::create_enum_skel (
- req,
- (POA_IR::Container_ptr) impl,
- context,
- env
- );
-}
-ACE_INLINE void POA_IR::ComponentDef::create_alias_skel (
- TAO_ServerRequest &req,
- void *obj,
- void *context,
- CORBA::Environment &env
- )
-{
- POA_IR::Container_ptr impl = (POA_IR::ComponentDef_ptr) obj;
- POA_IR::Container::create_alias_skel (
- req,
- (POA_IR::Container_ptr) impl,
- context,
- env
- );
-}
-ACE_INLINE void POA_IR::ComponentDef::create_interface_skel (
- TAO_ServerRequest &req,
- void *obj,
- void *context,
- CORBA::Environment &env
- )
-{
- POA_IR::Container_ptr impl = (POA_IR::ComponentDef_ptr) obj;
- POA_IR::Container::create_interface_skel (
- req,
- (POA_IR::Container_ptr) impl,
- context,
- env
- );
-}
-ACE_INLINE void POA_IR::ComponentDef::create_value_skel (
- TAO_ServerRequest &req,
- void *obj,
- void *context,
- CORBA::Environment &env
- )
-{
- POA_IR::Container_ptr impl = (POA_IR::ComponentDef_ptr) obj;
- POA_IR::Container::create_value_skel (
- req,
- (POA_IR::Container_ptr) impl,
- context,
- env
- );
-}
-ACE_INLINE void POA_IR::ComponentDef::create_value_box_skel (
- TAO_ServerRequest &req,
- void *obj,
- void *context,
- CORBA::Environment &env
- )
-{
- POA_IR::Container_ptr impl = (POA_IR::ComponentDef_ptr) obj;
- POA_IR::Container::create_value_box_skel (
- req,
- (POA_IR::Container_ptr) impl,
- context,
- env
- );
-}
-ACE_INLINE void POA_IR::ComponentDef::create_exception_skel (
- TAO_ServerRequest &req,
- void *obj,
- void *context,
- CORBA::Environment &env
- )
-{
- POA_IR::Container_ptr impl = (POA_IR::ComponentDef_ptr) obj;
- POA_IR::Container::create_exception_skel (
- req,
- (POA_IR::Container_ptr) impl,
- context,
- env
- );
-}
-ACE_INLINE void POA_IR::ComponentDef::create_native_skel (
- TAO_ServerRequest &req,
- void *obj,
- void *context,
- CORBA::Environment &env
- )
-{
- POA_IR::Container_ptr impl = (POA_IR::ComponentDef_ptr) obj;
- POA_IR::Container::create_native_skel (
- req,
- (POA_IR::Container_ptr) impl,
- context,
- env
- );
-}
-ACE_INLINE void POA_IR::ComponentDef::_get_id_skel (
- TAO_ServerRequest &req,
- void *obj,
- void *context,
- CORBA::Environment &env
- )
-{
- POA_IR::Contained_ptr impl = (POA_IR::ComponentDef_ptr) obj;
- POA_IR::Contained::_get_id_skel (
- req,
- (POA_IR::Contained_ptr) impl,
- context,
- env
- );
-}
-ACE_INLINE void POA_IR::ComponentDef::_set_id_skel (
- TAO_ServerRequest &req,
- void *obj,
- void *context,
- CORBA::Environment &env
- )
-{
- POA_IR::Contained_ptr impl = (POA_IR::ComponentDef_ptr) obj;
- POA_IR::Contained::_set_id_skel (
- req,
- (POA_IR::Contained_ptr) impl,
- context,
- env
- );
-}
-ACE_INLINE void POA_IR::ComponentDef::_get_name_skel (
- TAO_ServerRequest &req,
- void *obj,
- void *context,
- CORBA::Environment &env
- )
-{
- POA_IR::Contained_ptr impl = (POA_IR::ComponentDef_ptr) obj;
- POA_IR::Contained::_get_name_skel (
- req,
- (POA_IR::Contained_ptr) impl,
- context,
- env
- );
-}
-ACE_INLINE void POA_IR::ComponentDef::_set_name_skel (
- TAO_ServerRequest &req,
- void *obj,
- void *context,
- CORBA::Environment &env
- )
-{
- POA_IR::Contained_ptr impl = (POA_IR::ComponentDef_ptr) obj;
- POA_IR::Contained::_set_name_skel (
- req,
- (POA_IR::Contained_ptr) impl,
- context,
- env
- );
-}
-ACE_INLINE void POA_IR::ComponentDef::_get_version_skel (
- TAO_ServerRequest &req,
- void *obj,
- void *context,
- CORBA::Environment &env
- )
-{
- POA_IR::Contained_ptr impl = (POA_IR::ComponentDef_ptr) obj;
- POA_IR::Contained::_get_version_skel (
- req,
- (POA_IR::Contained_ptr) impl,
- context,
- env
- );
-}
-ACE_INLINE void POA_IR::ComponentDef::_set_version_skel (
- TAO_ServerRequest &req,
- void *obj,
- void *context,
- CORBA::Environment &env
- )
-{
- POA_IR::Contained_ptr impl = (POA_IR::ComponentDef_ptr) obj;
- POA_IR::Contained::_set_version_skel (
- req,
- (POA_IR::Contained_ptr) impl,
- context,
- env
- );
-}
-ACE_INLINE void POA_IR::ComponentDef::_get_defined_in_skel (
- TAO_ServerRequest &req,
- void *obj,
- void *context,
- CORBA::Environment &env
- )
-{
- POA_IR::Contained_ptr impl = (POA_IR::ComponentDef_ptr) obj;
- POA_IR::Contained::_get_defined_in_skel (
- req,
- (POA_IR::Contained_ptr) impl,
- context,
- env
- );
-}
-ACE_INLINE void POA_IR::ComponentDef::_get_absolute_name_skel (
- TAO_ServerRequest &req,
- void *obj,
- void *context,
- CORBA::Environment &env
- )
-{
- POA_IR::Contained_ptr impl = (POA_IR::ComponentDef_ptr) obj;
- POA_IR::Contained::_get_absolute_name_skel (
- req,
- (POA_IR::Contained_ptr) impl,
- context,
- env
- );
-}
-ACE_INLINE void POA_IR::ComponentDef::_get_containing_repository_skel (
- TAO_ServerRequest &req,
- void *obj,
- void *context,
- CORBA::Environment &env
- )
-{
- POA_IR::Contained_ptr impl = (POA_IR::ComponentDef_ptr) obj;
- POA_IR::Contained::_get_containing_repository_skel (
- req,
- (POA_IR::Contained_ptr) impl,
- context,
- env
- );
-}
-ACE_INLINE void POA_IR::ComponentDef::describe_skel (
- TAO_ServerRequest &req,
- void *obj,
- void *context,
- CORBA::Environment &env
- )
-{
- POA_IR::Contained_ptr impl = (POA_IR::ComponentDef_ptr) obj;
- POA_IR::Contained::describe_skel (
- req,
- (POA_IR::Contained_ptr) impl,
- context,
- env
- );
-}
-ACE_INLINE void POA_IR::ComponentDef::move_skel (
- TAO_ServerRequest &req,
- void *obj,
- void *context,
- CORBA::Environment &env
- )
-{
- POA_IR::Contained_ptr impl = (POA_IR::ComponentDef_ptr) obj;
- POA_IR::Contained::move_skel (
- req,
- (POA_IR::Contained_ptr) impl,
- context,
- env
- );
-}
-ACE_INLINE void POA_IR::ComponentDef::_get_type_skel (
- TAO_ServerRequest &req,
- void *obj,
- void *context,
- CORBA::Environment &env
- )
-{
- POA_IR::IDLType_ptr impl = (POA_IR::ComponentDef_ptr) obj;
- POA_IR::IDLType::_get_type_skel (
- req,
- (POA_IR::IDLType_ptr) impl,
- context,
- env
- );
-}
-ACE_INLINE void POA_IR::ComponentDef::_get_def_kind_skel (
- TAO_ServerRequest &req,
- void *obj,
- void *context,
- CORBA::Environment &env
- )
-{
- POA_CORBA_IRObject_ptr impl = (POA_IR::ComponentDef_ptr) obj;
- POA_CORBA_IRObject::_get_def_kind_skel (
- req,
- (POA_CORBA_IRObject_ptr) impl,
- context,
- env
- );
-}
-ACE_INLINE void POA_IR::ComponentDef::destroy_skel (
- TAO_ServerRequest &req,
- void *obj,
- void *context,
- CORBA::Environment &env
- )
-{
- POA_CORBA_IRObject_ptr impl = (POA_IR::ComponentDef_ptr) obj;
- POA_CORBA_IRObject::destroy_skel (
- req,
- (POA_CORBA_IRObject_ptr) impl,
- context,
- env
- );
-}
-ACE_INLINE void POA_IR::PrimaryKeyDef::_get_id_skel (
- TAO_ServerRequest &req,
- void *obj,
- void *context,
- CORBA::Environment &env
- )
-{
- POA_IR::Contained_ptr impl = (POA_IR::PrimaryKeyDef_ptr) obj;
- POA_IR::Contained::_get_id_skel (
- req,
- (POA_IR::Contained_ptr) impl,
- context,
- env
- );
-}
-ACE_INLINE void POA_IR::PrimaryKeyDef::_set_id_skel (
- TAO_ServerRequest &req,
- void *obj,
- void *context,
- CORBA::Environment &env
- )
-{
- POA_IR::Contained_ptr impl = (POA_IR::PrimaryKeyDef_ptr) obj;
- POA_IR::Contained::_set_id_skel (
- req,
- (POA_IR::Contained_ptr) impl,
- context,
- env
- );
-}
-ACE_INLINE void POA_IR::PrimaryKeyDef::_get_name_skel (
- TAO_ServerRequest &req,
- void *obj,
- void *context,
- CORBA::Environment &env
- )
-{
- POA_IR::Contained_ptr impl = (POA_IR::PrimaryKeyDef_ptr) obj;
- POA_IR::Contained::_get_name_skel (
- req,
- (POA_IR::Contained_ptr) impl,
- context,
- env
- );
-}
-ACE_INLINE void POA_IR::PrimaryKeyDef::_set_name_skel (
- TAO_ServerRequest &req,
- void *obj,
- void *context,
- CORBA::Environment &env
- )
-{
- POA_IR::Contained_ptr impl = (POA_IR::PrimaryKeyDef_ptr) obj;
- POA_IR::Contained::_set_name_skel (
- req,
- (POA_IR::Contained_ptr) impl,
- context,
- env
- );
-}
-ACE_INLINE void POA_IR::PrimaryKeyDef::_get_version_skel (
- TAO_ServerRequest &req,
- void *obj,
- void *context,
- CORBA::Environment &env
- )
-{
- POA_IR::Contained_ptr impl = (POA_IR::PrimaryKeyDef_ptr) obj;
- POA_IR::Contained::_get_version_skel (
- req,
- (POA_IR::Contained_ptr) impl,
- context,
- env
- );
-}
-ACE_INLINE void POA_IR::PrimaryKeyDef::_set_version_skel (
- TAO_ServerRequest &req,
- void *obj,
- void *context,
- CORBA::Environment &env
- )
-{
- POA_IR::Contained_ptr impl = (POA_IR::PrimaryKeyDef_ptr) obj;
- POA_IR::Contained::_set_version_skel (
- req,
- (POA_IR::Contained_ptr) impl,
- context,
- env
- );
-}
-ACE_INLINE void POA_IR::PrimaryKeyDef::_get_defined_in_skel (
- TAO_ServerRequest &req,
- void *obj,
- void *context,
- CORBA::Environment &env
- )
-{
- POA_IR::Contained_ptr impl = (POA_IR::PrimaryKeyDef_ptr) obj;
- POA_IR::Contained::_get_defined_in_skel (
- req,
- (POA_IR::Contained_ptr) impl,
- context,
- env
- );
-}
-ACE_INLINE void POA_IR::PrimaryKeyDef::_get_absolute_name_skel (
- TAO_ServerRequest &req,
- void *obj,
- void *context,
- CORBA::Environment &env
- )
-{
- POA_IR::Contained_ptr impl = (POA_IR::PrimaryKeyDef_ptr) obj;
- POA_IR::Contained::_get_absolute_name_skel (
- req,
- (POA_IR::Contained_ptr) impl,
- context,
- env
- );
-}
-ACE_INLINE void POA_IR::PrimaryKeyDef::_get_containing_repository_skel (
- TAO_ServerRequest &req,
- void *obj,
- void *context,
- CORBA::Environment &env
- )
-{
- POA_IR::Contained_ptr impl = (POA_IR::PrimaryKeyDef_ptr) obj;
- POA_IR::Contained::_get_containing_repository_skel (
- req,
- (POA_IR::Contained_ptr) impl,
- context,
- env
- );
-}
-ACE_INLINE void POA_IR::PrimaryKeyDef::describe_skel (
- TAO_ServerRequest &req,
- void *obj,
- void *context,
- CORBA::Environment &env
- )
-{
- POA_IR::Contained_ptr impl = (POA_IR::PrimaryKeyDef_ptr) obj;
- POA_IR::Contained::describe_skel (
- req,
- (POA_IR::Contained_ptr) impl,
- context,
- env
- );
-}
-ACE_INLINE void POA_IR::PrimaryKeyDef::move_skel (
- TAO_ServerRequest &req,
- void *obj,
- void *context,
- CORBA::Environment &env
- )
-{
- POA_IR::Contained_ptr impl = (POA_IR::PrimaryKeyDef_ptr) obj;
- POA_IR::Contained::move_skel (
- req,
- (POA_IR::Contained_ptr) impl,
- context,
- env
- );
-}
-ACE_INLINE void POA_IR::PrimaryKeyDef::_get_def_kind_skel (
- TAO_ServerRequest &req,
- void *obj,
- void *context,
- CORBA::Environment &env
- )
-{
- POA_CORBA_IRObject_ptr impl = (POA_IR::PrimaryKeyDef_ptr) obj;
- POA_CORBA_IRObject::_get_def_kind_skel (
- req,
- (POA_CORBA_IRObject_ptr) impl,
- context,
- env
- );
-}
-ACE_INLINE void POA_IR::PrimaryKeyDef::destroy_skel (
- TAO_ServerRequest &req,
- void *obj,
- void *context,
- CORBA::Environment &env
- )
-{
- POA_CORBA_IRObject_ptr impl = (POA_IR::PrimaryKeyDef_ptr) obj;
- POA_CORBA_IRObject::destroy_skel (
- req,
- (POA_CORBA_IRObject_ptr) impl,
- context,
- env
- );
-}
-ACE_INLINE void POA_IR::FactoryDef::_get_result_skel (
- TAO_ServerRequest &req,
- void *obj,
- void *context,
- CORBA::Environment &env
- )
-{
- POA_IR::OperationDef_ptr impl = (POA_IR::FactoryDef_ptr) obj;
- POA_IR::OperationDef::_get_result_skel (
- req,
- (POA_IR::OperationDef_ptr) impl,
- context,
- env
- );
-}
-ACE_INLINE void POA_IR::FactoryDef::_get_result_def_skel (
- TAO_ServerRequest &req,
- void *obj,
- void *context,
- CORBA::Environment &env
- )
-{
- POA_IR::OperationDef_ptr impl = (POA_IR::FactoryDef_ptr) obj;
- POA_IR::OperationDef::_get_result_def_skel (
- req,
- (POA_IR::OperationDef_ptr) impl,
- context,
- env
- );
-}
-ACE_INLINE void POA_IR::FactoryDef::_set_result_def_skel (
- TAO_ServerRequest &req,
- void *obj,
- void *context,
- CORBA::Environment &env
- )
-{
- POA_IR::OperationDef_ptr impl = (POA_IR::FactoryDef_ptr) obj;
- POA_IR::OperationDef::_set_result_def_skel (
- req,
- (POA_IR::OperationDef_ptr) impl,
- context,
- env
- );
-}
-ACE_INLINE void POA_IR::FactoryDef::_get_params_skel (
- TAO_ServerRequest &req,
- void *obj,
- void *context,
- CORBA::Environment &env
- )
-{
- POA_IR::OperationDef_ptr impl = (POA_IR::FactoryDef_ptr) obj;
- POA_IR::OperationDef::_get_params_skel (
- req,
- (POA_IR::OperationDef_ptr) impl,
- context,
- env
- );
-}
-ACE_INLINE void POA_IR::FactoryDef::_set_params_skel (
- TAO_ServerRequest &req,
- void *obj,
- void *context,
- CORBA::Environment &env
- )
-{
- POA_IR::OperationDef_ptr impl = (POA_IR::FactoryDef_ptr) obj;
- POA_IR::OperationDef::_set_params_skel (
- req,
- (POA_IR::OperationDef_ptr) impl,
- context,
- env
- );
-}
-ACE_INLINE void POA_IR::FactoryDef::_get_mode_skel (
- TAO_ServerRequest &req,
- void *obj,
- void *context,
- CORBA::Environment &env
- )
-{
- POA_IR::OperationDef_ptr impl = (POA_IR::FactoryDef_ptr) obj;
- POA_IR::OperationDef::_get_mode_skel (
- req,
- (POA_IR::OperationDef_ptr) impl,
- context,
- env
- );
-}
-ACE_INLINE void POA_IR::FactoryDef::_set_mode_skel (
- TAO_ServerRequest &req,
- void *obj,
- void *context,
- CORBA::Environment &env
- )
-{
- POA_IR::OperationDef_ptr impl = (POA_IR::FactoryDef_ptr) obj;
- POA_IR::OperationDef::_set_mode_skel (
- req,
- (POA_IR::OperationDef_ptr) impl,
- context,
- env
- );
-}
-ACE_INLINE void POA_IR::FactoryDef::_get_contexts_skel (
- TAO_ServerRequest &req,
- void *obj,
- void *context,
- CORBA::Environment &env
- )
-{
- POA_IR::OperationDef_ptr impl = (POA_IR::FactoryDef_ptr) obj;
- POA_IR::OperationDef::_get_contexts_skel (
- req,
- (POA_IR::OperationDef_ptr) impl,
- context,
- env
- );
-}
-ACE_INLINE void POA_IR::FactoryDef::_set_contexts_skel (
- TAO_ServerRequest &req,
- void *obj,
- void *context,
- CORBA::Environment &env
- )
-{
- POA_IR::OperationDef_ptr impl = (POA_IR::FactoryDef_ptr) obj;
- POA_IR::OperationDef::_set_contexts_skel (
- req,
- (POA_IR::OperationDef_ptr) impl,
- context,
- env
- );
-}
-ACE_INLINE void POA_IR::FactoryDef::_get_exceptions_skel (
- TAO_ServerRequest &req,
- void *obj,
- void *context,
- CORBA::Environment &env
- )
-{
- POA_IR::OperationDef_ptr impl = (POA_IR::FactoryDef_ptr) obj;
- POA_IR::OperationDef::_get_exceptions_skel (
- req,
- (POA_IR::OperationDef_ptr) impl,
- context,
- env
- );
-}
-ACE_INLINE void POA_IR::FactoryDef::_set_exceptions_skel (
- TAO_ServerRequest &req,
- void *obj,
- void *context,
- CORBA::Environment &env
- )
-{
- POA_IR::OperationDef_ptr impl = (POA_IR::FactoryDef_ptr) obj;
- POA_IR::OperationDef::_set_exceptions_skel (
- req,
- (POA_IR::OperationDef_ptr) impl,
- context,
- env
- );
-}
-ACE_INLINE void POA_IR::FactoryDef::_get_id_skel (
- TAO_ServerRequest &req,
- void *obj,
- void *context,
- CORBA::Environment &env
- )
-{
- POA_IR::Contained_ptr impl = (POA_IR::FactoryDef_ptr) obj;
- POA_IR::Contained::_get_id_skel (
- req,
- (POA_IR::Contained_ptr) impl,
- context,
- env
- );
-}
-ACE_INLINE void POA_IR::FactoryDef::_set_id_skel (
- TAO_ServerRequest &req,
- void *obj,
- void *context,
- CORBA::Environment &env
- )
-{
- POA_IR::Contained_ptr impl = (POA_IR::FactoryDef_ptr) obj;
- POA_IR::Contained::_set_id_skel (
- req,
- (POA_IR::Contained_ptr) impl,
- context,
- env
- );
-}
-ACE_INLINE void POA_IR::FactoryDef::_get_name_skel (
- TAO_ServerRequest &req,
- void *obj,
- void *context,
- CORBA::Environment &env
- )
-{
- POA_IR::Contained_ptr impl = (POA_IR::FactoryDef_ptr) obj;
- POA_IR::Contained::_get_name_skel (
- req,
- (POA_IR::Contained_ptr) impl,
- context,
- env
- );
-}
-ACE_INLINE void POA_IR::FactoryDef::_set_name_skel (
- TAO_ServerRequest &req,
- void *obj,
- void *context,
- CORBA::Environment &env
- )
-{
- POA_IR::Contained_ptr impl = (POA_IR::FactoryDef_ptr) obj;
- POA_IR::Contained::_set_name_skel (
- req,
- (POA_IR::Contained_ptr) impl,
- context,
- env
- );
-}
-ACE_INLINE void POA_IR::FactoryDef::_get_version_skel (
- TAO_ServerRequest &req,
- void *obj,
- void *context,
- CORBA::Environment &env
- )
-{
- POA_IR::Contained_ptr impl = (POA_IR::FactoryDef_ptr) obj;
- POA_IR::Contained::_get_version_skel (
- req,
- (POA_IR::Contained_ptr) impl,
- context,
- env
- );
-}
-ACE_INLINE void POA_IR::FactoryDef::_set_version_skel (
- TAO_ServerRequest &req,
- void *obj,
- void *context,
- CORBA::Environment &env
- )
-{
- POA_IR::Contained_ptr impl = (POA_IR::FactoryDef_ptr) obj;
- POA_IR::Contained::_set_version_skel (
- req,
- (POA_IR::Contained_ptr) impl,
- context,
- env
- );
-}
-ACE_INLINE void POA_IR::FactoryDef::_get_defined_in_skel (
- TAO_ServerRequest &req,
- void *obj,
- void *context,
- CORBA::Environment &env
- )
-{
- POA_IR::Contained_ptr impl = (POA_IR::FactoryDef_ptr) obj;
- POA_IR::Contained::_get_defined_in_skel (
- req,
- (POA_IR::Contained_ptr) impl,
- context,
- env
- );
-}
-ACE_INLINE void POA_IR::FactoryDef::_get_absolute_name_skel (
- TAO_ServerRequest &req,
- void *obj,
- void *context,
- CORBA::Environment &env
- )
-{
- POA_IR::Contained_ptr impl = (POA_IR::FactoryDef_ptr) obj;
- POA_IR::Contained::_get_absolute_name_skel (
- req,
- (POA_IR::Contained_ptr) impl,
- context,
- env
- );
-}
-ACE_INLINE void POA_IR::FactoryDef::_get_containing_repository_skel (
- TAO_ServerRequest &req,
- void *obj,
- void *context,
- CORBA::Environment &env
- )
-{
- POA_IR::Contained_ptr impl = (POA_IR::FactoryDef_ptr) obj;
- POA_IR::Contained::_get_containing_repository_skel (
- req,
- (POA_IR::Contained_ptr) impl,
- context,
- env
- );
-}
-ACE_INLINE void POA_IR::FactoryDef::describe_skel (
- TAO_ServerRequest &req,
- void *obj,
- void *context,
- CORBA::Environment &env
- )
-{
- POA_IR::Contained_ptr impl = (POA_IR::FactoryDef_ptr) obj;
- POA_IR::Contained::describe_skel (
- req,
- (POA_IR::Contained_ptr) impl,
- context,
- env
- );
-}
-ACE_INLINE void POA_IR::FactoryDef::move_skel (
- TAO_ServerRequest &req,
- void *obj,
- void *context,
- CORBA::Environment &env
- )
-{
- POA_IR::Contained_ptr impl = (POA_IR::FactoryDef_ptr) obj;
- POA_IR::Contained::move_skel (
- req,
- (POA_IR::Contained_ptr) impl,
- context,
- env
- );
-}
-ACE_INLINE void POA_IR::FactoryDef::_get_def_kind_skel (
- TAO_ServerRequest &req,
- void *obj,
- void *context,
- CORBA::Environment &env
- )
-{
- POA_CORBA_IRObject_ptr impl = (POA_IR::FactoryDef_ptr) obj;
- POA_CORBA_IRObject::_get_def_kind_skel (
- req,
- (POA_CORBA_IRObject_ptr) impl,
- context,
- env
- );
-}
-ACE_INLINE void POA_IR::FactoryDef::destroy_skel (
- TAO_ServerRequest &req,
- void *obj,
- void *context,
- CORBA::Environment &env
- )
-{
- POA_CORBA_IRObject_ptr impl = (POA_IR::FactoryDef_ptr) obj;
- POA_CORBA_IRObject::destroy_skel (
- req,
- (POA_CORBA_IRObject_ptr) impl,
- context,
- env
- );
-}
-ACE_INLINE void POA_IR::FinderDef::_get_result_skel (
- TAO_ServerRequest &req,
- void *obj,
- void *context,
- CORBA::Environment &env
- )
-{
- POA_IR::OperationDef_ptr impl = (POA_IR::FinderDef_ptr) obj;
- POA_IR::OperationDef::_get_result_skel (
- req,
- (POA_IR::OperationDef_ptr) impl,
- context,
- env
- );
-}
-ACE_INLINE void POA_IR::FinderDef::_get_result_def_skel (
- TAO_ServerRequest &req,
- void *obj,
- void *context,
- CORBA::Environment &env
- )
-{
- POA_IR::OperationDef_ptr impl = (POA_IR::FinderDef_ptr) obj;
- POA_IR::OperationDef::_get_result_def_skel (
- req,
- (POA_IR::OperationDef_ptr) impl,
- context,
- env
- );
-}
-ACE_INLINE void POA_IR::FinderDef::_set_result_def_skel (
- TAO_ServerRequest &req,
- void *obj,
- void *context,
- CORBA::Environment &env
- )
-{
- POA_IR::OperationDef_ptr impl = (POA_IR::FinderDef_ptr) obj;
- POA_IR::OperationDef::_set_result_def_skel (
- req,
- (POA_IR::OperationDef_ptr) impl,
- context,
- env
- );
-}
-ACE_INLINE void POA_IR::FinderDef::_get_params_skel (
- TAO_ServerRequest &req,
- void *obj,
- void *context,
- CORBA::Environment &env
- )
-{
- POA_IR::OperationDef_ptr impl = (POA_IR::FinderDef_ptr) obj;
- POA_IR::OperationDef::_get_params_skel (
- req,
- (POA_IR::OperationDef_ptr) impl,
- context,
- env
- );
-}
-ACE_INLINE void POA_IR::FinderDef::_set_params_skel (
- TAO_ServerRequest &req,
- void *obj,
- void *context,
- CORBA::Environment &env
- )
-{
- POA_IR::OperationDef_ptr impl = (POA_IR::FinderDef_ptr) obj;
- POA_IR::OperationDef::_set_params_skel (
- req,
- (POA_IR::OperationDef_ptr) impl,
- context,
- env
- );
-}
-ACE_INLINE void POA_IR::FinderDef::_get_mode_skel (
- TAO_ServerRequest &req,
- void *obj,
- void *context,
- CORBA::Environment &env
- )
-{
- POA_IR::OperationDef_ptr impl = (POA_IR::FinderDef_ptr) obj;
- POA_IR::OperationDef::_get_mode_skel (
- req,
- (POA_IR::OperationDef_ptr) impl,
- context,
- env
- );
-}
-ACE_INLINE void POA_IR::FinderDef::_set_mode_skel (
- TAO_ServerRequest &req,
- void *obj,
- void *context,
- CORBA::Environment &env
- )
-{
- POA_IR::OperationDef_ptr impl = (POA_IR::FinderDef_ptr) obj;
- POA_IR::OperationDef::_set_mode_skel (
- req,
- (POA_IR::OperationDef_ptr) impl,
- context,
- env
- );
-}
-ACE_INLINE void POA_IR::FinderDef::_get_contexts_skel (
- TAO_ServerRequest &req,
- void *obj,
- void *context,
- CORBA::Environment &env
- )
-{
- POA_IR::OperationDef_ptr impl = (POA_IR::FinderDef_ptr) obj;
- POA_IR::OperationDef::_get_contexts_skel (
- req,
- (POA_IR::OperationDef_ptr) impl,
- context,
- env
- );
-}
-ACE_INLINE void POA_IR::FinderDef::_set_contexts_skel (
- TAO_ServerRequest &req,
- void *obj,
- void *context,
- CORBA::Environment &env
- )
-{
- POA_IR::OperationDef_ptr impl = (POA_IR::FinderDef_ptr) obj;
- POA_IR::OperationDef::_set_contexts_skel (
- req,
- (POA_IR::OperationDef_ptr) impl,
- context,
- env
- );
-}
-ACE_INLINE void POA_IR::FinderDef::_get_exceptions_skel (
- TAO_ServerRequest &req,
- void *obj,
- void *context,
- CORBA::Environment &env
- )
-{
- POA_IR::OperationDef_ptr impl = (POA_IR::FinderDef_ptr) obj;
- POA_IR::OperationDef::_get_exceptions_skel (
- req,
- (POA_IR::OperationDef_ptr) impl,
- context,
- env
- );
-}
-ACE_INLINE void POA_IR::FinderDef::_set_exceptions_skel (
- TAO_ServerRequest &req,
- void *obj,
- void *context,
- CORBA::Environment &env
- )
-{
- POA_IR::OperationDef_ptr impl = (POA_IR::FinderDef_ptr) obj;
- POA_IR::OperationDef::_set_exceptions_skel (
- req,
- (POA_IR::OperationDef_ptr) impl,
- context,
- env
- );
-}
-ACE_INLINE void POA_IR::FinderDef::_get_id_skel (
- TAO_ServerRequest &req,
- void *obj,
- void *context,
- CORBA::Environment &env
- )
-{
- POA_IR::Contained_ptr impl = (POA_IR::FinderDef_ptr) obj;
- POA_IR::Contained::_get_id_skel (
- req,
- (POA_IR::Contained_ptr) impl,
- context,
- env
- );
-}
-ACE_INLINE void POA_IR::FinderDef::_set_id_skel (
- TAO_ServerRequest &req,
- void *obj,
- void *context,
- CORBA::Environment &env
- )
-{
- POA_IR::Contained_ptr impl = (POA_IR::FinderDef_ptr) obj;
- POA_IR::Contained::_set_id_skel (
- req,
- (POA_IR::Contained_ptr) impl,
- context,
- env
- );
-}
-ACE_INLINE void POA_IR::FinderDef::_get_name_skel (
- TAO_ServerRequest &req,
- void *obj,
- void *context,
- CORBA::Environment &env
- )
-{
- POA_IR::Contained_ptr impl = (POA_IR::FinderDef_ptr) obj;
- POA_IR::Contained::_get_name_skel (
- req,
- (POA_IR::Contained_ptr) impl,
- context,
- env
- );
-}
-ACE_INLINE void POA_IR::FinderDef::_set_name_skel (
- TAO_ServerRequest &req,
- void *obj,
- void *context,
- CORBA::Environment &env
- )
-{
- POA_IR::Contained_ptr impl = (POA_IR::FinderDef_ptr) obj;
- POA_IR::Contained::_set_name_skel (
- req,
- (POA_IR::Contained_ptr) impl,
- context,
- env
- );
-}
-ACE_INLINE void POA_IR::FinderDef::_get_version_skel (
- TAO_ServerRequest &req,
- void *obj,
- void *context,
- CORBA::Environment &env
- )
-{
- POA_IR::Contained_ptr impl = (POA_IR::FinderDef_ptr) obj;
- POA_IR::Contained::_get_version_skel (
- req,
- (POA_IR::Contained_ptr) impl,
- context,
- env
- );
-}
-ACE_INLINE void POA_IR::FinderDef::_set_version_skel (
- TAO_ServerRequest &req,
- void *obj,
- void *context,
- CORBA::Environment &env
- )
-{
- POA_IR::Contained_ptr impl = (POA_IR::FinderDef_ptr) obj;
- POA_IR::Contained::_set_version_skel (
- req,
- (POA_IR::Contained_ptr) impl,
- context,
- env
- );
-}
-ACE_INLINE void POA_IR::FinderDef::_get_defined_in_skel (
- TAO_ServerRequest &req,
- void *obj,
- void *context,
- CORBA::Environment &env
- )
-{
- POA_IR::Contained_ptr impl = (POA_IR::FinderDef_ptr) obj;
- POA_IR::Contained::_get_defined_in_skel (
- req,
- (POA_IR::Contained_ptr) impl,
- context,
- env
- );
-}
-ACE_INLINE void POA_IR::FinderDef::_get_absolute_name_skel (
- TAO_ServerRequest &req,
- void *obj,
- void *context,
- CORBA::Environment &env
- )
-{
- POA_IR::Contained_ptr impl = (POA_IR::FinderDef_ptr) obj;
- POA_IR::Contained::_get_absolute_name_skel (
- req,
- (POA_IR::Contained_ptr) impl,
- context,
- env
- );
-}
-ACE_INLINE void POA_IR::FinderDef::_get_containing_repository_skel (
- TAO_ServerRequest &req,
- void *obj,
- void *context,
- CORBA::Environment &env
- )
-{
- POA_IR::Contained_ptr impl = (POA_IR::FinderDef_ptr) obj;
- POA_IR::Contained::_get_containing_repository_skel (
- req,
- (POA_IR::Contained_ptr) impl,
- context,
- env
- );
-}
-ACE_INLINE void POA_IR::FinderDef::describe_skel (
- TAO_ServerRequest &req,
- void *obj,
- void *context,
- CORBA::Environment &env
- )
-{
- POA_IR::Contained_ptr impl = (POA_IR::FinderDef_ptr) obj;
- POA_IR::Contained::describe_skel (
- req,
- (POA_IR::Contained_ptr) impl,
- context,
- env
- );
-}
-ACE_INLINE void POA_IR::FinderDef::move_skel (
- TAO_ServerRequest &req,
- void *obj,
- void *context,
- CORBA::Environment &env
- )
-{
- POA_IR::Contained_ptr impl = (POA_IR::FinderDef_ptr) obj;
- POA_IR::Contained::move_skel (
- req,
- (POA_IR::Contained_ptr) impl,
- context,
- env
- );
-}
-ACE_INLINE void POA_IR::FinderDef::_get_def_kind_skel (
- TAO_ServerRequest &req,
- void *obj,
- void *context,
- CORBA::Environment &env
- )
-{
- POA_CORBA_IRObject_ptr impl = (POA_IR::FinderDef_ptr) obj;
- POA_CORBA_IRObject::_get_def_kind_skel (
- req,
- (POA_CORBA_IRObject_ptr) impl,
- context,
- env
- );
-}
-ACE_INLINE void POA_IR::FinderDef::destroy_skel (
- TAO_ServerRequest &req,
- void *obj,
- void *context,
- CORBA::Environment &env
- )
-{
- POA_CORBA_IRObject_ptr impl = (POA_IR::FinderDef_ptr) obj;
- POA_CORBA_IRObject::destroy_skel (
- req,
- (POA_CORBA_IRObject_ptr) impl,
- context,
- env
- );
-}
-ACE_INLINE void POA_IR::HomeDef::_get_base_interfaces_skel (
- TAO_ServerRequest &req,
- void *obj,
- void *context,
- CORBA::Environment &env
- )
-{
- POA_IR::InterfaceDef_ptr impl = (POA_IR::HomeDef_ptr) obj;
- POA_IR::InterfaceDef::_get_base_interfaces_skel (
- req,
- (POA_IR::InterfaceDef_ptr) impl,
- context,
- env
- );
-}
-ACE_INLINE void POA_IR::HomeDef::_set_base_interfaces_skel (
- TAO_ServerRequest &req,
- void *obj,
- void *context,
- CORBA::Environment &env
- )
-{
- POA_IR::InterfaceDef_ptr impl = (POA_IR::HomeDef_ptr) obj;
- POA_IR::InterfaceDef::_set_base_interfaces_skel (
- req,
- (POA_IR::InterfaceDef_ptr) impl,
- context,
- env
- );
-}
-ACE_INLINE void POA_IR::HomeDef::_get_is_abstract_skel (
- TAO_ServerRequest &req,
- void *obj,
- void *context,
- CORBA::Environment &env
- )
-{
- POA_IR::InterfaceDef_ptr impl = (POA_IR::HomeDef_ptr) obj;
- POA_IR::InterfaceDef::_get_is_abstract_skel (
- req,
- (POA_IR::InterfaceDef_ptr) impl,
- context,
- env
- );
-}
-ACE_INLINE void POA_IR::HomeDef::_set_is_abstract_skel (
- TAO_ServerRequest &req,
- void *obj,
- void *context,
- CORBA::Environment &env
- )
-{
- POA_IR::InterfaceDef_ptr impl = (POA_IR::HomeDef_ptr) obj;
- POA_IR::InterfaceDef::_set_is_abstract_skel (
- req,
- (POA_IR::InterfaceDef_ptr) impl,
- context,
- env
- );
-}
-ACE_INLINE void POA_IR::HomeDef::_get_is_local_skel (
- TAO_ServerRequest &req,
- void *obj,
- void *context,
- CORBA::Environment &env
- )
-{
- POA_IR::InterfaceDef_ptr impl = (POA_IR::HomeDef_ptr) obj;
- POA_IR::InterfaceDef::_get_is_local_skel (
- req,
- (POA_IR::InterfaceDef_ptr) impl,
- context,
- env
- );
-}
-ACE_INLINE void POA_IR::HomeDef::_set_is_local_skel (
- TAO_ServerRequest &req,
- void *obj,
- void *context,
- CORBA::Environment &env
- )
-{
- POA_IR::InterfaceDef_ptr impl = (POA_IR::HomeDef_ptr) obj;
- POA_IR::InterfaceDef::_set_is_local_skel (
- req,
- (POA_IR::InterfaceDef_ptr) impl,
- context,
- env
- );
-}
-ACE_INLINE void POA_IR::HomeDef::is_a_skel (
- TAO_ServerRequest &req,
- void *obj,
- void *context,
- CORBA::Environment &env
- )
-{
- POA_IR::InterfaceDef_ptr impl = (POA_IR::HomeDef_ptr) obj;
- POA_IR::InterfaceDef::is_a_skel (
- req,
- (POA_IR::InterfaceDef_ptr) impl,
- context,
- env
- );
-}
-ACE_INLINE void POA_IR::HomeDef::create_attribute_skel (
- TAO_ServerRequest &req,
- void *obj,
- void *context,
- CORBA::Environment &env
- )
-{
- POA_IR::InterfaceDef_ptr impl = (POA_IR::HomeDef_ptr) obj;
- POA_IR::InterfaceDef::create_attribute_skel (
- req,
- (POA_IR::InterfaceDef_ptr) impl,
- context,
- env
- );
-}
-ACE_INLINE void POA_IR::HomeDef::create_operation_skel (
- TAO_ServerRequest &req,
- void *obj,
- void *context,
- CORBA::Environment &env
- )
-{
- POA_IR::InterfaceDef_ptr impl = (POA_IR::HomeDef_ptr) obj;
- POA_IR::InterfaceDef::create_operation_skel (
- req,
- (POA_IR::InterfaceDef_ptr) impl,
- context,
- env
- );
-}
-ACE_INLINE void POA_IR::HomeDef::lookup_skel (
- TAO_ServerRequest &req,
- void *obj,
- void *context,
- CORBA::Environment &env
- )
-{
- POA_IR::Container_ptr impl = (POA_IR::HomeDef_ptr) obj;
- POA_IR::Container::lookup_skel (
- req,
- (POA_IR::Container_ptr) impl,
- context,
- env
- );
-}
-ACE_INLINE void POA_IR::HomeDef::contents_skel (
- TAO_ServerRequest &req,
- void *obj,
- void *context,
- CORBA::Environment &env
- )
-{
- POA_IR::Container_ptr impl = (POA_IR::HomeDef_ptr) obj;
- POA_IR::Container::contents_skel (
- req,
- (POA_IR::Container_ptr) impl,
- context,
- env
- );
-}
-ACE_INLINE void POA_IR::HomeDef::lookup_name_skel (
- TAO_ServerRequest &req,
- void *obj,
- void *context,
- CORBA::Environment &env
- )
-{
- POA_IR::Container_ptr impl = (POA_IR::HomeDef_ptr) obj;
- POA_IR::Container::lookup_name_skel (
- req,
- (POA_IR::Container_ptr) impl,
- context,
- env
- );
-}
-ACE_INLINE void POA_IR::HomeDef::describe_contents_skel (
- TAO_ServerRequest &req,
- void *obj,
- void *context,
- CORBA::Environment &env
- )
-{
- POA_IR::Container_ptr impl = (POA_IR::HomeDef_ptr) obj;
- POA_IR::Container::describe_contents_skel (
- req,
- (POA_IR::Container_ptr) impl,
- context,
- env
- );
-}
-ACE_INLINE void POA_IR::HomeDef::create_module_skel (
- TAO_ServerRequest &req,
- void *obj,
- void *context,
- CORBA::Environment &env
- )
-{
- POA_IR::Container_ptr impl = (POA_IR::HomeDef_ptr) obj;
- POA_IR::Container::create_module_skel (
- req,
- (POA_IR::Container_ptr) impl,
- context,
- env
- );
-}
-ACE_INLINE void POA_IR::HomeDef::create_constant_skel (
- TAO_ServerRequest &req,
- void *obj,
- void *context,
- CORBA::Environment &env
- )
-{
- POA_IR::Container_ptr impl = (POA_IR::HomeDef_ptr) obj;
- POA_IR::Container::create_constant_skel (
- req,
- (POA_IR::Container_ptr) impl,
- context,
- env
- );
-}
-ACE_INLINE void POA_IR::HomeDef::create_struct_skel (
- TAO_ServerRequest &req,
- void *obj,
- void *context,
- CORBA::Environment &env
- )
-{
- POA_IR::Container_ptr impl = (POA_IR::HomeDef_ptr) obj;
- POA_IR::Container::create_struct_skel (
- req,
- (POA_IR::Container_ptr) impl,
- context,
- env
- );
-}
-ACE_INLINE void POA_IR::HomeDef::create_union_skel (
- TAO_ServerRequest &req,
- void *obj,
- void *context,
- CORBA::Environment &env
- )
-{
- POA_IR::Container_ptr impl = (POA_IR::HomeDef_ptr) obj;
- POA_IR::Container::create_union_skel (
- req,
- (POA_IR::Container_ptr) impl,
- context,
- env
- );
-}
-ACE_INLINE void POA_IR::HomeDef::create_enum_skel (
- TAO_ServerRequest &req,
- void *obj,
- void *context,
- CORBA::Environment &env
- )
-{
- POA_IR::Container_ptr impl = (POA_IR::HomeDef_ptr) obj;
- POA_IR::Container::create_enum_skel (
- req,
- (POA_IR::Container_ptr) impl,
- context,
- env
- );
-}
-ACE_INLINE void POA_IR::HomeDef::create_alias_skel (
- TAO_ServerRequest &req,
- void *obj,
- void *context,
- CORBA::Environment &env
- )
-{
- POA_IR::Container_ptr impl = (POA_IR::HomeDef_ptr) obj;
- POA_IR::Container::create_alias_skel (
- req,
- (POA_IR::Container_ptr) impl,
- context,
- env
- );
-}
-ACE_INLINE void POA_IR::HomeDef::create_interface_skel (
- TAO_ServerRequest &req,
- void *obj,
- void *context,
- CORBA::Environment &env
- )
-{
- POA_IR::Container_ptr impl = (POA_IR::HomeDef_ptr) obj;
- POA_IR::Container::create_interface_skel (
- req,
- (POA_IR::Container_ptr) impl,
- context,
- env
- );
-}
-ACE_INLINE void POA_IR::HomeDef::create_value_skel (
- TAO_ServerRequest &req,
- void *obj,
- void *context,
- CORBA::Environment &env
- )
-{
- POA_IR::Container_ptr impl = (POA_IR::HomeDef_ptr) obj;
- POA_IR::Container::create_value_skel (
- req,
- (POA_IR::Container_ptr) impl,
- context,
- env
- );
-}
-ACE_INLINE void POA_IR::HomeDef::create_value_box_skel (
- TAO_ServerRequest &req,
- void *obj,
- void *context,
- CORBA::Environment &env
- )
-{
- POA_IR::Container_ptr impl = (POA_IR::HomeDef_ptr) obj;
- POA_IR::Container::create_value_box_skel (
- req,
- (POA_IR::Container_ptr) impl,
- context,
- env
- );
-}
-ACE_INLINE void POA_IR::HomeDef::create_exception_skel (
- TAO_ServerRequest &req,
- void *obj,
- void *context,
- CORBA::Environment &env
- )
-{
- POA_IR::Container_ptr impl = (POA_IR::HomeDef_ptr) obj;
- POA_IR::Container::create_exception_skel (
- req,
- (POA_IR::Container_ptr) impl,
- context,
- env
- );
-}
-ACE_INLINE void POA_IR::HomeDef::create_native_skel (
- TAO_ServerRequest &req,
- void *obj,
- void *context,
- CORBA::Environment &env
- )
-{
- POA_IR::Container_ptr impl = (POA_IR::HomeDef_ptr) obj;
- POA_IR::Container::create_native_skel (
- req,
- (POA_IR::Container_ptr) impl,
- context,
- env
- );
-}
-ACE_INLINE void POA_IR::HomeDef::_get_id_skel (
- TAO_ServerRequest &req,
- void *obj,
- void *context,
- CORBA::Environment &env
- )
-{
- POA_IR::Contained_ptr impl = (POA_IR::HomeDef_ptr) obj;
- POA_IR::Contained::_get_id_skel (
- req,
- (POA_IR::Contained_ptr) impl,
- context,
- env
- );
-}
-ACE_INLINE void POA_IR::HomeDef::_set_id_skel (
- TAO_ServerRequest &req,
- void *obj,
- void *context,
- CORBA::Environment &env
- )
-{
- POA_IR::Contained_ptr impl = (POA_IR::HomeDef_ptr) obj;
- POA_IR::Contained::_set_id_skel (
- req,
- (POA_IR::Contained_ptr) impl,
- context,
- env
- );
-}
-ACE_INLINE void POA_IR::HomeDef::_get_name_skel (
- TAO_ServerRequest &req,
- void *obj,
- void *context,
- CORBA::Environment &env
- )
-{
- POA_IR::Contained_ptr impl = (POA_IR::HomeDef_ptr) obj;
- POA_IR::Contained::_get_name_skel (
- req,
- (POA_IR::Contained_ptr) impl,
- context,
- env
- );
-}
-ACE_INLINE void POA_IR::HomeDef::_set_name_skel (
- TAO_ServerRequest &req,
- void *obj,
- void *context,
- CORBA::Environment &env
- )
-{
- POA_IR::Contained_ptr impl = (POA_IR::HomeDef_ptr) obj;
- POA_IR::Contained::_set_name_skel (
- req,
- (POA_IR::Contained_ptr) impl,
- context,
- env
- );
-}
-ACE_INLINE void POA_IR::HomeDef::_get_version_skel (
- TAO_ServerRequest &req,
- void *obj,
- void *context,
- CORBA::Environment &env
- )
-{
- POA_IR::Contained_ptr impl = (POA_IR::HomeDef_ptr) obj;
- POA_IR::Contained::_get_version_skel (
- req,
- (POA_IR::Contained_ptr) impl,
- context,
- env
- );
-}
-ACE_INLINE void POA_IR::HomeDef::_set_version_skel (
- TAO_ServerRequest &req,
- void *obj,
- void *context,
- CORBA::Environment &env
- )
-{
- POA_IR::Contained_ptr impl = (POA_IR::HomeDef_ptr) obj;
- POA_IR::Contained::_set_version_skel (
- req,
- (POA_IR::Contained_ptr) impl,
- context,
- env
- );
-}
-ACE_INLINE void POA_IR::HomeDef::_get_defined_in_skel (
- TAO_ServerRequest &req,
- void *obj,
- void *context,
- CORBA::Environment &env
- )
-{
- POA_IR::Contained_ptr impl = (POA_IR::HomeDef_ptr) obj;
- POA_IR::Contained::_get_defined_in_skel (
- req,
- (POA_IR::Contained_ptr) impl,
- context,
- env
- );
-}
-ACE_INLINE void POA_IR::HomeDef::_get_absolute_name_skel (
- TAO_ServerRequest &req,
- void *obj,
- void *context,
- CORBA::Environment &env
- )
-{
- POA_IR::Contained_ptr impl = (POA_IR::HomeDef_ptr) obj;
- POA_IR::Contained::_get_absolute_name_skel (
- req,
- (POA_IR::Contained_ptr) impl,
- context,
- env
- );
-}
-ACE_INLINE void POA_IR::HomeDef::_get_containing_repository_skel (
- TAO_ServerRequest &req,
- void *obj,
- void *context,
- CORBA::Environment &env
- )
-{
- POA_IR::Contained_ptr impl = (POA_IR::HomeDef_ptr) obj;
- POA_IR::Contained::_get_containing_repository_skel (
- req,
- (POA_IR::Contained_ptr) impl,
- context,
- env
- );
-}
-ACE_INLINE void POA_IR::HomeDef::describe_skel (
- TAO_ServerRequest &req,
- void *obj,
- void *context,
- CORBA::Environment &env
- )
-{
- POA_IR::Contained_ptr impl = (POA_IR::HomeDef_ptr) obj;
- POA_IR::Contained::describe_skel (
- req,
- (POA_IR::Contained_ptr) impl,
- context,
- env
- );
-}
-ACE_INLINE void POA_IR::HomeDef::move_skel (
- TAO_ServerRequest &req,
- void *obj,
- void *context,
- CORBA::Environment &env
- )
-{
- POA_IR::Contained_ptr impl = (POA_IR::HomeDef_ptr) obj;
- POA_IR::Contained::move_skel (
- req,
- (POA_IR::Contained_ptr) impl,
- context,
- env
- );
-}
-ACE_INLINE void POA_IR::HomeDef::_get_type_skel (
- TAO_ServerRequest &req,
- void *obj,
- void *context,
- CORBA::Environment &env
- )
-{
- POA_IR::IDLType_ptr impl = (POA_IR::HomeDef_ptr) obj;
- POA_IR::IDLType::_get_type_skel (
- req,
- (POA_IR::IDLType_ptr) impl,
- context,
- env
- );
-}
-ACE_INLINE void POA_IR::HomeDef::_get_def_kind_skel (
- TAO_ServerRequest &req,
- void *obj,
- void *context,
- CORBA::Environment &env
- )
-{
- POA_CORBA_IRObject_ptr impl = (POA_IR::HomeDef_ptr) obj;
- POA_CORBA_IRObject::_get_def_kind_skel (
- req,
- (POA_CORBA_IRObject_ptr) impl,
- context,
- env
- );
-}
-ACE_INLINE void POA_IR::HomeDef::destroy_skel (
- TAO_ServerRequest &req,
- void *obj,
- void *context,
- CORBA::Environment &env
- )
-{
- POA_CORBA_IRObject_ptr impl = (POA_IR::HomeDef_ptr) obj;
- POA_CORBA_IRObject::destroy_skel (
- req,
- (POA_CORBA_IRObject_ptr) impl,
- context,
- env
- );
-}
diff --git a/TAO/orbsvcs/IFR_Service/InterfaceS_T.cpp b/TAO/orbsvcs/IFR_Service/InterfaceS_T.cpp
deleted file mode 100644
index 30967c5e94f..00000000000
--- a/TAO/orbsvcs/IFR_Service/InterfaceS_T.cpp
+++ /dev/null
@@ -1,23 +0,0 @@
-/* -*- C++ -*- */
-// $Id$
-
-// ****** Code generated by the The ACE ORB (TAO) IDL Compiler *******
-// TAO and the TAO IDL Compiler have been developed by the Center for
-// Distributed Object Computing at Washington University, St. Louis.
-//
-// Information about TAO is available at:
-// http://www.cs.wustl.edu/~schmidt/TAO.html
-
-#ifndef _TAO_IDL_INTERFACES_T_CPP_
-#define _TAO_IDL_INTERFACES_T_CPP_
-
-#include "InterfaceS_T.h"
-
-ACE_RCSID(IFR_Service, InterfaceS_T, "$Id$")
-
-#if !defined (__ACE_INLINE__)
-#include "InterfaceS_T.i"
-#endif /* !defined INLINE */
-
-
-#endif /* ifndef _TAO_IDL_INTERFACES_T_CPP_ */
diff --git a/TAO/orbsvcs/IFR_Service/InterfaceS_T.h b/TAO/orbsvcs/IFR_Service/InterfaceS_T.h
deleted file mode 100644
index 4c8ee818513..00000000000
--- a/TAO/orbsvcs/IFR_Service/InterfaceS_T.h
+++ /dev/null
@@ -1,40 +0,0 @@
-/* -*- C++ -*- */
-// $Id$
-
-// ****** Code generated by the The ACE ORB (TAO) IDL Compiler *******
-// TAO and the TAO IDL Compiler have been developed by the Center for
-// Distributed Object Computing at Washington University, St. Louis.
-//
-// Information about TAO is available at:
-// http://www.cs.wustl.edu/~schmidt/TAO.html
-
-#ifndef _TAO_IDL_INTERFACES_T_H_
-#define _TAO_IDL_INTERFACES_T_H_
-
-#if defined(_MSC_VER)
-#if (_MSC_VER >= 1200)
-#pragma warning(push)
-#endif /* _MSC_VER >= 1200 */
-#pragma warning(disable:4250)
-#endif /* _MSC_VER */
-
-
-#if defined (__ACE_INLINE__)
-#include "InterfaceS_T.i"
-#endif /* defined INLINE */
-
-
-#if defined (ACE_TEMPLATES_REQUIRE_SOURCE)
-#include "InterfaceS_T.cpp"
-#endif /* defined REQUIRED SOURCE */
-
-
-#if defined (ACE_TEMPLATES_REQUIRE_PRAGMA)
-#pragma implementation ("InterfaceS_T.cpp")
-#endif /* defined REQUIRED PRAGMA */
-
-#if defined(_MSC_VER) && (_MSC_VER >= 1200)
-#pragma warning(pop)
-#endif /* _MSC_VER */
-
-#endif /* ifndef _TAO_IDL_INTERFACES_T_H_ */
diff --git a/TAO/orbsvcs/IFR_Service/InterfaceS_T.i b/TAO/orbsvcs/IFR_Service/InterfaceS_T.i
deleted file mode 100644
index 032aab4b700..00000000000
--- a/TAO/orbsvcs/IFR_Service/InterfaceS_T.i
+++ /dev/null
@@ -1,14617 +0,0 @@
-/* -*- C++ -*- */
-//$Id$
-
-// ****** Code generated by the The ACE ORB (TAO) IDL Compiler *******
-// TAO and the TAO IDL Compiler have been developed by the Center for
-// Distributed Object Computing at Washington University, St. Louis.
-//
-// Information about TAO is available at:
-// http://www.cs.wustl.edu/~schmidt/TAO.html
-
-
-#if defined (ACE_HAS_USING_KEYWORD)
-template <class T> ACE_INLINE
-POA_IR::Contained_tie<T>::Contained_tie (T &t)
- : ptr_ (&t),
- poa_ (PortableServer::POA::_nil ()),
- rel_ (0)
-{}
-
-template <class T> ACE_INLINE
-POA_IR::Contained_tie<T>::Contained_tie (T &t, PortableServer::POA_ptr poa)
- : ptr_ (&t),
- poa_ (PortableServer::POA::_duplicate (poa)),
- rel_ (0)
-{}
-
-template <class T> ACE_INLINE
-POA_IR::Contained_tie<T>::Contained_tie (T *tp, CORBA::Boolean release)
- : ptr_ (tp),
- poa_ (PortableServer::POA::_nil ()),
- rel_ (release)
-{}
-
-template <class T> ACE_INLINE
-POA_IR::Contained_tie<T>::Contained_tie (T *tp, PortableServer::POA_ptr poa, CORBA::Boolean release)
- : ptr_ (tp),
- poa_ (PortableServer::POA::_duplicate (poa)),
- rel_ (release)
-{}
-
-template <class T> ACE_INLINE
-POA_IR::Contained_tie<T>::~Contained_tie (void)
-{
- if (this->rel_) delete this->ptr_;
-}
-
-template <class T> ACE_INLINE T *
-POA_IR::Contained_tie<T>::_tied_object (void)
-{
- return this->ptr_;
-}
-
-template <class T> ACE_INLINE void
-POA_IR::Contained_tie<T>::_tied_object (T &obj)
-{
- if (this->rel_) delete this->ptr_;
- this->ptr_ = &obj;
- this->rel_ = 0;
-}
-
-template <class T> ACE_INLINE void
-POA_IR::Contained_tie<T>::_tied_object (T *obj, CORBA::Boolean release)
-{
- if (this->rel_) delete this->ptr_;
- this->ptr_ = obj;
- this->rel_ = release;
-}
-
-template <class T> ACE_INLINE CORBA::Boolean
-POA_IR::Contained_tie<T>::_is_owner (void)
-{
- return this->rel_;
-}
-
-template <class T> ACE_INLINE void
-POA_IR::Contained_tie<T>::_is_owner (CORBA::Boolean b)
-{
- this->rel_ = b;
-}
-
-template <class T> ACE_INLINE PortableServer::POA_ptr
-POA_IR::Contained_tie<T>::_default_POA (CORBA::Environment &env)
-{
- if (!CORBA::is_nil (this->poa_.in ()))
- return PortableServer::POA::_duplicate (this->poa_.in ());
-
- return this->Contained::_default_POA (env);
-}
-
-template <class T> ACE_INLINE
-char * POA_IR::Contained_tie<T>::id (
- CORBA::Environment &ACE_TRY_ENV
- )
- ACE_THROW_SPEC ((
- CORBA::SystemException
- ))
-{
- return this->ptr_->id (
- ACE_TRY_ENV
- );
-}
-
-template <class T> ACE_INLINE
-void POA_IR::Contained_tie<T>::id (
- const char * id,
- CORBA::Environment &ACE_TRY_ENV
- )
- ACE_THROW_SPEC ((
- CORBA::SystemException
- ))
-{
- this->ptr_->id (
- id,
- ACE_TRY_ENV
- );
-}
-
-template <class T> ACE_INLINE
-char * POA_IR::Contained_tie<T>::name (
- CORBA::Environment &ACE_TRY_ENV
- )
- ACE_THROW_SPEC ((
- CORBA::SystemException
- ))
-{
- return this->ptr_->name (
- ACE_TRY_ENV
- );
-}
-
-template <class T> ACE_INLINE
-void POA_IR::Contained_tie<T>::name (
- const char * name,
- CORBA::Environment &ACE_TRY_ENV
- )
- ACE_THROW_SPEC ((
- CORBA::SystemException
- ))
-{
- this->ptr_->name (
- name,
- ACE_TRY_ENV
- );
-}
-
-template <class T> ACE_INLINE
-char * POA_IR::Contained_tie<T>::version (
- CORBA::Environment &ACE_TRY_ENV
- )
- ACE_THROW_SPEC ((
- CORBA::SystemException
- ))
-{
- return this->ptr_->version (
- ACE_TRY_ENV
- );
-}
-
-template <class T> ACE_INLINE
-void POA_IR::Contained_tie<T>::version (
- const char * version,
- CORBA::Environment &ACE_TRY_ENV
- )
- ACE_THROW_SPEC ((
- CORBA::SystemException
- ))
-{
- this->ptr_->version (
- version,
- ACE_TRY_ENV
- );
-}
-
-template <class T> ACE_INLINE
-IR::Container_ptr POA_IR::Contained_tie<T>::defined_in (
- CORBA::Environment &ACE_TRY_ENV
- )
- ACE_THROW_SPEC ((
- CORBA::SystemException
- ))
-{
- return this->ptr_->defined_in (
- ACE_TRY_ENV
- );
-}
-
-template <class T> ACE_INLINE
-char * POA_IR::Contained_tie<T>::absolute_name (
- CORBA::Environment &ACE_TRY_ENV
- )
- ACE_THROW_SPEC ((
- CORBA::SystemException
- ))
-{
- return this->ptr_->absolute_name (
- ACE_TRY_ENV
- );
-}
-
-template <class T> ACE_INLINE
-IR::Repository_ptr POA_IR::Contained_tie<T>::containing_repository (
- CORBA::Environment &ACE_TRY_ENV
- )
- ACE_THROW_SPEC ((
- CORBA::SystemException
- ))
-{
- return this->ptr_->containing_repository (
- ACE_TRY_ENV
- );
-}
-
-template <class T> ACE_INLINE
-IR::Contained::Description * POA_IR::Contained_tie<T>::describe (
- CORBA::Environment &ACE_TRY_ENV
- )
- ACE_THROW_SPEC ((
- CORBA::SystemException
- ))
-{
- return this->ptr_->describe (
- ACE_TRY_ENV
- );
-}
-
-template <class T> ACE_INLINE
-void POA_IR::Contained_tie<T>::move (
- IR_Container_ptr new_container,
- const char * new_name,
- const char * new_version,
- CORBA::Environment &ACE_TRY_ENV
- )
- ACE_THROW_SPEC ((
- CORBA::SystemException
- ))
-{
- this->ptr_->move (
- new_container,
- new_name,
- new_version,
- ACE_TRY_ENV
- );
-}
-
-template <class T> ACE_INLINE
-IR::DefinitionKind POA_IR::Contained_tie<T>::def_kind (
- CORBA::Environment &ACE_TRY_ENV
- )
- ACE_THROW_SPEC ((
- CORBA::SystemException
- ))
-{
- return this->ptr_->def_kind (
- ACE_TRY_ENV
- );
-}
-
-template <class T> ACE_INLINE
-void POA_IR::Contained_tie<T>::destroy (
- CORBA::Environment &ACE_TRY_ENV
- )
- ACE_THROW_SPEC ((
- CORBA::SystemException
- ))
-{
- this->ptr_->destroy (
- ACE_TRY_ENV
- );
-}
-
-#endif /* ACE_HAS_USING_KEYWORD */
-
-#if defined (ACE_HAS_USING_KEYWORD)
-template <class T> ACE_INLINE
-POA_IR::Container_tie<T>::Container_tie (T &t)
- : ptr_ (&t),
- poa_ (PortableServer::POA::_nil ()),
- rel_ (0)
-{}
-
-template <class T> ACE_INLINE
-POA_IR::Container_tie<T>::Container_tie (T &t, PortableServer::POA_ptr poa)
- : ptr_ (&t),
- poa_ (PortableServer::POA::_duplicate (poa)),
- rel_ (0)
-{}
-
-template <class T> ACE_INLINE
-POA_IR::Container_tie<T>::Container_tie (T *tp, CORBA::Boolean release)
- : ptr_ (tp),
- poa_ (PortableServer::POA::_nil ()),
- rel_ (release)
-{}
-
-template <class T> ACE_INLINE
-POA_IR::Container_tie<T>::Container_tie (T *tp, PortableServer::POA_ptr poa, CORBA::Boolean release)
- : ptr_ (tp),
- poa_ (PortableServer::POA::_duplicate (poa)),
- rel_ (release)
-{}
-
-template <class T> ACE_INLINE
-POA_IR::Container_tie<T>::~Container_tie (void)
-{
- if (this->rel_) delete this->ptr_;
-}
-
-template <class T> ACE_INLINE T *
-POA_IR::Container_tie<T>::_tied_object (void)
-{
- return this->ptr_;
-}
-
-template <class T> ACE_INLINE void
-POA_IR::Container_tie<T>::_tied_object (T &obj)
-{
- if (this->rel_) delete this->ptr_;
- this->ptr_ = &obj;
- this->rel_ = 0;
-}
-
-template <class T> ACE_INLINE void
-POA_IR::Container_tie<T>::_tied_object (T *obj, CORBA::Boolean release)
-{
- if (this->rel_) delete this->ptr_;
- this->ptr_ = obj;
- this->rel_ = release;
-}
-
-template <class T> ACE_INLINE CORBA::Boolean
-POA_IR::Container_tie<T>::_is_owner (void)
-{
- return this->rel_;
-}
-
-template <class T> ACE_INLINE void
-POA_IR::Container_tie<T>::_is_owner (CORBA::Boolean b)
-{
- this->rel_ = b;
-}
-
-template <class T> ACE_INLINE PortableServer::POA_ptr
-POA_IR::Container_tie<T>::_default_POA (CORBA::Environment &env)
-{
- if (!CORBA::is_nil (this->poa_.in ()))
- return PortableServer::POA::_duplicate (this->poa_.in ());
-
- return this->Container::_default_POA (env);
-}
-
-template <class T> ACE_INLINE
-IR::Contained_ptr POA_IR::Container_tie<T>::lookup (
- const char * search_name,
- CORBA::Environment &ACE_TRY_ENV
- )
- ACE_THROW_SPEC ((
- CORBA::SystemException
- ))
-{
- return this->ptr_->lookup (
- search_name,
- ACE_TRY_ENV
- );
-}
-
-template <class T> ACE_INLINE
-IR::ContainedSeq * POA_IR::Container_tie<T>::contents (
- IR_DefinitionKind limit_type,
- CORBA::Boolean exclude_inherited,
- CORBA::Environment &ACE_TRY_ENV
- )
- ACE_THROW_SPEC ((
- CORBA::SystemException
- ))
-{
- return this->ptr_->contents (
- limit_type,
- exclude_inherited,
- ACE_TRY_ENV
- );
-}
-
-template <class T> ACE_INLINE
-IR::ContainedSeq * POA_IR::Container_tie<T>::lookup_name (
- const char * search_name,
- CORBA::Long levels_to_search,
- IR_DefinitionKind limit_type,
- CORBA::Boolean exclude_inherited,
- CORBA::Environment &ACE_TRY_ENV
- )
- ACE_THROW_SPEC ((
- CORBA::SystemException
- ))
-{
- return this->ptr_->lookup_name (
- search_name,
- levels_to_search,
- limit_type,
- exclude_inherited,
- ACE_TRY_ENV
- );
-}
-
-template <class T> ACE_INLINE
-IR::Container::DescriptionSeq * POA_IR::Container_tie<T>::describe_contents (
- IR_DefinitionKind limit_type,
- CORBA::Boolean exclude_inherited,
- CORBA::Long max_returned_objs,
- CORBA::Environment &ACE_TRY_ENV
- )
- ACE_THROW_SPEC ((
- CORBA::SystemException
- ))
-{
- return this->ptr_->describe_contents (
- limit_type,
- exclude_inherited,
- max_returned_objs,
- ACE_TRY_ENV
- );
-}
-
-template <class T> ACE_INLINE
-IR::ModuleDef_ptr POA_IR::Container_tie<T>::create_module (
- const char * id,
- const char * name,
- const char * version,
- CORBA::Environment &ACE_TRY_ENV
- )
- ACE_THROW_SPEC ((
- CORBA::SystemException
- ))
-{
- return this->ptr_->create_module (
- id,
- name,
- version,
- ACE_TRY_ENV
- );
-}
-
-template <class T> ACE_INLINE
-IR::ConstantDef_ptr POA_IR::Container_tie<T>::create_constant (
- const char * id,
- const char * name,
- const char * version,
- IR_IDLType_ptr type,
- const CORBA::Any & value,
- CORBA::Environment &ACE_TRY_ENV
- )
- ACE_THROW_SPEC ((
- CORBA::SystemException
- ))
-{
- return this->ptr_->create_constant (
- id,
- name,
- version,
- type,
- value,
- ACE_TRY_ENV
- );
-}
-
-template <class T> ACE_INLINE
-IR::StructDef_ptr POA_IR::Container_tie<T>::create_struct (
- const char * id,
- const char * name,
- const char * version,
- const IR_StructMemberSeq & members,
- CORBA::Environment &ACE_TRY_ENV
- )
- ACE_THROW_SPEC ((
- CORBA::SystemException
- ))
-{
- return this->ptr_->create_struct (
- id,
- name,
- version,
- members,
- ACE_TRY_ENV
- );
-}
-
-template <class T> ACE_INLINE
-IR::UnionDef_ptr POA_IR::Container_tie<T>::create_union (
- const char * id,
- const char * name,
- const char * version,
- IR_IDLType_ptr discriminator_type,
- const IR_UnionMemberSeq & members,
- CORBA::Environment &ACE_TRY_ENV
- )
- ACE_THROW_SPEC ((
- CORBA::SystemException
- ))
-{
- return this->ptr_->create_union (
- id,
- name,
- version,
- discriminator_type,
- members,
- ACE_TRY_ENV
- );
-}
-
-template <class T> ACE_INLINE
-IR::EnumDef_ptr POA_IR::Container_tie<T>::create_enum (
- const char * id,
- const char * name,
- const char * version,
- const IR_EnumMemberSeq & members,
- CORBA::Environment &ACE_TRY_ENV
- )
- ACE_THROW_SPEC ((
- CORBA::SystemException
- ))
-{
- return this->ptr_->create_enum (
- id,
- name,
- version,
- members,
- ACE_TRY_ENV
- );
-}
-
-template <class T> ACE_INLINE
-IR::AliasDef_ptr POA_IR::Container_tie<T>::create_alias (
- const char * id,
- const char * name,
- const char * version,
- IR_IDLType_ptr original_type,
- CORBA::Environment &ACE_TRY_ENV
- )
- ACE_THROW_SPEC ((
- CORBA::SystemException
- ))
-{
- return this->ptr_->create_alias (
- id,
- name,
- version,
- original_type,
- ACE_TRY_ENV
- );
-}
-
-template <class T> ACE_INLINE
-IR::InterfaceDef_ptr POA_IR::Container_tie<T>::create_interface (
- const char * id,
- const char * name,
- const char * version,
- const IR_InterfaceDefSeq & base_interfaces,
- CORBA::Boolean is_abstract,
- CORBA::Boolean is_local,
- CORBA::Environment &ACE_TRY_ENV
- )
- ACE_THROW_SPEC ((
- CORBA::SystemException
- ))
-{
- return this->ptr_->create_interface (
- id,
- name,
- version,
- base_interfaces,
- is_abstract,
- is_local,
- ACE_TRY_ENV
- );
-}
-
-template <class T> ACE_INLINE
-IR::ValueDef_ptr POA_IR::Container_tie<T>::create_value (
- const char * id,
- const char * name,
- const char * version,
- CORBA::Boolean is_custom,
- CORBA::Boolean is_abstract,
- IR_ValueDef_ptr base_value,
- CORBA::Boolean is_truncatable,
- const IR_ValueDefSeq & abstract_base_values,
- const IR_InterfaceDefSeq & supported_interfaces,
- const IR_InitializerSeq & initializers,
- CORBA::Environment &ACE_TRY_ENV
- )
- ACE_THROW_SPEC ((
- CORBA::SystemException
- ))
-{
- return this->ptr_->create_value (
- id,
- name,
- version,
- is_custom,
- is_abstract,
- base_value,
- is_truncatable,
- abstract_base_values,
- supported_interfaces,
- initializers,
- ACE_TRY_ENV
- );
-}
-
-template <class T> ACE_INLINE
-IR::ValueBoxDef_ptr POA_IR::Container_tie<T>::create_value_box (
- const char * id,
- const char * name,
- const char * version,
- IR_IDLType_ptr original_type_def,
- CORBA::Environment &ACE_TRY_ENV
- )
- ACE_THROW_SPEC ((
- CORBA::SystemException
- ))
-{
- return this->ptr_->create_value_box (
- id,
- name,
- version,
- original_type_def,
- ACE_TRY_ENV
- );
-}
-
-template <class T> ACE_INLINE
-IR::ExceptionDef_ptr POA_IR::Container_tie<T>::create_exception (
- const char * id,
- const char * name,
- const char * version,
- const IR_StructMemberSeq & members,
- CORBA::Environment &ACE_TRY_ENV
- )
- ACE_THROW_SPEC ((
- CORBA::SystemException
- ))
-{
- return this->ptr_->create_exception (
- id,
- name,
- version,
- members,
- ACE_TRY_ENV
- );
-}
-
-template <class T> ACE_INLINE
-IR::NativeDef_ptr POA_IR::Container_tie<T>::create_native (
- const char * id,
- const char * name,
- const char * version,
- CORBA::Environment &ACE_TRY_ENV
- )
- ACE_THROW_SPEC ((
- CORBA::SystemException
- ))
-{
- return this->ptr_->create_native (
- id,
- name,
- version,
- ACE_TRY_ENV
- );
-}
-
-template <class T> ACE_INLINE
-IR::DefinitionKind POA_IR::Container_tie<T>::def_kind (
- CORBA::Environment &ACE_TRY_ENV
- )
- ACE_THROW_SPEC ((
- CORBA::SystemException
- ))
-{
- return this->ptr_->def_kind (
- ACE_TRY_ENV
- );
-}
-
-template <class T> ACE_INLINE
-void POA_IR::Container_tie<T>::destroy (
- CORBA::Environment &ACE_TRY_ENV
- )
- ACE_THROW_SPEC ((
- CORBA::SystemException
- ))
-{
- this->ptr_->destroy (
- ACE_TRY_ENV
- );
-}
-
-#endif /* ACE_HAS_USING_KEYWORD */
-
-#if defined (ACE_HAS_USING_KEYWORD)
-template <class T> ACE_INLINE
-POA_IR::IDLType_tie<T>::IDLType_tie (T &t)
- : ptr_ (&t),
- poa_ (PortableServer::POA::_nil ()),
- rel_ (0)
-{}
-
-template <class T> ACE_INLINE
-POA_IR::IDLType_tie<T>::IDLType_tie (T &t, PortableServer::POA_ptr poa)
- : ptr_ (&t),
- poa_ (PortableServer::POA::_duplicate (poa)),
- rel_ (0)
-{}
-
-template <class T> ACE_INLINE
-POA_IR::IDLType_tie<T>::IDLType_tie (T *tp, CORBA::Boolean release)
- : ptr_ (tp),
- poa_ (PortableServer::POA::_nil ()),
- rel_ (release)
-{}
-
-template <class T> ACE_INLINE
-POA_IR::IDLType_tie<T>::IDLType_tie (T *tp, PortableServer::POA_ptr poa, CORBA::Boolean release)
- : ptr_ (tp),
- poa_ (PortableServer::POA::_duplicate (poa)),
- rel_ (release)
-{}
-
-template <class T> ACE_INLINE
-POA_IR::IDLType_tie<T>::~IDLType_tie (void)
-{
- if (this->rel_) delete this->ptr_;
-}
-
-template <class T> ACE_INLINE T *
-POA_IR::IDLType_tie<T>::_tied_object (void)
-{
- return this->ptr_;
-}
-
-template <class T> ACE_INLINE void
-POA_IR::IDLType_tie<T>::_tied_object (T &obj)
-{
- if (this->rel_) delete this->ptr_;
- this->ptr_ = &obj;
- this->rel_ = 0;
-}
-
-template <class T> ACE_INLINE void
-POA_IR::IDLType_tie<T>::_tied_object (T *obj, CORBA::Boolean release)
-{
- if (this->rel_) delete this->ptr_;
- this->ptr_ = obj;
- this->rel_ = release;
-}
-
-template <class T> ACE_INLINE CORBA::Boolean
-POA_IR::IDLType_tie<T>::_is_owner (void)
-{
- return this->rel_;
-}
-
-template <class T> ACE_INLINE void
-POA_IR::IDLType_tie<T>::_is_owner (CORBA::Boolean b)
-{
- this->rel_ = b;
-}
-
-template <class T> ACE_INLINE PortableServer::POA_ptr
-POA_IR::IDLType_tie<T>::_default_POA (CORBA::Environment &env)
-{
- if (!CORBA::is_nil (this->poa_.in ()))
- return PortableServer::POA::_duplicate (this->poa_.in ());
-
- return this->IDLType::_default_POA (env);
-}
-
-template <class T> ACE_INLINE
-CORBA::TypeCode_ptr POA_IR::IDLType_tie<T>::type (
- CORBA::Environment &ACE_TRY_ENV
- )
- ACE_THROW_SPEC ((
- CORBA::SystemException
- ))
-{
- return this->ptr_->type (
- ACE_TRY_ENV
- );
-}
-
-template <class T> ACE_INLINE
-IR::DefinitionKind POA_IR::IDLType_tie<T>::def_kind (
- CORBA::Environment &ACE_TRY_ENV
- )
- ACE_THROW_SPEC ((
- CORBA::SystemException
- ))
-{
- return this->ptr_->def_kind (
- ACE_TRY_ENV
- );
-}
-
-template <class T> ACE_INLINE
-void POA_IR::IDLType_tie<T>::destroy (
- CORBA::Environment &ACE_TRY_ENV
- )
- ACE_THROW_SPEC ((
- CORBA::SystemException
- ))
-{
- this->ptr_->destroy (
- ACE_TRY_ENV
- );
-}
-
-#endif /* ACE_HAS_USING_KEYWORD */
-
-#if defined (ACE_HAS_USING_KEYWORD)
-template <class T> ACE_INLINE
-POA_IR::Repository_tie<T>::Repository_tie (T &t)
- : ptr_ (&t),
- poa_ (PortableServer::POA::_nil ()),
- rel_ (0)
-{}
-
-template <class T> ACE_INLINE
-POA_IR::Repository_tie<T>::Repository_tie (T &t, PortableServer::POA_ptr poa)
- : ptr_ (&t),
- poa_ (PortableServer::POA::_duplicate (poa)),
- rel_ (0)
-{}
-
-template <class T> ACE_INLINE
-POA_IR::Repository_tie<T>::Repository_tie (T *tp, CORBA::Boolean release)
- : ptr_ (tp),
- poa_ (PortableServer::POA::_nil ()),
- rel_ (release)
-{}
-
-template <class T> ACE_INLINE
-POA_IR::Repository_tie<T>::Repository_tie (T *tp, PortableServer::POA_ptr poa, CORBA::Boolean release)
- : ptr_ (tp),
- poa_ (PortableServer::POA::_duplicate (poa)),
- rel_ (release)
-{}
-
-template <class T> ACE_INLINE
-POA_IR::Repository_tie<T>::~Repository_tie (void)
-{
- if (this->rel_) delete this->ptr_;
-}
-
-template <class T> ACE_INLINE T *
-POA_IR::Repository_tie<T>::_tied_object (void)
-{
- return this->ptr_;
-}
-
-template <class T> ACE_INLINE void
-POA_IR::Repository_tie<T>::_tied_object (T &obj)
-{
- if (this->rel_) delete this->ptr_;
- this->ptr_ = &obj;
- this->rel_ = 0;
-}
-
-template <class T> ACE_INLINE void
-POA_IR::Repository_tie<T>::_tied_object (T *obj, CORBA::Boolean release)
-{
- if (this->rel_) delete this->ptr_;
- this->ptr_ = obj;
- this->rel_ = release;
-}
-
-template <class T> ACE_INLINE CORBA::Boolean
-POA_IR::Repository_tie<T>::_is_owner (void)
-{
- return this->rel_;
-}
-
-template <class T> ACE_INLINE void
-POA_IR::Repository_tie<T>::_is_owner (CORBA::Boolean b)
-{
- this->rel_ = b;
-}
-
-template <class T> ACE_INLINE PortableServer::POA_ptr
-POA_IR::Repository_tie<T>::_default_POA (CORBA::Environment &env)
-{
- if (!CORBA::is_nil (this->poa_.in ()))
- return PortableServer::POA::_duplicate (this->poa_.in ());
-
- return this->Repository::_default_POA (env);
-}
-
-template <class T> ACE_INLINE
-IR::Contained_ptr POA_IR::Repository_tie<T>::lookup_id (
- const char * search_id,
- CORBA::Environment &ACE_TRY_ENV
- )
- ACE_THROW_SPEC ((
- CORBA::SystemException
- ))
-{
- return this->ptr_->lookup_id (
- search_id,
- ACE_TRY_ENV
- );
-}
-
-template <class T> ACE_INLINE
-CORBA::TypeCode_ptr POA_IR::Repository_tie<T>::get_canonical_typecode (
- CORBA::TypeCode_ptr tc,
- CORBA::Environment &ACE_TRY_ENV
- )
- ACE_THROW_SPEC ((
- CORBA::SystemException
- ))
-{
- return this->ptr_->get_canonical_typecode (
- tc,
- ACE_TRY_ENV
- );
-}
-
-template <class T> ACE_INLINE
-IR::PrimitiveDef_ptr POA_IR::Repository_tie<T>::get_primitive (
- IR_PrimitiveKind kind,
- CORBA::Environment &ACE_TRY_ENV
- )
- ACE_THROW_SPEC ((
- CORBA::SystemException
- ))
-{
- return this->ptr_->get_primitive (
- kind,
- ACE_TRY_ENV
- );
-}
-
-template <class T> ACE_INLINE
-IR::StringDef_ptr POA_IR::Repository_tie<T>::create_string (
- CORBA::ULong bound,
- CORBA::Environment &ACE_TRY_ENV
- )
- ACE_THROW_SPEC ((
- CORBA::SystemException
- ))
-{
- return this->ptr_->create_string (
- bound,
- ACE_TRY_ENV
- );
-}
-
-template <class T> ACE_INLINE
-IR::WstringDef_ptr POA_IR::Repository_tie<T>::create_wstring (
- CORBA::ULong bound,
- CORBA::Environment &ACE_TRY_ENV
- )
- ACE_THROW_SPEC ((
- CORBA::SystemException
- ))
-{
- return this->ptr_->create_wstring (
- bound,
- ACE_TRY_ENV
- );
-}
-
-template <class T> ACE_INLINE
-IR::SequenceDef_ptr POA_IR::Repository_tie<T>::create_sequence (
- CORBA::ULong bound,
- IR_IDLType_ptr element_type,
- CORBA::Environment &ACE_TRY_ENV
- )
- ACE_THROW_SPEC ((
- CORBA::SystemException
- ))
-{
- return this->ptr_->create_sequence (
- bound,
- element_type,
- ACE_TRY_ENV
- );
-}
-
-template <class T> ACE_INLINE
-IR::ArrayDef_ptr POA_IR::Repository_tie<T>::create_array (
- CORBA::ULong length,
- IR_IDLType_ptr element_type,
- CORBA::Environment &ACE_TRY_ENV
- )
- ACE_THROW_SPEC ((
- CORBA::SystemException
- ))
-{
- return this->ptr_->create_array (
- length,
- element_type,
- ACE_TRY_ENV
- );
-}
-
-template <class T> ACE_INLINE
-IR::FixedDef_ptr POA_IR::Repository_tie<T>::create_fixed (
- CORBA::UShort digits,
- CORBA::Short scale,
- CORBA::Environment &ACE_TRY_ENV
- )
- ACE_THROW_SPEC ((
- CORBA::SystemException
- ))
-{
- return this->ptr_->create_fixed (
- digits,
- scale,
- ACE_TRY_ENV
- );
-}
-
-template <class T> ACE_INLINE
-IR::Contained_ptr POA_IR::Repository_tie<T>::lookup (
- const char * search_name,
- CORBA::Environment &ACE_TRY_ENV
- )
- ACE_THROW_SPEC ((
- CORBA::SystemException
- ))
-{
- return this->ptr_->lookup (
- search_name,
- ACE_TRY_ENV
- );
-}
-
-template <class T> ACE_INLINE
-IR::ContainedSeq * POA_IR::Repository_tie<T>::contents (
- IR_DefinitionKind limit_type,
- CORBA::Boolean exclude_inherited,
- CORBA::Environment &ACE_TRY_ENV
- )
- ACE_THROW_SPEC ((
- CORBA::SystemException
- ))
-{
- return this->ptr_->contents (
- limit_type,
- exclude_inherited,
- ACE_TRY_ENV
- );
-}
-
-template <class T> ACE_INLINE
-IR::ContainedSeq * POA_IR::Repository_tie<T>::lookup_name (
- const char * search_name,
- CORBA::Long levels_to_search,
- IR_DefinitionKind limit_type,
- CORBA::Boolean exclude_inherited,
- CORBA::Environment &ACE_TRY_ENV
- )
- ACE_THROW_SPEC ((
- CORBA::SystemException
- ))
-{
- return this->ptr_->lookup_name (
- search_name,
- levels_to_search,
- limit_type,
- exclude_inherited,
- ACE_TRY_ENV
- );
-}
-
-template <class T> ACE_INLINE
-IR::Container::DescriptionSeq * POA_IR::Repository_tie<T>::describe_contents (
- IR_DefinitionKind limit_type,
- CORBA::Boolean exclude_inherited,
- CORBA::Long max_returned_objs,
- CORBA::Environment &ACE_TRY_ENV
- )
- ACE_THROW_SPEC ((
- CORBA::SystemException
- ))
-{
- return this->ptr_->describe_contents (
- limit_type,
- exclude_inherited,
- max_returned_objs,
- ACE_TRY_ENV
- );
-}
-
-template <class T> ACE_INLINE
-IR::ModuleDef_ptr POA_IR::Repository_tie<T>::create_module (
- const char * id,
- const char * name,
- const char * version,
- CORBA::Environment &ACE_TRY_ENV
- )
- ACE_THROW_SPEC ((
- CORBA::SystemException
- ))
-{
- return this->ptr_->create_module (
- id,
- name,
- version,
- ACE_TRY_ENV
- );
-}
-
-template <class T> ACE_INLINE
-IR::ConstantDef_ptr POA_IR::Repository_tie<T>::create_constant (
- const char * id,
- const char * name,
- const char * version,
- IR_IDLType_ptr type,
- const CORBA::Any & value,
- CORBA::Environment &ACE_TRY_ENV
- )
- ACE_THROW_SPEC ((
- CORBA::SystemException
- ))
-{
- return this->ptr_->create_constant (
- id,
- name,
- version,
- type,
- value,
- ACE_TRY_ENV
- );
-}
-
-template <class T> ACE_INLINE
-IR::StructDef_ptr POA_IR::Repository_tie<T>::create_struct (
- const char * id,
- const char * name,
- const char * version,
- const IR_StructMemberSeq & members,
- CORBA::Environment &ACE_TRY_ENV
- )
- ACE_THROW_SPEC ((
- CORBA::SystemException
- ))
-{
- return this->ptr_->create_struct (
- id,
- name,
- version,
- members,
- ACE_TRY_ENV
- );
-}
-
-template <class T> ACE_INLINE
-IR::UnionDef_ptr POA_IR::Repository_tie<T>::create_union (
- const char * id,
- const char * name,
- const char * version,
- IR_IDLType_ptr discriminator_type,
- const IR_UnionMemberSeq & members,
- CORBA::Environment &ACE_TRY_ENV
- )
- ACE_THROW_SPEC ((
- CORBA::SystemException
- ))
-{
- return this->ptr_->create_union (
- id,
- name,
- version,
- discriminator_type,
- members,
- ACE_TRY_ENV
- );
-}
-
-template <class T> ACE_INLINE
-IR::EnumDef_ptr POA_IR::Repository_tie<T>::create_enum (
- const char * id,
- const char * name,
- const char * version,
- const IR_EnumMemberSeq & members,
- CORBA::Environment &ACE_TRY_ENV
- )
- ACE_THROW_SPEC ((
- CORBA::SystemException
- ))
-{
- return this->ptr_->create_enum (
- id,
- name,
- version,
- members,
- ACE_TRY_ENV
- );
-}
-
-template <class T> ACE_INLINE
-IR::AliasDef_ptr POA_IR::Repository_tie<T>::create_alias (
- const char * id,
- const char * name,
- const char * version,
- IR_IDLType_ptr original_type,
- CORBA::Environment &ACE_TRY_ENV
- )
- ACE_THROW_SPEC ((
- CORBA::SystemException
- ))
-{
- return this->ptr_->create_alias (
- id,
- name,
- version,
- original_type,
- ACE_TRY_ENV
- );
-}
-
-template <class T> ACE_INLINE
-IR::InterfaceDef_ptr POA_IR::Repository_tie<T>::create_interface (
- const char * id,
- const char * name,
- const char * version,
- const IR_InterfaceDefSeq & base_interfaces,
- CORBA::Boolean is_abstract,
- CORBA::Boolean is_local,
- CORBA::Environment &ACE_TRY_ENV
- )
- ACE_THROW_SPEC ((
- CORBA::SystemException
- ))
-{
- return this->ptr_->create_interface (
- id,
- name,
- version,
- base_interfaces,
- is_abstract,
- is_local,
- ACE_TRY_ENV
- );
-}
-
-template <class T> ACE_INLINE
-IR::ValueDef_ptr POA_IR::Repository_tie<T>::create_value (
- const char * id,
- const char * name,
- const char * version,
- CORBA::Boolean is_custom,
- CORBA::Boolean is_abstract,
- IR_ValueDef_ptr base_value,
- CORBA::Boolean is_truncatable,
- const IR_ValueDefSeq & abstract_base_values,
- const IR_InterfaceDefSeq & supported_interfaces,
- const IR_InitializerSeq & initializers,
- CORBA::Environment &ACE_TRY_ENV
- )
- ACE_THROW_SPEC ((
- CORBA::SystemException
- ))
-{
- return this->ptr_->create_value (
- id,
- name,
- version,
- is_custom,
- is_abstract,
- base_value,
- is_truncatable,
- abstract_base_values,
- supported_interfaces,
- initializers,
- ACE_TRY_ENV
- );
-}
-
-template <class T> ACE_INLINE
-IR::ValueBoxDef_ptr POA_IR::Repository_tie<T>::create_value_box (
- const char * id,
- const char * name,
- const char * version,
- IR_IDLType_ptr original_type_def,
- CORBA::Environment &ACE_TRY_ENV
- )
- ACE_THROW_SPEC ((
- CORBA::SystemException
- ))
-{
- return this->ptr_->create_value_box (
- id,
- name,
- version,
- original_type_def,
- ACE_TRY_ENV
- );
-}
-
-template <class T> ACE_INLINE
-IR::ExceptionDef_ptr POA_IR::Repository_tie<T>::create_exception (
- const char * id,
- const char * name,
- const char * version,
- const IR_StructMemberSeq & members,
- CORBA::Environment &ACE_TRY_ENV
- )
- ACE_THROW_SPEC ((
- CORBA::SystemException
- ))
-{
- return this->ptr_->create_exception (
- id,
- name,
- version,
- members,
- ACE_TRY_ENV
- );
-}
-
-template <class T> ACE_INLINE
-IR::NativeDef_ptr POA_IR::Repository_tie<T>::create_native (
- const char * id,
- const char * name,
- const char * version,
- CORBA::Environment &ACE_TRY_ENV
- )
- ACE_THROW_SPEC ((
- CORBA::SystemException
- ))
-{
- return this->ptr_->create_native (
- id,
- name,
- version,
- ACE_TRY_ENV
- );
-}
-
-template <class T> ACE_INLINE
-IR::DefinitionKind POA_IR::Repository_tie<T>::def_kind (
- CORBA::Environment &ACE_TRY_ENV
- )
- ACE_THROW_SPEC ((
- CORBA::SystemException
- ))
-{
- return this->ptr_->def_kind (
- ACE_TRY_ENV
- );
-}
-
-template <class T> ACE_INLINE
-void POA_IR::Repository_tie<T>::destroy (
- CORBA::Environment &ACE_TRY_ENV
- )
- ACE_THROW_SPEC ((
- CORBA::SystemException
- ))
-{
- this->ptr_->destroy (
- ACE_TRY_ENV
- );
-}
-
-#endif /* ACE_HAS_USING_KEYWORD */
-
-#if defined (ACE_HAS_USING_KEYWORD)
-template <class T> ACE_INLINE
-POA_IR::ComponentRepository_tie<T>::ComponentRepository_tie (T &t)
- : ptr_ (&t),
- poa_ (PortableServer::POA::_nil ()),
- rel_ (0)
-{}
-
-template <class T> ACE_INLINE
-POA_IR::ComponentRepository_tie<T>::ComponentRepository_tie (T &t, PortableServer::POA_ptr poa)
- : ptr_ (&t),
- poa_ (PortableServer::POA::_duplicate (poa)),
- rel_ (0)
-{}
-
-template <class T> ACE_INLINE
-POA_IR::ComponentRepository_tie<T>::ComponentRepository_tie (T *tp, CORBA::Boolean release)
- : ptr_ (tp),
- poa_ (PortableServer::POA::_nil ()),
- rel_ (release)
-{}
-
-template <class T> ACE_INLINE
-POA_IR::ComponentRepository_tie<T>::ComponentRepository_tie (T *tp, PortableServer::POA_ptr poa, CORBA::Boolean release)
- : ptr_ (tp),
- poa_ (PortableServer::POA::_duplicate (poa)),
- rel_ (release)
-{}
-
-template <class T> ACE_INLINE
-POA_IR::ComponentRepository_tie<T>::~ComponentRepository_tie (void)
-{
- if (this->rel_) delete this->ptr_;
-}
-
-template <class T> ACE_INLINE T *
-POA_IR::ComponentRepository_tie<T>::_tied_object (void)
-{
- return this->ptr_;
-}
-
-template <class T> ACE_INLINE void
-POA_IR::ComponentRepository_tie<T>::_tied_object (T &obj)
-{
- if (this->rel_) delete this->ptr_;
- this->ptr_ = &obj;
- this->rel_ = 0;
-}
-
-template <class T> ACE_INLINE void
-POA_IR::ComponentRepository_tie<T>::_tied_object (T *obj, CORBA::Boolean release)
-{
- if (this->rel_) delete this->ptr_;
- this->ptr_ = obj;
- this->rel_ = release;
-}
-
-template <class T> ACE_INLINE CORBA::Boolean
-POA_IR::ComponentRepository_tie<T>::_is_owner (void)
-{
- return this->rel_;
-}
-
-template <class T> ACE_INLINE void
-POA_IR::ComponentRepository_tie<T>::_is_owner (CORBA::Boolean b)
-{
- this->rel_ = b;
-}
-
-template <class T> ACE_INLINE PortableServer::POA_ptr
-POA_IR::ComponentRepository_tie<T>::_default_POA (CORBA::Environment &env)
-{
- if (!CORBA::is_nil (this->poa_.in ()))
- return PortableServer::POA::_duplicate (this->poa_.in ());
-
- return this->ComponentRepository::_default_POA (env);
-}
-
-template <class T> ACE_INLINE
-IR::ComponentDef_ptr POA_IR::ComponentRepository_tie<T>::create_component (
- const char * id,
- const char * name,
- const char * version,
- IR_ComponentDef_ptr base_component,
- const IR_InterfaceDefSeq & supports_interfaces,
- CORBA::Environment &ACE_TRY_ENV
- )
- ACE_THROW_SPEC ((
- CORBA::SystemException
- ))
-{
- return this->ptr_->create_component (
- id,
- name,
- version,
- base_component,
- supports_interfaces,
- ACE_TRY_ENV
- );
-}
-
-template <class T> ACE_INLINE
-IR::HomeDef_ptr POA_IR::ComponentRepository_tie<T>::create_home (
- const char * id,
- const char * name,
- const char * version,
- IR_HomeDef_ptr base_home,
- IR_ComponentDef_ptr managed_component,
- IR_ValueDef_ptr primary_key,
- CORBA::Environment &ACE_TRY_ENV
- )
- ACE_THROW_SPEC ((
- CORBA::SystemException
- ))
-{
- return this->ptr_->create_home (
- id,
- name,
- version,
- base_home,
- managed_component,
- primary_key,
- ACE_TRY_ENV
- );
-}
-
-template <class T> ACE_INLINE
-IR::Contained_ptr POA_IR::ComponentRepository_tie<T>::lookup_id (
- const char * search_id,
- CORBA::Environment &ACE_TRY_ENV
- )
- ACE_THROW_SPEC ((
- CORBA::SystemException
- ))
-{
- return this->ptr_->lookup_id (
- search_id,
- ACE_TRY_ENV
- );
-}
-
-template <class T> ACE_INLINE
-CORBA::TypeCode_ptr POA_IR::ComponentRepository_tie<T>::get_canonical_typecode (
- CORBA::TypeCode_ptr tc,
- CORBA::Environment &ACE_TRY_ENV
- )
- ACE_THROW_SPEC ((
- CORBA::SystemException
- ))
-{
- return this->ptr_->get_canonical_typecode (
- tc,
- ACE_TRY_ENV
- );
-}
-
-template <class T> ACE_INLINE
-IR::PrimitiveDef_ptr POA_IR::ComponentRepository_tie<T>::get_primitive (
- IR_PrimitiveKind kind,
- CORBA::Environment &ACE_TRY_ENV
- )
- ACE_THROW_SPEC ((
- CORBA::SystemException
- ))
-{
- return this->ptr_->get_primitive (
- kind,
- ACE_TRY_ENV
- );
-}
-
-template <class T> ACE_INLINE
-IR::StringDef_ptr POA_IR::ComponentRepository_tie<T>::create_string (
- CORBA::ULong bound,
- CORBA::Environment &ACE_TRY_ENV
- )
- ACE_THROW_SPEC ((
- CORBA::SystemException
- ))
-{
- return this->ptr_->create_string (
- bound,
- ACE_TRY_ENV
- );
-}
-
-template <class T> ACE_INLINE
-IR::WstringDef_ptr POA_IR::ComponentRepository_tie<T>::create_wstring (
- CORBA::ULong bound,
- CORBA::Environment &ACE_TRY_ENV
- )
- ACE_THROW_SPEC ((
- CORBA::SystemException
- ))
-{
- return this->ptr_->create_wstring (
- bound,
- ACE_TRY_ENV
- );
-}
-
-template <class T> ACE_INLINE
-IR::SequenceDef_ptr POA_IR::ComponentRepository_tie<T>::create_sequence (
- CORBA::ULong bound,
- IR_IDLType_ptr element_type,
- CORBA::Environment &ACE_TRY_ENV
- )
- ACE_THROW_SPEC ((
- CORBA::SystemException
- ))
-{
- return this->ptr_->create_sequence (
- bound,
- element_type,
- ACE_TRY_ENV
- );
-}
-
-template <class T> ACE_INLINE
-IR::ArrayDef_ptr POA_IR::ComponentRepository_tie<T>::create_array (
- CORBA::ULong length,
- IR_IDLType_ptr element_type,
- CORBA::Environment &ACE_TRY_ENV
- )
- ACE_THROW_SPEC ((
- CORBA::SystemException
- ))
-{
- return this->ptr_->create_array (
- length,
- element_type,
- ACE_TRY_ENV
- );
-}
-
-template <class T> ACE_INLINE
-IR::FixedDef_ptr POA_IR::ComponentRepository_tie<T>::create_fixed (
- CORBA::UShort digits,
- CORBA::Short scale,
- CORBA::Environment &ACE_TRY_ENV
- )
- ACE_THROW_SPEC ((
- CORBA::SystemException
- ))
-{
- return this->ptr_->create_fixed (
- digits,
- scale,
- ACE_TRY_ENV
- );
-}
-
-template <class T> ACE_INLINE
-IR::Contained_ptr POA_IR::ComponentRepository_tie<T>::lookup (
- const char * search_name,
- CORBA::Environment &ACE_TRY_ENV
- )
- ACE_THROW_SPEC ((
- CORBA::SystemException
- ))
-{
- return this->ptr_->lookup (
- search_name,
- ACE_TRY_ENV
- );
-}
-
-template <class T> ACE_INLINE
-IR::ContainedSeq * POA_IR::ComponentRepository_tie<T>::contents (
- IR_DefinitionKind limit_type,
- CORBA::Boolean exclude_inherited,
- CORBA::Environment &ACE_TRY_ENV
- )
- ACE_THROW_SPEC ((
- CORBA::SystemException
- ))
-{
- return this->ptr_->contents (
- limit_type,
- exclude_inherited,
- ACE_TRY_ENV
- );
-}
-
-template <class T> ACE_INLINE
-IR::ContainedSeq * POA_IR::ComponentRepository_tie<T>::lookup_name (
- const char * search_name,
- CORBA::Long levels_to_search,
- IR_DefinitionKind limit_type,
- CORBA::Boolean exclude_inherited,
- CORBA::Environment &ACE_TRY_ENV
- )
- ACE_THROW_SPEC ((
- CORBA::SystemException
- ))
-{
- return this->ptr_->lookup_name (
- search_name,
- levels_to_search,
- limit_type,
- exclude_inherited,
- ACE_TRY_ENV
- );
-}
-
-template <class T> ACE_INLINE
-IR::Container::DescriptionSeq * POA_IR::ComponentRepository_tie<T>::describe_contents (
- IR_DefinitionKind limit_type,
- CORBA::Boolean exclude_inherited,
- CORBA::Long max_returned_objs,
- CORBA::Environment &ACE_TRY_ENV
- )
- ACE_THROW_SPEC ((
- CORBA::SystemException
- ))
-{
- return this->ptr_->describe_contents (
- limit_type,
- exclude_inherited,
- max_returned_objs,
- ACE_TRY_ENV
- );
-}
-
-template <class T> ACE_INLINE
-IR::ModuleDef_ptr POA_IR::ComponentRepository_tie<T>::create_module (
- const char * id,
- const char * name,
- const char * version,
- CORBA::Environment &ACE_TRY_ENV
- )
- ACE_THROW_SPEC ((
- CORBA::SystemException
- ))
-{
- return this->ptr_->create_module (
- id,
- name,
- version,
- ACE_TRY_ENV
- );
-}
-
-template <class T> ACE_INLINE
-IR::ConstantDef_ptr POA_IR::ComponentRepository_tie<T>::create_constant (
- const char * id,
- const char * name,
- const char * version,
- IR_IDLType_ptr type,
- const CORBA::Any & value,
- CORBA::Environment &ACE_TRY_ENV
- )
- ACE_THROW_SPEC ((
- CORBA::SystemException
- ))
-{
- return this->ptr_->create_constant (
- id,
- name,
- version,
- type,
- value,
- ACE_TRY_ENV
- );
-}
-
-template <class T> ACE_INLINE
-IR::StructDef_ptr POA_IR::ComponentRepository_tie<T>::create_struct (
- const char * id,
- const char * name,
- const char * version,
- const IR_StructMemberSeq & members,
- CORBA::Environment &ACE_TRY_ENV
- )
- ACE_THROW_SPEC ((
- CORBA::SystemException
- ))
-{
- return this->ptr_->create_struct (
- id,
- name,
- version,
- members,
- ACE_TRY_ENV
- );
-}
-
-template <class T> ACE_INLINE
-IR::UnionDef_ptr POA_IR::ComponentRepository_tie<T>::create_union (
- const char * id,
- const char * name,
- const char * version,
- IR_IDLType_ptr discriminator_type,
- const IR_UnionMemberSeq & members,
- CORBA::Environment &ACE_TRY_ENV
- )
- ACE_THROW_SPEC ((
- CORBA::SystemException
- ))
-{
- return this->ptr_->create_union (
- id,
- name,
- version,
- discriminator_type,
- members,
- ACE_TRY_ENV
- );
-}
-
-template <class T> ACE_INLINE
-IR::EnumDef_ptr POA_IR::ComponentRepository_tie<T>::create_enum (
- const char * id,
- const char * name,
- const char * version,
- const IR_EnumMemberSeq & members,
- CORBA::Environment &ACE_TRY_ENV
- )
- ACE_THROW_SPEC ((
- CORBA::SystemException
- ))
-{
- return this->ptr_->create_enum (
- id,
- name,
- version,
- members,
- ACE_TRY_ENV
- );
-}
-
-template <class T> ACE_INLINE
-IR::AliasDef_ptr POA_IR::ComponentRepository_tie<T>::create_alias (
- const char * id,
- const char * name,
- const char * version,
- IR_IDLType_ptr original_type,
- CORBA::Environment &ACE_TRY_ENV
- )
- ACE_THROW_SPEC ((
- CORBA::SystemException
- ))
-{
- return this->ptr_->create_alias (
- id,
- name,
- version,
- original_type,
- ACE_TRY_ENV
- );
-}
-
-template <class T> ACE_INLINE
-IR::InterfaceDef_ptr POA_IR::ComponentRepository_tie<T>::create_interface (
- const char * id,
- const char * name,
- const char * version,
- const IR_InterfaceDefSeq & base_interfaces,
- CORBA::Boolean is_abstract,
- CORBA::Boolean is_local,
- CORBA::Environment &ACE_TRY_ENV
- )
- ACE_THROW_SPEC ((
- CORBA::SystemException
- ))
-{
- return this->ptr_->create_interface (
- id,
- name,
- version,
- base_interfaces,
- is_abstract,
- is_local,
- ACE_TRY_ENV
- );
-}
-
-template <class T> ACE_INLINE
-IR::ValueDef_ptr POA_IR::ComponentRepository_tie<T>::create_value (
- const char * id,
- const char * name,
- const char * version,
- CORBA::Boolean is_custom,
- CORBA::Boolean is_abstract,
- IR_ValueDef_ptr base_value,
- CORBA::Boolean is_truncatable,
- const IR_ValueDefSeq & abstract_base_values,
- const IR_InterfaceDefSeq & supported_interfaces,
- const IR_InitializerSeq & initializers,
- CORBA::Environment &ACE_TRY_ENV
- )
- ACE_THROW_SPEC ((
- CORBA::SystemException
- ))
-{
- return this->ptr_->create_value (
- id,
- name,
- version,
- is_custom,
- is_abstract,
- base_value,
- is_truncatable,
- abstract_base_values,
- supported_interfaces,
- initializers,
- ACE_TRY_ENV
- );
-}
-
-template <class T> ACE_INLINE
-IR::ValueBoxDef_ptr POA_IR::ComponentRepository_tie<T>::create_value_box (
- const char * id,
- const char * name,
- const char * version,
- IR_IDLType_ptr original_type_def,
- CORBA::Environment &ACE_TRY_ENV
- )
- ACE_THROW_SPEC ((
- CORBA::SystemException
- ))
-{
- return this->ptr_->create_value_box (
- id,
- name,
- version,
- original_type_def,
- ACE_TRY_ENV
- );
-}
-
-template <class T> ACE_INLINE
-IR::ExceptionDef_ptr POA_IR::ComponentRepository_tie<T>::create_exception (
- const char * id,
- const char * name,
- const char * version,
- const IR_StructMemberSeq & members,
- CORBA::Environment &ACE_TRY_ENV
- )
- ACE_THROW_SPEC ((
- CORBA::SystemException
- ))
-{
- return this->ptr_->create_exception (
- id,
- name,
- version,
- members,
- ACE_TRY_ENV
- );
-}
-
-template <class T> ACE_INLINE
-IR::NativeDef_ptr POA_IR::ComponentRepository_tie<T>::create_native (
- const char * id,
- const char * name,
- const char * version,
- CORBA::Environment &ACE_TRY_ENV
- )
- ACE_THROW_SPEC ((
- CORBA::SystemException
- ))
-{
- return this->ptr_->create_native (
- id,
- name,
- version,
- ACE_TRY_ENV
- );
-}
-
-template <class T> ACE_INLINE
-IR::DefinitionKind POA_IR::ComponentRepository_tie<T>::def_kind (
- CORBA::Environment &ACE_TRY_ENV
- )
- ACE_THROW_SPEC ((
- CORBA::SystemException
- ))
-{
- return this->ptr_->def_kind (
- ACE_TRY_ENV
- );
-}
-
-template <class T> ACE_INLINE
-void POA_IR::ComponentRepository_tie<T>::destroy (
- CORBA::Environment &ACE_TRY_ENV
- )
- ACE_THROW_SPEC ((
- CORBA::SystemException
- ))
-{
- this->ptr_->destroy (
- ACE_TRY_ENV
- );
-}
-
-#endif /* ACE_HAS_USING_KEYWORD */
-
-#if defined (ACE_HAS_USING_KEYWORD)
-template <class T> ACE_INLINE
-POA_IR::ModuleDef_tie<T>::ModuleDef_tie (T &t)
- : ptr_ (&t),
- poa_ (PortableServer::POA::_nil ()),
- rel_ (0)
-{}
-
-template <class T> ACE_INLINE
-POA_IR::ModuleDef_tie<T>::ModuleDef_tie (T &t, PortableServer::POA_ptr poa)
- : ptr_ (&t),
- poa_ (PortableServer::POA::_duplicate (poa)),
- rel_ (0)
-{}
-
-template <class T> ACE_INLINE
-POA_IR::ModuleDef_tie<T>::ModuleDef_tie (T *tp, CORBA::Boolean release)
- : ptr_ (tp),
- poa_ (PortableServer::POA::_nil ()),
- rel_ (release)
-{}
-
-template <class T> ACE_INLINE
-POA_IR::ModuleDef_tie<T>::ModuleDef_tie (T *tp, PortableServer::POA_ptr poa, CORBA::Boolean release)
- : ptr_ (tp),
- poa_ (PortableServer::POA::_duplicate (poa)),
- rel_ (release)
-{}
-
-template <class T> ACE_INLINE
-POA_IR::ModuleDef_tie<T>::~ModuleDef_tie (void)
-{
- if (this->rel_) delete this->ptr_;
-}
-
-template <class T> ACE_INLINE T *
-POA_IR::ModuleDef_tie<T>::_tied_object (void)
-{
- return this->ptr_;
-}
-
-template <class T> ACE_INLINE void
-POA_IR::ModuleDef_tie<T>::_tied_object (T &obj)
-{
- if (this->rel_) delete this->ptr_;
- this->ptr_ = &obj;
- this->rel_ = 0;
-}
-
-template <class T> ACE_INLINE void
-POA_IR::ModuleDef_tie<T>::_tied_object (T *obj, CORBA::Boolean release)
-{
- if (this->rel_) delete this->ptr_;
- this->ptr_ = obj;
- this->rel_ = release;
-}
-
-template <class T> ACE_INLINE CORBA::Boolean
-POA_IR::ModuleDef_tie<T>::_is_owner (void)
-{
- return this->rel_;
-}
-
-template <class T> ACE_INLINE void
-POA_IR::ModuleDef_tie<T>::_is_owner (CORBA::Boolean b)
-{
- this->rel_ = b;
-}
-
-template <class T> ACE_INLINE PortableServer::POA_ptr
-POA_IR::ModuleDef_tie<T>::_default_POA (CORBA::Environment &env)
-{
- if (!CORBA::is_nil (this->poa_.in ()))
- return PortableServer::POA::_duplicate (this->poa_.in ());
-
- return this->ModuleDef::_default_POA (env);
-}
-
-template <class T> ACE_INLINE
-IR::Contained_ptr POA_IR::ModuleDef_tie<T>::lookup (
- const char * search_name,
- CORBA::Environment &ACE_TRY_ENV
- )
- ACE_THROW_SPEC ((
- CORBA::SystemException
- ))
-{
- return this->ptr_->lookup (
- search_name,
- ACE_TRY_ENV
- );
-}
-
-template <class T> ACE_INLINE
-IR::ContainedSeq * POA_IR::ModuleDef_tie<T>::contents (
- IR_DefinitionKind limit_type,
- CORBA::Boolean exclude_inherited,
- CORBA::Environment &ACE_TRY_ENV
- )
- ACE_THROW_SPEC ((
- CORBA::SystemException
- ))
-{
- return this->ptr_->contents (
- limit_type,
- exclude_inherited,
- ACE_TRY_ENV
- );
-}
-
-template <class T> ACE_INLINE
-IR::ContainedSeq * POA_IR::ModuleDef_tie<T>::lookup_name (
- const char * search_name,
- CORBA::Long levels_to_search,
- IR_DefinitionKind limit_type,
- CORBA::Boolean exclude_inherited,
- CORBA::Environment &ACE_TRY_ENV
- )
- ACE_THROW_SPEC ((
- CORBA::SystemException
- ))
-{
- return this->ptr_->lookup_name (
- search_name,
- levels_to_search,
- limit_type,
- exclude_inherited,
- ACE_TRY_ENV
- );
-}
-
-template <class T> ACE_INLINE
-IR::Container::DescriptionSeq * POA_IR::ModuleDef_tie<T>::describe_contents (
- IR_DefinitionKind limit_type,
- CORBA::Boolean exclude_inherited,
- CORBA::Long max_returned_objs,
- CORBA::Environment &ACE_TRY_ENV
- )
- ACE_THROW_SPEC ((
- CORBA::SystemException
- ))
-{
- return this->ptr_->describe_contents (
- limit_type,
- exclude_inherited,
- max_returned_objs,
- ACE_TRY_ENV
- );
-}
-
-template <class T> ACE_INLINE
-IR::ModuleDef_ptr POA_IR::ModuleDef_tie<T>::create_module (
- const char * id,
- const char * name,
- const char * version,
- CORBA::Environment &ACE_TRY_ENV
- )
- ACE_THROW_SPEC ((
- CORBA::SystemException
- ))
-{
- return this->ptr_->create_module (
- id,
- name,
- version,
- ACE_TRY_ENV
- );
-}
-
-template <class T> ACE_INLINE
-IR::ConstantDef_ptr POA_IR::ModuleDef_tie<T>::create_constant (
- const char * id,
- const char * name,
- const char * version,
- IR_IDLType_ptr type,
- const CORBA::Any & value,
- CORBA::Environment &ACE_TRY_ENV
- )
- ACE_THROW_SPEC ((
- CORBA::SystemException
- ))
-{
- return this->ptr_->create_constant (
- id,
- name,
- version,
- type,
- value,
- ACE_TRY_ENV
- );
-}
-
-template <class T> ACE_INLINE
-IR::StructDef_ptr POA_IR::ModuleDef_tie<T>::create_struct (
- const char * id,
- const char * name,
- const char * version,
- const IR_StructMemberSeq & members,
- CORBA::Environment &ACE_TRY_ENV
- )
- ACE_THROW_SPEC ((
- CORBA::SystemException
- ))
-{
- return this->ptr_->create_struct (
- id,
- name,
- version,
- members,
- ACE_TRY_ENV
- );
-}
-
-template <class T> ACE_INLINE
-IR::UnionDef_ptr POA_IR::ModuleDef_tie<T>::create_union (
- const char * id,
- const char * name,
- const char * version,
- IR_IDLType_ptr discriminator_type,
- const IR_UnionMemberSeq & members,
- CORBA::Environment &ACE_TRY_ENV
- )
- ACE_THROW_SPEC ((
- CORBA::SystemException
- ))
-{
- return this->ptr_->create_union (
- id,
- name,
- version,
- discriminator_type,
- members,
- ACE_TRY_ENV
- );
-}
-
-template <class T> ACE_INLINE
-IR::EnumDef_ptr POA_IR::ModuleDef_tie<T>::create_enum (
- const char * id,
- const char * name,
- const char * version,
- const IR_EnumMemberSeq & members,
- CORBA::Environment &ACE_TRY_ENV
- )
- ACE_THROW_SPEC ((
- CORBA::SystemException
- ))
-{
- return this->ptr_->create_enum (
- id,
- name,
- version,
- members,
- ACE_TRY_ENV
- );
-}
-
-template <class T> ACE_INLINE
-IR::AliasDef_ptr POA_IR::ModuleDef_tie<T>::create_alias (
- const char * id,
- const char * name,
- const char * version,
- IR_IDLType_ptr original_type,
- CORBA::Environment &ACE_TRY_ENV
- )
- ACE_THROW_SPEC ((
- CORBA::SystemException
- ))
-{
- return this->ptr_->create_alias (
- id,
- name,
- version,
- original_type,
- ACE_TRY_ENV
- );
-}
-
-template <class T> ACE_INLINE
-IR::InterfaceDef_ptr POA_IR::ModuleDef_tie<T>::create_interface (
- const char * id,
- const char * name,
- const char * version,
- const IR_InterfaceDefSeq & base_interfaces,
- CORBA::Boolean is_abstract,
- CORBA::Boolean is_local,
- CORBA::Environment &ACE_TRY_ENV
- )
- ACE_THROW_SPEC ((
- CORBA::SystemException
- ))
-{
- return this->ptr_->create_interface (
- id,
- name,
- version,
- base_interfaces,
- is_abstract,
- is_local,
- ACE_TRY_ENV
- );
-}
-
-template <class T> ACE_INLINE
-IR::ValueDef_ptr POA_IR::ModuleDef_tie<T>::create_value (
- const char * id,
- const char * name,
- const char * version,
- CORBA::Boolean is_custom,
- CORBA::Boolean is_abstract,
- IR_ValueDef_ptr base_value,
- CORBA::Boolean is_truncatable,
- const IR_ValueDefSeq & abstract_base_values,
- const IR_InterfaceDefSeq & supported_interfaces,
- const IR_InitializerSeq & initializers,
- CORBA::Environment &ACE_TRY_ENV
- )
- ACE_THROW_SPEC ((
- CORBA::SystemException
- ))
-{
- return this->ptr_->create_value (
- id,
- name,
- version,
- is_custom,
- is_abstract,
- base_value,
- is_truncatable,
- abstract_base_values,
- supported_interfaces,
- initializers,
- ACE_TRY_ENV
- );
-}
-
-template <class T> ACE_INLINE
-IR::ValueBoxDef_ptr POA_IR::ModuleDef_tie<T>::create_value_box (
- const char * id,
- const char * name,
- const char * version,
- IR_IDLType_ptr original_type_def,
- CORBA::Environment &ACE_TRY_ENV
- )
- ACE_THROW_SPEC ((
- CORBA::SystemException
- ))
-{
- return this->ptr_->create_value_box (
- id,
- name,
- version,
- original_type_def,
- ACE_TRY_ENV
- );
-}
-
-template <class T> ACE_INLINE
-IR::ExceptionDef_ptr POA_IR::ModuleDef_tie<T>::create_exception (
- const char * id,
- const char * name,
- const char * version,
- const IR_StructMemberSeq & members,
- CORBA::Environment &ACE_TRY_ENV
- )
- ACE_THROW_SPEC ((
- CORBA::SystemException
- ))
-{
- return this->ptr_->create_exception (
- id,
- name,
- version,
- members,
- ACE_TRY_ENV
- );
-}
-
-template <class T> ACE_INLINE
-IR::NativeDef_ptr POA_IR::ModuleDef_tie<T>::create_native (
- const char * id,
- const char * name,
- const char * version,
- CORBA::Environment &ACE_TRY_ENV
- )
- ACE_THROW_SPEC ((
- CORBA::SystemException
- ))
-{
- return this->ptr_->create_native (
- id,
- name,
- version,
- ACE_TRY_ENV
- );
-}
-
-template <class T> ACE_INLINE
-char * POA_IR::ModuleDef_tie<T>::id (
- CORBA::Environment &ACE_TRY_ENV
- )
- ACE_THROW_SPEC ((
- CORBA::SystemException
- ))
-{
- return this->ptr_->id (
- ACE_TRY_ENV
- );
-}
-
-template <class T> ACE_INLINE
-void POA_IR::ModuleDef_tie<T>::id (
- const char * id,
- CORBA::Environment &ACE_TRY_ENV
- )
- ACE_THROW_SPEC ((
- CORBA::SystemException
- ))
-{
- this->ptr_->id (
- id,
- ACE_TRY_ENV
- );
-}
-
-template <class T> ACE_INLINE
-char * POA_IR::ModuleDef_tie<T>::name (
- CORBA::Environment &ACE_TRY_ENV
- )
- ACE_THROW_SPEC ((
- CORBA::SystemException
- ))
-{
- return this->ptr_->name (
- ACE_TRY_ENV
- );
-}
-
-template <class T> ACE_INLINE
-void POA_IR::ModuleDef_tie<T>::name (
- const char * name,
- CORBA::Environment &ACE_TRY_ENV
- )
- ACE_THROW_SPEC ((
- CORBA::SystemException
- ))
-{
- this->ptr_->name (
- name,
- ACE_TRY_ENV
- );
-}
-
-template <class T> ACE_INLINE
-char * POA_IR::ModuleDef_tie<T>::version (
- CORBA::Environment &ACE_TRY_ENV
- )
- ACE_THROW_SPEC ((
- CORBA::SystemException
- ))
-{
- return this->ptr_->version (
- ACE_TRY_ENV
- );
-}
-
-template <class T> ACE_INLINE
-void POA_IR::ModuleDef_tie<T>::version (
- const char * version,
- CORBA::Environment &ACE_TRY_ENV
- )
- ACE_THROW_SPEC ((
- CORBA::SystemException
- ))
-{
- this->ptr_->version (
- version,
- ACE_TRY_ENV
- );
-}
-
-template <class T> ACE_INLINE
-IR::Container_ptr POA_IR::ModuleDef_tie<T>::defined_in (
- CORBA::Environment &ACE_TRY_ENV
- )
- ACE_THROW_SPEC ((
- CORBA::SystemException
- ))
-{
- return this->ptr_->defined_in (
- ACE_TRY_ENV
- );
-}
-
-template <class T> ACE_INLINE
-char * POA_IR::ModuleDef_tie<T>::absolute_name (
- CORBA::Environment &ACE_TRY_ENV
- )
- ACE_THROW_SPEC ((
- CORBA::SystemException
- ))
-{
- return this->ptr_->absolute_name (
- ACE_TRY_ENV
- );
-}
-
-template <class T> ACE_INLINE
-IR::Repository_ptr POA_IR::ModuleDef_tie<T>::containing_repository (
- CORBA::Environment &ACE_TRY_ENV
- )
- ACE_THROW_SPEC ((
- CORBA::SystemException
- ))
-{
- return this->ptr_->containing_repository (
- ACE_TRY_ENV
- );
-}
-
-template <class T> ACE_INLINE
-IR::Contained::Description * POA_IR::ModuleDef_tie<T>::describe (
- CORBA::Environment &ACE_TRY_ENV
- )
- ACE_THROW_SPEC ((
- CORBA::SystemException
- ))
-{
- return this->ptr_->describe (
- ACE_TRY_ENV
- );
-}
-
-template <class T> ACE_INLINE
-void POA_IR::ModuleDef_tie<T>::move (
- IR_Container_ptr new_container,
- const char * new_name,
- const char * new_version,
- CORBA::Environment &ACE_TRY_ENV
- )
- ACE_THROW_SPEC ((
- CORBA::SystemException
- ))
-{
- this->ptr_->move (
- new_container,
- new_name,
- new_version,
- ACE_TRY_ENV
- );
-}
-
-template <class T> ACE_INLINE
-IR::DefinitionKind POA_IR::ModuleDef_tie<T>::def_kind (
- CORBA::Environment &ACE_TRY_ENV
- )
- ACE_THROW_SPEC ((
- CORBA::SystemException
- ))
-{
- return this->ptr_->def_kind (
- ACE_TRY_ENV
- );
-}
-
-template <class T> ACE_INLINE
-void POA_IR::ModuleDef_tie<T>::destroy (
- CORBA::Environment &ACE_TRY_ENV
- )
- ACE_THROW_SPEC ((
- CORBA::SystemException
- ))
-{
- this->ptr_->destroy (
- ACE_TRY_ENV
- );
-}
-
-#endif /* ACE_HAS_USING_KEYWORD */
-
-#if defined (ACE_HAS_USING_KEYWORD)
-template <class T> ACE_INLINE
-POA_IR::ConstantDef_tie<T>::ConstantDef_tie (T &t)
- : ptr_ (&t),
- poa_ (PortableServer::POA::_nil ()),
- rel_ (0)
-{}
-
-template <class T> ACE_INLINE
-POA_IR::ConstantDef_tie<T>::ConstantDef_tie (T &t, PortableServer::POA_ptr poa)
- : ptr_ (&t),
- poa_ (PortableServer::POA::_duplicate (poa)),
- rel_ (0)
-{}
-
-template <class T> ACE_INLINE
-POA_IR::ConstantDef_tie<T>::ConstantDef_tie (T *tp, CORBA::Boolean release)
- : ptr_ (tp),
- poa_ (PortableServer::POA::_nil ()),
- rel_ (release)
-{}
-
-template <class T> ACE_INLINE
-POA_IR::ConstantDef_tie<T>::ConstantDef_tie (T *tp, PortableServer::POA_ptr poa, CORBA::Boolean release)
- : ptr_ (tp),
- poa_ (PortableServer::POA::_duplicate (poa)),
- rel_ (release)
-{}
-
-template <class T> ACE_INLINE
-POA_IR::ConstantDef_tie<T>::~ConstantDef_tie (void)
-{
- if (this->rel_) delete this->ptr_;
-}
-
-template <class T> ACE_INLINE T *
-POA_IR::ConstantDef_tie<T>::_tied_object (void)
-{
- return this->ptr_;
-}
-
-template <class T> ACE_INLINE void
-POA_IR::ConstantDef_tie<T>::_tied_object (T &obj)
-{
- if (this->rel_) delete this->ptr_;
- this->ptr_ = &obj;
- this->rel_ = 0;
-}
-
-template <class T> ACE_INLINE void
-POA_IR::ConstantDef_tie<T>::_tied_object (T *obj, CORBA::Boolean release)
-{
- if (this->rel_) delete this->ptr_;
- this->ptr_ = obj;
- this->rel_ = release;
-}
-
-template <class T> ACE_INLINE CORBA::Boolean
-POA_IR::ConstantDef_tie<T>::_is_owner (void)
-{
- return this->rel_;
-}
-
-template <class T> ACE_INLINE void
-POA_IR::ConstantDef_tie<T>::_is_owner (CORBA::Boolean b)
-{
- this->rel_ = b;
-}
-
-template <class T> ACE_INLINE PortableServer::POA_ptr
-POA_IR::ConstantDef_tie<T>::_default_POA (CORBA::Environment &env)
-{
- if (!CORBA::is_nil (this->poa_.in ()))
- return PortableServer::POA::_duplicate (this->poa_.in ());
-
- return this->ConstantDef::_default_POA (env);
-}
-
-template <class T> ACE_INLINE
-CORBA::TypeCode_ptr POA_IR::ConstantDef_tie<T>::type (
- CORBA::Environment &ACE_TRY_ENV
- )
- ACE_THROW_SPEC ((
- CORBA::SystemException
- ))
-{
- return this->ptr_->type (
- ACE_TRY_ENV
- );
-}
-
-template <class T> ACE_INLINE
-IR::IDLType_ptr POA_IR::ConstantDef_tie<T>::type_def (
- CORBA::Environment &ACE_TRY_ENV
- )
- ACE_THROW_SPEC ((
- CORBA::SystemException
- ))
-{
- return this->ptr_->type_def (
- ACE_TRY_ENV
- );
-}
-
-template <class T> ACE_INLINE
-void POA_IR::ConstantDef_tie<T>::type_def (
- IR_IDLType_ptr type_def,
- CORBA::Environment &ACE_TRY_ENV
- )
- ACE_THROW_SPEC ((
- CORBA::SystemException
- ))
-{
- this->ptr_->type_def (
- type_def,
- ACE_TRY_ENV
- );
-}
-
-template <class T> ACE_INLINE
-CORBA::Any * POA_IR::ConstantDef_tie<T>::value (
- CORBA::Environment &ACE_TRY_ENV
- )
- ACE_THROW_SPEC ((
- CORBA::SystemException
- ))
-{
- return this->ptr_->value (
- ACE_TRY_ENV
- );
-}
-
-template <class T> ACE_INLINE
-void POA_IR::ConstantDef_tie<T>::value (
- const CORBA::Any & value,
- CORBA::Environment &ACE_TRY_ENV
- )
- ACE_THROW_SPEC ((
- CORBA::SystemException
- ))
-{
- this->ptr_->value (
- value,
- ACE_TRY_ENV
- );
-}
-
-template <class T> ACE_INLINE
-char * POA_IR::ConstantDef_tie<T>::id (
- CORBA::Environment &ACE_TRY_ENV
- )
- ACE_THROW_SPEC ((
- CORBA::SystemException
- ))
-{
- return this->ptr_->id (
- ACE_TRY_ENV
- );
-}
-
-template <class T> ACE_INLINE
-void POA_IR::ConstantDef_tie<T>::id (
- const char * id,
- CORBA::Environment &ACE_TRY_ENV
- )
- ACE_THROW_SPEC ((
- CORBA::SystemException
- ))
-{
- this->ptr_->id (
- id,
- ACE_TRY_ENV
- );
-}
-
-template <class T> ACE_INLINE
-char * POA_IR::ConstantDef_tie<T>::name (
- CORBA::Environment &ACE_TRY_ENV
- )
- ACE_THROW_SPEC ((
- CORBA::SystemException
- ))
-{
- return this->ptr_->name (
- ACE_TRY_ENV
- );
-}
-
-template <class T> ACE_INLINE
-void POA_IR::ConstantDef_tie<T>::name (
- const char * name,
- CORBA::Environment &ACE_TRY_ENV
- )
- ACE_THROW_SPEC ((
- CORBA::SystemException
- ))
-{
- this->ptr_->name (
- name,
- ACE_TRY_ENV
- );
-}
-
-template <class T> ACE_INLINE
-char * POA_IR::ConstantDef_tie<T>::version (
- CORBA::Environment &ACE_TRY_ENV
- )
- ACE_THROW_SPEC ((
- CORBA::SystemException
- ))
-{
- return this->ptr_->version (
- ACE_TRY_ENV
- );
-}
-
-template <class T> ACE_INLINE
-void POA_IR::ConstantDef_tie<T>::version (
- const char * version,
- CORBA::Environment &ACE_TRY_ENV
- )
- ACE_THROW_SPEC ((
- CORBA::SystemException
- ))
-{
- this->ptr_->version (
- version,
- ACE_TRY_ENV
- );
-}
-
-template <class T> ACE_INLINE
-IR::Container_ptr POA_IR::ConstantDef_tie<T>::defined_in (
- CORBA::Environment &ACE_TRY_ENV
- )
- ACE_THROW_SPEC ((
- CORBA::SystemException
- ))
-{
- return this->ptr_->defined_in (
- ACE_TRY_ENV
- );
-}
-
-template <class T> ACE_INLINE
-char * POA_IR::ConstantDef_tie<T>::absolute_name (
- CORBA::Environment &ACE_TRY_ENV
- )
- ACE_THROW_SPEC ((
- CORBA::SystemException
- ))
-{
- return this->ptr_->absolute_name (
- ACE_TRY_ENV
- );
-}
-
-template <class T> ACE_INLINE
-IR::Repository_ptr POA_IR::ConstantDef_tie<T>::containing_repository (
- CORBA::Environment &ACE_TRY_ENV
- )
- ACE_THROW_SPEC ((
- CORBA::SystemException
- ))
-{
- return this->ptr_->containing_repository (
- ACE_TRY_ENV
- );
-}
-
-template <class T> ACE_INLINE
-IR::Contained::Description * POA_IR::ConstantDef_tie<T>::describe (
- CORBA::Environment &ACE_TRY_ENV
- )
- ACE_THROW_SPEC ((
- CORBA::SystemException
- ))
-{
- return this->ptr_->describe (
- ACE_TRY_ENV
- );
-}
-
-template <class T> ACE_INLINE
-void POA_IR::ConstantDef_tie<T>::move (
- IR_Container_ptr new_container,
- const char * new_name,
- const char * new_version,
- CORBA::Environment &ACE_TRY_ENV
- )
- ACE_THROW_SPEC ((
- CORBA::SystemException
- ))
-{
- this->ptr_->move (
- new_container,
- new_name,
- new_version,
- ACE_TRY_ENV
- );
-}
-
-template <class T> ACE_INLINE
-IR::DefinitionKind POA_IR::ConstantDef_tie<T>::def_kind (
- CORBA::Environment &ACE_TRY_ENV
- )
- ACE_THROW_SPEC ((
- CORBA::SystemException
- ))
-{
- return this->ptr_->def_kind (
- ACE_TRY_ENV
- );
-}
-
-template <class T> ACE_INLINE
-void POA_IR::ConstantDef_tie<T>::destroy (
- CORBA::Environment &ACE_TRY_ENV
- )
- ACE_THROW_SPEC ((
- CORBA::SystemException
- ))
-{
- this->ptr_->destroy (
- ACE_TRY_ENV
- );
-}
-
-#endif /* ACE_HAS_USING_KEYWORD */
-
-#if defined (ACE_HAS_USING_KEYWORD)
-template <class T> ACE_INLINE
-POA_IR::TypedefDef_tie<T>::TypedefDef_tie (T &t)
- : ptr_ (&t),
- poa_ (PortableServer::POA::_nil ()),
- rel_ (0)
-{}
-
-template <class T> ACE_INLINE
-POA_IR::TypedefDef_tie<T>::TypedefDef_tie (T &t, PortableServer::POA_ptr poa)
- : ptr_ (&t),
- poa_ (PortableServer::POA::_duplicate (poa)),
- rel_ (0)
-{}
-
-template <class T> ACE_INLINE
-POA_IR::TypedefDef_tie<T>::TypedefDef_tie (T *tp, CORBA::Boolean release)
- : ptr_ (tp),
- poa_ (PortableServer::POA::_nil ()),
- rel_ (release)
-{}
-
-template <class T> ACE_INLINE
-POA_IR::TypedefDef_tie<T>::TypedefDef_tie (T *tp, PortableServer::POA_ptr poa, CORBA::Boolean release)
- : ptr_ (tp),
- poa_ (PortableServer::POA::_duplicate (poa)),
- rel_ (release)
-{}
-
-template <class T> ACE_INLINE
-POA_IR::TypedefDef_tie<T>::~TypedefDef_tie (void)
-{
- if (this->rel_) delete this->ptr_;
-}
-
-template <class T> ACE_INLINE T *
-POA_IR::TypedefDef_tie<T>::_tied_object (void)
-{
- return this->ptr_;
-}
-
-template <class T> ACE_INLINE void
-POA_IR::TypedefDef_tie<T>::_tied_object (T &obj)
-{
- if (this->rel_) delete this->ptr_;
- this->ptr_ = &obj;
- this->rel_ = 0;
-}
-
-template <class T> ACE_INLINE void
-POA_IR::TypedefDef_tie<T>::_tied_object (T *obj, CORBA::Boolean release)
-{
- if (this->rel_) delete this->ptr_;
- this->ptr_ = obj;
- this->rel_ = release;
-}
-
-template <class T> ACE_INLINE CORBA::Boolean
-POA_IR::TypedefDef_tie<T>::_is_owner (void)
-{
- return this->rel_;
-}
-
-template <class T> ACE_INLINE void
-POA_IR::TypedefDef_tie<T>::_is_owner (CORBA::Boolean b)
-{
- this->rel_ = b;
-}
-
-template <class T> ACE_INLINE PortableServer::POA_ptr
-POA_IR::TypedefDef_tie<T>::_default_POA (CORBA::Environment &env)
-{
- if (!CORBA::is_nil (this->poa_.in ()))
- return PortableServer::POA::_duplicate (this->poa_.in ());
-
- return this->TypedefDef::_default_POA (env);
-}
-
-template <class T> ACE_INLINE
-char * POA_IR::TypedefDef_tie<T>::id (
- CORBA::Environment &ACE_TRY_ENV
- )
- ACE_THROW_SPEC ((
- CORBA::SystemException
- ))
-{
- return this->ptr_->id (
- ACE_TRY_ENV
- );
-}
-
-template <class T> ACE_INLINE
-void POA_IR::TypedefDef_tie<T>::id (
- const char * id,
- CORBA::Environment &ACE_TRY_ENV
- )
- ACE_THROW_SPEC ((
- CORBA::SystemException
- ))
-{
- this->ptr_->id (
- id,
- ACE_TRY_ENV
- );
-}
-
-template <class T> ACE_INLINE
-char * POA_IR::TypedefDef_tie<T>::name (
- CORBA::Environment &ACE_TRY_ENV
- )
- ACE_THROW_SPEC ((
- CORBA::SystemException
- ))
-{
- return this->ptr_->name (
- ACE_TRY_ENV
- );
-}
-
-template <class T> ACE_INLINE
-void POA_IR::TypedefDef_tie<T>::name (
- const char * name,
- CORBA::Environment &ACE_TRY_ENV
- )
- ACE_THROW_SPEC ((
- CORBA::SystemException
- ))
-{
- this->ptr_->name (
- name,
- ACE_TRY_ENV
- );
-}
-
-template <class T> ACE_INLINE
-char * POA_IR::TypedefDef_tie<T>::version (
- CORBA::Environment &ACE_TRY_ENV
- )
- ACE_THROW_SPEC ((
- CORBA::SystemException
- ))
-{
- return this->ptr_->version (
- ACE_TRY_ENV
- );
-}
-
-template <class T> ACE_INLINE
-void POA_IR::TypedefDef_tie<T>::version (
- const char * version,
- CORBA::Environment &ACE_TRY_ENV
- )
- ACE_THROW_SPEC ((
- CORBA::SystemException
- ))
-{
- this->ptr_->version (
- version,
- ACE_TRY_ENV
- );
-}
-
-template <class T> ACE_INLINE
-IR::Container_ptr POA_IR::TypedefDef_tie<T>::defined_in (
- CORBA::Environment &ACE_TRY_ENV
- )
- ACE_THROW_SPEC ((
- CORBA::SystemException
- ))
-{
- return this->ptr_->defined_in (
- ACE_TRY_ENV
- );
-}
-
-template <class T> ACE_INLINE
-char * POA_IR::TypedefDef_tie<T>::absolute_name (
- CORBA::Environment &ACE_TRY_ENV
- )
- ACE_THROW_SPEC ((
- CORBA::SystemException
- ))
-{
- return this->ptr_->absolute_name (
- ACE_TRY_ENV
- );
-}
-
-template <class T> ACE_INLINE
-IR::Repository_ptr POA_IR::TypedefDef_tie<T>::containing_repository (
- CORBA::Environment &ACE_TRY_ENV
- )
- ACE_THROW_SPEC ((
- CORBA::SystemException
- ))
-{
- return this->ptr_->containing_repository (
- ACE_TRY_ENV
- );
-}
-
-template <class T> ACE_INLINE
-IR::Contained::Description * POA_IR::TypedefDef_tie<T>::describe (
- CORBA::Environment &ACE_TRY_ENV
- )
- ACE_THROW_SPEC ((
- CORBA::SystemException
- ))
-{
- return this->ptr_->describe (
- ACE_TRY_ENV
- );
-}
-
-template <class T> ACE_INLINE
-void POA_IR::TypedefDef_tie<T>::move (
- IR_Container_ptr new_container,
- const char * new_name,
- const char * new_version,
- CORBA::Environment &ACE_TRY_ENV
- )
- ACE_THROW_SPEC ((
- CORBA::SystemException
- ))
-{
- this->ptr_->move (
- new_container,
- new_name,
- new_version,
- ACE_TRY_ENV
- );
-}
-
-template <class T> ACE_INLINE
-CORBA::TypeCode_ptr POA_IR::TypedefDef_tie<T>::type (
- CORBA::Environment &ACE_TRY_ENV
- )
- ACE_THROW_SPEC ((
- CORBA::SystemException
- ))
-{
- return this->ptr_->type (
- ACE_TRY_ENV
- );
-}
-
-template <class T> ACE_INLINE
-IR::DefinitionKind POA_IR::TypedefDef_tie<T>::def_kind (
- CORBA::Environment &ACE_TRY_ENV
- )
- ACE_THROW_SPEC ((
- CORBA::SystemException
- ))
-{
- return this->ptr_->def_kind (
- ACE_TRY_ENV
- );
-}
-
-template <class T> ACE_INLINE
-void POA_IR::TypedefDef_tie<T>::destroy (
- CORBA::Environment &ACE_TRY_ENV
- )
- ACE_THROW_SPEC ((
- CORBA::SystemException
- ))
-{
- this->ptr_->destroy (
- ACE_TRY_ENV
- );
-}
-
-#endif /* ACE_HAS_USING_KEYWORD */
-
-#if defined (ACE_HAS_USING_KEYWORD)
-template <class T> ACE_INLINE
-POA_IR::StructDef_tie<T>::StructDef_tie (T &t)
- : ptr_ (&t),
- poa_ (PortableServer::POA::_nil ()),
- rel_ (0)
-{}
-
-template <class T> ACE_INLINE
-POA_IR::StructDef_tie<T>::StructDef_tie (T &t, PortableServer::POA_ptr poa)
- : ptr_ (&t),
- poa_ (PortableServer::POA::_duplicate (poa)),
- rel_ (0)
-{}
-
-template <class T> ACE_INLINE
-POA_IR::StructDef_tie<T>::StructDef_tie (T *tp, CORBA::Boolean release)
- : ptr_ (tp),
- poa_ (PortableServer::POA::_nil ()),
- rel_ (release)
-{}
-
-template <class T> ACE_INLINE
-POA_IR::StructDef_tie<T>::StructDef_tie (T *tp, PortableServer::POA_ptr poa, CORBA::Boolean release)
- : ptr_ (tp),
- poa_ (PortableServer::POA::_duplicate (poa)),
- rel_ (release)
-{}
-
-template <class T> ACE_INLINE
-POA_IR::StructDef_tie<T>::~StructDef_tie (void)
-{
- if (this->rel_) delete this->ptr_;
-}
-
-template <class T> ACE_INLINE T *
-POA_IR::StructDef_tie<T>::_tied_object (void)
-{
- return this->ptr_;
-}
-
-template <class T> ACE_INLINE void
-POA_IR::StructDef_tie<T>::_tied_object (T &obj)
-{
- if (this->rel_) delete this->ptr_;
- this->ptr_ = &obj;
- this->rel_ = 0;
-}
-
-template <class T> ACE_INLINE void
-POA_IR::StructDef_tie<T>::_tied_object (T *obj, CORBA::Boolean release)
-{
- if (this->rel_) delete this->ptr_;
- this->ptr_ = obj;
- this->rel_ = release;
-}
-
-template <class T> ACE_INLINE CORBA::Boolean
-POA_IR::StructDef_tie<T>::_is_owner (void)
-{
- return this->rel_;
-}
-
-template <class T> ACE_INLINE void
-POA_IR::StructDef_tie<T>::_is_owner (CORBA::Boolean b)
-{
- this->rel_ = b;
-}
-
-template <class T> ACE_INLINE PortableServer::POA_ptr
-POA_IR::StructDef_tie<T>::_default_POA (CORBA::Environment &env)
-{
- if (!CORBA::is_nil (this->poa_.in ()))
- return PortableServer::POA::_duplicate (this->poa_.in ());
-
- return this->StructDef::_default_POA (env);
-}
-
-template <class T> ACE_INLINE
-IR::StructMemberSeq * POA_IR::StructDef_tie<T>::members (
- CORBA::Environment &ACE_TRY_ENV
- )
- ACE_THROW_SPEC ((
- CORBA::SystemException
- ))
-{
- return this->ptr_->members (
- ACE_TRY_ENV
- );
-}
-
-template <class T> ACE_INLINE
-void POA_IR::StructDef_tie<T>::members (
- const IR_StructMemberSeq & members,
- CORBA::Environment &ACE_TRY_ENV
- )
- ACE_THROW_SPEC ((
- CORBA::SystemException
- ))
-{
- this->ptr_->members (
- members,
- ACE_TRY_ENV
- );
-}
-
-template <class T> ACE_INLINE
-IR::Contained_ptr POA_IR::StructDef_tie<T>::lookup (
- const char * search_name,
- CORBA::Environment &ACE_TRY_ENV
- )
- ACE_THROW_SPEC ((
- CORBA::SystemException
- ))
-{
- return this->ptr_->lookup (
- search_name,
- ACE_TRY_ENV
- );
-}
-
-template <class T> ACE_INLINE
-IR::ContainedSeq * POA_IR::StructDef_tie<T>::contents (
- IR_DefinitionKind limit_type,
- CORBA::Boolean exclude_inherited,
- CORBA::Environment &ACE_TRY_ENV
- )
- ACE_THROW_SPEC ((
- CORBA::SystemException
- ))
-{
- return this->ptr_->contents (
- limit_type,
- exclude_inherited,
- ACE_TRY_ENV
- );
-}
-
-template <class T> ACE_INLINE
-IR::ContainedSeq * POA_IR::StructDef_tie<T>::lookup_name (
- const char * search_name,
- CORBA::Long levels_to_search,
- IR_DefinitionKind limit_type,
- CORBA::Boolean exclude_inherited,
- CORBA::Environment &ACE_TRY_ENV
- )
- ACE_THROW_SPEC ((
- CORBA::SystemException
- ))
-{
- return this->ptr_->lookup_name (
- search_name,
- levels_to_search,
- limit_type,
- exclude_inherited,
- ACE_TRY_ENV
- );
-}
-
-template <class T> ACE_INLINE
-IR::Container::DescriptionSeq * POA_IR::StructDef_tie<T>::describe_contents (
- IR_DefinitionKind limit_type,
- CORBA::Boolean exclude_inherited,
- CORBA::Long max_returned_objs,
- CORBA::Environment &ACE_TRY_ENV
- )
- ACE_THROW_SPEC ((
- CORBA::SystemException
- ))
-{
- return this->ptr_->describe_contents (
- limit_type,
- exclude_inherited,
- max_returned_objs,
- ACE_TRY_ENV
- );
-}
-
-template <class T> ACE_INLINE
-IR::ModuleDef_ptr POA_IR::StructDef_tie<T>::create_module (
- const char * id,
- const char * name,
- const char * version,
- CORBA::Environment &ACE_TRY_ENV
- )
- ACE_THROW_SPEC ((
- CORBA::SystemException
- ))
-{
- return this->ptr_->create_module (
- id,
- name,
- version,
- ACE_TRY_ENV
- );
-}
-
-template <class T> ACE_INLINE
-IR::ConstantDef_ptr POA_IR::StructDef_tie<T>::create_constant (
- const char * id,
- const char * name,
- const char * version,
- IR_IDLType_ptr type,
- const CORBA::Any & value,
- CORBA::Environment &ACE_TRY_ENV
- )
- ACE_THROW_SPEC ((
- CORBA::SystemException
- ))
-{
- return this->ptr_->create_constant (
- id,
- name,
- version,
- type,
- value,
- ACE_TRY_ENV
- );
-}
-
-template <class T> ACE_INLINE
-IR::StructDef_ptr POA_IR::StructDef_tie<T>::create_struct (
- const char * id,
- const char * name,
- const char * version,
- const IR_StructMemberSeq & members,
- CORBA::Environment &ACE_TRY_ENV
- )
- ACE_THROW_SPEC ((
- CORBA::SystemException
- ))
-{
- return this->ptr_->create_struct (
- id,
- name,
- version,
- members,
- ACE_TRY_ENV
- );
-}
-
-template <class T> ACE_INLINE
-IR::UnionDef_ptr POA_IR::StructDef_tie<T>::create_union (
- const char * id,
- const char * name,
- const char * version,
- IR_IDLType_ptr discriminator_type,
- const IR_UnionMemberSeq & members,
- CORBA::Environment &ACE_TRY_ENV
- )
- ACE_THROW_SPEC ((
- CORBA::SystemException
- ))
-{
- return this->ptr_->create_union (
- id,
- name,
- version,
- discriminator_type,
- members,
- ACE_TRY_ENV
- );
-}
-
-template <class T> ACE_INLINE
-IR::EnumDef_ptr POA_IR::StructDef_tie<T>::create_enum (
- const char * id,
- const char * name,
- const char * version,
- const IR_EnumMemberSeq & members,
- CORBA::Environment &ACE_TRY_ENV
- )
- ACE_THROW_SPEC ((
- CORBA::SystemException
- ))
-{
- return this->ptr_->create_enum (
- id,
- name,
- version,
- members,
- ACE_TRY_ENV
- );
-}
-
-template <class T> ACE_INLINE
-IR::AliasDef_ptr POA_IR::StructDef_tie<T>::create_alias (
- const char * id,
- const char * name,
- const char * version,
- IR_IDLType_ptr original_type,
- CORBA::Environment &ACE_TRY_ENV
- )
- ACE_THROW_SPEC ((
- CORBA::SystemException
- ))
-{
- return this->ptr_->create_alias (
- id,
- name,
- version,
- original_type,
- ACE_TRY_ENV
- );
-}
-
-template <class T> ACE_INLINE
-IR::InterfaceDef_ptr POA_IR::StructDef_tie<T>::create_interface (
- const char * id,
- const char * name,
- const char * version,
- const IR_InterfaceDefSeq & base_interfaces,
- CORBA::Boolean is_abstract,
- CORBA::Boolean is_local,
- CORBA::Environment &ACE_TRY_ENV
- )
- ACE_THROW_SPEC ((
- CORBA::SystemException
- ))
-{
- return this->ptr_->create_interface (
- id,
- name,
- version,
- base_interfaces,
- is_abstract,
- is_local,
- ACE_TRY_ENV
- );
-}
-
-template <class T> ACE_INLINE
-IR::ValueDef_ptr POA_IR::StructDef_tie<T>::create_value (
- const char * id,
- const char * name,
- const char * version,
- CORBA::Boolean is_custom,
- CORBA::Boolean is_abstract,
- IR_ValueDef_ptr base_value,
- CORBA::Boolean is_truncatable,
- const IR_ValueDefSeq & abstract_base_values,
- const IR_InterfaceDefSeq & supported_interfaces,
- const IR_InitializerSeq & initializers,
- CORBA::Environment &ACE_TRY_ENV
- )
- ACE_THROW_SPEC ((
- CORBA::SystemException
- ))
-{
- return this->ptr_->create_value (
- id,
- name,
- version,
- is_custom,
- is_abstract,
- base_value,
- is_truncatable,
- abstract_base_values,
- supported_interfaces,
- initializers,
- ACE_TRY_ENV
- );
-}
-
-template <class T> ACE_INLINE
-IR::ValueBoxDef_ptr POA_IR::StructDef_tie<T>::create_value_box (
- const char * id,
- const char * name,
- const char * version,
- IR_IDLType_ptr original_type_def,
- CORBA::Environment &ACE_TRY_ENV
- )
- ACE_THROW_SPEC ((
- CORBA::SystemException
- ))
-{
- return this->ptr_->create_value_box (
- id,
- name,
- version,
- original_type_def,
- ACE_TRY_ENV
- );
-}
-
-template <class T> ACE_INLINE
-IR::ExceptionDef_ptr POA_IR::StructDef_tie<T>::create_exception (
- const char * id,
- const char * name,
- const char * version,
- const IR_StructMemberSeq & members,
- CORBA::Environment &ACE_TRY_ENV
- )
- ACE_THROW_SPEC ((
- CORBA::SystemException
- ))
-{
- return this->ptr_->create_exception (
- id,
- name,
- version,
- members,
- ACE_TRY_ENV
- );
-}
-
-template <class T> ACE_INLINE
-IR::NativeDef_ptr POA_IR::StructDef_tie<T>::create_native (
- const char * id,
- const char * name,
- const char * version,
- CORBA::Environment &ACE_TRY_ENV
- )
- ACE_THROW_SPEC ((
- CORBA::SystemException
- ))
-{
- return this->ptr_->create_native (
- id,
- name,
- version,
- ACE_TRY_ENV
- );
-}
-
-template <class T> ACE_INLINE
-char * POA_IR::StructDef_tie<T>::id (
- CORBA::Environment &ACE_TRY_ENV
- )
- ACE_THROW_SPEC ((
- CORBA::SystemException
- ))
-{
- return this->ptr_->id (
- ACE_TRY_ENV
- );
-}
-
-template <class T> ACE_INLINE
-void POA_IR::StructDef_tie<T>::id (
- const char * id,
- CORBA::Environment &ACE_TRY_ENV
- )
- ACE_THROW_SPEC ((
- CORBA::SystemException
- ))
-{
- this->ptr_->id (
- id,
- ACE_TRY_ENV
- );
-}
-
-template <class T> ACE_INLINE
-char * POA_IR::StructDef_tie<T>::name (
- CORBA::Environment &ACE_TRY_ENV
- )
- ACE_THROW_SPEC ((
- CORBA::SystemException
- ))
-{
- return this->ptr_->name (
- ACE_TRY_ENV
- );
-}
-
-template <class T> ACE_INLINE
-void POA_IR::StructDef_tie<T>::name (
- const char * name,
- CORBA::Environment &ACE_TRY_ENV
- )
- ACE_THROW_SPEC ((
- CORBA::SystemException
- ))
-{
- this->ptr_->name (
- name,
- ACE_TRY_ENV
- );
-}
-
-template <class T> ACE_INLINE
-char * POA_IR::StructDef_tie<T>::version (
- CORBA::Environment &ACE_TRY_ENV
- )
- ACE_THROW_SPEC ((
- CORBA::SystemException
- ))
-{
- return this->ptr_->version (
- ACE_TRY_ENV
- );
-}
-
-template <class T> ACE_INLINE
-void POA_IR::StructDef_tie<T>::version (
- const char * version,
- CORBA::Environment &ACE_TRY_ENV
- )
- ACE_THROW_SPEC ((
- CORBA::SystemException
- ))
-{
- this->ptr_->version (
- version,
- ACE_TRY_ENV
- );
-}
-
-template <class T> ACE_INLINE
-IR::Container_ptr POA_IR::StructDef_tie<T>::defined_in (
- CORBA::Environment &ACE_TRY_ENV
- )
- ACE_THROW_SPEC ((
- CORBA::SystemException
- ))
-{
- return this->ptr_->defined_in (
- ACE_TRY_ENV
- );
-}
-
-template <class T> ACE_INLINE
-char * POA_IR::StructDef_tie<T>::absolute_name (
- CORBA::Environment &ACE_TRY_ENV
- )
- ACE_THROW_SPEC ((
- CORBA::SystemException
- ))
-{
- return this->ptr_->absolute_name (
- ACE_TRY_ENV
- );
-}
-
-template <class T> ACE_INLINE
-IR::Repository_ptr POA_IR::StructDef_tie<T>::containing_repository (
- CORBA::Environment &ACE_TRY_ENV
- )
- ACE_THROW_SPEC ((
- CORBA::SystemException
- ))
-{
- return this->ptr_->containing_repository (
- ACE_TRY_ENV
- );
-}
-
-template <class T> ACE_INLINE
-IR::Contained::Description * POA_IR::StructDef_tie<T>::describe (
- CORBA::Environment &ACE_TRY_ENV
- )
- ACE_THROW_SPEC ((
- CORBA::SystemException
- ))
-{
- return this->ptr_->describe (
- ACE_TRY_ENV
- );
-}
-
-template <class T> ACE_INLINE
-void POA_IR::StructDef_tie<T>::move (
- IR_Container_ptr new_container,
- const char * new_name,
- const char * new_version,
- CORBA::Environment &ACE_TRY_ENV
- )
- ACE_THROW_SPEC ((
- CORBA::SystemException
- ))
-{
- this->ptr_->move (
- new_container,
- new_name,
- new_version,
- ACE_TRY_ENV
- );
-}
-
-template <class T> ACE_INLINE
-CORBA::TypeCode_ptr POA_IR::StructDef_tie<T>::type (
- CORBA::Environment &ACE_TRY_ENV
- )
- ACE_THROW_SPEC ((
- CORBA::SystemException
- ))
-{
- return this->ptr_->type (
- ACE_TRY_ENV
- );
-}
-
-template <class T> ACE_INLINE
-IR::DefinitionKind POA_IR::StructDef_tie<T>::def_kind (
- CORBA::Environment &ACE_TRY_ENV
- )
- ACE_THROW_SPEC ((
- CORBA::SystemException
- ))
-{
- return this->ptr_->def_kind (
- ACE_TRY_ENV
- );
-}
-
-template <class T> ACE_INLINE
-void POA_IR::StructDef_tie<T>::destroy (
- CORBA::Environment &ACE_TRY_ENV
- )
- ACE_THROW_SPEC ((
- CORBA::SystemException
- ))
-{
- this->ptr_->destroy (
- ACE_TRY_ENV
- );
-}
-
-#endif /* ACE_HAS_USING_KEYWORD */
-
-#if defined (ACE_HAS_USING_KEYWORD)
-template <class T> ACE_INLINE
-POA_IR::UnionDef_tie<T>::UnionDef_tie (T &t)
- : ptr_ (&t),
- poa_ (PortableServer::POA::_nil ()),
- rel_ (0)
-{}
-
-template <class T> ACE_INLINE
-POA_IR::UnionDef_tie<T>::UnionDef_tie (T &t, PortableServer::POA_ptr poa)
- : ptr_ (&t),
- poa_ (PortableServer::POA::_duplicate (poa)),
- rel_ (0)
-{}
-
-template <class T> ACE_INLINE
-POA_IR::UnionDef_tie<T>::UnionDef_tie (T *tp, CORBA::Boolean release)
- : ptr_ (tp),
- poa_ (PortableServer::POA::_nil ()),
- rel_ (release)
-{}
-
-template <class T> ACE_INLINE
-POA_IR::UnionDef_tie<T>::UnionDef_tie (T *tp, PortableServer::POA_ptr poa, CORBA::Boolean release)
- : ptr_ (tp),
- poa_ (PortableServer::POA::_duplicate (poa)),
- rel_ (release)
-{}
-
-template <class T> ACE_INLINE
-POA_IR::UnionDef_tie<T>::~UnionDef_tie (void)
-{
- if (this->rel_) delete this->ptr_;
-}
-
-template <class T> ACE_INLINE T *
-POA_IR::UnionDef_tie<T>::_tied_object (void)
-{
- return this->ptr_;
-}
-
-template <class T> ACE_INLINE void
-POA_IR::UnionDef_tie<T>::_tied_object (T &obj)
-{
- if (this->rel_) delete this->ptr_;
- this->ptr_ = &obj;
- this->rel_ = 0;
-}
-
-template <class T> ACE_INLINE void
-POA_IR::UnionDef_tie<T>::_tied_object (T *obj, CORBA::Boolean release)
-{
- if (this->rel_) delete this->ptr_;
- this->ptr_ = obj;
- this->rel_ = release;
-}
-
-template <class T> ACE_INLINE CORBA::Boolean
-POA_IR::UnionDef_tie<T>::_is_owner (void)
-{
- return this->rel_;
-}
-
-template <class T> ACE_INLINE void
-POA_IR::UnionDef_tie<T>::_is_owner (CORBA::Boolean b)
-{
- this->rel_ = b;
-}
-
-template <class T> ACE_INLINE PortableServer::POA_ptr
-POA_IR::UnionDef_tie<T>::_default_POA (CORBA::Environment &env)
-{
- if (!CORBA::is_nil (this->poa_.in ()))
- return PortableServer::POA::_duplicate (this->poa_.in ());
-
- return this->UnionDef::_default_POA (env);
-}
-
-template <class T> ACE_INLINE
-CORBA::TypeCode_ptr POA_IR::UnionDef_tie<T>::discriminator_type (
- CORBA::Environment &ACE_TRY_ENV
- )
- ACE_THROW_SPEC ((
- CORBA::SystemException
- ))
-{
- return this->ptr_->discriminator_type (
- ACE_TRY_ENV
- );
-}
-
-template <class T> ACE_INLINE
-IR::IDLType_ptr POA_IR::UnionDef_tie<T>::discriminator_type_def (
- CORBA::Environment &ACE_TRY_ENV
- )
- ACE_THROW_SPEC ((
- CORBA::SystemException
- ))
-{
- return this->ptr_->discriminator_type_def (
- ACE_TRY_ENV
- );
-}
-
-template <class T> ACE_INLINE
-void POA_IR::UnionDef_tie<T>::discriminator_type_def (
- IR_IDLType_ptr discriminator_type_def,
- CORBA::Environment &ACE_TRY_ENV
- )
- ACE_THROW_SPEC ((
- CORBA::SystemException
- ))
-{
- this->ptr_->discriminator_type_def (
- discriminator_type_def,
- ACE_TRY_ENV
- );
-}
-
-template <class T> ACE_INLINE
-IR::UnionMemberSeq * POA_IR::UnionDef_tie<T>::members (
- CORBA::Environment &ACE_TRY_ENV
- )
- ACE_THROW_SPEC ((
- CORBA::SystemException
- ))
-{
- return this->ptr_->members (
- ACE_TRY_ENV
- );
-}
-
-template <class T> ACE_INLINE
-void POA_IR::UnionDef_tie<T>::members (
- const IR_UnionMemberSeq & members,
- CORBA::Environment &ACE_TRY_ENV
- )
- ACE_THROW_SPEC ((
- CORBA::SystemException
- ))
-{
- this->ptr_->members (
- members,
- ACE_TRY_ENV
- );
-}
-
-template <class T> ACE_INLINE
-IR::Contained_ptr POA_IR::UnionDef_tie<T>::lookup (
- const char * search_name,
- CORBA::Environment &ACE_TRY_ENV
- )
- ACE_THROW_SPEC ((
- CORBA::SystemException
- ))
-{
- return this->ptr_->lookup (
- search_name,
- ACE_TRY_ENV
- );
-}
-
-template <class T> ACE_INLINE
-IR::ContainedSeq * POA_IR::UnionDef_tie<T>::contents (
- IR_DefinitionKind limit_type,
- CORBA::Boolean exclude_inherited,
- CORBA::Environment &ACE_TRY_ENV
- )
- ACE_THROW_SPEC ((
- CORBA::SystemException
- ))
-{
- return this->ptr_->contents (
- limit_type,
- exclude_inherited,
- ACE_TRY_ENV
- );
-}
-
-template <class T> ACE_INLINE
-IR::ContainedSeq * POA_IR::UnionDef_tie<T>::lookup_name (
- const char * search_name,
- CORBA::Long levels_to_search,
- IR_DefinitionKind limit_type,
- CORBA::Boolean exclude_inherited,
- CORBA::Environment &ACE_TRY_ENV
- )
- ACE_THROW_SPEC ((
- CORBA::SystemException
- ))
-{
- return this->ptr_->lookup_name (
- search_name,
- levels_to_search,
- limit_type,
- exclude_inherited,
- ACE_TRY_ENV
- );
-}
-
-template <class T> ACE_INLINE
-IR::Container::DescriptionSeq * POA_IR::UnionDef_tie<T>::describe_contents (
- IR_DefinitionKind limit_type,
- CORBA::Boolean exclude_inherited,
- CORBA::Long max_returned_objs,
- CORBA::Environment &ACE_TRY_ENV
- )
- ACE_THROW_SPEC ((
- CORBA::SystemException
- ))
-{
- return this->ptr_->describe_contents (
- limit_type,
- exclude_inherited,
- max_returned_objs,
- ACE_TRY_ENV
- );
-}
-
-template <class T> ACE_INLINE
-IR::ModuleDef_ptr POA_IR::UnionDef_tie<T>::create_module (
- const char * id,
- const char * name,
- const char * version,
- CORBA::Environment &ACE_TRY_ENV
- )
- ACE_THROW_SPEC ((
- CORBA::SystemException
- ))
-{
- return this->ptr_->create_module (
- id,
- name,
- version,
- ACE_TRY_ENV
- );
-}
-
-template <class T> ACE_INLINE
-IR::ConstantDef_ptr POA_IR::UnionDef_tie<T>::create_constant (
- const char * id,
- const char * name,
- const char * version,
- IR_IDLType_ptr type,
- const CORBA::Any & value,
- CORBA::Environment &ACE_TRY_ENV
- )
- ACE_THROW_SPEC ((
- CORBA::SystemException
- ))
-{
- return this->ptr_->create_constant (
- id,
- name,
- version,
- type,
- value,
- ACE_TRY_ENV
- );
-}
-
-template <class T> ACE_INLINE
-IR::StructDef_ptr POA_IR::UnionDef_tie<T>::create_struct (
- const char * id,
- const char * name,
- const char * version,
- const IR_StructMemberSeq & members,
- CORBA::Environment &ACE_TRY_ENV
- )
- ACE_THROW_SPEC ((
- CORBA::SystemException
- ))
-{
- return this->ptr_->create_struct (
- id,
- name,
- version,
- members,
- ACE_TRY_ENV
- );
-}
-
-template <class T> ACE_INLINE
-IR::UnionDef_ptr POA_IR::UnionDef_tie<T>::create_union (
- const char * id,
- const char * name,
- const char * version,
- IR_IDLType_ptr discriminator_type,
- const IR_UnionMemberSeq & members,
- CORBA::Environment &ACE_TRY_ENV
- )
- ACE_THROW_SPEC ((
- CORBA::SystemException
- ))
-{
- return this->ptr_->create_union (
- id,
- name,
- version,
- discriminator_type,
- members,
- ACE_TRY_ENV
- );
-}
-
-template <class T> ACE_INLINE
-IR::EnumDef_ptr POA_IR::UnionDef_tie<T>::create_enum (
- const char * id,
- const char * name,
- const char * version,
- const IR_EnumMemberSeq & members,
- CORBA::Environment &ACE_TRY_ENV
- )
- ACE_THROW_SPEC ((
- CORBA::SystemException
- ))
-{
- return this->ptr_->create_enum (
- id,
- name,
- version,
- members,
- ACE_TRY_ENV
- );
-}
-
-template <class T> ACE_INLINE
-IR::AliasDef_ptr POA_IR::UnionDef_tie<T>::create_alias (
- const char * id,
- const char * name,
- const char * version,
- IR_IDLType_ptr original_type,
- CORBA::Environment &ACE_TRY_ENV
- )
- ACE_THROW_SPEC ((
- CORBA::SystemException
- ))
-{
- return this->ptr_->create_alias (
- id,
- name,
- version,
- original_type,
- ACE_TRY_ENV
- );
-}
-
-template <class T> ACE_INLINE
-IR::InterfaceDef_ptr POA_IR::UnionDef_tie<T>::create_interface (
- const char * id,
- const char * name,
- const char * version,
- const IR_InterfaceDefSeq & base_interfaces,
- CORBA::Boolean is_abstract,
- CORBA::Boolean is_local,
- CORBA::Environment &ACE_TRY_ENV
- )
- ACE_THROW_SPEC ((
- CORBA::SystemException
- ))
-{
- return this->ptr_->create_interface (
- id,
- name,
- version,
- base_interfaces,
- is_abstract,
- is_local,
- ACE_TRY_ENV
- );
-}
-
-template <class T> ACE_INLINE
-IR::ValueDef_ptr POA_IR::UnionDef_tie<T>::create_value (
- const char * id,
- const char * name,
- const char * version,
- CORBA::Boolean is_custom,
- CORBA::Boolean is_abstract,
- IR_ValueDef_ptr base_value,
- CORBA::Boolean is_truncatable,
- const IR_ValueDefSeq & abstract_base_values,
- const IR_InterfaceDefSeq & supported_interfaces,
- const IR_InitializerSeq & initializers,
- CORBA::Environment &ACE_TRY_ENV
- )
- ACE_THROW_SPEC ((
- CORBA::SystemException
- ))
-{
- return this->ptr_->create_value (
- id,
- name,
- version,
- is_custom,
- is_abstract,
- base_value,
- is_truncatable,
- abstract_base_values,
- supported_interfaces,
- initializers,
- ACE_TRY_ENV
- );
-}
-
-template <class T> ACE_INLINE
-IR::ValueBoxDef_ptr POA_IR::UnionDef_tie<T>::create_value_box (
- const char * id,
- const char * name,
- const char * version,
- IR_IDLType_ptr original_type_def,
- CORBA::Environment &ACE_TRY_ENV
- )
- ACE_THROW_SPEC ((
- CORBA::SystemException
- ))
-{
- return this->ptr_->create_value_box (
- id,
- name,
- version,
- original_type_def,
- ACE_TRY_ENV
- );
-}
-
-template <class T> ACE_INLINE
-IR::ExceptionDef_ptr POA_IR::UnionDef_tie<T>::create_exception (
- const char * id,
- const char * name,
- const char * version,
- const IR_StructMemberSeq & members,
- CORBA::Environment &ACE_TRY_ENV
- )
- ACE_THROW_SPEC ((
- CORBA::SystemException
- ))
-{
- return this->ptr_->create_exception (
- id,
- name,
- version,
- members,
- ACE_TRY_ENV
- );
-}
-
-template <class T> ACE_INLINE
-IR::NativeDef_ptr POA_IR::UnionDef_tie<T>::create_native (
- const char * id,
- const char * name,
- const char * version,
- CORBA::Environment &ACE_TRY_ENV
- )
- ACE_THROW_SPEC ((
- CORBA::SystemException
- ))
-{
- return this->ptr_->create_native (
- id,
- name,
- version,
- ACE_TRY_ENV
- );
-}
-
-template <class T> ACE_INLINE
-char * POA_IR::UnionDef_tie<T>::id (
- CORBA::Environment &ACE_TRY_ENV
- )
- ACE_THROW_SPEC ((
- CORBA::SystemException
- ))
-{
- return this->ptr_->id (
- ACE_TRY_ENV
- );
-}
-
-template <class T> ACE_INLINE
-void POA_IR::UnionDef_tie<T>::id (
- const char * id,
- CORBA::Environment &ACE_TRY_ENV
- )
- ACE_THROW_SPEC ((
- CORBA::SystemException
- ))
-{
- this->ptr_->id (
- id,
- ACE_TRY_ENV
- );
-}
-
-template <class T> ACE_INLINE
-char * POA_IR::UnionDef_tie<T>::name (
- CORBA::Environment &ACE_TRY_ENV
- )
- ACE_THROW_SPEC ((
- CORBA::SystemException
- ))
-{
- return this->ptr_->name (
- ACE_TRY_ENV
- );
-}
-
-template <class T> ACE_INLINE
-void POA_IR::UnionDef_tie<T>::name (
- const char * name,
- CORBA::Environment &ACE_TRY_ENV
- )
- ACE_THROW_SPEC ((
- CORBA::SystemException
- ))
-{
- this->ptr_->name (
- name,
- ACE_TRY_ENV
- );
-}
-
-template <class T> ACE_INLINE
-char * POA_IR::UnionDef_tie<T>::version (
- CORBA::Environment &ACE_TRY_ENV
- )
- ACE_THROW_SPEC ((
- CORBA::SystemException
- ))
-{
- return this->ptr_->version (
- ACE_TRY_ENV
- );
-}
-
-template <class T> ACE_INLINE
-void POA_IR::UnionDef_tie<T>::version (
- const char * version,
- CORBA::Environment &ACE_TRY_ENV
- )
- ACE_THROW_SPEC ((
- CORBA::SystemException
- ))
-{
- this->ptr_->version (
- version,
- ACE_TRY_ENV
- );
-}
-
-template <class T> ACE_INLINE
-IR::Container_ptr POA_IR::UnionDef_tie<T>::defined_in (
- CORBA::Environment &ACE_TRY_ENV
- )
- ACE_THROW_SPEC ((
- CORBA::SystemException
- ))
-{
- return this->ptr_->defined_in (
- ACE_TRY_ENV
- );
-}
-
-template <class T> ACE_INLINE
-char * POA_IR::UnionDef_tie<T>::absolute_name (
- CORBA::Environment &ACE_TRY_ENV
- )
- ACE_THROW_SPEC ((
- CORBA::SystemException
- ))
-{
- return this->ptr_->absolute_name (
- ACE_TRY_ENV
- );
-}
-
-template <class T> ACE_INLINE
-IR::Repository_ptr POA_IR::UnionDef_tie<T>::containing_repository (
- CORBA::Environment &ACE_TRY_ENV
- )
- ACE_THROW_SPEC ((
- CORBA::SystemException
- ))
-{
- return this->ptr_->containing_repository (
- ACE_TRY_ENV
- );
-}
-
-template <class T> ACE_INLINE
-IR::Contained::Description * POA_IR::UnionDef_tie<T>::describe (
- CORBA::Environment &ACE_TRY_ENV
- )
- ACE_THROW_SPEC ((
- CORBA::SystemException
- ))
-{
- return this->ptr_->describe (
- ACE_TRY_ENV
- );
-}
-
-template <class T> ACE_INLINE
-void POA_IR::UnionDef_tie<T>::move (
- IR_Container_ptr new_container,
- const char * new_name,
- const char * new_version,
- CORBA::Environment &ACE_TRY_ENV
- )
- ACE_THROW_SPEC ((
- CORBA::SystemException
- ))
-{
- this->ptr_->move (
- new_container,
- new_name,
- new_version,
- ACE_TRY_ENV
- );
-}
-
-template <class T> ACE_INLINE
-CORBA::TypeCode_ptr POA_IR::UnionDef_tie<T>::type (
- CORBA::Environment &ACE_TRY_ENV
- )
- ACE_THROW_SPEC ((
- CORBA::SystemException
- ))
-{
- return this->ptr_->type (
- ACE_TRY_ENV
- );
-}
-
-template <class T> ACE_INLINE
-IR::DefinitionKind POA_IR::UnionDef_tie<T>::def_kind (
- CORBA::Environment &ACE_TRY_ENV
- )
- ACE_THROW_SPEC ((
- CORBA::SystemException
- ))
-{
- return this->ptr_->def_kind (
- ACE_TRY_ENV
- );
-}
-
-template <class T> ACE_INLINE
-void POA_IR::UnionDef_tie<T>::destroy (
- CORBA::Environment &ACE_TRY_ENV
- )
- ACE_THROW_SPEC ((
- CORBA::SystemException
- ))
-{
- this->ptr_->destroy (
- ACE_TRY_ENV
- );
-}
-
-#endif /* ACE_HAS_USING_KEYWORD */
-
-#if defined (ACE_HAS_USING_KEYWORD)
-template <class T> ACE_INLINE
-POA_IR::EnumDef_tie<T>::EnumDef_tie (T &t)
- : ptr_ (&t),
- poa_ (PortableServer::POA::_nil ()),
- rel_ (0)
-{}
-
-template <class T> ACE_INLINE
-POA_IR::EnumDef_tie<T>::EnumDef_tie (T &t, PortableServer::POA_ptr poa)
- : ptr_ (&t),
- poa_ (PortableServer::POA::_duplicate (poa)),
- rel_ (0)
-{}
-
-template <class T> ACE_INLINE
-POA_IR::EnumDef_tie<T>::EnumDef_tie (T *tp, CORBA::Boolean release)
- : ptr_ (tp),
- poa_ (PortableServer::POA::_nil ()),
- rel_ (release)
-{}
-
-template <class T> ACE_INLINE
-POA_IR::EnumDef_tie<T>::EnumDef_tie (T *tp, PortableServer::POA_ptr poa, CORBA::Boolean release)
- : ptr_ (tp),
- poa_ (PortableServer::POA::_duplicate (poa)),
- rel_ (release)
-{}
-
-template <class T> ACE_INLINE
-POA_IR::EnumDef_tie<T>::~EnumDef_tie (void)
-{
- if (this->rel_) delete this->ptr_;
-}
-
-template <class T> ACE_INLINE T *
-POA_IR::EnumDef_tie<T>::_tied_object (void)
-{
- return this->ptr_;
-}
-
-template <class T> ACE_INLINE void
-POA_IR::EnumDef_tie<T>::_tied_object (T &obj)
-{
- if (this->rel_) delete this->ptr_;
- this->ptr_ = &obj;
- this->rel_ = 0;
-}
-
-template <class T> ACE_INLINE void
-POA_IR::EnumDef_tie<T>::_tied_object (T *obj, CORBA::Boolean release)
-{
- if (this->rel_) delete this->ptr_;
- this->ptr_ = obj;
- this->rel_ = release;
-}
-
-template <class T> ACE_INLINE CORBA::Boolean
-POA_IR::EnumDef_tie<T>::_is_owner (void)
-{
- return this->rel_;
-}
-
-template <class T> ACE_INLINE void
-POA_IR::EnumDef_tie<T>::_is_owner (CORBA::Boolean b)
-{
- this->rel_ = b;
-}
-
-template <class T> ACE_INLINE PortableServer::POA_ptr
-POA_IR::EnumDef_tie<T>::_default_POA (CORBA::Environment &env)
-{
- if (!CORBA::is_nil (this->poa_.in ()))
- return PortableServer::POA::_duplicate (this->poa_.in ());
-
- return this->EnumDef::_default_POA (env);
-}
-
-template <class T> ACE_INLINE
-IR::EnumMemberSeq * POA_IR::EnumDef_tie<T>::members (
- CORBA::Environment &ACE_TRY_ENV
- )
- ACE_THROW_SPEC ((
- CORBA::SystemException
- ))
-{
- return this->ptr_->members (
- ACE_TRY_ENV
- );
-}
-
-template <class T> ACE_INLINE
-void POA_IR::EnumDef_tie<T>::members (
- const IR_EnumMemberSeq & members,
- CORBA::Environment &ACE_TRY_ENV
- )
- ACE_THROW_SPEC ((
- CORBA::SystemException
- ))
-{
- this->ptr_->members (
- members,
- ACE_TRY_ENV
- );
-}
-
-template <class T> ACE_INLINE
-char * POA_IR::EnumDef_tie<T>::id (
- CORBA::Environment &ACE_TRY_ENV
- )
- ACE_THROW_SPEC ((
- CORBA::SystemException
- ))
-{
- return this->ptr_->id (
- ACE_TRY_ENV
- );
-}
-
-template <class T> ACE_INLINE
-void POA_IR::EnumDef_tie<T>::id (
- const char * id,
- CORBA::Environment &ACE_TRY_ENV
- )
- ACE_THROW_SPEC ((
- CORBA::SystemException
- ))
-{
- this->ptr_->id (
- id,
- ACE_TRY_ENV
- );
-}
-
-template <class T> ACE_INLINE
-char * POA_IR::EnumDef_tie<T>::name (
- CORBA::Environment &ACE_TRY_ENV
- )
- ACE_THROW_SPEC ((
- CORBA::SystemException
- ))
-{
- return this->ptr_->name (
- ACE_TRY_ENV
- );
-}
-
-template <class T> ACE_INLINE
-void POA_IR::EnumDef_tie<T>::name (
- const char * name,
- CORBA::Environment &ACE_TRY_ENV
- )
- ACE_THROW_SPEC ((
- CORBA::SystemException
- ))
-{
- this->ptr_->name (
- name,
- ACE_TRY_ENV
- );
-}
-
-template <class T> ACE_INLINE
-char * POA_IR::EnumDef_tie<T>::version (
- CORBA::Environment &ACE_TRY_ENV
- )
- ACE_THROW_SPEC ((
- CORBA::SystemException
- ))
-{
- return this->ptr_->version (
- ACE_TRY_ENV
- );
-}
-
-template <class T> ACE_INLINE
-void POA_IR::EnumDef_tie<T>::version (
- const char * version,
- CORBA::Environment &ACE_TRY_ENV
- )
- ACE_THROW_SPEC ((
- CORBA::SystemException
- ))
-{
- this->ptr_->version (
- version,
- ACE_TRY_ENV
- );
-}
-
-template <class T> ACE_INLINE
-IR::Container_ptr POA_IR::EnumDef_tie<T>::defined_in (
- CORBA::Environment &ACE_TRY_ENV
- )
- ACE_THROW_SPEC ((
- CORBA::SystemException
- ))
-{
- return this->ptr_->defined_in (
- ACE_TRY_ENV
- );
-}
-
-template <class T> ACE_INLINE
-char * POA_IR::EnumDef_tie<T>::absolute_name (
- CORBA::Environment &ACE_TRY_ENV
- )
- ACE_THROW_SPEC ((
- CORBA::SystemException
- ))
-{
- return this->ptr_->absolute_name (
- ACE_TRY_ENV
- );
-}
-
-template <class T> ACE_INLINE
-IR::Repository_ptr POA_IR::EnumDef_tie<T>::containing_repository (
- CORBA::Environment &ACE_TRY_ENV
- )
- ACE_THROW_SPEC ((
- CORBA::SystemException
- ))
-{
- return this->ptr_->containing_repository (
- ACE_TRY_ENV
- );
-}
-
-template <class T> ACE_INLINE
-IR::Contained::Description * POA_IR::EnumDef_tie<T>::describe (
- CORBA::Environment &ACE_TRY_ENV
- )
- ACE_THROW_SPEC ((
- CORBA::SystemException
- ))
-{
- return this->ptr_->describe (
- ACE_TRY_ENV
- );
-}
-
-template <class T> ACE_INLINE
-void POA_IR::EnumDef_tie<T>::move (
- IR_Container_ptr new_container,
- const char * new_name,
- const char * new_version,
- CORBA::Environment &ACE_TRY_ENV
- )
- ACE_THROW_SPEC ((
- CORBA::SystemException
- ))
-{
- this->ptr_->move (
- new_container,
- new_name,
- new_version,
- ACE_TRY_ENV
- );
-}
-
-template <class T> ACE_INLINE
-CORBA::TypeCode_ptr POA_IR::EnumDef_tie<T>::type (
- CORBA::Environment &ACE_TRY_ENV
- )
- ACE_THROW_SPEC ((
- CORBA::SystemException
- ))
-{
- return this->ptr_->type (
- ACE_TRY_ENV
- );
-}
-
-template <class T> ACE_INLINE
-IR::DefinitionKind POA_IR::EnumDef_tie<T>::def_kind (
- CORBA::Environment &ACE_TRY_ENV
- )
- ACE_THROW_SPEC ((
- CORBA::SystemException
- ))
-{
- return this->ptr_->def_kind (
- ACE_TRY_ENV
- );
-}
-
-template <class T> ACE_INLINE
-void POA_IR::EnumDef_tie<T>::destroy (
- CORBA::Environment &ACE_TRY_ENV
- )
- ACE_THROW_SPEC ((
- CORBA::SystemException
- ))
-{
- this->ptr_->destroy (
- ACE_TRY_ENV
- );
-}
-
-#endif /* ACE_HAS_USING_KEYWORD */
-
-#if defined (ACE_HAS_USING_KEYWORD)
-template <class T> ACE_INLINE
-POA_IR::AliasDef_tie<T>::AliasDef_tie (T &t)
- : ptr_ (&t),
- poa_ (PortableServer::POA::_nil ()),
- rel_ (0)
-{}
-
-template <class T> ACE_INLINE
-POA_IR::AliasDef_tie<T>::AliasDef_tie (T &t, PortableServer::POA_ptr poa)
- : ptr_ (&t),
- poa_ (PortableServer::POA::_duplicate (poa)),
- rel_ (0)
-{}
-
-template <class T> ACE_INLINE
-POA_IR::AliasDef_tie<T>::AliasDef_tie (T *tp, CORBA::Boolean release)
- : ptr_ (tp),
- poa_ (PortableServer::POA::_nil ()),
- rel_ (release)
-{}
-
-template <class T> ACE_INLINE
-POA_IR::AliasDef_tie<T>::AliasDef_tie (T *tp, PortableServer::POA_ptr poa, CORBA::Boolean release)
- : ptr_ (tp),
- poa_ (PortableServer::POA::_duplicate (poa)),
- rel_ (release)
-{}
-
-template <class T> ACE_INLINE
-POA_IR::AliasDef_tie<T>::~AliasDef_tie (void)
-{
- if (this->rel_) delete this->ptr_;
-}
-
-template <class T> ACE_INLINE T *
-POA_IR::AliasDef_tie<T>::_tied_object (void)
-{
- return this->ptr_;
-}
-
-template <class T> ACE_INLINE void
-POA_IR::AliasDef_tie<T>::_tied_object (T &obj)
-{
- if (this->rel_) delete this->ptr_;
- this->ptr_ = &obj;
- this->rel_ = 0;
-}
-
-template <class T> ACE_INLINE void
-POA_IR::AliasDef_tie<T>::_tied_object (T *obj, CORBA::Boolean release)
-{
- if (this->rel_) delete this->ptr_;
- this->ptr_ = obj;
- this->rel_ = release;
-}
-
-template <class T> ACE_INLINE CORBA::Boolean
-POA_IR::AliasDef_tie<T>::_is_owner (void)
-{
- return this->rel_;
-}
-
-template <class T> ACE_INLINE void
-POA_IR::AliasDef_tie<T>::_is_owner (CORBA::Boolean b)
-{
- this->rel_ = b;
-}
-
-template <class T> ACE_INLINE PortableServer::POA_ptr
-POA_IR::AliasDef_tie<T>::_default_POA (CORBA::Environment &env)
-{
- if (!CORBA::is_nil (this->poa_.in ()))
- return PortableServer::POA::_duplicate (this->poa_.in ());
-
- return this->AliasDef::_default_POA (env);
-}
-
-template <class T> ACE_INLINE
-IR::IDLType_ptr POA_IR::AliasDef_tie<T>::original_type_def (
- CORBA::Environment &ACE_TRY_ENV
- )
- ACE_THROW_SPEC ((
- CORBA::SystemException
- ))
-{
- return this->ptr_->original_type_def (
- ACE_TRY_ENV
- );
-}
-
-template <class T> ACE_INLINE
-void POA_IR::AliasDef_tie<T>::original_type_def (
- IR_IDLType_ptr original_type_def,
- CORBA::Environment &ACE_TRY_ENV
- )
- ACE_THROW_SPEC ((
- CORBA::SystemException
- ))
-{
- this->ptr_->original_type_def (
- original_type_def,
- ACE_TRY_ENV
- );
-}
-
-template <class T> ACE_INLINE
-char * POA_IR::AliasDef_tie<T>::id (
- CORBA::Environment &ACE_TRY_ENV
- )
- ACE_THROW_SPEC ((
- CORBA::SystemException
- ))
-{
- return this->ptr_->id (
- ACE_TRY_ENV
- );
-}
-
-template <class T> ACE_INLINE
-void POA_IR::AliasDef_tie<T>::id (
- const char * id,
- CORBA::Environment &ACE_TRY_ENV
- )
- ACE_THROW_SPEC ((
- CORBA::SystemException
- ))
-{
- this->ptr_->id (
- id,
- ACE_TRY_ENV
- );
-}
-
-template <class T> ACE_INLINE
-char * POA_IR::AliasDef_tie<T>::name (
- CORBA::Environment &ACE_TRY_ENV
- )
- ACE_THROW_SPEC ((
- CORBA::SystemException
- ))
-{
- return this->ptr_->name (
- ACE_TRY_ENV
- );
-}
-
-template <class T> ACE_INLINE
-void POA_IR::AliasDef_tie<T>::name (
- const char * name,
- CORBA::Environment &ACE_TRY_ENV
- )
- ACE_THROW_SPEC ((
- CORBA::SystemException
- ))
-{
- this->ptr_->name (
- name,
- ACE_TRY_ENV
- );
-}
-
-template <class T> ACE_INLINE
-char * POA_IR::AliasDef_tie<T>::version (
- CORBA::Environment &ACE_TRY_ENV
- )
- ACE_THROW_SPEC ((
- CORBA::SystemException
- ))
-{
- return this->ptr_->version (
- ACE_TRY_ENV
- );
-}
-
-template <class T> ACE_INLINE
-void POA_IR::AliasDef_tie<T>::version (
- const char * version,
- CORBA::Environment &ACE_TRY_ENV
- )
- ACE_THROW_SPEC ((
- CORBA::SystemException
- ))
-{
- this->ptr_->version (
- version,
- ACE_TRY_ENV
- );
-}
-
-template <class T> ACE_INLINE
-IR::Container_ptr POA_IR::AliasDef_tie<T>::defined_in (
- CORBA::Environment &ACE_TRY_ENV
- )
- ACE_THROW_SPEC ((
- CORBA::SystemException
- ))
-{
- return this->ptr_->defined_in (
- ACE_TRY_ENV
- );
-}
-
-template <class T> ACE_INLINE
-char * POA_IR::AliasDef_tie<T>::absolute_name (
- CORBA::Environment &ACE_TRY_ENV
- )
- ACE_THROW_SPEC ((
- CORBA::SystemException
- ))
-{
- return this->ptr_->absolute_name (
- ACE_TRY_ENV
- );
-}
-
-template <class T> ACE_INLINE
-IR::Repository_ptr POA_IR::AliasDef_tie<T>::containing_repository (
- CORBA::Environment &ACE_TRY_ENV
- )
- ACE_THROW_SPEC ((
- CORBA::SystemException
- ))
-{
- return this->ptr_->containing_repository (
- ACE_TRY_ENV
- );
-}
-
-template <class T> ACE_INLINE
-IR::Contained::Description * POA_IR::AliasDef_tie<T>::describe (
- CORBA::Environment &ACE_TRY_ENV
- )
- ACE_THROW_SPEC ((
- CORBA::SystemException
- ))
-{
- return this->ptr_->describe (
- ACE_TRY_ENV
- );
-}
-
-template <class T> ACE_INLINE
-void POA_IR::AliasDef_tie<T>::move (
- IR_Container_ptr new_container,
- const char * new_name,
- const char * new_version,
- CORBA::Environment &ACE_TRY_ENV
- )
- ACE_THROW_SPEC ((
- CORBA::SystemException
- ))
-{
- this->ptr_->move (
- new_container,
- new_name,
- new_version,
- ACE_TRY_ENV
- );
-}
-
-template <class T> ACE_INLINE
-CORBA::TypeCode_ptr POA_IR::AliasDef_tie<T>::type (
- CORBA::Environment &ACE_TRY_ENV
- )
- ACE_THROW_SPEC ((
- CORBA::SystemException
- ))
-{
- return this->ptr_->type (
- ACE_TRY_ENV
- );
-}
-
-template <class T> ACE_INLINE
-IR::DefinitionKind POA_IR::AliasDef_tie<T>::def_kind (
- CORBA::Environment &ACE_TRY_ENV
- )
- ACE_THROW_SPEC ((
- CORBA::SystemException
- ))
-{
- return this->ptr_->def_kind (
- ACE_TRY_ENV
- );
-}
-
-template <class T> ACE_INLINE
-void POA_IR::AliasDef_tie<T>::destroy (
- CORBA::Environment &ACE_TRY_ENV
- )
- ACE_THROW_SPEC ((
- CORBA::SystemException
- ))
-{
- this->ptr_->destroy (
- ACE_TRY_ENV
- );
-}
-
-#endif /* ACE_HAS_USING_KEYWORD */
-
-#if defined (ACE_HAS_USING_KEYWORD)
-template <class T> ACE_INLINE
-POA_IR::NativeDef_tie<T>::NativeDef_tie (T &t)
- : ptr_ (&t),
- poa_ (PortableServer::POA::_nil ()),
- rel_ (0)
-{}
-
-template <class T> ACE_INLINE
-POA_IR::NativeDef_tie<T>::NativeDef_tie (T &t, PortableServer::POA_ptr poa)
- : ptr_ (&t),
- poa_ (PortableServer::POA::_duplicate (poa)),
- rel_ (0)
-{}
-
-template <class T> ACE_INLINE
-POA_IR::NativeDef_tie<T>::NativeDef_tie (T *tp, CORBA::Boolean release)
- : ptr_ (tp),
- poa_ (PortableServer::POA::_nil ()),
- rel_ (release)
-{}
-
-template <class T> ACE_INLINE
-POA_IR::NativeDef_tie<T>::NativeDef_tie (T *tp, PortableServer::POA_ptr poa, CORBA::Boolean release)
- : ptr_ (tp),
- poa_ (PortableServer::POA::_duplicate (poa)),
- rel_ (release)
-{}
-
-template <class T> ACE_INLINE
-POA_IR::NativeDef_tie<T>::~NativeDef_tie (void)
-{
- if (this->rel_) delete this->ptr_;
-}
-
-template <class T> ACE_INLINE T *
-POA_IR::NativeDef_tie<T>::_tied_object (void)
-{
- return this->ptr_;
-}
-
-template <class T> ACE_INLINE void
-POA_IR::NativeDef_tie<T>::_tied_object (T &obj)
-{
- if (this->rel_) delete this->ptr_;
- this->ptr_ = &obj;
- this->rel_ = 0;
-}
-
-template <class T> ACE_INLINE void
-POA_IR::NativeDef_tie<T>::_tied_object (T *obj, CORBA::Boolean release)
-{
- if (this->rel_) delete this->ptr_;
- this->ptr_ = obj;
- this->rel_ = release;
-}
-
-template <class T> ACE_INLINE CORBA::Boolean
-POA_IR::NativeDef_tie<T>::_is_owner (void)
-{
- return this->rel_;
-}
-
-template <class T> ACE_INLINE void
-POA_IR::NativeDef_tie<T>::_is_owner (CORBA::Boolean b)
-{
- this->rel_ = b;
-}
-
-template <class T> ACE_INLINE PortableServer::POA_ptr
-POA_IR::NativeDef_tie<T>::_default_POA (CORBA::Environment &env)
-{
- if (!CORBA::is_nil (this->poa_.in ()))
- return PortableServer::POA::_duplicate (this->poa_.in ());
-
- return this->NativeDef::_default_POA (env);
-}
-
-template <class T> ACE_INLINE
-char * POA_IR::NativeDef_tie<T>::id (
- CORBA::Environment &ACE_TRY_ENV
- )
- ACE_THROW_SPEC ((
- CORBA::SystemException
- ))
-{
- return this->ptr_->id (
- ACE_TRY_ENV
- );
-}
-
-template <class T> ACE_INLINE
-void POA_IR::NativeDef_tie<T>::id (
- const char * id,
- CORBA::Environment &ACE_TRY_ENV
- )
- ACE_THROW_SPEC ((
- CORBA::SystemException
- ))
-{
- this->ptr_->id (
- id,
- ACE_TRY_ENV
- );
-}
-
-template <class T> ACE_INLINE
-char * POA_IR::NativeDef_tie<T>::name (
- CORBA::Environment &ACE_TRY_ENV
- )
- ACE_THROW_SPEC ((
- CORBA::SystemException
- ))
-{
- return this->ptr_->name (
- ACE_TRY_ENV
- );
-}
-
-template <class T> ACE_INLINE
-void POA_IR::NativeDef_tie<T>::name (
- const char * name,
- CORBA::Environment &ACE_TRY_ENV
- )
- ACE_THROW_SPEC ((
- CORBA::SystemException
- ))
-{
- this->ptr_->name (
- name,
- ACE_TRY_ENV
- );
-}
-
-template <class T> ACE_INLINE
-char * POA_IR::NativeDef_tie<T>::version (
- CORBA::Environment &ACE_TRY_ENV
- )
- ACE_THROW_SPEC ((
- CORBA::SystemException
- ))
-{
- return this->ptr_->version (
- ACE_TRY_ENV
- );
-}
-
-template <class T> ACE_INLINE
-void POA_IR::NativeDef_tie<T>::version (
- const char * version,
- CORBA::Environment &ACE_TRY_ENV
- )
- ACE_THROW_SPEC ((
- CORBA::SystemException
- ))
-{
- this->ptr_->version (
- version,
- ACE_TRY_ENV
- );
-}
-
-template <class T> ACE_INLINE
-IR::Container_ptr POA_IR::NativeDef_tie<T>::defined_in (
- CORBA::Environment &ACE_TRY_ENV
- )
- ACE_THROW_SPEC ((
- CORBA::SystemException
- ))
-{
- return this->ptr_->defined_in (
- ACE_TRY_ENV
- );
-}
-
-template <class T> ACE_INLINE
-char * POA_IR::NativeDef_tie<T>::absolute_name (
- CORBA::Environment &ACE_TRY_ENV
- )
- ACE_THROW_SPEC ((
- CORBA::SystemException
- ))
-{
- return this->ptr_->absolute_name (
- ACE_TRY_ENV
- );
-}
-
-template <class T> ACE_INLINE
-IR::Repository_ptr POA_IR::NativeDef_tie<T>::containing_repository (
- CORBA::Environment &ACE_TRY_ENV
- )
- ACE_THROW_SPEC ((
- CORBA::SystemException
- ))
-{
- return this->ptr_->containing_repository (
- ACE_TRY_ENV
- );
-}
-
-template <class T> ACE_INLINE
-IR::Contained::Description * POA_IR::NativeDef_tie<T>::describe (
- CORBA::Environment &ACE_TRY_ENV
- )
- ACE_THROW_SPEC ((
- CORBA::SystemException
- ))
-{
- return this->ptr_->describe (
- ACE_TRY_ENV
- );
-}
-
-template <class T> ACE_INLINE
-void POA_IR::NativeDef_tie<T>::move (
- IR_Container_ptr new_container,
- const char * new_name,
- const char * new_version,
- CORBA::Environment &ACE_TRY_ENV
- )
- ACE_THROW_SPEC ((
- CORBA::SystemException
- ))
-{
- this->ptr_->move (
- new_container,
- new_name,
- new_version,
- ACE_TRY_ENV
- );
-}
-
-template <class T> ACE_INLINE
-CORBA::TypeCode_ptr POA_IR::NativeDef_tie<T>::type (
- CORBA::Environment &ACE_TRY_ENV
- )
- ACE_THROW_SPEC ((
- CORBA::SystemException
- ))
-{
- return this->ptr_->type (
- ACE_TRY_ENV
- );
-}
-
-template <class T> ACE_INLINE
-IR::DefinitionKind POA_IR::NativeDef_tie<T>::def_kind (
- CORBA::Environment &ACE_TRY_ENV
- )
- ACE_THROW_SPEC ((
- CORBA::SystemException
- ))
-{
- return this->ptr_->def_kind (
- ACE_TRY_ENV
- );
-}
-
-template <class T> ACE_INLINE
-void POA_IR::NativeDef_tie<T>::destroy (
- CORBA::Environment &ACE_TRY_ENV
- )
- ACE_THROW_SPEC ((
- CORBA::SystemException
- ))
-{
- this->ptr_->destroy (
- ACE_TRY_ENV
- );
-}
-
-#endif /* ACE_HAS_USING_KEYWORD */
-
-#if defined (ACE_HAS_USING_KEYWORD)
-template <class T> ACE_INLINE
-POA_IR::PrimitiveDef_tie<T>::PrimitiveDef_tie (T &t)
- : ptr_ (&t),
- poa_ (PortableServer::POA::_nil ()),
- rel_ (0)
-{}
-
-template <class T> ACE_INLINE
-POA_IR::PrimitiveDef_tie<T>::PrimitiveDef_tie (T &t, PortableServer::POA_ptr poa)
- : ptr_ (&t),
- poa_ (PortableServer::POA::_duplicate (poa)),
- rel_ (0)
-{}
-
-template <class T> ACE_INLINE
-POA_IR::PrimitiveDef_tie<T>::PrimitiveDef_tie (T *tp, CORBA::Boolean release)
- : ptr_ (tp),
- poa_ (PortableServer::POA::_nil ()),
- rel_ (release)
-{}
-
-template <class T> ACE_INLINE
-POA_IR::PrimitiveDef_tie<T>::PrimitiveDef_tie (T *tp, PortableServer::POA_ptr poa, CORBA::Boolean release)
- : ptr_ (tp),
- poa_ (PortableServer::POA::_duplicate (poa)),
- rel_ (release)
-{}
-
-template <class T> ACE_INLINE
-POA_IR::PrimitiveDef_tie<T>::~PrimitiveDef_tie (void)
-{
- if (this->rel_) delete this->ptr_;
-}
-
-template <class T> ACE_INLINE T *
-POA_IR::PrimitiveDef_tie<T>::_tied_object (void)
-{
- return this->ptr_;
-}
-
-template <class T> ACE_INLINE void
-POA_IR::PrimitiveDef_tie<T>::_tied_object (T &obj)
-{
- if (this->rel_) delete this->ptr_;
- this->ptr_ = &obj;
- this->rel_ = 0;
-}
-
-template <class T> ACE_INLINE void
-POA_IR::PrimitiveDef_tie<T>::_tied_object (T *obj, CORBA::Boolean release)
-{
- if (this->rel_) delete this->ptr_;
- this->ptr_ = obj;
- this->rel_ = release;
-}
-
-template <class T> ACE_INLINE CORBA::Boolean
-POA_IR::PrimitiveDef_tie<T>::_is_owner (void)
-{
- return this->rel_;
-}
-
-template <class T> ACE_INLINE void
-POA_IR::PrimitiveDef_tie<T>::_is_owner (CORBA::Boolean b)
-{
- this->rel_ = b;
-}
-
-template <class T> ACE_INLINE PortableServer::POA_ptr
-POA_IR::PrimitiveDef_tie<T>::_default_POA (CORBA::Environment &env)
-{
- if (!CORBA::is_nil (this->poa_.in ()))
- return PortableServer::POA::_duplicate (this->poa_.in ());
-
- return this->PrimitiveDef::_default_POA (env);
-}
-
-template <class T> ACE_INLINE
-IR::PrimitiveKind POA_IR::PrimitiveDef_tie<T>::kind (
- CORBA::Environment &ACE_TRY_ENV
- )
- ACE_THROW_SPEC ((
- CORBA::SystemException
- ))
-{
- return this->ptr_->kind (
- ACE_TRY_ENV
- );
-}
-
-template <class T> ACE_INLINE
-CORBA::TypeCode_ptr POA_IR::PrimitiveDef_tie<T>::type (
- CORBA::Environment &ACE_TRY_ENV
- )
- ACE_THROW_SPEC ((
- CORBA::SystemException
- ))
-{
- return this->ptr_->type (
- ACE_TRY_ENV
- );
-}
-
-template <class T> ACE_INLINE
-IR::DefinitionKind POA_IR::PrimitiveDef_tie<T>::def_kind (
- CORBA::Environment &ACE_TRY_ENV
- )
- ACE_THROW_SPEC ((
- CORBA::SystemException
- ))
-{
- return this->ptr_->def_kind (
- ACE_TRY_ENV
- );
-}
-
-template <class T> ACE_INLINE
-void POA_IR::PrimitiveDef_tie<T>::destroy (
- CORBA::Environment &ACE_TRY_ENV
- )
- ACE_THROW_SPEC ((
- CORBA::SystemException
- ))
-{
- this->ptr_->destroy (
- ACE_TRY_ENV
- );
-}
-
-#endif /* ACE_HAS_USING_KEYWORD */
-
-#if defined (ACE_HAS_USING_KEYWORD)
-template <class T> ACE_INLINE
-POA_IR::StringDef_tie<T>::StringDef_tie (T &t)
- : ptr_ (&t),
- poa_ (PortableServer::POA::_nil ()),
- rel_ (0)
-{}
-
-template <class T> ACE_INLINE
-POA_IR::StringDef_tie<T>::StringDef_tie (T &t, PortableServer::POA_ptr poa)
- : ptr_ (&t),
- poa_ (PortableServer::POA::_duplicate (poa)),
- rel_ (0)
-{}
-
-template <class T> ACE_INLINE
-POA_IR::StringDef_tie<T>::StringDef_tie (T *tp, CORBA::Boolean release)
- : ptr_ (tp),
- poa_ (PortableServer::POA::_nil ()),
- rel_ (release)
-{}
-
-template <class T> ACE_INLINE
-POA_IR::StringDef_tie<T>::StringDef_tie (T *tp, PortableServer::POA_ptr poa, CORBA::Boolean release)
- : ptr_ (tp),
- poa_ (PortableServer::POA::_duplicate (poa)),
- rel_ (release)
-{}
-
-template <class T> ACE_INLINE
-POA_IR::StringDef_tie<T>::~StringDef_tie (void)
-{
- if (this->rel_) delete this->ptr_;
-}
-
-template <class T> ACE_INLINE T *
-POA_IR::StringDef_tie<T>::_tied_object (void)
-{
- return this->ptr_;
-}
-
-template <class T> ACE_INLINE void
-POA_IR::StringDef_tie<T>::_tied_object (T &obj)
-{
- if (this->rel_) delete this->ptr_;
- this->ptr_ = &obj;
- this->rel_ = 0;
-}
-
-template <class T> ACE_INLINE void
-POA_IR::StringDef_tie<T>::_tied_object (T *obj, CORBA::Boolean release)
-{
- if (this->rel_) delete this->ptr_;
- this->ptr_ = obj;
- this->rel_ = release;
-}
-
-template <class T> ACE_INLINE CORBA::Boolean
-POA_IR::StringDef_tie<T>::_is_owner (void)
-{
- return this->rel_;
-}
-
-template <class T> ACE_INLINE void
-POA_IR::StringDef_tie<T>::_is_owner (CORBA::Boolean b)
-{
- this->rel_ = b;
-}
-
-template <class T> ACE_INLINE PortableServer::POA_ptr
-POA_IR::StringDef_tie<T>::_default_POA (CORBA::Environment &env)
-{
- if (!CORBA::is_nil (this->poa_.in ()))
- return PortableServer::POA::_duplicate (this->poa_.in ());
-
- return this->StringDef::_default_POA (env);
-}
-
-template <class T> ACE_INLINE
-CORBA::ULong POA_IR::StringDef_tie<T>::bound (
- CORBA::Environment &ACE_TRY_ENV
- )
- ACE_THROW_SPEC ((
- CORBA::SystemException
- ))
-{
- return this->ptr_->bound (
- ACE_TRY_ENV
- );
-}
-
-template <class T> ACE_INLINE
-void POA_IR::StringDef_tie<T>::bound (
- CORBA::ULong bound,
- CORBA::Environment &ACE_TRY_ENV
- )
- ACE_THROW_SPEC ((
- CORBA::SystemException
- ))
-{
- this->ptr_->bound (
- bound,
- ACE_TRY_ENV
- );
-}
-
-template <class T> ACE_INLINE
-CORBA::TypeCode_ptr POA_IR::StringDef_tie<T>::type (
- CORBA::Environment &ACE_TRY_ENV
- )
- ACE_THROW_SPEC ((
- CORBA::SystemException
- ))
-{
- return this->ptr_->type (
- ACE_TRY_ENV
- );
-}
-
-template <class T> ACE_INLINE
-IR::DefinitionKind POA_IR::StringDef_tie<T>::def_kind (
- CORBA::Environment &ACE_TRY_ENV
- )
- ACE_THROW_SPEC ((
- CORBA::SystemException
- ))
-{
- return this->ptr_->def_kind (
- ACE_TRY_ENV
- );
-}
-
-template <class T> ACE_INLINE
-void POA_IR::StringDef_tie<T>::destroy (
- CORBA::Environment &ACE_TRY_ENV
- )
- ACE_THROW_SPEC ((
- CORBA::SystemException
- ))
-{
- this->ptr_->destroy (
- ACE_TRY_ENV
- );
-}
-
-#endif /* ACE_HAS_USING_KEYWORD */
-
-#if defined (ACE_HAS_USING_KEYWORD)
-template <class T> ACE_INLINE
-POA_IR::WstringDef_tie<T>::WstringDef_tie (T &t)
- : ptr_ (&t),
- poa_ (PortableServer::POA::_nil ()),
- rel_ (0)
-{}
-
-template <class T> ACE_INLINE
-POA_IR::WstringDef_tie<T>::WstringDef_tie (T &t, PortableServer::POA_ptr poa)
- : ptr_ (&t),
- poa_ (PortableServer::POA::_duplicate (poa)),
- rel_ (0)
-{}
-
-template <class T> ACE_INLINE
-POA_IR::WstringDef_tie<T>::WstringDef_tie (T *tp, CORBA::Boolean release)
- : ptr_ (tp),
- poa_ (PortableServer::POA::_nil ()),
- rel_ (release)
-{}
-
-template <class T> ACE_INLINE
-POA_IR::WstringDef_tie<T>::WstringDef_tie (T *tp, PortableServer::POA_ptr poa, CORBA::Boolean release)
- : ptr_ (tp),
- poa_ (PortableServer::POA::_duplicate (poa)),
- rel_ (release)
-{}
-
-template <class T> ACE_INLINE
-POA_IR::WstringDef_tie<T>::~WstringDef_tie (void)
-{
- if (this->rel_) delete this->ptr_;
-}
-
-template <class T> ACE_INLINE T *
-POA_IR::WstringDef_tie<T>::_tied_object (void)
-{
- return this->ptr_;
-}
-
-template <class T> ACE_INLINE void
-POA_IR::WstringDef_tie<T>::_tied_object (T &obj)
-{
- if (this->rel_) delete this->ptr_;
- this->ptr_ = &obj;
- this->rel_ = 0;
-}
-
-template <class T> ACE_INLINE void
-POA_IR::WstringDef_tie<T>::_tied_object (T *obj, CORBA::Boolean release)
-{
- if (this->rel_) delete this->ptr_;
- this->ptr_ = obj;
- this->rel_ = release;
-}
-
-template <class T> ACE_INLINE CORBA::Boolean
-POA_IR::WstringDef_tie<T>::_is_owner (void)
-{
- return this->rel_;
-}
-
-template <class T> ACE_INLINE void
-POA_IR::WstringDef_tie<T>::_is_owner (CORBA::Boolean b)
-{
- this->rel_ = b;
-}
-
-template <class T> ACE_INLINE PortableServer::POA_ptr
-POA_IR::WstringDef_tie<T>::_default_POA (CORBA::Environment &env)
-{
- if (!CORBA::is_nil (this->poa_.in ()))
- return PortableServer::POA::_duplicate (this->poa_.in ());
-
- return this->WstringDef::_default_POA (env);
-}
-
-template <class T> ACE_INLINE
-CORBA::ULong POA_IR::WstringDef_tie<T>::bound (
- CORBA::Environment &ACE_TRY_ENV
- )
- ACE_THROW_SPEC ((
- CORBA::SystemException
- ))
-{
- return this->ptr_->bound (
- ACE_TRY_ENV
- );
-}
-
-template <class T> ACE_INLINE
-void POA_IR::WstringDef_tie<T>::bound (
- CORBA::ULong bound,
- CORBA::Environment &ACE_TRY_ENV
- )
- ACE_THROW_SPEC ((
- CORBA::SystemException
- ))
-{
- this->ptr_->bound (
- bound,
- ACE_TRY_ENV
- );
-}
-
-template <class T> ACE_INLINE
-CORBA::TypeCode_ptr POA_IR::WstringDef_tie<T>::type (
- CORBA::Environment &ACE_TRY_ENV
- )
- ACE_THROW_SPEC ((
- CORBA::SystemException
- ))
-{
- return this->ptr_->type (
- ACE_TRY_ENV
- );
-}
-
-template <class T> ACE_INLINE
-IR::DefinitionKind POA_IR::WstringDef_tie<T>::def_kind (
- CORBA::Environment &ACE_TRY_ENV
- )
- ACE_THROW_SPEC ((
- CORBA::SystemException
- ))
-{
- return this->ptr_->def_kind (
- ACE_TRY_ENV
- );
-}
-
-template <class T> ACE_INLINE
-void POA_IR::WstringDef_tie<T>::destroy (
- CORBA::Environment &ACE_TRY_ENV
- )
- ACE_THROW_SPEC ((
- CORBA::SystemException
- ))
-{
- this->ptr_->destroy (
- ACE_TRY_ENV
- );
-}
-
-#endif /* ACE_HAS_USING_KEYWORD */
-
-#if defined (ACE_HAS_USING_KEYWORD)
-template <class T> ACE_INLINE
-POA_IR::FixedDef_tie<T>::FixedDef_tie (T &t)
- : ptr_ (&t),
- poa_ (PortableServer::POA::_nil ()),
- rel_ (0)
-{}
-
-template <class T> ACE_INLINE
-POA_IR::FixedDef_tie<T>::FixedDef_tie (T &t, PortableServer::POA_ptr poa)
- : ptr_ (&t),
- poa_ (PortableServer::POA::_duplicate (poa)),
- rel_ (0)
-{}
-
-template <class T> ACE_INLINE
-POA_IR::FixedDef_tie<T>::FixedDef_tie (T *tp, CORBA::Boolean release)
- : ptr_ (tp),
- poa_ (PortableServer::POA::_nil ()),
- rel_ (release)
-{}
-
-template <class T> ACE_INLINE
-POA_IR::FixedDef_tie<T>::FixedDef_tie (T *tp, PortableServer::POA_ptr poa, CORBA::Boolean release)
- : ptr_ (tp),
- poa_ (PortableServer::POA::_duplicate (poa)),
- rel_ (release)
-{}
-
-template <class T> ACE_INLINE
-POA_IR::FixedDef_tie<T>::~FixedDef_tie (void)
-{
- if (this->rel_) delete this->ptr_;
-}
-
-template <class T> ACE_INLINE T *
-POA_IR::FixedDef_tie<T>::_tied_object (void)
-{
- return this->ptr_;
-}
-
-template <class T> ACE_INLINE void
-POA_IR::FixedDef_tie<T>::_tied_object (T &obj)
-{
- if (this->rel_) delete this->ptr_;
- this->ptr_ = &obj;
- this->rel_ = 0;
-}
-
-template <class T> ACE_INLINE void
-POA_IR::FixedDef_tie<T>::_tied_object (T *obj, CORBA::Boolean release)
-{
- if (this->rel_) delete this->ptr_;
- this->ptr_ = obj;
- this->rel_ = release;
-}
-
-template <class T> ACE_INLINE CORBA::Boolean
-POA_IR::FixedDef_tie<T>::_is_owner (void)
-{
- return this->rel_;
-}
-
-template <class T> ACE_INLINE void
-POA_IR::FixedDef_tie<T>::_is_owner (CORBA::Boolean b)
-{
- this->rel_ = b;
-}
-
-template <class T> ACE_INLINE PortableServer::POA_ptr
-POA_IR::FixedDef_tie<T>::_default_POA (CORBA::Environment &env)
-{
- if (!CORBA::is_nil (this->poa_.in ()))
- return PortableServer::POA::_duplicate (this->poa_.in ());
-
- return this->FixedDef::_default_POA (env);
-}
-
-template <class T> ACE_INLINE
-CORBA::UShort POA_IR::FixedDef_tie<T>::digits (
- CORBA::Environment &ACE_TRY_ENV
- )
- ACE_THROW_SPEC ((
- CORBA::SystemException
- ))
-{
- return this->ptr_->digits (
- ACE_TRY_ENV
- );
-}
-
-template <class T> ACE_INLINE
-void POA_IR::FixedDef_tie<T>::digits (
- CORBA::UShort digits,
- CORBA::Environment &ACE_TRY_ENV
- )
- ACE_THROW_SPEC ((
- CORBA::SystemException
- ))
-{
- this->ptr_->digits (
- digits,
- ACE_TRY_ENV
- );
-}
-
-template <class T> ACE_INLINE
-CORBA::Short POA_IR::FixedDef_tie<T>::scale (
- CORBA::Environment &ACE_TRY_ENV
- )
- ACE_THROW_SPEC ((
- CORBA::SystemException
- ))
-{
- return this->ptr_->scale (
- ACE_TRY_ENV
- );
-}
-
-template <class T> ACE_INLINE
-void POA_IR::FixedDef_tie<T>::scale (
- CORBA::Short scale,
- CORBA::Environment &ACE_TRY_ENV
- )
- ACE_THROW_SPEC ((
- CORBA::SystemException
- ))
-{
- this->ptr_->scale (
- scale,
- ACE_TRY_ENV
- );
-}
-
-template <class T> ACE_INLINE
-CORBA::TypeCode_ptr POA_IR::FixedDef_tie<T>::type (
- CORBA::Environment &ACE_TRY_ENV
- )
- ACE_THROW_SPEC ((
- CORBA::SystemException
- ))
-{
- return this->ptr_->type (
- ACE_TRY_ENV
- );
-}
-
-template <class T> ACE_INLINE
-IR::DefinitionKind POA_IR::FixedDef_tie<T>::def_kind (
- CORBA::Environment &ACE_TRY_ENV
- )
- ACE_THROW_SPEC ((
- CORBA::SystemException
- ))
-{
- return this->ptr_->def_kind (
- ACE_TRY_ENV
- );
-}
-
-template <class T> ACE_INLINE
-void POA_IR::FixedDef_tie<T>::destroy (
- CORBA::Environment &ACE_TRY_ENV
- )
- ACE_THROW_SPEC ((
- CORBA::SystemException
- ))
-{
- this->ptr_->destroy (
- ACE_TRY_ENV
- );
-}
-
-#endif /* ACE_HAS_USING_KEYWORD */
-
-#if defined (ACE_HAS_USING_KEYWORD)
-template <class T> ACE_INLINE
-POA_IR::SequenceDef_tie<T>::SequenceDef_tie (T &t)
- : ptr_ (&t),
- poa_ (PortableServer::POA::_nil ()),
- rel_ (0)
-{}
-
-template <class T> ACE_INLINE
-POA_IR::SequenceDef_tie<T>::SequenceDef_tie (T &t, PortableServer::POA_ptr poa)
- : ptr_ (&t),
- poa_ (PortableServer::POA::_duplicate (poa)),
- rel_ (0)
-{}
-
-template <class T> ACE_INLINE
-POA_IR::SequenceDef_tie<T>::SequenceDef_tie (T *tp, CORBA::Boolean release)
- : ptr_ (tp),
- poa_ (PortableServer::POA::_nil ()),
- rel_ (release)
-{}
-
-template <class T> ACE_INLINE
-POA_IR::SequenceDef_tie<T>::SequenceDef_tie (T *tp, PortableServer::POA_ptr poa, CORBA::Boolean release)
- : ptr_ (tp),
- poa_ (PortableServer::POA::_duplicate (poa)),
- rel_ (release)
-{}
-
-template <class T> ACE_INLINE
-POA_IR::SequenceDef_tie<T>::~SequenceDef_tie (void)
-{
- if (this->rel_) delete this->ptr_;
-}
-
-template <class T> ACE_INLINE T *
-POA_IR::SequenceDef_tie<T>::_tied_object (void)
-{
- return this->ptr_;
-}
-
-template <class T> ACE_INLINE void
-POA_IR::SequenceDef_tie<T>::_tied_object (T &obj)
-{
- if (this->rel_) delete this->ptr_;
- this->ptr_ = &obj;
- this->rel_ = 0;
-}
-
-template <class T> ACE_INLINE void
-POA_IR::SequenceDef_tie<T>::_tied_object (T *obj, CORBA::Boolean release)
-{
- if (this->rel_) delete this->ptr_;
- this->ptr_ = obj;
- this->rel_ = release;
-}
-
-template <class T> ACE_INLINE CORBA::Boolean
-POA_IR::SequenceDef_tie<T>::_is_owner (void)
-{
- return this->rel_;
-}
-
-template <class T> ACE_INLINE void
-POA_IR::SequenceDef_tie<T>::_is_owner (CORBA::Boolean b)
-{
- this->rel_ = b;
-}
-
-template <class T> ACE_INLINE PortableServer::POA_ptr
-POA_IR::SequenceDef_tie<T>::_default_POA (CORBA::Environment &env)
-{
- if (!CORBA::is_nil (this->poa_.in ()))
- return PortableServer::POA::_duplicate (this->poa_.in ());
-
- return this->SequenceDef::_default_POA (env);
-}
-
-template <class T> ACE_INLINE
-CORBA::ULong POA_IR::SequenceDef_tie<T>::bound (
- CORBA::Environment &ACE_TRY_ENV
- )
- ACE_THROW_SPEC ((
- CORBA::SystemException
- ))
-{
- return this->ptr_->bound (
- ACE_TRY_ENV
- );
-}
-
-template <class T> ACE_INLINE
-void POA_IR::SequenceDef_tie<T>::bound (
- CORBA::ULong bound,
- CORBA::Environment &ACE_TRY_ENV
- )
- ACE_THROW_SPEC ((
- CORBA::SystemException
- ))
-{
- this->ptr_->bound (
- bound,
- ACE_TRY_ENV
- );
-}
-
-template <class T> ACE_INLINE
-CORBA::TypeCode_ptr POA_IR::SequenceDef_tie<T>::element_type (
- CORBA::Environment &ACE_TRY_ENV
- )
- ACE_THROW_SPEC ((
- CORBA::SystemException
- ))
-{
- return this->ptr_->element_type (
- ACE_TRY_ENV
- );
-}
-
-template <class T> ACE_INLINE
-IR::IDLType_ptr POA_IR::SequenceDef_tie<T>::element_type_def (
- CORBA::Environment &ACE_TRY_ENV
- )
- ACE_THROW_SPEC ((
- CORBA::SystemException
- ))
-{
- return this->ptr_->element_type_def (
- ACE_TRY_ENV
- );
-}
-
-template <class T> ACE_INLINE
-void POA_IR::SequenceDef_tie<T>::element_type_def (
- IR_IDLType_ptr element_type_def,
- CORBA::Environment &ACE_TRY_ENV
- )
- ACE_THROW_SPEC ((
- CORBA::SystemException
- ))
-{
- this->ptr_->element_type_def (
- element_type_def,
- ACE_TRY_ENV
- );
-}
-
-template <class T> ACE_INLINE
-CORBA::TypeCode_ptr POA_IR::SequenceDef_tie<T>::type (
- CORBA::Environment &ACE_TRY_ENV
- )
- ACE_THROW_SPEC ((
- CORBA::SystemException
- ))
-{
- return this->ptr_->type (
- ACE_TRY_ENV
- );
-}
-
-template <class T> ACE_INLINE
-IR::DefinitionKind POA_IR::SequenceDef_tie<T>::def_kind (
- CORBA::Environment &ACE_TRY_ENV
- )
- ACE_THROW_SPEC ((
- CORBA::SystemException
- ))
-{
- return this->ptr_->def_kind (
- ACE_TRY_ENV
- );
-}
-
-template <class T> ACE_INLINE
-void POA_IR::SequenceDef_tie<T>::destroy (
- CORBA::Environment &ACE_TRY_ENV
- )
- ACE_THROW_SPEC ((
- CORBA::SystemException
- ))
-{
- this->ptr_->destroy (
- ACE_TRY_ENV
- );
-}
-
-#endif /* ACE_HAS_USING_KEYWORD */
-
-#if defined (ACE_HAS_USING_KEYWORD)
-template <class T> ACE_INLINE
-POA_IR::ArrayDef_tie<T>::ArrayDef_tie (T &t)
- : ptr_ (&t),
- poa_ (PortableServer::POA::_nil ()),
- rel_ (0)
-{}
-
-template <class T> ACE_INLINE
-POA_IR::ArrayDef_tie<T>::ArrayDef_tie (T &t, PortableServer::POA_ptr poa)
- : ptr_ (&t),
- poa_ (PortableServer::POA::_duplicate (poa)),
- rel_ (0)
-{}
-
-template <class T> ACE_INLINE
-POA_IR::ArrayDef_tie<T>::ArrayDef_tie (T *tp, CORBA::Boolean release)
- : ptr_ (tp),
- poa_ (PortableServer::POA::_nil ()),
- rel_ (release)
-{}
-
-template <class T> ACE_INLINE
-POA_IR::ArrayDef_tie<T>::ArrayDef_tie (T *tp, PortableServer::POA_ptr poa, CORBA::Boolean release)
- : ptr_ (tp),
- poa_ (PortableServer::POA::_duplicate (poa)),
- rel_ (release)
-{}
-
-template <class T> ACE_INLINE
-POA_IR::ArrayDef_tie<T>::~ArrayDef_tie (void)
-{
- if (this->rel_) delete this->ptr_;
-}
-
-template <class T> ACE_INLINE T *
-POA_IR::ArrayDef_tie<T>::_tied_object (void)
-{
- return this->ptr_;
-}
-
-template <class T> ACE_INLINE void
-POA_IR::ArrayDef_tie<T>::_tied_object (T &obj)
-{
- if (this->rel_) delete this->ptr_;
- this->ptr_ = &obj;
- this->rel_ = 0;
-}
-
-template <class T> ACE_INLINE void
-POA_IR::ArrayDef_tie<T>::_tied_object (T *obj, CORBA::Boolean release)
-{
- if (this->rel_) delete this->ptr_;
- this->ptr_ = obj;
- this->rel_ = release;
-}
-
-template <class T> ACE_INLINE CORBA::Boolean
-POA_IR::ArrayDef_tie<T>::_is_owner (void)
-{
- return this->rel_;
-}
-
-template <class T> ACE_INLINE void
-POA_IR::ArrayDef_tie<T>::_is_owner (CORBA::Boolean b)
-{
- this->rel_ = b;
-}
-
-template <class T> ACE_INLINE PortableServer::POA_ptr
-POA_IR::ArrayDef_tie<T>::_default_POA (CORBA::Environment &env)
-{
- if (!CORBA::is_nil (this->poa_.in ()))
- return PortableServer::POA::_duplicate (this->poa_.in ());
-
- return this->ArrayDef::_default_POA (env);
-}
-
-template <class T> ACE_INLINE
-CORBA::ULong POA_IR::ArrayDef_tie<T>::length (
- CORBA::Environment &ACE_TRY_ENV
- )
- ACE_THROW_SPEC ((
- CORBA::SystemException
- ))
-{
- return this->ptr_->length (
- ACE_TRY_ENV
- );
-}
-
-template <class T> ACE_INLINE
-void POA_IR::ArrayDef_tie<T>::length (
- CORBA::ULong length,
- CORBA::Environment &ACE_TRY_ENV
- )
- ACE_THROW_SPEC ((
- CORBA::SystemException
- ))
-{
- this->ptr_->length (
- length,
- ACE_TRY_ENV
- );
-}
-
-template <class T> ACE_INLINE
-CORBA::TypeCode_ptr POA_IR::ArrayDef_tie<T>::element_type (
- CORBA::Environment &ACE_TRY_ENV
- )
- ACE_THROW_SPEC ((
- CORBA::SystemException
- ))
-{
- return this->ptr_->element_type (
- ACE_TRY_ENV
- );
-}
-
-template <class T> ACE_INLINE
-IR::IDLType_ptr POA_IR::ArrayDef_tie<T>::element_type_def (
- CORBA::Environment &ACE_TRY_ENV
- )
- ACE_THROW_SPEC ((
- CORBA::SystemException
- ))
-{
- return this->ptr_->element_type_def (
- ACE_TRY_ENV
- );
-}
-
-template <class T> ACE_INLINE
-void POA_IR::ArrayDef_tie<T>::element_type_def (
- IR_IDLType_ptr element_type_def,
- CORBA::Environment &ACE_TRY_ENV
- )
- ACE_THROW_SPEC ((
- CORBA::SystemException
- ))
-{
- this->ptr_->element_type_def (
- element_type_def,
- ACE_TRY_ENV
- );
-}
-
-template <class T> ACE_INLINE
-CORBA::TypeCode_ptr POA_IR::ArrayDef_tie<T>::type (
- CORBA::Environment &ACE_TRY_ENV
- )
- ACE_THROW_SPEC ((
- CORBA::SystemException
- ))
-{
- return this->ptr_->type (
- ACE_TRY_ENV
- );
-}
-
-template <class T> ACE_INLINE
-IR::DefinitionKind POA_IR::ArrayDef_tie<T>::def_kind (
- CORBA::Environment &ACE_TRY_ENV
- )
- ACE_THROW_SPEC ((
- CORBA::SystemException
- ))
-{
- return this->ptr_->def_kind (
- ACE_TRY_ENV
- );
-}
-
-template <class T> ACE_INLINE
-void POA_IR::ArrayDef_tie<T>::destroy (
- CORBA::Environment &ACE_TRY_ENV
- )
- ACE_THROW_SPEC ((
- CORBA::SystemException
- ))
-{
- this->ptr_->destroy (
- ACE_TRY_ENV
- );
-}
-
-#endif /* ACE_HAS_USING_KEYWORD */
-
-#if defined (ACE_HAS_USING_KEYWORD)
-template <class T> ACE_INLINE
-POA_IR::ExceptionDef_tie<T>::ExceptionDef_tie (T &t)
- : ptr_ (&t),
- poa_ (PortableServer::POA::_nil ()),
- rel_ (0)
-{}
-
-template <class T> ACE_INLINE
-POA_IR::ExceptionDef_tie<T>::ExceptionDef_tie (T &t, PortableServer::POA_ptr poa)
- : ptr_ (&t),
- poa_ (PortableServer::POA::_duplicate (poa)),
- rel_ (0)
-{}
-
-template <class T> ACE_INLINE
-POA_IR::ExceptionDef_tie<T>::ExceptionDef_tie (T *tp, CORBA::Boolean release)
- : ptr_ (tp),
- poa_ (PortableServer::POA::_nil ()),
- rel_ (release)
-{}
-
-template <class T> ACE_INLINE
-POA_IR::ExceptionDef_tie<T>::ExceptionDef_tie (T *tp, PortableServer::POA_ptr poa, CORBA::Boolean release)
- : ptr_ (tp),
- poa_ (PortableServer::POA::_duplicate (poa)),
- rel_ (release)
-{}
-
-template <class T> ACE_INLINE
-POA_IR::ExceptionDef_tie<T>::~ExceptionDef_tie (void)
-{
- if (this->rel_) delete this->ptr_;
-}
-
-template <class T> ACE_INLINE T *
-POA_IR::ExceptionDef_tie<T>::_tied_object (void)
-{
- return this->ptr_;
-}
-
-template <class T> ACE_INLINE void
-POA_IR::ExceptionDef_tie<T>::_tied_object (T &obj)
-{
- if (this->rel_) delete this->ptr_;
- this->ptr_ = &obj;
- this->rel_ = 0;
-}
-
-template <class T> ACE_INLINE void
-POA_IR::ExceptionDef_tie<T>::_tied_object (T *obj, CORBA::Boolean release)
-{
- if (this->rel_) delete this->ptr_;
- this->ptr_ = obj;
- this->rel_ = release;
-}
-
-template <class T> ACE_INLINE CORBA::Boolean
-POA_IR::ExceptionDef_tie<T>::_is_owner (void)
-{
- return this->rel_;
-}
-
-template <class T> ACE_INLINE void
-POA_IR::ExceptionDef_tie<T>::_is_owner (CORBA::Boolean b)
-{
- this->rel_ = b;
-}
-
-template <class T> ACE_INLINE PortableServer::POA_ptr
-POA_IR::ExceptionDef_tie<T>::_default_POA (CORBA::Environment &env)
-{
- if (!CORBA::is_nil (this->poa_.in ()))
- return PortableServer::POA::_duplicate (this->poa_.in ());
-
- return this->ExceptionDef::_default_POA (env);
-}
-
-template <class T> ACE_INLINE
-CORBA::TypeCode_ptr POA_IR::ExceptionDef_tie<T>::type (
- CORBA::Environment &ACE_TRY_ENV
- )
- ACE_THROW_SPEC ((
- CORBA::SystemException
- ))
-{
- return this->ptr_->type (
- ACE_TRY_ENV
- );
-}
-
-template <class T> ACE_INLINE
-IR::StructMemberSeq * POA_IR::ExceptionDef_tie<T>::members (
- CORBA::Environment &ACE_TRY_ENV
- )
- ACE_THROW_SPEC ((
- CORBA::SystemException
- ))
-{
- return this->ptr_->members (
- ACE_TRY_ENV
- );
-}
-
-template <class T> ACE_INLINE
-void POA_IR::ExceptionDef_tie<T>::members (
- const IR_StructMemberSeq & members,
- CORBA::Environment &ACE_TRY_ENV
- )
- ACE_THROW_SPEC ((
- CORBA::SystemException
- ))
-{
- this->ptr_->members (
- members,
- ACE_TRY_ENV
- );
-}
-
-template <class T> ACE_INLINE
-char * POA_IR::ExceptionDef_tie<T>::id (
- CORBA::Environment &ACE_TRY_ENV
- )
- ACE_THROW_SPEC ((
- CORBA::SystemException
- ))
-{
- return this->ptr_->id (
- ACE_TRY_ENV
- );
-}
-
-template <class T> ACE_INLINE
-void POA_IR::ExceptionDef_tie<T>::id (
- const char * id,
- CORBA::Environment &ACE_TRY_ENV
- )
- ACE_THROW_SPEC ((
- CORBA::SystemException
- ))
-{
- this->ptr_->id (
- id,
- ACE_TRY_ENV
- );
-}
-
-template <class T> ACE_INLINE
-char * POA_IR::ExceptionDef_tie<T>::name (
- CORBA::Environment &ACE_TRY_ENV
- )
- ACE_THROW_SPEC ((
- CORBA::SystemException
- ))
-{
- return this->ptr_->name (
- ACE_TRY_ENV
- );
-}
-
-template <class T> ACE_INLINE
-void POA_IR::ExceptionDef_tie<T>::name (
- const char * name,
- CORBA::Environment &ACE_TRY_ENV
- )
- ACE_THROW_SPEC ((
- CORBA::SystemException
- ))
-{
- this->ptr_->name (
- name,
- ACE_TRY_ENV
- );
-}
-
-template <class T> ACE_INLINE
-char * POA_IR::ExceptionDef_tie<T>::version (
- CORBA::Environment &ACE_TRY_ENV
- )
- ACE_THROW_SPEC ((
- CORBA::SystemException
- ))
-{
- return this->ptr_->version (
- ACE_TRY_ENV
- );
-}
-
-template <class T> ACE_INLINE
-void POA_IR::ExceptionDef_tie<T>::version (
- const char * version,
- CORBA::Environment &ACE_TRY_ENV
- )
- ACE_THROW_SPEC ((
- CORBA::SystemException
- ))
-{
- this->ptr_->version (
- version,
- ACE_TRY_ENV
- );
-}
-
-template <class T> ACE_INLINE
-IR::Container_ptr POA_IR::ExceptionDef_tie<T>::defined_in (
- CORBA::Environment &ACE_TRY_ENV
- )
- ACE_THROW_SPEC ((
- CORBA::SystemException
- ))
-{
- return this->ptr_->defined_in (
- ACE_TRY_ENV
- );
-}
-
-template <class T> ACE_INLINE
-char * POA_IR::ExceptionDef_tie<T>::absolute_name (
- CORBA::Environment &ACE_TRY_ENV
- )
- ACE_THROW_SPEC ((
- CORBA::SystemException
- ))
-{
- return this->ptr_->absolute_name (
- ACE_TRY_ENV
- );
-}
-
-template <class T> ACE_INLINE
-IR::Repository_ptr POA_IR::ExceptionDef_tie<T>::containing_repository (
- CORBA::Environment &ACE_TRY_ENV
- )
- ACE_THROW_SPEC ((
- CORBA::SystemException
- ))
-{
- return this->ptr_->containing_repository (
- ACE_TRY_ENV
- );
-}
-
-template <class T> ACE_INLINE
-IR::Contained::Description * POA_IR::ExceptionDef_tie<T>::describe (
- CORBA::Environment &ACE_TRY_ENV
- )
- ACE_THROW_SPEC ((
- CORBA::SystemException
- ))
-{
- return this->ptr_->describe (
- ACE_TRY_ENV
- );
-}
-
-template <class T> ACE_INLINE
-void POA_IR::ExceptionDef_tie<T>::move (
- IR_Container_ptr new_container,
- const char * new_name,
- const char * new_version,
- CORBA::Environment &ACE_TRY_ENV
- )
- ACE_THROW_SPEC ((
- CORBA::SystemException
- ))
-{
- this->ptr_->move (
- new_container,
- new_name,
- new_version,
- ACE_TRY_ENV
- );
-}
-
-template <class T> ACE_INLINE
-IR::Contained_ptr POA_IR::ExceptionDef_tie<T>::lookup (
- const char * search_name,
- CORBA::Environment &ACE_TRY_ENV
- )
- ACE_THROW_SPEC ((
- CORBA::SystemException
- ))
-{
- return this->ptr_->lookup (
- search_name,
- ACE_TRY_ENV
- );
-}
-
-template <class T> ACE_INLINE
-IR::ContainedSeq * POA_IR::ExceptionDef_tie<T>::contents (
- IR_DefinitionKind limit_type,
- CORBA::Boolean exclude_inherited,
- CORBA::Environment &ACE_TRY_ENV
- )
- ACE_THROW_SPEC ((
- CORBA::SystemException
- ))
-{
- return this->ptr_->contents (
- limit_type,
- exclude_inherited,
- ACE_TRY_ENV
- );
-}
-
-template <class T> ACE_INLINE
-IR::ContainedSeq * POA_IR::ExceptionDef_tie<T>::lookup_name (
- const char * search_name,
- CORBA::Long levels_to_search,
- IR_DefinitionKind limit_type,
- CORBA::Boolean exclude_inherited,
- CORBA::Environment &ACE_TRY_ENV
- )
- ACE_THROW_SPEC ((
- CORBA::SystemException
- ))
-{
- return this->ptr_->lookup_name (
- search_name,
- levels_to_search,
- limit_type,
- exclude_inherited,
- ACE_TRY_ENV
- );
-}
-
-template <class T> ACE_INLINE
-IR::Container::DescriptionSeq * POA_IR::ExceptionDef_tie<T>::describe_contents (
- IR_DefinitionKind limit_type,
- CORBA::Boolean exclude_inherited,
- CORBA::Long max_returned_objs,
- CORBA::Environment &ACE_TRY_ENV
- )
- ACE_THROW_SPEC ((
- CORBA::SystemException
- ))
-{
- return this->ptr_->describe_contents (
- limit_type,
- exclude_inherited,
- max_returned_objs,
- ACE_TRY_ENV
- );
-}
-
-template <class T> ACE_INLINE
-IR::ModuleDef_ptr POA_IR::ExceptionDef_tie<T>::create_module (
- const char * id,
- const char * name,
- const char * version,
- CORBA::Environment &ACE_TRY_ENV
- )
- ACE_THROW_SPEC ((
- CORBA::SystemException
- ))
-{
- return this->ptr_->create_module (
- id,
- name,
- version,
- ACE_TRY_ENV
- );
-}
-
-template <class T> ACE_INLINE
-IR::ConstantDef_ptr POA_IR::ExceptionDef_tie<T>::create_constant (
- const char * id,
- const char * name,
- const char * version,
- IR_IDLType_ptr type,
- const CORBA::Any & value,
- CORBA::Environment &ACE_TRY_ENV
- )
- ACE_THROW_SPEC ((
- CORBA::SystemException
- ))
-{
- return this->ptr_->create_constant (
- id,
- name,
- version,
- type,
- value,
- ACE_TRY_ENV
- );
-}
-
-template <class T> ACE_INLINE
-IR::StructDef_ptr POA_IR::ExceptionDef_tie<T>::create_struct (
- const char * id,
- const char * name,
- const char * version,
- const IR_StructMemberSeq & members,
- CORBA::Environment &ACE_TRY_ENV
- )
- ACE_THROW_SPEC ((
- CORBA::SystemException
- ))
-{
- return this->ptr_->create_struct (
- id,
- name,
- version,
- members,
- ACE_TRY_ENV
- );
-}
-
-template <class T> ACE_INLINE
-IR::UnionDef_ptr POA_IR::ExceptionDef_tie<T>::create_union (
- const char * id,
- const char * name,
- const char * version,
- IR_IDLType_ptr discriminator_type,
- const IR_UnionMemberSeq & members,
- CORBA::Environment &ACE_TRY_ENV
- )
- ACE_THROW_SPEC ((
- CORBA::SystemException
- ))
-{
- return this->ptr_->create_union (
- id,
- name,
- version,
- discriminator_type,
- members,
- ACE_TRY_ENV
- );
-}
-
-template <class T> ACE_INLINE
-IR::EnumDef_ptr POA_IR::ExceptionDef_tie<T>::create_enum (
- const char * id,
- const char * name,
- const char * version,
- const IR_EnumMemberSeq & members,
- CORBA::Environment &ACE_TRY_ENV
- )
- ACE_THROW_SPEC ((
- CORBA::SystemException
- ))
-{
- return this->ptr_->create_enum (
- id,
- name,
- version,
- members,
- ACE_TRY_ENV
- );
-}
-
-template <class T> ACE_INLINE
-IR::AliasDef_ptr POA_IR::ExceptionDef_tie<T>::create_alias (
- const char * id,
- const char * name,
- const char * version,
- IR_IDLType_ptr original_type,
- CORBA::Environment &ACE_TRY_ENV
- )
- ACE_THROW_SPEC ((
- CORBA::SystemException
- ))
-{
- return this->ptr_->create_alias (
- id,
- name,
- version,
- original_type,
- ACE_TRY_ENV
- );
-}
-
-template <class T> ACE_INLINE
-IR::InterfaceDef_ptr POA_IR::ExceptionDef_tie<T>::create_interface (
- const char * id,
- const char * name,
- const char * version,
- const IR_InterfaceDefSeq & base_interfaces,
- CORBA::Boolean is_abstract,
- CORBA::Boolean is_local,
- CORBA::Environment &ACE_TRY_ENV
- )
- ACE_THROW_SPEC ((
- CORBA::SystemException
- ))
-{
- return this->ptr_->create_interface (
- id,
- name,
- version,
- base_interfaces,
- is_abstract,
- is_local,
- ACE_TRY_ENV
- );
-}
-
-template <class T> ACE_INLINE
-IR::ValueDef_ptr POA_IR::ExceptionDef_tie<T>::create_value (
- const char * id,
- const char * name,
- const char * version,
- CORBA::Boolean is_custom,
- CORBA::Boolean is_abstract,
- IR_ValueDef_ptr base_value,
- CORBA::Boolean is_truncatable,
- const IR_ValueDefSeq & abstract_base_values,
- const IR_InterfaceDefSeq & supported_interfaces,
- const IR_InitializerSeq & initializers,
- CORBA::Environment &ACE_TRY_ENV
- )
- ACE_THROW_SPEC ((
- CORBA::SystemException
- ))
-{
- return this->ptr_->create_value (
- id,
- name,
- version,
- is_custom,
- is_abstract,
- base_value,
- is_truncatable,
- abstract_base_values,
- supported_interfaces,
- initializers,
- ACE_TRY_ENV
- );
-}
-
-template <class T> ACE_INLINE
-IR::ValueBoxDef_ptr POA_IR::ExceptionDef_tie<T>::create_value_box (
- const char * id,
- const char * name,
- const char * version,
- IR_IDLType_ptr original_type_def,
- CORBA::Environment &ACE_TRY_ENV
- )
- ACE_THROW_SPEC ((
- CORBA::SystemException
- ))
-{
- return this->ptr_->create_value_box (
- id,
- name,
- version,
- original_type_def,
- ACE_TRY_ENV
- );
-}
-
-template <class T> ACE_INLINE
-IR::ExceptionDef_ptr POA_IR::ExceptionDef_tie<T>::create_exception (
- const char * id,
- const char * name,
- const char * version,
- const IR_StructMemberSeq & members,
- CORBA::Environment &ACE_TRY_ENV
- )
- ACE_THROW_SPEC ((
- CORBA::SystemException
- ))
-{
- return this->ptr_->create_exception (
- id,
- name,
- version,
- members,
- ACE_TRY_ENV
- );
-}
-
-template <class T> ACE_INLINE
-IR::NativeDef_ptr POA_IR::ExceptionDef_tie<T>::create_native (
- const char * id,
- const char * name,
- const char * version,
- CORBA::Environment &ACE_TRY_ENV
- )
- ACE_THROW_SPEC ((
- CORBA::SystemException
- ))
-{
- return this->ptr_->create_native (
- id,
- name,
- version,
- ACE_TRY_ENV
- );
-}
-
-template <class T> ACE_INLINE
-IR::DefinitionKind POA_IR::ExceptionDef_tie<T>::def_kind (
- CORBA::Environment &ACE_TRY_ENV
- )
- ACE_THROW_SPEC ((
- CORBA::SystemException
- ))
-{
- return this->ptr_->def_kind (
- ACE_TRY_ENV
- );
-}
-
-template <class T> ACE_INLINE
-void POA_IR::ExceptionDef_tie<T>::destroy (
- CORBA::Environment &ACE_TRY_ENV
- )
- ACE_THROW_SPEC ((
- CORBA::SystemException
- ))
-{
- this->ptr_->destroy (
- ACE_TRY_ENV
- );
-}
-
-#endif /* ACE_HAS_USING_KEYWORD */
-
-#if defined (ACE_HAS_USING_KEYWORD)
-template <class T> ACE_INLINE
-POA_IR::AttributeDef_tie<T>::AttributeDef_tie (T &t)
- : ptr_ (&t),
- poa_ (PortableServer::POA::_nil ()),
- rel_ (0)
-{}
-
-template <class T> ACE_INLINE
-POA_IR::AttributeDef_tie<T>::AttributeDef_tie (T &t, PortableServer::POA_ptr poa)
- : ptr_ (&t),
- poa_ (PortableServer::POA::_duplicate (poa)),
- rel_ (0)
-{}
-
-template <class T> ACE_INLINE
-POA_IR::AttributeDef_tie<T>::AttributeDef_tie (T *tp, CORBA::Boolean release)
- : ptr_ (tp),
- poa_ (PortableServer::POA::_nil ()),
- rel_ (release)
-{}
-
-template <class T> ACE_INLINE
-POA_IR::AttributeDef_tie<T>::AttributeDef_tie (T *tp, PortableServer::POA_ptr poa, CORBA::Boolean release)
- : ptr_ (tp),
- poa_ (PortableServer::POA::_duplicate (poa)),
- rel_ (release)
-{}
-
-template <class T> ACE_INLINE
-POA_IR::AttributeDef_tie<T>::~AttributeDef_tie (void)
-{
- if (this->rel_) delete this->ptr_;
-}
-
-template <class T> ACE_INLINE T *
-POA_IR::AttributeDef_tie<T>::_tied_object (void)
-{
- return this->ptr_;
-}
-
-template <class T> ACE_INLINE void
-POA_IR::AttributeDef_tie<T>::_tied_object (T &obj)
-{
- if (this->rel_) delete this->ptr_;
- this->ptr_ = &obj;
- this->rel_ = 0;
-}
-
-template <class T> ACE_INLINE void
-POA_IR::AttributeDef_tie<T>::_tied_object (T *obj, CORBA::Boolean release)
-{
- if (this->rel_) delete this->ptr_;
- this->ptr_ = obj;
- this->rel_ = release;
-}
-
-template <class T> ACE_INLINE CORBA::Boolean
-POA_IR::AttributeDef_tie<T>::_is_owner (void)
-{
- return this->rel_;
-}
-
-template <class T> ACE_INLINE void
-POA_IR::AttributeDef_tie<T>::_is_owner (CORBA::Boolean b)
-{
- this->rel_ = b;
-}
-
-template <class T> ACE_INLINE PortableServer::POA_ptr
-POA_IR::AttributeDef_tie<T>::_default_POA (CORBA::Environment &env)
-{
- if (!CORBA::is_nil (this->poa_.in ()))
- return PortableServer::POA::_duplicate (this->poa_.in ());
-
- return this->AttributeDef::_default_POA (env);
-}
-
-template <class T> ACE_INLINE
-CORBA::TypeCode_ptr POA_IR::AttributeDef_tie<T>::type (
- CORBA::Environment &ACE_TRY_ENV
- )
- ACE_THROW_SPEC ((
- CORBA::SystemException
- ))
-{
- return this->ptr_->type (
- ACE_TRY_ENV
- );
-}
-
-template <class T> ACE_INLINE
-IR::IDLType_ptr POA_IR::AttributeDef_tie<T>::type_def (
- CORBA::Environment &ACE_TRY_ENV
- )
- ACE_THROW_SPEC ((
- CORBA::SystemException
- ))
-{
- return this->ptr_->type_def (
- ACE_TRY_ENV
- );
-}
-
-template <class T> ACE_INLINE
-void POA_IR::AttributeDef_tie<T>::type_def (
- IR_IDLType_ptr type_def,
- CORBA::Environment &ACE_TRY_ENV
- )
- ACE_THROW_SPEC ((
- CORBA::SystemException
- ))
-{
- this->ptr_->type_def (
- type_def,
- ACE_TRY_ENV
- );
-}
-
-template <class T> ACE_INLINE
-IR::AttributeMode POA_IR::AttributeDef_tie<T>::mode (
- CORBA::Environment &ACE_TRY_ENV
- )
- ACE_THROW_SPEC ((
- CORBA::SystemException
- ))
-{
- return this->ptr_->mode (
- ACE_TRY_ENV
- );
-}
-
-template <class T> ACE_INLINE
-void POA_IR::AttributeDef_tie<T>::mode (
- IR_AttributeMode mode,
- CORBA::Environment &ACE_TRY_ENV
- )
- ACE_THROW_SPEC ((
- CORBA::SystemException
- ))
-{
- this->ptr_->mode (
- mode,
- ACE_TRY_ENV
- );
-}
-
-template <class T> ACE_INLINE
-char * POA_IR::AttributeDef_tie<T>::id (
- CORBA::Environment &ACE_TRY_ENV
- )
- ACE_THROW_SPEC ((
- CORBA::SystemException
- ))
-{
- return this->ptr_->id (
- ACE_TRY_ENV
- );
-}
-
-template <class T> ACE_INLINE
-void POA_IR::AttributeDef_tie<T>::id (
- const char * id,
- CORBA::Environment &ACE_TRY_ENV
- )
- ACE_THROW_SPEC ((
- CORBA::SystemException
- ))
-{
- this->ptr_->id (
- id,
- ACE_TRY_ENV
- );
-}
-
-template <class T> ACE_INLINE
-char * POA_IR::AttributeDef_tie<T>::name (
- CORBA::Environment &ACE_TRY_ENV
- )
- ACE_THROW_SPEC ((
- CORBA::SystemException
- ))
-{
- return this->ptr_->name (
- ACE_TRY_ENV
- );
-}
-
-template <class T> ACE_INLINE
-void POA_IR::AttributeDef_tie<T>::name (
- const char * name,
- CORBA::Environment &ACE_TRY_ENV
- )
- ACE_THROW_SPEC ((
- CORBA::SystemException
- ))
-{
- this->ptr_->name (
- name,
- ACE_TRY_ENV
- );
-}
-
-template <class T> ACE_INLINE
-char * POA_IR::AttributeDef_tie<T>::version (
- CORBA::Environment &ACE_TRY_ENV
- )
- ACE_THROW_SPEC ((
- CORBA::SystemException
- ))
-{
- return this->ptr_->version (
- ACE_TRY_ENV
- );
-}
-
-template <class T> ACE_INLINE
-void POA_IR::AttributeDef_tie<T>::version (
- const char * version,
- CORBA::Environment &ACE_TRY_ENV
- )
- ACE_THROW_SPEC ((
- CORBA::SystemException
- ))
-{
- this->ptr_->version (
- version,
- ACE_TRY_ENV
- );
-}
-
-template <class T> ACE_INLINE
-IR::Container_ptr POA_IR::AttributeDef_tie<T>::defined_in (
- CORBA::Environment &ACE_TRY_ENV
- )
- ACE_THROW_SPEC ((
- CORBA::SystemException
- ))
-{
- return this->ptr_->defined_in (
- ACE_TRY_ENV
- );
-}
-
-template <class T> ACE_INLINE
-char * POA_IR::AttributeDef_tie<T>::absolute_name (
- CORBA::Environment &ACE_TRY_ENV
- )
- ACE_THROW_SPEC ((
- CORBA::SystemException
- ))
-{
- return this->ptr_->absolute_name (
- ACE_TRY_ENV
- );
-}
-
-template <class T> ACE_INLINE
-IR::Repository_ptr POA_IR::AttributeDef_tie<T>::containing_repository (
- CORBA::Environment &ACE_TRY_ENV
- )
- ACE_THROW_SPEC ((
- CORBA::SystemException
- ))
-{
- return this->ptr_->containing_repository (
- ACE_TRY_ENV
- );
-}
-
-template <class T> ACE_INLINE
-IR::Contained::Description * POA_IR::AttributeDef_tie<T>::describe (
- CORBA::Environment &ACE_TRY_ENV
- )
- ACE_THROW_SPEC ((
- CORBA::SystemException
- ))
-{
- return this->ptr_->describe (
- ACE_TRY_ENV
- );
-}
-
-template <class T> ACE_INLINE
-void POA_IR::AttributeDef_tie<T>::move (
- IR_Container_ptr new_container,
- const char * new_name,
- const char * new_version,
- CORBA::Environment &ACE_TRY_ENV
- )
- ACE_THROW_SPEC ((
- CORBA::SystemException
- ))
-{
- this->ptr_->move (
- new_container,
- new_name,
- new_version,
- ACE_TRY_ENV
- );
-}
-
-template <class T> ACE_INLINE
-IR::DefinitionKind POA_IR::AttributeDef_tie<T>::def_kind (
- CORBA::Environment &ACE_TRY_ENV
- )
- ACE_THROW_SPEC ((
- CORBA::SystemException
- ))
-{
- return this->ptr_->def_kind (
- ACE_TRY_ENV
- );
-}
-
-template <class T> ACE_INLINE
-void POA_IR::AttributeDef_tie<T>::destroy (
- CORBA::Environment &ACE_TRY_ENV
- )
- ACE_THROW_SPEC ((
- CORBA::SystemException
- ))
-{
- this->ptr_->destroy (
- ACE_TRY_ENV
- );
-}
-
-#endif /* ACE_HAS_USING_KEYWORD */
-
-#if defined (ACE_HAS_USING_KEYWORD)
-template <class T> ACE_INLINE
-POA_IR::OperationDef_tie<T>::OperationDef_tie (T &t)
- : ptr_ (&t),
- poa_ (PortableServer::POA::_nil ()),
- rel_ (0)
-{}
-
-template <class T> ACE_INLINE
-POA_IR::OperationDef_tie<T>::OperationDef_tie (T &t, PortableServer::POA_ptr poa)
- : ptr_ (&t),
- poa_ (PortableServer::POA::_duplicate (poa)),
- rel_ (0)
-{}
-
-template <class T> ACE_INLINE
-POA_IR::OperationDef_tie<T>::OperationDef_tie (T *tp, CORBA::Boolean release)
- : ptr_ (tp),
- poa_ (PortableServer::POA::_nil ()),
- rel_ (release)
-{}
-
-template <class T> ACE_INLINE
-POA_IR::OperationDef_tie<T>::OperationDef_tie (T *tp, PortableServer::POA_ptr poa, CORBA::Boolean release)
- : ptr_ (tp),
- poa_ (PortableServer::POA::_duplicate (poa)),
- rel_ (release)
-{}
-
-template <class T> ACE_INLINE
-POA_IR::OperationDef_tie<T>::~OperationDef_tie (void)
-{
- if (this->rel_) delete this->ptr_;
-}
-
-template <class T> ACE_INLINE T *
-POA_IR::OperationDef_tie<T>::_tied_object (void)
-{
- return this->ptr_;
-}
-
-template <class T> ACE_INLINE void
-POA_IR::OperationDef_tie<T>::_tied_object (T &obj)
-{
- if (this->rel_) delete this->ptr_;
- this->ptr_ = &obj;
- this->rel_ = 0;
-}
-
-template <class T> ACE_INLINE void
-POA_IR::OperationDef_tie<T>::_tied_object (T *obj, CORBA::Boolean release)
-{
- if (this->rel_) delete this->ptr_;
- this->ptr_ = obj;
- this->rel_ = release;
-}
-
-template <class T> ACE_INLINE CORBA::Boolean
-POA_IR::OperationDef_tie<T>::_is_owner (void)
-{
- return this->rel_;
-}
-
-template <class T> ACE_INLINE void
-POA_IR::OperationDef_tie<T>::_is_owner (CORBA::Boolean b)
-{
- this->rel_ = b;
-}
-
-template <class T> ACE_INLINE PortableServer::POA_ptr
-POA_IR::OperationDef_tie<T>::_default_POA (CORBA::Environment &env)
-{
- if (!CORBA::is_nil (this->poa_.in ()))
- return PortableServer::POA::_duplicate (this->poa_.in ());
-
- return this->OperationDef::_default_POA (env);
-}
-
-template <class T> ACE_INLINE
-CORBA::TypeCode_ptr POA_IR::OperationDef_tie<T>::result (
- CORBA::Environment &ACE_TRY_ENV
- )
- ACE_THROW_SPEC ((
- CORBA::SystemException
- ))
-{
- return this->ptr_->result (
- ACE_TRY_ENV
- );
-}
-
-template <class T> ACE_INLINE
-IR::IDLType_ptr POA_IR::OperationDef_tie<T>::result_def (
- CORBA::Environment &ACE_TRY_ENV
- )
- ACE_THROW_SPEC ((
- CORBA::SystemException
- ))
-{
- return this->ptr_->result_def (
- ACE_TRY_ENV
- );
-}
-
-template <class T> ACE_INLINE
-void POA_IR::OperationDef_tie<T>::result_def (
- IR_IDLType_ptr result_def,
- CORBA::Environment &ACE_TRY_ENV
- )
- ACE_THROW_SPEC ((
- CORBA::SystemException
- ))
-{
- this->ptr_->result_def (
- result_def,
- ACE_TRY_ENV
- );
-}
-
-template <class T> ACE_INLINE
-IR::ParDescriptionSeq * POA_IR::OperationDef_tie<T>::params (
- CORBA::Environment &ACE_TRY_ENV
- )
- ACE_THROW_SPEC ((
- CORBA::SystemException
- ))
-{
- return this->ptr_->params (
- ACE_TRY_ENV
- );
-}
-
-template <class T> ACE_INLINE
-void POA_IR::OperationDef_tie<T>::params (
- const IR_ParDescriptionSeq & params,
- CORBA::Environment &ACE_TRY_ENV
- )
- ACE_THROW_SPEC ((
- CORBA::SystemException
- ))
-{
- this->ptr_->params (
- params,
- ACE_TRY_ENV
- );
-}
-
-template <class T> ACE_INLINE
-IR::OperationMode POA_IR::OperationDef_tie<T>::mode (
- CORBA::Environment &ACE_TRY_ENV
- )
- ACE_THROW_SPEC ((
- CORBA::SystemException
- ))
-{
- return this->ptr_->mode (
- ACE_TRY_ENV
- );
-}
-
-template <class T> ACE_INLINE
-void POA_IR::OperationDef_tie<T>::mode (
- IR_OperationMode mode,
- CORBA::Environment &ACE_TRY_ENV
- )
- ACE_THROW_SPEC ((
- CORBA::SystemException
- ))
-{
- this->ptr_->mode (
- mode,
- ACE_TRY_ENV
- );
-}
-
-template <class T> ACE_INLINE
-IR::ContextIdSeq * POA_IR::OperationDef_tie<T>::contexts (
- CORBA::Environment &ACE_TRY_ENV
- )
- ACE_THROW_SPEC ((
- CORBA::SystemException
- ))
-{
- return this->ptr_->contexts (
- ACE_TRY_ENV
- );
-}
-
-template <class T> ACE_INLINE
-void POA_IR::OperationDef_tie<T>::contexts (
- const IR_ContextIdSeq & contexts,
- CORBA::Environment &ACE_TRY_ENV
- )
- ACE_THROW_SPEC ((
- CORBA::SystemException
- ))
-{
- this->ptr_->contexts (
- contexts,
- ACE_TRY_ENV
- );
-}
-
-template <class T> ACE_INLINE
-IR::ExceptionDefSeq * POA_IR::OperationDef_tie<T>::exceptions (
- CORBA::Environment &ACE_TRY_ENV
- )
- ACE_THROW_SPEC ((
- CORBA::SystemException
- ))
-{
- return this->ptr_->exceptions (
- ACE_TRY_ENV
- );
-}
-
-template <class T> ACE_INLINE
-void POA_IR::OperationDef_tie<T>::exceptions (
- const IR_ExceptionDefSeq & exceptions,
- CORBA::Environment &ACE_TRY_ENV
- )
- ACE_THROW_SPEC ((
- CORBA::SystemException
- ))
-{
- this->ptr_->exceptions (
- exceptions,
- ACE_TRY_ENV
- );
-}
-
-template <class T> ACE_INLINE
-char * POA_IR::OperationDef_tie<T>::id (
- CORBA::Environment &ACE_TRY_ENV
- )
- ACE_THROW_SPEC ((
- CORBA::SystemException
- ))
-{
- return this->ptr_->id (
- ACE_TRY_ENV
- );
-}
-
-template <class T> ACE_INLINE
-void POA_IR::OperationDef_tie<T>::id (
- const char * id,
- CORBA::Environment &ACE_TRY_ENV
- )
- ACE_THROW_SPEC ((
- CORBA::SystemException
- ))
-{
- this->ptr_->id (
- id,
- ACE_TRY_ENV
- );
-}
-
-template <class T> ACE_INLINE
-char * POA_IR::OperationDef_tie<T>::name (
- CORBA::Environment &ACE_TRY_ENV
- )
- ACE_THROW_SPEC ((
- CORBA::SystemException
- ))
-{
- return this->ptr_->name (
- ACE_TRY_ENV
- );
-}
-
-template <class T> ACE_INLINE
-void POA_IR::OperationDef_tie<T>::name (
- const char * name,
- CORBA::Environment &ACE_TRY_ENV
- )
- ACE_THROW_SPEC ((
- CORBA::SystemException
- ))
-{
- this->ptr_->name (
- name,
- ACE_TRY_ENV
- );
-}
-
-template <class T> ACE_INLINE
-char * POA_IR::OperationDef_tie<T>::version (
- CORBA::Environment &ACE_TRY_ENV
- )
- ACE_THROW_SPEC ((
- CORBA::SystemException
- ))
-{
- return this->ptr_->version (
- ACE_TRY_ENV
- );
-}
-
-template <class T> ACE_INLINE
-void POA_IR::OperationDef_tie<T>::version (
- const char * version,
- CORBA::Environment &ACE_TRY_ENV
- )
- ACE_THROW_SPEC ((
- CORBA::SystemException
- ))
-{
- this->ptr_->version (
- version,
- ACE_TRY_ENV
- );
-}
-
-template <class T> ACE_INLINE
-IR::Container_ptr POA_IR::OperationDef_tie<T>::defined_in (
- CORBA::Environment &ACE_TRY_ENV
- )
- ACE_THROW_SPEC ((
- CORBA::SystemException
- ))
-{
- return this->ptr_->defined_in (
- ACE_TRY_ENV
- );
-}
-
-template <class T> ACE_INLINE
-char * POA_IR::OperationDef_tie<T>::absolute_name (
- CORBA::Environment &ACE_TRY_ENV
- )
- ACE_THROW_SPEC ((
- CORBA::SystemException
- ))
-{
- return this->ptr_->absolute_name (
- ACE_TRY_ENV
- );
-}
-
-template <class T> ACE_INLINE
-IR::Repository_ptr POA_IR::OperationDef_tie<T>::containing_repository (
- CORBA::Environment &ACE_TRY_ENV
- )
- ACE_THROW_SPEC ((
- CORBA::SystemException
- ))
-{
- return this->ptr_->containing_repository (
- ACE_TRY_ENV
- );
-}
-
-template <class T> ACE_INLINE
-IR::Contained::Description * POA_IR::OperationDef_tie<T>::describe (
- CORBA::Environment &ACE_TRY_ENV
- )
- ACE_THROW_SPEC ((
- CORBA::SystemException
- ))
-{
- return this->ptr_->describe (
- ACE_TRY_ENV
- );
-}
-
-template <class T> ACE_INLINE
-void POA_IR::OperationDef_tie<T>::move (
- IR_Container_ptr new_container,
- const char * new_name,
- const char * new_version,
- CORBA::Environment &ACE_TRY_ENV
- )
- ACE_THROW_SPEC ((
- CORBA::SystemException
- ))
-{
- this->ptr_->move (
- new_container,
- new_name,
- new_version,
- ACE_TRY_ENV
- );
-}
-
-template <class T> ACE_INLINE
-IR::DefinitionKind POA_IR::OperationDef_tie<T>::def_kind (
- CORBA::Environment &ACE_TRY_ENV
- )
- ACE_THROW_SPEC ((
- CORBA::SystemException
- ))
-{
- return this->ptr_->def_kind (
- ACE_TRY_ENV
- );
-}
-
-template <class T> ACE_INLINE
-void POA_IR::OperationDef_tie<T>::destroy (
- CORBA::Environment &ACE_TRY_ENV
- )
- ACE_THROW_SPEC ((
- CORBA::SystemException
- ))
-{
- this->ptr_->destroy (
- ACE_TRY_ENV
- );
-}
-
-#endif /* ACE_HAS_USING_KEYWORD */
-
-#if defined (ACE_HAS_USING_KEYWORD)
-template <class T> ACE_INLINE
-POA_IR::InterfaceDef_tie<T>::InterfaceDef_tie (T &t)
- : ptr_ (&t),
- poa_ (PortableServer::POA::_nil ()),
- rel_ (0)
-{}
-
-template <class T> ACE_INLINE
-POA_IR::InterfaceDef_tie<T>::InterfaceDef_tie (T &t, PortableServer::POA_ptr poa)
- : ptr_ (&t),
- poa_ (PortableServer::POA::_duplicate (poa)),
- rel_ (0)
-{}
-
-template <class T> ACE_INLINE
-POA_IR::InterfaceDef_tie<T>::InterfaceDef_tie (T *tp, CORBA::Boolean release)
- : ptr_ (tp),
- poa_ (PortableServer::POA::_nil ()),
- rel_ (release)
-{}
-
-template <class T> ACE_INLINE
-POA_IR::InterfaceDef_tie<T>::InterfaceDef_tie (T *tp, PortableServer::POA_ptr poa, CORBA::Boolean release)
- : ptr_ (tp),
- poa_ (PortableServer::POA::_duplicate (poa)),
- rel_ (release)
-{}
-
-template <class T> ACE_INLINE
-POA_IR::InterfaceDef_tie<T>::~InterfaceDef_tie (void)
-{
- if (this->rel_) delete this->ptr_;
-}
-
-template <class T> ACE_INLINE T *
-POA_IR::InterfaceDef_tie<T>::_tied_object (void)
-{
- return this->ptr_;
-}
-
-template <class T> ACE_INLINE void
-POA_IR::InterfaceDef_tie<T>::_tied_object (T &obj)
-{
- if (this->rel_) delete this->ptr_;
- this->ptr_ = &obj;
- this->rel_ = 0;
-}
-
-template <class T> ACE_INLINE void
-POA_IR::InterfaceDef_tie<T>::_tied_object (T *obj, CORBA::Boolean release)
-{
- if (this->rel_) delete this->ptr_;
- this->ptr_ = obj;
- this->rel_ = release;
-}
-
-template <class T> ACE_INLINE CORBA::Boolean
-POA_IR::InterfaceDef_tie<T>::_is_owner (void)
-{
- return this->rel_;
-}
-
-template <class T> ACE_INLINE void
-POA_IR::InterfaceDef_tie<T>::_is_owner (CORBA::Boolean b)
-{
- this->rel_ = b;
-}
-
-template <class T> ACE_INLINE PortableServer::POA_ptr
-POA_IR::InterfaceDef_tie<T>::_default_POA (CORBA::Environment &env)
-{
- if (!CORBA::is_nil (this->poa_.in ()))
- return PortableServer::POA::_duplicate (this->poa_.in ());
-
- return this->InterfaceDef::_default_POA (env);
-}
-
-template <class T> ACE_INLINE
-IR::InterfaceDefSeq * POA_IR::InterfaceDef_tie<T>::base_interfaces (
- CORBA::Environment &ACE_TRY_ENV
- )
- ACE_THROW_SPEC ((
- CORBA::SystemException
- ))
-{
- return this->ptr_->base_interfaces (
- ACE_TRY_ENV
- );
-}
-
-template <class T> ACE_INLINE
-void POA_IR::InterfaceDef_tie<T>::base_interfaces (
- const IR_InterfaceDefSeq & base_interfaces,
- CORBA::Environment &ACE_TRY_ENV
- )
- ACE_THROW_SPEC ((
- CORBA::SystemException
- ))
-{
- this->ptr_->base_interfaces (
- base_interfaces,
- ACE_TRY_ENV
- );
-}
-
-template <class T> ACE_INLINE
-CORBA::Boolean POA_IR::InterfaceDef_tie<T>::is_abstract (
- CORBA::Environment &ACE_TRY_ENV
- )
- ACE_THROW_SPEC ((
- CORBA::SystemException
- ))
-{
- return this->ptr_->is_abstract (
- ACE_TRY_ENV
- );
-}
-
-template <class T> ACE_INLINE
-void POA_IR::InterfaceDef_tie<T>::is_abstract (
- CORBA::Boolean is_abstract,
- CORBA::Environment &ACE_TRY_ENV
- )
- ACE_THROW_SPEC ((
- CORBA::SystemException
- ))
-{
- this->ptr_->is_abstract (
- is_abstract,
- ACE_TRY_ENV
- );
-}
-
-template <class T> ACE_INLINE
-CORBA::Boolean POA_IR::InterfaceDef_tie<T>::is_local (
- CORBA::Environment &ACE_TRY_ENV
- )
- ACE_THROW_SPEC ((
- CORBA::SystemException
- ))
-{
- return this->ptr_->is_local (
- ACE_TRY_ENV
- );
-}
-
-template <class T> ACE_INLINE
-void POA_IR::InterfaceDef_tie<T>::is_local (
- CORBA::Boolean is_local,
- CORBA::Environment &ACE_TRY_ENV
- )
- ACE_THROW_SPEC ((
- CORBA::SystemException
- ))
-{
- this->ptr_->is_local (
- is_local,
- ACE_TRY_ENV
- );
-}
-
-template <class T> ACE_INLINE
-CORBA::Boolean POA_IR::InterfaceDef_tie<T>::is_a (
- const char * interface_id,
- CORBA::Environment &ACE_TRY_ENV
- )
- ACE_THROW_SPEC ((
- CORBA::SystemException
- ))
-{
- return this->ptr_->is_a (
- interface_id,
- ACE_TRY_ENV
- );
-}
-
-template <class T> ACE_INLINE
-IR::AttributeDef_ptr POA_IR::InterfaceDef_tie<T>::create_attribute (
- const char * id,
- const char * name,
- const char * version,
- IR_IDLType_ptr type,
- IR_AttributeMode mode,
- const IR_ExceptionDefSeq & get_exceptions,
- const IR_ExceptionDefSeq & put_exceptions,
- CORBA::Environment &ACE_TRY_ENV
- )
- ACE_THROW_SPEC ((
- CORBA::SystemException
- ))
-{
- return this->ptr_->create_attribute (
- id,
- name,
- version,
- type,
- mode,
- get_exceptions,
- put_exceptions,
- ACE_TRY_ENV
- );
-}
-
-template <class T> ACE_INLINE
-IR::OperationDef_ptr POA_IR::InterfaceDef_tie<T>::create_operation (
- const char * id,
- const char * name,
- const char * version,
- IR_IDLType_ptr result,
- IR_OperationMode mode,
- const IR_ParDescriptionSeq & params,
- const IR_ExceptionDefSeq & exceptions,
- const IR_ContextIdSeq & contexts,
- CORBA::Environment &ACE_TRY_ENV
- )
- ACE_THROW_SPEC ((
- CORBA::SystemException
- ))
-{
- return this->ptr_->create_operation (
- id,
- name,
- version,
- result,
- mode,
- params,
- exceptions,
- contexts,
- ACE_TRY_ENV
- );
-}
-
-template <class T> ACE_INLINE
-IR::Contained_ptr POA_IR::InterfaceDef_tie<T>::lookup (
- const char * search_name,
- CORBA::Environment &ACE_TRY_ENV
- )
- ACE_THROW_SPEC ((
- CORBA::SystemException
- ))
-{
- return this->ptr_->lookup (
- search_name,
- ACE_TRY_ENV
- );
-}
-
-template <class T> ACE_INLINE
-IR::ContainedSeq * POA_IR::InterfaceDef_tie<T>::contents (
- IR_DefinitionKind limit_type,
- CORBA::Boolean exclude_inherited,
- CORBA::Environment &ACE_TRY_ENV
- )
- ACE_THROW_SPEC ((
- CORBA::SystemException
- ))
-{
- return this->ptr_->contents (
- limit_type,
- exclude_inherited,
- ACE_TRY_ENV
- );
-}
-
-template <class T> ACE_INLINE
-IR::ContainedSeq * POA_IR::InterfaceDef_tie<T>::lookup_name (
- const char * search_name,
- CORBA::Long levels_to_search,
- IR_DefinitionKind limit_type,
- CORBA::Boolean exclude_inherited,
- CORBA::Environment &ACE_TRY_ENV
- )
- ACE_THROW_SPEC ((
- CORBA::SystemException
- ))
-{
- return this->ptr_->lookup_name (
- search_name,
- levels_to_search,
- limit_type,
- exclude_inherited,
- ACE_TRY_ENV
- );
-}
-
-template <class T> ACE_INLINE
-IR::Container::DescriptionSeq * POA_IR::InterfaceDef_tie<T>::describe_contents (
- IR_DefinitionKind limit_type,
- CORBA::Boolean exclude_inherited,
- CORBA::Long max_returned_objs,
- CORBA::Environment &ACE_TRY_ENV
- )
- ACE_THROW_SPEC ((
- CORBA::SystemException
- ))
-{
- return this->ptr_->describe_contents (
- limit_type,
- exclude_inherited,
- max_returned_objs,
- ACE_TRY_ENV
- );
-}
-
-template <class T> ACE_INLINE
-IR::ModuleDef_ptr POA_IR::InterfaceDef_tie<T>::create_module (
- const char * id,
- const char * name,
- const char * version,
- CORBA::Environment &ACE_TRY_ENV
- )
- ACE_THROW_SPEC ((
- CORBA::SystemException
- ))
-{
- return this->ptr_->create_module (
- id,
- name,
- version,
- ACE_TRY_ENV
- );
-}
-
-template <class T> ACE_INLINE
-IR::ConstantDef_ptr POA_IR::InterfaceDef_tie<T>::create_constant (
- const char * id,
- const char * name,
- const char * version,
- IR_IDLType_ptr type,
- const CORBA::Any & value,
- CORBA::Environment &ACE_TRY_ENV
- )
- ACE_THROW_SPEC ((
- CORBA::SystemException
- ))
-{
- return this->ptr_->create_constant (
- id,
- name,
- version,
- type,
- value,
- ACE_TRY_ENV
- );
-}
-
-template <class T> ACE_INLINE
-IR::StructDef_ptr POA_IR::InterfaceDef_tie<T>::create_struct (
- const char * id,
- const char * name,
- const char * version,
- const IR_StructMemberSeq & members,
- CORBA::Environment &ACE_TRY_ENV
- )
- ACE_THROW_SPEC ((
- CORBA::SystemException
- ))
-{
- return this->ptr_->create_struct (
- id,
- name,
- version,
- members,
- ACE_TRY_ENV
- );
-}
-
-template <class T> ACE_INLINE
-IR::UnionDef_ptr POA_IR::InterfaceDef_tie<T>::create_union (
- const char * id,
- const char * name,
- const char * version,
- IR_IDLType_ptr discriminator_type,
- const IR_UnionMemberSeq & members,
- CORBA::Environment &ACE_TRY_ENV
- )
- ACE_THROW_SPEC ((
- CORBA::SystemException
- ))
-{
- return this->ptr_->create_union (
- id,
- name,
- version,
- discriminator_type,
- members,
- ACE_TRY_ENV
- );
-}
-
-template <class T> ACE_INLINE
-IR::EnumDef_ptr POA_IR::InterfaceDef_tie<T>::create_enum (
- const char * id,
- const char * name,
- const char * version,
- const IR_EnumMemberSeq & members,
- CORBA::Environment &ACE_TRY_ENV
- )
- ACE_THROW_SPEC ((
- CORBA::SystemException
- ))
-{
- return this->ptr_->create_enum (
- id,
- name,
- version,
- members,
- ACE_TRY_ENV
- );
-}
-
-template <class T> ACE_INLINE
-IR::AliasDef_ptr POA_IR::InterfaceDef_tie<T>::create_alias (
- const char * id,
- const char * name,
- const char * version,
- IR_IDLType_ptr original_type,
- CORBA::Environment &ACE_TRY_ENV
- )
- ACE_THROW_SPEC ((
- CORBA::SystemException
- ))
-{
- return this->ptr_->create_alias (
- id,
- name,
- version,
- original_type,
- ACE_TRY_ENV
- );
-}
-
-template <class T> ACE_INLINE
-IR::InterfaceDef_ptr POA_IR::InterfaceDef_tie<T>::create_interface (
- const char * id,
- const char * name,
- const char * version,
- const IR_InterfaceDefSeq & base_interfaces,
- CORBA::Boolean is_abstract,
- CORBA::Boolean is_local,
- CORBA::Environment &ACE_TRY_ENV
- )
- ACE_THROW_SPEC ((
- CORBA::SystemException
- ))
-{
- return this->ptr_->create_interface (
- id,
- name,
- version,
- base_interfaces,
- is_abstract,
- is_local,
- ACE_TRY_ENV
- );
-}
-
-template <class T> ACE_INLINE
-IR::ValueDef_ptr POA_IR::InterfaceDef_tie<T>::create_value (
- const char * id,
- const char * name,
- const char * version,
- CORBA::Boolean is_custom,
- CORBA::Boolean is_abstract,
- IR_ValueDef_ptr base_value,
- CORBA::Boolean is_truncatable,
- const IR_ValueDefSeq & abstract_base_values,
- const IR_InterfaceDefSeq & supported_interfaces,
- const IR_InitializerSeq & initializers,
- CORBA::Environment &ACE_TRY_ENV
- )
- ACE_THROW_SPEC ((
- CORBA::SystemException
- ))
-{
- return this->ptr_->create_value (
- id,
- name,
- version,
- is_custom,
- is_abstract,
- base_value,
- is_truncatable,
- abstract_base_values,
- supported_interfaces,
- initializers,
- ACE_TRY_ENV
- );
-}
-
-template <class T> ACE_INLINE
-IR::ValueBoxDef_ptr POA_IR::InterfaceDef_tie<T>::create_value_box (
- const char * id,
- const char * name,
- const char * version,
- IR_IDLType_ptr original_type_def,
- CORBA::Environment &ACE_TRY_ENV
- )
- ACE_THROW_SPEC ((
- CORBA::SystemException
- ))
-{
- return this->ptr_->create_value_box (
- id,
- name,
- version,
- original_type_def,
- ACE_TRY_ENV
- );
-}
-
-template <class T> ACE_INLINE
-IR::ExceptionDef_ptr POA_IR::InterfaceDef_tie<T>::create_exception (
- const char * id,
- const char * name,
- const char * version,
- const IR_StructMemberSeq & members,
- CORBA::Environment &ACE_TRY_ENV
- )
- ACE_THROW_SPEC ((
- CORBA::SystemException
- ))
-{
- return this->ptr_->create_exception (
- id,
- name,
- version,
- members,
- ACE_TRY_ENV
- );
-}
-
-template <class T> ACE_INLINE
-IR::NativeDef_ptr POA_IR::InterfaceDef_tie<T>::create_native (
- const char * id,
- const char * name,
- const char * version,
- CORBA::Environment &ACE_TRY_ENV
- )
- ACE_THROW_SPEC ((
- CORBA::SystemException
- ))
-{
- return this->ptr_->create_native (
- id,
- name,
- version,
- ACE_TRY_ENV
- );
-}
-
-template <class T> ACE_INLINE
-char * POA_IR::InterfaceDef_tie<T>::id (
- CORBA::Environment &ACE_TRY_ENV
- )
- ACE_THROW_SPEC ((
- CORBA::SystemException
- ))
-{
- return this->ptr_->id (
- ACE_TRY_ENV
- );
-}
-
-template <class T> ACE_INLINE
-void POA_IR::InterfaceDef_tie<T>::id (
- const char * id,
- CORBA::Environment &ACE_TRY_ENV
- )
- ACE_THROW_SPEC ((
- CORBA::SystemException
- ))
-{
- this->ptr_->id (
- id,
- ACE_TRY_ENV
- );
-}
-
-template <class T> ACE_INLINE
-char * POA_IR::InterfaceDef_tie<T>::name (
- CORBA::Environment &ACE_TRY_ENV
- )
- ACE_THROW_SPEC ((
- CORBA::SystemException
- ))
-{
- return this->ptr_->name (
- ACE_TRY_ENV
- );
-}
-
-template <class T> ACE_INLINE
-void POA_IR::InterfaceDef_tie<T>::name (
- const char * name,
- CORBA::Environment &ACE_TRY_ENV
- )
- ACE_THROW_SPEC ((
- CORBA::SystemException
- ))
-{
- this->ptr_->name (
- name,
- ACE_TRY_ENV
- );
-}
-
-template <class T> ACE_INLINE
-char * POA_IR::InterfaceDef_tie<T>::version (
- CORBA::Environment &ACE_TRY_ENV
- )
- ACE_THROW_SPEC ((
- CORBA::SystemException
- ))
-{
- return this->ptr_->version (
- ACE_TRY_ENV
- );
-}
-
-template <class T> ACE_INLINE
-void POA_IR::InterfaceDef_tie<T>::version (
- const char * version,
- CORBA::Environment &ACE_TRY_ENV
- )
- ACE_THROW_SPEC ((
- CORBA::SystemException
- ))
-{
- this->ptr_->version (
- version,
- ACE_TRY_ENV
- );
-}
-
-template <class T> ACE_INLINE
-IR::Container_ptr POA_IR::InterfaceDef_tie<T>::defined_in (
- CORBA::Environment &ACE_TRY_ENV
- )
- ACE_THROW_SPEC ((
- CORBA::SystemException
- ))
-{
- return this->ptr_->defined_in (
- ACE_TRY_ENV
- );
-}
-
-template <class T> ACE_INLINE
-char * POA_IR::InterfaceDef_tie<T>::absolute_name (
- CORBA::Environment &ACE_TRY_ENV
- )
- ACE_THROW_SPEC ((
- CORBA::SystemException
- ))
-{
- return this->ptr_->absolute_name (
- ACE_TRY_ENV
- );
-}
-
-template <class T> ACE_INLINE
-IR::Repository_ptr POA_IR::InterfaceDef_tie<T>::containing_repository (
- CORBA::Environment &ACE_TRY_ENV
- )
- ACE_THROW_SPEC ((
- CORBA::SystemException
- ))
-{
- return this->ptr_->containing_repository (
- ACE_TRY_ENV
- );
-}
-
-template <class T> ACE_INLINE
-IR::Contained::Description * POA_IR::InterfaceDef_tie<T>::describe (
- CORBA::Environment &ACE_TRY_ENV
- )
- ACE_THROW_SPEC ((
- CORBA::SystemException
- ))
-{
- return this->ptr_->describe (
- ACE_TRY_ENV
- );
-}
-
-template <class T> ACE_INLINE
-void POA_IR::InterfaceDef_tie<T>::move (
- IR_Container_ptr new_container,
- const char * new_name,
- const char * new_version,
- CORBA::Environment &ACE_TRY_ENV
- )
- ACE_THROW_SPEC ((
- CORBA::SystemException
- ))
-{
- this->ptr_->move (
- new_container,
- new_name,
- new_version,
- ACE_TRY_ENV
- );
-}
-
-template <class T> ACE_INLINE
-CORBA::TypeCode_ptr POA_IR::InterfaceDef_tie<T>::type (
- CORBA::Environment &ACE_TRY_ENV
- )
- ACE_THROW_SPEC ((
- CORBA::SystemException
- ))
-{
- return this->ptr_->type (
- ACE_TRY_ENV
- );
-}
-
-template <class T> ACE_INLINE
-IR::DefinitionKind POA_IR::InterfaceDef_tie<T>::def_kind (
- CORBA::Environment &ACE_TRY_ENV
- )
- ACE_THROW_SPEC ((
- CORBA::SystemException
- ))
-{
- return this->ptr_->def_kind (
- ACE_TRY_ENV
- );
-}
-
-template <class T> ACE_INLINE
-void POA_IR::InterfaceDef_tie<T>::destroy (
- CORBA::Environment &ACE_TRY_ENV
- )
- ACE_THROW_SPEC ((
- CORBA::SystemException
- ))
-{
- this->ptr_->destroy (
- ACE_TRY_ENV
- );
-}
-
-#endif /* ACE_HAS_USING_KEYWORD */
-
-#if defined (ACE_HAS_USING_KEYWORD)
-template <class T> ACE_INLINE
-POA_IR::ValueMemberDef_tie<T>::ValueMemberDef_tie (T &t)
- : ptr_ (&t),
- poa_ (PortableServer::POA::_nil ()),
- rel_ (0)
-{}
-
-template <class T> ACE_INLINE
-POA_IR::ValueMemberDef_tie<T>::ValueMemberDef_tie (T &t, PortableServer::POA_ptr poa)
- : ptr_ (&t),
- poa_ (PortableServer::POA::_duplicate (poa)),
- rel_ (0)
-{}
-
-template <class T> ACE_INLINE
-POA_IR::ValueMemberDef_tie<T>::ValueMemberDef_tie (T *tp, CORBA::Boolean release)
- : ptr_ (tp),
- poa_ (PortableServer::POA::_nil ()),
- rel_ (release)
-{}
-
-template <class T> ACE_INLINE
-POA_IR::ValueMemberDef_tie<T>::ValueMemberDef_tie (T *tp, PortableServer::POA_ptr poa, CORBA::Boolean release)
- : ptr_ (tp),
- poa_ (PortableServer::POA::_duplicate (poa)),
- rel_ (release)
-{}
-
-template <class T> ACE_INLINE
-POA_IR::ValueMemberDef_tie<T>::~ValueMemberDef_tie (void)
-{
- if (this->rel_) delete this->ptr_;
-}
-
-template <class T> ACE_INLINE T *
-POA_IR::ValueMemberDef_tie<T>::_tied_object (void)
-{
- return this->ptr_;
-}
-
-template <class T> ACE_INLINE void
-POA_IR::ValueMemberDef_tie<T>::_tied_object (T &obj)
-{
- if (this->rel_) delete this->ptr_;
- this->ptr_ = &obj;
- this->rel_ = 0;
-}
-
-template <class T> ACE_INLINE void
-POA_IR::ValueMemberDef_tie<T>::_tied_object (T *obj, CORBA::Boolean release)
-{
- if (this->rel_) delete this->ptr_;
- this->ptr_ = obj;
- this->rel_ = release;
-}
-
-template <class T> ACE_INLINE CORBA::Boolean
-POA_IR::ValueMemberDef_tie<T>::_is_owner (void)
-{
- return this->rel_;
-}
-
-template <class T> ACE_INLINE void
-POA_IR::ValueMemberDef_tie<T>::_is_owner (CORBA::Boolean b)
-{
- this->rel_ = b;
-}
-
-template <class T> ACE_INLINE PortableServer::POA_ptr
-POA_IR::ValueMemberDef_tie<T>::_default_POA (CORBA::Environment &env)
-{
- if (!CORBA::is_nil (this->poa_.in ()))
- return PortableServer::POA::_duplicate (this->poa_.in ());
-
- return this->ValueMemberDef::_default_POA (env);
-}
-
-template <class T> ACE_INLINE
-CORBA::TypeCode_ptr POA_IR::ValueMemberDef_tie<T>::type (
- CORBA::Environment &ACE_TRY_ENV
- )
- ACE_THROW_SPEC ((
- CORBA::SystemException
- ))
-{
- return this->ptr_->type (
- ACE_TRY_ENV
- );
-}
-
-template <class T> ACE_INLINE
-IR::IDLType_ptr POA_IR::ValueMemberDef_tie<T>::type_def (
- CORBA::Environment &ACE_TRY_ENV
- )
- ACE_THROW_SPEC ((
- CORBA::SystemException
- ))
-{
- return this->ptr_->type_def (
- ACE_TRY_ENV
- );
-}
-
-template <class T> ACE_INLINE
-void POA_IR::ValueMemberDef_tie<T>::type_def (
- IR_IDLType_ptr type_def,
- CORBA::Environment &ACE_TRY_ENV
- )
- ACE_THROW_SPEC ((
- CORBA::SystemException
- ))
-{
- this->ptr_->type_def (
- type_def,
- ACE_TRY_ENV
- );
-}
-
-template <class T> ACE_INLINE
-CORBA::Visibility POA_IR::ValueMemberDef_tie<T>::access (
- CORBA::Environment &ACE_TRY_ENV
- )
- ACE_THROW_SPEC ((
- CORBA::SystemException
- ))
-{
- return this->ptr_->access (
- ACE_TRY_ENV
- );
-}
-
-template <class T> ACE_INLINE
-void POA_IR::ValueMemberDef_tie<T>::access (
- CORBA::Visibility access,
- CORBA::Environment &ACE_TRY_ENV
- )
- ACE_THROW_SPEC ((
- CORBA::SystemException
- ))
-{
- this->ptr_->access (
- access,
- ACE_TRY_ENV
- );
-}
-
-template <class T> ACE_INLINE
-char * POA_IR::ValueMemberDef_tie<T>::id (
- CORBA::Environment &ACE_TRY_ENV
- )
- ACE_THROW_SPEC ((
- CORBA::SystemException
- ))
-{
- return this->ptr_->id (
- ACE_TRY_ENV
- );
-}
-
-template <class T> ACE_INLINE
-void POA_IR::ValueMemberDef_tie<T>::id (
- const char * id,
- CORBA::Environment &ACE_TRY_ENV
- )
- ACE_THROW_SPEC ((
- CORBA::SystemException
- ))
-{
- this->ptr_->id (
- id,
- ACE_TRY_ENV
- );
-}
-
-template <class T> ACE_INLINE
-char * POA_IR::ValueMemberDef_tie<T>::name (
- CORBA::Environment &ACE_TRY_ENV
- )
- ACE_THROW_SPEC ((
- CORBA::SystemException
- ))
-{
- return this->ptr_->name (
- ACE_TRY_ENV
- );
-}
-
-template <class T> ACE_INLINE
-void POA_IR::ValueMemberDef_tie<T>::name (
- const char * name,
- CORBA::Environment &ACE_TRY_ENV
- )
- ACE_THROW_SPEC ((
- CORBA::SystemException
- ))
-{
- this->ptr_->name (
- name,
- ACE_TRY_ENV
- );
-}
-
-template <class T> ACE_INLINE
-char * POA_IR::ValueMemberDef_tie<T>::version (
- CORBA::Environment &ACE_TRY_ENV
- )
- ACE_THROW_SPEC ((
- CORBA::SystemException
- ))
-{
- return this->ptr_->version (
- ACE_TRY_ENV
- );
-}
-
-template <class T> ACE_INLINE
-void POA_IR::ValueMemberDef_tie<T>::version (
- const char * version,
- CORBA::Environment &ACE_TRY_ENV
- )
- ACE_THROW_SPEC ((
- CORBA::SystemException
- ))
-{
- this->ptr_->version (
- version,
- ACE_TRY_ENV
- );
-}
-
-template <class T> ACE_INLINE
-IR::Container_ptr POA_IR::ValueMemberDef_tie<T>::defined_in (
- CORBA::Environment &ACE_TRY_ENV
- )
- ACE_THROW_SPEC ((
- CORBA::SystemException
- ))
-{
- return this->ptr_->defined_in (
- ACE_TRY_ENV
- );
-}
-
-template <class T> ACE_INLINE
-char * POA_IR::ValueMemberDef_tie<T>::absolute_name (
- CORBA::Environment &ACE_TRY_ENV
- )
- ACE_THROW_SPEC ((
- CORBA::SystemException
- ))
-{
- return this->ptr_->absolute_name (
- ACE_TRY_ENV
- );
-}
-
-template <class T> ACE_INLINE
-IR::Repository_ptr POA_IR::ValueMemberDef_tie<T>::containing_repository (
- CORBA::Environment &ACE_TRY_ENV
- )
- ACE_THROW_SPEC ((
- CORBA::SystemException
- ))
-{
- return this->ptr_->containing_repository (
- ACE_TRY_ENV
- );
-}
-
-template <class T> ACE_INLINE
-IR::Contained::Description * POA_IR::ValueMemberDef_tie<T>::describe (
- CORBA::Environment &ACE_TRY_ENV
- )
- ACE_THROW_SPEC ((
- CORBA::SystemException
- ))
-{
- return this->ptr_->describe (
- ACE_TRY_ENV
- );
-}
-
-template <class T> ACE_INLINE
-void POA_IR::ValueMemberDef_tie<T>::move (
- IR_Container_ptr new_container,
- const char * new_name,
- const char * new_version,
- CORBA::Environment &ACE_TRY_ENV
- )
- ACE_THROW_SPEC ((
- CORBA::SystemException
- ))
-{
- this->ptr_->move (
- new_container,
- new_name,
- new_version,
- ACE_TRY_ENV
- );
-}
-
-template <class T> ACE_INLINE
-IR::DefinitionKind POA_IR::ValueMemberDef_tie<T>::def_kind (
- CORBA::Environment &ACE_TRY_ENV
- )
- ACE_THROW_SPEC ((
- CORBA::SystemException
- ))
-{
- return this->ptr_->def_kind (
- ACE_TRY_ENV
- );
-}
-
-template <class T> ACE_INLINE
-void POA_IR::ValueMemberDef_tie<T>::destroy (
- CORBA::Environment &ACE_TRY_ENV
- )
- ACE_THROW_SPEC ((
- CORBA::SystemException
- ))
-{
- this->ptr_->destroy (
- ACE_TRY_ENV
- );
-}
-
-#endif /* ACE_HAS_USING_KEYWORD */
-
-#if defined (ACE_HAS_USING_KEYWORD)
-template <class T> ACE_INLINE
-POA_IR::ValueDef_tie<T>::ValueDef_tie (T &t)
- : ptr_ (&t),
- poa_ (PortableServer::POA::_nil ()),
- rel_ (0)
-{}
-
-template <class T> ACE_INLINE
-POA_IR::ValueDef_tie<T>::ValueDef_tie (T &t, PortableServer::POA_ptr poa)
- : ptr_ (&t),
- poa_ (PortableServer::POA::_duplicate (poa)),
- rel_ (0)
-{}
-
-template <class T> ACE_INLINE
-POA_IR::ValueDef_tie<T>::ValueDef_tie (T *tp, CORBA::Boolean release)
- : ptr_ (tp),
- poa_ (PortableServer::POA::_nil ()),
- rel_ (release)
-{}
-
-template <class T> ACE_INLINE
-POA_IR::ValueDef_tie<T>::ValueDef_tie (T *tp, PortableServer::POA_ptr poa, CORBA::Boolean release)
- : ptr_ (tp),
- poa_ (PortableServer::POA::_duplicate (poa)),
- rel_ (release)
-{}
-
-template <class T> ACE_INLINE
-POA_IR::ValueDef_tie<T>::~ValueDef_tie (void)
-{
- if (this->rel_) delete this->ptr_;
-}
-
-template <class T> ACE_INLINE T *
-POA_IR::ValueDef_tie<T>::_tied_object (void)
-{
- return this->ptr_;
-}
-
-template <class T> ACE_INLINE void
-POA_IR::ValueDef_tie<T>::_tied_object (T &obj)
-{
- if (this->rel_) delete this->ptr_;
- this->ptr_ = &obj;
- this->rel_ = 0;
-}
-
-template <class T> ACE_INLINE void
-POA_IR::ValueDef_tie<T>::_tied_object (T *obj, CORBA::Boolean release)
-{
- if (this->rel_) delete this->ptr_;
- this->ptr_ = obj;
- this->rel_ = release;
-}
-
-template <class T> ACE_INLINE CORBA::Boolean
-POA_IR::ValueDef_tie<T>::_is_owner (void)
-{
- return this->rel_;
-}
-
-template <class T> ACE_INLINE void
-POA_IR::ValueDef_tie<T>::_is_owner (CORBA::Boolean b)
-{
- this->rel_ = b;
-}
-
-template <class T> ACE_INLINE PortableServer::POA_ptr
-POA_IR::ValueDef_tie<T>::_default_POA (CORBA::Environment &env)
-{
- if (!CORBA::is_nil (this->poa_.in ()))
- return PortableServer::POA::_duplicate (this->poa_.in ());
-
- return this->ValueDef::_default_POA (env);
-}
-
-template <class T> ACE_INLINE
-IR::InterfaceDefSeq * POA_IR::ValueDef_tie<T>::supported_interfaces (
- CORBA::Environment &ACE_TRY_ENV
- )
- ACE_THROW_SPEC ((
- CORBA::SystemException
- ))
-{
- return this->ptr_->supported_interfaces (
- ACE_TRY_ENV
- );
-}
-
-template <class T> ACE_INLINE
-void POA_IR::ValueDef_tie<T>::supported_interfaces (
- const IR_InterfaceDefSeq & supported_interfaces,
- CORBA::Environment &ACE_TRY_ENV
- )
- ACE_THROW_SPEC ((
- CORBA::SystemException
- ))
-{
- this->ptr_->supported_interfaces (
- supported_interfaces,
- ACE_TRY_ENV
- );
-}
-
-template <class T> ACE_INLINE
-IR::InitializerSeq * POA_IR::ValueDef_tie<T>::initializers (
- CORBA::Environment &ACE_TRY_ENV
- )
- ACE_THROW_SPEC ((
- CORBA::SystemException
- ))
-{
- return this->ptr_->initializers (
- ACE_TRY_ENV
- );
-}
-
-template <class T> ACE_INLINE
-void POA_IR::ValueDef_tie<T>::initializers (
- const IR_InitializerSeq & initializers,
- CORBA::Environment &ACE_TRY_ENV
- )
- ACE_THROW_SPEC ((
- CORBA::SystemException
- ))
-{
- this->ptr_->initializers (
- initializers,
- ACE_TRY_ENV
- );
-}
-
-template <class T> ACE_INLINE
-IR::ValueDef_ptr POA_IR::ValueDef_tie<T>::base_value (
- CORBA::Environment &ACE_TRY_ENV
- )
- ACE_THROW_SPEC ((
- CORBA::SystemException
- ))
-{
- return this->ptr_->base_value (
- ACE_TRY_ENV
- );
-}
-
-template <class T> ACE_INLINE
-void POA_IR::ValueDef_tie<T>::base_value (
- IR_ValueDef_ptr base_value,
- CORBA::Environment &ACE_TRY_ENV
- )
- ACE_THROW_SPEC ((
- CORBA::SystemException
- ))
-{
- this->ptr_->base_value (
- base_value,
- ACE_TRY_ENV
- );
-}
-
-template <class T> ACE_INLINE
-IR::ValueDefSeq * POA_IR::ValueDef_tie<T>::abstract_base_values (
- CORBA::Environment &ACE_TRY_ENV
- )
- ACE_THROW_SPEC ((
- CORBA::SystemException
- ))
-{
- return this->ptr_->abstract_base_values (
- ACE_TRY_ENV
- );
-}
-
-template <class T> ACE_INLINE
-void POA_IR::ValueDef_tie<T>::abstract_base_values (
- const IR_ValueDefSeq & abstract_base_values,
- CORBA::Environment &ACE_TRY_ENV
- )
- ACE_THROW_SPEC ((
- CORBA::SystemException
- ))
-{
- this->ptr_->abstract_base_values (
- abstract_base_values,
- ACE_TRY_ENV
- );
-}
-
-template <class T> ACE_INLINE
-CORBA::Boolean POA_IR::ValueDef_tie<T>::is_abstract (
- CORBA::Environment &ACE_TRY_ENV
- )
- ACE_THROW_SPEC ((
- CORBA::SystemException
- ))
-{
- return this->ptr_->is_abstract (
- ACE_TRY_ENV
- );
-}
-
-template <class T> ACE_INLINE
-void POA_IR::ValueDef_tie<T>::is_abstract (
- CORBA::Boolean is_abstract,
- CORBA::Environment &ACE_TRY_ENV
- )
- ACE_THROW_SPEC ((
- CORBA::SystemException
- ))
-{
- this->ptr_->is_abstract (
- is_abstract,
- ACE_TRY_ENV
- );
-}
-
-template <class T> ACE_INLINE
-CORBA::Boolean POA_IR::ValueDef_tie<T>::is_custom (
- CORBA::Environment &ACE_TRY_ENV
- )
- ACE_THROW_SPEC ((
- CORBA::SystemException
- ))
-{
- return this->ptr_->is_custom (
- ACE_TRY_ENV
- );
-}
-
-template <class T> ACE_INLINE
-void POA_IR::ValueDef_tie<T>::is_custom (
- CORBA::Boolean is_custom,
- CORBA::Environment &ACE_TRY_ENV
- )
- ACE_THROW_SPEC ((
- CORBA::SystemException
- ))
-{
- this->ptr_->is_custom (
- is_custom,
- ACE_TRY_ENV
- );
-}
-
-template <class T> ACE_INLINE
-CORBA::Boolean POA_IR::ValueDef_tie<T>::is_truncatable (
- CORBA::Environment &ACE_TRY_ENV
- )
- ACE_THROW_SPEC ((
- CORBA::SystemException
- ))
-{
- return this->ptr_->is_truncatable (
- ACE_TRY_ENV
- );
-}
-
-template <class T> ACE_INLINE
-void POA_IR::ValueDef_tie<T>::is_truncatable (
- CORBA::Boolean is_truncatable,
- CORBA::Environment &ACE_TRY_ENV
- )
- ACE_THROW_SPEC ((
- CORBA::SystemException
- ))
-{
- this->ptr_->is_truncatable (
- is_truncatable,
- ACE_TRY_ENV
- );
-}
-
-template <class T> ACE_INLINE
-CORBA::Boolean POA_IR::ValueDef_tie<T>::is_a (
- const char * id,
- CORBA::Environment &ACE_TRY_ENV
- )
- ACE_THROW_SPEC ((
- CORBA::SystemException
- ))
-{
- return this->ptr_->is_a (
- id,
- ACE_TRY_ENV
- );
-}
-
-template <class T> ACE_INLINE
-IR::ValueMemberDef_ptr POA_IR::ValueDef_tie<T>::create_value_member (
- const char * id,
- const char * name,
- const char * version,
- IR_IDLType_ptr type,
- CORBA::Visibility access,
- CORBA::Environment &ACE_TRY_ENV
- )
- ACE_THROW_SPEC ((
- CORBA::SystemException
- ))
-{
- return this->ptr_->create_value_member (
- id,
- name,
- version,
- type,
- access,
- ACE_TRY_ENV
- );
-}
-
-template <class T> ACE_INLINE
-IR::AttributeDef_ptr POA_IR::ValueDef_tie<T>::create_attribute (
- const char * id,
- const char * name,
- const char * version,
- IR_IDLType_ptr type,
- IR_AttributeMode mode,
- const IR_ExceptionDefSeq & get_exceptions,
- const IR_ExceptionDefSeq & put_exceptions,
- CORBA::Environment &ACE_TRY_ENV
- )
- ACE_THROW_SPEC ((
- CORBA::SystemException
- ))
-{
- return this->ptr_->create_attribute (
- id,
- name,
- version,
- type,
- mode,
- get_exceptions,
- put_exceptions,
- ACE_TRY_ENV
- );
-}
-
-template <class T> ACE_INLINE
-IR::OperationDef_ptr POA_IR::ValueDef_tie<T>::create_operation (
- const char * id,
- const char * name,
- const char * version,
- IR_IDLType_ptr result,
- IR_OperationMode mode,
- const IR_ParDescriptionSeq & params,
- const IR_ExceptionDefSeq & exceptions,
- const IR_ContextIdSeq & contexts,
- CORBA::Environment &ACE_TRY_ENV
- )
- ACE_THROW_SPEC ((
- CORBA::SystemException
- ))
-{
- return this->ptr_->create_operation (
- id,
- name,
- version,
- result,
- mode,
- params,
- exceptions,
- contexts,
- ACE_TRY_ENV
- );
-}
-
-template <class T> ACE_INLINE
-IR::Contained_ptr POA_IR::ValueDef_tie<T>::lookup (
- const char * search_name,
- CORBA::Environment &ACE_TRY_ENV
- )
- ACE_THROW_SPEC ((
- CORBA::SystemException
- ))
-{
- return this->ptr_->lookup (
- search_name,
- ACE_TRY_ENV
- );
-}
-
-template <class T> ACE_INLINE
-IR::ContainedSeq * POA_IR::ValueDef_tie<T>::contents (
- IR_DefinitionKind limit_type,
- CORBA::Boolean exclude_inherited,
- CORBA::Environment &ACE_TRY_ENV
- )
- ACE_THROW_SPEC ((
- CORBA::SystemException
- ))
-{
- return this->ptr_->contents (
- limit_type,
- exclude_inherited,
- ACE_TRY_ENV
- );
-}
-
-template <class T> ACE_INLINE
-IR::ContainedSeq * POA_IR::ValueDef_tie<T>::lookup_name (
- const char * search_name,
- CORBA::Long levels_to_search,
- IR_DefinitionKind limit_type,
- CORBA::Boolean exclude_inherited,
- CORBA::Environment &ACE_TRY_ENV
- )
- ACE_THROW_SPEC ((
- CORBA::SystemException
- ))
-{
- return this->ptr_->lookup_name (
- search_name,
- levels_to_search,
- limit_type,
- exclude_inherited,
- ACE_TRY_ENV
- );
-}
-
-template <class T> ACE_INLINE
-IR::Container::DescriptionSeq * POA_IR::ValueDef_tie<T>::describe_contents (
- IR_DefinitionKind limit_type,
- CORBA::Boolean exclude_inherited,
- CORBA::Long max_returned_objs,
- CORBA::Environment &ACE_TRY_ENV
- )
- ACE_THROW_SPEC ((
- CORBA::SystemException
- ))
-{
- return this->ptr_->describe_contents (
- limit_type,
- exclude_inherited,
- max_returned_objs,
- ACE_TRY_ENV
- );
-}
-
-template <class T> ACE_INLINE
-IR::ModuleDef_ptr POA_IR::ValueDef_tie<T>::create_module (
- const char * id,
- const char * name,
- const char * version,
- CORBA::Environment &ACE_TRY_ENV
- )
- ACE_THROW_SPEC ((
- CORBA::SystemException
- ))
-{
- return this->ptr_->create_module (
- id,
- name,
- version,
- ACE_TRY_ENV
- );
-}
-
-template <class T> ACE_INLINE
-IR::ConstantDef_ptr POA_IR::ValueDef_tie<T>::create_constant (
- const char * id,
- const char * name,
- const char * version,
- IR_IDLType_ptr type,
- const CORBA::Any & value,
- CORBA::Environment &ACE_TRY_ENV
- )
- ACE_THROW_SPEC ((
- CORBA::SystemException
- ))
-{
- return this->ptr_->create_constant (
- id,
- name,
- version,
- type,
- value,
- ACE_TRY_ENV
- );
-}
-
-template <class T> ACE_INLINE
-IR::StructDef_ptr POA_IR::ValueDef_tie<T>::create_struct (
- const char * id,
- const char * name,
- const char * version,
- const IR_StructMemberSeq & members,
- CORBA::Environment &ACE_TRY_ENV
- )
- ACE_THROW_SPEC ((
- CORBA::SystemException
- ))
-{
- return this->ptr_->create_struct (
- id,
- name,
- version,
- members,
- ACE_TRY_ENV
- );
-}
-
-template <class T> ACE_INLINE
-IR::UnionDef_ptr POA_IR::ValueDef_tie<T>::create_union (
- const char * id,
- const char * name,
- const char * version,
- IR_IDLType_ptr discriminator_type,
- const IR_UnionMemberSeq & members,
- CORBA::Environment &ACE_TRY_ENV
- )
- ACE_THROW_SPEC ((
- CORBA::SystemException
- ))
-{
- return this->ptr_->create_union (
- id,
- name,
- version,
- discriminator_type,
- members,
- ACE_TRY_ENV
- );
-}
-
-template <class T> ACE_INLINE
-IR::EnumDef_ptr POA_IR::ValueDef_tie<T>::create_enum (
- const char * id,
- const char * name,
- const char * version,
- const IR_EnumMemberSeq & members,
- CORBA::Environment &ACE_TRY_ENV
- )
- ACE_THROW_SPEC ((
- CORBA::SystemException
- ))
-{
- return this->ptr_->create_enum (
- id,
- name,
- version,
- members,
- ACE_TRY_ENV
- );
-}
-
-template <class T> ACE_INLINE
-IR::AliasDef_ptr POA_IR::ValueDef_tie<T>::create_alias (
- const char * id,
- const char * name,
- const char * version,
- IR_IDLType_ptr original_type,
- CORBA::Environment &ACE_TRY_ENV
- )
- ACE_THROW_SPEC ((
- CORBA::SystemException
- ))
-{
- return this->ptr_->create_alias (
- id,
- name,
- version,
- original_type,
- ACE_TRY_ENV
- );
-}
-
-template <class T> ACE_INLINE
-IR::InterfaceDef_ptr POA_IR::ValueDef_tie<T>::create_interface (
- const char * id,
- const char * name,
- const char * version,
- const IR_InterfaceDefSeq & base_interfaces,
- CORBA::Boolean is_abstract,
- CORBA::Boolean is_local,
- CORBA::Environment &ACE_TRY_ENV
- )
- ACE_THROW_SPEC ((
- CORBA::SystemException
- ))
-{
- return this->ptr_->create_interface (
- id,
- name,
- version,
- base_interfaces,
- is_abstract,
- is_local,
- ACE_TRY_ENV
- );
-}
-
-template <class T> ACE_INLINE
-IR::ValueDef_ptr POA_IR::ValueDef_tie<T>::create_value (
- const char * id,
- const char * name,
- const char * version,
- CORBA::Boolean is_custom,
- CORBA::Boolean is_abstract,
- IR_ValueDef_ptr base_value,
- CORBA::Boolean is_truncatable,
- const IR_ValueDefSeq & abstract_base_values,
- const IR_InterfaceDefSeq & supported_interfaces,
- const IR_InitializerSeq & initializers,
- CORBA::Environment &ACE_TRY_ENV
- )
- ACE_THROW_SPEC ((
- CORBA::SystemException
- ))
-{
- return this->ptr_->create_value (
- id,
- name,
- version,
- is_custom,
- is_abstract,
- base_value,
- is_truncatable,
- abstract_base_values,
- supported_interfaces,
- initializers,
- ACE_TRY_ENV
- );
-}
-
-template <class T> ACE_INLINE
-IR::ValueBoxDef_ptr POA_IR::ValueDef_tie<T>::create_value_box (
- const char * id,
- const char * name,
- const char * version,
- IR_IDLType_ptr original_type_def,
- CORBA::Environment &ACE_TRY_ENV
- )
- ACE_THROW_SPEC ((
- CORBA::SystemException
- ))
-{
- return this->ptr_->create_value_box (
- id,
- name,
- version,
- original_type_def,
- ACE_TRY_ENV
- );
-}
-
-template <class T> ACE_INLINE
-IR::ExceptionDef_ptr POA_IR::ValueDef_tie<T>::create_exception (
- const char * id,
- const char * name,
- const char * version,
- const IR_StructMemberSeq & members,
- CORBA::Environment &ACE_TRY_ENV
- )
- ACE_THROW_SPEC ((
- CORBA::SystemException
- ))
-{
- return this->ptr_->create_exception (
- id,
- name,
- version,
- members,
- ACE_TRY_ENV
- );
-}
-
-template <class T> ACE_INLINE
-IR::NativeDef_ptr POA_IR::ValueDef_tie<T>::create_native (
- const char * id,
- const char * name,
- const char * version,
- CORBA::Environment &ACE_TRY_ENV
- )
- ACE_THROW_SPEC ((
- CORBA::SystemException
- ))
-{
- return this->ptr_->create_native (
- id,
- name,
- version,
- ACE_TRY_ENV
- );
-}
-
-template <class T> ACE_INLINE
-char * POA_IR::ValueDef_tie<T>::id (
- CORBA::Environment &ACE_TRY_ENV
- )
- ACE_THROW_SPEC ((
- CORBA::SystemException
- ))
-{
- return this->ptr_->id (
- ACE_TRY_ENV
- );
-}
-
-template <class T> ACE_INLINE
-void POA_IR::ValueDef_tie<T>::id (
- const char * id,
- CORBA::Environment &ACE_TRY_ENV
- )
- ACE_THROW_SPEC ((
- CORBA::SystemException
- ))
-{
- this->ptr_->id (
- id,
- ACE_TRY_ENV
- );
-}
-
-template <class T> ACE_INLINE
-char * POA_IR::ValueDef_tie<T>::name (
- CORBA::Environment &ACE_TRY_ENV
- )
- ACE_THROW_SPEC ((
- CORBA::SystemException
- ))
-{
- return this->ptr_->name (
- ACE_TRY_ENV
- );
-}
-
-template <class T> ACE_INLINE
-void POA_IR::ValueDef_tie<T>::name (
- const char * name,
- CORBA::Environment &ACE_TRY_ENV
- )
- ACE_THROW_SPEC ((
- CORBA::SystemException
- ))
-{
- this->ptr_->name (
- name,
- ACE_TRY_ENV
- );
-}
-
-template <class T> ACE_INLINE
-char * POA_IR::ValueDef_tie<T>::version (
- CORBA::Environment &ACE_TRY_ENV
- )
- ACE_THROW_SPEC ((
- CORBA::SystemException
- ))
-{
- return this->ptr_->version (
- ACE_TRY_ENV
- );
-}
-
-template <class T> ACE_INLINE
-void POA_IR::ValueDef_tie<T>::version (
- const char * version,
- CORBA::Environment &ACE_TRY_ENV
- )
- ACE_THROW_SPEC ((
- CORBA::SystemException
- ))
-{
- this->ptr_->version (
- version,
- ACE_TRY_ENV
- );
-}
-
-template <class T> ACE_INLINE
-IR::Container_ptr POA_IR::ValueDef_tie<T>::defined_in (
- CORBA::Environment &ACE_TRY_ENV
- )
- ACE_THROW_SPEC ((
- CORBA::SystemException
- ))
-{
- return this->ptr_->defined_in (
- ACE_TRY_ENV
- );
-}
-
-template <class T> ACE_INLINE
-char * POA_IR::ValueDef_tie<T>::absolute_name (
- CORBA::Environment &ACE_TRY_ENV
- )
- ACE_THROW_SPEC ((
- CORBA::SystemException
- ))
-{
- return this->ptr_->absolute_name (
- ACE_TRY_ENV
- );
-}
-
-template <class T> ACE_INLINE
-IR::Repository_ptr POA_IR::ValueDef_tie<T>::containing_repository (
- CORBA::Environment &ACE_TRY_ENV
- )
- ACE_THROW_SPEC ((
- CORBA::SystemException
- ))
-{
- return this->ptr_->containing_repository (
- ACE_TRY_ENV
- );
-}
-
-template <class T> ACE_INLINE
-IR::Contained::Description * POA_IR::ValueDef_tie<T>::describe (
- CORBA::Environment &ACE_TRY_ENV
- )
- ACE_THROW_SPEC ((
- CORBA::SystemException
- ))
-{
- return this->ptr_->describe (
- ACE_TRY_ENV
- );
-}
-
-template <class T> ACE_INLINE
-void POA_IR::ValueDef_tie<T>::move (
- IR_Container_ptr new_container,
- const char * new_name,
- const char * new_version,
- CORBA::Environment &ACE_TRY_ENV
- )
- ACE_THROW_SPEC ((
- CORBA::SystemException
- ))
-{
- this->ptr_->move (
- new_container,
- new_name,
- new_version,
- ACE_TRY_ENV
- );
-}
-
-template <class T> ACE_INLINE
-CORBA::TypeCode_ptr POA_IR::ValueDef_tie<T>::type (
- CORBA::Environment &ACE_TRY_ENV
- )
- ACE_THROW_SPEC ((
- CORBA::SystemException
- ))
-{
- return this->ptr_->type (
- ACE_TRY_ENV
- );
-}
-
-template <class T> ACE_INLINE
-IR::DefinitionKind POA_IR::ValueDef_tie<T>::def_kind (
- CORBA::Environment &ACE_TRY_ENV
- )
- ACE_THROW_SPEC ((
- CORBA::SystemException
- ))
-{
- return this->ptr_->def_kind (
- ACE_TRY_ENV
- );
-}
-
-template <class T> ACE_INLINE
-void POA_IR::ValueDef_tie<T>::destroy (
- CORBA::Environment &ACE_TRY_ENV
- )
- ACE_THROW_SPEC ((
- CORBA::SystemException
- ))
-{
- this->ptr_->destroy (
- ACE_TRY_ENV
- );
-}
-
-#endif /* ACE_HAS_USING_KEYWORD */
-
-#if defined (ACE_HAS_USING_KEYWORD)
-template <class T> ACE_INLINE
-POA_IR::ValueBoxDef_tie<T>::ValueBoxDef_tie (T &t)
- : ptr_ (&t),
- poa_ (PortableServer::POA::_nil ()),
- rel_ (0)
-{}
-
-template <class T> ACE_INLINE
-POA_IR::ValueBoxDef_tie<T>::ValueBoxDef_tie (T &t, PortableServer::POA_ptr poa)
- : ptr_ (&t),
- poa_ (PortableServer::POA::_duplicate (poa)),
- rel_ (0)
-{}
-
-template <class T> ACE_INLINE
-POA_IR::ValueBoxDef_tie<T>::ValueBoxDef_tie (T *tp, CORBA::Boolean release)
- : ptr_ (tp),
- poa_ (PortableServer::POA::_nil ()),
- rel_ (release)
-{}
-
-template <class T> ACE_INLINE
-POA_IR::ValueBoxDef_tie<T>::ValueBoxDef_tie (T *tp, PortableServer::POA_ptr poa, CORBA::Boolean release)
- : ptr_ (tp),
- poa_ (PortableServer::POA::_duplicate (poa)),
- rel_ (release)
-{}
-
-template <class T> ACE_INLINE
-POA_IR::ValueBoxDef_tie<T>::~ValueBoxDef_tie (void)
-{
- if (this->rel_) delete this->ptr_;
-}
-
-template <class T> ACE_INLINE T *
-POA_IR::ValueBoxDef_tie<T>::_tied_object (void)
-{
- return this->ptr_;
-}
-
-template <class T> ACE_INLINE void
-POA_IR::ValueBoxDef_tie<T>::_tied_object (T &obj)
-{
- if (this->rel_) delete this->ptr_;
- this->ptr_ = &obj;
- this->rel_ = 0;
-}
-
-template <class T> ACE_INLINE void
-POA_IR::ValueBoxDef_tie<T>::_tied_object (T *obj, CORBA::Boolean release)
-{
- if (this->rel_) delete this->ptr_;
- this->ptr_ = obj;
- this->rel_ = release;
-}
-
-template <class T> ACE_INLINE CORBA::Boolean
-POA_IR::ValueBoxDef_tie<T>::_is_owner (void)
-{
- return this->rel_;
-}
-
-template <class T> ACE_INLINE void
-POA_IR::ValueBoxDef_tie<T>::_is_owner (CORBA::Boolean b)
-{
- this->rel_ = b;
-}
-
-template <class T> ACE_INLINE PortableServer::POA_ptr
-POA_IR::ValueBoxDef_tie<T>::_default_POA (CORBA::Environment &env)
-{
- if (!CORBA::is_nil (this->poa_.in ()))
- return PortableServer::POA::_duplicate (this->poa_.in ());
-
- return this->ValueBoxDef::_default_POA (env);
-}
-
-template <class T> ACE_INLINE
-IR::IDLType_ptr POA_IR::ValueBoxDef_tie<T>::original_type_def (
- CORBA::Environment &ACE_TRY_ENV
- )
- ACE_THROW_SPEC ((
- CORBA::SystemException
- ))
-{
- return this->ptr_->original_type_def (
- ACE_TRY_ENV
- );
-}
-
-template <class T> ACE_INLINE
-void POA_IR::ValueBoxDef_tie<T>::original_type_def (
- IR_IDLType_ptr original_type_def,
- CORBA::Environment &ACE_TRY_ENV
- )
- ACE_THROW_SPEC ((
- CORBA::SystemException
- ))
-{
- this->ptr_->original_type_def (
- original_type_def,
- ACE_TRY_ENV
- );
-}
-
-template <class T> ACE_INLINE
-char * POA_IR::ValueBoxDef_tie<T>::id (
- CORBA::Environment &ACE_TRY_ENV
- )
- ACE_THROW_SPEC ((
- CORBA::SystemException
- ))
-{
- return this->ptr_->id (
- ACE_TRY_ENV
- );
-}
-
-template <class T> ACE_INLINE
-void POA_IR::ValueBoxDef_tie<T>::id (
- const char * id,
- CORBA::Environment &ACE_TRY_ENV
- )
- ACE_THROW_SPEC ((
- CORBA::SystemException
- ))
-{
- this->ptr_->id (
- id,
- ACE_TRY_ENV
- );
-}
-
-template <class T> ACE_INLINE
-char * POA_IR::ValueBoxDef_tie<T>::name (
- CORBA::Environment &ACE_TRY_ENV
- )
- ACE_THROW_SPEC ((
- CORBA::SystemException
- ))
-{
- return this->ptr_->name (
- ACE_TRY_ENV
- );
-}
-
-template <class T> ACE_INLINE
-void POA_IR::ValueBoxDef_tie<T>::name (
- const char * name,
- CORBA::Environment &ACE_TRY_ENV
- )
- ACE_THROW_SPEC ((
- CORBA::SystemException
- ))
-{
- this->ptr_->name (
- name,
- ACE_TRY_ENV
- );
-}
-
-template <class T> ACE_INLINE
-char * POA_IR::ValueBoxDef_tie<T>::version (
- CORBA::Environment &ACE_TRY_ENV
- )
- ACE_THROW_SPEC ((
- CORBA::SystemException
- ))
-{
- return this->ptr_->version (
- ACE_TRY_ENV
- );
-}
-
-template <class T> ACE_INLINE
-void POA_IR::ValueBoxDef_tie<T>::version (
- const char * version,
- CORBA::Environment &ACE_TRY_ENV
- )
- ACE_THROW_SPEC ((
- CORBA::SystemException
- ))
-{
- this->ptr_->version (
- version,
- ACE_TRY_ENV
- );
-}
-
-template <class T> ACE_INLINE
-IR::Container_ptr POA_IR::ValueBoxDef_tie<T>::defined_in (
- CORBA::Environment &ACE_TRY_ENV
- )
- ACE_THROW_SPEC ((
- CORBA::SystemException
- ))
-{
- return this->ptr_->defined_in (
- ACE_TRY_ENV
- );
-}
-
-template <class T> ACE_INLINE
-char * POA_IR::ValueBoxDef_tie<T>::absolute_name (
- CORBA::Environment &ACE_TRY_ENV
- )
- ACE_THROW_SPEC ((
- CORBA::SystemException
- ))
-{
- return this->ptr_->absolute_name (
- ACE_TRY_ENV
- );
-}
-
-template <class T> ACE_INLINE
-IR::Repository_ptr POA_IR::ValueBoxDef_tie<T>::containing_repository (
- CORBA::Environment &ACE_TRY_ENV
- )
- ACE_THROW_SPEC ((
- CORBA::SystemException
- ))
-{
- return this->ptr_->containing_repository (
- ACE_TRY_ENV
- );
-}
-
-template <class T> ACE_INLINE
-IR::Contained::Description * POA_IR::ValueBoxDef_tie<T>::describe (
- CORBA::Environment &ACE_TRY_ENV
- )
- ACE_THROW_SPEC ((
- CORBA::SystemException
- ))
-{
- return this->ptr_->describe (
- ACE_TRY_ENV
- );
-}
-
-template <class T> ACE_INLINE
-void POA_IR::ValueBoxDef_tie<T>::move (
- IR_Container_ptr new_container,
- const char * new_name,
- const char * new_version,
- CORBA::Environment &ACE_TRY_ENV
- )
- ACE_THROW_SPEC ((
- CORBA::SystemException
- ))
-{
- this->ptr_->move (
- new_container,
- new_name,
- new_version,
- ACE_TRY_ENV
- );
-}
-
-template <class T> ACE_INLINE
-CORBA::TypeCode_ptr POA_IR::ValueBoxDef_tie<T>::type (
- CORBA::Environment &ACE_TRY_ENV
- )
- ACE_THROW_SPEC ((
- CORBA::SystemException
- ))
-{
- return this->ptr_->type (
- ACE_TRY_ENV
- );
-}
-
-template <class T> ACE_INLINE
-IR::DefinitionKind POA_IR::ValueBoxDef_tie<T>::def_kind (
- CORBA::Environment &ACE_TRY_ENV
- )
- ACE_THROW_SPEC ((
- CORBA::SystemException
- ))
-{
- return this->ptr_->def_kind (
- ACE_TRY_ENV
- );
-}
-
-template <class T> ACE_INLINE
-void POA_IR::ValueBoxDef_tie<T>::destroy (
- CORBA::Environment &ACE_TRY_ENV
- )
- ACE_THROW_SPEC ((
- CORBA::SystemException
- ))
-{
- this->ptr_->destroy (
- ACE_TRY_ENV
- );
-}
-
-#endif /* ACE_HAS_USING_KEYWORD */
-
-#if defined (ACE_HAS_USING_KEYWORD)
-template <class T> ACE_INLINE
-POA_IR::ProvidesDef_tie<T>::ProvidesDef_tie (T &t)
- : ptr_ (&t),
- poa_ (PortableServer::POA::_nil ()),
- rel_ (0)
-{}
-
-template <class T> ACE_INLINE
-POA_IR::ProvidesDef_tie<T>::ProvidesDef_tie (T &t, PortableServer::POA_ptr poa)
- : ptr_ (&t),
- poa_ (PortableServer::POA::_duplicate (poa)),
- rel_ (0)
-{}
-
-template <class T> ACE_INLINE
-POA_IR::ProvidesDef_tie<T>::ProvidesDef_tie (T *tp, CORBA::Boolean release)
- : ptr_ (tp),
- poa_ (PortableServer::POA::_nil ()),
- rel_ (release)
-{}
-
-template <class T> ACE_INLINE
-POA_IR::ProvidesDef_tie<T>::ProvidesDef_tie (T *tp, PortableServer::POA_ptr poa, CORBA::Boolean release)
- : ptr_ (tp),
- poa_ (PortableServer::POA::_duplicate (poa)),
- rel_ (release)
-{}
-
-template <class T> ACE_INLINE
-POA_IR::ProvidesDef_tie<T>::~ProvidesDef_tie (void)
-{
- if (this->rel_) delete this->ptr_;
-}
-
-template <class T> ACE_INLINE T *
-POA_IR::ProvidesDef_tie<T>::_tied_object (void)
-{
- return this->ptr_;
-}
-
-template <class T> ACE_INLINE void
-POA_IR::ProvidesDef_tie<T>::_tied_object (T &obj)
-{
- if (this->rel_) delete this->ptr_;
- this->ptr_ = &obj;
- this->rel_ = 0;
-}
-
-template <class T> ACE_INLINE void
-POA_IR::ProvidesDef_tie<T>::_tied_object (T *obj, CORBA::Boolean release)
-{
- if (this->rel_) delete this->ptr_;
- this->ptr_ = obj;
- this->rel_ = release;
-}
-
-template <class T> ACE_INLINE CORBA::Boolean
-POA_IR::ProvidesDef_tie<T>::_is_owner (void)
-{
- return this->rel_;
-}
-
-template <class T> ACE_INLINE void
-POA_IR::ProvidesDef_tie<T>::_is_owner (CORBA::Boolean b)
-{
- this->rel_ = b;
-}
-
-template <class T> ACE_INLINE PortableServer::POA_ptr
-POA_IR::ProvidesDef_tie<T>::_default_POA (CORBA::Environment &env)
-{
- if (!CORBA::is_nil (this->poa_.in ()))
- return PortableServer::POA::_duplicate (this->poa_.in ());
-
- return this->ProvidesDef::_default_POA (env);
-}
-
-template <class T> ACE_INLINE
-IR::InterfaceDef_ptr POA_IR::ProvidesDef_tie<T>::interface_type (
- CORBA::Environment &ACE_TRY_ENV
- )
- ACE_THROW_SPEC ((
- CORBA::SystemException
- ))
-{
- return this->ptr_->interface_type (
- ACE_TRY_ENV
- );
-}
-
-template <class T> ACE_INLINE
-char * POA_IR::ProvidesDef_tie<T>::id (
- CORBA::Environment &ACE_TRY_ENV
- )
- ACE_THROW_SPEC ((
- CORBA::SystemException
- ))
-{
- return this->ptr_->id (
- ACE_TRY_ENV
- );
-}
-
-template <class T> ACE_INLINE
-void POA_IR::ProvidesDef_tie<T>::id (
- const char * id,
- CORBA::Environment &ACE_TRY_ENV
- )
- ACE_THROW_SPEC ((
- CORBA::SystemException
- ))
-{
- this->ptr_->id (
- id,
- ACE_TRY_ENV
- );
-}
-
-template <class T> ACE_INLINE
-char * POA_IR::ProvidesDef_tie<T>::name (
- CORBA::Environment &ACE_TRY_ENV
- )
- ACE_THROW_SPEC ((
- CORBA::SystemException
- ))
-{
- return this->ptr_->name (
- ACE_TRY_ENV
- );
-}
-
-template <class T> ACE_INLINE
-void POA_IR::ProvidesDef_tie<T>::name (
- const char * name,
- CORBA::Environment &ACE_TRY_ENV
- )
- ACE_THROW_SPEC ((
- CORBA::SystemException
- ))
-{
- this->ptr_->name (
- name,
- ACE_TRY_ENV
- );
-}
-
-template <class T> ACE_INLINE
-char * POA_IR::ProvidesDef_tie<T>::version (
- CORBA::Environment &ACE_TRY_ENV
- )
- ACE_THROW_SPEC ((
- CORBA::SystemException
- ))
-{
- return this->ptr_->version (
- ACE_TRY_ENV
- );
-}
-
-template <class T> ACE_INLINE
-void POA_IR::ProvidesDef_tie<T>::version (
- const char * version,
- CORBA::Environment &ACE_TRY_ENV
- )
- ACE_THROW_SPEC ((
- CORBA::SystemException
- ))
-{
- this->ptr_->version (
- version,
- ACE_TRY_ENV
- );
-}
-
-template <class T> ACE_INLINE
-IR::Container_ptr POA_IR::ProvidesDef_tie<T>::defined_in (
- CORBA::Environment &ACE_TRY_ENV
- )
- ACE_THROW_SPEC ((
- CORBA::SystemException
- ))
-{
- return this->ptr_->defined_in (
- ACE_TRY_ENV
- );
-}
-
-template <class T> ACE_INLINE
-char * POA_IR::ProvidesDef_tie<T>::absolute_name (
- CORBA::Environment &ACE_TRY_ENV
- )
- ACE_THROW_SPEC ((
- CORBA::SystemException
- ))
-{
- return this->ptr_->absolute_name (
- ACE_TRY_ENV
- );
-}
-
-template <class T> ACE_INLINE
-IR::Repository_ptr POA_IR::ProvidesDef_tie<T>::containing_repository (
- CORBA::Environment &ACE_TRY_ENV
- )
- ACE_THROW_SPEC ((
- CORBA::SystemException
- ))
-{
- return this->ptr_->containing_repository (
- ACE_TRY_ENV
- );
-}
-
-template <class T> ACE_INLINE
-IR::Contained::Description * POA_IR::ProvidesDef_tie<T>::describe (
- CORBA::Environment &ACE_TRY_ENV
- )
- ACE_THROW_SPEC ((
- CORBA::SystemException
- ))
-{
- return this->ptr_->describe (
- ACE_TRY_ENV
- );
-}
-
-template <class T> ACE_INLINE
-void POA_IR::ProvidesDef_tie<T>::move (
- IR_Container_ptr new_container,
- const char * new_name,
- const char * new_version,
- CORBA::Environment &ACE_TRY_ENV
- )
- ACE_THROW_SPEC ((
- CORBA::SystemException
- ))
-{
- this->ptr_->move (
- new_container,
- new_name,
- new_version,
- ACE_TRY_ENV
- );
-}
-
-template <class T> ACE_INLINE
-IR::DefinitionKind POA_IR::ProvidesDef_tie<T>::def_kind (
- CORBA::Environment &ACE_TRY_ENV
- )
- ACE_THROW_SPEC ((
- CORBA::SystemException
- ))
-{
- return this->ptr_->def_kind (
- ACE_TRY_ENV
- );
-}
-
-template <class T> ACE_INLINE
-void POA_IR::ProvidesDef_tie<T>::destroy (
- CORBA::Environment &ACE_TRY_ENV
- )
- ACE_THROW_SPEC ((
- CORBA::SystemException
- ))
-{
- this->ptr_->destroy (
- ACE_TRY_ENV
- );
-}
-
-#endif /* ACE_HAS_USING_KEYWORD */
-
-#if defined (ACE_HAS_USING_KEYWORD)
-template <class T> ACE_INLINE
-POA_IR::UsesDef_tie<T>::UsesDef_tie (T &t)
- : ptr_ (&t),
- poa_ (PortableServer::POA::_nil ()),
- rel_ (0)
-{}
-
-template <class T> ACE_INLINE
-POA_IR::UsesDef_tie<T>::UsesDef_tie (T &t, PortableServer::POA_ptr poa)
- : ptr_ (&t),
- poa_ (PortableServer::POA::_duplicate (poa)),
- rel_ (0)
-{}
-
-template <class T> ACE_INLINE
-POA_IR::UsesDef_tie<T>::UsesDef_tie (T *tp, CORBA::Boolean release)
- : ptr_ (tp),
- poa_ (PortableServer::POA::_nil ()),
- rel_ (release)
-{}
-
-template <class T> ACE_INLINE
-POA_IR::UsesDef_tie<T>::UsesDef_tie (T *tp, PortableServer::POA_ptr poa, CORBA::Boolean release)
- : ptr_ (tp),
- poa_ (PortableServer::POA::_duplicate (poa)),
- rel_ (release)
-{}
-
-template <class T> ACE_INLINE
-POA_IR::UsesDef_tie<T>::~UsesDef_tie (void)
-{
- if (this->rel_) delete this->ptr_;
-}
-
-template <class T> ACE_INLINE T *
-POA_IR::UsesDef_tie<T>::_tied_object (void)
-{
- return this->ptr_;
-}
-
-template <class T> ACE_INLINE void
-POA_IR::UsesDef_tie<T>::_tied_object (T &obj)
-{
- if (this->rel_) delete this->ptr_;
- this->ptr_ = &obj;
- this->rel_ = 0;
-}
-
-template <class T> ACE_INLINE void
-POA_IR::UsesDef_tie<T>::_tied_object (T *obj, CORBA::Boolean release)
-{
- if (this->rel_) delete this->ptr_;
- this->ptr_ = obj;
- this->rel_ = release;
-}
-
-template <class T> ACE_INLINE CORBA::Boolean
-POA_IR::UsesDef_tie<T>::_is_owner (void)
-{
- return this->rel_;
-}
-
-template <class T> ACE_INLINE void
-POA_IR::UsesDef_tie<T>::_is_owner (CORBA::Boolean b)
-{
- this->rel_ = b;
-}
-
-template <class T> ACE_INLINE PortableServer::POA_ptr
-POA_IR::UsesDef_tie<T>::_default_POA (CORBA::Environment &env)
-{
- if (!CORBA::is_nil (this->poa_.in ()))
- return PortableServer::POA::_duplicate (this->poa_.in ());
-
- return this->UsesDef::_default_POA (env);
-}
-
-template <class T> ACE_INLINE
-IR::InterfaceDef_ptr POA_IR::UsesDef_tie<T>::interface_type (
- CORBA::Environment &ACE_TRY_ENV
- )
- ACE_THROW_SPEC ((
- CORBA::SystemException
- ))
-{
- return this->ptr_->interface_type (
- ACE_TRY_ENV
- );
-}
-
-template <class T> ACE_INLINE
-CORBA::Boolean POA_IR::UsesDef_tie<T>::is_multiple (
- CORBA::Environment &ACE_TRY_ENV
- )
- ACE_THROW_SPEC ((
- CORBA::SystemException
- ))
-{
- return this->ptr_->is_multiple (
- ACE_TRY_ENV
- );
-}
-
-template <class T> ACE_INLINE
-char * POA_IR::UsesDef_tie<T>::id (
- CORBA::Environment &ACE_TRY_ENV
- )
- ACE_THROW_SPEC ((
- CORBA::SystemException
- ))
-{
- return this->ptr_->id (
- ACE_TRY_ENV
- );
-}
-
-template <class T> ACE_INLINE
-void POA_IR::UsesDef_tie<T>::id (
- const char * id,
- CORBA::Environment &ACE_TRY_ENV
- )
- ACE_THROW_SPEC ((
- CORBA::SystemException
- ))
-{
- this->ptr_->id (
- id,
- ACE_TRY_ENV
- );
-}
-
-template <class T> ACE_INLINE
-char * POA_IR::UsesDef_tie<T>::name (
- CORBA::Environment &ACE_TRY_ENV
- )
- ACE_THROW_SPEC ((
- CORBA::SystemException
- ))
-{
- return this->ptr_->name (
- ACE_TRY_ENV
- );
-}
-
-template <class T> ACE_INLINE
-void POA_IR::UsesDef_tie<T>::name (
- const char * name,
- CORBA::Environment &ACE_TRY_ENV
- )
- ACE_THROW_SPEC ((
- CORBA::SystemException
- ))
-{
- this->ptr_->name (
- name,
- ACE_TRY_ENV
- );
-}
-
-template <class T> ACE_INLINE
-char * POA_IR::UsesDef_tie<T>::version (
- CORBA::Environment &ACE_TRY_ENV
- )
- ACE_THROW_SPEC ((
- CORBA::SystemException
- ))
-{
- return this->ptr_->version (
- ACE_TRY_ENV
- );
-}
-
-template <class T> ACE_INLINE
-void POA_IR::UsesDef_tie<T>::version (
- const char * version,
- CORBA::Environment &ACE_TRY_ENV
- )
- ACE_THROW_SPEC ((
- CORBA::SystemException
- ))
-{
- this->ptr_->version (
- version,
- ACE_TRY_ENV
- );
-}
-
-template <class T> ACE_INLINE
-IR::Container_ptr POA_IR::UsesDef_tie<T>::defined_in (
- CORBA::Environment &ACE_TRY_ENV
- )
- ACE_THROW_SPEC ((
- CORBA::SystemException
- ))
-{
- return this->ptr_->defined_in (
- ACE_TRY_ENV
- );
-}
-
-template <class T> ACE_INLINE
-char * POA_IR::UsesDef_tie<T>::absolute_name (
- CORBA::Environment &ACE_TRY_ENV
- )
- ACE_THROW_SPEC ((
- CORBA::SystemException
- ))
-{
- return this->ptr_->absolute_name (
- ACE_TRY_ENV
- );
-}
-
-template <class T> ACE_INLINE
-IR::Repository_ptr POA_IR::UsesDef_tie<T>::containing_repository (
- CORBA::Environment &ACE_TRY_ENV
- )
- ACE_THROW_SPEC ((
- CORBA::SystemException
- ))
-{
- return this->ptr_->containing_repository (
- ACE_TRY_ENV
- );
-}
-
-template <class T> ACE_INLINE
-IR::Contained::Description * POA_IR::UsesDef_tie<T>::describe (
- CORBA::Environment &ACE_TRY_ENV
- )
- ACE_THROW_SPEC ((
- CORBA::SystemException
- ))
-{
- return this->ptr_->describe (
- ACE_TRY_ENV
- );
-}
-
-template <class T> ACE_INLINE
-void POA_IR::UsesDef_tie<T>::move (
- IR_Container_ptr new_container,
- const char * new_name,
- const char * new_version,
- CORBA::Environment &ACE_TRY_ENV
- )
- ACE_THROW_SPEC ((
- CORBA::SystemException
- ))
-{
- this->ptr_->move (
- new_container,
- new_name,
- new_version,
- ACE_TRY_ENV
- );
-}
-
-template <class T> ACE_INLINE
-IR::DefinitionKind POA_IR::UsesDef_tie<T>::def_kind (
- CORBA::Environment &ACE_TRY_ENV
- )
- ACE_THROW_SPEC ((
- CORBA::SystemException
- ))
-{
- return this->ptr_->def_kind (
- ACE_TRY_ENV
- );
-}
-
-template <class T> ACE_INLINE
-void POA_IR::UsesDef_tie<T>::destroy (
- CORBA::Environment &ACE_TRY_ENV
- )
- ACE_THROW_SPEC ((
- CORBA::SystemException
- ))
-{
- this->ptr_->destroy (
- ACE_TRY_ENV
- );
-}
-
-#endif /* ACE_HAS_USING_KEYWORD */
-
-#if defined (ACE_HAS_USING_KEYWORD)
-template <class T> ACE_INLINE
-POA_IR::EventDef_tie<T>::EventDef_tie (T &t)
- : ptr_ (&t),
- poa_ (PortableServer::POA::_nil ()),
- rel_ (0)
-{}
-
-template <class T> ACE_INLINE
-POA_IR::EventDef_tie<T>::EventDef_tie (T &t, PortableServer::POA_ptr poa)
- : ptr_ (&t),
- poa_ (PortableServer::POA::_duplicate (poa)),
- rel_ (0)
-{}
-
-template <class T> ACE_INLINE
-POA_IR::EventDef_tie<T>::EventDef_tie (T *tp, CORBA::Boolean release)
- : ptr_ (tp),
- poa_ (PortableServer::POA::_nil ()),
- rel_ (release)
-{}
-
-template <class T> ACE_INLINE
-POA_IR::EventDef_tie<T>::EventDef_tie (T *tp, PortableServer::POA_ptr poa, CORBA::Boolean release)
- : ptr_ (tp),
- poa_ (PortableServer::POA::_duplicate (poa)),
- rel_ (release)
-{}
-
-template <class T> ACE_INLINE
-POA_IR::EventDef_tie<T>::~EventDef_tie (void)
-{
- if (this->rel_) delete this->ptr_;
-}
-
-template <class T> ACE_INLINE T *
-POA_IR::EventDef_tie<T>::_tied_object (void)
-{
- return this->ptr_;
-}
-
-template <class T> ACE_INLINE void
-POA_IR::EventDef_tie<T>::_tied_object (T &obj)
-{
- if (this->rel_) delete this->ptr_;
- this->ptr_ = &obj;
- this->rel_ = 0;
-}
-
-template <class T> ACE_INLINE void
-POA_IR::EventDef_tie<T>::_tied_object (T *obj, CORBA::Boolean release)
-{
- if (this->rel_) delete this->ptr_;
- this->ptr_ = obj;
- this->rel_ = release;
-}
-
-template <class T> ACE_INLINE CORBA::Boolean
-POA_IR::EventDef_tie<T>::_is_owner (void)
-{
- return this->rel_;
-}
-
-template <class T> ACE_INLINE void
-POA_IR::EventDef_tie<T>::_is_owner (CORBA::Boolean b)
-{
- this->rel_ = b;
-}
-
-template <class T> ACE_INLINE PortableServer::POA_ptr
-POA_IR::EventDef_tie<T>::_default_POA (CORBA::Environment &env)
-{
- if (!CORBA::is_nil (this->poa_.in ()))
- return PortableServer::POA::_duplicate (this->poa_.in ());
-
- return this->EventDef::_default_POA (env);
-}
-
-template <class T> ACE_INLINE
-CORBA::Boolean POA_IR::EventDef_tie<T>::is_a (
- const char * event_id,
- CORBA::Environment &ACE_TRY_ENV
- )
- ACE_THROW_SPEC ((
- CORBA::SystemException
- ))
-{
- return this->ptr_->is_a (
- event_id,
- ACE_TRY_ENV
- );
-}
-
-template <class T> ACE_INLINE
-IR::ValueDef_ptr POA_IR::EventDef_tie<T>::event (
- CORBA::Environment &ACE_TRY_ENV
- )
- ACE_THROW_SPEC ((
- CORBA::SystemException
- ))
-{
- return this->ptr_->event (
- ACE_TRY_ENV
- );
-}
-
-template <class T> ACE_INLINE
-char * POA_IR::EventDef_tie<T>::id (
- CORBA::Environment &ACE_TRY_ENV
- )
- ACE_THROW_SPEC ((
- CORBA::SystemException
- ))
-{
- return this->ptr_->id (
- ACE_TRY_ENV
- );
-}
-
-template <class T> ACE_INLINE
-void POA_IR::EventDef_tie<T>::id (
- const char * id,
- CORBA::Environment &ACE_TRY_ENV
- )
- ACE_THROW_SPEC ((
- CORBA::SystemException
- ))
-{
- this->ptr_->id (
- id,
- ACE_TRY_ENV
- );
-}
-
-template <class T> ACE_INLINE
-char * POA_IR::EventDef_tie<T>::name (
- CORBA::Environment &ACE_TRY_ENV
- )
- ACE_THROW_SPEC ((
- CORBA::SystemException
- ))
-{
- return this->ptr_->name (
- ACE_TRY_ENV
- );
-}
-
-template <class T> ACE_INLINE
-void POA_IR::EventDef_tie<T>::name (
- const char * name,
- CORBA::Environment &ACE_TRY_ENV
- )
- ACE_THROW_SPEC ((
- CORBA::SystemException
- ))
-{
- this->ptr_->name (
- name,
- ACE_TRY_ENV
- );
-}
-
-template <class T> ACE_INLINE
-char * POA_IR::EventDef_tie<T>::version (
- CORBA::Environment &ACE_TRY_ENV
- )
- ACE_THROW_SPEC ((
- CORBA::SystemException
- ))
-{
- return this->ptr_->version (
- ACE_TRY_ENV
- );
-}
-
-template <class T> ACE_INLINE
-void POA_IR::EventDef_tie<T>::version (
- const char * version,
- CORBA::Environment &ACE_TRY_ENV
- )
- ACE_THROW_SPEC ((
- CORBA::SystemException
- ))
-{
- this->ptr_->version (
- version,
- ACE_TRY_ENV
- );
-}
-
-template <class T> ACE_INLINE
-IR::Container_ptr POA_IR::EventDef_tie<T>::defined_in (
- CORBA::Environment &ACE_TRY_ENV
- )
- ACE_THROW_SPEC ((
- CORBA::SystemException
- ))
-{
- return this->ptr_->defined_in (
- ACE_TRY_ENV
- );
-}
-
-template <class T> ACE_INLINE
-char * POA_IR::EventDef_tie<T>::absolute_name (
- CORBA::Environment &ACE_TRY_ENV
- )
- ACE_THROW_SPEC ((
- CORBA::SystemException
- ))
-{
- return this->ptr_->absolute_name (
- ACE_TRY_ENV
- );
-}
-
-template <class T> ACE_INLINE
-IR::Repository_ptr POA_IR::EventDef_tie<T>::containing_repository (
- CORBA::Environment &ACE_TRY_ENV
- )
- ACE_THROW_SPEC ((
- CORBA::SystemException
- ))
-{
- return this->ptr_->containing_repository (
- ACE_TRY_ENV
- );
-}
-
-template <class T> ACE_INLINE
-IR::Contained::Description * POA_IR::EventDef_tie<T>::describe (
- CORBA::Environment &ACE_TRY_ENV
- )
- ACE_THROW_SPEC ((
- CORBA::SystemException
- ))
-{
- return this->ptr_->describe (
- ACE_TRY_ENV
- );
-}
-
-template <class T> ACE_INLINE
-void POA_IR::EventDef_tie<T>::move (
- IR_Container_ptr new_container,
- const char * new_name,
- const char * new_version,
- CORBA::Environment &ACE_TRY_ENV
- )
- ACE_THROW_SPEC ((
- CORBA::SystemException
- ))
-{
- this->ptr_->move (
- new_container,
- new_name,
- new_version,
- ACE_TRY_ENV
- );
-}
-
-template <class T> ACE_INLINE
-IR::DefinitionKind POA_IR::EventDef_tie<T>::def_kind (
- CORBA::Environment &ACE_TRY_ENV
- )
- ACE_THROW_SPEC ((
- CORBA::SystemException
- ))
-{
- return this->ptr_->def_kind (
- ACE_TRY_ENV
- );
-}
-
-template <class T> ACE_INLINE
-void POA_IR::EventDef_tie<T>::destroy (
- CORBA::Environment &ACE_TRY_ENV
- )
- ACE_THROW_SPEC ((
- CORBA::SystemException
- ))
-{
- this->ptr_->destroy (
- ACE_TRY_ENV
- );
-}
-
-#endif /* ACE_HAS_USING_KEYWORD */
-
-#if defined (ACE_HAS_USING_KEYWORD)
-template <class T> ACE_INLINE
-POA_IR::EmitsDef_tie<T>::EmitsDef_tie (T &t)
- : ptr_ (&t),
- poa_ (PortableServer::POA::_nil ()),
- rel_ (0)
-{}
-
-template <class T> ACE_INLINE
-POA_IR::EmitsDef_tie<T>::EmitsDef_tie (T &t, PortableServer::POA_ptr poa)
- : ptr_ (&t),
- poa_ (PortableServer::POA::_duplicate (poa)),
- rel_ (0)
-{}
-
-template <class T> ACE_INLINE
-POA_IR::EmitsDef_tie<T>::EmitsDef_tie (T *tp, CORBA::Boolean release)
- : ptr_ (tp),
- poa_ (PortableServer::POA::_nil ()),
- rel_ (release)
-{}
-
-template <class T> ACE_INLINE
-POA_IR::EmitsDef_tie<T>::EmitsDef_tie (T *tp, PortableServer::POA_ptr poa, CORBA::Boolean release)
- : ptr_ (tp),
- poa_ (PortableServer::POA::_duplicate (poa)),
- rel_ (release)
-{}
-
-template <class T> ACE_INLINE
-POA_IR::EmitsDef_tie<T>::~EmitsDef_tie (void)
-{
- if (this->rel_) delete this->ptr_;
-}
-
-template <class T> ACE_INLINE T *
-POA_IR::EmitsDef_tie<T>::_tied_object (void)
-{
- return this->ptr_;
-}
-
-template <class T> ACE_INLINE void
-POA_IR::EmitsDef_tie<T>::_tied_object (T &obj)
-{
- if (this->rel_) delete this->ptr_;
- this->ptr_ = &obj;
- this->rel_ = 0;
-}
-
-template <class T> ACE_INLINE void
-POA_IR::EmitsDef_tie<T>::_tied_object (T *obj, CORBA::Boolean release)
-{
- if (this->rel_) delete this->ptr_;
- this->ptr_ = obj;
- this->rel_ = release;
-}
-
-template <class T> ACE_INLINE CORBA::Boolean
-POA_IR::EmitsDef_tie<T>::_is_owner (void)
-{
- return this->rel_;
-}
-
-template <class T> ACE_INLINE void
-POA_IR::EmitsDef_tie<T>::_is_owner (CORBA::Boolean b)
-{
- this->rel_ = b;
-}
-
-template <class T> ACE_INLINE PortableServer::POA_ptr
-POA_IR::EmitsDef_tie<T>::_default_POA (CORBA::Environment &env)
-{
- if (!CORBA::is_nil (this->poa_.in ()))
- return PortableServer::POA::_duplicate (this->poa_.in ());
-
- return this->EmitsDef::_default_POA (env);
-}
-
-template <class T> ACE_INLINE
-CORBA::Boolean POA_IR::EmitsDef_tie<T>::is_a (
- const char * event_id,
- CORBA::Environment &ACE_TRY_ENV
- )
- ACE_THROW_SPEC ((
- CORBA::SystemException
- ))
-{
- return this->ptr_->is_a (
- event_id,
- ACE_TRY_ENV
- );
-}
-
-template <class T> ACE_INLINE
-IR::ValueDef_ptr POA_IR::EmitsDef_tie<T>::event (
- CORBA::Environment &ACE_TRY_ENV
- )
- ACE_THROW_SPEC ((
- CORBA::SystemException
- ))
-{
- return this->ptr_->event (
- ACE_TRY_ENV
- );
-}
-
-template <class T> ACE_INLINE
-char * POA_IR::EmitsDef_tie<T>::id (
- CORBA::Environment &ACE_TRY_ENV
- )
- ACE_THROW_SPEC ((
- CORBA::SystemException
- ))
-{
- return this->ptr_->id (
- ACE_TRY_ENV
- );
-}
-
-template <class T> ACE_INLINE
-void POA_IR::EmitsDef_tie<T>::id (
- const char * id,
- CORBA::Environment &ACE_TRY_ENV
- )
- ACE_THROW_SPEC ((
- CORBA::SystemException
- ))
-{
- this->ptr_->id (
- id,
- ACE_TRY_ENV
- );
-}
-
-template <class T> ACE_INLINE
-char * POA_IR::EmitsDef_tie<T>::name (
- CORBA::Environment &ACE_TRY_ENV
- )
- ACE_THROW_SPEC ((
- CORBA::SystemException
- ))
-{
- return this->ptr_->name (
- ACE_TRY_ENV
- );
-}
-
-template <class T> ACE_INLINE
-void POA_IR::EmitsDef_tie<T>::name (
- const char * name,
- CORBA::Environment &ACE_TRY_ENV
- )
- ACE_THROW_SPEC ((
- CORBA::SystemException
- ))
-{
- this->ptr_->name (
- name,
- ACE_TRY_ENV
- );
-}
-
-template <class T> ACE_INLINE
-char * POA_IR::EmitsDef_tie<T>::version (
- CORBA::Environment &ACE_TRY_ENV
- )
- ACE_THROW_SPEC ((
- CORBA::SystemException
- ))
-{
- return this->ptr_->version (
- ACE_TRY_ENV
- );
-}
-
-template <class T> ACE_INLINE
-void POA_IR::EmitsDef_tie<T>::version (
- const char * version,
- CORBA::Environment &ACE_TRY_ENV
- )
- ACE_THROW_SPEC ((
- CORBA::SystemException
- ))
-{
- this->ptr_->version (
- version,
- ACE_TRY_ENV
- );
-}
-
-template <class T> ACE_INLINE
-IR::Container_ptr POA_IR::EmitsDef_tie<T>::defined_in (
- CORBA::Environment &ACE_TRY_ENV
- )
- ACE_THROW_SPEC ((
- CORBA::SystemException
- ))
-{
- return this->ptr_->defined_in (
- ACE_TRY_ENV
- );
-}
-
-template <class T> ACE_INLINE
-char * POA_IR::EmitsDef_tie<T>::absolute_name (
- CORBA::Environment &ACE_TRY_ENV
- )
- ACE_THROW_SPEC ((
- CORBA::SystemException
- ))
-{
- return this->ptr_->absolute_name (
- ACE_TRY_ENV
- );
-}
-
-template <class T> ACE_INLINE
-IR::Repository_ptr POA_IR::EmitsDef_tie<T>::containing_repository (
- CORBA::Environment &ACE_TRY_ENV
- )
- ACE_THROW_SPEC ((
- CORBA::SystemException
- ))
-{
- return this->ptr_->containing_repository (
- ACE_TRY_ENV
- );
-}
-
-template <class T> ACE_INLINE
-IR::Contained::Description * POA_IR::EmitsDef_tie<T>::describe (
- CORBA::Environment &ACE_TRY_ENV
- )
- ACE_THROW_SPEC ((
- CORBA::SystemException
- ))
-{
- return this->ptr_->describe (
- ACE_TRY_ENV
- );
-}
-
-template <class T> ACE_INLINE
-void POA_IR::EmitsDef_tie<T>::move (
- IR_Container_ptr new_container,
- const char * new_name,
- const char * new_version,
- CORBA::Environment &ACE_TRY_ENV
- )
- ACE_THROW_SPEC ((
- CORBA::SystemException
- ))
-{
- this->ptr_->move (
- new_container,
- new_name,
- new_version,
- ACE_TRY_ENV
- );
-}
-
-template <class T> ACE_INLINE
-IR::DefinitionKind POA_IR::EmitsDef_tie<T>::def_kind (
- CORBA::Environment &ACE_TRY_ENV
- )
- ACE_THROW_SPEC ((
- CORBA::SystemException
- ))
-{
- return this->ptr_->def_kind (
- ACE_TRY_ENV
- );
-}
-
-template <class T> ACE_INLINE
-void POA_IR::EmitsDef_tie<T>::destroy (
- CORBA::Environment &ACE_TRY_ENV
- )
- ACE_THROW_SPEC ((
- CORBA::SystemException
- ))
-{
- this->ptr_->destroy (
- ACE_TRY_ENV
- );
-}
-
-#endif /* ACE_HAS_USING_KEYWORD */
-
-#if defined (ACE_HAS_USING_KEYWORD)
-template <class T> ACE_INLINE
-POA_IR::PublishesDef_tie<T>::PublishesDef_tie (T &t)
- : ptr_ (&t),
- poa_ (PortableServer::POA::_nil ()),
- rel_ (0)
-{}
-
-template <class T> ACE_INLINE
-POA_IR::PublishesDef_tie<T>::PublishesDef_tie (T &t, PortableServer::POA_ptr poa)
- : ptr_ (&t),
- poa_ (PortableServer::POA::_duplicate (poa)),
- rel_ (0)
-{}
-
-template <class T> ACE_INLINE
-POA_IR::PublishesDef_tie<T>::PublishesDef_tie (T *tp, CORBA::Boolean release)
- : ptr_ (tp),
- poa_ (PortableServer::POA::_nil ()),
- rel_ (release)
-{}
-
-template <class T> ACE_INLINE
-POA_IR::PublishesDef_tie<T>::PublishesDef_tie (T *tp, PortableServer::POA_ptr poa, CORBA::Boolean release)
- : ptr_ (tp),
- poa_ (PortableServer::POA::_duplicate (poa)),
- rel_ (release)
-{}
-
-template <class T> ACE_INLINE
-POA_IR::PublishesDef_tie<T>::~PublishesDef_tie (void)
-{
- if (this->rel_) delete this->ptr_;
-}
-
-template <class T> ACE_INLINE T *
-POA_IR::PublishesDef_tie<T>::_tied_object (void)
-{
- return this->ptr_;
-}
-
-template <class T> ACE_INLINE void
-POA_IR::PublishesDef_tie<T>::_tied_object (T &obj)
-{
- if (this->rel_) delete this->ptr_;
- this->ptr_ = &obj;
- this->rel_ = 0;
-}
-
-template <class T> ACE_INLINE void
-POA_IR::PublishesDef_tie<T>::_tied_object (T *obj, CORBA::Boolean release)
-{
- if (this->rel_) delete this->ptr_;
- this->ptr_ = obj;
- this->rel_ = release;
-}
-
-template <class T> ACE_INLINE CORBA::Boolean
-POA_IR::PublishesDef_tie<T>::_is_owner (void)
-{
- return this->rel_;
-}
-
-template <class T> ACE_INLINE void
-POA_IR::PublishesDef_tie<T>::_is_owner (CORBA::Boolean b)
-{
- this->rel_ = b;
-}
-
-template <class T> ACE_INLINE PortableServer::POA_ptr
-POA_IR::PublishesDef_tie<T>::_default_POA (CORBA::Environment &env)
-{
- if (!CORBA::is_nil (this->poa_.in ()))
- return PortableServer::POA::_duplicate (this->poa_.in ());
-
- return this->PublishesDef::_default_POA (env);
-}
-
-template <class T> ACE_INLINE
-CORBA::Boolean POA_IR::PublishesDef_tie<T>::is_a (
- const char * event_id,
- CORBA::Environment &ACE_TRY_ENV
- )
- ACE_THROW_SPEC ((
- CORBA::SystemException
- ))
-{
- return this->ptr_->is_a (
- event_id,
- ACE_TRY_ENV
- );
-}
-
-template <class T> ACE_INLINE
-IR::ValueDef_ptr POA_IR::PublishesDef_tie<T>::event (
- CORBA::Environment &ACE_TRY_ENV
- )
- ACE_THROW_SPEC ((
- CORBA::SystemException
- ))
-{
- return this->ptr_->event (
- ACE_TRY_ENV
- );
-}
-
-template <class T> ACE_INLINE
-char * POA_IR::PublishesDef_tie<T>::id (
- CORBA::Environment &ACE_TRY_ENV
- )
- ACE_THROW_SPEC ((
- CORBA::SystemException
- ))
-{
- return this->ptr_->id (
- ACE_TRY_ENV
- );
-}
-
-template <class T> ACE_INLINE
-void POA_IR::PublishesDef_tie<T>::id (
- const char * id,
- CORBA::Environment &ACE_TRY_ENV
- )
- ACE_THROW_SPEC ((
- CORBA::SystemException
- ))
-{
- this->ptr_->id (
- id,
- ACE_TRY_ENV
- );
-}
-
-template <class T> ACE_INLINE
-char * POA_IR::PublishesDef_tie<T>::name (
- CORBA::Environment &ACE_TRY_ENV
- )
- ACE_THROW_SPEC ((
- CORBA::SystemException
- ))
-{
- return this->ptr_->name (
- ACE_TRY_ENV
- );
-}
-
-template <class T> ACE_INLINE
-void POA_IR::PublishesDef_tie<T>::name (
- const char * name,
- CORBA::Environment &ACE_TRY_ENV
- )
- ACE_THROW_SPEC ((
- CORBA::SystemException
- ))
-{
- this->ptr_->name (
- name,
- ACE_TRY_ENV
- );
-}
-
-template <class T> ACE_INLINE
-char * POA_IR::PublishesDef_tie<T>::version (
- CORBA::Environment &ACE_TRY_ENV
- )
- ACE_THROW_SPEC ((
- CORBA::SystemException
- ))
-{
- return this->ptr_->version (
- ACE_TRY_ENV
- );
-}
-
-template <class T> ACE_INLINE
-void POA_IR::PublishesDef_tie<T>::version (
- const char * version,
- CORBA::Environment &ACE_TRY_ENV
- )
- ACE_THROW_SPEC ((
- CORBA::SystemException
- ))
-{
- this->ptr_->version (
- version,
- ACE_TRY_ENV
- );
-}
-
-template <class T> ACE_INLINE
-IR::Container_ptr POA_IR::PublishesDef_tie<T>::defined_in (
- CORBA::Environment &ACE_TRY_ENV
- )
- ACE_THROW_SPEC ((
- CORBA::SystemException
- ))
-{
- return this->ptr_->defined_in (
- ACE_TRY_ENV
- );
-}
-
-template <class T> ACE_INLINE
-char * POA_IR::PublishesDef_tie<T>::absolute_name (
- CORBA::Environment &ACE_TRY_ENV
- )
- ACE_THROW_SPEC ((
- CORBA::SystemException
- ))
-{
- return this->ptr_->absolute_name (
- ACE_TRY_ENV
- );
-}
-
-template <class T> ACE_INLINE
-IR::Repository_ptr POA_IR::PublishesDef_tie<T>::containing_repository (
- CORBA::Environment &ACE_TRY_ENV
- )
- ACE_THROW_SPEC ((
- CORBA::SystemException
- ))
-{
- return this->ptr_->containing_repository (
- ACE_TRY_ENV
- );
-}
-
-template <class T> ACE_INLINE
-IR::Contained::Description * POA_IR::PublishesDef_tie<T>::describe (
- CORBA::Environment &ACE_TRY_ENV
- )
- ACE_THROW_SPEC ((
- CORBA::SystemException
- ))
-{
- return this->ptr_->describe (
- ACE_TRY_ENV
- );
-}
-
-template <class T> ACE_INLINE
-void POA_IR::PublishesDef_tie<T>::move (
- IR_Container_ptr new_container,
- const char * new_name,
- const char * new_version,
- CORBA::Environment &ACE_TRY_ENV
- )
- ACE_THROW_SPEC ((
- CORBA::SystemException
- ))
-{
- this->ptr_->move (
- new_container,
- new_name,
- new_version,
- ACE_TRY_ENV
- );
-}
-
-template <class T> ACE_INLINE
-IR::DefinitionKind POA_IR::PublishesDef_tie<T>::def_kind (
- CORBA::Environment &ACE_TRY_ENV
- )
- ACE_THROW_SPEC ((
- CORBA::SystemException
- ))
-{
- return this->ptr_->def_kind (
- ACE_TRY_ENV
- );
-}
-
-template <class T> ACE_INLINE
-void POA_IR::PublishesDef_tie<T>::destroy (
- CORBA::Environment &ACE_TRY_ENV
- )
- ACE_THROW_SPEC ((
- CORBA::SystemException
- ))
-{
- this->ptr_->destroy (
- ACE_TRY_ENV
- );
-}
-
-#endif /* ACE_HAS_USING_KEYWORD */
-
-#if defined (ACE_HAS_USING_KEYWORD)
-template <class T> ACE_INLINE
-POA_IR::ConsumesDef_tie<T>::ConsumesDef_tie (T &t)
- : ptr_ (&t),
- poa_ (PortableServer::POA::_nil ()),
- rel_ (0)
-{}
-
-template <class T> ACE_INLINE
-POA_IR::ConsumesDef_tie<T>::ConsumesDef_tie (T &t, PortableServer::POA_ptr poa)
- : ptr_ (&t),
- poa_ (PortableServer::POA::_duplicate (poa)),
- rel_ (0)
-{}
-
-template <class T> ACE_INLINE
-POA_IR::ConsumesDef_tie<T>::ConsumesDef_tie (T *tp, CORBA::Boolean release)
- : ptr_ (tp),
- poa_ (PortableServer::POA::_nil ()),
- rel_ (release)
-{}
-
-template <class T> ACE_INLINE
-POA_IR::ConsumesDef_tie<T>::ConsumesDef_tie (T *tp, PortableServer::POA_ptr poa, CORBA::Boolean release)
- : ptr_ (tp),
- poa_ (PortableServer::POA::_duplicate (poa)),
- rel_ (release)
-{}
-
-template <class T> ACE_INLINE
-POA_IR::ConsumesDef_tie<T>::~ConsumesDef_tie (void)
-{
- if (this->rel_) delete this->ptr_;
-}
-
-template <class T> ACE_INLINE T *
-POA_IR::ConsumesDef_tie<T>::_tied_object (void)
-{
- return this->ptr_;
-}
-
-template <class T> ACE_INLINE void
-POA_IR::ConsumesDef_tie<T>::_tied_object (T &obj)
-{
- if (this->rel_) delete this->ptr_;
- this->ptr_ = &obj;
- this->rel_ = 0;
-}
-
-template <class T> ACE_INLINE void
-POA_IR::ConsumesDef_tie<T>::_tied_object (T *obj, CORBA::Boolean release)
-{
- if (this->rel_) delete this->ptr_;
- this->ptr_ = obj;
- this->rel_ = release;
-}
-
-template <class T> ACE_INLINE CORBA::Boolean
-POA_IR::ConsumesDef_tie<T>::_is_owner (void)
-{
- return this->rel_;
-}
-
-template <class T> ACE_INLINE void
-POA_IR::ConsumesDef_tie<T>::_is_owner (CORBA::Boolean b)
-{
- this->rel_ = b;
-}
-
-template <class T> ACE_INLINE PortableServer::POA_ptr
-POA_IR::ConsumesDef_tie<T>::_default_POA (CORBA::Environment &env)
-{
- if (!CORBA::is_nil (this->poa_.in ()))
- return PortableServer::POA::_duplicate (this->poa_.in ());
-
- return this->ConsumesDef::_default_POA (env);
-}
-
-template <class T> ACE_INLINE
-CORBA::Boolean POA_IR::ConsumesDef_tie<T>::is_a (
- const char * event_id,
- CORBA::Environment &ACE_TRY_ENV
- )
- ACE_THROW_SPEC ((
- CORBA::SystemException
- ))
-{
- return this->ptr_->is_a (
- event_id,
- ACE_TRY_ENV
- );
-}
-
-template <class T> ACE_INLINE
-IR::ValueDef_ptr POA_IR::ConsumesDef_tie<T>::event (
- CORBA::Environment &ACE_TRY_ENV
- )
- ACE_THROW_SPEC ((
- CORBA::SystemException
- ))
-{
- return this->ptr_->event (
- ACE_TRY_ENV
- );
-}
-
-template <class T> ACE_INLINE
-char * POA_IR::ConsumesDef_tie<T>::id (
- CORBA::Environment &ACE_TRY_ENV
- )
- ACE_THROW_SPEC ((
- CORBA::SystemException
- ))
-{
- return this->ptr_->id (
- ACE_TRY_ENV
- );
-}
-
-template <class T> ACE_INLINE
-void POA_IR::ConsumesDef_tie<T>::id (
- const char * id,
- CORBA::Environment &ACE_TRY_ENV
- )
- ACE_THROW_SPEC ((
- CORBA::SystemException
- ))
-{
- this->ptr_->id (
- id,
- ACE_TRY_ENV
- );
-}
-
-template <class T> ACE_INLINE
-char * POA_IR::ConsumesDef_tie<T>::name (
- CORBA::Environment &ACE_TRY_ENV
- )
- ACE_THROW_SPEC ((
- CORBA::SystemException
- ))
-{
- return this->ptr_->name (
- ACE_TRY_ENV
- );
-}
-
-template <class T> ACE_INLINE
-void POA_IR::ConsumesDef_tie<T>::name (
- const char * name,
- CORBA::Environment &ACE_TRY_ENV
- )
- ACE_THROW_SPEC ((
- CORBA::SystemException
- ))
-{
- this->ptr_->name (
- name,
- ACE_TRY_ENV
- );
-}
-
-template <class T> ACE_INLINE
-char * POA_IR::ConsumesDef_tie<T>::version (
- CORBA::Environment &ACE_TRY_ENV
- )
- ACE_THROW_SPEC ((
- CORBA::SystemException
- ))
-{
- return this->ptr_->version (
- ACE_TRY_ENV
- );
-}
-
-template <class T> ACE_INLINE
-void POA_IR::ConsumesDef_tie<T>::version (
- const char * version,
- CORBA::Environment &ACE_TRY_ENV
- )
- ACE_THROW_SPEC ((
- CORBA::SystemException
- ))
-{
- this->ptr_->version (
- version,
- ACE_TRY_ENV
- );
-}
-
-template <class T> ACE_INLINE
-IR::Container_ptr POA_IR::ConsumesDef_tie<T>::defined_in (
- CORBA::Environment &ACE_TRY_ENV
- )
- ACE_THROW_SPEC ((
- CORBA::SystemException
- ))
-{
- return this->ptr_->defined_in (
- ACE_TRY_ENV
- );
-}
-
-template <class T> ACE_INLINE
-char * POA_IR::ConsumesDef_tie<T>::absolute_name (
- CORBA::Environment &ACE_TRY_ENV
- )
- ACE_THROW_SPEC ((
- CORBA::SystemException
- ))
-{
- return this->ptr_->absolute_name (
- ACE_TRY_ENV
- );
-}
-
-template <class T> ACE_INLINE
-IR::Repository_ptr POA_IR::ConsumesDef_tie<T>::containing_repository (
- CORBA::Environment &ACE_TRY_ENV
- )
- ACE_THROW_SPEC ((
- CORBA::SystemException
- ))
-{
- return this->ptr_->containing_repository (
- ACE_TRY_ENV
- );
-}
-
-template <class T> ACE_INLINE
-IR::Contained::Description * POA_IR::ConsumesDef_tie<T>::describe (
- CORBA::Environment &ACE_TRY_ENV
- )
- ACE_THROW_SPEC ((
- CORBA::SystemException
- ))
-{
- return this->ptr_->describe (
- ACE_TRY_ENV
- );
-}
-
-template <class T> ACE_INLINE
-void POA_IR::ConsumesDef_tie<T>::move (
- IR_Container_ptr new_container,
- const char * new_name,
- const char * new_version,
- CORBA::Environment &ACE_TRY_ENV
- )
- ACE_THROW_SPEC ((
- CORBA::SystemException
- ))
-{
- this->ptr_->move (
- new_container,
- new_name,
- new_version,
- ACE_TRY_ENV
- );
-}
-
-template <class T> ACE_INLINE
-IR::DefinitionKind POA_IR::ConsumesDef_tie<T>::def_kind (
- CORBA::Environment &ACE_TRY_ENV
- )
- ACE_THROW_SPEC ((
- CORBA::SystemException
- ))
-{
- return this->ptr_->def_kind (
- ACE_TRY_ENV
- );
-}
-
-template <class T> ACE_INLINE
-void POA_IR::ConsumesDef_tie<T>::destroy (
- CORBA::Environment &ACE_TRY_ENV
- )
- ACE_THROW_SPEC ((
- CORBA::SystemException
- ))
-{
- this->ptr_->destroy (
- ACE_TRY_ENV
- );
-}
-
-#endif /* ACE_HAS_USING_KEYWORD */
-
-#if defined (ACE_HAS_USING_KEYWORD)
-template <class T> ACE_INLINE
-POA_IR::ComponentDef_tie<T>::ComponentDef_tie (T &t)
- : ptr_ (&t),
- poa_ (PortableServer::POA::_nil ()),
- rel_ (0)
-{}
-
-template <class T> ACE_INLINE
-POA_IR::ComponentDef_tie<T>::ComponentDef_tie (T &t, PortableServer::POA_ptr poa)
- : ptr_ (&t),
- poa_ (PortableServer::POA::_duplicate (poa)),
- rel_ (0)
-{}
-
-template <class T> ACE_INLINE
-POA_IR::ComponentDef_tie<T>::ComponentDef_tie (T *tp, CORBA::Boolean release)
- : ptr_ (tp),
- poa_ (PortableServer::POA::_nil ()),
- rel_ (release)
-{}
-
-template <class T> ACE_INLINE
-POA_IR::ComponentDef_tie<T>::ComponentDef_tie (T *tp, PortableServer::POA_ptr poa, CORBA::Boolean release)
- : ptr_ (tp),
- poa_ (PortableServer::POA::_duplicate (poa)),
- rel_ (release)
-{}
-
-template <class T> ACE_INLINE
-POA_IR::ComponentDef_tie<T>::~ComponentDef_tie (void)
-{
- if (this->rel_) delete this->ptr_;
-}
-
-template <class T> ACE_INLINE T *
-POA_IR::ComponentDef_tie<T>::_tied_object (void)
-{
- return this->ptr_;
-}
-
-template <class T> ACE_INLINE void
-POA_IR::ComponentDef_tie<T>::_tied_object (T &obj)
-{
- if (this->rel_) delete this->ptr_;
- this->ptr_ = &obj;
- this->rel_ = 0;
-}
-
-template <class T> ACE_INLINE void
-POA_IR::ComponentDef_tie<T>::_tied_object (T *obj, CORBA::Boolean release)
-{
- if (this->rel_) delete this->ptr_;
- this->ptr_ = obj;
- this->rel_ = release;
-}
-
-template <class T> ACE_INLINE CORBA::Boolean
-POA_IR::ComponentDef_tie<T>::_is_owner (void)
-{
- return this->rel_;
-}
-
-template <class T> ACE_INLINE void
-POA_IR::ComponentDef_tie<T>::_is_owner (CORBA::Boolean b)
-{
- this->rel_ = b;
-}
-
-template <class T> ACE_INLINE PortableServer::POA_ptr
-POA_IR::ComponentDef_tie<T>::_default_POA (CORBA::Environment &env)
-{
- if (!CORBA::is_nil (this->poa_.in ()))
- return PortableServer::POA::_duplicate (this->poa_.in ());
-
- return this->ComponentDef::_default_POA (env);
-}
-
-template <class T> ACE_INLINE
-IR::InterfaceDefSeq * POA_IR::ComponentDef_tie<T>::supported_interfaces (
- CORBA::Environment &ACE_TRY_ENV
- )
- ACE_THROW_SPEC ((
- CORBA::SystemException
- ))
-{
- return this->ptr_->supported_interfaces (
- ACE_TRY_ENV
- );
-}
-
-template <class T> ACE_INLINE
-void POA_IR::ComponentDef_tie<T>::supported_interfaces (
- const IR_InterfaceDefSeq & supported_interfaces,
- CORBA::Environment &ACE_TRY_ENV
- )
- ACE_THROW_SPEC ((
- CORBA::SystemException
- ))
-{
- this->ptr_->supported_interfaces (
- supported_interfaces,
- ACE_TRY_ENV
- );
-}
-
-template <class T> ACE_INLINE
-IR::ComponentDef_ptr POA_IR::ComponentDef_tie<T>::base_component (
- CORBA::Environment &ACE_TRY_ENV
- )
- ACE_THROW_SPEC ((
- CORBA::SystemException
- ))
-{
- return this->ptr_->base_component (
- ACE_TRY_ENV
- );
-}
-
-template <class T> ACE_INLINE
-IR::ProvidesDefSeq * POA_IR::ComponentDef_tie<T>::provides_interfaces (
- CORBA::Environment &ACE_TRY_ENV
- )
- ACE_THROW_SPEC ((
- CORBA::SystemException
- ))
-{
- return this->ptr_->provides_interfaces (
- ACE_TRY_ENV
- );
-}
-
-template <class T> ACE_INLINE
-IR::UsesDefSeq * POA_IR::ComponentDef_tie<T>::uses_interfaces (
- CORBA::Environment &ACE_TRY_ENV
- )
- ACE_THROW_SPEC ((
- CORBA::SystemException
- ))
-{
- return this->ptr_->uses_interfaces (
- ACE_TRY_ENV
- );
-}
-
-template <class T> ACE_INLINE
-IR::EmitsDefSeq * POA_IR::ComponentDef_tie<T>::emits_events (
- CORBA::Environment &ACE_TRY_ENV
- )
- ACE_THROW_SPEC ((
- CORBA::SystemException
- ))
-{
- return this->ptr_->emits_events (
- ACE_TRY_ENV
- );
-}
-
-template <class T> ACE_INLINE
-IR::PublishesDefSeq * POA_IR::ComponentDef_tie<T>::publishes_events (
- CORBA::Environment &ACE_TRY_ENV
- )
- ACE_THROW_SPEC ((
- CORBA::SystemException
- ))
-{
- return this->ptr_->publishes_events (
- ACE_TRY_ENV
- );
-}
-
-template <class T> ACE_INLINE
-IR::ConsumesDefSeq * POA_IR::ComponentDef_tie<T>::consumes_events (
- CORBA::Environment &ACE_TRY_ENV
- )
- ACE_THROW_SPEC ((
- CORBA::SystemException
- ))
-{
- return this->ptr_->consumes_events (
- ACE_TRY_ENV
- );
-}
-
-template <class T> ACE_INLINE
-CORBA::Boolean POA_IR::ComponentDef_tie<T>::is_basic (
- CORBA::Environment &ACE_TRY_ENV
- )
- ACE_THROW_SPEC ((
- CORBA::SystemException
- ))
-{
- return this->ptr_->is_basic (
- ACE_TRY_ENV
- );
-}
-
-template <class T> ACE_INLINE
-IR::ProvidesDef_ptr POA_IR::ComponentDef_tie<T>::create_provides (
- const char * id,
- const char * name,
- const char * version,
- IR_InterfaceDef_ptr interface_type,
- CORBA::Environment &ACE_TRY_ENV
- )
- ACE_THROW_SPEC ((
- CORBA::SystemException
- ))
-{
- return this->ptr_->create_provides (
- id,
- name,
- version,
- interface_type,
- ACE_TRY_ENV
- );
-}
-
-template <class T> ACE_INLINE
-IR::UsesDef_ptr POA_IR::ComponentDef_tie<T>::create_uses (
- const char * id,
- const char * name,
- const char * version,
- IR_InterfaceDef_ptr interface_type,
- CORBA::Boolean is_multiple,
- CORBA::Environment &ACE_TRY_ENV
- )
- ACE_THROW_SPEC ((
- CORBA::SystemException
- ))
-{
- return this->ptr_->create_uses (
- id,
- name,
- version,
- interface_type,
- is_multiple,
- ACE_TRY_ENV
- );
-}
-
-template <class T> ACE_INLINE
-IR::EmitsDef_ptr POA_IR::ComponentDef_tie<T>::create_emits (
- const char * id,
- const char * name,
- const char * version,
- IR_ValueDef_ptr value,
- CORBA::Environment &ACE_TRY_ENV
- )
- ACE_THROW_SPEC ((
- CORBA::SystemException
- ))
-{
- return this->ptr_->create_emits (
- id,
- name,
- version,
- value,
- ACE_TRY_ENV
- );
-}
-
-template <class T> ACE_INLINE
-IR::PublishesDef_ptr POA_IR::ComponentDef_tie<T>::create_publishes (
- const char * id,
- const char * name,
- const char * version,
- IR_ValueDef_ptr value,
- CORBA::Environment &ACE_TRY_ENV
- )
- ACE_THROW_SPEC ((
- CORBA::SystemException
- ))
-{
- return this->ptr_->create_publishes (
- id,
- name,
- version,
- value,
- ACE_TRY_ENV
- );
-}
-
-template <class T> ACE_INLINE
-IR::ConsumesDef_ptr POA_IR::ComponentDef_tie<T>::create_consumes (
- const char * id,
- const char * name,
- const char * version,
- IR_ValueDef_ptr value,
- CORBA::Environment &ACE_TRY_ENV
- )
- ACE_THROW_SPEC ((
- CORBA::SystemException
- ))
-{
- return this->ptr_->create_consumes (
- id,
- name,
- version,
- value,
- ACE_TRY_ENV
- );
-}
-
-template <class T> ACE_INLINE
-IR::InterfaceDefSeq * POA_IR::ComponentDef_tie<T>::base_interfaces (
- CORBA::Environment &ACE_TRY_ENV
- )
- ACE_THROW_SPEC ((
- CORBA::SystemException
- ))
-{
- return this->ptr_->base_interfaces (
- ACE_TRY_ENV
- );
-}
-
-template <class T> ACE_INLINE
-void POA_IR::ComponentDef_tie<T>::base_interfaces (
- const IR_InterfaceDefSeq & base_interfaces,
- CORBA::Environment &ACE_TRY_ENV
- )
- ACE_THROW_SPEC ((
- CORBA::SystemException
- ))
-{
- this->ptr_->base_interfaces (
- base_interfaces,
- ACE_TRY_ENV
- );
-}
-
-template <class T> ACE_INLINE
-CORBA::Boolean POA_IR::ComponentDef_tie<T>::is_abstract (
- CORBA::Environment &ACE_TRY_ENV
- )
- ACE_THROW_SPEC ((
- CORBA::SystemException
- ))
-{
- return this->ptr_->is_abstract (
- ACE_TRY_ENV
- );
-}
-
-template <class T> ACE_INLINE
-void POA_IR::ComponentDef_tie<T>::is_abstract (
- CORBA::Boolean is_abstract,
- CORBA::Environment &ACE_TRY_ENV
- )
- ACE_THROW_SPEC ((
- CORBA::SystemException
- ))
-{
- this->ptr_->is_abstract (
- is_abstract,
- ACE_TRY_ENV
- );
-}
-
-template <class T> ACE_INLINE
-CORBA::Boolean POA_IR::ComponentDef_tie<T>::is_local (
- CORBA::Environment &ACE_TRY_ENV
- )
- ACE_THROW_SPEC ((
- CORBA::SystemException
- ))
-{
- return this->ptr_->is_local (
- ACE_TRY_ENV
- );
-}
-
-template <class T> ACE_INLINE
-void POA_IR::ComponentDef_tie<T>::is_local (
- CORBA::Boolean is_local,
- CORBA::Environment &ACE_TRY_ENV
- )
- ACE_THROW_SPEC ((
- CORBA::SystemException
- ))
-{
- this->ptr_->is_local (
- is_local,
- ACE_TRY_ENV
- );
-}
-
-template <class T> ACE_INLINE
-CORBA::Boolean POA_IR::ComponentDef_tie<T>::is_a (
- const char * interface_id,
- CORBA::Environment &ACE_TRY_ENV
- )
- ACE_THROW_SPEC ((
- CORBA::SystemException
- ))
-{
- return this->ptr_->is_a (
- interface_id,
- ACE_TRY_ENV
- );
-}
-
-template <class T> ACE_INLINE
-IR::AttributeDef_ptr POA_IR::ComponentDef_tie<T>::create_attribute (
- const char * id,
- const char * name,
- const char * version,
- IR_IDLType_ptr type,
- IR_AttributeMode mode,
- const IR_ExceptionDefSeq & get_exceptions,
- const IR_ExceptionDefSeq & put_exceptions,
- CORBA::Environment &ACE_TRY_ENV
- )
- ACE_THROW_SPEC ((
- CORBA::SystemException
- ))
-{
- return this->ptr_->create_attribute (
- id,
- name,
- version,
- type,
- mode,
- get_exceptions,
- put_exceptions,
- ACE_TRY_ENV
- );
-}
-
-template <class T> ACE_INLINE
-IR::OperationDef_ptr POA_IR::ComponentDef_tie<T>::create_operation (
- const char * id,
- const char * name,
- const char * version,
- IR_IDLType_ptr result,
- IR_OperationMode mode,
- const IR_ParDescriptionSeq & params,
- const IR_ExceptionDefSeq & exceptions,
- const IR_ContextIdSeq & contexts,
- CORBA::Environment &ACE_TRY_ENV
- )
- ACE_THROW_SPEC ((
- CORBA::SystemException
- ))
-{
- return this->ptr_->create_operation (
- id,
- name,
- version,
- result,
- mode,
- params,
- exceptions,
- contexts,
- ACE_TRY_ENV
- );
-}
-
-template <class T> ACE_INLINE
-IR::Contained_ptr POA_IR::ComponentDef_tie<T>::lookup (
- const char * search_name,
- CORBA::Environment &ACE_TRY_ENV
- )
- ACE_THROW_SPEC ((
- CORBA::SystemException
- ))
-{
- return this->ptr_->lookup (
- search_name,
- ACE_TRY_ENV
- );
-}
-
-template <class T> ACE_INLINE
-IR::ContainedSeq * POA_IR::ComponentDef_tie<T>::contents (
- IR_DefinitionKind limit_type,
- CORBA::Boolean exclude_inherited,
- CORBA::Environment &ACE_TRY_ENV
- )
- ACE_THROW_SPEC ((
- CORBA::SystemException
- ))
-{
- return this->ptr_->contents (
- limit_type,
- exclude_inherited,
- ACE_TRY_ENV
- );
-}
-
-template <class T> ACE_INLINE
-IR::ContainedSeq * POA_IR::ComponentDef_tie<T>::lookup_name (
- const char * search_name,
- CORBA::Long levels_to_search,
- IR_DefinitionKind limit_type,
- CORBA::Boolean exclude_inherited,
- CORBA::Environment &ACE_TRY_ENV
- )
- ACE_THROW_SPEC ((
- CORBA::SystemException
- ))
-{
- return this->ptr_->lookup_name (
- search_name,
- levels_to_search,
- limit_type,
- exclude_inherited,
- ACE_TRY_ENV
- );
-}
-
-template <class T> ACE_INLINE
-IR::Container::DescriptionSeq * POA_IR::ComponentDef_tie<T>::describe_contents (
- IR_DefinitionKind limit_type,
- CORBA::Boolean exclude_inherited,
- CORBA::Long max_returned_objs,
- CORBA::Environment &ACE_TRY_ENV
- )
- ACE_THROW_SPEC ((
- CORBA::SystemException
- ))
-{
- return this->ptr_->describe_contents (
- limit_type,
- exclude_inherited,
- max_returned_objs,
- ACE_TRY_ENV
- );
-}
-
-template <class T> ACE_INLINE
-IR::ModuleDef_ptr POA_IR::ComponentDef_tie<T>::create_module (
- const char * id,
- const char * name,
- const char * version,
- CORBA::Environment &ACE_TRY_ENV
- )
- ACE_THROW_SPEC ((
- CORBA::SystemException
- ))
-{
- return this->ptr_->create_module (
- id,
- name,
- version,
- ACE_TRY_ENV
- );
-}
-
-template <class T> ACE_INLINE
-IR::ConstantDef_ptr POA_IR::ComponentDef_tie<T>::create_constant (
- const char * id,
- const char * name,
- const char * version,
- IR_IDLType_ptr type,
- const CORBA::Any & value,
- CORBA::Environment &ACE_TRY_ENV
- )
- ACE_THROW_SPEC ((
- CORBA::SystemException
- ))
-{
- return this->ptr_->create_constant (
- id,
- name,
- version,
- type,
- value,
- ACE_TRY_ENV
- );
-}
-
-template <class T> ACE_INLINE
-IR::StructDef_ptr POA_IR::ComponentDef_tie<T>::create_struct (
- const char * id,
- const char * name,
- const char * version,
- const IR_StructMemberSeq & members,
- CORBA::Environment &ACE_TRY_ENV
- )
- ACE_THROW_SPEC ((
- CORBA::SystemException
- ))
-{
- return this->ptr_->create_struct (
- id,
- name,
- version,
- members,
- ACE_TRY_ENV
- );
-}
-
-template <class T> ACE_INLINE
-IR::UnionDef_ptr POA_IR::ComponentDef_tie<T>::create_union (
- const char * id,
- const char * name,
- const char * version,
- IR_IDLType_ptr discriminator_type,
- const IR_UnionMemberSeq & members,
- CORBA::Environment &ACE_TRY_ENV
- )
- ACE_THROW_SPEC ((
- CORBA::SystemException
- ))
-{
- return this->ptr_->create_union (
- id,
- name,
- version,
- discriminator_type,
- members,
- ACE_TRY_ENV
- );
-}
-
-template <class T> ACE_INLINE
-IR::EnumDef_ptr POA_IR::ComponentDef_tie<T>::create_enum (
- const char * id,
- const char * name,
- const char * version,
- const IR_EnumMemberSeq & members,
- CORBA::Environment &ACE_TRY_ENV
- )
- ACE_THROW_SPEC ((
- CORBA::SystemException
- ))
-{
- return this->ptr_->create_enum (
- id,
- name,
- version,
- members,
- ACE_TRY_ENV
- );
-}
-
-template <class T> ACE_INLINE
-IR::AliasDef_ptr POA_IR::ComponentDef_tie<T>::create_alias (
- const char * id,
- const char * name,
- const char * version,
- IR_IDLType_ptr original_type,
- CORBA::Environment &ACE_TRY_ENV
- )
- ACE_THROW_SPEC ((
- CORBA::SystemException
- ))
-{
- return this->ptr_->create_alias (
- id,
- name,
- version,
- original_type,
- ACE_TRY_ENV
- );
-}
-
-template <class T> ACE_INLINE
-IR::InterfaceDef_ptr POA_IR::ComponentDef_tie<T>::create_interface (
- const char * id,
- const char * name,
- const char * version,
- const IR_InterfaceDefSeq & base_interfaces,
- CORBA::Boolean is_abstract,
- CORBA::Boolean is_local,
- CORBA::Environment &ACE_TRY_ENV
- )
- ACE_THROW_SPEC ((
- CORBA::SystemException
- ))
-{
- return this->ptr_->create_interface (
- id,
- name,
- version,
- base_interfaces,
- is_abstract,
- is_local,
- ACE_TRY_ENV
- );
-}
-
-template <class T> ACE_INLINE
-IR::ValueDef_ptr POA_IR::ComponentDef_tie<T>::create_value (
- const char * id,
- const char * name,
- const char * version,
- CORBA::Boolean is_custom,
- CORBA::Boolean is_abstract,
- IR_ValueDef_ptr base_value,
- CORBA::Boolean is_truncatable,
- const IR_ValueDefSeq & abstract_base_values,
- const IR_InterfaceDefSeq & supported_interfaces,
- const IR_InitializerSeq & initializers,
- CORBA::Environment &ACE_TRY_ENV
- )
- ACE_THROW_SPEC ((
- CORBA::SystemException
- ))
-{
- return this->ptr_->create_value (
- id,
- name,
- version,
- is_custom,
- is_abstract,
- base_value,
- is_truncatable,
- abstract_base_values,
- supported_interfaces,
- initializers,
- ACE_TRY_ENV
- );
-}
-
-template <class T> ACE_INLINE
-IR::ValueBoxDef_ptr POA_IR::ComponentDef_tie<T>::create_value_box (
- const char * id,
- const char * name,
- const char * version,
- IR_IDLType_ptr original_type_def,
- CORBA::Environment &ACE_TRY_ENV
- )
- ACE_THROW_SPEC ((
- CORBA::SystemException
- ))
-{
- return this->ptr_->create_value_box (
- id,
- name,
- version,
- original_type_def,
- ACE_TRY_ENV
- );
-}
-
-template <class T> ACE_INLINE
-IR::ExceptionDef_ptr POA_IR::ComponentDef_tie<T>::create_exception (
- const char * id,
- const char * name,
- const char * version,
- const IR_StructMemberSeq & members,
- CORBA::Environment &ACE_TRY_ENV
- )
- ACE_THROW_SPEC ((
- CORBA::SystemException
- ))
-{
- return this->ptr_->create_exception (
- id,
- name,
- version,
- members,
- ACE_TRY_ENV
- );
-}
-
-template <class T> ACE_INLINE
-IR::NativeDef_ptr POA_IR::ComponentDef_tie<T>::create_native (
- const char * id,
- const char * name,
- const char * version,
- CORBA::Environment &ACE_TRY_ENV
- )
- ACE_THROW_SPEC ((
- CORBA::SystemException
- ))
-{
- return this->ptr_->create_native (
- id,
- name,
- version,
- ACE_TRY_ENV
- );
-}
-
-template <class T> ACE_INLINE
-char * POA_IR::ComponentDef_tie<T>::id (
- CORBA::Environment &ACE_TRY_ENV
- )
- ACE_THROW_SPEC ((
- CORBA::SystemException
- ))
-{
- return this->ptr_->id (
- ACE_TRY_ENV
- );
-}
-
-template <class T> ACE_INLINE
-void POA_IR::ComponentDef_tie<T>::id (
- const char * id,
- CORBA::Environment &ACE_TRY_ENV
- )
- ACE_THROW_SPEC ((
- CORBA::SystemException
- ))
-{
- this->ptr_->id (
- id,
- ACE_TRY_ENV
- );
-}
-
-template <class T> ACE_INLINE
-char * POA_IR::ComponentDef_tie<T>::name (
- CORBA::Environment &ACE_TRY_ENV
- )
- ACE_THROW_SPEC ((
- CORBA::SystemException
- ))
-{
- return this->ptr_->name (
- ACE_TRY_ENV
- );
-}
-
-template <class T> ACE_INLINE
-void POA_IR::ComponentDef_tie<T>::name (
- const char * name,
- CORBA::Environment &ACE_TRY_ENV
- )
- ACE_THROW_SPEC ((
- CORBA::SystemException
- ))
-{
- this->ptr_->name (
- name,
- ACE_TRY_ENV
- );
-}
-
-template <class T> ACE_INLINE
-char * POA_IR::ComponentDef_tie<T>::version (
- CORBA::Environment &ACE_TRY_ENV
- )
- ACE_THROW_SPEC ((
- CORBA::SystemException
- ))
-{
- return this->ptr_->version (
- ACE_TRY_ENV
- );
-}
-
-template <class T> ACE_INLINE
-void POA_IR::ComponentDef_tie<T>::version (
- const char * version,
- CORBA::Environment &ACE_TRY_ENV
- )
- ACE_THROW_SPEC ((
- CORBA::SystemException
- ))
-{
- this->ptr_->version (
- version,
- ACE_TRY_ENV
- );
-}
-
-template <class T> ACE_INLINE
-IR::Container_ptr POA_IR::ComponentDef_tie<T>::defined_in (
- CORBA::Environment &ACE_TRY_ENV
- )
- ACE_THROW_SPEC ((
- CORBA::SystemException
- ))
-{
- return this->ptr_->defined_in (
- ACE_TRY_ENV
- );
-}
-
-template <class T> ACE_INLINE
-char * POA_IR::ComponentDef_tie<T>::absolute_name (
- CORBA::Environment &ACE_TRY_ENV
- )
- ACE_THROW_SPEC ((
- CORBA::SystemException
- ))
-{
- return this->ptr_->absolute_name (
- ACE_TRY_ENV
- );
-}
-
-template <class T> ACE_INLINE
-IR::Repository_ptr POA_IR::ComponentDef_tie<T>::containing_repository (
- CORBA::Environment &ACE_TRY_ENV
- )
- ACE_THROW_SPEC ((
- CORBA::SystemException
- ))
-{
- return this->ptr_->containing_repository (
- ACE_TRY_ENV
- );
-}
-
-template <class T> ACE_INLINE
-IR::Contained::Description * POA_IR::ComponentDef_tie<T>::describe (
- CORBA::Environment &ACE_TRY_ENV
- )
- ACE_THROW_SPEC ((
- CORBA::SystemException
- ))
-{
- return this->ptr_->describe (
- ACE_TRY_ENV
- );
-}
-
-template <class T> ACE_INLINE
-void POA_IR::ComponentDef_tie<T>::move (
- IR_Container_ptr new_container,
- const char * new_name,
- const char * new_version,
- CORBA::Environment &ACE_TRY_ENV
- )
- ACE_THROW_SPEC ((
- CORBA::SystemException
- ))
-{
- this->ptr_->move (
- new_container,
- new_name,
- new_version,
- ACE_TRY_ENV
- );
-}
-
-template <class T> ACE_INLINE
-CORBA::TypeCode_ptr POA_IR::ComponentDef_tie<T>::type (
- CORBA::Environment &ACE_TRY_ENV
- )
- ACE_THROW_SPEC ((
- CORBA::SystemException
- ))
-{
- return this->ptr_->type (
- ACE_TRY_ENV
- );
-}
-
-template <class T> ACE_INLINE
-IR::DefinitionKind POA_IR::ComponentDef_tie<T>::def_kind (
- CORBA::Environment &ACE_TRY_ENV
- )
- ACE_THROW_SPEC ((
- CORBA::SystemException
- ))
-{
- return this->ptr_->def_kind (
- ACE_TRY_ENV
- );
-}
-
-template <class T> ACE_INLINE
-void POA_IR::ComponentDef_tie<T>::destroy (
- CORBA::Environment &ACE_TRY_ENV
- )
- ACE_THROW_SPEC ((
- CORBA::SystemException
- ))
-{
- this->ptr_->destroy (
- ACE_TRY_ENV
- );
-}
-
-#endif /* ACE_HAS_USING_KEYWORD */
-
-#if defined (ACE_HAS_USING_KEYWORD)
-template <class T> ACE_INLINE
-POA_IR::PrimaryKeyDef_tie<T>::PrimaryKeyDef_tie (T &t)
- : ptr_ (&t),
- poa_ (PortableServer::POA::_nil ()),
- rel_ (0)
-{}
-
-template <class T> ACE_INLINE
-POA_IR::PrimaryKeyDef_tie<T>::PrimaryKeyDef_tie (T &t, PortableServer::POA_ptr poa)
- : ptr_ (&t),
- poa_ (PortableServer::POA::_duplicate (poa)),
- rel_ (0)
-{}
-
-template <class T> ACE_INLINE
-POA_IR::PrimaryKeyDef_tie<T>::PrimaryKeyDef_tie (T *tp, CORBA::Boolean release)
- : ptr_ (tp),
- poa_ (PortableServer::POA::_nil ()),
- rel_ (release)
-{}
-
-template <class T> ACE_INLINE
-POA_IR::PrimaryKeyDef_tie<T>::PrimaryKeyDef_tie (T *tp, PortableServer::POA_ptr poa, CORBA::Boolean release)
- : ptr_ (tp),
- poa_ (PortableServer::POA::_duplicate (poa)),
- rel_ (release)
-{}
-
-template <class T> ACE_INLINE
-POA_IR::PrimaryKeyDef_tie<T>::~PrimaryKeyDef_tie (void)
-{
- if (this->rel_) delete this->ptr_;
-}
-
-template <class T> ACE_INLINE T *
-POA_IR::PrimaryKeyDef_tie<T>::_tied_object (void)
-{
- return this->ptr_;
-}
-
-template <class T> ACE_INLINE void
-POA_IR::PrimaryKeyDef_tie<T>::_tied_object (T &obj)
-{
- if (this->rel_) delete this->ptr_;
- this->ptr_ = &obj;
- this->rel_ = 0;
-}
-
-template <class T> ACE_INLINE void
-POA_IR::PrimaryKeyDef_tie<T>::_tied_object (T *obj, CORBA::Boolean release)
-{
- if (this->rel_) delete this->ptr_;
- this->ptr_ = obj;
- this->rel_ = release;
-}
-
-template <class T> ACE_INLINE CORBA::Boolean
-POA_IR::PrimaryKeyDef_tie<T>::_is_owner (void)
-{
- return this->rel_;
-}
-
-template <class T> ACE_INLINE void
-POA_IR::PrimaryKeyDef_tie<T>::_is_owner (CORBA::Boolean b)
-{
- this->rel_ = b;
-}
-
-template <class T> ACE_INLINE PortableServer::POA_ptr
-POA_IR::PrimaryKeyDef_tie<T>::_default_POA (CORBA::Environment &env)
-{
- if (!CORBA::is_nil (this->poa_.in ()))
- return PortableServer::POA::_duplicate (this->poa_.in ());
-
- return this->PrimaryKeyDef::_default_POA (env);
-}
-
-template <class T> ACE_INLINE
-CORBA::Boolean POA_IR::PrimaryKeyDef_tie<T>::is_a (
- const char * primary_key_id,
- CORBA::Environment &ACE_TRY_ENV
- )
- ACE_THROW_SPEC ((
- CORBA::SystemException
- ))
-{
- return this->ptr_->is_a (
- primary_key_id,
- ACE_TRY_ENV
- );
-}
-
-template <class T> ACE_INLINE
-IR::ValueDef_ptr POA_IR::PrimaryKeyDef_tie<T>::primary_key (
- CORBA::Environment &ACE_TRY_ENV
- )
- ACE_THROW_SPEC ((
- CORBA::SystemException
- ))
-{
- return this->ptr_->primary_key (
- ACE_TRY_ENV
- );
-}
-
-template <class T> ACE_INLINE
-char * POA_IR::PrimaryKeyDef_tie<T>::id (
- CORBA::Environment &ACE_TRY_ENV
- )
- ACE_THROW_SPEC ((
- CORBA::SystemException
- ))
-{
- return this->ptr_->id (
- ACE_TRY_ENV
- );
-}
-
-template <class T> ACE_INLINE
-void POA_IR::PrimaryKeyDef_tie<T>::id (
- const char * id,
- CORBA::Environment &ACE_TRY_ENV
- )
- ACE_THROW_SPEC ((
- CORBA::SystemException
- ))
-{
- this->ptr_->id (
- id,
- ACE_TRY_ENV
- );
-}
-
-template <class T> ACE_INLINE
-char * POA_IR::PrimaryKeyDef_tie<T>::name (
- CORBA::Environment &ACE_TRY_ENV
- )
- ACE_THROW_SPEC ((
- CORBA::SystemException
- ))
-{
- return this->ptr_->name (
- ACE_TRY_ENV
- );
-}
-
-template <class T> ACE_INLINE
-void POA_IR::PrimaryKeyDef_tie<T>::name (
- const char * name,
- CORBA::Environment &ACE_TRY_ENV
- )
- ACE_THROW_SPEC ((
- CORBA::SystemException
- ))
-{
- this->ptr_->name (
- name,
- ACE_TRY_ENV
- );
-}
-
-template <class T> ACE_INLINE
-char * POA_IR::PrimaryKeyDef_tie<T>::version (
- CORBA::Environment &ACE_TRY_ENV
- )
- ACE_THROW_SPEC ((
- CORBA::SystemException
- ))
-{
- return this->ptr_->version (
- ACE_TRY_ENV
- );
-}
-
-template <class T> ACE_INLINE
-void POA_IR::PrimaryKeyDef_tie<T>::version (
- const char * version,
- CORBA::Environment &ACE_TRY_ENV
- )
- ACE_THROW_SPEC ((
- CORBA::SystemException
- ))
-{
- this->ptr_->version (
- version,
- ACE_TRY_ENV
- );
-}
-
-template <class T> ACE_INLINE
-IR::Container_ptr POA_IR::PrimaryKeyDef_tie<T>::defined_in (
- CORBA::Environment &ACE_TRY_ENV
- )
- ACE_THROW_SPEC ((
- CORBA::SystemException
- ))
-{
- return this->ptr_->defined_in (
- ACE_TRY_ENV
- );
-}
-
-template <class T> ACE_INLINE
-char * POA_IR::PrimaryKeyDef_tie<T>::absolute_name (
- CORBA::Environment &ACE_TRY_ENV
- )
- ACE_THROW_SPEC ((
- CORBA::SystemException
- ))
-{
- return this->ptr_->absolute_name (
- ACE_TRY_ENV
- );
-}
-
-template <class T> ACE_INLINE
-IR::Repository_ptr POA_IR::PrimaryKeyDef_tie<T>::containing_repository (
- CORBA::Environment &ACE_TRY_ENV
- )
- ACE_THROW_SPEC ((
- CORBA::SystemException
- ))
-{
- return this->ptr_->containing_repository (
- ACE_TRY_ENV
- );
-}
-
-template <class T> ACE_INLINE
-IR::Contained::Description * POA_IR::PrimaryKeyDef_tie<T>::describe (
- CORBA::Environment &ACE_TRY_ENV
- )
- ACE_THROW_SPEC ((
- CORBA::SystemException
- ))
-{
- return this->ptr_->describe (
- ACE_TRY_ENV
- );
-}
-
-template <class T> ACE_INLINE
-void POA_IR::PrimaryKeyDef_tie<T>::move (
- IR_Container_ptr new_container,
- const char * new_name,
- const char * new_version,
- CORBA::Environment &ACE_TRY_ENV
- )
- ACE_THROW_SPEC ((
- CORBA::SystemException
- ))
-{
- this->ptr_->move (
- new_container,
- new_name,
- new_version,
- ACE_TRY_ENV
- );
-}
-
-template <class T> ACE_INLINE
-IR::DefinitionKind POA_IR::PrimaryKeyDef_tie<T>::def_kind (
- CORBA::Environment &ACE_TRY_ENV
- )
- ACE_THROW_SPEC ((
- CORBA::SystemException
- ))
-{
- return this->ptr_->def_kind (
- ACE_TRY_ENV
- );
-}
-
-template <class T> ACE_INLINE
-void POA_IR::PrimaryKeyDef_tie<T>::destroy (
- CORBA::Environment &ACE_TRY_ENV
- )
- ACE_THROW_SPEC ((
- CORBA::SystemException
- ))
-{
- this->ptr_->destroy (
- ACE_TRY_ENV
- );
-}
-
-#endif /* ACE_HAS_USING_KEYWORD */
-
-#if defined (ACE_HAS_USING_KEYWORD)
-template <class T> ACE_INLINE
-POA_IR::FactoryDef_tie<T>::FactoryDef_tie (T &t)
- : ptr_ (&t),
- poa_ (PortableServer::POA::_nil ()),
- rel_ (0)
-{}
-
-template <class T> ACE_INLINE
-POA_IR::FactoryDef_tie<T>::FactoryDef_tie (T &t, PortableServer::POA_ptr poa)
- : ptr_ (&t),
- poa_ (PortableServer::POA::_duplicate (poa)),
- rel_ (0)
-{}
-
-template <class T> ACE_INLINE
-POA_IR::FactoryDef_tie<T>::FactoryDef_tie (T *tp, CORBA::Boolean release)
- : ptr_ (tp),
- poa_ (PortableServer::POA::_nil ()),
- rel_ (release)
-{}
-
-template <class T> ACE_INLINE
-POA_IR::FactoryDef_tie<T>::FactoryDef_tie (T *tp, PortableServer::POA_ptr poa, CORBA::Boolean release)
- : ptr_ (tp),
- poa_ (PortableServer::POA::_duplicate (poa)),
- rel_ (release)
-{}
-
-template <class T> ACE_INLINE
-POA_IR::FactoryDef_tie<T>::~FactoryDef_tie (void)
-{
- if (this->rel_) delete this->ptr_;
-}
-
-template <class T> ACE_INLINE T *
-POA_IR::FactoryDef_tie<T>::_tied_object (void)
-{
- return this->ptr_;
-}
-
-template <class T> ACE_INLINE void
-POA_IR::FactoryDef_tie<T>::_tied_object (T &obj)
-{
- if (this->rel_) delete this->ptr_;
- this->ptr_ = &obj;
- this->rel_ = 0;
-}
-
-template <class T> ACE_INLINE void
-POA_IR::FactoryDef_tie<T>::_tied_object (T *obj, CORBA::Boolean release)
-{
- if (this->rel_) delete this->ptr_;
- this->ptr_ = obj;
- this->rel_ = release;
-}
-
-template <class T> ACE_INLINE CORBA::Boolean
-POA_IR::FactoryDef_tie<T>::_is_owner (void)
-{
- return this->rel_;
-}
-
-template <class T> ACE_INLINE void
-POA_IR::FactoryDef_tie<T>::_is_owner (CORBA::Boolean b)
-{
- this->rel_ = b;
-}
-
-template <class T> ACE_INLINE PortableServer::POA_ptr
-POA_IR::FactoryDef_tie<T>::_default_POA (CORBA::Environment &env)
-{
- if (!CORBA::is_nil (this->poa_.in ()))
- return PortableServer::POA::_duplicate (this->poa_.in ());
-
- return this->FactoryDef::_default_POA (env);
-}
-
-template <class T> ACE_INLINE
-CORBA::TypeCode_ptr POA_IR::FactoryDef_tie<T>::result (
- CORBA::Environment &ACE_TRY_ENV
- )
- ACE_THROW_SPEC ((
- CORBA::SystemException
- ))
-{
- return this->ptr_->result (
- ACE_TRY_ENV
- );
-}
-
-template <class T> ACE_INLINE
-IR::IDLType_ptr POA_IR::FactoryDef_tie<T>::result_def (
- CORBA::Environment &ACE_TRY_ENV
- )
- ACE_THROW_SPEC ((
- CORBA::SystemException
- ))
-{
- return this->ptr_->result_def (
- ACE_TRY_ENV
- );
-}
-
-template <class T> ACE_INLINE
-void POA_IR::FactoryDef_tie<T>::result_def (
- IR_IDLType_ptr result_def,
- CORBA::Environment &ACE_TRY_ENV
- )
- ACE_THROW_SPEC ((
- CORBA::SystemException
- ))
-{
- this->ptr_->result_def (
- result_def,
- ACE_TRY_ENV
- );
-}
-
-template <class T> ACE_INLINE
-IR::ParDescriptionSeq * POA_IR::FactoryDef_tie<T>::params (
- CORBA::Environment &ACE_TRY_ENV
- )
- ACE_THROW_SPEC ((
- CORBA::SystemException
- ))
-{
- return this->ptr_->params (
- ACE_TRY_ENV
- );
-}
-
-template <class T> ACE_INLINE
-void POA_IR::FactoryDef_tie<T>::params (
- const IR_ParDescriptionSeq & params,
- CORBA::Environment &ACE_TRY_ENV
- )
- ACE_THROW_SPEC ((
- CORBA::SystemException
- ))
-{
- this->ptr_->params (
- params,
- ACE_TRY_ENV
- );
-}
-
-template <class T> ACE_INLINE
-IR::OperationMode POA_IR::FactoryDef_tie<T>::mode (
- CORBA::Environment &ACE_TRY_ENV
- )
- ACE_THROW_SPEC ((
- CORBA::SystemException
- ))
-{
- return this->ptr_->mode (
- ACE_TRY_ENV
- );
-}
-
-template <class T> ACE_INLINE
-void POA_IR::FactoryDef_tie<T>::mode (
- IR_OperationMode mode,
- CORBA::Environment &ACE_TRY_ENV
- )
- ACE_THROW_SPEC ((
- CORBA::SystemException
- ))
-{
- this->ptr_->mode (
- mode,
- ACE_TRY_ENV
- );
-}
-
-template <class T> ACE_INLINE
-IR::ContextIdSeq * POA_IR::FactoryDef_tie<T>::contexts (
- CORBA::Environment &ACE_TRY_ENV
- )
- ACE_THROW_SPEC ((
- CORBA::SystemException
- ))
-{
- return this->ptr_->contexts (
- ACE_TRY_ENV
- );
-}
-
-template <class T> ACE_INLINE
-void POA_IR::FactoryDef_tie<T>::contexts (
- const IR_ContextIdSeq & contexts,
- CORBA::Environment &ACE_TRY_ENV
- )
- ACE_THROW_SPEC ((
- CORBA::SystemException
- ))
-{
- this->ptr_->contexts (
- contexts,
- ACE_TRY_ENV
- );
-}
-
-template <class T> ACE_INLINE
-IR::ExceptionDefSeq * POA_IR::FactoryDef_tie<T>::exceptions (
- CORBA::Environment &ACE_TRY_ENV
- )
- ACE_THROW_SPEC ((
- CORBA::SystemException
- ))
-{
- return this->ptr_->exceptions (
- ACE_TRY_ENV
- );
-}
-
-template <class T> ACE_INLINE
-void POA_IR::FactoryDef_tie<T>::exceptions (
- const IR_ExceptionDefSeq & exceptions,
- CORBA::Environment &ACE_TRY_ENV
- )
- ACE_THROW_SPEC ((
- CORBA::SystemException
- ))
-{
- this->ptr_->exceptions (
- exceptions,
- ACE_TRY_ENV
- );
-}
-
-template <class T> ACE_INLINE
-char * POA_IR::FactoryDef_tie<T>::id (
- CORBA::Environment &ACE_TRY_ENV
- )
- ACE_THROW_SPEC ((
- CORBA::SystemException
- ))
-{
- return this->ptr_->id (
- ACE_TRY_ENV
- );
-}
-
-template <class T> ACE_INLINE
-void POA_IR::FactoryDef_tie<T>::id (
- const char * id,
- CORBA::Environment &ACE_TRY_ENV
- )
- ACE_THROW_SPEC ((
- CORBA::SystemException
- ))
-{
- this->ptr_->id (
- id,
- ACE_TRY_ENV
- );
-}
-
-template <class T> ACE_INLINE
-char * POA_IR::FactoryDef_tie<T>::name (
- CORBA::Environment &ACE_TRY_ENV
- )
- ACE_THROW_SPEC ((
- CORBA::SystemException
- ))
-{
- return this->ptr_->name (
- ACE_TRY_ENV
- );
-}
-
-template <class T> ACE_INLINE
-void POA_IR::FactoryDef_tie<T>::name (
- const char * name,
- CORBA::Environment &ACE_TRY_ENV
- )
- ACE_THROW_SPEC ((
- CORBA::SystemException
- ))
-{
- this->ptr_->name (
- name,
- ACE_TRY_ENV
- );
-}
-
-template <class T> ACE_INLINE
-char * POA_IR::FactoryDef_tie<T>::version (
- CORBA::Environment &ACE_TRY_ENV
- )
- ACE_THROW_SPEC ((
- CORBA::SystemException
- ))
-{
- return this->ptr_->version (
- ACE_TRY_ENV
- );
-}
-
-template <class T> ACE_INLINE
-void POA_IR::FactoryDef_tie<T>::version (
- const char * version,
- CORBA::Environment &ACE_TRY_ENV
- )
- ACE_THROW_SPEC ((
- CORBA::SystemException
- ))
-{
- this->ptr_->version (
- version,
- ACE_TRY_ENV
- );
-}
-
-template <class T> ACE_INLINE
-IR::Container_ptr POA_IR::FactoryDef_tie<T>::defined_in (
- CORBA::Environment &ACE_TRY_ENV
- )
- ACE_THROW_SPEC ((
- CORBA::SystemException
- ))
-{
- return this->ptr_->defined_in (
- ACE_TRY_ENV
- );
-}
-
-template <class T> ACE_INLINE
-char * POA_IR::FactoryDef_tie<T>::absolute_name (
- CORBA::Environment &ACE_TRY_ENV
- )
- ACE_THROW_SPEC ((
- CORBA::SystemException
- ))
-{
- return this->ptr_->absolute_name (
- ACE_TRY_ENV
- );
-}
-
-template <class T> ACE_INLINE
-IR::Repository_ptr POA_IR::FactoryDef_tie<T>::containing_repository (
- CORBA::Environment &ACE_TRY_ENV
- )
- ACE_THROW_SPEC ((
- CORBA::SystemException
- ))
-{
- return this->ptr_->containing_repository (
- ACE_TRY_ENV
- );
-}
-
-template <class T> ACE_INLINE
-IR::Contained::Description * POA_IR::FactoryDef_tie<T>::describe (
- CORBA::Environment &ACE_TRY_ENV
- )
- ACE_THROW_SPEC ((
- CORBA::SystemException
- ))
-{
- return this->ptr_->describe (
- ACE_TRY_ENV
- );
-}
-
-template <class T> ACE_INLINE
-void POA_IR::FactoryDef_tie<T>::move (
- IR_Container_ptr new_container,
- const char * new_name,
- const char * new_version,
- CORBA::Environment &ACE_TRY_ENV
- )
- ACE_THROW_SPEC ((
- CORBA::SystemException
- ))
-{
- this->ptr_->move (
- new_container,
- new_name,
- new_version,
- ACE_TRY_ENV
- );
-}
-
-template <class T> ACE_INLINE
-IR::DefinitionKind POA_IR::FactoryDef_tie<T>::def_kind (
- CORBA::Environment &ACE_TRY_ENV
- )
- ACE_THROW_SPEC ((
- CORBA::SystemException
- ))
-{
- return this->ptr_->def_kind (
- ACE_TRY_ENV
- );
-}
-
-template <class T> ACE_INLINE
-void POA_IR::FactoryDef_tie<T>::destroy (
- CORBA::Environment &ACE_TRY_ENV
- )
- ACE_THROW_SPEC ((
- CORBA::SystemException
- ))
-{
- this->ptr_->destroy (
- ACE_TRY_ENV
- );
-}
-
-#endif /* ACE_HAS_USING_KEYWORD */
-
-#if defined (ACE_HAS_USING_KEYWORD)
-template <class T> ACE_INLINE
-POA_IR::FinderDef_tie<T>::FinderDef_tie (T &t)
- : ptr_ (&t),
- poa_ (PortableServer::POA::_nil ()),
- rel_ (0)
-{}
-
-template <class T> ACE_INLINE
-POA_IR::FinderDef_tie<T>::FinderDef_tie (T &t, PortableServer::POA_ptr poa)
- : ptr_ (&t),
- poa_ (PortableServer::POA::_duplicate (poa)),
- rel_ (0)
-{}
-
-template <class T> ACE_INLINE
-POA_IR::FinderDef_tie<T>::FinderDef_tie (T *tp, CORBA::Boolean release)
- : ptr_ (tp),
- poa_ (PortableServer::POA::_nil ()),
- rel_ (release)
-{}
-
-template <class T> ACE_INLINE
-POA_IR::FinderDef_tie<T>::FinderDef_tie (T *tp, PortableServer::POA_ptr poa, CORBA::Boolean release)
- : ptr_ (tp),
- poa_ (PortableServer::POA::_duplicate (poa)),
- rel_ (release)
-{}
-
-template <class T> ACE_INLINE
-POA_IR::FinderDef_tie<T>::~FinderDef_tie (void)
-{
- if (this->rel_) delete this->ptr_;
-}
-
-template <class T> ACE_INLINE T *
-POA_IR::FinderDef_tie<T>::_tied_object (void)
-{
- return this->ptr_;
-}
-
-template <class T> ACE_INLINE void
-POA_IR::FinderDef_tie<T>::_tied_object (T &obj)
-{
- if (this->rel_) delete this->ptr_;
- this->ptr_ = &obj;
- this->rel_ = 0;
-}
-
-template <class T> ACE_INLINE void
-POA_IR::FinderDef_tie<T>::_tied_object (T *obj, CORBA::Boolean release)
-{
- if (this->rel_) delete this->ptr_;
- this->ptr_ = obj;
- this->rel_ = release;
-}
-
-template <class T> ACE_INLINE CORBA::Boolean
-POA_IR::FinderDef_tie<T>::_is_owner (void)
-{
- return this->rel_;
-}
-
-template <class T> ACE_INLINE void
-POA_IR::FinderDef_tie<T>::_is_owner (CORBA::Boolean b)
-{
- this->rel_ = b;
-}
-
-template <class T> ACE_INLINE PortableServer::POA_ptr
-POA_IR::FinderDef_tie<T>::_default_POA (CORBA::Environment &env)
-{
- if (!CORBA::is_nil (this->poa_.in ()))
- return PortableServer::POA::_duplicate (this->poa_.in ());
-
- return this->FinderDef::_default_POA (env);
-}
-
-template <class T> ACE_INLINE
-CORBA::TypeCode_ptr POA_IR::FinderDef_tie<T>::result (
- CORBA::Environment &ACE_TRY_ENV
- )
- ACE_THROW_SPEC ((
- CORBA::SystemException
- ))
-{
- return this->ptr_->result (
- ACE_TRY_ENV
- );
-}
-
-template <class T> ACE_INLINE
-IR::IDLType_ptr POA_IR::FinderDef_tie<T>::result_def (
- CORBA::Environment &ACE_TRY_ENV
- )
- ACE_THROW_SPEC ((
- CORBA::SystemException
- ))
-{
- return this->ptr_->result_def (
- ACE_TRY_ENV
- );
-}
-
-template <class T> ACE_INLINE
-void POA_IR::FinderDef_tie<T>::result_def (
- IR_IDLType_ptr result_def,
- CORBA::Environment &ACE_TRY_ENV
- )
- ACE_THROW_SPEC ((
- CORBA::SystemException
- ))
-{
- this->ptr_->result_def (
- result_def,
- ACE_TRY_ENV
- );
-}
-
-template <class T> ACE_INLINE
-IR::ParDescriptionSeq * POA_IR::FinderDef_tie<T>::params (
- CORBA::Environment &ACE_TRY_ENV
- )
- ACE_THROW_SPEC ((
- CORBA::SystemException
- ))
-{
- return this->ptr_->params (
- ACE_TRY_ENV
- );
-}
-
-template <class T> ACE_INLINE
-void POA_IR::FinderDef_tie<T>::params (
- const IR_ParDescriptionSeq & params,
- CORBA::Environment &ACE_TRY_ENV
- )
- ACE_THROW_SPEC ((
- CORBA::SystemException
- ))
-{
- this->ptr_->params (
- params,
- ACE_TRY_ENV
- );
-}
-
-template <class T> ACE_INLINE
-IR::OperationMode POA_IR::FinderDef_tie<T>::mode (
- CORBA::Environment &ACE_TRY_ENV
- )
- ACE_THROW_SPEC ((
- CORBA::SystemException
- ))
-{
- return this->ptr_->mode (
- ACE_TRY_ENV
- );
-}
-
-template <class T> ACE_INLINE
-void POA_IR::FinderDef_tie<T>::mode (
- IR_OperationMode mode,
- CORBA::Environment &ACE_TRY_ENV
- )
- ACE_THROW_SPEC ((
- CORBA::SystemException
- ))
-{
- this->ptr_->mode (
- mode,
- ACE_TRY_ENV
- );
-}
-
-template <class T> ACE_INLINE
-IR::ContextIdSeq * POA_IR::FinderDef_tie<T>::contexts (
- CORBA::Environment &ACE_TRY_ENV
- )
- ACE_THROW_SPEC ((
- CORBA::SystemException
- ))
-{
- return this->ptr_->contexts (
- ACE_TRY_ENV
- );
-}
-
-template <class T> ACE_INLINE
-void POA_IR::FinderDef_tie<T>::contexts (
- const IR_ContextIdSeq & contexts,
- CORBA::Environment &ACE_TRY_ENV
- )
- ACE_THROW_SPEC ((
- CORBA::SystemException
- ))
-{
- this->ptr_->contexts (
- contexts,
- ACE_TRY_ENV
- );
-}
-
-template <class T> ACE_INLINE
-IR::ExceptionDefSeq * POA_IR::FinderDef_tie<T>::exceptions (
- CORBA::Environment &ACE_TRY_ENV
- )
- ACE_THROW_SPEC ((
- CORBA::SystemException
- ))
-{
- return this->ptr_->exceptions (
- ACE_TRY_ENV
- );
-}
-
-template <class T> ACE_INLINE
-void POA_IR::FinderDef_tie<T>::exceptions (
- const IR_ExceptionDefSeq & exceptions,
- CORBA::Environment &ACE_TRY_ENV
- )
- ACE_THROW_SPEC ((
- CORBA::SystemException
- ))
-{
- this->ptr_->exceptions (
- exceptions,
- ACE_TRY_ENV
- );
-}
-
-template <class T> ACE_INLINE
-char * POA_IR::FinderDef_tie<T>::id (
- CORBA::Environment &ACE_TRY_ENV
- )
- ACE_THROW_SPEC ((
- CORBA::SystemException
- ))
-{
- return this->ptr_->id (
- ACE_TRY_ENV
- );
-}
-
-template <class T> ACE_INLINE
-void POA_IR::FinderDef_tie<T>::id (
- const char * id,
- CORBA::Environment &ACE_TRY_ENV
- )
- ACE_THROW_SPEC ((
- CORBA::SystemException
- ))
-{
- this->ptr_->id (
- id,
- ACE_TRY_ENV
- );
-}
-
-template <class T> ACE_INLINE
-char * POA_IR::FinderDef_tie<T>::name (
- CORBA::Environment &ACE_TRY_ENV
- )
- ACE_THROW_SPEC ((
- CORBA::SystemException
- ))
-{
- return this->ptr_->name (
- ACE_TRY_ENV
- );
-}
-
-template <class T> ACE_INLINE
-void POA_IR::FinderDef_tie<T>::name (
- const char * name,
- CORBA::Environment &ACE_TRY_ENV
- )
- ACE_THROW_SPEC ((
- CORBA::SystemException
- ))
-{
- this->ptr_->name (
- name,
- ACE_TRY_ENV
- );
-}
-
-template <class T> ACE_INLINE
-char * POA_IR::FinderDef_tie<T>::version (
- CORBA::Environment &ACE_TRY_ENV
- )
- ACE_THROW_SPEC ((
- CORBA::SystemException
- ))
-{
- return this->ptr_->version (
- ACE_TRY_ENV
- );
-}
-
-template <class T> ACE_INLINE
-void POA_IR::FinderDef_tie<T>::version (
- const char * version,
- CORBA::Environment &ACE_TRY_ENV
- )
- ACE_THROW_SPEC ((
- CORBA::SystemException
- ))
-{
- this->ptr_->version (
- version,
- ACE_TRY_ENV
- );
-}
-
-template <class T> ACE_INLINE
-IR::Container_ptr POA_IR::FinderDef_tie<T>::defined_in (
- CORBA::Environment &ACE_TRY_ENV
- )
- ACE_THROW_SPEC ((
- CORBA::SystemException
- ))
-{
- return this->ptr_->defined_in (
- ACE_TRY_ENV
- );
-}
-
-template <class T> ACE_INLINE
-char * POA_IR::FinderDef_tie<T>::absolute_name (
- CORBA::Environment &ACE_TRY_ENV
- )
- ACE_THROW_SPEC ((
- CORBA::SystemException
- ))
-{
- return this->ptr_->absolute_name (
- ACE_TRY_ENV
- );
-}
-
-template <class T> ACE_INLINE
-IR::Repository_ptr POA_IR::FinderDef_tie<T>::containing_repository (
- CORBA::Environment &ACE_TRY_ENV
- )
- ACE_THROW_SPEC ((
- CORBA::SystemException
- ))
-{
- return this->ptr_->containing_repository (
- ACE_TRY_ENV
- );
-}
-
-template <class T> ACE_INLINE
-IR::Contained::Description * POA_IR::FinderDef_tie<T>::describe (
- CORBA::Environment &ACE_TRY_ENV
- )
- ACE_THROW_SPEC ((
- CORBA::SystemException
- ))
-{
- return this->ptr_->describe (
- ACE_TRY_ENV
- );
-}
-
-template <class T> ACE_INLINE
-void POA_IR::FinderDef_tie<T>::move (
- IR_Container_ptr new_container,
- const char * new_name,
- const char * new_version,
- CORBA::Environment &ACE_TRY_ENV
- )
- ACE_THROW_SPEC ((
- CORBA::SystemException
- ))
-{
- this->ptr_->move (
- new_container,
- new_name,
- new_version,
- ACE_TRY_ENV
- );
-}
-
-template <class T> ACE_INLINE
-IR::DefinitionKind POA_IR::FinderDef_tie<T>::def_kind (
- CORBA::Environment &ACE_TRY_ENV
- )
- ACE_THROW_SPEC ((
- CORBA::SystemException
- ))
-{
- return this->ptr_->def_kind (
- ACE_TRY_ENV
- );
-}
-
-template <class T> ACE_INLINE
-void POA_IR::FinderDef_tie<T>::destroy (
- CORBA::Environment &ACE_TRY_ENV
- )
- ACE_THROW_SPEC ((
- CORBA::SystemException
- ))
-{
- this->ptr_->destroy (
- ACE_TRY_ENV
- );
-}
-
-#endif /* ACE_HAS_USING_KEYWORD */
-
-#if defined (ACE_HAS_USING_KEYWORD)
-template <class T> ACE_INLINE
-POA_IR::HomeDef_tie<T>::HomeDef_tie (T &t)
- : ptr_ (&t),
- poa_ (PortableServer::POA::_nil ()),
- rel_ (0)
-{}
-
-template <class T> ACE_INLINE
-POA_IR::HomeDef_tie<T>::HomeDef_tie (T &t, PortableServer::POA_ptr poa)
- : ptr_ (&t),
- poa_ (PortableServer::POA::_duplicate (poa)),
- rel_ (0)
-{}
-
-template <class T> ACE_INLINE
-POA_IR::HomeDef_tie<T>::HomeDef_tie (T *tp, CORBA::Boolean release)
- : ptr_ (tp),
- poa_ (PortableServer::POA::_nil ()),
- rel_ (release)
-{}
-
-template <class T> ACE_INLINE
-POA_IR::HomeDef_tie<T>::HomeDef_tie (T *tp, PortableServer::POA_ptr poa, CORBA::Boolean release)
- : ptr_ (tp),
- poa_ (PortableServer::POA::_duplicate (poa)),
- rel_ (release)
-{}
-
-template <class T> ACE_INLINE
-POA_IR::HomeDef_tie<T>::~HomeDef_tie (void)
-{
- if (this->rel_) delete this->ptr_;
-}
-
-template <class T> ACE_INLINE T *
-POA_IR::HomeDef_tie<T>::_tied_object (void)
-{
- return this->ptr_;
-}
-
-template <class T> ACE_INLINE void
-POA_IR::HomeDef_tie<T>::_tied_object (T &obj)
-{
- if (this->rel_) delete this->ptr_;
- this->ptr_ = &obj;
- this->rel_ = 0;
-}
-
-template <class T> ACE_INLINE void
-POA_IR::HomeDef_tie<T>::_tied_object (T *obj, CORBA::Boolean release)
-{
- if (this->rel_) delete this->ptr_;
- this->ptr_ = obj;
- this->rel_ = release;
-}
-
-template <class T> ACE_INLINE CORBA::Boolean
-POA_IR::HomeDef_tie<T>::_is_owner (void)
-{
- return this->rel_;
-}
-
-template <class T> ACE_INLINE void
-POA_IR::HomeDef_tie<T>::_is_owner (CORBA::Boolean b)
-{
- this->rel_ = b;
-}
-
-template <class T> ACE_INLINE PortableServer::POA_ptr
-POA_IR::HomeDef_tie<T>::_default_POA (CORBA::Environment &env)
-{
- if (!CORBA::is_nil (this->poa_.in ()))
- return PortableServer::POA::_duplicate (this->poa_.in ());
-
- return this->HomeDef::_default_POA (env);
-}
-
-template <class T> ACE_INLINE
-IR::HomeDef_ptr POA_IR::HomeDef_tie<T>::base_home (
- CORBA::Environment &ACE_TRY_ENV
- )
- ACE_THROW_SPEC ((
- CORBA::SystemException
- ))
-{
- return this->ptr_->base_home (
- ACE_TRY_ENV
- );
-}
-
-template <class T> ACE_INLINE
-IR::ComponentDef_ptr POA_IR::HomeDef_tie<T>::managed_component (
- CORBA::Environment &ACE_TRY_ENV
- )
- ACE_THROW_SPEC ((
- CORBA::SystemException
- ))
-{
- return this->ptr_->managed_component (
- ACE_TRY_ENV
- );
-}
-
-template <class T> ACE_INLINE
-IR::PrimaryKeyDef_ptr POA_IR::HomeDef_tie<T>::primary_key (
- CORBA::Environment &ACE_TRY_ENV
- )
- ACE_THROW_SPEC ((
- CORBA::SystemException
- ))
-{
- return this->ptr_->primary_key (
- ACE_TRY_ENV
- );
-}
-
-template <class T> ACE_INLINE
-IR::FactoryDefSeq * POA_IR::HomeDef_tie<T>::factories (
- CORBA::Environment &ACE_TRY_ENV
- )
- ACE_THROW_SPEC ((
- CORBA::SystemException
- ))
-{
- return this->ptr_->factories (
- ACE_TRY_ENV
- );
-}
-
-template <class T> ACE_INLINE
-IR::FinderDefSeq * POA_IR::HomeDef_tie<T>::finders (
- CORBA::Environment &ACE_TRY_ENV
- )
- ACE_THROW_SPEC ((
- CORBA::SystemException
- ))
-{
- return this->ptr_->finders (
- ACE_TRY_ENV
- );
-}
-
-template <class T> ACE_INLINE
-CORBA::Boolean POA_IR::HomeDef_tie<T>::is_basic (
- CORBA::Environment &ACE_TRY_ENV
- )
- ACE_THROW_SPEC ((
- CORBA::SystemException
- ))
-{
- return this->ptr_->is_basic (
- ACE_TRY_ENV
- );
-}
-
-template <class T> ACE_INLINE
-IR::PrimaryKeyDef_ptr POA_IR::HomeDef_tie<T>::create_primary_key (
- const char * id,
- const char * name,
- const char * version,
- IR_ValueDef_ptr primary_key,
- CORBA::Environment &ACE_TRY_ENV
- )
- ACE_THROW_SPEC ((
- CORBA::SystemException
- ))
-{
- return this->ptr_->create_primary_key (
- id,
- name,
- version,
- primary_key,
- ACE_TRY_ENV
- );
-}
-
-template <class T> ACE_INLINE
-IR::FactoryDef_ptr POA_IR::HomeDef_tie<T>::create_factory (
- const char * id,
- const char * name,
- const char * version,
- const IR_ParDescriptionSeq & params,
- const IR_ExceptionDefSeq & exceptions,
- CORBA::Environment &ACE_TRY_ENV
- )
- ACE_THROW_SPEC ((
- CORBA::SystemException
- ))
-{
- return this->ptr_->create_factory (
- id,
- name,
- version,
- params,
- exceptions,
- ACE_TRY_ENV
- );
-}
-
-template <class T> ACE_INLINE
-IR::FinderDef_ptr POA_IR::HomeDef_tie<T>::create_finder (
- const char * id,
- const char * name,
- const char * version,
- const IR_ParDescriptionSeq & params,
- const IR_ExceptionDefSeq & exceptions,
- CORBA::Environment &ACE_TRY_ENV
- )
- ACE_THROW_SPEC ((
- CORBA::SystemException
- ))
-{
- return this->ptr_->create_finder (
- id,
- name,
- version,
- params,
- exceptions,
- ACE_TRY_ENV
- );
-}
-
-template <class T> ACE_INLINE
-IR::InterfaceDefSeq * POA_IR::HomeDef_tie<T>::base_interfaces (
- CORBA::Environment &ACE_TRY_ENV
- )
- ACE_THROW_SPEC ((
- CORBA::SystemException
- ))
-{
- return this->ptr_->base_interfaces (
- ACE_TRY_ENV
- );
-}
-
-template <class T> ACE_INLINE
-void POA_IR::HomeDef_tie<T>::base_interfaces (
- const IR_InterfaceDefSeq & base_interfaces,
- CORBA::Environment &ACE_TRY_ENV
- )
- ACE_THROW_SPEC ((
- CORBA::SystemException
- ))
-{
- this->ptr_->base_interfaces (
- base_interfaces,
- ACE_TRY_ENV
- );
-}
-
-template <class T> ACE_INLINE
-CORBA::Boolean POA_IR::HomeDef_tie<T>::is_abstract (
- CORBA::Environment &ACE_TRY_ENV
- )
- ACE_THROW_SPEC ((
- CORBA::SystemException
- ))
-{
- return this->ptr_->is_abstract (
- ACE_TRY_ENV
- );
-}
-
-template <class T> ACE_INLINE
-void POA_IR::HomeDef_tie<T>::is_abstract (
- CORBA::Boolean is_abstract,
- CORBA::Environment &ACE_TRY_ENV
- )
- ACE_THROW_SPEC ((
- CORBA::SystemException
- ))
-{
- this->ptr_->is_abstract (
- is_abstract,
- ACE_TRY_ENV
- );
-}
-
-template <class T> ACE_INLINE
-CORBA::Boolean POA_IR::HomeDef_tie<T>::is_local (
- CORBA::Environment &ACE_TRY_ENV
- )
- ACE_THROW_SPEC ((
- CORBA::SystemException
- ))
-{
- return this->ptr_->is_local (
- ACE_TRY_ENV
- );
-}
-
-template <class T> ACE_INLINE
-void POA_IR::HomeDef_tie<T>::is_local (
- CORBA::Boolean is_local,
- CORBA::Environment &ACE_TRY_ENV
- )
- ACE_THROW_SPEC ((
- CORBA::SystemException
- ))
-{
- this->ptr_->is_local (
- is_local,
- ACE_TRY_ENV
- );
-}
-
-template <class T> ACE_INLINE
-CORBA::Boolean POA_IR::HomeDef_tie<T>::is_a (
- const char * interface_id,
- CORBA::Environment &ACE_TRY_ENV
- )
- ACE_THROW_SPEC ((
- CORBA::SystemException
- ))
-{
- return this->ptr_->is_a (
- interface_id,
- ACE_TRY_ENV
- );
-}
-
-template <class T> ACE_INLINE
-IR::AttributeDef_ptr POA_IR::HomeDef_tie<T>::create_attribute (
- const char * id,
- const char * name,
- const char * version,
- IR_IDLType_ptr type,
- IR_AttributeMode mode,
- const IR_ExceptionDefSeq & get_exceptions,
- const IR_ExceptionDefSeq & put_exceptions,
- CORBA::Environment &ACE_TRY_ENV
- )
- ACE_THROW_SPEC ((
- CORBA::SystemException
- ))
-{
- return this->ptr_->create_attribute (
- id,
- name,
- version,
- type,
- mode,
- get_exceptions,
- put_exceptions,
- ACE_TRY_ENV
- );
-}
-
-template <class T> ACE_INLINE
-IR::OperationDef_ptr POA_IR::HomeDef_tie<T>::create_operation (
- const char * id,
- const char * name,
- const char * version,
- IR_IDLType_ptr result,
- IR_OperationMode mode,
- const IR_ParDescriptionSeq & params,
- const IR_ExceptionDefSeq & exceptions,
- const IR_ContextIdSeq & contexts,
- CORBA::Environment &ACE_TRY_ENV
- )
- ACE_THROW_SPEC ((
- CORBA::SystemException
- ))
-{
- return this->ptr_->create_operation (
- id,
- name,
- version,
- result,
- mode,
- params,
- exceptions,
- contexts,
- ACE_TRY_ENV
- );
-}
-
-template <class T> ACE_INLINE
-IR::Contained_ptr POA_IR::HomeDef_tie<T>::lookup (
- const char * search_name,
- CORBA::Environment &ACE_TRY_ENV
- )
- ACE_THROW_SPEC ((
- CORBA::SystemException
- ))
-{
- return this->ptr_->lookup (
- search_name,
- ACE_TRY_ENV
- );
-}
-
-template <class T> ACE_INLINE
-IR::ContainedSeq * POA_IR::HomeDef_tie<T>::contents (
- IR_DefinitionKind limit_type,
- CORBA::Boolean exclude_inherited,
- CORBA::Environment &ACE_TRY_ENV
- )
- ACE_THROW_SPEC ((
- CORBA::SystemException
- ))
-{
- return this->ptr_->contents (
- limit_type,
- exclude_inherited,
- ACE_TRY_ENV
- );
-}
-
-template <class T> ACE_INLINE
-IR::ContainedSeq * POA_IR::HomeDef_tie<T>::lookup_name (
- const char * search_name,
- CORBA::Long levels_to_search,
- IR_DefinitionKind limit_type,
- CORBA::Boolean exclude_inherited,
- CORBA::Environment &ACE_TRY_ENV
- )
- ACE_THROW_SPEC ((
- CORBA::SystemException
- ))
-{
- return this->ptr_->lookup_name (
- search_name,
- levels_to_search,
- limit_type,
- exclude_inherited,
- ACE_TRY_ENV
- );
-}
-
-template <class T> ACE_INLINE
-IR::Container::DescriptionSeq * POA_IR::HomeDef_tie<T>::describe_contents (
- IR_DefinitionKind limit_type,
- CORBA::Boolean exclude_inherited,
- CORBA::Long max_returned_objs,
- CORBA::Environment &ACE_TRY_ENV
- )
- ACE_THROW_SPEC ((
- CORBA::SystemException
- ))
-{
- return this->ptr_->describe_contents (
- limit_type,
- exclude_inherited,
- max_returned_objs,
- ACE_TRY_ENV
- );
-}
-
-template <class T> ACE_INLINE
-IR::ModuleDef_ptr POA_IR::HomeDef_tie<T>::create_module (
- const char * id,
- const char * name,
- const char * version,
- CORBA::Environment &ACE_TRY_ENV
- )
- ACE_THROW_SPEC ((
- CORBA::SystemException
- ))
-{
- return this->ptr_->create_module (
- id,
- name,
- version,
- ACE_TRY_ENV
- );
-}
-
-template <class T> ACE_INLINE
-IR::ConstantDef_ptr POA_IR::HomeDef_tie<T>::create_constant (
- const char * id,
- const char * name,
- const char * version,
- IR_IDLType_ptr type,
- const CORBA::Any & value,
- CORBA::Environment &ACE_TRY_ENV
- )
- ACE_THROW_SPEC ((
- CORBA::SystemException
- ))
-{
- return this->ptr_->create_constant (
- id,
- name,
- version,
- type,
- value,
- ACE_TRY_ENV
- );
-}
-
-template <class T> ACE_INLINE
-IR::StructDef_ptr POA_IR::HomeDef_tie<T>::create_struct (
- const char * id,
- const char * name,
- const char * version,
- const IR_StructMemberSeq & members,
- CORBA::Environment &ACE_TRY_ENV
- )
- ACE_THROW_SPEC ((
- CORBA::SystemException
- ))
-{
- return this->ptr_->create_struct (
- id,
- name,
- version,
- members,
- ACE_TRY_ENV
- );
-}
-
-template <class T> ACE_INLINE
-IR::UnionDef_ptr POA_IR::HomeDef_tie<T>::create_union (
- const char * id,
- const char * name,
- const char * version,
- IR_IDLType_ptr discriminator_type,
- const IR_UnionMemberSeq & members,
- CORBA::Environment &ACE_TRY_ENV
- )
- ACE_THROW_SPEC ((
- CORBA::SystemException
- ))
-{
- return this->ptr_->create_union (
- id,
- name,
- version,
- discriminator_type,
- members,
- ACE_TRY_ENV
- );
-}
-
-template <class T> ACE_INLINE
-IR::EnumDef_ptr POA_IR::HomeDef_tie<T>::create_enum (
- const char * id,
- const char * name,
- const char * version,
- const IR_EnumMemberSeq & members,
- CORBA::Environment &ACE_TRY_ENV
- )
- ACE_THROW_SPEC ((
- CORBA::SystemException
- ))
-{
- return this->ptr_->create_enum (
- id,
- name,
- version,
- members,
- ACE_TRY_ENV
- );
-}
-
-template <class T> ACE_INLINE
-IR::AliasDef_ptr POA_IR::HomeDef_tie<T>::create_alias (
- const char * id,
- const char * name,
- const char * version,
- IR_IDLType_ptr original_type,
- CORBA::Environment &ACE_TRY_ENV
- )
- ACE_THROW_SPEC ((
- CORBA::SystemException
- ))
-{
- return this->ptr_->create_alias (
- id,
- name,
- version,
- original_type,
- ACE_TRY_ENV
- );
-}
-
-template <class T> ACE_INLINE
-IR::InterfaceDef_ptr POA_IR::HomeDef_tie<T>::create_interface (
- const char * id,
- const char * name,
- const char * version,
- const IR_InterfaceDefSeq & base_interfaces,
- CORBA::Boolean is_abstract,
- CORBA::Boolean is_local,
- CORBA::Environment &ACE_TRY_ENV
- )
- ACE_THROW_SPEC ((
- CORBA::SystemException
- ))
-{
- return this->ptr_->create_interface (
- id,
- name,
- version,
- base_interfaces,
- is_abstract,
- is_local,
- ACE_TRY_ENV
- );
-}
-
-template <class T> ACE_INLINE
-IR::ValueDef_ptr POA_IR::HomeDef_tie<T>::create_value (
- const char * id,
- const char * name,
- const char * version,
- CORBA::Boolean is_custom,
- CORBA::Boolean is_abstract,
- IR_ValueDef_ptr base_value,
- CORBA::Boolean is_truncatable,
- const IR_ValueDefSeq & abstract_base_values,
- const IR_InterfaceDefSeq & supported_interfaces,
- const IR_InitializerSeq & initializers,
- CORBA::Environment &ACE_TRY_ENV
- )
- ACE_THROW_SPEC ((
- CORBA::SystemException
- ))
-{
- return this->ptr_->create_value (
- id,
- name,
- version,
- is_custom,
- is_abstract,
- base_value,
- is_truncatable,
- abstract_base_values,
- supported_interfaces,
- initializers,
- ACE_TRY_ENV
- );
-}
-
-template <class T> ACE_INLINE
-IR::ValueBoxDef_ptr POA_IR::HomeDef_tie<T>::create_value_box (
- const char * id,
- const char * name,
- const char * version,
- IR_IDLType_ptr original_type_def,
- CORBA::Environment &ACE_TRY_ENV
- )
- ACE_THROW_SPEC ((
- CORBA::SystemException
- ))
-{
- return this->ptr_->create_value_box (
- id,
- name,
- version,
- original_type_def,
- ACE_TRY_ENV
- );
-}
-
-template <class T> ACE_INLINE
-IR::ExceptionDef_ptr POA_IR::HomeDef_tie<T>::create_exception (
- const char * id,
- const char * name,
- const char * version,
- const IR_StructMemberSeq & members,
- CORBA::Environment &ACE_TRY_ENV
- )
- ACE_THROW_SPEC ((
- CORBA::SystemException
- ))
-{
- return this->ptr_->create_exception (
- id,
- name,
- version,
- members,
- ACE_TRY_ENV
- );
-}
-
-template <class T> ACE_INLINE
-IR::NativeDef_ptr POA_IR::HomeDef_tie<T>::create_native (
- const char * id,
- const char * name,
- const char * version,
- CORBA::Environment &ACE_TRY_ENV
- )
- ACE_THROW_SPEC ((
- CORBA::SystemException
- ))
-{
- return this->ptr_->create_native (
- id,
- name,
- version,
- ACE_TRY_ENV
- );
-}
-
-template <class T> ACE_INLINE
-char * POA_IR::HomeDef_tie<T>::id (
- CORBA::Environment &ACE_TRY_ENV
- )
- ACE_THROW_SPEC ((
- CORBA::SystemException
- ))
-{
- return this->ptr_->id (
- ACE_TRY_ENV
- );
-}
-
-template <class T> ACE_INLINE
-void POA_IR::HomeDef_tie<T>::id (
- const char * id,
- CORBA::Environment &ACE_TRY_ENV
- )
- ACE_THROW_SPEC ((
- CORBA::SystemException
- ))
-{
- this->ptr_->id (
- id,
- ACE_TRY_ENV
- );
-}
-
-template <class T> ACE_INLINE
-char * POA_IR::HomeDef_tie<T>::name (
- CORBA::Environment &ACE_TRY_ENV
- )
- ACE_THROW_SPEC ((
- CORBA::SystemException
- ))
-{
- return this->ptr_->name (
- ACE_TRY_ENV
- );
-}
-
-template <class T> ACE_INLINE
-void POA_IR::HomeDef_tie<T>::name (
- const char * name,
- CORBA::Environment &ACE_TRY_ENV
- )
- ACE_THROW_SPEC ((
- CORBA::SystemException
- ))
-{
- this->ptr_->name (
- name,
- ACE_TRY_ENV
- );
-}
-
-template <class T> ACE_INLINE
-char * POA_IR::HomeDef_tie<T>::version (
- CORBA::Environment &ACE_TRY_ENV
- )
- ACE_THROW_SPEC ((
- CORBA::SystemException
- ))
-{
- return this->ptr_->version (
- ACE_TRY_ENV
- );
-}
-
-template <class T> ACE_INLINE
-void POA_IR::HomeDef_tie<T>::version (
- const char * version,
- CORBA::Environment &ACE_TRY_ENV
- )
- ACE_THROW_SPEC ((
- CORBA::SystemException
- ))
-{
- this->ptr_->version (
- version,
- ACE_TRY_ENV
- );
-}
-
-template <class T> ACE_INLINE
-IR::Container_ptr POA_IR::HomeDef_tie<T>::defined_in (
- CORBA::Environment &ACE_TRY_ENV
- )
- ACE_THROW_SPEC ((
- CORBA::SystemException
- ))
-{
- return this->ptr_->defined_in (
- ACE_TRY_ENV
- );
-}
-
-template <class T> ACE_INLINE
-char * POA_IR::HomeDef_tie<T>::absolute_name (
- CORBA::Environment &ACE_TRY_ENV
- )
- ACE_THROW_SPEC ((
- CORBA::SystemException
- ))
-{
- return this->ptr_->absolute_name (
- ACE_TRY_ENV
- );
-}
-
-template <class T> ACE_INLINE
-IR::Repository_ptr POA_IR::HomeDef_tie<T>::containing_repository (
- CORBA::Environment &ACE_TRY_ENV
- )
- ACE_THROW_SPEC ((
- CORBA::SystemException
- ))
-{
- return this->ptr_->containing_repository (
- ACE_TRY_ENV
- );
-}
-
-template <class T> ACE_INLINE
-IR::Contained::Description * POA_IR::HomeDef_tie<T>::describe (
- CORBA::Environment &ACE_TRY_ENV
- )
- ACE_THROW_SPEC ((
- CORBA::SystemException
- ))
-{
- return this->ptr_->describe (
- ACE_TRY_ENV
- );
-}
-
-template <class T> ACE_INLINE
-void POA_IR::HomeDef_tie<T>::move (
- IR_Container_ptr new_container,
- const char * new_name,
- const char * new_version,
- CORBA::Environment &ACE_TRY_ENV
- )
- ACE_THROW_SPEC ((
- CORBA::SystemException
- ))
-{
- this->ptr_->move (
- new_container,
- new_name,
- new_version,
- ACE_TRY_ENV
- );
-}
-
-template <class T> ACE_INLINE
-CORBA::TypeCode_ptr POA_IR::HomeDef_tie<T>::type (
- CORBA::Environment &ACE_TRY_ENV
- )
- ACE_THROW_SPEC ((
- CORBA::SystemException
- ))
-{
- return this->ptr_->type (
- ACE_TRY_ENV
- );
-}
-
-template <class T> ACE_INLINE
-IR::DefinitionKind POA_IR::HomeDef_tie<T>::def_kind (
- CORBA::Environment &ACE_TRY_ENV
- )
- ACE_THROW_SPEC ((
- CORBA::SystemException
- ))
-{
- return this->ptr_->def_kind (
- ACE_TRY_ENV
- );
-}
-
-template <class T> ACE_INLINE
-void POA_IR::HomeDef_tie<T>::destroy (
- CORBA::Environment &ACE_TRY_ENV
- )
- ACE_THROW_SPEC ((
- CORBA::SystemException
- ))
-{
- this->ptr_->destroy (
- ACE_TRY_ENV
- );
-}
-
-#endif /* ACE_HAS_USING_KEYWORD */
-
diff --git a/TAO/orbsvcs/IFR_Service/LocalInterfaceDef_i.cpp b/TAO/orbsvcs/IFR_Service/LocalInterfaceDef_i.cpp
new file mode 100644
index 00000000000..c66bb106abe
--- /dev/null
+++ b/TAO/orbsvcs/IFR_Service/LocalInterfaceDef_i.cpp
@@ -0,0 +1,30 @@
+/* -*- C++ -*- */
+// $Id$
+
+#include "LocalInterfaceDef_i.h"
+
+ACE_RCSID(IFR_Service, LocalInterfaceDef_i, "$Id$")
+
+TAO_LocalInterfaceDef_i::TAO_LocalInterfaceDef_i (
+ TAO_Repository_i *repo,
+ ACE_Configuration_Section_Key section_key
+ )
+ : TAO_IRObject_i (repo, section_key),
+ TAO_Container_i (repo, section_key),
+ TAO_Contained_i (repo, section_key),
+ TAO_IDLType_i (repo, section_key),
+ TAO_InterfaceDef_i (repo, section_key)
+{
+}
+
+TAO_LocalInterfaceDef_i::~TAO_LocalInterfaceDef_i (void)
+{
+}
+
+CORBA::DefinitionKind
+TAO_LocalInterfaceDef_i::def_kind (CORBA::Environment &)
+ ACE_THROW_SPEC ((CORBA::SystemException))
+{
+ return CORBA::dk_LocalInterface;
+}
+
diff --git a/TAO/orbsvcs/IFR_Service/LocalInterfaceDef_i.h b/TAO/orbsvcs/IFR_Service/LocalInterfaceDef_i.h
new file mode 100644
index 00000000000..2aec8582da1
--- /dev/null
+++ b/TAO/orbsvcs/IFR_Service/LocalInterfaceDef_i.h
@@ -0,0 +1,66 @@
+/* -*- C++ -*- */
+// $Id$
+
+// ============================================================================
+//
+// = LIBRARY
+// TAO/orbsvcs/IFR_Service
+//
+// = FILENAME
+// LocalInterfaceDef_i.h
+//
+// = DESCRIPTION
+// LocalInterfaceDef servant class.
+//
+// = AUTHOR
+// Jeff Parsons <parsons@cs.wustl.edu>
+//
+// ============================================================================
+
+#ifndef TAO_LOCALINTERFACEDEF_I_H
+#define TAO_LOCALINTERFACEDEF_I_H
+
+#include "InterfaceDef_i.h"
+
+#if !defined (ACE_LACKS_PRAGMA_ONCE)
+# pragma once
+#endif /* ACE_LACKS_PRAGMA_ONCE */
+
+#if defined(_MSC_VER)
+#if (_MSC_VER >= 1200)
+#pragma warning(push)
+#endif /* _MSC_VER >= 1200 */
+#pragma warning(disable:4250)
+#endif /* _MSC_VER */
+
+class TAO_LocalInterfaceDef_i : public virtual TAO_InterfaceDef_i
+{
+ // = TITLE
+ // TAO_LocalInterfaceDef_i
+ //
+ // = DESCRIPTION
+ // Represents an local interface definition.
+ //
+public:
+ TAO_LocalInterfaceDef_i (TAO_Repository_i *repo,
+ ACE_Configuration_Section_Key section_key);
+ // Constructor
+
+ virtual ~TAO_LocalInterfaceDef_i (void);
+ // Destructor
+
+ virtual CORBA::DefinitionKind def_kind (
+ CORBA::Environment &ACE_TRY_ENV =
+ TAO_default_environment ()
+ )
+ ACE_THROW_SPEC ((CORBA::SystemException));
+ // Return our definition kind.
+};
+
+#if defined(_MSC_VER) && (_MSC_VER >= 1200)
+#pragma warning(pop)
+#endif /* _MSC_VER */
+
+#endif /* TAO_LOCALINTERFACEDEF_I_H */
+
+
diff --git a/TAO/orbsvcs/IFR_Service/Makefile b/TAO/orbsvcs/IFR_Service/Makefile
index f86ef8f2f69..faaa9d4bd43 100644
--- a/TAO/orbsvcs/IFR_Service/Makefile
+++ b/TAO/orbsvcs/IFR_Service/Makefile
@@ -29,7 +29,7 @@ ifneq ($(CROSS-COMPILE),)
@echo Nothing to clean in IFR_Service on CROSS-COMPILE platforms.
else # ! CROSS-COMPILE
-MKLIST = Makefile.TypeCodeFactory Makefile.IFR_Service Makefile.tao_ifr
+MKLIST = Makefile.IFR_Service Makefile.tao_ifr
all debug profile optimize install deinstall clean realclean clobber depend:
ifeq (Windows,$(findstring Windows,$(OS)))
diff --git a/TAO/orbsvcs/IFR_Service/Makefile.IFR_Service b/TAO/orbsvcs/IFR_Service/Makefile.IFR_Service
index 09e53d07342..ba550f0122c 100644
--- a/TAO/orbsvcs/IFR_Service/Makefile.IFR_Service
+++ b/TAO/orbsvcs/IFR_Service/Makefile.IFR_Service
@@ -34,10 +34,13 @@ PROG_SRCS = \
FixedDef_i.cpp \
HomeDef_i.cpp \
IDLType_i.cpp \
+ IFR_BaseS.cpp \
+ IFR_BasicS.cpp \
+ IFR_ComponentsS.cpp \
+ IFR_ExtendedS.cpp \
IFR_Server.cpp \
IFR_Service.cpp \
InterfaceDef_i.cpp \
- InterfaceS.cpp \
IRObject_i.cpp \
ModuleDef_i.cpp \
NativeDef_i.cpp \
@@ -83,10 +86,13 @@ IFR_SVR_OBJS = \
FixedDef_i.o \
HomeDef_i.o \
IDLType_i.o \
+ IFR_BaseS.o \
+ IFR_BasicS.o \
+ IFR_ComponentsS.o \
+ IFR_ExtendedS.o \
IFR_Server.o \
IFR_Service.o \
InterfaceDef_i.o \
- InterfaceS.o \
IRObject_i.o \
ModuleDef_i.o \
NativeDef_i.o \
diff --git a/TAO/orbsvcs/IFR_Service/Makefile.TypeCodeFactory b/TAO/orbsvcs/IFR_Service/Makefile.TypeCodeFactory
deleted file mode 100644
index 5cf74bb6c66..00000000000
--- a/TAO/orbsvcs/IFR_Service/Makefile.TypeCodeFactory
+++ /dev/null
@@ -1,966 +0,0 @@
-#----------------------------------------------------------------------------
-#
-# $Id$
-#
-#----------------------------------------------------------------------------
-
-#----------------------------------------------------------------------------
-# Local macros
-#----------------------------------------------------------------------------
-
-ifndef TAO_ROOT
- TAO_ROOT = $(ACE_ROOT)/TAO
-endif # ! TAO_ROOT
-
-LDLIBS = -lTAO_IFR_Client -lTAO -l ACE
-ACE_SHLIBS += -lTAO_IFR_Client -lTAO -lACE
-
-LIBNAME = libTypeCodeFactory_DLL
-LIB = $(LIBNAME).a
-SHLIB = $(LIBNAME).$(SOEXT)
-
-LSRC = \
- TypeCodeFactoryC.cpp \
- TypeCodeFactory_i.cpp \
- TCF_Loader.cpp
-
-#----------------------------------------------------------------------------
-# Include macros and targets
-#----------------------------------------------------------------------------
-
-include $(ACE_ROOT)/include/makeinclude/wrapper_macros.GNU
-include $(ACE_ROOT)/include/makeinclude/macros.GNU
-include $(TAO_ROOT)/rules.tao.GNU
-include $(TAO_ROOT)/taoconfig.mk
-include $(ACE_ROOT)/include/makeinclude/rules.common.GNU
-include $(ACE_ROOT)/include/makeinclude/rules.nonested.GNU
-include $(ACE_ROOT)/include/makeinclude/rules.lib.GNU
-include $(ACE_ROOT)/include/makeinclude/rules.local.GNU
-
-
-#----------------------------------------------------------------------------
-# Local targets
-#----------------------------------------------------------------------------
-
-LDFLAGS += -I$(TAO_ROOT)/tao
-
-realclean: clean
-
-# DO NOT DELETE THIS LINE -- g++dep uses it.
-# DO NOT PUT ANYTHING AFTER THIS LINE, IT WILL GO AWAY.
-
-
-.obj/TypeCodeFactoryC.o .obj/TypeCodeFactoryC.so .shobj/TypeCodeFactoryC.o .shobj/TypeCodeFactoryC.so: TypeCodeFactoryC.cpp TCF_Loader.h \
- $(ACE_ROOT)/ace/pre.h TCF_Export.h \
- $(ACE_ROOT)/ace/post.h \
- $(ACE_ROOT)/ace/ACE_export.h \
- $(ACE_ROOT)/ace/svc_export.h \
- $(ACE_ROOT)/ace/ace_wchar.h \
- $(ACE_ROOT)/ace/ace_wchar.inl \
- $(ACE_ROOT)/ace/OS_Errno.h \
- $(ACE_ROOT)/ace/OS_Export.h \
- $(ACE_ROOT)/ace/OS_Errno.inl \
- $(TAO_ROOT)/tao/Object_Loader.h \
- $(TAO_ROOT)/tao/Exception.h \
- $(TAO_ROOT)/tao/corbafwd.h \
- $(ACE_ROOT)/ace/CDR_Base.h \
- $(ACE_ROOT)/ace/Basic_Types.h \
- $(ACE_ROOT)/ace/Basic_Types.i \
- $(ACE_ROOT)/ace/Message_Block.h \
- $(ACE_ROOT)/ace/ACE.h $(ACE_ROOT)/ace/OS.h \
- $(ACE_ROOT)/ace/OS_Dirent.h \
- $(ACE_ROOT)/ace/OS_Dirent.inl \
- $(ACE_ROOT)/ace/OS_String.h \
- $(ACE_ROOT)/ace/OS_String.inl \
- $(ACE_ROOT)/ace/OS_Memory.h \
- $(ACE_ROOT)/ace/OS_Memory.inl \
- $(ACE_ROOT)/ace/OS_TLI.h \
- $(ACE_ROOT)/ace/OS_TLI.inl \
- $(ACE_ROOT)/ace/Min_Max.h \
- $(ACE_ROOT)/ace/streams.h \
- $(ACE_ROOT)/ace/Trace.h $(ACE_ROOT)/ace/OS.i \
- $(ACE_ROOT)/ace/Flag_Manip.h \
- $(ACE_ROOT)/ace/Flag_Manip.i \
- $(ACE_ROOT)/ace/Handle_Ops.h \
- $(ACE_ROOT)/ace/Handle_Ops.i \
- $(ACE_ROOT)/ace/Lib_Find.h \
- $(ACE_ROOT)/ace/Lib_Find.i \
- $(ACE_ROOT)/ace/Init_ACE.h \
- $(ACE_ROOT)/ace/Init_ACE.i \
- $(ACE_ROOT)/ace/Sock_Connect.h \
- $(ACE_ROOT)/ace/Sock_Connect.i \
- $(ACE_ROOT)/ace/ACE.i $(ACE_ROOT)/ace/Malloc.h \
- $(ACE_ROOT)/ace/Log_Msg.h \
- $(ACE_ROOT)/ace/Log_Record.h \
- $(ACE_ROOT)/ace/Log_Priority.h \
- $(ACE_ROOT)/ace/Log_Record.i \
- $(ACE_ROOT)/ace/OS_Log_Msg_Attributes.h \
- $(ACE_ROOT)/ace/OS_Log_Msg_Attributes.inl \
- $(ACE_ROOT)/ace/Malloc.i \
- $(ACE_ROOT)/ace/Malloc_T.h \
- $(ACE_ROOT)/ace/Synch.h $(ACE_ROOT)/ace/Synch.i \
- $(ACE_ROOT)/ace/Synch_T.h \
- $(ACE_ROOT)/ace/Synch_T.i \
- $(ACE_ROOT)/ace/Thread.h \
- $(ACE_ROOT)/ace/Thread_Adapter.h \
- $(ACE_ROOT)/ace/Base_Thread_Adapter.h \
- $(ACE_ROOT)/ace/Base_Thread_Adapter.inl \
- $(ACE_ROOT)/ace/Thread_Adapter.inl \
- $(ACE_ROOT)/ace/Thread.i \
- $(ACE_ROOT)/ace/Atomic_Op.i \
- $(ACE_ROOT)/ace/Synch_T.cpp \
- $(ACE_ROOT)/ace/Malloc_Allocator.h \
- $(ACE_ROOT)/ace/Malloc_Base.h \
- $(ACE_ROOT)/ace/Malloc_Allocator.i \
- $(ACE_ROOT)/ace/Free_List.h \
- $(ACE_ROOT)/ace/Free_List.i \
- $(ACE_ROOT)/ace/Free_List.cpp \
- $(ACE_ROOT)/ace/Malloc_T.i \
- $(ACE_ROOT)/ace/Malloc_T.cpp \
- $(ACE_ROOT)/ace/Memory_Pool.h \
- $(ACE_ROOT)/ace/Event_Handler.h \
- $(ACE_ROOT)/ace/Event_Handler.i \
- $(ACE_ROOT)/ace/Signal.h \
- $(ACE_ROOT)/ace/Containers.h \
- $(ACE_ROOT)/ace/Containers.i \
- $(ACE_ROOT)/ace/Containers_T.h \
- $(ACE_ROOT)/ace/Containers_T.i \
- $(ACE_ROOT)/ace/Containers_T.cpp \
- $(ACE_ROOT)/ace/Signal.i \
- $(ACE_ROOT)/ace/Mem_Map.h \
- $(ACE_ROOT)/ace/Mem_Map.i \
- $(ACE_ROOT)/ace/SV_Semaphore_Complex.h \
- $(ACE_ROOT)/ace/SV_Semaphore_Simple.h \
- $(ACE_ROOT)/ace/SV_Semaphore_Simple.i \
- $(ACE_ROOT)/ace/SV_Semaphore_Complex.i \
- $(ACE_ROOT)/ace/Memory_Pool.i \
- $(ACE_ROOT)/ace/Message_Block.i \
- $(ACE_ROOT)/ace/Message_Block_T.h \
- $(ACE_ROOT)/ace/Message_Block_T.i \
- $(ACE_ROOT)/ace/Message_Block_T.cpp \
- $(ACE_ROOT)/ace/CDR_Base.inl \
- $(TAO_ROOT)/tao/try_macros.h \
- $(TAO_ROOT)/tao/orbconf.h \
- $(ACE_ROOT)/ace/CORBA_macros.h \
- $(TAO_ROOT)/tao/varbase.h \
- $(TAO_ROOT)/tao/TAO_Export.h \
- $(TAO_ROOT)/tao/corbafwd.i \
- $(ACE_ROOT)/ace/SString.h \
- $(ACE_ROOT)/ace/SString.i \
- $(TAO_ROOT)/tao/Exception.i \
- $(ACE_ROOT)/ace/Service_Object.h \
- $(ACE_ROOT)/ace/Shared_Object.h \
- $(ACE_ROOT)/ace/Shared_Object.i \
- $(ACE_ROOT)/ace/Service_Object.i \
- $(TAO_ROOT)/tao/Object_Loader.i \
- $(ACE_ROOT)/ace/Service_Config.h \
- $(ACE_ROOT)/ace/Service_Config.i \
- $(ACE_ROOT)/ace/Reactor.h \
- $(ACE_ROOT)/ace/Handle_Set.h \
- $(ACE_ROOT)/ace/Handle_Set.i \
- $(ACE_ROOT)/ace/Timer_Queue.h \
- $(ACE_ROOT)/ace/Timer_Queue_T.h \
- $(ACE_ROOT)/ace/Test_and_Set.h \
- $(ACE_ROOT)/ace/Test_and_Set.i \
- $(ACE_ROOT)/ace/Test_and_Set.cpp \
- $(ACE_ROOT)/ace/Timer_Queue_T.i \
- $(ACE_ROOT)/ace/Timer_Queue_T.cpp \
- $(ACE_ROOT)/ace/Reactor.i \
- $(ACE_ROOT)/ace/Reactor_Impl.h \
- $(ACE_ROOT)/ace/Svc_Conf_Tokens.h TypeCodeFactoryC.h \
- $(TAO_ROOT)/tao/corba.h \
- $(TAO_ROOT)/tao/Environment.h \
- $(TAO_ROOT)/tao/Environment.i \
- $(TAO_ROOT)/tao/ORB.h \
- $(TAO_ROOT)/tao/Services.h \
- $(TAO_ROOT)/tao/Sequence.h \
- $(TAO_ROOT)/tao/Managed_Types.h \
- $(TAO_ROOT)/tao/Managed_Types.i \
- $(TAO_ROOT)/tao/Sequence.i \
- $(TAO_ROOT)/tao/Sequence_T.h \
- $(TAO_ROOT)/tao/Sequence_T.i \
- $(TAO_ROOT)/tao/Sequence_T.cpp \
- $(TAO_ROOT)/tao/Services.i \
- $(TAO_ROOT)/tao/CORBA_String.h \
- $(TAO_ROOT)/tao/CORBA_String.inl \
- $(TAO_ROOT)/tao/PolicyC.h \
- $(TAO_ROOT)/tao/CurrentC.h \
- $(TAO_ROOT)/tao/Object.h \
- $(TAO_ROOT)/tao/Abstract_Servant_Base.h \
- $(TAO_ROOT)/tao/Object_Proxy_Broker.h \
- $(TAO_ROOT)/tao/Object_Proxy_Impl.h \
- $(TAO_ROOT)/tao/Object.i \
- $(TAO_ROOT)/tao/CurrentC.i \
- $(TAO_ROOT)/tao/Encodable.h \
- $(TAO_ROOT)/tao/CDR.h \
- $(ACE_ROOT)/ace/CDR_Stream.h \
- $(ACE_ROOT)/ace/CDR_Stream.i \
- $(TAO_ROOT)/tao/CDR.i \
- $(TAO_ROOT)/tao/Typecode.h \
- $(TAO_ROOT)/tao/Typecode.i \
- $(TAO_ROOT)/tao/PolicyC.i \
- $(TAO_ROOT)/tao/ORB.i \
- $(TAO_ROOT)/tao/Any.h \
- $(TAO_ROOT)/tao/Any.i \
- $(TAO_ROOT)/tao/NVList.h \
- $(TAO_ROOT)/tao/NVList.i \
- $(TAO_ROOT)/tao/Principal.h \
- $(TAO_ROOT)/tao/OctetSeqC.h \
- $(TAO_ROOT)/tao/OctetSeqC.i \
- $(TAO_ROOT)/tao/Principal.i \
- $(TAO_ROOT)/tao/TAO_Server_Request.h \
- $(TAO_ROOT)/tao/Tagged_Profile.h \
- $(TAO_ROOT)/tao/IOPC.h \
- $(TAO_ROOT)/tao/IOPC.i \
- $(TAO_ROOT)/tao/GIOPC.h \
- $(TAO_ROOT)/tao/Object_KeyC.h \
- $(TAO_ROOT)/tao/Object_KeyC.i \
- $(TAO_ROOT)/tao/GIOPC.i \
- $(TAO_ROOT)/tao/Tagged_Profile.i \
- $(TAO_ROOT)/tao/Service_Context.h \
- $(TAO_ROOT)/tao/Service_Context.inl \
- $(TAO_ROOT)/tao/TAO_Server_Request.i \
- $(TAO_ROOT)/tao/Remote_Object_Proxy_Impl.h \
- $(TAO_ROOT)/tao/LocalObject.h \
- $(TAO_ROOT)/tao/LocalObject.i \
- $(TAO_ROOT)/tao/Stub.h \
- $(TAO_ROOT)/tao/Pluggable.h \
- $(TAO_ROOT)/tao/Pluggable.i \
- $(TAO_ROOT)/tao/MProfile.h \
- $(TAO_ROOT)/tao/Profile.h \
- $(TAO_ROOT)/tao/Tagged_Components.h \
- $(TAO_ROOT)/tao/CONV_FRAMEC.h \
- $(TAO_ROOT)/tao/CONV_FRAMEC.i \
- $(TAO_ROOT)/tao/Tagged_Components.i \
- $(TAO_ROOT)/tao/GIOP_Message_State.h \
- $(TAO_ROOT)/tao/GIOP_Message_State.i \
- $(TAO_ROOT)/tao/Profile.i \
- $(TAO_ROOT)/tao/MProfile.i \
- $(TAO_ROOT)/tao/ORB_Core.h \
- $(TAO_ROOT)/tao/Policy_Manager.h \
- $(TAO_ROOT)/tao/Policy_Manager.i \
- $(TAO_ROOT)/tao/Resource_Factory.h \
- $(TAO_ROOT)/tao/Protocol_Factory.h \
- $(TAO_ROOT)/tao/params.h \
- $(TAO_ROOT)/tao/params.i \
- $(TAO_ROOT)/tao/TAO_Singleton_Manager.h \
- $(TAO_ROOT)/tao/TAO_Singleton_Manager.inl \
- $(TAO_ROOT)/tao/TAO_Singleton.h \
- $(TAO_ROOT)/tao/TAO_Singleton.inl \
- $(TAO_ROOT)/tao/TAO_Singleton.cpp \
- $(ACE_ROOT)/ace/Object_Manager.h \
- $(ACE_ROOT)/ace/Object_Manager.i \
- $(ACE_ROOT)/ace/Managed_Object.h \
- $(ACE_ROOT)/ace/Managed_Object.i \
- $(ACE_ROOT)/ace/Managed_Object.cpp \
- $(TAO_ROOT)/tao/Adapter.h \
- $(TAO_ROOT)/tao/Adapter.i \
- $(TAO_ROOT)/tao/PolicyFactory_Registry.h \
- $(TAO_ROOT)/tao/PortableInterceptorC.h \
- $(TAO_ROOT)/tao/DynamicC.h \
- $(TAO_ROOT)/tao/DynamicC.i \
- $(TAO_ROOT)/tao/MessagingC.h \
- $(TAO_ROOT)/tao/ValueBase.h \
- $(TAO_ROOT)/tao/ValueBase.i \
- $(TAO_ROOT)/tao/ValueFactory.h \
- $(TAO_ROOT)/tao/ValueFactory.i \
- $(TAO_ROOT)/tao/TimeBaseC.h \
- $(TAO_ROOT)/tao/TimeBaseC.i \
- $(TAO_ROOT)/tao/PollableC.h \
- $(TAO_ROOT)/tao/PollableC.i \
- $(TAO_ROOT)/tao/MessagingC.i \
- $(TAO_ROOT)/tao/PortableInterceptorC.i \
- $(ACE_ROOT)/ace/Map_Manager.h \
- $(ACE_ROOT)/ace/Map_Manager.i \
- $(ACE_ROOT)/ace/Map_Manager.cpp \
- $(TAO_ROOT)/tao/Parser_Registry.h \
- $(TAO_ROOT)/tao/Parser_Registry.i \
- $(TAO_ROOT)/tao/Service_Callbacks.h \
- $(TAO_ROOT)/tao/Service_Callbacks.i \
- $(TAO_ROOT)/tao/Fault_Tolerance_Service.h \
- $(TAO_ROOT)/tao/Fault_Tolerance_Service.i \
- $(TAO_ROOT)/tao/Transport_Cache_Manager.h \
- $(ACE_ROOT)/ace/Hash_Map_Manager_T.h \
- $(ACE_ROOT)/ace/Functor.h \
- $(ACE_ROOT)/ace/Functor.i \
- $(ACE_ROOT)/ace/Functor_T.h \
- $(ACE_ROOT)/ace/Functor_T.i \
- $(ACE_ROOT)/ace/Functor_T.cpp \
- $(ACE_ROOT)/ace/Hash_Map_Manager_T.i \
- $(ACE_ROOT)/ace/Hash_Map_Manager_T.cpp \
- $(TAO_ROOT)/tao/Cache_Entries.h \
- $(TAO_ROOT)/tao/Transport_Descriptor_Interface.h \
- $(TAO_ROOT)/tao/Endpoint.h \
- $(TAO_ROOT)/tao/Endpoint.i \
- $(TAO_ROOT)/tao/Transport_Descriptor_Interface.inl \
- $(TAO_ROOT)/tao/Cache_Entries.inl \
- $(TAO_ROOT)/tao/Transport_Cache_Manager.inl \
- $(TAO_ROOT)/tao/Cleanup_Func_Registry.h \
- $(TAO_ROOT)/tao/Cleanup_Func_Registry.inl \
- $(TAO_ROOT)/tao/Object_Ref_Table.h \
- $(TAO_ROOT)/tao/Interceptor_List.h \
- $(TAO_ROOT)/tao/Interceptor_List.inl \
- $(TAO_ROOT)/tao/RT_Policy_i.h \
- $(TAO_ROOT)/tao/RTCORBAC.h \
- $(TAO_ROOT)/tao/RTCORBAC.i \
- $(TAO_ROOT)/tao/RT_Policy_i.i \
- $(TAO_ROOT)/tao/Protocols_Hooks.h \
- $(ACE_ROOT)/ace/Hash_Map_Manager.h \
- $(ACE_ROOT)/ace/Thread_Manager.h \
- $(ACE_ROOT)/ace/Singleton.h \
- $(ACE_ROOT)/ace/Singleton.i \
- $(ACE_ROOT)/ace/Singleton.cpp \
- $(ACE_ROOT)/ace/Thread_Manager.i \
- $(TAO_ROOT)/tao/ORB_Core.i \
- $(TAO_ROOT)/tao/Stub.i \
- $(TAO_ROOT)/tao/debug.h \
- $(TAO_ROOT)/tao/Client_Strategy_Factory.h \
- $(TAO_ROOT)/tao/Server_Strategy_Factory.h \
- $(TAO_ROOT)/tao/Invocation.h \
- $(TAO_ROOT)/tao/Synch_Reply_Dispatcher.h \
- $(TAO_ROOT)/tao/Reply_Dispatcher.h \
- $(TAO_ROOT)/tao/Reply_Dispatcher.i \
- $(TAO_ROOT)/tao/TAOC.h \
- $(TAO_ROOT)/tao/Priority_Mapping_Manager.h \
- $(TAO_ROOT)/tao/Priority_Mapping.h \
- $(TAO_ROOT)/tao/Priority_Mapping.i \
- $(TAO_ROOT)/tao/Priority_Mapping_Manager.i \
- $(TAO_ROOT)/tao/TAOC.i \
- $(TAO_ROOT)/tao/operation_details.h \
- $(TAO_ROOT)/tao/target_specification.h \
- $(TAO_ROOT)/tao/target_specification.i \
- $(TAO_ROOT)/tao/operation_details.i \
- $(TAO_ROOT)/tao/Invocation_Endpoint_Selectors.h \
- $(TAO_ROOT)/tao/Invocation_Endpoint_Selectors.i \
- $(TAO_ROOT)/tao/Invocation.i \
- $(TAO_ROOT)/tao/ObjectIDList.h \
- $(TAO_ROOT)/tao/ObjectIDList.i \
- $(TAO_ROOT)/tao/DomainC.h \
- $(TAO_ROOT)/tao/ClientRequestInfo.h \
- $(TAO_ROOT)/tao/StringSeqC.h \
- $(TAO_ROOT)/tao/StringSeqC.i \
- $(TAO_ROOT)/tao/ClientRequestInfo.inl \
- $(TAO_ROOT)/tao/DomainC.i \
- $(TAO_ROOT)/tao/WrongTransactionC.h \
- $(TAO_ROOT)/tao/BoundsC.h \
- $(TAO_ROOT)/tao/BoundsC.i \
- $(TAO_ROOT)/tao/PortableInterceptor.h \
- $(TAO_ROOT)/tao/PortableInterceptor.i \
- $(TAO_ROOT)/tao/BiDirPolicyC.h \
- $(TAO_ROOT)/tao/BiDirPolicyC.i \
- $(TAO_ROOT)/tao/IFR_Client/InterfaceC.h \
- $(TAO_ROOT)/tao/IFR_Client/ifrfwd.h \
- $(TAO_ROOT)/tao/IFR_Client/ifr_client_export.h \
- $(TAO_ROOT)/tao/IFR_Client/InterfaceC.i \
- TypeCodeFactoryC.inl
-
-.obj/TypeCodeFactory_i.o .obj/TypeCodeFactory_i.so .shobj/TypeCodeFactory_i.o .shobj/TypeCodeFactory_i.so: TypeCodeFactory_i.cpp TypeCodeFactory_i.h \
- $(ACE_ROOT)/ace/pre.h TCF_Loader.h TCF_Export.h \
- $(ACE_ROOT)/ace/post.h \
- $(ACE_ROOT)/ace/ACE_export.h \
- $(ACE_ROOT)/ace/svc_export.h \
- $(ACE_ROOT)/ace/ace_wchar.h \
- $(ACE_ROOT)/ace/ace_wchar.inl \
- $(ACE_ROOT)/ace/OS_Errno.h \
- $(ACE_ROOT)/ace/OS_Export.h \
- $(ACE_ROOT)/ace/OS_Errno.inl \
- $(TAO_ROOT)/tao/Object_Loader.h \
- $(TAO_ROOT)/tao/Exception.h \
- $(TAO_ROOT)/tao/corbafwd.h \
- $(ACE_ROOT)/ace/CDR_Base.h \
- $(ACE_ROOT)/ace/Basic_Types.h \
- $(ACE_ROOT)/ace/Basic_Types.i \
- $(ACE_ROOT)/ace/Message_Block.h \
- $(ACE_ROOT)/ace/ACE.h $(ACE_ROOT)/ace/OS.h \
- $(ACE_ROOT)/ace/OS_Dirent.h \
- $(ACE_ROOT)/ace/OS_Dirent.inl \
- $(ACE_ROOT)/ace/OS_String.h \
- $(ACE_ROOT)/ace/OS_String.inl \
- $(ACE_ROOT)/ace/OS_Memory.h \
- $(ACE_ROOT)/ace/OS_Memory.inl \
- $(ACE_ROOT)/ace/OS_TLI.h \
- $(ACE_ROOT)/ace/OS_TLI.inl \
- $(ACE_ROOT)/ace/Min_Max.h \
- $(ACE_ROOT)/ace/streams.h \
- $(ACE_ROOT)/ace/Trace.h $(ACE_ROOT)/ace/OS.i \
- $(ACE_ROOT)/ace/Flag_Manip.h \
- $(ACE_ROOT)/ace/Flag_Manip.i \
- $(ACE_ROOT)/ace/Handle_Ops.h \
- $(ACE_ROOT)/ace/Handle_Ops.i \
- $(ACE_ROOT)/ace/Lib_Find.h \
- $(ACE_ROOT)/ace/Lib_Find.i \
- $(ACE_ROOT)/ace/Init_ACE.h \
- $(ACE_ROOT)/ace/Init_ACE.i \
- $(ACE_ROOT)/ace/Sock_Connect.h \
- $(ACE_ROOT)/ace/Sock_Connect.i \
- $(ACE_ROOT)/ace/ACE.i $(ACE_ROOT)/ace/Malloc.h \
- $(ACE_ROOT)/ace/Log_Msg.h \
- $(ACE_ROOT)/ace/Log_Record.h \
- $(ACE_ROOT)/ace/Log_Priority.h \
- $(ACE_ROOT)/ace/Log_Record.i \
- $(ACE_ROOT)/ace/OS_Log_Msg_Attributes.h \
- $(ACE_ROOT)/ace/OS_Log_Msg_Attributes.inl \
- $(ACE_ROOT)/ace/Malloc.i \
- $(ACE_ROOT)/ace/Malloc_T.h \
- $(ACE_ROOT)/ace/Synch.h $(ACE_ROOT)/ace/Synch.i \
- $(ACE_ROOT)/ace/Synch_T.h \
- $(ACE_ROOT)/ace/Synch_T.i \
- $(ACE_ROOT)/ace/Thread.h \
- $(ACE_ROOT)/ace/Thread_Adapter.h \
- $(ACE_ROOT)/ace/Base_Thread_Adapter.h \
- $(ACE_ROOT)/ace/Base_Thread_Adapter.inl \
- $(ACE_ROOT)/ace/Thread_Adapter.inl \
- $(ACE_ROOT)/ace/Thread.i \
- $(ACE_ROOT)/ace/Atomic_Op.i \
- $(ACE_ROOT)/ace/Synch_T.cpp \
- $(ACE_ROOT)/ace/Malloc_Allocator.h \
- $(ACE_ROOT)/ace/Malloc_Base.h \
- $(ACE_ROOT)/ace/Malloc_Allocator.i \
- $(ACE_ROOT)/ace/Free_List.h \
- $(ACE_ROOT)/ace/Free_List.i \
- $(ACE_ROOT)/ace/Free_List.cpp \
- $(ACE_ROOT)/ace/Malloc_T.i \
- $(ACE_ROOT)/ace/Malloc_T.cpp \
- $(ACE_ROOT)/ace/Memory_Pool.h \
- $(ACE_ROOT)/ace/Event_Handler.h \
- $(ACE_ROOT)/ace/Event_Handler.i \
- $(ACE_ROOT)/ace/Signal.h \
- $(ACE_ROOT)/ace/Containers.h \
- $(ACE_ROOT)/ace/Containers.i \
- $(ACE_ROOT)/ace/Containers_T.h \
- $(ACE_ROOT)/ace/Containers_T.i \
- $(ACE_ROOT)/ace/Containers_T.cpp \
- $(ACE_ROOT)/ace/Signal.i \
- $(ACE_ROOT)/ace/Mem_Map.h \
- $(ACE_ROOT)/ace/Mem_Map.i \
- $(ACE_ROOT)/ace/SV_Semaphore_Complex.h \
- $(ACE_ROOT)/ace/SV_Semaphore_Simple.h \
- $(ACE_ROOT)/ace/SV_Semaphore_Simple.i \
- $(ACE_ROOT)/ace/SV_Semaphore_Complex.i \
- $(ACE_ROOT)/ace/Memory_Pool.i \
- $(ACE_ROOT)/ace/Message_Block.i \
- $(ACE_ROOT)/ace/Message_Block_T.h \
- $(ACE_ROOT)/ace/Message_Block_T.i \
- $(ACE_ROOT)/ace/Message_Block_T.cpp \
- $(ACE_ROOT)/ace/CDR_Base.inl \
- $(TAO_ROOT)/tao/try_macros.h \
- $(TAO_ROOT)/tao/orbconf.h \
- $(ACE_ROOT)/ace/CORBA_macros.h \
- $(TAO_ROOT)/tao/varbase.h \
- $(TAO_ROOT)/tao/TAO_Export.h \
- $(TAO_ROOT)/tao/corbafwd.i \
- $(ACE_ROOT)/ace/SString.h \
- $(ACE_ROOT)/ace/SString.i \
- $(TAO_ROOT)/tao/Exception.i \
- $(ACE_ROOT)/ace/Service_Object.h \
- $(ACE_ROOT)/ace/Shared_Object.h \
- $(ACE_ROOT)/ace/Shared_Object.i \
- $(ACE_ROOT)/ace/Service_Object.i \
- $(TAO_ROOT)/tao/Object_Loader.i \
- $(ACE_ROOT)/ace/Service_Config.h \
- $(ACE_ROOT)/ace/Service_Config.i \
- $(ACE_ROOT)/ace/Reactor.h \
- $(ACE_ROOT)/ace/Handle_Set.h \
- $(ACE_ROOT)/ace/Handle_Set.i \
- $(ACE_ROOT)/ace/Timer_Queue.h \
- $(ACE_ROOT)/ace/Timer_Queue_T.h \
- $(ACE_ROOT)/ace/Test_and_Set.h \
- $(ACE_ROOT)/ace/Test_and_Set.i \
- $(ACE_ROOT)/ace/Test_and_Set.cpp \
- $(ACE_ROOT)/ace/Timer_Queue_T.i \
- $(ACE_ROOT)/ace/Timer_Queue_T.cpp \
- $(ACE_ROOT)/ace/Reactor.i \
- $(ACE_ROOT)/ace/Reactor_Impl.h \
- $(ACE_ROOT)/ace/Svc_Conf_Tokens.h TypeCodeFactoryC.h \
- $(TAO_ROOT)/tao/corba.h \
- $(TAO_ROOT)/tao/Environment.h \
- $(TAO_ROOT)/tao/Environment.i \
- $(TAO_ROOT)/tao/ORB.h \
- $(TAO_ROOT)/tao/Services.h \
- $(TAO_ROOT)/tao/Sequence.h \
- $(TAO_ROOT)/tao/Managed_Types.h \
- $(TAO_ROOT)/tao/Managed_Types.i \
- $(TAO_ROOT)/tao/Sequence.i \
- $(TAO_ROOT)/tao/Sequence_T.h \
- $(TAO_ROOT)/tao/Sequence_T.i \
- $(TAO_ROOT)/tao/Sequence_T.cpp \
- $(TAO_ROOT)/tao/Services.i \
- $(TAO_ROOT)/tao/CORBA_String.h \
- $(TAO_ROOT)/tao/CORBA_String.inl \
- $(TAO_ROOT)/tao/PolicyC.h \
- $(TAO_ROOT)/tao/CurrentC.h \
- $(TAO_ROOT)/tao/Object.h \
- $(TAO_ROOT)/tao/Abstract_Servant_Base.h \
- $(TAO_ROOT)/tao/Object_Proxy_Broker.h \
- $(TAO_ROOT)/tao/Object_Proxy_Impl.h \
- $(TAO_ROOT)/tao/Object.i \
- $(TAO_ROOT)/tao/CurrentC.i \
- $(TAO_ROOT)/tao/Encodable.h \
- $(TAO_ROOT)/tao/CDR.h \
- $(ACE_ROOT)/ace/CDR_Stream.h \
- $(ACE_ROOT)/ace/CDR_Stream.i \
- $(TAO_ROOT)/tao/CDR.i \
- $(TAO_ROOT)/tao/Typecode.h \
- $(TAO_ROOT)/tao/Typecode.i \
- $(TAO_ROOT)/tao/PolicyC.i \
- $(TAO_ROOT)/tao/ORB.i \
- $(TAO_ROOT)/tao/Any.h \
- $(TAO_ROOT)/tao/Any.i \
- $(TAO_ROOT)/tao/NVList.h \
- $(TAO_ROOT)/tao/NVList.i \
- $(TAO_ROOT)/tao/Principal.h \
- $(TAO_ROOT)/tao/OctetSeqC.h \
- $(TAO_ROOT)/tao/OctetSeqC.i \
- $(TAO_ROOT)/tao/Principal.i \
- $(TAO_ROOT)/tao/TAO_Server_Request.h \
- $(TAO_ROOT)/tao/Tagged_Profile.h \
- $(TAO_ROOT)/tao/IOPC.h \
- $(TAO_ROOT)/tao/IOPC.i \
- $(TAO_ROOT)/tao/GIOPC.h \
- $(TAO_ROOT)/tao/Object_KeyC.h \
- $(TAO_ROOT)/tao/Object_KeyC.i \
- $(TAO_ROOT)/tao/GIOPC.i \
- $(TAO_ROOT)/tao/Tagged_Profile.i \
- $(TAO_ROOT)/tao/Service_Context.h \
- $(TAO_ROOT)/tao/Service_Context.inl \
- $(TAO_ROOT)/tao/TAO_Server_Request.i \
- $(TAO_ROOT)/tao/Remote_Object_Proxy_Impl.h \
- $(TAO_ROOT)/tao/LocalObject.h \
- $(TAO_ROOT)/tao/LocalObject.i \
- $(TAO_ROOT)/tao/Stub.h \
- $(TAO_ROOT)/tao/Pluggable.h \
- $(TAO_ROOT)/tao/Pluggable.i \
- $(TAO_ROOT)/tao/MProfile.h \
- $(TAO_ROOT)/tao/Profile.h \
- $(TAO_ROOT)/tao/Tagged_Components.h \
- $(TAO_ROOT)/tao/CONV_FRAMEC.h \
- $(TAO_ROOT)/tao/CONV_FRAMEC.i \
- $(TAO_ROOT)/tao/Tagged_Components.i \
- $(TAO_ROOT)/tao/GIOP_Message_State.h \
- $(TAO_ROOT)/tao/GIOP_Message_State.i \
- $(TAO_ROOT)/tao/Profile.i \
- $(TAO_ROOT)/tao/MProfile.i \
- $(TAO_ROOT)/tao/ORB_Core.h \
- $(TAO_ROOT)/tao/Policy_Manager.h \
- $(TAO_ROOT)/tao/Policy_Manager.i \
- $(TAO_ROOT)/tao/Resource_Factory.h \
- $(TAO_ROOT)/tao/Protocol_Factory.h \
- $(TAO_ROOT)/tao/params.h \
- $(TAO_ROOT)/tao/params.i \
- $(TAO_ROOT)/tao/TAO_Singleton_Manager.h \
- $(TAO_ROOT)/tao/TAO_Singleton_Manager.inl \
- $(TAO_ROOT)/tao/TAO_Singleton.h \
- $(TAO_ROOT)/tao/TAO_Singleton.inl \
- $(TAO_ROOT)/tao/TAO_Singleton.cpp \
- $(ACE_ROOT)/ace/Object_Manager.h \
- $(ACE_ROOT)/ace/Object_Manager.i \
- $(ACE_ROOT)/ace/Managed_Object.h \
- $(ACE_ROOT)/ace/Managed_Object.i \
- $(ACE_ROOT)/ace/Managed_Object.cpp \
- $(TAO_ROOT)/tao/Adapter.h \
- $(TAO_ROOT)/tao/Adapter.i \
- $(TAO_ROOT)/tao/PolicyFactory_Registry.h \
- $(TAO_ROOT)/tao/PortableInterceptorC.h \
- $(TAO_ROOT)/tao/DynamicC.h \
- $(TAO_ROOT)/tao/DynamicC.i \
- $(TAO_ROOT)/tao/MessagingC.h \
- $(TAO_ROOT)/tao/ValueBase.h \
- $(TAO_ROOT)/tao/ValueBase.i \
- $(TAO_ROOT)/tao/ValueFactory.h \
- $(TAO_ROOT)/tao/ValueFactory.i \
- $(TAO_ROOT)/tao/TimeBaseC.h \
- $(TAO_ROOT)/tao/TimeBaseC.i \
- $(TAO_ROOT)/tao/PollableC.h \
- $(TAO_ROOT)/tao/PollableC.i \
- $(TAO_ROOT)/tao/MessagingC.i \
- $(TAO_ROOT)/tao/PortableInterceptorC.i \
- $(ACE_ROOT)/ace/Map_Manager.h \
- $(ACE_ROOT)/ace/Map_Manager.i \
- $(ACE_ROOT)/ace/Map_Manager.cpp \
- $(TAO_ROOT)/tao/Parser_Registry.h \
- $(TAO_ROOT)/tao/Parser_Registry.i \
- $(TAO_ROOT)/tao/Service_Callbacks.h \
- $(TAO_ROOT)/tao/Service_Callbacks.i \
- $(TAO_ROOT)/tao/Fault_Tolerance_Service.h \
- $(TAO_ROOT)/tao/Fault_Tolerance_Service.i \
- $(TAO_ROOT)/tao/Transport_Cache_Manager.h \
- $(ACE_ROOT)/ace/Hash_Map_Manager_T.h \
- $(ACE_ROOT)/ace/Functor.h \
- $(ACE_ROOT)/ace/Functor.i \
- $(ACE_ROOT)/ace/Functor_T.h \
- $(ACE_ROOT)/ace/Functor_T.i \
- $(ACE_ROOT)/ace/Functor_T.cpp \
- $(ACE_ROOT)/ace/Hash_Map_Manager_T.i \
- $(ACE_ROOT)/ace/Hash_Map_Manager_T.cpp \
- $(TAO_ROOT)/tao/Cache_Entries.h \
- $(TAO_ROOT)/tao/Transport_Descriptor_Interface.h \
- $(TAO_ROOT)/tao/Endpoint.h \
- $(TAO_ROOT)/tao/Endpoint.i \
- $(TAO_ROOT)/tao/Transport_Descriptor_Interface.inl \
- $(TAO_ROOT)/tao/Cache_Entries.inl \
- $(TAO_ROOT)/tao/Transport_Cache_Manager.inl \
- $(TAO_ROOT)/tao/Cleanup_Func_Registry.h \
- $(TAO_ROOT)/tao/Cleanup_Func_Registry.inl \
- $(TAO_ROOT)/tao/Object_Ref_Table.h \
- $(TAO_ROOT)/tao/Interceptor_List.h \
- $(TAO_ROOT)/tao/Interceptor_List.inl \
- $(TAO_ROOT)/tao/RT_Policy_i.h \
- $(TAO_ROOT)/tao/RTCORBAC.h \
- $(TAO_ROOT)/tao/RTCORBAC.i \
- $(TAO_ROOT)/tao/RT_Policy_i.i \
- $(TAO_ROOT)/tao/Protocols_Hooks.h \
- $(ACE_ROOT)/ace/Hash_Map_Manager.h \
- $(ACE_ROOT)/ace/Thread_Manager.h \
- $(ACE_ROOT)/ace/Singleton.h \
- $(ACE_ROOT)/ace/Singleton.i \
- $(ACE_ROOT)/ace/Singleton.cpp \
- $(ACE_ROOT)/ace/Thread_Manager.i \
- $(TAO_ROOT)/tao/ORB_Core.i \
- $(TAO_ROOT)/tao/Stub.i \
- $(TAO_ROOT)/tao/debug.h \
- $(TAO_ROOT)/tao/Client_Strategy_Factory.h \
- $(TAO_ROOT)/tao/Server_Strategy_Factory.h \
- $(TAO_ROOT)/tao/Invocation.h \
- $(TAO_ROOT)/tao/Synch_Reply_Dispatcher.h \
- $(TAO_ROOT)/tao/Reply_Dispatcher.h \
- $(TAO_ROOT)/tao/Reply_Dispatcher.i \
- $(TAO_ROOT)/tao/TAOC.h \
- $(TAO_ROOT)/tao/Priority_Mapping_Manager.h \
- $(TAO_ROOT)/tao/Priority_Mapping.h \
- $(TAO_ROOT)/tao/Priority_Mapping.i \
- $(TAO_ROOT)/tao/Priority_Mapping_Manager.i \
- $(TAO_ROOT)/tao/TAOC.i \
- $(TAO_ROOT)/tao/operation_details.h \
- $(TAO_ROOT)/tao/target_specification.h \
- $(TAO_ROOT)/tao/target_specification.i \
- $(TAO_ROOT)/tao/operation_details.i \
- $(TAO_ROOT)/tao/Invocation_Endpoint_Selectors.h \
- $(TAO_ROOT)/tao/Invocation_Endpoint_Selectors.i \
- $(TAO_ROOT)/tao/Invocation.i \
- $(TAO_ROOT)/tao/ObjectIDList.h \
- $(TAO_ROOT)/tao/ObjectIDList.i \
- $(TAO_ROOT)/tao/DomainC.h \
- $(TAO_ROOT)/tao/ClientRequestInfo.h \
- $(TAO_ROOT)/tao/StringSeqC.h \
- $(TAO_ROOT)/tao/StringSeqC.i \
- $(TAO_ROOT)/tao/ClientRequestInfo.inl \
- $(TAO_ROOT)/tao/DomainC.i \
- $(TAO_ROOT)/tao/WrongTransactionC.h \
- $(TAO_ROOT)/tao/BoundsC.h \
- $(TAO_ROOT)/tao/BoundsC.i \
- $(TAO_ROOT)/tao/PortableInterceptor.h \
- $(TAO_ROOT)/tao/PortableInterceptor.i \
- $(TAO_ROOT)/tao/BiDirPolicyC.h \
- $(TAO_ROOT)/tao/BiDirPolicyC.i \
- $(TAO_ROOT)/tao/IFR_Client/InterfaceC.h \
- $(TAO_ROOT)/tao/IFR_Client/ifrfwd.h \
- $(TAO_ROOT)/tao/IFR_Client/ifr_client_export.h \
- $(TAO_ROOT)/tao/IFR_Client/InterfaceC.i \
- TypeCodeFactoryC.inl $(TAO_ROOT)/tao/Marshal.h \
- $(TAO_ROOT)/tao/Marshal.i
-
-.obj/TCF_Loader.o .obj/TCF_Loader.so .shobj/TCF_Loader.o .shobj/TCF_Loader.so: TCF_Loader.cpp TCF_Loader.h \
- $(ACE_ROOT)/ace/pre.h TCF_Export.h \
- $(ACE_ROOT)/ace/post.h \
- $(ACE_ROOT)/ace/ACE_export.h \
- $(ACE_ROOT)/ace/svc_export.h \
- $(ACE_ROOT)/ace/ace_wchar.h \
- $(ACE_ROOT)/ace/ace_wchar.inl \
- $(ACE_ROOT)/ace/OS_Errno.h \
- $(ACE_ROOT)/ace/OS_Export.h \
- $(ACE_ROOT)/ace/OS_Errno.inl \
- $(TAO_ROOT)/tao/Object_Loader.h \
- $(TAO_ROOT)/tao/Exception.h \
- $(TAO_ROOT)/tao/corbafwd.h \
- $(ACE_ROOT)/ace/CDR_Base.h \
- $(ACE_ROOT)/ace/Basic_Types.h \
- $(ACE_ROOT)/ace/Basic_Types.i \
- $(ACE_ROOT)/ace/Message_Block.h \
- $(ACE_ROOT)/ace/ACE.h $(ACE_ROOT)/ace/OS.h \
- $(ACE_ROOT)/ace/OS_Dirent.h \
- $(ACE_ROOT)/ace/OS_Dirent.inl \
- $(ACE_ROOT)/ace/OS_String.h \
- $(ACE_ROOT)/ace/OS_String.inl \
- $(ACE_ROOT)/ace/OS_Memory.h \
- $(ACE_ROOT)/ace/OS_Memory.inl \
- $(ACE_ROOT)/ace/OS_TLI.h \
- $(ACE_ROOT)/ace/OS_TLI.inl \
- $(ACE_ROOT)/ace/Min_Max.h \
- $(ACE_ROOT)/ace/streams.h \
- $(ACE_ROOT)/ace/Trace.h $(ACE_ROOT)/ace/OS.i \
- $(ACE_ROOT)/ace/Flag_Manip.h \
- $(ACE_ROOT)/ace/Flag_Manip.i \
- $(ACE_ROOT)/ace/Handle_Ops.h \
- $(ACE_ROOT)/ace/Handle_Ops.i \
- $(ACE_ROOT)/ace/Lib_Find.h \
- $(ACE_ROOT)/ace/Lib_Find.i \
- $(ACE_ROOT)/ace/Init_ACE.h \
- $(ACE_ROOT)/ace/Init_ACE.i \
- $(ACE_ROOT)/ace/Sock_Connect.h \
- $(ACE_ROOT)/ace/Sock_Connect.i \
- $(ACE_ROOT)/ace/ACE.i $(ACE_ROOT)/ace/Malloc.h \
- $(ACE_ROOT)/ace/Log_Msg.h \
- $(ACE_ROOT)/ace/Log_Record.h \
- $(ACE_ROOT)/ace/Log_Priority.h \
- $(ACE_ROOT)/ace/Log_Record.i \
- $(ACE_ROOT)/ace/OS_Log_Msg_Attributes.h \
- $(ACE_ROOT)/ace/OS_Log_Msg_Attributes.inl \
- $(ACE_ROOT)/ace/Malloc.i \
- $(ACE_ROOT)/ace/Malloc_T.h \
- $(ACE_ROOT)/ace/Synch.h $(ACE_ROOT)/ace/Synch.i \
- $(ACE_ROOT)/ace/Synch_T.h \
- $(ACE_ROOT)/ace/Synch_T.i \
- $(ACE_ROOT)/ace/Thread.h \
- $(ACE_ROOT)/ace/Thread_Adapter.h \
- $(ACE_ROOT)/ace/Base_Thread_Adapter.h \
- $(ACE_ROOT)/ace/Base_Thread_Adapter.inl \
- $(ACE_ROOT)/ace/Thread_Adapter.inl \
- $(ACE_ROOT)/ace/Thread.i \
- $(ACE_ROOT)/ace/Atomic_Op.i \
- $(ACE_ROOT)/ace/Synch_T.cpp \
- $(ACE_ROOT)/ace/Malloc_Allocator.h \
- $(ACE_ROOT)/ace/Malloc_Base.h \
- $(ACE_ROOT)/ace/Malloc_Allocator.i \
- $(ACE_ROOT)/ace/Free_List.h \
- $(ACE_ROOT)/ace/Free_List.i \
- $(ACE_ROOT)/ace/Free_List.cpp \
- $(ACE_ROOT)/ace/Malloc_T.i \
- $(ACE_ROOT)/ace/Malloc_T.cpp \
- $(ACE_ROOT)/ace/Memory_Pool.h \
- $(ACE_ROOT)/ace/Event_Handler.h \
- $(ACE_ROOT)/ace/Event_Handler.i \
- $(ACE_ROOT)/ace/Signal.h \
- $(ACE_ROOT)/ace/Containers.h \
- $(ACE_ROOT)/ace/Containers.i \
- $(ACE_ROOT)/ace/Containers_T.h \
- $(ACE_ROOT)/ace/Containers_T.i \
- $(ACE_ROOT)/ace/Containers_T.cpp \
- $(ACE_ROOT)/ace/Signal.i \
- $(ACE_ROOT)/ace/Mem_Map.h \
- $(ACE_ROOT)/ace/Mem_Map.i \
- $(ACE_ROOT)/ace/SV_Semaphore_Complex.h \
- $(ACE_ROOT)/ace/SV_Semaphore_Simple.h \
- $(ACE_ROOT)/ace/SV_Semaphore_Simple.i \
- $(ACE_ROOT)/ace/SV_Semaphore_Complex.i \
- $(ACE_ROOT)/ace/Memory_Pool.i \
- $(ACE_ROOT)/ace/Message_Block.i \
- $(ACE_ROOT)/ace/Message_Block_T.h \
- $(ACE_ROOT)/ace/Message_Block_T.i \
- $(ACE_ROOT)/ace/Message_Block_T.cpp \
- $(ACE_ROOT)/ace/CDR_Base.inl \
- $(TAO_ROOT)/tao/try_macros.h \
- $(TAO_ROOT)/tao/orbconf.h \
- $(ACE_ROOT)/ace/CORBA_macros.h \
- $(TAO_ROOT)/tao/varbase.h \
- $(TAO_ROOT)/tao/TAO_Export.h \
- $(TAO_ROOT)/tao/corbafwd.i \
- $(ACE_ROOT)/ace/SString.h \
- $(ACE_ROOT)/ace/SString.i \
- $(TAO_ROOT)/tao/Exception.i \
- $(ACE_ROOT)/ace/Service_Object.h \
- $(ACE_ROOT)/ace/Shared_Object.h \
- $(ACE_ROOT)/ace/Shared_Object.i \
- $(ACE_ROOT)/ace/Service_Object.i \
- $(TAO_ROOT)/tao/Object_Loader.i \
- $(ACE_ROOT)/ace/Service_Config.h \
- $(ACE_ROOT)/ace/Service_Config.i \
- $(ACE_ROOT)/ace/Reactor.h \
- $(ACE_ROOT)/ace/Handle_Set.h \
- $(ACE_ROOT)/ace/Handle_Set.i \
- $(ACE_ROOT)/ace/Timer_Queue.h \
- $(ACE_ROOT)/ace/Timer_Queue_T.h \
- $(ACE_ROOT)/ace/Test_and_Set.h \
- $(ACE_ROOT)/ace/Test_and_Set.i \
- $(ACE_ROOT)/ace/Test_and_Set.cpp \
- $(ACE_ROOT)/ace/Timer_Queue_T.i \
- $(ACE_ROOT)/ace/Timer_Queue_T.cpp \
- $(ACE_ROOT)/ace/Reactor.i \
- $(ACE_ROOT)/ace/Reactor_Impl.h \
- $(ACE_ROOT)/ace/Svc_Conf_Tokens.h TypeCodeFactoryC.h \
- $(TAO_ROOT)/tao/corba.h \
- $(TAO_ROOT)/tao/Environment.h \
- $(TAO_ROOT)/tao/Environment.i \
- $(TAO_ROOT)/tao/ORB.h \
- $(TAO_ROOT)/tao/Services.h \
- $(TAO_ROOT)/tao/Sequence.h \
- $(TAO_ROOT)/tao/Managed_Types.h \
- $(TAO_ROOT)/tao/Managed_Types.i \
- $(TAO_ROOT)/tao/Sequence.i \
- $(TAO_ROOT)/tao/Sequence_T.h \
- $(TAO_ROOT)/tao/Sequence_T.i \
- $(TAO_ROOT)/tao/Sequence_T.cpp \
- $(TAO_ROOT)/tao/Services.i \
- $(TAO_ROOT)/tao/CORBA_String.h \
- $(TAO_ROOT)/tao/CORBA_String.inl \
- $(TAO_ROOT)/tao/PolicyC.h \
- $(TAO_ROOT)/tao/CurrentC.h \
- $(TAO_ROOT)/tao/Object.h \
- $(TAO_ROOT)/tao/Abstract_Servant_Base.h \
- $(TAO_ROOT)/tao/Object_Proxy_Broker.h \
- $(TAO_ROOT)/tao/Object_Proxy_Impl.h \
- $(TAO_ROOT)/tao/Object.i \
- $(TAO_ROOT)/tao/CurrentC.i \
- $(TAO_ROOT)/tao/Encodable.h \
- $(TAO_ROOT)/tao/CDR.h \
- $(ACE_ROOT)/ace/CDR_Stream.h \
- $(ACE_ROOT)/ace/CDR_Stream.i \
- $(TAO_ROOT)/tao/CDR.i \
- $(TAO_ROOT)/tao/Typecode.h \
- $(TAO_ROOT)/tao/Typecode.i \
- $(TAO_ROOT)/tao/PolicyC.i \
- $(TAO_ROOT)/tao/ORB.i \
- $(TAO_ROOT)/tao/Any.h \
- $(TAO_ROOT)/tao/Any.i \
- $(TAO_ROOT)/tao/NVList.h \
- $(TAO_ROOT)/tao/NVList.i \
- $(TAO_ROOT)/tao/Principal.h \
- $(TAO_ROOT)/tao/OctetSeqC.h \
- $(TAO_ROOT)/tao/OctetSeqC.i \
- $(TAO_ROOT)/tao/Principal.i \
- $(TAO_ROOT)/tao/TAO_Server_Request.h \
- $(TAO_ROOT)/tao/Tagged_Profile.h \
- $(TAO_ROOT)/tao/IOPC.h \
- $(TAO_ROOT)/tao/IOPC.i \
- $(TAO_ROOT)/tao/GIOPC.h \
- $(TAO_ROOT)/tao/Object_KeyC.h \
- $(TAO_ROOT)/tao/Object_KeyC.i \
- $(TAO_ROOT)/tao/GIOPC.i \
- $(TAO_ROOT)/tao/Tagged_Profile.i \
- $(TAO_ROOT)/tao/Service_Context.h \
- $(TAO_ROOT)/tao/Service_Context.inl \
- $(TAO_ROOT)/tao/TAO_Server_Request.i \
- $(TAO_ROOT)/tao/Remote_Object_Proxy_Impl.h \
- $(TAO_ROOT)/tao/LocalObject.h \
- $(TAO_ROOT)/tao/LocalObject.i \
- $(TAO_ROOT)/tao/Stub.h \
- $(TAO_ROOT)/tao/Pluggable.h \
- $(TAO_ROOT)/tao/Pluggable.i \
- $(TAO_ROOT)/tao/MProfile.h \
- $(TAO_ROOT)/tao/Profile.h \
- $(TAO_ROOT)/tao/Tagged_Components.h \
- $(TAO_ROOT)/tao/CONV_FRAMEC.h \
- $(TAO_ROOT)/tao/CONV_FRAMEC.i \
- $(TAO_ROOT)/tao/Tagged_Components.i \
- $(TAO_ROOT)/tao/GIOP_Message_State.h \
- $(TAO_ROOT)/tao/GIOP_Message_State.i \
- $(TAO_ROOT)/tao/Profile.i \
- $(TAO_ROOT)/tao/MProfile.i \
- $(TAO_ROOT)/tao/ORB_Core.h \
- $(TAO_ROOT)/tao/Policy_Manager.h \
- $(TAO_ROOT)/tao/Policy_Manager.i \
- $(TAO_ROOT)/tao/Resource_Factory.h \
- $(TAO_ROOT)/tao/Protocol_Factory.h \
- $(TAO_ROOT)/tao/params.h \
- $(TAO_ROOT)/tao/params.i \
- $(TAO_ROOT)/tao/TAO_Singleton_Manager.h \
- $(TAO_ROOT)/tao/TAO_Singleton_Manager.inl \
- $(TAO_ROOT)/tao/TAO_Singleton.h \
- $(TAO_ROOT)/tao/TAO_Singleton.inl \
- $(TAO_ROOT)/tao/TAO_Singleton.cpp \
- $(ACE_ROOT)/ace/Object_Manager.h \
- $(ACE_ROOT)/ace/Object_Manager.i \
- $(ACE_ROOT)/ace/Managed_Object.h \
- $(ACE_ROOT)/ace/Managed_Object.i \
- $(ACE_ROOT)/ace/Managed_Object.cpp \
- $(TAO_ROOT)/tao/Adapter.h \
- $(TAO_ROOT)/tao/Adapter.i \
- $(TAO_ROOT)/tao/PolicyFactory_Registry.h \
- $(TAO_ROOT)/tao/PortableInterceptorC.h \
- $(TAO_ROOT)/tao/DynamicC.h \
- $(TAO_ROOT)/tao/DynamicC.i \
- $(TAO_ROOT)/tao/MessagingC.h \
- $(TAO_ROOT)/tao/ValueBase.h \
- $(TAO_ROOT)/tao/ValueBase.i \
- $(TAO_ROOT)/tao/ValueFactory.h \
- $(TAO_ROOT)/tao/ValueFactory.i \
- $(TAO_ROOT)/tao/TimeBaseC.h \
- $(TAO_ROOT)/tao/TimeBaseC.i \
- $(TAO_ROOT)/tao/PollableC.h \
- $(TAO_ROOT)/tao/PollableC.i \
- $(TAO_ROOT)/tao/MessagingC.i \
- $(TAO_ROOT)/tao/PortableInterceptorC.i \
- $(ACE_ROOT)/ace/Map_Manager.h \
- $(ACE_ROOT)/ace/Map_Manager.i \
- $(ACE_ROOT)/ace/Map_Manager.cpp \
- $(TAO_ROOT)/tao/Parser_Registry.h \
- $(TAO_ROOT)/tao/Parser_Registry.i \
- $(TAO_ROOT)/tao/Service_Callbacks.h \
- $(TAO_ROOT)/tao/Service_Callbacks.i \
- $(TAO_ROOT)/tao/Fault_Tolerance_Service.h \
- $(TAO_ROOT)/tao/Fault_Tolerance_Service.i \
- $(TAO_ROOT)/tao/Transport_Cache_Manager.h \
- $(ACE_ROOT)/ace/Hash_Map_Manager_T.h \
- $(ACE_ROOT)/ace/Functor.h \
- $(ACE_ROOT)/ace/Functor.i \
- $(ACE_ROOT)/ace/Functor_T.h \
- $(ACE_ROOT)/ace/Functor_T.i \
- $(ACE_ROOT)/ace/Functor_T.cpp \
- $(ACE_ROOT)/ace/Hash_Map_Manager_T.i \
- $(ACE_ROOT)/ace/Hash_Map_Manager_T.cpp \
- $(TAO_ROOT)/tao/Cache_Entries.h \
- $(TAO_ROOT)/tao/Transport_Descriptor_Interface.h \
- $(TAO_ROOT)/tao/Endpoint.h \
- $(TAO_ROOT)/tao/Endpoint.i \
- $(TAO_ROOT)/tao/Transport_Descriptor_Interface.inl \
- $(TAO_ROOT)/tao/Cache_Entries.inl \
- $(TAO_ROOT)/tao/Transport_Cache_Manager.inl \
- $(TAO_ROOT)/tao/Cleanup_Func_Registry.h \
- $(TAO_ROOT)/tao/Cleanup_Func_Registry.inl \
- $(TAO_ROOT)/tao/Object_Ref_Table.h \
- $(TAO_ROOT)/tao/Interceptor_List.h \
- $(TAO_ROOT)/tao/Interceptor_List.inl \
- $(TAO_ROOT)/tao/RT_Policy_i.h \
- $(TAO_ROOT)/tao/RTCORBAC.h \
- $(TAO_ROOT)/tao/RTCORBAC.i \
- $(TAO_ROOT)/tao/RT_Policy_i.i \
- $(TAO_ROOT)/tao/Protocols_Hooks.h \
- $(ACE_ROOT)/ace/Hash_Map_Manager.h \
- $(ACE_ROOT)/ace/Thread_Manager.h \
- $(ACE_ROOT)/ace/Singleton.h \
- $(ACE_ROOT)/ace/Singleton.i \
- $(ACE_ROOT)/ace/Singleton.cpp \
- $(ACE_ROOT)/ace/Thread_Manager.i \
- $(TAO_ROOT)/tao/ORB_Core.i \
- $(TAO_ROOT)/tao/Stub.i \
- $(TAO_ROOT)/tao/debug.h \
- $(TAO_ROOT)/tao/Client_Strategy_Factory.h \
- $(TAO_ROOT)/tao/Server_Strategy_Factory.h \
- $(TAO_ROOT)/tao/Invocation.h \
- $(TAO_ROOT)/tao/Synch_Reply_Dispatcher.h \
- $(TAO_ROOT)/tao/Reply_Dispatcher.h \
- $(TAO_ROOT)/tao/Reply_Dispatcher.i \
- $(TAO_ROOT)/tao/TAOC.h \
- $(TAO_ROOT)/tao/Priority_Mapping_Manager.h \
- $(TAO_ROOT)/tao/Priority_Mapping.h \
- $(TAO_ROOT)/tao/Priority_Mapping.i \
- $(TAO_ROOT)/tao/Priority_Mapping_Manager.i \
- $(TAO_ROOT)/tao/TAOC.i \
- $(TAO_ROOT)/tao/operation_details.h \
- $(TAO_ROOT)/tao/target_specification.h \
- $(TAO_ROOT)/tao/target_specification.i \
- $(TAO_ROOT)/tao/operation_details.i \
- $(TAO_ROOT)/tao/Invocation_Endpoint_Selectors.h \
- $(TAO_ROOT)/tao/Invocation_Endpoint_Selectors.i \
- $(TAO_ROOT)/tao/Invocation.i \
- $(TAO_ROOT)/tao/ObjectIDList.h \
- $(TAO_ROOT)/tao/ObjectIDList.i \
- $(TAO_ROOT)/tao/DomainC.h \
- $(TAO_ROOT)/tao/ClientRequestInfo.h \
- $(TAO_ROOT)/tao/StringSeqC.h \
- $(TAO_ROOT)/tao/StringSeqC.i \
- $(TAO_ROOT)/tao/ClientRequestInfo.inl \
- $(TAO_ROOT)/tao/DomainC.i \
- $(TAO_ROOT)/tao/WrongTransactionC.h \
- $(TAO_ROOT)/tao/BoundsC.h \
- $(TAO_ROOT)/tao/BoundsC.i \
- $(TAO_ROOT)/tao/PortableInterceptor.h \
- $(TAO_ROOT)/tao/PortableInterceptor.i \
- $(TAO_ROOT)/tao/BiDirPolicyC.h \
- $(TAO_ROOT)/tao/BiDirPolicyC.i \
- $(TAO_ROOT)/tao/IFR_Client/InterfaceC.h \
- $(TAO_ROOT)/tao/IFR_Client/ifrfwd.h \
- $(TAO_ROOT)/tao/IFR_Client/ifr_client_export.h \
- $(TAO_ROOT)/tao/IFR_Client/InterfaceC.i \
- TypeCodeFactoryC.inl TypeCodeFactory_i.h
-
-# IF YOU PUT ANYTHING HERE IT WILL GO AWAY
diff --git a/TAO/orbsvcs/IFR_Service/Makefile.am b/TAO/orbsvcs/IFR_Service/Makefile.am
index a98bad1678e..6b7055fdd48 100644
--- a/TAO/orbsvcs/IFR_Service/Makefile.am
+++ b/TAO/orbsvcs/IFR_Service/Makefile.am
@@ -39,10 +39,13 @@ IFR_Service_SOURCES = \
FixedDef_i.cpp \
HomeDef_i.cpp \
IDLType_i.cpp \
+ IFR_BaseS.cpp \
+ IFR_BasicS.cpp \
+ IFR_ComponentsS.cpp \
+ IFR_ExtendedS.cpp \
IFR_Server.cpp \
IFR_Service.cpp \
InterfaceDef_i.cpp \
- InterfaceS.cpp \
IRObject_i.cpp \
ModuleDef_i.cpp \
NativeDef_i.cpp \
@@ -87,9 +90,12 @@ noinst_HEADERS = \
FixedDef_i.h \
HomeDef_i.h \
IDLType_i.h \
+ IFR_BaseS.h \
+ IFR_BasicS.h \
+ IFR_ComponentsS.h \
+ IFR_ExtendedS.h \
IFR_Service.h \
InterfaceDef_i.h \
- InterfaceS.h \
InterfaceS_T.h \
IRObject_i.h \
ModuleDef_i.h \
diff --git a/TAO/orbsvcs/IFR_Service/Makefile.bor b/TAO/orbsvcs/IFR_Service/Makefile.bor
index 20c744be624..b7ad7ad9ab1 100644
--- a/TAO/orbsvcs/IFR_Service/Makefile.bor
+++ b/TAO/orbsvcs/IFR_Service/Makefile.bor
@@ -3,7 +3,6 @@
#
MAKEFILES = \
- TypeCodeFactory_DLL.bor \
IFR_Service.bor \
TAO_IFR_BE_DLL.bor \
tao_ifr.bor
diff --git a/TAO/orbsvcs/IFR_Service/ModuleDef_i.cpp b/TAO/orbsvcs/IFR_Service/ModuleDef_i.cpp
index 1a2a9ab5dd9..9e2963720c9 100644
--- a/TAO/orbsvcs/IFR_Service/ModuleDef_i.cpp
+++ b/TAO/orbsvcs/IFR_Service/ModuleDef_i.cpp
@@ -18,11 +18,11 @@ TAO_ModuleDef_i::~TAO_ModuleDef_i (void)
{
}
-IR_DefinitionKind
+CORBA::DefinitionKind
TAO_ModuleDef_i::def_kind (CORBA::Environment &)
ACE_THROW_SPEC ((CORBA::SystemException))
{
- return dk_Module;
+ return CORBA::dk_Module;
}
void
@@ -47,7 +47,7 @@ TAO_ModuleDef_i::destroy_i (CORBA::Environment &ACE_TRY_ENV)
ACE_CHECK;
}
-IR_Contained::Description *
+CORBA_Contained::Description *
TAO_ModuleDef_i::describe (CORBA::Environment &ACE_TRY_ENV)
ACE_THROW_SPEC ((CORBA::SystemException))
{
@@ -56,22 +56,22 @@ TAO_ModuleDef_i::describe (CORBA::Environment &ACE_TRY_ENV)
return this->describe_i (ACE_TRY_ENV);
}
-IR_Contained::Description *
+CORBA_Contained::Description *
TAO_ModuleDef_i::describe_i (CORBA::Environment &ACE_TRY_ENV)
ACE_THROW_SPEC ((CORBA::SystemException))
{
- IR_Contained::Description *desc_ptr = 0;
+ CORBA_Contained::Description *desc_ptr = 0;
ACE_NEW_THROW_EX (desc_ptr,
- IR_Contained::Description,
+ CORBA_Contained::Description,
CORBA::NO_MEMORY ());
ACE_CHECK_RETURN (0);
- IR_Contained::Description_var retval = desc_ptr;
+ CORBA_Contained::Description_var retval = desc_ptr;
retval->kind = this->def_kind (ACE_TRY_ENV);
ACE_CHECK_RETURN (0);
- IR_ModuleDescription md;
+ CORBA_ModuleDescription md;
md.name = this->name_i (ACE_TRY_ENV);
ACE_CHECK_RETURN (0);
diff --git a/TAO/orbsvcs/IFR_Service/ModuleDef_i.h b/TAO/orbsvcs/IFR_Service/ModuleDef_i.h
index 94b3553decf..ef5e8d224fd 100644
--- a/TAO/orbsvcs/IFR_Service/ModuleDef_i.h
+++ b/TAO/orbsvcs/IFR_Service/ModuleDef_i.h
@@ -10,7 +10,7 @@
// ModuleDef_i.h
//
// = DESCRIPTION
-// IR_ModuleDef servant class.
+// ModuleDef servant class.
//
// = AUTHOR
// Jeff Parsons <parsons@cs.wustl.edu>
@@ -20,6 +20,7 @@
#ifndef TAO_MODULEDEF_I_H
#define TAO_MODULEDEF_I_H
+#include "Container_i.h"
#include "Contained_i.h"
#if !defined (ACE_LACKS_PRAGMA_ONCE)
@@ -50,7 +51,7 @@ public:
virtual ~TAO_ModuleDef_i (void);
// Destructor
- virtual IR_DefinitionKind def_kind (
+ virtual CORBA::DefinitionKind def_kind (
CORBA::Environment &ACE_TRY_ENV =
TAO_default_environment ()
)
@@ -71,14 +72,14 @@ public:
ACE_THROW_SPEC ((CORBA::SystemException));
// Remove the repository entry.
- virtual IR_Contained::Description *describe (
+ virtual CORBA_Contained::Description *describe (
CORBA::Environment &ACE_TRY_ENV =
TAO_default_environment ()
)
ACE_THROW_SPEC ((CORBA::SystemException));
// From Contained_i's pure virtual function.
- virtual IR_Contained::Description *describe_i (
+ virtual CORBA_Contained::Description *describe_i (
CORBA::Environment &ACE_TRY_ENV =
TAO_default_environment ()
)
diff --git a/TAO/orbsvcs/IFR_Service/NativeDef_i.cpp b/TAO/orbsvcs/IFR_Service/NativeDef_i.cpp
index fa14aa56946..6aa481df36e 100644
--- a/TAO/orbsvcs/IFR_Service/NativeDef_i.cpp
+++ b/TAO/orbsvcs/IFR_Service/NativeDef_i.cpp
@@ -19,11 +19,11 @@ TAO_NativeDef_i::~TAO_NativeDef_i (void)
{
}
-IR_DefinitionKind
+CORBA::DefinitionKind
TAO_NativeDef_i::def_kind (CORBA::Environment &)
ACE_THROW_SPEC ((CORBA::SystemException))
{
- return dk_Native;
+ return CORBA::dk_Native;
}
CORBA::TypeCode_ptr
diff --git a/TAO/orbsvcs/IFR_Service/NativeDef_i.h b/TAO/orbsvcs/IFR_Service/NativeDef_i.h
index 8b7a6265679..d369fbba640 100644
--- a/TAO/orbsvcs/IFR_Service/NativeDef_i.h
+++ b/TAO/orbsvcs/IFR_Service/NativeDef_i.h
@@ -10,7 +10,7 @@
// NativeDef_i.h
//
// = DESCRIPTION
-// IR_NativeDef servant class.
+// NativeDef servant class.
//
// = AUTHOR
// Jeff Parsons <parsons@cs.wustl.edu>
@@ -50,7 +50,7 @@ public:
virtual ~TAO_NativeDef_i (void);
// Destructor
- virtual IR_DefinitionKind def_kind (
+ virtual CORBA::DefinitionKind def_kind (
CORBA::Environment &ACE_TRY_ENV =
TAO_default_environment ()
)
diff --git a/TAO/orbsvcs/IFR_Service/OperationDef_i.cpp b/TAO/orbsvcs/IFR_Service/OperationDef_i.cpp
index a81a0a8a917..f3db32824e9 100644
--- a/TAO/orbsvcs/IFR_Service/OperationDef_i.cpp
+++ b/TAO/orbsvcs/IFR_Service/OperationDef_i.cpp
@@ -23,14 +23,14 @@ TAO_OperationDef_i::~TAO_OperationDef_i (void)
{
}
-IR_DefinitionKind
+CORBA::DefinitionKind
TAO_OperationDef_i::def_kind (CORBA::Environment &)
ACE_THROW_SPEC ((CORBA::SystemException))
{
- return dk_Operation;
+ return CORBA::dk_Operation;
}
-IR_Contained::Description *
+CORBA_Contained::Description *
TAO_OperationDef_i::describe (CORBA::Environment &ACE_TRY_ENV )
ACE_THROW_SPEC ((CORBA::SystemException))
{
@@ -39,17 +39,17 @@ TAO_OperationDef_i::describe (CORBA::Environment &ACE_TRY_ENV )
return this->describe_i (ACE_TRY_ENV);
}
-IR_Contained::Description *
+CORBA_Contained::Description *
TAO_OperationDef_i::describe_i (CORBA::Environment &ACE_TRY_ENV )
ACE_THROW_SPEC ((CORBA::SystemException))
{
- IR_Contained::Description *desc_ptr = 0;
+ CORBA_Contained::Description *desc_ptr = 0;
ACE_NEW_THROW_EX (desc_ptr,
- IR_Contained::Description,
+ CORBA_Contained::Description,
CORBA::NO_MEMORY ());
ACE_CHECK_RETURN (0);
- IR_Contained::Description_var retval = desc_ptr;
+ CORBA_Contained::Description_var retval = desc_ptr;
retval->kind = this->def_kind (ACE_TRY_ENV);
ACE_CHECK_RETURN (0);
@@ -94,16 +94,16 @@ TAO_OperationDef_i::result_i (CORBA::Environment &ACE_TRY_ENV)
return impl->type_i (ACE_TRY_ENV);
}
-IR_IDLType_ptr
+CORBA_IDLType_ptr
TAO_OperationDef_i::result_def (CORBA::Environment &ACE_TRY_ENV)
ACE_THROW_SPEC ((CORBA::SystemException))
{
- TAO_IFR_READ_GUARD_RETURN (IR_IDLType::_nil ());
+ TAO_IFR_READ_GUARD_RETURN (CORBA_IDLType::_nil ());
return this->result_def_i (ACE_TRY_ENV);
}
-IR_IDLType_ptr
+CORBA_IDLType_ptr
TAO_OperationDef_i::result_def_i (CORBA::Environment &ACE_TRY_ENV)
ACE_THROW_SPEC ((CORBA::SystemException))
{
@@ -123,21 +123,21 @@ TAO_OperationDef_i::result_def_i (CORBA::Environment &ACE_TRY_ENV)
"def_kind",
kind);
- IR_DefinitionKind def_kind =
- ACE_static_cast (IR_DefinitionKind, kind);
+ CORBA::DefinitionKind def_kind =
+ ACE_static_cast (CORBA::DefinitionKind, kind);
CORBA::Object_var obj =
this->repo_->servant_factory ()->create_objref (def_kind,
result_path.c_str (),
ACE_TRY_ENV);
- ACE_CHECK_RETURN (IR_IDLType::_nil ());
+ ACE_CHECK_RETURN (CORBA_IDLType::_nil ());
- return IR_IDLType::_narrow (obj.in (),
+ return CORBA_IDLType::_narrow (obj.in (),
ACE_TRY_ENV);
}
void
-TAO_OperationDef_i::result_def (IR_IDLType_ptr result_def,
+TAO_OperationDef_i::result_def (CORBA_IDLType_ptr result_def,
CORBA::Environment &ACE_TRY_ENV)
ACE_THROW_SPEC ((CORBA::SystemException))
{
@@ -148,7 +148,7 @@ TAO_OperationDef_i::result_def (IR_IDLType_ptr result_def,
}
void
-TAO_OperationDef_i::result_def_i (IR_IDLType_ptr result_def,
+TAO_OperationDef_i::result_def_i (CORBA_IDLType_ptr result_def,
CORBA::Environment &ACE_TRY_ENV)
ACE_THROW_SPEC ((CORBA::SystemException))
{
@@ -165,7 +165,7 @@ TAO_OperationDef_i::result_def_i (IR_IDLType_ptr result_def,
result_path.in ());
}
-IR_ParDescriptionSeq *
+CORBA_ParDescriptionSeq *
TAO_OperationDef_i::params (CORBA::Environment &ACE_TRY_ENV)
ACE_THROW_SPEC ((CORBA::SystemException))
{
@@ -174,7 +174,7 @@ TAO_OperationDef_i::params (CORBA::Environment &ACE_TRY_ENV)
return this->params_i (ACE_TRY_ENV);
}
-IR_ParDescriptionSeq *
+CORBA_ParDescriptionSeq *
TAO_OperationDef_i::params_i (CORBA::Environment &ACE_TRY_ENV)
ACE_THROW_SPEC ((CORBA::SystemException))
{
@@ -213,9 +213,9 @@ TAO_OperationDef_i::params_i (CORBA::Environment &ACE_TRY_ENV)
size_t size = key_queue.size ();
- IR_ParDescriptionSeq *pd_seq = 0;
+ CORBA_ParDescriptionSeq *pd_seq = 0;
ACE_NEW_THROW_EX (pd_seq,
- IR_ParDescriptionSeq (size),
+ CORBA_ParDescriptionSeq (size),
CORBA::NO_MEMORY ());
ACE_CHECK_RETURN (0);
@@ -224,7 +224,7 @@ TAO_OperationDef_i::params_i (CORBA::Environment &ACE_TRY_ENV)
if (size == 0)
return pd_seq;
- IR_ParDescriptionSeq_var retval = pd_seq;
+ CORBA_ParDescriptionSeq_var retval = pd_seq;
for (i = 0; i < size; ++i)
{
@@ -243,7 +243,7 @@ TAO_OperationDef_i::params_i (CORBA::Environment &ACE_TRY_ENV)
"mode",
mode);
- retval[i].mode = ACE_static_cast (IR_ParameterMode, mode);
+ retval[i].mode = ACE_static_cast (CORBA::ParameterMode, mode);
ACE_TString type_path;
this->repo_->config ()->get_string_value (key,
@@ -271,8 +271,8 @@ TAO_OperationDef_i::params_i (CORBA::Environment &ACE_TRY_ENV)
"def_kind",
kind);
- IR_DefinitionKind def_kind =
- ACE_static_cast (IR_DefinitionKind, kind);
+ CORBA::DefinitionKind def_kind =
+ ACE_static_cast (CORBA::DefinitionKind, kind);
CORBA::Object_var obj =
this->repo_->servant_factory ()->create_objref (def_kind,
@@ -280,7 +280,7 @@ TAO_OperationDef_i::params_i (CORBA::Environment &ACE_TRY_ENV)
ACE_TRY_ENV);
ACE_CHECK_RETURN (0);
- retval[i].type_def = IR_IDLType::_narrow (obj.in (),
+ retval[i].type_def = CORBA_IDLType::_narrow (obj.in (),
ACE_TRY_ENV);
ACE_CHECK_RETURN (0);
}
@@ -289,7 +289,7 @@ TAO_OperationDef_i::params_i (CORBA::Environment &ACE_TRY_ENV)
}
void
-TAO_OperationDef_i::params (const IR_ParDescriptionSeq &params,
+TAO_OperationDef_i::params (const CORBA_ParDescriptionSeq &params,
CORBA::Environment &ACE_TRY_ENV)
ACE_THROW_SPEC ((CORBA::SystemException))
{
@@ -300,7 +300,7 @@ TAO_OperationDef_i::params (const IR_ParDescriptionSeq &params,
}
void
-TAO_OperationDef_i::params_i (const IR_ParDescriptionSeq &params,
+TAO_OperationDef_i::params_i (const CORBA_ParDescriptionSeq &params,
CORBA::Environment &ACE_TRY_ENV)
ACE_THROW_SPEC ((CORBA::SystemException))
{
@@ -354,16 +354,16 @@ TAO_OperationDef_i::params_i (const IR_ParDescriptionSeq &params,
}
}
-IR_OperationMode
+CORBA::OperationMode
TAO_OperationDef_i::mode (CORBA::Environment &ACE_TRY_ENV)
ACE_THROW_SPEC ((CORBA::SystemException))
{
- TAO_IFR_READ_GUARD_RETURN (OP_NORMAL);
+ TAO_IFR_READ_GUARD_RETURN (CORBA::OP_NORMAL);
return this->mode_i (ACE_TRY_ENV);
}
-IR_OperationMode
+CORBA::OperationMode
TAO_OperationDef_i::mode_i (CORBA::Environment &)
ACE_THROW_SPEC ((CORBA::SystemException))
{
@@ -372,11 +372,11 @@ TAO_OperationDef_i::mode_i (CORBA::Environment &)
"mode",
mode);
- return ACE_static_cast (IR_OperationMode, mode);
+ return ACE_static_cast (CORBA::OperationMode, mode);
}
void
-TAO_OperationDef_i::mode (IR_OperationMode mode,
+TAO_OperationDef_i::mode (CORBA::OperationMode mode,
CORBA::Environment &ACE_TRY_ENV)
ACE_THROW_SPEC ((CORBA::SystemException))
{
@@ -387,7 +387,7 @@ TAO_OperationDef_i::mode (IR_OperationMode mode,
}
void
-TAO_OperationDef_i::mode_i (IR_OperationMode mode,
+TAO_OperationDef_i::mode_i (CORBA::OperationMode mode,
CORBA::Environment &)
ACE_THROW_SPEC ((CORBA::SystemException))
{
@@ -396,7 +396,7 @@ TAO_OperationDef_i::mode_i (IR_OperationMode mode,
mode);
}
-IR_ContextIdSeq *
+CORBA_ContextIdSeq *
TAO_OperationDef_i::contexts (CORBA::Environment &ACE_TRY_ENV)
ACE_THROW_SPEC ((CORBA::SystemException))
{
@@ -405,7 +405,7 @@ TAO_OperationDef_i::contexts (CORBA::Environment &ACE_TRY_ENV)
return this->contexts_i (ACE_TRY_ENV);
}
-IR_ContextIdSeq *
+CORBA_ContextIdSeq *
TAO_OperationDef_i::contexts_i (CORBA::Environment &ACE_TRY_ENV)
ACE_THROW_SPEC ((CORBA::SystemException))
{
@@ -441,9 +441,9 @@ TAO_OperationDef_i::contexts_i (CORBA::Environment &ACE_TRY_ENV)
size_t size = context_queue.size ();
- IR_ContextIdSeq *ci_seq = 0;
+ CORBA_ContextIdSeq *ci_seq = 0;
ACE_NEW_THROW_EX (ci_seq,
- IR_ContextIdSeq (size),
+ CORBA_ContextIdSeq (size),
CORBA::NO_MEMORY ());
ACE_CHECK_RETURN (0);
@@ -461,7 +461,7 @@ TAO_OperationDef_i::contexts_i (CORBA::Environment &ACE_TRY_ENV)
}
void
-TAO_OperationDef_i::contexts (const IR_ContextIdSeq &contexts,
+TAO_OperationDef_i::contexts (const CORBA_ContextIdSeq &contexts,
CORBA::Environment &ACE_TRY_ENV)
ACE_THROW_SPEC ((CORBA::SystemException))
{
@@ -472,7 +472,7 @@ TAO_OperationDef_i::contexts (const IR_ContextIdSeq &contexts,
}
void
-TAO_OperationDef_i::contexts_i (const IR_ContextIdSeq &contexts,
+TAO_OperationDef_i::contexts_i (const CORBA_ContextIdSeq &contexts,
CORBA::Environment &)
ACE_THROW_SPEC ((CORBA::SystemException))
{
@@ -501,7 +501,7 @@ TAO_OperationDef_i::contexts_i (const IR_ContextIdSeq &contexts,
}
}
-IR_ExceptionDefSeq *
+CORBA_ExceptionDefSeq *
TAO_OperationDef_i::exceptions (CORBA::Environment &ACE_TRY_ENV )
ACE_THROW_SPEC ((CORBA::SystemException))
{
@@ -510,7 +510,7 @@ TAO_OperationDef_i::exceptions (CORBA::Environment &ACE_TRY_ENV )
return this->exceptions_i (ACE_TRY_ENV);
}
-IR_ExceptionDefSeq *
+CORBA_ExceptionDefSeq *
TAO_OperationDef_i::exceptions_i (CORBA::Environment &ACE_TRY_ENV )
ACE_THROW_SPEC ((CORBA::SystemException))
{
@@ -522,7 +522,7 @@ TAO_OperationDef_i::exceptions_i (CORBA::Environment &ACE_TRY_ENV )
excepts_key);
int index = 0;
- ACE_Unbounded_Queue<IR_DefinitionKind> kind_queue;
+ ACE_Unbounded_Queue<CORBA::DefinitionKind> kind_queue;
ACE_Unbounded_Queue<ACE_TString> path_queue;
// This section may not have been created.
@@ -531,7 +531,7 @@ TAO_OperationDef_i::exceptions_i (CORBA::Environment &ACE_TRY_ENV )
ACE_TString field_name, type_path;
ACE_Configuration::VALUETYPE type;
u_int kind = 0;
- IR_DefinitionKind def_kind = dk_none;
+ CORBA::DefinitionKind def_kind = CORBA::dk_none;
ACE_Configuration_Section_Key except_key;
while (this->repo_->config ()->enumerate_values (excepts_key,
@@ -559,7 +559,7 @@ TAO_OperationDef_i::exceptions_i (CORBA::Environment &ACE_TRY_ENV )
kind);
def_kind =
- ACE_static_cast (IR_DefinitionKind, kind);
+ ACE_static_cast (CORBA::DefinitionKind, kind);
kind_queue.enqueue_tail (def_kind);
}
@@ -568,9 +568,9 @@ TAO_OperationDef_i::exceptions_i (CORBA::Environment &ACE_TRY_ENV )
size_t size = kind_queue.size ();
- IR_ExceptionDefSeq *ed_seq = 0;
+ CORBA_ExceptionDefSeq *ed_seq = 0;
ACE_NEW_THROW_EX (ed_seq,
- IR_ExceptionDefSeq (size),
+ CORBA_ExceptionDefSeq (size),
CORBA::NO_MEMORY ());
ACE_CHECK_RETURN (0);
@@ -579,11 +579,11 @@ TAO_OperationDef_i::exceptions_i (CORBA::Environment &ACE_TRY_ENV )
if (index == 0)
return ed_seq;
- IR_ExceptionDefSeq_var retval = ed_seq;
+ CORBA_ExceptionDefSeq_var retval = ed_seq;
for (CORBA::ULong i = 0; i < size; ++i)
{
- IR_DefinitionKind def_kind;
+ CORBA::DefinitionKind def_kind;
kind_queue.dequeue_head (def_kind);
ACE_TString path;
@@ -595,7 +595,7 @@ TAO_OperationDef_i::exceptions_i (CORBA::Environment &ACE_TRY_ENV )
ACE_TRY_ENV);
ACE_CHECK_RETURN (0);
- retval[i] = IR_ExceptionDef::_narrow (obj.in (),
+ retval[i] = CORBA_ExceptionDef::_narrow (obj.in (),
ACE_TRY_ENV);
ACE_CHECK_RETURN (0);
}
@@ -604,7 +604,7 @@ TAO_OperationDef_i::exceptions_i (CORBA::Environment &ACE_TRY_ENV )
}
void
-TAO_OperationDef_i::exceptions (const IR_ExceptionDefSeq &exceptions,
+TAO_OperationDef_i::exceptions (const CORBA_ExceptionDefSeq &exceptions,
CORBA::Environment &ACE_TRY_ENV)
ACE_THROW_SPEC ((CORBA::SystemException))
{
@@ -615,7 +615,7 @@ TAO_OperationDef_i::exceptions (const IR_ExceptionDefSeq &exceptions,
}
void
-TAO_OperationDef_i::exceptions_i (const IR_ExceptionDefSeq &exceptions,
+TAO_OperationDef_i::exceptions_i (const CORBA_ExceptionDefSeq &exceptions,
CORBA::Environment &ACE_TRY_ENV)
ACE_THROW_SPEC ((CORBA::SystemException))
{
@@ -653,12 +653,12 @@ TAO_OperationDef_i::exceptions_i (const IR_ExceptionDefSeq &exceptions,
}
-IR_OperationDescription
+CORBA_OperationDescription
TAO_OperationDef_i::make_description (
CORBA::Environment &ACE_TRY_ENV)
ACE_THROW_SPEC ((CORBA::SystemException))
{
- IR_OperationDescription od;
+ CORBA_OperationDescription od;
od.name = this->name_i (ACE_TRY_ENV);
ACE_CHECK_RETURN (od);
@@ -682,12 +682,12 @@ TAO_OperationDef_i::make_description (
od.mode = this->mode_i (ACE_TRY_ENV);
ACE_CHECK_RETURN (od);
- IR_ContextIdSeq_var cid_seq = this->contexts_i (ACE_TRY_ENV);
+ CORBA_ContextIdSeq_var cid_seq = this->contexts_i (ACE_TRY_ENV);
ACE_CHECK_RETURN (od);
od.contexts = cid_seq.in ();
- IR_ParDescriptionSeq_var pd_seq = this->params_i (ACE_TRY_ENV);
+ CORBA_ParDescriptionSeq_var pd_seq = this->params_i (ACE_TRY_ENV);
ACE_CHECK_RETURN (od);
od.parameters = pd_seq.in ();
diff --git a/TAO/orbsvcs/IFR_Service/OperationDef_i.h b/TAO/orbsvcs/IFR_Service/OperationDef_i.h
index 614f4b6a458..4dacb031d71 100644
--- a/TAO/orbsvcs/IFR_Service/OperationDef_i.h
+++ b/TAO/orbsvcs/IFR_Service/OperationDef_i.h
@@ -10,7 +10,7 @@
// OperationDef_i.h
//
// = DESCRIPTION
-// IR_OperationDef servant class.
+// OperationDef servant class.
//
// = AUTHOR
// Jeff Parsons <parsons@cs.wustl.edu>
@@ -50,21 +50,21 @@ public:
virtual ~TAO_OperationDef_i (void);
// Destructor
- virtual IR_DefinitionKind def_kind (
+ virtual CORBA::DefinitionKind def_kind (
CORBA::Environment &ACE_TRY_ENV =
TAO_default_environment ()
)
ACE_THROW_SPEC ((CORBA::SystemException));
// Return our definition kind.
- virtual IR_Contained::Description *describe (
+ virtual CORBA_Contained::Description *describe (
CORBA::Environment &ACE_TRY_ENV =
TAO_default_environment ()
)
ACE_THROW_SPEC ((CORBA::SystemException));
// From Contained_i's pure virtual function.
- virtual IR_Contained::Description *describe_i (
+ virtual CORBA_Contained::Description *describe_i (
CORBA::Environment &ACE_TRY_ENV =
TAO_default_environment ()
)
@@ -83,137 +83,137 @@ public:
)
ACE_THROW_SPEC ((CORBA::SystemException));
- virtual IR_IDLType_ptr result_def (
+ virtual CORBA_IDLType_ptr result_def (
CORBA::Environment &ACE_TRY_ENV =
TAO_default_environment ()
)
ACE_THROW_SPEC ((CORBA::SystemException));
- IR_IDLType_ptr result_def_i (
+ CORBA_IDLType_ptr result_def_i (
CORBA::Environment &ACE_TRY_ENV =
TAO_default_environment ()
)
ACE_THROW_SPEC ((CORBA::SystemException));
virtual void result_def (
- IR_IDLType_ptr result_def,
+ CORBA_IDLType_ptr result_def,
CORBA::Environment &ACE_TRY_ENV =
TAO_default_environment ()
)
ACE_THROW_SPEC ((CORBA::SystemException));
void result_def_i (
- IR_IDLType_ptr result_def,
+ CORBA_IDLType_ptr result_def,
CORBA::Environment &ACE_TRY_ENV =
TAO_default_environment ()
)
ACE_THROW_SPEC ((CORBA::SystemException));
- virtual IR_ParDescriptionSeq *params (
+ virtual CORBA_ParDescriptionSeq *params (
CORBA::Environment &ACE_TRY_ENV =
TAO_default_environment ()
)
ACE_THROW_SPEC ((CORBA::SystemException));
- IR_ParDescriptionSeq *params_i (
+ CORBA_ParDescriptionSeq *params_i (
CORBA::Environment &ACE_TRY_ENV =
TAO_default_environment ()
)
ACE_THROW_SPEC ((CORBA::SystemException));
virtual void params (
- const IR_ParDescriptionSeq &params,
+ const CORBA_ParDescriptionSeq &params,
CORBA::Environment &ACE_TRY_ENV =
TAO_default_environment ()
)
ACE_THROW_SPEC ((CORBA::SystemException));
void params_i (
- const IR_ParDescriptionSeq &params,
+ const CORBA_ParDescriptionSeq &params,
CORBA::Environment &ACE_TRY_ENV =
TAO_default_environment ()
)
ACE_THROW_SPEC ((CORBA::SystemException));
- virtual IR_OperationMode mode (
+ virtual CORBA::OperationMode mode (
CORBA::Environment &ACE_TRY_ENV =
TAO_default_environment ()
)
ACE_THROW_SPEC ((CORBA::SystemException));
- IR_OperationMode mode_i (
+ CORBA::OperationMode mode_i (
CORBA::Environment &ACE_TRY_ENV =
TAO_default_environment ()
)
ACE_THROW_SPEC ((CORBA::SystemException));
virtual void mode (
- IR_OperationMode mode,
+ CORBA::OperationMode mode,
CORBA::Environment &ACE_TRY_ENV =
TAO_default_environment ()
)
ACE_THROW_SPEC ((CORBA::SystemException));
void mode_i (
- IR_OperationMode mode,
+ CORBA::OperationMode mode,
CORBA::Environment &ACE_TRY_ENV =
TAO_default_environment ()
)
ACE_THROW_SPEC ((CORBA::SystemException));
- virtual IR_ContextIdSeq *contexts (
+ virtual CORBA_ContextIdSeq *contexts (
CORBA::Environment &ACE_TRY_ENV =
TAO_default_environment ()
)
ACE_THROW_SPEC ((CORBA::SystemException));
- IR_ContextIdSeq *contexts_i (
+ CORBA_ContextIdSeq *contexts_i (
CORBA::Environment &ACE_TRY_ENV =
TAO_default_environment ()
)
ACE_THROW_SPEC ((CORBA::SystemException));
virtual void contexts (
- const IR_ContextIdSeq &contexts,
+ const CORBA_ContextIdSeq &contexts,
CORBA::Environment &ACE_TRY_ENV =
TAO_default_environment ()
)
ACE_THROW_SPEC ((CORBA::SystemException));
void contexts_i (
- const IR_ContextIdSeq &contexts,
+ const CORBA_ContextIdSeq &contexts,
CORBA::Environment &ACE_TRY_ENV =
TAO_default_environment ()
)
ACE_THROW_SPEC ((CORBA::SystemException));
- virtual IR_ExceptionDefSeq *exceptions (
+ virtual CORBA_ExceptionDefSeq *exceptions (
CORBA::Environment &ACE_TRY_ENV =
TAO_default_environment ()
)
ACE_THROW_SPEC ((CORBA::SystemException));
- IR_ExceptionDefSeq *exceptions_i (
+ CORBA_ExceptionDefSeq *exceptions_i (
CORBA::Environment &ACE_TRY_ENV =
TAO_default_environment ()
)
ACE_THROW_SPEC ((CORBA::SystemException));
virtual void exceptions (
- const IR_ExceptionDefSeq &exceptions,
+ const CORBA_ExceptionDefSeq &exceptions,
CORBA::Environment &ACE_TRY_ENV =
TAO_default_environment ()
)
ACE_THROW_SPEC ((CORBA::SystemException));
void exceptions_i (
- const IR_ExceptionDefSeq &exceptions,
+ const CORBA_ExceptionDefSeq &exceptions,
CORBA::Environment &ACE_TRY_ENV =
TAO_default_environment ()
)
ACE_THROW_SPEC ((CORBA::SystemException));
- IR_OperationDescription make_description (
+ CORBA_OperationDescription make_description (
CORBA::Environment &ACE_TRY_ENV =
TAO_default_environment ()
)
diff --git a/TAO/orbsvcs/IFR_Service/PrimaryKeyDef_i.cpp b/TAO/orbsvcs/IFR_Service/PrimaryKeyDef_i.cpp
index 66f9e78e44c..9607378e9f6 100644
--- a/TAO/orbsvcs/IFR_Service/PrimaryKeyDef_i.cpp
+++ b/TAO/orbsvcs/IFR_Service/PrimaryKeyDef_i.cpp
@@ -19,11 +19,11 @@ TAO_PrimaryKeyDef_i::~TAO_PrimaryKeyDef_i (void)
{
}
-IR_DefinitionKind
+CORBA::DefinitionKind
TAO_PrimaryKeyDef_i::def_kind (CORBA::Environment &)
ACE_THROW_SPEC ((CORBA::SystemException))
{
- return dk_PrimaryKey;
+ return CORBA::dk_PrimaryKey;
}
void
@@ -42,7 +42,7 @@ TAO_PrimaryKeyDef_i::destroy_i (CORBA::Environment & /* ACE_TRY_ENV */)
// TODO
}
-IR_Contained::Description *
+CORBA_Contained::Description *
TAO_PrimaryKeyDef_i::describe (CORBA::Environment &ACE_TRY_ENV)
ACE_THROW_SPEC ((CORBA::SystemException))
{
@@ -51,7 +51,7 @@ TAO_PrimaryKeyDef_i::describe (CORBA::Environment &ACE_TRY_ENV)
return this->describe_i (ACE_TRY_ENV);
}
-IR_Contained::Description *
+CORBA_Contained::Description *
TAO_PrimaryKeyDef_i::describe_i (CORBA::Environment & /* ACE_TRY_ENV */)
ACE_THROW_SPEC ((CORBA::SystemException))
{
@@ -79,7 +79,7 @@ TAO_PrimaryKeyDef_i::is_a_i (const char * /* primary_key_id */,
return 0;
}
-IR_ValueDef_ptr
+CORBA_ValueDef_ptr
TAO_PrimaryKeyDef_i::primary_key (CORBA::Environment &ACE_TRY_ENV)
ACE_THROW_SPEC ((CORBA::SystemException))
{
@@ -88,7 +88,7 @@ TAO_PrimaryKeyDef_i::primary_key (CORBA::Environment &ACE_TRY_ENV)
return this->primary_key_i (ACE_TRY_ENV);
}
-IR_ValueDef_ptr
+CORBA_ValueDef_ptr
TAO_PrimaryKeyDef_i::primary_key_i (CORBA::Environment & /* ACE_TRY_ENV */)
ACE_THROW_SPEC ((CORBA::SystemException))
{
diff --git a/TAO/orbsvcs/IFR_Service/PrimaryKeyDef_i.h b/TAO/orbsvcs/IFR_Service/PrimaryKeyDef_i.h
index ea9683f466d..ed34c1fe4e5 100644
--- a/TAO/orbsvcs/IFR_Service/PrimaryKeyDef_i.h
+++ b/TAO/orbsvcs/IFR_Service/PrimaryKeyDef_i.h
@@ -10,7 +10,7 @@
// PrimaryKeyDef_i.h
//
// = DESCRIPTION
-// IR_PrimaryKeyDef servant class.
+// PrimaryKeyDef servant class.
//
// = AUTHOR
// Jeff Parsons <parsons@cs.wustl.edu>
@@ -51,7 +51,7 @@ public:
virtual ~TAO_PrimaryKeyDef_i (void);
// Destructor
- virtual IR_DefinitionKind def_kind (
+ virtual CORBA::DefinitionKind def_kind (
CORBA::Environment &ACE_TRY_ENV =
TAO_default_environment ()
)
@@ -71,14 +71,14 @@ public:
)
ACE_THROW_SPEC ((CORBA::SystemException));
- virtual IR_Contained::Description *describe (
+ virtual CORBA_Contained::Description *describe (
CORBA::Environment &ACE_TRY_ENV =
TAO_default_environment ()
)
ACE_THROW_SPEC ((CORBA::SystemException));
// From Contained_i's pure virtual function.
- virtual IR_Contained::Description *describe_i (
+ virtual CORBA_Contained::Description *describe_i (
CORBA::Environment &ACE_TRY_ENV =
TAO_default_environment ()
)
@@ -99,13 +99,13 @@ public:
)
ACE_THROW_SPEC ((CORBA::SystemException));
- virtual IR_ValueDef_ptr primary_key (
+ virtual CORBA_ValueDef_ptr primary_key (
CORBA::Environment &ACE_TRY_ENV =
TAO_default_environment ()
)
ACE_THROW_SPEC ((CORBA::SystemException));
- IR_ValueDef_ptr primary_key_i (
+ CORBA_ValueDef_ptr primary_key_i (
CORBA::Environment &ACE_TRY_ENV =
TAO_default_environment ()
)
diff --git a/TAO/orbsvcs/IFR_Service/PrimitiveDef_i.cpp b/TAO/orbsvcs/IFR_Service/PrimitiveDef_i.cpp
index 31da5f88d11..448f9c904de 100644
--- a/TAO/orbsvcs/IFR_Service/PrimitiveDef_i.cpp
+++ b/TAO/orbsvcs/IFR_Service/PrimitiveDef_i.cpp
@@ -19,11 +19,11 @@ TAO_PrimitiveDef_i::~TAO_PrimitiveDef_i (void)
{
}
-IR_DefinitionKind
+CORBA::DefinitionKind
TAO_PrimitiveDef_i::def_kind (CORBA::Environment &)
ACE_THROW_SPEC ((CORBA::SystemException))
{
- return dk_Primitive;
+ return CORBA::dk_Primitive;
}
void
@@ -58,67 +58,67 @@ TAO_PrimitiveDef_i::type_i (CORBA::Environment &)
"pkind",
pkind);
- switch (ACE_static_cast (IR_PrimitiveKind, pkind))
+ switch (ACE_static_cast (CORBA::PrimitiveKind, pkind))
{
- case pk_null:
+ case CORBA::pk_null:
return CORBA::TypeCode::_duplicate (CORBA::_tc_null);
- case pk_void:
+ case CORBA::pk_void:
return CORBA::TypeCode::_duplicate (CORBA::_tc_void);
- case pk_short:
+ case CORBA::pk_short:
return CORBA::TypeCode::_duplicate (CORBA::_tc_short);
- case pk_long:
+ case CORBA::pk_long:
return CORBA::TypeCode::_duplicate (CORBA::_tc_long);
- case pk_ushort:
+ case CORBA::pk_ushort:
return CORBA::TypeCode::_duplicate (CORBA::_tc_ushort);
- case pk_ulong:
+ case CORBA::pk_ulong:
return CORBA::TypeCode::_duplicate (CORBA::_tc_ulong);
- case pk_float:
+ case CORBA::pk_float:
return CORBA::TypeCode::_duplicate (CORBA::_tc_float);
- case pk_double:
+ case CORBA::pk_double:
return CORBA::TypeCode::_duplicate (CORBA::_tc_double);
- case pk_boolean:
+ case CORBA::pk_boolean:
return CORBA::TypeCode::_duplicate (CORBA::_tc_boolean);
- case pk_char:
+ case CORBA::pk_char:
return CORBA::TypeCode::_duplicate (CORBA::_tc_char);
- case pk_octet:
+ case CORBA::pk_octet:
return CORBA::TypeCode::_duplicate (CORBA::_tc_octet);
- case pk_any:
+ case CORBA::pk_any:
return CORBA::TypeCode::_duplicate (CORBA::_tc_any);
- case pk_TypeCode:
+ case CORBA::pk_TypeCode:
return CORBA::TypeCode::_duplicate (CORBA::_tc_TypeCode);
- case pk_Principal:
+ case CORBA::pk_Principal:
return CORBA::TypeCode::_duplicate (CORBA::_tc_Principal);
- case pk_string:
+ case CORBA::pk_string:
return CORBA::TypeCode::_duplicate (CORBA::_tc_string);
- case pk_objref:
+ case CORBA::pk_objref:
return CORBA::TypeCode::_duplicate (CORBA::_tc_Object);
- case pk_longlong:
+ case CORBA::pk_longlong:
return CORBA::TypeCode::_duplicate (CORBA::_tc_longlong);
- case pk_ulonglong:
+ case CORBA::pk_ulonglong:
return CORBA::TypeCode::_duplicate (CORBA::_tc_ulonglong);
- case pk_longdouble:
+ case CORBA::pk_longdouble:
return CORBA::TypeCode::_duplicate (CORBA::_tc_longdouble);
- case pk_wchar:
+ case CORBA::pk_wchar:
return CORBA::TypeCode::_duplicate (CORBA::_tc_wchar);
- case pk_wstring:
+ case CORBA::pk_wstring:
return CORBA::TypeCode::_duplicate (CORBA::_tc_wstring);
- case pk_value_base:
+ case CORBA::pk_value_base:
// TODO - we haven't added this typecode constant yet.
default:
return CORBA::TypeCode::_duplicate (CORBA::_tc_null);
}
}
-IR_PrimitiveKind
+CORBA::PrimitiveKind
TAO_PrimitiveDef_i::kind (CORBA::Environment &ACE_TRY_ENV)
ACE_THROW_SPEC ((CORBA::SystemException))
{
- TAO_IFR_READ_GUARD_RETURN (pk_null);
+ TAO_IFR_READ_GUARD_RETURN (CORBA::pk_null);
return this->kind_i (ACE_TRY_ENV);
}
-IR_PrimitiveKind
+CORBA::PrimitiveKind
TAO_PrimitiveDef_i::kind_i (CORBA::Environment &)
ACE_THROW_SPEC ((CORBA::SystemException))
{
@@ -127,6 +127,6 @@ TAO_PrimitiveDef_i::kind_i (CORBA::Environment &)
"pkind",
pkind);
- return ACE_static_cast (IR_PrimitiveKind, pkind);
+ return ACE_static_cast (CORBA::PrimitiveKind, pkind);
}
diff --git a/TAO/orbsvcs/IFR_Service/PrimitiveDef_i.h b/TAO/orbsvcs/IFR_Service/PrimitiveDef_i.h
index 4aa70eed616..4d847356aec 100644
--- a/TAO/orbsvcs/IFR_Service/PrimitiveDef_i.h
+++ b/TAO/orbsvcs/IFR_Service/PrimitiveDef_i.h
@@ -10,7 +10,7 @@
// PrimitiveDef_i.h
//
// = DESCRIPTION
-// IR_PrimitiveDef servant class.
+// PrimitiveDef servant class.
//
// = AUTHOR
// Jeff Parsons <parsons@cs.wustl.edu>
@@ -49,7 +49,7 @@ public:
virtual ~TAO_PrimitiveDef_i (void);
// Destructor.
- virtual IR_DefinitionKind def_kind (
+ virtual CORBA::DefinitionKind def_kind (
CORBA::Environment &ACE_TRY_ENV =
TAO_default_environment ()
)
@@ -84,13 +84,13 @@ public:
)
ACE_THROW_SPEC ((CORBA::SystemException));
- virtual IR_PrimitiveKind kind (
+ virtual CORBA::PrimitiveKind kind (
CORBA::Environment &ACE_TRY_ENV =
TAO_default_environment ()
)
ACE_THROW_SPEC ((CORBA::SystemException));
- IR_PrimitiveKind kind_i (
+ CORBA::PrimitiveKind kind_i (
CORBA::Environment &ACE_TRY_ENV =
TAO_default_environment ()
)
diff --git a/TAO/orbsvcs/IFR_Service/ProvidesDef_i.cpp b/TAO/orbsvcs/IFR_Service/ProvidesDef_i.cpp
index f7ad752a624..065b4722ece 100644
--- a/TAO/orbsvcs/IFR_Service/ProvidesDef_i.cpp
+++ b/TAO/orbsvcs/IFR_Service/ProvidesDef_i.cpp
@@ -19,11 +19,11 @@ TAO_ProvidesDef_i::~TAO_ProvidesDef_i (void)
{
}
-IR_DefinitionKind
+CORBA::DefinitionKind
TAO_ProvidesDef_i::def_kind (CORBA::Environment &)
ACE_THROW_SPEC ((CORBA::SystemException))
{
- return dk_Provides;
+ return CORBA::dk_Provides;
}
void
@@ -42,7 +42,7 @@ TAO_ProvidesDef_i::destroy_i (CORBA::Environment & /* ACE_TRY_ENV */)
// TODO
}
-IR_Contained::Description *
+CORBA_Contained::Description *
TAO_ProvidesDef_i::describe (CORBA::Environment &ACE_TRY_ENV)
ACE_THROW_SPEC ((CORBA::SystemException))
{
@@ -51,7 +51,7 @@ TAO_ProvidesDef_i::describe (CORBA::Environment &ACE_TRY_ENV)
return this->describe_i (ACE_TRY_ENV);
}
-IR_Contained::Description *
+CORBA_Contained::Description *
TAO_ProvidesDef_i::describe_i (CORBA::Environment & /* ACE_TRY_ENV */)
ACE_THROW_SPEC ((CORBA::SystemException))
{
@@ -59,16 +59,16 @@ TAO_ProvidesDef_i::describe_i (CORBA::Environment & /* ACE_TRY_ENV */)
return 0;
}
-IR_InterfaceDef_ptr
+CORBA_InterfaceDef_ptr
TAO_ProvidesDef_i::interface_type (CORBA::Environment &ACE_TRY_ENV)
ACE_THROW_SPEC ((CORBA::SystemException))
{
- TAO_IFR_READ_GUARD_RETURN (IR_InterfaceDef::_nil ());
+ TAO_IFR_READ_GUARD_RETURN (CORBA_InterfaceDef::_nil ());
return this->interface_type_i (ACE_TRY_ENV);
}
-IR_InterfaceDef_ptr
+CORBA_InterfaceDef_ptr
TAO_ProvidesDef_i::interface_type_i (CORBA::Environment & /* ACE_TRY_ENV */)
ACE_THROW_SPEC ((CORBA::SystemException))
{
diff --git a/TAO/orbsvcs/IFR_Service/ProvidesDef_i.h b/TAO/orbsvcs/IFR_Service/ProvidesDef_i.h
index e9c57b36d2b..638bd7b82af 100644
--- a/TAO/orbsvcs/IFR_Service/ProvidesDef_i.h
+++ b/TAO/orbsvcs/IFR_Service/ProvidesDef_i.h
@@ -10,7 +10,7 @@
// ProvidesDef_i.h
//
// = DESCRIPTION
-// IR_ProvidesDef servant class.
+// ProvidesDef servant class.
//
// = AUTHOR
// Jeff Parsons <parsons@cs.wustl.edu>
@@ -49,7 +49,7 @@ public:
virtual ~TAO_ProvidesDef_i (void);
// Destructor
- virtual IR_DefinitionKind def_kind (
+ virtual CORBA::DefinitionKind def_kind (
CORBA::Environment &ACE_TRY_ENV =
TAO_default_environment ()
)
@@ -69,27 +69,27 @@ public:
)
ACE_THROW_SPEC ((CORBA::SystemException));
- virtual IR_Contained::Description *describe (
+ virtual CORBA_Contained::Description *describe (
CORBA::Environment &ACE_TRY_ENV =
TAO_default_environment ()
)
ACE_THROW_SPEC ((CORBA::SystemException));
// From Contained_i's pure virtual function.
- virtual IR_Contained::Description *describe_i (
+ virtual CORBA_Contained::Description *describe_i (
CORBA::Environment &ACE_TRY_ENV =
TAO_default_environment ()
)
ACE_THROW_SPEC ((CORBA::SystemException));
// From Contained_i's pure virtual function.
- virtual IR_InterfaceDef_ptr interface_type (
+ virtual CORBA_InterfaceDef_ptr interface_type (
CORBA::Environment &ACE_TRY_ENV =
TAO_default_environment ()
)
ACE_THROW_SPEC ((CORBA::SystemException));
- IR_InterfaceDef_ptr interface_type_i (
+ CORBA_InterfaceDef_ptr interface_type_i (
CORBA::Environment &ACE_TRY_ENV =
TAO_default_environment ()
)
diff --git a/TAO/orbsvcs/IFR_Service/PublishesDef_i.cpp b/TAO/orbsvcs/IFR_Service/PublishesDef_i.cpp
index 9709d74263c..e902fb59289 100644
--- a/TAO/orbsvcs/IFR_Service/PublishesDef_i.cpp
+++ b/TAO/orbsvcs/IFR_Service/PublishesDef_i.cpp
@@ -20,11 +20,11 @@ TAO_PublishesDef_i::~TAO_PublishesDef_i (void)
{
}
-IR_DefinitionKind
+CORBA::DefinitionKind
TAO_PublishesDef_i::def_kind (CORBA::Environment &)
ACE_THROW_SPEC ((CORBA::SystemException))
{
- return dk_Publishes;
+ return CORBA::dk_Publishes;
}
void
@@ -43,7 +43,7 @@ TAO_PublishesDef_i::destroy_i (CORBA::Environment & /* ACE_TRY_ENV */)
// TODO
}
-IR_Contained::Description *
+CORBA_Contained::Description *
TAO_PublishesDef_i::describe (CORBA::Environment &ACE_TRY_ENV)
ACE_THROW_SPEC ((CORBA::SystemException))
{
@@ -52,7 +52,7 @@ TAO_PublishesDef_i::describe (CORBA::Environment &ACE_TRY_ENV)
return this->describe_i (ACE_TRY_ENV);
}
-IR_Contained::Description *
+CORBA_Contained::Description *
TAO_PublishesDef_i::describe_i (CORBA::Environment & /* ACE_TRY_ENV */)
ACE_THROW_SPEC ((CORBA::SystemException))
{
diff --git a/TAO/orbsvcs/IFR_Service/PublishesDef_i.h b/TAO/orbsvcs/IFR_Service/PublishesDef_i.h
index c112db20aa9..6272ca66317 100644
--- a/TAO/orbsvcs/IFR_Service/PublishesDef_i.h
+++ b/TAO/orbsvcs/IFR_Service/PublishesDef_i.h
@@ -10,7 +10,7 @@
// PublishesDef_i.h
//
// = DESCRIPTION
-// IR_PublishesDef servant class.
+// PublishesDef servant class.
//
// = AUTHOR
// Jeff Parsons <parsons@cs.wustl.edu>
@@ -50,7 +50,7 @@ public:
virtual ~TAO_PublishesDef_i (void);
// Destructor
- virtual IR_DefinitionKind def_kind (
+ virtual CORBA::DefinitionKind def_kind (
CORBA::Environment &ACE_TRY_ENV =
TAO_default_environment ()
)
@@ -70,14 +70,14 @@ public:
)
ACE_THROW_SPEC ((CORBA::SystemException));
- virtual IR_Contained::Description *describe (
+ virtual CORBA_Contained::Description *describe (
CORBA::Environment &ACE_TRY_ENV =
TAO_default_environment ()
)
ACE_THROW_SPEC ((CORBA::SystemException));
// From Contained_i's pure virtual function.
- virtual IR_Contained::Description *describe_i (
+ virtual CORBA_Contained::Description *describe_i (
CORBA::Environment &ACE_TRY_ENV =
TAO_default_environment ()
)
diff --git a/TAO/orbsvcs/IFR_Service/README b/TAO/orbsvcs/IFR_Service/README
index 56491200960..24ff24afa1d 100644
--- a/TAO/orbsvcs/IFR_Service/README
+++ b/TAO/orbsvcs/IFR_Service/README
@@ -1,22 +1,16 @@
$Id$
-TypeCodeFactory
+Interface Repository -------
-The TypeCodeFactory is built as a DLL and is loaded
-into the ORB dynamically. Applications can get the
-object reference with
-'orb->resolve_initial_references ("TypeCodeFactory");'
+Required libraries (in addition to ACE and TAO):
+ ACE_ROOT/TAO/tao/IFR_CLient/TAO_IFR_CLient.(lib-ext)
+ ACE_ROOT/TAO/tao/TypeCodeFactory/TAO_TypeCodeFactory.(lib-ext)
+ ACE_ROOT/TAO/tao/PortableServer/TAO_PortableServer.(lib-ext)
+ ACE_ROOT/TAO/tao/IORTable/TAO_IORTable.(lib-ext)
+ ACE_ROOT/TAO/orbsvcs/orbsvcs/TAO_Svc_Utils.(lib-ext)
-The makefile for this library is Makefile.TypeCodeFactory.
-
-
-Interface Repository
-
-Requires TAO library built with the same condition as
-given above for TypeCodeFactory. Also requires TypeCodeFactory
-(this directory) and TAO_Svc_Utils (found in TAO/orbsvcs/orbsvcs)
-libraries. Executable name is IFR_Service.
+Executable name is IFR_Service.
Command line options are:
@@ -45,10 +39,24 @@ Command line options are:
The default filename is "if_repo.ior".
Test code for the Interface Repository can be found in
-TAO/orbsvcs/tests/InterfaceRepo.
+ACE_ROOT/TAO/orbsvcs/tests/InterfaceRepo.
+
+
+
+tao_ifr ------
+
+This is the executable that administers the IFR. Calling
+tao_ifr <IDL filename> will add the contents of the IDL
+file to the repository. Calling tao_ifr -r <IDL filename>
+will remove the contents of the IDL file from the repository.
+tao_ifr requires all the libraries that are required by
+the IFR service, plus the IFR_Service executable itself.
+Test code for tao_ifr can be found in
+ACE_ROOT/TAO/orbsvcs/tests/InterfaceRepo/Application_Test.
+
-More information about the Interface Repository can be found in
-TAO/docs/releasenotes/index.html.
+More information about the Interface Repository and tao_ifr can
+be found in ACE_ROOT/TAO/docs/releasenotes/index.html.
- Jeff Parsons <parsons@cs.wustl.edu>
diff --git a/TAO/orbsvcs/IFR_Service/Repository_i.cpp b/TAO/orbsvcs/IFR_Service/Repository_i.cpp
index 84c64e05424..b86b1fea440 100644
--- a/TAO/orbsvcs/IFR_Service/Repository_i.cpp
+++ b/TAO/orbsvcs/IFR_Service/Repository_i.cpp
@@ -111,8 +111,8 @@ TAO_Repository_i::TAO_Repository_i (CORBA::ORB_ptr orb,
for (u_int i = 0; i < num_pkinds; i++)
{
ACE_Configuration_Section_Key key;
- IR_PrimitiveKind pkind = ACE_static_cast (IR_PrimitiveKind,
- i);
+ CORBA::PrimitiveKind pkind = ACE_static_cast (CORBA::PrimitiveKind,
+ i);
this->config_->open_section (this->pkinds_key_,
this->pkind_to_string (pkind),
@@ -121,7 +121,7 @@ TAO_Repository_i::TAO_Repository_i (CORBA::ORB_ptr orb,
this->config_->set_integer_value (key,
"def_kind",
- dk_Primitive);
+ CORBA::dk_Primitive);
this->config_->set_integer_value (key,
"pkind",
@@ -205,7 +205,7 @@ TAO_Repository_i::TAO_Repository_i (CORBA::ORB_ptr orb,
this->config_->set_integer_value (this->section_key_,
"def_kind",
- dk_Repository);
+ CORBA::dk_Repository);
}
TAO_Repository_i::~TAO_Repository_i (void)
@@ -214,11 +214,11 @@ TAO_Repository_i::~TAO_Repository_i (void)
delete this->lock_;
}
-IR_DefinitionKind
+CORBA::DefinitionKind
TAO_Repository_i::def_kind (CORBA::Environment &)
ACE_THROW_SPEC ((CORBA::SystemException))
{
- return dk_Repository;
+ return CORBA::dk_Repository;
}
void
@@ -228,18 +228,18 @@ TAO_Repository_i::destroy (CORBA::Environment &ACE_TRY_ENV)
ACE_THROW (CORBA::BAD_INV_ORDER (2, CORBA::COMPLETED_NO));
}
-IR_Contained_ptr
+CORBA_Contained_ptr
TAO_Repository_i::lookup_id (const char *search_id,
CORBA::Environment &ACE_TRY_ENV)
ACE_THROW_SPEC ((CORBA::SystemException))
{
- TAO_IFR_READ_GUARD_RETURN (IR_Contained::_nil ());
+ TAO_IFR_READ_GUARD_RETURN (CORBA_Contained::_nil ());
return this->lookup_id_i (search_id,
ACE_TRY_ENV);
}
-IR_Contained_ptr
+CORBA_Contained_ptr
TAO_Repository_i::lookup_id_i (const char *search_id,
CORBA::Environment &ACE_TRY_ENV)
ACE_THROW_SPEC ((CORBA::SystemException))
@@ -250,7 +250,7 @@ TAO_Repository_i::lookup_id_i (const char *search_id,
path)
!= 0)
{
- return IR_Contained::_nil ();
+ return CORBA_Contained::_nil ();
}
ACE_Configuration_Section_Key key;
@@ -263,15 +263,16 @@ TAO_Repository_i::lookup_id_i (const char *search_id,
"def_kind",
kind);
- IR_DefinitionKind def_kind = ACE_static_cast (IR_DefinitionKind, kind);
+ CORBA::DefinitionKind def_kind =
+ ACE_static_cast (CORBA::DefinitionKind, kind);
CORBA::Object_var obj =
this->servant_factory_->create_objref (def_kind,
path.c_str (),
ACE_TRY_ENV);
- ACE_CHECK_RETURN (IR_Contained::_nil ());
+ ACE_CHECK_RETURN (CORBA_Contained::_nil ());
- return IR_Contained::_narrow (obj.in (),
+ return CORBA_Contained::_narrow (obj.in (),
ACE_TRY_ENV);
}
@@ -391,8 +392,8 @@ TAO_Repository_i::get_canonical_typecode_i (CORBA::TypeCode_ptr tc,
}
}
-IR_PrimitiveDef_ptr
-TAO_Repository_i::get_primitive (IR_PrimitiveKind kind,
+CORBA_PrimitiveDef_ptr
+TAO_Repository_i::get_primitive (CORBA::PrimitiveKind kind,
CORBA::Environment &ACE_TRY_ENV)
ACE_THROW_SPEC ((CORBA::SystemException))
{
@@ -401,27 +402,27 @@ TAO_Repository_i::get_primitive (IR_PrimitiveKind kind,
obj_id += this->pkind_to_string (kind);
CORBA::Object_var obj =
- this->servant_factory_->create_objref (dk_Primitive,
+ this->servant_factory_->create_objref (CORBA::dk_Primitive,
obj_id.c_str (),
ACE_TRY_ENV);
- ACE_CHECK_RETURN (IR_PrimitiveDef::_nil ());
+ ACE_CHECK_RETURN (CORBA_PrimitiveDef::_nil ());
- return IR_PrimitiveDef::_narrow (obj.in (),
+ return CORBA_PrimitiveDef::_narrow (obj.in (),
ACE_TRY_ENV);
}
-IR_StringDef_ptr
+CORBA_StringDef_ptr
TAO_Repository_i::create_string (CORBA::ULong bound,
CORBA::Environment &ACE_TRY_ENV)
ACE_THROW_SPEC ((CORBA::SystemException))
{
- TAO_IFR_WRITE_GUARD_RETURN (IR_StringDef::_nil ());
+ TAO_IFR_WRITE_GUARD_RETURN (CORBA_StringDef::_nil ());
return this->create_string_i (bound,
ACE_TRY_ENV);
}
-IR_StringDef_ptr
+CORBA_StringDef_ptr
TAO_Repository_i::create_string_i (CORBA::ULong bound,
CORBA::Environment &ACE_TRY_ENV)
ACE_THROW_SPEC ((CORBA::SystemException))
@@ -449,7 +450,7 @@ TAO_Repository_i::create_string_i (CORBA::ULong bound,
this->config_->set_integer_value (new_key,
"def_kind",
- dk_String);
+ CORBA::dk_String);
this->config_->set_string_value (new_key,
"name",
@@ -460,27 +461,27 @@ TAO_Repository_i::create_string_i (CORBA::ULong bound,
obj_id += name.in ();
CORBA::Object_var obj =
- this->servant_factory_->create_objref (dk_String,
+ this->servant_factory_->create_objref (CORBA::dk_String,
obj_id.c_str (),
ACE_TRY_ENV);
- ACE_CHECK_RETURN (IR_StringDef::_nil ());
+ ACE_CHECK_RETURN (CORBA_StringDef::_nil ());
- return IR_StringDef::_narrow (obj.in (),
+ return CORBA_StringDef::_narrow (obj.in (),
ACE_TRY_ENV);
}
-IR_WstringDef_ptr
+CORBA_WstringDef_ptr
TAO_Repository_i::create_wstring (CORBA::ULong bound,
CORBA::Environment &ACE_TRY_ENV)
ACE_THROW_SPEC ((CORBA::SystemException))
{
- TAO_IFR_WRITE_GUARD_RETURN (IR_WstringDef::_nil ());
+ TAO_IFR_WRITE_GUARD_RETURN (CORBA_WstringDef::_nil ());
return this->create_wstring_i (bound,
ACE_TRY_ENV);
}
-IR_WstringDef_ptr
+CORBA_WstringDef_ptr
TAO_Repository_i::create_wstring_i (CORBA::ULong bound,
CORBA::Environment &ACE_TRY_ENV)
ACE_THROW_SPEC ((CORBA::SystemException))
@@ -508,7 +509,7 @@ TAO_Repository_i::create_wstring_i (CORBA::ULong bound,
this->config_->set_integer_value (new_key,
"def_kind",
- dk_Wstring);
+ CORBA::dk_Wstring);
this->config_->set_string_value (new_key,
"name",
@@ -519,38 +520,38 @@ TAO_Repository_i::create_wstring_i (CORBA::ULong bound,
obj_id += name.in ();
CORBA::Object_var obj =
- this->servant_factory_->create_objref (dk_Wstring,
+ this->servant_factory_->create_objref (CORBA::dk_Wstring,
obj_id.c_str (),
ACE_TRY_ENV);
- ACE_CHECK_RETURN (IR_WstringDef::_nil ());
+ ACE_CHECK_RETURN (CORBA_WstringDef::_nil ());
- return IR_WstringDef::_narrow (obj.in (),
+ return CORBA_WstringDef::_narrow (obj.in (),
ACE_TRY_ENV);
}
-IR_SequenceDef_ptr
+CORBA_SequenceDef_ptr
TAO_Repository_i::create_sequence (CORBA::ULong bound,
- IR_IDLType_ptr element_type,
+ CORBA_IDLType_ptr element_type,
CORBA::Environment &ACE_TRY_ENV)
ACE_THROW_SPEC ((CORBA::SystemException))
{
- TAO_IFR_WRITE_GUARD_RETURN (IR_SequenceDef::_nil ());
+ TAO_IFR_WRITE_GUARD_RETURN (CORBA_SequenceDef::_nil ());
return this->create_sequence_i (bound,
element_type,
ACE_TRY_ENV);
}
-IR_SequenceDef_ptr
+CORBA_SequenceDef_ptr
TAO_Repository_i::create_sequence_i (CORBA::ULong bound,
- IR_IDLType_ptr element_type,
+ CORBA_IDLType_ptr element_type,
CORBA::Environment &ACE_TRY_ENV)
ACE_THROW_SPEC ((CORBA::SystemException))
{
PortableServer::ObjectId_var oid =
this->ir_poa_->reference_to_id (element_type,
ACE_TRY_ENV);
- ACE_CHECK_RETURN (IR_SequenceDef::_nil ());
+ ACE_CHECK_RETURN (CORBA_SequenceDef::_nil ());
CORBA::String_var element_path =
PortableServer::ObjectId_to_string (oid.in ());
@@ -580,7 +581,7 @@ TAO_Repository_i::create_sequence_i (CORBA::ULong bound,
// Set the def_kind attribute.
this->config_->set_integer_value (new_key,
"def_kind",
- dk_Sequence);
+ CORBA::dk_Sequence);
// Set the "name" for destroy to use.
this->config_->set_string_value (new_key,
@@ -597,38 +598,38 @@ TAO_Repository_i::create_sequence_i (CORBA::ULong bound,
obj_id += name.in ();
CORBA::Object_var obj =
- this->servant_factory_->create_objref (dk_Sequence,
+ this->servant_factory_->create_objref (CORBA::dk_Sequence,
obj_id.c_str (),
ACE_TRY_ENV);
- ACE_CHECK_RETURN (IR_SequenceDef::_nil ());
+ ACE_CHECK_RETURN (CORBA_SequenceDef::_nil ());
- return IR_SequenceDef::_narrow (obj.in (),
+ return CORBA_SequenceDef::_narrow (obj.in (),
ACE_TRY_ENV);
}
-IR_ArrayDef_ptr
+CORBA_ArrayDef_ptr
TAO_Repository_i::create_array (CORBA::ULong length,
- IR_IDLType_ptr element_type,
+ CORBA_IDLType_ptr element_type,
CORBA::Environment &ACE_TRY_ENV)
ACE_THROW_SPEC ((CORBA::SystemException))
{
- TAO_IFR_WRITE_GUARD_RETURN (IR_ArrayDef::_nil ());
+ TAO_IFR_WRITE_GUARD_RETURN (CORBA_ArrayDef::_nil ());
return this->create_array_i (length,
element_type,
ACE_TRY_ENV);
}
-IR_ArrayDef_ptr
+CORBA_ArrayDef_ptr
TAO_Repository_i::create_array_i (CORBA::ULong length,
- IR_IDLType_ptr element_type,
+ CORBA_IDLType_ptr element_type,
CORBA::Environment &ACE_TRY_ENV)
ACE_THROW_SPEC ((CORBA::SystemException))
{
PortableServer::ObjectId_var oid =
this->ir_poa_->reference_to_id (element_type,
ACE_TRY_ENV);
- ACE_CHECK_RETURN (IR_ArrayDef::_nil ());
+ ACE_CHECK_RETURN (CORBA_ArrayDef::_nil ());
CORBA::String_var element_path =
PortableServer::ObjectId_to_string (oid.in ());
@@ -658,7 +659,7 @@ TAO_Repository_i::create_array_i (CORBA::ULong length,
// Set the def_kind attribute.
this->config_->set_integer_value (new_key,
"def_kind",
- dk_Array);
+ CORBA::dk_Array);
// Set the "name" for destroy to use.
this->config_->set_string_value (new_key,
@@ -675,35 +676,35 @@ TAO_Repository_i::create_array_i (CORBA::ULong length,
obj_id += name.in ();
CORBA::Object_var obj =
- this->servant_factory_->create_objref (dk_Array,
+ this->servant_factory_->create_objref (CORBA::dk_Array,
obj_id.c_str (),
ACE_TRY_ENV);
- ACE_CHECK_RETURN (IR_ArrayDef::_nil ());
+ ACE_CHECK_RETURN (CORBA_ArrayDef::_nil ());
- return IR_ArrayDef::_narrow (obj.in (),
+ return CORBA_ArrayDef::_narrow (obj.in (),
ACE_TRY_ENV);
}
-IR_FixedDef_ptr
+CORBA_FixedDef_ptr
TAO_Repository_i::create_fixed (CORBA::UShort digits,
CORBA::Short scale,
CORBA::Environment &ACE_TRY_ENV)
ACE_THROW_SPEC ((CORBA::SystemException))
{
- TAO_IFR_WRITE_GUARD_RETURN (IR_FixedDef::_nil ());
+ TAO_IFR_WRITE_GUARD_RETURN (CORBA_FixedDef::_nil ());
return this->create_fixed_i (digits,
scale,
ACE_TRY_ENV);
}
-IR_FixedDef_ptr
+CORBA_FixedDef_ptr
TAO_Repository_i::create_fixed_i (CORBA::UShort /* digits */,
CORBA::Short /* scale */,
CORBA::Environment &ACE_TRY_ENV)
ACE_THROW_SPEC ((CORBA::SystemException))
{
- ACE_THROW_RETURN (CORBA::NO_IMPLEMENT (), IR_FixedDef::_nil ());
+ ACE_THROW_RETURN (CORBA::NO_IMPLEMENT (), CORBA_FixedDef::_nil ());
}
PortableServer::POA_ptr
@@ -730,14 +731,14 @@ TAO_Repository_i::tc_factory (void) const
return this->tc_factory_.in ();
}
-IR_Repository_ptr
+CORBA_Repository_ptr
TAO_Repository_i::repo_objref (void) const
{
- return IR_Repository::_duplicate (this->repo_objref_);
+ return CORBA_Repository::_duplicate (this->repo_objref_);
}
void
-TAO_Repository_i::repo_objref (IR_Repository_ptr objref)
+TAO_Repository_i::repo_objref (CORBA_Repository_ptr objref)
{
this->repo_objref_ = objref;
}
@@ -829,7 +830,7 @@ const char *TAO_Repository_i::TAO_IFR_primitive_kinds[] =
};
const char *
-TAO_Repository_i::pkind_to_string (IR_PrimitiveKind pkind) const
+TAO_Repository_i::pkind_to_string (CORBA::PrimitiveKind pkind) const
{
return TAO_Repository_i::TAO_IFR_primitive_kinds[pkind];
}
diff --git a/TAO/orbsvcs/IFR_Service/Repository_i.h b/TAO/orbsvcs/IFR_Service/Repository_i.h
index b092b2d7de7..74742ed7e91 100644
--- a/TAO/orbsvcs/IFR_Service/Repository_i.h
+++ b/TAO/orbsvcs/IFR_Service/Repository_i.h
@@ -10,7 +10,7 @@
// Repository_i.h
//
// = DESCRIPTION
-// IR_Repository servant class.
+// Repository servant class.
//
// = AUTHOR
// Jeff Parsons <parsons@cs.wustl.edu>
@@ -34,7 +34,7 @@
#endif /* _MSC_VER */
#include "IFR_macro.h"
-#include "TCF_Loader.h"
+#include "tao/TypeCodeFactory/TypeCodeFactory_Loader.h"
class IFR_Servant_Factory;
@@ -57,7 +57,7 @@ public:
virtual ~TAO_Repository_i (void);
// Destructor.
- virtual IR_DefinitionKind def_kind (
+ virtual CORBA::DefinitionKind def_kind (
CORBA::Environment &ACE_TRY_ENV =
TAO_default_environment ()
)
@@ -71,14 +71,14 @@ public:
ACE_THROW_SPEC ((CORBA::SystemException));
// May not be called on a repository - raises BAD_INV_ORDER.
- virtual IR_Contained_ptr lookup_id (
+ virtual CORBA_Contained_ptr lookup_id (
const char *search_id,
CORBA::Environment &ACE_TRY_ENV =
TAO_default_environment ()
)
ACE_THROW_SPEC ((CORBA::SystemException));
- IR_Contained_ptr lookup_id_i (
+ CORBA_Contained_ptr lookup_id_i (
const char *search_id,
CORBA::Environment &ACE_TRY_ENV =
TAO_default_environment ()
@@ -99,8 +99,8 @@ public:
)
ACE_THROW_SPEC ((CORBA::SystemException));
- virtual IR_PrimitiveDef_ptr get_primitive (
- IR_PrimitiveKind kind,
+ virtual CORBA::PrimitiveDef_ptr get_primitive (
+ CORBA::PrimitiveKind kind,
CORBA::Environment &ACE_TRY_ENV =
TAO_default_environment ()
)
@@ -108,67 +108,67 @@ public:
// No locking necessary because the database is not
// accessed.
- virtual IR_StringDef_ptr create_string (
+ virtual CORBA_StringDef_ptr create_string (
CORBA::ULong bound,
CORBA::Environment &ACE_TRY_ENV =
TAO_default_environment ()
)
ACE_THROW_SPEC ((CORBA::SystemException));
- IR_StringDef_ptr create_string_i (
+ CORBA_StringDef_ptr create_string_i (
CORBA::ULong bound,
CORBA::Environment &ACE_TRY_ENV =
TAO_default_environment ()
)
ACE_THROW_SPEC ((CORBA::SystemException));
- virtual IR_WstringDef_ptr create_wstring (
+ virtual CORBA_WstringDef_ptr create_wstring (
CORBA::ULong bound,
CORBA::Environment &ACE_TRY_ENV =
TAO_default_environment ()
)
ACE_THROW_SPEC ((CORBA::SystemException));
- IR_WstringDef_ptr create_wstring_i (
+ CORBA_WstringDef_ptr create_wstring_i (
CORBA::ULong bound,
CORBA::Environment &ACE_TRY_ENV =
TAO_default_environment ()
)
ACE_THROW_SPEC ((CORBA::SystemException));
- virtual IR_SequenceDef_ptr create_sequence (
+ virtual CORBA_SequenceDef_ptr create_sequence (
CORBA::ULong bound,
- IR_IDLType_ptr element_type,
+ CORBA_IDLType_ptr element_type,
CORBA::Environment &ACE_TRY_ENV =
TAO_default_environment ()
)
ACE_THROW_SPEC (( CORBA::SystemException));
- IR_SequenceDef_ptr create_sequence_i (
+ CORBA_SequenceDef_ptr create_sequence_i (
CORBA::ULong bound,
- IR_IDLType_ptr element_type,
+ CORBA_IDLType_ptr element_type,
CORBA::Environment &ACE_TRY_ENV =
TAO_default_environment ()
)
ACE_THROW_SPEC (( CORBA::SystemException));
- virtual IR_ArrayDef_ptr create_array (
+ virtual CORBA_ArrayDef_ptr create_array (
CORBA::ULong length,
- IR_IDLType_ptr element_type,
+ CORBA_IDLType_ptr element_type,
CORBA::Environment &ACE_TRY_ENV =
TAO_default_environment ()
)
ACE_THROW_SPEC ((CORBA::SystemException));
- IR_ArrayDef_ptr create_array_i (
+ CORBA_ArrayDef_ptr create_array_i (
CORBA::ULong length,
- IR_IDLType_ptr element_type,
+ CORBA_IDLType_ptr element_type,
CORBA::Environment &ACE_TRY_ENV =
TAO_default_environment ()
)
ACE_THROW_SPEC ((CORBA::SystemException));
- virtual IR_FixedDef_ptr create_fixed (
+ virtual CORBA_FixedDef_ptr create_fixed (
CORBA::UShort digits,
CORBA::Short scale,
CORBA::Environment &ACE_TRY_ENV =
@@ -176,7 +176,7 @@ public:
)
ACE_THROW_SPEC ((CORBA::SystemException));
- IR_FixedDef_ptr create_fixed_i (
+ CORBA_FixedDef_ptr create_fixed_i (
CORBA::UShort digits,
CORBA::Short scale,
CORBA::Environment &ACE_TRY_ENV =
@@ -196,8 +196,8 @@ public:
CORBA::TypeCodeFactory_ptr tc_factory (void) const;
// Accessor for the Typecode factory.
- IR_Repository_ptr repo_objref (void) const;
- void repo_objref (IR_Repository_ptr objref);
+ CORBA_Repository_ptr repo_objref (void) const;
+ void repo_objref (CORBA_Repository_ptr objref);
// Accessor/mutator for our object reference.
ACE_Configuration_Section_Key root_key (void) const;
@@ -252,7 +252,7 @@ protected:
CORBA::TypeCodeFactory_var tc_factory_;
// Our Typecode factory.
- IR_Repository_ptr repo_objref_;
+ CORBA_Repository_ptr repo_objref_;
// The object reference of this servant.
ACE_Configuration_Section_Key root_key_;
@@ -287,14 +287,14 @@ protected:
private:
static const char *TAO_IFR_primitive_kinds[];
- // Set of strings corresponding to the IR_PrimitiveKind
+ // Set of strings corresponding to the CORBA_PrimitiveKind
// enum values.
- const char *pkind_to_string (IR_PrimitiveKind pkind) const;
+ const char *pkind_to_string (CORBA::PrimitiveKind pkind) const;
// Convert the enum value to the equivalent string.
u_int num_pkinds (void) const;
- // Return the number of entries in the IR_PrimitiveKind enum.
+ // Return the number of entries in the CORBA_PrimitiveKind enum.
};
diff --git a/TAO/orbsvcs/IFR_Service/SequenceDef_i.cpp b/TAO/orbsvcs/IFR_Service/SequenceDef_i.cpp
index 01d00985bd7..0e6e59951f2 100644
--- a/TAO/orbsvcs/IFR_Service/SequenceDef_i.cpp
+++ b/TAO/orbsvcs/IFR_Service/SequenceDef_i.cpp
@@ -21,11 +21,11 @@ TAO_SequenceDef_i::~TAO_SequenceDef_i (void)
{
}
-IR_DefinitionKind
+CORBA::DefinitionKind
TAO_SequenceDef_i::def_kind (CORBA::Environment &)
ACE_THROW_SPEC ((CORBA::SystemException))
{
- return dk_Sequence;
+ return CORBA::dk_Sequence;
}
void
@@ -158,16 +158,16 @@ TAO_SequenceDef_i::element_type_i (CORBA::Environment &ACE_TRY_ENV)
return impl->type_i (ACE_TRY_ENV);
}
-IR_IDLType_ptr
+CORBA_IDLType_ptr
TAO_SequenceDef_i::element_type_def (CORBA::Environment &ACE_TRY_ENV)
ACE_THROW_SPEC ((CORBA::SystemException))
{
- TAO_IFR_READ_GUARD_RETURN (IR_IDLType::_nil ());
+ TAO_IFR_READ_GUARD_RETURN (CORBA_IDLType::_nil ());
return this->element_type_def_i (ACE_TRY_ENV);
}
-IR_IDLType_ptr
+CORBA_IDLType_ptr
TAO_SequenceDef_i::element_type_def_i (CORBA::Environment &ACE_TRY_ENV)
ACE_THROW_SPEC ((CORBA::SystemException))
{
@@ -187,21 +187,21 @@ TAO_SequenceDef_i::element_type_def_i (CORBA::Environment &ACE_TRY_ENV)
"def_kind",
kind);
- IR_DefinitionKind def_kind =
- ACE_static_cast (IR_DefinitionKind, kind);
+ CORBA::DefinitionKind def_kind =
+ ACE_static_cast (CORBA::DefinitionKind, kind);
CORBA::Object_var obj =
this->repo_->servant_factory ()->create_objref (def_kind,
element_path.c_str (),
ACE_TRY_ENV);
- ACE_CHECK_RETURN (IR_IDLType::_nil ());
+ ACE_CHECK_RETURN (CORBA_IDLType::_nil ());
- return IR_IDLType::_narrow (obj.in (),
- ACE_TRY_ENV);
+ return CORBA_IDLType::_narrow (obj.in (),
+ ACE_TRY_ENV);
}
void
-TAO_SequenceDef_i::element_type_def (IR_IDLType_ptr element_type_def,
+TAO_SequenceDef_i::element_type_def (CORBA_IDLType_ptr element_type_def,
CORBA::Environment &ACE_TRY_ENV)
ACE_THROW_SPEC ((CORBA::SystemException))
{
@@ -212,7 +212,7 @@ TAO_SequenceDef_i::element_type_def (IR_IDLType_ptr element_type_def,
}
void
-TAO_SequenceDef_i::element_type_def_i (IR_IDLType_ptr element_type_def,
+TAO_SequenceDef_i::element_type_def_i (CORBA_IDLType_ptr element_type_def,
CORBA::Environment &ACE_TRY_ENV)
ACE_THROW_SPEC ((CORBA::SystemException))
{
@@ -253,19 +253,19 @@ TAO_SequenceDef_i::destroy_element_type (
"def_kind",
kind);
- IR_DefinitionKind def_kind =
- ACE_static_cast (IR_DefinitionKind, kind);
+ CORBA::DefinitionKind def_kind =
+ ACE_static_cast (CORBA::DefinitionKind, kind);
switch (def_kind)
{
// These exist only as our elements, so the type should
// be destroyed when we are destroyed or our element type
// is mutated.
- case dk_String:
- case dk_Wstring:
- case dk_Fixed:
- case dk_Array:
- case dk_Sequence:
+ case CORBA::dk_String:
+ case CORBA::dk_Wstring:
+ case CORBA::dk_Fixed:
+ case CORBA::dk_Array:
+ case CORBA::dk_Sequence:
{
TAO_IDLType_i *impl =
this->repo_->servant_factory ()->create_idltype (element_key,
diff --git a/TAO/orbsvcs/IFR_Service/SequenceDef_i.h b/TAO/orbsvcs/IFR_Service/SequenceDef_i.h
index 2e71da8791d..a798c09113b 100644
--- a/TAO/orbsvcs/IFR_Service/SequenceDef_i.h
+++ b/TAO/orbsvcs/IFR_Service/SequenceDef_i.h
@@ -10,7 +10,7 @@
// SequenceDef_i.h
//
// = DESCRIPTION
-// IR_SequenceDef servant class.
+// SequenceDef servant class.
//
// = AUTHOR
// Jeff Parsons <parsons@cs.wustl.edu>
@@ -49,7 +49,7 @@ public:
virtual ~TAO_SequenceDef_i (void);
// Destructor
- virtual IR_DefinitionKind def_kind (
+ virtual CORBA::DefinitionKind def_kind (
CORBA::Environment &ACE_TRY_ENV =
TAO_default_environment ()
)
@@ -121,27 +121,27 @@ public:
)
ACE_THROW_SPEC ((CORBA::SystemException));
- virtual IR_IDLType_ptr element_type_def (
+ virtual CORBA_IDLType_ptr element_type_def (
CORBA::Environment &ACE_TRY_ENV =
TAO_default_environment ()
)
ACE_THROW_SPEC ((CORBA::SystemException));
- IR_IDLType_ptr element_type_def_i (
+ CORBA_IDLType_ptr element_type_def_i (
CORBA::Environment &ACE_TRY_ENV =
TAO_default_environment ()
)
ACE_THROW_SPEC ((CORBA::SystemException));
virtual void element_type_def (
- IR_IDLType_ptr element_type_def,
+ CORBA_IDLType_ptr element_type_def,
CORBA::Environment &ACE_TRY_ENV =
TAO_default_environment ()
)
ACE_THROW_SPEC ((CORBA::SystemException));
void element_type_def_i (
- IR_IDLType_ptr element_type_def,
+ CORBA_IDLType_ptr element_type_def,
CORBA::Environment &ACE_TRY_ENV =
TAO_default_environment ()
)
diff --git a/TAO/orbsvcs/IFR_Service/Servant_Factory.cpp b/TAO/orbsvcs/IFR_Service/Servant_Factory.cpp
index 5a39bcdaad5..0345a69e96c 100644
--- a/TAO/orbsvcs/IFR_Service/Servant_Factory.cpp
+++ b/TAO/orbsvcs/IFR_Service/Servant_Factory.cpp
@@ -2,6 +2,7 @@
#include "Servant_Factory.h"
#include "concrete_classes.h"
+#include "IFR_ComponentsS.h"
#include "ace/Auto_Ptr.h"
ACE_RCSID(IFR_Service, Servant_Factory, "$Id$")
@@ -22,9 +23,9 @@ IFR_Servant_Factory::create_idltype (
"def_kind",
def_kind);
- switch (ACE_static_cast (IR_DefinitionKind, def_kind))
+ switch (ACE_static_cast (CORBA::DefinitionKind, def_kind))
{
- case dk_Interface:
+ case CORBA::dk_Interface:
{
TAO_InterfaceDef_i *impl = 0;
ACE_NEW_THROW_EX (impl,
@@ -35,7 +36,29 @@ IFR_Servant_Factory::create_idltype (
return impl;
}
- case dk_Alias:
+ case CORBA::dk_AbstractInterface:
+ {
+ TAO_AbstractInterfaceDef_i *impl = 0;
+ ACE_NEW_THROW_EX (impl,
+ TAO_AbstractInterfaceDef_i (this->repo_,
+ servant_key),
+ CORBA::NO_MEMORY ());
+ ACE_CHECK_RETURN (0);
+
+ return impl;
+ }
+ case CORBA::dk_LocalInterface:
+ {
+ TAO_LocalInterfaceDef_i *impl = 0;
+ ACE_NEW_THROW_EX (impl,
+ TAO_LocalInterfaceDef_i (this->repo_,
+ servant_key),
+ CORBA::NO_MEMORY ());
+ ACE_CHECK_RETURN (0);
+
+ return impl;
+ }
+ case CORBA::dk_Alias:
{
TAO_AliasDef_i *impl = 0;
ACE_NEW_THROW_EX (impl,
@@ -46,7 +69,7 @@ IFR_Servant_Factory::create_idltype (
return impl;
}
- case dk_Struct:
+ case CORBA::dk_Struct:
{
TAO_StructDef_i *impl = 0;
ACE_NEW_THROW_EX (impl,
@@ -57,7 +80,7 @@ IFR_Servant_Factory::create_idltype (
return impl;
}
- case dk_Union:
+ case CORBA::dk_Union:
{
TAO_UnionDef_i *impl = 0;
ACE_NEW_THROW_EX (impl,
@@ -68,7 +91,7 @@ IFR_Servant_Factory::create_idltype (
return impl;
}
- case dk_Enum:
+ case CORBA::dk_Enum:
{
TAO_EnumDef_i *impl = 0;
ACE_NEW_THROW_EX (impl,
@@ -79,7 +102,7 @@ IFR_Servant_Factory::create_idltype (
return impl;
}
- case dk_Primitive:
+ case CORBA::dk_Primitive:
{
TAO_PrimitiveDef_i *impl = 0;
ACE_NEW_THROW_EX (impl,
@@ -90,7 +113,7 @@ IFR_Servant_Factory::create_idltype (
return impl;
}
- case dk_String:
+ case CORBA::dk_String:
{
TAO_StringDef_i *impl = 0;
ACE_NEW_THROW_EX (impl,
@@ -101,7 +124,7 @@ IFR_Servant_Factory::create_idltype (
return impl;
}
- case dk_Sequence:
+ case CORBA::dk_Sequence:
{
TAO_SequenceDef_i *impl = 0;
ACE_NEW_THROW_EX (impl,
@@ -112,7 +135,7 @@ IFR_Servant_Factory::create_idltype (
return impl;
}
- case dk_Array:
+ case CORBA::dk_Array:
{
TAO_ArrayDef_i *impl = 0;
ACE_NEW_THROW_EX (impl,
@@ -123,7 +146,7 @@ IFR_Servant_Factory::create_idltype (
return impl;
}
- case dk_Wstring:
+ case CORBA::dk_Wstring:
{
TAO_WstringDef_i *impl = 0;
ACE_NEW_THROW_EX (impl,
@@ -134,7 +157,7 @@ IFR_Servant_Factory::create_idltype (
return impl;
}
- case dk_Fixed:
+ case CORBA::dk_Fixed:
{
TAO_FixedDef_i *impl = 0;
ACE_NEW_THROW_EX (impl,
@@ -145,7 +168,7 @@ IFR_Servant_Factory::create_idltype (
return impl;
}
- case dk_Value:
+ case CORBA::dk_Value:
{
TAO_ValueDef_i *impl = 0;
ACE_NEW_THROW_EX (impl,
@@ -156,7 +179,7 @@ IFR_Servant_Factory::create_idltype (
return impl;
}
- case dk_ValueBox:
+ case CORBA::dk_ValueBox:
{
TAO_ValueBoxDef_i *impl = 0;
ACE_NEW_THROW_EX (impl,
@@ -167,7 +190,7 @@ IFR_Servant_Factory::create_idltype (
return impl;
}
- case dk_Native:
+ case CORBA::dk_Native:
{
TAO_NativeDef_i *impl = 0;
ACE_NEW_THROW_EX (impl,
@@ -178,7 +201,7 @@ IFR_Servant_Factory::create_idltype (
return impl;
}
- case dk_Component:
+ case CORBA::dk_Component:
{
TAO_ComponentDef_i *impl = 0;
ACE_NEW_THROW_EX (impl,
@@ -189,7 +212,7 @@ IFR_Servant_Factory::create_idltype (
return impl;
}
- case dk_Home:
+ case CORBA::dk_Home:
{
TAO_HomeDef_i *impl = 0;
ACE_NEW_THROW_EX (impl,
@@ -216,9 +239,9 @@ IFR_Servant_Factory::create_contained (
"def_kind",
def_kind);
- switch (ACE_static_cast (IR_DefinitionKind, def_kind))
+ switch (ACE_static_cast (CORBA::DefinitionKind, def_kind))
{
- case dk_Interface:
+ case CORBA::dk_Interface:
{
TAO_InterfaceDef_i *impl = 0;
ACE_NEW_THROW_EX (impl,
@@ -229,7 +252,29 @@ IFR_Servant_Factory::create_contained (
return impl;
}
- case dk_Alias:
+ case CORBA::dk_AbstractInterface:
+ {
+ TAO_AbstractInterfaceDef_i *impl = 0;
+ ACE_NEW_THROW_EX (impl,
+ TAO_AbstractInterfaceDef_i (this->repo_,
+ servant_key),
+ CORBA::NO_MEMORY ());
+ ACE_CHECK_RETURN (0);
+
+ return impl;
+ }
+ case CORBA::dk_LocalInterface:
+ {
+ TAO_LocalInterfaceDef_i *impl = 0;
+ ACE_NEW_THROW_EX (impl,
+ TAO_LocalInterfaceDef_i (this->repo_,
+ servant_key),
+ CORBA::NO_MEMORY ());
+ ACE_CHECK_RETURN (0);
+
+ return impl;
+ }
+ case CORBA::dk_Alias:
{
TAO_AliasDef_i *impl = 0;
ACE_NEW_THROW_EX (impl,
@@ -240,7 +285,7 @@ IFR_Servant_Factory::create_contained (
return impl;
}
- case dk_Struct:
+ case CORBA::dk_Struct:
{
TAO_StructDef_i *impl = 0;
ACE_NEW_THROW_EX (impl,
@@ -251,7 +296,7 @@ IFR_Servant_Factory::create_contained (
return impl;
}
- case dk_Union:
+ case CORBA::dk_Union:
{
TAO_UnionDef_i *impl = 0;
ACE_NEW_THROW_EX (impl,
@@ -262,7 +307,7 @@ IFR_Servant_Factory::create_contained (
return impl;
}
- case dk_Enum:
+ case CORBA::dk_Enum:
{
TAO_EnumDef_i *impl = 0;
ACE_NEW_THROW_EX (impl,
@@ -273,7 +318,7 @@ IFR_Servant_Factory::create_contained (
return impl;
}
- case dk_Module:
+ case CORBA::dk_Module:
{
TAO_ModuleDef_i *impl = 0;
ACE_NEW_THROW_EX (impl,
@@ -284,7 +329,7 @@ IFR_Servant_Factory::create_contained (
return impl;
}
- case dk_Exception:
+ case CORBA::dk_Exception:
{
TAO_ExceptionDef_i *impl = 0;
ACE_NEW_THROW_EX (impl,
@@ -295,7 +340,7 @@ IFR_Servant_Factory::create_contained (
return impl;
}
- case dk_Constant:
+ case CORBA::dk_Constant:
{
TAO_ConstantDef_i *impl = 0;
ACE_NEW_THROW_EX (impl,
@@ -306,7 +351,7 @@ IFR_Servant_Factory::create_contained (
return impl;
}
- case dk_ValueMember:
+ case CORBA::dk_ValueMember:
{
TAO_ValueMemberDef_i *impl = 0;
ACE_NEW_THROW_EX (impl,
@@ -317,7 +362,7 @@ IFR_Servant_Factory::create_contained (
return impl;
}
- case dk_Uses:
+ case CORBA::dk_Uses:
{
TAO_UsesDef_i *impl = 0;
ACE_NEW_THROW_EX (impl,
@@ -328,7 +373,7 @@ IFR_Servant_Factory::create_contained (
return impl;
}
- case dk_Provides:
+ case CORBA::dk_Provides:
{
TAO_ProvidesDef_i *impl = 0;
ACE_NEW_THROW_EX (impl,
@@ -339,7 +384,7 @@ IFR_Servant_Factory::create_contained (
return impl;
}
- case dk_PrimaryKey:
+ case CORBA::dk_PrimaryKey:
{
TAO_PrimaryKeyDef_i *impl = 0;
ACE_NEW_THROW_EX (impl,
@@ -350,7 +395,7 @@ IFR_Servant_Factory::create_contained (
return impl;
}
- case dk_Emits:
+ case CORBA::dk_Emits:
{
TAO_EmitsDef_i *impl = 0;
ACE_NEW_THROW_EX (impl,
@@ -361,7 +406,7 @@ IFR_Servant_Factory::create_contained (
return impl;
}
- case dk_Publishes:
+ case CORBA::dk_Publishes:
{
TAO_PublishesDef_i *impl = 0;
ACE_NEW_THROW_EX (impl,
@@ -372,7 +417,7 @@ IFR_Servant_Factory::create_contained (
return impl;
}
- case dk_Consumes:
+ case CORBA::dk_Consumes:
{
TAO_ConsumesDef_i *impl = 0;
ACE_NEW_THROW_EX (impl,
@@ -383,7 +428,7 @@ IFR_Servant_Factory::create_contained (
return impl;
}
- case dk_Attribute:
+ case CORBA::dk_Attribute:
{
TAO_AttributeDef_i *impl = 0;
ACE_NEW_THROW_EX (impl,
@@ -394,7 +439,7 @@ IFR_Servant_Factory::create_contained (
return impl;
}
- case dk_Operation:
+ case CORBA::dk_Operation:
{
TAO_OperationDef_i *impl = 0;
ACE_NEW_THROW_EX (impl,
@@ -405,7 +450,7 @@ IFR_Servant_Factory::create_contained (
return impl;
}
- case dk_Value:
+ case CORBA::dk_Value:
{
TAO_ValueDef_i *impl = 0;
ACE_NEW_THROW_EX (impl,
@@ -416,7 +461,7 @@ IFR_Servant_Factory::create_contained (
return impl;
}
- case dk_ValueBox:
+ case CORBA::dk_ValueBox:
{
TAO_ValueBoxDef_i *impl = 0;
ACE_NEW_THROW_EX (impl,
@@ -427,7 +472,7 @@ IFR_Servant_Factory::create_contained (
return impl;
}
- case dk_Native:
+ case CORBA::dk_Native:
{
TAO_NativeDef_i *impl = 0;
ACE_NEW_THROW_EX (impl,
@@ -438,7 +483,7 @@ IFR_Servant_Factory::create_contained (
return impl;
}
- case dk_Component:
+ case CORBA::dk_Component:
{
TAO_ComponentDef_i *impl = 0;
ACE_NEW_THROW_EX (impl,
@@ -449,7 +494,7 @@ IFR_Servant_Factory::create_contained (
return impl;
}
- case dk_Home:
+ case CORBA::dk_Home:
{
TAO_HomeDef_i *impl = 0;
ACE_NEW_THROW_EX (impl,
@@ -476,9 +521,9 @@ IFR_Servant_Factory::create_container (
"def_kind",
def_kind);
- switch (ACE_static_cast (IR_DefinitionKind, def_kind))
+ switch (ACE_static_cast (CORBA::DefinitionKind, def_kind))
{
- case dk_Interface:
+ case CORBA::dk_Interface:
{
TAO_InterfaceDef_i *impl = 0;
ACE_NEW_THROW_EX (impl,
@@ -489,7 +534,29 @@ IFR_Servant_Factory::create_container (
return impl;
}
- case dk_Struct:
+ case CORBA::dk_AbstractInterface:
+ {
+ TAO_AbstractInterfaceDef_i *impl = 0;
+ ACE_NEW_THROW_EX (impl,
+ TAO_AbstractInterfaceDef_i (this->repo_,
+ servant_key),
+ CORBA::NO_MEMORY ());
+ ACE_CHECK_RETURN (0);
+
+ return impl;
+ }
+ case CORBA::dk_LocalInterface:
+ {
+ TAO_LocalInterfaceDef_i *impl = 0;
+ ACE_NEW_THROW_EX (impl,
+ TAO_LocalInterfaceDef_i (this->repo_,
+ servant_key),
+ CORBA::NO_MEMORY ());
+ ACE_CHECK_RETURN (0);
+
+ return impl;
+ }
+ case CORBA::dk_Struct:
{
TAO_StructDef_i *impl = 0;
ACE_NEW_THROW_EX (impl,
@@ -500,7 +567,7 @@ IFR_Servant_Factory::create_container (
return impl;
}
- case dk_Union:
+ case CORBA::dk_Union:
{
TAO_UnionDef_i *impl = 0;
ACE_NEW_THROW_EX (impl,
@@ -511,7 +578,7 @@ IFR_Servant_Factory::create_container (
return impl;
}
- case dk_Module:
+ case CORBA::dk_Module:
{
TAO_ModuleDef_i *impl = 0;
ACE_NEW_THROW_EX (impl,
@@ -522,7 +589,7 @@ IFR_Servant_Factory::create_container (
return impl;
}
- case dk_Exception:
+ case CORBA::dk_Exception:
{
TAO_ExceptionDef_i *impl = 0;
ACE_NEW_THROW_EX (impl,
@@ -533,7 +600,7 @@ IFR_Servant_Factory::create_container (
return impl;
}
- case dk_Value:
+ case CORBA::dk_Value:
{
TAO_ValueDef_i *impl = 0;
ACE_NEW_THROW_EX (impl,
@@ -544,7 +611,7 @@ IFR_Servant_Factory::create_container (
return impl;
}
- case dk_Component:
+ case CORBA::dk_Component:
{
TAO_ComponentDef_i *impl = 0;
ACE_NEW_THROW_EX (impl,
@@ -555,7 +622,7 @@ IFR_Servant_Factory::create_container (
return impl;
}
- case dk_Home:
+ case CORBA::dk_Home:
{
TAO_HomeDef_i *impl = 0;
ACE_NEW_THROW_EX (impl,
@@ -583,9 +650,9 @@ IFR_Servant_Factory::create_tie (
"def_kind",
def_kind);
- switch (ACE_static_cast (IR_DefinitionKind, def_kind))
+ switch (ACE_static_cast (CORBA::DefinitionKind, def_kind))
{
- case dk_Attribute:
+ case CORBA::dk_Attribute:
{
TAO_AttributeDef_i *impl = 0;
ACE_NEW_THROW_EX (impl,
@@ -596,18 +663,18 @@ IFR_Servant_Factory::create_tie (
auto_ptr<TAO_AttributeDef_i> safety (impl);
- POA_IR::AttributeDef_tie<TAO_AttributeDef_i> *impl_tie = 0;
+ POA_CORBA::AttributeDef_tie<TAO_AttributeDef_i> *impl_tie = 0;
ACE_NEW_THROW_EX (impl_tie,
- POA_IR::AttributeDef_tie<TAO_AttributeDef_i> (impl,
- poa,
- 1),
+ POA_CORBA::AttributeDef_tie<TAO_AttributeDef_i> (impl,
+ poa,
+ 1),
CORBA::NO_MEMORY ());
ACE_CHECK_RETURN (0);
safety.release ();
return impl_tie;
}
- case dk_Constant:
+ case CORBA::dk_Constant:
{
TAO_ConstantDef_i *impl = 0;
ACE_NEW_THROW_EX (impl,
@@ -618,18 +685,18 @@ IFR_Servant_Factory::create_tie (
auto_ptr<TAO_ConstantDef_i> safety (impl);
- POA_IR::ConstantDef_tie<TAO_ConstantDef_i> *impl_tie = 0;
+ POA_CORBA::ConstantDef_tie<TAO_ConstantDef_i> *impl_tie = 0;
ACE_NEW_THROW_EX (impl_tie,
- POA_IR::ConstantDef_tie<TAO_ConstantDef_i> (impl,
- poa,
- 1),
+ POA_CORBA::ConstantDef_tie<TAO_ConstantDef_i> (impl,
+ poa,
+ 1),
CORBA::NO_MEMORY ());
ACE_CHECK_RETURN (0);
safety.release ();
return impl_tie;
}
- case dk_Exception:
+ case CORBA::dk_Exception:
{
TAO_ExceptionDef_i *impl = 0;
ACE_NEW_THROW_EX (impl,
@@ -640,18 +707,18 @@ IFR_Servant_Factory::create_tie (
auto_ptr<TAO_ExceptionDef_i> safety (impl);
- POA_IR::ExceptionDef_tie<TAO_ExceptionDef_i> *impl_tie = 0;
+ POA_CORBA::ExceptionDef_tie<TAO_ExceptionDef_i> *impl_tie = 0;
ACE_NEW_THROW_EX (impl_tie,
- POA_IR::ExceptionDef_tie<TAO_ExceptionDef_i> (impl,
- poa,
- 1),
+ POA_CORBA::ExceptionDef_tie<TAO_ExceptionDef_i> (impl,
+ poa,
+ 1),
CORBA::NO_MEMORY ());
ACE_CHECK_RETURN (0);
safety.release ();
return impl_tie;
}
- case dk_Interface:
+ case CORBA::dk_Interface:
{
TAO_InterfaceDef_i *impl = 0;
ACE_NEW_THROW_EX (impl,
@@ -662,18 +729,66 @@ IFR_Servant_Factory::create_tie (
auto_ptr<TAO_InterfaceDef_i> safety (impl);
- POA_IR::InterfaceDef_tie<TAO_InterfaceDef_i> *impl_tie = 0;
+ POA_CORBA::InterfaceDef_tie<TAO_InterfaceDef_i> *impl_tie = 0;
ACE_NEW_THROW_EX (impl_tie,
- POA_IR::InterfaceDef_tie<TAO_InterfaceDef_i> (impl,
- poa,
- 1),
+ POA_CORBA::InterfaceDef_tie<TAO_InterfaceDef_i> (impl,
+ poa,
+ 1),
+ CORBA::NO_MEMORY ());
+ ACE_CHECK_RETURN (0);
+
+ safety.release ();
+ return impl_tie;
+ }
+ case CORBA::dk_AbstractInterface:
+ {
+ TAO_AbstractInterfaceDef_i *impl = 0;
+ ACE_NEW_THROW_EX (impl,
+ TAO_AbstractInterfaceDef_i (this->repo_,
+ servant_key),
CORBA::NO_MEMORY ());
ACE_CHECK_RETURN (0);
+ auto_ptr<TAO_AbstractInterfaceDef_i> safety (impl);
+
+ POA_CORBA::AbstractInterfaceDef_tie<TAO_AbstractInterfaceDef_i> *impl_tie = 0;
+ ACE_NEW_THROW_EX (
+ impl_tie,
+ POA_CORBA::AbstractInterfaceDef_tie<TAO_AbstractInterfaceDef_i> (impl,
+ poa,
+ 1),
+ CORBA::NO_MEMORY ()
+ );
+ ACE_CHECK_RETURN (0);
+
safety.release ();
return impl_tie;
}
- case dk_Module:
+ case CORBA::dk_LocalInterface:
+ {
+ TAO_LocalInterfaceDef_i *impl = 0;
+ ACE_NEW_THROW_EX (impl,
+ TAO_LocalInterfaceDef_i (this->repo_,
+ servant_key),
+ CORBA::NO_MEMORY ());
+ ACE_CHECK_RETURN (0);
+
+ auto_ptr<TAO_LocalInterfaceDef_i> safety (impl);
+
+ POA_CORBA::LocalInterfaceDef_tie<TAO_LocalInterfaceDef_i> *impl_tie = 0;
+ ACE_NEW_THROW_EX (
+ impl_tie,
+ POA_CORBA::LocalInterfaceDef_tie<TAO_LocalInterfaceDef_i> (impl,
+ poa,
+ 1),
+ CORBA::NO_MEMORY ()
+ );
+ ACE_CHECK_RETURN (0);
+
+ safety.release ();
+ return impl_tie;
+ }
+ case CORBA::dk_Module:
{
TAO_ModuleDef_i *impl = 0;
ACE_NEW_THROW_EX (impl,
@@ -684,18 +799,18 @@ IFR_Servant_Factory::create_tie (
auto_ptr<TAO_ModuleDef_i> safety (impl);
- POA_IR::ModuleDef_tie<TAO_ModuleDef_i> *impl_tie = 0;
+ POA_CORBA::ModuleDef_tie<TAO_ModuleDef_i> *impl_tie = 0;
ACE_NEW_THROW_EX (impl_tie,
- POA_IR::ModuleDef_tie<TAO_ModuleDef_i> (impl,
- poa,
- 1),
+ POA_CORBA::ModuleDef_tie<TAO_ModuleDef_i> (impl,
+ poa,
+ 1),
CORBA::NO_MEMORY ());
ACE_CHECK_RETURN (0);
safety.release ();
return impl_tie;
}
- case dk_Operation:
+ case CORBA::dk_Operation:
{
TAO_OperationDef_i *impl = 0;
ACE_NEW_THROW_EX (impl,
@@ -706,18 +821,18 @@ IFR_Servant_Factory::create_tie (
auto_ptr<TAO_OperationDef_i> safety (impl);
- POA_IR::OperationDef_tie<TAO_OperationDef_i> *impl_tie = 0;
+ POA_CORBA::OperationDef_tie<TAO_OperationDef_i> *impl_tie = 0;
ACE_NEW_THROW_EX (impl_tie,
- POA_IR::OperationDef_tie<TAO_OperationDef_i> (impl,
- poa,
- 1),
+ POA_CORBA::OperationDef_tie<TAO_OperationDef_i> (impl,
+ poa,
+ 1),
CORBA::NO_MEMORY ());
ACE_CHECK_RETURN (0);
safety.release ();
return impl_tie;
}
- case dk_Alias:
+ case CORBA::dk_Alias:
{
TAO_AliasDef_i *impl = 0;
ACE_NEW_THROW_EX (impl,
@@ -728,18 +843,18 @@ IFR_Servant_Factory::create_tie (
auto_ptr<TAO_AliasDef_i> safety (impl);
- POA_IR::AliasDef_tie<TAO_AliasDef_i> *impl_tie = 0;
+ POA_CORBA::AliasDef_tie<TAO_AliasDef_i> *impl_tie = 0;
ACE_NEW_THROW_EX (impl_tie,
- POA_IR::AliasDef_tie<TAO_AliasDef_i> (impl,
- poa,
- 1),
+ POA_CORBA::AliasDef_tie<TAO_AliasDef_i> (impl,
+ poa,
+ 1),
CORBA::NO_MEMORY ());
ACE_CHECK_RETURN (0);
safety.release ();
return impl_tie;
}
- case dk_Struct:
+ case CORBA::dk_Struct:
{
TAO_StructDef_i *impl = 0;
ACE_NEW_THROW_EX (impl,
@@ -750,18 +865,18 @@ IFR_Servant_Factory::create_tie (
auto_ptr<TAO_StructDef_i> safety (impl);
- POA_IR::StructDef_tie<TAO_StructDef_i> *impl_tie = 0;
+ POA_CORBA::StructDef_tie<TAO_StructDef_i> *impl_tie = 0;
ACE_NEW_THROW_EX (impl_tie,
- POA_IR::StructDef_tie<TAO_StructDef_i> (impl,
- poa,
- 1),
+ POA_CORBA::StructDef_tie<TAO_StructDef_i> (impl,
+ poa,
+ 1),
CORBA::NO_MEMORY ());
ACE_CHECK_RETURN (0);
safety.release ();
return impl_tie;
}
- case dk_Union:
+ case CORBA::dk_Union:
{
TAO_UnionDef_i *impl = 0;
ACE_NEW_THROW_EX (impl,
@@ -772,18 +887,18 @@ IFR_Servant_Factory::create_tie (
auto_ptr<TAO_UnionDef_i> safety (impl);
- POA_IR::UnionDef_tie<TAO_UnionDef_i> *impl_tie = 0;
+ POA_CORBA::UnionDef_tie<TAO_UnionDef_i> *impl_tie = 0;
ACE_NEW_THROW_EX (impl_tie,
- POA_IR::UnionDef_tie<TAO_UnionDef_i> (impl,
- poa,
- 1),
+ POA_CORBA::UnionDef_tie<TAO_UnionDef_i> (impl,
+ poa,
+ 1),
CORBA::NO_MEMORY ());
ACE_CHECK_RETURN (0);
safety.release ();
return impl_tie;
}
- case dk_Enum:
+ case CORBA::dk_Enum:
{
TAO_EnumDef_i *impl = 0;
ACE_NEW_THROW_EX (impl,
@@ -794,18 +909,18 @@ IFR_Servant_Factory::create_tie (
auto_ptr<TAO_EnumDef_i> safety (impl);
- POA_IR::EnumDef_tie<TAO_EnumDef_i> *impl_tie = 0;
+ POA_CORBA::EnumDef_tie<TAO_EnumDef_i> *impl_tie = 0;
ACE_NEW_THROW_EX (impl_tie,
- POA_IR::EnumDef_tie<TAO_EnumDef_i> (impl,
- poa,
- 1),
+ POA_CORBA::EnumDef_tie<TAO_EnumDef_i> (impl,
+ poa,
+ 1),
CORBA::NO_MEMORY ());
ACE_CHECK_RETURN (0);
safety.release ();
return impl_tie;
}
- case dk_Primitive:
+ case CORBA::dk_Primitive:
{
TAO_PrimitiveDef_i *impl = 0;
ACE_NEW_THROW_EX (impl,
@@ -816,18 +931,18 @@ IFR_Servant_Factory::create_tie (
auto_ptr<TAO_PrimitiveDef_i> safety (impl);
- POA_IR::PrimitiveDef_tie<TAO_PrimitiveDef_i> *impl_tie = 0;
+ POA_CORBA::PrimitiveDef_tie<TAO_PrimitiveDef_i> *impl_tie = 0;
ACE_NEW_THROW_EX (impl_tie,
- POA_IR::PrimitiveDef_tie<TAO_PrimitiveDef_i> (impl,
- poa,
- 1),
+ POA_CORBA::PrimitiveDef_tie<TAO_PrimitiveDef_i> (impl,
+ poa,
+ 1),
CORBA::NO_MEMORY ());
ACE_CHECK_RETURN (0);
safety.release ();
return impl_tie;
}
- case dk_String:
+ case CORBA::dk_String:
{
TAO_StringDef_i *impl = 0;
ACE_NEW_THROW_EX (impl,
@@ -838,18 +953,18 @@ IFR_Servant_Factory::create_tie (
auto_ptr<TAO_StringDef_i> safety (impl);
- POA_IR::StringDef_tie<TAO_StringDef_i> *impl_tie = 0;
+ POA_CORBA::StringDef_tie<TAO_StringDef_i> *impl_tie = 0;
ACE_NEW_THROW_EX (impl_tie,
- POA_IR::StringDef_tie<TAO_StringDef_i> (impl,
- poa,
- 1),
+ POA_CORBA::StringDef_tie<TAO_StringDef_i> (impl,
+ poa,
+ 1),
CORBA::NO_MEMORY ());
ACE_CHECK_RETURN (0);
safety.release ();
return impl_tie;
}
- case dk_Sequence:
+ case CORBA::dk_Sequence:
{
TAO_SequenceDef_i *impl = 0;
ACE_NEW_THROW_EX (impl,
@@ -860,18 +975,18 @@ IFR_Servant_Factory::create_tie (
auto_ptr<TAO_SequenceDef_i> safety (impl);
- POA_IR::SequenceDef_tie<TAO_SequenceDef_i> *impl_tie = 0;
+ POA_CORBA::SequenceDef_tie<TAO_SequenceDef_i> *impl_tie = 0;
ACE_NEW_THROW_EX (impl_tie,
- POA_IR::SequenceDef_tie<TAO_SequenceDef_i> (impl,
- poa,
- 1),
+ POA_CORBA::SequenceDef_tie<TAO_SequenceDef_i> (impl,
+ poa,
+ 1),
CORBA::NO_MEMORY ());
ACE_CHECK_RETURN (0);
safety.release ();
return impl_tie;
}
- case dk_Array:
+ case CORBA::dk_Array:
{
TAO_ArrayDef_i *impl = 0;
ACE_NEW_THROW_EX (impl,
@@ -882,18 +997,18 @@ IFR_Servant_Factory::create_tie (
auto_ptr<TAO_ArrayDef_i> safety (impl);
- POA_IR::ArrayDef_tie<TAO_ArrayDef_i> *impl_tie = 0;
+ POA_CORBA::ArrayDef_tie<TAO_ArrayDef_i> *impl_tie = 0;
ACE_NEW_THROW_EX (impl_tie,
- POA_IR::ArrayDef_tie<TAO_ArrayDef_i> (impl,
- poa,
- 1),
+ POA_CORBA::ArrayDef_tie<TAO_ArrayDef_i> (impl,
+ poa,
+ 1),
CORBA::NO_MEMORY ());
ACE_CHECK_RETURN (0);
safety.release ();
return impl_tie;
}
- case dk_Wstring:
+ case CORBA::dk_Wstring:
{
TAO_WstringDef_i *impl = 0;
ACE_NEW_THROW_EX (impl,
@@ -904,18 +1019,18 @@ IFR_Servant_Factory::create_tie (
auto_ptr<TAO_WstringDef_i> safety (impl);
- POA_IR::WstringDef_tie<TAO_WstringDef_i> *impl_tie = 0;
+ POA_CORBA::WstringDef_tie<TAO_WstringDef_i> *impl_tie = 0;
ACE_NEW_THROW_EX (impl_tie,
- POA_IR::WstringDef_tie<TAO_WstringDef_i> (impl,
- poa,
- 1),
+ POA_CORBA::WstringDef_tie<TAO_WstringDef_i> (impl,
+ poa,
+ 1),
CORBA::NO_MEMORY ());
ACE_CHECK_RETURN (0);
safety.release ();
return impl_tie;
}
- case dk_Fixed:
+ case CORBA::dk_Fixed:
{
TAO_FixedDef_i *impl = 0;
ACE_NEW_THROW_EX (impl,
@@ -926,18 +1041,18 @@ IFR_Servant_Factory::create_tie (
auto_ptr<TAO_FixedDef_i> safety (impl);
- POA_IR::FixedDef_tie<TAO_FixedDef_i> *impl_tie = 0;
+ POA_CORBA::FixedDef_tie<TAO_FixedDef_i> *impl_tie = 0;
ACE_NEW_THROW_EX (impl_tie,
- POA_IR::FixedDef_tie<TAO_FixedDef_i> (impl,
- poa,
- 1),
+ POA_CORBA::FixedDef_tie<TAO_FixedDef_i> (impl,
+ poa,
+ 1),
CORBA::NO_MEMORY ());
ACE_CHECK_RETURN (0);
safety.release ();
return impl_tie;
}
- case dk_Value:
+ case CORBA::dk_Value:
{
TAO_ValueDef_i *impl = 0;
ACE_NEW_THROW_EX (impl,
@@ -948,18 +1063,18 @@ IFR_Servant_Factory::create_tie (
auto_ptr<TAO_ValueDef_i> safety (impl);
- POA_IR::ValueDef_tie<TAO_ValueDef_i> *impl_tie = 0;
+ POA_CORBA::ValueDef_tie<TAO_ValueDef_i> *impl_tie = 0;
ACE_NEW_THROW_EX (impl_tie,
- POA_IR::ValueDef_tie<TAO_ValueDef_i> (impl,
- poa,
- 1),
+ POA_CORBA::ValueDef_tie<TAO_ValueDef_i> (impl,
+ poa,
+ 1),
CORBA::NO_MEMORY ());
ACE_CHECK_RETURN (0);
safety.release ();
return impl_tie;
}
- case dk_ValueBox:
+ case CORBA::dk_ValueBox:
{
TAO_ValueBoxDef_i *impl = 0;
ACE_NEW_THROW_EX (impl,
@@ -970,18 +1085,18 @@ IFR_Servant_Factory::create_tie (
auto_ptr<TAO_ValueBoxDef_i> safety (impl);
- POA_IR::ValueBoxDef_tie<TAO_ValueBoxDef_i> *impl_tie = 0;
+ POA_CORBA::ValueBoxDef_tie<TAO_ValueBoxDef_i> *impl_tie = 0;
ACE_NEW_THROW_EX (impl_tie,
- POA_IR::ValueBoxDef_tie<TAO_ValueBoxDef_i> (impl,
- poa,
- 1),
+ POA_CORBA::ValueBoxDef_tie<TAO_ValueBoxDef_i> (impl,
+ poa,
+ 1),
CORBA::NO_MEMORY ());
ACE_CHECK_RETURN (0);
safety.release ();
return impl_tie;
}
- case dk_ValueMember:
+ case CORBA::dk_ValueMember:
{
TAO_ValueMemberDef_i *impl = 0;
ACE_NEW_THROW_EX (impl,
@@ -992,18 +1107,20 @@ IFR_Servant_Factory::create_tie (
auto_ptr<TAO_ValueMemberDef_i> safety (impl);
- POA_IR::ValueMemberDef_tie<TAO_ValueMemberDef_i> *impl_tie = 0;
- ACE_NEW_THROW_EX (impl_tie,
- POA_IR::ValueMemberDef_tie<TAO_ValueMemberDef_i> (impl,
- poa,
- 1),
- CORBA::NO_MEMORY ());
+ POA_CORBA::ValueMemberDef_tie<TAO_ValueMemberDef_i> *impl_tie = 0;
+ ACE_NEW_THROW_EX (
+ impl_tie,
+ POA_CORBA::ValueMemberDef_tie<TAO_ValueMemberDef_i> (impl,
+ poa,
+ 1),
+ CORBA::NO_MEMORY ()
+ );
ACE_CHECK_RETURN (0);
safety.release ();
return impl_tie;
}
- case dk_Native:
+ case CORBA::dk_Native:
{
TAO_NativeDef_i *impl = 0;
ACE_NEW_THROW_EX (impl,
@@ -1014,18 +1131,18 @@ IFR_Servant_Factory::create_tie (
auto_ptr<TAO_NativeDef_i> safety (impl);
- POA_IR::NativeDef_tie<TAO_NativeDef_i> *impl_tie = 0;
+ POA_CORBA::NativeDef_tie<TAO_NativeDef_i> *impl_tie = 0;
ACE_NEW_THROW_EX (impl_tie,
- POA_IR::NativeDef_tie<TAO_NativeDef_i> (impl,
- poa,
- 1),
+ POA_CORBA::NativeDef_tie<TAO_NativeDef_i> (impl,
+ poa,
+ 1),
CORBA::NO_MEMORY ());
ACE_CHECK_RETURN (0);
safety.release ();
return impl_tie;
}
- case dk_Component:
+ case CORBA::dk_Component:
{
TAO_ComponentDef_i *impl = 0;
ACE_NEW_THROW_EX (impl,
@@ -1047,7 +1164,7 @@ IFR_Servant_Factory::create_tie (
safety.release ();
return impl_tie;
}
- case dk_Home:
+ case CORBA::dk_Home:
{
TAO_HomeDef_i *impl = 0;
ACE_NEW_THROW_EX (impl,
@@ -1069,7 +1186,7 @@ IFR_Servant_Factory::create_tie (
safety.release ();
return impl_tie;
}
- case dk_Factory:
+ case CORBA::dk_Factory:
{
TAO_FactoryDef_i *impl = 0;
ACE_NEW_THROW_EX (impl,
@@ -1091,7 +1208,7 @@ IFR_Servant_Factory::create_tie (
safety.release ();
return impl_tie;
}
- case dk_Finder:
+ case CORBA::dk_Finder:
{
TAO_FinderDef_i *impl = 0;
ACE_NEW_THROW_EX (impl,
@@ -1113,7 +1230,7 @@ IFR_Servant_Factory::create_tie (
safety.release ();
return impl_tie;
}
- case dk_PrimaryKey:
+ case CORBA::dk_PrimaryKey:
{
TAO_PrimaryKeyDef_i *impl = 0;
ACE_NEW_THROW_EX (impl,
@@ -1135,7 +1252,7 @@ IFR_Servant_Factory::create_tie (
safety.release ();
return impl_tie;
}
- case dk_Emits:
+ case CORBA::dk_Emits:
{
TAO_EmitsDef_i *impl = 0;
ACE_NEW_THROW_EX (impl,
@@ -1157,7 +1274,7 @@ IFR_Servant_Factory::create_tie (
safety.release ();
return impl_tie;
}
- case dk_Publishes:
+ case CORBA::dk_Publishes:
{
TAO_PublishesDef_i *impl = 0;
ACE_NEW_THROW_EX (impl,
@@ -1179,7 +1296,7 @@ IFR_Servant_Factory::create_tie (
safety.release ();
return impl_tie;
}
- case dk_Consumes:
+ case CORBA::dk_Consumes:
{
TAO_ConsumesDef_i *impl = 0;
ACE_NEW_THROW_EX (impl,
@@ -1201,7 +1318,7 @@ IFR_Servant_Factory::create_tie (
safety.release ();
return impl_tie;
}
- case dk_Provides:
+ case CORBA::dk_Provides:
{
TAO_ProvidesDef_i *impl = 0;
ACE_NEW_THROW_EX (impl,
@@ -1223,7 +1340,7 @@ IFR_Servant_Factory::create_tie (
safety.release ();
return impl_tie;
}
- case dk_Uses:
+ case CORBA::dk_Uses:
{
TAO_UsesDef_i *impl = 0;
ACE_NEW_THROW_EX (impl,
@@ -1251,7 +1368,7 @@ IFR_Servant_Factory::create_tie (
}
CORBA::Object_ptr
-IFR_Servant_Factory::create_objref (IR_DefinitionKind def_kind,
+IFR_Servant_Factory::create_objref (CORBA::DefinitionKind def_kind,
const char *obj_id,
CORBA::Environment &ACE_TRY_ENV)
{
@@ -1263,97 +1380,103 @@ IFR_Servant_Factory::create_objref (IR_DefinitionKind def_kind,
switch (def_kind)
{
- case dk_Attribute:
+ case CORBA::dk_Attribute:
repo_id += "AttributeDef:";
break;
- case dk_Constant:
+ case CORBA::dk_Constant:
repo_id += "ConstantDef:";
break;
- case dk_Exception:
+ case CORBA::dk_Exception:
repo_id += "ExceptionDef:";
break;
- case dk_Interface:
+ case CORBA::dk_Interface:
repo_id += "InterfaceDef:";
break;
- case dk_Module:
+ case CORBA::dk_AbstractInterface:
+ repo_id += "AbstractInterfaceDef:";
+ break;
+ case CORBA::dk_LocalInterface:
+ repo_id += "LocalInterfaceDef:";
+ break;
+ case CORBA::dk_Module:
repo_id += "ModuleDef:";
break;
- case dk_Operation:
+ case CORBA::dk_Operation:
repo_id += "OperationDef:";
break;
- case dk_Typedef:
+ case CORBA::dk_Typedef:
repo_id += "TypedefDef:";
break;
- case dk_Alias:
+ case CORBA::dk_Alias:
repo_id += "AliasDef:";
break;
- case dk_Struct:
+ case CORBA::dk_Struct:
repo_id += "StructDef:";
break;
- case dk_Union:
+ case CORBA::dk_Union:
repo_id += "UnionDef:";
break;
- case dk_Enum:
+ case CORBA::dk_Enum:
repo_id += "EnumDef:";
break;
- case dk_Primitive:
+ case CORBA::dk_Primitive:
repo_id += "PrimitiveDef:";
break;
- case dk_String:
+ case CORBA::dk_String:
repo_id += "StringDef:";
break;
- case dk_Sequence:
+ case CORBA::dk_Sequence:
repo_id += "SequenceDef:";
break;
- case dk_Array:
+ case CORBA::dk_Array:
repo_id += "ArrayDef:";
break;
- case dk_Wstring:
+ case CORBA::dk_Wstring:
repo_id += "WstringDef:";
break;
- case dk_Fixed:
+ case CORBA::dk_Fixed:
repo_id += "FixedDef:";
break;
- case dk_Value:
+ case CORBA::dk_Value:
repo_id += "ValueDef:";
break;
- case dk_ValueBox:
+ case CORBA::dk_ValueBox:
repo_id += "ValueBoxDef:";
break;
- case dk_ValueMember:
+ case CORBA::dk_ValueMember:
repo_id += "ValueMemberDef:";
break;
- case dk_Native:
+ case CORBA::dk_Native:
repo_id += "NativeDef:";
break;
- case dk_Component:
+ case CORBA::dk_Component:
repo_id += "ComponentDef:";
break;
- case dk_Home:
+ case CORBA::dk_Home:
repo_id += "HomeDef:";
break;
- case dk_Factory:
+ case CORBA::dk_Factory:
repo_id += "FactoryDef:";
break;
- case dk_Finder:
+ case CORBA::dk_Finder:
repo_id += "FinderDef:";
break;
- case dk_PrimaryKey:
+ case CORBA::dk_PrimaryKey:
repo_id += "PrimaryKeyDef:";
break;
- case dk_Emits:
+ case CORBA::dk_Emits:
repo_id += "EmitsDef:";
break;
- case dk_Publishes:
+ case CORBA::dk_Publishes:
repo_id += "PublishesDef:";
break;
- case dk_Consumes:
+ case CORBA::dk_Consumes:
repo_id += "ConsumesDef:";
break;
- case dk_Provides:
+ case CORBA::dk_Provides:
repo_id += "ProvidesDef:";
break;
- case dk_Uses:
+ case CORBA::dk_Uses:
repo_id += "UsesDef:";
break;
default:
diff --git a/TAO/orbsvcs/IFR_Service/Servant_Factory.h b/TAO/orbsvcs/IFR_Service/Servant_Factory.h
index 29ecc0b2f90..3b3716ed4ef 100644
--- a/TAO/orbsvcs/IFR_Service/Servant_Factory.h
+++ b/TAO/orbsvcs/IFR_Service/Servant_Factory.h
@@ -26,7 +26,6 @@
# pragma once
#endif /* ACE_LACKS_PRAGMA_ONCE */
-#include "tao/IFR_Client/ifrfwd.h"
#include "ace/Configuration.h"
class TAO_IDLType_i;
@@ -67,7 +66,7 @@ public:
CORBA::Environment &ACE_TRY_ENV);
// Used by the servant locator to create a servant.
- CORBA::Object_ptr create_objref (IR_DefinitionKind def_kind,
+ CORBA::Object_ptr create_objref (CORBA::DefinitionKind def_kind,
const char *obj_id,
CORBA::Environment &ACE_TRY_ENV);
// Used to create return values.
diff --git a/TAO/orbsvcs/IFR_Service/Servant_Locator.cpp b/TAO/orbsvcs/IFR_Service/Servant_Locator.cpp
index bc1ec445067..a99049cf31d 100644
--- a/TAO/orbsvcs/IFR_Service/Servant_Locator.cpp
+++ b/TAO/orbsvcs/IFR_Service/Servant_Locator.cpp
@@ -2,6 +2,7 @@
#include "Servant_Locator.h"
#include "Servant_Factory.h"
+#include "Repository_i.h"
ACE_RCSID(IFR_Service, Servant_Locator, "$Id$")
diff --git a/TAO/orbsvcs/IFR_Service/Servant_Locator.h b/TAO/orbsvcs/IFR_Service/Servant_Locator.h
index a0e631479f2..51c681a1501 100644
--- a/TAO/orbsvcs/IFR_Service/Servant_Locator.h
+++ b/TAO/orbsvcs/IFR_Service/Servant_Locator.h
@@ -19,12 +19,14 @@
#ifndef IFR_SERVANT_LOCATOR_H
#define IFR_SERVANT_LOCATOR_H
-#include "Repository_i.h"
+#include "tao/PortableServer/PortableServerC.h"
#if !defined (ACE_LACKS_PRAGMA_ONCE)
# pragma once
#endif /* ACE_LACKS_PRAGMA_ONCE */
+class TAO_Repository_i;
+
class IFR_ServantLocator : public PortableServer::ServantLocator
{
// = TITLE
diff --git a/TAO/orbsvcs/IFR_Service/StringDef_i.cpp b/TAO/orbsvcs/IFR_Service/StringDef_i.cpp
index 50953ade9c3..21e7065a316 100644
--- a/TAO/orbsvcs/IFR_Service/StringDef_i.cpp
+++ b/TAO/orbsvcs/IFR_Service/StringDef_i.cpp
@@ -17,11 +17,11 @@ TAO_StringDef_i::~TAO_StringDef_i (void)
{
}
-IR_DefinitionKind
+CORBA::DefinitionKind
TAO_StringDef_i::def_kind (CORBA::Environment &)
ACE_THROW_SPEC ((CORBA::SystemException))
{
- return dk_String;
+ return CORBA::dk_String;
}
void
diff --git a/TAO/orbsvcs/IFR_Service/StringDef_i.h b/TAO/orbsvcs/IFR_Service/StringDef_i.h
index 0a2f35b1964..336408ee467 100644
--- a/TAO/orbsvcs/IFR_Service/StringDef_i.h
+++ b/TAO/orbsvcs/IFR_Service/StringDef_i.h
@@ -10,7 +10,7 @@
// StringDef_i.h
//
// = DESCRIPTION
-// IR_StringDef servant class.
+// StringDef servant class.
//
// = AUTHOR
// Jeff Parsons <parsons@cs.wustl.edu>
@@ -50,7 +50,7 @@ public:
virtual ~TAO_StringDef_i (void);
// Destructor.
- virtual IR_DefinitionKind def_kind (
+ virtual CORBA::DefinitionKind def_kind (
CORBA::Environment &ACE_TRY_ENV =
TAO_default_environment ()
)
diff --git a/TAO/orbsvcs/IFR_Service/StructDef_i.cpp b/TAO/orbsvcs/IFR_Service/StructDef_i.cpp
index 2061cfe0d5c..bf11eb3ef47 100644
--- a/TAO/orbsvcs/IFR_Service/StructDef_i.cpp
+++ b/TAO/orbsvcs/IFR_Service/StructDef_i.cpp
@@ -22,11 +22,11 @@ TAO_StructDef_i::~TAO_StructDef_i (void)
{
}
-IR_DefinitionKind
+CORBA::DefinitionKind
TAO_StructDef_i::def_kind (CORBA::Environment &)
ACE_THROW_SPEC ((CORBA::SystemException))
{
- return dk_Struct;
+ return CORBA::dk_Struct;
}
void
@@ -74,7 +74,7 @@ TAO_StructDef_i::type_i (CORBA::Environment &ACE_TRY_ENV)
"name",
name);
- IR_StructMemberSeq_var members = this->members_i (ACE_TRY_ENV);
+ CORBA_StructMemberSeq_var members = this->members_i (ACE_TRY_ENV);
ACE_CHECK_RETURN (CORBA::TypeCode::_nil ());
return this->repo_->tc_factory ()->create_struct_tc (id.c_str (),
@@ -83,7 +83,7 @@ TAO_StructDef_i::type_i (CORBA::Environment &ACE_TRY_ENV)
ACE_TRY_ENV);
}
-IR_StructMemberSeq *
+CORBA_StructMemberSeq *
TAO_StructDef_i::members (CORBA::Environment &ACE_TRY_ENV)
ACE_THROW_SPEC ((CORBA::SystemException))
{
@@ -92,11 +92,11 @@ TAO_StructDef_i::members (CORBA::Environment &ACE_TRY_ENV)
return this->members_i (ACE_TRY_ENV);
}
-IR_StructMemberSeq *
+CORBA_StructMemberSeq *
TAO_StructDef_i::members_i (CORBA::Environment &ACE_TRY_ENV)
ACE_THROW_SPEC ((CORBA::SystemException))
{
- ACE_Unbounded_Queue<IR_DefinitionKind> kind_queue;
+ ACE_Unbounded_Queue<CORBA::DefinitionKind> kind_queue;
ACE_Unbounded_Queue<ACE_TString> path_queue;
ACE_Unbounded_Queue<ACE_TString> name_queue;
@@ -149,8 +149,8 @@ TAO_StructDef_i::members_i (CORBA::Environment &ACE_TRY_ENV)
"def_kind",
kind);
- IR_DefinitionKind def_kind =
- ACE_static_cast (IR_DefinitionKind, kind);
+ CORBA::DefinitionKind def_kind =
+ ACE_static_cast (CORBA::DefinitionKind, kind);
kind_queue.enqueue_tail (def_kind);
}
@@ -158,18 +158,18 @@ TAO_StructDef_i::members_i (CORBA::Environment &ACE_TRY_ENV)
size_t size = kind_queue.size ();
- IR_StructMemberSeq *members = 0;
+ CORBA_StructMemberSeq *members = 0;
ACE_NEW_THROW_EX (members,
- IR_StructMemberSeq (size),
+ CORBA_StructMemberSeq (size),
CORBA::NO_MEMORY ());
ACE_CHECK_RETURN (0);
members->length (size);
- IR_StructMemberSeq_var retval = members;
+ CORBA_StructMemberSeq_var retval = members;
ACE_TString name, path;
- IR_DefinitionKind kind = dk_none;
+ CORBA::DefinitionKind kind = CORBA::dk_none;
CORBA::Object_var obj;
ACE_Configuration_Section_Key member_key;
TAO_IDLType_i *impl = 0;
@@ -190,8 +190,8 @@ TAO_StructDef_i::members_i (CORBA::Environment &ACE_TRY_ENV)
ACE_TRY_ENV);
ACE_CHECK_RETURN (0);
- retval[k].type_def = IR_IDLType::_narrow (obj.in (),
- ACE_TRY_ENV);
+ retval[k].type_def = CORBA_IDLType::_narrow (obj.in (),
+ ACE_TRY_ENV);
ACE_CHECK_RETURN (0);
this->repo_->config ()->expand_path (this->repo_->root_key (),
@@ -214,7 +214,7 @@ TAO_StructDef_i::members_i (CORBA::Environment &ACE_TRY_ENV)
}
void
-TAO_StructDef_i::members (const IR_StructMemberSeq &members,
+TAO_StructDef_i::members (const CORBA_StructMemberSeq &members,
CORBA::Environment &ACE_TRY_ENV)
ACE_THROW_SPEC ((CORBA::SystemException))
{
@@ -225,7 +225,7 @@ TAO_StructDef_i::members (const IR_StructMemberSeq &members,
}
void
-TAO_StructDef_i::members_i (const IR_StructMemberSeq &members,
+TAO_StructDef_i::members_i (const CORBA_StructMemberSeq &members,
CORBA::Environment &ACE_TRY_ENV)
ACE_THROW_SPEC ((CORBA::SystemException))
{
diff --git a/TAO/orbsvcs/IFR_Service/StructDef_i.h b/TAO/orbsvcs/IFR_Service/StructDef_i.h
index 931069923e4..47622dd3f76 100644
--- a/TAO/orbsvcs/IFR_Service/StructDef_i.h
+++ b/TAO/orbsvcs/IFR_Service/StructDef_i.h
@@ -10,7 +10,7 @@
// StructDef_i.h
//
// = DESCRIPTION
-// IR_StructDef servant class.
+// StructDef servant class.
//
// = AUTHOR
// Jeff Parsons <parsons@cs.wustl.edu>
@@ -51,7 +51,7 @@ public:
virtual ~TAO_StructDef_i (void);
// Destructor
- virtual IR_DefinitionKind def_kind (
+ virtual CORBA::DefinitionKind def_kind (
CORBA::Environment &ACE_TRY_ENV =
TAO_default_environment ()
)
@@ -85,27 +85,27 @@ public:
ACE_THROW_SPEC ((CORBA::SystemException));
// From IDLType_i's pure virtual function.
- virtual IR_StructMemberSeq *members (
+ virtual CORBA_StructMemberSeq *members (
CORBA::Environment &ACE_TRY_ENV =
TAO_default_environment ()
)
ACE_THROW_SPEC ((CORBA::SystemException));
- IR_StructMemberSeq *members_i (
+ CORBA_StructMemberSeq *members_i (
CORBA::Environment &ACE_TRY_ENV =
TAO_default_environment ()
)
ACE_THROW_SPEC ((CORBA::SystemException));
virtual void members (
- const IR_StructMemberSeq &members,
+ const CORBA_StructMemberSeq &members,
CORBA::Environment &ACE_TRY_ENV =
TAO_default_environment ()
)
ACE_THROW_SPEC ((CORBA::SystemException));
void members_i (
- const IR_StructMemberSeq &members,
+ const CORBA_StructMemberSeq &members,
CORBA::Environment &ACE_TRY_ENV =
TAO_default_environment ()
)
diff --git a/TAO/orbsvcs/IFR_Service/TCF_Export.h b/TAO/orbsvcs/IFR_Service/TCF_Export.h
deleted file mode 100644
index 77046394744..00000000000
--- a/TAO/orbsvcs/IFR_Service/TCF_Export.h
+++ /dev/null
@@ -1,40 +0,0 @@
-
-// -*- C++ -*-
-// $Id$
-// Definition for Win32 Export directives.
-// This file is generated automatically by generate_export_file.pl
-// ------------------------------
-#ifndef TCF_EXPORT_H
-#define TCF_EXPORT_H
-
-#include "ace/config-all.h"
-
-#if defined (TAO_AS_STATIC_LIBS)
-# if !defined (TCF_HAS_DLL)
-# define TCF_HAS_DLL 0
-# endif /* ! TCF_HAS_DLL */
-#else
-# if !defined (TCF_HAS_DLL)
-# define TCF_HAS_DLL 1
-# endif /* ! TCF_HAS_DLL */
-#endif
-
-#if defined (TCF_HAS_DLL) && (TCF_HAS_DLL == 1)
-# if defined (TCF_BUILD_DLL)
-# define TCF_Export ACE_Proper_Export_Flag
-# define TCF_SINGLETON_DECLARATION(T) ACE_EXPORT_SINGLETON_DECLARATION (T)
-# define TCF_SINGLETON_DECLARE(SINGLETON_TYPE, CLASS, LOCK) ACE_EXPORT_SINGLETON_DECLARE(SINGLETON_TYPE, CLASS, LOCK)
-# else /* TCF_BUILD_DLL */
-# define TCF_Export ACE_Proper_Import_Flag
-# define TCF_SINGLETON_DECLARATION(T) ACE_IMPORT_SINGLETON_DECLARATION (T)
-# define TCF_SINGLETON_DECLARE(SINGLETON_TYPE, CLASS, LOCK) ACE_IMPORT_SINGLETON_DECLARE(SINGLETON_TYPE, CLASS, LOCK)
-# endif /* TCF_BUILD_DLL */
-#else /* TCF_HAS_DLL == 1 */
-# define TCF_Export
-# define TCF_SINGLETON_DECLARATION(T)
-# define TCF_SINGLETON_DECLARE(SINGLETON_TYPE, CLASS, LOCK)
-#endif /* TCF_HAS_DLL == 1 */
-
-#endif /* TCF_EXPORT_H */
-
-// End of auto generated file.
diff --git a/TAO/orbsvcs/IFR_Service/TCF_Loader.cpp b/TAO/orbsvcs/IFR_Service/TCF_Loader.cpp
deleted file mode 100644
index 6f8f7a1a6ae..00000000000
--- a/TAO/orbsvcs/IFR_Service/TCF_Loader.cpp
+++ /dev/null
@@ -1,55 +0,0 @@
-/* -*- C++ -*- */
-// $Id$
-
-// =================================================================
-//
-// = LIBRARY
-// TAO/orbsvcs/TypeCodeFactory_DLL
-//
-// = FILENAME
-// TCF_Loader.cpp
-//
-// = AUTHOR
-// Jeff Parsons <parsons@cs.wustl.edu>
-//
-// =================================================================
-
-#include "TCF_Loader.h"
-#include "TypeCodeFactory_i.h"
-
-ACE_RCSID(IFR_Service, TCF_Loader, "$Id$")
-
-TCF_Loader::TCF_Loader (void)
-{
-}
-
-CORBA::Object_ptr
-TCF_Loader::create_object (CORBA::ORB_ptr,
- int,
- char * [],
- CORBA::Environment &)
- ACE_THROW_SPEC (())
-{
- CORBA::Object_ptr obj;
- ACE_NEW_RETURN (obj,
- TAO_TypeCodeFactory_i,
- CORBA::Object::_nil ());
- return obj;
-}
-
-int
-TCF_Loader::Initializer (void)
-{
- ACE_Service_Config::static_svcs ()->
- insert (&ace_svc_desc_TCF_Loader);
-
- return 0;
-}
-
-ACE_STATIC_SVC_DEFINE (TCF_Loader,
- ACE_TEXT ("TCF_Loader"),
- ACE_SVC_OBJ_T,
- &ACE_SVC_NAME (TCF_Loader),
- ACE_Service_Type::DELETE_THIS | ACE_Service_Type::DELETE_OBJ,
- 0)
-ACE_FACTORY_DEFINE (TCF, TCF_Loader)
diff --git a/TAO/orbsvcs/IFR_Service/TCF_Loader.h b/TAO/orbsvcs/IFR_Service/TCF_Loader.h
deleted file mode 100644
index 3827f10af12..00000000000
--- a/TAO/orbsvcs/IFR_Service/TCF_Loader.h
+++ /dev/null
@@ -1,77 +0,0 @@
-// -*- C++ -*-
-
-// $Id$
-
-// ============================================================================
-//
-// = LIBRARY
-// TAO/orbsvcs/IFR_Service
-//
-// = FILENAME
-// TCF_Loader.h
-//
-// = AUTHOR
-// Jeff Parsons
-//
-// ============================================================================
-
-#ifndef TAO_OBJECT_LOADER_TCF_LOADER_H
-#define TAO_OBJECT_LOADER_TCF_LOADER_H
-#include "ace/pre.h"
-
-#include "TCF_Export.h"
-#include "tao/Object_Loader.h"
-#include "ace/Service_Config.h"
-
-#if !defined (ACE_LACKS_PRAGMA_ONCE)
-# pragma once
-#endif /* ACE_LACKS_PRAGMA_ONCE */
-
-class TCF_Export TCF_Loader : public TAO_Object_Loader
-{
- // = TITLE
- // TCF_Loader
- //
- // = DESCRIPTION
- // Create an instance of TypeCodeFactory and return
- // it to the caller.
- //
-public:
- TCF_Loader (void);
- // Constructor.
-
- virtual CORBA::Object_ptr create_object (CORBA::ORB_ptr orb,
- int argc,
- char *argv [],
- CORBA::Environment &)
- ACE_THROW_SPEC (());
- // Overload the base class method to create a new instance
- // of a TypeCodeFactory object.
-
- static int Initializer (void);
- // Used to force the initialization of the ORB code.
-};
-
-ACE_STATIC_SVC_DECLARE (TCF_Loader)
-ACE_FACTORY_DECLARE (TCF, TCF_Loader)
-
-#if defined(ACE_HAS_BROKEN_STATIC_CONSTRUCTORS)
-
-typedef int (*TAO_Module_Initializer) (void);
-
-static TAO_Module_Initializer
-TAO_Requires_TCF_Initializer = &TCF_Loader::Initializer;
-
-#else
-
-static int
-TAO_Requires_TCF_Initializer = TCF_Loader::Initializer ();
-
-#endif /* ACE_HAS_BROKEN_STATIC_CONSTRUCTORS */
-
-#define TAO_TYPECODEFACTORY_SAFE_INCLUDE
-#include "TypeCodeFactoryC.h"
-#undef TAO_TYPECODEFACTORY_SAFE_INCLUDE
-
-#include "ace/post.h"
-#endif /* TAO_OBJECT_LOADER_TCF_LOADER_H */
diff --git a/TAO/orbsvcs/IFR_Service/TypeCodeFactoryC.cpp b/TAO/orbsvcs/IFR_Service/TypeCodeFactoryC.cpp
deleted file mode 100644
index d7ed6ab373e..00000000000
--- a/TAO/orbsvcs/IFR_Service/TypeCodeFactoryC.cpp
+++ /dev/null
@@ -1,81 +0,0 @@
-/* -*- C++ -*- $Id$ */
-
-// ****** Code generated by the The ACE ORB (TAO) IDL Compiler *******
-// TAO and the TAO IDL Compiler have been developed by the Center for
-// Distributed Object Computing at Washington University, St. Louis.
-//
-// Information about TAO is available at:
-// http://www.cs.wustl.edu/~schmidt/TAO.html
-
-#include "TCF_Loader.h"
-
-#if !defined (__ACE_INLINE__)
-#include "TypeCodeFactoryC.inl"
-#endif /* !defined INLINE */
-
-// Default constructor.
-CORBA_TypeCodeFactory::CORBA_TypeCodeFactory (void)
-{}
-
-// Destructor.
-CORBA_TypeCodeFactory::~CORBA_TypeCodeFactory (void)
-{}
-
-CORBA::TypeCodeFactory_ptr CORBA::TypeCodeFactory::_narrow (
- CORBA::Object_ptr obj,
- CORBA::Environment &ACE_TRY_ENV
- )
-{
- return CORBA::TypeCodeFactory::_unchecked_narrow (obj, ACE_TRY_ENV);
-}
-
-CORBA::TypeCodeFactory_ptr CORBA::TypeCodeFactory::_unchecked_narrow (
- CORBA::Object_ptr obj,
- CORBA::Environment &
- )
-{
- if (CORBA::is_nil (obj))
- return CORBA::TypeCodeFactory::_nil ();
-
- return ACE_reinterpret_cast (
- CORBA::TypeCodeFactory_ptr,
- obj->_tao_QueryInterface (
- ACE_reinterpret_cast (
- ptr_arith_t,
- &CORBA::TypeCodeFactory::_narrow
- )
- )
- );
-}
-
-CORBA::TypeCodeFactory_ptr
-CORBA::TypeCodeFactory::_duplicate (CORBA::TypeCodeFactory_ptr obj)
-{
- if (!CORBA::is_nil (obj))
- obj->_add_ref ();
- return obj;
-}
-
-void *
-CORBA::TypeCodeFactory::_tao_QueryInterface (ptr_arith_t type)
-{
- void *retv = 0;
- if (type == ACE_reinterpret_cast
- (ptr_arith_t,
- &CORBA_TypeCodeFactory::_narrow))
- retv = ACE_reinterpret_cast (void*, this);
- else if (type == ACE_reinterpret_cast (ptr_arith_t, &CORBA::Object::_narrow))
- retv = ACE_reinterpret_cast (void *,
- ACE_static_cast (CORBA::Object_ptr, this));
-
- if (retv)
- this->_add_ref ();
- return retv;
-}
-
-const char *
-CORBA::TypeCodeFactory::_interface_repository_id (void) const
-{
- return "IDL:CORBA/TypeCodeFactory:1.0";
-}
-
diff --git a/TAO/orbsvcs/IFR_Service/TypeCodeFactoryC.h b/TAO/orbsvcs/IFR_Service/TypeCodeFactoryC.h
deleted file mode 100644
index 22cb881f517..00000000000
--- a/TAO/orbsvcs/IFR_Service/TypeCodeFactoryC.h
+++ /dev/null
@@ -1,319 +0,0 @@
-/* -*- C++ -*- $Id$ */
-
-// ****** Code generated by the The ACE ORB (TAO) IDL Compiler *******
-// TAO and the TAO IDL Compiler have been developed by the Center for
-// Distributed Object Computing at Washington University, St. Louis.
-//
-// Information about TAO is available at:
-// http://www.cs.wustl.edu/~schmidt/TAO.html
-
-#ifndef TAO_TYPECODEFACTORYC_H
-#define TAO_TYPECODEFACTORYC_H
-
-#ifndef TAO_TYPECODEFACTORY_SAFE_INCLUDE
-#error "You should not include TypeCodeFactoryC.h directly, use TCF_Loader.h"
-#endif /* !TAO_TYPECODEFACTORY_SAFE_INCLUDE */
-
-#include "ace/pre.h"
-#include "tao/corba.h"
-
-#if !defined (ACE_LACKS_PRAGMA_ONCE)
-# pragma once
-#endif /* ACE_LACKS_PRAGMA_ONCE */
-
-#include "tao/IFR_Client/InterfaceC.h"
-#include "TCF_Export.h"
-
-#if defined (TAO_EXPORT_NESTED_CLASSES)
-# if defined (TAO_EXPORT_NESTED_MACRO)
-# undef TAO_EXPORT_NESTED_MACRO
-# endif /* defined (TAO_EXPORT_NESTED_MACRO) */
-# define TAO_EXPORT_NESTED_MACRO TCF_Export
-#endif /* TAO_EXPORT_NESTED_CLASSES */
-
-#if defined(_MSC_VER)
-#if (_MSC_VER >= 1200)
-#pragma warning(push)
-#endif /* _MSC_VER >= 1200 */
-#pragma warning(disable:4250)
-#endif /* _MSC_VER */
-
-class TCF_Export CORBA_TypeCodeFactory_var : public TAO_Base_var
-{
-public:
- CORBA_TypeCodeFactory_var (void); // default constructor
- CORBA_TypeCodeFactory_var (CORBA_TypeCodeFactory_ptr);
- CORBA_TypeCodeFactory_var (const CORBA_TypeCodeFactory_var &); // copy constructor
- ~CORBA_TypeCodeFactory_var (void); // destructor
-
- CORBA_TypeCodeFactory_var &operator= (CORBA_TypeCodeFactory_ptr);
- CORBA_TypeCodeFactory_var &operator= (const CORBA_TypeCodeFactory_var &);
- CORBA_TypeCodeFactory_ptr operator-> (void) const;
-
- operator const CORBA_TypeCodeFactory_ptr &() const;
- operator CORBA_TypeCodeFactory_ptr &();
- // in, inout, out, _retn
- CORBA_TypeCodeFactory_ptr in (void) const;
- CORBA_TypeCodeFactory_ptr &inout (void);
- CORBA_TypeCodeFactory_ptr &out (void);
- CORBA_TypeCodeFactory_ptr _retn (void);
- CORBA_TypeCodeFactory_ptr ptr (void) const;
-
-private:
- CORBA_TypeCodeFactory_ptr ptr_;
- // Unimplemented - prevents widening assignment.
- CORBA_TypeCodeFactory_var (const TAO_Base_var &rhs);
- CORBA_TypeCodeFactory_var &operator= (const TAO_Base_var &rhs);
-};
-
-class TCF_Export CORBA_TypeCodeFactory_out
-{
-public:
- CORBA_TypeCodeFactory_out (CORBA_TypeCodeFactory_ptr &);
- CORBA_TypeCodeFactory_out (CORBA_TypeCodeFactory_var &);
- CORBA_TypeCodeFactory_out (const CORBA_TypeCodeFactory_out &);
- CORBA_TypeCodeFactory_out &operator= (const CORBA_TypeCodeFactory_out &);
- CORBA_TypeCodeFactory_out &operator= (const CORBA_TypeCodeFactory_var &);
- CORBA_TypeCodeFactory_out &operator= (CORBA_TypeCodeFactory_ptr);
- operator CORBA_TypeCodeFactory_ptr &();
- CORBA_TypeCodeFactory_ptr &ptr (void);
- CORBA_TypeCodeFactory_ptr operator-> (void);
-
-private:
- CORBA_TypeCodeFactory_ptr &ptr_;
-};
-
-class TCF_Export CORBA_TypeCodeFactory : public virtual ACE_CORBA_1 (Object)
- {
- public:
- #if !defined(__GNUC__) || !defined (ACE_HAS_GNUG_PRE_2_8)
- typedef CORBA_TypeCodeFactory_ptr _ptr_type;
- typedef CORBA_TypeCodeFactory_var _var_type;
- #endif /* ! __GNUC__ || g++ >= 2.8 */
-
- // the static operations
- static CORBA_TypeCodeFactory_ptr _duplicate (CORBA_TypeCodeFactory_ptr obj);
- static CORBA_TypeCodeFactory_ptr _narrow (
- CORBA::Object_ptr obj,
- CORBA::Environment &env =
- TAO_default_environment ()
- );
- static CORBA_TypeCodeFactory_ptr _unchecked_narrow (
- CORBA::Object_ptr obj,
- CORBA::Environment &env =
- TAO_default_environment ()
- );
- static CORBA_TypeCodeFactory_ptr _nil (void)
- {
- return (CORBA_TypeCodeFactory_ptr)0;
- }
-
- virtual CORBA::TypeCode_ptr create_struct_tc (
- const char * id,
- const char * name,
- const IR_StructMemberSeq & members,
- CORBA::Environment &ACE_TRY_ENV =
- TAO_default_environment ()
- )
- ACE_THROW_SPEC ((
- CORBA::SystemException
- )) = 0;
-
- virtual CORBA::TypeCode_ptr create_union_tc (
- const char * id,
- const char * name,
- CORBA::TypeCode_ptr discriminator_type,
- const IR_UnionMemberSeq & members,
- CORBA::Environment &ACE_TRY_ENV =
- TAO_default_environment ()
- )
- ACE_THROW_SPEC ((
- CORBA::SystemException
- )) = 0;
-
- virtual CORBA::TypeCode_ptr create_enum_tc (
- const char * id,
- const char * name,
- const IR_EnumMemberSeq & members,
- CORBA::Environment &ACE_TRY_ENV =
- TAO_default_environment ()
- )
- ACE_THROW_SPEC ((
- CORBA::SystemException
- )) = 0;
-
- virtual CORBA::TypeCode_ptr create_alias_tc (
- const char * id,
- const char * name,
- CORBA::TypeCode_ptr original_type,
- CORBA::Environment &ACE_TRY_ENV =
- TAO_default_environment ()
- )
- ACE_THROW_SPEC ((
- CORBA::SystemException
- )) = 0;
-
- virtual CORBA::TypeCode_ptr create_exception_tc (
- const char * id,
- const char * name,
- const IR_StructMemberSeq & members,
- CORBA::Environment &ACE_TRY_ENV =
- TAO_default_environment ()
- )
- ACE_THROW_SPEC ((
- CORBA::SystemException
- )) = 0;
-
- virtual CORBA::TypeCode_ptr create_interface_tc (
- const char * id,
- const char * name,
- CORBA::Environment &ACE_TRY_ENV =
- TAO_default_environment ()
- )
- ACE_THROW_SPEC ((
- CORBA::SystemException
- )) = 0;
-
- virtual CORBA::TypeCode_ptr create_string_tc (
- CORBA::ULong bound,
- CORBA::Environment &ACE_TRY_ENV =
- TAO_default_environment ()
- )
- ACE_THROW_SPEC ((
- CORBA::SystemException
- )) = 0;
-
- virtual CORBA::TypeCode_ptr create_wstring_tc (
- CORBA::ULong bound,
- CORBA::Environment &ACE_TRY_ENV =
- TAO_default_environment ()
- )
- ACE_THROW_SPEC ((
- CORBA::SystemException
- )) = 0;
-
- virtual CORBA::TypeCode_ptr create_fixed_tc (
- CORBA::UShort digits,
- CORBA::UShort scale,
- CORBA::Environment &ACE_TRY_ENV =
- TAO_default_environment ()
- )
- ACE_THROW_SPEC ((
- CORBA::SystemException
- )) = 0;
-
- virtual CORBA::TypeCode_ptr create_sequence_tc (
- CORBA::ULong bound,
- CORBA::TypeCode_ptr element_type,
- CORBA::Environment &ACE_TRY_ENV =
- TAO_default_environment ()
- )
- ACE_THROW_SPEC ((
- CORBA::SystemException
- )) = 0;
-
- virtual CORBA::TypeCode_ptr create_array_tc (
- CORBA::ULong length,
- CORBA::TypeCode_ptr element_type,
- CORBA::Environment &ACE_TRY_ENV =
- TAO_default_environment ()
- )
- ACE_THROW_SPEC ((
- CORBA::SystemException
- )) = 0;
-
- virtual CORBA::TypeCode_ptr create_value_tc (
- const char * id,
- const char * name,
- CORBA::ValueModifier type_modifier,
- CORBA::TypeCode_ptr concrete_base,
- const IR_ValueMemberSeq & members,
- CORBA::Environment &ACE_TRY_ENV =
- TAO_default_environment ()
- )
- ACE_THROW_SPEC ((
- CORBA::SystemException
- )) = 0;
-
- virtual CORBA::TypeCode_ptr create_value_box_tc (
- const char * id,
- const char * name,
- CORBA::TypeCode_ptr boxed_type,
- CORBA::Environment &ACE_TRY_ENV =
- TAO_default_environment ()
- )
- ACE_THROW_SPEC ((
- CORBA::SystemException
- )) = 0;
-
- virtual CORBA::TypeCode_ptr create_native_tc (
- const char * id,
- const char * name,
- CORBA::Environment &ACE_TRY_ENV =
- TAO_default_environment ()
- )
- ACE_THROW_SPEC ((
- CORBA::SystemException
- )) = 0;
-
- virtual CORBA::TypeCode_ptr create_recursive_tc (
- const char * id,
- CORBA::Environment &ACE_TRY_ENV =
- TAO_default_environment ()
- )
- ACE_THROW_SPEC ((
- CORBA::SystemException
- )) = 0;
-
- virtual CORBA::TypeCode_ptr create_abstract_interface_tc (
- const char * id,
- const char * name,
- CORBA::Environment &ACE_TRY_ENV =
- TAO_default_environment ()
- )
- ACE_THROW_SPEC ((
- CORBA::SystemException
- )) = 0;
-
- virtual CORBA::TypeCode_ptr create_component_tc (
- const char * id,
- const char * name,
- CORBA::Environment &ACE_TRY_ENV =
- TAO_default_environment ()
- )
- ACE_THROW_SPEC ((
- CORBA::SystemException
- )) = 0;
-
- virtual CORBA::TypeCode_ptr create_home_tc (
- const char * id,
- const char * name,
- CORBA::Environment &ACE_TRY_ENV =
- TAO_default_environment ()
- )
- ACE_THROW_SPEC ((
- CORBA::SystemException
- )) = 0;
-
- virtual void *_tao_QueryInterface (ptr_arith_t type);
-
- virtual const char* _interface_repository_id (void) const;
-
- protected:
- CORBA_TypeCodeFactory (void);
- virtual ~CORBA_TypeCodeFactory (void);
- private:
- CORBA_TypeCodeFactory (const CORBA_TypeCodeFactory &);
- void operator= (const CORBA_TypeCodeFactory &);
-};
-
-#if defined (__ACE_INLINE__)
-#include "TypeCodeFactoryC.inl"
-#endif /* defined INLINE */
-
-#if defined(_MSC_VER) && (_MSC_VER >= 1200)
-#pragma warning(pop)
-#endif /* _MSC_VER */
-
-#include "ace/post.h"
-#endif /* TAO_TYPECODEFACTORYC_H */
diff --git a/TAO/orbsvcs/IFR_Service/TypeCodeFactoryC.inl b/TAO/orbsvcs/IFR_Service/TypeCodeFactoryC.inl
deleted file mode 100644
index 16fd4e61250..00000000000
--- a/TAO/orbsvcs/IFR_Service/TypeCodeFactoryC.inl
+++ /dev/null
@@ -1,177 +0,0 @@
-/* -*- C++ -*- */
-//$Id$
-
-#if !defined (_CORBA_TYPECODEFACTORY___VAR_CI_)
-#define _CORBA_TYPECODEFACTORY___VAR_CI_
-
-// *************************************************************
-// Inline operations for class CORBA_TypeCodeFactory_var
-// *************************************************************
-
-ACE_INLINE
-CORBA_TypeCodeFactory_var::CORBA_TypeCodeFactory_var (void) // default constructor
- : ptr_ (CORBA_TypeCodeFactory::_nil ())
-{}
-
-ACE_INLINE
-CORBA_TypeCodeFactory_var::CORBA_TypeCodeFactory_var (CORBA_TypeCodeFactory_ptr p)
- : ptr_ (p)
-{}
-
-ACE_INLINE ::CORBA_TypeCodeFactory_ptr
-CORBA_TypeCodeFactory_var::ptr (void) const
-{
- return this->ptr_;
-}
-
-ACE_INLINE
-CORBA_TypeCodeFactory_var::CORBA_TypeCodeFactory_var (const ::CORBA_TypeCodeFactory_var &p) // copy constructor
- : TAO_Base_var (),
- ptr_ (CORBA_TypeCodeFactory::_duplicate (p.ptr ()))
-{}
-
-ACE_INLINE
-CORBA_TypeCodeFactory_var::~CORBA_TypeCodeFactory_var (void) // destructor
-{
- CORBA::release (this->ptr_);
-}
-
-ACE_INLINE CORBA_TypeCodeFactory_var &
-CORBA_TypeCodeFactory_var::operator= (CORBA_TypeCodeFactory_ptr p)
-{
- CORBA::release (this->ptr_);
- this->ptr_ = p;
- return *this;
-}
-
-ACE_INLINE CORBA_TypeCodeFactory_var &
-CORBA_TypeCodeFactory_var::operator= (const ::CORBA_TypeCodeFactory_var &p)
-{
- if (this != &p)
- {
- CORBA::release (this->ptr_);
- this->ptr_ = ::CORBA_TypeCodeFactory::_duplicate (p.ptr ());
- }
- return *this;
-}
-
-ACE_INLINE
-CORBA_TypeCodeFactory_var::operator const ::CORBA_TypeCodeFactory_ptr &() const // cast
-{
- return this->ptr_;
-}
-
-ACE_INLINE
-CORBA_TypeCodeFactory_var::operator ::CORBA_TypeCodeFactory_ptr &() // cast
-{
- return this->ptr_;
-}
-
-ACE_INLINE ::CORBA_TypeCodeFactory_ptr
-CORBA_TypeCodeFactory_var::operator-> (void) const
-{
- return this->ptr_;
-}
-
-ACE_INLINE ::CORBA_TypeCodeFactory_ptr
-CORBA_TypeCodeFactory_var::in (void) const
-{
- return this->ptr_;
-}
-
-ACE_INLINE ::CORBA_TypeCodeFactory_ptr &
-CORBA_TypeCodeFactory_var::inout (void)
-{
- return this->ptr_;
-}
-
-ACE_INLINE ::CORBA_TypeCodeFactory_ptr &
-CORBA_TypeCodeFactory_var::out (void)
-{
- CORBA::release (this->ptr_);
- this->ptr_ = ::CORBA_TypeCodeFactory::_nil ();
- return this->ptr_;
-}
-
-ACE_INLINE ::CORBA_TypeCodeFactory_ptr
-CORBA_TypeCodeFactory_var::_retn (void)
-{
- // yield ownership of managed obj reference
- ::CORBA_TypeCodeFactory_ptr val = this->ptr_;
- this->ptr_ = ::CORBA_TypeCodeFactory::_nil ();
- return val;
-}
-
-
-#endif /* end #if !defined */
-
-
-#if !defined (_CORBA_TYPECODEFACTORY___OUT_CI_)
-#define _CORBA_TYPECODEFACTORY___OUT_CI_
-
-// *************************************************************
-// Inline operations for class CORBA_TypeCodeFactory_out
-// *************************************************************
-
-ACE_INLINE
-CORBA_TypeCodeFactory_out::CORBA_TypeCodeFactory_out (CORBA_TypeCodeFactory_ptr &p)
- : ptr_ (p)
-{
- this->ptr_ = ::CORBA_TypeCodeFactory::_nil ();
-}
-
-ACE_INLINE
-CORBA_TypeCodeFactory_out::CORBA_TypeCodeFactory_out (CORBA_TypeCodeFactory_var &p) // constructor from _var
- : ptr_ (p.out ())
-{
- CORBA::release (this->ptr_);
- this->ptr_ = ::CORBA_TypeCodeFactory::_nil ();
-}
-
-ACE_INLINE
-CORBA_TypeCodeFactory_out::CORBA_TypeCodeFactory_out (const ::CORBA_TypeCodeFactory_out &p) // copy constructor
- : ptr_ (ACE_const_cast (CORBA_TypeCodeFactory_out &, p).ptr_)
-{}
-
-ACE_INLINE ::CORBA_TypeCodeFactory_out &
-CORBA_TypeCodeFactory_out::operator= (const ::CORBA_TypeCodeFactory_out &p)
-{
- this->ptr_ = ACE_const_cast (CORBA_TypeCodeFactory_out&, p).ptr_;
- return *this;
-}
-
-ACE_INLINE CORBA_TypeCodeFactory_out &
-CORBA_TypeCodeFactory_out::operator= (const ::CORBA_TypeCodeFactory_var &p)
-{
- this->ptr_ = ::CORBA_TypeCodeFactory::_duplicate (p.ptr ());
- return *this;
-}
-
-ACE_INLINE CORBA_TypeCodeFactory_out &
-CORBA_TypeCodeFactory_out::operator= (CORBA_TypeCodeFactory_ptr p)
-{
- this->ptr_ = p;
- return *this;
-}
-
-ACE_INLINE
-CORBA_TypeCodeFactory_out::operator ::CORBA_TypeCodeFactory_ptr &() // cast
-{
- return this->ptr_;
-}
-
-ACE_INLINE ::CORBA_TypeCodeFactory_ptr &
-CORBA_TypeCodeFactory_out::ptr (void) // ptr
-{
- return this->ptr_;
-}
-
-ACE_INLINE ::CORBA_TypeCodeFactory_ptr
-CORBA_TypeCodeFactory_out::operator-> (void)
-{
- return this->ptr_;
-}
-
-
-#endif /* end #if !defined */
-
diff --git a/TAO/orbsvcs/IFR_Service/TypeCodeFactory_DLL.bor b/TAO/orbsvcs/IFR_Service/TypeCodeFactory_DLL.bor
deleted file mode 100644
index 4443c5ac2a3..00000000000
--- a/TAO/orbsvcs/IFR_Service/TypeCodeFactory_DLL.bor
+++ /dev/null
@@ -1,34 +0,0 @@
-#
-# Makefile for building the TypeCodeFactory_DLL library
-#
-
-NAME = TypeCodeFactory_DLL
-
-OBJFILES = \
- $(OBJDIR)\TypeCodeFactoryC.obj \
- $(OBJDIR)\TypeCodeFactory_i.obj \
- $(OBJDIR)\TCF_Loader.obj
-
-!ifdef STATIC
-TCF_DLLFLAG=0
-!else
-TCF_DLLFLAG=1
-!endif
-
-CFLAGS = \
- $(ACE_CFLAGS) \
- $(TAO_CFLAGS) \
- $(TAO_PORTABLESERVER_CFLAGS) \
- $(TAO_IFR_CLIENT_CFLAGS) \
- -DTCF_HAS_DLL=$(TCF_DLLFLAG) \
- -DTCF_BUILD_DLL
-
-CPPDIR = .
-
-LIBFILES = \
- $(ACE_LIB) \
- $(TAO_LIB) \
- $(TAO_PORTABLESERVER_LIB) \
- $(TAO_IFR_CLIENT_LIB)
-
-!include <$(ACE_ROOT)\include\makeinclude\build_core_library.bor>
diff --git a/TAO/orbsvcs/IFR_Service/TypeCodeFactory_DLL.dsp b/TAO/orbsvcs/IFR_Service/TypeCodeFactory_DLL.dsp
deleted file mode 100644
index 24b73297bb7..00000000000
--- a/TAO/orbsvcs/IFR_Service/TypeCodeFactory_DLL.dsp
+++ /dev/null
@@ -1,137 +0,0 @@
-# Microsoft Developer Studio Project File - Name="TypeCodeFactory_DLL" - Package Owner=<4>
-# Microsoft Developer Studio Generated Build File, Format Version 6.00
-# ** DO NOT EDIT **
-
-# TARGTYPE "Win32 (x86) Dynamic-Link Library" 0x0102
-
-CFG=TypeCodeFactory_DLL - Win32 Debug
-!MESSAGE This is not a valid makefile. To build this project using NMAKE,
-!MESSAGE use the Export Makefile command and run
-!MESSAGE
-!MESSAGE NMAKE /f "TypeCodeFactory_DLL.mak".
-!MESSAGE
-!MESSAGE You can specify a configuration when running NMAKE
-!MESSAGE by defining the macro CFG on the command line. For example:
-!MESSAGE
-!MESSAGE NMAKE /f "TypeCodeFactory_DLL.mak" CFG="TypeCodeFactory_DLL - Win32 Debug"
-!MESSAGE
-!MESSAGE Possible choices for configuration are:
-!MESSAGE
-!MESSAGE "TypeCodeFactory_DLL - Win32 Release" (based on "Win32 (x86) Dynamic-Link Library")
-!MESSAGE "TypeCodeFactory_DLL - Win32 Debug" (based on "Win32 (x86) Dynamic-Link Library")
-!MESSAGE
-
-# Begin Project
-# PROP AllowPerConfigDependencies 0
-# PROP Scc_ProjName ""
-# PROP Scc_LocalPath ""
-CPP=cl.exe
-MTL=midl.exe
-RSC=rc.exe
-
-!IF "$(CFG)" == "TypeCodeFactory_DLL - Win32 Release"
-
-# PROP BASE Use_MFC 0
-# PROP BASE Use_Debug_Libraries 0
-# PROP BASE Output_Dir "Release"
-# PROP BASE Intermediate_Dir "Release"
-# PROP BASE Target_Dir ""
-# PROP Use_MFC 0
-# PROP Use_Debug_Libraries 0
-# PROP Output_Dir ""
-# PROP Intermediate_Dir ""
-# PROP Ignore_Export_Lib 0
-# PROP Target_Dir ""
-# ADD BASE CPP /nologo /MT /W3 /GX /O2 /D "WIN32" /D "NDEBUG" /D "_WINDOWS" /D "_MBCS" /D "_USRDLL" /D "TYPECODEFACTORY_DLL_EXPORTS" /YX /FD /c
-# ADD CPP /nologo /MD /W3 /GX /O2 /I "..\.." /I "..\..\.." /D TCF_HAS_DLL=1 /D "TCF_BUILD_DLL" /D "WIN32" /D "NDEBUG" /D "_WINDOWS" /FD /c
-# SUBTRACT CPP /YX
-# ADD BASE MTL /nologo /D "NDEBUG" /mktyplib203 /win32
-# ADD MTL /nologo /D "NDEBUG" /mktyplib203 /win32
-# ADD BASE RSC /l 0x409 /d "NDEBUG"
-# ADD RSC /l 0x409 /d "NDEBUG"
-BSC32=bscmake.exe
-# ADD BASE BSC32 /nologo
-# ADD BSC32 /nologo
-LINK32=link.exe
-# ADD BASE LINK32 kernel32.lib user32.lib gdi32.lib winspool.lib comdlg32.lib advapi32.lib shell32.lib ole32.lib oleaut32.lib uuid.lib odbc32.lib odbccp32.lib /nologo /dll /machine:I386
-# ADD LINK32 TAO_IFR_Client.lib TAO.lib ace.lib /nologo /dll /machine:I386 /out:"..\..\..\bin\TypeCodeFactory_DLL.dll" /libpath:"..\..\tao\IFR_Client" /libpath:"..\..\tao" /libpath:"..\..\..\ace"
-
-!ELSEIF "$(CFG)" == "TypeCodeFactory_DLL - Win32 Debug"
-
-# PROP BASE Use_MFC 0
-# PROP BASE Use_Debug_Libraries 1
-# PROP BASE Output_Dir "Debug"
-# PROP BASE Intermediate_Dir "Debug"
-# PROP BASE Target_Dir ""
-# PROP Use_MFC 0
-# PROP Use_Debug_Libraries 1
-# PROP Output_Dir ""
-# PROP Intermediate_Dir ""
-# PROP Ignore_Export_Lib 0
-# PROP Target_Dir ""
-# ADD BASE CPP /nologo /MTd /W3 /Gm /GX /Zi /Od /D "WIN32" /D "_DEBUG" /D "_WINDOWS" /D "_MBCS" /D "_USRDLL" /D "TYPECODEFACTORY_DLL_EXPORTS" /YX /FD /c
-# ADD CPP /nologo /MDd /W3 /Gm /GX /Zi /Od /I "..\.." /I "..\..\.." /D TCF_HAS_DLL=1 /D "TCF_BUILD_DLL" /D "WIN32" /D "_DEBUG" /D "_WINDOWS" /FD /c
-# SUBTRACT CPP /YX
-# ADD BASE MTL /nologo /D "_DEBUG" /mktyplib203 /win32
-# ADD MTL /nologo /D "_DEBUG" /mktyplib203 /win32
-# ADD BASE RSC /l 0x409 /d "_DEBUG"
-# ADD RSC /l 0x409 /d "_DEBUG"
-BSC32=bscmake.exe
-# ADD BASE BSC32 /nologo
-# ADD BSC32 /nologo
-LINK32=link.exe
-# ADD BASE LINK32 kernel32.lib user32.lib gdi32.lib winspool.lib comdlg32.lib advapi32.lib shell32.lib ole32.lib oleaut32.lib uuid.lib odbc32.lib odbccp32.lib /nologo /dll /debug /machine:I386 /pdbtype:sept
-# ADD LINK32 TAO_IFR_Clientd.lib TAOd.lib aced.lib /nologo /dll /debug /machine:I386 /out:"..\..\..\bin\TypeCodeFactory_DLLd.dll" /pdbtype:sept /libpath:"..\..\tao\IFR_Client" /libpath:"..\..\tao" /libpath:"..\..\..\ace"
-
-!ENDIF
-
-# Begin Target
-
-# Name "TypeCodeFactory_DLL - Win32 Release"
-# Name "TypeCodeFactory_DLL - Win32 Debug"
-# Begin Group "Source Files"
-
-# PROP Default_Filter "cpp;c;cxx;rc;def;r;odl;idl;hpj;bat"
-# Begin Source File
-
-SOURCE=.\TCF_Loader.cpp
-# End Source File
-# Begin Source File
-
-SOURCE=.\TypeCodeFactory_i.cpp
-# End Source File
-# Begin Source File
-
-SOURCE=.\TypeCodeFactoryC.cpp
-# End Source File
-# End Group
-# Begin Group "Header Files"
-
-# PROP Default_Filter "h;hpp;hxx;hm;inl"
-# Begin Source File
-
-SOURCE=.\TCF_Export.h
-# End Source File
-# Begin Source File
-
-SOURCE=.\TCF_Loader.h
-# End Source File
-# Begin Source File
-
-SOURCE=.\TypeCodeFactory_i.h
-# End Source File
-# Begin Source File
-
-SOURCE=.\TypeCodeFactoryC.h
-# End Source File
-# End Group
-# Begin Group "Inline Files"
-
-# PROP Default_Filter ".inl"
-# Begin Source File
-
-SOURCE=.\TypeCodeFactoryC.inl
-# End Source File
-# End Group
-# End Target
-# End Project
diff --git a/TAO/orbsvcs/IFR_Service/TypeCodeFactory_i.cpp b/TAO/orbsvcs/IFR_Service/TypeCodeFactory_i.cpp
deleted file mode 100644
index 95dcb3ba52f..00000000000
--- a/TAO/orbsvcs/IFR_Service/TypeCodeFactory_i.cpp
+++ /dev/null
@@ -1,811 +0,0 @@
-/* -*- C++ -*- */
-// $Id$
-
-#include "TypeCodeFactory_i.h"
-#include "tao/Marshal.h"
-
-ACE_RCSID(IFR_Service, TypeCodeFactory_i, "$Id$")
-
-TAO_TypeCodeFactory_i::TAO_TypeCodeFactory_i (void)
-{
-}
-
-TAO_TypeCodeFactory_i::~TAO_TypeCodeFactory_i (void)
-{
-}
-
-TAO_TypeCodeFactory_i *
-TAO_TypeCodeFactory_i::_narrow (CORBA::Object_ptr obj,
- CORBA::Environment &)
-{
- if (CORBA::is_nil (obj))
- return 0;
-
- return ACE_reinterpret_cast (
- TAO_TypeCodeFactory_i *,
- obj->_tao_QueryInterface (
- ACE_reinterpret_cast (
- ptr_arith_t,
- &TAO_TypeCodeFactory_i::_narrow
- )
- )
- );
-}
-
-void *
-TAO_TypeCodeFactory_i::_tao_QueryInterface (ptr_arith_t type)
-{
- ptr_arith_t mytype =
- ACE_reinterpret_cast (ptr_arith_t,
- &TAO_TypeCodeFactory_i::_narrow);
- if (type == mytype)
- {
- this->_add_ref ();
- return this;
- }
- return this->CORBA_TypeCodeFactory::_tao_QueryInterface (type);
-}
-
-CORBA::TypeCode_ptr
-TAO_TypeCodeFactory_i::create_struct_tc (
- const char *id,
- const char *name,
- const IR::StructMemberSeq &members,
- CORBA::Environment &ACE_TRY_ENV
- )
- ACE_THROW_SPEC ((CORBA::SystemException))
-{
- TAO_OutputCDR cdr;
-
- cdr << TAO_ENCAP_BYTE_ORDER;
-
- cdr << id;
-
- cdr << name;
-
- // Number of members..
- CORBA::ULong len = members.length ();
- cdr << len;
-
- for (CORBA::ULong index = 0; index < len; index++)
- {
- cdr << members[index].name;
-
- cdr << members[index].type.in ();
- }
-
- CORBA::TypeCode_ptr struct_typecode =
- CORBA::TypeCode::_nil ();
- ACE_NEW_THROW_EX (struct_typecode,
- CORBA_TypeCode (CORBA::tk_struct,
- cdr.total_length (),
- cdr.buffer (),
- 0,
- 0),
- CORBA::NO_MEMORY ());
- ACE_CHECK_RETURN (CORBA::TypeCode::_nil ());
-
- return struct_typecode;
-}
-
-CORBA::TypeCode_ptr
-TAO_TypeCodeFactory_i::create_union_tc (
- const char *id,
- const char *name,
- CORBA::TypeCode_ptr discriminator_type,
- const IR::UnionMemberSeq &members,
- CORBA::Environment &ACE_TRY_ENV
- )
- ACE_THROW_SPEC ((CORBA::SystemException))
-{
- TAO_OutputCDR cdr;
-
- cdr << TAO_ENCAP_BYTE_ORDER;
-
- cdr << id;
-
- cdr << name;
-
- cdr << discriminator_type;
-
- CORBA::ULong len = members.length ();
- CORBA::ULong dups = 0;
- CORBA::Long default_index = -1;
- CORBA::Long raw_default_index = -1;
- CORBA::Octet value = ACE_OCTET_MAX;
-
- for (CORBA::ULong i = 0; i < len; i++)
- {
- if (i > 0)
- {
- // Is this a duplicate case label? If so, we have to adjust
- // the 'length' we encode - a member gets encoded only once.
- if (ACE_OS::strcmp (members[i].name,
- members[i - 1].name)
- == 0)
- {
- ++dups;
- }
- }
- // Reset the default index, if we have a default case label.
- if ((members[i].label >>= CORBA::Any::to_octet (value)) == 1)
- {
- if (value == 0)
- {
- raw_default_index = ACE_static_cast (CORBA::Long, i);
- // Only the multiple labels that come before the
- // default label affect its adjusted value.
- default_index = ACE_static_cast (CORBA::Long, i - dups);
- }
- }
- }
-
- cdr << default_index;
-
- cdr << len - dups;
-
- for (CORBA::ULong index = 0; index < len; index++)
- {
- if (index > 0)
- {
- // Is this a duplicate case label? If so, skip it - a member
- // goes into the typecode only once.
- if (ACE_OS::strcmp (members[index].name,
- members[index - 1].name)
- == 0)
- continue;
- }
-
- if (raw_default_index >= 0
- && index == ACE_static_cast (CORBA::ULong, raw_default_index))
- {
- // This is the default label - we have to find a legal value.
- CORBA::TCKind kind = discriminator_type->kind (ACE_TRY_ENV);
- ACE_CHECK_RETURN (CORBA::TypeCode::_nil ());
-
- this->compute_default_label (kind,
- index,
- members,
- cdr);
- }
- else
- {
- // Interpretive marshaling refuses to die ;-).
- TAO_InputCDR in (members[index].label._tao_get_cdr (),
- members[index].label._tao_byte_order ());
-
- CORBA::TypeCode_var tc = members[index].label.type ();
-
- (void) TAO_Marshal_Object::perform_append (tc.in (),
- &in,
- &cdr,
- ACE_TRY_ENV);
- ACE_CHECK_RETURN (CORBA::TypeCode::_nil ());
- }
-
- cdr << members[index].name;
-
- cdr << members[index].type.in ();
- }
-
- CORBA::TypeCode_ptr union_typecode =
- CORBA::TypeCode::_nil ();
- ACE_NEW_THROW_EX (union_typecode,
- CORBA_TypeCode (CORBA::tk_union,
- cdr.total_length (),
- cdr.buffer (),
- 0,
- 0),
- CORBA::NO_MEMORY ());
- ACE_CHECK_RETURN (CORBA::TypeCode::_nil ());
-
- return union_typecode;
-}
-
-CORBA::TypeCode_ptr
-TAO_TypeCodeFactory_i::create_enum_tc (
- const char *id,
- const char *name,
- const IR::EnumMemberSeq &members,
- CORBA::Environment &ACE_TRY_ENV
- )
- ACE_THROW_SPEC ((CORBA::SystemException))
-{
- TAO_OutputCDR cdr;
-
- // The piece of code that follows has been based
- // on the code in the IDL compiler
- cdr << TAO_ENCAP_BYTE_ORDER; // Byte Order
-
- cdr << id;
-
- cdr << name;
-
- CORBA::ULong len = members.length ();
-
- cdr << len;
-
- for (CORBA::ULong index = 0; index < len; index++)
- {
- cdr << members[index];
- }
-
- CORBA::TypeCode_ptr enum_typecode =
- CORBA::TypeCode::_nil ();
- ACE_NEW_THROW_EX (enum_typecode,
- CORBA_TypeCode (CORBA::tk_enum,
- cdr.total_length (),
- cdr.buffer (),
- 0,
- 0),
- CORBA::NO_MEMORY ());
- ACE_CHECK_RETURN (CORBA::TypeCode::_nil ());
-
- return enum_typecode;
-}
-
-CORBA::TypeCode_ptr
-TAO_TypeCodeFactory_i::create_alias_tc (
- const char *id,
- const char *name,
- CORBA::TypeCode_ptr original_type,
- CORBA::Environment &ACE_TRY_ENV
- )
- ACE_THROW_SPEC ((CORBA::SystemException))
-{
- TAO_OutputCDR cdr;
-
- cdr << TAO_ENCAP_BYTE_ORDER;
-
- cdr << id;
-
- cdr << name;
-
- cdr << original_type;
-
- CORBA::TypeCode_ptr alias_typecode =
- CORBA::TypeCode::_nil ();
-
- ACE_NEW_THROW_EX (alias_typecode,
- CORBA_TypeCode (CORBA::tk_alias,
- cdr.total_length (),
- cdr.buffer (),
- 0,
- 0),
- CORBA::NO_MEMORY ());
- ACE_CHECK_RETURN (CORBA::TypeCode::_nil ());
-
- return alias_typecode;
-}
-
-CORBA::TypeCode_ptr
-TAO_TypeCodeFactory_i::create_exception_tc (
- const char *id,
- const char *name,
- const IR::StructMemberSeq &members,
- CORBA::Environment &ACE_TRY_ENV
- )
- ACE_THROW_SPEC ((CORBA::SystemException))
-{
- TAO_OutputCDR cdr;
-
- // The piece of code that follows has been based
- // on the code in the IDL compiler
- cdr << TAO_ENCAP_BYTE_ORDER; // Byte Order
-
- cdr << id;
-
- cdr << name;
-
- // Number of members..
- CORBA::ULong len = members.length ();
- cdr << len;
-
- for (CORBA::ULong index = 0; index < len; index++)
- {
- // Get the first member which is a string..
- IR::StructMember struct_member = members[index];
-
- cdr << struct_member.name;
-
- cdr << struct_member.type.in ();
- }
-
- CORBA::TypeCode_ptr exception_typecode =
- CORBA::TypeCode::_nil ();
- ACE_NEW_THROW_EX (exception_typecode,
- CORBA_TypeCode (CORBA::tk_except,
- cdr.total_length (),
- cdr.buffer (),
- 0,
- 0),
- CORBA::NO_MEMORY ());
- ACE_CHECK_RETURN (CORBA::TypeCode::_nil ());
-
- return exception_typecode;
-}
-
-CORBA::TypeCode_ptr
-TAO_TypeCodeFactory_i::create_interface_tc (
- const char *id,
- const char *name,
- CORBA::Environment &ACE_TRY_ENV
- )
- ACE_THROW_SPEC ((CORBA::SystemException))
-{
- TAO_OutputCDR cdr;
-
- // The piece of code that follows has been based
- // on the code in the IDL compiler
- cdr << TAO_ENCAP_BYTE_ORDER; // Byte Order
-
- // Use the overloaded operator from the TAO_Output CDR class
- cdr << id;
-
- // Send the name
- cdr << name;
-
- CORBA::TypeCode_ptr interface_typecode =
- CORBA::TypeCode::_nil ();
- ACE_NEW_THROW_EX (interface_typecode,
- CORBA_TypeCode (CORBA::tk_objref,
- cdr.total_length (),
- cdr.buffer (),
- 0,
- 0),
- CORBA::NO_MEMORY ());
- ACE_CHECK_RETURN (CORBA::TypeCode::_nil ());
-
- return interface_typecode;
-}
-
-CORBA::TypeCode_ptr
-TAO_TypeCodeFactory_i::create_string_tc (
- CORBA::ULong bound,
- CORBA::Environment &ACE_TRY_ENV
- )
- ACE_THROW_SPEC ((CORBA::SystemException))
-{
- TAO_OutputCDR cdr;
-
- cdr << TAO_ENCAP_BYTE_ORDER;
-
- cdr << bound;
-
- CORBA::TypeCode_ptr string_typecode =
- CORBA::TypeCode::_nil ();
- ACE_NEW_THROW_EX (string_typecode,
- CORBA_TypeCode (CORBA::tk_string,
- cdr.total_length (),
- cdr.buffer (),
- 0,
- 0),
- CORBA::NO_MEMORY ());
- ACE_CHECK_RETURN (CORBA::TypeCode::_nil ());
-
- return string_typecode;
-}
-
-CORBA::TypeCode_ptr
-TAO_TypeCodeFactory_i::create_wstring_tc (
- CORBA::ULong bound,
- CORBA::Environment &ACE_TRY_ENV
- )
- ACE_THROW_SPEC ((CORBA::SystemException))
-{
- TAO_OutputCDR cdr;
-
- cdr << TAO_ENCAP_BYTE_ORDER;
-
- cdr << bound;
-
- CORBA::TypeCode_ptr wstring_typecode =
- CORBA::TypeCode::_nil ();
- ACE_NEW_THROW_EX (wstring_typecode,
- CORBA_TypeCode (CORBA::tk_wstring,
- cdr.total_length (),
- cdr.buffer (),
- 0,
- 0),
- CORBA::NO_MEMORY ());
- ACE_CHECK_RETURN (CORBA::TypeCode::_nil ());
-
- return wstring_typecode;
-}
-
-CORBA::TypeCode_ptr
-TAO_TypeCodeFactory_i::create_fixed_tc (
- CORBA::UShort /* digits */,
- CORBA::UShort /* scale */,
- CORBA::Environment & /* ACE_TRY_ENV */
- )
- ACE_THROW_SPEC ((CORBA::SystemException))
-{
- // TODO
- return 0;
-}
-
-CORBA::TypeCode_ptr
-TAO_TypeCodeFactory_i::create_sequence_tc (
- CORBA::ULong bound,
- CORBA::TypeCode_ptr element_type,
- CORBA::Environment &ACE_TRY_ENV
- )
- ACE_THROW_SPEC ((CORBA::SystemException))
-{
- TAO_OutputCDR cdr;
-
- cdr << TAO_ENCAP_BYTE_ORDER;
-
- cdr << element_type;
-
- cdr << bound;
-
- CORBA::TypeCode_ptr sequence_typecode =
- CORBA::TypeCode::_nil ();
- ACE_NEW_THROW_EX (sequence_typecode,
- CORBA_TypeCode (CORBA::tk_sequence,
- cdr.total_length (),
- cdr.buffer (),
- 0,
- 0),
- CORBA::NO_MEMORY ());
- ACE_CHECK_RETURN (CORBA::TypeCode::_nil ());
-
- return sequence_typecode;
-}
-
-CORBA::TypeCode_ptr
-TAO_TypeCodeFactory_i::create_array_tc (
- CORBA::ULong length,
- CORBA::TypeCode_ptr element_type,
- CORBA::Environment &ACE_TRY_ENV
- )
- ACE_THROW_SPEC ((CORBA::SystemException))
-{
- TAO_OutputCDR cdr;
-
- cdr << TAO_ENCAP_BYTE_ORDER;
-
- cdr << element_type;
-
- cdr << length;
-
- CORBA::TypeCode_ptr array_typecode =
- CORBA::TypeCode::_nil ();
- ACE_NEW_THROW_EX (array_typecode,
- CORBA_TypeCode (CORBA::tk_array,
- cdr.total_length (),
- cdr.buffer (),
- 0,
- 0),
- CORBA::NO_MEMORY ());
- ACE_CHECK_RETURN (CORBA::TypeCode::_nil ());
-
- return array_typecode;
-}
-
-CORBA::TypeCode_ptr
-TAO_TypeCodeFactory_i::create_value_tc (
- const char * /* id */,
- const char * /* name */,
- CORBA::ValueModifier /* type_modifier */,
- CORBA::TypeCode_ptr /* concrete_base */,
- const IR::ValueMemberSeq & /* members */,
- CORBA::Environment & /* ACE_TRY_ENV */
- )
- ACE_THROW_SPEC ((CORBA::SystemException))
-{
- // TODO
- return 0;
-}
-
-CORBA::TypeCode_ptr
-TAO_TypeCodeFactory_i::create_value_box_tc (
- const char *id,
- const char *name,
- CORBA::TypeCode_ptr boxed_type,
- CORBA::Environment &ACE_TRY_ENV
- )
- ACE_THROW_SPEC ((CORBA::SystemException))
-{
- TAO_OutputCDR cdr;
-
- cdr << TAO_ENCAP_BYTE_ORDER;
-
- cdr << id;
-
- cdr << name;
-
- cdr << boxed_type;
-
- CORBA::TypeCode_ptr value_box_typecode =
- CORBA::TypeCode::_nil ();
-
- ACE_NEW_THROW_EX (value_box_typecode,
- CORBA_TypeCode (CORBA::tk_value_box,
- cdr.total_length (),
- cdr.buffer (),
- 0,
- 0),
- CORBA::NO_MEMORY ());
- ACE_CHECK_RETURN (CORBA::TypeCode::_nil ());
-
- return value_box_typecode;
-}
-
-CORBA::TypeCode_ptr
-TAO_TypeCodeFactory_i::create_native_tc (
- const char *id,
- const char *name,
- CORBA::Environment &ACE_TRY_ENV
- )
- ACE_THROW_SPEC ((CORBA::SystemException))
-{
- TAO_OutputCDR cdr;
-
- cdr << TAO_ENCAP_BYTE_ORDER;
-
- cdr << id;
-
- cdr << name;
-
- CORBA::TypeCode_ptr native_typecode =
- CORBA::TypeCode::_nil ();
-
- ACE_NEW_THROW_EX (native_typecode,
- CORBA_TypeCode (CORBA::tk_native,
- cdr.total_length (),
- cdr.buffer (),
- 0,
- 0),
- CORBA::NO_MEMORY ());
- ACE_CHECK_RETURN (CORBA::TypeCode::_nil ());
-
- return native_typecode;
-}
-
-CORBA::TypeCode_ptr
-TAO_TypeCodeFactory_i::create_recursive_tc (
- const char * /* id */,
- CORBA::Environment & /* ACE_TRY_ENV */
- )
- ACE_THROW_SPEC ((CORBA::SystemException))
-{
- // TODO
- return 0;
-}
-
-CORBA::TypeCode_ptr
-TAO_TypeCodeFactory_i::create_abstract_interface_tc (
- const char * /* id */,
- const char * /* name */,
- CORBA::Environment & /* ACE_TRY_ENV */
- )
- ACE_THROW_SPEC ((CORBA::SystemException))
-{
- // TODO
- return 0;
-}
-
-CORBA::TypeCode_ptr
-TAO_TypeCodeFactory_i::create_component_tc (
- const char * /* id */,
- const char * /* name */,
- CORBA::Environment & /* ACE_TRY_ENV */
- )
- ACE_THROW_SPEC ((CORBA::SystemException))
-{
- // TODO
- return 0;
-}
-
-CORBA::TypeCode_ptr
-TAO_TypeCodeFactory_i::create_home_tc (
- const char * /* id */,
- const char * /* name */,
- CORBA::Environment & /* ACE_TRY_ENV */
- )
- ACE_THROW_SPEC ((CORBA::SystemException))
-{
- // TODO
- return 0;
-}
-
-void
-TAO_TypeCodeFactory_i::compute_default_label (CORBA::TCKind kind,
- CORBA::ULong skip_slot,
- const IR::UnionMemberSeq &members,
- TAO_OutputCDR &cdr)
-{
- // One to hold the current default value, one to
- // hold the curent label's extracted value.
- union disc_types
- {
- CORBA::Char char_val;
- CORBA::WChar wchar_val;
- CORBA::Boolean bool_val;
- CORBA::Short short_val;
- CORBA::UShort ushort_val;
- CORBA::Long long_val;
- CORBA::ULong ulong_val;
- CORBA::ULongLong ulonglong_val;
- CORBA::ULong enum_val;
- // TODO - handle (u)longlong types
- } dv, u;
-
- // To prevent 'may be uninitialized' warnings.
- dv.ulonglong_val = 0;
-
- // Set these to the minimum value they can have.
- switch (kind)
- {
- case CORBA::tk_char:
- dv.char_val = 0;
- break;
- case CORBA::tk_wchar:
- dv.wchar_val = 0;
- break;
- case CORBA::tk_boolean:
- dv.bool_val = 0;
- break;
- case CORBA::tk_short:
- dv.short_val = ACE_INT16_MIN;
- break;
- case CORBA::tk_ushort:
- dv.ushort_val = 0;
- break;
- case CORBA::tk_long:
- dv.long_val = ACE_INT32_MIN;
- break;
- case CORBA::tk_ulong:
- dv.ulong_val = 0;
- break;
- case CORBA::tk_ulonglong:
- dv.ulonglong_val = 0;
- break;
- case CORBA::tk_enum:
- dv.enum_val = 0;
- break;
- default:
- break;
- }
-
- CORBA::ULong len = members.length ();
- int success = 0;
-
- // A collision forces us to start over, because the label
- // values need not be in sorted order.
- while (success == 0)
- {
- success = 1;
-
- for (CORBA::ULong i = 0; i < len; i++)
- {
- // This is the one we're trying to find a legal value for.
- if (i == skip_slot)
- continue;
-
- // If there's a collision, we increment the default value.
- switch (kind)
- {
- case CORBA::tk_char:
- members[i].label >>= CORBA::Any::to_char (u.char_val);
- if (u.char_val == dv.char_val)
- {
- dv.char_val++;
- success = 0;
- }
- break;
- case CORBA::tk_wchar:
- members[i].label >>= CORBA::Any::to_wchar (u.wchar_val);
- if (u.wchar_val == dv.wchar_val)
- {
- dv.wchar_val++;
- success = 0;
- }
- break;
- case CORBA::tk_boolean:
- members[i].label >>= CORBA::Any::to_boolean (u.bool_val);
- if (u.bool_val == dv.bool_val)
- {
- dv.bool_val++;
- success = 0;
- }
- break;
- case CORBA::tk_short:
- members[i].label >>= u.short_val;
- if (u.short_val == dv.short_val)
- {
- dv.short_val++;
- success = 0;
- }
- break;
- case CORBA::tk_ushort:
- members[i].label >>= u.ushort_val;
- if (u.ushort_val == dv.ushort_val)
- {
- dv.ushort_val++;
- success = 0;
- }
- break;
- case CORBA::tk_long:
- members[i].label >>= u.long_val;
- if (u.long_val == dv.long_val)
- {
- dv.long_val++;
- success = 0;
- }
- break;
- case CORBA::tk_ulong:
- members[i].label >>= u.ulong_val;
- if (u.ulong_val == dv.ulong_val)
- {
- dv.ulong_val++;
- success = 0;
- }
- break;
- case CORBA::tk_ulonglong:
- members[i].label >>= u.ulonglong_val;
- if (u.ulonglong_val == dv.ulonglong_val)
- {
- dv.ulonglong_val++;
- success = 0;
- }
- break;
- case CORBA::tk_enum:
- {
- TAO_InputCDR cdr (members[i].label._tao_get_cdr (),
- members[i].label._tao_byte_order ());
- cdr.read_ulong (u.enum_val);
- if (u.enum_val == dv.enum_val)
- {
- dv.enum_val++;
- success = 0;
- }
- break;
- }
- default:
- break;
- }
-
- // If there's been a collision, we should start over right away.
- if (success == 0)
- break;
- }
- }
-
- // Add the default value to the encapsulation.
- switch (kind)
- {
- case CORBA::tk_char:
- cdr << CORBA::Any::from_char (dv.char_val);
- break;
- case CORBA::tk_wchar:
- cdr << CORBA::Any::from_wchar (dv.wchar_val);
- break;
- case CORBA::tk_boolean:
- cdr << CORBA::Any::from_boolean (dv.bool_val);
- break;
- case CORBA::tk_short:
- cdr << dv.short_val;
- break;
- case CORBA::tk_ushort:
- cdr << dv.ushort_val;
- break;
- case CORBA::tk_long:
- cdr << dv.long_val;
- break;
- case CORBA::tk_ulong:
- cdr << dv.ulong_val;
- break;
- case CORBA::tk_ulonglong:
- cdr << dv.ulonglong_val;
- break;
- case CORBA::tk_enum:
- cdr << dv.enum_val;
- break;
- default:
- break;
- }
-}
diff --git a/TAO/orbsvcs/IFR_Service/TypeCodeFactory_i.h b/TAO/orbsvcs/IFR_Service/TypeCodeFactory_i.h
deleted file mode 100644
index 448fb843f2f..00000000000
--- a/TAO/orbsvcs/IFR_Service/TypeCodeFactory_i.h
+++ /dev/null
@@ -1,226 +0,0 @@
-// $Id$
-
-// ============================================================================
-//
-// = LIBRARY
-// TAO/orbsvcs/IFR_Service
-//
-// = FILENAME
-// TypeCodeFactory_i.h
-//
-// = AUTHOR
-// Jeff Parsons
-//
-// ============================================================================
-
-#ifndef TAO_TYPECODEFACTORY_I_H
-#define TAO_TYPECODEFACTORY_I_H
-#include "ace/pre.h"
-
-#include "TCF_Loader.h"
-
-#if !defined (ACE_LACKS_PRAGMA_ONCE)
-# pragma once
-#endif /* ACE_LACKS_PRAGMA_ONCE */
-
-#if defined (_MSC_VER)
-# if (_MSC_VER >= 1200)
-# pragma warning(push)
-# endif /* _MSC_VER >= 1200 */
-# pragma warning (disable:4250)
-#endif /* _MSC_VER */
-
-class TCF_Export TAO_TypeCodeFactory_i
- : public virtual CORBA_TypeCodeFactory,
- public virtual TAO_Local_RefCounted_Object
-{
- // = TITLE
- // TAO_TypeCodeFactory_i
- //
- // = DESCRIPTION
- // Implementation of the CORBA::TypeCodeFactory interface
- //
-public:
- TAO_TypeCodeFactory_i (void);
- // ctor
-
- ~TAO_TypeCodeFactory_i (void);
- // dtor
-
- // = LocalObject methods
- static TAO_TypeCodeFactory_i *_narrow (
- CORBA::Object_ptr obj,
- CORBA::Environment &ACE_TRY_ENV =
- TAO_default_environment ()
- );
- virtual void *_tao_QueryInterface (ptr_arith_t type);
-
- virtual CORBA::TypeCode_ptr create_struct_tc (
- const char *id,
- const char *name,
- const IR::StructMemberSeq &members,
- CORBA::Environment &ACE_TRY_ENV =
- TAO_default_environment ()
- )
- ACE_THROW_SPEC ((CORBA::SystemException));
-
- virtual CORBA::TypeCode_ptr create_union_tc (
- const char *id,
- const char *name,
- CORBA::TypeCode_ptr discriminator_type,
- const IR::UnionMemberSeq &members,
- CORBA::Environment &ACE_TRY_ENV =
- TAO_default_environment ()
- )
- ACE_THROW_SPEC ((CORBA::SystemException));
-
- virtual CORBA::TypeCode_ptr create_enum_tc (
- const char *id,
- const char *name,
- const IR::EnumMemberSeq &members,
- CORBA::Environment &ACE_TRY_ENV =
- TAO_default_environment ()
- )
- ACE_THROW_SPEC ((CORBA::SystemException));
-
- virtual CORBA::TypeCode_ptr create_alias_tc (
- const char *id,
- const char *name,
- CORBA::TypeCode_ptr original_type,
- CORBA::Environment &ACE_TRY_ENV =
- TAO_default_environment ()
- )
- ACE_THROW_SPEC ((CORBA::SystemException));
-
- virtual CORBA::TypeCode_ptr create_exception_tc (
- const char *id,
- const char *name,
- const IR::StructMemberSeq &members,
- CORBA::Environment &ACE_TRY_ENV =
- TAO_default_environment ()
- )
- ACE_THROW_SPEC ((CORBA::SystemException));
-
- virtual CORBA::TypeCode_ptr create_interface_tc (
- const char *id,
- const char *name,
- CORBA::Environment &ACE_TRY_ENV =
- TAO_default_environment ()
- )
- ACE_THROW_SPEC ((CORBA::SystemException));
-
- virtual CORBA::TypeCode_ptr create_string_tc (
- CORBA::ULong bound,
- CORBA::Environment &ACE_TRY_ENV =
- TAO_default_environment ()
- )
- ACE_THROW_SPEC ((CORBA::SystemException));
-
- virtual CORBA::TypeCode_ptr create_wstring_tc (
- CORBA::ULong bound,
- CORBA::Environment &ACE_TRY_ENV =
- TAO_default_environment ()
- )
- ACE_THROW_SPEC ((CORBA::SystemException));
-
- virtual CORBA::TypeCode_ptr create_fixed_tc (
- CORBA::UShort digits,
- CORBA::UShort scale,
- CORBA::Environment &ACE_TRY_ENV =
- TAO_default_environment ()
- )
- ACE_THROW_SPEC ((CORBA::SystemException));
-
- virtual CORBA::TypeCode_ptr create_sequence_tc (
- CORBA::ULong bound,
- CORBA::TypeCode_ptr element_type,
- CORBA::Environment &ACE_TRY_ENV =
- TAO_default_environment ()
- )
- ACE_THROW_SPEC ((CORBA::SystemException));
-
- virtual CORBA::TypeCode_ptr create_array_tc (
- CORBA::ULong length,
- CORBA::TypeCode_ptr element_type,
- CORBA::Environment &ACE_TRY_ENV =
- TAO_default_environment ()
- )
- ACE_THROW_SPEC ((CORBA::SystemException));
-
- virtual CORBA::TypeCode_ptr create_value_tc (
- const char *id,
- const char *name,
- CORBA::ValueModifier type_modifier,
- CORBA::TypeCode_ptr concrete_base,
- const IR::ValueMemberSeq &members,
- CORBA::Environment &ACE_TRY_ENV =
- TAO_default_environment ()
- )
- ACE_THROW_SPEC ((CORBA::SystemException));
-
- virtual CORBA::TypeCode_ptr create_value_box_tc (
- const char *id,
- const char *name,
- CORBA::TypeCode_ptr boxed_type,
- CORBA::Environment &ACE_TRY_ENV =
- TAO_default_environment ()
- )
- ACE_THROW_SPEC ((CORBA::SystemException));
-
- virtual CORBA::TypeCode_ptr create_native_tc (
- const char *id,
- const char *name,
- CORBA::Environment &ACE_TRY_ENV =
- TAO_default_environment ()
- )
- ACE_THROW_SPEC ((CORBA::SystemException));
-
- virtual CORBA::TypeCode_ptr create_recursive_tc (
- const char *id,
- CORBA::Environment &ACE_TRY_ENV =
- TAO_default_environment ()
- )
- ACE_THROW_SPEC ((CORBA::SystemException));
-
- virtual CORBA::TypeCode_ptr create_abstract_interface_tc (
- const char *id,
- const char *name,
- CORBA::Environment &ACE_TRY_ENV =
- TAO_default_environment ()
- )
- ACE_THROW_SPEC ((CORBA::SystemException));
-
- virtual CORBA::TypeCode_ptr create_component_tc (
- const char *id,
- const char *name,
- CORBA::Environment &ACE_TRY_ENV =
- TAO_default_environment ()
- )
- ACE_THROW_SPEC ((CORBA::SystemException));
-
- virtual CORBA::TypeCode_ptr create_home_tc (
- const char *id,
- const char *name,
- CORBA::Environment &ACE_TRY_ENV =
- TAO_default_environment ()
- )
- ACE_THROW_SPEC ((CORBA::SystemException));
-
-private:
- // Finds a legal default label value.
- void compute_default_label (CORBA::TCKind kind,
- CORBA::ULong skip_slot,
- const IR::UnionMemberSeq &members,
- TAO_OutputCDR &cdr);
-
- // Prohibited
- TAO_TypeCodeFactory_i (const TAO_TypeCodeFactory_i &src);
- TAO_TypeCodeFactory_i &operator= (const TAO_TypeCodeFactory_i &src);
-};
-
-#if defined(_MSC_VER) && (_MSC_VER >= 1200)
-# pragma warning(pop)
-#endif /* _MSC_VER */
-
-#include "ace/post.h"
-#endif /* TAO_TYPECODEFACTORY_I_H */
diff --git a/TAO/orbsvcs/IFR_Service/TypedefDef_i.cpp b/TAO/orbsvcs/IFR_Service/TypedefDef_i.cpp
index d27f706c1f6..523d1c56536 100644
--- a/TAO/orbsvcs/IFR_Service/TypedefDef_i.cpp
+++ b/TAO/orbsvcs/IFR_Service/TypedefDef_i.cpp
@@ -20,7 +20,7 @@ TAO_TypedefDef_i::~TAO_TypedefDef_i (void)
{
}
-IR_Contained::Description *
+CORBA_Contained::Description *
TAO_TypedefDef_i::describe (CORBA::Environment &ACE_TRY_ENV)
ACE_THROW_SPEC ((CORBA::SystemException))
{
@@ -29,22 +29,22 @@ TAO_TypedefDef_i::describe (CORBA::Environment &ACE_TRY_ENV)
return this->describe_i (ACE_TRY_ENV);
}
-IR_Contained::Description *
+CORBA_Contained::Description *
TAO_TypedefDef_i::describe_i (CORBA::Environment &ACE_TRY_ENV)
ACE_THROW_SPEC ((CORBA::SystemException))
{
- IR_Contained::Description *desc_ptr = 0;
+ CORBA_Contained::Description *desc_ptr = 0;
ACE_NEW_THROW_EX (desc_ptr,
- IR_Contained::Description,
+ CORBA_Contained::Description,
CORBA::NO_MEMORY ());
ACE_CHECK_RETURN (0);
- IR_Contained::Description_var retval = desc_ptr;
+ CORBA_Contained::Description_var retval = desc_ptr;
retval->kind = this->def_kind (ACE_TRY_ENV);
ACE_CHECK_RETURN (0);
- IR_TypeDescription td;
+ CORBA_TypeDescription td;
ACE_CHECK_RETURN (0);
td.name = this->name_i (ACE_TRY_ENV);
diff --git a/TAO/orbsvcs/IFR_Service/TypedefDef_i.h b/TAO/orbsvcs/IFR_Service/TypedefDef_i.h
index 04ce55146e2..9d66c140f1d 100644
--- a/TAO/orbsvcs/IFR_Service/TypedefDef_i.h
+++ b/TAO/orbsvcs/IFR_Service/TypedefDef_i.h
@@ -10,7 +10,7 @@
// TypedefDef_i.h
//
// = DESCRIPTION
-// IR_TypedefDef servant class.
+// TypedefDef servant class.
//
// = AUTHOR
// Jeff Parsons <parsons@cs.wustl.edu>
@@ -52,14 +52,14 @@ public:
virtual ~TAO_TypedefDef_i (void);
// Destructor
- virtual IR_Contained::Description *describe (
+ virtual CORBA_Contained::Description *describe (
CORBA::Environment &ACE_TRY_ENV =
TAO_default_environment ()
)
ACE_THROW_SPEC ((CORBA::SystemException));
// From Contained_i's pure virtual function.
- virtual IR_Contained::Description *describe_i (
+ virtual CORBA_Contained::Description *describe_i (
CORBA::Environment &ACE_TRY_ENV =
TAO_default_environment ()
)
diff --git a/TAO/orbsvcs/IFR_Service/UnionDef_i.cpp b/TAO/orbsvcs/IFR_Service/UnionDef_i.cpp
index 22a2f180722..b7d559d5b51 100644
--- a/TAO/orbsvcs/IFR_Service/UnionDef_i.cpp
+++ b/TAO/orbsvcs/IFR_Service/UnionDef_i.cpp
@@ -22,11 +22,11 @@ TAO_UnionDef_i::~TAO_UnionDef_i (void)
{
}
-IR_DefinitionKind
+CORBA::DefinitionKind
TAO_UnionDef_i::def_kind (CORBA::Environment &)
ACE_THROW_SPEC ((CORBA::SystemException))
{
- return dk_Union;
+ return CORBA::dk_Union;
}
void
@@ -77,7 +77,7 @@ TAO_UnionDef_i::type_i (CORBA::Environment &ACE_TRY_ENV)
CORBA::TypeCode_var tc = this->discriminator_type_i (ACE_TRY_ENV);
ACE_CHECK_RETURN (CORBA::TypeCode::_nil ());
- IR_UnionMemberSeq_var members = this->members_i (ACE_TRY_ENV);
+ CORBA_UnionMemberSeq_var members = this->members_i (ACE_TRY_ENV);
ACE_CHECK_RETURN (CORBA::TypeCode::_nil ());
return this->repo_->tc_factory ()->create_union_tc (id.c_str (),
@@ -120,16 +120,16 @@ TAO_UnionDef_i::discriminator_type_i (CORBA::Environment &ACE_TRY_ENV)
return impl->type_i (ACE_TRY_ENV);
}
-IR_IDLType_ptr
+CORBA_IDLType_ptr
TAO_UnionDef_i::discriminator_type_def (CORBA::Environment &ACE_TRY_ENV)
ACE_THROW_SPEC ((CORBA::SystemException))
{
- TAO_IFR_READ_GUARD_RETURN (IR_IDLType::_nil ());
+ TAO_IFR_READ_GUARD_RETURN (CORBA_IDLType::_nil ());
return this->discriminator_type_def_i (ACE_TRY_ENV);
}
-IR_IDLType_ptr
+CORBA_IDLType_ptr
TAO_UnionDef_i::discriminator_type_def_i (CORBA::Environment &ACE_TRY_ENV)
ACE_THROW_SPEC ((CORBA::SystemException))
{
@@ -149,22 +149,22 @@ TAO_UnionDef_i::discriminator_type_def_i (CORBA::Environment &ACE_TRY_ENV)
"def_kind",
kind);
- IR_DefinitionKind def_kind =
- ACE_static_cast (IR_DefinitionKind, kind);
+ CORBA::DefinitionKind def_kind =
+ ACE_static_cast (CORBA::DefinitionKind, kind);
CORBA::Object_var obj =
this->repo_->servant_factory ()->create_objref (def_kind,
disc_path.c_str (),
ACE_TRY_ENV);
- ACE_CHECK_RETURN (IR_IDLType::_nil ());
+ ACE_CHECK_RETURN (CORBA_IDLType::_nil ());
- return IR_IDLType::_narrow (obj.in (),
- ACE_TRY_ENV);
+ return CORBA_IDLType::_narrow (obj.in (),
+ ACE_TRY_ENV);
}
void
TAO_UnionDef_i::discriminator_type_def (
- IR_IDLType_ptr discriminator_type_def,
+ CORBA_IDLType_ptr discriminator_type_def,
CORBA::Environment &ACE_TRY_ENV
)
ACE_THROW_SPEC ((CORBA::SystemException))
@@ -177,7 +177,7 @@ TAO_UnionDef_i::discriminator_type_def (
void
TAO_UnionDef_i::discriminator_type_def_i (
- IR_IDLType_ptr discriminator_type_def,
+ CORBA_IDLType_ptr discriminator_type_def,
CORBA::Environment &ACE_TRY_ENV
)
ACE_THROW_SPEC ((CORBA::SystemException))
@@ -195,7 +195,7 @@ TAO_UnionDef_i::discriminator_type_def_i (
disc_path.in ());
}
-IR_UnionMemberSeq *
+CORBA_UnionMemberSeq *
TAO_UnionDef_i::members (CORBA::Environment &ACE_TRY_ENV)
ACE_THROW_SPEC ((CORBA::SystemException))
{
@@ -204,7 +204,7 @@ TAO_UnionDef_i::members (CORBA::Environment &ACE_TRY_ENV)
return this->members_i (ACE_TRY_ENV);
}
-IR_UnionMemberSeq *
+CORBA_UnionMemberSeq *
TAO_UnionDef_i::members_i (CORBA::Environment &ACE_TRY_ENV)
ACE_THROW_SPEC ((CORBA::SystemException))
{
@@ -252,20 +252,20 @@ TAO_UnionDef_i::members_i (CORBA::Environment &ACE_TRY_ENV)
size_t size = key_queue.size ();
- IR_UnionMemberSeq *members = 0;
+ CORBA_UnionMemberSeq *members = 0;
ACE_NEW_THROW_EX (members,
- IR_UnionMemberSeq (size),
+ CORBA_UnionMemberSeq (size),
CORBA::NO_MEMORY ());
ACE_CHECK_RETURN (0);
members->length (size);
- IR_UnionMemberSeq_var retval = members;
+ CORBA_UnionMemberSeq_var retval = members;
ACE_TString name, path;
ACE_Configuration_Section_Key next_key, entry_key;
u_int kind = 0;
- IR_DefinitionKind def_kind = dk_none;
+ CORBA::DefinitionKind def_kind = CORBA::dk_none;
CORBA::Object_var obj;
TAO_IDLType_i *impl = 0;
@@ -298,7 +298,7 @@ TAO_UnionDef_i::members_i (CORBA::Environment &ACE_TRY_ENV)
kind);
def_kind =
- ACE_static_cast (IR_DefinitionKind, kind);
+ ACE_static_cast (CORBA::DefinitionKind, kind);
obj =
this->repo_->servant_factory ()->create_objref (def_kind,
@@ -306,7 +306,7 @@ TAO_UnionDef_i::members_i (CORBA::Environment &ACE_TRY_ENV)
ACE_TRY_ENV);
ACE_CHECK_RETURN (0);
- retval[k].type_def = IR_IDLType::_narrow (obj.in (),
+ retval[k].type_def = CORBA_IDLType::_narrow (obj.in (),
ACE_TRY_ENV);
ACE_CHECK_RETURN (0);
@@ -325,7 +325,7 @@ TAO_UnionDef_i::members_i (CORBA::Environment &ACE_TRY_ENV)
}
void
-TAO_UnionDef_i::members (const IR_UnionMemberSeq &members,
+TAO_UnionDef_i::members (const CORBA_UnionMemberSeq &members,
CORBA::Environment &ACE_TRY_ENV)
ACE_THROW_SPEC ((CORBA::SystemException))
{
@@ -336,7 +336,7 @@ TAO_UnionDef_i::members (const IR_UnionMemberSeq &members,
}
void
-TAO_UnionDef_i::members_i (const IR_UnionMemberSeq &members,
+TAO_UnionDef_i::members_i (const CORBA_UnionMemberSeq &members,
CORBA::Environment &ACE_TRY_ENV)
ACE_THROW_SPEC ((CORBA::SystemException))
{
@@ -393,7 +393,7 @@ TAO_UnionDef_i::members_i (const IR_UnionMemberSeq &members,
void
TAO_UnionDef_i::fetch_label (const ACE_Configuration_Section_Key member_key,
- IR_UnionMember &member,
+ CORBA_UnionMember &member,
CORBA::Environment &ACE_TRY_ENV)
ACE_THROW_SPEC ((CORBA::SystemException))
{
diff --git a/TAO/orbsvcs/IFR_Service/UnionDef_i.h b/TAO/orbsvcs/IFR_Service/UnionDef_i.h
index c6bf8d20528..61131bff37a 100644
--- a/TAO/orbsvcs/IFR_Service/UnionDef_i.h
+++ b/TAO/orbsvcs/IFR_Service/UnionDef_i.h
@@ -10,7 +10,7 @@
// UnionDef_i.h
//
// = DESCRIPTION
-// IR_UnionDef servant class.
+// UnionDef servant class.
//
// = AUTHOR
// Jeff Parsons <parsons@cs.wustl.edu>
@@ -51,7 +51,7 @@ public:
virtual ~TAO_UnionDef_i (void);
// Destructor
- virtual IR_DefinitionKind def_kind (
+ virtual CORBA::DefinitionKind def_kind (
CORBA::Environment &ACE_TRY_ENV =
TAO_default_environment ()
)
@@ -97,53 +97,53 @@ public:
)
ACE_THROW_SPEC ((CORBA::SystemException));
- virtual IR_IDLType_ptr discriminator_type_def (
+ virtual CORBA_IDLType_ptr discriminator_type_def (
CORBA::Environment &ACE_TRY_ENV =
TAO_default_environment ()
)
ACE_THROW_SPEC ((CORBA::SystemException));
- IR_IDLType_ptr discriminator_type_def_i (
+ CORBA_IDLType_ptr discriminator_type_def_i (
CORBA::Environment &ACE_TRY_ENV =
TAO_default_environment ()
)
ACE_THROW_SPEC ((CORBA::SystemException));
virtual void discriminator_type_def (
- IR_IDLType_ptr discriminator_type_def,
+ CORBA_IDLType_ptr discriminator_type_def,
CORBA::Environment &ACE_TRY_ENV =
TAO_default_environment ()
)
ACE_THROW_SPEC ((CORBA::SystemException));
void discriminator_type_def_i (
- IR_IDLType_ptr discriminator_type_def,
+ CORBA_IDLType_ptr discriminator_type_def,
CORBA::Environment &ACE_TRY_ENV =
TAO_default_environment ()
)
ACE_THROW_SPEC ((CORBA::SystemException));
- virtual IR_UnionMemberSeq *members (
+ virtual CORBA_UnionMemberSeq *members (
CORBA::Environment &ACE_TRY_ENV =
TAO_default_environment ()
)
ACE_THROW_SPEC ((CORBA::SystemException));
- IR_UnionMemberSeq *members_i (
+ CORBA_UnionMemberSeq *members_i (
CORBA::Environment &ACE_TRY_ENV =
TAO_default_environment ()
)
ACE_THROW_SPEC ((CORBA::SystemException));
virtual void members (
- const IR_UnionMemberSeq &members,
+ const CORBA_UnionMemberSeq &members,
CORBA::Environment &ACE_TRY_ENV =
TAO_default_environment ()
)
ACE_THROW_SPEC ((CORBA::SystemException));
void members_i (
- const IR_UnionMemberSeq &members,
+ const CORBA_UnionMemberSeq &members,
CORBA::Environment &ACE_TRY_ENV =
TAO_default_environment ()
)
@@ -152,7 +152,7 @@ public:
private:
void fetch_label (
const ACE_Configuration_Section_Key member_key,
- IR_UnionMember &member,
+ CORBA_UnionMember &member,
CORBA::Environment &ACE_TRY_ENV =
TAO_default_environment ()
)
diff --git a/TAO/orbsvcs/IFR_Service/UsesDef_i.cpp b/TAO/orbsvcs/IFR_Service/UsesDef_i.cpp
index 7b72ba9d33c..e9f793abaf6 100644
--- a/TAO/orbsvcs/IFR_Service/UsesDef_i.cpp
+++ b/TAO/orbsvcs/IFR_Service/UsesDef_i.cpp
@@ -17,11 +17,11 @@ TAO_UsesDef_i::~TAO_UsesDef_i (void)
{
}
-IR_DefinitionKind
+CORBA::DefinitionKind
TAO_UsesDef_i::def_kind (CORBA::Environment &)
ACE_THROW_SPEC ((CORBA::SystemException))
{
- return dk_Uses;
+ return CORBA::dk_Uses;
}
void
@@ -40,7 +40,7 @@ TAO_UsesDef_i::destroy_i (CORBA::Environment & /* ACE_TRY_ENV */)
// TODO
}
-IR_Contained::Description *
+CORBA_Contained::Description *
TAO_UsesDef_i::describe (CORBA::Environment &ACE_TRY_ENV)
ACE_THROW_SPEC ((CORBA::SystemException))
{
@@ -49,7 +49,7 @@ TAO_UsesDef_i::describe (CORBA::Environment &ACE_TRY_ENV)
return this->describe_i (ACE_TRY_ENV);
}
-IR_Contained::Description *
+CORBA_Contained::Description *
TAO_UsesDef_i::describe_i (CORBA::Environment & /* ACE_TRY_ENV */)
ACE_THROW_SPEC ((CORBA::SystemException))
{
@@ -57,16 +57,16 @@ TAO_UsesDef_i::describe_i (CORBA::Environment & /* ACE_TRY_ENV */)
return 0;
}
-IR_InterfaceDef_ptr
+CORBA_InterfaceDef_ptr
TAO_UsesDef_i::interface_type (CORBA::Environment &ACE_TRY_ENV)
ACE_THROW_SPEC ((CORBA::SystemException))
{
- TAO_IFR_READ_GUARD_RETURN (IR_InterfaceDef::_nil ());
+ TAO_IFR_READ_GUARD_RETURN (CORBA_InterfaceDef::_nil ());
return this->interface_type_i (ACE_TRY_ENV);
}
-IR_InterfaceDef_ptr
+CORBA_InterfaceDef_ptr
TAO_UsesDef_i::interface_type_i (CORBA::Environment & /* ACE_TRY_ENV */)
ACE_THROW_SPEC ((CORBA::SystemException))
{
diff --git a/TAO/orbsvcs/IFR_Service/UsesDef_i.h b/TAO/orbsvcs/IFR_Service/UsesDef_i.h
index a62eef52039..a71572e0997 100644
--- a/TAO/orbsvcs/IFR_Service/UsesDef_i.h
+++ b/TAO/orbsvcs/IFR_Service/UsesDef_i.h
@@ -10,7 +10,7 @@
// UsesDef_i.h
//
// = DESCRIPTION
-// IR_UsesDef servant class.
+// UsesDef servant class.
//
// = AUTHOR
// Jeff Parsons <parsons@cs.wustl.edu>
@@ -49,7 +49,7 @@ public:
virtual ~TAO_UsesDef_i (void);
// Destructor
- virtual IR_DefinitionKind def_kind (
+ virtual CORBA::DefinitionKind def_kind (
CORBA::Environment &ACE_TRY_ENV =
TAO_default_environment ()
)
@@ -69,27 +69,27 @@ public:
)
ACE_THROW_SPEC ((CORBA::SystemException));
- virtual IR_Contained::Description *describe (
+ virtual CORBA_Contained::Description *describe (
CORBA::Environment &ACE_TRY_ENV =
TAO_default_environment ()
)
ACE_THROW_SPEC ((CORBA::SystemException));
// From Contained_i's pure virtual function.
- virtual IR_Contained::Description *describe_i (
+ virtual CORBA_Contained::Description *describe_i (
CORBA::Environment &ACE_TRY_ENV =
TAO_default_environment ()
)
ACE_THROW_SPEC ((CORBA::SystemException));
// From Contained_i's pure virtual function.
- virtual IR_InterfaceDef_ptr interface_type (
+ virtual CORBA_InterfaceDef_ptr interface_type (
CORBA::Environment &ACE_TRY_ENV =
TAO_default_environment ()
)
ACE_THROW_SPEC ((CORBA::SystemException));
- IR_InterfaceDef_ptr interface_type_i (
+ CORBA_InterfaceDef_ptr interface_type_i (
CORBA::Environment &ACE_TRY_ENV =
TAO_default_environment ()
)
diff --git a/TAO/orbsvcs/IFR_Service/ValueBoxDef_i.cpp b/TAO/orbsvcs/IFR_Service/ValueBoxDef_i.cpp
index 7e9698ca0db..e7e413bfc53 100644
--- a/TAO/orbsvcs/IFR_Service/ValueBoxDef_i.cpp
+++ b/TAO/orbsvcs/IFR_Service/ValueBoxDef_i.cpp
@@ -23,11 +23,11 @@ TAO_ValueBoxDef_i::~TAO_ValueBoxDef_i (void)
{
}
-IR_DefinitionKind
+CORBA::DefinitionKind
TAO_ValueBoxDef_i::def_kind (CORBA::Environment &)
ACE_THROW_SPEC ((CORBA::SystemException))
{
- return dk_ValueBox;
+ return CORBA::dk_ValueBox;
}
CORBA::TypeCode_ptr
@@ -80,16 +80,16 @@ TAO_ValueBoxDef_i::type_i (CORBA::Environment &ACE_TRY_ENV)
ACE_TRY_ENV);
}
-IR_IDLType_ptr
+CORBA_IDLType_ptr
TAO_ValueBoxDef_i::original_type_def (CORBA::Environment &ACE_TRY_ENV)
ACE_THROW_SPEC ((CORBA::SystemException))
{
- TAO_IFR_READ_GUARD_RETURN (IR_IDLType::_nil ());
+ TAO_IFR_READ_GUARD_RETURN (CORBA_IDLType::_nil ());
return this->original_type_def_i (ACE_TRY_ENV);
}
-IR_IDLType_ptr
+CORBA_IDLType_ptr
TAO_ValueBoxDef_i::original_type_def_i (CORBA::Environment &ACE_TRY_ENV)
ACE_THROW_SPEC ((CORBA::SystemException))
{
@@ -109,21 +109,21 @@ TAO_ValueBoxDef_i::original_type_def_i (CORBA::Environment &ACE_TRY_ENV)
"def_kind",
kind);
- IR_DefinitionKind def_kind =
- ACE_static_cast (IR_DefinitionKind, kind);
+ CORBA::DefinitionKind def_kind =
+ ACE_static_cast (CORBA::DefinitionKind, kind);
CORBA::Object_var obj =
this->repo_->servant_factory ()->create_objref (def_kind,
boxed_type.c_str (),
ACE_TRY_ENV);
- ACE_CHECK_RETURN (IR_IDLType::_nil ());
+ ACE_CHECK_RETURN (CORBA_IDLType::_nil ());
- return IR_IDLType::_narrow (obj.in (),
- ACE_TRY_ENV);
+ return CORBA_IDLType::_narrow (obj.in (),
+ ACE_TRY_ENV);
}
void
-TAO_ValueBoxDef_i::original_type_def (IR_IDLType_ptr original_type_def,
+TAO_ValueBoxDef_i::original_type_def (CORBA_IDLType_ptr original_type_def,
CORBA::Environment &ACE_TRY_ENV)
ACE_THROW_SPEC ((CORBA::SystemException))
{
@@ -134,7 +134,7 @@ TAO_ValueBoxDef_i::original_type_def (IR_IDLType_ptr original_type_def,
}
void
-TAO_ValueBoxDef_i::original_type_def_i (IR_IDLType_ptr original_type_def,
+TAO_ValueBoxDef_i::original_type_def_i (CORBA_IDLType_ptr original_type_def,
CORBA::Environment &ACE_TRY_ENV)
ACE_THROW_SPEC ((CORBA::SystemException))
{
diff --git a/TAO/orbsvcs/IFR_Service/ValueBoxDef_i.h b/TAO/orbsvcs/IFR_Service/ValueBoxDef_i.h
index 91545445884..ac54ddd5426 100644
--- a/TAO/orbsvcs/IFR_Service/ValueBoxDef_i.h
+++ b/TAO/orbsvcs/IFR_Service/ValueBoxDef_i.h
@@ -10,7 +10,7 @@
// ValueBoxDef_i.h
//
// = DESCRIPTION
-// IR_ValueBoxDef servant class.
+// ValueBoxDef servant class.
//
// = AUTHOR
// Jeff Parsons <parsons@cs.wustl.edu>
@@ -50,7 +50,7 @@ public:
virtual ~TAO_ValueBoxDef_i (void);
// Destructor
- virtual IR_DefinitionKind def_kind (
+ virtual CORBA::DefinitionKind def_kind (
CORBA::Environment &ACE_TRY_ENV =
TAO_default_environment ()
)
@@ -71,27 +71,27 @@ public:
ACE_THROW_SPEC ((CORBA::SystemException));
// From IDLType_i's pure virtual function.
- virtual IR_IDLType_ptr original_type_def (
+ virtual CORBA_IDLType_ptr original_type_def (
CORBA::Environment &ACE_TRY_ENV =
TAO_default_environment ()
)
ACE_THROW_SPEC ((CORBA::SystemException));
- IR_IDLType_ptr original_type_def_i (
+ CORBA_IDLType_ptr original_type_def_i (
CORBA::Environment &ACE_TRY_ENV =
TAO_default_environment ()
)
ACE_THROW_SPEC ((CORBA::SystemException));
virtual void original_type_def (
- IR_IDLType_ptr original_type_def,
+ CORBA_IDLType_ptr original_type_def,
CORBA::Environment &ACE_TRY_ENV =
TAO_default_environment ()
)
ACE_THROW_SPEC ((CORBA::SystemException));
void original_type_def_i (
- IR_IDLType_ptr original_type_def,
+ CORBA_IDLType_ptr original_type_def,
CORBA::Environment &ACE_TRY_ENV =
TAO_default_environment ()
)
diff --git a/TAO/orbsvcs/IFR_Service/ValueDef_i.cpp b/TAO/orbsvcs/IFR_Service/ValueDef_i.cpp
index 91ae2f8da68..1ab27c945a8 100644
--- a/TAO/orbsvcs/IFR_Service/ValueDef_i.cpp
+++ b/TAO/orbsvcs/IFR_Service/ValueDef_i.cpp
@@ -19,11 +19,11 @@ TAO_ValueDef_i::~TAO_ValueDef_i (void)
{
}
-IR_DefinitionKind
+CORBA::DefinitionKind
TAO_ValueDef_i::def_kind (CORBA::Environment &)
ACE_THROW_SPEC ((CORBA::SystemException))
{
- return dk_Value;
+ return CORBA::dk_Value;
}
void
@@ -42,7 +42,7 @@ TAO_ValueDef_i::destroy_i (CORBA::Environment & /* ACE_TRY_ENV */)
// TODO
}
-IR_Contained::Description *
+CORBA_Contained::Description *
TAO_ValueDef_i::describe (CORBA::Environment &ACE_TRY_ENV)
ACE_THROW_SPEC ((CORBA::SystemException))
{
@@ -51,7 +51,7 @@ TAO_ValueDef_i::describe (CORBA::Environment &ACE_TRY_ENV)
return this->describe_i (ACE_TRY_ENV);
}
-IR_Contained::Description *
+CORBA_Contained::Description *
TAO_ValueDef_i::describe_i (CORBA::Environment & /* ACE_TRY_ENV */)
ACE_THROW_SPEC ((CORBA::SystemException))
{
@@ -76,7 +76,7 @@ TAO_ValueDef_i::type_i (CORBA::Environment & /* ACE_TRY_ENV */)
return 0;
}
-IR_InterfaceDefSeq *
+CORBA_InterfaceDefSeq *
TAO_ValueDef_i::supported_interfaces (CORBA::Environment &ACE_TRY_ENV)
ACE_THROW_SPEC ((CORBA::SystemException))
{
@@ -85,7 +85,7 @@ TAO_ValueDef_i::supported_interfaces (CORBA::Environment &ACE_TRY_ENV)
return this->supported_interfaces_i (ACE_TRY_ENV);
}
-IR_InterfaceDefSeq *
+CORBA_InterfaceDefSeq *
TAO_ValueDef_i::supported_interfaces_i (CORBA::Environment & /* ACE_TRY_ENV */)
ACE_THROW_SPEC ((CORBA::SystemException))
{
@@ -95,7 +95,7 @@ TAO_ValueDef_i::supported_interfaces_i (CORBA::Environment & /* ACE_TRY_ENV */)
void
TAO_ValueDef_i::supported_interfaces (
- const IR_InterfaceDefSeq &supported_interfaces,
+ const CORBA_InterfaceDefSeq &supported_interfaces,
CORBA::Environment &ACE_TRY_ENV
)
ACE_THROW_SPEC ((CORBA::SystemException))
@@ -108,7 +108,7 @@ TAO_ValueDef_i::supported_interfaces (
void
TAO_ValueDef_i::supported_interfaces_i (
- const IR_InterfaceDefSeq & /* supported_interfaces */,
+ const CORBA_InterfaceDefSeq & /* supported_interfaces */,
CORBA::Environment & /* ACE_TRY_ENV */
)
ACE_THROW_SPEC ((CORBA::SystemException))
@@ -116,7 +116,7 @@ TAO_ValueDef_i::supported_interfaces_i (
// TODO
}
-IR_InitializerSeq *
+CORBA_InitializerSeq *
TAO_ValueDef_i::initializers (CORBA::Environment &ACE_TRY_ENV)
ACE_THROW_SPEC ((CORBA::SystemException))
{
@@ -125,7 +125,7 @@ TAO_ValueDef_i::initializers (CORBA::Environment &ACE_TRY_ENV)
return this->initializers_i (ACE_TRY_ENV);
}
-IR_InitializerSeq *
+CORBA_InitializerSeq *
TAO_ValueDef_i::initializers_i (CORBA::Environment & /* ACE_TRY_ENV */)
ACE_THROW_SPEC ((CORBA::SystemException))
{
@@ -134,7 +134,7 @@ TAO_ValueDef_i::initializers_i (CORBA::Environment & /* ACE_TRY_ENV */)
}
void
-TAO_ValueDef_i::initializers (const IR_InitializerSeq &initializers,
+TAO_ValueDef_i::initializers (const CORBA_InitializerSeq &initializers,
CORBA::Environment &ACE_TRY_ENV)
ACE_THROW_SPEC ((CORBA::SystemException))
{
@@ -145,23 +145,23 @@ TAO_ValueDef_i::initializers (const IR_InitializerSeq &initializers,
}
void
-TAO_ValueDef_i::initializers_i (const IR_InitializerSeq & /* initializers */,
+TAO_ValueDef_i::initializers_i (const CORBA_InitializerSeq & /* initializers */,
CORBA::Environment & /* ACE_TRY_ENV */)
ACE_THROW_SPEC ((CORBA::SystemException))
{
// TODO
}
-IR_ValueDef_ptr
+CORBA_ValueDef_ptr
TAO_ValueDef_i::base_value (CORBA::Environment &ACE_TRY_ENV)
ACE_THROW_SPEC ((CORBA::SystemException))
{
- TAO_IFR_READ_GUARD_RETURN (IR_ValueDef::_nil ());
+ TAO_IFR_READ_GUARD_RETURN (CORBA_ValueDef::_nil ());
return this->base_value_i (ACE_TRY_ENV);
}
-IR_ValueDef_ptr
+CORBA_ValueDef_ptr
TAO_ValueDef_i::base_value_i (CORBA::Environment & /* ACE_TRY_ENV */)
ACE_THROW_SPEC ((CORBA::SystemException))
{
@@ -170,7 +170,7 @@ TAO_ValueDef_i::base_value_i (CORBA::Environment & /* ACE_TRY_ENV */)
}
void
-TAO_ValueDef_i::base_value (IR_ValueDef_ptr base_value,
+TAO_ValueDef_i::base_value (CORBA_ValueDef_ptr base_value,
CORBA::Environment &ACE_TRY_ENV)
ACE_THROW_SPEC ((CORBA::SystemException))
{
@@ -181,14 +181,14 @@ TAO_ValueDef_i::base_value (IR_ValueDef_ptr base_value,
}
void
-TAO_ValueDef_i::base_value_i (IR_ValueDef_ptr /* base_value */,
+TAO_ValueDef_i::base_value_i (CORBA_ValueDef_ptr /* base_value */,
CORBA::Environment & /* ACE_TRY_ENV */)
ACE_THROW_SPEC ((CORBA::SystemException))
{
// TODO
}
-IR_ValueDefSeq *
+CORBA_ValueDefSeq *
TAO_ValueDef_i::abstract_base_values (CORBA::Environment &ACE_TRY_ENV)
ACE_THROW_SPEC ((CORBA::SystemException))
{
@@ -197,7 +197,7 @@ TAO_ValueDef_i::abstract_base_values (CORBA::Environment &ACE_TRY_ENV)
return this->abstract_base_values_i (ACE_TRY_ENV);
}
-IR_ValueDefSeq *
+CORBA_ValueDefSeq *
TAO_ValueDef_i::abstract_base_values_i (CORBA::Environment & /* ACE_TRY_ENV */)
ACE_THROW_SPEC ((CORBA::SystemException))
{
@@ -207,7 +207,7 @@ TAO_ValueDef_i::abstract_base_values_i (CORBA::Environment & /* ACE_TRY_ENV */)
void
TAO_ValueDef_i::abstract_base_values (
- const IR_ValueDefSeq &abstract_base_values,
+ const CORBA_ValueDefSeq &abstract_base_values,
CORBA::Environment &ACE_TRY_ENV
)
ACE_THROW_SPEC ((CORBA::SystemException))
@@ -220,7 +220,7 @@ TAO_ValueDef_i::abstract_base_values (
void
TAO_ValueDef_i::abstract_base_values_i (
- const IR_ValueDefSeq & /* abstract_base_values */,
+ const CORBA_ValueDefSeq & /* abstract_base_values */,
CORBA::Environment & /* ACE_TRY_ENV */
)
ACE_THROW_SPEC ((CORBA::SystemException))
@@ -356,16 +356,33 @@ TAO_ValueDef_i::is_a_i (const char * /* id */,
return 0;
}
-IR_ValueMemberDef_ptr
+CORBA_ValueDef::FullValueDescription *
+TAO_ValueDef_i::describe_value (CORBA::Environment &ACE_TRY_ENV)
+ ACE_THROW_SPEC ((CORBA::SystemException))
+{
+ TAO_IFR_READ_GUARD_RETURN (0);
+
+ return this->describe_value_i (ACE_TRY_ENV);
+}
+
+CORBA_ValueDef::FullValueDescription *
+TAO_ValueDef_i::describe_value_i (CORBA::Environment & /* ACE_TRY_ENV */)
+ ACE_THROW_SPEC ((CORBA::SystemException))
+{
+ // TODO
+ return 0;
+}
+
+CORBA_ValueMemberDef_ptr
TAO_ValueDef_i::create_value_member (const char *id,
const char *name,
const char *version,
- IR_IDLType_ptr type,
+ CORBA_IDLType_ptr type,
CORBA::Visibility access,
CORBA::Environment &ACE_TRY_ENV)
ACE_THROW_SPEC ((CORBA::SystemException))
{
- TAO_IFR_WRITE_GUARD_RETURN (IR_ValueMemberDef::_nil ());
+ TAO_IFR_WRITE_GUARD_RETURN (CORBA_ValueMemberDef::_nil ());
return this->create_value_member_i (id,
name,
@@ -375,11 +392,11 @@ TAO_ValueDef_i::create_value_member (const char *id,
ACE_TRY_ENV);
}
-IR_ValueMemberDef_ptr
+CORBA_ValueMemberDef_ptr
TAO_ValueDef_i::create_value_member_i (const char * /* id */,
const char * /* name */,
const char * /* version */,
- IR_IDLType_ptr /* type */,
+ CORBA_IDLType_ptr /* type */,
CORBA::Visibility /* access */,
CORBA::Environment & /* ACE_TRY_ENV */)
ACE_THROW_SPEC ((CORBA::SystemException))
@@ -388,40 +405,34 @@ TAO_ValueDef_i::create_value_member_i (const char * /* id */,
return 0;
}
-IR_AttributeDef_ptr
+CORBA_AttributeDef_ptr
TAO_ValueDef_i::create_attribute (
const char *id,
const char *name,
const char *version,
- IR_IDLType_ptr type,
- IR_AttributeMode mode,
- const IR_ExceptionDefSeq &get_exceptions,
- const IR_ExceptionDefSeq &put_exceptions,
+ CORBA_IDLType_ptr type,
+ CORBA::AttributeMode mode,
CORBA::Environment &ACE_TRY_ENV
)
ACE_THROW_SPEC ((CORBA::SystemException))
{
- TAO_IFR_WRITE_GUARD_RETURN (IR_AttributeDef::_nil ());
+ TAO_IFR_WRITE_GUARD_RETURN (CORBA_AttributeDef::_nil ());
return this->create_attribute_i (id,
name,
version,
type,
mode,
- get_exceptions,
- put_exceptions,
ACE_TRY_ENV);
}
-IR_AttributeDef_ptr
+CORBA_AttributeDef_ptr
TAO_ValueDef_i::create_attribute_i (
const char * /* id */,
const char * /* name */,
const char * /* version */,
- IR_IDLType_ptr /* type */,
- IR_AttributeMode /* mode */,
- const IR_ExceptionDefSeq & /* get_exceptions */,
- const IR_ExceptionDefSeq & /* put_exceptions */,
+ CORBA_IDLType_ptr /* type */,
+ CORBA::AttributeMode /* mode */,
CORBA::Environment & /* ACE_TRY_ENV */
)
ACE_THROW_SPEC ((CORBA::SystemException))
@@ -430,21 +441,21 @@ TAO_ValueDef_i::create_attribute_i (
return 0;
}
-IR_OperationDef_ptr
+CORBA_OperationDef_ptr
TAO_ValueDef_i::create_operation (
const char *id,
const char *name,
const char *version,
- IR_IDLType_ptr result,
- IR_OperationMode mode,
- const IR_ParDescriptionSeq &params,
- const IR_ExceptionDefSeq &exceptions,
- const IR_ContextIdSeq &contexts,
+ CORBA_IDLType_ptr result,
+ CORBA::OperationMode mode,
+ const CORBA_ParDescriptionSeq &params,
+ const CORBA_ExceptionDefSeq &exceptions,
+ const CORBA_ContextIdSeq &contexts,
CORBA::Environment &ACE_TRY_ENV
)
ACE_THROW_SPEC ((CORBA::SystemException))
{
- TAO_IFR_WRITE_GUARD_RETURN (IR_OperationDef::_nil ());
+ TAO_IFR_WRITE_GUARD_RETURN (CORBA_OperationDef::_nil ());
return this->create_operation_i (id,
name,
@@ -457,16 +468,16 @@ TAO_ValueDef_i::create_operation (
ACE_TRY_ENV);
}
-IR_OperationDef_ptr
+CORBA_OperationDef_ptr
TAO_ValueDef_i::create_operation_i (
const char * /* id */,
const char * /* name */,
const char * /* version */,
- IR_IDLType_ptr /* result */,
- IR_OperationMode /* mode */,
- const IR_ParDescriptionSeq & /* params */,
- const IR_ExceptionDefSeq & /* exceptions */,
- const IR_ContextIdSeq & /* contexts */,
+ CORBA_IDLType_ptr /* result */,
+ CORBA::OperationMode /* mode */,
+ const CORBA_ParDescriptionSeq & /* params */,
+ const CORBA_ExceptionDefSeq & /* exceptions */,
+ const CORBA_ContextIdSeq & /* contexts */,
CORBA::Environment & /* ACE_TRY_ENV */
)
ACE_THROW_SPEC ((CORBA::SystemException))
diff --git a/TAO/orbsvcs/IFR_Service/ValueDef_i.h b/TAO/orbsvcs/IFR_Service/ValueDef_i.h
index 612d83ff1b4..f0d79461aba 100644
--- a/TAO/orbsvcs/IFR_Service/ValueDef_i.h
+++ b/TAO/orbsvcs/IFR_Service/ValueDef_i.h
@@ -10,7 +10,7 @@
// ValueDef_i.h
//
// = DESCRIPTION
-// IR_ValueDef servant class.
+// ValueDef servant class.
//
// = AUTHOR
// Jeff Parsons <parsons@cs.wustl.edu>
@@ -52,7 +52,7 @@ public:
virtual ~TAO_ValueDef_i (void);
// Destructor
- virtual IR_DefinitionKind def_kind (
+ virtual CORBA::DefinitionKind def_kind (
CORBA::Environment &ACE_TRY_ENV =
TAO_default_environment ()
)
@@ -72,14 +72,14 @@ public:
)
ACE_THROW_SPEC ((CORBA::SystemException));
- virtual IR_Contained::Description *describe (
+ virtual CORBA_Contained::Description *describe (
CORBA::Environment &ACE_TRY_ENV =
TAO_default_environment ()
)
ACE_THROW_SPEC ((CORBA::SystemException));
// From Contained_i's pure virtual function.
- virtual IR_Contained::Description *describe_i (
+ virtual CORBA_Contained::Description *describe_i (
CORBA::Environment &ACE_TRY_ENV =
TAO_default_environment ()
)
@@ -100,105 +100,105 @@ public:
ACE_THROW_SPEC ((CORBA::SystemException));
// From IDLType_i's pure virtual function.
- virtual IR_InterfaceDefSeq *supported_interfaces (
+ virtual CORBA_InterfaceDefSeq *supported_interfaces (
CORBA::Environment &ACE_TRY_ENV =
TAO_default_environment ()
)
ACE_THROW_SPEC ((CORBA::SystemException));
- IR_InterfaceDefSeq *supported_interfaces_i (
+ CORBA_InterfaceDefSeq *supported_interfaces_i (
CORBA::Environment &ACE_TRY_ENV =
TAO_default_environment ()
)
ACE_THROW_SPEC ((CORBA::SystemException));
virtual void supported_interfaces (
- const IR_InterfaceDefSeq & supported_interfaces,
+ const CORBA_InterfaceDefSeq & supported_interfaces,
CORBA::Environment &ACE_TRY_ENV =
TAO_default_environment ()
)
ACE_THROW_SPEC ((CORBA::SystemException));
void supported_interfaces_i (
- const IR_InterfaceDefSeq & supported_interfaces,
+ const CORBA_InterfaceDefSeq & supported_interfaces,
CORBA::Environment &ACE_TRY_ENV =
TAO_default_environment ()
)
ACE_THROW_SPEC ((CORBA::SystemException));
- virtual IR_InitializerSeq *initializers (
+ virtual CORBA_InitializerSeq *initializers (
CORBA::Environment &ACE_TRY_ENV =
TAO_default_environment ()
)
ACE_THROW_SPEC ((CORBA::SystemException));
- IR_InitializerSeq *initializers_i (
+ CORBA_InitializerSeq *initializers_i (
CORBA::Environment &ACE_TRY_ENV =
TAO_default_environment ()
)
ACE_THROW_SPEC ((CORBA::SystemException));
virtual void initializers (
- const IR_InitializerSeq & initializers,
+ const CORBA_InitializerSeq & initializers,
CORBA::Environment &ACE_TRY_ENV =
TAO_default_environment ()
)
ACE_THROW_SPEC ((CORBA::SystemException));
void initializers_i (
- const IR_InitializerSeq & initializers,
+ const CORBA_InitializerSeq & initializers,
CORBA::Environment &ACE_TRY_ENV =
TAO_default_environment ()
)
ACE_THROW_SPEC ((CORBA::SystemException));
- virtual IR_ValueDef_ptr base_value (
+ virtual CORBA_ValueDef_ptr base_value (
CORBA::Environment &ACE_TRY_ENV =
TAO_default_environment ()
)
ACE_THROW_SPEC ((CORBA::SystemException));
- IR_ValueDef_ptr base_value_i (
+ CORBA_ValueDef_ptr base_value_i (
CORBA::Environment &ACE_TRY_ENV =
TAO_default_environment ()
)
ACE_THROW_SPEC ((CORBA::SystemException));
virtual void base_value (
- IR_ValueDef_ptr base_value,
+ CORBA_ValueDef_ptr base_value,
CORBA::Environment &ACE_TRY_ENV =
TAO_default_environment ()
)
ACE_THROW_SPEC ((CORBA::SystemException));
void base_value_i (
- IR_ValueDef_ptr base_value,
+ CORBA_ValueDef_ptr base_value,
CORBA::Environment &ACE_TRY_ENV =
TAO_default_environment ()
)
ACE_THROW_SPEC ((CORBA::SystemException));
- virtual IR_ValueDefSeq *abstract_base_values (
+ virtual CORBA_ValueDefSeq *abstract_base_values (
CORBA::Environment &ACE_TRY_ENV =
TAO_default_environment ()
)
ACE_THROW_SPEC ((CORBA::SystemException));
- IR_ValueDefSeq *abstract_base_values_i (
+ CORBA_ValueDefSeq *abstract_base_values_i (
CORBA::Environment &ACE_TRY_ENV =
TAO_default_environment ()
)
ACE_THROW_SPEC ((CORBA::SystemException));
virtual void abstract_base_values (
- const IR_ValueDefSeq & abstract_base_values,
+ const CORBA_ValueDefSeq & abstract_base_values,
CORBA::Environment &ACE_TRY_ENV =
TAO_default_environment ()
)
ACE_THROW_SPEC ((CORBA::SystemException));
void abstract_base_values_i (
- const IR_ValueDefSeq & abstract_base_values,
+ const CORBA_ValueDefSeq & abstract_base_values,
CORBA::Environment &ACE_TRY_ENV =
TAO_default_environment ()
)
@@ -296,77 +296,85 @@ public:
)
ACE_THROW_SPEC ((CORBA::SystemException));
- virtual IR_ValueMemberDef_ptr create_value_member (
+ virtual CORBA_ValueDef::FullValueDescription *describe_value (
+ CORBA::Environment &ACE_TRY_ENV =
+ TAO_default_environment ()
+ )
+ ACE_THROW_SPEC ((CORBA::SystemException));
+
+ CORBA_ValueDef::FullValueDescription *describe_value_i (
+ CORBA::Environment &ACE_TRY_ENV =
+ TAO_default_environment ()
+ )
+ ACE_THROW_SPEC ((CORBA::SystemException));
+
+ virtual CORBA_ValueMemberDef_ptr create_value_member (
const char *id,
const char *name,
const char *version,
- IR_IDLType_ptr type,
+ CORBA_IDLType_ptr type,
CORBA::Visibility access,
CORBA::Environment &ACE_TRY_ENV =
TAO_default_environment ()
)
ACE_THROW_SPEC ((CORBA::SystemException));
- IR_ValueMemberDef_ptr create_value_member_i (
+ CORBA_ValueMemberDef_ptr create_value_member_i (
const char *id,
const char *name,
const char *version,
- IR_IDLType_ptr type,
+ CORBA_IDLType_ptr type,
CORBA::Visibility access,
CORBA::Environment &ACE_TRY_ENV =
TAO_default_environment ()
)
ACE_THROW_SPEC ((CORBA::SystemException));
- virtual IR_AttributeDef_ptr create_attribute (
+ virtual CORBA_AttributeDef_ptr create_attribute (
const char *id,
const char *name,
const char *version,
- IR_IDLType_ptr type,
- IR_AttributeMode mode,
- const IR_ExceptionDefSeq &get_exceptions,
- const IR_ExceptionDefSeq &put_exceptions,
+ CORBA_IDLType_ptr type,
+ CORBA::AttributeMode mode,
CORBA::Environment &ACE_TRY_ENV =
TAO_default_environment ()
)
ACE_THROW_SPEC ((CORBA::SystemException));
- IR_AttributeDef_ptr create_attribute_i (
+ CORBA_AttributeDef_ptr create_attribute_i (
const char *id,
const char *name,
const char *version,
- IR_IDLType_ptr type,
- IR_AttributeMode mode,
- const IR_ExceptionDefSeq &get_exceptions,
- const IR_ExceptionDefSeq &put_exceptions,
+ CORBA_IDLType_ptr type,
+ CORBA::AttributeMode mode,
CORBA::Environment &ACE_TRY_ENV =
TAO_default_environment ()
)
ACE_THROW_SPEC ((CORBA::SystemException));
- virtual IR_OperationDef_ptr create_operation (
+ virtual CORBA_OperationDef_ptr create_operation (
const char *id,
const char *name,
const char *version,
- IR_IDLType_ptr result,
- IR_OperationMode mode,
- const IR_ParDescriptionSeq &params,
- const IR_ExceptionDefSeq &exceptions,
- const IR_ContextIdSeq &contexts,
+ CORBA_IDLType_ptr result,
+ CORBA::OperationMode mode,
+ const CORBA_ParDescriptionSeq &params,
+ const CORBA_ExceptionDefSeq &exceptions,
+ const CORBA_ContextIdSeq &contexts,
CORBA::Environment &ACE_TRY_ENV =
TAO_default_environment ()
)
ACE_THROW_SPEC ((CORBA::SystemException));
- IR_OperationDef_ptr create_operation_i (
+ CORBA_OperationDef_ptr create_operation_i (
const char *id,
const char *name,
const char *version,
- IR_IDLType_ptr result,
- IR_OperationMode mode,
- const IR_ParDescriptionSeq &params,
- const IR_ExceptionDefSeq &exceptions,
- const IR_ContextIdSeq &contexts,
+ CORBA_IDLType_ptr result,
+ CORBA::OperationMode mode,
+ const CORBA_ParDescriptionSeq &params,
+ const CORBA_ExceptionDefSeq &exceptions,
+ const CORBA_ContextIdSeq &contexts,
CORBA::Environment &ACE_TRY_ENV =
TAO_default_environment ()
)
diff --git a/TAO/orbsvcs/IFR_Service/ValueMemberDef_i.cpp b/TAO/orbsvcs/IFR_Service/ValueMemberDef_i.cpp
index ea23b1806d4..aa8bb89e0e5 100644
--- a/TAO/orbsvcs/IFR_Service/ValueMemberDef_i.cpp
+++ b/TAO/orbsvcs/IFR_Service/ValueMemberDef_i.cpp
@@ -19,11 +19,11 @@ TAO_ValueMemberDef_i::~TAO_ValueMemberDef_i (void)
{
}
-IR_DefinitionKind
+CORBA::DefinitionKind
TAO_ValueMemberDef_i::def_kind (CORBA::Environment &)
ACE_THROW_SPEC ((CORBA::SystemException))
{
- return dk_ValueMember;
+ return CORBA::dk_ValueMember;
}
void
@@ -42,7 +42,7 @@ TAO_ValueMemberDef_i::destroy_i (CORBA::Environment & /* ACE_TRY_ENV */)
// TODO
}
-IR_Contained::Description *
+CORBA_Contained::Description *
TAO_ValueMemberDef_i::describe (CORBA::Environment &ACE_TRY_ENV)
ACE_THROW_SPEC ((CORBA::SystemException))
{
@@ -51,7 +51,7 @@ TAO_ValueMemberDef_i::describe (CORBA::Environment &ACE_TRY_ENV)
return this->describe_i (ACE_TRY_ENV);
}
-IR_Contained::Description *
+CORBA_Contained::Description *
TAO_ValueMemberDef_i::describe_i (CORBA::Environment & /* ACE_TRY_ENV */)
ACE_THROW_SPEC ((CORBA::SystemException))
{
@@ -76,16 +76,16 @@ TAO_ValueMemberDef_i::type_i (CORBA::Environment & /* ACE_TRY_ENV */)
return 0;
}
-IR_IDLType_ptr
+CORBA_IDLType_ptr
TAO_ValueMemberDef_i::type_def (CORBA::Environment &ACE_TRY_ENV)
ACE_THROW_SPEC ((CORBA::SystemException))
{
- TAO_IFR_READ_GUARD_RETURN (IR_IDLType::_nil ());
+ TAO_IFR_READ_GUARD_RETURN (CORBA_IDLType::_nil ());
return this->type_def_i (ACE_TRY_ENV);
}
-IR_IDLType_ptr
+CORBA_IDLType_ptr
TAO_ValueMemberDef_i::type_def_i (CORBA::Environment & /* ACE_TRY_ENV */)
ACE_THROW_SPEC ((CORBA::SystemException))
{
@@ -94,7 +94,7 @@ TAO_ValueMemberDef_i::type_def_i (CORBA::Environment & /* ACE_TRY_ENV */)
}
void
-TAO_ValueMemberDef_i::type_def (IR_IDLType_ptr type_def,
+TAO_ValueMemberDef_i::type_def (CORBA_IDLType_ptr type_def,
CORBA::Environment &ACE_TRY_ENV)
ACE_THROW_SPEC ((CORBA::SystemException))
{
@@ -105,7 +105,7 @@ TAO_ValueMemberDef_i::type_def (IR_IDLType_ptr type_def,
}
void
-TAO_ValueMemberDef_i::type_def_i (IR_IDLType_ptr /* type_def */,
+TAO_ValueMemberDef_i::type_def_i (CORBA_IDLType_ptr /* type_def */,
CORBA::Environment & /* ACE_TRY_ENV */)
ACE_THROW_SPEC ((CORBA::SystemException))
{
diff --git a/TAO/orbsvcs/IFR_Service/ValueMemberDef_i.h b/TAO/orbsvcs/IFR_Service/ValueMemberDef_i.h
index d7687cfb7a5..59e35bc2aa7 100644
--- a/TAO/orbsvcs/IFR_Service/ValueMemberDef_i.h
+++ b/TAO/orbsvcs/IFR_Service/ValueMemberDef_i.h
@@ -10,7 +10,7 @@
// ValueMemberDef_i.h
//
// = DESCRIPTION
-// IR_ValueMemberDef servant class.
+// ValueMemberDef servant class.
//
// = AUTHOR
// Jeff Parsons <parsons@cs.wustl.edu>
@@ -49,7 +49,7 @@ public:
virtual ~TAO_ValueMemberDef_i (void);
// Destructor
- virtual IR_DefinitionKind def_kind (
+ virtual CORBA::DefinitionKind def_kind (
CORBA::Environment &ACE_TRY_ENV =
TAO_default_environment ()
)
@@ -69,14 +69,14 @@ public:
)
ACE_THROW_SPEC ((CORBA::SystemException));
- virtual IR_Contained::Description *describe (
+ virtual CORBA_Contained::Description *describe (
CORBA::Environment &ACE_TRY_ENV =
TAO_default_environment ()
)
ACE_THROW_SPEC ((CORBA::SystemException));
// From Contained_i's pure virtual function.
- virtual IR_Contained::Description *describe_i (
+ virtual CORBA_Contained::Description *describe_i (
CORBA::Environment &ACE_TRY_ENV =
TAO_default_environment ()
)
@@ -95,27 +95,27 @@ public:
)
ACE_THROW_SPEC ((CORBA::SystemException));
- virtual IR_IDLType_ptr type_def (
+ virtual CORBA_IDLType_ptr type_def (
CORBA::Environment &ACE_TRY_ENV =
TAO_default_environment ()
)
ACE_THROW_SPEC ((CORBA::SystemException));
- IR_IDLType_ptr type_def_i (
+ CORBA_IDLType_ptr type_def_i (
CORBA::Environment &ACE_TRY_ENV =
TAO_default_environment ()
)
ACE_THROW_SPEC ((CORBA::SystemException));
virtual void type_def (
- IR_IDLType_ptr type_def,
+ CORBA_IDLType_ptr type_def,
CORBA::Environment &ACE_TRY_ENV =
TAO_default_environment ()
)
ACE_THROW_SPEC ((CORBA::SystemException));
void type_def_i (
- IR_IDLType_ptr type_def,
+ CORBA_IDLType_ptr type_def,
CORBA::Environment &ACE_TRY_ENV =
TAO_default_environment ()
)
diff --git a/TAO/orbsvcs/IFR_Service/WstringDef_i.cpp b/TAO/orbsvcs/IFR_Service/WstringDef_i.cpp
index a56225c5690..58ed597e2ec 100644
--- a/TAO/orbsvcs/IFR_Service/WstringDef_i.cpp
+++ b/TAO/orbsvcs/IFR_Service/WstringDef_i.cpp
@@ -19,11 +19,11 @@ TAO_WstringDef_i::~TAO_WstringDef_i (void)
{
}
-IR_DefinitionKind
+CORBA::DefinitionKind
TAO_WstringDef_i::def_kind (CORBA::Environment &)
ACE_THROW_SPEC ((CORBA::SystemException))
{
- return dk_Wstring;
+ return CORBA::dk_Wstring;
}
void
diff --git a/TAO/orbsvcs/IFR_Service/WstringDef_i.h b/TAO/orbsvcs/IFR_Service/WstringDef_i.h
index 3e75b4bb80f..ff243a9ccdb 100644
--- a/TAO/orbsvcs/IFR_Service/WstringDef_i.h
+++ b/TAO/orbsvcs/IFR_Service/WstringDef_i.h
@@ -10,7 +10,7 @@
// WstringDef_i.h
//
// = DESCRIPTION
-// IR_WstringDef servant class.
+// WstringDef servant class.
//
// = AUTHOR
// Jeff Parsons <parsons@cs.wustl.edu>
@@ -50,7 +50,7 @@ public:
virtual ~TAO_WstringDef_i (void);
// Destructor.
- virtual IR_DefinitionKind def_kind (
+ virtual CORBA::DefinitionKind def_kind (
CORBA::Environment &ACE_TRY_ENV =
TAO_default_environment ()
)
diff --git a/TAO/orbsvcs/IFR_Service/be_global.cpp b/TAO/orbsvcs/IFR_Service/be_global.cpp
index 469ba010eea..2a5bfb09810 100644
--- a/TAO/orbsvcs/IFR_Service/be_global.cpp
+++ b/TAO/orbsvcs/IFR_Service/be_global.cpp
@@ -57,19 +57,19 @@ BE_GlobalData::orb (CORBA::ORB_ptr orb)
this->orb_ = orb;
}
-IR_Repository_ptr
+CORBA_Repository_ptr
BE_GlobalData::repository (void) const
{
return this->repository_.in ();
}
void
-BE_GlobalData::repository (IR_Repository_ptr repo)
+BE_GlobalData::repository (CORBA_Repository_ptr repo)
{
this->repository_ = repo;
}
-ACE_Unbounded_Stack<IR_Container_ptr> &
+ACE_Unbounded_Stack<CORBA_Container_ptr> &
BE_GlobalData::ifr_scopes (void)
{
return this->ifr_scopes_;
@@ -101,12 +101,12 @@ BE_GlobalData::enable_locking (idl_bool value)
#if defined (ACE_HAS_EXPLICIT_TEMPLATE_INSTANTIATION)
-template class ACE_Unbounded_Stack<IR_Container_ptr>;
-template class ACE_Node<IR_Container_ptr>;
+template class ACE_Unbounded_Stack<CORBA_Container_ptr>;
+template class ACE_Node<CORBA_Container_ptr>;
#elif defined (ACE_HAS_TEMPLATE_INSTANTIATION_PRAGMA)
-#pragma instantiate ACE_Unbounded_Stack<IR_Container_ptr>
-#pragma instantiate ACE_Node<IR_Container_ptr>
+#pragma instantiate ACE_Unbounded_Stack<CORBA_Container_ptr>
+#pragma instantiate ACE_Node<CORBA_Container_ptr>
#endif /* ACE_HAS_EXPLICIT_TEMPLATE_INSTANTIATION */
diff --git a/TAO/orbsvcs/IFR_Service/be_global.h b/TAO/orbsvcs/IFR_Service/be_global.h
index 5369678a49d..8f2de45a5aa 100644
--- a/TAO/orbsvcs/IFR_Service/be_global.h
+++ b/TAO/orbsvcs/IFR_Service/be_global.h
@@ -23,7 +23,7 @@
#include "TAO_IFR_BE_Export.h"
#include "idl_bool.h"
#include "tao/ORB.h"
-#include "tao/IFR_Client/InterfaceC.h"
+#include "tao/IFR_Client/IFR_BasicC.h"
#include "ace/Containers.h"
#if !defined (ACE_LACKS_PRAGMA_ONCE)
@@ -57,11 +57,11 @@ public:
void orb (CORBA::ORB_ptr orb);
- IR_Repository_ptr repository (void) const;
+ CORBA_Repository_ptr repository (void) const;
- void repository (IR_Repository_ptr repo);
+ void repository (CORBA_Repository_ptr repo);
- ACE_Unbounded_Stack<IR_Container_ptr> &ifr_scopes (void);
+ ACE_Unbounded_Stack<CORBA_Container_ptr> &ifr_scopes (void);
const char *filename (void);
@@ -78,10 +78,10 @@ private:
CORBA::ORB_var orb_;
// Reference to our ORB.
- IR_Repository_var repository_;
+ CORBA_Repository_var repository_;
// Reference to the interface repository.
- ACE_Unbounded_Stack<IR_Container_ptr> ifr_scopes_;
+ ACE_Unbounded_Stack<CORBA_Container_ptr> ifr_scopes_;
// IR object scope stack.
char *filename_;
diff --git a/TAO/orbsvcs/IFR_Service/concrete_classes.h b/TAO/orbsvcs/IFR_Service/concrete_classes.h
index 7258e8de810..15a1b8dd947 100644
--- a/TAO/orbsvcs/IFR_Service/concrete_classes.h
+++ b/TAO/orbsvcs/IFR_Service/concrete_classes.h
@@ -48,5 +48,7 @@
#include "ValueDef_i.h"
#include "ExceptionDef_i.h"
#include "ModuleDef_i.h"
+#include "AbstractInterfaceDef_i.h"
+#include "LocalInterfaceDef_i.h"
#endif /* CONCRETE_CLASSES_H */
diff --git a/TAO/orbsvcs/IFR_Service/ifr_adding_visitor.cpp b/TAO/orbsvcs/IFR_Service/ifr_adding_visitor.cpp
index 2249fd497e9..04eaf034d5b 100644
--- a/TAO/orbsvcs/IFR_Service/ifr_adding_visitor.cpp
+++ b/TAO/orbsvcs/IFR_Service/ifr_adding_visitor.cpp
@@ -99,14 +99,14 @@ ifr_adding_visitor::visit_predefined_type (AST_PredefinedType *node)
int
ifr_adding_visitor::visit_module (AST_Module *node)
{
- IR_Container_var new_def;
+ CORBA_Container_var new_def;
ACE_DECLARE_NEW_CORBA_ENV;
ACE_TRY
{
// If this module been opened before, it will already be in
// the repository.
- IR_Contained_var prev_def =
+ CORBA_Contained_var prev_def =
be_global->repository ()->lookup_id (node->repoID (),
ACE_TRY_ENV);
ACE_TRY_CHECK;
@@ -114,7 +114,7 @@ ifr_adding_visitor::visit_module (AST_Module *node)
if (CORBA::is_nil (prev_def.in ()))
{
// New module.
- IR_Container_ptr container = IR_Container::_nil ();
+ CORBA_Container_ptr container = CORBA_Container::_nil ();
if (be_global->ifr_scopes ().top (container) == 0)
{
@@ -140,8 +140,8 @@ ifr_adding_visitor::visit_module (AST_Module *node)
else
{
// Reopened module.
- new_def = IR_ModuleDef::_narrow (prev_def.in (),
- ACE_TRY_ENV);
+ new_def = CORBA_ModuleDef::_narrow (prev_def.in (),
+ ACE_TRY_ENV);
ACE_TRY_CHECK;
// Nothing prevents this modules's repo id from already being
@@ -186,7 +186,7 @@ ifr_adding_visitor::visit_module (AST_Module *node)
);
}
- IR_Container_ptr tmp = IR_Container::_nil ();
+ CORBA_Container_ptr tmp = CORBA_Container::_nil ();
if (be_global->ifr_scopes ().pop (tmp) != 0)
{
@@ -224,7 +224,7 @@ ifr_adding_visitor::visit_interface (AST_Interface *node)
ACE_TRY
{
// Is this interface already in the respository?
- IR_Contained_var prev_def =
+ CORBA_Contained_var prev_def =
be_global->repository ()->lookup_id (node->repoID (),
ACE_TRY_ENV);
ACE_TRY_CHECK;
@@ -235,9 +235,9 @@ ifr_adding_visitor::visit_interface (AST_Interface *node)
CORBA::ULong n_parents = ACE_static_cast (CORBA::ULong,
node->n_inherits ());
- IR_InterfaceDefSeq bases (n_parents);
+ CORBA_InterfaceDefSeq bases (n_parents);
bases.length (n_parents);
- IR_Contained_var result;
+ CORBA_Contained_var result;
AST_Interface **parents = node->inherits ();
@@ -249,7 +249,7 @@ ifr_adding_visitor::visit_interface (AST_Interface *node)
ACE_TRY_ENV);
ACE_TRY_CHECK
- bases[i] = IR_InterfaceDef::_narrow (result.in (),
+ bases[i] = CORBA_InterfaceDef::_narrow (result.in (),
ACE_TRY_ENV);
ACE_TRY_CHECK;
@@ -259,37 +259,50 @@ ifr_adding_visitor::visit_interface (AST_Interface *node)
LM_ERROR,
ACE_TEXT ("(%N:%l) ifr_adding_visitor::")
ACE_TEXT ("visit_interface -")
- ACE_TEXT (" IR_InterfaceDef::_narrow failed\n")
+ ACE_TEXT (" CORBA_InterfaceDef::_narrow failed\n")
),
-1
);
}
}
- IR_Container_ptr current_scope = IR_Container::_nil ();
+ CORBA_Container_ptr current_scope = CORBA_Container::_nil ();
if (be_global->ifr_scopes ().top (current_scope) == 0)
{
- IR_InterfaceDef_var new_def =
- current_scope->create_interface (
- node->repoID (),
- node->local_name ()->get_string (),
- this->gen_version (node),
- bases,
- ACE_static_cast (CORBA::Boolean,
- node->is_abstract ()),
- ACE_static_cast (CORBA::Boolean,
- node->is_local ()),
- ACE_TRY_ENV
- );
+ CORBA_InterfaceDef_var new_def;
+
+ if (node->is_local ())
+ {
+ new_def =
+ current_scope->create_local_interface (
+ node->repoID (),
+ node->local_name ()->get_string (),
+ this->gen_version (node),
+ bases,
+ ACE_TRY_ENV
+ );
+ }
+ else
+ {
+ new_def =
+ current_scope->create_interface (
+ node->repoID (),
+ node->local_name ()->get_string (),
+ this->gen_version (node),
+ bases,
+ ACE_TRY_ENV
+ );
+ }
+
ACE_TRY_CHECK;
node->ifr_added_ = 1;
// Push the new IR object onto the scope stack.
- IR_Container_var new_scope =
- IR_Container::_narrow (new_def.in (),
- ACE_TRY_ENV);
+ CORBA_Container_var new_scope =
+ CORBA_Container::_narrow (new_def.in (),
+ ACE_TRY_ENV);
ACE_TRY_CHECK;
if (be_global->ifr_scopes ().push (new_scope.in ()) != 0)
@@ -324,9 +337,9 @@ ifr_adding_visitor::visit_interface (AST_Interface *node)
// update the current IR object holder now. This will
// consume the objref pointer.
this->ir_current_ =
- IR_IDLType::_duplicate (new_def.in ());
+ CORBA_IDLType::_duplicate (new_def.in ());
- IR_Container_ptr used_scope = IR_Container::_nil ();
+ CORBA_Container_ptr used_scope = CORBA_Container::_nil ();
// Pop the new IR object back off the scope stack.
if (be_global->ifr_scopes ().pop (used_scope) != 0)
@@ -361,9 +374,9 @@ ifr_adding_visitor::visit_interface (AST_Interface *node)
// holder.
if (node->is_defined () && node->ifr_added_ == 0)
{
- IR_InterfaceDef_var extant_def =
- IR_InterfaceDef::_narrow (prev_def.in (),
- ACE_TRY_ENV);
+ CORBA_InterfaceDef_var extant_def =
+ CORBA_InterfaceDef::_narrow (prev_def.in (),
+ ACE_TRY_ENV);
ACE_TRY_CHECK;
// Nothing prevents this interface's repo id from already being
@@ -398,9 +411,9 @@ ifr_adding_visitor::visit_interface (AST_Interface *node)
CORBA::ULong n_parents = ACE_static_cast (CORBA::ULong,
node->n_inherits ());
- IR_InterfaceDefSeq bases (n_parents);
+ CORBA_InterfaceDefSeq bases (n_parents);
bases.length (n_parents);
- IR_Contained_var result;
+ CORBA_Contained_var result;
AST_Interface **parents = node->inherits ();
@@ -420,15 +433,15 @@ ifr_adding_visitor::visit_interface (AST_Interface *node)
if (CORBA::is_nil (result.in ()))
{
this->ir_current_ =
- IR_IDLType::_narrow (prev_def.in (),
+ CORBA_IDLType::_narrow (prev_def.in (),
ACE_TRY_ENV);
ACE_TRY_CHECK
return 0;
}
- bases[i] = IR_InterfaceDef::_narrow (result.in (),
- ACE_TRY_ENV);
+ bases[i] = CORBA_InterfaceDef::_narrow (result.in (),
+ ACE_TRY_ENV);
ACE_TRY_CHECK;
if (CORBA::is_nil (bases[i].in ()))
@@ -437,7 +450,7 @@ ifr_adding_visitor::visit_interface (AST_Interface *node)
LM_ERROR,
ACE_TEXT ("(%N:%l) ifr_adding_visitor::")
ACE_TEXT ("visit_interface -")
- ACE_TEXT (" IR_InterfaceDef::_narrow failed\n")
+ ACE_TEXT (" CORBA_InterfaceDef::_narrow failed\n")
),
-1
);
@@ -448,21 +461,11 @@ ifr_adding_visitor::visit_interface (AST_Interface *node)
ACE_TRY_ENV);
ACE_TRY_CHECK
- extant_def->is_abstract (ACE_static_cast (CORBA::Boolean,
- node->is_abstract ()),
- ACE_TRY_ENV);
- ACE_TRY_CHECK
-
- extant_def->is_local (ACE_static_cast (CORBA::Boolean,
- node->is_local ()),
- ACE_TRY_ENV);
- ACE_TRY_CHECK;
-
node->ifr_added_ = 1;
- IR_Container_var new_scope =
- IR_Container::_narrow (extant_def.in (),
- ACE_TRY_ENV);
+ CORBA_Container_var new_scope =
+ CORBA_Container::_narrow (extant_def.in (),
+ ACE_TRY_ENV);
ACE_TRY_CHECK;
// Push the new IR object onto the scope stack.
@@ -497,9 +500,9 @@ ifr_adding_visitor::visit_interface (AST_Interface *node)
// the info is available anywhere. So it's a good idea to
// update the current IR object holder now.
this->ir_current_ =
- IR_IDLType::_duplicate (extant_def.in ());
+ CORBA_IDLType::_duplicate (extant_def.in ());
- IR_Container_ptr used_scope = IR_Container::_nil ();
+ CORBA_Container_ptr used_scope = CORBA_Container::_nil ();
// Pop the new IR object back off the scope stack.
if (be_global->ifr_scopes ().pop (used_scope) != 0)
@@ -517,7 +520,7 @@ ifr_adding_visitor::visit_interface (AST_Interface *node)
else
{
this->ir_current_ =
- IR_InterfaceDef::_narrow (prev_def.in (),
+ CORBA_InterfaceDef::_narrow (prev_def.in (),
ACE_TRY_ENV);
ACE_TRY_CHECK;
@@ -527,7 +530,7 @@ ifr_adding_visitor::visit_interface (AST_Interface *node)
LM_ERROR,
ACE_TEXT ("(%N:%l) ifr_adding_visitor::")
ACE_TEXT ("visit_interface -")
- ACE_TEXT (" IR_InterfaceDef::_narrow failed\n")
+ ACE_TEXT (" CORBA_InterfaceDef::_narrow failed\n")
),
-1
);
@@ -556,7 +559,7 @@ ifr_adding_visitor::visit_interface_fwd (AST_InterfaceFwd *node)
ACE_TRY
{
// Is this interface already in the respository?
- IR_Contained_var prev_def =
+ CORBA_Contained_var prev_def =
be_global->repository ()->lookup_id (i->repoID (),
ACE_TRY_ENV);
ACE_TRY_CHECK;
@@ -564,23 +567,36 @@ ifr_adding_visitor::visit_interface_fwd (AST_InterfaceFwd *node)
// If not, create an empty entry, to be populated later.
if (CORBA::is_nil (prev_def.in ()))
{
- IR_InterfaceDefSeq bases (0);
+ CORBA_InterfaceDefSeq bases (0);
bases.length (0);
- IR_Container_ptr current_scope = IR_Container::_nil ();
+ CORBA_Container_ptr current_scope = CORBA_Container::_nil ();
if (be_global->ifr_scopes ().top (current_scope) == 0)
{
- this->ir_current_ =
- current_scope->create_interface (
- i->repoID (),
- i->local_name ()->get_string (),
- this->gen_version (i),
- bases,
- 0,
- 0,
- ACE_TRY_ENV
- );
+ if (i->is_local ())
+ {
+ this->ir_current_ =
+ current_scope->create_local_interface (
+ i->repoID (),
+ i->local_name ()->get_string (),
+ this->gen_version (i),
+ bases,
+ ACE_TRY_ENV
+ );
+ }
+ else
+ {
+ this->ir_current_ =
+ current_scope->create_interface (
+ i->repoID (),
+ i->local_name ()->get_string (),
+ this->gen_version (i),
+ bases,
+ ACE_TRY_ENV
+ );
+ }
+
ACE_TRY_CHECK;
i->ifr_fwd_added_ = 1;
@@ -602,7 +618,7 @@ ifr_adding_visitor::visit_interface_fwd (AST_InterfaceFwd *node)
// There is already an entry in the repository, so just update
// the current IR object holder.
this->ir_current_ =
- IR_InterfaceDef::_narrow (prev_def.in (),
+ CORBA_InterfaceDef::_narrow (prev_def.in (),
ACE_TRY_ENV);
ACE_TRY_CHECK;
@@ -667,7 +683,7 @@ ifr_adding_visitor::visit_structure (AST_Structure *node)
ACE_DECLARE_NEW_CORBA_ENV;
ACE_TRY
{
- IR_Contained_var prev_def =
+ CORBA_Contained_var prev_def =
be_global->repository ()->lookup_id (node->repoID (),
ACE_TRY_ENV);
ACE_TRY_CHECK;
@@ -681,7 +697,7 @@ ifr_adding_visitor::visit_structure (AST_Structure *node)
if (retval == 0)
{
this->ir_current_ =
- IR_IDLType::_duplicate (visitor.ir_current ());
+ CORBA_IDLType::_duplicate (visitor.ir_current ());
}
return retval;
@@ -689,7 +705,7 @@ ifr_adding_visitor::visit_structure (AST_Structure *node)
else
{
this->ir_current_ =
- IR_IDLType::_narrow (prev_def.in (),
+ CORBA_IDLType::_narrow (prev_def.in (),
ACE_TRY_ENV);
ACE_TRY_CHECK;
@@ -743,7 +759,7 @@ ifr_adding_visitor::visit_enum (AST_Enum *node)
ACE_TRY
{
// Is this enum already in the respository?
- IR_Contained_var prev_def =
+ CORBA_Contained_var prev_def =
be_global->repository ()->lookup_id (node->repoID (),
ACE_TRY_ENV);
ACE_TRY_CHECK;
@@ -755,7 +771,7 @@ ifr_adding_visitor::visit_enum (AST_Enum *node)
ACE_static_cast (CORBA::ULong,
node->member_count ());
- IR_EnumMemberSeq members (member_count);
+ CORBA_EnumMemberSeq members (member_count);
members.length (member_count);
UTL_ScopedName *member_name = 0;
@@ -771,7 +787,7 @@ ifr_adding_visitor::visit_enum (AST_Enum *node)
);
}
- IR_Container_ptr current_scope = IR_Container::_nil ();
+ CORBA_Container_ptr current_scope = CORBA_Container::_nil ();
if (be_global->ifr_scopes ().top (current_scope) == 0)
{
@@ -801,7 +817,7 @@ ifr_adding_visitor::visit_enum (AST_Enum *node)
// There is already an entry in the repository, so just update
// the current IR object holder.
this->ir_current_ =
- IR_EnumDef::_narrow (prev_def.in (),
+ CORBA_EnumDef::_narrow (prev_def.in (),
ACE_TRY_ENV);
ACE_TRY_CHECK;
@@ -883,21 +899,17 @@ ifr_adding_visitor::visit_attribute (AST_Attribute *node)
ACE_DECLARE_NEW_CORBA_ENV;
ACE_TRY
{
- IR_Contained_var prev_def =
+ CORBA_Contained_var prev_def =
be_global->repository ()->lookup_id (node->repoID (),
ACE_TRY_ENV);
ACE_TRY_CHECK;
- IR_AttributeDef_var new_def;
+ CORBA_AttributeDef_var new_def;
if (CORBA::is_nil (prev_def.in ()))
{
- IR_AttributeMode mode =
- node->readonly () ? ATTR_READONLY : ATTR_NORMAL;
-
- // TODO - used with components.
- IR_ExceptionDefSeq dummy (0);
- dummy.length (0);
+ CORBA::AttributeMode mode =
+ node->readonly () ? CORBA::ATTR_READONLY : CORBA::ATTR_NORMAL;
AST_Type *type = node->field_type ();
@@ -910,13 +922,13 @@ ifr_adding_visitor::visit_attribute (AST_Attribute *node)
// been declared.
if (type->node_type () == AST_Decl::NT_interface)
{
- IR_Contained_var prev_type_def =
+ CORBA_Contained_var prev_type_def =
be_global->repository ()->lookup_id (type->repoID (),
ACE_TRY_ENV);
ACE_TRY_CHECK;
this->ir_current_ =
- IR_IDLType::_narrow (prev_type_def.in (),
+ CORBA_IDLType::_narrow (prev_type_def.in (),
ACE_TRY_ENV);
ACE_TRY_CHECK;
}
@@ -939,12 +951,12 @@ ifr_adding_visitor::visit_attribute (AST_Attribute *node)
}
}
- IR_Container_ptr current_scope = IR_Container::_nil ();
+ CORBA_Container_ptr current_scope = CORBA_Container::_nil ();
if (be_global->ifr_scopes ().top (current_scope) == 0)
{
- IR_InterfaceDef_var iface =
- IR_InterfaceDef::_narrow (current_scope);
+ CORBA_InterfaceDef_var iface =
+ CORBA_InterfaceDef::_narrow (current_scope);
new_def =
iface->create_attribute (node->repoID (),
@@ -952,8 +964,6 @@ ifr_adding_visitor::visit_attribute (AST_Attribute *node)
this->gen_version (node),
this->ir_current_.in (),
mode,
- dummy,
- dummy,
ACE_TRY_ENV);
ACE_TRY_CHECK;
}
@@ -971,7 +981,7 @@ ifr_adding_visitor::visit_attribute (AST_Attribute *node)
else
{
new_def =
- IR_AttributeDef::_narrow (prev_def.in (),
+ CORBA_AttributeDef::_narrow (prev_def.in (),
ACE_TRY_ENV);
ACE_TRY_CHECK;
@@ -1013,7 +1023,7 @@ ifr_adding_visitor::visit_union (AST_Union *node)
ACE_DECLARE_NEW_CORBA_ENV;
ACE_TRY
{
- IR_Contained_var prev_def =
+ CORBA_Contained_var prev_def =
be_global->repository ()->lookup_id (node->repoID (),
ACE_TRY_ENV);
ACE_TRY_CHECK;
@@ -1027,7 +1037,7 @@ ifr_adding_visitor::visit_union (AST_Union *node)
if (retval == 0)
{
this->ir_current_ =
- IR_IDLType::_duplicate (visitor.ir_current ());
+ CORBA_IDLType::_duplicate (visitor.ir_current ());
}
return retval;
@@ -1035,7 +1045,7 @@ ifr_adding_visitor::visit_union (AST_Union *node)
else
{
this->ir_current_ =
- IR_UnionDef::_narrow (prev_def.in (),
+ CORBA_UnionDef::_narrow (prev_def.in (),
ACE_TRY_ENV);
ACE_TRY_CHECK;
@@ -1111,7 +1121,7 @@ ifr_adding_visitor::visit_constant (AST_Constant *node)
ACE_DECLARE_NEW_CORBA_ENV;
ACE_TRY
{
- IR_Contained_var prev_def =
+ CORBA_Contained_var prev_def =
be_global->repository ()->lookup_id (id,
ACE_TRY_ENV);
ACE_TRY_CHECK;
@@ -1123,8 +1133,8 @@ ifr_adding_visitor::visit_constant (AST_Constant *node)
// call on ir_current_.
if (!CORBA::is_nil (prev_def.in ()))
{
- IR_ConstantDef_var const_def =
- IR_ConstantDef::_narrow (prev_def.in (),
+ CORBA_ConstantDef_var const_def =
+ CORBA_ConstantDef::_narrow (prev_def.in (),
ACE_TRY_ENV);
ACE_TRY_CHECK;
@@ -1148,9 +1158,9 @@ ifr_adding_visitor::visit_constant (AST_Constant *node)
AST_Expression::AST_ExprValue *ev = node->constant_value ()->ev ();
- IR_PrimitiveKind pkind = this->expr_type_to_pkind (ev->et);
+ CORBA::PrimitiveKind pkind = this->expr_type_to_pkind (ev->et);
- IR_IDLType_var idl_type =
+ CORBA_IDLType_var idl_type =
be_global->repository ()->get_primitive (pkind,
ACE_TRY_ENV);
ACE_TRY_CHECK;
@@ -1160,11 +1170,11 @@ ifr_adding_visitor::visit_constant (AST_Constant *node)
this->load_any (ev,
any);
- IR_Container_ptr current_scope = IR_Container::_nil ();
+ CORBA_Container_ptr current_scope = CORBA_Container::_nil ();
if (be_global->ifr_scopes ().top (current_scope) == 0)
{
- IR_ConstantDef_var new_def =
+ CORBA_ConstantDef_var new_def =
current_scope->create_constant (
id,
node->local_name ()->get_string (),
@@ -1309,7 +1319,7 @@ ifr_adding_visitor::visit_typedef (AST_Typedef *node)
ACE_TRY
{
// Is this typedef already in the respository?
- IR_Contained_var prev_def =
+ CORBA_Contained_var prev_def =
be_global->repository ()->lookup_id (node->repoID (),
ACE_TRY_ENV);
ACE_TRY_CHECK;
@@ -1321,7 +1331,7 @@ ifr_adding_visitor::visit_typedef (AST_Typedef *node)
ACE_TRY_ENV);
ACE_TRY_CHECK;
- IR_Container_ptr current_scope = IR_Container::_nil ();
+ CORBA_Container_ptr current_scope = CORBA_Container::_nil ();
if (be_global->ifr_scopes ().top (current_scope) == 0)
{
@@ -1351,7 +1361,7 @@ ifr_adding_visitor::visit_typedef (AST_Typedef *node)
// There is already an entry in the repository, so just update
// the current IR object holder.
this->ir_current_ =
- IR_TypedefDef::_narrow (prev_def.in (),
+ CORBA_TypedefDef::_narrow (prev_def.in (),
ACE_TRY_ENV);
ACE_TRY_CHECK;
@@ -1393,8 +1403,8 @@ ifr_adding_visitor::visit_root (AST_Root *node)
ACE_DECLARE_NEW_CORBA_ENV;
ACE_TRY
{
- IR_Container_var new_scope =
- IR_Container::_narrow (be_global->repository (),
+ CORBA_Container_var new_scope =
+ CORBA_Container::_narrow (be_global->repository (),
ACE_TRY_ENV);
ACE_TRY_CHECK;
@@ -1420,7 +1430,7 @@ ifr_adding_visitor::visit_root (AST_Root *node)
);
}
- IR_Container_ptr tmp = IR_Container::_nil ();
+ CORBA_Container_ptr tmp = CORBA_Container::_nil ();
if (be_global->ifr_scopes ().pop (tmp) != 0)
{
@@ -1451,14 +1461,14 @@ ifr_adding_visitor::visit_native (AST_Native *node)
ACE_DECLARE_NEW_CORBA_ENV;
ACE_TRY
{
- IR_Contained_var prev_def =
+ CORBA_Contained_var prev_def =
be_global->repository ()->lookup_id (node->repoID (),
ACE_TRY_ENV);
ACE_TRY_CHECK;
if (CORBA::is_nil (prev_def.in ()))
{
- IR_Container_ptr current_scope = IR_Container::_nil ();
+ CORBA_Container_ptr current_scope = CORBA_Container::_nil ();
if (be_global->ifr_scopes ().top (current_scope) == 0)
{
@@ -1485,7 +1495,7 @@ ifr_adding_visitor::visit_native (AST_Native *node)
else
{
this->ir_current_ =
- IR_NativeDef::_narrow (prev_def.in (),
+ CORBA_NativeDef::_narrow (prev_def.in (),
ACE_TRY_ENV);
ACE_TRY_CHECK;
@@ -1522,106 +1532,106 @@ ifr_adding_visitor::visit_native (AST_Native *node)
return 0;
}
-IR_PrimitiveKind
+CORBA::PrimitiveKind
ifr_adding_visitor::expr_type_to_pkind (AST_Expression::ExprType et)
{
switch (et)
{
case AST_Expression::EV_short:
- return pk_short;
+ return CORBA::pk_short;
case AST_Expression::EV_ushort:
- return pk_ushort;
+ return CORBA::pk_ushort;
case AST_Expression::EV_long:
- return pk_long;
+ return CORBA::pk_long;
case AST_Expression::EV_ulong:
- return pk_ulong;
+ return CORBA::pk_ulong;
case AST_Expression::EV_longlong:
- return pk_longlong;
+ return CORBA::pk_longlong;
case AST_Expression::EV_ulonglong:
- return pk_ulonglong;
+ return CORBA::pk_ulonglong;
case AST_Expression::EV_float:
- return pk_float;
+ return CORBA::pk_float;
case AST_Expression::EV_double:
- return pk_double;
+ return CORBA::pk_double;
case AST_Expression::EV_longdouble:
- return pk_longdouble;
+ return CORBA::pk_longdouble;
case AST_Expression::EV_char:
- return pk_char;
+ return CORBA::pk_char;
case AST_Expression::EV_wchar:
- return pk_wchar;
+ return CORBA::pk_wchar;
case AST_Expression::EV_octet:
- return pk_octet;
+ return CORBA::pk_octet;
case AST_Expression::EV_bool:
- return pk_boolean;
+ return CORBA::pk_boolean;
case AST_Expression::EV_string:
- return pk_string;
+ return CORBA::pk_string;
case AST_Expression::EV_wstring:
- return pk_wstring;
+ return CORBA::pk_wstring;
case AST_Expression::EV_any:
- return pk_any;
+ return CORBA::pk_any;
case AST_Expression::EV_void:
- return pk_void;
+ return CORBA::pk_void;
case AST_Expression::EV_none:
- return pk_null;
+ return CORBA::pk_null;
default:
- return pk_null;
+ return CORBA::pk_null;
}
}
-IR_PrimitiveKind
+CORBA::PrimitiveKind
ifr_adding_visitor::predefined_type_to_pkind (AST_PredefinedType *node)
{
switch (node->pt ())
{
case AST_PredefinedType::PT_short:
- return pk_short;
+ return CORBA::pk_short;
case AST_PredefinedType::PT_ushort:
- return pk_ushort;
+ return CORBA::pk_ushort;
case AST_PredefinedType::PT_long:
- return pk_long;
+ return CORBA::pk_long;
case AST_PredefinedType::PT_ulong:
- return pk_ulong;
+ return CORBA::pk_ulong;
case AST_PredefinedType::PT_longlong:
- return pk_longlong;
+ return CORBA::pk_longlong;
case AST_PredefinedType::PT_ulonglong:
- return pk_ulonglong;
+ return CORBA::pk_ulonglong;
case AST_PredefinedType::PT_float:
- return pk_float;
+ return CORBA::pk_float;
case AST_PredefinedType::PT_double:
- return pk_double;
+ return CORBA::pk_double;
case AST_PredefinedType::PT_longdouble:
- return pk_longdouble;
+ return CORBA::pk_longdouble;
case AST_PredefinedType::PT_char:
- return pk_char;
+ return CORBA::pk_char;
case AST_PredefinedType::PT_wchar:
- return pk_wchar;
+ return CORBA::pk_wchar;
case AST_PredefinedType::PT_octet:
- return pk_octet;
+ return CORBA::pk_octet;
case AST_PredefinedType::PT_boolean:
- return pk_boolean;
+ return CORBA::pk_boolean;
case AST_PredefinedType::PT_any:
- return pk_any;
+ return CORBA::pk_any;
case AST_PredefinedType::PT_void:
- return pk_void;
+ return CORBA::pk_void;
case AST_PredefinedType::PT_pseudo:
{
const char *local_name = node->local_name ()->get_string ();
if (!ACE_OS::strcmp (local_name, "Object"))
{
- return pk_objref;
+ return CORBA::pk_objref;
}
else if (!ACE_OS::strcmp (local_name, "Principal"))
{
- return pk_Principal;
+ return CORBA::pk_Principal;
}
else
{
- return pk_TypeCode;
+ return CORBA::pk_TypeCode;
}
}
default:
- return pk_null;
+ return CORBA::pk_null;
}
}
@@ -1723,7 +1733,7 @@ ifr_adding_visitor::element_type (AST_Type *base_type,
}
else
{
- IR_Contained_var contained =
+ CORBA_Contained_var contained =
be_global->repository ()->lookup_id (base_type->repoID (),
ACE_TRY_ENV);
ACE_CHECK;
@@ -1737,7 +1747,7 @@ ifr_adding_visitor::element_type (AST_Type *base_type,
));
}
- this->ir_current_ = IR_IDLType::_narrow (contained.in (),
+ this->ir_current_ = CORBA_IDLType::_narrow (contained.in (),
ACE_TRY_ENV);
ACE_CHECK;
}
diff --git a/TAO/orbsvcs/IFR_Service/ifr_adding_visitor.h b/TAO/orbsvcs/IFR_Service/ifr_adding_visitor.h
index a856196ed53..af8a3cdba41 100644
--- a/TAO/orbsvcs/IFR_Service/ifr_adding_visitor.h
+++ b/TAO/orbsvcs/IFR_Service/ifr_adding_visitor.h
@@ -111,8 +111,8 @@ public:
// Visit a native.
protected:
- IR_PrimitiveKind expr_type_to_pkind (AST_Expression::ExprType et);
- IR_PrimitiveKind predefined_type_to_pkind (AST_PredefinedType *node);
+ CORBA::PrimitiveKind expr_type_to_pkind (AST_Expression::ExprType et);
+ CORBA::PrimitiveKind predefined_type_to_pkind (AST_PredefinedType *node);
// Conversion functions.
void load_any (AST_Expression::AST_ExprValue *ev,
@@ -133,7 +133,7 @@ protected:
// the same type, it may be an error. This warning lets the user
// decide.
- IR_IDLType_var ir_current_;
+ CORBA_IDLType_var ir_current_;
// Holder for the IR object most recently created or looked up by
// the visitor. This makes it accessible by visitor methods that
// need the result of a call to another visitor method that
diff --git a/TAO/orbsvcs/IFR_Service/ifr_adding_visitor_exception.cpp b/TAO/orbsvcs/IFR_Service/ifr_adding_visitor_exception.cpp
index 4fc393845e7..aa5b2d02444 100644
--- a/TAO/orbsvcs/IFR_Service/ifr_adding_visitor_exception.cpp
+++ b/TAO/orbsvcs/IFR_Service/ifr_adding_visitor_exception.cpp
@@ -83,7 +83,7 @@ ifr_adding_visitor_exception::visit_scope (UTL_Scope *node)
CORBA::TypeCode::_duplicate (CORBA::_tc_null);
this->members_[i].type_def =
- IR_IDLType::_duplicate (this->ir_current_.in ());
+ CORBA_IDLType::_duplicate (this->ir_current_.in ());
}
return 0;
@@ -96,7 +96,7 @@ ifr_adding_visitor_exception::visit_structure (AST_Structure *node)
ACE_TRY
{
// Is this union already in the respository?
- IR_Contained_var prev_def =
+ CORBA_Contained_var prev_def =
be_global->repository ()->lookup_id (node->repoID (),
ACE_TRY_ENV);
ACE_TRY_CHECK;
@@ -112,10 +112,10 @@ ifr_adding_visitor_exception::visit_structure (AST_Structure *node)
{
// Get the result of the visit.
this->ir_current_ =
- IR_IDLType::_duplicate (visitor.ir_current ());
+ CORBA_IDLType::_duplicate (visitor.ir_current ());
- IR_Contained_ptr tmp =
- IR_Contained::_narrow (visitor.ir_current (),
+ CORBA_Contained_ptr tmp =
+ CORBA_Contained::_narrow (visitor.ir_current (),
ACE_TRY_ENV);
ACE_TRY_CHECK;
@@ -133,7 +133,7 @@ ifr_adding_visitor_exception::visit_structure (AST_Structure *node)
// There is already an entry in the repository, so just update
// the current IR object holder.
this->ir_current_ =
- IR_IDLType::_narrow (prev_def.in (),
+ CORBA_IDLType::_narrow (prev_def.in (),
ACE_TRY_ENV);
ACE_TRY_CHECK;
@@ -178,15 +178,15 @@ ifr_adding_visitor_exception::visit_exception (AST_Exception *node)
ACE_DECLARE_NEW_CORBA_ENV;
ACE_TRY
{
- IR_Contained_var prev_def =
+ CORBA_Contained_var prev_def =
be_global->repository ()->lookup_id (node->repoID (),
ACE_TRY_ENV);
ACE_TRY_CHECK;
if (!CORBA::is_nil (prev_def.in ()))
{
- IR_ExceptionDef_var except_def =
- IR_ExceptionDef::_narrow (prev_def.in (),
+ CORBA_ExceptionDef_var except_def =
+ CORBA_ExceptionDef::_narrow (prev_def.in (),
ACE_TRY_ENV);
ACE_TRY_CHECK;
@@ -224,7 +224,7 @@ ifr_adding_visitor_exception::visit_exception (AST_Exception *node)
);
}
- IR_Container_ptr current_scope = IR_Container::_nil ();
+ CORBA_Container_ptr current_scope = CORBA_Container::_nil ();
if (be_global->ifr_scopes ().top (current_scope) != 0)
{
@@ -238,7 +238,7 @@ ifr_adding_visitor_exception::visit_exception (AST_Exception *node)
);
}
- IR_ExceptionDef_var new_def =
+ CORBA_ExceptionDef_var new_def =
current_scope->create_exception (node->repoID (),
node->local_name ()->get_string (),
this->gen_version (node),
@@ -251,10 +251,10 @@ ifr_adding_visitor_exception::visit_exception (AST_Exception *node)
if (size > 0)
{
- IR_Contained_var traveller;
+ CORBA_Contained_var traveller;
- IR_Container_var new_container =
- IR_Container::_narrow (new_def.in (),
+ CORBA_Container_var new_container =
+ CORBA_Container::_narrow (new_def.in (),
ACE_TRY_ENV);
ACE_TRY_CHECK;
@@ -297,7 +297,7 @@ ifr_adding_visitor_exception::visit_enum (AST_Enum *node)
ACE_TRY
{
// Is this enum already in the respository?
- IR_Contained_var prev_def =
+ CORBA_Contained_var prev_def =
be_global->repository ()->lookup_id (node->repoID (),
ACE_TRY_ENV);
ACE_TRY_CHECK;
@@ -308,7 +308,7 @@ ifr_adding_visitor_exception::visit_enum (AST_Enum *node)
CORBA::ULong member_count = ACE_static_cast (CORBA::ULong,
node->member_count ());
- IR_EnumMemberSeq members (member_count);
+ CORBA_EnumMemberSeq members (member_count);
members.length (member_count);
UTL_ScopedName *member_name = 0;
@@ -334,8 +334,8 @@ ifr_adding_visitor_exception::visit_enum (AST_Enum *node)
);
ACE_TRY_CHECK;
- IR_Contained_ptr tmp =
- IR_Contained::_narrow (this->ir_current_.in (),
+ CORBA_Contained_ptr tmp =
+ CORBA_Contained::_narrow (this->ir_current_.in (),
ACE_TRY_ENV);
ACE_TRY_CHECK;
@@ -346,7 +346,7 @@ ifr_adding_visitor_exception::visit_enum (AST_Enum *node)
// There is already an entry in the repository, so just update
// the current IR object holder.
this->ir_current_ =
- IR_IDLType::_narrow (prev_def.in (),
+ CORBA_IDLType::_narrow (prev_def.in (),
ACE_TRY_ENV);
ACE_TRY_CHECK;
@@ -392,7 +392,7 @@ ifr_adding_visitor_exception::visit_union (AST_Union *node)
ACE_TRY
{
// Is this union already in the respository?
- IR_Contained_var prev_def =
+ CORBA_Contained_var prev_def =
be_global->repository ()->lookup_id (node->repoID (),
ACE_TRY_ENV);
ACE_TRY_CHECK;
@@ -408,10 +408,10 @@ ifr_adding_visitor_exception::visit_union (AST_Union *node)
{
// Get the result of the visit.
this->ir_current_ =
- IR_IDLType::_duplicate (visitor.ir_current ());
+ CORBA_IDLType::_duplicate (visitor.ir_current ());
- IR_Contained_ptr tmp =
- IR_Contained::_narrow (visitor.ir_current (),
+ CORBA_Contained_ptr tmp =
+ CORBA_Contained::_narrow (visitor.ir_current (),
ACE_TRY_ENV);
ACE_TRY_CHECK;
@@ -429,7 +429,7 @@ ifr_adding_visitor_exception::visit_union (AST_Union *node)
// There is already an entry in the repository, so just update
// the current IR object holder.
this->ir_current_ =
- IR_IDLType::_narrow (prev_def.in (),
+ CORBA_IDLType::_narrow (prev_def.in (),
ACE_TRY_ENV);
ACE_TRY_CHECK;
@@ -468,7 +468,7 @@ ifr_adding_visitor_exception::visit_union (AST_Union *node)
return 0;
}
-IR_IDLType_ptr
+CORBA_IDLType_ptr
ifr_adding_visitor_exception::ir_current (void) const
{
return this->ir_current_.in ();
@@ -476,16 +476,16 @@ ifr_adding_visitor_exception::ir_current (void) const
#if defined (ACE_HAS_EXPLICIT_TEMPLATE_INSTANTIATION)
-template class ACE_Unbounded_Queue<IR_Contained_ptr>;
-template class ACE_Unbounded_Queue_Iterator<IR_Contained_ptr>;
-template class ACE_Node<IR_Contained_ptr>;
+template class ACE_Unbounded_Queue<CORBA_Contained_ptr>;
+template class ACE_Unbounded_Queue_Iterator<CORBA_Contained_ptr>;
+template class ACE_Node<CORBA_Contained_ptr>;
template class ACE_Write_Guard<ACE_Lock>;
#elif defined (ACE_HAS_TEMPLATE_INSTANTIATION_PRAGMA)
-#pragma instantiate ACE_Unbounded_Queue<IR_Contained_ptr>
-#pragma instantiate ACE_Unbounded_Queue_Iterator<IR_Contained_ptr>
-#pragma instantiate ACE_Node<IR_Contained_ptr>
+#pragma instantiate ACE_Unbounded_Queue<CORBA_Contained_ptr>
+#pragma instantiate ACE_Unbounded_Queue_Iterator<CORBA_Contained_ptr>
+#pragma instantiate ACE_Node<CORBA_Contained_ptr>
#pragma instantiate ACE_Write_Guard<ACE_Lock>
#endif /* ACE_HAS_EXPLICIT_TEMPLATE_INSTANTIATION */
diff --git a/TAO/orbsvcs/IFR_Service/ifr_adding_visitor_exception.h b/TAO/orbsvcs/IFR_Service/ifr_adding_visitor_exception.h
index a0916dbde68..df336f3e9f8 100644
--- a/TAO/orbsvcs/IFR_Service/ifr_adding_visitor_exception.h
+++ b/TAO/orbsvcs/IFR_Service/ifr_adding_visitor_exception.h
@@ -58,7 +58,7 @@ public:
virtual int visit_union (AST_Union *node);
// Visit union.
- virtual IR_IDLType_ptr ir_current (void) const;
+ virtual CORBA_IDLType_ptr ir_current (void) const;
// Lets the visitor one level above acess this value.
private:
@@ -66,11 +66,11 @@ private:
// Is this visitor visiting a struct that was defined inside
// a union, an exception, or another struct?
- IR_StructMemberSeq members_;
+ CORBA_StructMemberSeq members_;
// Holder for the member list passed to create_struct() or
// create_exception().
- ACE_Unbounded_Queue<IR_Contained_ptr> move_queue_;
+ ACE_Unbounded_Queue<CORBA_Contained_ptr> move_queue_;
// IR objects that must be moved into the scope (struct or
// exception) where they were declared in the IDL file.
};
diff --git a/TAO/orbsvcs/IFR_Service/ifr_adding_visitor_operation.cpp b/TAO/orbsvcs/IFR_Service/ifr_adding_visitor_operation.cpp
index b07bc017786..275f567fdda 100644
--- a/TAO/orbsvcs/IFR_Service/ifr_adding_visitor_operation.cpp
+++ b/TAO/orbsvcs/IFR_Service/ifr_adding_visitor_operation.cpp
@@ -27,7 +27,7 @@ ifr_adding_visitor_operation::visit_operation (AST_Operation *node)
// just return 0. The IDL file must be legal, otherwise the IDL
// compiler front end would have told us.
- IR_Contained_var prev_def =
+ CORBA_Contained_var prev_def =
be_global->repository ()->lookup_id (node->repoID (),
ACE_TRY_ENV);
ACE_TRY_CHECK;
@@ -74,7 +74,7 @@ ifr_adding_visitor_operation::visit_operation (AST_Operation *node)
length = 0;
}
- IR_ExceptionDefSeq exceptions (length);
+ CORBA_ExceptionDefSeq exceptions (length);
exceptions.length (length);
UTL_ExceptlistActiveIterator ex_iter (excepts);
@@ -90,7 +90,7 @@ ifr_adding_visitor_operation::visit_operation (AST_Operation *node)
ACE_TRY_ENV);
ACE_TRY_CHECK;
- exceptions[i++] = IR_ExceptionDef::_narrow (prev_def.in (),
+ exceptions[i++] = CORBA_ExceptionDef::_narrow (prev_def.in (),
ACE_TRY_ENV);
ACE_TRY_CHECK;
@@ -111,7 +111,7 @@ ifr_adding_visitor_operation::visit_operation (AST_Operation *node)
length = 0;
}
- IR_ContextIdSeq contexts (length);
+ CORBA_ContextIdSeq contexts (length);
contexts.length (length);
UTL_StrlistActiveIterator ctx_iter (ctx_list);
@@ -140,12 +140,12 @@ ifr_adding_visitor_operation::visit_operation (AST_Operation *node)
// been declared.
if (return_type->node_type () == AST_Decl::NT_interface)
{
- IR_Contained_var prev_def =
+ CORBA_Contained_var prev_def =
be_global->repository ()->lookup_id (return_type->repoID (),
ACE_TRY_ENV);
ACE_TRY_CHECK;
- this->ir_current_ = IR_IDLType::_narrow (prev_def.in (),
+ this->ir_current_ = CORBA_IDLType::_narrow (prev_def.in (),
ACE_TRY_ENV);
ACE_TRY_CHECK;
}
@@ -168,22 +168,22 @@ ifr_adding_visitor_operation::visit_operation (AST_Operation *node)
}
// Is the operation oneway?
- IR_OperationMode mode = node->flags () == AST_Operation::OP_oneway
- ? OP_ONEWAY
- : OP_NORMAL;
+ CORBA::OperationMode mode = node->flags () == AST_Operation::OP_oneway
+ ? CORBA::OP_ONEWAY
+ : CORBA::OP_NORMAL;
// Create the repository entry.
- IR_Container_ptr current_scope = IR_Container::_nil ();
+ CORBA_Container_ptr current_scope = CORBA_Container::_nil ();
if (be_global->ifr_scopes ().top (current_scope) == 0)
{
- IR_InterfaceDef_var iface =
- IR_InterfaceDef::_narrow (current_scope,
+ CORBA_InterfaceDef_var iface =
+ CORBA_InterfaceDef::_narrow (current_scope,
ACE_TRY_ENV);
ACE_TRY_CHECK;
- IR_OperationDef_var new_def =
+ CORBA_OperationDef_var new_def =
iface->create_operation (node->repoID (),
node->local_name ()->get_string (),
this->gen_version (node),
@@ -241,12 +241,12 @@ ifr_adding_visitor_operation::visit_argument (AST_Argument *node)
// been declared.
if (arg_type->node_type () == AST_Decl::NT_interface)
{
- IR_Contained_var prev_def =
+ CORBA_Contained_var prev_def =
be_global->repository ()->lookup_id (arg_type->repoID (),
ACE_TRY_ENV);
ACE_TRY_CHECK;
- this->ir_current_ = IR_IDLType::_narrow (prev_def.in (),
+ this->ir_current_ = CORBA_IDLType::_narrow (prev_def.in (),
ACE_TRY_ENV);
ACE_TRY_CHECK;
}
@@ -267,12 +267,12 @@ ifr_adding_visitor_operation::visit_argument (AST_Argument *node)
}
this->params_[this->index_].type_def =
- IR_IDLType::_duplicate (this->ir_current_.in ());
+ CORBA_IDLType::_duplicate (this->ir_current_.in ());
- // Fortunately, AST_Field::Direction and IR_ParameterMode
+ // Fortunately, AST_Field::Direction and CORBA_ParameterMode
// are ordered identically.
this->params_[this->index_].mode =
- (IR_ParameterMode) node->direction ();
+ (CORBA::ParameterMode) node->direction ();
// IfR method create_operation does not use this - it just needs
// to be non-null for marshaling.
diff --git a/TAO/orbsvcs/IFR_Service/ifr_adding_visitor_operation.h b/TAO/orbsvcs/IFR_Service/ifr_adding_visitor_operation.h
index 5bcbd9736b8..79f76b08e1c 100644
--- a/TAO/orbsvcs/IFR_Service/ifr_adding_visitor_operation.h
+++ b/TAO/orbsvcs/IFR_Service/ifr_adding_visitor_operation.h
@@ -50,7 +50,7 @@ public:
// Visit argument.
private:
- IR_ParDescriptionSeq params_;
+ CORBA_ParDescriptionSeq params_;
// Holder for the operation parameter info passed to the
// interface repository method create_operation().
diff --git a/TAO/orbsvcs/IFR_Service/ifr_adding_visitor_structure.cpp b/TAO/orbsvcs/IFR_Service/ifr_adding_visitor_structure.cpp
index 6fd4a160e55..be05c04ea5c 100644
--- a/TAO/orbsvcs/IFR_Service/ifr_adding_visitor_structure.cpp
+++ b/TAO/orbsvcs/IFR_Service/ifr_adding_visitor_structure.cpp
@@ -71,7 +71,7 @@ ifr_adding_visitor_structure::visit_scope (UTL_Scope *node)
if (ft->node_type () == AST_Decl::NT_struct)
{
- IR_Contained_var prev_def =
+ CORBA_Contained_var prev_def =
be_global->repository ()->lookup_id (ft->repoID (),
ACE_TRY_ENV);
ACE_TRY_CHECK;
@@ -93,10 +93,10 @@ ifr_adding_visitor_structure::visit_scope (UTL_Scope *node)
}
this->ir_current_ =
- IR_IDLType::_duplicate (visitor.ir_current ());
+ CORBA_IDLType::_duplicate (visitor.ir_current ());
- IR_Contained_ptr tmp =
- IR_Contained::_narrow (visitor.ir_current (),
+ CORBA_Contained_ptr tmp =
+ CORBA_Contained::_narrow (visitor.ir_current (),
ACE_TRY_ENV);
ACE_TRY_CHECK;
@@ -105,7 +105,7 @@ ifr_adding_visitor_structure::visit_scope (UTL_Scope *node)
else
{
this->ir_current_ =
- IR_IDLType::_narrow (prev_def.in (),
+ CORBA_IDLType::_narrow (prev_def.in (),
ACE_TRY_ENV);
ACE_TRY_CHECK;
}
@@ -134,7 +134,7 @@ ifr_adding_visitor_structure::visit_scope (UTL_Scope *node)
CORBA::TypeCode::_duplicate (CORBA::_tc_null);
this->members_[i].type_def =
- IR_IDLType::_duplicate (this->ir_current_.in ());
+ CORBA_IDLType::_duplicate (this->ir_current_.in ());
}
}
ACE_CATCHANY
@@ -157,7 +157,7 @@ ifr_adding_visitor_structure::visit_structure (AST_Structure *node)
ACE_DECLARE_NEW_CORBA_ENV;
ACE_TRY
{
- IR_Contained_var prev_def =
+ CORBA_Contained_var prev_def =
be_global->repository ()->lookup_id (node->repoID (),
ACE_TRY_ENV);
ACE_TRY_CHECK;
@@ -189,7 +189,7 @@ ifr_adding_visitor_structure::visit_structure (AST_Structure *node)
}
else
{
- IR_Container_ptr current_scope = IR_Container::_nil ();
+ CORBA_Container_ptr current_scope = CORBA_Container::_nil ();
if (be_global->ifr_scopes ().top (current_scope) != 0)
{
@@ -219,10 +219,10 @@ ifr_adding_visitor_structure::visit_structure (AST_Structure *node)
if (size > 0)
{
- IR_Contained_var traveller;
+ CORBA_Contained_var traveller;
- IR_Container_var new_container =
- IR_Container::_narrow (this->ir_current_.in (),
+ CORBA_Container_var new_container =
+ CORBA_Container::_narrow (this->ir_current_.in (),
ACE_TRY_ENV);
ACE_TRY_CHECK;
@@ -248,7 +248,7 @@ ifr_adding_visitor_structure::visit_structure (AST_Structure *node)
else
{
this->ir_current_ =
- IR_IDLType::_narrow (prev_def.in (),
+ CORBA_IDLType::_narrow (prev_def.in (),
ACE_TRY_ENV);
ACE_TRY_CHECK;
@@ -294,7 +294,7 @@ ifr_adding_visitor_structure::visit_enum (AST_Enum *node)
ACE_TRY
{
// Is this enum already in the respository?
- IR_Contained_var prev_def =
+ CORBA_Contained_var prev_def =
be_global->repository ()->lookup_id (node->repoID (),
ACE_TRY_ENV);
ACE_TRY_CHECK;
@@ -305,7 +305,7 @@ ifr_adding_visitor_structure::visit_enum (AST_Enum *node)
CORBA::ULong member_count = ACE_static_cast (CORBA::ULong,
node->member_count ());
- IR_EnumMemberSeq members (member_count);
+ CORBA_EnumMemberSeq members (member_count);
members.length (member_count);
UTL_ScopedName *member_name = 0;
@@ -331,8 +331,8 @@ ifr_adding_visitor_structure::visit_enum (AST_Enum *node)
);
ACE_TRY_CHECK;
- IR_Contained_ptr tmp =
- IR_Contained::_narrow (this->ir_current_.in (),
+ CORBA_Contained_ptr tmp =
+ CORBA_Contained::_narrow (this->ir_current_.in (),
ACE_TRY_ENV);
ACE_TRY_CHECK;
@@ -347,7 +347,7 @@ ifr_adding_visitor_structure::visit_enum (AST_Enum *node)
// There is already an entry in the repository, so just update
// the current IR object holder.
this->ir_current_ =
- IR_IDLType::_narrow (prev_def.in (),
+ CORBA_IDLType::_narrow (prev_def.in (),
ACE_TRY_ENV);
ACE_TRY_CHECK;
@@ -393,7 +393,7 @@ ifr_adding_visitor_structure::visit_union (AST_Union *node)
ACE_TRY
{
// Is this union already in the respository?
- IR_Contained_var prev_def =
+ CORBA_Contained_var prev_def =
be_global->repository ()->lookup_id (node->repoID (),
ACE_TRY_ENV);
ACE_TRY_CHECK;
@@ -409,10 +409,10 @@ ifr_adding_visitor_structure::visit_union (AST_Union *node)
{
// Get the result of the visit.
this->ir_current_ =
- IR_IDLType::_duplicate (visitor.ir_current ());
+ CORBA_IDLType::_duplicate (visitor.ir_current ());
- IR_Contained_ptr tmp =
- IR_Contained::_narrow (visitor.ir_current (),
+ CORBA_Contained_ptr tmp =
+ CORBA_Contained::_narrow (visitor.ir_current (),
ACE_TRY_ENV);
ACE_TRY_CHECK;
@@ -430,7 +430,7 @@ ifr_adding_visitor_structure::visit_union (AST_Union *node)
// There is already an entry in the repository, so just update
// the current IR object holder.
this->ir_current_ =
- IR_IDLType::_narrow (prev_def.in (),
+ CORBA_IDLType::_narrow (prev_def.in (),
ACE_TRY_ENV);
ACE_TRY_CHECK;
@@ -469,7 +469,7 @@ ifr_adding_visitor_structure::visit_union (AST_Union *node)
return 0;
}
-IR_IDLType_ptr
+CORBA_IDLType_ptr
ifr_adding_visitor_structure::ir_current (void) const
{
return this->ir_current_.in ();
diff --git a/TAO/orbsvcs/IFR_Service/ifr_adding_visitor_structure.h b/TAO/orbsvcs/IFR_Service/ifr_adding_visitor_structure.h
index 2e7a5fd1753..7e9c139aba7 100644
--- a/TAO/orbsvcs/IFR_Service/ifr_adding_visitor_structure.h
+++ b/TAO/orbsvcs/IFR_Service/ifr_adding_visitor_structure.h
@@ -55,7 +55,7 @@ public:
virtual int visit_union (AST_Union *node);
// Visit union.
- virtual IR_IDLType_ptr ir_current (void) const;
+ virtual CORBA_IDLType_ptr ir_current (void) const;
// Lets the visitor one level above acess this value.
private:
@@ -63,11 +63,11 @@ private:
// Is this visitor visiting a struct that was defined inside
// a union, an exception, or another struct?
- IR_StructMemberSeq members_;
+ CORBA_StructMemberSeq members_;
// Holder for the member list passed to create_struct() or
// create_exception().
- ACE_Unbounded_Queue<IR_Contained_ptr> move_queue_;
+ ACE_Unbounded_Queue<CORBA_Contained_ptr> move_queue_;
// IR objects that must be moved into the scope (struct or
// exception) where they were declared in the IDL file.
};
diff --git a/TAO/orbsvcs/IFR_Service/ifr_adding_visitor_union.cpp b/TAO/orbsvcs/IFR_Service/ifr_adding_visitor_union.cpp
index 67c3413172f..f64b49000f6 100644
--- a/TAO/orbsvcs/IFR_Service/ifr_adding_visitor_union.cpp
+++ b/TAO/orbsvcs/IFR_Service/ifr_adding_visitor_union.cpp
@@ -74,7 +74,7 @@ ifr_adding_visitor_union::visit_scope (UTL_Scope *node)
if (ft->node_type () == AST_Decl::NT_union)
{
- IR_Contained_var prev_def =
+ CORBA_Contained_var prev_def =
be_global->repository ()->lookup_id (ft->repoID (),
ACE_TRY_ENV);
ACE_TRY_CHECK;
@@ -96,10 +96,10 @@ ifr_adding_visitor_union::visit_scope (UTL_Scope *node)
}
this->ir_current_ =
- IR_IDLType::_duplicate (visitor.ir_current ());
+ CORBA_IDLType::_duplicate (visitor.ir_current ());
- IR_Contained_ptr tmp =
- IR_Contained::_narrow (visitor.ir_current (),
+ CORBA_Contained_ptr tmp =
+ CORBA_Contained::_narrow (visitor.ir_current (),
ACE_TRY_ENV);
ACE_TRY_CHECK;
@@ -108,7 +108,7 @@ ifr_adding_visitor_union::visit_scope (UTL_Scope *node)
else
{
this->ir_current_ =
- IR_IDLType::_narrow (prev_def.in (),
+ CORBA_IDLType::_narrow (prev_def.in (),
ACE_TRY_ENV);
ACE_TRY_CHECK;
}
@@ -204,7 +204,7 @@ ifr_adding_visitor_union::visit_scope (UTL_Scope *node)
CORBA::TypeCode::_duplicate (CORBA::_tc_null);
this->members_[index++].type_def =
- IR_IDLType::_duplicate (this->ir_current_.in ());
+ CORBA_IDLType::_duplicate (this->ir_current_.in ());
}
}
}
@@ -229,7 +229,7 @@ ifr_adding_visitor_union::visit_structure (AST_Structure *node)
ACE_TRY
{
// Is this struct already in the respository?
- IR_Contained_var prev_def =
+ CORBA_Contained_var prev_def =
be_global->repository ()->lookup_id (node->repoID (),
ACE_TRY_ENV);
ACE_TRY_CHECK;
@@ -245,10 +245,10 @@ ifr_adding_visitor_union::visit_structure (AST_Structure *node)
{
// Get the result of the visit.
this->ir_current_ =
- IR_IDLType::_duplicate (visitor.ir_current ());
+ CORBA_IDLType::_duplicate (visitor.ir_current ());
- IR_Contained_ptr tmp =
- IR_Contained::_narrow (visitor.ir_current (),
+ CORBA_Contained_ptr tmp =
+ CORBA_Contained::_narrow (visitor.ir_current (),
ACE_TRY_ENV);
ACE_TRY_CHECK;
@@ -266,7 +266,7 @@ ifr_adding_visitor_union::visit_structure (AST_Structure *node)
// There is already an entry in the repository, so just update
// the current IR object holder.
this->ir_current_ =
- IR_IDLType::_narrow (prev_def.in (),
+ CORBA_IDLType::_narrow (prev_def.in (),
ACE_TRY_ENV);
ACE_TRY_CHECK;
@@ -312,7 +312,7 @@ ifr_adding_visitor_union::visit_enum (AST_Enum *node)
ACE_TRY
{
// Is this enum already in the respository?
- IR_Contained_var prev_def =
+ CORBA_Contained_var prev_def =
be_global->repository ()->lookup_id (node->repoID (),
ACE_TRY_ENV);
ACE_TRY_CHECK;
@@ -323,7 +323,7 @@ ifr_adding_visitor_union::visit_enum (AST_Enum *node)
CORBA::ULong member_count = ACE_static_cast (CORBA::ULong,
node->member_count ());
- IR_EnumMemberSeq members (member_count);
+ CORBA_EnumMemberSeq members (member_count);
members.length (member_count);
UTL_ScopedName *member_name = 0;
@@ -347,8 +347,8 @@ ifr_adding_visitor_union::visit_enum (AST_Enum *node)
);
ACE_TRY_CHECK;
- IR_Contained_ptr tmp =
- IR_Contained::_narrow (this->ir_current_.in (),
+ CORBA_Contained_ptr tmp =
+ CORBA_Contained::_narrow (this->ir_current_.in (),
ACE_TRY_ENV);
ACE_TRY_CHECK;
@@ -363,7 +363,7 @@ ifr_adding_visitor_union::visit_enum (AST_Enum *node)
// There is already an entry in the repository, so just update
// the current IR object holder.
this->ir_current_ =
- IR_IDLType::_narrow (prev_def.in (),
+ CORBA_IDLType::_narrow (prev_def.in (),
ACE_TRY_ENV);
ACE_TRY_CHECK;
@@ -408,7 +408,7 @@ ifr_adding_visitor_union::visit_union (AST_Union *node)
ACE_DECLARE_NEW_CORBA_ENV;
ACE_TRY
{
- IR_Contained_var prev_def =
+ CORBA_Contained_var prev_def =
be_global->repository ()->lookup_id (node->repoID (),
ACE_TRY_ENV);
ACE_TRY_CHECK;
@@ -423,7 +423,7 @@ ifr_adding_visitor_union::visit_union (AST_Union *node)
// an Any.
if (disc_type->node_type () == AST_Decl::NT_enum)
{
- IR_Contained_var disc_def =
+ CORBA_Contained_var disc_def =
be_global->repository ()->lookup_id (disc_type->repoID (),
ACE_TRY_ENV);
ACE_TRY_CHECK;
@@ -440,8 +440,8 @@ ifr_adding_visitor_union::visit_union (AST_Union *node)
);
}
- IR_IDLType_var idl_def =
- IR_IDLType::_narrow (disc_def.in (),
+ CORBA_IDLType_var idl_def =
+ CORBA_IDLType::_narrow (disc_def.in (),
ACE_TRY_ENV);
ACE_TRY_CHECK;
@@ -486,7 +486,7 @@ ifr_adding_visitor_union::visit_union (AST_Union *node)
}
else
{
- IR_Container_ptr current_scope = IR_Container::_nil ();
+ CORBA_Container_ptr current_scope = CORBA_Container::_nil ();
if (be_global->ifr_scopes ().top (current_scope) != 0)
{
@@ -517,10 +517,10 @@ ifr_adding_visitor_union::visit_union (AST_Union *node)
if (size > 0)
{
- IR_Contained_var traveller;
+ CORBA_Contained_var traveller;
- IR_Container_var new_container =
- IR_Container::_narrow (this->ir_current_.in (),
+ CORBA_Container_var new_container =
+ CORBA_Container::_narrow (this->ir_current_.in (),
ACE_TRY_ENV);
ACE_TRY_CHECK;
@@ -546,7 +546,7 @@ ifr_adding_visitor_union::visit_union (AST_Union *node)
else
{
this->ir_current_ =
- IR_IDLType::_narrow (prev_def.in (),
+ CORBA_IDLType::_narrow (prev_def.in (),
ACE_TRY_ENV);
ACE_TRY_CHECK;
@@ -585,7 +585,7 @@ ifr_adding_visitor_union::visit_union (AST_Union *node)
return 0;
}
-IR_IDLType_ptr
+CORBA_IDLType_ptr
ifr_adding_visitor_union::ir_current (void) const
{
return this->ir_current_.in ();
diff --git a/TAO/orbsvcs/IFR_Service/ifr_adding_visitor_union.h b/TAO/orbsvcs/IFR_Service/ifr_adding_visitor_union.h
index 50d7d8ab15f..3dff55316c5 100644
--- a/TAO/orbsvcs/IFR_Service/ifr_adding_visitor_union.h
+++ b/TAO/orbsvcs/IFR_Service/ifr_adding_visitor_union.h
@@ -55,7 +55,7 @@ public:
virtual int visit_union (AST_Union *node);
// Visit union.
- virtual IR_IDLType_ptr ir_current (void) const;
+ virtual CORBA_IDLType_ptr ir_current (void) const;
// Lets the visitor one level above acess this value.
private:
@@ -63,7 +63,7 @@ private:
// Is this visitor visiting a struct that was defined inside
// a union, an exception, or another struct?
- IR_UnionMemberSeq members_;
+ CORBA_UnionMemberSeq members_;
// Holder for the member list passed to create_struct() or
// create_exception().
@@ -72,7 +72,7 @@ private:
// discriminator is an enum type, so we can insert the label
// values into Anys for UnionMemberSeq[i].label).
- ACE_Unbounded_Queue<IR_Contained_ptr> move_queue_;
+ ACE_Unbounded_Queue<CORBA_Contained_ptr> move_queue_;
// IR objects that must be moved into the scope (struct or
// exception) where they were declared in the IDL file.
diff --git a/TAO/orbsvcs/IFR_Service/ifr_removing_visitor.cpp b/TAO/orbsvcs/IFR_Service/ifr_removing_visitor.cpp
index 28c74f05ee6..2a3baece26a 100644
--- a/TAO/orbsvcs/IFR_Service/ifr_removing_visitor.cpp
+++ b/TAO/orbsvcs/IFR_Service/ifr_removing_visitor.cpp
@@ -52,7 +52,7 @@ ifr_removing_visitor::visit_scope (UTL_Scope *node)
continue;
}
- IR_Contained_var top_level =
+ CORBA_Contained_var top_level =
be_global->repository ()->lookup_id (d->repoID (),
ACE_TRY_ENV);
ACE_TRY_CHECK;
diff --git a/TAO/orbsvcs/IFR_Service/ifr_visitor.cpp b/TAO/orbsvcs/IFR_Service/ifr_visitor.cpp
index be1f270be36..5954d3349b7 100644
--- a/TAO/orbsvcs/IFR_Service/ifr_visitor.cpp
+++ b/TAO/orbsvcs/IFR_Service/ifr_visitor.cpp
@@ -31,8 +31,8 @@ ifr_visitor::ifr_visitor (void)
));
}
- IR_Repository_var repo = IR_Repository::_narrow (object.in (),
- ACE_TRY_ENV);
+ CORBA_Repository_var repo = CORBA_Repository::_narrow (object.in (),
+ ACE_TRY_ENV);
ACE_TRY_CHECK;
if (CORBA::is_nil (repo.in ()))
diff --git a/TAO/orbsvcs/IFR_Service/tmplinst.cpp b/TAO/orbsvcs/IFR_Service/tmplinst.cpp
index e91b7b7c2a1..e887dbf984a 100644
--- a/TAO/orbsvcs/IFR_Service/tmplinst.cpp
+++ b/TAO/orbsvcs/IFR_Service/tmplinst.cpp
@@ -7,9 +7,9 @@ ACE_RCSID(IFR_Service, tmplinst, "$Id$")
#if defined (ACE_HAS_EXPLICIT_TEMPLATE_INSTANTIATION)
-template class ACE_Node<IR_DefinitionKind>;
-template class ACE_Unbounded_Queue<IR_DefinitionKind>;
-template class ACE_Unbounded_Queue_Iterator<IR_DefinitionKind>;
+template class ACE_Node<CORBA::DefinitionKind>;
+template class ACE_Unbounded_Queue<CORBA::DefinitionKind>;
+template class ACE_Unbounded_Queue_Iterator<CORBA::DefinitionKind>;
template class ACE_Node<ACE_TString>;
template class ACE_Unbounded_Queue<ACE_TString>;
template class ACE_Unbounded_Queue_Iterator<ACE_TString>;
@@ -19,38 +19,40 @@ template class ACE_Unbounded_Queue_Iterator<ACE_Configuration_Section_Key>;
template class ACE_Write_Guard<ACE_Lock>;
template class ACE_Read_Guard<ACE_Lock>;
-template class POA_IR::Repository_tie<TAO_Repository_i>;
+template class POA_CORBA::Repository_tie<TAO_Repository_i>;
template class POA_IR::ComponentRepository_tie<TAO_ComponentRepository_i>;
-template class POA_IR::PrimitiveDef_tie<TAO_PrimitiveDef_i>;
-template class POA_IR::StringDef_tie<TAO_StringDef_i>;
-template class POA_IR::WstringDef_tie<TAO_WstringDef_i>;
-template class POA_IR::SequenceDef_tie<TAO_SequenceDef_i>;
-template class POA_IR::ArrayDef_tie<TAO_ArrayDef_i>;
-template class POA_IR::FixedDef_tie<TAO_FixedDef_i>;
-template class POA_IR::EnumDef_tie<TAO_EnumDef_i>;
-template class POA_IR::AliasDef_tie<TAO_AliasDef_i>;
-template class POA_IR::NativeDef_tie<TAO_NativeDef_i>;
-template class POA_IR::ValueBoxDef_tie<TAO_ValueBoxDef_i>;
-template class POA_IR::UnionDef_tie<TAO_UnionDef_i>;
-template class POA_IR::StructDef_tie<TAO_StructDef_i>;
+template class POA_CORBA::PrimitiveDef_tie<TAO_PrimitiveDef_i>;
+template class POA_CORBA::StringDef_tie<TAO_StringDef_i>;
+template class POA_CORBA::WstringDef_tie<TAO_WstringDef_i>;
+template class POA_CORBA::SequenceDef_tie<TAO_SequenceDef_i>;
+template class POA_CORBA::ArrayDef_tie<TAO_ArrayDef_i>;
+template class POA_CORBA::FixedDef_tie<TAO_FixedDef_i>;
+template class POA_CORBA::EnumDef_tie<TAO_EnumDef_i>;
+template class POA_CORBA::AliasDef_tie<TAO_AliasDef_i>;
+template class POA_CORBA::NativeDef_tie<TAO_NativeDef_i>;
+template class POA_CORBA::ValueBoxDef_tie<TAO_ValueBoxDef_i>;
+template class POA_CORBA::UnionDef_tie<TAO_UnionDef_i>;
+template class POA_CORBA::StructDef_tie<TAO_StructDef_i>;
template class POA_IR::ConsumesDef_tie<TAO_ConsumesDef_i>;
template class POA_IR::PublishesDef_tie<TAO_PublishesDef_i>;
template class POA_IR::EmitsDef_tie<TAO_EmitsDef_i>;
template class POA_IR::PrimaryKeyDef_tie<TAO_PrimaryKeyDef_i>;
template class POA_IR::ProvidesDef_tie<TAO_ProvidesDef_i>;
template class POA_IR::UsesDef_tie<TAO_UsesDef_i>;
-template class POA_IR::ValueMemberDef_tie<TAO_ValueMemberDef_i>;
+template class POA_CORBA::ValueMemberDef_tie<TAO_ValueMemberDef_i>;
template class POA_IR::FactoryDef_tie<TAO_FactoryDef_i>;
template class POA_IR::FinderDef_tie<TAO_FinderDef_i>;
-template class POA_IR::AttributeDef_tie<TAO_AttributeDef_i>;
-template class POA_IR::ConstantDef_tie<TAO_ConstantDef_i>;
+template class POA_CORBA::AttributeDef_tie<TAO_AttributeDef_i>;
+template class POA_CORBA::ConstantDef_tie<TAO_ConstantDef_i>;
template class POA_IR::ComponentDef_tie<TAO_ComponentDef_i>;
template class POA_IR::HomeDef_tie<TAO_HomeDef_i>;
-template class POA_IR::ValueDef_tie<TAO_ValueDef_i>;
-template class POA_IR::ExceptionDef_tie<TAO_ExceptionDef_i>;
-template class POA_IR::ModuleDef_tie<TAO_ModuleDef_i>;
-template class POA_IR::OperationDef_tie<TAO_OperationDef_i>;
-template class POA_IR::InterfaceDef_tie<TAO_InterfaceDef_i>;
+template class POA_CORBA::ValueDef_tie<TAO_ValueDef_i>;
+template class POA_CORBA::ExceptionDef_tie<TAO_ExceptionDef_i>;
+template class POA_CORBA::ModuleDef_tie<TAO_ModuleDef_i>;
+template class POA_CORBA::OperationDef_tie<TAO_OperationDef_i>;
+template class POA_CORBA::InterfaceDef_tie<TAO_InterfaceDef_i>;
+template class POA_CORBA::AbstractInterfaceDef_tie<TAO_AbstractInterfaceDef_i>;
+template class POA_CORBA::LocalInterfaceDef_tie<TAO_LocalInterfaceDef_i>;
template class auto_ptr<TAO_Repository_i>;
template class ACE_Auto_Basic_Ptr<TAO_Repository_i>;
@@ -116,6 +118,10 @@ template class auto_ptr<TAO_OperationDef_i>;
template class ACE_Auto_Basic_Ptr<TAO_OperationDef_i>;
template class auto_ptr<TAO_InterfaceDef_i>;
template class ACE_Auto_Basic_Ptr<TAO_InterfaceDef_i>;
+template class auto_ptr<TAO_AbstractInterfaceDef_i>;
+template class ACE_Auto_Basic_Ptr<TAO_AbstractInterfaceDef_i>;
+template class auto_ptr<TAO_LocalInterfaceDef_i>;
+template class ACE_Auto_Basic_Ptr<TAO_LocalInterfaceDef_i>;
template class auto_ptr<TAO_Container_i>;
template class ACE_Auto_Basic_Ptr<TAO_Container_i>;
template class auto_ptr<TAO_Contained_i>;
@@ -127,9 +133,9 @@ template class ACE_Auto_Basic_Ptr<char>;
#elif defined (ACE_HAS_TEMPLATE_INSTANTIATION_PRAGMA)
-#pragma instantiate ACE_Node<IR_DefinitionKind>
-#pragma instantiate ACE_Unbounded_Queue<IR_DefinitionKind>
-#pragma instantiate ACE_Unbounded_Queue_Iterator<IR_DefinitionKind>
+#pragma instantiate ACE_Node<CORBA::DefinitionKind>
+#pragma instantiate ACE_Unbounded_Queue<CORBA::DefinitionKind>
+#pragma instantiate ACE_Unbounded_Queue_Iterator<CORBA::DefinitionKind>
#pragma instantiate ACE_Node<ACE_TString>
#pragma instantiate ACE_Unbounded_Queue<ACE_TString>
#pragma instantiate ACE_Unbounded_Queue_Iterator<ACE_TString>
@@ -139,38 +145,40 @@ template class ACE_Auto_Basic_Ptr<char>;
#pragma instantiate ACE_Write_Guard<ACE_Lock>
#pragma instantiate ACE_Read_Guard<ACE_Lock>
-#pragma instantiate POA_IR::Repository_tie<TAO_Repository_i>
+#pragma instantiate POA_CORBA::Repository_tie<TAO_Repository_i>
#pragma instantiate POA_IR::ComponentRepository_tie<TAO_ComponentRepository_i>
-#pragma instantiate POA_IR::PrimitiveDef_tie<TAO_PrimitiveDef_i>
-#pragma instantiate POA_IR::StringDef_tie<TAO_StringDef_i>
-#pragma instantiate POA_IR::WstringDef_tie<TAO_WstringDef_i>
-#pragma instantiate POA_IR::SequenceDef_tie<TAO_SequenceDef_i>
-#pragma instantiate POA_IR::ArrayDef_tie<TAO_ArrayDef_i>
-#pragma instantiate POA_IR::FixedDef_tie<TAO_FixedDef_i>
-#pragma instantiate POA_IR::EnumDef_tie<TAO_EnumDef_i>
-#pragma instantiate POA_IR::AliasDef_tie<TAO_AliasDef_i>
-#pragma instantiate POA_IR::NativeDef_tie<TAO_NativeDef_i>
-#pragma instantiate POA_IR::ValueBoxDef_tie<TAO_ValueBoxDef_i>
-#pragma instantiate POA_IR::UnionDef_tie<TAO_UnionDef_i>
-#pragma instantiate POA_IR::StructDef_tie<TAO_StructDef_i>
+#pragma instantiate POA_CORBA::PrimitiveDef_tie<TAO_PrimitiveDef_i>
+#pragma instantiate POA_CORBA::StringDef_tie<TAO_StringDef_i>
+#pragma instantiate POA_CORBA::WstringDef_tie<TAO_WstringDef_i>
+#pragma instantiate POA_CORBA::SequenceDef_tie<TAO_SequenceDef_i>
+#pragma instantiate POA_CORBA::ArrayDef_tie<TAO_ArrayDef_i>
+#pragma instantiate POA_CORBA::FixedDef_tie<TAO_FixedDef_i>
+#pragma instantiate POA_CORBA::EnumDef_tie<TAO_EnumDef_i>
+#pragma instantiate POA_CORBA::AliasDef_tie<TAO_AliasDef_i>
+#pragma instantiate POA_CORBA::NativeDef_tie<TAO_NativeDef_i>
+#pragma instantiate POA_CORBA::ValueBoxDef_tie<TAO_ValueBoxDef_i>
+#pragma instantiate POA_CORBA::UnionDef_tie<TAO_UnionDef_i>
+#pragma instantiate POA_CORBA::StructDef_tie<TAO_StructDef_i>
#pragma instantiate POA_IR::ConsumesDef_tie<TAO_ConsumesDef_i>
#pragma instantiate POA_IR::PublishesDef_tie<TAO_PublishesDef_i>
#pragma instantiate POA_IR::EmitsDef_tie<TAO_EmitsDef_i>
#pragma instantiate POA_IR::PrimaryKeyDef_tie<TAO_PrimaryKeyDef_i>
#pragma instantiate POA_IR::ProvidesDef_tie<TAO_ProvidesDef_i>
#pragma instantiate POA_IR::UsesDef_tie<TAO_UsesDef_i>
-#pragma instantiate POA_IR::ValueMemberDef_tie<TAO_ValueMemberDef_i>
+#pragma instantiate POA_CORBA::ValueMemberDef_tie<TAO_ValueMemberDef_i>
#pragma instantiate POA_IR::FactoryDef_tie<TAO_FactoryDef_i>
#pragma instantiate POA_IR::FinderDef_tie<TAO_FinderDef_i>
-#pragma instantiate POA_IR::AttributeDef_tie<TAO_AttributeDef_i>
-#pragma instantiate POA_IR::ConstantDef_tie<TAO_ConstantDef_i>
+#pragma instantiate POA_CORBA::AttributeDef_tie<TAO_AttributeDef_i>
+#pragma instantiate POA_CORBA::ConstantDef_tie<TAO_ConstantDef_i>
#pragma instantiate POA_IR::ComponentDef_tie<TAO_ComponentDef_i>
#pragma instantiate POA_IR::HomeDef_tie<TAO_HomeDef_i>
-#pragma instantiate POA_IR::ValueDef_tie<TAO_ValueDef_i>
-#pragma instantiate POA_IR::ExceptionDef_tie<TAO_ExceptionDef_i>
-#pragma instantiate POA_IR::ModuleDef_tie<TAO_ModuleDef_i>
-#pragma instantiate POA_IR::OperationDef_tie<TAO_OperationDef_i>
-#pragma instantiate POA_IR::InterfaceDef_tie<TAO_>
+#pragma instantiate POA_CORBA::ValueDef_tie<TAO_ValueDef_i>
+#pragma instantiate POA_CORBA::ExceptionDef_tie<TAO_ExceptionDef_i>
+#pragma instantiate POA_CORBA::ModuleDef_tie<TAO_ModuleDef_i>
+#pragma instantiate POA_CORBA::OperationDef_tie<TAO_OperationDef_i>
+#pragma instantiate POA_CORBA::InterfaceDef_tie<TAO_>
+#pragma instantiate POA_CORBA::AbstractInterfaceDef_tie<TAO_AbstractInterfaceDef_i>
+#pragma instantiate POA_CORBA::LocalInterfaceDef_tie<TAO_LocalInterfaceDef_i>
#pragma instantiate auto_ptr<TAO_Repository_i>
#pragma instantiate ACE_Auto_Basic_Ptr<TAO_Repository_i>
@@ -236,6 +244,10 @@ template class ACE_Auto_Basic_Ptr<char>;
#pragma instantiate ACE_Auto_Basic_Ptr<TAO_OperationDef_i>
#pragma instantiate auto_ptr<TAO_InterfaceDef_i>
#pragma instantiate ACE_Auto_Basic_Ptr<TAO_InterfaceDef_i>
+#pragma instantiate auto_ptr<TAO_AbstractInterfaceDef_i>
+#pragma instantiate ACE_Auto_Basic_Ptr<TAO_AbstractInterfaceDef_i>
+#pragma instantiate auto_ptr<TAO_LocalInterfaceDef_i>
+#pragma instantiate ACE_Auto_Basic_Ptr<TAO_LocalInterfaceDef_i>
#pragma instantiate auto_ptr<TAO_Container_i>
#pragma instantiate ACE_Auto_Basic_Ptr<TAO_Container_i>
#pragma instantiate auto_ptr<TAO_Contained_i>
diff --git a/TAO/tao/Domain/DomainS.cpp b/TAO/tao/Domain/DomainS.cpp
index 411e8820657..7075db0e16f 100644
--- a/TAO/tao/Domain/DomainS.cpp
+++ b/TAO/tao/Domain/DomainS.cpp
@@ -11,7 +11,7 @@
#include "DomainS.h"
#include "tao/PortableServer/Object_Adapter.h"
#include "tao/PortableServer/Operation_Table.h"
-#include "tao/IFR_Client/InterfaceC.h"
+#include "tao/IFR_Client/IFR_BasicC.h"
#include "tao/ORB_Core.h"
#include "tao/TAO_Server_Request.h"
@@ -318,9 +318,12 @@ CORBA::Boolean POA_CORBA_DomainManager::_is_a (
CORBA::Environment &ACE_TRY_ENV
)
{
+ const char *_tao_id = CORBA::_tc_Object->id (ACE_TRY_ENV);
+ ACE_CHECK_RETURN (0);
+
if (
(!ACE_OS::strcmp ((char *)value, "IDL:CORBA/DomainManager:1.0")) ||
- (!ACE_OS::strcmp ((char *)value, CORBA::_tc_Object->id (ACE_TRY_ENV))))
+ (!ACE_OS::strcmp ((char *)value, _tao_id)))
return 1;
else
return 0;
@@ -791,7 +794,7 @@ void POA_CORBA_ConstructionPolicy::make_domain_manager_skel (
TAO_InputCDR &_tao_in = _tao_server_request.incoming ();
POA_CORBA_ConstructionPolicy *_tao_impl = (POA_CORBA_ConstructionPolicy *)_tao_object_reference;
- IR_InterfaceDef_var object_type;
+ CORBA_InterfaceDef_var object_type;
CORBA::Boolean constr_policy;
if (!(
@@ -892,10 +895,13 @@ CORBA::Boolean POA_CORBA_ConstructionPolicy::_is_a (
CORBA::Environment &ACE_TRY_ENV
)
{
+ const char *_tao_id = CORBA::_tc_Object->id (ACE_TRY_ENV);
+ ACE_CHECK_RETURN (0);
+
if (
(!ACE_OS::strcmp ((char *)value, "IDL:CORBA/ConstructionPolicy:1.0")) ||
(!ACE_OS::strcmp ((char *)value, "IDL:omg.org/CORBA/Policy:1.0")) ||
- (!ACE_OS::strcmp ((char *)value, CORBA::_tc_Object->id (ACE_TRY_ENV))))
+ (!ACE_OS::strcmp ((char *)value, _tao_id)))
return 1;
else
return 0;
@@ -1016,7 +1022,7 @@ CORBA::Boolean POA_CORBA__tao_thru_poa_collocated_ConstructionPolicy::_non_exist
void POA_CORBA__tao_thru_poa_collocated_ConstructionPolicy::make_domain_manager (
- IR_InterfaceDef* object_type,
+ CORBA_InterfaceDef_ptr object_type,
CORBA::Boolean constr_policy,
CORBA::Environment &ACE_TRY_ENV
)
@@ -1053,7 +1059,7 @@ void POA_CORBA__tao_thru_poa_collocated_ConstructionPolicy::make_domain_manager
POA_CORBA_ConstructionPolicy::TAO_ServerRequest_Info_CORBA_ConstructionPolicy_make_domain_manager::TAO_ServerRequest_Info_CORBA_ConstructionPolicy_make_domain_manager (
TAO_ServerRequest &tao_server_request,
POA_CORBA_ConstructionPolicy *tao_impl,
- IR_InterfaceDef *object_type,
+ CORBA_InterfaceDef_ptr object_type,
CORBA::Boolean &constr_policy,
CORBA::Environment &
)
diff --git a/TAO/tao/Domain/DomainS.h b/TAO/tao/Domain/DomainS.h
index dcfc2dedc96..3b888a8d64a 100644
--- a/TAO/tao/Domain/DomainS.h
+++ b/TAO/tao/Domain/DomainS.h
@@ -350,7 +350,7 @@ public:
virtual const char* _interface_repository_id (void) const;
virtual void make_domain_manager (
- IR_InterfaceDef *object_type,
+ CORBA_InterfaceDef_ptr object_type,
CORBA::Boolean constr_policy,
CORBA::Environment &ACE_TRY_ENV =
TAO_default_environment ()
diff --git a/TAO/tao/PortableServer/Direct_Object_Proxy_Impl.cpp b/TAO/tao/PortableServer/Direct_Object_Proxy_Impl.cpp
index 9d2b5210ec1..1d0abbacf2a 100644
--- a/TAO/tao/PortableServer/Direct_Object_Proxy_Impl.cpp
+++ b/TAO/tao/PortableServer/Direct_Object_Proxy_Impl.cpp
@@ -52,7 +52,32 @@ TAO_Direct_Object_Proxy_Impl::_non_existent (const CORBA::Object_ptr target,
ACE_RE_THROW;
}
ACE_ENDTRY;
+
return _tao_retval;
}
+CORBA_InterfaceDef_ptr
+TAO_Direct_Object_Proxy_Impl::_get_interface (const CORBA::Object_ptr target,
+ CORBA_Environment &ACE_TRY_ENV)
+{
+ ACE_TRY
+ {
+ if (target->_servant () != 0)
+ return target->_servant ()->_get_interface (ACE_TRY_ENV);
+
+ // @@ Maybe we want to change this exception...
+ ACE_THROW_RETURN (CORBA::INV_OBJREF (), 0);
+ }
+ ACE_CATCH (CORBA::OBJECT_NOT_EXIST, ex)
+ {
+ }
+ ACE_CATCHANY
+ {
+ ACE_RE_THROW;
+ }
+ ACE_ENDTRY;
+
+ return 0;
+}
+
#endif /* TAO_HAS_MINIMUM_CORBA == 0 */
diff --git a/TAO/tao/PortableServer/Direct_Object_Proxy_Impl.h b/TAO/tao/PortableServer/Direct_Object_Proxy_Impl.h
index 5ea93784c09..c8bd14f1a39 100644
--- a/TAO/tao/PortableServer/Direct_Object_Proxy_Impl.h
+++ b/TAO/tao/PortableServer/Direct_Object_Proxy_Impl.h
@@ -34,7 +34,8 @@
# pragma once
#endif /* ACE_LACKS_PRAGMA_ONCE */
-class TAO_PortableServer_Export TAO_Direct_Object_Proxy_Impl : public virtual TAO_Object_Proxy_Impl
+class TAO_PortableServer_Export TAO_Direct_Object_Proxy_Impl :
+ public virtual TAO_Object_Proxy_Impl
{
// = TITLE
// TAO_Direct_Object_Proxy_Impl
@@ -57,6 +58,11 @@ public:
virtual CORBA::Boolean _non_existent (const CORBA::Object_ptr target,
CORBA_Environment &ACE_TRY_ENV);
+ virtual CORBA_InterfaceDef_ptr _get_interface (
+ const CORBA::Object_ptr target,
+ CORBA_Environment &ACE_TRY_ENV
+ );
+
#endif /* TAO_HAS_MINIMUM_CORBA == 0 */
};
diff --git a/TAO/tao/PortableServer/Servant_Base.cpp b/TAO/tao/PortableServer/Servant_Base.cpp
index 817f6a7623d..1f6bd4fd0ed 100644
--- a/TAO/tao/PortableServer/Servant_Base.cpp
+++ b/TAO/tao/PortableServer/Servant_Base.cpp
@@ -11,6 +11,9 @@
#include "tao/Stub.h"
#include "tao/Environment.h"
#include "tao/TAO_Server_Request.h"
+#include "tao/IFR_Client_Adapter.h"
+
+#include "ace/Dynamic_Service.h"
ACE_RCSID(tao, Servant_Base, "$Id$")
@@ -92,6 +95,25 @@ TAO_ServantBase::_non_existent (CORBA::Environment &)
return 0;
}
+CORBA_InterfaceDef_ptr
+TAO_ServantBase::_get_interface (CORBA::Environment &ACE_TRY_ENV)
+{
+ TAO_IFR_Client_Adapter *adapter =
+ ACE_Dynamic_Service<TAO_IFR_Client_Adapter>::instance (
+ TAO_ORB_Core::ifr_client_adapter_name ()
+ );
+
+ if (adapter == 0)
+ {
+ ACE_THROW_RETURN (CORBA::INTF_REPOS (),
+ 0);
+ }
+
+ return adapter->get_interface (TAO_ORB_Core_instance ()->orb (),
+ this->_interface_repository_id (),
+ ACE_TRY_ENV);
+}
+
int
TAO_ServantBase::_find (const char *opname,
TAO_Skeleton& skelfunc,
diff --git a/TAO/tao/PortableServer/Servant_Base.h b/TAO/tao/PortableServer/Servant_Base.h
index 07e6ede83e4..cafd3d5930e 100644
--- a/TAO/tao/PortableServer/Servant_Base.h
+++ b/TAO/tao/PortableServer/Servant_Base.h
@@ -60,6 +60,11 @@ public:
TAO_default_environment ());
// Default <_non_existent>: always returns false.
+ virtual CORBA_InterfaceDef_ptr _get_interface (
+ CORBA_Environment &ACE_TRY_ENV =
+ TAO_default_environment ()
+ );
+
virtual void *_downcast (const char *repository_id) = 0;
// Get the correct vtable.
diff --git a/TAO/tao/PortableServer/ThruPOA_Object_Proxy_Impl.cpp b/TAO/tao/PortableServer/ThruPOA_Object_Proxy_Impl.cpp
index ff47aa4c1c3..227c3c0092d 100644
--- a/TAO/tao/PortableServer/ThruPOA_Object_Proxy_Impl.cpp
+++ b/TAO/tao/PortableServer/ThruPOA_Object_Proxy_Impl.cpp
@@ -46,18 +46,22 @@ TAO_ThruPOA_Object_Proxy_Impl::_non_existent (const CORBA::Object_ptr target,
CORBA_Environment &ACE_TRY_ENV)
{
CORBA::Boolean _tao_retval = 0;
+
ACE_TRY
{
- TAO_Object_Adapter::Servant_Upcall
- servant_upcall (target->_stubobj ()->servant_orb_var ()->orb_core ());
+ TAO_Object_Adapter::Servant_Upcall servant_upcall (
+ target->_stubobj ()->servant_orb_var ()->orb_core ()
+ );
CORBA::Object_var forward_to;
+
servant_upcall.prepare_for_upcall (
target->_object_key (),
"_non_existent",
forward_to.out (),
ACE_TRY_ENV);
ACE_TRY_CHECK;
+
return servant_upcall.servant ()->_non_existent (ACE_TRY_ENV);
}
ACE_CATCH (CORBA::OBJECT_NOT_EXIST, ex)
@@ -69,7 +73,41 @@ TAO_ThruPOA_Object_Proxy_Impl::_non_existent (const CORBA::Object_ptr target,
ACE_RE_THROW;
}
ACE_ENDTRY;
+
return _tao_retval;
}
+CORBA_InterfaceDef_ptr
+TAO_ThruPOA_Object_Proxy_Impl::_get_interface (const CORBA::Object_ptr target,
+ CORBA_Environment &ACE_TRY_ENV)
+{
+ ACE_TRY
+ {
+ TAO_Object_Adapter::Servant_Upcall servant_upcall (
+ target->_stubobj ()->servant_orb_var ()->orb_core ()
+ );
+
+ CORBA::Object_var forward_to;
+
+ servant_upcall.prepare_for_upcall (
+ target->_object_key (),
+ "_get_interface",
+ forward_to.out (),
+ ACE_TRY_ENV);
+ ACE_TRY_CHECK;
+
+ return servant_upcall.servant ()->_get_interface (ACE_TRY_ENV);
+ }
+ ACE_CATCH (CORBA::OBJECT_NOT_EXIST, ex)
+ {
+ }
+ ACE_CATCHANY
+ {
+ ACE_RE_THROW;
+ }
+ ACE_ENDTRY;
+
+ return 0;
+}
+
#endif // TAO_HAS_MINIMUM_CORBA == 0 //
diff --git a/TAO/tao/PortableServer/ThruPOA_Object_Proxy_Impl.h b/TAO/tao/PortableServer/ThruPOA_Object_Proxy_Impl.h
index 66cd2413034..93c0832c312 100644
--- a/TAO/tao/PortableServer/ThruPOA_Object_Proxy_Impl.h
+++ b/TAO/tao/PortableServer/ThruPOA_Object_Proxy_Impl.h
@@ -56,6 +56,11 @@ public:
virtual CORBA::Boolean _non_existent (const CORBA::Object_ptr target,
CORBA_Environment &ACE_TRY_ENV);
+ virtual CORBA_InterfaceDef_ptr _get_interface (
+ const CORBA::Object_ptr target,
+ CORBA_Environment &ACE_TRY_ENV
+ );
+
#endif /* TAO_HAS_MINIMUM_CORBA == 0 */
};